mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-13 17:14:04 +02:00
Selector improvement (#27219)
This commit is contained in:
committed by
Andres Galante
parent
a689120fd2
commit
7a01f3c41b
@@ -14,7 +14,7 @@
|
|||||||
vertical-align: baseline;
|
vertical-align: baseline;
|
||||||
@include border-radius($badge-border-radius);
|
@include border-radius($badge-border-radius);
|
||||||
|
|
||||||
&[href] {
|
@at-root a#{&} {
|
||||||
@include hover-focus {
|
@include hover-focus {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
@@ -2,7 +2,7 @@
|
|||||||
color: color-yiq($bg);
|
color: color-yiq($bg);
|
||||||
background-color: $bg;
|
background-color: $bg;
|
||||||
|
|
||||||
&[href] {
|
@at-root a#{&} {
|
||||||
@include hover-focus {
|
@include hover-focus {
|
||||||
color: color-yiq($bg);
|
color: color-yiq($bg);
|
||||||
background-color: darken($bg, 10%);
|
background-color: darken($bg, 10%);
|
||||||
|
Reference in New Issue
Block a user