From 9d02aa75ea117d656539f3290e46004807396ca1 Mon Sep 17 00:00:00 2001 From: Eric Lippmann Date: Tue, 27 Oct 2015 14:02:29 +0100 Subject: [PATCH] CSS: Move .primary-nav to nav.less refs #5543 --- public/css/icinga/main.less | 6 ------ public/css/icinga/nav.less | 18 +++++++++++------- 2 files changed, 11 insertions(+), 13 deletions(-) diff --git a/public/css/icinga/main.less b/public/css/icinga/main.less index f681b899f..7574dd89a 100644 --- a/public/css/icinga/main.less +++ b/public/css/icinga/main.less @@ -30,12 +30,6 @@ width: 28px; } -.primary-nav { - a { - font-weight: normal; - } -} - .pull-left { float: left; } diff --git a/public/css/icinga/nav.less b/public/css/icinga/nav.less index aa0b15ad7..5ca24c121 100644 --- a/public/css/icinga/nav.less +++ b/public/css/icinga/nav.less @@ -1,16 +1,16 @@ /*! Icinga Web 2 | (c) 2013-2015 Icinga Development Team | GPLv2+ */ -li.badge-nav-item { +.badge-nav-item { > a { .clearfix(); - .badge { + > .badge { float: right; } } } -li.nav-item { +.nav-item { > a, > span { // Rollover @@ -18,17 +18,21 @@ li.nav-item { } } -ul.nav { +.nav { // Reset defaults + list-style-type: none; margin: 0; padding: 0; - list-style-type: none; } -ul.tab-nav { +.tab-nav { .clearfix(); - li { + > .nav-item { float: left; } } + +.primary-nav a { + font-weight: 500; +}