Move CSS of hover underline to base from color variants

This commit is contained in:
ysds 2018-08-30 02:48:41 +09:00 committed by Mark Otto
parent 97801a7a2d
commit d1de8737aa
2 changed files with 6 additions and 1 deletions

View File

@ -14,6 +14,12 @@
vertical-align: baseline;
@include border-radius($badge-border-radius);
&[href] {
@include hover-focus {
text-decoration: none;
}
}
// Empty badges collapse automatically
&:empty {
display: none;

View File

@ -5,7 +5,6 @@
&[href] {
@include hover-focus {
color: color-yiq($bg);
text-decoration: none;
background-color: darken($bg, 10%);
}
}