@wordpress/edit-site 6.50.0 → 7.0.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.
Files changed (85) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/build/components/add-new-template/add-custom-template-modal-content.cjs +3 -3
  3. package/build/components/add-new-template/add-custom-template-modal-content.cjs.map +2 -2
  4. package/build/components/add-new-template/index.cjs +1 -1
  5. package/build/components/add-new-template/index.cjs.map +2 -2
  6. package/build/components/add-new-template-legacy/add-custom-template-modal-content.cjs +3 -3
  7. package/build/components/add-new-template-legacy/add-custom-template-modal-content.cjs.map +2 -2
  8. package/build/components/add-new-template-legacy/index.cjs +1 -1
  9. package/build/components/add-new-template-legacy/index.cjs.map +2 -2
  10. package/build/components/editor/index.cjs +22 -97
  11. package/build/components/editor/index.cjs.map +3 -3
  12. package/build/components/layout/index.cjs +12 -15
  13. package/build/components/layout/index.cjs.map +3 -3
  14. package/build/components/page-patterns/fields.cjs +0 -36
  15. package/build/components/page-patterns/fields.cjs.map +2 -2
  16. package/build/components/page-patterns/index.cjs +4 -15
  17. package/build/components/page-patterns/index.cjs.map +2 -2
  18. package/build/components/save-panel/index.cjs +1 -2
  19. package/build/components/save-panel/index.cjs.map +2 -2
  20. package/build/components/site-editor-routes/styles.cjs +4 -3
  21. package/build/components/site-editor-routes/styles.cjs.map +2 -2
  22. package/build/components/site-hub/index.cjs +13 -176
  23. package/build/components/site-hub/index.cjs.map +3 -3
  24. package/build/index.cjs +3 -1
  25. package/build/index.cjs.map +2 -2
  26. package/build-module/components/add-new-template/add-custom-template-modal-content.mjs +3 -3
  27. package/build-module/components/add-new-template/add-custom-template-modal-content.mjs.map +2 -2
  28. package/build-module/components/add-new-template/index.mjs +1 -1
  29. package/build-module/components/add-new-template/index.mjs.map +2 -2
  30. package/build-module/components/add-new-template-legacy/add-custom-template-modal-content.mjs +3 -3
  31. package/build-module/components/add-new-template-legacy/add-custom-template-modal-content.mjs.map +2 -2
  32. package/build-module/components/add-new-template-legacy/index.mjs +1 -1
  33. package/build-module/components/add-new-template-legacy/index.mjs.map +2 -2
  34. package/build-module/components/editor/index.mjs +25 -100
  35. package/build-module/components/editor/index.mjs.map +2 -2
  36. package/build-module/components/layout/index.mjs +12 -15
  37. package/build-module/components/layout/index.mjs.map +2 -2
  38. package/build-module/components/page-patterns/fields.mjs +2 -41
  39. package/build-module/components/page-patterns/fields.mjs.map +2 -2
  40. package/build-module/components/page-patterns/index.mjs +5 -16
  41. package/build-module/components/page-patterns/index.mjs.map +2 -2
  42. package/build-module/components/save-panel/index.mjs +1 -2
  43. package/build-module/components/save-panel/index.mjs.map +2 -2
  44. package/build-module/components/site-editor-routes/styles.mjs +4 -3
  45. package/build-module/components/site-editor-routes/styles.mjs.map +2 -2
  46. package/build-module/components/site-hub/index.mjs +17 -170
  47. package/build-module/components/site-hub/index.mjs.map +2 -2
  48. package/build-module/index.mjs +3 -1
  49. package/build-module/index.mjs.map +2 -2
  50. package/build-style/style-rtl.css +110 -330
  51. package/build-style/style.css +110 -330
  52. package/package.json +52 -52
  53. package/src/components/add-new-template/add-custom-template-modal-content.js +3 -3
  54. package/src/components/add-new-template/index.js +1 -1
  55. package/src/components/add-new-template-legacy/add-custom-template-modal-content.js +3 -3
  56. package/src/components/add-new-template-legacy/index.js +1 -1
  57. package/src/components/editor/index.js +31 -122
  58. package/src/components/editor/style.scss +0 -62
  59. package/src/components/layout/index.js +13 -18
  60. package/src/components/layout/style.scss +5 -62
  61. package/src/components/page-patterns/fields.js +2 -50
  62. package/src/components/page-patterns/index.js +5 -23
  63. package/src/components/page-patterns/style.scss +1 -1
  64. package/src/components/save-panel/index.js +1 -2
  65. package/src/components/sidebar/style.scss +2 -0
  66. package/src/components/sidebar-button/style.scss +1 -9
  67. package/src/components/sidebar-global-styles/style.scss +7 -4
  68. package/src/components/sidebar-navigation-item/style.scss +8 -4
  69. package/src/components/sidebar-navigation-screen/style.scss +1 -1
  70. package/src/components/sidebar-navigation-screen-navigation-menus/style.scss +2 -2
  71. package/src/components/sidebar-navigation-screen-patterns/style.scss +1 -1
  72. package/src/components/site-editor-routes/styles.js +5 -2
  73. package/src/components/site-hub/index.js +12 -170
  74. package/src/components/site-hub/style.scss +5 -82
  75. package/src/index.js +3 -1
  76. package/src/style.scss +16 -11
  77. package/build/components/site-icon/index.cjs +0 -73
  78. package/build/components/site-icon/index.cjs.map +0 -7
  79. package/build-module/components/site-icon/index.mjs +0 -42
  80. package/build-module/components/site-icon/index.mjs.map +0 -7
  81. package/build-style/experimental-omnibar-rtl.css +0 -103
  82. package/build-style/experimental-omnibar.css +0 -103
  83. package/src/components/site-icon/index.js +0 -51
  84. package/src/components/site-icon/style.scss +0 -41
  85. package/src/experimental-omnibar.scss +0 -75
@@ -1,4 +1,3 @@
1
- @charset "UTF-8";
2
1
  /**
3
2
  * Typography
4
3
  */
@@ -68,6 +67,12 @@
68
67
  /**
69
68
  * Focus styles.
70
69
  */
70
+ /**
71
+ * Standard focus rings for the WordPress Design System.
72
+ *
73
+ * Apply `outset-ring__focus` inside the relevant pseudo-class at the call site,
74
+ * e.g. `&:focus { @include outset-ring__focus(); }`.
75
+ */
71
76
  /**
72
77
  * Applies editor left position to the selector passed as argument
73
78
  */
@@ -176,6 +181,12 @@
176
181
  /**
177
182
  * Focus styles.
178
183
  */
184
+ /**
185
+ * Standard focus rings for the WordPress Design System.
186
+ *
187
+ * Apply `outset-ring__focus` inside the relevant pseudo-class at the call site,
188
+ * e.g. `&:focus { @include outset-ring__focus(); }`.
189
+ */
179
190
  /**
180
191
  * Applies editor left position to the selector passed as argument
181
192
  */
@@ -203,7 +214,6 @@
203
214
  min-height: 0;
204
215
  box-sizing: border-box;
205
216
  scroll-padding-bottom: 64px;
206
- /* stylelint-disable-next-line property-no-unknown -- '@container' not globally permitted */
207
217
  container: dataviews-wrapper/inline-size;
208
218
  display: flex;
209
219
  flex-direction: column;
@@ -266,6 +276,10 @@
266
276
  text-align: center;
267
277
  }
268
278
 
279
+ .dataviews-loading-more[aria-hidden=true] {
280
+ visibility: hidden;
281
+ }
282
+
269
283
  @container (max-width: 430px) {
270
284
  .dataviews__view-actions,
271
285
  .dataviews-filters__container {
@@ -274,7 +288,7 @@
274
288
  }
275
289
  .dataviews-title-field {
276
290
  font-size: var(--wpds-typography-font-size-md, 13px);
277
- font-weight: var(--wpds-typography-font-weight-medium, 499);
291
+ font-weight: var(--wpds-typography-font-weight-emphasis, 600);
278
292
  color: var(--wpds-color-foreground-content-neutral, #1e1e1e);
279
293
  text-overflow: ellipsis;
280
294
  white-space: nowrap;
@@ -474,7 +488,7 @@
474
488
  }
475
489
 
476
490
  .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip .dataviews-filters-__summary-filter-text-name {
477
- font-weight: var(--wpds-typography-font-weight-medium, 499);
491
+ font-weight: var(--wpds-typography-font-weight-emphasis, 600);
478
492
  }
479
493
 
480
494
  .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove {
@@ -527,7 +541,7 @@
527
541
  }
528
542
 
529
543
  .dataviews-filters__search-widget-filter-combobox-list .dataviews-filters__search-widget-filter-combobox-item-value [data-user-value] {
530
- font-weight: 600;
544
+ font-weight: var(--wpds-typography-font-weight-emphasis, 600);
531
545
  }
532
546
 
533
547
  .dataviews-filters__search-widget-listbox {
@@ -544,8 +558,8 @@
544
558
  padding: var(--wpds-dimension-padding-xs, 4px) var(--wpds-dimension-padding-md, 12px);
545
559
  cursor: default;
546
560
  min-height: var(--wpds-dimension-size-md, 32px);
547
- font-family: -apple-system, "system-ui", "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
548
- font-weight: 400;
561
+ font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
562
+ font-weight: var(--wpds-typography-font-weight-default, 400);
549
563
  font-size: 13px;
550
564
  line-height: 20px;
551
565
  }
@@ -686,7 +700,7 @@
686
700
  margin-right: 12px;
687
701
  transition: none;
688
702
  border-radius: 2px;
689
- font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
703
+ font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
690
704
  padding: 6px 8px;
691
705
  /* Fonts smaller than 16px causes mobile safari to zoom. */
692
706
  font-size: 16px;
@@ -821,7 +835,7 @@
821
835
  }
822
836
 
823
837
  .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input {
824
- font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
838
+ font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
825
839
  padding: 6px 8px;
826
840
  /* Fonts smaller than 16px causes mobile safari to zoom. */
827
841
  font-size: 16px;
@@ -996,14 +1010,14 @@
996
1010
  }
997
1011
  .dataviews-pagination__page-select {
998
1012
  font-size: 11px;
999
- font-weight: var(--wpds-typography-font-weight-medium, 499);
1013
+ font-weight: var(--wpds-typography-font-weight-emphasis, 600);
1000
1014
  text-transform: uppercase;
1001
1015
  }
1002
1016
 
1003
1017
  @media (min-width: 600px) {
1004
1018
  .dataviews-pagination__page-select .components-select-control__input {
1005
1019
  font-size: 11px !important;
1006
- font-weight: var(--wpds-typography-font-weight-medium, 499);
1020
+ font-weight: var(--wpds-typography-font-weight-emphasis, 600);
1007
1021
  }
1008
1022
  }
1009
1023
  .dataviews-action-modal {
@@ -1034,7 +1048,6 @@
1034
1048
 
1035
1049
  .dataviews-view-config {
1036
1050
  width: 320px;
1037
- /* stylelint-disable-next-line property-no-unknown -- the linter needs to be updated to accepted the container-type property */
1038
1051
  container-type: inline-size;
1039
1052
  font-size: var(--wpds-typography-font-size-md, 13px);
1040
1053
  line-height: var(--wpds-typography-line-height-sm, 20px);
@@ -1409,7 +1422,7 @@
1409
1422
 
1410
1423
  .dataviews-view-grid__group-header {
1411
1424
  font-size: var(--wpds-typography-font-size-lg, 15px);
1412
- font-weight: var(--wpds-typography-font-weight-medium, 499);
1425
+ font-weight: var(--wpds-typography-font-weight-emphasis, 600);
1413
1426
  color: var(--wpds-color-foreground-content-neutral, #1e1e1e);
1414
1427
  margin: 0 0 var(--wpds-dimension-gap-sm, 8px) 0;
1415
1428
  padding: 0 var(--wpds-dimension-padding-2xl, 24px);
@@ -1703,7 +1716,7 @@ div.dataviews-view-list {
1703
1716
  }
1704
1717
  .dataviews-view-list__group-header {
1705
1718
  font-size: var(--wpds-typography-font-size-lg, 15px);
1706
- font-weight: var(--wpds-typography-font-weight-medium, 499);
1719
+ font-weight: var(--wpds-typography-font-weight-emphasis, 600);
1707
1720
  color: var(--wpds-color-foreground-content-neutral, #1e1e1e);
1708
1721
  margin: 0 0 var(--wpds-dimension-gap-sm, 8px) 0;
1709
1722
  padding: 0 var(--wpds-dimension-padding-2xl, 24px);
@@ -1848,7 +1861,7 @@ div.dataviews-view-list {
1848
1861
  padding-bottom: var(--wpds-dimension-padding-sm, 8px);
1849
1862
  font-size: 11px;
1850
1863
  text-transform: uppercase;
1851
- font-weight: var(--wpds-typography-font-weight-medium, 499);
1864
+ font-weight: var(--wpds-typography-font-weight-emphasis, 600);
1852
1865
  }
1853
1866
 
1854
1867
  .dataviews-view-table thead th:has(.dataviews-view-table-header-button) {
@@ -1896,7 +1909,7 @@ div.dataviews-view-list {
1896
1909
  padding: var(--wpds-dimension-padding-xs, 4px) var(--wpds-dimension-padding-sm, 8px);
1897
1910
  font-size: 11px;
1898
1911
  text-transform: uppercase;
1899
- font-weight: var(--wpds-typography-font-weight-medium, 499);
1912
+ font-weight: var(--wpds-typography-font-weight-emphasis, 600);
1900
1913
  }
1901
1914
 
1902
1915
  .dataviews-view-table .dataviews-view-table-header-button:not(:hover) {
@@ -1989,7 +2002,7 @@ div.dataviews-view-list {
1989
2002
  }
1990
2003
 
1991
2004
  .dataviews-view-table__group-header-row .dataviews-view-table__group-header-cell {
1992
- font-weight: var(--wpds-typography-font-weight-medium, 499);
2005
+ font-weight: var(--wpds-typography-font-weight-emphasis, 600);
1993
2006
  padding: var(--wpds-dimension-padding-md, 12px) var(--wpds-dimension-padding-2xl, 24px);
1994
2007
  color: var(--wpds-color-foreground-content-neutral, #1e1e1e);
1995
2008
  }
@@ -2170,7 +2183,7 @@ div.dataviews-view-list {
2170
2183
 
2171
2184
  .dataviews-view-picker-grid-group__header {
2172
2185
  font-size: var(--wpds-typography-font-size-lg, 15px);
2173
- font-weight: var(--wpds-typography-font-weight-medium, 499);
2186
+ font-weight: var(--wpds-typography-font-weight-emphasis, 600);
2174
2187
  color: var(--wpds-color-foreground-content-neutral, #1e1e1e);
2175
2188
  margin: 0 0 var(--wpds-dimension-gap-sm, 8px) 0;
2176
2189
  padding: 0 48px;
@@ -2220,7 +2233,7 @@ div.dataviews-view-list {
2220
2233
 
2221
2234
  .dataviews-view-activity .dataviews-view-activity__group-header {
2222
2235
  font-size: var(--wpds-typography-font-size-lg, 15px);
2223
- font-weight: var(--wpds-typography-font-weight-medium, 499);
2236
+ font-weight: var(--wpds-typography-font-weight-emphasis, 600);
2224
2237
  color: var(--wpds-color-foreground-content-neutral-weak, #707070);
2225
2238
  margin: 0 0 var(--wpds-dimension-gap-sm, 8px) 0;
2226
2239
  padding: 0;
@@ -2591,7 +2604,7 @@ div.dataviews-view-list {
2591
2604
 
2592
2605
  .dataviews-view-picker-activity .dataviews-view-picker-activity-group__header {
2593
2606
  font-size: var(--wpds-typography-font-size-lg, 15px);
2594
- font-weight: var(--wpds-typography-font-weight-medium, 499);
2607
+ font-weight: var(--wpds-typography-font-weight-emphasis, 600);
2595
2608
  color: var(--wpds-color-foreground-content-neutral-weak, #707070);
2596
2609
  margin: 0 0 var(--wpds-dimension-gap-sm, 8px) 0;
2597
2610
  padding: 0;
@@ -2635,6 +2648,11 @@ div.dataviews-view-list {
2635
2648
  align-self: flex-end;
2636
2649
  }
2637
2650
 
2651
+ .dataviews-controls__richtext [data-rich-text-placeholder]::after {
2652
+ content: attr(data-rich-text-placeholder);
2653
+ color: color-mix(in srgb, currentColor, transparent 38%);
2654
+ }
2655
+
2638
2656
  .dataviews-controls__datetime {
2639
2657
  border: none;
2640
2658
  padding: 0;
@@ -2711,7 +2729,7 @@ div.dataviews-view-list {
2711
2729
 
2712
2730
  .dataforms-layouts-panel__field-trigger.is-disabled .dataforms-layouts-panel__field-control {
2713
2731
  color: var(--wpds-color-foreground-content-neutral-weak, #707070);
2714
- font-weight: var(--wpds-typography-font-weight-regular, 400);
2732
+ font-weight: var(--wpds-typography-font-weight-default, 400);
2715
2733
  }
2716
2734
 
2717
2735
  .dataforms-layouts-panel__field-trigger--edit-always .dataforms-layouts-panel__field-trigger-icon {
@@ -2787,7 +2805,7 @@ div.dataviews-view-list {
2787
2805
  padding-inline: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px));
2788
2806
  margin-inline: calc(-1 * var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)));
2789
2807
  word-break: break-word;
2790
- font-weight: var(--wpds-typography-font-weight-medium, 499);
2808
+ font-weight: var(--wpds-typography-font-weight-emphasis, 600);
2791
2809
  }
2792
2810
 
2793
2811
  .dataforms-layouts-panel__field-control > * {
@@ -2906,8 +2924,8 @@ div.dataviews-view-list {
2906
2924
  }
2907
2925
 
2908
2926
  .dataforms-layouts__wrapper {
2909
- font-family: -apple-system, "system-ui", "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
2910
- font-weight: 400;
2927
+ font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
2928
+ font-weight: var(--wpds-typography-font-weight-default, 400);
2911
2929
  font-size: 13px;
2912
2930
  line-height: 20px;
2913
2931
  }
@@ -2981,6 +2999,12 @@ div.dataviews-view-list {
2981
2999
  /**
2982
3000
  * Focus styles.
2983
3001
  */
3002
+ /**
3003
+ * Standard focus rings for the WordPress Design System.
3004
+ *
3005
+ * Apply `outset-ring__focus` inside the relevant pseudo-class at the call site,
3006
+ * e.g. `&:focus { @include outset-ring__focus(); }`.
3007
+ */
2984
3008
  /**
2985
3009
  * Applies editor left position to the selector passed as argument
2986
3010
  */
@@ -3120,7 +3144,6 @@ fieldset.fields__media-edit .fields__media-edit-description {
3120
3144
  }
3121
3145
 
3122
3146
  fieldset.fields__media-edit {
3123
- /* stylelint-disable-next-line property-no-unknown -- '@container' not globally permitted */
3124
3147
  container-type: inline-size;
3125
3148
  }
3126
3149
 
@@ -3360,7 +3383,6 @@ fieldset.fields__media-edit .fields__media-edit-expanded.is-empty .fields__media
3360
3383
 
3361
3384
  fieldset.fields__media-edit .fields__media-edit-expanded.is-multiple:not(.is-empty) {
3362
3385
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
3363
- /* stylelint-disable-next-line property-no-unknown -- '@container' not globally permitted */
3364
3386
  }
3365
3387
 
3366
3388
  @container (max-width: 500px) {
@@ -3448,7 +3470,7 @@ fieldset.fields__media-edit .fields__media-edit-expanded:not(.is-empty) .fields_
3448
3470
  }
3449
3471
 
3450
3472
  .fields-controls__slug .fields-controls__slug-help .fields-controls__slug-help-slug {
3451
- font-weight: 600;
3473
+ font-weight: var(--wpds-typography-font-weight-emphasis, 600);
3452
3474
  }
3453
3475
 
3454
3476
  .fields-controls__featured-image-image,
@@ -3568,6 +3590,12 @@ fieldset.fields__media-edit .fields__media-edit-expanded:not(.is-empty) .fields_
3568
3590
  /**
3569
3591
  * Focus styles.
3570
3592
  */
3593
+ /**
3594
+ * Standard focus rings for the WordPress Design System.
3595
+ *
3596
+ * Apply `outset-ring__focus` inside the relevant pseudo-class at the call site,
3597
+ * e.g. `&:focus { @include outset-ring__focus(); }`.
3598
+ */
3571
3599
  /**
3572
3600
  * Applies editor left position to the selector passed as argument
3573
3601
  */
@@ -3604,7 +3632,7 @@ fieldset.fields__media-edit .fields__media-edit-expanded:not(.is-empty) .fields_
3604
3632
 
3605
3633
  .font-library-modal .font-library__subtitle {
3606
3634
  text-transform: uppercase;
3607
- font-weight: 499;
3635
+ font-weight: var(--wpds-typography-font-weight-emphasis, 600);
3608
3636
  font-size: 11px;
3609
3637
  }
3610
3638
 
@@ -3655,20 +3683,20 @@ fieldset.fields__media-edit .fields__media-edit-expanded:not(.is-empty) .fields_
3655
3683
 
3656
3684
  .font-library__page-selection {
3657
3685
  font-size: 11px;
3658
- font-weight: 499;
3686
+ font-weight: var(--wpds-typography-font-weight-emphasis, 600);
3659
3687
  text-transform: uppercase;
3660
3688
  }
3661
3689
 
3662
3690
  @media (min-width: 600px) {
3663
3691
  .font-library__page-selection .font-library__page-selection-trigger {
3664
3692
  font-size: 11px !important;
3665
- font-weight: 499;
3693
+ font-weight: var(--wpds-typography-font-weight-emphasis, 600);
3666
3694
  }
3667
3695
  }
3668
3696
  .font-library__fonts-title {
3669
3697
  text-transform: uppercase;
3670
3698
  font-size: 11px;
3671
- font-weight: 600;
3699
+ font-weight: var(--wpds-typography-font-weight-emphasis, 600);
3672
3700
  margin-top: 0;
3673
3701
  margin-bottom: 0;
3674
3702
  }
@@ -3905,7 +3933,7 @@ button.font-library__upload-area {
3905
3933
 
3906
3934
  .global-styles-ui-screen-revisions__description .global-styles-ui-screen-revisions__date {
3907
3935
  text-transform: uppercase;
3908
- font-weight: 600;
3936
+ font-weight: var(--wpds-typography-font-weight-emphasis, 600);
3909
3937
  font-size: 12px;
3910
3938
  }
3911
3939
 
@@ -4090,13 +4118,13 @@ button.font-library__upload-area {
4090
4118
  .global-styles-ui-subtitle {
4091
4119
  margin-bottom: 0 !important;
4092
4120
  text-transform: uppercase;
4093
- font-weight: 499 !important;
4121
+ font-weight: var(--wpds-typography-font-weight-emphasis, 600) !important;
4094
4122
  font-size: 11px !important;
4095
4123
  }
4096
4124
 
4097
4125
  .global-styles-ui-section-title {
4098
4126
  color: #2f2f2f;
4099
- font-weight: 600;
4127
+ font-weight: var(--wpds-typography-font-weight-emphasis, 600);
4100
4128
  line-height: 1.2;
4101
4129
  padding: 16px 16px 0;
4102
4130
  margin: 0;
@@ -4242,6 +4270,14 @@ button.font-library__upload-area {
4242
4270
  height: 100%;
4243
4271
  }
4244
4272
 
4273
+ .global-styles-ui-color-palette__tablist-container {
4274
+ border-bottom: 1px solid #ddd;
4275
+ }
4276
+
4277
+ .global-styles-ui-color-palette__tablist {
4278
+ margin-bottom: -1px;
4279
+ }
4280
+
4245
4281
  .global-styles-ui-sidebar__navigator-screen .single-column {
4246
4282
  grid-column: span 1;
4247
4283
  }
@@ -4511,7 +4547,7 @@ button.font-library__upload-area {
4511
4547
  top: 0;
4512
4548
  }
4513
4549
 
4514
- .edit-site-page-patterns-dataviews .dataviews-view-grid__badge-fields .dataviews-view-grid__field-value:has(.edit-site-patterns__field-sync-status-fully) {
4550
+ .edit-site-page-patterns-dataviews .dataviews-view-grid__badge-fields .dataviews-view-grid__field-value:has(.fields-field__pattern-sync-status-fully) {
4515
4551
  background: rgba(var(--wp-block-synced-color--rgb), 0.04);
4516
4552
  color: var(--wp-block-synced-color);
4517
4553
  }
@@ -4610,59 +4646,6 @@ button.font-library__upload-area {
4610
4646
  justify-content: center;
4611
4647
  }
4612
4648
 
4613
- .edit-site-editor__view-mode-toggle {
4614
- /* stylelint-disable -- Disable reason: View Transitions not supported properly by stylelint. */
4615
- view-transition-name: toggle;
4616
- /* stylelint-enable */
4617
- top: 0;
4618
- left: 0;
4619
- height: 64px;
4620
- width: 64px;
4621
- z-index: 100;
4622
- }
4623
- .edit-site-editor__view-mode-toggle .components-button {
4624
- color: #fff;
4625
- height: 100%;
4626
- width: 100%;
4627
- border-radius: 0;
4628
- overflow: hidden;
4629
- padding: 0;
4630
- display: flex;
4631
- align-items: center;
4632
- justify-content: center;
4633
- }
4634
- .edit-site-editor__view-mode-toggle .components-button:hover, .edit-site-editor__view-mode-toggle .components-button:active {
4635
- color: #fff;
4636
- }
4637
- .edit-site-editor__view-mode-toggle .components-button:focus {
4638
- box-shadow: none;
4639
- }
4640
- .edit-site-editor__view-mode-toggle .edit-site-editor__view-mode-toggle-icon svg,
4641
- .edit-site-editor__view-mode-toggle .edit-site-editor__view-mode-toggle-icon img {
4642
- background: #1e1e1e;
4643
- display: block;
4644
- }
4645
-
4646
- .edit-site-editor__back-icon {
4647
- position: absolute;
4648
- top: 0;
4649
- left: 0;
4650
- width: 64px;
4651
- height: 64px;
4652
- display: flex;
4653
- align-items: center;
4654
- justify-content: center;
4655
- background-color: hsl(0, 0%, 80%);
4656
- pointer-events: none;
4657
- }
4658
- .edit-site-editor__back-icon svg {
4659
- fill: currentColor;
4660
- }
4661
- .edit-site-editor__back-icon.has-site-icon {
4662
- background-color: hsla(0, 0%, 100%, 0.6);
4663
- backdrop-filter: saturate(180%) blur(15px);
4664
- }
4665
-
4666
4649
  .edit-site-welcome-guide {
4667
4650
  width: 312px;
4668
4651
  }
@@ -4687,7 +4670,7 @@ button.font-library__upload-area {
4687
4670
  object-fit: cover;
4688
4671
  }
4689
4672
  .edit-site-welcome-guide__heading {
4690
- font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
4673
+ font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
4691
4674
  font-size: 24px;
4692
4675
  line-height: 1.4;
4693
4676
  margin: 16px 0 16px 0;
@@ -4723,6 +4706,7 @@ button.font-library__upload-area {
4723
4706
 
4724
4707
  .edit-site-layout__content {
4725
4708
  height: 100%;
4709
+ min-height: 0;
4726
4710
  flex-grow: 1;
4727
4711
  display: flex;
4728
4712
  }
@@ -4739,14 +4723,15 @@ button.font-library__upload-area {
4739
4723
  }
4740
4724
  .edit-site-layout.is-full-canvas .edit-site-layout__sidebar-region {
4741
4725
  position: fixed !important;
4742
- height: 100vh;
4726
+ height: calc(100vh - var(--wp-admin--admin-bar--height, 0px));
4743
4727
  left: 0;
4744
- top: 0;
4728
+ top: var(--wp-admin--admin-bar--height, 0);
4745
4729
  }
4746
4730
  .edit-site-layout__sidebar-region .edit-site-layout__sidebar {
4747
4731
  display: flex;
4748
4732
  flex-direction: column;
4749
4733
  height: 100%;
4734
+ min-height: 0;
4750
4735
  }
4751
4736
  .edit-site-layout__sidebar-region .resizable-editor__drag-handle {
4752
4737
  right: 0;
@@ -4855,7 +4840,6 @@ button.font-library__upload-area {
4855
4840
  height: 100%;
4856
4841
  }
4857
4842
 
4858
- /* stylelint-disable -- Disable reason: View Transitions not supported properly by stylelint. */
4859
4843
  html.canvas-mode-edit-transition::view-transition-group(toggle) {
4860
4844
  animation-delay: 255ms;
4861
4845
  }
@@ -4867,59 +4851,6 @@ html.canvas-mode-edit-transition::view-transition-group(toggle) {
4867
4851
  animation: none !important;
4868
4852
  }
4869
4853
  }
4870
- /* stylelint-enable */
4871
- .edit-site-layout.is-full-canvas .edit-site-layout__sidebar-region .edit-site-layout__view-mode-toggle {
4872
- display: none;
4873
- }
4874
-
4875
- .edit-site-layout__view-mode-toggle.components-button {
4876
- /* stylelint-disable -- Disable reason: View Transitions not supported properly by stylelint. */
4877
- view-transition-name: toggle;
4878
- /* stylelint-enable */
4879
- position: relative;
4880
- color: var(--wpds-color-foreground-interactive-neutral, #1e1e1e);
4881
- height: 64px;
4882
- width: 64px;
4883
- overflow: hidden;
4884
- padding: 0;
4885
- display: flex;
4886
- align-items: center;
4887
- justify-content: center;
4888
- background: var(--wpds-color-background-surface-neutral-weak, #f4f4f4);
4889
- border-radius: 0;
4890
- }
4891
- .edit-site-layout__view-mode-toggle.components-button:hover, .edit-site-layout__view-mode-toggle.components-button:active {
4892
- color: var(--wpds-color-foreground-interactive-neutral-active, #1e1e1e);
4893
- }
4894
- .edit-site-layout__view-mode-toggle.components-button:focus-visible, .edit-site-layout__view-mode-toggle.components-button:focus {
4895
- box-shadow: 0 0 0 3px #1e1e1e, 0 0 0 6px var(--wp-admin-theme-color);
4896
- outline: 4px solid rgba(0, 0, 0, 0);
4897
- outline-offset: 4px;
4898
- }
4899
- .edit-site-layout__view-mode-toggle.components-button::before {
4900
- content: "";
4901
- display: block;
4902
- position: absolute;
4903
- top: 9px;
4904
- right: 9px;
4905
- bottom: 9px;
4906
- left: 17px;
4907
- border-radius: 4px;
4908
- box-shadow: none;
4909
- }
4910
- @media not (prefers-reduced-motion) {
4911
- .edit-site-layout__view-mode-toggle.components-button::before {
4912
- transition: box-shadow 0.1s ease;
4913
- }
4914
- }
4915
- .edit-site-layout__view-mode-toggle.components-button .edit-site-layout__view-mode-toggle-icon {
4916
- display: flex;
4917
- height: 64px;
4918
- width: 64px;
4919
- justify-content: center;
4920
- align-items: center;
4921
- }
4922
-
4923
4854
  .edit-site-layout__actions {
4924
4855
  z-index: 100000;
4925
4856
  position: fixed !important;
@@ -4936,7 +4867,7 @@ html.canvas-mode-edit-transition::view-transition-group(toggle) {
4936
4867
  bottom: 0;
4937
4868
  }
4938
4869
  .edit-site-layout__actions.is-entity-save-view-open:focus, .edit-site-layout__actions.is-entity-save-view-open:focus-within {
4939
- top: 0;
4870
+ top: var(--wp-admin--admin-bar--height, 0);
4940
4871
  }
4941
4872
  @media (min-width: 782px) {
4942
4873
  .edit-site-layout__actions {
@@ -5003,6 +4934,8 @@ html.canvas-mode-edit-transition::view-transition-group(toggle) {
5003
4934
 
5004
4935
  .edit-site-sidebar__content {
5005
4936
  flex-grow: 1;
4937
+ flex-basis: 0;
4938
+ min-height: 0;
5006
4939
  overflow-y: auto;
5007
4940
  overflow-x: hidden;
5008
4941
  contain: content;
@@ -5090,14 +5023,9 @@ html.canvas-mode-edit-transition::view-transition-group(toggle) {
5090
5023
  color: var(--wpds-color-foreground-interactive-neutral, #1e1e1e);
5091
5024
  flex-shrink: 0;
5092
5025
  }
5093
- .edit-site-sidebar-button:focus:not(:disabled) {
5094
- box-shadow: none;
5026
+ .edit-site-sidebar-button:focus:not(:focus-visible) {
5095
5027
  outline: none;
5096
5028
  }
5097
- .edit-site-sidebar-button:focus-visible:not(:disabled) {
5098
- box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
5099
- outline: 3px solid transparent;
5100
- }
5101
5029
  .edit-site-sidebar-button:hover:not(:disabled, [aria-disabled=true]), .edit-site-sidebar-button:focus-visible, .edit-site-sidebar-button:focus, .edit-site-sidebar-button:not(:disabled, [aria-disabled=true]):active, .edit-site-sidebar-button[aria-expanded=true] {
5102
5030
  color: var(--wpds-color-foreground-interactive-neutral-active, #1e1e1e);
5103
5031
  }
@@ -5109,17 +5037,18 @@ html.canvas-mode-edit-transition::view-transition-group(toggle) {
5109
5037
  min-height: 40px;
5110
5038
  }
5111
5039
  .edit-site-sidebar-navigation-item.components-item:hover, .edit-site-sidebar-navigation-item.components-item:focus, .edit-site-sidebar-navigation-item.components-item[aria-current=true] {
5112
- color: var(--wpds-color-foreground-interactive-neutral-active, #1e1e1e);
5040
+ color: var(--wpds-color-foreground-interactive-neutral-weak-active, #1e1e1e);
5113
5041
  }
5114
5042
  .edit-site-sidebar-navigation-item.components-item:hover .edit-site-sidebar-navigation-item__drilldown-indicator, .edit-site-sidebar-navigation-item.components-item:focus .edit-site-sidebar-navigation-item__drilldown-indicator, .edit-site-sidebar-navigation-item.components-item[aria-current=true] .edit-site-sidebar-navigation-item__drilldown-indicator {
5115
- fill: var(--wpds-color-foreground-interactive-neutral-active, #1e1e1e);
5043
+ fill: var(--wpds-color-foreground-interactive-neutral-weak-active, #1e1e1e);
5116
5044
  }
5117
5045
  .edit-site-sidebar-navigation-item.components-item[aria-current=true] {
5118
5046
  background: var(--wpds-color-background-interactive-neutral-weak-active, #ededed);
5119
- color: var(--wpds-color-foreground-interactive-neutral-active, #1e1e1e);
5120
- font-weight: 499;
5047
+ color: var(--wpds-color-foreground-interactive-neutral-weak-active, #1e1e1e);
5048
+ font-weight: var(--wpds-typography-font-weight-emphasis, 600);
5121
5049
  }
5122
5050
  .edit-site-sidebar-navigation-item.components-item:focus-visible {
5051
+ --wp-components-color-accent: var(--wpds-color-stroke-focus, var(--wp-admin-theme-color, #3858e9));
5123
5052
  transform: translateZ(0);
5124
5053
  }
5125
5054
  .edit-site-sidebar-navigation-item.components-item .edit-site-sidebar-navigation-item__drilldown-indicator {
@@ -5163,7 +5092,7 @@ html.canvas-mode-edit-transition::view-transition-group(toggle) {
5163
5092
  position: sticky;
5164
5093
  top: 0;
5165
5094
  background: var(--wpds-color-background-surface-neutral-weak, #f4f4f4);
5166
- padding-top: 48px;
5095
+ padding-top: 32px;
5167
5096
  margin-bottom: 8px;
5168
5097
  padding-bottom: 8px;
5169
5098
  z-index: 1;
@@ -5273,7 +5202,7 @@ html.canvas-mode-edit-transition::view-transition-group(toggle) {
5273
5202
  }
5274
5203
  .edit-site-sidebar-navigation-screen-patterns__group-header h2 {
5275
5204
  font-size: 11px;
5276
- font-weight: 499;
5205
+ font-weight: var(--wpds-typography-font-weight-emphasis, 600);
5277
5206
  text-transform: uppercase;
5278
5207
  }
5279
5208
 
@@ -5304,13 +5233,13 @@ html.canvas-mode-edit-transition::view-transition-group(toggle) {
5304
5233
  color: var(--wpds-color-foreground-interactive-neutral-weak, #707070);
5305
5234
  }
5306
5235
  .edit-site-sidebar-navigation-screen-navigation-menus__content .block-editor-list-view-block-select-button:hover, .edit-site-sidebar-navigation-screen-navigation-menus__content .block-editor-list-view-block-select-button:focus, .edit-site-sidebar-navigation-screen-navigation-menus__content .block-editor-list-view-block-select-button[aria-current] {
5307
- color: var(--wpds-color-foreground-interactive-neutral-active, #1e1e1e);
5236
+ color: var(--wpds-color-foreground-interactive-neutral-weak-active, #1e1e1e);
5308
5237
  }
5309
5238
  .edit-site-sidebar-navigation-screen-navigation-menus__content .block-editor-list-view-block__menu {
5310
5239
  color: var(--wpds-color-foreground-interactive-neutral-weak, #707070);
5311
5240
  }
5312
5241
  .edit-site-sidebar-navigation-screen-navigation-menus__content .block-editor-list-view-block__menu:hover, .edit-site-sidebar-navigation-screen-navigation-menus__content .block-editor-list-view-block__menu:focus {
5313
- color: var(--wpds-color-foreground-interactive-neutral-active, #1e1e1e);
5242
+ color: var(--wpds-color-foreground-interactive-neutral-weak-active, #1e1e1e);
5314
5243
  }
5315
5244
  .edit-site-sidebar-navigation-screen-navigation-menus__content .block-editor-inserter__toggle {
5316
5245
  background: var(--wpds-color-background-interactive-brand-strong, var(--wp-admin-theme-color, #3858e9));
@@ -5349,108 +5278,12 @@ html.canvas-mode-edit-transition::view-transition-group(toggle) {
5349
5278
  .edit-site-site-hub {
5350
5279
  display: flex;
5351
5280
  align-items: center;
5352
- justify-content: space-between;
5353
- gap: 8px;
5354
- margin-right: 12px;
5355
- height: 64px;
5356
- }
5357
-
5358
- .edit-site-site-hub__actions {
5359
- flex-shrink: 0;
5360
- }
5361
-
5362
- .edit-site-site-hub__view-mode-toggle-container {
5281
+ padding-left: 16px;
5363
5282
  height: 64px;
5364
- width: 64px;
5365
- flex-shrink: 0;
5366
- }
5367
- .edit-site-site-hub__view-mode-toggle-container.has-transparent-background .edit-site-layout__view-mode-toggle-icon {
5368
- background: transparent;
5369
- }
5370
-
5371
- .edit-site-site-hub__title .components-button {
5372
- color: var(--wpds-color-foreground-interactive-neutral, #1e1e1e);
5373
- display: block;
5374
- flex-grow: 1;
5375
- font-size: 15px;
5376
- font-weight: 499;
5377
- overflow: hidden;
5378
- padding-right: 16px;
5379
- margin-left: -4px;
5380
- position: relative;
5381
- text-decoration: none;
5382
- text-overflow: ellipsis;
5383
- white-space: nowrap;
5384
- }
5385
- .edit-site-site-hub__title .components-button:hover, .edit-site-site-hub__title .components-button:focus, .edit-site-site-hub__title .components-button:active {
5386
- color: var(--wpds-color-foreground-interactive-neutral, #1e1e1e);
5387
- }
5388
- .edit-site-site-hub__title .components-button:focus {
5389
- box-shadow: none;
5390
- outline: none;
5391
- }
5392
- .edit-site-site-hub__title .components-button:focus-visible {
5393
- box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wpds-color-background-surface-neutral-weak, #f4f4f4), 0 0 0 calc(2 * var(--wp-admin-border-width-focus)) var(--wp-admin-theme-color);
5394
- outline: 2px solid transparent;
5395
- outline-offset: 2px;
5396
- }
5397
- .edit-site-site-hub__title .components-button::after {
5398
- content: "↗";
5399
- font-weight: 400;
5400
- opacity: 0;
5401
- position: absolute;
5402
- right: 0;
5403
- }
5404
- @media not (prefers-reduced-motion) {
5405
- .edit-site-site-hub__title .components-button::after {
5406
- transition: opacity 0.1s linear;
5407
- }
5408
- }
5409
- .edit-site-site-hub__title .components-button:hover::after, .edit-site-site-hub__title .components-button:focus::after, .edit-site-site-hub__title .components-button:active::after {
5410
- opacity: 1;
5411
- }
5412
-
5413
- .edit-site-site-hub_toggle-command-center {
5414
- color: var(--wpds-color-foreground-interactive-neutral, #1e1e1e);
5415
- }
5416
- .edit-site-site-hub_toggle-command-center:hover svg, .edit-site-site-hub_toggle-command-center:active svg {
5417
- fill: var(--wpds-color-foreground-interactive-neutral-active, #1e1e1e);
5418
- }
5419
-
5420
- .edit-site-site-icon__icon {
5421
- fill: currentColor;
5422
- width: 100%;
5423
- height: 100%;
5424
- }
5425
- .edit-site-layout.is-full-canvas .edit-site-site-icon__icon {
5426
- padding: 12px;
5427
- }
5428
-
5429
- .edit-site-site-icon__image {
5430
- width: 100%;
5431
- height: 100%;
5432
- -o-object-fit: cover;
5433
- object-fit: cover;
5434
- background: #333;
5435
- aspect-ratio: 1/1;
5436
- }
5437
- .edit-site-layout.is-full-canvas .edit-site-site-icon__image {
5438
- border-radius: 0;
5439
5283
  }
5440
5284
 
5441
- .edit-site-editor__view-mode-toggle button:focus {
5442
- position: relative;
5443
- }
5444
- .edit-site-editor__view-mode-toggle button:focus::before {
5445
- content: "";
5446
- display: block;
5447
- position: absolute;
5448
- z-index: 1;
5449
- top: 0;
5450
- right: 0;
5451
- bottom: 0;
5452
- left: 0;
5453
- box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color), inset 0 0 0 calc(1px + var(--wp-admin-border-width-focus)) #fff;
5285
+ .edit-site-site-hub__back-button:hover:not(:disabled, [aria-disabled=true]), .edit-site-site-hub__back-button:active:not(:disabled, [aria-disabled=true]) {
5286
+ color: var(--wpds-color-foreground-interactive-neutral-active, #1e1e1e);
5454
5287
  }
5455
5288
 
5456
5289
  .fields-controls__password {
@@ -5620,12 +5453,14 @@ body:has(.edit-site-resizable-frame__inner.is-resizing) {
5620
5453
  padding-right: 0;
5621
5454
  }
5622
5455
  .edit-site-styles .global-styles-ui-sidebar__navigator-provider .global-styles-ui-sidebar__navigator-screen {
5623
- padding-top: 12px;
5624
- padding-left: 12px;
5625
- padding-right: 12px;
5626
- padding-bottom: 12px;
5456
+ padding: 12px;
5627
5457
  outline: none;
5628
5458
  }
5459
+ .edit-site-styles .global-styles-ui-sidebar__navigator-provider .global-styles-ui-sidebar__navigator-screen .global-styles-ui-color-palette__tablist-container {
5460
+ margin-inline: -12px;
5461
+ width: calc(100% + 24px);
5462
+ padding-inline: 12px;
5463
+ }
5629
5464
  .edit-site-styles .edit-site-sidebar-button {
5630
5465
  color: var(--wpds-color-foreground-interactive-neutral, #1e1e1e);
5631
5466
  }
@@ -5642,66 +5477,6 @@ body:has(.edit-site-resizable-frame__inner.is-resizing) {
5642
5477
  font-size: var(--wpds-typography-font-size-sm, 12px);
5643
5478
  }
5644
5479
 
5645
- body.has-admin-bar-in-editor {
5646
- margin-top: 0;
5647
- height: 100%;
5648
- }
5649
- body.has-admin-bar-in-editor:has(.editor-editor-interface.is-distraction-free) {
5650
- --wp-admin--admin-bar--height: 0;
5651
- }
5652
- body.has-admin-bar-in-editor .edit-site-site-hub__title,
5653
- body.has-admin-bar-in-editor .edit-site-site-hub__actions {
5654
- display: none;
5655
- }
5656
- body.has-admin-bar-in-editor .edit-site-editor__view-mode-toggle .edit-site-editor__back-icon {
5657
- background: transparent;
5658
- }
5659
- body.has-admin-bar-in-editor .edit-site-editor__view-mode-toggle:hover .edit-site-editor__back-icon {
5660
- color: var(--wp-admin-theme-color);
5661
- }
5662
- body.has-admin-bar-in-editor .edit-site-sidebar-navigation-screen__title-icon {
5663
- padding-top: 32px;
5664
- }
5665
- body.has-admin-bar-in-editor .edit-site-layout__content,
5666
- body.has-admin-bar-in-editor .edit-site-layout__sidebar {
5667
- min-height: 0;
5668
- }
5669
- body.has-admin-bar-in-editor .edit-site-sidebar__content {
5670
- flex-basis: 0;
5671
- min-height: 0;
5672
- }
5673
- body.has-admin-bar-in-editor .edit-site {
5674
- box-sizing: border-box;
5675
- padding-top: var(--wp-admin--admin-bar--height, 0);
5676
- height: 100vh;
5677
- min-height: 100vh;
5678
- }
5679
- @media (min-width: 600px) {
5680
- body.has-admin-bar-in-editor .edit-site {
5681
- padding-top: 0;
5682
- top: var(--wp-admin--admin-bar--height, 0);
5683
- height: calc(100vh - var(--wp-admin--admin-bar--height, 0));
5684
- min-height: calc(100vh - var(--wp-admin--admin-bar--height, 0));
5685
- }
5686
- }
5687
- body.has-admin-bar-in-editor .edit-site-layout.is-full-canvas .edit-site-layout__sidebar-region {
5688
- top: var(--wp-admin--admin-bar--height, 0);
5689
- height: calc(100vh - var(--wp-admin--admin-bar--height, 0));
5690
- }
5691
- body.has-admin-bar-in-editor.is-fullscreen-mode .is-entity-save-view-open .interface-interface-skeleton__actions:focus,
5692
- body.has-admin-bar-in-editor.is-fullscreen-mode .is-entity-save-view-open .interface-interface-skeleton__actions:focus-within,
5693
- body.has-admin-bar-in-editor.is-fullscreen-mode .edit-site-layout__actions.is-entity-save-view-open:focus,
5694
- body.has-admin-bar-in-editor.is-fullscreen-mode .edit-site-layout__actions.is-entity-save-view-open:focus-within {
5695
- top: var(--wp-admin--admin-bar--height, 0);
5696
- }
5697
- body.has-admin-bar-in-editor.is-fullscreen-mode #wpadminbar {
5698
- display: block;
5699
- }
5700
- body.has-admin-bar-in-editor.is-fullscreen-mode:has(.editor-editor-interface.is-distraction-free) #wpadminbar {
5701
- display: none;
5702
- }
5703
-
5704
- /* stylelint-disable -- Disable reason: View Transitions not supported properly by stylelint. */
5705
5480
  ::view-transition-image-pair(root) {
5706
5481
  isolation: auto;
5707
5482
  }
@@ -5713,11 +5488,6 @@ body.has-admin-bar-in-editor.is-fullscreen-mode:has(.editor-editor-interface.is-
5713
5488
  display: block;
5714
5489
  }
5715
5490
 
5716
- /* stylelint-enable */
5717
- body.js #wpadminbar {
5718
- display: none;
5719
- }
5720
-
5721
5491
  body.js #wpbody {
5722
5492
  padding-top: 0;
5723
5493
  }
@@ -5767,6 +5537,14 @@ body.js.site-editor-php .media-frame select.attachment-filters:last-of-type {
5767
5537
  body.js.site-editor-php {
5768
5538
  background: var(--wpds-color-background-surface-neutral-weak, #f4f4f4);
5769
5539
  }
5540
+ @media (min-width: 782px) {
5541
+ body.js.site-editor-php:has(.editor-editor-interface.is-distraction-free) {
5542
+ --wp-admin--admin-bar--height: 0px;
5543
+ }
5544
+ body.js.site-editor-php:has(.editor-editor-interface.is-distraction-free) #wpadminbar {
5545
+ display: none;
5546
+ }
5547
+ }
5770
5548
 
5771
5549
  .edit-site {
5772
5550
  box-sizing: border-box;
@@ -5777,16 +5555,18 @@ body.js.site-editor-php {
5777
5555
  box-sizing: inherit;
5778
5556
  }
5779
5557
  .edit-site {
5558
+ padding-top: var(--wp-admin--admin-bar--height, 0);
5780
5559
  height: 100vh;
5781
5560
  }
5782
5561
  @media (min-width: 600px) {
5783
5562
  .edit-site {
5784
5563
  bottom: 0;
5785
5564
  left: 0;
5786
- min-height: 100vh;
5565
+ height: calc(100vh - var(--wp-admin--admin-bar--height, 0px));
5566
+ padding-top: 0;
5787
5567
  position: fixed;
5788
5568
  right: 0;
5789
- top: 0;
5569
+ top: var(--wp-admin--admin-bar--height, 0);
5790
5570
  }
5791
5571
  }
5792
5572
  .no-js .edit-site {