Merge pull request #966 from willmiao/design-token-system-phase4

Design token system phase4
This commit is contained in:
pixelpaws
2026-06-09 14:37:02 +08:00
committed by GitHub
39 changed files with 261 additions and 218 deletions

View File

@@ -46,7 +46,7 @@
flex-direction: column; flex-direction: column;
gap: 6px; gap: 6px;
align-items: center; align-items: center;
box-shadow: 2px 0 8px rgba(0, 0, 0, 0.1); box-shadow: var(--shadow-side);
max-height: 80vh; max-height: 80vh;
overflow-y: auto; overflow-y: auto;
scrollbar-width: thin; scrollbar-width: thin;
@@ -75,7 +75,7 @@
width: 20px; width: 20px;
height: 40px; height: 40px;
align-self: center; align-self: center;
box-shadow: 2px 0 8px rgba(0, 0, 0, 0.1); box-shadow: var(--shadow-side);
} }
.toggle-alphabet-bar:hover { .toggle-alphabet-bar:hover {
@@ -99,7 +99,7 @@
min-width: 24px; min-width: 24px;
text-align: center; text-align: center;
font-size: 0.85em; font-size: 0.85em;
transition: all 0.2s ease; transition: var(--transition-base);
border: 1px solid var(--border-color); border: 1px solid var(--border-color);
} }
@@ -107,7 +107,7 @@
background: var(--lora-accent); background: var(--lora-accent);
color: white; color: white;
transform: scale(1.1); transform: scale(1.1);
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); box-shadow: var(--shadow-md);
} }
.letter-chip.active { .letter-chip.active {

View File

@@ -68,7 +68,7 @@
text-decoration: none; text-decoration: none;
font-size: 0.85em; font-size: 0.85em;
font-weight: 500; font-weight: 500;
transition: all 0.2s ease; transition: var(--transition-base);
white-space: nowrap; white-space: nowrap;
border: 1px solid transparent; border: 1px solid transparent;
} }
@@ -102,7 +102,7 @@
color: white; color: white;
border-color: var(--lora-accent); border-color: var(--lora-accent);
transform: translateY(-1px); transform: translateY(-1px);
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); box-shadow: var(--shadow-md);
} }
/* Tertiary Action Button */ /* Tertiary Action Button */
@@ -133,7 +133,7 @@
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
transition: all 0.2s ease; transition: var(--transition-base);
font-size: 0.8em; font-size: 0.8em;
} }

View File

@@ -76,7 +76,7 @@
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
transition: all 0.2s; transition: var(--transition-base);
background: var(--bg-color); background: var(--bg-color);
} }
@@ -166,7 +166,7 @@
background: var(--card-bg); background: var(--card-bg);
color: var(--text-color); color: var(--text-color);
cursor: pointer; cursor: pointer;
transition: all 0.2s; transition: var(--transition-base);
} }
.back-btn:hover { .back-btn:hover {
@@ -237,7 +237,7 @@
padding: 8px 10px; padding: 8px 10px;
border-radius: var(--border-radius-xs); border-radius: var(--border-radius-xs);
cursor: pointer; cursor: pointer;
transition: all 0.2s; transition: var(--transition-base);
border: 1px solid transparent; border: 1px solid transparent;
} }

View File

@@ -19,7 +19,7 @@
border: 1px solid var(--lora-border); border: 1px solid var(--lora-border);
border-radius: var(--border-radius-base); border-radius: var(--border-radius-base);
backdrop-filter: blur(16px); backdrop-filter: blur(16px);
transition: transform 160ms ease-out; transition: transform var(--transition-fast) ease-out, box-shadow var(--transition-fast) ease-out, border-color var(--transition-fast) ease-out;
aspect-ratio: 896/1152; /* Preserve aspect ratio */ aspect-ratio: 896/1152; /* Preserve aspect ratio */
max-width: 260px; /* Base size */ max-width: 260px; /* Base size */
min-width: 200px; /* Prevent cards from becoming too narrow */ min-width: 200px; /* Prevent cards from becoming too narrow */
@@ -33,7 +33,8 @@
.model-card:hover { .model-card:hover {
transform: translateY(-2px); transform: translateY(-2px);
background: oklch(100% 0 0 / 0.6); box-shadow: var(--shadow-md);
border-color: var(--lora-accent);
} }
.model-card:focus-visible { .model-card:focus-visible {

View File

@@ -11,8 +11,8 @@
border-bottom: 1px solid oklch(var(--lora-accent-l) var(--lora-accent-c) var(--lora-accent-h) / 0.4); /* Make bottom border stronger */ border-bottom: 1px solid oklch(var(--lora-accent-l) var(--lora-accent-c) var(--lora-accent-h) / 0.4); /* Make bottom border stronger */
z-index: var(--z-overlay); z-index: var(--z-overlay);
padding: 12px 0; padding: 12px 0;
box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2); /* Stronger shadow */ box-shadow: var(--shadow-lg); /* Stronger shadow */
transition: all 0.3s ease; transition: var(--transition-slow);
margin-bottom: 20px; margin-bottom: 20px;
} }
@@ -65,7 +65,7 @@
align-items: center; align-items: center;
justify-content: center; justify-content: center;
gap: 6px; gap: 6px;
transition: all 0.2s ease; transition: var(--transition-base);
} }
.duplicates-banner button.btn-exit-mode:hover { .duplicates-banner button.btn-exit-mode:hover {
@@ -86,16 +86,16 @@
background: var(--card-bg); background: var(--card-bg);
color: var(--text-color); color: var(--text-color);
font-size: 0.85em; font-size: 0.85em;
transition: all 0.2s ease; transition: var(--transition-base);
cursor: pointer; cursor: pointer;
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); box-shadow: var(--shadow-xs);
} }
.duplicates-banner button:hover { .duplicates-banner button:hover {
border-color: var(--lora-accent-l) var(--lora-accent-c) var(--lora-accent-h); border-color: var(--lora-accent-l) var(--lora-accent-c) var(--lora-accent-h);
background: var(--bg-color); background: var(--bg-color);
transform: translateY(-1px); transform: translateY(-1px);
box-shadow: 0 3px 5px rgba(0, 0, 0, 0.08); box-shadow: var(--shadow-sm);
} }
.duplicates-banner button.btn-exit { .duplicates-banner button.btn-exit {
@@ -122,7 +122,7 @@
padding: 16px; padding: 16px;
margin-bottom: 24px; margin-bottom: 24px;
background: var(--card-bg); background: var(--card-bg);
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12); /* Add subtle shadow to groups */ box-shadow: var(--shadow-md); /* Add subtle shadow to groups */
/* Add responsive width settings to match banner */ /* Add responsive width settings to match banner */
max-width: 1400px; max-width: 1400px;
margin-left: auto; margin-left: auto;
@@ -173,9 +173,9 @@
background: var(--card-bg); background: var(--card-bg);
color: var(--text-color); color: var(--text-color);
font-size: 0.85em; font-size: 0.85em;
transition: all 0.2s ease; transition: var(--transition-base);
cursor: pointer; cursor: pointer;
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); box-shadow: var(--shadow-xs);
margin-left: 8px; margin-left: 8px;
} }
@@ -183,7 +183,7 @@
border-color: var(--lora-accent-l) var(--lora-accent-c) var(--lora-accent-h); border-color: var(--lora-accent-l) var(--lora-accent-c) var(--lora-accent-h);
background: var(--bg-color); background: var(--bg-color);
transform: translateY(-1px); transform: translateY(-1px);
box-shadow: 0 3px 5px rgba(0, 0, 0, 0.08); box-shadow: var(--shadow-sm);
} }
.card-group-container { .card-group-container {
@@ -230,20 +230,20 @@
justify-content: center; justify-content: center;
cursor: pointer; cursor: pointer;
z-index: 1; z-index: 1;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); box-shadow: var(--shadow-sm);
transition: all 0.2s ease; transition: var(--transition-base);
} }
.group-toggle-btn:hover { .group-toggle-btn:hover {
border-color: var(--lora-accent-l) var(--lora-accent-c) var (--lora-accent-h); border-color: var(--lora-accent-l) var(--lora-accent-c) var (--lora-accent-h);
transform: translateY(-1px); transform: translateY(-1px);
box-shadow: 0 3px 5px rgba(0, 0, 0, 0.08); box-shadow: var(--shadow-sm);
} }
/* Duplicate card styling */ /* Duplicate card styling */
.model-card.duplicate { .model-card.duplicate {
position: relative; position: relative;
transition: all 0.2s ease; transition: var(--transition-base);
} }
.model-card.duplicate:hover { .model-card.duplicate:hover {
@@ -257,7 +257,7 @@
.model-card.duplicate-selected { .model-card.duplicate-selected {
border: 2px solid oklch(var(--lora-accent-l) var(--lora-accent-c) var(--lora-accent-h)); border: 2px solid oklch(var(--lora-accent-l) var(--lora-accent-c) var(--lora-accent-h));
box-shadow: 0 0 8px rgba(0, 0, 0, 0.2); box-shadow: var(--shadow-md);
} }
.model-card .selector-checkbox { .model-card .selector-checkbox {
@@ -290,7 +290,7 @@
background-color: var(--card-bg); background-color: var(--card-bg);
border: 1px solid var(--border-color); border: 1px solid var(--border-color);
border-radius: var(--border-radius-sm); border-radius: var(--border-radius-sm);
box-shadow: 0 2px 10px rgba(0,0,0,0.2); box-shadow: var(--shadow-lg);
padding: 10px; padding: 10px;
z-index: 1000; z-index: 1000;
max-width: 350px; max-width: 350px;
@@ -432,7 +432,7 @@
border-radius: var(--border-radius-xs); border-radius: var(--border-radius-xs);
font-size: 0.85em; font-size: 0.85em;
cursor: pointer; cursor: pointer;
transition: all 0.2s ease; transition: var(--transition-base);
} }
.btn-verify-hashes:hover { .btn-verify-hashes:hover {
@@ -461,7 +461,7 @@
position: absolute; position: absolute;
top: -8px; /* Moved closer to button */ top: -8px; /* Moved closer to button */
right: -8px; /* Moved closer to button */ right: -8px; /* Moved closer to button */
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15); /* Softer shadow */ box-shadow: var(--shadow-sm); /* Softer shadow */
transition: transform 0.2s ease, opacity 0.2s ease; transition: transform 0.2s ease, opacity 0.2s ease;
} }
@@ -493,7 +493,7 @@
cursor: help; cursor: help;
font-size: 16px; font-size: 16px;
margin-left: 8px; margin-left: 8px;
transition: all 0.2s ease; transition: var(--transition-base);
} }
.help-icon:hover { .help-icon:hover {
@@ -511,7 +511,7 @@
border: 1px solid var(--border-color); border: 1px solid var(--border-color);
border-radius: var(--border-radius-sm); border-radius: var(--border-radius-sm);
padding: 12px 16px; padding: 12px 16px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); box-shadow: var(--shadow-elevated);
z-index: var(--z-overlay); z-index: var(--z-overlay);
font-size: 0.9em; font-size: 0.9em;
margin-top: 10px; margin-top: 10px;
@@ -572,16 +572,16 @@
/* In dark mode, add additional distinction */ /* In dark mode, add additional distinction */
html[data-theme="dark"] .duplicates-banner { html[data-theme="dark"] .duplicates-banner {
box-shadow: 0 3px 12px rgba(0, 0, 0, 0.4); /* Stronger shadow in dark mode */ box-shadow: var(--shadow-dark-lg); /* Stronger shadow in dark mode */
background-color: oklch(var(--lora-accent-l) var(--lora-accent-c) var(--lora-accent-h) / 0.15); /* Slightly stronger background in dark mode */ background-color: oklch(var(--lora-accent-l) var(--lora-accent-c) var(--lora-accent-h) / 0.15); /* Slightly stronger background in dark mode */
} }
html[data-theme="dark"] .duplicate-group { html[data-theme="dark"] .duplicate-group {
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25); /* Stronger shadow in dark mode */ box-shadow: var(--shadow-lg); /* Stronger shadow in dark mode */
} }
html[data-theme="dark"] .help-tooltip { html[data-theme="dark"] .help-tooltip {
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3); box-shadow: var(--shadow-elevated);
} }
/* Styles for disabled controls during duplicates mode */ /* Styles for disabled controls during duplicates mode */

View File

@@ -7,22 +7,22 @@
color: white; color: white;
border-radius: var(--border-radius-xs); border-radius: var(--border-radius-xs);
padding: 4px 10px; padding: 4px 10px;
transition: all 0.2s ease; transition: var(--transition-base);
border: 1px solid var(--lora-accent); border: 1px solid var(--lora-accent);
cursor: pointer; cursor: pointer;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); box-shadow: var(--shadow-sm);
font-size: 0.85em; font-size: 0.85em;
} }
.control-group .filter-active:hover { .control-group .filter-active:hover {
opacity: 0.92; opacity: 0.92;
transform: translateY(-1px); transform: translateY(-1px);
box-shadow: 0 3px 5px rgba(0, 0, 0, 0.15); box-shadow: var(--shadow-md);
} }
.control-group .filter-active:active { .control-group .filter-active:active {
transform: translateY(0); transform: translateY(0);
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); box-shadow: var(--shadow-sm);
} }
.control-group .filter-active i.fa-filter { .control-group .filter-active i.fa-filter {
@@ -59,9 +59,9 @@
/* Animation for filter indicator */ /* Animation for filter indicator */
@keyframes filterPulse { @keyframes filterPulse {
0% { transform: scale(1); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); } 0% { transform: scale(1); box-shadow: var(--shadow-sm); }
50% { transform: scale(1.03); box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15); } 50% { transform: scale(1.03); box-shadow: var(--shadow-lg); }
100% { transform: scale(1); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); } 100% { transform: scale(1); box-shadow: var(--shadow-sm); }
} }
.filter-active.animate { .filter-active.animate {

View File

@@ -7,7 +7,7 @@
height: 48px; height: 48px;
/* Reduced height */ /* Reduced height */
width: 100%; width: 100%;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); box-shadow: var(--shadow-md);
/* Slightly stronger shadow */ /* Slightly stronger shadow */
} }
@@ -134,14 +134,14 @@
background: var(--input-bg, var(--card-bg)); background: var(--input-bg, var(--card-bg));
border: 1px solid var(--border-color); border: 1px solid var(--border-color);
border-radius: var(--border-radius-sm, 6px); border-radius: var(--border-radius-sm, 6px);
transition: all 0.2s ease; transition: border-color var(--transition-base), box-shadow var(--transition-base);
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08); box-shadow: var(--shadow-header);
overflow: hidden; overflow: hidden;
} }
.header-search .search-container:focus-within { .header-search .search-container:focus-within {
border-color: var(--lora-accent); border-color: var(--lora-accent);
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08), 0 0 0 1px var(--lora-accent); box-shadow: var(--shadow-header), 0 0 0 1px var(--lora-accent);
} }
.header-search input { .header-search input {
@@ -183,7 +183,7 @@
color: var(--text-muted); color: var(--text-muted);
cursor: pointer; cursor: pointer;
border-radius: var(--border-radius-xs, 4px); border-radius: var(--border-radius-xs, 4px);
transition: all 0.2s ease; transition: background-color var(--transition-base), color var(--transition-base);
} }
.header-search .search-options-toggle { .header-search .search-options-toggle {
@@ -271,7 +271,7 @@
align-items: center; align-items: center;
justify-content: center; justify-content: center;
cursor: pointer; cursor: pointer;
transition: all 0.2s ease; transition: background-color var(--transition-base), color var(--transition-base), transform var(--transition-base);
position: relative; position: relative;
} }
@@ -343,7 +343,7 @@
background-color: var(--lora-error); background-color: var(--lora-error);
border-radius: 50%; border-radius: 50%;
border: 2px solid var(--card-bg); border: 2px solid var(--card-bg);
transition: all 0.2s ease; transition: opacity var(--transition-base);
pointer-events: none; pointer-events: none;
opacity: 0; opacity: 0;
} }
@@ -364,7 +364,7 @@
align-items: center; align-items: center;
justify-content: center; justify-content: center;
cursor: pointer; cursor: pointer;
transition: all 0.2s ease; transition: background-color var(--transition-base), color var(--transition-base);
flex-shrink: 0; flex-shrink: 0;
} }
@@ -392,7 +392,7 @@
background: var(--card-bg); background: var(--card-bg);
border: 1px solid var(--border-color); border: 1px solid var(--border-color);
border-radius: var(--border-radius-sm, 6px); border-radius: var(--border-radius-sm, 6px);
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15); box-shadow: var(--shadow-toast);
padding: 0.5rem; padding: 0.5rem;
min-width: 160px; min-width: 160px;
z-index: var(--z-dropdown, 200); z-index: var(--z-dropdown, 200);
@@ -412,7 +412,7 @@
border-radius: var(--border-radius-xs, 4px); border-radius: var(--border-radius-xs, 4px);
color: var(--text-color); color: var(--text-color);
cursor: pointer; cursor: pointer;
transition: all 0.2s ease; transition: background-color var(--transition-base), color var(--transition-base);
font-size: 0.9rem; font-size: 0.9rem;
white-space: nowrap; white-space: nowrap;
} }

View File

@@ -757,7 +757,7 @@
position: relative; position: relative;
border-radius: var(--border-radius-sm); border-radius: var(--border-radius-sm);
overflow: hidden; overflow: hidden;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); box-shadow: var(--shadow-md);
transition: transform 0.2s ease; transition: transform 0.2s ease;
} }

View File

@@ -176,7 +176,7 @@
background: rgba(var(--lora-accent), 0.05); background: rgba(var(--lora-accent), 0.05);
border-radius: var(--border-radius-base); border-radius: var(--border-radius-base);
padding: var(--space-2); padding: var(--space-2);
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); box-shadow: var(--shadow-sm);
} }
.tips-header { .tips-header {

View File

@@ -11,7 +11,7 @@
border: 1px solid var(--border-color); border: 1px solid var(--border-color);
color: var(--text-color); color: var(--text-color);
cursor: help; cursor: help;
transition: all 0.2s ease; transition: var(--transition-base);
margin-left: 8px; margin-left: 8px;
} }
@@ -19,7 +19,7 @@
background: var(--lora-accent); background: var(--lora-accent);
color: white; color: white;
transform: translateY(-2px); transform: translateY(-2px);
box-shadow: 0 3px 5px rgba(0, 0, 0, 0.08); box-shadow: var(--shadow-sm);
} }
.keyboard-nav-hint i { .keyboard-nav-hint i {
@@ -46,7 +46,7 @@
transform: translateY(-15%); /* Vertically center */ transform: translateY(-15%); /* Vertically center */
opacity: 0; opacity: 0;
transition: opacity 0.3s; transition: opacity 0.3s;
box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15); box-shadow: var(--shadow-lg);
border: 1px solid var(--lora-border); border: 1px solid var(--lora-border);
font-size: 0.85em; font-size: 0.85em;
line-height: 1.4; line-height: 1.4;
@@ -92,5 +92,5 @@
border-radius: 3px; border-radius: 3px;
padding: 1px 5px; padding: 1px 5px;
font-size: 0.8em; font-size: 0.8em;
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08); box-shadow: var(--shadow-xs);
} }

View File

@@ -62,7 +62,7 @@
} }
.model-description-content code { .model-description-content code {
font-family: monospace; font-family: var(--font-mono);
font-size: 0.9em; font-size: 0.9em;
background: rgba(0, 0, 0, 0.05); background: rgba(0, 0, 0, 0.05);
padding: 0.1em 0.3em; padding: 0.1em 0.3em;

View File

@@ -203,7 +203,7 @@
} }
.file-path { .file-path {
font-family: monospace; font-family: var(--font-mono);
font-size: 0.9em; font-size: 0.9em;
} }
@@ -291,7 +291,7 @@
opacity: 0; opacity: 0;
visibility: hidden; visibility: hidden;
transform: translateY(10px); transform: translateY(10px);
transition: all 0.3s ease; transition: opacity var(--transition-slow), visibility var(--transition-slow), transform var(--transition-slow);
z-index: 10; z-index: 10;
} }
@@ -347,7 +347,7 @@
cursor: pointer; cursor: pointer;
padding: 2px 5px; padding: 2px 5px;
border-radius: var(--border-radius-xs); border-radius: var(--border-radius-xs);
transition: all 0.2s ease; transition: opacity var(--transition-base), background-color var(--transition-base);
margin-left: var(--space-1); margin-left: var(--space-1);
} }
@@ -430,7 +430,7 @@
} }
.size-wrapper span { .size-wrapper span {
font-family: monospace; font-family: var(--font-mono);
font-size: 0.9em; font-size: 0.9em;
opacity: 0.9; opacity: 0.9;
} }
@@ -483,7 +483,7 @@
color: var(--text-color); color: var(--text-color);
cursor: pointer; cursor: pointer;
font-size: 0.95em; font-size: 0.95em;
transition: all 0.2s; transition: var(--transition-base);
opacity: 0.7; opacity: 0.7;
position: relative; position: relative;
} }
@@ -893,7 +893,7 @@
border-radius: var(--border-radius-sm); border-radius: var(--border-radius-sm);
max-width: fit-content; max-width: fit-content;
cursor: pointer; cursor: pointer;
transition: all 0.2s; transition: var(--transition-base);
} }
[data-theme="dark"] .creator-info, [data-theme="dark"] .creator-info,
@@ -965,7 +965,7 @@
cursor: pointer; cursor: pointer;
font-weight: 500; font-weight: 500;
font-size: 0.9em; font-size: 0.9em;
transition: all 0.2s; transition: var(--transition-base);
} }
.civitai-view i { .civitai-view i {
@@ -988,7 +988,7 @@
cursor: pointer; cursor: pointer;
font-weight: 500; font-weight: 500;
font-size: 0.9em; font-size: 0.9em;
transition: all 0.2s; transition: var(--transition-base);
} }
[data-theme="dark"] .modal-send-btn { [data-theme="dark"] .modal-send-btn {

View File

@@ -28,7 +28,7 @@
border-radius: var(--border-radius-xs); border-radius: var(--border-radius-xs);
padding: calc(var(--space-1) * 0.5) var(--space-1); padding: calc(var(--space-1) * 0.5) var(--space-1);
gap: var(--space-1); gap: var(--space-1);
transition: all 0.2s ease; transition: var(--transition-base);
} }
.preset-tag span { .preset-tag span {
@@ -40,7 +40,7 @@
color: var(--text-color); color: var(--text-color);
opacity: 0.5; opacity: 0.5;
cursor: pointer; cursor: pointer;
transition: all 0.2s ease; transition: var(--transition-base);
} }
.preset-tag:hover { .preset-tag:hover {

View File

@@ -111,8 +111,8 @@
align-items: center; align-items: center;
justify-content: center; justify-content: center;
cursor: pointer; cursor: pointer;
transition: all 0.2s ease; transition: var(--transition-base);
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15); box-shadow: var(--shadow-md);
padding: 0; padding: 0;
position: relative; position: relative;
overflow: hidden; overflow: hidden;
@@ -120,7 +120,7 @@
.media-control-btn:hover { .media-control-btn:hover {
transform: translateY(-2px); transform: translateY(-2px);
box-shadow: 0 3px 7px rgba(0, 0, 0, 0.2); box-shadow: var(--shadow-lg);
} }
.media-control-btn.set-preview-btn:hover { .media-control-btn.set-preview-btn:hover {
@@ -205,7 +205,7 @@
z-index: 5; z-index: 5;
max-height: 50%; /* Reduced to take less space */ max-height: 50%; /* Reduced to take less space */
overflow-y: auto; overflow-y: auto;
box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1); box-shadow: var(--shadow-inset-top);
opacity: 0; opacity: 0;
pointer-events: none; pointer-events: none;
} }
@@ -220,7 +220,7 @@
/* Adjust to dark theme */ /* Adjust to dark theme */
[data-theme="dark"] .image-metadata-panel { [data-theme="dark"] .image-metadata-panel {
background: var(--card-bg); background: var(--card-bg);
box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.3); box-shadow: var(--shadow-inset-top);
} }
.metadata-content { .metadata-content {
@@ -297,7 +297,7 @@
.metadata-prompt { .metadata-prompt {
color: var(--text-color); color: var(--text-color);
font-family: monospace; font-family: var(--font-mono);
font-size: 0.85em; font-size: 0.85em;
white-space: pre-wrap; white-space: pre-wrap;
} }
@@ -312,7 +312,7 @@
opacity: 0.6; opacity: 0.6;
cursor: pointer; cursor: pointer;
padding: 3px; padding: 3px;
transition: all 0.2s ease; transition: var(--transition-base);
} }
.copy-prompt-btn:hover { .copy-prompt-btn:hover {
@@ -409,7 +409,7 @@
border-radius: var(--border-radius-sm); border-radius: var(--border-radius-sm);
padding: var(--space-4); padding: var(--space-4);
text-align: center; text-align: center;
transition: all 0.3s ease; transition: var(--transition-slow);
background: var(--lora-surface); background: var(--lora-surface);
cursor: pointer; cursor: pointer;
} }
@@ -471,7 +471,7 @@
display: flex; display: flex;
align-items: center; align-items: center;
gap: 8px; gap: 8px;
transition: all 0.2s; transition: var(--transition-base);
} }
.select-files-btn:hover { .select-files-btn:hover {

View File

@@ -73,14 +73,14 @@
background: var(--card-bg); background: var(--card-bg);
border: 1px solid var(--border-color); border: 1px solid var(--border-color);
border-radius: var(--border-radius-sm); border-radius: var(--border-radius-sm);
box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15); box-shadow: var(--shadow-lg);
padding: 10px 14px; padding: 10px 14px;
max-width: 400px; max-width: 400px;
z-index: 10; z-index: 10;
opacity: 0; opacity: 0;
visibility: hidden; visibility: hidden;
transform: translateY(-4px); transform: translateY(-4px);
transition: all 0.2s ease; transition: var(--transition-base);
pointer-events: none; pointer-events: none;
} }
@@ -130,7 +130,7 @@
cursor: pointer; cursor: pointer;
padding: 2px 5px; padding: 2px 5px;
border-radius: var(--border-radius-xs); border-radius: var(--border-radius-xs);
transition: all 0.2s ease; transition: var(--transition-base);
margin-left: var(--space-1); margin-left: var(--space-1);
} }

View File

@@ -48,7 +48,7 @@
border-radius: var(--border-radius-xs); border-radius: var(--border-radius-xs);
padding: 4px 8px; padding: 4px 8px;
cursor: pointer; cursor: pointer;
transition: all 0.2s ease; transition: var(--transition-base);
gap: 6px; gap: 6px;
position: relative; position: relative;
} }

View File

@@ -146,7 +146,7 @@
background: color-mix(in oklch, var(--card-bg) 92%, var(--bg-color) 8%); background: color-mix(in oklch, var(--card-bg) 92%, var(--bg-color) 8%);
border: 1px solid var(--lora-border); border: 1px solid var(--lora-border);
border-radius: var(--border-radius-sm); border-radius: var(--border-radius-sm);
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04); box-shadow: var(--shadow-xs);
transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease; transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
} }
@@ -156,7 +156,7 @@
.model-version-row:hover { .model-version-row:hover {
transform: translateY(-1px); transform: translateY(-1px);
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08); box-shadow: var(--shadow-xl);
} }
.model-version-row.is-clickable { .model-version-row.is-clickable {

View File

@@ -61,7 +61,7 @@
max-height: 85vh; max-height: 85vh;
object-fit: contain; object-fit: contain;
border-radius: 4px; border-radius: 4px;
box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4); box-shadow: var(--shadow-dark-lg);
} }
.media-viewer-video { .media-viewer-video {

View File

@@ -5,7 +5,7 @@
border-radius: var(--border-radius-xs); border-radius: var(--border-radius-xs);
padding: 4px 0; padding: 4px 0;
min-width: 180px; min-width: 180px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2); box-shadow: var(--shadow-dropdown);
z-index: 1000; z-index: 1000;
display: none; display: none;
backdrop-filter: blur(10px); backdrop-filter: blur(10px);
@@ -77,7 +77,7 @@
border-radius: var(--border-radius-xs); border-radius: var(--border-radius-xs);
padding: 0; padding: 0;
min-width: 200px; min-width: 200px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2); box-shadow: var(--shadow-dropdown);
z-index: 1001; z-index: 1001;
backdrop-filter: blur(10px); backdrop-filter: blur(10px);
} }
@@ -110,7 +110,7 @@
border: 1px solid var(--border-color); border: 1px solid var(--border-color);
border-radius: var(--border-radius-base); border-radius: var(--border-radius-base);
padding: 16px; padding: 16px;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2); box-shadow: var(--shadow-modal);
z-index: var(--z-modal); z-index: var(--z-modal);
width: 300px; width: 300px;
display: none; display: none;
@@ -164,7 +164,7 @@
border: 1px solid var(--border-color); border: 1px solid var(--border-color);
color: var(--text-color); color: var(--text-color);
cursor: pointer; cursor: pointer;
transition: all 0.2s ease; transition: var(--transition-base);
} }
.nsfw-level-btn:hover { .nsfw-level-btn:hover {
@@ -188,7 +188,7 @@
max-width: 350px; max-width: 350px;
max-height: 400px; max-height: 400px;
overflow-y: auto; overflow-y: auto;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2); box-shadow: var(--shadow-dropdown);
z-index: var(--z-overlay); z-index: var(--z-overlay);
display: none; display: none;
backdrop-filter: blur(10px); backdrop-filter: blur(10px);

View File

@@ -75,7 +75,14 @@ body.modal-open {
font-weight: 500; font-weight: 500;
font-size: 0.95em; font-size: 0.95em;
min-width: 100px; min-width: 100px;
transition: background-color 0.2s, opacity 0.2s; transition: background-color var(--transition-base), opacity var(--transition-base), transform var(--transition-fast);
}
.cancel-btn:active,
.delete-btn:active,
.exclude-btn:active,
.confirm-btn:active {
transform: scale(0.98);
} }
.cancel-btn { .cancel-btn {
@@ -128,7 +135,7 @@ body.modal-open {
font-size: 1.5em; font-size: 1.5em;
cursor: pointer; cursor: pointer;
opacity: 0.7; opacity: 0.7;
transition: opacity 0.2s; transition: opacity var(--transition-base);
z-index: 10; z-index: 10;
} }
@@ -190,7 +197,7 @@ body.modal-open {
border: 1px solid var(--border-color); border: 1px solid var(--border-color);
border-radius: var(--border-radius-sm); border-radius: var(--border-radius-sm);
cursor: pointer; cursor: pointer;
transition: all 0.2s; transition: var(--transition-base);
font-size: 0.95em; font-size: 0.95em;
} }

View File

@@ -51,7 +51,7 @@
background: var(--lora-surface); background: var(--lora-surface);
padding: 2px 6px; padding: 2px 6px;
border-radius: 3px; border-radius: 3px;
font-family: monospace; font-family: var(--font-mono);
border: 1px solid var(--lora-border); border: 1px solid var(--lora-border);
} }

View File

@@ -37,7 +37,7 @@
border: 1px solid var(--border-color); border: 1px solid var(--border-color);
border-radius: var(--border-radius-sm); border-radius: var(--border-radius-sm);
cursor: pointer; cursor: pointer;
transition: all 0.2s ease; transition: var(--transition-base);
background: var(--bg-color); background: var(--bg-color);
margin: 1px; margin: 1px;
position: relative; position: relative;
@@ -45,7 +45,7 @@
.version-item:hover { .version-item:hover {
border-color: var(--lora-accent); border-color: var(--lora-accent);
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); box-shadow: var(--shadow-md);
z-index: 1; z-index: 1;
} }
@@ -156,7 +156,7 @@
background: var(--bg-color); background: var(--bg-color);
color: var(--text-color); color: var(--text-color);
cursor: pointer; cursor: pointer;
transition: all 0.2s ease; transition: var(--transition-base);
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
@@ -225,7 +225,7 @@
padding: 4px 8px; padding: 4px 8px;
border-radius: var(--border-radius-xs); border-radius: var(--border-radius-xs);
cursor: pointer; cursor: pointer;
transition: all 0.2s ease; transition: var(--transition-base);
color: var(--text-color); color: var(--text-color);
opacity: 0.7; opacity: 0.7;
text-decoration: none; text-decoration: none;
@@ -272,7 +272,7 @@
padding: 4px 8px; padding: 4px 8px;
cursor: pointer; cursor: pointer;
border-radius: var(--border-radius-xs); border-radius: var(--border-radius-xs);
transition: all 0.2s ease; transition: var(--transition-base);
position: relative; position: relative;
} }
@@ -293,7 +293,7 @@
justify-content: center; justify-content: center;
cursor: pointer; cursor: pointer;
border-radius: 2px; border-radius: 2px;
transition: all 0.2s ease; transition: var(--transition-base);
} }
.tree-expand-icon:hover { .tree-expand-icon:hover {
@@ -364,7 +364,7 @@
color: var(--text-color); color: var(--text-color);
cursor: pointer; cursor: pointer;
font-size: 0.8em; font-size: 0.8em;
transition: all 0.2s ease; transition: var(--transition-base);
} }
.create-folder-form button.confirm { .create-folder-form button.confirm {
@@ -404,7 +404,7 @@
.path-display { .path-display {
padding: var(--space-1); padding: var(--space-1);
color: var(--text-color); color: var(--text-color);
font-family: monospace; font-family: var(--font-mono);
font-size: 0.9em; font-size: 0.9em;
line-height: 1.4; line-height: 1.4;
white-space: pre-wrap; white-space: pre-wrap;
@@ -453,7 +453,7 @@
right: 0; right: 0;
bottom: 0; bottom: 0;
background-color: var(--border-color); background-color: var(--border-color);
transition: all 0.3s ease; transition: var(--transition-slow);
border-radius: 18px; border-radius: 18px;
} }
@@ -465,9 +465,9 @@
left: 3px; left: 3px;
bottom: 3px; bottom: 3px;
background-color: white; background-color: white;
transition: all 0.3s ease; transition: var(--transition-slow);
border-radius: 50%; border-radius: 50%;
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2); box-shadow: var(--shadow-xs);
} }
.inline-toggle-container .toggle-switch input:checked+.toggle-slider { .inline-toggle-container .toggle-switch input:checked+.toggle-slider {
@@ -516,7 +516,7 @@
font-size: inherit; font-size: inherit;
font-weight: 600; font-weight: 600;
cursor: pointer; cursor: pointer;
transition: all 0.2s ease; transition: var(--transition-base);
border: 1px solid oklch(var(--lora-accent) / 0.35); border: 1px solid oklch(var(--lora-accent) / 0.35);
user-select: none; user-select: none;
box-shadow: 0 1px 2px oklch(var(--lora-accent) / 0.1); box-shadow: 0 1px 2px oklch(var(--lora-accent) / 0.1);
@@ -577,13 +577,13 @@
border: 1px solid var(--border-color); border: 1px solid var(--border-color);
border-radius: var(--border-radius-sm); border-radius: var(--border-radius-sm);
cursor: pointer; cursor: pointer;
transition: all 0.2s ease; transition: var(--transition-base);
background: var(--bg-color); background: var(--bg-color);
} }
.file-option:hover { .file-option:hover {
border-color: var(--lora-accent); border-color: var(--lora-accent);
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08); box-shadow: var(--shadow-sm);
} }
.file-option.selected { .file-option.selected {
@@ -678,7 +678,7 @@
border-radius: var(--border-radius-xs); border-radius: var(--border-radius-xs);
background: var(--bg-color); background: var(--bg-color);
color: var(--text-color); color: var(--text-color);
font-family: monospace; font-family: var(--font-mono);
font-size: 0.9em; font-size: 0.9em;
resize: vertical; resize: vertical;
line-height: 1.5; line-height: 1.5;

View File

@@ -20,12 +20,12 @@
border: 1px solid var(--lora-border); border: 1px solid var(--lora-border);
background-color: var(--lora-surface); background-color: var(--lora-surface);
cursor: pointer; cursor: pointer;
transition: all 0.2s; transition: var(--transition-base);
} }
.example-option-btn:hover { .example-option-btn:hover {
transform: translateY(-2px); transform: translateY(-2px);
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); box-shadow: var(--shadow-md);
border-color: var(--lora-accent); border-color: var(--lora-accent);
} }
@@ -68,5 +68,5 @@
/* Dark theme adjustments */ /* Dark theme adjustments */
[data-theme="dark"] .example-option-btn:hover { [data-theme="dark"] .example-option-btn:hover {
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25); box-shadow: var(--shadow-elevated);
} }

View File

@@ -32,7 +32,7 @@
color: var(--text-color); color: var(--text-color);
cursor: pointer; cursor: pointer;
font-weight: 500; font-weight: 500;
transition: all 0.2s; transition: var(--transition-base);
opacity: 0.7; opacity: 0.7;
} }
@@ -150,7 +150,7 @@
margin-left: 8px; margin-left: 8px;
vertical-align: middle; vertical-align: middle;
animation: fadeIn 0.5s ease-in-out; animation: fadeIn 0.5s ease-in-out;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2); box-shadow: var(--shadow-sm);
text-transform: uppercase; text-transform: uppercase;
letter-spacing: 0.5px; letter-spacing: 0.5px;
} }
@@ -164,7 +164,7 @@
/* Dark theme adjustments for new content badge */ /* Dark theme adjustments for new content badge */
[data-theme="dark"] .new-content-badge { [data-theme="dark"] .new-content-badge {
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4); box-shadow: var(--shadow-lg);
} }
/* Update video list styles */ /* Update video list styles */
@@ -210,7 +210,7 @@
margin-left: 10px; margin-left: 10px;
vertical-align: middle; vertical-align: middle;
animation: fadeIn 0.5s ease-in-out; animation: fadeIn 0.5s ease-in-out;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); box-shadow: var(--shadow-md);
} }
.update-date-badge i { .update-date-badge i {
@@ -225,7 +225,7 @@
/* Dark theme adjustments */ /* Dark theme adjustments */
[data-theme="dark"] .update-date-badge { [data-theme="dark"] .update-date-badge {
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3); box-shadow: var(--shadow-md);
} }
/* Privacy-friendly video embed styles */ /* Privacy-friendly video embed styles */
@@ -281,7 +281,7 @@
border-radius: var(--border-radius-sm); border-radius: var(--border-radius-sm);
font-weight: 500; font-weight: 500;
cursor: pointer; cursor: pointer;
transition: all 0.2s ease; transition: var(--transition-base);
background-color: var(--lora-accent); background-color: var(--lora-accent);
color: white; color: white;
text-decoration: none; text-decoration: none;

View File

@@ -10,7 +10,7 @@
align-items: center; align-items: center;
justify-content: center; justify-content: center;
cursor: pointer; cursor: pointer;
transition: all 0.2s ease; transition: var(--transition-base);
} }
.settings-toggle:hover { .settings-toggle:hover {
@@ -81,7 +81,7 @@
font-weight: 500; font-weight: 500;
cursor: pointer; cursor: pointer;
border-radius: var(--border-radius-xs); border-radius: var(--border-radius-xs);
transition: all 0.2s ease; transition: var(--transition-base);
margin-bottom: 4px; margin-bottom: 4px;
} }
@@ -154,7 +154,7 @@
background-color: var(--lora-surface); background-color: var(--lora-surface);
color: var(--text-color); color: var(--text-color);
font-size: 0.9em; font-size: 0.9em;
transition: all 0.2s ease; transition: var(--transition-base);
} }
.settings-search-input:focus { .settings-search-input:focus {
@@ -183,7 +183,7 @@
justify-content: center; justify-content: center;
font-size: 0.7em; font-size: 0.7em;
opacity: 0.6; opacity: 0.6;
transition: all 0.2s ease; transition: var(--transition-base);
} }
.settings-search-clear:hover { .settings-search-clear:hover {
@@ -289,7 +289,7 @@
align-items: center; align-items: center;
justify-content: center; justify-content: center;
cursor: pointer; cursor: pointer;
transition: all 0.2s ease; transition: var(--transition-base);
text-decoration: none; text-decoration: none;
position: relative; position: relative;
} }
@@ -582,7 +582,7 @@
} }
.priority-tags-example code { .priority-tags-example code {
font-family: var(--code-font, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace); font-family: var(--font-mono);
background-color: rgba(var(--lora-accent-rgb, 79, 70, 229), 0.12); background-color: rgba(var(--lora-accent-rgb, 79, 70, 229), 0.12);
padding: 2px 6px; padding: 2px 6px;
border-radius: var(--border-radius-xs); border-radius: var(--border-radius-xs);
@@ -614,7 +614,7 @@
border-bottom: 2px solid transparent; border-bottom: 2px solid transparent;
color: var(--text-color); color: var(--text-color);
cursor: pointer; cursor: pointer;
transition: all 0.2s ease; transition: var(--transition-base);
opacity: 0.7; opacity: 0.7;
} }
@@ -932,7 +932,7 @@ input:checked + .toggle-slider:before {
border-radius: var(--border-radius-xs); border-radius: var(--border-radius-xs);
padding: var(--space-1); padding: var(--space-1);
margin-top: 8px; margin-top: 8px;
font-family: monospace; font-family: var(--font-mono);
font-size: 0.9em; font-size: 0.9em;
color: var(--lora-accent); color: var(--lora-accent);
display: none; display: none;
@@ -974,7 +974,7 @@ input:checked + .toggle-slider:before {
border-radius: var(--border-radius-xs); border-radius: var(--border-radius-xs);
cursor: pointer; cursor: pointer;
font-size: 0.9em; font-size: 0.9em;
transition: all 0.2s; transition: var(--transition-base);
height: 32px; /* Match other control heights */ height: 32px; /* Match other control heights */
} }
@@ -1030,7 +1030,7 @@ input:checked + .toggle-slider:before {
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
transition: all 0.2s; transition: var(--transition-base);
} }
.remove-mapping-btn:hover { .remove-mapping-btn:hover {
@@ -1146,7 +1146,7 @@ input:checked + .toggle-slider:before {
color: white; color: white;
padding: 2px 6px; padding: 2px 6px;
border-radius: 3px; border-radius: 3px;
font-family: monospace; font-family: var(--font-mono);
font-size: 1em; font-size: 1em;
font-weight: 500; font-weight: 500;
} }
@@ -1175,7 +1175,7 @@ input:checked + .toggle-slider:before {
background-color: var(--lora-surface); background-color: var(--lora-surface);
color: var(--text-color); color: var(--text-color);
font-size: 0.95em; font-size: 0.95em;
font-family: monospace; font-family: var(--font-mono);
height: 24px; height: 24px;
transition: border-color 0.2s; transition: border-color 0.2s;
} }
@@ -1277,7 +1277,7 @@ input:checked + .toggle-slider:before {
border-radius: 6px; border-radius: 6px;
font-size: 14px; font-size: 14px;
font-weight: normal; font-weight: normal;
font-family: 'Segoe UI', system-ui, -apple-system, sans-serif; font-family: var(--font-body);
white-space: normal; white-space: normal;
max-width: 220px; max-width: 220px;
width: max-content; width: max-content;
@@ -1287,7 +1287,7 @@ input:checked + .toggle-slider:before {
pointer-events: none; pointer-events: none;
z-index: 10000; z-index: 10000;
line-height: 1.4; line-height: 1.4;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3); box-shadow: var(--shadow-elevated);
text-transform: none; text-transform: none;
} }
@@ -1309,7 +1309,7 @@ input:checked + .toggle-slider:before {
/* Dark theme adjustments for tooltip - Fully opaque */ /* Dark theme adjustments for tooltip - Fully opaque */
[data-theme="dark"] .info-icon[data-tooltip]::after { [data-theme="dark"] .info-icon[data-tooltip]::after {
background: rgba(40, 40, 40, 0.95); background: rgba(40, 40, 40, 0.95);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5); box-shadow: var(--shadow-dark-lg);
} }
/* Extra Folder Paths - Single input layout */ /* Extra Folder Paths - Single input layout */
@@ -1361,7 +1361,7 @@ input:checked + .toggle-slider:before {
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
transition: all 0.2s; transition: var(--transition-base);
flex-shrink: 0; flex-shrink: 0;
} }

View File

@@ -100,7 +100,7 @@
border-radius: var(--border-radius-sm); border-radius: var(--border-radius-sm);
text-decoration: none; text-decoration: none;
color: var(--text-color); color: var(--text-color);
transition: all 0.2s ease; transition: var(--transition-base);
} }
.social-link:hover { .social-link:hover {
@@ -120,14 +120,14 @@
border-radius: var(--border-radius-sm); border-radius: var(--border-radius-sm);
text-decoration: none; text-decoration: none;
font-weight: 500; font-weight: 500;
transition: all 0.2s ease; transition: var(--transition-base);
margin-top: var(--space-1); margin-top: var(--space-1);
} }
.kofi-button:hover { .kofi-button:hover {
background: #E04946; background: #E04946;
transform: translateY(-2px); transform: translateY(-2px);
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); box-shadow: var(--shadow-md);
} }
/* Patreon button style */ /* Patreon button style */
@@ -142,14 +142,14 @@
border-radius: var(--border-radius-sm); border-radius: var(--border-radius-sm);
text-decoration: none; text-decoration: none;
font-weight: 500; font-weight: 500;
transition: all 0.2s ease; transition: var(--transition-base);
margin-top: var(--space-1); margin-top: var(--space-1);
} }
.patreon-button:hover { .patreon-button:hover {
background: #E04946; background: #E04946;
transform: translateY(-2px); transform: translateY(-2px);
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); box-shadow: var(--shadow-md);
} }
/* QR Code section styles */ /* QR Code section styles */
@@ -189,7 +189,7 @@
max-width: 80%; max-width: 80%;
height: auto; height: auto;
border-radius: var(--border-radius-sm); border-radius: var(--border-radius-sm);
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); box-shadow: var(--shadow-md);
border: 1px solid var(--lora-border); border: 1px solid var(--lora-border);
aspect-ratio: 1/1; /* Ensure proper aspect ratio for the square QR code */ aspect-ratio: 1/1; /* Ensure proper aspect ratio for the square QR code */
} }
@@ -212,7 +212,7 @@
align-items: center; align-items: center;
justify-content: center; justify-content: center;
cursor: pointer; cursor: pointer;
transition: all 0.2s ease; transition: var(--transition-base);
} }
.support-toggle:hover { .support-toggle:hover {
@@ -261,7 +261,7 @@
.update-link:hover, .update-link:hover,
.folder-item:hover { .folder-item:hover {
border-color: var(--lora-accent); border-color: var(--lora-accent);
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); box-shadow: var(--shadow-md);
} }
/* Supporters Section Styles */ /* Supporters Section Styles */
@@ -347,14 +347,14 @@
border: 1px solid var(--border-color); border: 1px solid var(--border-color);
border-left: 3px solid var(--lora-accent); border-left: 3px solid var(--lora-accent);
border-radius: var(--border-radius-sm); border-radius: var(--border-radius-sm);
transition: all 0.2s ease; transition: var(--transition-base);
cursor: default; cursor: default;
} }
.supporter-special-card:hover { .supporter-special-card:hover {
border-color: var(--lora-accent); border-color: var(--lora-accent);
border-left-color: var(--lora-accent); border-left-color: var(--lora-accent);
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08); box-shadow: var(--shadow-header);
transform: translateX(4px); transform: translateX(4px);
} }
@@ -439,7 +439,7 @@
font-size: 0.95em; font-size: 0.95em;
color: var(--text-color); color: var(--text-color);
opacity: 0.85; opacity: 0.85;
transition: all 0.2s ease; transition: var(--transition-base);
white-space: nowrap; white-space: nowrap;
cursor: default; cursor: default;
} }

View File

@@ -123,7 +123,7 @@
} }
.version-number { .version-number {
font-family: monospace; font-family: var(--font-mono);
font-weight: 600; font-weight: 600;
} }
@@ -136,7 +136,7 @@
font-size: 0.85em; font-size: 0.85em;
opacity: 0.7; opacity: 0.7;
margin-top: 4px; margin-top: 4px;
font-family: monospace; font-family: var(--font-mono);
color: var(--text-color); color: var(--text-color);
} }
@@ -160,7 +160,7 @@
border-radius: var(--border-radius-sm); border-radius: var(--border-radius-sm);
text-decoration: none; text-decoration: none;
color: var(--text-color); color: var(--text-color);
transition: all 0.2s ease; transition: var(--transition-base);
} }
.update-link:hover { .update-link:hover {
@@ -332,7 +332,7 @@
background: rgba(0, 0, 0, 0.05); background: rgba(0, 0, 0, 0.05);
padding: 2px 4px; padding: 2px 4px;
border-radius: 3px; border-radius: 3px;
font-family: monospace; font-family: var(--font-mono);
font-size: 0.9em; font-size: 0.9em;
} }

View File

@@ -7,7 +7,7 @@
background: var(--lora-surface); background: var(--lora-surface);
border: 1px solid var(--lora-border); border: 1px solid var(--lora-border);
border-radius: var(--border-radius-sm); border-radius: var(--border-radius-sm);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); box-shadow: var(--shadow-toast);
z-index: calc(var(--z-modal) - 1); z-index: calc(var(--z-modal) - 1);
transition: transform 0.3s ease, opacity 0.3s ease; transition: transform 0.3s ease, opacity 0.3s ease;
opacity: 0; opacity: 0;
@@ -63,7 +63,7 @@
align-items: center; align-items: center;
justify-content: center; justify-content: center;
opacity: 0.6; opacity: 0.6;
transition: all 0.2s; transition: var(--transition-base);
position: relative; position: relative;
} }

View File

@@ -55,7 +55,7 @@
padding: 4px 8px; padding: 4px 8px;
margin-left: 8px; margin-left: 8px;
border-radius: var(--border-radius-xs); border-radius: var(--border-radius-xs);
transition: all 0.2s; transition: var(--transition-base);
flex-shrink: 0; flex-shrink: 0;
display: flex; display: flex;
align-items: center; align-items: center;
@@ -176,14 +176,14 @@
background: var(--card-bg); background: var(--card-bg);
border: 1px solid var(--border-color); border: 1px solid var(--border-color);
border-radius: var(--border-radius-sm); 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; padding: 10px 14px;
max-width: 400px; max-width: 400px;
z-index: 10; z-index: 10;
opacity: 0; opacity: 0;
visibility: hidden; visibility: hidden;
transform: translateY(-4px); transform: translateY(-4px);
transition: all 0.2s ease; transition: var(--transition-base);
pointer-events: none; pointer-events: none;
} }
@@ -258,7 +258,7 @@
cursor: pointer; cursor: pointer;
font-weight: 500; font-weight: 500;
font-size: 0.9em; font-size: 0.9em;
transition: all 0.2s; transition: var(--transition-base);
white-space: nowrap; white-space: nowrap;
} }
@@ -428,7 +428,7 @@
font-size: 0.85em; font-size: 0.85em;
cursor: pointer; cursor: pointer;
border: none; border: none;
transition: all 0.2s; transition: var(--transition-base);
} }
.source-url-cancel-btn { .source-url-cancel-btn {
@@ -548,7 +548,7 @@
cursor: pointer; cursor: pointer;
padding: 4px 8px; padding: 4px 8px;
border-radius: var(--border-radius-xs); border-radius: var(--border-radius-xs);
transition: all 0.2s; transition: var(--transition-base);
} }
.copy-btn:hover, .copy-btn:hover,
@@ -705,7 +705,7 @@
cursor: pointer; cursor: pointer;
padding: 4px 8px; padding: 4px 8px;
border-radius: var(--border-radius-xs); border-radius: var(--border-radius-xs);
transition: all 0.2s; transition: var(--transition-base);
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
@@ -725,7 +725,7 @@
cursor: pointer; cursor: pointer;
padding: 4px 8px; padding: 4px 8px;
border-radius: var(--border-radius-xs); border-radius: var(--border-radius-xs);
transition: all 0.2s; transition: var(--transition-base);
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
@@ -797,7 +797,7 @@
.recipe-lora-item:hover { .recipe-lora-item:hover {
transform: translateY(-1px); transform: translateY(-1px);
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08); box-shadow: var(--shadow-header);
border-color: var(--lora-accent); border-color: var(--lora-accent);
} }
@@ -995,7 +995,7 @@
padding: 8px 12px; padding: 8px 12px;
border-radius: var(--border-radius-xs); border-radius: var(--border-radius-xs);
border: 1px solid var(--border-color); 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); z-index: var(--z-overlay);
width: max-content; width: max-content;
max-width: 200px; max-width: 200px;
@@ -1049,7 +1049,7 @@
background: rgba(0, 0, 0, 0.1); background: rgba(0, 0, 0, 0.1);
padding: 2px 4px; padding: 2px 4px;
border-radius: 3px; border-radius: 3px;
font-family: monospace; font-family: var(--font-mono);
font-size: 0.9em; font-size: 0.9em;
} }
@@ -1086,7 +1086,7 @@
font-size: 0.85em; font-size: 0.85em;
cursor: pointer; cursor: pointer;
border: none; border: none;
transition: all 0.2s; transition: var(--transition-base);
} }
.reconnect-cancel-btn { .reconnect-cancel-btn {
@@ -1251,7 +1251,7 @@
padding: 8px 12px; padding: 8px 12px;
border-radius: var(--border-radius-xs); border-radius: var(--border-radius-xs);
border: 1px solid var(--border-color); 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); z-index: var(--z-overlay);
width: max-content; width: max-content;
max-width: 200px; max-width: 200px;

View File

@@ -71,7 +71,7 @@
align-items: center; align-items: center;
justify-content: center; justify-content: center;
cursor: pointer; cursor: pointer;
transition: all 0.2s ease; transition: background-color var(--transition-base), color var(--transition-base), border-color var(--transition-base);
flex-shrink: 0; flex-shrink: 0;
} }
@@ -103,7 +103,7 @@
align-items: center; align-items: center;
justify-content: center; justify-content: center;
cursor: pointer; cursor: pointer;
transition: all 0.2s ease; transition: background-color var(--transition-base), color var(--transition-base), border-color var(--transition-base);
flex-shrink: 0; flex-shrink: 0;
position: relative; position: relative;
} }
@@ -149,7 +149,7 @@
background-color: var(--card-bg); background-color: var(--card-bg);
border: 1px solid var(--border-color); border: 1px solid var(--border-color);
border-radius: var(--border-radius-base); border-radius: var(--border-radius-base);
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); box-shadow: var(--shadow-md);
z-index: var(--z-overlay); z-index: var(--z-overlay);
padding: 16px; padding: 16px;
transition: transform 0.3s ease, opacity 0.3s ease; transition: transform 0.3s ease, opacity 0.3s ease;
@@ -243,7 +243,7 @@
color: var(--text-color); color: var(--text-color);
font-size: 14px; font-size: 14px;
cursor: pointer; cursor: pointer;
transition: all 0.2s ease; transition: var(--transition-base);
user-select: none; /* Prevent text selection */ user-select: none; /* Prevent text selection */
-webkit-user-select: none; /* For Safari */ -webkit-user-select: none; /* For Safari */
-moz-user-select: none; /* For Firefox */ -moz-user-select: none; /* For Firefox */
@@ -373,7 +373,7 @@
align-items: center; align-items: center;
justify-content: center; justify-content: center;
cursor: pointer; cursor: pointer;
transition: all 0.2s ease; transition: var(--transition-base);
flex-shrink: 0; flex-shrink: 0;
} }
@@ -402,7 +402,7 @@
background-color: var(--card-bg); background-color: var(--card-bg);
border: 1px solid var(--border-color); border: 1px solid var(--border-color);
border-radius: var(--border-radius-base); border-radius: var(--border-radius-base);
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); box-shadow: var(--shadow-md);
z-index: var(--z-overlay); z-index: var(--z-overlay);
padding: 16px; padding: 16px;
transition: transform 0.3s ease, opacity 0.3s ease; transition: transform 0.3s ease, opacity 0.3s ease;
@@ -470,7 +470,7 @@
color: var(--text-color); color: var(--text-color);
font-size: 13px; /* Slightly smaller font size */ font-size: 13px; /* Slightly smaller font size */
cursor: pointer; cursor: pointer;
transition: all 0.2s ease; transition: var(--transition-base);
user-select: none; user-select: none;
flex: 1; flex: 1;
text-align: center; text-align: center;
@@ -516,7 +516,7 @@
border-radius: var(--border-radius-sm); border-radius: var(--border-radius-sm);
background-color: var(--lora-surface); background-color: var(--lora-surface);
border: 1px solid var(--border-color); border: 1px solid var(--border-color);
transition: all 0.2s ease; transition: var(--transition-base);
cursor: pointer; cursor: pointer;
} }
@@ -574,7 +574,7 @@
align-items: center; align-items: center;
justify-content: center; justify-content: center;
font-size: 11px; font-size: 11px;
transition: all 0.2s ease; transition: var(--transition-base);
margin-left: auto; margin-left: auto;
} }
@@ -599,7 +599,7 @@
font-size: 14px; font-size: 14px;
border-radius: var(--border-radius-sm); border-radius: var(--border-radius-sm);
cursor: pointer; cursor: pointer;
transition: all 0.25s ease; transition: var(--transition-base);
} }
/* Enabled state - visual cue that button is actionable */ /* Enabled state - visual cue that button is actionable */
@@ -726,7 +726,7 @@
cursor: pointer; cursor: pointer;
color: var(--text-color); color: var(--text-color);
opacity: 0.7; opacity: 0.7;
transition: all 0.2s ease; transition: var(--transition-base);
font-weight: 500; font-weight: 500;
} }

View File

@@ -78,7 +78,7 @@
color: var(--text-color); color: var(--text-color);
white-space: normal; white-space: normal;
word-break: break-all; word-break: break-all;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); box-shadow: var(--shadow-header);
z-index: 100; /* Higher z-index to ensure it's above other elements */ z-index: 100; /* Higher z-index to ensure it's above other elements */
min-width: 300px; min-width: 300px;
max-width: 300px; max-width: 300px;
@@ -107,7 +107,7 @@
color: var(--text-color); color: var(--text-color);
white-space: normal; white-space: normal;
word-break: break-all; word-break: break-all;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); box-shadow: var(--shadow-header);
z-index: 100; /* Higher z-index to ensure it's above other elements */ z-index: 100; /* Higher z-index to ensure it's above other elements */
min-width: 200px; min-width: 200px;
max-width: 300px; max-width: 300px;

View File

@@ -10,7 +10,7 @@
cursor: pointer; cursor: pointer;
padding: 2px 5px; padding: 2px 5px;
border-radius: var(--border-radius-xs); border-radius: var(--border-radius-xs);
transition: all 0.2s ease; transition: var(--transition-base);
} }
.metadata-edit-btn:hover { .metadata-edit-btn:hover {
@@ -101,7 +101,7 @@
} }
.metadata-item-dragging { .metadata-item-dragging {
box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25); box-shadow: var(--shadow-dialog);
cursor: grabbing; cursor: grabbing;
opacity: 0.95; opacity: 0.95;
transition: none; transition: none;
@@ -178,7 +178,7 @@ body.metadata-drag-active * {
display: flex; display: flex;
align-items: center; align-items: center;
gap: 4px; gap: 4px;
transition: all 0.2s ease; transition: var(--transition-base);
} }
.metadata-edit-controls button:hover { .metadata-edit-controls button:hover {
@@ -257,7 +257,7 @@ body.metadata-drag-active * {
border-radius: var(--border-radius-sm); border-radius: var(--border-radius-sm);
margin-top: 4px; margin-top: 4px;
z-index: 100; z-index: 100;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); box-shadow: var(--shadow-elevated);
overflow: hidden; overflow: hidden;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
@@ -299,7 +299,7 @@ body.metadata-drag-active * {
justify-content: space-between; justify-content: space-between;
padding: 5px 10px; padding: 5px 10px;
cursor: pointer; cursor: pointer;
transition: all 0.2s ease; transition: var(--transition-base);
border-radius: var(--border-radius-xs); border-radius: var(--border-radius-xs);
background: var(--lora-surface); background: var(--lora-surface);
border: 1px solid var(--lora-border); border: 1px solid var(--lora-border);

View File

@@ -8,10 +8,10 @@
border: 1px solid var(--border-color); border: 1px solid var(--border-color);
border-radius: var(--border-radius-xs); border-radius: var(--border-radius-xs);
overflow: hidden; overflow: hidden;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); transition: var(--transition-slow);
flex-shrink: 0; flex-shrink: 0;
z-index: var(--z-overlay); z-index: var(--z-overlay);
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08); box-shadow: var(--shadow-header);
display: flex; display: flex;
flex-direction: column; flex-direction: column;
backdrop-filter: blur(8px); backdrop-filter: blur(8px);
@@ -83,7 +83,7 @@
flex-shrink: 0; flex-shrink: 0;
border-bottom: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color);
cursor: pointer; cursor: pointer;
transition: all 0.2s ease; transition: var(--transition-base);
} }
.sidebar-header:hover { .sidebar-header:hover {
@@ -120,7 +120,7 @@
padding: 4px; padding: 4px;
border-radius: 4px; border-radius: 4px;
opacity: 0.6; opacity: 0.6;
transition: all 0.2s ease; transition: var(--transition-base);
width: 24px; width: 24px;
height: 24px; height: 24px;
display: flex; display: flex;
@@ -174,7 +174,7 @@
align-items: center; align-items: center;
padding: 8px 16px; padding: 8px 16px;
cursor: pointer; cursor: pointer;
transition: all 0.2s ease; transition: var(--transition-base);
font-size: 0.85em; font-size: 0.85em;
border-left: 3px solid transparent; border-left: 3px solid transparent;
color: var(--text-color); color: var(--text-color);
@@ -298,7 +298,7 @@
padding: 4px 8px; padding: 4px 8px;
border-radius: var(--border-radius-xs); border-radius: var(--border-radius-xs);
cursor: pointer; cursor: pointer;
transition: all 0.2s ease; transition: var(--transition-base);
color: var(--text-muted); color: var(--text-muted);
position: relative; position: relative;
} }
@@ -331,7 +331,7 @@
margin-left: 6px; margin-left: 6px;
color: inherit; color: inherit;
opacity: 0.6; opacity: 0.6;
transition: all 0.2s ease; transition: var(--transition-base);
pointer-events: none; pointer-events: none;
font-size: 0.9em; font-size: 0.9em;
} }
@@ -364,7 +364,7 @@
background: var(--bg-color); background: var(--bg-color);
border: 1px solid var(--border-color); border: 1px solid var(--border-color);
border-radius: var(--border-radius-xs); border-radius: var(--border-radius-xs);
box-shadow: 0 3px 8px rgba(0,0,0,0.15); box-shadow: var(--shadow-lg);
z-index: calc(var(--z-overlay) + 20); z-index: calc(var(--z-overlay) + 20);
overflow-y: auto; overflow-y: auto;
max-height: 450px; max-height: 450px;
@@ -382,7 +382,7 @@
white-space: nowrap; white-space: nowrap;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
transition: all 0.2s ease; transition: var(--transition-base);
} }
.breadcrumb-dropdown-item:hover { .breadcrumb-dropdown-item:hover {
@@ -406,7 +406,7 @@
align-items: center; align-items: center;
padding: 8px 16px; padding: 8px 16px;
cursor: pointer; cursor: pointer;
transition: all 0.2s ease; transition: var(--transition-base);
font-size: 0.85em; font-size: 0.85em;
border-left: 3px solid transparent; border-left: 3px solid transparent;
color: var(--text-color); color: var(--text-color);
@@ -614,7 +614,7 @@
background: oklch(var(--lora-accent-l) var(--lora-accent-c) var(--lora-accent-h) / 0.08); background: oklch(var(--lora-accent-l) var(--lora-accent-c) var(--lora-accent-h) / 0.08);
opacity: 0; opacity: 0;
transform: translateY(10px); transform: translateY(10px);
transition: all 0.2s ease; transition: var(--transition-base);
pointer-events: none; pointer-events: none;
z-index: 10; z-index: 10;
} }
@@ -649,7 +649,7 @@
background: var(--bg-color); background: var(--bg-color);
border: 1px solid var(--border-color); border: 1px solid var(--border-color);
border-radius: var(--border-radius-xs); border-radius: var(--border-radius-xs);
box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15); box-shadow: var(--shadow-lg);
z-index: 20; z-index: 20;
animation: slideUp 0.2s ease; animation: slideUp 0.2s ease;
} }
@@ -685,7 +685,7 @@
color: var(--text-color); color: var(--text-color);
font-size: 0.85em; font-size: 0.85em;
outline: none; outline: none;
transition: all 0.2s ease; transition: var(--transition-base);
} }
.sidebar-create-folder-input:focus { .sidebar-create-folder-input:focus {
@@ -702,7 +702,7 @@
border: none; border: none;
border-radius: var(--border-radius-xs); border-radius: var(--border-radius-xs);
cursor: pointer; cursor: pointer;
transition: all 0.2s ease; transition: var(--transition-base);
background: transparent; background: transparent;
color: var(--text-muted); color: var(--text-muted);
} }

View File

@@ -17,13 +17,13 @@
border-radius: var(--border-radius-base); border-radius: var(--border-radius-base);
padding: var(--space-2); padding: var(--space-2);
text-align: center; text-align: center;
transition: all 0.3s ease; transition: var(--transition-slow);
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); box-shadow: var(--shadow-sm);
} }
.metric-card:hover { .metric-card:hover {
transform: translateY(-2px); transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); box-shadow: var(--shadow-elevated);
} }
.metric-card .metric-icon { .metric-card .metric-icon {
@@ -95,7 +95,7 @@
border: none; border: none;
padding: var(--space-2) var(--space-3); padding: var(--space-2) var(--space-3);
cursor: pointer; cursor: pointer;
transition: all 0.3s ease; transition: var(--transition-slow);
color: var(--text-color); color: var(--text-color);
border-bottom: 3px solid transparent; border-bottom: 3px solid transparent;
white-space: nowrap; white-space: nowrap;
@@ -208,7 +208,7 @@
background: var(--card-bg); background: var(--card-bg);
border: 1px solid var(--border-color); border: 1px solid var(--border-color);
border-radius: var(--border-radius-xs); border-radius: var(--border-radius-xs);
transition: all 0.2s ease; transition: var(--transition-base);
} }
.model-item:hover { .model-item:hover {
@@ -270,7 +270,7 @@
border-radius: var(--border-radius-xs); border-radius: var(--border-radius-xs);
font-size: 0.8rem; font-size: 0.8rem;
border: 1px solid oklch(var(--lora-accent) / 0.2); border: 1px solid oklch(var(--lora-accent) / 0.2);
transition: all 0.2s ease; transition: var(--transition-base);
cursor: pointer; cursor: pointer;
} }
@@ -349,12 +349,12 @@
padding: var(--space-2); padding: var(--space-2);
border-radius: var(--border-radius-xs); border-radius: var(--border-radius-xs);
border: 1px solid var(--border-color); border: 1px solid var(--border-color);
transition: all 0.3s ease; transition: var(--transition-slow);
} }
.insight-card:hover { .insight-card:hover {
transform: translateY(-1px); transform: translateY(-1px);
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); box-shadow: var(--shadow-md);
} }
.insight-card.type-success { .insight-card.type-success {
@@ -428,7 +428,7 @@
background: var(--card-bg); background: var(--card-bg);
border: 1px solid var(--border-color); border: 1px solid var(--border-color);
border-radius: var(--border-radius-xs); border-radius: var(--border-radius-xs);
transition: all 0.2s ease; transition: var(--transition-base);
} }
.recommendation-item:hover { .recommendation-item:hover {
@@ -534,9 +534,9 @@
} }
[data-theme="dark"] .metric-card { [data-theme="dark"] .metric-card {
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); box-shadow: var(--shadow-md);
} }
[data-theme="dark"] .metric-card:hover { [data-theme="dark"] .metric-card:hover {
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4); box-shadow: var(--shadow-dark-lg);
} }

View File

@@ -25,7 +25,7 @@
color: var(--text-color); color: var(--text-color);
padding: 12px 16px; padding: 12px 16px;
border-radius: var(--border-radius-sm); border-radius: var(--border-radius-sm);
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2); box-shadow: var(--shadow-toast);
z-index: calc(var(--z-overlay) + 10); z-index: calc(var(--z-overlay) + 10);
opacity: 0; opacity: 0;
transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),

View File

@@ -10,7 +10,7 @@
.container { .container {
max-width: 1400px; max-width: 1400px;
margin: 0 auto; margin: 0 auto;
padding: 0 15px; padding: 0 var(--space-2);
position: relative; position: relative;
z-index: var(--z-base); z-index: var(--z-base);
} }
@@ -78,7 +78,7 @@
background: var(--card-bg); background: var(--card-bg);
color: var(--text-color); color: var(--text-color);
font-size: 0.85em; font-size: 0.85em;
transition: all 0.2s ease; transition: var(--transition-base);
cursor: pointer; cursor: pointer;
box-shadow: var(--shadow-xs); box-shadow: var(--shadow-xs);
} }
@@ -186,7 +186,7 @@
color: var(--shortcut-text); color: var(--shortcut-text);
vertical-align: middle; vertical-align: middle;
opacity: 0.8; opacity: 0.8;
transition: all 0.2s ease; transition: var(--transition-base);
} }
.control-group button:hover .shortcut-key { .control-group button:hover .shortcut-key {
@@ -222,7 +222,7 @@
background-position: right 6px center; background-position: right 6px center;
background-size: 14px; background-size: 14px;
cursor: pointer; cursor: pointer;
transition: all 0.2s ease; transition: var(--transition-base);
box-shadow: var(--shadow-xs); box-shadow: var(--shadow-xs);
} }
@@ -295,7 +295,7 @@
opacity: 0; opacity: 0;
visibility: hidden; visibility: hidden;
transform: translateY(10px); transform: translateY(10px);
transition: all 0.3s ease; transition: var(--transition-slow);
z-index: var(--z-overlay); z-index: var(--z-overlay);
box-shadow: var(--shadow-sm); box-shadow: var(--shadow-sm);
} }

View File

@@ -24,7 +24,7 @@
border-radius: var(--border-radius-base); border-radius: var(--border-radius-base);
z-index: calc(var(--z-overlay) + 1); z-index: calc(var(--z-overlay) + 1);
pointer-events: none; pointer-events: none;
transition: all 0.3s ease; transition: var(--transition-slow);
/* Add glow effect */ /* Add glow effect */
box-shadow: box-shadow:
0 0 0 2px rgba(24, 144, 255, 0.3), 0 0 0 2px rgba(24, 144, 255, 0.3),
@@ -53,7 +53,7 @@
min-width: 320px; min-width: 320px;
max-width: 400px; max-width: 400px;
z-index: calc(var(--z-overlay) + 3); z-index: calc(var(--z-overlay) + 3);
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3); box-shadow: var(--shadow-2xl);
backdrop-filter: blur(10px); backdrop-filter: blur(10px);
} }
@@ -98,7 +98,7 @@
color: var(--text-color); color: var(--text-color);
cursor: pointer; cursor: pointer;
font-size: 0.9em; font-size: 0.9em;
transition: all 0.2s ease; transition: var(--transition-base);
} }
.onboarding-btn:hover { .onboarding-btn:hover {
@@ -138,7 +138,7 @@
padding: var(--space-3); padding: var(--space-3);
min-width: 510px; min-width: 510px;
text-align: center; text-align: center;
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4); box-shadow: var(--shadow-dark-lg);
backdrop-filter: blur(10px); backdrop-filter: blur(10px);
} }
@@ -167,7 +167,7 @@
border-radius: var(--border-radius-sm); border-radius: var(--border-radius-sm);
background: var(--card-bg); background: var(--card-bg);
cursor: pointer; cursor: pointer;
transition: all 0.2s ease; transition: var(--transition-base);
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;

View File

@@ -12,9 +12,21 @@
--shadow-md: 0 2px 4px rgba(0, 0, 0, 0.1); --shadow-md: 0 2px 4px rgba(0, 0, 0, 0.1);
--shadow-lg: 0 3px 5px rgba(0, 0, 0, 0.08); --shadow-lg: 0 3px 5px rgba(0, 0, 0, 0.08);
--shadow-xl: 0 4px 16px rgba(0, 0, 0, 0.15); --shadow-xl: 0 4px 16px rgba(0, 0, 0, 0.15);
--shadow-2xl: 0 8px 32px rgba(0, 0, 0, 0.12);
--shadow-focus: 0 0 0 1px var(--color-accent); --shadow-focus: 0 0 0 1px var(--color-accent);
--shadow-glow: 0 2px 6px var(--color-info-glow); --shadow-glow: 0 2px 6px var(--color-info-glow);
--shadow-card: var(--shadow-sm);
--shadow-dropdown: var(--shadow-md);
--shadow-modal: var(--shadow-lg);
--shadow-toast: var(--shadow-xl);
--shadow-header: 0 2px 8px rgba(0, 0, 0, 0.08);
--shadow-dark-lg: 0 4px 24px rgba(0, 0, 0, 0.4);
--shadow-side: 2px 0 8px rgba(0, 0, 0, 0.1);
--shadow-elevated: 0 4px 12px rgba(0, 0, 0, 0.15);
--shadow-dialog: 0 10px 24px rgba(0, 0, 0, 0.25);
--shadow-inset-top: 0 -2px 8px rgba(0, 0, 0, 0.1);
--transition-fast: 150ms ease; --transition-fast: 150ms ease;
--transition-base: 200ms ease; --transition-base: 200ms ease;
--transition-slow: 300ms ease; --transition-slow: 300ms ease;
@@ -23,3 +35,23 @@
--border-width-thin: 1px; --border-width-thin: 1px;
--border-width-thick: 2px; --border-width-thick: 2px;
} }
[data-theme="dark"] {
--shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.25);
--shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.25);
--shadow-md: 0 2px 4px rgba(0, 0, 0, 0.35);
--shadow-lg: 0 3px 5px rgba(0, 0, 0, 0.3);
--shadow-xl: 0 4px 16px rgba(0, 0, 0, 0.45);
--shadow-2xl: 0 8px 32px rgba(0, 0, 0, 0.35);
--shadow-card: var(--shadow-sm);
--shadow-dropdown: var(--shadow-md);
--shadow-modal: var(--shadow-lg);
--shadow-toast: var(--shadow-xl);
--shadow-header: 0 2px 8px rgba(0, 0, 0, 0.3);
--shadow-dark-lg: 0 4px 24px rgba(0, 0, 0, 0.6);
--shadow-side: 2px 0 8px rgba(0, 0, 0, 0.3);
--shadow-elevated: 0 4px 12px rgba(0, 0, 0, 0.35);
--shadow-dialog: 0 10px 24px rgba(0, 0, 0, 0.45);
--shadow-inset-top: 0 -2px 8px rgba(0, 0, 0, 0.3);
}

View File

@@ -1,4 +1,5 @@
:root { :root {
--font-display: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', system-ui, sans-serif;
--font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif; --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
--font-mono: 'JetBrains Mono', 'IBM Plex Mono', ui-monospace, Menlo, monospace; --font-mono: 'JetBrains Mono', 'IBM Plex Mono', ui-monospace, Menlo, monospace;
@@ -8,6 +9,8 @@
--text-md: 0.95rem; --text-md: 0.95rem;
--text-lg: 1.1rem; --text-lg: 1.1rem;
--text-xl: 1.25rem; --text-xl: 1.25rem;
--text-2xl: 1.5rem;
--text-3xl: 2rem;
--leading-tight: 1.2; --leading-tight: 1.2;
--leading-normal: 1.4; --leading-normal: 1.4;