From 1c83c710e9630e5e09c632fca39b3e7540620c38 Mon Sep 17 00:00:00 2001 From: Eric Lippmann Date: Thu, 12 Nov 2015 09:38:38 +0100 Subject: [PATCH] CSS: Move menu related styles from widgets to menu.less refs #5543 --- public/css/icinga/menu.less | 1 + public/css/icinga/widgets.less | 36 ---------------------------------- 2 files changed, 1 insertion(+), 36 deletions(-) diff --git a/public/css/icinga/menu.less b/public/css/icinga/menu.less index 5e0a39617..58e31b7bf 100644 --- a/public/css/icinga/menu.less +++ b/public/css/icinga/menu.less @@ -125,6 +125,7 @@ padding: @vertical-padding 0; position: absolute; top: 0; + width: 14em; > .nav-item { display: block; diff --git a/public/css/icinga/widgets.less b/public/css/icinga/widgets.less index c36df1df5..e59a1df06 100644 --- a/public/css/icinga/widgets.less +++ b/public/css/icinga/widgets.less @@ -185,42 +185,6 @@ ul.tree li a.error:hover { // color: @colorGray; // text-decoration: none; //} -// -//#menu nav ul .badge { -// margin-right: 0em; -// top: 0.5em; -//} - -//#menu nav > ul > li.active > .badge-container { -// display: none; -//} -// -//#menu nav > ul > li.hover > .badge-container { -// display: none; -//} -// -//#menu nav > ul > li.active > ul > li .badge-container { -// position: relative; -// top: -0.5em; -//} - -#menu nav > ul > li.hover > ul > li > a { - width: 12.5em; -} - -//#menu nav > ul > li.hover > ul > li .badge-container { -// position: relative; -// top: -0.5em; -//} - -#menu nav > ul > li.hover > ul > li { - // prevent floating badges from resizing list items in webkit - //max-height: 2em; -} - -//li li .badge { -// font-size: 0.975em; -//} //.badge-critical { // background-color: @colorCritical;