diff --git a/allianceauth/framework/static/allianceauth/framework/css/auth-framework.css b/allianceauth/framework/static/allianceauth/framework/css/auth-framework.css index 830baa70..51e49703 100644 --- a/allianceauth/framework/static/allianceauth/framework/css/auth-framework.css +++ b/allianceauth/framework/static/allianceauth/framework/css/auth-framework.css @@ -72,9 +72,16 @@ border: 1px solid var(--bs-border-color); border-left-width: 0.25rem; border-radius: 0.25rem; - margin-bottom: 1.25rem; - margin-top: 1.25rem; - padding: 1.25rem; + margin-bottom: 1rem; + padding: 1rem; + } + + .aa-callout.aa-callout-sm { + padding: 0.5rem; + } + + .aa-callout.aa-callout-lg { + padding: 1.5rem; } /* Last item bottom margin should be 0 */ diff --git a/docs/_static/images/development/aa-framework/css/callout-box.png b/docs/_static/images/development/aa-framework/css/callout-box.png new file mode 100644 index 00000000..953a099c Binary files /dev/null and b/docs/_static/images/development/aa-framework/css/callout-box.png differ diff --git a/docs/_static/images/development/aa-framework/css/callout-boxes.png b/docs/_static/images/development/aa-framework/css/callout-boxes-alert-modifier.png similarity index 100% rename from docs/_static/images/development/aa-framework/css/callout-boxes.png rename to docs/_static/images/development/aa-framework/css/callout-boxes-alert-modifier.png diff --git a/docs/_static/images/development/aa-framework/css/callout-boxes-size-modifier.png b/docs/_static/images/development/aa-framework/css/callout-boxes-size-modifier.png new file mode 100644 index 00000000..63e61aeb Binary files /dev/null and b/docs/_static/images/development/aa-framework/css/callout-boxes-size-modifier.png differ diff --git a/docs/development/custom/framework/css.md b/docs/development/custom/framework/css.md index b398f37a..aa7dcbfb 100644 --- a/docs/development/custom/framework/css.md +++ b/docs/development/custom/framework/css.md @@ -42,10 +42,24 @@ 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 +
+ This is a callout-box. +
+@@ -71,3 +85,35 @@ Bootstrap alert levels "Success", "Info", "Warning" and "Danger".
+ This is a small callout-box. +
++ This is a default callout-box. +
++ This is a large callout-box. +
+