mirror of
https://github.com/jgthms/bulma.git
synced 2024-11-28 12:24:23 +00:00
30 lines
591 B
Sass
30 lines
591 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
|
|
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
|