mirror of
https://github.com/Hopiu/bootstrap.git
synced 2026-03-27 01:30:24 +00:00
Selector improvement (#27219)
This commit is contained in:
parent
a689120fd2
commit
7a01f3c41b
2 changed files with 2 additions and 2 deletions
|
|
@ -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 a new issue