@wordpress/edit-site 6.49.1 → 6.50.1-next.v.202607070741.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/editor/index.cjs +33 -101
- package/build/components/editor/index.cjs.map +3 -3
- package/build/components/layout/index.cjs +12 -14
- package/build/components/layout/index.cjs.map +3 -3
- package/build/components/page-patterns/fields.cjs +0 -36
- package/build/components/page-patterns/fields.cjs.map +2 -2
- package/build/components/page-patterns/index.cjs +4 -15
- package/build/components/page-patterns/index.cjs.map +2 -2
- package/build/components/save-panel/index.cjs +1 -2
- package/build/components/save-panel/index.cjs.map +2 -2
- package/build/components/site-hub/index.cjs +24 -155
- package/build/components/site-hub/index.cjs.map +3 -3
- package/build/index.cjs +3 -1
- package/build/index.cjs.map +2 -2
- package/build-module/components/editor/index.mjs +36 -104
- package/build-module/components/editor/index.mjs.map +2 -2
- package/build-module/components/layout/index.mjs +12 -14
- package/build-module/components/layout/index.mjs.map +2 -2
- package/build-module/components/page-patterns/fields.mjs +2 -41
- package/build-module/components/page-patterns/fields.mjs.map +2 -2
- package/build-module/components/page-patterns/index.mjs +5 -16
- package/build-module/components/page-patterns/index.mjs.map +2 -2
- package/build-module/components/save-panel/index.mjs +1 -2
- package/build-module/components/save-panel/index.mjs.map +2 -2
- package/build-module/components/site-hub/index.mjs +27 -158
- package/build-module/components/site-hub/index.mjs.map +2 -2
- package/build-module/index.mjs +3 -1
- package/build-module/index.mjs.map +2 -2
- package/build-style/style-rtl.css +71 -189
- package/build-style/style.css +71 -189
- package/package.json +48 -48
- package/src/components/editor/index.js +18 -101
- package/src/components/editor/style.scss +8 -19
- package/src/components/layout/index.js +12 -15
- package/src/components/layout/style.scss +5 -7
- package/src/components/page-patterns/fields.js +2 -50
- package/src/components/page-patterns/index.js +5 -23
- package/src/components/page-patterns/style.scss +1 -1
- package/src/components/save-panel/index.js +1 -2
- package/src/components/sidebar/style.scss +2 -0
- package/src/components/sidebar-global-styles/style.scss +7 -4
- package/src/components/sidebar-navigation-screen/style.scss +1 -1
- package/src/components/site-hub/index.js +7 -141
- package/src/components/site-hub/style.scss +0 -72
- package/src/index.js +3 -1
- package/src/style.scss +14 -11
- package/build/components/site-icon/index.cjs +0 -73
- package/build/components/site-icon/index.cjs.map +0 -7
- package/build-module/components/site-icon/index.mjs +0 -42
- package/build-module/components/site-icon/index.mjs.map +0 -7
- package/build-style/experimental-omnibar-rtl.css +0 -103
- package/build-style/experimental-omnibar.css +0 -103
- package/src/components/site-icon/index.js +0 -51
- package/src/components/site-icon/style.scss +0 -41
- 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 {
|
|
@@ -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);
|
|
@@ -2981,6 +2994,12 @@ div.dataviews-view-list {
|
|
|
2981
2994
|
/**
|
|
2982
2995
|
* Focus styles.
|
|
2983
2996
|
*/
|
|
2997
|
+
/**
|
|
2998
|
+
* Standard focus rings for the WordPress Design System.
|
|
2999
|
+
*
|
|
3000
|
+
* Apply `outset-ring__focus` inside the relevant pseudo-class at the call site,
|
|
3001
|
+
* e.g. `&:focus { @include outset-ring__focus(); }`.
|
|
3002
|
+
*/
|
|
2984
3003
|
/**
|
|
2985
3004
|
* Applies editor left position to the selector passed as argument
|
|
2986
3005
|
*/
|
|
@@ -3120,7 +3139,6 @@ fieldset.fields__media-edit .fields__media-edit-description {
|
|
|
3120
3139
|
}
|
|
3121
3140
|
|
|
3122
3141
|
fieldset.fields__media-edit {
|
|
3123
|
-
/* stylelint-disable-next-line property-no-unknown -- '@container' not globally permitted */
|
|
3124
3142
|
container-type: inline-size;
|
|
3125
3143
|
}
|
|
3126
3144
|
|
|
@@ -3360,7 +3378,6 @@ fieldset.fields__media-edit .fields__media-edit-expanded.is-empty .fields__media
|
|
|
3360
3378
|
|
|
3361
3379
|
fieldset.fields__media-edit .fields__media-edit-expanded.is-multiple:not(.is-empty) {
|
|
3362
3380
|
grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
|
|
3363
|
-
/* stylelint-disable-next-line property-no-unknown -- '@container' not globally permitted */
|
|
3364
3381
|
}
|
|
3365
3382
|
|
|
3366
3383
|
@container (max-width: 500px) {
|
|
@@ -3568,6 +3585,12 @@ fieldset.fields__media-edit .fields__media-edit-expanded:not(.is-empty) .fields_
|
|
|
3568
3585
|
/**
|
|
3569
3586
|
* Focus styles.
|
|
3570
3587
|
*/
|
|
3588
|
+
/**
|
|
3589
|
+
* Standard focus rings for the WordPress Design System.
|
|
3590
|
+
*
|
|
3591
|
+
* Apply `outset-ring__focus` inside the relevant pseudo-class at the call site,
|
|
3592
|
+
* e.g. `&:focus { @include outset-ring__focus(); }`.
|
|
3593
|
+
*/
|
|
3571
3594
|
/**
|
|
3572
3595
|
* Applies editor left position to the selector passed as argument
|
|
3573
3596
|
*/
|
|
@@ -4240,6 +4263,14 @@ button.font-library__upload-area {
|
|
|
4240
4263
|
height: 100%;
|
|
4241
4264
|
}
|
|
4242
4265
|
|
|
4266
|
+
.global-styles-ui-color-palette__tablist-container {
|
|
4267
|
+
border-bottom: 1px solid #ddd;
|
|
4268
|
+
}
|
|
4269
|
+
|
|
4270
|
+
.global-styles-ui-color-palette__tablist {
|
|
4271
|
+
margin-bottom: -1px;
|
|
4272
|
+
}
|
|
4273
|
+
|
|
4243
4274
|
.global-styles-ui-sidebar__navigator-screen .single-column {
|
|
4244
4275
|
grid-column: span 1;
|
|
4245
4276
|
}
|
|
@@ -4509,7 +4540,7 @@ button.font-library__upload-area {
|
|
|
4509
4540
|
top: 0;
|
|
4510
4541
|
}
|
|
4511
4542
|
|
|
4512
|
-
.edit-site-page-patterns-dataviews .dataviews-view-grid__badge-fields .dataviews-view-grid__field-value:has(.
|
|
4543
|
+
.edit-site-page-patterns-dataviews .dataviews-view-grid__badge-fields .dataviews-view-grid__field-value:has(.fields-field__pattern-sync-status-fully) {
|
|
4513
4544
|
background: rgba(var(--wp-block-synced-color--rgb), 0.04);
|
|
4514
4545
|
color: var(--wp-block-synced-color);
|
|
4515
4546
|
}
|
|
@@ -4609,13 +4640,12 @@ button.font-library__upload-area {
|
|
|
4609
4640
|
}
|
|
4610
4641
|
|
|
4611
4642
|
.edit-site-editor__view-mode-toggle {
|
|
4612
|
-
/* stylelint-disable -- Disable reason: View Transitions not supported properly by stylelint. */
|
|
4613
4643
|
view-transition-name: toggle;
|
|
4614
|
-
|
|
4644
|
+
position: relative;
|
|
4615
4645
|
top: 0;
|
|
4616
4646
|
right: 0;
|
|
4617
|
-
height:
|
|
4618
|
-
width:
|
|
4647
|
+
height: 32px;
|
|
4648
|
+
width: 32px;
|
|
4619
4649
|
z-index: 100;
|
|
4620
4650
|
}
|
|
4621
4651
|
.edit-site-editor__view-mode-toggle .components-button {
|
|
@@ -4635,31 +4665,25 @@ button.font-library__upload-area {
|
|
|
4635
4665
|
.edit-site-editor__view-mode-toggle .components-button:focus {
|
|
4636
4666
|
box-shadow: none;
|
|
4637
4667
|
}
|
|
4638
|
-
.edit-site-editor__view-mode-toggle .edit-site-
|
|
4639
|
-
|
|
4640
|
-
background: #1e1e1e;
|
|
4641
|
-
display: block;
|
|
4668
|
+
.edit-site-editor__view-mode-toggle:hover .edit-site-editor__back-icon {
|
|
4669
|
+
color: var(--wp-admin-theme-color);
|
|
4642
4670
|
}
|
|
4643
4671
|
|
|
4644
4672
|
.edit-site-editor__back-icon {
|
|
4645
4673
|
position: absolute;
|
|
4646
4674
|
top: 0;
|
|
4647
4675
|
right: 0;
|
|
4648
|
-
width:
|
|
4649
|
-
height:
|
|
4676
|
+
width: 32px;
|
|
4677
|
+
height: 32px;
|
|
4650
4678
|
display: flex;
|
|
4651
4679
|
align-items: center;
|
|
4652
4680
|
justify-content: center;
|
|
4653
|
-
background-color:
|
|
4681
|
+
background-color: transparent;
|
|
4654
4682
|
pointer-events: none;
|
|
4655
4683
|
}
|
|
4656
4684
|
.edit-site-editor__back-icon svg {
|
|
4657
4685
|
fill: currentColor;
|
|
4658
4686
|
}
|
|
4659
|
-
.edit-site-editor__back-icon.has-site-icon {
|
|
4660
|
-
background-color: hsla(0, 0%, 100%, 0.6);
|
|
4661
|
-
backdrop-filter: saturate(180%) blur(15px);
|
|
4662
|
-
}
|
|
4663
4687
|
|
|
4664
4688
|
.edit-site-welcome-guide {
|
|
4665
4689
|
width: 312px;
|
|
@@ -4721,6 +4745,7 @@ button.font-library__upload-area {
|
|
|
4721
4745
|
|
|
4722
4746
|
.edit-site-layout__content {
|
|
4723
4747
|
height: 100%;
|
|
4748
|
+
min-height: 0;
|
|
4724
4749
|
flex-grow: 1;
|
|
4725
4750
|
display: flex;
|
|
4726
4751
|
}
|
|
@@ -4737,14 +4762,15 @@ button.font-library__upload-area {
|
|
|
4737
4762
|
}
|
|
4738
4763
|
.edit-site-layout.is-full-canvas .edit-site-layout__sidebar-region {
|
|
4739
4764
|
position: fixed !important;
|
|
4740
|
-
height: 100vh;
|
|
4765
|
+
height: calc(100vh - var(--wp-admin--admin-bar--height, 0px));
|
|
4741
4766
|
right: 0;
|
|
4742
|
-
top: 0;
|
|
4767
|
+
top: var(--wp-admin--admin-bar--height, 0);
|
|
4743
4768
|
}
|
|
4744
4769
|
.edit-site-layout__sidebar-region .edit-site-layout__sidebar {
|
|
4745
4770
|
display: flex;
|
|
4746
4771
|
flex-direction: column;
|
|
4747
4772
|
height: 100%;
|
|
4773
|
+
min-height: 0;
|
|
4748
4774
|
}
|
|
4749
4775
|
.edit-site-layout__sidebar-region .resizable-editor__drag-handle {
|
|
4750
4776
|
left: 0;
|
|
@@ -4853,7 +4879,6 @@ button.font-library__upload-area {
|
|
|
4853
4879
|
height: 100%;
|
|
4854
4880
|
}
|
|
4855
4881
|
|
|
4856
|
-
/* stylelint-disable -- Disable reason: View Transitions not supported properly by stylelint. */
|
|
4857
4882
|
html.canvas-mode-edit-transition::view-transition-group(toggle) {
|
|
4858
4883
|
animation-delay: 255ms;
|
|
4859
4884
|
}
|
|
@@ -4865,15 +4890,12 @@ html.canvas-mode-edit-transition::view-transition-group(toggle) {
|
|
|
4865
4890
|
animation: none !important;
|
|
4866
4891
|
}
|
|
4867
4892
|
}
|
|
4868
|
-
/* stylelint-enable */
|
|
4869
4893
|
.edit-site-layout.is-full-canvas .edit-site-layout__sidebar-region .edit-site-layout__view-mode-toggle {
|
|
4870
4894
|
display: none;
|
|
4871
4895
|
}
|
|
4872
4896
|
|
|
4873
4897
|
.edit-site-layout__view-mode-toggle.components-button {
|
|
4874
|
-
/* stylelint-disable -- Disable reason: View Transitions not supported properly by stylelint. */
|
|
4875
4898
|
view-transition-name: toggle;
|
|
4876
|
-
/* stylelint-enable */
|
|
4877
4899
|
position: relative;
|
|
4878
4900
|
color: var(--wpds-color-foreground-interactive-neutral, #1e1e1e);
|
|
4879
4901
|
height: 64px;
|
|
@@ -4934,7 +4956,7 @@ html.canvas-mode-edit-transition::view-transition-group(toggle) {
|
|
|
4934
4956
|
bottom: 0;
|
|
4935
4957
|
}
|
|
4936
4958
|
.edit-site-layout__actions.is-entity-save-view-open:focus, .edit-site-layout__actions.is-entity-save-view-open:focus-within {
|
|
4937
|
-
top: 0;
|
|
4959
|
+
top: var(--wp-admin--admin-bar--height, 0);
|
|
4938
4960
|
}
|
|
4939
4961
|
@media (min-width: 782px) {
|
|
4940
4962
|
.edit-site-layout__actions {
|
|
@@ -5001,6 +5023,8 @@ html.canvas-mode-edit-transition::view-transition-group(toggle) {
|
|
|
5001
5023
|
|
|
5002
5024
|
.edit-site-sidebar__content {
|
|
5003
5025
|
flex-grow: 1;
|
|
5026
|
+
flex-basis: 0;
|
|
5027
|
+
min-height: 0;
|
|
5004
5028
|
overflow-y: auto;
|
|
5005
5029
|
overflow-x: hidden;
|
|
5006
5030
|
contain: content;
|
|
@@ -5161,7 +5185,7 @@ html.canvas-mode-edit-transition::view-transition-group(toggle) {
|
|
|
5161
5185
|
position: sticky;
|
|
5162
5186
|
top: 0;
|
|
5163
5187
|
background: var(--wpds-color-background-surface-neutral-weak, #f4f4f4);
|
|
5164
|
-
padding-top:
|
|
5188
|
+
padding-top: 32px;
|
|
5165
5189
|
margin-bottom: 8px;
|
|
5166
5190
|
padding-bottom: 8px;
|
|
5167
5191
|
z-index: 1;
|
|
@@ -5353,10 +5377,6 @@ html.canvas-mode-edit-transition::view-transition-group(toggle) {
|
|
|
5353
5377
|
height: 64px;
|
|
5354
5378
|
}
|
|
5355
5379
|
|
|
5356
|
-
.edit-site-site-hub__actions {
|
|
5357
|
-
flex-shrink: 0;
|
|
5358
|
-
}
|
|
5359
|
-
|
|
5360
5380
|
.edit-site-site-hub__view-mode-toggle-container {
|
|
5361
5381
|
height: 64px;
|
|
5362
5382
|
width: 64px;
|
|
@@ -5366,91 +5386,6 @@ html.canvas-mode-edit-transition::view-transition-group(toggle) {
|
|
|
5366
5386
|
background: transparent;
|
|
5367
5387
|
}
|
|
5368
5388
|
|
|
5369
|
-
.edit-site-site-hub__title .components-button {
|
|
5370
|
-
color: var(--wpds-color-foreground-interactive-neutral, #1e1e1e);
|
|
5371
|
-
display: block;
|
|
5372
|
-
flex-grow: 1;
|
|
5373
|
-
font-size: 15px;
|
|
5374
|
-
font-weight: 499;
|
|
5375
|
-
overflow: hidden;
|
|
5376
|
-
padding-left: 16px;
|
|
5377
|
-
margin-right: -4px;
|
|
5378
|
-
position: relative;
|
|
5379
|
-
text-decoration: none;
|
|
5380
|
-
text-overflow: ellipsis;
|
|
5381
|
-
white-space: nowrap;
|
|
5382
|
-
}
|
|
5383
|
-
.edit-site-site-hub__title .components-button:hover, .edit-site-site-hub__title .components-button:focus, .edit-site-site-hub__title .components-button:active {
|
|
5384
|
-
color: var(--wpds-color-foreground-interactive-neutral, #1e1e1e);
|
|
5385
|
-
}
|
|
5386
|
-
.edit-site-site-hub__title .components-button:focus {
|
|
5387
|
-
box-shadow: none;
|
|
5388
|
-
outline: none;
|
|
5389
|
-
}
|
|
5390
|
-
.edit-site-site-hub__title .components-button:focus-visible {
|
|
5391
|
-
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);
|
|
5392
|
-
outline: 2px solid transparent;
|
|
5393
|
-
outline-offset: 2px;
|
|
5394
|
-
}
|
|
5395
|
-
.edit-site-site-hub__title .components-button::after {
|
|
5396
|
-
content: "↗";
|
|
5397
|
-
font-weight: 400;
|
|
5398
|
-
opacity: 0;
|
|
5399
|
-
position: absolute;
|
|
5400
|
-
left: 0;
|
|
5401
|
-
}
|
|
5402
|
-
@media not (prefers-reduced-motion) {
|
|
5403
|
-
.edit-site-site-hub__title .components-button::after {
|
|
5404
|
-
transition: opacity 0.1s linear;
|
|
5405
|
-
}
|
|
5406
|
-
}
|
|
5407
|
-
.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 {
|
|
5408
|
-
opacity: 1;
|
|
5409
|
-
}
|
|
5410
|
-
|
|
5411
|
-
.edit-site-site-hub_toggle-command-center {
|
|
5412
|
-
color: var(--wpds-color-foreground-interactive-neutral, #1e1e1e);
|
|
5413
|
-
}
|
|
5414
|
-
.edit-site-site-hub_toggle-command-center:hover svg, .edit-site-site-hub_toggle-command-center:active svg {
|
|
5415
|
-
fill: var(--wpds-color-foreground-interactive-neutral-active, #1e1e1e);
|
|
5416
|
-
}
|
|
5417
|
-
|
|
5418
|
-
.edit-site-site-icon__icon {
|
|
5419
|
-
fill: currentColor;
|
|
5420
|
-
width: 100%;
|
|
5421
|
-
height: 100%;
|
|
5422
|
-
}
|
|
5423
|
-
.edit-site-layout.is-full-canvas .edit-site-site-icon__icon {
|
|
5424
|
-
padding: 12px;
|
|
5425
|
-
}
|
|
5426
|
-
|
|
5427
|
-
.edit-site-site-icon__image {
|
|
5428
|
-
width: 100%;
|
|
5429
|
-
height: 100%;
|
|
5430
|
-
-o-object-fit: cover;
|
|
5431
|
-
object-fit: cover;
|
|
5432
|
-
background: #333;
|
|
5433
|
-
aspect-ratio: 1/1;
|
|
5434
|
-
}
|
|
5435
|
-
.edit-site-layout.is-full-canvas .edit-site-site-icon__image {
|
|
5436
|
-
border-radius: 0;
|
|
5437
|
-
}
|
|
5438
|
-
|
|
5439
|
-
.edit-site-editor__view-mode-toggle button:focus {
|
|
5440
|
-
position: relative;
|
|
5441
|
-
}
|
|
5442
|
-
.edit-site-editor__view-mode-toggle button:focus::before {
|
|
5443
|
-
content: "";
|
|
5444
|
-
display: block;
|
|
5445
|
-
position: absolute;
|
|
5446
|
-
z-index: 1;
|
|
5447
|
-
top: 0;
|
|
5448
|
-
left: 0;
|
|
5449
|
-
bottom: 0;
|
|
5450
|
-
right: 0;
|
|
5451
|
-
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;
|
|
5452
|
-
}
|
|
5453
|
-
|
|
5454
5389
|
.fields-controls__password {
|
|
5455
5390
|
border-top: 1px solid #e0e0e0;
|
|
5456
5391
|
padding-top: 16px;
|
|
@@ -5618,12 +5553,14 @@ body:has(.edit-site-resizable-frame__inner.is-resizing) {
|
|
|
5618
5553
|
padding-left: 0;
|
|
5619
5554
|
}
|
|
5620
5555
|
.edit-site-styles .global-styles-ui-sidebar__navigator-provider .global-styles-ui-sidebar__navigator-screen {
|
|
5621
|
-
padding
|
|
5622
|
-
padding-right: 12px;
|
|
5623
|
-
padding-left: 12px;
|
|
5624
|
-
padding-bottom: 12px;
|
|
5556
|
+
padding: 12px;
|
|
5625
5557
|
outline: none;
|
|
5626
5558
|
}
|
|
5559
|
+
.edit-site-styles .global-styles-ui-sidebar__navigator-provider .global-styles-ui-sidebar__navigator-screen .global-styles-ui-color-palette__tablist-container {
|
|
5560
|
+
margin-inline: -12px;
|
|
5561
|
+
width: calc(100% + 24px);
|
|
5562
|
+
padding-inline: 12px;
|
|
5563
|
+
}
|
|
5627
5564
|
.edit-site-styles .edit-site-sidebar-button {
|
|
5628
5565
|
color: var(--wpds-color-foreground-interactive-neutral, #1e1e1e);
|
|
5629
5566
|
}
|
|
@@ -5640,66 +5577,6 @@ body:has(.edit-site-resizable-frame__inner.is-resizing) {
|
|
|
5640
5577
|
font-size: var(--wpds-typography-font-size-sm, 12px);
|
|
5641
5578
|
}
|
|
5642
5579
|
|
|
5643
|
-
body.has-admin-bar-in-editor {
|
|
5644
|
-
margin-top: 0;
|
|
5645
|
-
height: 100%;
|
|
5646
|
-
}
|
|
5647
|
-
body.has-admin-bar-in-editor:has(.editor-editor-interface.is-distraction-free) {
|
|
5648
|
-
--wp-admin--admin-bar--height: 0;
|
|
5649
|
-
}
|
|
5650
|
-
body.has-admin-bar-in-editor .edit-site-site-hub__title,
|
|
5651
|
-
body.has-admin-bar-in-editor .edit-site-site-hub__actions {
|
|
5652
|
-
display: none;
|
|
5653
|
-
}
|
|
5654
|
-
body.has-admin-bar-in-editor .edit-site-editor__view-mode-toggle .edit-site-editor__back-icon {
|
|
5655
|
-
background: transparent;
|
|
5656
|
-
}
|
|
5657
|
-
body.has-admin-bar-in-editor .edit-site-editor__view-mode-toggle:hover .edit-site-editor__back-icon {
|
|
5658
|
-
color: var(--wp-admin-theme-color);
|
|
5659
|
-
}
|
|
5660
|
-
body.has-admin-bar-in-editor .edit-site-sidebar-navigation-screen__title-icon {
|
|
5661
|
-
padding-top: 32px;
|
|
5662
|
-
}
|
|
5663
|
-
body.has-admin-bar-in-editor .edit-site-layout__content,
|
|
5664
|
-
body.has-admin-bar-in-editor .edit-site-layout__sidebar {
|
|
5665
|
-
min-height: 0;
|
|
5666
|
-
}
|
|
5667
|
-
body.has-admin-bar-in-editor .edit-site-sidebar__content {
|
|
5668
|
-
flex-basis: 0;
|
|
5669
|
-
min-height: 0;
|
|
5670
|
-
}
|
|
5671
|
-
body.has-admin-bar-in-editor .edit-site {
|
|
5672
|
-
box-sizing: border-box;
|
|
5673
|
-
padding-top: var(--wp-admin--admin-bar--height, 0);
|
|
5674
|
-
height: 100vh;
|
|
5675
|
-
min-height: 100vh;
|
|
5676
|
-
}
|
|
5677
|
-
@media (min-width: 600px) {
|
|
5678
|
-
body.has-admin-bar-in-editor .edit-site {
|
|
5679
|
-
padding-top: 0;
|
|
5680
|
-
top: var(--wp-admin--admin-bar--height, 0);
|
|
5681
|
-
height: calc(100vh - var(--wp-admin--admin-bar--height, 0));
|
|
5682
|
-
min-height: calc(100vh - var(--wp-admin--admin-bar--height, 0));
|
|
5683
|
-
}
|
|
5684
|
-
}
|
|
5685
|
-
body.has-admin-bar-in-editor .edit-site-layout.is-full-canvas .edit-site-layout__sidebar-region {
|
|
5686
|
-
top: var(--wp-admin--admin-bar--height, 0);
|
|
5687
|
-
height: calc(100vh - var(--wp-admin--admin-bar--height, 0));
|
|
5688
|
-
}
|
|
5689
|
-
body.has-admin-bar-in-editor.is-fullscreen-mode .is-entity-save-view-open .interface-interface-skeleton__actions:focus,
|
|
5690
|
-
body.has-admin-bar-in-editor.is-fullscreen-mode .is-entity-save-view-open .interface-interface-skeleton__actions:focus-within,
|
|
5691
|
-
body.has-admin-bar-in-editor.is-fullscreen-mode .edit-site-layout__actions.is-entity-save-view-open:focus,
|
|
5692
|
-
body.has-admin-bar-in-editor.is-fullscreen-mode .edit-site-layout__actions.is-entity-save-view-open:focus-within {
|
|
5693
|
-
top: var(--wp-admin--admin-bar--height, 0);
|
|
5694
|
-
}
|
|
5695
|
-
body.has-admin-bar-in-editor.is-fullscreen-mode #wpadminbar {
|
|
5696
|
-
display: block;
|
|
5697
|
-
}
|
|
5698
|
-
body.has-admin-bar-in-editor.is-fullscreen-mode:has(.editor-editor-interface.is-distraction-free) #wpadminbar {
|
|
5699
|
-
display: none;
|
|
5700
|
-
}
|
|
5701
|
-
|
|
5702
|
-
/* stylelint-disable -- Disable reason: View Transitions not supported properly by stylelint. */
|
|
5703
5580
|
::view-transition-image-pair(root) {
|
|
5704
5581
|
isolation: auto;
|
|
5705
5582
|
}
|
|
@@ -5711,11 +5588,6 @@ body.has-admin-bar-in-editor.is-fullscreen-mode:has(.editor-editor-interface.is-
|
|
|
5711
5588
|
display: block;
|
|
5712
5589
|
}
|
|
5713
5590
|
|
|
5714
|
-
/* stylelint-enable */
|
|
5715
|
-
body.js #wpadminbar {
|
|
5716
|
-
display: none;
|
|
5717
|
-
}
|
|
5718
|
-
|
|
5719
5591
|
body.js #wpbody {
|
|
5720
5592
|
padding-top: 0;
|
|
5721
5593
|
}
|
|
@@ -5765,6 +5637,14 @@ body.js.site-editor-php .media-frame select.attachment-filters:last-of-type {
|
|
|
5765
5637
|
body.js.site-editor-php {
|
|
5766
5638
|
background: var(--wpds-color-background-surface-neutral-weak, #f4f4f4);
|
|
5767
5639
|
}
|
|
5640
|
+
@media (min-width: 782px) {
|
|
5641
|
+
body.js.site-editor-php:has(.editor-editor-interface.is-distraction-free) {
|
|
5642
|
+
--wp-admin--admin-bar--height: 0px;
|
|
5643
|
+
}
|
|
5644
|
+
body.js.site-editor-php:has(.editor-editor-interface.is-distraction-free) #wpadminbar {
|
|
5645
|
+
display: none;
|
|
5646
|
+
}
|
|
5647
|
+
}
|
|
5768
5648
|
|
|
5769
5649
|
.edit-site {
|
|
5770
5650
|
box-sizing: border-box;
|
|
@@ -5775,16 +5655,18 @@ body.js.site-editor-php {
|
|
|
5775
5655
|
box-sizing: inherit;
|
|
5776
5656
|
}
|
|
5777
5657
|
.edit-site {
|
|
5658
|
+
padding-top: var(--wp-admin--admin-bar--height, 0);
|
|
5778
5659
|
height: 100vh;
|
|
5779
5660
|
}
|
|
5780
5661
|
@media (min-width: 600px) {
|
|
5781
5662
|
.edit-site {
|
|
5782
5663
|
bottom: 0;
|
|
5783
5664
|
right: 0;
|
|
5784
|
-
|
|
5665
|
+
height: calc(100vh - var(--wp-admin--admin-bar--height, 0px));
|
|
5666
|
+
padding-top: 0;
|
|
5785
5667
|
position: fixed;
|
|
5786
5668
|
left: 0;
|
|
5787
|
-
top: 0;
|
|
5669
|
+
top: var(--wp-admin--admin-bar--height, 0);
|
|
5788
5670
|
}
|
|
5789
5671
|
}
|
|
5790
5672
|
.no-js .edit-site {
|