forked from fa/breadcrumb-the-shire
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>
99 lines
2.2 KiB
CSS
99 lines
2.2 KiB
CSS
@layer components {
|
|
/* Detail page title bar — sticky save/close actions with unsaved-changes indicator. */
|
|
.app-details-titlebar {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
flex-wrap: wrap;
|
|
gap: 10px;
|
|
margin-bottom: calc(var(--app-spacing) * 2);
|
|
}
|
|
|
|
.app-details-titlebar h1,
|
|
.app-details-titlebar h2,
|
|
.app-details-titlebar h3,
|
|
.app-details-titlebar h4,
|
|
.app-details-titlebar h5,
|
|
.app-details-titlebar h6 {
|
|
margin: 0;
|
|
}
|
|
|
|
.app-details-titlebar button,
|
|
.app-details-titlebar [role="button"] {
|
|
--app-button-padding-horizontal: 10px;
|
|
--app-button-padding-vertical: 6px;
|
|
font-size: 13px;
|
|
margin: 0;
|
|
}
|
|
|
|
.app-details-titlebar button i,
|
|
.app-details-titlebar [role="button"] i {
|
|
font-size: 10px;
|
|
}
|
|
|
|
.app-details-titlebar-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.app-details-titlebar .app-detail-unsaved-indicator {
|
|
margin: 0;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.app-details-titlebar h1 i {
|
|
background: var(--app-background-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);
|
|
border: 1px solid var(--app-border);
|
|
color: var(--app-muted-color);
|
|
box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 2px;
|
|
}
|
|
|
|
.app-details-titlebar h1:has(i) {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 7px;
|
|
line-height: 1;
|
|
}
|
|
.app-details-titlebar details.dropdown {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.app-details-titlebar details.dropdown summary:after {
|
|
display: none;
|
|
}
|
|
|
|
.app-details-titlebar details.dropdown li {
|
|
padding: 0 !important;
|
|
margin: 0 !important;
|
|
border-bottom: 1px solid var(--app-border);
|
|
}
|
|
|
|
.app-details-titlebar details.dropdown li:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.app-details-titlebar details.dropdown ul {
|
|
padding: 0 !important;
|
|
margin: 0 !important;
|
|
}
|
|
|
|
.app-details-titlebar details.dropdown li button,
|
|
.app-details-titlebar details.dropdown li [role="button"] {
|
|
margin: 0 !important;
|
|
border: none;
|
|
border-radius: 0;
|
|
width: 100%;
|
|
text-align: left;
|
|
}
|
|
}
|