pandorafms/pandora_console/include/styles/tree.css

256 lines
4.6 KiB
CSS
Raw Normal View History

2015-01-19 13:31:28 +01:00
.tree-root {
2023-01-19 00:31:11 +01:00
border: 1px solid red;
margin-top: 0px;
margin-bottom: 0px;
2015-01-19 13:31:28 +01:00
}
2023-01-19 00:31:11 +01:00
.tree-node img {
padding: 10px;
}
.tree-node .node-icon {
background-position: 10px;
background-repeat: no-repeat;
width: 40px;
height: 38px;
display: inline-block;
box-sizing: border-box;
border-right: 1px solid #aeaeae;
}
.tree-node .node-name {
position: relative;
top: -15px;
}
2015-01-19 13:31:28 +01:00
.tree-group {
2020-05-05 18:58:45 +02:00
margin-left: 24px;
padding-top: 1px;
2015-01-19 13:31:28 +01:00
}
.tree-node {
white-space: nowrap;
2015-01-19 13:31:28 +01:00
background-image: url(../../images/tree/branch.png);
background-position: 0px 0px;
background-repeat: repeat-y;
2015-01-19 13:31:28 +01:00
min-height: 26px;
2015-01-19 13:31:28 +01:00
}
2020-05-05 18:58:45 +02:00
div.tree-node {
background: 0 0;
}
div.tree-node span {
font-size: 1.2em;
}
2015-01-19 13:31:28 +01:00
.tree-node:last-child {
background: 0 0;
2015-01-19 13:31:28 +01:00
}
.node-content {
2023-01-19 00:31:11 +01:00
border: 1px solid #aeaeae;
border-radius: 8px;
width: calc(100% - 17px);
box-sizing: border-box;
height: 40px;
/*height: 26px;*/
2019-06-03 19:13:29 +02:00
font-size: 1.2em;
2020-05-05 18:58:45 +02:00
display: flex;
flex-direction: row;
flex-wrap: wrap;
align-items: center;
2015-01-29 20:58:33 +01:00
}
.node-content > img {
position: relative;
top: -2px;
2015-01-19 13:31:28 +01:00
}
.node-content:hover {
2023-01-19 00:31:11 +01:00
background-color: #f5f5f5;
}
2015-01-19 13:31:28 +01:00
2023-01-19 00:31:11 +01:00
.node-content:active {
background-color: #dddddd;
2015-01-19 13:31:28 +01:00
}
.leaf-icon {
width: 18px;
2023-01-19 00:31:11 +01:00
/*height: 20px;*/
height: 35px;
2015-01-19 13:31:28 +01:00
}
.node-content,
.leaf-icon {
display: inline-block;
2015-01-19 13:31:28 +01:00
}
.node-content > img,
.node-content > div {
display: inline;
2015-01-19 13:31:28 +01:00
}
.tree-node.leaf-open > .leaf-icon {
background-image: url(../../images/tree/last_expanded.png);
cursor: pointer;
2015-01-19 13:31:28 +01:00
}
.tree-node.tree-first.leaf-open > .leaf-icon {
background-image: url(../../images/tree/first_expanded.png);
cursor: pointer;
2015-01-19 13:31:28 +01:00
}
.tree-node.leaf-closed > .leaf-icon {
background-image: url(../../images/tree/last_closed.png);
cursor: pointer;
2015-01-19 13:31:28 +01:00
}
.tree-node.tree-first.leaf-closed > .leaf-icon {
background-image: url(../../images/tree/first_closed.png);
cursor: pointer;
2015-01-19 13:31:28 +01:00
}
.tree-node.leaf-loading > .leaf-icon {
background-image: url(../../images/tree/last_expanded.png);
2015-01-19 13:31:28 +01:00
}
.tree-node.leaf-empty > .leaf-icon {
background-image: url(../../images/tree/last_leaf.png);
2015-01-19 13:31:28 +01:00
}
.tree-node.tree-first.leaf-empty > .leaf-icon {
background-image: url(../../images/tree/first_leaf.png);
2015-01-19 13:31:28 +01:00
}
.tree-node.leaf-error > .leaf-icon {
background-image: url(../../images/tree/last_leaf.png);
2015-01-19 13:31:28 +01:00
}
.tree-node > .leaf-icon {
background-position: 0px 0px;
background-repeat: no-repeat;
2023-01-19 00:31:11 +01:00
width: 17px;
2015-01-19 13:31:28 +01:00
}
.tree-node > .node-content > img {
max-height: 20px;
/*max-width: 20px;*/
2015-01-19 13:31:28 +01:00
}
.tree-node > .node-content > img.module-data,
.tree-node > .node-content > img.module-graph {
cursor: pointer;
2023-01-19 00:31:11 +01:00
/*padding-right: 3px;*/
2015-01-19 13:31:28 +01:00
}
2020-05-06 17:35:05 +02:00
.tree-node > .node-content > .agent-status.status_balls,
.tree-node > .node-content > .status_small_balls {
2023-01-19 00:31:11 +01:00
width: 1.5em;
2020-05-06 17:35:05 +02:00
border-radius: 0;
2023-01-19 00:31:11 +01:00
border-top-left-radius: 6px;
border-bottom-left-radius: 6px;
height: 39px;
position: relative;
top: -2px;
2020-05-06 17:35:05 +02:00
}
.tree-node > .node-content > .module-status.status_small_balls {
2023-01-19 00:31:11 +01:00
top: -8px;
2020-05-06 17:35:05 +02:00
}
.tree-node > .node-content > .module-name {
2020-05-07 09:36:14 +02:00
margin: 0 0 0 1em;
2023-01-19 00:31:11 +01:00
/*width: 250px;*/
width: 60%;
2020-05-06 17:35:05 +02:00
display: inline-block;
2023-01-19 00:31:11 +01:00
font-weight: bold;
2020-05-06 17:35:05 +02:00
}
.tree-node > .node-content > .module-value {
2023-01-19 00:31:11 +01:00
/*width: 120px;*/
width: 130px;
2020-05-06 17:35:05 +02:00
display: inline-block;
text-align: right;
2023-01-19 00:31:11 +01:00
margin: 8px 1em;
float: right;
2020-05-06 17:35:05 +02:00
}
.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.agent-quiet,
.tree-node > .node-content > img.module-status,
.tree-node > .node-content > img.module-alerts {
padding-right: 3px;
2015-01-19 13:31:28 +01:00
}
.tree-node > .node-content > .tree-node-counters,
.tree-node > .node-content > .tree-node-counters > .tree-node-counter {
display: inline;
2015-01-19 13:31:28 +01:00
}
.tree-node > .node-content > .tree-node-counters {
2020-05-06 17:35:05 +02:00
font-size: 1.2em;
2023-01-19 00:31:11 +01:00
float: right;
position: relative;
top: 8px;
right: 10px;
2015-01-19 13:31:28 +01:00
}
.tree-node > .node-content > img {
vertical-align: middle;
2015-01-19 13:31:28 +01:00
}
.tree-node > .node-content > .tree-node-counters > .tree-node-counter {
font-weight: bold;
2020-05-06 17:35:05 +02:00
font-size: 0.9em;
cursor: default;
2015-01-29 20:58:33 +01:00
}
div#tree-controller-recipient {
text-align: left;
2023-01-19 00:31:11 +01:00
width: 65%;
/* width: 98%; */
margin-top: 10px;
2015-01-29 20:58:33 +01:00
}
2021-08-13 14:12:21 +02:00
.tree-controller-recipient {
text-align: left;
2023-01-19 00:31:11 +01:00
width: 65%;
/* width: 98%; */
2021-08-13 14:12:21 +02:00
margin-top: 10px;
}
.tree-node > .node-content > div + div:not(.tree-node-counters) {
margin-left: 3px;
}
.tree-node .disabled {
filter: opacity(0.3);
}
2021-09-28 13:44:12 +02:00
.ipam-network {
font-size: 9pt;
}
2023-01-19 00:31:11 +01:00
.tree-group .node-content {
position: relative;
top: -10px;
}
.tree-group .node-content.module {
top: -12px;
}
.node-content .module-button {
margin-top: 5px;
padding: 6px;
}
.node-content .module-button:hover {
width: 20px;
background-color: #fff;
border-radius: 8px;
}