diff options
author | 53hornet <53hornet@gmail.com> | 2019-03-30 18:05:20 -0400 |
---|---|---|
committer | 53hornet <53hornet@gmail.com> | 2019-03-30 18:05:20 -0400 |
commit | 7f69e616dd181ce6d46d42a7dfde14dfeae7e247 (patch) | |
tree | 3324c42ae878b1e68717d56270d81015d7d6de6b /_sass/elements/notification.sass | |
download | cobalt-site-7f69e616dd181ce6d46d42a7dfde14dfeae7e247.tar.xz cobalt-site-7f69e616dd181ce6d46d42a7dfde14dfeae7e247.zip |
Initial commit.
Diffstat (limited to '_sass/elements/notification.sass')
-rw-r--r-- | _sass/elements/notification.sass | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/_sass/elements/notification.sass b/_sass/elements/notification.sass new file mode 100644 index 0000000..2bda414 --- /dev/null +++ b/_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 |