q3stats/frontend/sass/vendor/bootstrap/mixins/_labels.scss

13 lines
167 B
SCSS

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