aboutsummaryrefslogtreecommitdiff
path: root/scripts
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
commiteffd41cfec8d051071131197ffb9a5cca479c55d (patch)
tree6e68a1aa9b0c728734d8de7914db2ce82eeda8cd /scripts
parent5551f9e9bccc68dad61edf5d3500cd6149abe05d (diff)
downloaddotemacs-effd41cfec8d051071131197ffb9a5cca479c55d.tar.gz
dotemacs-effd41cfec8d051071131197ffb9a5cca479c55d.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')
-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 a90c649a..6a2d08d9 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 84c9ea59..34c3df70 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. */