PluginProbe
Gutenberg / trunk
Gutenberg vtrunk
24.1.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 All 404 releases
← All changes | build/styles/block-editor/content.css +70 -56 23.0.1 → trunk View file →
@@ -67,8 +67,14 @@
67 67 /**
68 68 * Focus styles.
69 69 */
70 70 /**
71 + * Standard focus rings for the WordPress Design System.
72 + *
73 + * Apply `outset-ring__focus` inside the relevant pseudo-class at the call site,
74 + * e.g. `&:focus { @include outset-ring__focus(); }`.
75 + */
76 +/**
71 77 * Applies editor left position to the selector passed as argument
72 78 */
73 79 /**
74 80 * Styles that are reused verbatim in a few places
@@ -115,13 +121,8 @@
115 121 }
116 122 .block-editor-block-icon.has-colors svg {
117 123 fill: currentColor;
118 124 }
119 -@media (forced-colors: active) {
120 - .block-editor-block-icon.has-colors svg {
121 - fill: CanvasText;
122 - }
123 -}
124 125 .block-editor-block-icon svg {
125 126 min-width: 20px;
126 127 min-height: 20px;
127 128 max-width: 24px;
@@ -181,13 +182,17 @@
181 182 outline-color: transparent;
182 183 }
183 184 .block-editor-block-list__layout .block-editor-block-list__block.is-highlighted,
184 185 .block-editor-block-list__layout .block-editor-block-list__block.is-highlighted ~ .is-multi-selected,
186 +.block-editor-block-list__layout .block-editor-block-list__block.is-hovered-draggable[draggable=true]:not(.is-multi-selected),
187 +.block-editor-block-list__layout .block-editor-block-list__block.is-hovered-draggable[data-draggable=true]:not(.is-multi-selected),
185 188 .block-editor-block-list__layout .block-editor-block-list__block:not([contenteditable=true]):focus {
186 189 outline: none;
187 190 }
188 191 .block-editor-block-list__layout .block-editor-block-list__block.is-highlighted::after,
189 192 .block-editor-block-list__layout .block-editor-block-list__block.is-highlighted ~ .is-multi-selected::after,
193 +.block-editor-block-list__layout .block-editor-block-list__block.is-hovered-draggable[draggable=true]:not(.is-multi-selected)::after,
194 +.block-editor-block-list__layout .block-editor-block-list__block.is-hovered-draggable[data-draggable=true]:not(.is-multi-selected)::after,
190 195 .block-editor-block-list__layout .block-editor-block-list__block:not([contenteditable=true]):focus::after {
191 196 content: "";
192 197 position: absolute;
193 198 pointer-events: none;
@@ -235,11 +240,8 @@
235 240 }
236 241 .block-editor-block-list__layout .block-editor-block-list__block.has-negative-margin.is-selected, .block-editor-block-list__layout .block-editor-block-list__block.has-negative-margin.has-child-selected {
237 242 z-index: 20;
238 243 }
239 -.block-editor-block-list__layout .block-editor-block-list__block .reusable-block-edit-panel * {
240 - z-index: 1;
241 -}
242 244 .block-editor-block-list__layout .block-editor-block-list__block {
243 245 /**
244 246 * Notices
245 247 */
@@ -250,11 +252,8 @@
250 252 .block-editor-block-list__layout .block-editor-block-list__block .components-with-notices-ui {
251 253 margin: 0 0 12px 0;
252 254 width: 100%;
253 255 }
254 -.block-editor-block-list__layout .block-editor-block-list__block .components-with-notices-ui .components-notice .components-notice__content {
255 - font-size: 13px;
256 -}
257 256 .block-editor-block-list__layout .block-editor-block-list__block.has-warning {
258 257 min-height: 48px;
259 258 }
260 259 .block-editor-block-list__layout .block-editor-block-list__block.has-warning > * {
@@ -367,9 +366,9 @@
367 366 .wp-block[data-align=left] > *,
368 367 .wp-block[data-align=right] > *,
369 368 .wp-block.alignleft,
370 369 .wp-block.alignright {
371 - z-index: 21;
370 + z-index: 9;
372 371 }
373 372
374 373 .wp-site-blocks > [data-align=left] {
375 374 float: left;
@@ -410,16 +409,8 @@
410 409 animation-fill-mode: forwards;
411 410 }
412 411 }
413 412
414 -.block-editor-block-list__block:not(.is-selected):not(.has-child-selected) .block-editor-default-block-appender {
415 - display: none;
416 -}
417 -.block-editor-block-list__block:not(.is-selected):not(.has-child-selected) .block-editor-default-block-appender .block-editor-inserter__toggle {
418 - opacity: 0;
419 - transform: scale(0);
420 -}
421 -
422 413 .block-editor-block-list__block .block-editor-block-list__block-html-textarea {
423 414 display: block;
424 415 margin: 0;
425 416 padding: 12px;
@@ -429,9 +420,10 @@
429 420 border-radius: 2px;
430 421 box-sizing: border-box;
431 422 box-shadow: inset 0 0 0 1px #1e1e1e;
432 423 resize: none;
433 - overflow: hidden;
424 + field-sizing: content;
425 + overflow: auto;
434 426 font-family: Menlo, Consolas, monaco, monospace;
435 427 font-size: 15px;
436 428 line-height: 1.5;
437 429 /*rtl:ignore*/
@@ -462,11 +454,11 @@
462 454 align-items: center;
463 455 justify-content: center;
464 456 overflow: hidden;
465 457 font-size: 13px;
466 - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
458 + font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
467 459 color: #000;
468 - font-weight: normal;
460 + font-weight: 400;
469 461 }
470 462 .is-zoomed-out .block-editor-block-list__zoom-out-separator {
471 463 font-size: calc(13px / var(--wp-block-editor-iframe-zoom-out-scale));
472 464 }
@@ -534,13 +526,8 @@
534 526 .block-editor-block-list__layout .is-dragging::after {
535 527 content: none !important;
536 528 }
537 529
538 -.wp-block img:not([draggable]),
539 -.wp-block svg:not([draggable]) {
540 - pointer-events: none;
541 -}
542 -
543 530 .block-editor-block-preview__content-iframe .block-list-appender {
544 531 display: none;
545 532 }
546 533
@@ -574,9 +561,10 @@
574 561 }
575 562 .block-editor-block-variation-picker__variations svg,
576 563 .block-editor-block-variation-picker__skip svg,
577 564 .wp-block-group-placeholder__variations svg {
578 - fill: #949494 !important;
565 + fill: #949494;
566 + color: #949494 !important;
579 567 }
580 568 .block-editor-block-variation-picker__variations .components-button,
581 569 .block-editor-block-variation-picker__skip .components-button,
582 570 .wp-block-group-placeholder__variations .components-button {
@@ -589,9 +577,10 @@
589 577 }
590 578 .block-editor-block-variation-picker__variations .components-button:hover svg,
591 579 .block-editor-block-variation-picker__skip .components-button:hover svg,
592 580 .wp-block-group-placeholder__variations .components-button:hover svg {
593 - fill: var(--wp-admin-theme-color) !important;
581 + fill: var(--wp-admin-theme-color);
582 + color: var(--wp-admin-theme-color) !important;
594 583 }
595 584 .block-editor-block-variation-picker__variations > li,
596 585 .block-editor-block-variation-picker__skip > li,
597 586 .wp-block-group-placeholder__variations > li {
@@ -609,29 +598,24 @@
609 598 justify-content: center;
610 599 width: 100%;
611 600 height: auto;
612 601 color: #1e1e1e;
613 - box-shadow: inset 0 0 0 1px #1e1e1e;
602 + border-color: currentColor;
614 603 }
615 604 .is-dark-theme .block-editor-button-block-appender {
616 605 color: rgba(255, 255, 255, 0.65);
617 - box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.65);
618 606 }
619 607 .block-editor-button-block-appender:hover {
620 608 color: var(--wp-admin-theme-color);
621 - box-shadow: inset 0 0 0 1px var(--wp-admin-theme-color);
622 609 }
623 -.block-editor-button-block-appender:focus {
624 - box-shadow: inset 0 0 0 2px var(--wp-admin-theme-color);
625 -}
626 610 .block-editor-button-block-appender:active {
627 611 color: #000;
628 612 }
629 613
630 -.is-layout-constrained.block-editor-block-list__block:not(.is-selected) > .block-list-appender:only-child, .is-layout-flow.block-editor-block-list__block:not(.is-selected) > .block-list-appender:only-child, .block-editor-block-list__block:not(.is-selected) > .is-layout-constrained.wp-block-group__inner-container > .block-list-appender:only-child, .block-editor-block-list__block:not(.is-selected) > .is-layout-flow.wp-block-group__inner-container > .block-list-appender:only-child {
614 +.is-layout-constrained.block-editor-block-list__block:not(.is-selected) > .block-list-appender:only-child:has(.block-editor-button-block-appender), .is-layout-flow.block-editor-block-list__block:not(.is-selected) > .block-list-appender:only-child:has(.block-editor-button-block-appender), .block-editor-block-list__block:not(.is-selected) > .is-layout-constrained.wp-block-group__inner-container > .block-list-appender:only-child:has(.block-editor-button-block-appender), .block-editor-block-list__block:not(.is-selected) > .is-layout-flow.wp-block-group__inner-container > .block-list-appender:only-child:has(.block-editor-button-block-appender) {
631 615 pointer-events: none;
632 616 }
633 -.is-layout-constrained.block-editor-block-list__block:not(.is-selected) > .block-list-appender:only-child::after, .is-layout-flow.block-editor-block-list__block:not(.is-selected) > .block-list-appender:only-child::after, .block-editor-block-list__block:not(.is-selected) > .is-layout-constrained.wp-block-group__inner-container > .block-list-appender:only-child::after, .block-editor-block-list__block:not(.is-selected) > .is-layout-flow.wp-block-group__inner-container > .block-list-appender:only-child::after {
617 +.is-layout-constrained.block-editor-block-list__block:not(.is-selected) > .block-list-appender:only-child:has(.block-editor-button-block-appender)::after, .is-layout-flow.block-editor-block-list__block:not(.is-selected) > .block-list-appender:only-child:has(.block-editor-button-block-appender)::after, .block-editor-block-list__block:not(.is-selected) > .is-layout-constrained.wp-block-group__inner-container > .block-list-appender:only-child:has(.block-editor-button-block-appender)::after, .block-editor-block-list__block:not(.is-selected) > .is-layout-flow.wp-block-group__inner-container > .block-list-appender:only-child:has(.block-editor-button-block-appender)::after {
634 618 content: "";
635 619 position: absolute;
636 620 top: 0;
637 621 right: 0;
@@ -639,30 +623,30 @@
639 623 left: 0;
640 624 pointer-events: none;
641 625 border: 1px dashed currentColor;
642 626 }
643 -.is-layout-constrained.block-editor-block-list__block:not(.is-selected) > .block-list-appender:only-child .block-editor-inserter, .is-layout-flow.block-editor-block-list__block:not(.is-selected) > .block-list-appender:only-child .block-editor-inserter, .block-editor-block-list__block:not(.is-selected) > .is-layout-constrained.wp-block-group__inner-container > .block-list-appender:only-child .block-editor-inserter, .block-editor-block-list__block:not(.is-selected) > .is-layout-flow.wp-block-group__inner-container > .block-list-appender:only-child .block-editor-inserter {
627 +.is-layout-constrained.block-editor-block-list__block:not(.is-selected) > .block-list-appender:only-child:has(.block-editor-button-block-appender) .block-editor-inserter, .is-layout-flow.block-editor-block-list__block:not(.is-selected) > .block-list-appender:only-child:has(.block-editor-button-block-appender) .block-editor-inserter, .block-editor-block-list__block:not(.is-selected) > .is-layout-constrained.wp-block-group__inner-container > .block-list-appender:only-child:has(.block-editor-button-block-appender) .block-editor-inserter, .block-editor-block-list__block:not(.is-selected) > .is-layout-flow.wp-block-group__inner-container > .block-list-appender:only-child:has(.block-editor-button-block-appender) .block-editor-inserter {
644 628 opacity: 0;
645 629 }
646 -.is-layout-constrained.block-editor-block-list__block:not(.is-selected) > .block-list-appender:only-child .block-editor-inserter:focus-within, .is-layout-flow.block-editor-block-list__block:not(.is-selected) > .block-list-appender:only-child .block-editor-inserter:focus-within, .block-editor-block-list__block:not(.is-selected) > .is-layout-constrained.wp-block-group__inner-container > .block-list-appender:only-child .block-editor-inserter:focus-within, .block-editor-block-list__block:not(.is-selected) > .is-layout-flow.wp-block-group__inner-container > .block-list-appender:only-child .block-editor-inserter:focus-within {
630 +.is-layout-constrained.block-editor-block-list__block:not(.is-selected) > .block-list-appender:only-child:has(.block-editor-button-block-appender) .block-editor-inserter:focus-within, .is-layout-flow.block-editor-block-list__block:not(.is-selected) > .block-list-appender:only-child:has(.block-editor-button-block-appender) .block-editor-inserter:focus-within, .block-editor-block-list__block:not(.is-selected) > .is-layout-constrained.wp-block-group__inner-container > .block-list-appender:only-child:has(.block-editor-button-block-appender) .block-editor-inserter:focus-within, .block-editor-block-list__block:not(.is-selected) > .is-layout-flow.wp-block-group__inner-container > .block-list-appender:only-child:has(.block-editor-button-block-appender) .block-editor-inserter:focus-within {
647 631 opacity: 1;
648 632 }
649 -.is-layout-constrained.block-editor-block-list__block:not(.is-selected) > .block-list-appender:only-child.is-drag-over::after, .is-layout-flow.block-editor-block-list__block:not(.is-selected) > .block-list-appender:only-child.is-drag-over::after, .block-editor-block-list__block:not(.is-selected) > .is-layout-constrained.wp-block-group__inner-container > .block-list-appender:only-child.is-drag-over::after, .block-editor-block-list__block:not(.is-selected) > .is-layout-flow.wp-block-group__inner-container > .block-list-appender:only-child.is-drag-over::after {
633 +.is-layout-constrained.block-editor-block-list__block:not(.is-selected) > .block-list-appender:only-child:has(.block-editor-button-block-appender).is-drag-over::after, .is-layout-flow.block-editor-block-list__block:not(.is-selected) > .block-list-appender:only-child:has(.block-editor-button-block-appender).is-drag-over::after, .block-editor-block-list__block:not(.is-selected) > .is-layout-constrained.wp-block-group__inner-container > .block-list-appender:only-child:has(.block-editor-button-block-appender).is-drag-over::after, .block-editor-block-list__block:not(.is-selected) > .is-layout-flow.wp-block-group__inner-container > .block-list-appender:only-child:has(.block-editor-button-block-appender).is-drag-over::after {
650 634 border: none;
651 635 }
652 -.is-layout-constrained.block-editor-block-list__block:not(.is-selected) > .block-list-appender:only-child.is-drag-over .block-editor-inserter, .is-layout-flow.block-editor-block-list__block:not(.is-selected) > .block-list-appender:only-child.is-drag-over .block-editor-inserter, .block-editor-block-list__block:not(.is-selected) > .is-layout-constrained.wp-block-group__inner-container > .block-list-appender:only-child.is-drag-over .block-editor-inserter, .block-editor-block-list__block:not(.is-selected) > .is-layout-flow.wp-block-group__inner-container > .block-list-appender:only-child.is-drag-over .block-editor-inserter {
653 - visibility: visible;
636 +.is-layout-constrained.block-editor-block-list__block:not(.is-selected) > .block-list-appender:only-child:has(.block-editor-button-block-appender).is-drag-over .block-editor-inserter, .is-layout-flow.block-editor-block-list__block:not(.is-selected) > .block-list-appender:only-child:has(.block-editor-button-block-appender).is-drag-over .block-editor-inserter, .block-editor-block-list__block:not(.is-selected) > .is-layout-constrained.wp-block-group__inner-container > .block-list-appender:only-child:has(.block-editor-button-block-appender).is-drag-over .block-editor-inserter, .block-editor-block-list__block:not(.is-selected) > .is-layout-flow.wp-block-group__inner-container > .block-list-appender:only-child:has(.block-editor-button-block-appender).is-drag-over .block-editor-inserter {
637 + opacity: 1;
654 638 }
655 -.block-editor-block-list__block:not(.is-selected) > .block-editor-block-list__block > .block-list-appender:only-child::after {
639 +.block-editor-block-list__block:not(.is-selected) > .block-editor-block-list__block > .block-list-appender:only-child:has(.block-editor-button-block-appender)::after {
656 640 border: none;
657 641 }
658 -.block-list-appender:only-child.is-drag-over .block-editor-button-block-appender {
642 +.block-list-appender:only-child:has(.block-editor-button-block-appender).is-drag-over .block-editor-button-block-appender {
659 643 background-color: var(--wp-admin-theme-color);
660 644 box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.65);
661 645 color: rgba(255, 255, 255, 0.65);
662 646 }
663 647 @media not (prefers-reduced-motion) {
664 - .block-list-appender:only-child.is-drag-over .block-editor-button-block-appender {
648 + .block-list-appender:only-child:has(.block-editor-button-block-appender).is-drag-over .block-editor-button-block-appender {
665 649 transition: background-color 0.2s ease-in-out;
666 650 }
667 651 }
668 652
@@ -684,8 +668,9 @@
684 668 outline: 1px solid transparent;
685 669 }
686 670 .block-editor-default-block-appender .block-editor-default-block-appender__content {
687 671 opacity: 0.62;
672 + text-shadow: none;
688 673 margin-block-start: 0;
689 674 margin-block-end: 0;
690 675 }
691 676 .block-editor-default-block-appender .components-drop-zone__content-icon {
@@ -701,8 +686,16 @@
701 686 .block-editor-default-block-appender .block-editor-inserter__toggle.components-button.has-icon:hover {
702 687 color: #fff;
703 688 background: var(--wp-admin-theme-color);
704 689 }
690 +@media not (prefers-reduced-motion) {
691 + .block-editor-default-block-appender .block-editor-inserter__toggle.components-button.has-icon svg {
692 + transition: transform cubic-bezier(0.165, 0.84, 0.44, 1) 0.2s;
693 + }
694 +}
695 +.block-editor-default-block-appender .block-editor-inserter__toggle.components-button.has-icon.is-pressed svg {
696 + transform: rotate(45deg);
697 +}
705 698
706 699 .block-editor-default-block-appender .block-editor-inserter {
707 700 position: absolute;
708 701 top: 0;
@@ -749,8 +742,18 @@
749 742 .block-editor-block-list__block .block-list-appender .block-list-appender__toggle:hover {
750 743 color: #fff;
751 744 background: var(--wp-admin-theme-color);
752 745 }
746 +@media not (prefers-reduced-motion) {
747 + .block-editor-block-list__block .block-list-appender .block-editor-inserter__toggle.components-button.has-icon svg,
748 + .block-editor-block-list__block .block-list-appender .block-list-appender__toggle svg {
749 + transition: transform cubic-bezier(0.165, 0.84, 0.44, 1) 0.2s;
750 + }
751 +}
752 +.block-editor-block-list__block .block-list-appender .block-editor-inserter__toggle.components-button.has-icon.is-pressed svg,
753 +.block-editor-block-list__block .block-list-appender .block-list-appender__toggle.is-pressed svg {
754 + transform: rotate(45deg);
755 +}
753 756 .block-editor-block-list__block .block-list-appender .block-editor-inserter__toggle.components-button.has-icon,
754 757 .block-editor-block-list__block .block-list-appender .block-list-appender__toggle {
755 758 flex-direction: row;
756 759 box-shadow: none;
@@ -760,9 +763,9 @@
760 763 }
761 764 .block-editor-block-list__block .block-list-appender .block-editor-default-block-appender__content {
762 765 display: none;
763 766 }
764 -.block-editor-block-list__block .block-list-appender:only-child {
767 +.block-editor-block-list__block .block-list-appender:first-child {
765 768 position: relative;
766 769 right: auto;
767 770 align-self: center;
768 771 list-style: none;
@@ -767,9 +770,9 @@
767 770 align-self: center;
768 771 list-style: none;
769 772 line-height: inherit;
770 773 }
771 -.block-editor-block-list__block .block-list-appender:only-child .block-editor-default-block-appender__content {
774 +.block-editor-block-list__block .block-list-appender:first-child .block-editor-default-block-appender__content {
772 775 display: block;
773 776 }
774 777
775 778 .block-editor-block-list__block.is-selected .block-editor-block-list__layout > .block-list-appender .block-editor-inserter__toggle.components-button.has-icon,
@@ -798,9 +801,9 @@
798 801 .block-editor-iframe__html.zoom-out-animation {
799 802 position: fixed;
800 803 left: 0;
801 804 right: 0;
802 - top: calc(-1 * var(--wp-block-editor-iframe-zoom-out-scroll-top, 0));
805 + top: calc(-1 * var(--wp-block-editor-iframe-zoom-out-scroll-top, 0px));
803 806 bottom: 0;
804 807 overflow-y: var(--wp-block-editor-iframe-zoom-out-overflow-behavior, scroll);
805 808 }
806 809 .block-editor-iframe__html.is-zoomed-out {
@@ -806,14 +809,14 @@
806 809 .block-editor-iframe__html.is-zoomed-out {
807 810 transform: translateX(calc((var(--wp-block-editor-iframe-zoom-out-scale-container-width) - var(--wp-block-editor-iframe-zoom-out-container-width, 100vw)) / 2 / var(--wp-block-editor-iframe-zoom-out-scale, 1)));
808 811 scale: var(--wp-block-editor-iframe-zoom-out-scale, 1);
809 812 background-color: var(--wp-editor-canvas-background);
810 - margin-bottom: calc(-1 * calc(calc(var(--wp-block-editor-iframe-zoom-out-content-height) * (1 - var(--wp-block-editor-iframe-zoom-out-scale, 1))) + calc(2 * var(--wp-block-editor-iframe-zoom-out-frame-size, 0) / var(--wp-block-editor-iframe-zoom-out-scale, 1)) + 2px));
811 - padding-top: calc(var(--wp-block-editor-iframe-zoom-out-frame-size, 0) / var(--wp-block-editor-iframe-zoom-out-scale, 1));
812 - padding-bottom: calc(var(--wp-block-editor-iframe-zoom-out-frame-size, 0) / var(--wp-block-editor-iframe-zoom-out-scale, 1));
813 + margin-bottom: calc(-1 * calc(calc(var(--wp-block-editor-iframe-zoom-out-content-height) * (1 - var(--wp-block-editor-iframe-zoom-out-scale, 1))) + calc(2 * var(--wp-block-editor-iframe-zoom-out-frame-size, 0px) / var(--wp-block-editor-iframe-zoom-out-scale, 1)) + 2px));
814 + padding-top: calc(var(--wp-block-editor-iframe-zoom-out-frame-size, 0px) / var(--wp-block-editor-iframe-zoom-out-scale, 1));
815 + padding-bottom: calc(var(--wp-block-editor-iframe-zoom-out-frame-size, 0px) / var(--wp-block-editor-iframe-zoom-out-scale, 1));
813 816 }
814 817 .block-editor-iframe__html.is-zoomed-out body {
815 - min-height: calc((var(--wp-block-editor-iframe-zoom-out-inner-height) - calc(2 * var(--wp-block-editor-iframe-zoom-out-frame-size, 0) / var(--wp-block-editor-iframe-zoom-out-scale, 1))) / var(--wp-block-editor-iframe-zoom-out-scale, 1));
818 + min-height: calc((var(--wp-block-editor-iframe-zoom-out-inner-height) - calc(2 * var(--wp-block-editor-iframe-zoom-out-frame-size, 0px) / var(--wp-block-editor-iframe-zoom-out-scale, 1))) / var(--wp-block-editor-iframe-zoom-out-scale, 1));
816 819 }
817 820 .block-editor-iframe__html.is-zoomed-out body > .is-root-container:not(.wp-block-post-content) {
818 821 flex: 1;
819 822 display: flex;
@@ -835,9 +838,9 @@
835 838 .block-editor-media-placeholder.is-appender {
836 839 min-height: 0;
837 840 }
838 841 .block-editor-media-placeholder.is-appender:hover {
839 - cursor: pointer;
842 + cursor: var(--wpds-cursor-control, pointer);
840 843 box-shadow: 0 0 0 1px var(--wp-admin-theme-color);
841 844 }
842 845
843 846 .block-editor-plain-text {
@@ -848,9 +851,13 @@
848 851 line-height: inherit;
849 852 border: none;
850 853 padding: 0;
851 854 margin: 0;
855 +}
856 +
857 +.block-editor-plain-text {
852 858 width: 100%;
859 + field-sizing: content;
853 860 }
854 861
855 862 .rich-text [data-rich-text-placeholder] {
856 863 pointer-events: none;
@@ -857,8 +864,9 @@
857 864 }
858 865 .rich-text [data-rich-text-placeholder]::after {
859 866 content: attr(data-rich-text-placeholder);
860 867 opacity: 0.62;
868 + text-shadow: none;
861 869 }
862 870 .rich-text:focus {
863 871 outline: none;
864 872 }
@@ -892,13 +900,19 @@
892 900 .rich-text [contenteditable=false]::selection {
893 901 background-color: transparent;
894 902 }
895 903
904 +.is-selected .non-breaking-space {
905 + outline: 1px solid currentColor;
906 + outline-offset: -1px;
907 + opacity: 0.8;
908 +}
909 +
896 910 .block-editor-warning {
897 911 align-items: center;
898 912 display: flex;
899 913 flex-wrap: wrap;
900 - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
914 + font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
901 915 padding: 1em;
902 916 border: 1px solid #1e1e1e;
903 917 border-radius: 2px;
904 918 background-color: #fff;
@@ -904,9 +918,9 @@
904 918 background-color: #fff;
905 919 }
906 920 .block-editor-warning .block-editor-warning__message {
907 921 line-height: 1.4;
908 - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
922 + font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
909 923 font-size: 13px;
910 924 color: #1e1e1e;
911 925 margin: 0;
912 926 }