@wordpress/edit-site 5.9.0 → 5.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +4 -0
- package/build/components/add-new-template/{add-custom-generic-template-modal.js → add-custom-generic-template-modal-content.js} +7 -22
- package/build/components/add-new-template/add-custom-generic-template-modal-content.js.map +1 -0
- package/build/components/add-new-template/{add-custom-template-modal.js → add-custom-template-modal-content.js} +32 -27
- package/build/components/add-new-template/add-custom-template-modal-content.js.map +1 -0
- package/build/components/add-new-template/new-template-part.js +8 -2
- package/build/components/add-new-template/new-template-part.js.map +1 -1
- package/build/components/add-new-template/new-template.js +104 -68
- package/build/components/add-new-template/new-template.js.map +1 -1
- package/build/components/app/index.js +8 -2
- package/build/components/app/index.js.map +1 -1
- package/build/components/block-editor/back-button.js +10 -3
- package/build/components/block-editor/back-button.js.map +1 -1
- package/build/components/block-editor/editor-canvas.js +39 -6
- package/build/components/block-editor/editor-canvas.js.map +1 -1
- package/build/components/block-editor/index.js +1 -3
- package/build/components/block-editor/index.js.map +1 -1
- package/build/components/create-template-part-modal/index.js +6 -7
- package/build/components/create-template-part-modal/index.js.map +1 -1
- package/build/components/editor/index.js +20 -11
- package/build/components/editor/index.js.map +1 -1
- package/build/components/editor-canvas-container/index.js +27 -6
- package/build/components/editor-canvas-container/index.js.map +1 -1
- package/build/components/global-styles/block-preview-panel.js +1 -1
- package/build/components/global-styles/block-preview-panel.js.map +1 -1
- package/build/components/global-styles/color-palette-panel.js +14 -3
- package/build/components/global-styles/color-palette-panel.js.map +1 -1
- package/build/components/global-styles/dimensions-panel.js +17 -18
- package/build/components/global-styles/dimensions-panel.js.map +1 -1
- package/build/components/global-styles/gradients-palette-panel.js +14 -3
- package/build/components/global-styles/gradients-palette-panel.js.map +1 -1
- package/build/components/global-styles/root-menu.js +61 -0
- package/build/components/global-styles/root-menu.js.map +1 -0
- package/build/components/global-styles/screen-block-list.js +3 -1
- package/build/components/global-styles/screen-block-list.js.map +1 -1
- package/build/components/global-styles/screen-block.js +235 -7
- package/build/components/global-styles/screen-block.js.map +1 -1
- package/build/components/global-styles/screen-colors.js +9 -26
- package/build/components/global-styles/screen-colors.js.map +1 -1
- package/build/components/global-styles/screen-css.js +20 -15
- package/build/components/global-styles/screen-css.js.map +1 -1
- package/build/components/global-styles/screen-layout.js +4 -17
- package/build/components/global-styles/screen-layout.js.map +1 -1
- package/build/components/global-styles/screen-revisions/index.js +141 -0
- package/build/components/global-styles/screen-revisions/index.js.map +1 -0
- package/build/components/global-styles/screen-revisions/revisions-buttons.js +130 -0
- package/build/components/global-styles/screen-revisions/revisions-buttons.js.map +1 -0
- package/build/components/global-styles/screen-revisions/use-global-styles-revisions.js +121 -0
- package/build/components/global-styles/screen-revisions/use-global-styles-revisions.js.map +1 -0
- package/build/components/global-styles/screen-root.js +6 -6
- package/build/components/global-styles/screen-root.js.map +1 -1
- package/build/components/global-styles/screen-typography-element.js +0 -3
- package/build/components/global-styles/screen-typography-element.js.map +1 -1
- package/build/components/global-styles/screen-typography.js +11 -39
- package/build/components/global-styles/screen-typography.js.map +1 -1
- package/build/components/global-styles/style-variations-container.js +9 -18
- package/build/components/global-styles/style-variations-container.js.map +1 -1
- package/build/components/global-styles/typography-panel.js +7 -11
- package/build/components/global-styles/typography-panel.js.map +1 -1
- package/build/components/global-styles/ui.js +70 -117
- package/build/components/global-styles/ui.js.map +1 -1
- package/build/components/global-styles/variations-panel.js +4 -28
- package/build/components/global-styles/variations-panel.js.map +1 -1
- package/build/components/header-edit-mode/document-actions/index.js +28 -103
- package/build/components/header-edit-mode/document-actions/index.js.map +1 -1
- package/build/components/header-edit-mode/index.js +15 -2
- package/build/components/header-edit-mode/index.js.map +1 -1
- package/build/components/keyboard-shortcuts/register.js +1 -1
- package/build/components/keyboard-shortcuts/register.js.map +1 -1
- package/build/components/layout/hooks.js +54 -0
- package/build/components/layout/hooks.js.map +1 -0
- package/build/components/layout/index.js +57 -104
- package/build/components/layout/index.js.map +1 -1
- package/build/components/list/actions/index.js +5 -2
- package/build/components/list/actions/index.js.map +1 -1
- package/build/components/list/index.js +9 -3
- package/build/components/list/index.js.map +1 -1
- package/build/components/list/table.js +1 -1
- package/build/components/list/table.js.map +1 -1
- package/build/components/plugin-template-setting-panel/index.js +44 -0
- package/build/components/plugin-template-setting-panel/index.js.map +1 -0
- package/build/components/resizable-frame/index.js +242 -0
- package/build/components/resizable-frame/index.js.map +1 -0
- package/build/components/revisions/index.js +96 -0
- package/build/components/revisions/index.js.map +1 -0
- package/build/components/routes/link.js +17 -2
- package/build/components/routes/link.js.map +1 -1
- package/build/components/routes/use-title.js +8 -2
- package/build/components/routes/use-title.js.map +1 -1
- package/build/components/save-button/index.js +31 -6
- package/build/components/save-button/index.js.map +1 -1
- package/build/components/save-hub/index.js +14 -31
- package/build/components/save-hub/index.js.map +1 -1
- package/build/components/save-panel/index.js +20 -7
- package/build/components/save-panel/index.js.map +1 -1
- package/build/components/secondary-sidebar/list-view-sidebar.js +6 -10
- package/build/components/secondary-sidebar/list-view-sidebar.js.map +1 -1
- package/build/components/sidebar/index.js +19 -5
- package/build/components/sidebar/index.js.map +1 -1
- package/build/components/sidebar-edit-mode/global-styles-sidebar.js +9 -3
- package/build/components/sidebar-edit-mode/global-styles-sidebar.js.map +1 -1
- package/build/components/sidebar-edit-mode/index.js +9 -2
- package/build/components/sidebar-edit-mode/index.js.map +1 -1
- package/build/components/sidebar-edit-mode/sidebar-fixed-bottom.js +40 -0
- package/build/components/sidebar-edit-mode/sidebar-fixed-bottom.js.map +1 -0
- package/build/components/sidebar-edit-mode/template-card/index.js +1 -8
- package/build/components/sidebar-edit-mode/template-card/index.js.map +1 -1
- package/build/components/sidebar-edit-mode/{template-card/last-revision.js → template-revisions/index.js} +2 -2
- package/build/components/sidebar-edit-mode/template-revisions/index.js.map +1 -0
- package/build/components/sidebar-navigation-item/index.js +5 -7
- package/build/components/sidebar-navigation-item/index.js.map +1 -1
- package/build/components/sidebar-navigation-screen/index.js +14 -4
- package/build/components/sidebar-navigation-screen/index.js.map +1 -1
- package/build/components/sidebar-navigation-screen-global-styles/index.js +75 -11
- package/build/components/sidebar-navigation-screen-global-styles/index.js.map +1 -1
- package/build/components/sidebar-navigation-screen-main/index.js +31 -23
- package/build/components/sidebar-navigation-screen-main/index.js.map +1 -1
- package/build/components/sidebar-navigation-screen-navigation-item/index.js +1 -1
- package/build/components/sidebar-navigation-screen-navigation-item/index.js.map +1 -1
- package/build/components/sidebar-navigation-screen-navigation-menu/index.js +162 -0
- package/build/components/sidebar-navigation-screen-navigation-menu/index.js.map +1 -0
- package/build/components/sidebar-navigation-screen-navigation-menus/constants.js +17 -0
- package/build/components/sidebar-navigation-screen-navigation-menus/constants.js.map +1 -0
- package/build/components/sidebar-navigation-screen-navigation-menus/index.js +55 -93
- package/build/components/sidebar-navigation-screen-navigation-menus/index.js.map +1 -1
- package/build/components/sidebar-navigation-screen-navigation-menus/leaf-more-menu.js +87 -0
- package/build/components/sidebar-navigation-screen-navigation-menus/leaf-more-menu.js.map +1 -0
- package/build/components/sidebar-navigation-screen-navigation-menus/navigation-menu-content.js +14 -71
- package/build/components/sidebar-navigation-screen-navigation-menus/navigation-menu-content.js.map +1 -1
- package/build/components/sidebar-navigation-screen-navigation-menus/navigator-button.js +53 -0
- package/build/components/sidebar-navigation-screen-navigation-menus/navigator-button.js.map +1 -0
- package/build/components/sidebar-navigation-screen-page/index.js +67 -0
- package/build/components/sidebar-navigation-screen-page/index.js.map +1 -0
- package/build/components/sidebar-navigation-screen-pages/index.js +74 -0
- package/build/components/sidebar-navigation-screen-pages/index.js.map +1 -0
- package/build/components/sidebar-navigation-screen-templates/index.js +39 -12
- package/build/components/sidebar-navigation-screen-templates/index.js.map +1 -1
- package/build/components/sidebar-navigation-subtitle/index.js +18 -0
- package/build/components/sidebar-navigation-subtitle/index.js.map +1 -0
- package/build/components/site-hub/index.js +34 -6
- package/build/components/site-hub/index.js.map +1 -1
- package/build/components/start-template-options/index.js +12 -16
- package/build/components/start-template-options/index.js.map +1 -1
- package/build/components/style-book/index.js +93 -19
- package/build/components/style-book/index.js.map +1 -1
- package/build/components/sync-state-with-url/use-init-edited-entity-from-url.js +8 -2
- package/build/components/sync-state-with-url/use-init-edited-entity-from-url.js.map +1 -1
- package/build/components/sync-state-with-url/use-sync-canvas-mode-with-url.js +9 -4
- package/build/components/sync-state-with-url/use-sync-canvas-mode-with-url.js.map +1 -1
- package/build/components/sync-state-with-url/use-sync-path-with-url.js +17 -3
- package/build/components/sync-state-with-url/use-sync-path-with-url.js.map +1 -1
- package/build/components/use-edited-entity-record/index.js +8 -4
- package/build/components/use-edited-entity-record/index.js.map +1 -1
- package/build/hooks/commands/use-edit-mode-commands.js +105 -0
- package/build/hooks/commands/use-edit-mode-commands.js.map +1 -0
- package/build/hooks/template-part-edit.js +8 -2
- package/build/hooks/template-part-edit.js.map +1 -1
- package/build/index.js +8 -0
- package/build/index.js.map +1 -1
- package/build/store/actions.js +5 -3
- package/build/store/actions.js.map +1 -1
- package/build/utils/is-previewing-theme.js +27 -0
- package/build/utils/is-previewing-theme.js.map +1 -0
- package/build/utils/use-activate-theme.js +46 -0
- package/build/utils/use-activate-theme.js.map +1 -0
- package/build-module/components/add-new-template/{add-custom-generic-template-modal.js → add-custom-generic-template-modal-content.js} +8 -20
- package/build-module/components/add-new-template/add-custom-generic-template-modal-content.js.map +1 -0
- package/build-module/components/add-new-template/{add-custom-template-modal.js → add-custom-template-modal-content.js} +34 -28
- package/build-module/components/add-new-template/add-custom-template-modal-content.js.map +1 -0
- package/build-module/components/add-new-template/new-template-part.js +5 -1
- package/build-module/components/add-new-template/new-template-part.js.map +1 -1
- package/build-module/components/add-new-template/new-template.js +102 -68
- package/build-module/components/add-new-template/new-template.js.map +1 -1
- package/build-module/components/app/index.js +6 -2
- package/build-module/components/app/index.js.map +1 -1
- package/build-module/components/block-editor/back-button.js +6 -1
- package/build-module/components/block-editor/back-button.js.map +1 -1
- package/build-module/components/block-editor/editor-canvas.js +37 -6
- package/build-module/components/block-editor/editor-canvas.js.map +1 -1
- package/build-module/components/block-editor/index.js +1 -3
- package/build-module/components/block-editor/index.js.map +1 -1
- package/build-module/components/create-template-part-modal/index.js +7 -8
- package/build-module/components/create-template-part-modal/index.js.map +1 -1
- package/build-module/components/editor/index.js +18 -11
- package/build-module/components/editor/index.js.map +1 -1
- package/build-module/components/editor-canvas-container/index.js +27 -8
- package/build-module/components/editor-canvas-container/index.js.map +1 -1
- package/build-module/components/global-styles/block-preview-panel.js +1 -1
- package/build-module/components/global-styles/block-preview-panel.js.map +1 -1
- package/build-module/components/global-styles/color-palette-panel.js +13 -3
- package/build-module/components/global-styles/color-palette-panel.js.map +1 -1
- package/build-module/components/global-styles/dimensions-panel.js +17 -18
- package/build-module/components/global-styles/dimensions-panel.js.map +1 -1
- package/build-module/components/global-styles/gradients-palette-panel.js +13 -3
- package/build-module/components/global-styles/gradients-palette-panel.js.map +1 -1
- package/build-module/components/global-styles/root-menu.js +47 -0
- package/build-module/components/global-styles/root-menu.js.map +1 -0
- package/build-module/components/global-styles/screen-block-list.js +4 -2
- package/build-module/components/global-styles/screen-block-list.js.map +1 -1
- package/build-module/components/global-styles/screen-block.js +229 -7
- package/build-module/components/global-styles/screen-block.js.map +1 -1
- package/build-module/components/global-styles/screen-colors.js +9 -25
- package/build-module/components/global-styles/screen-colors.js.map +1 -1
- package/build-module/components/global-styles/screen-css.js +20 -15
- package/build-module/components/global-styles/screen-css.js.map +1 -1
- package/build-module/components/global-styles/screen-layout.js +4 -16
- package/build-module/components/global-styles/screen-layout.js.map +1 -1
- package/build-module/components/global-styles/screen-revisions/index.js +121 -0
- package/build-module/components/global-styles/screen-revisions/index.js.map +1 -0
- package/build-module/components/global-styles/screen-revisions/revisions-buttons.js +118 -0
- package/build-module/components/global-styles/screen-revisions/revisions-buttons.js.map +1 -0
- package/build-module/components/global-styles/screen-revisions/use-global-styles-revisions.js +107 -0
- package/build-module/components/global-styles/screen-revisions/use-global-styles-revisions.js.map +1 -0
- package/build-module/components/global-styles/screen-root.js +6 -6
- package/build-module/components/global-styles/screen-root.js.map +1 -1
- package/build-module/components/global-styles/screen-typography-element.js +0 -3
- package/build-module/components/global-styles/screen-typography-element.js.map +1 -1
- package/build-module/components/global-styles/screen-typography.js +11 -37
- package/build-module/components/global-styles/screen-typography.js.map +1 -1
- package/build-module/components/global-styles/style-variations-container.js +10 -18
- package/build-module/components/global-styles/style-variations-container.js.map +1 -1
- package/build-module/components/global-styles/typography-panel.js +7 -11
- package/build-module/components/global-styles/typography-panel.js.map +1 -1
- package/build-module/components/global-styles/ui.js +71 -115
- package/build-module/components/global-styles/ui.js.map +1 -1
- package/build-module/components/global-styles/variations-panel.js +3 -22
- package/build-module/components/global-styles/variations-panel.js.map +1 -1
- package/build-module/components/header-edit-mode/document-actions/index.js +31 -107
- package/build-module/components/header-edit-mode/document-actions/index.js.map +1 -1
- package/build-module/components/header-edit-mode/index.js +16 -4
- package/build-module/components/header-edit-mode/index.js.map +1 -1
- package/build-module/components/keyboard-shortcuts/register.js +1 -1
- package/build-module/components/keyboard-shortcuts/register.js.map +1 -1
- package/build-module/components/layout/hooks.js +41 -0
- package/build-module/components/layout/hooks.js.map +1 -0
- package/build-module/components/layout/index.js +53 -102
- package/build-module/components/layout/index.js.map +1 -1
- package/build-module/components/list/actions/index.js +6 -3
- package/build-module/components/list/actions/index.js.map +1 -1
- package/build-module/components/list/index.js +5 -1
- package/build-module/components/list/index.js.map +1 -1
- package/build-module/components/list/table.js +1 -1
- package/build-module/components/list/table.js.map +1 -1
- package/build-module/components/plugin-template-setting-panel/index.js +35 -0
- package/build-module/components/plugin-template-setting-panel/index.js.map +1 -0
- package/build-module/components/resizable-frame/index.js +228 -0
- package/build-module/components/resizable-frame/index.js.map +1 -0
- package/build-module/components/revisions/index.js +78 -0
- package/build-module/components/revisions/index.js.map +1 -0
- package/build-module/components/routes/link.js +13 -1
- package/build-module/components/routes/link.js.map +1 -1
- package/build-module/components/routes/use-title.js +5 -1
- package/build-module/components/routes/use-title.js.map +1 -1
- package/build-module/components/save-button/index.js +28 -6
- package/build-module/components/save-button/index.js.map +1 -1
- package/build-module/components/save-hub/index.js +13 -32
- package/build-module/components/save-hub/index.js.map +1 -1
- package/build-module/components/save-panel/index.js +19 -7
- package/build-module/components/save-panel/index.js.map +1 -1
- package/build-module/components/secondary-sidebar/list-view-sidebar.js +6 -11
- package/build-module/components/secondary-sidebar/list-view-sidebar.js.map +1 -1
- package/build-module/components/sidebar/index.js +14 -4
- package/build-module/components/sidebar/index.js.map +1 -1
- package/build-module/components/sidebar-edit-mode/global-styles-sidebar.js +9 -3
- package/build-module/components/sidebar-edit-mode/global-styles-sidebar.js.map +1 -1
- package/build-module/components/sidebar-edit-mode/index.js +10 -5
- package/build-module/components/sidebar-edit-mode/index.js.map +1 -1
- package/build-module/components/sidebar-edit-mode/sidebar-fixed-bottom.js +29 -0
- package/build-module/components/sidebar-edit-mode/sidebar-fixed-bottom.js.map +1 -0
- package/build-module/components/sidebar-edit-mode/template-card/index.js +2 -7
- package/build-module/components/sidebar-edit-mode/template-card/index.js.map +1 -1
- package/build-module/components/sidebar-edit-mode/{template-card/last-revision.js → template-revisions/index.js} +2 -2
- package/build-module/components/sidebar-edit-mode/template-revisions/index.js.map +1 -0
- package/build-module/components/sidebar-navigation-item/index.js +6 -8
- package/build-module/components/sidebar-navigation-item/index.js.map +1 -1
- package/build-module/components/sidebar-navigation-screen/index.js +13 -5
- package/build-module/components/sidebar-navigation-screen/index.js.map +1 -1
- package/build-module/components/sidebar-navigation-screen-global-styles/index.js +70 -14
- package/build-module/components/sidebar-navigation-screen-global-styles/index.js.map +1 -1
- package/build-module/components/sidebar-navigation-screen-main/index.js +30 -24
- package/build-module/components/sidebar-navigation-screen-main/index.js.map +1 -1
- package/build-module/components/sidebar-navigation-screen-navigation-item/index.js +1 -1
- package/build-module/components/sidebar-navigation-screen-navigation-item/index.js.map +1 -1
- package/build-module/components/sidebar-navigation-screen-navigation-menu/index.js +141 -0
- package/build-module/components/sidebar-navigation-screen-navigation-menu/index.js.map +1 -0
- package/build-module/components/sidebar-navigation-screen-navigation-menus/constants.js +10 -0
- package/build-module/components/sidebar-navigation-screen-navigation-menus/constants.js.map +1 -0
- package/build-module/components/sidebar-navigation-screen-navigation-menus/index.js +52 -93
- package/build-module/components/sidebar-navigation-screen-navigation-menus/index.js.map +1 -1
- package/build-module/components/sidebar-navigation-screen-navigation-menus/leaf-more-menu.js +71 -0
- package/build-module/components/sidebar-navigation-screen-navigation-menus/leaf-more-menu.js.map +1 -0
- package/build-module/components/sidebar-navigation-screen-navigation-menus/navigation-menu-content.js +13 -72
- package/build-module/components/sidebar-navigation-screen-navigation-menus/navigation-menu-content.js.map +1 -1
- package/build-module/components/sidebar-navigation-screen-navigation-menus/navigator-button.js +40 -0
- package/build-module/components/sidebar-navigation-screen-navigation-menus/navigator-button.js.map +1 -0
- package/build-module/components/sidebar-navigation-screen-page/index.js +48 -0
- package/build-module/components/sidebar-navigation-screen-page/index.js.map +1 -0
- package/build-module/components/sidebar-navigation-screen-pages/index.js +57 -0
- package/build-module/components/sidebar-navigation-screen-pages/index.js.map +1 -0
- package/build-module/components/sidebar-navigation-screen-templates/index.js +38 -12
- package/build-module/components/sidebar-navigation-screen-templates/index.js.map +1 -1
- package/build-module/components/sidebar-navigation-subtitle/index.js +10 -0
- package/build-module/components/sidebar-navigation-subtitle/index.js.map +1 -0
- package/build-module/components/site-hub/index.js +32 -6
- package/build-module/components/site-hub/index.js.map +1 -1
- package/build-module/components/start-template-options/index.js +13 -17
- package/build-module/components/start-template-options/index.js.map +1 -1
- package/build-module/components/style-book/index.js +93 -20
- package/build-module/components/style-book/index.js.map +1 -1
- package/build-module/components/sync-state-with-url/use-init-edited-entity-from-url.js +5 -1
- package/build-module/components/sync-state-with-url/use-init-edited-entity-from-url.js.map +1 -1
- package/build-module/components/sync-state-with-url/use-sync-canvas-mode-with-url.js +5 -1
- package/build-module/components/sync-state-with-url/use-sync-canvas-mode-with-url.js.map +1 -1
- package/build-module/components/sync-state-with-url/use-sync-path-with-url.js +13 -1
- package/build-module/components/sync-state-with-url/use-sync-path-with-url.js.map +1 -1
- package/build-module/components/use-edited-entity-record/index.js +8 -4
- package/build-module/components/use-edited-entity-record/index.js.map +1 -1
- package/build-module/hooks/commands/use-edit-mode-commands.js +86 -0
- package/build-module/hooks/commands/use-edit-mode-commands.js.map +1 -0
- package/build-module/hooks/template-part-edit.js +5 -1
- package/build-module/hooks/template-part-edit.js.map +1 -1
- package/build-module/index.js +1 -0
- package/build-module/index.js.map +1 -1
- package/build-module/store/actions.js +5 -3
- package/build-module/store/actions.js.map +1 -1
- package/build-module/utils/is-previewing-theme.js +17 -0
- package/build-module/utils/is-previewing-theme.js.map +1 -0
- package/build-module/utils/use-activate-theme.js +36 -0
- package/build-module/utils/use-activate-theme.js.map +1 -0
- package/build-style/style-rtl.css +409 -265
- package/build-style/style.css +410 -265
- package/package.json +37 -35
- package/src/components/add-new-template/add-custom-generic-template-modal-content.js +82 -0
- package/src/components/add-new-template/{add-custom-template-modal.js → add-custom-template-modal-content.js} +44 -34
- package/src/components/add-new-template/new-template-part.js +4 -1
- package/src/components/add-new-template/new-template.js +142 -154
- package/src/components/add-new-template/style.scss +120 -103
- package/src/components/app/index.js +6 -3
- package/src/components/block-editor/back-button.js +4 -1
- package/src/components/block-editor/editor-canvas.js +36 -8
- package/src/components/block-editor/index.js +2 -3
- package/src/components/block-editor/style.scss +15 -8
- package/src/components/create-template-part-modal/index.js +19 -25
- package/src/components/editor/index.js +20 -8
- package/src/components/editor/style.scss +21 -6
- package/src/components/editor-canvas-container/index.js +43 -21
- package/src/components/global-styles/block-preview-panel.js +1 -1
- package/src/components/global-styles/color-palette-panel.js +9 -0
- package/src/components/global-styles/dimensions-panel.js +15 -15
- package/src/components/global-styles/gradients-palette-panel.js +8 -0
- package/src/components/global-styles/root-menu.js +66 -0
- package/src/components/global-styles/screen-block-list.js +2 -2
- package/src/components/global-styles/screen-block.js +255 -7
- package/src/components/global-styles/screen-colors.js +9 -16
- package/src/components/global-styles/screen-css.js +21 -21
- package/src/components/global-styles/screen-layout.js +5 -9
- package/src/components/global-styles/screen-revisions/index.js +169 -0
- package/src/components/global-styles/screen-revisions/revisions-buttons.js +139 -0
- package/src/components/global-styles/screen-revisions/style.scss +100 -0
- package/src/components/global-styles/screen-revisions/test/use-global-styles-revisions.js +138 -0
- package/src/components/global-styles/screen-revisions/use-global-styles-revisions.js +99 -0
- package/src/components/global-styles/screen-root.js +7 -5
- package/src/components/global-styles/screen-typography-element.js +1 -3
- package/src/components/global-styles/screen-typography.js +44 -79
- package/src/components/global-styles/style-variations-container.js +17 -28
- package/src/components/global-styles/style.scss +4 -23
- package/src/components/global-styles/typography-panel.js +12 -13
- package/src/components/global-styles/ui.js +83 -110
- package/src/components/global-styles/variations-panel.js +3 -26
- package/src/components/header-edit-mode/document-actions/index.js +26 -129
- package/src/components/header-edit-mode/document-actions/style.scss +28 -59
- package/src/components/header-edit-mode/index.js +23 -2
- package/src/components/header-edit-mode/style.scss +1 -0
- package/src/components/keyboard-shortcuts/register.js +1 -1
- package/src/components/layout/hooks.js +46 -0
- package/src/components/layout/index.js +60 -125
- package/src/components/layout/style.scss +9 -5
- package/src/components/list/actions/index.js +12 -5
- package/src/components/list/index.js +4 -1
- package/src/components/list/style.scss +5 -0
- package/src/components/list/table.js +3 -1
- package/src/components/plugin-template-setting-panel/index.js +33 -0
- package/src/components/resizable-frame/index.js +253 -0
- package/src/components/resizable-frame/style.scss +69 -0
- package/src/components/revisions/index.js +105 -0
- package/src/components/routes/link.js +16 -1
- package/src/components/routes/use-title.js +4 -1
- package/src/components/save-button/index.js +27 -6
- package/src/components/save-hub/index.js +17 -35
- package/src/components/save-panel/index.js +15 -3
- package/src/components/secondary-sidebar/list-view-sidebar.js +4 -7
- package/src/components/sidebar/index.js +15 -4
- package/src/components/sidebar-edit-mode/global-styles-sidebar.js +9 -7
- package/src/components/sidebar-edit-mode/index.js +17 -6
- package/src/components/sidebar-edit-mode/sidebar-fixed-bottom.js +26 -0
- package/src/components/sidebar-edit-mode/style.scss +10 -0
- package/src/components/sidebar-edit-mode/template-card/index.js +1 -9
- package/src/components/sidebar-edit-mode/{template-card/last-revision.js → template-revisions/index.js} +1 -2
- package/src/components/sidebar-navigation-item/index.js +13 -14
- package/src/components/sidebar-navigation-item/style.scss +17 -1
- package/src/components/sidebar-navigation-screen/index.js +26 -5
- package/src/components/sidebar-navigation-screen/style.scss +1 -2
- package/src/components/sidebar-navigation-screen-global-styles/index.js +106 -21
- package/src/components/sidebar-navigation-screen-main/index.js +39 -35
- package/src/components/sidebar-navigation-screen-navigation-item/index.js +3 -9
- package/src/components/sidebar-navigation-screen-navigation-menu/index.js +157 -0
- package/src/components/sidebar-navigation-screen-navigation-menus/constants.js +9 -0
- package/src/components/sidebar-navigation-screen-navigation-menus/index.js +63 -105
- package/src/components/sidebar-navigation-screen-navigation-menus/leaf-more-menu.js +83 -0
- package/src/components/sidebar-navigation-screen-navigation-menus/navigation-menu-content.js +8 -74
- package/src/components/sidebar-navigation-screen-navigation-menus/navigator-button.js +47 -0
- package/src/components/sidebar-navigation-screen-navigation-menus/style.scss +6 -20
- package/src/components/sidebar-navigation-screen-page/index.js +59 -0
- package/src/components/sidebar-navigation-screen-pages/index.js +82 -0
- package/src/components/sidebar-navigation-screen-pages/style.scss +4 -0
- package/src/components/sidebar-navigation-screen-templates/index.js +57 -14
- package/src/components/sidebar-navigation-subtitle/index.js +5 -0
- package/src/components/sidebar-navigation-subtitle/style.scss +7 -0
- package/src/components/site-hub/index.js +88 -58
- package/src/components/site-hub/style.scss +8 -0
- package/src/components/start-template-options/index.js +19 -27
- package/src/components/start-template-options/style.scss +28 -21
- package/src/components/style-book/index.js +132 -43
- package/src/components/style-book/style.scss +19 -0
- package/src/components/sync-state-with-url/use-init-edited-entity-from-url.js +4 -1
- package/src/components/sync-state-with-url/use-sync-canvas-mode-with-url.js +3 -1
- package/src/components/sync-state-with-url/use-sync-path-with-url.js +14 -1
- package/src/components/use-edited-entity-record/index.js +12 -3
- package/src/hooks/commands/use-edit-mode-commands.js +79 -0
- package/src/hooks/template-part-edit.js +4 -1
- package/src/index.js +1 -0
- package/src/store/actions.js +4 -5
- package/src/store/test/actions.js +6 -14
- package/src/store/test/utils.js +15 -5
- package/src/style.scss +5 -2
- package/src/utils/is-previewing-theme.js +18 -0
- package/src/utils/use-activate-theme.js +38 -0
- package/build/components/add-new-template/add-custom-generic-template-modal.js.map +0 -1
- package/build/components/add-new-template/add-custom-template-modal.js.map +0 -1
- package/build/components/global-styles/border-panel.js +0 -133
- package/build/components/global-styles/border-panel.js.map +0 -1
- package/build/components/global-styles/context-menu.js +0 -126
- package/build/components/global-styles/context-menu.js.map +0 -1
- package/build/components/global-styles/custom-css.js +0 -113
- package/build/components/global-styles/custom-css.js.map +0 -1
- package/build/components/global-styles/effects-panel.js +0 -53
- package/build/components/global-styles/effects-panel.js.map +0 -1
- package/build/components/global-styles/filters-panel.js +0 -50
- package/build/components/global-styles/filters-panel.js.map +0 -1
- package/build/components/global-styles/screen-border.js +0 -61
- package/build/components/global-styles/screen-border.js.map +0 -1
- package/build/components/global-styles/screen-effects.js +0 -61
- package/build/components/global-styles/screen-effects.js.map +0 -1
- package/build/components/global-styles/screen-filters.js +0 -46
- package/build/components/global-styles/screen-filters.js.map +0 -1
- package/build/components/global-styles/screen-variations.js +0 -71
- package/build/components/global-styles/screen-variations.js.map +0 -1
- package/build/components/navigate-to-link/index.js +0 -51
- package/build/components/navigate-to-link/index.js.map +0 -1
- package/build/components/routes/index.js +0 -60
- package/build/components/routes/index.js.map +0 -1
- package/build/components/sidebar-edit-mode/template-card/last-revision.js.map +0 -1
- package/build/components/sidebar-navigation-screen-navigation-menus/loader.js +0 -19
- package/build/components/sidebar-navigation-screen-navigation-menus/loader.js.map +0 -1
- package/build/components/template-details/edit-template-title.js +0 -42
- package/build/components/template-details/edit-template-title.js.map +0 -1
- package/build/components/template-details/index.js +0 -103
- package/build/components/template-details/index.js.map +0 -1
- package/build/components/template-details/template-areas.js +0 -160
- package/build/components/template-details/template-areas.js.map +0 -1
- package/build/components/template-details/template-part-area-selector.js +0 -48
- package/build/components/template-details/template-part-area-selector.js.map +0 -1
- package/build/hooks/commands/index.js +0 -19
- package/build/hooks/commands/index.js.map +0 -1
- package/build/hooks/commands/use-navigation-commands.js +0 -126
- package/build/hooks/commands/use-navigation-commands.js.map +0 -1
- package/build/hooks/commands/use-wp-admin-commands.js +0 -97
- package/build/hooks/commands/use-wp-admin-commands.js.map +0 -1
- package/build/utils/history.js +0 -41
- package/build/utils/history.js.map +0 -1
- package/build-module/components/add-new-template/add-custom-generic-template-modal.js.map +0 -1
- package/build-module/components/add-new-template/add-custom-template-modal.js.map +0 -1
- package/build-module/components/global-styles/border-panel.js +0 -123
- package/build-module/components/global-styles/border-panel.js.map +0 -1
- package/build-module/components/global-styles/context-menu.js +0 -107
- package/build-module/components/global-styles/context-menu.js.map +0 -1
- package/build-module/components/global-styles/custom-css.js +0 -98
- package/build-module/components/global-styles/custom-css.js.map +0 -1
- package/build-module/components/global-styles/effects-panel.js +0 -43
- package/build-module/components/global-styles/effects-panel.js.map +0 -1
- package/build-module/components/global-styles/filters-panel.js +0 -40
- package/build-module/components/global-styles/filters-panel.js.map +0 -1
- package/build-module/components/global-styles/screen-border.js +0 -44
- package/build-module/components/global-styles/screen-border.js.map +0 -1
- package/build-module/components/global-styles/screen-effects.js +0 -44
- package/build-module/components/global-styles/screen-effects.js.map +0 -1
- package/build-module/components/global-styles/screen-filters.js +0 -33
- package/build-module/components/global-styles/screen-filters.js.map +0 -1
- package/build-module/components/global-styles/screen-variations.js +0 -54
- package/build-module/components/global-styles/screen-variations.js.map +0 -1
- package/build-module/components/navigate-to-link/index.js +0 -39
- package/build-module/components/navigate-to-link/index.js.map +0 -1
- package/build-module/components/routes/index.js +0 -47
- package/build-module/components/routes/index.js.map +0 -1
- package/build-module/components/sidebar-edit-mode/template-card/last-revision.js.map +0 -1
- package/build-module/components/sidebar-navigation-screen-navigation-menus/loader.js +0 -11
- package/build-module/components/sidebar-navigation-screen-navigation-menus/loader.js.map +0 -1
- package/build-module/components/template-details/edit-template-title.js +0 -33
- package/build-module/components/template-details/edit-template-title.js.map +0 -1
- package/build-module/components/template-details/index.js +0 -83
- package/build-module/components/template-details/index.js.map +0 -1
- package/build-module/components/template-details/template-areas.js +0 -141
- package/build-module/components/template-details/template-areas.js.map +0 -1
- package/build-module/components/template-details/template-part-area-selector.js +0 -36
- package/build-module/components/template-details/template-part-area-selector.js.map +0 -1
- package/build-module/hooks/commands/index.js +0 -10
- package/build-module/hooks/commands/index.js.map +0 -1
- package/build-module/hooks/commands/use-navigation-commands.js +0 -109
- package/build-module/hooks/commands/use-navigation-commands.js.map +0 -1
- package/build-module/hooks/commands/use-wp-admin-commands.js +0 -81
- package/build-module/hooks/commands/use-wp-admin-commands.js.map +0 -1
- package/build-module/utils/history.js +0 -31
- package/build-module/utils/history.js.map +0 -1
- package/src/components/add-new-template/add-custom-generic-template-modal.js +0 -101
- package/src/components/global-styles/border-panel.js +0 -112
- package/src/components/global-styles/context-menu.js +0 -175
- package/src/components/global-styles/custom-css.js +0 -131
- package/src/components/global-styles/effects-panel.js +0 -40
- package/src/components/global-styles/filters-panel.js +0 -39
- package/src/components/global-styles/screen-border.js +0 -35
- package/src/components/global-styles/screen-effects.js +0 -35
- package/src/components/global-styles/screen-filters.js +0 -27
- package/src/components/global-styles/screen-variations.js +0 -46
- package/src/components/navigate-to-link/index.js +0 -46
- package/src/components/routes/index.js +0 -53
- package/src/components/sidebar-navigation-screen-navigation-menus/loader.js +0 -9
- package/src/components/template-details/edit-template-title.js +0 -41
- package/src/components/template-details/index.js +0 -113
- package/src/components/template-details/style.scss +0 -72
- package/src/components/template-details/template-areas.js +0 -164
- package/src/components/template-details/template-part-area-selector.js +0 -39
- package/src/hooks/commands/index.js +0 -10
- package/src/hooks/commands/use-navigation-commands.js +0 -112
- package/src/hooks/commands/use-wp-admin-commands.js +0 -79
- package/src/utils/history.js +0 -39
package/build-style/style.css
CHANGED
|
@@ -97,7 +97,7 @@
|
|
|
97
97
|
--wp-block-synced-color: #7a00df;
|
|
98
98
|
--wp-block-synced-color--rgb: 122, 0, 223;
|
|
99
99
|
}
|
|
100
|
-
@media (
|
|
100
|
+
@media (min-resolution: 192dpi) {
|
|
101
101
|
:root {
|
|
102
102
|
--wp-admin-border-width-focus: 1.5px;
|
|
103
103
|
}
|
|
@@ -571,51 +571,21 @@ body.is-fullscreen-mode .interface-interface-skeleton {
|
|
|
571
571
|
margin-left: 48px;
|
|
572
572
|
}
|
|
573
573
|
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
}
|
|
574
|
+
.edit-site-custom-template-modal__contents-wrapper {
|
|
575
|
+
height: 100%;
|
|
576
|
+
justify-content: flex-start !important;
|
|
578
577
|
}
|
|
579
|
-
.edit-site-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
width:
|
|
586
|
-
text-align: left;
|
|
578
|
+
.edit-site-custom-template-modal__contents-wrapper > * {
|
|
579
|
+
width: 100%;
|
|
580
|
+
}
|
|
581
|
+
.edit-site-custom-template-modal__contents-wrapper__suggestions_list {
|
|
582
|
+
margin-left: -12px;
|
|
583
|
+
margin-right: -12px;
|
|
584
|
+
width: calc(100% + 24px);
|
|
587
585
|
}
|
|
588
|
-
|
|
589
586
|
.edit-site-custom-template-modal__contents > .components-button {
|
|
590
|
-
padding: 24px;
|
|
591
|
-
box-shadow: inset 0 0 0 1px #949494;
|
|
592
|
-
border-radius: 2px;
|
|
593
|
-
width: 256px;
|
|
594
587
|
height: auto;
|
|
595
|
-
|
|
596
|
-
flex-direction: column;
|
|
597
|
-
gap: 8px;
|
|
598
|
-
outline: 1px solid transparent;
|
|
599
|
-
}
|
|
600
|
-
.edit-site-custom-template-modal__contents > .components-button span:first-child {
|
|
601
|
-
color: #1e1e1e;
|
|
602
|
-
}
|
|
603
|
-
.edit-site-custom-template-modal__contents > .components-button span {
|
|
604
|
-
color: #757575;
|
|
605
|
-
}
|
|
606
|
-
.edit-site-custom-template-modal__contents > .components-button:hover {
|
|
607
|
-
color: var(--wp-admin-theme-color-darker-10);
|
|
608
|
-
box-shadow: inset 0 0 0 1px var(--wp-admin-theme-color-darker-10);
|
|
609
|
-
}
|
|
610
|
-
.edit-site-custom-template-modal__contents > .components-button:hover span:first-child {
|
|
611
|
-
color: var(--wp-admin-theme-color);
|
|
612
|
-
}
|
|
613
|
-
.edit-site-custom-template-modal__contents > .components-button:focus {
|
|
614
|
-
box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
|
|
615
|
-
outline: 3px solid transparent;
|
|
616
|
-
}
|
|
617
|
-
.edit-site-custom-template-modal__contents > .components-button:focus span:first-child {
|
|
618
|
-
color: var(--wp-admin-theme-color);
|
|
588
|
+
justify-content: center;
|
|
619
589
|
}
|
|
620
590
|
.edit-site-custom-template-modal .components-search-control input[type=search].components-search-control__input {
|
|
621
591
|
background: #fff;
|
|
@@ -630,51 +600,47 @@ body.is-fullscreen-mode .interface-interface-skeleton {
|
|
|
630
600
|
width: 456px;
|
|
631
601
|
}
|
|
632
602
|
}
|
|
633
|
-
|
|
634
603
|
@media (min-width: 600px) {
|
|
635
|
-
.edit-site-custom-template-modal__suggestions_list {
|
|
636
|
-
height: 232px;
|
|
604
|
+
.edit-site-custom-template-modal .edit-site-custom-template-modal__suggestions_list {
|
|
637
605
|
overflow: scroll;
|
|
638
606
|
}
|
|
639
607
|
}
|
|
640
|
-
.edit-site-custom-template-modal__suggestions_list__list-item {
|
|
608
|
+
.edit-site-custom-template-modal .edit-site-custom-template-modal__suggestions_list__list-item {
|
|
641
609
|
display: block;
|
|
642
610
|
width: 100%;
|
|
643
611
|
text-align: left;
|
|
644
612
|
white-space: pre-wrap;
|
|
645
613
|
overflow-wrap: break-word;
|
|
646
614
|
height: auto;
|
|
615
|
+
padding: 8px 12px;
|
|
647
616
|
}
|
|
648
|
-
.edit-site-custom-template-modal__suggestions_list__list-item mark {
|
|
617
|
+
.edit-site-custom-template-modal .edit-site-custom-template-modal__suggestions_list__list-item mark {
|
|
649
618
|
font-weight: 700;
|
|
650
619
|
background: none;
|
|
651
620
|
}
|
|
652
|
-
.edit-site-custom-template-modal__suggestions_list__list-item:hover {
|
|
653
|
-
background-color
|
|
621
|
+
.edit-site-custom-template-modal .edit-site-custom-template-modal__suggestions_list__list-item:hover {
|
|
622
|
+
background: rgba(var(--wp-admin-theme-color--rgb), 0.04);
|
|
654
623
|
}
|
|
655
|
-
.edit-site-custom-template-modal__suggestions_list__list-item:hover
|
|
624
|
+
.edit-site-custom-template-modal .edit-site-custom-template-modal__suggestions_list__list-item:hover * {
|
|
656
625
|
color: var(--wp-admin-theme-color);
|
|
657
626
|
}
|
|
658
|
-
.edit-site-custom-template-modal__suggestions_list__list-item:
|
|
627
|
+
.edit-site-custom-template-modal .edit-site-custom-template-modal__suggestions_list__list-item:hover mark {
|
|
628
|
+
color: var(--wp-admin-theme-color);
|
|
629
|
+
}
|
|
630
|
+
.edit-site-custom-template-modal .edit-site-custom-template-modal__suggestions_list__list-item:focus {
|
|
659
631
|
background-color: #f0f0f0;
|
|
660
632
|
}
|
|
661
|
-
.edit-site-custom-template-modal__suggestions_list__list-item:focus:not(:disabled) {
|
|
633
|
+
.edit-site-custom-template-modal .edit-site-custom-template-modal__suggestions_list__list-item:focus:not(:disabled) {
|
|
662
634
|
box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color) inset;
|
|
663
635
|
}
|
|
664
|
-
.edit-site-custom-template-modal__suggestions_list__list-item__title, .edit-site-custom-template-modal__suggestions_list__list-item__info {
|
|
636
|
+
.edit-site-custom-template-modal .edit-site-custom-template-modal__suggestions_list__list-item__title, .edit-site-custom-template-modal .edit-site-custom-template-modal__suggestions_list__list-item__info {
|
|
665
637
|
overflow: hidden;
|
|
666
638
|
text-overflow: ellipsis;
|
|
667
639
|
display: block;
|
|
668
640
|
}
|
|
669
|
-
.edit-site-custom-template-modal__suggestions_list__list-
|
|
670
|
-
font-weight: 500;
|
|
671
|
-
margin-bottom: 0.2em;
|
|
672
|
-
}
|
|
673
|
-
.edit-site-custom-template-modal__suggestions_list__list-item__info {
|
|
674
|
-
color: #757575;
|
|
675
|
-
font-size: 0.9em;
|
|
676
|
-
line-height: 1.3;
|
|
641
|
+
.edit-site-custom-template-modal .edit-site-custom-template-modal__suggestions_list__list-item__info {
|
|
677
642
|
word-break: break-all;
|
|
643
|
+
color: #757575;
|
|
678
644
|
}
|
|
679
645
|
|
|
680
646
|
.edit-site-custom-template-modal__no-results {
|
|
@@ -683,11 +649,6 @@ body.is-fullscreen-mode .interface-interface-skeleton {
|
|
|
683
649
|
padding: 16px;
|
|
684
650
|
}
|
|
685
651
|
|
|
686
|
-
@media (min-width: 782px) {
|
|
687
|
-
.edit-site-custom-generic-template__modal .components-base-control {
|
|
688
|
-
width: 320px;
|
|
689
|
-
}
|
|
690
|
-
}
|
|
691
652
|
.edit-site-custom-generic-template__modal .components-modal__header {
|
|
692
653
|
border-bottom: none;
|
|
693
654
|
}
|
|
@@ -711,6 +672,66 @@ body.is-fullscreen-mode .interface-interface-skeleton {
|
|
|
711
672
|
align-items: center;
|
|
712
673
|
justify-content: center;
|
|
713
674
|
height: 100%;
|
|
675
|
+
position: absolute;
|
|
676
|
+
left: 50%;
|
|
677
|
+
transform: translateX(-50%);
|
|
678
|
+
}
|
|
679
|
+
|
|
680
|
+
.edit-site-add-new-template__modal {
|
|
681
|
+
max-width: 832px;
|
|
682
|
+
width: calc(100% - 64px);
|
|
683
|
+
margin-top: 64px;
|
|
684
|
+
max-height: calc(100% - 128px);
|
|
685
|
+
}
|
|
686
|
+
@media (min-width: 960px) {
|
|
687
|
+
.edit-site-add-new-template__modal {
|
|
688
|
+
width: calc(100% - 128px);
|
|
689
|
+
}
|
|
690
|
+
}
|
|
691
|
+
|
|
692
|
+
.edit-site-custom-template-modal__contents > .components-button,
|
|
693
|
+
.edit-site-add-new-template__template-list__contents > .components-button {
|
|
694
|
+
padding: 24px;
|
|
695
|
+
border-radius: 2px;
|
|
696
|
+
display: flex;
|
|
697
|
+
flex-direction: column;
|
|
698
|
+
border: 1px solid #ddd;
|
|
699
|
+
min-height: 192px;
|
|
700
|
+
outline: 1px solid transparent;
|
|
701
|
+
}
|
|
702
|
+
.edit-site-custom-template-modal__contents > .components-button span:first-child,
|
|
703
|
+
.edit-site-add-new-template__template-list__contents > .components-button span:first-child {
|
|
704
|
+
color: #1e1e1e;
|
|
705
|
+
}
|
|
706
|
+
.edit-site-custom-template-modal__contents > .components-button span,
|
|
707
|
+
.edit-site-add-new-template__template-list__contents > .components-button span {
|
|
708
|
+
color: #757575;
|
|
709
|
+
}
|
|
710
|
+
.edit-site-custom-template-modal__contents > .components-button:hover,
|
|
711
|
+
.edit-site-add-new-template__template-list__contents > .components-button:hover {
|
|
712
|
+
color: var(--wp-admin-theme-color-darker-10);
|
|
713
|
+
background: rgba(var(--wp-admin-theme-color--rgb), 0.04);
|
|
714
|
+
border-color: transparent;
|
|
715
|
+
}
|
|
716
|
+
.edit-site-custom-template-modal__contents > .components-button:hover span,
|
|
717
|
+
.edit-site-add-new-template__template-list__contents > .components-button:hover span {
|
|
718
|
+
color: var(--wp-admin-theme-color);
|
|
719
|
+
}
|
|
720
|
+
.edit-site-custom-template-modal__contents > .components-button:focus,
|
|
721
|
+
.edit-site-add-new-template__template-list__contents > .components-button:focus {
|
|
722
|
+
box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
|
|
723
|
+
border-color: transparent;
|
|
724
|
+
outline: 3px solid transparent;
|
|
725
|
+
}
|
|
726
|
+
.edit-site-custom-template-modal__contents > .components-button:focus span:first-child,
|
|
727
|
+
.edit-site-add-new-template__template-list__contents > .components-button:focus span:first-child {
|
|
728
|
+
color: var(--wp-admin-theme-color);
|
|
729
|
+
}
|
|
730
|
+
|
|
731
|
+
.edit-site-add-new-template__template-list__contents > .components-button {
|
|
732
|
+
height: 100%;
|
|
733
|
+
text-align: start;
|
|
734
|
+
align-items: flex-start;
|
|
714
735
|
}
|
|
715
736
|
|
|
716
737
|
.edit-site-block-editor__editor-styles-wrapper .components-button {
|
|
@@ -729,13 +750,6 @@ body.is-fullscreen-mode .interface-interface-skeleton {
|
|
|
729
750
|
overflow: hidden;
|
|
730
751
|
background-color: #1e1e1e;
|
|
731
752
|
align-items: center;
|
|
732
|
-
/*
|
|
733
|
-
Temporary to hide the contextual toolbar in view mode.
|
|
734
|
-
See: https://github.com/WordPress/gutenberg/pull/46298
|
|
735
|
-
This rule can possibly be removed once the
|
|
736
|
-
contextual toolbar has been redesigned.
|
|
737
|
-
See: https://github.com/WordPress/gutenberg/issues/40450
|
|
738
|
-
*/
|
|
739
753
|
}
|
|
740
754
|
.edit-site-visual-editor iframe {
|
|
741
755
|
display: block;
|
|
@@ -744,7 +758,10 @@ body.is-fullscreen-mode .interface-interface-skeleton {
|
|
|
744
758
|
}
|
|
745
759
|
.edit-site-visual-editor .edit-site-visual-editor__editor-canvas {
|
|
746
760
|
height: 100%;
|
|
747
|
-
|
|
761
|
+
}
|
|
762
|
+
.edit-site-visual-editor .edit-site-visual-editor__editor-canvas.is-focused {
|
|
763
|
+
outline: calc(2 * var(--wp-admin-border-width-focus)) solid var(--wp-admin-theme-color);
|
|
764
|
+
outline-offset: calc(-2 * var(--wp-admin-border-width-focus));
|
|
748
765
|
}
|
|
749
766
|
.edit-site-layout.is-full-canvas .edit-site-visual-editor.is-focus-mode {
|
|
750
767
|
padding: 48px;
|
|
@@ -760,6 +777,16 @@ body.is-fullscreen-mode .interface-interface-skeleton {
|
|
|
760
777
|
margin: 0 auto;
|
|
761
778
|
overflow: auto;
|
|
762
779
|
}
|
|
780
|
+
.edit-site-visual-editor.is-view-mode {
|
|
781
|
+
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.8), 0 8px 10px -6px rgba(0, 0, 0, 0.8);
|
|
782
|
+
/*
|
|
783
|
+
Temporary to hide the contextual toolbar in view mode.
|
|
784
|
+
See: https://github.com/WordPress/gutenberg/pull/46298
|
|
785
|
+
This rule can possibly be removed once the
|
|
786
|
+
contextual toolbar has been redesigned.
|
|
787
|
+
See: https://github.com/WordPress/gutenberg/issues/40450
|
|
788
|
+
*/
|
|
789
|
+
}
|
|
763
790
|
.edit-site-visual-editor.is-view-mode .block-editor-block-contextual-toolbar {
|
|
764
791
|
display: none;
|
|
765
792
|
}
|
|
@@ -1079,40 +1106,20 @@ textarea.edit-site-code-editor-text-area.edit-site-code-editor-text-area:-ms-inp
|
|
|
1079
1106
|
.edit-site-global-styles-screen-css .components-v-stack {
|
|
1080
1107
|
flex: 1 1 auto;
|
|
1081
1108
|
}
|
|
1082
|
-
.edit-site-global-styles-screen-css .components-v-stack .
|
|
1109
|
+
.edit-site-global-styles-screen-css .components-v-stack .block-editor-global-styles-advanced-panel__custom-css-input {
|
|
1083
1110
|
flex: 1 1 auto;
|
|
1084
1111
|
display: flex;
|
|
1085
1112
|
flex-direction: column;
|
|
1086
1113
|
}
|
|
1087
|
-
.edit-site-global-styles-screen-css .components-v-stack .
|
|
1114
|
+
.edit-site-global-styles-screen-css .components-v-stack .block-editor-global-styles-advanced-panel__custom-css-input .components-base-control__field {
|
|
1088
1115
|
flex: 1 1 auto;
|
|
1089
1116
|
display: flex;
|
|
1090
1117
|
flex-direction: column;
|
|
1091
1118
|
}
|
|
1092
|
-
.edit-site-global-styles-screen-css .components-v-stack .
|
|
1119
|
+
.edit-site-global-styles-screen-css .components-v-stack .block-editor-global-styles-advanced-panel__custom-css-input .components-base-control__field .components-textarea-control__input {
|
|
1093
1120
|
flex: 1 1 auto;
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
.edit-site-global-styles__custom-css-input textarea {
|
|
1097
|
-
font-family: Menlo, Consolas, monaco, monospace;
|
|
1098
|
-
}
|
|
1099
|
-
|
|
1100
|
-
.edit-site-global-styles__custom-css-validation-wrapper {
|
|
1101
|
-
position: absolute;
|
|
1102
|
-
bottom: 16px;
|
|
1103
|
-
right: 24px;
|
|
1104
|
-
}
|
|
1105
|
-
|
|
1106
|
-
.edit-site-global-styles__custom-css-validation-icon {
|
|
1107
|
-
fill: #cc1818;
|
|
1108
|
-
}
|
|
1109
|
-
|
|
1110
|
-
.edit-site-global-styles__custom-css-theme-css {
|
|
1111
|
-
width: 100%;
|
|
1112
|
-
line-break: anywhere;
|
|
1113
|
-
white-space: break-spaces;
|
|
1114
|
-
max-height: 200px;
|
|
1115
|
-
overflow-y: scroll;
|
|
1121
|
+
/*rtl:ignore*/
|
|
1122
|
+
direction: ltr;
|
|
1116
1123
|
}
|
|
1117
1124
|
|
|
1118
1125
|
.edit-site-global-styles-screen-css-help-link {
|
|
@@ -1143,6 +1150,97 @@ textarea.edit-site-code-editor-text-area.edit-site-code-editor-text-area:-ms-inp
|
|
|
1143
1150
|
fill: currentColor;
|
|
1144
1151
|
}
|
|
1145
1152
|
|
|
1153
|
+
.edit-site-global-styles-screen-revisions {
|
|
1154
|
+
margin: 16px;
|
|
1155
|
+
}
|
|
1156
|
+
|
|
1157
|
+
.edit-site-global-styles-screen-revisions__revisions-list {
|
|
1158
|
+
list-style: none;
|
|
1159
|
+
margin: 0;
|
|
1160
|
+
}
|
|
1161
|
+
.edit-site-global-styles-screen-revisions__revisions-list li {
|
|
1162
|
+
margin-bottom: 0;
|
|
1163
|
+
border-left: 1px solid #ddd;
|
|
1164
|
+
}
|
|
1165
|
+
|
|
1166
|
+
.edit-site-global-styles-screen-revisions__revision-item {
|
|
1167
|
+
position: relative;
|
|
1168
|
+
padding: 8px 0 8px 12px;
|
|
1169
|
+
}
|
|
1170
|
+
.edit-site-global-styles-screen-revisions__revision-item:first-child {
|
|
1171
|
+
padding-top: 0;
|
|
1172
|
+
}
|
|
1173
|
+
.edit-site-global-styles-screen-revisions__revision-item:last-child {
|
|
1174
|
+
padding-bottom: 0;
|
|
1175
|
+
}
|
|
1176
|
+
.edit-site-global-styles-screen-revisions__revision-item::before {
|
|
1177
|
+
background: #ddd;
|
|
1178
|
+
border-radius: 50%;
|
|
1179
|
+
content: "\a";
|
|
1180
|
+
display: inline-block;
|
|
1181
|
+
height: 8px;
|
|
1182
|
+
width: 8px;
|
|
1183
|
+
position: absolute;
|
|
1184
|
+
top: 50%;
|
|
1185
|
+
left: 0;
|
|
1186
|
+
transform: translate(-50%, -50%);
|
|
1187
|
+
}
|
|
1188
|
+
.edit-site-global-styles-screen-revisions__revision-item.is-selected::before {
|
|
1189
|
+
background: var(--wp-components-color-accent, var(--wp-admin-theme-color, #007cba));
|
|
1190
|
+
}
|
|
1191
|
+
|
|
1192
|
+
.edit-site-global-styles-screen-revisions__revision-button {
|
|
1193
|
+
width: 100%;
|
|
1194
|
+
height: auto;
|
|
1195
|
+
display: block;
|
|
1196
|
+
padding: 8px 12px;
|
|
1197
|
+
}
|
|
1198
|
+
.edit-site-global-styles-screen-revisions__revision-button:hover {
|
|
1199
|
+
background: rgba(var(--wp-admin-theme-color--rgb), 0.04);
|
|
1200
|
+
}
|
|
1201
|
+
.edit-site-global-styles-screen-revisions__revision-button:hover .edit-site-global-styles-screen-revisions__date {
|
|
1202
|
+
color: var(--wp-admin-theme-color);
|
|
1203
|
+
}
|
|
1204
|
+
|
|
1205
|
+
.is-selected .edit-site-global-styles-screen-revisions__revision-button {
|
|
1206
|
+
color: var(--wp-components-color-accent, var(--wp-admin-theme-color, #007cba));
|
|
1207
|
+
opacity: 1;
|
|
1208
|
+
background: rgba(var(--wp-admin-theme-color--rgb), 0.04);
|
|
1209
|
+
}
|
|
1210
|
+
.is-selected .edit-site-global-styles-screen-revisions__meta {
|
|
1211
|
+
color: var(--wp-admin-theme-color);
|
|
1212
|
+
}
|
|
1213
|
+
|
|
1214
|
+
.edit-site-global-styles-screen-revisions__button {
|
|
1215
|
+
justify-content: center;
|
|
1216
|
+
width: 100%;
|
|
1217
|
+
}
|
|
1218
|
+
|
|
1219
|
+
.edit-site-global-styles-screen-revisions__description {
|
|
1220
|
+
display: flex;
|
|
1221
|
+
flex-direction: column;
|
|
1222
|
+
align-items: flex-start;
|
|
1223
|
+
gap: 8px;
|
|
1224
|
+
}
|
|
1225
|
+
|
|
1226
|
+
.edit-site-global-styles-screen-revisions__meta {
|
|
1227
|
+
color: #757575;
|
|
1228
|
+
display: flex;
|
|
1229
|
+
justify-content: space-between;
|
|
1230
|
+
width: 100%;
|
|
1231
|
+
align-items: center;
|
|
1232
|
+
text-align: left;
|
|
1233
|
+
}
|
|
1234
|
+
.edit-site-global-styles-screen-revisions__meta img {
|
|
1235
|
+
width: 16px;
|
|
1236
|
+
height: 16px;
|
|
1237
|
+
border-radius: 100%;
|
|
1238
|
+
}
|
|
1239
|
+
|
|
1240
|
+
.edit-site-global-styles-screen-revisions__loading {
|
|
1241
|
+
margin: 24px auto !important;
|
|
1242
|
+
}
|
|
1243
|
+
|
|
1146
1244
|
.edit-site-header-edit-mode {
|
|
1147
1245
|
height: 60px;
|
|
1148
1246
|
align-items: center;
|
|
@@ -1168,6 +1266,7 @@ textarea.edit-site-code-editor-text-area.edit-site-code-editor-text-area:-ms-inp
|
|
|
1168
1266
|
align-items: center;
|
|
1169
1267
|
height: 100%;
|
|
1170
1268
|
flex-grow: 1;
|
|
1269
|
+
margin: 0 8px;
|
|
1171
1270
|
justify-content: center;
|
|
1172
1271
|
min-width: 0;
|
|
1173
1272
|
}
|
|
@@ -1312,69 +1411,45 @@ textarea.edit-site-code-editor-text-area.edit-site-code-editor-text-area:-ms-inp
|
|
|
1312
1411
|
|
|
1313
1412
|
.edit-site-document-actions {
|
|
1314
1413
|
display: flex;
|
|
1315
|
-
flex-direction: column;
|
|
1316
|
-
justify-content: center;
|
|
1317
|
-
padding: 0 8px;
|
|
1318
|
-
height: 100%;
|
|
1319
|
-
min-width: 0;
|
|
1320
|
-
}
|
|
1321
|
-
.edit-site-document-actions .edit-site-document-actions__title-wrapper {
|
|
1322
|
-
display: flex;
|
|
1323
|
-
flex-direction: row;
|
|
1324
|
-
justify-content: center;
|
|
1325
1414
|
align-items: center;
|
|
1415
|
+
gap: 8px;
|
|
1416
|
+
height: 36px;
|
|
1417
|
+
padding: 8px;
|
|
1418
|
+
justify-content: space-between;
|
|
1326
1419
|
min-width: 0;
|
|
1420
|
+
background: #f0f0f0;
|
|
1421
|
+
border-radius: 4px;
|
|
1422
|
+
width: min(100%, 450px);
|
|
1327
1423
|
}
|
|
1328
|
-
.edit-site-document-actions
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
}
|
|
1332
|
-
.edit-site-document-actions .edit-site-document-actions__title-wrapper .components-dropdown .components-button {
|
|
1333
|
-
min-width: 0;
|
|
1334
|
-
padding: 0;
|
|
1335
|
-
}
|
|
1336
|
-
.edit-site-document-actions .edit-site-document-actions__title-wrapper > h1 {
|
|
1337
|
-
margin: 0;
|
|
1338
|
-
min-width: 0;
|
|
1424
|
+
.edit-site-document-actions:hover {
|
|
1425
|
+
color: currentColor;
|
|
1426
|
+
background: #e0e0e0;
|
|
1339
1427
|
}
|
|
1340
|
-
|
|
1341
|
-
|
|
1428
|
+
|
|
1429
|
+
.edit-site-document-actions__title {
|
|
1430
|
+
flex-grow: 1;
|
|
1431
|
+
color: var(--wp-block-synced-color);
|
|
1342
1432
|
overflow: hidden;
|
|
1343
|
-
text-overflow: ellipsis;
|
|
1344
|
-
color: currentColor;
|
|
1345
1433
|
}
|
|
1346
|
-
.edit-site-document-
|
|
1347
|
-
|
|
1348
|
-
align-items: center;
|
|
1434
|
+
.edit-site-document-actions__title h1 {
|
|
1435
|
+
color: var(--wp-block-synced-color);
|
|
1349
1436
|
white-space: nowrap;
|
|
1350
1437
|
overflow: hidden;
|
|
1351
1438
|
text-overflow: ellipsis;
|
|
1352
|
-
max-width: 0;
|
|
1353
|
-
opacity: 0;
|
|
1354
|
-
padding: 0;
|
|
1355
|
-
transition: all ease 0.2s;
|
|
1356
|
-
background: rgba(var(--wp-block-synced-color--rgb), 0.04);
|
|
1357
|
-
border-radius: 2px;
|
|
1358
1439
|
}
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
}
|
|
1365
|
-
.edit-site-document-actions .edit-site-document-actions__secondary-item .block-editor-block-icon.has-colors {
|
|
1366
|
-
color: var(--wp-block-synced-color);
|
|
1440
|
+
|
|
1441
|
+
.edit-site-document-actions__shortcut {
|
|
1442
|
+
flex-shrink: 0;
|
|
1443
|
+
color: #757575;
|
|
1444
|
+
width: 36px;
|
|
1367
1445
|
}
|
|
1368
|
-
.edit-site-document-
|
|
1369
|
-
|
|
1370
|
-
padding: 0 4px;
|
|
1371
|
-
max-width: 180px;
|
|
1372
|
-
margin-left: 6px;
|
|
1446
|
+
.edit-site-document-actions__shortcut:hover {
|
|
1447
|
+
color: #757575;
|
|
1373
1448
|
}
|
|
1374
1449
|
|
|
1375
|
-
.edit-site-document-
|
|
1376
|
-
|
|
1377
|
-
|
|
1450
|
+
.edit-site-document-actions__left {
|
|
1451
|
+
min-width: 36px;
|
|
1452
|
+
flex-shrink: 0;
|
|
1378
1453
|
}
|
|
1379
1454
|
|
|
1380
1455
|
.edit-site-list-header {
|
|
@@ -1412,6 +1487,12 @@ body.is-fullscreen-mode .edit-site-list-header {
|
|
|
1412
1487
|
position: relative;
|
|
1413
1488
|
}
|
|
1414
1489
|
|
|
1490
|
+
.edit-site .edit-site-list {
|
|
1491
|
+
flex-grow: 1;
|
|
1492
|
+
background: #fff;
|
|
1493
|
+
border-radius: 8px;
|
|
1494
|
+
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.8), 0 8px 10px -6px rgba(0, 0, 0, 0.8);
|
|
1495
|
+
}
|
|
1415
1496
|
.edit-site .edit-site-list .interface-interface-skeleton__editor {
|
|
1416
1497
|
min-width: 100%;
|
|
1417
1498
|
}
|
|
@@ -1527,8 +1608,7 @@ body.is-fullscreen-mode .edit-site-list-header {
|
|
|
1527
1608
|
.edit-site-list-added-by__avatar img {
|
|
1528
1609
|
width: 32px;
|
|
1529
1610
|
height: 32px;
|
|
1530
|
-
|
|
1531
|
-
object-fit: cover;
|
|
1611
|
+
object-fit: cover;
|
|
1532
1612
|
opacity: 0;
|
|
1533
1613
|
transition: opacity 0.1s linear;
|
|
1534
1614
|
}
|
|
@@ -1633,6 +1713,16 @@ body.is-fullscreen-mode .edit-site-list-header {
|
|
|
1633
1713
|
font-size: 12px;
|
|
1634
1714
|
}
|
|
1635
1715
|
|
|
1716
|
+
.edit-site-sidebar-fixed-bottom-slot {
|
|
1717
|
+
position: sticky;
|
|
1718
|
+
bottom: 0;
|
|
1719
|
+
background: #fff;
|
|
1720
|
+
display: flex;
|
|
1721
|
+
padding: 16px;
|
|
1722
|
+
border-top: 1px solid #ddd;
|
|
1723
|
+
box-sizing: content-box;
|
|
1724
|
+
}
|
|
1725
|
+
|
|
1636
1726
|
.components-panel__header.edit-site-sidebar-edit-mode__panel-tabs {
|
|
1637
1727
|
justify-content: flex-start;
|
|
1638
1728
|
padding-left: 0;
|
|
@@ -1781,6 +1871,20 @@ h3.edit-site-template-card__template-areas-title {
|
|
|
1781
1871
|
margin: 0 0 8px;
|
|
1782
1872
|
}
|
|
1783
1873
|
|
|
1874
|
+
.edit-site-editor__interface-skeleton {
|
|
1875
|
+
opacity: 1;
|
|
1876
|
+
transition: opacity 0.1s ease-out;
|
|
1877
|
+
}
|
|
1878
|
+
@media (prefers-reduced-motion: reduce) {
|
|
1879
|
+
.edit-site-editor__interface-skeleton {
|
|
1880
|
+
transition-duration: 0s;
|
|
1881
|
+
transition-delay: 0s;
|
|
1882
|
+
}
|
|
1883
|
+
}
|
|
1884
|
+
.edit-site-editor__interface-skeleton.is-loading {
|
|
1885
|
+
opacity: 0;
|
|
1886
|
+
}
|
|
1887
|
+
|
|
1784
1888
|
.edit-site-editor__toggle-save-panel {
|
|
1785
1889
|
box-sizing: border-box;
|
|
1786
1890
|
width: 280px;
|
|
@@ -1794,9 +1898,11 @@ h3.edit-site-template-card__template-areas-title {
|
|
|
1794
1898
|
.edit-site .components-editor-notices__snackbar {
|
|
1795
1899
|
position: fixed;
|
|
1796
1900
|
right: 0;
|
|
1797
|
-
bottom:
|
|
1798
|
-
padding
|
|
1799
|
-
|
|
1901
|
+
bottom: 0;
|
|
1902
|
+
padding: 16px;
|
|
1903
|
+
}
|
|
1904
|
+
.edit-site .is-edit-mode .components-editor-notices__snackbar {
|
|
1905
|
+
bottom: 24px;
|
|
1800
1906
|
}
|
|
1801
1907
|
|
|
1802
1908
|
.edit-site .components-editor-notices__snackbar {
|
|
@@ -1837,62 +1943,6 @@ body.is-fullscreen-mode .edit-site .components-editor-notices__snackbar {
|
|
|
1837
1943
|
left: 0 !important;
|
|
1838
1944
|
}
|
|
1839
1945
|
|
|
1840
|
-
.edit-site-template-details .edit-site-template-details__group {
|
|
1841
|
-
margin: 0;
|
|
1842
|
-
padding: 16px;
|
|
1843
|
-
}
|
|
1844
|
-
.edit-site-template-details .edit-site-template-details__group + .edit-site-template-details__group {
|
|
1845
|
-
border-top: 1px solid #ccc;
|
|
1846
|
-
}
|
|
1847
|
-
.edit-site-template-details .edit-site-template-details__description {
|
|
1848
|
-
color: #757575;
|
|
1849
|
-
}
|
|
1850
|
-
.edit-site-template-details .edit-site-template-details__group.edit-site-template-details__template-areas {
|
|
1851
|
-
padding: 8px;
|
|
1852
|
-
}
|
|
1853
|
-
.edit-site-template-details .edit-site-template-details__template-areas-item {
|
|
1854
|
-
position: relative;
|
|
1855
|
-
}
|
|
1856
|
-
.edit-site-template-details .edit-site-template-details__template-areas-item .components-menu-items__item-icon {
|
|
1857
|
-
color: var(--wp-block-synced-color);
|
|
1858
|
-
}
|
|
1859
|
-
.edit-site-template-details .edit-site-template-details__template-areas-item .edit-site-template-details__template-areas-item-more {
|
|
1860
|
-
position: absolute;
|
|
1861
|
-
right: 0;
|
|
1862
|
-
top: 0;
|
|
1863
|
-
bottom: 0;
|
|
1864
|
-
margin: auto 0;
|
|
1865
|
-
}
|
|
1866
|
-
.edit-site-template-details .edit-site-template-details__revert {
|
|
1867
|
-
padding: 12px 8px;
|
|
1868
|
-
}
|
|
1869
|
-
.edit-site-template-details .edit-site-template-details__revert-button {
|
|
1870
|
-
height: auto;
|
|
1871
|
-
padding: 4px 8px;
|
|
1872
|
-
text-align: left;
|
|
1873
|
-
}
|
|
1874
|
-
.edit-site-template-details .edit-site-template-details__revert-button:focus:not(:disabled) {
|
|
1875
|
-
box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color), inset 0 0 0 3px #fff;
|
|
1876
|
-
}
|
|
1877
|
-
.edit-site-template-details .edit-site-template-details__show-all-button.components-button {
|
|
1878
|
-
display: flex;
|
|
1879
|
-
justify-content: center;
|
|
1880
|
-
background: #1e1e1e;
|
|
1881
|
-
color: #fff;
|
|
1882
|
-
width: 100%;
|
|
1883
|
-
height: 44px;
|
|
1884
|
-
border-radius: 0;
|
|
1885
|
-
}
|
|
1886
|
-
.edit-site-template-details .edit-site-template-details__show-all-button.components-button:hover {
|
|
1887
|
-
color: #fff;
|
|
1888
|
-
}
|
|
1889
|
-
.edit-site-template-details .edit-site-template-details__show-all-button.components-button:active {
|
|
1890
|
-
color: #ccc;
|
|
1891
|
-
}
|
|
1892
|
-
.edit-site-template-details .edit-site-template-details__show-all-button.components-button:focus:not(:disabled) {
|
|
1893
|
-
box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color), inset 0 0 0 3px #fff;
|
|
1894
|
-
}
|
|
1895
|
-
|
|
1896
1946
|
.edit-site-create-template-part-modal {
|
|
1897
1947
|
z-index: 1000001;
|
|
1898
1948
|
}
|
|
@@ -2039,8 +2089,7 @@ body.is-fullscreen-mode .edit-site .components-editor-notices__snackbar {
|
|
|
2039
2089
|
.edit-site-welcome-guide__image > img {
|
|
2040
2090
|
display: block;
|
|
2041
2091
|
max-width: 100%;
|
|
2042
|
-
|
|
2043
|
-
object-fit: cover;
|
|
2092
|
+
object-fit: cover;
|
|
2044
2093
|
}
|
|
2045
2094
|
.edit-site-welcome-guide__heading {
|
|
2046
2095
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
|
@@ -2063,6 +2112,23 @@ body.is-fullscreen-mode .edit-site .components-editor-notices__snackbar {
|
|
|
2063
2112
|
vertical-align: text-top;
|
|
2064
2113
|
}
|
|
2065
2114
|
|
|
2115
|
+
.edit-site-start-template-options__modal .edit-site-start-template-options__modal__actions {
|
|
2116
|
+
position: absolute;
|
|
2117
|
+
bottom: 0;
|
|
2118
|
+
width: 100%;
|
|
2119
|
+
height: 92px;
|
|
2120
|
+
background-color: #fff;
|
|
2121
|
+
margin-left: -32px;
|
|
2122
|
+
margin-right: -32px;
|
|
2123
|
+
padding-left: 32px;
|
|
2124
|
+
padding-right: 32px;
|
|
2125
|
+
border-top: 1px solid #ddd;
|
|
2126
|
+
z-index: 1;
|
|
2127
|
+
}
|
|
2128
|
+
.edit-site-start-template-options__modal .block-editor-block-patterns-list {
|
|
2129
|
+
padding-bottom: 92px;
|
|
2130
|
+
}
|
|
2131
|
+
|
|
2066
2132
|
.edit-site-start-template-options__modal-content .block-editor-block-patterns-list {
|
|
2067
2133
|
column-count: 2;
|
|
2068
2134
|
column-gap: 24px;
|
|
@@ -2087,22 +2153,6 @@ body.is-fullscreen-mode .edit-site .components-editor-notices__snackbar {
|
|
|
2087
2153
|
.edit-site-start-template-options__modal-content .block-editor-block-patterns-list .block-editor-block-patterns-list__item:not(:focus):not(:hover) .block-editor-block-preview__container {
|
|
2088
2154
|
box-shadow: 0 0 0 1px #ddd;
|
|
2089
2155
|
}
|
|
2090
|
-
.edit-site-start-template-options__modal-content .block-editor-block-patterns-list .block-editor-block-patterns-list__list-item:nth-last-child(2) .block-editor-block-preview__container {
|
|
2091
|
-
position: absolute;
|
|
2092
|
-
padding: 0;
|
|
2093
|
-
background: #f0f0f0;
|
|
2094
|
-
min-height: 160px;
|
|
2095
|
-
}
|
|
2096
|
-
.edit-site-start-template-options__modal-content .block-editor-block-patterns-list .block-editor-block-patterns-list__list-item:nth-last-child(2) .block-editor-block-preview__container::after {
|
|
2097
|
-
width: 100%;
|
|
2098
|
-
top: 50%;
|
|
2099
|
-
margin-top: -1em;
|
|
2100
|
-
content: var(--wp-edit-site-start-template-options-start-blank);
|
|
2101
|
-
text-align: center;
|
|
2102
|
-
}
|
|
2103
|
-
.edit-site-start-template-options__modal-content .block-editor-block-patterns-list .block-editor-block-patterns-list__list-item:nth-last-child(2) iframe {
|
|
2104
|
-
display: none;
|
|
2105
|
-
}
|
|
2106
2156
|
|
|
2107
2157
|
.edit-site-keyboard-shortcut-help-modal__section {
|
|
2108
2158
|
margin: 0 0 2rem 0;
|
|
@@ -2174,7 +2224,7 @@ body.is-fullscreen-mode .edit-site .components-editor-notices__snackbar {
|
|
|
2174
2224
|
}
|
|
2175
2225
|
@media (min-width: 782px) {
|
|
2176
2226
|
.edit-site-layout__hub {
|
|
2177
|
-
width: calc(360px -
|
|
2227
|
+
width: calc(360px - 24px);
|
|
2178
2228
|
}
|
|
2179
2229
|
}
|
|
2180
2230
|
.edit-site-layout.is-full-canvas .edit-site-layout__hub {
|
|
@@ -2251,11 +2301,15 @@ body.is-fullscreen-mode .edit-site .components-editor-notices__snackbar {
|
|
|
2251
2301
|
left: 0;
|
|
2252
2302
|
bottom: 0;
|
|
2253
2303
|
width: 100%;
|
|
2304
|
+
display: flex;
|
|
2305
|
+
justify-content: center;
|
|
2306
|
+
align-items: center;
|
|
2307
|
+
}
|
|
2308
|
+
.edit-site-layout__canvas:has(.edit-site-layout__resizable-frame-oversized) {
|
|
2309
|
+
justify-content: flex-end;
|
|
2254
2310
|
}
|
|
2255
2311
|
.edit-site-layout__canvas > div {
|
|
2256
2312
|
color: #1e1e1e;
|
|
2257
|
-
background: #fff;
|
|
2258
|
-
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.8), 0 8px 10px -6px rgba(0, 0, 0, 0.8);
|
|
2259
2313
|
}
|
|
2260
2314
|
@media (min-width: 782px) {
|
|
2261
2315
|
.edit-site-layout__canvas {
|
|
@@ -2277,7 +2331,6 @@ body.is-fullscreen-mode .edit-site .components-editor-notices__snackbar {
|
|
|
2277
2331
|
}
|
|
2278
2332
|
.edit-site-layout.is-full-canvas .edit-site-layout__canvas > div {
|
|
2279
2333
|
border-radius: 0;
|
|
2280
|
-
box-shadow: none;
|
|
2281
2334
|
}
|
|
2282
2335
|
|
|
2283
2336
|
.edit-site-layout__canvas .interface-interface-skeleton {
|
|
@@ -2460,7 +2513,9 @@ body.is-fullscreen-mode .edit-site .components-editor-notices__snackbar {
|
|
|
2460
2513
|
|
|
2461
2514
|
.edit-site-sidebar-navigation-item.components-item {
|
|
2462
2515
|
color: #949494;
|
|
2463
|
-
|
|
2516
|
+
padding: 8px 6px 8px 16px;
|
|
2517
|
+
border: none;
|
|
2518
|
+
min-height: 40px;
|
|
2464
2519
|
}
|
|
2465
2520
|
.edit-site-sidebar-navigation-item.components-item:hover, .edit-site-sidebar-navigation-item.components-item:focus, .edit-site-sidebar-navigation-item.components-item[aria-current] {
|
|
2466
2521
|
color: #fff;
|
|
@@ -2469,6 +2524,16 @@ body.is-fullscreen-mode .edit-site .components-editor-notices__snackbar {
|
|
|
2469
2524
|
.edit-site-sidebar-navigation-item.components-item[aria-current] {
|
|
2470
2525
|
background: var(--wp-admin-theme-color);
|
|
2471
2526
|
}
|
|
2527
|
+
.edit-site-sidebar-navigation-item.components-item .edit-site-sidebar-navigation-item__drilldown-indicator {
|
|
2528
|
+
fill: #757575;
|
|
2529
|
+
}
|
|
2530
|
+
.edit-site-sidebar-navigation-item.components-item:is(a) {
|
|
2531
|
+
text-decoration: none;
|
|
2532
|
+
}
|
|
2533
|
+
.edit-site-sidebar-navigation-item.components-item:is(a):focus {
|
|
2534
|
+
box-shadow: none;
|
|
2535
|
+
outline: none;
|
|
2536
|
+
}
|
|
2472
2537
|
|
|
2473
2538
|
.edit-site-sidebar-navigation-screen__content .block-editor-list-view-block-select-button {
|
|
2474
2539
|
cursor: grab;
|
|
@@ -2483,7 +2548,7 @@ body.is-fullscreen-mode .edit-site .components-editor-notices__snackbar {
|
|
|
2483
2548
|
}
|
|
2484
2549
|
|
|
2485
2550
|
.edit-site-sidebar-navigation-screen__content {
|
|
2486
|
-
margin: 0
|
|
2551
|
+
margin: 0 0 16px 0;
|
|
2487
2552
|
color: #949494;
|
|
2488
2553
|
}
|
|
2489
2554
|
|
|
@@ -2507,7 +2572,6 @@ body.is-fullscreen-mode .edit-site .components-editor-notices__snackbar {
|
|
|
2507
2572
|
box-shadow: 0 8px 16px #1e1e1e;
|
|
2508
2573
|
margin-bottom: 8px;
|
|
2509
2574
|
padding-bottom: 8px;
|
|
2510
|
-
padding-right: 16px;
|
|
2511
2575
|
z-index: 1;
|
|
2512
2576
|
}
|
|
2513
2577
|
|
|
@@ -2532,6 +2596,11 @@ body.is-fullscreen-mode .edit-site .components-editor-notices__snackbar {
|
|
|
2532
2596
|
border: var(--wp-admin-theme-color) var(--wp-admin-border-width-focus) solid;
|
|
2533
2597
|
}
|
|
2534
2598
|
|
|
2599
|
+
.edit-site-sidebar-navigation-screen-pages__see-all {
|
|
2600
|
+
/* Overrides the margin that comes from the Item component */
|
|
2601
|
+
margin-top: 16px !important;
|
|
2602
|
+
}
|
|
2603
|
+
|
|
2535
2604
|
.edit-site-sidebar-navigation-screen-template__added-by-description {
|
|
2536
2605
|
display: flex;
|
|
2537
2606
|
align-items: center;
|
|
@@ -2559,6 +2628,14 @@ body.is-fullscreen-mode .edit-site .components-editor-notices__snackbar {
|
|
|
2559
2628
|
margin-top: 16px !important;
|
|
2560
2629
|
}
|
|
2561
2630
|
|
|
2631
|
+
.edit-site-sidebar-navigation-subtitle {
|
|
2632
|
+
color: #f0f0f0;
|
|
2633
|
+
text-transform: uppercase;
|
|
2634
|
+
font-weight: 500;
|
|
2635
|
+
font-size: 11px;
|
|
2636
|
+
padding: 16px 0 0 16px;
|
|
2637
|
+
}
|
|
2638
|
+
|
|
2562
2639
|
.edit-site-site-hub {
|
|
2563
2640
|
display: flex;
|
|
2564
2641
|
align-items: center;
|
|
@@ -2591,29 +2668,17 @@ body.is-fullscreen-mode .edit-site .components-editor-notices__snackbar {
|
|
|
2591
2668
|
margin-left: 4px;
|
|
2592
2669
|
}
|
|
2593
2670
|
|
|
2594
|
-
.edit-site-
|
|
2595
|
-
|
|
2671
|
+
.edit-site-site-hub_toggle-command-center {
|
|
2672
|
+
color: #fff;
|
|
2596
2673
|
}
|
|
2597
|
-
|
|
2598
|
-
|
|
2599
|
-
padding: 8px;
|
|
2600
|
-
margin: 8px;
|
|
2601
|
-
background-color: #f0f0f0;
|
|
2602
|
-
animation: loadingpulse 1s linear infinite;
|
|
2603
|
-
animation-delay: 0.5s;
|
|
2674
|
+
.edit-site-site-hub_toggle-command-center:hover {
|
|
2675
|
+
color: #fff;
|
|
2604
2676
|
}
|
|
2605
2677
|
|
|
2606
|
-
|
|
2607
|
-
0
|
|
2608
|
-
opacity: 1;
|
|
2609
|
-
}
|
|
2610
|
-
50% {
|
|
2611
|
-
opacity: 0.5;
|
|
2612
|
-
}
|
|
2613
|
-
100% {
|
|
2614
|
-
opacity: 1;
|
|
2615
|
-
}
|
|
2678
|
+
.edit-site-sidebar-navigation-screen__description {
|
|
2679
|
+
margin: 0 0 32px 16px;
|
|
2616
2680
|
}
|
|
2681
|
+
|
|
2617
2682
|
.edit-site-sidebar-navigation-screen-navigation-menus__content .offcanvas-editor-list-view-leaf {
|
|
2618
2683
|
max-width: calc(100% - 4px);
|
|
2619
2684
|
border-radius: 2px;
|
|
@@ -2677,6 +2742,12 @@ body.is-fullscreen-mode .edit-site .components-editor-notices__snackbar {
|
|
|
2677
2742
|
display: none;
|
|
2678
2743
|
}
|
|
2679
2744
|
|
|
2745
|
+
.edit-site-sidebar-navigation-screen-navigation-menus__loading.components-spinner {
|
|
2746
|
+
margin-left: auto;
|
|
2747
|
+
margin-right: auto;
|
|
2748
|
+
display: block;
|
|
2749
|
+
}
|
|
2750
|
+
|
|
2680
2751
|
.edit-site-site-icon__icon {
|
|
2681
2752
|
fill: currentColor;
|
|
2682
2753
|
}
|
|
@@ -2685,14 +2756,28 @@ body.is-fullscreen-mode .edit-site .components-editor-notices__snackbar {
|
|
|
2685
2756
|
width: 100%;
|
|
2686
2757
|
height: auto;
|
|
2687
2758
|
border-radius: 4px;
|
|
2688
|
-
|
|
2689
|
-
object-fit: cover;
|
|
2759
|
+
object-fit: cover;
|
|
2690
2760
|
background: #333;
|
|
2691
2761
|
}
|
|
2692
2762
|
.edit-site-layout.is-full-canvas.is-edit-mode .edit-site-site-icon__image {
|
|
2693
2763
|
border-radius: 0;
|
|
2694
2764
|
}
|
|
2695
2765
|
|
|
2766
|
+
.edit-site-style-book {
|
|
2767
|
+
height: 100%;
|
|
2768
|
+
}
|
|
2769
|
+
.edit-site-style-book.is-button {
|
|
2770
|
+
border-radius: 8px;
|
|
2771
|
+
}
|
|
2772
|
+
|
|
2773
|
+
.edit-site-style-book__iframe.is-button {
|
|
2774
|
+
border-radius: 8px;
|
|
2775
|
+
}
|
|
2776
|
+
.edit-site-style-book__iframe.is-focused {
|
|
2777
|
+
outline: calc(2 * var(--wp-admin-border-width-focus)) solid var(--wp-admin-theme-color);
|
|
2778
|
+
outline-offset: calc(-2 * var(--wp-admin-border-width-focus));
|
|
2779
|
+
}
|
|
2780
|
+
|
|
2696
2781
|
.edit-site-style-book__tab-panel .components-tab-panel__tabs {
|
|
2697
2782
|
background: #fff;
|
|
2698
2783
|
color: #1e1e1e;
|
|
@@ -2727,6 +2812,66 @@ body.is-fullscreen-mode .edit-site .components-editor-notices__snackbar {
|
|
|
2727
2812
|
background: #fff;
|
|
2728
2813
|
}
|
|
2729
2814
|
|
|
2815
|
+
.edit-site-resizable-frame__inner {
|
|
2816
|
+
position: relative;
|
|
2817
|
+
}
|
|
2818
|
+
body:has(.edit-site-resizable-frame__inner.is-resizing) {
|
|
2819
|
+
cursor: col-resize;
|
|
2820
|
+
user-select: none;
|
|
2821
|
+
-webkit-user-select: none;
|
|
2822
|
+
}
|
|
2823
|
+
|
|
2824
|
+
.edit-site-resizable-frame__inner.is-resizing::before {
|
|
2825
|
+
position: absolute;
|
|
2826
|
+
z-index: 1;
|
|
2827
|
+
inset: 0;
|
|
2828
|
+
content: "";
|
|
2829
|
+
}
|
|
2830
|
+
|
|
2831
|
+
.edit-site-resizable-frame__inner-content {
|
|
2832
|
+
position: absolute;
|
|
2833
|
+
z-index: 0;
|
|
2834
|
+
inset: 0;
|
|
2835
|
+
}
|
|
2836
|
+
|
|
2837
|
+
.edit-site-resizable-frame__handle {
|
|
2838
|
+
position: absolute;
|
|
2839
|
+
width: 5px;
|
|
2840
|
+
height: 50px;
|
|
2841
|
+
background-color: rgba(255, 255, 255, 0.3);
|
|
2842
|
+
z-index: 100;
|
|
2843
|
+
border-radius: 5px;
|
|
2844
|
+
cursor: col-resize;
|
|
2845
|
+
display: flex;
|
|
2846
|
+
align-items: center;
|
|
2847
|
+
justify-content: flex-end;
|
|
2848
|
+
top: 50%;
|
|
2849
|
+
}
|
|
2850
|
+
.edit-site-resizable-frame__handle::before {
|
|
2851
|
+
position: absolute;
|
|
2852
|
+
left: 100%;
|
|
2853
|
+
height: 100%;
|
|
2854
|
+
width: 24px;
|
|
2855
|
+
content: "";
|
|
2856
|
+
}
|
|
2857
|
+
.edit-site-resizable-frame__handle::after {
|
|
2858
|
+
position: absolute;
|
|
2859
|
+
right: 100%;
|
|
2860
|
+
height: 100%;
|
|
2861
|
+
width: 24px;
|
|
2862
|
+
content: "";
|
|
2863
|
+
}
|
|
2864
|
+
.edit-site-resizable-frame__handle:hover {
|
|
2865
|
+
background-color: var(--wp-admin-theme-color);
|
|
2866
|
+
}
|
|
2867
|
+
.edit-site-resizable-frame__handle .edit-site-resizable-frame__handle-label {
|
|
2868
|
+
border-radius: 2px;
|
|
2869
|
+
background: var(--wp-admin-theme-color);
|
|
2870
|
+
padding: 4px 8px;
|
|
2871
|
+
color: #fff;
|
|
2872
|
+
margin-right: 8px;
|
|
2873
|
+
}
|
|
2874
|
+
|
|
2730
2875
|
.edit-site-push-changes-to-global-styles-control .components-button {
|
|
2731
2876
|
justify-content: center;
|
|
2732
2877
|
width: 100%;
|
|
@@ -2817,7 +2962,7 @@ body.site-editor-php .media-frame select.attachment-filters:last-of-type {
|
|
|
2817
2962
|
display: none;
|
|
2818
2963
|
}
|
|
2819
2964
|
.edit-site .interface-interface-skeleton__content {
|
|
2820
|
-
background-color: #
|
|
2965
|
+
background-color: #1e1e1e;
|
|
2821
2966
|
}
|
|
2822
2967
|
|
|
2823
2968
|
/**
|
|
@@ -2840,7 +2985,7 @@ body.admin-color-light {
|
|
|
2840
2985
|
--wp-admin-theme-color-darker-20--rgb: 0, 97, 135;
|
|
2841
2986
|
--wp-admin-border-width-focus: 2px;
|
|
2842
2987
|
}
|
|
2843
|
-
@media (
|
|
2988
|
+
@media (min-resolution: 192dpi) {
|
|
2844
2989
|
body.admin-color-light {
|
|
2845
2990
|
--wp-admin-border-width-focus: 1.5px;
|
|
2846
2991
|
}
|
|
@@ -2855,7 +3000,7 @@ body.admin-color-modern {
|
|
|
2855
3000
|
--wp-admin-theme-color-darker-20--rgb: 24, 58, 214;
|
|
2856
3001
|
--wp-admin-border-width-focus: 2px;
|
|
2857
3002
|
}
|
|
2858
|
-
@media (
|
|
3003
|
+
@media (min-resolution: 192dpi) {
|
|
2859
3004
|
body.admin-color-modern {
|
|
2860
3005
|
--wp-admin-border-width-focus: 1.5px;
|
|
2861
3006
|
}
|
|
@@ -2870,7 +3015,7 @@ body.admin-color-blue {
|
|
|
2870
3015
|
--wp-admin-theme-color-darker-20--rgb: 6, 64, 84;
|
|
2871
3016
|
--wp-admin-border-width-focus: 2px;
|
|
2872
3017
|
}
|
|
2873
|
-
@media (
|
|
3018
|
+
@media (min-resolution: 192dpi) {
|
|
2874
3019
|
body.admin-color-blue {
|
|
2875
3020
|
--wp-admin-border-width-focus: 1.5px;
|
|
2876
3021
|
}
|
|
@@ -2885,7 +3030,7 @@ body.admin-color-coffee {
|
|
|
2885
3030
|
--wp-admin-theme-color-darker-20--rgb: 43, 39, 36;
|
|
2886
3031
|
--wp-admin-border-width-focus: 2px;
|
|
2887
3032
|
}
|
|
2888
|
-
@media (
|
|
3033
|
+
@media (min-resolution: 192dpi) {
|
|
2889
3034
|
body.admin-color-coffee {
|
|
2890
3035
|
--wp-admin-border-width-focus: 1.5px;
|
|
2891
3036
|
}
|
|
@@ -2900,7 +3045,7 @@ body.admin-color-ectoplasm {
|
|
|
2900
3045
|
--wp-admin-theme-color-darker-20--rgb: 58, 44, 77;
|
|
2901
3046
|
--wp-admin-border-width-focus: 2px;
|
|
2902
3047
|
}
|
|
2903
|
-
@media (
|
|
3048
|
+
@media (min-resolution: 192dpi) {
|
|
2904
3049
|
body.admin-color-ectoplasm {
|
|
2905
3050
|
--wp-admin-border-width-focus: 1.5px;
|
|
2906
3051
|
}
|
|
@@ -2915,7 +3060,7 @@ body.admin-color-midnight {
|
|
|
2915
3060
|
--wp-admin-theme-color-darker-20--rgb: 208, 44, 33;
|
|
2916
3061
|
--wp-admin-border-width-focus: 2px;
|
|
2917
3062
|
}
|
|
2918
|
-
@media (
|
|
3063
|
+
@media (min-resolution: 192dpi) {
|
|
2919
3064
|
body.admin-color-midnight {
|
|
2920
3065
|
--wp-admin-border-width-focus: 1.5px;
|
|
2921
3066
|
}
|
|
@@ -2930,7 +3075,7 @@ body.admin-color-ocean {
|
|
|
2930
3075
|
--wp-admin-theme-color-darker-20--rgb: 76, 96, 102;
|
|
2931
3076
|
--wp-admin-border-width-focus: 2px;
|
|
2932
3077
|
}
|
|
2933
|
-
@media (
|
|
3078
|
+
@media (min-resolution: 192dpi) {
|
|
2934
3079
|
body.admin-color-ocean {
|
|
2935
3080
|
--wp-admin-border-width-focus: 1.5px;
|
|
2936
3081
|
}
|
|
@@ -2945,7 +3090,7 @@ body.admin-color-sunrise {
|
|
|
2945
3090
|
--wp-admin-theme-color-darker-20--rgb: 195, 105, 34;
|
|
2946
3091
|
--wp-admin-border-width-focus: 2px;
|
|
2947
3092
|
}
|
|
2948
|
-
@media (
|
|
3093
|
+
@media (min-resolution: 192dpi) {
|
|
2949
3094
|
body.admin-color-sunrise {
|
|
2950
3095
|
--wp-admin-border-width-focus: 1.5px;
|
|
2951
3096
|
}
|