Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKushal Pandya <kushal@gitlab.com>2016-11-17 17:03:23 +0300
committerKushal Pandya <kushal@gitlab.com>2016-11-17 17:03:23 +0300
commitb94c216a6a7cefdee9d0a3d78c9974cd22d2dc56 (patch)
tree7cc95ed5e9d8aa23f92aa85f497ee32a00737873 /app/assets/stylesheets/framework/common.scss
parent11ba759d33b3f59b1dd493ab04dd75f447c0d374 (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.scss17
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;
+ }
+}