feat/fix: implement chatbot session persistence, resolve auth redirect loops, and polish UI
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
justify-content: space-between;
|
||||
gap: 16px;
|
||||
}
|
||||
.app-header .logo { height: 34px; cursor: pointer; transition: opacity var(--transition); }
|
||||
.app-header .logo { height: 34px; width: auto; object-fit: contain; cursor: pointer; transition: opacity var(--transition); }
|
||||
.app-header .logo:hover { opacity: 0.85; }
|
||||
.header-actions { display: flex; align-items: center; gap: 10px; }
|
||||
|
||||
@@ -79,13 +79,7 @@
|
||||
.auth-box .auth-subtitle { color: var(--muted); font-size: 14px; margin-bottom: 32px; }
|
||||
.auth-links { margin-top: 20px; font-size: 13px; color: var(--muted); text-align: center; line-height: 2; }
|
||||
|
||||
body.dark-theme .auth-shell { background: var(--bg); }
|
||||
body.dark-theme .auth-form-side { background: var(--bg); }
|
||||
body.dark-theme .auth-box h1 { color: var(--navy); }
|
||||
body.dark-theme .auth-box .auth-subtitle { color: var(--muted); }
|
||||
body.dark-theme .auth-box .form-label { color: var(--muted); }
|
||||
body.dark-theme .auth-box .input { background: var(--card); color: var(--navy); border-color: var(--border); }
|
||||
body.dark-theme .auth-links a { color: var(--blue); }
|
||||
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.auth-shell { flex-direction: column; }
|
||||
@@ -126,15 +120,26 @@ body.dark-theme .auth-links a { color: var(--blue); }
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 6px;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
transition: box-shadow var(--transition), transform var(--transition);
|
||||
}
|
||||
.stat-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
|
||||
.stat-card .stat-icon { font-size: 22px; margin-bottom: 4px; color: var(--muted); }
|
||||
.stat-card .stat-value, .stat-card .stat-val { font-family: var(--font-mono); font-size: 27px; font-weight: 600; color: var(--ink); line-height: 1; font-variant-numeric: tabular-nums; }
|
||||
.stat-card .stat-label, .stat-card .stat-title { font-size: 11.5px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
|
||||
.stat-card.accent-blue { border-left: 3px solid var(--emerald); }
|
||||
.stat-card.accent-orange{ border-left: 3px solid var(--brass); }
|
||||
.stat-card.accent-green { border-left: 3px solid var(--success); }
|
||||
|
||||
.stat-card::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
width: 4px;
|
||||
}
|
||||
.stat-card.accent-blue::before { background: var(--emerald); }
|
||||
.stat-card.accent-orange::before{ background: var(--brass); }
|
||||
.stat-card.accent-green::before { background: var(--success); }
|
||||
|
||||
/* ── Tab Bar ─────────────────────────────────────────────── */
|
||||
.tab-bar {
|
||||
@@ -373,13 +378,7 @@ body.dark-theme .auth-links a { color: var(--blue); }
|
||||
.btn-upload-pill { background: var(--brass); color: #fff; border: none; border-radius: var(--radius-sm); font-weight: 500; cursor: pointer; padding: 8px 16px; display: inline-flex; align-items: center; gap: 8px; }
|
||||
.btn-upload-pill:hover { opacity: 0.9; }
|
||||
|
||||
/* ── Dark theme overrides for the above ─────────────────── */
|
||||
body.dark-theme .app-header { background: var(--header-bg); border-color: var(--border); }
|
||||
body.dark-theme .admin-table th { background: var(--card); }
|
||||
body.dark-theme .chatbot-footer { background: var(--card); border-color: var(--border); }
|
||||
body.dark-theme .doc-row, body.dark-theme .stat-card, body.dark-theme .user-card { background: var(--card); }
|
||||
body.dark-theme .search-bar, body.dark-theme .role-select { background: var(--card); color: var(--navy); }
|
||||
body.dark-theme .search-bar input { color: var(--navy); }
|
||||
|
||||
|
||||
|
||||
/* ============================================================
|
||||
|
||||
Reference in New Issue
Block a user