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/edit-site/style.css +264 -302 23.7.2 → 24.1.0 View file →
@@ -241,8 +241,12 @@
241 241 .dataviews__search {
242 242 flex-grow: 1;
243 243 }
244 244
245 +.dataviews__search .dataviews-search {
246 + flex-basis: 210px;
247 +}
248 +
245 249 .dataviews-no-results,
246 250 .dataviews-loading {
247 251 padding: 0 var(--wpds-dimension-padding-2xl, 24px);
248 252 flex-grow: 1;
@@ -437,10 +441,10 @@
437 441 }
438 442
439 443 .dataviews-filters__summary-operators-container .dataviews-filters__summary-operators-filter-select {
440 444 width: 100%;
445 + min-width: 0;
441 446 white-space: nowrap;
442 - overflow: hidden;
443 447 }
444 448
445 449 .dataviews-filters__summary-chip-container {
446 450 position: relative;
@@ -512,9 +516,9 @@
512 516 cursor: var(--wpds-cursor-control, pointer);
513 517 }
514 518
515 519 .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove svg {
516 - fill: var(--wpds-color-foreground-interactive-neutral, #1e1e1e);
520 + color: var(--wpds-color-foreground-interactive-neutral, #1e1e1e);
517 521 }
518 522
519 523 .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove:hover, .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove:focus {
520 524 background: var(--wpds-color-background-interactive-neutral-weak-active, #ededed);
@@ -520,13 +524,13 @@
520 524 background: var(--wpds-color-background-interactive-neutral-weak-active, #ededed);
521 525 }
522 526
523 527 .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove:hover svg, .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove:focus svg {
524 - fill: var(--wpds-color-foreground-interactive-neutral-active, #1e1e1e);
528 + color: var(--wpds-color-foreground-interactive-neutral-active, #1e1e1e);
525 529 }
526 530
527 531 .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove.has-values svg {
528 - fill: var(--wpds-color-foreground-interactive-brand, var(--wp-admin-theme-color, #3858e9));
532 + color: var(--wpds-color-foreground-interactive-brand, var(--wp-admin-theme-color, #3858e9));
529 533 }
530 534
531 535 .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove.has-values:hover {
532 536 background: var(--wpds-color-background-interactive-brand-weak-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 12%, white));
@@ -588,10 +592,11 @@
588 592 background: var(--wpds-color-background-interactive-brand-strong-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 93%, black));
589 593 }
590 594
591 595 .dataviews-filters__search-widget-listitem:hover .dataviews-filters__search-widget-listitem-multi-selection, .dataviews-filters__search-widget-listitem[data-active-item] .dataviews-filters__search-widget-listitem-multi-selection, .dataviews-filters__search-widget-listitem:focus .dataviews-filters__search-widget-listitem-multi-selection {
596 + /* stylelint-disable-next-line plugin-wpds/no-token-fallback-values -- Preserve custom background theming with older @wordpress/theme runtimes that do not set this token. */
597 + background-color: var(--wpds-color-background-interactive-neutral, var(--wpds-color-background-surface-neutral-strong, #fff));
592 598 border-color: var(--wpds-color-stroke-interactive-brand-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 85%, black));
593 - background: var(--wpds-color-background-surface-neutral-strong, #fff);
594 599 }
595 600
596 601 .dataviews-filters__search-widget-listitem:hover .dataviews-filters__search-widget-listitem-multi-selection.is-selected, .dataviews-filters__search-widget-listitem[data-active-item] .dataviews-filters__search-widget-listitem-multi-selection.is-selected, .dataviews-filters__search-widget-listitem:focus .dataviews-filters__search-widget-listitem-multi-selection.is-selected {
597 602 border-color: var(--wpds-color-stroke-interactive-brand-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 85%, black));
@@ -705,9 +710,9 @@
705 710 }
706 711 .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection {
707 712 --checkbox-size: 24px;
708 713 flex-shrink: 0;
709 - border: 1px solid #1e1e1e;
714 + border: var(--wpds-border-width-xs, 1px) solid var(--wpds-color-stroke-interactive-neutral, #8d8d8d);
710 715 margin-right: 12px;
711 716 transition: none;
712 717 border-radius: 2px;
713 718 font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
@@ -715,18 +720,12 @@
715 720 /* Fonts smaller than 16px causes mobile safari to zoom. */
716 721 font-size: 16px;
717 722 /* Override core line-height. To be reviewed. */
718 723 line-height: normal;
719 - box-shadow: 0 0 0 transparent;
720 - border-radius: 2px;
721 - border: 1px solid #949494;
724 + border: var(--wpds-border-width-xs, 1px) solid var(--wpds-color-stroke-interactive-neutral, #8d8d8d);
725 + border-radius: var(--wpds-border-radius-sm, 2px);
722 726 }
723 727
724 -@media not (prefers-reduced-motion) {
725 - .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection {
726 - transition: box-shadow 0.1s linear;
727 - }
728 -}
729 728 @media (min-width: 600px) {
730 729 .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection {
731 730 font-size: 13px;
732 731 /* Override core line-height. To be reviewed. */
@@ -732,20 +731,25 @@
732 731 /* Override core line-height. To be reviewed. */
733 732 line-height: normal;
734 733 }
735 734 }
735 +.dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection:hover:not(:disabled, [aria-disabled=true]) {
736 + border-color: var(--wpds-color-stroke-interactive-neutral-active, #6e6e6e);
737 +}
738 +
736 739 .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection:focus {
737 - border-color: var(--wp-admin-theme-color);
738 - box-shadow: 0 0 0 0.5px var(--wp-admin-theme-color);
739 - outline: 2px solid transparent;
740 + 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)));
741 + outline-offset: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px));
742 + border-color: var(--wpds-color-stroke-interactive-neutral, #8d8d8d);
743 + box-shadow: none;
740 744 }
741 745
742 -.dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection::-moz-placeholder {
746 +.dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection::placeholder {
743 747 color: rgba(30, 30, 30, 0.62);
744 748 }
745 749
746 -.dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection::placeholder {
747 - color: rgba(30, 30, 30, 0.62);
750 +.dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection:hover:not(:disabled, [aria-disabled=true]) {
751 + background: var(--wpds-color-background-interactive-neutral-active, #fff);
748 752 }
749 753
750 754 .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection:focus {
751 755 box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--wp-admin-theme-color);
@@ -778,9 +782,9 @@
778 782 display: inline-block;
779 783 vertical-align: middle;
780 784 width: 16px;
781 785 /* stylelint-disable-next-line font-family-no-missing-generic-family-keyword -- dashicons don't need a generic family keyword. */
782 - font: normal 30px/1 dashicons;
786 + font: 400 30px/1 dashicons;
783 787 speak: none;
784 788 -webkit-font-smoothing: antialiased;
785 789 -moz-osx-font-smoothing: grayscale;
786 790 }
@@ -791,17 +795,23 @@
791 795 font-size: 21px;
792 796 }
793 797 }
794 798 .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection[aria-disabled=true], .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection:disabled {
795 - background: #f0f0f0;
796 - border-color: #ddd;
799 + background: var(--wpds-color-background-interactive-neutral-disabled, #fff);
800 + border-color: var(--wpds-color-stroke-interactive-neutral-disabled, #dbdbdb);
801 + color: var(--wpds-color-foreground-interactive-neutral-disabled, #8d8d8d);
797 802 cursor: default;
798 803 opacity: 1;
799 804 }
800 805
806 +.dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection[aria-disabled=true]:checked::before, .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection[aria-disabled=true][aria-checked=mixed]::before, .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection:disabled:checked::before, .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection:disabled[aria-checked=mixed]::before {
807 + color: var(--wpds-color-foreground-interactive-neutral-disabled, #8d8d8d);
808 +}
809 +
801 810 .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection {
802 811 position: relative;
803 - background: var(--wpds-color-background-interactive-neutral-weak, rgba(0, 0, 0, 0));
812 + /* stylelint-disable-next-line plugin-wpds/no-token-fallback-values -- Preserve custom background theming with older @wordpress/theme runtimes that do not set this token. */
813 + background: var(--wpds-color-background-interactive-neutral, var(--wpds-color-background-surface-neutral-strong, #fff));
804 814 color: var(--wpds-color-foreground-content-neutral, #1e1e1e);
805 815 margin: 0;
806 816 padding: 0;
807 817 width: var(--checkbox-size);
@@ -824,9 +834,9 @@
824 834 }
825 835
826 836 .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection.is-selected svg {
827 837 --checkmark-size: var(--checkbox-size);
828 - fill: var(--wpds-color-foreground-interactive-neutral-strong, #f0f0f0);
838 + color: var(--wpds-color-foreground-interactive-neutral-strong, #f0f0f0);
829 839 position: absolute;
830 840 left: 50%;
831 841 top: 50%;
832 842 transform: translate(-50%, -50%);
@@ -850,18 +860,12 @@
850 860 /* Fonts smaller than 16px causes mobile safari to zoom. */
851 861 font-size: 16px;
852 862 /* Override core line-height. To be reviewed. */
853 863 line-height: normal;
854 - box-shadow: 0 0 0 transparent;
855 - border-radius: 2px;
856 - border: 1px solid #949494;
864 + border: var(--wpds-border-width-xs, 1px) solid var(--wpds-color-stroke-interactive-neutral, #8d8d8d);
865 + border-radius: var(--wpds-border-radius-sm, 2px);
857 866 }
858 867
859 -@media not (prefers-reduced-motion) {
860 - .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input {
861 - transition: box-shadow 0.1s linear;
862 - }
863 -}
864 868 @media (min-width: 600px) {
865 869 .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input {
866 870 font-size: 13px;
867 871 /* Override core line-height. To be reviewed. */
@@ -867,16 +871,17 @@
867 871 /* Override core line-height. To be reviewed. */
868 872 line-height: normal;
869 873 }
870 874 }
871 -.dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input:focus {
872 - border-color: var(--wp-admin-theme-color);
873 - box-shadow: 0 0 0 0.5px var(--wp-admin-theme-color);
874 - outline: 2px solid transparent;
875 +.dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input:hover:not(:disabled, [aria-disabled=true]) {
876 + border-color: var(--wpds-color-stroke-interactive-neutral-active, #6e6e6e);
875 877 }
876 878
877 -.dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input::-moz-placeholder {
878 - color: rgba(30, 30, 30, 0.62);
879 +.dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input:focus {
880 + 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)));
881 + outline-offset: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px));
882 + border-color: var(--wpds-color-stroke-interactive-neutral, #8d8d8d);
883 + box-shadow: none;
879 884 }
880 885
881 886 .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input::placeholder {
882 887 color: rgba(30, 30, 30, 0.62);
@@ -899,15 +904,10 @@
899 904 }
900 905 }
901 906 .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input:focus {
902 907 background: var(--wpds-color-background-surface-neutral-strong, #fff);
903 - box-shadow: inset 0 0 0 var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)) var(--wpds-color-stroke-focus, var(--wp-admin-theme-color, #3858e9));
904 908 }
905 909
906 -.dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input::-moz-placeholder {
907 - color: var(--wpds-color-foreground-content-neutral-weak, #707070);
908 -}
909 -
910 910 .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input::placeholder {
911 911 color: var(--wpds-color-foreground-content-neutral-weak, #707070);
912 912 }
913 913
@@ -952,12 +952,8 @@
952 952 color: var(--wpds-color-foreground-interactive-neutral-strong, #f0f0f0);
953 953 box-sizing: border-box;
954 954 }
955 955
956 -.dataviews-search {
957 - flex-basis: 210px;
958 -}
959 -
960 956 .dataviews-filters__user-input-widget {
961 957 padding: var(--wpds-dimension-padding-lg, 16px);
962 958 }
963 959
@@ -1234,9 +1230,8 @@
1234 1230 }
1235 1231
1236 1232 .dataviews-view-grid .dataviews-view-grid__card .dataviews-view-grid__title-field--clickable,
1237 1233 .dataviews-view-grid-infinite-scroll .dataviews-view-grid__card .dataviews-view-grid__title-field--clickable {
1238 - width: -moz-fit-content;
1239 1234 width: fit-content;
1240 1235 }
1241 1236
1242 1237 .dataviews-view-grid .dataviews-view-grid__card.is-selected .dataviews-view-grid__fields .dataviews-view-grid__field .dataviews-view-grid__field-value,
@@ -1256,9 +1251,9 @@
1256 1251
1257 1252 .dataviews-view-grid .dataviews-view-grid__media,
1258 1253 .dataviews-view-grid-infinite-scroll .dataviews-view-grid__media {
1259 1254 width: 100%;
1260 - aspect-ratio: 1/1;
1255 + aspect-ratio: var(--wp-dataviews-media-aspect-ratio, 1/1);
1261 1256 background-color: var(--wpds-color-background-surface-neutral-strong, #fff);
1262 1257 border-radius: var(--wpds-border-radius-md, 4px);
1263 1258 overflow: hidden;
1264 1259 position: relative;
@@ -1270,9 +1265,8 @@
1270 1265 }
1271 1266
1272 1267 .dataviews-view-grid .dataviews-view-grid__media img,
1273 1268 .dataviews-view-grid-infinite-scroll .dataviews-view-grid__media img {
1274 - -o-object-fit: cover;
1275 1269 object-fit: cover;
1276 1270 width: 100%;
1277 1271 height: 100%;
1278 1272 }
@@ -1299,8 +1293,18 @@
1299 1293 box-shadow: none;
1300 1294 background: var(--wpds-color-background-surface-neutral, #fcfcfc);
1301 1295 }
1302 1296
1297 +.dataviews-view-grid.has-media-fit-contain .dataviews-view-grid__media,
1298 +.dataviews-view-grid-infinite-scroll.has-media-fit-contain .dataviews-view-grid__media {
1299 + background-color: var(--wpds-color-background-surface-neutral, #fcfcfc);
1300 +}
1301 +
1302 +.dataviews-view-grid.has-media-fit-contain .dataviews-view-grid__media img,
1303 +.dataviews-view-grid-infinite-scroll.has-media-fit-contain .dataviews-view-grid__media img {
1304 + object-fit: contain;
1305 +}
1306 +
1303 1307 .dataviews-view-grid .dataviews-view-grid__fields,
1304 1308 .dataviews-view-grid-infinite-scroll .dataviews-view-grid__fields {
1305 1309 position: relative;
1306 1310 font-size: 12px;
@@ -1461,9 +1465,8 @@
1461 1465
1462 1466 .dataviews-view-list div[role=row] .dataviews-view-list__item-actions,
1463 1467 .dataviews-view-list div[role=article] .dataviews-view-list__item-actions {
1464 1468 display: flex;
1465 - width: -moz-max-content;
1466 1469 width: max-content;
1467 1470 flex: 0 0 auto;
1468 1471 gap: var(--wpds-dimension-gap-xs, 4px);
1469 1472 white-space: nowrap;
@@ -1516,10 +1519,9 @@
1516 1519 .dataviews-view-list div[role=row]:not(.is-selected):hover, .dataviews-view-list div[role=row]:not(.is-selected).is-hovered, .dataviews-view-list div[role=row]:not(.is-selected):focus-within,
1517 1520 .dataviews-view-list div[role=article]:not(.is-selected):hover,
1518 1521 .dataviews-view-list div[role=article]:not(.is-selected).is-hovered,
1519 1522 .dataviews-view-list div[role=article]:not(.is-selected):focus-within {
1520 - color: var(--wpds-color-foreground-interactive-brand, var(--wp-admin-theme-color, #3858e9));
1521 - background-color: var(--wpds-color-background-interactive-brand-weak, rgba(0, 0, 0, 0));
1523 + background-color: var(--wpds-color-background-interactive-neutral-weak-active, #ededed);
1522 1524 }
1523 1525
1524 1526 .dataviews-view-list div[role=row]:not(.is-selected):hover .dataviews-title-field,
1525 1527 .dataviews-view-list div[role=row]:not(.is-selected):hover .dataviews-view-list__field, .dataviews-view-list div[role=row]:not(.is-selected).is-hovered .dataviews-title-field,
@@ -1530,9 +1532,9 @@
1530 1532 .dataviews-view-list div[role=article]:not(.is-selected).is-hovered .dataviews-title-field,
1531 1533 .dataviews-view-list div[role=article]:not(.is-selected).is-hovered .dataviews-view-list__field,
1532 1534 .dataviews-view-list div[role=article]:not(.is-selected):focus-within .dataviews-title-field,
1533 1535 .dataviews-view-list div[role=article]:not(.is-selected):focus-within .dataviews-view-list__field {
1534 - color: var(--wpds-color-foreground-interactive-brand, var(--wp-admin-theme-color, #3858e9));
1536 + color: var(--wpds-color-foreground-interactive-neutral, #1e1e1e);
1535 1537 }
1536 1538
1537 1539 .dataviews-view-list div[role=row].is-selected .dataviews-view-list__item-wrapper,
1538 1540 .dataviews-view-list div[role=row].is-selected:focus-within .dataviews-view-list__item-wrapper,
@@ -1538,9 +1540,9 @@
1538 1540 .dataviews-view-list div[role=row].is-selected:focus-within .dataviews-view-list__item-wrapper,
1539 1541 .dataviews-view-list div[role=article].is-selected .dataviews-view-list__item-wrapper,
1540 1542 .dataviews-view-list div[role=article].is-selected:focus-within .dataviews-view-list__item-wrapper {
1541 1543 background-color: var(--wpds-color-background-interactive-brand-weak-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 12%, white));
1542 - color: var(--wpds-color-foreground-interactive-neutral, #1e1e1e);
1544 + color: var(--wpds-color-foreground-content-neutral, #1e1e1e);
1543 1545 }
1544 1546
1545 1547 .dataviews-view-list div[role=row].is-selected .dataviews-view-list__item-wrapper .dataviews-title-field,
1546 1548 .dataviews-view-list div[role=row].is-selected .dataviews-view-list__item-wrapper .dataviews-view-list__field,
@@ -1549,9 +1551,9 @@
1549 1551 .dataviews-view-list div[role=article].is-selected .dataviews-view-list__item-wrapper .dataviews-title-field,
1550 1552 .dataviews-view-list div[role=article].is-selected .dataviews-view-list__item-wrapper .dataviews-view-list__field,
1551 1553 .dataviews-view-list div[role=article].is-selected:focus-within .dataviews-view-list__item-wrapper .dataviews-title-field,
1552 1554 .dataviews-view-list div[role=article].is-selected:focus-within .dataviews-view-list__item-wrapper .dataviews-view-list__field {
1553 - color: var(--wpds-color-foreground-interactive-neutral-active, #1e1e1e);
1555 + color: var(--wpds-color-foreground-content-neutral, #1e1e1e);
1554 1556 }
1555 1557
1556 1558 .dataviews-view-list .dataviews-view-list__item {
1557 1559 position: absolute;
@@ -1557,10 +1559,8 @@
1557 1559 position: absolute;
1558 1560 z-index: 1;
1559 1561 inset: 0;
1560 1562 scroll-margin: var(--wpds-dimension-gap-sm, 8px) 0;
1561 - -webkit-appearance: none;
1562 - -moz-appearance: none;
1563 1563 appearance: none;
1564 1564 border: none;
1565 1565 background: none;
1566 1566 padding: 0;
@@ -1603,9 +1603,8 @@
1603 1603
1604 1604 .dataviews-view-list .dataviews-view-list__media-wrapper img {
1605 1605 width: 100%;
1606 1606 height: 100%;
1607 - -o-object-fit: cover;
1608 1607 object-fit: cover;
1609 1608 }
1610 1609
1611 1610 .dataviews-view-list .dataviews-view-list__media-wrapper::after {
@@ -1625,9 +1624,9 @@
1625 1624 min-width: 0;
1626 1625 }
1627 1626
1628 1627 .dataviews-view-list .dataviews-view-list__field {
1629 - color: var(--wpds-color-foreground-interactive-neutral-weak, #707070);
1628 + color: var(--wpds-color-foreground-content-neutral-weak, #707070);
1630 1629 }
1631 1630
1632 1631 .dataviews-view-list .dataviews-view-list__fields {
1633 1632 display: flex;
@@ -1744,9 +1743,9 @@
1744 1743
1745 1744 .dataviews-view-table th {
1746 1745 text-align: left;
1747 1746 color: var(--wpds-color-foreground-content-neutral, #1e1e1e);
1748 - font-weight: normal;
1747 + font-weight: 400;
1749 1748 font-size: var(--wpds-typography-font-size-md, 13px);
1750 1749 }
1751 1750
1752 1751 .dataviews-view-table td,
@@ -1774,9 +1773,9 @@
1774 1773 top: 0;
1775 1774 bottom: 0;
1776 1775 left: 0;
1777 1776 width: 1px;
1778 - background-color: var(--wpds-color-background-surface-neutral, #fcfcfc);
1777 + background-color: var(--wpds-color-stroke-surface-neutral-weak, #f0f0f0);
1779 1778 }
1780 1779
1781 1780 .dataviews-view-table td.dataviews-view-table__checkbox-column,
1782 1781 .dataviews-view-table th.dataviews-view-table__checkbox-column {
@@ -1988,9 +1987,8 @@
1988 1987
1989 1988 .dataviews-column-primary__media img {
1990 1989 width: var(--wpds-dimension-size-md, 32px);
1991 1990 height: var(--wpds-dimension-size-md, 32px);
1992 - -o-object-fit: cover;
1993 1991 object-fit: cover;
1994 1992 }
1995 1993
1996 1994 .dataviews-column-primary__media::after {
@@ -2003,8 +2001,19 @@
2003 2001 box-shadow: inset 0 0 0 var(--wpds-border-width-xs, 1px) rgba(0, 0, 0, 0.1);
2004 2002 border-radius: var(--wpds-border-radius-md, 4px);
2005 2003 }
2006 2004
2005 +.dataviews-view-table.has-media-aspect-ratio .dataviews-column-primary__media {
2006 + height: var(--wpds-dimension-size-md, 32px);
2007 + aspect-ratio: var(--wp-dataviews-media-aspect-ratio, 1/1);
2008 + min-width: 0;
2009 +}
2010 +
2011 +.dataviews-view-table.has-media-aspect-ratio .dataviews-column-primary__media img {
2012 + width: 100%;
2013 + height: 100%;
2014 +}
2015 +
2007 2016 .dataviews-view-table__cell-content-wrapper:not(.dataviews-column-primary__media),
2008 2017 .dataviews-view-table__primary-column-content:not(.dataviews-column-primary__media) {
2009 2018 min-width: 15ch;
2010 2019 max-width: 80ch;
@@ -2058,9 +2067,8 @@
2058 2067 text-align: start;
2059 2068 }
2060 2069
2061 2070 .dataviews-view-picker-grid .dataviews-view-picker-grid__card .dataviews-view-picker-grid__title-field--clickable {
2062 - width: -moz-fit-content;
2063 2071 width: fit-content;
2064 2072 }
2065 2073
2066 2074 .dataviews-view-picker-grid .dataviews-view-picker-grid__card.is-selected .dataviews-view-picker-grid__fields .dataviews-view-picker-grid__field .dataviews-view-picker-grid__field-value {
@@ -2096,13 +2104,13 @@
2096 2104 aspect-ratio: 1/1;
2097 2105 min-height: 0;
2098 2106 background-color: var(--wpds-color-background-surface-neutral-strong, #fff);
2099 2107 border-radius: var(--wpds-border-radius-md, 4px);
2108 + overflow: hidden;
2100 2109 position: relative;
2101 2110 }
2102 2111
2103 2112 .dataviews-view-picker-grid .dataviews-view-picker-grid__media img {
2104 - -o-object-fit: cover;
2105 2113 object-fit: cover;
2106 2114 width: 100%;
2107 2115 height: 100%;
2108 2116 }
@@ -2118,8 +2126,16 @@
2118 2126 border-radius: var(--wpds-border-radius-md, 4px);
2119 2127 pointer-events: none;
2120 2128 }
2121 2129
2130 +.dataviews-view-picker-grid.has-media-fit-contain .dataviews-view-picker-grid__media {
2131 + background-color: var(--wpds-color-background-surface-neutral, #fcfcfc);
2132 +}
2133 +
2134 +.dataviews-view-picker-grid.has-media-fit-contain .dataviews-view-picker-grid__media img {
2135 + object-fit: contain;
2136 +}
2137 +
2122 2138 .dataviews-view-picker-grid .dataviews-view-picker-grid__fields {
2123 2139 position: relative;
2124 2140 font-size: 12px;
2125 2141 line-height: 16px;
@@ -2281,9 +2297,8 @@
2281 2297 }
2282 2298
2283 2299 .dataviews-view-activity .dataviews-view-activity__item-content .dataviews-view-activity__primary-actions {
2284 2300 display: flex;
2285 - width: -moz-max-content;
2286 2301 width: max-content;
2287 2302 flex: 0 0 auto;
2288 2303 }
2289 2304
@@ -2415,9 +2430,8 @@
2415 2430 display: block;
2416 2431 width: 100%;
2417 2432 height: 100%;
2418 2433 margin: 0 auto;
2419 - -o-object-fit: cover;
2420 2434 object-fit: cover;
2421 2435 border-radius: 50%;
2422 2436 box-sizing: border-box;
2423 2437 box-shadow: inset 0 0 0 var(--wpds-border-width-xs, 1px) var(--wpds-color-stroke-surface-neutral, #dbdbdb);
@@ -2632,9 +2646,8 @@
2632 2646 display: block;
2633 2647 width: 100%;
2634 2648 height: 100%;
2635 2649 margin: 0 auto;
2636 - -o-object-fit: cover;
2637 2650 object-fit: cover;
2638 2651 border-radius: 50%;
2639 2652 box-sizing: border-box;
2640 2653 box-shadow: inset 0 0 0 var(--wpds-border-width-xs, 1px) var(--wpds-color-stroke-surface-neutral, #dbdbdb);
@@ -2656,13 +2669,8 @@
2656 2669 .dataviews-picker-footer__actions {
2657 2670 align-self: flex-end;
2658 2671 }
2659 2672
2660 -.dataviews-controls__richtext [data-rich-text-placeholder]::after {
2661 - content: attr(data-rich-text-placeholder);
2662 - color: color-mix(in srgb, currentColor, transparent 38%);
2663 -}
2664 -
2665 2673 .dataviews-controls__datetime {
2666 2674 border: none;
2667 2675 padding: 0;
2668 2676 }
@@ -2693,8 +2701,29 @@
2693 2701 .dataviews-controls__date-preset:active {
2694 2702 background-color: var(--wpds-color-background-interactive-neutral-strong-active, #1e1e1e);
2695 2703 }
2696 2704
2705 +.dataviews-validated-control__wrapper-with-error-delegate:has(input[type=radio]:invalid[data-validity-visible]), .dataviews-validated-control__wrapper-with-error-delegate:has(input:invalid[data-validity-visible]) .components-form-token-field__input-container:not(:has([aria-expanded=true])), .dataviews-validated-control .components-combobox-control__suggestions-container:has(input:invalid[data-validity-visible]):not(:has([aria-expanded=true])), .dataviews-validated-control:has(:is(input, select):invalid[data-validity-visible]) .components-input-control__backdrop {
2706 + --focus-color: var(--wpds-color-stroke-interactive-error, #cc1818);
2707 +}
2708 +
2709 +.dataviews-validated-control__wrapper-with-error-delegate:has(input:invalid[data-validity-visible]) .components-form-token-field__input-container:not(:has([aria-expanded=true])), .dataviews-validated-control .components-combobox-control__suggestions-container:has(input:invalid[data-validity-visible]):not(:has([aria-expanded=true])), .dataviews-validated-control:has(:is(input, select):invalid[data-validity-visible]) .components-input-control__backdrop {
2710 + border-color: var(--wpds-color-stroke-interactive-error, #cc1818);
2711 +}
2712 +
2713 +.dataviews-validated-control__wrapper-with-error-delegate {
2714 + position: relative;
2715 +}
2716 +
2717 +.dataviews-validated-control__error-delegate {
2718 + position: absolute;
2719 + top: 0;
2720 + height: 100%;
2721 + width: 100%;
2722 + opacity: 0;
2723 + pointer-events: none;
2724 +}
2725 +
2697 2726 .dataforms-layouts-panel__field-trigger {
2698 2727 position: relative;
2699 2728 color: inherit;
2700 2729 display: flex;
@@ -2757,8 +2786,14 @@
2757 2786 opacity: 0;
2758 2787 border-radius: var(--wpds-border-radius-xs, 1px);
2759 2788 }
2760 2789
2790 +.dataforms-layouts-panel__field-trigger-icon::after {
2791 + content: "";
2792 + position: absolute;
2793 + inset: 0;
2794 +}
2795 +
2761 2796 .dataforms-layouts-panel__field-trigger-icon:focus-visible {
2762 2797 opacity: 1;
2763 2798 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));
2764 2799 }
@@ -2792,11 +2827,9 @@
2792 2827 color: var(--wpds-color-foreground-content-error-weak, #cc1818);
2793 2828 }
2794 2829
2795 2830 .dataforms-layouts-panel__field-label-error-content {
2796 - position: relative;
2797 - z-index: 1;
2798 - cursor: help;
2831 + pointer-events: none;
2799 2832 color: var(--wpds-color-foreground-content-error-weak, #cc1818);
2800 2833 display: inline-flex;
2801 2834 flex-direction: row;
2802 2835 align-items: center;
@@ -2812,12 +2845,17 @@
2812 2845 align-items: center;
2813 2846 overflow: clip;
2814 2847 padding-inline: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px));
2815 2848 margin-inline: calc(-1 * var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)));
2816 - word-break: break-word;
2849 + word-break: normal;
2850 + overflow-wrap: anywhere;
2817 2851 font-weight: var(--wpds-typography-font-weight-emphasis, 600);
2818 2852 }
2819 2853
2854 +.dataforms-layouts-panel__field-control:has(a, button) {
2855 + z-index: 1;
2856 +}
2857 +
2820 2858 .dataforms-layouts-panel__field-control > * {
2821 2859 min-width: 0;
2822 2860 }
2823 2861
@@ -2850,12 +2888,8 @@
2850 2888 .components-popover.components-dropdown__content.dataforms-layouts-panel__field-dropdown {
2851 2889 z-index: 159990;
2852 2890 }
2853 2891
2854 -.dataforms-layouts-panel__summary-button:empty {
2855 - min-width: 160px;
2856 -}
2857 -
2858 2892 .dataforms-layouts-regular__field {
2859 2893 width: 100%;
2860 2894 min-height: var(--wpds-dimension-size-md, 32px);
2861 2895 justify-content: flex-start !important;
@@ -3073,9 +3107,9 @@
3073 3107 padding: 12px;
3074 3108 display: grid;
3075 3109 align-items: center;
3076 3110 grid-template-columns: min-content 1fr min-content;
3077 - grid-gap: 4px 8px;
3111 + gap: 4px 8px;
3078 3112 color: #1e1e1e;
3079 3113 }
3080 3114
3081 3115 .fields-create-template-part-modal__area-radio-wrapper + .fields-create-template-part-modal__area-radio-wrapper {
@@ -3358,11 +3392,9 @@
3358 3392
3359 3393 fieldset.fields__media-edit .fields__media-edit-expanded .fields__media-edit-thumbnail {
3360 3394 width: 100%;
3361 3395 height: 100%;
3362 - -o-object-fit: cover;
3363 3396 object-fit: cover;
3364 - -o-object-position: 50% 50%;
3365 3397 object-position: 50% 50%;
3366 3398 }
3367 3399
3368 3400 fieldset.fields__media-edit .fields__media-edit-expanded .fields__media-edit-filename {
@@ -3422,9 +3454,8 @@
3422 3454
3423 3455 .fields-controls__author-avatar img {
3424 3456 width: 16px;
3425 3457 height: 16px;
3426 - -o-object-fit: cover;
3427 3458 object-fit: cover;
3428 3459 opacity: 0;
3429 3460 border-radius: 100%;
3430 3461 }
@@ -3460,18 +3491,15 @@
3460 3491 padding: 0;
3461 3492 margin: 0;
3462 3493 }
3463 3494
3464 -.fields-controls__slug .fields-controls__slug-external-icon {
3465 - margin-left: 5ch;
3466 -}
3467 -
3468 3495 .fields-controls__slug .fields-controls__slug-input input.components-input-control__input {
3469 3496 padding-inline-start: 0 !important;
3470 3497 }
3471 3498
3472 3499 .fields-controls__slug .fields-controls__slug-help-link {
3473 - word-break: break-word;
3500 + word-break: normal;
3501 + overflow-wrap: anywhere;
3474 3502 }
3475 3503
3476 3504 .fields-controls__slug .fields-controls__slug-help {
3477 3505 display: flex;
@@ -3680,9 +3708,9 @@
3680 3708 .font-library__footer {
3681 3709 position: absolute;
3682 3710 width: 100%;
3683 3711 bottom: 0;
3684 - border-top: 1px solid #ddd;
3712 + border-top: 1px solid var(--wpds-color-stroke-surface-neutral, #dbdbdb);
3685 3713 padding: 24px;
3686 3714 background-color: #fff;
3687 3715 box-sizing: border-box;
3688 3716 flex-grow: 0 !important;
@@ -3724,11 +3752,15 @@
3724 3752 .font-library__fonts-list-item {
3725 3753 margin-bottom: 0;
3726 3754 }
3727 3755
3756 +.font-library__font-demo {
3757 + position: relative;
3758 +}
3759 +
3728 3760 .font-library__font-card {
3729 3761 box-sizing: border-box;
3730 - border: 1px solid #ddd;
3762 + border: 1px solid var(--wpds-color-stroke-surface-neutral, #dbdbdb);
3731 3763 width: 100%;
3732 3764 height: auto !important;
3733 3765 padding: 16px;
3734 3766 margin-top: -1px; /* To collapse the margin with the previous element */
@@ -3742,13 +3774,13 @@
3742 3774 position: relative;
3743 3775 }
3744 3776
3745 3777 .font-library__font-card .font-library__font-card__name {
3746 - font-weight: bold;
3778 + font-weight: 700;
3747 3779 }
3748 3780
3749 3781 .font-library__font-card .font-library__font-card__count {
3750 - color: #757575;
3782 + color: var(--wpds-color-foreground-content-neutral-weak, #707070);
3751 3783 }
3752 3784
3753 3785 .font-library__font-card .font-library__font-variant_demo-image {
3754 3786 display: block;
@@ -3755,8 +3787,25 @@
3755 3787 height: 24px;
3756 3788 width: auto;
3757 3789 }
3758 3790
3791 +@media not (prefers-reduced-motion) {
3792 + .font-library__font-card .font-library__font-variant_demo-image {
3793 + transition: opacity var(--wpds-motion-duration-lg, 300ms) var(--wpds-motion-easing-subtle, cubic-bezier(0.15, 0, 0.15, 1));
3794 + }
3795 +}
3796 +.font-library__font-card .font-library__font-variant_demo-image.is-loading {
3797 + position: absolute;
3798 + top: 0;
3799 + left: 0;
3800 + opacity: 0;
3801 +}
3802 +
3803 +.font-library__font-card .font-library__font-variant-demo-skeleton {
3804 + height: 24px;
3805 + border-radius: var(--wpds-border-radius-sm, 2px);
3806 +}
3807 +
3759 3808 .font-library__font-card .font-library__font-variant_demo-text {
3760 3809 white-space: nowrap;
3761 3810 flex-shrink: 0;
3762 3811 }
@@ -3768,9 +3817,9 @@
3768 3817 }
3769 3818 .font-library-modal__tablist-container {
3770 3819 position: sticky;
3771 3820 top: 0;
3772 - border-bottom: 1px solid #ddd;
3821 + border-bottom: 1px solid var(--wpds-color-stroke-surface-neutral, #dbdbdb);
3773 3822 background: #fff;
3774 3823 z-index: 1;
3775 3824 }
3776 3825
@@ -3791,9 +3840,9 @@
3791 3840 width: 80%;
3792 3841 }
3793 3842
3794 3843 .font-library__local-fonts .font-library__upload-area__text {
3795 - color: #757575;
3844 + color: var(--wpds-color-foreground-content-neutral-weak, #707070);
3796 3845 }
3797 3846
3798 3847 .font-library__google-fonts-confirm {
3799 3848 display: flex;
@@ -3828,113 +3877,22 @@
3828 3877 .font-library__select-all .components-checkbox-control__label {
3829 3878 padding-left: 16px;
3830 3879 }
3831 3880
3832 -.global-styles-ui-pagination .components-button.is-tertiary {
3833 - width: 32px;
3834 - height: 32px;
3835 - justify-content: center;
3836 -}
3837 -
3838 -.global-styles-ui-screen-revisions__revisions-list {
3839 - list-style: none;
3840 - margin: 0 16px 16px 16px;
3841 - flex-grow: 1;
3842 -}
3843 -
3844 -.global-styles-ui-screen-revisions__revisions-list li {
3845 - margin-bottom: 0;
3846 -}
3847 -
3848 -.global-styles-ui-screen-revisions__revision-item {
3849 - position: relative;
3850 - cursor: var(--wpds-cursor-control, pointer);
3881 +.global-styles-ui-screen-revisions {
3851 3882 display: flex;
3852 3883 flex-direction: column;
3884 + flex-grow: 1;
3885 + min-height: 0;
3853 3886 }
3854 3887
3855 -.global-styles-ui-screen-revisions__revision-item[role=option]:active, .global-styles-ui-screen-revisions__revision-item[role=option]:focus {
3856 - box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
3857 - outline: 2px solid transparent;
3888 +.global-styles-ui-screen-revisions__actions {
3889 + margin-inline-start: auto;
3858 3890 }
3859 3891
3860 -.global-styles-ui-screen-revisions__revision-item:hover {
3861 - background: rgba(var(--wp-admin-theme-color--rgb), 0.04);
3862 -}
3863 -
3864 -.global-styles-ui-screen-revisions__revision-item:hover .global-styles-ui-screen-revisions__date {
3865 - color: var(--wp-admin-theme-color);
3866 -}
3867 -
3868 -.global-styles-ui-screen-revisions__revision-item::before, .global-styles-ui-screen-revisions__revision-item::after {
3869 - position: absolute;
3870 - content: "\a";
3871 - display: block;
3872 -}
3873 -
3874 -.global-styles-ui-screen-revisions__revision-item::before {
3875 - background: #ddd;
3876 - border-radius: 50%;
3877 - height: 8px;
3878 - width: 8px;
3879 - top: 18px;
3880 - left: 17px;
3881 - transform: translate(-50%, -50%);
3882 - z-index: 1;
3883 - border: 4px solid transparent;
3884 -}
3885 -
3886 -.global-styles-ui-screen-revisions__revision-item[aria-selected=true] {
3887 - border-radius: 2px;
3888 - outline: 3px solid transparent;
3889 - outline-offset: -2px;
3890 - color: var(--wp-admin-theme-color);
3891 - background: rgba(var(--wp-admin-theme-color--rgb), 0.04);
3892 -}
3893 -
3894 -.global-styles-ui-screen-revisions__revision-item[aria-selected=true] .global-styles-ui-screen-revisions__date {
3895 - color: var(--wp-admin-theme-color);
3896 -}
3897 -
3898 -.global-styles-ui-screen-revisions__revision-item[aria-selected=true]::before {
3899 - background: var(--wp-admin-theme-color);
3900 -}
3901 -
3902 -.global-styles-ui-screen-revisions__revision-item[aria-selected=true] .global-styles-ui-screen-revisions__changes > li,
3903 -.global-styles-ui-screen-revisions__revision-item[aria-selected=true] .global-styles-ui-screen-revisions__meta {
3904 - color: #1e1e1e;
3905 -}
3906 -
3907 -.global-styles-ui-screen-revisions__revision-item::after {
3908 - height: 100%;
3909 - left: 16px;
3910 - top: 0;
3911 - width: 0;
3912 - border: 0.5px solid #ddd;
3913 -}
3914 -
3915 -.global-styles-ui-screen-revisions__revision-item:first-child::after {
3916 - top: 18px;
3917 -}
3918 -
3919 -.global-styles-ui-screen-revisions__revision-item:last-child::after {
3920 - height: 18px;
3921 -}
3922 -
3923 -.global-styles-ui-screen-revisions__revision-item-wrapper {
3924 - display: block;
3925 - padding: 12px 12px 4px 40px;
3926 -}
3927 -
3928 -.global-styles-ui-screen-revisions__apply-button.is-primary,
3929 -.global-styles-ui-screen-revisions__active-badge {
3930 - align-self: flex-start;
3931 - margin: 0 12px 12px 40px;
3932 -}
3933 -
3934 -.global-styles-ui-screen-revisions__changes,
3935 -.global-styles-ui-screen-revisions__meta {
3936 - color: #757575;
3892 +.global-styles-ui-screen-revisions__date {
3893 + text-transform: uppercase;
3894 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
3937 3895 font-size: 12px;
3938 3896 }
3939 3897
3940 3898 .global-styles-ui-screen-revisions__description {
@@ -3943,11 +3901,11 @@
3943 3901 align-items: flex-start;
3944 3902 gap: 8px;
3945 3903 }
3946 3904
3947 -.global-styles-ui-screen-revisions__description .global-styles-ui-screen-revisions__date {
3948 - text-transform: uppercase;
3949 - font-weight: var(--wpds-typography-font-weight-emphasis, 600);
3905 +.global-styles-ui-screen-revisions__changes,
3906 +.global-styles-ui-screen-revisions__meta {
3907 + color: #2f2f2f;
3950 3908 font-size: 12px;
3951 3909 }
3952 3910
3953 3911 .global-styles-ui-screen-revisions__meta {
@@ -3953,11 +3911,10 @@
3953 3911 .global-styles-ui-screen-revisions__meta {
3954 3912 display: flex;
3955 3913 justify-content: start;
3956 3914 width: 100%;
3957 - align-items: flex-start;
3915 + align-items: center;
3958 3916 text-align: left;
3959 - margin-bottom: 4px;
3960 3917 }
3961 3918
3962 3919 .global-styles-ui-screen-revisions__meta img {
3963 3920 width: 16px;
@@ -3965,16 +3922,12 @@
3965 3922 border-radius: 100%;
3966 3923 margin-right: 8px;
3967 3924 }
3968 3925
3969 -.global-styles-ui-screen-revisions__loading {
3970 - margin: 24px auto !important;
3971 -}
3972 -
3973 3926 .global-styles-ui-screen-revisions__changes {
3974 3927 text-align: left;
3975 3928 line-height: 1.4;
3976 - margin-left: 12px;
3929 + margin: 0 0 0 12px;
3977 3930 list-style: disc;
3978 3931 }
3979 3932
3980 3933 .global-styles-ui-screen-revisions__changes li {
@@ -3980,47 +3933,8 @@
3980 3933 .global-styles-ui-screen-revisions__changes li {
3981 3934 margin-bottom: 4px;
3982 3935 }
3983 3936
3984 -.global-styles-ui-screen-revisions__pagination.global-styles-ui-screen-revisions__pagination {
3985 - justify-content: space-between;
3986 - gap: 2px;
3987 -}
3988 -
3989 -.global-styles-ui-screen-revisions__pagination.global-styles-ui-screen-revisions__pagination .edit-site-pagination__total {
3990 - position: absolute;
3991 - left: -1000px;
3992 - height: 1px;
3993 - margin: -1px;
3994 - overflow: hidden;
3995 -}
3996 -
3997 -.global-styles-ui-screen-revisions__pagination.global-styles-ui-screen-revisions__pagination .components-text {
3998 - font-size: 12px;
3999 - will-change: opacity;
4000 -}
4001 -
4002 -.global-styles-ui-screen-revisions__pagination.global-styles-ui-screen-revisions__pagination .components-button.is-tertiary {
4003 - color: #1e1e1e;
4004 -}
4005 -
4006 -.global-styles-ui-screen-revisions__pagination.global-styles-ui-screen-revisions__pagination .components-button.is-tertiary:disabled,
4007 -.global-styles-ui-screen-revisions__pagination.global-styles-ui-screen-revisions__pagination .components-button.is-tertiary[aria-disabled=true] {
4008 - color: #949494;
4009 -}
4010 -
4011 -.global-styles-ui-screen-revisions__footer {
4012 - height: 56px;
4013 - z-index: 1;
4014 - position: sticky;
4015 - min-width: 100%;
4016 - bottom: 0;
4017 - background: #fff;
4018 - padding: 12px;
4019 - border-top: 1px solid #ddd;
4020 - box-sizing: border-box;
4021 -}
4022 -
4023 3937 .global-styles-ui-variations_item {
4024 3938 box-sizing: border-box;
4025 3939 cursor: var(--wpds-cursor-control, pointer);
4026 3940 }
@@ -4101,13 +4015,34 @@
4101 4015 justify-content: center;
4102 4016 border-radius: 2px;
4103 4017 }
4104 4018
4019 +.global-styles-ui-block-types-filter {
4020 + margin-bottom: 12px;
4021 + padding: 0 16px;
4022 +}
4023 +
4105 4024 .global-styles-ui-block-types-search {
4106 - margin-bottom: 10px;
4107 - padding: 0 16px;
4025 + flex-grow: 1;
4108 4026 }
4109 4027
4028 +.global-styles-ui-block-types-item-list .global-styles-ui-block-types-item__icon {
4029 + min-width: 24px;
4030 +}
4031 +
4032 +.global-styles-ui-block-types-item-list__no-results {
4033 + padding-top: 16px;
4034 +}
4035 +
4036 +.global-styles-ui-block-types-item__indicator {
4037 + background: var(--wp-admin-theme-color);
4038 + border-radius: 50%;
4039 + flex: none;
4040 + height: 6px;
4041 + margin-left: auto;
4042 + width: 6px;
4043 +}
4044 +
4110 4045 .global-styles-ui-screen-typography__font-variants-count {
4111 4046 color: #757575;
4112 4047 }
4113 4048
@@ -4149,10 +4084,20 @@
4149 4084
4150 4085 .global-styles-ui__color-indicator-wrapper {
4151 4086 height: 24px;
4152 4087 flex-shrink: 0;
4088 + display: flex;
4089 + align-items: center;
4153 4090 }
4154 4091
4092 +.global-styles-ui__palette-preview {
4093 + display: inline-flex;
4094 +}
4095 +
4096 +.global-styles-ui__palette-preview > * + * {
4097 + margin-inline-start: -8px;
4098 +}
4099 +
4155 4100 .global-styles-ui__shadows-panel__options-container,
4156 4101 .global-styles-ui__typography-panel__options-container {
4157 4102 height: 24px;
4158 4103 }
@@ -4164,9 +4109,10 @@
4164 4109 border-radius: 2px;
4165 4110 overflow: hidden;
4166 4111 }
4167 4112
4168 -.global-styles-ui__shadow-preview-panel {
4113 +.global-styles-ui__shadow-preview-panel,
4114 +.global-styles-ui__text-shadow-preview-panel {
4169 4115 height: 144px;
4170 4116 border: #ddd 1px solid;
4171 4117 border-radius: 2px;
4172 4118 overflow: auto;
@@ -4176,9 +4122,9 @@
4176 4122 /*rtl:end:ignore*/
4177 4123 background-size: 16px 16px;
4178 4124 }
4179 4125
4180 -.global-styles-ui__shadow-preview-panel .global-styles-ui__shadow-preview-block {
4126 +.global-styles-ui__shadow-preview-block {
4181 4127 border: #ddd 1px solid;
4182 4128 border-radius: 2px;
4183 4129 background-color: #fff;
4184 4130 width: 60%;
@@ -4184,22 +4130,44 @@
4184 4130 width: 60%;
4185 4131 height: 60px;
4186 4132 }
4187 4133
4188 -.global-styles-ui__shadow-editor__dropdown-content {
4134 +.global-styles-ui__text-shadow-preview-panel {
4135 + margin-block: -8px 16px;
4136 +}
4137 +
4138 +.global-styles-ui__text-shadow-preview-text {
4139 + font-size: 24px;
4140 +}
4141 +
4142 +.global-styles-ui__text-shadow-editor__header {
4143 + margin-block-end: 8px;
4144 +}
4145 +
4146 +.global-styles-ui__text-shadow-editor__inputs {
4147 + display: grid;
4148 + grid-template-columns: repeat(2, 1fr);
4149 + gap: 16px;
4150 +}
4151 +
4152 +.global-styles-ui__shadow-editor__dropdown-content,
4153 +.global-styles-ui__text-shadow-editor__dropdown-content {
4189 4154 width: 280px;
4190 4155 }
4191 4156
4192 -.global-styles-ui__shadow-editor-panel {
4157 +.global-styles-ui__shadow-editor-panel,
4158 +.global-styles-ui__text-shadow-editor-panel {
4193 4159 margin-bottom: 4px;
4194 4160 }
4195 4161
4196 -.global-styles-ui__shadow-editor__dropdown {
4162 +.global-styles-ui__shadow-editor__dropdown,
4163 +.global-styles-ui__text-shadow-editor__dropdown {
4197 4164 width: 100%;
4198 4165 position: relative;
4199 4166 }
4200 4167
4201 -.global-styles-ui__shadow-editor__dropdown-toggle {
4168 +.global-styles-ui__shadow-editor__dropdown-toggle,
4169 +.global-styles-ui__text-shadow-editor__dropdown-toggle {
4202 4170 width: 100%;
4203 4171 height: auto;
4204 4172 padding-top: 8px;
4205 4173 padding-bottom: 8px;
@@ -4206,14 +4174,16 @@
4206 4174 text-align: left;
4207 4175 border-radius: inherit;
4208 4176 }
4209 4177
4210 -.global-styles-ui__shadow-editor__dropdown-toggle.is-open {
4178 +.global-styles-ui__shadow-editor__dropdown-toggle.is-open,
4179 +.global-styles-ui__text-shadow-editor__dropdown-toggle.is-open {
4211 4180 background: #f0f0f0;
4212 4181 color: var(--wp-admin-theme-color);
4213 4182 }
4214 4183
4215 -.global-styles-ui__shadow-editor__remove-button {
4184 +.global-styles-ui__shadow-editor__remove-button,
4185 +.global-styles-ui__text-shadow-editor__remove-button {
4216 4186 position: absolute;
4217 4187 right: 8px;
4218 4188 top: 8px;
4219 4189 opacity: 0;
@@ -4218,18 +4188,19 @@
4218 4188 top: 8px;
4219 4189 opacity: 0;
4220 4190 }
4221 4191
4222 -.global-styles-ui__shadow-editor__remove-button.global-styles-ui__shadow-editor__remove-button {
4223 - border: none;
4224 -}
4225 -
4226 -.global-styles-ui__shadow-editor__dropdown-toggle:hover + .global-styles-ui__shadow-editor__remove-button, .global-styles-ui__shadow-editor__remove-button:focus, .global-styles-ui__shadow-editor__remove-button:hover {
4192 +.global-styles-ui__shadow-editor__dropdown-toggle:hover + .global-styles-ui__shadow-editor__remove-button, .global-styles-ui__text-shadow-editor__dropdown-toggle:hover + .global-styles-ui__shadow-editor__remove-button, .global-styles-ui__shadow-editor__remove-button:focus, .global-styles-ui__shadow-editor__remove-button:hover,
4193 +.global-styles-ui__shadow-editor__dropdown-toggle:hover + .global-styles-ui__text-shadow-editor__remove-button,
4194 +.global-styles-ui__text-shadow-editor__dropdown-toggle:hover + .global-styles-ui__text-shadow-editor__remove-button,
4195 +.global-styles-ui__text-shadow-editor__remove-button:focus,
4196 +.global-styles-ui__text-shadow-editor__remove-button:hover {
4227 4197 opacity: 1;
4228 4198 }
4229 4199
4230 4200 @media (hover: none) {
4231 - .global-styles-ui__shadow-editor__remove-button {
4201 + .global-styles-ui__shadow-editor__remove-button,
4202 + .global-styles-ui__text-shadow-editor__remove-button {
4232 4203 opacity: 1;
4233 4204 }
4234 4205 }
4235 4206 .global-styles-ui-screen-css {
@@ -4313,9 +4284,10 @@
4313 4284 clip-path: border-box;
4314 4285 }
4315 4286
4316 4287 .global-styles-ui-color-palette-panel,
4317 -.global-styles-ui-gradient-palette-panel {
4288 +.global-styles-ui-gradient-palette-panel,
4289 +.global-styles-ui-duotone-palette-panel {
4318 4290 padding: 16px;
4319 4291 }
4320 4292
4321 4293 .edit-site-custom-template-modal__contents-wrapper {
@@ -4324,13 +4296,8 @@
4324 4296 }
4325 4297 .edit-site-custom-template-modal__contents-wrapper > * {
4326 4298 width: 100%;
4327 4299 }
4328 -.edit-site-custom-template-modal__contents-wrapper__suggestions_list {
4329 - margin-left: -12px;
4330 - margin-right: -12px;
4331 - width: calc(100% + 24px);
4332 -}
4333 4300 .edit-site-custom-template-modal__contents > .components-button {
4334 4301 height: auto;
4335 4302 justify-content: center;
4336 4303 }
@@ -4340,10 +4307,14 @@
4340 4307 }
4341 4308 }
4342 4309 @media (min-width: 600px) {
4343 4310 .edit-site-custom-template-modal .edit-site-custom-template-modal__suggestions_list {
4344 - max-height: 224px;
4345 4311 overflow-y: auto;
4312 + max-height: calc(224px + 4 * var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)));
4313 + padding: calc(2 * var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)));
4314 + margin-inline: calc(-2 * var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)));
4315 + width: calc(100% + 4 * var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)));
4316 + scroll-padding-block: calc(2 * var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)));
4346 4317 }
4347 4318 }
4348 4319 .edit-site-custom-template-modal .edit-site-custom-template-modal__suggestions_list__list-item {
4349 4320 display: block;
@@ -4369,11 +4340,8 @@
4369 4340 }
4370 4341 .edit-site-custom-template-modal .edit-site-custom-template-modal__suggestions_list__list-item:focus {
4371 4342 background-color: #f0f0f0;
4372 4343 }
4373 -.edit-site-custom-template-modal .edit-site-custom-template-modal__suggestions_list__list-item:focus:not(:disabled) {
4374 - box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color) inset;
4375 -}
4376 4344 .edit-site-custom-template-modal .edit-site-custom-template-modal__suggestions_list__list-item__title, .edit-site-custom-template-modal .edit-site-custom-template-modal__suggestions_list__list-item__info {
4377 4345 overflow: hidden;
4378 4346 text-overflow: ellipsis;
4379 4347 display: block;
@@ -4405,14 +4373,10 @@
4405 4373 }
4406 4374 }
4407 4375 .edit-site-add-new-template__modal .edit-site-add-new-template__template-button svg,
4408 4376 .edit-site-add-new-template__modal .edit-site-add-new-template__custom-template-button svg {
4409 - fill: var(--wp-admin-theme-color);
4377 + color: var(--wp-admin-theme-color);
4410 4378 }
4411 -.edit-site-add-new-template__modal .edit-site-add-new-template__custom-template-button .edit-site-add-new-template__template-name {
4412 - flex-grow: 1;
4413 - align-items: flex-start;
4414 -}
4415 4379 .edit-site-add-new-template__modal .edit-site-add-new-template__template-icon {
4416 4380 padding: 8px;
4417 4381 background: rgba(var(--wp-admin-theme-color--rgb), 0.04);
4418 4382 border-radius: 100%;
@@ -4426,9 +4390,8 @@
4426 4390 display: flex;
4427 4391 flex-direction: column;
4428 4392 border: 1px solid #ddd;
4429 4393 justify-content: center;
4430 - outline: 1px solid transparent;
4431 4394 }
4432 4395 .edit-site-custom-template-modal__contents > .components-button span:first-child,
4433 4396 .edit-site-add-new-template__template-list__contents > .components-button span:first-child {
4434 4397 color: #1e1e1e;
@@ -4446,14 +4409,8 @@
4446 4409 .edit-site-custom-template-modal__contents > .components-button:hover span,
4447 4410 .edit-site-add-new-template__template-list__contents > .components-button:hover span {
4448 4411 color: var(--wp-admin-theme-color);
4449 4412 }
4450 -.edit-site-custom-template-modal__contents > .components-button:focus,
4451 -.edit-site-add-new-template__template-list__contents > .components-button:focus {
4452 - box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
4453 - border-color: transparent;
4454 - outline: 3px solid transparent;
4455 -}
4456 4413 .edit-site-custom-template-modal__contents > .components-button:focus span:first-child,
4457 4414 .edit-site-add-new-template__template-list__contents > .components-button:focus span:first-child {
4458 4415 color: var(--wp-admin-theme-color);
4459 4416 }
@@ -4465,10 +4422,12 @@
4465 4422 }
4466 4423
4467 4424 .edit-site-add-new-template__template-list__contents > .components-button {
4468 4425 height: 100%;
4426 + padding: 16px;
4469 4427 text-align: start;
4470 4428 align-items: flex-start;
4429 + justify-content: flex-start;
4471 4430 }
4472 4431
4473 4432 .edit-site-visual-editor__editor-canvas.is-focused {
4474 4433 outline: calc(2 * var(--wp-admin-border-width-focus)) solid var(--wp-admin-theme-color);
@@ -4560,8 +4519,9 @@
4560 4519
4561 4520 .edit-site-page-patterns-dataviews .dataviews-view-grid__badge-fields .dataviews-view-grid__field-value:has(.fields-field__pattern-sync-status-fully) {
4562 4521 background: rgba(var(--wp-block-synced-color--rgb), 0.04);
4563 4522 color: var(--wp-block-synced-color);
4523 + border-color: currentColor;
4564 4524 }
4565 4525
4566 4526 .dataviews-action-modal__duplicate-pattern [role=dialog] > [role=document] {
4567 4527 width: 350px;
@@ -4676,10 +4636,9 @@
4676 4636 }
4677 4637 .edit-site-welcome-guide__image > img {
4678 4638 display: block;
4679 4639 max-width: 100%;
4680 - -o-object-fit: cover;
4681 - object-fit: cover;
4640 + object-fit: cover;
4682 4641 }
4683 4642 .edit-site-welcome-guide__heading {
4684 4643 font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
4685 4644 font-size: 24px;
@@ -4700,9 +4659,9 @@
4700 4659 margin: 0 4px;
4701 4660 vertical-align: text-top;
4702 4661 }
4703 4662 .edit-site-welcome-guide .components-button:hover svg {
4704 - fill: #fff;
4663 + color: #fff;
4705 4664 }
4706 4665
4707 4666 .edit-site-layout {
4708 4667 height: 100%;
@@ -4900,9 +4859,9 @@
4900 4859 }
4901 4860
4902 4861 .edit-site-layout__snackbar {
4903 4862 position: fixed;
4904 - bottom: 24px;
4863 + bottom: var(--wpds-dimension-size-md, 32px);
4905 4864 left: 0;
4906 4865 right: 0;
4907 4866 padding-inline: 16px;
4908 4867 box-sizing: border-box;
@@ -5046,14 +5005,11 @@
5046 5005 padding: 8px 6px 8px 16px;
5047 5006 border: none;
5048 5007 min-height: 40px;
5049 5008 }
5050 -.edit-site-sidebar-navigation-item.components-item:hover, .edit-site-sidebar-navigation-item.components-item:focus, .edit-site-sidebar-navigation-item.components-item[aria-current=true] {
5009 +.edit-site-sidebar-navigation-item.components-item:focus, .edit-site-sidebar-navigation-item.components-item[aria-current=true], .edit-site-sidebar-navigation-item.components-item.edit-site-sidebar-navigation-item.components-item:hover {
5051 5010 color: var(--wpds-color-foreground-interactive-neutral-weak-active, #1e1e1e);
5052 5011 }
5053 -.edit-site-sidebar-navigation-item.components-item:hover .edit-site-sidebar-navigation-item__drilldown-indicator, .edit-site-sidebar-navigation-item.components-item:focus .edit-site-sidebar-navigation-item__drilldown-indicator, .edit-site-sidebar-navigation-item.components-item[aria-current=true] .edit-site-sidebar-navigation-item__drilldown-indicator {
5054 - fill: var(--wpds-color-foreground-interactive-neutral-weak-active, #1e1e1e);
5055 -}
5056 5012 .edit-site-sidebar-navigation-item.components-item[aria-current=true] {
5057 5013 background: var(--wpds-color-background-interactive-neutral-weak-active, #ededed);
5058 5014 color: var(--wpds-color-foreground-interactive-neutral-weak-active, #1e1e1e);
5059 5015 font-weight: var(--wpds-typography-font-weight-emphasis, 600);
@@ -5061,11 +5017,8 @@
5061 5017 .edit-site-sidebar-navigation-item.components-item:focus-visible {
5062 5018 --wp-components-color-accent: var(--wpds-color-stroke-focus, var(--wp-admin-theme-color, #3858e9));
5063 5019 transform: translateZ(0);
5064 5020 }
5065 -.edit-site-sidebar-navigation-item.components-item .edit-site-sidebar-navigation-item__drilldown-indicator {
5066 - fill: var(--wpds-color-foreground-interactive-neutral-weak, #707070);
5067 -}
5068 5021 .edit-site-sidebar-navigation-item.components-item.with-suffix {
5069 5022 padding-right: 16px;
5070 5023 }
5071 5024
@@ -5275,13 +5228,8 @@
5275 5228 margin-left: -16px;
5276 5229 margin-right: -16px;
5277 5230 }
5278 5231
5279 -.edit-site-sidebar-navigation-screen-templates-browse {
5280 - margin-left: -16px;
5281 - margin-right: -16px;
5282 -}
5283 -
5284 5232 .edit-site-sidebar-dataviews {
5285 5233 margin-left: -16px;
5286 5234 margin-right: -16px;
5287 5235 }
@@ -5389,9 +5337,8 @@
5389 5337 }
5390 5338 body:has(.edit-site-resizable-frame__inner.is-resizing) {
5391 5339 cursor: col-resize;
5392 5340 -webkit-user-select: none;
5393 - -moz-user-select: none;
5394 5341 user-select: none;
5395 5342 }
5396 5343
5397 5344 .edit-site-resizable-frame__inner.is-resizing::before {
@@ -5475,8 +5422,14 @@
5475 5422 .edit-site-styles .edit-site-sidebar-button {
5476 5423 color: var(--wpds-color-foreground-interactive-neutral, #1e1e1e);
5477 5424 }
5478 5425
5426 +.edit-site-styles__content {
5427 + flex-grow: 1;
5428 + min-height: 0;
5429 + background-color: var(--wpds-color-background-surface-neutral-strong, #fff);
5430 +}
5431 +
5479 5432 .show-icon-labels .edit-site-styles__header-actions .components-button.has-icon {
5480 5433 width: auto;
5481 5434 padding: 0 var(--wpds-dimension-padding-xs, 4px);
5482 5435 }
@@ -5487,8 +5440,16 @@
5487 5440 content: attr(aria-label);
5488 5441 font-size: var(--wpds-typography-font-size-sm, 12px);
5489 5442 }
5490 5443
5444 +.edit-site-sidebar-identity__form {
5445 + flex-grow: 1;
5446 + min-height: 0;
5447 + overflow: auto;
5448 + background-color: var(--wpds-color-background-surface-neutral-strong, #fff);
5449 + padding: var(--wpds-dimension-padding-lg, 16px) var(--wpds-dimension-padding-2xl, 24px);
5450 +}
5451 +
5491 5452 ::view-transition-image-pair(root) {
5492 5453 isolation: auto;
5493 5454 }
5494 5455
@@ -5550,11 +5511,12 @@
5550 5511 }
5551 5512 @media (min-width: 782px) {
5552 5513 body.js.site-editor-php:has(.editor-editor-interface.is-distraction-free) {
5553 5514 --wp-admin--admin-bar--height: 0px;
5515 + --wp-editor-admin-bar-display: none;
5554 5516 }
5555 - body.js.site-editor-php:has(.editor-editor-interface.is-distraction-free) #wpadminbar {
5556 - display: none;
5517 + body.js.site-editor-php #wpadminbar {
5518 + display: var(--wp-editor-admin-bar-display, block);
5557 5519 }
5558 5520 }
5559 5521
5560 5522 .edit-site {