[icinga-checkins] icinga.org: icingaweb2-module-director/master: css: format links with state

git at icinga.org git at icinga.org
Sun Feb 28 01:15:36 CET 2016


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

Author: Thomas Gelf <thomas at gelf.net>
Date:   Sun Feb 28 01:14:11 2016 +0100

css: format links with state

---

 public/css/module.less |   26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/public/css/module.less b/public/css/module.less
index 079b503..6ff5a63 100644
--- a/public/css/module.less
+++ b/public/css/module.less
@@ -144,6 +144,32 @@ select option[value=""] {
     color: #aaa;
 }
 
+a {
+    &.state-critical {
+        color: @color-critical;
+    }
+
+    &.state-warning {
+        color: @color-warning;
+    }
+
+    &.state-ok {
+        color: @color-ok;
+    }
+
+    &.state-unknown {
+        color: @color-unknown;
+    }
+
+    &.state-pending {
+        color: @color-pending;
+    }
+}
+
+a:hover::before {
+  text-decoration: none;
+}
+
 ul.main-actions {
   margin: 0;
   padding: 0;



More information about the icinga-checkins mailing list