summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-06-25 17:19:40 +0200
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-06-25 17:19:40 +0200
commit3b67353b124f646713f9b698db8f5d7e08c1f410 (patch)
treeb2dca18fe1fa2065b82513b6bf3f21f400d89e72
parent94f7a8db13fcdc15bd0a672b7059e8a0847952d8 (diff)
downloadnextcloud-server-3b67353b124f646713f9b698db8f5d7e08c1f410.tar.gz
nextcloud-server-3b67353b124f646713f9b698db8f5d7e08c1f410.zip
Fixed accessibility contrast theme and header tab focus
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
-rw-r--r--apps/accessibility/css/themehighcontrast.scss9
-rw-r--r--core/css/header.scss4
2 files changed, 5 insertions, 8 deletions
diff --git a/apps/accessibility/css/themehighcontrast.scss b/apps/accessibility/css/themehighcontrast.scss
index dbb9dee4249..8149e7669f5 100644
--- a/apps/accessibility/css/themehighcontrast.scss
+++ b/apps/accessibility/css/themehighcontrast.scss
@@ -19,14 +19,7 @@
@font-face {
font-family: 'Open Sans';
font-style: normal;
- font-weight: 500;
- src: local('Open Sans Semibold'), local('OpenSans-Semibold'),
- url('../../../core/fonts/OpenSans-Semibold.woff') format('woff');
-}
-@font-face {
- font-family: 'Open Sans';
- font-style: normal;
- font-weight: 700;
+ font-weight: 500 700;
src: local('Open Sans Bold'), local('OpenSans-Bold'),
url('../../../core/fonts/OpenSans-Bold.woff') format('woff');
}
diff --git a/core/css/header.scss b/core/css/header.scss
index 94ce58284ab..fdb2bb24e1f 100644
--- a/core/css/header.scss
+++ b/core/css/header.scss
@@ -480,6 +480,10 @@ nav[role='navigation'] {
li a:focus,
li a.active {
opacity: 1;
+ }
+
+ li:hover a,
+ li a:focus {
+ span {
display: inline-block;
}