@wordpress/edit-site 5.2.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 +6 -0
- 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 -29
- package/build/components/add-new-template/new-template-part.js.map +1 -1
- package/build/components/add-new-template/utils.js +1 -9
- package/build/components/add-new-template/utils.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/index.js +13 -11
- 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/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 +2 -2
- package/build/components/global-styles/block-preview-panel.js.map +1 -1
- package/build/components/global-styles/border-panel.js +17 -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 +39 -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 +49 -31
- 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 +27 -13
- package/build/components/global-styles/screen-background-color.js.map +1 -1
- package/build/components/global-styles/screen-border.js +10 -4
- package/build/components/global-styles/screen-border.js.map +1 -1
- package/build/components/global-styles/screen-button-color.js +16 -9
- package/build/components/global-styles/screen-button-color.js.map +1 -1
- package/build/components/global-styles/screen-colors.js +43 -34
- 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 +23 -16
- package/build/components/global-styles/screen-heading-color.js.map +1 -1
- package/build/components/global-styles/screen-layout.js +3 -3
- package/build/components/global-styles/screen-layout.js.map +1 -1
- package/build/components/global-styles/screen-link-color.js +18 -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 +14 -7
- package/build/components/global-styles/screen-text-color.js.map +1 -1
- package/build/components/global-styles/screen-typography.js +18 -12
- package/build/components/global-styles/screen-typography.js.map +1 -1
- 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 +43 -29
- 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 +85 -34
- package/build/components/global-styles/ui.js.map +1 -1
- package/build/components/global-styles/utils.js +5 -334
- package/build/components/global-styles/utils.js.map +1 -1
- 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 +6 -8
- 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} +1 -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 +2 -2
- 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/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 +65 -6
- 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/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 +4 -27
- package/build-module/components/add-new-template/new-template-part.js.map +1 -1
- package/build-module/components/add-new-template/utils.js +0 -5
- package/build-module/components/add-new-template/utils.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/index.js +14 -12
- 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/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 +2 -2
- package/build-module/components/global-styles/block-preview-panel.js.map +1 -1
- package/build-module/components/global-styles/border-panel.js +17 -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 +40 -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 +49 -32
- 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 +26 -15
- package/build-module/components/global-styles/screen-background-color.js.map +1 -1
- package/build-module/components/global-styles/screen-border.js +10 -5
- package/build-module/components/global-styles/screen-border.js.map +1 -1
- package/build-module/components/global-styles/screen-button-color.js +16 -11
- package/build-module/components/global-styles/screen-button-color.js.map +1 -1
- package/build-module/components/global-styles/screen-colors.js +43 -37
- 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 +23 -18
- package/build-module/components/global-styles/screen-heading-color.js.map +1 -1
- package/build-module/components/global-styles/screen-layout.js +4 -4
- package/build-module/components/global-styles/screen-layout.js.map +1 -1
- package/build-module/components/global-styles/screen-link-color.js +18 -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 +14 -9
- package/build-module/components/global-styles/screen-text-color.js.map +1 -1
- package/build-module/components/global-styles/screen-typography.js +16 -12
- package/build-module/components/global-styles/screen-typography.js.map +1 -1
- 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 +43 -31
- 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 +80 -35
- package/build-module/components/global-styles/ui.js.map +1 -1
- package/build-module/components/global-styles/utils.js +4 -319
- package/build-module/components/global-styles/utils.js.map +1 -1
- 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 +6 -8
- 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} +1 -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 +2 -2
- 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/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 +62 -3
- 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/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 +314 -216
- package/build-style/style.css +314 -216
- 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 +11 -32
- package/src/components/add-new-template/style.scss +0 -4
- package/src/components/add-new-template/utils.js +0 -14
- package/src/components/app/index.js +2 -2
- package/src/components/block-editor/index.js +12 -25
- package/src/components/block-editor/inserter-media-categories.js +247 -0
- package/src/components/block-editor/style.scss +19 -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 +4 -2
- 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 +2 -2
- package/src/components/global-styles/border-panel.js +19 -17
- package/src/components/global-styles/color-palette-panel.js +10 -7
- package/src/components/global-styles/context-menu.js +114 -44
- package/src/components/global-styles/custom-css.js +76 -19
- package/src/components/global-styles/dimensions-panel.js +46 -36
- 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 +37 -21
- package/src/components/global-styles/screen-border.js +10 -5
- package/src/components/global-styles/screen-button-color.js +21 -19
- package/src/components/global-styles/screen-colors.js +48 -65
- 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 +4 -7
- package/src/components/global-styles/screen-link-color.js +26 -26
- 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 -19
- package/src/components/global-styles/screen-typography.js +27 -12
- package/src/components/global-styles/shadow-panel.js +174 -0
- package/src/components/global-styles/style.scss +85 -1
- package/src/components/global-styles/typography-panel.js +60 -48
- package/src/components/global-styles/typography-preview.js +28 -9
- package/src/components/global-styles/ui.js +78 -53
- package/src/components/global-styles/utils.js +4 -371
- 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 +9 -2
- package/src/components/layout/style.scss +4 -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} +1 -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 +0 -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 +1 -1
- 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/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 +63 -5
- package/src/index.js +51 -59
- 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 -943
- 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 -901
- 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 -1059
- package/src/components/sidebar-edit-mode/navigation-menu-sidebar/index.js +0 -37
package/build-style/style.css
CHANGED
|
@@ -549,6 +549,144 @@ body.is-fullscreen-mode .interface-interface-skeleton {
|
|
|
549
549
|
margin-left: 48px;
|
|
550
550
|
}
|
|
551
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
|
+
|
|
552
690
|
.edit-site-block-editor__editor-styles-wrapper .components-button {
|
|
553
691
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
|
554
692
|
font-size: 13px;
|
|
@@ -578,6 +716,10 @@ body.is-fullscreen-mode .interface-interface-skeleton {
|
|
|
578
716
|
width: 100%;
|
|
579
717
|
height: 100%;
|
|
580
718
|
}
|
|
719
|
+
.edit-site-visual-editor .edit-site-visual-editor__editor-canvas {
|
|
720
|
+
height: 100%;
|
|
721
|
+
background: #fff;
|
|
722
|
+
}
|
|
581
723
|
.edit-site-layout.is-full-canvas .edit-site-visual-editor.is-focus-mode {
|
|
582
724
|
padding: 48px;
|
|
583
725
|
}
|
|
@@ -626,13 +768,16 @@ body.is-fullscreen-mode .interface-interface-skeleton {
|
|
|
626
768
|
}
|
|
627
769
|
.resizable-editor__drag-handle.is-variation-separator {
|
|
628
770
|
height: 100%;
|
|
771
|
+
width: 24px;
|
|
772
|
+
right: 0;
|
|
629
773
|
}
|
|
630
774
|
.resizable-editor__drag-handle.is-variation-separator::after {
|
|
631
|
-
width:
|
|
775
|
+
width: 2px;
|
|
632
776
|
border-radius: 0;
|
|
633
|
-
background:
|
|
634
|
-
left:
|
|
635
|
-
|
|
777
|
+
background: transparent;
|
|
778
|
+
left: 50%;
|
|
779
|
+
transform: translateX(-1px);
|
|
780
|
+
right: 0;
|
|
636
781
|
transition: all ease 0.2s;
|
|
637
782
|
transition-delay: 0.1s;
|
|
638
783
|
}
|
|
@@ -646,10 +791,10 @@ body.is-fullscreen-mode .interface-interface-skeleton {
|
|
|
646
791
|
}
|
|
647
792
|
.resizable-editor__drag-handle::after {
|
|
648
793
|
position: absolute;
|
|
649
|
-
top:
|
|
794
|
+
top: 24px;
|
|
650
795
|
left: 4px;
|
|
651
796
|
right: 0;
|
|
652
|
-
bottom:
|
|
797
|
+
bottom: 24px;
|
|
653
798
|
content: "";
|
|
654
799
|
width: 4px;
|
|
655
800
|
background: #949494;
|
|
@@ -668,12 +813,23 @@ body.is-fullscreen-mode .interface-interface-skeleton {
|
|
|
668
813
|
background: #ccc;
|
|
669
814
|
}
|
|
670
815
|
.resizable-editor__drag-handle:hover.is-variation-separator::after, .resizable-editor__drag-handle:active.is-variation-separator::after {
|
|
671
|
-
width: 2px;
|
|
672
816
|
background: var(--wp-admin-theme-color);
|
|
673
817
|
}
|
|
674
818
|
.resizable-editor__drag-handle:focus::after {
|
|
675
819
|
box-shadow: 0 0 0 1px #2f2f2f, 0 0 0 calc(var(--wp-admin-border-width-focus) + 1px) var(--wp-admin-theme-color);
|
|
676
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
|
+
}
|
|
677
833
|
|
|
678
834
|
.edit-site-code-editor {
|
|
679
835
|
position: relative;
|
|
@@ -852,7 +1008,8 @@ textarea.edit-site-code-editor-text-area.edit-site-code-editor-text-area:-ms-inp
|
|
|
852
1008
|
|
|
853
1009
|
.edit-site-screen-text-color__control,
|
|
854
1010
|
.edit-site-screen-link-color__control,
|
|
855
|
-
.edit-site-screen-button-color__control
|
|
1011
|
+
.edit-site-screen-button-color__control,
|
|
1012
|
+
.edit-site-screen-background-color__control.has-no-tabs {
|
|
856
1013
|
padding: 16px;
|
|
857
1014
|
}
|
|
858
1015
|
|
|
@@ -898,10 +1055,42 @@ textarea.edit-site-code-editor-text-area.edit-site-code-editor-text-area:-ms-inp
|
|
|
898
1055
|
border-radius: 2px;
|
|
899
1056
|
}
|
|
900
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
|
+
|
|
901
1080
|
.edit-site-global-styles__custom-css-input textarea {
|
|
902
1081
|
font-family: Menlo, Consolas, monaco, monospace;
|
|
903
1082
|
}
|
|
904
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
|
+
|
|
905
1094
|
.edit-site-global-styles__custom-css-theme-css {
|
|
906
1095
|
width: 100%;
|
|
907
1096
|
line-break: anywhere;
|
|
@@ -910,6 +1099,10 @@ textarea.edit-site-code-editor-text-area.edit-site-code-editor-text-area:-ms-inp
|
|
|
910
1099
|
overflow-y: scroll;
|
|
911
1100
|
}
|
|
912
1101
|
|
|
1102
|
+
.edit-site-global-styles-screen-css-help-link {
|
|
1103
|
+
padding-left: 16px;
|
|
1104
|
+
}
|
|
1105
|
+
|
|
913
1106
|
.edit-site-global-styles-screen-variations {
|
|
914
1107
|
margin-top: 16px;
|
|
915
1108
|
border-top: 1px solid #ddd;
|
|
@@ -918,6 +1111,45 @@ textarea.edit-site-code-editor-text-area.edit-site-code-editor-text-area:-ms-inp
|
|
|
918
1111
|
margin: 24px 16px;
|
|
919
1112
|
}
|
|
920
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
|
+
|
|
921
1153
|
.edit-site-header-edit-mode {
|
|
922
1154
|
height: 60px;
|
|
923
1155
|
align-items: center;
|
|
@@ -1273,10 +1505,6 @@ body.is-fullscreen-mode .edit-site-list-header {
|
|
|
1273
1505
|
}
|
|
1274
1506
|
}
|
|
1275
1507
|
|
|
1276
|
-
.edit-site-list__rename-modal-actions {
|
|
1277
|
-
margin-top: 12px;
|
|
1278
|
-
}
|
|
1279
|
-
|
|
1280
1508
|
.edit-site-template__actions button:not(:last-child) {
|
|
1281
1509
|
margin-right: 8px;
|
|
1282
1510
|
}
|
|
@@ -1333,146 +1561,44 @@ body.is-fullscreen-mode .edit-site-list-header {
|
|
|
1333
1561
|
opacity: 1;
|
|
1334
1562
|
}
|
|
1335
1563
|
|
|
1336
|
-
@
|
|
1337
|
-
|
|
1338
|
-
|
|
1564
|
+
@keyframes loadingpulse {
|
|
1565
|
+
0% {
|
|
1566
|
+
opacity: 1;
|
|
1339
1567
|
}
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
.edit-site-custom-template-modal__contents > .components-button {
|
|
1343
|
-
padding: 24px;
|
|
1344
|
-
box-shadow: inset 0 0 0 1px #949494;
|
|
1345
|
-
border-radius: 2px;
|
|
1346
|
-
width: 256px;
|
|
1347
|
-
height: auto;
|
|
1348
|
-
display: flex;
|
|
1349
|
-
flex-direction: column;
|
|
1350
|
-
gap: 8px;
|
|
1351
|
-
outline: 1px solid transparent;
|
|
1352
|
-
}
|
|
1353
|
-
.edit-site-custom-template-modal__contents > .components-button span:first-child {
|
|
1354
|
-
color: #1e1e1e;
|
|
1355
|
-
}
|
|
1356
|
-
.edit-site-custom-template-modal__contents > .components-button span {
|
|
1357
|
-
color: #757575;
|
|
1358
|
-
}
|
|
1359
|
-
.edit-site-custom-template-modal__contents > .components-button:hover {
|
|
1360
|
-
color: var(--wp-admin-theme-color-darker-10);
|
|
1361
|
-
box-shadow: inset 0 0 0 1px var(--wp-admin-theme-color-darker-10);
|
|
1362
|
-
}
|
|
1363
|
-
.edit-site-custom-template-modal__contents > .components-button:hover span:first-child {
|
|
1364
|
-
color: var(--wp-admin-theme-color);
|
|
1365
|
-
}
|
|
1366
|
-
.edit-site-custom-template-modal__contents > .components-button:focus {
|
|
1367
|
-
box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
|
|
1368
|
-
outline: 3px solid transparent;
|
|
1369
|
-
}
|
|
1370
|
-
.edit-site-custom-template-modal__contents > .components-button:focus span:first-child {
|
|
1371
|
-
color: var(--wp-admin-theme-color);
|
|
1372
|
-
}
|
|
1373
|
-
.edit-site-custom-template-modal .components-search-control input[type=search].components-search-control__input {
|
|
1374
|
-
background: #fff;
|
|
1375
|
-
border: 1px solid #ddd;
|
|
1376
|
-
}
|
|
1377
|
-
.edit-site-custom-template-modal .components-search-control input[type=search].components-search-control__input:focus {
|
|
1378
|
-
border-color: var(--wp-admin-theme-color);
|
|
1379
|
-
box-shadow: 0 0 0 1px var(--wp-admin-theme-color);
|
|
1380
|
-
}
|
|
1381
|
-
@media (min-width: 782px) {
|
|
1382
|
-
.edit-site-custom-template-modal {
|
|
1383
|
-
width: 456px;
|
|
1568
|
+
50% {
|
|
1569
|
+
opacity: 0.5;
|
|
1384
1570
|
}
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
.edit-site-custom-template-modal__suggestions_list {
|
|
1388
|
-
margin-top: 16px;
|
|
1389
|
-
}
|
|
1390
|
-
@media (min-width: 600px) {
|
|
1391
|
-
.edit-site-custom-template-modal__suggestions_list {
|
|
1392
|
-
height: 232px;
|
|
1393
|
-
overflow: scroll;
|
|
1571
|
+
100% {
|
|
1572
|
+
opacity: 1;
|
|
1394
1573
|
}
|
|
1395
1574
|
}
|
|
1396
|
-
.edit-site-
|
|
1397
|
-
|
|
1398
|
-
width: 100%;
|
|
1399
|
-
text-align: left;
|
|
1400
|
-
white-space: pre-wrap;
|
|
1401
|
-
overflow-wrap: break-word;
|
|
1402
|
-
height: auto;
|
|
1403
|
-
}
|
|
1404
|
-
.edit-site-custom-template-modal__suggestions_list__list-item mark {
|
|
1405
|
-
font-weight: 700;
|
|
1406
|
-
background: none;
|
|
1407
|
-
}
|
|
1408
|
-
.edit-site-custom-template-modal__suggestions_list__list-item:hover {
|
|
1409
|
-
background-color: #f0f0f0;
|
|
1410
|
-
}
|
|
1411
|
-
.edit-site-custom-template-modal__suggestions_list__list-item:hover mark {
|
|
1412
|
-
color: var(--wp-admin-theme-color);
|
|
1413
|
-
}
|
|
1414
|
-
.edit-site-custom-template-modal__suggestions_list__list-item:focus {
|
|
1415
|
-
background-color: #f0f0f0;
|
|
1416
|
-
}
|
|
1417
|
-
.edit-site-custom-template-modal__suggestions_list__list-item:focus:not(:disabled) {
|
|
1418
|
-
box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color) inset;
|
|
1419
|
-
}
|
|
1420
|
-
.edit-site-custom-template-modal__suggestions_list__list-item__title, .edit-site-custom-template-modal__suggestions_list__list-item__info {
|
|
1421
|
-
overflow: hidden;
|
|
1422
|
-
text-overflow: ellipsis;
|
|
1423
|
-
display: block;
|
|
1575
|
+
.edit-site-navigation-inspector .block-editor-list-view-leaf .block-editor-list-view-block-contents {
|
|
1576
|
+
white-space: normal;
|
|
1424
1577
|
}
|
|
1425
|
-
.edit-site-
|
|
1426
|
-
|
|
1427
|
-
margin-bottom: 0.2em;
|
|
1578
|
+
.edit-site-navigation-inspector .block-editor-list-view-block__title {
|
|
1579
|
+
margin-top: 3px;
|
|
1428
1580
|
}
|
|
1429
|
-
.edit-site-
|
|
1430
|
-
|
|
1431
|
-
font-size: 0.9em;
|
|
1432
|
-
line-height: 1.3;
|
|
1433
|
-
word-break: break-all;
|
|
1581
|
+
.edit-site-navigation-inspector .block-editor-list-view-block__menu-cell {
|
|
1582
|
+
padding-right: 0;
|
|
1434
1583
|
}
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
border: 1px solid #ccc;
|
|
1438
|
-
border-radius: 2px;
|
|
1439
|
-
padding: 16px;
|
|
1440
|
-
margin-bottom: 0;
|
|
1441
|
-
margin-top: 16px;
|
|
1584
|
+
.edit-site-navigation-inspector .edit-site-navigation-inspector__select-menu {
|
|
1585
|
+
margin-bottom: 8px;
|
|
1442
1586
|
}
|
|
1443
1587
|
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
border-bottom: none;
|
|
1451
|
-
}
|
|
1452
|
-
.edit-site-custom-generic-template__modal .components-modal__content::before {
|
|
1453
|
-
margin-bottom: 4px;
|
|
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;
|
|
1454
1594
|
}
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
|
|
1595
|
+
.edit-site-navigation-inspector__placeholder.is-child {
|
|
1596
|
+
margin-left: 24px;
|
|
1597
|
+
width: 50%;
|
|
1458
1598
|
}
|
|
1459
1599
|
|
|
1460
|
-
.edit-site-
|
|
1461
|
-
|
|
1462
|
-
backdrop-filter: none;
|
|
1463
|
-
background-color: transparent;
|
|
1464
|
-
}
|
|
1465
|
-
.edit-site-template-actions-loading-screen-modal.is-full-screen {
|
|
1466
|
-
background-color: #fff;
|
|
1467
|
-
box-shadow: 0 0 0 transparent;
|
|
1468
|
-
min-width: 100%;
|
|
1469
|
-
min-height: 100%;
|
|
1470
|
-
}
|
|
1471
|
-
.edit-site-template-actions-loading-screen-modal__content {
|
|
1472
|
-
display: flex;
|
|
1473
|
-
align-items: center;
|
|
1474
|
-
justify-content: center;
|
|
1475
|
-
height: 100%;
|
|
1600
|
+
.edit-site-navigation-inspector__empty-msg {
|
|
1601
|
+
padding: 0 8px;
|
|
1476
1602
|
}
|
|
1477
1603
|
|
|
1478
1604
|
.edit-site-sidebar-edit-mode {
|
|
@@ -1594,6 +1720,7 @@ body.is-fullscreen-mode .edit-site-list-header {
|
|
|
1594
1720
|
.components-button.edit-site-sidebar-edit-mode__panel-tab:focus:not(:disabled) {
|
|
1595
1721
|
position: relative;
|
|
1596
1722
|
box-shadow: none;
|
|
1723
|
+
outline: none;
|
|
1597
1724
|
}
|
|
1598
1725
|
.components-button.edit-site-sidebar-edit-mode__panel-tab::after {
|
|
1599
1726
|
content: "";
|
|
@@ -1615,6 +1742,8 @@ body.is-fullscreen-mode .edit-site-list-header {
|
|
|
1615
1742
|
}
|
|
1616
1743
|
.components-button.edit-site-sidebar-edit-mode__panel-tab.is-active::after {
|
|
1617
1744
|
height: calc(1 * var(--wp-admin-border-width-focus));
|
|
1745
|
+
outline: 2px solid transparent;
|
|
1746
|
+
outline-offset: -1px;
|
|
1618
1747
|
}
|
|
1619
1748
|
.components-button.edit-site-sidebar-edit-mode__panel-tab::before {
|
|
1620
1749
|
content: "";
|
|
@@ -1636,63 +1765,7 @@ body.is-fullscreen-mode .edit-site-list-header {
|
|
|
1636
1765
|
}
|
|
1637
1766
|
.components-button.edit-site-sidebar-edit-mode__panel-tab:focus-visible::before {
|
|
1638
1767
|
box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
@keyframes loadingpulse {
|
|
1642
|
-
0% {
|
|
1643
|
-
opacity: 1;
|
|
1644
|
-
}
|
|
1645
|
-
50% {
|
|
1646
|
-
opacity: 0.5;
|
|
1647
|
-
}
|
|
1648
|
-
100% {
|
|
1649
|
-
opacity: 1;
|
|
1650
|
-
}
|
|
1651
|
-
}
|
|
1652
|
-
.edit-site-navigation-inspector .block-editor-list-view-leaf .block-editor-list-view-block-contents {
|
|
1653
|
-
white-space: normal;
|
|
1654
|
-
}
|
|
1655
|
-
.edit-site-navigation-inspector .block-editor-list-view-block__title {
|
|
1656
|
-
margin-top: 3px;
|
|
1657
|
-
}
|
|
1658
|
-
.edit-site-navigation-inspector .block-editor-list-view-block__menu-cell {
|
|
1659
|
-
padding-right: 0;
|
|
1660
|
-
}
|
|
1661
|
-
.edit-site-navigation-inspector .edit-site-navigation-inspector__select-menu {
|
|
1662
|
-
margin-bottom: 8px;
|
|
1663
|
-
}
|
|
1664
|
-
|
|
1665
|
-
.edit-site-navigation-inspector__placeholder {
|
|
1666
|
-
padding: 8px;
|
|
1667
|
-
margin: 8px;
|
|
1668
|
-
background-color: #f0f0f0;
|
|
1669
|
-
animation: loadingpulse 1s linear infinite;
|
|
1670
|
-
animation-delay: 0.5s;
|
|
1671
|
-
}
|
|
1672
|
-
.edit-site-navigation-inspector__placeholder.is-child {
|
|
1673
|
-
margin-left: 24px;
|
|
1674
|
-
width: 50%;
|
|
1675
|
-
}
|
|
1676
|
-
|
|
1677
|
-
.edit-site-navigation-inspector__empty-msg {
|
|
1678
|
-
padding: 0 8px;
|
|
1679
|
-
}
|
|
1680
|
-
|
|
1681
|
-
.edit-site-navigation-menu-sidebar__panel {
|
|
1682
|
-
padding: 16px;
|
|
1683
|
-
}
|
|
1684
|
-
|
|
1685
|
-
.edit-site-navigation-sidebar__beta {
|
|
1686
|
-
display: inline-flex;
|
|
1687
|
-
margin-left: 8px;
|
|
1688
|
-
padding: 0 8px;
|
|
1689
|
-
height: 24px;
|
|
1690
|
-
border-radius: 2px;
|
|
1691
|
-
background-color: #1e1e1e;
|
|
1692
|
-
color: #fff;
|
|
1693
|
-
align-items: center;
|
|
1694
|
-
font-size: 12px;
|
|
1695
|
-
line-height: 1;
|
|
1768
|
+
outline: 2px solid transparent;
|
|
1696
1769
|
}
|
|
1697
1770
|
|
|
1698
1771
|
.edit-site-template-card {
|
|
@@ -1875,15 +1948,6 @@ body.is-fullscreen-mode .edit-site .components-editor-notices__snackbar {
|
|
|
1875
1948
|
}
|
|
1876
1949
|
}
|
|
1877
1950
|
|
|
1878
|
-
.edit-site-create-template-part-modal__modal-actions {
|
|
1879
|
-
padding-top: 12px;
|
|
1880
|
-
}
|
|
1881
|
-
|
|
1882
|
-
.edit-site-create-template-part-modal__area-base-control .components-base-control__label {
|
|
1883
|
-
margin: 16px 0 8px;
|
|
1884
|
-
cursor: auto;
|
|
1885
|
-
}
|
|
1886
|
-
|
|
1887
1951
|
.edit-site-create-template-part-modal__area-radio-group {
|
|
1888
1952
|
width: 100%;
|
|
1889
1953
|
border: 1px solid #757575;
|
|
@@ -2117,7 +2181,6 @@ body.is-fullscreen-mode .edit-site .components-editor-notices__snackbar {
|
|
|
2117
2181
|
.edit-site-layout__content {
|
|
2118
2182
|
flex-grow: 1;
|
|
2119
2183
|
display: flex;
|
|
2120
|
-
gap: 24px;
|
|
2121
2184
|
overflow: hidden;
|
|
2122
2185
|
}
|
|
2123
2186
|
|
|
@@ -2136,9 +2199,6 @@ body.is-fullscreen-mode .edit-site .components-editor-notices__snackbar {
|
|
|
2136
2199
|
left: 0;
|
|
2137
2200
|
top: 0;
|
|
2138
2201
|
}
|
|
2139
|
-
.edit-site-layout__sidebar .resizable-editor__drag-handle.is-right {
|
|
2140
|
-
right: -6px;
|
|
2141
|
-
}
|
|
2142
2202
|
.edit-site-layout__sidebar > div {
|
|
2143
2203
|
overflow-y: auto;
|
|
2144
2204
|
min-height: 100%;
|
|
@@ -2163,6 +2223,9 @@ body.is-fullscreen-mode .edit-site .components-editor-notices__snackbar {
|
|
|
2163
2223
|
.edit-site-layout__sidebar > div:hover, .edit-site-layout__sidebar > div:focus, .edit-site-layout__sidebar > div > * {
|
|
2164
2224
|
visibility: visible;
|
|
2165
2225
|
}
|
|
2226
|
+
.edit-site-layout__sidebar .resizable-editor__drag-handle {
|
|
2227
|
+
right: 0;
|
|
2228
|
+
}
|
|
2166
2229
|
|
|
2167
2230
|
.edit-site-layout__canvas-container {
|
|
2168
2231
|
position: relative;
|
|
@@ -2273,15 +2336,33 @@ body.is-fullscreen-mode .edit-site .components-editor-notices__snackbar {
|
|
|
2273
2336
|
color: #949494;
|
|
2274
2337
|
border-width: 1.5px;
|
|
2275
2338
|
}
|
|
2276
|
-
.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] {
|
|
2277
2340
|
color: #fff;
|
|
2278
2341
|
background: #2f2f2f;
|
|
2279
2342
|
border-width: 1.5px;
|
|
2280
2343
|
}
|
|
2281
2344
|
.edit-site-sidebar-navigation-item.components-item[aria-current] {
|
|
2282
|
-
color: #fff;
|
|
2283
2345
|
background: var(--wp-admin-theme-color);
|
|
2284
|
-
|
|
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;
|
|
2285
2366
|
}
|
|
2286
2367
|
|
|
2287
2368
|
.edit-site-sidebar-navigation-screen {
|
|
@@ -2310,6 +2391,8 @@ body.is-fullscreen-mode .edit-site .components-editor-notices__snackbar {
|
|
|
2310
2391
|
font-size: calc(1.56 * 13px);
|
|
2311
2392
|
font-weight: 500;
|
|
2312
2393
|
flex-grow: 1;
|
|
2394
|
+
color: #fff;
|
|
2395
|
+
margin: 0;
|
|
2313
2396
|
}
|
|
2314
2397
|
|
|
2315
2398
|
.edit-site-sidebar-navigation-screen__back {
|
|
@@ -2350,10 +2433,14 @@ body.is-fullscreen-mode .edit-site .components-editor-notices__snackbar {
|
|
|
2350
2433
|
|
|
2351
2434
|
.edit-site-site-hub__view-mode-toggle-container {
|
|
2352
2435
|
height: 60px;
|
|
2353
|
-
width:
|
|
2436
|
+
width: 64px;
|
|
2354
2437
|
flex-shrink: 0;
|
|
2355
2438
|
}
|
|
2356
2439
|
|
|
2440
|
+
.edit-site-layout.is-edit-mode .edit-site-site-hub__view-mode-toggle-container {
|
|
2441
|
+
width: 60px;
|
|
2442
|
+
}
|
|
2443
|
+
|
|
2357
2444
|
.edit-site-site-hub__text-content {
|
|
2358
2445
|
overflow: hidden;
|
|
2359
2446
|
}
|
|
@@ -2364,13 +2451,24 @@ body.is-fullscreen-mode .edit-site .components-editor-notices__snackbar {
|
|
|
2364
2451
|
overflow: hidden;
|
|
2365
2452
|
}
|
|
2366
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
|
+
|
|
2367
2465
|
.edit-site-site-icon__icon {
|
|
2368
2466
|
fill: currentColor;
|
|
2369
2467
|
}
|
|
2370
2468
|
|
|
2371
2469
|
.edit-site-site-icon__image {
|
|
2372
|
-
width:
|
|
2373
|
-
height:
|
|
2470
|
+
width: 32px;
|
|
2471
|
+
height: 32px;
|
|
2374
2472
|
border-radius: 2px;
|
|
2375
2473
|
-o-object-fit: cover;
|
|
2376
2474
|
object-fit: cover;
|