PluginProbe
Gutenberg / 24.1.0
Gutenberg v24.1.0
24.1.0 24.0.0 23.9.1 23.9.0 23.8.0 23.7.2 23.7.1 23.7.0 23.6.1 23.6.2 23.6.0 23.5.3 23.5.2 23.5.1 23.5.0 23.4.0 23.3.2 23.3.1 23.3.0 23.2.0 23.2.1 23.2.2 23.1.1 23.1.0 23.0.1 All 404 releases
← All changes | build/styles/editor/style.css +821 -732 23.5.3 → 24.1.0 View file →
@@ -68,8 +68,14 @@
68 68 /**
69 69 * Focus styles.
70 70 */
71 71 /**
72 + * Standard focus rings for the WordPress Design System.
73 + *
74 + * Apply `outset-ring__focus` inside the relevant pseudo-class at the call site,
75 + * e.g. `&:focus { @include outset-ring__focus(); }`.
76 + */
77 +/**
72 78 * Applies editor left position to the selector passed as argument
73 79 */
74 80 /**
75 81 * Styles that are reused verbatim in a few places
@@ -186,8 +192,14 @@
186 192 /**
187 193 * Focus styles.
188 194 */
189 195 /**
196 + * Standard focus rings for the WordPress Design System.
197 + *
198 + * Apply `outset-ring__focus` inside the relevant pseudo-class at the call site,
199 + * e.g. `&:focus { @include outset-ring__focus(); }`.
200 + */
201 +/**
190 202 * Applies editor left position to the selector passed as argument
191 203 */
192 204 /**
193 205 * Styles that are reused verbatim in a few places
@@ -210,8 +222,9 @@
210 222 background: #fff;
211 223 color: #1e1e1e;
212 224 height: 100%;
213 225 overflow: auto;
226 + width: 100vw;
214 227 }
215 228
216 229 @media (min-width: 782px) {
217 230 .interface-complementary-area {
@@ -239,9 +252,9 @@
239 252 }
240 253
241 254 .interface-complementary-area h2 {
242 255 font-size: 13px;
243 - font-weight: 499;
256 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
244 257 color: #1e1e1e;
245 258 margin-bottom: 1.5em;
246 259 }
247 260
@@ -247,9 +260,9 @@
247 260
248 261 .interface-complementary-area h3 {
249 262 font-size: 11px;
250 263 text-transform: uppercase;
251 - font-weight: 499;
264 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
252 265 color: #1e1e1e;
253 266 margin-bottom: 1.5em;
254 267 }
255 268
@@ -281,14 +294,9 @@
281 294 height: 100%;
282 295 }
283 296
284 297 @media (min-width: 782px) {
285 - body.js.is-fullscreen-mode {
286 - margin-top: -32px;
287 - height: calc(100% + 32px);
288 - }
289 - body.js.is-fullscreen-mode #adminmenumain,
290 - body.js.is-fullscreen-mode #wpadminbar {
298 + body.js.is-fullscreen-mode #adminmenumain {
291 299 display: none;
292 300 }
293 301 body.js.is-fullscreen-mode #wpcontent,
294 302 body.js.is-fullscreen-mode #wpfooter {
@@ -322,9 +330,9 @@
322 330 .interface-interface-skeleton {
323 331 top: 32px;
324 332 }
325 333 .is-fullscreen-mode .interface-interface-skeleton {
326 - top: 0;
334 + top: var(--wp-admin--admin-bar--height, 0);
327 335 }
328 336 }
329 337 .interface-interface-skeleton__editor {
330 338 display: flex;
@@ -377,9 +385,9 @@
377 385 }
378 386
379 387 @media (min-width: 782px) {
380 388 .has-footer .interface-interface-skeleton__body {
381 - padding-bottom: 25px;
389 + padding-bottom: calc(var(--wpds-dimension-size-md, 32px) + 1px);
382 390 }
383 391 }
384 392 .interface-interface-skeleton__content {
385 393 flex-grow: 1;
@@ -466,9 +474,9 @@
466 474 .interface-interface-skeleton__footer .block-editor-block-breadcrumb {
467 475 z-index: 30;
468 476 display: flex;
469 477 background: #fff;
470 - height: 24px;
478 + height: var(--wpds-dimension-size-md, 32px);
471 479 align-items: center;
472 480 font-size: 13px;
473 481 padding: 0 18px;
474 482 }
@@ -504,9 +512,9 @@
504 512 border-left: 1px solid #ddd;
505 513 top: 32px;
506 514 }
507 515 .is-fullscreen-mode .is-entity-save-view-open .interface-interface-skeleton__actions:focus, .is-fullscreen-mode .is-entity-save-view-open .interface-interface-skeleton__actions:focus-within {
508 - top: 0;
516 + top: var(--wp-admin--admin-bar--height, 0);
509 517 }
510 518 }
511 519 .interface-pinned-items {
512 520 display: flex;
@@ -604,8 +612,14 @@
604 612 /**
605 613 * Focus styles.
606 614 */
607 615 /**
616 + * Standard focus rings for the WordPress Design System.
617 + *
618 + * Apply `outset-ring__focus` inside the relevant pseudo-class at the call site,
619 + * e.g. `&:focus { @include outset-ring__focus(); }`.
620 + */
621 +/**
608 622 * Applies editor left position to the selector passed as argument
609 623 */
610 624 /**
611 625 * Styles that are reused verbatim in a few places
@@ -639,9 +653,9 @@
639 653 }
640 654
641 655 .font-library-modal .font-library__subtitle {
642 656 text-transform: uppercase;
643 - font-weight: 499;
657 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
644 658 font-size: 11px;
645 659 }
646 660
647 661 .font-library-modal__tab-panel {
@@ -679,9 +693,9 @@
679 693 .font-library__footer {
680 694 position: absolute;
681 695 width: 100%;
682 696 bottom: 0;
683 - border-top: 1px solid #ddd;
697 + border-top: 1px solid var(--wpds-color-stroke-surface-neutral, #dbdbdb);
684 698 padding: 24px;
685 699 background-color: #fff;
686 700 box-sizing: border-box;
687 701 flex-grow: 0 !important;
@@ -690,22 +704,26 @@
690 704 }
691 705
692 706 .font-library__page-selection {
693 707 font-size: 11px;
694 - font-weight: 499;
708 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
695 709 text-transform: uppercase;
696 710 }
697 711
698 712 @media (min-width: 600px) {
699 - .font-library__page-selection .font-library__page-selection-trigger {
713 + .font-library__page-selection .components-select-control__input {
700 714 font-size: 11px !important;
701 - font-weight: 499;
715 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
702 716 }
703 717 }
718 +.font-library__search {
719 + width: 240px;
720 +}
721 +
704 722 .font-library__fonts-title {
705 723 text-transform: uppercase;
706 724 font-size: 11px;
707 - font-weight: 600;
725 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
708 726 margin-top: 0;
709 727 margin-bottom: 0;
710 728 }
711 729
@@ -719,11 +737,15 @@
719 737 .font-library__fonts-list-item {
720 738 margin-bottom: 0;
721 739 }
722 740
741 +.font-library__font-demo {
742 + position: relative;
743 +}
744 +
723 745 .font-library__font-card {
724 746 box-sizing: border-box;
725 - border: 1px solid #ddd;
747 + border: 1px solid var(--wpds-color-stroke-surface-neutral, #dbdbdb);
726 748 width: 100%;
727 749 height: auto !important;
728 750 padding: 16px;
729 751 margin-top: -1px; /* To collapse the margin with the previous element */
@@ -737,13 +759,13 @@
737 759 position: relative;
738 760 }
739 761
740 762 .font-library__font-card .font-library__font-card__name {
741 - font-weight: bold;
763 + font-weight: 700;
742 764 }
743 765
744 766 .font-library__font-card .font-library__font-card__count {
745 - color: #757575;
767 + color: var(--wpds-color-foreground-content-neutral-weak, #707070);
746 768 }
747 769
748 770 .font-library__font-card .font-library__font-variant_demo-image {
749 771 display: block;
@@ -750,8 +772,25 @@
750 772 height: 24px;
751 773 width: auto;
752 774 }
753 775
776 +@media not (prefers-reduced-motion) {
777 + .font-library__font-card .font-library__font-variant_demo-image {
778 + transition: opacity var(--wpds-motion-duration-lg, 300ms) var(--wpds-motion-easing-subtle, cubic-bezier(0.15, 0, 0.15, 1));
779 + }
780 +}
781 +.font-library__font-card .font-library__font-variant_demo-image.is-loading {
782 + position: absolute;
783 + top: 0;
784 + left: 0;
785 + opacity: 0;
786 +}
787 +
788 +.font-library__font-card .font-library__font-variant-demo-skeleton {
789 + height: 24px;
790 + border-radius: var(--wpds-border-radius-sm, 2px);
791 +}
792 +
754 793 .font-library__font-card .font-library__font-variant_demo-text {
755 794 white-space: nowrap;
756 795 flex-shrink: 0;
757 796 }
@@ -763,9 +802,9 @@
763 802 }
764 803 .font-library-modal__tablist-container {
765 804 position: sticky;
766 805 top: 0;
767 - border-bottom: 1px solid #ddd;
806 + border-bottom: 1px solid var(--wpds-color-stroke-surface-neutral, #dbdbdb);
768 807 background: #fff;
769 808 z-index: 1;
770 809 }
771 810
@@ -786,9 +825,9 @@
786 825 width: 80%;
787 826 }
788 827
789 828 .font-library__local-fonts .font-library__upload-area__text {
790 - color: #757575;
829 + color: var(--wpds-color-foreground-content-neutral-weak, #707070);
791 830 }
792 831
793 832 .font-library__google-fonts-confirm {
794 833 display: flex;
@@ -823,113 +862,22 @@
823 862 .font-library__select-all .components-checkbox-control__label {
824 863 padding-left: 16px;
825 864 }
826 865
827 -.global-styles-ui-pagination .components-button.is-tertiary {
828 - width: 32px;
829 - height: 32px;
830 - justify-content: center;
831 -}
832 -
833 -.global-styles-ui-screen-revisions__revisions-list {
834 - list-style: none;
835 - margin: 0 16px 16px 16px;
836 - flex-grow: 1;
837 -}
838 -
839 -.global-styles-ui-screen-revisions__revisions-list li {
840 - margin-bottom: 0;
841 -}
842 -
843 -.global-styles-ui-screen-revisions__revision-item {
844 - position: relative;
845 - cursor: var(--wpds-cursor-control, pointer);
866 +.global-styles-ui-screen-revisions {
846 867 display: flex;
847 868 flex-direction: column;
869 + flex-grow: 1;
870 + min-height: 0;
848 871 }
849 872
850 -.global-styles-ui-screen-revisions__revision-item[role=option]:active, .global-styles-ui-screen-revisions__revision-item[role=option]:focus {
851 - box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
852 - outline: 2px solid transparent;
873 +.global-styles-ui-screen-revisions__actions {
874 + margin-inline-start: auto;
853 875 }
854 876
855 -.global-styles-ui-screen-revisions__revision-item:hover {
856 - background: rgba(var(--wp-admin-theme-color--rgb), 0.04);
857 -}
858 -
859 -.global-styles-ui-screen-revisions__revision-item:hover .global-styles-ui-screen-revisions__date {
860 - color: var(--wp-admin-theme-color);
861 -}
862 -
863 -.global-styles-ui-screen-revisions__revision-item::before, .global-styles-ui-screen-revisions__revision-item::after {
864 - position: absolute;
865 - content: "\a";
866 - display: block;
867 -}
868 -
869 -.global-styles-ui-screen-revisions__revision-item::before {
870 - background: #ddd;
871 - border-radius: 50%;
872 - height: 8px;
873 - width: 8px;
874 - top: 18px;
875 - left: 17px;
876 - transform: translate(-50%, -50%);
877 - z-index: 1;
878 - border: 4px solid transparent;
879 -}
880 -
881 -.global-styles-ui-screen-revisions__revision-item[aria-selected=true] {
882 - border-radius: 2px;
883 - outline: 3px solid transparent;
884 - outline-offset: -2px;
885 - color: var(--wp-admin-theme-color);
886 - background: rgba(var(--wp-admin-theme-color--rgb), 0.04);
887 -}
888 -
889 -.global-styles-ui-screen-revisions__revision-item[aria-selected=true] .global-styles-ui-screen-revisions__date {
890 - color: var(--wp-admin-theme-color);
891 -}
892 -
893 -.global-styles-ui-screen-revisions__revision-item[aria-selected=true]::before {
894 - background: var(--wp-admin-theme-color);
895 -}
896 -
897 -.global-styles-ui-screen-revisions__revision-item[aria-selected=true] .global-styles-ui-screen-revisions__changes > li,
898 -.global-styles-ui-screen-revisions__revision-item[aria-selected=true] .global-styles-ui-screen-revisions__meta {
899 - color: #1e1e1e;
900 -}
901 -
902 -.global-styles-ui-screen-revisions__revision-item::after {
903 - height: 100%;
904 - left: 16px;
905 - top: 0;
906 - width: 0;
907 - border: 0.5px solid #ddd;
908 -}
909 -
910 -.global-styles-ui-screen-revisions__revision-item:first-child::after {
911 - top: 18px;
912 -}
913 -
914 -.global-styles-ui-screen-revisions__revision-item:last-child::after {
915 - height: 18px;
916 -}
917 -
918 -.global-styles-ui-screen-revisions__revision-item-wrapper {
919 - display: block;
920 - padding: 12px 12px 4px 40px;
921 -}
922 -
923 -.global-styles-ui-screen-revisions__apply-button.is-primary,
924 -.global-styles-ui-screen-revisions__active-badge {
925 - align-self: flex-start;
926 - margin: 0 12px 12px 40px;
927 -}
928 -
929 -.global-styles-ui-screen-revisions__changes,
930 -.global-styles-ui-screen-revisions__meta {
931 - color: #757575;
877 +.global-styles-ui-screen-revisions__date {
878 + text-transform: uppercase;
879 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
932 880 font-size: 12px;
933 881 }
934 882
935 883 .global-styles-ui-screen-revisions__description {
@@ -938,11 +886,11 @@
938 886 align-items: flex-start;
939 887 gap: 8px;
940 888 }
941 889
942 -.global-styles-ui-screen-revisions__description .global-styles-ui-screen-revisions__date {
943 - text-transform: uppercase;
944 - font-weight: 600;
890 +.global-styles-ui-screen-revisions__changes,
891 +.global-styles-ui-screen-revisions__meta {
892 + color: #2f2f2f;
945 893 font-size: 12px;
946 894 }
947 895
948 896 .global-styles-ui-screen-revisions__meta {
@@ -948,11 +896,10 @@
948 896 .global-styles-ui-screen-revisions__meta {
949 897 display: flex;
950 898 justify-content: start;
951 899 width: 100%;
952 - align-items: flex-start;
900 + align-items: center;
953 901 text-align: left;
954 - margin-bottom: 4px;
955 902 }
956 903
957 904 .global-styles-ui-screen-revisions__meta img {
958 905 width: 16px;
@@ -960,16 +907,12 @@
960 907 border-radius: 100%;
961 908 margin-right: 8px;
962 909 }
963 910
964 -.global-styles-ui-screen-revisions__loading {
965 - margin: 24px auto !important;
966 -}
967 -
968 911 .global-styles-ui-screen-revisions__changes {
969 912 text-align: left;
970 913 line-height: 1.4;
971 - margin-left: 12px;
914 + margin: 0 0 0 12px;
972 915 list-style: disc;
973 916 }
974 917
975 918 .global-styles-ui-screen-revisions__changes li {
@@ -975,47 +918,8 @@
975 918 .global-styles-ui-screen-revisions__changes li {
976 919 margin-bottom: 4px;
977 920 }
978 921
979 -.global-styles-ui-screen-revisions__pagination.global-styles-ui-screen-revisions__pagination {
980 - justify-content: space-between;
981 - gap: 2px;
982 -}
983 -
984 -.global-styles-ui-screen-revisions__pagination.global-styles-ui-screen-revisions__pagination .edit-site-pagination__total {
985 - position: absolute;
986 - left: -1000px;
987 - height: 1px;
988 - margin: -1px;
989 - overflow: hidden;
990 -}
991 -
992 -.global-styles-ui-screen-revisions__pagination.global-styles-ui-screen-revisions__pagination .components-text {
993 - font-size: 12px;
994 - will-change: opacity;
995 -}
996 -
997 -.global-styles-ui-screen-revisions__pagination.global-styles-ui-screen-revisions__pagination .components-button.is-tertiary {
998 - color: #1e1e1e;
999 -}
1000 -
1001 -.global-styles-ui-screen-revisions__pagination.global-styles-ui-screen-revisions__pagination .components-button.is-tertiary:disabled,
1002 -.global-styles-ui-screen-revisions__pagination.global-styles-ui-screen-revisions__pagination .components-button.is-tertiary[aria-disabled=true] {
1003 - color: #949494;
1004 -}
1005 -
1006 -.global-styles-ui-screen-revisions__footer {
1007 - height: 56px;
1008 - z-index: 1;
1009 - position: sticky;
1010 - min-width: 100%;
1011 - bottom: 0;
1012 - background: #fff;
1013 - padding: 12px;
1014 - border-top: 1px solid #ddd;
1015 - box-sizing: border-box;
1016 -}
1017 -
1018 922 .global-styles-ui-variations_item {
1019 923 box-sizing: border-box;
1020 924 cursor: var(--wpds-cursor-control, pointer);
1021 925 }
@@ -1096,13 +1000,34 @@
1096 1000 justify-content: center;
1097 1001 border-radius: 2px;
1098 1002 }
1099 1003
1004 +.global-styles-ui-block-types-filter {
1005 + margin-bottom: 12px;
1006 + padding: 0 16px;
1007 +}
1008 +
1100 1009 .global-styles-ui-block-types-search {
1101 - margin-bottom: 10px;
1102 - padding: 0 16px;
1010 + flex-grow: 1;
1103 1011 }
1104 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 +
1105 1030 .global-styles-ui-screen-typography__font-variants-count {
1106 1031 color: #757575;
1107 1032 }
1108 1033
@@ -1125,15 +1050,15 @@
1125 1050
1126 1051 .global-styles-ui-subtitle {
1127 1052 margin-bottom: 0 !important;
1128 1053 text-transform: uppercase;
1129 - font-weight: 499 !important;
1054 + font-weight: var(--wpds-typography-font-weight-emphasis, 600) !important;
1130 1055 font-size: 11px !important;
1131 1056 }
1132 1057
1133 1058 .global-styles-ui-section-title {
1134 1059 color: #2f2f2f;
1135 - font-weight: 600;
1060 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
1136 1061 line-height: 1.2;
1137 1062 padding: 16px 16px 0;
1138 1063 margin: 0;
1139 1064 }
@@ -1144,10 +1069,20 @@
1144 1069
1145 1070 .global-styles-ui__color-indicator-wrapper {
1146 1071 height: 24px;
1147 1072 flex-shrink: 0;
1073 + display: flex;
1074 + align-items: center;
1148 1075 }
1149 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 +
1150 1085 .global-styles-ui__shadows-panel__options-container,
1151 1086 .global-styles-ui__typography-panel__options-container {
1152 1087 height: 24px;
1153 1088 }
@@ -1159,9 +1094,10 @@
1159 1094 border-radius: 2px;
1160 1095 overflow: hidden;
1161 1096 }
1162 1097
1163 -.global-styles-ui__shadow-preview-panel {
1098 +.global-styles-ui__shadow-preview-panel,
1099 +.global-styles-ui__text-shadow-preview-panel {
1164 1100 height: 144px;
1165 1101 border: #ddd 1px solid;
1166 1102 border-radius: 2px;
1167 1103 overflow: auto;
@@ -1171,9 +1107,9 @@
1171 1107 /*rtl:end:ignore*/
1172 1108 background-size: 16px 16px;
1173 1109 }
1174 1110
1175 -.global-styles-ui__shadow-preview-panel .global-styles-ui__shadow-preview-block {
1111 +.global-styles-ui__shadow-preview-block {
1176 1112 border: #ddd 1px solid;
1177 1113 border-radius: 2px;
1178 1114 background-color: #fff;
1179 1115 width: 60%;
@@ -1179,22 +1115,44 @@
1179 1115 width: 60%;
1180 1116 height: 60px;
1181 1117 }
1182 1118
1183 -.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 {
1184 1139 width: 280px;
1185 1140 }
1186 1141
1187 -.global-styles-ui__shadow-editor-panel {
1142 +.global-styles-ui__shadow-editor-panel,
1143 +.global-styles-ui__text-shadow-editor-panel {
1188 1144 margin-bottom: 4px;
1189 1145 }
1190 1146
1191 -.global-styles-ui__shadow-editor__dropdown {
1147 +.global-styles-ui__shadow-editor__dropdown,
1148 +.global-styles-ui__text-shadow-editor__dropdown {
1192 1149 width: 100%;
1193 1150 position: relative;
1194 1151 }
1195 1152
1196 -.global-styles-ui__shadow-editor__dropdown-toggle {
1153 +.global-styles-ui__shadow-editor__dropdown-toggle,
1154 +.global-styles-ui__text-shadow-editor__dropdown-toggle {
1197 1155 width: 100%;
1198 1156 height: auto;
1199 1157 padding-top: 8px;
1200 1158 padding-bottom: 8px;
@@ -1201,14 +1159,16 @@
1201 1159 text-align: left;
1202 1160 border-radius: inherit;
1203 1161 }
1204 1162
1205 -.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 {
1206 1165 background: #f0f0f0;
1207 1166 color: var(--wp-admin-theme-color);
1208 1167 }
1209 1168
1210 -.global-styles-ui__shadow-editor__remove-button {
1169 +.global-styles-ui__shadow-editor__remove-button,
1170 +.global-styles-ui__text-shadow-editor__remove-button {
1211 1171 position: absolute;
1212 1172 right: 8px;
1213 1173 top: 8px;
1214 1174 opacity: 0;
@@ -1213,18 +1173,19 @@
1213 1173 top: 8px;
1214 1174 opacity: 0;
1215 1175 }
1216 1176
1217 -.global-styles-ui__shadow-editor__remove-button.global-styles-ui__shadow-editor__remove-button {
1218 - border: none;
1219 -}
1220 -
1221 -.global-styles-ui__shadow-editor__dropdown-toggle:hover + .global-styles-ui__shadow-editor__remove-button, .global-styles-ui__shadow-editor__remove-button:focus, .global-styles-ui__shadow-editor__remove-button:hover {
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 {
1222 1182 opacity: 1;
1223 1183 }
1224 1184
1225 1185 @media (hover: none) {
1226 - .global-styles-ui__shadow-editor__remove-button {
1186 + .global-styles-ui__shadow-editor__remove-button,
1187 + .global-styles-ui__text-shadow-editor__remove-button {
1227 1188 opacity: 1;
1228 1189 }
1229 1190 }
1230 1191 .global-styles-ui-screen-css {
@@ -1277,8 +1238,16 @@
1277 1238 flex-direction: column;
1278 1239 height: 100%;
1279 1240 }
1280 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 +
1281 1250 .global-styles-ui-sidebar__navigator-screen .single-column {
1282 1251 grid-column: span 1;
1283 1252 }
1284 1253
@@ -1300,9 +1269,10 @@
1300 1269 clip-path: border-box;
1301 1270 }
1302 1271
1303 1272 .global-styles-ui-color-palette-panel,
1304 -.global-styles-ui-gradient-palette-panel {
1273 +.global-styles-ui-gradient-palette-panel,
1274 +.global-styles-ui-duotone-palette-panel {
1305 1275 padding: 16px;
1306 1276 }
1307 1277
1308 1278 /**
@@ -1374,8 +1344,14 @@
1374 1344 /**
1375 1345 * Focus styles.
1376 1346 */
1377 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 +/**
1378 1354 * Applies editor left position to the selector passed as argument
1379 1355 */
1380 1356 /**
1381 1357 * Styles that are reused verbatim in a few places
@@ -1400,9 +1376,8 @@
1400 1376 flex-grow: 1;
1401 1377 min-height: 0;
1402 1378 box-sizing: border-box;
1403 1379 scroll-padding-bottom: 64px;
1404 - /* stylelint-disable-next-line property-no-unknown -- '@container' not globally permitted */
1405 1380 container: dataviews-wrapper/inline-size;
1406 1381 display: flex;
1407 1382 flex-direction: column;
1408 1383 font-size: var(--wpds-typography-font-size-md, 13px);
@@ -1425,8 +1400,16 @@
1425 1400 .dataviews-filters__container {
1426 1401 transition: padding ease-out 0.1s;
1427 1402 }
1428 1403 }
1404 +.dataviews__search {
1405 + flex-grow: 1;
1406 +}
1407 +
1408 +.dataviews__search .dataviews-search {
1409 + flex-basis: 210px;
1410 +}
1411 +
1429 1412 .dataviews-no-results,
1430 1413 .dataviews-loading {
1431 1414 padding: 0 var(--wpds-dimension-padding-2xl, 24px);
1432 1415 flex-grow: 1;
@@ -1463,8 +1446,12 @@
1463 1446 .dataviews-loading-more {
1464 1447 text-align: center;
1465 1448 }
1466 1449
1450 +.dataviews-loading-more[aria-hidden=true] {
1451 + visibility: hidden;
1452 +}
1453 +
1467 1454 @container (max-width: 430px) {
1468 1455 .dataviews__view-actions,
1469 1456 .dataviews-filters__container {
1470 1457 padding: var(--wpds-dimension-padding-md, 12px) var(--wpds-dimension-padding-2xl, 24px);
@@ -1471,9 +1458,9 @@
1471 1458 }
1472 1459 }
1473 1460 .dataviews-title-field {
1474 1461 font-size: var(--wpds-typography-font-size-md, 13px);
1475 - font-weight: var(--wpds-typography-font-weight-medium, 499);
1462 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
1476 1463 color: var(--wpds-color-foreground-content-neutral, #1e1e1e);
1477 1464 text-overflow: ellipsis;
1478 1465 white-space: nowrap;
1479 1466 width: 100%;
@@ -1617,10 +1604,10 @@
1617 1604 }
1618 1605
1619 1606 .dataviews-filters__summary-operators-container .dataviews-filters__summary-operators-filter-select {
1620 1607 width: 100%;
1608 + min-width: 0;
1621 1609 white-space: nowrap;
1622 - overflow: hidden;
1623 1610 }
1624 1611
1625 1612 .dataviews-filters__summary-chip-container {
1626 1613 position: relative;
@@ -1671,9 +1658,9 @@
1671 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));
1672 1659 }
1673 1660
1674 1661 .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip .dataviews-filters-__summary-filter-text-name {
1675 - font-weight: var(--wpds-typography-font-weight-medium, 499);
1662 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
1676 1663 }
1677 1664
1678 1665 .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove {
1679 1666 width: var(--wpds-dimension-size-sm, 24px);
@@ -1692,9 +1679,9 @@
1692 1679 cursor: var(--wpds-cursor-control, pointer);
1693 1680 }
1694 1681
1695 1682 .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove svg {
1696 - fill: var(--wpds-color-foreground-interactive-neutral, #1e1e1e);
1683 + color: var(--wpds-color-foreground-interactive-neutral, #1e1e1e);
1697 1684 }
1698 1685
1699 1686 .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove:hover, .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove:focus {
1700 1687 background: var(--wpds-color-background-interactive-neutral-weak-active, #ededed);
@@ -1700,13 +1687,13 @@
1700 1687 background: var(--wpds-color-background-interactive-neutral-weak-active, #ededed);
1701 1688 }
1702 1689
1703 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 {
1704 - fill: var(--wpds-color-foreground-interactive-neutral-active, #1e1e1e);
1691 + color: var(--wpds-color-foreground-interactive-neutral-active, #1e1e1e);
1705 1692 }
1706 1693
1707 1694 .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove.has-values svg {
1708 - fill: var(--wpds-color-foreground-interactive-brand, var(--wp-admin-theme-color, #3858e9));
1695 + color: var(--wpds-color-foreground-interactive-brand, var(--wp-admin-theme-color, #3858e9));
1709 1696 }
1710 1697
1711 1698 .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove.has-values:hover {
1712 1699 background: var(--wpds-color-background-interactive-brand-weak-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 12%, white));
@@ -1724,9 +1711,9 @@
1724 1711 border-top: 1px solid var(--wpds-color-stroke-surface-neutral, #dbdbdb);
1725 1712 }
1726 1713
1727 1714 .dataviews-filters__search-widget-filter-combobox-list .dataviews-filters__search-widget-filter-combobox-item-value [data-user-value] {
1728 - font-weight: 600;
1715 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
1729 1716 }
1730 1717
1731 1718 .dataviews-filters__search-widget-listbox {
1732 1719 padding: var(--wpds-dimension-padding-xs, 4px);
@@ -1741,12 +1728,13 @@
1741 1728 box-sizing: border-box;
1742 1729 padding: var(--wpds-dimension-padding-xs, 4px) var(--wpds-dimension-padding-md, 12px);
1743 1730 cursor: default;
1744 1731 min-height: var(--wpds-dimension-size-md, 32px);
1745 - font-family: -apple-system, "system-ui", "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
1746 - font-weight: 400;
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);
1747 1734 font-size: 13px;
1748 1735 line-height: 20px;
1736 + color: var(--wpds-color-foreground-interactive-neutral, #1e1e1e);
1749 1737 }
1750 1738
1751 1739 .dataviews-filters__search-widget-listitem:last-child {
1752 1740 margin-block-end: 0;
@@ -1753,8 +1741,9 @@
1753 1741 }
1754 1742
1755 1743 .dataviews-filters__search-widget-listitem:hover, .dataviews-filters__search-widget-listitem[data-active-item], .dataviews-filters__search-widget-listitem:focus {
1756 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);
1757 1746 }
1758 1747
1759 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 {
1760 1749 border-color: var(--wpds-color-stroke-interactive-brand-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 85%, black));
@@ -1766,10 +1755,11 @@
1766 1755 background: var(--wpds-color-background-interactive-brand-strong-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 93%, black));
1767 1756 }
1768 1757
1769 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 {
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));
1770 1761 border-color: var(--wpds-color-stroke-interactive-brand-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 85%, black));
1771 - background: var(--wpds-color-background-surface-neutral-strong, #fff);
1772 1762 }
1773 1763
1774 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 {
1775 1765 border-color: var(--wpds-color-stroke-interactive-brand-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 85%, black));
@@ -1775,8 +1765,12 @@
1775 1765 border-color: var(--wpds-color-stroke-interactive-brand-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 85%, black));
1776 1766 background: var(--wpds-color-background-interactive-brand-strong-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 93%, black));
1777 1767 }
1778 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 +
1779 1773 .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-value {
1780 1774 overflow: hidden;
1781 1775 text-overflow: ellipsis;
1782 1776 white-space: nowrap;
@@ -1788,9 +1782,9 @@
1788 1782 overflow: hidden;
1789 1783 text-overflow: ellipsis;
1790 1784 font-size: var(--wpds-typography-font-size-sm, 12px);
1791 1785 line-height: 16px;
1792 - color: var(--wpds-color-foreground-content-neutral-weak, #707070);
1786 + color: var(--wpds-color-foreground-interactive-neutral-weak, #707070);
1793 1787 }
1794 1788
1795 1789 .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-single-selection {
1796 1790 border: 1px solid #1e1e1e;
@@ -1879,28 +1873,22 @@
1879 1873 }
1880 1874 .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection {
1881 1875 --checkbox-size: 24px;
1882 1876 flex-shrink: 0;
1883 - border: 1px solid #1e1e1e;
1877 + border: var(--wpds-border-width-xs, 1px) solid var(--wpds-color-stroke-interactive-neutral, #8d8d8d);
1884 1878 margin-right: 12px;
1885 1879 transition: none;
1886 1880 border-radius: 2px;
1887 - 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;
1888 1882 padding: 6px 8px;
1889 1883 /* Fonts smaller than 16px causes mobile safari to zoom. */
1890 1884 font-size: 16px;
1891 1885 /* Override core line-height. To be reviewed. */
1892 1886 line-height: normal;
1893 - box-shadow: 0 0 0 transparent;
1894 - border-radius: 2px;
1895 - 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);
1896 1889 }
1897 1890
1898 -@media not (prefers-reduced-motion) {
1899 - .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection {
1900 - transition: box-shadow 0.1s linear;
1901 - }
1902 -}
1903 1891 @media (min-width: 600px) {
1904 1892 .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection {
1905 1893 font-size: 13px;
1906 1894 /* Override core line-height. To be reviewed. */
@@ -1906,20 +1894,25 @@
1906 1894 /* Override core line-height. To be reviewed. */
1907 1895 line-height: normal;
1908 1896 }
1909 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 +
1910 1902 .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection:focus {
1911 - border-color: var(--wp-admin-theme-color);
1912 - box-shadow: 0 0 0 0.5px var(--wp-admin-theme-color);
1913 - 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;
1914 1907 }
1915 1908
1916 -.dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection::-moz-placeholder {
1909 +.dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection::placeholder {
1917 1910 color: rgba(30, 30, 30, 0.62);
1918 1911 }
1919 1912
1920 -.dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection::placeholder {
1921 - color: rgba(30, 30, 30, 0.62);
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);
1922 1915 }
1923 1916
1924 1917 .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection:focus {
1925 1918 box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--wp-admin-theme-color);
@@ -1952,9 +1945,9 @@
1952 1945 display: inline-block;
1953 1946 vertical-align: middle;
1954 1947 width: 16px;
1955 1948 /* stylelint-disable-next-line font-family-no-missing-generic-family-keyword -- dashicons don't need a generic family keyword. */
1956 - font: normal 30px/1 dashicons;
1949 + font: 400 30px/1 dashicons;
1957 1950 speak: none;
1958 1951 -webkit-font-smoothing: antialiased;
1959 1952 -moz-osx-font-smoothing: grayscale;
1960 1953 }
@@ -1965,17 +1958,23 @@
1965 1958 font-size: 21px;
1966 1959 }
1967 1960 }
1968 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 {
1969 - background: #f0f0f0;
1970 - 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);
1971 1965 cursor: default;
1972 1966 opacity: 1;
1973 1967 }
1974 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 +
1975 1973 .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection {
1976 1974 position: relative;
1977 - background: var(--wpds-color-background-interactive-neutral-weak, rgba(0, 0, 0, 0));
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));
1978 1977 color: var(--wpds-color-foreground-content-neutral, #1e1e1e);
1979 1978 margin: 0;
1980 1979 padding: 0;
1981 1980 width: var(--checkbox-size);
@@ -1998,9 +1997,9 @@
1998 1997 }
1999 1998
2000 1999 .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection.is-selected svg {
2001 2000 --checkmark-size: var(--checkbox-size);
2002 - fill: var(--wpds-color-foreground-interactive-neutral-strong, #f0f0f0);
2001 + color: var(--wpds-color-foreground-interactive-neutral-strong, #f0f0f0);
2003 2002 position: absolute;
2004 2003 left: 50%;
2005 2004 top: 50%;
2006 2005 transform: translate(-50%, -50%);
@@ -2018,24 +2017,18 @@
2018 2017 padding: var(--wpds-dimension-padding-sm, 8px);
2019 2018 }
2020 2019
2021 2020 .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input {
2022 - 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;
2023 2022 padding: 6px 8px;
2024 2023 /* Fonts smaller than 16px causes mobile safari to zoom. */
2025 2024 font-size: 16px;
2026 2025 /* Override core line-height. To be reviewed. */
2027 2026 line-height: normal;
2028 - box-shadow: 0 0 0 transparent;
2029 - border-radius: 2px;
2030 - 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);
2031 2029 }
2032 2030
2033 -@media not (prefers-reduced-motion) {
2034 - .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input {
2035 - transition: box-shadow 0.1s linear;
2036 - }
2037 -}
2038 2031 @media (min-width: 600px) {
2039 2032 .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input {
2040 2033 font-size: 13px;
2041 2034 /* Override core line-height. To be reviewed. */
@@ -2041,16 +2034,17 @@
2041 2034 /* Override core line-height. To be reviewed. */
2042 2035 line-height: normal;
2043 2036 }
2044 2037 }
2045 -.dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input:focus {
2046 - border-color: var(--wp-admin-theme-color);
2047 - box-shadow: 0 0 0 0.5px var(--wp-admin-theme-color);
2048 - outline: 2px solid transparent;
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);
2049 2040 }
2050 2041
2051 -.dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input::-moz-placeholder {
2052 - color: rgba(30, 30, 30, 0.62);
2042 +.dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input:focus {
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;
2053 2047 }
2054 2048
2055 2049 .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input::placeholder {
2056 2050 color: rgba(30, 30, 30, 0.62);
@@ -2073,15 +2067,10 @@
2073 2067 }
2074 2068 }
2075 2069 .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input:focus {
2076 2070 background: var(--wpds-color-background-surface-neutral-strong, #fff);
2077 - box-shadow: inset 0 0 0 var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)) var(--wpds-color-stroke-focus, var(--wp-admin-theme-color, #3858e9));
2078 2071 }
2079 2072
2080 -.dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input::-moz-placeholder {
2081 - color: var(--wpds-color-foreground-content-neutral-weak, #707070);
2082 -}
2083 -
2084 2073 .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input::placeholder {
2085 2074 color: var(--wpds-color-foreground-content-neutral-weak, #707070);
2086 2075 }
2087 2076
@@ -2126,13 +2115,8 @@
2126 2115 color: var(--wpds-color-foreground-interactive-neutral-strong, #f0f0f0);
2127 2116 box-sizing: border-box;
2128 2117 }
2129 2118
2130 -.dataviews-search {
2131 - width: -moz-fit-content;
2132 - width: fit-content;
2133 -}
2134 -
2135 2119 .dataviews-filters__user-input-widget {
2136 2120 padding: var(--wpds-dimension-padding-lg, 16px);
2137 2121 }
2138 2122
@@ -2193,9 +2177,9 @@
2193 2177 }
2194 2178 }
2195 2179 .dataviews-pagination__page-select {
2196 2180 font-size: 11px;
2197 - font-weight: var(--wpds-typography-font-weight-medium, 499);
2181 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
2198 2182 text-transform: uppercase;
2199 2183 }
2200 2184
2201 2185 @media (min-width: 600px) {
@@ -2200,9 +2184,9 @@
2200 2184
2201 2185 @media (min-width: 600px) {
2202 2186 .dataviews-pagination__page-select .components-select-control__input {
2203 2187 font-size: 11px !important;
2204 - font-weight: var(--wpds-typography-font-weight-medium, 499);
2188 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
2205 2189 }
2206 2190 }
2207 2191 .dataviews-action-modal {
2208 2192 z-index: 1000001;
@@ -2231,9 +2215,8 @@
2231 2215 }
2232 2216
2233 2217 .dataviews-view-config {
2234 2218 width: 320px;
2235 - /* stylelint-disable-next-line property-no-unknown -- the linter needs to be updated to accepted the container-type property */
2236 2219 container-type: inline-size;
2237 2220 font-size: var(--wpds-typography-font-size-md, 13px);
2238 2221 line-height: var(--wpds-typography-line-height-sm, 20px);
2239 2222 }
@@ -2410,9 +2393,8 @@
2410 2393 }
2411 2394
2412 2395 .dataviews-view-grid .dataviews-view-grid__card .dataviews-view-grid__title-field--clickable,
2413 2396 .dataviews-view-grid-infinite-scroll .dataviews-view-grid__card .dataviews-view-grid__title-field--clickable {
2414 - width: -moz-fit-content;
2415 2397 width: fit-content;
2416 2398 }
2417 2399
2418 2400 .dataviews-view-grid .dataviews-view-grid__card.is-selected .dataviews-view-grid__fields .dataviews-view-grid__field .dataviews-view-grid__field-value,
@@ -2432,9 +2414,9 @@
2432 2414
2433 2415 .dataviews-view-grid .dataviews-view-grid__media,
2434 2416 .dataviews-view-grid-infinite-scroll .dataviews-view-grid__media {
2435 2417 width: 100%;
2436 - aspect-ratio: 1/1;
2418 + aspect-ratio: var(--wp-dataviews-media-aspect-ratio, 1/1);
2437 2419 background-color: var(--wpds-color-background-surface-neutral-strong, #fff);
2438 2420 border-radius: var(--wpds-border-radius-md, 4px);
2439 2421 overflow: hidden;
2440 2422 position: relative;
@@ -2446,9 +2428,8 @@
2446 2428 }
2447 2429
2448 2430 .dataviews-view-grid .dataviews-view-grid__media img,
2449 2431 .dataviews-view-grid-infinite-scroll .dataviews-view-grid__media img {
2450 - -o-object-fit: cover;
2451 2432 object-fit: cover;
2452 2433 width: 100%;
2453 2434 height: 100%;
2454 2435 }
@@ -2475,8 +2456,18 @@
2475 2456 box-shadow: none;
2476 2457 background: var(--wpds-color-background-surface-neutral, #fcfcfc);
2477 2458 }
2478 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 +
2479 2470 .dataviews-view-grid .dataviews-view-grid__fields,
2480 2471 .dataviews-view-grid-infinite-scroll .dataviews-view-grid__fields {
2481 2472 position: relative;
2482 2473 font-size: 12px;
@@ -2606,9 +2597,9 @@
2606 2597 }
2607 2598
2608 2599 .dataviews-view-grid__group-header {
2609 2600 font-size: var(--wpds-typography-font-size-lg, 15px);
2610 - font-weight: var(--wpds-typography-font-weight-medium, 499);
2601 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
2611 2602 color: var(--wpds-color-foreground-content-neutral, #1e1e1e);
2612 2603 margin: 0 0 var(--wpds-dimension-gap-sm, 8px) 0;
2613 2604 padding: 0 var(--wpds-dimension-padding-2xl, 24px);
2614 2605 container-type: inline-size;
@@ -2637,9 +2628,8 @@
2637 2628
2638 2629 .dataviews-view-list div[role=row] .dataviews-view-list__item-actions,
2639 2630 .dataviews-view-list div[role=article] .dataviews-view-list__item-actions {
2640 2631 display: flex;
2641 - width: -moz-max-content;
2642 2632 width: max-content;
2643 2633 flex: 0 0 auto;
2644 2634 gap: var(--wpds-dimension-gap-xs, 4px);
2645 2635 white-space: nowrap;
@@ -2692,10 +2682,9 @@
2692 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,
2693 2683 .dataviews-view-list div[role=article]:not(.is-selected):hover,
2694 2684 .dataviews-view-list div[role=article]:not(.is-selected).is-hovered,
2695 2685 .dataviews-view-list div[role=article]:not(.is-selected):focus-within {
2696 - color: var(--wpds-color-foreground-interactive-brand, var(--wp-admin-theme-color, #3858e9));
2697 - background-color: var(--wpds-color-background-interactive-brand-weak, rgba(0, 0, 0, 0));
2686 + background-color: var(--wpds-color-background-interactive-neutral-weak-active, #ededed);
2698 2687 }
2699 2688
2700 2689 .dataviews-view-list div[role=row]:not(.is-selected):hover .dataviews-title-field,
2701 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,
@@ -2706,9 +2695,9 @@
2706 2695 .dataviews-view-list div[role=article]:not(.is-selected).is-hovered .dataviews-title-field,
2707 2696 .dataviews-view-list div[role=article]:not(.is-selected).is-hovered .dataviews-view-list__field,
2708 2697 .dataviews-view-list div[role=article]:not(.is-selected):focus-within .dataviews-title-field,
2709 2698 .dataviews-view-list div[role=article]:not(.is-selected):focus-within .dataviews-view-list__field {
2710 - color: var(--wpds-color-foreground-interactive-brand, var(--wp-admin-theme-color, #3858e9));
2699 + color: var(--wpds-color-foreground-interactive-neutral, #1e1e1e);
2711 2700 }
2712 2701
2713 2702 .dataviews-view-list div[role=row].is-selected .dataviews-view-list__item-wrapper,
2714 2703 .dataviews-view-list div[role=row].is-selected:focus-within .dataviews-view-list__item-wrapper,
@@ -2714,9 +2703,9 @@
2714 2703 .dataviews-view-list div[role=row].is-selected:focus-within .dataviews-view-list__item-wrapper,
2715 2704 .dataviews-view-list div[role=article].is-selected .dataviews-view-list__item-wrapper,
2716 2705 .dataviews-view-list div[role=article].is-selected:focus-within .dataviews-view-list__item-wrapper {
2717 2706 background-color: var(--wpds-color-background-interactive-brand-weak-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 12%, white));
2718 - color: var(--wpds-color-foreground-interactive-neutral, #1e1e1e);
2707 + color: var(--wpds-color-foreground-content-neutral, #1e1e1e);
2719 2708 }
2720 2709
2721 2710 .dataviews-view-list div[role=row].is-selected .dataviews-view-list__item-wrapper .dataviews-title-field,
2722 2711 .dataviews-view-list div[role=row].is-selected .dataviews-view-list__item-wrapper .dataviews-view-list__field,
@@ -2725,9 +2714,9 @@
2725 2714 .dataviews-view-list div[role=article].is-selected .dataviews-view-list__item-wrapper .dataviews-title-field,
2726 2715 .dataviews-view-list div[role=article].is-selected .dataviews-view-list__item-wrapper .dataviews-view-list__field,
2727 2716 .dataviews-view-list div[role=article].is-selected:focus-within .dataviews-view-list__item-wrapper .dataviews-title-field,
2728 2717 .dataviews-view-list div[role=article].is-selected:focus-within .dataviews-view-list__item-wrapper .dataviews-view-list__field {
2729 - color: var(--wpds-color-foreground-interactive-neutral-active, #1e1e1e);
2718 + color: var(--wpds-color-foreground-content-neutral, #1e1e1e);
2730 2719 }
2731 2720
2732 2721 .dataviews-view-list .dataviews-view-list__item {
2733 2722 position: absolute;
@@ -2733,10 +2722,8 @@
2733 2722 position: absolute;
2734 2723 z-index: 1;
2735 2724 inset: 0;
2736 2725 scroll-margin: var(--wpds-dimension-gap-sm, 8px) 0;
2737 - -webkit-appearance: none;
2738 - -moz-appearance: none;
2739 2726 appearance: none;
2740 2727 border: none;
2741 2728 background: none;
2742 2729 padding: 0;
@@ -2779,9 +2766,8 @@
2779 2766
2780 2767 .dataviews-view-list .dataviews-view-list__media-wrapper img {
2781 2768 width: 100%;
2782 2769 height: 100%;
2783 - -o-object-fit: cover;
2784 2770 object-fit: cover;
2785 2771 }
2786 2772
2787 2773 .dataviews-view-list .dataviews-view-list__media-wrapper::after {
@@ -2801,9 +2787,9 @@
2801 2787 min-width: 0;
2802 2788 }
2803 2789
2804 2790 .dataviews-view-list .dataviews-view-list__field {
2805 - color: var(--wpds-color-foreground-interactive-neutral-weak, #707070);
2791 + color: var(--wpds-color-foreground-content-neutral-weak, #707070);
2806 2792 }
2807 2793
2808 2794 .dataviews-view-list .dataviews-view-list__fields {
2809 2795 display: flex;
@@ -2900,11 +2886,11 @@
2900 2886 }
2901 2887 }
2902 2888 .dataviews-view-list__group-header {
2903 2889 font-size: var(--wpds-typography-font-size-lg, 15px);
2904 - font-weight: var(--wpds-typography-font-weight-medium, 499);
2890 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
2905 2891 color: var(--wpds-color-foreground-content-neutral, #1e1e1e);
2906 - margin: 0 0 var(--wpds-dimension-gap-sm, 8px) 0;
2892 + margin: 0 0 var(--wpds-dimension-gap-lg, 16px) 0;
2907 2893 padding: 0 var(--wpds-dimension-padding-2xl, 24px);
2908 2894 }
2909 2895
2910 2896 .dataviews-view-table {
@@ -2920,9 +2906,9 @@
2920 2906
2921 2907 .dataviews-view-table th {
2922 2908 text-align: left;
2923 2909 color: var(--wpds-color-foreground-content-neutral, #1e1e1e);
2924 - font-weight: normal;
2910 + font-weight: 400;
2925 2911 font-size: var(--wpds-typography-font-size-md, 13px);
2926 2912 }
2927 2913
2928 2914 .dataviews-view-table td,
@@ -2950,9 +2936,9 @@
2950 2936 top: 0;
2951 2937 bottom: 0;
2952 2938 left: 0;
2953 2939 width: 1px;
2954 - background-color: var(--wpds-color-background-surface-neutral, #fcfcfc);
2940 + background-color: var(--wpds-color-stroke-surface-neutral-weak, #f0f0f0);
2955 2941 }
2956 2942
2957 2943 .dataviews-view-table td.dataviews-view-table__checkbox-column,
2958 2944 .dataviews-view-table th.dataviews-view-table__checkbox-column {
@@ -3045,9 +3031,9 @@
3045 3031 padding-top: var(--wpds-dimension-padding-sm, 8px);
3046 3032 padding-bottom: var(--wpds-dimension-padding-sm, 8px);
3047 3033 font-size: 11px;
3048 3034 text-transform: uppercase;
3049 - font-weight: var(--wpds-typography-font-weight-medium, 499);
3035 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
3050 3036 }
3051 3037
3052 3038 .dataviews-view-table thead th:has(.dataviews-view-table-header-button) {
3053 3039 padding-left: var(--wpds-dimension-padding-xs, 4px);
@@ -3093,9 +3079,9 @@
3093 3079 .dataviews-view-table .dataviews-view-table-header-button {
3094 3080 padding: var(--wpds-dimension-padding-xs, 4px) var(--wpds-dimension-padding-sm, 8px);
3095 3081 font-size: 11px;
3096 3082 text-transform: uppercase;
3097 - font-weight: var(--wpds-typography-font-weight-medium, 499);
3083 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
3098 3084 }
3099 3085
3100 3086 .dataviews-view-table .dataviews-view-table-header-button:not(:hover) {
3101 3087 color: var(--wpds-color-foreground-interactive-neutral, #1e1e1e);
@@ -3164,9 +3150,8 @@
3164 3150
3165 3151 .dataviews-column-primary__media img {
3166 3152 width: var(--wpds-dimension-size-md, 32px);
3167 3153 height: var(--wpds-dimension-size-md, 32px);
3168 - -o-object-fit: cover;
3169 3154 object-fit: cover;
3170 3155 }
3171 3156
3172 3157 .dataviews-column-primary__media::after {
@@ -3179,8 +3164,19 @@
3179 3164 box-shadow: inset 0 0 0 var(--wpds-border-width-xs, 1px) rgba(0, 0, 0, 0.1);
3180 3165 border-radius: var(--wpds-border-radius-md, 4px);
3181 3166 }
3182 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 +
3183 3179 .dataviews-view-table__cell-content-wrapper:not(.dataviews-column-primary__media),
3184 3180 .dataviews-view-table__primary-column-content:not(.dataviews-column-primary__media) {
3185 3181 min-width: 15ch;
3186 3182 max-width: 80ch;
@@ -3186,9 +3182,9 @@
3186 3182 max-width: 80ch;
3187 3183 }
3188 3184
3189 3185 .dataviews-view-table__group-header-row .dataviews-view-table__group-header-cell {
3190 - font-weight: var(--wpds-typography-font-weight-medium, 499);
3186 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
3191 3187 padding: var(--wpds-dimension-padding-md, 12px) var(--wpds-dimension-padding-2xl, 24px);
3192 3188 color: var(--wpds-color-foreground-content-neutral, #1e1e1e);
3193 3189 }
3194 3190
@@ -3234,9 +3230,8 @@
3234 3230 text-align: start;
3235 3231 }
3236 3232
3237 3233 .dataviews-view-picker-grid .dataviews-view-picker-grid__card .dataviews-view-picker-grid__title-field--clickable {
3238 - width: -moz-fit-content;
3239 3234 width: fit-content;
3240 3235 }
3241 3236
3242 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 {
@@ -3272,13 +3267,13 @@
3272 3267 aspect-ratio: 1/1;
3273 3268 min-height: 0;
3274 3269 background-color: var(--wpds-color-background-surface-neutral-strong, #fff);
3275 3270 border-radius: var(--wpds-border-radius-md, 4px);
3271 + overflow: hidden;
3276 3272 position: relative;
3277 3273 }
3278 3274
3279 3275 .dataviews-view-picker-grid .dataviews-view-picker-grid__media img {
3280 - -o-object-fit: cover;
3281 3276 object-fit: cover;
3282 3277 width: 100%;
3283 3278 height: 100%;
3284 3279 }
@@ -3294,8 +3289,16 @@
3294 3289 border-radius: var(--wpds-border-radius-md, 4px);
3295 3290 pointer-events: none;
3296 3291 }
3297 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 +
3298 3301 .dataviews-view-picker-grid .dataviews-view-picker-grid__fields {
3299 3302 position: relative;
3300 3303 font-size: 12px;
3301 3304 line-height: 16px;
@@ -3367,9 +3370,9 @@
3367 3370 }
3368 3371
3369 3372 .dataviews-view-picker-grid-group__header {
3370 3373 font-size: var(--wpds-typography-font-size-lg, 15px);
3371 - font-weight: var(--wpds-typography-font-weight-medium, 499);
3374 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
3372 3375 color: var(--wpds-color-foreground-content-neutral, #1e1e1e);
3373 3376 margin: 0 0 var(--wpds-dimension-gap-sm, 8px) 0;
3374 3377 padding: 0 48px;
3375 3378 }
@@ -3417,9 +3420,9 @@
3417 3420 }
3418 3421
3419 3422 .dataviews-view-activity .dataviews-view-activity__group-header {
3420 3423 font-size: var(--wpds-typography-font-size-lg, 15px);
3421 - font-weight: var(--wpds-typography-font-weight-medium, 499);
3424 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
3422 3425 color: var(--wpds-color-foreground-content-neutral-weak, #707070);
3423 3426 margin: 0 0 var(--wpds-dimension-gap-sm, 8px) 0;
3424 3427 padding: 0;
3425 3428 }
@@ -3457,9 +3460,8 @@
3457 3460 }
3458 3461
3459 3462 .dataviews-view-activity .dataviews-view-activity__item-content .dataviews-view-activity__primary-actions {
3460 3463 display: flex;
3461 - width: -moz-max-content;
3462 3464 width: max-content;
3463 3465 flex: 0 0 auto;
3464 3466 }
3465 3467
@@ -3591,9 +3593,8 @@
3591 3593 display: block;
3592 3594 width: 100%;
3593 3595 height: 100%;
3594 3596 margin: 0 auto;
3595 - -o-object-fit: cover;
3596 3597 object-fit: cover;
3597 3598 border-radius: 50%;
3598 3599 box-sizing: border-box;
3599 3600 box-shadow: inset 0 0 0 var(--wpds-border-width-xs, 1px) var(--wpds-color-stroke-surface-neutral, #dbdbdb);
@@ -3788,9 +3789,9 @@
3788 3789 }
3789 3790
3790 3791 .dataviews-view-picker-activity .dataviews-view-picker-activity-group__header {
3791 3792 font-size: var(--wpds-typography-font-size-lg, 15px);
3792 - font-weight: var(--wpds-typography-font-weight-medium, 499);
3793 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
3793 3794 color: var(--wpds-color-foreground-content-neutral-weak, #707070);
3794 3795 margin: 0 0 var(--wpds-dimension-gap-sm, 8px) 0;
3795 3796 padding: 0;
3796 3797 padding-inline-start: var(--wpds-dimension-padding-2xl, 24px);
@@ -3808,9 +3809,8 @@
3808 3809 display: block;
3809 3810 width: 100%;
3810 3811 height: 100%;
3811 3812 margin: 0 auto;
3812 - -o-object-fit: cover;
3813 3813 object-fit: cover;
3814 3814 border-radius: 50%;
3815 3815 box-sizing: border-box;
3816 3816 box-shadow: inset 0 0 0 var(--wpds-border-width-xs, 1px) var(--wpds-color-stroke-surface-neutral, #dbdbdb);
@@ -3864,8 +3864,29 @@
3864 3864 .dataviews-controls__date-preset:active {
3865 3865 background-color: var(--wpds-color-background-interactive-neutral-strong-active, #1e1e1e);
3866 3866 }
3867 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 +
3868 3889 .dataforms-layouts-panel__field-trigger {
3869 3890 position: relative;
3870 3891 color: inherit;
3871 3892 display: flex;
@@ -3908,9 +3929,9 @@
3908 3929 }
3909 3930
3910 3931 .dataforms-layouts-panel__field-trigger.is-disabled .dataforms-layouts-panel__field-control {
3911 3932 color: var(--wpds-color-foreground-content-neutral-weak, #707070);
3912 - font-weight: var(--wpds-typography-font-weight-regular, 400);
3933 + font-weight: var(--wpds-typography-font-weight-default, 400);
3913 3934 }
3914 3935
3915 3936 .dataforms-layouts-panel__field-trigger--edit-always .dataforms-layouts-panel__field-trigger-icon {
3916 3937 opacity: 1;
@@ -3928,8 +3949,14 @@
3928 3949 opacity: 0;
3929 3950 border-radius: var(--wpds-border-radius-xs, 1px);
3930 3951 }
3931 3952
3953 +.dataforms-layouts-panel__field-trigger-icon::after {
3954 + content: "";
3955 + position: absolute;
3956 + inset: 0;
3957 +}
3958 +
3932 3959 .dataforms-layouts-panel__field-trigger-icon:focus-visible {
3933 3960 opacity: 1;
3934 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));
3935 3962 }
@@ -3963,11 +3990,9 @@
3963 3990 color: var(--wpds-color-foreground-content-error-weak, #cc1818);
3964 3991 }
3965 3992
3966 3993 .dataforms-layouts-panel__field-label-error-content {
3967 - position: relative;
3968 - z-index: 1;
3969 - cursor: help;
3994 + pointer-events: none;
3970 3995 color: var(--wpds-color-foreground-content-error-weak, #cc1818);
3971 3996 display: inline-flex;
3972 3997 flex-direction: row;
3973 3998 align-items: center;
@@ -3983,12 +4008,17 @@
3983 4008 align-items: center;
3984 4009 overflow: clip;
3985 4010 padding-inline: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px));
3986 4011 margin-inline: calc(-1 * var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)));
3987 - word-break: break-word;
3988 - font-weight: var(--wpds-typography-font-weight-medium, 499);
4012 + word-break: normal;
4013 + overflow-wrap: anywhere;
4014 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
3989 4015 }
3990 4016
4017 +.dataforms-layouts-panel__field-control:has(a, button) {
4018 + z-index: 1;
4019 +}
4020 +
3991 4021 .dataforms-layouts-panel__field-control > * {
3992 4022 min-width: 0;
3993 4023 }
3994 4024
@@ -4021,12 +4051,8 @@
4021 4051 .components-popover.components-dropdown__content.dataforms-layouts-panel__field-dropdown {
4022 4052 z-index: 159990;
4023 4053 }
4024 4054
4025 -.dataforms-layouts-panel__summary-button:empty {
4026 - min-width: 160px;
4027 -}
4028 -
4029 4055 .dataforms-layouts-regular__field {
4030 4056 width: 100%;
4031 4057 min-height: var(--wpds-dimension-size-md, 32px);
4032 4058 justify-content: flex-start !important;
@@ -4103,10 +4129,10 @@
4103 4129 width: 100%;
4104 4130 }
4105 4131
4106 4132 .dataforms-layouts__wrapper {
4107 - font-family: -apple-system, "system-ui", "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
4108 - 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);
4109 4135 font-size: 13px;
4110 4136 line-height: 20px;
4111 4137 }
4112 4138
@@ -4179,8 +4205,14 @@
4179 4205 /**
4180 4206 * Focus styles.
4181 4207 */
4182 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 +/**
4183 4215 * Applies editor left position to the selector passed as argument
4184 4216 */
4185 4217 /**
4186 4218 * Styles that are reused verbatim in a few places
@@ -4238,9 +4270,9 @@
4238 4270 padding: 12px;
4239 4271 display: grid;
4240 4272 align-items: center;
4241 4273 grid-template-columns: min-content 1fr min-content;
4242 - grid-gap: 4px 8px;
4274 + gap: 4px 8px;
4243 4275 color: #1e1e1e;
4244 4276 }
4245 4277
4246 4278 .fields-create-template-part-modal__area-radio-wrapper + .fields-create-template-part-modal__area-radio-wrapper {
@@ -4317,9 +4349,8 @@
4317 4349 line-height: 1.5;
4318 4350 }
4319 4351
4320 4352 fieldset.fields__media-edit {
4321 - /* stylelint-disable-next-line property-no-unknown -- '@container' not globally permitted */
4322 4353 container-type: inline-size;
4323 4354 }
4324 4355
4325 4356 fieldset.fields__media-edit .fields__media-edit-compact-group {
@@ -4524,11 +4555,9 @@
4524 4555
4525 4556 fieldset.fields__media-edit .fields__media-edit-expanded .fields__media-edit-thumbnail {
4526 4557 width: 100%;
4527 4558 height: 100%;
4528 - -o-object-fit: cover;
4529 4559 object-fit: cover;
4530 - -o-object-position: 50% 50%;
4531 4560 object-position: 50% 50%;
4532 4561 }
4533 4562
4534 4563 fieldset.fields__media-edit .fields__media-edit-expanded .fields__media-edit-filename {
@@ -4557,9 +4586,8 @@
4557 4586 }
4558 4587
4559 4588 fieldset.fields__media-edit .fields__media-edit-expanded.is-multiple:not(.is-empty) {
4560 4589 grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
4561 - /* stylelint-disable-next-line property-no-unknown -- '@container' not globally permitted */
4562 4590 }
4563 4591
4564 4592 @container (max-width: 500px) {
4565 4593 fieldset.fields__media-edit .fields__media-edit-expanded.is-multiple:not(.is-empty) {
@@ -4589,9 +4617,8 @@
4589 4617
4590 4618 .fields-controls__author-avatar img {
4591 4619 width: 16px;
4592 4620 height: 16px;
4593 - -o-object-fit: cover;
4594 4621 object-fit: cover;
4595 4622 opacity: 0;
4596 4623 border-radius: 100%;
4597 4624 }
@@ -4627,18 +4654,15 @@
4627 4654 padding: 0;
4628 4655 margin: 0;
4629 4656 }
4630 4657
4631 -.fields-controls__slug .fields-controls__slug-external-icon {
4632 - margin-left: 5ch;
4633 -}
4634 -
4635 4658 .fields-controls__slug .fields-controls__slug-input input.components-input-control__input {
4636 4659 padding-inline-start: 0 !important;
4637 4660 }
4638 4661
4639 4662 .fields-controls__slug .fields-controls__slug-help-link {
4640 - word-break: break-word;
4663 + word-break: normal;
4664 + overflow-wrap: anywhere;
4641 4665 }
4642 4666
4643 4667 .fields-controls__slug .fields-controls__slug-help {
4644 4668 display: flex;
@@ -4645,9 +4669,9 @@
4645 4669 flex-direction: column;
4646 4670 }
4647 4671
4648 4672 .fields-controls__slug .fields-controls__slug-help .fields-controls__slug-help-slug {
4649 - font-weight: 600;
4673 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
4650 4674 }
4651 4675
4652 4676 .fields-controls__featured-image-image,
4653 4677 .fields-controls__featured-image-placeholder {
@@ -4766,9 +4790,8 @@
4766 4790
4767 4791 .media-editor-preview--image img {
4768 4792 max-width: 100%;
4769 4793 max-height: 100%;
4770 - -o-object-fit: contain;
4771 4794 object-fit: contain;
4772 4795 width: auto;
4773 4796 height: auto;
4774 4797 opacity: 0;
@@ -4790,9 +4813,8 @@
4790 4813 }
4791 4814 .media-editor-preview--video video {
4792 4815 max-width: 100%;
4793 4816 max-height: 100%;
4794 - -o-object-fit: contain;
4795 4817 object-fit: contain;
4796 4818 width: auto;
4797 4819 height: auto;
4798 4820 }
@@ -4811,9 +4833,9 @@
4811 4833 border-radius: 2px;
4812 4834 }
4813 4835
4814 4836 .media-editor-preview__file-name {
4815 - font-weight: 600;
4837 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
4816 4838 margin-bottom: 8px;
4817 4839 }
4818 4840
4819 4841 .media-editor-preview__mime-type {
@@ -4838,8 +4860,9 @@
4838 4860 word-break: break-all;
4839 4861 margin-top: 8px;
4840 4862 }
4841 4863
4864 +/*!rtl:begin:ignore*/
4842 4865 .wp-media-editor-image-editor {
4843 4866 position: relative;
4844 4867 overflow: hidden;
4845 4868 width: 100%;
@@ -4845,9 +4868,8 @@
4845 4868 width: 100%;
4846 4869 height: 100%;
4847 4870 touch-action: none;
4848 4871 -webkit-user-select: none;
4849 - -moz-user-select: none;
4850 4872 user-select: none;
4851 4873 cursor: grab;
4852 4874 }
4853 4875
@@ -4965,10 +4987,8 @@
4965 4987 box-shadow: 0 0 0 1px var(--wp-image-editor-focus-color, var(--wp-admin-theme-color, #007cba));
4966 4988 }
4967 4989
4968 4990 .wp-media-editor-image-editor__handle {
4969 - -webkit-appearance: none;
4970 - -moz-appearance: none;
4971 4991 appearance: none;
4972 4992 margin: 0;
4973 4993 padding: 0;
4974 4994 font: inherit;
@@ -5059,8 +5079,9 @@
5059 5079 right: -6px;
5060 5080 cursor: nwse-resize;
5061 5081 }
5062 5082
5083 +/*!rtl:end:ignore*/
5063 5084 /**
5064 5085 * Breakpoints & Media Queries
5065 5086 */
5066 5087 /**
@@ -5084,8 +5105,14 @@
5084 5105 /**
5085 5106 * Focus styles.
5086 5107 */
5087 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 +/**
5088 5115 * Applies editor left position to the selector passed as argument
5089 5116 */
5090 5117 /**
5091 5118 * Styles that are reused verbatim in a few places
@@ -5118,48 +5145,53 @@
5118 5145 align-items: center;
5119 5146 justify-content: center;
5120 5147 }
5121 5148
5122 -.media-editor .interface-interface-skeleton {
5123 - position: relative;
5124 - top: auto;
5125 - right: auto;
5126 - bottom: auto;
5127 - left: auto;
5128 - height: 100%;
5129 - max-height: none;
5149 +.media-editor .media-editor__body {
5150 + container-type: inline-size;
5151 + container-name: media-editor-body;
5152 + display: flex;
5130 5153 flex: 1;
5131 - flex-direction: column;
5154 + min-height: 0;
5132 5155 }
5133 5156
5134 -.media-editor-modal .media-editor .interface-interface-skeleton.interface-interface-skeleton {
5135 - top: auto;
5136 -}
5137 -
5138 -.media-editor .interface-interface-skeleton__editor {
5139 - min-width: 0;
5140 - flex: 1;
5141 -}
5142 -
5143 5157 .media-editor .media-editor__content {
5144 5158 display: flex;
5145 5159 flex: 1;
5146 5160 flex-direction: column;
5161 + min-width: 0;
5147 5162 min-height: 0;
5148 - margin: 0 24px;
5149 - border-radius: 8px;
5150 - overflow: hidden;
5163 + margin: 24px 24px 8px 24px;
5151 5164 }
5152 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 +}
5153 5176 .media-editor .media-editor__canvas-toolbar {
5154 5177 display: flex;
5155 - flex-shrink: 0;
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;
5156 5186 justify-content: center;
5187 + align-self: stretch;
5157 5188 background: #e0e0e0;
5189 + border-radius: 0 0 8px 8px;
5158 5190 padding: 8px 16px;
5159 5191 }
5160 5192
5161 -.media-editor .media-editor__canvas-toolbar .media-editor-fine-rotation {
5193 +.media-editor .media-editor__canvas-toolbar .media-editor-fine-rotation .rotation-ruler {
5162 5194 flex: 0 1 360px;
5163 5195 min-width: 0;
5164 5196 }
5165 5197
@@ -5167,8 +5199,9 @@
5167 5199 display: flex;
5168 5200 align-items: center;
5169 5201 justify-content: center;
5170 5202 background: #e0e0e0;
5203 + border-radius: 8px;
5171 5204 overflow: auto;
5172 5205 flex: 1;
5173 5206 min-height: 0;
5174 5207 }
@@ -5180,88 +5213,66 @@
5180 5213 .media-editor .media-editor__canvas-area img,
5181 5214 .media-editor .media-editor__canvas-area video {
5182 5215 max-width: 100%;
5183 5216 max-height: 100%;
5184 - -o-object-fit: contain;
5185 5217 object-fit: contain;
5186 5218 }
5187 5219
5188 5220 .media-editor .media-editor__sidebar {
5189 - box-sizing: border-box;
5221 + display: flex;
5222 + flex: 1;
5223 + flex-direction: column;
5224 + min-width: 0;
5225 + min-height: 0;
5226 + overflow: hidden;
5190 5227 }
5191 5228
5192 -.media-editor .media-editor__sidebar *,
5193 -.media-editor .media-editor__sidebar *::before,
5194 -.media-editor .media-editor__sidebar *::after {
5195 - box-sizing: inherit;
5196 -}
5197 -
5198 5229 @media (min-width: 600px) {
5199 5230 .media-editor .media-editor__sidebar {
5200 - padding-left: 1px;
5231 + flex: none;
5232 + width: var(--wpds-dimension-surface-width-sm, 320px);
5201 5233 }
5202 5234 }
5203 -.media-editor .media-editor__sidebar-panel {
5204 - padding-bottom: 24px;
5235 +.media-editor .media-editor__tabs {
5236 + display: flex;
5237 + flex: 1;
5238 + flex-direction: column;
5239 + min-height: 0;
5205 5240 }
5206 5241
5207 -.media-editor .interface-interface-skeleton__sidebar {
5208 - border-top: 0;
5209 - box-shadow: none;
5210 - outline: 1px solid transparent;
5242 +.media-editor .media-editor__tablist {
5243 + flex-shrink: 0;
5244 + margin-inline: 24px;
5245 + background: #fff;
5246 + border-bottom: 1px solid #ddd;
5211 5247 }
5212 5248
5213 5249 .media-editor .media-editor__panel {
5214 - padding: 16px;
5250 + flex: 1;
5251 + min-height: 0;
5252 + overflow-y: auto;
5253 + padding-block: 24px;
5254 + padding-inline: 24px;
5215 5255 }
5216 5256
5217 -@media (min-width: 600px) {
5218 - .media-editor .media-editor__panel {
5219 - padding: 16px 24px 0 0;
5220 - }
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;
5221 5260 }
5222 -.media-editor .components-panel__header.media-editor__sidebar-header {
5223 - padding-left: 0;
5224 - padding-right: 8px;
5225 - margin-right: 24px;
5226 - margin-right: 0;
5227 -}
5228 5261
5229 -@media (min-width: 600px) {
5230 - .media-editor .components-panel__header.media-editor__sidebar-header {
5231 - margin-right: 24px;
5232 - }
5262 +.media-editor .media-editor__body.has-panel-open .media-editor__content {
5263 + display: none;
5233 5264 }
5234 -.media-editor .components-panel__header.media-editor__sidebar-header .components-button.has-icon {
5235 - padding: 0;
5236 -}
5237 5265
5238 5266 @media (min-width: 600px) {
5239 - .media-editor .components-panel__header.media-editor__sidebar-header .components-button.has-icon {
5267 + .media-editor .media-editor__body.has-panel-open .media-editor__content {
5240 5268 display: flex;
5269 + margin: 0 0 0 24px;
5241 5270 }
5242 5271 }
5243 -@media (min-width: 600px) and (max-width: 781px) {
5244 - .media-editor .interface-interface-skeleton__sidebar:has(.interface-complementary-area__fill) {
5245 - position: relative !important;
5246 - }
5247 - .media-editor .interface-complementary-area__fill,
5248 - .media-editor .interface-complementary-area {
5249 - width: 280px !important;
5250 - }
5251 -}
5252 -@media (max-width: 599px) {
5253 - .media-editor .interface-interface-skeleton__sidebar:has(.interface-complementary-area__fill) {
5254 - width: 100%;
5255 - }
5256 - .media-editor .interface-complementary-area__fill,
5257 - .media-editor .interface-complementary-area {
5258 - width: 100% !important;
5259 - }
5260 -}
5261 5272 .media-editor__snackbar {
5262 5273 position: fixed;
5263 - bottom: 24px;
5274 + bottom: var(--wpds-dimension-size-md, 32px);
5264 5275 left: 0;
5265 5276 right: 0;
5266 5277 padding-inline: 16px;
5267 5278 box-sizing: border-box;
@@ -5295,44 +5306,20 @@
5295 5306
5296 5307 .media-editor-modal.components-modal__frame .media-editor-modal__footer {
5297 5308 flex-shrink: 0;
5298 5309 display: flex;
5299 - gap: 16px;
5300 - padding: 16px 32px 24px;
5301 - background: #fff;
5302 - z-index: 1000001;
5303 -}
5304 -
5305 -.media-editor-modal.components-modal__frame .media-editor-modal__footer.is-wide {
5306 5310 flex-direction: row;
5307 5311 align-items: center;
5308 -}
5309 -
5310 -.media-editor-modal.components-modal__frame .media-editor-modal__footer.is-wide .media-editor__footer-actions {
5311 - margin-left: auto;
5312 -}
5313 -
5314 -.media-editor-modal.components-modal__frame .media-editor-modal__footer.is-narrow {
5315 - flex-direction: column;
5316 -}
5317 -
5318 -.media-editor-modal.components-modal__frame .media-editor-modal__footer.is-narrow > .media-editor-image-controls {
5319 - align-self: center;
5320 -}
5321 -
5322 -.media-editor-modal__footer-row {
5323 - display: flex;
5324 - flex-wrap: wrap;
5325 - align-items: center;
5326 5312 gap: 16px;
5313 + padding: 24px;
5314 + background: #fff;
5327 5315 }
5328 5316
5329 -.media-editor-modal__footer-row .media-editor-image-controls,
5330 -.media-editor-modal__footer-row .media-editor__footer-actions {
5317 +.media-editor-modal.components-modal__frame .media-editor-modal__footer .media-editor__save-actions {
5331 5318 margin-left: auto;
5332 5319 }
5333 5320
5334 -.media-editor__history-actions .components-button.has-icon:not([aria-disabled=true]) {
5321 +.media-editor-modal .media-editor__history-actions .components-button.has-icon:not([aria-disabled=true]) {
5335 5322 color: var(--wp-admin-theme-color);
5336 5323 }
5337 5324
5338 5325 .media-editor-modal {
@@ -5341,9 +5328,9 @@
5341 5328 }
5342 5329
5343 5330 .media-editor-modal__snackbar {
5344 5331 position: fixed;
5345 - bottom: 24px;
5332 + bottom: var(--wpds-dimension-size-md, 32px);
5346 5333 left: 0;
5347 5334 right: 0;
5348 5335 padding-inline: 16px;
5349 5336 box-sizing: border-box;
@@ -5434,9 +5421,9 @@
5434 5421 }
5435 5422
5436 5423 .media-editor-image-controls__label {
5437 5424 font-size: 11px;
5438 - font-weight: 500;
5425 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
5439 5426 line-height: 1.4;
5440 5427 text-transform: uppercase;
5441 5428 }
5442 5429
@@ -5480,9 +5467,9 @@
5480 5467 }
5481 5468
5482 5469 .media-editor-keyboard-shortcuts-modal .media-editor-keyboard-shortcuts-modal__shortcut-term {
5483 5470 background: none;
5484 - font-weight: 600;
5471 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
5485 5472 margin: 0 0 0 1rem;
5486 5473 padding: 0;
5487 5474 text-align: right;
5488 5475 }
@@ -5503,14 +5490,15 @@
5503 5490 height: 32px;
5504 5491 padding: 0 8px;
5505 5492 box-sizing: border-box;
5506 5493 color: #1e1e1e;
5507 - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
5494 + font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
5508 5495 -webkit-user-select: none;
5509 - -moz-user-select: none;
5510 5496 user-select: none;
5511 5497 touch-action: none;
5512 5498 cursor: ew-resize;
5499 + /*rtl:ignore*/
5500 + direction: ltr;
5513 5501 container-type: inline-size;
5514 5502 }
5515 5503
5516 5504 .rotation-ruler[data-disabled] {
@@ -5531,9 +5519,9 @@
5531 5519 height: 1px;
5532 5520 margin: -1px;
5533 5521 padding: 0;
5534 5522 border: 0;
5535 - clip: rect(0 0 0 0);
5523 + clip-path: inset(50%);
5536 5524 overflow: hidden;
5537 5525 white-space: nowrap;
5538 5526 }
5539 5527
@@ -5596,9 +5584,9 @@
5596 5584 left: 50%;
5597 5585 height: 14px;
5598 5586 transform: translateX(-50%);
5599 5587 font-size: 12px;
5600 - font-weight: 600;
5588 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
5601 5589 line-height: 14px;
5602 5590 color: #1e1e1e;
5603 5591 pointer-events: none;
5604 5592 }
@@ -5621,8 +5609,9 @@
5621 5609
5622 5610 .rotation-ruler__active-label-sign {
5623 5611 position: absolute;
5624 5612 top: 0;
5613 + /*rtl:ignore*/
5625 5614 right: 100%;
5626 5615 }
5627 5616
5628 5617 .rotation-ruler__active-label-unit {
@@ -5627,8 +5616,9 @@
5627 5616
5628 5617 .rotation-ruler__active-label-unit {
5629 5618 position: absolute;
5630 5619 top: 0;
5620 + /*rtl:ignore*/
5631 5621 left: 100%;
5632 5622 }
5633 5623
5634 5624 @container (max-width: 220px) {
@@ -5647,9 +5637,9 @@
5647 5637 }
5648 5638
5649 5639 .editor-autocompleters__user .editor-autocompleters__no-avatar::before {
5650 5640 /* stylelint-disable-next-line font-family-no-missing-generic-family-keyword -- dashicons don't need a generic family keyword. */
5651 - font: normal 20px/1 dashicons;
5641 + font: 400 20px/1 dashicons;
5652 5642 content: "\f110";
5653 5643 margin-right: 5px;
5654 5644 vertical-align: middle;
5655 5645 }
@@ -5672,9 +5662,9 @@
5672 5662 .editor-autocompleters__user .editor-autocompleters__user-slug {
5673 5663 margin-left: 8px;
5674 5664 white-space: nowrap;
5675 5665 text-overflow: ellipsis;
5676 - overflow: none;
5666 + overflow: hidden;
5677 5667 max-width: 100px;
5678 5668 flex-grow: 0;
5679 5669 flex-shrink: 0;
5680 5670 }
@@ -5684,9 +5674,10 @@
5684 5674
5685 5675 .interface-interface-skeleton__sidebar:has(.editor-collab-sidebar) {
5686 5676 box-shadow: none;
5687 5677 }
5688 -.interface-interface-skeleton__sidebar:has(.editor-collab-sidebar) .interface-complementary-area-header {
5678 +
5679 +.editor-collab-sidebar__header {
5689 5680 display: none;
5690 5681 }
5691 5682
5692 5683 .editor-collab-sidebar {
@@ -5698,11 +5689,13 @@
5698 5689 position: relative;
5699 5690 padding: 16px 16px 24px;
5700 5691 height: 100%;
5701 5692 overflow: hidden;
5693 + border-left: 1px solid color-mix(in srgb, currentColor 10%, transparent);
5702 5694 }
5703 5695
5704 -.editor-collab-sidebar-panel__thread {
5696 +.editor-collab-sidebar-panel__thread,
5697 +.editor-collab-sidebar-panel__add-note {
5705 5698 position: relative;
5706 5699 padding: 16px;
5707 5700 border-radius: 8px;
5708 5701 border: 1px solid #ddd;
@@ -5709,18 +5702,21 @@
5709 5702 background-color: #f0f0f0;
5710 5703 overflow: hidden;
5711 5704 width: auto;
5712 5705 }
5713 -.editor-collab-sidebar-panel__thread.is-selected {
5706 +.editor-collab-sidebar-panel__thread.is-selected,
5707 +.editor-collab-sidebar-panel__add-note.is-selected {
5714 5708 background-color: #fff;
5715 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);
5716 5710 z-index: 1;
5717 5711 }
5718 -.editor-collab-sidebar-panel__thread:focus {
5712 +.editor-collab-sidebar-panel__thread:focus,
5713 +.editor-collab-sidebar-panel__add-note:focus {
5719 5714 outline: var(--wp-admin-border-width-focus) solid var(--wp-admin-theme-color);
5720 5715 outline-offset: calc(-1 * var(--wp-admin-border-width-focus));
5721 5716 }
5722 -.editor-collab-sidebar-panel__thread.is-floating {
5717 +.editor-collab-sidebar-panel__thread.is-floating,
5718 +.editor-collab-sidebar-panel__add-note.is-floating {
5723 5719 left: 16px;
5724 5720 right: 16px;
5725 5721 position: absolute;
5726 5722 margin-top: 16px;
@@ -5729,8 +5725,12 @@
5729 5725 max-height: calc(100dvh - var(--wp-admin--admin-bar--height, 0px) - 128px);
5730 5726 overflow-y: auto;
5731 5727 }
5732 5728
5729 +.editor-collab-sidebar-panel__user-info {
5730 + flex: 1;
5731 +}
5732 +
5733 5733 .editor-collab-sidebar-panel__user-name {
5734 5734 font-size: 12px;
5735 5735 font-weight: 400;
5736 5736 line-height: 16px;
@@ -5735,9 +5735,9 @@
5735 5735 font-weight: 400;
5736 5736 line-height: 16px;
5737 5737 text-align: left;
5738 5738 color: #757575;
5739 - text-transform: capitalize;
5739 + overflow-wrap: anywhere;
5740 5740 }
5741 5741
5742 5742 .editor-collab-sidebar-panel__user-time {
5743 5743 font-size: 12px;
@@ -5747,9 +5747,8 @@
5747 5747 color: #757575;
5748 5748 }
5749 5749
5750 5750 .editor-collab-sidebar-panel__show-more-button {
5751 - width: -moz-fit-content;
5752 5751 width: fit-content;
5753 5752 color: var(--wpds-color-foreground-interactive-brand, var(--wp-admin-theme-color, #3858e9));
5754 5753 cursor: var(--wpds-cursor-control, pointer);
5755 5754 }
@@ -5756,8 +5755,11 @@
5756 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 {
5757 5756 color: var(--wpds-color-foreground-interactive-brand-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 52%, black));
5758 5757 }
5759 5758
5759 +.editor-collab-sidebar-panel__note-content {
5760 + overflow-wrap: break-word;
5761 +}
5760 5762 .editor-collab-sidebar-panel__note-content p:last-child {
5761 5763 margin-bottom: 0;
5762 5764 }
5763 5765 .editor-collab-sidebar-panel__note-content.is-collapsed {
@@ -5787,23 +5789,23 @@
5787 5789 height: 24px;
5788 5790 flex-shrink: 0;
5789 5791 }
5790 5792
5791 -.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 {
5792 5796 content: "";
5793 - display: block;
5794 - width: 100%;
5797 + flex: 1;
5795 5798 height: 1px;
5796 5799 background-color: #ddd;
5797 - flex: 1;
5798 5800 }
5799 5801
5800 5802 .editor-collab-sidebar-panel__more-reply-button {
5801 - font-weight: 499;
5803 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
5802 5804 }
5803 5805
5804 5806 .editor-collab-sidebar-panel__deleted-block-notice {
5805 - font-weight: 499;
5807 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
5806 5808 color: #757575;
5807 5809 }
5808 5810
5809 5811 .editor-collab-sidebar-panel__resolution-text {
@@ -5809,47 +5811,26 @@
5809 5811 .editor-collab-sidebar-panel__resolution-text {
5810 5812 font-style: italic;
5811 5813 }
5812 5814
5813 -.editor-collab-sidebar-panel__note-form textarea {
5814 - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
5815 - padding: 6px 8px;
5816 - /* Fonts smaller than 16px causes mobile safari to zoom. */
5817 - font-size: 16px;
5818 - /* Override core line-height. To be reviewed. */
5819 - line-height: normal;
5820 - 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;
5821 5827 border-radius: 2px;
5822 - border: 1px solid #949494;
5823 5828 }
5824 -@media not (prefers-reduced-motion) {
5825 - .editor-collab-sidebar-panel__note-form textarea {
5826 - transition: box-shadow 0.1s linear;
5827 - }
5829 +.editor-collab-sidebar-panel__note-form [role=textbox] a {
5830 + color: var(--wp-admin-theme-color);
5831 + text-decoration: underline;
5828 5832 }
5829 -@media (min-width: 600px) {
5830 - .editor-collab-sidebar-panel__note-form textarea {
5831 - font-size: 13px;
5832 - /* Override core line-height. To be reviewed. */
5833 - line-height: normal;
5834 - }
5835 -}
5836 -.editor-collab-sidebar-panel__note-form textarea:focus {
5837 - border-color: var(--wp-admin-theme-color);
5838 - box-shadow: 0 0 0 0.5px var(--wp-admin-theme-color);
5839 - outline: 2px solid transparent;
5840 -}
5841 -.editor-collab-sidebar-panel__note-form textarea::-moz-placeholder {
5842 - color: rgba(30, 30, 30, 0.62);
5843 -}
5844 -.editor-collab-sidebar-panel__note-form textarea::placeholder {
5845 - color: rgba(30, 30, 30, 0.62);
5846 -}
5847 -.editor-collab-sidebar-panel__note-form textarea {
5848 - padding: 9px 11px;
5849 - line-height: 20px !important;
5850 - display: block;
5851 -}
5852 5833
5853 5834 .editor-collab-sidebar-panel__skip-to-note,
5854 5835 .editor-collab-sidebar-panel__skip-to-block {
5855 5836 position: absolute;
@@ -5891,9 +5872,9 @@
5891 5872 margin-left: 0;
5892 5873 }
5893 5874
5894 5875 .editor-note-indicator__overflow {
5895 - font-weight: 499;
5876 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
5896 5877 }
5897 5878
5898 5879 .show-icon-labels .editor-note-indicator {
5899 5880 width: auto;
@@ -5905,8 +5886,36 @@
5905 5886 content: attr(aria-label);
5906 5887 font-size: 12px;
5907 5888 }
5908 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 +
5909 5918 .editor-avatar {
5910 5919 position: relative;
5911 5920 display: inline-flex;
5912 5921 align-items: center;
@@ -5951,10 +5960,9 @@
5951 5960 position: absolute;
5952 5961 inset: 0;
5953 5962 width: 100%;
5954 5963 height: 100%;
5955 - -o-object-fit: cover;
5956 - object-fit: cover;
5964 + object-fit: cover;
5957 5965 border-radius: inherit;
5958 5966 opacity: 0;
5959 5967 }
5960 5968 .has-src > .editor-avatar__image > .editor-avatar__img {
@@ -5965,9 +5973,9 @@
5965 5973 display: flex;
5966 5974 align-items: center;
5967 5975 justify-content: center;
5968 5976 font-size: 11px;
5969 - font-weight: 499;
5977 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
5970 5978 border: 0;
5971 5979 background-clip: border-box;
5972 5980 }
5973 5981 .editor-avatar:not(.has-src) > .editor-avatar__image::after {
@@ -5979,9 +5987,9 @@
5979 5987 }
5980 5988
5981 5989 .editor-avatar__name {
5982 5990 font-size: 13px;
5983 - font-weight: 499;
5991 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
5984 5992 line-height: 20px;
5985 5993 color: var(--editor-avatar-name-color, #fff);
5986 5994 min-width: 0;
5987 5995 padding-bottom: 2px;
@@ -5993,19 +6001,16 @@
5993 6001
5994 6002 .editor-avatar.is-badge {
5995 6003 display: inline-grid;
5996 6004 grid-template-columns: min-content 0fr;
5997 - -moz-column-gap: 0;
5998 - column-gap: 0;
6005 + column-gap: 0;
5999 6006 padding-inline-end: 0;
6000 6007 background-color: var(--wp-admin-theme-color, #3858e9);
6001 6008 transition: grid-template-columns 0.3s cubic-bezier(0.15, 0, 0.15, 1), column-gap 0.3s cubic-bezier(0.15, 0, 0.15, 1), padding-inline-end 0.3s cubic-bezier(0.15, 0, 0.15, 1);
6002 - transition: grid-template-columns 0.3s cubic-bezier(0.15, 0, 0.15, 1), column-gap 0.3s cubic-bezier(0.15, 0, 0.15, 1), padding-inline-end 0.3s cubic-bezier(0.15, 0, 0.15, 1), -moz-column-gap 0.3s cubic-bezier(0.15, 0, 0.15, 1);
6003 6009 }
6004 6010 .editor-avatar.is-badge:hover {
6005 6011 grid-template-columns: min-content 1fr;
6006 - -moz-column-gap: 4px;
6007 - column-gap: 4px;
6012 + column-gap: 4px;
6008 6013 padding-inline-end: 8px;
6009 6014 transition-timing-function: cubic-bezier(0.85, 0, 0.85, 1);
6010 6015 }
6011 6016 .editor-avatar.is-badge:hover .editor-avatar__name {
@@ -6125,9 +6130,9 @@
6125 6130 padding: 8px 16px;
6126 6131 }
6127 6132 .editor-collaborators-presence__list.components-popover .editor-collaborators-presence__list-header-title {
6128 6133 font-size: 13px;
6129 - font-weight: 499;
6134 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
6130 6135 line-height: 20px;
6131 6136 display: flex;
6132 6137 gap: 4px;
6133 6138 }
@@ -6179,9 +6184,9 @@
6179 6184 min-width: 0;
6180 6185 }
6181 6186 .editor-collaborators-presence__list.components-popover .editor-collaborators-presence__list-item-name {
6182 6187 font-size: 13px;
6183 - font-weight: 499;
6188 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
6184 6189 line-height: 20px;
6185 6190 color: #1e1e1e;
6186 6191 overflow: hidden;
6187 6192 text-overflow: ellipsis;
@@ -6195,43 +6200,24 @@
6195 6200 height: 32px;
6196 6201 background: #f0f0f0;
6197 6202 border-radius: 4px;
6198 6203 }
6199 -.editor-collaborators-presence:hover {
6204 +.editor-collaborators-presence:hover, .editor-collaborators-presence:has(.is-pressed) {
6200 6205 background-color: #e0e0e0;
6201 6206 }
6202 -.editor-collaborators-presence:has(.is-pressed) {
6203 - background-color: #e0e0e0;
6204 -}
6205 6207
6206 6208 .editor-header__center .editor-collaborators-presence {
6207 6209 margin-right: 8px;
6208 6210 }
6209 6211
6210 -.editor-collaborators-presence__button.editor-collaborators-presence__button.components-button {
6211 - display: flex;
6212 - align-items: center;
6213 - cursor: var(--wpds-cursor-control, pointer);
6212 +.editor-collaborators-presence__button.editor-collaborators-presence__button {
6214 6213 position: relative;
6215 6214 padding: 4px;
6216 - border-radius: 4px;
6217 - height: 100%;
6218 - box-sizing: border-box;
6219 - color: #2f2f2f;
6220 - background: transparent;
6221 6215 }
6222 -.editor-collaborators-presence__button.editor-collaborators-presence__button.components-button:hover {
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 {
6223 6217 background: transparent;
6224 6218 color: #2f2f2f;
6225 6219 }
6226 -.editor-collaborators-presence__button.editor-collaborators-presence__button.components-button.is-pressed, .editor-collaborators-presence__button.editor-collaborators-presence__button.components-button.is-pressed:hover {
6227 - background: transparent;
6228 - color: #2f2f2f;
6229 -}
6230 -.editor-collaborators-presence__button.editor-collaborators-presence__button.components-button:focus:not(:active) {
6231 - box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus, 2px) var(--wp-admin-theme-color, #007cba);
6232 - outline: none;
6233 -}
6234 6220
6235 6221 .editor-collapsible-block-toolbar {
6236 6222 overflow: hidden;
6237 6223 display: flex;
@@ -6326,11 +6312,8 @@
6326 6312 }
6327 6313 .editor-document-bar:hover {
6328 6314 background-color: #e0e0e0;
6329 6315 }
6330 -.editor-document-bar .components-button {
6331 - border-radius: 4px;
6332 -}
6333 6316 @media not (prefers-reduced-motion) {
6334 6317 .editor-document-bar .components-button {
6335 6318 transition: background-color 0.1s ease-out;
6336 6319 }
@@ -6355,13 +6338,8 @@
6355 6338 color: #1e1e1e;
6356 6339 margin: 0 auto;
6357 6340 max-width: 70%;
6358 6341 }
6359 -@media (min-width: 782px) {
6360 - .editor-document-bar.has-shortcut .editor-document-bar__title {
6361 - padding-left: 24px;
6362 - }
6363 -}
6364 6342 .editor-document-bar__title h1 {
6365 6343 display: flex;
6366 6344 align-items: center;
6367 6345 justify-content: center;
@@ -6387,19 +6365,8 @@
6387 6365 display: none;
6388 6366 }
6389 6367 }
6390 6368
6391 -.editor-document-bar__shortcut {
6392 - color: #2f2f2f;
6393 - min-width: 24px;
6394 - display: none;
6395 -}
6396 -@media (min-width: 782px) {
6397 - .editor-document-bar__shortcut {
6398 - display: initial;
6399 - }
6400 -}
6401 -
6402 6369 .editor-document-bar__back.components-button.has-icon.has-text {
6403 6370 min-width: 36px;
6404 6371 flex-shrink: 0;
6405 6372 color: #757575;
@@ -6418,9 +6385,9 @@
6418 6385 display: none;
6419 6386 pointer-events: none;
6420 6387 }
6421 6388 .editor-document-bar__icon-layout.editor-document-bar__icon-layout svg {
6422 - fill: #949494;
6389 + color: #949494;
6423 6390 }
6424 6391 @media (min-width: 600px) {
6425 6392 .editor-document-bar__icon-layout.editor-document-bar__icon-layout {
6426 6393 display: flex;
@@ -6550,12 +6517,12 @@
6550 6517 .editor-document-tools .editor-document-tools__left > .components-button.has-icon.is-pressed,
6551 6518 .editor-document-tools .editor-document-tools__left > .components-dropdown > .components-button.has-icon.is-pressed {
6552 6519 background: #1e1e1e;
6553 6520 }
6554 -.editor-document-tools .editor-document-tools__left > .components-button.has-icon:focus:not(:disabled),
6555 -.editor-document-tools .editor-document-tools__left > .components-dropdown > .components-button.has-icon:focus:not(:disabled) {
6556 - box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color), inset 0 0 0 1px #fff;
6557 - 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));
6558 6525 }
6559 6526 .editor-document-tools .editor-document-tools__left > .components-button.has-icon::before,
6560 6527 .editor-document-tools .editor-document-tools__left > .components-dropdown > .components-button.has-icon::before {
6561 6528 display: none;
@@ -6586,12 +6553,18 @@
6586 6553 .editor-editor-interface .interface-interface-skeleton__content {
6587 6554 isolation: isolate;
6588 6555 }
6589 6556
6590 -.editor-editor-interface .editor-notices {
6591 - padding: var(--wpds-dimension-padding-md, 12px);
6557 +.editor-notices.notices-inline-notices-wrapper,
6558 +.editor-notices .components-notice-list {
6559 + gap: 0;
6592 6560 }
6593 6561
6562 +.editor-notices .components-notice {
6563 + border-top-width: 0;
6564 + border-inline-width: 0;
6565 +}
6566 +
6594 6567 .editor-visual-editor {
6595 6568 flex: 1 0 auto;
6596 6569 }
6597 6570
@@ -6602,79 +6575,29 @@
6602 6575 top: 0;
6603 6576 right: 0;
6604 6577 }
6605 6578
6606 -.entities-saved-states__panel-header {
6607 - box-sizing: border-box;
6608 - background: #fff;
6609 - padding-left: 16px;
6610 - padding-right: 16px;
6611 - height: 64px;
6612 - 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;
6613 6586 }
6614 6587
6615 -.entities-saved-states__text-prompt {
6616 - padding: 16px;
6617 - padding-bottom: 4px;
6588 +.editor-error-boundary__report {
6589 + max-height: 420px;
6590 + overflow: auto;
6591 + overflow-anchor: none;
6618 6592 }
6619 -.entities-saved-states__text-prompt .entities-saved-states__text-prompt--header {
6620 - display: block;
6621 - margin-bottom: 12px;
6622 -}
6623 6593
6624 -.entities-saved-states__panel.is-inline .entities-saved-states__text-prompt {
6625 - padding: 0;
6594 +.editor-error-boundary__report-section {
6595 + margin: 0;
6596 + white-space: pre-wrap;
6597 + overflow-wrap: break-word;
6626 6598 }
6627 -.entities-saved-states__panel.is-inline .entities-saved-states__panel-body {
6628 - padding-left: 0;
6629 - padding-right: 0;
6630 - border: 0;
6631 -}
6632 -.entities-saved-states__panel.is-inline .entities-saved-states__panel-body > h2 {
6633 - margin-left: -16px;
6634 - margin-right: -16px;
6635 - margin-bottom: 0;
6636 -}
6637 -.entities-saved-states__panel.is-inline .entities-saved-states__panel-body > h2 button {
6638 - font-size: 11px;
6639 - text-transform: uppercase;
6640 -}
6641 -.entities-saved-states__panel.is-inline .entities-saved-states__text-prompt--header-wrapper {
6642 - display: none;
6643 -}
6644 -.entities-saved-states__panel.is-inline .entities-saved-states__text-prompt--changes-count {
6645 - margin-top: 0;
6646 - margin-bottom: 8px;
6647 -}
6648 -.entities-saved-states__panel.is-inline .entities-saved-states__panel-footer {
6649 - margin-top: 16px;
6650 -}
6651 6599
6652 -.entities-saved-states__change-control {
6653 - flex: 1;
6654 -}
6655 -
6656 -.entities-saved-states__changes {
6657 - font-size: 13px;
6658 - margin: 4px 16px 0 24px;
6659 - list-style: disc;
6660 -}
6661 -.entities-saved-states__changes li {
6662 - margin-bottom: 4px;
6663 -}
6664 -
6665 -.editor-error-boundary {
6666 - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
6667 - margin: auto;
6668 - max-width: 780px;
6669 - padding: 1em;
6670 - margin-top: 64px;
6671 - 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);
6672 - border: 1px solid #1e1e1e;
6673 - border-radius: 2px;
6674 - background-color: #fff;
6675 -}
6676 -
6677 6600 .editor-global-styles-header__description {
6678 6601 padding: 0 16px;
6679 6602 }
6680 6603
@@ -6690,8 +6613,27 @@
6690 6613 .editor-global-styles-sidebar__panel {
6691 6614 flex: 1;
6692 6615 }
6693 6616
6617 +.editor-global-styles-sidebar .editor-global-styles-sidebar__header {
6618 + flex-grow: 1;
6619 +}
6620 +
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) {
6632 + flex: 1;
6633 + min-height: 0;
6634 +}
6635 +
6694 6636 .editor-global-styles-sidebar .editor-global-styles-sidebar__header-title {
6695 6637 margin: 0;
6696 6638 }
6697 6639
@@ -6751,13 +6693,12 @@
6751 6693 }
6752 6694 .editor-welcome-guide__image > img {
6753 6695 display: block;
6754 6696 max-width: 100%;
6755 - -o-object-fit: cover;
6756 - object-fit: cover;
6697 + object-fit: cover;
6757 6698 }
6758 6699 .editor-welcome-guide__heading {
6759 - 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;
6760 6701 font-size: 24px;
6761 6702 line-height: 1.4;
6762 6703 margin: 16px 0 16px 0;
6763 6704 padding: 0 32px;
@@ -6771,9 +6712,9 @@
6771 6712 .editor-welcome-guide__text img {
6772 6713 vertical-align: bottom;
6773 6714 }
6774 6715 .editor-welcome-guide .components-button:hover svg {
6775 - fill: #fff;
6716 + color: #fff;
6776 6717 }
6777 6718
6778 6719 .editor-header {
6779 6720 box-sizing: border-box;
@@ -6787,16 +6728,16 @@
6787 6728 height: 64px;
6788 6729 background: #fff;
6789 6730 display: grid;
6790 6731 grid-auto-flow: row;
6791 - 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;
6792 6733 }
6793 6734 .editor-header:has(> .editor-header__center) {
6794 - grid-template: auto/64px min-content 1fr min-content 64px;
6735 + grid-template: auto/auto min-content 1fr min-content 64px;
6795 6736 }
6796 6737 @media (min-width: 782px) {
6797 6738 .editor-header:has(> .editor-header__center) {
6798 - 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;
6799 6740 }
6800 6741 }
6801 6742 @media (min-width: 480px) {
6802 6743 .editor-header {
@@ -6813,8 +6754,15 @@
6813 6754 flex-wrap: nowrap;
6814 6755 }
6815 6756 }
6816 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 +
6817 6765 .editor-header__toolbar {
6818 6766 grid-column: 1/3;
6819 6767 }
6820 6768 .editor-header__toolbar > :first-child {
@@ -6859,9 +6807,8 @@
6859 6807 display: flex;
6860 6808 justify-content: center;
6861 6809 align-items: center;
6862 6810 min-width: 0;
6863 - clip-path: inset(-2px);
6864 6811 }
6865 6812 @media (max-width: 479px) {
6866 6813 .editor-header__center > :first-child {
6867 6814 margin-inline-start: 8px;
@@ -6869,11 +6816,8 @@
6869 6816 .editor-header__center > :last-child {
6870 6817 margin-inline-end: 8px;
6871 6818 }
6872 6819 }
6873 -.editor-revisions-header .editor-header__center {
6874 - clip-path: none;
6875 -}
6876 6820
6877 6821 /**
6878 6822 * Buttons on the right side
6879 6823 */
@@ -7023,9 +6967,9 @@
7023 6967 }
7024 6968 .editor-editor-interface.is-distraction-free .editor-header > .edit-post-header__settings > .edit-post-header__post-preview-button {
7025 6969 visibility: hidden;
7026 6970 }
7027 -.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 {
7028 6972 display: none;
7029 6973 }
7030 6974 .editor-editor-interface.is-distraction-free .interface-interface-skeleton__header:focus-within {
7031 6975 opacity: 1 !important;
@@ -7032,15 +6976,15 @@
7032 6976 }
7033 6977 .editor-editor-interface.is-distraction-free .interface-interface-skeleton__header:focus-within div {
7034 6978 transform: translateX(0) translateZ(0) !important;
7035 6979 }
7036 -.editor-editor-interface.is-distraction-free .components-editor-notices__dismissible {
6980 +.editor-editor-interface.is-distraction-free .editor-notices__dismissible {
7037 6981 position: absolute;
7038 6982 z-index: 35;
7039 6983 }
7040 -
7041 -.components-popover.more-menu-dropdown__content {
7042 - 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;
7043 6987 }
7044 6988
7045 6989 .editor-inserter-sidebar {
7046 6990 box-sizing: border-box;
@@ -7064,9 +7008,9 @@
7064 7008 margin: 0 0 2rem 0;
7065 7009 }
7066 7010 .editor-keyboard-shortcut-help-modal__section-title {
7067 7011 font-size: 0.9rem;
7068 - font-weight: 600;
7012 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
7069 7013 }
7070 7014 .editor-keyboard-shortcut-help-modal__shortcut {
7071 7015 display: flex;
7072 7016 align-items: baseline;
@@ -7080,9 +7024,9 @@
7080 7024 .editor-keyboard-shortcut-help-modal__shortcut:empty {
7081 7025 display: none;
7082 7026 }
7083 7027 .editor-keyboard-shortcut-help-modal__shortcut-term {
7084 - font-weight: 600;
7028 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
7085 7029 margin: 0 0 0 1rem;
7086 7030 text-align: right;
7087 7031 }
7088 7032 .editor-keyboard-shortcut-help-modal__shortcut-description {
@@ -7170,9 +7114,9 @@
7170 7114 scrollbar-gutter: auto;
7171 7115 }
7172 7116
7173 7117 .editor-list-view-sidebar__list-view-panel-content {
7174 - padding: 4px;
7118 + padding: 8px;
7175 7119 }
7176 7120
7177 7121 .editor-list-view-sidebar__list-view-container {
7178 7122 display: flex;
@@ -7203,8 +7147,13 @@
7203 7147 line-height: 1.4;
7204 7148 color: #757575;
7205 7149 }
7206 7150
7151 +.editor-more-menu__popup {
7152 + max-height: var(--available-height);
7153 + max-width: var(--wpds-dimension-surface-width-sm, 320px);
7154 +}
7155 +
7207 7156 .editor-post-parent__panel,
7208 7157 .editor-post-order__panel {
7209 7158 padding-top: 8px;
7210 7159 }
@@ -7247,10 +7196,10 @@
7247 7196 .editor-post-card-panel__title {
7248 7197 width: 100%;
7249 7198 }
7250 7199 .editor-post-card-panel__title.editor-post-card-panel__title {
7251 - font-family: -apple-system, "system-ui", "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
7252 - 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);
7253 7202 font-size: 13px;
7254 7203 line-height: 20px;
7255 7204 margin: 0;
7256 7205 display: flex;
@@ -7255,12 +7204,12 @@
7255 7204 margin: 0;
7256 7205 display: flex;
7257 7206 align-items: center;
7258 7207 flex-wrap: wrap;
7259 - -moz-column-gap: 8px;
7260 - column-gap: 8px;
7208 + column-gap: 8px;
7261 7209 row-gap: 4px;
7262 - word-break: break-word;
7210 + word-break: normal;
7211 + overflow-wrap: anywhere;
7263 7212 }
7264 7213 .editor-post-card-panel__icon {
7265 7214 flex: 0 0 24px;
7266 7215 width: 24px;
@@ -7349,9 +7298,9 @@
7349 7298 .editor-post-featured-image__toggle,
7350 7299 .editor-post-featured-image__preview {
7351 7300 width: 100%;
7352 7301 padding: 0;
7353 - box-shadow: 0 0 0 0 var(--wp-admin-theme-color);
7302 + border-color: #ccc;
7354 7303 overflow: hidden;
7355 7304 outline-offset: -1px;
7356 7305 min-height: 40px;
7357 7306 display: flex;
@@ -7367,23 +7316,14 @@
7367 7316 /*rtl:end:ignore*/
7368 7317 background-size: 24px 24px;
7369 7318 }
7370 7319 .editor-post-featured-image__preview .editor-post-featured-image__preview-image {
7371 - -o-object-fit: cover;
7372 - object-fit: cover;
7320 + object-fit: cover;
7373 7321 width: 100%;
7374 - -o-object-position: 50% 50%;
7375 - object-position: 50% 50%;
7322 + object-position: 50% 50%;
7376 7323 aspect-ratio: 2/1;
7377 7324 }
7378 7325
7379 -.editor-post-featured-image__toggle {
7380 - box-shadow: inset 0 0 0 1px #ccc;
7381 -}
7382 -.editor-post-featured-image__toggle:focus:not(:disabled) {
7383 - box-shadow: 0 0 0 currentColor inset, 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
7384 -}
7385 -
7386 7326 .editor-post-featured-image__actions:not(.editor-post-featured-image__actions-missing-image) {
7387 7327 bottom: 0;
7388 7328 opacity: 0;
7389 7329 padding: 8px;
@@ -7420,9 +7360,9 @@
7420 7360 }
7421 7361
7422 7362 .editor-post-last-revision__title {
7423 7363 width: 100%;
7424 - font-weight: 499;
7364 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
7425 7365 }
7426 7366
7427 7367 .editor-post-last-revision__title.components-button.has-icon {
7428 7368 height: 100%;
@@ -7431,9 +7371,9 @@
7431 7371 .editor-post-last-revision__title.components-button.has-icon:hover, .editor-post-last-revision__title.components-button.has-icon:active {
7432 7372 background: #f0f0f0;
7433 7373 }
7434 7374 .editor-post-last-revision__title.components-button.has-icon:focus {
7435 - 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)));
7436 7376 border-radius: 0;
7437 7377 }
7438 7378
7439 7379 .components-panel__body.is-opened.editor-post-last-revision__panel {
@@ -7469,9 +7409,10 @@
7469 7409 align-items: center;
7470 7410 padding: 6px 0;
7471 7411 line-height: 20px;
7472 7412 hyphens: auto;
7473 - word-break: break-word;
7413 + word-break: normal;
7414 + overflow-wrap: anywhere;
7474 7415 }
7475 7416
7476 7417 .editor-post-panel__row-control {
7477 7418 flex-grow: 1;
@@ -7486,9 +7427,9 @@
7486 7427 text-wrap: balance;
7487 7428 text-wrap: pretty;
7488 7429 height: auto;
7489 7430 min-height: 32px;
7490 - font-weight: 400;
7431 + font-weight: var(--wpds-typography-font-weight-default, 400);
7491 7432 }
7492 7433 .editor-post-panel__row-control .components-dropdown {
7493 7434 max-width: 100%;
7494 7435 }
@@ -7547,9 +7488,10 @@
7547 7488 .components-site-home {
7548 7489 display: block;
7549 7490 color: #757575;
7550 7491 font-size: 12px;
7551 - word-break: break-word;
7492 + word-break: normal;
7493 + overflow-wrap: anywhere;
7552 7494 }
7553 7495
7554 7496 .editor-post-publish-panel__header-publish-button,
7555 7497 .editor-post-publish-panel__header-cancel-button {
@@ -7570,12 +7512,8 @@
7570 7512 .editor-post-publish-panel__header-cancel-button {
7571 7513 padding-right: 4px;
7572 7514 }
7573 7515
7574 -.editor-post-publish-panel__header-published {
7575 - flex-grow: 1;
7576 -}
7577 -
7578 7516 .editor-post-publish-panel__footer {
7579 7517 padding: 16px;
7580 7518 }
7581 7519
@@ -7605,11 +7543,8 @@
7605 7543 background: #fff;
7606 7544 margin-left: -16px;
7607 7545 margin-right: -16px;
7608 7546 }
7609 -.editor-post-publish-panel__prepublish .editor-post-visibility__dialog-legend {
7610 - display: none;
7611 -}
7612 7547 .editor-post-publish-panel__prepublish .components-panel__body-title .components-button {
7613 7548 align-items: flex-start;
7614 7549 text-wrap: balance;
7615 7550 text-wrap: pretty;
@@ -7617,9 +7552,10 @@
7617 7552
7618 7553 .post-publish-panel__postpublish .components-panel__body {
7619 7554 border-bottom: 1px solid #e0e0e0;
7620 7555 border-top: none;
7621 - word-break: break-word;
7556 + word-break: normal;
7557 + overflow-wrap: anywhere;
7622 7558 }
7623 7559
7624 7560 .post-publish-panel__postpublish-buttons {
7625 7561 display: flex;
@@ -7659,9 +7595,9 @@
7659 7595 margin-left: 16px;
7660 7596 }
7661 7597
7662 7598 .post-publish-panel__postpublish-header {
7663 - font-weight: 499;
7599 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
7664 7600 }
7665 7601
7666 7602 .post-publish-panel__postpublish-subheader {
7667 7603 margin: 0 0 8px;
@@ -7666,17 +7602,8 @@
7666 7602 .post-publish-panel__postpublish-subheader {
7667 7603 margin: 0 0 8px;
7668 7604 }
7669 7605
7670 -.post-publish-panel__tip {
7671 - color: #f0b849;
7672 -}
7673 -
7674 -@media screen and (max-width: 782px) {
7675 - .post-publish-panel__postpublish-post-address__button-wrap .components-button {
7676 - height: 40px;
7677 - }
7678 -}
7679 7606 .editor-post-publish-panel {
7680 7607 box-sizing: border-box;
7681 7608 }
7682 7609 .editor-post-publish-panel *,
@@ -7710,9 +7637,9 @@
7710 7637 }
7711 7638 }
7712 7639 @media (min-width: 782px) {
7713 7640 body.is-fullscreen-mode .editor-post-publish-panel {
7714 - top: 0;
7641 + top: var(--wp-admin--admin-bar--height, 0);
7715 7642 }
7716 7643 [role=region]:focus .editor-post-publish-panel {
7717 7644 transform: translateX(0%);
7718 7645 }
@@ -7750,8 +7677,104 @@
7750 7677 flex: 1;
7751 7678 min-width: 0;
7752 7679 }
7753 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 +
7754 7777 .revision-diff-markers {
7755 7778 position: relative;
7756 7779 flex-shrink: 0;
7757 7780 width: max(16px, 1rem);
@@ -7787,9 +7810,10 @@
7787 7810 display: flex;
7788 7811 flex-direction: column;
7789 7812 overflow: hidden;
7790 7813 }
7791 -.interface-complementary-area:has(.editor-post-revisions-timeline) .editor-sidebar__panel-tabs {
7814 +
7815 +.interface-complementary-area > .editor-sidebar__panel-tabs {
7792 7816 flex-shrink: 0;
7793 7817 }
7794 7818
7795 7819 .editor-sidebar__panel:has(.editor-post-revisions-timeline) {
@@ -7797,25 +7821,29 @@
7797 7821 flex-direction: column;
7798 7822 flex: 1;
7799 7823 min-height: 0;
7800 7824 }
7801 -.editor-sidebar__panel:has(.editor-post-revisions-timeline) [role=tabpanel]:has(.editor-post-revisions-timeline) {
7825 +
7826 +.editor-sidebar__panel [role=tabpanel]:has(.editor-post-revisions-timeline) {
7802 7827 display: flex;
7803 7828 flex-direction: column;
7804 7829 flex: 1;
7805 7830 min-height: 0;
7806 7831 }
7807 -.editor-sidebar__panel:has(.editor-post-revisions-timeline) .editor-revision-meta-diff__content {
7832 +
7833 +.editor-sidebar__panel .editor-revision-meta-diff__content {
7808 7834 max-height: 80px;
7809 7835 overflow-y: auto;
7810 7836 }
7811 -.editor-sidebar__panel:has(.editor-post-revisions-timeline) .editor-post-revisions-timeline {
7837 +
7838 +.editor-sidebar__panel .editor-post-revisions-timeline {
7812 7839 flex: 1;
7813 7840 min-height: 0;
7814 7841 }
7815 7842
7816 7843 .editor-revision-fields-diff__value {
7817 - word-break: break-word;
7844 + word-break: normal;
7845 + overflow-wrap: anywhere;
7818 7846 }
7819 7847
7820 7848 .editor-revision-fields-diff__added {
7821 7849 background-color: color-mix(in srgb, currentColor 5%, #00a32a 15%);
@@ -7869,8 +7897,14 @@
7869 7897 min-width: 320px;
7870 7898 padding: 16px;
7871 7899 }
7872 7900
7901 +.editor-post-schedule__reset {
7902 + justify-content: center;
7903 + margin-top: 16px;
7904 + width: 100%;
7905 +}
7906 +
7873 7907 .editor-post-status {
7874 7908 max-width: 100%;
7875 7909 }
7876 7910 .editor-post-status.is-read-only {
@@ -7923,8 +7957,13 @@
7923 7957 .editor-post-taxonomies__hierarchical-terms-choice:last-child {
7924 7958 margin-bottom: 4px;
7925 7959 }
7926 7960
7961 +.editor-post-taxonomies__hierarchical-terms-add,
7962 +.editor-post-taxonomies__hierarchical-terms-submit {
7963 + align-self: flex-start;
7964 +}
7965 +
7927 7966 .editor-post-taxonomies__hierarchical-terms-subchoices {
7928 7967 margin-top: 8px;
7929 7968 margin-left: 16px;
7930 7969 }
@@ -7970,29 +8009,24 @@
7970 8009 z-index: 1000001;
7971 8010 }
7972 8011
7973 8012 .editor-post-template__swap-template-modal-content .block-editor-block-patterns-list {
7974 - -moz-column-count: 2;
7975 - column-count: 2;
7976 - -moz-column-gap: 24px;
7977 - column-gap: 24px;
8013 + column-count: 2;
8014 + column-gap: 24px;
7978 8015 padding-top: 2px;
7979 8016 }
7980 8017 @media (min-width: 782px) {
7981 8018 .editor-post-template__swap-template-modal-content .block-editor-block-patterns-list {
7982 - -moz-column-count: 3;
7983 - column-count: 3;
8019 + column-count: 3;
7984 8020 }
7985 8021 }
7986 8022 @media (min-width: 1280px) {
7987 8023 .editor-post-template__swap-template-modal-content .block-editor-block-patterns-list {
7988 - -moz-column-count: 4;
7989 - column-count: 4;
8024 + column-count: 4;
7990 8025 }
7991 8026 }
7992 8027 .editor-post-template__swap-template-modal-content .block-editor-block-patterns-list .block-editor-block-patterns-list__list-item {
7993 - -moz-column-break-inside: avoid;
7994 - break-inside: avoid-column;
8028 + break-inside: avoid-column;
7995 8029 }
7996 8030
7997 8031 .editor-post-template__dropdown .components-popover__content {
7998 8032 min-width: 240px;
@@ -8047,9 +8081,10 @@
8047 8081 margin: 0;
8048 8082 width: 100%;
8049 8083 box-shadow: none;
8050 8084 resize: none;
8051 - overflow: hidden;
8085 + field-sizing: content;
8086 + overflow: auto;
8052 8087 font-family: Menlo, Consolas, monaco, monospace;
8053 8088 line-height: 2.4;
8054 8089 min-height: 200px;
8055 8090 }
@@ -8079,11 +8114,8 @@
8079 8114 border-color: var(--wp-admin-theme-color);
8080 8115 box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
8081 8116 position: relative;
8082 8117 }
8083 -textarea.editor-post-text-editor::-moz-placeholder {
8084 - color: rgba(30, 30, 30, 0.62);
8085 -}
8086 8118 textarea.editor-post-text-editor::placeholder {
8087 8119 color: rgba(30, 30, 30, 0.62);
8088 8120 }
8089 8121
@@ -8105,9 +8137,10 @@
8105 8137 /* rtl:begin:ignore */
8106 8138 .editor-post-url__link,
8107 8139 .editor-post-url__front-page-link {
8108 8140 direction: ltr;
8109 - word-break: break-word;
8141 + word-break: normal;
8142 + overflow-wrap: anywhere;
8110 8143 }
8111 8144
8112 8145 /* rtl:end:ignore */
8113 8146 .editor-post-url__front-page-link {
@@ -8125,9 +8158,9 @@
8125 8158 outline: 3px solid rgba(0, 0, 0, 0);
8126 8159 }
8127 8160
8128 8161 .editor-post-url__link-slug {
8129 - font-weight: 600;
8162 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
8130 8163 }
8131 8164
8132 8165 .editor-post-url__input input.components-input-control__input {
8133 8166 padding-inline-start: 0 !important;
@@ -8134,9 +8167,10 @@
8134 8167 }
8135 8168
8136 8169 .editor-post-url__panel-toggle,
8137 8170 .editor-post-parent__panel-toggle {
8138 - word-break: break-word;
8171 + word-break: normal;
8172 + overflow-wrap: anywhere;
8139 8173 }
8140 8174
8141 8175 .editor-post-url__intro {
8142 8176 margin: 0;
@@ -8159,17 +8193,19 @@
8159 8193 flex-grow: 1;
8160 8194 justify-content: center;
8161 8195 }
8162 8196
8163 -.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 {
8164 8202 padding-right: 4px;
8165 8203 padding-left: 6px;
8166 8204 }
8167 8205
8168 -.editor-preview-dropdown__button-external {
8169 - width: 100%;
8170 - display: flex;
8171 - justify-content: space-between;
8206 +.editor-preview-dropdown__toggle.is-responsive-editing {
8207 + color: var(--wp-block-synced-color);
8172 8208 }
8173 8209
8174 8210 @media (prefers-reduced-motion: no-preference) {
8175 8211 .editor-resizable-editor:not(.is-resizing) {
@@ -8188,11 +8224,9 @@
8188 8224 bottom: 0;
8189 8225 padding: 0;
8190 8226 margin: auto 0;
8191 8227 width: 12px;
8192 - -webkit-appearance: none;
8193 - -moz-appearance: none;
8194 - appearance: none;
8228 + appearance: none;
8195 8229 cursor: ew-resize;
8196 8230 outline: none;
8197 8231 background: none;
8198 8232 border-radius: 9999px;
@@ -8222,8 +8256,22 @@
8222 8256 .editor-resizable-editor__resize-handle:hover::after, .editor-resizable-editor__resize-handle:focus::after, .editor-resizable-editor__resize-handle:active::after {
8223 8257 background-color: var(--wp-admin-theme-color);
8224 8258 }
8225 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 +
8226 8274 .editor-layout__toggle-publish-panel,
8227 8275 .editor-layout__toggle-sidebar-panel,
8228 8276 .editor-layout__toggle-entities-saved-states-panel {
8229 8277 z-index: 100000;
@@ -8254,12 +8302,12 @@
8254 8302 bottom: 0;
8255 8303 width: 100%;
8256 8304 height: 72px;
8257 8305 background-color: #fff;
8258 - margin-left: -32px;
8259 - margin-right: -32px;
8260 - padding-left: 32px;
8261 - padding-right: 32px;
8306 + margin-left: -24px;
8307 + margin-right: -24px;
8308 + padding-left: 24px;
8309 + padding-right: 24px;
8262 8310 border-top: 1px solid #ddd;
8263 8311 z-index: 1;
8264 8312 }
8265 8313 .editor-start-page-options__modal .block-editor-block-patterns-list {
@@ -8264,30 +8312,51 @@
8264 8312 }
8265 8313 .editor-start-page-options__modal .block-editor-block-patterns-list {
8266 8314 padding-bottom: 72px;
8267 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 +}
8268 8332
8269 -.editor-start-page-options__modal-content .block-editor-block-patterns-list {
8270 - -moz-column-count: 2;
8271 - column-count: 2;
8272 - -moz-column-gap: 24px;
8273 - column-gap: 24px;
8333 +.editor-start-page-options__modal-content {
8334 + container-type: inline-size;
8274 8335 }
8336 +
8275 8337 @media (min-width: 782px) {
8276 - .editor-start-page-options__modal-content .block-editor-block-patterns-list {
8277 - -moz-column-count: 3;
8278 - column-count: 3;
8338 + .editor-start-page-options__modal-content.has-pattern-categories {
8339 + margin-left: 280px;
8279 8340 }
8280 8341 }
8281 -@media (min-width: 1280px) {
8342 +
8343 +.editor-start-page-options__no-results {
8344 + padding: 32px;
8345 + text-align: center;
8346 +}
8347 +
8348 +.editor-start-page-options__modal-content .block-editor-block-patterns-list {
8349 + column-count: 2;
8350 + column-gap: 24px;
8351 +}
8352 +@container (min-width: 464px) {
8282 8353 .editor-start-page-options__modal-content .block-editor-block-patterns-list {
8283 - -moz-column-count: 4;
8284 - column-count: 4;
8354 + columns: 4 220px;
8285 8355 }
8286 8356 }
8287 8357 .editor-start-page-options__modal-content .block-editor-block-patterns-list .block-editor-block-patterns-list__list-item {
8288 - -moz-column-break-inside: avoid;
8289 - break-inside: avoid-column;
8358 + break-inside: avoid-column;
8290 8359 margin-bottom: 24px;
8291 8360 }
8292 8361 .editor-start-page-options__modal-content .block-editor-block-patterns-list .block-editor-block-patterns-list__list-item .block-editor-block-preview__container {
8293 8362 min-height: 100px;
@@ -8301,12 +8370,12 @@
8301 8370 bottom: 0;
8302 8371 width: 100%;
8303 8372 height: 92px;
8304 8373 background-color: #fff;
8305 - margin-left: -32px;
8306 - margin-right: -32px;
8307 - padding-left: 32px;
8308 - padding-right: 32px;
8374 + margin-left: -24px;
8375 + margin-right: -24px;
8376 + padding-left: 24px;
8377 + padding-right: 24px;
8309 8378 border-top: 1px solid #ddd;
8310 8379 z-index: 1;
8311 8380 }
8312 8381 .editor-start-template-options__modal .block-editor-block-patterns-list {
@@ -8313,28 +8382,18 @@
8313 8382 padding-bottom: 92px;
8314 8383 }
8315 8384
8316 8385 .editor-start-template-options__modal-content .block-editor-block-patterns-list {
8317 - -moz-column-count: 2;
8318 - column-count: 2;
8319 - -moz-column-gap: 24px;
8320 - column-gap: 24px;
8386 + column-count: 2;
8387 + column-gap: 24px;
8321 8388 }
8322 8389 @media (min-width: 782px) {
8323 8390 .editor-start-template-options__modal-content .block-editor-block-patterns-list {
8324 - -moz-column-count: 3;
8325 - column-count: 3;
8391 + columns: 4 220px;
8326 8392 }
8327 8393 }
8328 -@media (min-width: 1280px) {
8329 - .editor-start-template-options__modal-content .block-editor-block-patterns-list {
8330 - -moz-column-count: 4;
8331 - column-count: 4;
8332 - }
8333 -}
8334 8394 .editor-start-template-options__modal-content .block-editor-block-patterns-list .block-editor-block-patterns-list__list-item {
8335 - -moz-column-break-inside: avoid;
8336 - break-inside: avoid-column;
8395 + break-inside: avoid-column;
8337 8396 }
8338 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 {
8339 8398 display: none;
8340 8399 }
@@ -8385,13 +8444,8 @@
8385 8444 }
8386 8445 .editor-style-book.is-button {
8387 8446 border-radius: 8px;
8388 8447 }
8389 -.editor-style-book {
8390 - display: flex;
8391 - flex-direction: column;
8392 - align-items: stretch;
8393 -}
8394 8448
8395 8449 .editor-style-book__iframe {
8396 8450 display: block;
8397 8451 height: 100%;
@@ -8404,8 +8458,14 @@
8404 8458 outline: calc(2 * var(--wp-admin-border-width-focus)) solid var(--wp-admin-theme-color);
8405 8459 outline-offset: calc(-2 * var(--wp-admin-border-width-focus));
8406 8460 }
8407 8461
8462 +.editor-style-book__tabs {
8463 + height: 100%;
8464 + display: flex;
8465 + flex-direction: column;
8466 +}
8467 +
8408 8468 .editor-style-book__tablist-container {
8409 8469 flex: none;
8410 8470 display: flex;
8411 8471 width: 100%;
@@ -8427,8 +8487,11 @@
8427 8487 display: block;
8428 8488 width: 100%;
8429 8489 height: 100%;
8430 8490 }
8491 +.editor-styles-canvas.is-preview-mode {
8492 + padding: 0;
8493 +}
8431 8494
8432 8495 .editor-styles-canvas__section {
8433 8496 background: #fff;
8434 8497 bottom: 0;
@@ -8517,9 +8580,9 @@
8517 8580 .table-of-contents__title {
8518 8581 display: block;
8519 8582 margin-top: 20px;
8520 8583 font-size: 15px;
8521 - font-weight: 600;
8584 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
8522 8585 }
8523 8586
8524 8587 .editor-text-editor {
8525 8588 box-sizing: border-box;
@@ -8541,9 +8604,9 @@
8541 8604 max-width: none;
8542 8605 line-height: 1.4;
8543 8606 font-family: Menlo, Consolas, monaco, monospace;
8544 8607 font-size: 2.5em;
8545 - font-weight: normal;
8608 + font-weight: 400;
8546 8609 border: 1px solid #949494;
8547 8610 border-radius: 0;
8548 8611 padding: 16px;
8549 8612 }
@@ -8627,9 +8690,11 @@
8627 8690 .editor-visual-editor iframe[name=editor-canvas] {
8628 8691 background-color: transparent;
8629 8692 }
8630 8693 .editor-visual-editor {
8694 + flex-direction: column;
8631 8695 align-items: center;
8696 + justify-content: center;
8632 8697 }
8633 8698 @media (prefers-reduced-motion: no-preference) {
8634 8699 .editor-visual-editor {
8635 8700 transition: padding 0.2s ease-out;
@@ -8642,13 +8707,13 @@
8642 8707 .editor-visual-editor.has-horizontal-padding {
8643 8708 padding-left: 24px;
8644 8709 padding-right: 24px;
8645 8710 }
8646 -.editor-visual-editor.is-iframed {
8711 +.editor-visual-editor {
8647 8712 overflow: hidden;
8648 8713 }
8649 8714 .editor-visual-editor .components-button {
8650 - 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;
8651 8716 font-size: 13px;
8652 8717 padding: 6px 12px;
8653 8718 }
8654 8719 .editor-visual-editor .components-button.is-tertiary, .editor-visual-editor .components-button.has-icon {
@@ -8677,5 +8742,29 @@
8677 8742
8678 8743 .editor-push-changes-to-global-styles-control .components-button {
8679 8744 justify-content: center;
8680 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;
8681 8770 }