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/style-rtl.css +349 -330 23.7.1 → trunk View file →
@@ -257,11 +257,11 @@
257 257 z-index: 159890;
258 258 }
259 259
260 260 .block-editor-global-styles-background-panel__media-replace-popover .components-popover__content {
261 - width: 226px;
261 + width: auto;
262 262 }
263 -.block-editor-global-styles-background-panel__media-replace-popover .components-button {
263 +.block-editor-global-styles-background-panel__media-replace-popover .components-menu-item__button.components-button {
264 264 padding: 0 8px;
265 265 }
266 266 .block-editor-global-styles-background-panel__media-replace-popover .components-button .components-menu-items__item-icon.has-icon-right {
267 267 margin-right: 16px;
@@ -295,13 +295,8 @@
295 295 }
296 296 .block-editor-block-icon.has-colors svg {
297 297 fill: currentColor;
298 298 }
299 -@media (forced-colors: active) {
300 - .block-editor-block-icon.has-colors svg {
301 - fill: CanvasText;
302 - }
303 -}
304 299 .block-editor-block-icon svg {
305 300 min-width: 20px;
306 301 min-height: 20px;
307 302 max-width: 24px;
@@ -344,8 +339,21 @@
344 339 padding: 32px 16px;
345 340 text-align: center;
346 341 }
347 342
343 +.block-editor-block-inspector__state-badges {
344 + display: flex;
345 + align-items: center;
346 + flex-wrap: wrap;
347 + gap: 8px;
348 + padding: 8px 16px;
349 + margin-top: -16px;
350 +}
351 +
352 +.block-editor-block-inspector__state-badges-text {
353 + white-space: nowrap;
354 +}
355 +
348 356 .block-editor-block-inspector__no-block-tools {
349 357 border-top: 1px solid #ddd;
350 358 }
351 359
@@ -472,8 +480,14 @@
472 480 }
473 481 .show-icon-labels .components-popover.block-editor-block-list__block-popover .block-editor-block-contextual-toolbar.has-parent {
474 482 margin-right: 0;
475 483 }
484 +.components-popover.block-editor-block-list__block-popover .block-editor-block-contextual-toolbar.has-parent:has(.block-editor-block-parent-selector__inserter) {
485 + margin-right: calc(48px + 24px + 12px + 8px + 2 * 1px);
486 +}
487 +.show-icon-labels .components-popover.block-editor-block-list__block-popover .block-editor-block-contextual-toolbar.has-parent:has(.block-editor-block-parent-selector__inserter) {
488 + margin-right: 0;
489 +}
476 490 .components-popover.block-editor-block-list__block-popover .block-editor-block-toolbar {
477 491 overflow: visible;
478 492 }
479 493 .components-popover.block-editor-block-list__block-popover .block-editor-block-toolbar .components-toolbar-group,
@@ -494,8 +508,67 @@
494 508 .components-popover.block-editor-block-list__block-popover .block-editor-block-parent-selector {
495 509 position: absolute;
496 510 right: calc(-48px - 8px - 1px);
497 511 }
512 +.components-popover.block-editor-block-list__block-popover .block-editor-block-parent-selector:has(.block-editor-block-parent-selector__inserter) {
513 + right: calc(-48px - 24px - 12px - 8px - 3 * 1px);
514 + border: 1px solid #1e1e1e;
515 + border-radius: 2px;
516 + background-color: #fff;
517 +}
518 +.components-popover.block-editor-block-list__block-popover .block-editor-block-parent-selector:has(.block-editor-block-parent-selector__inserter) > .components-toolbar-group:last-child {
519 + border-left: none;
520 +}
521 +.components-popover.block-editor-block-list__block-popover .block-editor-block-parent-selector:has(.block-editor-block-parent-selector__inserter) .block-editor-block-parent-selector__button {
522 + border: none;
523 + background: none;
524 +}
525 +.components-popover.block-editor-block-list__block-popover .block-editor-block-parent-selector .block-editor-block-parent-selector__inserter.components-button.has-icon {
526 + color: #fff;
527 + background: transparent;
528 +}
529 +.components-popover.block-editor-block-list__block-popover .block-editor-block-parent-selector .block-editor-block-parent-selector__inserter.components-button.has-icon::after {
530 + content: "";
531 + position: absolute;
532 + z-index: -1;
533 + top: 50%;
534 + right: 50%;
535 + transform: translate(50%, -50%);
536 + width: 24px;
537 + height: 24px;
538 + border-radius: 2px;
539 + background: #1e1e1e;
540 +}
541 +.components-popover.block-editor-block-list__block-popover .block-editor-block-parent-selector .block-editor-block-parent-selector__inserter.components-button.has-icon:hover {
542 + color: #fff;
543 +}
544 +.components-popover.block-editor-block-list__block-popover .block-editor-block-parent-selector .block-editor-block-parent-selector__inserter.components-button.has-icon:hover::after {
545 + background: var(--wp-admin-theme-color);
546 +}
547 +.show-icon-labels .components-popover.block-editor-block-list__block-popover .block-editor-block-parent-selector .block-editor-block-parent-selector__inserter.components-button.has-icon {
548 + width: auto;
549 + padding: 0 12px;
550 + color: inherit;
551 +}
552 +.show-icon-labels .components-popover.block-editor-block-list__block-popover .block-editor-block-parent-selector .block-editor-block-parent-selector__inserter.components-button.has-icon svg {
553 + display: none;
554 +}
555 +.show-icon-labels .components-popover.block-editor-block-list__block-popover .block-editor-block-parent-selector .block-editor-block-parent-selector__inserter.components-button.has-icon::after {
556 + content: attr(aria-label);
557 + position: static;
558 + transform: none;
559 + width: auto;
560 + height: auto;
561 + border-radius: 0;
562 + background: none;
563 + white-space: nowrap;
564 +}
565 +.show-icon-labels .components-popover.block-editor-block-list__block-popover .block-editor-block-parent-selector .block-editor-block-parent-selector__inserter.components-button.has-icon:hover {
566 + color: var(--wp-admin-theme-color);
567 +}
568 +.show-icon-labels .components-popover.block-editor-block-list__block-popover .block-editor-block-parent-selector .block-editor-block-parent-selector__inserter.components-button.has-icon:hover::after {
569 + background: none;
570 +}
498 571 .components-popover.block-editor-block-list__block-popover .block-editor-block-parent-selector::before {
499 572 content: "";
500 573 }
501 574 .components-popover.block-editor-block-list__block-popover .block-editor-block-parent-selector::after {
@@ -575,9 +648,9 @@
575 648 }
576 649 .block-editor-block-lock-modal__checklist-item .block-editor-block-lock-modal__lock-icon {
577 650 flex-shrink: 0;
578 651 margin-left: 12px;
579 - fill: #1e1e1e;
652 + color: #1e1e1e;
580 653 }
581 654 .block-editor-block-lock-modal__checklist-item:hover {
582 655 background-color: #f0f0f0;
583 656 border-radius: 2px;
@@ -685,8 +758,9 @@
685 758 display: flex;
686 759 align-items: center;
687 760 flex-wrap: wrap;
688 761 gap: 4px 8px;
762 + overflow-wrap: anywhere;
689 763 }
690 764 .block-editor-block-card__title.block-editor-block-card__title {
691 765 font-size: 13px;
692 766 line-height: 1.4;
@@ -790,11 +864,9 @@
790 864 height: 48px;
791 865 padding: 0 13px;
792 866 position: relative;
793 867 -webkit-user-select: none;
794 - -moz-user-select: none;
795 868 user-select: none;
796 - width: -moz-max-content;
797 869 width: max-content;
798 870 }
799 871 .block-editor-block-draggable-chip svg {
800 872 fill: currentColor;
@@ -894,8 +966,9 @@
894 966 }
895 967 .block-editor-block-manager__checklist-item .block-editor-block-icon {
896 968 margin-left: 10px;
897 969 fill: #1e1e1e;
970 + color: #1e1e1e;
898 971 }
899 972
900 973 .block-editor-block-manager__results {
901 974 border-top: 1px solid #ddd;
@@ -984,16 +1057,8 @@
984 1057 animation: components-button__appear-animation 0.1s ease;
985 1058 animation-fill-mode: forwards;
986 1059 }
987 1060 }
988 -.components-button.block-editor-block-mover-button:focus, .components-button.block-editor-block-mover-button:focus:enabled, .components-button.block-editor-block-mover-button:focus::before {
989 - box-shadow: none;
990 - outline: none;
991 -}
992 -.components-button.block-editor-block-mover-button:focus-visible::before {
993 - box-shadow: inset 0 0 0 1px #fff, 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
994 - outline: 2px solid transparent;
995 -}
996 1061
997 1062 .block-editor-block-navigation__container {
998 1063 min-width: 280px;
999 1064 }
@@ -1066,9 +1131,9 @@
1066 1131 min-width: 24px;
1067 1132 height: 24px;
1068 1133 }
1069 1134 .block-editor-block-patterns-list__item .block-editor-patterns__pattern-icon-wrapper .block-editor-patterns__pattern-icon {
1070 - fill: var(--wp-block-synced-color);
1135 + color: var(--wp-block-synced-color);
1071 1136 }
1072 1137
1073 1138 .block-editor-patterns__grid-pagination-wrapper .block-editor-patterns__grid-pagination {
1074 1139 border-top: 1px solid #2f2f2f;
@@ -1094,9 +1159,8 @@
1094 1159 }
1095 1160 .components-popover.block-editor-block-popover .components-popover__content {
1096 1161 margin: 0 !important;
1097 1162 min-width: auto;
1098 - width: -moz-max-content;
1099 1163 width: max-content;
1100 1164 overflow-y: visible;
1101 1165 }
1102 1166 .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 * {
@@ -1181,41 +1245,19 @@
1181 1245 grid-column: 1/-1;
1182 1246 }
1183 1247
1184 1248 .block-editor-block-styles__variants {
1185 - display: flex;
1186 - flex-wrap: wrap;
1187 - justify-content: space-between;
1249 + display: grid;
1188 1250 gap: 8px;
1189 1251 }
1190 -.block-editor-block-styles__variants button.components-button.block-editor-block-styles__item {
1191 - color: #1e1e1e;
1192 - border-color: #ddd;
1193 - display: inline-block;
1194 - width: calc(50% - 4px);
1252 +.block-editor-block-styles__variants .block-editor-block-styles__row {
1253 + display: grid;
1254 + grid-template-columns: repeat(2, minmax(0, 1fr));
1255 + gap: 8px;
1195 1256 }
1196 -.block-editor-block-styles__variants button.components-button.block-editor-block-styles__item:hover {
1197 - color: var(--wp-admin-theme-color);
1198 - box-shadow: inset 0 0 0 1px #ddd;
1199 -}
1200 -.block-editor-block-styles__variants button.components-button.block-editor-block-styles__item.is-active, .block-editor-block-styles__variants button.components-button.block-editor-block-styles__item.is-active:hover {
1201 - background-color: #1e1e1e;
1202 - box-shadow: none;
1203 -}
1204 -.block-editor-block-styles__variants button.components-button.block-editor-block-styles__item.is-active .block-editor-block-styles__item-text, .block-editor-block-styles__variants button.components-button.block-editor-block-styles__item.is-active:hover .block-editor-block-styles__item-text {
1205 - color: #fff;
1206 -}
1207 -.block-editor-block-styles__variants button.components-button.block-editor-block-styles__item:focus, .block-editor-block-styles__variants button.components-button.block-editor-block-styles__item.is-active:focus {
1208 - --focus-color: var(--wpds-color-stroke-focus, var(--wp-admin-theme-color, #3858e9));
1209 - outline: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)) solid var(--focus-color);
1210 - outline-offset: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px));
1211 -}
1212 1257 .block-editor-block-styles__variants .block-editor-block-styles__item-text {
1213 - word-break: break-all;
1214 - white-space: normal;
1215 1258 text-align: start;
1216 - -moz-text-align-last: center;
1217 - text-align-last: center;
1259 + text-align-last: center;
1218 1260 }
1219 1261
1220 1262 .components-popover.block-editor-block-switcher__popover .components-popover__content {
1221 1263 min-width: 300px;
@@ -1318,22 +1360,19 @@
1318 1360 .block-editor-block-pattern-setup.view-mode-grid .block-editor-block-pattern-setup__toolbar {
1319 1361 justify-content: center;
1320 1362 }
1321 1363 .block-editor-block-pattern-setup.view-mode-grid .block-editor-block-pattern-setup__container {
1322 - -moz-column-gap: 24px;
1323 - column-gap: 24px;
1364 + column-gap: 24px;
1324 1365 display: block;
1325 1366 width: 100%;
1326 1367 padding: 32px;
1327 1368 padding-bottom: 0;
1328 1369 padding-top: 0;
1329 - -moz-column-count: 2;
1330 - column-count: 2;
1370 + column-count: 2;
1331 1371 }
1332 1372 @media (min-width: 1440px) {
1333 1373 .block-editor-block-pattern-setup.view-mode-grid .block-editor-block-pattern-setup__container {
1334 - -moz-column-count: 3;
1335 - column-count: 3;
1374 + column-count: 3;
1336 1375 }
1337 1376 }
1338 1377 .block-editor-block-pattern-setup.view-mode-grid .block-editor-block-pattern-setup__container .block-editor-block-preview__container,
1339 1378 .block-editor-block-pattern-setup.view-mode-grid .block-editor-block-pattern-setup__container div[role=button] {
@@ -1353,10 +1392,9 @@
1353 1392 .block-editor-block-pattern-setup.view-mode-grid .block-editor-block-pattern-setup__container .block-editor-block-pattern-setup-list__item:hover .block-editor-block-pattern-setup-list__item-title, .block-editor-block-pattern-setup.view-mode-grid .block-editor-block-pattern-setup__container .block-editor-block-pattern-setup-list__item:focus .block-editor-block-pattern-setup-list__item-title {
1354 1393 color: var(--wp-admin-theme-color);
1355 1394 }
1356 1395 .block-editor-block-pattern-setup.view-mode-grid .block-editor-block-pattern-setup__container .block-editor-block-pattern-setup-list__list-item {
1357 - -moz-column-break-inside: avoid;
1358 - break-inside: avoid-column;
1396 + break-inside: avoid-column;
1359 1397 margin-bottom: 24px;
1360 1398 }
1361 1399 .block-editor-block-pattern-setup.view-mode-grid .block-editor-block-pattern-setup__container .block-editor-block-pattern-setup-list__list-item .block-editor-block-pattern-setup-list__item-title {
1362 1400 padding-top: 8px;
@@ -1506,12 +1544,8 @@
1506 1544 margin: 0;
1507 1545 min-width: 0;
1508 1546 }
1509 1547
1510 -.block-editor-panel-color-gradient-settings.block-editor-panel-color-gradient-settings, .block-editor-panel-color-gradient-settings.block-editor-panel-color-gradient-settings > div:not(:first-of-type) {
1511 - display: block;
1512 -}
1513 -
1514 1548 @media screen and (min-width: 782px) {
1515 1549 .block-editor-panel-color-gradient-settings .components-circular-option-picker__swatches {
1516 1550 display: grid;
1517 1551 grid-template-columns: repeat(6, 28px);
@@ -1519,8 +1553,18 @@
1519 1553 }
1520 1554 .block-editor-block-inspector .block-editor-panel-color-gradient-settings .components-base-control {
1521 1555 margin-bottom: inherit;
1522 1556 }
1557 +.block-editor-panel-color-gradient-settings {
1558 + /* Increased specificity required to remove the slot wrapper's row gap */
1559 +}
1560 +.block-editor-panel-color-gradient-settings.block-editor-panel-color-gradient-settings .block-editor-panel-color-gradient-settings__inner-wrapper {
1561 + grid-column: 1/-1;
1562 + row-gap: 0;
1563 +}
1564 +.block-editor-panel-color-gradient-settings.block-editor-panel-color-gradient-settings .block-editor-panel-color-gradient-settings__inner-wrapper > * {
1565 + grid-column: 1/-1;
1566 +}
1523 1567
1524 1568 .block-editor-panel-color-gradient-settings__dropdown-content {
1525 1569 min-height: 160px;
1526 1570 }
@@ -1584,8 +1628,9 @@
1584 1628 background: #f0f0f0;
1585 1629 color: var(--wp-admin-theme-color);
1586 1630 }
1587 1631 .block-editor-tools-panel-color-gradient-settings__dropdown .block-editor-panel-color-gradient-settings__color-name {
1632 + min-width: 0;
1588 1633 white-space: nowrap;
1589 1634 overflow: hidden;
1590 1635 text-overflow: ellipsis;
1591 1636 max-width: calc(100% - 44px);
@@ -1600,8 +1645,21 @@
1600 1645 .block-editor-panel-color-gradient-settings__dropdown .component-color-indicator {
1601 1646 flex-shrink: 0;
1602 1647 }
1603 1648
1649 +.block-editor-panel-color-gradient-settings__labeled-indicators {
1650 + width: 100%;
1651 + min-width: 0;
1652 +}
1653 +
1654 +.block-editor-panel-color-gradient-settings__color-indicators {
1655 + display: flex;
1656 + flex-shrink: 0;
1657 +}
1658 +.block-editor-panel-color-gradient-settings__color-indicators > * + * {
1659 + margin-inline-start: -8px;
1660 +}
1661 +
1604 1662 .block-editor-panel-color-gradient-settings__reset {
1605 1663 position: absolute;
1606 1664 left: 0;
1607 1665 top: 8px;
@@ -1731,8 +1789,17 @@
1731 1789 .block-editor-global-styles__shadow-dropdown-toggle.is-open {
1732 1790 background-color: #f0f0f0;
1733 1791 }
1734 1792
1793 +.block-editor-panel-duotone-settings__label-row {
1794 + width: 100%;
1795 + min-width: 0;
1796 +}
1797 +
1798 +.block-editor-panel-duotone-settings__label {
1799 + min-width: 0;
1800 +}
1801 +
1735 1802 .block-editor-global-styles__shadow-editor__remove-button {
1736 1803 position: absolute;
1737 1804 left: 0;
1738 1805 top: 8px;
@@ -1753,11 +1820,9 @@
1753 1820 }
1754 1821 }
1755 1822
1756 1823 .block-editor-global-styles__shadow-indicator {
1757 - -webkit-appearance: none;
1758 - -moz-appearance: none;
1759 - appearance: none;
1824 + appearance: none;
1760 1825 background: none;
1761 1826 color: #2f2f2f;
1762 1827 border: #e0e0e0 1px solid;
1763 1828 border-radius: 2px;
@@ -1816,8 +1881,72 @@
1816 1881 opacity: 1;
1817 1882 }
1818 1883 }
1819 1884
1885 +.block-editor-global-styles__text-shadow {
1886 + width: 260px;
1887 + padding: 8px;
1888 +}
1889 +
1890 +.block-editor-global-styles__text-shadow-preview {
1891 + display: flex;
1892 + align-items: center;
1893 + justify-content: center;
1894 + height: 80px;
1895 + border: #ddd 1px solid;
1896 + border-radius: 2px;
1897 + font-size: 24px;
1898 + margin-bottom: 16px;
1899 + background-image: repeating-linear-gradient(45deg, #e0e0e0 25%, transparent 25%, transparent 75%, #e0e0e0 75%, #e0e0e0), repeating-linear-gradient(45deg, #e0e0e0 25%, transparent 25%, transparent 75%, #e0e0e0 75%, #e0e0e0);
1900 + background-position: 0 0, 8px 8px;
1901 + background-size: 16px 16px;
1902 +}
1903 +
1904 +.block-editor-global-styles__text-shadow-list-item {
1905 + justify-content: space-between;
1906 + gap: 8px;
1907 + width: 100%;
1908 +}
1909 +.block-editor-global-styles__text-shadow-list-item:not(.is-active) svg {
1910 + opacity: 0;
1911 +}
1912 +
1913 +.block-editor-global-styles__text-shadow-dropdown {
1914 + display: block;
1915 + padding: 0;
1916 + position: relative;
1917 + border: 1px solid #ddd;
1918 + border-radius: 2px;
1919 +}
1920 +
1921 +.block-editor-global-styles__text-shadow-dropdown-toggle {
1922 + width: 100%;
1923 + padding: 8px;
1924 +}
1925 +.block-editor-global-styles__text-shadow-dropdown-toggle.is-open {
1926 + background-color: #f0f0f0;
1927 +}
1928 +
1929 +.block-editor-global-styles__text-shadow-remove-button {
1930 + position: absolute;
1931 + left: 8px;
1932 + top: 8px;
1933 + opacity: 0;
1934 +}
1935 +@media not (prefers-reduced-motion) {
1936 + .block-editor-global-styles__text-shadow-remove-button {
1937 + transition: opacity 0.1s ease-in-out;
1938 + }
1939 +}
1940 +.block-editor-global-styles__text-shadow-dropdown:hover .block-editor-global-styles__text-shadow-remove-button, .block-editor-global-styles__text-shadow-remove-button:focus, .block-editor-global-styles__text-shadow-remove-button:hover {
1941 + opacity: 1;
1942 +}
1943 +@media (hover: none) {
1944 + .block-editor-global-styles__text-shadow-remove-button {
1945 + opacity: 1;
1946 + }
1947 +}
1948 +
1820 1949 .is-inherited-from-global-styles .components-base-control__label,
1821 1950 .is-inherited-from-global-styles .components-input-control__label {
1822 1951 text-decoration-line: underline;
1823 1952 text-decoration-style: dotted;
@@ -2037,16 +2166,8 @@
2037 2166 animation: components-button__appear-animation 0.1s ease;
2038 2167 animation-fill-mode: forwards;
2039 2168 }
2040 2169 }
2041 -.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 {
2042 - box-shadow: none;
2043 - outline: none;
2044 -}
2045 -.block-editor-grid-item-mover__move-button-container .block-editor-grid-item-mover-button:focus-visible::before {
2046 - box-shadow: inset 0 0 0 1px #fff, 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
2047 - outline: 2px solid transparent;
2048 -}
2049 2170
2050 2171 .block-editor-grid-item-mover__move-vertical-button-container {
2051 2172 display: flex;
2052 2173 position: relative;
@@ -2210,9 +2331,10 @@
2210 2331 align-items: stretch;
2211 2332 justify-content: center;
2212 2333 cursor: var(--wpds-cursor-control, pointer);
2213 2334 background: transparent;
2214 - word-break: break-word;
2335 + word-break: normal;
2336 + overflow-wrap: break-word;
2215 2337 }
2216 2338 @media not (prefers-reduced-motion) {
2217 2339 .components-button.block-editor-block-types-list__item {
2218 2340 transition: all 0.05s ease-in-out;
@@ -2467,9 +2589,9 @@
2467 2589 width: 32px;
2468 2590 max-height: 32px;
2469 2591 }
2470 2592 .block-editor-link-control__preview .block-editor-link-control__preview-title {
2471 - line-height: 1.1;
2593 + line-height: var(--wpds-typography-line-height-sm, 20px);
2472 2594 }
2473 2595 .block-editor-link-control__preview .block-editor-link-control__preview-title:focus {
2474 2596 box-shadow: none;
2475 2597 }
@@ -2483,9 +2605,9 @@
2483 2605 color: inherit;
2484 2606 background-color: transparent;
2485 2607 }
2486 2608 .block-editor-link-control__preview .block-editor-link-control__preview-title span {
2487 - font-weight: normal;
2609 + font-weight: 400;
2488 2610 }
2489 2611 .block-editor-link-control__preview .block-editor-link-control__preview-title .components-external-link__icon {
2490 2612 position: absolute;
2491 2613 width: 1px;
@@ -2492,9 +2614,9 @@
2492 2614 height: 1px;
2493 2615 padding: 0;
2494 2616 margin: -1px;
2495 2617 overflow: hidden;
2496 - clip: rect(0, 0, 0, 0);
2618 + clip-path: inset(50%);
2497 2619 border: 0;
2498 2620 }
2499 2621
2500 2622 .block-editor-link-control__preview.is-fetching .block-editor-link-control__preview-icon svg,
@@ -2648,10 +2770,9 @@
2648 2770
2649 2771 .link-preview-button__image {
2650 2772 width: 100%;
2651 2773 height: 100%;
2652 - -o-object-fit: cover;
2653 - object-fit: cover;
2774 + object-fit: cover;
2654 2775 border-radius: 2px;
2655 2776 }
2656 2777
2657 2778 .link-preview-button__content {
@@ -2713,8 +2834,11 @@
2713 2834 .block-editor-list-view-leaf {
2714 2835 position: relative;
2715 2836 transform: translateY(0);
2716 2837 }
2838 +.block-editor-list-view-leaf:focus-within, .block-editor-list-view-leaf.is-nesting {
2839 + z-index: 1;
2840 +}
2717 2841 .block-editor-list-view-leaf.is-draggable, .block-editor-list-view-leaf.is-draggable .block-editor-list-view-block-contents {
2718 2842 cursor: grab;
2719 2843 }
2720 2844 .block-editor-list-view-leaf .block-editor-list-view-block-select-button[aria-expanded=true] {
@@ -2725,13 +2849,8 @@
2725 2849 }
2726 2850 .block-editor-list-view-leaf .block-editor-list-view-block-select-button svg {
2727 2851 fill: currentColor;
2728 2852 }
2729 -@media (forced-colors: active) {
2730 - .block-editor-list-view-leaf .block-editor-list-view-block-select-button svg {
2731 - fill: CanvasText;
2732 - }
2733 -}
2734 2853 .is-dragging-components-draggable .block-editor-list-view-leaf:not(.is-selected) .block-editor-list-view-block-select-button:hover {
2735 2854 color: inherit;
2736 2855 }
2737 2856 .block-editor-list-view-leaf.is-selected td {
@@ -2743,23 +2862,45 @@
2743 2862 .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,
2744 2863 .block-editor-list-view-leaf.is-synced:not(.is-selected) .block-editor-list-view-block-contents .block-editor-block-icon {
2745 2864 color: var(--wp-block-synced-color);
2746 2865 }
2747 -.block-editor-list-view-leaf.is-synced:not(.is-selected) .block-editor-list-view-block-contents:focus::after {
2748 - box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-block-synced-color);
2866 +.block-editor-list-view-leaf.is-synced .block-editor-list-view-block-contents:focus::after {
2867 + --focus-color: var(--wp-block-synced-color);
2749 2868 }
2869 +.block-editor-list-view-leaf.is-synced:not(.is-selected) .block-editor-list-view-block__menu:focus {
2870 + --focus-color: var(--wp-block-synced-color);
2871 + outline: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)) solid var(--focus-color, var(--wpds-color-stroke-focus, var(--wp-admin-theme-color, #3858e9)));
2872 + outline-offset: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px));
2873 +}
2750 2874 .block-editor-list-view-leaf.is-selected .block-editor-list-view-block-contents, .block-editor-list-view-leaf.is-selected .components-button.has-icon {
2751 2875 color: #fff;
2752 2876 }
2753 -.block-editor-list-view-leaf.is-selected .block-editor-list-view-block-contents:focus::after {
2754 - box-shadow: inset 0 0 0 1px #fff, 0 0 0 var(--wp-admin-border-width-focus) var(--wpds-color-stroke-focus, var(--wp-admin-theme-color, #3858e9));
2877 +.block-editor-list-view-leaf.is-selected .block-editor-list-view-block__menu:focus {
2878 + --focus-color: var(--wpds-color-foreground-interactive-brand-strong, #fff);
2879 + outline: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)) solid var(--focus-color, var(--wpds-color-stroke-focus, var(--wp-admin-theme-color, #3858e9)));
2880 + outline-offset: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px));
2881 + outline-offset: calc(-1 * var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)));
2755 2882 }
2756 -.block-editor-list-view-leaf.is-selected.is-synced .block-editor-list-view-block-contents:focus::after {
2757 - box-shadow: inset 0 0 0 1px #fff, 0 0 0 var(--wp-admin-border-width-focus) var(--wp-block-synced-color);
2883 +@media (forced-colors: active) {
2884 + .block-editor-list-view-leaf.is-selected td, .block-editor-list-view-leaf.is-selected.is-synced td {
2885 + background: SelectedItem;
2886 + }
2887 + .block-editor-list-view-leaf.is-selected .block-editor-list-view-block-contents, .block-editor-list-view-leaf.is-selected .components-button.has-icon {
2888 + color: SelectedItemText;
2889 + }
2890 + .block-editor-list-view-leaf.is-selected svg, .block-editor-list-view-leaf.is-selected .block-editor-block-icon.has-colors svg {
2891 + fill: SelectedItemText;
2892 + }
2893 + .block-editor-list-view-leaf.is-selected .block-editor-list-view-block-select-button__title {
2894 + forced-color-adjust: none;
2895 + }
2896 + .block-editor-list-view-leaf.is-selected .block-editor-list-view-block-contents:focus::after {
2897 + --focus-color: CanvasText;
2898 + }
2899 + .block-editor-list-view-leaf.is-selected .block-editor-list-view-block__menu:focus {
2900 + --focus-color: SelectedItemText;
2901 + }
2758 2902 }
2759 -.block-editor-list-view-leaf.is-selected .block-editor-list-view-block__menu:focus {
2760 - box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) #fff;
2761 -}
2762 2903 .block-editor-list-view-leaf.is-first-selected td:first-child {
2763 2904 border-top-right-radius: 2px;
2764 2905 }
2765 2906 .block-editor-list-view-leaf.is-first-selected td:last-child {
@@ -2881,8 +3022,9 @@
2881 3022 }
2882 3023 .block-editor-list-view-leaf.is-nesting .block-editor-list-view-block-contents,
2883 3024 .block-editor-list-view-leaf .block-editor-list-view-block-contents:focus {
2884 3025 box-shadow: none;
3026 + outline: none;
2885 3027 }
2886 3028 .block-editor-list-view-leaf.is-nesting .block-editor-list-view-block-contents::after,
2887 3029 .block-editor-list-view-leaf .block-editor-list-view-block-contents:focus::after {
2888 3030 content: "";
@@ -2887,13 +3029,16 @@
2887 3029 .block-editor-list-view-leaf .block-editor-list-view-block-contents:focus::after {
2888 3030 content: "";
2889 3031 position: absolute;
2890 3032 top: 0;
2891 - left: -29px;
3033 + left: -28px;
2892 3034 bottom: 0;
2893 3035 right: 0;
2894 3036 border-radius: inherit;
2895 - box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wpds-color-stroke-focus, var(--wp-admin-theme-color, #3858e9));
3037 + outline: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)) solid var(--focus-color, var(--wpds-color-stroke-focus, var(--wp-admin-theme-color, #3858e9)));
3038 + outline-offset: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px));
3039 + outline-offset: 1px;
3040 + box-shadow: 0 0 0 calc(var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)) + 2px) var(--wpds-color-background-surface-neutral-strong, #fff);
2896 3041 z-index: 2;
2897 3042 pointer-events: none;
2898 3043 }
2899 3044 .block-editor-list-view-leaf.has-single-cell .block-editor-list-view-block-contents:focus::after {
@@ -2898,12 +3043,8 @@
2898 3043 }
2899 3044 .block-editor-list-view-leaf.has-single-cell .block-editor-list-view-block-contents:focus::after {
2900 3045 left: 0;
2901 3046 }
2902 -.block-editor-list-view-leaf.is-nesting .block-editor-list-view__menu {
2903 - box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wpds-color-stroke-focus, var(--wp-admin-theme-color, #3858e9));
2904 - z-index: 1;
2905 -}
2906 3047 .block-editor-list-view-leaf.is-visible .block-editor-list-view-block-contents {
2907 3048 opacity: 1;
2908 3049 }
2909 3050 @keyframes __wp-base-styles-fade-in {
@@ -2973,14 +3114,8 @@
2973 3114 }
2974 3115 .block-editor-list-view-leaf .block-editor-block-mover-button.is-down-button svg {
2975 3116 top: -4px;
2976 3117 }
2977 -.block-editor-list-view-leaf .block-editor-block-mover-button::before {
2978 - height: 16px;
2979 - min-width: 100%;
2980 - right: 0;
2981 - left: 0;
2982 -}
2983 3118 .block-editor-list-view-leaf .block-editor-inserter__toggle {
2984 3119 background: #1e1e1e;
2985 3120 color: #fff;
2986 3121 height: 24px;
@@ -2989,8 +3124,14 @@
2989 3124 }
2990 3125 .block-editor-list-view-leaf .block-editor-inserter__toggle:active {
2991 3126 color: #fff;
2992 3127 }
3128 +.block-editor-list-view-leaf .block-editor-list-view-block-select-button__label-wrapper {
3129 + width: 100%;
3130 +}
3131 +.block-editor-list-view-leaf .block-editor-list-view-block-select-button__label-wrapper > * {
3132 + min-width: 0;
3133 +}
2993 3134 .block-editor-list-view-leaf .block-editor-list-view-block-select-button__label-wrapper svg {
2994 3135 right: 2px;
2995 3136 position: relative;
2996 3137 }
@@ -3011,8 +3152,19 @@
3011 3152 .block-editor-list-view-leaf .block-editor-list-view-block-select-button__anchor {
3012 3153 position: absolute;
3013 3154 left: 0;
3014 3155 transform: translateY(-50%);
3156 + box-sizing: border-box;
3157 + max-width: 100%;
3158 + padding: 2px 8px;
3159 + border-radius: 2px;
3160 + background: #f0f0f0;
3161 + color: #2f2f2f;
3162 + font-size: 12px;
3163 + line-height: 20px;
3164 + overflow: hidden;
3165 + text-overflow: ellipsis;
3166 + white-space: nowrap;
3015 3167 }
3016 3168 .block-editor-list-view-leaf.is-selected .block-editor-list-view-block-select-button__anchor {
3017 3169 background: rgba(0, 0, 0, 0.3);
3018 3170 color: #fff;
@@ -3257,8 +3409,12 @@
3257 3409 .block-editor-multi-selection-inspector__card-title {
3258 3410 font-weight: var(--wpds-typography-font-weight-emphasis, 600);
3259 3411 }
3260 3412
3413 +.block-editor-multi-selection-inspector__card-description {
3414 + color: #757575;
3415 +}
3416 +
3261 3417 .block-editor-multi-selection-inspector__card .block-editor-block-icon {
3262 3418 margin-right: -2px;
3263 3419 padding: 0 3px;
3264 3420 width: 36px;
@@ -3264,8 +3420,13 @@
3264 3420 width: 36px;
3265 3421 height: 24px;
3266 3422 }
3267 3423
3424 +.block-editor-plain-text {
3425 + width: 100%;
3426 + field-sizing: content;
3427 +}
3428 +
3268 3429 .block-editor-responsive-block-control {
3269 3430 margin-bottom: 28px;
3270 3431 border-bottom: 1px solid #ccc;
3271 3432 padding-bottom: 14px;
@@ -3303,9 +3464,9 @@
3303 3464 overflow: hidden;
3304 3465 padding: 0;
3305 3466 position: absolute;
3306 3467 width: 1px;
3307 - word-wrap: normal !important;
3468 + overflow-wrap: normal !important;
3308 3469 word-break: normal !important;
3309 3470 }
3310 3471
3311 3472 .preset-input-control__wrapper > * {
@@ -3558,8 +3719,13 @@
3558 3719 padding: 16px;
3559 3720 border-top: 1px solid #1e1e1e;
3560 3721 }
3561 3722
3723 +.block-editor-url-popover__link-container-content {
3724 + display: flex;
3725 + align-items: center;
3726 +}
3727 +
3562 3728 .block-editor-url-popover__link-editor,
3563 3729 .block-editor-url-popover__link-viewer {
3564 3730 display: flex;
3565 3731 }
@@ -3604,174 +3770,8 @@
3604 3770 .background-block-support-panel.background-block-support-panel .background-block-support-panel__inner-wrapper {
3605 3771 row-gap: 0;
3606 3772 }
3607 3773
3608 -.block-editor-content-only-controls__link {
3609 - width: 100%;
3610 - border-color: #ccc;
3611 -}
3612 -
3613 -.block-editor-content-only-controls__link-row {
3614 - align-items: center;
3615 -}
3616 -
3617 -.block-editor-content-only-controls__link-title {
3618 - width: 100%;
3619 - white-space: nowrap;
3620 - text-overflow: ellipsis;
3621 - overflow: hidden;
3622 -}
3623 -
3624 -.block-editor-content-only-controls__media {
3625 - width: 100%;
3626 - border-color: #ccc;
3627 - padding-left: 32px;
3628 -}
3629 -
3630 -.block-editor-content-only-controls__media-replace-flow {
3631 - display: block;
3632 -}
3633 -
3634 -.block-editor-content-only-controls__media-row {
3635 - align-items: center;
3636 -}
3637 -
3638 -.block-editor-content-only-controls__media-placeholder {
3639 - width: 24px;
3640 - height: 24px;
3641 - border-radius: 2px;
3642 - box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2);
3643 - display: inline-block;
3644 - padding: 0;
3645 - background: #fff linear-gradient(45deg, transparent 48%, #ddd 48%, #ddd 52%, transparent 52%);
3646 -}
3647 -
3648 -.block-editor-content-only-controls__media-title {
3649 - width: 100%;
3650 - white-space: nowrap;
3651 - text-overflow: ellipsis;
3652 - overflow: hidden;
3653 -}
3654 -
3655 -.block-editor-content-only-controls__media-thumbnail {
3656 - width: 20px;
3657 - height: 20px;
3658 - border-radius: 2px;
3659 - align-self: center;
3660 - overflow: hidden;
3661 -}
3662 -.block-editor-content-only-controls__media-thumbnail img {
3663 - width: 100% !important;
3664 - height: 100% !important;
3665 - -o-object-fit: cover;
3666 - object-fit: cover;
3667 -}
3668 -
3669 -.block-editor-content-only-controls {
3670 - position: relative;
3671 -}
3672 -
3673 -.block-editor-content-only-controls__media-reset {
3674 - position: absolute;
3675 - left: 0;
3676 - top: 8px;
3677 - margin: auto 8px auto;
3678 - opacity: 0;
3679 - border-radius: 2px;
3680 -}
3681 -@media not (prefers-reduced-motion) {
3682 - .block-editor-content-only-controls__media-reset {
3683 - transition: opacity 0.1s ease-in-out;
3684 - }
3685 -}
3686 -.block-editor-content-only-controls:hover .block-editor-content-only-controls__media-reset, .block-editor-content-only-controls__media-reset:focus, .block-editor-content-only-controls__media-reset:hover {
3687 - opacity: 1;
3688 -}
3689 -@media (hover: none) {
3690 - .block-editor-content-only-controls__media-reset {
3691 - opacity: 1;
3692 - }
3693 -}
3694 -
3695 -.block-editor-content-only-controls__rich-text {
3696 - width: 100%;
3697 - margin: 0;
3698 - background: #fff;
3699 - color: #1e1e1e;
3700 - font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
3701 - padding: 6px 8px;
3702 - /* Fonts smaller than 16px causes mobile safari to zoom. */
3703 - font-size: 16px;
3704 - /* Override core line-height. To be reviewed. */
3705 - line-height: normal;
3706 - box-shadow: 0 0 0 transparent;
3707 - border-radius: 2px;
3708 - border: 1px solid #949494;
3709 -}
3710 -@media not (prefers-reduced-motion) {
3711 - .block-editor-content-only-controls__rich-text {
3712 - transition: box-shadow 0.1s linear;
3713 - }
3714 -}
3715 -@media (min-width: 600px) {
3716 - .block-editor-content-only-controls__rich-text {
3717 - font-size: 13px;
3718 - /* Override core line-height. To be reviewed. */
3719 - line-height: normal;
3720 - }
3721 -}
3722 -.block-editor-content-only-controls__rich-text:focus {
3723 - border-color: var(--wp-admin-theme-color);
3724 - box-shadow: 0 0 0 0.5px var(--wp-admin-theme-color);
3725 - outline: 2px solid transparent;
3726 -}
3727 -.block-editor-content-only-controls__rich-text::-moz-placeholder {
3728 - color: rgba(30, 30, 30, 0.62);
3729 -}
3730 -.block-editor-content-only-controls__rich-text::placeholder {
3731 - color: rgba(30, 30, 30, 0.62);
3732 -}
3733 -.block-editor-content-only-controls__rich-text {
3734 - border-color: #949494;
3735 -}
3736 -.block-editor-content-only-controls__rich-text::-moz-placeholder {
3737 - color: color-mix(in srgb, #1e1e1e, transparent 38%);
3738 -}
3739 -.block-editor-content-only-controls__rich-text::placeholder {
3740 - color: color-mix(in srgb, #1e1e1e, transparent 38%);
3741 -}
3742 -.block-editor-content-only-controls__rich-text {
3743 - min-height: 40px;
3744 - padding: 12px;
3745 -}
3746 -
3747 -.block-editor-block-fields__container {
3748 - padding: 0 16px 16px;
3749 -}
3750 -.block-editor-block-fields__container:first-of-type {
3751 - padding-block-start: 8px;
3752 - /*
3753 - * Add border for the entire content controls and remove the similar border
3754 - * for tools panel.
3755 - */
3756 - border-block-start: 1px solid #e0e0e0;
3757 -}
3758 -
3759 -.block-editor-block-fields__header {
3760 - padding: 8px 0;
3761 - margin-bottom: 4px;
3762 -}
3763 -
3764 -.block-editor-block-fields__header-icon {
3765 - flex: 0 0 24px;
3766 -}
3767 -
3768 -.block-editor-block-fields__header-title {
3769 - flex: 1;
3770 - /* Override the default margin on a h2 element. */
3771 - margin: 0 !important;
3772 -}
3773 -
3774 3774 .block-editor-hooks__block-hooks {
3775 3775 /**
3776 3776 * Un-reverse the flex direction for the toggle's label.
3777 3777 */
@@ -3784,21 +3784,8 @@
3784 3784 font-size: 12px;
3785 3785 margin-bottom: 16px;
3786 3786 }
3787 3787
3788 -.block-editor-hooks__position-control-item {
3789 - /**
3790 - * Try to make items match the width of the anchor, subtract any margin on
3791 - * items to calculate the correct inner width.
3792 - */
3793 - max-inline-size: max(var(--anchor-width) - 2 * var(--wp-ui-popup-padding), 223px);
3794 -}
3795 -
3796 -.block-editor-hooks__position-control-item-hint {
3797 - color: var(--wpds-color-foreground-content-neutral-weak, #707070);
3798 - margin-block-start: 4px;
3799 -}
3800 -
3801 3788 div.block-editor-bindings__panel {
3802 3789 grid-template-columns: repeat(auto-fit, minmax(100%, 1fr));
3803 3790 }
3804 3791 div.block-editor-bindings__panel button:hover .block-editor-bindings__item span {
@@ -4118,9 +4105,9 @@
4118 4105 }
4119 4106 .block-editor-block-toolbar-change-design-content-wrapper .block-editor-block-patterns-list {
4120 4107 display: grid;
4121 4108 grid-template-columns: 1fr 1fr;
4122 - grid-gap: 12px;
4109 + gap: 12px;
4123 4110 }
4124 4111 .block-editor-block-toolbar-change-design-content-wrapper .block-editor-block-patterns-list .block-editor-block-patterns-list__list-item {
4125 4112 margin-bottom: 0;
4126 4113 }
@@ -4306,12 +4293,8 @@
4306 4293 .block-editor-inserter__parent-block-header .block-editor-block-icon {
4307 4294 margin-left: 8px;
4308 4295 }
4309 4296
4310 -.block-editor-inserter__preview-container__popover {
4311 - top: 16px !important;
4312 -}
4313 -
4314 4297 .block-editor-inserter__preview-container {
4315 4298 display: none;
4316 4299 width: 280px;
4317 4300 padding: 16px;
@@ -4452,9 +4435,9 @@
4452 4435
4453 4436 .block-editor-inserter__quick-inserter-patterns .block-editor-block-patterns-list {
4454 4437 display: grid;
4455 4438 grid-template-columns: 1fr 1fr;
4456 - grid-gap: 8px;
4439 + gap: 8px;
4457 4440 }
4458 4441 .block-editor-inserter__quick-inserter-patterns .block-editor-block-patterns-list .block-editor-block-patterns-list__list-item {
4459 4442 margin-bottom: 0;
4460 4443 }
@@ -4469,59 +4452,54 @@
4469 4452 .block-editor-inserter__popover.is-quick > .components-popover__content {
4470 4453 padding: 0;
4471 4454 }
4472 4455
4473 -.block-editor-inserter__quick-inserter-expand.components-button {
4474 - display: block;
4475 - background: #1e1e1e;
4476 - color: #fff;
4456 +.block-editor-inserter__quick-inserter-expand {
4457 + padding: 0 16px 16px;
4458 +}
4459 +
4460 +.block-editor-inserter__quick-inserter-expand-toggle {
4477 4461 width: 100%;
4478 - border-radius: 0;
4462 + justify-content: center;
4479 4463 }
4480 -.block-editor-inserter__quick-inserter-expand.components-button:hover {
4481 - color: #fff;
4482 -}
4483 -.block-editor-inserter__quick-inserter-expand.components-button:active {
4484 - color: #ccc;
4485 -}
4486 -.block-editor-inserter__quick-inserter-expand.components-button.components-button:focus:not(:disabled) {
4487 - box-shadow: none;
4488 - background: var(--wp-admin-theme-color);
4489 - border-color: var(--wp-admin-theme-color);
4490 -}
4491 4464
4492 4465 .block-editor-block-patterns-explorer__sidebar {
4493 - position: absolute;
4494 - top: 72px;
4495 - right: 0;
4496 - bottom: 0;
4497 - width: 280px;
4498 - padding: 24px 24px 24px;
4499 - overflow-x: visible;
4500 - overflow-y: auto;
4466 + padding-bottom: 24px;
4501 4467 }
4502 -.block-editor-block-patterns-explorer__sidebar__categories-list__item {
4503 - display: block;
4504 - width: 100%;
4505 - height: 48px;
4506 - text-align: right;
4468 +@media (min-width: 782px) {
4469 + .block-editor-block-patterns-explorer__sidebar {
4470 + position: absolute;
4471 + top: 72px;
4472 + right: 0;
4473 + bottom: 0;
4474 + width: 280px;
4475 + padding: 24px;
4476 + overflow-x: visible;
4477 + overflow-y: auto;
4478 + }
4507 4479 }
4508 -.block-editor-block-patterns-explorer__search {
4509 - margin-bottom: 32px;
4480 +
4481 +@media (min-width: 782px) {
4482 + .block-editor-block-patterns-explorer__panel {
4483 + margin-inline-start: 280px;
4484 + }
4510 4485 }
4511 -.block-editor-block-patterns-explorer__search-results-count {
4512 - padding-bottom: 32px;
4486 +
4487 +.block-editor-block-patterns-explorer__no-results {
4488 + padding: 32px;
4489 + text-align: center;
4513 4490 }
4491 +
4514 4492 .block-editor-block-patterns-explorer__list {
4515 - margin-right: 280px;
4516 4493 padding: 24px 0 32px;
4517 4494 }
4518 4495 .block-editor-block-patterns-explorer__list .block-editor-patterns__sync-status-filter .components-input-control__container {
4519 4496 width: 380px;
4520 4497 }
4498 +
4521 4499 .block-editor-block-patterns-explorer .block-editor-block-patterns-list {
4522 4500 display: grid;
4523 - grid-gap: 32px;
4501 + gap: 32px;
4524 4502 grid-template-columns: repeat(1, 1fr);
4525 4503 margin-bottom: 16px;
4526 4504 }
4527 4505 @media (min-width: 1080px) {
@@ -4851,9 +4829,9 @@
4851 4829 .block-editor-block-visibility-modal__options-checkbox--everywhere {
4852 4830 font-weight: var(--wpds-typography-font-weight-emphasis, 600);
4853 4831 }
4854 4832 .block-editor-block-visibility-modal__options-icon--checked {
4855 - fill: #ddd;
4833 + color: #ddd;
4856 4834 }
4857 4835 .block-editor-block-visibility-modal__sub-options {
4858 4836 width: 100%;
4859 4837 padding-inline-start: 12px;
@@ -4863,11 +4841,52 @@
4863 4841 color: #757575;
4864 4842 }
4865 4843
4866 4844 .block-editor-block-visibility-info {
4867 - padding-top: 4px;
4868 - padding-bottom: 4px;
4869 4845 margin: 0 16px 16px;
4870 - display: flex;
4871 - align-items: center;
4872 - justify-content: start;
4846 +}
4847 +
4848 +/* The stop element is invisible, so its focus indication is drawn around the
4849 + canvas it stands for. For the iframed canvas it is an overlay instead of
4850 + an outline, because Safari paints an outline on an iframe element
4851 + underneath the iframe's content. */
4852 +.block-editor-iframe__scale-container > .block-editor-writing-flow__canvas-stop:focus::after {
4853 + content: "";
4854 + position: absolute;
4855 + inset: 0;
4856 + z-index: 1;
4857 + pointer-events: none;
4858 + border: var(--wp-admin-border-width-focus) solid var(--wp-admin-theme-color);
4859 +}
4860 +
4861 +.block-editor-writing-flow__canvas-stop:focus + .block-editor-writing-flow {
4862 + outline: var(--wp-admin-border-width-focus) solid var(--wp-admin-theme-color);
4863 + outline-offset: calc(-1 * var(--wp-admin-border-width-focus));
4864 +}
4865 +
4866 +/* Looks like a tooltip. Shown at the top of the canvas while the stop is
4867 + focused. Sticky, because on the widgets screen the stop spans scrolling
4868 + content and the hint must stay in view; anywhere else there is nothing
4869 + to scroll and it stays at the top of the canvas. */
4870 +.block-editor-writing-flow__canvas-stop-hint {
4871 + display: none;
4872 + position: sticky;
4873 + top: 16px;
4874 + margin-inline: auto;
4875 + width: fit-content;
4876 + z-index: 2;
4877 + background: #000;
4878 + font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
4879 + border-radius: 4px;
4880 + color: #f0f0f0;
4881 + text-align: center;
4882 + line-height: 1.4;
4883 + font-size: 12px;
4884 + padding: 4px 8px;
4885 + 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);
4886 + white-space: nowrap;
4887 + pointer-events: none;
4888 +}
4889 +
4890 +.block-editor-writing-flow__canvas-stop:focus > .block-editor-writing-flow__canvas-stop-hint {
4891 + display: block;
4873 4892 }