From 955ab298f73d056c656e65cabca5a8ea053b0059 Mon Sep 17 00:00:00 2001 From: Florian Strohmaier Date: Wed, 3 Jul 2019 17:46:42 +0200 Subject: [PATCH] CSS: Flex layout to container contents --- modules/monitoring/public/css/module.less | 3 +-- public/css/icinga/layout.less | 19 ------------------- 2 files changed, 1 insertion(+), 21 deletions(-) diff --git a/modules/monitoring/public/css/module.less b/modules/monitoring/public/css/module.less index be4fd86a4..0a8adb8ad 100644 --- a/modules/monitoring/public/css/module.less +++ b/modules/monitoring/public/css/module.less @@ -1,11 +1,10 @@ /*! Icinga Web 2 | (c) 2014 Icinga Development Team | GPLv2+ */ .monitoring-statusbar { + position: relative; background-color: @body-bg-color; border-top: 1px solid @gray-lighter; - bottom: 0; padding: .25em @gutter; - position: fixed; line-height: 1; &:before { diff --git a/public/css/icinga/layout.less b/public/css/icinga/layout.less index 12e3225f1..49adaa9fa 100644 --- a/public/css/icinga/layout.less +++ b/public/css/icinga/layout.less @@ -159,19 +159,9 @@ } .controls { - // Override default transparent background because scrolled content is positioned beneath controls and could be seen - // through otherwise - background-color: @body-bg-color; - > .tabs { - height: 2.6em; - margin-top: -2.6em; overflow: hidden; } - - > .tabs-spacer { - margin-bottom: 1em; - } } // Display tabs if JS is disabled @@ -242,15 +232,6 @@ html.no-js .controls > .tabs { } } -// Z-Index correction -#main { - z-index: 1; -} - -#sidebar { - z-index: 2; -} - // Collapsed sidebar #layout:not(.minimal-layout).sidebar-collapsed { #header-logo-container {