web: Give form controls one consistent style
CI / Check (push) Successful in 4m30s

Selects and text fields kept the browser's own look, so they didn't
line up with the buttons or each other. They now share the buttons'
padding, border and radius; filter labels sit above their controls and
wrap into rows on a phone, and the notification toggle lines up with
its text.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
jackos1998andClaude Opus 5.5 committed 2026-11-23 14:12:18 +00:00
1 parent 40a8be0da4
commit f1a1532e6c
1 file changed
+40 -15
+40 -15
View File
@@ -168,13 +168,20 @@ pre.log {
margin-top: 10px;
}
button {
button,
input,
select {
font: inherit;
padding: 6px 14px;
line-height: 1.25;
padding: 6px 10px;
border-radius: 6px;
border: 1px solid var(--border);
background: var(--surface);
color: var(--text);
}
button {
padding: 6px 14px;
cursor: pointer;
}
@@ -190,7 +197,8 @@ button.deny {
}
button.quiet {
padding: 2px 10px;
padding: 3px 10px;
font-size: 0.9rem;
}
table {
@@ -217,15 +225,40 @@ code {
flex-wrap: wrap;
gap: 8px 12px;
align-items: end;
margin-bottom: 16px;
}
.filters label {
display: flex;
flex-direction: column;
gap: 2px;
flex: 1 1 8rem;
font-size: 0.85rem;
color: var(--muted);
}
.filters label:has(input) {
flex: 3 1 14rem;
}
.filters select,
.filters input {
font: inherit;
max-width: 100%;
width: 100%;
font-size: 1rem;
}
#push {
margin-bottom: 12px;
.filters a {
padding: 6px 4px;
line-height: 1.25;
border: 1px solid transparent;
}
#push p {
display: flex;
flex-wrap: wrap;
gap: 8px;
align-items: center;
margin: 0 0 12px;
color: var(--muted);
}
@@ -323,11 +356,3 @@ table.log .label {
color: var(--muted);
font-size: 0.85rem;
}
.filters select {
font: inherit;
}
.filters {
margin-bottom: 16px;
}