@wordpress/edit-site 5.7.0 → 5.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +4 -0
- package/build/components/add-new-template/new-template.js +2 -1
- package/build/components/add-new-template/new-template.js.map +1 -1
- package/build/components/block-editor/index.js +7 -7
- package/build/components/block-editor/index.js.map +1 -1
- package/build/components/editor/index.js +6 -4
- package/build/components/editor/index.js.map +1 -1
- package/build/components/editor-canvas-container/index.js +117 -0
- package/build/components/editor-canvas-container/index.js.map +1 -0
- package/build/components/global-styles/border-panel.js +81 -1
- package/build/components/global-styles/border-panel.js.map +1 -1
- package/build/components/global-styles/context-menu.js +6 -8
- package/build/components/global-styles/context-menu.js.map +1 -1
- package/build/components/global-styles/dimensions-panel.js +11 -1
- package/build/components/global-styles/dimensions-panel.js.map +1 -1
- package/build/components/global-styles/effects-panel.js +53 -0
- package/build/components/global-styles/effects-panel.js.map +1 -0
- package/build/components/global-styles/filters-panel.js +50 -0
- package/build/components/global-styles/filters-panel.js.map +1 -0
- package/build/components/global-styles/global-styles-provider.js +4 -15
- package/build/components/global-styles/global-styles-provider.js.map +1 -1
- package/build/components/global-styles/preview.js +1 -1
- package/build/components/global-styles/preview.js.map +1 -1
- package/build/components/global-styles/screen-block-list.js +14 -8
- package/build/components/global-styles/screen-block-list.js.map +1 -1
- package/build/components/global-styles/screen-css.js +1 -1
- package/build/components/global-styles/screen-css.js.map +1 -1
- package/build/components/global-styles/screen-effects.js +15 -7
- package/build/components/global-styles/screen-effects.js.map +1 -1
- package/build/components/global-styles/screen-filters.js +2 -2
- package/build/components/global-styles/screen-filters.js.map +1 -1
- package/build/components/global-styles/screen-style-variations.js +8 -118
- package/build/components/global-styles/screen-style-variations.js.map +1 -1
- package/build/components/global-styles/style-variations-container.js +149 -0
- package/build/components/global-styles/style-variations-container.js.map +1 -0
- package/build/components/global-styles/ui.js +52 -15
- package/build/components/global-styles/ui.js.map +1 -1
- package/build/components/header-edit-mode/index.js +11 -7
- package/build/components/header-edit-mode/index.js.map +1 -1
- package/build/components/header-edit-mode/more-menu/index.js +1 -1
- package/build/components/header-edit-mode/more-menu/index.js.map +1 -1
- package/build/components/keyboard-shortcuts/index.js +0 -137
- package/build/components/keyboard-shortcuts/index.js.map +1 -1
- package/build/components/layout/index.js +17 -8
- package/build/components/layout/index.js.map +1 -1
- package/build/components/list/table.js +3 -3
- package/build/components/list/table.js.map +1 -1
- package/build/components/preferences-modal/index.js +4 -0
- package/build/components/preferences-modal/index.js.map +1 -1
- package/build/components/sidebar/index.js +4 -0
- package/build/components/sidebar/index.js.map +1 -1
- package/build/components/sidebar-edit-mode/global-styles-sidebar.js +28 -13
- package/build/components/sidebar-edit-mode/global-styles-sidebar.js.map +1 -1
- package/build/components/sidebar-navigation-screen/index.js +8 -6
- package/build/components/sidebar-navigation-screen/index.js.map +1 -1
- package/build/components/sidebar-navigation-screen-global-styles/index.js +58 -0
- package/build/components/sidebar-navigation-screen-global-styles/index.js.map +1 -0
- package/build/components/sidebar-navigation-screen-main/index.js +5 -0
- package/build/components/sidebar-navigation-screen-main/index.js.map +1 -1
- package/build/components/sidebar-navigation-screen-navigation-menus/navigation-menu-content.js +114 -9
- package/build/components/sidebar-navigation-screen-navigation-menus/navigation-menu-content.js.map +1 -1
- package/build/components/site-hub/index.js +40 -17
- package/build/components/site-hub/index.js.map +1 -1
- package/build/components/site-icon/index.js +8 -7
- package/build/components/site-icon/index.js.map +1 -1
- package/build/components/start-template-options/index.js +9 -8
- package/build/components/start-template-options/index.js.map +1 -1
- package/build/components/style-book/index.js +9 -41
- package/build/components/style-book/index.js.map +1 -1
- package/build/components/sync-state-with-url/use-init-edited-entity-from-url.js +5 -3
- package/build/components/sync-state-with-url/use-init-edited-entity-from-url.js.map +1 -1
- package/build/components/template-details/index.js +3 -1
- package/build/components/template-details/index.js.map +1 -1
- package/build/components/welcome-guide/styles.js +1 -1
- package/build/components/welcome-guide/styles.js.map +1 -1
- package/build/hooks/commands/index.js +19 -0
- package/build/hooks/commands/index.js.map +1 -0
- package/build/hooks/commands/use-navigation-commands.js +126 -0
- package/build/hooks/commands/use-navigation-commands.js.map +1 -0
- package/build/hooks/commands/use-wp-admin-commands.js +97 -0
- package/build/hooks/commands/use-wp-admin-commands.js.map +1 -0
- package/build/hooks/template-part-edit.js +2 -1
- package/build/hooks/template-part-edit.js.map +1 -1
- package/build/index.js +2 -1
- package/build/index.js.map +1 -1
- package/build/store/private-actions.js +19 -1
- package/build/store/private-actions.js.map +1 -1
- package/build/store/private-selectors.js +13 -0
- package/build/store/private-selectors.js.map +1 -1
- package/build/store/reducer.js +23 -1
- package/build/store/reducer.js.map +1 -1
- package/build/store/selectors.js +2 -1
- package/build/store/selectors.js.map +1 -1
- package/build-module/components/add-new-template/new-template.js +3 -2
- package/build-module/components/add-new-template/new-template.js.map +1 -1
- package/build-module/components/block-editor/index.js +6 -6
- package/build-module/components/block-editor/index.js.map +1 -1
- package/build-module/components/editor/index.js +6 -4
- package/build-module/components/editor/index.js.map +1 -1
- package/build-module/components/editor-canvas-container/index.js +100 -0
- package/build-module/components/editor-canvas-container/index.js.map +1 -0
- package/build-module/components/global-styles/border-panel.js +81 -1
- package/build-module/components/global-styles/border-panel.js.map +1 -1
- package/build-module/components/global-styles/context-menu.js +6 -6
- package/build-module/components/global-styles/context-menu.js.map +1 -1
- package/build-module/components/global-styles/dimensions-panel.js +11 -1
- package/build-module/components/global-styles/dimensions-panel.js.map +1 -1
- package/build-module/components/global-styles/effects-panel.js +43 -0
- package/build-module/components/global-styles/effects-panel.js.map +1 -0
- package/build-module/components/global-styles/filters-panel.js +40 -0
- package/build-module/components/global-styles/filters-panel.js.map +1 -0
- package/build-module/components/global-styles/global-styles-provider.js +5 -16
- package/build-module/components/global-styles/global-styles-provider.js.map +1 -1
- package/build-module/components/global-styles/preview.js +1 -1
- package/build-module/components/global-styles/preview.js.map +1 -1
- package/build-module/components/global-styles/screen-block-list.js +13 -8
- package/build-module/components/global-styles/screen-block-list.js.map +1 -1
- package/build-module/components/global-styles/screen-css.js +1 -1
- package/build-module/components/global-styles/screen-css.js.map +1 -1
- package/build-module/components/global-styles/screen-effects.js +13 -4
- package/build-module/components/global-styles/screen-effects.js.map +1 -1
- package/build-module/components/global-styles/screen-filters.js +2 -2
- package/build-module/components/global-styles/screen-filters.js.map +1 -1
- package/build-module/components/global-styles/screen-style-variations.js +11 -114
- package/build-module/components/global-styles/screen-style-variations.js.map +1 -1
- package/build-module/components/global-styles/style-variations-container.js +130 -0
- package/build-module/components/global-styles/style-variations-container.js.map +1 -0
- package/build-module/components/global-styles/ui.js +49 -16
- package/build-module/components/global-styles/ui.js.map +1 -1
- package/build-module/components/header-edit-mode/index.js +10 -7
- package/build-module/components/header-edit-mode/index.js.map +1 -1
- package/build-module/components/header-edit-mode/more-menu/index.js +1 -1
- package/build-module/components/header-edit-mode/more-menu/index.js.map +1 -1
- package/build-module/components/keyboard-shortcuts/index.js +1 -135
- package/build-module/components/keyboard-shortcuts/index.js.map +1 -1
- package/build-module/components/layout/index.js +14 -8
- package/build-module/components/layout/index.js.map +1 -1
- package/build-module/components/list/table.js +3 -3
- package/build-module/components/list/table.js.map +1 -1
- package/build-module/components/preferences-modal/index.js +4 -0
- package/build-module/components/preferences-modal/index.js.map +1 -1
- package/build-module/components/sidebar/index.js +3 -0
- package/build-module/components/sidebar/index.js.map +1 -1
- package/build-module/components/sidebar-edit-mode/global-styles-sidebar.js +28 -15
- package/build-module/components/sidebar-edit-mode/global-styles-sidebar.js.map +1 -1
- package/build-module/components/sidebar-navigation-screen/index.js +9 -7
- package/build-module/components/sidebar-navigation-screen/index.js.map +1 -1
- package/build-module/components/sidebar-navigation-screen-global-styles/index.js +41 -0
- package/build-module/components/sidebar-navigation-screen-global-styles/index.js.map +1 -0
- package/build-module/components/sidebar-navigation-screen-main/index.js +6 -1
- package/build-module/components/sidebar-navigation-screen-main/index.js.map +1 -1
- package/build-module/components/sidebar-navigation-screen-navigation-menus/navigation-menu-content.js +113 -11
- package/build-module/components/sidebar-navigation-screen-navigation-menus/navigation-menu-content.js.map +1 -1
- package/build-module/components/site-hub/index.js +40 -18
- package/build-module/components/site-hub/index.js.map +1 -1
- package/build-module/components/site-icon/index.js +8 -7
- package/build-module/components/site-icon/index.js.map +1 -1
- package/build-module/components/start-template-options/index.js +9 -8
- package/build-module/components/start-template-options/index.js.map +1 -1
- package/build-module/components/style-book/index.js +10 -41
- package/build-module/components/style-book/index.js.map +1 -1
- package/build-module/components/sync-state-with-url/use-init-edited-entity-from-url.js +5 -3
- package/build-module/components/sync-state-with-url/use-init-edited-entity-from-url.js.map +1 -1
- package/build-module/components/template-details/index.js +3 -1
- package/build-module/components/template-details/index.js.map +1 -1
- package/build-module/components/welcome-guide/styles.js +1 -1
- package/build-module/components/welcome-guide/styles.js.map +1 -1
- package/build-module/hooks/commands/index.js +10 -0
- package/build-module/hooks/commands/index.js.map +1 -0
- package/build-module/hooks/commands/use-navigation-commands.js +109 -0
- package/build-module/hooks/commands/use-navigation-commands.js.map +1 -0
- package/build-module/hooks/commands/use-wp-admin-commands.js +81 -0
- package/build-module/hooks/commands/use-wp-admin-commands.js.map +1 -0
- package/build-module/hooks/template-part-edit.js +2 -1
- package/build-module/hooks/template-part-edit.js.map +1 -1
- package/build-module/index.js +2 -1
- package/build-module/index.js.map +1 -1
- package/build-module/store/private-actions.js +15 -0
- package/build-module/store/private-actions.js.map +1 -1
- package/build-module/store/private-selectors.js +11 -0
- package/build-module/store/private-selectors.js.map +1 -1
- package/build-module/store/reducer.js +23 -1
- package/build-module/store/reducer.js.map +1 -1
- package/build-module/store/selectors.js +2 -1
- package/build-module/store/selectors.js.map +1 -1
- package/build-style/style-rtl.css +133 -107
- package/build-style/style.css +133 -107
- package/package.json +34 -32
- package/src/components/add-new-template/new-template.js +3 -0
- package/src/components/block-editor/index.js +8 -8
- package/src/components/editor/index.js +11 -3
- package/src/components/editor-canvas-container/index.js +115 -0
- package/src/components/editor-canvas-container/style.scss +19 -0
- package/src/components/global-styles/border-panel.js +73 -1
- package/src/components/global-styles/context-menu.js +6 -6
- package/src/components/global-styles/dimensions-panel.js +11 -0
- package/src/components/global-styles/effects-panel.js +40 -0
- package/src/components/global-styles/filters-panel.js +39 -0
- package/src/components/global-styles/global-styles-provider.js +4 -18
- package/src/components/global-styles/preview.js +1 -1
- package/src/components/global-styles/screen-block-list.js +9 -5
- package/src/components/global-styles/screen-css.js +1 -1
- package/src/components/global-styles/screen-effects.js +12 -5
- package/src/components/global-styles/screen-filters.js +2 -2
- package/src/components/global-styles/screen-style-variations.js +10 -129
- package/src/components/global-styles/style-variations-container.js +136 -0
- package/src/components/global-styles/style.scss +0 -39
- package/src/components/global-styles/ui.js +54 -8
- package/src/components/header-edit-mode/index.js +14 -5
- package/src/components/header-edit-mode/more-menu/index.js +1 -1
- package/src/components/keyboard-shortcuts/index.js +1 -155
- package/src/components/layout/index.js +13 -16
- package/src/components/layout/style.scss +31 -4
- package/src/components/list/table.js +16 -2
- package/src/components/preferences-modal/index.js +7 -0
- package/src/components/secondary-sidebar/style.scss +23 -5
- package/src/components/sidebar/index.js +4 -0
- package/src/components/sidebar/style.scss +2 -1
- package/src/components/sidebar-edit-mode/global-styles-sidebar.js +36 -17
- package/src/components/sidebar-navigation-screen/index.js +10 -5
- package/src/components/sidebar-navigation-screen/style.scss +20 -5
- package/src/components/sidebar-navigation-screen-global-styles/index.js +41 -0
- package/src/components/sidebar-navigation-screen-main/index.js +9 -1
- package/src/components/sidebar-navigation-screen-navigation-menus/navigation-menu-content.js +134 -9
- package/src/components/site-hub/index.js +51 -23
- package/src/components/site-icon/index.js +6 -11
- package/src/components/site-icon/style.scss +8 -3
- package/src/components/start-template-options/index.js +13 -12
- package/src/components/start-template-options/style.scss +18 -43
- package/src/components/style-book/index.js +7 -51
- package/src/components/style-book/style.scss +0 -18
- package/src/components/sync-state-with-url/use-init-edited-entity-from-url.js +4 -3
- package/src/components/template-details/index.js +1 -0
- package/src/components/welcome-guide/styles.js +1 -1
- package/src/hooks/commands/index.js +10 -0
- package/src/hooks/commands/use-navigation-commands.js +112 -0
- package/src/hooks/commands/use-wp-admin-commands.js +79 -0
- package/src/hooks/template-part-edit.js +1 -0
- package/src/index.js +1 -0
- package/src/store/private-actions.js +14 -0
- package/src/store/private-selectors.js +11 -0
- package/src/store/reducer.js +18 -0
- package/src/store/selectors.js +2 -1
- package/src/style.scss +1 -0
- package/build/components/global-styles/duotone-panel.js +0 -78
- package/build/components/global-styles/duotone-panel.js.map +0 -1
- package/build/components/global-styles/filter-utils.js +0 -17
- package/build/components/global-styles/filter-utils.js.map +0 -1
- package/build/components/global-styles/shadow-panel.js +0 -197
- package/build/components/global-styles/shadow-panel.js.map +0 -1
- package/build-module/components/global-styles/duotone-panel.js +0 -67
- package/build-module/components/global-styles/duotone-panel.js.map +0 -1
- package/build-module/components/global-styles/filter-utils.js +0 -9
- package/build-module/components/global-styles/filter-utils.js.map +0 -1
- package/build-module/components/global-styles/shadow-panel.js +0 -178
- package/build-module/components/global-styles/shadow-panel.js.map +0 -1
- package/src/components/global-styles/duotone-panel.js +0 -82
- package/src/components/global-styles/filter-utils.js +0 -9
- package/src/components/global-styles/shadow-panel.js +0 -178
|
@@ -1133,40 +1133,6 @@ textarea.edit-site-code-editor-text-area.edit-site-code-editor-text-area:-ms-inp
|
|
|
1133
1133
|
flex-direction: column;
|
|
1134
1134
|
}
|
|
1135
1135
|
|
|
1136
|
-
.edit-site-global-styles__shadow-panel {
|
|
1137
|
-
width: 230px;
|
|
1138
|
-
}
|
|
1139
|
-
|
|
1140
|
-
.edit-site-global-styles__shadow-dropdown {
|
|
1141
|
-
display: block;
|
|
1142
|
-
padding: 0;
|
|
1143
|
-
}
|
|
1144
|
-
.edit-site-global-styles__shadow-dropdown > button {
|
|
1145
|
-
width: 100%;
|
|
1146
|
-
padding: 8px;
|
|
1147
|
-
}
|
|
1148
|
-
.edit-site-global-styles__shadow-dropdown > button.is-open {
|
|
1149
|
-
background-color: #f0f0f0;
|
|
1150
|
-
}
|
|
1151
|
-
|
|
1152
|
-
.edit-site-global-styles__shadow-indicator-wrapper {
|
|
1153
|
-
padding: 6px;
|
|
1154
|
-
overflow: hidden;
|
|
1155
|
-
display: flex;
|
|
1156
|
-
align-items: center;
|
|
1157
|
-
justify-content: center;
|
|
1158
|
-
}
|
|
1159
|
-
|
|
1160
|
-
.edit-site-global-styles__shadow-indicator {
|
|
1161
|
-
color: #2f2f2f;
|
|
1162
|
-
border: #e0e0e0 1px solid;
|
|
1163
|
-
border-radius: 2px;
|
|
1164
|
-
cursor: pointer;
|
|
1165
|
-
padding: 0;
|
|
1166
|
-
height: 24px;
|
|
1167
|
-
width: 24px;
|
|
1168
|
-
}
|
|
1169
|
-
|
|
1170
1136
|
.edit-site-global-styles-screen-root.edit-site-global-styles-screen-root,
|
|
1171
1137
|
.edit-site-global-styles-screen-style-variations.edit-site-global-styles-screen-style-variations {
|
|
1172
1138
|
background: unset;
|
|
@@ -1983,6 +1949,10 @@ body.is-fullscreen-mode .edit-site .components-editor-notices__snackbar {
|
|
|
1983
1949
|
min-width: 24px;
|
|
1984
1950
|
}
|
|
1985
1951
|
|
|
1952
|
+
/**
|
|
1953
|
+
* Note that this CSS file should be in sync with its counterpart in the other editor:
|
|
1954
|
+
* packages/edit-post/src/components/secondary-sidebar/style.scss
|
|
1955
|
+
*/
|
|
1986
1956
|
.edit-site-editor__inserter-panel,
|
|
1987
1957
|
.edit-site-editor__list-view-panel {
|
|
1988
1958
|
height: 100%;
|
|
@@ -1990,8 +1960,10 @@ body.is-fullscreen-mode .edit-site .components-editor-notices__snackbar {
|
|
|
1990
1960
|
flex-direction: column;
|
|
1991
1961
|
}
|
|
1992
1962
|
|
|
1993
|
-
|
|
1994
|
-
|
|
1963
|
+
@media (min-width: 782px) {
|
|
1964
|
+
.edit-site-editor__list-view-panel {
|
|
1965
|
+
width: 350px;
|
|
1966
|
+
}
|
|
1995
1967
|
}
|
|
1996
1968
|
|
|
1997
1969
|
.edit-site-editor__inserter-panel-header {
|
|
@@ -2023,8 +1995,38 @@ body.is-fullscreen-mode .edit-site .components-editor-notices__snackbar {
|
|
|
2023
1995
|
}
|
|
2024
1996
|
|
|
2025
1997
|
.edit-site-editor__list-view-panel-content {
|
|
2026
|
-
|
|
2027
|
-
|
|
1998
|
+
height: 100%;
|
|
1999
|
+
scrollbar-width: thin;
|
|
2000
|
+
scrollbar-gutter: stable both-edges;
|
|
2001
|
+
scrollbar-color: transparent transparent;
|
|
2002
|
+
will-change: transform;
|
|
2003
|
+
overflow: auto;
|
|
2004
|
+
scrollbar-gutter: auto;
|
|
2005
|
+
padding: 8px 6px;
|
|
2006
|
+
}
|
|
2007
|
+
.edit-site-editor__list-view-panel-content::-webkit-scrollbar {
|
|
2008
|
+
width: 12px;
|
|
2009
|
+
height: 12px;
|
|
2010
|
+
}
|
|
2011
|
+
.edit-site-editor__list-view-panel-content::-webkit-scrollbar-track {
|
|
2012
|
+
background-color: transparent;
|
|
2013
|
+
}
|
|
2014
|
+
.edit-site-editor__list-view-panel-content::-webkit-scrollbar-thumb {
|
|
2015
|
+
background-color: transparent;
|
|
2016
|
+
border-radius: 8px;
|
|
2017
|
+
border: 3px solid transparent;
|
|
2018
|
+
background-clip: padding-box;
|
|
2019
|
+
}
|
|
2020
|
+
.edit-site-editor__list-view-panel-content:hover::-webkit-scrollbar-thumb, .edit-site-editor__list-view-panel-content:focus::-webkit-scrollbar-thumb, .edit-site-editor__list-view-panel-content:focus-within::-webkit-scrollbar-thumb {
|
|
2021
|
+
background-color: #949494;
|
|
2022
|
+
}
|
|
2023
|
+
.edit-site-editor__list-view-panel-content:hover, .edit-site-editor__list-view-panel-content:focus, .edit-site-editor__list-view-panel-content:focus-within {
|
|
2024
|
+
scrollbar-color: #949494 transparent;
|
|
2025
|
+
}
|
|
2026
|
+
@media (hover: none) {
|
|
2027
|
+
.edit-site-editor__list-view-panel-content {
|
|
2028
|
+
scrollbar-color: #949494 transparent;
|
|
2029
|
+
}
|
|
2028
2030
|
}
|
|
2029
2031
|
|
|
2030
2032
|
.edit-site-welcome-guide {
|
|
@@ -2061,59 +2063,35 @@ body.is-fullscreen-mode .edit-site .components-editor-notices__snackbar {
|
|
|
2061
2063
|
vertical-align: text-top;
|
|
2062
2064
|
}
|
|
2063
2065
|
|
|
2064
|
-
|
|
2065
|
-
|
|
2066
|
-
|
|
2067
|
-
|
|
2068
|
-
}
|
|
2066
|
+
.edit-site-start-template-options__modal-content .block-editor-block-patterns-list {
|
|
2067
|
+
column-count: 2;
|
|
2068
|
+
column-gap: 24px;
|
|
2069
|
+
padding-top: 2px;
|
|
2069
2070
|
}
|
|
2070
2071
|
@media (min-width: 782px) {
|
|
2071
|
-
.edit-site-start-template-options__modal.
|
|
2072
|
-
|
|
2072
|
+
.edit-site-start-template-options__modal-content .block-editor-block-patterns-list {
|
|
2073
|
+
column-count: 3;
|
|
2073
2074
|
}
|
|
2074
2075
|
}
|
|
2075
|
-
@media (min-width:
|
|
2076
|
-
.edit-site-start-template-options__modal.
|
|
2077
|
-
|
|
2078
|
-
height: fit-content;
|
|
2076
|
+
@media (min-width: 1280px) {
|
|
2077
|
+
.edit-site-start-template-options__modal-content .block-editor-block-patterns-list {
|
|
2078
|
+
column-count: 4;
|
|
2079
2079
|
}
|
|
2080
2080
|
}
|
|
2081
|
-
|
|
2082
|
-
.edit-site-start-template-options__modal-content .block-editor-block-patterns-list {
|
|
2083
|
-
display: grid;
|
|
2084
|
-
width: 100%;
|
|
2085
|
-
margin-top: 4px;
|
|
2086
|
-
gap: 24px;
|
|
2087
|
-
grid-template-columns: repeat(auto-fit, minmax(min(100% / 2, max(240px, 100% / 10)), 1fr));
|
|
2088
|
-
}
|
|
2089
2081
|
.edit-site-start-template-options__modal-content .block-editor-block-patterns-list .block-editor-block-patterns-list__list-item {
|
|
2090
2082
|
break-inside: avoid-column;
|
|
2091
|
-
margin-bottom: 0;
|
|
2092
|
-
width: 100%;
|
|
2093
|
-
aspect-ratio: 3/4;
|
|
2094
|
-
}
|
|
2095
|
-
.edit-site-start-template-options__modal-content .block-editor-block-patterns-list .block-editor-block-patterns-list__list-item .block-editor-block-preview__container {
|
|
2096
|
-
height: 100%;
|
|
2097
|
-
box-shadow: 0 0 0 1px #ddd;
|
|
2098
|
-
}
|
|
2099
|
-
.edit-site-start-template-options__modal-content .block-editor-block-patterns-list .block-editor-block-patterns-list__list-item .block-editor-block-preview__content {
|
|
2100
|
-
width: 100%;
|
|
2101
|
-
position: absolute;
|
|
2102
2083
|
}
|
|
2103
2084
|
.edit-site-start-template-options__modal-content .block-editor-block-patterns-list .block-editor-block-patterns-list__list-item .block-editor-block-patterns-list__item-title {
|
|
2104
2085
|
display: none;
|
|
2105
2086
|
}
|
|
2106
|
-
.edit-site-start-template-options__modal-content .block-editor-block-patterns-list .block-editor-block-patterns-
|
|
2107
|
-
box-shadow: 0 0 0
|
|
2108
|
-
}
|
|
2109
|
-
.edit-site-start-template-options__modal-content .block-editor-block-patterns-list .block-editor-block-patterns-list__list-item:focus .block-editor-block-preview__container {
|
|
2110
|
-
box-shadow: inset 0 0 0 1px #fff, 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
|
|
2111
|
-
outline: 2px solid transparent;
|
|
2087
|
+
.edit-site-start-template-options__modal-content .block-editor-block-patterns-list .block-editor-block-patterns-list__item:not(:focus):not(:hover) .block-editor-block-preview__container {
|
|
2088
|
+
box-shadow: 0 0 0 1px #ddd;
|
|
2112
2089
|
}
|
|
2113
2090
|
.edit-site-start-template-options__modal-content .block-editor-block-patterns-list .block-editor-block-patterns-list__list-item:nth-last-child(2) .block-editor-block-preview__container {
|
|
2114
2091
|
position: absolute;
|
|
2115
2092
|
padding: 0;
|
|
2116
2093
|
background: #f0f0f0;
|
|
2094
|
+
min-height: 160px;
|
|
2117
2095
|
}
|
|
2118
2096
|
.edit-site-start-template-options__modal-content .block-editor-block-patterns-list .block-editor-block-patterns-list__list-item:nth-last-child(2) .block-editor-block-preview__container::after {
|
|
2119
2097
|
width: 100%;
|
|
@@ -2191,7 +2169,7 @@ body.is-fullscreen-mode .edit-site .components-editor-notices__snackbar {
|
|
|
2191
2169
|
z-index: 3;
|
|
2192
2170
|
}
|
|
2193
2171
|
.edit-site-layout.is-full-canvas.is-edit-mode .edit-site-layout__hub {
|
|
2194
|
-
width:
|
|
2172
|
+
width: 60px;
|
|
2195
2173
|
padding-left: 0;
|
|
2196
2174
|
}
|
|
2197
2175
|
@media (min-width: 782px) {
|
|
@@ -2299,6 +2277,7 @@ body.is-fullscreen-mode .edit-site .components-editor-notices__snackbar {
|
|
|
2299
2277
|
}
|
|
2300
2278
|
.edit-site-layout.is-full-canvas .edit-site-layout__canvas > div {
|
|
2301
2279
|
border-radius: 0;
|
|
2280
|
+
box-shadow: none;
|
|
2302
2281
|
}
|
|
2303
2282
|
|
|
2304
2283
|
.edit-site-layout__canvas .interface-interface-skeleton {
|
|
@@ -2309,13 +2288,19 @@ body.is-fullscreen-mode .edit-site .components-editor-notices__snackbar {
|
|
|
2309
2288
|
.edit-site-layout__view-mode-toggle.components-button {
|
|
2310
2289
|
position: relative;
|
|
2311
2290
|
color: #fff;
|
|
2312
|
-
|
|
2313
|
-
|
|
2314
|
-
|
|
2291
|
+
border-radius: 0;
|
|
2292
|
+
height: 60px;
|
|
2293
|
+
width: 60px;
|
|
2294
|
+
overflow: hidden;
|
|
2315
2295
|
padding: 0;
|
|
2316
2296
|
display: flex;
|
|
2317
2297
|
align-items: center;
|
|
2318
2298
|
justify-content: center;
|
|
2299
|
+
border-bottom: 1px solid transparent;
|
|
2300
|
+
}
|
|
2301
|
+
.edit-site-layout.is-full-canvas.is-edit-mode .edit-site-layout__view-mode-toggle.components-button {
|
|
2302
|
+
border-bottom-color: #e0e0e0;
|
|
2303
|
+
transition: border-bottom-color 0.15s 0.4s ease-out;
|
|
2319
2304
|
}
|
|
2320
2305
|
.edit-site-layout__view-mode-toggle.components-button:hover, .edit-site-layout__view-mode-toggle.components-button:active {
|
|
2321
2306
|
color: #fff;
|
|
@@ -2347,6 +2332,10 @@ body.is-fullscreen-mode .edit-site .components-editor-notices__snackbar {
|
|
|
2347
2332
|
.edit-site-layout__view-mode-toggle.components-button .edit-site-layout__view-mode-toggle-icon {
|
|
2348
2333
|
display: flex;
|
|
2349
2334
|
border-radius: 2px;
|
|
2335
|
+
height: 64px;
|
|
2336
|
+
width: 64px;
|
|
2337
|
+
justify-content: center;
|
|
2338
|
+
align-items: center;
|
|
2350
2339
|
}
|
|
2351
2340
|
|
|
2352
2341
|
.edit-site-layout__actions {
|
|
@@ -2373,6 +2362,15 @@ body.is-fullscreen-mode .edit-site .components-editor-notices__snackbar {
|
|
|
2373
2362
|
}
|
|
2374
2363
|
}
|
|
2375
2364
|
|
|
2365
|
+
@media (min-width: 782px) {
|
|
2366
|
+
.edit-site-layout.has-fixed-toolbar .edit-site-site-hub {
|
|
2367
|
+
z-index: 4;
|
|
2368
|
+
}
|
|
2369
|
+
.edit-site-layout.has-fixed-toolbar .edit-site-layout__header:focus-within {
|
|
2370
|
+
z-index: 3;
|
|
2371
|
+
}
|
|
2372
|
+
}
|
|
2373
|
+
|
|
2376
2374
|
.edit-site-save-hub {
|
|
2377
2375
|
color: #949494;
|
|
2378
2376
|
}
|
|
@@ -2398,9 +2396,10 @@ body.is-fullscreen-mode .edit-site .components-editor-notices__snackbar {
|
|
|
2398
2396
|
overflow-y: auto;
|
|
2399
2397
|
}
|
|
2400
2398
|
.edit-site-sidebar__content .components-navigator-screen {
|
|
2401
|
-
visibility: hidden;
|
|
2402
|
-
scrollbar-color: #757575 #1e1e1e;
|
|
2403
2399
|
scrollbar-width: thin;
|
|
2400
|
+
scrollbar-gutter: stable both-edges;
|
|
2401
|
+
scrollbar-color: transparent transparent;
|
|
2402
|
+
will-change: transform;
|
|
2404
2403
|
scrollbar-gutter: stable;
|
|
2405
2404
|
}
|
|
2406
2405
|
.edit-site-sidebar__content .components-navigator-screen::-webkit-scrollbar {
|
|
@@ -2408,16 +2407,24 @@ body.is-fullscreen-mode .edit-site .components-editor-notices__snackbar {
|
|
|
2408
2407
|
height: 12px;
|
|
2409
2408
|
}
|
|
2410
2409
|
.edit-site-sidebar__content .components-navigator-screen::-webkit-scrollbar-track {
|
|
2411
|
-
background-color:
|
|
2410
|
+
background-color: transparent;
|
|
2412
2411
|
}
|
|
2413
2412
|
.edit-site-sidebar__content .components-navigator-screen::-webkit-scrollbar-thumb {
|
|
2414
|
-
background-color:
|
|
2413
|
+
background-color: transparent;
|
|
2415
2414
|
border-radius: 8px;
|
|
2416
2415
|
border: 3px solid transparent;
|
|
2417
2416
|
background-clip: padding-box;
|
|
2418
2417
|
}
|
|
2419
|
-
.edit-site-sidebar__content .components-navigator-screen:hover, .edit-site-sidebar__content .components-navigator-screen:focus, .edit-site-sidebar__content .components-navigator-screen
|
|
2420
|
-
|
|
2418
|
+
.edit-site-sidebar__content .components-navigator-screen:hover::-webkit-scrollbar-thumb, .edit-site-sidebar__content .components-navigator-screen:focus::-webkit-scrollbar-thumb, .edit-site-sidebar__content .components-navigator-screen:focus-within::-webkit-scrollbar-thumb {
|
|
2419
|
+
background-color: #757575;
|
|
2420
|
+
}
|
|
2421
|
+
.edit-site-sidebar__content .components-navigator-screen:hover, .edit-site-sidebar__content .components-navigator-screen:focus, .edit-site-sidebar__content .components-navigator-screen:focus-within {
|
|
2422
|
+
scrollbar-color: #757575 transparent;
|
|
2423
|
+
}
|
|
2424
|
+
@media (hover: none) {
|
|
2425
|
+
.edit-site-sidebar__content .components-navigator-screen {
|
|
2426
|
+
scrollbar-color: #757575 transparent;
|
|
2427
|
+
}
|
|
2421
2428
|
}
|
|
2422
2429
|
|
|
2423
2430
|
.edit-site-sidebar__footer {
|
|
@@ -2501,15 +2508,28 @@ body.is-fullscreen-mode .edit-site .components-editor-notices__snackbar {
|
|
|
2501
2508
|
margin-bottom: 8px;
|
|
2502
2509
|
padding-bottom: 8px;
|
|
2503
2510
|
padding-left: 16px;
|
|
2511
|
+
z-index: 1;
|
|
2504
2512
|
}
|
|
2505
2513
|
|
|
2506
2514
|
.edit-site-sidebar-navigation-screen__title {
|
|
2507
|
-
font-size: calc(1.56 * 13px);
|
|
2508
|
-
line-height: normal;
|
|
2509
|
-
font-weight: 500;
|
|
2510
2515
|
flex-grow: 1;
|
|
2511
|
-
|
|
2512
|
-
|
|
2516
|
+
padding: 6px 0 0 0;
|
|
2517
|
+
}
|
|
2518
|
+
|
|
2519
|
+
.edit-site-sidebar-navigation-screen__content .edit-site-global-styles-style-variations-container {
|
|
2520
|
+
margin-right: 16px;
|
|
2521
|
+
}
|
|
2522
|
+
.edit-site-sidebar-navigation-screen__content .edit-site-global-styles-style-variations-container .edit-site-global-styles-variations_item-preview {
|
|
2523
|
+
border: #1e1e1e 1px solid;
|
|
2524
|
+
}
|
|
2525
|
+
.edit-site-sidebar-navigation-screen__content .edit-site-global-styles-style-variations-container .edit-site-global-styles-variations_item.is-active .edit-site-global-styles-variations_item-preview {
|
|
2526
|
+
border: #f0f0f0 1px solid;
|
|
2527
|
+
}
|
|
2528
|
+
.edit-site-sidebar-navigation-screen__content .edit-site-global-styles-style-variations-container .edit-site-global-styles-variations_item:hover .edit-site-global-styles-variations_item-preview {
|
|
2529
|
+
border: var(--wp-admin-theme-color) 1px solid;
|
|
2530
|
+
}
|
|
2531
|
+
.edit-site-sidebar-navigation-screen__content .edit-site-global-styles-style-variations-container .edit-site-global-styles-variations_item:focus .edit-site-global-styles-variations_item-preview {
|
|
2532
|
+
border: var(--wp-admin-theme-color) var(--wp-admin-border-width-focus) solid;
|
|
2513
2533
|
}
|
|
2514
2534
|
|
|
2515
2535
|
.edit-site-sidebar-navigation-screen-template__added-by-description {
|
|
@@ -2662,14 +2682,32 @@ body.is-fullscreen-mode .edit-site .components-editor-notices__snackbar {
|
|
|
2662
2682
|
}
|
|
2663
2683
|
|
|
2664
2684
|
.edit-site-site-icon__image {
|
|
2665
|
-
width:
|
|
2666
|
-
height:
|
|
2667
|
-
border-radius:
|
|
2685
|
+
width: 100%;
|
|
2686
|
+
height: auto;
|
|
2687
|
+
border-radius: 4px;
|
|
2668
2688
|
-o-object-fit: cover;
|
|
2669
2689
|
object-fit: cover;
|
|
2690
|
+
background: #333;
|
|
2691
|
+
}
|
|
2692
|
+
.edit-site-layout.is-full-canvas.is-edit-mode .edit-site-site-icon__image {
|
|
2693
|
+
border-radius: 0;
|
|
2670
2694
|
}
|
|
2671
2695
|
|
|
2672
|
-
.edit-site-style-
|
|
2696
|
+
.edit-site-style-book__tab-panel .components-tab-panel__tabs {
|
|
2697
|
+
background: #fff;
|
|
2698
|
+
color: #1e1e1e;
|
|
2699
|
+
}
|
|
2700
|
+
.edit-site-style-book__tab-panel .components-tab-panel__tab-content {
|
|
2701
|
+
bottom: 0;
|
|
2702
|
+
right: 0;
|
|
2703
|
+
overflow: auto;
|
|
2704
|
+
padding: 0;
|
|
2705
|
+
position: absolute;
|
|
2706
|
+
left: 0;
|
|
2707
|
+
top: 48px;
|
|
2708
|
+
}
|
|
2709
|
+
|
|
2710
|
+
.edit-site-editor-canvas-container {
|
|
2673
2711
|
background: #fff;
|
|
2674
2712
|
border-radius: 2px;
|
|
2675
2713
|
bottom: 0;
|
|
@@ -2681,24 +2719,12 @@ body.is-fullscreen-mode .edit-site .components-editor-notices__snackbar {
|
|
|
2681
2719
|
transition: all 0.3s;
|
|
2682
2720
|
}
|
|
2683
2721
|
|
|
2684
|
-
.edit-site-
|
|
2722
|
+
.edit-site-editor-canvas-container__close-button {
|
|
2685
2723
|
position: absolute;
|
|
2686
2724
|
left: 8px;
|
|
2687
2725
|
top: 6px;
|
|
2688
|
-
|
|
2689
|
-
|
|
2690
|
-
.edit-site-style-book__tab-panel .components-tab-panel__tabs {
|
|
2726
|
+
z-index: 1;
|
|
2691
2727
|
background: #fff;
|
|
2692
|
-
color: #1e1e1e;
|
|
2693
|
-
}
|
|
2694
|
-
.edit-site-style-book__tab-panel .components-tab-panel__tab-content {
|
|
2695
|
-
bottom: 0;
|
|
2696
|
-
right: 0;
|
|
2697
|
-
overflow: auto;
|
|
2698
|
-
padding: 0;
|
|
2699
|
-
position: absolute;
|
|
2700
|
-
left: 0;
|
|
2701
|
-
top: 48px;
|
|
2702
2728
|
}
|
|
2703
2729
|
|
|
2704
2730
|
.edit-site-push-changes-to-global-styles-control .components-button {
|