From 87399c10bc13a43625f4810c467734f946538917 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michaela=20Br=C3=BCckner?= <brueckner@data-quest.de> Date: Fri, 30 Dec 2022 11:22:10 +0000 Subject: [PATCH] fixes #1961 Closes #1961 Merge request studip/studip!1273 --- .../assets/stylesheets/highcontrast.scss | 98 +++++++++++++++++++ 1 file changed, 98 insertions(+) diff --git a/resources/assets/stylesheets/highcontrast.scss b/resources/assets/stylesheets/highcontrast.scss index 849f0d44097..b34697d73b3 100644 --- a/resources/assets/stylesheets/highcontrast.scss +++ b/resources/assets/stylesheets/highcontrast.scss @@ -1447,3 +1447,101 @@ button.skiplink { .minor, .quiet { color: $black; } + +/* for 5.3 responsive navigation */ +#top-bar, +#responsive-navigation-items { + background-color: $black; +} + +#responsive-navigation-items { + header { + background-image: unset; + > div { + .avatar-navigation { + .navigation-item { + background-color: transparent; + &:hover { + background-color: $lightgray; + .navigation-title a { + color: $black !important; + } + } + } + } + } + } + + .navigation-item { + background-color: $black; + + &:not(:last-child) { + } + + &.navigation-up, + &.navigation-current { + &:hover { + background-color: $lightgray; + + .navigation-title button { + .navigation-icon { + filter: brightness(0); + } + + .navigation-text { + color: $black; + } + } + } + + } + + // current active element + &.navigation-current { + background-color: $lightgray; + .navigation-title button { + .navigation-icon { + filter: brightness(0); + } + + .navigation-text { + color: $black; + } + } + } + + button { + &.navigation-in { + border-left: 1px solid $lightgray; + } + } + + // right arrow + &:not(.navigation-current):not(.navigation-up) { + button:hover { + background-color: $lightgray; + + > img { + filter: brightness(0); + } + } + } + + } + + // list elements when hovering + a { + &:hover { + background-color: $lightgray; + color: $black; + + img { + filter: brightness(0); + } + } + } + +} + + + -- GitLab