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-rtl.css +1635 -1032 23.2.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-right: 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 + right: 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-right: 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 - right: 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 - right: 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 40px 4px 12px;
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 40px 12px 12px;
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: right;
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-left: 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: right;
972 913 line-height: 1.4;
973 - margin-right: 12px;
914 + margin: 0 12px 0 0;
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 - right: -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-right: auto;
1027 + width: 6px;
1028 +}
1029 +
1107 1030 .global-styles-ui-screen-typography__font-variants-count {
1108 1031 color: #757575;
1109 1032 }
1110 1033
@@ -1127,15 +1050,15 @@
1127 1050
1128 1051 .global-styles-ui-subtitle {
1129 1052 margin-bottom: 0 !important;
1130 1053 text-transform: uppercase;
1131 - font-weight: 499 !important;
1054 + font-weight: var(--wpds-typography-font-weight-emphasis, 600) !important;
1132 1055 font-size: 11px !important;
1133 1056 }
1134 1057
1135 1058 .global-styles-ui-section-title {
1136 1059 color: #2f2f2f;
1137 - font-weight: 600;
1060 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
1138 1061 line-height: 1.2;
1139 1062 padding: 16px 16px 0;
1140 1063 margin: 0;
1141 1064 }
@@ -1146,10 +1069,20 @@
1146 1069
1147 1070 .global-styles-ui__color-indicator-wrapper {
1148 1071 height: 24px;
1149 1072 flex-shrink: 0;
1073 + display: flex;
1074 + align-items: center;
1150 1075 }
1151 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 +
1152 1085 .global-styles-ui__shadows-panel__options-container,
1153 1086 .global-styles-ui__typography-panel__options-container {
1154 1087 height: 24px;
1155 1088 }
@@ -1161,9 +1094,10 @@
1161 1094 border-radius: 2px;
1162 1095 overflow: hidden;
1163 1096 }
1164 1097
1165 -.global-styles-ui__shadow-preview-panel {
1098 +.global-styles-ui__shadow-preview-panel,
1099 +.global-styles-ui__text-shadow-preview-panel {
1166 1100 height: 144px;
1167 1101 border: #ddd 1px solid;
1168 1102 border-radius: 2px;
1169 1103 overflow: auto;
@@ -1171,9 +1105,9 @@
1171 1105 background-position: 0 0, 8px 8px;
1172 1106 background-size: 16px 16px;
1173 1107 }
1174 1108
1175 -.global-styles-ui__shadow-preview-panel .global-styles-ui__shadow-preview-block {
1109 +.global-styles-ui__shadow-preview-block {
1176 1110 border: #ddd 1px solid;
1177 1111 border-radius: 2px;
1178 1112 background-color: #fff;
1179 1113 width: 60%;
@@ -1179,22 +1113,44 @@
1179 1113 width: 60%;
1180 1114 height: 60px;
1181 1115 }
1182 1116
1183 -.global-styles-ui__shadow-editor__dropdown-content {
1117 +.global-styles-ui__text-shadow-preview-panel {
1118 + margin-block: -8px 16px;
1119 +}
1120 +
1121 +.global-styles-ui__text-shadow-preview-text {
1122 + font-size: 24px;
1123 +}
1124 +
1125 +.global-styles-ui__text-shadow-editor__header {
1126 + margin-block-end: 8px;
1127 +}
1128 +
1129 +.global-styles-ui__text-shadow-editor__inputs {
1130 + display: grid;
1131 + grid-template-columns: repeat(2, 1fr);
1132 + gap: 16px;
1133 +}
1134 +
1135 +.global-styles-ui__shadow-editor__dropdown-content,
1136 +.global-styles-ui__text-shadow-editor__dropdown-content {
1184 1137 width: 280px;
1185 1138 }
1186 1139
1187 -.global-styles-ui__shadow-editor-panel {
1140 +.global-styles-ui__shadow-editor-panel,
1141 +.global-styles-ui__text-shadow-editor-panel {
1188 1142 margin-bottom: 4px;
1189 1143 }
1190 1144
1191 -.global-styles-ui__shadow-editor__dropdown {
1145 +.global-styles-ui__shadow-editor__dropdown,
1146 +.global-styles-ui__text-shadow-editor__dropdown {
1192 1147 width: 100%;
1193 1148 position: relative;
1194 1149 }
1195 1150
1196 -.global-styles-ui__shadow-editor__dropdown-toggle {
1151 +.global-styles-ui__shadow-editor__dropdown-toggle,
1152 +.global-styles-ui__text-shadow-editor__dropdown-toggle {
1197 1153 width: 100%;
1198 1154 height: auto;
1199 1155 padding-top: 8px;
1200 1156 padding-bottom: 8px;
@@ -1201,14 +1157,16 @@
1201 1157 text-align: right;
1202 1158 border-radius: inherit;
1203 1159 }
1204 1160
1205 -.global-styles-ui__shadow-editor__dropdown-toggle.is-open {
1161 +.global-styles-ui__shadow-editor__dropdown-toggle.is-open,
1162 +.global-styles-ui__text-shadow-editor__dropdown-toggle.is-open {
1206 1163 background: #f0f0f0;
1207 1164 color: var(--wp-admin-theme-color);
1208 1165 }
1209 1166
1210 -.global-styles-ui__shadow-editor__remove-button {
1167 +.global-styles-ui__shadow-editor__remove-button,
1168 +.global-styles-ui__text-shadow-editor__remove-button {
1211 1169 position: absolute;
1212 1170 left: 8px;
1213 1171 top: 8px;
1214 1172 opacity: 0;
@@ -1213,18 +1171,19 @@
1213 1171 top: 8px;
1214 1172 opacity: 0;
1215 1173 }
1216 1174
1217 -.global-styles-ui__shadow-editor__remove-button.global-styles-ui__shadow-editor__remove-button {
1218 - border: none;
1219 -}
1220 -
1221 -.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 {
1175 +.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,
1176 +.global-styles-ui__shadow-editor__dropdown-toggle:hover + .global-styles-ui__text-shadow-editor__remove-button,
1177 +.global-styles-ui__text-shadow-editor__dropdown-toggle:hover + .global-styles-ui__text-shadow-editor__remove-button,
1178 +.global-styles-ui__text-shadow-editor__remove-button:focus,
1179 +.global-styles-ui__text-shadow-editor__remove-button:hover {
1222 1180 opacity: 1;
1223 1181 }
1224 1182
1225 1183 @media (hover: none) {
1226 - .global-styles-ui__shadow-editor__remove-button {
1184 + .global-styles-ui__shadow-editor__remove-button,
1185 + .global-styles-ui__text-shadow-editor__remove-button {
1227 1186 opacity: 1;
1228 1187 }
1229 1188 }
1230 1189 .global-styles-ui-screen-css {
@@ -1233,27 +1192,26 @@
1233 1192 flex-direction: column;
1234 1193 margin: 16px;
1235 1194 }
1236 1195
1237 -.global-styles-ui-screen-css .components-v-stack {
1196 +.global-styles-ui-screen-css .block-editor-global-styles-advanced-panel {
1238 1197 flex: 1 1 auto;
1239 1198 }
1240 1199
1241 -.global-styles-ui-screen-css .components-v-stack .block-editor-global-styles-advanced-panel__custom-css-input {
1200 +.global-styles-ui-screen-css .block-editor-global-styles-advanced-panel__custom-css-input {
1242 1201 flex: 1 1 auto;
1243 1202 display: flex;
1244 1203 flex-direction: column;
1245 1204 }
1246 1205
1247 -.global-styles-ui-screen-css .components-v-stack .block-editor-global-styles-advanced-panel__custom-css-input .components-base-control__field {
1206 +.global-styles-ui-screen-css .block-editor-global-styles-advanced-panel__custom-css-input .components-base-control__field {
1248 1207 flex: 1 1 auto;
1249 1208 display: flex;
1250 1209 flex-direction: column;
1251 1210 }
1252 1211
1253 -.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 {
1212 +.global-styles-ui-screen-css .block-editor-global-styles-advanced-panel__custom-css-input textarea {
1254 1213 flex: 1 1 auto;
1255 - direction: ltr;
1256 1214 }
1257 1215
1258 1216 .global-styles-ui-screen-css-help-link {
1259 1217 display: inline-block;
@@ -1278,8 +1236,16 @@
1278 1236 flex-direction: column;
1279 1237 height: 100%;
1280 1238 }
1281 1239
1240 +.global-styles-ui-color-palette__tablist-container {
1241 + border-bottom: 1px solid #ddd;
1242 +}
1243 +
1244 +.global-styles-ui-color-palette__tablist {
1245 + margin-bottom: -1px;
1246 +}
1247 +
1282 1248 .global-styles-ui-sidebar__navigator-screen .single-column {
1283 1249 grid-column: span 1;
1284 1250 }
1285 1251
@@ -1301,14 +1267,15 @@
1301 1267 clip-path: border-box;
1302 1268 }
1303 1269
1304 1270 .global-styles-ui-color-palette-panel,
1305 -.global-styles-ui-gradient-palette-panel {
1271 +.global-styles-ui-gradient-palette-panel,
1272 +.global-styles-ui-duotone-palette-panel {
1306 1273 padding: 16px;
1307 1274 }
1308 1275
1309 1276 /**
1310 - * Colors
1277 + * Typography
1311 1278 */
1312 1279 /**
1313 1280 * SCSS Variables.
1314 1281 *
@@ -1316,8 +1283,11 @@
1316 1283 * Don't add to this sheet unless you're pretty sure the value will be reused in many places.
1317 1284 * For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
1318 1285 */
1319 1286 /**
1287 + * Colors
1288 + */
1289 +/**
1320 1290 * Fonts & basic variables.
1321 1291 */
1322 1292 /**
1323 1293 * Typography
@@ -1351,11 +1321,8 @@
1351 1321 * React Native specific.
1352 1322 * These variables do not appear to be used anywhere else.
1353 1323 */
1354 1324 /**
1355 - * Typography
1356 - */
1357 -/**
1358 1325 * Breakpoints & Media Queries
1359 1326 */
1360 1327 /**
1361 1328 * Converts a hex value into the rgb equivalent.
@@ -1375,8 +1342,14 @@
1375 1342 /**
1376 1343 * Focus styles.
1377 1344 */
1378 1345 /**
1346 + * Standard focus rings for the WordPress Design System.
1347 + *
1348 + * Apply `outset-ring__focus` inside the relevant pseudo-class at the call site,
1349 + * e.g. `&:focus { @include outset-ring__focus(); }`.
1350 + */
1351 +/**
1379 1352 * Applies editor left position to the selector passed as argument
1380 1353 */
1381 1354 /**
1382 1355 * Styles that are reused verbatim in a few places
@@ -1397,23 +1370,24 @@
1397 1370 */
1398 1371 .dataviews-wrapper,
1399 1372 .dataviews-picker-wrapper {
1400 1373 height: 100%;
1374 + flex-grow: 1;
1375 + min-height: 0;
1401 1376 box-sizing: border-box;
1402 1377 scroll-padding-bottom: 64px;
1403 - /* stylelint-disable-next-line property-no-unknown -- '@container' not globally permitted */
1404 1378 container: dataviews-wrapper/inline-size;
1405 1379 display: flex;
1406 1380 flex-direction: column;
1407 - font-size: 13px;
1408 - line-height: 1.4;
1409 - background-color: var(--wp-dataviews-color-background, #fff);
1381 + font-size: var(--wpds-typography-font-size-md, 13px);
1382 + line-height: var(--wpds-typography-line-height-sm, 20px);
1383 + background-color: var(--wp-dataviews-color-background, var(--wpds-color-background-surface-neutral-strong, #fff));
1410 1384 }
1411 1385
1412 1386 .dataviews__view-actions,
1413 1387 .dataviews-filters__container {
1414 1388 box-sizing: border-box;
1415 - padding: 16px 24px;
1389 + padding: var(--wpds-dimension-padding-lg, 16px) var(--wpds-dimension-padding-2xl, 24px);
1416 1390 flex-shrink: 0;
1417 1391 position: sticky;
1418 1392 right: 0;
1419 1393 background-color: inherit;
@@ -1424,11 +1398,19 @@
1424 1398 .dataviews-filters__container {
1425 1399 transition: padding ease-out 0.1s;
1426 1400 }
1427 1401 }
1402 +.dataviews__search {
1403 + flex-grow: 1;
1404 +}
1405 +
1406 +.dataviews__search .dataviews-search {
1407 + flex-basis: 210px;
1408 +}
1409 +
1428 1410 .dataviews-no-results,
1429 1411 .dataviews-loading {
1430 - padding: 0 24px;
1412 + padding: 0 var(--wpds-dimension-padding-2xl, 24px);
1431 1413 flex-grow: 1;
1432 1414 display: flex;
1433 1415 align-items: center;
1434 1416 justify-content: center;
@@ -1462,18 +1444,22 @@
1462 1444 .dataviews-loading-more {
1463 1445 text-align: center;
1464 1446 }
1465 1447
1448 +.dataviews-loading-more[aria-hidden=true] {
1449 + visibility: hidden;
1450 +}
1451 +
1466 1452 @container (max-width: 430px) {
1467 1453 .dataviews__view-actions,
1468 1454 .dataviews-filters__container {
1469 - padding: 12px 24px;
1455 + padding: var(--wpds-dimension-padding-md, 12px) var(--wpds-dimension-padding-2xl, 24px);
1470 1456 }
1471 1457 }
1472 1458 .dataviews-title-field {
1473 - font-size: 13px;
1474 - font-weight: 499;
1475 - color: #2f2f2f;
1459 + font-size: var(--wpds-typography-font-size-md, 13px);
1460 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
1461 + color: var(--wpds-color-foreground-content-neutral, #1e1e1e);
1476 1462 text-overflow: ellipsis;
1477 1463 white-space: nowrap;
1478 1464 width: 100%;
1479 1465 }
@@ -1484,13 +1470,13 @@
1484 1470 white-space: nowrap;
1485 1471 overflow: hidden;
1486 1472 display: block;
1487 1473 flex-grow: 0;
1488 - color: #2f2f2f;
1474 + color: var(--wpds-color-foreground-interactive-neutral, #1e1e1e);
1489 1475 }
1490 1476
1491 1477 .dataviews-title-field a:hover {
1492 - color: var(--wp-admin-theme-color);
1478 + color: var(--wpds-color-foreground-interactive-brand, var(--wp-admin-theme-color, #3858e9));
1493 1479 }
1494 1480
1495 1481 .dataviews-title-field a:focus {
1496 1482 color: var(--wp-admin-theme-color--rgb);
@@ -1505,22 +1491,22 @@
1505 1491 white-space: nowrap;
1506 1492 overflow: hidden;
1507 1493 display: block;
1508 1494 width: 100%;
1509 - color: #1e1e1e;
1495 + color: var(--wpds-color-foreground-interactive-neutral-active, #1e1e1e);
1510 1496 }
1511 1497
1512 1498 .dataviews-title-field button.components-button.is-link:hover {
1513 - color: var(--wp-admin-theme-color);
1499 + color: var(--wpds-color-foreground-interactive-brand, var(--wp-admin-theme-color, #3858e9));
1514 1500 }
1515 1501
1516 1502 .dataviews-title-field--clickable {
1517 1503 cursor: var(--wpds-cursor-control, pointer);
1518 - color: #2f2f2f;
1504 + color: var(--wpds-color-foreground-interactive-neutral, #1e1e1e);
1519 1505 }
1520 1506
1521 1507 .dataviews-title-field--clickable:hover {
1522 - color: var(--wp-admin-theme-color);
1508 + color: var(--wpds-color-foreground-interactive-brand, var(--wp-admin-theme-color, #3858e9));
1523 1509 }
1524 1510
1525 1511 .dataviews-title-field--clickable:focus {
1526 1512 color: var(--wp-admin-theme-color--rgb);
@@ -1534,15 +1520,24 @@
1534 1520 z-index: 2;
1535 1521 background-color: #fff;
1536 1522 }
1537 1523
1524 +/**
1525 + * When DataViews are placed within cards, apply a consistent top padding.
1526 + */
1527 +.components-card__body:has(> .dataviews-wrapper),
1528 +.components-card__body:has(> .dataviews-picker-wrapper) {
1529 + padding: var(--wpds-dimension-padding-sm, 8px) 0 0;
1530 + overflow: hidden;
1531 +}
1532 +
1538 1533 .dataviews-bulk-actions-footer__item-count {
1539 - color: #1e1e1e;
1534 + color: var(--wpds-color-foreground-content-neutral, #1e1e1e);
1540 1535 }
1541 1536
1542 1537 .dataviews-bulk-actions-footer__container {
1543 1538 margin-left: auto;
1544 - min-height: 32px;
1539 + min-height: var(--wpds-dimension-size-md, 32px);
1545 1540 }
1546 1541
1547 1542 .dataviews-layout__container {
1548 1543 flex: 1;
@@ -1569,10 +1564,10 @@
1569 1564 opacity: 1;
1570 1565 }
1571 1566
1572 1567 .dataviews-filters__summary-popover {
1573 - font-size: 13px;
1574 - line-height: 1.4;
1568 + font-size: var(--wpds-typography-font-size-md, 13px);
1569 + line-height: var(--wpds-typography-line-height-sm, 20px);
1575 1570 }
1576 1571
1577 1572 .dataviews-filters__summary-popover .components-popover__content {
1578 1573 width: 100%;
@@ -1577,9 +1572,9 @@
1577 1572 .dataviews-filters__summary-popover .components-popover__content {
1578 1573 width: 100%;
1579 1574 min-width: 230px;
1580 1575 max-width: 250px;
1581 - border-radius: 4px;
1576 + border-radius: var(--wpds-border-radius-md, 4px);
1582 1577 }
1583 1578
1584 1579 .dataviews-filters__summary-popover.components-dropdown__content .components-popover__content {
1585 1580 padding: 0;
@@ -1585,13 +1580,13 @@
1585 1580 padding: 0;
1586 1581 }
1587 1582
1588 1583 .dataviews-filters__summary-operators-container {
1589 - padding: 8px 16px;
1584 + padding: var(--wpds-dimension-padding-sm, 8px) var(--wpds-dimension-padding-lg, 16px);
1590 1585 }
1591 1586
1592 1587 .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) {
1593 - border-bottom: 1px solid #e0e0e0;
1588 + border-bottom: 1px solid var(--wpds-color-stroke-surface-neutral, #dbdbdb);
1594 1589 }
1595 1590
1596 1591 .dataviews-filters__summary-operators-container:empty {
1597 1592 display: none;
@@ -1597,9 +1592,9 @@
1597 1592 display: none;
1598 1593 }
1599 1594
1600 1595 .dataviews-filters__summary-operators-container .dataviews-filters__summary-operators-filter-name {
1601 - color: #757575;
1596 + color: var(--wpds-color-foreground-content-neutral-weak, #707070);
1602 1597 white-space: nowrap;
1603 1598 overflow: hidden;
1604 1599 text-overflow: ellipsis;
1605 1600 flex-shrink: 0; /* Prevents this element from shrinking */
@@ -1607,10 +1602,10 @@
1607 1602 }
1608 1603
1609 1604 .dataviews-filters__summary-operators-container .dataviews-filters__summary-operators-filter-select {
1610 1605 width: 100%;
1606 + min-width: 0;
1611 1607 white-space: nowrap;
1612 - overflow: hidden;
1613 1608 }
1614 1609
1615 1610 .dataviews-filters__summary-chip-container {
1616 1611 position: relative;
@@ -1617,15 +1612,14 @@
1617 1612 white-space: pre-wrap;
1618 1613 }
1619 1614
1620 1615 .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip {
1621 - border-radius: 16px;
1622 - border: 1px solid transparent;
1616 + border-radius: var(--wpds-border-radius-lg, 8px);
1617 + border: var(--wpds-border-width-xs, 1px) solid var(--wpds-color-stroke-interactive-neutral, #8d8d8d);
1623 1618 cursor: var(--wpds-cursor-control, pointer);
1624 - padding: 4px 12px;
1625 - min-height: 32px;
1626 - background: #f0f0f0;
1627 - color: #2f2f2f;
1619 + padding: var(--wpds-dimension-padding-xs, 4px) var(--wpds-dimension-padding-md, 12px);
1620 + min-height: var(--wpds-dimension-size-md, 32px);
1621 + color: var(--wpds-color-foreground-interactive-neutral, #1e1e1e);
1628 1622 position: relative;
1629 1623 display: flex;
1630 1624 align-items: center;
1631 1625 box-sizing: border-box;
@@ -1635,42 +1629,46 @@
1635 1629 cursor: default;
1636 1630 }
1637 1631
1638 1632 .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip.has-reset {
1639 - padding-inline-end: 28px;
1633 + padding-inline-end: calc(var(--wpds-dimension-size-sm, 24px) + var(--wpds-dimension-padding-xs, 4px));
1640 1634 }
1641 1635
1642 1636 .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] {
1643 - background: #e0e0e0;
1644 - color: #1e1e1e;
1637 + color: var(--wpds-color-foreground-interactive-neutral, #1e1e1e);
1638 + border-color: var(--wpds-color-stroke-interactive-neutral-active, #6e6e6e);
1639 + background-color: var(--wpds-color-background-interactive-neutral-weak-active, #ededed);
1645 1640 }
1646 1641
1647 1642 .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip.has-values {
1648 - color: var(--wp-admin-theme-color);
1649 - background: rgba(var(--wp-admin-theme-color--rgb), 0.04);
1643 + color: var(--wpds-color-foreground-interactive-brand, var(--wp-admin-theme-color, #3858e9));
1644 + background: var(--wpds-color-background-interactive-brand-weak, rgba(0, 0, 0, 0));
1645 + border-color: var(--wpds-color-stroke-interactive-brand, var(--wp-admin-theme-color, #3858e9));
1650 1646 }
1651 1647
1652 -.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] {
1653 - background: rgba(var(--wp-admin-theme-color--rgb), 0.12);
1648 +.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] {
1649 + color: var(--wpds-color-foreground-interactive-brand-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 52%, black));
1650 + background: var(--wpds-color-background-interactive-brand-weak-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 12%, white));
1651 + border-color: var(--wpds-color-stroke-interactive-brand-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 85%, black));
1654 1652 }
1655 1653
1656 1654 .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip:focus-visible {
1657 1655 outline: none;
1658 - box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
1656 + 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));
1659 1657 }
1660 1658
1661 1659 .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip .dataviews-filters-__summary-filter-text-name {
1662 - font-weight: 499;
1660 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
1663 1661 }
1664 1662
1665 1663 .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove {
1666 - width: 24px;
1667 - height: 24px;
1668 - border-radius: 50%;
1664 + width: var(--wpds-dimension-size-sm, 24px);
1665 + height: var(--wpds-dimension-size-sm, 24px);
1666 + border-radius: var(--wpds-border-radius-md, 4px);
1669 1667 border: 0;
1670 1668 padding: 0;
1671 1669 position: absolute;
1672 - left: 4px;
1670 + left: var(--wpds-dimension-padding-xs, 4px);
1673 1671 top: 50%;
1674 1672 transform: translateY(-50%);
1675 1673 display: flex;
1676 1674 align-items: center;
@@ -1679,45 +1677,45 @@
1679 1677 cursor: var(--wpds-cursor-control, pointer);
1680 1678 }
1681 1679
1682 1680 .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove svg {
1683 - fill: #757575;
1681 + color: var(--wpds-color-foreground-interactive-neutral, #1e1e1e);
1684 1682 }
1685 1683
1686 1684 .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove:hover, .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove:focus {
1687 - background: #e0e0e0;
1685 + background: var(--wpds-color-background-interactive-neutral-weak-active, #ededed);
1688 1686 }
1689 1687
1690 1688 .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove:hover svg, .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove:focus svg {
1691 - fill: #1e1e1e;
1689 + color: var(--wpds-color-foreground-interactive-neutral-active, #1e1e1e);
1692 1690 }
1693 1691
1694 1692 .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove.has-values svg {
1695 - fill: var(--wp-admin-theme-color);
1693 + color: var(--wpds-color-foreground-interactive-brand, var(--wp-admin-theme-color, #3858e9));
1696 1694 }
1697 1695
1698 1696 .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove.has-values:hover {
1699 - background: rgba(var(--wp-admin-theme-color--rgb), 0.08);
1697 + background: var(--wpds-color-background-interactive-brand-weak-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 12%, white));
1700 1698 }
1701 1699
1702 1700 .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove:focus-visible {
1703 1701 outline: none;
1704 - box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
1702 + 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));
1705 1703 }
1706 1704
1707 1705 .dataviews-filters__search-widget-filter-combobox-list {
1708 1706 max-height: 184px;
1709 - padding: 4px;
1707 + padding: var(--wpds-dimension-padding-xs, 4px);
1710 1708 overflow: auto;
1711 - border-top: 1px solid #e0e0e0;
1709 + border-top: 1px solid var(--wpds-color-stroke-surface-neutral, #dbdbdb);
1712 1710 }
1713 1711
1714 1712 .dataviews-filters__search-widget-filter-combobox-list .dataviews-filters__search-widget-filter-combobox-item-value [data-user-value] {
1715 - font-weight: 600;
1713 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
1716 1714 }
1717 1715
1718 1716 .dataviews-filters__search-widget-listbox {
1719 - padding: 4px;
1717 + padding: var(--wpds-dimension-padding-xs, 4px);
1720 1718 overflow: auto;
1721 1719 }
1722 1720
1723 1721 .dataviews-filters__search-widget-listitem {
@@ -1722,18 +1720,19 @@
1722 1720
1723 1721 .dataviews-filters__search-widget-listitem {
1724 1722 display: flex;
1725 1723 align-items: center;
1726 - gap: 8px;
1727 - border-radius: 2px;
1724 + gap: var(--wpds-dimension-gap-md, 12px);
1725 + border-radius: var(--wpds-border-radius-sm, 2px);
1728 1726 box-sizing: border-box;
1729 - padding: 4px 12px;
1727 + padding: var(--wpds-dimension-padding-xs, 4px) var(--wpds-dimension-padding-md, 12px);
1730 1728 cursor: default;
1731 - min-height: 32px;
1732 - font-family: -apple-system, "system-ui", "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
1733 - font-weight: 400;
1729 + min-height: var(--wpds-dimension-size-md, 32px);
1730 + font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
1731 + font-weight: var(--wpds-typography-font-weight-default, 400);
1734 1732 font-size: 13px;
1735 1733 line-height: 20px;
1734 + color: var(--wpds-color-foreground-interactive-neutral, #1e1e1e);
1736 1735 }
1737 1736
1738 1737 .dataviews-filters__search-widget-listitem:last-child {
1739 1738 margin-block-end: 0;
@@ -1739,35 +1738,37 @@
1739 1738 margin-block-end: 0;
1740 1739 }
1741 1740
1742 1741 .dataviews-filters__search-widget-listitem:hover, .dataviews-filters__search-widget-listitem[data-active-item], .dataviews-filters__search-widget-listitem:focus {
1743 - background-color: var(--wp-admin-theme-color);
1744 - color: #fff;
1742 + background-color: var(--wpds-color-background-interactive-brand-weak-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 12%, white));
1743 + color: var(--wpds-color-foreground-interactive-neutral-active, #1e1e1e);
1745 1744 }
1746 1745
1747 -.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 {
1748 - color: #fff;
1749 -}
1750 -
1751 1746 .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 {
1752 - border-color: var(--wp-admin-theme-color-darker-20, #183ad6);
1753 - background: #fff;
1747 + border-color: var(--wpds-color-stroke-interactive-brand-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 85%, black));
1748 + background: var(--wpds-color-background-surface-neutral-strong, #fff);
1754 1749 }
1755 1750
1756 1751 .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 {
1757 - border-color: var(--wp-admin-theme-color-darker-20, #183ad6);
1758 - background: var(--wp-admin-theme-color-darker-20, #183ad6);
1752 + border-color: var(--wpds-color-stroke-interactive-brand-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 85%, black));
1753 + background: var(--wpds-color-background-interactive-brand-strong-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 93%, black));
1759 1754 }
1760 1755
1761 1756 .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 {
1762 - border-color: var(--wp-admin-theme-color-darker-20, #183ad6);
1757 + /* 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. */
1758 + background-color: var(--wpds-color-background-interactive-neutral, var(--wpds-color-background-surface-neutral-strong, #fff));
1759 + border-color: var(--wpds-color-stroke-interactive-brand-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 85%, black));
1763 1760 }
1764 1761
1765 1762 .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 {
1766 - border-color: var(--wp-admin-theme-color-darker-20, #183ad6);
1767 - background: var(--wp-admin-theme-color-darker-20, #183ad6);
1763 + border-color: var(--wpds-color-stroke-interactive-brand-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 85%, black));
1764 + background: var(--wpds-color-background-interactive-brand-strong-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 93%, black));
1768 1765 }
1769 1766
1767 +.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 {
1768 + color: var(--wpds-color-foreground-interactive-neutral-weak-active, #1e1e1e);
1769 +}
1770 +
1770 1771 .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-value {
1771 1772 overflow: hidden;
1772 1773 text-overflow: ellipsis;
1773 1774 white-space: nowrap;
@@ -1777,11 +1778,11 @@
1777 1778 .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-description {
1778 1779 display: block;
1779 1780 overflow: hidden;
1780 1781 text-overflow: ellipsis;
1781 - font-size: 12px;
1782 + font-size: var(--wpds-typography-font-size-sm, 12px);
1782 1783 line-height: 16px;
1783 - color: #757575;
1784 + color: var(--wpds-color-foreground-interactive-neutral-weak, #707070);
1784 1785 }
1785 1786
1786 1787 .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-single-selection {
1787 1788 border: 1px solid #1e1e1e;
@@ -1842,10 +1843,10 @@
1842 1843 padding: 0;
1843 1844 }
1844 1845
1845 1846 .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-single-selection.is-selected {
1846 - background: var(--wp-admin-theme-color, #3858e9);
1847 - border-color: var(--wp-admin-theme-color, #3858e9);
1847 + background: var(--wpds-color-background-interactive-brand-strong, var(--wp-admin-theme-color, #3858e9));
1848 + border-color: var(--wpds-color-stroke-interactive-brand, var(--wp-admin-theme-color, #3858e9));
1848 1849 }
1849 1850
1850 1851 .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-single-selection.is-selected::before {
1851 1852 content: "";
@@ -1857,10 +1858,10 @@
1857 1858 top: 50%;
1858 1859 right: 50%;
1859 1860 transform: translate(50%, -50%);
1860 1861 margin: 0;
1861 - background-color: #fff;
1862 - border: 4px solid #fff;
1862 + background-color: var(--wpds-color-foreground-interactive-brand-strong, #fff);
1863 + border: 4px solid var(--wpds-color-foreground-interactive-brand-strong, #fff);
1863 1864 }
1864 1865
1865 1866 @media (min-width: 600px) {
1866 1867 .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-single-selection.is-selected::before {
@@ -1870,28 +1871,22 @@
1870 1871 }
1871 1872 .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection {
1872 1873 --checkbox-size: 24px;
1873 1874 flex-shrink: 0;
1874 - border: 1px solid #1e1e1e;
1875 + border: var(--wpds-border-width-xs, 1px) solid var(--wpds-color-stroke-interactive-neutral, #8d8d8d);
1875 1876 margin-left: 12px;
1876 1877 transition: none;
1877 1878 border-radius: 2px;
1878 - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
1879 + font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
1879 1880 padding: 6px 8px;
1880 1881 /* Fonts smaller than 16px causes mobile safari to zoom. */
1881 1882 font-size: 16px;
1882 1883 /* Override core line-height. To be reviewed. */
1883 1884 line-height: normal;
1884 - box-shadow: 0 0 0 transparent;
1885 - border-radius: 2px;
1886 - border: 1px solid #949494;
1885 + border: var(--wpds-border-width-xs, 1px) solid var(--wpds-color-stroke-interactive-neutral, #8d8d8d);
1886 + border-radius: var(--wpds-border-radius-sm, 2px);
1887 1887 }
1888 1888
1889 -@media not (prefers-reduced-motion) {
1890 - .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection {
1891 - transition: box-shadow 0.1s linear;
1892 - }
1893 -}
1894 1889 @media (min-width: 600px) {
1895 1890 .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection {
1896 1891 font-size: 13px;
1897 1892 /* Override core line-height. To be reviewed. */
@@ -1897,12 +1892,17 @@
1897 1892 /* Override core line-height. To be reviewed. */
1898 1893 line-height: normal;
1899 1894 }
1900 1895 }
1896 +.dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection:hover:not(:disabled, [aria-disabled=true]) {
1897 + border-color: var(--wpds-color-stroke-interactive-neutral-active, #6e6e6e);
1898 +}
1899 +
1901 1900 .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection:focus {
1902 - border-color: var(--wp-admin-theme-color);
1903 - box-shadow: 0 0 0 0.5px var(--wp-admin-theme-color);
1904 - outline: 2px solid transparent;
1901 + 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)));
1902 + outline-offset: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px));
1903 + border-color: var(--wpds-color-stroke-interactive-neutral, #8d8d8d);
1904 + box-shadow: none;
1905 1905 }
1906 1906
1907 1907 .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection::placeholder {
1908 1908 color: rgba(30, 30, 30, 0.62);
@@ -1907,8 +1907,12 @@
1907 1907 .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection::placeholder {
1908 1908 color: rgba(30, 30, 30, 0.62);
1909 1909 }
1910 1910
1911 +.dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection:hover:not(:disabled, [aria-disabled=true]) {
1912 + background: var(--wpds-color-background-interactive-neutral-active, #fff);
1913 +}
1914 +
1911 1915 .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection:focus {
1912 1916 box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--wp-admin-theme-color);
1913 1917 outline: 2px solid transparent;
1914 1918 }
@@ -1939,9 +1943,9 @@
1939 1943 display: inline-block;
1940 1944 vertical-align: middle;
1941 1945 width: 16px;
1942 1946 /* stylelint-disable-next-line font-family-no-missing-generic-family-keyword -- dashicons don't need a generic family keyword. */
1943 - font: normal 30px/1 dashicons;
1947 + font: 400 30px/1 dashicons;
1944 1948 speak: none;
1945 1949 -webkit-font-smoothing: antialiased;
1946 1950 -moz-osx-font-smoothing: grayscale;
1947 1951 }
@@ -1952,18 +1956,24 @@
1952 1956 font-size: 21px;
1953 1957 }
1954 1958 }
1955 1959 .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 {
1956 - background: #f0f0f0;
1957 - border-color: #ddd;
1960 + background: var(--wpds-color-background-interactive-neutral-disabled, #fff);
1961 + border-color: var(--wpds-color-stroke-interactive-neutral-disabled, #dbdbdb);
1962 + color: var(--wpds-color-foreground-interactive-neutral-disabled, #8d8d8d);
1958 1963 cursor: default;
1959 1964 opacity: 1;
1960 1965 }
1961 1966
1967 +.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 {
1968 + color: var(--wpds-color-foreground-interactive-neutral-disabled, #8d8d8d);
1969 +}
1970 +
1962 1971 .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection {
1963 1972 position: relative;
1964 - background: #fff;
1965 - color: #1e1e1e;
1973 + /* 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. */
1974 + background: var(--wpds-color-background-interactive-neutral, var(--wpds-color-background-surface-neutral-strong, #fff));
1975 + color: var(--wpds-color-foreground-content-neutral, #1e1e1e);
1966 1976 margin: 0;
1967 1977 padding: 0;
1968 1978 width: var(--checkbox-size);
1969 1979 height: var(--checkbox-size);
@@ -1979,15 +1989,15 @@
1979 1989 transition: 0.1s border-color ease-in-out;
1980 1990 }
1981 1991 }
1982 1992 .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection.is-selected {
1983 - background: var(--wp-admin-theme-color, #3858e9);
1984 - border-color: var(--wp-admin-theme-color, #3858e9);
1993 + background: var(--wpds-color-background-interactive-brand-strong, var(--wp-admin-theme-color, #3858e9));
1994 + border-color: var(--wpds-color-stroke-interactive-brand, var(--wp-admin-theme-color, #3858e9));
1985 1995 }
1986 1996
1987 1997 .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection.is-selected svg {
1988 1998 --checkmark-size: var(--checkbox-size);
1989 - fill: #fff;
1999 + color: var(--wpds-color-foreground-interactive-neutral-strong, #f0f0f0);
1990 2000 position: absolute;
1991 2001 right: 50%;
1992 2002 top: 50%;
1993 2003 transform: translate(50%, -50%);
@@ -2001,28 +2011,22 @@
2001 2011 }
2002 2012 }
2003 2013 .dataviews-filters__search-widget-filter-combobox__wrapper {
2004 2014 position: relative;
2005 - padding: 8px;
2015 + padding: var(--wpds-dimension-padding-sm, 8px);
2006 2016 }
2007 2017
2008 2018 .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input {
2009 - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
2019 + font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
2010 2020 padding: 6px 8px;
2011 2021 /* Fonts smaller than 16px causes mobile safari to zoom. */
2012 2022 font-size: 16px;
2013 2023 /* Override core line-height. To be reviewed. */
2014 2024 line-height: normal;
2015 - box-shadow: 0 0 0 transparent;
2016 - border-radius: 2px;
2017 - border: 1px solid #949494;
2025 + border: var(--wpds-border-width-xs, 1px) solid var(--wpds-color-stroke-interactive-neutral, #8d8d8d);
2026 + border-radius: var(--wpds-border-radius-sm, 2px);
2018 2027 }
2019 2028
2020 -@media not (prefers-reduced-motion) {
2021 - .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input {
2022 - transition: box-shadow 0.1s linear;
2023 - }
2024 -}
2025 2029 @media (min-width: 600px) {
2026 2030 .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input {
2027 2031 font-size: 13px;
2028 2032 /* Override core line-height. To be reviewed. */
@@ -2028,12 +2032,17 @@
2028 2032 /* Override core line-height. To be reviewed. */
2029 2033 line-height: normal;
2030 2034 }
2031 2035 }
2036 +.dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input:hover:not(:disabled, [aria-disabled=true]) {
2037 + border-color: var(--wpds-color-stroke-interactive-neutral-active, #6e6e6e);
2038 +}
2039 +
2032 2040 .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input:focus {
2033 - border-color: var(--wp-admin-theme-color);
2034 - box-shadow: 0 0 0 0.5px var(--wp-admin-theme-color);
2035 - outline: 2px solid transparent;
2041 + 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)));
2042 + outline-offset: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px));
2043 + border-color: var(--wpds-color-stroke-interactive-neutral, #8d8d8d);
2044 + box-shadow: none;
2036 2045 }
2037 2046
2038 2047 .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input::placeholder {
2039 2048 color: rgba(30, 30, 30, 0.62);
@@ -2040,11 +2049,11 @@
2040 2049 }
2041 2050
2042 2051 .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input {
2043 2052 display: block;
2044 - padding: 0 32px 0 8px;
2053 + padding: 0 var(--wpds-dimension-size-md, 32px) 0 var(--wpds-dimension-padding-sm, 8px);
2045 2054 width: 100%;
2046 - height: 32px;
2055 + height: var(--wpds-dimension-size-md, 32px);
2047 2056 margin-right: 0;
2048 2057 margin-left: 0;
2049 2058 /* Fonts smaller than 16px causes mobile safari to zoom. */
2050 2059 font-size: 16px;
@@ -2051,18 +2060,17 @@
2051 2060 }
2052 2061
2053 2062 @media (min-width: 600px) {
2054 2063 .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input {
2055 - font-size: 13px;
2064 + font-size: var(--wpds-typography-font-size-md, 13px);
2056 2065 }
2057 2066 }
2058 2067 .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input:focus {
2059 - background: #fff;
2060 - box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
2068 + background: var(--wpds-color-background-surface-neutral-strong, #fff);
2061 2069 }
2062 2070
2063 2071 .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input::placeholder {
2064 - color: #757575;
2072 + color: var(--wpds-color-foreground-content-neutral-weak, #707070);
2065 2073 }
2066 2074
2067 2075 .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 {
2068 2076 -webkit-appearance: none;
@@ -2069,15 +2077,15 @@
2069 2077 }
2070 2078
2071 2079 .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__icon {
2072 2080 position: absolute;
2073 - inset-inline-start: 12px;
2081 + inset-inline-start: var(--wpds-dimension-gap-md, 12px);
2074 2082 top: 0;
2075 2083 bottom: 0;
2076 2084 display: flex;
2077 2085 align-items: center;
2078 2086 justify-content: center;
2079 - width: 24px;
2087 + width: var(--wpds-dimension-size-sm, 24px);
2080 2088 }
2081 2089
2082 2090 .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__icon:dir(ltr) {
2083 2091 transform: scaleX(-1);
@@ -2092,31 +2100,27 @@
2092 2100 position: absolute;
2093 2101 top: 0;
2094 2102 left: 0;
2095 2103 transform: translate(-50%, -50%);
2096 - background: var(--wp-admin-theme-color, #3858e9);
2097 - height: 16px;
2098 - min-width: 16px;
2099 - line-height: 16px;
2100 - padding: 0 4px;
2104 + background: var(--wpds-color-background-interactive-brand-strong, var(--wp-admin-theme-color, #3858e9));
2105 + height: var(--wpds-dimension-size-2xs, 16px);
2106 + min-width: var(--wpds-dimension-size-2xs, 16px);
2107 + line-height: var(--wpds-typography-line-height-xs, 16px);
2108 + padding: 0 var(--wpds-dimension-padding-xs, 4px);
2101 2109 text-align: center;
2102 - border-radius: 8px;
2110 + border-radius: var(--wpds-border-radius-lg, 8px);
2103 2111 font-size: 11px;
2104 - outline: var(--wp-admin-border-width-focus) solid #fff;
2105 - color: #fff;
2112 + outline: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)) solid var(--wpds-color-background-surface-neutral-strong, #fff);
2113 + color: var(--wpds-color-foreground-interactive-neutral-strong, #f0f0f0);
2106 2114 box-sizing: border-box;
2107 2115 }
2108 2116
2109 -.dataviews-search {
2110 - width: fit-content;
2111 -}
2112 -
2113 2117 .dataviews-filters__user-input-widget {
2114 - padding: 16px;
2118 + padding: var(--wpds-dimension-padding-lg, 16px);
2115 2119 }
2116 2120
2117 2121 .dataviews-filters__user-input-widget .components-input-control__prefix {
2118 - padding-right: 8px;
2122 + padding-right: var(--wpds-dimension-padding-sm, 8px);
2119 2123 }
2120 2124
2121 2125 .dataviews-filters__search-widget-no-elements {
2122 2126 display: flex;
@@ -2121,9 +2125,9 @@
2121 2125 .dataviews-filters__search-widget-no-elements {
2122 2126 display: flex;
2123 2127 align-items: center;
2124 2128 justify-content: center;
2125 - padding: 16px;
2129 + padding: var(--wpds-dimension-padding-lg, 16px);
2126 2130 }
2127 2131
2128 2132 .dataviews-footer {
2129 2133 position: sticky;
@@ -2129,10 +2133,10 @@
2129 2133 position: sticky;
2130 2134 bottom: 0;
2131 2135 right: 0;
2132 2136 background-color: inherit;
2133 - padding: 12px 24px;
2134 - border-top: 1px solid #f0f0f0;
2137 + padding: var(--wpds-dimension-padding-md, 12px) var(--wpds-dimension-padding-2xl, 24px);
2138 + border-top: var(--wpds-border-width-xs, 1px) solid var(--wpds-color-stroke-surface-neutral-weak, #f0f0f0);
2135 2139 flex-shrink: 0;
2136 2140 }
2137 2141
2138 2142 @media not (prefers-reduced-motion) {
@@ -2140,9 +2144,9 @@
2140 2144 transition: padding ease-out 0.1s;
2141 2145 }
2142 2146 }
2143 2147 .dataviews-footer {
2144 - z-index: 2;
2148 + z-index: 1;
2145 2149 }
2146 2150
2147 2151 .dataviews-footer .is-refreshing {
2148 2152 opacity: 0.5;
@@ -2171,9 +2175,9 @@
2171 2175 }
2172 2176 }
2173 2177 .dataviews-pagination__page-select {
2174 2178 font-size: 11px;
2175 - font-weight: 499;
2179 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
2176 2180 text-transform: uppercase;
2177 2181 }
2178 2182
2179 2183 @media (min-width: 600px) {
@@ -2178,9 +2182,9 @@
2178 2182
2179 2183 @media (min-width: 600px) {
2180 2184 .dataviews-pagination__page-select .components-select-control__input {
2181 2185 font-size: 11px !important;
2182 - font-weight: 499;
2186 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
2183 2187 }
2184 2188 }
2185 2189 .dataviews-action-modal {
2186 2190 z-index: 1000001;
@@ -2186,9 +2190,9 @@
2186 2190 z-index: 1000001;
2187 2191 }
2188 2192
2189 2193 .dataviews-item-actions .components-button:not(.dataviews-all-actions-button) {
2190 - padding: 0 4px;
2194 + padding: 0 var(--wpds-dimension-padding-xs, 4px);
2191 2195 }
2192 2196
2193 2197 .dataviews-selection-checkbox {
2194 2198 --checkbox-input-size: 24px;
@@ -2209,12 +2213,11 @@
2209 2213 }
2210 2214
2211 2215 .dataviews-view-config {
2212 2216 width: 320px;
2213 - /* stylelint-disable-next-line property-no-unknown -- the linter needs to be updated to accepted the container-type property */
2214 2217 container-type: inline-size;
2215 - font-size: 13px;
2216 - line-height: 1.4;
2218 + font-size: var(--wpds-typography-font-size-md, 13px);
2219 + line-height: var(--wpds-typography-line-height-sm, 20px);
2217 2220 }
2218 2221
2219 2222 .dataviews-config__popover.is-expanded .dataviews-config__popover-content-wrapper {
2220 2223 overflow-y: scroll;
@@ -2229,9 +2232,9 @@
2229 2232 text-transform: uppercase;
2230 2233 }
2231 2234
2232 2235 .dataviews-settings-section__title.dataviews-settings-section__title {
2233 - line-height: 24px;
2236 + line-height: var(--wpds-typography-line-height-md, 24px);
2234 2237 font-size: 15px;
2235 2238 }
2236 2239
2237 2240 .dataviews-settings-section__sidebar {
@@ -2280,13 +2283,13 @@
2280 2283 }
2281 2284
2282 2285 .dataviews-view-config__modified-indicator {
2283 2286 position: absolute;
2284 - top: 4px;
2285 - left: 4px;
2286 - width: 4px;
2287 - height: 4px;
2288 - background: var(--wp-admin-theme-color, #3858e9);
2287 + top: var(--wpds-dimension-gap-xs, 4px);
2288 + left: var(--wpds-dimension-gap-xs, 4px);
2289 + width: var(--wpds-dimension-gap-xs, 4px);
2290 + height: var(--wpds-dimension-gap-xs, 4px);
2291 + background: var(--wpds-color-background-interactive-brand-strong, var(--wp-admin-theme-color, #3858e9));
2289 2292 border-radius: 50%;
2290 2293 pointer-events: none;
2291 2294 }
2292 2295
@@ -2292,12 +2295,12 @@
2292 2295
2293 2296 .dataviews-view-grid-items {
2294 2297 margin-bottom: auto;
2295 2298 display: grid;
2296 - gap: 24px;
2299 + gap: var(--wpds-dimension-gap-xl, 24px);
2297 2300 grid-template-rows: max-content;
2298 2301 grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
2299 - padding: 0 24px 24px;
2302 + padding: 0 var(--wpds-dimension-padding-2xl, 24px) var(--wpds-dimension-padding-2xl, 24px);
2300 2303 container-type: inline-size;
2301 2304 }
2302 2305
2303 2306 @media not (prefers-reduced-motion) {
@@ -2305,20 +2308,20 @@
2305 2308 transition: padding ease-out 0.1s;
2306 2309 }
2307 2310 }
2308 2311 .dataviews-view-grid-items.has-compact-density {
2309 - gap: 16px;
2312 + gap: var(--wpds-dimension-gap-lg, 16px);
2310 2313 }
2311 2314
2312 2315 .dataviews-view-grid-items.has-comfortable-density {
2313 - gap: 32px;
2316 + gap: var(--wpds-dimension-gap-2xl, 32px);
2314 2317 }
2315 2318
2316 2319 .dataviews-view-grid {
2317 - padding: 0 24px 24px;
2320 + padding: 0 var(--wpds-dimension-padding-2xl, 24px) var(--wpds-dimension-padding-2xl, 24px);
2318 2321 display: flex;
2319 2322 flex-direction: column;
2320 - gap: 24px;
2323 + gap: var(--wpds-dimension-gap-xl, 24px);
2321 2324 container-type: inline-size;
2322 2325 margin-bottom: auto;
2323 2326 }
2324 2327
@@ -2327,30 +2330,30 @@
2327 2330 transition: padding ease-out 0.1s;
2328 2331 }
2329 2332 }
2330 2333 .dataviews-view-grid.has-compact-density {
2331 - gap: 16px;
2334 + gap: var(--wpds-dimension-gap-lg, 16px);
2332 2335 }
2333 2336
2334 2337 .dataviews-view-grid.has-compact-density .dataviews-view-grid__row {
2335 - gap: 16px;
2338 + gap: var(--wpds-dimension-gap-lg, 16px);
2336 2339 }
2337 2340
2338 2341 .dataviews-view-grid.has-comfortable-density {
2339 - gap: 32px;
2342 + gap: var(--wpds-dimension-gap-2xl, 32px);
2340 2343 }
2341 2344
2342 2345 .dataviews-view-grid.has-comfortable-density .dataviews-view-grid__row {
2343 - gap: 32px;
2346 + gap: var(--wpds-dimension-gap-2xl, 32px);
2344 2347 }
2345 2348
2346 2349 .dataviews-view-grid .dataviews-view-grid__row {
2347 2350 display: grid;
2348 - gap: 24px;
2351 + gap: var(--wpds-dimension-gap-xl, 24px);
2349 2352 }
2350 2353
2351 2354 .dataviews-view-grid .dataviews-view-grid__row .dataviews-view-grid__row__gridcell {
2352 - border-radius: 4px;
2355 + border-radius: var(--wpds-border-radius-md, 4px);
2353 2356 position: relative;
2354 2357 }
2355 2358
2356 2359 .dataviews-view-grid .dataviews-view-grid__row .dataviews-view-grid__row__gridcell[data-focus-visible]::after {
@@ -2359,10 +2362,10 @@
2359 2362 top: 0;
2360 2363 right: 0;
2361 2364 width: 100%;
2362 2365 height: 100%;
2363 - box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
2364 - border-radius: 4px;
2366 + box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wpds-color-stroke-focus, var(--wp-admin-theme-color, #3858e9));
2367 + border-radius: var(--wpds-border-radius-md, 4px);
2365 2368 pointer-events: none;
2366 2369 outline: 2px solid transparent;
2367 2370 }
2368 2371
@@ -2370,18 +2373,19 @@
2370 2373 .dataviews-view-grid-infinite-scroll .dataviews-view-grid__card {
2371 2374 height: 100%;
2372 2375 justify-content: flex-start;
2373 2376 position: relative;
2377 + isolation: isolate;
2374 2378 }
2375 2379
2376 -.dataviews-view-grid .dataviews-view-grid__card .dataviews-view-grid__title,
2377 -.dataviews-view-grid-infinite-scroll .dataviews-view-grid__card .dataviews-view-grid__title {
2378 - padding: 8px 0 4px;
2380 +.dataviews-view-grid .dataviews-view-grid__card .dataviews-view-grid__title-actions,
2381 +.dataviews-view-grid-infinite-scroll .dataviews-view-grid__card .dataviews-view-grid__title-actions {
2382 + padding: var(--wpds-dimension-padding-sm, 8px) 0 var(--wpds-dimension-padding-xs, 4px);
2379 2383 }
2380 2384
2381 2385 .dataviews-view-grid .dataviews-view-grid__card .dataviews-view-grid__title-field,
2382 2386 .dataviews-view-grid-infinite-scroll .dataviews-view-grid__card .dataviews-view-grid__title-field {
2383 - min-height: 24px;
2387 + min-height: var(--wpds-dimension-size-sm, 24px);
2384 2388 overflow: hidden;
2385 2389 align-content: center;
2386 2390 text-align: start;
2387 2391 }
@@ -2392,34 +2396,27 @@
2392 2396 }
2393 2397
2394 2398 .dataviews-view-grid .dataviews-view-grid__card.is-selected .dataviews-view-grid__fields .dataviews-view-grid__field .dataviews-view-grid__field-value,
2395 2399 .dataviews-view-grid-infinite-scroll .dataviews-view-grid__card.is-selected .dataviews-view-grid__fields .dataviews-view-grid__field .dataviews-view-grid__field-value {
2396 - color: #1e1e1e;
2400 + color: var(--wpds-color-foreground-content-neutral, #1e1e1e);
2397 2401 }
2398 2402
2399 2403 .dataviews-view-grid .dataviews-view-grid__card.is-selected .dataviews-view-grid__media::after,
2400 -.dataviews-view-grid .dataviews-view-grid__card .dataviews-view-grid__media:focus::after,
2401 -.dataviews-view-grid-infinite-scroll .dataviews-view-grid__card.is-selected .dataviews-view-grid__media::after,
2402 -.dataviews-view-grid-infinite-scroll .dataviews-view-grid__card .dataviews-view-grid__media:focus::after {
2403 - background-color: rgba(var(--wp-admin-theme-color--rgb), 0.08);
2404 -}
2405 -
2406 -.dataviews-view-grid .dataviews-view-grid__card.is-selected .dataviews-view-grid__media::after,
2407 2404 .dataviews-view-grid-infinite-scroll .dataviews-view-grid__card.is-selected .dataviews-view-grid__media::after {
2408 - box-shadow: inset 0 0 0 1px var(--wp-admin-theme-color);
2405 + 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);
2409 2406 }
2410 2407
2411 2408 .dataviews-view-grid .dataviews-view-grid__card .dataviews-view-grid__media:focus::after,
2412 2409 .dataviews-view-grid-infinite-scroll .dataviews-view-grid__card .dataviews-view-grid__media:focus::after {
2413 - box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
2410 + box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wpds-color-stroke-focus, var(--wp-admin-theme-color, #3858e9));
2414 2411 }
2415 2412
2416 2413 .dataviews-view-grid .dataviews-view-grid__media,
2417 2414 .dataviews-view-grid-infinite-scroll .dataviews-view-grid__media {
2418 2415 width: 100%;
2419 - aspect-ratio: 1/1;
2420 - background-color: #fff;
2421 - border-radius: 4px;
2416 + aspect-ratio: var(--wp-dataviews-media-aspect-ratio, 1/1);
2417 + background-color: var(--wpds-color-background-surface-neutral-strong, #fff);
2418 + border-radius: var(--wpds-border-radius-md, 4px);
2422 2419 overflow: hidden;
2423 2420 position: relative;
2424 2421 }
2425 2422
@@ -2442,10 +2439,10 @@
2442 2439 top: 0;
2443 2440 right: 0;
2444 2441 width: 100%;
2445 2442 height: 100%;
2446 - box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
2447 - border-radius: 4px;
2443 + box-shadow: inset 0 0 0 var(--wpds-border-width-xs, 1px) rgba(0, 0, 0, 0.1);
2444 + border-radius: var(--wpds-border-radius-md, 4px);
2448 2445 pointer-events: none;
2449 2446 }
2450 2447
2451 2448 .dataviews-view-grid .dataviews-view-grid__media .dataviews-view-grid__media-placeholder,
@@ -2452,13 +2449,23 @@
2452 2449 .dataviews-view-grid-infinite-scroll .dataviews-view-grid__media .dataviews-view-grid__media-placeholder {
2453 2450 width: 100%;
2454 2451 height: 100%;
2455 2452 display: block;
2456 - border-radius: 4px;
2453 + border-radius: var(--wpds-border-radius-md, 4px);
2457 2454 box-shadow: none;
2458 - background: #f0f0f0;
2455 + background: var(--wpds-color-background-surface-neutral, #fcfcfc);
2459 2456 }
2460 2457
2458 +.dataviews-view-grid.has-media-fit-contain .dataviews-view-grid__media,
2459 +.dataviews-view-grid-infinite-scroll.has-media-fit-contain .dataviews-view-grid__media {
2460 + background-color: var(--wpds-color-background-surface-neutral, #fcfcfc);
2461 +}
2462 +
2463 +.dataviews-view-grid.has-media-fit-contain .dataviews-view-grid__media img,
2464 +.dataviews-view-grid-infinite-scroll.has-media-fit-contain .dataviews-view-grid__media img {
2465 + object-fit: contain;
2466 +}
2467 +
2461 2468 .dataviews-view-grid .dataviews-view-grid__fields,
2462 2469 .dataviews-view-grid-infinite-scroll .dataviews-view-grid__fields {
2463 2470 position: relative;
2464 2471 font-size: 12px;
@@ -2466,21 +2473,21 @@
2466 2473 }
2467 2474
2468 2475 .dataviews-view-grid .dataviews-view-grid__fields:not(:empty),
2469 2476 .dataviews-view-grid-infinite-scroll .dataviews-view-grid__fields:not(:empty) {
2470 - padding: 0 0 12px;
2477 + padding: 0 0 var(--wpds-dimension-padding-md, 12px);
2471 2478 }
2472 2479
2473 2480 .dataviews-view-grid .dataviews-view-grid__fields .dataviews-view-grid__field-value:not(:empty),
2474 2481 .dataviews-view-grid-infinite-scroll .dataviews-view-grid__fields .dataviews-view-grid__field-value:not(:empty) {
2475 - min-height: 24px;
2476 - line-height: 20px;
2477 - padding-top: 2px;
2482 + min-height: var(--wpds-dimension-size-sm, 24px);
2483 + line-height: var(--wpds-typography-line-height-sm, 20px);
2484 + padding-top: calc((var(--wpds-dimension-size-sm, 24px) - var(--wpds-typography-line-height-sm, 20px)) / 2);
2478 2485 }
2479 2486
2480 2487 .dataviews-view-grid .dataviews-view-grid__fields .dataviews-view-grid__field,
2481 2488 .dataviews-view-grid-infinite-scroll .dataviews-view-grid__fields .dataviews-view-grid__field {
2482 - min-height: 24px;
2489 + min-height: var(--wpds-dimension-size-sm, 24px);
2483 2490 align-items: center;
2484 2491 }
2485 2492
2486 2493 .dataviews-view-grid .dataviews-view-grid__fields .dataviews-view-grid__field .dataviews-view-grid__field-name,
@@ -2485,9 +2492,9 @@
2485 2492
2486 2493 .dataviews-view-grid .dataviews-view-grid__fields .dataviews-view-grid__field .dataviews-view-grid__field-name,
2487 2494 .dataviews-view-grid-infinite-scroll .dataviews-view-grid__fields .dataviews-view-grid__field .dataviews-view-grid__field-name {
2488 2495 width: 35%;
2489 - color: #757575;
2496 + color: var(--wpds-color-foreground-content-neutral-weak, #707070);
2490 2497 overflow: hidden;
2491 2498 text-overflow: ellipsis;
2492 2499 white-space: nowrap;
2493 2500 }
@@ -2506,9 +2513,9 @@
2506 2513 }
2507 2514
2508 2515 .dataviews-view-grid .dataviews-view-grid__badge-fields:not(:empty),
2509 2516 .dataviews-view-grid-infinite-scroll .dataviews-view-grid__badge-fields:not(:empty) {
2510 - padding-bottom: 12px;
2517 + padding-bottom: var(--wpds-dimension-padding-md, 12px);
2511 2518 }
2512 2519
2513 2520 .dataviews-view-grid.is-refreshing,
2514 2521 .dataviews-view-grid-infinite-scroll.is-refreshing {
@@ -2530,9 +2537,9 @@
2530 2537
2531 2538 .dataviews-view-grid__card .dataviews-selection-checkbox {
2532 2539 position: absolute;
2533 2540 top: -9999em;
2534 - right: 8px;
2541 + right: var(--wpds-dimension-padding-sm, 8px);
2535 2542 z-index: 1;
2536 2543 opacity: 0;
2537 2544 }
2538 2545
@@ -2543,9 +2550,9 @@
2543 2550 }
2544 2551 @media (hover: none) {
2545 2552 .dataviews-view-grid__card .dataviews-selection-checkbox {
2546 2553 opacity: 1;
2547 - top: 8px;
2554 + top: var(--wpds-dimension-padding-sm, 8px);
2548 2555 }
2549 2556 }
2550 2557 .dataviews-view-grid__card:hover .dataviews-selection-checkbox,
2551 2558 .dataviews-view-grid__card:focus-within .dataviews-selection-checkbox,
@@ -2550,21 +2557,21 @@
2550 2557 .dataviews-view-grid__card:hover .dataviews-selection-checkbox,
2551 2558 .dataviews-view-grid__card:focus-within .dataviews-selection-checkbox,
2552 2559 .dataviews-view-grid__card.is-selected .dataviews-selection-checkbox {
2553 2560 opacity: 1;
2554 - top: 8px;
2561 + top: var(--wpds-dimension-padding-sm, 8px);
2555 2562 }
2556 2563
2557 2564 .dataviews-view-grid__card .dataviews-view-grid__media-actions {
2558 2565 position: absolute;
2559 2566 z-index: 1;
2560 - top: 4px;
2567 + top: var(--wpds-dimension-padding-xs, 4px);
2561 2568 opacity: 0;
2562 - left: 4px;
2569 + left: var(--wpds-dimension-padding-xs, 4px);
2563 2570 }
2564 2571
2565 2572 .dataviews-view-grid__card .dataviews-view-grid__media-actions .dataviews-all-actions-button {
2566 - background-color: #fff;
2573 + background-color: var(--wpds-color-background-surface-neutral-strong, #fff);
2567 2574 }
2568 2575
2569 2576 @media not (prefers-reduced-motion) {
2570 2577 .dataviews-view-grid__card .dataviews-view-grid__media-actions {
@@ -2573,9 +2580,9 @@
2573 2580 }
2574 2581 @media (hover: none) {
2575 2582 .dataviews-view-grid__card .dataviews-view-grid__media-actions {
2576 2583 opacity: 1;
2577 - top: 4px;
2584 + top: var(--wpds-dimension-padding-xs, 4px);
2578 2585 }
2579 2586 }
2580 2587 .dataviews-view-grid__card:hover .dataviews-view-grid__media-actions,
2581 2588 .dataviews-view-grid__card:focus-within .dataviews-view-grid__media-actions,
@@ -2587,13 +2594,13 @@
2587 2594 cursor: var(--wpds-cursor-control, pointer);
2588 2595 }
2589 2596
2590 2597 .dataviews-view-grid__group-header {
2591 - font-size: 15px;
2592 - font-weight: 499;
2593 - color: #1e1e1e;
2594 - margin: 0 0 8px 0;
2595 - padding: 0 24px;
2598 + font-size: var(--wpds-typography-font-size-lg, 15px);
2599 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
2600 + color: var(--wpds-color-foreground-content-neutral, #1e1e1e);
2601 + margin: 0 0 var(--wpds-dimension-gap-sm, 8px) 0;
2602 + padding: 0 var(--wpds-dimension-padding-2xl, 24px);
2596 2603 container-type: inline-size;
2597 2604 }
2598 2605
2599 2606 div.dataviews-view-list {
@@ -2606,15 +2613,15 @@
2606 2613
2607 2614 .dataviews-view-list div[role=row],
2608 2615 .dataviews-view-list div[role=article] {
2609 2616 margin: 0;
2610 - border-top: 1px solid #f0f0f0;
2617 + border-top: 1px solid var(--wpds-color-stroke-surface-neutral-weak, #f0f0f0);
2611 2618 }
2612 2619
2613 2620 .dataviews-view-list div[role=row] .dataviews-view-list__item-wrapper,
2614 2621 .dataviews-view-list div[role=article] .dataviews-view-list__item-wrapper {
2615 2622 position: relative;
2616 - padding: 16px 24px;
2623 + padding: var(--wpds-dimension-padding-lg, 16px) var(--wpds-dimension-padding-2xl, 24px);
2617 2624 box-sizing: border-box;
2618 2625 }
2619 2626
2620 2627 .dataviews-view-list div[role=row] .dataviews-view-list__item-actions,
@@ -2621,9 +2628,9 @@
2621 2628 .dataviews-view-list div[role=article] .dataviews-view-list__item-actions {
2622 2629 display: flex;
2623 2630 width: max-content;
2624 2631 flex: 0 0 auto;
2625 - gap: 4px;
2632 + gap: var(--wpds-dimension-gap-xs, 4px);
2626 2633 white-space: nowrap;
2627 2634 }
2628 2635
2629 2636 .dataviews-view-list div[role=row] .dataviews-view-list__item-actions .components-button,
@@ -2633,9 +2640,9 @@
2633 2640 }
2634 2641
2635 2642 .dataviews-view-list div[role=row] .dataviews-view-list__item-actions > div,
2636 2643 .dataviews-view-list div[role=article] .dataviews-view-list__item-actions > div {
2637 - height: 24px;
2644 + height: var(--wpds-dimension-size-sm, 24px);
2638 2645 }
2639 2646
2640 2647 .dataviews-view-list div[role=row] .dataviews-view-list__item-actions > :not(:last-child),
2641 2648 .dataviews-view-list div[role=article] .dataviews-view-list__item-actions > :not(:last-child) {
@@ -2660,15 +2667,15 @@
2660 2667 }
2661 2668 }
2662 2669 .dataviews-view-list div[role=row].is-selected.is-selected,
2663 2670 .dataviews-view-list div[role=article].is-selected.is-selected {
2664 - border-top: 1px solid rgba(var(--wp-admin-theme-color--rgb), 0.12);
2671 + border-top: 1px solid var(--wpds-color-stroke-surface-brand, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 40%, white));
2665 2672 }
2666 2673
2667 2674 .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],
2668 2675 .dataviews-view-list div[role=article].is-selected.is-selected + div[role=row],
2669 2676 .dataviews-view-list div[role=article].is-selected.is-selected + div[role=article] {
2670 - border-top: 1px solid rgba(var(--wp-admin-theme-color--rgb), 0.12);
2677 + border-top: 1px solid var(--wpds-color-stroke-surface-brand, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 40%, white));
2671 2678 }
2672 2679
2673 2680 .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,
2674 2681 .dataviews-view-list div[role=article]:not(.is-selected):hover,
@@ -2673,23 +2680,11 @@
2673 2680 .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,
2674 2681 .dataviews-view-list div[role=article]:not(.is-selected):hover,
2675 2682 .dataviews-view-list div[role=article]:not(.is-selected).is-hovered,
2676 2683 .dataviews-view-list div[role=article]:not(.is-selected):focus-within {
2677 - color: var(--wp-admin-theme-color);
2678 - background-color: rgba(var(--wp-admin-theme-color--rgb), 0.04);
2679 - border-top: 1px solid rgba(var(--wp-admin-theme-color--rgb), 0.12);
2684 + background-color: var(--wpds-color-background-interactive-neutral-weak-active, #ededed);
2680 2685 }
2681 2686
2682 -.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],
2683 -.dataviews-view-list div[role=article]:not(.is-selected):hover + div[role=row],
2684 -.dataviews-view-list div[role=article]:not(.is-selected):hover + div[role=article],
2685 -.dataviews-view-list div[role=article]:not(.is-selected).is-hovered + div[role=row],
2686 -.dataviews-view-list div[role=article]:not(.is-selected).is-hovered + div[role=article],
2687 -.dataviews-view-list div[role=article]:not(.is-selected):focus-within + div[role=row],
2688 -.dataviews-view-list div[role=article]:not(.is-selected):focus-within + div[role=article] {
2689 - border-top: 1px solid rgba(var(--wp-admin-theme-color--rgb), 0.12);
2690 -}
2691 -
2692 2687 .dataviews-view-list div[role=row]:not(.is-selected):hover .dataviews-title-field,
2693 2688 .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,
2694 2689 .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,
2695 2690 .dataviews-view-list div[role=row]:not(.is-selected):focus-within .dataviews-view-list__field,
@@ -2698,9 +2693,9 @@
2698 2693 .dataviews-view-list div[role=article]:not(.is-selected).is-hovered .dataviews-title-field,
2699 2694 .dataviews-view-list div[role=article]:not(.is-selected).is-hovered .dataviews-view-list__field,
2700 2695 .dataviews-view-list div[role=article]:not(.is-selected):focus-within .dataviews-title-field,
2701 2696 .dataviews-view-list div[role=article]:not(.is-selected):focus-within .dataviews-view-list__field {
2702 - color: var(--wp-admin-theme-color);
2697 + color: var(--wpds-color-foreground-interactive-neutral, #1e1e1e);
2703 2698 }
2704 2699
2705 2700 .dataviews-view-list div[role=row].is-selected .dataviews-view-list__item-wrapper,
2706 2701 .dataviews-view-list div[role=row].is-selected:focus-within .dataviews-view-list__item-wrapper,
@@ -2705,10 +2700,10 @@
2705 2700 .dataviews-view-list div[role=row].is-selected .dataviews-view-list__item-wrapper,
2706 2701 .dataviews-view-list div[role=row].is-selected:focus-within .dataviews-view-list__item-wrapper,
2707 2702 .dataviews-view-list div[role=article].is-selected .dataviews-view-list__item-wrapper,
2708 2703 .dataviews-view-list div[role=article].is-selected:focus-within .dataviews-view-list__item-wrapper {
2709 - background-color: rgba(var(--wp-admin-theme-color--rgb), 0.08);
2710 - color: #1e1e1e;
2704 + background-color: var(--wpds-color-background-interactive-brand-weak-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 12%, white));
2705 + color: var(--wpds-color-foreground-content-neutral, #1e1e1e);
2711 2706 }
2712 2707
2713 2708 .dataviews-view-list div[role=row].is-selected .dataviews-view-list__item-wrapper .dataviews-title-field,
2714 2709 .dataviews-view-list div[role=row].is-selected .dataviews-view-list__item-wrapper .dataviews-view-list__field,
@@ -2717,9 +2712,9 @@
2717 2712 .dataviews-view-list div[role=article].is-selected .dataviews-view-list__item-wrapper .dataviews-title-field,
2718 2713 .dataviews-view-list div[role=article].is-selected .dataviews-view-list__item-wrapper .dataviews-view-list__field,
2719 2714 .dataviews-view-list div[role=article].is-selected:focus-within .dataviews-view-list__item-wrapper .dataviews-title-field,
2720 2715 .dataviews-view-list div[role=article].is-selected:focus-within .dataviews-view-list__item-wrapper .dataviews-view-list__field {
2721 - color: #1e1e1e;
2716 + color: var(--wpds-color-foreground-content-neutral, #1e1e1e);
2722 2717 }
2723 2718
2724 2719 .dataviews-view-list .dataviews-view-list__item {
2725 2720 position: absolute;
@@ -2724,9 +2719,9 @@
2724 2719 .dataviews-view-list .dataviews-view-list__item {
2725 2720 position: absolute;
2726 2721 z-index: 1;
2727 2722 inset: 0;
2728 - scroll-margin: 8px 0;
2723 + scroll-margin: var(--wpds-dimension-gap-sm, 8px) 0;
2729 2724 appearance: none;
2730 2725 border: none;
2731 2726 background: none;
2732 2727 padding: 0;
@@ -2740,17 +2735,17 @@
2740 2735 .dataviews-view-list .dataviews-view-list__item:focus-visible::before {
2741 2736 position: absolute;
2742 2737 content: "";
2743 2738 inset: var(--wp-admin-border-width-focus);
2744 - box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
2745 - border-radius: 2px;
2739 + box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wpds-color-stroke-focus, var(--wp-admin-theme-color, #3858e9));
2740 + border-radius: var(--wpds-border-radius-sm, 2px);
2746 2741 outline: 2px solid transparent;
2747 2742 }
2748 2743
2749 2744 .dataviews-view-list .dataviews-view-list__title-field {
2750 2745 flex: 1;
2751 - min-height: 24px;
2752 - line-height: 24px;
2746 + min-height: var(--wpds-dimension-size-sm, 24px);
2747 + line-height: var(--wpds-typography-line-height-md, 24px);
2753 2748 overflow: hidden;
2754 2749 }
2755 2750
2756 2751 .dataviews-view-list .dataviews-view-list__title-field:has(a, button) {
@@ -2757,15 +2752,15 @@
2757 2752 z-index: 1;
2758 2753 }
2759 2754
2760 2755 .dataviews-view-list .dataviews-view-list__media-wrapper {
2761 - width: 52px;
2762 - height: 52px;
2756 + width: 48px;
2757 + height: 48px;
2763 2758 overflow: hidden;
2764 2759 position: relative;
2765 2760 flex-shrink: 0;
2766 - background-color: #fff;
2767 - border-radius: 4px;
2761 + background-color: var(--wpds-color-background-surface-neutral-strong, #fff);
2762 + border-radius: var(--wpds-border-radius-md, 4px);
2768 2763 }
2769 2764
2770 2765 .dataviews-view-list .dataviews-view-list__media-wrapper img {
2771 2766 width: 100%;
@@ -2779,25 +2774,26 @@
2779 2774 top: 0;
2780 2775 right: 0;
2781 2776 width: 100%;
2782 2777 height: 100%;
2783 - box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
2784 - border-radius: 4px;
2778 + box-shadow: inset 0 0 0 var(--wpds-border-width-xs, 1px) rgba(0, 0, 0, 0.1);
2779 + border-radius: var(--wpds-border-radius-md, 4px);
2785 2780 }
2786 2781
2787 2782 .dataviews-view-list .dataviews-view-list__field-wrapper {
2783 + min-height: 48px;
2788 2784 flex-grow: 1;
2789 2785 min-width: 0;
2790 2786 }
2791 2787
2792 2788 .dataviews-view-list .dataviews-view-list__field {
2793 - color: #757575;
2789 + color: var(--wpds-color-foreground-content-neutral-weak, #707070);
2794 2790 }
2795 2791
2796 2792 .dataviews-view-list .dataviews-view-list__fields {
2797 2793 display: flex;
2798 - gap: 12px;
2799 - row-gap: 4px;
2794 + gap: var(--wpds-dimension-gap-md, 12px);
2795 + row-gap: var(--wpds-dimension-gap-xs, 4px);
2800 2796 flex-wrap: wrap;
2801 2797 font-size: 12px;
2802 2798 }
2803 2799
@@ -2809,10 +2805,10 @@
2809 2805 display: none;
2810 2806 }
2811 2807
2812 2808 .dataviews-view-list .dataviews-view-list__fields .dataviews-view-list__field-value {
2813 - min-height: 24px;
2814 - line-height: 20px;
2809 + min-height: var(--wpds-dimension-size-sm, 24px);
2810 + line-height: var(--wpds-typography-line-height-sm, 20px);
2815 2811 display: flex;
2816 2812 align-items: center;
2817 2813 }
2818 2814
@@ -2820,38 +2816,42 @@
2820 2816 justify-content: space-between;
2821 2817 }
2822 2818
2823 2819 .dataviews-view-list.has-compact-density div[role=row] .dataviews-view-list__item-wrapper {
2824 - padding: 8px 24px;
2820 + padding: var(--wpds-dimension-padding-sm, 8px) var(--wpds-dimension-padding-2xl, 24px);
2825 2821 }
2826 2822
2827 2823 .dataviews-view-list.has-compact-density div[role=row] .dataviews-view-list__title-field {
2828 - min-height: 16px;
2829 - line-height: 16px;
2824 + min-height: var(--wpds-dimension-size-2xs, 16px);
2825 + line-height: var(--wpds-typography-line-height-xs, 16px);
2830 2826 }
2831 2827
2832 2828 .dataviews-view-list.has-compact-density div[role=row] .dataviews-view-list__media-wrapper {
2833 - width: 32px;
2834 - height: 32px;
2829 + width: var(--wpds-dimension-size-md, 32px);
2830 + height: var(--wpds-dimension-size-md, 32px);
2835 2831 }
2836 2832
2833 +.dataviews-view-list.has-compact-density div[role=row] .dataviews-view-list__field-wrapper {
2834 + min-height: var(--wpds-dimension-size-md, 32px);
2835 +}
2836 +
2837 2837 .dataviews-view-list.has-compact-density div[role=row] .dataviews-view-list__fields {
2838 - gap: 8px;
2839 - row-gap: 4px;
2838 + gap: var(--wpds-dimension-gap-sm, 8px);
2839 + row-gap: var(--wpds-dimension-gap-xs, 4px);
2840 2840 }
2841 2841
2842 2842 .dataviews-view-list.has-compact-density div[role=row] .dataviews-view-list__fields .dataviews-view-list__field-value {
2843 - min-height: 16px;
2844 - line-height: 16px;
2843 + min-height: var(--wpds-dimension-size-2xs, 16px);
2844 + line-height: var(--wpds-typography-line-height-xs, 16px);
2845 2845 }
2846 2846
2847 2847 .dataviews-view-list.has-comfortable-density div[role=row] .dataviews-view-list__item-wrapper {
2848 - padding: 24px 24px;
2848 + padding: var(--wpds-dimension-padding-2xl, 24px) var(--wpds-dimension-padding-2xl, 24px);
2849 2849 }
2850 2850
2851 2851 .dataviews-view-list.has-comfortable-density div[role=row] .dataviews-view-list__title-field {
2852 - min-height: 32px;
2853 - line-height: 32px;
2852 + min-height: var(--wpds-dimension-size-md, 32px);
2853 + line-height: var(--wpds-typography-line-height-xl, 32px);
2854 2854 }
2855 2855
2856 2856 .dataviews-view-list.has-comfortable-density div[role=row] .dataviews-view-list__media-wrapper {
2857 2857 width: 64px;
@@ -2857,16 +2857,20 @@
2857 2857 width: 64px;
2858 2858 height: 64px;
2859 2859 }
2860 2860
2861 +.dataviews-view-list.has-comfortable-density div[role=row] .dataviews-view-list__field-wrapper {
2862 + min-height: 64px;
2863 +}
2864 +
2861 2865 .dataviews-view-list.has-comfortable-density div[role=row] .dataviews-view-list__fields {
2862 - gap: 16px;
2863 - row-gap: 8px;
2866 + gap: var(--wpds-dimension-gap-lg, 16px);
2867 + row-gap: var(--wpds-dimension-gap-sm, 8px);
2864 2868 }
2865 2869
2866 2870 .dataviews-view-list.has-comfortable-density div[role=row] .dataviews-view-list__fields .dataviews-view-list__field-value {
2867 - min-height: 32px;
2868 - line-height: 24px;
2871 + min-height: var(--wpds-dimension-size-md, 32px);
2872 + line-height: var(--wpds-typography-line-height-md, 24px);
2869 2873 }
2870 2874
2871 2875 .dataviews-view-list.is-refreshing {
2872 2876 opacity: 0.5;
@@ -2879,13 +2883,13 @@
2879 2883 animation: dataviews-pulse 1s ease-in-out infinite;
2880 2884 }
2881 2885 }
2882 2886 .dataviews-view-list__group-header {
2883 - font-size: 15px;
2884 - font-weight: 499;
2885 - color: #1e1e1e;
2886 - margin: 0 0 8px 0;
2887 - padding: 0 24px;
2887 + font-size: var(--wpds-typography-font-size-lg, 15px);
2888 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
2889 + color: var(--wpds-color-foreground-content-neutral, #1e1e1e);
2890 + margin: 0 0 var(--wpds-dimension-gap-lg, 16px) 0;
2891 + padding: 0 var(--wpds-dimension-padding-2xl, 24px);
2888 2892 }
2889 2893
2890 2894 .dataviews-view-table {
2891 2895 width: 100%;
@@ -2892,9 +2896,9 @@
2892 2896 text-indent: 0;
2893 2897 border-color: inherit;
2894 2898 border-collapse: collapse;
2895 2899 position: relative;
2896 - color: #757575;
2900 + color: var(--wpds-color-foreground-content-neutral-weak, #707070);
2897 2901 margin-bottom: auto;
2898 2902 background-color: inherit;
2899 2903 }
2900 2904
@@ -2899,16 +2903,16 @@
2899 2903 }
2900 2904
2901 2905 .dataviews-view-table th {
2902 2906 text-align: right;
2903 - color: #1e1e1e;
2904 - font-weight: normal;
2905 - font-size: 13px;
2907 + color: var(--wpds-color-foreground-content-neutral, #1e1e1e);
2908 + font-weight: 400;
2909 + font-size: var(--wpds-typography-font-size-md, 13px);
2906 2910 }
2907 2911
2908 2912 .dataviews-view-table td,
2909 2913 .dataviews-view-table th {
2910 - padding: 12px;
2914 + padding: var(--wpds-dimension-padding-md, 12px);
2911 2915 }
2912 2916
2913 2917 .dataviews-view-table td.dataviews-view-table__actions-column,
2914 2918 .dataviews-view-table th.dataviews-view-table__actions-column {
@@ -2918,9 +2922,9 @@
2918 2922 .dataviews-view-table td.dataviews-view-table__actions-column--sticky,
2919 2923 .dataviews-view-table th.dataviews-view-table__actions-column--sticky {
2920 2924 position: sticky;
2921 2925 left: 0;
2922 - background-color: var(--wp-dataviews-color-background, #fff);
2926 + background-color: var(--wp-dataviews-color-background, var(--wpds-color-background-surface-neutral-strong, #fff));
2923 2927 }
2924 2928
2925 2929 .dataviews-view-table td.dataviews-view-table__actions-column--stuck::after,
2926 2930 .dataviews-view-table th.dataviews-view-table__actions-column--stuck::after {
@@ -2930,9 +2934,9 @@
2930 2934 top: 0;
2931 2935 bottom: 0;
2932 2936 right: 0;
2933 2937 width: 1px;
2934 - background-color: #f0f0f0;
2938 + background-color: var(--wpds-color-stroke-surface-neutral-weak, #f0f0f0);
2935 2939 }
2936 2940
2937 2941 .dataviews-view-table td.dataviews-view-table__checkbox-column,
2938 2942 .dataviews-view-table th.dataviews-view-table__checkbox-column {
@@ -2945,20 +2949,20 @@
2945 2949 min-width: auto;
2946 2950 }
2947 2951
2948 2952 .dataviews-view-table tr {
2949 - border-top: 1px solid #f0f0f0;
2953 + border-top: 1px solid var(--wpds-color-stroke-surface-neutral-weak, #f0f0f0);
2950 2954 background-color: inherit;
2951 2955 }
2952 2956
2953 2957 .dataviews-view-table tr td:first-child,
2954 2958 .dataviews-view-table tr th:first-child {
2955 - padding-right: 24px;
2959 + padding-right: var(--wpds-dimension-padding-2xl, 24px);
2956 2960 }
2957 2961
2958 2962 .dataviews-view-table tr td:last-child,
2959 2963 .dataviews-view-table tr th:last-child {
2960 - padding-left: 24px;
2964 + padding-left: var(--wpds-dimension-padding-2xl, 24px);
2961 2965 }
2962 2966
2963 2967 .dataviews-view-table tr:last-child {
2964 2968 border-bottom: 0;
@@ -2973,18 +2977,18 @@
2973 2977 opacity: 1;
2974 2978 }
2975 2979 }
2976 2980 .dataviews-view-table tr.is-selected {
2977 - background-color: color-mix(in srgb, rgb(var(--wp-admin-theme-color--rgb)) 4%, #fff);
2978 - color: #757575;
2981 + background-color: var(--wpds-color-background-interactive-brand-weak-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 12%, white));
2982 + color: var(--wpds-color-foreground-content-neutral, #1e1e1e);
2979 2983 }
2980 2984
2981 2985 .dataviews-view-table tr.is-selected, .dataviews-view-table tr.is-selected + tr {
2982 - border-top: 1px solid rgba(var(--wp-admin-theme-color--rgb), 0.12);
2986 + border-top: 1px solid var(--wpds-color-stroke-surface-brand, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 40%, white));
2983 2987 }
2984 2988
2985 2989 .dataviews-view-table tr.is-selected .dataviews-view-table__actions-column--sticky {
2986 - background-color: color-mix(in srgb, rgb(var(--wp-admin-theme-color--rgb)) 4%, #fff);
2990 + background-color: var(--wpds-color-background-interactive-brand-weak-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 12%, white));
2987 2991 }
2988 2992
2989 2993 .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) {
2990 2994 opacity: 1;
@@ -2990,13 +2994,13 @@
2990 2994 opacity: 1;
2991 2995 }
2992 2996
2993 2997 .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 {
2994 - background-color: var(--wp-dataviews-color-background, #fff);
2998 + background-color: var(--wp-dataviews-color-background, var(--wpds-color-background-surface-neutral-strong, #fff));
2995 2999 }
2996 3000
2997 3001 .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 {
2998 - background-color: color-mix(in srgb, rgb(var(--wp-admin-theme-color--rgb)) 4%, #fff);
3002 + background-color: var(--wpds-color-background-interactive-brand-weak-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 12%, white));
2999 3003 }
3000 3004
3001 3005 .dataviews-view-table thead {
3002 3006 position: sticky;
@@ -3012,9 +3016,9 @@
3012 3016 bottom: 0;
3013 3017 right: 0;
3014 3018 left: 0;
3015 3019 height: 1px;
3016 - background-color: #f0f0f0;
3020 + background-color: var(--wpds-color-stroke-surface-neutral-weak, #f0f0f0);
3017 3021 }
3018 3022
3019 3023 .dataviews-view-table thead tr {
3020 3024 border: 0;
@@ -3021,30 +3025,30 @@
3021 3025 }
3022 3026
3023 3027 .dataviews-view-table thead th {
3024 3028 background-color: inherit;
3025 - padding-top: 8px;
3026 - padding-bottom: 8px;
3029 + padding-top: var(--wpds-dimension-padding-sm, 8px);
3030 + padding-bottom: var(--wpds-dimension-padding-sm, 8px);
3027 3031 font-size: 11px;
3028 3032 text-transform: uppercase;
3029 - font-weight: 499;
3033 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
3030 3034 }
3031 3035
3032 3036 .dataviews-view-table thead th:has(.dataviews-view-table-header-button) {
3033 - padding-right: 4px;
3034 - padding-left: 4px;
3037 + padding-right: var(--wpds-dimension-padding-xs, 4px);
3038 + padding-left: var(--wpds-dimension-padding-xs, 4px);
3035 3039 }
3036 3040
3037 3041 .dataviews-view-table thead th:has(.dataviews-view-table-header-button) .dataviews-view-table-header-button {
3038 - gap: 4px;
3042 + gap: var(--wpds-dimension-gap-xs, 4px);
3039 3043 }
3040 3044
3041 3045 .dataviews-view-table thead th:has(.dataviews-view-table-header-button):first-child {
3042 - padding-right: 16px;
3046 + padding-right: var(--wpds-dimension-padding-lg, 16px);
3043 3047 }
3044 3048
3045 3049 .dataviews-view-table thead th:has(.dataviews-view-table-header-button):last-child {
3046 - padding-left: 16px;
3050 + padding-left: var(--wpds-dimension-padding-lg, 16px);
3047 3051 }
3048 3052
3049 3053 .dataviews-view-table tbody td {
3050 3054 vertical-align: top;
@@ -3050,9 +3054,9 @@
3050 3054 vertical-align: top;
3051 3055 }
3052 3056
3053 3057 .dataviews-view-table tbody .dataviews-view-table__cell-content-wrapper {
3054 - min-height: 32px;
3058 + min-height: var(--wpds-dimension-size-md, 32px);
3055 3059 display: flex;
3056 3060 align-items: center;
3057 3061 white-space: nowrap;
3058 3062 }
@@ -3070,16 +3074,16 @@
3070 3074 min-height: 0;
3071 3075 }
3072 3076
3073 3077 .dataviews-view-table .dataviews-view-table-header-button {
3074 - padding: 4px 8px;
3078 + padding: var(--wpds-dimension-padding-xs, 4px) var(--wpds-dimension-padding-sm, 8px);
3075 3079 font-size: 11px;
3076 3080 text-transform: uppercase;
3077 - font-weight: 499;
3081 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
3078 3082 }
3079 3083
3080 3084 .dataviews-view-table .dataviews-view-table-header-button:not(:hover) {
3081 - color: #1e1e1e;
3085 + color: var(--wpds-color-foreground-interactive-neutral, #1e1e1e);
3082 3086 }
3083 3087
3084 3088 .dataviews-view-table .dataviews-view-table-header-button span {
3085 3089 speak: none;
@@ -3089,9 +3093,9 @@
3089 3093 display: none;
3090 3094 }
3091 3095
3092 3096 .dataviews-view-table .dataviews-view-table-header {
3093 - padding-right: 4px;
3097 + padding-right: var(--wpds-dimension-padding-xs, 4px);
3094 3098 }
3095 3099
3096 3100 .dataviews-view-table .dataviews-view-table__actions-column {
3097 3101 width: auto;
@@ -3107,14 +3111,14 @@
3107 3111 }
3108 3112
3109 3113 .dataviews-view-table.has-compact-density td,
3110 3114 .dataviews-view-table.has-compact-density th {
3111 - padding: 4px 8px;
3115 + padding: var(--wpds-dimension-padding-xs, 4px) var(--wpds-dimension-padding-sm, 8px);
3112 3116 }
3113 3117
3114 3118 .dataviews-view-table.has-comfortable-density td,
3115 3119 .dataviews-view-table.has-comfortable-density th {
3116 - padding: 16px 12px;
3120 + padding: var(--wpds-dimension-padding-lg, 16px) var(--wpds-dimension-padding-md, 12px);
3117 3121 }
3118 3122
3119 3123 .dataviews-view-table.has-compact-density td.dataviews-view-table__checkbox-column,
3120 3124 .dataviews-view-table.has-compact-density th.dataviews-view-table__checkbox-column, .dataviews-view-table.has-comfortable-density td.dataviews-view-table__checkbox-column,
@@ -3132,20 +3136,20 @@
3132 3136 }
3133 3137 }
3134 3138 .dataviews-column-primary__media {
3135 3139 max-width: 60px;
3136 - min-width: 32px;
3137 - min-height: 32px;
3140 + min-width: var(--wpds-dimension-size-md, 32px);
3141 + min-height: var(--wpds-dimension-size-md, 32px);
3138 3142 overflow: hidden;
3139 3143 position: relative;
3140 3144 flex-shrink: 0;
3141 - background-color: #fff;
3142 - border-radius: 4px;
3145 + background-color: var(--wpds-color-background-surface-neutral-strong, #fff);
3146 + border-radius: var(--wpds-border-radius-md, 4px);
3143 3147 }
3144 3148
3145 3149 .dataviews-column-primary__media img {
3146 - width: 32px;
3147 - height: 32px;
3150 + width: var(--wpds-dimension-size-md, 32px);
3151 + height: var(--wpds-dimension-size-md, 32px);
3148 3152 object-fit: cover;
3149 3153 }
3150 3154
3151 3155 .dataviews-column-primary__media::after {
@@ -3154,12 +3158,23 @@
3154 3158 top: 0;
3155 3159 right: 0;
3156 3160 width: 100%;
3157 3161 height: 100%;
3158 - box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
3159 - border-radius: 4px;
3162 + box-shadow: inset 0 0 0 var(--wpds-border-width-xs, 1px) rgba(0, 0, 0, 0.1);
3163 + border-radius: var(--wpds-border-radius-md, 4px);
3160 3164 }
3161 3165
3166 +.dataviews-view-table.has-media-aspect-ratio .dataviews-column-primary__media {
3167 + height: var(--wpds-dimension-size-md, 32px);
3168 + aspect-ratio: var(--wp-dataviews-media-aspect-ratio, 1/1);
3169 + min-width: 0;
3170 +}
3171 +
3172 +.dataviews-view-table.has-media-aspect-ratio .dataviews-column-primary__media img {
3173 + width: 100%;
3174 + height: 100%;
3175 +}
3176 +
3162 3177 .dataviews-view-table__cell-content-wrapper:not(.dataviews-column-primary__media),
3163 3178 .dataviews-view-table__primary-column-content:not(.dataviews-column-primary__media) {
3164 3179 min-width: 15ch;
3165 3180 max-width: 80ch;
@@ -3165,11 +3180,11 @@
3165 3180 max-width: 80ch;
3166 3181 }
3167 3182
3168 3183 .dataviews-view-table__group-header-row .dataviews-view-table__group-header-cell {
3169 - font-weight: 499;
3170 - padding: 12px 24px;
3171 - color: #1e1e1e;
3184 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
3185 + padding: var(--wpds-dimension-padding-md, 12px) var(--wpds-dimension-padding-2xl, 24px);
3186 + color: var(--wpds-color-foreground-content-neutral, #1e1e1e);
3172 3187 }
3173 3188
3174 3189 /* Column width intents via colgroup: make non-primary columns shrink-to-fit */
3175 3190 .dataviews-view-table col[class^=dataviews-view-table__col-]:not(.dataviews-view-table__col-first-data):not(.dataviews-view-table__col-expand) {
@@ -3187,13 +3202,13 @@
3187 3202 animation: dataviews-pulse 1s ease-in-out infinite;
3188 3203 }
3189 3204 }
3190 3205 .dataviews-view-picker-grid.has-compact-density .dataviews-view-grid-items {
3191 - gap: 16px;
3206 + gap: var(--wpds-dimension-gap-lg, 16px);
3192 3207 }
3193 3208
3194 3209 .dataviews-view-picker-grid.has-comfortable-density .dataviews-view-grid-items {
3195 - gap: 32px;
3210 + gap: var(--wpds-dimension-gap-2xl, 32px);
3196 3211 }
3197 3212
3198 3213 .dataviews-view-picker-grid .dataviews-view-picker-grid__card {
3199 3214 height: 100%;
@@ -3198,16 +3213,17 @@
3198 3213 .dataviews-view-picker-grid .dataviews-view-picker-grid__card {
3199 3214 height: 100%;
3200 3215 justify-content: flex-start;
3201 3216 position: relative;
3217 + isolation: isolate;
3202 3218 }
3203 3219
3204 3220 .dataviews-view-picker-grid .dataviews-view-picker-grid__card .dataviews-view-picker-grid__title-actions {
3205 - padding: 8px 0 4px;
3221 + padding: var(--wpds-dimension-padding-sm, 8px) 0 var(--wpds-dimension-padding-xs, 4px);
3206 3222 }
3207 3223
3208 3224 .dataviews-view-picker-grid .dataviews-view-picker-grid__card .dataviews-view-picker-grid__title-field {
3209 - min-height: 24px;
3225 + min-height: var(--wpds-dimension-size-sm, 24px);
3210 3226 overflow: hidden;
3211 3227 align-content: center;
3212 3228 text-align: start;
3213 3229 }
@@ -3216,22 +3232,17 @@
3216 3232 width: fit-content;
3217 3233 }
3218 3234
3219 3235 .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 {
3220 - color: #1e1e1e;
3236 + color: var(--wpds-color-foreground-content-neutral, #1e1e1e);
3221 3237 }
3222 3238
3223 -.dataviews-view-picker-grid .dataviews-view-picker-grid__card.is-selected .dataviews-view-picker-grid__media::after,
3224 -.dataviews-view-picker-grid .dataviews-view-picker-grid__card .dataviews-view-picker-grid__media:focus::after {
3225 - background-color: rgba(var(--wp-admin-theme-color--rgb), 0.08);
3226 -}
3227 -
3228 3239 .dataviews-view-picker-grid .dataviews-view-picker-grid__card.is-selected .dataviews-view-picker-grid__media::after {
3229 - box-shadow: inset 0 0 0 1px var(--wp-admin-theme-color);
3240 + 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);
3230 3241 }
3231 3242
3232 3243 .dataviews-view-picker-grid .dataviews-view-picker-grid__card .dataviews-view-picker-grid__media:focus::after {
3233 - box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
3244 + box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wpds-color-stroke-focus, var(--wp-admin-theme-color, #3858e9));
3234 3245 }
3235 3246
3236 3247 .dataviews-view-picker-grid:focus-visible[aria-activedescendant] {
3237 3248 outline: none;
@@ -3237,13 +3248,13 @@
3237 3248 outline: none;
3238 3249 }
3239 3250
3240 3251 .dataviews-view-picker-grid:focus-visible [data-active-item=true] {
3241 - outline: 2px solid var(--wp-admin-theme-color);
3252 + outline: 2px solid var(--wpds-color-stroke-focus, var(--wp-admin-theme-color, #3858e9));
3242 3253 }
3243 3254
3244 3255 .dataviews-view-picker-grid .dataviews-selection-checkbox {
3245 - top: 8px !important;
3256 + top: var(--wpds-dimension-padding-sm, 8px) !important;
3246 3257 }
3247 3258
3248 3259 .dataviews-view-picker-grid .dataviews-selection-checkbox input {
3249 3260 pointer-events: none;
@@ -3252,10 +3263,11 @@
3252 3263 .dataviews-view-picker-grid .dataviews-view-picker-grid__media {
3253 3264 width: 100%;
3254 3265 aspect-ratio: 1/1;
3255 3266 min-height: 0;
3256 - background-color: #fff;
3257 - border-radius: 4px;
3267 + background-color: var(--wpds-color-background-surface-neutral-strong, #fff);
3268 + border-radius: var(--wpds-border-radius-md, 4px);
3269 + overflow: hidden;
3258 3270 position: relative;
3259 3271 }
3260 3272
3261 3273 .dataviews-view-picker-grid .dataviews-view-picker-grid__media img {
@@ -3270,13 +3282,21 @@
3270 3282 top: 0;
3271 3283 right: 0;
3272 3284 width: 100%;
3273 3285 height: 100%;
3274 - box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
3275 - border-radius: 4px;
3286 + box-shadow: inset 0 0 0 var(--wpds-border-width-xs, 1px) rgba(0, 0, 0, 0.1);
3287 + border-radius: var(--wpds-border-radius-md, 4px);
3276 3288 pointer-events: none;
3277 3289 }
3278 3290
3291 +.dataviews-view-picker-grid.has-media-fit-contain .dataviews-view-picker-grid__media {
3292 + background-color: var(--wpds-color-background-surface-neutral, #fcfcfc);
3293 +}
3294 +
3295 +.dataviews-view-picker-grid.has-media-fit-contain .dataviews-view-picker-grid__media img {
3296 + object-fit: contain;
3297 +}
3298 +
3279 3299 .dataviews-view-picker-grid .dataviews-view-picker-grid__fields {
3280 3300 position: relative;
3281 3301 font-size: 12px;
3282 3302 line-height: 16px;
@@ -3282,25 +3302,25 @@
3282 3302 line-height: 16px;
3283 3303 }
3284 3304
3285 3305 .dataviews-view-picker-grid .dataviews-view-picker-grid__fields:not(:empty) {
3286 - padding: 0 0 12px;
3306 + padding: 0 0 var(--wpds-dimension-padding-md, 12px);
3287 3307 }
3288 3308
3289 3309 .dataviews-view-picker-grid .dataviews-view-picker-grid__fields .dataviews-view-picker-grid__field-value:not(:empty) {
3290 - min-height: 24px;
3291 - line-height: 20px;
3292 - padding-top: 2px;
3310 + min-height: var(--wpds-dimension-size-sm, 24px);
3311 + line-height: var(--wpds-typography-line-height-sm, 20px);
3312 + padding-top: calc((var(--wpds-dimension-size-sm, 24px) - var(--wpds-typography-line-height-sm, 20px)) / 2);
3293 3313 }
3294 3314
3295 3315 .dataviews-view-picker-grid .dataviews-view-picker-grid__fields .dataviews-view-picker-grid__field {
3296 - min-height: 24px;
3316 + min-height: var(--wpds-dimension-size-sm, 24px);
3297 3317 align-items: center;
3298 3318 }
3299 3319
3300 3320 .dataviews-view-picker-grid .dataviews-view-picker-grid__fields .dataviews-view-picker-grid__field .dataviews-view-picker-grid__field-name {
3301 3321 width: 35%;
3302 - color: #757575;
3322 + color: var(--wpds-color-foreground-content-neutral-weak, #707070);
3303 3323 overflow: hidden;
3304 3324 text-overflow: ellipsis;
3305 3325 white-space: nowrap;
3306 3326 }
@@ -3316,9 +3336,9 @@
3316 3336 display: none;
3317 3337 }
3318 3338
3319 3339 .dataviews-view-picker-grid .dataviews-view-picker-grid__badge-fields:not(:empty) {
3320 - padding-bottom: 12px;
3340 + padding-bottom: var(--wpds-dimension-padding-md, 12px);
3321 3341 }
3322 3342
3323 3343 .dataviews-view-picker-grid__field-value:empty,
3324 3344 .dataviews-view-picker-grid__field:empty {
@@ -3327,21 +3347,21 @@
3327 3347
3328 3348 .dataviews-view-picker-grid__card .dataviews-selection-checkbox {
3329 3349 position: absolute;
3330 3350 top: -9999em;
3331 - right: 8px;
3351 + right: var(--wpds-dimension-padding-sm, 8px);
3332 3352 z-index: 1;
3333 3353 }
3334 3354
3335 3355 @media (hover: none) {
3336 3356 .dataviews-view-picker-grid__card .dataviews-selection-checkbox {
3337 - top: 8px;
3357 + top: var(--wpds-dimension-padding-sm, 8px);
3338 3358 }
3339 3359 }
3340 3360 .dataviews-view-picker-grid__card:hover .dataviews-selection-checkbox,
3341 3361 .dataviews-view-picker-grid__card:focus-within .dataviews-selection-checkbox,
3342 3362 .dataviews-view-picker-grid__card.is-selected .dataviews-selection-checkbox {
3343 - top: 8px;
3363 + top: var(--wpds-dimension-padding-sm, 8px);
3344 3364 }
3345 3365
3346 3366 .dataviews-view-picker-grid__media--clickable {
3347 3367 cursor: var(--wpds-cursor-control, pointer);
@@ -3347,12 +3367,12 @@
3347 3367 cursor: var(--wpds-cursor-control, pointer);
3348 3368 }
3349 3369
3350 3370 .dataviews-view-picker-grid-group__header {
3351 - font-size: 15px;
3352 - font-weight: 499;
3353 - color: #1e1e1e;
3354 - margin: 0 0 8px 0;
3371 + font-size: var(--wpds-typography-font-size-lg, 15px);
3372 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
3373 + color: var(--wpds-color-foreground-content-neutral, #1e1e1e);
3374 + margin: 0 0 var(--wpds-dimension-gap-sm, 8px) 0;
3355 3375 padding: 0 48px;
3356 3376 }
3357 3377
3358 3378 .dataviews-view-picker-table {
@@ -3367,9 +3387,9 @@
3367 3387 outline: none;
3368 3388 }
3369 3389
3370 3390 .dataviews-view-picker-table tbody:focus-visible [data-active-item=true] {
3371 - outline: 2px solid var(--wp-admin-theme-color);
3391 + outline: 2px solid var(--wpds-color-stroke-focus, var(--wp-admin-theme-color, #3858e9));
3372 3392 }
3373 3393
3374 3394 .dataviews-view-picker-table .dataviews-selection-checkbox .components-checkbox-control__input.components-checkbox-control__input {
3375 3395 pointer-events: none;
@@ -3380,34 +3400,34 @@
3380 3400 cursor: var(--wpds-cursor-control, pointer);
3381 3401 }
3382 3402
3383 3403 .dataviews-view-picker-table .dataviews-view-table__row.is-selected {
3384 - background-color: rgba(var(--wp-admin-theme-color--rgb), 0.04);
3404 + background-color: var(--wpds-color-background-interactive-brand-weak-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 12%, white));
3385 3405 }
3386 3406
3387 3407 .dataviews-view-picker-table .dataviews-view-table__row.is-hovered {
3388 - background-color: rgba(var(--wp-admin-theme-color--rgb), 0.08);
3408 + background-color: var(--wpds-color-background-interactive-brand-weak-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 12%, white));
3389 3409 }
3390 3410
3391 3411 .dataviews-view-picker-table .dataviews-view-table__row.is-selected.is-hovered {
3392 - background-color: rgba(var(--wp-admin-theme-color--rgb), 0.12);
3412 + background-color: var(--wpds-color-background-interactive-brand-weak-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 12%, white));
3393 3413 }
3394 3414
3395 3415 .dataviews-view-activity {
3396 3416 margin: 0 0 auto;
3397 - padding: 0 24px;
3417 + padding: 0 var(--wpds-dimension-padding-2xl, 24px);
3398 3418 }
3399 3419
3400 3420 .dataviews-view-activity .dataviews-view-activity__group-header {
3401 - font-size: 15px;
3402 - font-weight: 499;
3403 - color: #949494;
3404 - margin: 0 0 8px 0;
3421 + font-size: var(--wpds-typography-font-size-lg, 15px);
3422 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
3423 + color: var(--wpds-color-foreground-content-neutral-weak, #707070);
3424 + margin: 0 0 var(--wpds-dimension-gap-sm, 8px) 0;
3405 3425 padding: 0;
3406 3426 }
3407 3427
3408 3428 .dataviews-view-activity .dataviews-view-activity__item-actions {
3409 - min-width: 24px;
3429 + min-width: var(--wpds-dimension-size-sm, 24px);
3410 3430 }
3411 3431
3412 3432 .dataviews-view-activity .dataviews-view-activity__item-content {
3413 3433 flex-grow: 1;
@@ -3415,9 +3435,9 @@
3415 3435
3416 3436 .dataviews-view-activity .dataviews-view-activity__item-content .dataviews-view-activity__item-title,
3417 3437 .dataviews-view-activity .dataviews-view-activity__item-content .dataviews-view-activity__item-description,
3418 3438 .dataviews-view-activity .dataviews-view-activity__item-content .dataviews-view-activity__item-fields {
3419 - min-height: 16px;
3439 + min-height: var(--wpds-dimension-size-2xs, 16px);
3420 3440 }
3421 3441
3422 3442 .dataviews-view-activity .dataviews-view-activity__item-content .dataviews-view-activity__item-title {
3423 3443 position: relative;
@@ -3431,11 +3451,11 @@
3431 3451 cursor: var(--wpds-cursor-control, pointer);
3432 3452 }
3433 3453
3434 3454 .dataviews-view-activity .dataviews-view-activity__item-content .dataviews-view-activity__item-title--clickable:focus-visible {
3435 - outline: var(--wp-admin-border-width-focus) solid var(--wp-admin-theme-color);
3455 + outline: var(--wp-admin-border-width-focus) solid var(--wpds-color-stroke-focus, var(--wp-admin-theme-color, #3858e9));
3436 3456 outline-offset: var(--wp-admin-border-width-focus);
3437 - border-radius: 2px;
3457 + border-radius: var(--wpds-border-radius-sm, 2px);
3438 3458 }
3439 3459
3440 3460 .dataviews-view-activity .dataviews-view-activity__item-content .dataviews-view-activity__primary-actions {
3441 3461 display: flex;
@@ -3448,12 +3468,12 @@
3448 3468 z-index: 1;
3449 3469 }
3450 3470
3451 3471 .dataviews-view-activity .dataviews-view-activity__item-content .dataviews-view-activity__item-fields {
3452 - color: #757575;
3472 + color: var(--wpds-color-foreground-content-neutral-weak, #707070);
3453 3473 display: flex;
3454 - gap: 12px;
3455 - row-gap: 4px;
3474 + gap: var(--wpds-dimension-gap-md, 12px);
3475 + row-gap: var(--wpds-dimension-gap-xs, 4px);
3456 3476 flex-wrap: wrap;
3457 3477 }
3458 3478
3459 3479 .dataviews-view-activity .dataviews-view-activity__item-content .dataviews-view-activity__item-fields:empty {
@@ -3478,9 +3498,9 @@
3478 3498 content: "";
3479 3499 flex: 1 1 auto;
3480 3500 width: 1px;
3481 3501 margin: 0 auto;
3482 - background-color: #ddd;
3502 + background-color: var(--wpds-color-stroke-surface-neutral, #dbdbdb);
3483 3503 }
3484 3504
3485 3505 .dataviews-view-activity .dataviews-view-activity__item-type::before {
3486 3506 content: "";
@@ -3486,67 +3506,67 @@
3486 3506 content: "";
3487 3507 flex: 0 0 auto;
3488 3508 width: 1px;
3489 3509 margin: 0 auto;
3490 - background-color: #ddd;
3510 + background-color: var(--wpds-color-stroke-surface-neutral, #dbdbdb);
3491 3511 }
3492 3512
3493 3513 .dataviews-view-activity .dataviews-view-activity__item.is-compact .dataviews-view-activity__item-type {
3494 - width: 12px;
3514 + width: var(--wpds-dimension-padding-md, 12px);
3495 3515 }
3496 3516
3497 3517 .dataviews-view-activity .dataviews-view-activity__item.is-compact .dataviews-view-activity__item-type::before {
3498 - height: 12px;
3518 + height: var(--wpds-dimension-size-3xs, 12px);
3499 3519 }
3500 3520
3501 3521 .dataviews-view-activity .dataviews-view-activity__item.is-compact .dataviews-view-activity__item-type-icon {
3502 - width: 11px;
3503 - height: 11px;
3522 + width: calc(var(--wpds-dimension-size-3xs, 12px) - 1px);
3523 + height: calc(var(--wpds-dimension-size-3xs, 12px) - 1px);
3504 3524 }
3505 3525
3506 3526 .dataviews-view-activity .dataviews-view-activity__item.is-compact .dataviews-view-activity__item-content {
3507 - margin: 12px 0;
3527 + margin: var(--wpds-dimension-gap-md, 12px) 0;
3508 3528 }
3509 3529
3510 3530 .dataviews-view-activity .dataviews-view-activity__item.is-balanced .dataviews-view-activity__item-type {
3511 - width: 24px;
3531 + width: var(--wpds-dimension-size-sm, 24px);
3512 3532 }
3513 3533
3514 3534 .dataviews-view-activity .dataviews-view-activity__item.is-balanced .dataviews-view-activity__item-type::before {
3515 - height: 12px;
3535 + height: var(--wpds-dimension-size-3xs, 12px);
3516 3536 }
3517 3537
3518 3538 .dataviews-view-activity .dataviews-view-activity__item.is-balanced .dataviews-view-activity__item-type-icon {
3519 - width: 25px;
3520 - height: 25px;
3539 + width: calc(var(--wpds-dimension-size-sm, 24px) + 1px);
3540 + height: calc(var(--wpds-dimension-size-sm, 24px) + 1px);
3521 3541 }
3522 3542
3523 3543 .dataviews-view-activity .dataviews-view-activity__item.is-balanced .dataviews-view-activity__item-content {
3524 - margin: 12px 0;
3525 - padding-top: 8px;
3544 + margin: var(--wpds-dimension-gap-md, 12px) 0;
3545 + padding-top: var(--wpds-dimension-padding-sm, 8px);
3526 3546 }
3527 3547
3528 3548 .dataviews-view-activity .dataviews-view-activity__item.is-comfortable .dataviews-view-activity__item-type {
3529 - width: 32px;
3549 + width: var(--wpds-dimension-size-md, 32px);
3530 3550 }
3531 3551
3532 3552 .dataviews-view-activity .dataviews-view-activity__item.is-comfortable .dataviews-view-activity__item-type::before {
3533 - height: 8px;
3553 + height: var(--wpds-dimension-size-4xs, 8px);
3534 3554 }
3535 3555
3536 3556 .dataviews-view-activity .dataviews-view-activity__item.is-comfortable .dataviews-view-activity__item-type-icon {
3537 - width: 33px;
3538 - height: 33px;
3557 + width: calc(var(--wpds-dimension-size-md, 32px) + 1px);
3558 + height: calc(var(--wpds-dimension-size-md, 32px) + 1px);
3539 3559 }
3540 3560
3541 3561 .dataviews-view-activity .dataviews-view-activity__item.is-comfortable .dataviews-view-activity__item-content {
3542 - margin: 8px 0 16px;
3543 - padding-top: 12px;
3562 + margin: var(--wpds-dimension-gap-sm, 8px) 0 var(--wpds-dimension-gap-lg, 16px);
3563 + padding-top: var(--wpds-dimension-padding-md, 12px);
3544 3564 }
3545 3565
3546 3566 .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 {
3547 - width: 9px;
3548 - height: 9px;
3567 + width: calc(var(--wpds-dimension-size-4xs, 8px) + 1px);
3568 + height: calc(var(--wpds-dimension-size-4xs, 8px) + 1px);
3549 3569 position: relative;
3550 3570 top: 50%;
3551 3571 transform: translateY(-50%);
3552 3572 }
@@ -3555,15 +3575,15 @@
3555 3575 visibility: hidden;
3556 3576 }
3557 3577
3558 3578 .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 {
3559 - background: linear-gradient(to bottom, #ddd 0%, rgba(221, 221, 221, 0.2) 60%, rgba(221, 221, 221, 0) 100%);
3579 + 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%);
3560 3580 }
3561 3581
3562 3582 .dataviews-view-activity .dataviews-view-activity__item-type-icon {
3563 3583 overflow: hidden;
3564 3584 flex-shrink: 0;
3565 - background-color: #fff;
3585 + background-color: var(--wpds-color-background-surface-neutral-strong, #fff);
3566 3586 }
3567 3587
3568 3588 .dataviews-view-activity .dataviews-view-activity__item-type-icon img,
3569 3589 .dataviews-view-activity .dataviews-view-activity__item-type-icon svg,
@@ -3574,18 +3594,18 @@
3574 3594 margin: 0 auto;
3575 3595 object-fit: cover;
3576 3596 border-radius: 50%;
3577 3597 box-sizing: border-box;
3578 - box-shadow: inset 0 0 0 1px #ddd;
3598 + box-shadow: inset 0 0 0 var(--wpds-border-width-xs, 1px) var(--wpds-color-stroke-surface-neutral, #dbdbdb);
3579 3599 }
3580 3600
3581 3601 .dataviews-view-activity .dataviews-view-activity__item-type-icon svg {
3582 - padding: 4px;
3602 + padding: var(--wpds-dimension-padding-xs, 4px);
3583 3603 }
3584 3604
3585 3605 .dataviews-view-activity .dataviews-view-activity__item-type-icon .dataviews-view-activity__item-bullet {
3586 3606 content: "";
3587 - background-color: #ddd;
3607 + background-color: var(--wpds-color-stroke-surface-neutral, #dbdbdb);
3588 3608 }
3589 3609
3590 3610 .dataviews-view-activity.is-refreshing {
3591 3611 opacity: 0.5;
@@ -3601,11 +3621,211 @@
3601 3621 .dataviews-view-activity + .dataviews-pagination {
3602 3622 justify-content: space-between;
3603 3623 }
3604 3624
3625 +.dataviews-view-picker-activity {
3626 + margin: 0;
3627 + padding: 0;
3628 + flex-grow: 1;
3629 +}
3630 +
3631 +.dataviews-view-picker-activity:focus-visible[aria-activedescendant] {
3632 + outline: none;
3633 +}
3634 +
3635 +.dataviews-view-picker-activity:focus-visible .dataviews-view-picker-activity__item[data-active-item=true] {
3636 + outline: 2px solid var(--wpds-color-stroke-focus, var(--wp-admin-theme-color, #3858e9));
3637 + outline-offset: -2px;
3638 +}
3639 +
3640 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item {
3641 + cursor: var(--wpds-cursor-control, pointer);
3642 + border-radius: var(--wpds-border-radius-sm, 2px);
3643 + padding-inline: var(--wpds-dimension-padding-2xl, 24px);
3644 + transition: background-color 0.1s ease;
3645 +}
3646 +
3647 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item.is-selected, .dataviews-view-picker-activity .dataviews-view-picker-activity__item:hover {
3648 + background-color: var(--wpds-color-background-interactive-brand-weak-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 12%, white));
3649 +}
3650 +
3651 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item.is-selected {
3652 + outline: 3px solid transparent;
3653 + outline-offset: -2px;
3654 +}
3655 +
3656 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item.is-compact .dataviews-view-picker-activity__item-type {
3657 + width: var(--wpds-dimension-padding-md, 12px);
3658 +}
3659 +
3660 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item.is-compact .dataviews-view-picker-activity__item-type::before {
3661 + height: var(--wpds-dimension-size-3xs, 12px);
3662 +}
3663 +
3664 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item.is-compact .dataviews-view-picker-activity__item-type-icon {
3665 + width: calc(var(--wpds-dimension-size-3xs, 12px) - 1px);
3666 + height: calc(var(--wpds-dimension-size-3xs, 12px) - 1px);
3667 +}
3668 +
3669 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item.is-compact .dataviews-view-picker-activity__item-content {
3670 + margin: var(--wpds-dimension-gap-md, 12px) 0;
3671 +}
3672 +
3673 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item.is-balanced .dataviews-view-picker-activity__item-type {
3674 + width: var(--wpds-dimension-size-sm, 24px);
3675 +}
3676 +
3677 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item.is-balanced .dataviews-view-picker-activity__item-type::before {
3678 + height: var(--wpds-dimension-size-3xs, 12px);
3679 +}
3680 +
3681 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item.is-balanced .dataviews-view-picker-activity__item-type-icon {
3682 + width: calc(var(--wpds-dimension-size-sm, 24px) + 1px);
3683 + height: calc(var(--wpds-dimension-size-sm, 24px) + 1px);
3684 +}
3685 +
3686 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item.is-balanced .dataviews-view-picker-activity__item-content {
3687 + margin: var(--wpds-dimension-gap-md, 12px) 0;
3688 + padding-top: var(--wpds-dimension-padding-sm, 8px);
3689 +}
3690 +
3691 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item.is-comfortable .dataviews-view-picker-activity__item-type {
3692 + width: var(--wpds-dimension-size-md, 32px);
3693 +}
3694 +
3695 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item.is-comfortable .dataviews-view-picker-activity__item-type::before {
3696 + height: var(--wpds-dimension-size-4xs, 8px);
3697 +}
3698 +
3699 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item.is-comfortable .dataviews-view-picker-activity__item-type-icon {
3700 + width: calc(var(--wpds-dimension-size-md, 32px) + 1px);
3701 + height: calc(var(--wpds-dimension-size-md, 32px) + 1px);
3702 +}
3703 +
3704 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item.is-comfortable .dataviews-view-picker-activity__item-content {
3705 + margin: var(--wpds-dimension-gap-sm, 8px) 0 var(--wpds-dimension-gap-lg, 16px);
3706 + padding-top: var(--wpds-dimension-padding-md, 12px);
3707 +}
3708 +
3709 +.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 {
3710 + width: calc(var(--wpds-dimension-size-4xs, 8px) + 1px);
3711 + height: calc(var(--wpds-dimension-size-4xs, 8px) + 1px);
3712 + position: relative;
3713 + top: 50%;
3714 + transform: translateY(-50%);
3715 +}
3716 +
3717 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item-content {
3718 + flex-grow: 1;
3719 +}
3720 +
3721 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item-content .dataviews-view-picker-activity__item-title,
3722 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item-content .dataviews-view-picker-activity__item-description,
3723 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item-content .dataviews-view-picker-activity__item-fields {
3724 + min-height: var(--wpds-dimension-size-2xs, 16px);
3725 +}
3726 +
3727 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item-content .dataviews-view-picker-activity__item-title {
3728 + position: relative;
3729 + display: flex;
3730 + align-items: center;
3731 + flex: 1;
3732 + overflow: hidden;
3733 +}
3734 +
3735 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item-content .dataviews-view-picker-activity__item-description:empty {
3736 + display: none;
3737 +}
3738 +
3739 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item-content .dataviews-view-picker-activity__item-fields {
3740 + color: var(--wpds-color-foreground-content-neutral-weak, #707070);
3741 + display: flex;
3742 + gap: var(--wpds-dimension-gap-md, 12px);
3743 + row-gap: var(--wpds-dimension-gap-xs, 4px);
3744 + flex-wrap: wrap;
3745 +}
3746 +
3747 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item-content .dataviews-view-picker-activity__item-fields:empty {
3748 + display: none;
3749 +}
3750 +
3751 +.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) {
3752 + display: none;
3753 +}
3754 +
3755 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item-content .dataviews-view-picker-activity__item-fields .dataviews-view-picker-activity__item-field-value {
3756 + display: flex;
3757 + align-items: center;
3758 +}
3759 +
3760 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item-type {
3761 + align-self: stretch;
3762 + flex-shrink: 0;
3763 +}
3764 +
3765 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item-type::after {
3766 + content: "";
3767 + flex: 1 1 auto;
3768 + width: 1px;
3769 + margin: 0 auto;
3770 + background-color: var(--wpds-color-stroke-surface-neutral, #dbdbdb);
3771 +}
3772 +
3773 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item-type::before {
3774 + content: "";
3775 + flex: 0 0 auto;
3776 + width: 1px;
3777 + margin: 0 auto;
3778 + background-color: var(--wpds-color-stroke-surface-neutral, #dbdbdb);
3779 +}
3780 +
3781 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item:first-child .dataviews-view-picker-activity__item-type::before {
3782 + visibility: hidden;
3783 +}
3784 +
3785 +.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 {
3786 + 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%);
3787 +}
3788 +
3789 +.dataviews-view-picker-activity .dataviews-view-picker-activity-group__header {
3790 + font-size: var(--wpds-typography-font-size-lg, 15px);
3791 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
3792 + color: var(--wpds-color-foreground-content-neutral-weak, #707070);
3793 + margin: 0 0 var(--wpds-dimension-gap-sm, 8px) 0;
3794 + padding: 0;
3795 + padding-inline-start: var(--wpds-dimension-padding-2xl, 24px);
3796 +}
3797 +
3798 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item-type-icon {
3799 + overflow: hidden;
3800 + flex-shrink: 0;
3801 + background-color: transparent;
3802 +}
3803 +
3804 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item-type-icon img,
3805 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item-type-icon svg,
3806 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item-type-icon .dataviews-view-picker-activity__item-bullet {
3807 + display: block;
3808 + width: 100%;
3809 + height: 100%;
3810 + margin: 0 auto;
3811 + object-fit: cover;
3812 + border-radius: 50%;
3813 + box-sizing: border-box;
3814 + box-shadow: inset 0 0 0 var(--wpds-border-width-xs, 1px) var(--wpds-color-stroke-surface-neutral, #dbdbdb);
3815 +}
3816 +
3817 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item-type-icon svg {
3818 + padding: var(--wpds-dimension-padding-xs, 4px);
3819 +}
3820 +
3821 +.dataviews-view-picker-activity .dataviews-view-picker-activity__item-type-icon .dataviews-view-picker-activity__item-bullet {
3822 + background-color: var(--wpds-color-stroke-surface-neutral, #dbdbdb);
3823 +}
3824 +
3605 3825 .dataviews-picker-footer__bulk-selection {
3606 3826 align-self: flex-start;
3607 - height: 32px;
3827 + height: var(--wpds-dimension-size-md, 32px);
3608 3828 }
3609 3829
3610 3830 .dataviews-picker-footer__actions {
3611 3831 align-self: flex-end;
@@ -3635,30 +3855,51 @@
3635 3855 display: flex;
3636 3856 }
3637 3857
3638 3858 .dataviews-controls__date-preset {
3639 - border: 1px solid #ddd;
3859 + border: 1px solid var(--wpds-color-stroke-surface-neutral, #dbdbdb);
3640 3860 }
3641 3861
3642 3862 .dataviews-controls__date-preset:active {
3643 - background-color: #000;
3863 + background-color: var(--wpds-color-background-interactive-neutral-strong-active, #1e1e1e);
3644 3864 }
3645 3865
3866 +.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 {
3867 + --focus-color: var(--wpds-color-stroke-interactive-error, #cc1818);
3868 +}
3869 +
3870 +.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 {
3871 + border-color: var(--wpds-color-stroke-interactive-error, #cc1818);
3872 +}
3873 +
3874 +.dataviews-validated-control__wrapper-with-error-delegate {
3875 + position: relative;
3876 +}
3877 +
3878 +.dataviews-validated-control__error-delegate {
3879 + position: absolute;
3880 + top: 0;
3881 + height: 100%;
3882 + width: 100%;
3883 + opacity: 0;
3884 + pointer-events: none;
3885 +}
3886 +
3646 3887 .dataforms-layouts-panel__field-trigger {
3647 3888 position: relative;
3648 3889 color: inherit;
3649 3890 display: flex;
3650 3891 width: 100%;
3651 - min-height: 24px;
3892 + min-height: var(--wpds-dimension-size-sm, 24px);
3652 3893 cursor: var(--wpds-cursor-control, pointer);
3653 3894 align-items: flex-start;
3654 - border-radius: 2px;
3895 + border-radius: var(--wpds-border-radius-sm, 2px);
3655 3896 isolation: isolate;
3656 3897 }
3657 3898
3658 3899 .dataforms-layouts-panel__field-trigger--label-side {
3659 3900 flex-direction: row;
3660 - gap: var(--wpds-dimension-gap-md, 12px);
3901 + gap: var(--wpds-dimension-gap-sm, 8px);
3661 3902 }
3662 3903
3663 3904 .dataforms-layouts-panel__field-trigger--label-top {
3664 3905 display: grid;
@@ -3669,9 +3910,9 @@
3669 3910 align-items: center;
3670 3911 }
3671 3912
3672 3913 .dataforms-layouts-panel__field-trigger:not(.is-disabled):hover {
3673 - color: var(--wp-admin-theme-color);
3914 + color: var(--wpds-color-foreground-interactive-brand, var(--wp-admin-theme-color, #3858e9));
3674 3915 }
3675 3916
3676 3917 .dataforms-layouts-panel__field-trigger:not(.is-disabled):hover .dataforms-layouts-panel__field-trigger-icon {
3677 3918 opacity: 1;
@@ -3677,9 +3918,9 @@
3677 3918 opacity: 1;
3678 3919 }
3679 3920
3680 3921 .dataforms-layouts-panel__field-trigger:not(.is-disabled):hover .dataforms-layouts-panel__field-label {
3681 - color: var(--wp-admin-theme-color);
3922 + color: var(--wpds-color-foreground-interactive-brand, var(--wp-admin-theme-color, #3858e9));
3682 3923 }
3683 3924
3684 3925 .dataforms-layouts-panel__field-trigger.is-disabled {
3685 3926 cursor: default;
@@ -3685,10 +3926,10 @@
3685 3926 cursor: default;
3686 3927 }
3687 3928
3688 3929 .dataforms-layouts-panel__field-trigger.is-disabled .dataforms-layouts-panel__field-control {
3689 - color: #757575;
3690 - font-weight: var(--wpds-typography-font-weight-regular, 400);
3930 + color: var(--wpds-color-foreground-content-neutral-weak, #707070);
3931 + font-weight: var(--wpds-typography-font-weight-default, 400);
3691 3932 }
3692 3933
3693 3934 .dataforms-layouts-panel__field-trigger--edit-always .dataforms-layouts-panel__field-trigger-icon {
3694 3935 opacity: 1;
@@ -3695,22 +3936,28 @@
3695 3936 fill: currentColor;
3696 3937 }
3697 3938
3698 3939 .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 {
3699 - fill: var(--wp-admin-theme-color);
3940 + fill: var(--wpds-color-foreground-interactive-brand, var(--wp-admin-theme-color, #3858e9));
3700 3941 }
3701 3942
3702 3943 .dataforms-layouts-panel__field-trigger-icon {
3703 3944 padding: 0;
3704 - color: var(--wp-admin-theme-color);
3945 + color: var(--wpds-color-foreground-interactive-brand, var(--wp-admin-theme-color, #3858e9));
3705 3946 flex: 0 0 auto;
3706 3947 opacity: 0;
3707 3948 border-radius: var(--wpds-border-radius-xs, 1px);
3708 3949 }
3709 3950
3951 +.dataforms-layouts-panel__field-trigger-icon::after {
3952 + content: "";
3953 + position: absolute;
3954 + inset: 0;
3955 +}
3956 +
3710 3957 .dataforms-layouts-panel__field-trigger-icon:focus-visible {
3711 3958 opacity: 1;
3712 - outline: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)) solid var(--wp-admin-theme-color);
3959 + 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));
3713 3960 }
3714 3961
3715 3962 .dataforms-layouts-panel__field-dropdown-anchor {
3716 3963 width: 100%;
@@ -3722,14 +3969,14 @@
3722 3969
3723 3970 .dataforms-layouts-panel__field-label {
3724 3971 width: 38%;
3725 3972 flex-shrink: 0;
3726 - min-height: 24px;
3973 + min-height: var(--wpds-dimension-size-sm, 24px);
3727 3974 display: flex;
3728 3975 align-items: center;
3729 - line-height: 20px;
3976 + line-height: var(--wpds-typography-line-height-sm, 20px);
3730 3977 hyphens: auto;
3731 - color: #757575;
3978 + color: var(--wpds-color-foreground-content-neutral-weak, #707070);
3732 3979 }
3733 3980
3734 3981 .dataforms-layouts-panel__field-label .components-base-control__label {
3735 3982 display: inline;
@@ -3737,38 +3984,39 @@
3737 3984 line-height: inherit;
3738 3985 }
3739 3986
3740 3987 .dataforms-layouts-panel__field-label.has-error {
3741 - color: #cc1818;
3988 + color: var(--wpds-color-foreground-content-error-weak, #cc1818);
3742 3989 }
3743 3990
3744 3991 .dataforms-layouts-panel__field-label-error-content {
3745 - position: relative;
3746 - z-index: 1;
3747 - cursor: help;
3748 - fill: #cc1818;
3992 + pointer-events: none;
3993 + color: var(--wpds-color-foreground-content-error-weak, #cc1818);
3749 3994 display: inline-flex;
3750 3995 flex-direction: row;
3751 3996 align-items: center;
3752 - gap: 4px;
3997 + gap: var(--wpds-dimension-gap-xs, 4px);
3753 3998 }
3754 3999
3755 -.dataforms-layouts-panel__field-label-error-content svg {
3756 - fill: currentColor;
3757 -}
3758 -
3759 4000 .dataforms-layouts-panel__field-control {
3760 4001 flex-grow: 1;
3761 4002 min-width: 0;
3762 - min-height: 24px;
4003 + min-height: var(--wpds-dimension-size-sm, 24px);
3763 4004 line-height: var(--wpds-typography-line-height-md, 24px);
3764 4005 display: flex;
3765 4006 align-items: center;
3766 - overflow: hidden;
3767 - word-break: break-word;
3768 - font-weight: var(--wpds-typography-font-weight-medium, 499);
4007 + overflow: clip;
4008 + padding-inline: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px));
4009 + margin-inline: calc(-1 * var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)));
4010 + word-break: normal;
4011 + overflow-wrap: anywhere;
4012 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
3769 4013 }
3770 4014
4015 +.dataforms-layouts-panel__field-control:has(a, button) {
4016 + z-index: 1;
4017 +}
4018 +
3771 4019 .dataforms-layouts-panel__field-control > * {
3772 4020 min-width: 0;
3773 4021 }
3774 4022
@@ -3785,18 +4033,18 @@
3785 4033 grid-column: 2;
3786 4034 }
3787 4035
3788 4036 .dataforms-layouts-panel__field-dropdown .components-popover__content {
3789 - min-width: 256px;
3790 - padding: 16px;
4037 + min-width: 320px;
4038 + padding: var(--wpds-dimension-padding-lg, 16px);
3791 4039 }
3792 4040
3793 4041 .dataforms-layouts-panel__dropdown-header {
3794 - margin-bottom: 16px;
4042 + margin-bottom: var(--wpds-dimension-gap-lg, 16px);
3795 4043 }
3796 4044
3797 4045 .dataforms-layouts-panel__modal-footer {
3798 - margin-top: 16px;
4046 + margin-top: var(--wpds-dimension-gap-lg, 16px);
3799 4047 }
3800 4048
3801 4049 .components-popover.components-dropdown__content.dataforms-layouts-panel__field-dropdown {
3802 4050 z-index: 159990;
@@ -3803,9 +4051,9 @@
3803 4051 }
3804 4052
3805 4053 .dataforms-layouts-regular__field {
3806 4054 width: 100%;
3807 - min-height: 32px;
4055 + min-height: var(--wpds-dimension-size-md, 32px);
3808 4056 justify-content: flex-start !important;
3809 4057 align-items: flex-start !important;
3810 4058 }
3811 4059
@@ -3811,18 +4059,18 @@
3811 4059
3812 4060 .dataforms-layouts-regular__field .components-base-control__label,
3813 4061 .dataforms-layouts-regular__field .components-input-control__label,
3814 4062 .dataforms-layouts-regular__field .components-form-token-field__label {
3815 - color: #1e1e1e;
4063 + color: var(--wpds-color-foreground-content-neutral, #1e1e1e);
3816 4064 }
3817 4065
3818 4066 .dataforms-layouts-regular__field-label {
3819 4067 width: 38%;
3820 4068 flex-shrink: 0;
3821 - min-height: 32px;
4069 + min-height: var(--wpds-dimension-size-md, 32px);
3822 4070 display: flex;
3823 4071 align-items: center;
3824 - line-height: 20px;
4072 + line-height: var(--wpds-typography-line-height-sm, 20px);
3825 4073 hyphens: auto;
3826 4074 }
3827 4075
3828 4076 .dataforms-layouts-regular__field-label--label-position-side {
@@ -3834,9 +4082,9 @@
3834 4082 }
3835 4083
3836 4084 .dataforms-layouts-regular__field-control {
3837 4085 flex-grow: 1;
3838 - min-height: 32px;
4086 + min-height: var(--wpds-dimension-size-md, 32px);
3839 4087 display: flex;
3840 4088 align-items: center;
3841 4089 }
3842 4090
@@ -3852,28 +4100,28 @@
3852 4100 display: contents;
3853 4101 }
3854 4102
3855 4103 .dataforms-layouts-card__field-description {
3856 - color: #757575;
4104 + color: var(--wpds-color-foreground-content-neutral-weak, #707070);
3857 4105 display: block;
3858 - font-size: 13px;
3859 - margin-bottom: 16px;
4106 + font-size: var(--wpds-typography-font-size-md, 13px);
4107 + margin-bottom: var(--wpds-dimension-gap-lg, 16px);
3860 4108 }
3861 4109
3862 4110 .dataforms-layouts-card__field-summary {
3863 4111 display: flex;
3864 4112 flex-direction: row;
3865 - gap: 16px;
4113 + gap: var(--wpds-dimension-gap-lg, 16px);
3866 4114 align-items: center;
3867 4115 }
3868 4116
3869 4117 .dataforms-layouts-details__summary-content {
3870 4118 display: inline-flex;
3871 - min-height: 24px;
4119 + min-height: var(--wpds-dimension-size-sm, 24px);
3872 4120 }
3873 4121
3874 4122 .dataforms-layouts-details__content {
3875 - padding-top: 12px;
4123 + padding-top: var(--wpds-dimension-padding-md, 12px);
3876 4124 }
3877 4125
3878 4126 .dataforms-layouts-row__field-control {
3879 4127 width: 100%;
@@ -3879,10 +4127,10 @@
3879 4127 width: 100%;
3880 4128 }
3881 4129
3882 4130 .dataforms-layouts__wrapper {
3883 - font-family: -apple-system, "system-ui", "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
3884 - font-weight: 400;
4131 + font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
4132 + font-weight: var(--wpds-typography-font-weight-default, 400);
3885 4133 font-size: 13px;
3886 4134 line-height: 20px;
3887 4135 }
3888 4136
@@ -3955,8 +4203,14 @@
3955 4203 /**
3956 4204 * Focus styles.
3957 4205 */
3958 4206 /**
4207 + * Standard focus rings for the WordPress Design System.
4208 + *
4209 + * Apply `outset-ring__focus` inside the relevant pseudo-class at the call site,
4210 + * e.g. `&:focus { @include outset-ring__focus(); }`.
4211 + */
4212 +/**
3959 4213 * Applies editor left position to the selector passed as argument
3960 4214 */
3961 4215 /**
3962 4216 * Styles that are reused verbatim in a few places
@@ -4014,9 +4268,9 @@
4014 4268 padding: 12px;
4015 4269 display: grid;
4016 4270 align-items: center;
4017 4271 grid-template-columns: min-content 1fr min-content;
4018 - grid-gap: 4px 8px;
4272 + gap: 4px 8px;
4019 4273 color: #1e1e1e;
4020 4274 }
4021 4275
4022 4276 .fields-create-template-part-modal__area-radio-wrapper + .fields-create-template-part-modal__area-radio-wrapper {
@@ -4093,9 +4347,8 @@
4093 4347 line-height: 1.5;
4094 4348 }
4095 4349
4096 4350 fieldset.fields__media-edit {
4097 - /* stylelint-disable-next-line property-no-unknown -- '@container' not globally permitted */
4098 4351 container-type: inline-size;
4099 4352 }
4100 4353
4101 4354 fieldset.fields__media-edit .fields__media-edit-compact-group {
@@ -4331,9 +4584,8 @@
4331 4584 }
4332 4585
4333 4586 fieldset.fields__media-edit .fields__media-edit-expanded.is-multiple:not(.is-empty) {
4334 4587 grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
4335 - /* stylelint-disable-next-line property-no-unknown -- '@container' not globally permitted */
4336 4588 }
4337 4589
4338 4590 @container (max-width: 500px) {
4339 4591 fieldset.fields__media-edit .fields__media-edit-expanded.is-multiple:not(.is-empty) {
@@ -4400,18 +4652,15 @@
4400 4652 padding: 0;
4401 4653 margin: 0;
4402 4654 }
4403 4655
4404 -.fields-controls__slug .fields-controls__slug-external-icon {
4405 - margin-right: 5ch;
4406 -}
4407 -
4408 4656 .fields-controls__slug .fields-controls__slug-input input.components-input-control__input {
4409 4657 padding-inline-start: 0 !important;
4410 4658 }
4411 4659
4412 4660 .fields-controls__slug .fields-controls__slug-help-link {
4413 - word-break: break-word;
4661 + word-break: normal;
4662 + overflow-wrap: anywhere;
4414 4663 }
4415 4664
4416 4665 .fields-controls__slug .fields-controls__slug-help {
4417 4666 display: flex;
@@ -4418,9 +4667,9 @@
4418 4667 flex-direction: column;
4419 4668 }
4420 4669
4421 4670 .fields-controls__slug .fields-controls__slug-help .fields-controls__slug-help-slug {
4422 - font-weight: 600;
4671 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
4423 4672 }
4424 4673
4425 4674 .fields-controls__featured-image-image,
4426 4675 .fields-controls__featured-image-placeholder {
@@ -4582,9 +4831,9 @@
4582 4831 border-radius: 2px;
4583 4832 }
4584 4833
4585 4834 .media-editor-preview__file-name {
4586 - font-weight: 600;
4835 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
4587 4836 margin-bottom: 8px;
4588 4837 }
4589 4838
4590 4839 .media-editor-preview__mime-type {
@@ -4608,9 +4857,8 @@
4608 4857 color: #949494;
4609 4858 word-break: break-all;
4610 4859 margin-top: 8px;
4611 4860 }
4612 -
4613 4861 .wp-media-editor-image-editor {
4614 4862 position: relative;
4615 4863 overflow: hidden;
4616 4864 width: 100%;
@@ -4622,9 +4870,11 @@
4622 4870 }
4623 4871
4624 4872 .wp-media-editor-image-editor__canvas {
4625 4873 position: absolute;
4626 - inset: 22px;
4874 + inset: 24px;
4875 + min-height: 100px;
4876 + min-width: 100px;
4627 4877 }
4628 4878
4629 4879 .wp-media-editor-image-editor__canvas:focus {
4630 4880 outline: none;
@@ -4641,9 +4891,9 @@
4641 4891
4642 4892 .wp-media-editor-image-editor__image {
4643 4893 position: absolute;
4644 4894 top: 0;
4645 - right: 0;
4895 + left: 0;
4646 4896 will-change: transform;
4647 4897 transform-origin: center center;
4648 4898 }
4649 4899
@@ -4654,17 +4904,18 @@
4654 4904
4655 4905 .wp-media-editor-image-editor__dimming {
4656 4906 position: absolute;
4657 4907 pointer-events: none;
4658 - /* Large shadow spread dims everything outside the crop area.
4659 - Darker at rest for clear crop framing, lighter during drag
4660 - so the user can see where they're panning. */
4661 - box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.7);
4908 + /* Large shadow spread washes everything outside the crop area
4909 + toward the canvas grey ($gray-200). Slightly stronger at rest
4910 + for clear crop framing, lighter during drag so the user can see
4911 + where they're panning. */
4912 + box-shadow: 0 0 0 9999px rgba(224, 224, 224, 0.6);
4662 4913 transition: box-shadow 0.15s ease;
4663 4914 }
4664 4915
4665 4916 .wp-media-editor-image-editor--dragging .wp-media-editor-image-editor__dimming {
4666 - box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.5);
4917 + box-shadow: 0 0 0 9999px rgba(224, 224, 224, 0.4);
4667 4918 }
4668 4919
4669 4920 .wp-media-editor-image-editor__grid {
4670 4921 position: absolute;
@@ -4693,9 +4944,9 @@
4693 4944 background: rgba(255, 255, 255, 0.4);
4694 4945 }
4695 4946
4696 4947 .wp-media-editor-image-editor__grid-line--horizontal {
4697 - right: 0;
4948 + left: 0;
4698 4949 width: 100%;
4699 4950 height: 1px;
4700 4951 }
4701 4952
@@ -4704,17 +4955,31 @@
4704 4955 height: 100%;
4705 4956 width: 1px;
4706 4957 }
4707 4958
4959 +.wp-media-editor-image-editor__dimensions-tooltip {
4960 + position: absolute;
4961 + padding: 2px 6px;
4962 + background: #fff;
4963 + color: #1e1e1e;
4964 + font-size: 11px;
4965 + line-height: 1.4;
4966 + font-variant-numeric: tabular-nums;
4967 + box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.08);
4968 + pointer-events: none;
4969 + white-space: nowrap;
4970 + z-index: 2;
4971 +}
4972 +
4708 4973 .wp-media-editor-image-editor__stencil-rect {
4709 4974 position: absolute;
4710 - border: 1px solid rgba(255, 255, 255, 0.7);
4975 + border: 1px solid #1e1e1e;
4711 4976 box-sizing: border-box;
4712 4977 pointer-events: none;
4713 4978 transition: border-color 0.15s ease, box-shadow 0.15s ease;
4714 4979 }
4715 4980
4716 -.wp-media-editor-image-editor__canvas--focus-visible .wp-media-editor-image-editor__stencil-rect {
4981 +.wp-media-editor-image-editor__canvas--focus-visible:focus .wp-media-editor-image-editor__stencil-rect {
4717 4982 border-color: var(--wp-image-editor-focus-color, var(--wp-admin-theme-color, #007cba));
4718 4983 box-shadow: 0 0 0 1px var(--wp-image-editor-focus-color, var(--wp-admin-theme-color, #007cba));
4719 4984 }
4720 4985
@@ -4726,10 +4991,10 @@
4726 4991 cursor: default;
4727 4992 position: absolute;
4728 4993 width: 12px;
4729 4994 height: 12px;
4730 - background: rgba(255, 255, 255, 0.6);
4731 - border: 1px solid rgba(255, 255, 255, 0.9);
4995 + background: #fff;
4996 + border: 1px solid var(--wp-admin-theme-color, #007cba);
4732 4997 border-radius: 50%;
4733 4998 box-sizing: border-box;
4734 4999 pointer-events: auto;
4735 5000 transition: background-color 0.15s ease, box-shadow 0.15s ease;
@@ -4738,9 +5003,9 @@
4738 5003 .wp-media-editor-image-editor__handle:focus {
4739 5004 outline: none;
4740 5005 }
4741 5006
4742 -.wp-media-editor-image-editor__handle:focus-visible {
5007 +.wp-media-editor-image-editor__canvas--focus-visible .wp-media-editor-image-editor__handle:focus {
4743 5008 background: var(--wp-image-editor-focus-color, var(--wp-admin-theme-color, #007cba));
4744 5009 border-color: transparent;
4745 5010 box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--wp-image-editor-focus-color, var(--wp-admin-theme-color, #007cba));
4746 5011 }
@@ -4748,12 +5013,12 @@
4748 5013 .wp-media-editor-image-editor__handle::before {
4749 5014 content: "";
4750 5015 position: absolute;
4751 5016 top: 50%;
4752 - right: 50%;
5017 + left: 50%;
4753 5018 width: 44px;
4754 5019 height: 44px;
4755 - transform: translate(50%, -50%);
5020 + transform: translate(-50%, -50%);
4756 5021 }
4757 5022
4758 5023 .wp-media-editor-image-editor__handle {
4759 5024 /* Offset by half the handle width (12px / 2 = 6px) to center on crop edge */
@@ -4760,23 +5025,23 @@
4760 5025 }
4761 5026
4762 5027 .wp-media-editor-image-editor__handle--n {
4763 5028 top: -6px;
4764 - right: 50%;
4765 - margin-right: -6px;
5029 + left: 50%;
5030 + margin-left: -6px;
4766 5031 cursor: ns-resize;
4767 5032 }
4768 5033
4769 5034 .wp-media-editor-image-editor__handle--s {
4770 5035 bottom: -6px;
4771 - right: 50%;
4772 - margin-right: -6px;
5036 + left: 50%;
5037 + margin-left: -6px;
4773 5038 cursor: ns-resize;
4774 5039 }
4775 5040
4776 5041 .wp-media-editor-image-editor__handle--e {
4777 5042 top: 50%;
4778 - left: -6px;
5043 + right: -6px;
4779 5044 margin-top: -6px;
4780 5045 cursor: ew-resize;
4781 5046 }
4782 5047
@@ -4781,9 +5046,9 @@
4781 5046 }
4782 5047
4783 5048 .wp-media-editor-image-editor__handle--w {
4784 5049 top: 50%;
4785 - right: -6px;
5050 + left: -6px;
4786 5051 margin-top: -6px;
4787 5052 cursor: ew-resize;
4788 5053 }
4789 5054
@@ -4788,35 +5053,34 @@
4788 5053 }
4789 5054
4790 5055 .wp-media-editor-image-editor__handle--nw {
4791 5056 top: -6px;
4792 - right: -6px;
4793 - cursor: nesw-resize;
5057 + left: -6px;
5058 + cursor: nwse-resize;
4794 5059 }
4795 5060
4796 5061 .wp-media-editor-image-editor__handle--ne {
4797 5062 top: -6px;
4798 - left: -6px;
4799 - cursor: nwse-resize;
5063 + right: -6px;
5064 + cursor: nesw-resize;
4800 5065 }
4801 5066
4802 5067 .wp-media-editor-image-editor__handle--sw {
4803 5068 bottom: -6px;
4804 - right: -6px;
4805 - cursor: nwse-resize;
5069 + left: -6px;
5070 + cursor: nesw-resize;
4806 5071 }
4807 5072
4808 5073 .wp-media-editor-image-editor__handle--se {
4809 5074 bottom: -6px;
4810 - left: -6px;
4811 - cursor: nesw-resize;
5075 + right: -6px;
5076 + cursor: nwse-resize;
4812 5077 }
4813 -
4814 5078 /**
4815 - * Typography
5079 + * Breakpoints & Media Queries
4816 5080 */
4817 5081 /**
4818 - * Breakpoints & Media Queries
5082 + * Typography
4819 5083 */
4820 5084 /**
4821 5085 * Converts a hex value into the rgb equivalent.
4822 5086 *
@@ -4835,8 +5099,14 @@
4835 5099 /**
4836 5100 * Focus styles.
4837 5101 */
4838 5102 /**
5103 + * Standard focus rings for the WordPress Design System.
5104 + *
5105 + * Apply `outset-ring__focus` inside the relevant pseudo-class at the call site,
5106 + * e.g. `&:focus { @include outset-ring__focus(); }`.
5107 + */
5108 +/**
4839 5109 * Applies editor left position to the selector passed as argument
4840 5110 */
4841 5111 /**
4842 5112 * Styles that are reused verbatim in a few places
@@ -4869,49 +5139,74 @@
4869 5139 align-items: center;
4870 5140 justify-content: center;
4871 5141 }
4872 5142
4873 -.media-editor .interface-interface-skeleton {
4874 - position: relative;
4875 - top: auto;
4876 - left: auto;
4877 - bottom: auto;
4878 - right: auto;
4879 - height: 100%;
4880 - max-height: none;
5143 +.media-editor .media-editor__body {
5144 + container-type: inline-size;
5145 + container-name: media-editor-body;
5146 + display: flex;
4881 5147 flex: 1;
5148 + min-height: 0;
5149 +}
5150 +
5151 +.media-editor .media-editor__content {
5152 + display: flex;
5153 + flex: 1;
4882 5154 flex-direction: column;
5155 + min-width: 0;
5156 + min-height: 0;
5157 + margin: 24px 24px 8px 24px;
4883 5158 }
4884 5159
4885 -.media-editor .interface-interface-skeleton__editor {
4886 - min-width: 0;
4887 - flex: 1;
5160 +@media (min-width: 600px) {
5161 + .media-editor .media-editor__content {
5162 + margin: 0 24px;
5163 + }
4888 5164 }
5165 +@container media-editor-body (min-width: 864px) {
5166 + .media-editor .media-editor__content {
5167 + min-width: 520px;
5168 + }
5169 +}
5170 +.media-editor .media-editor__canvas-toolbar {
5171 + display: flex;
5172 + flex: 0 0 auto;
5173 + flex-direction: column;
5174 + align-items: center;
5175 + gap: 12px;
5176 +}
4889 5177
4890 -.media-editor .interface-interface-skeleton__footer {
4891 - position: relative;
5178 +.media-editor .media-editor__canvas-toolbar .media-editor-fine-rotation {
4892 5179 display: flex;
5180 + justify-content: center;
5181 + align-self: stretch;
5182 + background: #e0e0e0;
5183 + border-radius: 0 0 8px 8px;
5184 + padding: 8px 16px;
4893 5185 }
4894 5186
4895 -.media-editor .interface-interface-skeleton.has-footer .interface-interface-skeleton__body {
4896 - padding-bottom: 0;
5187 +.media-editor .media-editor__canvas-toolbar .media-editor-fine-rotation .rotation-ruler {
5188 + flex: 0 1 360px;
5189 + min-width: 0;
4897 5190 }
4898 5191
4899 -.media-editor .media-editor__canvas {
5192 +.media-editor .media-editor__canvas-area {
4900 5193 display: flex;
4901 5194 align-items: center;
4902 5195 justify-content: center;
4903 - background: #f0f0f0;
5196 + background: #e0e0e0;
5197 + border-radius: 8px;
4904 5198 overflow: auto;
4905 - height: 100%;
5199 + flex: 1;
5200 + min-height: 0;
4906 5201 }
4907 5202
4908 -.media-editor .media-editor__canvas .media-editor-preview {
5203 +.media-editor .media-editor__canvas-area .media-editor-preview {
4909 5204 height: 100%;
4910 5205 }
4911 5206
4912 -.media-editor .media-editor__canvas img,
4913 -.media-editor .media-editor__canvas video {
5207 +.media-editor .media-editor__canvas-area img,
5208 +.media-editor .media-editor__canvas-area video {
4914 5209 max-width: 100%;
4915 5210 max-height: 100%;
4916 5211 object-fit: contain;
4917 5212 }
@@ -4916,38 +5211,62 @@
4916 5211 object-fit: contain;
4917 5212 }
4918 5213
4919 5214 .media-editor .media-editor__sidebar {
4920 - box-sizing: border-box;
5215 + display: flex;
5216 + flex: 1;
5217 + flex-direction: column;
5218 + min-width: 0;
5219 + min-height: 0;
5220 + overflow: hidden;
4921 5221 }
4922 5222
4923 -.media-editor .media-editor__sidebar *,
4924 -.media-editor .media-editor__sidebar *::before,
4925 -.media-editor .media-editor__sidebar *::after {
4926 - box-sizing: inherit;
5223 +@media (min-width: 600px) {
5224 + .media-editor .media-editor__sidebar {
5225 + flex: none;
5226 + width: var(--wpds-dimension-surface-width-sm, 320px);
5227 + }
4927 5228 }
5229 +.media-editor .media-editor__tabs {
5230 + display: flex;
5231 + flex: 1;
5232 + flex-direction: column;
5233 + min-height: 0;
5234 +}
4928 5235
5236 +.media-editor .media-editor__tablist {
5237 + flex-shrink: 0;
5238 + margin-inline: 24px;
5239 + background: #fff;
5240 + border-bottom: 1px solid #ddd;
5241 +}
5242 +
4929 5243 .media-editor .media-editor__panel {
4930 - padding: 16px;
5244 + flex: 1;
5245 + min-height: 0;
5246 + overflow-y: auto;
5247 + padding-block: 24px;
5248 + padding-inline: 24px;
4931 5249 }
4932 5250
4933 -.media-editor .components-panel__header.media-editor__sidebar-header {
4934 - padding-right: 0;
4935 - padding-left: 8px;
5251 +.media-editor .media-editor__content:has(.media-editor-fine-rotation) .media-editor__canvas-area {
5252 + border-end-start-radius: 0;
5253 + border-end-end-radius: 0;
4936 5254 }
4937 5255
4938 -.media-editor .components-panel__header.media-editor__sidebar-header .components-button.has-icon {
4939 - padding: 0;
5256 +.media-editor .media-editor__body.has-panel-open .media-editor__content {
5257 + display: none;
4940 5258 }
4941 5259
4942 -@media (min-width: 782px) {
4943 - .media-editor .components-panel__header.media-editor__sidebar-header .components-button.has-icon {
5260 +@media (min-width: 600px) {
5261 + .media-editor .media-editor__body.has-panel-open .media-editor__content {
4944 5262 display: flex;
5263 + margin: 0 24px 0 0;
4945 5264 }
4946 5265 }
4947 5266 .media-editor__snackbar {
4948 5267 position: fixed;
4949 - bottom: 24px;
5268 + bottom: var(--wpds-dimension-size-md, 32px);
4950 5269 right: 0;
4951 5270 left: 0;
4952 5271 padding-inline: 16px;
4953 5272 box-sizing: border-box;
@@ -4959,8 +5278,12 @@
4959 5278 .media-editor__snackbar .components-snackbar {
4960 5279 margin-inline: auto;
4961 5280 }
4962 5281
5282 +.media-editor-form .dataforms-layouts-panel__field-control {
5283 + text-wrap: pretty;
5284 +}
5285 +
4963 5286 .media-editor-modal.components-modal__frame .components-modal__content {
4964 5287 padding: 0;
4965 5288 margin-bottom: 0;
4966 5289 display: flex;
@@ -4974,8 +5297,26 @@
4974 5297 flex-direction: column;
4975 5298 min-height: 0;
4976 5299 }
4977 5300
5301 +.media-editor-modal.components-modal__frame .media-editor-modal__footer {
5302 + flex-shrink: 0;
5303 + display: flex;
5304 + flex-direction: row;
5305 + align-items: center;
5306 + gap: 16px;
5307 + padding: 24px;
5308 + background: #fff;
5309 +}
5310 +
5311 +.media-editor-modal.components-modal__frame .media-editor-modal__footer .media-editor__save-actions {
5312 + margin-right: auto;
5313 +}
5314 +
5315 +.media-editor-modal .media-editor__history-actions .components-button.has-icon:not([aria-disabled=true]) {
5316 + color: var(--wp-admin-theme-color);
5317 +}
5318 +
4978 5319 .media-editor-modal {
4979 5320 display: flex;
4980 5321 flex-direction: column;
4981 5322 }
@@ -4981,9 +5322,9 @@
4981 5322 }
4982 5323
4983 5324 .media-editor-modal__snackbar {
4984 5325 position: fixed;
4985 - bottom: 24px;
5326 + bottom: var(--wpds-dimension-size-md, 32px);
4986 5327 right: 0;
4987 5328 left: 0;
4988 5329 padding-inline: 16px;
4989 5330 box-sizing: border-box;
@@ -5005,42 +5346,88 @@
5005 5346 width: 100%;
5006 5347 height: 100%;
5007 5348 }
5008 5349
5009 -.media-editor-toolbar {
5350 +.media-editor-canvas__cropper {
5010 5351 width: 100%;
5011 - padding: 8px 16px;
5352 + height: 100%;
5353 + opacity: 0;
5354 + pointer-events: none;
5012 5355 }
5013 5356
5014 -.media-editor-toolbar__rotation-slider {
5015 - flex: 1 1 280px;
5016 - min-width: 0;
5017 - max-width: 360px;
5357 +.media-editor-canvas__cropper.is-loaded {
5358 + opacity: 1;
5359 + pointer-events: auto;
5018 5360 }
5019 5361
5020 -.media-editor-toolbar__action-cluster {
5362 +@keyframes __wp-base-styles-fade-in {
5363 + from {
5364 + opacity: 0;
5365 + }
5366 + to {
5367 + opacity: 1;
5368 + }
5369 +}
5370 +@media not (prefers-reduced-motion) {
5371 + .media-editor-canvas__cropper.is-loaded {
5372 + animation: __wp-base-styles-fade-in 0.2s linear 0s;
5373 + animation-fill-mode: forwards;
5374 + }
5375 +}
5376 +.media-editor-canvas__spinner {
5377 + position: absolute;
5378 + top: 50%;
5379 + right: 50%;
5380 + transform: translate(50%, -50%);
5381 +}
5382 +
5383 +.media-editor-canvas__error {
5021 5384 display: flex;
5385 + align-items: center;
5386 + justify-content: center;
5387 + width: 100%;
5388 + height: 100%;
5389 + color: #757575;
5390 + text-align: center;
5391 +}
5392 +
5393 +.media-editor-image-controls {
5394 + display: flex;
5022 5395 flex-wrap: nowrap;
5023 5396 align-items: center;
5024 5397 gap: 8px;
5025 5398 }
5026 5399
5027 -@media (min-width: 782px) {
5028 - .media-editor-toolbar__action-cluster {
5029 - border-right: 1px solid #ddd;
5030 - padding-right: 12px;
5031 - }
5400 +.media-editor-image-controls.is-stacked {
5401 + flex-direction: column;
5402 + align-items: flex-start;
5403 + gap: 24px;
5032 5404 }
5033 -@media (max-width: 781px) {
5034 - .media-editor-toolbar__rotation-slider {
5035 - flex-basis: 100%;
5036 - max-width: none;
5037 - }
5038 - .media-editor-toolbar__action-cluster {
5039 - flex-basis: 100%;
5040 - justify-content: center;
5041 - }
5405 +
5406 +.media-editor-image-controls__transforms {
5407 + display: flex;
5408 + gap: 48px;
5042 5409 }
5410 +
5411 +.media-editor-image-controls__group {
5412 + display: flex;
5413 + flex-direction: column;
5414 + gap: 4px;
5415 +}
5416 +
5417 +.media-editor-image-controls__label {
5418 + font-size: 11px;
5419 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
5420 + line-height: 1.4;
5421 + text-transform: uppercase;
5422 +}
5423 +
5424 +.media-editor-image-controls__buttons {
5425 + display: flex;
5426 + gap: 8px;
5427 + padding-inline: 2px 0;
5428 +}
5429 +
5043 5430 .media-editor-keyboard-shortcuts-modal {
5044 5431 min-width: 280px;
5045 5432 }
5046 5433
@@ -5074,9 +5461,9 @@
5074 5461 }
5075 5462
5076 5463 .media-editor-keyboard-shortcuts-modal .media-editor-keyboard-shortcuts-modal__shortcut-term {
5077 5464 background: none;
5078 - font-weight: 600;
5465 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
5079 5466 margin: 0 1rem 0 0;
5080 5467 padding: 0;
5081 5468 text-align: left;
5082 5469 }
@@ -5097,13 +5484,14 @@
5097 5484 height: 32px;
5098 5485 padding: 0 8px;
5099 5486 box-sizing: border-box;
5100 5487 color: #1e1e1e;
5101 - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
5488 + font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
5102 5489 -webkit-user-select: none;
5103 5490 user-select: none;
5104 5491 touch-action: none;
5105 5492 cursor: ew-resize;
5493 + direction: ltr;
5106 5494 container-type: inline-size;
5107 5495 }
5108 5496
5109 5497 .rotation-ruler[data-disabled] {
@@ -5124,9 +5512,9 @@
5124 5512 height: 1px;
5125 5513 margin: -1px;
5126 5514 padding: 0;
5127 5515 border: 0;
5128 - clip: rect(0 0 0 0);
5516 + clip-path: inset(50%);
5129 5517 overflow: hidden;
5130 5518 white-space: nowrap;
5131 5519 }
5132 5520
@@ -5133,13 +5521,12 @@
5133 5521 .rotation-ruler__pointer {
5134 5522 position: absolute;
5135 5523 bottom: 0;
5136 5524 right: 50%;
5137 - width: 0;
5138 - height: 0;
5139 - border-right: 6px solid transparent;
5140 - border-left: 6px solid transparent;
5141 - border-bottom: 9px solid var(--wp-admin-theme-color, #3858e9);
5525 + width: 2px;
5526 + height: 18px;
5527 + background: var(--wp-admin-theme-color, #3858e9);
5528 + border-radius: 1px;
5142 5529 transform: translateX(50%);
5143 5530 pointer-events: none;
5144 5531 }
5145 5532
@@ -5152,9 +5539,9 @@
5152 5539 }
5153 5540
5154 5541 .rotation-ruler__ticks {
5155 5542 position: absolute;
5156 - right: 50%;
5543 + left: 50%;
5157 5544 top: 0;
5158 5545 display: block;
5159 5546 overflow: visible;
5160 5547 }
@@ -5188,17 +5575,43 @@
5188 5575 top: 0;
5189 5576 right: 50%;
5190 5577 height: 14px;
5191 5578 transform: translateX(50%);
5192 - padding: 0 12px;
5193 5579 font-size: 12px;
5194 - font-weight: 600;
5580 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
5195 5581 line-height: 14px;
5196 5582 color: #1e1e1e;
5197 - background: linear-gradient(to left, transparent 0, #fff 12px, #fff calc(100% - 12px), transparent 100%);
5198 5583 pointer-events: none;
5199 5584 }
5200 5585
5586 +.rotation-ruler__active-label::before {
5587 + content: "";
5588 + position: absolute;
5589 + top: 0;
5590 + right: 50%;
5591 + width: 60px;
5592 + height: 100%;
5593 + transform: translateX(50%);
5594 + background: linear-gradient(to left, transparent 0, #e0e0e0 12px, #e0e0e0 calc(100% - 12px), transparent 100%);
5595 +}
5596 +
5597 +.rotation-ruler__active-label-number {
5598 + position: relative;
5599 + display: inline-block;
5600 +}
5601 +
5602 +.rotation-ruler__active-label-sign {
5603 + position: absolute;
5604 + top: 0;
5605 + right: 100%;
5606 +}
5607 +
5608 +.rotation-ruler__active-label-unit {
5609 + position: absolute;
5610 + top: 0;
5611 + left: 100%;
5612 +}
5613 +
5201 5614 @container (max-width: 220px) {
5202 5615 .rotation-ruler__tick--minor {
5203 5616 opacity: 0;
5204 5617 }
@@ -5214,9 +5627,9 @@
5214 5627 }
5215 5628
5216 5629 .editor-autocompleters__user .editor-autocompleters__no-avatar::before {
5217 5630 /* stylelint-disable-next-line font-family-no-missing-generic-family-keyword -- dashicons don't need a generic family keyword. */
5218 - font: normal 20px/1 dashicons;
5631 + font: 400 20px/1 dashicons;
5219 5632 content: "\f110";
5220 5633 margin-left: 5px;
5221 5634 vertical-align: middle;
5222 5635 }
@@ -5239,9 +5652,9 @@
5239 5652 .editor-autocompleters__user .editor-autocompleters__user-slug {
5240 5653 margin-right: 8px;
5241 5654 white-space: nowrap;
5242 5655 text-overflow: ellipsis;
5243 - overflow: none;
5656 + overflow: hidden;
5244 5657 max-width: 100px;
5245 5658 flex-grow: 0;
5246 5659 flex-shrink: 0;
5247 5660 }
@@ -5251,9 +5664,10 @@
5251 5664
5252 5665 .interface-interface-skeleton__sidebar:has(.editor-collab-sidebar) {
5253 5666 box-shadow: none;
5254 5667 }
5255 -.interface-interface-skeleton__sidebar:has(.editor-collab-sidebar) .interface-complementary-area-header {
5668 +
5669 +.editor-collab-sidebar__header {
5256 5670 display: none;
5257 5671 }
5258 5672
5259 5673 .editor-collab-sidebar {
@@ -5265,11 +5679,13 @@
5265 5679 position: relative;
5266 5680 padding: 16px 16px 24px;
5267 5681 height: 100%;
5268 5682 overflow: hidden;
5683 + border-right: 1px solid color-mix(in srgb, currentColor 10%, transparent);
5269 5684 }
5270 5685
5271 -.editor-collab-sidebar-panel__thread {
5686 +.editor-collab-sidebar-panel__thread,
5687 +.editor-collab-sidebar-panel__add-note {
5272 5688 position: relative;
5273 5689 padding: 16px;
5274 5690 border-radius: 8px;
5275 5691 border: 1px solid #ddd;
@@ -5276,18 +5692,21 @@
5276 5692 background-color: #f0f0f0;
5277 5693 overflow: hidden;
5278 5694 width: auto;
5279 5695 }
5280 -.editor-collab-sidebar-panel__thread.is-selected {
5696 +.editor-collab-sidebar-panel__thread.is-selected,
5697 +.editor-collab-sidebar-panel__add-note.is-selected {
5281 5698 background-color: #fff;
5282 5699 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);
5283 5700 z-index: 1;
5284 5701 }
5285 -.editor-collab-sidebar-panel__thread:focus {
5702 +.editor-collab-sidebar-panel__thread:focus,
5703 +.editor-collab-sidebar-panel__add-note:focus {
5286 5704 outline: var(--wp-admin-border-width-focus) solid var(--wp-admin-theme-color);
5287 5705 outline-offset: calc(-1 * var(--wp-admin-border-width-focus));
5288 5706 }
5289 -.editor-collab-sidebar-panel__thread.is-floating {
5707 +.editor-collab-sidebar-panel__thread.is-floating,
5708 +.editor-collab-sidebar-panel__add-note.is-floating {
5290 5709 right: 16px;
5291 5710 left: 16px;
5292 5711 position: absolute;
5293 5712 margin-top: 16px;
@@ -5296,8 +5715,12 @@
5296 5715 max-height: calc(100dvh - var(--wp-admin--admin-bar--height, 0px) - 128px);
5297 5716 overflow-y: auto;
5298 5717 }
5299 5718
5719 +.editor-collab-sidebar-panel__user-info {
5720 + flex: 1;
5721 +}
5722 +
5300 5723 .editor-collab-sidebar-panel__user-name {
5301 5724 font-size: 12px;
5302 5725 font-weight: 400;
5303 5726 line-height: 16px;
@@ -5302,9 +5725,9 @@
5302 5725 font-weight: 400;
5303 5726 line-height: 16px;
5304 5727 text-align: right;
5305 5728 color: #757575;
5306 - text-transform: capitalize;
5729 + overflow-wrap: anywhere;
5307 5730 }
5308 5731
5309 5732 .editor-collab-sidebar-panel__user-time {
5310 5733 font-size: 12px;
@@ -5313,11 +5736,30 @@
5313 5736 text-align: right;
5314 5737 color: #757575;
5315 5738 }
5316 5739
5740 +.editor-collab-sidebar-panel__show-more-button {
5741 + width: fit-content;
5742 + color: var(--wpds-color-foreground-interactive-brand, var(--wp-admin-theme-color, #3858e9));
5743 + cursor: var(--wpds-cursor-control, pointer);
5744 +}
5745 +.editor-collab-sidebar-panel__show-more-button:hover, .editor-collab-sidebar-panel__show-more-button:focus, .editor-collab-sidebar-panel__show-more-button:active {
5746 + color: var(--wpds-color-foreground-interactive-brand-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 52%, black));
5747 +}
5748 +
5749 +.editor-collab-sidebar-panel__note-content {
5750 + overflow-wrap: break-word;
5751 +}
5317 5752 .editor-collab-sidebar-panel__note-content p:last-child {
5318 5753 margin-bottom: 0;
5319 5754 }
5755 +.editor-collab-sidebar-panel__note-content.is-collapsed {
5756 + -webkit-line-clamp: 3;
5757 + line-clamp: 3;
5758 + display: -webkit-box;
5759 + -webkit-box-orient: vertical;
5760 + overflow: hidden;
5761 +}
5320 5762
5321 5763 .editor-collab-sidebar-panel__user-avatar {
5322 5764 border-radius: 50%;
5323 5765 flex-shrink: 0;
@@ -5337,23 +5779,23 @@
5337 5779 height: 24px;
5338 5780 flex-shrink: 0;
5339 5781 }
5340 5782
5341 -.editor-collab-sidebar-panel__more-reply-separator::before, .editor-collab-sidebar-panel__more-reply-separator::after {
5783 +.editor-collab-sidebar-panel__more-reply-separator::before, .editor-collab-sidebar-panel__more-reply-separator::after,
5784 +.editor-collab-sidebar-panel__status-separator::before,
5785 +.editor-collab-sidebar-panel__status-separator::after {
5342 5786 content: "";
5343 - display: block;
5344 - width: 100%;
5787 + flex: 1;
5345 5788 height: 1px;
5346 5789 background-color: #ddd;
5347 - flex: 1;
5348 5790 }
5349 5791
5350 5792 .editor-collab-sidebar-panel__more-reply-button {
5351 - font-weight: 499;
5793 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
5352 5794 }
5353 5795
5354 5796 .editor-collab-sidebar-panel__deleted-block-notice {
5355 - font-weight: 499;
5797 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
5356 5798 color: #757575;
5357 5799 }
5358 5800
5359 5801 .editor-collab-sidebar-panel__resolution-text {
@@ -5359,44 +5801,26 @@
5359 5801 .editor-collab-sidebar-panel__resolution-text {
5360 5802 font-style: italic;
5361 5803 }
5362 5804
5363 -.editor-collab-sidebar-panel__note-form textarea {
5364 - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
5365 - padding: 6px 8px;
5366 - /* Fonts smaller than 16px causes mobile safari to zoom. */
5367 - font-size: 16px;
5368 - /* Override core line-height. To be reviewed. */
5369 - line-height: normal;
5370 - box-shadow: 0 0 0 transparent;
5805 +.editor-collab-sidebar-panel__note-form [role=textbox] {
5806 + line-height: 20px;
5807 + max-height: 418px;
5808 + overflow-y: auto;
5809 + white-space: pre-wrap;
5810 + overflow-wrap: break-word;
5811 +}
5812 +.editor-collab-sidebar-panel__note-form [role=textbox] code {
5813 + font-family: Menlo, Consolas, monaco, monospace;
5814 + font-size: 0.9em;
5815 + padding: 0 2px;
5816 + background: #f0f0f0;
5371 5817 border-radius: 2px;
5372 - border: 1px solid #949494;
5373 5818 }
5374 -@media not (prefers-reduced-motion) {
5375 - .editor-collab-sidebar-panel__note-form textarea {
5376 - transition: box-shadow 0.1s linear;
5377 - }
5819 +.editor-collab-sidebar-panel__note-form [role=textbox] a {
5820 + color: var(--wp-admin-theme-color);
5821 + text-decoration: underline;
5378 5822 }
5379 -@media (min-width: 600px) {
5380 - .editor-collab-sidebar-panel__note-form textarea {
5381 - font-size: 13px;
5382 - /* Override core line-height. To be reviewed. */
5383 - line-height: normal;
5384 - }
5385 -}
5386 -.editor-collab-sidebar-panel__note-form textarea:focus {
5387 - border-color: var(--wp-admin-theme-color);
5388 - box-shadow: 0 0 0 0.5px var(--wp-admin-theme-color);
5389 - outline: 2px solid transparent;
5390 -}
5391 -.editor-collab-sidebar-panel__note-form textarea::placeholder {
5392 - color: rgba(30, 30, 30, 0.62);
5393 -}
5394 -.editor-collab-sidebar-panel__note-form textarea {
5395 - padding: 9px 11px;
5396 - line-height: 20px !important;
5397 - display: block;
5398 -}
5399 5823
5400 5824 .editor-collab-sidebar-panel__skip-to-note,
5401 5825 .editor-collab-sidebar-panel__skip-to-block {
5402 5826 position: absolute;
@@ -5438,9 +5862,9 @@
5438 5862 margin-right: 0;
5439 5863 }
5440 5864
5441 5865 .editor-note-indicator__overflow {
5442 - font-weight: 499;
5866 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
5443 5867 }
5444 5868
5445 5869 .show-icon-labels .editor-note-indicator {
5446 5870 width: auto;
@@ -5452,8 +5876,36 @@
5452 5876 content: attr(aria-label);
5453 5877 font-size: 12px;
5454 5878 }
5455 5879
5880 +mark.wp-note {
5881 + border-radius: 1px;
5882 + transition: background-color 0.1s ease-in-out;
5883 +}
5884 +
5885 +.wp-note-mention {
5886 + display: inline;
5887 + padding: 0 var(--wpds-dimension-padding-xs, 4px);
5888 + border-radius: var(--wpds-border-radius-sm, 2px);
5889 + background: var(--wpds-color-background-surface-brand, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 9%, white));
5890 + color: var(--wpds-color-foreground-interactive-brand, var(--wp-admin-theme-color, #3858e9));
5891 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
5892 +}
5893 +@media (forced-colors: active) {
5894 + .wp-note-mention {
5895 + border: 1px solid;
5896 + }
5897 +}
5898 +
5899 +.editor-collab-sidebar-panel__mention-suggestion .editor-autocompleters__user-avatar {
5900 + border-radius: 50%;
5901 +}
5902 +
5903 +.editor-rich-text-control [data-rich-text-placeholder]::after {
5904 + content: attr(data-rich-text-placeholder);
5905 + color: color-mix(in srgb, currentColor, transparent 38%);
5906 +}
5907 +
5456 5908 .editor-avatar {
5457 5909 position: relative;
5458 5910 display: inline-flex;
5459 5911 align-items: center;
@@ -5511,9 +5963,9 @@
5511 5963 display: flex;
5512 5964 align-items: center;
5513 5965 justify-content: center;
5514 5966 font-size: 11px;
5515 - font-weight: 499;
5967 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
5516 5968 border: 0;
5517 5969 background-clip: border-box;
5518 5970 }
5519 5971 .editor-avatar:not(.has-src) > .editor-avatar__image::after {
@@ -5525,9 +5977,9 @@
5525 5977 }
5526 5978
5527 5979 .editor-avatar__name {
5528 5980 font-size: 13px;
5529 - font-weight: 499;
5981 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
5530 5982 line-height: 20px;
5531 5983 color: var(--editor-avatar-name-color, #fff);
5532 5984 min-width: 0;
5533 5985 padding-bottom: 2px;
@@ -5668,9 +6120,9 @@
5668 6120 padding: 8px 16px;
5669 6121 }
5670 6122 .editor-collaborators-presence__list.components-popover .editor-collaborators-presence__list-header-title {
5671 6123 font-size: 13px;
5672 - font-weight: 499;
6124 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
5673 6125 line-height: 20px;
5674 6126 display: flex;
5675 6127 gap: 4px;
5676 6128 }
@@ -5722,9 +6174,9 @@
5722 6174 min-width: 0;
5723 6175 }
5724 6176 .editor-collaborators-presence__list.components-popover .editor-collaborators-presence__list-item-name {
5725 6177 font-size: 13px;
5726 - font-weight: 499;
6178 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
5727 6179 line-height: 20px;
5728 6180 color: #1e1e1e;
5729 6181 overflow: hidden;
5730 6182 text-overflow: ellipsis;
@@ -5737,41 +6189,25 @@
5737 6189 flex-shrink: 0;
5738 6190 height: 32px;
5739 6191 background: #f0f0f0;
5740 6192 border-radius: 4px;
5741 - margin-left: 8px;
5742 6193 }
5743 -.editor-collaborators-presence:hover {
6194 +.editor-collaborators-presence:hover, .editor-collaborators-presence:has(.is-pressed) {
5744 6195 background-color: #e0e0e0;
5745 6196 }
5746 -.editor-collaborators-presence:has(.is-pressed) {
5747 - background-color: #e0e0e0;
6197 +
6198 +.editor-header__center .editor-collaborators-presence {
6199 + margin-left: 8px;
5748 6200 }
5749 6201
5750 -.editor-collaborators-presence__button.editor-collaborators-presence__button.components-button {
5751 - display: flex;
5752 - align-items: center;
5753 - cursor: var(--wpds-cursor-control, pointer);
6202 +.editor-collaborators-presence__button.editor-collaborators-presence__button {
5754 6203 position: relative;
5755 6204 padding: 4px;
5756 - border-radius: 4px;
5757 - height: 100%;
5758 - box-sizing: border-box;
5759 - color: #2f2f2f;
5760 - background: transparent;
5761 6205 }
5762 -.editor-collaborators-presence__button.editor-collaborators-presence__button.components-button:hover {
6206 +.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 {
5763 6207 background: transparent;
5764 6208 color: #2f2f2f;
5765 6209 }
5766 -.editor-collaborators-presence__button.editor-collaborators-presence__button.components-button.is-pressed, .editor-collaborators-presence__button.editor-collaborators-presence__button.components-button.is-pressed:hover {
5767 - background: transparent;
5768 - color: #2f2f2f;
5769 -}
5770 -.editor-collaborators-presence__button.editor-collaborators-presence__button.components-button:focus:not(:active) {
5771 - box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus, 2px) var(--wp-admin-theme-color, #007cba);
5772 - outline: none;
5773 -}
5774 6210
5775 6211 .editor-collapsible-block-toolbar {
5776 6212 overflow: hidden;
5777 6213 display: flex;
@@ -5866,11 +6302,8 @@
5866 6302 }
5867 6303 .editor-document-bar:hover {
5868 6304 background-color: #e0e0e0;
5869 6305 }
5870 -.editor-document-bar .components-button {
5871 - border-radius: 4px;
5872 -}
5873 6306 @media not (prefers-reduced-motion) {
5874 6307 .editor-document-bar .components-button {
5875 6308 transition: background-color 0.1s ease-out;
5876 6309 }
@@ -5895,13 +6328,8 @@
5895 6328 color: #1e1e1e;
5896 6329 margin: 0 auto;
5897 6330 max-width: 70%;
5898 6331 }
5899 -@media (min-width: 782px) {
5900 - .editor-document-bar__title {
5901 - padding-right: 24px;
5902 - }
5903 -}
5904 6332 .editor-document-bar__title h1 {
5905 6333 display: flex;
5906 6334 align-items: center;
5907 6335 justify-content: center;
@@ -5927,19 +6355,8 @@
5927 6355 display: none;
5928 6356 }
5929 6357 }
5930 6358
5931 -.editor-document-bar__shortcut {
5932 - color: #2f2f2f;
5933 - min-width: 24px;
5934 - display: none;
5935 -}
5936 -@media (min-width: 782px) {
5937 - .editor-document-bar__shortcut {
5938 - display: initial;
5939 - }
5940 -}
5941 -
5942 6359 .editor-document-bar__back.components-button.has-icon.has-text {
5943 6360 min-width: 36px;
5944 6361 flex-shrink: 0;
5945 6362 color: #757575;
@@ -5958,9 +6375,9 @@
5958 6375 display: none;
5959 6376 pointer-events: none;
5960 6377 }
5961 6378 .editor-document-bar__icon-layout.editor-document-bar__icon-layout svg {
5962 - fill: #949494;
6379 + color: #949494;
5963 6380 }
5964 6381 @media (min-width: 600px) {
5965 6382 .editor-document-bar__icon-layout.editor-document-bar__icon-layout {
5966 6383 display: flex;
@@ -6090,12 +6507,12 @@
6090 6507 .editor-document-tools .editor-document-tools__left > .components-button.has-icon.is-pressed,
6091 6508 .editor-document-tools .editor-document-tools__left > .components-dropdown > .components-button.has-icon.is-pressed {
6092 6509 background: #1e1e1e;
6093 6510 }
6094 -.editor-document-tools .editor-document-tools__left > .components-button.has-icon:focus:not(:disabled),
6095 -.editor-document-tools .editor-document-tools__left > .components-dropdown > .components-button.has-icon:focus:not(:disabled) {
6096 - box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color), inset 0 0 0 1px #fff;
6097 - outline: 1px solid transparent;
6511 +.editor-document-tools .editor-document-tools__left > .components-button.has-icon:focus:not(:active),
6512 +.editor-document-tools .editor-document-tools__left > .components-dropdown > .components-button.has-icon:focus:not(:active) {
6513 + 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)));
6514 + outline-offset: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px));
6098 6515 }
6099 6516 .editor-document-tools .editor-document-tools__left > .components-button.has-icon::before,
6100 6517 .editor-document-tools .editor-document-tools__left > .components-dropdown > .components-button.has-icon::before {
6101 6518 display: none;
@@ -6126,8 +6543,18 @@
6126 6543 .editor-editor-interface .interface-interface-skeleton__content {
6127 6544 isolation: isolate;
6128 6545 }
6129 6546
6547 +.editor-notices.notices-inline-notices-wrapper,
6548 +.editor-notices .components-notice-list {
6549 + gap: 0;
6550 +}
6551 +
6552 +.editor-notices .components-notice {
6553 + border-top-width: 0;
6554 + border-inline-width: 0;
6555 +}
6556 +
6130 6557 .editor-visual-editor {
6131 6558 flex: 1 0 auto;
6132 6559 }
6133 6560
@@ -6138,79 +6565,29 @@
6138 6565 top: 0;
6139 6566 left: 0;
6140 6567 }
6141 6568
6142 -.entities-saved-states__panel-header {
6143 - box-sizing: border-box;
6144 - background: #fff;
6145 - padding-right: 16px;
6146 - padding-left: 16px;
6147 - height: 64px;
6148 - border-bottom: 1px solid #ddd;
6569 +.editor-error-boundary {
6570 + font-family: var(--wpds-typography-font-family-body, -apple-system, system-ui, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif);
6571 + margin: auto;
6572 + width: 100%;
6573 + max-width: var(--wpds-dimension-surface-width-lg, 560px);
6574 + padding: var(--wpds-dimension-padding-xl, 20px);
6575 + margin-top: 64px;
6149 6576 }
6150 6577
6151 -.entities-saved-states__text-prompt {
6152 - padding: 16px;
6153 - padding-bottom: 4px;
6578 +.editor-error-boundary__report {
6579 + max-height: 420px;
6580 + overflow: auto;
6581 + overflow-anchor: none;
6154 6582 }
6155 -.entities-saved-states__text-prompt .entities-saved-states__text-prompt--header {
6156 - display: block;
6157 - margin-bottom: 12px;
6158 -}
6159 6583
6160 -.entities-saved-states__panel.is-inline .entities-saved-states__text-prompt {
6161 - padding: 0;
6584 +.editor-error-boundary__report-section {
6585 + margin: 0;
6586 + white-space: pre-wrap;
6587 + overflow-wrap: break-word;
6162 6588 }
6163 -.entities-saved-states__panel.is-inline .entities-saved-states__panel-body {
6164 - padding-right: 0;
6165 - padding-left: 0;
6166 - border: 0;
6167 -}
6168 -.entities-saved-states__panel.is-inline .entities-saved-states__panel-body > h2 {
6169 - margin-right: -16px;
6170 - margin-left: -16px;
6171 - margin-bottom: 0;
6172 -}
6173 -.entities-saved-states__panel.is-inline .entities-saved-states__panel-body > h2 button {
6174 - font-size: 11px;
6175 - text-transform: uppercase;
6176 -}
6177 -.entities-saved-states__panel.is-inline .entities-saved-states__text-prompt--header-wrapper {
6178 - display: none;
6179 -}
6180 -.entities-saved-states__panel.is-inline .entities-saved-states__text-prompt--changes-count {
6181 - margin-top: 0;
6182 - margin-bottom: 8px;
6183 -}
6184 -.entities-saved-states__panel.is-inline .entities-saved-states__panel-footer {
6185 - margin-top: 16px;
6186 -}
6187 6589
6188 -.entities-saved-states__change-control {
6189 - flex: 1;
6190 -}
6191 -
6192 -.entities-saved-states__changes {
6193 - font-size: 13px;
6194 - margin: 4px 24px 0 16px;
6195 - list-style: disc;
6196 -}
6197 -.entities-saved-states__changes li {
6198 - margin-bottom: 4px;
6199 -}
6200 -
6201 -.editor-error-boundary {
6202 - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
6203 - margin: auto;
6204 - max-width: 780px;
6205 - padding: 1em;
6206 - margin-top: 64px;
6207 - 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);
6208 - border: 1px solid #1e1e1e;
6209 - border-radius: 2px;
6210 - background-color: #fff;
6211 -}
6212 -
6213 6590 .editor-global-styles-header__description {
6214 6591 padding: 0 16px;
6215 6592 }
6216 6593
@@ -6226,23 +6603,33 @@
6226 6603 .editor-global-styles-sidebar__panel {
6227 6604 flex: 1;
6228 6605 }
6229 6606
6230 -.editor-global-styles-sidebar .editor-global-styles-sidebar__header-title {
6231 - margin: 0;
6607 +.editor-global-styles-sidebar .editor-global-styles-sidebar__header {
6608 + flex-grow: 1;
6232 6609 }
6233 6610
6234 -.editor-global-styles-sidebar .editor-global-styles-sidebar__header-actions {
6611 +.editor-global-styles-sidebar:has(.global-styles-ui-screen-revisions) {
6612 + overflow: hidden;
6613 +}
6614 +
6615 +.editor-global-styles-sidebar__panel:has(.global-styles-ui-screen-revisions) {
6616 + display: flex;
6617 + flex-direction: column;
6618 + min-height: 0;
6619 +}
6620 +
6621 +.editor-global-styles-sidebar .global-styles-ui-sidebar__navigator-provider:has(.global-styles-ui-screen-revisions) {
6235 6622 flex: 1;
6623 + min-height: 0;
6236 6624 }
6237 6625
6238 -.editor-global-styles-sidebar .components-navigation__menu-title-heading {
6239 - font-size: 15.6px;
6240 - font-weight: 499;
6626 +.editor-global-styles-sidebar .editor-global-styles-sidebar__header-title {
6627 + margin: 0;
6241 6628 }
6242 6629
6243 -.editor-global-styles-sidebar .components-navigation__item > button span {
6244 - font-weight: 499;
6630 +.editor-global-styles-sidebar .editor-global-styles-sidebar__header-actions {
6631 + flex: 1;
6245 6632 }
6246 6633
6247 6634 .editor-global-styles-sidebar .block-editor-panel-color-gradient-settings {
6248 6635 border: 0;
@@ -6299,9 +6686,9 @@
6299 6686 max-width: 100%;
6300 6687 object-fit: cover;
6301 6688 }
6302 6689 .editor-welcome-guide__heading {
6303 - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
6690 + font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
6304 6691 font-size: 24px;
6305 6692 line-height: 1.4;
6306 6693 margin: 16px 0 16px 0;
6307 6694 padding: 0 32px;
@@ -6315,9 +6702,9 @@
6315 6702 .editor-welcome-guide__text img {
6316 6703 vertical-align: bottom;
6317 6704 }
6318 6705 .editor-welcome-guide .components-button:hover svg {
6319 - fill: #fff;
6706 + color: #fff;
6320 6707 }
6321 6708
6322 6709 .editor-header {
6323 6710 box-sizing: border-box;
@@ -6331,16 +6718,16 @@
6331 6718 height: 64px;
6332 6719 background: #fff;
6333 6720 display: grid;
6334 6721 grid-auto-flow: row;
6335 - grid-template: auto/64px minmax(0, max-content) minmax(min-content, 1fr) 64px;
6722 + grid-template: auto/auto minmax(0, max-content) minmax(min-content, 1fr) 64px;
6336 6723 }
6337 6724 .editor-header:has(> .editor-header__center) {
6338 - grid-template: auto/64px min-content 1fr min-content 64px;
6725 + grid-template: auto/auto min-content 1fr min-content 64px;
6339 6726 }
6340 6727 @media (min-width: 782px) {
6341 6728 .editor-header:has(> .editor-header__center) {
6342 - grid-template: auto/64px minmax(min-content, 2fr) 2.5fr minmax(min-content, 2fr) 64px;
6729 + grid-template: auto/auto minmax(min-content, 2fr) 2.5fr minmax(min-content, 2fr) 64px;
6343 6730 }
6344 6731 }
6345 6732 @media (min-width: 480px) {
6346 6733 .editor-header {
@@ -6357,8 +6744,15 @@
6357 6744 flex-wrap: nowrap;
6358 6745 }
6359 6746 }
6360 6747
6748 +.editor-header__back-button {
6749 + margin: 0 8px 0 -8px;
6750 +}
6751 +.show-icon-labels .editor-header__back-button {
6752 + margin-left: 0;
6753 +}
6754 +
6361 6755 .editor-header__toolbar {
6362 6756 grid-column: 1/3;
6363 6757 }
6364 6758 .editor-header__toolbar > :first-child {
@@ -6403,9 +6797,8 @@
6403 6797 display: flex;
6404 6798 justify-content: center;
6405 6799 align-items: center;
6406 6800 min-width: 0;
6407 - clip-path: inset(-2px);
6408 6801 }
6409 6802 @media (max-width: 479px) {
6410 6803 .editor-header__center > :first-child {
6411 6804 margin-inline-start: 8px;
@@ -6413,11 +6806,8 @@
6413 6806 .editor-header__center > :last-child {
6414 6807 margin-inline-end: 8px;
6415 6808 }
6416 6809 }
6417 -.editor-revisions-header .editor-header__center {
6418 - clip-path: none;
6419 -}
6420 6810
6421 6811 /**
6422 6812 * Buttons on the right side
6423 6813 */
@@ -6567,9 +6957,9 @@
6567 6957 }
6568 6958 .editor-editor-interface.is-distraction-free .editor-header > .edit-post-header__settings > .edit-post-header__post-preview-button {
6569 6959 visibility: hidden;
6570 6960 }
6571 -.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 {
6961 +.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 {
6572 6962 display: none;
6573 6963 }
6574 6964 .editor-editor-interface.is-distraction-free .interface-interface-skeleton__header:focus-within {
6575 6965 opacity: 1 !important;
@@ -6576,15 +6966,15 @@
6576 6966 }
6577 6967 .editor-editor-interface.is-distraction-free .interface-interface-skeleton__header:focus-within div {
6578 6968 transform: translateX(0) translateZ(0) !important;
6579 6969 }
6580 -.editor-editor-interface.is-distraction-free .components-editor-notices__dismissible {
6970 +.editor-editor-interface.is-distraction-free .editor-notices__dismissible {
6581 6971 position: absolute;
6582 6972 z-index: 35;
6583 6973 }
6584 -
6585 -.components-popover.more-menu-dropdown__content {
6586 - z-index: 99998;
6974 +.editor-editor-interface.is-distraction-free .interface-interface-skeleton__header:hover,
6975 +.editor-editor-interface.is-distraction-free .interface-interface-skeleton__header:focus-within {
6976 + z-index: 36;
6587 6977 }
6588 6978
6589 6979 .editor-inserter-sidebar {
6590 6980 box-sizing: border-box;
@@ -6608,9 +6998,9 @@
6608 6998 margin: 0 0 2rem 0;
6609 6999 }
6610 7000 .editor-keyboard-shortcut-help-modal__section-title {
6611 7001 font-size: 0.9rem;
6612 - font-weight: 600;
7002 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
6613 7003 }
6614 7004 .editor-keyboard-shortcut-help-modal__shortcut {
6615 7005 display: flex;
6616 7006 align-items: baseline;
@@ -6624,9 +7014,9 @@
6624 7014 .editor-keyboard-shortcut-help-modal__shortcut:empty {
6625 7015 display: none;
6626 7016 }
6627 7017 .editor-keyboard-shortcut-help-modal__shortcut-term {
6628 - font-weight: 600;
7018 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
6629 7019 margin: 0 1rem 0 0;
6630 7020 text-align: left;
6631 7021 }
6632 7022 .editor-keyboard-shortcut-help-modal__shortcut-description {
@@ -6714,9 +7104,9 @@
6714 7104 scrollbar-gutter: auto;
6715 7105 }
6716 7106
6717 7107 .editor-list-view-sidebar__list-view-panel-content {
6718 - padding: 4px;
7108 + padding: 8px;
6719 7109 }
6720 7110
6721 7111 .editor-list-view-sidebar__list-view-container {
6722 7112 display: flex;
@@ -6747,8 +7137,13 @@
6747 7137 line-height: 1.4;
6748 7138 color: #757575;
6749 7139 }
6750 7140
7141 +.editor-more-menu__popup {
7142 + max-height: var(--available-height);
7143 + max-width: var(--wpds-dimension-surface-width-sm, 320px);
7144 +}
7145 +
6751 7146 .editor-post-parent__panel,
6752 7147 .editor-post-order__panel {
6753 7148 padding-top: 8px;
6754 7149 }
@@ -6791,10 +7186,10 @@
6791 7186 .editor-post-card-panel__title {
6792 7187 width: 100%;
6793 7188 }
6794 7189 .editor-post-card-panel__title.editor-post-card-panel__title {
6795 - font-family: -apple-system, "system-ui", "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
6796 - font-weight: 499;
7190 + font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
7191 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
6797 7192 font-size: 13px;
6798 7193 line-height: 20px;
6799 7194 margin: 0;
6800 7195 display: flex;
@@ -6801,9 +7196,10 @@
6801 7196 align-items: center;
6802 7197 flex-wrap: wrap;
6803 7198 column-gap: 8px;
6804 7199 row-gap: 4px;
6805 - word-break: break-word;
7200 + word-break: normal;
7201 + overflow-wrap: anywhere;
6806 7202 }
6807 7203 .editor-post-card-panel__icon {
6808 7204 flex: 0 0 24px;
6809 7205 width: 24px;
@@ -6892,9 +7288,9 @@
6892 7288 .editor-post-featured-image__toggle,
6893 7289 .editor-post-featured-image__preview {
6894 7290 width: 100%;
6895 7291 padding: 0;
6896 - box-shadow: 0 0 0 0 var(--wp-admin-theme-color);
7292 + border-color: #ccc;
6897 7293 overflow: hidden;
6898 7294 outline-offset: -1px;
6899 7295 min-height: 40px;
6900 7296 display: flex;
@@ -6914,15 +7310,8 @@
6914 7310 object-position: 50% 50%;
6915 7311 aspect-ratio: 2/1;
6916 7312 }
6917 7313
6918 -.editor-post-featured-image__toggle {
6919 - box-shadow: inset 0 0 0 1px #ccc;
6920 -}
6921 -.editor-post-featured-image__toggle:focus:not(:disabled) {
6922 - box-shadow: 0 0 0 currentColor inset, 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
6923 -}
6924 -
6925 7314 .editor-post-featured-image__actions:not(.editor-post-featured-image__actions-missing-image) {
6926 7315 bottom: 0;
6927 7316 opacity: 0;
6928 7317 padding: 8px;
@@ -6959,9 +7348,9 @@
6959 7348 }
6960 7349
6961 7350 .editor-post-last-revision__title {
6962 7351 width: 100%;
6963 - font-weight: 499;
7352 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
6964 7353 }
6965 7354
6966 7355 .editor-post-last-revision__title.components-button.has-icon {
6967 7356 height: 100%;
@@ -6970,9 +7359,9 @@
6970 7359 .editor-post-last-revision__title.components-button.has-icon:hover, .editor-post-last-revision__title.components-button.has-icon:active {
6971 7360 background: #f0f0f0;
6972 7361 }
6973 7362 .editor-post-last-revision__title.components-button.has-icon:focus {
6974 - box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
7363 + outline-offset: calc(-1 * var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)));
6975 7364 border-radius: 0;
6976 7365 }
6977 7366
6978 7367 .components-panel__body.is-opened.editor-post-last-revision__panel {
@@ -6982,12 +7371,8 @@
6982 7371 .components-panel__body.is-opened.editor-post-last-revision__panel .editor-post-last-revision__title.components-button.components-button {
6983 7372 padding: 16px;
6984 7373 }
6985 7374
6986 -.editor-private-post-last-revision__button {
6987 - display: inline-block;
6988 -}
6989 -
6990 7375 .editor-post-locked-modal__buttons {
6991 7376 margin-top: 24px;
6992 7377 }
6993 7378
@@ -7012,8 +7397,10 @@
7012 7397 align-items: center;
7013 7398 padding: 6px 0;
7014 7399 line-height: 20px;
7015 7400 hyphens: auto;
7401 + word-break: normal;
7402 + overflow-wrap: anywhere;
7016 7403 }
7017 7404
7018 7405 .editor-post-panel__row-control {
7019 7406 flex-grow: 1;
@@ -7028,9 +7415,9 @@
7028 7415 text-wrap: balance;
7029 7416 text-wrap: pretty;
7030 7417 height: auto;
7031 7418 min-height: 32px;
7032 - font-weight: 400;
7419 + font-weight: var(--wpds-typography-font-weight-default, 400);
7033 7420 }
7034 7421 .editor-post-panel__row-control .components-dropdown {
7035 7422 max-width: 100%;
7036 7423 }
@@ -7089,9 +7476,10 @@
7089 7476 .components-site-home {
7090 7477 display: block;
7091 7478 color: #757575;
7092 7479 font-size: 12px;
7093 - word-break: break-word;
7480 + word-break: normal;
7481 + overflow-wrap: anywhere;
7094 7482 }
7095 7483
7096 7484 .editor-post-publish-panel__header-publish-button,
7097 7485 .editor-post-publish-panel__header-cancel-button {
@@ -7112,12 +7500,8 @@
7112 7500 .editor-post-publish-panel__header-cancel-button {
7113 7501 padding-left: 4px;
7114 7502 }
7115 7503
7116 -.editor-post-publish-panel__header-published {
7117 - flex-grow: 1;
7118 -}
7119 -
7120 7504 .editor-post-publish-panel__footer {
7121 7505 padding: 16px;
7122 7506 }
7123 7507
@@ -7147,11 +7531,8 @@
7147 7531 background: #fff;
7148 7532 margin-right: -16px;
7149 7533 margin-left: -16px;
7150 7534 }
7151 -.editor-post-publish-panel__prepublish .editor-post-visibility__dialog-legend {
7152 - display: none;
7153 -}
7154 7535 .editor-post-publish-panel__prepublish .components-panel__body-title .components-button {
7155 7536 align-items: flex-start;
7156 7537 text-wrap: balance;
7157 7538 text-wrap: pretty;
@@ -7159,9 +7540,10 @@
7159 7540
7160 7541 .post-publish-panel__postpublish .components-panel__body {
7161 7542 border-bottom: 1px solid #e0e0e0;
7162 7543 border-top: none;
7163 - word-break: break-word;
7544 + word-break: normal;
7545 + overflow-wrap: anywhere;
7164 7546 }
7165 7547
7166 7548 .post-publish-panel__postpublish-buttons {
7167 7549 display: flex;
@@ -7201,9 +7583,9 @@
7201 7583 margin-right: 16px;
7202 7584 }
7203 7585
7204 7586 .post-publish-panel__postpublish-header {
7205 - font-weight: 499;
7587 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
7206 7588 }
7207 7589
7208 7590 .post-publish-panel__postpublish-subheader {
7209 7591 margin: 0 0 8px;
@@ -7208,17 +7590,8 @@
7208 7590 .post-publish-panel__postpublish-subheader {
7209 7591 margin: 0 0 8px;
7210 7592 }
7211 7593
7212 -.post-publish-panel__tip {
7213 - color: #f0b849;
7214 -}
7215 -
7216 -@media screen and (max-width: 782px) {
7217 - .post-publish-panel__postpublish-post-address__button-wrap .components-button {
7218 - height: 40px;
7219 - }
7220 -}
7221 7594 .editor-post-publish-panel {
7222 7595 box-sizing: border-box;
7223 7596 }
7224 7597 .editor-post-publish-panel *,
@@ -7252,9 +7625,9 @@
7252 7625 }
7253 7626 }
7254 7627 @media (min-width: 782px) {
7255 7628 body.is-fullscreen-mode .editor-post-publish-panel {
7256 - top: 0;
7629 + top: var(--wp-admin--admin-bar--height, 0);
7257 7630 }
7258 7631 [role=region]:focus .editor-post-publish-panel {
7259 7632 transform: translateX(0%);
7260 7633 }
@@ -7264,22 +7637,8 @@
7264 7637 100% {
7265 7638 transform: translateX(0%);
7266 7639 }
7267 7640 }
7268 -.editor-post-revisions-panel .editor-post-revisions-panel__view-all {
7269 - justify-content: center;
7270 -}
7271 -.editor-post-revisions-panel .editor-post-revisions-panel__revision-date {
7272 - text-transform: uppercase;
7273 - font-weight: 600;
7274 - font-size: 12px;
7275 -}
7276 -
7277 -.editor-post-revisions-panel__revisions-count {
7278 - margin-top: -4.5px;
7279 - margin-bottom: -4.5px;
7280 -}
7281 -
7282 7641 .editor-revisions-header__slider {
7283 7642 width: 100%;
7284 7643 }
7285 7644 .editor-revisions-header__slider .components-range-control__tooltip {
@@ -7306,12 +7665,107 @@
7306 7665 flex: 1;
7307 7666 min-width: 0;
7308 7667 }
7309 7668
7669 +.editor-revisions-code-diff {
7670 + height: 100%;
7671 + overflow: auto;
7672 + background: #fff;
7673 + color: #1e1e1e;
7674 +}
7675 +.editor-revisions-code-diff:focus-visible {
7676 + box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
7677 + outline: none;
7678 +}
7679 +
7680 +.editor-revisions-code-diff__table {
7681 + width: 100%;
7682 + min-width: max-content;
7683 + border: 0;
7684 + border-collapse: separate;
7685 + border-spacing: 0;
7686 + font-family: Menlo, Consolas, monaco, monospace;
7687 + font-size: 15px;
7688 + line-height: 1.6;
7689 +}
7690 +
7691 +.editor-revisions-code-diff__line.is-added {
7692 + background: rgba(0, 163, 42, 0.12);
7693 +}
7694 +.editor-revisions-code-diff__line.is-added > .editor-revisions-code-diff__line-number,
7695 +.editor-revisions-code-diff__line.is-added > .editor-revisions-code-diff__marker {
7696 + background: color-mix(in srgb, #00a32a 12%, #fff);
7697 +}
7698 +.editor-revisions-code-diff__line.is-removed {
7699 + background: rgba(214, 54, 56, 0.12);
7700 +}
7701 +.editor-revisions-code-diff__line.is-removed > .editor-revisions-code-diff__line-number,
7702 +.editor-revisions-code-diff__line.is-removed > .editor-revisions-code-diff__marker {
7703 + background: color-mix(in srgb, #d63638 12%, #fff);
7704 +}
7705 +
7706 +.editor-revisions-code-diff__line-number,
7707 +.editor-revisions-code-diff__marker {
7708 + position: sticky;
7709 + z-index: 1;
7710 + box-sizing: border-box;
7711 + padding: 0 8px;
7712 + background: #fff;
7713 + color: #757575;
7714 + text-align: left;
7715 + white-space: nowrap;
7716 + -webkit-user-select: none;
7717 + user-select: none;
7718 +}
7719 +
7720 +.editor-revisions-code-diff__line-number {
7721 + right: 0;
7722 + width: 6ch;
7723 + min-width: 6ch;
7724 + max-width: 6ch;
7725 + border-left: 1px solid #e0e0e0;
7726 + background: #f0f0f0;
7727 +}
7728 +.editor-revisions-code-diff__line-number.is-previous + .editor-revisions-code-diff__line-number.is-current {
7729 + right: 6ch;
7730 +}
7731 +
7732 +.editor-revisions-code-diff__marker {
7733 + right: 12ch;
7734 + width: 3ch;
7735 + min-width: 3ch;
7736 + max-width: 3ch;
7737 + border-left: 1px solid #e0e0e0;
7738 + padding: 0;
7739 + font-weight: 600;
7740 + text-align: center;
7741 +}
7742 +
7743 +.editor-revisions-code-diff__code {
7744 + width: 100%;
7745 + padding: 0 8px 0 16px;
7746 + direction: ltr;
7747 + unicode-bidi: isolate;
7748 + white-space: pre;
7749 +}
7750 +.editor-revisions-code-diff__code code {
7751 + margin: 0;
7752 + padding: 0;
7753 + background: none;
7754 + color: inherit;
7755 + font: inherit;
7756 +}
7757 +
7758 +.editor-revisions-code-diff__empty {
7759 + margin: 0;
7760 + padding: 24px;
7761 + color: #757575;
7762 +}
7763 +
7310 7764 .revision-diff-markers {
7311 7765 position: relative;
7312 7766 flex-shrink: 0;
7313 - width: 24px;
7767 + width: max(16px, 1rem);
7314 7768 background: rgba(0, 0, 0, 0.05);
7315 7769 }
7316 7770 .revision-diff-markers .revision-diff-marker {
7317 7771 position: absolute;
@@ -7322,15 +7776,15 @@
7322 7776 cursor: var(--wpds-cursor-control, pointer);
7323 7777 transition: opacity 0.1s ease;
7324 7778 }
7325 7779 .revision-diff-markers .revision-diff-marker.is-added {
7326 - background: #00a32a;
7780 + background: #008a20;
7327 7781 }
7328 7782 .revision-diff-markers .revision-diff-marker.is-removed {
7329 - background: repeating-linear-gradient(-45deg, #d63638, #d63638 3px, rgba(214, 54, 56, 0.45) 3px, rgba(214, 54, 56, 0.45) 6px);
7783 + background: repeating-linear-gradient(-45deg, #d63638, #d63638 6px, rgba(214, 54, 56, 0.45) 6px, rgba(214, 54, 56, 0.45) 8px);
7330 7784 }
7331 7785 .revision-diff-markers .revision-diff-marker.is-modified {
7332 - background: repeating-linear-gradient(45deg, #dba617, #dba617 3px, rgba(219, 166, 23, 0.45) 3px, rgba(219, 166, 23, 0.45) 6px);
7786 + background: repeating-linear-gradient(45deg, #9a7000, #9a7000 6px, rgba(154, 112, 0, 0.45) 6px, rgba(154, 112, 0, 0.45) 8px);
7333 7787 }
7334 7788 .revision-diff-markers .revision-diff-marker:hover {
7335 7789 opacity: 0.7;
7336 7790 }
@@ -7338,10 +7792,45 @@
7338 7792 outline: 2px solid #1e1e1e;
7339 7793 outline-offset: -2px;
7340 7794 }
7341 7795
7796 +.interface-complementary-area:has(.editor-post-revisions-timeline) {
7797 + display: flex;
7798 + flex-direction: column;
7799 + overflow: hidden;
7800 +}
7801 +
7802 +.interface-complementary-area > .editor-sidebar__panel-tabs {
7803 + flex-shrink: 0;
7804 +}
7805 +
7806 +.editor-sidebar__panel:has(.editor-post-revisions-timeline) {
7807 + display: flex;
7808 + flex-direction: column;
7809 + flex: 1;
7810 + min-height: 0;
7811 +}
7812 +
7813 +.editor-sidebar__panel [role=tabpanel]:has(.editor-post-revisions-timeline) {
7814 + display: flex;
7815 + flex-direction: column;
7816 + flex: 1;
7817 + min-height: 0;
7818 +}
7819 +
7820 +.editor-sidebar__panel .editor-revision-meta-diff__content {
7821 + max-height: 80px;
7822 + overflow-y: auto;
7823 +}
7824 +
7825 +.editor-sidebar__panel .editor-post-revisions-timeline {
7826 + flex: 1;
7827 + min-height: 0;
7828 +}
7829 +
7342 7830 .editor-revision-fields-diff__value {
7343 - word-break: break-word;
7831 + word-break: normal;
7832 + overflow-wrap: anywhere;
7344 7833 }
7345 7834
7346 7835 .editor-revision-fields-diff__added {
7347 7836 background-color: color-mix(in srgb, currentColor 5%, #00a32a 15%);
@@ -7395,8 +7884,14 @@
7395 7884 min-width: 320px;
7396 7885 padding: 16px;
7397 7886 }
7398 7887
7888 +.editor-post-schedule__reset {
7889 + justify-content: center;
7890 + margin-top: 16px;
7891 + width: 100%;
7892 +}
7893 +
7399 7894 .editor-post-status {
7400 7895 max-width: 100%;
7401 7896 }
7402 7897 .editor-post-status.is-read-only {
@@ -7449,8 +7944,13 @@
7449 7944 .editor-post-taxonomies__hierarchical-terms-choice:last-child {
7450 7945 margin-bottom: 4px;
7451 7946 }
7452 7947
7948 +.editor-post-taxonomies__hierarchical-terms-add,
7949 +.editor-post-taxonomies__hierarchical-terms-submit {
7950 + align-self: flex-start;
7951 +}
7952 +
7453 7953 .editor-post-taxonomies__hierarchical-terms-subchoices {
7454 7954 margin-top: 8px;
7455 7955 margin-right: 16px;
7456 7956 }
@@ -7568,9 +8068,10 @@
7568 8068 margin: 0;
7569 8069 width: 100%;
7570 8070 box-shadow: none;
7571 8071 resize: none;
7572 - overflow: hidden;
8072 + field-sizing: content;
8073 + overflow: auto;
7573 8074 font-family: Menlo, Consolas, monaco, monospace;
7574 8075 line-height: 2.4;
7575 8076 min-height: 200px;
7576 8077 }
@@ -7621,9 +8122,10 @@
7621 8122 }
7622 8123 .editor-post-url__link,
7623 8124 .editor-post-url__front-page-link {
7624 8125 direction: ltr;
7625 - word-break: break-word;
8126 + word-break: normal;
8127 + overflow-wrap: anywhere;
7626 8128 }
7627 8129 .editor-post-url__front-page-link {
7628 8130 padding: 6px 12px;
7629 8131 border-radius: 2px;
@@ -7639,9 +8141,9 @@
7639 8141 outline: 3px solid rgba(0, 0, 0, 0);
7640 8142 }
7641 8143
7642 8144 .editor-post-url__link-slug {
7643 - font-weight: 600;
8145 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
7644 8146 }
7645 8147
7646 8148 .editor-post-url__input input.components-input-control__input {
7647 8149 padding-inline-start: 0 !important;
@@ -7648,9 +8150,10 @@
7648 8150 }
7649 8151
7650 8152 .editor-post-url__panel-toggle,
7651 8153 .editor-post-parent__panel-toggle {
7652 - word-break: break-word;
8154 + word-break: normal;
8155 + overflow-wrap: anywhere;
7653 8156 }
7654 8157
7655 8158 .editor-post-url__intro {
7656 8159 margin: 0;
@@ -7673,19 +8176,27 @@
7673 8176 flex-grow: 1;
7674 8177 justify-content: center;
7675 8178 }
7676 8179
7677 -.editor-preview-dropdown .editor-preview-dropdown__toggle.has-icon.has-text {
8180 +.editor-preview-dropdown__popup {
8181 + max-width: var(--wpds-dimension-surface-width-xs, 240px);
8182 +}
8183 +
8184 +.editor-preview-dropdown__toggle.has-icon.has-text {
7678 8185 padding-left: 4px;
7679 8186 padding-right: 6px;
7680 8187 }
7681 8188
7682 -.editor-preview-dropdown__button-external {
7683 - width: 100%;
7684 - display: flex;
7685 - justify-content: space-between;
8189 +.editor-preview-dropdown__toggle.is-responsive-editing {
8190 + color: var(--wp-block-synced-color);
7686 8191 }
7687 8192
8193 +@media (prefers-reduced-motion: no-preference) {
8194 + .editor-resizable-editor:not(.is-resizing) {
8195 + transition: width 0.2s ease-out;
8196 + }
8197 +}
8198 +
7688 8199 .editor-resizable-editor.is-resizable {
7689 8200 overflow: visible;
7690 8201 margin: 0 auto;
7691 8202 }
@@ -7728,8 +8239,22 @@
7728 8239 .editor-resizable-editor__resize-handle:hover::after, .editor-resizable-editor__resize-handle:focus::after, .editor-resizable-editor__resize-handle:active::after {
7729 8240 background-color: var(--wp-admin-theme-color);
7730 8241 }
7731 8242
8243 +.editor-save-error-details {
8244 + display: inline;
8245 +}
8246 +
8247 +.editor-save-error-details summary {
8248 + display: inline;
8249 + cursor: var(--wpds-cursor-control, pointer);
8250 + margin-right: 0.35em;
8251 +}
8252 +
8253 +.editor-save-error-details__message {
8254 + white-space: break-spaces;
8255 +}
8256 +
7732 8257 .editor-layout__toggle-publish-panel,
7733 8258 .editor-layout__toggle-sidebar-panel,
7734 8259 .editor-layout__toggle-entities-saved-states-panel {
7735 8260 z-index: 100000;
@@ -7760,12 +8285,12 @@
7760 8285 bottom: 0;
7761 8286 width: 100%;
7762 8287 height: 72px;
7763 8288 background-color: #fff;
7764 - margin-right: -32px;
7765 - margin-left: -32px;
7766 - padding-right: 32px;
7767 - padding-left: 32px;
8289 + margin-right: -24px;
8290 + margin-left: -24px;
8291 + padding-right: 24px;
8292 + padding-left: 24px;
7768 8293 border-top: 1px solid #ddd;
7769 8294 z-index: 1;
7770 8295 }
7771 8296 .editor-start-page-options__modal .block-editor-block-patterns-list {
@@ -7770,23 +8295,49 @@
7770 8295 }
7771 8296 .editor-start-page-options__modal .block-editor-block-patterns-list {
7772 8297 padding-bottom: 72px;
7773 8298 }
8299 +.editor-start-page-options__modal .editor-start-page-options__sidebar {
8300 + display: none;
8301 +}
8302 +@media (min-width: 782px) {
8303 + .editor-start-page-options__modal .editor-start-page-options__sidebar {
8304 + display: flex;
8305 + position: absolute;
8306 + top: 72px;
8307 + right: 0;
8308 + bottom: 72px;
8309 + width: 280px;
8310 + padding: 24px;
8311 + overflow-x: visible;
8312 + overflow-y: auto;
8313 + }
8314 +}
7774 8315
8316 +.editor-start-page-options__modal-content {
8317 + container-type: inline-size;
8318 +}
8319 +
8320 +@media (min-width: 782px) {
8321 + .editor-start-page-options__modal-content.has-pattern-categories {
8322 + margin-right: 280px;
8323 + }
8324 +}
8325 +
8326 +.editor-start-page-options__no-results {
8327 + padding: 32px;
8328 + text-align: center;
8329 +}
8330 +
7775 8331 .editor-start-page-options__modal-content .block-editor-block-patterns-list {
7776 8332 column-count: 2;
7777 8333 column-gap: 24px;
7778 8334 }
7779 -@media (min-width: 782px) {
8335 +@container (min-width: 464px) {
7780 8336 .editor-start-page-options__modal-content .block-editor-block-patterns-list {
7781 - column-count: 3;
8337 + columns: 4 220px;
7782 8338 }
7783 8339 }
7784 -@media (min-width: 1280px) {
7785 - .editor-start-page-options__modal-content .block-editor-block-patterns-list {
7786 - column-count: 4;
7787 - }
7788 -}
7789 8340 .editor-start-page-options__modal-content .block-editor-block-patterns-list .block-editor-block-patterns-list__list-item {
7790 8341 break-inside: avoid-column;
7791 8342 margin-bottom: 24px;
7792 8343 }
@@ -7802,12 +8353,12 @@
7802 8353 bottom: 0;
7803 8354 width: 100%;
7804 8355 height: 92px;
7805 8356 background-color: #fff;
7806 - margin-right: -32px;
7807 - margin-left: -32px;
7808 - padding-right: 32px;
7809 - padding-left: 32px;
8357 + margin-right: -24px;
8358 + margin-left: -24px;
8359 + padding-right: 24px;
8360 + padding-left: 24px;
7810 8361 border-top: 1px solid #ddd;
7811 8362 z-index: 1;
7812 8363 }
7813 8364 .editor-start-template-options__modal .block-editor-block-patterns-list {
@@ -7819,16 +8370,11 @@
7819 8370 column-gap: 24px;
7820 8371 }
7821 8372 @media (min-width: 782px) {
7822 8373 .editor-start-template-options__modal-content .block-editor-block-patterns-list {
7823 - column-count: 3;
8374 + columns: 4 220px;
7824 8375 }
7825 8376 }
7826 -@media (min-width: 1280px) {
7827 - .editor-start-template-options__modal-content .block-editor-block-patterns-list {
7828 - column-count: 4;
7829 - }
7830 -}
7831 8377 .editor-start-template-options__modal-content .block-editor-block-patterns-list .block-editor-block-patterns-list__list-item {
7832 8378 break-inside: avoid-column;
7833 8379 }
7834 8380 .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 {
@@ -7881,13 +8427,8 @@
7881 8427 }
7882 8428 .editor-style-book.is-button {
7883 8429 border-radius: 8px;
7884 8430 }
7885 -.editor-style-book {
7886 - display: flex;
7887 - flex-direction: column;
7888 - align-items: stretch;
7889 -}
7890 8431
7891 8432 .editor-style-book__iframe {
7892 8433 display: block;
7893 8434 height: 100%;
@@ -7900,8 +8441,14 @@
7900 8441 outline: calc(2 * var(--wp-admin-border-width-focus)) solid var(--wp-admin-theme-color);
7901 8442 outline-offset: calc(-2 * var(--wp-admin-border-width-focus));
7902 8443 }
7903 8444
8445 +.editor-style-book__tabs {
8446 + height: 100%;
8447 + display: flex;
8448 + flex-direction: column;
8449 +}
8450 +
7904 8451 .editor-style-book__tablist-container {
7905 8452 flex: none;
7906 8453 display: flex;
7907 8454 width: 100%;
@@ -7915,9 +8462,9 @@
7915 8462 }
7916 8463
7917 8464 .editor-styles-canvas {
7918 8465 height: 100%;
7919 - padding: 16px;
8466 + padding: 24px;
7920 8467 background-color: var(--wp-editor-canvas-background);
7921 8468 }
7922 8469 .editor-styles-canvas iframe {
7923 8470 display: block;
@@ -7923,12 +8470,14 @@
7923 8470 display: block;
7924 8471 width: 100%;
7925 8472 height: 100%;
7926 8473 }
8474 +.editor-styles-canvas.is-preview-mode {
8475 + padding: 0;
8476 +}
7927 8477
7928 8478 .editor-styles-canvas__section {
7929 8479 background: #fff;
7930 - border-radius: 8px;
7931 8480 bottom: 0;
7932 8481 right: 0;
7933 8482 overflow: hidden;
7934 8483 position: absolute;
@@ -8014,9 +8563,9 @@
8014 8563 .table-of-contents__title {
8015 8564 display: block;
8016 8565 margin-top: 20px;
8017 8566 font-size: 15px;
8018 - font-weight: 600;
8567 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
8019 8568 }
8020 8569
8021 8570 .editor-text-editor {
8022 8571 box-sizing: border-box;
@@ -8027,8 +8576,9 @@
8027 8576 box-sizing: inherit;
8028 8577 }
8029 8578 .editor-text-editor {
8030 8579 position: relative;
8580 + isolation: isolate;
8031 8581 width: 100%;
8032 8582 background-color: #fff;
8033 8583 flex-grow: 1;
8034 8584 }
@@ -8037,9 +8587,9 @@
8037 8587 max-width: none;
8038 8588 line-height: 1.4;
8039 8589 font-family: Menlo, Consolas, monaco, monospace;
8040 8590 font-size: 2.5em;
8041 - font-weight: normal;
8591 + font-weight: 400;
8042 8592 border: 1px solid #949494;
8043 8593 border-radius: 0;
8044 8594 padding: 16px;
8045 8595 }
@@ -8094,11 +8644,31 @@
8094 8644 font-size: 13px;
8095 8645 color: #1e1e1e;
8096 8646 }
8097 8647
8648 +.editor-upload-progress-snackbar__spinner,
8649 +.editor-upload-progress-snackbar__check {
8650 + display: inline-flex;
8651 + align-items: center;
8652 + justify-content: center;
8653 + width: 24px;
8654 + height: 24px;
8655 +}
8656 +
8657 +.editor-upload-progress-snackbar__spinner .components-spinner {
8658 + margin: 0;
8659 +}
8660 +
8661 +.editor-upload-progress-snackbar__check svg {
8662 + width: 24px;
8663 + height: 24px;
8664 + fill: currentColor;
8665 +}
8666 +
8098 8667 .editor-visual-editor {
8099 8668 position: relative;
8100 8669 display: flex;
8670 + max-height: 100%;
8101 8671 background-color: var(--wp-editor-canvas-background);
8102 8672 }
8103 8673 .editor-visual-editor iframe[name=editor-canvas] {
8104 8674 background-color: transparent;
@@ -8103,21 +8673,30 @@
8103 8673 .editor-visual-editor iframe[name=editor-canvas] {
8104 8674 background-color: transparent;
8105 8675 }
8106 8676 .editor-visual-editor {
8677 + flex-direction: column;
8107 8678 align-items: center;
8679 + justify-content: center;
8108 8680 }
8109 -.editor-visual-editor.is-resizable {
8110 - max-height: 100%;
8681 +@media (prefers-reduced-motion: no-preference) {
8682 + .editor-visual-editor {
8683 + transition: padding 0.2s ease-out;
8684 + }
8111 8685 }
8112 -.editor-visual-editor.has-padding {
8113 - padding: 24px 24px 0;
8686 +.editor-visual-editor.has-vertical-padding {
8687 + padding-top: 24px;
8688 + padding-bottom: 24px;
8114 8689 }
8115 -.editor-visual-editor.is-iframed {
8690 +.editor-visual-editor.has-horizontal-padding {
8691 + padding-right: 24px;
8692 + padding-left: 24px;
8693 +}
8694 +.editor-visual-editor {
8116 8695 overflow: hidden;
8117 8696 }
8118 8697 .editor-visual-editor .components-button {
8119 - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
8698 + font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
8120 8699 font-size: 13px;
8121 8700 padding: 6px 12px;
8122 8701 }
8123 8702 .editor-visual-editor .components-button.is-tertiary, .editor-visual-editor .components-button.has-icon {
@@ -8146,5 +8725,29 @@
8146 8725
8147 8726 .editor-push-changes-to-global-styles-control .components-button {
8148 8727 justify-content: center;
8149 8728 width: 100%;
8729 +}
8730 +
8731 +.editor-push-changes-to-global-styles-modal p {
8732 + margin-top: 0;
8733 +}
8734 +
8735 +.editor-push-changes-to-global-styles-modal .dataviews-layout__container {
8736 + overflow-x: hidden;
8737 +}
8738 +@media (max-width: 600px) {
8739 + .editor-push-changes-to-global-styles-modal .dataviews-layout__container {
8740 + overflow-x: auto;
8741 + }
8742 +}
8743 +.editor-push-changes-to-global-styles-modal .components-modal__content {
8744 + padding-bottom: 0;
8745 +}
8746 +.editor-push-changes-to-global-styles-modal .dataviews-footer {
8747 + padding-bottom: 24px;
8748 +}
8749 +
8750 +.editor-push-changes-to-global-styles-modal__value {
8751 + color: #1e1e1e;
8752 + overflow-wrap: anywhere;
8150 8753 }