Selector improvement (#27219)

This commit is contained in:
Martijn Cuppens 2018-09-14 14:31:48 +02:00 committed by Andres Galante
parent a689120fd2
commit 7a01f3c41b
2 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,7 @@
vertical-align: baseline;
@include border-radius($badge-border-radius);
&[href] {
@at-root a#{&} {
@include hover-focus {
text-decoration: none;
}

View File

@ -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%);