From 3bfe8fc9b6350d3e7912db82e437a048921eed0f Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Wed, 24 Jun 2026 17:22:48 -0400 Subject: style(theme-studio): unify nav dropdowns to gold-on-dark The view, language, and preview selects share a navsel class matching their flanking arrow buttons (dark bg, gold bold-mono text), so each select and its arrows read as one control. --- scripts/theme-studio/styles.css | 3 +++ scripts/theme-studio/theme-studio.html | 9 ++++++--- scripts/theme-studio/theme-studio.template.html | 6 +++--- 3 files changed, 12 insertions(+), 6 deletions(-) (limited to 'scripts/theme-studio') diff --git a/scripts/theme-studio/styles.css b/scripts/theme-studio/styles.css index 5ad5eeb18..a32dbafd1 100644 --- a/scripts/theme-studio/styles.css +++ b/scripts/theme-studio/styles.css @@ -34,6 +34,9 @@ input.detailcheck{width:15px;height:15px;cursor:pointer} table.leg th:hover{color:#e8bd30} select.chip{appearance:none;border:1px solid #00000060;border-radius:5px;padding:5px 10px;font:bold 14px monospace;width:160px;cursor:pointer} + /* nav-flanked dropdowns (view, language, preview): match the flanking arrow buttons + (same dark bg, gold text) so the select and its buttons read as one control. */ + select.navsel,select.navsel option{background:#1f1c19;color:#e8bd30} /* Prev/next arrows flanking the view dropdown: step the selection without reopening it. Scoped under .pkgbar to outweigh the generic `.pkgbar button` rule above. */ .pkgbar .viewnav{appearance:none;border:1px solid #00000060;border-radius:5px;background:#1f1c19;color:#e8bd30;font:bold 16px monospace;width:26px;height:30px;padding:0;margin:0;cursor:pointer;vertical-align:middle} diff --git a/scripts/theme-studio/theme-studio.html b/scripts/theme-studio/theme-studio.html index 234f3b7c7..7c077610d 100644 --- a/scripts/theme-studio/theme-studio.html +++ b/scripts/theme-studio/theme-studio.html @@ -36,6 +36,9 @@ input.detailcheck{width:15px;height:15px;cursor:pointer} table.leg th:hover{color:#e8bd30} select.chip{appearance:none;border:1px solid #00000060;border-radius:5px;padding:5px 10px;font:bold 14px monospace;width:160px;cursor:pointer} + /* nav-flanked dropdowns (view, language, preview): match the flanking arrow buttons + (same dark bg, gold text) so the select and its buttons read as one control. */ + select.navsel,select.navsel option{background:#1f1c19;color:#e8bd30} /* Prev/next arrows flanking the view dropdown: step the selection without reopening it. Scoped under .pkgbar to outweigh the generic `.pkgbar button` rule above. */ .pkgbar .viewnav{appearance:none;border:1px solid #00000060;border-radius:5px;background:#1f1c19;color:#e8bd30;font:bold 16px monospace;width:26px;height:30px;padding:0;margin:0;cursor:pointer;vertical-align:middle} @@ -248,7 +251,7 @@

assignment

-
+
@@ -256,7 +259,7 @@
elements △fg △bg △styleboxcontrastexample
-
+

  
@@ -285,7 +288,7 @@
face △fg △bg △styleboxcontrast △
-
+
diff --git a/scripts/theme-studio/theme-studio.template.html b/scripts/theme-studio/theme-studio.template.html index 254a3a495..79aaaa198 100644 --- a/scripts/theme-studio/theme-studio.template.html +++ b/scripts/theme-studio/theme-studio.template.html @@ -58,7 +58,7 @@ STYLES_CSS

assignment

-
+
@@ -66,7 +66,7 @@ STYLES_CSS
elements △fg △bg △styleboxcontrastexample
-
+

  
@@ -95,7 +95,7 @@ STYLES_CSS
face △fg △bg △styleboxcontrast △
-
+
-- cgit v1.2.3