From 20022564e9bd7137997b7be959371bd64d23744b Mon Sep 17 00:00:00 2001 From: Alejandro Gallardo Escobar Date: Mon, 19 Jan 2015 13:32:11 +0100 Subject: [PATCH] Now the tree styles are imported from another file --- pandora_console/include/styles/pandora.css | 130 +-------------------- 1 file changed, 3 insertions(+), 127 deletions(-) diff --git a/pandora_console/include/styles/pandora.css b/pandora_console/include/styles/pandora.css index ea715e7df1..f63532cfd3 100755 --- a/pandora_console/include/styles/pandora.css +++ b/pandora_console/include/styles/pandora.css @@ -21,6 +21,9 @@ Description: The default Pandora FMS theme layout // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ +/* Tree view styles */ +@import url(tree.css); + * { font-family: verdana, sans-serif; letter-spacing: 0.03pt; @@ -2835,133 +2838,6 @@ table#policy_modules td * { text-align: left; } -/* Tree view styles */ -.tree-root { - margin-top: 0px; - margin-bottom: 0px; -} - -.tree-group { - margin-left: 16px; - padding-top: 4px; -} - -.tree-node { - white-space: nowrap; - - background-image: url(../../images/tree/branch.png); - background-position: 0px 0px; - background-repeat: repeat-y; - - min-height: 26px; -} - -.tree-node:last-child { - background: 0 0; -} -.node-content { - height: 21px; -} - -.node-content:hover { - background-color: #9AB8DF; - - -moz-border-radius: 3px; - -webkit-border-radius: 3px; - border-radius: 3px; -} - -.leaf-icon { - width: 18px; - height: 20px; -} - -.node-content, .leaf-icon { - display: inline-block; -} - -.node-content>img, .node-content>div { - display: inline; -} - -.tree-node.leaf-open>.leaf-icon { - background-image: url(../../images/tree/last_expanded.png); - cursor: pointer; -} - -.tree-node.tree-first.leaf-open>.leaf-icon { - background-image: url(../../images/tree/first_expanded.png); - cursor: pointer; -} - -.tree-node.leaf-closed>.leaf-icon { - background-image: url(../../images/tree/last_closed.png); - cursor: pointer; -} - -.tree-node.tree-first.leaf-closed>.leaf-icon { - background-image: url(../../images/tree/first_closed.png); - cursor: pointer; -} - -.tree-node.leaf-loading>.leaf-icon { - background-image: url(../../images/tree/last_expanded.png); -} - -.tree-node.leaf-empty>.leaf-icon { - background-image: url(../../images/tree/last_leaf.png); -} - -.tree-node.tree-first.leaf-empty>.leaf-icon { - background-image: url(../../images/tree/first_leaf.png); -} - -.tree-node.leaf-error>.leaf-icon { - background-image: url(../../images/tree/last_leaf.png); -} - -.tree-node>.leaf-icon { - background-position: 0px 0px; - background-repeat: no-repeat; -} - -.tree-node>.node-content>img { - max-height: 20px; - /*max-width: 20px;*/ -} - -.tree-node>.node-content>img.module-data, -.tree-node>.node-content>img.module-graph { - cursor: pointer; - padding-right: 3px; -} - -.tree-node>.node-content>img.module-server-type, -.tree-node>.node-content>img.agent-status, -.tree-node>.node-content>img.agent-alerts-fired, -.tree-node>.node-content>img.module-status { - padding-right: 3px; -} - -.tree-node>.node-content>.tree-node-counters, -.tree-node>.node-content>.tree-node-counters>.tree-node-counter { - display: inline; -} - -.tree-node>.node-content>.tree-node-counters { - -} - -.tree-node>.node-content>img { - vertical-align: middle; -} - -.tree-node>.node-content>.tree-node-counters>.tree-node-counter { - font-weight: bold; - font-size: 7pt; - cursor: default; -} - /* The items with the class 'spinner' will rotate */ /* Not supported on IE9 and below */