fedi/sass/bootstrap/mixins/_labels.scss
2019-08-21 12:57:48 +03:00

13 lines
167 B
SCSS
Executable file

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