mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2025-07-09 04:20:17 +02:00
[ADD] Documentation
This commit is contained in:
parent
2e2afd7923
commit
f0a402e141
BIN
docs/_static/images/development/css-framework/callout-boxes.jpg
vendored
Normal file
BIN
docs/_static/images/development/css-framework/callout-boxes.jpg
vendored
Normal file
Binary file not shown.
After Width: | Height: | Size: 17 KiB |
42
docs/development/custom/css-framework.md
Normal file
42
docs/development/custom/css-framework.md
Normal file
@ -0,0 +1,42 @@
|
||||
# CSS Framework
|
||||
|
||||
To establish a unified style language throughout Alliance Auth and Community Apps,
|
||||
Alliance Auth is providing its own CSS framework with a couple of CSS classes.
|
||||
|
||||
## Callout-Boxes
|
||||
|
||||
These are similar to the Bootstrap alert/notification boxes, but not as "loud".
|
||||
|
||||
Callout-boxes need a base-class (`.aa-callout`) and a modifier-class (e.g.:
|
||||
`.aa-callout-info` for an info-box). Modifier classes are available for the usual
|
||||
Bootstrap alert levels "Success", "Info", "Warning" and "Danger".
|
||||
|
||||

|
||||
|
||||
### HTML
|
||||
|
||||
```html
|
||||
<div class="aa-callout aa-callout-success">
|
||||
<p>
|
||||
This iy a success callout-box.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div class="aa-callout aa-callout-info">
|
||||
<p>
|
||||
This iy a info callout-box.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div class="aa-callout aa-callout-warning">
|
||||
<p>
|
||||
This iy a warning callout-box.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div class="aa-callout aa-callout-danger">
|
||||
<p>
|
||||
This iy a danger callout-box.
|
||||
</p>
|
||||
</div>
|
||||
```
|
Loading…
x
Reference in New Issue
Block a user