1
0
Files
breadcrumb-the-shire/web/css/components/app-list-tabs.css
fs d9f07dcd63 fix: web/ quick wins — CSS cleanup, ARIA tabs, and file header comments
CSS:
- Remove duplicate li::before block in app-search.css
- Fix typo: search-reuslt → search-result in app-search.css
- Remove commented-out CSS rules in app-flash.css
- Add descriptive header comment to all 27 CSS component files

JS:
- Complete WAI-ARIA Tabs pattern: generate IDs, add aria-controls on
  tab buttons and aria-labelledby on tab panels (app-tabs.js)
- Add JSDoc header comments to ~33 JS files (core + components)
- Add explanatory block comment to app-boot.js (why classic IIFE)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-13 22:21:37 +01:00

35 lines
775 B
CSS

@layer components {
/* List page tab bar — horizontal filter tabs above data grids. */
.app-list-tabs {
display: flex;
flex-wrap: wrap;
margin-bottom: var(--app-spacing);
border-bottom: 1px solid var(--list-tabs-border);
}
.app-list-tabs button,
.app-list-tabs a {
background: transparent;
border: 0;
padding: 5px 10px 5px 10px;
color: var(--list-tabs-muted);
cursor: pointer;
font-weight: 500;
border-bottom: 2px solid transparent;
text-decoration: none;
}
.app-list-tabs button:hover,
.app-list-tabs button:focus-visible,
.app-list-tabs a:hover,
.app-list-tabs a:focus-visible {
color: var(--app-color);
}
.app-list-tabs button.is-active,
.app-list-tabs a.is-active {
color: var(--app-color);
border-color: var(--list-tabs-active);
}
}