@wordpress/edit-site 5.1.0 → 5.3.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 +8 -0
- package/LICENSE.md +1 -1
- package/build/components/add-new-template/add-custom-generic-template-modal.js +8 -10
- package/build/components/add-new-template/add-custom-generic-template-modal.js.map +1 -1
- package/build/components/add-new-template/add-custom-template-modal.js +0 -1
- package/build/components/add-new-template/add-custom-template-modal.js.map +1 -1
- package/build/components/add-new-template/new-template-part.js +5 -9
- package/build/components/add-new-template/new-template-part.js.map +1 -1
- package/build/components/app/index.js +2 -7
- package/build/components/app/index.js.map +1 -1
- package/build/components/block-editor/editor-canvas.js +0 -1
- package/build/components/block-editor/editor-canvas.js.map +1 -1
- package/build/components/block-editor/index.js +25 -59
- package/build/components/block-editor/index.js.map +1 -1
- package/build/components/block-editor/inserter-media-categories.js +237 -0
- package/build/components/block-editor/inserter-media-categories.js.map +1 -0
- package/build/components/block-editor/resize-handle.js +2 -1
- package/build/components/block-editor/resize-handle.js.map +1 -1
- package/build/components/canvas-spinner/index.js +20 -0
- package/build/components/canvas-spinner/index.js.map +1 -0
- package/build/components/create-template-part-modal/index.js +4 -2
- package/build/components/create-template-part-modal/index.js.map +1 -1
- package/build/components/editor/index.js +4 -2
- package/build/components/editor/index.js.map +1 -1
- package/build/components/error-boundary/index.js +2 -12
- package/build/components/error-boundary/index.js.map +1 -1
- package/build/components/error-boundary/warning.js +5 -28
- package/build/components/error-boundary/warning.js.map +1 -1
- package/build/components/global-styles/block-preview-panel.js +10 -4
- package/build/components/global-styles/block-preview-panel.js.map +1 -1
- package/build/components/global-styles/border-panel.js +18 -9
- package/build/components/global-styles/border-panel.js.map +1 -1
- package/build/components/global-styles/color-palette-panel.js +13 -7
- package/build/components/global-styles/color-palette-panel.js.map +1 -1
- package/build/components/global-styles/context-menu.js +47 -4
- package/build/components/global-styles/context-menu.js.map +1 -1
- package/build/components/global-styles/custom-css.js +65 -14
- package/build/components/global-styles/custom-css.js.map +1 -1
- package/build/components/global-styles/dimensions-panel.js +50 -27
- package/build/components/global-styles/dimensions-panel.js.map +1 -1
- package/build/components/global-styles/global-styles-provider.js +13 -3
- package/build/components/global-styles/global-styles-provider.js.map +1 -1
- package/build/components/global-styles/gradients-palette-panel.js +17 -11
- package/build/components/global-styles/gradients-palette-panel.js.map +1 -1
- package/build/components/global-styles/hooks.js +21 -142
- package/build/components/global-styles/hooks.js.map +1 -1
- package/build/components/global-styles/index.js +0 -28
- package/build/components/global-styles/index.js.map +1 -1
- package/build/components/global-styles/palette.js +11 -4
- package/build/components/global-styles/palette.js.map +1 -1
- package/build/components/global-styles/preview.js +18 -15
- package/build/components/global-styles/preview.js.map +1 -1
- package/build/components/global-styles/screen-background-color.js +28 -13
- package/build/components/global-styles/screen-background-color.js.map +1 -1
- package/build/components/global-styles/screen-block-list.js +4 -1
- package/build/components/global-styles/screen-block-list.js.map +1 -1
- package/build/components/global-styles/screen-border.js +16 -4
- package/build/components/global-styles/screen-border.js.map +1 -1
- package/build/components/global-styles/screen-button-color.js +17 -9
- package/build/components/global-styles/screen-button-color.js.map +1 -1
- package/build/components/global-styles/screen-colors.js +59 -26
- package/build/components/global-styles/screen-colors.js.map +1 -1
- package/build/components/global-styles/screen-css.js +20 -8
- package/build/components/global-styles/screen-css.js.map +1 -1
- package/build/components/global-styles/screen-heading-color.js +24 -16
- package/build/components/global-styles/screen-heading-color.js.map +1 -1
- package/build/components/global-styles/screen-layout.js +9 -3
- package/build/components/global-styles/screen-layout.js.map +1 -1
- package/build/components/global-styles/screen-link-color.js +19 -11
- package/build/components/global-styles/screen-link-color.js.map +1 -1
- package/build/components/global-styles/screen-root.js +25 -9
- package/build/components/global-styles/screen-root.js.map +1 -1
- package/build/components/global-styles/screen-style-variations.js +8 -4
- package/build/components/global-styles/screen-style-variations.js.map +1 -1
- package/build/components/global-styles/screen-text-color.js +15 -7
- package/build/components/global-styles/screen-text-color.js.map +1 -1
- package/build/components/global-styles/screen-typography.js +23 -11
- package/build/components/global-styles/screen-typography.js.map +1 -1
- package/build/components/global-styles/screen-variations.js +71 -0
- package/build/components/global-styles/screen-variations.js.map +1 -0
- package/build/components/global-styles/shadow-panel.js +196 -0
- package/build/components/global-styles/shadow-panel.js.map +1 -0
- package/build/components/global-styles/typography-panel.js +37 -22
- package/build/components/global-styles/typography-panel.js.map +1 -1
- package/build/components/global-styles/typography-preview.js +19 -9
- package/build/components/global-styles/typography-preview.js.map +1 -1
- package/build/components/global-styles/ui.js +139 -21
- package/build/components/global-styles/ui.js.map +1 -1
- package/build/components/global-styles/utils.js +8 -290
- package/build/components/global-styles/utils.js.map +1 -1
- package/build/components/global-styles/variations-panel.js +85 -0
- package/build/components/global-styles/variations-panel.js.map +1 -0
- package/build/components/global-styles-renderer/index.js +7 -5
- package/build/components/global-styles-renderer/index.js.map +1 -1
- package/build/components/header-edit-mode/document-actions/index.js +2 -2
- package/build/components/header-edit-mode/document-actions/index.js.map +1 -1
- package/build/components/keyboard-shortcut-help-modal/index.js +0 -1
- package/build/components/keyboard-shortcut-help-modal/index.js.map +1 -1
- package/build/components/layout/index.js +86 -15
- package/build/components/layout/index.js.map +1 -1
- package/build/components/list/actions/rename-menu-item.js +8 -11
- package/build/components/list/actions/rename-menu-item.js.map +1 -1
- package/build/components/{sidebar-edit-mode/navigation-menu-sidebar/navigation-inspector.js → navigation-inspector/index.js} +3 -2
- package/build/components/navigation-inspector/index.js.map +1 -0
- package/build/components/{sidebar-edit-mode/navigation-menu-sidebar → navigation-inspector}/navigation-menu.js +13 -15
- package/build/components/navigation-inspector/navigation-menu.js.map +1 -0
- package/build/components/sidebar/index.js +3 -1
- package/build/components/sidebar/index.js.map +1 -1
- package/build/components/sidebar-edit-mode/global-styles-sidebar.js +3 -18
- package/build/components/sidebar-edit-mode/global-styles-sidebar.js.map +1 -1
- package/build/components/sidebar-edit-mode/index.js +1 -14
- package/build/components/sidebar-edit-mode/index.js.map +1 -1
- package/build/components/sidebar-navigation-screen/index.js +3 -2
- package/build/components/sidebar-navigation-screen/index.js.map +1 -1
- package/build/components/sidebar-navigation-screen-main/index.js +23 -1
- package/build/components/sidebar-navigation-screen-main/index.js.map +1 -1
- package/build/components/sidebar-navigation-screen-navigation-menus/index.js +35 -0
- package/build/components/sidebar-navigation-screen-navigation-menus/index.js.map +1 -0
- package/build/components/sidebar-navigation-screen-templates/index.js +3 -8
- package/build/components/sidebar-navigation-screen-templates/index.js.map +1 -1
- package/build/components/site-hub/index.js +11 -11
- package/build/components/site-hub/index.js.map +1 -1
- package/build/components/site-icon/index.js +1 -1
- package/build/components/site-icon/index.js.map +1 -1
- package/build/components/style-book/index.js +7 -4
- package/build/components/style-book/index.js.map +1 -1
- package/build/components/sync-state-with-url/use-sync-canvas-mode-with-url.js +54 -0
- package/build/components/sync-state-with-url/use-sync-canvas-mode-with-url.js.map +1 -0
- package/build/components/template-details/edit-template-title.js +1 -0
- package/build/components/template-details/edit-template-title.js.map +1 -1
- package/build/components/template-details/template-part-area-selector.js +1 -0
- package/build/components/template-details/template-part-area-selector.js.map +1 -1
- package/build/components/template-part-converter/convert-to-template-part.js +5 -9
- package/build/components/template-part-converter/convert-to-template-part.js.map +1 -1
- package/build/experiments.js +19 -0
- package/build/experiments.js.map +1 -0
- package/build/hooks/push-changes-to-global-styles/index.js +68 -9
- package/build/hooks/push-changes-to-global-styles/index.js.map +1 -1
- package/build/index.js +53 -60
- package/build/index.js.map +1 -1
- package/build/store/reducer.js +1 -1
- package/build/store/reducer.js.map +1 -1
- package/build/store/selectors.js +7 -27
- package/build/store/selectors.js.map +1 -1
- package/build/store/utils.js +77 -0
- package/build/store/utils.js.map +1 -0
- package/build/utils/template-part-create.js +71 -0
- package/build/utils/template-part-create.js.map +1 -0
- package/build-module/components/add-new-template/add-custom-generic-template-modal.js +9 -11
- package/build-module/components/add-new-template/add-custom-generic-template-modal.js.map +1 -1
- package/build-module/components/add-new-template/add-custom-template-modal.js +0 -1
- package/build-module/components/add-new-template/add-custom-template-modal.js.map +1 -1
- package/build-module/components/add-new-template/new-template-part.js +5 -9
- package/build-module/components/add-new-template/new-template-part.js.map +1 -1
- package/build-module/components/app/index.js +2 -7
- package/build-module/components/app/index.js.map +1 -1
- package/build-module/components/block-editor/editor-canvas.js +0 -1
- package/build-module/components/block-editor/editor-canvas.js.map +1 -1
- package/build-module/components/block-editor/index.js +27 -57
- package/build-module/components/block-editor/index.js.map +1 -1
- package/build-module/components/block-editor/inserter-media-categories.js +225 -0
- package/build-module/components/block-editor/inserter-media-categories.js.map +1 -0
- package/build-module/components/block-editor/resize-handle.js +2 -1
- package/build-module/components/block-editor/resize-handle.js.map +1 -1
- package/build-module/components/canvas-spinner/index.js +12 -0
- package/build-module/components/canvas-spinner/index.js.map +1 -0
- package/build-module/components/create-template-part-modal/index.js +5 -3
- package/build-module/components/create-template-part-modal/index.js.map +1 -1
- package/build-module/components/editor/index.js +3 -2
- package/build-module/components/editor/index.js.map +1 -1
- package/build-module/components/error-boundary/index.js +2 -12
- package/build-module/components/error-boundary/index.js.map +1 -1
- package/build-module/components/error-boundary/warning.js +5 -28
- package/build-module/components/error-boundary/warning.js.map +1 -1
- package/build-module/components/global-styles/block-preview-panel.js +10 -4
- package/build-module/components/global-styles/block-preview-panel.js.map +1 -1
- package/build-module/components/global-styles/border-panel.js +18 -11
- package/build-module/components/global-styles/border-panel.js.map +1 -1
- package/build-module/components/global-styles/color-palette-panel.js +11 -7
- package/build-module/components/global-styles/color-palette-panel.js.map +1 -1
- package/build-module/components/global-styles/context-menu.js +46 -8
- package/build-module/components/global-styles/context-menu.js.map +1 -1
- package/build-module/components/global-styles/custom-css.js +61 -15
- package/build-module/components/global-styles/custom-css.js.map +1 -1
- package/build-module/components/global-styles/dimensions-panel.js +50 -28
- package/build-module/components/global-styles/dimensions-panel.js.map +1 -1
- package/build-module/components/global-styles/global-styles-provider.js +7 -2
- package/build-module/components/global-styles/global-styles-provider.js.map +1 -1
- package/build-module/components/global-styles/gradients-palette-panel.js +15 -11
- package/build-module/components/global-styles/gradients-palette-panel.js.map +1 -1
- package/build-module/components/global-styles/hooks.js +23 -134
- package/build-module/components/global-styles/hooks.js.map +1 -1
- package/build-module/components/global-styles/index.js +0 -2
- package/build-module/components/global-styles/index.js.map +1 -1
- package/build-module/components/global-styles/palette.js +10 -5
- package/build-module/components/global-styles/palette.js.map +1 -1
- package/build-module/components/global-styles/preview.js +18 -14
- package/build-module/components/global-styles/preview.js.map +1 -1
- package/build-module/components/global-styles/screen-background-color.js +27 -15
- package/build-module/components/global-styles/screen-background-color.js.map +1 -1
- package/build-module/components/global-styles/screen-block-list.js +3 -1
- package/build-module/components/global-styles/screen-block-list.js.map +1 -1
- package/build-module/components/global-styles/screen-border.js +14 -4
- package/build-module/components/global-styles/screen-border.js.map +1 -1
- package/build-module/components/global-styles/screen-button-color.js +17 -11
- package/build-module/components/global-styles/screen-button-color.js.map +1 -1
- package/build-module/components/global-styles/screen-colors.js +56 -27
- package/build-module/components/global-styles/screen-colors.js.map +1 -1
- package/build-module/components/global-styles/screen-css.js +21 -9
- package/build-module/components/global-styles/screen-css.js.map +1 -1
- package/build-module/components/global-styles/screen-heading-color.js +24 -18
- package/build-module/components/global-styles/screen-heading-color.js.map +1 -1
- package/build-module/components/global-styles/screen-layout.js +8 -3
- package/build-module/components/global-styles/screen-layout.js.map +1 -1
- package/build-module/components/global-styles/screen-link-color.js +19 -13
- package/build-module/components/global-styles/screen-link-color.js.map +1 -1
- package/build-module/components/global-styles/screen-root.js +23 -9
- package/build-module/components/global-styles/screen-root.js.map +1 -1
- package/build-module/components/global-styles/screen-style-variations.js +5 -2
- package/build-module/components/global-styles/screen-style-variations.js.map +1 -1
- package/build-module/components/global-styles/screen-text-color.js +15 -9
- package/build-module/components/global-styles/screen-text-color.js.map +1 -1
- package/build-module/components/global-styles/screen-typography.js +19 -10
- package/build-module/components/global-styles/screen-typography.js.map +1 -1
- package/build-module/components/global-styles/screen-variations.js +54 -0
- package/build-module/components/global-styles/screen-variations.js.map +1 -0
- package/build-module/components/global-styles/shadow-panel.js +177 -0
- package/build-module/components/global-styles/shadow-panel.js.map +1 -0
- package/build-module/components/global-styles/typography-panel.js +37 -24
- package/build-module/components/global-styles/typography-panel.js.map +1 -1
- package/build-module/components/global-styles/typography-preview.js +17 -9
- package/build-module/components/global-styles/typography-preview.js.map +1 -1
- package/build-module/components/global-styles/ui.js +132 -22
- package/build-module/components/global-styles/ui.js.map +1 -1
- package/build-module/components/global-styles/utils.js +7 -277
- package/build-module/components/global-styles/utils.js.map +1 -1
- package/build-module/components/global-styles/variations-panel.js +68 -0
- package/build-module/components/global-styles/variations-panel.js.map +1 -0
- package/build-module/components/global-styles-renderer/index.js +5 -5
- package/build-module/components/global-styles-renderer/index.js.map +1 -1
- package/build-module/components/header-edit-mode/document-actions/index.js +2 -2
- package/build-module/components/header-edit-mode/document-actions/index.js.map +1 -1
- package/build-module/components/keyboard-shortcut-help-modal/index.js +0 -1
- package/build-module/components/keyboard-shortcut-help-modal/index.js.map +1 -1
- package/build-module/components/layout/index.js +86 -17
- package/build-module/components/layout/index.js.map +1 -1
- package/build-module/components/list/actions/rename-menu-item.js +9 -12
- package/build-module/components/list/actions/rename-menu-item.js.map +1 -1
- package/build-module/components/{sidebar-edit-mode/navigation-menu-sidebar/navigation-inspector.js → navigation-inspector/index.js} +3 -2
- package/build-module/components/navigation-inspector/index.js.map +1 -0
- package/build-module/components/{sidebar-edit-mode/navigation-menu-sidebar → navigation-inspector}/navigation-menu.js +13 -16
- package/build-module/components/navigation-inspector/navigation-menu.js.map +1 -0
- package/build-module/components/sidebar/index.js +2 -1
- package/build-module/components/sidebar/index.js.map +1 -1
- package/build-module/components/sidebar-edit-mode/global-styles-sidebar.js +6 -21
- package/build-module/components/sidebar-edit-mode/global-styles-sidebar.js.map +1 -1
- package/build-module/components/sidebar-edit-mode/index.js +1 -13
- package/build-module/components/sidebar-edit-mode/index.js.map +1 -1
- package/build-module/components/sidebar-navigation-screen/index.js +3 -2
- package/build-module/components/sidebar-navigation-screen/index.js.map +1 -1
- package/build-module/components/sidebar-navigation-screen-main/index.js +22 -2
- package/build-module/components/sidebar-navigation-screen-main/index.js.map +1 -1
- package/build-module/components/sidebar-navigation-screen-navigation-menus/index.js +23 -0
- package/build-module/components/sidebar-navigation-screen-navigation-menus/index.js.map +1 -0
- package/build-module/components/sidebar-navigation-screen-templates/index.js +4 -9
- package/build-module/components/sidebar-navigation-screen-templates/index.js.map +1 -1
- package/build-module/components/site-hub/index.js +12 -11
- package/build-module/components/site-hub/index.js.map +1 -1
- package/build-module/components/site-icon/index.js +1 -1
- package/build-module/components/site-icon/index.js.map +1 -1
- package/build-module/components/style-book/index.js +8 -5
- package/build-module/components/style-book/index.js.map +1 -1
- package/build-module/components/sync-state-with-url/use-sync-canvas-mode-with-url.js +43 -0
- package/build-module/components/sync-state-with-url/use-sync-canvas-mode-with-url.js.map +1 -0
- package/build-module/components/template-details/edit-template-title.js +1 -0
- package/build-module/components/template-details/edit-template-title.js.map +1 -1
- package/build-module/components/template-details/template-part-area-selector.js +1 -0
- package/build-module/components/template-details/template-part-area-selector.js.map +1 -1
- package/build-module/components/template-part-converter/convert-to-template-part.js +5 -9
- package/build-module/components/template-part-converter/convert-to-template-part.js.map +1 -1
- package/build-module/experiments.js +9 -0
- package/build-module/experiments.js.map +1 -0
- package/build-module/hooks/push-changes-to-global-styles/index.js +65 -6
- package/build-module/hooks/push-changes-to-global-styles/index.js.map +1 -1
- package/build-module/index.js +52 -60
- package/build-module/index.js.map +1 -1
- package/build-module/store/reducer.js +1 -1
- package/build-module/store/reducer.js.map +1 -1
- package/build-module/store/selectors.js +6 -26
- package/build-module/store/selectors.js.map +1 -1
- package/build-module/store/utils.js +66 -0
- package/build-module/store/utils.js.map +1 -0
- package/build-module/utils/template-part-create.js +53 -0
- package/build-module/utils/template-part-create.js.map +1 -0
- package/build-style/style-rtl.css +448 -278
- package/build-style/style.css +448 -278
- package/package.json +32 -30
- package/src/components/add-new-template/add-custom-generic-template-modal.js +20 -28
- package/src/components/add-new-template/add-custom-template-modal.js +0 -1
- package/src/components/add-new-template/new-template-part.js +12 -11
- package/src/components/add-new-template/style.scss +0 -4
- package/src/components/app/index.js +2 -2
- package/src/components/block-editor/editor-canvas.js +0 -1
- package/src/components/block-editor/index.js +21 -77
- package/src/components/block-editor/inserter-media-categories.js +247 -0
- package/src/components/block-editor/resize-handle.js +6 -2
- package/src/components/block-editor/style.scss +55 -7
- package/src/components/canvas-spinner/index.js +12 -0
- package/src/components/canvas-spinner/style.scss +7 -0
- package/src/components/create-template-part-modal/index.js +75 -67
- package/src/components/create-template-part-modal/style.scss +0 -10
- package/src/components/editor/index.js +5 -3
- package/src/components/error-boundary/index.js +2 -10
- package/src/components/error-boundary/warning.js +6 -35
- package/src/components/global-styles/README.md +1 -75
- package/src/components/global-styles/block-preview-panel.js +16 -4
- package/src/components/global-styles/border-panel.js +22 -16
- package/src/components/global-styles/color-palette-panel.js +10 -7
- package/src/components/global-styles/context-menu.js +117 -41
- package/src/components/global-styles/custom-css.js +76 -19
- package/src/components/global-styles/dimensions-panel.js +58 -31
- package/src/components/global-styles/global-styles-provider.js +6 -2
- package/src/components/global-styles/gradients-palette-panel.js +17 -11
- package/src/components/global-styles/hooks.js +31 -155
- package/src/components/global-styles/index.js +0 -2
- package/src/components/global-styles/palette.js +9 -5
- package/src/components/global-styles/preview.js +19 -13
- package/src/components/global-styles/screen-background-color.js +42 -19
- package/src/components/global-styles/screen-block-list.js +6 -1
- package/src/components/global-styles/screen-border.js +13 -5
- package/src/components/global-styles/screen-button-color.js +21 -19
- package/src/components/global-styles/screen-colors.js +66 -22
- package/src/components/global-styles/screen-css.js +30 -14
- package/src/components/global-styles/screen-heading-color.js +32 -27
- package/src/components/global-styles/screen-layout.js +7 -4
- package/src/components/global-styles/screen-link-color.js +34 -22
- package/src/components/global-styles/screen-root.js +24 -9
- package/src/components/global-styles/screen-style-variations.js +7 -2
- package/src/components/global-styles/screen-text-color.js +15 -15
- package/src/components/global-styles/screen-typography.js +34 -12
- package/src/components/global-styles/screen-variations.js +47 -0
- package/src/components/global-styles/shadow-panel.js +174 -0
- package/src/components/global-styles/style.scss +94 -1
- package/src/components/global-styles/typography-panel.js +58 -23
- package/src/components/global-styles/typography-preview.js +28 -9
- package/src/components/global-styles/ui.js +130 -17
- package/src/components/global-styles/utils.js +7 -330
- package/src/components/global-styles/variations-panel.js +78 -0
- package/src/components/global-styles-renderer/index.js +3 -4
- package/src/components/header-edit-mode/document-actions/index.js +1 -1
- package/src/components/keyboard-shortcut-help-modal/index.js +0 -1
- package/src/components/layout/index.js +116 -21
- package/src/components/layout/style.scss +29 -5
- package/src/components/list/actions/rename-menu-item.js +14 -23
- package/src/components/list/style.scss +0 -4
- package/src/components/{sidebar-edit-mode/navigation-menu-sidebar/navigation-inspector.js → navigation-inspector/index.js} +3 -4
- package/src/components/{sidebar-edit-mode/navigation-menu-sidebar → navigation-inspector}/navigation-menu.js +10 -12
- package/src/components/{sidebar-edit-mode/navigation-menu-sidebar → navigation-inspector}/style.scss +4 -17
- package/src/components/sidebar/index.js +2 -0
- package/src/components/sidebar-edit-mode/global-styles-sidebar.js +8 -32
- package/src/components/sidebar-edit-mode/index.js +0 -11
- package/src/components/sidebar-edit-mode/settings-header/style.scss +8 -0
- package/src/components/sidebar-navigation-item/style.scss +28 -3
- package/src/components/sidebar-navigation-screen/index.js +4 -3
- package/src/components/sidebar-navigation-screen/style.scss +2 -0
- package/src/components/sidebar-navigation-screen-main/index.js +23 -1
- package/src/components/sidebar-navigation-screen-navigation-menus/index.js +25 -0
- package/src/components/sidebar-navigation-screen-navigation-menus/style.scss +12 -0
- package/src/components/sidebar-navigation-screen-templates/index.js +12 -19
- package/src/components/site-hub/index.js +120 -109
- package/src/components/site-hub/style.scss +7 -1
- package/src/components/site-icon/index.js +1 -1
- package/src/components/site-icon/style.scss +2 -2
- package/src/components/style-book/index.js +10 -5
- package/src/components/sync-state-with-url/use-sync-canvas-mode-with-url.js +40 -0
- package/src/components/template-details/edit-template-title.js +1 -0
- package/src/components/template-details/template-part-area-selector.js +1 -0
- package/src/components/template-part-converter/convert-to-template-part.js +12 -10
- package/src/experiments.js +10 -0
- package/src/hooks/push-changes-to-global-styles/index.js +66 -8
- package/src/index.js +51 -59
- package/src/store/reducer.js +1 -1
- package/src/store/selectors.js +6 -26
- package/src/store/test/utils.js +181 -0
- package/src/store/utils.js +69 -0
- package/src/style.scss +4 -2
- package/src/utils/template-part-create.js +62 -0
- package/src/utils/test/template-part-create.js +63 -0
- package/build/components/global-styles/context.js +0 -22
- package/build/components/global-styles/context.js.map +0 -1
- package/build/components/global-styles/typography-utils.js +0 -92
- package/build/components/global-styles/typography-utils.js.map +0 -1
- package/build/components/global-styles/use-global-styles-output.js +0 -857
- package/build/components/global-styles/use-global-styles-output.js.map +0 -1
- package/build/components/sidebar-edit-mode/navigation-menu-sidebar/index.js +0 -42
- package/build/components/sidebar-edit-mode/navigation-menu-sidebar/index.js.map +0 -1
- package/build/components/sidebar-edit-mode/navigation-menu-sidebar/navigation-inspector.js.map +0 -1
- package/build/components/sidebar-edit-mode/navigation-menu-sidebar/navigation-menu.js.map +0 -1
- package/build-module/components/global-styles/context.js +0 -12
- package/build-module/components/global-styles/context.js.map +0 -1
- package/build-module/components/global-styles/typography-utils.js +0 -84
- package/build-module/components/global-styles/typography-utils.js.map +0 -1
- package/build-module/components/global-styles/use-global-styles-output.js +0 -815
- package/build-module/components/global-styles/use-global-styles-output.js.map +0 -1
- package/build-module/components/sidebar-edit-mode/navigation-menu-sidebar/index.js +0 -28
- package/build-module/components/sidebar-edit-mode/navigation-menu-sidebar/index.js.map +0 -1
- package/build-module/components/sidebar-edit-mode/navigation-menu-sidebar/navigation-inspector.js.map +0 -1
- package/build-module/components/sidebar-edit-mode/navigation-menu-sidebar/navigation-menu.js.map +0 -1
- package/src/components/global-styles/context.js +0 -15
- package/src/components/global-styles/test/typography-utils.js +0 -393
- package/src/components/global-styles/test/use-global-styles-output.js +0 -814
- package/src/components/global-styles/test/utils.js +0 -206
- package/src/components/global-styles/typography-utils.js +0 -87
- package/src/components/global-styles/use-global-styles-output.js +0 -936
- package/src/components/sidebar-edit-mode/navigation-menu-sidebar/index.js +0 -37
package/build-style/style.css
CHANGED
|
@@ -501,6 +501,9 @@ body.is-fullscreen-mode .interface-interface-skeleton {
|
|
|
501
501
|
box-shadow: none;
|
|
502
502
|
font-weight: 500;
|
|
503
503
|
}
|
|
504
|
+
.interface-preferences__tabs .components-tab-panel__tabs .components-tab-panel__tabs-item.is-active::after {
|
|
505
|
+
content: none;
|
|
506
|
+
}
|
|
504
507
|
.interface-preferences__tabs .components-tab-panel__tabs .components-tab-panel__tabs-item:focus:not(:disabled) {
|
|
505
508
|
box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
|
|
506
509
|
}
|
|
@@ -546,6 +549,144 @@ body.is-fullscreen-mode .interface-interface-skeleton {
|
|
|
546
549
|
margin-left: 48px;
|
|
547
550
|
}
|
|
548
551
|
|
|
552
|
+
@media (min-width: 600px) {
|
|
553
|
+
.edit-site-new-template-dropdown .edit-site-new-template-dropdown__popover {
|
|
554
|
+
min-width: 300px;
|
|
555
|
+
}
|
|
556
|
+
}
|
|
557
|
+
|
|
558
|
+
.edit-site-custom-template-modal__contents > .components-button {
|
|
559
|
+
padding: 24px;
|
|
560
|
+
box-shadow: inset 0 0 0 1px #949494;
|
|
561
|
+
border-radius: 2px;
|
|
562
|
+
width: 256px;
|
|
563
|
+
height: auto;
|
|
564
|
+
display: flex;
|
|
565
|
+
flex-direction: column;
|
|
566
|
+
gap: 8px;
|
|
567
|
+
outline: 1px solid transparent;
|
|
568
|
+
}
|
|
569
|
+
.edit-site-custom-template-modal__contents > .components-button span:first-child {
|
|
570
|
+
color: #1e1e1e;
|
|
571
|
+
}
|
|
572
|
+
.edit-site-custom-template-modal__contents > .components-button span {
|
|
573
|
+
color: #757575;
|
|
574
|
+
}
|
|
575
|
+
.edit-site-custom-template-modal__contents > .components-button:hover {
|
|
576
|
+
color: var(--wp-admin-theme-color-darker-10);
|
|
577
|
+
box-shadow: inset 0 0 0 1px var(--wp-admin-theme-color-darker-10);
|
|
578
|
+
}
|
|
579
|
+
.edit-site-custom-template-modal__contents > .components-button:hover span:first-child {
|
|
580
|
+
color: var(--wp-admin-theme-color);
|
|
581
|
+
}
|
|
582
|
+
.edit-site-custom-template-modal__contents > .components-button:focus {
|
|
583
|
+
box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
|
|
584
|
+
outline: 3px solid transparent;
|
|
585
|
+
}
|
|
586
|
+
.edit-site-custom-template-modal__contents > .components-button:focus span:first-child {
|
|
587
|
+
color: var(--wp-admin-theme-color);
|
|
588
|
+
}
|
|
589
|
+
.edit-site-custom-template-modal .components-search-control input[type=search].components-search-control__input {
|
|
590
|
+
background: #fff;
|
|
591
|
+
border: 1px solid #ddd;
|
|
592
|
+
}
|
|
593
|
+
.edit-site-custom-template-modal .components-search-control input[type=search].components-search-control__input:focus {
|
|
594
|
+
border-color: var(--wp-admin-theme-color);
|
|
595
|
+
box-shadow: 0 0 0 1px var(--wp-admin-theme-color);
|
|
596
|
+
}
|
|
597
|
+
@media (min-width: 782px) {
|
|
598
|
+
.edit-site-custom-template-modal {
|
|
599
|
+
width: 456px;
|
|
600
|
+
}
|
|
601
|
+
}
|
|
602
|
+
|
|
603
|
+
.edit-site-custom-template-modal__suggestions_list {
|
|
604
|
+
margin-top: 16px;
|
|
605
|
+
}
|
|
606
|
+
@media (min-width: 600px) {
|
|
607
|
+
.edit-site-custom-template-modal__suggestions_list {
|
|
608
|
+
height: 232px;
|
|
609
|
+
overflow: scroll;
|
|
610
|
+
}
|
|
611
|
+
}
|
|
612
|
+
.edit-site-custom-template-modal__suggestions_list__list-item {
|
|
613
|
+
display: block;
|
|
614
|
+
width: 100%;
|
|
615
|
+
text-align: left;
|
|
616
|
+
white-space: pre-wrap;
|
|
617
|
+
overflow-wrap: break-word;
|
|
618
|
+
height: auto;
|
|
619
|
+
}
|
|
620
|
+
.edit-site-custom-template-modal__suggestions_list__list-item mark {
|
|
621
|
+
font-weight: 700;
|
|
622
|
+
background: none;
|
|
623
|
+
}
|
|
624
|
+
.edit-site-custom-template-modal__suggestions_list__list-item:hover {
|
|
625
|
+
background-color: #f0f0f0;
|
|
626
|
+
}
|
|
627
|
+
.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__suggestions_list__list-item:focus {
|
|
631
|
+
background-color: #f0f0f0;
|
|
632
|
+
}
|
|
633
|
+
.edit-site-custom-template-modal__suggestions_list__list-item:focus:not(:disabled) {
|
|
634
|
+
box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color) inset;
|
|
635
|
+
}
|
|
636
|
+
.edit-site-custom-template-modal__suggestions_list__list-item__title, .edit-site-custom-template-modal__suggestions_list__list-item__info {
|
|
637
|
+
overflow: hidden;
|
|
638
|
+
text-overflow: ellipsis;
|
|
639
|
+
display: block;
|
|
640
|
+
}
|
|
641
|
+
.edit-site-custom-template-modal__suggestions_list__list-item__title {
|
|
642
|
+
font-weight: 500;
|
|
643
|
+
margin-bottom: 0.2em;
|
|
644
|
+
}
|
|
645
|
+
.edit-site-custom-template-modal__suggestions_list__list-item__info {
|
|
646
|
+
color: #757575;
|
|
647
|
+
font-size: 0.9em;
|
|
648
|
+
line-height: 1.3;
|
|
649
|
+
word-break: break-all;
|
|
650
|
+
}
|
|
651
|
+
|
|
652
|
+
.edit-site-custom-template-modal__no-results {
|
|
653
|
+
border: 1px solid #ccc;
|
|
654
|
+
border-radius: 2px;
|
|
655
|
+
padding: 16px;
|
|
656
|
+
margin-bottom: 0;
|
|
657
|
+
margin-top: 16px;
|
|
658
|
+
}
|
|
659
|
+
|
|
660
|
+
@media (min-width: 782px) {
|
|
661
|
+
.edit-site-custom-generic-template__modal .components-base-control {
|
|
662
|
+
width: 320px;
|
|
663
|
+
}
|
|
664
|
+
}
|
|
665
|
+
.edit-site-custom-generic-template__modal .components-modal__header {
|
|
666
|
+
border-bottom: none;
|
|
667
|
+
}
|
|
668
|
+
.edit-site-custom-generic-template__modal .components-modal__content::before {
|
|
669
|
+
margin-bottom: 4px;
|
|
670
|
+
}
|
|
671
|
+
|
|
672
|
+
.edit-site-template-actions-loading-screen-modal {
|
|
673
|
+
-webkit-backdrop-filter: none;
|
|
674
|
+
backdrop-filter: none;
|
|
675
|
+
background-color: transparent;
|
|
676
|
+
}
|
|
677
|
+
.edit-site-template-actions-loading-screen-modal.is-full-screen {
|
|
678
|
+
background-color: #fff;
|
|
679
|
+
box-shadow: 0 0 0 transparent;
|
|
680
|
+
min-width: 100%;
|
|
681
|
+
min-height: 100%;
|
|
682
|
+
}
|
|
683
|
+
.edit-site-template-actions-loading-screen-modal__content {
|
|
684
|
+
display: flex;
|
|
685
|
+
align-items: center;
|
|
686
|
+
justify-content: center;
|
|
687
|
+
height: 100%;
|
|
688
|
+
}
|
|
689
|
+
|
|
549
690
|
.edit-site-block-editor__editor-styles-wrapper .components-button {
|
|
550
691
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
|
551
692
|
font-size: 13px;
|
|
@@ -575,6 +716,10 @@ body.is-fullscreen-mode .interface-interface-skeleton {
|
|
|
575
716
|
width: 100%;
|
|
576
717
|
height: 100%;
|
|
577
718
|
}
|
|
719
|
+
.edit-site-visual-editor .edit-site-visual-editor__editor-canvas {
|
|
720
|
+
height: 100%;
|
|
721
|
+
background: #fff;
|
|
722
|
+
}
|
|
578
723
|
.edit-site-layout.is-full-canvas .edit-site-visual-editor.is-focus-mode {
|
|
579
724
|
padding: 48px;
|
|
580
725
|
}
|
|
@@ -609,16 +754,52 @@ body.is-fullscreen-mode .interface-interface-skeleton {
|
|
|
609
754
|
bottom: 0;
|
|
610
755
|
padding: 0;
|
|
611
756
|
margin: auto 0;
|
|
612
|
-
width:
|
|
613
|
-
height: 100px;
|
|
757
|
+
width: 12px;
|
|
614
758
|
-webkit-appearance: none;
|
|
615
759
|
appearance: none;
|
|
616
760
|
cursor: ew-resize;
|
|
617
761
|
outline: none;
|
|
618
|
-
background:
|
|
762
|
+
background: none;
|
|
619
763
|
border-radius: 2px;
|
|
620
764
|
border: 0;
|
|
621
765
|
}
|
|
766
|
+
.resizable-editor__drag-handle.is-variation-default {
|
|
767
|
+
height: 100px;
|
|
768
|
+
}
|
|
769
|
+
.resizable-editor__drag-handle.is-variation-separator {
|
|
770
|
+
height: 100%;
|
|
771
|
+
width: 24px;
|
|
772
|
+
right: 0;
|
|
773
|
+
}
|
|
774
|
+
.resizable-editor__drag-handle.is-variation-separator::after {
|
|
775
|
+
width: 2px;
|
|
776
|
+
border-radius: 0;
|
|
777
|
+
background: transparent;
|
|
778
|
+
left: 50%;
|
|
779
|
+
transform: translateX(-1px);
|
|
780
|
+
right: 0;
|
|
781
|
+
transition: all ease 0.2s;
|
|
782
|
+
transition-delay: 0.1s;
|
|
783
|
+
}
|
|
784
|
+
@media (prefers-reduced-motion: reduce) {
|
|
785
|
+
.resizable-editor__drag-handle.is-variation-separator::after {
|
|
786
|
+
transition-duration: 0s;
|
|
787
|
+
transition-delay: 0s;
|
|
788
|
+
animation-duration: 1ms;
|
|
789
|
+
animation-delay: 0s;
|
|
790
|
+
}
|
|
791
|
+
}
|
|
792
|
+
.resizable-editor__drag-handle::after {
|
|
793
|
+
position: absolute;
|
|
794
|
+
top: 24px;
|
|
795
|
+
left: 4px;
|
|
796
|
+
right: 0;
|
|
797
|
+
bottom: 24px;
|
|
798
|
+
content: "";
|
|
799
|
+
width: 4px;
|
|
800
|
+
background: #949494;
|
|
801
|
+
border-radius: 2px;
|
|
802
|
+
}
|
|
622
803
|
.resizable-editor__drag-handle.is-left {
|
|
623
804
|
left: -16px;
|
|
624
805
|
}
|
|
@@ -626,11 +807,29 @@ body.is-fullscreen-mode .interface-interface-skeleton {
|
|
|
626
807
|
right: -16px;
|
|
627
808
|
}
|
|
628
809
|
.resizable-editor__drag-handle:hover, .resizable-editor__drag-handle:active {
|
|
810
|
+
opacity: 1;
|
|
811
|
+
}
|
|
812
|
+
.resizable-editor__drag-handle:hover.is-variation-default::after, .resizable-editor__drag-handle:active.is-variation-default::after {
|
|
629
813
|
background: #ccc;
|
|
630
814
|
}
|
|
631
|
-
.resizable-editor__drag-handle:
|
|
815
|
+
.resizable-editor__drag-handle:hover.is-variation-separator::after, .resizable-editor__drag-handle:active.is-variation-separator::after {
|
|
816
|
+
background: var(--wp-admin-theme-color);
|
|
817
|
+
}
|
|
818
|
+
.resizable-editor__drag-handle:focus::after {
|
|
632
819
|
box-shadow: 0 0 0 1px #2f2f2f, 0 0 0 calc(var(--wp-admin-border-width-focus) + 1px) var(--wp-admin-theme-color);
|
|
633
820
|
}
|
|
821
|
+
.resizable-editor__drag-handle.is-variation-separator:focus::after {
|
|
822
|
+
border-radius: 2px;
|
|
823
|
+
box-shadow: inset 0 0 0 2px var(--wp-admin-theme-color);
|
|
824
|
+
}
|
|
825
|
+
|
|
826
|
+
.edit-site-canvas-spinner {
|
|
827
|
+
width: 100%;
|
|
828
|
+
height: 100%;
|
|
829
|
+
display: flex;
|
|
830
|
+
align-items: center;
|
|
831
|
+
justify-content: center;
|
|
832
|
+
}
|
|
634
833
|
|
|
635
834
|
.edit-site-code-editor {
|
|
636
835
|
position: relative;
|
|
@@ -809,7 +1008,8 @@ textarea.edit-site-code-editor-text-area.edit-site-code-editor-text-area:-ms-inp
|
|
|
809
1008
|
|
|
810
1009
|
.edit-site-screen-text-color__control,
|
|
811
1010
|
.edit-site-screen-link-color__control,
|
|
812
|
-
.edit-site-screen-button-color__control
|
|
1011
|
+
.edit-site-screen-button-color__control,
|
|
1012
|
+
.edit-site-screen-background-color__control.has-no-tabs {
|
|
813
1013
|
padding: 16px;
|
|
814
1014
|
}
|
|
815
1015
|
|
|
@@ -855,10 +1055,42 @@ textarea.edit-site-code-editor-text-area.edit-site-code-editor-text-area:-ms-inp
|
|
|
855
1055
|
border-radius: 2px;
|
|
856
1056
|
}
|
|
857
1057
|
|
|
1058
|
+
.edit-site-global-styles-screen-css {
|
|
1059
|
+
flex: 1 1 auto;
|
|
1060
|
+
display: flex;
|
|
1061
|
+
flex-direction: column;
|
|
1062
|
+
}
|
|
1063
|
+
.edit-site-global-styles-screen-css .components-v-stack {
|
|
1064
|
+
flex: 1 1 auto;
|
|
1065
|
+
}
|
|
1066
|
+
.edit-site-global-styles-screen-css .components-v-stack .edit-site-global-styles__custom-css-input {
|
|
1067
|
+
flex: 1 1 auto;
|
|
1068
|
+
display: flex;
|
|
1069
|
+
flex-direction: column;
|
|
1070
|
+
}
|
|
1071
|
+
.edit-site-global-styles-screen-css .components-v-stack .edit-site-global-styles__custom-css-input .components-base-control__field {
|
|
1072
|
+
flex: 1 1 auto;
|
|
1073
|
+
display: flex;
|
|
1074
|
+
flex-direction: column;
|
|
1075
|
+
}
|
|
1076
|
+
.edit-site-global-styles-screen-css .components-v-stack .edit-site-global-styles__custom-css-input .components-base-control__field .components-textarea-control__input {
|
|
1077
|
+
flex: 1 1 auto;
|
|
1078
|
+
}
|
|
1079
|
+
|
|
858
1080
|
.edit-site-global-styles__custom-css-input textarea {
|
|
859
1081
|
font-family: Menlo, Consolas, monaco, monospace;
|
|
860
1082
|
}
|
|
861
1083
|
|
|
1084
|
+
.edit-site-global-styles__custom-css-validation-wrapper {
|
|
1085
|
+
position: absolute;
|
|
1086
|
+
bottom: 16px;
|
|
1087
|
+
right: 24px;
|
|
1088
|
+
}
|
|
1089
|
+
|
|
1090
|
+
.edit-site-global-styles__custom-css-validation-icon {
|
|
1091
|
+
fill: #cc1818;
|
|
1092
|
+
}
|
|
1093
|
+
|
|
862
1094
|
.edit-site-global-styles__custom-css-theme-css {
|
|
863
1095
|
width: 100%;
|
|
864
1096
|
line-break: anywhere;
|
|
@@ -867,6 +1099,57 @@ textarea.edit-site-code-editor-text-area.edit-site-code-editor-text-area:-ms-inp
|
|
|
867
1099
|
overflow-y: scroll;
|
|
868
1100
|
}
|
|
869
1101
|
|
|
1102
|
+
.edit-site-global-styles-screen-css-help-link {
|
|
1103
|
+
padding-left: 16px;
|
|
1104
|
+
}
|
|
1105
|
+
|
|
1106
|
+
.edit-site-global-styles-screen-variations {
|
|
1107
|
+
margin-top: 16px;
|
|
1108
|
+
border-top: 1px solid #ddd;
|
|
1109
|
+
}
|
|
1110
|
+
.edit-site-global-styles-screen-variations > * {
|
|
1111
|
+
margin: 24px 16px;
|
|
1112
|
+
}
|
|
1113
|
+
|
|
1114
|
+
.edit-site-global-styles-sidebar__navigator-screen {
|
|
1115
|
+
display: flex;
|
|
1116
|
+
flex-direction: column;
|
|
1117
|
+
}
|
|
1118
|
+
|
|
1119
|
+
.edit-site-global-styles__shadow-panel {
|
|
1120
|
+
width: 230px;
|
|
1121
|
+
}
|
|
1122
|
+
|
|
1123
|
+
.edit-site-global-styles__shadow-dropdown {
|
|
1124
|
+
display: block;
|
|
1125
|
+
padding: 0;
|
|
1126
|
+
}
|
|
1127
|
+
.edit-site-global-styles__shadow-dropdown > button {
|
|
1128
|
+
width: 100%;
|
|
1129
|
+
padding: 8px;
|
|
1130
|
+
}
|
|
1131
|
+
.edit-site-global-styles__shadow-dropdown > button.is-open {
|
|
1132
|
+
background-color: #f0f0f0;
|
|
1133
|
+
}
|
|
1134
|
+
|
|
1135
|
+
.edit-site-global-styles__shadow-indicator-wrapper {
|
|
1136
|
+
padding: 6px;
|
|
1137
|
+
overflow: hidden;
|
|
1138
|
+
display: flex;
|
|
1139
|
+
align-items: center;
|
|
1140
|
+
justify-content: center;
|
|
1141
|
+
}
|
|
1142
|
+
|
|
1143
|
+
.edit-site-global-styles__shadow-indicator {
|
|
1144
|
+
color: #2f2f2f;
|
|
1145
|
+
border: #e0e0e0 1px solid;
|
|
1146
|
+
border-radius: 2px;
|
|
1147
|
+
cursor: pointer;
|
|
1148
|
+
padding: 0;
|
|
1149
|
+
height: 24px;
|
|
1150
|
+
width: 24px;
|
|
1151
|
+
}
|
|
1152
|
+
|
|
870
1153
|
.edit-site-header-edit-mode {
|
|
871
1154
|
height: 60px;
|
|
872
1155
|
align-items: center;
|
|
@@ -1215,213 +1498,107 @@ body.is-fullscreen-mode .edit-site-list-header {
|
|
|
1215
1498
|
margin-left: 360px;
|
|
1216
1499
|
}
|
|
1217
1500
|
}
|
|
1218
|
-
|
|
1219
|
-
@media (min-width: 782px) {
|
|
1220
|
-
.edit-site-list__rename-modal .components-base-control {
|
|
1221
|
-
width: 320px;
|
|
1222
|
-
}
|
|
1223
|
-
}
|
|
1224
|
-
|
|
1225
|
-
.edit-site-list__rename-modal-actions {
|
|
1226
|
-
margin-top: 12px;
|
|
1227
|
-
}
|
|
1228
|
-
|
|
1229
|
-
.edit-site-template__actions button:not(:last-child) {
|
|
1230
|
-
margin-right: 8px;
|
|
1231
|
-
}
|
|
1232
|
-
|
|
1233
|
-
.edit-site-list-added-by__icon {
|
|
1234
|
-
display: flex;
|
|
1235
|
-
flex-shrink: 0;
|
|
1236
|
-
position: relative;
|
|
1237
|
-
align-items: center;
|
|
1238
|
-
justify-content: center;
|
|
1239
|
-
width: 32px;
|
|
1240
|
-
height: 32px;
|
|
1241
|
-
background: #2f2f2f;
|
|
1242
|
-
border-radius: 100%;
|
|
1243
|
-
}
|
|
1244
|
-
.edit-site-list-added-by__icon svg {
|
|
1245
|
-
fill: #fff;
|
|
1246
|
-
}
|
|
1247
|
-
.edit-site-list-added-by__icon.is-customized::after {
|
|
1248
|
-
position: absolute;
|
|
1249
|
-
content: "";
|
|
1250
|
-
background: var(--wp-admin-theme-color);
|
|
1251
|
-
height: 8px;
|
|
1252
|
-
width: 8px;
|
|
1253
|
-
outline: 2px solid #fff;
|
|
1254
|
-
border-radius: 100%;
|
|
1255
|
-
top: -1px;
|
|
1256
|
-
right: -1px;
|
|
1257
|
-
}
|
|
1258
|
-
|
|
1259
|
-
.edit-site-list-added-by__avatar {
|
|
1260
|
-
flex-shrink: 0;
|
|
1261
|
-
overflow: hidden;
|
|
1262
|
-
border-radius: 100%;
|
|
1263
|
-
background: #2f2f2f;
|
|
1264
|
-
width: 32px;
|
|
1265
|
-
height: 32px;
|
|
1266
|
-
}
|
|
1267
|
-
.edit-site-list-added-by__avatar img {
|
|
1268
|
-
width: 32px;
|
|
1269
|
-
height: 32px;
|
|
1270
|
-
-o-object-fit: cover;
|
|
1271
|
-
object-fit: cover;
|
|
1272
|
-
opacity: 0;
|
|
1273
|
-
transition: opacity 0.1s linear;
|
|
1274
|
-
}
|
|
1275
|
-
@media (prefers-reduced-motion: reduce) {
|
|
1276
|
-
.edit-site-list-added-by__avatar img {
|
|
1277
|
-
transition-duration: 0s;
|
|
1278
|
-
transition-delay: 0s;
|
|
1279
|
-
}
|
|
1280
|
-
}
|
|
1281
|
-
.edit-site-list-added-by__avatar.is-loaded img {
|
|
1282
|
-
opacity: 1;
|
|
1283
|
-
}
|
|
1284
|
-
|
|
1285
|
-
@media (min-width: 600px) {
|
|
1286
|
-
.edit-site-new-template-dropdown .edit-site-new-template-dropdown__popover {
|
|
1287
|
-
min-width: 300px;
|
|
1288
|
-
}
|
|
1289
|
-
}
|
|
1290
|
-
|
|
1291
|
-
.edit-site-custom-template-modal__contents > .components-button {
|
|
1292
|
-
padding: 24px;
|
|
1293
|
-
box-shadow: inset 0 0 0 1px #949494;
|
|
1294
|
-
border-radius: 2px;
|
|
1295
|
-
width: 256px;
|
|
1296
|
-
height: auto;
|
|
1297
|
-
display: flex;
|
|
1298
|
-
flex-direction: column;
|
|
1299
|
-
gap: 8px;
|
|
1300
|
-
outline: 1px solid transparent;
|
|
1301
|
-
}
|
|
1302
|
-
.edit-site-custom-template-modal__contents > .components-button span:first-child {
|
|
1303
|
-
color: #1e1e1e;
|
|
1304
|
-
}
|
|
1305
|
-
.edit-site-custom-template-modal__contents > .components-button span {
|
|
1306
|
-
color: #757575;
|
|
1307
|
-
}
|
|
1308
|
-
.edit-site-custom-template-modal__contents > .components-button:hover {
|
|
1309
|
-
color: var(--wp-admin-theme-color-darker-10);
|
|
1310
|
-
box-shadow: inset 0 0 0 1px var(--wp-admin-theme-color-darker-10);
|
|
1311
|
-
}
|
|
1312
|
-
.edit-site-custom-template-modal__contents > .components-button:hover span:first-child {
|
|
1313
|
-
color: var(--wp-admin-theme-color);
|
|
1314
|
-
}
|
|
1315
|
-
.edit-site-custom-template-modal__contents > .components-button:focus {
|
|
1316
|
-
box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
|
|
1317
|
-
outline: 3px solid transparent;
|
|
1318
|
-
}
|
|
1319
|
-
.edit-site-custom-template-modal__contents > .components-button:focus span:first-child {
|
|
1320
|
-
color: var(--wp-admin-theme-color);
|
|
1321
|
-
}
|
|
1322
|
-
.edit-site-custom-template-modal .components-search-control input[type=search].components-search-control__input {
|
|
1323
|
-
background: #fff;
|
|
1324
|
-
border: 1px solid #ddd;
|
|
1325
|
-
}
|
|
1326
|
-
.edit-site-custom-template-modal .components-search-control input[type=search].components-search-control__input:focus {
|
|
1327
|
-
border-color: var(--wp-admin-theme-color);
|
|
1328
|
-
box-shadow: 0 0 0 1px var(--wp-admin-theme-color);
|
|
1329
|
-
}
|
|
1330
|
-
@media (min-width: 782px) {
|
|
1331
|
-
.edit-site-custom-template-modal {
|
|
1332
|
-
width: 456px;
|
|
1333
|
-
}
|
|
1334
|
-
}
|
|
1335
|
-
|
|
1336
|
-
.edit-site-custom-template-modal__suggestions_list {
|
|
1337
|
-
margin-top: 16px;
|
|
1338
|
-
}
|
|
1339
|
-
@media (min-width: 600px) {
|
|
1340
|
-
.edit-site-custom-template-modal__suggestions_list {
|
|
1341
|
-
height: 232px;
|
|
1342
|
-
overflow: scroll;
|
|
1343
|
-
}
|
|
1344
|
-
}
|
|
1345
|
-
.edit-site-custom-template-modal__suggestions_list__list-item {
|
|
1346
|
-
display: block;
|
|
1347
|
-
width: 100%;
|
|
1348
|
-
text-align: left;
|
|
1349
|
-
white-space: pre-wrap;
|
|
1350
|
-
overflow-wrap: break-word;
|
|
1351
|
-
height: auto;
|
|
1352
|
-
}
|
|
1353
|
-
.edit-site-custom-template-modal__suggestions_list__list-item mark {
|
|
1354
|
-
font-weight: 700;
|
|
1355
|
-
background: none;
|
|
1501
|
+
|
|
1502
|
+
@media (min-width: 782px) {
|
|
1503
|
+
.edit-site-list__rename-modal .components-base-control {
|
|
1504
|
+
width: 320px;
|
|
1505
|
+
}
|
|
1356
1506
|
}
|
|
1357
|
-
|
|
1358
|
-
|
|
1507
|
+
|
|
1508
|
+
.edit-site-template__actions button:not(:last-child) {
|
|
1509
|
+
margin-right: 8px;
|
|
1359
1510
|
}
|
|
1360
|
-
|
|
1361
|
-
|
|
1511
|
+
|
|
1512
|
+
.edit-site-list-added-by__icon {
|
|
1513
|
+
display: flex;
|
|
1514
|
+
flex-shrink: 0;
|
|
1515
|
+
position: relative;
|
|
1516
|
+
align-items: center;
|
|
1517
|
+
justify-content: center;
|
|
1518
|
+
width: 32px;
|
|
1519
|
+
height: 32px;
|
|
1520
|
+
background: #2f2f2f;
|
|
1521
|
+
border-radius: 100%;
|
|
1362
1522
|
}
|
|
1363
|
-
.edit-site-
|
|
1364
|
-
|
|
1523
|
+
.edit-site-list-added-by__icon svg {
|
|
1524
|
+
fill: #fff;
|
|
1365
1525
|
}
|
|
1366
|
-
.edit-site-
|
|
1367
|
-
|
|
1526
|
+
.edit-site-list-added-by__icon.is-customized::after {
|
|
1527
|
+
position: absolute;
|
|
1528
|
+
content: "";
|
|
1529
|
+
background: var(--wp-admin-theme-color);
|
|
1530
|
+
height: 8px;
|
|
1531
|
+
width: 8px;
|
|
1532
|
+
outline: 2px solid #fff;
|
|
1533
|
+
border-radius: 100%;
|
|
1534
|
+
top: -1px;
|
|
1535
|
+
right: -1px;
|
|
1368
1536
|
}
|
|
1369
|
-
|
|
1537
|
+
|
|
1538
|
+
.edit-site-list-added-by__avatar {
|
|
1539
|
+
flex-shrink: 0;
|
|
1370
1540
|
overflow: hidden;
|
|
1371
|
-
|
|
1372
|
-
|
|
1541
|
+
border-radius: 100%;
|
|
1542
|
+
background: #2f2f2f;
|
|
1543
|
+
width: 32px;
|
|
1544
|
+
height: 32px;
|
|
1373
1545
|
}
|
|
1374
|
-
.edit-site-
|
|
1375
|
-
|
|
1376
|
-
|
|
1546
|
+
.edit-site-list-added-by__avatar img {
|
|
1547
|
+
width: 32px;
|
|
1548
|
+
height: 32px;
|
|
1549
|
+
-o-object-fit: cover;
|
|
1550
|
+
object-fit: cover;
|
|
1551
|
+
opacity: 0;
|
|
1552
|
+
transition: opacity 0.1s linear;
|
|
1377
1553
|
}
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1554
|
+
@media (prefers-reduced-motion: reduce) {
|
|
1555
|
+
.edit-site-list-added-by__avatar img {
|
|
1556
|
+
transition-duration: 0s;
|
|
1557
|
+
transition-delay: 0s;
|
|
1558
|
+
}
|
|
1383
1559
|
}
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
border: 1px solid #ccc;
|
|
1387
|
-
border-radius: 2px;
|
|
1388
|
-
padding: 16px;
|
|
1389
|
-
margin-bottom: 0;
|
|
1390
|
-
margin-top: 16px;
|
|
1560
|
+
.edit-site-list-added-by__avatar.is-loaded img {
|
|
1561
|
+
opacity: 1;
|
|
1391
1562
|
}
|
|
1392
1563
|
|
|
1393
|
-
@
|
|
1394
|
-
|
|
1395
|
-
|
|
1564
|
+
@keyframes loadingpulse {
|
|
1565
|
+
0% {
|
|
1566
|
+
opacity: 1;
|
|
1567
|
+
}
|
|
1568
|
+
50% {
|
|
1569
|
+
opacity: 0.5;
|
|
1570
|
+
}
|
|
1571
|
+
100% {
|
|
1572
|
+
opacity: 1;
|
|
1396
1573
|
}
|
|
1397
1574
|
}
|
|
1398
|
-
.edit-site-
|
|
1399
|
-
|
|
1575
|
+
.edit-site-navigation-inspector .block-editor-list-view-leaf .block-editor-list-view-block-contents {
|
|
1576
|
+
white-space: normal;
|
|
1400
1577
|
}
|
|
1401
|
-
.edit-site-
|
|
1402
|
-
margin-
|
|
1578
|
+
.edit-site-navigation-inspector .block-editor-list-view-block__title {
|
|
1579
|
+
margin-top: 3px;
|
|
1403
1580
|
}
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1581
|
+
.edit-site-navigation-inspector .block-editor-list-view-block__menu-cell {
|
|
1582
|
+
padding-right: 0;
|
|
1583
|
+
}
|
|
1584
|
+
.edit-site-navigation-inspector .edit-site-navigation-inspector__select-menu {
|
|
1585
|
+
margin-bottom: 8px;
|
|
1407
1586
|
}
|
|
1408
1587
|
|
|
1409
|
-
.edit-site-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
background-color:
|
|
1588
|
+
.edit-site-navigation-inspector__placeholder {
|
|
1589
|
+
padding: 8px;
|
|
1590
|
+
margin: 8px;
|
|
1591
|
+
background-color: #f0f0f0;
|
|
1592
|
+
animation: loadingpulse 1s linear infinite;
|
|
1593
|
+
animation-delay: 0.5s;
|
|
1413
1594
|
}
|
|
1414
|
-
.edit-site-
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
min-width: 100%;
|
|
1418
|
-
min-height: 100%;
|
|
1595
|
+
.edit-site-navigation-inspector__placeholder.is-child {
|
|
1596
|
+
margin-left: 24px;
|
|
1597
|
+
width: 50%;
|
|
1419
1598
|
}
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
justify-content: center;
|
|
1424
|
-
height: 100%;
|
|
1599
|
+
|
|
1600
|
+
.edit-site-navigation-inspector__empty-msg {
|
|
1601
|
+
padding: 0 8px;
|
|
1425
1602
|
}
|
|
1426
1603
|
|
|
1427
1604
|
.edit-site-sidebar-edit-mode {
|
|
@@ -1543,6 +1720,7 @@ body.is-fullscreen-mode .edit-site-list-header {
|
|
|
1543
1720
|
.components-button.edit-site-sidebar-edit-mode__panel-tab:focus:not(:disabled) {
|
|
1544
1721
|
position: relative;
|
|
1545
1722
|
box-shadow: none;
|
|
1723
|
+
outline: none;
|
|
1546
1724
|
}
|
|
1547
1725
|
.components-button.edit-site-sidebar-edit-mode__panel-tab::after {
|
|
1548
1726
|
content: "";
|
|
@@ -1564,6 +1742,8 @@ body.is-fullscreen-mode .edit-site-list-header {
|
|
|
1564
1742
|
}
|
|
1565
1743
|
.components-button.edit-site-sidebar-edit-mode__panel-tab.is-active::after {
|
|
1566
1744
|
height: calc(1 * var(--wp-admin-border-width-focus));
|
|
1745
|
+
outline: 2px solid transparent;
|
|
1746
|
+
outline-offset: -1px;
|
|
1567
1747
|
}
|
|
1568
1748
|
.components-button.edit-site-sidebar-edit-mode__panel-tab::before {
|
|
1569
1749
|
content: "";
|
|
@@ -1585,60 +1765,7 @@ body.is-fullscreen-mode .edit-site-list-header {
|
|
|
1585
1765
|
}
|
|
1586
1766
|
.components-button.edit-site-sidebar-edit-mode__panel-tab:focus-visible::before {
|
|
1587
1767
|
box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
@keyframes loadingpulse {
|
|
1591
|
-
0% {
|
|
1592
|
-
opacity: 1;
|
|
1593
|
-
}
|
|
1594
|
-
50% {
|
|
1595
|
-
opacity: 0.5;
|
|
1596
|
-
}
|
|
1597
|
-
100% {
|
|
1598
|
-
opacity: 1;
|
|
1599
|
-
}
|
|
1600
|
-
}
|
|
1601
|
-
.edit-site-navigation-inspector .block-editor-list-view-leaf .block-editor-list-view-block-contents {
|
|
1602
|
-
white-space: normal;
|
|
1603
|
-
}
|
|
1604
|
-
.edit-site-navigation-inspector .block-editor-list-view-block__title {
|
|
1605
|
-
margin-top: 3px;
|
|
1606
|
-
}
|
|
1607
|
-
.edit-site-navigation-inspector .block-editor-list-view-block__menu-cell {
|
|
1608
|
-
padding-right: 0;
|
|
1609
|
-
}
|
|
1610
|
-
|
|
1611
|
-
.edit-site-navigation-inspector__placeholder {
|
|
1612
|
-
padding: 8px;
|
|
1613
|
-
margin: 8px;
|
|
1614
|
-
background-color: #f0f0f0;
|
|
1615
|
-
animation: loadingpulse 1s linear infinite;
|
|
1616
|
-
animation-delay: 0.5s;
|
|
1617
|
-
}
|
|
1618
|
-
.edit-site-navigation-inspector__placeholder.is-child {
|
|
1619
|
-
margin-left: 24px;
|
|
1620
|
-
width: 50%;
|
|
1621
|
-
}
|
|
1622
|
-
|
|
1623
|
-
.edit-site-navigation-inspector__empty-msg {
|
|
1624
|
-
padding: 0 8px;
|
|
1625
|
-
}
|
|
1626
|
-
|
|
1627
|
-
.edit-site-navigation-menu-sidebar__panel {
|
|
1628
|
-
padding: 16px;
|
|
1629
|
-
}
|
|
1630
|
-
|
|
1631
|
-
.edit-site-navigation-sidebar__beta {
|
|
1632
|
-
display: inline-flex;
|
|
1633
|
-
margin-left: 8px;
|
|
1634
|
-
padding: 0 8px;
|
|
1635
|
-
height: 24px;
|
|
1636
|
-
border-radius: 2px;
|
|
1637
|
-
background-color: #1e1e1e;
|
|
1638
|
-
color: #fff;
|
|
1639
|
-
align-items: center;
|
|
1640
|
-
font-size: 12px;
|
|
1641
|
-
line-height: 1;
|
|
1768
|
+
outline: 2px solid transparent;
|
|
1642
1769
|
}
|
|
1643
1770
|
|
|
1644
1771
|
.edit-site-template-card {
|
|
@@ -1821,15 +1948,6 @@ body.is-fullscreen-mode .edit-site .components-editor-notices__snackbar {
|
|
|
1821
1948
|
}
|
|
1822
1949
|
}
|
|
1823
1950
|
|
|
1824
|
-
.edit-site-create-template-part-modal__modal-actions {
|
|
1825
|
-
padding-top: 12px;
|
|
1826
|
-
}
|
|
1827
|
-
|
|
1828
|
-
.edit-site-create-template-part-modal__area-base-control .components-base-control__label {
|
|
1829
|
-
margin: 16px 0 8px;
|
|
1830
|
-
cursor: auto;
|
|
1831
|
-
}
|
|
1832
|
-
|
|
1833
1951
|
.edit-site-create-template-part-modal__area-radio-group {
|
|
1834
1952
|
width: 100%;
|
|
1835
1953
|
border: 1px solid #757575;
|
|
@@ -2068,39 +2186,45 @@ body.is-fullscreen-mode .edit-site .components-editor-notices__snackbar {
|
|
|
2068
2186
|
|
|
2069
2187
|
.edit-site-layout__sidebar {
|
|
2070
2188
|
z-index: 1;
|
|
2071
|
-
overflow-y: auto;
|
|
2072
2189
|
width: 100vw;
|
|
2190
|
+
}
|
|
2191
|
+
@media (min-width: 782px) {
|
|
2192
|
+
.edit-site-layout__sidebar {
|
|
2193
|
+
width: 360px;
|
|
2194
|
+
}
|
|
2195
|
+
}
|
|
2196
|
+
.edit-site-layout.is-full-canvas .edit-site-layout__sidebar {
|
|
2197
|
+
position: fixed !important;
|
|
2198
|
+
height: 100vh;
|
|
2199
|
+
left: 0;
|
|
2200
|
+
top: 0;
|
|
2201
|
+
}
|
|
2202
|
+
.edit-site-layout__sidebar > div {
|
|
2203
|
+
overflow-y: auto;
|
|
2204
|
+
min-height: 100%;
|
|
2073
2205
|
visibility: hidden;
|
|
2074
2206
|
scrollbar-color: #757575 #1e1e1e;
|
|
2075
2207
|
scrollbar-width: thin;
|
|
2076
2208
|
scrollbar-gutter: stable;
|
|
2077
2209
|
}
|
|
2078
|
-
.edit-site-layout__sidebar::-webkit-scrollbar {
|
|
2210
|
+
.edit-site-layout__sidebar > div::-webkit-scrollbar {
|
|
2079
2211
|
width: 12px;
|
|
2080
2212
|
height: 12px;
|
|
2081
2213
|
}
|
|
2082
|
-
.edit-site-layout__sidebar::-webkit-scrollbar-track {
|
|
2214
|
+
.edit-site-layout__sidebar > div::-webkit-scrollbar-track {
|
|
2083
2215
|
background-color: #1e1e1e;
|
|
2084
2216
|
}
|
|
2085
|
-
.edit-site-layout__sidebar::-webkit-scrollbar-thumb {
|
|
2217
|
+
.edit-site-layout__sidebar > div::-webkit-scrollbar-thumb {
|
|
2086
2218
|
background-color: #757575;
|
|
2087
2219
|
border-radius: 8px;
|
|
2088
2220
|
border: 3px solid transparent;
|
|
2089
2221
|
background-clip: padding-box;
|
|
2090
2222
|
}
|
|
2091
|
-
.edit-site-layout__sidebar:hover, .edit-site-layout__sidebar:focus, .edit-site-layout__sidebar > * {
|
|
2223
|
+
.edit-site-layout__sidebar > div:hover, .edit-site-layout__sidebar > div:focus, .edit-site-layout__sidebar > div > * {
|
|
2092
2224
|
visibility: visible;
|
|
2093
2225
|
}
|
|
2094
|
-
|
|
2095
|
-
|
|
2096
|
-
width: 360px;
|
|
2097
|
-
}
|
|
2098
|
-
}
|
|
2099
|
-
.edit-site-layout.is-full-canvas .edit-site-layout__sidebar {
|
|
2100
|
-
position: fixed;
|
|
2101
|
-
height: 100vh;
|
|
2102
|
-
left: 0;
|
|
2103
|
-
top: 0;
|
|
2226
|
+
.edit-site-layout__sidebar .resizable-editor__drag-handle {
|
|
2227
|
+
right: 0;
|
|
2104
2228
|
}
|
|
2105
2229
|
|
|
2106
2230
|
.edit-site-layout__canvas-container {
|
|
@@ -2108,6 +2232,15 @@ body.is-fullscreen-mode .edit-site .components-editor-notices__snackbar {
|
|
|
2108
2232
|
flex-grow: 1;
|
|
2109
2233
|
z-index: 2;
|
|
2110
2234
|
}
|
|
2235
|
+
.edit-site-layout__canvas-container.is-resizing::after {
|
|
2236
|
+
position: absolute;
|
|
2237
|
+
top: 0;
|
|
2238
|
+
left: 0;
|
|
2239
|
+
right: 0;
|
|
2240
|
+
bottom: 0;
|
|
2241
|
+
content: "";
|
|
2242
|
+
z-index: 100;
|
|
2243
|
+
}
|
|
2111
2244
|
|
|
2112
2245
|
.edit-site-layout__canvas {
|
|
2113
2246
|
position: absolute;
|
|
@@ -2115,11 +2248,11 @@ body.is-fullscreen-mode .edit-site .components-editor-notices__snackbar {
|
|
|
2115
2248
|
left: 0;
|
|
2116
2249
|
bottom: 0;
|
|
2117
2250
|
width: 100%;
|
|
2118
|
-
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.8), 0 8px 10px -6px rgba(0, 0, 0, 0.8);
|
|
2119
2251
|
}
|
|
2120
2252
|
.edit-site-layout__canvas > div {
|
|
2121
2253
|
color: #1e1e1e;
|
|
2122
2254
|
background: #fff;
|
|
2255
|
+
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.8), 0 8px 10px -6px rgba(0, 0, 0, 0.8);
|
|
2123
2256
|
}
|
|
2124
2257
|
@media (min-width: 782px) {
|
|
2125
2258
|
.edit-site-layout__canvas {
|
|
@@ -2138,6 +2271,8 @@ body.is-fullscreen-mode .edit-site .components-editor-notices__snackbar {
|
|
|
2138
2271
|
top: 0;
|
|
2139
2272
|
bottom: 0;
|
|
2140
2273
|
width: 100%;
|
|
2274
|
+
}
|
|
2275
|
+
.edit-site-layout.is-full-canvas .edit-site-layout__canvas > div {
|
|
2141
2276
|
border-radius: 0;
|
|
2142
2277
|
}
|
|
2143
2278
|
|
|
@@ -2201,15 +2336,33 @@ body.is-fullscreen-mode .edit-site .components-editor-notices__snackbar {
|
|
|
2201
2336
|
color: #949494;
|
|
2202
2337
|
border-width: 1.5px;
|
|
2203
2338
|
}
|
|
2204
|
-
.edit-site-sidebar-navigation-item.components-item:hover, .edit-site-sidebar-navigation-item.components-item:focus {
|
|
2339
|
+
.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] {
|
|
2205
2340
|
color: #fff;
|
|
2206
2341
|
background: #2f2f2f;
|
|
2207
2342
|
border-width: 1.5px;
|
|
2208
2343
|
}
|
|
2209
2344
|
.edit-site-sidebar-navigation-item.components-item[aria-current] {
|
|
2210
|
-
color: #fff;
|
|
2211
2345
|
background: var(--wp-admin-theme-color);
|
|
2212
|
-
|
|
2346
|
+
}
|
|
2347
|
+
|
|
2348
|
+
.edit-site-sidebar-navigation-screen__content .edit-site-navigation-inspector .components-button {
|
|
2349
|
+
color: #949494;
|
|
2350
|
+
}
|
|
2351
|
+
.edit-site-sidebar-navigation-screen__content .edit-site-navigation-inspector .components-button:hover, .edit-site-sidebar-navigation-screen__content .edit-site-navigation-inspector .components-button:focus, .edit-site-sidebar-navigation-screen__content .edit-site-navigation-inspector .components-button[aria-current] {
|
|
2352
|
+
color: #fff;
|
|
2353
|
+
}
|
|
2354
|
+
|
|
2355
|
+
.edit-site-sidebar-navigation-screen__content .edit-site-navigation-inspector .offcanvas-editor-list-view-leaf:hover, .edit-site-sidebar-navigation-screen__content .edit-site-navigation-inspector .offcanvas-editor-list-view-leaf:focus, .edit-site-sidebar-navigation-screen__content .edit-site-navigation-inspector .offcanvas-editor-list-view-leaf[aria-current] {
|
|
2356
|
+
background: #2f2f2f;
|
|
2357
|
+
}
|
|
2358
|
+
.edit-site-sidebar-navigation-screen__content .edit-site-navigation-inspector .offcanvas-editor-list-view-leaf .block-editor-list-view-block__menu {
|
|
2359
|
+
margin-left: -8px;
|
|
2360
|
+
}
|
|
2361
|
+
|
|
2362
|
+
.edit-site-sidebar-navigation-screen__content .block-editor-list-view-block-select-button {
|
|
2363
|
+
cursor: grab;
|
|
2364
|
+
width: calc(100% - 2px);
|
|
2365
|
+
padding: 8px;
|
|
2213
2366
|
}
|
|
2214
2367
|
|
|
2215
2368
|
.edit-site-sidebar-navigation-screen {
|
|
@@ -2238,6 +2391,8 @@ body.is-fullscreen-mode .edit-site .components-editor-notices__snackbar {
|
|
|
2238
2391
|
font-size: calc(1.56 * 13px);
|
|
2239
2392
|
font-weight: 500;
|
|
2240
2393
|
flex-grow: 1;
|
|
2394
|
+
color: #fff;
|
|
2395
|
+
margin: 0;
|
|
2241
2396
|
}
|
|
2242
2397
|
|
|
2243
2398
|
.edit-site-sidebar-navigation-screen__back {
|
|
@@ -2278,10 +2433,14 @@ body.is-fullscreen-mode .edit-site .components-editor-notices__snackbar {
|
|
|
2278
2433
|
|
|
2279
2434
|
.edit-site-site-hub__view-mode-toggle-container {
|
|
2280
2435
|
height: 60px;
|
|
2281
|
-
width:
|
|
2436
|
+
width: 64px;
|
|
2282
2437
|
flex-shrink: 0;
|
|
2283
2438
|
}
|
|
2284
2439
|
|
|
2440
|
+
.edit-site-layout.is-edit-mode .edit-site-site-hub__view-mode-toggle-container {
|
|
2441
|
+
width: 60px;
|
|
2442
|
+
}
|
|
2443
|
+
|
|
2285
2444
|
.edit-site-site-hub__text-content {
|
|
2286
2445
|
overflow: hidden;
|
|
2287
2446
|
}
|
|
@@ -2292,13 +2451,24 @@ body.is-fullscreen-mode .edit-site .components-editor-notices__snackbar {
|
|
|
2292
2451
|
overflow: hidden;
|
|
2293
2452
|
}
|
|
2294
2453
|
|
|
2454
|
+
.edit-site-sidebar-navigation-screen-navigation-menus .block-editor-list-view-block__menu-edit,
|
|
2455
|
+
.edit-site-sidebar-navigation-screen-navigation-menus .edit-site-navigation-inspector__select-menu {
|
|
2456
|
+
display: none;
|
|
2457
|
+
}
|
|
2458
|
+
.edit-site-sidebar-navigation-screen-navigation-menus .offcanvas-editor-list-view-leaf {
|
|
2459
|
+
max-width: calc(100% - 4px);
|
|
2460
|
+
}
|
|
2461
|
+
.edit-site-sidebar-navigation-screen-navigation-menus .block-editor-list-view-leaf .block-editor-list-view-block__contents-cell {
|
|
2462
|
+
width: 100%;
|
|
2463
|
+
}
|
|
2464
|
+
|
|
2295
2465
|
.edit-site-site-icon__icon {
|
|
2296
2466
|
fill: currentColor;
|
|
2297
2467
|
}
|
|
2298
2468
|
|
|
2299
2469
|
.edit-site-site-icon__image {
|
|
2300
|
-
width:
|
|
2301
|
-
height:
|
|
2470
|
+
width: 32px;
|
|
2471
|
+
height: 32px;
|
|
2302
2472
|
border-radius: 2px;
|
|
2303
2473
|
-o-object-fit: cover;
|
|
2304
2474
|
object-fit: cover;
|