PluginProbe
Gutenberg / 23.1.0
Gutenberg v23.1.0
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.1.0, at build/styles/edit-site/style-rtl.css

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