From d78befe62283ebacaa258853dec493be1167f68b Mon Sep 17 00:00:00 2001 From: Pontoporeia Date: Thu, 2 Apr 2026 18:01:27 +0200 Subject: [PATCH] restore TODO.md: recover full historical TODO from 9108c4069d82, append CSS color variables section (2026-04-02) --- TODO.md | 1403 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 1403 insertions(+) diff --git a/TODO.md b/TODO.md index d936e8f..d7d882a 100644 --- a/TODO.md +++ b/TODO.md @@ -1,8 +1,1411 @@ # TODO +## Template Simplification — Remove Custom Classes Where Semantic HTML Suffices + +### CSS class audit: replace with semantic selectors +- [ ] **`admin.css`**: Replace `.admin-main` with `.admin-body main` — only one `
` per page +- [ ] **`admin.css`**: Replace `.admin-page-title` with `.admin-body main > h1` — always the first `h1` in `
` +- [ ] **`admin.css`**: Replace `.admin-alert` / `.admin-alert--error` / `.admin-alert--success` with `[role="alert"]` or `.admin-body main > .alert` using `data-type="error|success"` attribute instead of modifier classes +- [ ] **`admin.css`**: Replace `.admin-form-row` with `.admin-body form > div` or `.admin-body form > .row` — form rows are always direct `
` children of `
` +- [ ] **`admin.css`**: Replace `.admin-label` with `.admin-body form label` — every label in admin forms +- [ ] **`admin.css`**: Replace `.admin-input` / `.admin-select` / `.admin-textarea` with `.admin-body form input[type="text"]`, `.admin-body form select`, `.admin-body form textarea` — leverage native element selectors +- [ ] **`admin.css`**: Replace `.admin-hint` with `.admin-body form small` — use `` instead of `

` +- [ ] **`admin.css`**: Replace `.admin-table` with `.admin-body table` — only one table per admin page +- [ ] **`admin.css`**: Replace `.admin-fieldset` / `.admin-fieldset-legend` with `.admin-body fieldset` / `.admin-body legend` +- [ ] **`main.css`**: Replace `.card__caption` with `.home-body .cards-container li p` or target `li > a > p` directly +- [ ] **`main.css`**: Replace `.card__media` with `.home-body figure` — already uses `

` elements +- [ ] **`tfe.css`**: Replace `.tfe-meta-list` selectors with `article dl`, `article dt`, `article dd` — already using `
` inside `
` +- [ ] **`tfe.css`**: Replace `.tfe-media-block` with `aside figure` — already wrapped in `
` inside `