textnavi/static/bower_components/bootstrap/scss/mixins/_badge.scss

13 lines
230 B
SCSS
Raw Normal View History

2018-12-23 18:32:17 +00:00
@mixin badge-variant($bg) {
color: color-yiq($bg);
background-color: $bg;
&[href] {
@include hover-focus {
color: color-yiq($bg);
text-decoration: none;
background-color: darken($bg, 10%);
}
}
}