icingadb-web/public/css/widget/custom-var-table.less
Eric Lippmann 272e791390 License source files as GPL-3.0-or-later
Add SPDX license headers and mark source files as GPL-3.0-or-later to
preserve the option to relicense under later GPL versions.
2026-03-11 14:03:05 +01:00

62 lines
892 B
Text

// SPDX-FileCopyrightText: 2020 Icinga GmbH <https://icinga.com>
// SPDX-License-Identifier: GPL-3.0-or-later
.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;
}
}
}
&[data-can-collapse] thead th > span {
: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;
}
}
}