PluginProbe
Gutenberg / trunk
Gutenberg vtrunk
24.1.0 24.0.0 23.9.1 23.9.0 23.8.0 23.7.2 23.7.1 23.7.0 23.6.1 23.6.2 23.6.0 23.5.3 23.5.2 23.5.1 23.5.0 23.4.0 23.3.2 23.3.1 23.3.0 23.2.0 23.2.1 23.2.2 23.1.1 23.1.0 23.0.1 All 404 releases
← All changes | build/styles/edit-site/style-rtl.css +274 -307 23.6.0 → trunk View file →
@@ -237,8 +237,16 @@
237 237 .dataviews-filters__container {
238 238 transition: padding ease-out 0.1s;
239 239 }
240 240 }
241 +.dataviews__search {
242 + flex-grow: 1;
243 +}
244 +
245 +.dataviews__search .dataviews-search {
246 + flex-basis: 210px;
247 +}
248 +
241 249 .dataviews-no-results,
242 250 .dataviews-loading {
243 251 padding: 0 var(--wpds-dimension-padding-2xl, 24px);
244 252 flex-grow: 1;
@@ -433,10 +441,10 @@
433 441 }
434 442
435 443 .dataviews-filters__summary-operators-container .dataviews-filters__summary-operators-filter-select {
436 444 width: 100%;
445 + min-width: 0;
437 446 white-space: nowrap;
438 - overflow: hidden;
439 447 }
440 448
441 449 .dataviews-filters__summary-chip-container {
442 450 position: relative;
@@ -508,9 +516,9 @@
508 516 cursor: var(--wpds-cursor-control, pointer);
509 517 }
510 518
511 519 .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove svg {
512 - fill: var(--wpds-color-foreground-interactive-neutral, #1e1e1e);
520 + color: var(--wpds-color-foreground-interactive-neutral, #1e1e1e);
513 521 }
514 522
515 523 .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove:hover, .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove:focus {
516 524 background: var(--wpds-color-background-interactive-neutral-weak-active, #ededed);
@@ -516,13 +524,13 @@
516 524 background: var(--wpds-color-background-interactive-neutral-weak-active, #ededed);
517 525 }
518 526
519 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 {
520 - fill: var(--wpds-color-foreground-interactive-neutral-active, #1e1e1e);
528 + color: var(--wpds-color-foreground-interactive-neutral-active, #1e1e1e);
521 529 }
522 530
523 531 .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove.has-values svg {
524 - 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));
525 533 }
526 534
527 535 .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove.has-values:hover {
528 536 background: var(--wpds-color-background-interactive-brand-weak-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 12%, white));
@@ -584,10 +592,11 @@
584 592 background: var(--wpds-color-background-interactive-brand-strong-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 93%, black));
585 593 }
586 594
587 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));
588 598 border-color: var(--wpds-color-stroke-interactive-brand-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 85%, black));
589 - background: var(--wpds-color-background-surface-neutral-strong, #fff);
590 599 }
591 600
592 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 {
593 602 border-color: var(--wpds-color-stroke-interactive-brand-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 85%, black));
@@ -701,9 +710,9 @@
701 710 }
702 711 .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection {
703 712 --checkbox-size: 24px;
704 713 flex-shrink: 0;
705 - border: 1px solid #1e1e1e;
714 + border: var(--wpds-border-width-xs, 1px) solid var(--wpds-color-stroke-interactive-neutral, #8d8d8d);
706 715 margin-left: 12px;
707 716 transition: none;
708 717 border-radius: 2px;
709 718 font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
@@ -711,18 +720,12 @@
711 720 /* Fonts smaller than 16px causes mobile safari to zoom. */
712 721 font-size: 16px;
713 722 /* Override core line-height. To be reviewed. */
714 723 line-height: normal;
715 - box-shadow: 0 0 0 transparent;
716 - border-radius: 2px;
717 - 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);
718 726 }
719 727
720 -@media not (prefers-reduced-motion) {
721 - .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection {
722 - transition: box-shadow 0.1s linear;
723 - }
724 -}
725 728 @media (min-width: 600px) {
726 729 .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection {
727 730 font-size: 13px;
728 731 /* Override core line-height. To be reviewed. */
@@ -728,20 +731,25 @@
728 731 /* Override core line-height. To be reviewed. */
729 732 line-height: normal;
730 733 }
731 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 +
732 739 .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection:focus {
733 - border-color: var(--wp-admin-theme-color);
734 - box-shadow: 0 0 0 0.5px var(--wp-admin-theme-color);
735 - 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;
736 744 }
737 745
738 -.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 {
739 747 color: rgba(30, 30, 30, 0.62);
740 748 }
741 749
742 -.dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection::placeholder {
743 - 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);
744 752 }
745 753
746 754 .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection:focus {
747 755 box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--wp-admin-theme-color);
@@ -774,9 +782,9 @@
774 782 display: inline-block;
775 783 vertical-align: middle;
776 784 width: 16px;
777 785 /* stylelint-disable-next-line font-family-no-missing-generic-family-keyword -- dashicons don't need a generic family keyword. */
778 - font: normal 30px/1 dashicons;
786 + font: 400 30px/1 dashicons;
779 787 speak: none;
780 788 -webkit-font-smoothing: antialiased;
781 789 -moz-osx-font-smoothing: grayscale;
782 790 }
@@ -787,17 +795,23 @@
787 795 font-size: 21px;
788 796 }
789 797 }
790 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 {
791 - background: #f0f0f0;
792 - 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);
793 802 cursor: default;
794 803 opacity: 1;
795 804 }
796 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 +
797 810 .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection {
798 811 position: relative;
799 - 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));
800 814 color: var(--wpds-color-foreground-content-neutral, #1e1e1e);
801 815 margin: 0;
802 816 padding: 0;
803 817 width: var(--checkbox-size);
@@ -820,9 +834,9 @@
820 834 }
821 835
822 836 .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection.is-selected svg {
823 837 --checkmark-size: var(--checkbox-size);
824 - fill: var(--wpds-color-foreground-interactive-neutral-strong, #f0f0f0);
838 + color: var(--wpds-color-foreground-interactive-neutral-strong, #f0f0f0);
825 839 position: absolute;
826 840 right: 50%;
827 841 top: 50%;
828 842 transform: translate(50%, -50%);
@@ -846,18 +860,12 @@
846 860 /* Fonts smaller than 16px causes mobile safari to zoom. */
847 861 font-size: 16px;
848 862 /* Override core line-height. To be reviewed. */
849 863 line-height: normal;
850 - box-shadow: 0 0 0 transparent;
851 - border-radius: 2px;
852 - 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);
853 866 }
854 867
855 -@media not (prefers-reduced-motion) {
856 - .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input {
857 - transition: box-shadow 0.1s linear;
858 - }
859 -}
860 868 @media (min-width: 600px) {
861 869 .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input {
862 870 font-size: 13px;
863 871 /* Override core line-height. To be reviewed. */
@@ -863,16 +871,17 @@
863 871 /* Override core line-height. To be reviewed. */
864 872 line-height: normal;
865 873 }
866 874 }
867 -.dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input:focus {
868 - border-color: var(--wp-admin-theme-color);
869 - box-shadow: 0 0 0 0.5px var(--wp-admin-theme-color);
870 - 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);
871 877 }
872 878
873 -.dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input::-moz-placeholder {
874 - 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;
875 884 }
876 885
877 886 .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input::placeholder {
878 887 color: rgba(30, 30, 30, 0.62);
@@ -895,15 +904,10 @@
895 904 }
896 905 }
897 906 .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input:focus {
898 907 background: var(--wpds-color-background-surface-neutral-strong, #fff);
899 - 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));
900 908 }
901 909
902 -.dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input::-moz-placeholder {
903 - color: var(--wpds-color-foreground-content-neutral-weak, #707070);
904 -}
905 -
906 910 .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input::placeholder {
907 911 color: var(--wpds-color-foreground-content-neutral-weak, #707070);
908 912 }
909 913
@@ -948,13 +952,8 @@
948 952 color: var(--wpds-color-foreground-interactive-neutral-strong, #f0f0f0);
949 953 box-sizing: border-box;
950 954 }
951 955
952 -.dataviews-search {
953 - width: -moz-fit-content;
954 - width: fit-content;
955 -}
956 -
957 956 .dataviews-filters__user-input-widget {
958 957 padding: var(--wpds-dimension-padding-lg, 16px);
959 958 }
960 959
@@ -1231,9 +1230,8 @@
1231 1230 }
1232 1231
1233 1232 .dataviews-view-grid .dataviews-view-grid__card .dataviews-view-grid__title-field--clickable,
1234 1233 .dataviews-view-grid-infinite-scroll .dataviews-view-grid__card .dataviews-view-grid__title-field--clickable {
1235 - width: -moz-fit-content;
1236 1234 width: fit-content;
1237 1235 }
1238 1236
1239 1237 .dataviews-view-grid .dataviews-view-grid__card.is-selected .dataviews-view-grid__fields .dataviews-view-grid__field .dataviews-view-grid__field-value,
@@ -1253,9 +1251,9 @@
1253 1251
1254 1252 .dataviews-view-grid .dataviews-view-grid__media,
1255 1253 .dataviews-view-grid-infinite-scroll .dataviews-view-grid__media {
1256 1254 width: 100%;
1257 - aspect-ratio: 1/1;
1255 + aspect-ratio: var(--wp-dataviews-media-aspect-ratio, 1/1);
1258 1256 background-color: var(--wpds-color-background-surface-neutral-strong, #fff);
1259 1257 border-radius: var(--wpds-border-radius-md, 4px);
1260 1258 overflow: hidden;
1261 1259 position: relative;
@@ -1267,9 +1265,8 @@
1267 1265 }
1268 1266
1269 1267 .dataviews-view-grid .dataviews-view-grid__media img,
1270 1268 .dataviews-view-grid-infinite-scroll .dataviews-view-grid__media img {
1271 - -o-object-fit: cover;
1272 1269 object-fit: cover;
1273 1270 width: 100%;
1274 1271 height: 100%;
1275 1272 }
@@ -1296,8 +1293,18 @@
1296 1293 box-shadow: none;
1297 1294 background: var(--wpds-color-background-surface-neutral, #fcfcfc);
1298 1295 }
1299 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 +
1300 1307 .dataviews-view-grid .dataviews-view-grid__fields,
1301 1308 .dataviews-view-grid-infinite-scroll .dataviews-view-grid__fields {
1302 1309 position: relative;
1303 1310 font-size: 12px;
@@ -1458,9 +1465,8 @@
1458 1465
1459 1466 .dataviews-view-list div[role=row] .dataviews-view-list__item-actions,
1460 1467 .dataviews-view-list div[role=article] .dataviews-view-list__item-actions {
1461 1468 display: flex;
1462 - width: -moz-max-content;
1463 1469 width: max-content;
1464 1470 flex: 0 0 auto;
1465 1471 gap: var(--wpds-dimension-gap-xs, 4px);
1466 1472 white-space: nowrap;
@@ -1513,10 +1519,9 @@
1513 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,
1514 1520 .dataviews-view-list div[role=article]:not(.is-selected):hover,
1515 1521 .dataviews-view-list div[role=article]:not(.is-selected).is-hovered,
1516 1522 .dataviews-view-list div[role=article]:not(.is-selected):focus-within {
1517 - color: var(--wpds-color-foreground-interactive-brand, var(--wp-admin-theme-color, #3858e9));
1518 - 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);
1519 1524 }
1520 1525
1521 1526 .dataviews-view-list div[role=row]:not(.is-selected):hover .dataviews-title-field,
1522 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,
@@ -1527,9 +1532,9 @@
1527 1532 .dataviews-view-list div[role=article]:not(.is-selected).is-hovered .dataviews-title-field,
1528 1533 .dataviews-view-list div[role=article]:not(.is-selected).is-hovered .dataviews-view-list__field,
1529 1534 .dataviews-view-list div[role=article]:not(.is-selected):focus-within .dataviews-title-field,
1530 1535 .dataviews-view-list div[role=article]:not(.is-selected):focus-within .dataviews-view-list__field {
1531 - color: var(--wpds-color-foreground-interactive-brand, var(--wp-admin-theme-color, #3858e9));
1536 + color: var(--wpds-color-foreground-interactive-neutral, #1e1e1e);
1532 1537 }
1533 1538
1534 1539 .dataviews-view-list div[role=row].is-selected .dataviews-view-list__item-wrapper,
1535 1540 .dataviews-view-list div[role=row].is-selected:focus-within .dataviews-view-list__item-wrapper,
@@ -1535,9 +1540,9 @@
1535 1540 .dataviews-view-list div[role=row].is-selected:focus-within .dataviews-view-list__item-wrapper,
1536 1541 .dataviews-view-list div[role=article].is-selected .dataviews-view-list__item-wrapper,
1537 1542 .dataviews-view-list div[role=article].is-selected:focus-within .dataviews-view-list__item-wrapper {
1538 1543 background-color: var(--wpds-color-background-interactive-brand-weak-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 12%, white));
1539 - color: var(--wpds-color-foreground-interactive-neutral, #1e1e1e);
1544 + color: var(--wpds-color-foreground-content-neutral, #1e1e1e);
1540 1545 }
1541 1546
1542 1547 .dataviews-view-list div[role=row].is-selected .dataviews-view-list__item-wrapper .dataviews-title-field,
1543 1548 .dataviews-view-list div[role=row].is-selected .dataviews-view-list__item-wrapper .dataviews-view-list__field,
@@ -1546,9 +1551,9 @@
1546 1551 .dataviews-view-list div[role=article].is-selected .dataviews-view-list__item-wrapper .dataviews-title-field,
1547 1552 .dataviews-view-list div[role=article].is-selected .dataviews-view-list__item-wrapper .dataviews-view-list__field,
1548 1553 .dataviews-view-list div[role=article].is-selected:focus-within .dataviews-view-list__item-wrapper .dataviews-title-field,
1549 1554 .dataviews-view-list div[role=article].is-selected:focus-within .dataviews-view-list__item-wrapper .dataviews-view-list__field {
1550 - color: var(--wpds-color-foreground-interactive-neutral-active, #1e1e1e);
1555 + color: var(--wpds-color-foreground-content-neutral, #1e1e1e);
1551 1556 }
1552 1557
1553 1558 .dataviews-view-list .dataviews-view-list__item {
1554 1559 position: absolute;
@@ -1554,10 +1559,8 @@
1554 1559 position: absolute;
1555 1560 z-index: 1;
1556 1561 inset: 0;
1557 1562 scroll-margin: var(--wpds-dimension-gap-sm, 8px) 0;
1558 - -webkit-appearance: none;
1559 - -moz-appearance: none;
1560 1563 appearance: none;
1561 1564 border: none;
1562 1565 background: none;
1563 1566 padding: 0;
@@ -1600,9 +1603,8 @@
1600 1603
1601 1604 .dataviews-view-list .dataviews-view-list__media-wrapper img {
1602 1605 width: 100%;
1603 1606 height: 100%;
1604 - -o-object-fit: cover;
1605 1607 object-fit: cover;
1606 1608 }
1607 1609
1608 1610 .dataviews-view-list .dataviews-view-list__media-wrapper::after {
@@ -1622,9 +1624,9 @@
1622 1624 min-width: 0;
1623 1625 }
1624 1626
1625 1627 .dataviews-view-list .dataviews-view-list__field {
1626 - color: var(--wpds-color-foreground-interactive-neutral-weak, #707070);
1628 + color: var(--wpds-color-foreground-content-neutral-weak, #707070);
1627 1629 }
1628 1630
1629 1631 .dataviews-view-list .dataviews-view-list__fields {
1630 1632 display: flex;
@@ -1741,9 +1743,9 @@
1741 1743
1742 1744 .dataviews-view-table th {
1743 1745 text-align: right;
1744 1746 color: var(--wpds-color-foreground-content-neutral, #1e1e1e);
1745 - font-weight: normal;
1747 + font-weight: 400;
1746 1748 font-size: var(--wpds-typography-font-size-md, 13px);
1747 1749 }
1748 1750
1749 1751 .dataviews-view-table td,
@@ -1771,9 +1773,9 @@
1771 1773 top: 0;
1772 1774 bottom: 0;
1773 1775 right: 0;
1774 1776 width: 1px;
1775 - background-color: var(--wpds-color-background-surface-neutral, #fcfcfc);
1777 + background-color: var(--wpds-color-stroke-surface-neutral-weak, #f0f0f0);
1776 1778 }
1777 1779
1778 1780 .dataviews-view-table td.dataviews-view-table__checkbox-column,
1779 1781 .dataviews-view-table th.dataviews-view-table__checkbox-column {
@@ -1985,9 +1987,8 @@
1985 1987
1986 1988 .dataviews-column-primary__media img {
1987 1989 width: var(--wpds-dimension-size-md, 32px);
1988 1990 height: var(--wpds-dimension-size-md, 32px);
1989 - -o-object-fit: cover;
1990 1991 object-fit: cover;
1991 1992 }
1992 1993
1993 1994 .dataviews-column-primary__media::after {
@@ -2000,8 +2001,19 @@
2000 2001 box-shadow: inset 0 0 0 var(--wpds-border-width-xs, 1px) rgba(0, 0, 0, 0.1);
2001 2002 border-radius: var(--wpds-border-radius-md, 4px);
2002 2003 }
2003 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 +
2004 2016 .dataviews-view-table__cell-content-wrapper:not(.dataviews-column-primary__media),
2005 2017 .dataviews-view-table__primary-column-content:not(.dataviews-column-primary__media) {
2006 2018 min-width: 15ch;
2007 2019 max-width: 80ch;
@@ -2055,9 +2067,8 @@
2055 2067 text-align: start;
2056 2068 }
2057 2069
2058 2070 .dataviews-view-picker-grid .dataviews-view-picker-grid__card .dataviews-view-picker-grid__title-field--clickable {
2059 - width: -moz-fit-content;
2060 2071 width: fit-content;
2061 2072 }
2062 2073
2063 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 {
@@ -2093,13 +2104,13 @@
2093 2104 aspect-ratio: 1/1;
2094 2105 min-height: 0;
2095 2106 background-color: var(--wpds-color-background-surface-neutral-strong, #fff);
2096 2107 border-radius: var(--wpds-border-radius-md, 4px);
2108 + overflow: hidden;
2097 2109 position: relative;
2098 2110 }
2099 2111
2100 2112 .dataviews-view-picker-grid .dataviews-view-picker-grid__media img {
2101 - -o-object-fit: cover;
2102 2113 object-fit: cover;
2103 2114 width: 100%;
2104 2115 height: 100%;
2105 2116 }
@@ -2115,8 +2126,16 @@
2115 2126 border-radius: var(--wpds-border-radius-md, 4px);
2116 2127 pointer-events: none;
2117 2128 }
2118 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 +
2119 2138 .dataviews-view-picker-grid .dataviews-view-picker-grid__fields {
2120 2139 position: relative;
2121 2140 font-size: 12px;
2122 2141 line-height: 16px;
@@ -2278,9 +2297,8 @@
2278 2297 }
2279 2298
2280 2299 .dataviews-view-activity .dataviews-view-activity__item-content .dataviews-view-activity__primary-actions {
2281 2300 display: flex;
2282 - width: -moz-max-content;
2283 2301 width: max-content;
2284 2302 flex: 0 0 auto;
2285 2303 }
2286 2304
@@ -2412,9 +2430,8 @@
2412 2430 display: block;
2413 2431 width: 100%;
2414 2432 height: 100%;
2415 2433 margin: 0 auto;
2416 - -o-object-fit: cover;
2417 2434 object-fit: cover;
2418 2435 border-radius: 50%;
2419 2436 box-sizing: border-box;
2420 2437 box-shadow: inset 0 0 0 var(--wpds-border-width-xs, 1px) var(--wpds-color-stroke-surface-neutral, #dbdbdb);
@@ -2629,9 +2646,8 @@
2629 2646 display: block;
2630 2647 width: 100%;
2631 2648 height: 100%;
2632 2649 margin: 0 auto;
2633 - -o-object-fit: cover;
2634 2650 object-fit: cover;
2635 2651 border-radius: 50%;
2636 2652 box-sizing: border-box;
2637 2653 box-shadow: inset 0 0 0 var(--wpds-border-width-xs, 1px) var(--wpds-color-stroke-surface-neutral, #dbdbdb);
@@ -2653,13 +2669,8 @@
2653 2669 .dataviews-picker-footer__actions {
2654 2670 align-self: flex-end;
2655 2671 }
2656 2672
2657 -.dataviews-controls__richtext [data-rich-text-placeholder]::after {
2658 - content: attr(data-rich-text-placeholder);
2659 - color: color-mix(in srgb, currentColor, transparent 38%);
2660 -}
2661 -
2662 2673 .dataviews-controls__datetime {
2663 2674 border: none;
2664 2675 padding: 0;
2665 2676 }
@@ -2690,8 +2701,29 @@
2690 2701 .dataviews-controls__date-preset:active {
2691 2702 background-color: var(--wpds-color-background-interactive-neutral-strong-active, #1e1e1e);
2692 2703 }
2693 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 +
2694 2726 .dataforms-layouts-panel__field-trigger {
2695 2727 position: relative;
2696 2728 color: inherit;
2697 2729 display: flex;
@@ -2754,8 +2786,14 @@
2754 2786 opacity: 0;
2755 2787 border-radius: var(--wpds-border-radius-xs, 1px);
2756 2788 }
2757 2789
2790 +.dataforms-layouts-panel__field-trigger-icon::after {
2791 + content: "";
2792 + position: absolute;
2793 + inset: 0;
2794 +}
2795 +
2758 2796 .dataforms-layouts-panel__field-trigger-icon:focus-visible {
2759 2797 opacity: 1;
2760 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));
2761 2799 }
@@ -2789,11 +2827,9 @@
2789 2827 color: var(--wpds-color-foreground-content-error-weak, #cc1818);
2790 2828 }
2791 2829
2792 2830 .dataforms-layouts-panel__field-label-error-content {
2793 - position: relative;
2794 - z-index: 1;
2795 - cursor: help;
2831 + pointer-events: none;
2796 2832 color: var(--wpds-color-foreground-content-error-weak, #cc1818);
2797 2833 display: inline-flex;
2798 2834 flex-direction: row;
2799 2835 align-items: center;
@@ -2809,12 +2845,17 @@
2809 2845 align-items: center;
2810 2846 overflow: clip;
2811 2847 padding-inline: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px));
2812 2848 margin-inline: calc(-1 * var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)));
2813 - word-break: break-word;
2849 + word-break: normal;
2850 + overflow-wrap: anywhere;
2814 2851 font-weight: var(--wpds-typography-font-weight-emphasis, 600);
2815 2852 }
2816 2853
2854 +.dataforms-layouts-panel__field-control:has(a, button) {
2855 + z-index: 1;
2856 +}
2857 +
2817 2858 .dataforms-layouts-panel__field-control > * {
2818 2859 min-width: 0;
2819 2860 }
2820 2861
@@ -2847,12 +2888,8 @@
2847 2888 .components-popover.components-dropdown__content.dataforms-layouts-panel__field-dropdown {
2848 2889 z-index: 159990;
2849 2890 }
2850 2891
2851 -.dataforms-layouts-panel__summary-button:empty {
2852 - min-width: 160px;
2853 -}
2854 -
2855 2892 .dataforms-layouts-regular__field {
2856 2893 width: 100%;
2857 2894 min-height: var(--wpds-dimension-size-md, 32px);
2858 2895 justify-content: flex-start !important;
@@ -3070,9 +3107,9 @@
3070 3107 padding: 12px;
3071 3108 display: grid;
3072 3109 align-items: center;
3073 3110 grid-template-columns: min-content 1fr min-content;
3074 - grid-gap: 4px 8px;
3111 + gap: 4px 8px;
3075 3112 color: #1e1e1e;
3076 3113 }
3077 3114
3078 3115 .fields-create-template-part-modal__area-radio-wrapper + .fields-create-template-part-modal__area-radio-wrapper {
@@ -3355,11 +3392,9 @@
3355 3392
3356 3393 fieldset.fields__media-edit .fields__media-edit-expanded .fields__media-edit-thumbnail {
3357 3394 width: 100%;
3358 3395 height: 100%;
3359 - -o-object-fit: cover;
3360 3396 object-fit: cover;
3361 - -o-object-position: 50% 50%;
3362 3397 object-position: 50% 50%;
3363 3398 }
3364 3399
3365 3400 fieldset.fields__media-edit .fields__media-edit-expanded .fields__media-edit-filename {
@@ -3419,9 +3454,8 @@
3419 3454
3420 3455 .fields-controls__author-avatar img {
3421 3456 width: 16px;
3422 3457 height: 16px;
3423 - -o-object-fit: cover;
3424 3458 object-fit: cover;
3425 3459 opacity: 0;
3426 3460 border-radius: 100%;
3427 3461 }
@@ -3457,18 +3491,15 @@
3457 3491 padding: 0;
3458 3492 margin: 0;
3459 3493 }
3460 3494
3461 -.fields-controls__slug .fields-controls__slug-external-icon {
3462 - margin-right: 5ch;
3463 -}
3464 -
3465 3495 .fields-controls__slug .fields-controls__slug-input input.components-input-control__input {
3466 3496 padding-inline-start: 0 !important;
3467 3497 }
3468 3498
3469 3499 .fields-controls__slug .fields-controls__slug-help-link {
3470 - word-break: break-word;
3500 + word-break: normal;
3501 + overflow-wrap: anywhere;
3471 3502 }
3472 3503
3473 3504 .fields-controls__slug .fields-controls__slug-help {
3474 3505 display: flex;
@@ -3677,9 +3708,9 @@
3677 3708 .font-library__footer {
3678 3709 position: absolute;
3679 3710 width: 100%;
3680 3711 bottom: 0;
3681 - border-top: 1px solid #ddd;
3712 + border-top: 1px solid var(--wpds-color-stroke-surface-neutral, #dbdbdb);
3682 3713 padding: 24px;
3683 3714 background-color: #fff;
3684 3715 box-sizing: border-box;
3685 3716 flex-grow: 0 !important;
@@ -3693,13 +3724,17 @@
3693 3724 text-transform: uppercase;
3694 3725 }
3695 3726
3696 3727 @media (min-width: 600px) {
3697 - .font-library__page-selection .font-library__page-selection-trigger {
3728 + .font-library__page-selection .components-select-control__input {
3698 3729 font-size: 11px !important;
3699 3730 font-weight: var(--wpds-typography-font-weight-emphasis, 600);
3700 3731 }
3701 3732 }
3733 +.font-library__search {
3734 + width: 240px;
3735 +}
3736 +
3702 3737 .font-library__fonts-title {
3703 3738 text-transform: uppercase;
3704 3739 font-size: 11px;
3705 3740 font-weight: var(--wpds-typography-font-weight-emphasis, 600);
@@ -3717,11 +3752,15 @@
3717 3752 .font-library__fonts-list-item {
3718 3753 margin-bottom: 0;
3719 3754 }
3720 3755
3756 +.font-library__font-demo {
3757 + position: relative;
3758 +}
3759 +
3721 3760 .font-library__font-card {
3722 3761 box-sizing: border-box;
3723 - border: 1px solid #ddd;
3762 + border: 1px solid var(--wpds-color-stroke-surface-neutral, #dbdbdb);
3724 3763 width: 100%;
3725 3764 height: auto !important;
3726 3765 padding: 16px;
3727 3766 margin-top: -1px; /* To collapse the margin with the previous element */
@@ -3735,13 +3774,13 @@
3735 3774 position: relative;
3736 3775 }
3737 3776
3738 3777 .font-library__font-card .font-library__font-card__name {
3739 - font-weight: bold;
3778 + font-weight: 700;
3740 3779 }
3741 3780
3742 3781 .font-library__font-card .font-library__font-card__count {
3743 - color: #757575;
3782 + color: var(--wpds-color-foreground-content-neutral-weak, #707070);
3744 3783 }
3745 3784
3746 3785 .font-library__font-card .font-library__font-variant_demo-image {
3747 3786 display: block;
@@ -3748,8 +3787,25 @@
3748 3787 height: 24px;
3749 3788 width: auto;
3750 3789 }
3751 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 + right: 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 +
3752 3808 .font-library__font-card .font-library__font-variant_demo-text {
3753 3809 white-space: nowrap;
3754 3810 flex-shrink: 0;
3755 3811 }
@@ -3761,9 +3817,9 @@
3761 3817 }
3762 3818 .font-library-modal__tablist-container {
3763 3819 position: sticky;
3764 3820 top: 0;
3765 - border-bottom: 1px solid #ddd;
3821 + border-bottom: 1px solid var(--wpds-color-stroke-surface-neutral, #dbdbdb);
3766 3822 background: #fff;
3767 3823 z-index: 1;
3768 3824 }
3769 3825
@@ -3784,9 +3840,9 @@
3784 3840 width: 80%;
3785 3841 }
3786 3842
3787 3843 .font-library__local-fonts .font-library__upload-area__text {
3788 - color: #757575;
3844 + color: var(--wpds-color-foreground-content-neutral-weak, #707070);
3789 3845 }
3790 3846
3791 3847 .font-library__google-fonts-confirm {
3792 3848 display: flex;
@@ -3821,113 +3877,22 @@
3821 3877 .font-library__select-all .components-checkbox-control__label {
3822 3878 padding-right: 16px;
3823 3879 }
3824 3880
3825 -.global-styles-ui-pagination .components-button.is-tertiary {
3826 - width: 32px;
3827 - height: 32px;
3828 - justify-content: center;
3829 -}
3830 -
3831 -.global-styles-ui-screen-revisions__revisions-list {
3832 - list-style: none;
3833 - margin: 0 16px 16px 16px;
3834 - flex-grow: 1;
3835 -}
3836 -
3837 -.global-styles-ui-screen-revisions__revisions-list li {
3838 - margin-bottom: 0;
3839 -}
3840 -
3841 -.global-styles-ui-screen-revisions__revision-item {
3842 - position: relative;
3843 - cursor: var(--wpds-cursor-control, pointer);
3881 +.global-styles-ui-screen-revisions {
3844 3882 display: flex;
3845 3883 flex-direction: column;
3884 + flex-grow: 1;
3885 + min-height: 0;
3846 3886 }
3847 3887
3848 -.global-styles-ui-screen-revisions__revision-item[role=option]:active, .global-styles-ui-screen-revisions__revision-item[role=option]:focus {
3849 - box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
3850 - outline: 2px solid transparent;
3888 +.global-styles-ui-screen-revisions__actions {
3889 + margin-inline-start: auto;
3851 3890 }
3852 3891
3853 -.global-styles-ui-screen-revisions__revision-item:hover {
3854 - background: rgba(var(--wp-admin-theme-color--rgb), 0.04);
3855 -}
3856 -
3857 -.global-styles-ui-screen-revisions__revision-item:hover .global-styles-ui-screen-revisions__date {
3858 - color: var(--wp-admin-theme-color);
3859 -}
3860 -
3861 -.global-styles-ui-screen-revisions__revision-item::before, .global-styles-ui-screen-revisions__revision-item::after {
3862 - position: absolute;
3863 - content: "\a";
3864 - display: block;
3865 -}
3866 -
3867 -.global-styles-ui-screen-revisions__revision-item::before {
3868 - background: #ddd;
3869 - border-radius: 50%;
3870 - height: 8px;
3871 - width: 8px;
3872 - top: 18px;
3873 - right: 17px;
3874 - transform: translate(50%, -50%);
3875 - z-index: 1;
3876 - border: 4px solid transparent;
3877 -}
3878 -
3879 -.global-styles-ui-screen-revisions__revision-item[aria-selected=true] {
3880 - border-radius: 2px;
3881 - outline: 3px solid transparent;
3882 - outline-offset: -2px;
3883 - color: var(--wp-admin-theme-color);
3884 - background: rgba(var(--wp-admin-theme-color--rgb), 0.04);
3885 -}
3886 -
3887 -.global-styles-ui-screen-revisions__revision-item[aria-selected=true] .global-styles-ui-screen-revisions__date {
3888 - color: var(--wp-admin-theme-color);
3889 -}
3890 -
3891 -.global-styles-ui-screen-revisions__revision-item[aria-selected=true]::before {
3892 - background: var(--wp-admin-theme-color);
3893 -}
3894 -
3895 -.global-styles-ui-screen-revisions__revision-item[aria-selected=true] .global-styles-ui-screen-revisions__changes > li,
3896 -.global-styles-ui-screen-revisions__revision-item[aria-selected=true] .global-styles-ui-screen-revisions__meta {
3897 - color: #1e1e1e;
3898 -}
3899 -
3900 -.global-styles-ui-screen-revisions__revision-item::after {
3901 - height: 100%;
3902 - right: 16px;
3903 - top: 0;
3904 - width: 0;
3905 - border: 0.5px solid #ddd;
3906 -}
3907 -
3908 -.global-styles-ui-screen-revisions__revision-item:first-child::after {
3909 - top: 18px;
3910 -}
3911 -
3912 -.global-styles-ui-screen-revisions__revision-item:last-child::after {
3913 - height: 18px;
3914 -}
3915 -
3916 -.global-styles-ui-screen-revisions__revision-item-wrapper {
3917 - display: block;
3918 - padding: 12px 40px 4px 12px;
3919 -}
3920 -
3921 -.global-styles-ui-screen-revisions__apply-button.is-primary,
3922 -.global-styles-ui-screen-revisions__active-badge {
3923 - align-self: flex-start;
3924 - margin: 0 40px 12px 12px;
3925 -}
3926 -
3927 -.global-styles-ui-screen-revisions__changes,
3928 -.global-styles-ui-screen-revisions__meta {
3929 - color: #757575;
3892 +.global-styles-ui-screen-revisions__date {
3893 + text-transform: uppercase;
3894 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
3930 3895 font-size: 12px;
3931 3896 }
3932 3897
3933 3898 .global-styles-ui-screen-revisions__description {
@@ -3936,11 +3901,11 @@
3936 3901 align-items: flex-start;
3937 3902 gap: 8px;
3938 3903 }
3939 3904
3940 -.global-styles-ui-screen-revisions__description .global-styles-ui-screen-revisions__date {
3941 - text-transform: uppercase;
3942 - 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;
3943 3908 font-size: 12px;
3944 3909 }
3945 3910
3946 3911 .global-styles-ui-screen-revisions__meta {
@@ -3946,11 +3911,10 @@
3946 3911 .global-styles-ui-screen-revisions__meta {
3947 3912 display: flex;
3948 3913 justify-content: start;
3949 3914 width: 100%;
3950 - align-items: flex-start;
3915 + align-items: center;
3951 3916 text-align: right;
3952 - margin-bottom: 4px;
3953 3917 }
3954 3918
3955 3919 .global-styles-ui-screen-revisions__meta img {
3956 3920 width: 16px;
@@ -3958,16 +3922,12 @@
3958 3922 border-radius: 100%;
3959 3923 margin-left: 8px;
3960 3924 }
3961 3925
3962 -.global-styles-ui-screen-revisions__loading {
3963 - margin: 24px auto !important;
3964 -}
3965 -
3966 3926 .global-styles-ui-screen-revisions__changes {
3967 3927 text-align: right;
3968 3928 line-height: 1.4;
3969 - margin-right: 12px;
3929 + margin: 0 12px 0 0;
3970 3930 list-style: disc;
3971 3931 }
3972 3932
3973 3933 .global-styles-ui-screen-revisions__changes li {
@@ -3973,47 +3933,8 @@
3973 3933 .global-styles-ui-screen-revisions__changes li {
3974 3934 margin-bottom: 4px;
3975 3935 }
3976 3936
3977 -.global-styles-ui-screen-revisions__pagination.global-styles-ui-screen-revisions__pagination {
3978 - justify-content: space-between;
3979 - gap: 2px;
3980 -}
3981 -
3982 -.global-styles-ui-screen-revisions__pagination.global-styles-ui-screen-revisions__pagination .edit-site-pagination__total {
3983 - position: absolute;
3984 - right: -1000px;
3985 - height: 1px;
3986 - margin: -1px;
3987 - overflow: hidden;
3988 -}
3989 -
3990 -.global-styles-ui-screen-revisions__pagination.global-styles-ui-screen-revisions__pagination .components-text {
3991 - font-size: 12px;
3992 - will-change: opacity;
3993 -}
3994 -
3995 -.global-styles-ui-screen-revisions__pagination.global-styles-ui-screen-revisions__pagination .components-button.is-tertiary {
3996 - color: #1e1e1e;
3997 -}
3998 -
3999 -.global-styles-ui-screen-revisions__pagination.global-styles-ui-screen-revisions__pagination .components-button.is-tertiary:disabled,
4000 -.global-styles-ui-screen-revisions__pagination.global-styles-ui-screen-revisions__pagination .components-button.is-tertiary[aria-disabled=true] {
4001 - color: #949494;
4002 -}
4003 -
4004 -.global-styles-ui-screen-revisions__footer {
4005 - height: 56px;
4006 - z-index: 1;
4007 - position: sticky;
4008 - min-width: 100%;
4009 - bottom: 0;
4010 - background: #fff;
4011 - padding: 12px;
4012 - border-top: 1px solid #ddd;
4013 - box-sizing: border-box;
4014 -}
4015 -
4016 3937 .global-styles-ui-variations_item {
4017 3938 box-sizing: border-box;
4018 3939 cursor: var(--wpds-cursor-control, pointer);
4019 3940 }
@@ -4094,13 +4015,34 @@
4094 4015 justify-content: center;
4095 4016 border-radius: 2px;
4096 4017 }
4097 4018
4019 +.global-styles-ui-block-types-filter {
4020 + margin-bottom: 12px;
4021 + padding: 0 16px;
4022 +}
4023 +
4098 4024 .global-styles-ui-block-types-search {
4099 - margin-bottom: 10px;
4100 - padding: 0 16px;
4025 + flex-grow: 1;
4101 4026 }
4102 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-right: auto;
4042 + width: 6px;
4043 +}
4044 +
4103 4045 .global-styles-ui-screen-typography__font-variants-count {
4104 4046 color: #757575;
4105 4047 }
4106 4048
@@ -4142,10 +4084,20 @@
4142 4084
4143 4085 .global-styles-ui__color-indicator-wrapper {
4144 4086 height: 24px;
4145 4087 flex-shrink: 0;
4088 + display: flex;
4089 + align-items: center;
4146 4090 }
4147 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 +
4148 4100 .global-styles-ui__shadows-panel__options-container,
4149 4101 .global-styles-ui__typography-panel__options-container {
4150 4102 height: 24px;
4151 4103 }
@@ -4157,9 +4109,10 @@
4157 4109 border-radius: 2px;
4158 4110 overflow: hidden;
4159 4111 }
4160 4112
4161 -.global-styles-ui__shadow-preview-panel {
4113 +.global-styles-ui__shadow-preview-panel,
4114 +.global-styles-ui__text-shadow-preview-panel {
4162 4115 height: 144px;
4163 4116 border: #ddd 1px solid;
4164 4117 border-radius: 2px;
4165 4118 overflow: auto;
@@ -4167,9 +4120,9 @@
4167 4120 background-position: 0 0, 8px 8px;
4168 4121 background-size: 16px 16px;
4169 4122 }
4170 4123
4171 -.global-styles-ui__shadow-preview-panel .global-styles-ui__shadow-preview-block {
4124 +.global-styles-ui__shadow-preview-block {
4172 4125 border: #ddd 1px solid;
4173 4126 border-radius: 2px;
4174 4127 background-color: #fff;
4175 4128 width: 60%;
@@ -4175,22 +4128,44 @@
4175 4128 width: 60%;
4176 4129 height: 60px;
4177 4130 }
4178 4131
4179 -.global-styles-ui__shadow-editor__dropdown-content {
4132 +.global-styles-ui__text-shadow-preview-panel {
4133 + margin-block: -8px 16px;
4134 +}
4135 +
4136 +.global-styles-ui__text-shadow-preview-text {
4137 + font-size: 24px;
4138 +}
4139 +
4140 +.global-styles-ui__text-shadow-editor__header {
4141 + margin-block-end: 8px;
4142 +}
4143 +
4144 +.global-styles-ui__text-shadow-editor__inputs {
4145 + display: grid;
4146 + grid-template-columns: repeat(2, 1fr);
4147 + gap: 16px;
4148 +}
4149 +
4150 +.global-styles-ui__shadow-editor__dropdown-content,
4151 +.global-styles-ui__text-shadow-editor__dropdown-content {
4180 4152 width: 280px;
4181 4153 }
4182 4154
4183 -.global-styles-ui__shadow-editor-panel {
4155 +.global-styles-ui__shadow-editor-panel,
4156 +.global-styles-ui__text-shadow-editor-panel {
4184 4157 margin-bottom: 4px;
4185 4158 }
4186 4159
4187 -.global-styles-ui__shadow-editor__dropdown {
4160 +.global-styles-ui__shadow-editor__dropdown,
4161 +.global-styles-ui__text-shadow-editor__dropdown {
4188 4162 width: 100%;
4189 4163 position: relative;
4190 4164 }
4191 4165
4192 -.global-styles-ui__shadow-editor__dropdown-toggle {
4166 +.global-styles-ui__shadow-editor__dropdown-toggle,
4167 +.global-styles-ui__text-shadow-editor__dropdown-toggle {
4193 4168 width: 100%;
4194 4169 height: auto;
4195 4170 padding-top: 8px;
4196 4171 padding-bottom: 8px;
@@ -4197,14 +4172,16 @@
4197 4172 text-align: right;
4198 4173 border-radius: inherit;
4199 4174 }
4200 4175
4201 -.global-styles-ui__shadow-editor__dropdown-toggle.is-open {
4176 +.global-styles-ui__shadow-editor__dropdown-toggle.is-open,
4177 +.global-styles-ui__text-shadow-editor__dropdown-toggle.is-open {
4202 4178 background: #f0f0f0;
4203 4179 color: var(--wp-admin-theme-color);
4204 4180 }
4205 4181
4206 -.global-styles-ui__shadow-editor__remove-button {
4182 +.global-styles-ui__shadow-editor__remove-button,
4183 +.global-styles-ui__text-shadow-editor__remove-button {
4207 4184 position: absolute;
4208 4185 left: 8px;
4209 4186 top: 8px;
4210 4187 opacity: 0;
@@ -4209,18 +4186,19 @@
4209 4186 top: 8px;
4210 4187 opacity: 0;
4211 4188 }
4212 4189
4213 -.global-styles-ui__shadow-editor__remove-button.global-styles-ui__shadow-editor__remove-button {
4214 - border: none;
4215 -}
4216 -
4217 -.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 {
4190 +.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,
4191 +.global-styles-ui__shadow-editor__dropdown-toggle:hover + .global-styles-ui__text-shadow-editor__remove-button,
4192 +.global-styles-ui__text-shadow-editor__dropdown-toggle:hover + .global-styles-ui__text-shadow-editor__remove-button,
4193 +.global-styles-ui__text-shadow-editor__remove-button:focus,
4194 +.global-styles-ui__text-shadow-editor__remove-button:hover {
4218 4195 opacity: 1;
4219 4196 }
4220 4197
4221 4198 @media (hover: none) {
4222 - .global-styles-ui__shadow-editor__remove-button {
4199 + .global-styles-ui__shadow-editor__remove-button,
4200 + .global-styles-ui__text-shadow-editor__remove-button {
4223 4201 opacity: 1;
4224 4202 }
4225 4203 }
4226 4204 .global-styles-ui-screen-css {
@@ -4304,9 +4282,10 @@
4304 4282 clip-path: border-box;
4305 4283 }
4306 4284
4307 4285 .global-styles-ui-color-palette-panel,
4308 -.global-styles-ui-gradient-palette-panel {
4286 +.global-styles-ui-gradient-palette-panel,
4287 +.global-styles-ui-duotone-palette-panel {
4309 4288 padding: 16px;
4310 4289 }
4311 4290
4312 4291 .edit-site-custom-template-modal__contents-wrapper {
@@ -4315,13 +4294,8 @@
4315 4294 }
4316 4295 .edit-site-custom-template-modal__contents-wrapper > * {
4317 4296 width: 100%;
4318 4297 }
4319 -.edit-site-custom-template-modal__contents-wrapper__suggestions_list {
4320 - margin-right: -12px;
4321 - margin-left: -12px;
4322 - width: calc(100% + 24px);
4323 -}
4324 4298 .edit-site-custom-template-modal__contents > .components-button {
4325 4299 height: auto;
4326 4300 justify-content: center;
4327 4301 }
@@ -4331,10 +4305,14 @@
4331 4305 }
4332 4306 }
4333 4307 @media (min-width: 600px) {
4334 4308 .edit-site-custom-template-modal .edit-site-custom-template-modal__suggestions_list {
4335 - max-height: 224px;
4336 4309 overflow-y: auto;
4310 + max-height: calc(224px + 4 * var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)));
4311 + padding: calc(2 * var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)));
4312 + margin-inline: calc(-2 * var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)));
4313 + width: calc(100% + 4 * var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)));
4314 + scroll-padding-block: calc(2 * var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)));
4337 4315 }
4338 4316 }
4339 4317 .edit-site-custom-template-modal .edit-site-custom-template-modal__suggestions_list__list-item {
4340 4318 display: block;
@@ -4360,11 +4338,8 @@
4360 4338 }
4361 4339 .edit-site-custom-template-modal .edit-site-custom-template-modal__suggestions_list__list-item:focus {
4362 4340 background-color: #f0f0f0;
4363 4341 }
4364 -.edit-site-custom-template-modal .edit-site-custom-template-modal__suggestions_list__list-item:focus:not(:disabled) {
4365 - box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color) inset;
4366 -}
4367 4342 .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 {
4368 4343 overflow: hidden;
4369 4344 text-overflow: ellipsis;
4370 4345 display: block;
@@ -4396,14 +4371,10 @@
4396 4371 }
4397 4372 }
4398 4373 .edit-site-add-new-template__modal .edit-site-add-new-template__template-button svg,
4399 4374 .edit-site-add-new-template__modal .edit-site-add-new-template__custom-template-button svg {
4400 - fill: var(--wp-admin-theme-color);
4375 + color: var(--wp-admin-theme-color);
4401 4376 }
4402 -.edit-site-add-new-template__modal .edit-site-add-new-template__custom-template-button .edit-site-add-new-template__template-name {
4403 - flex-grow: 1;
4404 - align-items: flex-start;
4405 -}
4406 4377 .edit-site-add-new-template__modal .edit-site-add-new-template__template-icon {
4407 4378 padding: 8px;
4408 4379 background: rgba(var(--wp-admin-theme-color--rgb), 0.04);
4409 4380 border-radius: 100%;
@@ -4417,9 +4388,8 @@
4417 4388 display: flex;
4418 4389 flex-direction: column;
4419 4390 border: 1px solid #ddd;
4420 4391 justify-content: center;
4421 - outline: 1px solid transparent;
4422 4392 }
4423 4393 .edit-site-custom-template-modal__contents > .components-button span:first-child,
4424 4394 .edit-site-add-new-template__template-list__contents > .components-button span:first-child {
4425 4395 color: #1e1e1e;
@@ -4437,14 +4407,8 @@
4437 4407 .edit-site-custom-template-modal__contents > .components-button:hover span,
4438 4408 .edit-site-add-new-template__template-list__contents > .components-button:hover span {
4439 4409 color: var(--wp-admin-theme-color);
4440 4410 }
4441 -.edit-site-custom-template-modal__contents > .components-button:focus,
4442 -.edit-site-add-new-template__template-list__contents > .components-button:focus {
4443 - box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
4444 - border-color: transparent;
4445 - outline: 3px solid transparent;
4446 -}
4447 4411 .edit-site-custom-template-modal__contents > .components-button:focus span:first-child,
4448 4412 .edit-site-add-new-template__template-list__contents > .components-button:focus span:first-child {
4449 4413 color: var(--wp-admin-theme-color);
4450 4414 }
@@ -4456,10 +4420,12 @@
4456 4420 }
4457 4421
4458 4422 .edit-site-add-new-template__template-list__contents > .components-button {
4459 4423 height: 100%;
4424 + padding: 16px;
4460 4425 text-align: start;
4461 4426 align-items: flex-start;
4427 + justify-content: flex-start;
4462 4428 }
4463 4429
4464 4430 .edit-site-visual-editor__editor-canvas.is-focused {
4465 4431 outline: calc(2 * var(--wp-admin-border-width-focus)) solid var(--wp-admin-theme-color);
@@ -4466,8 +4432,9 @@
4466 4432 outline-offset: calc(-2 * var(--wp-admin-border-width-focus));
4467 4433 }
4468 4434
4469 4435 .edit-site-canvas-loader {
4436 + --wp-components-color-foreground: var(--color);
4470 4437 width: 100%;
4471 4438 height: 100%;
4472 4439 display: flex;
4473 4440 position: absolute;
@@ -4482,11 +4449,8 @@
4482 4449 animation: 0.5s ease 0.2s edit-site-canvas-loader__fade-in-animation;
4483 4450 animation-fill-mode: forwards;
4484 4451 }
4485 4452 }
4486 -.edit-site-canvas-loader > div {
4487 - width: 160px;
4488 -}
4489 4453
4490 4454 @keyframes edit-site-canvas-loader__fade-in-animation {
4491 4455 from {
4492 4456 opacity: 0;
@@ -4553,8 +4517,9 @@
4553 4517
4554 4518 .edit-site-page-patterns-dataviews .dataviews-view-grid__badge-fields .dataviews-view-grid__field-value:has(.fields-field__pattern-sync-status-fully) {
4555 4519 background: rgba(var(--wp-block-synced-color--rgb), 0.04);
4556 4520 color: var(--wp-block-synced-color);
4521 + border-color: currentColor;
4557 4522 }
4558 4523
4559 4524 .dataviews-action-modal__duplicate-pattern [role=dialog] > [role=document] {
4560 4525 width: 350px;
@@ -4669,10 +4634,9 @@
4669 4634 }
4670 4635 .edit-site-welcome-guide__image > img {
4671 4636 display: block;
4672 4637 max-width: 100%;
4673 - -o-object-fit: cover;
4674 - object-fit: cover;
4638 + object-fit: cover;
4675 4639 }
4676 4640 .edit-site-welcome-guide__heading {
4677 4641 font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
4678 4642 font-size: 24px;
@@ -4693,9 +4657,9 @@
4693 4657 margin: 0 4px;
4694 4658 vertical-align: text-top;
4695 4659 }
4696 4660 .edit-site-welcome-guide .components-button:hover svg {
4697 - fill: #fff;
4661 + color: #fff;
4698 4662 }
4699 4663
4700 4664 .edit-site-layout {
4701 4665 height: 100%;
@@ -4893,9 +4857,9 @@
4893 4857 }
4894 4858
4895 4859 .edit-site-layout__snackbar {
4896 4860 position: fixed;
4897 - bottom: 24px;
4861 + bottom: var(--wpds-dimension-size-md, 32px);
4898 4862 right: 0;
4899 4863 left: 0;
4900 4864 padding-inline: 16px;
4901 4865 box-sizing: border-box;
@@ -5039,14 +5003,11 @@
5039 5003 padding: 8px 16px 8px 6px;
5040 5004 border: none;
5041 5005 min-height: 40px;
5042 5006 }
5043 -.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] {
5007 +.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 {
5044 5008 color: var(--wpds-color-foreground-interactive-neutral-weak-active, #1e1e1e);
5045 5009 }
5046 -.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 {
5047 - fill: var(--wpds-color-foreground-interactive-neutral-weak-active, #1e1e1e);
5048 -}
5049 5010 .edit-site-sidebar-navigation-item.components-item[aria-current=true] {
5050 5011 background: var(--wpds-color-background-interactive-neutral-weak-active, #ededed);
5051 5012 color: var(--wpds-color-foreground-interactive-neutral-weak-active, #1e1e1e);
5052 5013 font-weight: var(--wpds-typography-font-weight-emphasis, 600);
@@ -5054,11 +5015,8 @@
5054 5015 .edit-site-sidebar-navigation-item.components-item:focus-visible {
5055 5016 --wp-components-color-accent: var(--wpds-color-stroke-focus, var(--wp-admin-theme-color, #3858e9));
5056 5017 transform: translateZ(0);
5057 5018 }
5058 -.edit-site-sidebar-navigation-item.components-item .edit-site-sidebar-navigation-item__drilldown-indicator {
5059 - fill: var(--wpds-color-foreground-interactive-neutral-weak, #707070);
5060 -}
5061 5019 .edit-site-sidebar-navigation-item.components-item.with-suffix {
5062 5020 padding-left: 16px;
5063 5021 }
5064 5022
@@ -5268,13 +5226,8 @@
5268 5226 margin-right: -16px;
5269 5227 margin-left: -16px;
5270 5228 }
5271 5229
5272 -.edit-site-sidebar-navigation-screen-templates-browse {
5273 - margin-right: -16px;
5274 - margin-left: -16px;
5275 -}
5276 -
5277 5230 .edit-site-sidebar-dataviews {
5278 5231 margin-right: -16px;
5279 5232 margin-left: -16px;
5280 5233 }
@@ -5382,9 +5335,8 @@
5382 5335 }
5383 5336 body:has(.edit-site-resizable-frame__inner.is-resizing) {
5384 5337 cursor: col-resize;
5385 5338 -webkit-user-select: none;
5386 - -moz-user-select: none;
5387 5339 user-select: none;
5388 5340 }
5389 5341
5390 5342 .edit-site-resizable-frame__inner.is-resizing::before {
@@ -5468,8 +5420,14 @@
5468 5420 .edit-site-styles .edit-site-sidebar-button {
5469 5421 color: var(--wpds-color-foreground-interactive-neutral, #1e1e1e);
5470 5422 }
5471 5423
5424 +.edit-site-styles__content {
5425 + flex-grow: 1;
5426 + min-height: 0;
5427 + background-color: var(--wpds-color-background-surface-neutral-strong, #fff);
5428 +}
5429 +
5472 5430 .show-icon-labels .edit-site-styles__header-actions .components-button.has-icon {
5473 5431 width: auto;
5474 5432 padding: 0 var(--wpds-dimension-padding-xs, 4px);
5475 5433 }
@@ -5480,8 +5438,16 @@
5480 5438 content: attr(aria-label);
5481 5439 font-size: var(--wpds-typography-font-size-sm, 12px);
5482 5440 }
5483 5441
5442 +.edit-site-sidebar-identity__form {
5443 + flex-grow: 1;
5444 + min-height: 0;
5445 + overflow: auto;
5446 + background-color: var(--wpds-color-background-surface-neutral-strong, #fff);
5447 + padding: var(--wpds-dimension-padding-lg, 16px) var(--wpds-dimension-padding-2xl, 24px);
5448 +}
5449 +
5484 5450 ::view-transition-image-pair(root) {
5485 5451 isolation: auto;
5486 5452 }
5487 5453
@@ -5543,11 +5509,12 @@
5543 5509 }
5544 5510 @media (min-width: 782px) {
5545 5511 body.js.site-editor-php:has(.editor-editor-interface.is-distraction-free) {
5546 5512 --wp-admin--admin-bar--height: 0px;
5513 + --wp-editor-admin-bar-display: none;
5547 5514 }
5548 - body.js.site-editor-php:has(.editor-editor-interface.is-distraction-free) #wpadminbar {
5549 - display: none;
5515 + body.js.site-editor-php #wpadminbar {
5516 + display: var(--wp-editor-admin-bar-display, block);
5550 5517 }
5551 5518 }
5552 5519
5553 5520 .edit-site {