@wordpress/edit-site 6.0.0 → 6.1.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 +2 -0
- package/build/components/add-new-page/index.js +2 -1
- package/build/components/add-new-page/index.js.map +1 -1
- package/build/components/app/index.js +17 -1
- package/build/components/app/index.js.map +1 -1
- package/build/components/editor/index.js +55 -69
- package/build/components/editor/index.js.map +1 -1
- package/build/components/editor/use-editor-title.js +39 -0
- package/build/components/editor/use-editor-title.js.map +1 -0
- package/build/components/global-styles/font-library-modal/installed-fonts.js +1 -0
- package/build/components/global-styles/font-library-modal/installed-fonts.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-revisions/index.js +4 -23
- package/build/components/global-styles/screen-revisions/index.js.map +1 -1
- package/build/components/global-styles/screen-revisions/revisions-buttons.js +1 -1
- package/build/components/global-styles/screen-revisions/revisions-buttons.js.map +1 -1
- package/build/components/global-styles/shadows-edit-panel.js +1 -0
- package/build/components/global-styles/shadows-edit-panel.js.map +1 -1
- package/build/components/global-styles/variations/variation.js +11 -16
- package/build/components/global-styles/variations/variation.js.map +1 -1
- package/build/components/global-styles/variations/variations-color.js +2 -1
- package/build/components/global-styles/variations/variations-color.js.map +1 -1
- package/build/components/global-styles/variations/variations-typography.js +1 -0
- package/build/components/global-styles/variations/variations-typography.js.map +1 -1
- package/build/components/global-styles-sidebar/index.js +2 -0
- package/build/components/global-styles-sidebar/index.js.map +1 -1
- package/build/components/layout/index.js +23 -95
- package/build/components/layout/index.js.map +1 -1
- package/build/components/page/header.js +1 -0
- package/build/components/page/header.js.map +1 -1
- package/build/components/page-patterns/header.js +2 -1
- package/build/components/page-patterns/header.js.map +1 -1
- package/build/components/page-patterns/index.js +5 -5
- package/build/components/page-patterns/index.js.map +1 -1
- package/build/components/pagination/index.js +17 -8
- package/build/components/pagination/index.js.map +1 -1
- package/build/components/posts-app/index.js +50 -0
- package/build/components/posts-app/index.js.map +1 -0
- package/build/components/sidebar-dataviews/dataview-item.js +6 -2
- package/build/components/sidebar-dataviews/dataview-item.js.map +1 -1
- package/build/components/sidebar-navigation-screen/index.js +1 -1
- package/build/components/sidebar-navigation-screen/index.js.map +1 -1
- package/build/components/sidebar-navigation-screen-navigation-menu/delete-confirm-dialog.js +1 -0
- package/build/components/sidebar-navigation-screen-navigation-menu/delete-confirm-dialog.js.map +1 -1
- package/build/components/sidebar-navigation-screen-navigation-menu/rename-modal.js +1 -0
- package/build/components/sidebar-navigation-screen-navigation-menu/rename-modal.js.map +1 -1
- package/build/components/sidebar-navigation-screen-patterns/category-item.js +1 -1
- package/build/components/sidebar-navigation-screen-patterns/category-item.js.map +1 -1
- package/build/components/sidebar-navigation-screen-patterns/index.js +1 -1
- package/build/components/sidebar-navigation-screen-patterns/index.js.map +1 -1
- package/build/components/site-hub/index.js +38 -128
- package/build/components/site-hub/index.js.map +1 -1
- package/build/hooks/commands/use-set-command-context.js +53 -0
- package/build/hooks/commands/use-set-command-context.js.map +1 -0
- package/build/hooks/push-changes-to-global-styles/index.js +3 -2
- package/build/hooks/push-changes-to-global-styles/index.js.map +1 -1
- package/build/hooks/use-theme-style-variations/use-theme-style-variations-by-property.js +20 -88
- package/build/hooks/use-theme-style-variations/use-theme-style-variations-by-property.js.map +1 -1
- package/build/index.js +15 -2
- package/build/index.js.map +1 -1
- package/build/posts.js +34 -0
- package/build/posts.js.map +1 -0
- package/build/store/private-actions.js +33 -18
- package/build/store/private-actions.js.map +1 -1
- package/build-module/components/add-new-page/index.js +2 -1
- package/build-module/components/add-new-page/index.js.map +1 -1
- package/build-module/components/app/index.js +17 -1
- package/build-module/components/app/index.js.map +1 -1
- package/build-module/components/editor/index.js +55 -69
- package/build-module/components/editor/index.js.map +1 -1
- package/build-module/components/editor/use-editor-title.js +31 -0
- package/build-module/components/editor/use-editor-title.js.map +1 -0
- package/build-module/components/global-styles/font-library-modal/installed-fonts.js +1 -0
- package/build-module/components/global-styles/font-library-modal/installed-fonts.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-revisions/index.js +4 -23
- package/build-module/components/global-styles/screen-revisions/index.js.map +1 -1
- package/build-module/components/global-styles/screen-revisions/revisions-buttons.js +1 -1
- package/build-module/components/global-styles/screen-revisions/revisions-buttons.js.map +1 -1
- package/build-module/components/global-styles/shadows-edit-panel.js +1 -0
- package/build-module/components/global-styles/shadows-edit-panel.js.map +1 -1
- package/build-module/components/global-styles/variations/variation.js +11 -16
- package/build-module/components/global-styles/variations/variation.js.map +1 -1
- package/build-module/components/global-styles/variations/variations-color.js +3 -2
- package/build-module/components/global-styles/variations/variations-color.js.map +1 -1
- package/build-module/components/global-styles/variations/variations-typography.js +1 -0
- package/build-module/components/global-styles/variations/variations-typography.js.map +1 -1
- package/build-module/components/global-styles-sidebar/index.js +2 -0
- package/build-module/components/global-styles-sidebar/index.js.map +1 -1
- package/build-module/components/layout/index.js +27 -99
- package/build-module/components/layout/index.js.map +1 -1
- package/build-module/components/page/header.js +1 -0
- package/build-module/components/page/header.js.map +1 -1
- package/build-module/components/page-patterns/header.js +2 -1
- package/build-module/components/page-patterns/header.js.map +1 -1
- package/build-module/components/page-patterns/index.js +5 -5
- package/build-module/components/page-patterns/index.js.map +1 -1
- package/build-module/components/pagination/index.js +17 -8
- package/build-module/components/pagination/index.js.map +1 -1
- package/build-module/components/posts-app/index.js +43 -0
- package/build-module/components/posts-app/index.js.map +1 -0
- package/build-module/components/sidebar-dataviews/dataview-item.js +6 -2
- package/build-module/components/sidebar-dataviews/dataview-item.js.map +1 -1
- package/build-module/components/sidebar-navigation-screen/index.js +1 -1
- package/build-module/components/sidebar-navigation-screen/index.js.map +1 -1
- package/build-module/components/sidebar-navigation-screen-navigation-menu/delete-confirm-dialog.js +1 -0
- package/build-module/components/sidebar-navigation-screen-navigation-menu/delete-confirm-dialog.js.map +1 -1
- package/build-module/components/sidebar-navigation-screen-navigation-menu/rename-modal.js +1 -0
- package/build-module/components/sidebar-navigation-screen-navigation-menu/rename-modal.js.map +1 -1
- package/build-module/components/sidebar-navigation-screen-patterns/category-item.js +2 -2
- package/build-module/components/sidebar-navigation-screen-patterns/category-item.js.map +1 -1
- package/build-module/components/sidebar-navigation-screen-patterns/index.js +1 -1
- package/build-module/components/sidebar-navigation-screen-patterns/index.js.map +1 -1
- package/build-module/components/site-hub/index.js +40 -130
- package/build-module/components/site-hub/index.js.map +1 -1
- package/build-module/hooks/commands/use-set-command-context.js +46 -0
- package/build-module/hooks/commands/use-set-command-context.js.map +1 -0
- package/build-module/hooks/push-changes-to-global-styles/index.js +3 -2
- package/build-module/hooks/push-changes-to-global-styles/index.js.map +1 -1
- package/build-module/hooks/use-theme-style-variations/use-theme-style-variations-by-property.js +19 -86
- package/build-module/hooks/use-theme-style-variations/use-theme-style-variations-by-property.js.map +1 -1
- package/build-module/index.js +8 -2
- package/build-module/index.js.map +1 -1
- package/build-module/posts.js +27 -0
- package/build-module/posts.js.map +1 -0
- package/build-module/store/private-actions.js +33 -18
- package/build-module/store/private-actions.js.map +1 -1
- package/build-style/posts-rtl.css +1707 -0
- package/build-style/posts.css +1707 -0
- package/build-style/style-rtl.css +59 -104
- package/build-style/style.css +59 -104
- package/package.json +41 -41
- package/src/components/add-new-page/index.js +2 -1
- package/src/components/app/index.js +17 -1
- package/src/components/block-editor/style.scss +11 -0
- package/src/components/editor/index.js +69 -103
- package/src/components/editor/style.scss +1 -5
- package/src/components/editor/use-editor-title.js +35 -0
- package/src/components/global-styles/font-library-modal/installed-fonts.js +1 -0
- package/src/components/global-styles/screen-css.js +1 -1
- package/src/components/global-styles/screen-revisions/index.js +4 -24
- package/src/components/global-styles/screen-revisions/revisions-buttons.js +1 -1
- package/src/components/global-styles/screen-revisions/style.scss +4 -8
- package/src/components/global-styles/shadows-edit-panel.js +1 -0
- package/src/components/global-styles/style.scss +1 -7
- package/src/components/global-styles/variations/variation.js +14 -19
- package/src/components/global-styles/variations/variations-color.js +12 -4
- package/src/components/global-styles/variations/variations-typography.js +5 -1
- package/src/components/global-styles-sidebar/index.js +2 -0
- package/src/components/global-styles-sidebar/style.scss +0 -1
- package/src/components/layout/index.js +41 -137
- package/src/components/layout/style.scss +18 -58
- package/src/components/page/header.js +1 -0
- package/src/components/page/style.scss +6 -0
- package/src/components/page-patterns/header.js +8 -2
- package/src/components/page-patterns/index.js +15 -12
- package/src/components/page-patterns/style.scss +6 -0
- package/src/components/pagination/index.js +21 -16
- package/src/components/posts-app/index.js +39 -0
- package/src/components/sidebar/style.scss +4 -4
- package/src/components/sidebar-dataviews/dataview-item.js +6 -2
- package/src/components/sidebar-navigation-screen/index.js +1 -1
- package/src/components/sidebar-navigation-screen/style.scss +2 -2
- package/src/components/sidebar-navigation-screen-navigation-menu/delete-confirm-dialog.js +1 -0
- package/src/components/sidebar-navigation-screen-navigation-menu/rename-modal.js +1 -0
- package/src/components/sidebar-navigation-screen-patterns/category-item.js +11 -2
- package/src/components/sidebar-navigation-screen-patterns/index.js +5 -1
- package/src/components/site-hub/index.js +55 -146
- package/src/components/site-hub/style.scss +1 -4
- package/src/components/site-icon/style.scss +0 -4
- package/src/hooks/commands/use-set-command-context.js +37 -0
- package/src/hooks/push-changes-to-global-styles/index.js +3 -2
- package/src/hooks/use-theme-style-variations/test/use-theme-style-variations-by-property.js +1 -875
- package/src/hooks/use-theme-style-variations/use-theme-style-variations-by-property.js +29 -117
- package/src/index.js +10 -2
- package/src/posts.js +29 -0
- package/src/posts.scss +46 -0
- package/src/store/private-actions.js +58 -30
- package/build/components/block-editor/block-inspector-button.js +0 -57
- package/build/components/block-editor/block-inspector-button.js.map +0 -1
- package/build/components/block-editor/inserter-media-categories.js +0 -183
- package/build/components/block-editor/inserter-media-categories.js.map +0 -1
- package/build/components/template-part-converter/convert-to-regular.js +0 -38
- package/build/components/template-part-converter/convert-to-regular.js.map +0 -1
- package/build/components/template-part-converter/convert-to-template-part.js +0 -84
- package/build/components/template-part-converter/convert-to-template-part.js.map +0 -1
- package/build/components/template-part-converter/index.js +0 -67
- package/build/components/template-part-converter/index.js.map +0 -1
- package/build-module/components/block-editor/block-inspector-button.js +0 -50
- package/build-module/components/block-editor/block-inspector-button.js.map +0 -1
- package/build-module/components/block-editor/inserter-media-categories.js +0 -177
- package/build-module/components/block-editor/inserter-media-categories.js.map +0 -1
- package/build-module/components/template-part-converter/convert-to-regular.js +0 -31
- package/build-module/components/template-part-converter/convert-to-regular.js.map +0 -1
- package/build-module/components/template-part-converter/convert-to-template-part.js +0 -79
- package/build-module/components/template-part-converter/convert-to-template-part.js.map +0 -1
- package/build-module/components/template-part-converter/index.js +0 -59
- package/build-module/components/template-part-converter/index.js.map +0 -1
- package/src/components/block-editor/block-inspector-button.js +0 -60
- package/src/components/block-editor/inserter-media-categories.js +0 -227
- package/src/components/template-part-converter/convert-to-regular.js +0 -32
- package/src/components/template-part-converter/convert-to-template-part.js +0 -78
- package/src/components/template-part-converter/index.js +0 -59
|
@@ -459,8 +459,7 @@
|
|
|
459
459
|
line-height: 16px;
|
|
460
460
|
}
|
|
461
461
|
.dataviews-view-grid .dataviews-view-grid__fields:not(:empty) {
|
|
462
|
-
padding:
|
|
463
|
-
padding-top: 0;
|
|
462
|
+
padding: 0 0 12px;
|
|
464
463
|
}
|
|
465
464
|
.dataviews-view-grid .dataviews-view-grid__fields .dataviews-view-grid__field {
|
|
466
465
|
align-items: flex-start;
|
|
@@ -513,6 +512,7 @@
|
|
|
513
512
|
.dataviews-view-list li .dataviews-view-list__item-actions .components-button {
|
|
514
513
|
opacity: 0;
|
|
515
514
|
position: fixed;
|
|
515
|
+
left: 0;
|
|
516
516
|
}
|
|
517
517
|
.dataviews-view-list li.is-selected .dataviews-view-list__item-actions, .dataviews-view-list li.is-hovered .dataviews-view-list__item-actions, .dataviews-view-list li:focus-within .dataviews-view-list__item-actions {
|
|
518
518
|
padding-left: 32px;
|
|
@@ -652,11 +652,6 @@
|
|
|
652
652
|
margin: 0;
|
|
653
653
|
}
|
|
654
654
|
|
|
655
|
-
.dataviews-filters__custom-menu-radio-item-prefix {
|
|
656
|
-
display: block;
|
|
657
|
-
width: 24px;
|
|
658
|
-
}
|
|
659
|
-
|
|
660
655
|
.dataviews-bulk-edit-button.components-button {
|
|
661
656
|
flex-shrink: 0;
|
|
662
657
|
}
|
|
@@ -928,12 +923,15 @@
|
|
|
928
923
|
}
|
|
929
924
|
|
|
930
925
|
.dataviews-bulk-actions {
|
|
931
|
-
position:
|
|
926
|
+
position: sticky;
|
|
932
927
|
display: flex;
|
|
933
928
|
flex-direction: column;
|
|
934
929
|
align-content: center;
|
|
935
930
|
flex-wrap: wrap;
|
|
936
|
-
width:
|
|
931
|
+
width: -moz-fit-content;
|
|
932
|
+
width: fit-content;
|
|
933
|
+
margin-right: auto;
|
|
934
|
+
margin-left: auto;
|
|
937
935
|
bottom: 24px;
|
|
938
936
|
z-index: 2;
|
|
939
937
|
}
|
|
@@ -1110,6 +1108,18 @@
|
|
|
1110
1108
|
align-items: flex-start;
|
|
1111
1109
|
}
|
|
1112
1110
|
|
|
1111
|
+
/* stylelint-disable -- Disable reason: View Transitions not supported properly by stylelint. */
|
|
1112
|
+
::view-transition-old(frame),
|
|
1113
|
+
::view-transition-new(frame) {
|
|
1114
|
+
animation-duration: 0;
|
|
1115
|
+
}
|
|
1116
|
+
|
|
1117
|
+
/* stylelint-enable */
|
|
1118
|
+
.edit-site-visual-editor__editor-canvas {
|
|
1119
|
+
/* stylelint-disable -- Disable reason: View Transitions not supported properly by stylelint. */
|
|
1120
|
+
view-transition-name: frame;
|
|
1121
|
+
/* stylelint-enable */
|
|
1122
|
+
}
|
|
1113
1123
|
.edit-site-visual-editor__editor-canvas.is-focused {
|
|
1114
1124
|
outline: calc(2 * var(--wp-admin-border-width-focus)) solid var(--wp-admin-theme-color);
|
|
1115
1125
|
outline-offset: calc(-2 * var(--wp-admin-border-width-focus));
|
|
@@ -1171,11 +1181,6 @@
|
|
|
1171
1181
|
overflow: hidden;
|
|
1172
1182
|
}
|
|
1173
1183
|
|
|
1174
|
-
.edit-site-typography-panel__full-width-control {
|
|
1175
|
-
grid-column: 1/-1;
|
|
1176
|
-
max-width: 100%;
|
|
1177
|
-
}
|
|
1178
|
-
|
|
1179
1184
|
.edit-site-global-styles-screen {
|
|
1180
1185
|
margin: 12px 16px 16px;
|
|
1181
1186
|
}
|
|
@@ -1230,8 +1235,7 @@
|
|
|
1230
1235
|
color: #2f2f2f;
|
|
1231
1236
|
font-weight: 600;
|
|
1232
1237
|
line-height: 1.2;
|
|
1233
|
-
padding: 16px;
|
|
1234
|
-
padding-bottom: 0;
|
|
1238
|
+
padding: 16px 16px 0;
|
|
1235
1239
|
margin: 0;
|
|
1236
1240
|
}
|
|
1237
1241
|
|
|
@@ -1504,18 +1508,12 @@
|
|
|
1504
1508
|
will-change: opacity;
|
|
1505
1509
|
}
|
|
1506
1510
|
.edit-site-global-styles-screen-revisions__pagination.edit-site-global-styles-screen-revisions__pagination .components-button.is-tertiary {
|
|
1507
|
-
font-size: 28px;
|
|
1508
|
-
font-weight: 200;
|
|
1509
1511
|
color: #1e1e1e;
|
|
1510
|
-
margin-bottom: 4px;
|
|
1511
|
-
line-height: 1.2;
|
|
1512
1512
|
}
|
|
1513
|
-
.edit-site-global-styles-screen-revisions__pagination.edit-site-global-styles-screen-revisions__pagination .components-button.is-tertiary:disabled
|
|
1513
|
+
.edit-site-global-styles-screen-revisions__pagination.edit-site-global-styles-screen-revisions__pagination .components-button.is-tertiary:disabled,
|
|
1514
|
+
.edit-site-global-styles-screen-revisions__pagination.edit-site-global-styles-screen-revisions__pagination .components-button.is-tertiary[aria-disabled=true] {
|
|
1514
1515
|
color: #949494;
|
|
1515
1516
|
}
|
|
1516
|
-
.edit-site-global-styles-screen-revisions__pagination.edit-site-global-styles-screen-revisions__pagination .components-button.is-tertiary:hover {
|
|
1517
|
-
background: transparent;
|
|
1518
|
-
}
|
|
1519
1517
|
|
|
1520
1518
|
.edit-site-global-styles-screen-revisions__footer {
|
|
1521
1519
|
height: 56px;
|
|
@@ -1571,7 +1569,6 @@
|
|
|
1571
1569
|
font-weight: 500;
|
|
1572
1570
|
}
|
|
1573
1571
|
|
|
1574
|
-
.edit-site-typography-panel,
|
|
1575
1572
|
.edit-site-global-styles-sidebar .block-editor-panel-color-gradient-settings {
|
|
1576
1573
|
border: 0;
|
|
1577
1574
|
}
|
|
@@ -1646,6 +1643,11 @@
|
|
|
1646
1643
|
.edit-site-page-header .edit-site-page-header__page-title {
|
|
1647
1644
|
min-height: 40px;
|
|
1648
1645
|
}
|
|
1646
|
+
.edit-site-page-header .edit-site-page-header__page-title .components-heading {
|
|
1647
|
+
flex-grow: 1;
|
|
1648
|
+
flex-basis: 0;
|
|
1649
|
+
white-space: nowrap;
|
|
1650
|
+
}
|
|
1649
1651
|
.edit-site-page-header .edit-site-page-header__sub-title {
|
|
1650
1652
|
margin-bottom: 8px;
|
|
1651
1653
|
}
|
|
@@ -1813,6 +1815,11 @@
|
|
|
1813
1815
|
.edit-site-page-patterns-dataviews .edit-site-patterns__section-header .edit-site-patterns__title {
|
|
1814
1816
|
min-height: 40px;
|
|
1815
1817
|
}
|
|
1818
|
+
.edit-site-page-patterns-dataviews .edit-site-patterns__section-header .edit-site-patterns__title .components-heading {
|
|
1819
|
+
flex-grow: 1;
|
|
1820
|
+
flex-basis: 0;
|
|
1821
|
+
white-space: nowrap;
|
|
1822
|
+
}
|
|
1816
1823
|
.edit-site-page-patterns-dataviews .edit-site-patterns__section-header .edit-site-patterns__sub-title {
|
|
1817
1824
|
margin-bottom: 8px;
|
|
1818
1825
|
}
|
|
@@ -2011,17 +2018,17 @@
|
|
|
2011
2018
|
border-bottom: 1px solid #f0f0f0;
|
|
2012
2019
|
}
|
|
2013
2020
|
|
|
2014
|
-
.edit-site-
|
|
2021
|
+
.edit-site-editor__editor-interface {
|
|
2015
2022
|
opacity: 1;
|
|
2016
2023
|
transition: opacity 0.1s ease-out;
|
|
2017
2024
|
}
|
|
2018
2025
|
@media (prefers-reduced-motion: reduce) {
|
|
2019
|
-
.edit-site-
|
|
2026
|
+
.edit-site-editor__editor-interface {
|
|
2020
2027
|
transition-duration: 0s;
|
|
2021
2028
|
transition-delay: 0s;
|
|
2022
2029
|
}
|
|
2023
2030
|
}
|
|
2024
|
-
.edit-site-
|
|
2031
|
+
.edit-site-editor__editor-interface.is-loading {
|
|
2025
2032
|
opacity: 0;
|
|
2026
2033
|
}
|
|
2027
2034
|
|
|
@@ -2035,10 +2042,6 @@
|
|
|
2035
2042
|
justify-content: center;
|
|
2036
2043
|
}
|
|
2037
2044
|
|
|
2038
|
-
.editor-header {
|
|
2039
|
-
padding-right: 60px;
|
|
2040
|
-
}
|
|
2041
|
-
|
|
2042
2045
|
.edit-site-welcome-guide {
|
|
2043
2046
|
width: 312px;
|
|
2044
2047
|
}
|
|
@@ -2089,38 +2092,8 @@
|
|
|
2089
2092
|
display: flex;
|
|
2090
2093
|
flex-direction: column;
|
|
2091
2094
|
}
|
|
2092
|
-
|
|
2093
|
-
|
|
2094
|
-
position: fixed;
|
|
2095
|
-
top: 0;
|
|
2096
|
-
right: 0;
|
|
2097
|
-
width: calc(100vw - 32px);
|
|
2098
|
-
height: 60px;
|
|
2099
|
-
z-index: 3;
|
|
2100
|
-
}
|
|
2101
|
-
@media (min-width: 782px) {
|
|
2102
|
-
.edit-site-layout__hub {
|
|
2103
|
-
width: calc(360px - 12px);
|
|
2104
|
-
}
|
|
2105
|
-
}
|
|
2106
|
-
.edit-site-layout.is-full-canvas .edit-site-layout__hub {
|
|
2107
|
-
padding-left: 0;
|
|
2108
|
-
border-radius: 0;
|
|
2109
|
-
width: 60px;
|
|
2110
|
-
box-shadow: none;
|
|
2111
|
-
}
|
|
2112
|
-
|
|
2113
|
-
.edit-site-layout__header-container:has(+ .edit-site-layout__content > .edit-site-layout__mobile > .edit-site-page) {
|
|
2114
|
-
margin-bottom: 60px;
|
|
2115
|
-
}
|
|
2116
|
-
@media (min-width: 782px) {
|
|
2117
|
-
.edit-site-layout__header-container:has(+ .edit-site-layout__content > .edit-site-layout__mobile > .edit-site-page) {
|
|
2118
|
-
margin-bottom: 0;
|
|
2119
|
-
}
|
|
2120
|
-
}
|
|
2121
|
-
|
|
2122
|
-
.edit-site-layout__header-container {
|
|
2123
|
-
z-index: 4;
|
|
2095
|
+
.edit-site-layout:not(.is-full-canvas) .editor-visual-editor {
|
|
2096
|
+
background: #1e1e1e;
|
|
2124
2097
|
}
|
|
2125
2098
|
|
|
2126
2099
|
.edit-site-layout__content {
|
|
@@ -2231,10 +2204,22 @@
|
|
|
2231
2204
|
height: 100%;
|
|
2232
2205
|
}
|
|
2233
2206
|
|
|
2207
|
+
/* stylelint-disable -- Disable reason: View Transitions not supported properly by stylelint. */
|
|
2208
|
+
html.canvas-mode-edit-transition::view-transition-group(toggle) {
|
|
2209
|
+
animation-delay: 255ms;
|
|
2210
|
+
}
|
|
2211
|
+
|
|
2212
|
+
/* stylelint-enable */
|
|
2213
|
+
.edit-site-layout.is-full-canvas .edit-site-layout__sidebar-region .edit-site-layout__view-mode-toggle {
|
|
2214
|
+
display: none;
|
|
2215
|
+
}
|
|
2216
|
+
|
|
2234
2217
|
.edit-site-layout__view-mode-toggle.components-button {
|
|
2218
|
+
/* stylelint-disable -- Disable reason: View Transitions not supported properly by stylelint. */
|
|
2219
|
+
view-transition-name: toggle;
|
|
2220
|
+
/* stylelint-enable */
|
|
2235
2221
|
position: relative;
|
|
2236
2222
|
color: #fff;
|
|
2237
|
-
border-radius: 0;
|
|
2238
2223
|
height: 60px;
|
|
2239
2224
|
width: 60px;
|
|
2240
2225
|
overflow: hidden;
|
|
@@ -2242,6 +2227,8 @@
|
|
|
2242
2227
|
display: flex;
|
|
2243
2228
|
align-items: center;
|
|
2244
2229
|
justify-content: center;
|
|
2230
|
+
background: #1e1e1e;
|
|
2231
|
+
border-radius: 0;
|
|
2245
2232
|
}
|
|
2246
2233
|
.edit-site-layout__view-mode-toggle.components-button:hover, .edit-site-layout__view-mode-toggle.components-button:active {
|
|
2247
2234
|
color: #fff;
|
|
@@ -2272,7 +2259,6 @@
|
|
|
2272
2259
|
}
|
|
2273
2260
|
.edit-site-layout__view-mode-toggle.components-button .edit-site-layout__view-mode-toggle-icon {
|
|
2274
2261
|
display: flex;
|
|
2275
|
-
border-radius: 2px;
|
|
2276
2262
|
height: 64px;
|
|
2277
2263
|
width: 64px;
|
|
2278
2264
|
justify-content: center;
|
|
@@ -2303,27 +2289,6 @@
|
|
|
2303
2289
|
}
|
|
2304
2290
|
}
|
|
2305
2291
|
|
|
2306
|
-
.edit-site-layout.is-distraction-free .edit-site-layout__header-container {
|
|
2307
|
-
height: 60px;
|
|
2308
|
-
position: absolute;
|
|
2309
|
-
top: 0;
|
|
2310
|
-
right: 0;
|
|
2311
|
-
left: 0;
|
|
2312
|
-
z-index: 4;
|
|
2313
|
-
width: 100%;
|
|
2314
|
-
}
|
|
2315
|
-
.edit-site-layout.is-distraction-free .edit-site-layout__header-container:focus-within {
|
|
2316
|
-
opacity: 1 !important;
|
|
2317
|
-
}
|
|
2318
|
-
.edit-site-layout.is-distraction-free .edit-site-layout__header-container:focus-within div {
|
|
2319
|
-
transform: translateX(0) translateY(0) translateZ(0) !important;
|
|
2320
|
-
}
|
|
2321
|
-
.edit-site-layout.is-distraction-free .edit-site-site-hub {
|
|
2322
|
-
position: absolute;
|
|
2323
|
-
top: 0;
|
|
2324
|
-
z-index: 3;
|
|
2325
|
-
}
|
|
2326
|
-
|
|
2327
2292
|
.edit-site-layout__area {
|
|
2328
2293
|
flex-grow: 1;
|
|
2329
2294
|
margin: 0;
|
|
@@ -2378,7 +2343,7 @@
|
|
|
2378
2343
|
overflow-y: auto;
|
|
2379
2344
|
}
|
|
2380
2345
|
|
|
2381
|
-
@keyframes
|
|
2346
|
+
@keyframes _w89s1_slide-from-right {
|
|
2382
2347
|
from {
|
|
2383
2348
|
transform: translateX(-50px);
|
|
2384
2349
|
opacity: 0;
|
|
@@ -2388,7 +2353,7 @@
|
|
|
2388
2353
|
opacity: 1;
|
|
2389
2354
|
}
|
|
2390
2355
|
}
|
|
2391
|
-
@keyframes
|
|
2356
|
+
@keyframes _w89s1_slide-from-left {
|
|
2392
2357
|
from {
|
|
2393
2358
|
transform: translateX(50px);
|
|
2394
2359
|
opacity: 0;
|
|
@@ -2444,10 +2409,10 @@
|
|
|
2444
2409
|
}
|
|
2445
2410
|
}
|
|
2446
2411
|
.edit-site-sidebar__screen-wrapper.slide-from-left {
|
|
2447
|
-
animation-name:
|
|
2412
|
+
animation-name: _w89s1_slide-from-left;
|
|
2448
2413
|
}
|
|
2449
2414
|
.edit-site-sidebar__screen-wrapper.slide-from-right {
|
|
2450
|
-
animation-name:
|
|
2415
|
+
animation-name: _w89s1_slide-from-right;
|
|
2451
2416
|
}
|
|
2452
2417
|
|
|
2453
2418
|
.edit-site-sidebar-button {
|
|
@@ -2549,7 +2514,7 @@
|
|
|
2549
2514
|
position: sticky;
|
|
2550
2515
|
top: 0;
|
|
2551
2516
|
background: #1e1e1e;
|
|
2552
|
-
padding-top:
|
|
2517
|
+
padding-top: 48px;
|
|
2553
2518
|
margin-bottom: 8px;
|
|
2554
2519
|
padding-bottom: 8px;
|
|
2555
2520
|
z-index: 1;
|
|
@@ -2557,8 +2522,8 @@
|
|
|
2557
2522
|
|
|
2558
2523
|
.edit-site-sidebar-navigation-screen__title {
|
|
2559
2524
|
flex-grow: 1;
|
|
2560
|
-
padding: 6px 0 0 0;
|
|
2561
2525
|
overflow-wrap: break-word;
|
|
2526
|
+
padding: 2px 0 0 0;
|
|
2562
2527
|
}
|
|
2563
2528
|
|
|
2564
2529
|
.edit-site-sidebar-navigation-screen__actions {
|
|
@@ -2727,6 +2692,7 @@
|
|
|
2727
2692
|
align-items: center;
|
|
2728
2693
|
justify-content: space-between;
|
|
2729
2694
|
gap: 8px;
|
|
2695
|
+
margin-left: 12px;
|
|
2730
2696
|
}
|
|
2731
2697
|
|
|
2732
2698
|
.edit-site-site-hub__actions {
|
|
@@ -2738,9 +2704,6 @@
|
|
|
2738
2704
|
width: 60px;
|
|
2739
2705
|
flex-shrink: 0;
|
|
2740
2706
|
}
|
|
2741
|
-
.edit-site-site-hub__view-mode-toggle-container .edit-site-layout__view-mode-toggle-icon {
|
|
2742
|
-
background: #1e1e1e;
|
|
2743
|
-
}
|
|
2744
2707
|
.edit-site-site-hub__view-mode-toggle-container.has-transparent-background .edit-site-layout__view-mode-toggle-icon {
|
|
2745
2708
|
background: transparent;
|
|
2746
2709
|
}
|
|
@@ -2830,13 +2793,6 @@
|
|
|
2830
2793
|
|
|
2831
2794
|
.edit-site-site-icon__icon {
|
|
2832
2795
|
fill: currentColor;
|
|
2833
|
-
transition: padding 0.3s ease-out;
|
|
2834
|
-
}
|
|
2835
|
-
@media (prefers-reduced-motion: reduce) {
|
|
2836
|
-
.edit-site-site-icon__icon {
|
|
2837
|
-
transition-duration: 0s;
|
|
2838
|
-
transition-delay: 0s;
|
|
2839
|
-
}
|
|
2840
2796
|
}
|
|
2841
2797
|
.edit-site-layout.is-full-canvas .edit-site-site-icon__icon {
|
|
2842
2798
|
padding: 6px;
|
|
@@ -2845,7 +2801,6 @@
|
|
|
2845
2801
|
.edit-site-site-icon__image {
|
|
2846
2802
|
width: 100%;
|
|
2847
2803
|
height: 100%;
|
|
2848
|
-
border-radius: 4px;
|
|
2849
2804
|
object-fit: cover;
|
|
2850
2805
|
background: #333;
|
|
2851
2806
|
}
|