PluginProbe
Gutenberg / 22.7.0
Gutenberg v22.7.0
24.0.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 All 403 releases
gutenberg / build / styles / edit-site / style.css

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

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