From 5c6c51061a2c02d7063e7d0c7539c99aac997d77 Mon Sep 17 00:00:00 2001 From: Broque Thomas Date: Fri, 13 Feb 2026 13:57:18 -0800 Subject: [PATCH] css changes on settings page --- webui/static/style.css | 353 +++++++++++++++++++++++++++-------------- 1 file changed, 236 insertions(+), 117 deletions(-) diff --git a/webui/static/style.css b/webui/static/style.css index 864c20df..e5be298b 100644 --- a/webui/static/style.css +++ b/webui/static/style.css @@ -1032,7 +1032,33 @@ body { font-weight: 500; } -/* Settings Page Styling - Three Column Layout */ +/* ====================================== + SETTINGS PAGE - Premium Glassmorphic Design + ====================================== */ + +/* Custom scrollbar */ +#settings-page { + scrollbar-width: thin; + scrollbar-color: rgba(29, 185, 84, 0.3) transparent; +} + +#settings-page::-webkit-scrollbar { + width: 6px; +} + +#settings-page::-webkit-scrollbar-track { + background: transparent; +} + +#settings-page::-webkit-scrollbar-thumb { + background: rgba(29, 185, 84, 0.3); + border-radius: 3px; +} + +#settings-page::-webkit-scrollbar-thumb:hover { + background: rgba(29, 185, 84, 0.5); +} + .settings-content { width: 100%; display: flex; @@ -1055,39 +1081,86 @@ body { gap: 18px; } +/* Glassmorphic cards */ .settings-group { - background: #282828; - border: 1px solid #404040; - border-radius: 8px; - padding: 16px 16px 16px 16px; + background: linear-gradient(135deg, rgba(35, 35, 35, 0.6), rgba(20, 20, 20, 0.8)); + border: 1px solid rgba(255, 255, 255, 0.08); + border-radius: 16px; + padding: 20px; + backdrop-filter: blur(12px) saturate(1.1); + -webkit-backdrop-filter: blur(12px) saturate(1.1); + box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05); + position: relative; + overflow: hidden; + transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); +} + +.settings-group::before { + content: ''; + position: absolute; + top: 0; + left: 0; + right: 0; + height: 2px; + background: linear-gradient(90deg, + rgba(29, 185, 84, 0.6) 0%, + rgba(29, 185, 84, 0.2) 50%, + transparent 100%); +} + +.settings-group:hover { + border-color: rgba(255, 255, 255, 0.12); + box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5), 0 0 20px rgba(29, 185, 84, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.07); + transform: translateY(-1px); } .settings-group h3 { - font-family: 'SF Pro Text', -apple-system, sans-serif; + font-family: 'SF Pro Display', -apple-system, sans-serif; font-size: 14px; - font-weight: 600; + font-weight: 700; color: #ffffff; - margin-bottom: 15px; - margin-top: 10px; + margin-bottom: 14px; + margin-top: 8px; padding-left: 10px; padding-right: 5px; + padding-bottom: 10px; + border-bottom: 2px solid rgba(255, 255, 255, 0.08); + position: relative; } -/* API Service Frames */ +.settings-group h3::after { + content: ''; + position: absolute; + bottom: -2px; + left: 10px; + width: 50px; + height: 2px; + background: linear-gradient(90deg, + rgba(29, 185, 84, 0.8) 0%, + transparent 100%); +} + +/* API Service Frames - upgraded inner cards */ .api-service-frame { - background: #333333; - border: 1px solid #444444; - border-radius: 8px; - padding: 8px 12px 12px 12px; + background: linear-gradient(135deg, rgba(40, 40, 40, 0.5), rgba(25, 25, 25, 0.7)); + border: 1px solid rgba(255, 255, 255, 0.06); + border-radius: 12px; + padding: 12px 14px 14px 14px; margin-bottom: 12px; + transition: all 0.2s ease; +} + +.api-service-frame:hover { + border-color: rgba(255, 255, 255, 0.1); } .service-title { - font-family: 'Arial', sans-serif; + font-family: 'SF Pro Text', -apple-system, sans-serif; font-size: 12px; - font-weight: bold; + font-weight: 700; margin-bottom: 8px; margin-top: 0; + letter-spacing: 0.2px; } .spotify-title { @@ -1110,24 +1183,24 @@ body { color: #ba55d3; } -/* Server Toggle Buttons */ +/* Server Toggle Buttons - upgraded */ .server-toggle-container { display: flex; - gap: 8px; + gap: 10px; margin-bottom: 16px; } .server-toggle-btn { flex: 1; - padding: 8px 16px; - background: rgba(255, 255, 255, 0.05); - border: 1px solid rgba(255, 255, 255, 0.2); - border-radius: 6px; - color: rgba(255, 255, 255, 0.8); + padding: 10px 16px; + background: linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)); + border: 1px solid rgba(255, 255, 255, 0.1); + border-radius: 12px; + color: rgba(255, 255, 255, 0.7); font-size: 12px; font-weight: 500; cursor: pointer; - transition: all 0.2s ease; + transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); display: flex; align-items: center; gap: 8px; @@ -1137,20 +1210,25 @@ body { .server-logo { width: 100%; - opacity: 0.8; - transition: opacity 0.2s ease; + opacity: 0.7; + transition: all 0.3s ease; } .server-toggle-btn.active { - background: rgba(29, 185, 84, 0.2); - border-color: rgba(29, 185, 84, 0.5); + background: linear-gradient(135deg, + rgba(29, 185, 84, 0.2) 0%, + rgba(30, 215, 96, 0.12) 100%); + border-color: rgba(29, 185, 84, 0.4); color: #1ed760; font-weight: 600; + box-shadow: 0 4px 16px rgba(29, 185, 84, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.05); } .server-toggle-btn:hover { - background: rgba(255, 255, 255, 0.1); + background: rgba(255, 255, 255, 0.08); + border-color: rgba(255, 255, 255, 0.15); color: #ffffff; + transform: translateY(-1px); } .server-toggle-btn:hover .server-logo { @@ -1158,7 +1236,9 @@ body { } .server-toggle-btn.active:hover { - background: rgba(29, 185, 84, 0.3); + background: linear-gradient(135deg, + rgba(29, 185, 84, 0.28) 0%, + rgba(30, 215, 96, 0.18) 100%); } .server-toggle-btn.active .server-logo { @@ -1175,8 +1255,9 @@ body { } .callback-label { - color: #ffffff; + color: rgba(255, 255, 255, 0.9); font-size: 11px; + font-weight: 500; margin-top: 8px; margin-bottom: 4px; } @@ -1184,36 +1265,36 @@ body { .callback-url { color: #1db954; font-size: 11px; - font-family: 'Courier New', monospace; - background-color: rgba(29, 185, 84, 0.1); - border: 1px solid rgba(29, 185, 84, 0.3); - border-radius: 4px; - padding: 6px 8px; + font-family: 'SF Mono', 'Courier New', monospace; + background: linear-gradient(135deg, rgba(29, 185, 84, 0.08), rgba(29, 185, 84, 0.04)); + border: 1px solid rgba(29, 185, 84, 0.2); + border-radius: 8px; + padding: 6px 10px; margin-bottom: 6px; user-select: all; cursor: text; } .callback-help { - color: #ffffff; + color: rgba(255, 255, 255, 0.6); font-size: 10px; font-style: italic; - line-height: 1.3; + line-height: 1.4; } .setting-help-text { - color: #b3b3b3; + color: rgba(255, 255, 255, 0.5); font-size: 11px; font-style: italic; line-height: 1.4; margin-top: 6px; padding: 8px 12px; - background: rgba(255, 255, 255, 0.03); + background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01)); border-left: 2px solid rgba(29, 185, 84, 0.3); - border-radius: 4px; + border-radius: 6px; } -/* Form Styling */ +/* Form Styling - glassmorphic inputs */ .form-group { margin-bottom: 12px; } @@ -1240,19 +1321,24 @@ body { .form-group select { width: 100%; padding: 8px 12px; - background: rgba(255, 255, 255, 0.05); + background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03)); border: 1px solid rgba(255, 255, 255, 0.1); - border-radius: 6px; + border-radius: 8px; color: #ffffff; font-size: 12px; - transition: all 0.2s ease; + transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); } .form-group input:focus, .form-group select:focus { outline: none; - border-color: #1ed760; + border-color: rgba(29, 185, 84, 0.6); background: rgba(29, 185, 84, 0.05); + box-shadow: 0 0 0 3px rgba(29, 185, 84, 0.12), 0 0 16px rgba(29, 185, 84, 0.08); +} + +.form-group input::placeholder { + color: rgba(255, 255, 255, 0.3); } /* Checkbox Styling */ @@ -1263,6 +1349,12 @@ body { cursor: pointer; font-size: 12px !important; margin-bottom: 0 !important; + padding: 4px 0; + transition: color 0.2s ease; +} + +.checkbox-label:hover { + color: rgba(255, 255, 255, 1); } .checkbox-label input[type="checkbox"] { @@ -1275,31 +1367,36 @@ body { /* Help Text */ .help-text { - color: #ffffff; + color: rgba(255, 255, 255, 0.5); font-size: 10px; font-style: italic; - line-height: 1.3; + line-height: 1.4; margin-top: 4px; + padding: 8px 12px; + background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01)); + border-radius: 8px; + border: 1px solid rgba(255, 255, 255, 0.04); } /* Supported Formats */ .supported-formats { - color: #ffffff; + color: rgba(255, 255, 255, 0.7); font-size: 11px; - background: transparent; - border: none; - padding: 4px 0; + background: linear-gradient(135deg, rgba(29, 185, 84, 0.06), rgba(29, 185, 84, 0.02)); + border: 1px solid rgba(29, 185, 84, 0.12); + border-radius: 8px; + padding: 6px 10px; } /* Read-only Fields */ .readonly-field { padding: 8px 12px; - background: rgba(255, 255, 255, 0.02); - border: 1px solid rgba(255, 255, 255, 0.05); - border-radius: 6px; - color: rgba(255, 255, 255, 0.8); + background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01)); + border: 1px solid rgba(255, 255, 255, 0.06); + border-radius: 8px; + color: rgba(255, 255, 255, 0.7); font-size: 12px; - font-family: 'Courier New', monospace; + font-family: 'SF Mono', 'Courier New', monospace; } /* Form Actions */ @@ -1309,14 +1406,15 @@ body { margin-top: 8px; } +/* Buttons - gradient + elevation */ .test-button, .detect-button { - padding: 6px 12px; - border-radius: 6px; + padding: 7px 14px; + border-radius: 8px; font-size: 11px; - font-weight: 500; + font-weight: 600; cursor: pointer; - transition: all 0.2s ease; + transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); border: none; white-space: nowrap; } @@ -1332,7 +1430,7 @@ body { margin-bottom: 8px; color: rgba(255, 255, 255, 0.9); font-size: 12px; - font-weight: 500; + font-weight: 600; } .preset-buttons { @@ -1343,14 +1441,14 @@ body { .preset-button { flex: 1; padding: 10px 12px; - background: rgba(255, 255, 255, 0.05); + background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)); border: 1px solid rgba(255, 255, 255, 0.1); - border-radius: 8px; + border-radius: 10px; color: rgba(255, 255, 255, 0.7); font-size: 11px; font-weight: 500; cursor: pointer; - transition: all 0.3s ease; + transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); white-space: nowrap; } @@ -1358,21 +1456,31 @@ body { background: rgba(29, 185, 84, 0.1); border-color: rgba(29, 185, 84, 0.3); color: #1ed760; + transform: translateY(-1px); } .preset-button.active { - background: rgba(29, 185, 84, 0.15); + background: linear-gradient(135deg, + rgba(29, 185, 84, 0.2) 0%, + rgba(30, 215, 96, 0.12) 100%); border-color: rgba(29, 185, 84, 0.5); color: #1ed760; - font-weight: 600; + font-weight: 700; + box-shadow: 0 4px 12px rgba(29, 185, 84, 0.15); } +/* Quality tier cards - upgraded inner cards */ .quality-tier { margin-bottom: 16px; padding: 12px; - background: rgba(255, 255, 255, 0.03); + background: linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01)); border: 1px solid rgba(255, 255, 255, 0.08); - border-radius: 8px; + border-radius: 12px; + transition: all 0.2s ease; +} + +.quality-tier:hover { + border-color: rgba(255, 255, 255, 0.12); } .quality-tier-header { @@ -1389,7 +1497,7 @@ body { } .quality-tier-priority { - color: rgba(255, 255, 255, 0.5); + color: rgba(255, 255, 255, 0.45); font-size: 10px; font-weight: 500; } @@ -1401,7 +1509,7 @@ body { } .quality-tier-sliders.disabled { - opacity: 0.4; + opacity: 0.35; pointer-events: none; } @@ -1436,7 +1544,7 @@ body { .range-slider::-webkit-slider-track { width: 100%; height: 4px; - background: rgba(255, 255, 255, 0.1); + background: rgba(255, 255, 255, 0.08); border-radius: 2px; } @@ -1446,22 +1554,23 @@ body { width: 16px; height: 16px; border-radius: 50%; - background: #1ed760; + background: linear-gradient(135deg, #1db954, #1ed760); cursor: pointer; pointer-events: all; border: 2px solid #0a0a0a; - box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3); + box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4), 0 0 8px rgba(29, 185, 84, 0.2); } .range-slider::-webkit-slider-thumb:hover { - background: #1fdf64; - transform: scale(1.1); + background: linear-gradient(135deg, #1ed760, #22e968); + transform: scale(1.15); + box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4), 0 0 12px rgba(29, 185, 84, 0.3); } .range-slider::-moz-range-track { width: 100%; height: 4px; - background: rgba(255, 255, 255, 0.1); + background: rgba(255, 255, 255, 0.08); border-radius: 2px; } @@ -1469,16 +1578,17 @@ body { width: 16px; height: 16px; border-radius: 50%; - background: #1ed760; + background: linear-gradient(135deg, #1db954, #1ed760); cursor: pointer; pointer-events: all; border: 2px solid #0a0a0a; - box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3); + box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4), 0 0 8px rgba(29, 185, 84, 0.2); } .range-slider::-moz-range-thumb:hover { - background: #1fdf64; - transform: scale(1.1); + background: linear-gradient(135deg, #1ed760, #22e968); + transform: scale(1.15); + box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4), 0 0 12px rgba(29, 185, 84, 0.3); } .range-slider-track { @@ -1486,7 +1596,7 @@ body { top: 18px; width: 100%; height: 4px; - background: rgba(29, 185, 84, 0.3); + background: rgba(29, 185, 84, 0.25); border-radius: 2px; pointer-events: none; } @@ -1496,7 +1606,7 @@ body { justify-content: space-between; align-items: center; margin-top: 8px; - color: rgba(255, 255, 255, 0.6); + color: rgba(255, 255, 255, 0.5); font-size: 11px; font-weight: 500; } @@ -1504,7 +1614,7 @@ body { .slider-values span:first-child, .slider-values span:last-child { color: #1ed760; - font-weight: 600; + font-weight: 700; } /* ===== END QUALITY PROFILE STYLES ===== */ @@ -1512,40 +1622,47 @@ body { .test-button { background: rgba(29, 185, 84, 0.1); color: #1ed760; - border: 1px solid rgba(29, 185, 84, 0.3); + border: 1px solid rgba(29, 185, 84, 0.25); } .test-button:hover { background: rgba(29, 185, 84, 0.2); border-color: rgba(29, 185, 84, 0.5); + transform: translateY(-1px); + box-shadow: 0 4px 12px rgba(29, 185, 84, 0.15); } .detect-button { background: rgba(255, 255, 255, 0.05); color: rgba(255, 255, 255, 0.8); - border: 1px solid rgba(255, 255, 255, 0.2); + border: 1px solid rgba(255, 255, 255, 0.15); } .detect-button:hover { background: rgba(255, 255, 255, 0.1); color: #ffffff; + transform: translateY(-1px); + box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3); } -/* Save Button */ +/* Save Button - gradient with glow */ .save-button { - background: #1db954; + background: linear-gradient(135deg, #1db954, #1ed760); border: none; - border-radius: 22px; + border-radius: 16px; color: #000000; font-size: 14px; - font-weight: bold; + font-weight: 700; padding: 12px 32px; cursor: pointer; - transition: all 0.2s ease; + transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); + box-shadow: 0 4px 16px rgba(29, 185, 84, 0.3); } .save-button:hover { - background: #1ed760; + background: linear-gradient(135deg, #1ed760, #22e968); + transform: translateY(-1px); + box-shadow: 0 6px 24px rgba(29, 185, 84, 0.4); } .settings-actions { @@ -1568,51 +1685,50 @@ body { padding: 10px 16px; background: rgba(255, 255, 255, 0.05); color: rgba(255, 255, 255, 0.8); - border: 1px solid rgba(255, 255, 255, 0.2); - border-radius: 8px; + border: 1px solid rgba(255, 255, 255, 0.15); + border-radius: 10px; font-size: 14px; cursor: pointer; white-space: nowrap; + transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); } .browse-button:hover { background: rgba(255, 255, 255, 0.1); color: #ffffff; + transform: translateY(-1px); + box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3); } +/* Auth Button - gradient */ .auth-button { - background: #1db954; - color: #ffffff; + background: linear-gradient(135deg, #1db954, #1ed760); + color: #000000; padding: 10px 20px; border: none; - border-radius: 8px; - font-size: 14px; - font-weight: 500; - cursor: pointer; -} - -.auth-button { - background: #1db954; - color: #ffffff; - padding: 10px 20px; - border: none; - border-radius: 15px; + border-radius: 12px; font-size: 11px; - font-weight: 500; + font-weight: 700; cursor: pointer; margin-top: 8px; + transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); + box-shadow: 0 4px 12px rgba(29, 185, 84, 0.2); } .auth-button:hover { - background: #1ed760; + background: linear-gradient(135deg, #1ed760, #22e968); + transform: translateY(-1px); + box-shadow: 0 6px 16px rgba(29, 185, 84, 0.35); } .tidal-title+* .auth-button { - background: #ff6600; + background: linear-gradient(135deg, #ff6600, #ff8833); + box-shadow: 0 4px 12px rgba(255, 102, 0, 0.2); } .tidal-title+* .auth-button:hover { - background: #e55500; + background: linear-gradient(135deg, #ff8833, #ff9944); + box-shadow: 0 6px 16px rgba(255, 102, 0, 0.35); } /* API Test Buttons */ @@ -1643,35 +1759,38 @@ body { .export-button, .import-button { padding: 10px 20px; - border-radius: 8px; + border-radius: 10px; font-size: 14px; - font-weight: 500; + font-weight: 600; cursor: pointer; - transition: all 0.2s ease; + transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); border: none; } .reset-button { background: rgba(255, 107, 107, 0.1); color: #ff6b6b; - border: 1px solid rgba(255, 107, 107, 0.3); + border: 1px solid rgba(255, 107, 107, 0.25); } .reset-button:hover { background: rgba(255, 107, 107, 0.2); + transform: translateY(-1px); + box-shadow: 0 4px 12px rgba(255, 107, 107, 0.15); } .export-button, .import-button { background: rgba(255, 255, 255, 0.05); color: rgba(255, 255, 255, 0.8); - border: 1px solid rgba(255, 255, 255, 0.2); + border: 1px solid rgba(255, 255, 255, 0.15); } .export-button:hover, .import-button:hover { background: rgba(255, 255, 255, 0.1); color: #ffffff; + transform: translateY(-1px); } .cancel-button {