PluginProbe
Gutenberg / 24.1.0
Gutenberg v24.1.0
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.css +370 -332 23.6.2 → 24.1.0 View file →
@@ -163,11 +163,8 @@
163 163 }
164 164 .block-editor-global-styles-background-panel__image-tools-panel-item button.components-button:hover {
165 165 color: var(--wp-admin-theme-color);
166 166 }
167 -.block-editor-global-styles-background-panel__image-tools-panel-item button.components-button:focus {
168 - box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
169 -}
170 167 .block-editor-global-styles-background-panel__image-tools-panel-item .block-editor-global-styles-background-panel__loading {
171 168 height: 100%;
172 169 position: absolute;
173 170 z-index: 1;
@@ -260,11 +257,11 @@
260 257 z-index: 159890;
261 258 }
262 259
263 260 .block-editor-global-styles-background-panel__media-replace-popover .components-popover__content {
264 - width: 226px;
261 + width: auto;
265 262 }
266 -.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 {
267 264 padding: 0 8px;
268 265 }
269 266 .block-editor-global-styles-background-panel__media-replace-popover .components-button .components-menu-items__item-icon.has-icon-right {
270 267 margin-left: 16px;
@@ -298,13 +295,8 @@
298 295 }
299 296 .block-editor-block-icon.has-colors svg {
300 297 fill: currentColor;
301 298 }
302 -@media (forced-colors: active) {
303 - .block-editor-block-icon.has-colors svg {
304 - fill: CanvasText;
305 - }
306 -}
307 299 .block-editor-block-icon svg {
308 300 min-width: 20px;
309 301 min-height: 20px;
310 302 max-width: 24px;
@@ -347,8 +339,21 @@
347 339 padding: 32px 16px;
348 340 text-align: center;
349 341 }
350 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 +
351 356 .block-editor-block-inspector__no-block-tools {
352 357 border-top: 1px solid #ddd;
353 358 }
354 359
@@ -475,8 +480,14 @@
475 480 }
476 481 .show-icon-labels .components-popover.block-editor-block-list__block-popover .block-editor-block-contextual-toolbar.has-parent {
477 482 margin-left: 0;
478 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-left: 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-left: 0;
489 +}
479 490 .components-popover.block-editor-block-list__block-popover .block-editor-block-toolbar {
480 491 overflow: visible;
481 492 }
482 493 .components-popover.block-editor-block-list__block-popover .block-editor-block-toolbar .components-toolbar-group,
@@ -497,8 +508,67 @@
497 508 .components-popover.block-editor-block-list__block-popover .block-editor-block-parent-selector {
498 509 position: absolute;
499 510 left: calc(-48px - 8px - 1px);
500 511 }
512 +.components-popover.block-editor-block-list__block-popover .block-editor-block-parent-selector:has(.block-editor-block-parent-selector__inserter) {
513 + left: 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-right: 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 + left: 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 +}
501 571 .components-popover.block-editor-block-list__block-popover .block-editor-block-parent-selector::before {
502 572 content: "";
503 573 }
504 574 .components-popover.block-editor-block-list__block-popover .block-editor-block-parent-selector::after {
@@ -578,9 +648,9 @@
578 648 }
579 649 .block-editor-block-lock-modal__checklist-item .block-editor-block-lock-modal__lock-icon {
580 650 flex-shrink: 0;
581 651 margin-right: 12px;
582 - fill: #1e1e1e;
652 + color: #1e1e1e;
583 653 }
584 654 .block-editor-block-lock-modal__checklist-item:hover {
585 655 background-color: #f0f0f0;
586 656 border-radius: 2px;
@@ -688,8 +758,9 @@
688 758 display: flex;
689 759 align-items: center;
690 760 flex-wrap: wrap;
691 761 gap: 4px 8px;
762 + overflow-wrap: anywhere;
692 763 }
693 764 .block-editor-block-card__title.block-editor-block-card__title {
694 765 font-size: 13px;
695 766 line-height: 1.4;
@@ -793,11 +864,9 @@
793 864 height: 48px;
794 865 padding: 0 13px;
795 866 position: relative;
796 867 -webkit-user-select: none;
797 - -moz-user-select: none;
798 868 user-select: none;
799 - width: -moz-max-content;
800 869 width: max-content;
801 870 }
802 871 .block-editor-block-draggable-chip svg {
803 872 fill: currentColor;
@@ -897,8 +966,9 @@
897 966 }
898 967 .block-editor-block-manager__checklist-item .block-editor-block-icon {
899 968 margin-right: 10px;
900 969 fill: #1e1e1e;
970 + color: #1e1e1e;
901 971 }
902 972
903 973 .block-editor-block-manager__results {
904 974 border-top: 1px solid #ddd;
@@ -987,16 +1057,8 @@
987 1057 animation: components-button__appear-animation 0.1s ease;
988 1058 animation-fill-mode: forwards;
989 1059 }
990 1060 }
991 -.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 {
992 - box-shadow: none;
993 - outline: none;
994 -}
995 -.components-button.block-editor-block-mover-button:focus-visible::before {
996 - box-shadow: inset 0 0 0 1px #fff, 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
997 - outline: 2px solid transparent;
998 -}
999 1061
1000 1062 .block-editor-block-navigation__container {
1001 1063 min-width: 280px;
1002 1064 }
@@ -1069,9 +1131,9 @@
1069 1131 min-width: 24px;
1070 1132 height: 24px;
1071 1133 }
1072 1134 .block-editor-block-patterns-list__item .block-editor-patterns__pattern-icon-wrapper .block-editor-patterns__pattern-icon {
1073 - fill: var(--wp-block-synced-color);
1135 + color: var(--wp-block-synced-color);
1074 1136 }
1075 1137
1076 1138 .block-editor-patterns__grid-pagination-wrapper .block-editor-patterns__grid-pagination {
1077 1139 border-top: 1px solid #2f2f2f;
@@ -1097,9 +1159,8 @@
1097 1159 }
1098 1160 .components-popover.block-editor-block-popover .components-popover__content {
1099 1161 margin: 0 !important;
1100 1162 min-width: auto;
1101 - width: -moz-max-content;
1102 1163 width: max-content;
1103 1164 overflow-y: visible;
1104 1165 }
1105 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 * {
@@ -1184,40 +1245,19 @@
1184 1245 grid-column: 1/-1;
1185 1246 }
1186 1247
1187 1248 .block-editor-block-styles__variants {
1188 - display: flex;
1189 - flex-wrap: wrap;
1190 - justify-content: space-between;
1249 + display: grid;
1191 1250 gap: 8px;
1192 1251 }
1193 -.block-editor-block-styles__variants button.components-button.block-editor-block-styles__item {
1194 - color: #1e1e1e;
1195 - border-color: #ddd;
1196 - display: inline-block;
1197 - 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;
1198 1256 }
1199 -.block-editor-block-styles__variants button.components-button.block-editor-block-styles__item:hover {
1200 - color: var(--wp-admin-theme-color);
1201 - box-shadow: inset 0 0 0 1px #ddd;
1202 -}
1203 -.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 {
1204 - background-color: #1e1e1e;
1205 - box-shadow: none;
1206 -}
1207 -.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 {
1208 - color: #fff;
1209 -}
1210 -.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 {
1211 - outline: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)) solid var(--wpds-color-stroke-focus, var(--wp-admin-theme-color, #3858e9));
1212 - outline-offset: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px));
1213 -}
1214 1257 .block-editor-block-styles__variants .block-editor-block-styles__item-text {
1215 - word-break: break-all;
1216 - white-space: normal;
1217 1258 text-align: start;
1218 - -moz-text-align-last: center;
1219 - text-align-last: center;
1259 + text-align-last: center;
1220 1260 }
1221 1261
1222 1262 .components-popover.block-editor-block-switcher__popover .components-popover__content {
1223 1263 min-width: 300px;
@@ -1320,22 +1360,19 @@
1320 1360 .block-editor-block-pattern-setup.view-mode-grid .block-editor-block-pattern-setup__toolbar {
1321 1361 justify-content: center;
1322 1362 }
1323 1363 .block-editor-block-pattern-setup.view-mode-grid .block-editor-block-pattern-setup__container {
1324 - -moz-column-gap: 24px;
1325 - column-gap: 24px;
1364 + column-gap: 24px;
1326 1365 display: block;
1327 1366 width: 100%;
1328 1367 padding: 32px;
1329 1368 padding-bottom: 0;
1330 1369 padding-top: 0;
1331 - -moz-column-count: 2;
1332 - column-count: 2;
1370 + column-count: 2;
1333 1371 }
1334 1372 @media (min-width: 1440px) {
1335 1373 .block-editor-block-pattern-setup.view-mode-grid .block-editor-block-pattern-setup__container {
1336 - -moz-column-count: 3;
1337 - column-count: 3;
1374 + column-count: 3;
1338 1375 }
1339 1376 }
1340 1377 .block-editor-block-pattern-setup.view-mode-grid .block-editor-block-pattern-setup__container .block-editor-block-preview__container,
1341 1378 .block-editor-block-pattern-setup.view-mode-grid .block-editor-block-pattern-setup__container div[role=button] {
@@ -1355,10 +1392,9 @@
1355 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 {
1356 1393 color: var(--wp-admin-theme-color);
1357 1394 }
1358 1395 .block-editor-block-pattern-setup.view-mode-grid .block-editor-block-pattern-setup__container .block-editor-block-pattern-setup-list__list-item {
1359 - -moz-column-break-inside: avoid;
1360 - break-inside: avoid-column;
1396 + break-inside: avoid-column;
1361 1397 margin-bottom: 24px;
1362 1398 }
1363 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 {
1364 1400 padding-top: 8px;
@@ -1508,12 +1544,8 @@
1508 1544 margin: 0;
1509 1545 min-width: 0;
1510 1546 }
1511 1547
1512 -.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) {
1513 - display: block;
1514 -}
1515 -
1516 1548 @media screen and (min-width: 782px) {
1517 1549 .block-editor-panel-color-gradient-settings .components-circular-option-picker__swatches {
1518 1550 display: grid;
1519 1551 grid-template-columns: repeat(6, 28px);
@@ -1521,8 +1553,18 @@
1521 1553 }
1522 1554 .block-editor-block-inspector .block-editor-panel-color-gradient-settings .components-base-control {
1523 1555 margin-bottom: inherit;
1524 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 +}
1525 1567
1526 1568 .block-editor-panel-color-gradient-settings__dropdown-content {
1527 1569 min-height: 160px;
1528 1570 }
@@ -1586,8 +1628,9 @@
1586 1628 background: #f0f0f0;
1587 1629 color: var(--wp-admin-theme-color);
1588 1630 }
1589 1631 .block-editor-tools-panel-color-gradient-settings__dropdown .block-editor-panel-color-gradient-settings__color-name {
1632 + min-width: 0;
1590 1633 white-space: nowrap;
1591 1634 overflow: hidden;
1592 1635 text-overflow: ellipsis;
1593 1636 max-width: calc(100% - 44px);
@@ -1602,8 +1645,21 @@
1602 1645 .block-editor-panel-color-gradient-settings__dropdown .component-color-indicator {
1603 1646 flex-shrink: 0;
1604 1647 }
1605 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 +
1606 1662 .block-editor-panel-color-gradient-settings__reset {
1607 1663 position: absolute;
1608 1664 right: 0;
1609 1665 top: 8px;
@@ -1733,8 +1789,17 @@
1733 1789 .block-editor-global-styles__shadow-dropdown-toggle.is-open {
1734 1790 background-color: #f0f0f0;
1735 1791 }
1736 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 +
1737 1802 .block-editor-global-styles__shadow-editor__remove-button {
1738 1803 position: absolute;
1739 1804 right: 0;
1740 1805 top: 8px;
@@ -1755,11 +1820,9 @@
1755 1820 }
1756 1821 }
1757 1822
1758 1823 .block-editor-global-styles__shadow-indicator {
1759 - -webkit-appearance: none;
1760 - -moz-appearance: none;
1761 - appearance: none;
1824 + appearance: none;
1762 1825 background: none;
1763 1826 color: #2f2f2f;
1764 1827 border: #e0e0e0 1px solid;
1765 1828 border-radius: 2px;
@@ -1819,8 +1882,74 @@
1819 1882 opacity: 1;
1820 1883 }
1821 1884 }
1822 1885
1886 +.block-editor-global-styles__text-shadow {
1887 + width: 260px;
1888 + padding: 8px;
1889 +}
1890 +
1891 +.block-editor-global-styles__text-shadow-preview {
1892 + display: flex;
1893 + align-items: center;
1894 + justify-content: center;
1895 + height: 80px;
1896 + border: #ddd 1px solid;
1897 + border-radius: 2px;
1898 + font-size: 24px;
1899 + margin-bottom: 16px;
1900 + /*rtl:begin:ignore*/
1901 + 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);
1902 + background-position: 0 0, 8px 8px;
1903 + /*rtl:end:ignore*/
1904 + background-size: 16px 16px;
1905 +}
1906 +
1907 +.block-editor-global-styles__text-shadow-list-item {
1908 + justify-content: space-between;
1909 + gap: 8px;
1910 + width: 100%;
1911 +}
1912 +.block-editor-global-styles__text-shadow-list-item:not(.is-active) svg {
1913 + opacity: 0;
1914 +}
1915 +
1916 +.block-editor-global-styles__text-shadow-dropdown {
1917 + display: block;
1918 + padding: 0;
1919 + position: relative;
1920 + border: 1px solid #ddd;
1921 + border-radius: 2px;
1922 +}
1923 +
1924 +.block-editor-global-styles__text-shadow-dropdown-toggle {
1925 + width: 100%;
1926 + padding: 8px;
1927 +}
1928 +.block-editor-global-styles__text-shadow-dropdown-toggle.is-open {
1929 + background-color: #f0f0f0;
1930 +}
1931 +
1932 +.block-editor-global-styles__text-shadow-remove-button {
1933 + position: absolute;
1934 + right: 8px;
1935 + top: 8px;
1936 + opacity: 0;
1937 +}
1938 +@media not (prefers-reduced-motion) {
1939 + .block-editor-global-styles__text-shadow-remove-button {
1940 + transition: opacity 0.1s ease-in-out;
1941 + }
1942 +}
1943 +.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 {
1944 + opacity: 1;
1945 +}
1946 +@media (hover: none) {
1947 + .block-editor-global-styles__text-shadow-remove-button {
1948 + opacity: 1;
1949 + }
1950 +}
1951 +
1823 1952 .is-inherited-from-global-styles .components-base-control__label,
1824 1953 .is-inherited-from-global-styles .components-input-control__label {
1825 1954 text-decoration-line: underline;
1826 1955 text-decoration-style: dotted;
@@ -2040,16 +2169,8 @@
2040 2169 animation: components-button__appear-animation 0.1s ease;
2041 2170 animation-fill-mode: forwards;
2042 2171 }
2043 2172 }
2044 -.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 {
2045 - box-shadow: none;
2046 - outline: none;
2047 -}
2048 -.block-editor-grid-item-mover__move-button-container .block-editor-grid-item-mover-button:focus-visible::before {
2049 - box-shadow: inset 0 0 0 1px #fff, 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
2050 - outline: 2px solid transparent;
2051 -}
2052 2173
2053 2174 .block-editor-grid-item-mover__move-vertical-button-container {
2054 2175 display: flex;
2055 2176 position: relative;
@@ -2163,8 +2284,27 @@
2163 2284 position: absolute;
2164 2285 right: 0;
2165 2286 }
2166 2287
2288 +.wp-block-image__crop-area {
2289 + position: relative;
2290 + max-width: 100%;
2291 + width: 100%;
2292 + overflow: hidden;
2293 +}
2294 +.wp-block-image__crop-area .reactEasyCrop_Container {
2295 + pointer-events: auto;
2296 +}
2297 +.wp-block-image__crop-area .reactEasyCrop_Container .reactEasyCrop_Image {
2298 + border: none;
2299 + border-radius: 0;
2300 +}
2301 +
2302 +.wp-block-image__zoom .components-popover__content {
2303 + min-width: 260px;
2304 + overflow: visible !important;
2305 +}
2306 +
2167 2307 .block-editor-block-types-list__list-item {
2168 2308 display: block;
2169 2309 width: 33.33%;
2170 2310 padding: 0;
@@ -2194,9 +2334,10 @@
2194 2334 align-items: stretch;
2195 2335 justify-content: center;
2196 2336 cursor: var(--wpds-cursor-control, pointer);
2197 2337 background: transparent;
2198 - word-break: break-word;
2338 + word-break: normal;
2339 + overflow-wrap: break-word;
2199 2340 }
2200 2341 @media not (prefers-reduced-motion) {
2201 2342 .components-button.block-editor-block-types-list__item {
2202 2343 transition: all 0.05s ease-in-out;
@@ -2451,9 +2592,9 @@
2451 2592 width: 32px;
2452 2593 max-height: 32px;
2453 2594 }
2454 2595 .block-editor-link-control__preview .block-editor-link-control__preview-title {
2455 - line-height: 1.1;
2596 + line-height: var(--wpds-typography-line-height-sm, 20px);
2456 2597 }
2457 2598 .block-editor-link-control__preview .block-editor-link-control__preview-title:focus {
2458 2599 box-shadow: none;
2459 2600 }
@@ -2467,9 +2608,9 @@
2467 2608 color: inherit;
2468 2609 background-color: transparent;
2469 2610 }
2470 2611 .block-editor-link-control__preview .block-editor-link-control__preview-title span {
2471 - font-weight: normal;
2612 + font-weight: 400;
2472 2613 }
2473 2614 .block-editor-link-control__preview .block-editor-link-control__preview-title .components-external-link__icon {
2474 2615 position: absolute;
2475 2616 width: 1px;
@@ -2476,9 +2617,9 @@
2476 2617 height: 1px;
2477 2618 padding: 0;
2478 2619 margin: -1px;
2479 2620 overflow: hidden;
2480 - clip: rect(0, 0, 0, 0);
2621 + clip-path: inset(50%);
2481 2622 border: 0;
2482 2623 }
2483 2624
2484 2625 .block-editor-link-control__preview.is-fetching .block-editor-link-control__preview-icon svg,
@@ -2632,10 +2773,9 @@
2632 2773
2633 2774 .link-preview-button__image {
2634 2775 width: 100%;
2635 2776 height: 100%;
2636 - -o-object-fit: cover;
2637 - object-fit: cover;
2777 + object-fit: cover;
2638 2778 border-radius: 2px;
2639 2779 }
2640 2780
2641 2781 .link-preview-button__content {
@@ -2697,8 +2837,11 @@
2697 2837 .block-editor-list-view-leaf {
2698 2838 position: relative;
2699 2839 transform: translateY(0);
2700 2840 }
2841 +.block-editor-list-view-leaf:focus-within, .block-editor-list-view-leaf.is-nesting {
2842 + z-index: 1;
2843 +}
2701 2844 .block-editor-list-view-leaf.is-draggable, .block-editor-list-view-leaf.is-draggable .block-editor-list-view-block-contents {
2702 2845 cursor: grab;
2703 2846 }
2704 2847 .block-editor-list-view-leaf .block-editor-list-view-block-select-button[aria-expanded=true] {
@@ -2709,13 +2852,8 @@
2709 2852 }
2710 2853 .block-editor-list-view-leaf .block-editor-list-view-block-select-button svg {
2711 2854 fill: currentColor;
2712 2855 }
2713 -@media (forced-colors: active) {
2714 - .block-editor-list-view-leaf .block-editor-list-view-block-select-button svg {
2715 - fill: CanvasText;
2716 - }
2717 -}
2718 2856 .is-dragging-components-draggable .block-editor-list-view-leaf:not(.is-selected) .block-editor-list-view-block-select-button:hover {
2719 2857 color: inherit;
2720 2858 }
2721 2859 .block-editor-list-view-leaf.is-selected td {
@@ -2727,23 +2865,45 @@
2727 2865 .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,
2728 2866 .block-editor-list-view-leaf.is-synced:not(.is-selected) .block-editor-list-view-block-contents .block-editor-block-icon {
2729 2867 color: var(--wp-block-synced-color);
2730 2868 }
2731 -.block-editor-list-view-leaf.is-synced:not(.is-selected) .block-editor-list-view-block-contents:focus::after {
2732 - box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-block-synced-color);
2869 +.block-editor-list-view-leaf.is-synced .block-editor-list-view-block-contents:focus::after {
2870 + --focus-color: var(--wp-block-synced-color);
2733 2871 }
2872 +.block-editor-list-view-leaf.is-synced:not(.is-selected) .block-editor-list-view-block__menu:focus {
2873 + --focus-color: var(--wp-block-synced-color);
2874 + 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)));
2875 + outline-offset: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px));
2876 +}
2734 2877 .block-editor-list-view-leaf.is-selected .block-editor-list-view-block-contents, .block-editor-list-view-leaf.is-selected .components-button.has-icon {
2735 2878 color: #fff;
2736 2879 }
2737 -.block-editor-list-view-leaf.is-selected .block-editor-list-view-block-contents:focus::after {
2738 - 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));
2880 +.block-editor-list-view-leaf.is-selected .block-editor-list-view-block__menu:focus {
2881 + --focus-color: var(--wpds-color-foreground-interactive-brand-strong, #fff);
2882 + 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)));
2883 + outline-offset: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px));
2884 + outline-offset: calc(-1 * var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)));
2739 2885 }
2740 -.block-editor-list-view-leaf.is-selected.is-synced .block-editor-list-view-block-contents:focus::after {
2741 - box-shadow: inset 0 0 0 1px #fff, 0 0 0 var(--wp-admin-border-width-focus) var(--wp-block-synced-color);
2886 +@media (forced-colors: active) {
2887 + .block-editor-list-view-leaf.is-selected td, .block-editor-list-view-leaf.is-selected.is-synced td {
2888 + background: SelectedItem;
2889 + }
2890 + .block-editor-list-view-leaf.is-selected .block-editor-list-view-block-contents, .block-editor-list-view-leaf.is-selected .components-button.has-icon {
2891 + color: SelectedItemText;
2892 + }
2893 + .block-editor-list-view-leaf.is-selected svg, .block-editor-list-view-leaf.is-selected .block-editor-block-icon.has-colors svg {
2894 + fill: SelectedItemText;
2895 + }
2896 + .block-editor-list-view-leaf.is-selected .block-editor-list-view-block-select-button__title {
2897 + forced-color-adjust: none;
2898 + }
2899 + .block-editor-list-view-leaf.is-selected .block-editor-list-view-block-contents:focus::after {
2900 + --focus-color: CanvasText;
2901 + }
2902 + .block-editor-list-view-leaf.is-selected .block-editor-list-view-block__menu:focus {
2903 + --focus-color: SelectedItemText;
2904 + }
2742 2905 }
2743 -.block-editor-list-view-leaf.is-selected .block-editor-list-view-block__menu:focus {
2744 - box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) #fff;
2745 -}
2746 2906 .block-editor-list-view-leaf.is-first-selected td:first-child {
2747 2907 border-top-left-radius: 2px;
2748 2908 }
2749 2909 .block-editor-list-view-leaf.is-first-selected td:last-child {
@@ -2865,8 +3025,9 @@
2865 3025 }
2866 3026 .block-editor-list-view-leaf.is-nesting .block-editor-list-view-block-contents,
2867 3027 .block-editor-list-view-leaf .block-editor-list-view-block-contents:focus {
2868 3028 box-shadow: none;
3029 + outline: none;
2869 3030 }
2870 3031 .block-editor-list-view-leaf.is-nesting .block-editor-list-view-block-contents::after,
2871 3032 .block-editor-list-view-leaf .block-editor-list-view-block-contents:focus::after {
2872 3033 content: "";
@@ -2871,13 +3032,16 @@
2871 3032 .block-editor-list-view-leaf .block-editor-list-view-block-contents:focus::after {
2872 3033 content: "";
2873 3034 position: absolute;
2874 3035 top: 0;
2875 - right: -29px;
3036 + right: -28px;
2876 3037 bottom: 0;
2877 3038 left: 0;
2878 3039 border-radius: inherit;
2879 - box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wpds-color-stroke-focus, var(--wp-admin-theme-color, #3858e9));
3040 + 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)));
3041 + outline-offset: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px));
3042 + outline-offset: 1px;
3043 + 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);
2880 3044 z-index: 2;
2881 3045 pointer-events: none;
2882 3046 }
2883 3047 .block-editor-list-view-leaf.has-single-cell .block-editor-list-view-block-contents:focus::after {
@@ -2882,12 +3046,8 @@
2882 3046 }
2883 3047 .block-editor-list-view-leaf.has-single-cell .block-editor-list-view-block-contents:focus::after {
2884 3048 right: 0;
2885 3049 }
2886 -.block-editor-list-view-leaf.is-nesting .block-editor-list-view__menu {
2887 - box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wpds-color-stroke-focus, var(--wp-admin-theme-color, #3858e9));
2888 - z-index: 1;
2889 -}
2890 3050 .block-editor-list-view-leaf.is-visible .block-editor-list-view-block-contents {
2891 3051 opacity: 1;
2892 3052 }
2893 3053 @keyframes __wp-base-styles-fade-in {
@@ -2957,14 +3117,8 @@
2957 3117 }
2958 3118 .block-editor-list-view-leaf .block-editor-block-mover-button.is-down-button svg {
2959 3119 top: -4px;
2960 3120 }
2961 -.block-editor-list-view-leaf .block-editor-block-mover-button::before {
2962 - height: 16px;
2963 - min-width: 100%;
2964 - left: 0;
2965 - right: 0;
2966 -}
2967 3121 .block-editor-list-view-leaf .block-editor-inserter__toggle {
2968 3122 background: #1e1e1e;
2969 3123 color: #fff;
2970 3124 height: 24px;
@@ -2973,8 +3127,14 @@
2973 3127 }
2974 3128 .block-editor-list-view-leaf .block-editor-inserter__toggle:active {
2975 3129 color: #fff;
2976 3130 }
3131 +.block-editor-list-view-leaf .block-editor-list-view-block-select-button__label-wrapper {
3132 + width: 100%;
3133 +}
3134 +.block-editor-list-view-leaf .block-editor-list-view-block-select-button__label-wrapper > * {
3135 + min-width: 0;
3136 +}
2977 3137 .block-editor-list-view-leaf .block-editor-list-view-block-select-button__label-wrapper svg {
2978 3138 left: 2px;
2979 3139 position: relative;
2980 3140 }
@@ -2995,8 +3155,19 @@
2995 3155 .block-editor-list-view-leaf .block-editor-list-view-block-select-button__anchor {
2996 3156 position: absolute;
2997 3157 right: 0;
2998 3158 transform: translateY(-50%);
3159 + box-sizing: border-box;
3160 + max-width: 100%;
3161 + padding: 2px 8px;
3162 + border-radius: 2px;
3163 + background: #f0f0f0;
3164 + color: #2f2f2f;
3165 + font-size: 12px;
3166 + line-height: 20px;
3167 + overflow: hidden;
3168 + text-overflow: ellipsis;
3169 + white-space: nowrap;
2999 3170 }
3000 3171 .block-editor-list-view-leaf.is-selected .block-editor-list-view-block-select-button__anchor {
3001 3172 background: rgba(0, 0, 0, 0.3);
3002 3173 color: #fff;
@@ -3242,8 +3413,12 @@
3242 3413 .block-editor-multi-selection-inspector__card-title {
3243 3414 font-weight: var(--wpds-typography-font-weight-emphasis, 600);
3244 3415 }
3245 3416
3417 +.block-editor-multi-selection-inspector__card-description {
3418 + color: #757575;
3419 +}
3420 +
3246 3421 .block-editor-multi-selection-inspector__card .block-editor-block-icon {
3247 3422 margin-left: -2px;
3248 3423 padding: 0 3px;
3249 3424 width: 36px;
@@ -3249,8 +3424,13 @@
3249 3424 width: 36px;
3250 3425 height: 24px;
3251 3426 }
3252 3427
3428 +.block-editor-plain-text {
3429 + width: 100%;
3430 + field-sizing: content;
3431 +}
3432 +
3253 3433 .block-editor-responsive-block-control {
3254 3434 margin-bottom: 28px;
3255 3435 border-bottom: 1px solid #ccc;
3256 3436 padding-bottom: 14px;
@@ -3288,9 +3468,9 @@
3288 3468 overflow: hidden;
3289 3469 padding: 0;
3290 3470 position: absolute;
3291 3471 width: 1px;
3292 - word-wrap: normal !important;
3472 + overflow-wrap: normal !important;
3293 3473 word-break: normal !important;
3294 3474 }
3295 3475
3296 3476 .preset-input-control__wrapper > * {
@@ -3543,8 +3723,13 @@
3543 3723 padding: 16px;
3544 3724 border-top: 1px solid #1e1e1e;
3545 3725 }
3546 3726
3727 +.block-editor-url-popover__link-container-content {
3728 + display: flex;
3729 + align-items: center;
3730 +}
3731 +
3547 3732 .block-editor-url-popover__link-editor,
3548 3733 .block-editor-url-popover__link-viewer {
3549 3734 display: flex;
3550 3735 }
@@ -3589,174 +3774,8 @@
3589 3774 .background-block-support-panel.background-block-support-panel .background-block-support-panel__inner-wrapper {
3590 3775 row-gap: 0;
3591 3776 }
3592 3777
3593 -.block-editor-content-only-controls__link {
3594 - width: 100%;
3595 - border-color: #ccc;
3596 -}
3597 -
3598 -.block-editor-content-only-controls__link-row {
3599 - align-items: center;
3600 -}
3601 -
3602 -.block-editor-content-only-controls__link-title {
3603 - width: 100%;
3604 - white-space: nowrap;
3605 - text-overflow: ellipsis;
3606 - overflow: hidden;
3607 -}
3608 -
3609 -.block-editor-content-only-controls__media {
3610 - width: 100%;
3611 - border-color: #ccc;
3612 - padding-right: 32px;
3613 -}
3614 -
3615 -.block-editor-content-only-controls__media-replace-flow {
3616 - display: block;
3617 -}
3618 -
3619 -.block-editor-content-only-controls__media-row {
3620 - align-items: center;
3621 -}
3622 -
3623 -.block-editor-content-only-controls__media-placeholder {
3624 - width: 24px;
3625 - height: 24px;
3626 - border-radius: 2px;
3627 - box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2);
3628 - display: inline-block;
3629 - padding: 0;
3630 - background: #fff linear-gradient(-45deg, transparent 48%, #ddd 48%, #ddd 52%, transparent 52%);
3631 -}
3632 -
3633 -.block-editor-content-only-controls__media-title {
3634 - width: 100%;
3635 - white-space: nowrap;
3636 - text-overflow: ellipsis;
3637 - overflow: hidden;
3638 -}
3639 -
3640 -.block-editor-content-only-controls__media-thumbnail {
3641 - width: 20px;
3642 - height: 20px;
3643 - border-radius: 2px;
3644 - align-self: center;
3645 - overflow: hidden;
3646 -}
3647 -.block-editor-content-only-controls__media-thumbnail img {
3648 - width: 100% !important;
3649 - height: 100% !important;
3650 - -o-object-fit: cover;
3651 - object-fit: cover;
3652 -}
3653 -
3654 -.block-editor-content-only-controls {
3655 - position: relative;
3656 -}
3657 -
3658 -.block-editor-content-only-controls__media-reset {
3659 - position: absolute;
3660 - right: 0;
3661 - top: 8px;
3662 - margin: auto 8px auto;
3663 - opacity: 0;
3664 - border-radius: 2px;
3665 -}
3666 -@media not (prefers-reduced-motion) {
3667 - .block-editor-content-only-controls__media-reset {
3668 - transition: opacity 0.1s ease-in-out;
3669 - }
3670 -}
3671 -.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 {
3672 - opacity: 1;
3673 -}
3674 -@media (hover: none) {
3675 - .block-editor-content-only-controls__media-reset {
3676 - opacity: 1;
3677 - }
3678 -}
3679 -
3680 -.block-editor-content-only-controls__rich-text {
3681 - width: 100%;
3682 - margin: 0;
3683 - background: #fff;
3684 - color: #1e1e1e;
3685 - font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
3686 - padding: 6px 8px;
3687 - /* Fonts smaller than 16px causes mobile safari to zoom. */
3688 - font-size: 16px;
3689 - /* Override core line-height. To be reviewed. */
3690 - line-height: normal;
3691 - box-shadow: 0 0 0 transparent;
3692 - border-radius: 2px;
3693 - border: 1px solid #949494;
3694 -}
3695 -@media not (prefers-reduced-motion) {
3696 - .block-editor-content-only-controls__rich-text {
3697 - transition: box-shadow 0.1s linear;
3698 - }
3699 -}
3700 -@media (min-width: 600px) {
3701 - .block-editor-content-only-controls__rich-text {
3702 - font-size: 13px;
3703 - /* Override core line-height. To be reviewed. */
3704 - line-height: normal;
3705 - }
3706 -}
3707 -.block-editor-content-only-controls__rich-text:focus {
3708 - border-color: var(--wp-admin-theme-color, #3858e9);
3709 - box-shadow: 0 0 0 0.5px var(--wp-admin-theme-color, #3858e9);
3710 - outline: 2px solid transparent;
3711 -}
3712 -.block-editor-content-only-controls__rich-text::-moz-placeholder {
3713 - color: rgba(30, 30, 30, 0.62);
3714 -}
3715 -.block-editor-content-only-controls__rich-text::placeholder {
3716 - color: rgba(30, 30, 30, 0.62);
3717 -}
3718 -.block-editor-content-only-controls__rich-text {
3719 - border-color: #949494;
3720 -}
3721 -.block-editor-content-only-controls__rich-text::-moz-placeholder {
3722 - color: color-mix(in srgb, #1e1e1e, transparent 38%);
3723 -}
3724 -.block-editor-content-only-controls__rich-text::placeholder {
3725 - color: color-mix(in srgb, #1e1e1e, transparent 38%);
3726 -}
3727 -.block-editor-content-only-controls__rich-text {
3728 - min-height: 40px;
3729 - padding: 12px;
3730 -}
3731 -
3732 -.block-editor-block-fields__container {
3733 - padding: 0 16px 16px;
3734 -}
3735 -.block-editor-block-fields__container:first-of-type {
3736 - padding-block-start: 8px;
3737 - /*
3738 - * Add border for the entire content controls and remove the similar border
3739 - * for tools panel.
3740 - */
3741 - border-block-start: 1px solid #e0e0e0;
3742 -}
3743 -
3744 -.block-editor-block-fields__header {
3745 - padding: 8px 0;
3746 - margin-bottom: 4px;
3747 -}
3748 -
3749 -.block-editor-block-fields__header-icon {
3750 - flex: 0 0 24px;
3751 -}
3752 -
3753 -.block-editor-block-fields__header-title {
3754 - flex: 1;
3755 - /* Override the default margin on a h2 element. */
3756 - margin: 0 !important;
3757 -}
3758 -
3759 3778 .block-editor-hooks__block-hooks {
3760 3779 /**
3761 3780 * Un-reverse the flex direction for the toggle's label.
3762 3781 */
@@ -3769,21 +3788,8 @@
3769 3788 font-size: 12px;
3770 3789 margin-bottom: 16px;
3771 3790 }
3772 3791
3773 -.block-editor-hooks__position-control-item {
3774 - /**
3775 - * Try to make items match the width of the anchor, subtract any margin on
3776 - * items to calculate the correct inner width.
3777 - */
3778 - max-inline-size: max(var(--anchor-width) - 2 * var(--wp-ui-popup-padding), 223px);
3779 -}
3780 -
3781 -.block-editor-hooks__position-control-item-hint {
3782 - color: var(--wpds-color-foreground-content-neutral-weak, #707070);
3783 - margin-block-start: 4px;
3784 -}
3785 -
3786 3792 div.block-editor-bindings__panel {
3787 3793 grid-template-columns: repeat(auto-fit, minmax(100%, 1fr));
3788 3794 }
3789 3795 div.block-editor-bindings__panel button:hover .block-editor-bindings__item span {
@@ -4103,9 +4109,9 @@
4103 4109 }
4104 4110 .block-editor-block-toolbar-change-design-content-wrapper .block-editor-block-patterns-list {
4105 4111 display: grid;
4106 4112 grid-template-columns: 1fr 1fr;
4107 - grid-gap: 12px;
4113 + gap: 12px;
4108 4114 }
4109 4115 .block-editor-block-toolbar-change-design-content-wrapper .block-editor-block-patterns-list .block-editor-block-patterns-list__list-item {
4110 4116 margin-bottom: 0;
4111 4117 }
@@ -4291,12 +4297,8 @@
4291 4297 .block-editor-inserter__parent-block-header .block-editor-block-icon {
4292 4298 margin-right: 8px;
4293 4299 }
4294 4300
4295 -.block-editor-inserter__preview-container__popover {
4296 - top: 16px !important;
4297 -}
4298 -
4299 4301 .block-editor-inserter__preview-container {
4300 4302 display: none;
4301 4303 width: 280px;
4302 4304 padding: 16px;
@@ -4437,9 +4439,9 @@
4437 4439
4438 4440 .block-editor-inserter__quick-inserter-patterns .block-editor-block-patterns-list {
4439 4441 display: grid;
4440 4442 grid-template-columns: 1fr 1fr;
4441 - grid-gap: 8px;
4443 + gap: 8px;
4442 4444 }
4443 4445 .block-editor-inserter__quick-inserter-patterns .block-editor-block-patterns-list .block-editor-block-patterns-list__list-item {
4444 4446 margin-bottom: 0;
4445 4447 }
@@ -4454,59 +4456,54 @@
4454 4456 .block-editor-inserter__popover.is-quick > .components-popover__content {
4455 4457 padding: 0;
4456 4458 }
4457 4459
4458 -.block-editor-inserter__quick-inserter-expand.components-button {
4459 - display: block;
4460 - background: #1e1e1e;
4461 - color: #fff;
4460 +.block-editor-inserter__quick-inserter-expand {
4461 + padding: 0 16px 16px;
4462 +}
4463 +
4464 +.block-editor-inserter__quick-inserter-expand-toggle {
4462 4465 width: 100%;
4463 - border-radius: 0;
4466 + justify-content: center;
4464 4467 }
4465 -.block-editor-inserter__quick-inserter-expand.components-button:hover {
4466 - color: #fff;
4467 -}
4468 -.block-editor-inserter__quick-inserter-expand.components-button:active {
4469 - color: #ccc;
4470 -}
4471 -.block-editor-inserter__quick-inserter-expand.components-button.components-button:focus:not(:disabled) {
4472 - box-shadow: none;
4473 - background: var(--wp-admin-theme-color);
4474 - border-color: var(--wp-admin-theme-color);
4475 -}
4476 4468
4477 4469 .block-editor-block-patterns-explorer__sidebar {
4478 - position: absolute;
4479 - top: 72px;
4480 - left: 0;
4481 - bottom: 0;
4482 - width: 280px;
4483 - padding: 24px 24px 24px;
4484 - overflow-x: visible;
4485 - overflow-y: auto;
4470 + padding-bottom: 24px;
4486 4471 }
4487 -.block-editor-block-patterns-explorer__sidebar__categories-list__item {
4488 - display: block;
4489 - width: 100%;
4490 - height: 48px;
4491 - text-align: left;
4472 +@media (min-width: 782px) {
4473 + .block-editor-block-patterns-explorer__sidebar {
4474 + position: absolute;
4475 + top: 72px;
4476 + left: 0;
4477 + bottom: 0;
4478 + width: 280px;
4479 + padding: 24px;
4480 + overflow-x: visible;
4481 + overflow-y: auto;
4482 + }
4492 4483 }
4493 -.block-editor-block-patterns-explorer__search {
4494 - margin-bottom: 32px;
4484 +
4485 +@media (min-width: 782px) {
4486 + .block-editor-block-patterns-explorer__panel {
4487 + margin-inline-start: 280px;
4488 + }
4495 4489 }
4496 -.block-editor-block-patterns-explorer__search-results-count {
4497 - padding-bottom: 32px;
4490 +
4491 +.block-editor-block-patterns-explorer__no-results {
4492 + padding: 32px;
4493 + text-align: center;
4498 4494 }
4495 +
4499 4496 .block-editor-block-patterns-explorer__list {
4500 - margin-left: 280px;
4501 4497 padding: 24px 0 32px;
4502 4498 }
4503 4499 .block-editor-block-patterns-explorer__list .block-editor-patterns__sync-status-filter .components-input-control__container {
4504 4500 width: 380px;
4505 4501 }
4502 +
4506 4503 .block-editor-block-patterns-explorer .block-editor-block-patterns-list {
4507 4504 display: grid;
4508 - grid-gap: 32px;
4505 + gap: 32px;
4509 4506 grid-template-columns: repeat(1, 1fr);
4510 4507 margin-bottom: 16px;
4511 4508 }
4512 4509 @media (min-width: 1080px) {
@@ -4836,9 +4833,9 @@
4836 4833 .block-editor-block-visibility-modal__options-checkbox--everywhere {
4837 4834 font-weight: var(--wpds-typography-font-weight-emphasis, 600);
4838 4835 }
4839 4836 .block-editor-block-visibility-modal__options-icon--checked {
4840 - fill: #ddd;
4837 + color: #ddd;
4841 4838 }
4842 4839 .block-editor-block-visibility-modal__sub-options {
4843 4840 width: 100%;
4844 4841 padding-inline-start: 12px;
@@ -4848,11 +4845,52 @@
4848 4845 color: #757575;
4849 4846 }
4850 4847
4851 4848 .block-editor-block-visibility-info {
4852 - padding-top: 4px;
4853 - padding-bottom: 4px;
4854 4849 margin: 0 16px 16px;
4855 - display: flex;
4856 - align-items: center;
4857 - justify-content: start;
4850 +}
4851 +
4852 +/* The stop element is invisible, so its focus indication is drawn around the
4853 + canvas it stands for. For the iframed canvas it is an overlay instead of
4854 + an outline, because Safari paints an outline on an iframe element
4855 + underneath the iframe's content. */
4856 +.block-editor-iframe__scale-container > .block-editor-writing-flow__canvas-stop:focus::after {
4857 + content: "";
4858 + position: absolute;
4859 + inset: 0;
4860 + z-index: 1;
4861 + pointer-events: none;
4862 + border: var(--wp-admin-border-width-focus) solid var(--wp-admin-theme-color);
4863 +}
4864 +
4865 +.block-editor-writing-flow__canvas-stop:focus + .block-editor-writing-flow {
4866 + outline: var(--wp-admin-border-width-focus) solid var(--wp-admin-theme-color);
4867 + outline-offset: calc(-1 * var(--wp-admin-border-width-focus));
4868 +}
4869 +
4870 +/* Looks like a tooltip. Shown at the top of the canvas while the stop is
4871 + focused. Sticky, because on the widgets screen the stop spans scrolling
4872 + content and the hint must stay in view; anywhere else there is nothing
4873 + to scroll and it stays at the top of the canvas. */
4874 +.block-editor-writing-flow__canvas-stop-hint {
4875 + display: none;
4876 + position: sticky;
4877 + top: 16px;
4878 + margin-inline: auto;
4879 + width: fit-content;
4880 + z-index: 2;
4881 + background: #000;
4882 + font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
4883 + border-radius: 4px;
4884 + color: #f0f0f0;
4885 + text-align: center;
4886 + line-height: 1.4;
4887 + font-size: 12px;
4888 + padding: 4px 8px;
4889 + 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);
4890 + white-space: nowrap;
4891 + pointer-events: none;
4892 +}
4893 +
4894 +.block-editor-writing-flow__canvas-stop:focus > .block-editor-writing-flow__canvas-stop-hint {
4895 + display: block;
4858 4896 }