PluginProbe
Gutenberg / 23.3.2
Gutenberg v23.3.2
23.9.1 23.9.0 23.8.0 23.7.2 23.7.1 23.7.0 23.6.1 23.6.2 23.6.0 23.5.3 23.5.2 23.5.1 23.5.0 23.4.0 23.3.2 23.3.1 23.3.0 23.2.0 23.2.1 23.2.2 23.1.1 23.1.0 23.0.1 12.6.0 7.4.0 All 402 releases
gutenberg / build / styles / edit-site / style-rtl.css

style-rtl.css in Gutenberg 23.3.2, at build/styles/edit-site/style-rtl.css

5,572 lines 164.5 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 @charset "UTF-8";
2 /**
3 * Colors
4 */
5 /**
6 * Typography
7 */
8 /**
9 * SCSS Variables.
10 *
11 * Please use variables from this sheet to ensure consistency across the UI.
12 * Don't add to this sheet unless you're pretty sure the value will be reused in many places.
13 * For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
14 */
15 /**
16 * Fonts & basic variables.
17 */
18 /**
19 * Typography
20 */
21 /**
22 * Grid System.
23 * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
24 */
25 /**
26 * Radius scale.
27 */
28 /**
29 * Elevation scale.
30 */
31 /**
32 * Dimensions.
33 */
34 /**
35 * Mobile specific styles
36 */
37 /**
38 * Editor styles.
39 */
40 /**
41 * Block & Editor UI.
42 */
43 /**
44 * Block paddings.
45 */
46 /**
47 * React Native specific.
48 * These variables do not appear to be used anywhere else.
49 */
50 /**
51 * Breakpoints & Media Queries
52 */
53 /**
54 * Converts a hex value into the rgb equivalent.
55 *
56 * @param {string} hex - the hexadecimal value to convert
57 * @return {string} comma separated rgb values
58 */
59 /**
60 * Long content fade mixin
61 *
62 * Creates a fading overlay to signify that the content is longer
63 * than the space allows.
64 */
65 /**
66 * Breakpoint mixins
67 */
68 /**
69 * Focus styles.
70 */
71 /**
72 * Applies editor left position to the selector passed as argument
73 */
74 /**
75 * Styles that are reused verbatim in a few places
76 */
77 /**
78 * Allows users to opt-out of animations via OS-level preferences.
79 */
80 /**
81 * Reset default styles for JavaScript UI based pages.
82 * This is a WP-admin agnostic reset
83 */
84 /**
85 * Reset the WP Admin page styles for Gutenberg-like pages.
86 */
87 /**
88 * Creates a checkerboard pattern background to indicate transparency.
89 * @param {String} $size - The size of the squares in the checkerboard pattern. Default is 12px.
90 */
91 :root {
92 --wp-block-synced-color: #7a00df;
93 --wp-block-synced-color--rgb: 122, 0, 223;
94 --wp-bound-block-color: var(--wp-block-synced-color);
95 --wp-editor-canvas-background: #ddd;
96 --wp-admin-theme-color: #007cba;
97 --wp-admin-theme-color--rgb: 0, 124, 186;
98 --wp-admin-theme-color-darker-10: rgb(0, 107, 160.5);
99 --wp-admin-theme-color-darker-10--rgb: 0, 107, 160.5;
100 --wp-admin-theme-color-darker-20: #005a87;
101 --wp-admin-theme-color-darker-20--rgb: 0, 90, 135;
102 --wp-admin-border-width-focus: 2px;
103 }
104 @media (min-resolution: 192dpi) {
105 :root {
106 --wp-admin-border-width-focus: 1.5px;
107 }
108 }
109
110 /**
111 * Typography
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 * Colors
122 */
123 /**
124 * Fonts & basic variables.
125 */
126 /**
127 * Typography
128 */
129 /**
130 * Grid System.
131 * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
132 */
133 /**
134 * Radius scale.
135 */
136 /**
137 * Elevation scale.
138 */
139 /**
140 * Dimensions.
141 */
142 /**
143 * Mobile specific styles
144 */
145 /**
146 * Editor styles.
147 */
148 /**
149 * Block & Editor UI.
150 */
151 /**
152 * Block paddings.
153 */
154 /**
155 * React Native specific.
156 * These variables do not appear to be used anywhere else.
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 .dataviews-wrapper,
200 .dataviews-picker-wrapper {
201 height: 100%;
202 flex-grow: 1;
203 min-height: 0;
204 box-sizing: border-box;
205 scroll-padding-bottom: calc(var(--wpds-dimension-base, 4px) * 16);
206 /* stylelint-disable-next-line property-no-unknown -- '@container' not globally permitted */
207 container: dataviews-wrapper/inline-size;
208 display: flex;
209 flex-direction: column;
210 font-size: var(--wpds-typography-font-size-md, 13px);
211 line-height: var(--wpds-typography-line-height-sm, 20px);
212 background-color: var(--wp-dataviews-color-background, var(--wpds-color-bg-surface-neutral-strong, #fff));
213 }
214
215 .dataviews__view-actions,
216 .dataviews-filters__container {
217 box-sizing: border-box;
218 padding: var(--wpds-dimension-padding-lg, 16px) var(--wpds-dimension-padding-2xl, 24px);
219 flex-shrink: 0;
220 position: sticky;
221 right: 0;
222 background-color: inherit;
223 }
224
225 @media not (prefers-reduced-motion) {
226 .dataviews__view-actions,
227 .dataviews-filters__container {
228 transition: padding ease-out 0.1s;
229 }
230 }
231 .dataviews-no-results,
232 .dataviews-loading {
233 padding: 0 var(--wpds-dimension-padding-2xl, 24px);
234 flex-grow: 1;
235 display: flex;
236 align-items: center;
237 justify-content: center;
238 }
239
240 @media not (prefers-reduced-motion) {
241 .dataviews-no-results,
242 .dataviews-loading {
243 transition: padding ease-out 0.1s;
244 }
245 }
246 .dataviews-no-results.is-refreshing {
247 opacity: 0.5;
248 pointer-events: none;
249 }
250
251 @media not (prefers-reduced-motion) {
252 .dataviews-no-results.is-refreshing {
253 opacity: 1;
254 animation: dataviews-pulse 1s ease-in-out infinite;
255 }
256 }
257 @keyframes dataviews-pulse {
258 0%, 100% {
259 opacity: 1;
260 }
261 50% {
262 opacity: 0.5;
263 }
264 }
265 .dataviews-loading-more {
266 text-align: center;
267 }
268
269 @container (max-width: 430px) {
270 .dataviews__view-actions,
271 .dataviews-filters__container {
272 padding: var(--wpds-dimension-padding-md, 12px) var(--wpds-dimension-padding-2xl, 24px);
273 }
274 }
275 .dataviews-title-field {
276 font-size: var(--wpds-typography-font-size-md, 13px);
277 font-weight: var(--wpds-typography-font-weight-medium, 499);
278 color: var(--wpds-color-fg-content-neutral, #1e1e1e);
279 text-overflow: ellipsis;
280 white-space: nowrap;
281 width: 100%;
282 }
283
284 .dataviews-title-field a {
285 text-decoration: none;
286 text-overflow: ellipsis;
287 white-space: nowrap;
288 overflow: hidden;
289 display: block;
290 flex-grow: 0;
291 color: var(--wpds-color-fg-interactive-neutral, #1e1e1e);
292 }
293
294 .dataviews-title-field a:hover {
295 color: var(--wpds-color-fg-interactive-brand, var(--wp-admin-theme-color, #3858e9));
296 }
297
298 .dataviews-title-field a:focus {
299 color: var(--wp-admin-theme-color--rgb);
300 box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color, #007cba);
301 border-radius: 2px;
302 }
303
304 .dataviews-title-field button.components-button.is-link {
305 text-decoration: none;
306 font-weight: inherit;
307 text-overflow: ellipsis;
308 white-space: nowrap;
309 overflow: hidden;
310 display: block;
311 width: 100%;
312 color: var(--wpds-color-fg-interactive-neutral-active, #1e1e1e);
313 }
314
315 .dataviews-title-field button.components-button.is-link:hover {
316 color: var(--wpds-color-fg-interactive-brand, var(--wp-admin-theme-color, #3858e9));
317 }
318
319 .dataviews-title-field--clickable {
320 cursor: var(--wpds-cursor-control, pointer);
321 color: var(--wpds-color-fg-interactive-neutral, #1e1e1e);
322 }
323
324 .dataviews-title-field--clickable:hover {
325 color: var(--wpds-color-fg-interactive-brand, var(--wp-admin-theme-color, #3858e9));
326 }
327
328 .dataviews-title-field--clickable:focus {
329 color: var(--wp-admin-theme-color--rgb);
330 box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color, #007cba);
331 border-radius: 2px;
332 }
333
334 .dataviews__view-actions--infinite-scroll {
335 position: sticky;
336 top: 0;
337 z-index: 2;
338 background-color: #fff;
339 }
340
341 /**
342 * When DataViews are placed within cards, apply a consistent top padding.
343 */
344 .components-card__body:has(> .dataviews-wrapper),
345 .components-card__body:has(> .dataviews-picker-wrapper) {
346 padding: var(--wpds-dimension-padding-sm, 8px) 0 0;
347 overflow: hidden;
348 }
349
350 .dataviews-bulk-actions-footer__item-count {
351 color: var(--wpds-color-fg-content-neutral, #1e1e1e);
352 }
353
354 .dataviews-bulk-actions-footer__container {
355 margin-left: auto;
356 min-height: calc(var(--wpds-dimension-base, 4px) * 8);
357 }
358
359 .dataviews-layout__container {
360 flex: 1;
361 min-height: 0;
362 overflow: auto;
363 display: flex;
364 flex-direction: column;
365 background-color: inherit;
366 }
367
368 .dataviews-filters__button {
369 position: relative;
370 }
371
372 .dataviews-filters__container {
373 padding-top: 0;
374 }
375
376 .dataviews-filters__reset-button.dataviews-filters__reset-button[aria-disabled=true], .dataviews-filters__reset-button.dataviews-filters__reset-button[aria-disabled=true]:hover {
377 opacity: 0;
378 }
379
380 .dataviews-filters__reset-button.dataviews-filters__reset-button[aria-disabled=true]:focus {
381 opacity: 1;
382 }
383
384 .dataviews-filters__summary-popover {
385 font-size: var(--wpds-typography-font-size-md, 13px);
386 line-height: var(--wpds-typography-line-height-sm, 20px);
387 }
388
389 .dataviews-filters__summary-popover .components-popover__content {
390 width: 100%;
391 min-width: 230px;
392 max-width: 250px;
393 border-radius: var(--wpds-border-radius-md, 4px);
394 }
395
396 .dataviews-filters__summary-popover.components-dropdown__content .components-popover__content {
397 padding: 0;
398 }
399
400 .dataviews-filters__summary-operators-container {
401 padding: var(--wpds-dimension-padding-sm, 8px) var(--wpds-dimension-padding-lg, 16px);
402 }
403
404 .dataviews-filters__summary-operators-container:has(+ .dataviews-filters__search-widget-listbox), .dataviews-filters__summary-operators-container:has(+ .dataviews-filters__search-widget-no-elements), .dataviews-filters__summary-operators-container:has(+ .dataviews-filters__user-input-widget) {
405 border-bottom: 1px solid var(--wpds-color-stroke-surface-neutral, #dbdbdb);
406 }
407
408 .dataviews-filters__summary-operators-container:empty {
409 display: none;
410 }
411
412 .dataviews-filters__summary-operators-container .dataviews-filters__summary-operators-filter-name {
413 color: var(--wpds-color-fg-content-neutral-weak, #707070);
414 white-space: nowrap;
415 overflow: hidden;
416 text-overflow: ellipsis;
417 flex-shrink: 0; /* Prevents this element from shrinking */
418 max-width: calc(100% - 55px);
419 }
420
421 .dataviews-filters__summary-operators-container .dataviews-filters__summary-operators-filter-select {
422 width: 100%;
423 white-space: nowrap;
424 overflow: hidden;
425 }
426
427 .dataviews-filters__summary-chip-container {
428 position: relative;
429 white-space: pre-wrap;
430 }
431
432 .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip {
433 border-radius: var(--wpds-border-radius-lg, 8px);
434 border: var(--wpds-border-width-xs, 1px) solid var(--wpds-color-stroke-interactive-neutral, #8d8d8d);
435 cursor: var(--wpds-cursor-control, pointer);
436 padding: var(--wpds-dimension-padding-xs, 4px) var(--wpds-dimension-padding-md, 12px);
437 min-height: calc(var(--wpds-dimension-base, 4px) * 8);
438 color: var(--wpds-color-fg-interactive-neutral, #1e1e1e);
439 position: relative;
440 display: flex;
441 align-items: center;
442 box-sizing: border-box;
443 }
444
445 .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip.is-not-clickable {
446 cursor: default;
447 }
448
449 .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip.has-reset {
450 padding-inline-end: calc(24px + var(--wpds-dimension-padding-xs, 4px));
451 }
452
453 .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip:hover:not(.dataviews-filters__summary-chip-container .dataviews-filters__summary-chip.is-not-clickable), .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip:focus-visible, .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip[aria-expanded=true] {
454 color: var(--wpds-color-fg-interactive-neutral, #1e1e1e);
455 border-color: var(--wpds-color-stroke-interactive-neutral-active, #6e6e6e);
456 background-color: var(--wpds-color-bg-interactive-neutral-weak-active, #ededed);
457 }
458
459 .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip.has-values {
460 color: var(--wpds-color-fg-interactive-brand, var(--wp-admin-theme-color, #3858e9));
461 background: var(--wpds-color-bg-interactive-brand-weak, rgba(0, 0, 0, 0));
462 border-color: var(--wpds-color-stroke-interactive-brand, var(--wp-admin-theme-color, #3858e9));
463 }
464
465 .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip.has-values:hover:not(.dataviews-filters__summary-chip-container .dataviews-filters__summary-chip.has-values.is-not-clickable), .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip.has-values[aria-expanded=true] {
466 color: var(--wpds-color-fg-interactive-brand-active, var(--wp-admin-theme-color, #3858e9));
467 background: var(--wpds-color-bg-interactive-brand-weak-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 12%, white));
468 border-color: var(--wpds-color-stroke-interactive-brand-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 85%, black));
469 }
470
471 .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip:focus-visible {
472 outline: none;
473 box-shadow: 0 0 0 var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)) var(--wpds-color-stroke-focus-brand, var(--wp-admin-theme-color, #3858e9));
474 }
475
476 .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);
478 }
479
480 .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove {
481 width: 24px;
482 height: 24px;
483 border-radius: var(--wpds-border-radius-md, 4px);
484 border: 0;
485 padding: 0;
486 position: absolute;
487 left: var(--wpds-dimension-padding-xs, 4px);
488 top: 50%;
489 transform: translateY(-50%);
490 display: flex;
491 align-items: center;
492 justify-content: center;
493 background: transparent;
494 cursor: var(--wpds-cursor-control, pointer);
495 }
496
497 .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove svg {
498 fill: var(--wpds-color-fg-interactive-neutral, #1e1e1e);
499 }
500
501 .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove:hover, .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove:focus {
502 background: var(--wpds-color-bg-interactive-neutral-weak-active, #ededed);
503 }
504
505 .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove:hover svg, .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove:focus svg {
506 fill: var(--wpds-color-fg-interactive-neutral-active, #1e1e1e);
507 }
508
509 .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove.has-values svg {
510 fill: var(--wpds-color-fg-interactive-brand, var(--wp-admin-theme-color, #3858e9));
511 }
512
513 .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove.has-values:hover {
514 background: var(--wpds-color-bg-interactive-brand-weak-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 12%, white));
515 }
516
517 .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove:focus-visible {
518 outline: none;
519 box-shadow: 0 0 0 var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)) var(--wpds-color-stroke-focus-brand, var(--wp-admin-theme-color, #3858e9));
520 }
521
522 .dataviews-filters__search-widget-filter-combobox-list {
523 max-height: calc(var(--wpds-dimension-base, 4px) * 46);
524 padding: var(--wpds-dimension-padding-xs, 4px);
525 overflow: auto;
526 border-top: 1px solid var(--wpds-color-stroke-surface-neutral, #dbdbdb);
527 }
528
529 .dataviews-filters__search-widget-filter-combobox-list .dataviews-filters__search-widget-filter-combobox-item-value [data-user-value] {
530 font-weight: 600;
531 }
532
533 .dataviews-filters__search-widget-listbox {
534 padding: var(--wpds-dimension-padding-xs, 4px);
535 overflow: auto;
536 }
537
538 .dataviews-filters__search-widget-listitem {
539 display: flex;
540 align-items: center;
541 gap: var(--wpds-dimension-gap-md, 12px);
542 border-radius: var(--wpds-border-radius-sm, 2px);
543 box-sizing: border-box;
544 padding: var(--wpds-dimension-padding-xs, 4px) var(--wpds-dimension-padding-md, 12px);
545 cursor: default;
546 min-height: calc(var(--wpds-dimension-base, 4px) * 8);
547 font-family: -apple-system, "system-ui", "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
548 font-weight: 400;
549 font-size: 13px;
550 line-height: 20px;
551 }
552
553 .dataviews-filters__search-widget-listitem:last-child {
554 margin-block-end: 0;
555 }
556
557 .dataviews-filters__search-widget-listitem:hover, .dataviews-filters__search-widget-listitem[data-active-item], .dataviews-filters__search-widget-listitem:focus {
558 background-color: var(--wpds-color-bg-interactive-brand-weak-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 12%, white));
559 }
560
561 .dataviews-filters__search-widget-listitem:hover .dataviews-filters__search-widget-listitem-single-selection, .dataviews-filters__search-widget-listitem[data-active-item] .dataviews-filters__search-widget-listitem-single-selection, .dataviews-filters__search-widget-listitem:focus .dataviews-filters__search-widget-listitem-single-selection {
562 border-color: var(--wpds-color-stroke-interactive-brand-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 85%, black));
563 background: var(--wpds-color-bg-surface-neutral-strong, #fff);
564 }
565
566 .dataviews-filters__search-widget-listitem:hover .dataviews-filters__search-widget-listitem-single-selection.is-selected, .dataviews-filters__search-widget-listitem[data-active-item] .dataviews-filters__search-widget-listitem-single-selection.is-selected, .dataviews-filters__search-widget-listitem:focus .dataviews-filters__search-widget-listitem-single-selection.is-selected {
567 border-color: var(--wpds-color-stroke-interactive-brand-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 85%, black));
568 background: var(--wpds-color-bg-interactive-brand-strong-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 93%, black));
569 }
570
571 .dataviews-filters__search-widget-listitem:hover .dataviews-filters__search-widget-listitem-multi-selection, .dataviews-filters__search-widget-listitem[data-active-item] .dataviews-filters__search-widget-listitem-multi-selection, .dataviews-filters__search-widget-listitem:focus .dataviews-filters__search-widget-listitem-multi-selection {
572 border-color: var(--wpds-color-stroke-interactive-brand-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 85%, black));
573 background: var(--wpds-color-bg-surface-neutral-strong, #fff);
574 }
575
576 .dataviews-filters__search-widget-listitem:hover .dataviews-filters__search-widget-listitem-multi-selection.is-selected, .dataviews-filters__search-widget-listitem[data-active-item] .dataviews-filters__search-widget-listitem-multi-selection.is-selected, .dataviews-filters__search-widget-listitem:focus .dataviews-filters__search-widget-listitem-multi-selection.is-selected {
577 border-color: var(--wpds-color-stroke-interactive-brand-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 85%, black));
578 background: var(--wpds-color-bg-interactive-brand-strong-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 93%, black));
579 }
580
581 .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-value {
582 overflow: hidden;
583 text-overflow: ellipsis;
584 white-space: nowrap;
585 min-width: 0;
586 }
587
588 .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-description {
589 display: block;
590 overflow: hidden;
591 text-overflow: ellipsis;
592 font-size: var(--wpds-typography-font-size-sm, 12px);
593 line-height: 16px;
594 color: var(--wpds-color-fg-content-neutral-weak, #707070);
595 }
596
597 .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-single-selection {
598 border: 1px solid #1e1e1e;
599 margin-left: 12px;
600 transition: none;
601 border-radius: 50%;
602 width: 24px;
603 height: 24px;
604 min-width: 24px;
605 max-width: 24px;
606 position: relative;
607 }
608
609 @media not (prefers-reduced-motion) {
610 .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-single-selection {
611 transition: box-shadow 0.1s linear;
612 }
613 }
614 @media (min-width: 600px) {
615 .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-single-selection {
616 height: 16px;
617 width: 16px;
618 min-width: 16px;
619 max-width: 16px;
620 }
621 }
622 .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-single-selection:checked::before {
623 box-sizing: inherit;
624 width: 12px;
625 height: 12px;
626 position: absolute;
627 top: 50%;
628 right: 50%;
629 transform: translate(50%, -50%);
630 margin: 0;
631 background-color: #fff;
632 border: 4px solid #fff;
633 }
634
635 @media (min-width: 600px) {
636 .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-single-selection:checked::before {
637 width: 8px;
638 height: 8px;
639 }
640 }
641 .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-single-selection:focus {
642 box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--wp-admin-theme-color);
643 outline: 2px solid transparent;
644 }
645
646 .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-single-selection:checked {
647 background: var(--wp-admin-theme-color);
648 border: none;
649 }
650
651 .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-single-selection {
652 margin: 0;
653 padding: 0;
654 }
655
656 .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-single-selection.is-selected {
657 background: var(--wpds-color-bg-interactive-brand-strong, var(--wp-admin-theme-color, #3858e9));
658 border-color: var(--wpds-color-stroke-interactive-brand, var(--wp-admin-theme-color, #3858e9));
659 }
660
661 .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-single-selection.is-selected::before {
662 content: "";
663 border-radius: 50%;
664 box-sizing: inherit;
665 width: 12px;
666 height: 12px;
667 position: absolute;
668 top: 50%;
669 right: 50%;
670 transform: translate(50%, -50%);
671 margin: 0;
672 background-color: var(--wpds-color-fg-interactive-brand-strong, #fff);
673 border: 4px solid var(--wpds-color-fg-interactive-brand-strong, #fff);
674 }
675
676 @media (min-width: 600px) {
677 .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-single-selection.is-selected::before {
678 width: 8px;
679 height: 8px;
680 }
681 }
682 .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection {
683 --checkbox-size: 24px;
684 flex-shrink: 0;
685 border: 1px solid #1e1e1e;
686 margin-left: 12px;
687 transition: none;
688 border-radius: 2px;
689 font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
690 padding: 6px 8px;
691 /* Fonts smaller than 16px causes mobile safari to zoom. */
692 font-size: 16px;
693 /* Override core line-height. To be reviewed. */
694 line-height: normal;
695 box-shadow: 0 0 0 transparent;
696 border-radius: 2px;
697 border: 1px solid #949494;
698 }
699
700 @media not (prefers-reduced-motion) {
701 .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection {
702 transition: box-shadow 0.1s linear;
703 }
704 }
705 @media (min-width: 600px) {
706 .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection {
707 font-size: 13px;
708 /* Override core line-height. To be reviewed. */
709 line-height: normal;
710 }
711 }
712 .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection:focus {
713 border-color: var(--wp-admin-theme-color);
714 box-shadow: 0 0 0 0.5px var(--wp-admin-theme-color);
715 outline: 2px solid transparent;
716 }
717
718 .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection::placeholder {
719 color: rgba(30, 30, 30, 0.62);
720 }
721
722 .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection:focus {
723 box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--wp-admin-theme-color);
724 outline: 2px solid transparent;
725 }
726
727 .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection:checked {
728 background: var(--wp-admin-theme-color);
729 border-color: var(--wp-admin-theme-color);
730 }
731
732 .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection:checked::before, .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection[aria-checked=mixed]::before {
733 margin: -3px -5px;
734 color: #fff;
735 }
736
737 @media (min-width: 782px) {
738 .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection:checked::before, .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection[aria-checked=mixed]::before {
739 margin: -4px -5px 0 0;
740 }
741 }
742 .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection[aria-checked=mixed] {
743 background: var(--wp-admin-theme-color);
744 border-color: var(--wp-admin-theme-color);
745 }
746
747 .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection[aria-checked=mixed]::before {
748 content: "\f460";
749 float: right;
750 display: inline-block;
751 vertical-align: middle;
752 width: 16px;
753 /* stylelint-disable-next-line font-family-no-missing-generic-family-keyword -- dashicons don't need a generic family keyword. */
754 font: normal 30px/1 dashicons;
755 speak: none;
756 -webkit-font-smoothing: antialiased;
757 -moz-osx-font-smoothing: grayscale;
758 }
759
760 @media (min-width: 782px) {
761 .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection[aria-checked=mixed]::before {
762 float: none;
763 font-size: 21px;
764 }
765 }
766 .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection[aria-disabled=true], .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection:disabled {
767 background: #f0f0f0;
768 border-color: #ddd;
769 cursor: default;
770 opacity: 1;
771 }
772
773 .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection {
774 position: relative;
775 background: var(--wpds-color-bg-interactive-neutral-weak, rgba(0, 0, 0, 0));
776 color: var(--wpds-color-fg-content-neutral, #1e1e1e);
777 margin: 0;
778 padding: 0;
779 width: var(--checkbox-size);
780 height: var(--checkbox-size);
781 }
782
783 @media (min-width: 600px) {
784 .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection {
785 --checkbox-size: 16px;
786 }
787 }
788 @media not (prefers-reduced-motion) {
789 .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection {
790 transition: 0.1s border-color ease-in-out;
791 }
792 }
793 .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection.is-selected {
794 background: var(--wpds-color-bg-interactive-brand-strong, var(--wp-admin-theme-color, #3858e9));
795 border-color: var(--wpds-color-stroke-interactive-brand, var(--wp-admin-theme-color, #3858e9));
796 }
797
798 .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection.is-selected svg {
799 --checkmark-size: var(--checkbox-size);
800 fill: var(--wpds-color-fg-interactive-neutral-strong, #f0f0f0);
801 position: absolute;
802 right: 50%;
803 top: 50%;
804 transform: translate(50%, -50%);
805 width: var(--checkmark-size);
806 height: var(--checkmark-size);
807 }
808
809 @media (min-width: 600px) {
810 .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection.is-selected svg {
811 --checkmark-size: calc(var(--checkbox-size) + 4px);
812 }
813 }
814 .dataviews-filters__search-widget-filter-combobox__wrapper {
815 position: relative;
816 padding: var(--wpds-dimension-padding-sm, 8px);
817 }
818
819 .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input {
820 font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
821 padding: 6px 8px;
822 /* Fonts smaller than 16px causes mobile safari to zoom. */
823 font-size: 16px;
824 /* Override core line-height. To be reviewed. */
825 line-height: normal;
826 box-shadow: 0 0 0 transparent;
827 border-radius: 2px;
828 border: 1px solid #949494;
829 }
830
831 @media not (prefers-reduced-motion) {
832 .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input {
833 transition: box-shadow 0.1s linear;
834 }
835 }
836 @media (min-width: 600px) {
837 .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input {
838 font-size: 13px;
839 /* Override core line-height. To be reviewed. */
840 line-height: normal;
841 }
842 }
843 .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input:focus {
844 border-color: var(--wp-admin-theme-color);
845 box-shadow: 0 0 0 0.5px var(--wp-admin-theme-color);
846 outline: 2px solid transparent;
847 }
848
849 .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input::placeholder {
850 color: rgba(30, 30, 30, 0.62);
851 }
852
853 .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input {
854 display: block;
855 padding: 0 calc(var(--wpds-dimension-base, 4px) * 8) 0 var(--wpds-dimension-padding-sm, 8px);
856 width: 100%;
857 height: calc(var(--wpds-dimension-base, 4px) * 8);
858 margin-right: 0;
859 margin-left: 0;
860 /* Fonts smaller than 16px causes mobile safari to zoom. */
861 font-size: 16px;
862 }
863
864 @media (min-width: 600px) {
865 .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input {
866 font-size: var(--wpds-typography-font-size-md, 13px);
867 }
868 }
869 .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input:focus {
870 background: var(--wpds-color-bg-surface-neutral-strong, #fff);
871 box-shadow: inset 0 0 0 var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)) var(--wpds-color-stroke-focus-brand, var(--wp-admin-theme-color, #3858e9));
872 }
873
874 .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input::placeholder {
875 color: var(--wpds-color-fg-content-neutral-weak, #707070);
876 }
877
878 .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input::-webkit-search-decoration, .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input::-webkit-search-cancel-button, .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input::-webkit-search-results-button, .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input::-webkit-search-results-decoration {
879 -webkit-appearance: none;
880 }
881
882 .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__icon {
883 position: absolute;
884 inset-inline-start: var(--wpds-dimension-gap-md, 12px);
885 top: 0;
886 bottom: 0;
887 display: flex;
888 align-items: center;
889 justify-content: center;
890 width: 24px;
891 }
892
893 .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__icon:dir(ltr) {
894 transform: scaleX(-1);
895 }
896
897 .dataviews-filters__container-visibility-toggle {
898 position: relative;
899 flex-shrink: 0;
900 }
901
902 .dataviews-filters-toggle__count {
903 position: absolute;
904 top: 0;
905 left: 0;
906 transform: translate(-50%, -50%);
907 background: var(--wpds-color-bg-interactive-brand-strong, var(--wp-admin-theme-color, #3858e9));
908 height: calc(var(--wpds-dimension-base, 4px) * 4);
909 min-width: calc(var(--wpds-dimension-base, 4px) * 4);
910 line-height: var(--wpds-typography-line-height-xs, 16px);
911 padding: 0 var(--wpds-dimension-padding-xs, 4px);
912 text-align: center;
913 border-radius: var(--wpds-border-radius-lg, 8px);
914 font-size: 11px;
915 outline: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)) solid var(--wpds-color-bg-surface-neutral-strong, #fff);
916 color: var(--wpds-color-fg-interactive-neutral-strong, #f0f0f0);
917 box-sizing: border-box;
918 }
919
920 .dataviews-search {
921 width: fit-content;
922 }
923
924 .dataviews-filters__user-input-widget {
925 padding: var(--wpds-dimension-padding-lg, 16px);
926 }
927
928 .dataviews-filters__user-input-widget .components-input-control__prefix {
929 padding-right: var(--wpds-dimension-padding-sm, 8px);
930 }
931
932 .dataviews-filters__search-widget-no-elements {
933 display: flex;
934 align-items: center;
935 justify-content: center;
936 padding: var(--wpds-dimension-padding-lg, 16px);
937 }
938
939 .dataviews-footer {
940 position: sticky;
941 bottom: 0;
942 right: 0;
943 background-color: inherit;
944 padding: var(--wpds-dimension-padding-md, 12px) var(--wpds-dimension-padding-2xl, 24px);
945 border-top: var(--wpds-border-width-xs, 1px) solid var(--wpds-color-stroke-surface-neutral-weak, #e4e4e4);
946 flex-shrink: 0;
947 }
948
949 @media not (prefers-reduced-motion) {
950 .dataviews-footer {
951 transition: padding ease-out 0.1s;
952 }
953 }
954 .dataviews-footer {
955 z-index: 1;
956 }
957
958 .dataviews-footer .is-refreshing {
959 opacity: 0.5;
960 pointer-events: none;
961 }
962
963 @media not (prefers-reduced-motion) {
964 .dataviews-footer .is-refreshing {
965 opacity: 1;
966 animation: dataviews-pulse 1s ease-in-out infinite;
967 }
968 }
969 @container (max-width: 560px) {
970 .dataviews-footer__content {
971 flex-direction: column !important;
972 }
973 .dataviews-footer__content .dataviews-bulk-actions-footer__container {
974 width: 100%;
975 }
976 .dataviews-footer__content .dataviews-bulk-actions-footer__item-count {
977 flex-grow: 1;
978 }
979 .dataviews-footer__content .dataviews-pagination {
980 width: 100%;
981 justify-content: space-between;
982 }
983 }
984 .dataviews-pagination__page-select {
985 font-size: 11px;
986 font-weight: var(--wpds-typography-font-weight-medium, 499);
987 text-transform: uppercase;
988 }
989
990 @media (min-width: 600px) {
991 .dataviews-pagination__page-select .components-select-control__input {
992 font-size: 11px !important;
993 font-weight: var(--wpds-typography-font-weight-medium, 499);
994 }
995 }
996 .dataviews-action-modal {
997 z-index: 1000001;
998 }
999
1000 .dataviews-item-actions .components-button:not(.dataviews-all-actions-button) {
1001 padding: 0 var(--wpds-dimension-padding-xs, 4px);
1002 }
1003
1004 .dataviews-selection-checkbox {
1005 --checkbox-input-size: 24px;
1006 }
1007
1008 @media (min-width: 600px) {
1009 .dataviews-selection-checkbox {
1010 --checkbox-input-size: 16px;
1011 }
1012 }
1013 .dataviews-selection-checkbox {
1014 line-height: 0;
1015 flex-shrink: 0;
1016 }
1017
1018 .dataviews-selection-checkbox .components-checkbox-control__input-container {
1019 margin: 0;
1020 }
1021
1022 .dataviews-view-config {
1023 width: 320px;
1024 /* stylelint-disable-next-line property-no-unknown -- the linter needs to be updated to accepted the container-type property */
1025 container-type: inline-size;
1026 font-size: var(--wpds-typography-font-size-md, 13px);
1027 line-height: var(--wpds-typography-line-height-sm, 20px);
1028 }
1029
1030 .dataviews-config__popover.is-expanded .dataviews-config__popover-content-wrapper {
1031 overflow-y: scroll;
1032 height: 100%;
1033 }
1034
1035 .dataviews-config__popover.is-expanded .dataviews-config__popover-content-wrapper .dataviews-view-config {
1036 width: auto;
1037 }
1038
1039 .dataviews-view-config__sort-direction .components-toggle-group-control-option-base {
1040 text-transform: uppercase;
1041 }
1042
1043 .dataviews-settings-section__title.dataviews-settings-section__title {
1044 line-height: var(--wpds-typography-line-height-md, 24px);
1045 font-size: 15px;
1046 }
1047
1048 .dataviews-settings-section__sidebar {
1049 grid-column: span 4;
1050 }
1051
1052 .dataviews-settings-section__content,
1053 .dataviews-settings-section__content > * {
1054 grid-column: span 8;
1055 }
1056
1057 .dataviews-settings-section__content .is-divided-in-two {
1058 display: contents;
1059 }
1060
1061 .dataviews-settings-section__content .is-divided-in-two > * {
1062 grid-column: span 4;
1063 }
1064
1065 .dataviews-settings-section:has(.dataviews-settings-section__content:empty) {
1066 display: none;
1067 }
1068
1069 @container (max-width: 500px) {
1070 .dataviews-settings-section.dataviews-settings-section {
1071 grid-template-columns: repeat(2, 1fr);
1072 }
1073 .dataviews-settings-section.dataviews-settings-section .dataviews-settings-section__sidebar {
1074 grid-column: span 2;
1075 }
1076 .dataviews-settings-section.dataviews-settings-section .dataviews-settings-section__content {
1077 grid-column: span 2;
1078 }
1079 }
1080 .dataviews-view-config__sort-controls > * {
1081 flex: 1;
1082 }
1083
1084 .dataviews-view-config__label {
1085 text-wrap: nowrap;
1086 }
1087
1088 .dataviews-view-config__toggle-wrapper {
1089 position: relative;
1090 display: inline-flex;
1091 }
1092
1093 .dataviews-view-config__modified-indicator {
1094 position: absolute;
1095 top: var(--wpds-dimension-gap-xs, 4px);
1096 left: var(--wpds-dimension-gap-xs, 4px);
1097 width: var(--wpds-dimension-gap-xs, 4px);
1098 height: var(--wpds-dimension-gap-xs, 4px);
1099 background: var(--wpds-color-bg-interactive-brand-strong, var(--wp-admin-theme-color, #3858e9));
1100 border-radius: 50%;
1101 pointer-events: none;
1102 }
1103
1104 .dataviews-view-grid-items {
1105 margin-bottom: auto;
1106 display: grid;
1107 gap: var(--wpds-dimension-gap-xl, 24px);
1108 grid-template-rows: max-content;
1109 grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
1110 padding: 0 var(--wpds-dimension-padding-2xl, 24px) var(--wpds-dimension-padding-2xl, 24px);
1111 container-type: inline-size;
1112 }
1113
1114 @media not (prefers-reduced-motion) {
1115 .dataviews-view-grid-items {
1116 transition: padding ease-out 0.1s;
1117 }
1118 }
1119 .dataviews-view-grid-items.has-compact-density {
1120 gap: var(--wpds-dimension-gap-lg, 16px);
1121 }
1122
1123 .dataviews-view-grid-items.has-comfortable-density {
1124 gap: var(--wpds-dimension-gap-2xl, 32px);
1125 }
1126
1127 .dataviews-view-grid {
1128 padding: 0 var(--wpds-dimension-padding-2xl, 24px) var(--wpds-dimension-padding-2xl, 24px);
1129 display: flex;
1130 flex-direction: column;
1131 gap: var(--wpds-dimension-gap-xl, 24px);
1132 container-type: inline-size;
1133 margin-bottom: auto;
1134 }
1135
1136 @media not (prefers-reduced-motion) {
1137 .dataviews-view-grid {
1138 transition: padding ease-out 0.1s;
1139 }
1140 }
1141 .dataviews-view-grid.has-compact-density {
1142 gap: var(--wpds-dimension-gap-lg, 16px);
1143 }
1144
1145 .dataviews-view-grid.has-compact-density .dataviews-view-grid__row {
1146 gap: var(--wpds-dimension-gap-lg, 16px);
1147 }
1148
1149 .dataviews-view-grid.has-comfortable-density {
1150 gap: var(--wpds-dimension-gap-2xl, 32px);
1151 }
1152
1153 .dataviews-view-grid.has-comfortable-density .dataviews-view-grid__row {
1154 gap: var(--wpds-dimension-gap-2xl, 32px);
1155 }
1156
1157 .dataviews-view-grid .dataviews-view-grid__row {
1158 display: grid;
1159 gap: var(--wpds-dimension-gap-xl, 24px);
1160 }
1161
1162 .dataviews-view-grid .dataviews-view-grid__row .dataviews-view-grid__row__gridcell {
1163 border-radius: var(--wpds-border-radius-md, 4px);
1164 position: relative;
1165 }
1166
1167 .dataviews-view-grid .dataviews-view-grid__row .dataviews-view-grid__row__gridcell[data-focus-visible]::after {
1168 content: "";
1169 position: absolute;
1170 top: 0;
1171 right: 0;
1172 width: 100%;
1173 height: 100%;
1174 box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wpds-color-stroke-focus-brand, var(--wp-admin-theme-color, #3858e9));
1175 border-radius: var(--wpds-border-radius-md, 4px);
1176 pointer-events: none;
1177 outline: 2px solid transparent;
1178 }
1179
1180 .dataviews-view-grid .dataviews-view-grid__card,
1181 .dataviews-view-grid-infinite-scroll .dataviews-view-grid__card {
1182 height: 100%;
1183 justify-content: flex-start;
1184 position: relative;
1185 isolation: isolate;
1186 }
1187
1188 .dataviews-view-grid .dataviews-view-grid__card .dataviews-view-grid__title-actions,
1189 .dataviews-view-grid-infinite-scroll .dataviews-view-grid__card .dataviews-view-grid__title-actions {
1190 padding: var(--wpds-dimension-padding-sm, 8px) 0 var(--wpds-dimension-padding-xs, 4px);
1191 }
1192
1193 .dataviews-view-grid .dataviews-view-grid__card .dataviews-view-grid__title-field,
1194 .dataviews-view-grid-infinite-scroll .dataviews-view-grid__card .dataviews-view-grid__title-field {
1195 min-height: calc(var(--wpds-dimension-base, 4px) * 6);
1196 overflow: hidden;
1197 align-content: center;
1198 text-align: start;
1199 }
1200
1201 .dataviews-view-grid .dataviews-view-grid__card .dataviews-view-grid__title-field--clickable,
1202 .dataviews-view-grid-infinite-scroll .dataviews-view-grid__card .dataviews-view-grid__title-field--clickable {
1203 width: fit-content;
1204 }
1205
1206 .dataviews-view-grid .dataviews-view-grid__card.is-selected .dataviews-view-grid__fields .dataviews-view-grid__field .dataviews-view-grid__field-value,
1207 .dataviews-view-grid-infinite-scroll .dataviews-view-grid__card.is-selected .dataviews-view-grid__fields .dataviews-view-grid__field .dataviews-view-grid__field-value {
1208 color: var(--wpds-color-fg-content-neutral, #1e1e1e);
1209 }
1210
1211 .dataviews-view-grid .dataviews-view-grid__card.is-selected .dataviews-view-grid__media::after,
1212 .dataviews-view-grid-infinite-scroll .dataviews-view-grid__card.is-selected .dataviews-view-grid__media::after {
1213 box-shadow: inset 0 0 0 var(--wpds-border-width-xs, 1px) var(--wpds-color-stroke-interactive-brand, var(--wp-admin-theme-color, #3858e9)), inset 0 0 0 var(--wpds-border-width-sm, 2px) var(--wpds-color-bg-surface-neutral-strong, #fff);
1214 }
1215
1216 .dataviews-view-grid .dataviews-view-grid__card .dataviews-view-grid__media:focus::after,
1217 .dataviews-view-grid-infinite-scroll .dataviews-view-grid__card .dataviews-view-grid__media:focus::after {
1218 box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wpds-color-stroke-focus-brand, var(--wp-admin-theme-color, #3858e9));
1219 }
1220
1221 .dataviews-view-grid .dataviews-view-grid__media,
1222 .dataviews-view-grid-infinite-scroll .dataviews-view-grid__media {
1223 width: 100%;
1224 aspect-ratio: 1/1;
1225 background-color: var(--wpds-color-bg-surface-neutral-strong, #fff);
1226 border-radius: var(--wpds-border-radius-md, 4px);
1227 overflow: hidden;
1228 position: relative;
1229 }
1230
1231 .dataviews-view-grid .dataviews-view-grid__media.dataviews-view-grid__media--placeholder,
1232 .dataviews-view-grid-infinite-scroll .dataviews-view-grid__media.dataviews-view-grid__media--placeholder {
1233 aspect-ratio: 3/1;
1234 }
1235
1236 .dataviews-view-grid .dataviews-view-grid__media img,
1237 .dataviews-view-grid-infinite-scroll .dataviews-view-grid__media img {
1238 object-fit: cover;
1239 width: 100%;
1240 height: 100%;
1241 }
1242
1243 .dataviews-view-grid .dataviews-view-grid__media::after,
1244 .dataviews-view-grid-infinite-scroll .dataviews-view-grid__media::after {
1245 content: "";
1246 position: absolute;
1247 top: 0;
1248 right: 0;
1249 width: 100%;
1250 height: 100%;
1251 box-shadow: inset 0 0 0 var(--wpds-border-width-xs, 1px) rgba(0, 0, 0, 0.1);
1252 border-radius: var(--wpds-border-radius-md, 4px);
1253 pointer-events: none;
1254 }
1255
1256 .dataviews-view-grid .dataviews-view-grid__media .dataviews-view-grid__media-placeholder,
1257 .dataviews-view-grid-infinite-scroll .dataviews-view-grid__media .dataviews-view-grid__media-placeholder {
1258 width: 100%;
1259 height: 100%;
1260 display: block;
1261 border-radius: var(--wpds-border-radius-md, 4px);
1262 box-shadow: none;
1263 background: var(--wpds-color-bg-surface-neutral, #fcfcfc);
1264 }
1265
1266 .dataviews-view-grid .dataviews-view-grid__fields,
1267 .dataviews-view-grid-infinite-scroll .dataviews-view-grid__fields {
1268 position: relative;
1269 font-size: 12px;
1270 line-height: 16px;
1271 }
1272
1273 .dataviews-view-grid .dataviews-view-grid__fields:not(:empty),
1274 .dataviews-view-grid-infinite-scroll .dataviews-view-grid__fields:not(:empty) {
1275 padding: 0 0 var(--wpds-dimension-padding-md, 12px);
1276 }
1277
1278 .dataviews-view-grid .dataviews-view-grid__fields .dataviews-view-grid__field-value:not(:empty),
1279 .dataviews-view-grid-infinite-scroll .dataviews-view-grid__fields .dataviews-view-grid__field-value:not(:empty) {
1280 min-height: calc(var(--wpds-dimension-base, 4px) * 6);
1281 line-height: var(--wpds-typography-line-height-sm, 20px);
1282 padding-top: calc(var(--wpds-dimension-base, 4px) / 2);
1283 }
1284
1285 .dataviews-view-grid .dataviews-view-grid__fields .dataviews-view-grid__field,
1286 .dataviews-view-grid-infinite-scroll .dataviews-view-grid__fields .dataviews-view-grid__field {
1287 min-height: calc(var(--wpds-dimension-base, 4px) * 6);
1288 align-items: center;
1289 }
1290
1291 .dataviews-view-grid .dataviews-view-grid__fields .dataviews-view-grid__field .dataviews-view-grid__field-name,
1292 .dataviews-view-grid-infinite-scroll .dataviews-view-grid__fields .dataviews-view-grid__field .dataviews-view-grid__field-name {
1293 width: 35%;
1294 color: var(--wpds-color-fg-content-neutral-weak, #707070);
1295 overflow: hidden;
1296 text-overflow: ellipsis;
1297 white-space: nowrap;
1298 }
1299
1300 .dataviews-view-grid .dataviews-view-grid__fields .dataviews-view-grid__field .dataviews-view-grid__field-value,
1301 .dataviews-view-grid-infinite-scroll .dataviews-view-grid__fields .dataviews-view-grid__field .dataviews-view-grid__field-value {
1302 width: 65%;
1303 overflow: hidden;
1304 text-overflow: ellipsis;
1305 white-space: nowrap;
1306 }
1307
1308 .dataviews-view-grid .dataviews-view-grid__fields .dataviews-view-grid__field:not(:has(.dataviews-view-grid__field-value:not(:empty))),
1309 .dataviews-view-grid-infinite-scroll .dataviews-view-grid__fields .dataviews-view-grid__field:not(:has(.dataviews-view-grid__field-value:not(:empty))) {
1310 display: none;
1311 }
1312
1313 .dataviews-view-grid .dataviews-view-grid__badge-fields:not(:empty),
1314 .dataviews-view-grid-infinite-scroll .dataviews-view-grid__badge-fields:not(:empty) {
1315 padding-bottom: var(--wpds-dimension-padding-md, 12px);
1316 }
1317
1318 .dataviews-view-grid.is-refreshing,
1319 .dataviews-view-grid-infinite-scroll.is-refreshing {
1320 opacity: 0.5;
1321 pointer-events: none;
1322 }
1323
1324 @media not (prefers-reduced-motion) {
1325 .dataviews-view-grid.is-refreshing,
1326 .dataviews-view-grid-infinite-scroll.is-refreshing {
1327 opacity: 1;
1328 animation: dataviews-pulse 1s ease-in-out infinite;
1329 }
1330 }
1331 .dataviews-view-grid__field-value:empty,
1332 .dataviews-view-grid__field:empty {
1333 display: none;
1334 }
1335
1336 .dataviews-view-grid__card .dataviews-selection-checkbox {
1337 position: absolute;
1338 top: -9999em;
1339 right: var(--wpds-dimension-padding-sm, 8px);
1340 z-index: 1;
1341 opacity: 0;
1342 }
1343
1344 @media not (prefers-reduced-motion) {
1345 .dataviews-view-grid__card .dataviews-selection-checkbox {
1346 transition: opacity 0.1s linear;
1347 }
1348 }
1349 @media (hover: none) {
1350 .dataviews-view-grid__card .dataviews-selection-checkbox {
1351 opacity: 1;
1352 top: var(--wpds-dimension-padding-sm, 8px);
1353 }
1354 }
1355 .dataviews-view-grid__card:hover .dataviews-selection-checkbox,
1356 .dataviews-view-grid__card:focus-within .dataviews-selection-checkbox,
1357 .dataviews-view-grid__card.is-selected .dataviews-selection-checkbox {
1358 opacity: 1;
1359 top: var(--wpds-dimension-padding-sm, 8px);
1360 }
1361
1362 .dataviews-view-grid__card .dataviews-view-grid__media-actions {
1363 position: absolute;
1364 z-index: 1;
1365 top: var(--wpds-dimension-padding-xs, 4px);
1366 opacity: 0;
1367 left: var(--wpds-dimension-padding-xs, 4px);
1368 }
1369
1370 .dataviews-view-grid__card .dataviews-view-grid__media-actions .dataviews-all-actions-button {
1371 background-color: var(--wpds-color-bg-surface-neutral-strong, #fff);
1372 }
1373
1374 @media not (prefers-reduced-motion) {
1375 .dataviews-view-grid__card .dataviews-view-grid__media-actions {
1376 transition: opacity 0.1s linear;
1377 }
1378 }
1379 @media (hover: none) {
1380 .dataviews-view-grid__card .dataviews-view-grid__media-actions {
1381 opacity: 1;
1382 top: var(--wpds-dimension-padding-xs, 4px);
1383 }
1384 }
1385 .dataviews-view-grid__card:hover .dataviews-view-grid__media-actions,
1386 .dataviews-view-grid__card:focus-within .dataviews-view-grid__media-actions,
1387 .dataviews-view-grid__card .dataviews-view-grid__media-actions:has(.dataviews-all-actions-button[aria-expanded=true]) {
1388 opacity: 1;
1389 }
1390
1391 .dataviews-view-grid__media--clickable {
1392 cursor: var(--wpds-cursor-control, pointer);
1393 }
1394
1395 .dataviews-view-grid__group-header {
1396 font-size: var(--wpds-typography-font-size-lg, 15px);
1397 font-weight: var(--wpds-typography-font-weight-medium, 499);
1398 color: var(--wpds-color-fg-content-neutral, #1e1e1e);
1399 margin: 0 0 var(--wpds-dimension-gap-sm, 8px) 0;
1400 padding: 0 var(--wpds-dimension-padding-2xl, 24px);
1401 container-type: inline-size;
1402 }
1403
1404 div.dataviews-view-list {
1405 list-style-type: none;
1406 }
1407
1408 .dataviews-view-list {
1409 margin: 0 0 auto;
1410 }
1411
1412 .dataviews-view-list div[role=row],
1413 .dataviews-view-list div[role=article] {
1414 margin: 0;
1415 border-top: 1px solid var(--wpds-color-stroke-surface-neutral-weak, #e4e4e4);
1416 }
1417
1418 .dataviews-view-list div[role=row] .dataviews-view-list__item-wrapper,
1419 .dataviews-view-list div[role=article] .dataviews-view-list__item-wrapper {
1420 position: relative;
1421 padding: var(--wpds-dimension-padding-lg, 16px) var(--wpds-dimension-padding-2xl, 24px);
1422 box-sizing: border-box;
1423 }
1424
1425 .dataviews-view-list div[role=row] .dataviews-view-list__item-actions,
1426 .dataviews-view-list div[role=article] .dataviews-view-list__item-actions {
1427 display: flex;
1428 width: max-content;
1429 flex: 0 0 auto;
1430 gap: var(--wpds-dimension-gap-xs, 4px);
1431 white-space: nowrap;
1432 }
1433
1434 .dataviews-view-list div[role=row] .dataviews-view-list__item-actions .components-button,
1435 .dataviews-view-list div[role=article] .dataviews-view-list__item-actions .components-button {
1436 position: relative;
1437 z-index: 1;
1438 }
1439
1440 .dataviews-view-list div[role=row] .dataviews-view-list__item-actions > div,
1441 .dataviews-view-list div[role=article] .dataviews-view-list__item-actions > div {
1442 height: 24px;
1443 }
1444
1445 .dataviews-view-list div[role=row] .dataviews-view-list__item-actions > :not(:last-child),
1446 .dataviews-view-list div[role=article] .dataviews-view-list__item-actions > :not(:last-child) {
1447 flex: 0;
1448 overflow: hidden;
1449 width: 0;
1450 }
1451
1452 .dataviews-view-list div[role=row]:where(.is-selected, .is-hovered, :focus-within) .dataviews-view-list__item-actions > :not(:last-child),
1453 .dataviews-view-list div[role=article]:where(.is-selected, .is-hovered, :focus-within) .dataviews-view-list__item-actions > :not(:last-child) {
1454 flex-basis: min-content;
1455 width: auto;
1456 overflow: unset;
1457 }
1458
1459 @media (hover: none) {
1460 .dataviews-view-list div[role=row] .dataviews-view-list__item-actions > :not(:last-child),
1461 .dataviews-view-list div[role=article] .dataviews-view-list__item-actions > :not(:last-child) {
1462 flex-basis: min-content;
1463 width: auto;
1464 overflow: unset;
1465 }
1466 }
1467 .dataviews-view-list div[role=row].is-selected.is-selected,
1468 .dataviews-view-list div[role=article].is-selected.is-selected {
1469 border-top: 1px solid var(--wpds-color-stroke-surface-brand, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 46%, white));
1470 }
1471
1472 .dataviews-view-list div[role=row].is-selected.is-selected + div[role=row], .dataviews-view-list div[role=row].is-selected.is-selected + div[role=article],
1473 .dataviews-view-list div[role=article].is-selected.is-selected + div[role=row],
1474 .dataviews-view-list div[role=article].is-selected.is-selected + div[role=article] {
1475 border-top: 1px solid var(--wpds-color-stroke-surface-brand, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 46%, white));
1476 }
1477
1478 .dataviews-view-list div[role=row]:not(.is-selected):hover, .dataviews-view-list div[role=row]:not(.is-selected).is-hovered, .dataviews-view-list div[role=row]:not(.is-selected):focus-within,
1479 .dataviews-view-list div[role=article]:not(.is-selected):hover,
1480 .dataviews-view-list div[role=article]:not(.is-selected).is-hovered,
1481 .dataviews-view-list div[role=article]:not(.is-selected):focus-within {
1482 color: var(--wpds-color-fg-interactive-brand, var(--wp-admin-theme-color, #3858e9));
1483 background-color: var(--wpds-color-bg-interactive-brand-weak, rgba(0, 0, 0, 0));
1484 }
1485
1486 .dataviews-view-list div[role=row]:not(.is-selected):hover .dataviews-title-field,
1487 .dataviews-view-list div[role=row]:not(.is-selected):hover .dataviews-view-list__field, .dataviews-view-list div[role=row]:not(.is-selected).is-hovered .dataviews-title-field,
1488 .dataviews-view-list div[role=row]:not(.is-selected).is-hovered .dataviews-view-list__field, .dataviews-view-list div[role=row]:not(.is-selected):focus-within .dataviews-title-field,
1489 .dataviews-view-list div[role=row]:not(.is-selected):focus-within .dataviews-view-list__field,
1490 .dataviews-view-list div[role=article]:not(.is-selected):hover .dataviews-title-field,
1491 .dataviews-view-list div[role=article]:not(.is-selected):hover .dataviews-view-list__field,
1492 .dataviews-view-list div[role=article]:not(.is-selected).is-hovered .dataviews-title-field,
1493 .dataviews-view-list div[role=article]:not(.is-selected).is-hovered .dataviews-view-list__field,
1494 .dataviews-view-list div[role=article]:not(.is-selected):focus-within .dataviews-title-field,
1495 .dataviews-view-list div[role=article]:not(.is-selected):focus-within .dataviews-view-list__field {
1496 color: var(--wpds-color-fg-interactive-brand, var(--wp-admin-theme-color, #3858e9));
1497 }
1498
1499 .dataviews-view-list div[role=row].is-selected .dataviews-view-list__item-wrapper,
1500 .dataviews-view-list div[role=row].is-selected:focus-within .dataviews-view-list__item-wrapper,
1501 .dataviews-view-list div[role=article].is-selected .dataviews-view-list__item-wrapper,
1502 .dataviews-view-list div[role=article].is-selected:focus-within .dataviews-view-list__item-wrapper {
1503 background-color: var(--wpds-color-bg-interactive-brand-weak-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 12%, white));
1504 color: var(--wpds-color-fg-interactive-neutral, #1e1e1e);
1505 }
1506
1507 .dataviews-view-list div[role=row].is-selected .dataviews-view-list__item-wrapper .dataviews-title-field,
1508 .dataviews-view-list div[role=row].is-selected .dataviews-view-list__item-wrapper .dataviews-view-list__field,
1509 .dataviews-view-list div[role=row].is-selected:focus-within .dataviews-view-list__item-wrapper .dataviews-title-field,
1510 .dataviews-view-list div[role=row].is-selected:focus-within .dataviews-view-list__item-wrapper .dataviews-view-list__field,
1511 .dataviews-view-list div[role=article].is-selected .dataviews-view-list__item-wrapper .dataviews-title-field,
1512 .dataviews-view-list div[role=article].is-selected .dataviews-view-list__item-wrapper .dataviews-view-list__field,
1513 .dataviews-view-list div[role=article].is-selected:focus-within .dataviews-view-list__item-wrapper .dataviews-title-field,
1514 .dataviews-view-list div[role=article].is-selected:focus-within .dataviews-view-list__item-wrapper .dataviews-view-list__field {
1515 color: var(--wpds-color-fg-interactive-neutral-active, #1e1e1e);
1516 }
1517
1518 .dataviews-view-list .dataviews-view-list__item {
1519 position: absolute;
1520 z-index: 1;
1521 inset: 0;
1522 scroll-margin: var(--wpds-dimension-gap-sm, 8px) 0;
1523 appearance: none;
1524 border: none;
1525 background: none;
1526 padding: 0;
1527 cursor: var(--wpds-cursor-control, pointer);
1528 }
1529
1530 .dataviews-view-list .dataviews-view-list__item:focus-visible {
1531 outline: none;
1532 }
1533
1534 .dataviews-view-list .dataviews-view-list__item:focus-visible::before {
1535 position: absolute;
1536 content: "";
1537 inset: var(--wp-admin-border-width-focus);
1538 box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wpds-color-stroke-focus-brand, var(--wp-admin-theme-color, #3858e9));
1539 border-radius: var(--wpds-border-radius-sm, 2px);
1540 outline: 2px solid transparent;
1541 }
1542
1543 .dataviews-view-list .dataviews-view-list__title-field {
1544 flex: 1;
1545 min-height: calc(var(--wpds-dimension-base, 4px) * 6);
1546 line-height: var(--wpds-typography-line-height-md, 24px);
1547 overflow: hidden;
1548 }
1549
1550 .dataviews-view-list .dataviews-view-list__title-field:has(a, button) {
1551 z-index: 1;
1552 }
1553
1554 .dataviews-view-list .dataviews-view-list__media-wrapper {
1555 width: calc(var(--wpds-dimension-base, 4px) * 13);
1556 height: calc(var(--wpds-dimension-base, 4px) * 13);
1557 overflow: hidden;
1558 position: relative;
1559 flex-shrink: 0;
1560 background-color: var(--wpds-color-bg-surface-neutral-strong, #fff);
1561 border-radius: var(--wpds-border-radius-md, 4px);
1562 }
1563
1564 .dataviews-view-list .dataviews-view-list__media-wrapper img {
1565 width: 100%;
1566 height: 100%;
1567 object-fit: cover;
1568 }
1569
1570 .dataviews-view-list .dataviews-view-list__media-wrapper::after {
1571 content: "";
1572 position: absolute;
1573 top: 0;
1574 right: 0;
1575 width: 100%;
1576 height: 100%;
1577 box-shadow: inset 0 0 0 var(--wpds-border-width-xs, 1px) rgba(0, 0, 0, 0.1);
1578 border-radius: var(--wpds-border-radius-md, 4px);
1579 }
1580
1581 .dataviews-view-list .dataviews-view-list__field-wrapper {
1582 min-height: calc(var(--wpds-dimension-base, 4px) * 13);
1583 flex-grow: 1;
1584 min-width: 0;
1585 }
1586
1587 .dataviews-view-list .dataviews-view-list__field {
1588 color: var(--wpds-color-fg-interactive-neutral-weak, #707070);
1589 }
1590
1591 .dataviews-view-list .dataviews-view-list__fields {
1592 display: flex;
1593 gap: var(--wpds-dimension-gap-md, 12px);
1594 row-gap: var(--wpds-dimension-gap-xs, 4px);
1595 flex-wrap: wrap;
1596 font-size: 12px;
1597 }
1598
1599 .dataviews-view-list .dataviews-view-list__fields:empty {
1600 display: none;
1601 }
1602
1603 .dataviews-view-list .dataviews-view-list__fields .dataviews-view-list__field:has(.dataviews-view-list__field-value:empty) {
1604 display: none;
1605 }
1606
1607 .dataviews-view-list .dataviews-view-list__fields .dataviews-view-list__field-value {
1608 min-height: calc(var(--wpds-dimension-base, 4px) * 6);
1609 line-height: var(--wpds-typography-line-height-sm, 20px);
1610 display: flex;
1611 align-items: center;
1612 }
1613
1614 .dataviews-view-list + .dataviews-pagination {
1615 justify-content: space-between;
1616 }
1617
1618 .dataviews-view-list.has-compact-density div[role=row] .dataviews-view-list__item-wrapper {
1619 padding: var(--wpds-dimension-padding-sm, 8px) var(--wpds-dimension-padding-2xl, 24px);
1620 }
1621
1622 .dataviews-view-list.has-compact-density div[role=row] .dataviews-view-list__title-field {
1623 min-height: calc(var(--wpds-dimension-base, 4px) * 4);
1624 line-height: var(--wpds-typography-line-height-xs, 16px);
1625 }
1626
1627 .dataviews-view-list.has-compact-density div[role=row] .dataviews-view-list__media-wrapper {
1628 width: calc(var(--wpds-dimension-base, 4px) * 8);
1629 height: calc(var(--wpds-dimension-base, 4px) * 8);
1630 }
1631
1632 .dataviews-view-list.has-compact-density div[role=row] .dataviews-view-list__field-wrapper {
1633 min-height: calc(var(--wpds-dimension-base, 4px) * 8);
1634 }
1635
1636 .dataviews-view-list.has-compact-density div[role=row] .dataviews-view-list__fields {
1637 gap: var(--wpds-dimension-gap-sm, 8px);
1638 row-gap: var(--wpds-dimension-gap-xs, 4px);
1639 }
1640
1641 .dataviews-view-list.has-compact-density div[role=row] .dataviews-view-list__fields .dataviews-view-list__field-value {
1642 min-height: calc(var(--wpds-dimension-base, 4px) * 4);
1643 line-height: var(--wpds-typography-line-height-xs, 16px);
1644 }
1645
1646 .dataviews-view-list.has-comfortable-density div[role=row] .dataviews-view-list__item-wrapper {
1647 padding: var(--wpds-dimension-padding-2xl, 24px) var(--wpds-dimension-padding-2xl, 24px);
1648 }
1649
1650 .dataviews-view-list.has-comfortable-density div[role=row] .dataviews-view-list__title-field {
1651 min-height: calc(var(--wpds-dimension-base, 4px) * 8);
1652 line-height: var(--wpds-typography-line-height-xl, 32px);
1653 }
1654
1655 .dataviews-view-list.has-comfortable-density div[role=row] .dataviews-view-list__media-wrapper {
1656 width: calc(var(--wpds-dimension-base, 4px) * 16);
1657 height: calc(var(--wpds-dimension-base, 4px) * 16);
1658 }
1659
1660 .dataviews-view-list.has-comfortable-density div[role=row] .dataviews-view-list__field-wrapper {
1661 min-height: calc(var(--wpds-dimension-base, 4px) * 16);
1662 }
1663
1664 .dataviews-view-list.has-comfortable-density div[role=row] .dataviews-view-list__fields {
1665 gap: var(--wpds-dimension-gap-lg, 16px);
1666 row-gap: var(--wpds-dimension-gap-sm, 8px);
1667 }
1668
1669 .dataviews-view-list.has-comfortable-density div[role=row] .dataviews-view-list__fields .dataviews-view-list__field-value {
1670 min-height: calc(var(--wpds-dimension-base, 4px) * 8);
1671 line-height: var(--wpds-typography-line-height-md, 24px);
1672 }
1673
1674 .dataviews-view-list.is-refreshing {
1675 opacity: 0.5;
1676 pointer-events: none;
1677 }
1678
1679 @media not (prefers-reduced-motion) {
1680 .dataviews-view-list.is-refreshing {
1681 opacity: 1;
1682 animation: dataviews-pulse 1s ease-in-out infinite;
1683 }
1684 }
1685 .dataviews-view-list__group-header {
1686 font-size: var(--wpds-typography-font-size-lg, 15px);
1687 font-weight: var(--wpds-typography-font-weight-medium, 499);
1688 color: var(--wpds-color-fg-content-neutral, #1e1e1e);
1689 margin: 0 0 var(--wpds-dimension-gap-sm, 8px) 0;
1690 padding: 0 var(--wpds-dimension-padding-2xl, 24px);
1691 }
1692
1693 .dataviews-view-table {
1694 width: 100%;
1695 text-indent: 0;
1696 border-color: inherit;
1697 border-collapse: collapse;
1698 position: relative;
1699 color: var(--wpds-color-fg-content-neutral-weak, #707070);
1700 margin-bottom: auto;
1701 background-color: inherit;
1702 }
1703
1704 .dataviews-view-table th {
1705 text-align: right;
1706 color: var(--wpds-color-fg-content-neutral, #1e1e1e);
1707 font-weight: normal;
1708 font-size: var(--wpds-typography-font-size-md, 13px);
1709 }
1710
1711 .dataviews-view-table td,
1712 .dataviews-view-table th {
1713 padding: var(--wpds-dimension-padding-md, 12px);
1714 }
1715
1716 .dataviews-view-table td.dataviews-view-table__actions-column,
1717 .dataviews-view-table th.dataviews-view-table__actions-column {
1718 text-align: left;
1719 }
1720
1721 .dataviews-view-table td.dataviews-view-table__actions-column--sticky,
1722 .dataviews-view-table th.dataviews-view-table__actions-column--sticky {
1723 position: sticky;
1724 left: 0;
1725 background-color: var(--wp-dataviews-color-background, var(--wpds-color-bg-surface-neutral-strong, #fff));
1726 }
1727
1728 .dataviews-view-table td.dataviews-view-table__actions-column--stuck::after,
1729 .dataviews-view-table th.dataviews-view-table__actions-column--stuck::after {
1730 display: block;
1731 content: "";
1732 position: absolute;
1733 top: 0;
1734 bottom: 0;
1735 right: 0;
1736 width: 1px;
1737 background-color: var(--wpds-color-bg-surface-neutral, #fcfcfc);
1738 }
1739
1740 .dataviews-view-table td.dataviews-view-table__checkbox-column,
1741 .dataviews-view-table th.dataviews-view-table__checkbox-column {
1742 padding-left: 0;
1743 }
1744
1745 .dataviews-view-table td.dataviews-view-table__checkbox-column .dataviews-view-table__cell-content-wrapper,
1746 .dataviews-view-table th.dataviews-view-table__checkbox-column .dataviews-view-table__cell-content-wrapper {
1747 max-width: auto;
1748 min-width: auto;
1749 }
1750
1751 .dataviews-view-table tr {
1752 border-top: 1px solid var(--wpds-color-stroke-surface-neutral-weak, #e4e4e4);
1753 background-color: inherit;
1754 }
1755
1756 .dataviews-view-table tr td:first-child,
1757 .dataviews-view-table tr th:first-child {
1758 padding-right: var(--wpds-dimension-padding-2xl, 24px);
1759 }
1760
1761 .dataviews-view-table tr td:last-child,
1762 .dataviews-view-table tr th:last-child {
1763 padding-left: var(--wpds-dimension-padding-2xl, 24px);
1764 }
1765
1766 .dataviews-view-table tr:last-child {
1767 border-bottom: 0;
1768 }
1769
1770 .dataviews-view-table tr .dataviews-item-actions .components-button:not(.dataviews-all-actions-button) {
1771 opacity: 0;
1772 }
1773
1774 @media (hover: none) {
1775 .dataviews-view-table tr .dataviews-item-actions .components-button:not(.dataviews-all-actions-button) {
1776 opacity: 1;
1777 }
1778 }
1779 .dataviews-view-table tr.is-selected {
1780 background-color: var(--wpds-color-bg-interactive-brand-weak-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 12%, white));
1781 color: var(--wpds-color-fg-content-neutral, #1e1e1e);
1782 }
1783
1784 .dataviews-view-table tr.is-selected, .dataviews-view-table tr.is-selected + tr {
1785 border-top: 1px solid var(--wpds-color-stroke-surface-brand, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 46%, white));
1786 }
1787
1788 .dataviews-view-table tr.is-selected .dataviews-view-table__actions-column--sticky {
1789 background-color: var(--wpds-color-bg-interactive-brand-weak-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 12%, white));
1790 }
1791
1792 .dataviews-view-table tr:focus-within .dataviews-item-actions .components-button:not(.dataviews-all-actions-button), .dataviews-view-table tr.is-hovered .dataviews-item-actions .components-button:not(.dataviews-all-actions-button), .dataviews-view-table tr:hover .dataviews-item-actions .components-button:not(.dataviews-all-actions-button) {
1793 opacity: 1;
1794 }
1795
1796 .dataviews-view-table.has-bulk-actions tr:focus-within .dataviews-view-table__actions-column--sticky, .dataviews-view-table.has-bulk-actions tr:hover .dataviews-view-table__actions-column--sticky {
1797 background-color: var(--wp-dataviews-color-background, var(--wpds-color-bg-surface-neutral-strong, #fff));
1798 }
1799
1800 .dataviews-view-table.has-bulk-actions tr.is-selected .dataviews-view-table__actions-column--sticky, .dataviews-view-table.has-bulk-actions tr.is-selected:hover .dataviews-view-table__actions-column--sticky {
1801 background-color: var(--wpds-color-bg-interactive-brand-weak-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 12%, white));
1802 }
1803
1804 .dataviews-view-table thead {
1805 position: sticky;
1806 inset-block-start: 0;
1807 z-index: 1;
1808 background-color: inherit;
1809 }
1810
1811 .dataviews-view-table thead.dataviews-view-table__thead--stuck::after {
1812 display: block;
1813 content: "";
1814 position: absolute;
1815 bottom: 0;
1816 right: 0;
1817 left: 0;
1818 height: 1px;
1819 background-color: var(--wpds-color-stroke-surface-neutral-weak, #e4e4e4);
1820 }
1821
1822 .dataviews-view-table thead tr {
1823 border: 0;
1824 }
1825
1826 .dataviews-view-table thead th {
1827 background-color: inherit;
1828 padding-top: var(--wpds-dimension-padding-sm, 8px);
1829 padding-bottom: var(--wpds-dimension-padding-sm, 8px);
1830 font-size: 11px;
1831 text-transform: uppercase;
1832 font-weight: var(--wpds-typography-font-weight-medium, 499);
1833 }
1834
1835 .dataviews-view-table thead th:has(.dataviews-view-table-header-button) {
1836 padding-right: var(--wpds-dimension-padding-xs, 4px);
1837 padding-left: var(--wpds-dimension-padding-xs, 4px);
1838 }
1839
1840 .dataviews-view-table thead th:has(.dataviews-view-table-header-button) .dataviews-view-table-header-button {
1841 gap: var(--wpds-dimension-gap-xs, 4px);
1842 }
1843
1844 .dataviews-view-table thead th:has(.dataviews-view-table-header-button):first-child {
1845 padding-right: var(--wpds-dimension-padding-lg, 16px);
1846 }
1847
1848 .dataviews-view-table thead th:has(.dataviews-view-table-header-button):last-child {
1849 padding-left: var(--wpds-dimension-padding-lg, 16px);
1850 }
1851
1852 .dataviews-view-table tbody td {
1853 vertical-align: top;
1854 }
1855
1856 .dataviews-view-table tbody .dataviews-view-table__cell-content-wrapper {
1857 min-height: calc(var(--wpds-dimension-base, 4px) * 8);
1858 display: flex;
1859 align-items: center;
1860 white-space: nowrap;
1861 }
1862
1863 .dataviews-view-table tbody .dataviews-view-table__cell-content-wrapper.dataviews-view-table__cell-align-end {
1864 justify-content: flex-end;
1865 font-variant-numeric: tabular-nums;
1866 }
1867
1868 .dataviews-view-table tbody .dataviews-view-table__cell-content-wrapper.dataviews-view-table__cell-align-center {
1869 justify-content: center;
1870 }
1871
1872 .dataviews-view-table tbody .components-v-stack > .dataviews-view-table__cell-content-wrapper:not(:first-child) {
1873 min-height: 0;
1874 }
1875
1876 .dataviews-view-table .dataviews-view-table-header-button {
1877 padding: var(--wpds-dimension-padding-xs, 4px) var(--wpds-dimension-padding-sm, 8px);
1878 font-size: 11px;
1879 text-transform: uppercase;
1880 font-weight: var(--wpds-typography-font-weight-medium, 499);
1881 }
1882
1883 .dataviews-view-table .dataviews-view-table-header-button:not(:hover) {
1884 color: var(--wpds-color-fg-interactive-neutral, #1e1e1e);
1885 }
1886
1887 .dataviews-view-table .dataviews-view-table-header-button span {
1888 speak: none;
1889 }
1890
1891 .dataviews-view-table .dataviews-view-table-header-button span:empty {
1892 display: none;
1893 }
1894
1895 .dataviews-view-table .dataviews-view-table-header {
1896 padding-right: var(--wpds-dimension-padding-xs, 4px);
1897 }
1898
1899 .dataviews-view-table .dataviews-view-table__actions-column {
1900 width: auto;
1901 white-space: nowrap;
1902 }
1903
1904 .dataviews-view-table.has-compact-density thead th:has(.dataviews-view-table-header-button):not(:first-child) {
1905 padding-right: 0;
1906 }
1907
1908 .dataviews-view-table.has-compact-density thead th:has(.dataviews-view-table-header-button):not(:last-child) {
1909 padding-left: 0;
1910 }
1911
1912 .dataviews-view-table.has-compact-density td,
1913 .dataviews-view-table.has-compact-density th {
1914 padding: var(--wpds-dimension-padding-xs, 4px) var(--wpds-dimension-padding-sm, 8px);
1915 }
1916
1917 .dataviews-view-table.has-comfortable-density td,
1918 .dataviews-view-table.has-comfortable-density th {
1919 padding: var(--wpds-dimension-padding-lg, 16px) var(--wpds-dimension-padding-md, 12px);
1920 }
1921
1922 .dataviews-view-table.has-compact-density td.dataviews-view-table__checkbox-column,
1923 .dataviews-view-table.has-compact-density th.dataviews-view-table__checkbox-column, .dataviews-view-table.has-comfortable-density td.dataviews-view-table__checkbox-column,
1924 .dataviews-view-table.has-comfortable-density th.dataviews-view-table__checkbox-column {
1925 padding-left: 0;
1926 }
1927
1928 .dataviews-view-table-selection-checkbox {
1929 --checkbox-input-size: 24px;
1930 }
1931
1932 @media (min-width: 600px) {
1933 .dataviews-view-table-selection-checkbox {
1934 --checkbox-input-size: 16px;
1935 }
1936 }
1937 .dataviews-column-primary__media {
1938 max-width: 60px;
1939 min-width: calc(var(--wpds-dimension-base, 4px) * 8);
1940 min-height: calc(var(--wpds-dimension-base, 4px) * 8);
1941 overflow: hidden;
1942 position: relative;
1943 flex-shrink: 0;
1944 background-color: var(--wpds-color-bg-surface-neutral-strong, #fff);
1945 border-radius: var(--wpds-border-radius-md, 4px);
1946 }
1947
1948 .dataviews-column-primary__media img {
1949 width: calc(var(--wpds-dimension-base, 4px) * 8);
1950 height: calc(var(--wpds-dimension-base, 4px) * 8);
1951 object-fit: cover;
1952 }
1953
1954 .dataviews-column-primary__media::after {
1955 content: "";
1956 position: absolute;
1957 top: 0;
1958 right: 0;
1959 width: 100%;
1960 height: 100%;
1961 box-shadow: inset 0 0 0 var(--wpds-border-width-xs, 1px) rgba(0, 0, 0, 0.1);
1962 border-radius: var(--wpds-border-radius-md, 4px);
1963 }
1964
1965 .dataviews-view-table__cell-content-wrapper:not(.dataviews-column-primary__media),
1966 .dataviews-view-table__primary-column-content:not(.dataviews-column-primary__media) {
1967 min-width: 15ch;
1968 max-width: 80ch;
1969 }
1970
1971 .dataviews-view-table__group-header-row .dataviews-view-table__group-header-cell {
1972 font-weight: var(--wpds-typography-font-weight-medium, 499);
1973 padding: var(--wpds-dimension-padding-md, 12px) var(--wpds-dimension-padding-2xl, 24px);
1974 color: var(--wpds-color-fg-content-neutral, #1e1e1e);
1975 }
1976
1977 /* Column width intents via colgroup: make non-primary columns shrink-to-fit */
1978 .dataviews-view-table col[class^=dataviews-view-table__col-]:not(.dataviews-view-table__col-first-data):not(.dataviews-view-table__col-expand) {
1979 width: 1%;
1980 }
1981
1982 .dataviews-view-table.is-refreshing {
1983 opacity: 0.5;
1984 pointer-events: none;
1985 }
1986
1987 @media not (prefers-reduced-motion) {
1988 .dataviews-view-table.is-refreshing {
1989 opacity: 1;
1990 animation: dataviews-pulse 1s ease-in-out infinite;
1991 }
1992 }
1993 .dataviews-view-picker-grid.has-compact-density .dataviews-view-grid-items {
1994 gap: var(--wpds-dimension-gap-lg, 16px);
1995 }
1996
1997 .dataviews-view-picker-grid.has-comfortable-density .dataviews-view-grid-items {
1998 gap: var(--wpds-dimension-gap-2xl, 32px);
1999 }
2000
2001 .dataviews-view-picker-grid .dataviews-view-picker-grid__card {
2002 height: 100%;
2003 justify-content: flex-start;
2004 position: relative;
2005 isolation: isolate;
2006 }
2007
2008 .dataviews-view-picker-grid .dataviews-view-picker-grid__card .dataviews-view-picker-grid__title-actions {
2009 padding: var(--wpds-dimension-padding-sm, 8px) 0 var(--wpds-dimension-padding-xs, 4px);
2010 }
2011
2012 .dataviews-view-picker-grid .dataviews-view-picker-grid__card .dataviews-view-picker-grid__title-field {
2013 min-height: calc(var(--wpds-dimension-base, 4px) * 6);
2014 overflow: hidden;
2015 align-content: center;
2016 text-align: start;
2017 }
2018
2019 .dataviews-view-picker-grid .dataviews-view-picker-grid__card .dataviews-view-picker-grid__title-field--clickable {
2020 width: fit-content;
2021 }
2022
2023 .dataviews-view-picker-grid .dataviews-view-picker-grid__card.is-selected .dataviews-view-picker-grid__fields .dataviews-view-picker-grid__field .dataviews-view-picker-grid__field-value {
2024 color: var(--wpds-color-fg-content-neutral, #1e1e1e);
2025 }
2026
2027 .dataviews-view-picker-grid .dataviews-view-picker-grid__card.is-selected .dataviews-view-picker-grid__media::after {
2028 box-shadow: inset 0 0 0 var(--wpds-border-width-xs, 1px) var(--wpds-color-stroke-interactive-brand, var(--wp-admin-theme-color, #3858e9)), inset 0 0 0 var(--wpds-border-width-sm, 2px) var(--wpds-color-bg-surface-neutral-strong, #fff);
2029 }
2030
2031 .dataviews-view-picker-grid .dataviews-view-picker-grid__card .dataviews-view-picker-grid__media:focus::after {
2032 box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wpds-color-stroke-focus-brand, var(--wp-admin-theme-color, #3858e9));
2033 }
2034
2035 .dataviews-view-picker-grid:focus-visible[aria-activedescendant] {
2036 outline: none;
2037 }
2038
2039 .dataviews-view-picker-grid:focus-visible [data-active-item=true] {
2040 outline: 2px solid var(--wpds-color-stroke-focus-brand, var(--wp-admin-theme-color, #3858e9));
2041 }
2042
2043 .dataviews-view-picker-grid .dataviews-selection-checkbox {
2044 top: var(--wpds-dimension-padding-sm, 8px) !important;
2045 }
2046
2047 .dataviews-view-picker-grid .dataviews-selection-checkbox input {
2048 pointer-events: none;
2049 }
2050
2051 .dataviews-view-picker-grid .dataviews-view-picker-grid__media {
2052 width: 100%;
2053 aspect-ratio: 1/1;
2054 min-height: 0;
2055 background-color: var(--wpds-color-bg-surface-neutral-strong, #fff);
2056 border-radius: var(--wpds-border-radius-md, 4px);
2057 position: relative;
2058 }
2059
2060 .dataviews-view-picker-grid .dataviews-view-picker-grid__media img {
2061 object-fit: cover;
2062 width: 100%;
2063 height: 100%;
2064 }
2065
2066 .dataviews-view-picker-grid .dataviews-view-picker-grid__media::after {
2067 content: "";
2068 position: absolute;
2069 top: 0;
2070 right: 0;
2071 width: 100%;
2072 height: 100%;
2073 box-shadow: inset 0 0 0 var(--wpds-border-width-xs, 1px) rgba(0, 0, 0, 0.1);
2074 border-radius: var(--wpds-border-radius-md, 4px);
2075 pointer-events: none;
2076 }
2077
2078 .dataviews-view-picker-grid .dataviews-view-picker-grid__fields {
2079 position: relative;
2080 font-size: 12px;
2081 line-height: 16px;
2082 }
2083
2084 .dataviews-view-picker-grid .dataviews-view-picker-grid__fields:not(:empty) {
2085 padding: 0 0 var(--wpds-dimension-padding-md, 12px);
2086 }
2087
2088 .dataviews-view-picker-grid .dataviews-view-picker-grid__fields .dataviews-view-picker-grid__field-value:not(:empty) {
2089 min-height: calc(var(--wpds-dimension-base, 4px) * 6);
2090 line-height: var(--wpds-typography-line-height-sm, 20px);
2091 padding-top: calc(var(--wpds-dimension-base, 4px) / 2);
2092 }
2093
2094 .dataviews-view-picker-grid .dataviews-view-picker-grid__fields .dataviews-view-picker-grid__field {
2095 min-height: calc(var(--wpds-dimension-base, 4px) * 6);
2096 align-items: center;
2097 }
2098
2099 .dataviews-view-picker-grid .dataviews-view-picker-grid__fields .dataviews-view-picker-grid__field .dataviews-view-picker-grid__field-name {
2100 width: 35%;
2101 color: var(--wpds-color-fg-content-neutral-weak, #707070);
2102 overflow: hidden;
2103 text-overflow: ellipsis;
2104 white-space: nowrap;
2105 }
2106
2107 .dataviews-view-picker-grid .dataviews-view-picker-grid__fields .dataviews-view-picker-grid__field .dataviews-view-picker-grid__field-value {
2108 width: 65%;
2109 overflow: hidden;
2110 text-overflow: ellipsis;
2111 white-space: nowrap;
2112 }
2113
2114 .dataviews-view-picker-grid .dataviews-view-picker-grid__fields .dataviews-view-picker-grid__field:not(:has(.dataviews-view-picker-grid__field-value:not(:empty))) {
2115 display: none;
2116 }
2117
2118 .dataviews-view-picker-grid .dataviews-view-picker-grid__badge-fields:not(:empty) {
2119 padding-bottom: var(--wpds-dimension-padding-md, 12px);
2120 }
2121
2122 .dataviews-view-picker-grid__field-value:empty,
2123 .dataviews-view-picker-grid__field:empty {
2124 display: none;
2125 }
2126
2127 .dataviews-view-picker-grid__card .dataviews-selection-checkbox {
2128 position: absolute;
2129 top: -9999em;
2130 right: var(--wpds-dimension-padding-sm, 8px);
2131 z-index: 1;
2132 }
2133
2134 @media (hover: none) {
2135 .dataviews-view-picker-grid__card .dataviews-selection-checkbox {
2136 top: var(--wpds-dimension-padding-sm, 8px);
2137 }
2138 }
2139 .dataviews-view-picker-grid__card:hover .dataviews-selection-checkbox,
2140 .dataviews-view-picker-grid__card:focus-within .dataviews-selection-checkbox,
2141 .dataviews-view-picker-grid__card.is-selected .dataviews-selection-checkbox {
2142 top: var(--wpds-dimension-padding-sm, 8px);
2143 }
2144
2145 .dataviews-view-picker-grid__media--clickable {
2146 cursor: var(--wpds-cursor-control, pointer);
2147 }
2148
2149 .dataviews-view-picker-grid-group__header {
2150 font-size: var(--wpds-typography-font-size-lg, 15px);
2151 font-weight: var(--wpds-typography-font-weight-medium, 499);
2152 color: var(--wpds-color-fg-content-neutral, #1e1e1e);
2153 margin: 0 0 var(--wpds-dimension-gap-sm, 8px) 0;
2154 padding: 0 calc(var(--wpds-dimension-base, 4px) * 12);
2155 }
2156
2157 .dataviews-view-picker-table {
2158 background-color: inherit;
2159 }
2160
2161 .dataviews-view-picker-table .dataviews-view-table__checkbox-column {
2162 width: calc(var(--wpds-dimension-base, 4px) * 12);
2163 }
2164
2165 .dataviews-view-picker-table tbody:focus-visible[aria-activedescendant] {
2166 outline: none;
2167 }
2168
2169 .dataviews-view-picker-table tbody:focus-visible [data-active-item=true] {
2170 outline: 2px solid var(--wpds-color-stroke-focus-brand, var(--wp-admin-theme-color, #3858e9));
2171 }
2172
2173 .dataviews-view-picker-table .dataviews-selection-checkbox .components-checkbox-control__input.components-checkbox-control__input {
2174 pointer-events: none;
2175 opacity: 1;
2176 }
2177
2178 .dataviews-view-picker-table .dataviews-view-table__row {
2179 cursor: var(--wpds-cursor-control, pointer);
2180 }
2181
2182 .dataviews-view-picker-table .dataviews-view-table__row.is-selected {
2183 background-color: var(--wpds-color-bg-interactive-brand-weak-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 12%, white));
2184 }
2185
2186 .dataviews-view-picker-table .dataviews-view-table__row.is-hovered {
2187 background-color: var(--wpds-color-bg-interactive-brand-weak-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 12%, white));
2188 }
2189
2190 .dataviews-view-picker-table .dataviews-view-table__row.is-selected.is-hovered {
2191 background-color: var(--wpds-color-bg-interactive-brand-weak-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 12%, white));
2192 }
2193
2194 .dataviews-view-activity {
2195 margin: 0 0 auto;
2196 padding: 0 var(--wpds-dimension-padding-2xl, 24px);
2197 }
2198
2199 .dataviews-view-activity .dataviews-view-activity__group-header {
2200 font-size: var(--wpds-typography-font-size-lg, 15px);
2201 font-weight: var(--wpds-typography-font-weight-medium, 499);
2202 color: var(--wpds-color-fg-content-neutral-weak, #707070);
2203 margin: 0 0 var(--wpds-dimension-gap-sm, 8px) 0;
2204 padding: 0;
2205 }
2206
2207 .dataviews-view-activity .dataviews-view-activity__item-actions {
2208 min-width: calc(var(--wpds-dimension-base, 4px) * 6);
2209 }
2210
2211 .dataviews-view-activity .dataviews-view-activity__item-content {
2212 flex-grow: 1;
2213 }
2214
2215 .dataviews-view-activity .dataviews-view-activity__item-content .dataviews-view-activity__item-title,
2216 .dataviews-view-activity .dataviews-view-activity__item-content .dataviews-view-activity__item-description,
2217 .dataviews-view-activity .dataviews-view-activity__item-content .dataviews-view-activity__item-fields {
2218 min-height: calc(var(--wpds-dimension-base, 4px) * 4);
2219 }
2220
2221 .dataviews-view-activity .dataviews-view-activity__item-content .dataviews-view-activity__item-title {
2222 position: relative;
2223 display: flex;
2224 align-items: center;
2225 flex: 1;
2226 overflow: hidden;
2227 }
2228
2229 .dataviews-view-activity .dataviews-view-activity__item-content .dataviews-view-activity__item-title--clickable {
2230 cursor: var(--wpds-cursor-control, pointer);
2231 }
2232
2233 .dataviews-view-activity .dataviews-view-activity__item-content .dataviews-view-activity__item-title--clickable:focus-visible {
2234 outline: var(--wp-admin-border-width-focus) solid var(--wpds-color-stroke-focus-brand, var(--wp-admin-theme-color, #3858e9));
2235 outline-offset: var(--wp-admin-border-width-focus);
2236 border-radius: var(--wpds-border-radius-sm, 2px);
2237 }
2238
2239 .dataviews-view-activity .dataviews-view-activity__item-content .dataviews-view-activity__primary-actions {
2240 display: flex;
2241 width: max-content;
2242 flex: 0 0 auto;
2243 }
2244
2245 .dataviews-view-activity .dataviews-view-activity__item-content .dataviews-view-activity__primary-actions .components-button {
2246 position: relative;
2247 z-index: 1;
2248 }
2249
2250 .dataviews-view-activity .dataviews-view-activity__item-content .dataviews-view-activity__item-fields {
2251 color: var(--wpds-color-fg-content-neutral-weak, #707070);
2252 display: flex;
2253 gap: var(--wpds-dimension-gap-md, 12px);
2254 row-gap: var(--wpds-dimension-gap-xs, 4px);
2255 flex-wrap: wrap;
2256 }
2257
2258 .dataviews-view-activity .dataviews-view-activity__item-content .dataviews-view-activity__item-fields:empty {
2259 display: none;
2260 }
2261
2262 .dataviews-view-activity .dataviews-view-activity__item-content .dataviews-view-activity__item-fields .dataviews-view-activity__item-field:has(.dataviews-view-activity__item-field-value:empty) {
2263 display: none;
2264 }
2265
2266 .dataviews-view-activity .dataviews-view-activity__item-content .dataviews-view-activity__item-fields .dataviews-view-activity__item-field-value {
2267 display: flex;
2268 align-items: center;
2269 }
2270
2271 .dataviews-view-activity .dataviews-view-activity__item-type {
2272 align-self: stretch;
2273 flex-shrink: 0;
2274 }
2275
2276 .dataviews-view-activity .dataviews-view-activity__item-type::after {
2277 content: "";
2278 flex: 1 1 auto;
2279 width: 1px;
2280 margin: 0 auto;
2281 background-color: var(--wpds-color-stroke-surface-neutral, #dbdbdb);
2282 }
2283
2284 .dataviews-view-activity .dataviews-view-activity__item-type::before {
2285 content: "";
2286 flex: 0 0 auto;
2287 width: 1px;
2288 margin: 0 auto;
2289 background-color: var(--wpds-color-stroke-surface-neutral, #dbdbdb);
2290 }
2291
2292 .dataviews-view-activity .dataviews-view-activity__item.is-compact .dataviews-view-activity__item-type {
2293 width: var(--wpds-dimension-padding-md, 12px);
2294 }
2295
2296 .dataviews-view-activity .dataviews-view-activity__item.is-compact .dataviews-view-activity__item-type::before {
2297 height: calc(var(--wpds-dimension-base, 4px) * 3);
2298 }
2299
2300 .dataviews-view-activity .dataviews-view-activity__item.is-compact .dataviews-view-activity__item-type-icon {
2301 width: calc(var(--wpds-dimension-base, 4px) * 3 - 1px);
2302 height: calc(var(--wpds-dimension-base, 4px) * 3 - 1px);
2303 }
2304
2305 .dataviews-view-activity .dataviews-view-activity__item.is-compact .dataviews-view-activity__item-content {
2306 margin: var(--wpds-dimension-gap-md, 12px) 0;
2307 }
2308
2309 .dataviews-view-activity .dataviews-view-activity__item.is-balanced .dataviews-view-activity__item-type {
2310 width: calc(var(--wpds-dimension-base, 4px) * 6);
2311 }
2312
2313 .dataviews-view-activity .dataviews-view-activity__item.is-balanced .dataviews-view-activity__item-type::before {
2314 height: calc(var(--wpds-dimension-base, 4px) * 3);
2315 }
2316
2317 .dataviews-view-activity .dataviews-view-activity__item.is-balanced .dataviews-view-activity__item-type-icon {
2318 width: calc(var(--wpds-dimension-base, 4px) * 6 + 1px);
2319 height: calc(var(--wpds-dimension-base, 4px) * 6 + 1px);
2320 }
2321
2322 .dataviews-view-activity .dataviews-view-activity__item.is-balanced .dataviews-view-activity__item-content {
2323 margin: var(--wpds-dimension-gap-md, 12px) 0;
2324 padding-top: var(--wpds-dimension-padding-sm, 8px);
2325 }
2326
2327 .dataviews-view-activity .dataviews-view-activity__item.is-comfortable .dataviews-view-activity__item-type {
2328 width: calc(var(--wpds-dimension-base, 4px) * 8);
2329 }
2330
2331 .dataviews-view-activity .dataviews-view-activity__item.is-comfortable .dataviews-view-activity__item-type::before {
2332 height: calc(var(--wpds-dimension-base, 4px) * 2);
2333 }
2334
2335 .dataviews-view-activity .dataviews-view-activity__item.is-comfortable .dataviews-view-activity__item-type-icon {
2336 width: calc(var(--wpds-dimension-base, 4px) * 8 + 1px);
2337 height: calc(var(--wpds-dimension-base, 4px) * 8 + 1px);
2338 }
2339
2340 .dataviews-view-activity .dataviews-view-activity__item.is-comfortable .dataviews-view-activity__item-content {
2341 margin: var(--wpds-dimension-gap-sm, 8px) 0 var(--wpds-dimension-gap-lg, 16px);
2342 padding-top: var(--wpds-dimension-padding-md, 12px);
2343 }
2344
2345 .dataviews-view-activity .dataviews-view-activity__item.is-comfortable .dataviews-view-activity__item-bullet, .dataviews-view-activity .dataviews-view-activity__item.is-balanced .dataviews-view-activity__item-bullet {
2346 width: calc(var(--wpds-dimension-base, 4px) * 2 + 1px);
2347 height: calc(var(--wpds-dimension-base, 4px) * 2 + 1px);
2348 position: relative;
2349 top: 50%;
2350 transform: translateY(-50%);
2351 }
2352
2353 .dataviews-view-activity .dataviews-view-activity__item:first-child .dataviews-view-activity__item-type::before {
2354 visibility: hidden;
2355 }
2356
2357 .dataviews-view-activity .dataviews-view-activity__group:last-of-type > .dataviews-view-activity__item:last-of-type .dataviews-view-activity__item-type::after, .dataviews-view-activity > .dataviews-view-activity__item:last-child .dataviews-view-activity__item-type::after {
2358 background: linear-gradient(to bottom, var(--wpds-color-stroke-surface-neutral, #dbdbdb) 0%, color-mix(in srgb, var(--wpds-color-stroke-surface-neutral, #dbdbdb) 20%, transparent) 60%, transparent 100%);
2359 }
2360
2361 .dataviews-view-activity .dataviews-view-activity__item-type-icon {
2362 overflow: hidden;
2363 flex-shrink: 0;
2364 background-color: var(--wpds-color-bg-surface-neutral-strong, #fff);
2365 }
2366
2367 .dataviews-view-activity .dataviews-view-activity__item-type-icon img,
2368 .dataviews-view-activity .dataviews-view-activity__item-type-icon svg,
2369 .dataviews-view-activity .dataviews-view-activity__item-type-icon .dataviews-view-activity__item-bullet {
2370 display: block;
2371 width: 100%;
2372 height: 100%;
2373 margin: 0 auto;
2374 object-fit: cover;
2375 border-radius: 50%;
2376 box-sizing: border-box;
2377 box-shadow: inset 0 0 0 var(--wpds-border-width-xs, 1px) var(--wpds-color-stroke-surface-neutral, #dbdbdb);
2378 }
2379
2380 .dataviews-view-activity .dataviews-view-activity__item-type-icon svg {
2381 padding: var(--wpds-dimension-padding-xs, 4px);
2382 }
2383
2384 .dataviews-view-activity .dataviews-view-activity__item-type-icon .dataviews-view-activity__item-bullet {
2385 content: "";
2386 background-color: var(--wpds-color-stroke-surface-neutral, #dbdbdb);
2387 }
2388
2389 .dataviews-view-activity.is-refreshing {
2390 opacity: 0.5;
2391 pointer-events: none;
2392 }
2393
2394 @media not (prefers-reduced-motion) {
2395 .dataviews-view-activity.is-refreshing {
2396 opacity: 1;
2397 animation: dataviews-pulse 1s ease-in-out infinite;
2398 }
2399 }
2400 .dataviews-view-activity + .dataviews-pagination {
2401 justify-content: space-between;
2402 }
2403
2404 .dataviews-picker-footer__bulk-selection {
2405 align-self: flex-start;
2406 height: calc(var(--wpds-dimension-base, 4px) * 8);
2407 }
2408
2409 .dataviews-picker-footer__actions {
2410 align-self: flex-end;
2411 }
2412
2413 .dataviews-controls__datetime {
2414 border: none;
2415 padding: 0;
2416 }
2417
2418 .dataviews-controls__relative-date-number,
2419 .dataviews-controls__relative-date-unit {
2420 flex: 1 1 50%;
2421 }
2422
2423 .dataviews-controls__date input[type=date]::-webkit-inner-spin-button,
2424 .dataviews-controls__date input[type=date]::-webkit-calendar-picker-indicator {
2425 display: none;
2426 -webkit-appearance: none;
2427 }
2428
2429 .dataviews-controls__date-range-inputs > * {
2430 min-width: 0;
2431 }
2432
2433 .dataviews-controls__color-picker-dropdown {
2434 display: flex;
2435 }
2436
2437 .dataviews-controls__date-preset {
2438 border: 1px solid var(--wpds-color-stroke-surface-neutral, #dbdbdb);
2439 }
2440
2441 .dataviews-controls__date-preset:active {
2442 background-color: var(--wpds-color-bg-interactive-neutral-strong-active, #1e1e1e);
2443 }
2444
2445 .dataforms-layouts-panel__field-trigger {
2446 position: relative;
2447 color: inherit;
2448 display: flex;
2449 width: 100%;
2450 min-height: calc(var(--wpds-dimension-base, 4px) * 6);
2451 cursor: var(--wpds-cursor-control, pointer);
2452 align-items: flex-start;
2453 border-radius: var(--wpds-border-radius-sm, 2px);
2454 isolation: isolate;
2455 }
2456
2457 .dataforms-layouts-panel__field-trigger--label-side {
2458 flex-direction: row;
2459 gap: var(--wpds-dimension-gap-md, 12px);
2460 }
2461
2462 .dataforms-layouts-panel__field-trigger--label-top {
2463 display: grid;
2464 grid-template-columns: 1fr auto;
2465 }
2466
2467 .dataforms-layouts-panel__field-trigger--label-none {
2468 align-items: center;
2469 }
2470
2471 .dataforms-layouts-panel__field-trigger:not(.is-disabled):hover {
2472 color: var(--wpds-color-fg-interactive-brand, var(--wp-admin-theme-color, #3858e9));
2473 }
2474
2475 .dataforms-layouts-panel__field-trigger:not(.is-disabled):hover .dataforms-layouts-panel__field-trigger-icon {
2476 opacity: 1;
2477 }
2478
2479 .dataforms-layouts-panel__field-trigger:not(.is-disabled):hover .dataforms-layouts-panel__field-label {
2480 color: var(--wpds-color-fg-interactive-brand, var(--wp-admin-theme-color, #3858e9));
2481 }
2482
2483 .dataforms-layouts-panel__field-trigger.is-disabled {
2484 cursor: default;
2485 }
2486
2487 .dataforms-layouts-panel__field-trigger.is-disabled .dataforms-layouts-panel__field-control {
2488 color: var(--wpds-color-fg-content-neutral-weak, #707070);
2489 font-weight: var(--wpds-typography-font-weight-regular, 400);
2490 }
2491
2492 .dataforms-layouts-panel__field-trigger--edit-always .dataforms-layouts-panel__field-trigger-icon {
2493 opacity: 1;
2494 fill: currentColor;
2495 }
2496
2497 .dataforms-layouts-panel__field-trigger--edit-always .dataforms-layouts-panel__field-trigger-icon:hover, .dataforms-layouts-panel__field-trigger--edit-always .dataforms-layouts-panel__field-trigger-icon:focus-visible {
2498 fill: var(--wpds-color-fg-interactive-brand, var(--wp-admin-theme-color, #3858e9));
2499 }
2500
2501 .dataforms-layouts-panel__field-trigger-icon {
2502 padding: 0;
2503 color: var(--wpds-color-fg-interactive-brand, var(--wp-admin-theme-color, #3858e9));
2504 flex: 0 0 auto;
2505 opacity: 0;
2506 border-radius: var(--wpds-border-radius-xs, 1px);
2507 }
2508
2509 .dataforms-layouts-panel__field-trigger-icon:focus-visible {
2510 opacity: 1;
2511 outline: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)) solid var(--wpds-color-stroke-focus-brand, var(--wp-admin-theme-color, #3858e9));
2512 }
2513
2514 .dataforms-layouts-panel__field-dropdown-anchor {
2515 width: 100%;
2516 }
2517
2518 .dataforms-layouts-panel__field-dropdown-anchor .components-dropdown {
2519 width: 100%;
2520 }
2521
2522 .dataforms-layouts-panel__field-label {
2523 width: 38%;
2524 flex-shrink: 0;
2525 min-height: calc(var(--wpds-dimension-base, 4px) * 6);
2526 display: flex;
2527 align-items: center;
2528 line-height: var(--wpds-typography-line-height-sm, 20px);
2529 hyphens: auto;
2530 color: var(--wpds-color-fg-content-neutral-weak, #707070);
2531 }
2532
2533 .dataforms-layouts-panel__field-label .components-base-control__label {
2534 display: inline;
2535 margin-bottom: 0;
2536 line-height: inherit;
2537 }
2538
2539 .dataforms-layouts-panel__field-label.has-error {
2540 color: var(--wpds-color-fg-content-error-weak, #cc1818);
2541 }
2542
2543 .dataforms-layouts-panel__field-label-error-content {
2544 position: relative;
2545 z-index: 1;
2546 cursor: help;
2547 fill: var(--wpds-color-fg-content-error-weak, #cc1818);
2548 display: inline-flex;
2549 flex-direction: row;
2550 align-items: center;
2551 gap: var(--wpds-dimension-gap-xs, 4px);
2552 }
2553
2554 .dataforms-layouts-panel__field-label-error-content svg {
2555 fill: currentColor;
2556 }
2557
2558 .dataforms-layouts-panel__field-control {
2559 flex-grow: 1;
2560 min-width: 0;
2561 min-height: calc(var(--wpds-dimension-base, 4px) * 6);
2562 line-height: var(--wpds-typography-line-height-md, 24px);
2563 display: flex;
2564 align-items: center;
2565 overflow: hidden;
2566 word-break: break-word;
2567 font-weight: var(--wpds-typography-font-weight-medium, 499);
2568 }
2569
2570 .dataforms-layouts-panel__field-control > * {
2571 min-width: 0;
2572 }
2573
2574 .dataforms-layouts-panel__field-control .components-button {
2575 max-width: 100%;
2576 text-align: right;
2577 white-space: normal;
2578 text-wrap: balance;
2579 text-wrap: pretty;
2580 min-height: 32px;
2581 }
2582
2583 .dataforms-layouts-panel__field-control.components-button.is-link[aria-disabled=true] {
2584 text-decoration: none;
2585 }
2586
2587 .dataforms-layouts-panel__field-control .components-dropdown {
2588 max-width: 100%;
2589 }
2590
2591 .dataforms-layouts-panel__field-trigger--label-top .dataforms-layouts-panel__field-label {
2592 width: 100%;
2593 }
2594
2595 .dataforms-layouts-panel__field-trigger--label-top .dataforms-layouts-panel__field-control {
2596 grid-column: 1/-1;
2597 }
2598
2599 .dataforms-layouts-panel__field-trigger--label-top .dataforms-layouts-panel__field-trigger-icon {
2600 grid-row: 1;
2601 grid-column: 2;
2602 }
2603
2604 .dataforms-layouts-panel__field-dropdown .components-popover__content {
2605 min-width: 320px;
2606 padding: var(--wpds-dimension-padding-lg, 16px);
2607 }
2608
2609 .dataforms-layouts-panel__dropdown-header {
2610 margin-bottom: var(--wpds-dimension-gap-lg, 16px);
2611 }
2612
2613 .dataforms-layouts-panel__modal-footer {
2614 margin-top: var(--wpds-dimension-gap-lg, 16px);
2615 }
2616
2617 .components-popover.components-dropdown__content.dataforms-layouts-panel__field-dropdown {
2618 z-index: 159990;
2619 }
2620
2621 .dataforms-layouts-panel__summary-button:empty {
2622 min-width: 160px;
2623 }
2624
2625 .dataforms-layouts-regular__field {
2626 width: 100%;
2627 min-height: calc(var(--wpds-dimension-base, 4px) * 8);
2628 justify-content: flex-start !important;
2629 align-items: flex-start !important;
2630 }
2631
2632 .dataforms-layouts-regular__field .components-base-control__label,
2633 .dataforms-layouts-regular__field .components-input-control__label,
2634 .dataforms-layouts-regular__field .components-form-token-field__label {
2635 color: var(--wpds-color-fg-content-neutral, #1e1e1e);
2636 }
2637
2638 .dataforms-layouts-regular__field-label {
2639 width: 38%;
2640 flex-shrink: 0;
2641 min-height: calc(var(--wpds-dimension-base, 4px) * 8);
2642 display: flex;
2643 align-items: center;
2644 line-height: var(--wpds-typography-line-height-sm, 20px);
2645 hyphens: auto;
2646 }
2647
2648 .dataforms-layouts-regular__field-label--label-position-side {
2649 align-self: center;
2650 }
2651
2652 .dataforms-layouts-regular__field-label .components-base-control__label {
2653 margin-bottom: 0;
2654 }
2655
2656 .dataforms-layouts-regular__field-control {
2657 flex-grow: 1;
2658 min-height: calc(var(--wpds-dimension-base, 4px) * 8);
2659 display: flex;
2660 align-items: center;
2661 }
2662
2663 .dataforms-layouts-card__field {
2664 width: 100%;
2665 }
2666
2667 .dataforms-layouts-card__field-header-content {
2668 min-height: 24px;
2669 }
2670
2671 .dataforms-layouts-card__field-header-content-description {
2672 display: contents;
2673 }
2674
2675 .dataforms-layouts-card__field-description {
2676 color: var(--wpds-color-fg-content-neutral-weak, #707070);
2677 display: block;
2678 font-size: var(--wpds-typography-font-size-md, 13px);
2679 margin-bottom: var(--wpds-dimension-gap-lg, 16px);
2680 }
2681
2682 .dataforms-layouts-card__field-summary {
2683 display: flex;
2684 flex-direction: row;
2685 gap: var(--wpds-dimension-gap-lg, 16px);
2686 align-items: center;
2687 }
2688
2689 .dataforms-layouts-details__summary-content {
2690 display: inline-flex;
2691 min-height: calc(var(--wpds-dimension-base, 4px) * 6);
2692 }
2693
2694 .dataforms-layouts-details__content {
2695 padding-top: var(--wpds-dimension-padding-md, 12px);
2696 }
2697
2698 .dataforms-layouts-row__field-control {
2699 width: 100%;
2700 }
2701
2702 .dataforms-layouts__wrapper {
2703 font-family: -apple-system, "system-ui", "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
2704 font-weight: 400;
2705 font-size: 13px;
2706 line-height: 20px;
2707 }
2708
2709 /**
2710 * Typography
2711 */
2712 /**
2713 * SCSS Variables.
2714 *
2715 * Please use variables from this sheet to ensure consistency across the UI.
2716 * Don't add to this sheet unless you're pretty sure the value will be reused in many places.
2717 * For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
2718 */
2719 /**
2720 * Colors
2721 */
2722 /**
2723 * Fonts & basic variables.
2724 */
2725 /**
2726 * Typography
2727 */
2728 /**
2729 * Grid System.
2730 * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
2731 */
2732 /**
2733 * Radius scale.
2734 */
2735 /**
2736 * Elevation scale.
2737 */
2738 /**
2739 * Dimensions.
2740 */
2741 /**
2742 * Mobile specific styles
2743 */
2744 /**
2745 * Editor styles.
2746 */
2747 /**
2748 * Block & Editor UI.
2749 */
2750 /**
2751 * Block paddings.
2752 */
2753 /**
2754 * React Native specific.
2755 * These variables do not appear to be used anywhere else.
2756 */
2757 /**
2758 * Breakpoints & Media Queries
2759 */
2760 /**
2761 * Converts a hex value into the rgb equivalent.
2762 *
2763 * @param {string} hex - the hexadecimal value to convert
2764 * @return {string} comma separated rgb values
2765 */
2766 /**
2767 * Long content fade mixin
2768 *
2769 * Creates a fading overlay to signify that the content is longer
2770 * than the space allows.
2771 */
2772 /**
2773 * Breakpoint mixins
2774 */
2775 /**
2776 * Focus styles.
2777 */
2778 /**
2779 * Applies editor left position to the selector passed as argument
2780 */
2781 /**
2782 * Styles that are reused verbatim in a few places
2783 */
2784 /**
2785 * Allows users to opt-out of animations via OS-level preferences.
2786 */
2787 /**
2788 * Reset default styles for JavaScript UI based pages.
2789 * This is a WP-admin agnostic reset
2790 */
2791 /**
2792 * Reset the WP Admin page styles for Gutenberg-like pages.
2793 */
2794 /**
2795 * Creates a checkerboard pattern background to indicate transparency.
2796 * @param {String} $size - The size of the squares in the checkerboard pattern. Default is 12px.
2797 */
2798 :root {
2799 --wp-block-synced-color: #7a00df;
2800 --wp-block-synced-color--rgb: 122, 0, 223;
2801 --wp-bound-block-color: var(--wp-block-synced-color);
2802 --wp-editor-canvas-background: #ddd;
2803 --wp-admin-theme-color: #007cba;
2804 --wp-admin-theme-color--rgb: 0, 124, 186;
2805 --wp-admin-theme-color-darker-10: rgb(0, 107, 160.5);
2806 --wp-admin-theme-color-darker-10--rgb: 0, 107, 160.5;
2807 --wp-admin-theme-color-darker-20: #005a87;
2808 --wp-admin-theme-color-darker-20--rgb: 0, 90, 135;
2809 --wp-admin-border-width-focus: 2px;
2810 }
2811
2812 @media (min-resolution: 192dpi) {
2813 :root {
2814 --wp-admin-border-width-focus: 1.5px;
2815 }
2816 }
2817 .fields-create-template-part-modal {
2818 z-index: 1000001;
2819 }
2820
2821 .fields-create-template-part-modal__area-fieldset {
2822 border: 0;
2823 padding: 0;
2824 margin: 0;
2825 }
2826
2827 .fields-create-template-part-modal__area-radio-group {
2828 border: 1px solid #949494;
2829 border-radius: 2px;
2830 }
2831
2832 .fields-create-template-part-modal__area-radio-wrapper {
2833 position: relative;
2834 padding: 12px;
2835 display: grid;
2836 align-items: center;
2837 grid-template-columns: min-content 1fr min-content;
2838 grid-gap: 4px 8px;
2839 color: #1e1e1e;
2840 }
2841
2842 .fields-create-template-part-modal__area-radio-wrapper + .fields-create-template-part-modal__area-radio-wrapper {
2843 border-top: 1px solid #949494;
2844 }
2845
2846 .fields-create-template-part-modal__area-radio-wrapper input[type=radio] {
2847 position: absolute;
2848 opacity: 0;
2849 }
2850
2851 .fields-create-template-part-modal__area-radio-wrapper:has(input[type=radio]:checked) {
2852 z-index: 1;
2853 }
2854
2855 .fields-create-template-part-modal__area-radio-wrapper:has(input[type=radio]:not(:checked)):hover {
2856 color: var(--wp-admin-theme-color);
2857 }
2858
2859 .fields-create-template-part-modal__area-radio-wrapper > *:not(.fields-create-template-part-modal__area-radio-label) {
2860 pointer-events: none;
2861 }
2862
2863 .fields-create-template-part-modal__area-radio-label::before {
2864 content: "";
2865 position: absolute;
2866 inset: 0;
2867 }
2868
2869 input[type=radio]:not(:checked) ~ .fields-create-template-part-modal__area-radio-label::before {
2870 cursor: var(--wpds-cursor-control, pointer);
2871 }
2872
2873 input[type=radio]:focus-visible ~ .fields-create-template-part-modal__area-radio-label::before {
2874 outline: 4px solid transparent;
2875 box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
2876 }
2877
2878 .fields-create-template-part-modal__area-radio-icon,
2879 .fields-create-template-part-modal__area-radio-checkmark {
2880 fill: currentColor;
2881 }
2882
2883 input[type=radio]:not(:checked) ~ .fields-create-template-part-modal__area-radio-checkmark {
2884 opacity: 0;
2885 }
2886
2887 .fields-create-template-part-modal__area-radio-description {
2888 grid-column: 2/3;
2889 margin: 0;
2890 color: #757575;
2891 font-size: 12px;
2892 line-height: normal;
2893 text-wrap: pretty;
2894 }
2895
2896 input[type=radio]:not(:checked):hover ~ .fields-create-template-part-modal__area-radio-description {
2897 color: inherit;
2898 }
2899
2900 fieldset.fields__media-edit {
2901 border: 0;
2902 padding: 0;
2903 margin: 0;
2904 width: 100%;
2905 }
2906
2907 fieldset.fields__media-edit .components-base-control__label {
2908 color: #1e1e1e;
2909 }
2910
2911 fieldset.fields__media-edit .fields__media-edit-description {
2912 font-size: 12px;
2913 line-height: 1.5;
2914 }
2915
2916 fieldset.fields__media-edit {
2917 /* stylelint-disable-next-line property-no-unknown -- '@container' not globally permitted */
2918 container-type: inline-size;
2919 }
2920
2921 fieldset.fields__media-edit .fields__media-edit-compact-group {
2922 border: 1px dashed #949494;
2923 border-radius: 4px;
2924 overflow: hidden;
2925 }
2926
2927 fieldset.fields__media-edit .fields__media-edit-compact-group.is-single {
2928 border-radius: 2px;
2929 }
2930
2931 fieldset.fields__media-edit .fields__media-edit-compact-group .fields__media-edit-picker-button {
2932 border: 0;
2933 border-radius: 0;
2934 }
2935
2936 fieldset.fields__media-edit .fields__media-edit-compact-group .fields__media-edit-picker-button:focus-visible {
2937 box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
2938 }
2939
2940 fieldset.fields__media-edit .fields__media-edit-compact-group .fields__media-edit-compact:not(:last-child) {
2941 border-bottom: 1px solid #f0f0f0;
2942 }
2943
2944 fieldset.fields__media-edit .fields__media-edit-compact .components-drop-zone .components-drop-zone__content-inner {
2945 display: flex;
2946 align-items: center;
2947 gap: 8px;
2948 }
2949
2950 fieldset.fields__media-edit .fields__media-edit-compact .components-drop-zone .components-drop-zone__content-inner .components-drop-zone__content-icon {
2951 margin: 0;
2952 }
2953
2954 fieldset.fields__media-edit .fields__media-edit-compact {
2955 position: relative;
2956 min-width: 0;
2957 }
2958
2959 fieldset.fields__media-edit .fields__media-edit-compact:hover .fields__media-edit-compact-movers, fieldset.fields__media-edit .fields__media-edit-compact:focus-within .fields__media-edit-compact-movers {
2960 opacity: 1;
2961 }
2962
2963 fieldset.fields__media-edit .fields__media-edit-compact .fields__media-edit-compact-movers {
2964 position: absolute;
2965 left: 8px;
2966 top: 50%;
2967 transform: translateY(-50%);
2968 opacity: 0;
2969 pointer-events: none;
2970 z-index: 1;
2971 border-radius: 2px;
2972 background: #fff;
2973 }
2974
2975 fieldset.fields__media-edit .fields__media-edit-compact .fields__media-edit-compact-movers * {
2976 pointer-events: auto;
2977 }
2978
2979 fieldset.fields__media-edit .fields__media-edit-picker-button:has(.fields__media-edit-placeholder):not(.fields__media-edit-expanded *) .components-drop-zone .components-drop-zone__content-inner {
2980 display: flex;
2981 align-items: center;
2982 gap: 8px;
2983 }
2984
2985 fieldset.fields__media-edit .fields__media-edit-picker-button:has(.fields__media-edit-placeholder):not(.fields__media-edit-expanded *) .components-drop-zone .components-drop-zone__content-inner .components-drop-zone__content-icon {
2986 margin: 0;
2987 }
2988
2989 fieldset.fields__media-edit .fields__media-edit-picker-button {
2990 position: relative;
2991 display: flex;
2992 align-items: center;
2993 gap: 8px;
2994 border: 1px dashed #949494;
2995 border-radius: 2px;
2996 padding: 4px 8px;
2997 min-height: 40px;
2998 cursor: var(--wpds-cursor-control, pointer);
2999 min-width: 0;
3000 }
3001
3002 fieldset.fields__media-edit .fields__media-edit-picker-button:not(.has-attachment) {
3003 border-color: var(--wp-admin-theme-color);
3004 color: var(--wp-admin-theme-color);
3005 }
3006
3007 fieldset.fields__media-edit .fields__media-edit-picker-button:not(.has-attachment):hover {
3008 background-color: color-mix(in srgb, var(--wp-admin-theme-color, #3858e9) 4%, transparent);
3009 color: var(--wp-admin-theme-color-darker-20);
3010 border-color: var(--wp-admin-theme-color-darker-20);
3011 }
3012
3013 fieldset.fields__media-edit .fields__media-edit-picker-button:hover {
3014 color: var(--wp-admin-theme-color);
3015 }
3016
3017 fieldset.fields__media-edit .fields__media-edit-picker-button:focus-visible {
3018 box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
3019 outline: none;
3020 }
3021
3022 fieldset.fields__media-edit .fields__media-edit-picker-button[aria-disabled=true] {
3023 opacity: 0.6;
3024 cursor: default;
3025 }
3026
3027 fieldset.fields__media-edit .fields__media-edit-picker-button .fields__media-edit-picker-button-spinner {
3028 position: absolute;
3029 top: 50%;
3030 right: 50%;
3031 transform: translate(50%, -50%);
3032 z-index: 1;
3033 }
3034
3035 fieldset.fields__media-edit .fields__media-edit-filename,
3036 fieldset.fields__media-edit .fields__media-edit-placeholder {
3037 flex: 1;
3038 width: 100%;
3039 min-width: 0;
3040 }
3041
3042 fieldset.fields__media-edit .fields__media-edit-placeholder {
3043 text-align: center;
3044 }
3045
3046 fieldset.fields__media-edit .fields__media-edit-thumbnail {
3047 width: 24px;
3048 aspect-ratio: 1/1;
3049 flex-shrink: 0;
3050 border-radius: 2px;
3051 }
3052
3053 fieldset.fields__media-edit .fields__media-edit-expanded {
3054 display: grid;
3055 gap: 8px;
3056 }
3057
3058 fieldset.fields__media-edit .fields__media-edit-expanded.is-empty .components-drop-zone .components-drop-zone__content-inner {
3059 display: flex;
3060 align-items: center;
3061 gap: 8px;
3062 }
3063
3064 fieldset.fields__media-edit .fields__media-edit-expanded.is-empty .components-drop-zone .components-drop-zone__content-inner .components-drop-zone__content-icon {
3065 margin: 0;
3066 }
3067
3068 fieldset.fields__media-edit .fields__media-edit-expanded .fields__media-edit-expanded-preview {
3069 position: relative;
3070 width: 100%;
3071 aspect-ratio: var(--fields-media-edit-expanded-multiple-aspect-ratio, 3/2);
3072 border-radius: 2px;
3073 padding: 4px;
3074 overflow: hidden;
3075 display: flex;
3076 align-items: center;
3077 justify-content: center;
3078 }
3079
3080 fieldset.fields__media-edit .fields__media-edit-expanded .fields__media-edit-expanded-preview .fields__media-edit-expanded-preview-stack {
3081 width: 100%;
3082 height: 100%;
3083 }
3084
3085 fieldset.fields__media-edit .fields__media-edit-expanded .fields__media-edit-expanded-overlay {
3086 position: absolute;
3087 top: 0;
3088 right: 0;
3089 left: 0;
3090 bottom: 0;
3091 opacity: 0;
3092 pointer-events: none;
3093 }
3094
3095 fieldset.fields__media-edit .fields__media-edit-expanded .fields__media-edit-expanded-overlay * {
3096 pointer-events: auto;
3097 }
3098
3099 fieldset.fields__media-edit .fields__media-edit-expanded .fields__media-edit-expanded-actions {
3100 position: absolute;
3101 top: 4px;
3102 left: 4px;
3103 border-radius: 2px;
3104 background: #fff;
3105 }
3106
3107 fieldset.fields__media-edit .fields__media-edit-expanded .fields__media-edit-expanded-item {
3108 position: relative;
3109 min-width: 0;
3110 border-radius: 4px;
3111 }
3112
3113 fieldset.fields__media-edit .fields__media-edit-expanded .fields__media-edit-expanded-item:hover .fields__media-edit-expanded-overlay, fieldset.fields__media-edit .fields__media-edit-expanded .fields__media-edit-expanded-item:focus-within .fields__media-edit-expanded-overlay {
3114 opacity: 1;
3115 }
3116
3117 fieldset.fields__media-edit .fields__media-edit-expanded .fields__media-edit-expanded-item:not(.has-preview-image) .fields__media-edit-expanded-preview-stack {
3118 padding: 8px;
3119 }
3120
3121 fieldset.fields__media-edit .fields__media-edit-expanded .fields__media-edit-thumbnail {
3122 width: 100%;
3123 height: 100%;
3124 object-fit: cover;
3125 object-position: 50% 50%;
3126 }
3127
3128 fieldset.fields__media-edit .fields__media-edit-expanded .fields__media-edit-filename {
3129 text-align: center;
3130 flex: none;
3131 }
3132
3133 fieldset.fields__media-edit .fields__media-edit-expanded .fields__media-edit-picker-button-spinner svg {
3134 margin: 0;
3135 }
3136
3137 fieldset.fields__media-edit .fields__media-edit-expanded.is-single {
3138 grid-template-columns: 1fr;
3139 }
3140
3141 fieldset.fields__media-edit .fields__media-edit-expanded.is-single .fields__media-edit-expanded-preview {
3142 aspect-ratio: 2/1;
3143 }
3144
3145 fieldset.fields__media-edit .fields__media-edit-expanded .fields__media-edit-picker-button {
3146 border-radius: 4px;
3147 }
3148
3149 fieldset.fields__media-edit .fields__media-edit-expanded.is-empty .fields__media-edit-picker-button {
3150 border-radius: 2px;
3151 }
3152
3153 fieldset.fields__media-edit .fields__media-edit-expanded.is-multiple:not(.is-empty) {
3154 grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
3155 /* stylelint-disable-next-line property-no-unknown -- '@container' not globally permitted */
3156 }
3157
3158 @container (max-width: 500px) {
3159 fieldset.fields__media-edit .fields__media-edit-expanded.is-multiple:not(.is-empty) {
3160 grid-template-columns: repeat(auto-fill, minmax(105px, 1fr));
3161 }
3162 }
3163 fieldset.fields__media-edit .fields__media-edit-expanded:not(.is-empty) .fields__media-edit-picker-button {
3164 padding: 0;
3165 }
3166
3167 fieldset.fields__media-edit .fields__media-edit-expanded:not(.is-empty) .fields__media-edit-placeholder {
3168 display: flex;
3169 align-items: center;
3170 justify-content: center;
3171 aspect-ratio: var(--fields-media-edit-expanded-multiple-aspect-ratio, 3/2);
3172 }
3173
3174 .fields-controls__author-avatar {
3175 flex-shrink: 0;
3176 overflow: hidden;
3177 width: 24px;
3178 height: 24px;
3179 align-items: center;
3180 justify-content: right;
3181 display: flex;
3182 }
3183
3184 .fields-controls__author-avatar img {
3185 width: 16px;
3186 height: 16px;
3187 object-fit: cover;
3188 opacity: 0;
3189 border-radius: 100%;
3190 }
3191
3192 @media not (prefers-reduced-motion) {
3193 .fields-controls__author-avatar img {
3194 transition: opacity 0.1s linear;
3195 }
3196 }
3197 .fields-controls__author-avatar.is-loaded img {
3198 opacity: 1;
3199 }
3200
3201 .fields-controls__author-icon {
3202 display: flex;
3203 flex-shrink: 0;
3204 width: 24px;
3205 height: 24px;
3206 }
3207
3208 .fields-controls__author-icon svg {
3209 margin-right: -4px;
3210 fill: currentColor;
3211 }
3212
3213 .fields-controls__author-name {
3214 text-overflow: ellipsis;
3215 overflow: hidden;
3216 }
3217
3218 .fields-controls__slug {
3219 border: 0;
3220 padding: 0;
3221 margin: 0;
3222 }
3223
3224 .fields-controls__slug .fields-controls__slug-external-icon {
3225 margin-right: 5ch;
3226 }
3227
3228 .fields-controls__slug .fields-controls__slug-input input.components-input-control__input {
3229 padding-inline-start: 0 !important;
3230 }
3231
3232 .fields-controls__slug .fields-controls__slug-help-link {
3233 word-break: break-word;
3234 }
3235
3236 .fields-controls__slug .fields-controls__slug-help {
3237 display: flex;
3238 flex-direction: column;
3239 }
3240
3241 .fields-controls__slug .fields-controls__slug-help .fields-controls__slug-help-slug {
3242 font-weight: 600;
3243 }
3244
3245 .fields-controls__featured-image-image,
3246 .fields-controls__featured-image-placeholder {
3247 width: 100%;
3248 height: 100%;
3249 display: block;
3250 border-radius: 4px;
3251 }
3252
3253 .fields-controls__featured-image-placeholder {
3254 box-shadow: none;
3255 background: #f0f0f0;
3256 }
3257
3258 .fields-controls__parent {
3259 border: 0;
3260 padding: 0;
3261 margin: 0;
3262 }
3263
3264 .fields-controls__password {
3265 border: 0;
3266 padding: 0;
3267 margin: 0;
3268 }
3269
3270 .fields-controls__status-icon {
3271 height: 24px;
3272 width: 24px;
3273 }
3274
3275 .fields-controls__status-icon svg {
3276 fill: currentColor;
3277 margin-right: -4px;
3278 }
3279
3280 .fields-field__title > span:first-child {
3281 text-overflow: ellipsis;
3282 overflow: hidden;
3283 text-decoration: none;
3284 white-space: nowrap;
3285 display: block;
3286 flex-grow: 0;
3287 }
3288
3289 .fields-field__pattern-title span:first-child {
3290 flex: 1;
3291 }
3292
3293 /**
3294 * SCSS Variables.
3295 *
3296 * Please use variables from this sheet to ensure consistency across the UI.
3297 * Don't add to this sheet unless you're pretty sure the value will be reused in many places.
3298 * For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
3299 */
3300 /**
3301 * Colors
3302 */
3303 /**
3304 * Fonts & basic variables.
3305 */
3306 /**
3307 * Typography
3308 */
3309 /**
3310 * Grid System.
3311 * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
3312 */
3313 /**
3314 * Radius scale.
3315 */
3316 /**
3317 * Elevation scale.
3318 */
3319 /**
3320 * Dimensions.
3321 */
3322 /**
3323 * Mobile specific styles
3324 */
3325 /**
3326 * Editor styles.
3327 */
3328 /**
3329 * Block & Editor UI.
3330 */
3331 /**
3332 * Block paddings.
3333 */
3334 /**
3335 * React Native specific.
3336 * These variables do not appear to be used anywhere else.
3337 */
3338 /**
3339 * Typography
3340 */
3341 /**
3342 * Breakpoints & Media Queries
3343 */
3344 /**
3345 * Converts a hex value into the rgb equivalent.
3346 *
3347 * @param {string} hex - the hexadecimal value to convert
3348 * @return {string} comma separated rgb values
3349 */
3350 /**
3351 * Long content fade mixin
3352 *
3353 * Creates a fading overlay to signify that the content is longer
3354 * than the space allows.
3355 */
3356 /**
3357 * Breakpoint mixins
3358 */
3359 /**
3360 * Focus styles.
3361 */
3362 /**
3363 * Applies editor left position to the selector passed as argument
3364 */
3365 /**
3366 * Styles that are reused verbatim in a few places
3367 */
3368 /**
3369 * Allows users to opt-out of animations via OS-level preferences.
3370 */
3371 /**
3372 * Reset default styles for JavaScript UI based pages.
3373 * This is a WP-admin agnostic reset
3374 */
3375 /**
3376 * Reset the WP Admin page styles for Gutenberg-like pages.
3377 */
3378 /**
3379 * Creates a checkerboard pattern background to indicate transparency.
3380 * @param {String} $size - The size of the squares in the checkerboard pattern. Default is 12px.
3381 */
3382 @media (min-width: 782px) {
3383 .font-library-modal.font-library-modal {
3384 width: 65vw;
3385 }
3386 }
3387 .font-library-modal .components-modal__header {
3388 border-bottom: none;
3389 }
3390
3391 .font-library-modal .components-modal__content {
3392 padding: 0;
3393 margin-bottom: 90px;
3394 }
3395
3396 .font-library-modal .font-library__subtitle {
3397 text-transform: uppercase;
3398 font-weight: 499;
3399 font-size: 11px;
3400 }
3401
3402 .font-library-modal__tab-panel {
3403 height: calc(100% - 50px);
3404 }
3405
3406 .font-library__tabpanel-layout {
3407 height: 100%;
3408 display: flex;
3409 flex-direction: column;
3410 }
3411
3412 .font-library__tabpanel-layout > div {
3413 flex-grow: 1;
3414 }
3415
3416 .font-library__tabpanel-layout .font-library__loading {
3417 width: 100%;
3418 height: 100%;
3419 display: flex;
3420 position: absolute;
3421 right: 0;
3422 top: 0;
3423 align-items: center;
3424 justify-content: center;
3425 padding-top: 124px;
3426 box-sizing: border-box;
3427 }
3428
3429 .font-library__tabpanel-layout .components-navigator-screen {
3430 padding: 24px;
3431 width: 100%;
3432 }
3433
3434 .font-library__footer {
3435 position: absolute;
3436 width: 100%;
3437 bottom: 0;
3438 border-top: 1px solid #ddd;
3439 padding: 24px;
3440 background-color: #fff;
3441 box-sizing: border-box;
3442 flex-grow: 0 !important;
3443 flex-shrink: 0;
3444 height: 90px;
3445 }
3446
3447 .font-library__page-selection {
3448 font-size: 11px;
3449 font-weight: 499;
3450 text-transform: uppercase;
3451 }
3452
3453 @media (min-width: 600px) {
3454 .font-library__page-selection .font-library__page-selection-trigger {
3455 font-size: 11px !important;
3456 font-weight: 499;
3457 }
3458 }
3459 .font-library__fonts-title {
3460 text-transform: uppercase;
3461 font-size: 11px;
3462 font-weight: 600;
3463 margin-top: 0;
3464 margin-bottom: 0;
3465 }
3466
3467 .font-library__fonts-list {
3468 list-style: none;
3469 padding: 0;
3470 margin-top: 0;
3471 margin-bottom: 0;
3472 }
3473
3474 .font-library__fonts-list-item {
3475 margin-bottom: 0;
3476 }
3477
3478 .font-library__font-card {
3479 box-sizing: border-box;
3480 border: 1px solid #ddd;
3481 width: 100%;
3482 height: auto !important;
3483 padding: 16px;
3484 margin-top: -1px; /* To collapse the margin with the previous element */
3485 }
3486
3487 .font-library__font-card:hover {
3488 background-color: #f0f0f0;
3489 }
3490
3491 .font-library__font-card:focus {
3492 position: relative;
3493 }
3494
3495 .font-library__font-card .font-library__font-card__name {
3496 font-weight: bold;
3497 }
3498
3499 .font-library__font-card .font-library__font-card__count {
3500 color: #757575;
3501 }
3502
3503 .font-library__font-card .font-library__font-variant_demo-image {
3504 display: block;
3505 height: 24px;
3506 width: auto;
3507 }
3508
3509 .font-library__font-card .font-library__font-variant_demo-text {
3510 white-space: nowrap;
3511 flex-shrink: 0;
3512 }
3513
3514 @media not (prefers-reduced-motion) {
3515 .font-library__font-card .font-library__font-variant_demo-text {
3516 transition: opacity 0.3s ease-in-out;
3517 }
3518 }
3519 .font-library-modal__tablist-container {
3520 position: sticky;
3521 top: 0;
3522 border-bottom: 1px solid #ddd;
3523 background: #fff;
3524 z-index: 1;
3525 }
3526
3527 .font-library__upload-area {
3528 align-items: center;
3529 display: flex;
3530 justify-content: center;
3531 height: 256px !important;
3532 width: 100%;
3533 }
3534
3535 button.font-library__upload-area {
3536 background-color: #f0f0f0;
3537 }
3538
3539 .font-library__local-fonts {
3540 margin: 24px auto;
3541 width: 80%;
3542 }
3543
3544 .font-library__local-fonts .font-library__upload-area__text {
3545 color: #757575;
3546 }
3547
3548 .font-library__google-fonts-confirm {
3549 display: flex;
3550 justify-content: center;
3551 align-items: center;
3552 margin-top: 64px;
3553 }
3554
3555 .font-library__google-fonts-confirm p {
3556 line-height: 1.4;
3557 }
3558
3559 .font-library__google-fonts-confirm h2 {
3560 font-size: 1.2rem;
3561 font-weight: 400;
3562 }
3563
3564 .font-library__google-fonts-confirm .components-card {
3565 padding: 16px;
3566 width: 400px;
3567 }
3568
3569 .font-library__google-fonts-confirm .components-button {
3570 width: 100%;
3571 justify-content: center;
3572 }
3573
3574 .font-library__select-all {
3575 padding: 16px 17px 16px 16px;
3576 }
3577
3578 .font-library__select-all .components-checkbox-control__label {
3579 padding-right: 16px;
3580 }
3581
3582 .global-styles-ui-pagination .components-button.is-tertiary {
3583 width: 32px;
3584 height: 32px;
3585 justify-content: center;
3586 }
3587
3588 .global-styles-ui-screen-revisions__revisions-list {
3589 list-style: none;
3590 margin: 0 16px 16px 16px;
3591 flex-grow: 1;
3592 }
3593
3594 .global-styles-ui-screen-revisions__revisions-list li {
3595 margin-bottom: 0;
3596 }
3597
3598 .global-styles-ui-screen-revisions__revision-item {
3599 position: relative;
3600 cursor: var(--wpds-cursor-control, pointer);
3601 display: flex;
3602 flex-direction: column;
3603 }
3604
3605 .global-styles-ui-screen-revisions__revision-item[role=option]:active, .global-styles-ui-screen-revisions__revision-item[role=option]:focus {
3606 box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
3607 outline: 2px solid transparent;
3608 }
3609
3610 .global-styles-ui-screen-revisions__revision-item:hover {
3611 background: rgba(var(--wp-admin-theme-color--rgb), 0.04);
3612 }
3613
3614 .global-styles-ui-screen-revisions__revision-item:hover .global-styles-ui-screen-revisions__date {
3615 color: var(--wp-admin-theme-color);
3616 }
3617
3618 .global-styles-ui-screen-revisions__revision-item::before, .global-styles-ui-screen-revisions__revision-item::after {
3619 position: absolute;
3620 content: "\a";
3621 display: block;
3622 }
3623
3624 .global-styles-ui-screen-revisions__revision-item::before {
3625 background: #ddd;
3626 border-radius: 50%;
3627 height: 8px;
3628 width: 8px;
3629 top: 18px;
3630 right: 17px;
3631 transform: translate(50%, -50%);
3632 z-index: 1;
3633 border: 4px solid transparent;
3634 }
3635
3636 .global-styles-ui-screen-revisions__revision-item[aria-selected=true] {
3637 border-radius: 2px;
3638 outline: 3px solid transparent;
3639 outline-offset: -2px;
3640 color: var(--wp-admin-theme-color);
3641 background: rgba(var(--wp-admin-theme-color--rgb), 0.04);
3642 }
3643
3644 .global-styles-ui-screen-revisions__revision-item[aria-selected=true] .global-styles-ui-screen-revisions__date {
3645 color: var(--wp-admin-theme-color);
3646 }
3647
3648 .global-styles-ui-screen-revisions__revision-item[aria-selected=true]::before {
3649 background: var(--wp-admin-theme-color);
3650 }
3651
3652 .global-styles-ui-screen-revisions__revision-item[aria-selected=true] .global-styles-ui-screen-revisions__changes > li,
3653 .global-styles-ui-screen-revisions__revision-item[aria-selected=true] .global-styles-ui-screen-revisions__meta,
3654 .global-styles-ui-screen-revisions__revision-item[aria-selected=true] .global-styles-ui-screen-revisions__applied-text {
3655 color: #1e1e1e;
3656 }
3657
3658 .global-styles-ui-screen-revisions__revision-item::after {
3659 height: 100%;
3660 right: 16px;
3661 top: 0;
3662 width: 0;
3663 border: 0.5px solid #ddd;
3664 }
3665
3666 .global-styles-ui-screen-revisions__revision-item:first-child::after {
3667 top: 18px;
3668 }
3669
3670 .global-styles-ui-screen-revisions__revision-item:last-child::after {
3671 height: 18px;
3672 }
3673
3674 .global-styles-ui-screen-revisions__revision-item-wrapper {
3675 display: block;
3676 padding: 12px 40px 4px 12px;
3677 }
3678
3679 .global-styles-ui-screen-revisions__apply-button.is-primary,
3680 .global-styles-ui-screen-revisions__applied-text {
3681 align-self: flex-start;
3682 margin: 4px 40px 12px 12px;
3683 }
3684
3685 .global-styles-ui-screen-revisions__changes,
3686 .global-styles-ui-screen-revisions__meta,
3687 .global-styles-ui-screen-revisions__applied-text {
3688 color: #757575;
3689 font-size: 12px;
3690 }
3691
3692 .global-styles-ui-screen-revisions__description {
3693 display: flex;
3694 flex-direction: column;
3695 align-items: flex-start;
3696 gap: 8px;
3697 }
3698
3699 .global-styles-ui-screen-revisions__description .global-styles-ui-screen-revisions__date {
3700 text-transform: uppercase;
3701 font-weight: 600;
3702 font-size: 12px;
3703 }
3704
3705 .global-styles-ui-screen-revisions__meta {
3706 display: flex;
3707 justify-content: start;
3708 width: 100%;
3709 align-items: flex-start;
3710 text-align: right;
3711 margin-bottom: 4px;
3712 }
3713
3714 .global-styles-ui-screen-revisions__meta img {
3715 width: 16px;
3716 height: 16px;
3717 border-radius: 100%;
3718 margin-left: 8px;
3719 }
3720
3721 .global-styles-ui-screen-revisions__loading {
3722 margin: 24px auto !important;
3723 }
3724
3725 .global-styles-ui-screen-revisions__changes {
3726 text-align: right;
3727 line-height: 1.4;
3728 margin-right: 12px;
3729 list-style: disc;
3730 }
3731
3732 .global-styles-ui-screen-revisions__changes li {
3733 margin-bottom: 4px;
3734 }
3735
3736 .global-styles-ui-screen-revisions__pagination.global-styles-ui-screen-revisions__pagination {
3737 justify-content: space-between;
3738 gap: 2px;
3739 }
3740
3741 .global-styles-ui-screen-revisions__pagination.global-styles-ui-screen-revisions__pagination .edit-site-pagination__total {
3742 position: absolute;
3743 right: -1000px;
3744 height: 1px;
3745 margin: -1px;
3746 overflow: hidden;
3747 }
3748
3749 .global-styles-ui-screen-revisions__pagination.global-styles-ui-screen-revisions__pagination .components-text {
3750 font-size: 12px;
3751 will-change: opacity;
3752 }
3753
3754 .global-styles-ui-screen-revisions__pagination.global-styles-ui-screen-revisions__pagination .components-button.is-tertiary {
3755 color: #1e1e1e;
3756 }
3757
3758 .global-styles-ui-screen-revisions__pagination.global-styles-ui-screen-revisions__pagination .components-button.is-tertiary:disabled,
3759 .global-styles-ui-screen-revisions__pagination.global-styles-ui-screen-revisions__pagination .components-button.is-tertiary[aria-disabled=true] {
3760 color: #949494;
3761 }
3762
3763 .global-styles-ui-screen-revisions__footer {
3764 height: 56px;
3765 z-index: 1;
3766 position: sticky;
3767 min-width: 100%;
3768 bottom: 0;
3769 background: #fff;
3770 padding: 12px;
3771 border-top: 1px solid #ddd;
3772 box-sizing: border-box;
3773 }
3774
3775 .global-styles-ui-variations_item {
3776 box-sizing: border-box;
3777 cursor: var(--wpds-cursor-control, pointer);
3778 }
3779
3780 .global-styles-ui-variations_item .global-styles-ui-variations_item-preview {
3781 border-radius: 2px;
3782 outline: 1px solid rgba(0, 0, 0, 0.1);
3783 outline-offset: -1px;
3784 overflow: hidden;
3785 position: relative;
3786 }
3787
3788 @media not (prefers-reduced-motion) {
3789 .global-styles-ui-variations_item .global-styles-ui-variations_item-preview {
3790 transition: outline 0.1s linear;
3791 }
3792 }
3793 .global-styles-ui-variations_item .global-styles-ui-variations_item-preview.is-pill {
3794 height: 32px;
3795 }
3796
3797 .global-styles-ui-variations_item .global-styles-ui-variations_item-preview.is-pill .block-editor-iframe__scale-container {
3798 overflow: hidden;
3799 }
3800
3801 .global-styles-ui-variations_item:not(.is-active):hover .global-styles-ui-variations_item-preview {
3802 outline-color: rgba(0, 0, 0, 0.3);
3803 }
3804
3805 .global-styles-ui-variations_item.is-active .global-styles-ui-variations_item-preview, .global-styles-ui-variations_item:focus-visible .global-styles-ui-variations_item-preview {
3806 outline-color: #1e1e1e;
3807 outline-offset: 1px;
3808 outline-width: var(--wp-admin-border-width-focus);
3809 }
3810
3811 .global-styles-ui-variations_item:focus-visible .global-styles-ui-variations_item-preview {
3812 outline-color: var(--wp-admin-theme-color);
3813 }
3814
3815 .global-styles-ui-preview__wrapper {
3816 max-width: 100%;
3817 display: block;
3818 width: 100%;
3819 }
3820
3821 .global-styles-ui-preview__wrapper.is-hoverable {
3822 cursor: var(--wpds-cursor-control, pointer);
3823 }
3824
3825 .global-styles-ui-typography-preview {
3826 display: flex;
3827 align-items: center;
3828 justify-content: center;
3829 min-height: 100px;
3830 margin-bottom: 20px;
3831 background: #f0f0f0;
3832 border-radius: 2px;
3833 overflow: hidden;
3834 }
3835
3836 .global-styles-ui-font-size__item {
3837 white-space: nowrap;
3838 text-overflow: ellipsis;
3839 overflow: hidden;
3840 line-break: anywhere;
3841 }
3842
3843 .global-styles-ui-font-size__item-value {
3844 color: #757575;
3845 }
3846
3847 .global-styles-ui-screen-typography__indicator {
3848 height: 24px;
3849 width: 24px;
3850 font-size: 14px;
3851 display: flex !important;
3852 align-items: center;
3853 justify-content: center;
3854 border-radius: 2px;
3855 }
3856
3857 .global-styles-ui-block-types-search {
3858 margin-bottom: 10px;
3859 padding: 0 16px;
3860 }
3861
3862 .global-styles-ui-screen-typography__font-variants-count {
3863 color: #757575;
3864 }
3865
3866 .global-styles-ui-font-families__manage-fonts {
3867 justify-content: center;
3868 }
3869
3870 .global-styles-ui-screen .color-block-support-panel {
3871 padding-right: 0;
3872 padding-left: 0;
3873 padding-top: 0;
3874 border-top: none;
3875 row-gap: 12px;
3876 }
3877
3878 .global-styles-ui-header {
3879 margin-bottom: 0 !important;
3880 line-height: 1.9 !important;
3881 }
3882
3883 .global-styles-ui-subtitle {
3884 margin-bottom: 0 !important;
3885 text-transform: uppercase;
3886 font-weight: 499 !important;
3887 font-size: 11px !important;
3888 }
3889
3890 .global-styles-ui-section-title {
3891 color: #2f2f2f;
3892 font-weight: 600;
3893 line-height: 1.2;
3894 padding: 16px 16px 0;
3895 margin: 0;
3896 }
3897
3898 .global-styles-ui-icon-with-current-color {
3899 fill: currentColor;
3900 }
3901
3902 .global-styles-ui__color-indicator-wrapper {
3903 height: 24px;
3904 flex-shrink: 0;
3905 }
3906
3907 .global-styles-ui__shadows-panel__options-container,
3908 .global-styles-ui__typography-panel__options-container {
3909 height: 24px;
3910 }
3911
3912 .global-styles-ui__block-preview-panel {
3913 position: relative;
3914 width: 100%;
3915 border: #ddd 1px solid;
3916 border-radius: 2px;
3917 overflow: hidden;
3918 }
3919
3920 .global-styles-ui__shadow-preview-panel {
3921 height: 144px;
3922 border: #ddd 1px solid;
3923 border-radius: 2px;
3924 overflow: auto;
3925 background-image: repeating-linear-gradient(45deg, #e0e0e0 25%, transparent 25%, transparent 75%, #e0e0e0 75%, #e0e0e0), repeating-linear-gradient(45deg, #e0e0e0 25%, transparent 25%, transparent 75%, #e0e0e0 75%, #e0e0e0);
3926 background-position: 0 0, 8px 8px;
3927 background-size: 16px 16px;
3928 }
3929
3930 .global-styles-ui__shadow-preview-panel .global-styles-ui__shadow-preview-block {
3931 border: #ddd 1px solid;
3932 border-radius: 2px;
3933 background-color: #fff;
3934 width: 60%;
3935 height: 60px;
3936 }
3937
3938 .global-styles-ui__shadow-editor__dropdown-content {
3939 width: 280px;
3940 }
3941
3942 .global-styles-ui__shadow-editor-panel {
3943 margin-bottom: 4px;
3944 }
3945
3946 .global-styles-ui__shadow-editor__dropdown {
3947 width: 100%;
3948 position: relative;
3949 }
3950
3951 .global-styles-ui__shadow-editor__dropdown-toggle {
3952 width: 100%;
3953 height: auto;
3954 padding-top: 8px;
3955 padding-bottom: 8px;
3956 text-align: right;
3957 border-radius: inherit;
3958 }
3959
3960 .global-styles-ui__shadow-editor__dropdown-toggle.is-open {
3961 background: #f0f0f0;
3962 color: var(--wp-admin-theme-color);
3963 }
3964
3965 .global-styles-ui__shadow-editor__remove-button {
3966 position: absolute;
3967 left: 8px;
3968 top: 8px;
3969 opacity: 0;
3970 }
3971
3972 .global-styles-ui__shadow-editor__remove-button.global-styles-ui__shadow-editor__remove-button {
3973 border: none;
3974 }
3975
3976 .global-styles-ui__shadow-editor__dropdown-toggle:hover + .global-styles-ui__shadow-editor__remove-button, .global-styles-ui__shadow-editor__remove-button:focus, .global-styles-ui__shadow-editor__remove-button:hover {
3977 opacity: 1;
3978 }
3979
3980 @media (hover: none) {
3981 .global-styles-ui__shadow-editor__remove-button {
3982 opacity: 1;
3983 }
3984 }
3985 .global-styles-ui-screen-css {
3986 flex: 1 1 auto;
3987 display: flex;
3988 flex-direction: column;
3989 margin: 16px;
3990 }
3991
3992 .global-styles-ui-screen-css .components-v-stack {
3993 flex: 1 1 auto;
3994 }
3995
3996 .global-styles-ui-screen-css .components-v-stack .block-editor-global-styles-advanced-panel__custom-css-input {
3997 flex: 1 1 auto;
3998 display: flex;
3999 flex-direction: column;
4000 }
4001
4002 .global-styles-ui-screen-css .components-v-stack .block-editor-global-styles-advanced-panel__custom-css-input .components-base-control__field {
4003 flex: 1 1 auto;
4004 display: flex;
4005 flex-direction: column;
4006 }
4007
4008 .global-styles-ui-screen-css .components-v-stack .block-editor-global-styles-advanced-panel__custom-css-input .components-base-control__field .components-textarea-control__input {
4009 flex: 1 1 auto;
4010 direction: ltr;
4011 }
4012
4013 .global-styles-ui-screen-css-help-link {
4014 display: inline-block;
4015 margin-top: 8px;
4016 }
4017
4018 .global-styles-ui-screen-variations {
4019 margin-top: 16px;
4020 border-top: 1px solid #ddd;
4021 }
4022
4023 .global-styles-ui-screen-variations > * {
4024 margin: 24px 16px;
4025 }
4026
4027 .global-styles-ui-sidebar__navigator-provider {
4028 height: 100%;
4029 }
4030
4031 .global-styles-ui-sidebar__navigator-screen {
4032 display: flex;
4033 flex-direction: column;
4034 height: 100%;
4035 }
4036
4037 .global-styles-ui-sidebar__navigator-screen .single-column {
4038 grid-column: span 1;
4039 }
4040
4041 .global-styles-ui-screen-root.global-styles-ui-screen-root,
4042 .global-styles-ui-screen-style-variations.global-styles-ui-screen-style-variations {
4043 background: unset;
4044 color: inherit;
4045 }
4046
4047 .global-styles-ui-sidebar__panel .block-editor-block-icon svg {
4048 fill: currentColor;
4049 }
4050
4051 .global-styles-ui-screen-root__active-style-tile.global-styles-ui-screen-root__active-style-tile, .global-styles-ui-screen-root__active-style-tile.global-styles-ui-screen-root__active-style-tile .global-styles-ui-screen-root__active-style-tile-preview {
4052 border-radius: 2px;
4053 }
4054
4055 .global-styles-ui-screen-root__active-style-tile-preview {
4056 clip-path: border-box;
4057 }
4058
4059 .global-styles-ui-color-palette-panel,
4060 .global-styles-ui-gradient-palette-panel {
4061 padding: 16px;
4062 }
4063
4064 .edit-site-custom-template-modal__contents-wrapper {
4065 height: 100%;
4066 justify-content: flex-start !important;
4067 }
4068 .edit-site-custom-template-modal__contents-wrapper > * {
4069 width: 100%;
4070 }
4071 .edit-site-custom-template-modal__contents-wrapper__suggestions_list {
4072 margin-right: -12px;
4073 margin-left: -12px;
4074 width: calc(100% + 24px);
4075 }
4076 .edit-site-custom-template-modal__contents > .components-button {
4077 height: auto;
4078 justify-content: center;
4079 }
4080 @media (min-width: 782px) {
4081 .edit-site-custom-template-modal {
4082 width: 456px;
4083 }
4084 }
4085 @media (min-width: 600px) {
4086 .edit-site-custom-template-modal .edit-site-custom-template-modal__suggestions_list {
4087 max-height: 224px;
4088 overflow-y: auto;
4089 }
4090 }
4091 .edit-site-custom-template-modal .edit-site-custom-template-modal__suggestions_list__list-item {
4092 display: block;
4093 width: 100%;
4094 text-align: right;
4095 white-space: pre-wrap;
4096 overflow-wrap: break-word;
4097 height: auto;
4098 padding: 8px 12px;
4099 }
4100 .edit-site-custom-template-modal .edit-site-custom-template-modal__suggestions_list__list-item mark {
4101 font-weight: 700;
4102 background: none;
4103 }
4104 .edit-site-custom-template-modal .edit-site-custom-template-modal__suggestions_list__list-item:hover {
4105 background: rgba(var(--wp-admin-theme-color--rgb), 0.04);
4106 }
4107 .edit-site-custom-template-modal .edit-site-custom-template-modal__suggestions_list__list-item:hover * {
4108 color: var(--wp-admin-theme-color);
4109 }
4110 .edit-site-custom-template-modal .edit-site-custom-template-modal__suggestions_list__list-item:hover mark {
4111 color: var(--wp-admin-theme-color);
4112 }
4113 .edit-site-custom-template-modal .edit-site-custom-template-modal__suggestions_list__list-item:focus {
4114 background-color: #f0f0f0;
4115 }
4116 .edit-site-custom-template-modal .edit-site-custom-template-modal__suggestions_list__list-item:focus:not(:disabled) {
4117 box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color) inset;
4118 }
4119 .edit-site-custom-template-modal .edit-site-custom-template-modal__suggestions_list__list-item__title, .edit-site-custom-template-modal .edit-site-custom-template-modal__suggestions_list__list-item__info {
4120 overflow: hidden;
4121 text-overflow: ellipsis;
4122 display: block;
4123 }
4124 .edit-site-custom-template-modal .edit-site-custom-template-modal__suggestions_list__list-item__info {
4125 word-break: break-all;
4126 color: #757575;
4127 }
4128
4129 .edit-site-custom-template-modal__no-results {
4130 border: 1px solid #ccc;
4131 border-radius: 2px;
4132 padding: 16px;
4133 }
4134
4135 .edit-site-custom-generic-template__modal .components-modal__header {
4136 border-bottom: none;
4137 }
4138 .edit-site-custom-generic-template__modal .components-modal__content::before {
4139 margin-bottom: 4px;
4140 }
4141
4142 @media (min-width: 960px) {
4143 .edit-site-add-new-template__modal {
4144 max-width: 832px;
4145 margin-top: 64px;
4146 width: calc(100% - 128px);
4147 max-height: calc(100% - 128px);
4148 }
4149 }
4150 .edit-site-add-new-template__modal .edit-site-add-new-template__template-button svg,
4151 .edit-site-add-new-template__modal .edit-site-add-new-template__custom-template-button svg {
4152 fill: var(--wp-admin-theme-color);
4153 }
4154 .edit-site-add-new-template__modal .edit-site-add-new-template__custom-template-button .edit-site-add-new-template__template-name {
4155 flex-grow: 1;
4156 align-items: flex-start;
4157 }
4158 .edit-site-add-new-template__modal .edit-site-add-new-template__template-icon {
4159 padding: 8px;
4160 background: rgba(var(--wp-admin-theme-color--rgb), 0.04);
4161 border-radius: 100%;
4162 max-height: 40px;
4163 max-width: 40px;
4164 }
4165
4166 .edit-site-custom-template-modal__contents > .components-button,
4167 .edit-site-add-new-template__template-list__contents > .components-button {
4168 padding: 32px;
4169 display: flex;
4170 flex-direction: column;
4171 border: 1px solid #ddd;
4172 justify-content: center;
4173 outline: 1px solid transparent;
4174 }
4175 .edit-site-custom-template-modal__contents > .components-button span:first-child,
4176 .edit-site-add-new-template__template-list__contents > .components-button span:first-child {
4177 color: #1e1e1e;
4178 }
4179 .edit-site-custom-template-modal__contents > .components-button span,
4180 .edit-site-add-new-template__template-list__contents > .components-button span {
4181 color: #757575;
4182 }
4183 .edit-site-custom-template-modal__contents > .components-button:hover,
4184 .edit-site-add-new-template__template-list__contents > .components-button:hover {
4185 color: var(--wp-admin-theme-color-darker-10);
4186 background: rgba(var(--wp-admin-theme-color--rgb), 0.04);
4187 border-color: transparent;
4188 }
4189 .edit-site-custom-template-modal__contents > .components-button:hover span,
4190 .edit-site-add-new-template__template-list__contents > .components-button:hover span {
4191 color: var(--wp-admin-theme-color);
4192 }
4193 .edit-site-custom-template-modal__contents > .components-button:focus,
4194 .edit-site-add-new-template__template-list__contents > .components-button:focus {
4195 box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
4196 border-color: transparent;
4197 outline: 3px solid transparent;
4198 }
4199 .edit-site-custom-template-modal__contents > .components-button:focus span:first-child,
4200 .edit-site-add-new-template__template-list__contents > .components-button:focus span:first-child {
4201 color: var(--wp-admin-theme-color);
4202 }
4203 .edit-site-custom-template-modal__contents .edit-site-add-new-template__custom-template-button,
4204 .edit-site-custom-template-modal__contents .edit-site-add-new-template__template-list__prompt,
4205 .edit-site-add-new-template__template-list__contents .edit-site-add-new-template__custom-template-button,
4206 .edit-site-add-new-template__template-list__contents .edit-site-add-new-template__template-list__prompt {
4207 grid-column: 1/-1;
4208 }
4209
4210 .edit-site-add-new-template__template-list__contents > .components-button {
4211 height: 100%;
4212 text-align: start;
4213 align-items: flex-start;
4214 }
4215
4216 .edit-site-visual-editor__editor-canvas.is-focused {
4217 outline: calc(2 * var(--wp-admin-border-width-focus)) solid var(--wp-admin-theme-color);
4218 outline-offset: calc(-2 * var(--wp-admin-border-width-focus));
4219 }
4220
4221 .edit-site-canvas-loader {
4222 width: 100%;
4223 height: 100%;
4224 display: flex;
4225 position: absolute;
4226 top: 0;
4227 right: 0;
4228 opacity: 0;
4229 align-items: center;
4230 justify-content: center;
4231 }
4232 @media not (prefers-reduced-motion) {
4233 .edit-site-canvas-loader {
4234 animation: 0.5s ease 0.2s edit-site-canvas-loader__fade-in-animation;
4235 animation-fill-mode: forwards;
4236 }
4237 }
4238 .edit-site-canvas-loader > div {
4239 width: 160px;
4240 }
4241
4242 @keyframes edit-site-canvas-loader__fade-in-animation {
4243 from {
4244 opacity: 0;
4245 }
4246 to {
4247 opacity: 1;
4248 }
4249 }
4250 .edit-site-patterns__delete-modal {
4251 width: 400px;
4252 }
4253
4254 .page-patterns-preview-field {
4255 display: flex;
4256 justify-content: center;
4257 align-items: center;
4258 flex-direction: column;
4259 height: 100%;
4260 border-radius: 4px;
4261 }
4262 .dataviews-view-grid .page-patterns-preview-field .block-editor-block-preview__container {
4263 height: 100%;
4264 }
4265 .dataviews-view-table .page-patterns-preview-field {
4266 width: 96px;
4267 flex-grow: 0;
4268 text-wrap: balance;
4269 text-wrap: pretty;
4270 }
4271
4272 .edit-site-patterns__pattern-icon {
4273 fill: var(--wp-block-synced-color);
4274 flex-shrink: 0;
4275 }
4276
4277 .edit-site-patterns__section-header {
4278 border-bottom: 1px solid #f0f0f0;
4279 padding: 16px 48px;
4280 position: sticky;
4281 top: 0;
4282 z-index: 2;
4283 flex-shrink: 0;
4284 min-height: 40px;
4285 }
4286 @media not (prefers-reduced-motion) {
4287 .edit-site-patterns__section-header {
4288 transition: padding ease-out 0.1s;
4289 }
4290 }
4291 .edit-site-patterns__section-header .edit-site-patterns__title {
4292 min-height: 40px;
4293 }
4294 .edit-site-patterns__section-header .edit-site-patterns__title .components-heading {
4295 flex-grow: 1;
4296 flex-basis: 0;
4297 white-space: nowrap;
4298 }
4299 .edit-site-patterns__section-header .edit-site-patterns__sub-title {
4300 margin-bottom: 8px;
4301 }
4302 .edit-site-patterns__section-header .screen-reader-shortcut:focus {
4303 top: 0;
4304 }
4305
4306 .edit-site-page-patterns-dataviews .dataviews-view-grid__badge-fields .dataviews-view-grid__field-value:has(.edit-site-patterns__field-sync-status-fully) {
4307 background: rgba(var(--wp-block-synced-color--rgb), 0.04);
4308 color: var(--wp-block-synced-color);
4309 }
4310
4311 .dataviews-action-modal__duplicate-pattern [role=dialog] > [role=document] {
4312 width: 350px;
4313 }
4314 .dataviews-action-modal__duplicate-pattern .patterns-menu-items__convert-modal-categories {
4315 position: relative;
4316 }
4317 .dataviews-action-modal__duplicate-pattern .components-form-token-field__suggestions-list:not(:empty) {
4318 position: absolute;
4319 border: 1px solid var(--wp-admin-theme-color);
4320 border-bottom-right-radius: 2px;
4321 border-bottom-left-radius: 2px;
4322 box-shadow: 0 0 0.5px 0.5px var(--wp-admin-theme-color);
4323 box-sizing: border-box;
4324 z-index: 1;
4325 background-color: #fff;
4326 width: calc(100% + 2px);
4327 right: -1px;
4328 min-width: initial;
4329 max-height: 96px;
4330 }
4331
4332 @media (min-width: 600px) {
4333 .dataviews-action-modal__duplicate-template-part .components-modal__frame {
4334 max-width: 500px;
4335 }
4336 }
4337
4338 @container (max-width: 430px) {
4339 .edit-site-page-patterns-dataviews .edit-site-patterns__section-header {
4340 padding-right: 24px;
4341 padding-left: 24px;
4342 }
4343 }
4344 .show-icon-labels .edit-site-patterns__button.has-icon {
4345 width: auto;
4346 padding: 0 var(--wpds-dimension-padding-xs, 4px);
4347 }
4348 .show-icon-labels .edit-site-patterns__button.has-icon svg {
4349 display: none;
4350 }
4351 .show-icon-labels .edit-site-patterns__button.has-icon::after {
4352 content: attr(aria-label);
4353 font-size: var(--wpds-typography-font-size-sm, 12px);
4354 }
4355
4356 .page-templates-preview-field {
4357 display: flex;
4358 justify-content: center;
4359 align-items: center;
4360 flex-direction: column;
4361 height: 100%;
4362 width: 100%;
4363 border-radius: 4px;
4364 }
4365 .dataviews-view-list .page-templates-preview-field .block-editor-block-preview__container {
4366 height: 120px;
4367 }
4368 .dataviews-view-grid .page-templates-preview-field .block-editor-block-preview__container {
4369 height: 100%;
4370 }
4371 .dataviews-view-table .page-templates-preview-field {
4372 position: relative;
4373 width: 120px;
4374 max-height: 160px;
4375 text-wrap: balance;
4376 text-wrap: pretty;
4377 }
4378
4379 .edit-site-list__rename-modal {
4380 z-index: 1000001;
4381 }
4382 @media (min-width: 782px) {
4383 .edit-site-list__rename-modal .components-base-control {
4384 width: 320px;
4385 }
4386 }
4387
4388 .edit-site-editor__editor-interface {
4389 opacity: 1;
4390 }
4391 @media not (prefers-reduced-motion) {
4392 .edit-site-editor__editor-interface {
4393 transition: opacity 0.1s ease-out;
4394 }
4395 }
4396 .edit-site-editor__editor-interface.is-loading {
4397 opacity: 0;
4398 }
4399
4400 .edit-site-editor__toggle-save-panel {
4401 box-sizing: border-box;
4402 width: 280px;
4403 background-color: #fff;
4404 border: 1px dotted #ddd;
4405 padding: 24px;
4406 display: flex;
4407 justify-content: center;
4408 }
4409
4410 .edit-site-editor__view-mode-toggle {
4411 /* stylelint-disable -- Disable reason: View Transitions not supported properly by stylelint. */
4412 view-transition-name: toggle;
4413 /* stylelint-enable */
4414 top: 0;
4415 right: 0;
4416 height: 64px;
4417 width: 64px;
4418 z-index: 100;
4419 }
4420 .edit-site-editor__view-mode-toggle .components-button {
4421 color: #fff;
4422 height: 100%;
4423 width: 100%;
4424 border-radius: 0;
4425 overflow: hidden;
4426 padding: 0;
4427 display: flex;
4428 align-items: center;
4429 justify-content: center;
4430 }
4431 .edit-site-editor__view-mode-toggle .components-button:hover, .edit-site-editor__view-mode-toggle .components-button:active {
4432 color: #fff;
4433 }
4434 .edit-site-editor__view-mode-toggle .components-button:focus {
4435 box-shadow: none;
4436 }
4437 .edit-site-editor__view-mode-toggle .edit-site-editor__view-mode-toggle-icon svg,
4438 .edit-site-editor__view-mode-toggle .edit-site-editor__view-mode-toggle-icon img {
4439 background: #1e1e1e;
4440 display: block;
4441 }
4442
4443 .edit-site-editor__back-icon {
4444 position: absolute;
4445 top: 0;
4446 right: 0;
4447 width: 64px;
4448 height: 64px;
4449 display: flex;
4450 align-items: center;
4451 justify-content: center;
4452 background-color: hsl(0, 0%, 80%);
4453 pointer-events: none;
4454 }
4455 .edit-site-editor__back-icon svg {
4456 fill: currentColor;
4457 }
4458 .edit-site-editor__back-icon.has-site-icon {
4459 background-color: hsla(0, 0%, 100%, 0.6);
4460 backdrop-filter: saturate(180%) blur(15px);
4461 }
4462
4463 .edit-site-welcome-guide {
4464 width: 312px;
4465 }
4466 .edit-site-welcome-guide.guide-editor .edit-site-welcome-guide__image {
4467 background: #00a0d2;
4468 }
4469 .edit-site-welcome-guide.guide-page .edit-site-welcome-guide__video {
4470 border-left: #3858e9 16px solid;
4471 border-top: #3858e9 16px solid;
4472 }
4473 .edit-site-welcome-guide.guide-template .edit-site-welcome-guide__video {
4474 border-right: #3858e9 16px solid;
4475 border-top: #3858e9 16px solid;
4476 }
4477 .edit-site-welcome-guide__image {
4478 margin: 0 0 16px;
4479 }
4480 .edit-site-welcome-guide__image > img {
4481 display: block;
4482 max-width: 100%;
4483 object-fit: cover;
4484 }
4485 .edit-site-welcome-guide__heading {
4486 font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
4487 font-size: 24px;
4488 line-height: 1.4;
4489 margin: 16px 0 16px 0;
4490 padding: 0 32px;
4491 }
4492 .edit-site-welcome-guide__text {
4493 font-size: 13px;
4494 line-height: 1.4;
4495 margin: 0 0 16px 0;
4496 padding: 0 32px;
4497 }
4498 .edit-site-welcome-guide__text img {
4499 vertical-align: bottom;
4500 }
4501 .edit-site-welcome-guide__inserter-icon {
4502 margin: 0 4px;
4503 vertical-align: text-top;
4504 }
4505 .edit-site-welcome-guide .components-button:hover svg {
4506 fill: #fff;
4507 }
4508
4509 .edit-site-layout {
4510 height: 100%;
4511 background: #1e1e1e;
4512 color: #ccc;
4513 display: flex;
4514 flex-direction: column;
4515 }
4516 .edit-site-layout:not(.is-full-canvas) .editor-visual-editor {
4517 background: #1e1e1e;
4518 }
4519
4520 .edit-site-layout__content {
4521 height: 100%;
4522 flex-grow: 1;
4523 display: flex;
4524 }
4525
4526 .edit-site-layout__sidebar-region {
4527 z-index: 1;
4528 width: 100vw;
4529 flex-shrink: 0;
4530 }
4531 @media (min-width: 782px) {
4532 .edit-site-layout__sidebar-region {
4533 width: 300px;
4534 }
4535 }
4536 .edit-site-layout.is-full-canvas .edit-site-layout__sidebar-region {
4537 position: fixed !important;
4538 height: 100vh;
4539 right: 0;
4540 top: 0;
4541 }
4542 .edit-site-layout__sidebar-region .edit-site-layout__sidebar {
4543 display: flex;
4544 flex-direction: column;
4545 height: 100%;
4546 }
4547 .edit-site-layout__sidebar-region .resizable-editor__drag-handle {
4548 left: 0;
4549 }
4550
4551 .edit-site-layout__main {
4552 flex-grow: 1;
4553 overflow: hidden;
4554 display: flex;
4555 flex-direction: column;
4556 }
4557
4558 .edit-site-layout__mobile {
4559 position: relative;
4560 width: 100%;
4561 z-index: 2;
4562 display: flex;
4563 flex-direction: column;
4564 /*
4565 * The SiteHubMobile component is displayed
4566 * for pages that do not have a sidebar,
4567 * yet it needs the Sidebar component for the React context.
4568 *
4569 * This removes the padding in this scenario.
4570 * See https://github.com/WordPress/gutenberg/pull/63118
4571 */
4572 }
4573 .edit-site-layout__mobile .edit-site-sidebar__screen-wrapper {
4574 padding: 0;
4575 }
4576 .edit-site-layout__mobile .edit-site-sidebar-navigation-screen__main {
4577 padding: 0 12px;
4578 }
4579
4580 .edit-site-layout__canvas-container {
4581 position: relative;
4582 flex-grow: 1;
4583 z-index: 2;
4584 overflow: visible;
4585 }
4586
4587 .edit-site-layout__canvas {
4588 position: absolute;
4589 top: 0;
4590 right: 0;
4591 bottom: 0;
4592 width: 100%;
4593 display: flex;
4594 justify-content: center;
4595 align-items: center;
4596 }
4597 .edit-site-layout__canvas.is-right-aligned {
4598 justify-content: flex-end;
4599 }
4600 .edit-site-layout__canvas .edit-site-resizable-frame__inner {
4601 color: #1e1e1e;
4602 }
4603 @media (min-width: 782px) {
4604 .edit-site-layout__canvas {
4605 top: 16px;
4606 bottom: 16px;
4607 width: calc(100% - 16px);
4608 }
4609 .edit-site-layout__canvas .edit-site-resizable-frame__inner-content {
4610 box-shadow: 0 1px 1px rgba(0, 0, 0, 0.03), 0 1px 2px rgba(0, 0, 0, 0.02), 0 3px 3px rgba(0, 0, 0, 0.02), 0 4px 4px rgba(0, 0, 0, 0.01);
4611 overflow: hidden;
4612 }
4613 }
4614 @media (min-width: 782px) and (not (prefers-reduced-motion)) {
4615 .edit-site-layout__canvas .edit-site-resizable-frame__inner-content {
4616 transition: border-radius, box-shadow 0.4s;
4617 }
4618 }
4619 @media (min-width: 782px) {
4620 .edit-site-layout:not(.is-full-canvas) .edit-site-layout__canvas .edit-site-resizable-frame__inner-content {
4621 border-radius: 8px;
4622 }
4623 .edit-site-layout__canvas .edit-site-resizable-frame__inner-content:hover {
4624 box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08), 0 15px 27px rgba(0, 0, 0, 0.07), 0 30px 36px rgba(0, 0, 0, 0.04), 0 50px 43px rgba(0, 0, 0, 0.02);
4625 }
4626 }
4627 .edit-site-layout.is-full-canvas .edit-site-layout__canvas {
4628 top: 0;
4629 bottom: 0;
4630 width: 100%;
4631 }
4632
4633 .edit-site-layout__mobile .interface-interface-skeleton,
4634 .edit-site-layout__canvas .interface-interface-skeleton,
4635 .edit-site-template-pages-preview .interface-interface-skeleton {
4636 position: relative !important;
4637 min-height: 100% !important;
4638 }
4639
4640 .edit-site-template-pages-preview {
4641 height: 100%;
4642 }
4643
4644 /* stylelint-disable -- Disable reason: View Transitions not supported properly by stylelint. */
4645 html.canvas-mode-edit-transition::view-transition-group(toggle) {
4646 animation-delay: 255ms;
4647 }
4648
4649 @media (prefers-reduced-motion) {
4650 ::view-transition-group(*),
4651 ::view-transition-old(*),
4652 ::view-transition-new(*) {
4653 animation: none !important;
4654 }
4655 }
4656 /* stylelint-enable */
4657 .edit-site-layout.is-full-canvas .edit-site-layout__sidebar-region .edit-site-layout__view-mode-toggle {
4658 display: none;
4659 }
4660
4661 .edit-site-layout__view-mode-toggle.components-button {
4662 /* stylelint-disable -- Disable reason: View Transitions not supported properly by stylelint. */
4663 view-transition-name: toggle;
4664 /* stylelint-enable */
4665 position: relative;
4666 color: #fff;
4667 height: 64px;
4668 width: 64px;
4669 overflow: hidden;
4670 padding: 0;
4671 display: flex;
4672 align-items: center;
4673 justify-content: center;
4674 background: #1e1e1e;
4675 border-radius: 0;
4676 }
4677 .edit-site-layout__view-mode-toggle.components-button:hover, .edit-site-layout__view-mode-toggle.components-button:active {
4678 color: #fff;
4679 }
4680 .edit-site-layout__view-mode-toggle.components-button:focus-visible, .edit-site-layout__view-mode-toggle.components-button:focus {
4681 box-shadow: 0 0 0 3px #1e1e1e, 0 0 0 6px var(--wp-admin-theme-color);
4682 outline: 4px solid rgba(0, 0, 0, 0);
4683 outline-offset: 4px;
4684 }
4685 .edit-site-layout__view-mode-toggle.components-button::before {
4686 content: "";
4687 display: block;
4688 position: absolute;
4689 top: 9px;
4690 left: 9px;
4691 bottom: 9px;
4692 right: 17px;
4693 border-radius: 4px;
4694 box-shadow: none;
4695 }
4696 @media not (prefers-reduced-motion) {
4697 .edit-site-layout__view-mode-toggle.components-button::before {
4698 transition: box-shadow 0.1s ease;
4699 }
4700 }
4701 .edit-site-layout__view-mode-toggle.components-button .edit-site-layout__view-mode-toggle-icon {
4702 display: flex;
4703 height: 64px;
4704 width: 64px;
4705 justify-content: center;
4706 align-items: center;
4707 }
4708
4709 .edit-site-layout__actions {
4710 z-index: 100000;
4711 position: fixed !important;
4712 top: -9999em;
4713 bottom: auto;
4714 right: auto;
4715 left: 0;
4716 width: 280px;
4717 color: #1e1e1e;
4718 background: #fff;
4719 }
4720 .edit-site-layout__actions:focus, .edit-site-layout__actions:focus-within {
4721 top: auto;
4722 bottom: 0;
4723 }
4724 .edit-site-layout__actions.is-entity-save-view-open:focus, .edit-site-layout__actions.is-entity-save-view-open:focus-within {
4725 top: 0;
4726 }
4727 @media (min-width: 782px) {
4728 .edit-site-layout__actions {
4729 border-right: 1px solid #ddd;
4730 }
4731 }
4732
4733 .edit-site-layout__area {
4734 flex-grow: 1;
4735 margin: 0;
4736 overflow: hidden;
4737 box-shadow: 0 1px 1px rgba(0, 0, 0, 0.03), 0 1px 2px rgba(0, 0, 0, 0.02), 0 3px 3px rgba(0, 0, 0, 0.02), 0 4px 4px rgba(0, 0, 0, 0.01);
4738 }
4739 @media (min-width: 782px) {
4740 .edit-site-layout__area {
4741 border-radius: 8px;
4742 margin: 16px 0 16px 16px;
4743 }
4744 }
4745
4746 .edit-site-layout__snackbar {
4747 position: fixed;
4748 bottom: 24px;
4749 right: 0;
4750 left: 0;
4751 padding-inline: 16px;
4752 box-sizing: border-box;
4753 display: flex;
4754 flex-direction: column;
4755 pointer-events: none;
4756 }
4757 .edit-site-layout__snackbar .components-snackbar {
4758 margin-inline: auto;
4759 }
4760
4761 .edit-site-save-hub {
4762 color: #949494;
4763 border-top: 1px solid #2f2f2f;
4764 flex-shrink: 0;
4765 margin: 0;
4766 padding: 16px 16px;
4767 }
4768
4769 .edit-site-save-hub__button {
4770 color: inherit;
4771 width: 100%;
4772 justify-content: center;
4773 }
4774 .edit-site-save-hub__button[aria-disabled=true] {
4775 opacity: 1;
4776 }
4777 .edit-site-save-hub__button[aria-disabled=true]:hover {
4778 color: inherit;
4779 }
4780 .edit-site-save-hub__button:not(.is-primary).is-busy, .edit-site-save-hub__button:not(.is-primary).is-busy[aria-disabled=true]:hover {
4781 color: #1e1e1e;
4782 }
4783
4784 @media (min-width: 600px) {
4785 .edit-site-save-panel__modal {
4786 width: 600px;
4787 }
4788 }
4789
4790 .edit-site-sidebar__content {
4791 flex-grow: 1;
4792 overflow-y: auto;
4793 overflow-x: hidden;
4794 contain: content;
4795 }
4796
4797 @keyframes local--slide-from-right {
4798 from {
4799 transform: translateX(-50px);
4800 opacity: 0;
4801 }
4802 to {
4803 transform: none;
4804 opacity: 1;
4805 }
4806 }
4807 @keyframes local--slide-from-left {
4808 from {
4809 transform: translateX(50px);
4810 opacity: 0;
4811 }
4812 to {
4813 transform: none;
4814 opacity: 1;
4815 }
4816 }
4817 .edit-site-sidebar__screen-wrapper {
4818 overflow-x: auto;
4819 }
4820 .edit-site-sidebar__screen-wrapper::-webkit-scrollbar {
4821 width: 12px;
4822 height: 12px;
4823 }
4824 .edit-site-sidebar__screen-wrapper::-webkit-scrollbar-track {
4825 background-color: transparent;
4826 }
4827 .edit-site-sidebar__screen-wrapper::-webkit-scrollbar-thumb {
4828 background-color: transparent;
4829 border-radius: 8px;
4830 border: 3px solid transparent;
4831 background-clip: padding-box;
4832 }
4833 .edit-site-sidebar__screen-wrapper:hover::-webkit-scrollbar-thumb, .edit-site-sidebar__screen-wrapper:focus::-webkit-scrollbar-thumb, .edit-site-sidebar__screen-wrapper:focus-within::-webkit-scrollbar-thumb {
4834 background-color: #757575;
4835 }
4836 .edit-site-sidebar__screen-wrapper {
4837 scrollbar-width: thin;
4838 scrollbar-gutter: stable both-edges;
4839 scrollbar-color: transparent transparent;
4840 }
4841 .edit-site-sidebar__screen-wrapper:hover, .edit-site-sidebar__screen-wrapper:focus, .edit-site-sidebar__screen-wrapper:focus-within {
4842 scrollbar-color: #757575 transparent;
4843 }
4844 .edit-site-sidebar__screen-wrapper {
4845 will-change: transform;
4846 }
4847 @media (hover: none) {
4848 .edit-site-sidebar__screen-wrapper {
4849 scrollbar-color: #757575 transparent;
4850 }
4851 }
4852 .edit-site-sidebar__screen-wrapper {
4853 scrollbar-gutter: stable;
4854 display: flex;
4855 flex-direction: column;
4856 height: 100%;
4857 max-height: 100%;
4858 padding: 0 12px;
4859 animation-duration: 0.14s;
4860 animation-timing-function: ease-in-out;
4861 will-change: transform, opacity;
4862 }
4863 @media (prefers-reduced-motion: reduce) {
4864 .edit-site-sidebar__screen-wrapper {
4865 animation-duration: 0s;
4866 }
4867 }
4868 .edit-site-sidebar__screen-wrapper.slide-from-left {
4869 animation-name: local--slide-from-left;
4870 }
4871 .edit-site-sidebar__screen-wrapper.slide-from-right {
4872 animation-name: local--slide-from-right;
4873 }
4874
4875 .edit-site-sidebar-button {
4876 color: #e0e0e0;
4877 flex-shrink: 0;
4878 }
4879 .edit-site-sidebar-button:focus:not(:disabled) {
4880 box-shadow: none;
4881 outline: none;
4882 }
4883 .edit-site-sidebar-button:focus-visible:not(:disabled) {
4884 box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
4885 outline: 3px solid transparent;
4886 }
4887 .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] {
4888 color: #f0f0f0;
4889 }
4890
4891 .edit-site-sidebar-navigation-item.components-item {
4892 color: #949494;
4893 padding: 8px 16px 8px 6px;
4894 border: none;
4895 min-height: 40px;
4896 }
4897 .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] {
4898 color: #e0e0e0;
4899 }
4900 .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 {
4901 fill: #e0e0e0;
4902 }
4903 .edit-site-sidebar-navigation-item.components-item[aria-current=true] {
4904 background: #2f2f2f;
4905 color: #fff;
4906 font-weight: 499;
4907 }
4908 .edit-site-sidebar-navigation-item.components-item:focus-visible {
4909 transform: translateZ(0);
4910 }
4911 .edit-site-sidebar-navigation-item.components-item .edit-site-sidebar-navigation-item__drilldown-indicator {
4912 fill: #949494;
4913 }
4914 .edit-site-sidebar-navigation-item.components-item.with-suffix {
4915 padding-left: 16px;
4916 }
4917
4918 .edit-site-sidebar-navigation-screen__content .block-editor-list-view-block-select-button {
4919 cursor: grab;
4920 padding: 8px 0 8px 8px;
4921 }
4922
4923 .edit-site-sidebar-navigation-screen {
4924 display: flex;
4925 flex-direction: column;
4926 overflow-x: unset !important;
4927 position: relative;
4928 }
4929
4930 .edit-site-sidebar-navigation-screen__main {
4931 flex-grow: 1;
4932 margin-bottom: 16px;
4933 }
4934 .edit-site-sidebar-navigation-screen__main.has-footer {
4935 margin-bottom: 0;
4936 }
4937
4938 .edit-site-sidebar-navigation-screen__content {
4939 padding: 0 16px;
4940 }
4941 .edit-site-sidebar-navigation-screen__content .components-text {
4942 color: #ccc;
4943 }
4944 .edit-site-sidebar-navigation-screen__content .components-heading {
4945 margin-bottom: 8px;
4946 }
4947
4948 .edit-site-sidebar-navigation-screen__title-icon {
4949 position: sticky;
4950 top: 0;
4951 background: #1e1e1e;
4952 padding-top: 48px;
4953 margin-bottom: 8px;
4954 padding-bottom: 8px;
4955 z-index: 1;
4956 }
4957
4958 .edit-site-sidebar-navigation-screen__title {
4959 flex-grow: 1;
4960 overflow-wrap: break-word;
4961 }
4962 .edit-site-sidebar-navigation-screen__title.edit-site-sidebar-navigation-screen__title, .edit-site-sidebar-navigation-screen__title.edit-site-sidebar-navigation-screen__title .edit-site-sidebar-navigation-screen__title {
4963 line-height: 32px;
4964 }
4965
4966 .edit-site-sidebar-navigation-screen__actions {
4967 display: flex;
4968 flex-shrink: 0;
4969 }
4970
4971 @media (min-width: 782px) {
4972 .edit-site-sidebar-navigation-screen__content .edit-site-global-styles-variation-container {
4973 max-width: 292px;
4974 }
4975 }
4976
4977 .edit-site-sidebar-navigation-screen__content .global-styles-ui-variations_item .global-styles-ui-variations_item-preview {
4978 outline-color: rgba(255, 255, 255, 0.05);
4979 }
4980 .edit-site-sidebar-navigation-screen__content .global-styles-ui-variations_item:not(.is-active):hover .global-styles-ui-variations_item-preview {
4981 outline-color: rgba(255, 255, 255, 0.15);
4982 }
4983 .edit-site-sidebar-navigation-screen__content .global-styles-ui-variations_item.is-active .global-styles-ui-variations_item-preview {
4984 outline-color: #fff;
4985 }
4986 .edit-site-sidebar-navigation-screen__content .global-styles-ui-variations_item:focus-visible .global-styles-ui-variations_item-preview {
4987 outline-color: var(--wp-admin-theme-color);
4988 }
4989
4990 .edit-site-sidebar-navigation-screen__footer {
4991 position: sticky;
4992 bottom: 0;
4993 background-color: #1e1e1e;
4994 gap: 0;
4995 padding: 8px 16px;
4996 margin: 16px 0 0;
4997 border-top: 1px solid #2f2f2f;
4998 }
4999 .edit-site-sidebar-navigation-screen__footer .edit-site-sidebar-navigation-screen-details-footer {
5000 margin-right: -16px;
5001 margin-left: -16px;
5002 }
5003
5004 /* In general style overrides are discouraged.
5005 * This is a temporary solution to override the InputControl component's styles.
5006 * The `Theme` component will potentially be the more appropriate approach
5007 * once that component is stabilized.
5008 * See: packages/components/src/theme
5009 */
5010 .edit-site-sidebar-navigation-screen__input-control {
5011 width: 100%;
5012 }
5013 .edit-site-sidebar-navigation-screen__input-control .components-input-control__container {
5014 background: #2f2f2f;
5015 }
5016 .edit-site-sidebar-navigation-screen__input-control .components-input-control__container .components-button {
5017 color: #e0e0e0 !important;
5018 }
5019 .edit-site-sidebar-navigation-screen__input-control .components-input-control__input {
5020 color: #e0e0e0 !important;
5021 background: #2f2f2f !important;
5022 }
5023 .edit-site-sidebar-navigation-screen__input-control .components-input-control__backdrop {
5024 border: 4px !important;
5025 }
5026 .edit-site-sidebar-navigation-screen__input-control .components-base-control__help {
5027 color: #949494;
5028 }
5029
5030 .edit-site-sidebar-navigation-screen-details-footer div.edit-site-sidebar-navigation-item.components-item:focus,
5031 .edit-site-sidebar-navigation-screen-details-footer div.edit-site-sidebar-navigation-item.components-item:hover,
5032 .edit-site-sidebar-navigation-screen-details-footer div.edit-site-sidebar-navigation-item.components-item[aria-current] {
5033 background: none;
5034 }
5035
5036 .sidebar-navigation__more-menu .components-button {
5037 color: #e0e0e0;
5038 }
5039 .sidebar-navigation__more-menu .components-button:hover, .sidebar-navigation__more-menu .components-button:focus, .sidebar-navigation__more-menu .components-button[aria-current] {
5040 color: #f0f0f0;
5041 }
5042
5043 .edit-site-sidebar-navigation-screen-patterns__group {
5044 margin-bottom: 24px;
5045 margin-right: -16px;
5046 margin-left: -16px;
5047 }
5048 .edit-site-sidebar-navigation-screen-patterns__group:last-of-type {
5049 border-bottom: 0;
5050 padding-bottom: 0;
5051 margin-bottom: 0;
5052 }
5053
5054 .edit-site-sidebar-navigation-screen-patterns__group-header {
5055 margin-top: 16px;
5056 }
5057 .edit-site-sidebar-navigation-screen-patterns__group-header p {
5058 color: #949494;
5059 }
5060 .edit-site-sidebar-navigation-screen-patterns__group-header h2 {
5061 font-size: 11px;
5062 font-weight: 499;
5063 text-transform: uppercase;
5064 }
5065
5066 .edit-site-sidebar-navigation-screen-patterns__divider {
5067 border-top: 1px solid #2f2f2f;
5068 margin: 16px 0;
5069 }
5070
5071 .edit-site-sidebar-navigation-screen__description {
5072 margin: 0 0 32px 0;
5073 }
5074
5075 .edit-site-sidebar-navigation-screen-navigation-menus {
5076 margin-right: -16px;
5077 margin-left: -16px;
5078 }
5079
5080 .edit-site-sidebar-navigation-screen-navigation-menus__content .block-editor-list-view-leaf .block-editor-list-view-block-contents {
5081 white-space: normal;
5082 }
5083 .edit-site-sidebar-navigation-screen-navigation-menus__content .block-editor-list-view-block__title {
5084 margin-top: 3px;
5085 }
5086 .edit-site-sidebar-navigation-screen-navigation-menus__content .block-editor-list-view-block__menu-cell {
5087 padding-left: 0;
5088 }
5089 .edit-site-sidebar-navigation-screen-navigation-menus__content .block-editor-list-view-block-select-button {
5090 color: #949494;
5091 }
5092 .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] {
5093 color: #fff;
5094 }
5095 .edit-site-sidebar-navigation-screen-navigation-menus__content .block-editor-list-view-block__menu {
5096 color: #949494;
5097 }
5098 .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 {
5099 color: #fff;
5100 }
5101
5102 .edit-site-sidebar-navigation-screen-navigation-menus__loading.components-spinner {
5103 margin-right: auto;
5104 margin-left: auto;
5105 display: block;
5106 }
5107
5108 .edit-site-sidebar-navigation-screen-navigation-menus__helper-block-editor {
5109 display: none;
5110 }
5111
5112 .edit-site-sidebar-navigation-screen-main {
5113 margin-right: -16px;
5114 margin-left: -16px;
5115 }
5116
5117 .edit-site-sidebar-navigation-screen-templates-browse {
5118 margin-right: -16px;
5119 margin-left: -16px;
5120 }
5121
5122 .edit-site-sidebar-dataviews {
5123 margin-right: -16px;
5124 margin-left: -16px;
5125 }
5126
5127 .edit-site-site-hub {
5128 display: flex;
5129 align-items: center;
5130 justify-content: space-between;
5131 gap: 8px;
5132 margin-left: 12px;
5133 height: 64px;
5134 }
5135
5136 .edit-site-site-hub__actions {
5137 flex-shrink: 0;
5138 }
5139
5140 .edit-site-site-hub__view-mode-toggle-container {
5141 height: 64px;
5142 width: 64px;
5143 flex-shrink: 0;
5144 }
5145 .edit-site-site-hub__view-mode-toggle-container.has-transparent-background .edit-site-layout__view-mode-toggle-icon {
5146 background: transparent;
5147 }
5148
5149 .edit-site-site-hub__title .components-button {
5150 color: #e0e0e0;
5151 display: block;
5152 flex-grow: 1;
5153 font-size: 15px;
5154 font-weight: 499;
5155 overflow: hidden;
5156 padding-left: 16px;
5157 margin-right: -4px;
5158 position: relative;
5159 text-decoration: none;
5160 text-overflow: ellipsis;
5161 white-space: nowrap;
5162 }
5163 .edit-site-site-hub__title .components-button:hover, .edit-site-site-hub__title .components-button:focus, .edit-site-site-hub__title .components-button:active {
5164 color: #e0e0e0;
5165 }
5166 .edit-site-site-hub__title .components-button:focus {
5167 box-shadow: none;
5168 outline: none;
5169 }
5170 .edit-site-site-hub__title .components-button:focus-visible {
5171 box-shadow: 0 0 0 var(--wp-admin-border-width-focus) #1e1e1e, 0 0 0 calc(2 * var(--wp-admin-border-width-focus)) var(--wp-admin-theme-color);
5172 outline: 2px solid transparent;
5173 outline-offset: 2px;
5174 }
5175 .edit-site-site-hub__title .components-button::after {
5176 content: "↗";
5177 font-weight: 400;
5178 opacity: 0;
5179 position: absolute;
5180 left: 0;
5181 }
5182 @media not (prefers-reduced-motion) {
5183 .edit-site-site-hub__title .components-button::after {
5184 transition: opacity 0.1s linear;
5185 }
5186 }
5187 .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 {
5188 opacity: 1;
5189 }
5190
5191 .edit-site-site-hub_toggle-command-center {
5192 color: #e0e0e0;
5193 }
5194 .edit-site-site-hub_toggle-command-center:hover svg, .edit-site-site-hub_toggle-command-center:active svg {
5195 fill: #f0f0f0;
5196 }
5197
5198 .edit-site-site-icon__icon {
5199 fill: currentColor;
5200 width: 100%;
5201 height: 100%;
5202 }
5203 .edit-site-layout.is-full-canvas .edit-site-site-icon__icon {
5204 padding: 12px;
5205 }
5206
5207 .edit-site-site-icon__image {
5208 width: 100%;
5209 height: 100%;
5210 object-fit: cover;
5211 background: #333;
5212 aspect-ratio: 1/1;
5213 }
5214 .edit-site-layout.is-full-canvas .edit-site-site-icon__image {
5215 border-radius: 0;
5216 }
5217
5218 .edit-site-editor__view-mode-toggle button:focus {
5219 position: relative;
5220 }
5221 .edit-site-editor__view-mode-toggle button:focus::before {
5222 content: "";
5223 display: block;
5224 position: absolute;
5225 z-index: 1;
5226 top: 0;
5227 left: 0;
5228 bottom: 0;
5229 right: 0;
5230 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;
5231 }
5232
5233 .fields-controls__password {
5234 border-top: 1px solid #e0e0e0;
5235 padding-top: 16px;
5236 }
5237
5238 .dataviews-action-modal__quick-edit {
5239 justify-content: flex-end;
5240 align-items: stretch;
5241 }
5242 .dataviews-action-modal__quick-edit .components-modal__frame {
5243 margin: 16px 0 16px 16px;
5244 height: calc(100% - 32px);
5245 max-height: calc(100% - 32px);
5246 max-width: 400px;
5247 border-radius: 8px;
5248 position: relative;
5249 animation-name: none;
5250 }
5251 @media (prefers-reduced-motion: no-preference) {
5252 .dataviews-action-modal__quick-edit .components-modal__frame {
5253 animation-name: quick-edit-slide-in-right;
5254 animation-duration: 0.2s;
5255 animation-timing-function: ease-out;
5256 }
5257 }
5258 .dataviews-action-modal__quick-edit.is-animating-out .components-modal__frame {
5259 animation-name: none;
5260 }
5261 @media (prefers-reduced-motion: no-preference) {
5262 .dataviews-action-modal__quick-edit.is-animating-out .components-modal__frame {
5263 animation-name: quick-edit-slide-out-right;
5264 animation-duration: 0.2s;
5265 animation-timing-function: ease-out;
5266 }
5267 }
5268 .dataviews-action-modal__quick-edit .components-modal__content {
5269 display: flex;
5270 flex-direction: column;
5271 overflow: hidden;
5272 padding: 0;
5273 }
5274 .dataviews-action-modal__quick-edit .components-modal__content > * {
5275 display: flex;
5276 flex-direction: column;
5277 flex: 1;
5278 min-height: 0;
5279 }
5280 .dataviews-action-modal__quick-edit .dataviews-action-modal__quick-edit-header {
5281 padding: 24px 24px 0;
5282 }
5283 .dataviews-action-modal__quick-edit .dataviews-action-modal__quick-edit-content {
5284 flex: 1;
5285 min-height: 0;
5286 overflow-y: auto;
5287 padding-top: 16px;
5288 }
5289 .dataviews-action-modal__quick-edit .dataviews-action-modal__quick-edit-content .dataforms-layouts__wrapper {
5290 flex: 1;
5291 padding: 0 24px 4px;
5292 }
5293 .dataviews-action-modal__quick-edit .dataviews-action-modal__quick-edit-footer {
5294 position: sticky;
5295 bottom: 0;
5296 flex-shrink: 0;
5297 padding: 16px 24px 24px;
5298 }
5299 .dataviews-action-modal__quick-edit .dataviews-action-modal__quick-edit-footer .components-button {
5300 flex: 1;
5301 justify-content: center;
5302 }
5303
5304 @keyframes quick-edit-slide-in-right {
5305 from {
5306 transform: translateX(-100%);
5307 }
5308 to {
5309 transform: translateX(0);
5310 }
5311 }
5312 @keyframes quick-edit-slide-out-right {
5313 from {
5314 transform: translateX(0);
5315 }
5316 to {
5317 transform: translateX(-100%);
5318 }
5319 }
5320 .edit-site-resizable-frame__inner {
5321 position: relative;
5322 }
5323 body:has(.edit-site-resizable-frame__inner.is-resizing) {
5324 cursor: col-resize;
5325 -webkit-user-select: none;
5326 user-select: none;
5327 }
5328
5329 .edit-site-resizable-frame__inner.is-resizing::before {
5330 position: absolute;
5331 z-index: 1;
5332 inset: 0;
5333 content: "";
5334 }
5335
5336 .edit-site-resizable-frame__inner-content {
5337 position: absolute;
5338 z-index: 0;
5339 inset: 0;
5340 }
5341
5342 .edit-site-resizable-frame__handle {
5343 align-items: center;
5344 background-color: rgba(117, 117, 117, 0.4);
5345 border: 0;
5346 border-radius: 4px;
5347 cursor: col-resize;
5348 display: flex;
5349 height: 64px;
5350 justify-content: flex-end;
5351 padding: 0;
5352 position: absolute;
5353 top: calc(50% - 32px);
5354 width: 4px;
5355 z-index: 100;
5356 }
5357 .edit-site-resizable-frame__handle::before {
5358 content: "";
5359 height: 100%;
5360 right: 100%;
5361 position: absolute;
5362 width: 32px;
5363 }
5364 .edit-site-resizable-frame__handle::after {
5365 content: "";
5366 height: 100%;
5367 position: absolute;
5368 left: 100%;
5369 width: 32px;
5370 }
5371 .edit-site-resizable-frame__handle:focus-visible {
5372 outline: 2px solid transparent;
5373 }
5374 .edit-site-resizable-frame__handle:hover, .edit-site-resizable-frame__handle:focus, .edit-site-resizable-frame__handle.is-resizing {
5375 background-color: var(--wp-admin-theme-color);
5376 }
5377
5378 .edit-site-pagination .components-button.is-tertiary {
5379 width: 32px;
5380 height: 32px;
5381 justify-content: center;
5382 }
5383
5384 .edit-site-styles .global-styles-ui-screen-root {
5385 box-shadow: none;
5386 }
5387 .edit-site-styles .global-styles-ui-screen-root > div > hr {
5388 display: none;
5389 }
5390 .edit-site-styles .global-styles-ui-sidebar__navigator-provider .components-tools-panel {
5391 border-top: none;
5392 }
5393 .edit-site-styles .global-styles-ui-sidebar__navigator-provider {
5394 overflow-y: auto;
5395 padding-right: 0;
5396 padding-left: 0;
5397 }
5398 .edit-site-styles .global-styles-ui-sidebar__navigator-provider .global-styles-ui-sidebar__navigator-screen {
5399 padding-top: 12px;
5400 padding-right: 12px;
5401 padding-left: 12px;
5402 padding-bottom: 12px;
5403 outline: none;
5404 }
5405 .edit-site-styles .edit-site-sidebar-button {
5406 color: #1e1e1e;
5407 }
5408
5409 .show-icon-labels .edit-site-styles__header-actions .components-button.has-icon {
5410 width: auto;
5411 padding: 0 var(--wpds-dimension-padding-xs, 4px);
5412 }
5413 .show-icon-labels .edit-site-styles__header-actions .components-button.has-icon svg {
5414 display: none;
5415 }
5416 .show-icon-labels .edit-site-styles__header-actions .components-button.has-icon::after {
5417 content: attr(aria-label);
5418 font-size: var(--wpds-typography-font-size-sm, 12px);
5419 }
5420
5421 body.has-admin-bar-in-editor {
5422 margin-top: 0;
5423 height: 100%;
5424 }
5425 body.has-admin-bar-in-editor:has(.editor-editor-interface.is-distraction-free) {
5426 --wp-admin--admin-bar--height: 0;
5427 }
5428 body.has-admin-bar-in-editor .edit-site-site-hub__title,
5429 body.has-admin-bar-in-editor .edit-site-site-hub__actions {
5430 display: none;
5431 }
5432 body.has-admin-bar-in-editor .edit-site-editor__view-mode-toggle .edit-site-editor__back-icon {
5433 background: transparent;
5434 }
5435 body.has-admin-bar-in-editor .edit-site-editor__view-mode-toggle:hover .edit-site-editor__back-icon {
5436 color: var(--wp-admin-theme-color);
5437 }
5438 body.has-admin-bar-in-editor .edit-site-sidebar-navigation-screen__title-icon {
5439 padding-top: 16px;
5440 }
5441 body.has-admin-bar-in-editor .edit-site-layout__content,
5442 body.has-admin-bar-in-editor .edit-site-layout__sidebar {
5443 min-height: 0;
5444 }
5445 body.has-admin-bar-in-editor .edit-site-sidebar__content {
5446 flex-basis: 0;
5447 min-height: 0;
5448 }
5449 body.has-admin-bar-in-editor .edit-site {
5450 box-sizing: border-box;
5451 padding-top: var(--wp-admin--admin-bar--height, 0);
5452 height: 100vh;
5453 min-height: 100vh;
5454 }
5455 @media (min-width: 600px) {
5456 body.has-admin-bar-in-editor .edit-site {
5457 padding-top: 0;
5458 top: var(--wp-admin--admin-bar--height, 0);
5459 height: calc(100vh - var(--wp-admin--admin-bar--height, 0));
5460 min-height: calc(100vh - var(--wp-admin--admin-bar--height, 0));
5461 }
5462 }
5463 body.has-admin-bar-in-editor .edit-site-layout.is-full-canvas .edit-site-layout__sidebar-region {
5464 top: var(--wp-admin--admin-bar--height, 0);
5465 height: calc(100vh - var(--wp-admin--admin-bar--height, 0));
5466 }
5467 body.has-admin-bar-in-editor.is-fullscreen-mode .is-entity-save-view-open .interface-interface-skeleton__actions:focus,
5468 body.has-admin-bar-in-editor.is-fullscreen-mode .is-entity-save-view-open .interface-interface-skeleton__actions:focus-within {
5469 top: var(--wp-admin--admin-bar--height, 0);
5470 }
5471 body.has-admin-bar-in-editor.is-fullscreen-mode #wpadminbar {
5472 display: block;
5473 }
5474 body.has-admin-bar-in-editor.is-fullscreen-mode:has(.editor-editor-interface.is-distraction-free) #wpadminbar {
5475 display: none;
5476 }
5477
5478 /* stylelint-disable -- Disable reason: View Transitions not supported properly by stylelint. */
5479 ::view-transition-image-pair(root) {
5480 isolation: auto;
5481 }
5482
5483 ::view-transition-old(root),
5484 ::view-transition-new(root) {
5485 animation: none;
5486 mix-blend-mode: normal;
5487 display: block;
5488 }
5489
5490 /* stylelint-enable */
5491 body.js #wpadminbar {
5492 display: none;
5493 }
5494
5495 body.js #wpbody {
5496 padding-top: 0;
5497 }
5498
5499 body.js.appearance_page_gutenberg-template-parts,
5500 body.js.site-editor-php {
5501 background: #fff;
5502 }
5503 body.js.appearance_page_gutenberg-template-parts #wpcontent,
5504 body.js.site-editor-php #wpcontent {
5505 padding-right: 0;
5506 }
5507 body.js.appearance_page_gutenberg-template-parts #wpbody-content,
5508 body.js.site-editor-php #wpbody-content {
5509 padding-bottom: 0;
5510 }
5511 body.js.appearance_page_gutenberg-template-parts,
5512 body.js.site-editor-php {
5513 /* We hide legacy notices in Gutenberg Based Pages, because they were not designed in a way that scaled well.
5514 Plugins can use Gutenberg notices if they need to pass on information to the user when they are editing. */
5515 }
5516 body.js.appearance_page_gutenberg-template-parts #wpbody-content > div:not(.edit-site):not(#screen-meta),
5517 body.js.site-editor-php #wpbody-content > div:not(.edit-site):not(#screen-meta) {
5518 display: none;
5519 }
5520 body.js.appearance_page_gutenberg-template-parts #wpfooter,
5521 body.js.site-editor-php #wpfooter {
5522 display: none;
5523 }
5524 body.js.appearance_page_gutenberg-template-parts .a11y-speak-region,
5525 body.js.site-editor-php .a11y-speak-region {
5526 right: -1px;
5527 top: -1px;
5528 }
5529 body.js.appearance_page_gutenberg-template-parts ul#adminmenu a.wp-has-current-submenu::after,
5530 body.js.appearance_page_gutenberg-template-parts ul#adminmenu > li.current > a.current::after,
5531 body.js.site-editor-php ul#adminmenu a.wp-has-current-submenu::after,
5532 body.js.site-editor-php ul#adminmenu > li.current > a.current::after {
5533 border-left-color: #fff;
5534 }
5535 body.js.appearance_page_gutenberg-template-parts .media-frame select.attachment-filters:last-of-type,
5536 body.js.site-editor-php .media-frame select.attachment-filters:last-of-type {
5537 width: auto;
5538 max-width: 100%;
5539 }
5540
5541 body.js.site-editor-php {
5542 background: #1e1e1e;
5543 }
5544
5545 .edit-site {
5546 box-sizing: border-box;
5547 }
5548 .edit-site *,
5549 .edit-site *::before,
5550 .edit-site *::after {
5551 box-sizing: inherit;
5552 }
5553 .edit-site {
5554 height: 100vh;
5555 }
5556 @media (min-width: 600px) {
5557 .edit-site {
5558 bottom: 0;
5559 right: 0;
5560 min-height: 100vh;
5561 position: fixed;
5562 left: 0;
5563 top: 0;
5564 }
5565 }
5566 .no-js .edit-site {
5567 min-height: 0;
5568 position: static;
5569 }
5570 .edit-site .interface-interface-skeleton {
5571 top: 0;
5572 }