Initial upload to Gitea
This commit is contained in:
1 parent
78193254ad
commit
8478998cae
1485 files changed
+461025
-42348
No files matched your search
+930
-254
File diff suppressed because it is too large.
Load diff
+856
-470
File diff suppressed because it is too large.
Load diff
@@ -1,5 +1,5 @@
|
||||
:root {
|
||||
--ui-bg: url("/images/waves.png?v=1780686309159");
|
||||
--ui-bg: url("/images/liquidor.avif");
|
||||
}
|
||||
|
||||
.btn-primary {
|
||||
@@ -849,59 +849,6 @@
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
/* Quick Action Custom Scale Animation - Independent Element Scaling */
|
||||
.quick-action.qa-anim-scale {
|
||||
position: relative;
|
||||
transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
|
||||
transform-origin: center center;
|
||||
isolation: isolate;
|
||||
}
|
||||
|
||||
.quick-action.qa-anim-scale:hover {
|
||||
transform: scale(var(--hover-scale, 1.05));
|
||||
}
|
||||
|
||||
/* Create wrapper for content that doesn't scale */
|
||||
.quick-action.qa-anim-scale > i,
|
||||
.quick-action.qa-anim-scale > p {
|
||||
display: inline-block;
|
||||
transform-style: preserve-3d;
|
||||
transform: translateZ(100px) scale(1);
|
||||
transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
|
||||
}
|
||||
|
||||
/* Counter-scale on hover */
|
||||
.quick-action.qa-anim-scale:hover > i,
|
||||
.quick-action.qa-anim-scale:hover > p {
|
||||
transform: translateZ(100px) scale(calc(1 / var(--hover-scale, 1.05)));
|
||||
}
|
||||
|
||||
/* Preview Card */
|
||||
.quick-action-preview-card.qa-anim-scale {
|
||||
position: relative;
|
||||
transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
|
||||
transform-origin: center center;
|
||||
isolation: isolate;
|
||||
}
|
||||
|
||||
.quick-action-preview-card.qa-anim-scale:hover {
|
||||
transform: scale(var(--hover-scale, 1.05));
|
||||
}
|
||||
|
||||
/* Preview card children with 3D transform */
|
||||
.quick-action-preview-card.qa-anim-scale > i,
|
||||
.quick-action-preview-card.qa-anim-scale > p {
|
||||
display: inline-block;
|
||||
transform-style: preserve-3d;
|
||||
transform: translateZ(100px) scale(1);
|
||||
transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
|
||||
}
|
||||
|
||||
/* Counter-scale on hover */
|
||||
.quick-action-preview-card.qa-anim-scale:hover > i,
|
||||
.quick-action-preview-card.qa-anim-scale:hover > p {
|
||||
transform: translateZ(100px) scale(calc(1 / var(--hover-scale, 1.05)));
|
||||
}
|
||||
|
||||
/* Hide scrollbar for modals */
|
||||
.enterprise-modal,
|
||||
|
||||
Vendored
+1129
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,47 @@
|
||||
.agent-review {
|
||||
--review-border: color-mix(in srgb, currentColor 22%, transparent);
|
||||
--review-add: #13754d;
|
||||
--review-remove: #b33446;
|
||||
box-sizing: border-box;
|
||||
max-width: 100%;
|
||||
min-width: 0;
|
||||
margin-top: 0.65rem;
|
||||
padding: 0.75rem;
|
||||
border: 1px solid var(--review-border);
|
||||
border-radius: 8px;
|
||||
background: color-mix(in srgb, currentColor 4%, transparent);
|
||||
}
|
||||
|
||||
.agent-review h3 { margin: 0 0 0.4rem; font-size: 0.95rem; }
|
||||
.ai-message-body:has(> .agent-action-log, > .agent-review:not([hidden])) { min-width: 0; }
|
||||
.ai-message-body:has(> .agent-action-log, > .agent-review:not([hidden])) > .ai-proposal-placeholder { display: none; }
|
||||
.agent-review pre { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; tab-size: 4; }
|
||||
.agent-review details { margin: 0.5rem 0; }
|
||||
.agent-review details pre { max-height: 14rem; overflow: auto; border: 1px solid var(--review-border); border-radius: 4px; }
|
||||
.agent-review-target, .agent-review details pre { font-size: 0.825rem; }
|
||||
.agent-review-target:empty, .agent-review p:empty { display: none; }
|
||||
.agent-review-plan { margin: 0.65rem 0; padding-inline-start: 1.5rem; }
|
||||
.agent-review-plan li + li { margin-top: 0.65rem; }
|
||||
.agent-review-plan strong { font-size: 0.875rem; }
|
||||
.agent-review-line { display: block; padding-inline: 0.4rem; min-height: 1em; }
|
||||
.agent-review-line-add { border-inline-start: 3px solid var(--review-add); background: color-mix(in srgb, var(--review-add) 19%, transparent); }
|
||||
.agent-review-line-remove { border-inline-start: 3px solid var(--review-remove); background: color-mix(in srgb, var(--review-remove) 18%, transparent); }
|
||||
.agent-review-line-hunk { background: color-mix(in srgb, currentColor 9%, transparent); }
|
||||
.agent-review-controls { display: flex; flex-wrap: wrap; justify-content: end; gap: 0.5rem; }
|
||||
.agent-review-controls button { padding: 0.45rem 0.75rem; max-width: 100%; border: 1px solid var(--review-border); border-radius: 4px; background: transparent; color: inherit; cursor: pointer; }
|
||||
.agent-review-controls #aiReviewApply { background: var(--review-add); color: white; }
|
||||
.agent-review-controls button:disabled { opacity: 0.55; }
|
||||
|
||||
.agent-action-log { margin: 0 0 0.6rem; overflow-wrap: anywhere; }
|
||||
.agent-action-log h3 { margin: 0 0 0.25rem; font-size: 0.85rem; }
|
||||
.agent-action-log ol { margin: 0; padding-inline-start: 1.25rem; font-size: 0.825rem; }
|
||||
.agent-action-log li + li { margin-top: 0.35rem; }
|
||||
.agent-action-log code, .agent-action-detail { display: block; white-space: pre-wrap; }
|
||||
.agent-action-status { margin-inline-start: 0.5rem; font-size: 0.75rem; }
|
||||
.agent-action-detail { opacity: 0.8; }
|
||||
|
||||
.ai-chat-toolbar .agent-access-picker { flex: 0 1 auto; width: auto; max-width: 100%; color-scheme: dark; }
|
||||
@media (max-width: 480px) {
|
||||
.ai-chat-toolbar:has(.agent-access-picker) { flex-wrap: wrap; }
|
||||
.ai-chat-toolbar .agent-access-picker { min-height: 34px; }
|
||||
}
|
||||
@@ -318,13 +318,11 @@
|
||||
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;
|
||||
transition: color 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 {
|
||||
|
||||
+1
@@ -0,0 +1 @@
|
||||
@keyframes adp-ssh-tahoe-sheen{0%{opacity:0;transform:translate3d(-42%,-22%,0) rotate(9deg) scale(.78)}34%{opacity:.95}to{opacity:0;transform:translate3d(34%,18%,0) rotate(9deg) scale(1.14)}}.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,.24);background:#020617;box-shadow:0 18px 52px rgba(0,0,0,.48),0 0 0 1px rgba(15,23,42,.64);z-index:2147483000;opacity:0;transform:translate3d(var(--adp-ssh-x, 24px),var(--adp-ssh-y, 24px),0) scale(.985);transform-origin:top left;transition:opacity 140ms ease,transform 180ms cubic-bezier(.2,.8,.2,1);contain:layout paint style;isolation:isolate;backface-visibility:hidden}.adp-ssh-terminal-window::after,.adp-ssh-terminal-window::before{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,.17),transparent 28%),linear-gradient(145deg,rgba(255,255,255,.12),transparent 32%,rgba(45,212,191,.08) 72%,transparent);opacity:.28}.adp-ssh-terminal-window::after{inset:-58%;z-index:6;opacity:0;background:radial-gradient(ellipse at 50% 50%,rgba(255,255,255,.34),rgba(45,212,191,.16) 28%,transparent 58%),linear-gradient(105deg,transparent 34%,rgba(255,255,255,.42) 48%,transparent 62%);transform:translate3d(-42%,-22%,0) rotate(9deg) scale(.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:.5}.adp-ssh-terminal-window.is-liquid-motion::after{animation:adp-ssh-tahoe-sheen 520ms cubic-bezier(.16,1,.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(.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,.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,.15);background:linear-gradient(180deg,rgba(15,23,42,.98),rgba(2,6,23,.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,.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,.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,.18);background:rgba(15,23,42,.78);color:rgba(226,232,240,.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,.82);border-color:rgba(148,163,184,.34)}.adp-ssh-terminal-control[data-adp-ssh-close]:hover{background:rgba(239,68,68,.88);border-color:rgba(248,113,113,.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}.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:7pxLine truncated
|
||||
@@ -24,7 +24,7 @@
|
||||
.monitor {
|
||||
width: min(1180px, calc(100% - 48px));
|
||||
margin: 0 auto;
|
||||
padding: 8px 0 40px;
|
||||
padding: 28px 0 40px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 22px;
|
||||
@@ -146,6 +146,7 @@
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
min-height: 260px;
|
||||
box-shadow:
|
||||
0 1px 0 rgba(255, 255, 255, 0.04) inset,
|
||||
@@ -159,7 +160,6 @@
|
||||
}
|
||||
|
||||
.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,
|
||||
@@ -189,16 +189,12 @@
|
||||
}
|
||||
|
||||
.metric-card__icon {
|
||||
width: 28px;
|
||||
height: 28px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 24px;
|
||||
font-size: 13px;
|
||||
color: rgba(255, 255, 255, 0.5);
|
||||
margin-bottom: 14px;
|
||||
margin-right: 5px;
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.metric-card__label {
|
||||
@@ -207,9 +203,12 @@
|
||||
color: var(--monitor-text-muted);
|
||||
letter-spacing: 0.01em;
|
||||
text-align: center;
|
||||
margin-bottom: 20px;
|
||||
margin-bottom: 16px;
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-direction: row;
|
||||
}
|
||||
|
||||
.metric-card__value {
|
||||
@@ -263,7 +262,6 @@
|
||||
}
|
||||
|
||||
.stat-pill:hover {
|
||||
transform: translateY(-1px);
|
||||
border-color: rgba(255, 255, 255, 0.1);
|
||||
}
|
||||
|
||||
|
||||
Vendored
+567
@@ -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; }
|
||||
}
|
||||
Reference in new issue
Block a user