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

style.css in Gutenberg 23.7.2, at build/styles/block-editor/style.css

4,875 lines 140.2 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /**
2 * Typography
3 */
4 /**
5 * SCSS Variables.
6 *
7 * Please use variables from this sheet to ensure consistency across the UI.
8 * Don't add to this sheet unless you're pretty sure the value will be reused in many places.
9 * For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
10 */
11 /**
12 * Colors
13 */
14 /**
15 * Fonts & basic variables.
16 */
17 /**
18 * Typography
19 */
20 /**
21 * Grid System.
22 * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
23 */
24 /**
25 * Radius scale.
26 */
27 /**
28 * Elevation scale.
29 */
30 /**
31 * Dimensions.
32 */
33 /**
34 * Mobile specific styles
35 */
36 /**
37 * Editor styles.
38 */
39 /**
40 * Block & Editor UI.
41 */
42 /**
43 * Block paddings.
44 */
45 /**
46 * React Native specific.
47 * These variables do not appear to be used anywhere else.
48 */
49 /**
50 * Breakpoints & Media Queries
51 */
52 /**
53 * Converts a hex value into the rgb equivalent.
54 *
55 * @param {string} hex - the hexadecimal value to convert
56 * @return {string} comma separated rgb values
57 */
58 /**
59 * Long content fade mixin
60 *
61 * Creates a fading overlay to signify that the content is longer
62 * than the space allows.
63 */
64 /**
65 * Breakpoint mixins
66 */
67 /**
68 * Focus styles.
69 */
70 /**
71 * Standard focus rings for the WordPress Design System.
72 *
73 * Apply `outset-ring__focus` inside the relevant pseudo-class at the call site,
74 * e.g. `&:focus { @include outset-ring__focus(); }`.
75 */
76 /**
77 * Applies editor left position to the selector passed as argument
78 */
79 /**
80 * Styles that are reused verbatim in a few places
81 */
82 /**
83 * Allows users to opt-out of animations via OS-level preferences.
84 */
85 /**
86 * Reset default styles for JavaScript UI based pages.
87 * This is a WP-admin agnostic reset
88 */
89 /**
90 * Reset the WP Admin page styles for Gutenberg-like pages.
91 */
92 /**
93 * Creates a checkerboard pattern background to indicate transparency.
94 * @param {String} $size - The size of the squares in the checkerboard pattern. Default is 12px.
95 */
96 :root {
97 --wp-block-synced-color: #7a00df;
98 --wp-block-synced-color--rgb: 122, 0, 223;
99 --wp-bound-block-color: var(--wp-block-synced-color);
100 --wp-editor-canvas-background: #ddd;
101 --wp-admin-theme-color: #007cba;
102 --wp-admin-theme-color--rgb: 0, 124, 186;
103 --wp-admin-theme-color-darker-10: rgb(0, 107, 160.5);
104 --wp-admin-theme-color-darker-10--rgb: 0, 107, 160.5;
105 --wp-admin-theme-color-darker-20: #005a87;
106 --wp-admin-theme-color-darker-20--rgb: 0, 90, 135;
107 --wp-admin-border-width-focus: 2px;
108 }
109 @media (min-resolution: 192dpi) {
110 :root {
111 --wp-admin-border-width-focus: 1.5px;
112 }
113 }
114
115 .block-editor-autocompleters__block {
116 white-space: nowrap;
117 }
118 .block-editor-autocompleters__block .block-editor-block-icon {
119 margin-right: 8px;
120 }
121 .block-editor-autocompleters__block[aria-selected=true] .block-editor-block-icon {
122 color: inherit !important;
123 }
124
125 .block-editor-global-styles-background-panel__inspector-media-replace-container {
126 position: relative;
127 }
128 .block-editor-global-styles-background-panel__inspector-media-replace-container.is-open {
129 background-color: #f0f0f0;
130 }
131 .block-editor-global-styles-background-panel__inspector-media-replace-container .block-editor-global-styles-background-panel__image-tools-panel-item {
132 flex-grow: 1;
133 border: 0;
134 }
135 .block-editor-global-styles-background-panel__inspector-media-replace-container .block-editor-global-styles-background-panel__image-tools-panel-item .components-dropdown {
136 display: block;
137 }
138 .block-editor-global-styles-background-panel__inspector-media-replace-container .block-editor-global-styles-background-panel__inspector-preview-inner {
139 height: 100%;
140 }
141 .block-editor-global-styles-background-panel__inspector-media-replace-container .components-dropdown {
142 display: block;
143 }
144 .block-editor-global-styles-background-panel__inspector-media-replace-container .components-dropdown .block-editor-global-styles-background-panel__dropdown-toggle {
145 height: 40px;
146 }
147
148 .block-editor-global-styles-background-panel__image-tools-panel-item {
149 border: 1px solid #ddd;
150 grid-column: 1/-1;
151 position: relative;
152 }
153 .block-editor-global-styles-background-panel__image-tools-panel-item .components-drop-zone__content-icon {
154 display: none;
155 }
156 .block-editor-global-styles-background-panel__image-tools-panel-item .components-dropdown {
157 display: block;
158 }
159 .block-editor-global-styles-background-panel__image-tools-panel-item button.components-button {
160 color: #1e1e1e;
161 width: 100%;
162 display: block;
163 }
164 .block-editor-global-styles-background-panel__image-tools-panel-item button.components-button:hover {
165 color: var(--wp-admin-theme-color);
166 }
167 .block-editor-global-styles-background-panel__image-tools-panel-item .block-editor-global-styles-background-panel__loading {
168 height: 100%;
169 position: absolute;
170 z-index: 1;
171 width: 100%;
172 padding: 10px 0 0 0;
173 }
174 .block-editor-global-styles-background-panel__image-tools-panel-item .block-editor-global-styles-background-panel__loading svg {
175 margin: 0;
176 }
177
178 .block-editor-global-styles-background-panel__dropdown-toggle {
179 cursor: var(--wpds-cursor-control, pointer);
180 background: transparent;
181 border: none;
182 height: 100%;
183 width: 100%;
184 padding-left: 12px;
185 padding-right: 32px;
186 }
187
188 .block-editor-global-styles-background-panel__reset {
189 position: absolute;
190 right: 0;
191 top: 8px;
192 margin: auto 8px auto;
193 opacity: 0;
194 }
195 @media not (prefers-reduced-motion) {
196 .block-editor-global-styles-background-panel__reset {
197 transition: opacity 0.1s ease-in-out;
198 }
199 }
200 .block-editor-global-styles-background-panel__reset.has-local-override-from-global-styles__reset {
201 position: absolute;
202 display: inline-flex;
203 align-items: center;
204 justify-content: center;
205 top: 50%;
206 transform: translateY(-50%);
207 margin-block: 0;
208 margin-inline: 0 8px;
209 opacity: 1;
210 }
211 .block-editor-global-styles-background-panel__reset.block-editor-global-styles-background-panel__reset {
212 border-radius: 2px;
213 }
214 .block-editor-global-styles-background-panel__dropdown-toggle:hover + .block-editor-global-styles-background-panel__reset, .block-editor-global-styles-background-panel__reset:focus, .block-editor-global-styles-background-panel__reset:focus-within, .block-editor-global-styles-background-panel__reset:hover {
215 opacity: 1;
216 }
217 @media (hover: none) {
218 .block-editor-global-styles-background-panel__reset {
219 opacity: 1;
220 }
221 }
222
223 .block-editor-global-styles-background-panel__inspector-media-replace-title {
224 word-break: break-all;
225 white-space: normal;
226 text-align: start;
227 }
228
229 .block-editor-global-styles-background-panel__inspector-image-indicator {
230 width: 20px;
231 height: 20px;
232 border-radius: 2px;
233 box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2);
234 background: #fff linear-gradient(-45deg, transparent 48%, #ddd 48%, #ddd 52%, transparent 52%);
235 background-size: cover;
236 outline: 1px solid transparent;
237 }
238
239 .block-editor-global-styles-background-panel__dropdown-content-wrapper {
240 min-width: 260px;
241 overflow-x: hidden;
242 }
243 .block-editor-global-styles-background-panel__dropdown-content-wrapper .components-focal-point-picker-wrapper {
244 background-color: #f0f0f0;
245 width: 100%;
246 border-radius: 2px;
247 border: 1px solid #ddd;
248 }
249 .block-editor-global-styles-background-panel__dropdown-content-wrapper .components-focal-point-picker__media--image {
250 max-height: 180px;
251 }
252 .block-editor-global-styles-background-panel__dropdown-content-wrapper .components-focal-point-picker::after {
253 content: none;
254 }
255
256 .modal-open .block-editor-global-styles-background-panel__popover {
257 z-index: 159890;
258 }
259
260 .block-editor-global-styles-background-panel__media-replace-popover .components-popover__content {
261 width: 226px;
262 }
263 .block-editor-global-styles-background-panel__media-replace-popover .components-button {
264 padding: 0 8px;
265 }
266 .block-editor-global-styles-background-panel__media-replace-popover .components-button .components-menu-items__item-icon.has-icon-right {
267 margin-left: 16px;
268 }
269
270 .block-editor-block-alignment-control__menu-group .components-menu-item__info {
271 margin-top: 0;
272 }
273
274 iframe[name=editor-canvas] {
275 box-sizing: border-box;
276 width: 100%;
277 height: 100%;
278 display: block;
279 }
280 @media not (prefers-reduced-motion) {
281 iframe[name=editor-canvas] {
282 transition: all 400ms cubic-bezier(0.46, 0.03, 0.52, 0.96);
283 }
284 }
285 iframe[name=editor-canvas] {
286 background-color: var(--wp-editor-canvas-background);
287 }
288
289 .block-editor-block-icon {
290 display: flex;
291 align-items: center;
292 justify-content: center;
293 width: 24px;
294 height: 24px;
295 }
296 .block-editor-block-icon.has-colors svg {
297 fill: currentColor;
298 }
299 @media (forced-colors: active) {
300 .block-editor-block-icon.has-colors svg {
301 fill: CanvasText;
302 }
303 }
304 .block-editor-block-icon svg {
305 min-width: 20px;
306 min-height: 20px;
307 max-width: 24px;
308 max-height: 24px;
309 }
310
311 .block-editor-block-inspector p:not(.components-base-control__help) {
312 margin-top: 0;
313 }
314 .block-editor-block-inspector h2,
315 .block-editor-block-inspector h3 {
316 font-size: 13px;
317 color: #1e1e1e;
318 margin-bottom: 1.5em;
319 }
320 .block-editor-block-inspector .components-base-control:where(:not(:last-child)),
321 .block-editor-block-inspector .components-radio-control:where(:not(:last-child)),
322 .block-editor-block-inspector .block-editor-html-element-control:where(:not(:last-child)),
323 .block-editor-block-inspector .block-editor-image-size-control:where(:not(:last-child)) {
324 margin-bottom: 16px;
325 }
326 .block-editor-block-inspector .components-focal-point-picker-control .components-base-control,
327 .block-editor-block-inspector .components-query-controls .components-base-control,
328 .block-editor-block-inspector .components-range-control .components-base-control,
329 .block-editor-block-inspector .block-editor-html-element-control .components-base-control,
330 .block-editor-block-inspector .block-editor-image-size-control .components-base-control {
331 margin-bottom: 0;
332 }
333 .block-editor-block-inspector .components-panel__body {
334 border: none;
335 border-top: 1px solid #e0e0e0;
336 margin-top: -1px;
337 }
338
339 .block-editor-block-inspector__no-blocks,
340 .block-editor-block-inspector__no-block-tools {
341 display: block;
342 font-size: 13px;
343 background: #fff;
344 padding: 32px 16px;
345 text-align: center;
346 }
347
348 .block-editor-block-inspector__no-block-tools {
349 border-top: 1px solid #ddd;
350 }
351
352 .block-editor-block-inspector-edit-contents {
353 margin: 0 16px 16px 16px;
354 }
355 .block-editor-block-inspector-edit-contents .block-editor-block-inspector-edit-contents__button {
356 justify-content: center;
357 }
358
359 /**
360 * Insertion Point.
361 */
362 .block-editor-block-list__insertion-point {
363 position: absolute;
364 top: 0;
365 bottom: 0;
366 left: 0;
367 right: 0;
368 }
369
370 .block-editor-block-list__insertion-point-indicator {
371 position: absolute;
372 background: var(--wp-admin-theme-color);
373 border-radius: 2px;
374 transform-origin: center;
375 opacity: 0;
376 will-change: transform, opacity;
377 }
378 .block-editor-block-list__insertion-point.is-vertical > .block-editor-block-list__insertion-point-indicator {
379 top: calc(50% - 2px);
380 height: 4px;
381 width: 100%;
382 }
383 .block-editor-block-list__insertion-point.is-horizontal > .block-editor-block-list__insertion-point-indicator {
384 top: 0;
385 bottom: 0;
386 left: calc(50% - 2px);
387 width: 4px;
388 }
389
390 .block-editor-block-list__insertion-point-inserter {
391 display: none;
392 position: absolute;
393 will-change: transform;
394 }
395 @media (min-width: 480px) {
396 .block-editor-block-list__insertion-point-inserter {
397 display: flex;
398 }
399 }
400 .block-editor-block-list__insertion-point-inserter {
401 justify-content: center;
402 top: calc(50% - 12px);
403 left: calc(50% - 12px);
404 }
405
406 .block-editor-block-list__block-side-inserter-popover .components-popover__content > div {
407 pointer-events: none;
408 }
409 .block-editor-block-list__block-side-inserter-popover .components-popover__content > div > * {
410 pointer-events: all;
411 }
412
413 .block-editor-block-list__empty-block-inserter.block-editor-block-list__empty-block-inserter {
414 position: absolute;
415 top: 0;
416 right: 0;
417 line-height: 0;
418 }
419 .block-editor-block-list__empty-block-inserter.block-editor-block-list__empty-block-inserter:disabled {
420 display: none;
421 }
422
423 .block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle.components-button.has-icon,
424 .block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle.components-button.has-icon {
425 background: #1e1e1e;
426 color: #fff;
427 padding: 0;
428 min-width: 24px;
429 height: 24px;
430 }
431 .block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle.components-button.has-icon:hover,
432 .block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle.components-button.has-icon:hover {
433 color: #fff;
434 background: var(--wp-admin-theme-color);
435 }
436 @media not (prefers-reduced-motion) {
437 .block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle.components-button.has-icon svg,
438 .block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle.components-button.has-icon svg {
439 transition: transform cubic-bezier(0.165, 0.84, 0.44, 1) 0.2s;
440 }
441 }
442 .block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle.components-button.has-icon.is-pressed svg,
443 .block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle.components-button.has-icon.is-pressed svg {
444 transform: rotate(45deg);
445 }
446
447 .block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle.components-button.has-icon {
448 background: var(--wp-admin-theme-color);
449 }
450 .block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle.components-button.has-icon:hover {
451 background: #1e1e1e;
452 }
453
454 @keyframes hide-during-dragging {
455 to {
456 position: fixed;
457 transform: translate(9999px, 9999px);
458 }
459 }
460 .components-popover.block-editor-block-list__block-popover .block-editor-block-contextual-toolbar {
461 pointer-events: all;
462 margin-top: 8px;
463 margin-bottom: 8px;
464 border: 1px solid #1e1e1e;
465 border-radius: 2px;
466 overflow: visible;
467 position: static;
468 width: auto;
469 }
470 .components-popover.block-editor-block-list__block-popover .block-editor-block-contextual-toolbar.has-parent {
471 margin-left: calc(48px + 8px);
472 }
473 .show-icon-labels .components-popover.block-editor-block-list__block-popover .block-editor-block-contextual-toolbar.has-parent {
474 margin-left: 0;
475 }
476 .components-popover.block-editor-block-list__block-popover .block-editor-block-toolbar {
477 overflow: visible;
478 }
479 .components-popover.block-editor-block-list__block-popover .block-editor-block-toolbar .components-toolbar-group,
480 .components-popover.block-editor-block-list__block-popover .block-editor-block-toolbar .components-toolbar {
481 border-right-color: #1e1e1e;
482 }
483 .components-popover.block-editor-block-list__block-popover.is-insertion-point-visible {
484 visibility: hidden;
485 }
486 .is-dragging-components-draggable .components-popover.block-editor-block-list__block-popover {
487 opacity: 0;
488 }
489 @media not (prefers-reduced-motion) {
490 .is-dragging-components-draggable .components-popover.block-editor-block-list__block-popover {
491 animation: hide-during-dragging 1ms linear forwards;
492 }
493 }
494 .components-popover.block-editor-block-list__block-popover .block-editor-block-parent-selector {
495 position: absolute;
496 left: calc(-48px - 8px - 1px);
497 }
498 .components-popover.block-editor-block-list__block-popover .block-editor-block-parent-selector::before {
499 content: "";
500 }
501 .components-popover.block-editor-block-list__block-popover .block-editor-block-parent-selector::after {
502 display: none;
503 }
504 .components-popover.block-editor-block-list__block-popover .block-editor-block-parent-selector .block-editor-block-parent-selector__button {
505 border: 1px solid #1e1e1e;
506 padding-right: 6px;
507 padding-left: 6px;
508 background-color: #fff;
509 }
510 .show-icon-labels .components-popover.block-editor-block-list__block-popover .block-editor-block-parent-selector .block-editor-block-parent-selector__button {
511 padding-right: 12px;
512 padding-left: 12px;
513 }
514 .show-icon-labels .components-popover.block-editor-block-list__block-popover .block-editor-block-parent-selector {
515 position: relative;
516 left: auto;
517 margin-left: -1px;
518 }
519 .show-icon-labels .components-popover.block-editor-block-list__block-popover .block-editor-block-mover__move-button-container,
520 .show-icon-labels .components-popover.block-editor-block-list__block-popover .block-editor-block-toolbar__block-controls .block-editor-block-mover {
521 border-left: 1px solid #1e1e1e;
522 }
523
524 .is-dragging-components-draggable .components-tooltip {
525 display: none;
526 }
527
528 .components-popover.block-editor-block-popover__inbetween .block-editor-button-pattern-inserter__button {
529 pointer-events: all;
530 position: absolute;
531 transform: translateX(-50%) translateY(-50%);
532 top: 50%;
533 left: 50%;
534 }
535
536 .block-editor-block-tools--is-dragging > .popover-slot {
537 display: none;
538 }
539
540 .block-editor-block-lock-modal {
541 z-index: 1000001;
542 }
543
544 .block-editor-block-lock-modal__options {
545 border: 0;
546 padding: 0;
547 margin: 0;
548 }
549
550 .block-editor-block-lock-modal__options legend {
551 margin-bottom: 16px;
552 padding: 0;
553 }
554
555 .block-editor-block-lock-modal__checklist {
556 list-style: none;
557 padding: 0;
558 margin: 0;
559 }
560
561 .block-editor-block-lock-modal__options-all {
562 padding: 12px 0;
563 }
564 .block-editor-block-lock-modal__options-all .components-checkbox-control__label {
565 font-weight: var(--wpds-typography-font-weight-emphasis, 600);
566 }
567
568 .block-editor-block-lock-modal__checklist-item {
569 display: flex;
570 justify-content: space-between;
571 align-items: center;
572 gap: 12px;
573 margin-bottom: 0;
574 padding: 12px 0 12px 32px;
575 }
576 .block-editor-block-lock-modal__checklist-item .block-editor-block-lock-modal__lock-icon {
577 flex-shrink: 0;
578 margin-right: 12px;
579 fill: #1e1e1e;
580 }
581 .block-editor-block-lock-modal__checklist-item:hover {
582 background-color: #f0f0f0;
583 border-radius: 2px;
584 }
585
586 .block-editor-block-lock-modal__template-lock {
587 border-top: 1px solid #ddd;
588 margin-top: 16px;
589 padding-top: 16px;
590 }
591
592 .block-editor-block-lock-modal__actions {
593 margin-top: 24px;
594 }
595
596 .block-editor-block-lock-toolbar .components-button.has-icon {
597 min-width: 36px !important;
598 }
599
600 .block-editor-block-toolbar__block-controls .block-editor-block-lock-toolbar {
601 margin-left: -6px !important;
602 }
603
604 .show-icon-labels .block-editor-block-toolbar__block-controls .block-editor-block-lock-toolbar {
605 border-left: 1px solid #1e1e1e;
606 margin-left: 6px !important;
607 margin-right: -6px;
608 }
609
610 .block-editor-block-allowed-blocks-control:not(:only-child) {
611 margin-top: 16px;
612 }
613
614 .block-editor-block-allowed-blocks-control__button {
615 width: 100%;
616 justify-content: center;
617 }
618
619 .block-editor-block-allowed-blocks-modal {
620 z-index: 1000001;
621 }
622
623 .block-editor-block-allowed-blocks-modal__actions {
624 background-color: #fff;
625 border-top: 1px solid #ddd;
626 bottom: -24px;
627 left: 0;
628 margin: 0 -24px -24px;
629 padding: 16px 24px;
630 position: sticky;
631 z-index: 1;
632 }
633
634 .block-editor-block-breadcrumb {
635 list-style: none;
636 padding: 0;
637 margin: 0;
638 }
639 .block-editor-block-breadcrumb li {
640 display: inline-flex;
641 margin: 0;
642 white-space: nowrap;
643 }
644 .block-editor-block-breadcrumb li .block-editor-block-breadcrumb__separator {
645 fill: currentColor;
646 margin-left: -4px;
647 margin-right: -4px;
648 transform: scaleX(1) /*rtl:scaleX(-1);*/;
649 }
650 .block-editor-block-breadcrumb li:last-child .block-editor-block-breadcrumb__separator {
651 display: none;
652 }
653
654 .block-editor-block-breadcrumb__current {
655 cursor: default;
656 }
657
658 .block-editor-block-breadcrumb__button.block-editor-block-breadcrumb__button,
659 .block-editor-block-breadcrumb__current {
660 color: #1e1e1e;
661 padding: 0 8px;
662 font-size: inherit;
663 }
664
665 .block-editor-block-card {
666 color: #1e1e1e;
667 padding: 16px;
668 }
669 .block-editor-block-card.is-parent {
670 padding-bottom: 4px;
671 }
672 .block-editor-block-card.is-child {
673 padding-top: 4px;
674 }
675
676 .block-editor-block-card__parent-select-button {
677 padding: 0;
678 align-items: start;
679 text-align: start;
680 height: auto !important;
681 }
682
683 .block-editor-block-card__title {
684 font-weight: var(--wpds-typography-font-weight-emphasis, 600);
685 display: flex;
686 align-items: center;
687 flex-wrap: wrap;
688 gap: 4px 8px;
689 }
690 .block-editor-block-card__title.block-editor-block-card__title {
691 font-size: 13px;
692 line-height: 1.4;
693 margin: 0;
694 }
695
696 .block-editor-block-card__name {
697 padding: 3px 0;
698 }
699
700 .block-editor-block-card .block-editor-block-icon,
701 .block-editor-block-card__child-indicator-icon {
702 flex: 0 0 24px;
703 margin-left: 0;
704 margin-right: 12px;
705 width: 24px;
706 height: 24px;
707 }
708
709 .block-editor-block-card.is-synced .block-editor-block-icon {
710 color: var(--wp-block-synced-color);
711 }
712
713 /**
714 * Invalid block comparison
715 */
716 .block-editor-block-compare {
717 height: auto;
718 }
719
720 .block-editor-block-compare__wrapper {
721 display: flex;
722 padding-bottom: 16px;
723 }
724 .block-editor-block-compare__wrapper > div {
725 display: flex;
726 justify-content: space-between;
727 flex-direction: column;
728 width: 50%;
729 padding: 0 16px 0 0;
730 min-width: 200px;
731 max-width: 600px;
732 }
733 .block-editor-block-compare__wrapper > div button {
734 float: right;
735 }
736 .block-editor-block-compare__wrapper .block-editor-block-compare__converted {
737 border-left: 1px solid #ddd;
738 padding-left: 15px;
739 padding-right: 0;
740 }
741 .block-editor-block-compare__wrapper .block-editor-block-compare__html {
742 font-family: Menlo, Consolas, monaco, monospace;
743 font-size: 12px;
744 color: #1e1e1e;
745 border-bottom: 1px solid #ddd;
746 padding-bottom: 15px;
747 line-height: 1.7;
748 }
749 .block-editor-block-compare__wrapper .block-editor-block-compare__html span {
750 background-color: #e6ffed;
751 padding-top: 3px;
752 padding-bottom: 3px;
753 }
754 .block-editor-block-compare__wrapper .block-editor-block-compare__html span.block-editor-block-compare__added {
755 background-color: #acf2bd;
756 }
757 .block-editor-block-compare__wrapper .block-editor-block-compare__html span.block-editor-block-compare__removed {
758 background-color: #cc1818;
759 }
760 .block-editor-block-compare__wrapper .block-editor-block-compare__preview {
761 padding: 0;
762 padding-top: 16px;
763 }
764 .block-editor-block-compare__wrapper .block-editor-block-compare__preview p {
765 font-size: 12px;
766 margin-top: 0;
767 }
768 .block-editor-block-compare__wrapper .block-editor-block-compare__action {
769 margin-top: 16px;
770 }
771 .block-editor-block-compare__wrapper .block-editor-block-compare__heading {
772 font-size: 1em;
773 font-weight: 400;
774 margin: 0.67em 0;
775 }
776
777 .block-editor-block-draggable-chip-wrapper {
778 position: absolute;
779 top: -24px;
780 left: 0;
781 }
782
783 .block-editor-block-draggable-chip {
784 background-color: #1e1e1e;
785 border-radius: 2px;
786 box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05), 0 2px 3px rgba(0, 0, 0, 0.04), 0 6px 6px rgba(0, 0, 0, 0.03), 0 8px 8px rgba(0, 0, 0, 0.02);
787 color: #fff;
788 cursor: grabbing;
789 display: inline-flex;
790 height: 48px;
791 padding: 0 13px;
792 position: relative;
793 -webkit-user-select: none;
794 -moz-user-select: none;
795 user-select: none;
796 width: -moz-max-content;
797 width: max-content;
798 }
799 .block-editor-block-draggable-chip svg {
800 fill: currentColor;
801 }
802 .block-editor-block-draggable-chip .block-editor-block-draggable-chip__content {
803 margin: auto;
804 justify-content: flex-start;
805 }
806 .block-editor-block-draggable-chip .block-editor-block-draggable-chip__content > .components-flex__item {
807 margin-right: 6px;
808 }
809 .block-editor-block-draggable-chip .block-editor-block-draggable-chip__content > .components-flex__item:last-child {
810 margin-right: 0;
811 }
812 .block-editor-block-draggable-chip .block-editor-block-draggable-chip__content .block-editor-block-icon svg {
813 min-width: 18px;
814 min-height: 18px;
815 }
816 .block-editor-block-draggable-chip .components-flex__item {
817 font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
818 font-size: 13px;
819 }
820
821 .block-editor-block-draggable-chip__disabled.block-editor-block-draggable-chip__disabled {
822 opacity: 0;
823 position: absolute;
824 top: 0;
825 right: 0;
826 left: 0;
827 bottom: 0;
828 display: flex;
829 justify-content: center;
830 align-items: center;
831 background-color: transparent;
832 }
833 @media not (prefers-reduced-motion) {
834 .block-editor-block-draggable-chip__disabled.block-editor-block-draggable-chip__disabled {
835 transition: all 0.1s linear 0.1s;
836 }
837 }
838 .block-editor-block-draggable-chip__disabled.block-editor-block-draggable-chip__disabled .block-editor-block-draggable-chip__disabled-icon {
839 width: 20px;
840 height: 20px;
841 box-shadow: inset 0 0 0 1.5px #fff;
842 border-radius: 50%;
843 display: inline-block;
844 padding: 0;
845 background: transparent linear-gradient(-45deg, transparent 47.5%, #fff 47.5%, #fff 52.5%, transparent 52.5%);
846 }
847
848 .block-draggable-invalid-drag-token .block-editor-block-draggable-chip__disabled.block-editor-block-draggable-chip__disabled {
849 background-color: #757575;
850 opacity: 1;
851 box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05), 0 2px 3px rgba(0, 0, 0, 0.04), 0 6px 6px rgba(0, 0, 0, 0.03), 0 8px 8px rgba(0, 0, 0, 0.02);
852 }
853
854 .block-editor-block-manager__no-results {
855 font-style: italic;
856 padding: 24px 0;
857 text-align: center;
858 }
859
860 .block-editor-block-manager__category {
861 isolation: isolate;
862 margin: 0 0 24px 0;
863 }
864
865 .block-editor-block-manager__category-title {
866 position: sticky;
867 top: -4px;
868 padding: 16px 0;
869 background-color: #fff;
870 z-index: 1;
871 }
872 .block-editor-block-manager__category-title .components-checkbox-control__label {
873 font-weight: var(--wpds-typography-font-weight-emphasis, 600);
874 }
875
876 .block-editor-block-manager__checklist {
877 margin-top: 0;
878 }
879
880 .block-editor-block-manager__category-title,
881 .block-editor-block-manager__checklist-item {
882 border-bottom: 1px solid #ddd;
883 }
884
885 .block-editor-block-manager__checklist-item {
886 display: flex;
887 justify-content: space-between;
888 align-items: center;
889 margin-bottom: 0;
890 padding: 8px 0 8px 16px;
891 }
892 .components-modal__content .block-editor-block-manager__checklist-item.components-checkbox-control__input-container {
893 margin: 0 8px;
894 }
895 .block-editor-block-manager__checklist-item .block-editor-block-icon {
896 margin-right: 10px;
897 fill: #1e1e1e;
898 }
899
900 .block-editor-block-manager__results {
901 border-top: 1px solid #ddd;
902 }
903
904 .block-editor-block-manager__disabled-blocks-count + .block-editor-block-manager__results {
905 border-top-width: 0;
906 }
907
908 .block-editor-block-mover__move-button-container {
909 display: flex;
910 padding: 0;
911 border: none;
912 justify-content: center;
913 }
914 @media (min-width: 600px) {
915 .block-editor-block-mover:not(.is-horizontal) .block-editor-block-mover__move-button-container {
916 flex-direction: column;
917 }
918 .block-editor-block-mover:not(.is-horizontal) .block-editor-block-mover__move-button-container > * {
919 height: 20px;
920 width: 100%;
921 min-width: 0 !important;
922 }
923 .block-editor-block-mover:not(.is-horizontal) .block-editor-block-mover__move-button-container > *::before {
924 height: calc(100% - 4px);
925 }
926 .block-editor-block-mover:not(.is-horizontal) .block-editor-block-mover__move-button-container .block-editor-block-mover-button.is-up-button svg {
927 top: 3px;
928 flex-shrink: 0;
929 }
930 .block-editor-block-mover:not(.is-horizontal) .block-editor-block-mover__move-button-container .block-editor-block-mover-button.is-down-button svg {
931 bottom: 3px;
932 flex-shrink: 0;
933 }
934 .block-editor-block-mover.is-horizontal .block-editor-block-mover__move-button-container {
935 width: 48px;
936 }
937 .block-editor-block-mover.is-horizontal .block-editor-block-mover__move-button-container > * {
938 width: 24px;
939 min-width: 0 !important;
940 overflow: hidden;
941 }
942 .block-editor-block-mover.is-horizontal .block-editor-block-mover__move-button-container .block-editor-block-mover-button {
943 padding-left: 0;
944 padding-right: 0;
945 }
946 .block-editor-block-mover.is-horizontal .block-editor-block-mover__move-button-container .block-editor-block-mover-button.is-up-button svg {
947 left: 5px;
948 }
949 .block-editor-block-mover.is-horizontal .block-editor-block-mover__move-button-container .block-editor-block-mover-button.is-down-button svg {
950 right: 5px;
951 }
952 }
953
954 .block-editor-block-mover__drag-handle {
955 cursor: grab;
956 }
957 @media (min-width: 600px) {
958 .block-editor-block-mover__drag-handle {
959 width: 24px;
960 min-width: 0 !important;
961 overflow: hidden;
962 }
963 .block-editor-block-mover .block-editor-block-mover__drag-handle.has-icon.has-icon {
964 padding-left: 0;
965 padding-right: 0;
966 }
967 }
968
969 .components-button.block-editor-block-mover-button {
970 overflow: hidden;
971 }
972 .components-button.block-editor-block-mover-button::before {
973 content: "";
974 position: absolute;
975 display: block;
976 border-radius: 2px;
977 height: 32px;
978 left: 8px;
979 right: 8px;
980 z-index: -1;
981 }
982 @media not (prefers-reduced-motion) {
983 .components-button.block-editor-block-mover-button::before {
984 animation: components-button__appear-animation 0.1s ease;
985 animation-fill-mode: forwards;
986 }
987 }
988 .components-button.block-editor-block-mover-button:focus, .components-button.block-editor-block-mover-button:focus:enabled, .components-button.block-editor-block-mover-button:focus::before {
989 box-shadow: none;
990 outline: none;
991 }
992 .components-button.block-editor-block-mover-button:focus-visible::before {
993 box-shadow: inset 0 0 0 1px #fff, 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
994 outline: 2px solid transparent;
995 }
996
997 .block-editor-block-navigation__container {
998 min-width: 280px;
999 }
1000
1001 .block-editor-block-navigation__label {
1002 margin: 0 0 12px;
1003 color: #757575;
1004 text-transform: uppercase;
1005 font-size: 11px;
1006 font-weight: var(--wpds-typography-font-weight-emphasis, 600);
1007 }
1008
1009 .block-editor-block-patterns-list__list-item {
1010 cursor: var(--wpds-cursor-control, pointer);
1011 margin-bottom: 16px;
1012 position: relative;
1013 }
1014 .block-editor-block-patterns-list__list-item.is-placeholder {
1015 min-height: 100px;
1016 }
1017 .block-editor-block-patterns-list__list-item[draggable=true] {
1018 cursor: grab;
1019 }
1020
1021 .block-editor-block-patterns-list__item {
1022 height: 100%;
1023 scroll-margin-top: 24px;
1024 scroll-margin-bottom: 56px;
1025 outline: 0;
1026 }
1027 .block-editor-block-patterns-list__item .block-editor-block-patterns-list__item-title {
1028 flex-grow: 1;
1029 text-align: left;
1030 }
1031 .block-editor-block-patterns-list__item .block-editor-block-preview__container {
1032 display: flex;
1033 align-items: center;
1034 overflow: hidden;
1035 border-radius: 4px;
1036 }
1037 .block-editor-block-patterns-list__item .block-editor-block-preview__container::after {
1038 outline: 1px solid rgba(0, 0, 0, 0.1);
1039 outline-offset: -1px;
1040 border-radius: 4px;
1041 }
1042 @media not (prefers-reduced-motion) {
1043 .block-editor-block-patterns-list__item .block-editor-block-preview__container::after {
1044 transition: outline 0.1s linear;
1045 }
1046 }
1047 .block-editor-block-patterns-list__item.is-selected .block-editor-block-preview__container::after {
1048 outline-color: #1e1e1e;
1049 outline-width: var(--wp-admin-border-width-focus);
1050 outline-offset: calc(-1 * var(--wp-admin-border-width-focus));
1051 }
1052 .block-editor-block-patterns-list__item:hover .block-editor-block-preview__container::after {
1053 outline-color: rgba(0, 0, 0, 0.3);
1054 }
1055 .block-editor-block-patterns-list__item[data-focus-visible] .block-editor-block-preview__container::after {
1056 outline-color: var(--wp-admin-theme-color);
1057 outline-width: var(--wp-admin-border-width-focus);
1058 outline-offset: calc(-1 * var(--wp-admin-border-width-focus));
1059 }
1060 .block-editor-block-patterns-list__item .block-editor-patterns__pattern-details:not(:empty) {
1061 align-items: center;
1062 margin-top: 8px;
1063 padding-bottom: 4px;
1064 }
1065 .block-editor-block-patterns-list__item .block-editor-patterns__pattern-icon-wrapper {
1066 min-width: 24px;
1067 height: 24px;
1068 }
1069 .block-editor-block-patterns-list__item .block-editor-patterns__pattern-icon-wrapper .block-editor-patterns__pattern-icon {
1070 fill: var(--wp-block-synced-color);
1071 }
1072
1073 .block-editor-patterns__grid-pagination-wrapper .block-editor-patterns__grid-pagination {
1074 border-top: 1px solid #2f2f2f;
1075 padding: 4px;
1076 justify-content: center;
1077 }
1078
1079 .show-icon-labels .block-editor-patterns__grid-pagination-button {
1080 width: auto;
1081 }
1082 .show-icon-labels .block-editor-patterns__grid-pagination-button span {
1083 display: none;
1084 }
1085 .show-icon-labels .block-editor-patterns__grid-pagination-button::before {
1086 content: attr(aria-label);
1087 }
1088
1089 .components-popover.block-editor-block-popover {
1090 z-index: 31;
1091 position: absolute;
1092 margin: 0 !important;
1093 pointer-events: none;
1094 }
1095 .components-popover.block-editor-block-popover .components-popover__content {
1096 margin: 0 !important;
1097 min-width: auto;
1098 width: -moz-max-content;
1099 width: max-content;
1100 overflow-y: visible;
1101 }
1102 .components-popover.block-editor-block-popover:not(.block-editor-block-popover__inbetween, .block-editor-block-popover__drop-zone, .block-editor-block-list__block-side-inserter-popover) .components-popover__content * {
1103 pointer-events: all;
1104 }
1105
1106 .components-popover.block-editor-block-popover__inbetween {
1107 pointer-events: none;
1108 }
1109 .components-popover.block-editor-block-popover__inbetween * {
1110 pointer-events: none;
1111 }
1112 .components-popover.block-editor-block-popover__inbetween .is-with-inserter {
1113 pointer-events: all;
1114 }
1115 .components-popover.block-editor-block-popover__inbetween .is-with-inserter * {
1116 pointer-events: all;
1117 }
1118
1119 .components-popover.block-editor-block-popover__drop-zone * {
1120 pointer-events: none;
1121 }
1122 .components-popover.block-editor-block-popover__drop-zone .block-editor-block-popover__drop-zone-foreground {
1123 position: absolute;
1124 inset: 0;
1125 background-color: var(--wp-admin-theme-color);
1126 border-radius: 2px;
1127 }
1128
1129 .block-editor-block-preview__container {
1130 position: relative;
1131 width: 100%;
1132 overflow: hidden;
1133 }
1134 .block-editor-block-preview__container .block-editor-block-preview__content {
1135 width: 100%;
1136 top: 0;
1137 left: 0;
1138 transform-origin: top left;
1139 text-align: initial;
1140 margin: 0;
1141 overflow: visible;
1142 min-height: auto;
1143 }
1144 .block-editor-block-preview__container .block-editor-block-preview__content .block-editor-block-list__insertion-point,
1145 .block-editor-block-preview__container .block-editor-block-preview__content .block-list-appender {
1146 display: none;
1147 }
1148
1149 .block-editor-block-preview__container::after {
1150 content: "";
1151 position: absolute;
1152 top: 0;
1153 left: 0;
1154 right: 0;
1155 bottom: 0;
1156 z-index: 1;
1157 }
1158
1159 .block-editor-block-quick-navigation__item {
1160 font-weight: var(--wpds-typography-font-weight-default, 400);
1161 }
1162
1163 .block-editor-block-rename-modal {
1164 z-index: 1000001;
1165 }
1166
1167 .block-editor-block-styles__preview-panel {
1168 display: none;
1169 z-index: 90;
1170 }
1171 @media (min-width: 782px) {
1172 .block-editor-block-styles__preview-panel {
1173 display: block;
1174 }
1175 }
1176 .block-editor-block-styles__preview-panel .block-editor-block-icon {
1177 display: none;
1178 }
1179
1180 .block-editor-block-styles {
1181 grid-column: 1/-1;
1182 }
1183
1184 .block-editor-block-styles__variants {
1185 display: flex;
1186 flex-wrap: wrap;
1187 justify-content: space-between;
1188 gap: 8px;
1189 }
1190 .block-editor-block-styles__variants button.components-button.block-editor-block-styles__item {
1191 color: #1e1e1e;
1192 border-color: #ddd;
1193 display: inline-block;
1194 width: calc(50% - 4px);
1195 }
1196 .block-editor-block-styles__variants button.components-button.block-editor-block-styles__item:hover {
1197 color: var(--wp-admin-theme-color);
1198 box-shadow: inset 0 0 0 1px #ddd;
1199 }
1200 .block-editor-block-styles__variants button.components-button.block-editor-block-styles__item.is-active, .block-editor-block-styles__variants button.components-button.block-editor-block-styles__item.is-active:hover {
1201 background-color: #1e1e1e;
1202 box-shadow: none;
1203 }
1204 .block-editor-block-styles__variants button.components-button.block-editor-block-styles__item.is-active .block-editor-block-styles__item-text, .block-editor-block-styles__variants button.components-button.block-editor-block-styles__item.is-active:hover .block-editor-block-styles__item-text {
1205 color: #fff;
1206 }
1207 .block-editor-block-styles__variants button.components-button.block-editor-block-styles__item:focus, .block-editor-block-styles__variants button.components-button.block-editor-block-styles__item.is-active:focus {
1208 --focus-color: var(--wpds-color-stroke-focus, var(--wp-admin-theme-color, #3858e9));
1209 outline: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)) solid var(--focus-color);
1210 outline-offset: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px));
1211 }
1212 .block-editor-block-styles__variants .block-editor-block-styles__item-text {
1213 word-break: break-all;
1214 white-space: normal;
1215 text-align: start;
1216 -moz-text-align-last: center;
1217 text-align-last: center;
1218 }
1219
1220 .components-popover.block-editor-block-switcher__popover .components-popover__content {
1221 min-width: 300px;
1222 }
1223
1224 .block-editor-block-switcher__popover-preview-container {
1225 left: 0;
1226 position: absolute;
1227 top: -1px;
1228 width: 100%;
1229 bottom: 0;
1230 pointer-events: none;
1231 }
1232
1233 .block-editor-block-switcher__popover-preview {
1234 overflow: hidden;
1235 }
1236 .block-editor-block-switcher__popover-preview .components-popover__content {
1237 width: 300px;
1238 border: 1px solid #1e1e1e;
1239 background: #fff;
1240 border-radius: 4px;
1241 outline: none;
1242 box-shadow: none;
1243 overflow: auto;
1244 }
1245 .block-editor-block-switcher__popover-preview .block-editor-block-switcher__preview {
1246 max-height: calc(500px - 32px);
1247 margin: 16px 0;
1248 padding: 0 16px;
1249 overflow: hidden;
1250 }
1251 .block-editor-block-switcher__popover-preview .block-editor-block-switcher__preview.is-pattern-list-preview {
1252 overflow: unset;
1253 }
1254
1255 .block-editor-block-switcher__preview-patterns-container {
1256 padding-bottom: 16px;
1257 }
1258 .block-editor-block-switcher__preview-patterns-container .block-editor-block-switcher__preview-patterns-container-list__list-item {
1259 margin-top: 16px;
1260 }
1261 .block-editor-block-switcher__preview-patterns-container .block-editor-block-switcher__preview-patterns-container-list__list-item .block-editor-block-preview__container {
1262 cursor: var(--wpds-cursor-control, pointer);
1263 }
1264 .block-editor-block-switcher__preview-patterns-container .block-editor-block-switcher__preview-patterns-container-list__list-item .block-editor-block-switcher__preview-patterns-container-list__item {
1265 height: 100%;
1266 border-radius: 2px;
1267 }
1268 @media not (prefers-reduced-motion) {
1269 .block-editor-block-switcher__preview-patterns-container .block-editor-block-switcher__preview-patterns-container-list__list-item .block-editor-block-switcher__preview-patterns-container-list__item {
1270 transition: all 0.05s ease-in-out;
1271 }
1272 }
1273 .block-editor-block-switcher__preview-patterns-container .block-editor-block-switcher__preview-patterns-container-list__list-item .block-editor-block-switcher__preview-patterns-container-list__item {
1274 position: relative;
1275 border: 1px solid transparent;
1276 }
1277 .block-editor-block-switcher__preview-patterns-container .block-editor-block-switcher__preview-patterns-container-list__list-item .block-editor-block-switcher__preview-patterns-container-list__item:hover, .block-editor-block-switcher__preview-patterns-container .block-editor-block-switcher__preview-patterns-container-list__list-item .block-editor-block-switcher__preview-patterns-container-list__item:focus {
1278 box-shadow: inset 0 0 0 1px #fff, 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
1279 outline: 2px solid transparent;
1280 }
1281 .block-editor-block-switcher__preview-patterns-container .block-editor-block-switcher__preview-patterns-container-list__list-item .block-editor-block-switcher__preview-patterns-container-list__item:hover {
1282 box-shadow: inset 0 0 0 1px #fff, 0 0 0 var(--wp-admin-border-width-focus) #1e1e1e;
1283 }
1284 .block-editor-block-switcher__preview-patterns-container .block-editor-block-switcher__preview-patterns-container-list__list-item .block-editor-block-switcher__preview-patterns-container-list__item .block-editor-block-switcher__preview-patterns-container-list__item-title {
1285 padding: 4px;
1286 font-size: 12px;
1287 text-align: center;
1288 cursor: var(--wpds-cursor-control, pointer);
1289 }
1290
1291 .block-editor-block-switcher__no-transforms {
1292 color: #757575;
1293 padding: 6px 8px;
1294 margin: 0;
1295 }
1296
1297 .block-editor-block-switcher__binding-indicator {
1298 display: block;
1299 padding: 8px;
1300 }
1301
1302 .block-editor-block-types-list > [role=presentation] {
1303 display: flex;
1304 flex-wrap: wrap;
1305 }
1306
1307 .block-editor-block-pattern-setup {
1308 display: flex;
1309 flex-direction: column;
1310 justify-content: center;
1311 align-items: flex-start;
1312 width: 100%;
1313 border-radius: 2px;
1314 }
1315 .block-editor-block-pattern-setup.view-mode-grid {
1316 padding-top: 4px;
1317 }
1318 .block-editor-block-pattern-setup.view-mode-grid .block-editor-block-pattern-setup__toolbar {
1319 justify-content: center;
1320 }
1321 .block-editor-block-pattern-setup.view-mode-grid .block-editor-block-pattern-setup__container {
1322 -moz-column-gap: 24px;
1323 column-gap: 24px;
1324 display: block;
1325 width: 100%;
1326 padding: 32px;
1327 padding-bottom: 0;
1328 padding-top: 0;
1329 -moz-column-count: 2;
1330 column-count: 2;
1331 }
1332 @media (min-width: 1440px) {
1333 .block-editor-block-pattern-setup.view-mode-grid .block-editor-block-pattern-setup__container {
1334 -moz-column-count: 3;
1335 column-count: 3;
1336 }
1337 }
1338 .block-editor-block-pattern-setup.view-mode-grid .block-editor-block-pattern-setup__container .block-editor-block-preview__container,
1339 .block-editor-block-pattern-setup.view-mode-grid .block-editor-block-pattern-setup__container div[role=button] {
1340 cursor: var(--wpds-cursor-control, pointer);
1341 }
1342 .block-editor-block-pattern-setup.view-mode-grid .block-editor-block-pattern-setup__container .block-editor-block-pattern-setup-list__item {
1343 scroll-margin: 5px 0;
1344 }
1345 .block-editor-block-pattern-setup.view-mode-grid .block-editor-block-pattern-setup__container .block-editor-block-pattern-setup-list__item:hover .block-editor-block-preview__container {
1346 box-shadow: 0 0 0 2px var(--wp-admin-theme-color);
1347 }
1348 .block-editor-block-pattern-setup.view-mode-grid .block-editor-block-pattern-setup__container .block-editor-block-pattern-setup-list__item:focus .block-editor-block-preview__container {
1349 box-shadow: 0 0 0 var(--wp-admin-border-width-focus) #fff, 0 0 0 calc(2 * var(--wp-admin-border-width-focus)) var(--wp-admin-theme-color);
1350 outline: 2px solid transparent;
1351 outline-offset: 2px;
1352 }
1353 .block-editor-block-pattern-setup.view-mode-grid .block-editor-block-pattern-setup__container .block-editor-block-pattern-setup-list__item:hover .block-editor-block-pattern-setup-list__item-title, .block-editor-block-pattern-setup.view-mode-grid .block-editor-block-pattern-setup__container .block-editor-block-pattern-setup-list__item:focus .block-editor-block-pattern-setup-list__item-title {
1354 color: var(--wp-admin-theme-color);
1355 }
1356 .block-editor-block-pattern-setup.view-mode-grid .block-editor-block-pattern-setup__container .block-editor-block-pattern-setup-list__list-item {
1357 -moz-column-break-inside: avoid;
1358 break-inside: avoid-column;
1359 margin-bottom: 24px;
1360 }
1361 .block-editor-block-pattern-setup.view-mode-grid .block-editor-block-pattern-setup__container .block-editor-block-pattern-setup-list__list-item .block-editor-block-pattern-setup-list__item-title {
1362 padding-top: 8px;
1363 font-size: 12px;
1364 text-align: center;
1365 cursor: var(--wpds-cursor-control, pointer);
1366 }
1367 .block-editor-block-pattern-setup.view-mode-grid .block-editor-block-pattern-setup__container .block-editor-block-pattern-setup-list__list-item .block-editor-block-preview__container {
1368 min-height: 100px;
1369 border-radius: 4px;
1370 border: 1px solid #ddd;
1371 }
1372 .block-editor-block-pattern-setup.view-mode-grid .block-editor-block-pattern-setup__container .block-editor-block-pattern-setup-list__list-item .block-editor-block-preview__content {
1373 width: 100%;
1374 }
1375 .block-editor-block-pattern-setup .block-editor-block-pattern-setup__toolbar {
1376 height: 64px;
1377 box-sizing: border-box;
1378 padding: 16px;
1379 width: 100%;
1380 text-align: left;
1381 margin: 0;
1382 color: #1e1e1e;
1383 position: absolute;
1384 bottom: 0;
1385 background-color: #fff;
1386 display: flex;
1387 flex-direction: row;
1388 align-items: center;
1389 justify-content: space-between;
1390 border-top: 1px solid #ddd;
1391 align-self: stretch;
1392 }
1393 .block-editor-block-pattern-setup .block-editor-block-pattern-setup__toolbar .block-editor-block-pattern-setup__display-controls {
1394 display: flex;
1395 }
1396 .block-editor-block-pattern-setup .block-editor-block-pattern-setup__toolbar .block-editor-block-pattern-setup__navigation,
1397 .block-editor-block-pattern-setup .block-editor-block-pattern-setup__toolbar .block-editor-block-pattern-setup__actions {
1398 width: calc(50% - 36px);
1399 display: flex;
1400 }
1401 .block-editor-block-pattern-setup .block-editor-block-pattern-setup__toolbar .block-editor-block-pattern-setup__actions {
1402 justify-content: flex-end;
1403 }
1404 .block-editor-block-pattern-setup .block-editor-block-pattern-setup__container {
1405 display: flex;
1406 flex-direction: column;
1407 width: 100%;
1408 height: 100%;
1409 box-sizing: border-box;
1410 }
1411 .block-editor-block-pattern-setup .block-editor-block-pattern-setup__container .carousel-container {
1412 overflow: hidden;
1413 position: relative;
1414 padding: 0;
1415 margin: 0;
1416 height: 100%;
1417 list-style: none;
1418 transform-style: preserve-3d;
1419 }
1420 .block-editor-block-pattern-setup .block-editor-block-pattern-setup__container .carousel-container * {
1421 box-sizing: border-box;
1422 }
1423 .block-editor-block-pattern-setup .block-editor-block-pattern-setup__container .carousel-container .pattern-slide {
1424 position: absolute;
1425 top: 0;
1426 width: 100%;
1427 height: 100%;
1428 background-color: #fff;
1429 margin: auto;
1430 padding: 0;
1431 }
1432 @media not (prefers-reduced-motion) {
1433 .block-editor-block-pattern-setup .block-editor-block-pattern-setup__container .carousel-container .pattern-slide {
1434 transition: transform 0.5s, z-index 0.5s;
1435 }
1436 }
1437 .block-editor-block-pattern-setup .block-editor-block-pattern-setup__container .carousel-container .pattern-slide {
1438 z-index: 100;
1439 }
1440 .block-editor-block-pattern-setup .block-editor-block-pattern-setup__container .carousel-container .pattern-slide.active-slide {
1441 opacity: 1;
1442 position: relative;
1443 z-index: 102;
1444 }
1445 .block-editor-block-pattern-setup .block-editor-block-pattern-setup__container .carousel-container .pattern-slide.previous-slide {
1446 transform: translateX(-100%);
1447 z-index: 101;
1448 }
1449 .block-editor-block-pattern-setup .block-editor-block-pattern-setup__container .carousel-container .pattern-slide.next-slide {
1450 transform: translateX(100%);
1451 z-index: 101;
1452 }
1453 .block-editor-block-pattern-setup .block-editor-block-pattern-setup__container .block-list-appender {
1454 display: none;
1455 }
1456
1457 .block-editor-block-pattern-setup__carousel,
1458 .block-editor-block-pattern-setup__grid {
1459 width: 100%;
1460 }
1461
1462 .block-editor-block-variation-transforms {
1463 box-sizing: border-box;
1464 padding: 0 16px 16px;
1465 }
1466 .block-editor-block-variation-transforms:where(fieldset) {
1467 border: 0;
1468 margin: 0;
1469 min-inline-size: 0;
1470 }
1471
1472 .block-editor-block-variation-transforms__button {
1473 width: 100%;
1474 justify-content: center;
1475 }
1476
1477 .components-border-radius-control__header {
1478 height: 16px;
1479 margin-bottom: 12px;
1480 }
1481
1482 .components-border-radius-control {
1483 border: 0;
1484 padding: 0;
1485 margin: 0;
1486 margin-bottom: 12px;
1487 }
1488 .components-border-radius-control legend {
1489 margin-bottom: 0;
1490 }
1491 .components-border-radius-control .components-border-radius-control__linked-button {
1492 display: flex;
1493 justify-content: center;
1494 }
1495 .components-border-radius-control .components-border-radius-control__linked-button svg {
1496 margin-right: 0;
1497 }
1498
1499 .block-editor-color-gradient-control .block-editor-color-gradient-control__color-indicator {
1500 margin-bottom: 12px;
1501 }
1502
1503 .block-editor-color-gradient-control__fieldset {
1504 border: 0;
1505 padding: 0;
1506 margin: 0;
1507 min-width: 0;
1508 }
1509
1510 .block-editor-panel-color-gradient-settings.block-editor-panel-color-gradient-settings, .block-editor-panel-color-gradient-settings.block-editor-panel-color-gradient-settings > div:not(:first-of-type) {
1511 display: block;
1512 }
1513
1514 @media screen and (min-width: 782px) {
1515 .block-editor-panel-color-gradient-settings .components-circular-option-picker__swatches {
1516 display: grid;
1517 grid-template-columns: repeat(6, 28px);
1518 }
1519 }
1520 .block-editor-block-inspector .block-editor-panel-color-gradient-settings .components-base-control {
1521 margin-bottom: inherit;
1522 }
1523
1524 .block-editor-panel-color-gradient-settings__dropdown-content {
1525 min-height: 160px;
1526 }
1527 .block-editor-panel-color-gradient-settings__dropdown-content .block-editor-color-gradient-control__panel {
1528 width: 260px;
1529 padding: 16px;
1530 }
1531
1532 .block-editor-panel-color-gradient-settings__color-indicator {
1533 background: linear-gradient(-45deg, transparent 48%, #ddd 48%, #ddd 52%, transparent 52%);
1534 }
1535
1536 .block-editor-panel-color-gradient-settings__contrast-notice {
1537 margin-top: 16px;
1538 }
1539
1540 /**
1541 * The following styles replicate the separated border of the
1542 * `ItemGroup` component but allows for hidden items. This is because
1543 * to maintain the order of `ToolsPanel` controls, each `ToolsPanelItem`
1544 * must at least render a placeholder which would otherwise interfere
1545 * with the `:last-child` styles.
1546 *
1547 * Applied via the shared `block-editor-color-gradient-item` class on
1548 * color/gradient dropdown items across the Color, Background, and
1549 * Typography panels.
1550 */
1551 .block-editor-color-gradient-item {
1552 padding: 0;
1553 max-width: 100%;
1554 position: relative;
1555 border-left: 1px solid #ddd;
1556 border-right: 1px solid #ddd;
1557 border-bottom: 1px solid #ddd;
1558 }
1559 .block-editor-color-gradient-item:nth-child(1 of .block-editor-color-gradient-item) {
1560 border-top-left-radius: 2px;
1561 border-top-right-radius: 2px;
1562 border-top: 1px solid #ddd;
1563 }
1564 .block-editor-color-gradient-item:nth-last-child(1 of .block-editor-color-gradient-item) {
1565 border-bottom-left-radius: 2px;
1566 border-bottom-right-radius: 2px;
1567 }
1568 .block-editor-color-gradient-item > div,
1569 .block-editor-color-gradient-item > div > button {
1570 border-radius: inherit;
1571 }
1572
1573 .block-editor-tools-panel-color-gradient-settings__dropdown {
1574 display: block;
1575 padding: 0;
1576 }
1577 .block-editor-tools-panel-color-gradient-settings__dropdown > button {
1578 height: auto;
1579 padding-top: 10px;
1580 padding-bottom: 10px;
1581 text-align: left;
1582 }
1583 .block-editor-tools-panel-color-gradient-settings__dropdown > button.is-open {
1584 background: #f0f0f0;
1585 color: var(--wp-admin-theme-color);
1586 }
1587 .block-editor-tools-panel-color-gradient-settings__dropdown .block-editor-panel-color-gradient-settings__color-name {
1588 white-space: nowrap;
1589 overflow: hidden;
1590 text-overflow: ellipsis;
1591 max-width: calc(100% - 44px);
1592 }
1593 .block-editor-tools-panel-color-gradient-settings__dropdown > button.has-contrast-warning .block-editor-panel-color-gradient-settings__color-name {
1594 max-width: calc(100% - 72px);
1595 }
1596
1597 .block-editor-panel-color-gradient-settings__dropdown {
1598 width: 100%;
1599 }
1600 .block-editor-panel-color-gradient-settings__dropdown .component-color-indicator {
1601 flex-shrink: 0;
1602 }
1603
1604 .block-editor-panel-color-gradient-settings__reset {
1605 position: absolute;
1606 right: 0;
1607 top: 8px;
1608 margin: auto 8px auto;
1609 opacity: 0;
1610 }
1611 @media not (prefers-reduced-motion) {
1612 .block-editor-panel-color-gradient-settings__reset {
1613 transition: opacity 0.1s ease-in-out;
1614 }
1615 }
1616 .block-editor-panel-color-gradient-settings__reset.block-editor-panel-color-gradient-settings__reset {
1617 border-radius: 2px;
1618 }
1619 .block-editor-panel-color-gradient-settings__dropdown:hover + .block-editor-panel-color-gradient-settings__reset, .block-editor-panel-color-gradient-settings__reset:focus, .block-editor-panel-color-gradient-settings__reset:hover {
1620 opacity: 1;
1621 }
1622 @media (hover: none) {
1623 .block-editor-panel-color-gradient-settings__reset {
1624 opacity: 1;
1625 }
1626 }
1627 .block-editor-panel-color-gradient-settings__dropdown.has-contrast-warning + .block-editor-panel-color-gradient-settings__reset {
1628 right: 28px;
1629 }
1630
1631 .block-editor-panel-color-gradient-settings__contrast-warning {
1632 position: absolute;
1633 right: 0;
1634 top: 8px;
1635 margin: auto 8px auto;
1636 }
1637 .block-editor-panel-color-gradient-settings__contrast-warning.block-editor-panel-color-gradient-settings__contrast-warning {
1638 border-radius: 2px;
1639 }
1640
1641 .block-editor-date-format-picker {
1642 margin: 0 0 16px;
1643 padding: 0;
1644 border: none;
1645 }
1646
1647 .block-editor-date-format-picker__custom-format-select-control__custom-option {
1648 border-top: 1px solid #ddd;
1649 }
1650
1651 .block-editor-dimension-control {
1652 border: 0;
1653 margin: 0;
1654 padding: 0;
1655 }
1656
1657 .block-editor-duotone-control__popover.components-popover > .components-popover__content {
1658 padding: 8px;
1659 width: 260px;
1660 }
1661 .block-editor-duotone-control__popover.components-popover .components-menu-group__label {
1662 padding: 0;
1663 }
1664 .block-editor-duotone-control__popover.components-popover .components-circular-option-picker__swatches {
1665 display: grid;
1666 grid-template-columns: repeat(6, 28px);
1667 gap: 12px;
1668 justify-content: space-between;
1669 }
1670
1671 .block-editor-duotone-control__unset-indicator {
1672 background: linear-gradient(-45deg, transparent 48%, #ddd 48%, #ddd 52%, transparent 52%);
1673 }
1674
1675 .block-editor-fit-text-size-warning {
1676 grid-column: span 2;
1677 }
1678
1679 .components-font-appearance-control [role=option] {
1680 color: #1e1e1e;
1681 text-transform: capitalize;
1682 }
1683
1684 .block-editor-global-styles__toggle-icon {
1685 fill: currentColor;
1686 }
1687
1688 .block-editor-global-styles__shadow-popover-container {
1689 width: 230px;
1690 }
1691
1692 .block-editor-global-styles__shadow__list {
1693 display: flex;
1694 gap: 12px;
1695 flex-wrap: wrap;
1696 padding-bottom: 8px;
1697 }
1698
1699 .block-editor-global-styles__clear-shadow {
1700 text-align: right;
1701 }
1702
1703 .block-editor-global-styles-state-control {
1704 margin-top: -4px;
1705 }
1706
1707 .block-editor-global-styles-state-control__badges {
1708 min-height: 24px;
1709 }
1710
1711 .block-editor-global-styles-state-control__badge-tooltip-trigger {
1712 display: inline-flex;
1713 max-width: 100%;
1714 }
1715
1716 .block-editor-global-styles-filters-panel__dropdown,
1717 .block-editor-global-styles__shadow-dropdown {
1718 display: block;
1719 padding: 0;
1720 position: relative;
1721 border: 1px solid #ddd;
1722 border-radius: 2px;
1723 }
1724
1725 .block-editor-global-styles-filters-panel__dropdown-toggle,
1726 .block-editor-global-styles__shadow-dropdown-toggle {
1727 width: 100%;
1728 padding: 8px;
1729 }
1730 .block-editor-global-styles-filters-panel__dropdown-toggle.is-open,
1731 .block-editor-global-styles__shadow-dropdown-toggle.is-open {
1732 background-color: #f0f0f0;
1733 }
1734
1735 .block-editor-global-styles__shadow-editor__remove-button {
1736 position: absolute;
1737 right: 0;
1738 top: 8px;
1739 margin: auto 8px auto;
1740 opacity: 0;
1741 }
1742 @media not (prefers-reduced-motion) {
1743 .block-editor-global-styles__shadow-editor__remove-button {
1744 transition: opacity 0.1s ease-in-out;
1745 }
1746 }
1747 .block-editor-global-styles__shadow-dropdown:hover .block-editor-global-styles__shadow-editor__remove-button, .block-editor-global-styles__shadow-editor__remove-button:focus, .block-editor-global-styles__shadow-editor__remove-button:hover {
1748 opacity: 1;
1749 }
1750 @media (hover: none) {
1751 .block-editor-global-styles__shadow-editor__remove-button {
1752 opacity: 1;
1753 }
1754 }
1755
1756 .block-editor-global-styles__shadow-indicator {
1757 -webkit-appearance: none;
1758 -moz-appearance: none;
1759 appearance: none;
1760 background: none;
1761 color: #2f2f2f;
1762 border: #e0e0e0 1px solid;
1763 border-radius: 2px;
1764 cursor: var(--wpds-cursor-control, pointer);
1765 display: inline-flex;
1766 align-items: center;
1767 padding: 0;
1768 height: 26px;
1769 width: 26px;
1770 box-sizing: border-box;
1771 transform: scale(1);
1772 }
1773 @media not (prefers-reduced-motion) {
1774 .block-editor-global-styles__shadow-indicator {
1775 transition: transform 0.1s ease;
1776 }
1777 }
1778 .block-editor-global-styles__shadow-indicator {
1779 will-change: transform;
1780 }
1781 .block-editor-global-styles__shadow-indicator:focus {
1782 border: 2px solid #757575;
1783 }
1784 .block-editor-global-styles__shadow-indicator:hover {
1785 transform: scale(1.2);
1786 }
1787 .block-editor-global-styles__shadow-indicator.unset {
1788 background: linear-gradient(-45deg, transparent 48%, #ddd 48%, #ddd 52%, transparent 52%);
1789 }
1790
1791 .block-editor-global-styles-advanced-panel__custom-css-input {
1792 margin-bottom: 16px;
1793 }
1794 .block-editor-global-styles-advanced-panel__custom-css-input textarea {
1795 font-family: Menlo, Consolas, monaco, monospace;
1796 /*rtl:ignore*/
1797 direction: ltr;
1798 }
1799
1800 .block-editor-panel-duotone-settings__reset {
1801 position: absolute;
1802 right: 0;
1803 top: 8px;
1804 margin: auto 8px auto;
1805 opacity: 0;
1806 }
1807 @media not (prefers-reduced-motion) {
1808 .block-editor-panel-duotone-settings__reset {
1809 transition: opacity 0.1s ease-in-out;
1810 }
1811 }
1812 .block-editor-global-styles-filters-panel__dropdown:hover .block-editor-panel-duotone-settings__reset, .block-editor-panel-duotone-settings__reset:focus, .block-editor-panel-duotone-settings__reset:hover {
1813 opacity: 1;
1814 }
1815 @media (hover: none) {
1816 .block-editor-panel-duotone-settings__reset {
1817 opacity: 1;
1818 }
1819 }
1820
1821 .is-inherited-from-global-styles .components-base-control__label,
1822 .is-inherited-from-global-styles .components-input-control__label {
1823 text-decoration-line: underline;
1824 text-decoration-style: dotted;
1825 text-decoration-thickness: 1px;
1826 text-underline-offset: 0.2em;
1827 }
1828 .is-inherited-from-global-styles .block-editor-panel-color-gradient-settings__color-name,
1829 .is-inherited-from-global-styles .block-editor-global-styles-background-panel__inspector-media-replace-title,
1830 .is-inherited-from-global-styles .block-editor-panel-duotone-settings__label {
1831 border-bottom: 1px dotted currentColor;
1832 }
1833
1834 .has-local-override-from-global-styles {
1835 position: relative;
1836 }
1837
1838 .global-styles-inheritance-affordance {
1839 position: absolute;
1840 inset-block-start: 0;
1841 inset-inline-end: 0;
1842 z-index: 1;
1843 display: flex;
1844 align-items: center;
1845 justify-content: center;
1846 pointer-events: none;
1847 height: 16px;
1848 }
1849 .global-styles-inheritance-affordance--offset-toggle {
1850 inset-inline-end: 32px;
1851 }
1852 .global-styles-inheritance-affordance .has-local-override-from-global-styles__reset {
1853 pointer-events: auto;
1854 margin-inline-start: 0 !important;
1855 }
1856
1857 .has-local-override-from-global-styles__reset {
1858 display: inline-flex !important;
1859 align-items: center;
1860 justify-content: center;
1861 vertical-align: middle;
1862 position: relative;
1863 margin-inline-start: 6px;
1864 min-width: 14px !important;
1865 width: 14px !important;
1866 height: 14px !important;
1867 padding: 0 !important;
1868 border-radius: 50% !important;
1869 background: transparent !important;
1870 box-shadow: none !important;
1871 overflow: hidden;
1872 text-transform: none;
1873 letter-spacing: normal;
1874 cursor: var(--wpds-cursor-control, pointer);
1875 }
1876 .has-local-override-from-global-styles__reset:hover, .has-local-override-from-global-styles__reset:focus {
1877 background: transparent !important;
1878 }
1879 .has-local-override-from-global-styles__reset:hover .has-local-override-from-global-styles__dot, .has-local-override-from-global-styles__reset:focus .has-local-override-from-global-styles__dot {
1880 display: none;
1881 }
1882 .has-local-override-from-global-styles__reset:hover .has-local-override-from-global-styles__reset-icon, .has-local-override-from-global-styles__reset:focus .has-local-override-from-global-styles__reset-icon {
1883 display: block;
1884 }
1885 .has-local-override-from-global-styles__reset:focus-visible {
1886 outline: 1.5px solid var(--wp-admin-theme-color, #007cba);
1887 outline-offset: 1px;
1888 }
1889 .has-local-override-from-global-styles__reset.block-editor-panel-color-gradient-settings__reset {
1890 position: absolute;
1891 justify-content: center;
1892 top: 50%;
1893 transform: translateY(-50%);
1894 margin-block: 0;
1895 margin-inline-start: 0;
1896 opacity: 1;
1897 }
1898 .has-local-override-from-global-styles__reset.block-editor-global-styles__shadow-editor__remove-button {
1899 position: absolute;
1900 justify-content: center;
1901 inset-inline-end: 8px;
1902 top: 50%;
1903 transform: translateY(-50%);
1904 margin-block: 0;
1905 margin-inline-start: 0;
1906 opacity: 1;
1907 }
1908 .has-local-override-from-global-styles__reset.block-editor-panel-duotone-settings__reset {
1909 position: absolute;
1910 justify-content: center;
1911 inset-inline-end: 8px;
1912 top: 50%;
1913 transform: translateY(-50%);
1914 margin-block: 0;
1915 margin-inline-start: 0;
1916 opacity: 1;
1917 }
1918
1919 .has-local-override-from-global-styles__dot {
1920 display: block;
1921 width: 8px;
1922 height: 8px;
1923 background-color: var(--wp-admin-theme-color, #007cba);
1924 border-radius: 50%;
1925 }
1926
1927 .has-local-override-from-global-styles__reset-icon {
1928 display: none;
1929 position: absolute;
1930 top: 50%;
1931 left: 50%;
1932 transform: translate(-50%, -50%);
1933 color: var(--wp-admin-theme-color, #007cba);
1934 }
1935
1936 .block-editor-grid-visualizer.block-editor-grid-visualizer.block-editor-grid-visualizer {
1937 z-index: 30;
1938 }
1939 .block-editor-grid-visualizer.block-editor-grid-visualizer.block-editor-grid-visualizer .components-popover__content * {
1940 pointer-events: none;
1941 }
1942 .block-editor-grid-visualizer.block-editor-grid-visualizer.block-editor-grid-visualizer.is-dropping-allowed .block-editor-grid-visualizer__drop-zone {
1943 pointer-events: all;
1944 }
1945 .block-editor-grid-visualizer.block-editor-grid-visualizer.block-editor-grid-visualizer .block-editor-inserter * {
1946 pointer-events: auto;
1947 }
1948
1949 .block-editor-grid-visualizer__grid {
1950 display: grid;
1951 position: absolute;
1952 }
1953
1954 .block-editor-grid-visualizer__cell {
1955 display: grid;
1956 position: relative;
1957 }
1958 .block-editor-grid-visualizer__cell .block-editor-inserter {
1959 color: inherit;
1960 z-index: 32;
1961 position: absolute;
1962 top: 0;
1963 bottom: 0;
1964 left: 0;
1965 right: 0;
1966 overflow: hidden;
1967 }
1968 .block-editor-grid-visualizer__cell .block-editor-inserter .block-editor-grid-visualizer__appender {
1969 box-shadow: inset 0 0 0 1px color-mix(in srgb, currentColor 20%, rgba(0, 0, 0, 0));
1970 color: inherit;
1971 overflow: hidden;
1972 height: 100%;
1973 width: 100%;
1974 padding: 0 !important;
1975 opacity: 0;
1976 }
1977 .block-editor-grid-visualizer__cell.is-highlighted .block-editor-inserter,
1978 .block-editor-grid-visualizer__cell.is-highlighted .block-editor-grid-visualizer__drop-zone {
1979 background: var(--wp-admin-theme-color);
1980 }
1981 .block-editor-grid-visualizer__cell:hover .block-editor-grid-visualizer__appender,
1982 .block-editor-grid-visualizer__cell .block-editor-grid-visualizer__appender:focus {
1983 opacity: 1;
1984 background-color: color-mix(in srgb, currentColor 20%, rgba(0, 0, 0, 0));
1985 }
1986
1987 .block-editor-grid-visualizer__drop-zone {
1988 background: rgba(204, 204, 204, 0.1);
1989 width: 100%;
1990 height: 100%;
1991 grid-column: 1;
1992 grid-row: 1;
1993 min-width: 8px;
1994 min-height: 8px;
1995 }
1996
1997 .block-editor-grid-item-resizer.block-editor-grid-item-resizer.block-editor-grid-item-resizer {
1998 z-index: 30;
1999 }
2000 .block-editor-grid-item-resizer.block-editor-grid-item-resizer.block-editor-grid-item-resizer .components-popover__content * {
2001 pointer-events: none;
2002 }
2003
2004 .block-editor-grid-item-resizer__box {
2005 border: 1px solid var(--wp-admin-theme-color);
2006 }
2007 .block-editor-grid-item-resizer__box .components-resizable-box__handle.components-resizable-box__handle.components-resizable-box__handle {
2008 pointer-events: all;
2009 }
2010
2011 .block-editor-grid-item-mover__move-button-container {
2012 display: flex;
2013 padding: 0;
2014 border: none;
2015 justify-content: center;
2016 }
2017 .block-editor-grid-item-mover__move-button-container .block-editor-grid-item-mover-button {
2018 width: 24px;
2019 min-width: 0 !important;
2020 padding-left: 0;
2021 padding-right: 0;
2022 }
2023 .block-editor-grid-item-mover__move-button-container .block-editor-grid-item-mover-button svg {
2024 min-width: 24px;
2025 }
2026 .block-editor-grid-item-mover__move-button-container .block-editor-grid-item-mover-button::before {
2027 content: "";
2028 position: absolute;
2029 display: block;
2030 border-radius: 2px;
2031 height: 32px;
2032 left: 8px;
2033 right: 8px;
2034 z-index: -1;
2035 }
2036 @media not (prefers-reduced-motion) {
2037 .block-editor-grid-item-mover__move-button-container .block-editor-grid-item-mover-button::before {
2038 animation: components-button__appear-animation 0.1s ease;
2039 animation-fill-mode: forwards;
2040 }
2041 }
2042 .block-editor-grid-item-mover__move-button-container .block-editor-grid-item-mover-button:focus, .block-editor-grid-item-mover__move-button-container .block-editor-grid-item-mover-button:focus:enabled, .block-editor-grid-item-mover__move-button-container .block-editor-grid-item-mover-button:focus::before {
2043 box-shadow: none;
2044 outline: none;
2045 }
2046 .block-editor-grid-item-mover__move-button-container .block-editor-grid-item-mover-button:focus-visible::before {
2047 box-shadow: inset 0 0 0 1px #fff, 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
2048 outline: 2px solid transparent;
2049 }
2050
2051 .block-editor-grid-item-mover__move-vertical-button-container {
2052 display: flex;
2053 position: relative;
2054 }
2055 @media (min-width: 600px) {
2056 .block-editor-grid-item-mover__move-vertical-button-container {
2057 flex-direction: column;
2058 justify-content: space-around;
2059 }
2060 .block-editor-grid-item-mover__move-vertical-button-container > .block-editor-grid-item-mover-button.block-editor-grid-item-mover-button {
2061 height: 20px !important;
2062 width: 100%;
2063 min-width: 0 !important;
2064 }
2065 .block-editor-grid-item-mover__move-vertical-button-container > .block-editor-grid-item-mover-button.block-editor-grid-item-mover-button::before {
2066 height: calc(100% - 4px);
2067 }
2068 .block-editor-grid-item-mover__move-vertical-button-container .block-editor-grid-item-mover-button.is-up-button svg,
2069 .block-editor-grid-item-mover__move-vertical-button-container .block-editor-grid-item-mover-button.is-down-button svg {
2070 flex-shrink: 0;
2071 height: 20px;
2072 }
2073 }
2074
2075 @media (min-width: 600px) {
2076 .editor-collapsible-block-toolbar .block-editor-grid-item-mover__move-vertical-button-container {
2077 height: 40px;
2078 position: relative;
2079 top: -4px;
2080 }
2081 }
2082
2083 .show-icon-labels .block-editor-grid-item-mover__move-horizontal-button-container {
2084 position: relative;
2085 }
2086 @media (min-width: 600px) {
2087 .show-icon-labels .block-editor-grid-item-mover__move-horizontal-button-container::before {
2088 content: "";
2089 height: 100%;
2090 width: 1px;
2091 background: #e0e0e0;
2092 position: absolute;
2093 top: 0;
2094 }
2095 }
2096 @media (min-width: 782px) {
2097 .show-icon-labels .block-editor-grid-item-mover__move-horizontal-button-container::before {
2098 background: #1e1e1e;
2099 }
2100 }
2101 .show-icon-labels .block-editor-grid-item-mover__move-horizontal-button-container.is-left {
2102 padding-right: 6px;
2103 }
2104 .show-icon-labels .block-editor-grid-item-mover__move-horizontal-button-container.is-left::before {
2105 right: 0;
2106 }
2107 .show-icon-labels .block-editor-grid-item-mover__move-horizontal-button-container.is-right {
2108 padding-left: 6px;
2109 }
2110 .show-icon-labels .block-editor-grid-item-mover__move-horizontal-button-container.is-right::before {
2111 left: 0;
2112 }
2113 @media (min-width: 600px) {
2114 .show-icon-labels .block-editor-grid-item-mover__move-vertical-button-container::before {
2115 content: "";
2116 height: 1px;
2117 width: 100%;
2118 background: #e0e0e0;
2119 position: absolute;
2120 top: 50%;
2121 left: 50%;
2122 transform: translate(-50%, 0);
2123 margin-top: -0.5px;
2124 }
2125 }
2126 @media (min-width: 782px) {
2127 .show-icon-labels .block-editor-grid-item-mover__move-vertical-button-container::before {
2128 background: #1e1e1e;
2129 }
2130 }
2131 .show-icon-labels .block-editor-grid-item-mover-button {
2132 white-space: nowrap;
2133 }
2134 .show-icon-labels .editor-collapsible-block-toolbar .block-editor-grid-item-mover__move-horizontal-button-container::before {
2135 height: 24px;
2136 background: #ddd;
2137 top: 4px;
2138 }
2139 .show-icon-labels .editor-collapsible-block-toolbar .block-editor-grid-item-mover__move-vertical-button-container::before {
2140 background: #ddd;
2141 width: calc(100% - 24px);
2142 }
2143
2144 .block-editor-height-control {
2145 border: 0;
2146 margin: 0;
2147 padding: 0;
2148 }
2149
2150 .block-editor-iframe__container {
2151 width: 100%;
2152 height: 100%;
2153 }
2154
2155 .block-editor-iframe__scale-container {
2156 height: 100%;
2157 }
2158
2159 .block-editor-iframe__scale-container.is-zoomed-out {
2160 width: var(--wp-block-editor-iframe-zoom-out-scale-container-width, 100vw);
2161 position: absolute;
2162 right: 0;
2163 }
2164
2165 .wp-block-image__crop-area {
2166 position: relative;
2167 max-width: 100%;
2168 width: 100%;
2169 overflow: hidden;
2170 }
2171 .wp-block-image__crop-area .reactEasyCrop_Container {
2172 pointer-events: auto;
2173 }
2174 .wp-block-image__crop-area .reactEasyCrop_Container .reactEasyCrop_Image {
2175 border: none;
2176 border-radius: 0;
2177 }
2178
2179 .wp-block-image__zoom .components-popover__content {
2180 min-width: 260px;
2181 overflow: visible !important;
2182 }
2183
2184 .block-editor-block-types-list__list-item {
2185 display: block;
2186 width: 33.33%;
2187 padding: 0;
2188 margin: 0;
2189 }
2190 .block-editor-block-types-list__list-item.is-synced .components-button.block-editor-block-types-list__item:not(:disabled) .block-editor-block-icon.has-colors {
2191 color: var(--wp-block-synced-color);
2192 }
2193 .block-editor-block-types-list__list-item.is-synced .components-button.block-editor-block-types-list__item:not(:disabled):hover .block-editor-block-types-list__item-title {
2194 color: var(--wp-block-synced-color) !important;
2195 filter: brightness(0.95);
2196 }
2197 .block-editor-block-types-list__list-item.is-synced .components-button.block-editor-block-types-list__item:not(:disabled):hover svg {
2198 color: var(--wp-block-synced-color) !important;
2199 }
2200 .block-editor-block-types-list__list-item.is-synced .components-button.block-editor-block-types-list__item:not(:disabled)::after {
2201 background: var(--wp-block-synced-color);
2202 }
2203
2204 .components-button.block-editor-block-types-list__item {
2205 display: flex;
2206 flex-direction: column;
2207 width: 100%;
2208 font-size: 13px;
2209 color: #1e1e1e;
2210 padding: 8px;
2211 align-items: stretch;
2212 justify-content: center;
2213 cursor: var(--wpds-cursor-control, pointer);
2214 background: transparent;
2215 word-break: break-word;
2216 }
2217 @media not (prefers-reduced-motion) {
2218 .components-button.block-editor-block-types-list__item {
2219 transition: all 0.05s ease-in-out;
2220 }
2221 }
2222 .components-button.block-editor-block-types-list__item {
2223 position: relative;
2224 height: auto;
2225 }
2226 .components-button.block-editor-block-types-list__item:disabled, .components-button.block-editor-block-types-list__item[aria-disabled=true] {
2227 opacity: 0.6;
2228 cursor: default;
2229 }
2230 .components-button.block-editor-block-types-list__item:not(:disabled, [aria-disabled=true]):hover .block-editor-block-types-list__item-title {
2231 color: var(--wp-admin-theme-color) !important;
2232 filter: brightness(0.95);
2233 }
2234 .components-button.block-editor-block-types-list__item:not(:disabled, [aria-disabled=true]):hover svg {
2235 color: var(--wp-admin-theme-color) !important;
2236 }
2237 .components-button.block-editor-block-types-list__item:not(:disabled, [aria-disabled=true]):hover::after {
2238 content: "";
2239 position: absolute;
2240 top: 0;
2241 bottom: 0;
2242 left: 0;
2243 right: 0;
2244 border-radius: 2px;
2245 opacity: 0.04;
2246 background: var(--wp-admin-theme-color);
2247 pointer-events: none;
2248 }
2249
2250 .block-editor-block-types-list__item-icon {
2251 padding: 12px 20px;
2252 color: #1e1e1e;
2253 }
2254 @media not (prefers-reduced-motion) {
2255 .block-editor-block-types-list__item-icon {
2256 transition: all 0.05s ease-in-out;
2257 }
2258 }
2259 .block-editor-block-types-list__item-icon .block-editor-block-icon {
2260 margin-left: auto;
2261 margin-right: auto;
2262 }
2263 @media not (prefers-reduced-motion) {
2264 .block-editor-block-types-list__item-icon svg {
2265 transition: all 0.15s ease-out;
2266 }
2267 }
2268 .block-editor-block-types-list__list-item[draggable=true] .block-editor-block-types-list__item-icon {
2269 cursor: grab;
2270 }
2271
2272 .block-editor-block-types-list__item-title {
2273 padding: 4px 2px 8px;
2274 font-size: 12px;
2275 hyphens: auto;
2276 }
2277
2278 .modal-open .block-editor-inspector-list-view-content-popover {
2279 z-index: 99999;
2280 }
2281
2282 .block-editor-block-inspector__tabs [role=tablist] {
2283 width: 100%;
2284 }
2285
2286 .block-editor-inspector-popover-header {
2287 margin-bottom: 16px;
2288 }
2289
2290 .items-justified-left {
2291 justify-content: flex-start;
2292 }
2293
2294 .items-justified-center {
2295 justify-content: center;
2296 }
2297
2298 .items-justified-right {
2299 justify-content: flex-end;
2300 }
2301
2302 .items-justified-space-between {
2303 justify-content: space-between;
2304 }
2305
2306 @keyframes loadingpulse {
2307 0% {
2308 opacity: 1;
2309 }
2310 50% {
2311 opacity: 0;
2312 }
2313 100% {
2314 opacity: 1;
2315 }
2316 }
2317 .block-editor-link-control {
2318 position: relative;
2319 min-width: 350px;
2320 }
2321 .components-popover__content .block-editor-link-control {
2322 min-width: auto;
2323 width: 90vw;
2324 max-width: 350px;
2325 }
2326 .show-icon-labels .block-editor-link-control .components-button.has-icon svg {
2327 display: none;
2328 }
2329 .show-icon-labels .block-editor-link-control .components-button.has-icon::before {
2330 content: attr(aria-label);
2331 }
2332 .show-icon-labels .block-editor-link-control .block-editor-link-control__preview {
2333 gap: 4px;
2334 flex-wrap: wrap;
2335 }
2336 .show-icon-labels .block-editor-link-control .block-editor-link-control__preview .components-button.has-icon {
2337 width: auto;
2338 padding: 4px;
2339 }
2340 .show-icon-labels .block-editor-link-control .block-editor-link-control__preview .block-editor-link-control_link-information {
2341 min-width: 100%;
2342 margin-right: 0;
2343 }
2344
2345 .block-editor-link-control__search-input-wrapper {
2346 margin-bottom: 8px;
2347 position: relative;
2348 }
2349
2350 .block-editor-link-control__help {
2351 padding: 0 16px;
2352 margin-top: -8px;
2353 margin-bottom: 0;
2354 font-size: 12px;
2355 font-style: normal;
2356 color: #757575;
2357 }
2358
2359 .block-editor-link-control__search-input-container,
2360 .block-editor-link-control__search-input-wrapper {
2361 position: relative;
2362 }
2363
2364 .block-editor-link-control__field {
2365 margin: 16px;
2366 }
2367 .block-editor-link-control__field .components-base-control__label {
2368 color: #1e1e1e;
2369 }
2370
2371 .block-editor-link-control__search-error {
2372 margin: -8px 16px 16px;
2373 }
2374
2375 .block-editor-link-control__search-actions {
2376 padding: 8px 16px 16px;
2377 }
2378
2379 .block-editor-link-control__search-results-wrapper {
2380 position: relative;
2381 }
2382 .block-editor-link-control__search-results-wrapper::before, .block-editor-link-control__search-results-wrapper::after {
2383 content: "";
2384 position: absolute;
2385 left: -1px;
2386 right: 16px;
2387 display: block;
2388 pointer-events: none;
2389 z-index: 100;
2390 }
2391 .block-editor-link-control__search-results-wrapper::before {
2392 height: 8px;
2393 top: 0;
2394 bottom: auto;
2395 }
2396 .block-editor-link-control__search-results-wrapper::after {
2397 height: 16px;
2398 bottom: 0;
2399 top: auto;
2400 }
2401
2402 .block-editor-link-control__search-results {
2403 margin-top: -16px;
2404 padding: 8px;
2405 max-height: 200px;
2406 overflow-y: auto;
2407 }
2408 .block-editor-link-control__search-results.is-loading {
2409 opacity: 0.2;
2410 }
2411
2412 .block-editor-link-control__search-item.components-button.components-menu-item__button {
2413 height: auto;
2414 text-align: left;
2415 }
2416 .block-editor-link-control__search-item .components-menu-item__item {
2417 overflow: hidden;
2418 text-overflow: ellipsis;
2419 display: inline-block;
2420 width: 100%;
2421 }
2422 .block-editor-link-control__search-item .components-menu-item__item mark {
2423 font-weight: var(--wpds-typography-font-weight-emphasis, 600);
2424 color: inherit;
2425 background-color: transparent;
2426 }
2427 .block-editor-link-control__search-item .components-menu-item__shortcut {
2428 color: #757575;
2429 white-space: nowrap;
2430 }
2431 .block-editor-link-control__search-item[aria-selected] {
2432 background: #f0f0f0;
2433 }
2434
2435 .block-editor-link-control__preview {
2436 background: transparent;
2437 border: 0;
2438 padding: 16px;
2439 }
2440 .block-editor-link-control__preview .block-editor-link-control__link-information {
2441 margin-right: 8px;
2442 white-space: pre-wrap;
2443 overflow-wrap: break-word;
2444 }
2445 .block-editor-link-control__preview .block-editor-link-control__link-information .block-editor-link-control__preview-info {
2446 color: #757575;
2447 line-height: 1.1;
2448 font-size: 12px;
2449 word-break: break-all;
2450 }
2451 .block-editor-link-control__preview.is-url-title .block-editor-link-control__preview-title {
2452 word-break: break-all;
2453 }
2454 .block-editor-link-control__preview .block-editor-link-control__preview-image,
2455 .block-editor-link-control__preview .block-editor-link-control__preview-icon {
2456 position: relative;
2457 flex-shrink: 0;
2458 background-color: #f0f0f0;
2459 width: 32px;
2460 height: 32px;
2461 border-radius: 2px;
2462 }
2463 .block-editor-link-control__preview .block-editor-link-control__preview-icon img {
2464 width: 16px;
2465 }
2466 .block-editor-link-control__preview.is-error .block-editor-link-control__preview-icon {
2467 top: 0;
2468 width: 32px;
2469 max-height: 32px;
2470 }
2471 .block-editor-link-control__preview .block-editor-link-control__preview-title {
2472 line-height: 1.1;
2473 }
2474 .block-editor-link-control__preview .block-editor-link-control__preview-title:focus {
2475 box-shadow: none;
2476 }
2477 .block-editor-link-control__preview .block-editor-link-control__preview-title:focus-visible {
2478 box-shadow: inset 0 0 0 1px #fff, 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
2479 outline: 2px solid transparent;
2480 text-decoration: none;
2481 }
2482 .block-editor-link-control__preview .block-editor-link-control__preview-title mark {
2483 font-weight: var(--wpds-typography-font-weight-emphasis, 600);
2484 color: inherit;
2485 background-color: transparent;
2486 }
2487 .block-editor-link-control__preview .block-editor-link-control__preview-title span {
2488 font-weight: normal;
2489 }
2490 .block-editor-link-control__preview .block-editor-link-control__preview-title .components-external-link__icon {
2491 position: absolute;
2492 width: 1px;
2493 height: 1px;
2494 padding: 0;
2495 margin: -1px;
2496 overflow: hidden;
2497 clip: rect(0, 0, 0, 0);
2498 border: 0;
2499 }
2500
2501 .block-editor-link-control__preview.is-fetching .block-editor-link-control__preview-icon svg,
2502 .block-editor-link-control__preview.is-fetching .block-editor-link-control__preview-icon img {
2503 opacity: 0;
2504 }
2505 .block-editor-link-control__preview.is-fetching .block-editor-link-control__preview-icon::before {
2506 content: "";
2507 display: block;
2508 background-color: #f0f0f0;
2509 position: absolute;
2510 top: 0;
2511 left: 0;
2512 right: 0;
2513 bottom: 0;
2514 border-radius: 100%;
2515 }
2516 @media not (prefers-reduced-motion) {
2517 .block-editor-link-control__preview.is-fetching .block-editor-link-control__preview-icon::before {
2518 animation: loadingpulse 1s linear infinite;
2519 animation-delay: 0.5s;
2520 }
2521 }
2522
2523 .block-editor-link-control__loading {
2524 margin: 16px;
2525 display: flex;
2526 align-items: center;
2527 }
2528 .block-editor-link-control__loading .components-spinner {
2529 margin-top: 0;
2530 }
2531
2532 .components-button + .block-editor-link-control__search-create {
2533 overflow: visible;
2534 padding: 12px 16px;
2535 }
2536 .components-button + .block-editor-link-control__search-create::before {
2537 content: "";
2538 position: absolute;
2539 top: -10px;
2540 left: 0;
2541 display: block;
2542 width: 100%;
2543 }
2544
2545 .block-editor-link-control__search-create {
2546 align-items: center;
2547 }
2548 .block-editor-link-control__search-create .block-editor-link-control__preview-title {
2549 margin-bottom: 0;
2550 }
2551 .block-editor-link-control__search-create .block-editor-link-control__search-item-icon {
2552 top: 0;
2553 }
2554
2555 .block-editor-link-control__drawer-inner {
2556 display: flex;
2557 flex-direction: column;
2558 flex-basis: 100%;
2559 position: relative;
2560 }
2561
2562 .block-editor-link-control__settings {
2563 border: 0;
2564 padding: 0;
2565 margin: 0;
2566 }
2567
2568 .block-editor-link-control__setting {
2569 margin-bottom: 0;
2570 flex: 1;
2571 padding: 8px 24px;
2572 }
2573 .block-editor-link-control__setting .components-base-control:not(.components-input-control) .components-base-control__field {
2574 display: flex;
2575 }
2576 .block-editor-link-control__setting .components-base-control__field .components-checkbox-control__label {
2577 color: #1e1e1e;
2578 }
2579 .block-editor-link-control__setting input {
2580 margin-left: 0;
2581 }
2582 .is-preview .block-editor-link-control__setting {
2583 padding: 20px 8px 8px 0;
2584 }
2585
2586 .block-editor-link-control__tools {
2587 padding: 8px 8px 0 8px;
2588 margin-top: -16px;
2589 }
2590 .block-editor-link-control__tools .components-button.block-editor-link-control__drawer-toggle {
2591 padding-left: 0;
2592 gap: 0;
2593 }
2594 .block-editor-link-control__tools .components-button.block-editor-link-control__drawer-toggle[aria-expanded=true] {
2595 color: #1e1e1e;
2596 }
2597 .block-editor-link-control__tools .components-button.block-editor-link-control__drawer-toggle[aria-expanded=true] svg {
2598 visibility: visible;
2599 }
2600 @media not (prefers-reduced-motion) {
2601 .block-editor-link-control__tools .components-button.block-editor-link-control__drawer-toggle[aria-expanded=true] svg {
2602 transition: transform 0.1s ease;
2603 }
2604 }
2605 .block-editor-link-control__tools .components-button.block-editor-link-control__drawer-toggle[aria-expanded=true] svg {
2606 transform: rotate(90deg);
2607 }
2608 .block-editor-link-control__tools .components-button.block-editor-link-control__drawer-toggle[aria-expanded=false] svg {
2609 visibility: visible;
2610 transform: rotate(0deg);
2611 }
2612 @media not (prefers-reduced-motion) {
2613 .block-editor-link-control__tools .components-button.block-editor-link-control__drawer-toggle[aria-expanded=false] svg {
2614 transition: transform 0.1s ease;
2615 }
2616 }
2617
2618 .block-editor-link-control .block-editor-link-control__search-input .components-spinner {
2619 display: block;
2620 }
2621 .block-editor-link-control .block-editor-link-control__search-input .components-spinner.components-spinner {
2622 position: absolute;
2623 left: auto;
2624 bottom: auto;
2625 top: calc(50% - 16px / 2);
2626 right: 40px;
2627 }
2628
2629 .block-editor-link-control .block-editor-link-control__search-input-wrapper.has-actions .components-spinner {
2630 top: calc(50% + 16px / 4);
2631 right: 12px;
2632 }
2633
2634 /**
2635 * Link Picker Styles
2636 */
2637 .link-preview-button.components-button {
2638 width: 100%;
2639 height: auto;
2640 padding: 12px;
2641 border-color: #949494;
2642 }
2643
2644 .link-preview-button__image-container {
2645 width: 24px;
2646 height: 24px;
2647 flex-shrink: 0;
2648 }
2649
2650 .link-preview-button__image {
2651 width: 100%;
2652 height: 100%;
2653 -o-object-fit: cover;
2654 object-fit: cover;
2655 border-radius: 2px;
2656 }
2657
2658 .link-preview-button__content {
2659 min-width: 0;
2660 flex: 1;
2661 }
2662
2663 .link-preview-button__details {
2664 min-width: 0;
2665 flex: 1;
2666 }
2667
2668 .link-preview-button__title,
2669 .link-preview-button__hint {
2670 min-width: 0;
2671 display: block;
2672 width: 100%;
2673 text-align: left;
2674 overflow: hidden;
2675 text-overflow: ellipsis;
2676 white-space: nowrap;
2677 }
2678
2679 .link-preview-button__title {
2680 margin-top: 4px;
2681 font-weight: var(--wpds-typography-font-weight-emphasis, 600);
2682 color: #1e1e1e;
2683 display: block;
2684 }
2685
2686 .link-preview-button__hint {
2687 font-size: 12px;
2688 color: #757575;
2689 font-weight: 400;
2690 }
2691
2692 .link-preview-button__icon {
2693 color: #1e1e1e;
2694 }
2695
2696 .link-preview-button__badges {
2697 margin-top: 8px;
2698 }
2699
2700 .block-editor-list-view-tree {
2701 width: 100%;
2702 border-collapse: collapse;
2703 padding: 0;
2704 margin: 0;
2705 }
2706 .components-modal__content .block-editor-list-view-tree {
2707 margin: -12px -6px 0;
2708 width: calc(100% + 12px);
2709 }
2710 .block-editor-list-view-tree.is-dragging tbody {
2711 pointer-events: none;
2712 }
2713
2714 .block-editor-list-view-leaf {
2715 position: relative;
2716 transform: translateY(0);
2717 }
2718 .block-editor-list-view-leaf.is-draggable, .block-editor-list-view-leaf.is-draggable .block-editor-list-view-block-contents {
2719 cursor: grab;
2720 }
2721 .block-editor-list-view-leaf .block-editor-list-view-block-select-button[aria-expanded=true] {
2722 color: inherit;
2723 }
2724 .block-editor-list-view-leaf .block-editor-list-view-block-select-button:hover {
2725 color: var(--wp-admin-theme-color);
2726 }
2727 .block-editor-list-view-leaf .block-editor-list-view-block-select-button svg {
2728 fill: currentColor;
2729 }
2730 @media (forced-colors: active) {
2731 .block-editor-list-view-leaf .block-editor-list-view-block-select-button svg {
2732 fill: CanvasText;
2733 }
2734 }
2735 .is-dragging-components-draggable .block-editor-list-view-leaf:not(.is-selected) .block-editor-list-view-block-select-button:hover {
2736 color: inherit;
2737 }
2738 .block-editor-list-view-leaf.is-selected td {
2739 background: var(--wp-admin-theme-color);
2740 }
2741 .block-editor-list-view-leaf.is-selected.is-synced td {
2742 background: var(--wp-block-synced-color);
2743 }
2744 .block-editor-list-view-leaf.is-synced:not(.is-selected) .block-editor-list-view-block-contents:hover, .block-editor-list-view-leaf.is-synced:not(.is-selected) .block-editor-list-view-block-contents:focus,
2745 .block-editor-list-view-leaf.is-synced:not(.is-selected) .block-editor-list-view-block-contents .block-editor-block-icon {
2746 color: var(--wp-block-synced-color);
2747 }
2748 .block-editor-list-view-leaf.is-synced:not(.is-selected) .block-editor-list-view-block-contents:focus::after {
2749 box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-block-synced-color);
2750 }
2751 .block-editor-list-view-leaf.is-selected .block-editor-list-view-block-contents, .block-editor-list-view-leaf.is-selected .components-button.has-icon {
2752 color: #fff;
2753 }
2754 .block-editor-list-view-leaf.is-selected .block-editor-list-view-block-contents:focus::after {
2755 box-shadow: inset 0 0 0 1px #fff, 0 0 0 var(--wp-admin-border-width-focus) var(--wpds-color-stroke-focus, var(--wp-admin-theme-color, #3858e9));
2756 }
2757 .block-editor-list-view-leaf.is-selected.is-synced .block-editor-list-view-block-contents:focus::after {
2758 box-shadow: inset 0 0 0 1px #fff, 0 0 0 var(--wp-admin-border-width-focus) var(--wp-block-synced-color);
2759 }
2760 .block-editor-list-view-leaf.is-selected .block-editor-list-view-block__menu:focus {
2761 box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) #fff;
2762 }
2763 .block-editor-list-view-leaf.is-first-selected td:first-child {
2764 border-top-left-radius: 2px;
2765 }
2766 .block-editor-list-view-leaf.is-first-selected td:last-child {
2767 border-top-right-radius: 2px;
2768 }
2769 .block-editor-list-view-leaf.is-last-selected td:first-child {
2770 border-bottom-left-radius: 2px;
2771 }
2772 .block-editor-list-view-leaf.is-last-selected td:last-child {
2773 border-bottom-right-radius: 2px;
2774 }
2775 .block-editor-list-view-leaf.is-branch-selected:not(.is-selected):not(.is-synced-branch) {
2776 background: rgba(var(--wp-admin-theme-color--rgb), 0.04);
2777 }
2778 .block-editor-list-view-leaf.is-synced-branch.is-branch-selected {
2779 background: rgba(var(--wp-block-synced-color--rgb), 0.04);
2780 }
2781 .block-editor-list-view-leaf.is-branch-selected.is-first-selected td:first-child {
2782 border-top-left-radius: 2px;
2783 }
2784 .block-editor-list-view-leaf.is-branch-selected.is-first-selected td:last-child {
2785 border-top-right-radius: 2px;
2786 }
2787 .block-editor-list-view-leaf[data-expanded=false].is-branch-selected.is-first-selected td:first-child {
2788 border-top-left-radius: 2px;
2789 }
2790 .block-editor-list-view-leaf[data-expanded=false].is-branch-selected.is-first-selected td:last-child {
2791 border-top-right-radius: 2px;
2792 }
2793 .block-editor-list-view-leaf[data-expanded=false].is-branch-selected.is-last-selected td:first-child {
2794 border-bottom-left-radius: 2px;
2795 }
2796 .block-editor-list-view-leaf[data-expanded=false].is-branch-selected.is-last-selected td:last-child {
2797 border-bottom-right-radius: 2px;
2798 }
2799 .block-editor-list-view-leaf.is-branch-selected:not(.is-selected) td {
2800 border-radius: 0;
2801 }
2802 @media not (prefers-reduced-motion) {
2803 .block-editor-list-view-leaf.is-displacement-normal {
2804 transition: transform 0.2s;
2805 }
2806 }
2807 .block-editor-list-view-leaf.is-displacement-normal {
2808 transform: translateY(0);
2809 }
2810 @media not (prefers-reduced-motion) {
2811 .block-editor-list-view-leaf.is-displacement-up {
2812 transition: transform 0.2s;
2813 }
2814 }
2815 .block-editor-list-view-leaf.is-displacement-up {
2816 transform: translateY(-32px);
2817 }
2818 @media not (prefers-reduced-motion) {
2819 .block-editor-list-view-leaf.is-displacement-down {
2820 transition: transform 0.2s;
2821 }
2822 }
2823 .block-editor-list-view-leaf.is-displacement-down {
2824 transform: translateY(32px);
2825 }
2826 @media not (prefers-reduced-motion) {
2827 .block-editor-list-view-leaf.is-after-dragged-blocks {
2828 transition: transform 0.2s;
2829 }
2830 }
2831 .block-editor-list-view-leaf.is-after-dragged-blocks {
2832 transform: translateY(calc(var(--wp-admin--list-view-dragged-items-height, 32px) * -1));
2833 }
2834 @media not (prefers-reduced-motion) {
2835 .block-editor-list-view-leaf.is-after-dragged-blocks.is-displacement-up {
2836 transition: transform 0.2s;
2837 }
2838 }
2839 .block-editor-list-view-leaf.is-after-dragged-blocks.is-displacement-up {
2840 transform: translateY(calc(-32px + var(--wp-admin--list-view-dragged-items-height, 32px) * -1));
2841 }
2842 @media not (prefers-reduced-motion) {
2843 .block-editor-list-view-leaf.is-after-dragged-blocks.is-displacement-down {
2844 transition: transform 0.2s;
2845 }
2846 }
2847 .block-editor-list-view-leaf.is-after-dragged-blocks.is-displacement-down {
2848 transform: translateY(calc(32px + var(--wp-admin--list-view-dragged-items-height, 32px) * -1));
2849 }
2850 .block-editor-list-view-leaf.is-dragging {
2851 opacity: 0;
2852 left: 0;
2853 pointer-events: none;
2854 z-index: -9999;
2855 }
2856 .block-editor-list-view-leaf .block-editor-list-view-block-contents {
2857 display: flex;
2858 align-items: center;
2859 width: 100%;
2860 height: 32px;
2861 padding: 6px 4px 6px 0;
2862 text-align: left;
2863 position: relative;
2864 white-space: nowrap;
2865 border-radius: 2px;
2866 box-sizing: border-box;
2867 color: inherit;
2868 font-family: inherit;
2869 font-size: 13px;
2870 font-weight: 400;
2871 margin: 0;
2872 text-decoration: none;
2873 }
2874 @media not (prefers-reduced-motion) {
2875 .block-editor-list-view-leaf .block-editor-list-view-block-contents {
2876 transition: box-shadow 0.1s linear;
2877 }
2878 }
2879 .components-modal__content .block-editor-list-view-leaf .block-editor-list-view-block-contents {
2880 padding-left: 0;
2881 padding-right: 0;
2882 }
2883 .block-editor-list-view-leaf.is-nesting .block-editor-list-view-block-contents,
2884 .block-editor-list-view-leaf .block-editor-list-view-block-contents:focus {
2885 box-shadow: none;
2886 }
2887 .block-editor-list-view-leaf.is-nesting .block-editor-list-view-block-contents::after,
2888 .block-editor-list-view-leaf .block-editor-list-view-block-contents:focus::after {
2889 content: "";
2890 position: absolute;
2891 top: 0;
2892 right: -29px;
2893 bottom: 0;
2894 left: 0;
2895 border-radius: inherit;
2896 box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wpds-color-stroke-focus, var(--wp-admin-theme-color, #3858e9));
2897 z-index: 2;
2898 pointer-events: none;
2899 }
2900 .block-editor-list-view-leaf.has-single-cell .block-editor-list-view-block-contents:focus::after {
2901 right: 0;
2902 }
2903 .block-editor-list-view-leaf.is-nesting .block-editor-list-view__menu {
2904 box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wpds-color-stroke-focus, var(--wp-admin-theme-color, #3858e9));
2905 z-index: 1;
2906 }
2907 .block-editor-list-view-leaf.is-visible .block-editor-list-view-block-contents {
2908 opacity: 1;
2909 }
2910 @keyframes __wp-base-styles-fade-in {
2911 from {
2912 opacity: 0;
2913 }
2914 to {
2915 opacity: 1;
2916 }
2917 }
2918 @media not (prefers-reduced-motion) {
2919 .block-editor-list-view-leaf.is-visible .block-editor-list-view-block-contents {
2920 animation: __wp-base-styles-fade-in 0.08s linear 0s;
2921 animation-fill-mode: forwards;
2922 }
2923 }
2924 .block-editor-list-view-leaf .block-editor-block-icon {
2925 margin-right: 4px;
2926 flex: 0 0 24px;
2927 }
2928 .block-editor-list-view-leaf .block-editor-list-view-block__menu-cell,
2929 .block-editor-list-view-leaf .block-editor-list-view-block__mover-cell,
2930 .block-editor-list-view-leaf .block-editor-list-view-block__contents-cell {
2931 padding: 0;
2932 }
2933 .block-editor-list-view-leaf .block-editor-list-view-block__menu-cell,
2934 .block-editor-list-view-leaf .block-editor-list-view-block__mover-cell {
2935 line-height: 0;
2936 width: 28px;
2937 vertical-align: middle;
2938 }
2939 .block-editor-list-view-leaf .block-editor-list-view-block__menu-cell > *,
2940 .block-editor-list-view-leaf .block-editor-list-view-block__mover-cell > * {
2941 opacity: 0;
2942 }
2943 .block-editor-list-view-leaf .block-editor-list-view-block__menu-cell:hover > *, .block-editor-list-view-leaf .block-editor-list-view-block__menu-cell:focus-within > *, .block-editor-list-view-leaf .block-editor-list-view-block__menu-cell.is-visible > *,
2944 .block-editor-list-view-leaf .block-editor-list-view-block__mover-cell:hover > *,
2945 .block-editor-list-view-leaf .block-editor-list-view-block__mover-cell:focus-within > *,
2946 .block-editor-list-view-leaf .block-editor-list-view-block__mover-cell.is-visible > * {
2947 opacity: 1;
2948 }
2949 .block-editor-list-view-leaf .block-editor-list-view-block__mover-cell-alignment-wrapper {
2950 display: flex;
2951 height: 100%;
2952 flex-direction: column;
2953 align-items: center;
2954 }
2955 .block-editor-list-view-leaf .block-editor-block-mover-button {
2956 position: relative;
2957 width: 36px;
2958 height: 24px;
2959 }
2960 .block-editor-list-view-leaf .block-editor-block-mover-button svg {
2961 position: relative;
2962 height: 24px;
2963 }
2964 .block-editor-list-view-leaf .block-editor-block-mover-button.is-up-button {
2965 margin-top: -6px;
2966 align-items: flex-end;
2967 }
2968 .block-editor-list-view-leaf .block-editor-block-mover-button.is-up-button svg {
2969 bottom: -4px;
2970 }
2971 .block-editor-list-view-leaf .block-editor-block-mover-button.is-down-button {
2972 margin-bottom: -6px;
2973 align-items: flex-start;
2974 }
2975 .block-editor-list-view-leaf .block-editor-block-mover-button.is-down-button svg {
2976 top: -4px;
2977 }
2978 .block-editor-list-view-leaf .block-editor-block-mover-button::before {
2979 height: 16px;
2980 min-width: 100%;
2981 left: 0;
2982 right: 0;
2983 }
2984 .block-editor-list-view-leaf .block-editor-inserter__toggle {
2985 background: #1e1e1e;
2986 color: #fff;
2987 height: 24px;
2988 margin: 6px 6px 6px 1px;
2989 min-width: 24px;
2990 }
2991 .block-editor-list-view-leaf .block-editor-inserter__toggle:active {
2992 color: #fff;
2993 }
2994 .block-editor-list-view-leaf .block-editor-list-view-block-select-button__label-wrapper svg {
2995 left: 2px;
2996 position: relative;
2997 }
2998 .block-editor-list-view-leaf .block-editor-list-view-block-select-button__title {
2999 flex: 1;
3000 position: relative;
3001 }
3002 .block-editor-list-view-leaf .block-editor-list-view-block-select-button__title .components-truncate {
3003 position: absolute;
3004 width: 100%;
3005 transform: translateY(-50%);
3006 }
3007 .block-editor-list-view-leaf .block-editor-list-view-block-select-button__anchor-wrapper {
3008 position: relative;
3009 max-width: min(110px, 40%);
3010 width: 100%;
3011 }
3012 .block-editor-list-view-leaf .block-editor-list-view-block-select-button__anchor {
3013 position: absolute;
3014 right: 0;
3015 transform: translateY(-50%);
3016 }
3017 .block-editor-list-view-leaf.is-selected .block-editor-list-view-block-select-button__anchor {
3018 background: rgba(0, 0, 0, 0.3);
3019 color: #fff;
3020 }
3021 .block-editor-list-view-leaf .block-editor-list-view-block-select-button__block-visibility,
3022 .block-editor-list-view-leaf .block-editor-list-view-block-select-button__lock,
3023 .block-editor-list-view-leaf .block-editor-list-view-block-select-button__sticky {
3024 line-height: 0;
3025 }
3026 .block-editor-list-view-leaf .block-editor-list-view-block-select-button__images {
3027 display: flex;
3028 }
3029 .block-editor-list-view-leaf .block-editor-list-view-block-select-button__image {
3030 background-size: cover;
3031 width: 18px;
3032 height: 18px;
3033 border-radius: 1px;
3034 }
3035 .block-editor-list-view-leaf .block-editor-list-view-block-select-button__image:not(:only-child) {
3036 box-shadow: 0 0 0 2px #fff;
3037 }
3038 .block-editor-list-view-leaf .block-editor-list-view-block-select-button__image:not(:first-child) {
3039 margin-left: -6px;
3040 }
3041 .block-editor-list-view-leaf.is-selected .block-editor-list-view-block-select-button__image:not(:only-child) {
3042 box-shadow: 0 0 0 2px var(--wp-admin-theme-color);
3043 }
3044 .block-editor-list-view-leaf.is-disabled {
3045 opacity: 0.2;
3046 }
3047 @media not (prefers-reduced-motion) {
3048 .block-editor-list-view-leaf.is-disabled {
3049 transition: opacity 0.1s linear;
3050 }
3051 }
3052 .block-editor-list-view-leaf.is-disabled:hover {
3053 opacity: 0.2;
3054 }
3055 .block-editor-list-view-leaf.is-disabled .block-editor-list-view__expander {
3056 cursor: default;
3057 }
3058 .block-editor-list-view-leaf.is-disabled .block-editor-list-view-block-select-button:hover {
3059 color: inherit;
3060 }
3061
3062 .block-editor-list-view-draggable-chip {
3063 opacity: 0.8;
3064 }
3065
3066 .block-editor-list-view-block__contents-cell .block-editor-list-view-block__contents-container,
3067 .block-editor-list-view-block__contents-cell .block-editor-list-view-appender__container,
3068 .block-editor-list-view-appender__cell .block-editor-list-view-block__contents-container,
3069 .block-editor-list-view-appender__cell .block-editor-list-view-appender__container {
3070 display: flex;
3071 }
3072
3073 .block-editor-list-view__expander {
3074 height: 24px;
3075 width: 24px;
3076 cursor: var(--wpds-cursor-control, pointer);
3077 }
3078
3079 .block-editor-list-view-leaf[aria-level] .block-editor-list-view__expander {
3080 margin-left: 192px;
3081 }
3082
3083 .block-editor-list-view-leaf[aria-level="1"] .block-editor-list-view__expander {
3084 margin-left: 0;
3085 }
3086
3087 .block-editor-list-view-leaf[aria-level="2"] .block-editor-list-view__expander {
3088 margin-left: 24px;
3089 }
3090
3091 .block-editor-list-view-leaf[aria-level="3"] .block-editor-list-view__expander {
3092 margin-left: 48px;
3093 }
3094
3095 .block-editor-list-view-leaf[aria-level="4"] .block-editor-list-view__expander {
3096 margin-left: 72px;
3097 }
3098
3099 .block-editor-list-view-leaf[aria-level="5"] .block-editor-list-view__expander {
3100 margin-left: 96px;
3101 }
3102
3103 .block-editor-list-view-leaf[aria-level="6"] .block-editor-list-view__expander {
3104 margin-left: 120px;
3105 }
3106
3107 .block-editor-list-view-leaf[aria-level="7"] .block-editor-list-view__expander {
3108 margin-left: 144px;
3109 }
3110
3111 .block-editor-list-view-leaf[aria-level="8"] .block-editor-list-view__expander {
3112 margin-left: 168px;
3113 }
3114
3115 .block-editor-list-view-leaf .block-editor-list-view__expander {
3116 visibility: hidden;
3117 }
3118
3119 .block-editor-list-view-leaf[data-expanded=true] .block-editor-list-view__expander svg {
3120 visibility: visible;
3121 }
3122 @media not (prefers-reduced-motion) {
3123 .block-editor-list-view-leaf[data-expanded=true] .block-editor-list-view__expander svg {
3124 transition: transform 0.2s ease;
3125 }
3126 }
3127 .block-editor-list-view-leaf[data-expanded=true] .block-editor-list-view__expander svg {
3128 transform: rotate(90deg);
3129 }
3130
3131 .block-editor-list-view-leaf[data-expanded=false] .block-editor-list-view__expander svg {
3132 visibility: visible;
3133 transform: rotate(0deg);
3134 }
3135 @media not (prefers-reduced-motion) {
3136 .block-editor-list-view-leaf[data-expanded=false] .block-editor-list-view__expander svg {
3137 transition: transform 0.2s ease;
3138 }
3139 }
3140
3141 .block-editor-list-view-drop-indicator {
3142 pointer-events: none;
3143 }
3144 .block-editor-list-view-drop-indicator .block-editor-list-view-drop-indicator__line {
3145 background: var(--wp-admin-theme-color);
3146 height: 4px;
3147 border-radius: 4px;
3148 }
3149
3150 .block-editor-list-view-drop-indicator--preview {
3151 pointer-events: none;
3152 }
3153 .block-editor-list-view-drop-indicator--preview .components-popover__content {
3154 overflow: hidden !important;
3155 }
3156 .block-editor-list-view-drop-indicator--preview .block-editor-list-view-drop-indicator__line {
3157 background: rgba(var(--wp-admin-theme-color--rgb), 0.04);
3158 height: 32px;
3159 border-radius: 4px;
3160 overflow: hidden;
3161 }
3162 .block-editor-list-view-drop-indicator--preview .block-editor-list-view-drop-indicator__line--darker {
3163 background: rgba(var(--wp-admin-theme-color--rgb), 0.09);
3164 }
3165
3166 .block-editor-list-view-placeholder {
3167 padding: 0;
3168 margin: 0;
3169 height: 32px;
3170 }
3171
3172 .list-view-appender .block-editor-inserter__toggle {
3173 background-color: #1e1e1e;
3174 color: #fff;
3175 margin: 8px 0 0 24px;
3176 height: 24px;
3177 padding: 0;
3178 }
3179 .list-view-appender .block-editor-inserter__toggle.has-icon.is-next-40px-default-size {
3180 min-width: 24px;
3181 }
3182 .list-view-appender .block-editor-inserter__toggle:hover, .list-view-appender .block-editor-inserter__toggle:focus {
3183 background: var(--wp-admin-theme-color);
3184 color: #fff;
3185 }
3186
3187 .list-view-appender__description {
3188 display: none;
3189 }
3190
3191 .block-editor-media-placeholder__url-input-form {
3192 min-width: 260px;
3193 }
3194 @media (min-width: 600px) {
3195 .block-editor-media-placeholder__url-input-form {
3196 width: 300px;
3197 }
3198 }
3199 .block-editor-media-placeholder__url-input-form input {
3200 /* rtl:ignore */
3201 direction: ltr;
3202 }
3203
3204 .modal-open .block-editor-media-replace-flow__options {
3205 z-index: 99999;
3206 }
3207
3208 .block-editor-media-replace-flow__indicator {
3209 margin-left: 4px;
3210 }
3211
3212 .block-editor-media-replace-flow__media-upload-menu:not(:empty) + .block-editor-media-flow__url-input {
3213 border-top: 1px solid #ddd;
3214 margin-top: 8px;
3215 padding-bottom: 8px;
3216 }
3217
3218 .block-editor-media-replace-flow__options.is-variant-toolbar .block-editor-media-replace-flow__media-upload-menu:not(:empty) + .block-editor-media-flow__url-input {
3219 border-top-color: #1e1e1e;
3220 }
3221
3222 .block-editor-media-flow__url-input {
3223 margin-right: -8px;
3224 margin-left: -8px;
3225 padding: 16px;
3226 }
3227 .block-editor-media-flow__url-input .block-editor-media-replace-flow__image-url-label {
3228 display: block;
3229 top: 16px;
3230 margin-bottom: 8px;
3231 }
3232 .block-editor-media-flow__url-input .block-editor-link-control {
3233 width: 300px;
3234 }
3235 .block-editor-media-flow__url-input .block-editor-link-control .block-editor-url-input {
3236 padding: 0;
3237 margin: 0;
3238 }
3239 .block-editor-media-flow__url-input .block-editor-link-control .block-editor-link-control__tools {
3240 justify-content: flex-end;
3241 padding: 16px var(--wp-admin-border-width-focus) var(--wp-admin-border-width-focus);
3242 }
3243 .block-editor-media-flow__url-input .block-editor-link-control .block-editor-link-control__preview.is-current {
3244 width: auto;
3245 padding: 0;
3246 }
3247 .block-editor-media-flow__url-input .block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type=text] {
3248 margin: 0;
3249 width: 100%;
3250 }
3251 .block-editor-media-flow__url-input .block-editor-link-control .block-editor-link-control__search-actions {
3252 padding: 8px 0 0;
3253 }
3254
3255 .block-editor-multi-selection-inspector__card {
3256 padding: 16px;
3257 }
3258
3259 .block-editor-multi-selection-inspector__card-title {
3260 font-weight: var(--wpds-typography-font-weight-emphasis, 600);
3261 }
3262
3263 .block-editor-multi-selection-inspector__card .block-editor-block-icon {
3264 margin-left: -2px;
3265 padding: 0 3px;
3266 width: 36px;
3267 height: 24px;
3268 }
3269
3270 .block-editor-responsive-block-control {
3271 margin-bottom: 28px;
3272 border-bottom: 1px solid #ccc;
3273 padding-bottom: 14px;
3274 }
3275 .block-editor-responsive-block-control:last-child {
3276 padding-bottom: 0;
3277 border-bottom: 0;
3278 }
3279
3280 .block-editor-responsive-block-control__title {
3281 margin: 0;
3282 margin-bottom: 0.6em;
3283 margin-left: -3px;
3284 }
3285
3286 .block-editor-responsive-block-control__label {
3287 font-weight: var(--wpds-typography-font-weight-emphasis, 600);
3288 margin-bottom: 0.6em;
3289 margin-left: -3px;
3290 }
3291
3292 .block-editor-responsive-block-control__inner {
3293 margin-left: -1px;
3294 }
3295
3296 .block-editor-responsive-block-control__toggle {
3297 margin-left: 1px;
3298 }
3299
3300 .block-editor-responsive-block-control .components-base-control__help {
3301 border: 0;
3302 clip-path: inset(50%);
3303 height: 1px;
3304 margin: -1px;
3305 overflow: hidden;
3306 padding: 0;
3307 position: absolute;
3308 width: 1px;
3309 word-wrap: normal !important;
3310 word-break: normal !important;
3311 }
3312
3313 .preset-input-control__wrapper > * {
3314 flex: 1;
3315 }
3316 .preset-input-control__wrapper > .preset-input-control__icon,
3317 .preset-input-control__wrapper > .preset-input-control__custom-toggle {
3318 flex: none;
3319 }
3320
3321 .components-popover.block-editor-rich-text__inline-format-toolbar {
3322 z-index: 99998;
3323 }
3324 .components-popover.block-editor-rich-text__inline-format-toolbar .components-popover__content {
3325 width: auto;
3326 min-width: auto;
3327 margin-bottom: 8px;
3328 box-shadow: none;
3329 outline: none;
3330 border-radius: 2px;
3331 }
3332 .components-popover.block-editor-rich-text__inline-format-toolbar .components-toolbar {
3333 border-radius: 2px;
3334 }
3335 .components-popover.block-editor-rich-text__inline-format-toolbar .components-toolbar-group {
3336 background: none;
3337 }
3338 .components-popover.block-editor-rich-text__inline-format-toolbar .components-toolbar__control,
3339 .components-popover.block-editor-rich-text__inline-format-toolbar .components-dropdown-menu__toggle {
3340 min-width: 48px;
3341 min-height: 48px;
3342 padding-left: 12px;
3343 padding-right: 12px;
3344 }
3345
3346 .block-editor-rich-text__inline-format-toolbar-group .components-dropdown-menu__toggle {
3347 justify-content: center;
3348 }
3349
3350 .show-icon-labels .block-editor-rich-text__inline-format-toolbar-group .components-button.has-icon {
3351 width: auto;
3352 }
3353 .show-icon-labels .block-editor-rich-text__inline-format-toolbar-group .components-button.has-icon svg {
3354 display: none;
3355 }
3356 .show-icon-labels .block-editor-rich-text__inline-format-toolbar-group .components-button.has-icon::after {
3357 content: attr(aria-label);
3358 }
3359
3360 .block-editor-skip-to-selected-block {
3361 position: absolute;
3362 top: -9999em;
3363 }
3364 .block-editor-skip-to-selected-block:focus {
3365 font-size: 14px;
3366 font-weight: var(--wpds-typography-font-weight-emphasis, 600);
3367 background: #f1f1f1;
3368 z-index: 100000;
3369 }
3370
3371 .block-editor-tabbed-sidebar {
3372 background-color: #fff;
3373 height: 100%;
3374 display: flex;
3375 flex-direction: column;
3376 flex-grow: 1;
3377 overflow: hidden;
3378 }
3379
3380 .block-editor-tabbed-sidebar__tablist-and-close-button {
3381 border-bottom: 1px solid #ddd;
3382 display: flex;
3383 justify-content: space-between;
3384 padding-right: 8px;
3385 }
3386
3387 .block-editor-tabbed-sidebar__close-button {
3388 background: #fff;
3389 /* stylelint-disable-next-line property-disallowed-list -- This should be removed when https://github.com/WordPress/gutenberg/issues/59013 is fixed. */
3390 order: 1;
3391 align-self: center;
3392 }
3393
3394 .block-editor-tabbed-sidebar__tablist {
3395 margin-bottom: -1px;
3396 }
3397
3398 .block-editor-tabbed-sidebar__tabpanel {
3399 display: flex;
3400 flex-grow: 1;
3401 flex-direction: column;
3402 overflow-y: auto;
3403 scrollbar-gutter: auto;
3404 }
3405
3406 .block-editor-block-list__block .block-editor-url-input,
3407 .components-popover .block-editor-url-input,
3408 .block-editor-url-input {
3409 flex-grow: 1;
3410 position: relative;
3411 padding: 1px;
3412 }
3413 @media (min-width: 600px) {
3414 .block-editor-block-list__block .block-editor-url-input,
3415 .components-popover .block-editor-url-input,
3416 .block-editor-url-input {
3417 min-width: 300px;
3418 width: auto;
3419 }
3420 }
3421 .block-editor-block-list__block .block-editor-url-input.is-full-width,
3422 .components-popover .block-editor-url-input.is-full-width,
3423 .block-editor-url-input.is-full-width {
3424 width: 100%;
3425 }
3426 .block-editor-block-list__block .block-editor-url-input.is-full-width__suggestions,
3427 .components-popover .block-editor-url-input.is-full-width__suggestions,
3428 .block-editor-url-input.is-full-width__suggestions {
3429 width: 100%;
3430 }
3431 .block-editor-block-list__block .block-editor-url-input .components-spinner,
3432 .components-popover .block-editor-url-input .components-spinner,
3433 .block-editor-url-input .components-spinner {
3434 position: absolute;
3435 margin: 0;
3436 top: calc(50% - 16px / 2);
3437 right: 8px;
3438 }
3439
3440 .block-editor-url-input__suggestions {
3441 max-height: 200px;
3442 }
3443 @media not (prefers-reduced-motion) {
3444 .block-editor-url-input__suggestions {
3445 transition: all 0.15s ease-in-out;
3446 }
3447 }
3448 .block-editor-url-input__suggestions {
3449 padding: 4px 0;
3450 width: 302px;
3451 overflow-y: auto;
3452 }
3453
3454 .block-editor-url-input__suggestions,
3455 .block-editor-url-input .components-spinner {
3456 display: none;
3457 }
3458 @media (min-width: 600px) {
3459 .block-editor-url-input__suggestions,
3460 .block-editor-url-input .components-spinner {
3461 display: grid;
3462 }
3463 }
3464
3465 .block-editor-url-input__suggestion {
3466 min-height: 36px;
3467 height: auto;
3468 color: #757575;
3469 display: block;
3470 font-size: 13px;
3471 cursor: var(--wpds-cursor-control, pointer);
3472 background: #fff;
3473 width: 100%;
3474 border: none;
3475 text-align: left;
3476 box-shadow: none;
3477 }
3478 .block-editor-url-input__suggestion:hover {
3479 background: #ddd;
3480 }
3481 .block-editor-url-input__suggestion:focus, .block-editor-url-input__suggestion.is-selected {
3482 background: var(--wp-admin-theme-color-darker-20);
3483 color: #fff;
3484 outline: none;
3485 }
3486
3487 .components-toolbar-group > .block-editor-url-input__button,
3488 .components-toolbar > .block-editor-url-input__button {
3489 position: inherit;
3490 }
3491
3492 .block-editor-url-input__button .block-editor-url-input__back {
3493 margin-right: 4px;
3494 overflow: visible;
3495 }
3496 .block-editor-url-input__button .block-editor-url-input__back::after {
3497 content: "";
3498 position: absolute;
3499 display: block;
3500 width: 1px;
3501 height: 24px;
3502 right: -1px;
3503 background: #ddd;
3504 }
3505
3506 .block-editor-url-input__button-modal {
3507 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);
3508 border: 1px solid #ddd;
3509 background: #fff;
3510 }
3511
3512 .block-editor-url-input__button-modal-line {
3513 display: flex;
3514 flex-direction: row;
3515 flex-grow: 1;
3516 flex-shrink: 1;
3517 min-width: 0;
3518 align-items: flex-start;
3519 }
3520
3521 .block-editor-url-popover__additional-controls {
3522 border-top: 1px solid #1e1e1e;
3523 padding: 8px 8px;
3524 }
3525
3526 .block-editor-url-popover__input-container {
3527 padding: 8px;
3528 }
3529
3530 .block-editor-url-popover__row {
3531 display: flex;
3532 gap: 4px;
3533 align-items: center;
3534 }
3535
3536 .block-editor-url-popover__row > :not(.block-editor-url-popover__settings-toggle) {
3537 flex-grow: 1;
3538 gap: 8px;
3539 }
3540
3541 .block-editor-url-popover__additional-controls .components-button.has-icon {
3542 padding-left: 8px;
3543 padding-right: 8px;
3544 height: auto;
3545 text-align: left;
3546 }
3547 .block-editor-url-popover__additional-controls .components-button.has-icon > svg {
3548 margin-right: 8px;
3549 }
3550
3551 .block-editor-url-popover__settings-toggle {
3552 flex-shrink: 0;
3553 }
3554 .block-editor-url-popover__settings-toggle[aria-expanded=true] .dashicon {
3555 transform: rotate(180deg);
3556 }
3557
3558 .block-editor-url-popover__settings {
3559 display: block;
3560 padding: 16px;
3561 border-top: 1px solid #1e1e1e;
3562 }
3563
3564 .block-editor-url-popover__link-editor,
3565 .block-editor-url-popover__link-viewer {
3566 display: flex;
3567 }
3568
3569 .block-editor-url-popover__link-viewer-url {
3570 display: flex;
3571 align-items: center;
3572 flex-grow: 1;
3573 flex-shrink: 1;
3574 overflow: hidden;
3575 text-overflow: ellipsis;
3576 white-space: nowrap;
3577 margin-right: 8px;
3578 min-width: 150px;
3579 max-width: 350px;
3580 }
3581 .block-editor-url-popover__link-viewer-url.has-invalid-link {
3582 color: #cc1818;
3583 }
3584
3585 .block-editor-url-popover__expand-on-click {
3586 display: flex;
3587 align-items: center;
3588 min-width: 350px;
3589 white-space: nowrap;
3590 }
3591 .block-editor-url-popover__expand-on-click .text {
3592 flex-grow: 1;
3593 }
3594 .block-editor-url-popover__expand-on-click .text p {
3595 margin: 0;
3596 line-height: 16px;
3597 }
3598 .block-editor-url-popover__expand-on-click .text p.description {
3599 color: #757575;
3600 font-size: 12px;
3601 }
3602
3603 .background-block-support-panel {
3604 /* Increased specificity required to remove the slot wrapper's row gap */
3605 }
3606 .background-block-support-panel.background-block-support-panel .background-block-support-panel__inner-wrapper {
3607 row-gap: 0;
3608 }
3609
3610 .block-editor-content-only-controls__link {
3611 width: 100%;
3612 border-color: #ccc;
3613 }
3614
3615 .block-editor-content-only-controls__link-row {
3616 align-items: center;
3617 }
3618
3619 .block-editor-content-only-controls__link-title {
3620 width: 100%;
3621 white-space: nowrap;
3622 text-overflow: ellipsis;
3623 overflow: hidden;
3624 }
3625
3626 .block-editor-content-only-controls__media {
3627 width: 100%;
3628 border-color: #ccc;
3629 padding-right: 32px;
3630 }
3631
3632 .block-editor-content-only-controls__media-replace-flow {
3633 display: block;
3634 }
3635
3636 .block-editor-content-only-controls__media-row {
3637 align-items: center;
3638 }
3639
3640 .block-editor-content-only-controls__media-placeholder {
3641 width: 24px;
3642 height: 24px;
3643 border-radius: 2px;
3644 box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2);
3645 display: inline-block;
3646 padding: 0;
3647 background: #fff linear-gradient(-45deg, transparent 48%, #ddd 48%, #ddd 52%, transparent 52%);
3648 }
3649
3650 .block-editor-content-only-controls__media-title {
3651 width: 100%;
3652 white-space: nowrap;
3653 text-overflow: ellipsis;
3654 overflow: hidden;
3655 }
3656
3657 .block-editor-content-only-controls__media-thumbnail {
3658 width: 20px;
3659 height: 20px;
3660 border-radius: 2px;
3661 align-self: center;
3662 overflow: hidden;
3663 }
3664 .block-editor-content-only-controls__media-thumbnail img {
3665 width: 100% !important;
3666 height: 100% !important;
3667 -o-object-fit: cover;
3668 object-fit: cover;
3669 }
3670
3671 .block-editor-content-only-controls {
3672 position: relative;
3673 }
3674
3675 .block-editor-content-only-controls__media-reset {
3676 position: absolute;
3677 right: 0;
3678 top: 8px;
3679 margin: auto 8px auto;
3680 opacity: 0;
3681 border-radius: 2px;
3682 }
3683 @media not (prefers-reduced-motion) {
3684 .block-editor-content-only-controls__media-reset {
3685 transition: opacity 0.1s ease-in-out;
3686 }
3687 }
3688 .block-editor-content-only-controls:hover .block-editor-content-only-controls__media-reset, .block-editor-content-only-controls__media-reset:focus, .block-editor-content-only-controls__media-reset:hover {
3689 opacity: 1;
3690 }
3691 @media (hover: none) {
3692 .block-editor-content-only-controls__media-reset {
3693 opacity: 1;
3694 }
3695 }
3696
3697 .block-editor-content-only-controls__rich-text {
3698 width: 100%;
3699 margin: 0;
3700 background: #fff;
3701 color: #1e1e1e;
3702 font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
3703 padding: 6px 8px;
3704 /* Fonts smaller than 16px causes mobile safari to zoom. */
3705 font-size: 16px;
3706 /* Override core line-height. To be reviewed. */
3707 line-height: normal;
3708 box-shadow: 0 0 0 transparent;
3709 border-radius: 2px;
3710 border: 1px solid #949494;
3711 }
3712 @media not (prefers-reduced-motion) {
3713 .block-editor-content-only-controls__rich-text {
3714 transition: box-shadow 0.1s linear;
3715 }
3716 }
3717 @media (min-width: 600px) {
3718 .block-editor-content-only-controls__rich-text {
3719 font-size: 13px;
3720 /* Override core line-height. To be reviewed. */
3721 line-height: normal;
3722 }
3723 }
3724 .block-editor-content-only-controls__rich-text:focus {
3725 border-color: var(--wp-admin-theme-color);
3726 box-shadow: 0 0 0 0.5px var(--wp-admin-theme-color);
3727 outline: 2px solid transparent;
3728 }
3729 .block-editor-content-only-controls__rich-text::-moz-placeholder {
3730 color: rgba(30, 30, 30, 0.62);
3731 }
3732 .block-editor-content-only-controls__rich-text::placeholder {
3733 color: rgba(30, 30, 30, 0.62);
3734 }
3735 .block-editor-content-only-controls__rich-text {
3736 border-color: #949494;
3737 }
3738 .block-editor-content-only-controls__rich-text::-moz-placeholder {
3739 color: color-mix(in srgb, #1e1e1e, transparent 38%);
3740 }
3741 .block-editor-content-only-controls__rich-text::placeholder {
3742 color: color-mix(in srgb, #1e1e1e, transparent 38%);
3743 }
3744 .block-editor-content-only-controls__rich-text {
3745 min-height: 40px;
3746 padding: 12px;
3747 }
3748
3749 .block-editor-block-fields__container {
3750 padding: 0 16px 16px;
3751 }
3752 .block-editor-block-fields__container:first-of-type {
3753 padding-block-start: 8px;
3754 /*
3755 * Add border for the entire content controls and remove the similar border
3756 * for tools panel.
3757 */
3758 border-block-start: 1px solid #e0e0e0;
3759 }
3760
3761 .block-editor-block-fields__header {
3762 padding: 8px 0;
3763 margin-bottom: 4px;
3764 }
3765
3766 .block-editor-block-fields__header-icon {
3767 flex: 0 0 24px;
3768 }
3769
3770 .block-editor-block-fields__header-title {
3771 flex: 1;
3772 /* Override the default margin on a h2 element. */
3773 margin: 0 !important;
3774 }
3775
3776 .block-editor-hooks__block-hooks {
3777 /**
3778 * Un-reverse the flex direction for the toggle's label.
3779 */
3780 }
3781 .block-editor-hooks__block-hooks .components-toggle-control .components-h-stack .components-h-stack {
3782 flex-direction: row;
3783 }
3784 .block-editor-hooks__block-hooks .block-editor-hooks__block-hooks-helptext {
3785 color: #757575;
3786 font-size: 12px;
3787 margin-bottom: 16px;
3788 }
3789
3790 .block-editor-hooks__position-control-item {
3791 /**
3792 * Try to make items match the width of the anchor, subtract any margin on
3793 * items to calculate the correct inner width.
3794 */
3795 max-inline-size: max(var(--anchor-width) - 2 * var(--wp-ui-popup-padding), 223px);
3796 }
3797
3798 .block-editor-hooks__position-control-item-hint {
3799 color: var(--wpds-color-foreground-content-neutral-weak, #707070);
3800 margin-block-start: 4px;
3801 }
3802
3803 div.block-editor-bindings__panel {
3804 grid-template-columns: repeat(auto-fit, minmax(100%, 1fr));
3805 }
3806 div.block-editor-bindings__panel button:hover .block-editor-bindings__item span {
3807 color: inherit;
3808 }
3809
3810 .border-block-support-panel .single-column {
3811 grid-column: span 1;
3812 }
3813
3814 .color-block-support-panel .block-editor-contrast-checker {
3815 grid-column: span 2;
3816 margin-top: 16px;
3817 }
3818 .color-block-support-panel {
3819 /* Increased specificity required to remove the slot wrapper's row gap */
3820 }
3821 .color-block-support-panel.color-block-support-panel .color-block-support-panel__inner-wrapper {
3822 row-gap: 0;
3823 }
3824
3825 .elements-block-support-panel {
3826 /* Increased specificity required to remove the slot wrapper's row gap */
3827 }
3828 .elements-block-support-panel.elements-block-support-panel .elements-block-support-panel__inner-wrapper {
3829 row-gap: 0;
3830 }
3831
3832 .dimensions-block-support-panel .single-column {
3833 grid-column: span 1;
3834 }
3835
3836 .block-editor-hooks__layout-constrained .components-base-control {
3837 margin-bottom: 0;
3838 }
3839
3840 .block-editor-hooks__layout-constrained-helptext {
3841 color: #757575;
3842 font-size: 12px;
3843 margin-bottom: 0;
3844 }
3845
3846 .layout-block-support-panel .block-editor-hooks__flex-layout-controls {
3847 grid-column: 1/-1;
3848 }
3849
3850 .block-editor-hooks__flex-layout-justification-controls,
3851 .block-editor-hooks__flex-layout-orientation-controls {
3852 margin-bottom: 12px;
3853 }
3854 .block-editor-hooks__flex-layout-justification-controls legend,
3855 .block-editor-hooks__flex-layout-orientation-controls legend {
3856 margin-bottom: 8px;
3857 }
3858
3859 .block-editor-hooks__grid-layout-columns-and-rows-controls,
3860 .block-editor-hooks__grid-layout-minimum-width-control {
3861 border: 0;
3862 padding: 0;
3863 margin: 0;
3864 }
3865
3866 .block-editor__spacing-visualizer {
3867 position: absolute;
3868 top: 0;
3869 bottom: 0;
3870 left: 0;
3871 right: 0;
3872 opacity: 0.5;
3873 border-color: var(--wp-admin-theme-color);
3874 border-style: solid;
3875 pointer-events: none;
3876 box-sizing: border-box;
3877 }
3878
3879 .typography-block-support-panel .single-column {
3880 grid-column: span 1;
3881 }
3882
3883 /**
3884 * Block Toolbar
3885 */
3886 .block-editor-block-toolbar {
3887 display: flex;
3888 flex-grow: 1;
3889 width: 100%;
3890 position: relative;
3891 overflow-y: hidden;
3892 overflow-x: auto;
3893 }
3894 @media not (prefers-reduced-motion) {
3895 .block-editor-block-toolbar {
3896 transition: border-color 0.1s linear, box-shadow 0.1s linear;
3897 }
3898 }
3899 @media (min-width: 600px) {
3900 .block-editor-block-toolbar {
3901 overflow: inherit;
3902 }
3903 }
3904 .block-editor-block-toolbar .components-toolbar-group,
3905 .block-editor-block-toolbar .components-toolbar {
3906 background: none;
3907 margin-top: -1px;
3908 margin-bottom: -1px;
3909 border: 0;
3910 border-right: 1px solid #ddd;
3911 }
3912 .block-editor-block-toolbar.is-connected .block-editor-block-switcher .components-button::before {
3913 background: color-mix(in srgb, var(--wp-block-synced-color) 10%, transparent);
3914 border-radius: 2px;
3915 }
3916 .block-editor-block-toolbar .components-button.block-editor-block-toolbar__block-icon-button[aria-disabled=true] {
3917 color: #1e1e1e;
3918 }
3919 .block-editor-block-toolbar .components-button.block-editor-block-toolbar__block-icon-button[aria-disabled=true]:hover {
3920 color: #1e1e1e;
3921 }
3922 .block-editor-block-toolbar.is-synced .block-editor-block-toolbar__block-icon, .block-editor-block-toolbar.is-connected .block-editor-block-toolbar__block-icon {
3923 color: var(--wp-block-synced-color);
3924 }
3925 .block-editor-block-toolbar > :last-child,
3926 .block-editor-block-toolbar > :last-child .components-toolbar-group,
3927 .block-editor-block-toolbar > :last-child .components-toolbar, .block-editor-block-toolbar:has(> :last-child:empty) > :nth-last-child(2), .block-editor-block-toolbar:has(> :last-child:empty) > :nth-last-child(2) .components-toolbar-group, .block-editor-block-toolbar:has(> :last-child:empty) > :nth-last-child(2) .components-toolbar {
3928 border-right: none;
3929 }
3930 .block-editor-block-toolbar .components-toolbar-group:empty {
3931 display: none;
3932 }
3933
3934 .block-editor-block-contextual-toolbar {
3935 position: sticky;
3936 top: 0;
3937 z-index: 31;
3938 display: block;
3939 width: 100%;
3940 background-color: #fff;
3941 flex-shrink: 3;
3942 }
3943 .block-editor-block-contextual-toolbar.components-accessible-toolbar {
3944 border: none;
3945 border-radius: 0;
3946 }
3947 .block-editor-block-contextual-toolbar.is-unstyled {
3948 box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.133);
3949 }
3950 .block-editor-block-contextual-toolbar .block-editor-block-toolbar {
3951 overflow: auto;
3952 overflow-y: hidden;
3953 }
3954 .block-editor-block-contextual-toolbar .block-editor-block-toolbar::-webkit-scrollbar {
3955 width: 12px;
3956 height: 12px;
3957 }
3958 .block-editor-block-contextual-toolbar .block-editor-block-toolbar::-webkit-scrollbar-track {
3959 background-color: transparent;
3960 }
3961 .block-editor-block-contextual-toolbar .block-editor-block-toolbar::-webkit-scrollbar-thumb {
3962 background-color: #e0e0e0;
3963 border-radius: 8px;
3964 border: 3px solid transparent;
3965 background-clip: padding-box;
3966 }
3967 .block-editor-block-contextual-toolbar .block-editor-block-toolbar:hover::-webkit-scrollbar-thumb, .block-editor-block-contextual-toolbar .block-editor-block-toolbar:focus::-webkit-scrollbar-thumb, .block-editor-block-contextual-toolbar .block-editor-block-toolbar:focus-within::-webkit-scrollbar-thumb {
3968 background-color: #949494;
3969 }
3970 .block-editor-block-contextual-toolbar .block-editor-block-toolbar {
3971 scrollbar-width: thin;
3972 scrollbar-gutter: stable both-edges;
3973 scrollbar-color: #e0e0e0 transparent;
3974 }
3975 .block-editor-block-contextual-toolbar .block-editor-block-toolbar:hover, .block-editor-block-contextual-toolbar .block-editor-block-toolbar:focus, .block-editor-block-contextual-toolbar .block-editor-block-toolbar:focus-within {
3976 scrollbar-color: #949494 transparent;
3977 }
3978 .block-editor-block-contextual-toolbar .block-editor-block-toolbar {
3979 will-change: transform;
3980 }
3981 @media (hover: none) {
3982 .block-editor-block-contextual-toolbar .block-editor-block-toolbar {
3983 scrollbar-color: #949494 transparent;
3984 }
3985 }
3986 .block-editor-block-contextual-toolbar .block-editor-block-toolbar {
3987 scrollbar-gutter: auto;
3988 }
3989 .block-editor-block-contextual-toolbar .block-editor-block-toolbar > :last-child::after,
3990 .block-editor-block-contextual-toolbar .block-editor-block-toolbar > :last-child .components-toolbar-group::after,
3991 .block-editor-block-contextual-toolbar .block-editor-block-toolbar > :last-child .components-toolbar::after {
3992 display: none;
3993 }
3994 .block-editor-block-contextual-toolbar > .block-editor-block-toolbar {
3995 flex-grow: initial;
3996 width: initial;
3997 }
3998 .block-editor-block-contextual-toolbar .block-editor-block-parent-selector {
3999 position: relative;
4000 margin-top: -1px;
4001 margin-bottom: -1px;
4002 }
4003 .block-editor-block-contextual-toolbar .block-editor-block-parent-selector::after {
4004 align-items: center;
4005 background-color: #1e1e1e;
4006 border-radius: 100%;
4007 content: "";
4008 display: inline-flex;
4009 height: 2px;
4010 position: absolute;
4011 top: 15px;
4012 width: 2px;
4013 }
4014
4015 .block-editor-block-toolbar__block-controls .components-toolbar-group {
4016 padding: 0;
4017 }
4018
4019 .block-editor-block-toolbar__pattern-overrides-popover .components-popover__content {
4020 min-width: 260px;
4021 padding: 16px;
4022 }
4023
4024 .block-editor-block-toolbar .components-toolbar-group,
4025 .block-editor-block-toolbar .components-toolbar,
4026 .block-editor-rich-text__inline-format-toolbar-group .components-toolbar-group,
4027 .block-editor-rich-text__inline-format-toolbar-group .components-toolbar {
4028 display: flex;
4029 flex-wrap: nowrap;
4030 }
4031
4032 .block-editor-block-toolbar__slot {
4033 display: inline-flex;
4034 }
4035
4036 .show-icon-labels .block-editor-block-toolbar .components-button.has-icon:where(:not(.has-text)) {
4037 width: auto;
4038 }
4039 .show-icon-labels .block-editor-block-toolbar .components-button.has-icon:where(:not(.has-text)) svg {
4040 display: none;
4041 }
4042 .show-icon-labels .block-editor-block-toolbar .components-button.has-icon:where(:not(.has-text))::after {
4043 content: attr(aria-label);
4044 font-size: 12px;
4045 }
4046 .show-icon-labels .block-editor-block-toolbar .block-editor-block-icon {
4047 width: 0 !important;
4048 height: 0 !important;
4049 min-width: 0 !important;
4050 }
4051 .show-icon-labels .components-accessible-toolbar .components-toolbar-group > div:first-child:last-child > .components-button.has-icon {
4052 padding-left: 6px;
4053 padding-right: 6px;
4054 }
4055 .show-icon-labels .block-editor-block-parent-selector .block-editor-block-parent-selector__button {
4056 border-top-right-radius: 0;
4057 border-bottom-right-radius: 0;
4058 padding-left: 12px;
4059 padding-right: 12px;
4060 text-wrap: nowrap;
4061 }
4062 .show-icon-labels .block-editor-block-parent-selector .block-editor-block-parent-selector__button .block-editor-block-icon {
4063 width: 0;
4064 }
4065 .show-icon-labels .block-editor-block-mover .block-editor-block-mover__move-button-container {
4066 width: auto;
4067 position: relative;
4068 }
4069 @media (min-width: 600px) {
4070 .show-icon-labels .block-editor-block-mover:not(.is-horizontal) .block-editor-block-mover__move-button-container::before {
4071 content: "";
4072 height: 1px;
4073 width: 100%;
4074 background: #e0e0e0;
4075 position: absolute;
4076 top: 50%;
4077 left: 50%;
4078 transform: translate(-50%, 0);
4079 margin-top: -0.5px;
4080 }
4081 }
4082 @media (min-width: 782px) {
4083 .show-icon-labels .block-editor-block-mover:not(.is-horizontal) .block-editor-block-mover__move-button-container::before {
4084 background: #1e1e1e;
4085 }
4086 }
4087 .show-icon-labels .block-editor-block-mover.is-horizontal .block-editor-block-mover__move-button-container,
4088 .show-icon-labels .block-editor-block-mover.is-horizontal .block-editor-block-mover-button {
4089 padding-left: 6px;
4090 padding-right: 6px;
4091 }
4092 .show-icon-labels .block-editor-block-mover:not(.is-horizontal) .block-editor-block-mover-button {
4093 padding-left: 8px;
4094 padding-right: 8px;
4095 }
4096 .show-icon-labels .block-editor-block-toolbar__block-controls .block-editor-block-mover {
4097 border-left: 1px solid #ddd;
4098 margin-left: 6px;
4099 margin-right: -6px;
4100 white-space: nowrap;
4101 }
4102 .show-icon-labels .block-editor-block-mover .block-editor-block-mover__drag-handle.has-icon {
4103 padding-left: 12px;
4104 padding-right: 12px;
4105 }
4106 .show-icon-labels .block-editor-block-contextual-toolbar .block-editor-block-mover.is-horizontal .block-editor-block-mover-button.block-editor-block-mover-button {
4107 width: auto;
4108 }
4109 .show-icon-labels .components-toolbar,
4110 .show-icon-labels .components-toolbar-group {
4111 flex-shrink: 1;
4112 }
4113 .show-icon-labels .block-editor-rich-text__inline-format-toolbar-group .components-button + .components-button {
4114 margin-left: 6px;
4115 }
4116
4117 .block-editor-block-toolbar-change-design-content-wrapper {
4118 padding: 12px;
4119 width: 320px;
4120 }
4121 .block-editor-block-toolbar-change-design-content-wrapper .block-editor-block-patterns-list {
4122 display: grid;
4123 grid-template-columns: 1fr 1fr;
4124 grid-gap: 12px;
4125 }
4126 .block-editor-block-toolbar-change-design-content-wrapper .block-editor-block-patterns-list .block-editor-block-patterns-list__list-item {
4127 margin-bottom: 0;
4128 }
4129 .block-editor-block-toolbar-change-design-content-wrapper .block-editor-block-patterns-list .block-editor-inserter__media-list__list-item {
4130 min-height: 100px;
4131 }
4132
4133 .block-editor-inserter {
4134 display: inline-block;
4135 background: none;
4136 border: none;
4137 padding: 0;
4138 font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
4139 font-size: 13px;
4140 line-height: 0;
4141 }
4142 @media (min-width: 782px) {
4143 .block-editor-inserter {
4144 position: relative;
4145 }
4146 }
4147
4148 .block-editor-inserter__main-area {
4149 height: 100%;
4150 gap: 16px;
4151 position: relative;
4152 }
4153 .block-editor-inserter__main-area.show-as-tabs {
4154 gap: 0;
4155 }
4156 @media (min-width: 782px) {
4157 .block-editor-inserter__main-area .block-editor-tabbed-sidebar {
4158 width: 350px;
4159 }
4160 }
4161
4162 .block-editor-inserter__popover.is-quick .components-popover__content {
4163 border: none;
4164 outline: none;
4165 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);
4166 }
4167 .block-editor-inserter__popover.is-quick .components-popover__content .block-editor-inserter__quick-inserter > * {
4168 border-left: 1px solid #ccc;
4169 border-right: 1px solid #ccc;
4170 }
4171 .block-editor-inserter__popover.is-quick .components-popover__content .block-editor-inserter__quick-inserter > *:first-child {
4172 border-top: 1px solid #ccc;
4173 border-radius: 4px 4px 0 0;
4174 }
4175 .block-editor-inserter__popover.is-quick .components-popover__content .block-editor-inserter__quick-inserter > *:last-child {
4176 border-bottom: 1px solid #ccc;
4177 border-radius: 0 0 4px 4px;
4178 }
4179 .block-editor-inserter__popover.is-quick .components-popover__content .block-editor-inserter__quick-inserter > *.components-button {
4180 border: 1px solid #1e1e1e;
4181 }
4182
4183 .block-editor-inserter__popover .block-editor-inserter__menu {
4184 margin: -12px;
4185 }
4186 .block-editor-inserter__popover .block-editor-inserter__menu .block-editor-inserter__tablist {
4187 top: 60px;
4188 }
4189 .block-editor-inserter__popover .block-editor-inserter__menu .block-editor-inserter__main-area {
4190 overflow: visible;
4191 height: auto;
4192 }
4193 .block-editor-inserter__popover .block-editor-inserter__menu .block-editor-inserter__preview-container {
4194 display: none;
4195 }
4196
4197 .block-editor-inserter__toggle.components-button {
4198 display: inline-flex;
4199 align-items: center;
4200 cursor: var(--wpds-cursor-control, pointer);
4201 border: none;
4202 outline: none;
4203 padding: 0;
4204 }
4205 @media not (prefers-reduced-motion) {
4206 .block-editor-inserter__toggle.components-button {
4207 transition: color 0.2s ease;
4208 }
4209 }
4210
4211 .block-editor-inserter__menu {
4212 height: 100%;
4213 position: relative;
4214 overflow: visible;
4215 }
4216 @media (min-width: 782px) {
4217 .block-editor-inserter__menu.show-panel {
4218 width: 630px;
4219 }
4220 }
4221
4222 .block-editor-inserter__inline-elements {
4223 margin-top: -1px;
4224 }
4225
4226 .block-editor-inserter__menu.is-bottom::after {
4227 border-bottom-color: #fff;
4228 }
4229
4230 .components-popover.block-editor-inserter__popover {
4231 z-index: 99999;
4232 }
4233
4234 .block-editor-inserter__search {
4235 padding: 16px;
4236 position: sticky;
4237 top: 0;
4238 z-index: 2;
4239 background-color: #fff;
4240 border-bottom: 1px solid transparent;
4241 }
4242 @media not (prefers-reduced-motion) {
4243 .block-editor-inserter__search {
4244 transition: border-bottom-color 0.1s linear;
4245 }
4246 }
4247 .block-editor-inserter__search.is-scrolled {
4248 border-bottom-color: #e0e0e0;
4249 }
4250
4251 .block-editor-inserter__no-tab-container {
4252 overflow-y: auto;
4253 flex-grow: 1;
4254 position: relative;
4255 }
4256
4257 .block-editor-inserter__panel-header {
4258 position: relative;
4259 display: inline-flex;
4260 align-items: center;
4261 padding: 0 16px;
4262 }
4263
4264 .block-editor-inserter__panel-content {
4265 padding: 16px;
4266 }
4267
4268 .block-editor-inserter__panel-title,
4269 .block-editor-inserter__panel-title button {
4270 margin: 0 12px 0 0;
4271 color: #757575;
4272 text-transform: uppercase;
4273 font-size: 11px;
4274 font-weight: var(--wpds-typography-font-weight-emphasis, 600);
4275 }
4276
4277 .block-editor-inserter__panel-dropdown select.components-select-control__input.components-select-control__input.components-select-control__input {
4278 height: 36px;
4279 line-height: 36px;
4280 }
4281
4282 .block-editor-inserter__panel-dropdown select {
4283 border: none;
4284 }
4285
4286 .block-editor-inserter__reusable-blocks-panel {
4287 position: relative;
4288 text-align: right;
4289 }
4290
4291 .block-editor-inserter__no-results,
4292 .block-editor-inserter__patterns-loading {
4293 padding: 32px;
4294 text-align: center;
4295 }
4296
4297 .block-editor-inserter__child-blocks {
4298 padding: 0 16px;
4299 }
4300
4301 .block-editor-inserter__parent-block-header {
4302 display: flex;
4303 align-items: center;
4304 }
4305 .block-editor-inserter__parent-block-header h2 {
4306 font-size: 13px;
4307 }
4308 .block-editor-inserter__parent-block-header .block-editor-block-icon {
4309 margin-right: 8px;
4310 }
4311
4312 .block-editor-inserter__preview-container__popover {
4313 top: 16px !important;
4314 }
4315
4316 .block-editor-inserter__preview-container {
4317 display: none;
4318 width: 280px;
4319 padding: 16px;
4320 max-height: calc(100% - 32px);
4321 overflow-y: hidden;
4322 }
4323 @media (min-width: 782px) {
4324 .block-editor-inserter__preview-container {
4325 display: block;
4326 }
4327 }
4328 .block-editor-inserter__preview-container .block-editor-inserter__media-list__list-item {
4329 height: 100%;
4330 }
4331 .block-editor-inserter__preview-container .block-editor-block-card {
4332 padding-left: 0;
4333 padding-right: 0;
4334 padding-bottom: 4px;
4335 }
4336
4337 .block-editor-inserter__insertable-blocks-at-selection {
4338 border-bottom: 1px solid #e0e0e0;
4339 }
4340
4341 .block-editor-inserter__media-tabs-container,
4342 .block-editor-inserter__block-patterns-tabs-container {
4343 flex-grow: 1;
4344 padding: 0 16px 16px;
4345 display: flex;
4346 flex-direction: column;
4347 justify-content: space-between;
4348 }
4349
4350 .block-editor-inserter__media-tabs-container {
4351 padding-top: 16px;
4352 }
4353
4354 .block-editor-inserter__category-tablist {
4355 margin-bottom: 8px;
4356 }
4357
4358 .block-editor-inserter__category-panel {
4359 outline: 1px solid transparent;
4360 display: flex;
4361 flex-direction: column;
4362 padding: 0 16px;
4363 }
4364 @media (min-width: 782px) {
4365 .block-editor-inserter__category-panel {
4366 border-left: 1px solid #e0e0e0;
4367 padding: 0;
4368 left: 350px;
4369 width: 280px;
4370 position: absolute;
4371 top: -1px;
4372 height: calc(100% + 1px);
4373 background: #f0f0f0;
4374 border-top: 1px solid #e0e0e0;
4375 }
4376 .block-editor-inserter__category-panel .block-editor-inserter__media-list,
4377 .block-editor-inserter__category-panel .block-editor-block-patterns-list {
4378 padding: 0 24px 16px;
4379 }
4380 }
4381
4382 .block-editor-inserter__patterns-category-panel-header {
4383 padding: 8px 0;
4384 }
4385 @media (min-width: 782px) {
4386 .block-editor-inserter__patterns-category-panel-header {
4387 padding: 8px 24px;
4388 }
4389 }
4390
4391 .block-editor-inserter__patterns-category-no-results {
4392 margin-top: 24px;
4393 }
4394
4395 .block-editor-inserter__patterns-filter-help {
4396 padding: 16px;
4397 border-top: 1px solid #ddd;
4398 color: #757575;
4399 min-width: 280px;
4400 }
4401
4402 .block-editor-inserter__media-list,
4403 .block-editor-block-patterns-list {
4404 overflow-y: auto;
4405 flex-grow: 1;
4406 height: 100%;
4407 }
4408
4409 .block-editor-inserter__preview-content {
4410 background: #f0f0f0;
4411 display: grid;
4412 flex-grow: 1;
4413 align-items: center;
4414 }
4415
4416 .block-editor-inserter__preview-content-missing {
4417 flex: 1;
4418 display: flex;
4419 justify-content: center;
4420 align-items: center;
4421 min-height: 144px;
4422 color: #757575;
4423 background: #f0f0f0;
4424 border-radius: 2px;
4425 }
4426
4427 .block-editor-inserter__tips {
4428 border-top: 1px solid #ddd;
4429 padding: 16px;
4430 flex-shrink: 0;
4431 position: relative;
4432 }
4433
4434 .block-editor-inserter__quick-inserter {
4435 width: 100%;
4436 max-width: 100%;
4437 }
4438 @media (min-width: 782px) {
4439 .block-editor-inserter__quick-inserter {
4440 width: 350px;
4441 }
4442 }
4443
4444 .block-editor-inserter__quick-inserter-results .block-editor-inserter__panel-header {
4445 height: 0;
4446 padding: 0;
4447 float: left;
4448 }
4449
4450 .block-editor-inserter__quick-inserter.has-search .block-editor-inserter__panel-content,
4451 .block-editor-inserter__quick-inserter.has-expand .block-editor-inserter__panel-content {
4452 padding: 16px;
4453 }
4454
4455 .block-editor-inserter__quick-inserter-patterns .block-editor-block-patterns-list {
4456 display: grid;
4457 grid-template-columns: 1fr 1fr;
4458 grid-gap: 8px;
4459 }
4460 .block-editor-inserter__quick-inserter-patterns .block-editor-block-patterns-list .block-editor-block-patterns-list__list-item {
4461 margin-bottom: 0;
4462 }
4463 .block-editor-inserter__quick-inserter-patterns .block-editor-block-patterns-list .block-editor-inserter__media-list__list-item {
4464 min-height: 100px;
4465 }
4466
4467 .block-editor-inserter__quick-inserter-separator {
4468 border-top: 1px solid #ddd;
4469 }
4470
4471 .block-editor-inserter__popover.is-quick > .components-popover__content {
4472 padding: 0;
4473 }
4474
4475 .block-editor-inserter__quick-inserter-expand.components-button {
4476 display: block;
4477 background: #1e1e1e;
4478 color: #fff;
4479 width: 100%;
4480 border-radius: 0;
4481 }
4482 .block-editor-inserter__quick-inserter-expand.components-button:hover {
4483 color: #fff;
4484 }
4485 .block-editor-inserter__quick-inserter-expand.components-button:active {
4486 color: #ccc;
4487 }
4488 .block-editor-inserter__quick-inserter-expand.components-button.components-button:focus:not(:disabled) {
4489 box-shadow: none;
4490 background: var(--wp-admin-theme-color);
4491 border-color: var(--wp-admin-theme-color);
4492 }
4493
4494 .block-editor-block-patterns-explorer__sidebar {
4495 position: absolute;
4496 top: 72px;
4497 left: 0;
4498 bottom: 0;
4499 width: 280px;
4500 padding: 24px 24px 24px;
4501 overflow-x: visible;
4502 overflow-y: auto;
4503 }
4504 .block-editor-block-patterns-explorer__sidebar__categories-list__item {
4505 display: block;
4506 width: 100%;
4507 height: 48px;
4508 text-align: left;
4509 }
4510 .block-editor-block-patterns-explorer__search {
4511 margin-bottom: 32px;
4512 }
4513 .block-editor-block-patterns-explorer__search-results-count {
4514 padding-bottom: 32px;
4515 }
4516 .block-editor-block-patterns-explorer__list {
4517 margin-left: 280px;
4518 padding: 24px 0 32px;
4519 }
4520 .block-editor-block-patterns-explorer__list .block-editor-patterns__sync-status-filter .components-input-control__container {
4521 width: 380px;
4522 }
4523 .block-editor-block-patterns-explorer .block-editor-block-patterns-list {
4524 display: grid;
4525 grid-gap: 32px;
4526 grid-template-columns: repeat(1, 1fr);
4527 margin-bottom: 16px;
4528 }
4529 @media (min-width: 1080px) {
4530 .block-editor-block-patterns-explorer .block-editor-block-patterns-list {
4531 grid-template-columns: repeat(2, 1fr);
4532 }
4533 }
4534 @media (min-width: 1440px) {
4535 .block-editor-block-patterns-explorer .block-editor-block-patterns-list {
4536 grid-template-columns: repeat(3, 1fr);
4537 }
4538 }
4539 .block-editor-block-patterns-explorer .block-editor-block-patterns-list .block-editor-block-patterns-list__list-item {
4540 min-height: 240px;
4541 }
4542 .block-editor-block-patterns-explorer .block-editor-block-patterns-list .block-editor-inserter__media-list__list-item {
4543 height: inherit;
4544 min-height: 100px;
4545 max-height: 800px;
4546 }
4547
4548 .components-heading.block-editor-inserter__patterns-category-panel-title {
4549 font-weight: var(--wpds-typography-font-weight-emphasis, 600);
4550 }
4551
4552 .block-editor-inserter__patterns-explore-button.components-button,
4553 .block-editor-inserter__media-library-button.components-button {
4554 padding: 16px;
4555 justify-content: center;
4556 margin-top: 16px;
4557 width: 100%;
4558 }
4559
4560 .block-editor-inserter__media-mobile-screen {
4561 display: flex;
4562 flex-direction: column;
4563 align-self: stretch;
4564 }
4565
4566 .block-editor-inserter__media-panel {
4567 padding: 0 16px;
4568 display: flex;
4569 flex-direction: column;
4570 flex: 1;
4571 min-height: 0;
4572 }
4573 @media (min-width: 782px) {
4574 .block-editor-inserter__media-panel {
4575 padding: 0;
4576 flex: 0 1 auto;
4577 min-height: 100%;
4578 }
4579 }
4580 .block-editor-inserter__media-panel .block-editor-inserter__media-panel-spinner {
4581 height: 100%;
4582 display: flex;
4583 align-items: center;
4584 justify-content: center;
4585 flex: 1;
4586 }
4587 .block-editor-inserter__media-panel .block-editor-inserter__media-panel-search {
4588 margin-bottom: 24px;
4589 }
4590 @media (min-width: 782px) {
4591 .block-editor-inserter__media-panel .block-editor-inserter__media-panel-search {
4592 margin-bottom: 0;
4593 padding: 16px 24px 16px;
4594 }
4595 }
4596 .block-editor-inserter__media-panel .block-editor-inserter__no-results {
4597 flex-grow: 1;
4598 }
4599 .block-editor-inserter__media-panel .block-editor-inserter__media-panel-footer {
4600 flex-shrink: 0;
4601 padding-top: 16px;
4602 padding-bottom: 16px;
4603 }
4604 @media (min-width: 782px) {
4605 .block-editor-inserter__media-panel .block-editor-inserter__media-panel-footer {
4606 padding-left: 24px;
4607 padding-right: 24px;
4608 }
4609 }
4610 .block-editor-inserter__media-panel .block-editor-inserter__media-panel-attach.components-button {
4611 justify-content: center;
4612 padding: 16px;
4613 }
4614 .block-editor-inserter__media-panel .block-editor-inserter__media-panel-results {
4615 display: flex;
4616 flex-direction: column;
4617 flex-grow: 1;
4618 min-height: 0;
4619 }
4620 .block-editor-inserter__media-panel .block-editor-inserter__media-panel-results.is-loading .block-editor-inserter__media-list {
4621 opacity: 0.5;
4622 pointer-events: none;
4623 }
4624 @media not (prefers-reduced-motion) {
4625 .block-editor-inserter__media-panel .block-editor-inserter__media-panel-results.is-loading .block-editor-inserter__media-list {
4626 opacity: 1;
4627 animation: inserter-media-panel-pulse 1s ease-in-out infinite;
4628 }
4629 }
4630 .block-editor-inserter__media-panel.has-footer .block-editor-inserter__media-list {
4631 padding-bottom: 0;
4632 }
4633
4634 @keyframes inserter-media-panel-pulse {
4635 0%, 100% {
4636 opacity: 1;
4637 }
4638 50% {
4639 opacity: 0.5;
4640 }
4641 }
4642 .block-editor-inserter__media-panel-detach-modal {
4643 z-index: 1000001;
4644 }
4645 .block-editor-inserter__media-panel-detach-modal p {
4646 margin-top: 0;
4647 }
4648
4649 .block-editor-inserter__media-panel-detach-actions {
4650 display: flex;
4651 justify-content: flex-end;
4652 gap: 8px;
4653 margin-top: 16px;
4654 }
4655
4656 .block-editor-inserter__media-list__list-item {
4657 position: relative;
4658 cursor: var(--wpds-cursor-control, pointer);
4659 margin-bottom: 24px;
4660 }
4661 .block-editor-inserter__media-list__list-item.is-placeholder {
4662 min-height: 100px;
4663 }
4664 .block-editor-inserter__media-list__list-item[draggable=true] .block-editor-inserter__media-list__list-item {
4665 cursor: grab;
4666 }
4667 .block-editor-inserter__media-list__list-item.is-hovered .block-editor-inserter__media-list__item-preview > * {
4668 outline-color: rgba(0, 0, 0, 0.3);
4669 }
4670 .block-editor-inserter__media-list__list-item.is-hovered .block-editor-inserter__media-list__item-preview-options > button, .block-editor-inserter__media-list__list-item:focus-within .block-editor-inserter__media-list__item-preview-options > button {
4671 display: block;
4672 }
4673 .block-editor-inserter__media-list__list-item .block-editor-inserter__media-list__item-preview-options {
4674 position: absolute;
4675 right: 8px;
4676 top: 8px;
4677 }
4678 .block-editor-inserter__media-list__list-item .block-editor-inserter__media-list__item-preview-options > button {
4679 background: #fff;
4680 display: none;
4681 }
4682 .block-editor-inserter__media-list__list-item .block-editor-inserter__media-list__item-preview-options > button.is-opened, .block-editor-inserter__media-list__list-item .block-editor-inserter__media-list__item-preview-options > button:focus {
4683 display: block;
4684 }
4685 .block-editor-inserter__media-list__list-item .block-editor-inserter__media-list__item-preview-options > button:hover {
4686 box-shadow: inset 0 0 0 2px #fff, 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
4687 outline: 2px solid transparent;
4688 }
4689
4690 .block-editor-inserter__media-list__item {
4691 height: 100%;
4692 }
4693 .block-editor-inserter__media-list__item .block-editor-inserter__media-list__item-preview {
4694 display: flex;
4695 align-items: center;
4696 overflow: hidden;
4697 border-radius: 2px;
4698 }
4699 .block-editor-inserter__media-list__item .block-editor-inserter__media-list__item-preview > * {
4700 margin: 0 auto;
4701 max-width: 100%;
4702 outline: 1px solid rgba(0, 0, 0, 0.1);
4703 outline-offset: -1px;
4704 }
4705 .block-editor-inserter__media-list__item .block-editor-inserter__media-list__item-preview .block-editor-inserter__media-list__item-preview-spinner {
4706 display: flex;
4707 height: 100%;
4708 width: 100%;
4709 position: absolute;
4710 justify-content: center;
4711 background: rgba(255, 255, 255, 0.7);
4712 align-items: center;
4713 pointer-events: none;
4714 }
4715 .block-editor-inserter__media-list__item:focus .block-editor-inserter__media-list__item-preview > * {
4716 outline-color: var(--wp-admin-theme-color);
4717 outline-width: var(--wp-admin-border-width-focus);
4718 outline-offset: calc(-1 * var(--wp-admin-border-width-focus));
4719 }
4720 @media not (prefers-reduced-motion) {
4721 .block-editor-inserter__media-list__item:focus .block-editor-inserter__media-list__item-preview > * {
4722 transition: outline 0.1s linear;
4723 }
4724 }
4725
4726 .block-editor-inserter__media-list__item-preview-options__popover .components-menu-item__button .components-menu-item__item {
4727 min-width: auto;
4728 }
4729
4730 .block-editor-inserter__mobile-tab-navigation {
4731 padding: 16px;
4732 height: 100%;
4733 }
4734 .block-editor-inserter__mobile-tab-navigation > * {
4735 height: 100%;
4736 }
4737
4738 @media (min-width: 600px) {
4739 .block-editor-inserter-media-tab-media-preview-inserter-external-image-modal {
4740 max-width: 480px;
4741 }
4742 }
4743 .block-editor-inserter-media-tab-media-preview-inserter-external-image-modal p {
4744 margin: 0;
4745 }
4746
4747 .block-editor-inserter__hint {
4748 margin: 16px 16px 0;
4749 }
4750
4751 .block-editor-patterns__sync-status-filter .components-input-control__container select.components-select-control__input {
4752 height: 40px;
4753 }
4754
4755 .block-editor-inserter__pattern-panel-placeholder {
4756 display: none;
4757 }
4758
4759 .block-editor-inserter__menu.is-zoom-out {
4760 display: flex;
4761 }
4762 @media (min-width: 782px) {
4763 .block-editor-inserter__menu.is-zoom-out.show-panel::after {
4764 content: "";
4765 display: block;
4766 width: 300px;
4767 height: 100%;
4768 }
4769 }
4770
4771 @media (max-width: 959px) {
4772 .show-icon-labels .block-editor-block-patterns-explorer .block-editor-patterns__grid-pagination {
4773 flex-direction: column;
4774 }
4775 .show-icon-labels .block-editor-block-patterns-explorer .block-editor-patterns__grid-pagination .block-editor-patterns__grid-pagination-previous,
4776 .show-icon-labels .block-editor-block-patterns-explorer .block-editor-patterns__grid-pagination .block-editor-patterns__grid-pagination-next {
4777 flex-direction: column;
4778 }
4779 }
4780 .show-icon-labels .block-editor-inserter__category-panel .block-editor-patterns__grid-pagination {
4781 flex-direction: column;
4782 }
4783 .show-icon-labels .block-editor-inserter__category-panel .block-editor-patterns__grid-pagination .block-editor-patterns__grid-pagination-previous,
4784 .show-icon-labels .block-editor-inserter__category-panel .block-editor-patterns__grid-pagination .block-editor-patterns__grid-pagination-next {
4785 flex-direction: column;
4786 }
4787
4788 .block-editor-tabbed-sidebar__tabpanel .block-editor-inserter__help-text {
4789 display: none;
4790 padding: 0 24px 16px;
4791 }
4792 @media (min-width: 480px) {
4793 .block-editor-tabbed-sidebar__tabpanel .block-editor-inserter__help-text {
4794 display: block;
4795 }
4796 }
4797
4798 .spacing-sizes-control {
4799 border: 0;
4800 padding: 0;
4801 margin: 0;
4802 }
4803 .spacing-sizes-control .spacing-sizes-control__unit-control,
4804 .spacing-sizes-control .spacing-sizes-control__label {
4805 margin-bottom: 0;
4806 }
4807 .spacing-sizes-control .spacing-sizes-control__preset-range,
4808 .spacing-sizes-control .spacing-sizes-control__custom-value-range {
4809 flex: 1;
4810 margin-bottom: 0;
4811 }
4812
4813 .spacing-sizes-control__header {
4814 height: 16px;
4815 margin-bottom: 12px;
4816 }
4817
4818 .spacing-sizes-control__wrapper {
4819 align-items: center;
4820 }
4821
4822 .spacing-sizes-control__dropdown {
4823 height: 24px;
4824 }
4825
4826 .spacing-sizes-control__wrapper .preset-input-control__icon {
4827 margin-left: -4px;
4828 }
4829
4830 .block-editor-block-visibility-modal {
4831 z-index: 1000001;
4832 }
4833 .block-editor-block-visibility-modal__options {
4834 border: 0;
4835 padding: 0;
4836 list-style: none;
4837 margin: 24px 0;
4838 }
4839 .block-editor-block-visibility-modal__options-item {
4840 display: flex;
4841 align-items: center;
4842 justify-content: space-between;
4843 margin: 0 0 16px 0;
4844 gap: 24px;
4845 }
4846 .block-editor-block-visibility-modal__options-item:last-child {
4847 margin: 0;
4848 }
4849 .block-editor-block-visibility-modal__options-item--everywhere {
4850 flex-direction: column;
4851 align-items: start;
4852 }
4853 .block-editor-block-visibility-modal__options-checkbox--everywhere {
4854 font-weight: var(--wpds-typography-font-weight-emphasis, 600);
4855 }
4856 .block-editor-block-visibility-modal__options-icon--checked {
4857 fill: #ddd;
4858 }
4859 .block-editor-block-visibility-modal__sub-options {
4860 width: 100%;
4861 padding-inline-start: 12px;
4862 }
4863 .block-editor-block-visibility-modal__description {
4864 font-size: 12px;
4865 color: #757575;
4866 }
4867
4868 .block-editor-block-visibility-info {
4869 padding-top: 4px;
4870 padding-bottom: 4px;
4871 margin: 0 16px 16px;
4872 display: flex;
4873 align-items: center;
4874 justify-content: start;
4875 }