mirror of
https://github.com/jgthms/bulma
synced 2026-03-15 02:04:29 -07:00
Add has-bg helpers for block background colors (#1628)
* Add has-bg helpers for block background colors * Updating CHANGELOG
This commit is contained in:
committed by
Jeremy Thomas
parent
4f5899036e
commit
81a9ada825
@@ -14,6 +14,10 @@
|
||||
|
||||
* #1428 Fix `media-content` overflow
|
||||
|
||||
### Improvements
|
||||
|
||||
* Add `.has-bg` helpers for block background colors, like `.has-text`.
|
||||
|
||||
## 0.6.2
|
||||
|
||||
### New features
|
||||
|
||||
@@ -100,6 +100,8 @@ $alignments: ('centered': 'center', 'justified': 'justify', 'left': 'left', 'rig
|
||||
&:hover,
|
||||
&:focus
|
||||
color: darken($color, 10%) !important
|
||||
.has-bg-#{$name}
|
||||
background-color: $color !important
|
||||
|
||||
@each $name, $shade in $shades
|
||||
.has-text-#{$name}
|
||||
|
||||
Reference in New Issue
Block a user