summaryrefslogtreecommitdiff
path: root/_sass/additional/_alert.scss
diff options
context:
space:
mode:
Diffstat (limited to '_sass/additional/_alert.scss')
-rw-r--r--_sass/additional/_alert.scss29
1 files changed, 29 insertions, 0 deletions
diff --git a/_sass/additional/_alert.scss b/_sass/additional/_alert.scss
new file mode 100644
index 0000000..fa5651f
--- /dev/null
+++ b/_sass/additional/_alert.scss
@@ -0,0 +1,29 @@
+.article__content {
+ p.success {
+ padding: map-get($spacers, 2) map-get($spacers, 3);
+ background-color: rgba($green, .1);
+ border: 1px solid $green;
+ border-radius: map-get($base, border-radius);
+ }
+
+ p.info {
+ padding: map-get($spacers, 2) map-get($spacers, 3);
+ background-color: rgba($blue, .1);
+ border: 1px solid $blue;
+ border-radius: map-get($base, border-radius);
+ }
+
+ p.warning {
+ padding: map-get($spacers, 2) map-get($spacers, 3);
+ background-color: rgba($yellow, .1);
+ border: 1px solid $yellow;
+ border-radius: map-get($base, border-radius);
+ }
+
+ p.error {
+ padding: map-get($spacers, 2) map-get($spacers, 3);
+ background-color: rgba($red, .1);
+ border: 1px solid $red;
+ border-radius: map-get($base, border-radius);
+ }
+}