mirror of
https://github.com/Icinga/icingadb-web.git
synced 2026-05-28 04:36:06 -04:00
60 lines
849 B
Text
60 lines
849 B
Text
.custom-var-table {
|
|
.level-1 th {
|
|
padding-left: .5em;
|
|
}
|
|
|
|
.level-2 th {
|
|
padding-left: 1em;
|
|
}
|
|
|
|
.level-3 th {
|
|
padding-left: 1.5em;
|
|
}
|
|
|
|
.level-4 th {
|
|
padding-left: 2em;
|
|
}
|
|
|
|
.level-5 th {
|
|
padding-left: 2.5em;
|
|
}
|
|
|
|
.level-6 th {
|
|
padding-left: 3em;
|
|
}
|
|
|
|
thead th {
|
|
padding-left: 0;
|
|
text-align: left;
|
|
font-weight: bold;
|
|
font-size: 1.167em;
|
|
|
|
> span {
|
|
:nth-child(1),
|
|
:nth-child(2) {
|
|
display: none;
|
|
}
|
|
}
|
|
}
|
|
|
|
&.can-collapse thead th > span, // Icinga Web 2 < 2.12
|
|
&[data-can-collapse] thead th > span { // >= 2.12
|
|
:nth-child(1) {
|
|
display: none;
|
|
}
|
|
|
|
:nth-child(2) {
|
|
display: inline-block;
|
|
}
|
|
}
|
|
|
|
&.collapsed thead th > span {
|
|
:nth-child(1) {
|
|
display: inline-block;
|
|
}
|
|
|
|
:nth-child(2) {
|
|
display: none;
|
|
}
|
|
}
|
|
}
|