@wordpress/edit-site 6.44.0 → 6.45.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-template/add-custom-template-modal-content.cjs.map +3 -3
- package/build/components/add-new-template/index.cjs.map +2 -2
- package/build/components/add-new-template-legacy/add-custom-template-modal-content.cjs.map +3 -3
- package/build/components/add-new-template-legacy/index.cjs.map +2 -2
- package/build/components/page-patterns/index.cjs +1 -0
- package/build/components/page-patterns/index.cjs.map +2 -2
- package/build/components/page-templates/fields.cjs +4 -4
- package/build/components/page-templates/fields.cjs.map +2 -2
- package/build/components/page-templates/index-legacy.cjs +1 -0
- package/build/components/page-templates/index-legacy.cjs.map +2 -2
- package/build/components/page-templates/index.cjs +1 -0
- package/build/components/page-templates/index.cjs.map +2 -2
- package/build/components/pagination/index.cjs.map +3 -3
- package/build/components/post-list/index.cjs +1 -0
- package/build/components/post-list/index.cjs.map +2 -2
- package/build/components/sidebar-global-styles/index.cjs +2 -1
- package/build/components/sidebar-global-styles/index.cjs.map +2 -2
- package/build/components/sidebar-identity/index.cjs +1 -1
- package/build/components/sidebar-identity/index.cjs.map +2 -2
- package/build/components/site-hub/index.cjs +3 -2
- package/build/components/site-hub/index.cjs.map +2 -2
- package/build-module/components/add-new-template/add-custom-template-modal-content.mjs +10 -10
- package/build-module/components/add-new-template/add-custom-template-modal-content.mjs.map +2 -2
- package/build-module/components/add-new-template/index.mjs +3 -3
- package/build-module/components/add-new-template/index.mjs.map +1 -1
- package/build-module/components/add-new-template-legacy/add-custom-template-modal-content.mjs +10 -10
- package/build-module/components/add-new-template-legacy/add-custom-template-modal-content.mjs.map +2 -2
- package/build-module/components/add-new-template-legacy/index.mjs +3 -3
- package/build-module/components/add-new-template-legacy/index.mjs.map +1 -1
- package/build-module/components/page-patterns/index.mjs +1 -0
- package/build-module/components/page-patterns/index.mjs.map +2 -2
- package/build-module/components/page-templates/fields.mjs +4 -4
- package/build-module/components/page-templates/fields.mjs.map +2 -2
- package/build-module/components/page-templates/index-legacy.mjs +1 -0
- package/build-module/components/page-templates/index-legacy.mjs.map +2 -2
- package/build-module/components/page-templates/index.mjs +1 -0
- package/build-module/components/page-templates/index.mjs.map +2 -2
- package/build-module/components/pagination/index.mjs +3 -3
- package/build-module/components/pagination/index.mjs.map +2 -2
- package/build-module/components/post-list/index.mjs +1 -0
- package/build-module/components/post-list/index.mjs.map +2 -2
- package/build-module/components/sidebar-global-styles/index.mjs +2 -1
- package/build-module/components/sidebar-global-styles/index.mjs.map +2 -2
- package/build-module/components/sidebar-identity/index.mjs +1 -1
- package/build-module/components/sidebar-identity/index.mjs.map +2 -2
- package/build-module/components/site-hub/index.mjs +3 -6
- package/build-module/components/site-hub/index.mjs.map +2 -2
- package/build-style/style-rtl.css +32 -201
- package/build-style/style.css +32 -201
- package/package.json +47 -46
- package/src/components/add-new-template/add-custom-template-modal-content.js +19 -19
- package/src/components/add-new-template/index.js +5 -5
- package/src/components/add-new-template-legacy/add-custom-template-modal-content.js +19 -19
- package/src/components/add-new-template-legacy/index.js +5 -5
- package/src/components/page-patterns/index.js +1 -0
- package/src/components/page-patterns/style.scss +18 -0
- package/src/components/page-templates/fields.js +5 -5
- package/src/components/page-templates/index-legacy.js +1 -0
- package/src/components/page-templates/index.js +1 -0
- package/src/components/pagination/index.js +5 -5
- package/src/components/post-list/index.js +1 -0
- package/src/components/post-list/style.scss +0 -67
- package/src/components/sidebar-global-styles/index.js +2 -1
- package/src/components/sidebar-global-styles/style.scss +19 -0
- package/src/components/sidebar-identity/index.js +1 -1
- package/src/components/site-hub/index.js +3 -6
- package/src/style.scss +0 -1
|
@@ -107,141 +107,6 @@
|
|
|
107
107
|
}
|
|
108
108
|
}
|
|
109
109
|
|
|
110
|
-
.admin-ui-page {
|
|
111
|
-
display: flex;
|
|
112
|
-
height: 100%;
|
|
113
|
-
background-color: var(--wpds-color-bg-surface-neutral, #fcfcfc);
|
|
114
|
-
color: var(--wpds-color-fg-content-neutral, #1e1e1e);
|
|
115
|
-
position: relative;
|
|
116
|
-
z-index: 1;
|
|
117
|
-
flex-flow: column;
|
|
118
|
-
text-wrap: pretty;
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
.admin-ui-page__header {
|
|
122
|
-
padding: var(--wpds-dimension-padding-lg, 16px) var(--wpds-dimension-padding-2xl, 24px);
|
|
123
|
-
border-bottom: var(--wpds-border-width-xs, 1px) solid var(--wpds-color-stroke-surface-neutral-weak, #e4e4e4);
|
|
124
|
-
background: var(--wpds-color-bg-surface-neutral-strong, #ffffff);
|
|
125
|
-
position: sticky;
|
|
126
|
-
top: 0;
|
|
127
|
-
z-index: 1;
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
.admin-ui-page__header-title {
|
|
131
|
-
font-family: var(--wpds-typography-font-family-heading, -apple-system, system-ui, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif);
|
|
132
|
-
font-size: var(--wpds-typography-font-size-lg, 15px);
|
|
133
|
-
font-weight: var(--wpds-typography-font-weight-medium, 499);
|
|
134
|
-
line-height: var(--wpds-typography-line-height-lg, 28px);
|
|
135
|
-
margin: 0;
|
|
136
|
-
overflow: hidden;
|
|
137
|
-
text-overflow: ellipsis;
|
|
138
|
-
white-space: nowrap;
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
.admin-ui-page__sidebar-toggle-slot:empty {
|
|
142
|
-
display: none;
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
.admin-ui-page__header-subtitle {
|
|
146
|
-
padding-block-end: var(--wpds-dimension-padding-xs, 4px);
|
|
147
|
-
color: var(--wpds-color-fg-content-neutral-weak, #707070);
|
|
148
|
-
font-size: var(--wpds-typography-font-size-md, 13px);
|
|
149
|
-
line-height: var(--wpds-typography-line-height-md, 24px);
|
|
150
|
-
margin: 0;
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
.admin-ui-page__content {
|
|
154
|
-
flex-grow: 1;
|
|
155
|
-
overflow: auto;
|
|
156
|
-
display: flex;
|
|
157
|
-
flex-direction: column;
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
.admin-ui-page__content.has-padding {
|
|
161
|
-
padding: var(--wpds-dimension-padding-lg, 16px) var(--wpds-dimension-padding-2xl, 24px);
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
.show-icon-labels .admin-ui-page__header-actions .components-button.has-icon {
|
|
165
|
-
width: auto;
|
|
166
|
-
padding: 0 var(--wpds-dimension-padding-xs, 4px);
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
.show-icon-labels .admin-ui-page__header-actions .components-button.has-icon svg {
|
|
170
|
-
display: none;
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
.show-icon-labels .admin-ui-page__header-actions .components-button.has-icon::after {
|
|
174
|
-
content: attr(aria-label);
|
|
175
|
-
font-size: var(--wpds-typography-font-size-sm, 12px);
|
|
176
|
-
}
|
|
177
|
-
|
|
178
|
-
/**
|
|
179
|
-
* SCSS Variables.
|
|
180
|
-
*
|
|
181
|
-
* Please use variables from this sheet to ensure consistency across the UI.
|
|
182
|
-
* Don't add to this sheet unless you're pretty sure the value will be reused in many places.
|
|
183
|
-
* For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
|
|
184
|
-
*/
|
|
185
|
-
/**
|
|
186
|
-
* Colors
|
|
187
|
-
*/
|
|
188
|
-
/**
|
|
189
|
-
* Fonts & basic variables.
|
|
190
|
-
*/
|
|
191
|
-
/**
|
|
192
|
-
* Typography
|
|
193
|
-
*/
|
|
194
|
-
/**
|
|
195
|
-
* Grid System.
|
|
196
|
-
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
|
|
197
|
-
*/
|
|
198
|
-
/**
|
|
199
|
-
* Radius scale.
|
|
200
|
-
*/
|
|
201
|
-
/**
|
|
202
|
-
* Elevation scale.
|
|
203
|
-
*/
|
|
204
|
-
/**
|
|
205
|
-
* Dimensions.
|
|
206
|
-
*/
|
|
207
|
-
/**
|
|
208
|
-
* Mobile specific styles
|
|
209
|
-
*/
|
|
210
|
-
/**
|
|
211
|
-
* Editor styles.
|
|
212
|
-
*/
|
|
213
|
-
/**
|
|
214
|
-
* Block & Editor UI.
|
|
215
|
-
*/
|
|
216
|
-
/**
|
|
217
|
-
* Block paddings.
|
|
218
|
-
*/
|
|
219
|
-
/**
|
|
220
|
-
* React Native specific.
|
|
221
|
-
* These variables do not appear to be used anywhere else.
|
|
222
|
-
*/
|
|
223
|
-
.admin-ui-breadcrumbs__list {
|
|
224
|
-
font-family: var(--wpds-typography-font-family-heading, -apple-system, system-ui, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif);
|
|
225
|
-
font-size: var(--wpds-typography-font-size-lg, 15px);
|
|
226
|
-
font-weight: var(--wpds-typography-font-weight-medium, 499);
|
|
227
|
-
line-height: var(--wpds-typography-line-height-lg, 28px);
|
|
228
|
-
list-style: none;
|
|
229
|
-
padding: 0;
|
|
230
|
-
margin: 0;
|
|
231
|
-
gap: 0;
|
|
232
|
-
min-height: 32px;
|
|
233
|
-
}
|
|
234
|
-
|
|
235
|
-
.admin-ui-breadcrumbs__list li:not(:last-child)::after {
|
|
236
|
-
content: "/";
|
|
237
|
-
margin: 0 8px;
|
|
238
|
-
}
|
|
239
|
-
|
|
240
|
-
.admin-ui-breadcrumbs__list h1 {
|
|
241
|
-
font-size: inherit;
|
|
242
|
-
line-height: inherit;
|
|
243
|
-
}
|
|
244
|
-
|
|
245
110
|
/**
|
|
246
111
|
* Colors
|
|
247
112
|
*/
|
|
@@ -2983,7 +2848,7 @@ div.dataviews-view-list {
|
|
|
2983
2848
|
}
|
|
2984
2849
|
|
|
2985
2850
|
input[type=radio]:not(:checked) ~ .fields-create-template-part-modal__area-radio-label::before {
|
|
2986
|
-
cursor: pointer;
|
|
2851
|
+
cursor: var(--wpds-cursor-control, pointer);
|
|
2987
2852
|
}
|
|
2988
2853
|
|
|
2989
2854
|
input[type=radio]:focus-visible ~ .fields-create-template-part-modal__area-radio-label::before {
|
|
@@ -3111,7 +2976,7 @@ fieldset.fields__media-edit .fields__media-edit-picker-button {
|
|
|
3111
2976
|
border-radius: 2px;
|
|
3112
2977
|
padding: 4px 8px;
|
|
3113
2978
|
min-height: 40px;
|
|
3114
|
-
cursor: pointer;
|
|
2979
|
+
cursor: var(--wpds-cursor-control, pointer);
|
|
3115
2980
|
min-width: 0;
|
|
3116
2981
|
}
|
|
3117
2982
|
|
|
@@ -3713,7 +3578,7 @@ button.font-library__upload-area {
|
|
|
3713
3578
|
|
|
3714
3579
|
.global-styles-ui-screen-revisions__revision-item {
|
|
3715
3580
|
position: relative;
|
|
3716
|
-
cursor: pointer;
|
|
3581
|
+
cursor: var(--wpds-cursor-control, pointer);
|
|
3717
3582
|
display: flex;
|
|
3718
3583
|
flex-direction: column;
|
|
3719
3584
|
}
|
|
@@ -3890,7 +3755,7 @@ button.font-library__upload-area {
|
|
|
3890
3755
|
|
|
3891
3756
|
.global-styles-ui-variations_item {
|
|
3892
3757
|
box-sizing: border-box;
|
|
3893
|
-
cursor: pointer;
|
|
3758
|
+
cursor: var(--wpds-cursor-control, pointer);
|
|
3894
3759
|
}
|
|
3895
3760
|
|
|
3896
3761
|
.global-styles-ui-variations_item .global-styles-ui-variations_item-preview {
|
|
@@ -3928,20 +3793,16 @@ button.font-library__upload-area {
|
|
|
3928
3793
|
outline-color: var(--wp-admin-theme-color);
|
|
3929
3794
|
}
|
|
3930
3795
|
|
|
3931
|
-
.global-styles-ui-preview {
|
|
3932
|
-
display: flex;
|
|
3933
|
-
align-items: center;
|
|
3934
|
-
justify-content: center;
|
|
3935
|
-
line-height: 1;
|
|
3936
|
-
cursor: pointer;
|
|
3937
|
-
}
|
|
3938
|
-
|
|
3939
3796
|
.global-styles-ui-preview__wrapper {
|
|
3940
3797
|
max-width: 100%;
|
|
3941
3798
|
display: block;
|
|
3942
3799
|
width: 100%;
|
|
3943
3800
|
}
|
|
3944
3801
|
|
|
3802
|
+
.global-styles-ui-preview__wrapper.is-hoverable {
|
|
3803
|
+
cursor: var(--wpds-cursor-control, pointer);
|
|
3804
|
+
}
|
|
3805
|
+
|
|
3945
3806
|
.global-styles-ui-typography-preview {
|
|
3946
3807
|
display: flex;
|
|
3947
3808
|
align-items: center;
|
|
@@ -4460,6 +4321,18 @@ button.font-library__upload-area {
|
|
|
4460
4321
|
padding-left: 24px;
|
|
4461
4322
|
}
|
|
4462
4323
|
}
|
|
4324
|
+
.show-icon-labels .edit-site-patterns__button.has-icon {
|
|
4325
|
+
width: auto;
|
|
4326
|
+
padding: 0 var(--wpds-dimension-padding-xs, 4px);
|
|
4327
|
+
}
|
|
4328
|
+
.show-icon-labels .edit-site-patterns__button.has-icon svg {
|
|
4329
|
+
display: none;
|
|
4330
|
+
}
|
|
4331
|
+
.show-icon-labels .edit-site-patterns__button.has-icon::after {
|
|
4332
|
+
content: attr(aria-label);
|
|
4333
|
+
font-size: var(--wpds-typography-font-size-sm, 12px);
|
|
4334
|
+
}
|
|
4335
|
+
|
|
4463
4336
|
.page-templates-preview-field {
|
|
4464
4337
|
display: flex;
|
|
4465
4338
|
justify-content: center;
|
|
@@ -5350,60 +5223,6 @@ html.canvas-mode-edit-transition::view-transition-group(toggle) {
|
|
|
5350
5223
|
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;
|
|
5351
5224
|
}
|
|
5352
5225
|
|
|
5353
|
-
.edit-site-post-list__featured-image {
|
|
5354
|
-
height: 100%;
|
|
5355
|
-
object-fit: cover;
|
|
5356
|
-
width: 100%;
|
|
5357
|
-
}
|
|
5358
|
-
|
|
5359
|
-
.edit-site-post-list__featured-image-wrapper {
|
|
5360
|
-
height: 100%;
|
|
5361
|
-
width: 100%;
|
|
5362
|
-
border-radius: 4px;
|
|
5363
|
-
}
|
|
5364
|
-
.edit-site-post-list__featured-image-wrapper.is-layout-table:not(:has(.edit-site-post-list__featured-image-button)), .edit-site-post-list__featured-image-wrapper.is-layout-table .edit-site-post-list__featured-image-button {
|
|
5365
|
-
width: 32px;
|
|
5366
|
-
height: 32px;
|
|
5367
|
-
display: block;
|
|
5368
|
-
border-radius: 4px;
|
|
5369
|
-
position: relative;
|
|
5370
|
-
overflow: hidden;
|
|
5371
|
-
background-color: #f0f0f0;
|
|
5372
|
-
flex-grow: 0 !important;
|
|
5373
|
-
}
|
|
5374
|
-
.edit-site-post-list__featured-image-wrapper.is-layout-table:not(:has(.edit-site-post-list__featured-image-button))::after, .edit-site-post-list__featured-image-wrapper.is-layout-table .edit-site-post-list__featured-image-button::after {
|
|
5375
|
-
border-radius: 4px;
|
|
5376
|
-
box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
|
|
5377
|
-
content: "";
|
|
5378
|
-
height: 100%;
|
|
5379
|
-
right: 0;
|
|
5380
|
-
position: absolute;
|
|
5381
|
-
top: 0;
|
|
5382
|
-
width: 100%;
|
|
5383
|
-
}
|
|
5384
|
-
|
|
5385
|
-
.edit-site-post-list__featured-image-button {
|
|
5386
|
-
box-shadow: none;
|
|
5387
|
-
border: none;
|
|
5388
|
-
padding: 0;
|
|
5389
|
-
background-color: unset;
|
|
5390
|
-
box-sizing: border-box;
|
|
5391
|
-
cursor: pointer;
|
|
5392
|
-
overflow: hidden;
|
|
5393
|
-
height: 100%;
|
|
5394
|
-
width: 100%;
|
|
5395
|
-
border-radius: 4px;
|
|
5396
|
-
}
|
|
5397
|
-
.edit-site-post-list__featured-image-button:focus-visible {
|
|
5398
|
-
box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
|
|
5399
|
-
outline: 2px solid transparent;
|
|
5400
|
-
}
|
|
5401
|
-
|
|
5402
|
-
.dataviews-view-grid__card.is-selected .edit-site-post-list__featured-image-button::after {
|
|
5403
|
-
box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
|
|
5404
|
-
background: rgba(var(--wp-admin-theme-color--rgb), 0.04);
|
|
5405
|
-
}
|
|
5406
|
-
|
|
5407
5226
|
.fields-controls__password {
|
|
5408
5227
|
border-top: 1px solid #e0e0e0;
|
|
5409
5228
|
padding-top: 16px;
|
|
@@ -5580,6 +5399,18 @@ body:has(.edit-site-resizable-frame__inner.is-resizing) {
|
|
|
5580
5399
|
color: #1e1e1e;
|
|
5581
5400
|
}
|
|
5582
5401
|
|
|
5402
|
+
.show-icon-labels .edit-site-styles__header-actions .components-button.has-icon {
|
|
5403
|
+
width: auto;
|
|
5404
|
+
padding: 0 var(--wpds-dimension-padding-xs, 4px);
|
|
5405
|
+
}
|
|
5406
|
+
.show-icon-labels .edit-site-styles__header-actions .components-button.has-icon svg {
|
|
5407
|
+
display: none;
|
|
5408
|
+
}
|
|
5409
|
+
.show-icon-labels .edit-site-styles__header-actions .components-button.has-icon::after {
|
|
5410
|
+
content: attr(aria-label);
|
|
5411
|
+
font-size: var(--wpds-typography-font-size-sm, 12px);
|
|
5412
|
+
}
|
|
5413
|
+
|
|
5583
5414
|
/* stylelint-disable -- Disable reason: View Transitions not supported properly by stylelint. */
|
|
5584
5415
|
::view-transition-image-pair(root) {
|
|
5585
5416
|
isolation: auto;
|
package/build-style/style.css
CHANGED
|
@@ -107,141 +107,6 @@
|
|
|
107
107
|
}
|
|
108
108
|
}
|
|
109
109
|
|
|
110
|
-
.admin-ui-page {
|
|
111
|
-
display: flex;
|
|
112
|
-
height: 100%;
|
|
113
|
-
background-color: var(--wpds-color-bg-surface-neutral, #fcfcfc);
|
|
114
|
-
color: var(--wpds-color-fg-content-neutral, #1e1e1e);
|
|
115
|
-
position: relative;
|
|
116
|
-
z-index: 1;
|
|
117
|
-
flex-flow: column;
|
|
118
|
-
text-wrap: pretty;
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
.admin-ui-page__header {
|
|
122
|
-
padding: var(--wpds-dimension-padding-lg, 16px) var(--wpds-dimension-padding-2xl, 24px);
|
|
123
|
-
border-bottom: var(--wpds-border-width-xs, 1px) solid var(--wpds-color-stroke-surface-neutral-weak, #e4e4e4);
|
|
124
|
-
background: var(--wpds-color-bg-surface-neutral-strong, #ffffff);
|
|
125
|
-
position: sticky;
|
|
126
|
-
top: 0;
|
|
127
|
-
z-index: 1;
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
.admin-ui-page__header-title {
|
|
131
|
-
font-family: var(--wpds-typography-font-family-heading, -apple-system, system-ui, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif);
|
|
132
|
-
font-size: var(--wpds-typography-font-size-lg, 15px);
|
|
133
|
-
font-weight: var(--wpds-typography-font-weight-medium, 499);
|
|
134
|
-
line-height: var(--wpds-typography-line-height-lg, 28px);
|
|
135
|
-
margin: 0;
|
|
136
|
-
overflow: hidden;
|
|
137
|
-
text-overflow: ellipsis;
|
|
138
|
-
white-space: nowrap;
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
.admin-ui-page__sidebar-toggle-slot:empty {
|
|
142
|
-
display: none;
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
.admin-ui-page__header-subtitle {
|
|
146
|
-
padding-block-end: var(--wpds-dimension-padding-xs, 4px);
|
|
147
|
-
color: var(--wpds-color-fg-content-neutral-weak, #707070);
|
|
148
|
-
font-size: var(--wpds-typography-font-size-md, 13px);
|
|
149
|
-
line-height: var(--wpds-typography-line-height-md, 24px);
|
|
150
|
-
margin: 0;
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
.admin-ui-page__content {
|
|
154
|
-
flex-grow: 1;
|
|
155
|
-
overflow: auto;
|
|
156
|
-
display: flex;
|
|
157
|
-
flex-direction: column;
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
.admin-ui-page__content.has-padding {
|
|
161
|
-
padding: var(--wpds-dimension-padding-lg, 16px) var(--wpds-dimension-padding-2xl, 24px);
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
.show-icon-labels .admin-ui-page__header-actions .components-button.has-icon {
|
|
165
|
-
width: auto;
|
|
166
|
-
padding: 0 var(--wpds-dimension-padding-xs, 4px);
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
.show-icon-labels .admin-ui-page__header-actions .components-button.has-icon svg {
|
|
170
|
-
display: none;
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
.show-icon-labels .admin-ui-page__header-actions .components-button.has-icon::after {
|
|
174
|
-
content: attr(aria-label);
|
|
175
|
-
font-size: var(--wpds-typography-font-size-sm, 12px);
|
|
176
|
-
}
|
|
177
|
-
|
|
178
|
-
/**
|
|
179
|
-
* SCSS Variables.
|
|
180
|
-
*
|
|
181
|
-
* Please use variables from this sheet to ensure consistency across the UI.
|
|
182
|
-
* Don't add to this sheet unless you're pretty sure the value will be reused in many places.
|
|
183
|
-
* For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
|
|
184
|
-
*/
|
|
185
|
-
/**
|
|
186
|
-
* Colors
|
|
187
|
-
*/
|
|
188
|
-
/**
|
|
189
|
-
* Fonts & basic variables.
|
|
190
|
-
*/
|
|
191
|
-
/**
|
|
192
|
-
* Typography
|
|
193
|
-
*/
|
|
194
|
-
/**
|
|
195
|
-
* Grid System.
|
|
196
|
-
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
|
|
197
|
-
*/
|
|
198
|
-
/**
|
|
199
|
-
* Radius scale.
|
|
200
|
-
*/
|
|
201
|
-
/**
|
|
202
|
-
* Elevation scale.
|
|
203
|
-
*/
|
|
204
|
-
/**
|
|
205
|
-
* Dimensions.
|
|
206
|
-
*/
|
|
207
|
-
/**
|
|
208
|
-
* Mobile specific styles
|
|
209
|
-
*/
|
|
210
|
-
/**
|
|
211
|
-
* Editor styles.
|
|
212
|
-
*/
|
|
213
|
-
/**
|
|
214
|
-
* Block & Editor UI.
|
|
215
|
-
*/
|
|
216
|
-
/**
|
|
217
|
-
* Block paddings.
|
|
218
|
-
*/
|
|
219
|
-
/**
|
|
220
|
-
* React Native specific.
|
|
221
|
-
* These variables do not appear to be used anywhere else.
|
|
222
|
-
*/
|
|
223
|
-
.admin-ui-breadcrumbs__list {
|
|
224
|
-
font-family: var(--wpds-typography-font-family-heading, -apple-system, system-ui, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif);
|
|
225
|
-
font-size: var(--wpds-typography-font-size-lg, 15px);
|
|
226
|
-
font-weight: var(--wpds-typography-font-weight-medium, 499);
|
|
227
|
-
line-height: var(--wpds-typography-line-height-lg, 28px);
|
|
228
|
-
list-style: none;
|
|
229
|
-
padding: 0;
|
|
230
|
-
margin: 0;
|
|
231
|
-
gap: 0;
|
|
232
|
-
min-height: 32px;
|
|
233
|
-
}
|
|
234
|
-
|
|
235
|
-
.admin-ui-breadcrumbs__list li:not(:last-child)::after {
|
|
236
|
-
content: "/";
|
|
237
|
-
margin: 0 8px;
|
|
238
|
-
}
|
|
239
|
-
|
|
240
|
-
.admin-ui-breadcrumbs__list h1 {
|
|
241
|
-
font-size: inherit;
|
|
242
|
-
line-height: inherit;
|
|
243
|
-
}
|
|
244
|
-
|
|
245
110
|
/**
|
|
246
111
|
* Colors
|
|
247
112
|
*/
|
|
@@ -2983,7 +2848,7 @@ div.dataviews-view-list {
|
|
|
2983
2848
|
}
|
|
2984
2849
|
|
|
2985
2850
|
input[type=radio]:not(:checked) ~ .fields-create-template-part-modal__area-radio-label::before {
|
|
2986
|
-
cursor: pointer;
|
|
2851
|
+
cursor: var(--wpds-cursor-control, pointer);
|
|
2987
2852
|
}
|
|
2988
2853
|
|
|
2989
2854
|
input[type=radio]:focus-visible ~ .fields-create-template-part-modal__area-radio-label::before {
|
|
@@ -3111,7 +2976,7 @@ fieldset.fields__media-edit .fields__media-edit-picker-button {
|
|
|
3111
2976
|
border-radius: 2px;
|
|
3112
2977
|
padding: 4px 8px;
|
|
3113
2978
|
min-height: 40px;
|
|
3114
|
-
cursor: pointer;
|
|
2979
|
+
cursor: var(--wpds-cursor-control, pointer);
|
|
3115
2980
|
min-width: 0;
|
|
3116
2981
|
}
|
|
3117
2982
|
|
|
@@ -3713,7 +3578,7 @@ button.font-library__upload-area {
|
|
|
3713
3578
|
|
|
3714
3579
|
.global-styles-ui-screen-revisions__revision-item {
|
|
3715
3580
|
position: relative;
|
|
3716
|
-
cursor: pointer;
|
|
3581
|
+
cursor: var(--wpds-cursor-control, pointer);
|
|
3717
3582
|
display: flex;
|
|
3718
3583
|
flex-direction: column;
|
|
3719
3584
|
}
|
|
@@ -3890,7 +3755,7 @@ button.font-library__upload-area {
|
|
|
3890
3755
|
|
|
3891
3756
|
.global-styles-ui-variations_item {
|
|
3892
3757
|
box-sizing: border-box;
|
|
3893
|
-
cursor: pointer;
|
|
3758
|
+
cursor: var(--wpds-cursor-control, pointer);
|
|
3894
3759
|
}
|
|
3895
3760
|
|
|
3896
3761
|
.global-styles-ui-variations_item .global-styles-ui-variations_item-preview {
|
|
@@ -3928,20 +3793,16 @@ button.font-library__upload-area {
|
|
|
3928
3793
|
outline-color: var(--wp-admin-theme-color);
|
|
3929
3794
|
}
|
|
3930
3795
|
|
|
3931
|
-
.global-styles-ui-preview {
|
|
3932
|
-
display: flex;
|
|
3933
|
-
align-items: center;
|
|
3934
|
-
justify-content: center;
|
|
3935
|
-
line-height: 1;
|
|
3936
|
-
cursor: pointer;
|
|
3937
|
-
}
|
|
3938
|
-
|
|
3939
3796
|
.global-styles-ui-preview__wrapper {
|
|
3940
3797
|
max-width: 100%;
|
|
3941
3798
|
display: block;
|
|
3942
3799
|
width: 100%;
|
|
3943
3800
|
}
|
|
3944
3801
|
|
|
3802
|
+
.global-styles-ui-preview__wrapper.is-hoverable {
|
|
3803
|
+
cursor: var(--wpds-cursor-control, pointer);
|
|
3804
|
+
}
|
|
3805
|
+
|
|
3945
3806
|
.global-styles-ui-typography-preview {
|
|
3946
3807
|
display: flex;
|
|
3947
3808
|
align-items: center;
|
|
@@ -4463,6 +4324,18 @@ button.font-library__upload-area {
|
|
|
4463
4324
|
padding-right: 24px;
|
|
4464
4325
|
}
|
|
4465
4326
|
}
|
|
4327
|
+
.show-icon-labels .edit-site-patterns__button.has-icon {
|
|
4328
|
+
width: auto;
|
|
4329
|
+
padding: 0 var(--wpds-dimension-padding-xs, 4px);
|
|
4330
|
+
}
|
|
4331
|
+
.show-icon-labels .edit-site-patterns__button.has-icon svg {
|
|
4332
|
+
display: none;
|
|
4333
|
+
}
|
|
4334
|
+
.show-icon-labels .edit-site-patterns__button.has-icon::after {
|
|
4335
|
+
content: attr(aria-label);
|
|
4336
|
+
font-size: var(--wpds-typography-font-size-sm, 12px);
|
|
4337
|
+
}
|
|
4338
|
+
|
|
4466
4339
|
.page-templates-preview-field {
|
|
4467
4340
|
display: flex;
|
|
4468
4341
|
justify-content: center;
|
|
@@ -5353,60 +5226,6 @@ html.canvas-mode-edit-transition::view-transition-group(toggle) {
|
|
|
5353
5226
|
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;
|
|
5354
5227
|
}
|
|
5355
5228
|
|
|
5356
|
-
.edit-site-post-list__featured-image {
|
|
5357
|
-
height: 100%;
|
|
5358
|
-
object-fit: cover;
|
|
5359
|
-
width: 100%;
|
|
5360
|
-
}
|
|
5361
|
-
|
|
5362
|
-
.edit-site-post-list__featured-image-wrapper {
|
|
5363
|
-
height: 100%;
|
|
5364
|
-
width: 100%;
|
|
5365
|
-
border-radius: 4px;
|
|
5366
|
-
}
|
|
5367
|
-
.edit-site-post-list__featured-image-wrapper.is-layout-table:not(:has(.edit-site-post-list__featured-image-button)), .edit-site-post-list__featured-image-wrapper.is-layout-table .edit-site-post-list__featured-image-button {
|
|
5368
|
-
width: 32px;
|
|
5369
|
-
height: 32px;
|
|
5370
|
-
display: block;
|
|
5371
|
-
border-radius: 4px;
|
|
5372
|
-
position: relative;
|
|
5373
|
-
overflow: hidden;
|
|
5374
|
-
background-color: #f0f0f0;
|
|
5375
|
-
flex-grow: 0 !important;
|
|
5376
|
-
}
|
|
5377
|
-
.edit-site-post-list__featured-image-wrapper.is-layout-table:not(:has(.edit-site-post-list__featured-image-button))::after, .edit-site-post-list__featured-image-wrapper.is-layout-table .edit-site-post-list__featured-image-button::after {
|
|
5378
|
-
border-radius: 4px;
|
|
5379
|
-
box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
|
|
5380
|
-
content: "";
|
|
5381
|
-
height: 100%;
|
|
5382
|
-
left: 0;
|
|
5383
|
-
position: absolute;
|
|
5384
|
-
top: 0;
|
|
5385
|
-
width: 100%;
|
|
5386
|
-
}
|
|
5387
|
-
|
|
5388
|
-
.edit-site-post-list__featured-image-button {
|
|
5389
|
-
box-shadow: none;
|
|
5390
|
-
border: none;
|
|
5391
|
-
padding: 0;
|
|
5392
|
-
background-color: unset;
|
|
5393
|
-
box-sizing: border-box;
|
|
5394
|
-
cursor: pointer;
|
|
5395
|
-
overflow: hidden;
|
|
5396
|
-
height: 100%;
|
|
5397
|
-
width: 100%;
|
|
5398
|
-
border-radius: 4px;
|
|
5399
|
-
}
|
|
5400
|
-
.edit-site-post-list__featured-image-button:focus-visible {
|
|
5401
|
-
box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
|
|
5402
|
-
outline: 2px solid transparent;
|
|
5403
|
-
}
|
|
5404
|
-
|
|
5405
|
-
.dataviews-view-grid__card.is-selected .edit-site-post-list__featured-image-button::after {
|
|
5406
|
-
box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
|
|
5407
|
-
background: rgba(var(--wp-admin-theme-color--rgb), 0.04);
|
|
5408
|
-
}
|
|
5409
|
-
|
|
5410
5229
|
.fields-controls__password {
|
|
5411
5230
|
border-top: 1px solid #e0e0e0;
|
|
5412
5231
|
padding-top: 16px;
|
|
@@ -5583,6 +5402,18 @@ body:has(.edit-site-resizable-frame__inner.is-resizing) {
|
|
|
5583
5402
|
color: #1e1e1e;
|
|
5584
5403
|
}
|
|
5585
5404
|
|
|
5405
|
+
.show-icon-labels .edit-site-styles__header-actions .components-button.has-icon {
|
|
5406
|
+
width: auto;
|
|
5407
|
+
padding: 0 var(--wpds-dimension-padding-xs, 4px);
|
|
5408
|
+
}
|
|
5409
|
+
.show-icon-labels .edit-site-styles__header-actions .components-button.has-icon svg {
|
|
5410
|
+
display: none;
|
|
5411
|
+
}
|
|
5412
|
+
.show-icon-labels .edit-site-styles__header-actions .components-button.has-icon::after {
|
|
5413
|
+
content: attr(aria-label);
|
|
5414
|
+
font-size: var(--wpds-typography-font-size-sm, 12px);
|
|
5415
|
+
}
|
|
5416
|
+
|
|
5586
5417
|
/* stylelint-disable -- Disable reason: View Transitions not supported properly by stylelint. */
|
|
5587
5418
|
::view-transition-image-pair(root) {
|
|
5588
5419
|
isolation: auto;
|