From ea0c93c21baac3c7b8672abe42a48ae03684ed34 Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Tue, 16 Jun 2015 01:57:34 +0200 Subject: [PATCH] main-content.less: move even more CSS to monitoring --- modules/monitoring/public/css/module.less | 37 ++++++++++++++++++++ public/css/icinga/main-content.less | 41 ----------------------- 2 files changed, 37 insertions(+), 41 deletions(-) diff --git a/modules/monitoring/public/css/module.less b/modules/monitoring/public/css/module.less index c3a552426..9d740b408 100644 --- a/modules/monitoring/public/css/module.less +++ b/modules/monitoring/public/css/module.less @@ -1214,3 +1214,40 @@ table.statesummary { table.action .objectflags { float: right; } + +table.objectstate { + border-collapse: separate; + border-spacing: 1px; +} + +table.objectstate td { + padding-left: 1em; +} + +table.objectstate tr.state td.state { + width: 9em; + text-align: center; + padding-left: 0; + border-radius: 0; +} + +table.perfdata { + min-width: 24em; + font-size: 0.9em; +} + +table.perfdata.perfdata-piecharts { + left: -2.6em; + position: relative; +} + +table.perfdata th { + padding: 0; + text-align: left; + padding-right: 0.5em; +} + +table.perfdata td { + white-space: nowrap; + padding-right: 0.5em; +} diff --git a/public/css/icinga/main-content.less b/public/css/icinga/main-content.less index c7febf671..89dcd2572 100644 --- a/public/css/icinga/main-content.less +++ b/public/css/icinga/main-content.less @@ -115,47 +115,6 @@ table.avp a:hover { text-decoration: underline; } -/* Definitively monitoring-only: */ -table.objectstate { - border-collapse: separate; - border-spacing: 1px; -} - -table.objectstate td { - padding-left: 1em; -} - -table.objectstate tr.state td.state { - width: 9em; - text-align: center; - padding-left: 0; - border-radius: 0; -} - -table.objectstate tr.state.handled td.state { -} - -table.perfdata { - min-width: 24em; - font-size: 0.9em; -} - -table.perfdata.perfdata-piecharts { - left: -2.6em; - position: relative; -} - -table.perfdata th { - padding: 0; - text-align: left; - padding-right: 0.5em; -} - -table.perfdata td { - white-space: nowrap; - padding-right: 0.5em; -} - table.benchmark { margin: 1em 1% 1em 1%; font-family: monospace;