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 +33 -46 23.6.2 → trunk View file →
@@ -121,13 +121,8 @@
121 121 }
122 122 .block-editor-block-icon.has-colors svg {
123 123 fill: currentColor;
124 124 }
125 -@media (forced-colors: active) {
126 - .block-editor-block-icon.has-colors svg {
127 - fill: CanvasText;
128 - }
129 -}
130 125 .block-editor-block-icon svg {
131 126 min-width: 20px;
132 127 min-height: 20px;
133 128 max-width: 24px;
@@ -158,11 +153,8 @@
158 153 /* stylelint-enable */
159 154 .block-editor-block-list__layout {
160 155 position: relative;
161 156 }
162 -.block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected:not(.is-partially-selected)::-moz-selection, .block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected:not(.is-partially-selected) ::-moz-selection {
163 - background: transparent;
164 -}
165 157 .block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected:not(.is-partially-selected)::selection, .block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected:not(.is-partially-selected) ::selection {
166 158 background: transparent;
167 159 }
168 160 .block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected:not(.is-partially-selected)::after {
@@ -190,13 +182,17 @@
190 182 outline-color: transparent;
191 183 }
192 184 .block-editor-block-list__layout .block-editor-block-list__block.is-highlighted,
193 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),
194 188 .block-editor-block-list__layout .block-editor-block-list__block:not([contenteditable=true]):focus {
195 189 outline: none;
196 190 }
197 191 .block-editor-block-list__layout .block-editor-block-list__block.is-highlighted::after,
198 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,
199 195 .block-editor-block-list__layout .block-editor-block-list__block:not([contenteditable=true]):focus::after {
200 196 content: "";
201 197 position: absolute;
202 198 pointer-events: none;
@@ -230,9 +226,8 @@
230 226 margin-left: 0 !important;
231 227 }
232 228 .block-editor-block-list__layout [class^=components-] {
233 229 -webkit-user-select: text;
234 - -moz-user-select: text;
235 230 user-select: text;
236 231 }
237 232
238 233 .block-editor-block-list__layout .block-editor-block-list__block {
@@ -263,9 +258,8 @@
263 258 }
264 259 .block-editor-block-list__layout .block-editor-block-list__block.has-warning > * {
265 260 pointer-events: none;
266 261 -webkit-user-select: none;
267 - -moz-user-select: none;
268 262 user-select: none;
269 263 }
270 264 .block-editor-block-list__layout .block-editor-block-list__block.has-warning .block-editor-warning {
271 265 pointer-events: all;
@@ -372,9 +366,9 @@
372 366 .wp-block[data-align=left] > *,
373 367 .wp-block[data-align=right] > *,
374 368 .wp-block.alignleft,
375 369 .wp-block.alignright {
376 - z-index: 21;
370 + z-index: 9;
377 371 }
378 372
379 373 .wp-site-blocks > [data-align=left] {
380 374 float: right;
@@ -415,16 +409,8 @@
415 409 animation-fill-mode: forwards;
416 410 }
417 411 }
418 412
419 -.block-editor-block-list__block:not(.is-selected):not(.has-child-selected) .block-editor-default-block-appender {
420 - display: none;
421 -}
422 -.block-editor-block-list__block:not(.is-selected):not(.has-child-selected) .block-editor-default-block-appender .block-editor-inserter__toggle {
423 - opacity: 0;
424 - transform: scale(0);
425 -}
426 -
427 413 .block-editor-block-list__block .block-editor-block-list__block-html-textarea {
428 414 display: block;
429 415 margin: 0;
430 416 padding: 12px;
@@ -434,9 +420,10 @@
434 420 border-radius: 2px;
435 421 box-sizing: border-box;
436 422 box-shadow: inset 0 0 0 1px #1e1e1e;
437 423 resize: none;
438 - overflow: hidden;
424 + field-sizing: content;
425 + overflow: auto;
439 426 font-family: Menlo, Consolas, monaco, monospace;
440 427 font-size: 15px;
441 428 line-height: 1.5;
442 429 direction: ltr;
@@ -468,9 +455,9 @@
468 455 overflow: hidden;
469 456 font-size: 13px;
470 457 font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
471 458 color: #000;
472 - font-weight: normal;
459 + font-weight: 400;
473 460 }
474 461 .is-zoomed-out .block-editor-block-list__zoom-out-separator {
475 462 font-size: calc(13px / var(--wp-block-editor-iframe-zoom-out-scale));
476 463 }
@@ -531,11 +518,8 @@
531 518 }
532 519 .block-editor-block-list__layout .is-dragging iframe {
533 520 pointer-events: none;
534 521 }
535 -.block-editor-block-list__layout .is-dragging::-moz-selection {
536 - background: transparent !important;
537 -}
538 522 .block-editor-block-list__layout .is-dragging::selection {
539 523 background: transparent !important;
540 524 }
541 525 .block-editor-block-list__layout .is-dragging::after {
@@ -541,13 +525,8 @@
541 525 .block-editor-block-list__layout .is-dragging::after {
542 526 content: none !important;
543 527 }
544 528
545 -.wp-block img:not([draggable]),
546 -.wp-block svg:not([draggable]) {
547 - pointer-events: none;
548 -}
549 -
550 529 .block-editor-block-preview__content-iframe .block-list-appender {
551 530 display: none;
552 531 }
553 532
@@ -581,9 +560,10 @@
581 560 }
582 561 .block-editor-block-variation-picker__variations svg,
583 562 .block-editor-block-variation-picker__skip svg,
584 563 .wp-block-group-placeholder__variations svg {
585 - fill: #949494 !important;
564 + fill: #949494;
565 + color: #949494 !important;
586 566 }
587 567 .block-editor-block-variation-picker__variations .components-button,
588 568 .block-editor-block-variation-picker__skip .components-button,
589 569 .wp-block-group-placeholder__variations .components-button {
@@ -596,9 +576,10 @@
596 576 }
597 577 .block-editor-block-variation-picker__variations .components-button:hover svg,
598 578 .block-editor-block-variation-picker__skip .components-button:hover svg,
599 579 .wp-block-group-placeholder__variations .components-button:hover svg {
600 - fill: var(--wp-admin-theme-color) !important;
580 + fill: var(--wp-admin-theme-color);
581 + color: var(--wp-admin-theme-color) !important;
601 582 }
602 583 .block-editor-block-variation-picker__variations > li,
603 584 .block-editor-block-variation-picker__skip > li,
604 585 .wp-block-group-placeholder__variations > li {
@@ -628,12 +609,12 @@
628 609 .block-editor-button-block-appender:active {
629 610 color: #000;
630 611 }
631 612
632 -.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) {
633 614 pointer-events: none;
634 615 }
635 -.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 {
636 617 content: "";
637 618 position: absolute;
638 619 top: 0;
639 620 left: 0;
@@ -641,30 +622,30 @@
641 622 right: 0;
642 623 pointer-events: none;
643 624 border: 1px dashed currentColor;
644 625 }
645 -.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 {
646 627 opacity: 0;
647 628 }
648 -.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 {
649 630 opacity: 1;
650 631 }
651 -.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 {
652 633 border: none;
653 634 }
654 -.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 {
655 - 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;
656 637 }
657 -.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 {
658 639 border: none;
659 640 }
660 -.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 {
661 642 background-color: var(--wp-admin-theme-color);
662 643 box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.65);
663 644 color: rgba(255, 255, 255, 0.65);
664 645 }
665 646 @media not (prefers-reduced-motion) {
666 - .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 {
667 648 transition: background-color 0.2s ease-in-out;
668 649 }
669 650 }
670 651
@@ -781,9 +762,9 @@
781 762 }
782 763 .block-editor-block-list__block .block-list-appender .block-editor-default-block-appender__content {
783 764 display: none;
784 765 }
785 -.block-editor-block-list__block .block-list-appender:only-child {
766 +.block-editor-block-list__block .block-list-appender:first-child {
786 767 position: relative;
787 768 left: auto;
788 769 align-self: center;
789 770 list-style: none;
@@ -788,9 +769,9 @@
788 769 align-self: center;
789 770 list-style: none;
790 771 line-height: inherit;
791 772 }
792 -.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 {
793 774 display: block;
794 775 }
795 776
796 777 .block-editor-block-list__block.is-selected .block-editor-block-list__layout > .block-list-appender .block-editor-inserter__toggle.components-button.has-icon,
@@ -869,9 +850,13 @@
869 850 line-height: inherit;
870 851 border: none;
871 852 padding: 0;
872 853 margin: 0;
854 +}
855 +
856 +.block-editor-plain-text {
873 857 width: 100%;
858 + field-sizing: content;
874 859 }
875 860
876 861 .rich-text [data-rich-text-placeholder] {
877 862 pointer-events: none;
@@ -910,14 +895,16 @@
910 895 color: currentColor;
911 896 padding: 0 2px;
912 897 }
913 898
914 -.rich-text [contenteditable=false]::-moz-selection {
899 +.rich-text [contenteditable=false]::selection {
915 900 background-color: transparent;
916 901 }
917 902
918 -.rich-text [contenteditable=false]::selection {
919 - background-color: transparent;
903 +.is-selected .non-breaking-space {
904 + outline: 1px solid currentColor;
905 + outline-offset: -1px;
906 + opacity: 0.8;
920 907 }
921 908
922 909 .block-editor-warning {
923 910 align-items: center;