mirror of
https://github.com/jgthms/bulma.git
synced 2024-11-14 11:14:24 +00:00
23 lines
453 B
Sass
23 lines
453 B
Sass
.notification
|
|
+block
|
|
+clearfix
|
|
background-color: $background
|
|
border-radius: $radius
|
|
padding: 16px 20px
|
|
position: relative
|
|
.delete
|
|
border-radius: 0 $radius
|
|
float: right
|
|
margin: -16px -20px 0 20px
|
|
.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
|