Commit f9b88653 by Chris Rodriguez

Hiding focus outline on programmatically focusable els

parent d794fc5c
...@@ -36,8 +36,8 @@ body, input, button { ...@@ -36,8 +36,8 @@ body, input, button {
font-family: 'Open Sans', sans-serif; font-family: 'Open Sans', sans-serif;
} }
// we want to hide the outline on the focusable <main> element // removing the outline on any element that we make programmatically focusable
main { [tabindex="-1"] {
outline: none; outline: none;
} }
......
...@@ -20,6 +20,11 @@ body { ...@@ -20,6 +20,11 @@ body {
background: $body-bg; background: $body-bg;
} }
// removing the outline on any element that we make programmatically focusable
[tabindex="-1"] {
outline: none;
}
h1, h2, h3, h4, h5, h6 { h1, h2, h3, h4, h5, h6 {
color: $base-font-color; color: $base-font-color;
font: normal 1.2em/1.2em $serif; font: normal 1.2em/1.2em $serif;
......
// LMS base styles // LMS base styles
// removing the outline on any element that we make programmatically focusable
[tabindex="-1"] {
outline: none;
}
.window-wrap { .window-wrap {
background-color: $lms-background-color; background-color: $lms-background-color;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment