mirror of
https://github.com/jgthms/bulma
synced 2026-03-19 03:44:31 -07:00
Fix #242
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
color: inherit
|
||||
|
||||
.message-header
|
||||
background: $text
|
||||
background-color: $text
|
||||
border-radius: $radius $radius 0 0
|
||||
color: $text-invert
|
||||
padding: 7px 10px
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
.message
|
||||
@extend .block
|
||||
background: $background
|
||||
background-color: $background
|
||||
border-radius: $radius
|
||||
// Colors
|
||||
@each $name, $pair in $colors
|
||||
@@ -27,9 +27,9 @@
|
||||
$lightning: max((100% - lightness($color)) - 4%, 0%)
|
||||
$darkness: max(lightness($color) - 10%, lightness($color))
|
||||
&.is-#{$name}
|
||||
background: lighten($color, $lightning)
|
||||
background-color: lighten($color, $lightning)
|
||||
.message-header
|
||||
background: $color
|
||||
background-color: $color
|
||||
color: $color-invert
|
||||
.message-body
|
||||
border-color: $color
|
||||
|
||||
Reference in New Issue
Block a user