mirror of
https://github.com/jgthms/bulma
synced 2026-03-24 05:49:35 -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
|
* #1428 Fix `media-content` overflow
|
||||||
|
|
||||||
|
### Improvements
|
||||||
|
|
||||||
|
* Add `.has-bg` helpers for block background colors, like `.has-text`.
|
||||||
|
|
||||||
## 0.6.2
|
## 0.6.2
|
||||||
|
|
||||||
### New features
|
### New features
|
||||||
|
|||||||
@@ -100,6 +100,8 @@ $alignments: ('centered': 'center', 'justified': 'justify', 'left': 'left', 'rig
|
|||||||
&:hover,
|
&:hover,
|
||||||
&:focus
|
&:focus
|
||||||
color: darken($color, 10%) !important
|
color: darken($color, 10%) !important
|
||||||
|
.has-bg-#{$name}
|
||||||
|
background-color: $color !important
|
||||||
|
|
||||||
@each $name, $shade in $shades
|
@each $name, $shade in $shades
|
||||||
.has-text-#{$name}
|
.has-text-#{$name}
|
||||||
|
|||||||
Reference in New Issue
Block a user