From e0275baa25ab8f2c31b78f5596b8c7fb1f2b6867 Mon Sep 17 00:00:00 2001 From: Ben McClelland Date: Sat, 7 Mar 2026 21:33:21 -0800 Subject: [PATCH] fix: webui move explorer styling to theme.css --- webui/web/assets/css/theme.css | 11 ++++++----- webui/web/explorer.html | 27 +++++++++++---------------- 2 files changed, 17 insertions(+), 21 deletions(-) diff --git a/webui/web/assets/css/theme.css b/webui/web/assets/css/theme.css index d024abce..7fb36bed 100644 --- a/webui/web/assets/css/theme.css +++ b/webui/web/assets/css/theme.css @@ -16,7 +16,6 @@ /* * theme.css — Global shared styles for all pages. - * Page-specific styles remain inline in their respective HTML files. */ body { @@ -35,13 +34,11 @@ body { border-left: 4px solid #0076CD; } -/* Modal */ .modal-backdrop { background: rgba(0, 0, 0, 0.5); backdrop-filter: blur(4px); } -/* Custom Dropdown */ .custom-dropdown { display: none; position: absolute; @@ -71,7 +68,7 @@ body { background-color: rgba(0, 118, 205, 0.1); color: #0076CD; } -/* Dropup variant — opens upward */ + .custom-dropdown.dropup { bottom: 100%; top: auto; @@ -79,7 +76,6 @@ body { margin-bottom: 4px; } -/* Toggle Switch */ .toggle-switch { position: relative; display: inline-block; @@ -192,3 +188,8 @@ input:checked + .toggle-slider:before { .advanced-options.show { max-height: 500px; } + +/* Explorer */ +.drop-zone-active { background: rgba(0, 118, 205, 0.1); border-color: #0076CD; } +.file-row:hover { background: #f9fafb; } +.file-row.selected { background: #e6f3fa; } diff --git a/webui/web/explorer.html b/webui/web/explorer.html index ed4b62eb..fc6a2810 100644 --- a/webui/web/explorer.html +++ b/webui/web/explorer.html @@ -25,11 +25,6 @@ under the License. - @@ -278,7 +273,7 @@ under the License.