407 lines
15 KiB
CSS
407 lines
15 KiB
CSS
@import "tailwindcss";
|
|
|
|
/* ────────────────────────────────────────────────────────────────────────
|
|
CluPilot design tokens — sourced from templates/akutell/* (light glass).
|
|
──────────────────────────────────────────────────────────────────────── */
|
|
@theme {
|
|
--color-fg: #1a1a22;
|
|
--color-muted: #5c5c6b;
|
|
--color-muted-2: #9596a6;
|
|
--color-hairline: rgba(30,35,60,0.08);
|
|
|
|
--color-accent: #3b6ff2;
|
|
--color-accent-2: #7c5cff;
|
|
--color-success: #15a06a;
|
|
--color-warning: #c2820f;
|
|
--color-danger: #db3b3b;
|
|
--color-purple: #c084fc;
|
|
|
|
--color-accent-soft: rgba(59,111,242,0.12);
|
|
--color-success-soft: rgba(21,160,106,0.12);
|
|
--color-warning-soft: rgba(194,130,15,0.12);
|
|
--color-danger-soft: rgba(219,59,59,0.12);
|
|
|
|
--color-glass: rgba(255,255,255,0.55);
|
|
--color-glass-strong: rgba(255,255,255,0.72);
|
|
--color-glass-soft: rgba(255,255,255,0.40);
|
|
--color-glass-border: rgba(255,255,255,0.75);
|
|
|
|
--color-term-bg: rgba(14,15,24,0.92);
|
|
--color-term-border: rgba(255,255,255,0.12);
|
|
|
|
--radius-xs: 11px;
|
|
--radius-sm: 13px;
|
|
--radius: 20px;
|
|
|
|
--font-sans: "Inter", system-ui, -apple-system, sans-serif;
|
|
--font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
|
|
|
|
--shadow-glass: 0 10px 34px -10px rgba(40,52,92,0.20), 0 2px 8px -2px rgba(40,52,92,0.08);
|
|
--shadow-glass-inset: inset 0 1px 0 rgba(255,255,255,0.95), inset 0 -1px 0 rgba(255,255,255,0.25);
|
|
}
|
|
|
|
/* ───────── Base ───────── */
|
|
@layer base {
|
|
*, *::before, *::after { box-sizing: border-box; }
|
|
html, body {
|
|
margin: 0;
|
|
color: var(--color-fg);
|
|
font-family: var(--font-sans);
|
|
font-size: 13.5px;
|
|
line-height: 1.5;
|
|
-webkit-font-smoothing: antialiased;
|
|
min-height: 100vh;
|
|
}
|
|
a { color: var(--color-accent); text-decoration: none; }
|
|
a:hover { text-decoration: underline; }
|
|
button { font-family: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
|
|
|
|
body.clu-bg-aurora {
|
|
background:
|
|
radial-gradient(60% 55% at 12% 8%, rgba(99,140,255,0.30), transparent 60%),
|
|
radial-gradient(55% 50% at 88% 0%, rgba(140,108,255,0.26), transparent 58%),
|
|
radial-gradient(50% 60% at 78% 92%, rgba(64,196,210,0.22), transparent 60%),
|
|
radial-gradient(45% 50% at 25% 100%, rgba(120,170,255,0.20), transparent 60%),
|
|
linear-gradient(160deg,#eef1fb 0%,#f4f3fb 50%,#eaf2f8 100%);
|
|
background-attachment: fixed;
|
|
}
|
|
body.clu-bg-app {
|
|
background:
|
|
radial-gradient(80% 60% at 0% 0%, rgba(99,140,255,0.16), transparent 60%),
|
|
radial-gradient(60% 50% at 100% 0%, rgba(140,108,255,0.14), transparent 60%),
|
|
linear-gradient(180deg,#f3f4fa 0%,#eef0f6 100%);
|
|
background-attachment: fixed;
|
|
}
|
|
}
|
|
|
|
@keyframes clu-pulse { 0%{transform:scale(.6);opacity:.5} 100%{transform:scale(2.4);opacity:0} }
|
|
@keyframes clu-type-in { to{opacity:1;transform:translateY(0)} }
|
|
@keyframes clu-blink { 50%{opacity:0} }
|
|
@keyframes clu-spin { to{transform:rotate(360deg)} }
|
|
@keyframes clu-dot-pulse { 0%,100%{opacity:1} 50%{opacity:.3} }
|
|
@keyframes clu-fade { from{opacity:0;transform:translateY(4px)} to{opacity:1;transform:none} }
|
|
|
|
@layer utilities {
|
|
.clu-spin { animation: clu-spin .8s linear infinite; }
|
|
.clu-fade-in { animation: clu-fade .25s ease-out both; }
|
|
.dot-pulse { animation: clu-dot-pulse 2s infinite; }
|
|
}
|
|
|
|
@layer components {
|
|
|
|
/* Glass panel */
|
|
.clu-glass {
|
|
border-radius: var(--radius);
|
|
background: var(--color-glass-strong);
|
|
backdrop-filter: blur(28px) saturate(175%);
|
|
-webkit-backdrop-filter: blur(28px) saturate(175%);
|
|
border: 1px solid var(--color-glass-border);
|
|
box-shadow: var(--shadow-glass), var(--shadow-glass-inset);
|
|
}
|
|
.clu-glass-sm {
|
|
border-radius: var(--radius-sm);
|
|
background: var(--color-glass);
|
|
backdrop-filter: blur(14px) saturate(160%);
|
|
-webkit-backdrop-filter: blur(14px) saturate(160%);
|
|
border: 1px solid var(--color-glass-border);
|
|
box-shadow: inset 0 1px 0 rgba(255,255,255,0.8);
|
|
}
|
|
|
|
/* Brand mark */
|
|
.clu-brand-mark {
|
|
width: 30px; height: 30px;
|
|
border-radius: 9px;
|
|
background: linear-gradient(135deg, #5a8bff 0%, #8a63ff 100%);
|
|
display: grid; place-items: center;
|
|
box-shadow: 0 0 0 1px rgba(255,255,255,0.4) inset, 0 6px 16px -4px rgba(90,139,255,0.6);
|
|
flex: none;
|
|
}
|
|
.clu-brand-mark::before {
|
|
content: "";
|
|
width: 11px; height: 11px;
|
|
border-radius: 50%;
|
|
background: rgba(255,255,255,0.96);
|
|
box-shadow: inset 0 0 0 2px #5a8bff;
|
|
}
|
|
|
|
/* Status chip */
|
|
.clu-status-chip {
|
|
display: inline-flex; align-items: center; gap: 7px;
|
|
padding: 4px 11px 4px 9px;
|
|
border: 1px solid rgba(21,160,106,0.28);
|
|
background: var(--color-success-soft);
|
|
color: var(--color-success);
|
|
border-radius: 999px;
|
|
font-size: 11px; font-weight: 600;
|
|
font-family: var(--font-mono);
|
|
}
|
|
.clu-pulse-dot {
|
|
width: 6px; height: 6px;
|
|
border-radius: 50%;
|
|
background: currentColor;
|
|
position: relative; flex: none;
|
|
}
|
|
.clu-pulse-dot::after {
|
|
content: "";
|
|
position: absolute; inset: -3px;
|
|
border-radius: 50%;
|
|
background: currentColor;
|
|
opacity: 0.35;
|
|
animation: clu-pulse 1.8s ease-out infinite;
|
|
}
|
|
|
|
/* SSO button */
|
|
.clu-sso-btn {
|
|
display: flex; align-items: center; justify-content: center; gap: 8px;
|
|
padding: 10px 12px;
|
|
background: rgba(255,255,255,0.55);
|
|
border: 1px solid var(--color-hairline);
|
|
border-radius: var(--radius-xs);
|
|
color: var(--color-fg);
|
|
font-size: 12.5px; font-weight: 600;
|
|
transition: background .15s, border-color .15s;
|
|
box-shadow: inset 0 1px 0 rgba(255,255,255,0.8);
|
|
}
|
|
.clu-sso-btn:hover { background: rgba(255,255,255,0.9); border-color: var(--color-glass-border); }
|
|
.clu-sso-btn svg { flex: none; }
|
|
|
|
/* Divider */
|
|
.clu-divider {
|
|
display: flex; align-items: center; gap: 12px;
|
|
color: var(--color-muted-2);
|
|
font-size: 11px;
|
|
font-family: var(--font-mono);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.08em;
|
|
}
|
|
.clu-divider::before, .clu-divider::after {
|
|
content: "";
|
|
flex: 1; height: 1px;
|
|
background: var(--color-hairline);
|
|
}
|
|
|
|
/* Input wrapper */
|
|
.clu-input {
|
|
display: flex; align-items: center; gap: 10px;
|
|
padding: 0 13px;
|
|
background: rgba(255,255,255,0.5);
|
|
border: 1px solid var(--color-hairline);
|
|
border-radius: var(--radius-xs);
|
|
transition: border-color .15s, background .15s, box-shadow .15s;
|
|
height: 42px;
|
|
box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);
|
|
}
|
|
.clu-input:hover { border-color: var(--color-glass-border); background: rgba(255,255,255,0.65); }
|
|
.clu-input:focus-within {
|
|
border-color: rgba(59,111,242,0.5);
|
|
background: rgba(255,255,255,0.85);
|
|
box-shadow: 0 0 0 3px rgba(59,111,242,0.12);
|
|
}
|
|
.clu-input svg { color: var(--color-muted-2); flex: none; }
|
|
.clu-input input {
|
|
flex: 1;
|
|
background: none; border: 0; outline: 0;
|
|
color: var(--color-fg);
|
|
font-size: 13.5px;
|
|
font-family: inherit;
|
|
min-width: 0; height: 100%;
|
|
}
|
|
.clu-input input::placeholder { color: var(--color-muted-2); }
|
|
.clu-input .clu-eye {
|
|
color: var(--color-muted);
|
|
padding: 4px;
|
|
border-radius: 6px;
|
|
display: grid; place-items: center;
|
|
transition: color .15s, background .15s;
|
|
}
|
|
.clu-input .clu-eye:hover { color: var(--color-fg); background: rgba(255,255,255,0.7); }
|
|
|
|
/* Primary button */
|
|
.clu-btn-primary {
|
|
display: inline-flex; align-items: center; justify-content: center; gap: 8px;
|
|
padding: 11px 16px;
|
|
background: linear-gradient(180deg, #4f7dff, #3b6ff2);
|
|
color: #fff;
|
|
border-radius: var(--radius-xs);
|
|
font-weight: 600; font-size: 13.5px;
|
|
height: 44px;
|
|
transition: filter .15s, transform .05s;
|
|
box-shadow: 0 1px 0 rgba(255,255,255,0.3) inset, 0 6px 16px -5px rgba(59,111,242,0.65);
|
|
}
|
|
.clu-btn-primary:hover { filter: brightness(1.06); }
|
|
.clu-btn-primary:active { transform: translateY(1px); }
|
|
.clu-btn-primary:disabled { opacity: 0.7; cursor: progress; }
|
|
.clu-btn-primary .arrow { transition: transform .15s; }
|
|
.clu-btn-primary:hover .arrow { transform: translateX(2px); }
|
|
|
|
/* Alt / ghost button */
|
|
.clu-alt-btn {
|
|
display: flex; align-items: center; gap: 11px;
|
|
padding: 10px 13px;
|
|
background: rgba(255,255,255,0.4);
|
|
border: 1px solid var(--color-hairline);
|
|
border-radius: var(--radius-xs);
|
|
font-size: 12.5px; color: var(--color-fg); font-weight: 600;
|
|
transition: background .15s, border-color .15s;
|
|
}
|
|
.clu-alt-btn:hover { background: rgba(255,255,255,0.7); border-color: var(--color-glass-border); }
|
|
|
|
/* Checkbox */
|
|
.clu-checkbox {
|
|
display: inline-flex; align-items: center; gap: 9px;
|
|
font-size: 12.5px; color: var(--color-muted);
|
|
cursor: pointer; user-select: none;
|
|
}
|
|
.clu-checkbox input { display: none; }
|
|
.clu-checkbox .box {
|
|
width: 16px; height: 16px;
|
|
border-radius: 5px;
|
|
border: 1px solid rgba(30,35,60,0.2);
|
|
background: rgba(255,255,255,0.7);
|
|
display: grid; place-items: center;
|
|
transition: background .15s, border-color .15s;
|
|
flex: none;
|
|
}
|
|
.clu-checkbox input:checked + .box { background: var(--color-accent); border-color: var(--color-accent); }
|
|
.clu-checkbox .box svg { opacity: 0; transform: scale(.6); transition: opacity .15s, transform .15s; color: #fff; }
|
|
.clu-checkbox input:checked + .box svg { opacity: 1; transform: scale(1); }
|
|
.clu-checkbox:hover { color: var(--color-fg); }
|
|
|
|
/* Stat tile */
|
|
.clu-stat {
|
|
background: var(--color-glass);
|
|
border: 1px solid var(--color-glass-border);
|
|
border-radius: var(--radius-sm);
|
|
padding: 13px;
|
|
backdrop-filter: blur(14px) saturate(160%);
|
|
-webkit-backdrop-filter: blur(14px) saturate(160%);
|
|
box-shadow: inset 0 1px 0 rgba(255,255,255,0.8);
|
|
}
|
|
.clu-stat-label {
|
|
font-size: 10.5px;
|
|
color: var(--color-muted);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.06em;
|
|
font-weight: 600;
|
|
}
|
|
.clu-stat-value {
|
|
font-family: var(--font-mono);
|
|
font-size: 19px; font-weight: 600;
|
|
letter-spacing: -0.01em;
|
|
margin-top: 5px;
|
|
}
|
|
.clu-stat-value .unit {
|
|
font-size: 12px; color: var(--color-muted-2); font-weight: 500; margin-left: 2px;
|
|
}
|
|
.clu-stat-trend {
|
|
display: inline-flex; align-items: center; gap: 4px;
|
|
font-family: var(--font-mono); font-size: 10.5px;
|
|
color: var(--color-success);
|
|
margin-top: 5px;
|
|
}
|
|
.clu-stat-trend.warn { color: var(--color-warning); }
|
|
.clu-stat-trend.bad { color: var(--color-danger); }
|
|
|
|
/* Terminal card */
|
|
.clu-term-card {
|
|
background: var(--color-term-bg);
|
|
backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
|
|
border: 1px solid var(--color-term-border);
|
|
border-radius: var(--radius-sm);
|
|
overflow: hidden;
|
|
display: flex; flex-direction: column;
|
|
min-height: 280px;
|
|
box-shadow: 0 14px 40px -12px rgba(20,24,50,0.45), inset 0 1px 0 rgba(255,255,255,0.08);
|
|
}
|
|
.clu-term-head {
|
|
display: flex; align-items: center; gap: 10px;
|
|
padding: 10px 14px;
|
|
border-bottom: 1px solid rgba(255,255,255,0.07);
|
|
background: rgba(10,10,16,0.6);
|
|
}
|
|
.clu-term-dots { display: flex; gap: 5px; }
|
|
.clu-term-dots span { width: 9px; height: 9px; border-radius: 50%; background: #2a2a36; }
|
|
.clu-term-dots span:nth-child(1) { background: #f05252; }
|
|
.clu-term-dots span:nth-child(2) { background: #f5a623; }
|
|
.clu-term-dots span:nth-child(3) { background: #3ecf8e; }
|
|
.clu-term-title { font-family: var(--font-mono); font-size: 11.5px; color: #8888a0; flex: 1; text-align: center; }
|
|
.clu-term-meta { font-family: var(--font-mono); font-size: 10.5px; color: #5c5c70; }
|
|
.clu-term-body {
|
|
padding: 14px 16px;
|
|
font-family: var(--font-mono);
|
|
font-size: 11.5px; line-height: 1.6;
|
|
flex: 1; overflow: hidden;
|
|
color: #cccddd;
|
|
}
|
|
.clu-term-line {
|
|
display: flex; gap: 10px; align-items: flex-start;
|
|
opacity: 0; transform: translateY(4px);
|
|
animation: clu-type-in .35s ease forwards;
|
|
}
|
|
.clu-term-time { color: #5c5c70; flex: none; width: 60px; font-size: 10.5px; padding-top: 1px; }
|
|
.clu-term-text { flex: 1; min-width: 0; word-break: break-word; }
|
|
.clu-term-text .ok { color: #3ecf8e; }
|
|
.clu-term-text .warn { color: #f5a623; }
|
|
.clu-term-text .err { color: #f05252; }
|
|
.clu-term-text .acc { color: #6f9bff; }
|
|
.clu-term-text .dim { color: #8888a0; }
|
|
.clu-term-text .pkg { color: #c084fc; }
|
|
.clu-term-prompt { display: inline-flex; align-items: center; gap: 7px; color: #3ecf8e; }
|
|
.clu-term-prompt::before { content: "$"; color: #6f9bff; font-weight: 600; }
|
|
.clu-cursor {
|
|
display: inline-block;
|
|
width: 7px; height: 13px;
|
|
background: #6f9bff;
|
|
vertical-align: -2px;
|
|
animation: clu-blink 1s steps(1) infinite;
|
|
margin-left: 2px;
|
|
}
|
|
|
|
/* Live tag */
|
|
.clu-live-tag {
|
|
display: inline-flex; align-items: center; gap: 5px;
|
|
padding: 4px 9px;
|
|
font-size: 10.5px;
|
|
font-family: var(--font-mono);
|
|
color: var(--color-muted);
|
|
background: var(--color-glass);
|
|
border: 1px solid var(--color-glass-border);
|
|
border-radius: 7px;
|
|
box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);
|
|
}
|
|
.clu-live-tag .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--color-success); }
|
|
.clu-live-tag.warn .dot { background: var(--color-warning); }
|
|
.clu-live-tag.bad .dot { background: var(--color-danger); }
|
|
|
|
/* Auth two-column grid */
|
|
.clu-auth-grid {
|
|
position: relative;
|
|
z-index: 1;
|
|
min-height: 100vh;
|
|
display: grid;
|
|
grid-template-columns: minmax(420px, 1fr) 1.05fr;
|
|
gap: 14px;
|
|
padding: 14px;
|
|
}
|
|
@media (max-width: 1080px) {
|
|
.clu-auth-grid { grid-template-columns: 1fr; padding: 12px; }
|
|
.clu-auth-grid > .clu-auth-side-right { display: none; }
|
|
}
|
|
|
|
/* Pills */
|
|
.clu-pill {
|
|
display: inline-flex; align-items: center; gap: 5px;
|
|
padding: 2px 8px;
|
|
font-size: 10.5px;
|
|
font-family: var(--font-mono);
|
|
font-weight: 600;
|
|
border-radius: 999px;
|
|
border: 1px solid currentColor;
|
|
}
|
|
.clu-pill.success { color: var(--color-success); background: var(--color-success-soft); border-color: rgba(21,160,106,0.28); }
|
|
.clu-pill.warning { color: var(--color-warning); background: var(--color-warning-soft); border-color: rgba(194,130,15,0.28); }
|
|
.clu-pill.danger { color: var(--color-danger); background: var(--color-danger-soft); border-color: rgba(219,59,59,0.28); }
|
|
.clu-pill.accent { color: var(--color-accent); background: var(--color-accent-soft); border-color: rgba(59,111,242,0.28); }
|
|
.clu-pill.muted { color: var(--color-muted); background: rgba(0,0,0,0.04); border-color: var(--color-hairline); }
|
|
}
|