mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-17 09:52:29 +01:00
Add :focus to all new :hover selectors
This commit is contained in:
parent
af9d6c3dd3
commit
b08d2b6adc
@ -34,7 +34,8 @@
|
||||
font-weight: 500;
|
||||
color: $dark;
|
||||
|
||||
&:hover {
|
||||
&:hover,
|
||||
&:focus {
|
||||
color: $blue;
|
||||
text-decoration: none;
|
||||
}
|
||||
@ -70,7 +71,8 @@
|
||||
color: $bd-purple-light;
|
||||
|
||||
&.active,
|
||||
&:hover {
|
||||
&:hover,
|
||||
&:focus {
|
||||
color: $white;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
@ -45,7 +45,8 @@
|
||||
|
||||
> * { pointer-events: none; }
|
||||
|
||||
&:hover {
|
||||
&:hover,
|
||||
&:focus {
|
||||
color: rgba(0, 0, 0, .85);
|
||||
text-decoration: none;
|
||||
background-color: rgba($bd-purple-bright, .1);
|
||||
@ -91,7 +92,8 @@
|
||||
color: rgba(0, 0, 0, .65);
|
||||
@include border-radius(.25rem);
|
||||
|
||||
&:hover {
|
||||
&:hover,
|
||||
&:focus {
|
||||
color: rgba(0, 0, 0, .85);
|
||||
text-decoration: none;
|
||||
background-color: rgba($bd-purple-bright, .1);
|
||||
@ -99,7 +101,8 @@
|
||||
}
|
||||
|
||||
> .active > a,
|
||||
> .active:hover > a {
|
||||
> .active:hover > a,
|
||||
> .active:focus > a {
|
||||
font-weight: 600;
|
||||
color: rgba(0, 0, 0, .85);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user