summaryrefslogtreecommitdiff
path: root/app/assets
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2018-01-22 08:41:06 +0000
committerPhil Hughes <me@iamphill.com>2018-01-22 08:41:06 +0000
commit8bea2a70aca919a822eb539f0e96bd592a7c4cbf (patch)
tree68e5ad995bc7f9f3e0d2c5893396c8073754d4ab /app/assets
parent63dbcd24836b4b1da3f7c1d61851b6603a4c4461 (diff)
parent6cb90fe5b631620608dc76942cd021925b0b5c12 (diff)
downloadgitlab-ce-8bea2a70aca919a822eb539f0e96bd592a7c4cbf.tar.gz
Merge branch '41814-text-decoration-skip' into 'master'
Resolve "introduce skip-ink underlines to improve readability dyslexic users" Closes #41814 See merge request gitlab-org/gitlab-ce!16569
Diffstat (limited to 'app/assets')
-rw-r--r--app/assets/stylesheets/framework/layout.scss8
1 files changed, 7 insertions, 1 deletions
diff --git a/app/assets/stylesheets/framework/layout.scss b/app/assets/stylesheets/framework/layout.scss
index fab3270b9f5..d107422e517 100644
--- a/app/assets/stylesheets/framework/layout.scss
+++ b/app/assets/stylesheets/framework/layout.scss
@@ -1,10 +1,16 @@
html {
overflow-y: scroll;
- &.touch .tooltip { display: none !important; }
+ &.touch .tooltip {
+ display: none !important;
+ }
}
body {
+ // Improves readability for dyslexic users; supported only in Chrome/Safari so far
+ // scss-lint:disable PropertySpelling
+ text-decoration-skip: ink;
+ // scss-lint:enable PropertySpelling
&.navless {
background-color: $white-light !important;
}