Files
breadcrumb-the-shire/web/css/components/app-dashboard-titlebar.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

59 lines
1.2 KiB
CSS

@layer components {
/* Dashboard title bar — welcome heading with tenant context. */
.app-dashboard-titlebar {
display: flex;
align-items: center;
justify-content: space-between;
flex-wrap: wrap;
gap: 10px;
margin-block-end: var(--app-spacing);
}
.app-dashboard-titlebar h1,
.app-dashboard-titlebar h2,
.app-dashboard-titlebar h3,
.app-dashboard-titlebar h4,
.app-dashboard-titlebar h5,
.app-dashboard-titlebar h6 {
margin: 0;
}
.app-dashboard-titlebar button,
.app-dashboard-titlebar [role="button"] {
--app-button-padding-horizontal: 10px;
--app-button-padding-vertical: 6px;
font-size: 13px;
margin: 0;
}
.app-dashboard-titlebar-actions {
display: flex;
align-items: center;
gap: 10px;
white-space: nowrap;
}
.app-dashboard-titlebar h1 i {
background: var(--app-muted-border-color);
width: 35px;
height: 29px;
font-size: 15px;
border-radius: var(--app-border-radius);
display: inline-flex;
align-items: center;
justify-content: center;
color: var(--app-contrast);
}
.app-dashboard-titlebar h1:has(i) {
display: flex;
align-items: center;
gap: 7px;
line-height: 1;
}
.app-dashboard-titlebar h1 a:hover i {
background: var(--app-border);
}
}