icingadb-web/public/css/widget/object-grid.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

38 lines
705 B
Text

// SPDX-FileCopyrightText: 2021 Icinga GmbH <https://icinga.com>
// SPDX-License-Identifier: GPL-3.0-or-later
// HostGroup- and -ServiceGroupGrid styles
ul.object-grid {
display: grid;
grid-template-columns: repeat(auto-fit, 15em);
grid-gap: 1em 2em;
margin: 0;
padding: 0;
li.item-layout.object-grid-cell {
padding: .25em;
.rounded-corners();
.caption {
height: 1.5em; // Single line
.text-ellipsis();
.line-clamp("reset");
}
.title, .caption {
a {
display: inline-block;
max-width: 10em;
text-align: center;
}
}
.state-badge {
width: 2.5em;
height: 2.5em;
line-height: 2;
}
}
}