mirror of
https://github.com/jgthms/bulma.git
synced 2024-11-14 11:14:24 +00:00
27 lines
515 B
Sass
27 lines
515 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
|