pandorafms/pandora_console/include/styles/tree.css

410 lines
8.0 KiB
CSS
Raw Normal View History

2015-01-19 13:31:28 +01:00
.tree-root {
margin-top: 0px;
2023-03-10 11:09:36 +01:00
margin-bottom: 40px;
2015-01-19 13:31:28 +01:00
}
2023-01-19 23:26:26 +01:00
.tree-node.tree-node-header {
display: flex;
flex-direction: row;
flex-wrap: wrap;
align-items: center;
margin-bottom: 8px;
}
.tree-node .module-action-buttons img {
2023-02-23 14:30:31 +01:00
width: 16px;
2023-01-19 23:26:26 +01:00
float: right;
}
2023-01-26 13:25:24 +01:00
.tree-node .node-content.node-service {
display: flex;
flex-wrap: nowrap;
align-items: center;
justify-content: flex-start;
}
2023-01-19 00:31:11 +01:00
.tree-node img {
padding: 10px;
}
.tree-node .node-icon {
width: 40px;
display: inline-block;
box-sizing: border-box;
2023-01-30 13:39:27 +01:00
border-right: 1px solid #eaeaea;
2023-01-19 00:31:11 +01:00
}
2023-01-26 13:25:24 +01:00
.tree-node .node-icon .node-icon-container {
display: flex;
align-items: center;
justify-content: center;
2023-02-23 14:30:31 +01:00
height: 32px;
2023-01-26 13:25:24 +01:00
}
.tree-node .node-icon .node-icon-container img {
padding: 0;
2023-02-23 14:30:31 +01:00
width: 16px;
2023-01-26 13:25:24 +01:00
}
.tree-node .node-status {
box-sizing: border-box;
position: absolute;
2023-02-23 14:30:31 +01:00
border-radius: 8px;
2023-02-24 10:19:56 +01:00
width: 18px;
2023-03-06 13:32:21 +01:00
height: 20px;
top: 5px;
2023-02-24 10:19:56 +01:00
margin: 0;
padding: 0;
2023-03-06 13:32:21 +01:00
left: 6px;
2023-01-26 13:25:24 +01:00
}
2023-01-19 00:31:11 +01:00
.tree-node .node-name {
position: relative;
top: -15px;
}
2015-01-19 13:31:28 +01:00
.tree-group {
2023-02-23 14:30:31 +01:00
margin-left: 40px;
2023-01-30 13:39:27 +01:00
/*padding-top: 1px;*/
2015-01-19 13:31:28 +01:00
}
.tree-node {
white-space: nowrap;
2023-02-23 14:30:31 +01:00
background-image: url(../../images/tree/straight@tree.svg);
background-position: -1px -1px;
background-repeat: repeat-y;
2023-02-23 14:30:31 +01:00
background-size: 33px;
min-height: 26px;
2023-01-30 13:39:27 +01:00
margin-top: 1px;
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-30 13:39:27 +01:00
border: 1px solid #eaeaea;
background-color: #fff;
border-radius: 4px;
2023-01-26 13:25:24 +01:00
width: calc(100% - 50px);
2023-01-19 00:31:11 +01:00
box-sizing: border-box;
2023-02-23 14:30:31 +01:00
height: 32px;
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;
2023-01-26 13:25:24 +01:00
/*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 {
2023-02-23 14:30:31 +01:00
width: 32px;
2023-01-26 13:25:24 +01:00
height: 32px;
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 {
2023-02-23 14:30:31 +01:00
/*background-image: url(../../images/minus.svg);*/
background-image: url(../../images/tree/corner@tree.svg);
background-repeat: no-repeat;
background-size: 30px 30px;
2015-01-19 13:31:28 +01:00
}
.tree-node.leaf-closed > .leaf-icon {
2023-01-26 13:25:24 +01:00
background-image: url(../../images/plus.svg);
}
.tree-node.leaf-open > .leaf-icon,
.tree-node.tree-first.leaf-open > .leaf-icon,
.tree-node.leaf-closed > .leaf-icon,
.tree-node.tree-first.leaf-closed > .leaf-icon,
.tree-node.leaf-loading > .leaf-icon,
.tree-node.leaf-empty > .leaf-icon,
.tree-node.tree-first.leaf-empty > .leaf-icon,
.tree-node.leaf-error > .leaf-icon {
2023-01-26 13:25:24 +01:00
cursor: pointer;
2015-01-19 13:31:28 +01:00
}
2023-02-23 14:30:31 +01:00
.tree-node.leaf-closed > .leaf-icon {
background-image: url(../../images/tree/corner_straight_plus@tree.svg);
}
.tree-node.leaf-closed:last-of-type > .leaf-icon {
background-image: url(../../images/tree/corner_plus@tree.svg);
}
.tree-node.leaf-open > .leaf-icon {
background-image: url(../../images/tree/corner_straight_minus@tree.svg);
}
.tree-node.leaf-open:last-of-type > .leaf-icon {
background-image: url(../../images/tree/corner_minus@tree.svg);
}
.tree-node > .leaf-icon {
2023-02-23 14:30:31 +01:00
background-position: 0px 0px;
background-repeat: no-repeat;
2023-01-26 13:25:24 +01:00
float: left;
2023-02-23 14:30:31 +01:00
/* margin-right: 10px; */
background-image: url(../../images/tree/corner_straight@tree.svg);
background-repeat: no-repeat;
background-size: 30px 30px;
}
.tree-node:last-of-type > .leaf-icon {
background-image: url(../../images/tree/corner@tree.svg);
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;
2023-02-23 14:30:31 +01:00
/*border-radius: 0;
2023-01-19 00:31:11 +01:00
border-top-left-radius: 6px;
border-bottom-left-radius: 6px;
2023-01-19 23:26:26 +01:00
height: 38px;
2023-01-19 00:31:11 +01:00
position: relative;
2023-02-23 14:30:31 +01:00
*/
2023-01-26 13:25:24 +01:00
}
.tree-node > .node-content > .agent-status.status_balls {
2023-01-19 23:26:26 +01:00
top: -1px;
2020-05-06 17:35:05 +02:00
}
2023-01-26 13:25:24 +01:00
2020-05-06 17:35:05 +02:00
.tree-node > .node-content > .module-status.status_small_balls {
2023-01-26 13:25:24 +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;*/
2023-01-19 23:26:26 +01:00
width: 55%;
2023-01-26 13:25:24 +01:00
/*display: inline-block;*/
flex: 1 1 80%;
2023-01-19 23:26:26 +01:00
position: relative;
2023-01-19 00:31:11 +01:00
font-weight: bold;
2023-02-23 14:30:31 +01:00
font-size: 12px;
2020-05-06 17:35:05 +02:00
}
2023-02-23 14:30:31 +01:00
.tree-node > .node-content.module-only-caption > .module-name,
2023-01-26 13:25:24 +01:00
.tree-node > .node-content > .module-name-parent.module-only-caption {
2023-02-23 14:30:31 +01:00
top: 5px;
2023-01-26 13:25:24 +01:00
}
2023-01-30 13:39:27 +01:00
.node-service > .node-service-name {
flex: 1 1 50%;
font-size: 11pt;
font-weight: bold;
}
2023-01-26 13:25:24 +01:00
2023-01-30 13:39:27 +01:00
.node-content.module:not(.module-only-caption) .module-name {
margin-left: 2.5em;
2023-01-30 13:39:27 +01:00
font-weight: normal;
}
2023-03-06 13:32:21 +01:00
.tree-node > .node-content > .status_balls,
.tree-node > .node-content > .status_small_balls {
width: 6px;
border-radius: 4px;
}
2023-01-19 23:26:26 +01:00
.tree-node > .node-content > .module-name-alias {
2023-02-23 14:30:31 +01:00
font-size: 14px;
2023-01-19 23:26:26 +01:00
font-weight: normal;
2023-02-23 14:30:31 +01:00
top: 4px;
2023-03-06 13:32:21 +01:00
margin-left: 1.1em;
2023-01-19 23:26:26 +01:00
}
2023-01-30 13:39:27 +01:00
.tree-node > .node-content.module-only-caption > .module-name-alias {
margin-left: 1em;
}
2023-01-19 23:26:26 +01:00
.tree-node > .node-content > .module-name-parent {
2023-02-23 14:30:31 +01:00
font-size: 14px;
2023-01-19 23:26:26 +01:00
margin-left: 0.5em;
2023-01-26 13:25:24 +01:00
top: -4px;
2023-01-19 23:26:26 +01:00
}
2020-05-06 17:35:05 +02:00
.tree-node > .node-content > .module-value {
2023-01-19 00:31:11 +01:00
/*width: 120px;*/
2023-01-19 23:26:26 +01:00
/*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;
2023-01-19 23:26:26 +01:00
/*float: right;*/
}
.tree-node > .node-content > .module-action-buttons {
2023-01-19 00:31:11 +01:00
float: right;
2023-02-23 16:24:20 +01:00
min-width: 120px;
2023-01-19 23:26:26 +01:00
position: relative;
/* top: 5px; */
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 {
2023-02-23 14:30:31 +01:00
font-size: 14px;
2023-01-19 00:31:11 +01:00
float: right;
position: relative;
2023-02-23 14:30:31 +01:00
top: 5px;
2023-01-19 00:31:11 +01:00
right: 10px;
2015-01-19 13:31:28 +01:00
}
2023-01-26 13:25:24 +01:00
.tree-node > .node-content > .tree-node-counters.tree-node-service-counters {
top: 0;
}
.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;
2023-03-06 13:32:21 +01:00
font-size: 1em;
cursor: default;
2015-01-29 20:58:33 +01:00
}
div#tree-controller-recipient {
text-align: left;
2023-02-23 14:30:31 +01:00
width: calc((100% - 30%) - 20px);
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) {
2023-01-19 23:26:26 +01:00
/*margin-left: 3px;*/
}
2023-03-06 13:32:21 +01:00
.tree-node .node-service div.node-service-status {
width: 6px;
height: 20px;
margin-left: 10px;
border-radius: 5px;
}
.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;
2023-01-26 13:25:24 +01:00
/*top: -10px;*/
2023-01-19 00:31:11 +01:00
}
.tree-group .node-content.module {
2023-01-26 13:25:24 +01:00
/*top: -12px;*/
/* top: -35px; */
display: flex;
flex-wrap: nowrap;
flex-direction: row;
align-items: center;
width: calc(100% - 50px);
2023-01-30 13:39:27 +01:00
margin: 1px 0 0 8px;
2023-01-19 00:31:11 +01:00
}
.node-content .module-button {
padding: 6px;
2023-02-23 16:24:20 +01:00
margin-top: 2px;
2023-01-19 00:31:11 +01:00
}
2023-02-23 16:24:20 +01:00
.node-content .module-button.module-alerts {
margin: 6px;
width: 16px;
padding: 0;
float: right;
}
2023-01-19 00:31:11 +01:00
.node-content .module-button:hover {
2023-02-23 14:30:31 +01:00
/* width: 20px; */
2023-01-19 00:31:11 +01:00
background-color: #fff;
border-radius: 8px;
}
2023-01-26 13:25:24 +01:00
.tree-group .node-content.module:last-child {
margin-bottom: 15px;
}
.tree-node.leaf-open:last-child,
.tree-node.leaf-closed:last-child,
.tree-node.leaf-empty:last-child {
2023-02-23 14:30:31 +01:00
margin-bottom: 1px;
2023-01-26 13:25:24 +01:00
}
.tree-root > .tree-node {
margin-top: 0;
2023-01-30 13:39:27 +01:00
margin-bottom: 2px;
2023-01-26 13:25:24 +01:00
}
2023-02-24 10:19:56 +01:00
.tree-node > .node-content > .agent-alerts-fired {
float: left;
position: relative;
2023-03-10 11:09:36 +01:00
left: 13px;
2023-02-24 10:19:56 +01:00
top: -5px;
}
2023-03-10 11:09:36 +01:00
.tree-node > .node-content > div.tree-service-status {
width: 7px;
height: 20px;
margin-left: 0;
border-radius: 5px;
}
.tree-node > .node-content.node-service > div.tree-service-status {
width: 7px;
height: 20px;
margin-left: 5px;
border-radius: 5px;
}
2023-03-10 12:47:44 +01:00
.tree-node .node-icon.node-status {
border: 0;
}