From a127962e73afbe6b98b16ea91ec32fce3f015dd6 Mon Sep 17 00:00:00 2001 From: Eric Lippmann Date: Mon, 21 Dec 2015 09:57:01 +0100 Subject: [PATCH] CSS: Bring back styles for .impact refs #10886 --- public/css/icinga/base.less | 10 ++++++++++ public/css/icinga/tabs.less | 12 ------------ 2 files changed, 10 insertions(+), 12 deletions(-) diff --git a/public/css/icinga/base.less b/public/css/icinga/base.less index bdf1cf6cf..1a886f300 100644 --- a/public/css/icinga/base.less +++ b/public/css/icinga/base.less @@ -151,3 +151,13 @@ td, th { -o-transition: none !important; transition: none !important; } + +// Styles for when containers are loading. JS will remove this once the containers are ready +.impact { + .active > a, // Remove > a once .tabs layout has been fixed + .controls, + .content { + .transition(background-color 2s 1s linear !important); + background-color: @gray-lighter !important; + } +} diff --git a/public/css/icinga/tabs.less b/public/css/icinga/tabs.less index 8c940e9bc..1699e6af0 100644 --- a/public/css/icinga/tabs.less +++ b/public/css/icinga/tabs.less @@ -13,10 +13,6 @@ ul.tabs { overflow: hidden; } -.impact ul.tabs { - border-bottom-color: white; -} - ul.tabs li { display: inline-block; } @@ -55,14 +51,6 @@ ul.tabs li.active a, ul.tabs li.dropdown:hover a, ul.tabs li.dropdown.hover a { color: black; } -.impact ul.tabs li.active a, .impact ul.tabs li.dropdown:hover, .impact ul.tabs li.dropdown.hover a { - background-color: #ddd; - transition: background-color 2s 1s linear; - -moz-transition: background-color 2s 1s linear; - -o-transition: background-color 2s 1s linear; - -webkit-transition: background-color 2s 1s linear; -} - ul.tabs li a:hover { text-decoration: underline; }