diff --git a/common/lib/xmodule/xmodule/css/combinedopenended/display.scss b/common/lib/xmodule/xmodule/css/combinedopenended/display.scss index 1be3d8d913..cab22d4b7c 100644 --- a/common/lib/xmodule/xmodule/css/combinedopenended/display.scss +++ b/common/lib/xmodule/xmodule/css/combinedopenended/display.scss @@ -250,7 +250,7 @@ section.combined-open-ended-status { margin-bottom: 2px; padding: $baseline/2; - &:hover { + &:hover, &:focus { background-color: #eee; } .rubric-label-selected{ @@ -477,7 +477,7 @@ div.rubric { padding: $baseline/2; border-radius: $baseline/4; - &:hover { + &:hover, &:focus { background-color: #eee; } diff --git a/common/lib/xmodule/xmodule/css/combinedopenended/edit.scss b/common/lib/xmodule/xmodule/css/combinedopenended/edit.scss index 604d7e1a4e..bae8d4320b 100644 --- a/common/lib/xmodule/xmodule/css/combinedopenended/edit.scss +++ b/common/lib/xmodule/xmodule/css/combinedopenended/edit.scss @@ -17,7 +17,7 @@ pointer-events: none; cursor: none; - &:hover { + &:hover, &:focus { box-shadow: 0 0 0 0 !important; } } diff --git a/common/lib/xmodule/xmodule/css/editor/edit.scss b/common/lib/xmodule/xmodule/css/editor/edit.scss index d30f69bcd2..143a24b24e 100644 --- a/common/lib/xmodule/xmodule/css/editor/edit.scss +++ b/common/lib/xmodule/xmodule/css/editor/edit.scss @@ -20,7 +20,7 @@ margin-left: 7px; border-radius: 2px; - &:hover { + &:hover, &:focus { background: rgba(255, 255, 255, .5); } } diff --git a/common/lib/xmodule/xmodule/css/html/display.scss b/common/lib/xmodule/xmodule/css/html/display.scss index 6ce6ca5ee9..9c929c2113 100644 --- a/common/lib/xmodule/xmodule/css/html/display.scss +++ b/common/lib/xmodule/xmodule/css/html/display.scss @@ -90,7 +90,7 @@ ul { } a { - &:link, &:visited, &:hover, &:active { + &:link, &:visited, &:hover, &:active, &:focus { color: #1d9dd9; } } diff --git a/common/lib/xmodule/xmodule/css/problem/edit.scss b/common/lib/xmodule/xmodule/css/problem/edit.scss index 707c8e8c06..e361993555 100644 --- a/common/lib/xmodule/xmodule/css/problem/edit.scss +++ b/common/lib/xmodule/xmodule/css/problem/edit.scss @@ -17,7 +17,7 @@ pointer-events: none; cursor: none; - &:hover { + &:hover, &:focus { box-shadow: 0 0 0 0 !important; } } diff --git a/common/lib/xmodule/xmodule/css/sequence/display.scss b/common/lib/xmodule/xmodule/css/sequence/display.scss index 7176e31159..adb37eb182 100644 --- a/common/lib/xmodule/xmodule/css/sequence/display.scss +++ b/common/lib/xmodule/xmodule/css/sequence/display.scss @@ -5,7 +5,7 @@ $border-color: #C8C8C8; border-left: 1px solid lighten($border-color, 10%); display: block; - &:hover { + &:hover, &:focus { background: none; } } @@ -23,7 +23,7 @@ $border-color: #C8C8C8; border-left: 1px solid lighten($border-color, 10%); display: block; - &:hover { + &:hover, &:focus { background: none; } } @@ -131,7 +131,7 @@ nav.sequence-nav { // color: #aaa; // } - &:hover { + &:hover, &:focus { background-color: #fff; background-repeat: no-repeat; background-position: center 14px; @@ -282,7 +282,7 @@ nav.sequence-nav { outline: 0; } */ - &:hover { + &:hover, &:focus { opacity: 0.5; } @@ -353,7 +353,7 @@ nav.sequence-bottom { text-indent: -9999px; @include transition(all .2s $ease-in-out-quad 0s); - &:hover { + &:hover, &:focus { opacity: 0.5; background-position: center 15px; } diff --git a/common/lib/xmodule/xmodule/css/tabs/tabs.scss b/common/lib/xmodule/xmodule/css/tabs/tabs.scss index 24c08c8121..3dd0440160 100644 --- a/common/lib/xmodule/xmodule/css/tabs/tabs.scss +++ b/common/lib/xmodule/xmodule/css/tabs/tabs.scss @@ -79,7 +79,7 @@ cursor: default; } - &:hover { + &:hover, &:focus { box-shadow: inset 0 1px 2px 1px $shadow; background-image: linear-gradient(#009FE6, #009FE6) !important; } diff --git a/common/lib/xmodule/xmodule/css/video/accessible_menu.scss b/common/lib/xmodule/xmodule/css/video/accessible_menu.scss index f1bf571450..b5e73a6215 100644 --- a/common/lib/xmodule/xmodule/css/video/accessible_menu.scss +++ b/common/lib/xmodule/xmodule/css/video/accessible_menu.scss @@ -48,7 +48,7 @@ $blue-s1: saturate($blue,15%); font-size: 14px; line-height: 23px; - &:hover { + &:hover, &:focus { color: $gray-d1; } } diff --git a/common/lib/xmodule/xmodule/css/video/display.scss b/common/lib/xmodule/xmodule/css/video/display.scss index de0c783897..8690ed43ae 100644 --- a/common/lib/xmodule/xmodule/css/video/display.scss +++ b/common/lib/xmodule/xmodule/css/video/display.scss @@ -58,7 +58,7 @@ div.video { padding: ($baseline*.75); color: $lighter-base-font-color; - &:hover { + &:hover, &:focus { background-color: $action-primary-active-bg; color: $very-light-text; } @@ -166,7 +166,7 @@ div.video { color: #ccc; position: relative; - &:hover { + &:hover, &:focus { ul, div { opacity: 1; } @@ -188,7 +188,7 @@ div.video { border-style: solid; border-color: #000; - &:hover { + &:hover, &:focus { background-color: #444; color: #fff; text-decoration: none; @@ -370,7 +370,7 @@ div.video { text-overflow: ellipsis; white-space: nowrap; - &:hover { + &:hover, &:focus { background-color: #666; color: #aaa; outline-offset: -4px; @@ -617,7 +617,7 @@ div.video { outline-offset: -1px; } - &:hover { + &:hover, &:focus { text-decoration: underline; } diff --git a/common/static/sass/_mixins-inherited.scss b/common/static/sass/_mixins-inherited.scss index b59d193d5f..61f4d6815e 100644 --- a/common/static/sass/_mixins-inherited.scss +++ b/common/static/sass/_mixins-inherited.scss @@ -133,12 +133,12 @@ color: $gray-d1 !important; pointer-events: none; cursor: none; - &:hover { + &:hover, &:focus { box-shadow: 0 0 0 0 !important; } } - &:hover, &.active { + &:hover, &:focus, &:active { box-shadow: 0 1px 0 rgba(255, 255, 255, .3) inset, 0 1px 1px rgba(0, 0, 0, .15); } } @@ -152,7 +152,7 @@ background-color: $green; color: $white; - &:hover { + &:hover, &:focus { background-color: $green-s1; color: $white; } @@ -173,7 +173,7 @@ background-color: $blue; color: $white; - &:hover, &.active { + &:hover, &:focus, &:active { background-color: $blue-s2; color: $white; } @@ -194,7 +194,7 @@ background-color: $red; color: $white; - &:hover, &.active { + &:hover, &:focus, &:active { background-color: $red-s1; color: $white; } @@ -215,7 +215,7 @@ background-color: $pink; color: $white; - &:hover, &.active { + &:hover, &:focus, &:active { background-color: $pink-s1; color: $white; } @@ -237,7 +237,7 @@ background-color: $orange; color: $gray-d2; - &:hover { + &:hover, &:focus { background-color: $orange-s2; color: $gray-d2; } @@ -260,7 +260,7 @@ color: rgb(92, 103, 122); text-shadow: 0 1px 0 rgba(255, 255, 255, .5); - &:hover { + &:hover, &:focus { background-color: rgb(222, 236, 247); color: rgb(92, 103, 122); } @@ -290,7 +290,7 @@ background-color: $gray-d2; color: $gray-l3; - &:hover { + &:hover, &:focus { background-color: $gray-d3; color: $white; } @@ -304,7 +304,7 @@ box-shadow: 0 1px 0 rgba(255, 255, 255, .2) inset; color: $white; - &:hover { + &:hover, &:focus { background-color: $gray-d4; color: $white; } @@ -373,7 +373,7 @@ background: #edf1f5; font-size: 13px; - &:hover { + &:hover, &:focus { background: $blue-l5; .item-actions { diff --git a/common/static/sass/_mixins.scss b/common/static/sass/_mixins.scss index c5cb72f555..58f0699098 100644 --- a/common/static/sass/_mixins.scss +++ b/common/static/sass/_mixins.scss @@ -180,14 +180,14 @@ line-height: 1.5em; text-align: center; - &:hover, &:active { + &:hover, &:active, &:focus { box-shadow: 0 2px 1px $shadow-l1; } &.current, &.active { box-shadow: inset 1px 1px 2px $shadow-d1; - &:hover, &:active { + &:hover, &:active, &:focus { box-shadow: inset 1px 1px 1px $shadow-d1; } } @@ -204,7 +204,7 @@ line-height: 1.5em; text-align: center; - &:hover, &:active { + &:hover, &:active, &:focus { } @@ -224,7 +224,7 @@ background-color: $white; color: $blue-l2; - &:hover { + &:hover, &:focus { border: 1px solid $blue; background-color: $blue; color: $white; @@ -249,7 +249,7 @@ vertical-align: middle; color: $gray-l1; - &:hover { + &:hover, &:focus { background-color: $gray-l1; color: $white; } diff --git a/common/static/sass/bourbon/addons/_button.scss b/common/static/sass/bourbon/addons/_button.scss index 3ae393c090..07f9a0bbea 100644 --- a/common/static/sass/bourbon/addons/_button.scss +++ b/common/static/sass/bourbon/addons/_button.scss @@ -76,7 +76,7 @@ text-shadow: 0 1px 0 $text-shadow; background-clip: padding-box; - &:hover:not(:disabled) { + &:hover:not(:disabled),&:focus:not(:disabled) { $base-color-hover: adjust-color($base-color, $saturation: -4%, $lightness: -5%); $inset-shadow-hover: adjust-color($base-color, $saturation: -7%, $lightness: 5%); $stop-gradient-hover: adjust-color($base-color, $saturation: 8%, $lightness: -14%); diff --git a/lms/static/sass/course/courseware/_sidebar.scss b/lms/static/sass/course/courseware/_sidebar.scss index 153e0c4b97..12588657b3 100644 --- a/lms/static/sass/course/courseware/_sidebar.scss +++ b/lms/static/sass/course/courseware/_sidebar.scss @@ -34,7 +34,7 @@ color: #666; } - &.ui-state-hover { + &.ui-state-hover, &.ui-state-focus { a { color: #666; } diff --git a/lms/static/sass/course/instructor/_instructor_2.scss b/lms/static/sass/course/instructor/_instructor_2.scss index 7affd0c26e..b5430de58d 100644 --- a/lms/static/sass/course/instructor/_instructor_2.scss +++ b/lms/static/sass/course/instructor/_instructor_2.scss @@ -473,7 +473,7 @@ section.instructor-dashboard-content-2 { color: $lighter-base-font-color; cursor: pointer; - &:hover { + &:hover, &:focus { color: $alert-color; } } diff --git a/lms/static/sass/course/layout/_calculator.scss b/lms/static/sass/course/layout/_calculator.scss index 6f69fc5b2d..862be430a8 100644 --- a/lms/static/sass/course/layout/_calculator.scss +++ b/lms/static/sass/course/layout/_calculator.scss @@ -65,7 +65,7 @@ div.calc-main { -webkit-appearance: none; width: flex-grid(.5) + flex-gutter(); - &:hover { + &:hover, &:focus { color: #333; } } diff --git a/lms/static/sass/course/layout/_courseware_header.scss b/lms/static/sass/course/layout/_courseware_header.scss index 9bd1ce49fa..1f285cf78c 100644 --- a/lms/static/sass/course/layout/_courseware_header.scss +++ b/lms/static/sass/course/layout/_courseware_header.scss @@ -108,7 +108,7 @@ header.global.slim { text-shadow: 0 -1px rgba(0, 0, 0, 0.6); vertical-align: middle; - &:hover, &.active { + &:hover, &:active, &:focus { @include background-image(linear-gradient(-90deg, $link-color, $link-color 50%, $link-color 50%, $link-color 100%)); } } diff --git a/lms/static/sass/elements/_controls.scss b/lms/static/sass/elements/_controls.scss index d7f1376d93..776c2e3ac2 100644 --- a/lms/static/sass/elements/_controls.scss +++ b/lms/static/sass/elements/_controls.scss @@ -38,7 +38,7 @@ box-shadow: 0 1px 0 rgba($white, .3) inset, 0 0 0 rgba($black, 0); padding: ($baseline/2) $baseline; - &:hover, &.active { + &:hover, &:active, &:focus { text-decoration: none; } @@ -54,7 +54,7 @@ background-color: $action-primary-bg; color: $action-primary-fg; - &:hover, &.active { + &:hover, &:active, &:focus { background-color: $action-primary-focused-bg; color: $action-primary-focused-fg; } @@ -129,7 +129,7 @@ background: shade($error-color, 25%); color: $white; - &:hover, &:active { + &:hover, &:active, &:focus { background: $error-color; color: $white; } diff --git a/lms/static/sass/elements/_system-feedback.scss b/lms/static/sass/elements/_system-feedback.scss index 5b041d0a56..065fcf4e05 100644 --- a/lms/static/sass/elements/_system-feedback.scss +++ b/lms/static/sass/elements/_system-feedback.scss @@ -90,7 +90,7 @@ text-shadow: none; color: inherit; - &:hover { + &:hover, &:focus { color: $action-primary-bg; } } diff --git a/lms/static/sass/multicourse/_about_pages.scss b/lms/static/sass/multicourse/_about_pages.scss index 78840f8f7f..6c0970586e 100644 --- a/lms/static/sass/multicourse/_about_pages.scss +++ b/lms/static/sass/multicourse/_about_pages.scss @@ -24,7 +24,7 @@ @include transition(all 0.15s linear 0s); text-transform: lowercase; - &:hover, &.active, &:focus { + &:hover, &:active, &:focus { border-color: rgb(200,200,200); color: $base-font-color; text-decoration: none; diff --git a/lms/static/sass/multicourse/_course_about.scss b/lms/static/sass/multicourse/_course_about.scss index 36764da36b..e6f30986df 100644 --- a/lms/static/sass/multicourse/_course_about.scss +++ b/lms/static/sass/multicourse/_course_about.scss @@ -67,7 +67,7 @@ text-shadow: 0 1px rgba(255,255,255, 0.6); text-transform: none; - &:hover { + &:hover, &:focus { color: $link-color; } } @@ -84,7 +84,7 @@ text-shadow: 0 1px rgba(255,255,255, 0.6); text-transform: none; - &:hover { + &:hover, &:focus { color: $link-color; } } @@ -110,13 +110,13 @@ text-align: center; width: flex-grid(6); - &:hover { + &:hover, &:focus { color: rgb(255,255,255); } } a { - &:hover, &:visited { + &:hover, &:visited, &:focus { text-decoration: none; } } @@ -134,7 +134,7 @@ text-align: center; width: flex-grid(3, 8); - &:hover { + &:hover, &:focus { color: rgb(255,255,255); } } @@ -261,7 +261,7 @@ margin-left: 0px; } - &:hover, &.active, &:focus { + &:hover, &:active, &:focus { border-color: $border-color-2; color: $base-font-color; text-decoration: none; diff --git a/lms/static/sass/shared/_course_object.scss b/lms/static/sass/shared/_course_object.scss index d359205194..b234086e1d 100644 --- a/lms/static/sass/shared/_course_object.scss +++ b/lms/static/sass/shared/_course_object.scss @@ -71,7 +71,7 @@ display: block; } - a:hover { + a:hover, a:focus { text-decoration: none; } @@ -116,7 +116,7 @@ display: block; height: 50px; - &:hover { + &:hover, &:focus { @include background-image(linear-gradient(-90deg, rgba(255,255,255, 1), rgba(255,255,255, 0.8))); text-decoration: none; diff --git a/lms/static/sass/shared/_header.scss b/lms/static/sass/shared/_header.scss index 3a0a34f415..2e3a379d50 100644 --- a/lms/static/sass/shared/_header.scss +++ b/lms/static/sass/shared/_header.scss @@ -98,7 +98,7 @@ header.global { margin-right: 0px; } - &:hover, &:focus, &.active { + &:hover, &:focus, &:active { background: $button-bg-hover-color; } } diff --git a/lms/static/sass/views/_verification.scss b/lms/static/sass/views/_verification.scss index 7b24505f57..97faacd271 100644 --- a/lms/static/sass/views/_verification.scss +++ b/lms/static/sass/views/_verification.scss @@ -33,7 +33,7 @@ @extend %ui-fake-link; color: $m-blue-d2; - &:hover { + &:hover, &:focus { color: $m-blue; } }