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

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

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