[icinga-checkins] icinga.org: icingaweb2-module-director/master: css: adjust styles, fix nesting

git at icinga.org git at icinga.org
Tue Oct 25 04:39:57 CEST 2016


Module: icingaweb2-module-director
Branch: master
Commit: 775673600674589ea4fc332678a2ab1619f9a21d
URL:    https://git.icinga.org/?p=icingaweb2-module-director.git;a=commit;h=775673600674589ea4fc332678a2ab1619f9a21d

Author: Thomas Gelf <thomas at gelf.net>
Date:   Fri Oct 21 06:14:45 2016 +0000

css: adjust styles, fix nesting

---

 public/css/module.less |   29 +++++++++++++++++++++++++----
 1 file changed, 25 insertions(+), 4 deletions(-)

diff --git a/public/css/module.less b/public/css/module.less
index e675943..f1bacf2 100644
--- a/public/css/module.less
+++ b/public/css/module.less
@@ -647,6 +647,23 @@ ul.assign-rule {
     input.assign-expression {
         width: 12em;
     }
+
+    ul {
+        list-style-type: none;
+        padding-left: 2em;
+
+        li::before {
+            // icon: down-dir
+            font-family: 'ifont';
+            content: '\e81d';
+            // icon: right-small
+            content: '\e877';
+            margin-left: -1em;
+            padding-top: 0em;
+            float: left;
+            color: inherit;
+        }
+    }
 }
 
 form fieldset {
@@ -1109,13 +1126,18 @@ table.config-diff {
 
 ul.filter-root {
     margin-top: 0;
-
+    width: 100%;
     padding-left: 1.5em;
     list-style-type: none;
 
     ul {
         padding-left: 1.5em;
         list-style-type: none;
+        width: 100%;
+    }
+
+    li {
+        width: 100%;
     }
 
     li::before {
@@ -1124,9 +1146,8 @@ ul.filter-root {
         // icon-right-small:
         content: '\e877';
         float: left;
-        font-size: 0.75em;
         margin-left: -1.5em;
-        margin-top: 0.75em;
+        margin-top: 0.5em;
     }
 
     ul.extensible-set {
@@ -1177,7 +1198,7 @@ ul.assign-rule {
     vertical-align: top;
   }
 
-  div.filter-expression, ul.filter-expression, div.filter-chain {
+  div.filter-expression {
     display: inline-block;
   }
 }



More information about the icinga-checkins mailing list