diff options
author | Adam T. Carpenter <atc@53hor.net> | 2020-06-03 22:00:03 -0400 |
---|---|---|
committer | Adam T. Carpenter <atc@53hor.net> | 2020-06-03 22:00:03 -0400 |
commit | c6b5329e5c77b226a6b0cacd99607fc7650c3a9a (patch) | |
tree | 1b4676ab6d7e2257212d07cf5faf136f7bda89f7 /_bulma/node_modules/bulma/sass/elements/notification.sass | |
parent | 4d129b527ee5d3a536849209c2a4e86a64190a5d (diff) | |
download | carpentertutoring-c6b5329e5c77b226a6b0cacd99607fc7650c3a9a.tar.xz carpentertutoring-c6b5329e5c77b226a6b0cacd99607fc7650c3a9a.zip |
actually include bulma data for scss rendering later
Diffstat (limited to '_bulma/node_modules/bulma/sass/elements/notification.sass')
-rw-r--r-- | _bulma/node_modules/bulma/sass/elements/notification.sass | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/_bulma/node_modules/bulma/sass/elements/notification.sass b/_bulma/node_modules/bulma/sass/elements/notification.sass new file mode 100644 index 0000000..32a0ee1 --- /dev/null +++ b/_bulma/node_modules/bulma/sass/elements/notification.sass @@ -0,0 +1,43 @@ +$notification-background-color: $background !default +$notification-code-background-color: $scheme-main !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: $notification-code-background-color + 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 + // If light and dark colors are provided + @if length($pair) >= 4 + $color-light: nth($pair, 3) + $color-dark: nth($pair, 4) + &.is-light + background-color: $color-light + color: $color-dark |