mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-17 19:06:40 +02:00
Add :focus to all new :hover selectors
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user