projects
/
roojs1
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
5c03ff13808f76e14322482b6131e2becbf6d0a4
[roojs1]
/
scss
/
bootstrap
/
mixins
/
_badge.scss
1
@mixin badge-variant($bg) {
2
color: color-yiq($bg);
3
background-color: $bg;
4
5
/* @at-root a#{&} { */
6
&[href] {
7
@include hover-focus() {
8
color: color-yiq($bg);
9
background-color: darken($bg, 10%);
10
}
11
12
&:focus,
13
&.focus {
14
outline: 0;
15
box-shadow: 0 0 0 $badge-focus-width rgba($bg, .5);
16
}
17
}
18
}