From 91ff5fe3bfbd9e81cc7f862e2620e6bbeebf9fb0 Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Wed, 4 Mar 2015 16:55:16 +0100 Subject: [PATCH] module.less: consolidate styles --- public/css/module.less | 29 +++++++++++------------------ 1 file changed, 11 insertions(+), 18 deletions(-) diff --git a/public/css/module.less b/public/css/module.less index 2b2cac8..5e8ff11 100644 --- a/public/css/module.less +++ b/public/css/module.less @@ -144,34 +144,27 @@ table.bp .icon { margin-right: 0.4em; } +table.bp.node.subtree, table.bp.node.service, table.bp.node.host { + td:before { + font-family: ifont; + z-index: 10; + font-size: 1.25em; + position: absolute; + margin-left: 1.25em; + margin-top: 0.25em; + } +} + table.bp.node.subtree td:before { - font-family: ifont; - z-index: 10; - font-size: 1.25em; content: '\e80e'; - position: absolute; - margin-left: 1.25em; - margin-top: 0.25em; } table.bp.node.service td:before { - font-family: ifont; - z-index: 10; - font-size: 1.25em; content: '\e840'; - position: absolute; - margin-left: 1.25em; - margin-top: 0.25em; } table.bp.node.host td:before { - font-family: ifont; - z-index: 10; - font-size: 1.25em; content: '\e866'; - position: absolute; - margin-left: 1.25em; - margin-top: 0.25em; } /* Border defaults */