2025-06-02 23:41:31 +04:00
|
|
|
/* GLOBALS
|
|
|
|
|
-------------------------------------------------- */
|
|
|
|
|
|
2025-01-19 21:55:05 +04:00
|
|
|
:root {
|
2025-06-02 23:41:31 +04:00
|
|
|
/* Palette colors */
|
|
|
|
|
--color-gray: #82878c;
|
|
|
|
|
--color-red: #c8463c;
|
|
|
|
|
--color-orange: #d28700;
|
|
|
|
|
--color-teal: #00828c;
|
|
|
|
|
--color-blue: #0f73b4;
|
|
|
|
|
--color-green: #2d965a;
|
|
|
|
|
|
|
|
|
|
/* Palette RGB colors */
|
2025-06-01 23:32:17 +04:00
|
|
|
--rgb-color-gray: 130, 135, 140;
|
|
|
|
|
--rgb-color-red: 200, 70, 60;
|
|
|
|
|
--rgb-color-orange: 210, 135, 0;
|
|
|
|
|
--rgb-color-teal: 0, 130, 140;
|
|
|
|
|
--rgb-color-blue: 15, 115, 180;
|
|
|
|
|
--rgb-color-green: 45, 150, 90;
|
|
|
|
|
|
2025-06-02 23:41:31 +04:00
|
|
|
/* Light theme semantic colors */
|
|
|
|
|
--color-bg: #fff;
|
|
|
|
|
--color-text-primary: #555;
|
|
|
|
|
--color-text-heading: #141414;
|
|
|
|
|
--color-text-secondary: #8c8c8c;
|
2025-06-09 20:06:05 +04:00
|
|
|
--color-block-bg: #f8f8f7;
|
2025-06-02 23:41:31 +04:00
|
|
|
--color-monitor-bg: #fff;
|
2025-06-09 20:06:05 +04:00
|
|
|
--color-monitor-border: rgba(0, 0, 0, .1);
|
|
|
|
|
--color-input-field: #dcdcdc;
|
2025-06-02 23:41:31 +04:00
|
|
|
|
|
|
|
|
/* Button: Secondary */
|
|
|
|
|
--color-btn-secondary-bg: transparent;
|
|
|
|
|
--color-btn-secondary-hover: #e6e6e6;
|
|
|
|
|
--color-btn-secondary-active: #d2d2d2;
|
2025-06-01 23:32:17 +04:00
|
|
|
--color-btn-secondary-border: rgba(0, 0, 0, .16);
|
2025-06-02 23:41:31 +04:00
|
|
|
|
2025-06-05 21:36:55 +04:00
|
|
|
/* Specific colors */
|
2025-06-09 20:06:05 +04:00
|
|
|
--color-incident-light-bg: var(--color-block-bg);
|
|
|
|
|
--color-incident-dark-bg: #e8e8e8;
|
2025-06-05 21:36:55 +04:00
|
|
|
--color-text-overall-status: #fff;
|
|
|
|
|
|
2025-06-09 20:06:05 +04:00
|
|
|
/* Opacity */
|
|
|
|
|
--opacity-colored-block: .08;
|
|
|
|
|
|
2025-06-02 23:41:31 +04:00
|
|
|
/* Layout and sizing */
|
|
|
|
|
--size-container-width: 864px;
|
2025-06-05 21:36:55 +04:00
|
|
|
--size-edit-container-width: 1164px;
|
2025-06-02 23:41:31 +04:00
|
|
|
--size-logo-width: 48px;
|
|
|
|
|
--size-logo-height: 48px;
|
|
|
|
|
--size-monitor-min-width: 30ch;
|
|
|
|
|
--size-monitor-max-width: 1fr;
|
|
|
|
|
--size-daily-bar-height: 20px;
|
|
|
|
|
|
|
|
|
|
/* Spacing */
|
|
|
|
|
--space-xs: .5rem;
|
|
|
|
|
--space-sm: .75rem;
|
|
|
|
|
--space-md: 1rem;
|
|
|
|
|
--space-lg: 2rem;
|
|
|
|
|
|
|
|
|
|
/* Specific spacing */
|
|
|
|
|
--space-monitor-items: 4px;
|
|
|
|
|
|
|
|
|
|
/* Border radius */
|
|
|
|
|
--radius-sm: .375rem;
|
|
|
|
|
--radius-md: .5rem;
|
|
|
|
|
|
2025-06-05 21:36:55 +04:00
|
|
|
/* Specific border radius */
|
|
|
|
|
--radius-timeslot: 2rem;
|
|
|
|
|
|
2025-06-02 23:41:31 +04:00
|
|
|
/* Typography */
|
|
|
|
|
--font-size-sm: .875rem;
|
|
|
|
|
--font-size-heading: 1.125rem;
|
|
|
|
|
--font-weight-medium: 500;
|
2025-06-05 21:36:55 +04:00
|
|
|
--line-height-heading: 1.2;
|
2025-06-02 23:41:31 +04:00
|
|
|
|
|
|
|
|
/* Components */
|
|
|
|
|
/* Button */
|
|
|
|
|
--padding-btn-x: 12px;
|
2025-06-05 21:36:55 +04:00
|
|
|
--padding-btn-y: 6px;
|
2025-06-02 23:41:31 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* DARK THEME OVERRIDES
|
|
|
|
|
-------------------------------------------------- */
|
|
|
|
|
|
2025-06-01 23:32:17 +04:00
|
|
|
.dark {
|
2025-06-02 23:41:31 +04:00
|
|
|
/* Semantic colors */
|
2025-06-09 20:06:05 +04:00
|
|
|
--color-bg: #161616;
|
2025-06-02 23:41:31 +04:00
|
|
|
--color-text-primary: #afafaf;
|
|
|
|
|
--color-text-heading: #f0f0f0;
|
|
|
|
|
--color-text-secondary: #7d7d7d;
|
2025-06-09 20:06:05 +04:00
|
|
|
--color-block-bg: #202020;
|
|
|
|
|
--color-monitor-bg: #2a2a2a;
|
2025-06-02 23:41:31 +04:00
|
|
|
--color-monitor-border: rgba(255, 255, 255, .06);
|
2025-06-09 20:06:05 +04:00
|
|
|
--color-input-field: #323232;
|
2025-06-02 23:41:31 +04:00
|
|
|
|
|
|
|
|
/* Button: Secondary */
|
|
|
|
|
--color-btn-secondary-bg: transparent;
|
|
|
|
|
--color-btn-secondary-hover: #292929;
|
|
|
|
|
--color-btn-secondary-active: #1f1f1f;
|
2025-06-01 23:32:17 +04:00
|
|
|
--color-btn-secondary-border: rgba(255, 255, 255, .13);
|
2025-06-09 20:06:05 +04:00
|
|
|
|
|
|
|
|
/* Specific colors */
|
|
|
|
|
--color-incident-light-bg: var(--color-monitor-bg);
|
|
|
|
|
--color-incident-dark-bg: var(--color-block-bg);
|
|
|
|
|
|
|
|
|
|
/* Opacity */
|
|
|
|
|
--opacity-colored-block: .16;
|
2025-01-19 21:55:05 +04:00
|
|
|
}
|
|
|
|
|
|
2025-06-02 23:41:31 +04:00
|
|
|
/* BASE STRUCTURE
|
|
|
|
|
-------------------------------------------------- */
|
|
|
|
|
|
2025-01-19 21:55:05 +04:00
|
|
|
body {
|
2025-06-01 23:32:17 +04:00
|
|
|
background-color: var(--color-bg) !important;
|
2025-06-02 23:41:31 +04:00
|
|
|
color: var(--color-text-primary) !important;
|
2025-06-01 23:32:17 +04:00
|
|
|
}
|
|
|
|
|
|
2025-06-02 23:41:31 +04:00
|
|
|
.container {
|
|
|
|
|
margin-top: 0 !important;
|
2025-06-09 20:06:05 +04:00
|
|
|
padding: var(--space-lg) var(--space-md) 0;
|
2025-06-02 23:41:31 +04:00
|
|
|
max-width: var(--size-container-width);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* HEADER
|
|
|
|
|
-------------------------------------------------- */
|
2025-06-01 23:32:17 +04:00
|
|
|
|
2025-06-02 23:41:31 +04:00
|
|
|
/* Wrapper for logo and title */
|
2025-06-01 23:32:17 +04:00
|
|
|
.title-flex {
|
2025-06-02 23:41:31 +04:00
|
|
|
margin-bottom: var(--space-lg) !important;
|
2025-01-19 21:55:05 +04:00
|
|
|
}
|
|
|
|
|
|
2025-06-02 23:41:31 +04:00
|
|
|
/* Center the logo */
|
2025-01-19 21:55:05 +04:00
|
|
|
.logo-wrapper {
|
2025-06-09 20:06:05 +04:00
|
|
|
margin: 0 auto;
|
2025-01-19 21:55:05 +04:00
|
|
|
}
|
|
|
|
|
|
2025-06-02 23:41:31 +04:00
|
|
|
/* Resize the logo */
|
2025-06-12 00:15:20 +04:00
|
|
|
.logo-wrapper img[data-v-b8247e57],
|
|
|
|
|
.logo {
|
|
|
|
|
width: var(--size-logo-width) !important;
|
|
|
|
|
height: var(--size-logo-height) !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Remove the margin of the logo */
|
|
|
|
|
[dir="ltr"] .logo {
|
|
|
|
|
margin-right: 0 !important;
|
2025-06-01 23:32:17 +04:00
|
|
|
}
|
|
|
|
|
|
2025-06-02 23:41:31 +04:00
|
|
|
/* Remove the title adjacent to the logo */
|
2025-01-19 21:55:05 +04:00
|
|
|
span[data-v-7d4a7f28] {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
|
2025-06-02 23:41:31 +04:00
|
|
|
/* ADMIN ACTIONS BAR
|
|
|
|
|
-------------------------------------------------- */
|
|
|
|
|
|
|
|
|
|
/* Fix vertical margin of admin buttons on mobile */
|
2025-06-12 00:15:20 +04:00
|
|
|
.mb-4[data-v-b8247e57]:has(.btn-info),
|
|
|
|
|
.mb-4[data-v-84507135]:has(.btn-info) {
|
2025-06-02 23:41:31 +04:00
|
|
|
margin-bottom: var(--space-lg) !important;
|
2025-06-01 23:32:17 +04:00
|
|
|
}
|
2025-06-12 00:15:20 +04:00
|
|
|
.mb-4[data-v-b8247e57]:has(.btn-info) div,
|
|
|
|
|
.mb-4[data-v-84507135]:has(.btn-info) div {
|
2025-06-01 23:32:17 +04:00
|
|
|
display: flex;
|
|
|
|
|
flex-wrap: wrap;
|
2025-06-02 23:41:31 +04:00
|
|
|
gap: var(--space-xs);
|
2025-06-01 23:32:17 +04:00
|
|
|
}
|
2025-06-12 00:15:20 +04:00
|
|
|
.mb-4[data-v-b8247e57]:has(.btn-info) div button,
|
|
|
|
|
.mb-4[data-v-84507135]:has(.btn-info) div button {
|
2025-06-01 23:32:17 +04:00
|
|
|
margin: 0 !important;
|
2025-01-19 21:55:05 +04:00
|
|
|
}
|
|
|
|
|
|
2025-06-02 23:41:31 +04:00
|
|
|
/* Block with admin buttons */
|
2025-06-12 00:15:20 +04:00
|
|
|
.mb-4[data-v-b8247e57]:has(.btn-info),
|
|
|
|
|
.mb-4[data-v-84507135]:has(.btn-info) {
|
2025-06-02 23:41:31 +04:00
|
|
|
border-radius: var(--radius-md);
|
|
|
|
|
background-color: var(--color-block-bg);
|
|
|
|
|
padding: var(--space-md);
|
2025-01-19 21:55:05 +04:00
|
|
|
}
|
|
|
|
|
|
2025-06-02 23:41:31 +04:00
|
|
|
/* Admin button */
|
2025-06-12 00:15:20 +04:00
|
|
|
.btn-info[data-v-b8247e57],
|
|
|
|
|
.btn-info[data-v-84507135] {
|
2025-01-19 21:55:05 +04:00
|
|
|
box-shadow: none;
|
2025-06-01 23:32:17 +04:00
|
|
|
border: 1px solid var(--color-btn-secondary-border);
|
2025-06-02 23:41:31 +04:00
|
|
|
border-radius: var(--radius-sm);
|
|
|
|
|
background-color: var(--color-btn-secondary-bg);
|
|
|
|
|
padding: var(--padding-btn-y) var(--padding-btn-x);
|
|
|
|
|
color: var(--color-text-heading);
|
|
|
|
|
font-weight: var(--font-weight-medium);
|
|
|
|
|
font-size: var(--font-size-sm);
|
2025-06-01 23:32:17 +04:00
|
|
|
}
|
2025-06-12 00:15:20 +04:00
|
|
|
.btn-info[data-v-b8247e57]:hover,
|
|
|
|
|
.btn-info[data-v-84507135]:hover {
|
2025-06-01 23:32:17 +04:00
|
|
|
background-color: var(--color-btn-secondary-hover);
|
|
|
|
|
}
|
2025-06-12 00:15:20 +04:00
|
|
|
.btn-info[data-v-b8247e57]:active,
|
|
|
|
|
.btn-info[data-v-84507135]:active {
|
2025-06-01 23:32:17 +04:00
|
|
|
box-shadow: none;
|
|
|
|
|
background-color: var(--color-btn-secondary-active);
|
|
|
|
|
}
|
2025-06-12 00:15:20 +04:00
|
|
|
.btn-info[data-v-b8247e57] svg,
|
|
|
|
|
.btn-info[data-v-84507135] svg {
|
2025-06-01 23:32:17 +04:00
|
|
|
display: none;
|
|
|
|
|
}
|
2025-01-19 21:55:05 +04:00
|
|
|
|
2025-06-02 23:41:31 +04:00
|
|
|
/* INCIDENT BLOCK
|
|
|
|
|
-------------------------------------------------- */
|
|
|
|
|
|
2025-06-12 00:15:20 +04:00
|
|
|
.incident[data-v-b8247e57],
|
|
|
|
|
.incident[data-v-84507135] {
|
2025-06-02 23:41:31 +04:00
|
|
|
margin-bottom: var(--space-md) !important;
|
2025-06-09 20:06:05 +04:00
|
|
|
box-shadow: none;
|
2025-06-02 23:41:31 +04:00
|
|
|
border-radius: var(--radius-md);
|
|
|
|
|
padding: var(--space-md) !important;
|
|
|
|
|
color: var(--color-text-heading) !important;
|
2025-06-01 23:32:17 +04:00
|
|
|
}
|
2025-06-12 00:15:20 +04:00
|
|
|
.incident[data-v-b8247e57].bg-info,
|
|
|
|
|
.incident[data-v-84507135].bg-info {
|
2025-06-09 20:06:05 +04:00
|
|
|
background-color: rgba(var(--rgb-color-teal), var(--opacity-colored-block)) !important;
|
2025-06-01 23:32:17 +04:00
|
|
|
}
|
2025-06-12 00:15:20 +04:00
|
|
|
.incident[data-v-b8247e57].bg-warning,
|
|
|
|
|
.incident[data-v-84507135].bg-warning {
|
2025-06-09 20:06:05 +04:00
|
|
|
background-color: rgba(var(--rgb-color-orange), var(--opacity-colored-block)) !important;
|
2025-06-01 23:32:17 +04:00
|
|
|
}
|
2025-06-12 00:15:20 +04:00
|
|
|
.incident[data-v-b8247e57].bg-danger,
|
|
|
|
|
.incident[data-v-84507135].bg-danger {
|
2025-06-09 20:06:05 +04:00
|
|
|
background-color: rgba(var(--rgb-color-red), var(--opacity-colored-block)) !important;
|
2025-06-01 23:32:17 +04:00
|
|
|
}
|
2025-06-12 00:15:20 +04:00
|
|
|
.incident[data-v-b8247e57].bg-primary,
|
|
|
|
|
.incident[data-v-84507135].bg-primary {
|
2025-06-09 20:06:05 +04:00
|
|
|
background-color: rgba(var(--rgb-color-green), var(--opacity-colored-block)) !important;
|
2025-06-01 23:32:17 +04:00
|
|
|
}
|
2025-06-12 00:15:20 +04:00
|
|
|
.incident[data-v-b8247e57].bg-light,
|
|
|
|
|
.incident[data-v-84507135].bg-light {
|
2025-06-09 20:06:05 +04:00
|
|
|
background-color: var(--color-incident-light-bg) !important;
|
2025-06-01 23:32:17 +04:00
|
|
|
}
|
2025-06-12 00:15:20 +04:00
|
|
|
.incident[data-v-b8247e57].bg-dark,
|
|
|
|
|
.incident[data-v-84507135].bg-dark {
|
2025-06-09 20:06:05 +04:00
|
|
|
background-color: var(--color-incident-dark-bg) !important;
|
2025-06-01 23:32:17 +04:00
|
|
|
}
|
2025-06-12 00:15:20 +04:00
|
|
|
.incident[data-v-b8247e57] h4,
|
|
|
|
|
.incident[data-v-84507135] h4 {
|
2025-06-02 23:41:31 +04:00
|
|
|
font-size: var(--font-size-heading);
|
2025-06-01 23:32:17 +04:00
|
|
|
}
|
2025-06-12 00:15:20 +04:00
|
|
|
.incident[data-v-b8247e57] div,
|
|
|
|
|
.incident[data-v-84507135] div {
|
2025-06-02 23:41:31 +04:00
|
|
|
color: var(--color-text-primary);
|
2025-06-01 23:32:17 +04:00
|
|
|
}
|
2025-01-19 21:55:05 +04:00
|
|
|
|
2025-06-02 23:41:31 +04:00
|
|
|
/* OVERALL STATUS BLOCK
|
|
|
|
|
-------------------------------------------------- */
|
|
|
|
|
|
2025-06-12 00:15:20 +04:00
|
|
|
.overall-status[data-v-b8247e57],
|
|
|
|
|
.overall-status[data-v-84507135] {
|
2025-06-02 23:41:31 +04:00
|
|
|
margin-bottom: var(--space-md) !important;
|
2025-06-01 23:32:17 +04:00
|
|
|
box-shadow: none;
|
2025-06-02 23:41:31 +04:00
|
|
|
border-radius: var(--radius-md);
|
|
|
|
|
padding: var(--space-md) !important;
|
2025-06-05 21:36:55 +04:00
|
|
|
color: var(--color-text-overall-status);
|
2025-06-02 23:41:31 +04:00
|
|
|
font-weight: var(--font-weight-medium);
|
|
|
|
|
font-size: var(--font-size-heading);
|
2025-06-05 21:36:55 +04:00
|
|
|
line-height: var(--line-height-heading);
|
2025-06-01 23:32:17 +04:00
|
|
|
}
|
2025-06-12 00:15:20 +04:00
|
|
|
.overall-status[data-v-b8247e57]:has(.ok),
|
|
|
|
|
.overall-status[data-v-84507135]:has(.ok) {
|
2025-06-01 23:32:17 +04:00
|
|
|
background-color: var(--color-green);
|
|
|
|
|
}
|
2025-06-12 00:15:20 +04:00
|
|
|
.overall-status[data-v-b8247e57]:has(.warning),
|
|
|
|
|
.overall-status[data-v-84507135]:has(.warning) {
|
2025-06-01 23:32:17 +04:00
|
|
|
background-color: var(--color-orange);
|
|
|
|
|
}
|
2025-06-12 00:15:20 +04:00
|
|
|
.overall-status[data-v-b8247e57]:has(.danger),
|
|
|
|
|
.overall-status[data-v-84507135]:has(.danger) {
|
2025-06-01 23:32:17 +04:00
|
|
|
background-color: var(--color-red);
|
|
|
|
|
}
|
2025-06-12 00:15:20 +04:00
|
|
|
.overall-status[data-v-b8247e57]:has(.status-maintenance),
|
|
|
|
|
.overall-status[data-v-84507135]:has(.status-maintenance) {
|
2025-06-01 23:32:17 +04:00
|
|
|
background-color: var(--color-blue);
|
|
|
|
|
}
|
2025-06-12 00:15:20 +04:00
|
|
|
.overall-status[data-v-b8247e57] svg,
|
|
|
|
|
.overall-status[data-v-84507135] svg {
|
2025-06-01 23:32:17 +04:00
|
|
|
display: none;
|
2025-01-19 21:55:05 +04:00
|
|
|
}
|
|
|
|
|
|
2025-06-02 23:41:31 +04:00
|
|
|
/* MAINTENANCE BLOCK
|
|
|
|
|
-------------------------------------------------- */
|
|
|
|
|
|
2025-01-19 21:55:05 +04:00
|
|
|
.shadow-box.bg-maintenance {
|
2025-06-09 20:06:05 +04:00
|
|
|
margin: var(--space-md) 0 !important;
|
2025-06-01 23:32:17 +04:00
|
|
|
box-shadow: none;
|
2025-06-02 23:41:31 +04:00
|
|
|
border-radius: var(--radius-md);
|
2025-06-09 20:06:05 +04:00
|
|
|
background-color: rgba(var(--rgb-color-blue), var(--opacity-colored-block)) !important;
|
2025-06-02 23:41:31 +04:00
|
|
|
padding: var(--space-md) !important;
|
|
|
|
|
color: var(--color-text-heading) !important;
|
2025-06-01 23:32:17 +04:00
|
|
|
}
|
|
|
|
|
.shadow-box.bg-maintenance .alert-heading {
|
2025-06-02 23:41:31 +04:00
|
|
|
color: var(--color-text-heading);
|
|
|
|
|
font-weight: var(--font-weight-medium);
|
|
|
|
|
font-size: var(--font-size-heading);
|
2025-06-01 23:32:17 +04:00
|
|
|
}
|
|
|
|
|
.shadow-box.bg-maintenance .content {
|
2025-06-02 23:41:31 +04:00
|
|
|
color: var(--color-text-primary);
|
2025-06-01 23:32:17 +04:00
|
|
|
}
|
2025-06-12 00:15:20 +04:00
|
|
|
.shadow-box.bg-maintenance div[data-v-b8247e57]:not([class]) div:not([class]),
|
|
|
|
|
.shadow-box.bg-maintenance div[data-v-84507135]:not([class]) div:not([class]) {
|
2025-06-01 23:32:17 +04:00
|
|
|
display: flex;
|
|
|
|
|
flex-wrap: wrap;
|
2025-06-02 23:41:31 +04:00
|
|
|
gap: var(--space-xs);
|
2025-01-19 21:55:05 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.timeslot {
|
2025-06-09 20:06:05 +04:00
|
|
|
margin: 0 !important;
|
2025-06-05 21:36:55 +04:00
|
|
|
border-radius: var(--radius-timeslot);
|
2025-06-09 20:06:05 +04:00
|
|
|
background-color: rgba(var(--rgb-color-blue), .13) !important;
|
2025-06-01 23:32:17 +04:00
|
|
|
color: var(--color-blue) !important;
|
|
|
|
|
}
|
|
|
|
|
|
2025-06-02 23:41:31 +04:00
|
|
|
/* USER MARKDOWN ELEMENTS
|
|
|
|
|
-------------------------------------------------- */
|
|
|
|
|
|
2025-06-01 23:32:17 +04:00
|
|
|
.alert-heading.p-2 {
|
2025-06-02 23:41:31 +04:00
|
|
|
margin-bottom: var(--space-lg);
|
2025-06-01 23:32:17 +04:00
|
|
|
padding: 0 !important;
|
|
|
|
|
}
|
|
|
|
|
.alert-heading.p-2 p {
|
|
|
|
|
margin: 0;
|
2025-01-19 21:55:05 +04:00
|
|
|
}
|
|
|
|
|
|
2025-06-05 21:36:55 +04:00
|
|
|
/* Link (excluding button) */
|
|
|
|
|
a:not(.btn),
|
|
|
|
|
.dark a:not(.btn) {
|
|
|
|
|
color: inherit;
|
|
|
|
|
}
|
|
|
|
|
a:not(.btn):hover,
|
|
|
|
|
.dark a:not(.btn):hover {
|
|
|
|
|
color: var(--color-blue);
|
|
|
|
|
}
|
|
|
|
|
|
2025-06-02 23:41:31 +04:00
|
|
|
/* PAGE DESCRIPTION
|
|
|
|
|
-------------------------------------------------- */
|
|
|
|
|
|
2025-06-01 23:32:17 +04:00
|
|
|
div > .alert-heading.p-2:has(*) {
|
2025-06-02 23:41:31 +04:00
|
|
|
margin-top: var(--space-lg);
|
|
|
|
|
border-radius: var(--radius-md);
|
|
|
|
|
background-color: var(--color-block-bg);
|
|
|
|
|
padding: var(--space-md) !important;
|
2025-01-19 21:55:05 +04:00
|
|
|
}
|
|
|
|
|
|
2025-06-02 23:41:31 +04:00
|
|
|
/* MONITOR GROUP
|
|
|
|
|
-------------------------------------------------- */
|
|
|
|
|
|
2025-06-12 00:15:20 +04:00
|
|
|
div[data-v-f71ca08e]:has(> .group-title),
|
|
|
|
|
div[data-v-026459e0]:has(> .group-title) {
|
2025-06-02 23:41:31 +04:00
|
|
|
margin-bottom: var(--space-md) !important;
|
|
|
|
|
border-radius: var(--radius-md);
|
|
|
|
|
background-color: var(--color-block-bg);
|
|
|
|
|
padding: var(--space-md);
|
2025-06-01 23:32:17 +04:00
|
|
|
}
|
|
|
|
|
|
2025-06-02 23:41:31 +04:00
|
|
|
/* Monitor group title */
|
2025-01-19 21:55:05 +04:00
|
|
|
.group-title {
|
2025-06-05 21:36:55 +04:00
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
2025-06-02 23:41:31 +04:00
|
|
|
margin-bottom: var(--space-md);
|
|
|
|
|
color: var(--color-text-heading);
|
|
|
|
|
font-size: var(--font-size-heading);
|
2025-01-19 21:55:05 +04:00
|
|
|
}
|
|
|
|
|
|
2025-06-02 23:41:31 +04:00
|
|
|
/* Monitor elements in the group */
|
2025-01-19 21:55:05 +04:00
|
|
|
.shadow-box.monitor-list {
|
2025-06-01 23:32:17 +04:00
|
|
|
margin-top: 0 !important;
|
|
|
|
|
box-shadow: none;
|
2025-01-19 21:55:05 +04:00
|
|
|
background-color: transparent !important;
|
2025-06-01 23:32:17 +04:00
|
|
|
padding: 0;
|
|
|
|
|
}
|
|
|
|
|
.shadow-box.monitor-list > .monitor-list {
|
|
|
|
|
display: grid;
|
|
|
|
|
grid-template-columns: repeat(
|
|
|
|
|
auto-fill,
|
|
|
|
|
minmax(
|
2025-06-02 23:41:31 +04:00
|
|
|
min(var(--size-monitor-min-width), 100%),
|
|
|
|
|
var(--size-monitor-max-width)
|
2025-06-01 23:32:17 +04:00
|
|
|
)
|
|
|
|
|
);
|
2025-06-02 23:41:31 +04:00
|
|
|
grid-gap: var(--space-md);
|
2025-01-19 21:55:05 +04:00
|
|
|
}
|
|
|
|
|
|
2025-06-02 23:41:31 +04:00
|
|
|
/* Adjusting grid layout at certain viewport sizes */
|
|
|
|
|
/* It's not perfect, but it works */
|
2025-06-01 23:32:17 +04:00
|
|
|
@media (min-width: 540px) and (max-width: 604px) {
|
2025-06-05 21:36:55 +04:00
|
|
|
:root {
|
|
|
|
|
--size-monitor-min-width: 20ch;
|
2025-01-19 21:55:05 +04:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2025-06-02 23:41:31 +04:00
|
|
|
/* MONITOR ITEM
|
|
|
|
|
-------------------------------------------------- */
|
|
|
|
|
|
2025-06-01 23:32:17 +04:00
|
|
|
.monitor-list .item {
|
2025-06-02 23:41:31 +04:00
|
|
|
border: 1px solid var(--color-monitor-border);
|
|
|
|
|
border-radius: var(--radius-md);
|
|
|
|
|
background-color: var(--color-monitor-bg);
|
|
|
|
|
padding: var(--space-md) !important;
|
2025-06-01 23:32:17 +04:00
|
|
|
}
|
|
|
|
|
.monitor-list .item:hover {
|
2025-06-02 23:41:31 +04:00
|
|
|
background-color: var(--color-monitor-bg) !important;
|
2025-06-01 23:32:17 +04:00
|
|
|
}
|
|
|
|
|
.monitor-list .item > .row {
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
}
|
|
|
|
|
.monitor-list .item > .row > div {
|
|
|
|
|
width: 100%;
|
2025-01-19 21:55:05 +04:00
|
|
|
}
|
|
|
|
|
|
2025-06-02 23:41:31 +04:00
|
|
|
/* Monitor name and badge container */
|
2025-01-19 21:55:05 +04:00
|
|
|
.info {
|
|
|
|
|
display: flex;
|
2025-06-05 21:36:55 +04:00
|
|
|
align-items: center;
|
2025-06-02 23:41:31 +04:00
|
|
|
margin-bottom: var(--space-xs);
|
2025-06-09 20:06:05 +04:00
|
|
|
padding: 0 var(--space-monitor-items);
|
2025-01-19 21:55:05 +04:00
|
|
|
}
|
|
|
|
|
|
2025-06-02 23:41:31 +04:00
|
|
|
/* Monitor name */
|
2025-06-12 00:15:20 +04:00
|
|
|
.item-name[data-v-f71ca08e],
|
|
|
|
|
.item-name[data-v-026459e0] {
|
2025-06-05 21:36:55 +04:00
|
|
|
padding-left: 0;
|
2025-01-19 21:55:05 +04:00
|
|
|
overflow: hidden;
|
2025-06-02 23:41:31 +04:00
|
|
|
color: var(--color-text-heading);
|
2025-01-19 21:55:05 +04:00
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
}
|
|
|
|
|
|
2025-06-02 23:41:31 +04:00
|
|
|
/* Uptime percentage badge (now just text) */
|
2025-01-19 21:55:05 +04:00
|
|
|
.badge {
|
|
|
|
|
all: unset;
|
|
|
|
|
order: 2;
|
2025-06-05 21:36:55 +04:00
|
|
|
margin-left: auto;
|
2025-01-19 21:55:05 +04:00
|
|
|
background-color: transparent !important;
|
2025-06-01 23:32:17 +04:00
|
|
|
color: var(--color-gray) !important;
|
2025-01-19 21:55:05 +04:00
|
|
|
}
|
2025-06-01 23:32:17 +04:00
|
|
|
.badge.bg-danger {
|
|
|
|
|
color: var(--color-red) !important;
|
|
|
|
|
}
|
|
|
|
|
.badge.bg-warning {
|
|
|
|
|
color: var(--color-orange) !important;
|
|
|
|
|
}
|
|
|
|
|
.badge.bg-primary {
|
|
|
|
|
color: var(--color-green) !important;
|
|
|
|
|
}
|
|
|
|
|
.badge.bg-maintenance {
|
|
|
|
|
color: var(--color-blue) !important;
|
2025-01-19 21:55:05 +04:00
|
|
|
}
|
|
|
|
|
|
2025-06-02 23:41:31 +04:00
|
|
|
/* Extra vertical indentation */
|
2025-06-12 00:15:20 +04:00
|
|
|
.extra-info[data-v-f71ca08e],
|
|
|
|
|
.extra-info[data-v-026459e0] {
|
2025-06-01 23:32:17 +04:00
|
|
|
display: none;
|
2025-01-19 21:55:05 +04:00
|
|
|
}
|
|
|
|
|
|
2025-06-02 23:41:31 +04:00
|
|
|
/* Wrapper for the uptime history timeline and daily uptime text */
|
2025-01-19 21:55:05 +04:00
|
|
|
.wrap {
|
2025-06-01 23:32:17 +04:00
|
|
|
padding: 0 !important;
|
|
|
|
|
}
|
|
|
|
|
.mobile .wrap {
|
|
|
|
|
padding-bottom: 6px !important;
|
2025-01-19 21:55:05 +04:00
|
|
|
}
|
|
|
|
|
|
2025-06-02 23:41:31 +04:00
|
|
|
/* Uptime history timeline */
|
2025-06-01 23:32:17 +04:00
|
|
|
.hp-bar-big {
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: center;
|
2025-06-02 23:41:31 +04:00
|
|
|
padding-bottom: var(--space-xs);
|
2025-06-01 23:32:17 +04:00
|
|
|
}
|
|
|
|
|
.mobile .hp-bar-big {
|
|
|
|
|
padding-bottom: 0;
|
|
|
|
|
}
|
2025-01-19 21:55:05 +04:00
|
|
|
|
2025-06-02 23:41:31 +04:00
|
|
|
/* Daily bar in the uptime history timeline */
|
2025-06-12 00:15:20 +04:00
|
|
|
.hp-bar-big .beat[data-v-636dc6a9],
|
|
|
|
|
.hp-bar-big .beat-hover-area .beat[data-v-3fe48e5d] {
|
2025-06-01 23:32:17 +04:00
|
|
|
margin: 0 2px !important;
|
|
|
|
|
background-color: var(--color-green);
|
2025-06-02 23:41:31 +04:00
|
|
|
height: var(--size-daily-bar-height) !important;
|
2025-06-01 23:32:17 +04:00
|
|
|
}
|
2025-06-12 00:15:20 +04:00
|
|
|
.hp-bar-big .beat[data-v-636dc6a9]:not(.empty):hover,
|
|
|
|
|
.hp-bar-big .beat-hover-area[data-v-3fe48e5d]:not(.empty):hover {
|
2025-06-01 23:32:17 +04:00
|
|
|
transform: none;
|
2025-06-09 20:06:05 +04:00
|
|
|
opacity: .7;
|
2025-06-01 23:32:17 +04:00
|
|
|
}
|
2025-06-12 00:15:20 +04:00
|
|
|
.hp-bar-big .beat[data-v-636dc6a9]:first-of-type,
|
|
|
|
|
.hp-bar-big .beat-hover-area .beat[data-v-3fe48e5d]:first-of-type {
|
2025-06-01 23:32:17 +04:00
|
|
|
margin-left: 0 !important;
|
|
|
|
|
}
|
2025-06-12 00:15:20 +04:00
|
|
|
.hp-bar-big .beat[data-v-636dc6a9]:last-of-type,
|
|
|
|
|
.hp-bar-big .beat-hover-area .beat[data-v-3fe48e5d]:last-of-type {
|
2025-06-01 23:32:17 +04:00
|
|
|
margin-right: 0 !important;
|
|
|
|
|
}
|
2025-06-12 00:15:20 +04:00
|
|
|
.hp-bar-big .beat[data-v-636dc6a9].empty,
|
|
|
|
|
.hp-bar-big .beat-hover-area .beat[data-v-3fe48e5d].empty {
|
2025-06-01 23:32:17 +04:00
|
|
|
background-color: var(--color-gray);
|
|
|
|
|
}
|
2025-06-12 00:15:20 +04:00
|
|
|
.hp-bar-big .beat[data-v-636dc6a9].down,
|
|
|
|
|
.hp-bar-big .beat-hover-area .beat[data-v-3fe48e5d].down {
|
2025-06-01 23:32:17 +04:00
|
|
|
background-color: var(--color-red);
|
|
|
|
|
}
|
2025-06-12 00:15:20 +04:00
|
|
|
.hp-bar-big .beat[data-v-636dc6a9].pending,
|
|
|
|
|
.hp-bar-big .beat-hover-area .beat[data-v-3fe48e5d].pending {
|
2025-06-01 23:32:17 +04:00
|
|
|
background-color: var(--color-orange);
|
|
|
|
|
}
|
2025-06-12 00:15:20 +04:00
|
|
|
.hp-bar-big .beat[data-v-636dc6a9].maintenance,
|
|
|
|
|
.hp-bar-big .beat-hover-area .beat[data-v-3fe48e5d].maintenance {
|
2025-06-01 23:32:17 +04:00
|
|
|
background-color: var(--color-blue);
|
|
|
|
|
}
|
2025-01-19 21:55:05 +04:00
|
|
|
|
2025-06-02 23:41:31 +04:00
|
|
|
/* Daily uptime text (below day bars) */
|
2025-06-12 00:15:20 +04:00
|
|
|
.word[data-v-636dc6a9],
|
|
|
|
|
.word[data-v-3fe48e5d] {
|
2025-06-09 20:06:05 +04:00
|
|
|
margin: 0 var(--space-monitor-items) !important;
|
2025-06-02 23:41:31 +04:00
|
|
|
color: var(--color-text-primary);
|
2025-01-19 21:55:05 +04:00
|
|
|
}
|
|
|
|
|
|
2025-06-02 23:41:31 +04:00
|
|
|
/* FOOTER
|
|
|
|
|
-------------------------------------------------- */
|
|
|
|
|
|
|
|
|
|
/* User markdown, Uptime Kuma branding, refresh timer */
|
2025-06-12 00:15:20 +04:00
|
|
|
footer[data-v-b8247e57],
|
|
|
|
|
footer[data-v-84507135] {
|
2025-06-09 20:06:05 +04:00
|
|
|
margin: var(--space-lg) 0 !important;
|
2025-06-01 23:32:17 +04:00
|
|
|
color: var(--color-text-secondary);
|
2025-01-19 21:55:05 +04:00
|
|
|
}
|
|
|
|
|
|
2025-06-02 23:41:31 +04:00
|
|
|
/* Extra spacing if the user footer has anything */
|
2025-06-01 23:32:17 +04:00
|
|
|
footer .alert-heading.p-2:has(*) {
|
2025-06-02 23:41:31 +04:00
|
|
|
margin-bottom: var(--space-md) !important;
|
2025-01-19 21:55:05 +04:00
|
|
|
}
|
|
|
|
|
|
2025-06-02 23:41:31 +04:00
|
|
|
/* Refresh timer */
|
|
|
|
|
/* Remove/comment "display: none" to restore visibility */
|
2025-06-12 00:15:20 +04:00
|
|
|
.refresh-info[data-v-b8247e57],
|
|
|
|
|
.refresh-info[data-v-84507135]{
|
2025-01-19 21:55:05 +04:00
|
|
|
display: none;
|
2025-06-01 23:32:17 +04:00
|
|
|
opacity: 1;
|
|
|
|
|
margin-bottom: 0 !important;
|
2025-01-19 21:55:05 +04:00
|
|
|
}
|
2025-06-05 21:36:55 +04:00
|
|
|
|
|
|
|
|
/* EDIT WINDOW
|
|
|
|
|
-------------------------------------------------- */
|
|
|
|
|
|
|
|
|
|
.container:has(.edit) {
|
|
|
|
|
max-width: var(--size-edit-container-width);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Input field for the monitor group name */
|
2025-06-12 00:15:20 +04:00
|
|
|
.edit span[data-v-7d4a7f28][data-v-f71ca08e],
|
|
|
|
|
.edit span[data-v-7d4a7f28][data-v-026459e0] {
|
2025-06-05 21:36:55 +04:00
|
|
|
background-color: var(--color-input-field);
|
|
|
|
|
padding: .25rem .5rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Input field for page description and footer */
|
2025-06-09 20:06:05 +04:00
|
|
|
.edit h4[data-v-7d4a7f28][data-v-b8247e57][contenteditable="true"],
|
2025-06-12 00:15:20 +04:00
|
|
|
.edit h4[data-v-7d4a7f28][data-v-84507135][contenteditable="true"],
|
|
|
|
|
.edit div[data-v-7d4a7f28][data-v-b8247e57],
|
|
|
|
|
.edit div[data-v-7d4a7f28][data-v-84507135] {
|
2025-06-05 21:36:55 +04:00
|
|
|
background-color: var(--color-input-field);
|
|
|
|
|
padding: var(--space-sm) var(--space-md) !important;
|
|
|
|
|
color: var(--color-text-heading);
|
|
|
|
|
}
|