datamad2017/_sass/vendor/bootstrap/mixins/_labels.scss

13 lines
169 B
SCSS
Raw Normal View History

// Labels
@mixin label-variant($color) {
background-color: $color;
&[href] {
&:hover,
&:focus {
background-color: darken($color, 10%);
}
}
}