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/editor/style.css +1948 -972 23.1.1 → 24.1.0 View file →
@@ -68,8 +68,14 @@
68 68 /**
69 69 * Focus styles.
70 70 */
71 71 /**
72 + * Standard focus rings for the WordPress Design System.
73 + *
74 + * Apply `outset-ring__focus` inside the relevant pseudo-class at the call site,
75 + * e.g. `&:focus { @include outset-ring__focus(); }`.
76 + */
77 +/**
72 78 * Applies editor left position to the selector passed as argument
73 79 */
74 80 /**
75 81 * Styles that are reused verbatim in a few places
@@ -186,8 +192,14 @@
186 192 /**
187 193 * Focus styles.
188 194 */
189 195 /**
196 + * Standard focus rings for the WordPress Design System.
197 + *
198 + * Apply `outset-ring__focus` inside the relevant pseudo-class at the call site,
199 + * e.g. `&:focus { @include outset-ring__focus(); }`.
200 + */
201 +/**
190 202 * Applies editor left position to the selector passed as argument
191 203 */
192 204 /**
193 205 * Styles that are reused verbatim in a few places
@@ -210,8 +222,9 @@
210 222 background: #fff;
211 223 color: #1e1e1e;
212 224 height: 100%;
213 225 overflow: auto;
226 + width: 100vw;
214 227 }
215 228
216 229 @media (min-width: 782px) {
217 230 .interface-complementary-area {
@@ -239,9 +252,9 @@
239 252 }
240 253
241 254 .interface-complementary-area h2 {
242 255 font-size: 13px;
243 - font-weight: 499;
256 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
244 257 color: #1e1e1e;
245 258 margin-bottom: 1.5em;
246 259 }
247 260
@@ -247,9 +260,9 @@
247 260
248 261 .interface-complementary-area h3 {
249 262 font-size: 11px;
250 263 text-transform: uppercase;
251 - font-weight: 499;
264 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
252 265 color: #1e1e1e;
253 266 margin-bottom: 1.5em;
254 267 }
255 268
@@ -281,14 +294,9 @@
281 294 height: 100%;
282 295 }
283 296
284 297 @media (min-width: 782px) {
285 - body.js.is-fullscreen-mode {
286 - margin-top: -32px;
287 - height: calc(100% + 32px);
288 - }
289 - body.js.is-fullscreen-mode #adminmenumain,
290 - body.js.is-fullscreen-mode #wpadminbar {
298 + body.js.is-fullscreen-mode #adminmenumain {
291 299 display: none;
292 300 }
293 301 body.js.is-fullscreen-mode #wpcontent,
294 302 body.js.is-fullscreen-mode #wpfooter {
@@ -322,9 +330,9 @@
322 330 .interface-interface-skeleton {
323 331 top: 32px;
324 332 }
325 333 .is-fullscreen-mode .interface-interface-skeleton {
326 - top: 0;
334 + top: var(--wp-admin--admin-bar--height, 0);
327 335 }
328 336 }
329 337 .interface-interface-skeleton__editor {
330 338 display: flex;
@@ -377,9 +385,9 @@
377 385 }
378 386
379 387 @media (min-width: 782px) {
380 388 .has-footer .interface-interface-skeleton__body {
381 - padding-bottom: 25px;
389 + padding-bottom: calc(var(--wpds-dimension-size-md, 32px) + 1px);
382 390 }
383 391 }
384 392 .interface-interface-skeleton__content {
385 393 flex-grow: 1;
@@ -466,9 +474,9 @@
466 474 .interface-interface-skeleton__footer .block-editor-block-breadcrumb {
467 475 z-index: 30;
468 476 display: flex;
469 477 background: #fff;
470 - height: 24px;
478 + height: var(--wpds-dimension-size-md, 32px);
471 479 align-items: center;
472 480 font-size: 13px;
473 481 padding: 0 18px;
474 482 }
@@ -504,9 +512,9 @@
504 512 border-left: 1px solid #ddd;
505 513 top: 32px;
506 514 }
507 515 .is-fullscreen-mode .is-entity-save-view-open .interface-interface-skeleton__actions:focus, .is-fullscreen-mode .is-entity-save-view-open .interface-interface-skeleton__actions:focus-within {
508 - top: 0;
516 + top: var(--wp-admin--admin-bar--height, 0);
509 517 }
510 518 }
511 519 .interface-pinned-items {
512 520 display: flex;
@@ -604,8 +612,14 @@
604 612 /**
605 613 * Focus styles.
606 614 */
607 615 /**
616 + * Standard focus rings for the WordPress Design System.
617 + *
618 + * Apply `outset-ring__focus` inside the relevant pseudo-class at the call site,
619 + * e.g. `&:focus { @include outset-ring__focus(); }`.
620 + */
621 +/**
608 622 * Applies editor left position to the selector passed as argument
609 623 */
610 624 /**
611 625 * Styles that are reused verbatim in a few places
@@ -639,9 +653,9 @@
639 653 }
640 654
641 655 .font-library-modal .font-library__subtitle {
642 656 text-transform: uppercase;
643 - font-weight: 499;
657 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
644 658 font-size: 11px;
645 659 }
646 660
647 661 .font-library-modal__tab-panel {
@@ -679,9 +693,9 @@
679 693 .font-library__footer {
680 694 position: absolute;
681 695 width: 100%;
682 696 bottom: 0;
683 - border-top: 1px solid #ddd;
697 + border-top: 1px solid var(--wpds-color-stroke-surface-neutral, #dbdbdb);
684 698 padding: 24px;
685 699 background-color: #fff;
686 700 box-sizing: border-box;
687 701 flex-grow: 0 !important;
@@ -690,22 +704,26 @@
690 704 }
691 705
692 706 .font-library__page-selection {
693 707 font-size: 11px;
694 - font-weight: 499;
708 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
695 709 text-transform: uppercase;
696 710 }
697 711
698 712 @media (min-width: 600px) {
699 - .font-library__page-selection .font-library__page-selection-trigger {
713 + .font-library__page-selection .components-select-control__input {
700 714 font-size: 11px !important;
701 - font-weight: 499;
715 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
702 716 }
703 717 }
718 +.font-library__search {
719 + width: 240px;
720 +}
721 +
704 722 .font-library__fonts-title {
705 723 text-transform: uppercase;
706 724 font-size: 11px;
707 - font-weight: 600;
725 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
708 726 margin-top: 0;
709 727 margin-bottom: 0;
710 728 }
711 729
@@ -719,11 +737,15 @@
719 737 .font-library__fonts-list-item {
720 738 margin-bottom: 0;
721 739 }
722 740
741 +.font-library__font-demo {
742 + position: relative;
743 +}
744 +
723 745 .font-library__font-card {
724 746 box-sizing: border-box;
725 - border: 1px solid #ddd;
747 + border: 1px solid var(--wpds-color-stroke-surface-neutral, #dbdbdb);
726 748 width: 100%;
727 749 height: auto !important;
728 750 padding: 16px;
729 751 margin-top: -1px; /* To collapse the margin with the previous element */
@@ -737,13 +759,13 @@
737 759 position: relative;
738 760 }
739 761
740 762 .font-library__font-card .font-library__font-card__name {
741 - font-weight: bold;
763 + font-weight: 700;
742 764 }
743 765
744 766 .font-library__font-card .font-library__font-card__count {
745 - color: #757575;
767 + color: var(--wpds-color-foreground-content-neutral-weak, #707070);
746 768 }
747 769
748 770 .font-library__font-card .font-library__font-variant_demo-image {
749 771 display: block;
@@ -750,8 +772,25 @@
750 772 height: 24px;
751 773 width: auto;
752 774 }
753 775
776 +@media not (prefers-reduced-motion) {
777 + .font-library__font-card .font-library__font-variant_demo-image {
778 + transition: opacity var(--wpds-motion-duration-lg, 300ms) var(--wpds-motion-easing-subtle, cubic-bezier(0.15, 0, 0.15, 1));
779 + }
780 +}
781 +.font-library__font-card .font-library__font-variant_demo-image.is-loading {
782 + position: absolute;
783 + top: 0;
784 + left: 0;
785 + opacity: 0;
786 +}
787 +
788 +.font-library__font-card .font-library__font-variant-demo-skeleton {
789 + height: 24px;
790 + border-radius: var(--wpds-border-radius-sm, 2px);
791 +}
792 +
754 793 .font-library__font-card .font-library__font-variant_demo-text {
755 794 white-space: nowrap;
756 795 flex-shrink: 0;
757 796 }
@@ -763,9 +802,9 @@
763 802 }
764 803 .font-library-modal__tablist-container {
765 804 position: sticky;
766 805 top: 0;
767 - border-bottom: 1px solid #ddd;
806 + border-bottom: 1px solid var(--wpds-color-stroke-surface-neutral, #dbdbdb);
768 807 background: #fff;
769 808 z-index: 1;
770 809 }
771 810
@@ -786,9 +825,9 @@
786 825 width: 80%;
787 826 }
788 827
789 828 .font-library__local-fonts .font-library__upload-area__text {
790 - color: #757575;
829 + color: var(--wpds-color-foreground-content-neutral-weak, #707070);
791 830 }
792 831
793 832 .font-library__google-fonts-confirm {
794 833 display: flex;
@@ -823,115 +862,22 @@
823 862 .font-library__select-all .components-checkbox-control__label {
824 863 padding-left: 16px;
825 864 }
826 865
827 -.global-styles-ui-pagination .components-button.is-tertiary {
828 - width: 32px;
829 - height: 32px;
830 - justify-content: center;
831 -}
832 -
833 -.global-styles-ui-screen-revisions__revisions-list {
834 - list-style: none;
835 - margin: 0 16px 16px 16px;
836 - flex-grow: 1;
837 -}
838 -
839 -.global-styles-ui-screen-revisions__revisions-list li {
840 - margin-bottom: 0;
841 -}
842 -
843 -.global-styles-ui-screen-revisions__revision-item {
844 - position: relative;
845 - cursor: var(--wpds-cursor-control, pointer);
866 +.global-styles-ui-screen-revisions {
846 867 display: flex;
847 868 flex-direction: column;
869 + flex-grow: 1;
870 + min-height: 0;
848 871 }
849 872
850 -.global-styles-ui-screen-revisions__revision-item[role=option]:active, .global-styles-ui-screen-revisions__revision-item[role=option]:focus {
851 - box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
852 - outline: 2px solid transparent;
873 +.global-styles-ui-screen-revisions__actions {
874 + margin-inline-start: auto;
853 875 }
854 876
855 -.global-styles-ui-screen-revisions__revision-item:hover {
856 - background: rgba(var(--wp-admin-theme-color--rgb), 0.04);
857 -}
858 -
859 -.global-styles-ui-screen-revisions__revision-item:hover .global-styles-ui-screen-revisions__date {
860 - color: var(--wp-admin-theme-color);
861 -}
862 -
863 -.global-styles-ui-screen-revisions__revision-item::before, .global-styles-ui-screen-revisions__revision-item::after {
864 - position: absolute;
865 - content: "\a";
866 - display: block;
867 -}
868 -
869 -.global-styles-ui-screen-revisions__revision-item::before {
870 - background: #ddd;
871 - border-radius: 50%;
872 - height: 8px;
873 - width: 8px;
874 - top: 18px;
875 - left: 17px;
876 - transform: translate(-50%, -50%);
877 - z-index: 1;
878 - border: 4px solid transparent;
879 -}
880 -
881 -.global-styles-ui-screen-revisions__revision-item[aria-selected=true] {
882 - border-radius: 2px;
883 - outline: 3px solid transparent;
884 - outline-offset: -2px;
885 - color: var(--wp-admin-theme-color);
886 - background: rgba(var(--wp-admin-theme-color--rgb), 0.04);
887 -}
888 -
889 -.global-styles-ui-screen-revisions__revision-item[aria-selected=true] .global-styles-ui-screen-revisions__date {
890 - color: var(--wp-admin-theme-color);
891 -}
892 -
893 -.global-styles-ui-screen-revisions__revision-item[aria-selected=true]::before {
894 - background: var(--wp-admin-theme-color);
895 -}
896 -
897 -.global-styles-ui-screen-revisions__revision-item[aria-selected=true] .global-styles-ui-screen-revisions__changes > li,
898 -.global-styles-ui-screen-revisions__revision-item[aria-selected=true] .global-styles-ui-screen-revisions__meta,
899 -.global-styles-ui-screen-revisions__revision-item[aria-selected=true] .global-styles-ui-screen-revisions__applied-text {
900 - color: #1e1e1e;
901 -}
902 -
903 -.global-styles-ui-screen-revisions__revision-item::after {
904 - height: 100%;
905 - left: 16px;
906 - top: 0;
907 - width: 0;
908 - border: 0.5px solid #ddd;
909 -}
910 -
911 -.global-styles-ui-screen-revisions__revision-item:first-child::after {
912 - top: 18px;
913 -}
914 -
915 -.global-styles-ui-screen-revisions__revision-item:last-child::after {
916 - height: 18px;
917 -}
918 -
919 -.global-styles-ui-screen-revisions__revision-item-wrapper {
920 - display: block;
921 - padding: 12px 12px 4px 40px;
922 -}
923 -
924 -.global-styles-ui-screen-revisions__apply-button.is-primary,
925 -.global-styles-ui-screen-revisions__applied-text {
926 - align-self: flex-start;
927 - margin: 4px 12px 12px 40px;
928 -}
929 -
930 -.global-styles-ui-screen-revisions__changes,
931 -.global-styles-ui-screen-revisions__meta,
932 -.global-styles-ui-screen-revisions__applied-text {
933 - color: #757575;
877 +.global-styles-ui-screen-revisions__date {
878 + text-transform: uppercase;
879 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
934 880 font-size: 12px;
935 881 }
936 882
937 883 .global-styles-ui-screen-revisions__description {
@@ -940,11 +886,11 @@
940 886 align-items: flex-start;
941 887 gap: 8px;
942 888 }
943 889
944 -.global-styles-ui-screen-revisions__description .global-styles-ui-screen-revisions__date {
945 - text-transform: uppercase;
946 - font-weight: 600;
890 +.global-styles-ui-screen-revisions__changes,
891 +.global-styles-ui-screen-revisions__meta {
892 + color: #2f2f2f;
947 893 font-size: 12px;
948 894 }
949 895
950 896 .global-styles-ui-screen-revisions__meta {
@@ -950,11 +896,10 @@
950 896 .global-styles-ui-screen-revisions__meta {
951 897 display: flex;
952 898 justify-content: start;
953 899 width: 100%;
954 - align-items: flex-start;
900 + align-items: center;
955 901 text-align: left;
956 - margin-bottom: 4px;
957 902 }
958 903
959 904 .global-styles-ui-screen-revisions__meta img {
960 905 width: 16px;
@@ -962,16 +907,12 @@
962 907 border-radius: 100%;
963 908 margin-right: 8px;
964 909 }
965 910
966 -.global-styles-ui-screen-revisions__loading {
967 - margin: 24px auto !important;
968 -}
969 -
970 911 .global-styles-ui-screen-revisions__changes {
971 912 text-align: left;
972 913 line-height: 1.4;
973 - margin-left: 12px;
914 + margin: 0 0 0 12px;
974 915 list-style: disc;
975 916 }
976 917
977 918 .global-styles-ui-screen-revisions__changes li {
@@ -977,47 +918,8 @@
977 918 .global-styles-ui-screen-revisions__changes li {
978 919 margin-bottom: 4px;
979 920 }
980 921
981 -.global-styles-ui-screen-revisions__pagination.global-styles-ui-screen-revisions__pagination {
982 - justify-content: space-between;
983 - gap: 2px;
984 -}
985 -
986 -.global-styles-ui-screen-revisions__pagination.global-styles-ui-screen-revisions__pagination .edit-site-pagination__total {
987 - position: absolute;
988 - left: -1000px;
989 - height: 1px;
990 - margin: -1px;
991 - overflow: hidden;
992 -}
993 -
994 -.global-styles-ui-screen-revisions__pagination.global-styles-ui-screen-revisions__pagination .components-text {
995 - font-size: 12px;
996 - will-change: opacity;
997 -}
998 -
999 -.global-styles-ui-screen-revisions__pagination.global-styles-ui-screen-revisions__pagination .components-button.is-tertiary {
1000 - color: #1e1e1e;
1001 -}
1002 -
1003 -.global-styles-ui-screen-revisions__pagination.global-styles-ui-screen-revisions__pagination .components-button.is-tertiary:disabled,
1004 -.global-styles-ui-screen-revisions__pagination.global-styles-ui-screen-revisions__pagination .components-button.is-tertiary[aria-disabled=true] {
1005 - color: #949494;
1006 -}
1007 -
1008 -.global-styles-ui-screen-revisions__footer {
1009 - height: 56px;
1010 - z-index: 1;
1011 - position: sticky;
1012 - min-width: 100%;
1013 - bottom: 0;
1014 - background: #fff;
1015 - padding: 12px;
1016 - border-top: 1px solid #ddd;
1017 - box-sizing: border-box;
1018 -}
1019 -
1020 922 .global-styles-ui-variations_item {
1021 923 box-sizing: border-box;
1022 924 cursor: var(--wpds-cursor-control, pointer);
1023 925 }
@@ -1098,13 +1000,34 @@
1098 1000 justify-content: center;
1099 1001 border-radius: 2px;
1100 1002 }
1101 1003
1004 +.global-styles-ui-block-types-filter {
1005 + margin-bottom: 12px;
1006 + padding: 0 16px;
1007 +}
1008 +
1102 1009 .global-styles-ui-block-types-search {
1103 - margin-bottom: 10px;
1104 - padding: 0 16px;
1010 + flex-grow: 1;
1105 1011 }
1106 1012
1013 +.global-styles-ui-block-types-item-list .global-styles-ui-block-types-item__icon {
1014 + min-width: 24px;
1015 +}
1016 +
1017 +.global-styles-ui-block-types-item-list__no-results {
1018 + padding-top: 16px;
1019 +}
1020 +
1021 +.global-styles-ui-block-types-item__indicator {
1022 + background: var(--wp-admin-theme-color);
1023 + border-radius: 50%;
1024 + flex: none;
1025 + height: 6px;
1026 + margin-left: auto;
1027 + width: 6px;
1028 +}
1029 +
1107 1030 .global-styles-ui-screen-typography__font-variants-count {
1108 1031 color: #757575;
1109 1032 }
1110 1033
@@ -1121,20 +1044,21 @@
1121 1044 }
1122 1045
1123 1046 .global-styles-ui-header {
1124 1047 margin-bottom: 0 !important;
1048 + line-height: 1.9 !important;
1125 1049 }
1126 1050
1127 1051 .global-styles-ui-subtitle {
1128 1052 margin-bottom: 0 !important;
1129 1053 text-transform: uppercase;
1130 - font-weight: 499 !important;
1054 + font-weight: var(--wpds-typography-font-weight-emphasis, 600) !important;
1131 1055 font-size: 11px !important;
1132 1056 }
1133 1057
1134 1058 .global-styles-ui-section-title {
1135 1059 color: #2f2f2f;
1136 - font-weight: 600;
1060 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
1137 1061 line-height: 1.2;
1138 1062 padding: 16px 16px 0;
1139 1063 margin: 0;
1140 1064 }
@@ -1145,10 +1069,20 @@
1145 1069
1146 1070 .global-styles-ui__color-indicator-wrapper {
1147 1071 height: 24px;
1148 1072 flex-shrink: 0;
1073 + display: flex;
1074 + align-items: center;
1149 1075 }
1150 1076
1077 +.global-styles-ui__palette-preview {
1078 + display: inline-flex;
1079 +}
1080 +
1081 +.global-styles-ui__palette-preview > * + * {
1082 + margin-inline-start: -8px;
1083 +}
1084 +
1151 1085 .global-styles-ui__shadows-panel__options-container,
1152 1086 .global-styles-ui__typography-panel__options-container {
1153 1087 height: 24px;
1154 1088 }
@@ -1160,9 +1094,10 @@
1160 1094 border-radius: 2px;
1161 1095 overflow: hidden;
1162 1096 }
1163 1097
1164 -.global-styles-ui__shadow-preview-panel {
1098 +.global-styles-ui__shadow-preview-panel,
1099 +.global-styles-ui__text-shadow-preview-panel {
1165 1100 height: 144px;
1166 1101 border: #ddd 1px solid;
1167 1102 border-radius: 2px;
1168 1103 overflow: auto;
@@ -1172,9 +1107,9 @@
1172 1107 /*rtl:end:ignore*/
1173 1108 background-size: 16px 16px;
1174 1109 }
1175 1110
1176 -.global-styles-ui__shadow-preview-panel .global-styles-ui__shadow-preview-block {
1111 +.global-styles-ui__shadow-preview-block {
1177 1112 border: #ddd 1px solid;
1178 1113 border-radius: 2px;
1179 1114 background-color: #fff;
1180 1115 width: 60%;
@@ -1180,22 +1115,44 @@
1180 1115 width: 60%;
1181 1116 height: 60px;
1182 1117 }
1183 1118
1184 -.global-styles-ui__shadow-editor__dropdown-content {
1119 +.global-styles-ui__text-shadow-preview-panel {
1120 + margin-block: -8px 16px;
1121 +}
1122 +
1123 +.global-styles-ui__text-shadow-preview-text {
1124 + font-size: 24px;
1125 +}
1126 +
1127 +.global-styles-ui__text-shadow-editor__header {
1128 + margin-block-end: 8px;
1129 +}
1130 +
1131 +.global-styles-ui__text-shadow-editor__inputs {
1132 + display: grid;
1133 + grid-template-columns: repeat(2, 1fr);
1134 + gap: 16px;
1135 +}
1136 +
1137 +.global-styles-ui__shadow-editor__dropdown-content,
1138 +.global-styles-ui__text-shadow-editor__dropdown-content {
1185 1139 width: 280px;
1186 1140 }
1187 1141
1188 -.global-styles-ui__shadow-editor-panel {
1142 +.global-styles-ui__shadow-editor-panel,
1143 +.global-styles-ui__text-shadow-editor-panel {
1189 1144 margin-bottom: 4px;
1190 1145 }
1191 1146
1192 -.global-styles-ui__shadow-editor__dropdown {
1147 +.global-styles-ui__shadow-editor__dropdown,
1148 +.global-styles-ui__text-shadow-editor__dropdown {
1193 1149 width: 100%;
1194 1150 position: relative;
1195 1151 }
1196 1152
1197 -.global-styles-ui__shadow-editor__dropdown-toggle {
1153 +.global-styles-ui__shadow-editor__dropdown-toggle,
1154 +.global-styles-ui__text-shadow-editor__dropdown-toggle {
1198 1155 width: 100%;
1199 1156 height: auto;
1200 1157 padding-top: 8px;
1201 1158 padding-bottom: 8px;
@@ -1202,14 +1159,16 @@
1202 1159 text-align: left;
1203 1160 border-radius: inherit;
1204 1161 }
1205 1162
1206 -.global-styles-ui__shadow-editor__dropdown-toggle.is-open {
1163 +.global-styles-ui__shadow-editor__dropdown-toggle.is-open,
1164 +.global-styles-ui__text-shadow-editor__dropdown-toggle.is-open {
1207 1165 background: #f0f0f0;
1208 1166 color: var(--wp-admin-theme-color);
1209 1167 }
1210 1168
1211 -.global-styles-ui__shadow-editor__remove-button {
1169 +.global-styles-ui__shadow-editor__remove-button,
1170 +.global-styles-ui__text-shadow-editor__remove-button {
1212 1171 position: absolute;
1213 1172 right: 8px;
1214 1173 top: 8px;
1215 1174 opacity: 0;
@@ -1214,18 +1173,19 @@
1214 1173 top: 8px;
1215 1174 opacity: 0;
1216 1175 }
1217 1176
1218 -.global-styles-ui__shadow-editor__remove-button.global-styles-ui__shadow-editor__remove-button {
1219 - border: none;
1220 -}
1221 -
1222 -.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 {
1177 +.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,
1178 +.global-styles-ui__shadow-editor__dropdown-toggle:hover + .global-styles-ui__text-shadow-editor__remove-button,
1179 +.global-styles-ui__text-shadow-editor__dropdown-toggle:hover + .global-styles-ui__text-shadow-editor__remove-button,
1180 +.global-styles-ui__text-shadow-editor__remove-button:focus,
1181 +.global-styles-ui__text-shadow-editor__remove-button:hover {
1223 1182 opacity: 1;
1224 1183 }
1225 1184
1226 1185 @media (hover: none) {
1227 - .global-styles-ui__shadow-editor__remove-button {
1186 + .global-styles-ui__shadow-editor__remove-button,
1187 + .global-styles-ui__text-shadow-editor__remove-button {
1228 1188 opacity: 1;
1229 1189 }
1230 1190 }
1231 1191 .global-styles-ui-screen-css {
@@ -1234,28 +1194,26 @@
1234 1194 flex-direction: column;
1235 1195 margin: 16px;
1236 1196 }
1237 1197
1238 -.global-styles-ui-screen-css .components-v-stack {
1198 +.global-styles-ui-screen-css .block-editor-global-styles-advanced-panel {
1239 1199 flex: 1 1 auto;
1240 1200 }
1241 1201
1242 -.global-styles-ui-screen-css .components-v-stack .block-editor-global-styles-advanced-panel__custom-css-input {
1202 +.global-styles-ui-screen-css .block-editor-global-styles-advanced-panel__custom-css-input {
1243 1203 flex: 1 1 auto;
1244 1204 display: flex;
1245 1205 flex-direction: column;
1246 1206 }
1247 1207
1248 -.global-styles-ui-screen-css .components-v-stack .block-editor-global-styles-advanced-panel__custom-css-input .components-base-control__field {
1208 +.global-styles-ui-screen-css .block-editor-global-styles-advanced-panel__custom-css-input .components-base-control__field {
1249 1209 flex: 1 1 auto;
1250 1210 display: flex;
1251 1211 flex-direction: column;
1252 1212 }
1253 1213
1254 -.global-styles-ui-screen-css .components-v-stack .block-editor-global-styles-advanced-panel__custom-css-input .components-base-control__field .components-textarea-control__input {
1214 +.global-styles-ui-screen-css .block-editor-global-styles-advanced-panel__custom-css-input textarea {
1255 1215 flex: 1 1 auto;
1256 - /*rtl:ignore*/
1257 - direction: ltr;
1258 1216 }
1259 1217
1260 1218 .global-styles-ui-screen-css-help-link {
1261 1219 display: inline-block;
@@ -1280,8 +1238,16 @@
1280 1238 flex-direction: column;
1281 1239 height: 100%;
1282 1240 }
1283 1241
1242 +.global-styles-ui-color-palette__tablist-container {
1243 + border-bottom: 1px solid #ddd;
1244 +}
1245 +
1246 +.global-styles-ui-color-palette__tablist {
1247 + margin-bottom: -1px;
1248 +}
1249 +
1284 1250 .global-styles-ui-sidebar__navigator-screen .single-column {
1285 1251 grid-column: span 1;
1286 1252 }
1287 1253
@@ -1303,14 +1269,15 @@
1303 1269 clip-path: border-box;
1304 1270 }
1305 1271
1306 1272 .global-styles-ui-color-palette-panel,
1307 -.global-styles-ui-gradient-palette-panel {
1273 +.global-styles-ui-gradient-palette-panel,
1274 +.global-styles-ui-duotone-palette-panel {
1308 1275 padding: 16px;
1309 1276 }
1310 1277
1311 1278 /**
1312 - * Colors
1279 + * Typography
1313 1280 */
1314 1281 /**
1315 1282 * SCSS Variables.
1316 1283 *
@@ -1318,8 +1285,11 @@
1318 1285 * Don't add to this sheet unless you're pretty sure the value will be reused in many places.
1319 1286 * For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
1320 1287 */
1321 1288 /**
1289 + * Colors
1290 + */
1291 +/**
1322 1292 * Fonts & basic variables.
1323 1293 */
1324 1294 /**
1325 1295 * Typography
@@ -1353,11 +1323,8 @@
1353 1323 * React Native specific.
1354 1324 * These variables do not appear to be used anywhere else.
1355 1325 */
1356 1326 /**
1357 - * Typography
1358 - */
1359 -/**
1360 1327 * Breakpoints & Media Queries
1361 1328 */
1362 1329 /**
1363 1330 * Converts a hex value into the rgb equivalent.
@@ -1377,8 +1344,14 @@
1377 1344 /**
1378 1345 * Focus styles.
1379 1346 */
1380 1347 /**
1348 + * Standard focus rings for the WordPress Design System.
1349 + *
1350 + * Apply `outset-ring__focus` inside the relevant pseudo-class at the call site,
1351 + * e.g. `&:focus { @include outset-ring__focus(); }`.
1352 + */
1353 +/**
1381 1354 * Applies editor left position to the selector passed as argument
1382 1355 */
1383 1356 /**
1384 1357 * Styles that are reused verbatim in a few places
@@ -1399,23 +1372,24 @@
1399 1372 */
1400 1373 .dataviews-wrapper,
1401 1374 .dataviews-picker-wrapper {
1402 1375 height: 100%;
1376 + flex-grow: 1;
1377 + min-height: 0;
1403 1378 box-sizing: border-box;
1404 1379 scroll-padding-bottom: 64px;
1405 - /* stylelint-disable-next-line property-no-unknown -- '@container' not globally permitted */
1406 1380 container: dataviews-wrapper/inline-size;
1407 1381 display: flex;
1408 1382 flex-direction: column;
1409 - font-size: 13px;
1410 - line-height: 1.4;
1411 - background-color: var(--wp-dataviews-color-background, #fff);
1383 + font-size: var(--wpds-typography-font-size-md, 13px);
1384 + line-height: var(--wpds-typography-line-height-sm, 20px);
1385 + background-color: var(--wp-dataviews-color-background, var(--wpds-color-background-surface-neutral-strong, #fff));
1412 1386 }
1413 1387
1414 1388 .dataviews__view-actions,
1415 1389 .dataviews-filters__container {
1416 1390 box-sizing: border-box;
1417 - padding: 16px 24px;
1391 + padding: var(--wpds-dimension-padding-lg, 16px) var(--wpds-dimension-padding-2xl, 24px);
1418 1392 flex-shrink: 0;
1419 1393 position: sticky;
1420 1394 left: 0;
1421 1395 background-color: inherit;
@@ -1426,11 +1400,19 @@
1426 1400 .dataviews-filters__container {
1427 1401 transition: padding ease-out 0.1s;
1428 1402 }
1429 1403 }
1404 +.dataviews__search {
1405 + flex-grow: 1;
1406 +}
1407 +
1408 +.dataviews__search .dataviews-search {
1409 + flex-basis: 210px;
1410 +}
1411 +
1430 1412 .dataviews-no-results,
1431 1413 .dataviews-loading {
1432 - padding: 0 24px;
1414 + padding: 0 var(--wpds-dimension-padding-2xl, 24px);
1433 1415 flex-grow: 1;
1434 1416 display: flex;
1435 1417 align-items: center;
1436 1418 justify-content: center;
@@ -1464,18 +1446,22 @@
1464 1446 .dataviews-loading-more {
1465 1447 text-align: center;
1466 1448 }
1467 1449
1450 +.dataviews-loading-more[aria-hidden=true] {
1451 + visibility: hidden;
1452 +}
1453 +
1468 1454 @container (max-width: 430px) {
1469 1455 .dataviews__view-actions,
1470 1456 .dataviews-filters__container {
1471 - padding: 12px 24px;
1457 + padding: var(--wpds-dimension-padding-md, 12px) var(--wpds-dimension-padding-2xl, 24px);
1472 1458 }
1473 1459 }
1474 1460 .dataviews-title-field {
1475 - font-size: 13px;
1476 - font-weight: 499;
1477 - color: #2f2f2f;
1461 + font-size: var(--wpds-typography-font-size-md, 13px);
1462 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
1463 + color: var(--wpds-color-foreground-content-neutral, #1e1e1e);
1478 1464 text-overflow: ellipsis;
1479 1465 white-space: nowrap;
1480 1466 width: 100%;
1481 1467 }
@@ -1486,13 +1472,13 @@
1486 1472 white-space: nowrap;
1487 1473 overflow: hidden;
1488 1474 display: block;
1489 1475 flex-grow: 0;
1490 - color: #2f2f2f;
1476 + color: var(--wpds-color-foreground-interactive-neutral, #1e1e1e);
1491 1477 }
1492 1478
1493 1479 .dataviews-title-field a:hover {
1494 - color: var(--wp-admin-theme-color);
1480 + color: var(--wpds-color-foreground-interactive-brand, var(--wp-admin-theme-color, #3858e9));
1495 1481 }
1496 1482
1497 1483 .dataviews-title-field a:focus {
1498 1484 color: var(--wp-admin-theme-color--rgb);
@@ -1507,22 +1493,22 @@
1507 1493 white-space: nowrap;
1508 1494 overflow: hidden;
1509 1495 display: block;
1510 1496 width: 100%;
1511 - color: #1e1e1e;
1497 + color: var(--wpds-color-foreground-interactive-neutral-active, #1e1e1e);
1512 1498 }
1513 1499
1514 1500 .dataviews-title-field button.components-button.is-link:hover {
1515 - color: var(--wp-admin-theme-color);
1501 + color: var(--wpds-color-foreground-interactive-brand, var(--wp-admin-theme-color, #3858e9));
1516 1502 }
1517 1503
1518 1504 .dataviews-title-field--clickable {
1519 1505 cursor: var(--wpds-cursor-control, pointer);
1520 - color: #2f2f2f;
1506 + color: var(--wpds-color-foreground-interactive-neutral, #1e1e1e);
1521 1507 }
1522 1508
1523 1509 .dataviews-title-field--clickable:hover {
1524 - color: var(--wp-admin-theme-color);
1510 + color: var(--wpds-color-foreground-interactive-brand, var(--wp-admin-theme-color, #3858e9));
1525 1511 }
1526 1512
1527 1513 .dataviews-title-field--clickable:focus {
1528 1514 color: var(--wp-admin-theme-color--rgb);
@@ -1536,15 +1522,24 @@
1536 1522 z-index: 2;
1537 1523 background-color: #fff;
1538 1524 }
1539 1525
1526 +/**
1527 + * When DataViews are placed within cards, apply a consistent top padding.
1528 + */
1529 +.components-card__body:has(> .dataviews-wrapper),
1530 +.components-card__body:has(> .dataviews-picker-wrapper) {
1531 + padding: var(--wpds-dimension-padding-sm, 8px) 0 0;
1532 + overflow: hidden;
1533 +}
1534 +
1540 1535 .dataviews-bulk-actions-footer__item-count {
1541 - color: #1e1e1e;
1536 + color: var(--wpds-color-foreground-content-neutral, #1e1e1e);
1542 1537 }
1543 1538
1544 1539 .dataviews-bulk-actions-footer__container {
1545 1540 margin-right: auto;
1546 - min-height: 32px;
1541 + min-height: var(--wpds-dimension-size-md, 32px);
1547 1542 }
1548 1543
1549 1544 .dataviews-layout__container {
1550 1545 flex: 1;
@@ -1571,10 +1566,10 @@
1571 1566 opacity: 1;
1572 1567 }
1573 1568
1574 1569 .dataviews-filters__summary-popover {
1575 - font-size: 13px;
1576 - line-height: 1.4;
1570 + font-size: var(--wpds-typography-font-size-md, 13px);
1571 + line-height: var(--wpds-typography-line-height-sm, 20px);
1577 1572 }
1578 1573
1579 1574 .dataviews-filters__summary-popover .components-popover__content {
1580 1575 width: 100%;
@@ -1579,9 +1574,9 @@
1579 1574 .dataviews-filters__summary-popover .components-popover__content {
1580 1575 width: 100%;
1581 1576 min-width: 230px;
1582 1577 max-width: 250px;
1583 - border-radius: 4px;
1578 + border-radius: var(--wpds-border-radius-md, 4px);
1584 1579 }
1585 1580
1586 1581 .dataviews-filters__summary-popover.components-dropdown__content .components-popover__content {
1587 1582 padding: 0;
@@ -1587,13 +1582,13 @@
1587 1582 padding: 0;
1588 1583 }
1589 1584
1590 1585 .dataviews-filters__summary-operators-container {
1591 - padding: 8px 16px;
1586 + padding: var(--wpds-dimension-padding-sm, 8px) var(--wpds-dimension-padding-lg, 16px);
1592 1587 }
1593 1588
1594 1589 .dataviews-filters__summary-operators-container:has(+ .dataviews-filters__search-widget-listbox), .dataviews-filters__summary-operators-container:has(+ .dataviews-filters__search-widget-no-elements), .dataviews-filters__summary-operators-container:has(+ .dataviews-filters__user-input-widget) {
1595 - border-bottom: 1px solid #e0e0e0;
1590 + border-bottom: 1px solid var(--wpds-color-stroke-surface-neutral, #dbdbdb);
1596 1591 }
1597 1592
1598 1593 .dataviews-filters__summary-operators-container:empty {
1599 1594 display: none;
@@ -1599,9 +1594,9 @@
1599 1594 display: none;
1600 1595 }
1601 1596
1602 1597 .dataviews-filters__summary-operators-container .dataviews-filters__summary-operators-filter-name {
1603 - color: #757575;
1598 + color: var(--wpds-color-foreground-content-neutral-weak, #707070);
1604 1599 white-space: nowrap;
1605 1600 overflow: hidden;
1606 1601 text-overflow: ellipsis;
1607 1602 flex-shrink: 0; /* Prevents this element from shrinking */
@@ -1609,10 +1604,10 @@
1609 1604 }
1610 1605
1611 1606 .dataviews-filters__summary-operators-container .dataviews-filters__summary-operators-filter-select {
1612 1607 width: 100%;
1608 + min-width: 0;
1613 1609 white-space: nowrap;
1614 - overflow: hidden;
1615 1610 }
1616 1611
1617 1612 .dataviews-filters__summary-chip-container {
1618 1613 position: relative;
@@ -1619,15 +1614,14 @@
1619 1614 white-space: pre-wrap;
1620 1615 }
1621 1616
1622 1617 .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip {
1623 - border-radius: 16px;
1624 - border: 1px solid transparent;
1618 + border-radius: var(--wpds-border-radius-lg, 8px);
1619 + border: var(--wpds-border-width-xs, 1px) solid var(--wpds-color-stroke-interactive-neutral, #8d8d8d);
1625 1620 cursor: var(--wpds-cursor-control, pointer);
1626 - padding: 4px 12px;
1627 - min-height: 32px;
1628 - background: #f0f0f0;
1629 - color: #2f2f2f;
1621 + padding: var(--wpds-dimension-padding-xs, 4px) var(--wpds-dimension-padding-md, 12px);
1622 + min-height: var(--wpds-dimension-size-md, 32px);
1623 + color: var(--wpds-color-foreground-interactive-neutral, #1e1e1e);
1630 1624 position: relative;
1631 1625 display: flex;
1632 1626 align-items: center;
1633 1627 box-sizing: border-box;
@@ -1637,42 +1631,46 @@
1637 1631 cursor: default;
1638 1632 }
1639 1633
1640 1634 .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip.has-reset {
1641 - padding-inline-end: 28px;
1635 + padding-inline-end: calc(var(--wpds-dimension-size-sm, 24px) + var(--wpds-dimension-padding-xs, 4px));
1642 1636 }
1643 1637
1644 1638 .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip:hover:not(.dataviews-filters__summary-chip-container .dataviews-filters__summary-chip.is-not-clickable), .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip:focus-visible, .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip[aria-expanded=true] {
1645 - background: #e0e0e0;
1646 - color: #1e1e1e;
1639 + color: var(--wpds-color-foreground-interactive-neutral, #1e1e1e);
1640 + border-color: var(--wpds-color-stroke-interactive-neutral-active, #6e6e6e);
1641 + background-color: var(--wpds-color-background-interactive-neutral-weak-active, #ededed);
1647 1642 }
1648 1643
1649 1644 .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip.has-values {
1650 - color: var(--wp-admin-theme-color);
1651 - background: rgba(var(--wp-admin-theme-color--rgb), 0.04);
1645 + color: var(--wpds-color-foreground-interactive-brand, var(--wp-admin-theme-color, #3858e9));
1646 + background: var(--wpds-color-background-interactive-brand-weak, rgba(0, 0, 0, 0));
1647 + border-color: var(--wpds-color-stroke-interactive-brand, var(--wp-admin-theme-color, #3858e9));
1652 1648 }
1653 1649
1654 -.dataviews-filters__summary-chip-container .dataviews-filters__summary-chip.has-values:hover, .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip.has-values[aria-expanded=true] {
1655 - background: rgba(var(--wp-admin-theme-color--rgb), 0.12);
1650 +.dataviews-filters__summary-chip-container .dataviews-filters__summary-chip.has-values:hover:not(.dataviews-filters__summary-chip-container .dataviews-filters__summary-chip.has-values.is-not-clickable), .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip.has-values[aria-expanded=true] {
1651 + color: var(--wpds-color-foreground-interactive-brand-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 52%, black));
1652 + background: var(--wpds-color-background-interactive-brand-weak-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 12%, white));
1653 + border-color: var(--wpds-color-stroke-interactive-brand-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 85%, black));
1656 1654 }
1657 1655
1658 1656 .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip:focus-visible {
1659 1657 outline: none;
1660 - box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
1658 + box-shadow: 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));
1661 1659 }
1662 1660
1663 1661 .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip .dataviews-filters-__summary-filter-text-name {
1664 - font-weight: 499;
1662 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
1665 1663 }
1666 1664
1667 1665 .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove {
1668 - width: 24px;
1669 - height: 24px;
1670 - border-radius: 50%;
1666 + width: var(--wpds-dimension-size-sm, 24px);
1667 + height: var(--wpds-dimension-size-sm, 24px);
1668 + border-radius: var(--wpds-border-radius-md, 4px);
1671 1669 border: 0;
1672 1670 padding: 0;
1673 1671 position: absolute;
1674 - right: 4px;
1672 + right: var(--wpds-dimension-padding-xs, 4px);
1675 1673 top: 50%;
1676 1674 transform: translateY(-50%);
1677 1675 display: flex;
1678 1676 align-items: center;
@@ -1681,45 +1679,45 @@
1681 1679 cursor: var(--wpds-cursor-control, pointer);
1682 1680 }
1683 1681
1684 1682 .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove svg {
1685 - fill: #757575;
1683 + color: var(--wpds-color-foreground-interactive-neutral, #1e1e1e);
1686 1684 }
1687 1685
1688 1686 .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove:hover, .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove:focus {
1689 - background: #e0e0e0;
1687 + background: var(--wpds-color-background-interactive-neutral-weak-active, #ededed);
1690 1688 }
1691 1689
1692 1690 .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove:hover svg, .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove:focus svg {
1693 - fill: #1e1e1e;
1691 + color: var(--wpds-color-foreground-interactive-neutral-active, #1e1e1e);
1694 1692 }
1695 1693
1696 1694 .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove.has-values svg {
1697 - fill: var(--wp-admin-theme-color);
1695 + color: var(--wpds-color-foreground-interactive-brand, var(--wp-admin-theme-color, #3858e9));
1698 1696 }
1699 1697
1700 1698 .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove.has-values:hover {
1701 - background: rgba(var(--wp-admin-theme-color--rgb), 0.08);
1699 + background: var(--wpds-color-background-interactive-brand-weak-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 12%, white));
1702 1700 }
1703 1701
1704 1702 .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove:focus-visible {
1705 1703 outline: none;
1706 - box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
1704 + box-shadow: 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));
1707 1705 }
1708 1706
1709 1707 .dataviews-filters__search-widget-filter-combobox-list {
1710 1708 max-height: 184px;
1711 - padding: 4px;
1709 + padding: var(--wpds-dimension-padding-xs, 4px);
1712 1710 overflow: auto;
1713 - border-top: 1px solid #e0e0e0;
1711 + border-top: 1px solid var(--wpds-color-stroke-surface-neutral, #dbdbdb);
1714 1712 }
1715 1713
1716 1714 .dataviews-filters__search-widget-filter-combobox-list .dataviews-filters__search-widget-filter-combobox-item-value [data-user-value] {
1717 - font-weight: 600;
1715 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
1718 1716 }
1719 1717
1720 1718 .dataviews-filters__search-widget-listbox {
1721 - padding: 4px;
1719 + padding: var(--wpds-dimension-padding-xs, 4px);
1722 1720 overflow: auto;
1723 1721 }
1724 1722
1725 1723 .dataviews-filters__search-widget-listitem {
@@ -1724,18 +1722,19 @@
1724 1722
1725 1723 .dataviews-filters__search-widget-listitem {
1726 1724 display: flex;
1727 1725 align-items: center;
1728 - gap: 8px;
1729 - border-radius: 2px;
1726 + gap: var(--wpds-dimension-gap-md, 12px);
1727 + border-radius: var(--wpds-border-radius-sm, 2px);
1730 1728 box-sizing: border-box;
1731 - padding: 4px 12px;
1729 + padding: var(--wpds-dimension-padding-xs, 4px) var(--wpds-dimension-padding-md, 12px);
1732 1730 cursor: default;
1733 - min-height: 32px;
1734 - font-family: -apple-system, "system-ui", "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
1735 - font-weight: 400;
1731 + min-height: var(--wpds-dimension-size-md, 32px);
1732 + font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
1733 + font-weight: var(--wpds-typography-font-weight-default, 400);
1736 1734 font-size: 13px;
1737 1735 line-height: 20px;
1736 + color: var(--wpds-color-foreground-interactive-neutral, #1e1e1e);
1738 1737 }
1739 1738
1740 1739 .dataviews-filters__search-widget-listitem:last-child {
1741 1740 margin-block-end: 0;
@@ -1741,35 +1740,37 @@
1741 1740 margin-block-end: 0;
1742 1741 }
1743 1742
1744 1743 .dataviews-filters__search-widget-listitem:hover, .dataviews-filters__search-widget-listitem[data-active-item], .dataviews-filters__search-widget-listitem:focus {
1745 - background-color: var(--wp-admin-theme-color);
1746 - color: #fff;
1744 + background-color: var(--wpds-color-background-interactive-brand-weak-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 12%, white));
1745 + color: var(--wpds-color-foreground-interactive-neutral-active, #1e1e1e);
1747 1746 }
1748 1747
1749 -.dataviews-filters__search-widget-listitem:hover .dataviews-filters__search-widget-listitem-description, .dataviews-filters__search-widget-listitem[data-active-item] .dataviews-filters__search-widget-listitem-description, .dataviews-filters__search-widget-listitem:focus .dataviews-filters__search-widget-listitem-description {
1750 - color: #fff;
1751 -}
1752 -
1753 1748 .dataviews-filters__search-widget-listitem:hover .dataviews-filters__search-widget-listitem-single-selection, .dataviews-filters__search-widget-listitem[data-active-item] .dataviews-filters__search-widget-listitem-single-selection, .dataviews-filters__search-widget-listitem:focus .dataviews-filters__search-widget-listitem-single-selection {
1754 - border-color: var(--wp-admin-theme-color-darker-20, #183ad6);
1755 - background: #fff;
1749 + border-color: var(--wpds-color-stroke-interactive-brand-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 85%, black));
1750 + background: var(--wpds-color-background-surface-neutral-strong, #fff);
1756 1751 }
1757 1752
1758 1753 .dataviews-filters__search-widget-listitem:hover .dataviews-filters__search-widget-listitem-single-selection.is-selected, .dataviews-filters__search-widget-listitem[data-active-item] .dataviews-filters__search-widget-listitem-single-selection.is-selected, .dataviews-filters__search-widget-listitem:focus .dataviews-filters__search-widget-listitem-single-selection.is-selected {
1759 - border-color: var(--wp-admin-theme-color-darker-20, #183ad6);
1760 - background: var(--wp-admin-theme-color-darker-20, #183ad6);
1754 + border-color: var(--wpds-color-stroke-interactive-brand-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 85%, black));
1755 + background: var(--wpds-color-background-interactive-brand-strong-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 93%, black));
1761 1756 }
1762 1757
1763 1758 .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 {
1764 - border-color: var(--wp-admin-theme-color-darker-20, #183ad6);
1759 + /* 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. */
1760 + background-color: var(--wpds-color-background-interactive-neutral, var(--wpds-color-background-surface-neutral-strong, #fff));
1761 + border-color: var(--wpds-color-stroke-interactive-brand-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 85%, black));
1765 1762 }
1766 1763
1767 1764 .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 {
1768 - border-color: var(--wp-admin-theme-color-darker-20, #183ad6);
1769 - background: var(--wp-admin-theme-color-darker-20, #183ad6);
1765 + border-color: var(--wpds-color-stroke-interactive-brand-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 85%, black));
1766 + background: var(--wpds-color-background-interactive-brand-strong-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 93%, black));
1770 1767 }
1771 1768
1769 +.dataviews-filters__search-widget-listitem:hover .dataviews-filters__search-widget-listitem-description, .dataviews-filters__search-widget-listitem[data-active-item] .dataviews-filters__search-widget-listitem-description, .dataviews-filters__search-widget-listitem:focus .dataviews-filters__search-widget-listitem-description {
1770 + color: var(--wpds-color-foreground-interactive-neutral-weak-active, #1e1e1e);
1771 +}
1772 +
1772 1773 .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-value {
1773 1774 overflow: hidden;
1774 1775 text-overflow: ellipsis;
1775 1776 white-space: nowrap;
@@ -1779,11 +1780,11 @@
1779 1780 .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-description {
1780 1781 display: block;
1781 1782 overflow: hidden;
1782 1783 text-overflow: ellipsis;
1783 - font-size: 12px;
1784 + font-size: var(--wpds-typography-font-size-sm, 12px);
1784 1785 line-height: 16px;
1785 - color: #757575;
1786 + color: var(--wpds-color-foreground-interactive-neutral-weak, #707070);
1786 1787 }
1787 1788
1788 1789 .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-single-selection {
1789 1790 border: 1px solid #1e1e1e;
@@ -1844,10 +1845,10 @@
1844 1845 padding: 0;
1845 1846 }
1846 1847
1847 1848 .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-single-selection.is-selected {
1848 - background: var(--wp-admin-theme-color, #3858e9);
1849 - border-color: var(--wp-admin-theme-color, #3858e9);
1849 + background: var(--wpds-color-background-interactive-brand-strong, var(--wp-admin-theme-color, #3858e9));
1850 + border-color: var(--wpds-color-stroke-interactive-brand, var(--wp-admin-theme-color, #3858e9));
1850 1851 }
1851 1852
1852 1853 .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-single-selection.is-selected::before {
1853 1854 content: "";
@@ -1859,10 +1860,10 @@
1859 1860 top: 50%;
1860 1861 left: 50%;
1861 1862 transform: translate(-50%, -50%);
1862 1863 margin: 0;
1863 - background-color: #fff;
1864 - border: 4px solid #fff;
1864 + background-color: var(--wpds-color-foreground-interactive-brand-strong, #fff);
1865 + border: 4px solid var(--wpds-color-foreground-interactive-brand-strong, #fff);
1865 1866 }
1866 1867
1867 1868 @media (min-width: 600px) {
1868 1869 .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-single-selection.is-selected::before {
@@ -1872,28 +1873,22 @@
1872 1873 }
1873 1874 .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection {
1874 1875 --checkbox-size: 24px;
1875 1876 flex-shrink: 0;
1876 - border: 1px solid #1e1e1e;
1877 + border: var(--wpds-border-width-xs, 1px) solid var(--wpds-color-stroke-interactive-neutral, #8d8d8d);
1877 1878 margin-right: 12px;
1878 1879 transition: none;
1879 1880 border-radius: 2px;
1880 - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
1881 + font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
1881 1882 padding: 6px 8px;
1882 1883 /* Fonts smaller than 16px causes mobile safari to zoom. */
1883 1884 font-size: 16px;
1884 1885 /* Override core line-height. To be reviewed. */
1885 1886 line-height: normal;
1886 - box-shadow: 0 0 0 transparent;
1887 - border-radius: 2px;
1888 - border: 1px solid #949494;
1887 + border: var(--wpds-border-width-xs, 1px) solid var(--wpds-color-stroke-interactive-neutral, #8d8d8d);
1888 + border-radius: var(--wpds-border-radius-sm, 2px);
1889 1889 }
1890 1890
1891 -@media not (prefers-reduced-motion) {
1892 - .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection {
1893 - transition: box-shadow 0.1s linear;
1894 - }
1895 -}
1896 1891 @media (min-width: 600px) {
1897 1892 .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection {
1898 1893 font-size: 13px;
1899 1894 /* Override core line-height. To be reviewed. */
@@ -1899,12 +1894,17 @@
1899 1894 /* Override core line-height. To be reviewed. */
1900 1895 line-height: normal;
1901 1896 }
1902 1897 }
1898 +.dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection:hover:not(:disabled, [aria-disabled=true]) {
1899 + border-color: var(--wpds-color-stroke-interactive-neutral-active, #6e6e6e);
1900 +}
1901 +
1903 1902 .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection:focus {
1904 - border-color: var(--wp-admin-theme-color);
1905 - box-shadow: 0 0 0 0.5px var(--wp-admin-theme-color);
1906 - outline: 2px solid transparent;
1903 + 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)));
1904 + outline-offset: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px));
1905 + border-color: var(--wpds-color-stroke-interactive-neutral, #8d8d8d);
1906 + box-shadow: none;
1907 1907 }
1908 1908
1909 1909 .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection::placeholder {
1910 1910 color: rgba(30, 30, 30, 0.62);
@@ -1909,8 +1909,12 @@
1909 1909 .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection::placeholder {
1910 1910 color: rgba(30, 30, 30, 0.62);
1911 1911 }
1912 1912
1913 +.dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection:hover:not(:disabled, [aria-disabled=true]) {
1914 + background: var(--wpds-color-background-interactive-neutral-active, #fff);
1915 +}
1916 +
1913 1917 .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection:focus {
1914 1918 box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--wp-admin-theme-color);
1915 1919 outline: 2px solid transparent;
1916 1920 }
@@ -1941,9 +1945,9 @@
1941 1945 display: inline-block;
1942 1946 vertical-align: middle;
1943 1947 width: 16px;
1944 1948 /* stylelint-disable-next-line font-family-no-missing-generic-family-keyword -- dashicons don't need a generic family keyword. */
1945 - font: normal 30px/1 dashicons;
1949 + font: 400 30px/1 dashicons;
1946 1950 speak: none;
1947 1951 -webkit-font-smoothing: antialiased;
1948 1952 -moz-osx-font-smoothing: grayscale;
1949 1953 }
@@ -1954,18 +1958,24 @@
1954 1958 font-size: 21px;
1955 1959 }
1956 1960 }
1957 1961 .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 {
1958 - background: #f0f0f0;
1959 - border-color: #ddd;
1962 + background: var(--wpds-color-background-interactive-neutral-disabled, #fff);
1963 + border-color: var(--wpds-color-stroke-interactive-neutral-disabled, #dbdbdb);
1964 + color: var(--wpds-color-foreground-interactive-neutral-disabled, #8d8d8d);
1960 1965 cursor: default;
1961 1966 opacity: 1;
1962 1967 }
1963 1968
1969 +.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 {
1970 + color: var(--wpds-color-foreground-interactive-neutral-disabled, #8d8d8d);
1971 +}
1972 +
1964 1973 .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection {
1965 1974 position: relative;
1966 - background: #fff;
1967 - color: #1e1e1e;
1975 + /* 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. */
1976 + background: var(--wpds-color-background-interactive-neutral, var(--wpds-color-background-surface-neutral-strong, #fff));
1977 + color: var(--wpds-color-foreground-content-neutral, #1e1e1e);
1968 1978 margin: 0;
1969 1979 padding: 0;
1970 1980 width: var(--checkbox-size);
1971 1981 height: var(--checkbox-size);
@@ -1981,15 +1991,15 @@
1981 1991 transition: 0.1s border-color ease-in-out;
1982 1992 }
1983 1993 }
1984 1994 .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection.is-selected {
1985 - background: var(--wp-admin-theme-color, #3858e9);
1986 - border-color: var(--wp-admin-theme-color, #3858e9);
1995 + background: var(--wpds-color-background-interactive-brand-strong, var(--wp-admin-theme-color, #3858e9));
1996 + border-color: var(--wpds-color-stroke-interactive-brand, var(--wp-admin-theme-color, #3858e9));
1987 1997 }
1988 1998
1989 1999 .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection.is-selected svg {
1990 2000 --checkmark-size: var(--checkbox-size);
1991 - fill: #fff;
2001 + color: var(--wpds-color-foreground-interactive-neutral-strong, #f0f0f0);
1992 2002 position: absolute;
1993 2003 left: 50%;
1994 2004 top: 50%;
1995 2005 transform: translate(-50%, -50%);
@@ -2003,28 +2013,22 @@
2003 2013 }
2004 2014 }
2005 2015 .dataviews-filters__search-widget-filter-combobox__wrapper {
2006 2016 position: relative;
2007 - padding: 8px;
2017 + padding: var(--wpds-dimension-padding-sm, 8px);
2008 2018 }
2009 2019
2010 2020 .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input {
2011 - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
2021 + font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
2012 2022 padding: 6px 8px;
2013 2023 /* Fonts smaller than 16px causes mobile safari to zoom. */
2014 2024 font-size: 16px;
2015 2025 /* Override core line-height. To be reviewed. */
2016 2026 line-height: normal;
2017 - box-shadow: 0 0 0 transparent;
2018 - border-radius: 2px;
2019 - border: 1px solid #949494;
2027 + border: var(--wpds-border-width-xs, 1px) solid var(--wpds-color-stroke-interactive-neutral, #8d8d8d);
2028 + border-radius: var(--wpds-border-radius-sm, 2px);
2020 2029 }
2021 2030
2022 -@media not (prefers-reduced-motion) {
2023 - .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input {
2024 - transition: box-shadow 0.1s linear;
2025 - }
2026 -}
2027 2031 @media (min-width: 600px) {
2028 2032 .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input {
2029 2033 font-size: 13px;
2030 2034 /* Override core line-height. To be reviewed. */
@@ -2030,12 +2034,17 @@
2030 2034 /* Override core line-height. To be reviewed. */
2031 2035 line-height: normal;
2032 2036 }
2033 2037 }
2038 +.dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input:hover:not(:disabled, [aria-disabled=true]) {
2039 + border-color: var(--wpds-color-stroke-interactive-neutral-active, #6e6e6e);
2040 +}
2041 +
2034 2042 .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input:focus {
2035 - border-color: var(--wp-admin-theme-color);
2036 - box-shadow: 0 0 0 0.5px var(--wp-admin-theme-color);
2037 - outline: 2px solid transparent;
2043 + 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)));
2044 + outline-offset: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px));
2045 + border-color: var(--wpds-color-stroke-interactive-neutral, #8d8d8d);
2046 + box-shadow: none;
2038 2047 }
2039 2048
2040 2049 .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input::placeholder {
2041 2050 color: rgba(30, 30, 30, 0.62);
@@ -2042,11 +2051,11 @@
2042 2051 }
2043 2052
2044 2053 .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input {
2045 2054 display: block;
2046 - padding: 0 8px 0 32px;
2055 + padding: 0 var(--wpds-dimension-padding-sm, 8px) 0 var(--wpds-dimension-size-md, 32px);
2047 2056 width: 100%;
2048 - height: 32px;
2057 + height: var(--wpds-dimension-size-md, 32px);
2049 2058 margin-left: 0;
2050 2059 margin-right: 0;
2051 2060 /* Fonts smaller than 16px causes mobile safari to zoom. */
2052 2061 font-size: 16px;
@@ -2053,18 +2062,17 @@
2053 2062 }
2054 2063
2055 2064 @media (min-width: 600px) {
2056 2065 .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input {
2057 - font-size: 13px;
2066 + font-size: var(--wpds-typography-font-size-md, 13px);
2058 2067 }
2059 2068 }
2060 2069 .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input:focus {
2061 - background: #fff;
2062 - box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
2070 + background: var(--wpds-color-background-surface-neutral-strong, #fff);
2063 2071 }
2064 2072
2065 2073 .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input::placeholder {
2066 - color: #757575;
2074 + color: var(--wpds-color-foreground-content-neutral-weak, #707070);
2067 2075 }
2068 2076
2069 2077 .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input::-webkit-search-decoration, .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input::-webkit-search-cancel-button, .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input::-webkit-search-results-button, .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input::-webkit-search-results-decoration {
2070 2078 -webkit-appearance: none;
@@ -2071,15 +2079,15 @@
2071 2079 }
2072 2080
2073 2081 .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__icon {
2074 2082 position: absolute;
2075 - inset-inline-start: 12px;
2083 + inset-inline-start: var(--wpds-dimension-gap-md, 12px);
2076 2084 top: 0;
2077 2085 bottom: 0;
2078 2086 display: flex;
2079 2087 align-items: center;
2080 2088 justify-content: center;
2081 - width: 24px;
2089 + width: var(--wpds-dimension-size-sm, 24px);
2082 2090 }
2083 2091
2084 2092 .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__icon:dir(ltr) {
2085 2093 transform: scaleX(-1);
@@ -2094,31 +2102,27 @@
2094 2102 position: absolute;
2095 2103 top: 0;
2096 2104 right: 0;
2097 2105 transform: translate(50%, -50%);
2098 - background: var(--wp-admin-theme-color, #3858e9);
2099 - height: 16px;
2100 - min-width: 16px;
2101 - line-height: 16px;
2102 - padding: 0 4px;
2106 + background: var(--wpds-color-background-interactive-brand-strong, var(--wp-admin-theme-color, #3858e9));
2107 + height: var(--wpds-dimension-size-2xs, 16px);
2108 + min-width: var(--wpds-dimension-size-2xs, 16px);
2109 + line-height: var(--wpds-typography-line-height-xs, 16px);
2110 + padding: 0 var(--wpds-dimension-padding-xs, 4px);
2103 2111 text-align: center;
2104 - border-radius: 8px;
2112 + border-radius: var(--wpds-border-radius-lg, 8px);
2105 2113 font-size: 11px;
2106 - outline: var(--wp-admin-border-width-focus) solid #fff;
2107 - color: #fff;
2114 + outline: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)) solid var(--wpds-color-background-surface-neutral-strong, #fff);
2115 + color: var(--wpds-color-foreground-interactive-neutral-strong, #f0f0f0);
2108 2116 box-sizing: border-box;
2109 2117 }
2110 2118
2111 -.dataviews-search {
2112 - width: fit-content;
2113 -}
2114 -
2115 2119 .dataviews-filters__user-input-widget {
2116 - padding: 16px;
2120 + padding: var(--wpds-dimension-padding-lg, 16px);
2117 2121 }
2118 2122
2119 2123 .dataviews-filters__user-input-widget .components-input-control__prefix {
2120 - padding-left: 8px;
2124 + padding-left: var(--wpds-dimension-padding-sm, 8px);
2121 2125 }
2122 2126
2123 2127 .dataviews-filters__search-widget-no-elements {
2124 2128 display: flex;
@@ -2123,9 +2127,9 @@
2123 2127 .dataviews-filters__search-widget-no-elements {
2124 2128 display: flex;
2125 2129 align-items: center;
2126 2130 justify-content: center;
2127 - padding: 16px;
2131 + padding: var(--wpds-dimension-padding-lg, 16px);
2128 2132 }
2129 2133
2130 2134 .dataviews-footer {
2131 2135 position: sticky;
@@ -2131,10 +2135,10 @@
2131 2135 position: sticky;
2132 2136 bottom: 0;
2133 2137 left: 0;
2134 2138 background-color: inherit;
2135 - padding: 12px 24px;
2136 - border-top: 1px solid #f0f0f0;
2139 + padding: var(--wpds-dimension-padding-md, 12px) var(--wpds-dimension-padding-2xl, 24px);
2140 + border-top: var(--wpds-border-width-xs, 1px) solid var(--wpds-color-stroke-surface-neutral-weak, #f0f0f0);
2137 2141 flex-shrink: 0;
2138 2142 }
2139 2143
2140 2144 @media not (prefers-reduced-motion) {
@@ -2142,9 +2146,9 @@
2142 2146 transition: padding ease-out 0.1s;
2143 2147 }
2144 2148 }
2145 2149 .dataviews-footer {
2146 - z-index: 2;
2150 + z-index: 1;
2147 2151 }
2148 2152
2149 2153 .dataviews-footer .is-refreshing {
2150 2154 opacity: 0.5;
@@ -2173,9 +2177,9 @@
2173 2177 }
2174 2178 }
2175 2179 .dataviews-pagination__page-select {
2176 2180 font-size: 11px;
2177 - font-weight: 499;
2181 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
2178 2182 text-transform: uppercase;
2179 2183 }
2180 2184
2181 2185 @media (min-width: 600px) {
@@ -2180,9 +2184,9 @@
2180 2184
2181 2185 @media (min-width: 600px) {
2182 2186 .dataviews-pagination__page-select .components-select-control__input {
2183 2187 font-size: 11px !important;
2184 - font-weight: 499;
2188 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
2185 2189 }
2186 2190 }
2187 2191 .dataviews-action-modal {
2188 2192 z-index: 1000001;
@@ -2188,9 +2192,9 @@
2188 2192 z-index: 1000001;
2189 2193 }
2190 2194
2191 2195 .dataviews-item-actions .components-button:not(.dataviews-all-actions-button) {
2192 - padding: 0 4px;
2196 + padding: 0 var(--wpds-dimension-padding-xs, 4px);
2193 2197 }
2194 2198
2195 2199 .dataviews-selection-checkbox {
2196 2200 --checkbox-input-size: 24px;
@@ -2211,12 +2215,11 @@
2211 2215 }
2212 2216
2213 2217 .dataviews-view-config {
2214 2218 width: 320px;
2215 - /* stylelint-disable-next-line property-no-unknown -- the linter needs to be updated to accepted the container-type property */
2216 2219 container-type: inline-size;
2217 - font-size: 13px;
2218 - line-height: 1.4;
2220 + font-size: var(--wpds-typography-font-size-md, 13px);
2221 + line-height: var(--wpds-typography-line-height-sm, 20px);
2219 2222 }
2220 2223
2221 2224 .dataviews-config__popover.is-expanded .dataviews-config__popover-content-wrapper {
2222 2225 overflow-y: scroll;
@@ -2231,9 +2234,9 @@
2231 2234 text-transform: uppercase;
2232 2235 }
2233 2236
2234 2237 .dataviews-settings-section__title.dataviews-settings-section__title {
2235 - line-height: 24px;
2238 + line-height: var(--wpds-typography-line-height-md, 24px);
2236 2239 font-size: 15px;
2237 2240 }
2238 2241
2239 2242 .dataviews-settings-section__sidebar {
@@ -2282,13 +2285,13 @@
2282 2285 }
2283 2286
2284 2287 .dataviews-view-config__modified-indicator {
2285 2288 position: absolute;
2286 - top: 4px;
2287 - right: 4px;
2288 - width: 4px;
2289 - height: 4px;
2290 - background: var(--wp-admin-theme-color, #3858e9);
2289 + top: var(--wpds-dimension-gap-xs, 4px);
2290 + right: var(--wpds-dimension-gap-xs, 4px);
2291 + width: var(--wpds-dimension-gap-xs, 4px);
2292 + height: var(--wpds-dimension-gap-xs, 4px);
2293 + background: var(--wpds-color-background-interactive-brand-strong, var(--wp-admin-theme-color, #3858e9));
2291 2294 border-radius: 50%;
2292 2295 pointer-events: none;
2293 2296 }
2294 2297
@@ -2294,12 +2297,12 @@
2294 2297
2295 2298 .dataviews-view-grid-items {
2296 2299 margin-bottom: auto;
2297 2300 display: grid;
2298 - gap: 24px;
2301 + gap: var(--wpds-dimension-gap-xl, 24px);
2299 2302 grid-template-rows: max-content;
2300 2303 grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
2301 - padding: 0 24px 24px;
2304 + padding: 0 var(--wpds-dimension-padding-2xl, 24px) var(--wpds-dimension-padding-2xl, 24px);
2302 2305 container-type: inline-size;
2303 2306 }
2304 2307
2305 2308 @media not (prefers-reduced-motion) {
@@ -2307,20 +2310,20 @@
2307 2310 transition: padding ease-out 0.1s;
2308 2311 }
2309 2312 }
2310 2313 .dataviews-view-grid-items.has-compact-density {
2311 - gap: 16px;
2314 + gap: var(--wpds-dimension-gap-lg, 16px);
2312 2315 }
2313 2316
2314 2317 .dataviews-view-grid-items.has-comfortable-density {
2315 - gap: 32px;
2318 + gap: var(--wpds-dimension-gap-2xl, 32px);
2316 2319 }
2317 2320
2318 2321 .dataviews-view-grid {
2319 - padding: 0 24px 24px;
2322 + padding: 0 var(--wpds-dimension-padding-2xl, 24px) var(--wpds-dimension-padding-2xl, 24px);
2320 2323 display: flex;
2321 2324 flex-direction: column;
2322 - gap: 24px;
2325 + gap: var(--wpds-dimension-gap-xl, 24px);
2323 2326 container-type: inline-size;
2324 2327 margin-bottom: auto;
2325 2328 }
2326 2329
@@ -2329,30 +2332,30 @@
2329 2332 transition: padding ease-out 0.1s;
2330 2333 }
2331 2334 }
2332 2335 .dataviews-view-grid.has-compact-density {
2333 - gap: 16px;
2336 + gap: var(--wpds-dimension-gap-lg, 16px);
2334 2337 }
2335 2338
2336 2339 .dataviews-view-grid.has-compact-density .dataviews-view-grid__row {
2337 - gap: 16px;
2340 + gap: var(--wpds-dimension-gap-lg, 16px);
2338 2341 }
2339 2342
2340 2343 .dataviews-view-grid.has-comfortable-density {
2341 - gap: 32px;
2344 + gap: var(--wpds-dimension-gap-2xl, 32px);
2342 2345 }
2343 2346
2344 2347 .dataviews-view-grid.has-comfortable-density .dataviews-view-grid__row {
2345 - gap: 32px;
2348 + gap: var(--wpds-dimension-gap-2xl, 32px);
2346 2349 }
2347 2350
2348 2351 .dataviews-view-grid .dataviews-view-grid__row {
2349 2352 display: grid;
2350 - gap: 24px;
2353 + gap: var(--wpds-dimension-gap-xl, 24px);
2351 2354 }
2352 2355
2353 2356 .dataviews-view-grid .dataviews-view-grid__row .dataviews-view-grid__row__gridcell {
2354 - border-radius: 4px;
2357 + border-radius: var(--wpds-border-radius-md, 4px);
2355 2358 position: relative;
2356 2359 }
2357 2360
2358 2361 .dataviews-view-grid .dataviews-view-grid__row .dataviews-view-grid__row__gridcell[data-focus-visible]::after {
@@ -2361,10 +2364,10 @@
2361 2364 top: 0;
2362 2365 left: 0;
2363 2366 width: 100%;
2364 2367 height: 100%;
2365 - box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
2366 - border-radius: 4px;
2368 + box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wpds-color-stroke-focus, var(--wp-admin-theme-color, #3858e9));
2369 + border-radius: var(--wpds-border-radius-md, 4px);
2367 2370 pointer-events: none;
2368 2371 outline: 2px solid transparent;
2369 2372 }
2370 2373
@@ -2372,18 +2375,19 @@
2372 2375 .dataviews-view-grid-infinite-scroll .dataviews-view-grid__card {
2373 2376 height: 100%;
2374 2377 justify-content: flex-start;
2375 2378 position: relative;
2379 + isolation: isolate;
2376 2380 }
2377 2381
2378 -.dataviews-view-grid .dataviews-view-grid__card .dataviews-view-grid__title,
2379 -.dataviews-view-grid-infinite-scroll .dataviews-view-grid__card .dataviews-view-grid__title {
2380 - padding: 8px 0 4px;
2382 +.dataviews-view-grid .dataviews-view-grid__card .dataviews-view-grid__title-actions,
2383 +.dataviews-view-grid-infinite-scroll .dataviews-view-grid__card .dataviews-view-grid__title-actions {
2384 + padding: var(--wpds-dimension-padding-sm, 8px) 0 var(--wpds-dimension-padding-xs, 4px);
2381 2385 }
2382 2386
2383 2387 .dataviews-view-grid .dataviews-view-grid__card .dataviews-view-grid__title-field,
2384 2388 .dataviews-view-grid-infinite-scroll .dataviews-view-grid__card .dataviews-view-grid__title-field {
2385 - min-height: 24px;
2389 + min-height: var(--wpds-dimension-size-sm, 24px);
2386 2390 overflow: hidden;
2387 2391 align-content: center;
2388 2392 text-align: start;
2389 2393 }
@@ -2394,34 +2398,27 @@
2394 2398 }
2395 2399
2396 2400 .dataviews-view-grid .dataviews-view-grid__card.is-selected .dataviews-view-grid__fields .dataviews-view-grid__field .dataviews-view-grid__field-value,
2397 2401 .dataviews-view-grid-infinite-scroll .dataviews-view-grid__card.is-selected .dataviews-view-grid__fields .dataviews-view-grid__field .dataviews-view-grid__field-value {
2398 - color: #1e1e1e;
2402 + color: var(--wpds-color-foreground-content-neutral, #1e1e1e);
2399 2403 }
2400 2404
2401 2405 .dataviews-view-grid .dataviews-view-grid__card.is-selected .dataviews-view-grid__media::after,
2402 -.dataviews-view-grid .dataviews-view-grid__card .dataviews-view-grid__media:focus::after,
2403 -.dataviews-view-grid-infinite-scroll .dataviews-view-grid__card.is-selected .dataviews-view-grid__media::after,
2404 -.dataviews-view-grid-infinite-scroll .dataviews-view-grid__card .dataviews-view-grid__media:focus::after {
2405 - background-color: rgba(var(--wp-admin-theme-color--rgb), 0.08);
2406 -}
2407 -
2408 -.dataviews-view-grid .dataviews-view-grid__card.is-selected .dataviews-view-grid__media::after,
2409 2406 .dataviews-view-grid-infinite-scroll .dataviews-view-grid__card.is-selected .dataviews-view-grid__media::after {
2410 - box-shadow: inset 0 0 0 1px var(--wp-admin-theme-color);
2407 + box-shadow: inset 0 0 0 var(--wpds-border-width-xs, 1px) var(--wpds-color-stroke-interactive-brand, var(--wp-admin-theme-color, #3858e9)), inset 0 0 0 var(--wpds-border-width-sm, 2px) var(--wpds-color-background-surface-neutral-strong, #fff);
2411 2408 }
2412 2409
2413 2410 .dataviews-view-grid .dataviews-view-grid__card .dataviews-view-grid__media:focus::after,
2414 2411 .dataviews-view-grid-infinite-scroll .dataviews-view-grid__card .dataviews-view-grid__media:focus::after {
2415 - box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
2412 + box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wpds-color-stroke-focus, var(--wp-admin-theme-color, #3858e9));
2416 2413 }
2417 2414
2418 2415 .dataviews-view-grid .dataviews-view-grid__media,
2419 2416 .dataviews-view-grid-infinite-scroll .dataviews-view-grid__media {
2420 2417 width: 100%;
2421 - aspect-ratio: 1/1;
2422 - background-color: #fff;
2423 - border-radius: 4px;
2418 + aspect-ratio: var(--wp-dataviews-media-aspect-ratio, 1/1);
2419 + background-color: var(--wpds-color-background-surface-neutral-strong, #fff);
2420 + border-radius: var(--wpds-border-radius-md, 4px);
2424 2421 overflow: hidden;
2425 2422 position: relative;
2426 2423 }
2427 2424
@@ -2444,10 +2441,10 @@
2444 2441 top: 0;
2445 2442 left: 0;
2446 2443 width: 100%;
2447 2444 height: 100%;
2448 - box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
2449 - border-radius: 4px;
2445 + box-shadow: inset 0 0 0 var(--wpds-border-width-xs, 1px) rgba(0, 0, 0, 0.1);
2446 + border-radius: var(--wpds-border-radius-md, 4px);
2450 2447 pointer-events: none;
2451 2448 }
2452 2449
2453 2450 .dataviews-view-grid .dataviews-view-grid__media .dataviews-view-grid__media-placeholder,
@@ -2454,13 +2451,23 @@
2454 2451 .dataviews-view-grid-infinite-scroll .dataviews-view-grid__media .dataviews-view-grid__media-placeholder {
2455 2452 width: 100%;
2456 2453 height: 100%;
2457 2454 display: block;
2458 - border-radius: 4px;
2455 + border-radius: var(--wpds-border-radius-md, 4px);
2459 2456 box-shadow: none;
2460 - background: #f0f0f0;
2457 + background: var(--wpds-color-background-surface-neutral, #fcfcfc);
2461 2458 }
2462 2459
2460 +.dataviews-view-grid.has-media-fit-contain .dataviews-view-grid__media,
2461 +.dataviews-view-grid-infinite-scroll.has-media-fit-contain .dataviews-view-grid__media {
2462 + background-color: var(--wpds-color-background-surface-neutral, #fcfcfc);
2463 +}
2464 +
2465 +.dataviews-view-grid.has-media-fit-contain .dataviews-view-grid__media img,
2466 +.dataviews-view-grid-infinite-scroll.has-media-fit-contain .dataviews-view-grid__media img {
2467 + object-fit: contain;
2468 +}
2469 +
2463 2470 .dataviews-view-grid .dataviews-view-grid__fields,
2464 2471 .dataviews-view-grid-infinite-scroll .dataviews-view-grid__fields {
2465 2472 position: relative;
2466 2473 font-size: 12px;
@@ -2468,21 +2475,21 @@
2468 2475 }
2469 2476
2470 2477 .dataviews-view-grid .dataviews-view-grid__fields:not(:empty),
2471 2478 .dataviews-view-grid-infinite-scroll .dataviews-view-grid__fields:not(:empty) {
2472 - padding: 0 0 12px;
2479 + padding: 0 0 var(--wpds-dimension-padding-md, 12px);
2473 2480 }
2474 2481
2475 2482 .dataviews-view-grid .dataviews-view-grid__fields .dataviews-view-grid__field-value:not(:empty),
2476 2483 .dataviews-view-grid-infinite-scroll .dataviews-view-grid__fields .dataviews-view-grid__field-value:not(:empty) {
2477 - min-height: 24px;
2478 - line-height: 20px;
2479 - padding-top: 2px;
2484 + min-height: var(--wpds-dimension-size-sm, 24px);
2485 + line-height: var(--wpds-typography-line-height-sm, 20px);
2486 + padding-top: calc((var(--wpds-dimension-size-sm, 24px) - var(--wpds-typography-line-height-sm, 20px)) / 2);
2480 2487 }
2481 2488
2482 2489 .dataviews-view-grid .dataviews-view-grid__fields .dataviews-view-grid__field,
2483 2490 .dataviews-view-grid-infinite-scroll .dataviews-view-grid__fields .dataviews-view-grid__field {
2484 - min-height: 24px;
2491 + min-height: var(--wpds-dimension-size-sm, 24px);
2485 2492 align-items: center;
2486 2493 }
2487 2494
2488 2495 .dataviews-view-grid .dataviews-view-grid__fields .dataviews-view-grid__field .dataviews-view-grid__field-name,
@@ -2487,9 +2494,9 @@
2487 2494
2488 2495 .dataviews-view-grid .dataviews-view-grid__fields .dataviews-view-grid__field .dataviews-view-grid__field-name,
2489 2496 .dataviews-view-grid-infinite-scroll .dataviews-view-grid__fields .dataviews-view-grid__field .dataviews-view-grid__field-name {
2490 2497 width: 35%;
2491 - color: #757575;
2498 + color: var(--wpds-color-foreground-content-neutral-weak, #707070);
2492 2499 overflow: hidden;
2493 2500 text-overflow: ellipsis;
2494 2501 white-space: nowrap;
2495 2502 }
@@ -2508,9 +2515,9 @@
2508 2515 }
2509 2516
2510 2517 .dataviews-view-grid .dataviews-view-grid__badge-fields:not(:empty),
2511 2518 .dataviews-view-grid-infinite-scroll .dataviews-view-grid__badge-fields:not(:empty) {
2512 - padding-bottom: 12px;
2519 + padding-bottom: var(--wpds-dimension-padding-md, 12px);
2513 2520 }
2514 2521
2515 2522 .dataviews-view-grid.is-refreshing,
2516 2523 .dataviews-view-grid-infinite-scroll.is-refreshing {
@@ -2532,9 +2539,9 @@
2532 2539
2533 2540 .dataviews-view-grid__card .dataviews-selection-checkbox {
2534 2541 position: absolute;
2535 2542 top: -9999em;
2536 - left: 8px;
2543 + left: var(--wpds-dimension-padding-sm, 8px);
2537 2544 z-index: 1;
2538 2545 opacity: 0;
2539 2546 }
2540 2547
@@ -2545,9 +2552,9 @@
2545 2552 }
2546 2553 @media (hover: none) {
2547 2554 .dataviews-view-grid__card .dataviews-selection-checkbox {
2548 2555 opacity: 1;
2549 - top: 8px;
2556 + top: var(--wpds-dimension-padding-sm, 8px);
2550 2557 }
2551 2558 }
2552 2559 .dataviews-view-grid__card:hover .dataviews-selection-checkbox,
2553 2560 .dataviews-view-grid__card:focus-within .dataviews-selection-checkbox,
@@ -2552,21 +2559,21 @@
2552 2559 .dataviews-view-grid__card:hover .dataviews-selection-checkbox,
2553 2560 .dataviews-view-grid__card:focus-within .dataviews-selection-checkbox,
2554 2561 .dataviews-view-grid__card.is-selected .dataviews-selection-checkbox {
2555 2562 opacity: 1;
2556 - top: 8px;
2563 + top: var(--wpds-dimension-padding-sm, 8px);
2557 2564 }
2558 2565
2559 2566 .dataviews-view-grid__card .dataviews-view-grid__media-actions {
2560 2567 position: absolute;
2561 2568 z-index: 1;
2562 - top: 4px;
2569 + top: var(--wpds-dimension-padding-xs, 4px);
2563 2570 opacity: 0;
2564 - right: 4px;
2571 + right: var(--wpds-dimension-padding-xs, 4px);
2565 2572 }
2566 2573
2567 2574 .dataviews-view-grid__card .dataviews-view-grid__media-actions .dataviews-all-actions-button {
2568 - background-color: #fff;
2575 + background-color: var(--wpds-color-background-surface-neutral-strong, #fff);
2569 2576 }
2570 2577
2571 2578 @media not (prefers-reduced-motion) {
2572 2579 .dataviews-view-grid__card .dataviews-view-grid__media-actions {
@@ -2575,9 +2582,9 @@
2575 2582 }
2576 2583 @media (hover: none) {
2577 2584 .dataviews-view-grid__card .dataviews-view-grid__media-actions {
2578 2585 opacity: 1;
2579 - top: 4px;
2586 + top: var(--wpds-dimension-padding-xs, 4px);
2580 2587 }
2581 2588 }
2582 2589 .dataviews-view-grid__card:hover .dataviews-view-grid__media-actions,
2583 2590 .dataviews-view-grid__card:focus-within .dataviews-view-grid__media-actions,
@@ -2589,13 +2596,13 @@
2589 2596 cursor: var(--wpds-cursor-control, pointer);
2590 2597 }
2591 2598
2592 2599 .dataviews-view-grid__group-header {
2593 - font-size: 15px;
2594 - font-weight: 499;
2595 - color: #1e1e1e;
2596 - margin: 0 0 8px 0;
2597 - padding: 0 24px;
2600 + font-size: var(--wpds-typography-font-size-lg, 15px);
2601 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
2602 + color: var(--wpds-color-foreground-content-neutral, #1e1e1e);
2603 + margin: 0 0 var(--wpds-dimension-gap-sm, 8px) 0;
2604 + padding: 0 var(--wpds-dimension-padding-2xl, 24px);
2598 2605 container-type: inline-size;
2599 2606 }
2600 2607
2601 2608 div.dataviews-view-list {
@@ -2608,15 +2615,15 @@
2608 2615
2609 2616 .dataviews-view-list div[role=row],
2610 2617 .dataviews-view-list div[role=article] {
2611 2618 margin: 0;
2612 - border-top: 1px solid #f0f0f0;
2619 + border-top: 1px solid var(--wpds-color-stroke-surface-neutral-weak, #f0f0f0);
2613 2620 }
2614 2621
2615 2622 .dataviews-view-list div[role=row] .dataviews-view-list__item-wrapper,
2616 2623 .dataviews-view-list div[role=article] .dataviews-view-list__item-wrapper {
2617 2624 position: relative;
2618 - padding: 16px 24px;
2625 + padding: var(--wpds-dimension-padding-lg, 16px) var(--wpds-dimension-padding-2xl, 24px);
2619 2626 box-sizing: border-box;
2620 2627 }
2621 2628
2622 2629 .dataviews-view-list div[role=row] .dataviews-view-list__item-actions,
@@ -2623,9 +2630,9 @@
2623 2630 .dataviews-view-list div[role=article] .dataviews-view-list__item-actions {
2624 2631 display: flex;
2625 2632 width: max-content;
2626 2633 flex: 0 0 auto;
2627 - gap: 4px;
2634 + gap: var(--wpds-dimension-gap-xs, 4px);
2628 2635 white-space: nowrap;
2629 2636 }
2630 2637
2631 2638 .dataviews-view-list div[role=row] .dataviews-view-list__item-actions .components-button,
@@ -2635,9 +2642,9 @@
2635 2642 }
2636 2643
2637 2644 .dataviews-view-list div[role=row] .dataviews-view-list__item-actions > div,
2638 2645 .dataviews-view-list div[role=article] .dataviews-view-list__item-actions > div {
2639 - height: 24px;
2646 + height: var(--wpds-dimension-size-sm, 24px);
2640 2647 }
2641 2648
2642 2649 .dataviews-view-list div[role=row] .dataviews-view-list__item-actions > :not(:last-child),
2643 2650 .dataviews-view-list div[role=article] .dataviews-view-list__item-actions > :not(:last-child) {
@@ -2662,15 +2669,15 @@
2662 2669 }
2663 2670 }
2664 2671 .dataviews-view-list div[role=row].is-selected.is-selected,
2665 2672 .dataviews-view-list div[role=article].is-selected.is-selected {
2666 - border-top: 1px solid rgba(var(--wp-admin-theme-color--rgb), 0.12);
2673 + border-top: 1px solid var(--wpds-color-stroke-surface-brand, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 40%, white));
2667 2674 }
2668 2675
2669 2676 .dataviews-view-list div[role=row].is-selected.is-selected + div[role=row], .dataviews-view-list div[role=row].is-selected.is-selected + div[role=article],
2670 2677 .dataviews-view-list div[role=article].is-selected.is-selected + div[role=row],
2671 2678 .dataviews-view-list div[role=article].is-selected.is-selected + div[role=article] {
2672 - border-top: 1px solid rgba(var(--wp-admin-theme-color--rgb), 0.12);
2679 + border-top: 1px solid var(--wpds-color-stroke-surface-brand, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 40%, white));
2673 2680 }
2674 2681
2675 2682 .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,
2676 2683 .dataviews-view-list div[role=article]:not(.is-selected):hover,
@@ -2675,23 +2682,11 @@
2675 2682 .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,
2676 2683 .dataviews-view-list div[role=article]:not(.is-selected):hover,
2677 2684 .dataviews-view-list div[role=article]:not(.is-selected).is-hovered,
2678 2685 .dataviews-view-list div[role=article]:not(.is-selected):focus-within {
2679 - color: var(--wp-admin-theme-color);
2680 - background-color: rgba(var(--wp-admin-theme-color--rgb), 0.04);
2681 - border-top: 1px solid rgba(var(--wp-admin-theme-color--rgb), 0.12);
2686 + background-color: var(--wpds-color-background-interactive-neutral-weak-active, #ededed);
2682 2687 }
2683 2688
2684 -.dataviews-view-list div[role=row]:not(.is-selected):hover + div[role=row], .dataviews-view-list div[role=row]:not(.is-selected):hover + div[role=article], .dataviews-view-list div[role=row]:not(.is-selected).is-hovered + div[role=row], .dataviews-view-list div[role=row]:not(.is-selected).is-hovered + div[role=article], .dataviews-view-list div[role=row]:not(.is-selected):focus-within + div[role=row], .dataviews-view-list div[role=row]:not(.is-selected):focus-within + div[role=article],
2685 -.dataviews-view-list div[role=article]:not(.is-selected):hover + div[role=row],
2686 -.dataviews-view-list div[role=article]:not(.is-selected):hover + div[role=article],
2687 -.dataviews-view-list div[role=article]:not(.is-selected).is-hovered + div[role=row],
2688 -.dataviews-view-list div[role=article]:not(.is-selected).is-hovered + div[role=article],
2689 -.dataviews-view-list div[role=article]:not(.is-selected):focus-within + div[role=row],
2690 -.dataviews-view-list div[role=article]:not(.is-selected):focus-within + div[role=article] {
2691 - border-top: 1px solid rgba(var(--wp-admin-theme-color--rgb), 0.12);
2692 -}
2693 -
2694 2689 .dataviews-view-list div[role=row]:not(.is-selected):hover .dataviews-title-field,
2695 2690 .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,
2696 2691 .dataviews-view-list div[role=row]:not(.is-selected).is-hovered .dataviews-view-list__field, .dataviews-view-list div[role=row]:not(.is-selected):focus-within .dataviews-title-field,
2697 2692 .dataviews-view-list div[role=row]:not(.is-selected):focus-within .dataviews-view-list__field,
@@ -2700,9 +2695,9 @@
2700 2695 .dataviews-view-list div[role=article]:not(.is-selected).is-hovered .dataviews-title-field,
2701 2696 .dataviews-view-list div[role=article]:not(.is-selected).is-hovered .dataviews-view-list__field,
2702 2697 .dataviews-view-list div[role=article]:not(.is-selected):focus-within .dataviews-title-field,
2703 2698 .dataviews-view-list div[role=article]:not(.is-selected):focus-within .dataviews-view-list__field {
2704 - color: var(--wp-admin-theme-color);
2699 + color: var(--wpds-color-foreground-interactive-neutral, #1e1e1e);
2705 2700 }
2706 2701
2707 2702 .dataviews-view-list div[role=row].is-selected .dataviews-view-list__item-wrapper,
2708 2703 .dataviews-view-list div[role=row].is-selected:focus-within .dataviews-view-list__item-wrapper,
@@ -2707,10 +2702,10 @@
2707 2702 .dataviews-view-list div[role=row].is-selected .dataviews-view-list__item-wrapper,
2708 2703 .dataviews-view-list div[role=row].is-selected:focus-within .dataviews-view-list__item-wrapper,
2709 2704 .dataviews-view-list div[role=article].is-selected .dataviews-view-list__item-wrapper,
2710 2705 .dataviews-view-list div[role=article].is-selected:focus-within .dataviews-view-list__item-wrapper {
2711 - background-color: rgba(var(--wp-admin-theme-color--rgb), 0.08);
2712 - color: #1e1e1e;
2706 + background-color: var(--wpds-color-background-interactive-brand-weak-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 12%, white));
2707 + color: var(--wpds-color-foreground-content-neutral, #1e1e1e);
2713 2708 }
2714 2709
2715 2710 .dataviews-view-list div[role=row].is-selected .dataviews-view-list__item-wrapper .dataviews-title-field,
2716 2711 .dataviews-view-list div[role=row].is-selected .dataviews-view-list__item-wrapper .dataviews-view-list__field,
@@ -2719,9 +2714,9 @@
2719 2714 .dataviews-view-list div[role=article].is-selected .dataviews-view-list__item-wrapper .dataviews-title-field,
2720 2715 .dataviews-view-list div[role=article].is-selected .dataviews-view-list__item-wrapper .dataviews-view-list__field,
2721 2716 .dataviews-view-list div[role=article].is-selected:focus-within .dataviews-view-list__item-wrapper .dataviews-title-field,
2722 2717 .dataviews-view-list div[role=article].is-selected:focus-within .dataviews-view-list__item-wrapper .dataviews-view-list__field {
2723 - color: #1e1e1e;
2718 + color: var(--wpds-color-foreground-content-neutral, #1e1e1e);
2724 2719 }
2725 2720
2726 2721 .dataviews-view-list .dataviews-view-list__item {
2727 2722 position: absolute;
@@ -2726,9 +2721,9 @@
2726 2721 .dataviews-view-list .dataviews-view-list__item {
2727 2722 position: absolute;
2728 2723 z-index: 1;
2729 2724 inset: 0;
2730 - scroll-margin: 8px 0;
2725 + scroll-margin: var(--wpds-dimension-gap-sm, 8px) 0;
2731 2726 appearance: none;
2732 2727 border: none;
2733 2728 background: none;
2734 2729 padding: 0;
@@ -2742,17 +2737,17 @@
2742 2737 .dataviews-view-list .dataviews-view-list__item:focus-visible::before {
2743 2738 position: absolute;
2744 2739 content: "";
2745 2740 inset: var(--wp-admin-border-width-focus);
2746 - box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
2747 - border-radius: 2px;
2741 + box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wpds-color-stroke-focus, var(--wp-admin-theme-color, #3858e9));
2742 + border-radius: var(--wpds-border-radius-sm, 2px);
2748 2743 outline: 2px solid transparent;
2749 2744 }
2750 2745
2751 2746 .dataviews-view-list .dataviews-view-list__title-field {
2752 2747 flex: 1;
2753 - min-height: 24px;
2754 - line-height: 24px;
2748 + min-height: var(--wpds-dimension-size-sm, 24px);
2749 + line-height: var(--wpds-typography-line-height-md, 24px);
2755 2750 overflow: hidden;
2756 2751 }
2757 2752
2758 2753 .dataviews-view-list .dataviews-view-list__title-field:has(a, button) {
@@ -2759,15 +2754,15 @@
2759 2754 z-index: 1;
2760 2755 }
2761 2756
2762 2757 .dataviews-view-list .dataviews-view-list__media-wrapper {
2763 - width: 52px;
2764 - height: 52px;
2758 + width: 48px;
2759 + height: 48px;
2765 2760 overflow: hidden;
2766 2761 position: relative;
2767 2762 flex-shrink: 0;
2768 - background-color: #fff;
2769 - border-radius: 4px;
2763 + background-color: var(--wpds-color-background-surface-neutral-strong, #fff);
2764 + border-radius: var(--wpds-border-radius-md, 4px);
2770 2765 }
2771 2766
2772 2767 .dataviews-view-list .dataviews-view-list__media-wrapper img {
2773 2768 width: 100%;
@@ -2781,25 +2776,26 @@
2781 2776 top: 0;
2782 2777 left: 0;
2783 2778 width: 100%;
2784 2779 height: 100%;
2785 - box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
2786 - border-radius: 4px;
2780 + box-shadow: inset 0 0 0 var(--wpds-border-width-xs, 1px) rgba(0, 0, 0, 0.1);
2781 + border-radius: var(--wpds-border-radius-md, 4px);
2787 2782 }
2788 2783
2789 2784 .dataviews-view-list .dataviews-view-list__field-wrapper {
2785 + min-height: 48px;
2790 2786 flex-grow: 1;
2791 2787 min-width: 0;
2792 2788 }
2793 2789
2794 2790 .dataviews-view-list .dataviews-view-list__field {
2795 - color: #757575;
2791 + color: var(--wpds-color-foreground-content-neutral-weak, #707070);
2796 2792 }
2797 2793
2798 2794 .dataviews-view-list .dataviews-view-list__fields {
2799 2795 display: flex;
2800 - gap: 12px;
2801 - row-gap: 4px;
2796 + gap: var(--wpds-dimension-gap-md, 12px);
2797 + row-gap: var(--wpds-dimension-gap-xs, 4px);
2802 2798 flex-wrap: wrap;
2803 2799 font-size: 12px;
2804 2800 }
2805 2801
@@ -2811,10 +2807,10 @@
2811 2807 display: none;
2812 2808 }
2813 2809
2814 2810 .dataviews-view-list .dataviews-view-list__fields .dataviews-view-list__field-value {
2815 - min-height: 24px;
2816 - line-height: 20px;
2811 + min-height: var(--wpds-dimension-size-sm, 24px);
2812 + line-height: var(--wpds-typography-line-height-sm, 20px);
2817 2813 display: flex;
2818 2814 align-items: center;
2819 2815 }
2820 2816
@@ -2822,38 +2818,42 @@
2822 2818 justify-content: space-between;
2823 2819 }
2824 2820
2825 2821 .dataviews-view-list.has-compact-density div[role=row] .dataviews-view-list__item-wrapper {
2826 - padding: 8px 24px;
2822 + padding: var(--wpds-dimension-padding-sm, 8px) var(--wpds-dimension-padding-2xl, 24px);
2827 2823 }
2828 2824
2829 2825 .dataviews-view-list.has-compact-density div[role=row] .dataviews-view-list__title-field {
2830 - min-height: 16px;
2831 - line-height: 16px;
2826 + min-height: var(--wpds-dimension-size-2xs, 16px);
2827 + line-height: var(--wpds-typography-line-height-xs, 16px);
2832 2828 }
2833 2829
2834 2830 .dataviews-view-list.has-compact-density div[role=row] .dataviews-view-list__media-wrapper {
2835 - width: 32px;
2836 - height: 32px;
2831 + width: var(--wpds-dimension-size-md, 32px);
2832 + height: var(--wpds-dimension-size-md, 32px);
2837 2833 }
2838 2834
2835 +.dataviews-view-list.has-compact-density div[role=row] .dataviews-view-list__field-wrapper {
2836 + min-height: var(--wpds-dimension-size-md, 32px);
2837 +}
2838 +
2839 2839 .dataviews-view-list.has-compact-density div[role=row] .dataviews-view-list__fields {
2840 - gap: 8px;
2841 - row-gap: 4px;
2840 + gap: var(--wpds-dimension-gap-sm, 8px);
2841 + row-gap: var(--wpds-dimension-gap-xs, 4px);
2842 2842 }
2843 2843
2844 2844 .dataviews-view-list.has-compact-density div[role=row] .dataviews-view-list__fields .dataviews-view-list__field-value {
2845 - min-height: 16px;
2846 - line-height: 16px;
2845 + min-height: var(--wpds-dimension-size-2xs, 16px);
2846 + line-height: var(--wpds-typography-line-height-xs, 16px);
2847 2847 }
2848 2848
2849 2849 .dataviews-view-list.has-comfortable-density div[role=row] .dataviews-view-list__item-wrapper {
2850 - padding: 24px 24px;
2850 + padding: var(--wpds-dimension-padding-2xl, 24px) var(--wpds-dimension-padding-2xl, 24px);
2851 2851 }
2852 2852
2853 2853 .dataviews-view-list.has-comfortable-density div[role=row] .dataviews-view-list__title-field {
2854 - min-height: 32px;
2855 - line-height: 32px;
2854 + min-height: var(--wpds-dimension-size-md, 32px);
2855 + line-height: var(--wpds-typography-line-height-xl, 32px);
2856 2856 }
2857 2857
2858 2858 .dataviews-view-list.has-comfortable-density div[role=row] .dataviews-view-list__media-wrapper {
2859 2859 width: 64px;
@@ -2859,16 +2859,20 @@
2859 2859 width: 64px;
2860 2860 height: 64px;
2861 2861 }
2862 2862
2863 +.dataviews-view-list.has-comfortable-density div[role=row] .dataviews-view-list__field-wrapper {
2864 + min-height: 64px;
2865 +}
2866 +
2863 2867 .dataviews-view-list.has-comfortable-density div[role=row] .dataviews-view-list__fields {
2864 - gap: 16px;
2865 - row-gap: 8px;
2868 + gap: var(--wpds-dimension-gap-lg, 16px);
2869 + row-gap: var(--wpds-dimension-gap-sm, 8px);
2866 2870 }
2867 2871
2868 2872 .dataviews-view-list.has-comfortable-density div[role=row] .dataviews-view-list__fields .dataviews-view-list__field-value {
2869 - min-height: 32px;
2870 - line-height: 24px;
2873 + min-height: var(--wpds-dimension-size-md, 32px);
2874 + line-height: var(--wpds-typography-line-height-md, 24px);
2871 2875 }
2872 2876
2873 2877 .dataviews-view-list.is-refreshing {
2874 2878 opacity: 0.5;
@@ -2881,13 +2885,13 @@
2881 2885 animation: dataviews-pulse 1s ease-in-out infinite;
2882 2886 }
2883 2887 }
2884 2888 .dataviews-view-list__group-header {
2885 - font-size: 15px;
2886 - font-weight: 499;
2887 - color: #1e1e1e;
2888 - margin: 0 0 8px 0;
2889 - padding: 0 24px;
2889 + font-size: var(--wpds-typography-font-size-lg, 15px);
2890 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
2891 + color: var(--wpds-color-foreground-content-neutral, #1e1e1e);
2892 + margin: 0 0 var(--wpds-dimension-gap-lg, 16px) 0;
2893 + padding: 0 var(--wpds-dimension-padding-2xl, 24px);
2890 2894 }
2891 2895
2892 2896 .dataviews-view-table {
2893 2897 width: 100%;
@@ -2894,9 +2898,9 @@
2894 2898 text-indent: 0;
2895 2899 border-color: inherit;
2896 2900 border-collapse: collapse;
2897 2901 position: relative;
2898 - color: #757575;
2902 + color: var(--wpds-color-foreground-content-neutral-weak, #707070);
2899 2903 margin-bottom: auto;
2900 2904 background-color: inherit;
2901 2905 }
2902 2906
@@ -2901,16 +2905,16 @@
2901 2905 }
2902 2906
2903 2907 .dataviews-view-table th {
2904 2908 text-align: left;
2905 - color: #1e1e1e;
2906 - font-weight: normal;
2907 - font-size: 13px;
2909 + color: var(--wpds-color-foreground-content-neutral, #1e1e1e);
2910 + font-weight: 400;
2911 + font-size: var(--wpds-typography-font-size-md, 13px);
2908 2912 }
2909 2913
2910 2914 .dataviews-view-table td,
2911 2915 .dataviews-view-table th {
2912 - padding: 12px;
2916 + padding: var(--wpds-dimension-padding-md, 12px);
2913 2917 }
2914 2918
2915 2919 .dataviews-view-table td.dataviews-view-table__actions-column,
2916 2920 .dataviews-view-table th.dataviews-view-table__actions-column {
@@ -2920,9 +2924,9 @@
2920 2924 .dataviews-view-table td.dataviews-view-table__actions-column--sticky,
2921 2925 .dataviews-view-table th.dataviews-view-table__actions-column--sticky {
2922 2926 position: sticky;
2923 2927 right: 0;
2924 - background-color: var(--wp-dataviews-color-background, #fff);
2928 + background-color: var(--wp-dataviews-color-background, var(--wpds-color-background-surface-neutral-strong, #fff));
2925 2929 }
2926 2930
2927 2931 .dataviews-view-table td.dataviews-view-table__actions-column--stuck::after,
2928 2932 .dataviews-view-table th.dataviews-view-table__actions-column--stuck::after {
@@ -2932,9 +2936,9 @@
2932 2936 top: 0;
2933 2937 bottom: 0;
2934 2938 left: 0;
2935 2939 width: 1px;
2936 - background-color: #f0f0f0;
2940 + background-color: var(--wpds-color-stroke-surface-neutral-weak, #f0f0f0);
2937 2941 }
2938 2942
2939 2943 .dataviews-view-table td.dataviews-view-table__checkbox-column,
2940 2944 .dataviews-view-table th.dataviews-view-table__checkbox-column {
@@ -2947,20 +2951,20 @@
2947 2951 min-width: auto;
2948 2952 }
2949 2953
2950 2954 .dataviews-view-table tr {
2951 - border-top: 1px solid #f0f0f0;
2955 + border-top: 1px solid var(--wpds-color-stroke-surface-neutral-weak, #f0f0f0);
2952 2956 background-color: inherit;
2953 2957 }
2954 2958
2955 2959 .dataviews-view-table tr td:first-child,
2956 2960 .dataviews-view-table tr th:first-child {
2957 - padding-left: 24px;
2961 + padding-left: var(--wpds-dimension-padding-2xl, 24px);
2958 2962 }
2959 2963
2960 2964 .dataviews-view-table tr td:last-child,
2961 2965 .dataviews-view-table tr th:last-child {
2962 - padding-right: 24px;
2966 + padding-right: var(--wpds-dimension-padding-2xl, 24px);
2963 2967 }
2964 2968
2965 2969 .dataviews-view-table tr:last-child {
2966 2970 border-bottom: 0;
@@ -2975,18 +2979,18 @@
2975 2979 opacity: 1;
2976 2980 }
2977 2981 }
2978 2982 .dataviews-view-table tr.is-selected {
2979 - background-color: color-mix(in srgb, rgb(var(--wp-admin-theme-color--rgb)) 4%, #fff);
2980 - color: #757575;
2983 + background-color: var(--wpds-color-background-interactive-brand-weak-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 12%, white));
2984 + color: var(--wpds-color-foreground-content-neutral, #1e1e1e);
2981 2985 }
2982 2986
2983 2987 .dataviews-view-table tr.is-selected, .dataviews-view-table tr.is-selected + tr {
2984 - border-top: 1px solid rgba(var(--wp-admin-theme-color--rgb), 0.12);
2988 + border-top: 1px solid var(--wpds-color-stroke-surface-brand, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 40%, white));
2985 2989 }
2986 2990
2987 2991 .dataviews-view-table tr.is-selected .dataviews-view-table__actions-column--sticky {
2988 - background-color: color-mix(in srgb, rgb(var(--wp-admin-theme-color--rgb)) 4%, #fff);
2992 + background-color: var(--wpds-color-background-interactive-brand-weak-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 12%, white));
2989 2993 }
2990 2994
2991 2995 .dataviews-view-table tr:focus-within .dataviews-item-actions .components-button:not(.dataviews-all-actions-button), .dataviews-view-table tr.is-hovered .dataviews-item-actions .components-button:not(.dataviews-all-actions-button), .dataviews-view-table tr:hover .dataviews-item-actions .components-button:not(.dataviews-all-actions-button) {
2992 2996 opacity: 1;
@@ -2992,13 +2996,13 @@
2992 2996 opacity: 1;
2993 2997 }
2994 2998
2995 2999 .dataviews-view-table.has-bulk-actions tr:focus-within .dataviews-view-table__actions-column--sticky, .dataviews-view-table.has-bulk-actions tr:hover .dataviews-view-table__actions-column--sticky {
2996 - background-color: var(--wp-dataviews-color-background, #fff);
3000 + background-color: var(--wp-dataviews-color-background, var(--wpds-color-background-surface-neutral-strong, #fff));
2997 3001 }
2998 3002
2999 3003 .dataviews-view-table.has-bulk-actions tr.is-selected .dataviews-view-table__actions-column--sticky, .dataviews-view-table.has-bulk-actions tr.is-selected:hover .dataviews-view-table__actions-column--sticky {
3000 - background-color: color-mix(in srgb, rgb(var(--wp-admin-theme-color--rgb)) 4%, #fff);
3004 + background-color: var(--wpds-color-background-interactive-brand-weak-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 12%, white));
3001 3005 }
3002 3006
3003 3007 .dataviews-view-table thead {
3004 3008 position: sticky;
@@ -3014,9 +3018,9 @@
3014 3018 bottom: 0;
3015 3019 left: 0;
3016 3020 right: 0;
3017 3021 height: 1px;
3018 - background-color: #f0f0f0;
3022 + background-color: var(--wpds-color-stroke-surface-neutral-weak, #f0f0f0);
3019 3023 }
3020 3024
3021 3025 .dataviews-view-table thead tr {
3022 3026 border: 0;
@@ -3023,30 +3027,30 @@
3023 3027 }
3024 3028
3025 3029 .dataviews-view-table thead th {
3026 3030 background-color: inherit;
3027 - padding-top: 8px;
3028 - padding-bottom: 8px;
3031 + padding-top: var(--wpds-dimension-padding-sm, 8px);
3032 + padding-bottom: var(--wpds-dimension-padding-sm, 8px);
3029 3033 font-size: 11px;
3030 3034 text-transform: uppercase;
3031 - font-weight: 499;
3035 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
3032 3036 }
3033 3037
3034 3038 .dataviews-view-table thead th:has(.dataviews-view-table-header-button) {
3035 - padding-left: 4px;
3036 - padding-right: 4px;
3039 + padding-left: var(--wpds-dimension-padding-xs, 4px);
3040 + padding-right: var(--wpds-dimension-padding-xs, 4px);
3037 3041 }
3038 3042
3039 3043 .dataviews-view-table thead th:has(.dataviews-view-table-header-button) .dataviews-view-table-header-button {
3040 - gap: 4px;
3044 + gap: var(--wpds-dimension-gap-xs, 4px);
3041 3045 }
3042 3046
3043 3047 .dataviews-view-table thead th:has(.dataviews-view-table-header-button):first-child {
3044 - padding-left: 16px;
3048 + padding-left: var(--wpds-dimension-padding-lg, 16px);
3045 3049 }
3046 3050
3047 3051 .dataviews-view-table thead th:has(.dataviews-view-table-header-button):last-child {
3048 - padding-right: 16px;
3052 + padding-right: var(--wpds-dimension-padding-lg, 16px);
3049 3053 }
3050 3054
3051 3055 .dataviews-view-table tbody td {
3052 3056 vertical-align: top;
@@ -3052,9 +3056,9 @@
3052 3056 vertical-align: top;
3053 3057 }
3054 3058
3055 3059 .dataviews-view-table tbody .dataviews-view-table__cell-content-wrapper {
3056 - min-height: 32px;
3060 + min-height: var(--wpds-dimension-size-md, 32px);
3057 3061 display: flex;
3058 3062 align-items: center;
3059 3063 white-space: nowrap;
3060 3064 }
@@ -3072,16 +3076,16 @@
3072 3076 min-height: 0;
3073 3077 }
3074 3078
3075 3079 .dataviews-view-table .dataviews-view-table-header-button {
3076 - padding: 4px 8px;
3080 + padding: var(--wpds-dimension-padding-xs, 4px) var(--wpds-dimension-padding-sm, 8px);
3077 3081 font-size: 11px;
3078 3082 text-transform: uppercase;
3079 - font-weight: 499;
3083 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
3080 3084 }
3081 3085
3082 3086 .dataviews-view-table .dataviews-view-table-header-button:not(:hover) {
3083 - color: #1e1e1e;
3087 + color: var(--wpds-color-foreground-interactive-neutral, #1e1e1e);
3084 3088 }
3085 3089
3086 3090 .dataviews-view-table .dataviews-view-table-header-button span {
3087 3091 speak: none;
@@ -3091,9 +3095,9 @@
3091 3095 display: none;
3092 3096 }
3093 3097
3094 3098 .dataviews-view-table .dataviews-view-table-header {
3095 - padding-left: 4px;
3099 + padding-left: var(--wpds-dimension-padding-xs, 4px);
3096 3100 }
3097 3101
3098 3102 .dataviews-view-table .dataviews-view-table__actions-column {
3099 3103 width: auto;
@@ -3109,14 +3113,14 @@
3109 3113 }
3110 3114
3111 3115 .dataviews-view-table.has-compact-density td,
3112 3116 .dataviews-view-table.has-compact-density th {
3113 - padding: 4px 8px;
3117 + padding: var(--wpds-dimension-padding-xs, 4px) var(--wpds-dimension-padding-sm, 8px);
3114 3118 }
3115 3119
3116 3120 .dataviews-view-table.has-comfortable-density td,
3117 3121 .dataviews-view-table.has-comfortable-density th {
3118 - padding: 16px 12px;
3122 + padding: var(--wpds-dimension-padding-lg, 16px) var(--wpds-dimension-padding-md, 12px);
3119 3123 }
3120 3124
3121 3125 .dataviews-view-table.has-compact-density td.dataviews-view-table__checkbox-column,
3122 3126 .dataviews-view-table.has-compact-density th.dataviews-view-table__checkbox-column, .dataviews-view-table.has-comfortable-density td.dataviews-view-table__checkbox-column,
@@ -3134,20 +3138,20 @@
3134 3138 }
3135 3139 }
3136 3140 .dataviews-column-primary__media {
3137 3141 max-width: 60px;
3138 - min-width: 32px;
3139 - min-height: 32px;
3142 + min-width: var(--wpds-dimension-size-md, 32px);
3143 + min-height: var(--wpds-dimension-size-md, 32px);
3140 3144 overflow: hidden;
3141 3145 position: relative;
3142 3146 flex-shrink: 0;
3143 - background-color: #fff;
3144 - border-radius: 4px;
3147 + background-color: var(--wpds-color-background-surface-neutral-strong, #fff);
3148 + border-radius: var(--wpds-border-radius-md, 4px);
3145 3149 }
3146 3150
3147 3151 .dataviews-column-primary__media img {
3148 - width: 32px;
3149 - height: 32px;
3152 + width: var(--wpds-dimension-size-md, 32px);
3153 + height: var(--wpds-dimension-size-md, 32px);
3150 3154 object-fit: cover;
3151 3155 }
3152 3156
3153 3157 .dataviews-column-primary__media::after {
@@ -3156,12 +3160,23 @@
3156 3160 top: 0;
3157 3161 left: 0;
3158 3162 width: 100%;
3159 3163 height: 100%;
3160 - box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
3161 - border-radius: 4px;
3164 + box-shadow: inset 0 0 0 var(--wpds-border-width-xs, 1px) rgba(0, 0, 0, 0.1);
3165 + border-radius: var(--wpds-border-radius-md, 4px);
3162 3166 }
3163 3167
3168 +.dataviews-view-table.has-media-aspect-ratio .dataviews-column-primary__media {
3169 + height: var(--wpds-dimension-size-md, 32px);
3170 + aspect-ratio: var(--wp-dataviews-media-aspect-ratio, 1/1);
3171 + min-width: 0;
3172 +}
3173 +
3174 +.dataviews-view-table.has-media-aspect-ratio .dataviews-column-primary__media img {
3175 + width: 100%;
3176 + height: 100%;
3177 +}
3178 +
3164 3179 .dataviews-view-table__cell-content-wrapper:not(.dataviews-column-primary__media),
3165 3180 .dataviews-view-table__primary-column-content:not(.dataviews-column-primary__media) {
3166 3181 min-width: 15ch;
3167 3182 max-width: 80ch;
@@ -3167,11 +3182,11 @@
3167 3182 max-width: 80ch;
3168 3183 }
3169 3184
3170 3185 .dataviews-view-table__group-header-row .dataviews-view-table__group-header-cell {
3171 - font-weight: 499;
3172 - padding: 12px 24px;
3173 - color: #1e1e1e;
3186 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
3187 + padding: var(--wpds-dimension-padding-md, 12px) var(--wpds-dimension-padding-2xl, 24px);
3188 + color: var(--wpds-color-foreground-content-neutral, #1e1e1e);
3174 3189 }
3175 3190
3176 3191 /* Column width intents via colgroup: make non-primary columns shrink-to-fit */
3177 3192 .dataviews-view-table col[class^=dataviews-view-table__col-]:not(.dataviews-view-table__col-first-data):not(.dataviews-view-table__col-expand) {
@@ -3189,13 +3204,13 @@
3189 3204 animation: dataviews-pulse 1s ease-in-out infinite;
3190 3205 }
3191 3206 }
3192 3207 .dataviews-view-picker-grid.has-compact-density .dataviews-view-grid-items {
3193 - gap: 16px;
3208 + gap: var(--wpds-dimension-gap-lg, 16px);
3194 3209 }
3195 3210
3196 3211 .dataviews-view-picker-grid.has-comfortable-density .dataviews-view-grid-items {
3197 - gap: 32px;
3212 + gap: var(--wpds-dimension-gap-2xl, 32px);
3198 3213 }
3199 3214
3200 3215 .dataviews-view-picker-grid .dataviews-view-picker-grid__card {
3201 3216 height: 100%;
@@ -3200,16 +3215,17 @@
3200 3215 .dataviews-view-picker-grid .dataviews-view-picker-grid__card {
3201 3216 height: 100%;
3202 3217 justify-content: flex-start;
3203 3218 position: relative;
3219 + isolation: isolate;
3204 3220 }
3205 3221
3206 3222 .dataviews-view-picker-grid .dataviews-view-picker-grid__card .dataviews-view-picker-grid__title-actions {
3207 - padding: 8px 0 4px;
3223 + padding: var(--wpds-dimension-padding-sm, 8px) 0 var(--wpds-dimension-padding-xs, 4px);
3208 3224 }
3209 3225
3210 3226 .dataviews-view-picker-grid .dataviews-view-picker-grid__card .dataviews-view-picker-grid__title-field {
3211 - min-height: 24px;
3227 + min-height: var(--wpds-dimension-size-sm, 24px);
3212 3228 overflow: hidden;
3213 3229 align-content: center;
3214 3230 text-align: start;
3215 3231 }
@@ -3218,22 +3234,17 @@
3218 3234 width: fit-content;
3219 3235 }
3220 3236
3221 3237 .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 {
3222 - color: #1e1e1e;
3238 + color: var(--wpds-color-foreground-content-neutral, #1e1e1e);
3223 3239 }
3224 3240
3225 -.dataviews-view-picker-grid .dataviews-view-picker-grid__card.is-selected .dataviews-view-picker-grid__media::after,
3226 -.dataviews-view-picker-grid .dataviews-view-picker-grid__card .dataviews-view-picker-grid__media:focus::after {
3227 - background-color: rgba(var(--wp-admin-theme-color--rgb), 0.08);
3228 -}
3229 -
3230 3241 .dataviews-view-picker-grid .dataviews-view-picker-grid__card.is-selected .dataviews-view-picker-grid__media::after {
3231 - box-shadow: inset 0 0 0 1px var(--wp-admin-theme-color);
3242 + box-shadow: inset 0 0 0 var(--wpds-border-width-xs, 1px) var(--wpds-color-stroke-interactive-brand, var(--wp-admin-theme-color, #3858e9)), inset 0 0 0 var(--wpds-border-width-sm, 2px) var(--wpds-color-background-surface-neutral-strong, #fff);
3232 3243 }
3233 3244
3234 3245 .dataviews-view-picker-grid .dataviews-view-picker-grid__card .dataviews-view-picker-grid__media:focus::after {
3235 - box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
3246 + box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wpds-color-stroke-focus, var(--wp-admin-theme-color, #3858e9));
3236 3247 }
3237 3248
3238 3249 .dataviews-view-picker-grid:focus-visible[aria-activedescendant] {
3239 3250 outline: none;
@@ -3239,13 +3250,13 @@
3239 3250 outline: none;
3240 3251 }
3241 3252
3242 3253 .dataviews-view-picker-grid:focus-visible [data-active-item=true] {
3243 - outline: 2px solid var(--wp-admin-theme-color);
3254 + outline: 2px solid var(--wpds-color-stroke-focus, var(--wp-admin-theme-color, #3858e9));
3244 3255 }
3245 3256
3246 3257 .dataviews-view-picker-grid .dataviews-selection-checkbox {
3247 - top: 8px !important;
3258 + top: var(--wpds-dimension-padding-sm, 8px) !important;
3248 3259 }
3249 3260
3250 3261 .dataviews-view-picker-grid .dataviews-selection-checkbox input {
3251 3262 pointer-events: none;
@@ -3254,10 +3265,11 @@
3254 3265 .dataviews-view-picker-grid .dataviews-view-picker-grid__media {
3255 3266 width: 100%;
3256 3267 aspect-ratio: 1/1;
3257 3268 min-height: 0;
3258 - background-color: #fff;
3259 - border-radius: 4px;
3269 + background-color: var(--wpds-color-background-surface-neutral-strong, #fff);
3270 + border-radius: var(--wpds-border-radius-md, 4px);
3271 + overflow: hidden;
3260 3272 position: relative;
3261 3273 }
3262 3274
3263 3275 .dataviews-view-picker-grid .dataviews-view-picker-grid__media img {
@@ -3272,13 +3284,21 @@
3272 3284 top: 0;
3273 3285 left: 0;
3274 3286 width: 100%;
3275 3287 height: 100%;
3276 - box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
3277 - border-radius: 4px;
3288 + box-shadow: inset 0 0 0 var(--wpds-border-width-xs, 1px) rgba(0, 0, 0, 0.1);
3289 + border-radius: var(--wpds-border-radius-md, 4px);
3278 3290 pointer-events: none;
3279 3291 }
3280 3292
3293 +.dataviews-view-picker-grid.has-media-fit-contain .dataviews-view-picker-grid__media {
3294 + background-color: var(--wpds-color-background-surface-neutral, #fcfcfc);
3295 +}
3296 +
3297 +.dataviews-view-picker-grid.has-media-fit-contain .dataviews-view-picker-grid__media img {
3298 + object-fit: contain;
3299 +}
3300 +
3281 3301 .dataviews-view-picker-grid .dataviews-view-picker-grid__fields {
3282 3302 position: relative;
3283 3303 font-size: 12px;
3284 3304 line-height: 16px;
@@ -3284,25 +3304,25 @@
3284 3304 line-height: 16px;
3285 3305 }
3286 3306
3287 3307 .dataviews-view-picker-grid .dataviews-view-picker-grid__fields:not(:empty) {
3288 - padding: 0 0 12px;
3308 + padding: 0 0 var(--wpds-dimension-padding-md, 12px);
3289 3309 }
3290 3310
3291 3311 .dataviews-view-picker-grid .dataviews-view-picker-grid__fields .dataviews-view-picker-grid__field-value:not(:empty) {
3292 - min-height: 24px;
3293 - line-height: 20px;
3294 - padding-top: 2px;
3312 + min-height: var(--wpds-dimension-size-sm, 24px);
3313 + line-height: var(--wpds-typography-line-height-sm, 20px);
3314 + padding-top: calc((var(--wpds-dimension-size-sm, 24px) - var(--wpds-typography-line-height-sm, 20px)) / 2);
3295 3315 }
3296 3316
3297 3317 .dataviews-view-picker-grid .dataviews-view-picker-grid__fields .dataviews-view-picker-grid__field {
3298 - min-height: 24px;
3318 + min-height: var(--wpds-dimension-size-sm, 24px);
3299 3319 align-items: center;
3300 3320 }
3301 3321
3302 3322 .dataviews-view-picker-grid .dataviews-view-picker-grid__fields .dataviews-view-picker-grid__field .dataviews-view-picker-grid__field-name {
3303 3323 width: 35%;
3304 - color: #757575;
3324 + color: var(--wpds-color-foreground-content-neutral-weak, #707070);
3305 3325 overflow: hidden;
3306 3326 text-overflow: ellipsis;
3307 3327 white-space: nowrap;
3308 3328 }
@@ -3318,9 +3338,9 @@
3318 3338 display: none;
3319 3339 }
3320 3340
3321 3341 .dataviews-view-picker-grid .dataviews-view-picker-grid__badge-fields:not(:empty) {
3322 - padding-bottom: 12px;
3342 + padding-bottom: var(--wpds-dimension-padding-md, 12px);
3323 3343 }
3324 3344
3325 3345 .dataviews-view-picker-grid__field-value:empty,
3326 3346 .dataviews-view-picker-grid__field:empty {
@@ -3329,21 +3349,21 @@
3329 3349
3330 3350 .dataviews-view-picker-grid__card .dataviews-selection-checkbox {
3331 3351 position: absolute;
3332 3352 top: -9999em;
3333 - left: 8px;
3353 + left: var(--wpds-dimension-padding-sm, 8px);
3334 3354 z-index: 1;
3335 3355 }
3336 3356
3337 3357 @media (hover: none) {
3338 3358 .dataviews-view-picker-grid__card .dataviews-selection-checkbox {
3339 - top: 8px;
3359 + top: var(--wpds-dimension-padding-sm, 8px);
3340 3360 }
3341 3361 }
3342 3362 .dataviews-view-picker-grid__card:hover .dataviews-selection-checkbox,
3343 3363 .dataviews-view-picker-grid__card:focus-within .dataviews-selection-checkbox,
3344 3364 .dataviews-view-picker-grid__card.is-selected .dataviews-selection-checkbox {
3345 - top: 8px;
3365 + top: var(--wpds-dimension-padding-sm, 8px);
3346 3366 }
3347 3367
3348 3368 .dataviews-view-picker-grid__media--clickable {
3349 3369 cursor: var(--wpds-cursor-control, pointer);
@@ -3349,12 +3369,12 @@
3349 3369 cursor: var(--wpds-cursor-control, pointer);
3350 3370 }
3351 3371
3352 3372 .dataviews-view-picker-grid-group__header {
3353 - font-size: 15px;
3354 - font-weight: 499;
3355 - color: #1e1e1e;
3356 - margin: 0 0 8px 0;
3373 + font-size: var(--wpds-typography-font-size-lg, 15px);
3374 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
3375 + color: var(--wpds-color-foreground-content-neutral, #1e1e1e);
3376 + margin: 0 0 var(--wpds-dimension-gap-sm, 8px) 0;
3357 3377 padding: 0 48px;
3358 3378 }
3359 3379
3360 3380 .dataviews-view-picker-table {
@@ -3369,9 +3389,9 @@
3369 3389 outline: none;
3370 3390 }
3371 3391
3372 3392 .dataviews-view-picker-table tbody:focus-visible [data-active-item=true] {
3373 - outline: 2px solid var(--wp-admin-theme-color);
3393 + outline: 2px solid var(--wpds-color-stroke-focus, var(--wp-admin-theme-color, #3858e9));
3374 3394 }
3375 3395
3376 3396 .dataviews-view-picker-table .dataviews-selection-checkbox .components-checkbox-control__input.components-checkbox-control__input {
3377 3397 pointer-events: none;
@@ -3382,34 +3402,34 @@
3382 3402 cursor: var(--wpds-cursor-control, pointer);
3383 3403 }
3384 3404
3385 3405 .dataviews-view-picker-table .dataviews-view-table__row.is-selected {
3386 - background-color: rgba(var(--wp-admin-theme-color--rgb), 0.04);
3406 + background-color: var(--wpds-color-background-interactive-brand-weak-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 12%, white));
3387 3407 }
3388 3408
3389 3409 .dataviews-view-picker-table .dataviews-view-table__row.is-hovered {
3390 - background-color: rgba(var(--wp-admin-theme-color--rgb), 0.08);
3410 + background-color: var(--wpds-color-background-interactive-brand-weak-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 12%, white));
3391 3411 }
3392 3412
3393 3413 .dataviews-view-picker-table .dataviews-view-table__row.is-selected.is-hovered {
3394 - background-color: rgba(var(--wp-admin-theme-color--rgb), 0.12);
3414 + background-color: var(--wpds-color-background-interactive-brand-weak-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 12%, white));
3395 3415 }
3396 3416
3397 3417 .dataviews-view-activity {
3398 3418 margin: 0 0 auto;
3399 - padding: 0 24px;
3419 + padding: 0 var(--wpds-dimension-padding-2xl, 24px);
3400 3420 }
3401 3421
3402 3422 .dataviews-view-activity .dataviews-view-activity__group-header {
3403 - font-size: 15px;
3404 - font-weight: 499;
3405 - color: #949494;
3406 - margin: 0 0 8px 0;
3423 + font-size: var(--wpds-typography-font-size-lg, 15px);
3424 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
3425 + color: var(--wpds-color-foreground-content-neutral-weak, #707070);
3426 + margin: 0 0 var(--wpds-dimension-gap-sm, 8px) 0;
3407 3427 padding: 0;
3408 3428 }
3409 3429
3410 3430 .dataviews-view-activity .dataviews-view-activity__item-actions {
3411 - min-width: 24px;
3431 + min-width: var(--wpds-dimension-size-sm, 24px);
3412 3432 }
3413 3433
3414 3434 .dataviews-view-activity .dataviews-view-activity__item-content {
3415 3435 flex-grow: 1;
@@ -3417,9 +3437,9 @@
3417 3437
3418 3438 .dataviews-view-activity .dataviews-view-activity__item-content .dataviews-view-activity__item-title,
3419 3439 .dataviews-view-activity .dataviews-view-activity__item-content .dataviews-view-activity__item-description,
3420 3440 .dataviews-view-activity .dataviews-view-activity__item-content .dataviews-view-activity__item-fields {
3421 - min-height: 16px;
3441 + min-height: var(--wpds-dimension-size-2xs, 16px);
3422 3442 }
3423 3443
3424 3444 .dataviews-view-activity .dataviews-view-activity__item-content .dataviews-view-activity__item-title {
3425 3445 position: relative;
@@ -3433,11 +3453,11 @@
3433 3453 cursor: var(--wpds-cursor-control, pointer);
3434 3454 }
3435 3455
3436 3456 .dataviews-view-activity .dataviews-view-activity__item-content .dataviews-view-activity__item-title--clickable:focus-visible {
3437 - outline: var(--wp-admin-border-width-focus) solid var(--wp-admin-theme-color);
3457 + outline: var(--wp-admin-border-width-focus) solid var(--wpds-color-stroke-focus, var(--wp-admin-theme-color, #3858e9));
3438 3458 outline-offset: var(--wp-admin-border-width-focus);
3439 - border-radius: 2px;
3459 + border-radius: var(--wpds-border-radius-sm, 2px);
3440 3460 }
3441 3461
3442 3462 .dataviews-view-activity .dataviews-view-activity__item-content .dataviews-view-activity__primary-actions {
3443 3463 display: flex;
@@ -3450,12 +3470,12 @@
3450 3470 z-index: 1;
3451 3471 }
3452 3472
3453 3473 .dataviews-view-activity .dataviews-view-activity__item-content .dataviews-view-activity__item-fields {
3454 - color: #757575;
3474 + color: var(--wpds-color-foreground-content-neutral-weak, #707070);
3455 3475 display: flex;
3456 - gap: 12px;
3457 - row-gap: 4px;
3476 + gap: var(--wpds-dimension-gap-md, 12px);
3477 + row-gap: var(--wpds-dimension-gap-xs, 4px);
3458 3478 flex-wrap: wrap;
3459 3479 }
3460 3480
3461 3481 .dataviews-view-activity .dataviews-view-activity__item-content .dataviews-view-activity__item-fields:empty {
@@ -3480,9 +3500,9 @@
3480 3500 content: "";
3481 3501 flex: 1 1 auto;
3482 3502 width: 1px;
3483 3503 margin: 0 auto;
3484 - background-color: #ddd;
3504 + background-color: var(--wpds-color-stroke-surface-neutral, #dbdbdb);
3485 3505 }
3486 3506
3487 3507 .dataviews-view-activity .dataviews-view-activity__item-type::before {
3488 3508 content: "";
@@ -3488,67 +3508,67 @@
3488 3508 content: "";
3489 3509 flex: 0 0 auto;
3490 3510 width: 1px;
3491 3511 margin: 0 auto;
3492 - background-color: #ddd;
3512 + background-color: var(--wpds-color-stroke-surface-neutral, #dbdbdb);
3493 3513 }
3494 3514
3495 3515 .dataviews-view-activity .dataviews-view-activity__item.is-compact .dataviews-view-activity__item-type {
3496 - width: 12px;
3516 + width: var(--wpds-dimension-padding-md, 12px);
3497 3517 }
3498 3518
3499 3519 .dataviews-view-activity .dataviews-view-activity__item.is-compact .dataviews-view-activity__item-type::before {
3500 - height: 12px;
3520 + height: var(--wpds-dimension-size-3xs, 12px);
3501 3521 }
3502 3522
3503 3523 .dataviews-view-activity .dataviews-view-activity__item.is-compact .dataviews-view-activity__item-type-icon {
3504 - width: 11px;
3505 - height: 11px;
3524 + width: calc(var(--wpds-dimension-size-3xs, 12px) - 1px);
3525 + height: calc(var(--wpds-dimension-size-3xs, 12px) - 1px);
3506 3526 }
3507 3527
3508 3528 .dataviews-view-activity .dataviews-view-activity__item.is-compact .dataviews-view-activity__item-content {
3509 - margin: 12px 0;
3529 + margin: var(--wpds-dimension-gap-md, 12px) 0;
3510 3530 }
3511 3531
3512 3532 .dataviews-view-activity .dataviews-view-activity__item.is-balanced .dataviews-view-activity__item-type {
3513 - width: 24px;
3533 + width: var(--wpds-dimension-size-sm, 24px);
3514 3534 }
3515 3535
3516 3536 .dataviews-view-activity .dataviews-view-activity__item.is-balanced .dataviews-view-activity__item-type::before {
3517 - height: 12px;
3537 + height: var(--wpds-dimension-size-3xs, 12px);
3518 3538 }
3519 3539
3520 3540 .dataviews-view-activity .dataviews-view-activity__item.is-balanced .dataviews-view-activity__item-type-icon {
3521 - width: 25px;
3522 - height: 25px;
3541 + width: calc(var(--wpds-dimension-size-sm, 24px) + 1px);
3542 + height: calc(var(--wpds-dimension-size-sm, 24px) + 1px);
3523 3543 }
3524 3544
3525 3545 .dataviews-view-activity .dataviews-view-activity__item.is-balanced .dataviews-view-activity__item-content {
3526 - margin: 12px 0;
3527 - padding-top: 8px;
3546 + margin: var(--wpds-dimension-gap-md, 12px) 0;
3547 + padding-top: var(--wpds-dimension-padding-sm, 8px);
3528 3548 }
3529 3549
3530 3550 .dataviews-view-activity .dataviews-view-activity__item.is-comfortable .dataviews-view-activity__item-type {
3531 - width: 32px;
3551 + width: var(--wpds-dimension-size-md, 32px);
3532 3552 }
3533 3553
3534 3554 .dataviews-view-activity .dataviews-view-activity__item.is-comfortable .dataviews-view-activity__item-type::before {
3535 - height: 8px;
3555 + height: var(--wpds-dimension-size-4xs, 8px);
3536 3556 }
3537 3557
3538 3558 .dataviews-view-activity .dataviews-view-activity__item.is-comfortable .dataviews-view-activity__item-type-icon {
3539 - width: 33px;
3540 - height: 33px;
3559 + width: calc(var(--wpds-dimension-size-md, 32px) + 1px);
3560 + height: calc(var(--wpds-dimension-size-md, 32px) + 1px);
3541 3561 }
3542 3562
3543 3563 .dataviews-view-activity .dataviews-view-activity__item.is-comfortable .dataviews-view-activity__item-content {
3544 - margin: 8px 0 16px;
3545 - padding-top: 12px;
3564 + margin: var(--wpds-dimension-gap-sm, 8px) 0 var(--wpds-dimension-gap-lg, 16px);
3565 + padding-top: var(--wpds-dimension-padding-md, 12px);
3546 3566 }
3547 3567
3548 3568 .dataviews-view-activity .dataviews-view-activity__item.is-comfortable .dataviews-view-activity__item-bullet, .dataviews-view-activity .dataviews-view-activity__item.is-balanced .dataviews-view-activity__item-bullet {
3549 - width: 9px;
3550 - height: 9px;
3569 + width: calc(var(--wpds-dimension-size-4xs, 8px) + 1px);
3570 + height: calc(var(--wpds-dimension-size-4xs, 8px) + 1px);
3551 3571 position: relative;
3552 3572 top: 50%;
3553 3573 transform: translateY(-50%);
3554 3574 }
@@ -3557,15 +3577,15 @@
3557 3577 visibility: hidden;
3558 3578 }
3559 3579
3560 3580 .dataviews-view-activity .dataviews-view-activity__group:last-of-type > .dataviews-view-activity__item:last-of-type .dataviews-view-activity__item-type::after, .dataviews-view-activity > .dataviews-view-activity__item:last-child .dataviews-view-activity__item-type::after {
3561 - background: linear-gradient(to bottom, #ddd 0%, rgba(221, 221, 221, 0.2) 60%, rgba(221, 221, 221, 0) 100%);
3581 + background: linear-gradient(to bottom, var(--wpds-color-stroke-surface-neutral, #dbdbdb) 0%, color-mix(in srgb, var(--wpds-color-stroke-surface-neutral, #dbdbdb) 20%, transparent) 60%, transparent 100%);
3562 3582 }
3563 3583
3564 3584 .dataviews-view-activity .dataviews-view-activity__item-type-icon {
3565 3585 overflow: hidden;
3566 3586 flex-shrink: 0;
3567 - background-color: #fff;
3587 + background-color: var(--wpds-color-background-surface-neutral-strong, #fff);
3568 3588 }
3569 3589
3570 3590 .dataviews-view-activity .dataviews-view-activity__item-type-icon img,
3571 3591 .dataviews-view-activity .dataviews-view-activity__item-type-icon svg,
@@ -3576,18 +3596,18 @@
3576 3596 margin: 0 auto;
3577 3597 object-fit: cover;
3578 3598 border-radius: 50%;
3579 3599 box-sizing: border-box;
3580 - box-shadow: inset 0 0 0 1px #ddd;
3600 + box-shadow: inset 0 0 0 var(--wpds-border-width-xs, 1px) var(--wpds-color-stroke-surface-neutral, #dbdbdb);
3581 3601 }
3582 3602
3583 3603 .dataviews-view-activity .dataviews-view-activity__item-type-icon svg {
3584 - padding: 4px;
3604 + padding: var(--wpds-dimension-padding-xs, 4px);
3585 3605 }
3586 3606
3587 3607 .dataviews-view-activity .dataviews-view-activity__item-type-icon .dataviews-view-activity__item-bullet {
3588 3608 content: "";
3589 - background-color: #ddd;
3609 + background-color: var(--wpds-color-stroke-surface-neutral, #dbdbdb);
3590 3610 }
3591 3611
3592 3612 .dataviews-view-activity.is-refreshing {
3593 3613 opacity: 0.5;
@@ -3603,11 +3623,211 @@
3603 3623 .dataviews-view-activity + .dataviews-pagination {
3604 3624 justify-content: space-between;
3605 3625 }
3606 3626
3627 +.dataviews-view-picker-activity {
3628 + margin: 0;
3629 + padding: 0;
3630 + flex-grow: 1;
3631 +}
3632 +
3633 +.dataviews-view-picker-activity:focus-visible[aria-activedescendant] {
3634 + outline: none;
3635 +}
3636 +
3637 +.dataviews-view-picker-activity:focus-visible .dataviews-view-picker-activity__item[data-active-item=true] {
3638 + outline: 2px solid var(--wpds-color-stroke-focus, var(--wp-admin-theme-color, #3858e9));
3639 + outline-offset: -2px;
3640 +}
3641 +
3642 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item {
3643 + cursor: var(--wpds-cursor-control, pointer);
3644 + border-radius: var(--wpds-border-radius-sm, 2px);
3645 + padding-inline: var(--wpds-dimension-padding-2xl, 24px);
3646 + transition: background-color 0.1s ease;
3647 +}
3648 +
3649 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item.is-selected, .dataviews-view-picker-activity .dataviews-view-picker-activity__item:hover {
3650 + background-color: var(--wpds-color-background-interactive-brand-weak-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 12%, white));
3651 +}
3652 +
3653 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item.is-selected {
3654 + outline: 3px solid transparent;
3655 + outline-offset: -2px;
3656 +}
3657 +
3658 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item.is-compact .dataviews-view-picker-activity__item-type {
3659 + width: var(--wpds-dimension-padding-md, 12px);
3660 +}
3661 +
3662 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item.is-compact .dataviews-view-picker-activity__item-type::before {
3663 + height: var(--wpds-dimension-size-3xs, 12px);
3664 +}
3665 +
3666 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item.is-compact .dataviews-view-picker-activity__item-type-icon {
3667 + width: calc(var(--wpds-dimension-size-3xs, 12px) - 1px);
3668 + height: calc(var(--wpds-dimension-size-3xs, 12px) - 1px);
3669 +}
3670 +
3671 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item.is-compact .dataviews-view-picker-activity__item-content {
3672 + margin: var(--wpds-dimension-gap-md, 12px) 0;
3673 +}
3674 +
3675 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item.is-balanced .dataviews-view-picker-activity__item-type {
3676 + width: var(--wpds-dimension-size-sm, 24px);
3677 +}
3678 +
3679 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item.is-balanced .dataviews-view-picker-activity__item-type::before {
3680 + height: var(--wpds-dimension-size-3xs, 12px);
3681 +}
3682 +
3683 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item.is-balanced .dataviews-view-picker-activity__item-type-icon {
3684 + width: calc(var(--wpds-dimension-size-sm, 24px) + 1px);
3685 + height: calc(var(--wpds-dimension-size-sm, 24px) + 1px);
3686 +}
3687 +
3688 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item.is-balanced .dataviews-view-picker-activity__item-content {
3689 + margin: var(--wpds-dimension-gap-md, 12px) 0;
3690 + padding-top: var(--wpds-dimension-padding-sm, 8px);
3691 +}
3692 +
3693 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item.is-comfortable .dataviews-view-picker-activity__item-type {
3694 + width: var(--wpds-dimension-size-md, 32px);
3695 +}
3696 +
3697 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item.is-comfortable .dataviews-view-picker-activity__item-type::before {
3698 + height: var(--wpds-dimension-size-4xs, 8px);
3699 +}
3700 +
3701 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item.is-comfortable .dataviews-view-picker-activity__item-type-icon {
3702 + width: calc(var(--wpds-dimension-size-md, 32px) + 1px);
3703 + height: calc(var(--wpds-dimension-size-md, 32px) + 1px);
3704 +}
3705 +
3706 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item.is-comfortable .dataviews-view-picker-activity__item-content {
3707 + margin: var(--wpds-dimension-gap-sm, 8px) 0 var(--wpds-dimension-gap-lg, 16px);
3708 + padding-top: var(--wpds-dimension-padding-md, 12px);
3709 +}
3710 +
3711 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item.is-comfortable .dataviews-view-picker-activity__item-bullet, .dataviews-view-picker-activity .dataviews-view-picker-activity__item.is-balanced .dataviews-view-picker-activity__item-bullet {
3712 + width: calc(var(--wpds-dimension-size-4xs, 8px) + 1px);
3713 + height: calc(var(--wpds-dimension-size-4xs, 8px) + 1px);
3714 + position: relative;
3715 + top: 50%;
3716 + transform: translateY(-50%);
3717 +}
3718 +
3719 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item-content {
3720 + flex-grow: 1;
3721 +}
3722 +
3723 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item-content .dataviews-view-picker-activity__item-title,
3724 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item-content .dataviews-view-picker-activity__item-description,
3725 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item-content .dataviews-view-picker-activity__item-fields {
3726 + min-height: var(--wpds-dimension-size-2xs, 16px);
3727 +}
3728 +
3729 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item-content .dataviews-view-picker-activity__item-title {
3730 + position: relative;
3731 + display: flex;
3732 + align-items: center;
3733 + flex: 1;
3734 + overflow: hidden;
3735 +}
3736 +
3737 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item-content .dataviews-view-picker-activity__item-description:empty {
3738 + display: none;
3739 +}
3740 +
3741 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item-content .dataviews-view-picker-activity__item-fields {
3742 + color: var(--wpds-color-foreground-content-neutral-weak, #707070);
3743 + display: flex;
3744 + gap: var(--wpds-dimension-gap-md, 12px);
3745 + row-gap: var(--wpds-dimension-gap-xs, 4px);
3746 + flex-wrap: wrap;
3747 +}
3748 +
3749 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item-content .dataviews-view-picker-activity__item-fields:empty {
3750 + display: none;
3751 +}
3752 +
3753 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item-content .dataviews-view-picker-activity__item-fields .dataviews-view-picker-activity__item-field:has(.dataviews-view-picker-activity__item-field-value:empty) {
3754 + display: none;
3755 +}
3756 +
3757 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item-content .dataviews-view-picker-activity__item-fields .dataviews-view-picker-activity__item-field-value {
3758 + display: flex;
3759 + align-items: center;
3760 +}
3761 +
3762 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item-type {
3763 + align-self: stretch;
3764 + flex-shrink: 0;
3765 +}
3766 +
3767 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item-type::after {
3768 + content: "";
3769 + flex: 1 1 auto;
3770 + width: 1px;
3771 + margin: 0 auto;
3772 + background-color: var(--wpds-color-stroke-surface-neutral, #dbdbdb);
3773 +}
3774 +
3775 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item-type::before {
3776 + content: "";
3777 + flex: 0 0 auto;
3778 + width: 1px;
3779 + margin: 0 auto;
3780 + background-color: var(--wpds-color-stroke-surface-neutral, #dbdbdb);
3781 +}
3782 +
3783 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item:first-child .dataviews-view-picker-activity__item-type::before {
3784 + visibility: hidden;
3785 +}
3786 +
3787 +.dataviews-view-picker-activity .dataviews-view-picker-activity-group:last-of-type > .dataviews-view-picker-activity__item:last-of-type .dataviews-view-picker-activity__item-type::after, .dataviews-view-picker-activity > .dataviews-view-picker-activity__item:last-child .dataviews-view-picker-activity__item-type::after {
3788 + background: linear-gradient(to bottom, var(--wpds-color-stroke-surface-neutral, #dbdbdb) 0%, color-mix(in srgb, var(--wpds-color-stroke-surface-neutral, #dbdbdb) 20%, transparent) 60%, transparent 100%);
3789 +}
3790 +
3791 +.dataviews-view-picker-activity .dataviews-view-picker-activity-group__header {
3792 + font-size: var(--wpds-typography-font-size-lg, 15px);
3793 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
3794 + color: var(--wpds-color-foreground-content-neutral-weak, #707070);
3795 + margin: 0 0 var(--wpds-dimension-gap-sm, 8px) 0;
3796 + padding: 0;
3797 + padding-inline-start: var(--wpds-dimension-padding-2xl, 24px);
3798 +}
3799 +
3800 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item-type-icon {
3801 + overflow: hidden;
3802 + flex-shrink: 0;
3803 + background-color: transparent;
3804 +}
3805 +
3806 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item-type-icon img,
3807 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item-type-icon svg,
3808 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item-type-icon .dataviews-view-picker-activity__item-bullet {
3809 + display: block;
3810 + width: 100%;
3811 + height: 100%;
3812 + margin: 0 auto;
3813 + object-fit: cover;
3814 + border-radius: 50%;
3815 + box-sizing: border-box;
3816 + box-shadow: inset 0 0 0 var(--wpds-border-width-xs, 1px) var(--wpds-color-stroke-surface-neutral, #dbdbdb);
3817 +}
3818 +
3819 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item-type-icon svg {
3820 + padding: var(--wpds-dimension-padding-xs, 4px);
3821 +}
3822 +
3823 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item-type-icon .dataviews-view-picker-activity__item-bullet {
3824 + background-color: var(--wpds-color-stroke-surface-neutral, #dbdbdb);
3825 +}
3826 +
3607 3827 .dataviews-picker-footer__bulk-selection {
3608 3828 align-self: flex-start;
3609 - height: 32px;
3829 + height: var(--wpds-dimension-size-md, 32px);
3610 3830 }
3611 3831
3612 3832 .dataviews-picker-footer__actions {
3613 3833 align-self: flex-end;
@@ -3637,30 +3857,51 @@
3637 3857 display: flex;
3638 3858 }
3639 3859
3640 3860 .dataviews-controls__date-preset {
3641 - border: 1px solid #ddd;
3861 + border: 1px solid var(--wpds-color-stroke-surface-neutral, #dbdbdb);
3642 3862 }
3643 3863
3644 3864 .dataviews-controls__date-preset:active {
3645 - background-color: #000;
3865 + background-color: var(--wpds-color-background-interactive-neutral-strong-active, #1e1e1e);
3646 3866 }
3647 3867
3868 +.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 {
3869 + --focus-color: var(--wpds-color-stroke-interactive-error, #cc1818);
3870 +}
3871 +
3872 +.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 {
3873 + border-color: var(--wpds-color-stroke-interactive-error, #cc1818);
3874 +}
3875 +
3876 +.dataviews-validated-control__wrapper-with-error-delegate {
3877 + position: relative;
3878 +}
3879 +
3880 +.dataviews-validated-control__error-delegate {
3881 + position: absolute;
3882 + top: 0;
3883 + height: 100%;
3884 + width: 100%;
3885 + opacity: 0;
3886 + pointer-events: none;
3887 +}
3888 +
3648 3889 .dataforms-layouts-panel__field-trigger {
3649 3890 position: relative;
3650 3891 color: inherit;
3651 3892 display: flex;
3652 3893 width: 100%;
3653 - min-height: 24px;
3894 + min-height: var(--wpds-dimension-size-sm, 24px);
3654 3895 cursor: var(--wpds-cursor-control, pointer);
3655 3896 align-items: flex-start;
3656 - border-radius: 2px;
3897 + border-radius: var(--wpds-border-radius-sm, 2px);
3657 3898 isolation: isolate;
3658 3899 }
3659 3900
3660 3901 .dataforms-layouts-panel__field-trigger--label-side {
3661 3902 flex-direction: row;
3662 - gap: var(--wpds-dimension-gap-md, 12px);
3903 + gap: var(--wpds-dimension-gap-sm, 8px);
3663 3904 }
3664 3905
3665 3906 .dataforms-layouts-panel__field-trigger--label-top {
3666 3907 display: grid;
@@ -3671,9 +3912,9 @@
3671 3912 align-items: center;
3672 3913 }
3673 3914
3674 3915 .dataforms-layouts-panel__field-trigger:not(.is-disabled):hover {
3675 - color: var(--wp-admin-theme-color);
3916 + color: var(--wpds-color-foreground-interactive-brand, var(--wp-admin-theme-color, #3858e9));
3676 3917 }
3677 3918
3678 3919 .dataforms-layouts-panel__field-trigger:not(.is-disabled):hover .dataforms-layouts-panel__field-trigger-icon {
3679 3920 opacity: 1;
@@ -3679,9 +3920,9 @@
3679 3920 opacity: 1;
3680 3921 }
3681 3922
3682 3923 .dataforms-layouts-panel__field-trigger:not(.is-disabled):hover .dataforms-layouts-panel__field-label {
3683 - color: var(--wp-admin-theme-color);
3924 + color: var(--wpds-color-foreground-interactive-brand, var(--wp-admin-theme-color, #3858e9));
3684 3925 }
3685 3926
3686 3927 .dataforms-layouts-panel__field-trigger.is-disabled {
3687 3928 cursor: default;
@@ -3687,10 +3928,10 @@
3687 3928 cursor: default;
3688 3929 }
3689 3930
3690 3931 .dataforms-layouts-panel__field-trigger.is-disabled .dataforms-layouts-panel__field-control {
3691 - color: #757575;
3692 - font-weight: var(--wpds-typography-font-weight-regular, 400);
3932 + color: var(--wpds-color-foreground-content-neutral-weak, #707070);
3933 + font-weight: var(--wpds-typography-font-weight-default, 400);
3693 3934 }
3694 3935
3695 3936 .dataforms-layouts-panel__field-trigger--edit-always .dataforms-layouts-panel__field-trigger-icon {
3696 3937 opacity: 1;
@@ -3697,22 +3938,28 @@
3697 3938 fill: currentColor;
3698 3939 }
3699 3940
3700 3941 .dataforms-layouts-panel__field-trigger--edit-always .dataforms-layouts-panel__field-trigger-icon:hover, .dataforms-layouts-panel__field-trigger--edit-always .dataforms-layouts-panel__field-trigger-icon:focus-visible {
3701 - fill: var(--wp-admin-theme-color);
3942 + fill: var(--wpds-color-foreground-interactive-brand, var(--wp-admin-theme-color, #3858e9));
3702 3943 }
3703 3944
3704 3945 .dataforms-layouts-panel__field-trigger-icon {
3705 3946 padding: 0;
3706 - color: var(--wp-admin-theme-color);
3947 + color: var(--wpds-color-foreground-interactive-brand, var(--wp-admin-theme-color, #3858e9));
3707 3948 flex: 0 0 auto;
3708 3949 opacity: 0;
3709 3950 border-radius: var(--wpds-border-radius-xs, 1px);
3710 3951 }
3711 3952
3953 +.dataforms-layouts-panel__field-trigger-icon::after {
3954 + content: "";
3955 + position: absolute;
3956 + inset: 0;
3957 +}
3958 +
3712 3959 .dataforms-layouts-panel__field-trigger-icon:focus-visible {
3713 3960 opacity: 1;
3714 - outline: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)) solid var(--wp-admin-theme-color);
3961 + 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));
3715 3962 }
3716 3963
3717 3964 .dataforms-layouts-panel__field-dropdown-anchor {
3718 3965 width: 100%;
@@ -3724,14 +3971,14 @@
3724 3971
3725 3972 .dataforms-layouts-panel__field-label {
3726 3973 width: 38%;
3727 3974 flex-shrink: 0;
3728 - min-height: 24px;
3975 + min-height: var(--wpds-dimension-size-sm, 24px);
3729 3976 display: flex;
3730 3977 align-items: center;
3731 - line-height: 20px;
3978 + line-height: var(--wpds-typography-line-height-sm, 20px);
3732 3979 hyphens: auto;
3733 - color: #757575;
3980 + color: var(--wpds-color-foreground-content-neutral-weak, #707070);
3734 3981 }
3735 3982
3736 3983 .dataforms-layouts-panel__field-label .components-base-control__label {
3737 3984 display: inline;
@@ -3739,38 +3986,39 @@
3739 3986 line-height: inherit;
3740 3987 }
3741 3988
3742 3989 .dataforms-layouts-panel__field-label.has-error {
3743 - color: #cc1818;
3990 + color: var(--wpds-color-foreground-content-error-weak, #cc1818);
3744 3991 }
3745 3992
3746 3993 .dataforms-layouts-panel__field-label-error-content {
3747 - position: relative;
3748 - z-index: 1;
3749 - cursor: help;
3750 - fill: #cc1818;
3994 + pointer-events: none;
3995 + color: var(--wpds-color-foreground-content-error-weak, #cc1818);
3751 3996 display: inline-flex;
3752 3997 flex-direction: row;
3753 3998 align-items: center;
3754 - gap: 4px;
3999 + gap: var(--wpds-dimension-gap-xs, 4px);
3755 4000 }
3756 4001
3757 -.dataforms-layouts-panel__field-label-error-content svg {
3758 - fill: currentColor;
3759 -}
3760 -
3761 4002 .dataforms-layouts-panel__field-control {
3762 4003 flex-grow: 1;
3763 4004 min-width: 0;
3764 - min-height: 24px;
4005 + min-height: var(--wpds-dimension-size-sm, 24px);
3765 4006 line-height: var(--wpds-typography-line-height-md, 24px);
3766 4007 display: flex;
3767 4008 align-items: center;
3768 - overflow: hidden;
3769 - word-break: break-word;
3770 - font-weight: var(--wpds-typography-font-weight-medium, 499);
4009 + overflow: clip;
4010 + padding-inline: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px));
4011 + margin-inline: calc(-1 * var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)));
4012 + word-break: normal;
4013 + overflow-wrap: anywhere;
4014 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
3771 4015 }
3772 4016
4017 +.dataforms-layouts-panel__field-control:has(a, button) {
4018 + z-index: 1;
4019 +}
4020 +
3773 4021 .dataforms-layouts-panel__field-control > * {
3774 4022 min-width: 0;
3775 4023 }
3776 4024
@@ -3787,18 +4035,18 @@
3787 4035 grid-column: 2;
3788 4036 }
3789 4037
3790 4038 .dataforms-layouts-panel__field-dropdown .components-popover__content {
3791 - min-width: 256px;
3792 - padding: 16px;
4039 + min-width: 320px;
4040 + padding: var(--wpds-dimension-padding-lg, 16px);
3793 4041 }
3794 4042
3795 4043 .dataforms-layouts-panel__dropdown-header {
3796 - margin-bottom: 16px;
4044 + margin-bottom: var(--wpds-dimension-gap-lg, 16px);
3797 4045 }
3798 4046
3799 4047 .dataforms-layouts-panel__modal-footer {
3800 - margin-top: 16px;
4048 + margin-top: var(--wpds-dimension-gap-lg, 16px);
3801 4049 }
3802 4050
3803 4051 .components-popover.components-dropdown__content.dataforms-layouts-panel__field-dropdown {
3804 4052 z-index: 159990;
@@ -3805,9 +4053,9 @@
3805 4053 }
3806 4054
3807 4055 .dataforms-layouts-regular__field {
3808 4056 width: 100%;
3809 - min-height: 32px;
4057 + min-height: var(--wpds-dimension-size-md, 32px);
3810 4058 justify-content: flex-start !important;
3811 4059 align-items: flex-start !important;
3812 4060 }
3813 4061
@@ -3813,18 +4061,18 @@
3813 4061
3814 4062 .dataforms-layouts-regular__field .components-base-control__label,
3815 4063 .dataforms-layouts-regular__field .components-input-control__label,
3816 4064 .dataforms-layouts-regular__field .components-form-token-field__label {
3817 - color: #1e1e1e;
4065 + color: var(--wpds-color-foreground-content-neutral, #1e1e1e);
3818 4066 }
3819 4067
3820 4068 .dataforms-layouts-regular__field-label {
3821 4069 width: 38%;
3822 4070 flex-shrink: 0;
3823 - min-height: 32px;
4071 + min-height: var(--wpds-dimension-size-md, 32px);
3824 4072 display: flex;
3825 4073 align-items: center;
3826 - line-height: 20px;
4074 + line-height: var(--wpds-typography-line-height-sm, 20px);
3827 4075 hyphens: auto;
3828 4076 }
3829 4077
3830 4078 .dataforms-layouts-regular__field-label--label-position-side {
@@ -3836,9 +4084,9 @@
3836 4084 }
3837 4085
3838 4086 .dataforms-layouts-regular__field-control {
3839 4087 flex-grow: 1;
3840 - min-height: 32px;
4088 + min-height: var(--wpds-dimension-size-md, 32px);
3841 4089 display: flex;
3842 4090 align-items: center;
3843 4091 }
3844 4092
@@ -3854,28 +4102,28 @@
3854 4102 display: contents;
3855 4103 }
3856 4104
3857 4105 .dataforms-layouts-card__field-description {
3858 - color: #757575;
4106 + color: var(--wpds-color-foreground-content-neutral-weak, #707070);
3859 4107 display: block;
3860 - font-size: 13px;
3861 - margin-bottom: 16px;
4108 + font-size: var(--wpds-typography-font-size-md, 13px);
4109 + margin-bottom: var(--wpds-dimension-gap-lg, 16px);
3862 4110 }
3863 4111
3864 4112 .dataforms-layouts-card__field-summary {
3865 4113 display: flex;
3866 4114 flex-direction: row;
3867 - gap: 16px;
4115 + gap: var(--wpds-dimension-gap-lg, 16px);
3868 4116 align-items: center;
3869 4117 }
3870 4118
3871 4119 .dataforms-layouts-details__summary-content {
3872 4120 display: inline-flex;
3873 - min-height: 24px;
4121 + min-height: var(--wpds-dimension-size-sm, 24px);
3874 4122 }
3875 4123
3876 4124 .dataforms-layouts-details__content {
3877 - padding-top: 12px;
4125 + padding-top: var(--wpds-dimension-padding-md, 12px);
3878 4126 }
3879 4127
3880 4128 .dataforms-layouts-row__field-control {
3881 4129 width: 100%;
@@ -3881,10 +4129,10 @@
3881 4129 width: 100%;
3882 4130 }
3883 4131
3884 4132 .dataforms-layouts__wrapper {
3885 - font-family: -apple-system, "system-ui", "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
3886 - font-weight: 400;
4133 + font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
4134 + font-weight: var(--wpds-typography-font-weight-default, 400);
3887 4135 font-size: 13px;
3888 4136 line-height: 20px;
3889 4137 }
3890 4138
@@ -3957,8 +4205,14 @@
3957 4205 /**
3958 4206 * Focus styles.
3959 4207 */
3960 4208 /**
4209 + * Standard focus rings for the WordPress Design System.
4210 + *
4211 + * Apply `outset-ring__focus` inside the relevant pseudo-class at the call site,
4212 + * e.g. `&:focus { @include outset-ring__focus(); }`.
4213 + */
4214 +/**
3961 4215 * Applies editor left position to the selector passed as argument
3962 4216 */
3963 4217 /**
3964 4218 * Styles that are reused verbatim in a few places
@@ -4016,9 +4270,9 @@
4016 4270 padding: 12px;
4017 4271 display: grid;
4018 4272 align-items: center;
4019 4273 grid-template-columns: min-content 1fr min-content;
4020 - grid-gap: 4px 8px;
4274 + gap: 4px 8px;
4021 4275 color: #1e1e1e;
4022 4276 }
4023 4277
4024 4278 .fields-create-template-part-modal__area-radio-wrapper + .fields-create-template-part-modal__area-radio-wrapper {
@@ -4095,9 +4349,8 @@
4095 4349 line-height: 1.5;
4096 4350 }
4097 4351
4098 4352 fieldset.fields__media-edit {
4099 - /* stylelint-disable-next-line property-no-unknown -- '@container' not globally permitted */
4100 4353 container-type: inline-size;
4101 4354 }
4102 4355
4103 4356 fieldset.fields__media-edit .fields__media-edit-compact-group {
@@ -4333,9 +4586,8 @@
4333 4586 }
4334 4587
4335 4588 fieldset.fields__media-edit .fields__media-edit-expanded.is-multiple:not(.is-empty) {
4336 4589 grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
4337 - /* stylelint-disable-next-line property-no-unknown -- '@container' not globally permitted */
4338 4590 }
4339 4591
4340 4592 @container (max-width: 500px) {
4341 4593 fieldset.fields__media-edit .fields__media-edit-expanded.is-multiple:not(.is-empty) {
@@ -4402,18 +4654,15 @@
4402 4654 padding: 0;
4403 4655 margin: 0;
4404 4656 }
4405 4657
4406 -.fields-controls__slug .fields-controls__slug-external-icon {
4407 - margin-left: 5ch;
4408 -}
4409 -
4410 4658 .fields-controls__slug .fields-controls__slug-input input.components-input-control__input {
4411 4659 padding-inline-start: 0 !important;
4412 4660 }
4413 4661
4414 4662 .fields-controls__slug .fields-controls__slug-help-link {
4415 - word-break: break-word;
4663 + word-break: normal;
4664 + overflow-wrap: anywhere;
4416 4665 }
4417 4666
4418 4667 .fields-controls__slug .fields-controls__slug-help {
4419 4668 display: flex;
@@ -4420,9 +4669,9 @@
4420 4669 flex-direction: column;
4421 4670 }
4422 4671
4423 4672 .fields-controls__slug .fields-controls__slug-help .fields-controls__slug-help-slug {
4424 - font-weight: 600;
4673 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
4425 4674 }
4426 4675
4427 4676 .fields-controls__featured-image-image,
4428 4677 .fields-controls__featured-image-placeholder {
@@ -4584,9 +4833,9 @@
4584 4833 border-radius: 2px;
4585 4834 }
4586 4835
4587 4836 .media-editor-preview__file-name {
4588 - font-weight: 600;
4837 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
4589 4838 margin-bottom: 8px;
4590 4839 }
4591 4840
4592 4841 .media-editor-preview__mime-type {
@@ -4611,8 +4860,9 @@
4611 4860 word-break: break-all;
4612 4861 margin-top: 8px;
4613 4862 }
4614 4863
4864 +/*!rtl:begin:ignore*/
4615 4865 .wp-media-editor-image-editor {
4616 4866 position: relative;
4617 4867 overflow: hidden;
4618 4868 width: 100%;
@@ -4624,11 +4874,22 @@
4624 4874 }
4625 4875
4626 4876 .wp-media-editor-image-editor__canvas {
4627 4877 position: absolute;
4628 - inset: 22px;
4878 + inset: 24px;
4879 + min-height: 100px;
4880 + min-width: 100px;
4629 4881 }
4630 4882
4883 +.wp-media-editor-image-editor__canvas:focus {
4884 + outline: none;
4885 +}
4886 +
4887 +.wp-media-editor-image-editor__stage {
4888 + position: absolute;
4889 + inset: 0;
4890 +}
4891 +
4631 4892 .wp-media-editor-image-editor--dragging {
4632 4893 cursor: grabbing;
4633 4894 }
4634 4895
@@ -4647,17 +4908,18 @@
4647 4908
4648 4909 .wp-media-editor-image-editor__dimming {
4649 4910 position: absolute;
4650 4911 pointer-events: none;
4651 - /* Large shadow spread dims everything outside the crop area.
4652 - Darker at rest for clear crop framing, lighter during drag
4653 - so the user can see where they're panning. */
4654 - box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.7);
4912 + /* Large shadow spread washes everything outside the crop area
4913 + toward the canvas grey ($gray-200). Slightly stronger at rest
4914 + for clear crop framing, lighter during drag so the user can see
4915 + where they're panning. */
4916 + box-shadow: 0 0 0 9999px rgba(224, 224, 224, 0.6);
4655 4917 transition: box-shadow 0.15s ease;
4656 4918 }
4657 4919
4658 4920 .wp-media-editor-image-editor--dragging .wp-media-editor-image-editor__dimming {
4659 - box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.5);
4921 + box-shadow: 0 0 0 9999px rgba(224, 224, 224, 0.4);
4660 4922 }
4661 4923
4662 4924 .wp-media-editor-image-editor__grid {
4663 4925 position: absolute;
@@ -4675,8 +4937,13 @@
4675 4937 opacity: 1;
4676 4938 transition-delay: 0s;
4677 4939 }
4678 4940
4941 +.wp-media-editor-image-editor__canvas--settling .wp-media-editor-image-editor__grid {
4942 + opacity: 0;
4943 + transition: none;
4944 +}
4945 +
4679 4946 .wp-media-editor-image-editor__grid-line {
4680 4947 position: absolute;
4681 4948 background: rgba(255, 255, 255, 0.4);
4682 4949 }
@@ -4692,15 +4959,35 @@
4692 4959 height: 100%;
4693 4960 width: 1px;
4694 4961 }
4695 4962
4963 +.wp-media-editor-image-editor__dimensions-tooltip {
4964 + position: absolute;
4965 + padding: 2px 6px;
4966 + background: #fff;
4967 + color: #1e1e1e;
4968 + font-size: 11px;
4969 + line-height: 1.4;
4970 + font-variant-numeric: tabular-nums;
4971 + box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.08);
4972 + pointer-events: none;
4973 + white-space: nowrap;
4974 + z-index: 2;
4975 +}
4976 +
4696 4977 .wp-media-editor-image-editor__stencil-rect {
4697 4978 position: absolute;
4698 - border: 1px solid rgba(255, 255, 255, 0.7);
4979 + border: 1px solid #1e1e1e;
4699 4980 box-sizing: border-box;
4700 4981 pointer-events: none;
4982 + transition: border-color 0.15s ease, box-shadow 0.15s ease;
4701 4983 }
4702 4984
4985 +.wp-media-editor-image-editor__canvas--focus-visible:focus .wp-media-editor-image-editor__stencil-rect {
4986 + border-color: var(--wp-image-editor-focus-color, var(--wp-admin-theme-color, #007cba));
4987 + box-shadow: 0 0 0 1px var(--wp-image-editor-focus-color, var(--wp-admin-theme-color, #007cba));
4988 +}
4989 +
4703 4990 .wp-media-editor-image-editor__handle {
4704 4991 appearance: none;
4705 4992 margin: 0;
4706 4993 padding: 0;
@@ -4708,10 +4995,10 @@
4708 4995 cursor: default;
4709 4996 position: absolute;
4710 4997 width: 12px;
4711 4998 height: 12px;
4712 - background: rgba(255, 255, 255, 0.6);
4713 - border: 1px solid rgba(255, 255, 255, 0.9);
4999 + background: #fff;
5000 + border: 1px solid var(--wp-admin-theme-color, #007cba);
4714 5001 border-radius: 50%;
4715 5002 box-sizing: border-box;
4716 5003 pointer-events: auto;
4717 5004 transition: background-color 0.15s ease, box-shadow 0.15s ease;
@@ -4720,9 +5007,9 @@
4720 5007 .wp-media-editor-image-editor__handle:focus {
4721 5008 outline: none;
4722 5009 }
4723 5010
4724 -.wp-media-editor-image-editor__handle:focus-visible {
5011 +.wp-media-editor-image-editor__canvas--focus-visible .wp-media-editor-image-editor__handle:focus {
4725 5012 background: var(--wp-image-editor-focus-color, var(--wp-admin-theme-color, #007cba));
4726 5013 border-color: transparent;
4727 5014 box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--wp-image-editor-focus-color, var(--wp-admin-theme-color, #007cba));
4728 5015 }
@@ -4792,13 +5079,14 @@
4792 5079 right: -6px;
4793 5080 cursor: nwse-resize;
4794 5081 }
4795 5082
5083 +/*!rtl:end:ignore*/
4796 5084 /**
4797 - * Typography
5085 + * Breakpoints & Media Queries
4798 5086 */
4799 5087 /**
4800 - * Breakpoints & Media Queries
5088 + * Typography
4801 5089 */
4802 5090 /**
4803 5091 * Converts a hex value into the rgb equivalent.
4804 5092 *
@@ -4817,8 +5105,14 @@
4817 5105 /**
4818 5106 * Focus styles.
4819 5107 */
4820 5108 /**
5109 + * Standard focus rings for the WordPress Design System.
5110 + *
5111 + * Apply `outset-ring__focus` inside the relevant pseudo-class at the call site,
5112 + * e.g. `&:focus { @include outset-ring__focus(); }`.
5113 + */
5114 +/**
4821 5115 * Applies editor left position to the selector passed as argument
4822 5116 */
4823 5117 /**
4824 5118 * Styles that are reused verbatim in a few places
@@ -4836,19 +5130,17 @@
4836 5130 /**
4837 5131 * Creates a checkerboard pattern background to indicate transparency.
4838 5132 * @param {String} $size - The size of the squares in the checkerboard pattern. Default is 12px.
4839 5133 */
4840 -.media-editor-modal.components-modal__frame .components-modal__content {
4841 - padding: 0;
4842 - margin-bottom: 0;
4843 -}
4844 -
4845 -.media-editor-modal {
5134 +.media-editor {
4846 5135 display: flex;
5136 + flex: 1;
4847 5137 flex-direction: column;
5138 + height: 100%;
5139 + min-height: 0;
4848 5140 }
4849 5141
4850 -.media-editor-modal .media-editor-modal__loading {
5142 +.media-editor .media-editor__loading {
4851 5143 height: 100%;
4852 5144 display: flex;
4853 5145 align-items: center;
4854 5146 justify-content: center;
@@ -4853,85 +5145,192 @@
4853 5145 align-items: center;
4854 5146 justify-content: center;
4855 5147 }
4856 5148
4857 -.media-editor-modal .interface-interface-skeleton {
4858 - position: relative;
4859 - top: auto;
4860 - right: auto;
4861 - bottom: auto;
4862 - left: auto;
4863 - height: 100%;
4864 - max-height: none;
5149 +.media-editor .media-editor__body {
5150 + container-type: inline-size;
5151 + container-name: media-editor-body;
5152 + display: flex;
4865 5153 flex: 1;
5154 + min-height: 0;
5155 +}
5156 +
5157 +.media-editor .media-editor__content {
5158 + display: flex;
5159 + flex: 1;
4866 5160 flex-direction: column;
5161 + min-width: 0;
5162 + min-height: 0;
5163 + margin: 24px 24px 8px 24px;
4867 5164 }
4868 5165
4869 -.media-editor-modal .interface-interface-skeleton__editor {
4870 - min-width: 0;
4871 - flex: 1;
5166 +@media (min-width: 600px) {
5167 + .media-editor .media-editor__content {
5168 + margin: 0 24px;
5169 + }
4872 5170 }
5171 +@container media-editor-body (min-width: 864px) {
5172 + .media-editor .media-editor__content {
5173 + min-width: 520px;
5174 + }
5175 +}
5176 +.media-editor .media-editor__canvas-toolbar {
5177 + display: flex;
5178 + flex: 0 0 auto;
5179 + flex-direction: column;
5180 + align-items: center;
5181 + gap: 12px;
5182 +}
4873 5183
4874 -.media-editor-modal .interface-interface-skeleton__footer {
4875 - position: relative;
5184 +.media-editor .media-editor__canvas-toolbar .media-editor-fine-rotation {
4876 5185 display: flex;
5186 + justify-content: center;
5187 + align-self: stretch;
5188 + background: #e0e0e0;
5189 + border-radius: 0 0 8px 8px;
5190 + padding: 8px 16px;
4877 5191 }
4878 5192
4879 -.media-editor-modal .interface-interface-skeleton.has-footer .interface-interface-skeleton__body {
4880 - padding-bottom: 0;
5193 +.media-editor .media-editor__canvas-toolbar .media-editor-fine-rotation .rotation-ruler {
5194 + flex: 0 1 360px;
5195 + min-width: 0;
4881 5196 }
4882 5197
4883 -.media-editor-modal .media-editor-modal__canvas {
5198 +.media-editor .media-editor__canvas-area {
4884 5199 display: flex;
4885 5200 align-items: center;
4886 5201 justify-content: center;
4887 - background: #f0f0f0;
5202 + background: #e0e0e0;
5203 + border-radius: 8px;
4888 5204 overflow: auto;
4889 - height: 100%;
5205 + flex: 1;
5206 + min-height: 0;
4890 5207 }
4891 5208
4892 -.media-editor-modal .media-editor-modal__canvas .media-editor-preview {
5209 +.media-editor .media-editor__canvas-area .media-editor-preview {
4893 5210 height: 100%;
4894 5211 }
4895 5212
4896 -.media-editor-modal .media-editor-modal__canvas img,
4897 -.media-editor-modal .media-editor-modal__canvas video {
5213 +.media-editor .media-editor__canvas-area img,
5214 +.media-editor .media-editor__canvas-area video {
4898 5215 max-width: 100%;
4899 5216 max-height: 100%;
4900 5217 object-fit: contain;
4901 5218 }
4902 5219
4903 -.media-editor-modal .media-editor-modal__sidebar {
4904 - box-sizing: border-box;
5220 +.media-editor .media-editor__sidebar {
5221 + display: flex;
5222 + flex: 1;
5223 + flex-direction: column;
5224 + min-width: 0;
5225 + min-height: 0;
5226 + overflow: hidden;
4905 5227 }
4906 5228
4907 -.media-editor-modal .media-editor-modal__sidebar *,
4908 -.media-editor-modal .media-editor-modal__sidebar *::before,
4909 -.media-editor-modal .media-editor-modal__sidebar *::after {
4910 - box-sizing: inherit;
5229 +@media (min-width: 600px) {
5230 + .media-editor .media-editor__sidebar {
5231 + flex: none;
5232 + width: var(--wpds-dimension-surface-width-sm, 320px);
5233 + }
4911 5234 }
5235 +.media-editor .media-editor__tabs {
5236 + display: flex;
5237 + flex: 1;
5238 + flex-direction: column;
5239 + min-height: 0;
5240 +}
4912 5241
4913 -.media-editor-modal .media-editor-modal__panel {
4914 - padding: 16px;
5242 +.media-editor .media-editor__tablist {
5243 + flex-shrink: 0;
5244 + margin-inline: 24px;
5245 + background: #fff;
5246 + border-bottom: 1px solid #ddd;
4915 5247 }
4916 5248
4917 -.media-editor-modal .components-panel__header.media-editor-modal__sidebar-header {
4918 - padding-left: 0;
4919 - padding-right: 8px;
5249 +.media-editor .media-editor__panel {
5250 + flex: 1;
5251 + min-height: 0;
5252 + overflow-y: auto;
5253 + padding-block: 24px;
5254 + padding-inline: 24px;
4920 5255 }
4921 5256
4922 -.media-editor-modal .components-panel__header.media-editor-modal__sidebar-header .components-button.has-icon {
4923 - padding: 0;
5257 +.media-editor .media-editor__content:has(.media-editor-fine-rotation) .media-editor__canvas-area {
5258 + border-end-start-radius: 0;
5259 + border-end-end-radius: 0;
4924 5260 }
4925 5261
4926 -@media (min-width: 782px) {
4927 - .media-editor-modal .components-panel__header.media-editor-modal__sidebar-header .components-button.has-icon {
5262 +.media-editor .media-editor__body.has-panel-open .media-editor__content {
5263 + display: none;
5264 +}
5265 +
5266 +@media (min-width: 600px) {
5267 + .media-editor .media-editor__body.has-panel-open .media-editor__content {
4928 5268 display: flex;
5269 + margin: 0 0 0 24px;
4929 5270 }
4930 5271 }
5272 +.media-editor__snackbar {
5273 + position: fixed;
5274 + bottom: var(--wpds-dimension-size-md, 32px);
5275 + left: 0;
5276 + right: 0;
5277 + padding-inline: 16px;
5278 + box-sizing: border-box;
5279 + display: flex;
5280 + flex-direction: column;
5281 + pointer-events: none;
5282 +}
5283 +
5284 +.media-editor__snackbar .components-snackbar {
5285 + margin-inline: auto;
5286 +}
5287 +
5288 +.media-editor-form .dataforms-layouts-panel__field-control {
5289 + text-wrap: pretty;
5290 +}
5291 +
5292 +.media-editor-modal.components-modal__frame .components-modal__content {
5293 + padding: 0;
5294 + margin-bottom: 0;
5295 + display: flex;
5296 + flex-direction: column;
5297 + min-height: 0;
5298 +}
5299 +
5300 +.media-editor-modal.components-modal__frame .components-modal__children-container {
5301 + display: flex;
5302 + flex: 1;
5303 + flex-direction: column;
5304 + min-height: 0;
5305 +}
5306 +
5307 +.media-editor-modal.components-modal__frame .media-editor-modal__footer {
5308 + flex-shrink: 0;
5309 + display: flex;
5310 + flex-direction: row;
5311 + align-items: center;
5312 + gap: 16px;
5313 + padding: 24px;
5314 + background: #fff;
5315 +}
5316 +
5317 +.media-editor-modal.components-modal__frame .media-editor-modal__footer .media-editor__save-actions {
5318 + margin-left: auto;
5319 +}
5320 +
5321 +.media-editor-modal .media-editor__history-actions .components-button.has-icon:not([aria-disabled=true]) {
5322 + color: var(--wp-admin-theme-color);
5323 +}
5324 +
5325 +.media-editor-modal {
5326 + display: flex;
5327 + flex-direction: column;
5328 +}
5329 +
4931 5330 .media-editor-modal__snackbar {
4932 5331 position: fixed;
4933 - bottom: 24px;
5332 + bottom: var(--wpds-dimension-size-md, 32px);
4934 5333 left: 0;
4935 5334 right: 0;
4936 5335 padding-inline: 16px;
4937 5336 box-sizing: border-box;
@@ -4953,23 +5352,286 @@
4953 5352 width: 100%;
4954 5353 height: 100%;
4955 5354 }
4956 5355
4957 -.media-editor-toolbar {
5356 +.media-editor-canvas__cropper {
4958 5357 width: 100%;
4959 - padding: 8px 16px;
5358 + height: 100%;
5359 + opacity: 0;
5360 + pointer-events: none;
4960 5361 }
4961 5362
4962 -.media-editor-toolbar .media-editor-toolbar__rotation-slider {
4963 - flex: 1 1 auto;
4964 - max-width: 240px;
5363 +.media-editor-canvas__cropper.is-loaded {
5364 + opacity: 1;
5365 + pointer-events: auto;
4965 5366 }
4966 5367
4967 -@media (max-width: 480px) {
4968 - .media-editor-toolbar .media-editor-toolbar__rotation-slider {
4969 - display: none;
5368 +@keyframes __wp-base-styles-fade-in {
5369 + from {
5370 + opacity: 0;
4970 5371 }
5372 + to {
5373 + opacity: 1;
5374 + }
4971 5375 }
5376 +@media not (prefers-reduced-motion) {
5377 + .media-editor-canvas__cropper.is-loaded {
5378 + animation: __wp-base-styles-fade-in 0.2s linear 0s;
5379 + animation-fill-mode: forwards;
5380 + }
5381 +}
5382 +.media-editor-canvas__spinner {
5383 + position: absolute;
5384 + top: 50%;
5385 + left: 50%;
5386 + transform: translate(-50%, -50%);
5387 +}
5388 +
5389 +.media-editor-canvas__error {
5390 + display: flex;
5391 + align-items: center;
5392 + justify-content: center;
5393 + width: 100%;
5394 + height: 100%;
5395 + color: #757575;
5396 + text-align: center;
5397 +}
5398 +
5399 +.media-editor-image-controls {
5400 + display: flex;
5401 + flex-wrap: nowrap;
5402 + align-items: center;
5403 + gap: 8px;
5404 +}
5405 +
5406 +.media-editor-image-controls.is-stacked {
5407 + flex-direction: column;
5408 + align-items: flex-start;
5409 + gap: 24px;
5410 +}
5411 +
5412 +.media-editor-image-controls__transforms {
5413 + display: flex;
5414 + gap: 48px;
5415 +}
5416 +
5417 +.media-editor-image-controls__group {
5418 + display: flex;
5419 + flex-direction: column;
5420 + gap: 4px;
5421 +}
5422 +
5423 +.media-editor-image-controls__label {
5424 + font-size: 11px;
5425 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
5426 + line-height: 1.4;
5427 + text-transform: uppercase;
5428 +}
5429 +
5430 +.media-editor-image-controls__buttons {
5431 + display: flex;
5432 + gap: 8px;
5433 + padding-inline: 2px 0;
5434 +}
5435 +
5436 +.media-editor-keyboard-shortcuts-modal {
5437 + min-width: 280px;
5438 +}
5439 +
5440 +.media-editor-keyboard-shortcuts-modal .media-editor-keyboard-shortcuts-modal__note {
5441 + margin: 0 0 16px;
5442 + color: #757575;
5443 + font-size: 13px;
5444 +}
5445 +
5446 +.media-editor-keyboard-shortcuts-modal .media-editor-keyboard-shortcuts-modal__shortcut-list {
5447 + list-style: none;
5448 + margin: 0;
5449 + padding: 0;
5450 +}
5451 +
5452 +.media-editor-keyboard-shortcuts-modal .media-editor-keyboard-shortcuts-modal__shortcut {
5453 + display: flex;
5454 + align-items: baseline;
5455 + padding: 0.6rem 0;
5456 + border-top: 1px solid #ddd;
5457 + margin-bottom: 0;
5458 +}
5459 +
5460 +.media-editor-keyboard-shortcuts-modal .media-editor-keyboard-shortcuts-modal__shortcut:last-child {
5461 + border-bottom: 1px solid #ddd;
5462 +}
5463 +
5464 +.media-editor-keyboard-shortcuts-modal .media-editor-keyboard-shortcuts-modal__shortcut-description {
5465 + flex: 1;
5466 + margin: 0;
5467 +}
5468 +
5469 +.media-editor-keyboard-shortcuts-modal .media-editor-keyboard-shortcuts-modal__shortcut-term {
5470 + background: none;
5471 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
5472 + margin: 0 0 0 1rem;
5473 + padding: 0;
5474 + text-align: right;
5475 +}
5476 +
5477 +.media-editor-keyboard-shortcuts-modal .media-editor-keyboard-shortcuts-modal__shortcut-key {
5478 + padding: 0.25rem 0.5rem;
5479 + border-radius: 8%;
5480 + margin: 0 0.2rem 0 0.2rem;
5481 +}
5482 +
5483 +.media-editor-keyboard-shortcuts-modal .media-editor-keyboard-shortcuts-modal__shortcut-key:last-child {
5484 + margin: 0 0 0 0.2rem;
5485 +}
5486 +
5487 +.rotation-ruler {
5488 + position: relative;
5489 + min-width: 180px;
5490 + height: 32px;
5491 + padding: 0 8px;
5492 + box-sizing: border-box;
5493 + color: #1e1e1e;
5494 + font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
5495 + -webkit-user-select: none;
5496 + user-select: none;
5497 + touch-action: none;
5498 + cursor: ew-resize;
5499 + /*rtl:ignore*/
5500 + direction: ltr;
5501 + container-type: inline-size;
5502 +}
5503 +
5504 +.rotation-ruler[data-disabled] {
5505 + opacity: 0.5;
5506 + pointer-events: none;
5507 + cursor: default;
5508 +}
5509 +
5510 +.rotation-ruler:has(.rotation-ruler__input:focus-visible) {
5511 + outline: 2px solid var(--wp-admin-theme-color, #3858e9);
5512 + outline-offset: 2px;
5513 + border-radius: 4px;
5514 +}
5515 +
5516 +.rotation-ruler__input {
5517 + position: absolute;
5518 + width: 1px;
5519 + height: 1px;
5520 + margin: -1px;
5521 + padding: 0;
5522 + border: 0;
5523 + clip-path: inset(50%);
5524 + overflow: hidden;
5525 + white-space: nowrap;
5526 +}
5527 +
5528 +.rotation-ruler__pointer {
5529 + position: absolute;
5530 + bottom: 0;
5531 + left: 50%;
5532 + width: 2px;
5533 + height: 18px;
5534 + background: var(--wp-admin-theme-color, #3858e9);
5535 + border-radius: 1px;
5536 + transform: translateX(-50%);
5537 + pointer-events: none;
5538 +}
5539 +
5540 +.rotation-ruler__strip {
5541 + position: absolute;
5542 + inset: 0;
5543 + overflow: hidden;
5544 + mask-image: linear-gradient(to right, transparent 0, #000 8px, #000 calc(100% - 8px), transparent 100%);
5545 + -webkit-mask-image: linear-gradient(to right, transparent 0, #000 8px, #000 calc(100% - 8px), transparent 100%);
5546 +}
5547 +
5548 +.rotation-ruler__ticks {
5549 + position: absolute;
5550 + /*rtl:ignore*/
5551 + left: 50%;
5552 + top: 0;
5553 + display: block;
5554 + overflow: visible;
5555 +}
5556 +
5557 +.rotation-ruler__tick {
5558 + stroke: currentColor;
5559 + stroke-width: 1;
5560 +}
5561 +
5562 +.rotation-ruler__tick--minor {
5563 + opacity: 0.35;
5564 +}
5565 +
5566 +.rotation-ruler__tick--mid {
5567 + opacity: 0.6;
5568 +}
5569 +
5570 +.rotation-ruler__tick--major {
5571 + opacity: 1;
5572 +}
5573 +
5574 +.rotation-ruler__label {
5575 + fill: currentColor;
5576 + font-size: 10px;
5577 + font-weight: 400;
5578 + opacity: 0.45;
5579 +}
5580 +
5581 +.rotation-ruler__active-label {
5582 + position: absolute;
5583 + top: 0;
5584 + left: 50%;
5585 + height: 14px;
5586 + transform: translateX(-50%);
5587 + font-size: 12px;
5588 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
5589 + line-height: 14px;
5590 + color: #1e1e1e;
5591 + pointer-events: none;
5592 +}
5593 +
5594 +.rotation-ruler__active-label::before {
5595 + content: "";
5596 + position: absolute;
5597 + top: 0;
5598 + left: 50%;
5599 + width: 60px;
5600 + height: 100%;
5601 + transform: translateX(-50%);
5602 + background: linear-gradient(to right, transparent 0, #e0e0e0 12px, #e0e0e0 calc(100% - 12px), transparent 100%);
5603 +}
5604 +
5605 +.rotation-ruler__active-label-number {
5606 + position: relative;
5607 + display: inline-block;
5608 +}
5609 +
5610 +.rotation-ruler__active-label-sign {
5611 + position: absolute;
5612 + top: 0;
5613 + /*rtl:ignore*/
5614 + right: 100%;
5615 +}
5616 +
5617 +.rotation-ruler__active-label-unit {
5618 + position: absolute;
5619 + top: 0;
5620 + /*rtl:ignore*/
5621 + left: 100%;
5622 +}
5623 +
5624 +@container (max-width: 220px) {
5625 + .rotation-ruler__tick--minor {
5626 + opacity: 0;
5627 + }
5628 +}
5629 +@media (prefers-reduced-motion: reduce) {
5630 + .rotation-ruler__ticks {
5631 + transition: none;
5632 + }
5633 +}
4972 5634 .editor-autocompleters__link {
4973 5635 white-space: nowrap;
4974 5636 gap: 8px;
4975 5637 }
@@ -4975,9 +5637,9 @@
4975 5637 }
4976 5638
4977 5639 .editor-autocompleters__user .editor-autocompleters__no-avatar::before {
4978 5640 /* stylelint-disable-next-line font-family-no-missing-generic-family-keyword -- dashicons don't need a generic family keyword. */
4979 - font: normal 20px/1 dashicons;
5641 + font: 400 20px/1 dashicons;
4980 5642 content: "\f110";
4981 5643 margin-right: 5px;
4982 5644 vertical-align: middle;
4983 5645 }
@@ -5000,9 +5662,9 @@
5000 5662 .editor-autocompleters__user .editor-autocompleters__user-slug {
5001 5663 margin-left: 8px;
5002 5664 white-space: nowrap;
5003 5665 text-overflow: ellipsis;
5004 - overflow: none;
5666 + overflow: hidden;
5005 5667 max-width: 100px;
5006 5668 flex-grow: 0;
5007 5669 flex-shrink: 0;
5008 5670 }
@@ -5012,9 +5674,10 @@
5012 5674
5013 5675 .interface-interface-skeleton__sidebar:has(.editor-collab-sidebar) {
5014 5676 box-shadow: none;
5015 5677 }
5016 -.interface-interface-skeleton__sidebar:has(.editor-collab-sidebar) .interface-complementary-area-header {
5678 +
5679 +.editor-collab-sidebar__header {
5017 5680 display: none;
5018 5681 }
5019 5682
5020 5683 .editor-collab-sidebar {
@@ -5026,11 +5689,13 @@
5026 5689 position: relative;
5027 5690 padding: 16px 16px 24px;
5028 5691 height: 100%;
5029 5692 overflow: hidden;
5693 + border-left: 1px solid color-mix(in srgb, currentColor 10%, transparent);
5030 5694 }
5031 5695
5032 -.editor-collab-sidebar-panel__thread {
5696 +.editor-collab-sidebar-panel__thread,
5697 +.editor-collab-sidebar-panel__add-note {
5033 5698 position: relative;
5034 5699 padding: 16px;
5035 5700 border-radius: 8px;
5036 5701 border: 1px solid #ddd;
@@ -5037,18 +5702,21 @@
5037 5702 background-color: #f0f0f0;
5038 5703 overflow: hidden;
5039 5704 width: auto;
5040 5705 }
5041 -.editor-collab-sidebar-panel__thread.is-selected {
5706 +.editor-collab-sidebar-panel__thread.is-selected,
5707 +.editor-collab-sidebar-panel__add-note.is-selected {
5042 5708 background-color: #fff;
5043 5709 box-shadow: 0 2px 3px rgba(0, 0, 0, 0.05), 0 4px 5px rgba(0, 0, 0, 0.04), 0 12px 12px rgba(0, 0, 0, 0.03), 0 16px 16px rgba(0, 0, 0, 0.02);
5044 5710 z-index: 1;
5045 5711 }
5046 -.editor-collab-sidebar-panel__thread:focus {
5712 +.editor-collab-sidebar-panel__thread:focus,
5713 +.editor-collab-sidebar-panel__add-note:focus {
5047 5714 outline: var(--wp-admin-border-width-focus) solid var(--wp-admin-theme-color);
5048 5715 outline-offset: calc(-1 * var(--wp-admin-border-width-focus));
5049 5716 }
5050 -.editor-collab-sidebar-panel__thread.is-floating {
5717 +.editor-collab-sidebar-panel__thread.is-floating,
5718 +.editor-collab-sidebar-panel__add-note.is-floating {
5051 5719 left: 16px;
5052 5720 right: 16px;
5053 5721 position: absolute;
5054 5722 margin-top: 16px;
@@ -5053,10 +5721,16 @@
5053 5721 position: absolute;
5054 5722 margin-top: 16px;
5055 5723 transform: translateY(var(--canvas-scroll, 0));
5056 5724 will-change: transform;
5725 + max-height: calc(100dvh - var(--wp-admin--admin-bar--height, 0px) - 128px);
5726 + overflow-y: auto;
5057 5727 }
5058 5728
5729 +.editor-collab-sidebar-panel__user-info {
5730 + flex: 1;
5731 +}
5732 +
5059 5733 .editor-collab-sidebar-panel__user-name {
5060 5734 font-size: 12px;
5061 5735 font-weight: 400;
5062 5736 line-height: 16px;
@@ -5061,9 +5735,9 @@
5061 5735 font-weight: 400;
5062 5736 line-height: 16px;
5063 5737 text-align: left;
5064 5738 color: #757575;
5065 - text-transform: capitalize;
5739 + overflow-wrap: anywhere;
5066 5740 }
5067 5741
5068 5742 .editor-collab-sidebar-panel__user-time {
5069 5743 font-size: 12px;
@@ -5072,11 +5746,30 @@
5072 5746 text-align: left;
5073 5747 color: #757575;
5074 5748 }
5075 5749
5750 +.editor-collab-sidebar-panel__show-more-button {
5751 + width: fit-content;
5752 + color: var(--wpds-color-foreground-interactive-brand, var(--wp-admin-theme-color, #3858e9));
5753 + cursor: var(--wpds-cursor-control, pointer);
5754 +}
5755 +.editor-collab-sidebar-panel__show-more-button:hover, .editor-collab-sidebar-panel__show-more-button:focus, .editor-collab-sidebar-panel__show-more-button:active {
5756 + color: var(--wpds-color-foreground-interactive-brand-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 52%, black));
5757 +}
5758 +
5759 +.editor-collab-sidebar-panel__note-content {
5760 + overflow-wrap: break-word;
5761 +}
5076 5762 .editor-collab-sidebar-panel__note-content p:last-child {
5077 5763 margin-bottom: 0;
5078 5764 }
5765 +.editor-collab-sidebar-panel__note-content.is-collapsed {
5766 + -webkit-line-clamp: 3;
5767 + line-clamp: 3;
5768 + display: -webkit-box;
5769 + -webkit-box-orient: vertical;
5770 + overflow: hidden;
5771 +}
5079 5772
5080 5773 .editor-collab-sidebar-panel__user-avatar {
5081 5774 border-radius: 50%;
5082 5775 flex-shrink: 0;
@@ -5096,23 +5789,23 @@
5096 5789 height: 24px;
5097 5790 flex-shrink: 0;
5098 5791 }
5099 5792
5100 -.editor-collab-sidebar-panel__more-reply-separator::before, .editor-collab-sidebar-panel__more-reply-separator::after {
5793 +.editor-collab-sidebar-panel__more-reply-separator::before, .editor-collab-sidebar-panel__more-reply-separator::after,
5794 +.editor-collab-sidebar-panel__status-separator::before,
5795 +.editor-collab-sidebar-panel__status-separator::after {
5101 5796 content: "";
5102 - display: block;
5103 - width: 100%;
5797 + flex: 1;
5104 5798 height: 1px;
5105 5799 background-color: #ddd;
5106 - flex: 1;
5107 5800 }
5108 5801
5109 5802 .editor-collab-sidebar-panel__more-reply-button {
5110 - font-weight: 499;
5803 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
5111 5804 }
5112 5805
5113 5806 .editor-collab-sidebar-panel__deleted-block-notice {
5114 - font-weight: 499;
5807 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
5115 5808 color: #757575;
5116 5809 }
5117 5810
5118 5811 .editor-collab-sidebar-panel__resolution-text {
@@ -5118,44 +5811,26 @@
5118 5811 .editor-collab-sidebar-panel__resolution-text {
5119 5812 font-style: italic;
5120 5813 }
5121 5814
5122 -.editor-collab-sidebar-panel__note-form textarea {
5123 - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
5124 - padding: 6px 8px;
5125 - /* Fonts smaller than 16px causes mobile safari to zoom. */
5126 - font-size: 16px;
5127 - /* Override core line-height. To be reviewed. */
5128 - line-height: normal;
5129 - box-shadow: 0 0 0 transparent;
5815 +.editor-collab-sidebar-panel__note-form [role=textbox] {
5816 + line-height: 20px;
5817 + max-height: 418px;
5818 + overflow-y: auto;
5819 + white-space: pre-wrap;
5820 + overflow-wrap: break-word;
5821 +}
5822 +.editor-collab-sidebar-panel__note-form [role=textbox] code {
5823 + font-family: Menlo, Consolas, monaco, monospace;
5824 + font-size: 0.9em;
5825 + padding: 0 2px;
5826 + background: #f0f0f0;
5130 5827 border-radius: 2px;
5131 - border: 1px solid #949494;
5132 5828 }
5133 -@media not (prefers-reduced-motion) {
5134 - .editor-collab-sidebar-panel__note-form textarea {
5135 - transition: box-shadow 0.1s linear;
5136 - }
5829 +.editor-collab-sidebar-panel__note-form [role=textbox] a {
5830 + color: var(--wp-admin-theme-color);
5831 + text-decoration: underline;
5137 5832 }
5138 -@media (min-width: 600px) {
5139 - .editor-collab-sidebar-panel__note-form textarea {
5140 - font-size: 13px;
5141 - /* Override core line-height. To be reviewed. */
5142 - line-height: normal;
5143 - }
5144 -}
5145 -.editor-collab-sidebar-panel__note-form textarea:focus {
5146 - border-color: var(--wp-admin-theme-color);
5147 - box-shadow: 0 0 0 0.5px var(--wp-admin-theme-color);
5148 - outline: 2px solid transparent;
5149 -}
5150 -.editor-collab-sidebar-panel__note-form textarea::placeholder {
5151 - color: rgba(30, 30, 30, 0.62);
5152 -}
5153 -.editor-collab-sidebar-panel__note-form textarea {
5154 - padding: 9px 11px;
5155 - line-height: 20px !important;
5156 - display: block;
5157 -}
5158 5833
5159 5834 .editor-collab-sidebar-panel__skip-to-note,
5160 5835 .editor-collab-sidebar-panel__skip-to-block {
5161 5836 position: absolute;
@@ -5197,9 +5872,9 @@
5197 5872 margin-left: 0;
5198 5873 }
5199 5874
5200 5875 .editor-note-indicator__overflow {
5201 - font-weight: 499;
5876 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
5202 5877 }
5203 5878
5204 5879 .show-icon-labels .editor-note-indicator {
5205 5880 width: auto;
@@ -5211,8 +5886,36 @@
5211 5886 content: attr(aria-label);
5212 5887 font-size: 12px;
5213 5888 }
5214 5889
5890 +mark.wp-note {
5891 + border-radius: 1px;
5892 + transition: background-color 0.1s ease-in-out;
5893 +}
5894 +
5895 +.wp-note-mention {
5896 + display: inline;
5897 + padding: 0 var(--wpds-dimension-padding-xs, 4px);
5898 + border-radius: var(--wpds-border-radius-sm, 2px);
5899 + background: var(--wpds-color-background-surface-brand, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 9%, white));
5900 + color: var(--wpds-color-foreground-interactive-brand, var(--wp-admin-theme-color, #3858e9));
5901 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
5902 +}
5903 +@media (forced-colors: active) {
5904 + .wp-note-mention {
5905 + border: 1px solid;
5906 + }
5907 +}
5908 +
5909 +.editor-collab-sidebar-panel__mention-suggestion .editor-autocompleters__user-avatar {
5910 + border-radius: 50%;
5911 +}
5912 +
5913 +.editor-rich-text-control [data-rich-text-placeholder]::after {
5914 + content: attr(data-rich-text-placeholder);
5915 + color: color-mix(in srgb, currentColor, transparent 38%);
5916 +}
5917 +
5215 5918 .editor-avatar {
5216 5919 position: relative;
5217 5920 display: inline-flex;
5218 5921 align-items: center;
@@ -5270,9 +5973,9 @@
5270 5973 display: flex;
5271 5974 align-items: center;
5272 5975 justify-content: center;
5273 5976 font-size: 11px;
5274 - font-weight: 499;
5977 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
5275 5978 border: 0;
5276 5979 background-clip: border-box;
5277 5980 }
5278 5981 .editor-avatar:not(.has-src) > .editor-avatar__image::after {
@@ -5284,9 +5987,9 @@
5284 5987 }
5285 5988
5286 5989 .editor-avatar__name {
5287 5990 font-size: 13px;
5288 - font-weight: 499;
5991 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
5289 5992 line-height: 20px;
5290 5993 color: var(--editor-avatar-name-color, #fff);
5291 5994 min-width: 0;
5292 5995 padding-bottom: 2px;
@@ -5409,8 +6112,113 @@
5409 6112 color: #1e1e1e;
5410 6113 white-space: nowrap;
5411 6114 }
5412 6115
6116 +.editor-collaborators-presence__list.components-popover .components-popover__content {
6117 + border: 1px solid #ddd;
6118 + border-width: 1px 0 0 1px;
6119 + border-radius: 8px;
6120 + background: #fff;
6121 + box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05), 0 2px 3px rgba(0, 0, 0, 0.04), 0 6px 6px rgba(0, 0, 0, 0.03), 0 8px 8px rgba(0, 0, 0, 0.02);
6122 +}
6123 +.editor-collaborators-presence__list.components-popover .editor-collaborators-presence__list-content {
6124 + min-width: 280px;
6125 +}
6126 +.editor-collaborators-presence__list.components-popover .editor-collaborators-presence__list-header {
6127 + display: flex;
6128 + justify-content: space-between;
6129 + align-items: center;
6130 + padding: 8px 16px;
6131 +}
6132 +.editor-collaborators-presence__list.components-popover .editor-collaborators-presence__list-header-title {
6133 + font-size: 13px;
6134 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
6135 + line-height: 20px;
6136 + display: flex;
6137 + gap: 4px;
6138 +}
6139 +.editor-collaborators-presence__list.components-popover .editor-collaborators-presence__list-header-title span {
6140 + color: #757575;
6141 +}
6142 +.editor-collaborators-presence__list.components-popover .editor-collaborators-presence__list-header-action {
6143 + padding: 0;
6144 +}
6145 +.editor-collaborators-presence__list.components-popover .editor-collaborators-presence__list-header-action button {
6146 + color: #1e1e1e;
6147 + height: 32px;
6148 + width: 32px;
6149 + padding: 0;
6150 +}
6151 +.editor-collaborators-presence__list.components-popover .editor-collaborators-presence__list-items {
6152 + display: flex;
6153 + flex-direction: column;
6154 + padding-bottom: 16px;
6155 +}
6156 +.editor-collaborators-presence__list.components-popover .editor-collaborators-presence__list-item {
6157 + all: unset;
6158 + box-sizing: border-box;
6159 + display: flex;
6160 + align-items: center;
6161 + padding: 12px 16px;
6162 + gap: 8px;
6163 + width: 100%;
6164 + cursor: var(--wpds-cursor-control, pointer);
6165 + transition: background-color 0.2s ease;
6166 +}
6167 +.editor-collaborators-presence__list.components-popover .editor-collaborators-presence__list-item:hover:not(:disabled) {
6168 + background-color: rgba(var(--wp-admin-theme-color--rgb), 0.04);
6169 +}
6170 +.editor-collaborators-presence__list.components-popover .editor-collaborators-presence__list-item:active:not(:disabled) {
6171 + background-color: rgba(var(--wp-admin-theme-color--rgb), 0.08);
6172 +}
6173 +.editor-collaborators-presence__list.components-popover .editor-collaborators-presence__list-item:focus-visible {
6174 + outline: 2px solid var(--wp-admin-theme-color, #3858e9);
6175 + outline-offset: -2px;
6176 +}
6177 +.editor-collaborators-presence__list.components-popover .editor-collaborators-presence__list-item:disabled {
6178 + cursor: default;
6179 +}
6180 +.editor-collaborators-presence__list.components-popover .editor-collaborators-presence__list-item-info {
6181 + display: flex;
6182 + flex-direction: column;
6183 + flex: 1;
6184 + min-width: 0;
6185 +}
6186 +.editor-collaborators-presence__list.components-popover .editor-collaborators-presence__list-item-name {
6187 + font-size: 13px;
6188 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
6189 + line-height: 20px;
6190 + color: #1e1e1e;
6191 + overflow: hidden;
6192 + text-overflow: ellipsis;
6193 + white-space: nowrap;
6194 +}
6195 +
6196 +.editor-collaborators-presence {
6197 + display: flex;
6198 + align-items: center;
6199 + flex-shrink: 0;
6200 + height: 32px;
6201 + background: #f0f0f0;
6202 + border-radius: 4px;
6203 +}
6204 +.editor-collaborators-presence:hover, .editor-collaborators-presence:has(.is-pressed) {
6205 + background-color: #e0e0e0;
6206 +}
6207 +
6208 +.editor-header__center .editor-collaborators-presence {
6209 + margin-right: 8px;
6210 +}
6211 +
6212 +.editor-collaborators-presence__button.editor-collaborators-presence__button {
6213 + position: relative;
6214 + padding: 4px;
6215 +}
6216 +.editor-collaborators-presence__button.editor-collaborators-presence__button, .editor-collaborators-presence__button.editor-collaborators-presence__button:hover, .editor-collaborators-presence__button.editor-collaborators-presence__button.is-pressed, .editor-collaborators-presence__button.editor-collaborators-presence__button.is-pressed:hover {
6217 + background: transparent;
6218 + color: #2f2f2f;
6219 +}
6220 +
5413 6221 .editor-collapsible-block-toolbar {
5414 6222 overflow: hidden;
5415 6223 display: flex;
5416 6224 align-items: center;
@@ -5477,9 +6285,9 @@
5477 6285 background-color: #fff;
5478 6286 text-align: center;
5479 6287 position: sticky;
5480 6288 top: -5px;
5481 - z-index: 2;
6289 + z-index: 1;
5482 6290 }
5483 6291 .editor-block-visibility__disabled-blocks-count ~ .block-editor-block-manager__content .block-editor-block-manager__category-title {
5484 6292 top: 31px;
5485 6293 }
@@ -5504,11 +6312,8 @@
5504 6312 }
5505 6313 .editor-document-bar:hover {
5506 6314 background-color: #e0e0e0;
5507 6315 }
5508 -.editor-document-bar .components-button {
5509 - border-radius: 4px;
5510 -}
5511 6316 @media not (prefers-reduced-motion) {
5512 6317 .editor-document-bar .components-button {
5513 6318 transition: background-color 0.1s ease-out;
5514 6319 }
@@ -5533,13 +6338,8 @@
5533 6338 color: #1e1e1e;
5534 6339 margin: 0 auto;
5535 6340 max-width: 70%;
5536 6341 }
5537 -@media (min-width: 782px) {
5538 - .editor-document-bar__title {
5539 - padding-left: 24px;
5540 - }
5541 -}
5542 6342 .editor-document-bar__title h1 {
5543 6343 display: flex;
5544 6344 align-items: center;
5545 6345 justify-content: center;
@@ -5565,19 +6365,8 @@
5565 6365 display: none;
5566 6366 }
5567 6367 }
5568 6368
5569 -.editor-document-bar__shortcut {
5570 - color: #2f2f2f;
5571 - min-width: 24px;
5572 - display: none;
5573 -}
5574 -@media (min-width: 782px) {
5575 - .editor-document-bar__shortcut {
5576 - display: initial;
5577 - }
5578 -}
5579 -
5580 6369 .editor-document-bar__back.components-button.has-icon.has-text {
5581 6370 min-width: 36px;
5582 6371 flex-shrink: 0;
5583 6372 color: #757575;
@@ -5596,9 +6385,9 @@
5596 6385 display: none;
5597 6386 pointer-events: none;
5598 6387 }
5599 6388 .editor-document-bar__icon-layout.editor-document-bar__icon-layout svg {
5600 - fill: #949494;
6389 + color: #949494;
5601 6390 }
5602 6391 @media (min-width: 600px) {
5603 6392 .editor-document-bar__icon-layout.editor-document-bar__icon-layout {
5604 6393 display: flex;
@@ -5728,12 +6517,12 @@
5728 6517 .editor-document-tools .editor-document-tools__left > .components-button.has-icon.is-pressed,
5729 6518 .editor-document-tools .editor-document-tools__left > .components-dropdown > .components-button.has-icon.is-pressed {
5730 6519 background: #1e1e1e;
5731 6520 }
5732 -.editor-document-tools .editor-document-tools__left > .components-button.has-icon:focus:not(:disabled),
5733 -.editor-document-tools .editor-document-tools__left > .components-dropdown > .components-button.has-icon:focus:not(:disabled) {
5734 - box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color), inset 0 0 0 1px #fff;
5735 - outline: 1px solid transparent;
6521 +.editor-document-tools .editor-document-tools__left > .components-button.has-icon:focus:not(:active),
6522 +.editor-document-tools .editor-document-tools__left > .components-dropdown > .components-button.has-icon:focus:not(:active) {
6523 + 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)));
6524 + outline-offset: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px));
5736 6525 }
5737 6526 .editor-document-tools .editor-document-tools__left > .components-button.has-icon::before,
5738 6527 .editor-document-tools .editor-document-tools__left > .components-dropdown > .components-button.has-icon::before {
5739 6528 display: none;
@@ -5764,8 +6553,18 @@
5764 6553 .editor-editor-interface .interface-interface-skeleton__content {
5765 6554 isolation: isolate;
5766 6555 }
5767 6556
6557 +.editor-notices.notices-inline-notices-wrapper,
6558 +.editor-notices .components-notice-list {
6559 + gap: 0;
6560 +}
6561 +
6562 +.editor-notices .components-notice {
6563 + border-top-width: 0;
6564 + border-inline-width: 0;
6565 +}
6566 +
5768 6567 .editor-visual-editor {
5769 6568 flex: 1 0 auto;
5770 6569 }
5771 6570
@@ -5776,79 +6575,29 @@
5776 6575 top: 0;
5777 6576 right: 0;
5778 6577 }
5779 6578
5780 -.entities-saved-states__panel-header {
5781 - box-sizing: border-box;
5782 - background: #fff;
5783 - padding-left: 16px;
5784 - padding-right: 16px;
5785 - height: 64px;
5786 - border-bottom: 1px solid #ddd;
6579 +.editor-error-boundary {
6580 + font-family: var(--wpds-typography-font-family-body, -apple-system, system-ui, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif);
6581 + margin: auto;
6582 + width: 100%;
6583 + max-width: var(--wpds-dimension-surface-width-lg, 560px);
6584 + padding: var(--wpds-dimension-padding-xl, 20px);
6585 + margin-top: 64px;
5787 6586 }
5788 6587
5789 -.entities-saved-states__text-prompt {
5790 - padding: 16px;
5791 - padding-bottom: 4px;
6588 +.editor-error-boundary__report {
6589 + max-height: 420px;
6590 + overflow: auto;
6591 + overflow-anchor: none;
5792 6592 }
5793 -.entities-saved-states__text-prompt .entities-saved-states__text-prompt--header {
5794 - display: block;
5795 - margin-bottom: 12px;
5796 -}
5797 6593
5798 -.entities-saved-states__panel.is-inline .entities-saved-states__text-prompt {
5799 - padding: 0;
6594 +.editor-error-boundary__report-section {
6595 + margin: 0;
6596 + white-space: pre-wrap;
6597 + overflow-wrap: break-word;
5800 6598 }
5801 -.entities-saved-states__panel.is-inline .entities-saved-states__panel-body {
5802 - padding-left: 0;
5803 - padding-right: 0;
5804 - border: 0;
5805 -}
5806 -.entities-saved-states__panel.is-inline .entities-saved-states__panel-body > h2 {
5807 - margin-left: -16px;
5808 - margin-right: -16px;
5809 - margin-bottom: 0;
5810 -}
5811 -.entities-saved-states__panel.is-inline .entities-saved-states__panel-body > h2 button {
5812 - font-size: 11px;
5813 - text-transform: uppercase;
5814 -}
5815 -.entities-saved-states__panel.is-inline .entities-saved-states__text-prompt--header-wrapper {
5816 - display: none;
5817 -}
5818 -.entities-saved-states__panel.is-inline .entities-saved-states__text-prompt--changes-count {
5819 - margin-top: 0;
5820 - margin-bottom: 8px;
5821 -}
5822 -.entities-saved-states__panel.is-inline .entities-saved-states__panel-footer {
5823 - margin-top: 16px;
5824 -}
5825 6599
5826 -.entities-saved-states__change-control {
5827 - flex: 1;
5828 -}
5829 -
5830 -.entities-saved-states__changes {
5831 - font-size: 13px;
5832 - margin: 4px 16px 0 24px;
5833 - list-style: disc;
5834 -}
5835 -.entities-saved-states__changes li {
5836 - margin-bottom: 4px;
5837 -}
5838 -
5839 -.editor-error-boundary {
5840 - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
5841 - margin: auto;
5842 - max-width: 780px;
5843 - padding: 1em;
5844 - margin-top: 64px;
5845 - box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08), 0 15px 27px rgba(0, 0, 0, 0.07), 0 30px 36px rgba(0, 0, 0, 0.04), 0 50px 43px rgba(0, 0, 0, 0.02);
5846 - border: 1px solid #1e1e1e;
5847 - border-radius: 2px;
5848 - background-color: #fff;
5849 -}
5850 -
5851 6600 .editor-global-styles-header__description {
5852 6601 padding: 0 16px;
5853 6602 }
5854 6603
@@ -5864,23 +6613,33 @@
5864 6613 .editor-global-styles-sidebar__panel {
5865 6614 flex: 1;
5866 6615 }
5867 6616
5868 -.editor-global-styles-sidebar .editor-global-styles-sidebar__header-title {
5869 - margin: 0;
6617 +.editor-global-styles-sidebar .editor-global-styles-sidebar__header {
6618 + flex-grow: 1;
5870 6619 }
5871 6620
5872 -.editor-global-styles-sidebar .editor-global-styles-sidebar__header-actions {
6621 +.editor-global-styles-sidebar:has(.global-styles-ui-screen-revisions) {
6622 + overflow: hidden;
6623 +}
6624 +
6625 +.editor-global-styles-sidebar__panel:has(.global-styles-ui-screen-revisions) {
6626 + display: flex;
6627 + flex-direction: column;
6628 + min-height: 0;
6629 +}
6630 +
6631 +.editor-global-styles-sidebar .global-styles-ui-sidebar__navigator-provider:has(.global-styles-ui-screen-revisions) {
5873 6632 flex: 1;
6633 + min-height: 0;
5874 6634 }
5875 6635
5876 -.editor-global-styles-sidebar .components-navigation__menu-title-heading {
5877 - font-size: 15.6px;
5878 - font-weight: 499;
6636 +.editor-global-styles-sidebar .editor-global-styles-sidebar__header-title {
6637 + margin: 0;
5879 6638 }
5880 6639
5881 -.editor-global-styles-sidebar .components-navigation__item > button span {
5882 - font-weight: 499;
6640 +.editor-global-styles-sidebar .editor-global-styles-sidebar__header-actions {
6641 + flex: 1;
5883 6642 }
5884 6643
5885 6644 .editor-global-styles-sidebar .block-editor-panel-color-gradient-settings {
5886 6645 border: 0;
@@ -5937,9 +6696,9 @@
5937 6696 max-width: 100%;
5938 6697 object-fit: cover;
5939 6698 }
5940 6699 .editor-welcome-guide__heading {
5941 - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
6700 + font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
5942 6701 font-size: 24px;
5943 6702 line-height: 1.4;
5944 6703 margin: 16px 0 16px 0;
5945 6704 padding: 0 32px;
@@ -5953,9 +6712,9 @@
5953 6712 .editor-welcome-guide__text img {
5954 6713 vertical-align: bottom;
5955 6714 }
5956 6715 .editor-welcome-guide .components-button:hover svg {
5957 - fill: #fff;
6716 + color: #fff;
5958 6717 }
5959 6718
5960 6719 .editor-header {
5961 6720 box-sizing: border-box;
@@ -5969,16 +6728,16 @@
5969 6728 height: 64px;
5970 6729 background: #fff;
5971 6730 display: grid;
5972 6731 grid-auto-flow: row;
5973 - grid-template: auto/64px minmax(0, max-content) minmax(min-content, 1fr) 64px;
6732 + grid-template: auto/auto minmax(0, max-content) minmax(min-content, 1fr) 64px;
5974 6733 }
5975 6734 .editor-header:has(> .editor-header__center) {
5976 - grid-template: auto/64px min-content 1fr min-content 64px;
6735 + grid-template: auto/auto min-content 1fr min-content 64px;
5977 6736 }
5978 6737 @media (min-width: 782px) {
5979 6738 .editor-header:has(> .editor-header__center) {
5980 - grid-template: auto/64px minmax(min-content, 2fr) 2.5fr minmax(min-content, 2fr) 64px;
6739 + grid-template: auto/auto minmax(min-content, 2fr) 2.5fr minmax(min-content, 2fr) 64px;
5981 6740 }
5982 6741 }
5983 6742 @media (min-width: 480px) {
5984 6743 .editor-header {
@@ -5995,8 +6754,15 @@
5995 6754 flex-wrap: nowrap;
5996 6755 }
5997 6756 }
5998 6757
6758 +.editor-header__back-button {
6759 + margin: 0 -8px 0 8px;
6760 +}
6761 +.show-icon-labels .editor-header__back-button {
6762 + margin-right: 0;
6763 +}
6764 +
5999 6765 .editor-header__toolbar {
6000 6766 grid-column: 1/3;
6001 6767 }
6002 6768 .editor-header__toolbar > :first-child {
@@ -6041,9 +6807,8 @@
6041 6807 display: flex;
6042 6808 justify-content: center;
6043 6809 align-items: center;
6044 6810 min-width: 0;
6045 - clip-path: inset(-2px);
6046 6811 }
6047 6812 @media (max-width: 479px) {
6048 6813 .editor-header__center > :first-child {
6049 6814 margin-inline-start: 8px;
@@ -6051,11 +6816,8 @@
6051 6816 .editor-header__center > :last-child {
6052 6817 margin-inline-end: 8px;
6053 6818 }
6054 6819 }
6055 -.editor-revisions-header .editor-header__center {
6056 - clip-path: none;
6057 -}
6058 6820
6059 6821 /**
6060 6822 * Buttons on the right side
6061 6823 */
@@ -6205,9 +6967,9 @@
6205 6967 }
6206 6968 .editor-editor-interface.is-distraction-free .editor-header > .edit-post-header__settings > .edit-post-header__post-preview-button {
6207 6969 visibility: hidden;
6208 6970 }
6209 -.editor-editor-interface.is-distraction-free .editor-header > .editor-header__toolbar .editor-document-tools__document-overview-toggle, .editor-editor-interface.is-distraction-free .editor-header > .editor-header__settings > .editor-preview-dropdown, .editor-editor-interface.is-distraction-free .editor-header > .editor-header__settings > .interface-pinned-items, .editor-editor-interface.is-distraction-free .editor-header > .editor-header__settings > .editor-zoom-out-toggle {
6971 +.editor-editor-interface.is-distraction-free .editor-header > .editor-header__toolbar .editor-document-tools__document-overview-toggle, .editor-editor-interface.is-distraction-free .editor-header > .editor-header__settings > .editor-preview-dropdown__toggle, .editor-editor-interface.is-distraction-free .editor-header > .editor-header__settings > .interface-pinned-items, .editor-editor-interface.is-distraction-free .editor-header > .editor-header__settings > .editor-zoom-out-toggle {
6210 6972 display: none;
6211 6973 }
6212 6974 .editor-editor-interface.is-distraction-free .interface-interface-skeleton__header:focus-within {
6213 6975 opacity: 1 !important;
@@ -6214,15 +6976,15 @@
6214 6976 }
6215 6977 .editor-editor-interface.is-distraction-free .interface-interface-skeleton__header:focus-within div {
6216 6978 transform: translateX(0) translateZ(0) !important;
6217 6979 }
6218 -.editor-editor-interface.is-distraction-free .components-editor-notices__dismissible {
6980 +.editor-editor-interface.is-distraction-free .editor-notices__dismissible {
6219 6981 position: absolute;
6220 6982 z-index: 35;
6221 6983 }
6222 -
6223 -.components-popover.more-menu-dropdown__content {
6224 - z-index: 99998;
6984 +.editor-editor-interface.is-distraction-free .interface-interface-skeleton__header:hover,
6985 +.editor-editor-interface.is-distraction-free .interface-interface-skeleton__header:focus-within {
6986 + z-index: 36;
6225 6987 }
6226 6988
6227 6989 .editor-inserter-sidebar {
6228 6990 box-sizing: border-box;
@@ -6246,9 +7008,9 @@
6246 7008 margin: 0 0 2rem 0;
6247 7009 }
6248 7010 .editor-keyboard-shortcut-help-modal__section-title {
6249 7011 font-size: 0.9rem;
6250 - font-weight: 600;
7012 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
6251 7013 }
6252 7014 .editor-keyboard-shortcut-help-modal__shortcut {
6253 7015 display: flex;
6254 7016 align-items: baseline;
@@ -6262,9 +7024,9 @@
6262 7024 .editor-keyboard-shortcut-help-modal__shortcut:empty {
6263 7025 display: none;
6264 7026 }
6265 7027 .editor-keyboard-shortcut-help-modal__shortcut-term {
6266 - font-weight: 600;
7028 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
6267 7029 margin: 0 0 0 1rem;
6268 7030 text-align: right;
6269 7031 }
6270 7032 .editor-keyboard-shortcut-help-modal__shortcut-description {
@@ -6352,9 +7114,9 @@
6352 7114 scrollbar-gutter: auto;
6353 7115 }
6354 7116
6355 7117 .editor-list-view-sidebar__list-view-panel-content {
6356 - padding: 4px;
7118 + padding: 8px;
6357 7119 }
6358 7120
6359 7121 .editor-list-view-sidebar__list-view-container {
6360 7122 display: flex;
@@ -6385,8 +7147,13 @@
6385 7147 line-height: 1.4;
6386 7148 color: #757575;
6387 7149 }
6388 7150
7151 +.editor-more-menu__popup {
7152 + max-height: var(--available-height);
7153 + max-width: var(--wpds-dimension-surface-width-sm, 320px);
7154 +}
7155 +
6389 7156 .editor-post-parent__panel,
6390 7157 .editor-post-order__panel {
6391 7158 padding-top: 8px;
6392 7159 }
@@ -6429,10 +7196,10 @@
6429 7196 .editor-post-card-panel__title {
6430 7197 width: 100%;
6431 7198 }
6432 7199 .editor-post-card-panel__title.editor-post-card-panel__title {
6433 - font-family: -apple-system, "system-ui", "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
6434 - font-weight: 499;
7200 + font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
7201 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
6435 7202 font-size: 13px;
6436 7203 line-height: 20px;
6437 7204 margin: 0;
6438 7205 display: flex;
@@ -6439,9 +7206,10 @@
6439 7206 align-items: center;
6440 7207 flex-wrap: wrap;
6441 7208 column-gap: 8px;
6442 7209 row-gap: 4px;
6443 - word-break: break-word;
7210 + word-break: normal;
7211 + overflow-wrap: anywhere;
6444 7212 }
6445 7213 .editor-post-card-panel__icon {
6446 7214 flex: 0 0 24px;
6447 7215 width: 24px;
@@ -6530,9 +7298,9 @@
6530 7298 .editor-post-featured-image__toggle,
6531 7299 .editor-post-featured-image__preview {
6532 7300 width: 100%;
6533 7301 padding: 0;
6534 - box-shadow: 0 0 0 0 var(--wp-admin-theme-color);
7302 + border-color: #ccc;
6535 7303 overflow: hidden;
6536 7304 outline-offset: -1px;
6537 7305 min-height: 40px;
6538 7306 display: flex;
@@ -6554,15 +7322,8 @@
6554 7322 object-position: 50% 50%;
6555 7323 aspect-ratio: 2/1;
6556 7324 }
6557 7325
6558 -.editor-post-featured-image__toggle {
6559 - box-shadow: inset 0 0 0 1px #ccc;
6560 -}
6561 -.editor-post-featured-image__toggle:focus:not(:disabled) {
6562 - box-shadow: 0 0 0 currentColor inset, 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
6563 -}
6564 -
6565 7326 .editor-post-featured-image__actions:not(.editor-post-featured-image__actions-missing-image) {
6566 7327 bottom: 0;
6567 7328 opacity: 0;
6568 7329 padding: 8px;
@@ -6599,9 +7360,9 @@
6599 7360 }
6600 7361
6601 7362 .editor-post-last-revision__title {
6602 7363 width: 100%;
6603 - font-weight: 499;
7364 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
6604 7365 }
6605 7366
6606 7367 .editor-post-last-revision__title.components-button.has-icon {
6607 7368 height: 100%;
@@ -6610,9 +7371,9 @@
6610 7371 .editor-post-last-revision__title.components-button.has-icon:hover, .editor-post-last-revision__title.components-button.has-icon:active {
6611 7372 background: #f0f0f0;
6612 7373 }
6613 7374 .editor-post-last-revision__title.components-button.has-icon:focus {
6614 - box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
7375 + outline-offset: calc(-1 * var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)));
6615 7376 border-radius: 0;
6616 7377 }
6617 7378
6618 7379 .components-panel__body.is-opened.editor-post-last-revision__panel {
@@ -6622,12 +7383,8 @@
6622 7383 .components-panel__body.is-opened.editor-post-last-revision__panel .editor-post-last-revision__title.components-button.components-button {
6623 7384 padding: 16px;
6624 7385 }
6625 7386
6626 -.editor-private-post-last-revision__button {
6627 - display: inline-block;
6628 -}
6629 -
6630 7387 .editor-post-locked-modal__buttons {
6631 7388 margin-top: 24px;
6632 7389 }
6633 7390
@@ -6652,8 +7409,10 @@
6652 7409 align-items: center;
6653 7410 padding: 6px 0;
6654 7411 line-height: 20px;
6655 7412 hyphens: auto;
7413 + word-break: normal;
7414 + overflow-wrap: anywhere;
6656 7415 }
6657 7416
6658 7417 .editor-post-panel__row-control {
6659 7418 flex-grow: 1;
@@ -6668,9 +7427,9 @@
6668 7427 text-wrap: balance;
6669 7428 text-wrap: pretty;
6670 7429 height: auto;
6671 7430 min-height: 32px;
6672 - font-weight: 400;
7431 + font-weight: var(--wpds-typography-font-weight-default, 400);
6673 7432 }
6674 7433 .editor-post-panel__row-control .components-dropdown {
6675 7434 max-width: 100%;
6676 7435 }
@@ -6729,9 +7488,10 @@
6729 7488 .components-site-home {
6730 7489 display: block;
6731 7490 color: #757575;
6732 7491 font-size: 12px;
6733 - word-break: break-word;
7492 + word-break: normal;
7493 + overflow-wrap: anywhere;
6734 7494 }
6735 7495
6736 7496 .editor-post-publish-panel__header-publish-button,
6737 7497 .editor-post-publish-panel__header-cancel-button {
@@ -6752,12 +7512,8 @@
6752 7512 .editor-post-publish-panel__header-cancel-button {
6753 7513 padding-right: 4px;
6754 7514 }
6755 7515
6756 -.editor-post-publish-panel__header-published {
6757 - flex-grow: 1;
6758 -}
6759 -
6760 7516 .editor-post-publish-panel__footer {
6761 7517 padding: 16px;
6762 7518 }
6763 7519
@@ -6787,11 +7543,8 @@
6787 7543 background: #fff;
6788 7544 margin-left: -16px;
6789 7545 margin-right: -16px;
6790 7546 }
6791 -.editor-post-publish-panel__prepublish .editor-post-visibility__dialog-legend {
6792 - display: none;
6793 -}
6794 7547 .editor-post-publish-panel__prepublish .components-panel__body-title .components-button {
6795 7548 align-items: flex-start;
6796 7549 text-wrap: balance;
6797 7550 text-wrap: pretty;
@@ -6799,9 +7552,10 @@
6799 7552
6800 7553 .post-publish-panel__postpublish .components-panel__body {
6801 7554 border-bottom: 1px solid #e0e0e0;
6802 7555 border-top: none;
6803 - word-break: break-word;
7556 + word-break: normal;
7557 + overflow-wrap: anywhere;
6804 7558 }
6805 7559
6806 7560 .post-publish-panel__postpublish-buttons {
6807 7561 display: flex;
@@ -6841,9 +7595,9 @@
6841 7595 margin-left: 16px;
6842 7596 }
6843 7597
6844 7598 .post-publish-panel__postpublish-header {
6845 - font-weight: 499;
7599 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
6846 7600 }
6847 7601
6848 7602 .post-publish-panel__postpublish-subheader {
6849 7603 margin: 0 0 8px;
@@ -6848,17 +7602,8 @@
6848 7602 .post-publish-panel__postpublish-subheader {
6849 7603 margin: 0 0 8px;
6850 7604 }
6851 7605
6852 -.post-publish-panel__tip {
6853 - color: #f0b849;
6854 -}
6855 -
6856 -@media screen and (max-width: 782px) {
6857 - .post-publish-panel__postpublish-post-address__button-wrap .components-button {
6858 - height: 40px;
6859 - }
6860 -}
6861 7606 .editor-post-publish-panel {
6862 7607 box-sizing: border-box;
6863 7608 }
6864 7609 .editor-post-publish-panel *,
@@ -6892,9 +7637,9 @@
6892 7637 }
6893 7638 }
6894 7639 @media (min-width: 782px) {
6895 7640 body.is-fullscreen-mode .editor-post-publish-panel {
6896 - top: 0;
7641 + top: var(--wp-admin--admin-bar--height, 0);
6897 7642 }
6898 7643 [role=region]:focus .editor-post-publish-panel {
6899 7644 transform: translateX(0%);
6900 7645 }
@@ -6904,22 +7649,8 @@
6904 7649 100% {
6905 7650 transform: translateX(0%);
6906 7651 }
6907 7652 }
6908 -.editor-post-revisions-panel .editor-post-revisions-panel__view-all {
6909 - justify-content: center;
6910 -}
6911 -.editor-post-revisions-panel .editor-post-revisions-panel__revision-date {
6912 - text-transform: uppercase;
6913 - font-weight: 600;
6914 - font-size: 12px;
6915 -}
6916 -
6917 -.editor-post-revisions-panel__revisions-count {
6918 - margin-top: -4.5px;
6919 - margin-bottom: -4.5px;
6920 -}
6921 -
6922 7653 .editor-revisions-header__slider {
6923 7654 width: 100%;
6924 7655 }
6925 7656 .editor-revisions-header__slider .components-range-control__tooltip {
@@ -6946,12 +7677,108 @@
6946 7677 flex: 1;
6947 7678 min-width: 0;
6948 7679 }
6949 7680
7681 +.editor-revisions-code-diff {
7682 + height: 100%;
7683 + overflow: auto;
7684 + background: #fff;
7685 + color: #1e1e1e;
7686 +}
7687 +.editor-revisions-code-diff:focus-visible {
7688 + box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
7689 + outline: none;
7690 +}
7691 +
7692 +.editor-revisions-code-diff__table {
7693 + width: 100%;
7694 + min-width: max-content;
7695 + border: 0;
7696 + border-collapse: separate;
7697 + border-spacing: 0;
7698 + font-family: Menlo, Consolas, monaco, monospace;
7699 + font-size: 15px;
7700 + line-height: 1.6;
7701 +}
7702 +
7703 +.editor-revisions-code-diff__line.is-added {
7704 + background: rgba(0, 163, 42, 0.12);
7705 +}
7706 +.editor-revisions-code-diff__line.is-added > .editor-revisions-code-diff__line-number,
7707 +.editor-revisions-code-diff__line.is-added > .editor-revisions-code-diff__marker {
7708 + background: color-mix(in srgb, #00a32a 12%, #fff);
7709 +}
7710 +.editor-revisions-code-diff__line.is-removed {
7711 + background: rgba(214, 54, 56, 0.12);
7712 +}
7713 +.editor-revisions-code-diff__line.is-removed > .editor-revisions-code-diff__line-number,
7714 +.editor-revisions-code-diff__line.is-removed > .editor-revisions-code-diff__marker {
7715 + background: color-mix(in srgb, #d63638 12%, #fff);
7716 +}
7717 +
7718 +.editor-revisions-code-diff__line-number,
7719 +.editor-revisions-code-diff__marker {
7720 + position: sticky;
7721 + z-index: 1;
7722 + box-sizing: border-box;
7723 + padding: 0 8px;
7724 + background: #fff;
7725 + color: #757575;
7726 + text-align: right;
7727 + white-space: nowrap;
7728 + -webkit-user-select: none;
7729 + user-select: none;
7730 +}
7731 +
7732 +.editor-revisions-code-diff__line-number {
7733 + left: 0;
7734 + width: 6ch;
7735 + min-width: 6ch;
7736 + max-width: 6ch;
7737 + border-right: 1px solid #e0e0e0;
7738 + background: #f0f0f0;
7739 +}
7740 +.editor-revisions-code-diff__line-number.is-previous + .editor-revisions-code-diff__line-number.is-current {
7741 + left: 6ch;
7742 +}
7743 +
7744 +.editor-revisions-code-diff__marker {
7745 + left: 12ch;
7746 + width: 3ch;
7747 + min-width: 3ch;
7748 + max-width: 3ch;
7749 + border-right: 1px solid #e0e0e0;
7750 + padding: 0;
7751 + font-weight: 600;
7752 + text-align: center;
7753 +}
7754 +
7755 +.editor-revisions-code-diff__code {
7756 + width: 100%;
7757 + padding: 0 16px 0 8px;
7758 + /*rtl:ignore*/
7759 + direction: ltr;
7760 + unicode-bidi: isolate;
7761 + white-space: pre;
7762 +}
7763 +.editor-revisions-code-diff__code code {
7764 + margin: 0;
7765 + padding: 0;
7766 + background: none;
7767 + color: inherit;
7768 + font: inherit;
7769 +}
7770 +
7771 +.editor-revisions-code-diff__empty {
7772 + margin: 0;
7773 + padding: 24px;
7774 + color: #757575;
7775 +}
7776 +
6950 7777 .revision-diff-markers {
6951 7778 position: relative;
6952 7779 flex-shrink: 0;
6953 - width: 12px;
7780 + width: max(16px, 1rem);
6954 7781 background: rgba(0, 0, 0, 0.05);
6955 7782 }
6956 7783 .revision-diff-markers .revision-diff-marker {
6957 7784 position: absolute;
@@ -6962,15 +7789,15 @@
6962 7789 cursor: var(--wpds-cursor-control, pointer);
6963 7790 transition: opacity 0.1s ease;
6964 7791 }
6965 7792 .revision-diff-markers .revision-diff-marker.is-added {
6966 - background: #00a32a;
7793 + background: #008a20;
6967 7794 }
6968 7795 .revision-diff-markers .revision-diff-marker.is-removed {
6969 - background: #d63638;
7796 + background: repeating-linear-gradient(45deg, #d63638, #d63638 6px, rgba(214, 54, 56, 0.45) 6px, rgba(214, 54, 56, 0.45) 8px);
6970 7797 }
6971 7798 .revision-diff-markers .revision-diff-marker.is-modified {
6972 - background: #dba617;
7799 + background: repeating-linear-gradient(-45deg, #9a7000, #9a7000 6px, rgba(154, 112, 0, 0.45) 6px, rgba(154, 112, 0, 0.45) 8px);
6973 7800 }
6974 7801 .revision-diff-markers .revision-diff-marker:hover {
6975 7802 opacity: 0.7;
6976 7803 }
@@ -6978,10 +7805,45 @@
6978 7805 outline: 2px solid #1e1e1e;
6979 7806 outline-offset: -2px;
6980 7807 }
6981 7808
7809 +.interface-complementary-area:has(.editor-post-revisions-timeline) {
7810 + display: flex;
7811 + flex-direction: column;
7812 + overflow: hidden;
7813 +}
7814 +
7815 +.interface-complementary-area > .editor-sidebar__panel-tabs {
7816 + flex-shrink: 0;
7817 +}
7818 +
7819 +.editor-sidebar__panel:has(.editor-post-revisions-timeline) {
7820 + display: flex;
7821 + flex-direction: column;
7822 + flex: 1;
7823 + min-height: 0;
7824 +}
7825 +
7826 +.editor-sidebar__panel [role=tabpanel]:has(.editor-post-revisions-timeline) {
7827 + display: flex;
7828 + flex-direction: column;
7829 + flex: 1;
7830 + min-height: 0;
7831 +}
7832 +
7833 +.editor-sidebar__panel .editor-revision-meta-diff__content {
7834 + max-height: 80px;
7835 + overflow-y: auto;
7836 +}
7837 +
7838 +.editor-sidebar__panel .editor-post-revisions-timeline {
7839 + flex: 1;
7840 + min-height: 0;
7841 +}
7842 +
6982 7843 .editor-revision-fields-diff__value {
6983 - word-break: break-word;
7844 + word-break: normal;
7845 + overflow-wrap: anywhere;
6984 7846 }
6985 7847
6986 7848 .editor-revision-fields-diff__added {
6987 7849 background-color: color-mix(in srgb, currentColor 5%, #00a32a 15%);
@@ -7035,8 +7897,14 @@
7035 7897 min-width: 320px;
7036 7898 padding: 16px;
7037 7899 }
7038 7900
7901 +.editor-post-schedule__reset {
7902 + justify-content: center;
7903 + margin-top: 16px;
7904 + width: 100%;
7905 +}
7906 +
7039 7907 .editor-post-status {
7040 7908 max-width: 100%;
7041 7909 }
7042 7910 .editor-post-status.is-read-only {
@@ -7089,8 +7957,13 @@
7089 7957 .editor-post-taxonomies__hierarchical-terms-choice:last-child {
7090 7958 margin-bottom: 4px;
7091 7959 }
7092 7960
7961 +.editor-post-taxonomies__hierarchical-terms-add,
7962 +.editor-post-taxonomies__hierarchical-terms-submit {
7963 + align-self: flex-start;
7964 +}
7965 +
7093 7966 .editor-post-taxonomies__hierarchical-terms-subchoices {
7094 7967 margin-top: 8px;
7095 7968 margin-left: 16px;
7096 7969 }
@@ -7208,9 +8081,10 @@
7208 8081 margin: 0;
7209 8082 width: 100%;
7210 8083 box-shadow: none;
7211 8084 resize: none;
7212 - overflow: hidden;
8085 + field-sizing: content;
8086 + overflow: auto;
7213 8087 font-family: Menlo, Consolas, monaco, monospace;
7214 8088 line-height: 2.4;
7215 8089 min-height: 200px;
7216 8090 }
@@ -7263,9 +8137,10 @@
7263 8137 /* rtl:begin:ignore */
7264 8138 .editor-post-url__link,
7265 8139 .editor-post-url__front-page-link {
7266 8140 direction: ltr;
7267 - word-break: break-word;
8141 + word-break: normal;
8142 + overflow-wrap: anywhere;
7268 8143 }
7269 8144
7270 8145 /* rtl:end:ignore */
7271 8146 .editor-post-url__front-page-link {
@@ -7283,9 +8158,9 @@
7283 8158 outline: 3px solid rgba(0, 0, 0, 0);
7284 8159 }
7285 8160
7286 8161 .editor-post-url__link-slug {
7287 - font-weight: 600;
8162 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
7288 8163 }
7289 8164
7290 8165 .editor-post-url__input input.components-input-control__input {
7291 8166 padding-inline-start: 0 !important;
@@ -7292,9 +8167,10 @@
7292 8167 }
7293 8168
7294 8169 .editor-post-url__panel-toggle,
7295 8170 .editor-post-parent__panel-toggle {
7296 - word-break: break-word;
8171 + word-break: normal;
8172 + overflow-wrap: anywhere;
7297 8173 }
7298 8174
7299 8175 .editor-post-url__intro {
7300 8176 margin: 0;
@@ -7317,19 +8193,27 @@
7317 8193 flex-grow: 1;
7318 8194 justify-content: center;
7319 8195 }
7320 8196
7321 -.editor-preview-dropdown .editor-preview-dropdown__toggle.has-icon.has-text {
8197 +.editor-preview-dropdown__popup {
8198 + max-width: var(--wpds-dimension-surface-width-xs, 240px);
8199 +}
8200 +
8201 +.editor-preview-dropdown__toggle.has-icon.has-text {
7322 8202 padding-right: 4px;
7323 8203 padding-left: 6px;
7324 8204 }
7325 8205
7326 -.editor-preview-dropdown__button-external {
7327 - width: 100%;
7328 - display: flex;
7329 - justify-content: space-between;
8206 +.editor-preview-dropdown__toggle.is-responsive-editing {
8207 + color: var(--wp-block-synced-color);
7330 8208 }
7331 8209
8210 +@media (prefers-reduced-motion: no-preference) {
8211 + .editor-resizable-editor:not(.is-resizing) {
8212 + transition: width 0.2s ease-out;
8213 + }
8214 +}
8215 +
7332 8216 .editor-resizable-editor.is-resizable {
7333 8217 overflow: visible;
7334 8218 margin: 0 auto;
7335 8219 }
@@ -7372,8 +8256,22 @@
7372 8256 .editor-resizable-editor__resize-handle:hover::after, .editor-resizable-editor__resize-handle:focus::after, .editor-resizable-editor__resize-handle:active::after {
7373 8257 background-color: var(--wp-admin-theme-color);
7374 8258 }
7375 8259
8260 +.editor-save-error-details {
8261 + display: inline;
8262 +}
8263 +
8264 +.editor-save-error-details summary {
8265 + display: inline;
8266 + cursor: var(--wpds-cursor-control, pointer);
8267 + margin-left: 0.35em;
8268 +}
8269 +
8270 +.editor-save-error-details__message {
8271 + white-space: break-spaces;
8272 +}
8273 +
7376 8274 .editor-layout__toggle-publish-panel,
7377 8275 .editor-layout__toggle-sidebar-panel,
7378 8276 .editor-layout__toggle-entities-saved-states-panel {
7379 8277 z-index: 100000;
@@ -7404,12 +8302,12 @@
7404 8302 bottom: 0;
7405 8303 width: 100%;
7406 8304 height: 72px;
7407 8305 background-color: #fff;
7408 - margin-left: -32px;
7409 - margin-right: -32px;
7410 - padding-left: 32px;
7411 - padding-right: 32px;
8306 + margin-left: -24px;
8307 + margin-right: -24px;
8308 + padding-left: 24px;
8309 + padding-right: 24px;
7412 8310 border-top: 1px solid #ddd;
7413 8311 z-index: 1;
7414 8312 }
7415 8313 .editor-start-page-options__modal .block-editor-block-patterns-list {
@@ -7414,23 +8312,49 @@
7414 8312 }
7415 8313 .editor-start-page-options__modal .block-editor-block-patterns-list {
7416 8314 padding-bottom: 72px;
7417 8315 }
8316 +.editor-start-page-options__modal .editor-start-page-options__sidebar {
8317 + display: none;
8318 +}
8319 +@media (min-width: 782px) {
8320 + .editor-start-page-options__modal .editor-start-page-options__sidebar {
8321 + display: flex;
8322 + position: absolute;
8323 + top: 72px;
8324 + left: 0;
8325 + bottom: 72px;
8326 + width: 280px;
8327 + padding: 24px;
8328 + overflow-x: visible;
8329 + overflow-y: auto;
8330 + }
8331 +}
7418 8332
8333 +.editor-start-page-options__modal-content {
8334 + container-type: inline-size;
8335 +}
8336 +
8337 +@media (min-width: 782px) {
8338 + .editor-start-page-options__modal-content.has-pattern-categories {
8339 + margin-left: 280px;
8340 + }
8341 +}
8342 +
8343 +.editor-start-page-options__no-results {
8344 + padding: 32px;
8345 + text-align: center;
8346 +}
8347 +
7419 8348 .editor-start-page-options__modal-content .block-editor-block-patterns-list {
7420 8349 column-count: 2;
7421 8350 column-gap: 24px;
7422 8351 }
7423 -@media (min-width: 782px) {
8352 +@container (min-width: 464px) {
7424 8353 .editor-start-page-options__modal-content .block-editor-block-patterns-list {
7425 - column-count: 3;
8354 + columns: 4 220px;
7426 8355 }
7427 8356 }
7428 -@media (min-width: 1280px) {
7429 - .editor-start-page-options__modal-content .block-editor-block-patterns-list {
7430 - column-count: 4;
7431 - }
7432 -}
7433 8357 .editor-start-page-options__modal-content .block-editor-block-patterns-list .block-editor-block-patterns-list__list-item {
7434 8358 break-inside: avoid-column;
7435 8359 margin-bottom: 24px;
7436 8360 }
@@ -7446,12 +8370,12 @@
7446 8370 bottom: 0;
7447 8371 width: 100%;
7448 8372 height: 92px;
7449 8373 background-color: #fff;
7450 - margin-left: -32px;
7451 - margin-right: -32px;
7452 - padding-left: 32px;
7453 - padding-right: 32px;
8374 + margin-left: -24px;
8375 + margin-right: -24px;
8376 + padding-left: 24px;
8377 + padding-right: 24px;
7454 8378 border-top: 1px solid #ddd;
7455 8379 z-index: 1;
7456 8380 }
7457 8381 .editor-start-template-options__modal .block-editor-block-patterns-list {
@@ -7463,16 +8387,11 @@
7463 8387 column-gap: 24px;
7464 8388 }
7465 8389 @media (min-width: 782px) {
7466 8390 .editor-start-template-options__modal-content .block-editor-block-patterns-list {
7467 - column-count: 3;
8391 + columns: 4 220px;
7468 8392 }
7469 8393 }
7470 -@media (min-width: 1280px) {
7471 - .editor-start-template-options__modal-content .block-editor-block-patterns-list {
7472 - column-count: 4;
7473 - }
7474 -}
7475 8394 .editor-start-template-options__modal-content .block-editor-block-patterns-list .block-editor-block-patterns-list__list-item {
7476 8395 break-inside: avoid-column;
7477 8396 }
7478 8397 .editor-start-template-options__modal-content .block-editor-block-patterns-list .block-editor-block-patterns-list__list-item .block-editor-block-patterns-list__item-title {
@@ -7525,13 +8444,8 @@
7525 8444 }
7526 8445 .editor-style-book.is-button {
7527 8446 border-radius: 8px;
7528 8447 }
7529 -.editor-style-book {
7530 - display: flex;
7531 - flex-direction: column;
7532 - align-items: stretch;
7533 -}
7534 8448
7535 8449 .editor-style-book__iframe {
7536 8450 display: block;
7537 8451 height: 100%;
@@ -7544,8 +8458,14 @@
7544 8458 outline: calc(2 * var(--wp-admin-border-width-focus)) solid var(--wp-admin-theme-color);
7545 8459 outline-offset: calc(-2 * var(--wp-admin-border-width-focus));
7546 8460 }
7547 8461
8462 +.editor-style-book__tabs {
8463 + height: 100%;
8464 + display: flex;
8465 + flex-direction: column;
8466 +}
8467 +
7548 8468 .editor-style-book__tablist-container {
7549 8469 flex: none;
7550 8470 display: flex;
7551 8471 width: 100%;
@@ -7559,9 +8479,9 @@
7559 8479 }
7560 8480
7561 8481 .editor-styles-canvas {
7562 8482 height: 100%;
7563 - padding: 16px;
8483 + padding: 24px;
7564 8484 background-color: var(--wp-editor-canvas-background);
7565 8485 }
7566 8486 .editor-styles-canvas iframe {
7567 8487 display: block;
@@ -7567,12 +8487,14 @@
7567 8487 display: block;
7568 8488 width: 100%;
7569 8489 height: 100%;
7570 8490 }
8491 +.editor-styles-canvas.is-preview-mode {
8492 + padding: 0;
8493 +}
7571 8494
7572 8495 .editor-styles-canvas__section {
7573 8496 background: #fff;
7574 - border-radius: 8px;
7575 8497 bottom: 0;
7576 8498 left: 0;
7577 8499 overflow: hidden;
7578 8500 position: absolute;
@@ -7658,9 +8580,9 @@
7658 8580 .table-of-contents__title {
7659 8581 display: block;
7660 8582 margin-top: 20px;
7661 8583 font-size: 15px;
7662 - font-weight: 600;
8584 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
7663 8585 }
7664 8586
7665 8587 .editor-text-editor {
7666 8588 box-sizing: border-box;
@@ -7671,8 +8593,9 @@
7671 8593 box-sizing: inherit;
7672 8594 }
7673 8595 .editor-text-editor {
7674 8596 position: relative;
8597 + isolation: isolate;
7675 8598 width: 100%;
7676 8599 background-color: #fff;
7677 8600 flex-grow: 1;
7678 8601 }
@@ -7681,9 +8604,9 @@
7681 8604 max-width: none;
7682 8605 line-height: 1.4;
7683 8606 font-family: Menlo, Consolas, monaco, monospace;
7684 8607 font-size: 2.5em;
7685 - font-weight: normal;
8608 + font-weight: 400;
7686 8609 border: 1px solid #949494;
7687 8610 border-radius: 0;
7688 8611 padding: 16px;
7689 8612 }
@@ -7738,11 +8661,31 @@
7738 8661 font-size: 13px;
7739 8662 color: #1e1e1e;
7740 8663 }
7741 8664
8665 +.editor-upload-progress-snackbar__spinner,
8666 +.editor-upload-progress-snackbar__check {
8667 + display: inline-flex;
8668 + align-items: center;
8669 + justify-content: center;
8670 + width: 24px;
8671 + height: 24px;
8672 +}
8673 +
8674 +.editor-upload-progress-snackbar__spinner .components-spinner {
8675 + margin: 0;
8676 +}
8677 +
8678 +.editor-upload-progress-snackbar__check svg {
8679 + width: 24px;
8680 + height: 24px;
8681 + fill: currentColor;
8682 +}
8683 +
7742 8684 .editor-visual-editor {
7743 8685 position: relative;
7744 8686 display: flex;
8687 + max-height: 100%;
7745 8688 background-color: var(--wp-editor-canvas-background);
7746 8689 }
7747 8690 .editor-visual-editor iframe[name=editor-canvas] {
7748 8691 background-color: transparent;
@@ -7747,21 +8690,30 @@
7747 8690 .editor-visual-editor iframe[name=editor-canvas] {
7748 8691 background-color: transparent;
7749 8692 }
7750 8693 .editor-visual-editor {
8694 + flex-direction: column;
7751 8695 align-items: center;
8696 + justify-content: center;
7752 8697 }
7753 -.editor-visual-editor.is-resizable {
7754 - max-height: 100%;
8698 +@media (prefers-reduced-motion: no-preference) {
8699 + .editor-visual-editor {
8700 + transition: padding 0.2s ease-out;
8701 + }
7755 8702 }
7756 -.editor-visual-editor.has-padding {
7757 - padding: 24px 24px 0;
8703 +.editor-visual-editor.has-vertical-padding {
8704 + padding-top: 24px;
8705 + padding-bottom: 24px;
7758 8706 }
7759 -.editor-visual-editor.is-iframed {
8707 +.editor-visual-editor.has-horizontal-padding {
8708 + padding-left: 24px;
8709 + padding-right: 24px;
8710 +}
8711 +.editor-visual-editor {
7760 8712 overflow: hidden;
7761 8713 }
7762 8714 .editor-visual-editor .components-button {
7763 - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
8715 + font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
7764 8716 font-size: 13px;
7765 8717 padding: 6px 12px;
7766 8718 }
7767 8719 .editor-visual-editor .components-button.is-tertiary, .editor-visual-editor .components-button.has-icon {
@@ -7790,5 +8742,29 @@
7790 8742
7791 8743 .editor-push-changes-to-global-styles-control .components-button {
7792 8744 justify-content: center;
7793 8745 width: 100%;
8746 +}
8747 +
8748 +.editor-push-changes-to-global-styles-modal p {
8749 + margin-top: 0;
8750 +}
8751 +
8752 +.editor-push-changes-to-global-styles-modal .dataviews-layout__container {
8753 + overflow-x: hidden;
8754 +}
8755 +@media (max-width: 600px) {
8756 + .editor-push-changes-to-global-styles-modal .dataviews-layout__container {
8757 + overflow-x: auto;
8758 + }
8759 +}
8760 +.editor-push-changes-to-global-styles-modal .components-modal__content {
8761 + padding-bottom: 0;
8762 +}
8763 +.editor-push-changes-to-global-styles-modal .dataviews-footer {
8764 + padding-bottom: 24px;
8765 +}
8766 +
8767 +.editor-push-changes-to-global-styles-modal__value {
8768 + color: #1e1e1e;
8769 + overflow-wrap: anywhere;
7794 8770 }