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-rtl.css +69 -52 23.2.2 → 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;
@@ -247,11 +252,8 @@
247 252 .block-editor-block-list__layout .block-editor-block-list__block .components-with-notices-ui {
248 253 margin: 0 0 12px 0;
249 254 width: 100%;
250 255 }
251 -.block-editor-block-list__layout .block-editor-block-list__block .components-with-notices-ui .components-notice .components-notice__content {
252 - font-size: 13px;
253 -}
254 256 .block-editor-block-list__layout .block-editor-block-list__block.has-warning {
255 257 min-height: 48px;
256 258 }
257 259 .block-editor-block-list__layout .block-editor-block-list__block.has-warning > * {
@@ -364,9 +366,9 @@
364 366 .wp-block[data-align=left] > *,
365 367 .wp-block[data-align=right] > *,
366 368 .wp-block.alignleft,
367 369 .wp-block.alignright {
368 - z-index: 21;
370 + z-index: 9;
369 371 }
370 372
371 373 .wp-site-blocks > [data-align=left] {
372 374 float: right;
@@ -407,16 +409,8 @@
407 409 animation-fill-mode: forwards;
408 410 }
409 411 }
410 412
411 -.block-editor-block-list__block:not(.is-selected):not(.has-child-selected) .block-editor-default-block-appender {
412 - display: none;
413 -}
414 -.block-editor-block-list__block:not(.is-selected):not(.has-child-selected) .block-editor-default-block-appender .block-editor-inserter__toggle {
415 - opacity: 0;
416 - transform: scale(0);
417 -}
418 -
419 413 .block-editor-block-list__block .block-editor-block-list__block-html-textarea {
420 414 display: block;
421 415 margin: 0;
422 416 padding: 12px;
@@ -426,9 +420,10 @@
426 420 border-radius: 2px;
427 421 box-sizing: border-box;
428 422 box-shadow: inset 0 0 0 1px #1e1e1e;
429 423 resize: none;
430 - overflow: hidden;
424 + field-sizing: content;
425 + overflow: auto;
431 426 font-family: Menlo, Consolas, monaco, monospace;
432 427 font-size: 15px;
433 428 line-height: 1.5;
434 429 direction: ltr;
@@ -458,11 +453,11 @@
458 453 align-items: center;
459 454 justify-content: center;
460 455 overflow: hidden;
461 456 font-size: 13px;
462 - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
457 + font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
463 458 color: #000;
464 - font-weight: normal;
459 + font-weight: 400;
465 460 }
466 461 .is-zoomed-out .block-editor-block-list__zoom-out-separator {
467 462 font-size: calc(13px / var(--wp-block-editor-iframe-zoom-out-scale));
468 463 }
@@ -530,13 +525,8 @@
530 525 .block-editor-block-list__layout .is-dragging::after {
531 526 content: none !important;
532 527 }
533 528
534 -.wp-block img:not([draggable]),
535 -.wp-block svg:not([draggable]) {
536 - pointer-events: none;
537 -}
538 -
539 529 .block-editor-block-preview__content-iframe .block-list-appender {
540 530 display: none;
541 531 }
542 532
@@ -570,9 +560,10 @@
570 560 }
571 561 .block-editor-block-variation-picker__variations svg,
572 562 .block-editor-block-variation-picker__skip svg,
573 563 .wp-block-group-placeholder__variations svg {
574 - fill: #949494 !important;
564 + fill: #949494;
565 + color: #949494 !important;
575 566 }
576 567 .block-editor-block-variation-picker__variations .components-button,
577 568 .block-editor-block-variation-picker__skip .components-button,
578 569 .wp-block-group-placeholder__variations .components-button {
@@ -585,9 +576,10 @@
585 576 }
586 577 .block-editor-block-variation-picker__variations .components-button:hover svg,
587 578 .block-editor-block-variation-picker__skip .components-button:hover svg,
588 579 .wp-block-group-placeholder__variations .components-button:hover svg {
589 - fill: var(--wp-admin-theme-color) !important;
580 + fill: var(--wp-admin-theme-color);
581 + color: var(--wp-admin-theme-color) !important;
590 582 }
591 583 .block-editor-block-variation-picker__variations > li,
592 584 .block-editor-block-variation-picker__skip > li,
593 585 .wp-block-group-placeholder__variations > li {
@@ -605,29 +597,24 @@
605 597 justify-content: center;
606 598 width: 100%;
607 599 height: auto;
608 600 color: #1e1e1e;
609 - box-shadow: inset 0 0 0 1px #1e1e1e;
601 + border-color: currentColor;
610 602 }
611 603 .is-dark-theme .block-editor-button-block-appender {
612 604 color: rgba(255, 255, 255, 0.65);
613 - box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.65);
614 605 }
615 606 .block-editor-button-block-appender:hover {
616 607 color: var(--wp-admin-theme-color);
617 - box-shadow: inset 0 0 0 1px var(--wp-admin-theme-color);
618 608 }
619 -.block-editor-button-block-appender:focus {
620 - box-shadow: inset 0 0 0 2px var(--wp-admin-theme-color);
621 -}
622 609 .block-editor-button-block-appender:active {
623 610 color: #000;
624 611 }
625 612
626 -.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 {
613 +.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) {
627 614 pointer-events: none;
628 615 }
629 -.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 {
616 +.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 {
630 617 content: "";
631 618 position: absolute;
632 619 top: 0;
633 620 left: 0;
@@ -635,30 +622,30 @@
635 622 right: 0;
636 623 pointer-events: none;
637 624 border: 1px dashed currentColor;
638 625 }
639 -.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 {
626 +.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 {
640 627 opacity: 0;
641 628 }
642 -.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 {
629 +.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 {
643 630 opacity: 1;
644 631 }
645 -.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 {
632 +.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 {
646 633 border: none;
647 634 }
648 -.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 {
649 - visibility: visible;
635 +.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 {
636 + opacity: 1;
650 637 }
651 -.block-editor-block-list__block:not(.is-selected) > .block-editor-block-list__block > .block-list-appender:only-child::after {
638 +.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 {
652 639 border: none;
653 640 }
654 -.block-list-appender:only-child.is-drag-over .block-editor-button-block-appender {
641 +.block-list-appender:only-child:has(.block-editor-button-block-appender).is-drag-over .block-editor-button-block-appender {
655 642 background-color: var(--wp-admin-theme-color);
656 643 box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.65);
657 644 color: rgba(255, 255, 255, 0.65);
658 645 }
659 646 @media not (prefers-reduced-motion) {
660 - .block-list-appender:only-child.is-drag-over .block-editor-button-block-appender {
647 + .block-list-appender:only-child:has(.block-editor-button-block-appender).is-drag-over .block-editor-button-block-appender {
661 648 transition: background-color 0.2s ease-in-out;
662 649 }
663 650 }
664 651
@@ -680,8 +667,9 @@
680 667 outline: 1px solid transparent;
681 668 }
682 669 .block-editor-default-block-appender .block-editor-default-block-appender__content {
683 670 opacity: 0.62;
671 + text-shadow: none;
684 672 margin-block-start: 0;
685 673 margin-block-end: 0;
686 674 }
687 675 .block-editor-default-block-appender .components-drop-zone__content-icon {
@@ -697,8 +685,16 @@
697 685 .block-editor-default-block-appender .block-editor-inserter__toggle.components-button.has-icon:hover {
698 686 color: #fff;
699 687 background: var(--wp-admin-theme-color);
700 688 }
689 +@media not (prefers-reduced-motion) {
690 + .block-editor-default-block-appender .block-editor-inserter__toggle.components-button.has-icon svg {
691 + transition: transform cubic-bezier(0.165, 0.84, 0.44, 1) 0.2s;
692 + }
693 +}
694 +.block-editor-default-block-appender .block-editor-inserter__toggle.components-button.has-icon.is-pressed svg {
695 + transform: rotate(-45deg);
696 +}
701 697
702 698 .block-editor-default-block-appender .block-editor-inserter {
703 699 position: absolute;
704 700 top: 0;
@@ -745,8 +741,18 @@
745 741 .block-editor-block-list__block .block-list-appender .block-list-appender__toggle:hover {
746 742 color: #fff;
747 743 background: var(--wp-admin-theme-color);
748 744 }
745 +@media not (prefers-reduced-motion) {
746 + .block-editor-block-list__block .block-list-appender .block-editor-inserter__toggle.components-button.has-icon svg,
747 + .block-editor-block-list__block .block-list-appender .block-list-appender__toggle svg {
748 + transition: transform cubic-bezier(0.165, 0.84, 0.44, 1) 0.2s;
749 + }
750 +}
751 +.block-editor-block-list__block .block-list-appender .block-editor-inserter__toggle.components-button.has-icon.is-pressed svg,
752 +.block-editor-block-list__block .block-list-appender .block-list-appender__toggle.is-pressed svg {
753 + transform: rotate(-45deg);
754 +}
749 755 .block-editor-block-list__block .block-list-appender .block-editor-inserter__toggle.components-button.has-icon,
750 756 .block-editor-block-list__block .block-list-appender .block-list-appender__toggle {
751 757 flex-direction: row;
752 758 box-shadow: none;
@@ -756,9 +762,9 @@
756 762 }
757 763 .block-editor-block-list__block .block-list-appender .block-editor-default-block-appender__content {
758 764 display: none;
759 765 }
760 -.block-editor-block-list__block .block-list-appender:only-child {
766 +.block-editor-block-list__block .block-list-appender:first-child {
761 767 position: relative;
762 768 left: auto;
763 769 align-self: center;
764 770 list-style: none;
@@ -763,9 +769,9 @@
763 769 align-self: center;
764 770 list-style: none;
765 771 line-height: inherit;
766 772 }
767 -.block-editor-block-list__block .block-list-appender:only-child .block-editor-default-block-appender__content {
773 +.block-editor-block-list__block .block-list-appender:first-child .block-editor-default-block-appender__content {
768 774 display: block;
769 775 }
770 776
771 777 .block-editor-block-list__block.is-selected .block-editor-block-list__layout > .block-list-appender .block-editor-inserter__toggle.components-button.has-icon,
@@ -794,9 +800,9 @@
794 800 .block-editor-iframe__html.zoom-out-animation {
795 801 position: fixed;
796 802 right: 0;
797 803 left: 0;
798 - top: calc(-1 * var(--wp-block-editor-iframe-zoom-out-scroll-top, 0));
804 + top: calc(-1 * var(--wp-block-editor-iframe-zoom-out-scroll-top, 0px));
799 805 bottom: 0;
800 806 overflow-y: var(--wp-block-editor-iframe-zoom-out-overflow-behavior, scroll);
801 807 }
802 808 .block-editor-iframe__html.is-zoomed-out {
@@ -802,14 +808,14 @@
802 808 .block-editor-iframe__html.is-zoomed-out {
803 809 transform: translateX(calc(-1*((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))));
804 810 scale: var(--wp-block-editor-iframe-zoom-out-scale, 1);
805 811 background-color: var(--wp-editor-canvas-background);
806 - 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));
807 - padding-top: calc(var(--wp-block-editor-iframe-zoom-out-frame-size, 0) / var(--wp-block-editor-iframe-zoom-out-scale, 1));
808 - padding-bottom: calc(var(--wp-block-editor-iframe-zoom-out-frame-size, 0) / var(--wp-block-editor-iframe-zoom-out-scale, 1));
812 + 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));
813 + padding-top: calc(var(--wp-block-editor-iframe-zoom-out-frame-size, 0px) / var(--wp-block-editor-iframe-zoom-out-scale, 1));
814 + padding-bottom: calc(var(--wp-block-editor-iframe-zoom-out-frame-size, 0px) / var(--wp-block-editor-iframe-zoom-out-scale, 1));
809 815 }
810 816 .block-editor-iframe__html.is-zoomed-out body {
811 - 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));
817 + 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));
812 818 }
813 819 .block-editor-iframe__html.is-zoomed-out body > .is-root-container:not(.wp-block-post-content) {
814 820 flex: 1;
815 821 display: flex;
@@ -844,9 +850,13 @@
844 850 line-height: inherit;
845 851 border: none;
846 852 padding: 0;
847 853 margin: 0;
854 +}
855 +
856 +.block-editor-plain-text {
848 857 width: 100%;
858 + field-sizing: content;
849 859 }
850 860
851 861 .rich-text [data-rich-text-placeholder] {
852 862 pointer-events: none;
@@ -853,8 +863,9 @@
853 863 }
854 864 .rich-text [data-rich-text-placeholder]::after {
855 865 content: attr(data-rich-text-placeholder);
856 866 opacity: 0.62;
867 + text-shadow: none;
857 868 }
858 869 .rich-text:focus {
859 870 outline: none;
860 871 }
@@ -888,13 +899,19 @@
888 899 .rich-text [contenteditable=false]::selection {
889 900 background-color: transparent;
890 901 }
891 902
903 +.is-selected .non-breaking-space {
904 + outline: 1px solid currentColor;
905 + outline-offset: -1px;
906 + opacity: 0.8;
907 +}
908 +
892 909 .block-editor-warning {
893 910 align-items: center;
894 911 display: flex;
895 912 flex-wrap: wrap;
896 - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
913 + font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
897 914 padding: 1em;
898 915 border: 1px solid #1e1e1e;
899 916 border-radius: 2px;
900 917 background-color: #fff;
@@ -900,9 +917,9 @@
900 917 background-color: #fff;
901 918 }
902 919 .block-editor-warning .block-editor-warning__message {
903 920 line-height: 1.4;
904 - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
921 + font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
905 922 font-size: 13px;
906 923 color: #1e1e1e;
907 924 margin: 0;
908 925 }