@wordpress/edit-site 4.7.0 → 4.10.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 +84 -0
- package/build/components/add-new-template/add-custom-generic-template-modal.js.map +1 -0
- package/build/components/add-new-template/add-custom-template-modal.js +224 -0
- package/build/components/add-new-template/add-custom-template-modal.js.map +1 -0
- package/build/components/add-new-template/new-template.js +94 -33
- package/build/components/add-new-template/new-template.js.map +1 -1
- package/build/components/add-new-template/utils.js +405 -0
- package/build/components/add-new-template/utils.js.map +1 -0
- package/build/components/block-editor/block-inspector-button.js.map +1 -1
- package/build/components/block-editor/index.js.map +1 -1
- package/build/components/code-editor/index.js +17 -4
- package/build/components/code-editor/index.js.map +1 -1
- package/build/components/edit-template-part-menu-button/index.js.map +1 -1
- package/build/components/editor/index.js +16 -0
- package/build/components/editor/index.js.map +1 -1
- package/build/components/error-boundary/index.js +6 -0
- package/build/components/error-boundary/index.js.map +1 -1
- package/build/components/global-styles/context-menu.js +6 -3
- package/build/components/global-styles/context-menu.js.map +1 -1
- package/build/components/global-styles/dimensions-panel.js +2 -6
- package/build/components/global-styles/dimensions-panel.js.map +1 -1
- package/build/components/global-styles/global-styles-provider.js +4 -2
- package/build/components/global-styles/global-styles-provider.js.map +1 -1
- package/build/components/global-styles/gradients-palette-panel.js +3 -7
- package/build/components/global-styles/gradients-palette-panel.js.map +1 -1
- package/build/components/global-styles/hooks.js +11 -2
- package/build/components/global-styles/hooks.js.map +1 -1
- package/build/components/global-styles/palette.js +2 -1
- package/build/components/global-styles/palette.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-button-color.js +80 -0
- package/build/components/global-styles/screen-button-color.js.map +1 -0
- package/build/components/global-styles/screen-color-palette.js +13 -17
- package/build/components/global-styles/screen-color-palette.js.map +1 -1
- package/build/components/global-styles/screen-colors.js +56 -8
- package/build/components/global-styles/screen-colors.js.map +1 -1
- package/build/components/global-styles/screen-link-color.js +48 -14
- package/build/components/global-styles/screen-link-color.js.map +1 -1
- package/build/components/global-styles/screen-root.js +4 -2
- package/build/components/global-styles/screen-root.js.map +1 -1
- package/build/components/global-styles/screen-style-variations.js +9 -1
- package/build/components/global-styles/screen-style-variations.js.map +1 -1
- package/build/components/global-styles/screen-typography-element.js +4 -0
- package/build/components/global-styles/screen-typography-element.js.map +1 -1
- package/build/components/global-styles/screen-typography.js +9 -1
- package/build/components/global-styles/screen-typography.js.map +1 -1
- package/build/components/global-styles/ui.js +11 -0
- package/build/components/global-styles/ui.js.map +1 -1
- package/build/components/global-styles/use-global-styles-output.js +199 -30
- package/build/components/global-styles/use-global-styles-output.js.map +1 -1
- package/build/components/global-styles/utils.js +4 -2
- package/build/components/global-styles/utils.js.map +1 -1
- package/build/components/header/index.js +28 -10
- package/build/components/header/index.js.map +1 -1
- package/build/components/header/mode-switcher/index.js.map +1 -1
- package/build/components/header/more-menu/copy-content-menu-item.js +1 -1
- package/build/components/header/more-menu/copy-content-menu-item.js.map +1 -1
- package/build/components/header/more-menu/site-export.js +4 -1
- package/build/components/header/more-menu/site-export.js.map +1 -1
- package/build/components/header/undo-redo/redo.js +13 -4
- package/build/components/header/undo-redo/redo.js.map +1 -1
- package/build/components/header/undo-redo/undo.js +13 -4
- package/build/components/header/undo-redo/undo.js.map +1 -1
- package/build/components/keyboard-shortcut-help-modal/config.js +17 -0
- package/build/components/keyboard-shortcut-help-modal/config.js.map +1 -1
- package/build/components/keyboard-shortcut-help-modal/index.js +1 -3
- package/build/components/keyboard-shortcut-help-modal/index.js.map +1 -1
- package/build/components/keyboard-shortcuts/index.js.map +1 -1
- package/build/components/list/actions/index.js.map +1 -1
- package/build/components/list/actions/rename-menu-item.js.map +1 -1
- package/build/components/list/added-by.js.map +1 -1
- package/build/components/navigation-sidebar/index.js.map +1 -1
- package/build/components/save-button/index.js.map +1 -1
- package/build/components/sidebar/index.js.map +1 -1
- package/build/components/sidebar/navigation-menu-sidebar/navigation-inspector.js.map +1 -1
- package/build/components/sidebar/template-card/index.js +19 -7
- package/build/components/sidebar/template-card/index.js.map +1 -1
- package/build/components/sidebar/template-card/template-actions.js +64 -0
- package/build/components/sidebar/template-card/template-actions.js.map +1 -0
- package/build/components/sidebar/template-card/template-areas.js.map +1 -1
- package/build/components/template-details/edit-template-title.js +11 -3
- package/build/components/template-details/edit-template-title.js.map +1 -1
- package/build/components/template-details/index.js +1 -20
- package/build/components/template-details/index.js.map +1 -1
- package/build/components/template-details/template-areas.js.map +1 -1
- package/build/components/template-part-converter/index.js.map +1 -1
- package/build/components/url-query-controller/index.js.map +1 -1
- package/build/store/actions.js.map +1 -1
- package/build/store/selectors.js +4 -1
- package/build/store/selectors.js.map +1 -1
- package/build-module/components/add-new-template/add-custom-generic-template-modal.js +77 -0
- package/build-module/components/add-new-template/add-custom-generic-template-modal.js.map +1 -0
- package/build-module/components/add-new-template/add-custom-template-modal.js +209 -0
- package/build-module/components/add-new-template/add-custom-template-modal.js.map +1 -0
- package/build-module/components/add-new-template/new-template.js +93 -34
- package/build-module/components/add-new-template/new-template.js.map +1 -1
- package/build-module/components/add-new-template/utils.js +365 -0
- package/build-module/components/add-new-template/utils.js.map +1 -0
- package/build-module/components/block-editor/block-inspector-button.js.map +1 -1
- package/build-module/components/block-editor/index.js.map +1 -1
- package/build-module/components/code-editor/index.js +18 -5
- package/build-module/components/code-editor/index.js.map +1 -1
- package/build-module/components/edit-template-part-menu-button/index.js.map +1 -1
- package/build-module/components/editor/index.js +16 -0
- package/build-module/components/editor/index.js.map +1 -1
- package/build-module/components/error-boundary/index.js +5 -0
- package/build-module/components/error-boundary/index.js.map +1 -1
- package/build-module/components/global-styles/context-menu.js +6 -3
- package/build-module/components/global-styles/context-menu.js.map +1 -1
- package/build-module/components/global-styles/dimensions-panel.js +2 -6
- package/build-module/components/global-styles/dimensions-panel.js.map +1 -1
- package/build-module/components/global-styles/global-styles-provider.js +4 -2
- package/build-module/components/global-styles/global-styles-provider.js.map +1 -1
- package/build-module/components/global-styles/gradients-palette-panel.js +3 -5
- package/build-module/components/global-styles/gradients-palette-panel.js.map +1 -1
- package/build-module/components/global-styles/hooks.js +11 -2
- package/build-module/components/global-styles/hooks.js.map +1 -1
- package/build-module/components/global-styles/palette.js +2 -1
- package/build-module/components/global-styles/palette.js.map +1 -1
- package/build-module/components/global-styles/screen-block-list.js +4 -1
- package/build-module/components/global-styles/screen-block-list.js.map +1 -1
- package/build-module/components/global-styles/screen-button-color.js +67 -0
- package/build-module/components/global-styles/screen-button-color.js.map +1 -0
- package/build-module/components/global-styles/screen-color-palette.js +14 -19
- package/build-module/components/global-styles/screen-color-palette.js.map +1 -1
- package/build-module/components/global-styles/screen-colors.js +57 -9
- package/build-module/components/global-styles/screen-colors.js.map +1 -1
- package/build-module/components/global-styles/screen-link-color.js +47 -14
- package/build-module/components/global-styles/screen-link-color.js.map +1 -1
- package/build-module/components/global-styles/screen-root.js +4 -2
- package/build-module/components/global-styles/screen-root.js.map +1 -1
- package/build-module/components/global-styles/screen-style-variations.js +9 -1
- package/build-module/components/global-styles/screen-style-variations.js.map +1 -1
- package/build-module/components/global-styles/screen-typography-element.js +4 -0
- package/build-module/components/global-styles/screen-typography-element.js.map +1 -1
- package/build-module/components/global-styles/screen-typography.js +10 -2
- package/build-module/components/global-styles/screen-typography.js.map +1 -1
- package/build-module/components/global-styles/ui.js +10 -0
- package/build-module/components/global-styles/ui.js.map +1 -1
- package/build-module/components/global-styles/use-global-styles-output.js +198 -32
- package/build-module/components/global-styles/use-global-styles-output.js.map +1 -1
- package/build-module/components/global-styles/utils.js +5 -3
- package/build-module/components/global-styles/utils.js.map +1 -1
- package/build-module/components/header/index.js +29 -11
- package/build-module/components/header/index.js.map +1 -1
- package/build-module/components/header/mode-switcher/index.js.map +1 -1
- package/build-module/components/header/more-menu/copy-content-menu-item.js +1 -1
- package/build-module/components/header/more-menu/copy-content-menu-item.js.map +1 -1
- package/build-module/components/header/more-menu/site-export.js +4 -1
- package/build-module/components/header/more-menu/site-export.js.map +1 -1
- package/build-module/components/header/undo-redo/redo.js +9 -3
- package/build-module/components/header/undo-redo/redo.js.map +1 -1
- package/build-module/components/header/undo-redo/undo.js +9 -3
- package/build-module/components/header/undo-redo/undo.js.map +1 -1
- package/build-module/components/keyboard-shortcut-help-modal/config.js +17 -0
- package/build-module/components/keyboard-shortcut-help-modal/config.js.map +1 -1
- package/build-module/components/keyboard-shortcut-help-modal/index.js +1 -2
- package/build-module/components/keyboard-shortcut-help-modal/index.js.map +1 -1
- package/build-module/components/keyboard-shortcuts/index.js.map +1 -1
- package/build-module/components/list/actions/index.js.map +1 -1
- package/build-module/components/list/actions/rename-menu-item.js.map +1 -1
- package/build-module/components/list/added-by.js.map +1 -1
- package/build-module/components/navigation-sidebar/index.js.map +1 -1
- package/build-module/components/save-button/index.js.map +1 -1
- package/build-module/components/sidebar/index.js.map +1 -1
- package/build-module/components/sidebar/navigation-menu-sidebar/navigation-inspector.js.map +1 -1
- package/build-module/components/sidebar/template-card/index.js +18 -7
- package/build-module/components/sidebar/template-card/index.js.map +1 -1
- package/build-module/components/sidebar/template-card/template-actions.js +49 -0
- package/build-module/components/sidebar/template-card/template-actions.js.map +1 -0
- package/build-module/components/sidebar/template-card/template-areas.js.map +1 -1
- package/build-module/components/template-details/edit-template-title.js +12 -3
- package/build-module/components/template-details/edit-template-title.js.map +1 -1
- package/build-module/components/template-details/index.js +2 -21
- package/build-module/components/template-details/index.js.map +1 -1
- package/build-module/components/template-details/template-areas.js.map +1 -1
- package/build-module/components/template-part-converter/index.js.map +1 -1
- package/build-module/components/url-query-controller/index.js.map +1 -1
- package/build-module/store/actions.js.map +1 -1
- package/build-module/store/selectors.js +5 -2
- package/build-module/store/selectors.js.map +1 -1
- package/build-style/style-rtl.css +188 -42
- package/build-style/style.css +188 -42
- package/package.json +29 -29
- package/src/components/add-new-template/add-custom-generic-template-modal.js +97 -0
- package/src/components/add-new-template/add-custom-template-modal.js +265 -0
- package/src/components/add-new-template/new-template.js +194 -70
- package/src/components/add-new-template/style.scss +137 -0
- package/src/components/add-new-template/utils.js +369 -0
- package/src/components/block-editor/block-inspector-button.js +2 -3
- package/src/components/block-editor/index.js +4 -9
- package/src/components/code-editor/index.js +15 -5
- package/src/components/edit-template-part-menu-button/index.js +2 -3
- package/src/components/editor/index.js +15 -5
- package/src/components/error-boundary/index.js +5 -0
- package/src/components/global-styles/context-menu.js +3 -0
- package/src/components/global-styles/dimensions-panel.js +2 -7
- package/src/components/global-styles/global-styles-provider.js +12 -17
- package/src/components/global-styles/gradients-palette-panel.js +2 -5
- package/src/components/global-styles/hooks.js +20 -3
- package/src/components/global-styles/palette.js +4 -1
- package/src/components/global-styles/screen-block-list.js +14 -5
- package/src/components/global-styles/screen-button-color.js +102 -0
- package/src/components/global-styles/screen-color-palette.js +25 -27
- package/src/components/global-styles/screen-colors.js +58 -7
- package/src/components/global-styles/screen-link-color.js +65 -23
- package/src/components/global-styles/screen-root.js +12 -5
- package/src/components/global-styles/screen-style-variations.js +10 -4
- package/src/components/global-styles/screen-typography-element.js +4 -0
- package/src/components/global-styles/screen-typography.js +17 -2
- package/src/components/global-styles/style.scss +14 -8
- package/src/components/global-styles/test/use-global-styles-output.js +250 -16
- package/src/components/global-styles/ui.js +13 -0
- package/src/components/global-styles/use-global-styles-output.js +246 -32
- package/src/components/global-styles/utils.js +5 -2
- package/src/components/header/index.js +38 -13
- package/src/components/header/mode-switcher/index.js +4 -4
- package/src/components/header/more-menu/copy-content-menu-item.js +3 -4
- package/src/components/header/more-menu/site-export.js +5 -3
- package/src/components/header/style.scss +53 -5
- package/src/components/header/undo-redo/redo.js +6 -1
- package/src/components/header/undo-redo/undo.js +6 -1
- package/src/components/keyboard-shortcut-help-modal/config.js +12 -0
- package/src/components/keyboard-shortcut-help-modal/index.js +1 -2
- package/src/components/keyboard-shortcut-help-modal/style.scss +0 -5
- package/src/components/keyboard-shortcuts/index.js +6 -10
- package/src/components/list/actions/index.js +2 -3
- package/src/components/list/actions/rename-menu-item.js +4 -6
- package/src/components/list/added-by.js +4 -3
- package/src/components/list/style.scss +0 -8
- package/src/components/navigation-sidebar/index.js +2 -4
- package/src/components/save-button/index.js +2 -4
- package/src/components/sidebar/index.js +6 -6
- package/src/components/sidebar/navigation-menu-sidebar/navigation-inspector.js +6 -9
- package/src/components/sidebar/template-card/index.js +17 -9
- package/src/components/sidebar/template-card/style.scss +49 -35
- package/src/components/sidebar/template-card/template-actions.js +43 -0
- package/src/components/sidebar/template-card/template-areas.js +6 -6
- package/src/components/template-details/edit-template-title.js +10 -2
- package/src/components/template-details/index.js +4 -21
- package/src/components/template-details/template-areas.js +6 -6
- package/src/components/template-part-converter/index.js +2 -3
- package/src/components/test/error-boundary.js +38 -0
- package/src/components/url-query-controller/index.js +2 -3
- package/src/store/actions.js +257 -233
- package/src/store/selectors.js +19 -14
|
@@ -468,9 +468,6 @@ body.is-fullscreen-mode .interface-interface-skeleton {
|
|
|
468
468
|
.interface-preferences-modal .components-modal__content {
|
|
469
469
|
padding: 0;
|
|
470
470
|
}
|
|
471
|
-
.interface-preferences-modal .components-modal__content::before {
|
|
472
|
-
content: none;
|
|
473
|
-
}
|
|
474
471
|
}
|
|
475
472
|
|
|
476
473
|
.interface-preferences__tabs .components-tab-panel__tabs {
|
|
@@ -758,18 +755,22 @@ textarea.edit-site-code-editor-text-area.edit-site-code-editor-text-area:-ms-inp
|
|
|
758
755
|
font-size: 11px !important;
|
|
759
756
|
}
|
|
760
757
|
|
|
761
|
-
.edit-site-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
758
|
+
.edit-site-global-styles-section-title {
|
|
759
|
+
color: #2f2f2f;
|
|
760
|
+
font-weight: 600;
|
|
761
|
+
line-height: 1.2;
|
|
762
|
+
padding: 16px;
|
|
763
|
+
padding-bottom: 0;
|
|
764
|
+
margin: 0;
|
|
768
765
|
}
|
|
769
766
|
|
|
770
767
|
.edit-site-screen-text-color__control,
|
|
771
768
|
.edit-site-screen-link-color__control,
|
|
772
|
-
.edit-site-screen-
|
|
769
|
+
.edit-site-screen-button-color__control {
|
|
770
|
+
padding: 16px;
|
|
771
|
+
}
|
|
772
|
+
|
|
773
|
+
.edit-site-screen-background-color__control .block-editor-color-gradient-control__tab-panel {
|
|
773
774
|
padding: 16px;
|
|
774
775
|
}
|
|
775
776
|
|
|
@@ -819,9 +820,13 @@ body.is-fullscreen-mode .edit-site-header {
|
|
|
819
820
|
transition-delay: 0s;
|
|
820
821
|
}
|
|
821
822
|
}
|
|
822
|
-
.edit-site-header .edit-site-header_start
|
|
823
|
+
.edit-site-header .edit-site-header_start {
|
|
824
|
+
display: flex;
|
|
825
|
+
border: none;
|
|
826
|
+
}
|
|
823
827
|
.edit-site-header .edit-site-header_end {
|
|
824
828
|
display: flex;
|
|
829
|
+
justify-content: flex-end;
|
|
825
830
|
}
|
|
826
831
|
.edit-site-header .edit-site-header_center {
|
|
827
832
|
display: flex;
|
|
@@ -831,9 +836,6 @@ body.is-fullscreen-mode .edit-site-header {
|
|
|
831
836
|
justify-content: center;
|
|
832
837
|
min-width: 0;
|
|
833
838
|
}
|
|
834
|
-
.edit-site-header .edit-site-header_end {
|
|
835
|
-
justify-content: flex-end;
|
|
836
|
-
}
|
|
837
839
|
|
|
838
840
|
body.is-navigation-sidebar-open .edit-site-header {
|
|
839
841
|
padding-right: 0;
|
|
@@ -944,6 +946,41 @@ body.is-navigation-sidebar-open .edit-site-header .edit-site-header_end .compone
|
|
|
944
946
|
}
|
|
945
947
|
}
|
|
946
948
|
|
|
949
|
+
.edit-site-header_start {
|
|
950
|
+
display: flex;
|
|
951
|
+
border: none;
|
|
952
|
+
}
|
|
953
|
+
.edit-site-header_start .edit-site-header__toolbar > .components-button.has-icon,
|
|
954
|
+
.edit-site-header_start .edit-site-header__toolbar > .components-dropdown > .components-button.has-icon {
|
|
955
|
+
height: 36px;
|
|
956
|
+
min-width: 36px;
|
|
957
|
+
padding: 6px;
|
|
958
|
+
}
|
|
959
|
+
.edit-site-header_start .edit-site-header__toolbar > .components-button.has-icon.is-pressed,
|
|
960
|
+
.edit-site-header_start .edit-site-header__toolbar > .components-dropdown > .components-button.has-icon.is-pressed {
|
|
961
|
+
background: #1e1e1e;
|
|
962
|
+
}
|
|
963
|
+
.edit-site-header_start .edit-site-header__toolbar > .components-button.has-icon:focus:not(:disabled),
|
|
964
|
+
.edit-site-header_start .edit-site-header__toolbar > .components-dropdown > .components-button.has-icon:focus:not(:disabled) {
|
|
965
|
+
box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color), inset 0 0 0 1px #fff;
|
|
966
|
+
outline: 1px solid transparent;
|
|
967
|
+
}
|
|
968
|
+
.edit-site-header_start .edit-site-header__toolbar > .components-button.has-icon::before,
|
|
969
|
+
.edit-site-header_start .edit-site-header__toolbar > .components-dropdown > .components-button.has-icon::before {
|
|
970
|
+
display: none;
|
|
971
|
+
}
|
|
972
|
+
.edit-site-header_start .edit-site-header__toolbar > .edit-site-header-toolbar__inserter-toggle.has-icon {
|
|
973
|
+
margin-left: 8px;
|
|
974
|
+
min-width: 32px;
|
|
975
|
+
width: 32px;
|
|
976
|
+
height: 32px;
|
|
977
|
+
padding: 0;
|
|
978
|
+
}
|
|
979
|
+
.edit-site-header_start .edit-site-header__toolbar > .edit-site-header-toolbar__inserter-toggle.has-text.has-icon {
|
|
980
|
+
width: auto;
|
|
981
|
+
padding: 0 8px;
|
|
982
|
+
}
|
|
983
|
+
|
|
947
984
|
.show-icon-labels .edit-site-header .components-button.has-icon {
|
|
948
985
|
width: auto;
|
|
949
986
|
}
|
|
@@ -973,6 +1010,9 @@ body.is-navigation-sidebar-open .edit-site-header .edit-site-header_end .compone
|
|
|
973
1010
|
.show-icon-labels .edit-site-header .edit-site-document-actions__get-info.edit-site-document-actions__get-info.edit-site-document-actions__get-info::after {
|
|
974
1011
|
content: none;
|
|
975
1012
|
}
|
|
1013
|
+
.show-icon-labels .edit-site-header .edit-site-header_start .edit-site-header__toolbar > * + * {
|
|
1014
|
+
margin-right: 8px;
|
|
1015
|
+
}
|
|
976
1016
|
|
|
977
1017
|
.edit-site-document-actions {
|
|
978
1018
|
display: flex;
|
|
@@ -1094,8 +1134,7 @@ body.is-navigation-sidebar-open .edit-site-header .edit-site-header_end .compone
|
|
|
1094
1134
|
width: 36px;
|
|
1095
1135
|
height: 36px;
|
|
1096
1136
|
border-radius: 2px;
|
|
1097
|
-
|
|
1098
|
-
object-fit: cover;
|
|
1137
|
+
object-fit: cover;
|
|
1099
1138
|
margin-top: -1px;
|
|
1100
1139
|
}
|
|
1101
1140
|
|
|
@@ -1382,12 +1421,6 @@ body.is-fullscreen-mode .edit-site-list-header {
|
|
|
1382
1421
|
width: 320px;
|
|
1383
1422
|
}
|
|
1384
1423
|
}
|
|
1385
|
-
.edit-site-list__rename-modal .components-modal__header {
|
|
1386
|
-
border-bottom: none;
|
|
1387
|
-
}
|
|
1388
|
-
.edit-site-list__rename-modal .components-modal__content::before {
|
|
1389
|
-
margin-bottom: 4px;
|
|
1390
|
-
}
|
|
1391
1424
|
|
|
1392
1425
|
.edit-site-list__rename-modal-actions {
|
|
1393
1426
|
margin-top: 12px;
|
|
@@ -1434,8 +1467,7 @@ body.is-fullscreen-mode .edit-site-list-header {
|
|
|
1434
1467
|
.edit-site-list-added-by__avatar img {
|
|
1435
1468
|
width: 32px;
|
|
1436
1469
|
height: 32px;
|
|
1437
|
-
|
|
1438
|
-
object-fit: cover;
|
|
1470
|
+
object-fit: cover;
|
|
1439
1471
|
opacity: 0;
|
|
1440
1472
|
transition: opacity 0.1s linear;
|
|
1441
1473
|
}
|
|
@@ -1458,6 +1490,118 @@ body.is-fullscreen-mode .edit-site-list-header {
|
|
|
1458
1490
|
}
|
|
1459
1491
|
}
|
|
1460
1492
|
|
|
1493
|
+
.edit-site-custom-template-modal__contents > div {
|
|
1494
|
+
text-align: center;
|
|
1495
|
+
cursor: pointer;
|
|
1496
|
+
padding: 24px;
|
|
1497
|
+
border: 1px solid #ddd;
|
|
1498
|
+
border-radius: 2px;
|
|
1499
|
+
width: 256px;
|
|
1500
|
+
display: flex;
|
|
1501
|
+
flex-direction: column;
|
|
1502
|
+
gap: 8px;
|
|
1503
|
+
align-items: center;
|
|
1504
|
+
justify-content: center;
|
|
1505
|
+
}
|
|
1506
|
+
.edit-site-custom-template-modal__contents > div span {
|
|
1507
|
+
color: #757575;
|
|
1508
|
+
}
|
|
1509
|
+
.edit-site-custom-template-modal__contents > div:hover {
|
|
1510
|
+
border-color: var(--wp-admin-theme-color);
|
|
1511
|
+
}
|
|
1512
|
+
.edit-site-custom-template-modal__contents > div:hover h5 {
|
|
1513
|
+
color: var(--wp-admin-theme-color);
|
|
1514
|
+
}
|
|
1515
|
+
.edit-site-custom-template-modal__contents > div:focus {
|
|
1516
|
+
box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
|
|
1517
|
+
}
|
|
1518
|
+
.edit-site-custom-template-modal .components-search-control input[type=search].components-search-control__input {
|
|
1519
|
+
background: #fff;
|
|
1520
|
+
border: 1px solid #ddd;
|
|
1521
|
+
}
|
|
1522
|
+
.edit-site-custom-template-modal .components-search-control input[type=search].components-search-control__input:focus {
|
|
1523
|
+
border-color: var(--wp-admin-theme-color);
|
|
1524
|
+
box-shadow: 0 0 0 1px var(--wp-admin-theme-color);
|
|
1525
|
+
}
|
|
1526
|
+
@media (min-width: 782px) {
|
|
1527
|
+
.edit-site-custom-template-modal {
|
|
1528
|
+
width: 456px;
|
|
1529
|
+
}
|
|
1530
|
+
}
|
|
1531
|
+
|
|
1532
|
+
.edit-site-custom-template-modal__suggestions_list {
|
|
1533
|
+
margin-top: 16px;
|
|
1534
|
+
}
|
|
1535
|
+
@media (min-width: 600px) {
|
|
1536
|
+
.edit-site-custom-template-modal__suggestions_list {
|
|
1537
|
+
height: 232px;
|
|
1538
|
+
overflow: scroll;
|
|
1539
|
+
}
|
|
1540
|
+
}
|
|
1541
|
+
.edit-site-custom-template-modal__suggestions_list__list-item {
|
|
1542
|
+
display: block;
|
|
1543
|
+
width: 100%;
|
|
1544
|
+
text-align: right;
|
|
1545
|
+
white-space: pre-wrap;
|
|
1546
|
+
overflow-wrap: break-word;
|
|
1547
|
+
height: auto;
|
|
1548
|
+
}
|
|
1549
|
+
.edit-site-custom-template-modal__suggestions_list__list-item mark {
|
|
1550
|
+
font-weight: 700;
|
|
1551
|
+
background: none;
|
|
1552
|
+
}
|
|
1553
|
+
.edit-site-custom-template-modal__suggestions_list__list-item:hover {
|
|
1554
|
+
background-color: #f0f0f0;
|
|
1555
|
+
}
|
|
1556
|
+
.edit-site-custom-template-modal__suggestions_list__list-item:hover mark {
|
|
1557
|
+
color: var(--wp-admin-theme-color);
|
|
1558
|
+
}
|
|
1559
|
+
.edit-site-custom-template-modal__suggestions_list__list-item:focus {
|
|
1560
|
+
background-color: #f0f0f0;
|
|
1561
|
+
}
|
|
1562
|
+
.edit-site-custom-template-modal__suggestions_list__list-item:focus:not(:disabled) {
|
|
1563
|
+
box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color) inset;
|
|
1564
|
+
}
|
|
1565
|
+
.edit-site-custom-template-modal__suggestions_list__list-item__title, .edit-site-custom-template-modal__suggestions_list__list-item__info {
|
|
1566
|
+
overflow: hidden;
|
|
1567
|
+
text-overflow: ellipsis;
|
|
1568
|
+
display: block;
|
|
1569
|
+
}
|
|
1570
|
+
.edit-site-custom-template-modal__suggestions_list__list-item__title {
|
|
1571
|
+
font-weight: 500;
|
|
1572
|
+
margin-bottom: 0.2em;
|
|
1573
|
+
}
|
|
1574
|
+
.edit-site-custom-template-modal__suggestions_list__list-item__info {
|
|
1575
|
+
color: #757575;
|
|
1576
|
+
font-size: 0.9em;
|
|
1577
|
+
line-height: 1.3;
|
|
1578
|
+
word-break: break-all;
|
|
1579
|
+
}
|
|
1580
|
+
|
|
1581
|
+
.edit-site-custom-template-modal__no-results {
|
|
1582
|
+
border: 1px solid #ccc;
|
|
1583
|
+
border-radius: 2px;
|
|
1584
|
+
padding: 16px;
|
|
1585
|
+
margin-bottom: 0;
|
|
1586
|
+
margin-top: 16px;
|
|
1587
|
+
}
|
|
1588
|
+
|
|
1589
|
+
@media (min-width: 782px) {
|
|
1590
|
+
.edit-site-custom-generic-template__modal .components-base-control {
|
|
1591
|
+
width: 320px;
|
|
1592
|
+
}
|
|
1593
|
+
}
|
|
1594
|
+
.edit-site-custom-generic-template__modal .components-modal__header {
|
|
1595
|
+
border-bottom: none;
|
|
1596
|
+
}
|
|
1597
|
+
.edit-site-custom-generic-template__modal .components-modal__content::before {
|
|
1598
|
+
margin-bottom: 4px;
|
|
1599
|
+
}
|
|
1600
|
+
|
|
1601
|
+
.edit-site-custom-generic-template__modal-actions {
|
|
1602
|
+
margin-top: 12px;
|
|
1603
|
+
}
|
|
1604
|
+
|
|
1461
1605
|
.edit-site-sidebar {
|
|
1462
1606
|
width: 280px;
|
|
1463
1607
|
}
|
|
@@ -1656,50 +1800,56 @@ body.is-fullscreen-mode .edit-site-list-header {
|
|
|
1656
1800
|
display: flex;
|
|
1657
1801
|
align-items: flex-start;
|
|
1658
1802
|
}
|
|
1659
|
-
|
|
1660
1803
|
.edit-site-template-card__content {
|
|
1661
1804
|
flex-grow: 1;
|
|
1662
1805
|
margin-bottom: 4px;
|
|
1663
1806
|
}
|
|
1664
|
-
|
|
1665
1807
|
.edit-site-template-card__title {
|
|
1666
1808
|
font-weight: 500;
|
|
1667
1809
|
line-height: 24px;
|
|
1668
1810
|
}
|
|
1669
1811
|
.edit-site-template-card__title.edit-site-template-card__title {
|
|
1670
|
-
margin: 0
|
|
1812
|
+
margin: 0;
|
|
1671
1813
|
}
|
|
1672
|
-
|
|
1673
1814
|
.edit-site-template-card__description {
|
|
1674
1815
|
font-size: 13px;
|
|
1675
1816
|
margin: 0 0 16px;
|
|
1676
1817
|
}
|
|
1677
|
-
|
|
1678
1818
|
.edit-site-template-card__icon {
|
|
1679
1819
|
flex: 0 0 24px;
|
|
1680
1820
|
margin-left: 12px;
|
|
1681
1821
|
width: 24px;
|
|
1682
1822
|
height: 24px;
|
|
1683
1823
|
}
|
|
1684
|
-
|
|
1685
|
-
h3.edit-site-template-card__template-areas-title {
|
|
1686
|
-
font-weight: 500;
|
|
1687
|
-
margin: 0 0 8px;
|
|
1688
|
-
}
|
|
1689
|
-
|
|
1690
1824
|
.edit-site-template-card__template-areas-list {
|
|
1691
1825
|
margin: 0;
|
|
1692
1826
|
}
|
|
1693
1827
|
.edit-site-template-card__template-areas-list > li {
|
|
1694
1828
|
margin: 0;
|
|
1695
1829
|
}
|
|
1696
|
-
|
|
1697
1830
|
.edit-site-template-card__template-areas-item {
|
|
1698
1831
|
width: 100%;
|
|
1699
1832
|
}
|
|
1700
1833
|
.edit-site-template-card__template-areas-item.components-button.has-icon {
|
|
1701
1834
|
padding: 0;
|
|
1702
1835
|
}
|
|
1836
|
+
.edit-site-template-card__header {
|
|
1837
|
+
display: flex;
|
|
1838
|
+
justify-content: space-between;
|
|
1839
|
+
margin: 0 0 4px;
|
|
1840
|
+
}
|
|
1841
|
+
.edit-site-template-card__actions {
|
|
1842
|
+
line-height: 0;
|
|
1843
|
+
}
|
|
1844
|
+
.edit-site-template-card__actions > .components-button.is-small.has-icon {
|
|
1845
|
+
padding: 0;
|
|
1846
|
+
min-width: auto;
|
|
1847
|
+
}
|
|
1848
|
+
|
|
1849
|
+
h3.edit-site-template-card__template-areas-title {
|
|
1850
|
+
font-weight: 500;
|
|
1851
|
+
margin: 0 0 8px;
|
|
1852
|
+
}
|
|
1703
1853
|
|
|
1704
1854
|
html #wpadminbar {
|
|
1705
1855
|
display: none;
|
|
@@ -1963,8 +2113,7 @@ body.is-fullscreen-mode .edit-site .components-editor-notices__snackbar {
|
|
|
1963
2113
|
.edit-site-welcome-guide__image > img {
|
|
1964
2114
|
display: block;
|
|
1965
2115
|
max-width: 100%;
|
|
1966
|
-
|
|
1967
|
-
object-fit: cover;
|
|
2116
|
+
object-fit: cover;
|
|
1968
2117
|
}
|
|
1969
2118
|
.edit-site-welcome-guide__heading {
|
|
1970
2119
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
|
@@ -1990,9 +2139,6 @@ body.is-fullscreen-mode .edit-site .components-editor-notices__snackbar {
|
|
|
1990
2139
|
.edit-site-keyboard-shortcut-help-modal__section {
|
|
1991
2140
|
margin: 0 0 2rem 0;
|
|
1992
2141
|
}
|
|
1993
|
-
.edit-site-keyboard-shortcut-help-modal__main-shortcuts .edit-site-keyboard-shortcut-help-modal__shortcut-list {
|
|
1994
|
-
margin-top: -25px;
|
|
1995
|
-
}
|
|
1996
2142
|
.edit-site-keyboard-shortcut-help-modal__section-title {
|
|
1997
2143
|
font-size: 0.9rem;
|
|
1998
2144
|
font-weight: 600;
|
package/build-style/style.css
CHANGED
|
@@ -468,9 +468,6 @@ body.is-fullscreen-mode .interface-interface-skeleton {
|
|
|
468
468
|
.interface-preferences-modal .components-modal__content {
|
|
469
469
|
padding: 0;
|
|
470
470
|
}
|
|
471
|
-
.interface-preferences-modal .components-modal__content::before {
|
|
472
|
-
content: none;
|
|
473
|
-
}
|
|
474
471
|
}
|
|
475
472
|
|
|
476
473
|
.interface-preferences__tabs .components-tab-panel__tabs {
|
|
@@ -758,18 +755,22 @@ textarea.edit-site-code-editor-text-area.edit-site-code-editor-text-area:-ms-inp
|
|
|
758
755
|
font-size: 11px !important;
|
|
759
756
|
}
|
|
760
757
|
|
|
761
|
-
.edit-site-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
758
|
+
.edit-site-global-styles-section-title {
|
|
759
|
+
color: #2f2f2f;
|
|
760
|
+
font-weight: 600;
|
|
761
|
+
line-height: 1.2;
|
|
762
|
+
padding: 16px;
|
|
763
|
+
padding-bottom: 0;
|
|
764
|
+
margin: 0;
|
|
768
765
|
}
|
|
769
766
|
|
|
770
767
|
.edit-site-screen-text-color__control,
|
|
771
768
|
.edit-site-screen-link-color__control,
|
|
772
|
-
.edit-site-screen-
|
|
769
|
+
.edit-site-screen-button-color__control {
|
|
770
|
+
padding: 16px;
|
|
771
|
+
}
|
|
772
|
+
|
|
773
|
+
.edit-site-screen-background-color__control .block-editor-color-gradient-control__tab-panel {
|
|
773
774
|
padding: 16px;
|
|
774
775
|
}
|
|
775
776
|
|
|
@@ -819,9 +820,13 @@ body.is-fullscreen-mode .edit-site-header {
|
|
|
819
820
|
transition-delay: 0s;
|
|
820
821
|
}
|
|
821
822
|
}
|
|
822
|
-
.edit-site-header .edit-site-header_start
|
|
823
|
+
.edit-site-header .edit-site-header_start {
|
|
824
|
+
display: flex;
|
|
825
|
+
border: none;
|
|
826
|
+
}
|
|
823
827
|
.edit-site-header .edit-site-header_end {
|
|
824
828
|
display: flex;
|
|
829
|
+
justify-content: flex-end;
|
|
825
830
|
}
|
|
826
831
|
.edit-site-header .edit-site-header_center {
|
|
827
832
|
display: flex;
|
|
@@ -831,9 +836,6 @@ body.is-fullscreen-mode .edit-site-header {
|
|
|
831
836
|
justify-content: center;
|
|
832
837
|
min-width: 0;
|
|
833
838
|
}
|
|
834
|
-
.edit-site-header .edit-site-header_end {
|
|
835
|
-
justify-content: flex-end;
|
|
836
|
-
}
|
|
837
839
|
|
|
838
840
|
body.is-navigation-sidebar-open .edit-site-header {
|
|
839
841
|
padding-left: 0;
|
|
@@ -944,6 +946,41 @@ body.is-navigation-sidebar-open .edit-site-header .edit-site-header_end .compone
|
|
|
944
946
|
}
|
|
945
947
|
}
|
|
946
948
|
|
|
949
|
+
.edit-site-header_start {
|
|
950
|
+
display: flex;
|
|
951
|
+
border: none;
|
|
952
|
+
}
|
|
953
|
+
.edit-site-header_start .edit-site-header__toolbar > .components-button.has-icon,
|
|
954
|
+
.edit-site-header_start .edit-site-header__toolbar > .components-dropdown > .components-button.has-icon {
|
|
955
|
+
height: 36px;
|
|
956
|
+
min-width: 36px;
|
|
957
|
+
padding: 6px;
|
|
958
|
+
}
|
|
959
|
+
.edit-site-header_start .edit-site-header__toolbar > .components-button.has-icon.is-pressed,
|
|
960
|
+
.edit-site-header_start .edit-site-header__toolbar > .components-dropdown > .components-button.has-icon.is-pressed {
|
|
961
|
+
background: #1e1e1e;
|
|
962
|
+
}
|
|
963
|
+
.edit-site-header_start .edit-site-header__toolbar > .components-button.has-icon:focus:not(:disabled),
|
|
964
|
+
.edit-site-header_start .edit-site-header__toolbar > .components-dropdown > .components-button.has-icon:focus:not(:disabled) {
|
|
965
|
+
box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color), inset 0 0 0 1px #fff;
|
|
966
|
+
outline: 1px solid transparent;
|
|
967
|
+
}
|
|
968
|
+
.edit-site-header_start .edit-site-header__toolbar > .components-button.has-icon::before,
|
|
969
|
+
.edit-site-header_start .edit-site-header__toolbar > .components-dropdown > .components-button.has-icon::before {
|
|
970
|
+
display: none;
|
|
971
|
+
}
|
|
972
|
+
.edit-site-header_start .edit-site-header__toolbar > .edit-site-header-toolbar__inserter-toggle.has-icon {
|
|
973
|
+
margin-right: 8px;
|
|
974
|
+
min-width: 32px;
|
|
975
|
+
width: 32px;
|
|
976
|
+
height: 32px;
|
|
977
|
+
padding: 0;
|
|
978
|
+
}
|
|
979
|
+
.edit-site-header_start .edit-site-header__toolbar > .edit-site-header-toolbar__inserter-toggle.has-text.has-icon {
|
|
980
|
+
width: auto;
|
|
981
|
+
padding: 0 8px;
|
|
982
|
+
}
|
|
983
|
+
|
|
947
984
|
.show-icon-labels .edit-site-header .components-button.has-icon {
|
|
948
985
|
width: auto;
|
|
949
986
|
}
|
|
@@ -973,6 +1010,9 @@ body.is-navigation-sidebar-open .edit-site-header .edit-site-header_end .compone
|
|
|
973
1010
|
.show-icon-labels .edit-site-header .edit-site-document-actions__get-info.edit-site-document-actions__get-info.edit-site-document-actions__get-info::after {
|
|
974
1011
|
content: none;
|
|
975
1012
|
}
|
|
1013
|
+
.show-icon-labels .edit-site-header .edit-site-header_start .edit-site-header__toolbar > * + * {
|
|
1014
|
+
margin-left: 8px;
|
|
1015
|
+
}
|
|
976
1016
|
|
|
977
1017
|
.edit-site-document-actions {
|
|
978
1018
|
display: flex;
|
|
@@ -1094,8 +1134,7 @@ body.is-navigation-sidebar-open .edit-site-header .edit-site-header_end .compone
|
|
|
1094
1134
|
width: 36px;
|
|
1095
1135
|
height: 36px;
|
|
1096
1136
|
border-radius: 2px;
|
|
1097
|
-
|
|
1098
|
-
object-fit: cover;
|
|
1137
|
+
object-fit: cover;
|
|
1099
1138
|
margin-top: -1px;
|
|
1100
1139
|
}
|
|
1101
1140
|
|
|
@@ -1382,12 +1421,6 @@ body.is-fullscreen-mode .edit-site-list-header {
|
|
|
1382
1421
|
width: 320px;
|
|
1383
1422
|
}
|
|
1384
1423
|
}
|
|
1385
|
-
.edit-site-list__rename-modal .components-modal__header {
|
|
1386
|
-
border-bottom: none;
|
|
1387
|
-
}
|
|
1388
|
-
.edit-site-list__rename-modal .components-modal__content::before {
|
|
1389
|
-
margin-bottom: 4px;
|
|
1390
|
-
}
|
|
1391
1424
|
|
|
1392
1425
|
.edit-site-list__rename-modal-actions {
|
|
1393
1426
|
margin-top: 12px;
|
|
@@ -1434,8 +1467,7 @@ body.is-fullscreen-mode .edit-site-list-header {
|
|
|
1434
1467
|
.edit-site-list-added-by__avatar img {
|
|
1435
1468
|
width: 32px;
|
|
1436
1469
|
height: 32px;
|
|
1437
|
-
|
|
1438
|
-
object-fit: cover;
|
|
1470
|
+
object-fit: cover;
|
|
1439
1471
|
opacity: 0;
|
|
1440
1472
|
transition: opacity 0.1s linear;
|
|
1441
1473
|
}
|
|
@@ -1458,6 +1490,118 @@ body.is-fullscreen-mode .edit-site-list-header {
|
|
|
1458
1490
|
}
|
|
1459
1491
|
}
|
|
1460
1492
|
|
|
1493
|
+
.edit-site-custom-template-modal__contents > div {
|
|
1494
|
+
text-align: center;
|
|
1495
|
+
cursor: pointer;
|
|
1496
|
+
padding: 24px;
|
|
1497
|
+
border: 1px solid #ddd;
|
|
1498
|
+
border-radius: 2px;
|
|
1499
|
+
width: 256px;
|
|
1500
|
+
display: flex;
|
|
1501
|
+
flex-direction: column;
|
|
1502
|
+
gap: 8px;
|
|
1503
|
+
align-items: center;
|
|
1504
|
+
justify-content: center;
|
|
1505
|
+
}
|
|
1506
|
+
.edit-site-custom-template-modal__contents > div span {
|
|
1507
|
+
color: #757575;
|
|
1508
|
+
}
|
|
1509
|
+
.edit-site-custom-template-modal__contents > div:hover {
|
|
1510
|
+
border-color: var(--wp-admin-theme-color);
|
|
1511
|
+
}
|
|
1512
|
+
.edit-site-custom-template-modal__contents > div:hover h5 {
|
|
1513
|
+
color: var(--wp-admin-theme-color);
|
|
1514
|
+
}
|
|
1515
|
+
.edit-site-custom-template-modal__contents > div:focus {
|
|
1516
|
+
box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
|
|
1517
|
+
}
|
|
1518
|
+
.edit-site-custom-template-modal .components-search-control input[type=search].components-search-control__input {
|
|
1519
|
+
background: #fff;
|
|
1520
|
+
border: 1px solid #ddd;
|
|
1521
|
+
}
|
|
1522
|
+
.edit-site-custom-template-modal .components-search-control input[type=search].components-search-control__input:focus {
|
|
1523
|
+
border-color: var(--wp-admin-theme-color);
|
|
1524
|
+
box-shadow: 0 0 0 1px var(--wp-admin-theme-color);
|
|
1525
|
+
}
|
|
1526
|
+
@media (min-width: 782px) {
|
|
1527
|
+
.edit-site-custom-template-modal {
|
|
1528
|
+
width: 456px;
|
|
1529
|
+
}
|
|
1530
|
+
}
|
|
1531
|
+
|
|
1532
|
+
.edit-site-custom-template-modal__suggestions_list {
|
|
1533
|
+
margin-top: 16px;
|
|
1534
|
+
}
|
|
1535
|
+
@media (min-width: 600px) {
|
|
1536
|
+
.edit-site-custom-template-modal__suggestions_list {
|
|
1537
|
+
height: 232px;
|
|
1538
|
+
overflow: scroll;
|
|
1539
|
+
}
|
|
1540
|
+
}
|
|
1541
|
+
.edit-site-custom-template-modal__suggestions_list__list-item {
|
|
1542
|
+
display: block;
|
|
1543
|
+
width: 100%;
|
|
1544
|
+
text-align: left;
|
|
1545
|
+
white-space: pre-wrap;
|
|
1546
|
+
overflow-wrap: break-word;
|
|
1547
|
+
height: auto;
|
|
1548
|
+
}
|
|
1549
|
+
.edit-site-custom-template-modal__suggestions_list__list-item mark {
|
|
1550
|
+
font-weight: 700;
|
|
1551
|
+
background: none;
|
|
1552
|
+
}
|
|
1553
|
+
.edit-site-custom-template-modal__suggestions_list__list-item:hover {
|
|
1554
|
+
background-color: #f0f0f0;
|
|
1555
|
+
}
|
|
1556
|
+
.edit-site-custom-template-modal__suggestions_list__list-item:hover mark {
|
|
1557
|
+
color: var(--wp-admin-theme-color);
|
|
1558
|
+
}
|
|
1559
|
+
.edit-site-custom-template-modal__suggestions_list__list-item:focus {
|
|
1560
|
+
background-color: #f0f0f0;
|
|
1561
|
+
}
|
|
1562
|
+
.edit-site-custom-template-modal__suggestions_list__list-item:focus:not(:disabled) {
|
|
1563
|
+
box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color) inset;
|
|
1564
|
+
}
|
|
1565
|
+
.edit-site-custom-template-modal__suggestions_list__list-item__title, .edit-site-custom-template-modal__suggestions_list__list-item__info {
|
|
1566
|
+
overflow: hidden;
|
|
1567
|
+
text-overflow: ellipsis;
|
|
1568
|
+
display: block;
|
|
1569
|
+
}
|
|
1570
|
+
.edit-site-custom-template-modal__suggestions_list__list-item__title {
|
|
1571
|
+
font-weight: 500;
|
|
1572
|
+
margin-bottom: 0.2em;
|
|
1573
|
+
}
|
|
1574
|
+
.edit-site-custom-template-modal__suggestions_list__list-item__info {
|
|
1575
|
+
color: #757575;
|
|
1576
|
+
font-size: 0.9em;
|
|
1577
|
+
line-height: 1.3;
|
|
1578
|
+
word-break: break-all;
|
|
1579
|
+
}
|
|
1580
|
+
|
|
1581
|
+
.edit-site-custom-template-modal__no-results {
|
|
1582
|
+
border: 1px solid #ccc;
|
|
1583
|
+
border-radius: 2px;
|
|
1584
|
+
padding: 16px;
|
|
1585
|
+
margin-bottom: 0;
|
|
1586
|
+
margin-top: 16px;
|
|
1587
|
+
}
|
|
1588
|
+
|
|
1589
|
+
@media (min-width: 782px) {
|
|
1590
|
+
.edit-site-custom-generic-template__modal .components-base-control {
|
|
1591
|
+
width: 320px;
|
|
1592
|
+
}
|
|
1593
|
+
}
|
|
1594
|
+
.edit-site-custom-generic-template__modal .components-modal__header {
|
|
1595
|
+
border-bottom: none;
|
|
1596
|
+
}
|
|
1597
|
+
.edit-site-custom-generic-template__modal .components-modal__content::before {
|
|
1598
|
+
margin-bottom: 4px;
|
|
1599
|
+
}
|
|
1600
|
+
|
|
1601
|
+
.edit-site-custom-generic-template__modal-actions {
|
|
1602
|
+
margin-top: 12px;
|
|
1603
|
+
}
|
|
1604
|
+
|
|
1461
1605
|
.edit-site-sidebar {
|
|
1462
1606
|
width: 280px;
|
|
1463
1607
|
}
|
|
@@ -1656,50 +1800,56 @@ body.is-fullscreen-mode .edit-site-list-header {
|
|
|
1656
1800
|
display: flex;
|
|
1657
1801
|
align-items: flex-start;
|
|
1658
1802
|
}
|
|
1659
|
-
|
|
1660
1803
|
.edit-site-template-card__content {
|
|
1661
1804
|
flex-grow: 1;
|
|
1662
1805
|
margin-bottom: 4px;
|
|
1663
1806
|
}
|
|
1664
|
-
|
|
1665
1807
|
.edit-site-template-card__title {
|
|
1666
1808
|
font-weight: 500;
|
|
1667
1809
|
line-height: 24px;
|
|
1668
1810
|
}
|
|
1669
1811
|
.edit-site-template-card__title.edit-site-template-card__title {
|
|
1670
|
-
margin: 0
|
|
1812
|
+
margin: 0;
|
|
1671
1813
|
}
|
|
1672
|
-
|
|
1673
1814
|
.edit-site-template-card__description {
|
|
1674
1815
|
font-size: 13px;
|
|
1675
1816
|
margin: 0 0 16px;
|
|
1676
1817
|
}
|
|
1677
|
-
|
|
1678
1818
|
.edit-site-template-card__icon {
|
|
1679
1819
|
flex: 0 0 24px;
|
|
1680
1820
|
margin-right: 12px;
|
|
1681
1821
|
width: 24px;
|
|
1682
1822
|
height: 24px;
|
|
1683
1823
|
}
|
|
1684
|
-
|
|
1685
|
-
h3.edit-site-template-card__template-areas-title {
|
|
1686
|
-
font-weight: 500;
|
|
1687
|
-
margin: 0 0 8px;
|
|
1688
|
-
}
|
|
1689
|
-
|
|
1690
1824
|
.edit-site-template-card__template-areas-list {
|
|
1691
1825
|
margin: 0;
|
|
1692
1826
|
}
|
|
1693
1827
|
.edit-site-template-card__template-areas-list > li {
|
|
1694
1828
|
margin: 0;
|
|
1695
1829
|
}
|
|
1696
|
-
|
|
1697
1830
|
.edit-site-template-card__template-areas-item {
|
|
1698
1831
|
width: 100%;
|
|
1699
1832
|
}
|
|
1700
1833
|
.edit-site-template-card__template-areas-item.components-button.has-icon {
|
|
1701
1834
|
padding: 0;
|
|
1702
1835
|
}
|
|
1836
|
+
.edit-site-template-card__header {
|
|
1837
|
+
display: flex;
|
|
1838
|
+
justify-content: space-between;
|
|
1839
|
+
margin: 0 0 4px;
|
|
1840
|
+
}
|
|
1841
|
+
.edit-site-template-card__actions {
|
|
1842
|
+
line-height: 0;
|
|
1843
|
+
}
|
|
1844
|
+
.edit-site-template-card__actions > .components-button.is-small.has-icon {
|
|
1845
|
+
padding: 0;
|
|
1846
|
+
min-width: auto;
|
|
1847
|
+
}
|
|
1848
|
+
|
|
1849
|
+
h3.edit-site-template-card__template-areas-title {
|
|
1850
|
+
font-weight: 500;
|
|
1851
|
+
margin: 0 0 8px;
|
|
1852
|
+
}
|
|
1703
1853
|
|
|
1704
1854
|
html #wpadminbar {
|
|
1705
1855
|
display: none;
|
|
@@ -1963,8 +2113,7 @@ body.is-fullscreen-mode .edit-site .components-editor-notices__snackbar {
|
|
|
1963
2113
|
.edit-site-welcome-guide__image > img {
|
|
1964
2114
|
display: block;
|
|
1965
2115
|
max-width: 100%;
|
|
1966
|
-
|
|
1967
|
-
object-fit: cover;
|
|
2116
|
+
object-fit: cover;
|
|
1968
2117
|
}
|
|
1969
2118
|
.edit-site-welcome-guide__heading {
|
|
1970
2119
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
|
@@ -1990,9 +2139,6 @@ body.is-fullscreen-mode .edit-site .components-editor-notices__snackbar {
|
|
|
1990
2139
|
.edit-site-keyboard-shortcut-help-modal__section {
|
|
1991
2140
|
margin: 0 0 2rem 0;
|
|
1992
2141
|
}
|
|
1993
|
-
.edit-site-keyboard-shortcut-help-modal__main-shortcuts .edit-site-keyboard-shortcut-help-modal__shortcut-list {
|
|
1994
|
-
margin-top: -25px;
|
|
1995
|
-
}
|
|
1996
2142
|
.edit-site-keyboard-shortcut-help-modal__section-title {
|
|
1997
2143
|
font-size: 0.9rem;
|
|
1998
2144
|
font-weight: 600;
|