aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick H. Lauke <[email protected]>2017-01-14 22:54:55 +0000
committerPatrick H. Lauke <[email protected]>2017-01-14 22:54:55 +0000
commit4adaa64d9a68f2ceb5583aeef69ab16dd54b032f (patch)
treec2f53b08096dc3c6b5d90b322d86acf9dbcdda7b
parentb47c252ee13c536205105dcb16029021118f989c (diff)
downloadbootstrap-4adaa64d9a68f2ceb5583aeef69ab16dd54b032f.tar.xz
bootstrap-4adaa64d9a68f2ceb5583aeef69ab16dd54b032f.zip
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)
-rw-r--r--docs/assets/scss/_footer.scss3
-rw-r--r--docs/assets/scss/_masthead.scss3
-rw-r--r--docs/assets/scss/_team.scss6
3 files changed, 9 insertions, 3 deletions
diff --git a/docs/assets/scss/_footer.scss b/docs/assets/scss/_footer.scss
index 237a90d32..e7ffac480 100644
--- a/docs/assets/scss/_footer.scss
+++ b/docs/assets/scss/_footer.scss
@@ -13,7 +13,8 @@
font-weight: 500;
color: $gray;
- &:hover {
+ &:hover,
+ &:focus {
color: $link-color;
}
}
diff --git a/docs/assets/scss/_masthead.scss b/docs/assets/scss/_masthead.scss
index aa59ffbfc..a457cb0e1 100644
--- a/docs/assets/scss/_masthead.scss
+++ b/docs/assets/scss/_masthead.scss
@@ -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;
diff --git a/docs/assets/scss/_team.scss b/docs/assets/scss/_team.scss
index 47516277a..5f6229bd3 100644
--- a/docs/assets/scss/_team.scss
+++ b/docs/assets/scss/_team.scss
@@ -6,8 +6,12 @@
color: #555;
}
- .team-member:hover {
+ .team-member:hover,
+ .team-member:focus {
color: #333;
+ }
+
+ .team-member:hover {
text-decoration: none;
}