2017-06-26 01:15:32 +00:00
|
|
|
@mixin badge-variant($bg) {
|
2017-09-13 15:32:44 +00:00
|
|
|
color: color-yiq($bg);
|
2017-06-26 01:15:32 +00:00
|
|
|
background-color: $bg;
|
2014-12-02 22:02:35 +00:00
|
|
|
|
2018-09-14 12:31:48 +00:00
|
|
|
@at-root a#{&} {
|
2015-01-01 09:05:01 +00:00
|
|
|
@include hover-focus {
|
2017-09-13 15:32:44 +00:00
|
|
|
color: color-yiq($bg);
|
2017-06-26 01:15:32 +00:00
|
|
|
background-color: darken($bg, 10%);
|
2014-12-02 22:02:35 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|