aboutsummaryrefslogtreecommitdiff
path: root/scripts/theme-studio/styles.css
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-06-24 17:33:56 -0400
committerCraig Jennings <c@cjennings.net>2026-06-24 17:33:56 -0400
commit201a1174ce1e6004087fc53271deac7eac22555a (patch)
treec7f41e31e2a4af369eec5a0b35f351240d410eae /scripts/theme-studio/styles.css
parent3bfe8fc9b6350d3e7912db82e437a048921eed0f (diff)
downloaddotemacs-201a1174ce1e6004087fc53271deac7eac22555a.tar.gz
dotemacs-201a1174ce1e6004087fc53271deac7eac22555a.zip
fix(theme-studio): gold nav arrows for the language and preview dropdowns
The gold viewnav style was scoped to .pkgbar, so the arrows on the .langbar selectors (language and preview) fell back to default gray. I broadened the rule to .langbar and added a dimmed-gold disabled state for the single-pane preview.
Diffstat (limited to 'scripts/theme-studio/styles.css')
-rw-r--r--scripts/theme-studio/styles.css7
1 files changed, 5 insertions, 2 deletions
diff --git a/scripts/theme-studio/styles.css b/scripts/theme-studio/styles.css
index a32dbafd1..0d13f423c 100644
--- a/scripts/theme-studio/styles.css
+++ b/scripts/theme-studio/styles.css
@@ -39,8 +39,11 @@
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}
- .pkgbar .viewnav:hover{border-color:#e8bd30}
+ .pkgbar .viewnav,.langbar .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}
+ .pkgbar .viewnav:hover,.langbar .viewnav:hover{border-color:#e8bd30}
+ /* Disabled nav (a single-pane preview): keep the gold, dim it, don't look clickable. */
+ .viewnav:disabled{opacity:0.5;cursor:default}
+ select.navsel:disabled{opacity:0.5}
/* Non-default marker: a small gold corner flag on a per-face setting cell whose
value differs from the face's default. The size box looks identical default
or not, so the flag is the only at-a-glance cue that a value was changed. */