From fe3e0a5ff6d74e9245c00be32e2506ed2df22b51 Mon Sep 17 00:00:00 2001 From: erdgeist Date: Mon, 10 Aug 2026 20:30:19 +0200 Subject: Fix three admin.css defects .action_button's font: inherit reset the font-weight: bold above it and the line-height: 1.2 in the other .action_button rule; font-family and font-size were what it was for. Buttons render bold again and at the intended height. .link_icon_button:hover painted --on-solid, a fixed white, onto a fill of --text -- an invisible glyph. --surface is what every other hover onto --text uses. Icon tiles in action_item carry the border and the disabled variant is the one without. The raised fill is 3% off the background where the border is 13%, so the border was carrying the distinction while the disabled state was the only thing outlined. --- public/stylesheets/admin.css | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'public/stylesheets') diff --git a/public/stylesheets/admin.css b/public/stylesheets/admin.css index b8a01112..716eb9e1 100644 --- a/public/stylesheets/admin.css +++ b/public/stylesheets/admin.css @@ -965,7 +965,7 @@ table.revisions_table tr:hover { align-items: center; justify-content: center; padding: 0.3rem; - border: 1px solid transparent; + border: 1px solid var(--border); border-radius: 2px; background-color: var(--surface-raised); color: var(--text); @@ -990,7 +990,7 @@ table.revisions_table tr:hover { .action_item .disabled_action { color: var(--text-muted); background-color: transparent; - border-color: var(--border); + border-color: transparent; cursor: not-allowed; } @@ -1342,13 +1342,15 @@ form.button_to button[type="submit"] { border: 1px solid var(--border); border-radius: 2px; background-color: var(--surface); + -webkit-appearance: none; + appearance: none; color: var(--text-heavy); line-height: 1; text-decoration: none; } .link_icon_button:hover { - color: var(--on-solid); + color: var(--surface); background-color: var(--text); border-color: var(--text); } @@ -1612,7 +1614,8 @@ div#admin_layout { margin-bottom: 1rem; background: none; cursor: pointer; - font: inherit; + font-family: inherit; + font-size: inherit; } #admin_layout a.action_button:hover, -- cgit v1.3