aboutsummaryrefslogtreecommitdiff
path: root/site/static/docs
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2019-07-15 10:26:55 -0700
committerMark Otto <[email protected]>2019-07-21 21:44:32 -0700
commitb08d2b6adc65b67250c6ebf7e6c4401a705bb06c (patch)
tree1279e9120aa9b4020255902bccce8777feb48940 /site/static/docs
parentaf9d6c3dd3a3c84ef2f1d13eddeb7c989d121923 (diff)
downloadbootstrap-b08d2b6adc65b67250c6ebf7e6c4401a705bb06c.tar.xz
bootstrap-b08d2b6adc65b67250c6ebf7e6c4401a705bb06c.zip
Add :focus to all new :hover selectors
Diffstat (limited to 'site/static/docs')
-rw-r--r--site/static/docs/4.3/assets/scss/_nav.scss6
-rw-r--r--site/static/docs/4.3/assets/scss/_sidebar.scss9
2 files changed, 10 insertions, 5 deletions
diff --git a/site/static/docs/4.3/assets/scss/_nav.scss b/site/static/docs/4.3/assets/scss/_nav.scss
index 4f1f61f1b..18a04cfe2 100644
--- a/site/static/docs/4.3/assets/scss/_nav.scss
+++ b/site/static/docs/4.3/assets/scss/_nav.scss
@@ -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;
}
diff --git a/site/static/docs/4.3/assets/scss/_sidebar.scss b/site/static/docs/4.3/assets/scss/_sidebar.scss
index 43232e9aa..14f1364b7 100644
--- a/site/static/docs/4.3/assets/scss/_sidebar.scss
+++ b/site/static/docs/4.3/assets/scss/_sidebar.scss
@@ -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);
}