aboutsummaryrefslogtreecommitdiff
path: root/scripts/theme-studio
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-06-16 06:40:23 -0500
committerCraig Jennings <c@cjennings.net>2026-06-16 06:40:23 -0500
commit39555881a391abf42a55103164316ea21efab2be (patch)
tree4e347e93ca06f92a078ff3e3ee399fcd13d4cb2e /scripts/theme-studio
parent84de4c57148d49a26f01f36357416692671daea8 (diff)
downloaddotemacs-39555881a391abf42a55103164316ea21efab2be.tar.gz
dotemacs-39555881a391abf42a55103164316ea21efab2be.zip
fix(theme-studio): scope the view-nav arrow style under .pkgbar
The generic .pkgbar button rule outweighed my .viewnav rule on specificity, so the arrows rendered at default button size. Scoping the rule under .pkgbar wins the cascade and restores the compact arrow size.
Diffstat (limited to 'scripts/theme-studio')
-rw-r--r--scripts/theme-studio/styles.css7
-rw-r--r--scripts/theme-studio/theme-studio.html7
2 files changed, 8 insertions, 6 deletions
diff --git a/scripts/theme-studio/styles.css b/scripts/theme-studio/styles.css
index a90c649ab..6a2d08d9d 100644
--- a/scripts/theme-studio/styles.css
+++ b/scripts/theme-studio/styles.css
@@ -23,9 +23,10 @@
.stylecluster .sbtn{margin:0}
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}
- /* Prev/next arrows flanking the view dropdown: step the selection without reopening it. */
- .viewnav{appearance:none;border:1px solid #00000060;border-radius:5px;background:#1f1c19;color:#e8bd30;font:bold 16px monospace;width:24px;height:30px;padding:0;margin:0 4px;cursor:pointer;vertical-align:middle}
- .viewnav:hover{border-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}
/* 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. */
diff --git a/scripts/theme-studio/theme-studio.html b/scripts/theme-studio/theme-studio.html
index 84c9ea59e..34c3df70b 100644
--- a/scripts/theme-studio/theme-studio.html
+++ b/scripts/theme-studio/theme-studio.html
@@ -25,9 +25,10 @@
.stylecluster .sbtn{margin:0}
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}
- /* Prev/next arrows flanking the view dropdown: step the selection without reopening it. */
- .viewnav{appearance:none;border:1px solid #00000060;border-radius:5px;background:#1f1c19;color:#e8bd30;font:bold 16px monospace;width:24px;height:30px;padding:0;margin:0 4px;cursor:pointer;vertical-align:middle}
- .viewnav:hover{border-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}
/* 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. */