From a5ee9b162fccdad21b3113d99c3385dfee2eeda0 Mon Sep 17 00:00:00 2001 From: Pontoporeia Date: Wed, 1 Apr 2026 12:40:52 +0200 Subject: [PATCH] Replace site-search BEM classes with semantic header form[role="search"] selectors MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit CSS: .site-search → header form[role="search"], .site-search__icon → header form[role="search"] svg, .site-search__input → header form[role="search"] input, .site-search__input::placeholder → header form[role="search"] input::placeholder HTML: Removed class="site-search", class="site-search__icon", and class="site-search__input" from header.php and search-bar.php. The form already uses role="search" and contains a single svg + input, so the semantic selectors are unambiguous. --- TODO.md | 8 ++++---- public/assets/css/common.css | 8 ++++---- templates/header.php | 5 ++--- templates/search-bar.php | 5 ++--- 4 files changed, 12 insertions(+), 14 deletions(-) diff --git a/TODO.md b/TODO.md index d10cffd..d2be754 100644 --- a/TODO.md +++ b/TODO.md @@ -18,9 +18,9 @@ - [ ] **`tfe.css`**: Replace `.tfe-media-block` with `aside figure` — already wrapped in `
` inside `