From 31a81f952474b392102241326ce6b7d55414cb78 Mon Sep 17 00:00:00 2001 From: Jan-Hendrik Willms <tleilax+studip@gmail.com> Date: Tue, 14 Feb 2023 08:56:26 +0000 Subject: [PATCH] adjust blur effects to new conditions, fixes #2069 Closes #2069 Merge request studip/studip!1355 --- .../assets/stylesheets/scss/globalsearch.scss | 31 ++++++++++++------- 1 file changed, 19 insertions(+), 12 deletions(-) diff --git a/resources/assets/stylesheets/scss/globalsearch.scss b/resources/assets/stylesheets/scss/globalsearch.scss index 8052d3b7251..9087b0b0e7d 100644 --- a/resources/assets/stylesheets/scss/globalsearch.scss +++ b/resources/assets/stylesheets/scss/globalsearch.scss @@ -313,21 +313,28 @@ html:not(.size-large) { z-index: 0; } - #current-page-structure { + #navigation-level-1, + #current-page-structure, + #sidebar, + #content-wrapper, + #main-footer, + #scroll-to-top + { position: relative; filter: blur(1px); + } - &::before { - content: ' '; - display: block; - position: absolute; - top: -1px; - right: -1px; - bottom: -1px; - left: -1px; - background: mix($base-color, rgba(255,0,0,0), 50%); - z-index: 1; - } + body::before { + content: ' '; + display: block; + position: fixed; + top: $bar-bottom-container-height; + right: -1px; + bottom: -1px; + left: -1px; + background: mix($base-color, rgba(255,0,0,0), 50%); + z-index: 5; + pointer-events: none; } } } -- GitLab