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