bulma/sass/elements/notification.sass
Jeremy Thomas 27d4de4c13 Fix #821
2017-07-05 21:27:23 +01:00

32 lines
629 B
Sass

.notification
+block
background-color: $background
border-radius: $radius
padding: 1.25rem 2.5rem 1.25rem 1.5rem
position: relative
a:not(.button)
color: currentColor
text-decoration: underline
strong
color: currentColor
code,
pre
background: $white
pre code
background: transparent
& > .delete
position: absolute
right: 0.5em
top: 0.5em
.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