- Table search, status, tag and sort live in the address; Save view pins one as a favourite. - Dashboard cards can be moved and hidden per user (users.dashboard_layout, migration 0022). - Compare two to four servers' load, memory or disk on one chart. - j/k move through table rows that open a detail panel. - Share links open a read-only wall without signing in, numbers only or with names (share_links, migration 0023); the wall is split into a shared view over two data sources. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
1448 lines
28 KiB
CSS
1448 lines
28 KiB
CSS
.loading-screen {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-height: 100vh;
|
|
color: var(--tblr-secondary);
|
|
}
|
|
|
|
.login-screen {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-height: 100vh;
|
|
background: var(--tblr-bg-surface-secondary, #f4f6fb);
|
|
}
|
|
|
|
.login-card {
|
|
width: 100%;
|
|
max-width: 22rem;
|
|
padding: 2rem;
|
|
text-align: center;
|
|
background: var(--tblr-bg-surface, #fff);
|
|
border-radius: var(--tblr-border-radius, 4px);
|
|
box-shadow: var(--tblr-box-shadow-card, 0 1px 3px rgba(0, 0, 0, 0.1));
|
|
}
|
|
|
|
.login-card h1 {
|
|
font-size: 1.25rem;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
/* The logo stands in for the heading; an environment badge, when there is one, sits under it. */
|
|
.login-logo {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 0.25rem;
|
|
margin: -0.5rem 0 0.75rem;
|
|
}
|
|
|
|
/* The picture has empty margin around the logo itself; this trims it so the logo fills the card. */
|
|
.logo-frame {
|
|
display: block;
|
|
width: 100%;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.logo-frame img {
|
|
display: block;
|
|
width: 122%;
|
|
max-width: none;
|
|
height: auto;
|
|
margin: -16% -11%;
|
|
}
|
|
|
|
.login-card p {
|
|
color: var(--tblr-secondary);
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
/* The logo in the sidebar, in place of the name. */
|
|
.navbar-brand .logo-frame {
|
|
width: 11rem;
|
|
}
|
|
|
|
.navbar-brand a {
|
|
display: block;
|
|
}
|
|
|
|
/* An installation told to look different (ENVIRONMENT_NAME / ENVIRONMENT_COLOR on the server), so a dev copy can't be taken for production. */
|
|
html[data-env] .navbar-vertical {
|
|
background-color: var(--hlm-env-color) !important;
|
|
}
|
|
|
|
/* The menu text is Tabler's 70%-white, fine on navy but too faint on a coloured sidebar; make it full strength there. */
|
|
html[data-env] .navbar-vertical[data-bs-theme="dark"] {
|
|
color: rgba(255, 255, 255, 0.97);
|
|
}
|
|
|
|
html[data-env] .navbar-vertical[data-bs-theme="dark"] :is(.nav-link, .dropdown-item, .nav-heading) {
|
|
color: rgba(255, 255, 255, 0.95);
|
|
}
|
|
|
|
html[data-env] .navbar-vertical[data-bs-theme="dark"] :is(.nav-link, .dropdown-item):hover,
|
|
html[data-env] .navbar-vertical[data-bs-theme="dark"] :is(.nav-link, .dropdown-item).active {
|
|
color: #fff;
|
|
}
|
|
|
|
html[data-env] .navbar-vertical[data-bs-theme="dark"] .btn-outline-secondary {
|
|
color: rgba(255, 255, 255, 0.95);
|
|
border-color: rgba(255, 255, 255, 0.55);
|
|
}
|
|
|
|
.user-menu-who .opacity-75 {
|
|
opacity: 0.92;
|
|
}
|
|
|
|
.env-badge {
|
|
background-color: #fff;
|
|
color: var(--hlm-env-color, #000);
|
|
font-weight: 700;
|
|
letter-spacing: 0.06em;
|
|
text-transform: uppercase;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.login-card-env {
|
|
border-top: 4px solid var(--hlm-env-color);
|
|
}
|
|
|
|
/* The user menu at the foot of the sidebar: who is signed in, with theme, privacy and sign-out behind one button. */
|
|
.user-menu {
|
|
position: relative;
|
|
}
|
|
|
|
.user-menu-toggle {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.6rem;
|
|
width: 100%;
|
|
padding: 0.4rem 0.5rem;
|
|
color: inherit;
|
|
text-align: left;
|
|
background: color-mix(in srgb, currentColor 7%, transparent);
|
|
border: 1px solid color-mix(in srgb, currentColor 20%, transparent);
|
|
border-radius: var(--tblr-border-radius, 4px);
|
|
}
|
|
|
|
.user-menu-toggle:hover,
|
|
.user-menu-toggle[aria-expanded="true"] {
|
|
background: color-mix(in srgb, currentColor 14%, transparent);
|
|
}
|
|
|
|
.user-menu-who {
|
|
flex: 1;
|
|
min-width: 0;
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.user-menu-chevron-closed {
|
|
transform: rotate(180deg);
|
|
}
|
|
|
|
.user-menu-list {
|
|
margin-bottom: 0.4rem;
|
|
padding: 0.25rem;
|
|
background: color-mix(in srgb, currentColor 9%, transparent);
|
|
border: 1px solid color-mix(in srgb, currentColor 20%, transparent);
|
|
border-radius: var(--tblr-border-radius, 4px);
|
|
}
|
|
|
|
.user-menu-item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.6rem;
|
|
width: 100%;
|
|
padding: 0.4rem 0.5rem;
|
|
color: inherit;
|
|
text-align: left;
|
|
text-decoration: none;
|
|
background: none;
|
|
border: 0;
|
|
border-radius: var(--tblr-border-radius, 4px);
|
|
}
|
|
|
|
.user-menu-item:hover {
|
|
color: inherit;
|
|
background: color-mix(in srgb, currentColor 14%, transparent);
|
|
}
|
|
|
|
/* ── Status badges carry a symbol as well as a colour, so red, amber and green never have to be told apart by colour alone. ── */
|
|
.badge.bg-green-lt:not(:empty)::before,
|
|
.badge.bg-red-lt:not(:empty)::before,
|
|
.badge.bg-yellow-lt:not(:empty)::before {
|
|
display: inline-block;
|
|
margin-right: 0.35em;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.badge.bg-green-lt:not(:empty)::before {
|
|
content: "✓";
|
|
content: "✓" / "";
|
|
}
|
|
|
|
.badge.bg-red-lt:not(:empty)::before {
|
|
content: "✕";
|
|
content: "✕" / "";
|
|
}
|
|
|
|
.badge.bg-yellow-lt:not(:empty)::before {
|
|
content: "▲";
|
|
content: "▲" / "";
|
|
font-size: 0.75em;
|
|
vertical-align: 0.1em;
|
|
}
|
|
|
|
/* ── On a phone, wide tables become a stack of cards: each row a card, each cell labelled with its column (data-label is set by useStackedTables). ── */
|
|
@media (max-width: 767.98px) {
|
|
.card > .table-responsive {
|
|
overflow: visible;
|
|
}
|
|
|
|
.card-table,
|
|
.card-table tbody,
|
|
.card-table tr {
|
|
display: block;
|
|
width: 100%;
|
|
}
|
|
|
|
.card-table thead {
|
|
display: none;
|
|
}
|
|
|
|
.card-table tbody tr {
|
|
padding: 0.5rem 0.9rem;
|
|
border-bottom: 1px solid var(--tblr-border-color);
|
|
}
|
|
|
|
.card-table tbody tr:last-child {
|
|
border-bottom: 0;
|
|
}
|
|
|
|
.card-table tbody td {
|
|
position: relative;
|
|
display: block;
|
|
min-height: 1.5rem;
|
|
padding: 0.25rem 0 0.25rem 40% !important;
|
|
overflow-wrap: anywhere;
|
|
text-align: left;
|
|
border: 0 !important;
|
|
}
|
|
|
|
.card-table tbody td[data-label]::before {
|
|
position: absolute;
|
|
top: 0.3rem;
|
|
left: 0;
|
|
width: 36%;
|
|
padding-right: 0.5rem;
|
|
font-size: 0.72rem;
|
|
font-weight: 600;
|
|
color: var(--tblr-secondary);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.04em;
|
|
content: attr(data-label);
|
|
}
|
|
|
|
/* Cells with no heading (a tick-box, the action buttons, a "nothing here" row) use the whole width. */
|
|
.card-table tbody td:not([data-label]) {
|
|
padding-left: 0 !important;
|
|
}
|
|
}
|
|
|
|
/* ── Trends on a server's page: a label, a small line, the latest figure, and a few words about where it is heading. ── */
|
|
.trend-row {
|
|
display: grid;
|
|
grid-template-columns: 9rem minmax(8rem, 14rem) 3.5rem 1fr;
|
|
align-items: center;
|
|
gap: 0.75rem;
|
|
padding: 0.4rem 0;
|
|
border-bottom: 1px solid var(--tblr-border-color);
|
|
}
|
|
|
|
.trend-row:last-child {
|
|
border-bottom: 0;
|
|
}
|
|
|
|
.trend-now {
|
|
font-weight: 600;
|
|
text-align: right;
|
|
}
|
|
|
|
.sparkline {
|
|
display: block;
|
|
width: 100%;
|
|
height: 4rem;
|
|
color: var(--tblr-secondary);
|
|
}
|
|
|
|
@media (max-width: 767.98px) {
|
|
.trend-row {
|
|
grid-template-columns: 1fr 3.5rem;
|
|
}
|
|
|
|
.trend-row .sparkline,
|
|
.trend-row .trend-words {
|
|
grid-column: 1 / -1;
|
|
}
|
|
}
|
|
|
|
/* ── Skeletons: grey stand-ins for text and figures that are still loading, so the page doesn't jump when they arrive. ── */
|
|
.skeleton {
|
|
display: inline-block;
|
|
vertical-align: middle;
|
|
background-color: color-mix(in srgb, currentColor 12%, transparent);
|
|
background-image: linear-gradient(90deg, transparent 0%, color-mix(in srgb, currentColor 14%, transparent) 50%, transparent 100%);
|
|
background-repeat: no-repeat;
|
|
background-size: 40% 100%;
|
|
border-radius: 0.25rem;
|
|
animation: skeleton-shimmer 1.4s ease-in-out infinite;
|
|
}
|
|
|
|
@keyframes skeleton-shimmer {
|
|
from {
|
|
background-position: -60% 0;
|
|
}
|
|
to {
|
|
background-position: 160% 0;
|
|
}
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.skeleton {
|
|
animation: none;
|
|
}
|
|
}
|
|
|
|
/* ── Accessibility ── */
|
|
/* A link that appears when the keyboard first reaches the page, to jump past the menu. */
|
|
.skip-link {
|
|
position: absolute;
|
|
top: 0.5rem;
|
|
left: 0.5rem;
|
|
z-index: 3000;
|
|
padding: 0.5rem 0.9rem;
|
|
color: #fff;
|
|
font-weight: 600;
|
|
background: #1d4ed8;
|
|
border-radius: 0.3rem;
|
|
transform: translateY(-200%);
|
|
}
|
|
|
|
.skip-link:focus {
|
|
color: #fff;
|
|
transform: none;
|
|
}
|
|
|
|
/* The page's own start takes keyboard focus on navigation; it is not a control, so it needs no ring. */
|
|
main:focus {
|
|
outline: none;
|
|
}
|
|
|
|
/* A clear ring wherever the keyboard is, and only for the keyboard (a mouse click shows none). */
|
|
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
|
|
outline: 2px solid var(--tblr-primary, #2563eb);
|
|
outline-offset: 2px;
|
|
}
|
|
|
|
/* On the coloured sidebar the blue ring would vanish, so use white there. */
|
|
.navbar-vertical :where(a, button, input, select):focus-visible {
|
|
outline-color: #fff;
|
|
}
|
|
|
|
/* A sortable column heading is a button that looks like the heading it sits in. */
|
|
.th-sort {
|
|
padding: 0;
|
|
font: inherit;
|
|
color: inherit;
|
|
letter-spacing: inherit;
|
|
text-align: inherit;
|
|
text-transform: inherit;
|
|
white-space: nowrap;
|
|
cursor: pointer;
|
|
user-select: none;
|
|
background: none;
|
|
border: 0;
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
*,
|
|
*::before,
|
|
*::after {
|
|
scroll-behavior: auto !important;
|
|
transition-duration: 0.01ms !important;
|
|
}
|
|
}
|
|
|
|
/* The keyboard-shortcut list: a key on the left, what it does on the right. */
|
|
.shortcut-list > div {
|
|
display: flex;
|
|
gap: 1rem;
|
|
padding: 0.2rem 0;
|
|
}
|
|
|
|
.shortcut-list dt {
|
|
flex: 0 0 8rem;
|
|
font-weight: 400;
|
|
}
|
|
|
|
.shortcut-list dd {
|
|
margin: 0;
|
|
}
|
|
|
|
/* ── A row that opens a detail panel, and the panel. ── */
|
|
.row-clickable {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.row-clickable:focus-visible {
|
|
outline: 2px solid var(--tblr-primary);
|
|
outline-offset: -2px;
|
|
}
|
|
|
|
.row-clickable:focus-visible > td {
|
|
background-color: color-mix(in srgb, var(--tblr-primary) 10%, transparent);
|
|
}
|
|
|
|
.row-clickable:hover > td {
|
|
background-color: color-mix(in srgb, currentColor 5%, transparent);
|
|
}
|
|
|
|
.detail-backdrop {
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: 1040;
|
|
background: rgba(0, 0, 0, 0.45);
|
|
}
|
|
|
|
.detail-drawer {
|
|
position: fixed;
|
|
top: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
z-index: 1045;
|
|
display: flex;
|
|
flex-direction: column;
|
|
width: min(30rem, 100vw);
|
|
color: var(--tblr-body-color);
|
|
background: var(--tblr-bg-surface, #fff);
|
|
border-left: 1px solid var(--tblr-border-color);
|
|
box-shadow: -8px 0 24px rgba(0, 0, 0, 0.35);
|
|
animation: drawer-in 0.18s ease-out;
|
|
}
|
|
|
|
.detail-drawer-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.75rem;
|
|
padding: 1rem 1.25rem;
|
|
border-bottom: 1px solid var(--tblr-border-color);
|
|
}
|
|
|
|
.detail-drawer-body {
|
|
flex: 1;
|
|
padding: 1rem 1.25rem;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.detail-list > div {
|
|
display: grid;
|
|
grid-template-columns: 9.5rem 1fr;
|
|
gap: 0.75rem;
|
|
padding: 0.4rem 0;
|
|
border-bottom: 1px solid var(--tblr-border-color);
|
|
}
|
|
|
|
.detail-list dt {
|
|
font-weight: 500;
|
|
color: var(--tblr-secondary);
|
|
}
|
|
|
|
.detail-list dd {
|
|
margin: 0;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
|
|
.detail-list-nested > div {
|
|
grid-template-columns: 7rem 1fr;
|
|
border-bottom: 0;
|
|
padding: 0.15rem 0;
|
|
}
|
|
|
|
@keyframes drawer-in {
|
|
from {
|
|
transform: translateX(2rem);
|
|
opacity: 0;
|
|
}
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.detail-drawer {
|
|
animation: none;
|
|
}
|
|
}
|
|
|
|
/* Picking servers to compare: the cards become tick-boxes. */
|
|
.compare-card {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.compare-card-on {
|
|
outline: 2px solid var(--tblr-primary);
|
|
outline-offset: -2px;
|
|
background-color: color-mix(in srgb, var(--tblr-primary) 10%, transparent);
|
|
}
|
|
|
|
/* The filters of a pinned view, after the page's name in the menu. */
|
|
.nav-view {
|
|
opacity: 0.75;
|
|
font-size: 0.85em;
|
|
}
|
|
|
|
/* ── A server's activity: an icon, what happened, and when. ── */
|
|
.activity-list {
|
|
margin: 0;
|
|
padding: 0;
|
|
list-style: none;
|
|
}
|
|
|
|
.activity-list > li {
|
|
display: flex;
|
|
gap: 0.75rem;
|
|
align-items: flex-start;
|
|
padding: 0.5rem 0;
|
|
border-bottom: 1px solid var(--tblr-border-color);
|
|
}
|
|
|
|
.activity-list > li:last-child {
|
|
border-bottom: 0;
|
|
}
|
|
|
|
/* ── Uptime ribbon: one bar per day for the last 30 days. ── */
|
|
.uptime {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
width: 100%;
|
|
max-width: 260px;
|
|
}
|
|
|
|
/* The bars share whatever width there is, so the strip fits a narrow card as well as a table cell. */
|
|
.uptime-ribbon {
|
|
display: flex;
|
|
flex: 1 1 auto;
|
|
min-width: 60px;
|
|
gap: 1px;
|
|
height: 18px;
|
|
align-items: stretch;
|
|
}
|
|
|
|
.uptime-ribbon > i {
|
|
display: block;
|
|
flex: 1 1 0;
|
|
min-width: 1px;
|
|
border-radius: 1px;
|
|
}
|
|
|
|
.table .uptime {
|
|
min-width: 190px;
|
|
}
|
|
|
|
.uptime-up {
|
|
background: var(--tblr-green);
|
|
}
|
|
|
|
.uptime-some {
|
|
background: var(--tblr-yellow);
|
|
}
|
|
|
|
.uptime-down {
|
|
background: var(--tblr-red);
|
|
}
|
|
|
|
.uptime-none {
|
|
background: var(--tblr-border-color);
|
|
}
|
|
|
|
.uptime-percent {
|
|
font-size: 0.8125rem;
|
|
white-space: nowrap;
|
|
color: var(--tblr-secondary);
|
|
}
|
|
|
|
/* ── Maintenance timeline: windows along a time axis, one row per target. ── */
|
|
.timeline-scroll {
|
|
overflow: auto;
|
|
max-height: 420px;
|
|
}
|
|
|
|
.timeline {
|
|
min-width: 640px;
|
|
}
|
|
|
|
.timeline-row {
|
|
display: flex;
|
|
align-items: center;
|
|
min-height: 28px;
|
|
border-bottom: 1px solid var(--tblr-border-color);
|
|
}
|
|
|
|
.timeline-label {
|
|
flex: 0 0 160px;
|
|
padding-right: 0.75rem;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
font-size: 0.8125rem;
|
|
position: sticky;
|
|
left: 0;
|
|
z-index: 2;
|
|
background: var(--tblr-card-bg, var(--tblr-bg-surface));
|
|
}
|
|
|
|
.timeline-track {
|
|
position: relative;
|
|
flex: 1;
|
|
height: 28px;
|
|
}
|
|
|
|
.timeline-axis {
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 3;
|
|
background: var(--tblr-card-bg, var(--tblr-bg-surface));
|
|
}
|
|
|
|
.timeline-axis .timeline-track {
|
|
height: 22px;
|
|
}
|
|
|
|
.timeline-tick {
|
|
position: absolute;
|
|
top: 4px;
|
|
padding-left: 3px;
|
|
font-size: 0.7rem;
|
|
color: var(--tblr-secondary);
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.timeline-grid {
|
|
position: absolute;
|
|
top: 0;
|
|
bottom: 0;
|
|
width: 1px;
|
|
background: var(--tblr-border-color);
|
|
}
|
|
|
|
.timeline-bar,
|
|
.timeline-key {
|
|
border-radius: 3px;
|
|
}
|
|
|
|
.timeline-bar {
|
|
position: absolute;
|
|
top: 6px;
|
|
bottom: 6px;
|
|
min-width: 3px;
|
|
}
|
|
|
|
.timeline-key {
|
|
display: inline-block;
|
|
width: 1.25rem;
|
|
height: 0.7rem;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.timeline-bar-running {
|
|
background-color: var(--tblr-blue);
|
|
}
|
|
|
|
.timeline-bar-scheduled {
|
|
background-color: color-mix(in srgb, var(--tblr-blue) 25%, transparent);
|
|
border: 1px solid var(--tblr-blue);
|
|
}
|
|
|
|
.timeline-bar-union {
|
|
background-color: var(--tblr-orange);
|
|
}
|
|
|
|
/* Windows mirrored from Uptime Kuma's own schedule get diagonal stripes on top of their colour. */
|
|
.timeline-bar-mirrored {
|
|
background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.45) 0 3px, transparent 3px 6px);
|
|
}
|
|
|
|
/* ── The wall display: a full-screen status board, big enough to read across a room. ── */
|
|
.wall {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: clamp(1rem, 2.2vw, 2rem);
|
|
min-height: 100vh;
|
|
padding: clamp(1rem, 3vw, 3rem);
|
|
color: #e6edf7;
|
|
font-size: clamp(1rem, 1.6vw, 1.6rem);
|
|
background: #0b1220;
|
|
}
|
|
|
|
.wall-idle {
|
|
cursor: none;
|
|
}
|
|
|
|
.wall-header {
|
|
display: flex;
|
|
gap: 1rem;
|
|
align-items: center;
|
|
}
|
|
|
|
.wall-logo {
|
|
width: auto;
|
|
height: clamp(3.5rem, 8vw, 7rem);
|
|
object-fit: contain;
|
|
}
|
|
|
|
.wall-clock {
|
|
margin-left: auto;
|
|
text-align: right;
|
|
}
|
|
|
|
.wall-time {
|
|
font-size: clamp(2.5rem, 6vw, 6rem);
|
|
font-weight: 700;
|
|
line-height: 1;
|
|
}
|
|
|
|
.wall-date {
|
|
opacity: 0.7;
|
|
}
|
|
|
|
.wall-status {
|
|
display: flex;
|
|
gap: 1rem;
|
|
align-items: center;
|
|
padding: clamp(0.8rem, 2vw, 1.8rem) clamp(1rem, 2.5vw, 2.5rem);
|
|
font-size: clamp(1.6rem, 4.2vw, 4.2rem);
|
|
font-weight: 700;
|
|
border-radius: 0.8rem;
|
|
}
|
|
|
|
.wall-status-symbol {
|
|
display: inline-grid;
|
|
place-items: center;
|
|
width: 1.4em;
|
|
height: 1.4em;
|
|
font-size: 0.8em;
|
|
border: 0.12em solid currentColor;
|
|
border-radius: 50%;
|
|
}
|
|
|
|
.wall-status-ok {
|
|
color: #7ee2a0;
|
|
background: #12351f;
|
|
}
|
|
|
|
.wall-status-critical {
|
|
color: #ff9aa2;
|
|
background: #4a1519;
|
|
}
|
|
|
|
.wall-status-warning {
|
|
color: #ffd27a;
|
|
background: #4a3510;
|
|
}
|
|
|
|
.wall-status-unsure {
|
|
color: #c4d0e4;
|
|
background: #1f2a3d;
|
|
}
|
|
|
|
.wall-tiles {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
|
|
gap: clamp(0.75rem, 1.6vw, 1.5rem);
|
|
}
|
|
|
|
.wall-tile {
|
|
padding: clamp(0.8rem, 1.6vw, 1.6rem);
|
|
background: #121c2f;
|
|
border-radius: 0.8rem;
|
|
box-shadow: inset 0 0 0 2px transparent;
|
|
}
|
|
|
|
.wall-tile-figure {
|
|
font-size: clamp(2.5rem, 6vw, 5.5rem);
|
|
font-weight: 700;
|
|
line-height: 1.05;
|
|
}
|
|
|
|
.wall-tile-label {
|
|
opacity: 0.75;
|
|
}
|
|
|
|
.wall-tile-bad {
|
|
box-shadow: inset 0 0 0 3px #ff6b6b;
|
|
}
|
|
|
|
.wall-tile-warn {
|
|
box-shadow: inset 0 0 0 3px #ffc247;
|
|
}
|
|
|
|
.wall-tile-info {
|
|
box-shadow: inset 0 0 0 3px #4dabf7;
|
|
}
|
|
|
|
.wall-columns {
|
|
display: grid;
|
|
grid-template-columns: 3fr 2fr;
|
|
gap: clamp(1rem, 3vw, 3rem);
|
|
}
|
|
|
|
@media (max-width: 900px) {
|
|
.wall-columns {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|
|
|
|
.wall-heading {
|
|
margin: 0 0 0.5em;
|
|
font-size: 0.8em;
|
|
letter-spacing: 0.08em;
|
|
text-transform: uppercase;
|
|
opacity: 0.7;
|
|
}
|
|
|
|
.wall-list {
|
|
margin: 0;
|
|
padding: 0;
|
|
font-size: 1.25em;
|
|
list-style: none;
|
|
}
|
|
|
|
.wall-list li {
|
|
padding: 0.3em 0;
|
|
}
|
|
|
|
.wall-list-small {
|
|
font-size: 1em;
|
|
}
|
|
|
|
.wall-bad {
|
|
color: #ff9aa2;
|
|
}
|
|
|
|
.wall-warn {
|
|
color: #ffd27a;
|
|
}
|
|
|
|
.wall-good {
|
|
color: #7ee2a0;
|
|
}
|
|
|
|
.wall-dim,
|
|
.wall-more,
|
|
.wall-empty {
|
|
opacity: 0.65;
|
|
}
|
|
|
|
.wall-footer {
|
|
display: flex;
|
|
gap: 1rem;
|
|
justify-content: space-between;
|
|
margin-top: auto;
|
|
font-size: 0.8em;
|
|
opacity: 0.65;
|
|
}
|
|
|
|
.wall-link {
|
|
padding: 0 0.5rem;
|
|
color: inherit;
|
|
text-decoration: underline;
|
|
cursor: pointer;
|
|
background: none;
|
|
border: 0;
|
|
}
|
|
|
|
/* ── The map: boxes in columns with lines between them. ── */
|
|
.map-scroll {
|
|
overflow: auto;
|
|
}
|
|
|
|
.map-columns {
|
|
position: relative;
|
|
height: 1.6rem;
|
|
}
|
|
|
|
.map-column-title {
|
|
position: absolute;
|
|
font-size: 0.72rem;
|
|
font-weight: 600;
|
|
letter-spacing: 0.06em;
|
|
color: var(--tblr-secondary);
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.map-canvas {
|
|
position: relative;
|
|
}
|
|
|
|
.map-lines {
|
|
position: absolute;
|
|
inset: 0;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.map-edge {
|
|
stroke: var(--tblr-secondary);
|
|
stroke-width: 1.6;
|
|
stroke-opacity: 0.55;
|
|
}
|
|
|
|
.map-edge.map-dim {
|
|
stroke-opacity: 0.1;
|
|
}
|
|
|
|
.map-node {
|
|
position: absolute;
|
|
display: flex;
|
|
gap: 0.55rem;
|
|
align-items: center;
|
|
padding: 0 0.7rem;
|
|
color: var(--tblr-body-color);
|
|
text-decoration: none;
|
|
background: var(--tblr-bg-surface-secondary, var(--tblr-bg-surface));
|
|
border: 1px solid var(--tblr-border-color);
|
|
border-left-width: 4px;
|
|
border-radius: 0.4rem;
|
|
transition: opacity 0.12s;
|
|
}
|
|
|
|
a.map-node:hover,
|
|
a.map-node:focus-visible {
|
|
color: var(--tblr-body-color);
|
|
border-color: var(--tblr-primary, #2563eb);
|
|
}
|
|
|
|
.map-node.map-dim {
|
|
opacity: 0.25;
|
|
}
|
|
|
|
.map-node-host {
|
|
border-left-color: #a78bfa;
|
|
}
|
|
|
|
.map-node-server {
|
|
border-left-color: #4299e1;
|
|
}
|
|
|
|
.map-node-dns {
|
|
border-left-color: #38b2ac;
|
|
}
|
|
|
|
.map-node-monitor {
|
|
border-left-color: #f6ad55;
|
|
}
|
|
|
|
.map-label {
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-width: 0;
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.map-title,
|
|
.map-sub {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.map-sub {
|
|
font-size: 0.75rem;
|
|
color: var(--tblr-secondary);
|
|
}
|
|
|
|
.map-status {
|
|
flex: 0 0 auto;
|
|
width: 1.3rem;
|
|
height: 1.3rem;
|
|
font-size: 0.75rem;
|
|
font-weight: 700;
|
|
line-height: 1.3rem;
|
|
text-align: center;
|
|
border-radius: 50%;
|
|
}
|
|
|
|
.map-status-ok {
|
|
color: #5fe07a;
|
|
background: rgba(47, 179, 68, 0.16);
|
|
}
|
|
|
|
.map-status-bad {
|
|
color: #ff9a9a;
|
|
background: rgba(214, 57, 57, 0.18);
|
|
}
|
|
|
|
.map-status-warn {
|
|
color: #ffc85a;
|
|
background: rgba(245, 165, 36, 0.18);
|
|
}
|
|
|
|
.map-status-unknown {
|
|
color: #b3bcc9;
|
|
background: rgba(128, 138, 150, 0.16);
|
|
}
|
|
|
|
/* On a light page the same symbols need darker colours to be read. */
|
|
[data-bs-theme="light"] .map-status-ok {
|
|
color: #17692b;
|
|
}
|
|
|
|
[data-bs-theme="light"] .map-status-bad {
|
|
color: #a82323;
|
|
}
|
|
|
|
[data-bs-theme="light"] .map-status-warn {
|
|
color: #7a4f00;
|
|
}
|
|
|
|
[data-bs-theme="light"] .map-status-unknown {
|
|
color: #566170;
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.map-node {
|
|
transition: none;
|
|
}
|
|
}
|
|
|
|
/* ── Dark mode: reds and blues Tabler uses for text are a little dim on the dark background; these are brighter, for the text only
|
|
(the solid red and blue of badges and buttons is unchanged, since white text sits on those). ── */
|
|
[data-bs-theme="dark"] .text-red,
|
|
[data-bs-theme="dark"] .alert-danger,
|
|
[data-bs-theme="dark"] .alert-danger .alert-link {
|
|
color: #f5a0a0 !important;
|
|
}
|
|
|
|
[data-bs-theme="dark"] .btn-outline-danger {
|
|
--tblr-btn-color: #f5a0a0;
|
|
--tblr-btn-border-color: #f5a0a0;
|
|
--tblr-btn-hover-color: #fff;
|
|
--tblr-btn-hover-bg: #d63939;
|
|
--tblr-btn-hover-border-color: #d63939;
|
|
color: #f5a0a0;
|
|
}
|
|
|
|
[data-bs-theme="dark"] .btn-link {
|
|
--tblr-btn-color: #74bbff;
|
|
color: #74bbff;
|
|
}
|
|
|
|
[data-bs-theme="dark"] .input-group-text {
|
|
color: #a8b0bd;
|
|
}
|
|
|
|
/* ── Light mode: the same, the other way round — Tabler's red, amber and blue text are a little pale on a light background. ── */
|
|
[data-bs-theme="light"] .alert-danger,
|
|
[data-bs-theme="light"] .alert-danger .alert-link {
|
|
color: #a82323;
|
|
}
|
|
|
|
[data-bs-theme="light"] .alert-warning,
|
|
[data-bs-theme="light"] .alert-warning .alert-link {
|
|
color: #7a4f00;
|
|
}
|
|
|
|
[data-bs-theme="light"] .btn-link {
|
|
--tblr-btn-color: #0b5cad;
|
|
color: #0b5cad;
|
|
}
|
|
|
|
/* ── Favourites: pinned pages at the top of the menu, and the star that pins them. ── */
|
|
.nav-heading {
|
|
padding: 0.5rem 1rem 0.15rem;
|
|
font-size: 0.68rem;
|
|
font-weight: 600;
|
|
letter-spacing: 0.08em;
|
|
text-transform: uppercase;
|
|
opacity: 0.7;
|
|
}
|
|
|
|
.nav-favourites {
|
|
padding-bottom: 0.35rem;
|
|
margin-bottom: 0.35rem;
|
|
border-bottom: 1px solid color-mix(in srgb, currentColor 18%, transparent);
|
|
}
|
|
|
|
.nav-favourites > .navbar-nav {
|
|
padding: 0;
|
|
}
|
|
|
|
.nav-row,
|
|
.navbar-vertical .navbar-nav .nav-row {
|
|
position: relative;
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
}
|
|
|
|
.nav-row > .nav-link,
|
|
.nav-row > .dropdown-item {
|
|
flex: 1 1 auto;
|
|
min-width: 0;
|
|
}
|
|
|
|
.nav-row .badge {
|
|
align-self: center;
|
|
}
|
|
|
|
/* On a phone Tabler draws a menu badge as a superscript on the corner of the link; here it reads better in line, as on a wide screen. */
|
|
@media (max-width: 991.98px) {
|
|
.navbar-vertical .nav-link .badge {
|
|
position: static !important;
|
|
transform: none !important;
|
|
}
|
|
}
|
|
|
|
.fav-star {
|
|
display: inline-grid;
|
|
flex: 0 0 auto;
|
|
place-items: center;
|
|
width: 1.9rem;
|
|
height: 1.9rem;
|
|
margin-right: 0.25rem;
|
|
color: inherit;
|
|
cursor: pointer;
|
|
background: none;
|
|
border: 0;
|
|
border-radius: 0.3rem;
|
|
opacity: 0;
|
|
}
|
|
|
|
.nav-row:hover > .fav-star,
|
|
.nav-row:focus-within > .fav-star,
|
|
.fav-star[aria-pressed="true"],
|
|
.fav-star:focus-visible {
|
|
opacity: 0.85;
|
|
}
|
|
|
|
.fav-star[aria-pressed="true"] {
|
|
color: #fbbf24;
|
|
}
|
|
|
|
.fav-star:hover {
|
|
background: color-mix(in srgb, currentColor 14%, transparent);
|
|
opacity: 1;
|
|
}
|
|
|
|
@media (hover: none) {
|
|
.fav-star {
|
|
opacity: 0.55;
|
|
}
|
|
}
|
|
|
|
/* ── The narrow, icon-only sidebar (wide screens): a strip of icons, with a group's pages opening to the side. ── */
|
|
.rail-mark {
|
|
display: none;
|
|
}
|
|
|
|
.rail-toggle {
|
|
display: flex;
|
|
gap: 0.5rem;
|
|
align-items: center;
|
|
width: 100%;
|
|
padding: 0.35rem 0.5rem;
|
|
margin-bottom: 0.4rem;
|
|
font-size: 0.8rem;
|
|
color: inherit;
|
|
cursor: pointer;
|
|
background: none;
|
|
border: 1px solid color-mix(in srgb, currentColor 20%, transparent);
|
|
border-radius: 0.3rem;
|
|
}
|
|
|
|
.rail-toggle:hover {
|
|
background: color-mix(in srgb, currentColor 14%, transparent);
|
|
}
|
|
|
|
.rail-flyout {
|
|
position: fixed;
|
|
z-index: 1040;
|
|
min-width: 13rem;
|
|
max-width: 18rem;
|
|
padding: 0.35rem;
|
|
overflow-y: auto;
|
|
color: var(--tblr-body-color);
|
|
background: var(--tblr-bg-surface);
|
|
border: 1px solid var(--tblr-border-color);
|
|
border-radius: 0.5rem;
|
|
box-shadow: 0 8px 28px rgba(0, 0, 0, 0.4);
|
|
}
|
|
|
|
.rail-flyout-title {
|
|
padding: 0.35rem 0.6rem 0.25rem;
|
|
font-size: 0.68rem;
|
|
font-weight: 600;
|
|
letter-spacing: 0.08em;
|
|
text-transform: uppercase;
|
|
opacity: 0.65;
|
|
}
|
|
|
|
.rail-flyout .fav-star {
|
|
opacity: 0.55;
|
|
}
|
|
|
|
@media (min-width: 992px) {
|
|
.sidebar-rail {
|
|
--tblr-sidebar-width: 4.75rem;
|
|
}
|
|
|
|
.sidebar-rail .navbar-vertical .navbar-brand {
|
|
flex-direction: column;
|
|
gap: 0.35rem;
|
|
justify-content: center;
|
|
padding: 0.75rem 0.25rem;
|
|
}
|
|
|
|
.sidebar-rail .rail-mark {
|
|
display: block;
|
|
width: 2.75rem;
|
|
height: 2.75rem;
|
|
border-radius: 0.5rem;
|
|
}
|
|
|
|
.sidebar-rail .navbar-brand .logo-frame {
|
|
display: none;
|
|
}
|
|
|
|
.sidebar-rail .navbar-brand .env-badge {
|
|
padding: 0.1rem 0.35rem;
|
|
margin: 0 !important;
|
|
font-size: 0.6rem;
|
|
}
|
|
|
|
.sidebar-rail .navbar-vertical .px-3 {
|
|
padding-right: 0.5rem !important;
|
|
padding-left: 0.5rem !important;
|
|
}
|
|
|
|
/* The words go, but stay for screen readers. */
|
|
.sidebar-rail :is(.nav-link-title, .palette-text, .rail-toggle-text, .user-menu-who) {
|
|
position: absolute;
|
|
width: 1px;
|
|
height: 1px;
|
|
overflow: hidden;
|
|
clip: rect(0 0 0 0);
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.sidebar-rail .nav-link {
|
|
position: relative;
|
|
justify-content: center;
|
|
padding-right: 0.25rem;
|
|
padding-left: 0.25rem;
|
|
}
|
|
|
|
.sidebar-rail .nav-link-icon {
|
|
margin-right: 0 !important;
|
|
}
|
|
|
|
.sidebar-rail .nav-link .badge {
|
|
position: absolute;
|
|
top: 0.1rem;
|
|
right: 0.4rem;
|
|
padding: 0.05rem 0.3rem;
|
|
margin: 0 !important;
|
|
font-size: 0.6rem;
|
|
}
|
|
|
|
.sidebar-rail .dropdown-toggle::after,
|
|
.sidebar-rail .nav-heading,
|
|
.sidebar-rail .navbar-nav .fav-star,
|
|
.sidebar-rail .user-menu-toggle > svg {
|
|
display: none;
|
|
}
|
|
|
|
.sidebar-rail .nav-item.dropdown > .dropdown-menu {
|
|
display: none !important;
|
|
}
|
|
|
|
.sidebar-rail .palette-trigger,
|
|
.sidebar-rail .rail-toggle {
|
|
justify-content: center;
|
|
}
|
|
|
|
.sidebar-rail .user-menu-toggle {
|
|
justify-content: center;
|
|
padding: 0.3rem;
|
|
}
|
|
|
|
.sidebar-rail .user-menu-list {
|
|
position: fixed;
|
|
bottom: 0.75rem;
|
|
left: 5.1rem;
|
|
z-index: 1040;
|
|
width: 15rem;
|
|
color: var(--tblr-body-color);
|
|
background: var(--tblr-bg-surface);
|
|
border-color: var(--tblr-border-color);
|
|
box-shadow: 0 8px 28px rgba(0, 0, 0, 0.4);
|
|
}
|
|
}
|
|
|
|
/* Sidebar submenus: a little tighter than Tabler's dropdown rows, so several open groups still fit on one screen. */
|
|
.navbar-vertical .dropdown-menu .dropdown-item {
|
|
padding-top: 0.3rem;
|
|
padding-bottom: 0.3rem;
|
|
}
|
|
|
|
/* Toasts: short results that appear in the corner and fade away (utils/toast). */
|
|
.toast-stack {
|
|
position: fixed;
|
|
right: 1rem;
|
|
bottom: 1rem;
|
|
z-index: 2000;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.5rem;
|
|
width: min(24rem, calc(100vw - 2rem));
|
|
}
|
|
|
|
.toast-item {
|
|
display: flex;
|
|
gap: 0.6rem;
|
|
padding: 0.7rem 0.8rem;
|
|
color: #fff;
|
|
background: #1f2937;
|
|
border-left: 4px solid #6b7280;
|
|
border-radius: var(--tblr-border-radius, 4px);
|
|
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
|
|
animation: toast-in 0.18s ease-out;
|
|
}
|
|
|
|
.toast-success {
|
|
border-left-color: #22c55e;
|
|
}
|
|
|
|
.toast-error {
|
|
border-left-color: #ef4444;
|
|
}
|
|
|
|
.toast-info {
|
|
border-left-color: #3b82f6;
|
|
}
|
|
|
|
.toast-close {
|
|
flex-shrink: 0;
|
|
align-self: flex-start;
|
|
padding: 0.1rem;
|
|
color: inherit;
|
|
opacity: 0.7;
|
|
background: none;
|
|
border: 0;
|
|
}
|
|
|
|
.toast-close:hover {
|
|
opacity: 1;
|
|
}
|
|
|
|
@keyframes toast-in {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(0.5rem);
|
|
}
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.toast-item {
|
|
animation: none;
|
|
}
|
|
}
|
|
|
|
/* ── Table toolbar: search and filters on the left, row count, then the table's actions and Export CSV on the right. ── */
|
|
.table-toolbar-inner {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
width: 100%;
|
|
}
|
|
|
|
.table-toolbar-actions {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 0.5rem;
|
|
margin-left: auto;
|
|
}
|
|
|
|
.table-search {
|
|
width: 16rem;
|
|
max-width: 100%;
|
|
}
|
|
|
|
/* ── Long tables scroll inside their card with the column headings kept in view (wide screens only: on a phone the page scrolls). ── */
|
|
@media (min-width: 992px) {
|
|
.card > .table-responsive {
|
|
max-height: calc(100vh - 12rem);
|
|
overflow: auto;
|
|
}
|
|
|
|
.card > .table-responsive > .table > thead > tr > th {
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 2;
|
|
background-color: var(--tblr-bg-surface-secondary, var(--tblr-card-bg));
|
|
box-shadow: inset 0 -1px 0 var(--tblr-border-color);
|
|
}
|
|
}
|
|
|
|
/* ── Density: how tightly pages are packed. Normal is Tabler's own look; the choice is in the user menu. ── */
|
|
html[data-density="compact"] {
|
|
--tblr-body-font-size: 0.8125rem;
|
|
--tblr-card-spacer-y: 0.85rem;
|
|
--tblr-card-spacer-x: 1rem;
|
|
}
|
|
|
|
html[data-density="compact"] .table > :not(caption) > * > * {
|
|
padding: 0.35rem 0.6rem;
|
|
}
|
|
|
|
html[data-density="compact"] .page-body {
|
|
margin-top: 0.75rem;
|
|
}
|
|
|
|
html[data-density="roomy"] {
|
|
--tblr-body-font-size: 0.975rem;
|
|
--tblr-card-spacer-y: 1.5rem;
|
|
--tblr-card-spacer-x: 1.5rem;
|
|
}
|
|
|
|
html[data-density="roomy"] .table > :not(caption) > * > * {
|
|
padding: 1rem 0.9rem;
|
|
}
|
|
|
|
.user-menu-density {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.25rem;
|
|
padding: 0.4rem 0.5rem;
|
|
}
|
|
|
|
/* ── Arranging the dashboard: each card gets a row of buttons, and a hidden one is dimmed. ── */
|
|
.card-customise {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.25rem;
|
|
padding: 0.35rem 0.5rem;
|
|
border-bottom: 1px dashed var(--tblr-border-color);
|
|
}
|
|
|
|
.card-hidden > :not(.card-customise) {
|
|
opacity: 0.5;
|
|
}
|
|
|
|
/* ── Comparing servers: the chart fills its card and takes the text colour for its axes. ── */
|
|
.multi-chart {
|
|
display: block;
|
|
width: 100%;
|
|
height: auto;
|
|
color: var(--tblr-body-color);
|
|
}
|