From 78aef14c9fdd6d7548eb2e83f5034c64cb7d735d Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Wed, 23 Jun 2021 11:42:59 +0200 Subject: [PATCH] Integrate light theme's `low-sat-blue-dark` using a media query --- public/css/icinga/base.less | 1 + public/css/icinga/main.less | 2 +- public/css/themes/icinga-light-theme.less | 2 -- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/public/css/icinga/base.less b/public/css/icinga/base.less index 6aae5530b..268de8866 100644 --- a/public/css/icinga/base.less +++ b/public/css/icinga/base.less @@ -123,6 +123,7 @@ --menu-flyout-color: #535353; --low-sat-blue: #DEECF1; + --low-sat-blue-dark: #c0cccd; } } diff --git a/public/css/icinga/main.less b/public/css/icinga/main.less index 823b36de0..9ef2b7603 100644 --- a/public/css/icinga/main.less +++ b/public/css/icinga/main.less @@ -94,7 +94,7 @@ a:hover > .icon-cancel { padding: 0.25em 0.5em; &:hover { - background: @low-sat-blue-dark; + .var(background, low-sat-blue-dark); text-decoration: none; } } diff --git a/public/css/themes/icinga-light-theme.less b/public/css/themes/icinga-light-theme.less index b3825b641..fa978f2f0 100644 --- a/public/css/themes/icinga-light-theme.less +++ b/public/css/themes/icinga-light-theme.less @@ -4,5 +4,3 @@ @gray-light: #C9C9C9; @gray-lighter: #EEEEEE; @gray-lightest: #F7F7F7; - -@low-sat-blue-dark: #c0cccd;