Added new style rules to the new tree view

This commit is contained in:
Alejandro Gallardo Escobar 2014-12-16 18:31:18 +01:00
parent 48991738ca
commit cb3283a402
1 changed files with 47 additions and 0 deletions

View File

@ -2833,4 +2833,51 @@ table#policy_modules td * {
.left_align {
text-align: left;
}
/* Tree view styles */
.tree-group {
margin-left: 16px;
}
.tree-node {
white-space: nowrap;
background-image: url(../../images/tree/branch.png);
background-position: 0px 0px;
background-repeat: repeat-y;
}
.tree-last {
background: 0 0;
}
.leaf-icon {
width: 20px;
height: 20px;
}
.node-content, .leaf-icon {
display: inline-block;
}
.tree-node.leaf-open>.leaf-icon {
background-image: url(../../images/tree/last_expanded.png);
}
.tree-node.leaf-closed>.leaf-icon {
background-image: url(../../images/tree/last_closed.png);
}
.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>.leaf-icon {
background-position: 0px 0px;
background-repeat: no-repeat;
}