mirror of
https://github.com/twbs/bootstrap.git
synced 2025-03-21 13:29:00 +01:00
Add missing :focus styles
Double up :hover styles to also apply on :focus (particularly the masthead button needs this, as otherwise it gives no visible indication of being focused)
This commit is contained in:
parent
b47c252ee1
commit
4adaa64d9a
@ -13,7 +13,8 @@
|
||||
font-weight: 500;
|
||||
color: $gray;
|
||||
|
||||
&:hover {
|
||||
&:hover,
|
||||
&:focus {
|
||||
color: $link-color;
|
||||
}
|
||||
}
|
||||
|
@ -39,7 +39,8 @@
|
||||
color: $bd-yellow;
|
||||
border-color: $bd-yellow;
|
||||
|
||||
&:hover {
|
||||
&:hover,
|
||||
&:focus {
|
||||
color: $bd-graphite;
|
||||
background-color: $bd-yellow;
|
||||
border-color: $bd-yellow;
|
||||
|
@ -6,8 +6,12 @@
|
||||
color: #555;
|
||||
}
|
||||
|
||||
.team-member:hover {
|
||||
.team-member:hover,
|
||||
.team-member:focus {
|
||||
color: #333;
|
||||
}
|
||||
|
||||
.team-member:hover {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user