twbs--bootstrap/scss/mixins/_label.scss

12 lines
167 B
SCSS
Raw Normal View History

2014-12-02 22:02:35 +00:00
// Labels
@mixin label-variant($color) {
background-color: $color;
&[href] {
@include hover-focus {
2014-12-02 22:02:35 +00:00
background-color: darken($color, 10%);
}
}
}