1
0
mirror of https://github.com/sakofchit/system.css.git synced 2026-05-05 06:01:22 +09:00
Commit Graph

13 Commits

Author SHA1 Message Date
Patrick H. Lauke
de788827d7 Associate text field labels correctly with form fields 2022-08-12 20:47:56 +01:00
Patrick H. Lauke
20ecb5e17b Rework dropdown menus as <details>/<summary>
the hidden checkbox approach is brittle and not accessible (wrapping the entire checkbox and menu inside a `<label>`, not easy to add `:focus` style, etc)
2022-08-12 20:45:08 +01:00
Patrick H. Lauke
29ff21628e Give standard dialog a proper <h1> 2022-08-12 20:27:48 +01:00
Patrick H. Lauke
397e75f9ed Refactor text styles
the `vertical-align` wasn't doing anything (since it was broken originally anyway), so removed it. grouped common styles together.
2022-08-12 20:26:30 +01:00
Patrick H. Lauke
496de34c1e Use <h1> for modal dialog box heading, tweak styles
add explicit `font-weight: normal` to `.modal-text` and `.alert-text`, so that it overrides the otherwise bold look of the `<h1>`
2022-08-12 19:55:33 +01:00
Patrick H. Lauke
9efcaea9f6 Correct vertical-align value
`vertical-align: center` is invalid. change to `vertical-align: middle`
2022-08-12 19:53:59 +01:00
Patrick H. Lauke
e12c8b0593 Use aria-label for close/resize buttons
add it where the buttons are currently unlabelled, remove the hidden `<span>` for those that have that - `aria-label` is more solid/consistent choice
2022-08-12 10:19:23 +01:00
sakofchit
c3addf1651 automate npm 2022-08-11 00:03:42 -04:00
sakofchit
ff3b7953f3 update readme 2022-08-10 16:59:08 -04:00
sakofchit
049b12eb34 add checkbox + dialogs 2022-08-10 14:50:26 -04:00
sakofchit
67aebcf6bf added dialogs/alerts 2022-08-08 01:29:01 -04:00
sakofchit
274863f960 first 2022-08-05 16:14:06 -04:00
sakofchit
6934e67217 first 2022-08-05 16:14:02 -04:00