diff options
author | Kushal Pandya <kushal@gitlab.com> | 2016-11-17 17:03:23 +0300 |
---|---|---|
committer | Kushal Pandya <kushal@gitlab.com> | 2016-11-17 17:03:23 +0300 |
commit | b94c216a6a7cefdee9d0a3d78c9974cd22d2dc56 (patch) | |
tree | 7cc95ed5e9d8aa23f92aa85f497ee32a00737873 /app/assets/stylesheets/framework/common.scss | |
parent | 11ba759d33b3f59b1dd493ab04dd75f447c0d374 (diff) |
Add a11y class for top-level shortcut for Screen Readers
Diffstat (limited to 'app/assets/stylesheets/framework/common.scss')
-rw-r--r-- | app/assets/stylesheets/framework/common.scss | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/app/assets/stylesheets/framework/common.scss b/app/assets/stylesheets/framework/common.scss index ad5ac589d0f..33c53a2bdd1 100644 --- a/app/assets/stylesheets/framework/common.scss +++ b/app/assets/stylesheets/framework/common.scss @@ -376,3 +376,20 @@ table { } .hide-bottom-border { border-bottom: none !important; } + +.gl-accessibility { + + &:focus { + top: 1px; + left: 1px; + width: auto; + height: 100%; + line-height: 50px; + padding: 0 10px; + clip: auto; + text-decoration: none; + color: $gl-title-color; + background: $gray-light; + z-index: 1; + } +} |