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

83 lines
1.6 KiB
CSS

@layer components {
/* Page editor — Editor.js integration styles for CMS content editing. */
.app-page-header {
display: flex;
align-items: center;
justify-content: space-between;
gap: var(--app-spacing);
margin-bottom: var(--app-spacing);
}
.app-page-header > div {
display: flex;
align-items: center;
gap: var(--app-spacing);
}
.app-page-header > div > * {
margin-bottom: 0;
width: auto;
}
.app-page-header button,
.app-page-header input {
margin-bottom: 0;
width: auto;
}
.app-page-header h1 {
margin: 0;
}
label.app-field > span {
display: block;
}
label.app-field > small {
display: block;
}
.page-editor-actions {
margin-top: var(--app-spacing);
display: flex;
gap: var(--app-spacing);
justify-content: flex-end;
}
.page-editor[data-edit-mode="view"] .page-editor-actions {
display: none;
}
.page-editor[data-edit-mode="view"] .ce-toolbar,
.page-editor[data-edit-mode="view"] .ce-inline-toolbar,
.page-editor[data-edit-mode="view"] .ce-popover {
display: none !important;
}
.ce-block__content,
.ce-toolbar__content {
max-width: 90% !important;
}
.ce-editorjsColumns_wrapper .ce-toolbar__content,
.ce-editorjsColumns_wrapper .ce-block__content {
max-width: 100% !important;
}
.ce-popover-item[data-item-name="columns"] svg {
width: 14px;
height: 14px;
}
.app-details-aside-section button {
margin-bottom: 0;
}
@media (min-width: 968px) {
.app-page-action-card {
position: sticky;
top: calc(var(--app-spacing) * 4);
}
}
}