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
commit40c3a4d6dada84ad0686cdcff11cbe667468cae3 (patch)
tree945ebe3188876692f1e62051e1458874dc57364a /scripts/theme-studio/styles.css
parent28a5d0772b2d836c6cbd66485323a37abe6e263f (diff)
downloaddotemacs-40c3a4d6dada84ad0686cdcff11cbe667468cae3.tar.gz
dotemacs-40c3a4d6dada84ad0686cdcff11cbe667468cae3.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. */