From e7ea68b94fda02e6a51ded6d615c7821d37fc173 Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Thu, 24 Mar 2016 11:43:42 +0100 Subject: [PATCH] css: style assign form and service table --- public/css/module.less | 61 ++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 59 insertions(+), 2 deletions(-) diff --git a/public/css/module.less b/public/css/module.less index 141e64ab..f3ca84bb 100644 --- a/public/css/module.less +++ b/public/css/module.less @@ -516,12 +516,11 @@ fieldset { } &.collapsed { - legend { margin: 0; } - dd, dt { + dd, dt, ul { display: none; } @@ -554,6 +553,31 @@ form dt label { } } +ul.assign-rule { + margin: 0; + padding: 0; + list-style-type: none; + select, input[type=text] { + min-width: auto; + } + + select.assign-type { + width: 8em; + } + + select.assign-operator { + width: 3em; + } + + select.assign-property { + width: 12em; + } + + input.assign-expression { + width: 12em; + } +} + form fieldset { min-width: 36em; } @@ -757,6 +781,39 @@ table.icinga-objects { } +table.assignment-table { + ul.apply-rules { + margin: 1em 0 1em 0; + padding: 0; + border: 1px solid @gray-lighter; + + li { + display: block; + + a { + display: block; + float: none; + background-color: white; + padding: 0.3em 1.5em; + &:hover { + background-color: @icinga-blue; + color: white; + text-decoration: none; + } + } + } + } + a { + color: @icinga-blue; + float: right; + + &:first-child { + float: none; + color: inherit; + } + } +} + div.content.compact table.icinga-objects thead { display: none; }