bulma/docs/_sass/callout.sass

14 lines
319 B
Sass
Raw Permalink Normal View History

2017-08-14 11:44:24 +00:00
.bd-callout
2017-07-02 22:49:54 +00:00
+block
background-color: $background
border-radius: $radius
padding: 1.25rem 2.5rem 1.25rem 1.5rem
position: relative
// Colors
@each $name, $pair in $colors
$color: nth($pair, 1)
$color-invert: nth($pair, 2)
&.is-#{$name}
background-color: $color
color: $color-invert