Files
breadcrumb-the-shire/web/css/components/app-page-editor.css

83 lines
1.6 KiB
CSS
Raw Normal View History

@layer components {
/* Page editor — Editor.js integration styles for CMS content editing. */
2026-03-12 14:09:06 +01:00
.app-page-header {
2026-02-04 23:31:53 +01:00
display: flex;
align-items: center;
2026-03-12 14:09:06 +01:00
justify-content: space-between;
2026-02-04 23:31:53 +01:00
gap: var(--app-spacing);
2026-03-12 14:09:06 +01:00
margin-bottom: var(--app-spacing);
}
2026-02-04 23:31:53 +01:00
2026-03-12 14:09:06 +01:00
.app-page-header > div {
display: flex;
align-items: center;
gap: var(--app-spacing);
}
2026-02-04 23:31:53 +01:00
2026-03-12 14:09:06 +01:00
.app-page-header > div > * {
margin-bottom: 0;
width: auto;
}
2026-02-04 23:31:53 +01:00
2026-03-12 14:09:06 +01:00
.app-page-header button,
.app-page-header input {
margin-bottom: 0;
width: auto;
}
2026-02-04 23:31:53 +01:00
2026-03-12 14:09:06 +01:00
.app-page-header h1 {
margin: 0;
}
2026-02-04 23:31:53 +01:00
2026-03-12 14:09:06 +01:00
label.app-field > span {
2026-02-04 23:31:53 +01:00
display: block;
2026-03-12 14:09:06 +01:00
}
2026-02-04 23:31:53 +01:00
2026-03-12 14:09:06 +01:00
label.app-field > small {
2026-02-04 23:31:53 +01:00
display: block;
2026-03-12 14:09:06 +01:00
}
2026-02-04 23:31:53 +01:00
2026-03-12 14:09:06 +01:00
.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 {
2026-02-04 23:31:53 +01:00
width: 14px;
height: 14px;
2026-03-12 14:09:06 +01:00
}
.app-details-aside-section button {
margin-bottom: 0;
}
@media (min-width: 968px) {
.app-page-action-card {
position: sticky;
top: calc(var(--app-spacing) * 4);
}
}
}