summaryrefslogtreecommitdiff
path: root/public/css/_sass/elements/notification.sass
diff options
context:
space:
mode:
authorAdam Carpenter <gitlab@53hor.net>2019-06-12 20:27:21 -0400
committerAdam Carpenter <gitlab@53hor.net>2019-06-12 20:27:21 -0400
commit8ba1ab54263c1c275569ed94e6f8073f5fcca935 (patch)
tree8e15b396c3f1ce2cea7cd38bfd0c6be33eec40ed /public/css/_sass/elements/notification.sass
parentb820afa0cb1c88c8fd329544c5bae827817a4d59 (diff)
downloadcobalt-site-8ba1ab54263c1c275569ed94e6f8073f5fcca935.tar.xz
cobalt-site-8ba1ab54263c1c275569ed94e6f8073f5fcca935.zip
Re-included CSS.
Diffstat (limited to 'public/css/_sass/elements/notification.sass')
-rw-r--r--public/css/_sass/elements/notification.sass35
1 files changed, 35 insertions, 0 deletions
diff --git a/public/css/_sass/elements/notification.sass b/public/css/_sass/elements/notification.sass
new file mode 100644
index 0000000..2bda414
--- /dev/null
+++ b/public/css/_sass/elements/notification.sass
@@ -0,0 +1,35 @@
+$notification-background-color: $background !default
+$notification-radius: $radius !default
+$notification-padding: 1.25rem 2.5rem 1.25rem 1.5rem !default
+
+.notification
+ @extend %block
+ background-color: $notification-background-color
+ border-radius: $notification-radius
+ padding: $notification-padding
+ position: relative
+ a:not(.button):not(.dropdown-item)
+ color: currentColor
+ text-decoration: underline
+ strong
+ color: currentColor
+ code,
+ pre
+ background: $white
+ pre code
+ background: transparent
+ & > .delete
+ position: absolute
+ right: 0.5rem
+ top: 0.5rem
+ .title,
+ .subtitle,
+ .content
+ color: currentColor
+ // Colors
+ @each $name, $pair in $colors
+ $color: nth($pair, 1)
+ $color-invert: nth($pair, 2)
+ &.is-#{$name}
+ background-color: $color
+ color: $color-invert