Initial upload

This commit is contained in:
antonn committed 2026-06-10 17:04:11 +00:00
1 parent b0bf3b7167
commit a022f29e34
65 files changed
+46484 -4339

No files matched your search

+575 -103
View File
File diff suppressed because it is too large. Load diff
+49 -14
View File
@@ -1,5 +1,5 @@
:root {
--ui-bg: url("/images/waves.png?v=1776616961314");
--ui-bg: url("/images/waves.png?v=1780686309159");
}
.btn-primary {
@@ -32,6 +32,43 @@
filter: brightness(0.96);
}
/* ── Navbar Create pill — overrides for the later-loaded stylesheet ──
This file is loaded AFTER dashboard.css, so the pill animation rules
must be restated here or .btn-primary above would cancel them
(its `transition` omits width/border-radius/padding/gap, which made the
expand/collapse look instant). Open state is toggled via JS (.is-open). */
.btn-primary.create-btn {
position: relative;
overflow: hidden;
width: 44px;
height: 44px;
min-height: 44px;
padding: 0;
gap: 0;
border: none;
border-radius: 50%;
justify-content: center;
transition:
width 0.4s cubic-bezier(0.65, 0, 0.35, 1),
border-radius 0.4s cubic-bezier(0.65, 0, 0.35, 1),
padding 0.4s cubic-bezier(0.65, 0, 0.35, 1),
gap 0.4s cubic-bezier(0.65, 0, 0.35, 1),
filter 0.4s ease;
}
.btn-primary.create-btn:hover {
transform: none;
}
.btn-primary.create-btn.is-open,
.btn-primary.create-btn:focus-visible {
width: 124px;
padding: 0 18px;
gap: 9px;
border-radius: 999px;
filter: brightness(1.06);
}
.btn-ghost {
background: rgba(15, 23, 42, 0.85);
border: none;
@@ -781,10 +818,6 @@
align-items: center;
}
.faplusbutton {
margin-right: 6px;
}
.footer-inner {
align-items: center;
gap: 16px;
@@ -812,6 +845,10 @@
background: var(--ui-bg) center/cover no-repeat fixed !important;
}
body.modal-open {
overflow: hidden;
}
/* Quick Action Custom Scale Animation - Independent Element Scaling */
.quick-action.qa-anim-scale {
position: relative;
@@ -909,11 +946,14 @@
}
#topbar-spacer {
height: 104px;
height: 73px;
min-height: 73px;
flex-shrink: 0;
}
.dashboard {
margin-top: 46px;
margin-top: 20px;
min-height: auto;
}
.top-bar {
@@ -972,6 +1012,8 @@
}
.brand-title {
font-family: 'Inter', sans-serif;
font-weight: 700;
letter-spacing: -0.012em;
}
@@ -1019,13 +1061,6 @@
object-fit: cover;
}
.btn-primary.create-btn {
border-radius: 999px;
padding-inline: 18px;
min-height: 42px;
outline: none;
}
.top-bar .btn-primary.create-btn:focus,
.top-bar .btn-primary.create-btn:focus-visible,
.top-bar .btn-primary.create-btn:active {
+399
View File
@@ -0,0 +1,399 @@
.adp-ssh-terminal-window {
position: fixed;
left: 0;
top: 0;
width: min(var(--adp-ssh-w, 960px), calc(100vw - 16px));
height: min(var(--adp-ssh-h, 640px), calc(100vh - 16px));
min-width: min(360px, calc(100vw - 16px));
min-height: 260px;
display: flex;
flex-direction: column;
overflow: hidden;
border-radius: 14px;
border: 1px solid rgba(148, 163, 184, 0.24);
background: #020617;
box-shadow: 0 18px 52px rgba(0, 0, 0, 0.48), 0 0 0 1px rgba(15, 23, 42, 0.64);
z-index: 2147483000;
opacity: 0;
transform: translate3d(var(--adp-ssh-x, 24px), var(--adp-ssh-y, 24px), 0) scale(0.985);
transform-origin: top left;
transition: opacity 140ms ease, transform 180ms cubic-bezier(0.2, 0.8, 0.2, 1);
contain: layout paint style;
isolation: isolate;
backface-visibility: hidden;
}
.adp-ssh-terminal-window::before,
.adp-ssh-terminal-window::after {
content: "";
position: absolute;
pointer-events: none;
border-radius: inherit;
}
.adp-ssh-terminal-window::before {
inset: 0;
z-index: 2;
background:
radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.17), transparent 28%),
linear-gradient(145deg, rgba(255, 255, 255, 0.12), transparent 32%, rgba(45, 212, 191, 0.08) 72%, transparent);
opacity: 0.28;
}
.adp-ssh-terminal-window::after {
inset: -58%;
z-index: 6;
opacity: 0;
background:
radial-gradient(ellipse at 50% 50%, rgba(255, 255, 255, 0.34), rgba(45, 212, 191, 0.16) 28%, transparent 58%),
linear-gradient(105deg, transparent 34%, rgba(255, 255, 255, 0.42) 48%, transparent 62%);
transform: translate3d(-42%, -22%, 0) rotate(9deg) scale(0.78);
}
.adp-ssh-terminal-window.is-ready {
opacity: 1;
transform: translate3d(var(--adp-ssh-x, 24px), var(--adp-ssh-y, 24px), 0) scale(1);
}
.adp-ssh-terminal-window.is-liquid-motion {
will-change: transform, opacity;
}
.adp-ssh-terminal-window.is-liquid-motion::before {
opacity: 0.5;
}
.adp-ssh-terminal-window.is-liquid-motion::after {
animation: adp-ssh-tahoe-sheen 520ms cubic-bezier(0.16, 1, 0.3, 1) both;
will-change: transform, opacity;
}
.adp-ssh-terminal-window.is-motion-minimize::after {
animation-duration: 460ms;
}
.adp-ssh-terminal-window.is-motion-close::after {
animation-duration: 260ms;
animation-timing-function: cubic-bezier(0.4, 0, 1, 1);
}
.adp-ssh-terminal-window.is-motion-lite::after {
display: none;
}
.adp-ssh-terminal-window.is-interacting {
transition: none;
user-select: none;
will-change: transform, width, height;
}
.adp-ssh-terminal-window.is-interacting .adp-ssh-terminal-frame {
pointer-events: none;
}
.adp-ssh-terminal-window.is-minimized {
width: min(380px, calc(100vw - 24px));
height: 38px;
min-height: 38px;
border-radius: 12px;
border-color: rgba(45, 212, 191, 0.38);
}
.adp-ssh-terminal-titlebar {
position: relative;
z-index: 4;
height: 34px;
flex: 0 0 34px;
display: grid;
grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
align-items: center;
gap: 8px;
padding: 0 8px 0 11px;
border-bottom: 1px solid rgba(148, 163, 184, 0.15);
background: linear-gradient(180deg, rgba(15, 23, 42, 0.98), rgba(2, 6, 23, 0.98));
color: #d1d5db;
cursor: grab;
touch-action: none;
}
.adp-ssh-terminal-window.is-dragging .adp-ssh-terminal-titlebar {
cursor: grabbing;
}
.adp-ssh-terminal-title {
min-width: 0;
display: flex;
align-items: center;
gap: 8px;
font: 600 12px/1 Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
color: rgba(226, 232, 240, 0.92);
letter-spacing: 0;
}
.adp-ssh-terminal-title i {
color: #2dd4bf;
font-size: 12px;
}
.adp-ssh-terminal-title span {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.adp-ssh-terminal-grip {
width: 58px;
height: 4px;
border-radius: 999px;
background: rgba(148, 163, 184, 0.42);
justify-self: center;
}
.adp-ssh-terminal-controls {
position: relative;
z-index: 7;
justify-self: end;
display: flex;
align-items: center;
gap: 6px;
}
.adp-ssh-terminal-control {
width: 24px;
height: 24px;
display: inline-flex;
align-items: center;
justify-content: center;
border-radius: 6px;
border: 1px solid rgba(148, 163, 184, 0.18);
background: rgba(15, 23, 42, 0.78);
color: rgba(226, 232, 240, 0.92);
cursor: pointer;
padding: 0;
transition: background-color 120ms ease, border-color 120ms ease, color 120ms ease;
}
.adp-ssh-terminal-control:hover {
background: rgba(51, 65, 85, 0.82);
border-color: rgba(148, 163, 184, 0.34);
}
.adp-ssh-terminal-control[data-adp-ssh-close]:hover {
background: rgba(239, 68, 68, 0.88);
border-color: rgba(248, 113, 113, 0.96);
color: #fff;
}
.adp-ssh-terminal-frame-wrap {
position: relative;
z-index: 1;
min-height: 0;
flex: 1 1 auto;
overflow: hidden;
background: #000;
}
.adp-ssh-terminal-window.is-minimized .adp-ssh-terminal-frame-wrap {
width: 1px;
height: 1px;
min-height: 0;
flex: 0 0 1px;
overflow: hidden;
opacity: 0;
pointer-events: none;
}
.adp-ssh-terminal-frame {
width: 100%;
height: 100%;
border: 0;
display: block;
background: #000;
}
.adp-ssh-terminal-resize {
position: absolute;
z-index: 5;
display: block;
touch-action: none;
}
@keyframes adp-ssh-tahoe-sheen {
0% {
opacity: 0;
transform: translate3d(-42%, -22%, 0) rotate(9deg) scale(0.78);
}
34% {
opacity: 0.95;
}
100% {
opacity: 0;
transform: translate3d(34%, 18%, 0) rotate(9deg) scale(1.14);
}
}
.adp-ssh-terminal-window.is-minimized .adp-ssh-terminal-resize {
display: none;
}
.adp-ssh-terminal-resize-n {
top: 0;
left: 16px;
right: 16px;
height: 7px;
cursor: ns-resize;
}
.adp-ssh-terminal-resize-e {
top: 16px;
right: 0;
bottom: 16px;
width: 7px;
cursor: ew-resize;
}
.adp-ssh-terminal-resize-s {
right: 16px;
bottom: 0;
left: 16px;
height: 7px;
cursor: ns-resize;
}
.adp-ssh-terminal-resize-w {
top: 16px;
bottom: 16px;
left: 0;
width: 7px;
cursor: ew-resize;
}
.adp-ssh-terminal-resize-ne,
.adp-ssh-terminal-resize-nw,
.adp-ssh-terminal-resize-se,
.adp-ssh-terminal-resize-sw {
width: 16px;
height: 16px;
}
.adp-ssh-terminal-resize-ne {
top: 0;
right: 0;
cursor: nesw-resize;
}
.adp-ssh-terminal-resize-nw {
top: 0;
left: 0;
cursor: nwse-resize;
}
.adp-ssh-terminal-resize-se {
right: 0;
bottom: 0;
cursor: nwse-resize;
}
.adp-ssh-terminal-resize-sw {
bottom: 0;
left: 0;
cursor: nesw-resize;
}
.adp-ssh-terminal-launcher {
position: fixed;
right: 18px;
bottom: 18px;
z-index: 2147482500;
width: 42px;
height: 42px;
display: inline-flex;
align-items: center;
justify-content: center;
border-radius: 8px;
border: none;
background: rgba(2, 6, 23, 0.86);
color: #d1d5db;
box-shadow: 0 10px 26px rgba(0, 0, 0, 0.34);
cursor: pointer;
transition: transform 140ms ease, color 140ms ease, box-shadow 140ms ease;
}
.adp-ssh-terminal-launcher:hover {
transform: translateY(-1px) scale(1.03);
color: #f8fafc;
box-shadow: 0 12px 30px rgba(0, 0, 0, 0.42);
}
.adp-ssh-terminal-launcher.is-hidden {
display: none;
}
@media (max-width: 640px) {
.adp-ssh-terminal-window {
min-width: 280px;
min-height: 220px;
border-radius: 12px;
}
.adp-ssh-terminal-window.is-minimized {
width: min(340px, calc(100vw - 16px));
}
.adp-ssh-terminal-grip {
width: 42px;
}
}
@media (pointer: coarse) {
.adp-ssh-terminal-titlebar {
height: 38px;
flex-basis: 38px;
}
.adp-ssh-terminal-resize-n,
.adp-ssh-terminal-resize-s {
height: 12px;
}
.adp-ssh-terminal-resize-e,
.adp-ssh-terminal-resize-w {
width: 12px;
}
.adp-ssh-terminal-resize-ne,
.adp-ssh-terminal-resize-nw,
.adp-ssh-terminal-resize-se,
.adp-ssh-terminal-resize-sw {
width: 22px;
height: 22px;
}
}
@media (prefers-reduced-motion: reduce), (update: slow) {
.adp-ssh-terminal-window,
.adp-ssh-terminal-launcher {
transition-duration: 60ms;
}
.adp-ssh-terminal-window {
box-shadow: 0 12px 34px rgba(0, 0, 0, 0.42), 0 0 0 1px rgba(15, 23, 42, 0.58);
}
.adp-ssh-terminal-window::before {
opacity: 0.28;
}
.adp-ssh-terminal-window::after {
display: none;
}
}
@media (prefers-reduced-transparency: reduce) {
.adp-ssh-terminal-window::before,
.adp-ssh-terminal-window::after {
display: none;
}
}
+567
View File
@@ -0,0 +1,567 @@
/* Admin /status monitoring page styles.
* Apple 2026 + Dieter Rams aesthetic.
* Less, but better. Honest materials. Tabular numerics. No decoration without purpose.
*/
:root {
--monitor-font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
"Inter", "Manrope", "Segoe UI", system-ui, sans-serif;
--monitor-mono: ui-monospace, "SF Mono", "JetBrains Mono", "Menlo", "Consolas", monospace;
--monitor-surface: rgba(255, 255, 255, 0.035);
--monitor-surface-strong: rgba(255, 255, 255, 0.05);
--monitor-border: rgba(255, 255, 255, 0.07);
--monitor-border-soft: rgba(255, 255, 255, 0.045);
--monitor-text: rgba(255, 255, 255, 0.95);
--monitor-text-muted: rgba(255, 255, 255, 0.55);
--monitor-text-faint: rgba(255, 255, 255, 0.38);
--monitor-accent: #22d3ee;
--monitor-accent-soft: rgba(34, 211, 238, 0.18);
--monitor-radius-card: 22px;
--monitor-radius-row: 14px;
}
/* ===== Page shell ===== */
.monitor {
width: min(1180px, calc(100% - 48px));
margin: 0 auto;
padding: 8px 0 40px;
display: flex;
flex-direction: column;
gap: 22px;
font-family: var(--monitor-font);
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
/* ===== Page header ===== */
.monitor-head {
display: flex;
align-items: flex-end;
justify-content: space-between;
flex-wrap: wrap;
gap: 16px;
padding: 4px 2px 0;
}
.monitor-head h2 {
font-size: clamp(1.6rem, 3.2vh, 2.1rem);
font-weight: 600;
letter-spacing: -0.02em;
color: var(--monitor-text);
line-height: 1.15;
}
.monitor-head p {
color: var(--monitor-text-muted);
font-size: 14px;
margin-top: 6px;
line-height: 1.5;
max-width: 56ch;
}
.monitor-head__meta {
display: flex;
gap: 10px;
flex-wrap: wrap;
}
.monitor-chip {
display: inline-flex;
align-items: center;
gap: 9px;
padding: 9px 14px;
border-radius: 999px;
background: rgba(255, 255, 255, 0.06);
border: 1px solid rgba(255, 255, 255, 0.12);
color: var(--monitor-text-muted);
font-size: 13px;
font-weight: 500;
letter-spacing: 0.005em;
font-variant-numeric: tabular-nums;
-webkit-backdrop-filter: blur(24px) saturate(180%);
backdrop-filter: blur(24px) saturate(180%);
box-shadow:
0 1px 0 rgba(255, 255, 255, 0.12) inset,
0 -1px 0 rgba(0, 0, 0, 0.18) inset,
0 8px 22px rgba(0, 0, 0, 0.28);
transition: transform 0.22s cubic-bezier(0.22, 0.61, 0.36, 1),
background 0.22s ease, border-color 0.22s ease;
}
.monitor-chip:hover {
background: rgba(255, 255, 255, 0.09);
border-color: rgba(255, 255, 255, 0.16);
transform: translateY(-1px);
}
.monitor-chip strong {
color: var(--monitor-text);
font-weight: 600;
}
.monitor-chip i {
color: var(--monitor-accent);
font-size: 12.5px;
width: 14px;
text-align: center;
}
/* ===== Card surface ===== */
.monitor-card {
background: var(--monitor-surface);
border: 1px solid var(--monitor-border-soft);
border-radius: var(--monitor-radius-card);
padding: 24px 26px;
box-shadow:
0 1px 0 rgba(255, 255, 255, 0.04) inset,
0 18px 40px rgba(0, 0, 0, 0.22);
-webkit-backdrop-filter: blur(14px) saturate(140%);
backdrop-filter: blur(14px) saturate(140%);
}
.monitor-card__title {
display: flex;
align-items: center;
gap: 9px;
font-size: 12.5px;
font-weight: 600;
letter-spacing: 0.04em;
text-transform: none;
color: var(--monitor-text-muted);
margin-bottom: 22px;
}
.monitor-card__title i {
color: var(--monitor-accent);
font-size: 13px;
width: 16px;
text-align: center;
}
/* ===== Metrics Hero Grid (Apple-inspired circular cards) ===== */
.metrics-hero {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
gap: 20px;
margin-bottom: 8px;
}
.metric-card {
position: relative;
background: var(--monitor-surface);
border: 1px solid var(--monitor-border-soft);
border-radius: var(--monitor-radius-card);
padding: 36px 28px 28px;
display: flex;
flex-direction: column;
align-items: center;
min-height: 260px;
box-shadow:
0 1px 0 rgba(255, 255, 255, 0.04) inset,
0 18px 40px rgba(0, 0, 0, 0.22);
-webkit-backdrop-filter: blur(14px) saturate(140%);
backdrop-filter: blur(14px) saturate(140%);
transition: transform 0.3s cubic-bezier(0.22, 0.61, 0.36, 1),
box-shadow 0.3s ease,
border-color 0.3s ease;
overflow: visible;
}
.metric-card:hover {
transform: translateY(-2px);
border-color: rgba(255, 255, 255, 0.12);
box-shadow:
0 1px 0 rgba(255, 255, 255, 0.06) inset,
0 24px 48px rgba(0, 0, 0, 0.3);
}
.metric-card__ring {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 240px;
height: 240px;
opacity: 0.5;
pointer-events: none;
z-index: 0;
}
.metric-card__ring svg {
width: 100%;
height: 100%;
transform: rotate(0deg);
}
.metric-card__ring-fill {
transition: stroke-dasharray 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.metric-card__icon {
width: 28px;
height: 28px;
display: flex;
align-items: center;
justify-content: center;
font-size: 24px;
color: rgba(255, 255, 255, 0.5);
margin-bottom: 14px;
position: relative;
z-index: 1;
}
.metric-card__label {
font-size: 13px;
font-weight: 500;
color: var(--monitor-text-muted);
letter-spacing: 0.01em;
text-align: center;
margin-bottom: 20px;
position: relative;
z-index: 1;
}
.metric-card__value {
font-size: 48px;
font-weight: 700;
color: var(--monitor-text);
font-variant-numeric: tabular-nums;
letter-spacing: -0.03em;
line-height: 1;
margin-bottom: 8px;
position: relative;
z-index: 1;
}
.metric-card__detail {
font-size: 12px;
color: var(--monitor-text-muted);
font-variant-numeric: tabular-nums;
text-align: center;
letter-spacing: 0.01em;
display: flex;
align-items: center;
gap: 2px;
position: relative;
z-index: 1;
}
/* ===== Stats Row (Live metrics) ===== */
.stats-row {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 16px;
margin-bottom: 6px;
}
.stat-pill {
display: flex;
align-items: center;
gap: 16px;
padding: 20px 24px;
background: var(--monitor-surface);
border: 1px solid var(--monitor-border-soft);
border-radius: var(--monitor-radius-card);
box-shadow:
0 1px 0 rgba(255, 255, 255, 0.04) inset,
0 12px 30px rgba(0, 0, 0, 0.18);
-webkit-backdrop-filter: blur(14px) saturate(140%);
backdrop-filter: blur(14px) saturate(140%);
transition: transform 0.25s cubic-bezier(0.22, 0.61, 0.36, 1),
border-color 0.25s ease;
}
.stat-pill:hover {
transform: translateY(-1px);
border-color: rgba(255, 255, 255, 0.1);
}
.stat-pill__icon {
font-size: 24px;
line-height: 1;
color: rgba(255, 255, 255, 0.5);
display: flex;
align-items: center;
justify-content: center;
width: 32px;
flex-shrink: 0;
}
.stat-pill__body {
display: flex;
flex-direction: column;
gap: 4px;
min-width: 0;
}
.stat-pill__label {
font-size: 12px;
color: var(--monitor-text-muted);
letter-spacing: 0.01em;
font-weight: 500;
}
.stat-pill__value {
font-size: 24px;
font-weight: 600;
color: var(--monitor-text);
font-variant-numeric: tabular-nums;
letter-spacing: -0.02em;
line-height: 1.1;
}
/* ===== Services grid ===== */
.svc-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
gap: 10px;
}
.svc-row {
display: flex;
align-items: center;
gap: 12px;
padding: 12px 14px;
border-radius: var(--monitor-radius-row);
background: var(--monitor-surface-strong);
border: 1px solid var(--monitor-border-soft);
}
.svc-row__dot {
width: 8px;
height: 8px;
border-radius: 50%;
flex: none;
background: var(--monitor-text-faint);
transition: background 0.3s ease, box-shadow 0.3s ease;
}
.svc-row[data-state="ok"] .svc-row__dot {
background: #22c55e;
box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.12);
}
.svc-row[data-state="warn"] .svc-row__dot {
background: #f59e0b;
box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.14);
}
.svc-row[data-state="bad"] .svc-row__dot {
background: #ef4444;
box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.14);
}
.svc-row__body { min-width: 0; }
.svc-row__name {
font-size: 13.5px;
font-weight: 500;
color: var(--monitor-text);
letter-spacing: -0.005em;
}
.svc-row__val {
font-size: 12px;
color: var(--monitor-text-muted);
margin-top: 2px;
font-variant-numeric: tabular-nums;
}
/* ===== History graph + calendar ===== */
.graph-wrap {
display: flex;
flex-direction: column;
gap: 18px;
}
.graph-head {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
flex-wrap: wrap;
}
.graph-legend {
display: inline-flex;
align-items: center;
gap: 4px;
padding: 4px;
border-radius: 999px;
background: var(--monitor-surface);
border: 1px solid var(--monitor-border-soft);
}
.graph-legend span {
display: inline-flex;
align-items: center;
gap: 7px;
font-size: 12px;
color: var(--monitor-text-muted);
font-variant-numeric: tabular-nums;
padding: 5px 11px;
border-radius: 999px;
font-weight: 500;
}
.graph-legend i {
width: 8px;
height: 8px;
border-radius: 50%;
display: inline-block;
}
#graphLabel {
font-size: 12.5px;
color: var(--monitor-text-muted);
font-variant-numeric: tabular-nums;
font-weight: 500;
letter-spacing: 0.01em;
}
#metricsGraph {
width: 100%;
height: 220px;
display: block;
border-radius: 14px;
background: var(--monitor-surface);
border: 1px solid var(--monitor-border-soft);
padding: 14px;
box-sizing: border-box;
}
/* Calendar */
.calendar { margin-top: 4px; }
.calendar-head {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 14px;
gap: 12px;
flex-wrap: wrap;
}
.calendar-nav {
display: inline-flex;
align-items: center;
gap: 4px;
padding: 4px;
border-radius: 999px;
background: var(--monitor-surface);
border: 1px solid var(--monitor-border-soft);
}
.calendar-nav-btn {
width: 30px;
height: 30px;
display: inline-flex;
align-items: center;
justify-content: center;
border-radius: 999px;
border: none;
background: transparent;
color: var(--monitor-text-muted);
font-size: 11px;
cursor: pointer;
transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
.calendar-nav-btn:hover:not(:disabled) {
background: var(--monitor-surface-strong);
color: var(--monitor-text);
}
.calendar-nav-btn:active:not(:disabled) {
transform: scale(0.94);
}
.calendar-nav-btn:disabled {
opacity: 0.3;
cursor: not-allowed;
}
.calendar-head__month {
font-size: 14.5px;
font-weight: 600;
color: var(--monitor-text);
letter-spacing: -0.01em;
padding: 0 10px;
min-width: 130px;
text-align: center;
font-variant-numeric: tabular-nums;
}
.calendar-head__hint {
font-size: 12px;
color: var(--monitor-text-faint);
}
.cal-grid {
display: grid;
grid-template-columns: repeat(7, 1fr);
gap: 6px;
}
.cal-weekday {
text-align: center;
font-size: 10.5px;
font-weight: 600;
color: var(--monitor-text-faint);
text-transform: uppercase;
letter-spacing: 0.08em;
padding: 8px 0 10px;
}
.cal-cell {
position: relative;
aspect-ratio: 1 / 1;
border-radius: 12px;
border: 1px solid var(--monitor-border-soft);
background: var(--monitor-surface);
color: var(--monitor-text);
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
padding: 0;
font-family: var(--monitor-font);
transition:
transform 0.2s cubic-bezier(0.22, 0.61, 0.36, 1),
box-shadow 0.2s ease,
background 0.2s ease,
border-color 0.2s ease;
overflow: hidden;
}
.cal-cell:hover:not(.cal-cell--blank):not(.cal-cell--active) {
transform: translateY(-1px);
background: var(--monitor-surface-strong);
border-color: rgba(255, 255, 255, 0.1);
}
.cal-cell--blank {
background: transparent;
border-color: transparent;
cursor: default;
}
.cal-cell--blank:hover { transform: none; }
.cal-cell__num {
font-size: 13.5px;
font-weight: 500;
font-variant-numeric: tabular-nums;
letter-spacing: -0.01em;
line-height: 1;
}
/* Active/selected day: same look as unselected, just "pressed" (sunken). */
.cal-cell--active {
transform: scale(0.9);
background: rgba(0, 0, 0, 0.28);
border-color: rgba(255, 255, 255, 0.04);
box-shadow:
inset 0 2px 4px rgba(0, 0, 0, 0.45),
inset 0 -1px 0 rgba(255, 255, 255, 0.03);
}
.cal-cell--active .cal-cell__num { color: var(--monitor-text); }
/* Heat indicator + today dot are intentionally hidden — minimal cells. */
.cal-cell__heat,
.cal-cell--today .cal-cell__num::after { display: none; }
/* ===== Responsive ===== */
@media (max-width: 920px) {
.metrics-hero {
grid-template-columns: repeat(2, 1fr);
}
}
@media (max-width: 720px) {
.monitor-head { align-items: flex-start; }
.monitor-head__meta { width: 100%; }
.monitor-chip { font-size: 12.5px; padding: 8px 12px; }
.calendar-head { flex-direction: column; align-items: flex-start; gap: 8px; }
.stats-row {
grid-template-columns: 1fr;
}
}
@media (max-width: 640px) {
.monitor { width: calc(100% - 28px); }
.monitor-card { padding: 20px 18px; }
.metric-card { padding: 32px 24px 28px; min-height: 240px; }
.metric-card__value { font-size: 40px; }
.metric-card__ring { width: 210px; height: 210px; }
.metrics-hero { grid-template-columns: 1fr; gap: 16px; }
.cal-cell { padding: 4px 2px 6px; gap: 3px; }
.cal-cell__num { font-size: 12.5px; }
.cal-cell__heat { height: 2.5px; }
.monitor-chip { font-size: 12px; padding: 7px 11px; }
.stat-pill { padding: 16px 20px; }
}