IW4M-Admin/Webfront/Content/bootstrap/mixins/_badge.scss

13 lines
230 B
SCSS
Raw Normal View History

2018-02-21 20:29:23 -05: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%);
}
}
}