From 4481c5b9c4a91ff4dc16b89c2fc4caad9ffa767c Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Tue, 13 Apr 2021 10:32:47 +0200 Subject: [PATCH] Fix collapsible impact effect --- public/css/icinga/main.less | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/css/icinga/main.less b/public/css/icinga/main.less index d20e88e98..cef87bb92 100644 --- a/public/css/icinga/main.less +++ b/public/css/icinga/main.less @@ -320,7 +320,7 @@ a:hover > .icon-cancel { .collapsible.collapsed:not([data-toggle-element]) { position: relative; - &:before { + &:before, &:after { content: ""; display: block; height: 2em; @@ -337,7 +337,7 @@ a:hover > .icon-cancel { &:after { opacity: 0; - background: linear-gradient(rgba(238,238,238,0), #eee); + background: linear-gradient(fade(@body-bg-color, 0), @body-bg-color); } }