bulma/sass/elements/notification.sass
Jeremy Thomas cefac73bef Fix 589
2017-03-26 17:33:35 +01:00

27 lines
519 B
Sass

.notification
+block
background-color: $background
border-radius: $radius
padding: 1.25rem 2.5rem 1.25rem 1.5rem
position: relative
code,
pre
background: $white
pre code
background: transparent
& > .delete
position: absolute
right: 0.5em
top: 0.5em
.title,
.subtitle,
.content
color: inherit
// Colors
@each $name, $pair in $colors
$color: nth($pair, 1)
$color-invert: nth($pair, 2)
&.is-#{$name}
background-color: $color
color: $color-invert