@wordpress/edit-site 6.41.0 → 6.41.1-next.v.202603102151.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/build/components/layout/index.cjs +1 -1
- package/build/components/layout/index.cjs.map +2 -2
- package/build/components/page-patterns/fields.cjs +3 -3
- package/build/components/page-patterns/fields.cjs.map +2 -2
- package/build/components/page-patterns/use-pattern-settings.cjs +10 -1
- package/build/components/page-patterns/use-pattern-settings.cjs.map +3 -3
- package/build/components/page-templates/fields.cjs +3 -3
- package/build/components/page-templates/fields.cjs.map +2 -2
- package/build/components/post-list/quick-edit-modal.cjs +5 -0
- package/build/components/post-list/quick-edit-modal.cjs.map +2 -2
- package/build/components/sidebar-global-styles/index.cjs +8 -1
- package/build/components/sidebar-global-styles/index.cjs.map +3 -3
- package/build/components/sidebar-identity/index.cjs +87 -0
- package/build/components/sidebar-identity/index.cjs.map +7 -0
- package/build/components/sidebar-navigation-screen-identity/index.cjs +72 -0
- package/build/components/sidebar-navigation-screen-identity/index.cjs.map +7 -0
- package/build/components/sidebar-navigation-screen-main/index.cjs +10 -0
- package/build/components/sidebar-navigation-screen-main/index.cjs.map +2 -2
- package/build/components/sidebar-navigation-screen-navigation-menu/navigation-menu-editor.cjs +8 -1
- package/build/components/sidebar-navigation-screen-navigation-menu/navigation-menu-editor.cjs.map +3 -3
- package/build/components/sidebar-navigation-screen-navigation-menus/navigation-menu-content.cjs +4 -1
- package/build/components/sidebar-navigation-screen-navigation-menus/navigation-menu-content.cjs.map +3 -3
- package/build/components/site-editor-routes/identity.cjs +68 -0
- package/build/components/site-editor-routes/identity.cjs.map +7 -0
- package/build/components/site-editor-routes/index.cjs +2 -0
- package/build/components/site-editor-routes/index.cjs.map +2 -2
- package/build-module/components/layout/index.mjs +1 -1
- package/build-module/components/layout/index.mjs.map +2 -2
- package/build-module/components/page-patterns/fields.mjs +3 -3
- package/build-module/components/page-patterns/fields.mjs.map +2 -2
- package/build-module/components/page-patterns/use-pattern-settings.mjs +10 -1
- package/build-module/components/page-patterns/use-pattern-settings.mjs.map +2 -2
- package/build-module/components/page-templates/fields.mjs +3 -3
- package/build-module/components/page-templates/fields.mjs.map +2 -2
- package/build-module/components/post-list/quick-edit-modal.mjs +5 -0
- package/build-module/components/post-list/quick-edit-modal.mjs.map +2 -2
- package/build-module/components/sidebar-global-styles/index.mjs +8 -1
- package/build-module/components/sidebar-global-styles/index.mjs.map +2 -2
- package/build-module/components/sidebar-identity/index.mjs +66 -0
- package/build-module/components/sidebar-identity/index.mjs.map +7 -0
- package/build-module/components/sidebar-navigation-screen-identity/index.mjs +37 -0
- package/build-module/components/sidebar-navigation-screen-identity/index.mjs.map +7 -0
- package/build-module/components/sidebar-navigation-screen-main/index.mjs +18 -1
- package/build-module/components/sidebar-navigation-screen-main/index.mjs.map +2 -2
- package/build-module/components/sidebar-navigation-screen-navigation-menu/navigation-menu-editor.mjs +8 -1
- package/build-module/components/sidebar-navigation-screen-navigation-menu/navigation-menu-editor.mjs.map +2 -2
- package/build-module/components/sidebar-navigation-screen-navigation-menus/navigation-menu-content.mjs +4 -1
- package/build-module/components/sidebar-navigation-screen-navigation-menus/navigation-menu-content.mjs.map +2 -2
- package/build-module/components/site-editor-routes/identity.mjs +33 -0
- package/build-module/components/site-editor-routes/identity.mjs.map +7 -0
- package/build-module/components/site-editor-routes/index.mjs +2 -0
- package/build-module/components/site-editor-routes/index.mjs.map +2 -2
- package/build-style/style-rtl.css +123 -154
- package/build-style/style.css +123 -154
- package/package.json +46 -46
- package/src/components/layout/index.js +2 -1
- package/src/components/page-patterns/fields.js +3 -3
- package/src/components/page-patterns/use-pattern-settings.js +10 -1
- package/src/components/page-templates/fields.js +3 -3
- package/src/components/page-templates/style.scss +0 -45
- package/src/components/post-list/quick-edit-modal.js +5 -0
- package/src/components/post-list/style.scss +0 -9
- package/src/components/sidebar-global-styles/index.js +7 -0
- package/src/components/sidebar-identity/index.js +70 -0
- package/src/components/sidebar-navigation-screen-identity/index.js +38 -0
- package/src/components/sidebar-navigation-screen-main/index.js +16 -1
- package/src/components/sidebar-navigation-screen-navigation-menu/navigation-menu-editor.js +10 -1
- package/src/components/sidebar-navigation-screen-navigation-menus/navigation-menu-content.js +4 -1
- package/src/components/site-editor-routes/identity.js +39 -0
- package/src/components/site-editor-routes/index.js +2 -0
|
@@ -107,100 +107,11 @@
|
|
|
107
107
|
}
|
|
108
108
|
}
|
|
109
109
|
|
|
110
|
-
/**
|
|
111
|
-
* Colors
|
|
112
|
-
*/
|
|
113
|
-
/**
|
|
114
|
-
* SCSS Variables.
|
|
115
|
-
*
|
|
116
|
-
* Please use variables from this sheet to ensure consistency across the UI.
|
|
117
|
-
* Don't add to this sheet unless you're pretty sure the value will be reused in many places.
|
|
118
|
-
* For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
|
|
119
|
-
*/
|
|
120
|
-
/**
|
|
121
|
-
* Fonts & basic variables.
|
|
122
|
-
*/
|
|
123
|
-
/**
|
|
124
|
-
* Typography
|
|
125
|
-
*/
|
|
126
|
-
/**
|
|
127
|
-
* Grid System.
|
|
128
|
-
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
|
|
129
|
-
*/
|
|
130
|
-
/**
|
|
131
|
-
* Radius scale.
|
|
132
|
-
*/
|
|
133
|
-
/**
|
|
134
|
-
* Elevation scale.
|
|
135
|
-
*/
|
|
136
|
-
/**
|
|
137
|
-
* Dimensions.
|
|
138
|
-
*/
|
|
139
|
-
/**
|
|
140
|
-
* Mobile specific styles
|
|
141
|
-
*/
|
|
142
|
-
/**
|
|
143
|
-
* Editor styles.
|
|
144
|
-
*/
|
|
145
|
-
/**
|
|
146
|
-
* Block & Editor UI.
|
|
147
|
-
*/
|
|
148
|
-
/**
|
|
149
|
-
* Block paddings.
|
|
150
|
-
*/
|
|
151
|
-
/**
|
|
152
|
-
* React Native specific.
|
|
153
|
-
* These variables do not appear to be used anywhere else.
|
|
154
|
-
*/
|
|
155
|
-
/**
|
|
156
|
-
* Typography
|
|
157
|
-
*/
|
|
158
|
-
/**
|
|
159
|
-
* Breakpoints & Media Queries
|
|
160
|
-
*/
|
|
161
|
-
/**
|
|
162
|
-
* Converts a hex value into the rgb equivalent.
|
|
163
|
-
*
|
|
164
|
-
* @param {string} hex - the hexadecimal value to convert
|
|
165
|
-
* @return {string} comma separated rgb values
|
|
166
|
-
*/
|
|
167
|
-
/**
|
|
168
|
-
* Long content fade mixin
|
|
169
|
-
*
|
|
170
|
-
* Creates a fading overlay to signify that the content is longer
|
|
171
|
-
* than the space allows.
|
|
172
|
-
*/
|
|
173
|
-
/**
|
|
174
|
-
* Breakpoint mixins
|
|
175
|
-
*/
|
|
176
|
-
/**
|
|
177
|
-
* Focus styles.
|
|
178
|
-
*/
|
|
179
|
-
/**
|
|
180
|
-
* Applies editor left position to the selector passed as argument
|
|
181
|
-
*/
|
|
182
|
-
/**
|
|
183
|
-
* Styles that are reused verbatim in a few places
|
|
184
|
-
*/
|
|
185
|
-
/**
|
|
186
|
-
* Allows users to opt-out of animations via OS-level preferences.
|
|
187
|
-
*/
|
|
188
|
-
/**
|
|
189
|
-
* Reset default styles for JavaScript UI based pages.
|
|
190
|
-
* This is a WP-admin agnostic reset
|
|
191
|
-
*/
|
|
192
|
-
/**
|
|
193
|
-
* Reset the WP Admin page styles for Gutenberg-like pages.
|
|
194
|
-
*/
|
|
195
|
-
/**
|
|
196
|
-
* Creates a checkerboard pattern background to indicate transparency.
|
|
197
|
-
* @param {String} $size - The size of the squares in the checkerboard pattern. Default is 12px.
|
|
198
|
-
*/
|
|
199
110
|
.admin-ui-page {
|
|
200
111
|
display: flex;
|
|
201
112
|
height: 100%;
|
|
202
|
-
background-color: #
|
|
203
|
-
color: #
|
|
113
|
+
background-color: var(--wpds-color-bg-surface-neutral-strong, #ffffff);
|
|
114
|
+
color: var(--wpds-color-fg-content-neutral, #1e1e1e);
|
|
204
115
|
position: relative;
|
|
205
116
|
z-index: 1;
|
|
206
117
|
flex-flow: column;
|
|
@@ -208,25 +119,34 @@
|
|
|
208
119
|
}
|
|
209
120
|
|
|
210
121
|
.admin-ui-page__header {
|
|
211
|
-
padding: 16px 24px;
|
|
212
|
-
border-bottom: 1px solid #
|
|
213
|
-
background: #
|
|
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, #e0e0e0);
|
|
124
|
+
background: var(--wpds-color-bg-surface-neutral-strong, #ffffff);
|
|
214
125
|
position: sticky;
|
|
215
126
|
top: 0;
|
|
216
127
|
z-index: 1;
|
|
217
128
|
}
|
|
218
129
|
|
|
130
|
+
.admin-ui-page__header-title {
|
|
131
|
+
font-family: var(--wpds-font-family-heading, -apple-system, system-ui, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif);
|
|
132
|
+
font-size: var(--wpds-font-size-xl, 20px);
|
|
133
|
+
font-weight: var(--wpds-font-weight-medium, 499);
|
|
134
|
+
line-height: var(--wpds-font-line-height-xl, 32px);
|
|
135
|
+
margin: 0;
|
|
136
|
+
overflow: hidden;
|
|
137
|
+
text-overflow: ellipsis;
|
|
138
|
+
white-space: nowrap;
|
|
139
|
+
}
|
|
140
|
+
|
|
219
141
|
.admin-ui-page__sidebar-toggle-slot:empty {
|
|
220
142
|
display: none;
|
|
221
143
|
}
|
|
222
144
|
|
|
223
145
|
.admin-ui-page__header-subtitle {
|
|
224
|
-
padding-block-end:
|
|
225
|
-
color: #
|
|
226
|
-
font-
|
|
227
|
-
|
|
228
|
-
font-size: 13px;
|
|
229
|
-
line-height: 20px;
|
|
146
|
+
padding-block-end: var(--wpds-dimension-padding-xs, 4px);
|
|
147
|
+
color: var(--wpds-color-fg-content-neutral-weak, #6d6d6d);
|
|
148
|
+
font-size: var(--wpds-font-size-md, 13px);
|
|
149
|
+
line-height: var(--wpds-font-line-height-md, 24px);
|
|
230
150
|
margin: 0;
|
|
231
151
|
}
|
|
232
152
|
|
|
@@ -238,12 +158,12 @@
|
|
|
238
158
|
}
|
|
239
159
|
|
|
240
160
|
.admin-ui-page__content.has-padding {
|
|
241
|
-
padding: 16px 24px;
|
|
161
|
+
padding: var(--wpds-dimension-padding-lg, 16px) var(--wpds-dimension-padding-2xl, 24px);
|
|
242
162
|
}
|
|
243
163
|
|
|
244
164
|
.show-icon-labels .admin-ui-page__header-actions .components-button.has-icon {
|
|
245
165
|
width: auto;
|
|
246
|
-
padding: 0
|
|
166
|
+
padding: 0 var(--wpds-dimension-padding-xs, 4px);
|
|
247
167
|
}
|
|
248
168
|
|
|
249
169
|
.show-icon-labels .admin-ui-page__header-actions .components-button.has-icon svg {
|
|
@@ -252,9 +172,54 @@
|
|
|
252
172
|
|
|
253
173
|
.show-icon-labels .admin-ui-page__header-actions .components-button.has-icon::after {
|
|
254
174
|
content: attr(aria-label);
|
|
255
|
-
font-size: 12px;
|
|
175
|
+
font-size: var(--wpds-font-size-sm, 12px);
|
|
256
176
|
}
|
|
257
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
|
+
*/
|
|
258
223
|
.admin-ui-breadcrumbs__list {
|
|
259
224
|
list-style: none;
|
|
260
225
|
padding: 0;
|
|
@@ -2683,7 +2648,7 @@ div.dataviews-view-list {
|
|
|
2683
2648
|
}
|
|
2684
2649
|
|
|
2685
2650
|
.dataforms-layouts-panel__field-dropdown .components-popover__content {
|
|
2686
|
-
min-width:
|
|
2651
|
+
min-width: 256px;
|
|
2687
2652
|
padding: 16px;
|
|
2688
2653
|
}
|
|
2689
2654
|
|
|
@@ -3242,6 +3207,50 @@ fieldset.fields__media-edit .fields__media-edit-expanded:not(.is-empty) .fields_
|
|
|
3242
3207
|
aspect-ratio: var(--fields-media-edit-expanded-multiple-aspect-ratio, 3/2);
|
|
3243
3208
|
}
|
|
3244
3209
|
|
|
3210
|
+
.fields-controls__author-avatar {
|
|
3211
|
+
flex-shrink: 0;
|
|
3212
|
+
overflow: hidden;
|
|
3213
|
+
width: 24px;
|
|
3214
|
+
height: 24px;
|
|
3215
|
+
align-items: center;
|
|
3216
|
+
justify-content: right;
|
|
3217
|
+
display: flex;
|
|
3218
|
+
}
|
|
3219
|
+
|
|
3220
|
+
.fields-controls__author-avatar img {
|
|
3221
|
+
width: 16px;
|
|
3222
|
+
height: 16px;
|
|
3223
|
+
object-fit: cover;
|
|
3224
|
+
opacity: 0;
|
|
3225
|
+
border-radius: 100%;
|
|
3226
|
+
}
|
|
3227
|
+
|
|
3228
|
+
@media not (prefers-reduced-motion) {
|
|
3229
|
+
.fields-controls__author-avatar img {
|
|
3230
|
+
transition: opacity 0.1s linear;
|
|
3231
|
+
}
|
|
3232
|
+
}
|
|
3233
|
+
.fields-controls__author-avatar.is-loaded img {
|
|
3234
|
+
opacity: 1;
|
|
3235
|
+
}
|
|
3236
|
+
|
|
3237
|
+
.fields-controls__author-icon {
|
|
3238
|
+
display: flex;
|
|
3239
|
+
flex-shrink: 0;
|
|
3240
|
+
width: 24px;
|
|
3241
|
+
height: 24px;
|
|
3242
|
+
}
|
|
3243
|
+
|
|
3244
|
+
.fields-controls__author-icon svg {
|
|
3245
|
+
margin-right: -4px;
|
|
3246
|
+
fill: currentColor;
|
|
3247
|
+
}
|
|
3248
|
+
|
|
3249
|
+
.fields-controls__author-name {
|
|
3250
|
+
text-overflow: ellipsis;
|
|
3251
|
+
overflow: hidden;
|
|
3252
|
+
}
|
|
3253
|
+
|
|
3245
3254
|
.fields-controls__slug {
|
|
3246
3255
|
border: 0;
|
|
3247
3256
|
padding: 0;
|
|
@@ -3294,6 +3303,16 @@ fieldset.fields__media-edit .fields__media-edit-expanded:not(.is-empty) .fields_
|
|
|
3294
3303
|
margin: 0;
|
|
3295
3304
|
}
|
|
3296
3305
|
|
|
3306
|
+
.fields-controls__status-icon {
|
|
3307
|
+
height: 24px;
|
|
3308
|
+
width: 24px;
|
|
3309
|
+
}
|
|
3310
|
+
|
|
3311
|
+
.fields-controls__status-icon svg {
|
|
3312
|
+
fill: currentColor;
|
|
3313
|
+
margin-right: -4px;
|
|
3314
|
+
}
|
|
3315
|
+
|
|
3297
3316
|
.fields-field__title > span:first-child {
|
|
3298
3317
|
text-overflow: ellipsis;
|
|
3299
3318
|
overflow: hidden;
|
|
@@ -4387,47 +4406,6 @@ button.font-library__upload-area {
|
|
|
4387
4406
|
z-index: 2;
|
|
4388
4407
|
}
|
|
4389
4408
|
|
|
4390
|
-
.page-templates-author-field__avatar {
|
|
4391
|
-
flex-shrink: 0;
|
|
4392
|
-
overflow: hidden;
|
|
4393
|
-
width: 24px;
|
|
4394
|
-
height: 24px;
|
|
4395
|
-
align-items: center;
|
|
4396
|
-
justify-content: right;
|
|
4397
|
-
display: flex;
|
|
4398
|
-
}
|
|
4399
|
-
.page-templates-author-field__avatar img {
|
|
4400
|
-
width: 16px;
|
|
4401
|
-
height: 16px;
|
|
4402
|
-
object-fit: cover;
|
|
4403
|
-
opacity: 0;
|
|
4404
|
-
border-radius: 100%;
|
|
4405
|
-
}
|
|
4406
|
-
@media not (prefers-reduced-motion) {
|
|
4407
|
-
.page-templates-author-field__avatar img {
|
|
4408
|
-
transition: opacity 0.1s linear;
|
|
4409
|
-
}
|
|
4410
|
-
}
|
|
4411
|
-
.page-templates-author-field__avatar.is-loaded img {
|
|
4412
|
-
opacity: 1;
|
|
4413
|
-
}
|
|
4414
|
-
|
|
4415
|
-
.page-templates-author-field__icon {
|
|
4416
|
-
display: flex;
|
|
4417
|
-
flex-shrink: 0;
|
|
4418
|
-
width: 24px;
|
|
4419
|
-
height: 24px;
|
|
4420
|
-
}
|
|
4421
|
-
.page-templates-author-field__icon svg {
|
|
4422
|
-
margin-right: -4px;
|
|
4423
|
-
fill: currentColor;
|
|
4424
|
-
}
|
|
4425
|
-
|
|
4426
|
-
.page-templates-author-field__name {
|
|
4427
|
-
text-overflow: ellipsis;
|
|
4428
|
-
overflow: hidden;
|
|
4429
|
-
}
|
|
4430
|
-
|
|
4431
4409
|
.edit-site-list__rename-modal {
|
|
4432
4410
|
z-index: 1000001;
|
|
4433
4411
|
}
|
|
@@ -5357,15 +5335,6 @@ html.canvas-mode-edit-transition::view-transition-group(toggle) {
|
|
|
5357
5335
|
background: rgba(var(--wp-admin-theme-color--rgb), 0.04);
|
|
5358
5336
|
}
|
|
5359
5337
|
|
|
5360
|
-
.edit-site-post-list__status-icon {
|
|
5361
|
-
height: 24px;
|
|
5362
|
-
width: 24px;
|
|
5363
|
-
}
|
|
5364
|
-
.edit-site-post-list__status-icon svg {
|
|
5365
|
-
fill: currentColor;
|
|
5366
|
-
margin-right: -4px;
|
|
5367
|
-
}
|
|
5368
|
-
|
|
5369
5338
|
.fields-controls__password {
|
|
5370
5339
|
border-top: 1px solid #e0e0e0;
|
|
5371
5340
|
padding-top: 16px;
|
package/build-style/style.css
CHANGED
|
@@ -107,100 +107,11 @@
|
|
|
107
107
|
}
|
|
108
108
|
}
|
|
109
109
|
|
|
110
|
-
/**
|
|
111
|
-
* Colors
|
|
112
|
-
*/
|
|
113
|
-
/**
|
|
114
|
-
* SCSS Variables.
|
|
115
|
-
*
|
|
116
|
-
* Please use variables from this sheet to ensure consistency across the UI.
|
|
117
|
-
* Don't add to this sheet unless you're pretty sure the value will be reused in many places.
|
|
118
|
-
* For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
|
|
119
|
-
*/
|
|
120
|
-
/**
|
|
121
|
-
* Fonts & basic variables.
|
|
122
|
-
*/
|
|
123
|
-
/**
|
|
124
|
-
* Typography
|
|
125
|
-
*/
|
|
126
|
-
/**
|
|
127
|
-
* Grid System.
|
|
128
|
-
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
|
|
129
|
-
*/
|
|
130
|
-
/**
|
|
131
|
-
* Radius scale.
|
|
132
|
-
*/
|
|
133
|
-
/**
|
|
134
|
-
* Elevation scale.
|
|
135
|
-
*/
|
|
136
|
-
/**
|
|
137
|
-
* Dimensions.
|
|
138
|
-
*/
|
|
139
|
-
/**
|
|
140
|
-
* Mobile specific styles
|
|
141
|
-
*/
|
|
142
|
-
/**
|
|
143
|
-
* Editor styles.
|
|
144
|
-
*/
|
|
145
|
-
/**
|
|
146
|
-
* Block & Editor UI.
|
|
147
|
-
*/
|
|
148
|
-
/**
|
|
149
|
-
* Block paddings.
|
|
150
|
-
*/
|
|
151
|
-
/**
|
|
152
|
-
* React Native specific.
|
|
153
|
-
* These variables do not appear to be used anywhere else.
|
|
154
|
-
*/
|
|
155
|
-
/**
|
|
156
|
-
* Typography
|
|
157
|
-
*/
|
|
158
|
-
/**
|
|
159
|
-
* Breakpoints & Media Queries
|
|
160
|
-
*/
|
|
161
|
-
/**
|
|
162
|
-
* Converts a hex value into the rgb equivalent.
|
|
163
|
-
*
|
|
164
|
-
* @param {string} hex - the hexadecimal value to convert
|
|
165
|
-
* @return {string} comma separated rgb values
|
|
166
|
-
*/
|
|
167
|
-
/**
|
|
168
|
-
* Long content fade mixin
|
|
169
|
-
*
|
|
170
|
-
* Creates a fading overlay to signify that the content is longer
|
|
171
|
-
* than the space allows.
|
|
172
|
-
*/
|
|
173
|
-
/**
|
|
174
|
-
* Breakpoint mixins
|
|
175
|
-
*/
|
|
176
|
-
/**
|
|
177
|
-
* Focus styles.
|
|
178
|
-
*/
|
|
179
|
-
/**
|
|
180
|
-
* Applies editor left position to the selector passed as argument
|
|
181
|
-
*/
|
|
182
|
-
/**
|
|
183
|
-
* Styles that are reused verbatim in a few places
|
|
184
|
-
*/
|
|
185
|
-
/**
|
|
186
|
-
* Allows users to opt-out of animations via OS-level preferences.
|
|
187
|
-
*/
|
|
188
|
-
/**
|
|
189
|
-
* Reset default styles for JavaScript UI based pages.
|
|
190
|
-
* This is a WP-admin agnostic reset
|
|
191
|
-
*/
|
|
192
|
-
/**
|
|
193
|
-
* Reset the WP Admin page styles for Gutenberg-like pages.
|
|
194
|
-
*/
|
|
195
|
-
/**
|
|
196
|
-
* Creates a checkerboard pattern background to indicate transparency.
|
|
197
|
-
* @param {String} $size - The size of the squares in the checkerboard pattern. Default is 12px.
|
|
198
|
-
*/
|
|
199
110
|
.admin-ui-page {
|
|
200
111
|
display: flex;
|
|
201
112
|
height: 100%;
|
|
202
|
-
background-color: #
|
|
203
|
-
color: #
|
|
113
|
+
background-color: var(--wpds-color-bg-surface-neutral-strong, #ffffff);
|
|
114
|
+
color: var(--wpds-color-fg-content-neutral, #1e1e1e);
|
|
204
115
|
position: relative;
|
|
205
116
|
z-index: 1;
|
|
206
117
|
flex-flow: column;
|
|
@@ -208,25 +119,34 @@
|
|
|
208
119
|
}
|
|
209
120
|
|
|
210
121
|
.admin-ui-page__header {
|
|
211
|
-
padding: 16px 24px;
|
|
212
|
-
border-bottom: 1px solid #
|
|
213
|
-
background: #
|
|
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, #e0e0e0);
|
|
124
|
+
background: var(--wpds-color-bg-surface-neutral-strong, #ffffff);
|
|
214
125
|
position: sticky;
|
|
215
126
|
top: 0;
|
|
216
127
|
z-index: 1;
|
|
217
128
|
}
|
|
218
129
|
|
|
130
|
+
.admin-ui-page__header-title {
|
|
131
|
+
font-family: var(--wpds-font-family-heading, -apple-system, system-ui, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif);
|
|
132
|
+
font-size: var(--wpds-font-size-xl, 20px);
|
|
133
|
+
font-weight: var(--wpds-font-weight-medium, 499);
|
|
134
|
+
line-height: var(--wpds-font-line-height-xl, 32px);
|
|
135
|
+
margin: 0;
|
|
136
|
+
overflow: hidden;
|
|
137
|
+
text-overflow: ellipsis;
|
|
138
|
+
white-space: nowrap;
|
|
139
|
+
}
|
|
140
|
+
|
|
219
141
|
.admin-ui-page__sidebar-toggle-slot:empty {
|
|
220
142
|
display: none;
|
|
221
143
|
}
|
|
222
144
|
|
|
223
145
|
.admin-ui-page__header-subtitle {
|
|
224
|
-
padding-block-end:
|
|
225
|
-
color: #
|
|
226
|
-
font-
|
|
227
|
-
|
|
228
|
-
font-size: 13px;
|
|
229
|
-
line-height: 20px;
|
|
146
|
+
padding-block-end: var(--wpds-dimension-padding-xs, 4px);
|
|
147
|
+
color: var(--wpds-color-fg-content-neutral-weak, #6d6d6d);
|
|
148
|
+
font-size: var(--wpds-font-size-md, 13px);
|
|
149
|
+
line-height: var(--wpds-font-line-height-md, 24px);
|
|
230
150
|
margin: 0;
|
|
231
151
|
}
|
|
232
152
|
|
|
@@ -238,12 +158,12 @@
|
|
|
238
158
|
}
|
|
239
159
|
|
|
240
160
|
.admin-ui-page__content.has-padding {
|
|
241
|
-
padding: 16px 24px;
|
|
161
|
+
padding: var(--wpds-dimension-padding-lg, 16px) var(--wpds-dimension-padding-2xl, 24px);
|
|
242
162
|
}
|
|
243
163
|
|
|
244
164
|
.show-icon-labels .admin-ui-page__header-actions .components-button.has-icon {
|
|
245
165
|
width: auto;
|
|
246
|
-
padding: 0
|
|
166
|
+
padding: 0 var(--wpds-dimension-padding-xs, 4px);
|
|
247
167
|
}
|
|
248
168
|
|
|
249
169
|
.show-icon-labels .admin-ui-page__header-actions .components-button.has-icon svg {
|
|
@@ -252,9 +172,54 @@
|
|
|
252
172
|
|
|
253
173
|
.show-icon-labels .admin-ui-page__header-actions .components-button.has-icon::after {
|
|
254
174
|
content: attr(aria-label);
|
|
255
|
-
font-size: 12px;
|
|
175
|
+
font-size: var(--wpds-font-size-sm, 12px);
|
|
256
176
|
}
|
|
257
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
|
+
*/
|
|
258
223
|
.admin-ui-breadcrumbs__list {
|
|
259
224
|
list-style: none;
|
|
260
225
|
padding: 0;
|
|
@@ -2683,7 +2648,7 @@ div.dataviews-view-list {
|
|
|
2683
2648
|
}
|
|
2684
2649
|
|
|
2685
2650
|
.dataforms-layouts-panel__field-dropdown .components-popover__content {
|
|
2686
|
-
min-width:
|
|
2651
|
+
min-width: 256px;
|
|
2687
2652
|
padding: 16px;
|
|
2688
2653
|
}
|
|
2689
2654
|
|
|
@@ -3242,6 +3207,50 @@ fieldset.fields__media-edit .fields__media-edit-expanded:not(.is-empty) .fields_
|
|
|
3242
3207
|
aspect-ratio: var(--fields-media-edit-expanded-multiple-aspect-ratio, 3/2);
|
|
3243
3208
|
}
|
|
3244
3209
|
|
|
3210
|
+
.fields-controls__author-avatar {
|
|
3211
|
+
flex-shrink: 0;
|
|
3212
|
+
overflow: hidden;
|
|
3213
|
+
width: 24px;
|
|
3214
|
+
height: 24px;
|
|
3215
|
+
align-items: center;
|
|
3216
|
+
justify-content: left;
|
|
3217
|
+
display: flex;
|
|
3218
|
+
}
|
|
3219
|
+
|
|
3220
|
+
.fields-controls__author-avatar img {
|
|
3221
|
+
width: 16px;
|
|
3222
|
+
height: 16px;
|
|
3223
|
+
object-fit: cover;
|
|
3224
|
+
opacity: 0;
|
|
3225
|
+
border-radius: 100%;
|
|
3226
|
+
}
|
|
3227
|
+
|
|
3228
|
+
@media not (prefers-reduced-motion) {
|
|
3229
|
+
.fields-controls__author-avatar img {
|
|
3230
|
+
transition: opacity 0.1s linear;
|
|
3231
|
+
}
|
|
3232
|
+
}
|
|
3233
|
+
.fields-controls__author-avatar.is-loaded img {
|
|
3234
|
+
opacity: 1;
|
|
3235
|
+
}
|
|
3236
|
+
|
|
3237
|
+
.fields-controls__author-icon {
|
|
3238
|
+
display: flex;
|
|
3239
|
+
flex-shrink: 0;
|
|
3240
|
+
width: 24px;
|
|
3241
|
+
height: 24px;
|
|
3242
|
+
}
|
|
3243
|
+
|
|
3244
|
+
.fields-controls__author-icon svg {
|
|
3245
|
+
margin-left: -4px;
|
|
3246
|
+
fill: currentColor;
|
|
3247
|
+
}
|
|
3248
|
+
|
|
3249
|
+
.fields-controls__author-name {
|
|
3250
|
+
text-overflow: ellipsis;
|
|
3251
|
+
overflow: hidden;
|
|
3252
|
+
}
|
|
3253
|
+
|
|
3245
3254
|
.fields-controls__slug {
|
|
3246
3255
|
border: 0;
|
|
3247
3256
|
padding: 0;
|
|
@@ -3294,6 +3303,16 @@ fieldset.fields__media-edit .fields__media-edit-expanded:not(.is-empty) .fields_
|
|
|
3294
3303
|
margin: 0;
|
|
3295
3304
|
}
|
|
3296
3305
|
|
|
3306
|
+
.fields-controls__status-icon {
|
|
3307
|
+
height: 24px;
|
|
3308
|
+
width: 24px;
|
|
3309
|
+
}
|
|
3310
|
+
|
|
3311
|
+
.fields-controls__status-icon svg {
|
|
3312
|
+
fill: currentColor;
|
|
3313
|
+
margin-left: -4px;
|
|
3314
|
+
}
|
|
3315
|
+
|
|
3297
3316
|
.fields-field__title > span:first-child {
|
|
3298
3317
|
text-overflow: ellipsis;
|
|
3299
3318
|
overflow: hidden;
|
|
@@ -4390,47 +4409,6 @@ button.font-library__upload-area {
|
|
|
4390
4409
|
z-index: 2;
|
|
4391
4410
|
}
|
|
4392
4411
|
|
|
4393
|
-
.page-templates-author-field__avatar {
|
|
4394
|
-
flex-shrink: 0;
|
|
4395
|
-
overflow: hidden;
|
|
4396
|
-
width: 24px;
|
|
4397
|
-
height: 24px;
|
|
4398
|
-
align-items: center;
|
|
4399
|
-
justify-content: left;
|
|
4400
|
-
display: flex;
|
|
4401
|
-
}
|
|
4402
|
-
.page-templates-author-field__avatar img {
|
|
4403
|
-
width: 16px;
|
|
4404
|
-
height: 16px;
|
|
4405
|
-
object-fit: cover;
|
|
4406
|
-
opacity: 0;
|
|
4407
|
-
border-radius: 100%;
|
|
4408
|
-
}
|
|
4409
|
-
@media not (prefers-reduced-motion) {
|
|
4410
|
-
.page-templates-author-field__avatar img {
|
|
4411
|
-
transition: opacity 0.1s linear;
|
|
4412
|
-
}
|
|
4413
|
-
}
|
|
4414
|
-
.page-templates-author-field__avatar.is-loaded img {
|
|
4415
|
-
opacity: 1;
|
|
4416
|
-
}
|
|
4417
|
-
|
|
4418
|
-
.page-templates-author-field__icon {
|
|
4419
|
-
display: flex;
|
|
4420
|
-
flex-shrink: 0;
|
|
4421
|
-
width: 24px;
|
|
4422
|
-
height: 24px;
|
|
4423
|
-
}
|
|
4424
|
-
.page-templates-author-field__icon svg {
|
|
4425
|
-
margin-left: -4px;
|
|
4426
|
-
fill: currentColor;
|
|
4427
|
-
}
|
|
4428
|
-
|
|
4429
|
-
.page-templates-author-field__name {
|
|
4430
|
-
text-overflow: ellipsis;
|
|
4431
|
-
overflow: hidden;
|
|
4432
|
-
}
|
|
4433
|
-
|
|
4434
4412
|
.edit-site-list__rename-modal {
|
|
4435
4413
|
z-index: 1000001;
|
|
4436
4414
|
}
|
|
@@ -5360,15 +5338,6 @@ html.canvas-mode-edit-transition::view-transition-group(toggle) {
|
|
|
5360
5338
|
background: rgba(var(--wp-admin-theme-color--rgb), 0.04);
|
|
5361
5339
|
}
|
|
5362
5340
|
|
|
5363
|
-
.edit-site-post-list__status-icon {
|
|
5364
|
-
height: 24px;
|
|
5365
|
-
width: 24px;
|
|
5366
|
-
}
|
|
5367
|
-
.edit-site-post-list__status-icon svg {
|
|
5368
|
-
fill: currentColor;
|
|
5369
|
-
margin-left: -4px;
|
|
5370
|
-
}
|
|
5371
|
-
|
|
5372
5341
|
.fields-controls__password {
|
|
5373
5342
|
border-top: 1px solid #e0e0e0;
|
|
5374
5343
|
padding-top: 16px;
|