Changeset 0.37.12 (#224)
Co-authored-by: gobha <jasafpro@gmail.com> Co-committed-by: gobha <jasafpro@gmail.com>
This commit is contained in:
@@ -1,247 +0,0 @@
|
||||
/* ==========================================
|
||||
Channel Models — v0.20.0 Phase 2
|
||||
Model pills, @mention autocomplete, add dialog
|
||||
========================================== */
|
||||
|
||||
/* ── Model Pills (chat header) ───────────── */
|
||||
|
||||
.ch-model-pills {
|
||||
display: none; /* shown by JS when roster > 1 */
|
||||
align-items: center;
|
||||
gap: 4px;
|
||||
padding: 0 8px;
|
||||
flex-shrink: 1;
|
||||
overflow-x: auto;
|
||||
scrollbar-width: none;
|
||||
}
|
||||
.ch-model-pills::-webkit-scrollbar { display: none; }
|
||||
|
||||
.ch-model-pill {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 2px;
|
||||
padding: 2px 8px;
|
||||
border-radius: 12px;
|
||||
background: var(--bg-raised);
|
||||
border: 1px solid var(--border);
|
||||
font-size: 0.75rem;
|
||||
white-space: nowrap;
|
||||
cursor: default;
|
||||
transition: background 0.15s;
|
||||
}
|
||||
.ch-model-pill.ch-model-default {
|
||||
background: var(--accent-bg, #e8f0fe);
|
||||
border-color: var(--accent);
|
||||
}
|
||||
.ch-model-pill-name {
|
||||
cursor: pointer;
|
||||
user-select: none;
|
||||
}
|
||||
.ch-model-pill-name:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
.ch-model-pill-remove {
|
||||
background: none;
|
||||
border: none;
|
||||
cursor: pointer;
|
||||
font-size: 0.65rem;
|
||||
color: var(--text-3);
|
||||
padding: 0 2px;
|
||||
line-height: 1;
|
||||
opacity: 0.6;
|
||||
transition: opacity 0.15s;
|
||||
}
|
||||
.ch-model-pill-remove:hover {
|
||||
opacity: 1;
|
||||
color: var(--danger);
|
||||
}
|
||||
|
||||
.ch-model-add-btn {
|
||||
background: none;
|
||||
border: 1px dashed var(--border);
|
||||
border-radius: 12px;
|
||||
padding: 2px 8px;
|
||||
font-size: 0.75rem;
|
||||
cursor: pointer;
|
||||
color: var(--text-3);
|
||||
white-space: nowrap;
|
||||
transition: color 0.15s, border-color 0.15s;
|
||||
}
|
||||
.ch-model-add-btn:hover {
|
||||
color: var(--text);
|
||||
border-color: var(--text);
|
||||
}
|
||||
|
||||
/* ── Add Model Dialog ────────────────────── */
|
||||
|
||||
.ch-model-add-dialog {
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
background: rgba(0,0,0,0.4);
|
||||
z-index: 1100;
|
||||
}
|
||||
.ch-model-add-inner {
|
||||
background: var(--bg-surface);
|
||||
border-radius: 12px;
|
||||
padding: 24px;
|
||||
min-width: 320px;
|
||||
max-width: 420px;
|
||||
box-shadow: 0 8px 32px rgba(0,0,0,0.2);
|
||||
}
|
||||
.ch-model-add-inner h3 {
|
||||
margin: 0 0 16px;
|
||||
font-size: 1rem;
|
||||
}
|
||||
.ch-model-add-inner label {
|
||||
display: block;
|
||||
margin-bottom: 12px;
|
||||
font-size: 0.85rem;
|
||||
color: var(--text-3);
|
||||
}
|
||||
.ch-model-add-inner select,
|
||||
.ch-model-add-inner input[type="text"] {
|
||||
display: block;
|
||||
width: 100%;
|
||||
margin-top: 4px;
|
||||
padding: 8px;
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 6px;
|
||||
font-size: 0.9rem;
|
||||
background: var(--bg-surface);
|
||||
color: var(--text);
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.ch-model-add-actions {
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
justify-content: flex-end;
|
||||
margin-top: 16px;
|
||||
}
|
||||
|
||||
/* ── @mention Autocomplete ───────────────── */
|
||||
|
||||
.mention-ac {
|
||||
position: fixed;
|
||||
z-index: 1050;
|
||||
background: var(--bg-raised);
|
||||
border: 1px solid var(--border-light);
|
||||
border-radius: 8px;
|
||||
box-shadow: 0 4px 16px rgba(0,0,0,0.3);
|
||||
max-height: 260px;
|
||||
overflow-y: auto;
|
||||
padding: 4px 0;
|
||||
}
|
||||
.mention-ac-item:hover,
|
||||
.mention-ac-item.mention-ac-active {
|
||||
background: var(--bg-hover);
|
||||
}
|
||||
.mention-ac-name {
|
||||
font-weight: 500;
|
||||
font-size: 0.85rem;
|
||||
}
|
||||
.mention-ac-info {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
}
|
||||
.mention-ac-handle {
|
||||
font-size: 0.72rem;
|
||||
color: var(--accent, #6c9fff);
|
||||
font-family: var(--mono);
|
||||
opacity: 0.8;
|
||||
}
|
||||
.mention-ac-model {
|
||||
font-size: 0.75rem;
|
||||
color: var(--text-3);
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
max-width: 160px;
|
||||
}
|
||||
|
||||
/* ── Autocomplete avatars (v0.23.0) ──────────── */
|
||||
.mention-ac-avatar {
|
||||
width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0;
|
||||
object-fit: cover;
|
||||
}
|
||||
.mention-ac-avatar-fallback {
|
||||
display: inline-flex; align-items: center; justify-content: center;
|
||||
background: var(--bg-hover); font-size: 12px; line-height: 1;
|
||||
}
|
||||
.mention-ac-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: 8px 12px;
|
||||
cursor: pointer;
|
||||
gap: 8px;
|
||||
transition: background 0.1s;
|
||||
}
|
||||
|
||||
/* ── @mention pills in messages (v0.23.0) ──── */
|
||||
.mention-pill {
|
||||
display: inline;
|
||||
color: var(--accent, #6c9fff);
|
||||
font-weight: 600;
|
||||
background: var(--accent-dim, rgba(108,159,255,0.12));
|
||||
padding: 1px 5px;
|
||||
border-radius: 4px;
|
||||
font-size: 0.92em;
|
||||
}
|
||||
/* v0.23.2: User mention pill — teal to distinguish from AI mentions */
|
||||
.mention-pill.mention-user {
|
||||
color: #2dd4bf;
|
||||
background: rgba(45,212,191,0.12);
|
||||
}
|
||||
|
||||
/* ── Model Attribution (multi-model messages) ─ */
|
||||
|
||||
.msg-model-label {
|
||||
display: inline-block;
|
||||
font-size: 0.7rem;
|
||||
font-weight: 600;
|
||||
padding: 1px 6px;
|
||||
border-radius: 4px;
|
||||
background: var(--bg-raised);
|
||||
color: var(--text-3);
|
||||
margin-left: 6px;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
/* Model separator in multi-model stream */
|
||||
.model-stream-divider {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
padding: 12px 0 4px;
|
||||
font-size: 0.8rem;
|
||||
color: var(--text-3);
|
||||
font-weight: 500;
|
||||
}
|
||||
.model-stream-divider::before,
|
||||
.model-stream-divider::after {
|
||||
content: '';
|
||||
flex: 1;
|
||||
height: 1px;
|
||||
background: var(--border);
|
||||
}
|
||||
|
||||
/* ── Mobile ──────────────────────────────── */
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.ch-model-pills {
|
||||
max-width: 50vw;
|
||||
}
|
||||
.ch-model-add-inner {
|
||||
min-width: auto;
|
||||
margin: 0 16px;
|
||||
}
|
||||
.mention-ac {
|
||||
left: 8px !important;
|
||||
right: 8px;
|
||||
min-width: auto !important;
|
||||
}
|
||||
}
|
||||
@@ -1,298 +0,0 @@
|
||||
/* ==========================================
|
||||
* Chat Switchboard – Memory UI (v0.18.0)
|
||||
* ========================================== */
|
||||
|
||||
/* ── Summary Stats ─────────────────────── */
|
||||
|
||||
.memory-summary {
|
||||
display: flex;
|
||||
gap: 16px;
|
||||
margin-bottom: 12px;
|
||||
padding: 10px 0;
|
||||
}
|
||||
|
||||
.memory-stat {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
padding: 10px 20px;
|
||||
background: var(--bg-raised);
|
||||
border-radius: 8px;
|
||||
min-width: 80px;
|
||||
}
|
||||
|
||||
.memory-stat-value {
|
||||
font-size: 1.5rem;
|
||||
font-weight: 600;
|
||||
color: var(--text-1);
|
||||
line-height: 1.2;
|
||||
}
|
||||
|
||||
.memory-stat-label {
|
||||
font-size: 0.75rem;
|
||||
color: var(--text-3);
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.5px;
|
||||
}
|
||||
|
||||
/* ── Toolbar ───────────────────────────── */
|
||||
|
||||
.memory-toolbar {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 8px;
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
.memory-filter-row {
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.memory-select {
|
||||
padding: 5px 8px;
|
||||
border-radius: 6px;
|
||||
border: 1px solid var(--border);
|
||||
background: var(--bg-1);
|
||||
color: var(--text-1);
|
||||
font-size: 0.82rem;
|
||||
min-width: 120px;
|
||||
}
|
||||
|
||||
.memory-search {
|
||||
flex: 1;
|
||||
padding: 5px 10px;
|
||||
border-radius: 6px;
|
||||
border: 1px solid var(--border);
|
||||
background: var(--bg-1);
|
||||
color: var(--text-1);
|
||||
font-size: 0.82rem;
|
||||
}
|
||||
|
||||
.memory-search::placeholder {
|
||||
color: var(--text-3);
|
||||
}
|
||||
|
||||
.memory-actions-row {
|
||||
display: flex;
|
||||
gap: 6px;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
/* ── Memory List ───────────────────────── */
|
||||
|
||||
.memory-list {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 6px;
|
||||
max-height: 400px;
|
||||
overflow-y: auto;
|
||||
padding-right: 4px;
|
||||
}
|
||||
|
||||
/* ── Memory Card ───────────────────────── */
|
||||
|
||||
.memory-card {
|
||||
background: var(--bg-raised);
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 8px;
|
||||
padding: 10px 12px;
|
||||
transition: border-color 0.15s;
|
||||
}
|
||||
|
||||
.memory-card:hover {
|
||||
border-color: var(--accent);
|
||||
}
|
||||
|
||||
.memory-card-pending {
|
||||
border-left: 3px solid var(--warning, #f0ad4e);
|
||||
}
|
||||
|
||||
.memory-card-header {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
margin-bottom: 4px;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.memory-key {
|
||||
font-weight: 600;
|
||||
font-size: 0.85rem;
|
||||
color: var(--text-1);
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.memory-badges {
|
||||
display: flex;
|
||||
gap: 4px;
|
||||
align-items: center;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.memory-scope-badge {
|
||||
font-size: 0.68rem;
|
||||
padding: 1px 6px;
|
||||
border-radius: 4px;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.3px;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.memory-scope-user { background: var(--accent-dim, #1a3a5c); color: var(--accent-text, #6db3f2); }
|
||||
.memory-scope-persona { background: #3a2a1a; color: #f0ad4e; }
|
||||
.memory-scope-persona_user { background: #2a1a3a; color: #c084fc; }
|
||||
|
||||
.memory-confidence {
|
||||
font-size: 0.7rem;
|
||||
padding: 1px 5px;
|
||||
border-radius: 4px;
|
||||
font-weight: 500;
|
||||
background: var(--bg-3);
|
||||
color: var(--text-2);
|
||||
}
|
||||
|
||||
.memory-confidence-high { color: var(--success, #5cb85c); }
|
||||
.memory-confidence-medium { color: var(--warning, #f0ad4e); }
|
||||
.memory-confidence-low { color: var(--text-3); }
|
||||
|
||||
.memory-owner {
|
||||
font-size: 0.68rem;
|
||||
color: var(--text-3);
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
.memory-card-value {
|
||||
font-size: 0.82rem;
|
||||
color: var(--text-2);
|
||||
line-height: 1.4;
|
||||
margin-bottom: 6px;
|
||||
word-break: break-word;
|
||||
}
|
||||
|
||||
.memory-card-footer {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.memory-date {
|
||||
font-size: 0.7rem;
|
||||
color: var(--text-3);
|
||||
}
|
||||
|
||||
.memory-card-actions {
|
||||
display: flex;
|
||||
gap: 4px;
|
||||
}
|
||||
|
||||
/* ── Tiny Action Buttons ───────────────── */
|
||||
|
||||
.btn-tiny {
|
||||
padding: 2px 8px;
|
||||
font-size: 0.72rem;
|
||||
border-radius: 4px;
|
||||
border: 1px solid var(--border);
|
||||
background: var(--bg-1);
|
||||
color: var(--text-2);
|
||||
cursor: pointer;
|
||||
line-height: 1.4;
|
||||
transition: background 0.12s, color 0.12s;
|
||||
}
|
||||
|
||||
.btn-tiny:hover {
|
||||
background: var(--bg-3);
|
||||
color: var(--text-1);
|
||||
}
|
||||
|
||||
.btn-tiny.btn-approve {
|
||||
color: var(--success, #5cb85c);
|
||||
border-color: var(--success, #5cb85c);
|
||||
}
|
||||
|
||||
.btn-tiny.btn-approve:hover {
|
||||
background: var(--success, #5cb85c);
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.btn-tiny.btn-reject {
|
||||
color: var(--danger, #d9534f);
|
||||
border-color: var(--danger, #d9534f);
|
||||
}
|
||||
|
||||
.btn-tiny.btn-reject:hover {
|
||||
background: var(--danger, #d9534f);
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
/* ── Edit Form ─────────────────────────── */
|
||||
|
||||
.memory-edit-form {
|
||||
padding: 4px 0;
|
||||
}
|
||||
|
||||
.memory-edit-form .form-group {
|
||||
margin-bottom: 6px;
|
||||
}
|
||||
|
||||
.memory-edit-input {
|
||||
width: 100%;
|
||||
padding: 5px 8px;
|
||||
border-radius: 6px;
|
||||
border: 1px solid var(--border);
|
||||
background: var(--bg-1);
|
||||
color: var(--text-1);
|
||||
font-size: 0.82rem;
|
||||
font-family: inherit;
|
||||
}
|
||||
|
||||
.memory-edit-input:focus {
|
||||
outline: none;
|
||||
border-color: var(--accent);
|
||||
}
|
||||
|
||||
/* ── Persona Memory Section ────────────── */
|
||||
|
||||
.memory-persona-section {
|
||||
margin-top: 8px;
|
||||
}
|
||||
|
||||
.form-divider {
|
||||
border-top: 1px solid var(--border);
|
||||
margin: 10px 0;
|
||||
}
|
||||
|
||||
.form-section-title {
|
||||
font-size: 0.85rem;
|
||||
font-weight: 600;
|
||||
color: var(--text-2);
|
||||
margin: 0 0 6px;
|
||||
}
|
||||
|
||||
/* ── Admin Toolbar ─────────────────────── */
|
||||
|
||||
.admin-toolbar-label {
|
||||
font-size: 0.82rem;
|
||||
color: var(--text-2);
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
/* ── Responsive ────────────────────────── */
|
||||
|
||||
@media (max-width: 640px) {
|
||||
.memory-summary {
|
||||
gap: 8px;
|
||||
}
|
||||
.memory-stat {
|
||||
padding: 8px 12px;
|
||||
}
|
||||
.memory-filter-row {
|
||||
flex-direction: column;
|
||||
}
|
||||
.memory-card-header {
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
}
|
||||
}
|
||||
@@ -1,64 +0,0 @@
|
||||
/* ==========================================
|
||||
Notification Preferences — v0.20.0 Phase 3
|
||||
========================================== */
|
||||
|
||||
.notif-pref-table {
|
||||
width: 100%;
|
||||
border-collapse: collapse;
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
.notif-pref-table th {
|
||||
text-align: left;
|
||||
padding: 6px 8px;
|
||||
border-bottom: 2px solid var(--border);
|
||||
font-size: 0.8rem;
|
||||
color: var(--text-2);
|
||||
font-weight: 500;
|
||||
}
|
||||
.notif-pref-table th:nth-child(2),
|
||||
.notif-pref-table th:nth-child(3) {
|
||||
text-align: center;
|
||||
width: 70px;
|
||||
}
|
||||
.notif-pref-table td {
|
||||
padding: 8px;
|
||||
border-bottom: 1px solid var(--border);
|
||||
}
|
||||
.notif-pref-toggle {
|
||||
text-align: center;
|
||||
}
|
||||
.notif-pref-label {
|
||||
font-size: 0.85rem;
|
||||
}
|
||||
|
||||
/* ── SMTP Config (Admin panel) ────────────── */
|
||||
|
||||
.smtp-config-grid {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: 12px;
|
||||
}
|
||||
.smtp-config-grid .form-group {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
.smtp-config-grid .form-group.full-width {
|
||||
grid-column: 1 / -1;
|
||||
}
|
||||
.smtp-test-row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
margin-top: 12px;
|
||||
}
|
||||
.smtp-test-status {
|
||||
font-size: 0.85rem;
|
||||
color: var(--text-2);
|
||||
}
|
||||
.smtp-test-status.success { color: var(--success); }
|
||||
.smtp-test-status.error { color: var(--danger); }
|
||||
|
||||
@media (max-width: 600px) {
|
||||
.smtp-config-grid {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
}
|
||||
@@ -1,135 +0,0 @@
|
||||
/* persona-kb.css — Persona–Knowledge Base picker styles (v0.17.0) */
|
||||
|
||||
.persona-kb-picker {
|
||||
margin-top: 0.75rem;
|
||||
}
|
||||
|
||||
.persona-kb-picker > label {
|
||||
font-weight: 500;
|
||||
margin-bottom: 0.25rem;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.persona-kb-list {
|
||||
max-height: 200px;
|
||||
overflow-y: auto;
|
||||
border: 1px solid var(--border);
|
||||
border-radius: var(--radius, 6px);
|
||||
padding: 0.25rem;
|
||||
}
|
||||
|
||||
.persona-kb-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
padding: 0.375rem 0.5rem;
|
||||
border-radius: 4px;
|
||||
cursor: pointer;
|
||||
font-size: 0.85rem;
|
||||
transition: background 0.15s;
|
||||
}
|
||||
|
||||
.persona-kb-item:hover {
|
||||
background: var(--hover-bg, rgba(255,255,255,0.05));
|
||||
}
|
||||
|
||||
.persona-kb-item.selected {
|
||||
background: var(--selected-bg, rgba(100,160,255,0.1));
|
||||
}
|
||||
|
||||
.persona-kb-item input[type="checkbox"] {
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.persona-kb-item .kb-name {
|
||||
flex: 1;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.persona-kb-item .kb-meta {
|
||||
color: var(--text-muted, #888);
|
||||
font-size: 0.75rem;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.auto-search-toggle {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.25rem;
|
||||
font-size: 0.75rem;
|
||||
color: var(--text-muted, #888);
|
||||
cursor: pointer;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.auto-search-toggle.hidden {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.auto-search-toggle span {
|
||||
opacity: 0.8;
|
||||
}
|
||||
|
||||
/* ── Persona-KB Section (in persona form) ─── */
|
||||
|
||||
.persona-kb-section {
|
||||
margin: 0.75rem 0;
|
||||
padding-top: 0.5rem;
|
||||
border-top: 1px solid var(--border);
|
||||
}
|
||||
|
||||
/* ── Role Fallback Alert Banner ───────────── */
|
||||
|
||||
.role-fallback-banner {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
padding: 0.5rem 0.75rem;
|
||||
background: var(--warning-bg, #fff3cd);
|
||||
border: 1px solid var(--warning-border, #ffc107);
|
||||
border-radius: 4px;
|
||||
margin: 0.5rem 0.75rem;
|
||||
font-size: 0.85rem;
|
||||
}
|
||||
|
||||
.role-fallback-banner .fallback-icon {
|
||||
font-size: 1.1rem;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.role-fallback-banner .fallback-msg {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.role-fallback-banner .btn-small {
|
||||
flex-shrink: 0;
|
||||
font-size: 0.75rem;
|
||||
padding: 0.15rem 0.5rem;
|
||||
}
|
||||
|
||||
/* ── Chat Rename Inline Input ────────────── */
|
||||
|
||||
.chat-rename-input {
|
||||
width: 100%;
|
||||
background: var(--input-bg, #1a1a2e);
|
||||
color: var(--text-color, #e0e0e0);
|
||||
border: 1px solid var(--accent-color, #4a9eff);
|
||||
border-radius: 3px;
|
||||
padding: 1px 4px;
|
||||
font-size: inherit;
|
||||
font-family: inherit;
|
||||
outline: none;
|
||||
}
|
||||
|
||||
/* ── Chat Header Token Count ─────────────── */
|
||||
|
||||
.chat-token-count {
|
||||
font-size: 0.75rem;
|
||||
color: var(--text-muted, #888);
|
||||
white-space: nowrap;
|
||||
padding: 0 0.5rem;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.chat-token-count.warning { color: var(--warning-color, #f0ad4e); }
|
||||
.chat-token-count.danger { color: var(--danger-color, #d9534f); }
|
||||
@@ -1,168 +0,0 @@
|
||||
/* ── splash.css ───────────────────────────────
|
||||
Auth splash, login, PWA install banner
|
||||
──────────────────────────────────────────── */
|
||||
|
||||
/* ── Auth Splash ─────────────────────────── */
|
||||
|
||||
.splash {
|
||||
display: flex;
|
||||
min-height: 100vh;
|
||||
min-height: 100dvh;
|
||||
}
|
||||
|
||||
/* Hero Panel (left) */
|
||||
.splash-hero {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
padding: 4rem 3.5rem;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
background:
|
||||
radial-gradient(ellipse 80% 60% at 30% 40%, rgba(108,159,255,0.06), transparent),
|
||||
radial-gradient(ellipse 60% 50% at 70% 70%, rgba(167,139,250,0.05), transparent),
|
||||
var(--bg);
|
||||
}
|
||||
.splash-hero::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
inset: -50%;
|
||||
background-image:
|
||||
linear-gradient(rgba(108,159,255,0.04) 1px, transparent 1px),
|
||||
linear-gradient(90deg, rgba(108,159,255,0.04) 1px, transparent 1px);
|
||||
background-size: 48px 48px;
|
||||
animation: gridDrift 30s linear infinite;
|
||||
pointer-events: none;
|
||||
}
|
||||
@keyframes gridDrift { to { transform: translate(48px, 48px); } }
|
||||
.splash-hero::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
width: 320px; height: 320px;
|
||||
bottom: -80px; right: -60px;
|
||||
background: radial-gradient(circle, rgba(167,139,250,0.08), transparent 70%);
|
||||
border-radius: 50%;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.hero-content { position: relative; z-index: 1; max-width: 520px; }
|
||||
.hero-logo-row { display: flex; align-items: center; gap: 14px; margin-bottom: 1.5rem; }
|
||||
.hero-logo-mark { width: 48px; height: 48px; flex-shrink: 0; }
|
||||
.hero-logo-img { width: 48px; height: 48px; object-fit: contain; border-radius: 8px; }
|
||||
.hero-wordmark { font-size: 1.6rem; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; }
|
||||
.hero-wordmark span { color: var(--accent); }
|
||||
|
||||
.hero-headline {
|
||||
font-size: 2.4rem; font-weight: 700; line-height: 1.15;
|
||||
letter-spacing: -0.03em; margin-bottom: 1rem;
|
||||
background: linear-gradient(135deg, var(--text) 0%, var(--text-2) 100%);
|
||||
-webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
|
||||
}
|
||||
.hero-sub { font-size: 1.05rem; color: var(--text-2); line-height: 1.6; margin-bottom: 2.5rem; max-width: 440px; }
|
||||
|
||||
.hero-features { display: flex; flex-wrap: wrap; gap: 10px; }
|
||||
.hero-pill {
|
||||
display: inline-flex; align-items: center; gap: 7px;
|
||||
padding: 7px 14px; background: var(--bg-surface);
|
||||
border: 1px solid var(--border); border-radius: 100px;
|
||||
font-size: 0.8rem; font-weight: 500; color: var(--text-2);
|
||||
transition: all var(--transition);
|
||||
}
|
||||
.hero-pill:hover { border-color: var(--border-light); color: var(--text); }
|
||||
.hero-pill .pill-icon { font-size: 0.95rem; line-height: 1; }
|
||||
.hero-pill.accent { border-color: rgba(108,159,255,0.2); color: var(--accent); }
|
||||
.hero-pill.purple { border-color: rgba(167,139,250,0.2); color: var(--purple); }
|
||||
.hero-version { margin-top: 3rem; font-size: 0.72rem; font-family: var(--mono); color: var(--text-3); letter-spacing: 0.04em; }
|
||||
|
||||
/* Auth Panel (right) */
|
||||
.splash-auth {
|
||||
width: 440px; flex-shrink: 0;
|
||||
display: flex; align-items: center; justify-content: center;
|
||||
padding: 2rem; background: var(--bg-surface);
|
||||
border-left: 1px solid var(--border);
|
||||
}
|
||||
.auth-card { width: 100%; max-width: 340px; }
|
||||
.auth-card-header { margin-bottom: 2rem; }
|
||||
.auth-card-header h2 { font-size: 1.25rem; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 4px; }
|
||||
.auth-card-header p { font-size: 0.85rem; color: var(--text-3); }
|
||||
|
||||
.auth-tabs { display: flex; margin-bottom: 1.5rem; border-bottom: 1px solid var(--border); }
|
||||
.auth-tab {
|
||||
flex: 1; background: none; border: none; color: var(--text-3);
|
||||
padding: 10px 0; cursor: pointer; font-family: var(--font);
|
||||
font-size: 0.85rem; font-weight: 500;
|
||||
border-bottom: 2px solid transparent;
|
||||
transition: color var(--transition);
|
||||
}
|
||||
.auth-tab:hover { color: var(--text-2); }
|
||||
.auth-tab.active { color: var(--accent); border-bottom-color: var(--accent); }
|
||||
.auth-error { color: var(--danger); font-size: 0.78rem; min-height: 1.2em; margin: 0.5rem 0; }
|
||||
.splash-error { color: var(--danger); font-size: 0.78rem; text-align: center; margin-top: 0.5rem; line-height: 1.5; }
|
||||
.splash-error strong { display: block; font-size: 0.85rem; margin-bottom: 0.25rem; }
|
||||
.splash-error-hint { color: var(--text-3); font-size: 0.72rem; }
|
||||
.splash-error-hint a { color: var(--accent); text-decoration: underline; cursor: pointer; }
|
||||
.auth-actions { margin-top: 1.5rem; }
|
||||
.auth-footer { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--border); text-align: center; }
|
||||
.auth-footer p { font-size: 0.75rem; color: var(--text-3); line-height: 1.6; }
|
||||
|
||||
/* Splash entrance animation */
|
||||
.hero-logo-row, .hero-headline, .hero-sub, .hero-features, .hero-version,
|
||||
.auth-card-header, .splash .auth-tabs, #authLoginForm, .splash .auth-actions {
|
||||
opacity: 0; transform: translateY(12px);
|
||||
animation: fadeUp 0.5s ease forwards;
|
||||
}
|
||||
.hero-logo-row { animation-delay: 0.05s; }
|
||||
.hero-headline { animation-delay: 0.12s; }
|
||||
.hero-sub { animation-delay: 0.19s; }
|
||||
.hero-features { animation-delay: 0.26s; }
|
||||
.hero-version { animation-delay: 0.33s; }
|
||||
.auth-card-header { animation-delay: 0.15s; }
|
||||
.splash .auth-tabs { animation-delay: 0.22s; }
|
||||
#authLoginForm { animation-delay: 0.29s; }
|
||||
.splash .auth-actions { animation-delay: 0.36s; }
|
||||
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }
|
||||
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
|
||||
|
||||
/* Splash responsive */
|
||||
@media (max-width: 860px) {
|
||||
.splash { flex-direction: column; min-height: 100vh; min-height: 100dvh; overflow-y: auto; }
|
||||
.splash-hero { padding: 2.5rem 1.75rem 2rem; min-height: auto; flex: none; }
|
||||
.hero-headline { font-size: 1.8rem; }
|
||||
.hero-sub { font-size: 0.95rem; margin-bottom: 1.5rem; }
|
||||
.hero-version { margin-top: 1.5rem; }
|
||||
.splash-auth { width: 100%; border-left: none; border-top: 1px solid var(--border); padding: 2rem 1.75rem; }
|
||||
.auth-card { max-width: 400px; }
|
||||
}
|
||||
@media (max-width: 480px) {
|
||||
.splash-hero { padding: 1.5rem 1.25rem 1rem; }
|
||||
.hero-logo-row { gap: 10px; margin-bottom: 0.75rem; }
|
||||
.hero-logo-mark { width: 40px; height: 40px; }
|
||||
.hero-logo-img { width: 40px; height: 40px; }
|
||||
.hero-wordmark { font-size: 1.3rem; }
|
||||
.hero-headline { font-size: 1.35rem; margin-bottom: 0.5rem; }
|
||||
.hero-sub { font-size: 0.85rem; margin-bottom: 1rem; line-height: 1.5; }
|
||||
.hero-features { gap: 6px; }
|
||||
.hero-pill { padding: 5px 10px; font-size: 0.72rem; }
|
||||
.hero-version { margin-top: 1rem; }
|
||||
.splash-auth { padding: 1.5rem 1.25rem; }
|
||||
.auth-card-header { margin-bottom: 1rem; }
|
||||
.auth-card-header h2 { font-size: 1.1rem; }
|
||||
.auth-actions { margin-top: 1rem; }
|
||||
}
|
||||
|
||||
|
||||
/* ── PWA Install Banner ──────────────────── */
|
||||
|
||||
.pwa-install-banner {
|
||||
position: fixed; bottom: 16px; left: 50%; transform: translateX(-50%);
|
||||
background: var(--bg-raised); border: 1px solid var(--border-light);
|
||||
border-radius: var(--radius-lg); padding: 10px 16px;
|
||||
display: flex; align-items: center; gap: 12px;
|
||||
box-shadow: 0 8px 32px rgba(0,0,0,0.5); z-index: 3000;
|
||||
font-size: 13px; color: var(--text-2);
|
||||
animation: pwa-banner-in 0.3s ease;
|
||||
max-width: 90vw;
|
||||
}
|
||||
@keyframes pwa-banner-in { from { opacity: 0; transform: translateX(-50%) translateY(20px); } }
|
||||
|
||||
@@ -1,13 +0,0 @@
|
||||
/* ── styles.css ──────────────────────────────
|
||||
DECOMPOSED in v0.22.9 into:
|
||||
variables.css - Theme vars, reset, base
|
||||
layout.css - App shell, workspace, sidebar, responsive
|
||||
primitives.css - Buttons, forms, toasts, popups, toggles, badges
|
||||
modals.css - Modal system, debug, command palette, confirm
|
||||
chat.css - Chat area, markdown, input, files, lightbox
|
||||
panels.css - Side panel, preview, notes, graph
|
||||
surfaces.css - Admin, settings, editor, projects
|
||||
splash.css - Auth splash, PWA banner
|
||||
|
||||
All loaded via base.html. This file is no longer used.
|
||||
──────────────────────────────────────────── */
|
||||
Reference in New Issue
Block a user