976e204102
- Discord login button on /login with brand colors - NavMenu shows user avatar (Discord) and platform label - CSS: login-divider, login-btn-discord, nav-user-info, nav-user-platform - NavMenu version bumped to v2.8.0 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1697 lines
38 KiB
CSS
1697 lines
38 KiB
CSS
/* ============================================
|
||
GM-Relay Design System v2.0.0
|
||
Dark RPG Dashboard Theme — Refined
|
||
============================================ */
|
||
|
||
/* === CSS Custom Properties === */
|
||
:root {
|
||
/* Background — deeper, richer darks */
|
||
--bg-primary: #050810;
|
||
--bg-secondary: #0a0f1c;
|
||
--bg-card: rgba(10, 15, 28, 0.75);
|
||
--bg-card-hover: rgba(15, 22, 40, 0.9);
|
||
--bg-surface: rgba(255, 255, 255, 0.035);
|
||
--bg-input: rgba(255, 255, 255, 0.05);
|
||
|
||
/* Accent — sharper, more vibrant */
|
||
--accent-primary: #8b5cf6;
|
||
--accent-primary-hover: #7c3aed;
|
||
--accent-secondary: #22d3ee;
|
||
--accent-gradient: linear-gradient(135deg, #8b5cf6 0%, #22d3ee 100%);
|
||
--accent-gradient-hover: linear-gradient(135deg, #7c3aed 0%, #06b6d4 100%);
|
||
|
||
/* Text */
|
||
--text-primary: #e2e8f0;
|
||
--text-secondary: #94a3b8;
|
||
--text-muted: #64748b;
|
||
--text-accent: #a78bfa;
|
||
|
||
/* Status */
|
||
--status-success: #22c55e;
|
||
--status-success-bg: rgba(34, 197, 94, 0.12);
|
||
--status-warning: #f59e0b;
|
||
--status-warning-bg: rgba(245, 158, 11, 0.12);
|
||
--status-danger: #ef4444;
|
||
--status-danger-bg: rgba(239, 68, 68, 0.12);
|
||
--status-info: #22d3ee;
|
||
--status-info-bg: rgba(34, 211, 238, 0.12);
|
||
--status-neutral: #64748b;
|
||
--status-neutral-bg: rgba(100, 116, 139, 0.12);
|
||
|
||
/* Border */
|
||
--border-color: rgba(255, 255, 255, 0.06);
|
||
--border-glow: rgba(139, 92, 246, 0.35);
|
||
|
||
/* Glass */
|
||
--glass-bg: rgba(255, 255, 255, 0.04);
|
||
--glass-border: rgba(255, 255, 255, 0.08);
|
||
--glass-blur: 20px;
|
||
|
||
/* Shadows */
|
||
--shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
|
||
--shadow-md: 0 4px 20px rgba(0, 0, 0, 0.5);
|
||
--shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.6);
|
||
--shadow-glow: 0 0 24px rgba(139, 92, 246, 0.18);
|
||
--shadow-glow-hover: 0 0 36px rgba(139, 92, 246, 0.3);
|
||
|
||
/* Radius */
|
||
--radius-sm: 8px;
|
||
--radius-md: 12px;
|
||
--radius-lg: 16px;
|
||
--radius-xl: 24px;
|
||
|
||
/* Transition */
|
||
--transition-fast: 0.15s ease;
|
||
--transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
||
--transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
|
||
|
||
/* Sidebar */
|
||
--sidebar-width: 260px;
|
||
|
||
/* Telegram Mini App safe areas */
|
||
--gm-tg-safe-top: var(--tg-safe-area-inset-top, env(safe-area-inset-top, 0px));
|
||
--gm-tg-safe-right: var(--tg-safe-area-inset-right, env(safe-area-inset-right, 0px));
|
||
--gm-tg-safe-bottom: var(--tg-safe-area-inset-bottom, env(safe-area-inset-bottom, 0px));
|
||
--gm-tg-safe-left: var(--tg-safe-area-inset-left, env(safe-area-inset-left, 0px));
|
||
--gm-tg-content-safe-top: var(--tg-content-safe-area-inset-top, 0px);
|
||
--gm-tg-content-safe-right: var(--tg-content-safe-area-inset-right, 0px);
|
||
--gm-tg-content-safe-bottom: var(--tg-content-safe-area-inset-bottom, 0px);
|
||
--gm-tg-content-safe-left: var(--tg-content-safe-area-inset-left, 0px);
|
||
--gm-mini-app-top-inset: calc(var(--gm-tg-safe-top, 0px) + var(--gm-tg-content-safe-top, 0px));
|
||
--gm-mini-app-bottom-inset: calc(var(--gm-tg-safe-bottom, 0px) + var(--gm-tg-content-safe-bottom, 0px));
|
||
--gm-mini-app-left-inset: calc(var(--gm-tg-safe-left, 0px) + var(--gm-tg-content-safe-left, 0px));
|
||
--gm-mini-app-right-inset: calc(var(--gm-tg-safe-right, 0px) + var(--gm-tg-content-safe-right, 0px));
|
||
--gm-tg-viewport-height: 100dvh;
|
||
}
|
||
|
||
/* === Reset & Base === */
|
||
*, *::before, *::after {
|
||
box-sizing: border-box;
|
||
}
|
||
|
||
html {
|
||
scroll-behavior: smooth;
|
||
}
|
||
|
||
html, body {
|
||
font-family: 'Jura', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
|
||
background-color: var(--bg-primary);
|
||
color: var(--text-primary);
|
||
margin: 0;
|
||
padding: 0;
|
||
min-height: 100vh;
|
||
-webkit-font-smoothing: antialiased;
|
||
-moz-osx-font-smoothing: grayscale;
|
||
}
|
||
|
||
/* Atmospheric background */
|
||
body::before {
|
||
content: '';
|
||
position: fixed;
|
||
top: 0;
|
||
left: 0;
|
||
width: 100%;
|
||
height: 100%;
|
||
pointer-events: none;
|
||
z-index: 0;
|
||
background:
|
||
radial-gradient(ellipse 80% 60% at 20% 40%, rgba(139, 92, 246, 0.08) 0%, transparent 60%),
|
||
radial-gradient(ellipse 60% 50% at 80% 20%, rgba(34, 211, 238, 0.05) 0%, transparent 50%),
|
||
radial-gradient(ellipse 50% 40% at 50% 90%, rgba(139, 92, 246, 0.06) 0%, transparent 50%);
|
||
animation: atmosphere-drift 25s ease-in-out infinite alternate;
|
||
}
|
||
|
||
@keyframes atmosphere-drift {
|
||
0% { transform: translate(0, 0) scale(1); }
|
||
100% { transform: translate(-2%, 1%) scale(1.02); }
|
||
}
|
||
|
||
/* Subtle grain overlay */
|
||
body::after {
|
||
content: '';
|
||
position: fixed;
|
||
top: 0;
|
||
left: 0;
|
||
width: 100%;
|
||
height: 100%;
|
||
pointer-events: none;
|
||
z-index: 1;
|
||
opacity: 0.025;
|
||
background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
|
||
background-repeat: repeat;
|
||
background-size: 256px 256px;
|
||
}
|
||
|
||
/* === Typography === */
|
||
h1, h2, h3, h4, h5, h6 {
|
||
font-family: 'Cinzel', 'Cinzel Decorative', serif;
|
||
color: var(--text-primary);
|
||
font-weight: 600;
|
||
letter-spacing: 0.02em;
|
||
line-height: 1.3;
|
||
margin-top: 0;
|
||
}
|
||
|
||
h1 { font-size: 1.75rem; }
|
||
h2 { font-size: 1.375rem; }
|
||
h3 { font-size: 1.125rem; }
|
||
|
||
h1:focus { outline: none; }
|
||
|
||
p { line-height: 1.7; }
|
||
|
||
a {
|
||
color: var(--accent-secondary);
|
||
text-decoration: none;
|
||
transition: color var(--transition-fast);
|
||
}
|
||
|
||
a:hover {
|
||
color: #67e8f9;
|
||
}
|
||
|
||
/* === Scrollbar === */
|
||
::-webkit-scrollbar {
|
||
width: 5px;
|
||
height: 5px;
|
||
}
|
||
|
||
::-webkit-scrollbar-track {
|
||
background: transparent;
|
||
}
|
||
|
||
::-webkit-scrollbar-thumb {
|
||
background: rgba(255, 255, 255, 0.12);
|
||
border-radius: 3px;
|
||
}
|
||
|
||
::-webkit-scrollbar-thumb:hover {
|
||
background: rgba(255, 255, 255, 0.22);
|
||
}
|
||
|
||
/* === Glass Card === */
|
||
.glass-card {
|
||
background: var(--glass-bg);
|
||
backdrop-filter: blur(var(--glass-blur));
|
||
-webkit-backdrop-filter: blur(var(--glass-blur));
|
||
border: 1px solid var(--glass-border);
|
||
border-radius: var(--radius-lg);
|
||
padding: 1.5rem;
|
||
transition: all var(--transition-smooth);
|
||
position: relative;
|
||
z-index: 2;
|
||
}
|
||
|
||
.glass-card::before {
|
||
content: '';
|
||
position: absolute;
|
||
inset: 0;
|
||
border-radius: inherit;
|
||
padding: 1px;
|
||
background: linear-gradient(135deg, rgba(139, 92, 246, 0.15) 0%, transparent 40%, transparent 60%, rgba(34, 211, 238, 0.1) 100%);
|
||
-webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
|
||
-webkit-mask-composite: xor;
|
||
mask-composite: exclude;
|
||
pointer-events: none;
|
||
opacity: 0;
|
||
transition: opacity var(--transition-normal);
|
||
}
|
||
|
||
.glass-card:hover::before {
|
||
opacity: 1;
|
||
}
|
||
|
||
.glass-card:hover {
|
||
background: var(--bg-card-hover);
|
||
border-color: var(--border-glow);
|
||
box-shadow: var(--shadow-glow-hover);
|
||
transform: translateY(-3px);
|
||
}
|
||
|
||
/* === Buttons === */
|
||
.btn-gm {
|
||
display: inline-flex;
|
||
align-items: center;
|
||
gap: 0.5rem;
|
||
padding: 0.625rem 1.25rem;
|
||
border: none;
|
||
border-radius: var(--radius-sm);
|
||
font-family: 'Jura', sans-serif;
|
||
font-size: 0.875rem;
|
||
font-weight: 600;
|
||
cursor: pointer;
|
||
transition: all var(--transition-normal);
|
||
text-decoration: none;
|
||
line-height: 1.4;
|
||
letter-spacing: 0.02em;
|
||
position: relative;
|
||
overflow: hidden;
|
||
z-index: 2;
|
||
}
|
||
|
||
.btn-gm-primary {
|
||
background: var(--accent-gradient);
|
||
color: white;
|
||
box-shadow: 0 2px 16px rgba(139, 92, 246, 0.35);
|
||
}
|
||
|
||
.btn-gm-primary:hover {
|
||
background: var(--accent-gradient-hover);
|
||
box-shadow: 0 4px 24px rgba(139, 92, 246, 0.5);
|
||
transform: translateY(-2px);
|
||
color: white;
|
||
}
|
||
|
||
.btn-gm-primary:active {
|
||
transform: translateY(0);
|
||
box-shadow: 0 1px 8px rgba(139, 92, 246, 0.3);
|
||
}
|
||
|
||
.btn-gm-success {
|
||
background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
|
||
color: white;
|
||
box-shadow: 0 2px 16px rgba(34, 197, 94, 0.3);
|
||
}
|
||
|
||
.btn-gm-success:hover {
|
||
box-shadow: 0 4px 24px rgba(34, 197, 94, 0.45);
|
||
transform: translateY(-2px);
|
||
color: white;
|
||
}
|
||
|
||
.btn-gm-success:active {
|
||
transform: translateY(0);
|
||
}
|
||
|
||
.btn-gm-outline {
|
||
background: transparent;
|
||
color: var(--text-secondary);
|
||
border: 1px solid var(--border-color);
|
||
}
|
||
|
||
.btn-gm-outline:hover {
|
||
background: var(--bg-surface);
|
||
color: var(--text-primary);
|
||
border-color: var(--glass-border);
|
||
box-shadow: 0 0 12px rgba(139, 92, 246, 0.1);
|
||
}
|
||
|
||
.btn-gm-danger {
|
||
background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
|
||
color: white;
|
||
box-shadow: 0 2px 12px rgba(239, 68, 68, 0.25);
|
||
}
|
||
|
||
.btn-gm-danger:hover {
|
||
box-shadow: 0 4px 20px rgba(239, 68, 68, 0.4);
|
||
transform: translateY(-2px);
|
||
color: white;
|
||
}
|
||
|
||
.btn-gm-danger:active {
|
||
transform: translateY(0);
|
||
}
|
||
|
||
.btn-gm[disabled],
|
||
.btn-gm:disabled {
|
||
opacity: 0.45;
|
||
pointer-events: none;
|
||
}
|
||
|
||
/* === Status Badges === */
|
||
.status-badge {
|
||
display: inline-flex;
|
||
align-items: center;
|
||
gap: 0.375rem;
|
||
padding: 0.25rem 0.75rem;
|
||
border-radius: 9999px;
|
||
font-size: 0.75rem;
|
||
font-weight: 600;
|
||
letter-spacing: 0.03em;
|
||
white-space: nowrap;
|
||
font-family: 'Jura', sans-serif;
|
||
}
|
||
|
||
.status-badge::before {
|
||
content: '';
|
||
width: 5px;
|
||
height: 5px;
|
||
border-radius: 50%;
|
||
flex-shrink: 0;
|
||
}
|
||
|
||
.status-success {
|
||
background: var(--status-success-bg);
|
||
color: var(--status-success);
|
||
border: 1px solid rgba(34, 197, 94, 0.2);
|
||
}
|
||
.status-success::before { background: var(--status-success); box-shadow: 0 0 6px var(--status-success); }
|
||
|
||
.status-warning {
|
||
background: var(--status-warning-bg);
|
||
color: var(--status-warning);
|
||
border: 1px solid rgba(245, 158, 11, 0.2);
|
||
}
|
||
.status-warning::before { background: var(--status-warning); box-shadow: 0 0 6px var(--status-warning); }
|
||
|
||
.status-danger {
|
||
background: var(--status-danger-bg);
|
||
color: var(--status-danger);
|
||
border: 1px solid rgba(239, 68, 68, 0.2);
|
||
}
|
||
.status-danger::before { background: var(--status-danger); box-shadow: 0 0 6px var(--status-danger); }
|
||
|
||
.status-info {
|
||
background: var(--status-info-bg);
|
||
color: var(--status-info);
|
||
border: 1px solid rgba(34, 211, 238, 0.2);
|
||
}
|
||
.status-info::before { background: var(--status-info); box-shadow: 0 0 6px var(--status-info); }
|
||
|
||
.status-neutral {
|
||
background: var(--status-neutral-bg);
|
||
color: var(--status-neutral);
|
||
border: 1px solid rgba(100, 116, 139, 0.2);
|
||
}
|
||
.status-neutral::before { background: var(--status-neutral); }
|
||
|
||
/* === Form Controls === */
|
||
.gm-form-control {
|
||
width: 100%;
|
||
padding: 0.625rem 0.875rem;
|
||
background: var(--bg-input);
|
||
border: 1px solid var(--border-color);
|
||
border-radius: var(--radius-sm);
|
||
color: var(--text-primary);
|
||
font-family: 'Jura', sans-serif;
|
||
font-size: 0.875rem;
|
||
font-weight: 500;
|
||
transition: all var(--transition-normal);
|
||
outline: none;
|
||
letter-spacing: 0.01em;
|
||
}
|
||
|
||
.gm-form-control:focus {
|
||
border-color: var(--accent-primary);
|
||
box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.12);
|
||
background: rgba(255, 255, 255, 0.07);
|
||
}
|
||
|
||
.gm-form-control::placeholder {
|
||
color: var(--text-muted);
|
||
}
|
||
|
||
.gm-form-label {
|
||
display: block;
|
||
margin-bottom: 0.375rem;
|
||
font-size: 0.8125rem;
|
||
font-weight: 600;
|
||
color: var(--text-secondary);
|
||
letter-spacing: 0.03em;
|
||
font-family: 'Jura', sans-serif;
|
||
}
|
||
|
||
.gm-form-hint {
|
||
margin-top: 0.25rem;
|
||
font-size: 0.75rem;
|
||
color: var(--text-muted);
|
||
}
|
||
|
||
.gm-form-group {
|
||
margin-bottom: 1.25rem;
|
||
}
|
||
|
||
/* Override Blazor InputText styling */
|
||
.form-control,
|
||
input[type="text"],
|
||
input[type="datetime-local"],
|
||
input[type="email"],
|
||
input[type="url"],
|
||
input[type="number"],
|
||
textarea,
|
||
select {
|
||
background: var(--bg-input) !important;
|
||
border: 1px solid var(--border-color) !important;
|
||
border-radius: var(--radius-sm) !important;
|
||
color: var(--text-primary) !important;
|
||
font-family: 'Jura', sans-serif !important;
|
||
font-size: 0.875rem !important;
|
||
font-weight: 500 !important;
|
||
padding: 0.625rem 0.875rem !important;
|
||
transition: all var(--transition-normal) !important;
|
||
letter-spacing: 0.01em !important;
|
||
}
|
||
|
||
.form-control:focus,
|
||
input:focus,
|
||
textarea:focus,
|
||
select:focus {
|
||
border-color: var(--accent-primary) !important;
|
||
box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.12) !important;
|
||
background: rgba(255, 255, 255, 0.07) !important;
|
||
outline: none !important;
|
||
}
|
||
|
||
/* Color scheme for date/time pickers */
|
||
input[type="datetime-local"]::-webkit-calendar-picker-indicator {
|
||
filter: invert(0.65);
|
||
}
|
||
|
||
select option {
|
||
background: var(--bg-secondary);
|
||
color: var(--text-primary);
|
||
}
|
||
|
||
/* === Tables === */
|
||
.gm-table {
|
||
width: 100%;
|
||
border-collapse: separate;
|
||
border-spacing: 0;
|
||
font-size: 0.875rem;
|
||
font-family: 'Jura', sans-serif;
|
||
}
|
||
|
||
.gm-table thead th {
|
||
padding: 0.875rem 1rem;
|
||
text-align: left;
|
||
font-weight: 700;
|
||
font-size: 0.7rem;
|
||
text-transform: uppercase;
|
||
letter-spacing: 0.08em;
|
||
color: var(--text-muted);
|
||
border-bottom: 1px solid var(--border-color);
|
||
background: transparent;
|
||
font-family: 'Jura', sans-serif;
|
||
}
|
||
|
||
.gm-table tbody td {
|
||
padding: 0.875rem 1rem;
|
||
border-bottom: 1px solid var(--border-color);
|
||
color: var(--text-secondary);
|
||
vertical-align: middle;
|
||
}
|
||
|
||
.gm-table tbody tr {
|
||
transition: background var(--transition-fast);
|
||
}
|
||
|
||
.gm-table tbody tr:hover {
|
||
background: var(--bg-surface);
|
||
}
|
||
|
||
.gm-table tbody tr:last-child td {
|
||
border-bottom: none;
|
||
}
|
||
|
||
.session-table-desktop {
|
||
overflow-x: auto;
|
||
overflow-y: hidden;
|
||
}
|
||
|
||
.session-table-desktop-card {
|
||
padding: 0;
|
||
}
|
||
|
||
.session-table-desktop .gm-table {
|
||
min-width: 760px;
|
||
}
|
||
|
||
.session-table-desktop .gm-table th:last-child,
|
||
.session-table-desktop .gm-table td:last-child {
|
||
width: 8.5rem;
|
||
min-width: 8.5rem;
|
||
}
|
||
|
||
.session-join-link {
|
||
display: inline-block;
|
||
max-width: 150px;
|
||
overflow: hidden;
|
||
text-overflow: ellipsis;
|
||
white-space: nowrap;
|
||
}
|
||
|
||
.session-table-actions {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 0.5rem;
|
||
flex-wrap: wrap;
|
||
}
|
||
|
||
.session-table-actions .btn-gm {
|
||
font-size: 0.8125rem;
|
||
padding: 0.375rem 0.75rem;
|
||
white-space: nowrap;
|
||
}
|
||
|
||
/* === Alerts === */
|
||
.gm-alert {
|
||
padding: 0.875rem 1.125rem;
|
||
border-radius: var(--radius-md);
|
||
font-size: 0.875rem;
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 0.625rem;
|
||
font-weight: 500;
|
||
position: relative;
|
||
z-index: 2;
|
||
}
|
||
|
||
.gm-alert-info {
|
||
background: var(--status-info-bg);
|
||
border: 1px solid rgba(34, 211, 238, 0.15);
|
||
color: var(--status-info);
|
||
}
|
||
|
||
.gm-alert-danger {
|
||
background: var(--status-danger-bg);
|
||
border: 1px solid rgba(239, 68, 68, 0.15);
|
||
color: var(--status-danger);
|
||
}
|
||
|
||
.gm-alert-success {
|
||
background: var(--status-success-bg);
|
||
border: 1px solid rgba(34, 197, 94, 0.15);
|
||
color: var(--status-success);
|
||
}
|
||
|
||
/* === Breadcrumb === */
|
||
.gm-breadcrumb {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 0.5rem;
|
||
list-style: none;
|
||
padding: 0;
|
||
margin: 0 0 1.5rem 0;
|
||
font-size: 0.8125rem;
|
||
font-family: 'Jura', sans-serif;
|
||
position: relative;
|
||
z-index: 2;
|
||
}
|
||
|
||
.gm-breadcrumb li {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 0.5rem;
|
||
color: var(--text-muted);
|
||
}
|
||
|
||
.gm-breadcrumb li + li::before {
|
||
content: '›';
|
||
color: var(--text-muted);
|
||
font-size: 1rem;
|
||
}
|
||
|
||
.gm-breadcrumb a {
|
||
color: var(--text-secondary);
|
||
transition: color var(--transition-fast);
|
||
}
|
||
|
||
.gm-breadcrumb a:hover {
|
||
color: var(--accent-secondary);
|
||
}
|
||
|
||
.gm-breadcrumb .active {
|
||
color: var(--text-primary);
|
||
font-weight: 600;
|
||
}
|
||
|
||
/* === Loading Skeleton === */
|
||
.skeleton {
|
||
background: linear-gradient(90deg,
|
||
var(--bg-surface) 25%,
|
||
rgba(255, 255, 255, 0.06) 50%,
|
||
var(--bg-surface) 75%);
|
||
background-size: 200% 100%;
|
||
animation: skeleton-shimmer 1.5s ease-in-out infinite;
|
||
border-radius: var(--radius-sm);
|
||
}
|
||
|
||
.skeleton-card {
|
||
height: 160px;
|
||
border-radius: var(--radius-lg);
|
||
}
|
||
|
||
.skeleton-text {
|
||
height: 1rem;
|
||
width: 60%;
|
||
margin-bottom: 0.5rem;
|
||
}
|
||
|
||
.skeleton-text-sm {
|
||
height: 0.75rem;
|
||
width: 40%;
|
||
}
|
||
|
||
/* === Empty State === */
|
||
.empty-state {
|
||
display: flex;
|
||
flex-direction: column;
|
||
align-items: center;
|
||
justify-content: center;
|
||
padding: 3rem 1.5rem;
|
||
text-align: center;
|
||
position: relative;
|
||
z-index: 2;
|
||
}
|
||
|
||
.empty-state-icon {
|
||
font-size: 3rem;
|
||
margin-bottom: 1rem;
|
||
opacity: 0.5;
|
||
}
|
||
|
||
.empty-state-title {
|
||
font-size: 1.125rem;
|
||
font-weight: 600;
|
||
color: var(--text-primary);
|
||
margin-bottom: 0.5rem;
|
||
font-family: 'Cinzel', serif;
|
||
}
|
||
|
||
.empty-state-text {
|
||
font-size: 0.875rem;
|
||
color: var(--text-muted);
|
||
max-width: 320px;
|
||
line-height: 1.6;
|
||
}
|
||
|
||
/* === Page Container === */
|
||
.page-container {
|
||
max-width: 960px;
|
||
margin: 0 auto;
|
||
padding: 1.5rem;
|
||
animation: fadeIn 0.5s ease-out;
|
||
position: relative;
|
||
z-index: 2;
|
||
}
|
||
|
||
.page-header {
|
||
margin-bottom: 2rem;
|
||
position: relative;
|
||
z-index: 2;
|
||
}
|
||
|
||
.page-header h2 {
|
||
font-size: 1.375rem;
|
||
margin-bottom: 0.25rem;
|
||
font-family: 'Cinzel', serif;
|
||
font-weight: 700;
|
||
}
|
||
|
||
.page-header p {
|
||
color: var(--text-muted);
|
||
font-size: 0.875rem;
|
||
margin: 0;
|
||
font-family: 'Jura', sans-serif;
|
||
}
|
||
|
||
/* === Grid === */
|
||
.card-grid {
|
||
display: grid;
|
||
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
|
||
gap: 1rem;
|
||
position: relative;
|
||
z-index: 2;
|
||
}
|
||
|
||
/* === Batch bulk operations === */
|
||
.batch-bulk-grid {
|
||
display: grid;
|
||
gap: 1rem;
|
||
margin-bottom: 1.5rem;
|
||
position: relative;
|
||
z-index: 2;
|
||
}
|
||
|
||
.batch-bulk-card {
|
||
background: var(--glass-bg);
|
||
backdrop-filter: blur(var(--glass-blur));
|
||
-webkit-backdrop-filter: blur(var(--glass-blur));
|
||
border: 1px solid var(--glass-border);
|
||
border-radius: var(--radius-md);
|
||
padding: 1.25rem;
|
||
position: relative;
|
||
z-index: 2;
|
||
transition: all var(--transition-smooth);
|
||
}
|
||
|
||
.batch-bulk-card:hover {
|
||
border-color: var(--border-glow);
|
||
box-shadow: var(--shadow-glow);
|
||
}
|
||
|
||
.batch-bulk-header {
|
||
display: flex;
|
||
justify-content: space-between;
|
||
gap: 1rem;
|
||
align-items: flex-start;
|
||
margin-bottom: 1rem;
|
||
}
|
||
|
||
.batch-bulk-header h3 {
|
||
font-size: 1rem;
|
||
margin-bottom: 0.25rem;
|
||
overflow-wrap: anywhere;
|
||
font-family: 'Cinzel', serif;
|
||
}
|
||
|
||
.batch-bulk-header p {
|
||
margin: 0;
|
||
color: var(--text-muted);
|
||
font-size: 0.8125rem;
|
||
}
|
||
|
||
.batch-bulk-fields {
|
||
display: grid;
|
||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||
gap: 0.75rem;
|
||
}
|
||
|
||
.batch-bulk-divider {
|
||
height: 1px;
|
||
background: var(--border-color);
|
||
margin: 1rem 0;
|
||
}
|
||
|
||
.batch-clone-row {
|
||
display: grid;
|
||
grid-template-columns: minmax(0, 1fr) auto;
|
||
gap: 0.75rem;
|
||
align-items: center;
|
||
margin-top: 1rem;
|
||
}
|
||
|
||
.batch-clone-row .btn-gm {
|
||
white-space: nowrap;
|
||
}
|
||
|
||
/* === Campaign templates === */
|
||
.campaign-template-panel {
|
||
margin-bottom: 1.5rem;
|
||
position: relative;
|
||
z-index: 2;
|
||
}
|
||
|
||
.campaign-template-fields {
|
||
display: grid;
|
||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||
gap: 0.75rem;
|
||
}
|
||
|
||
.campaign-template-list {
|
||
margin-top: 1rem;
|
||
border-top: 1px solid var(--border-color);
|
||
}
|
||
|
||
.campaign-template-row {
|
||
display: grid;
|
||
grid-template-columns: minmax(0, 1fr) minmax(360px, auto);
|
||
gap: 1rem;
|
||
align-items: center;
|
||
padding: 1rem 0;
|
||
border-bottom: 1px solid var(--border-color);
|
||
}
|
||
|
||
.campaign-template-row:last-child {
|
||
border-bottom: none;
|
||
padding-bottom: 0;
|
||
}
|
||
|
||
.campaign-template-info h3 {
|
||
font-size: 0.9375rem;
|
||
margin-bottom: 0.25rem;
|
||
overflow-wrap: anywhere;
|
||
font-family: 'Cinzel', serif;
|
||
}
|
||
|
||
.campaign-template-info p {
|
||
margin: 0;
|
||
color: var(--text-muted);
|
||
font-size: 0.8125rem;
|
||
}
|
||
|
||
.campaign-template-actions {
|
||
display: grid;
|
||
grid-template-columns: minmax(190px, 1fr) auto;
|
||
gap: 0.75rem;
|
||
align-items: center;
|
||
}
|
||
|
||
.template-group-selector {
|
||
display: grid;
|
||
grid-template-columns: minmax(0, 1fr) auto;
|
||
gap: 0.75rem;
|
||
align-items: center;
|
||
}
|
||
|
||
.template-management-row {
|
||
grid-template-columns: minmax(0, 1fr) auto;
|
||
}
|
||
|
||
.template-management-actions {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 0.75rem;
|
||
flex-wrap: wrap;
|
||
justify-content: flex-end;
|
||
}
|
||
|
||
.empty-state-compact {
|
||
padding: 1.5rem 1rem;
|
||
}
|
||
|
||
/* === Animations === */
|
||
@keyframes fadeIn {
|
||
from { opacity: 0; transform: translateY(10px); }
|
||
to { opacity: 1; transform: translateY(0); }
|
||
}
|
||
|
||
@keyframes slideUp {
|
||
from { opacity: 0; transform: translateY(24px); }
|
||
to { opacity: 1; transform: translateY(0); }
|
||
}
|
||
|
||
@keyframes pulse {
|
||
0%, 100% { opacity: 1; }
|
||
50% { opacity: 0.5; }
|
||
}
|
||
|
||
@keyframes skeleton-shimmer {
|
||
0% { background-position: 200% 0; }
|
||
100% { background-position: -200% 0; }
|
||
}
|
||
|
||
@keyframes glow-pulse {
|
||
0%, 100% { box-shadow: 0 0 15px rgba(139, 92, 246, 0.12); }
|
||
50% { box-shadow: 0 0 28px rgba(139, 92, 246, 0.25); }
|
||
}
|
||
|
||
.animate-fade-in {
|
||
animation: fadeIn 0.5s ease-out both;
|
||
}
|
||
|
||
.animate-slide-up {
|
||
animation: slideUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) both;
|
||
}
|
||
|
||
/* Stagger children animation */
|
||
.stagger-children > * {
|
||
animation: fadeIn 0.5s ease-out both;
|
||
}
|
||
.stagger-children > *:nth-child(1) { animation-delay: 0.06s; }
|
||
.stagger-children > *:nth-child(2) { animation-delay: 0.12s; }
|
||
.stagger-children > *:nth-child(3) { animation-delay: 0.18s; }
|
||
.stagger-children > *:nth-child(4) { animation-delay: 0.24s; }
|
||
.stagger-children > *:nth-child(5) { animation-delay: 0.30s; }
|
||
.stagger-children > *:nth-child(6) { animation-delay: 0.36s; }
|
||
|
||
/* === Blazor Overrides === */
|
||
.valid.modified:not([type=checkbox]) {
|
||
outline: none;
|
||
border-color: var(--status-success) !important;
|
||
}
|
||
|
||
.invalid {
|
||
outline: none;
|
||
border-color: var(--status-danger) !important;
|
||
}
|
||
|
||
.validation-message {
|
||
color: var(--status-danger);
|
||
font-size: 0.75rem;
|
||
margin-top: 0.25rem;
|
||
}
|
||
|
||
.blazor-error-boundary {
|
||
background: var(--status-danger-bg);
|
||
border: 1px solid rgba(239, 68, 68, 0.15);
|
||
padding: 1rem 1.25rem;
|
||
color: var(--status-danger);
|
||
border-radius: var(--radius-md);
|
||
margin: 1rem 0;
|
||
}
|
||
|
||
.blazor-error-boundary::after {
|
||
content: "Произошла ошибка при отображении этого компонента."
|
||
}
|
||
|
||
/* Bootstrap overrides for dark theme */
|
||
.form-label {
|
||
color: var(--text-secondary) !important;
|
||
font-size: 0.8125rem !important;
|
||
font-weight: 600 !important;
|
||
font-family: 'Jura', sans-serif !important;
|
||
letter-spacing: 0.03em !important;
|
||
}
|
||
|
||
.form-text {
|
||
color: var(--text-muted) !important;
|
||
font-size: 0.75rem !important;
|
||
}
|
||
|
||
/* === Login page background === */
|
||
.login-page {
|
||
min-height: 100vh;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
background: var(--bg-primary);
|
||
position: relative;
|
||
overflow: hidden;
|
||
}
|
||
|
||
.login-page::before {
|
||
content: '';
|
||
position: absolute;
|
||
top: -50%;
|
||
left: -50%;
|
||
width: 200%;
|
||
height: 200%;
|
||
background:
|
||
radial-gradient(ellipse at 30% 50%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
|
||
radial-gradient(ellipse at 70% 50%, rgba(34, 211, 238, 0.1) 0%, transparent 50%),
|
||
radial-gradient(ellipse at 50% 80%, rgba(139, 92, 246, 0.08) 0%, transparent 40%);
|
||
animation: bg-drift 20s ease-in-out infinite alternate;
|
||
}
|
||
|
||
@keyframes bg-drift {
|
||
0% { transform: translate(0, 0) rotate(0deg); }
|
||
100% { transform: translate(-3%, 2%) rotate(3deg); }
|
||
}
|
||
|
||
.login-card {
|
||
position: relative;
|
||
z-index: 2;
|
||
background: var(--glass-bg);
|
||
backdrop-filter: blur(24px);
|
||
-webkit-backdrop-filter: blur(24px);
|
||
border: 1px solid var(--glass-border);
|
||
border-radius: var(--radius-xl);
|
||
padding: 2.5rem;
|
||
width: 100%;
|
||
max-width: 400px;
|
||
margin: 1rem;
|
||
text-align: center;
|
||
animation: slideUp 0.7s cubic-bezier(0.4, 0, 0.2, 1);
|
||
box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(139, 92, 246, 0.1);
|
||
}
|
||
|
||
.login-card::before {
|
||
content: '';
|
||
position: absolute;
|
||
inset: 0;
|
||
border-radius: inherit;
|
||
padding: 1px;
|
||
background: linear-gradient(135deg, rgba(139, 92, 246, 0.2) 0%, transparent 35%, transparent 65%, rgba(34, 211, 238, 0.15) 100%);
|
||
-webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
|
||
-webkit-mask-composite: xor;
|
||
mask-composite: exclude;
|
||
pointer-events: none;
|
||
}
|
||
|
||
.login-logo {
|
||
width: 2.5rem;
|
||
height: 2.5rem;
|
||
object-fit: contain;
|
||
margin-bottom: 0.5rem;
|
||
display: block;
|
||
margin-left: auto;
|
||
margin-right: auto;
|
||
}
|
||
|
||
.login-title {
|
||
font-size: 1.5rem;
|
||
font-weight: 700;
|
||
margin-bottom: 0.5rem;
|
||
background: var(--accent-gradient);
|
||
-webkit-background-clip: text;
|
||
-webkit-text-fill-color: transparent;
|
||
background-clip: text;
|
||
font-family: 'Cinzel Decorative', 'Cinzel', serif;
|
||
letter-spacing: 0.04em;
|
||
}
|
||
|
||
.login-subtitle {
|
||
color: var(--text-muted);
|
||
font-size: 0.875rem;
|
||
margin-bottom: 2rem;
|
||
font-family: 'Jura', sans-serif;
|
||
}
|
||
|
||
/* === Telegram Mini App entry === */
|
||
.mini-app-page {
|
||
min-height: 100vh;
|
||
min-height: var(--gm-tg-viewport-height, 100dvh);
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
padding: 1rem;
|
||
background: var(--bg-primary);
|
||
position: relative;
|
||
z-index: 2;
|
||
}
|
||
|
||
.mini-app-auth-card {
|
||
width: 100%;
|
||
max-width: 360px;
|
||
padding: 1.5rem;
|
||
border: 1px solid var(--glass-border);
|
||
border-radius: var(--radius-md);
|
||
background: var(--glass-bg);
|
||
text-align: center;
|
||
position: relative;
|
||
z-index: 2;
|
||
}
|
||
|
||
.mini-app-logo {
|
||
width: 2.25rem;
|
||
height: 2.25rem;
|
||
object-fit: contain;
|
||
margin-bottom: 0.75rem;
|
||
display: block;
|
||
margin-left: auto;
|
||
margin-right: auto;
|
||
}
|
||
|
||
.mini-app-auth-card h1 {
|
||
font-size: 1.375rem;
|
||
margin-bottom: 0.5rem;
|
||
font-family: 'Cinzel Decorative', 'Cinzel', serif;
|
||
}
|
||
|
||
.mini-app-auth-card p {
|
||
color: var(--text-secondary);
|
||
font-size: 0.875rem;
|
||
margin-bottom: 1.25rem;
|
||
}
|
||
|
||
.telegram-mini-app .page-container {
|
||
max-width: 720px;
|
||
}
|
||
|
||
body.telegram-mini-app {
|
||
min-height: var(--gm-tg-viewport-height, 100dvh);
|
||
}
|
||
|
||
body.telegram-mini-app .mini-app-page {
|
||
padding-top: calc(1rem + var(--gm-mini-app-top-inset, 0px));
|
||
padding-right: calc(1rem + var(--gm-mini-app-right-inset, 0px));
|
||
padding-bottom: calc(1rem + var(--gm-mini-app-bottom-inset, 0px));
|
||
padding-left: calc(1rem + var(--gm-mini-app-left-inset, 0px));
|
||
}
|
||
|
||
body.telegram-mini-app .content {
|
||
padding-bottom: calc(1.5rem + var(--gm-mini-app-bottom-inset, 0px));
|
||
}
|
||
|
||
/* === Mobile Sessions Cards (instead of table) === */
|
||
.session-card-mobile {
|
||
display: none;
|
||
position: relative;
|
||
z-index: 2;
|
||
}
|
||
|
||
body.telegram-mini-app .session-table-desktop {
|
||
display: none;
|
||
}
|
||
|
||
body.telegram-mini-app .session-card-mobile {
|
||
display: block;
|
||
}
|
||
|
||
.session-card {
|
||
background: var(--glass-bg);
|
||
backdrop-filter: blur(var(--glass-blur));
|
||
border: 1px solid var(--glass-border);
|
||
border-radius: var(--radius-md);
|
||
padding: 1rem;
|
||
margin-bottom: 0.75rem;
|
||
transition: all var(--transition-smooth);
|
||
position: relative;
|
||
z-index: 2;
|
||
}
|
||
|
||
.session-card:hover {
|
||
border-color: var(--border-glow);
|
||
box-shadow: var(--shadow-glow);
|
||
}
|
||
|
||
.session-card-header {
|
||
display: flex;
|
||
justify-content: space-between;
|
||
align-items: flex-start;
|
||
margin-bottom: 0.75rem;
|
||
}
|
||
|
||
.session-card-title {
|
||
font-weight: 600;
|
||
font-size: 0.9375rem;
|
||
color: var(--text-primary);
|
||
}
|
||
|
||
.session-card-body {
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 0.5rem;
|
||
font-size: 0.8125rem;
|
||
color: var(--text-secondary);
|
||
}
|
||
|
||
.session-card-row {
|
||
display: flex;
|
||
justify-content: space-between;
|
||
align-items: center;
|
||
}
|
||
|
||
.session-card-actions {
|
||
margin-top: 0.75rem;
|
||
padding-top: 0.75rem;
|
||
border-top: 1px solid var(--border-color);
|
||
display: flex;
|
||
gap: 0.5rem;
|
||
}
|
||
|
||
@media (max-width: 1024px) {
|
||
.session-table-desktop {
|
||
display: none;
|
||
}
|
||
|
||
.session-card-mobile {
|
||
display: block;
|
||
}
|
||
}
|
||
|
||
@media (max-width: 768px) {
|
||
.card-grid {
|
||
grid-template-columns: 1fr;
|
||
}
|
||
|
||
.batch-bulk-fields,
|
||
.batch-clone-row,
|
||
.campaign-template-fields,
|
||
.campaign-template-row,
|
||
.campaign-template-actions,
|
||
.template-group-selector {
|
||
grid-template-columns: 1fr;
|
||
}
|
||
|
||
.batch-clone-row .btn-gm,
|
||
.campaign-template-actions .btn-gm {
|
||
justify-content: center;
|
||
width: 100%;
|
||
}
|
||
|
||
.page-container {
|
||
padding: 1rem;
|
||
}
|
||
|
||
.telegram-mini-app .content {
|
||
padding: 0.75rem;
|
||
padding-bottom: calc(0.75rem + var(--gm-mini-app-bottom-inset, 0px));
|
||
}
|
||
|
||
.telegram-mini-app .page-container {
|
||
padding: 0.75rem;
|
||
}
|
||
|
||
body.telegram-mini-app .nav-header {
|
||
padding-top: calc(1.25rem + var(--gm-mini-app-top-inset, 0px));
|
||
padding-left: calc(1rem + var(--gm-mini-app-left-inset, 0px));
|
||
padding-right: calc(0.75rem + var(--gm-mini-app-right-inset, 0px));
|
||
}
|
||
|
||
body.telegram-mini-app .nav-toggle {
|
||
top: calc(0.75rem + var(--gm-mini-app-top-inset, 0px));
|
||
left: calc(0.75rem + var(--gm-mini-app-left-inset, 0px));
|
||
}
|
||
|
||
h2 {
|
||
font-size: 1.25rem;
|
||
}
|
||
}
|
||
|
||
/* === 404 / Error Pages === */
|
||
.error-page {
|
||
display: flex;
|
||
flex-direction: column;
|
||
align-items: center;
|
||
justify-content: center;
|
||
min-height: 60vh;
|
||
text-align: center;
|
||
padding: 2rem;
|
||
animation: fadeIn 0.5s ease-out;
|
||
position: relative;
|
||
z-index: 2;
|
||
}
|
||
|
||
.error-page-icon {
|
||
font-size: 4rem;
|
||
margin-bottom: 1rem;
|
||
}
|
||
|
||
.error-page-title {
|
||
font-size: 1.5rem;
|
||
font-weight: 700;
|
||
margin-bottom: 0.5rem;
|
||
font-family: 'Cinzel', serif;
|
||
}
|
||
|
||
.error-page-text {
|
||
color: var(--text-muted);
|
||
font-size: 0.9375rem;
|
||
max-width: 400px;
|
||
margin-bottom: 1.5rem;
|
||
}
|
||
|
||
/* === Responsive fine-tuning === */
|
||
@media (max-width: 480px) {
|
||
.login-card {
|
||
padding: 1.5rem;
|
||
margin: 0.75rem;
|
||
}
|
||
|
||
.glass-card {
|
||
padding: 1rem;
|
||
}
|
||
}
|
||
|
||
/* === Participant list === */
|
||
.participant-panel {
|
||
background: rgba(0, 0, 0, 0.25);
|
||
border-radius: 0.75rem;
|
||
padding: 0.75rem;
|
||
margin: 0.5rem 0;
|
||
position: relative;
|
||
z-index: 2;
|
||
}
|
||
|
||
.participant-list {
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 0.5rem;
|
||
}
|
||
|
||
.participant-row {
|
||
display: flex;
|
||
justify-content: space-between;
|
||
align-items: center;
|
||
padding: 0.5rem 0.75rem;
|
||
background: rgba(255, 255, 255, 0.03);
|
||
border-radius: 0.5rem;
|
||
gap: 0.5rem;
|
||
transition: background var(--transition-fast);
|
||
}
|
||
|
||
.participant-row:hover {
|
||
background: rgba(255, 255, 255, 0.05);
|
||
}
|
||
|
||
.participant-info {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 0.5rem;
|
||
flex-wrap: wrap;
|
||
flex: 1;
|
||
}
|
||
|
||
.participant-name {
|
||
font-weight: 600;
|
||
color: var(--text-primary);
|
||
font-family: 'Jura', sans-serif;
|
||
}
|
||
|
||
.participant-username {
|
||
font-size: 0.75rem;
|
||
color: var(--text-muted);
|
||
}
|
||
|
||
.btn-gm-link {
|
||
background: transparent;
|
||
border: none;
|
||
color: var(--text-primary);
|
||
font-weight: 600;
|
||
cursor: pointer;
|
||
font-size: inherit;
|
||
font-family: 'Jura', sans-serif;
|
||
padding: 0;
|
||
transition: color var(--transition-fast);
|
||
}
|
||
|
||
.btn-gm-link:hover {
|
||
color: var(--accent-secondary);
|
||
}
|
||
|
||
/* === Sidebar refinements (MainLayout & NavMenu) === */
|
||
.page {
|
||
display: flex;
|
||
min-height: 100vh;
|
||
position: relative;
|
||
z-index: 2;
|
||
}
|
||
|
||
.sidebar {
|
||
width: var(--sidebar-width);
|
||
background: var(--bg-secondary);
|
||
border-right: 1px solid var(--border-color);
|
||
display: flex;
|
||
flex-direction: column;
|
||
position: fixed;
|
||
top: 0;
|
||
left: 0;
|
||
bottom: 0;
|
||
z-index: 10;
|
||
overflow-y: auto;
|
||
overflow-x: hidden;
|
||
}
|
||
|
||
.main-area {
|
||
flex: 1;
|
||
margin-left: var(--sidebar-width);
|
||
min-height: 100vh;
|
||
position: relative;
|
||
z-index: 2;
|
||
}
|
||
|
||
.content {
|
||
padding: 1.5rem;
|
||
min-height: 100vh;
|
||
}
|
||
|
||
.nav-header {
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: space-between;
|
||
padding: 1.25rem 1rem;
|
||
border-bottom: 1px solid var(--border-color);
|
||
}
|
||
|
||
.nav-brand {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 0.75rem;
|
||
text-decoration: none;
|
||
color: var(--text-primary);
|
||
}
|
||
|
||
.nav-brand-icon {
|
||
width: 1.75rem;
|
||
height: 1.75rem;
|
||
object-fit: contain;
|
||
}
|
||
|
||
.nav-brand-text {
|
||
font-family: 'Cinzel Decorative', 'Cinzel', serif;
|
||
font-size: 1.125rem;
|
||
font-weight: 700;
|
||
letter-spacing: 0.04em;
|
||
color: var(--text-primary);
|
||
}
|
||
|
||
.nav-toggle {
|
||
display: none;
|
||
background: none;
|
||
border: none;
|
||
color: var(--text-secondary);
|
||
cursor: pointer;
|
||
padding: 0.5rem;
|
||
border-radius: var(--radius-sm);
|
||
transition: all var(--transition-fast);
|
||
}
|
||
|
||
.nav-toggle:hover {
|
||
background: var(--bg-surface);
|
||
color: var(--text-primary);
|
||
}
|
||
|
||
.nav-body {
|
||
flex: 1;
|
||
display: flex;
|
||
flex-direction: column;
|
||
padding: 1rem;
|
||
gap: 0.5rem;
|
||
}
|
||
|
||
.nav-section {
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 0.25rem;
|
||
margin-bottom: auto;
|
||
}
|
||
|
||
.nav-item {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 0.75rem;
|
||
padding: 0.625rem 0.875rem;
|
||
border-radius: var(--radius-sm);
|
||
color: var(--text-secondary);
|
||
text-decoration: none;
|
||
font-size: 0.875rem;
|
||
font-weight: 600;
|
||
font-family: 'Jura', sans-serif;
|
||
letter-spacing: 0.02em;
|
||
transition: all var(--transition-fast);
|
||
border: 1px solid transparent;
|
||
}
|
||
|
||
.nav-item:hover {
|
||
background: var(--bg-surface);
|
||
color: var(--text-primary);
|
||
border-color: var(--border-color);
|
||
}
|
||
|
||
.nav-item.active {
|
||
background: linear-gradient(135deg, rgba(139, 92, 246, 0.15) 0%, rgba(34, 211, 238, 0.08) 100%);
|
||
color: var(--text-accent);
|
||
border-color: rgba(139, 92, 246, 0.25);
|
||
box-shadow: 0 0 12px rgba(139, 92, 246, 0.1);
|
||
}
|
||
|
||
.nav-item.active .nav-icon {
|
||
color: var(--accent-primary);
|
||
}
|
||
|
||
.nav-icon {
|
||
width: 1.125rem;
|
||
height: 1.125rem;
|
||
flex-shrink: 0;
|
||
color: var(--text-muted);
|
||
transition: color var(--transition-fast);
|
||
}
|
||
|
||
.nav-item:hover .nav-icon {
|
||
color: var(--text-primary);
|
||
}
|
||
|
||
.nav-footer {
|
||
margin-top: auto;
|
||
padding-top: 1rem;
|
||
border-top: 1px solid var(--border-color);
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 0.75rem;
|
||
}
|
||
|
||
.nav-user {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 0.625rem;
|
||
padding: 0.5rem 0.75rem;
|
||
}
|
||
|
||
.nav-user-avatar {
|
||
width: 2rem;
|
||
height: 2rem;
|
||
border-radius: 50%;
|
||
background: var(--accent-gradient);
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
font-size: 0.875rem;
|
||
font-weight: 700;
|
||
color: white;
|
||
flex-shrink: 0;
|
||
font-family: 'Jura', sans-serif;
|
||
}
|
||
|
||
.nav-user-name {
|
||
font-size: 0.8125rem;
|
||
font-weight: 600;
|
||
color: var(--text-secondary);
|
||
overflow: hidden;
|
||
text-overflow: ellipsis;
|
||
white-space: nowrap;
|
||
font-family: 'Jura', sans-serif;
|
||
}
|
||
|
||
.nav-logout-btn {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 0.5rem;
|
||
padding: 0.5rem 0.75rem;
|
||
border-radius: var(--radius-sm);
|
||
color: var(--text-muted);
|
||
background: transparent;
|
||
border: 1px solid transparent;
|
||
cursor: pointer;
|
||
font-size: 0.8125rem;
|
||
font-weight: 600;
|
||
font-family: 'Jura', sans-serif;
|
||
letter-spacing: 0.02em;
|
||
transition: all var(--transition-fast);
|
||
width: 100%;
|
||
}
|
||
|
||
.nav-logout-btn:hover {
|
||
background: rgba(239, 68, 68, 0.08);
|
||
color: var(--status-danger);
|
||
border-color: rgba(239, 68, 68, 0.15);
|
||
}
|
||
|
||
.nav-version {
|
||
font-size: 0.6875rem;
|
||
color: var(--text-muted);
|
||
text-align: center;
|
||
font-family: 'Jura', sans-serif;
|
||
letter-spacing: 0.05em;
|
||
opacity: 0.6;
|
||
}
|
||
|
||
/* === Blazor error UI === */
|
||
#blazor-error-ui {
|
||
background: var(--status-danger-bg);
|
||
color: var(--status-danger);
|
||
bottom: 0;
|
||
box-shadow: 0 -1px 2px rgba(0,0,0,0.2);
|
||
display: none;
|
||
left: 0;
|
||
padding: 0.6rem 1.25rem;
|
||
position: fixed;
|
||
width: 100%;
|
||
z-index: 1000;
|
||
font-family: 'Jura', sans-serif;
|
||
font-size: 0.875rem;
|
||
font-weight: 500;
|
||
}
|
||
|
||
#blazor-error-ui .dismiss {
|
||
cursor: pointer;
|
||
position: absolute;
|
||
right: 0.75rem;
|
||
top: 0.5rem;
|
||
}
|
||
|
||
#blazor-error-ui .reload {
|
||
color: var(--text-accent);
|
||
margin-left: 0.5rem;
|
||
text-decoration: underline;
|
||
}
|
||
|
||
/* === Mobile responsive sidebar === */
|
||
@media (max-width: 768px) {
|
||
.sidebar {
|
||
width: 100%;
|
||
position: fixed;
|
||
z-index: 100;
|
||
transform: translateX(-100%);
|
||
transition: transform var(--transition-normal);
|
||
}
|
||
|
||
.sidebar.open {
|
||
transform: translateX(0);
|
||
}
|
||
|
||
.main-area {
|
||
margin-left: 0;
|
||
}
|
||
|
||
.nav-toggle {
|
||
display: block;
|
||
position: fixed;
|
||
top: 1rem;
|
||
left: 1rem;
|
||
z-index: 101;
|
||
background: var(--bg-secondary);
|
||
border: 1px solid var(--border-color);
|
||
}
|
||
|
||
.nav-body.open {
|
||
display: flex;
|
||
}
|
||
}
|
||
|
||
/* === Discord Login Button === */
|
||
.login-btn-discord {
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
gap: 0.75rem;
|
||
width: 100%;
|
||
padding: 0.75rem 1.25rem;
|
||
border-radius: var(--radius-md);
|
||
font-weight: 500;
|
||
font-size: 0.9375rem;
|
||
text-decoration: none;
|
||
transition: all 0.2s ease;
|
||
background-color: #5865F2;
|
||
color: white;
|
||
border: none;
|
||
cursor: pointer;
|
||
}
|
||
|
||
.login-btn-discord:hover {
|
||
background-color: #4752C4;
|
||
transform: translateY(-1px);
|
||
}
|
||
|
||
.login-btn-discord:active {
|
||
transform: translateY(0);
|
||
}
|
||
|
||
.login-btn-discord .login-btn-icon {
|
||
width: 20px;
|
||
height: 20px;
|
||
flex-shrink: 0;
|
||
}
|
||
|
||
.login-divider {
|
||
display: flex;
|
||
align-items: center;
|
||
margin: 1.25rem 0;
|
||
color: var(--text-muted);
|
||
font-size: 0.875rem;
|
||
}
|
||
|
||
.login-divider::before,
|
||
.login-divider::after {
|
||
content: "";
|
||
flex: 1;
|
||
height: 1px;
|
||
background: var(--border-color);
|
||
}
|
||
|
||
.login-divider span {
|
||
padding: 0 1rem;
|
||
}
|
||
|
||
/* === Platform Indicator in Nav === */
|
||
.nav-user-info {
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 0.125rem;
|
||
}
|
||
|
||
.nav-user-platform {
|
||
font-size: 0.6875rem;
|
||
color: var(--text-muted);
|
||
text-transform: uppercase;
|
||
letter-spacing: 0.025em;
|
||
}
|
||
|
||
.nav-user-avatar img {
|
||
width: 100%;
|
||
height: 100%;
|
||
object-fit: cover;
|
||
border-radius: 50%;
|
||
}
|