Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
f9b88653
Commit
f9b88653
authored
Jun 22, 2016
by
Chris Rodriguez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Hiding focus outline on programmatically focusable els
parent
d794fc5c
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
2 deletions
+12
-2
cms/static/sass/_base.scss
+2
-2
lms/static/sass/base/_base.scss
+5
-0
lms/static/sass/shared-v2/_base.scss
+5
-0
No files found.
cms/static/sass/_base.scss
View file @
f9b88653
...
...
@@ -36,8 +36,8 @@ body, input, button {
font-family
:
'Open Sans'
,
sans-serif
;
}
//
we want to hide the outline on the focusable <main> element
main
{
//
removing the outline on any element that we make programmatically focusable
[
tabindex
=
"-1"
]
{
outline
:
none
;
}
...
...
lms/static/sass/base/_base.scss
View file @
f9b88653
...
...
@@ -20,6 +20,11 @@ body {
background
:
$body-bg
;
}
// removing the outline on any element that we make programmatically focusable
[
tabindex
=
"-1"
]
{
outline
:
none
;
}
h1
,
h2
,
h3
,
h4
,
h5
,
h6
{
color
:
$base-font-color
;
font
:
normal
1
.2em
/
1
.2em
$serif
;
...
...
lms/static/sass/shared-v2/_base.scss
View file @
f9b88653
// LMS base styles
// removing the outline on any element that we make programmatically focusable
[
tabindex
=
"-1"
]
{
outline
:
none
;
}
.window-wrap
{
background-color
:
$lms-background-color
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment