mirror of
https://github.com/0x5t4l1n/AURHub.git
synced 2026-05-26 19:26:35 +00:00
Updated frontend
This commit is contained in:
+83
-732
@@ -1,762 +1,113 @@
|
||||
@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600;700&display=swap");
|
||||
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
|
||||
@import "tailwindcss";
|
||||
|
||||
/* ═══════════════════════════════════════════════
|
||||
ArchStore — Premium Desktop App Design System
|
||||
═══════════════════════════════════════════════ */
|
||||
|
||||
:root {
|
||||
--bg-base: #0f1115;
|
||||
--bg-primary: #141820;
|
||||
--bg-secondary: #1a1f2a;
|
||||
--bg-tertiary: #202636;
|
||||
--bg-card: #131821;
|
||||
--bg-card-hover: #131821;
|
||||
--bg-elevated: #1a1f2a;
|
||||
--bg-input: #141820;
|
||||
--bg-sidebar: #0d1016;
|
||||
--bg-overlay: rgba(0, 0, 0, 0.5);
|
||||
--topbar-bg: #0f1218;
|
||||
|
||||
--border-primary: rgba(148, 163, 184, 0.12);
|
||||
--border-secondary: rgba(148, 163, 184, 0.2);
|
||||
--border-glow: rgba(56, 189, 248, 0.2);
|
||||
|
||||
--text-primary: #e2e8f0;
|
||||
--text-secondary: #cbd5e1;
|
||||
--text-tertiary: #94a3b8;
|
||||
--text-inverse: #0f172a;
|
||||
|
||||
--accent: #38bdf8;
|
||||
--accent-hover: #38bdf8;
|
||||
--accent-muted: rgba(56, 189, 248, 0.12);
|
||||
--accent-glow: rgba(56, 189, 248, 0.2);
|
||||
|
||||
--green: #22c55e;
|
||||
--green-muted: rgba(34, 197, 94, 0.1);
|
||||
--amber: #f59e0b;
|
||||
--amber-muted: rgba(245, 158, 11, 0.12);
|
||||
--red: #ef4444;
|
||||
--red-muted: rgba(239, 68, 68, 0.12);
|
||||
--blue: #60a5fa;
|
||||
--blue-muted: rgba(96, 165, 250, 0.12);
|
||||
--violet: #a78bfa;
|
||||
--violet-muted: rgba(167, 139, 250, 0.12);
|
||||
|
||||
--shadow-sm: 0 1px 2px rgba(2, 6, 23, 0.25);
|
||||
--shadow-md: 0 2px 6px rgba(2, 6, 23, 0.25);
|
||||
--shadow-lg: 0 4px 10px rgba(2, 6, 23, 0.3);
|
||||
--shadow-glow: 0 0 0 rgba(0, 0, 0, 0);
|
||||
|
||||
--radius-sm: 6px;
|
||||
--radius-md: 8px;
|
||||
--radius-lg: 10px;
|
||||
--radius-xl: 12px;
|
||||
--radius-2xl: 14px;
|
||||
--radius-full: 9999px;
|
||||
|
||||
--font-sans: 'Outfit', system-ui, -apple-system, sans-serif;
|
||||
--font-mono: 'JetBrains Mono', ui-monospace, monospace;
|
||||
|
||||
--transition-fast: 140ms cubic-bezier(0.4, 0, 0.2, 1);
|
||||
--transition-normal: 240ms cubic-bezier(0.4, 0, 0.2, 1);
|
||||
--transition-slow: 380ms cubic-bezier(0.4, 0, 0.2, 1);
|
||||
}
|
||||
|
||||
.light {
|
||||
--bg-base: #f0f0f1;
|
||||
--bg-primary: #f6f7f7;
|
||||
--bg-secondary: #ffffff;
|
||||
--bg-tertiary: #f6f7f7;
|
||||
--bg-card: #ffffff;
|
||||
--bg-card-hover: #ffffff;
|
||||
--bg-elevated: #ffffff;
|
||||
--bg-input: #ffffff;
|
||||
--bg-sidebar: #1d2327;
|
||||
--bg-overlay: rgba(0, 0, 0, 0.2);
|
||||
--topbar-bg: #ffffff;
|
||||
|
||||
--border-primary: #c3c4c7;
|
||||
--border-secondary: #a7aaad;
|
||||
--border-glow: rgba(34, 113, 177, 0.3);
|
||||
|
||||
--text-primary: #1d2327;
|
||||
--text-secondary: #50575e;
|
||||
--text-tertiary: #6c7781;
|
||||
--text-inverse: #ffffff;
|
||||
|
||||
--accent: #2271b1;
|
||||
--accent-hover: #2271b1;
|
||||
--accent-muted: rgba(34, 113, 177, 0.12);
|
||||
--accent-glow: rgba(34, 113, 177, 0.2);
|
||||
|
||||
--shadow-sm: 0 1px 1px rgba(0, 0, 0, 0.04);
|
||||
--shadow-md: 0 2px 4px rgba(0, 0, 0, 0.08);
|
||||
--shadow-lg: 0 6px 18px rgba(0, 0, 0, 0.12);
|
||||
--shadow-glow: 0 0 0 rgba(0, 0, 0, 0);
|
||||
}
|
||||
|
||||
@theme {
|
||||
--color-bg-base: var(--bg-base);
|
||||
--color-bg-primary: var(--bg-primary);
|
||||
--color-bg-secondary: var(--bg-secondary);
|
||||
--color-bg-tertiary: var(--bg-tertiary);
|
||||
--color-bg-card: var(--bg-card);
|
||||
--color-bg-card-hover: var(--bg-card-hover);
|
||||
--color-bg-elevated: var(--bg-elevated);
|
||||
--color-bg-input: var(--bg-input);
|
||||
--color-bg-sidebar: var(--bg-sidebar);
|
||||
--color-bg-overlay: var(--bg-overlay);
|
||||
--color-border-primary: var(--border-primary);
|
||||
--color-border-secondary: var(--border-secondary);
|
||||
--color-text-primary: var(--text-primary);
|
||||
--color-text-secondary: var(--text-secondary);
|
||||
--color-text-tertiary: var(--text-tertiary);
|
||||
--color-text-inverse: var(--text-inverse);
|
||||
--color-accent: var(--accent);
|
||||
--color-accent-hover: var(--accent-hover);
|
||||
--color-accent-muted: var(--accent-muted);
|
||||
--color-accent-glow: var(--accent-glow);
|
||||
--color-green: var(--green);
|
||||
--color-green-muted: var(--green-muted);
|
||||
--color-amber: var(--amber);
|
||||
--color-amber-muted: var(--amber-muted);
|
||||
--color-red: var(--red);
|
||||
--color-red-muted: var(--red-muted);
|
||||
--color-blue: var(--blue);
|
||||
--color-blue-muted: var(--blue-muted);
|
||||
--color-violet: var(--violet);
|
||||
--color-violet-muted: var(--violet-muted);
|
||||
--font-sans: var(--font-sans);
|
||||
--font-mono: var(--font-mono);
|
||||
--font-sans: 'Inter', ui-sans-serif, system-ui, sans-serif;
|
||||
|
||||
/* Arch Linux blue accent */
|
||||
--color-arch-blue: #1793D1;
|
||||
--color-arch-blue-hover: #1480B8;
|
||||
--color-arch-blue-light: #1793D120;
|
||||
|
||||
/* Dark mode palette */
|
||||
--color-dark-bg: #000000;
|
||||
--color-dark-panel: #111111;
|
||||
--color-dark-border: #2A2A2A;
|
||||
--color-dark-text: #FFFFFF;
|
||||
--color-dark-text-secondary: #AAAAAA;
|
||||
--color-dark-hover: #1A1A1A;
|
||||
--color-dark-active: #222222;
|
||||
|
||||
/* Light mode palette */
|
||||
--color-light-bg: #F4F4F4;
|
||||
--color-light-panel: #FFFFFF;
|
||||
--color-light-border: #D4D4D4;
|
||||
--color-light-text: #111111;
|
||||
--color-light-text-secondary: #666666;
|
||||
--color-light-hover: #E8E8E8;
|
||||
--color-light-active: #DDDDDD;
|
||||
}
|
||||
|
||||
/* ── Reset ── */
|
||||
/* Base reset */
|
||||
*, *::before, *::after {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html, body, #root {
|
||||
height: 100%;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
box-sizing: border-box;
|
||||
animation: none !important;
|
||||
transition: none !important;
|
||||
}
|
||||
|
||||
body {
|
||||
font-family: var(--font-sans);
|
||||
background: var(--bg-base);
|
||||
color: var(--text-primary);
|
||||
font-size: 16px;
|
||||
line-height: 1.65;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
|
||||
.light body {
|
||||
background: var(--bg-base);
|
||||
/* Dark mode (default) */
|
||||
body {
|
||||
background-color: var(--color-dark-bg);
|
||||
color: var(--color-dark-text);
|
||||
}
|
||||
|
||||
/* ── Custom Scrollbar ── */
|
||||
::-webkit-scrollbar { width: 8px; height: 8px; }
|
||||
::-webkit-scrollbar-track { background: transparent; }
|
||||
::-webkit-scrollbar-thumb { background: var(--border-secondary); border-radius: 9999px; }
|
||||
::-webkit-scrollbar-thumb:hover { background: var(--text-tertiary); }
|
||||
|
||||
/* ═══════════════════════════════════════════════
|
||||
Desktop Shell Layout
|
||||
═══════════════════════════════════════════════ */
|
||||
|
||||
.app-layout {
|
||||
display: flex;
|
||||
min-height: 100vh;
|
||||
background-color: var(--bg-base);
|
||||
overflow-x: hidden;
|
||||
body.light {
|
||||
background-color: var(--color-light-bg);
|
||||
color: var(--color-light-text);
|
||||
}
|
||||
|
||||
.sidebar {
|
||||
position: fixed;
|
||||
left: 0;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
width: 260px;
|
||||
z-index: 50;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
padding: 22px 16px;
|
||||
background: var(--bg-sidebar);
|
||||
border-right: 1px solid var(--border-primary);
|
||||
backdrop-filter: none;
|
||||
-webkit-backdrop-filter: none;
|
||||
box-shadow: none;
|
||||
transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
|
||||
}
|
||||
|
||||
.light .sidebar {
|
||||
background: var(--bg-sidebar);
|
||||
border-right: 1px solid #101517;
|
||||
box-shadow: none;
|
||||
backdrop-filter: none;
|
||||
-webkit-backdrop-filter: none;
|
||||
}
|
||||
|
||||
.main-content {
|
||||
margin-left: 260px;
|
||||
flex: 1;
|
||||
min-height: 100vh;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
background: var(--bg-base);
|
||||
transition: none;
|
||||
}
|
||||
|
||||
.content-shell {
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
margin: 0 auto;
|
||||
padding: 0 28px 32px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
|
||||
.topbar {
|
||||
position: sticky;
|
||||
top: 0;
|
||||
z-index: 40;
|
||||
display: grid;
|
||||
grid-template-columns: auto minmax(320px, 1fr) auto;
|
||||
align-items: center;
|
||||
gap: 16px;
|
||||
padding: 14px 28px;
|
||||
background: var(--topbar-bg);
|
||||
border-bottom: 1px solid var(--border-primary);
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.topbar-left {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 16px;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.topbar-title {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
line-height: 1.1;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.topbar-title span:first-child {
|
||||
font-size: 15px;
|
||||
font-weight: 700;
|
||||
color: var(--text-primary);
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.topbar-title span:last-child {
|
||||
font-size: 12px;
|
||||
color: var(--text-tertiary);
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.topbar-search {
|
||||
flex: 1;
|
||||
max-width: none;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.topbar-actions {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.page-shell {
|
||||
padding: 24px 0 32px;
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
@media (max-width: 1024px) {
|
||||
.sidebar { transform: translateX(-100%); }
|
||||
.sidebar.open { transform: translateX(0); }
|
||||
.main-content { margin-left: 0; }
|
||||
.content-shell { padding: 0 16px 24px; }
|
||||
.topbar {
|
||||
grid-template-columns: auto 1fr auto;
|
||||
padding: 14px 20px;
|
||||
}
|
||||
}
|
||||
|
||||
.app-footer {
|
||||
margin-top: auto;
|
||||
padding: 18px 28px 22px;
|
||||
text-align: center;
|
||||
font-size: 12px;
|
||||
color: var(--text-tertiary);
|
||||
border-top: 1px solid var(--border-primary);
|
||||
}
|
||||
|
||||
/* ── Premium Sidebar Nav Links ── */
|
||||
.nav-link {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 14px;
|
||||
padding: 10px 12px;
|
||||
border-radius: var(--radius-md);
|
||||
color: var(--text-secondary);
|
||||
text-decoration: none;
|
||||
font-size: 14px;
|
||||
font-weight: 600;
|
||||
transition: none;
|
||||
border: 1px solid transparent;
|
||||
position: relative;
|
||||
}
|
||||
.nav-link span {
|
||||
min-width: 0;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.light .nav-link {
|
||||
color: #c3c4c7;
|
||||
}
|
||||
.light .nav-link:hover {
|
||||
color: #c3c4c7;
|
||||
background: transparent;
|
||||
border-color: transparent;
|
||||
}
|
||||
.light .nav-link.active {
|
||||
color: #ffffff;
|
||||
background: rgba(34, 113, 177, 0.2);
|
||||
border-color: transparent;
|
||||
box-shadow: none;
|
||||
}
|
||||
.light .nav-link.active::before {
|
||||
background: var(--accent);
|
||||
box-shadow: none;
|
||||
}
|
||||
.nav-link:hover { color: var(--text-secondary); background: transparent; border-color: transparent; }
|
||||
.nav-link.active {
|
||||
color: var(--text-primary);
|
||||
background: rgba(56, 189, 248, 0.14);
|
||||
border-color: var(--border-primary);
|
||||
font-weight: 700;
|
||||
box-shadow: none;
|
||||
}
|
||||
.nav-link.active::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
left: 8px;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
width: 4px;
|
||||
height: 20px;
|
||||
border-radius: 999px;
|
||||
background: var(--accent);
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
/* ═══════════════════════════════════════════════
|
||||
Glassmorphic Cards
|
||||
═══════════════════════════════════════════════ */
|
||||
|
||||
.card {
|
||||
background: var(--bg-card);
|
||||
border: 1px solid rgba(148, 163, 184, 0.08);
|
||||
border-radius: var(--radius-md);
|
||||
box-shadow: none;
|
||||
transition: none;
|
||||
min-width: 0;
|
||||
overflow: hidden;
|
||||
}
|
||||
.card-interactive { cursor: pointer; }
|
||||
.card-interactive:hover {
|
||||
background: var(--bg-card);
|
||||
border-color: rgba(148, 163, 184, 0.08);
|
||||
box-shadow: none;
|
||||
transform: none;
|
||||
}
|
||||
|
||||
/* ── Badges ── */
|
||||
.badge {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
padding: 4px 12px;
|
||||
border-radius: var(--radius-full);
|
||||
font-size: 11px;
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.08em;
|
||||
text-transform: uppercase;
|
||||
max-width: 100%;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
/* ── Desktop Buttons ── */
|
||||
.btn {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 10px;
|
||||
padding: 11px 20px;
|
||||
border-radius: var(--radius-sm);
|
||||
font-size: 14px;
|
||||
font-weight: 600;
|
||||
cursor: pointer;
|
||||
border: 1px solid transparent;
|
||||
font-family: var(--font-sans);
|
||||
transition: none;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
|
||||
|
||||
.btn-primary { background: var(--accent); color: #fff; box-shadow: var(--shadow-sm); }
|
||||
.btn-primary:hover:not(:disabled) { background: var(--accent); box-shadow: var(--shadow-sm); transform: none; }
|
||||
|
||||
.btn-secondary { background: var(--bg-secondary); color: var(--text-secondary); border-color: var(--border-primary); }
|
||||
.btn-secondary:hover:not(:disabled) { border-color: var(--border-primary); color: var(--text-secondary); }
|
||||
|
||||
.btn-danger { background: var(--red-muted); color: var(--red); border-color: rgba(239, 68, 68, 0.2); }
|
||||
.btn-danger:hover:not(:disabled) { background: var(--red-muted); }
|
||||
|
||||
.btn-ghost { background: transparent; color: var(--text-tertiary); }
|
||||
.btn-ghost:hover:not(:disabled) { color: var(--text-tertiary); background: transparent; }
|
||||
|
||||
/* ── Form Inputs ── */
|
||||
.input {
|
||||
width: 100%;
|
||||
padding: 14px 18px;
|
||||
background: var(--bg-input);
|
||||
border: 1px solid var(--border-primary);
|
||||
border-radius: var(--radius-sm);
|
||||
color: var(--text-primary);
|
||||
font-family: var(--font-sans);
|
||||
font-size: 14px;
|
||||
outline: none;
|
||||
transition: none;
|
||||
}
|
||||
.light .input:focus {
|
||||
box-shadow: 0 0 0 2px rgba(34, 113, 177, 0.2);
|
||||
}
|
||||
.input::placeholder { color: var(--text-tertiary); }
|
||||
.input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); }
|
||||
|
||||
.searchbar { width: 100%; position: relative; }
|
||||
.input-search { height: 46px; font-size: 14px; }
|
||||
|
||||
/* ── Typography & Headings ── */
|
||||
.page-title {
|
||||
font-size: 26px;
|
||||
font-weight: 600;
|
||||
letter-spacing: -0.01em;
|
||||
color: var(--text-primary);
|
||||
line-height: 1.2;
|
||||
}
|
||||
.page-subtitle {
|
||||
font-size: 14px;
|
||||
color: var(--text-secondary);
|
||||
margin-top: 6px;
|
||||
}
|
||||
|
||||
/* ── Custom Component Grids ── */
|
||||
.pkg-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
|
||||
gap: 16px;
|
||||
align-items: stretch;
|
||||
}
|
||||
.package-card {
|
||||
height: 100%;
|
||||
}
|
||||
@media (max-width: 640px) { .pkg-grid { grid-template-columns: 1fr; } }
|
||||
|
||||
.cat-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
|
||||
gap: 22px;
|
||||
}
|
||||
|
||||
.update-row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding: 12px 16px;
|
||||
transition: none;
|
||||
}
|
||||
.update-row:hover { background: transparent; }
|
||||
|
||||
/* ── Animation Shimmers ── */
|
||||
.shimmer {
|
||||
background: var(--bg-tertiary);
|
||||
border-radius: var(--radius-md);
|
||||
}
|
||||
|
||||
.spinner {
|
||||
width: 24px; height: 24px;
|
||||
border: 2px solid var(--border-primary);
|
||||
border-top-color: var(--accent);
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
.theme-toggle {
|
||||
width: 42px;
|
||||
height: 42px;
|
||||
border-radius: var(--radius-md);
|
||||
background: var(--bg-secondary);
|
||||
border: 1px solid var(--border-primary);
|
||||
cursor: pointer;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
color: var(--text-secondary);
|
||||
transition: none;
|
||||
}
|
||||
.theme-toggle:hover { border-color: var(--border-primary); color: var(--text-secondary); box-shadow: none; }
|
||||
|
||||
.avatar-button {
|
||||
width: 42px;
|
||||
height: 42px;
|
||||
border-radius: 14px;
|
||||
background: var(--bg-secondary);
|
||||
border: 1px solid var(--border-primary);
|
||||
color: var(--text-primary);
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.04em;
|
||||
font-size: 12px;
|
||||
box-shadow: var(--shadow-sm);
|
||||
}
|
||||
|
||||
.gradient-text {
|
||||
color: var(--accent);
|
||||
}
|
||||
|
||||
/* ── Premium Utility Blocks ── */
|
||||
.glass-panel {
|
||||
background: transparent;
|
||||
border: none;
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
.light .glass-panel {
|
||||
background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(244, 247, 251, 0.9));
|
||||
border: 1px solid var(--border-primary);
|
||||
backdrop-filter: none;
|
||||
-webkit-backdrop-filter: none;
|
||||
}
|
||||
|
||||
.section-kicker {
|
||||
font-size: 12px;
|
||||
font-weight: 700;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.2em;
|
||||
color: var(--accent);
|
||||
}
|
||||
|
||||
.section-title {
|
||||
font-size: 20px;
|
||||
font-weight: 800;
|
||||
color: var(--text-primary);
|
||||
}
|
||||
|
||||
.section-subtitle {
|
||||
font-size: 13px;
|
||||
color: var(--text-tertiary);
|
||||
}
|
||||
|
||||
.kpi-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
.kpi-card {
|
||||
padding: 16px;
|
||||
border-radius: var(--radius-lg);
|
||||
background: var(--bg-secondary);
|
||||
border: 1px solid var(--border-primary);
|
||||
}
|
||||
|
||||
.light .kpi-card {
|
||||
background: rgba(255, 255, 255, 0.9);
|
||||
}
|
||||
|
||||
.kpi-value {
|
||||
font-size: 22px;
|
||||
font-weight: 800;
|
||||
color: var(--text-primary);
|
||||
}
|
||||
|
||||
.kpi-label {
|
||||
font-size: 12px;
|
||||
color: var(--text-tertiary);
|
||||
}
|
||||
|
||||
.pill {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
padding: 6px 12px;
|
||||
border-radius: var(--radius-full);
|
||||
font-size: 12px;
|
||||
font-weight: 600;
|
||||
background: var(--bg-secondary);
|
||||
border: 1px solid var(--border-primary);
|
||||
color: var(--text-secondary);
|
||||
}
|
||||
|
||||
.chip {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
padding: 4px 10px;
|
||||
border-radius: var(--radius-full);
|
||||
font-size: 11px;
|
||||
font-weight: 600;
|
||||
color: var(--text-secondary);
|
||||
border: 1px solid var(--border-primary);
|
||||
background: rgba(15, 23, 42, 0.7);
|
||||
}
|
||||
|
||||
.status-dot {
|
||||
/* Scrollbar styling - classic thin scrollbar */
|
||||
::-webkit-scrollbar {
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
border-radius: 999px;
|
||||
}
|
||||
|
||||
.progress-track {
|
||||
::-webkit-scrollbar-track {
|
||||
background: var(--color-dark-panel);
|
||||
}
|
||||
|
||||
::-webkit-scrollbar-thumb {
|
||||
background: var(--color-dark-border);
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
::-webkit-scrollbar-thumb:hover {
|
||||
background: #444;
|
||||
}
|
||||
|
||||
body.light ::-webkit-scrollbar-track {
|
||||
background: var(--color-light-bg);
|
||||
}
|
||||
|
||||
body.light ::-webkit-scrollbar-thumb {
|
||||
background: var(--color-light-border);
|
||||
}
|
||||
|
||||
/* Selection */
|
||||
::selection {
|
||||
background-color: var(--color-arch-blue);
|
||||
color: white;
|
||||
}
|
||||
|
||||
/* Focus outline - classic dotted */
|
||||
:focus-visible {
|
||||
outline: 1px dotted var(--color-arch-blue);
|
||||
outline-offset: 1px;
|
||||
}
|
||||
|
||||
/* Table styles */
|
||||
table {
|
||||
border-collapse: collapse;
|
||||
width: 100%;
|
||||
height: 8px;
|
||||
background: rgba(148, 163, 184, 0.12);
|
||||
border-radius: 999px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.progress-bar {
|
||||
height: 100%;
|
||||
border-radius: 999px;
|
||||
background: var(--accent);
|
||||
/* Classic button reset */
|
||||
button {
|
||||
cursor: pointer;
|
||||
font-family: inherit;
|
||||
}
|
||||
|
||||
.data-table {
|
||||
width: 100%;
|
||||
border-radius: var(--radius-lg);
|
||||
overflow: hidden;
|
||||
border: 1px solid var(--border-primary);
|
||||
background: var(--bg-card);
|
||||
min-width: 0;
|
||||
/* Input reset */
|
||||
input, select {
|
||||
font-family: inherit;
|
||||
}
|
||||
|
||||
@media (max-width: 1024px) {
|
||||
.data-table {
|
||||
overflow-x: auto;
|
||||
}
|
||||
}
|
||||
|
||||
img, svg {
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
.table-head,
|
||||
.table-row {
|
||||
display: grid;
|
||||
grid-template-columns: 2.5fr 1.2fr 1fr 1.4fr 0.8fr;
|
||||
gap: 16px;
|
||||
align-items: center;
|
||||
padding: 14px 18px;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.table-head span,
|
||||
.table-row span {
|
||||
min-width: 0;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.table-head {
|
||||
font-size: 11px;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.16em;
|
||||
color: var(--text-tertiary);
|
||||
background: rgba(15, 23, 42, 0.85);
|
||||
border-bottom: 1px solid var(--border-primary);
|
||||
}
|
||||
|
||||
.table-row {
|
||||
font-size: 13px;
|
||||
color: var(--text-secondary);
|
||||
border-bottom: 1px solid var(--border-primary);
|
||||
transition: none;
|
||||
}
|
||||
|
||||
.table-row:hover { background: transparent; }
|
||||
|
||||
.table-row:last-child {
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
@media (max-width: 1024px) {
|
||||
.table-head,
|
||||
.table-row {
|
||||
grid-template-columns: 2fr 1fr 1fr;
|
||||
}
|
||||
.table-head span:nth-child(4),
|
||||
.table-head span:nth-child(5),
|
||||
.table-row span:nth-child(4),
|
||||
.table-row span:nth-child(5) {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.toggle {
|
||||
position: relative;
|
||||
width: 42px;
|
||||
height: 24px;
|
||||
border-radius: 999px;
|
||||
background: rgba(148, 163, 184, 0.25);
|
||||
border: 1px solid var(--border-primary);
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
padding: 2px;
|
||||
transition: none;
|
||||
}
|
||||
|
||||
.toggle::after {
|
||||
content: '';
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
border-radius: 999px;
|
||||
background: #fff;
|
||||
transition: none;
|
||||
}
|
||||
|
||||
.toggle.is-on {
|
||||
background: var(--accent);
|
||||
border-color: transparent;
|
||||
}
|
||||
|
||||
.toggle.is-on::after {
|
||||
transform: translateX(18px);
|
||||
}
|
||||
|
||||
/* ── Animations ── */
|
||||
.animate-fade-in { animation: none; }
|
||||
.animate-slide-up { animation: none; }
|
||||
|
||||
.stagger > * { animation: none; }
|
||||
|
||||
.animate-pulse { animation: none !important; }
|
||||
|
||||
Reference in New Issue
Block a user