mirror of
https://github.com/willmiao/ComfyUI-Lora-Manager.git
synced 2026-06-09 20:39:25 -03:00
feat(phase-4): visual polish — font stack, shadow system, transitions, micro-interactions
Phase 4: Visual Polish 4.1 Font Stack Upgrade: - Add --font-display token for headings - Replace all hardcoded font-family: monospace with var(--font-mono) - Replace hardcoded 'Segoe UI' stack with var(--font-body) 4.2 Shadow Elevation System: - Add --shadow-2xl, --shadow-card/dropdown/modal/toast/header/dark-lg tokens - Replace hardcoded shadows in header, menu, banner, shared, recipe-modal, progress-panel, import-modal, alphabet-bar with semantic tokens - Add dark theme shadow overrides with increased opacity 4.3 Transitions & Micro-interactions: - Replace transition: all with specified properties (performance) - Use --transition-fast/base/slow tokens instead of hardcoded 0.2s/0.3s - Add :active scale feedback to modal buttons - Enhance card hover with box-shadow + border-color lift 4.4 Dark Theme Refinement: - Elevated shadow opacity for dark theme visibility 4.5 Density: - Standardize container padding with --space-2 token 21 files changed
This commit is contained in:
@@ -176,7 +176,7 @@
|
||||
background: var(--card-bg);
|
||||
border: 1px solid var(--border-color);
|
||||
border-radius: var(--border-radius-sm);
|
||||
box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
|
||||
box-shadow: var(--shadow-dropdown);
|
||||
padding: 10px 14px;
|
||||
max-width: 400px;
|
||||
z-index: 10;
|
||||
@@ -797,7 +797,7 @@
|
||||
|
||||
.recipe-lora-item:hover {
|
||||
transform: translateY(-1px);
|
||||
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
|
||||
box-shadow: var(--shadow-header);
|
||||
border-color: var(--lora-accent);
|
||||
}
|
||||
|
||||
@@ -995,7 +995,7 @@
|
||||
padding: 8px 12px;
|
||||
border-radius: var(--border-radius-xs);
|
||||
border: 1px solid var(--border-color);
|
||||
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
|
||||
box-shadow: var(--shadow-header);
|
||||
z-index: var(--z-overlay);
|
||||
width: max-content;
|
||||
max-width: 200px;
|
||||
@@ -1049,7 +1049,7 @@
|
||||
background: rgba(0, 0, 0, 0.1);
|
||||
padding: 2px 4px;
|
||||
border-radius: 3px;
|
||||
font-family: monospace;
|
||||
font-family: var(--font-mono);
|
||||
font-size: 0.9em;
|
||||
}
|
||||
|
||||
@@ -1251,7 +1251,7 @@
|
||||
padding: 8px 12px;
|
||||
border-radius: var(--border-radius-xs);
|
||||
border: 1px solid var(--border-color);
|
||||
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
|
||||
box-shadow: var(--shadow-header);
|
||||
z-index: var(--z-overlay);
|
||||
width: max-content;
|
||||
max-width: 200px;
|
||||
|
||||
Reference in New Issue
Block a user