From 8bb50b372507429b495ce0465849aae805121435 Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Wed, 23 Jun 2021 11:37:10 +0200 Subject: [PATCH] Integrate light theme's `menu-2ndlvl-color` using a media query --- public/css/icinga/base.less | 1 + public/css/icinga/menu.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 b113f699e..8d4c8b9ce 100644 --- a/public/css/icinga/base.less +++ b/public/css/icinga/base.less @@ -114,6 +114,7 @@ --menu-search-hover-bg-color: darken(#DEECF1, 20%); --menu-active-bg-color: #EDF7FC; --menu-active-hover-bg-color: darken(#EDF7FC, 20%); + --menu-2ndlvl-color: #7E8182; --text-color: #535353; --text-color-light: fade(#535353, 75%); diff --git a/public/css/icinga/menu.less b/public/css/icinga/menu.less index 887e21350..44273e547 100644 --- a/public/css/icinga/menu.less +++ b/public/css/icinga/menu.less @@ -139,7 +139,7 @@ line-height: 1.833em; // 22px > a { - color: @menu-2ndlvl-color; + .var(color, menu-2ndlvl-color); font-size: @font-size-small; padding: 0.364em 0.545em 0.364em (@icon-width + .75em)/@font-size-small; } diff --git a/public/css/themes/icinga-light-theme.less b/public/css/themes/icinga-light-theme.less index 9dfe5fe88..2ed450f34 100644 --- a/public/css/themes/icinga-light-theme.less +++ b/public/css/themes/icinga-light-theme.less @@ -5,7 +5,5 @@ @gray-lighter: #EEEEEE; @gray-lightest: #F7F7F7; -@menu-2ndlvl-color: #7E8182; - @low-sat-blue: #DEECF1; @low-sat-blue-dark: #c0cccd;