Selector improvement (#27219)
This commit is contained in:
parent
a689120fd2
commit
7a01f3c41b
|
@ -14,7 +14,7 @@
|
|||
vertical-align: baseline;
|
||||
@include border-radius($badge-border-radius);
|
||||
|
||||
&[href] {
|
||||
@at-root a#{&} {
|
||||
@include hover-focus {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
color: color-yiq($bg);
|
||||
background-color: $bg;
|
||||
|
||||
&[href] {
|
||||
@at-root a#{&} {
|
||||
@include hover-focus {
|
||||
color: color-yiq($bg);
|
||||
background-color: darken($bg, 10%);
|
||||
|
|
Loading…
Reference in New Issue