Changeset 0804d61 in Klonkt


Ignore:
Timestamp:
06/19/2026 08:41:37 AM (3 months ago)
Author:
roboburr <roboburr@…>
Branches:
main
Children:
323abb0
Parents:
a474bd2
Message:

ui: settings forms cleaner — stacked labels + full-width inputs

Bare <label>s inside a .set-form now inherit the clean .set-field style
(label text above, input 100% wide, consistent padding/focus). Fixes the
messy SMTP card (uneven input widths) and the Google form at the same
time. set-form max-width 460px for readability; .set-actions as button row.

Co-Authored-By: Claude <noreply@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/views/pages/admin-settings.ejs

    ra474bd2 r0804d61  
    248248.set-google-guide code { background: var(--paper-2); padding: 0.05rem 0.35rem; border-radius: 4px; font-size: 0.85em; }
    249249.set-google-guide .set-help { padding: 0 0.85rem; }
    250 .set-form { display: flex; flex-direction: column; gap: 1rem; }
     250.set-form { display: flex; flex-direction: column; gap: 1rem; max-width: 460px; }
     251/* Kale <label>'s in een set-form krijgen dezelfde nette stacked-stijl als .set-field:
     252   label-tekst boven, input full-width. (.set-toggle = checkbox-rij, uitgezonderd.) */
     253.set-form > label:not(.set-toggle) { display: flex; flex-direction: column; gap: 0.3rem; }
     254.set-form > label:not(.set-toggle) > span { font-size: 0.8rem; font-weight: 600; color: var(--ink-soft, var(--ink-muted)); }
     255.set-form > label:not(.set-toggle) > span small { font-weight: 400; }
     256.set-form > label:not(.set-toggle) input {
     257  width: 100%; box-sizing: border-box; padding: 0.55rem 0.7rem;
     258  border: 1px solid var(--rule); border-radius: 6px; background: var(--paper); color: var(--ink);
     259  font: inherit; font-size: 0.95rem;
     260}
     261.set-form > label:not(.set-toggle) input:focus { outline: 2px solid var(--accent); outline-offset: -1px; border-color: var(--accent); }
     262.set-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 0.25rem; }
    251263.set-opt { display: flex; gap: 0.75rem; align-items: flex-start; padding: 0.85rem 1rem; border: 1px solid var(--rule); border-radius: 8px; cursor: pointer; background: var(--paper); }
    252264.set-opt:has(input:checked) { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
Note: See TracChangeset for help on using the changeset viewer.