bulma/sass/elements/notification.sass

22 lines
437 B
Sass
Raw Normal View History

2016-01-24 00:03:43 +00:00
.notification
@extend .block
2016-01-24 00:03:43 +00:00
+clearfix
background: $background
border-radius: $radius
padding: 16px 20px
position: relative
2016-04-10 15:00:32 +00:00
.delete
border-radius: 0 $radius
float: right
margin: -16px -20px 0 20px
.subtitle,
2016-01-24 00:03:43 +00:00
.title
color: inherit
2016-04-10 15:00:32 +00:00
// Colors
2016-01-24 00:03:43 +00:00
@each $name, $pair in $colors
$color: nth($pair, 1)
$color-invert: nth($pair, 2)
&.is-#{$name}
background: $color
color: $color-invert