PluginProbe
Gutenberg / 24.1.0
Gutenberg v24.1.0
24.1.0 24.0.0 23.9.1 23.9.0 23.8.0 23.7.2 23.7.1 23.7.0 23.6.1 23.6.2 23.6.0 23.5.3 23.5.2 23.5.1 23.5.0 23.4.0 23.3.2 23.3.1 23.3.0 23.2.0 23.2.1 23.2.2 23.1.1 23.1.0 23.0.1 All 404 releases
← All changes | build/styles/editor/style-rtl.css +621 -551 23.7.2 → 24.1.0 View file →
@@ -222,8 +222,9 @@
222 222 background: #fff;
223 223 color: #1e1e1e;
224 224 height: 100%;
225 225 overflow: auto;
226 + width: 100vw;
226 227 }
227 228
228 229 @media (min-width: 782px) {
229 230 .interface-complementary-area {
@@ -384,9 +385,9 @@
384 385 }
385 386
386 387 @media (min-width: 782px) {
387 388 .has-footer .interface-interface-skeleton__body {
388 - padding-bottom: 25px;
389 + padding-bottom: calc(var(--wpds-dimension-size-md, 32px) + 1px);
389 390 }
390 391 }
391 392 .interface-interface-skeleton__content {
392 393 flex-grow: 1;
@@ -473,9 +474,9 @@
473 474 .interface-interface-skeleton__footer .block-editor-block-breadcrumb {
474 475 z-index: 30;
475 476 display: flex;
476 477 background: #fff;
477 - height: 24px;
478 + height: var(--wpds-dimension-size-md, 32px);
478 479 align-items: center;
479 480 font-size: 13px;
480 481 padding: 0 18px;
481 482 }
@@ -692,9 +693,9 @@
692 693 .font-library__footer {
693 694 position: absolute;
694 695 width: 100%;
695 696 bottom: 0;
696 - border-top: 1px solid #ddd;
697 + border-top: 1px solid var(--wpds-color-stroke-surface-neutral, #dbdbdb);
697 698 padding: 24px;
698 699 background-color: #fff;
699 700 box-sizing: border-box;
700 701 flex-grow: 0 !important;
@@ -736,11 +737,15 @@
736 737 .font-library__fonts-list-item {
737 738 margin-bottom: 0;
738 739 }
739 740
741 +.font-library__font-demo {
742 + position: relative;
743 +}
744 +
740 745 .font-library__font-card {
741 746 box-sizing: border-box;
742 - border: 1px solid #ddd;
747 + border: 1px solid var(--wpds-color-stroke-surface-neutral, #dbdbdb);
743 748 width: 100%;
744 749 height: auto !important;
745 750 padding: 16px;
746 751 margin-top: -1px; /* To collapse the margin with the previous element */
@@ -754,13 +759,13 @@
754 759 position: relative;
755 760 }
756 761
757 762 .font-library__font-card .font-library__font-card__name {
758 - font-weight: bold;
763 + font-weight: 700;
759 764 }
760 765
761 766 .font-library__font-card .font-library__font-card__count {
762 - color: #757575;
767 + color: var(--wpds-color-foreground-content-neutral-weak, #707070);
763 768 }
764 769
765 770 .font-library__font-card .font-library__font-variant_demo-image {
766 771 display: block;
@@ -767,8 +772,25 @@
767 772 height: 24px;
768 773 width: auto;
769 774 }
770 775
776 +@media not (prefers-reduced-motion) {
777 + .font-library__font-card .font-library__font-variant_demo-image {
778 + transition: opacity var(--wpds-motion-duration-lg, 300ms) var(--wpds-motion-easing-subtle, cubic-bezier(0.15, 0, 0.15, 1));
779 + }
780 +}
781 +.font-library__font-card .font-library__font-variant_demo-image.is-loading {
782 + position: absolute;
783 + top: 0;
784 + right: 0;
785 + opacity: 0;
786 +}
787 +
788 +.font-library__font-card .font-library__font-variant-demo-skeleton {
789 + height: 24px;
790 + border-radius: var(--wpds-border-radius-sm, 2px);
791 +}
792 +
771 793 .font-library__font-card .font-library__font-variant_demo-text {
772 794 white-space: nowrap;
773 795 flex-shrink: 0;
774 796 }
@@ -780,9 +802,9 @@
780 802 }
781 803 .font-library-modal__tablist-container {
782 804 position: sticky;
783 805 top: 0;
784 - border-bottom: 1px solid #ddd;
806 + border-bottom: 1px solid var(--wpds-color-stroke-surface-neutral, #dbdbdb);
785 807 background: #fff;
786 808 z-index: 1;
787 809 }
788 810
@@ -803,9 +825,9 @@
803 825 width: 80%;
804 826 }
805 827
806 828 .font-library__local-fonts .font-library__upload-area__text {
807 - color: #757575;
829 + color: var(--wpds-color-foreground-content-neutral-weak, #707070);
808 830 }
809 831
810 832 .font-library__google-fonts-confirm {
811 833 display: flex;
@@ -840,113 +862,22 @@
840 862 .font-library__select-all .components-checkbox-control__label {
841 863 padding-right: 16px;
842 864 }
843 865
844 -.global-styles-ui-pagination .components-button.is-tertiary {
845 - width: 32px;
846 - height: 32px;
847 - justify-content: center;
848 -}
849 -
850 -.global-styles-ui-screen-revisions__revisions-list {
851 - list-style: none;
852 - margin: 0 16px 16px 16px;
853 - flex-grow: 1;
854 -}
855 -
856 -.global-styles-ui-screen-revisions__revisions-list li {
857 - margin-bottom: 0;
858 -}
859 -
860 -.global-styles-ui-screen-revisions__revision-item {
861 - position: relative;
862 - cursor: var(--wpds-cursor-control, pointer);
866 +.global-styles-ui-screen-revisions {
863 867 display: flex;
864 868 flex-direction: column;
869 + flex-grow: 1;
870 + min-height: 0;
865 871 }
866 872
867 -.global-styles-ui-screen-revisions__revision-item[role=option]:active, .global-styles-ui-screen-revisions__revision-item[role=option]:focus {
868 - box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
869 - outline: 2px solid transparent;
873 +.global-styles-ui-screen-revisions__actions {
874 + margin-inline-start: auto;
870 875 }
871 876
872 -.global-styles-ui-screen-revisions__revision-item:hover {
873 - background: rgba(var(--wp-admin-theme-color--rgb), 0.04);
874 -}
875 -
876 -.global-styles-ui-screen-revisions__revision-item:hover .global-styles-ui-screen-revisions__date {
877 - color: var(--wp-admin-theme-color);
878 -}
879 -
880 -.global-styles-ui-screen-revisions__revision-item::before, .global-styles-ui-screen-revisions__revision-item::after {
881 - position: absolute;
882 - content: "\a";
883 - display: block;
884 -}
885 -
886 -.global-styles-ui-screen-revisions__revision-item::before {
887 - background: #ddd;
888 - border-radius: 50%;
889 - height: 8px;
890 - width: 8px;
891 - top: 18px;
892 - right: 17px;
893 - transform: translate(50%, -50%);
894 - z-index: 1;
895 - border: 4px solid transparent;
896 -}
897 -
898 -.global-styles-ui-screen-revisions__revision-item[aria-selected=true] {
899 - border-radius: 2px;
900 - outline: 3px solid transparent;
901 - outline-offset: -2px;
902 - color: var(--wp-admin-theme-color);
903 - background: rgba(var(--wp-admin-theme-color--rgb), 0.04);
904 -}
905 -
906 -.global-styles-ui-screen-revisions__revision-item[aria-selected=true] .global-styles-ui-screen-revisions__date {
907 - color: var(--wp-admin-theme-color);
908 -}
909 -
910 -.global-styles-ui-screen-revisions__revision-item[aria-selected=true]::before {
911 - background: var(--wp-admin-theme-color);
912 -}
913 -
914 -.global-styles-ui-screen-revisions__revision-item[aria-selected=true] .global-styles-ui-screen-revisions__changes > li,
915 -.global-styles-ui-screen-revisions__revision-item[aria-selected=true] .global-styles-ui-screen-revisions__meta {
916 - color: #1e1e1e;
917 -}
918 -
919 -.global-styles-ui-screen-revisions__revision-item::after {
920 - height: 100%;
921 - right: 16px;
922 - top: 0;
923 - width: 0;
924 - border: 0.5px solid #ddd;
925 -}
926 -
927 -.global-styles-ui-screen-revisions__revision-item:first-child::after {
928 - top: 18px;
929 -}
930 -
931 -.global-styles-ui-screen-revisions__revision-item:last-child::after {
932 - height: 18px;
933 -}
934 -
935 -.global-styles-ui-screen-revisions__revision-item-wrapper {
936 - display: block;
937 - padding: 12px 40px 4px 12px;
938 -}
939 -
940 -.global-styles-ui-screen-revisions__apply-button.is-primary,
941 -.global-styles-ui-screen-revisions__active-badge {
942 - align-self: flex-start;
943 - margin: 0 40px 12px 12px;
944 -}
945 -
946 -.global-styles-ui-screen-revisions__changes,
947 -.global-styles-ui-screen-revisions__meta {
948 - color: #757575;
877 +.global-styles-ui-screen-revisions__date {
878 + text-transform: uppercase;
879 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
949 880 font-size: 12px;
950 881 }
951 882
952 883 .global-styles-ui-screen-revisions__description {
@@ -955,11 +886,11 @@
955 886 align-items: flex-start;
956 887 gap: 8px;
957 888 }
958 889
959 -.global-styles-ui-screen-revisions__description .global-styles-ui-screen-revisions__date {
960 - text-transform: uppercase;
961 - font-weight: var(--wpds-typography-font-weight-emphasis, 600);
890 +.global-styles-ui-screen-revisions__changes,
891 +.global-styles-ui-screen-revisions__meta {
892 + color: #2f2f2f;
962 893 font-size: 12px;
963 894 }
964 895
965 896 .global-styles-ui-screen-revisions__meta {
@@ -965,11 +896,10 @@
965 896 .global-styles-ui-screen-revisions__meta {
966 897 display: flex;
967 898 justify-content: start;
968 899 width: 100%;
969 - align-items: flex-start;
900 + align-items: center;
970 901 text-align: right;
971 - margin-bottom: 4px;
972 902 }
973 903
974 904 .global-styles-ui-screen-revisions__meta img {
975 905 width: 16px;
@@ -977,16 +907,12 @@
977 907 border-radius: 100%;
978 908 margin-left: 8px;
979 909 }
980 910
981 -.global-styles-ui-screen-revisions__loading {
982 - margin: 24px auto !important;
983 -}
984 -
985 911 .global-styles-ui-screen-revisions__changes {
986 912 text-align: right;
987 913 line-height: 1.4;
988 - margin-right: 12px;
914 + margin: 0 12px 0 0;
989 915 list-style: disc;
990 916 }
991 917
992 918 .global-styles-ui-screen-revisions__changes li {
@@ -992,47 +918,8 @@
992 918 .global-styles-ui-screen-revisions__changes li {
993 919 margin-bottom: 4px;
994 920 }
995 921
996 -.global-styles-ui-screen-revisions__pagination.global-styles-ui-screen-revisions__pagination {
997 - justify-content: space-between;
998 - gap: 2px;
999 -}
1000 -
1001 -.global-styles-ui-screen-revisions__pagination.global-styles-ui-screen-revisions__pagination .edit-site-pagination__total {
1002 - position: absolute;
1003 - right: -1000px;
1004 - height: 1px;
1005 - margin: -1px;
1006 - overflow: hidden;
1007 -}
1008 -
1009 -.global-styles-ui-screen-revisions__pagination.global-styles-ui-screen-revisions__pagination .components-text {
1010 - font-size: 12px;
1011 - will-change: opacity;
1012 -}
1013 -
1014 -.global-styles-ui-screen-revisions__pagination.global-styles-ui-screen-revisions__pagination .components-button.is-tertiary {
1015 - color: #1e1e1e;
1016 -}
1017 -
1018 -.global-styles-ui-screen-revisions__pagination.global-styles-ui-screen-revisions__pagination .components-button.is-tertiary:disabled,
1019 -.global-styles-ui-screen-revisions__pagination.global-styles-ui-screen-revisions__pagination .components-button.is-tertiary[aria-disabled=true] {
1020 - color: #949494;
1021 -}
1022 -
1023 -.global-styles-ui-screen-revisions__footer {
1024 - height: 56px;
1025 - z-index: 1;
1026 - position: sticky;
1027 - min-width: 100%;
1028 - bottom: 0;
1029 - background: #fff;
1030 - padding: 12px;
1031 - border-top: 1px solid #ddd;
1032 - box-sizing: border-box;
1033 -}
1034 -
1035 922 .global-styles-ui-variations_item {
1036 923 box-sizing: border-box;
1037 924 cursor: var(--wpds-cursor-control, pointer);
1038 925 }
@@ -1113,13 +1000,34 @@
1113 1000 justify-content: center;
1114 1001 border-radius: 2px;
1115 1002 }
1116 1003
1004 +.global-styles-ui-block-types-filter {
1005 + margin-bottom: 12px;
1006 + padding: 0 16px;
1007 +}
1008 +
1117 1009 .global-styles-ui-block-types-search {
1118 - margin-bottom: 10px;
1119 - padding: 0 16px;
1010 + flex-grow: 1;
1120 1011 }
1121 1012
1013 +.global-styles-ui-block-types-item-list .global-styles-ui-block-types-item__icon {
1014 + min-width: 24px;
1015 +}
1016 +
1017 +.global-styles-ui-block-types-item-list__no-results {
1018 + padding-top: 16px;
1019 +}
1020 +
1021 +.global-styles-ui-block-types-item__indicator {
1022 + background: var(--wp-admin-theme-color);
1023 + border-radius: 50%;
1024 + flex: none;
1025 + height: 6px;
1026 + margin-right: auto;
1027 + width: 6px;
1028 +}
1029 +
1122 1030 .global-styles-ui-screen-typography__font-variants-count {
1123 1031 color: #757575;
1124 1032 }
1125 1033
@@ -1161,10 +1069,20 @@
1161 1069
1162 1070 .global-styles-ui__color-indicator-wrapper {
1163 1071 height: 24px;
1164 1072 flex-shrink: 0;
1073 + display: flex;
1074 + align-items: center;
1165 1075 }
1166 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 +
1167 1085 .global-styles-ui__shadows-panel__options-container,
1168 1086 .global-styles-ui__typography-panel__options-container {
1169 1087 height: 24px;
1170 1088 }
@@ -1176,9 +1094,10 @@
1176 1094 border-radius: 2px;
1177 1095 overflow: hidden;
1178 1096 }
1179 1097
1180 -.global-styles-ui__shadow-preview-panel {
1098 +.global-styles-ui__shadow-preview-panel,
1099 +.global-styles-ui__text-shadow-preview-panel {
1181 1100 height: 144px;
1182 1101 border: #ddd 1px solid;
1183 1102 border-radius: 2px;
1184 1103 overflow: auto;
@@ -1186,9 +1105,9 @@
1186 1105 background-position: 0 0, 8px 8px;
1187 1106 background-size: 16px 16px;
1188 1107 }
1189 1108
1190 -.global-styles-ui__shadow-preview-panel .global-styles-ui__shadow-preview-block {
1109 +.global-styles-ui__shadow-preview-block {
1191 1110 border: #ddd 1px solid;
1192 1111 border-radius: 2px;
1193 1112 background-color: #fff;
1194 1113 width: 60%;
@@ -1194,22 +1113,44 @@
1194 1113 width: 60%;
1195 1114 height: 60px;
1196 1115 }
1197 1116
1198 -.global-styles-ui__shadow-editor__dropdown-content {
1117 +.global-styles-ui__text-shadow-preview-panel {
1118 + margin-block: -8px 16px;
1119 +}
1120 +
1121 +.global-styles-ui__text-shadow-preview-text {
1122 + font-size: 24px;
1123 +}
1124 +
1125 +.global-styles-ui__text-shadow-editor__header {
1126 + margin-block-end: 8px;
1127 +}
1128 +
1129 +.global-styles-ui__text-shadow-editor__inputs {
1130 + display: grid;
1131 + grid-template-columns: repeat(2, 1fr);
1132 + gap: 16px;
1133 +}
1134 +
1135 +.global-styles-ui__shadow-editor__dropdown-content,
1136 +.global-styles-ui__text-shadow-editor__dropdown-content {
1199 1137 width: 280px;
1200 1138 }
1201 1139
1202 -.global-styles-ui__shadow-editor-panel {
1140 +.global-styles-ui__shadow-editor-panel,
1141 +.global-styles-ui__text-shadow-editor-panel {
1203 1142 margin-bottom: 4px;
1204 1143 }
1205 1144
1206 -.global-styles-ui__shadow-editor__dropdown {
1145 +.global-styles-ui__shadow-editor__dropdown,
1146 +.global-styles-ui__text-shadow-editor__dropdown {
1207 1147 width: 100%;
1208 1148 position: relative;
1209 1149 }
1210 1150
1211 -.global-styles-ui__shadow-editor__dropdown-toggle {
1151 +.global-styles-ui__shadow-editor__dropdown-toggle,
1152 +.global-styles-ui__text-shadow-editor__dropdown-toggle {
1212 1153 width: 100%;
1213 1154 height: auto;
1214 1155 padding-top: 8px;
1215 1156 padding-bottom: 8px;
@@ -1216,14 +1157,16 @@
1216 1157 text-align: right;
1217 1158 border-radius: inherit;
1218 1159 }
1219 1160
1220 -.global-styles-ui__shadow-editor__dropdown-toggle.is-open {
1161 +.global-styles-ui__shadow-editor__dropdown-toggle.is-open,
1162 +.global-styles-ui__text-shadow-editor__dropdown-toggle.is-open {
1221 1163 background: #f0f0f0;
1222 1164 color: var(--wp-admin-theme-color);
1223 1165 }
1224 1166
1225 -.global-styles-ui__shadow-editor__remove-button {
1167 +.global-styles-ui__shadow-editor__remove-button,
1168 +.global-styles-ui__text-shadow-editor__remove-button {
1226 1169 position: absolute;
1227 1170 left: 8px;
1228 1171 top: 8px;
1229 1172 opacity: 0;
@@ -1228,18 +1171,19 @@
1228 1171 top: 8px;
1229 1172 opacity: 0;
1230 1173 }
1231 1174
1232 -.global-styles-ui__shadow-editor__remove-button.global-styles-ui__shadow-editor__remove-button {
1233 - border: none;
1234 -}
1235 -
1236 -.global-styles-ui__shadow-editor__dropdown-toggle:hover + .global-styles-ui__shadow-editor__remove-button, .global-styles-ui__shadow-editor__remove-button:focus, .global-styles-ui__shadow-editor__remove-button:hover {
1175 +.global-styles-ui__shadow-editor__dropdown-toggle:hover + .global-styles-ui__shadow-editor__remove-button, .global-styles-ui__text-shadow-editor__dropdown-toggle:hover + .global-styles-ui__shadow-editor__remove-button, .global-styles-ui__shadow-editor__remove-button:focus, .global-styles-ui__shadow-editor__remove-button:hover,
1176 +.global-styles-ui__shadow-editor__dropdown-toggle:hover + .global-styles-ui__text-shadow-editor__remove-button,
1177 +.global-styles-ui__text-shadow-editor__dropdown-toggle:hover + .global-styles-ui__text-shadow-editor__remove-button,
1178 +.global-styles-ui__text-shadow-editor__remove-button:focus,
1179 +.global-styles-ui__text-shadow-editor__remove-button:hover {
1237 1180 opacity: 1;
1238 1181 }
1239 1182
1240 1183 @media (hover: none) {
1241 - .global-styles-ui__shadow-editor__remove-button {
1184 + .global-styles-ui__shadow-editor__remove-button,
1185 + .global-styles-ui__text-shadow-editor__remove-button {
1242 1186 opacity: 1;
1243 1187 }
1244 1188 }
1245 1189 .global-styles-ui-screen-css {
@@ -1323,9 +1267,10 @@
1323 1267 clip-path: border-box;
1324 1268 }
1325 1269
1326 1270 .global-styles-ui-color-palette-panel,
1327 -.global-styles-ui-gradient-palette-panel {
1271 +.global-styles-ui-gradient-palette-panel,
1272 +.global-styles-ui-duotone-palette-panel {
1328 1273 padding: 16px;
1329 1274 }
1330 1275
1331 1276 /**
@@ -1457,8 +1402,12 @@
1457 1402 .dataviews__search {
1458 1403 flex-grow: 1;
1459 1404 }
1460 1405
1406 +.dataviews__search .dataviews-search {
1407 + flex-basis: 210px;
1408 +}
1409 +
1461 1410 .dataviews-no-results,
1462 1411 .dataviews-loading {
1463 1412 padding: 0 var(--wpds-dimension-padding-2xl, 24px);
1464 1413 flex-grow: 1;
@@ -1653,10 +1602,10 @@
1653 1602 }
1654 1603
1655 1604 .dataviews-filters__summary-operators-container .dataviews-filters__summary-operators-filter-select {
1656 1605 width: 100%;
1606 + min-width: 0;
1657 1607 white-space: nowrap;
1658 - overflow: hidden;
1659 1608 }
1660 1609
1661 1610 .dataviews-filters__summary-chip-container {
1662 1611 position: relative;
@@ -1728,9 +1677,9 @@
1728 1677 cursor: var(--wpds-cursor-control, pointer);
1729 1678 }
1730 1679
1731 1680 .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove svg {
1732 - fill: var(--wpds-color-foreground-interactive-neutral, #1e1e1e);
1681 + color: var(--wpds-color-foreground-interactive-neutral, #1e1e1e);
1733 1682 }
1734 1683
1735 1684 .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove:hover, .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove:focus {
1736 1685 background: var(--wpds-color-background-interactive-neutral-weak-active, #ededed);
@@ -1736,13 +1685,13 @@
1736 1685 background: var(--wpds-color-background-interactive-neutral-weak-active, #ededed);
1737 1686 }
1738 1687
1739 1688 .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove:hover svg, .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove:focus svg {
1740 - fill: var(--wpds-color-foreground-interactive-neutral-active, #1e1e1e);
1689 + color: var(--wpds-color-foreground-interactive-neutral-active, #1e1e1e);
1741 1690 }
1742 1691
1743 1692 .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove.has-values svg {
1744 - fill: var(--wpds-color-foreground-interactive-brand, var(--wp-admin-theme-color, #3858e9));
1693 + color: var(--wpds-color-foreground-interactive-brand, var(--wp-admin-theme-color, #3858e9));
1745 1694 }
1746 1695
1747 1696 .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove.has-values:hover {
1748 1697 background: var(--wpds-color-background-interactive-brand-weak-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 12%, white));
@@ -1804,10 +1753,11 @@
1804 1753 background: var(--wpds-color-background-interactive-brand-strong-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 93%, black));
1805 1754 }
1806 1755
1807 1756 .dataviews-filters__search-widget-listitem:hover .dataviews-filters__search-widget-listitem-multi-selection, .dataviews-filters__search-widget-listitem[data-active-item] .dataviews-filters__search-widget-listitem-multi-selection, .dataviews-filters__search-widget-listitem:focus .dataviews-filters__search-widget-listitem-multi-selection {
1757 + /* stylelint-disable-next-line plugin-wpds/no-token-fallback-values -- Preserve custom background theming with older @wordpress/theme runtimes that do not set this token. */
1758 + background-color: var(--wpds-color-background-interactive-neutral, var(--wpds-color-background-surface-neutral-strong, #fff));
1808 1759 border-color: var(--wpds-color-stroke-interactive-brand-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 85%, black));
1809 - background: var(--wpds-color-background-surface-neutral-strong, #fff);
1810 1760 }
1811 1761
1812 1762 .dataviews-filters__search-widget-listitem:hover .dataviews-filters__search-widget-listitem-multi-selection.is-selected, .dataviews-filters__search-widget-listitem[data-active-item] .dataviews-filters__search-widget-listitem-multi-selection.is-selected, .dataviews-filters__search-widget-listitem:focus .dataviews-filters__search-widget-listitem-multi-selection.is-selected {
1813 1763 border-color: var(--wpds-color-stroke-interactive-brand-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 85%, black));
@@ -1921,9 +1871,9 @@
1921 1871 }
1922 1872 .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection {
1923 1873 --checkbox-size: 24px;
1924 1874 flex-shrink: 0;
1925 - border: 1px solid #1e1e1e;
1875 + border: var(--wpds-border-width-xs, 1px) solid var(--wpds-color-stroke-interactive-neutral, #8d8d8d);
1926 1876 margin-left: 12px;
1927 1877 transition: none;
1928 1878 border-radius: 2px;
1929 1879 font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
@@ -1931,18 +1881,12 @@
1931 1881 /* Fonts smaller than 16px causes mobile safari to zoom. */
1932 1882 font-size: 16px;
1933 1883 /* Override core line-height. To be reviewed. */
1934 1884 line-height: normal;
1935 - box-shadow: 0 0 0 transparent;
1936 - border-radius: 2px;
1937 - border: 1px solid #949494;
1885 + border: var(--wpds-border-width-xs, 1px) solid var(--wpds-color-stroke-interactive-neutral, #8d8d8d);
1886 + border-radius: var(--wpds-border-radius-sm, 2px);
1938 1887 }
1939 1888
1940 -@media not (prefers-reduced-motion) {
1941 - .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection {
1942 - transition: box-shadow 0.1s linear;
1943 - }
1944 -}
1945 1889 @media (min-width: 600px) {
1946 1890 .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection {
1947 1891 font-size: 13px;
1948 1892 /* Override core line-height. To be reviewed. */
@@ -1948,20 +1892,25 @@
1948 1892 /* Override core line-height. To be reviewed. */
1949 1893 line-height: normal;
1950 1894 }
1951 1895 }
1896 +.dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection:hover:not(:disabled, [aria-disabled=true]) {
1897 + border-color: var(--wpds-color-stroke-interactive-neutral-active, #6e6e6e);
1898 +}
1899 +
1952 1900 .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection:focus {
1953 - border-color: var(--wp-admin-theme-color);
1954 - box-shadow: 0 0 0 0.5px var(--wp-admin-theme-color);
1955 - outline: 2px solid transparent;
1901 + outline: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)) solid var(--focus-color, var(--wpds-color-stroke-focus, var(--wp-admin-theme-color, #3858e9)));
1902 + outline-offset: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px));
1903 + border-color: var(--wpds-color-stroke-interactive-neutral, #8d8d8d);
1904 + box-shadow: none;
1956 1905 }
1957 1906
1958 -.dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection::-moz-placeholder {
1907 +.dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection::placeholder {
1959 1908 color: rgba(30, 30, 30, 0.62);
1960 1909 }
1961 1910
1962 -.dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection::placeholder {
1963 - color: rgba(30, 30, 30, 0.62);
1911 +.dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection:hover:not(:disabled, [aria-disabled=true]) {
1912 + background: var(--wpds-color-background-interactive-neutral-active, #fff);
1964 1913 }
1965 1914
1966 1915 .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection:focus {
1967 1916 box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--wp-admin-theme-color);
@@ -1994,9 +1943,9 @@
1994 1943 display: inline-block;
1995 1944 vertical-align: middle;
1996 1945 width: 16px;
1997 1946 /* stylelint-disable-next-line font-family-no-missing-generic-family-keyword -- dashicons don't need a generic family keyword. */
1998 - font: normal 30px/1 dashicons;
1947 + font: 400 30px/1 dashicons;
1999 1948 speak: none;
2000 1949 -webkit-font-smoothing: antialiased;
2001 1950 -moz-osx-font-smoothing: grayscale;
2002 1951 }
@@ -2007,17 +1956,23 @@
2007 1956 font-size: 21px;
2008 1957 }
2009 1958 }
2010 1959 .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection[aria-disabled=true], .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection:disabled {
2011 - background: #f0f0f0;
2012 - border-color: #ddd;
1960 + background: var(--wpds-color-background-interactive-neutral-disabled, #fff);
1961 + border-color: var(--wpds-color-stroke-interactive-neutral-disabled, #dbdbdb);
1962 + color: var(--wpds-color-foreground-interactive-neutral-disabled, #8d8d8d);
2013 1963 cursor: default;
2014 1964 opacity: 1;
2015 1965 }
2016 1966
1967 +.dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection[aria-disabled=true]:checked::before, .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection[aria-disabled=true][aria-checked=mixed]::before, .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection:disabled:checked::before, .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection:disabled[aria-checked=mixed]::before {
1968 + color: var(--wpds-color-foreground-interactive-neutral-disabled, #8d8d8d);
1969 +}
1970 +
2017 1971 .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection {
2018 1972 position: relative;
2019 - background: var(--wpds-color-background-interactive-neutral-weak, rgba(0, 0, 0, 0));
1973 + /* stylelint-disable-next-line plugin-wpds/no-token-fallback-values -- Preserve custom background theming with older @wordpress/theme runtimes that do not set this token. */
1974 + background: var(--wpds-color-background-interactive-neutral, var(--wpds-color-background-surface-neutral-strong, #fff));
2020 1975 color: var(--wpds-color-foreground-content-neutral, #1e1e1e);
2021 1976 margin: 0;
2022 1977 padding: 0;
2023 1978 width: var(--checkbox-size);
@@ -2040,9 +1995,9 @@
2040 1995 }
2041 1996
2042 1997 .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection.is-selected svg {
2043 1998 --checkmark-size: var(--checkbox-size);
2044 - fill: var(--wpds-color-foreground-interactive-neutral-strong, #f0f0f0);
1999 + color: var(--wpds-color-foreground-interactive-neutral-strong, #f0f0f0);
2045 2000 position: absolute;
2046 2001 right: 50%;
2047 2002 top: 50%;
2048 2003 transform: translate(50%, -50%);
@@ -2066,18 +2021,12 @@
2066 2021 /* Fonts smaller than 16px causes mobile safari to zoom. */
2067 2022 font-size: 16px;
2068 2023 /* Override core line-height. To be reviewed. */
2069 2024 line-height: normal;
2070 - box-shadow: 0 0 0 transparent;
2071 - border-radius: 2px;
2072 - border: 1px solid #949494;
2025 + border: var(--wpds-border-width-xs, 1px) solid var(--wpds-color-stroke-interactive-neutral, #8d8d8d);
2026 + border-radius: var(--wpds-border-radius-sm, 2px);
2073 2027 }
2074 2028
2075 -@media not (prefers-reduced-motion) {
2076 - .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input {
2077 - transition: box-shadow 0.1s linear;
2078 - }
2079 -}
2080 2029 @media (min-width: 600px) {
2081 2030 .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input {
2082 2031 font-size: 13px;
2083 2032 /* Override core line-height. To be reviewed. */
@@ -2083,16 +2032,17 @@
2083 2032 /* Override core line-height. To be reviewed. */
2084 2033 line-height: normal;
2085 2034 }
2086 2035 }
2087 -.dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input:focus {
2088 - border-color: var(--wp-admin-theme-color);
2089 - box-shadow: 0 0 0 0.5px var(--wp-admin-theme-color);
2090 - outline: 2px solid transparent;
2036 +.dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input:hover:not(:disabled, [aria-disabled=true]) {
2037 + border-color: var(--wpds-color-stroke-interactive-neutral-active, #6e6e6e);
2091 2038 }
2092 2039
2093 -.dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input::-moz-placeholder {
2094 - color: rgba(30, 30, 30, 0.62);
2040 +.dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input:focus {
2041 + outline: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)) solid var(--focus-color, var(--wpds-color-stroke-focus, var(--wp-admin-theme-color, #3858e9)));
2042 + outline-offset: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px));
2043 + border-color: var(--wpds-color-stroke-interactive-neutral, #8d8d8d);
2044 + box-shadow: none;
2095 2045 }
2096 2046
2097 2047 .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input::placeholder {
2098 2048 color: rgba(30, 30, 30, 0.62);
@@ -2115,15 +2065,10 @@
2115 2065 }
2116 2066 }
2117 2067 .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input:focus {
2118 2068 background: var(--wpds-color-background-surface-neutral-strong, #fff);
2119 - 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));
2120 2069 }
2121 2070
2122 -.dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input::-moz-placeholder {
2123 - color: var(--wpds-color-foreground-content-neutral-weak, #707070);
2124 -}
2125 -
2126 2071 .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input::placeholder {
2127 2072 color: var(--wpds-color-foreground-content-neutral-weak, #707070);
2128 2073 }
2129 2074
@@ -2168,12 +2113,8 @@
2168 2113 color: var(--wpds-color-foreground-interactive-neutral-strong, #f0f0f0);
2169 2114 box-sizing: border-box;
2170 2115 }
2171 2116
2172 -.dataviews-search {
2173 - flex-basis: 210px;
2174 -}
2175 -
2176 2117 .dataviews-filters__user-input-widget {
2177 2118 padding: var(--wpds-dimension-padding-lg, 16px);
2178 2119 }
2179 2120
@@ -2450,9 +2391,8 @@
2450 2391 }
2451 2392
2452 2393 .dataviews-view-grid .dataviews-view-grid__card .dataviews-view-grid__title-field--clickable,
2453 2394 .dataviews-view-grid-infinite-scroll .dataviews-view-grid__card .dataviews-view-grid__title-field--clickable {
2454 - width: -moz-fit-content;
2455 2395 width: fit-content;
2456 2396 }
2457 2397
2458 2398 .dataviews-view-grid .dataviews-view-grid__card.is-selected .dataviews-view-grid__fields .dataviews-view-grid__field .dataviews-view-grid__field-value,
@@ -2472,9 +2412,9 @@
2472 2412
2473 2413 .dataviews-view-grid .dataviews-view-grid__media,
2474 2414 .dataviews-view-grid-infinite-scroll .dataviews-view-grid__media {
2475 2415 width: 100%;
2476 - aspect-ratio: 1/1;
2416 + aspect-ratio: var(--wp-dataviews-media-aspect-ratio, 1/1);
2477 2417 background-color: var(--wpds-color-background-surface-neutral-strong, #fff);
2478 2418 border-radius: var(--wpds-border-radius-md, 4px);
2479 2419 overflow: hidden;
2480 2420 position: relative;
@@ -2486,9 +2426,8 @@
2486 2426 }
2487 2427
2488 2428 .dataviews-view-grid .dataviews-view-grid__media img,
2489 2429 .dataviews-view-grid-infinite-scroll .dataviews-view-grid__media img {
2490 - -o-object-fit: cover;
2491 2430 object-fit: cover;
2492 2431 width: 100%;
2493 2432 height: 100%;
2494 2433 }
@@ -2515,8 +2454,18 @@
2515 2454 box-shadow: none;
2516 2455 background: var(--wpds-color-background-surface-neutral, #fcfcfc);
2517 2456 }
2518 2457
2458 +.dataviews-view-grid.has-media-fit-contain .dataviews-view-grid__media,
2459 +.dataviews-view-grid-infinite-scroll.has-media-fit-contain .dataviews-view-grid__media {
2460 + background-color: var(--wpds-color-background-surface-neutral, #fcfcfc);
2461 +}
2462 +
2463 +.dataviews-view-grid.has-media-fit-contain .dataviews-view-grid__media img,
2464 +.dataviews-view-grid-infinite-scroll.has-media-fit-contain .dataviews-view-grid__media img {
2465 + object-fit: contain;
2466 +}
2467 +
2519 2468 .dataviews-view-grid .dataviews-view-grid__fields,
2520 2469 .dataviews-view-grid-infinite-scroll .dataviews-view-grid__fields {
2521 2470 position: relative;
2522 2471 font-size: 12px;
@@ -2677,9 +2626,8 @@
2677 2626
2678 2627 .dataviews-view-list div[role=row] .dataviews-view-list__item-actions,
2679 2628 .dataviews-view-list div[role=article] .dataviews-view-list__item-actions {
2680 2629 display: flex;
2681 - width: -moz-max-content;
2682 2630 width: max-content;
2683 2631 flex: 0 0 auto;
2684 2632 gap: var(--wpds-dimension-gap-xs, 4px);
2685 2633 white-space: nowrap;
@@ -2732,10 +2680,9 @@
2732 2680 .dataviews-view-list div[role=row]:not(.is-selected):hover, .dataviews-view-list div[role=row]:not(.is-selected).is-hovered, .dataviews-view-list div[role=row]:not(.is-selected):focus-within,
2733 2681 .dataviews-view-list div[role=article]:not(.is-selected):hover,
2734 2682 .dataviews-view-list div[role=article]:not(.is-selected).is-hovered,
2735 2683 .dataviews-view-list div[role=article]:not(.is-selected):focus-within {
2736 - color: var(--wpds-color-foreground-interactive-brand, var(--wp-admin-theme-color, #3858e9));
2737 - background-color: var(--wpds-color-background-interactive-brand-weak, rgba(0, 0, 0, 0));
2684 + background-color: var(--wpds-color-background-interactive-neutral-weak-active, #ededed);
2738 2685 }
2739 2686
2740 2687 .dataviews-view-list div[role=row]:not(.is-selected):hover .dataviews-title-field,
2741 2688 .dataviews-view-list div[role=row]:not(.is-selected):hover .dataviews-view-list__field, .dataviews-view-list div[role=row]:not(.is-selected).is-hovered .dataviews-title-field,
@@ -2746,9 +2693,9 @@
2746 2693 .dataviews-view-list div[role=article]:not(.is-selected).is-hovered .dataviews-title-field,
2747 2694 .dataviews-view-list div[role=article]:not(.is-selected).is-hovered .dataviews-view-list__field,
2748 2695 .dataviews-view-list div[role=article]:not(.is-selected):focus-within .dataviews-title-field,
2749 2696 .dataviews-view-list div[role=article]:not(.is-selected):focus-within .dataviews-view-list__field {
2750 - color: var(--wpds-color-foreground-interactive-brand, var(--wp-admin-theme-color, #3858e9));
2697 + color: var(--wpds-color-foreground-interactive-neutral, #1e1e1e);
2751 2698 }
2752 2699
2753 2700 .dataviews-view-list div[role=row].is-selected .dataviews-view-list__item-wrapper,
2754 2701 .dataviews-view-list div[role=row].is-selected:focus-within .dataviews-view-list__item-wrapper,
@@ -2754,9 +2701,9 @@
2754 2701 .dataviews-view-list div[role=row].is-selected:focus-within .dataviews-view-list__item-wrapper,
2755 2702 .dataviews-view-list div[role=article].is-selected .dataviews-view-list__item-wrapper,
2756 2703 .dataviews-view-list div[role=article].is-selected:focus-within .dataviews-view-list__item-wrapper {
2757 2704 background-color: var(--wpds-color-background-interactive-brand-weak-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 12%, white));
2758 - color: var(--wpds-color-foreground-interactive-neutral, #1e1e1e);
2705 + color: var(--wpds-color-foreground-content-neutral, #1e1e1e);
2759 2706 }
2760 2707
2761 2708 .dataviews-view-list div[role=row].is-selected .dataviews-view-list__item-wrapper .dataviews-title-field,
2762 2709 .dataviews-view-list div[role=row].is-selected .dataviews-view-list__item-wrapper .dataviews-view-list__field,
@@ -2765,9 +2712,9 @@
2765 2712 .dataviews-view-list div[role=article].is-selected .dataviews-view-list__item-wrapper .dataviews-title-field,
2766 2713 .dataviews-view-list div[role=article].is-selected .dataviews-view-list__item-wrapper .dataviews-view-list__field,
2767 2714 .dataviews-view-list div[role=article].is-selected:focus-within .dataviews-view-list__item-wrapper .dataviews-title-field,
2768 2715 .dataviews-view-list div[role=article].is-selected:focus-within .dataviews-view-list__item-wrapper .dataviews-view-list__field {
2769 - color: var(--wpds-color-foreground-interactive-neutral-active, #1e1e1e);
2716 + color: var(--wpds-color-foreground-content-neutral, #1e1e1e);
2770 2717 }
2771 2718
2772 2719 .dataviews-view-list .dataviews-view-list__item {
2773 2720 position: absolute;
@@ -2773,10 +2720,8 @@
2773 2720 position: absolute;
2774 2721 z-index: 1;
2775 2722 inset: 0;
2776 2723 scroll-margin: var(--wpds-dimension-gap-sm, 8px) 0;
2777 - -webkit-appearance: none;
2778 - -moz-appearance: none;
2779 2724 appearance: none;
2780 2725 border: none;
2781 2726 background: none;
2782 2727 padding: 0;
@@ -2819,9 +2764,8 @@
2819 2764
2820 2765 .dataviews-view-list .dataviews-view-list__media-wrapper img {
2821 2766 width: 100%;
2822 2767 height: 100%;
2823 - -o-object-fit: cover;
2824 2768 object-fit: cover;
2825 2769 }
2826 2770
2827 2771 .dataviews-view-list .dataviews-view-list__media-wrapper::after {
@@ -2841,9 +2785,9 @@
2841 2785 min-width: 0;
2842 2786 }
2843 2787
2844 2788 .dataviews-view-list .dataviews-view-list__field {
2845 - color: var(--wpds-color-foreground-interactive-neutral-weak, #707070);
2789 + color: var(--wpds-color-foreground-content-neutral-weak, #707070);
2846 2790 }
2847 2791
2848 2792 .dataviews-view-list .dataviews-view-list__fields {
2849 2793 display: flex;
@@ -2960,9 +2904,9 @@
2960 2904
2961 2905 .dataviews-view-table th {
2962 2906 text-align: right;
2963 2907 color: var(--wpds-color-foreground-content-neutral, #1e1e1e);
2964 - font-weight: normal;
2908 + font-weight: 400;
2965 2909 font-size: var(--wpds-typography-font-size-md, 13px);
2966 2910 }
2967 2911
2968 2912 .dataviews-view-table td,
@@ -2990,9 +2934,9 @@
2990 2934 top: 0;
2991 2935 bottom: 0;
2992 2936 right: 0;
2993 2937 width: 1px;
2994 - background-color: var(--wpds-color-background-surface-neutral, #fcfcfc);
2938 + background-color: var(--wpds-color-stroke-surface-neutral-weak, #f0f0f0);
2995 2939 }
2996 2940
2997 2941 .dataviews-view-table td.dataviews-view-table__checkbox-column,
2998 2942 .dataviews-view-table th.dataviews-view-table__checkbox-column {
@@ -3204,9 +3148,8 @@
3204 3148
3205 3149 .dataviews-column-primary__media img {
3206 3150 width: var(--wpds-dimension-size-md, 32px);
3207 3151 height: var(--wpds-dimension-size-md, 32px);
3208 - -o-object-fit: cover;
3209 3152 object-fit: cover;
3210 3153 }
3211 3154
3212 3155 .dataviews-column-primary__media::after {
@@ -3219,8 +3162,19 @@
3219 3162 box-shadow: inset 0 0 0 var(--wpds-border-width-xs, 1px) rgba(0, 0, 0, 0.1);
3220 3163 border-radius: var(--wpds-border-radius-md, 4px);
3221 3164 }
3222 3165
3166 +.dataviews-view-table.has-media-aspect-ratio .dataviews-column-primary__media {
3167 + height: var(--wpds-dimension-size-md, 32px);
3168 + aspect-ratio: var(--wp-dataviews-media-aspect-ratio, 1/1);
3169 + min-width: 0;
3170 +}
3171 +
3172 +.dataviews-view-table.has-media-aspect-ratio .dataviews-column-primary__media img {
3173 + width: 100%;
3174 + height: 100%;
3175 +}
3176 +
3223 3177 .dataviews-view-table__cell-content-wrapper:not(.dataviews-column-primary__media),
3224 3178 .dataviews-view-table__primary-column-content:not(.dataviews-column-primary__media) {
3225 3179 min-width: 15ch;
3226 3180 max-width: 80ch;
@@ -3274,9 +3228,8 @@
3274 3228 text-align: start;
3275 3229 }
3276 3230
3277 3231 .dataviews-view-picker-grid .dataviews-view-picker-grid__card .dataviews-view-picker-grid__title-field--clickable {
3278 - width: -moz-fit-content;
3279 3232 width: fit-content;
3280 3233 }
3281 3234
3282 3235 .dataviews-view-picker-grid .dataviews-view-picker-grid__card.is-selected .dataviews-view-picker-grid__fields .dataviews-view-picker-grid__field .dataviews-view-picker-grid__field-value {
@@ -3312,13 +3265,13 @@
3312 3265 aspect-ratio: 1/1;
3313 3266 min-height: 0;
3314 3267 background-color: var(--wpds-color-background-surface-neutral-strong, #fff);
3315 3268 border-radius: var(--wpds-border-radius-md, 4px);
3269 + overflow: hidden;
3316 3270 position: relative;
3317 3271 }
3318 3272
3319 3273 .dataviews-view-picker-grid .dataviews-view-picker-grid__media img {
3320 - -o-object-fit: cover;
3321 3274 object-fit: cover;
3322 3275 width: 100%;
3323 3276 height: 100%;
3324 3277 }
@@ -3334,8 +3287,16 @@
3334 3287 border-radius: var(--wpds-border-radius-md, 4px);
3335 3288 pointer-events: none;
3336 3289 }
3337 3290
3291 +.dataviews-view-picker-grid.has-media-fit-contain .dataviews-view-picker-grid__media {
3292 + background-color: var(--wpds-color-background-surface-neutral, #fcfcfc);
3293 +}
3294 +
3295 +.dataviews-view-picker-grid.has-media-fit-contain .dataviews-view-picker-grid__media img {
3296 + object-fit: contain;
3297 +}
3298 +
3338 3299 .dataviews-view-picker-grid .dataviews-view-picker-grid__fields {
3339 3300 position: relative;
3340 3301 font-size: 12px;
3341 3302 line-height: 16px;
@@ -3497,9 +3458,8 @@
3497 3458 }
3498 3459
3499 3460 .dataviews-view-activity .dataviews-view-activity__item-content .dataviews-view-activity__primary-actions {
3500 3461 display: flex;
3501 - width: -moz-max-content;
3502 3462 width: max-content;
3503 3463 flex: 0 0 auto;
3504 3464 }
3505 3465
@@ -3631,9 +3591,8 @@
3631 3591 display: block;
3632 3592 width: 100%;
3633 3593 height: 100%;
3634 3594 margin: 0 auto;
3635 - -o-object-fit: cover;
3636 3595 object-fit: cover;
3637 3596 border-radius: 50%;
3638 3597 box-sizing: border-box;
3639 3598 box-shadow: inset 0 0 0 var(--wpds-border-width-xs, 1px) var(--wpds-color-stroke-surface-neutral, #dbdbdb);
@@ -3848,9 +3807,8 @@
3848 3807 display: block;
3849 3808 width: 100%;
3850 3809 height: 100%;
3851 3810 margin: 0 auto;
3852 - -o-object-fit: cover;
3853 3811 object-fit: cover;
3854 3812 border-radius: 50%;
3855 3813 box-sizing: border-box;
3856 3814 box-shadow: inset 0 0 0 var(--wpds-border-width-xs, 1px) var(--wpds-color-stroke-surface-neutral, #dbdbdb);
@@ -3872,13 +3830,8 @@
3872 3830 .dataviews-picker-footer__actions {
3873 3831 align-self: flex-end;
3874 3832 }
3875 3833
3876 -.dataviews-controls__richtext [data-rich-text-placeholder]::after {
3877 - content: attr(data-rich-text-placeholder);
3878 - color: color-mix(in srgb, currentColor, transparent 38%);
3879 -}
3880 -
3881 3834 .dataviews-controls__datetime {
3882 3835 border: none;
3883 3836 padding: 0;
3884 3837 }
@@ -3909,8 +3862,29 @@
3909 3862 .dataviews-controls__date-preset:active {
3910 3863 background-color: var(--wpds-color-background-interactive-neutral-strong-active, #1e1e1e);
3911 3864 }
3912 3865
3866 +.dataviews-validated-control__wrapper-with-error-delegate:has(input[type=radio]:invalid[data-validity-visible]), .dataviews-validated-control__wrapper-with-error-delegate:has(input:invalid[data-validity-visible]) .components-form-token-field__input-container:not(:has([aria-expanded=true])), .dataviews-validated-control .components-combobox-control__suggestions-container:has(input:invalid[data-validity-visible]):not(:has([aria-expanded=true])), .dataviews-validated-control:has(:is(input, select):invalid[data-validity-visible]) .components-input-control__backdrop {
3867 + --focus-color: var(--wpds-color-stroke-interactive-error, #cc1818);
3868 +}
3869 +
3870 +.dataviews-validated-control__wrapper-with-error-delegate:has(input:invalid[data-validity-visible]) .components-form-token-field__input-container:not(:has([aria-expanded=true])), .dataviews-validated-control .components-combobox-control__suggestions-container:has(input:invalid[data-validity-visible]):not(:has([aria-expanded=true])), .dataviews-validated-control:has(:is(input, select):invalid[data-validity-visible]) .components-input-control__backdrop {
3871 + border-color: var(--wpds-color-stroke-interactive-error, #cc1818);
3872 +}
3873 +
3874 +.dataviews-validated-control__wrapper-with-error-delegate {
3875 + position: relative;
3876 +}
3877 +
3878 +.dataviews-validated-control__error-delegate {
3879 + position: absolute;
3880 + top: 0;
3881 + height: 100%;
3882 + width: 100%;
3883 + opacity: 0;
3884 + pointer-events: none;
3885 +}
3886 +
3913 3887 .dataforms-layouts-panel__field-trigger {
3914 3888 position: relative;
3915 3889 color: inherit;
3916 3890 display: flex;
@@ -3973,8 +3947,14 @@
3973 3947 opacity: 0;
3974 3948 border-radius: var(--wpds-border-radius-xs, 1px);
3975 3949 }
3976 3950
3951 +.dataforms-layouts-panel__field-trigger-icon::after {
3952 + content: "";
3953 + position: absolute;
3954 + inset: 0;
3955 +}
3956 +
3977 3957 .dataforms-layouts-panel__field-trigger-icon:focus-visible {
3978 3958 opacity: 1;
3979 3959 outline: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)) solid var(--wpds-color-stroke-focus, var(--wp-admin-theme-color, #3858e9));
3980 3960 }
@@ -4008,11 +3988,9 @@
4008 3988 color: var(--wpds-color-foreground-content-error-weak, #cc1818);
4009 3989 }
4010 3990
4011 3991 .dataforms-layouts-panel__field-label-error-content {
4012 - position: relative;
4013 - z-index: 1;
4014 - cursor: help;
3992 + pointer-events: none;
4015 3993 color: var(--wpds-color-foreground-content-error-weak, #cc1818);
4016 3994 display: inline-flex;
4017 3995 flex-direction: row;
4018 3996 align-items: center;
@@ -4028,12 +4006,17 @@
4028 4006 align-items: center;
4029 4007 overflow: clip;
4030 4008 padding-inline: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px));
4031 4009 margin-inline: calc(-1 * var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)));
4032 - word-break: break-word;
4010 + word-break: normal;
4011 + overflow-wrap: anywhere;
4033 4012 font-weight: var(--wpds-typography-font-weight-emphasis, 600);
4034 4013 }
4035 4014
4015 +.dataforms-layouts-panel__field-control:has(a, button) {
4016 + z-index: 1;
4017 +}
4018 +
4036 4019 .dataforms-layouts-panel__field-control > * {
4037 4020 min-width: 0;
4038 4021 }
4039 4022
@@ -4066,12 +4049,8 @@
4066 4049 .components-popover.components-dropdown__content.dataforms-layouts-panel__field-dropdown {
4067 4050 z-index: 159990;
4068 4051 }
4069 4052
4070 -.dataforms-layouts-panel__summary-button:empty {
4071 - min-width: 160px;
4072 -}
4073 -
4074 4053 .dataforms-layouts-regular__field {
4075 4054 width: 100%;
4076 4055 min-height: var(--wpds-dimension-size-md, 32px);
4077 4056 justify-content: flex-start !important;
@@ -4289,9 +4268,9 @@
4289 4268 padding: 12px;
4290 4269 display: grid;
4291 4270 align-items: center;
4292 4271 grid-template-columns: min-content 1fr min-content;
4293 - grid-gap: 4px 8px;
4272 + gap: 4px 8px;
4294 4273 color: #1e1e1e;
4295 4274 }
4296 4275
4297 4276 .fields-create-template-part-modal__area-radio-wrapper + .fields-create-template-part-modal__area-radio-wrapper {
@@ -4574,11 +4553,9 @@
4574 4553
4575 4554 fieldset.fields__media-edit .fields__media-edit-expanded .fields__media-edit-thumbnail {
4576 4555 width: 100%;
4577 4556 height: 100%;
4578 - -o-object-fit: cover;
4579 4557 object-fit: cover;
4580 - -o-object-position: 50% 50%;
4581 4558 object-position: 50% 50%;
4582 4559 }
4583 4560
4584 4561 fieldset.fields__media-edit .fields__media-edit-expanded .fields__media-edit-filename {
@@ -4638,9 +4615,8 @@
4638 4615
4639 4616 .fields-controls__author-avatar img {
4640 4617 width: 16px;
4641 4618 height: 16px;
4642 - -o-object-fit: cover;
4643 4619 object-fit: cover;
4644 4620 opacity: 0;
4645 4621 border-radius: 100%;
4646 4622 }
@@ -4676,18 +4652,15 @@
4676 4652 padding: 0;
4677 4653 margin: 0;
4678 4654 }
4679 4655
4680 -.fields-controls__slug .fields-controls__slug-external-icon {
4681 - margin-right: 5ch;
4682 -}
4683 -
4684 4656 .fields-controls__slug .fields-controls__slug-input input.components-input-control__input {
4685 4657 padding-inline-start: 0 !important;
4686 4658 }
4687 4659
4688 4660 .fields-controls__slug .fields-controls__slug-help-link {
4689 - word-break: break-word;
4661 + word-break: normal;
4662 + overflow-wrap: anywhere;
4690 4663 }
4691 4664
4692 4665 .fields-controls__slug .fields-controls__slug-help {
4693 4666 display: flex;
@@ -4815,9 +4788,8 @@
4815 4788
4816 4789 .media-editor-preview--image img {
4817 4790 max-width: 100%;
4818 4791 max-height: 100%;
4819 - -o-object-fit: contain;
4820 4792 object-fit: contain;
4821 4793 width: auto;
4822 4794 height: auto;
4823 4795 opacity: 0;
@@ -4839,9 +4811,8 @@
4839 4811 }
4840 4812 .media-editor-preview--video video {
4841 4813 max-width: 100%;
4842 4814 max-height: 100%;
4843 - -o-object-fit: contain;
4844 4815 object-fit: contain;
4845 4816 width: auto;
4846 4817 height: auto;
4847 4818 }
@@ -4886,9 +4857,8 @@
4886 4857 color: #949494;
4887 4858 word-break: break-all;
4888 4859 margin-top: 8px;
4889 4860 }
4890 -
4891 4861 .wp-media-editor-image-editor {
4892 4862 position: relative;
4893 4863 overflow: hidden;
4894 4864 width: 100%;
@@ -4894,9 +4864,8 @@
4894 4864 width: 100%;
4895 4865 height: 100%;
4896 4866 touch-action: none;
4897 4867 -webkit-user-select: none;
4898 - -moz-user-select: none;
4899 4868 user-select: none;
4900 4869 cursor: grab;
4901 4870 }
4902 4871
@@ -4922,9 +4891,9 @@
4922 4891
4923 4892 .wp-media-editor-image-editor__image {
4924 4893 position: absolute;
4925 4894 top: 0;
4926 - right: 0;
4895 + left: 0;
4927 4896 will-change: transform;
4928 4897 transform-origin: center center;
4929 4898 }
4930 4899
@@ -4975,9 +4944,9 @@
4975 4944 background: rgba(255, 255, 255, 0.4);
4976 4945 }
4977 4946
4978 4947 .wp-media-editor-image-editor__grid-line--horizontal {
4979 - right: 0;
4948 + left: 0;
4980 4949 width: 100%;
4981 4950 height: 1px;
4982 4951 }
4983 4952
@@ -5014,10 +4983,8 @@
5014 4983 box-shadow: 0 0 0 1px var(--wp-image-editor-focus-color, var(--wp-admin-theme-color, #007cba));
5015 4984 }
5016 4985
5017 4986 .wp-media-editor-image-editor__handle {
5018 - -webkit-appearance: none;
5019 - -moz-appearance: none;
5020 4987 appearance: none;
5021 4988 margin: 0;
5022 4989 padding: 0;
5023 4990 font: inherit;
@@ -5046,12 +5013,12 @@
5046 5013 .wp-media-editor-image-editor__handle::before {
5047 5014 content: "";
5048 5015 position: absolute;
5049 5016 top: 50%;
5050 - right: 50%;
5017 + left: 50%;
5051 5018 width: 44px;
5052 5019 height: 44px;
5053 - transform: translate(50%, -50%);
5020 + transform: translate(-50%, -50%);
5054 5021 }
5055 5022
5056 5023 .wp-media-editor-image-editor__handle {
5057 5024 /* Offset by half the handle width (12px / 2 = 6px) to center on crop edge */
@@ -5058,23 +5025,23 @@
5058 5025 }
5059 5026
5060 5027 .wp-media-editor-image-editor__handle--n {
5061 5028 top: -6px;
5062 - right: 50%;
5063 - margin-right: -6px;
5029 + left: 50%;
5030 + margin-left: -6px;
5064 5031 cursor: ns-resize;
5065 5032 }
5066 5033
5067 5034 .wp-media-editor-image-editor__handle--s {
5068 5035 bottom: -6px;
5069 - right: 50%;
5070 - margin-right: -6px;
5036 + left: 50%;
5037 + margin-left: -6px;
5071 5038 cursor: ns-resize;
5072 5039 }
5073 5040
5074 5041 .wp-media-editor-image-editor__handle--e {
5075 5042 top: 50%;
5076 - left: -6px;
5043 + right: -6px;
5077 5044 margin-top: -6px;
5078 5045 cursor: ew-resize;
5079 5046 }
5080 5047
@@ -5079,9 +5046,9 @@
5079 5046 }
5080 5047
5081 5048 .wp-media-editor-image-editor__handle--w {
5082 5049 top: 50%;
5083 - right: -6px;
5050 + left: -6px;
5084 5051 margin-top: -6px;
5085 5052 cursor: ew-resize;
5086 5053 }
5087 5054
@@ -5086,30 +5053,29 @@
5086 5053 }
5087 5054
5088 5055 .wp-media-editor-image-editor__handle--nw {
5089 5056 top: -6px;
5090 - right: -6px;
5091 - cursor: nesw-resize;
5057 + left: -6px;
5058 + cursor: nwse-resize;
5092 5059 }
5093 5060
5094 5061 .wp-media-editor-image-editor__handle--ne {
5095 5062 top: -6px;
5096 - left: -6px;
5097 - cursor: nwse-resize;
5063 + right: -6px;
5064 + cursor: nesw-resize;
5098 5065 }
5099 5066
5100 5067 .wp-media-editor-image-editor__handle--sw {
5101 5068 bottom: -6px;
5102 - right: -6px;
5103 - cursor: nwse-resize;
5069 + left: -6px;
5070 + cursor: nesw-resize;
5104 5071 }
5105 5072
5106 5073 .wp-media-editor-image-editor__handle--se {
5107 5074 bottom: -6px;
5108 - left: -6px;
5109 - cursor: nesw-resize;
5075 + right: -6px;
5076 + cursor: nwse-resize;
5110 5077 }
5111 -
5112 5078 /**
5113 5079 * Breakpoints & Media Queries
5114 5080 */
5115 5081 /**
@@ -5173,48 +5139,53 @@
5173 5139 align-items: center;
5174 5140 justify-content: center;
5175 5141 }
5176 5142
5177 -.media-editor .interface-interface-skeleton {
5178 - position: relative;
5179 - top: auto;
5180 - left: auto;
5181 - bottom: auto;
5182 - right: auto;
5183 - height: 100%;
5184 - max-height: none;
5143 +.media-editor .media-editor__body {
5144 + container-type: inline-size;
5145 + container-name: media-editor-body;
5146 + display: flex;
5185 5147 flex: 1;
5186 - flex-direction: column;
5148 + min-height: 0;
5187 5149 }
5188 5150
5189 -.media-editor-modal .media-editor .interface-interface-skeleton.interface-interface-skeleton {
5190 - top: auto;
5191 -}
5192 -
5193 -.media-editor .interface-interface-skeleton__editor {
5194 - min-width: 0;
5195 - flex: 1;
5196 -}
5197 -
5198 5151 .media-editor .media-editor__content {
5199 5152 display: flex;
5200 5153 flex: 1;
5201 5154 flex-direction: column;
5155 + min-width: 0;
5202 5156 min-height: 0;
5203 - margin: 0 24px;
5204 - border-radius: 8px;
5205 - overflow: hidden;
5157 + margin: 24px 24px 8px 24px;
5206 5158 }
5207 5159
5160 +@media (min-width: 600px) {
5161 + .media-editor .media-editor__content {
5162 + margin: 0 24px;
5163 + }
5164 +}
5165 +@container media-editor-body (min-width: 864px) {
5166 + .media-editor .media-editor__content {
5167 + min-width: 520px;
5168 + }
5169 +}
5208 5170 .media-editor .media-editor__canvas-toolbar {
5209 5171 display: flex;
5210 - flex-shrink: 0;
5172 + flex: 0 0 auto;
5173 + flex-direction: column;
5174 + align-items: center;
5175 + gap: 12px;
5176 +}
5177 +
5178 +.media-editor .media-editor__canvas-toolbar .media-editor-fine-rotation {
5179 + display: flex;
5211 5180 justify-content: center;
5181 + align-self: stretch;
5212 5182 background: #e0e0e0;
5183 + border-radius: 0 0 8px 8px;
5213 5184 padding: 8px 16px;
5214 5185 }
5215 5186
5216 -.media-editor .media-editor__canvas-toolbar .media-editor-fine-rotation {
5187 +.media-editor .media-editor__canvas-toolbar .media-editor-fine-rotation .rotation-ruler {
5217 5188 flex: 0 1 360px;
5218 5189 min-width: 0;
5219 5190 }
5220 5191
@@ -5222,8 +5193,9 @@
5222 5193 display: flex;
5223 5194 align-items: center;
5224 5195 justify-content: center;
5225 5196 background: #e0e0e0;
5197 + border-radius: 8px;
5226 5198 overflow: auto;
5227 5199 flex: 1;
5228 5200 min-height: 0;
5229 5201 }
@@ -5235,88 +5207,66 @@
5235 5207 .media-editor .media-editor__canvas-area img,
5236 5208 .media-editor .media-editor__canvas-area video {
5237 5209 max-width: 100%;
5238 5210 max-height: 100%;
5239 - -o-object-fit: contain;
5240 5211 object-fit: contain;
5241 5212 }
5242 5213
5243 5214 .media-editor .media-editor__sidebar {
5244 - box-sizing: border-box;
5215 + display: flex;
5216 + flex: 1;
5217 + flex-direction: column;
5218 + min-width: 0;
5219 + min-height: 0;
5220 + overflow: hidden;
5245 5221 }
5246 5222
5247 -.media-editor .media-editor__sidebar *,
5248 -.media-editor .media-editor__sidebar *::before,
5249 -.media-editor .media-editor__sidebar *::after {
5250 - box-sizing: inherit;
5251 -}
5252 -
5253 5223 @media (min-width: 600px) {
5254 5224 .media-editor .media-editor__sidebar {
5255 - padding-right: 1px;
5225 + flex: none;
5226 + width: var(--wpds-dimension-surface-width-sm, 320px);
5256 5227 }
5257 5228 }
5258 -.media-editor .media-editor__sidebar-panel {
5259 - padding-bottom: 24px;
5229 +.media-editor .media-editor__tabs {
5230 + display: flex;
5231 + flex: 1;
5232 + flex-direction: column;
5233 + min-height: 0;
5260 5234 }
5261 5235
5262 -.media-editor .interface-interface-skeleton__sidebar {
5263 - border-top: 0;
5264 - box-shadow: none;
5265 - outline: 1px solid transparent;
5236 +.media-editor .media-editor__tablist {
5237 + flex-shrink: 0;
5238 + margin-inline: 24px;
5239 + background: #fff;
5240 + border-bottom: 1px solid #ddd;
5266 5241 }
5267 5242
5268 5243 .media-editor .media-editor__panel {
5269 - padding: 16px;
5244 + flex: 1;
5245 + min-height: 0;
5246 + overflow-y: auto;
5247 + padding-block: 24px;
5248 + padding-inline: 24px;
5270 5249 }
5271 5250
5272 -@media (min-width: 600px) {
5273 - .media-editor .media-editor__panel {
5274 - padding: 24px 0 0 24px;
5275 - }
5251 +.media-editor .media-editor__content:has(.media-editor-fine-rotation) .media-editor__canvas-area {
5252 + border-end-start-radius: 0;
5253 + border-end-end-radius: 0;
5276 5254 }
5277 -.media-editor .components-panel__header.media-editor__sidebar-header {
5278 - padding-right: 0;
5279 - padding-left: 8px;
5280 - margin-left: 24px;
5281 - margin-left: 0;
5282 -}
5283 5255
5284 -@media (min-width: 600px) {
5285 - .media-editor .components-panel__header.media-editor__sidebar-header {
5286 - margin-left: 24px;
5287 - }
5256 +.media-editor .media-editor__body.has-panel-open .media-editor__content {
5257 + display: none;
5288 5258 }
5289 -.media-editor .components-panel__header.media-editor__sidebar-header .components-button.has-icon {
5290 - padding: 0;
5291 -}
5292 5259
5293 5260 @media (min-width: 600px) {
5294 - .media-editor .components-panel__header.media-editor__sidebar-header .components-button.has-icon {
5261 + .media-editor .media-editor__body.has-panel-open .media-editor__content {
5295 5262 display: flex;
5263 + margin: 0 24px 0 0;
5296 5264 }
5297 5265 }
5298 -@media (min-width: 600px) and (max-width: 781px) {
5299 - .media-editor .interface-interface-skeleton__sidebar:has(.interface-complementary-area__fill) {
5300 - position: relative !important;
5301 - }
5302 - .media-editor .interface-complementary-area__fill,
5303 - .media-editor .interface-complementary-area {
5304 - width: 280px !important;
5305 - }
5306 -}
5307 -@media (max-width: 599px) {
5308 - .media-editor .interface-interface-skeleton__sidebar:has(.interface-complementary-area__fill) {
5309 - width: 100%;
5310 - }
5311 - .media-editor .interface-complementary-area__fill,
5312 - .media-editor .interface-complementary-area {
5313 - width: 100% !important;
5314 - }
5315 -}
5316 5266 .media-editor__snackbar {
5317 5267 position: fixed;
5318 - bottom: 24px;
5268 + bottom: var(--wpds-dimension-size-md, 32px);
5319 5269 right: 0;
5320 5270 left: 0;
5321 5271 padding-inline: 16px;
5322 5272 box-sizing: border-box;
@@ -5350,44 +5300,20 @@
5350 5300
5351 5301 .media-editor-modal.components-modal__frame .media-editor-modal__footer {
5352 5302 flex-shrink: 0;
5353 5303 display: flex;
5354 - gap: 16px;
5355 - padding: 16px 32px 24px;
5356 - background: #fff;
5357 - z-index: 1000001;
5358 -}
5359 -
5360 -.media-editor-modal.components-modal__frame .media-editor-modal__footer.is-wide {
5361 5304 flex-direction: row;
5362 5305 align-items: center;
5363 -}
5364 -
5365 -.media-editor-modal.components-modal__frame .media-editor-modal__footer.is-wide .media-editor__footer-actions {
5366 - margin-right: auto;
5367 -}
5368 -
5369 -.media-editor-modal.components-modal__frame .media-editor-modal__footer.is-narrow {
5370 - flex-direction: column;
5371 -}
5372 -
5373 -.media-editor-modal.components-modal__frame .media-editor-modal__footer.is-narrow > .media-editor-image-controls {
5374 - align-self: center;
5375 -}
5376 -
5377 -.media-editor-modal__footer-row {
5378 - display: flex;
5379 - flex-wrap: wrap;
5380 - align-items: center;
5381 5306 gap: 16px;
5307 + padding: 24px;
5308 + background: #fff;
5382 5309 }
5383 5310
5384 -.media-editor-modal__footer-row .media-editor-image-controls,
5385 -.media-editor-modal__footer-row .media-editor__footer-actions {
5311 +.media-editor-modal.components-modal__frame .media-editor-modal__footer .media-editor__save-actions {
5386 5312 margin-right: auto;
5387 5313 }
5388 5314
5389 -.media-editor__history-actions .components-button.has-icon:not([aria-disabled=true]) {
5315 +.media-editor-modal .media-editor__history-actions .components-button.has-icon:not([aria-disabled=true]) {
5390 5316 color: var(--wp-admin-theme-color);
5391 5317 }
5392 5318
5393 5319 .media-editor-modal {
@@ -5396,9 +5322,9 @@
5396 5322 }
5397 5323
5398 5324 .media-editor-modal__snackbar {
5399 5325 position: fixed;
5400 - bottom: 24px;
5326 + bottom: var(--wpds-dimension-size-md, 32px);
5401 5327 right: 0;
5402 5328 left: 0;
5403 5329 padding-inline: 16px;
5404 5330 box-sizing: border-box;
@@ -5560,12 +5486,12 @@
5560 5486 box-sizing: border-box;
5561 5487 color: #1e1e1e;
5562 5488 font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
5563 5489 -webkit-user-select: none;
5564 - -moz-user-select: none;
5565 5490 user-select: none;
5566 5491 touch-action: none;
5567 5492 cursor: ew-resize;
5493 + direction: ltr;
5568 5494 container-type: inline-size;
5569 5495 }
5570 5496
5571 5497 .rotation-ruler[data-disabled] {
@@ -5586,9 +5512,9 @@
5586 5512 height: 1px;
5587 5513 margin: -1px;
5588 5514 padding: 0;
5589 5515 border: 0;
5590 - clip: rect(0 0 0 0);
5516 + clip-path: inset(50%);
5591 5517 overflow: hidden;
5592 5518 white-space: nowrap;
5593 5519 }
5594 5520
@@ -5675,15 +5601,15 @@
5675 5601
5676 5602 .rotation-ruler__active-label-sign {
5677 5603 position: absolute;
5678 5604 top: 0;
5679 - left: 100%;
5605 + right: 100%;
5680 5606 }
5681 5607
5682 5608 .rotation-ruler__active-label-unit {
5683 5609 position: absolute;
5684 5610 top: 0;
5685 - right: 100%;
5611 + left: 100%;
5686 5612 }
5687 5613
5688 5614 @container (max-width: 220px) {
5689 5615 .rotation-ruler__tick--minor {
@@ -5701,9 +5627,9 @@
5701 5627 }
5702 5628
5703 5629 .editor-autocompleters__user .editor-autocompleters__no-avatar::before {
5704 5630 /* stylelint-disable-next-line font-family-no-missing-generic-family-keyword -- dashicons don't need a generic family keyword. */
5705 - font: normal 20px/1 dashicons;
5631 + font: 400 20px/1 dashicons;
5706 5632 content: "\f110";
5707 5633 margin-left: 5px;
5708 5634 vertical-align: middle;
5709 5635 }
@@ -5738,9 +5664,10 @@
5738 5664
5739 5665 .interface-interface-skeleton__sidebar:has(.editor-collab-sidebar) {
5740 5666 box-shadow: none;
5741 5667 }
5742 -.interface-interface-skeleton__sidebar:has(.editor-collab-sidebar) .interface-complementary-area-header {
5668 +
5669 +.editor-collab-sidebar__header {
5743 5670 display: none;
5744 5671 }
5745 5672
5746 5673 .editor-collab-sidebar {
@@ -5752,8 +5679,9 @@
5752 5679 position: relative;
5753 5680 padding: 16px 16px 24px;
5754 5681 height: 100%;
5755 5682 overflow: hidden;
5683 + border-right: 1px solid color-mix(in srgb, currentColor 10%, transparent);
5756 5684 }
5757 5685
5758 5686 .editor-collab-sidebar-panel__thread,
5759 5687 .editor-collab-sidebar-panel__add-note {
@@ -5787,8 +5715,12 @@
5787 5715 max-height: calc(100dvh - var(--wp-admin--admin-bar--height, 0px) - 128px);
5788 5716 overflow-y: auto;
5789 5717 }
5790 5718
5719 +.editor-collab-sidebar-panel__user-info {
5720 + flex: 1;
5721 +}
5722 +
5791 5723 .editor-collab-sidebar-panel__user-name {
5792 5724 font-size: 12px;
5793 5725 font-weight: 400;
5794 5726 line-height: 16px;
@@ -5793,9 +5725,9 @@
5793 5725 font-weight: 400;
5794 5726 line-height: 16px;
5795 5727 text-align: right;
5796 5728 color: #757575;
5797 - text-transform: capitalize;
5729 + overflow-wrap: anywhere;
5798 5730 }
5799 5731
5800 5732 .editor-collab-sidebar-panel__user-time {
5801 5733 font-size: 12px;
@@ -5805,9 +5737,8 @@
5805 5737 color: #757575;
5806 5738 }
5807 5739
5808 5740 .editor-collab-sidebar-panel__show-more-button {
5809 - width: -moz-fit-content;
5810 5741 width: fit-content;
5811 5742 color: var(--wpds-color-foreground-interactive-brand, var(--wp-admin-theme-color, #3858e9));
5812 5743 cursor: var(--wpds-cursor-control, pointer);
5813 5744 }
@@ -5814,8 +5745,11 @@
5814 5745 .editor-collab-sidebar-panel__show-more-button:hover, .editor-collab-sidebar-panel__show-more-button:focus, .editor-collab-sidebar-panel__show-more-button:active {
5815 5746 color: var(--wpds-color-foreground-interactive-brand-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 52%, black));
5816 5747 }
5817 5748
5749 +.editor-collab-sidebar-panel__note-content {
5750 + overflow-wrap: break-word;
5751 +}
5818 5752 .editor-collab-sidebar-panel__note-content p:last-child {
5819 5753 margin-bottom: 0;
5820 5754 }
5821 5755 .editor-collab-sidebar-panel__note-content.is-collapsed {
@@ -5872,9 +5806,9 @@
5872 5806 line-height: 20px;
5873 5807 max-height: 418px;
5874 5808 overflow-y: auto;
5875 5809 white-space: pre-wrap;
5876 - word-wrap: break-word;
5810 + overflow-wrap: break-word;
5877 5811 }
5878 5812 .editor-collab-sidebar-panel__note-form [role=textbox] code {
5879 5813 font-family: Menlo, Consolas, monaco, monospace;
5880 5814 font-size: 0.9em;
@@ -5954,9 +5888,8 @@
5954 5888 border-radius: var(--wpds-border-radius-sm, 2px);
5955 5889 background: var(--wpds-color-background-surface-brand, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 9%, white));
5956 5890 color: var(--wpds-color-foreground-interactive-brand, var(--wp-admin-theme-color, #3858e9));
5957 5891 font-weight: var(--wpds-typography-font-weight-emphasis, 600);
5958 - white-space: nowrap;
5959 5892 }
5960 5893 @media (forced-colors: active) {
5961 5894 .wp-note-mention {
5962 5895 border: 1px solid;
@@ -5966,8 +5899,13 @@
5966 5899 .editor-collab-sidebar-panel__mention-suggestion .editor-autocompleters__user-avatar {
5967 5900 border-radius: 50%;
5968 5901 }
5969 5902
5903 +.editor-rich-text-control [data-rich-text-placeholder]::after {
5904 + content: attr(data-rich-text-placeholder);
5905 + color: color-mix(in srgb, currentColor, transparent 38%);
5906 +}
5907 +
5970 5908 .editor-avatar {
5971 5909 position: relative;
5972 5910 display: inline-flex;
5973 5911 align-items: center;
@@ -6012,10 +5950,9 @@
6012 5950 position: absolute;
6013 5951 inset: 0;
6014 5952 width: 100%;
6015 5953 height: 100%;
6016 - -o-object-fit: cover;
6017 - object-fit: cover;
5954 + object-fit: cover;
6018 5955 border-radius: inherit;
6019 5956 opacity: 0;
6020 5957 }
6021 5958 .has-src > .editor-avatar__image > .editor-avatar__img {
@@ -6054,19 +5991,16 @@
6054 5991
6055 5992 .editor-avatar.is-badge {
6056 5993 display: inline-grid;
6057 5994 grid-template-columns: min-content 0fr;
6058 - -moz-column-gap: 0;
6059 - column-gap: 0;
5995 + column-gap: 0;
6060 5996 padding-inline-end: 0;
6061 5997 background-color: var(--wp-admin-theme-color, #3858e9);
6062 5998 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);
6063 - 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);
6064 5999 }
6065 6000 .editor-avatar.is-badge:hover {
6066 6001 grid-template-columns: min-content 1fr;
6067 - -moz-column-gap: 4px;
6068 - column-gap: 4px;
6002 + column-gap: 4px;
6069 6003 padding-inline-end: 8px;
6070 6004 transition-timing-function: cubic-bezier(0.85, 0, 0.85, 1);
6071 6005 }
6072 6006 .editor-avatar.is-badge:hover .editor-avatar__name {
@@ -6256,43 +6190,24 @@
6256 6190 height: 32px;
6257 6191 background: #f0f0f0;
6258 6192 border-radius: 4px;
6259 6193 }
6260 -.editor-collaborators-presence:hover {
6194 +.editor-collaborators-presence:hover, .editor-collaborators-presence:has(.is-pressed) {
6261 6195 background-color: #e0e0e0;
6262 6196 }
6263 -.editor-collaborators-presence:has(.is-pressed) {
6264 - background-color: #e0e0e0;
6265 -}
6266 6197
6267 6198 .editor-header__center .editor-collaborators-presence {
6268 6199 margin-left: 8px;
6269 6200 }
6270 6201
6271 -.editor-collaborators-presence__button.editor-collaborators-presence__button.components-button {
6272 - display: flex;
6273 - align-items: center;
6274 - cursor: var(--wpds-cursor-control, pointer);
6202 +.editor-collaborators-presence__button.editor-collaborators-presence__button {
6275 6203 position: relative;
6276 6204 padding: 4px;
6277 - border-radius: 4px;
6278 - height: 100%;
6279 - box-sizing: border-box;
6280 - color: #2f2f2f;
6281 - background: transparent;
6282 6205 }
6283 -.editor-collaborators-presence__button.editor-collaborators-presence__button.components-button:hover {
6206 +.editor-collaborators-presence__button.editor-collaborators-presence__button, .editor-collaborators-presence__button.editor-collaborators-presence__button:hover, .editor-collaborators-presence__button.editor-collaborators-presence__button.is-pressed, .editor-collaborators-presence__button.editor-collaborators-presence__button.is-pressed:hover {
6284 6207 background: transparent;
6285 6208 color: #2f2f2f;
6286 6209 }
6287 -.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 {
6288 - background: transparent;
6289 - color: #2f2f2f;
6290 -}
6291 -.editor-collaborators-presence__button.editor-collaborators-presence__button.components-button:focus:not(:active) {
6292 - box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus, 2px) var(--wp-admin-theme-color, #007cba);
6293 - outline: none;
6294 -}
6295 6210
6296 6211 .editor-collapsible-block-toolbar {
6297 6212 overflow: hidden;
6298 6213 display: flex;
@@ -6387,11 +6302,8 @@
6387 6302 }
6388 6303 .editor-document-bar:hover {
6389 6304 background-color: #e0e0e0;
6390 6305 }
6391 -.editor-document-bar .components-button {
6392 - border-radius: 4px;
6393 -}
6394 6306 @media not (prefers-reduced-motion) {
6395 6307 .editor-document-bar .components-button {
6396 6308 transition: background-color 0.1s ease-out;
6397 6309 }
@@ -6463,9 +6375,9 @@
6463 6375 display: none;
6464 6376 pointer-events: none;
6465 6377 }
6466 6378 .editor-document-bar__icon-layout.editor-document-bar__icon-layout svg {
6467 - fill: #949494;
6379 + color: #949494;
6468 6380 }
6469 6381 @media (min-width: 600px) {
6470 6382 .editor-document-bar__icon-layout.editor-document-bar__icon-layout {
6471 6383 display: flex;
@@ -6595,12 +6507,12 @@
6595 6507 .editor-document-tools .editor-document-tools__left > .components-button.has-icon.is-pressed,
6596 6508 .editor-document-tools .editor-document-tools__left > .components-dropdown > .components-button.has-icon.is-pressed {
6597 6509 background: #1e1e1e;
6598 6510 }
6599 -.editor-document-tools .editor-document-tools__left > .components-button.has-icon:focus:not(:disabled),
6600 -.editor-document-tools .editor-document-tools__left > .components-dropdown > .components-button.has-icon:focus:not(:disabled) {
6601 - box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color), inset 0 0 0 1px #fff;
6602 - outline: 1px solid transparent;
6511 +.editor-document-tools .editor-document-tools__left > .components-button.has-icon:focus:not(:active),
6512 +.editor-document-tools .editor-document-tools__left > .components-dropdown > .components-button.has-icon:focus:not(:active) {
6513 + outline: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)) solid var(--focus-color, var(--wpds-color-stroke-focus, var(--wp-admin-theme-color, #3858e9)));
6514 + outline-offset: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px));
6603 6515 }
6604 6516 .editor-document-tools .editor-document-tools__left > .components-button.has-icon::before,
6605 6517 .editor-document-tools .editor-document-tools__left > .components-dropdown > .components-button.has-icon::before {
6606 6518 display: none;
@@ -6654,19 +6566,28 @@
6654 6566 left: 0;
6655 6567 }
6656 6568
6657 6569 .editor-error-boundary {
6658 - font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
6570 + font-family: var(--wpds-typography-font-family-body, -apple-system, system-ui, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif);
6659 6571 margin: auto;
6660 - max-width: 780px;
6661 - padding: 1em;
6572 + width: 100%;
6573 + max-width: var(--wpds-dimension-surface-width-lg, 560px);
6574 + padding: var(--wpds-dimension-padding-xl, 20px);
6662 6575 margin-top: 64px;
6663 - 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);
6664 - border: 1px solid #1e1e1e;
6665 - border-radius: 2px;
6666 - background-color: #fff;
6667 6576 }
6668 6577
6578 +.editor-error-boundary__report {
6579 + max-height: 420px;
6580 + overflow: auto;
6581 + overflow-anchor: none;
6582 +}
6583 +
6584 +.editor-error-boundary__report-section {
6585 + margin: 0;
6586 + white-space: pre-wrap;
6587 + overflow-wrap: break-word;
6588 +}
6589 +
6669 6590 .editor-global-styles-header__description {
6670 6591 padding: 0 16px;
6671 6592 }
6672 6593
@@ -6682,8 +6603,27 @@
6682 6603 .editor-global-styles-sidebar__panel {
6683 6604 flex: 1;
6684 6605 }
6685 6606
6607 +.editor-global-styles-sidebar .editor-global-styles-sidebar__header {
6608 + flex-grow: 1;
6609 +}
6610 +
6611 +.editor-global-styles-sidebar:has(.global-styles-ui-screen-revisions) {
6612 + overflow: hidden;
6613 +}
6614 +
6615 +.editor-global-styles-sidebar__panel:has(.global-styles-ui-screen-revisions) {
6616 + display: flex;
6617 + flex-direction: column;
6618 + min-height: 0;
6619 +}
6620 +
6621 +.editor-global-styles-sidebar .global-styles-ui-sidebar__navigator-provider:has(.global-styles-ui-screen-revisions) {
6622 + flex: 1;
6623 + min-height: 0;
6624 +}
6625 +
6686 6626 .editor-global-styles-sidebar .editor-global-styles-sidebar__header-title {
6687 6627 margin: 0;
6688 6628 }
6689 6629
@@ -6743,10 +6683,9 @@
6743 6683 }
6744 6684 .editor-welcome-guide__image > img {
6745 6685 display: block;
6746 6686 max-width: 100%;
6747 - -o-object-fit: cover;
6748 - object-fit: cover;
6687 + object-fit: cover;
6749 6688 }
6750 6689 .editor-welcome-guide__heading {
6751 6690 font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
6752 6691 font-size: 24px;
@@ -6763,9 +6702,9 @@
6763 6702 .editor-welcome-guide__text img {
6764 6703 vertical-align: bottom;
6765 6704 }
6766 6705 .editor-welcome-guide .components-button:hover svg {
6767 - fill: #fff;
6706 + color: #fff;
6768 6707 }
6769 6708
6770 6709 .editor-header {
6771 6710 box-sizing: border-box;
@@ -6779,16 +6718,16 @@
6779 6718 height: 64px;
6780 6719 background: #fff;
6781 6720 display: grid;
6782 6721 grid-auto-flow: row;
6783 - grid-template: auto/32px minmax(0, max-content) minmax(min-content, 1fr) 64px;
6722 + grid-template: auto/auto minmax(0, max-content) minmax(min-content, 1fr) 64px;
6784 6723 }
6785 6724 .editor-header:has(> .editor-header__center) {
6786 - grid-template: auto/32px min-content 1fr min-content 64px;
6725 + grid-template: auto/auto min-content 1fr min-content 64px;
6787 6726 }
6788 6727 @media (min-width: 782px) {
6789 6728 .editor-header:has(> .editor-header__center) {
6790 - grid-template: auto/32px minmax(min-content, 2fr) 2.5fr minmax(min-content, 2fr) 64px;
6729 + grid-template: auto/auto minmax(min-content, 2fr) 2.5fr minmax(min-content, 2fr) 64px;
6791 6730 }
6792 6731 }
6793 6732 @media (min-width: 480px) {
6794 6733 .editor-header {
@@ -6806,10 +6745,13 @@
6806 6745 }
6807 6746 }
6808 6747
6809 6748 .editor-header__back-button {
6810 - padding-right: 8px;
6749 + margin: 0 8px 0 -8px;
6811 6750 }
6751 +.show-icon-labels .editor-header__back-button {
6752 + margin-left: 0;
6753 +}
6812 6754
6813 6755 .editor-header__toolbar {
6814 6756 grid-column: 1/3;
6815 6757 }
@@ -7015,9 +6957,9 @@
7015 6957 }
7016 6958 .editor-editor-interface.is-distraction-free .editor-header > .edit-post-header__settings > .edit-post-header__post-preview-button {
7017 6959 visibility: hidden;
7018 6960 }
7019 -.editor-editor-interface.is-distraction-free .editor-header > .editor-header__toolbar .editor-document-tools__document-overview-toggle, .editor-editor-interface.is-distraction-free .editor-header > .editor-header__settings > .editor-preview-dropdown, .editor-editor-interface.is-distraction-free .editor-header > .editor-header__settings > .interface-pinned-items, .editor-editor-interface.is-distraction-free .editor-header > .editor-header__settings > .editor-zoom-out-toggle {
6961 +.editor-editor-interface.is-distraction-free .editor-header > .editor-header__toolbar .editor-document-tools__document-overview-toggle, .editor-editor-interface.is-distraction-free .editor-header > .editor-header__settings > .editor-preview-dropdown__toggle, .editor-editor-interface.is-distraction-free .editor-header > .editor-header__settings > .interface-pinned-items, .editor-editor-interface.is-distraction-free .editor-header > .editor-header__settings > .editor-zoom-out-toggle {
7020 6962 display: none;
7021 6963 }
7022 6964 .editor-editor-interface.is-distraction-free .interface-interface-skeleton__header:focus-within {
7023 6965 opacity: 1 !important;
@@ -7024,15 +6966,15 @@
7024 6966 }
7025 6967 .editor-editor-interface.is-distraction-free .interface-interface-skeleton__header:focus-within div {
7026 6968 transform: translateX(0) translateZ(0) !important;
7027 6969 }
7028 -.editor-editor-interface.is-distraction-free .components-editor-notices__dismissible {
6970 +.editor-editor-interface.is-distraction-free .editor-notices__dismissible {
7029 6971 position: absolute;
7030 6972 z-index: 35;
7031 6973 }
7032 -
7033 -.components-popover.more-menu-dropdown__content {
7034 - z-index: 99998;
6974 +.editor-editor-interface.is-distraction-free .interface-interface-skeleton__header:hover,
6975 +.editor-editor-interface.is-distraction-free .interface-interface-skeleton__header:focus-within {
6976 + z-index: 36;
7035 6977 }
7036 6978
7037 6979 .editor-inserter-sidebar {
7038 6980 box-sizing: border-box;
@@ -7162,9 +7104,9 @@
7162 7104 scrollbar-gutter: auto;
7163 7105 }
7164 7106
7165 7107 .editor-list-view-sidebar__list-view-panel-content {
7166 - padding: 4px;
7108 + padding: 8px;
7167 7109 }
7168 7110
7169 7111 .editor-list-view-sidebar__list-view-container {
7170 7112 display: flex;
@@ -7195,8 +7137,13 @@
7195 7137 line-height: 1.4;
7196 7138 color: #757575;
7197 7139 }
7198 7140
7141 +.editor-more-menu__popup {
7142 + max-height: var(--available-height);
7143 + max-width: var(--wpds-dimension-surface-width-sm, 320px);
7144 +}
7145 +
7199 7146 .editor-post-parent__panel,
7200 7147 .editor-post-order__panel {
7201 7148 padding-top: 8px;
7202 7149 }
@@ -7247,12 +7194,12 @@
7247 7194 margin: 0;
7248 7195 display: flex;
7249 7196 align-items: center;
7250 7197 flex-wrap: wrap;
7251 - -moz-column-gap: 8px;
7252 - column-gap: 8px;
7198 + column-gap: 8px;
7253 7199 row-gap: 4px;
7254 - word-break: break-word;
7200 + word-break: normal;
7201 + overflow-wrap: anywhere;
7255 7202 }
7256 7203 .editor-post-card-panel__icon {
7257 7204 flex: 0 0 24px;
7258 7205 width: 24px;
@@ -7357,13 +7304,11 @@
7357 7304 background-position: 0 0, 12px 12px;
7358 7305 background-size: 24px 24px;
7359 7306 }
7360 7307 .editor-post-featured-image__preview .editor-post-featured-image__preview-image {
7361 - -o-object-fit: cover;
7362 - object-fit: cover;
7308 + object-fit: cover;
7363 7309 width: 100%;
7364 - -o-object-position: 50% 50%;
7365 - object-position: 50% 50%;
7310 + object-position: 50% 50%;
7366 7311 aspect-ratio: 2/1;
7367 7312 }
7368 7313
7369 7314 .editor-post-featured-image__actions:not(.editor-post-featured-image__actions-missing-image) {
@@ -7414,9 +7359,9 @@
7414 7359 .editor-post-last-revision__title.components-button.has-icon:hover, .editor-post-last-revision__title.components-button.has-icon:active {
7415 7360 background: #f0f0f0;
7416 7361 }
7417 7362 .editor-post-last-revision__title.components-button.has-icon:focus {
7418 - box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
7363 + outline-offset: calc(-1 * var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)));
7419 7364 border-radius: 0;
7420 7365 }
7421 7366
7422 7367 .components-panel__body.is-opened.editor-post-last-revision__panel {
@@ -7452,9 +7397,10 @@
7452 7397 align-items: center;
7453 7398 padding: 6px 0;
7454 7399 line-height: 20px;
7455 7400 hyphens: auto;
7456 - word-break: break-word;
7401 + word-break: normal;
7402 + overflow-wrap: anywhere;
7457 7403 }
7458 7404
7459 7405 .editor-post-panel__row-control {
7460 7406 flex-grow: 1;
@@ -7530,9 +7476,10 @@
7530 7476 .components-site-home {
7531 7477 display: block;
7532 7478 color: #757575;
7533 7479 font-size: 12px;
7534 - word-break: break-word;
7480 + word-break: normal;
7481 + overflow-wrap: anywhere;
7535 7482 }
7536 7483
7537 7484 .editor-post-publish-panel__header-publish-button,
7538 7485 .editor-post-publish-panel__header-cancel-button {
@@ -7553,12 +7500,8 @@
7553 7500 .editor-post-publish-panel__header-cancel-button {
7554 7501 padding-left: 4px;
7555 7502 }
7556 7503
7557 -.editor-post-publish-panel__header-published {
7558 - flex-grow: 1;
7559 -}
7560 -
7561 7504 .editor-post-publish-panel__footer {
7562 7505 padding: 16px;
7563 7506 }
7564 7507
@@ -7588,11 +7531,8 @@
7588 7531 background: #fff;
7589 7532 margin-right: -16px;
7590 7533 margin-left: -16px;
7591 7534 }
7592 -.editor-post-publish-panel__prepublish .editor-post-visibility__dialog-legend {
7593 - display: none;
7594 -}
7595 7535 .editor-post-publish-panel__prepublish .components-panel__body-title .components-button {
7596 7536 align-items: flex-start;
7597 7537 text-wrap: balance;
7598 7538 text-wrap: pretty;
@@ -7600,9 +7540,10 @@
7600 7540
7601 7541 .post-publish-panel__postpublish .components-panel__body {
7602 7542 border-bottom: 1px solid #e0e0e0;
7603 7543 border-top: none;
7604 - word-break: break-word;
7544 + word-break: normal;
7545 + overflow-wrap: anywhere;
7605 7546 }
7606 7547
7607 7548 .post-publish-panel__postpublish-buttons {
7608 7549 display: flex;
@@ -7649,17 +7590,8 @@
7649 7590 .post-publish-panel__postpublish-subheader {
7650 7591 margin: 0 0 8px;
7651 7592 }
7652 7593
7653 -.post-publish-panel__tip {
7654 - color: #f0b849;
7655 -}
7656 -
7657 -@media screen and (max-width: 782px) {
7658 - .post-publish-panel__postpublish-post-address__button-wrap .components-button {
7659 - height: 40px;
7660 - }
7661 -}
7662 7594 .editor-post-publish-panel {
7663 7595 box-sizing: border-box;
7664 7596 }
7665 7597 .editor-post-publish-panel *,
@@ -7733,8 +7665,103 @@
7733 7665 flex: 1;
7734 7666 min-width: 0;
7735 7667 }
7736 7668
7669 +.editor-revisions-code-diff {
7670 + height: 100%;
7671 + overflow: auto;
7672 + background: #fff;
7673 + color: #1e1e1e;
7674 +}
7675 +.editor-revisions-code-diff:focus-visible {
7676 + box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
7677 + outline: none;
7678 +}
7679 +
7680 +.editor-revisions-code-diff__table {
7681 + width: 100%;
7682 + min-width: max-content;
7683 + border: 0;
7684 + border-collapse: separate;
7685 + border-spacing: 0;
7686 + font-family: Menlo, Consolas, monaco, monospace;
7687 + font-size: 15px;
7688 + line-height: 1.6;
7689 +}
7690 +
7691 +.editor-revisions-code-diff__line.is-added {
7692 + background: rgba(0, 163, 42, 0.12);
7693 +}
7694 +.editor-revisions-code-diff__line.is-added > .editor-revisions-code-diff__line-number,
7695 +.editor-revisions-code-diff__line.is-added > .editor-revisions-code-diff__marker {
7696 + background: color-mix(in srgb, #00a32a 12%, #fff);
7697 +}
7698 +.editor-revisions-code-diff__line.is-removed {
7699 + background: rgba(214, 54, 56, 0.12);
7700 +}
7701 +.editor-revisions-code-diff__line.is-removed > .editor-revisions-code-diff__line-number,
7702 +.editor-revisions-code-diff__line.is-removed > .editor-revisions-code-diff__marker {
7703 + background: color-mix(in srgb, #d63638 12%, #fff);
7704 +}
7705 +
7706 +.editor-revisions-code-diff__line-number,
7707 +.editor-revisions-code-diff__marker {
7708 + position: sticky;
7709 + z-index: 1;
7710 + box-sizing: border-box;
7711 + padding: 0 8px;
7712 + background: #fff;
7713 + color: #757575;
7714 + text-align: left;
7715 + white-space: nowrap;
7716 + -webkit-user-select: none;
7717 + user-select: none;
7718 +}
7719 +
7720 +.editor-revisions-code-diff__line-number {
7721 + right: 0;
7722 + width: 6ch;
7723 + min-width: 6ch;
7724 + max-width: 6ch;
7725 + border-left: 1px solid #e0e0e0;
7726 + background: #f0f0f0;
7727 +}
7728 +.editor-revisions-code-diff__line-number.is-previous + .editor-revisions-code-diff__line-number.is-current {
7729 + right: 6ch;
7730 +}
7731 +
7732 +.editor-revisions-code-diff__marker {
7733 + right: 12ch;
7734 + width: 3ch;
7735 + min-width: 3ch;
7736 + max-width: 3ch;
7737 + border-left: 1px solid #e0e0e0;
7738 + padding: 0;
7739 + font-weight: 600;
7740 + text-align: center;
7741 +}
7742 +
7743 +.editor-revisions-code-diff__code {
7744 + width: 100%;
7745 + padding: 0 8px 0 16px;
7746 + direction: ltr;
7747 + unicode-bidi: isolate;
7748 + white-space: pre;
7749 +}
7750 +.editor-revisions-code-diff__code code {
7751 + margin: 0;
7752 + padding: 0;
7753 + background: none;
7754 + color: inherit;
7755 + font: inherit;
7756 +}
7757 +
7758 +.editor-revisions-code-diff__empty {
7759 + margin: 0;
7760 + padding: 24px;
7761 + color: #757575;
7762 +}
7763 +
7737 7764 .revision-diff-markers {
7738 7765 position: relative;
7739 7766 flex-shrink: 0;
7740 7767 width: max(16px, 1rem);
@@ -7770,9 +7797,10 @@
7770 7797 display: flex;
7771 7798 flex-direction: column;
7772 7799 overflow: hidden;
7773 7800 }
7774 -.interface-complementary-area:has(.editor-post-revisions-timeline) .editor-sidebar__panel-tabs {
7801 +
7802 +.interface-complementary-area > .editor-sidebar__panel-tabs {
7775 7803 flex-shrink: 0;
7776 7804 }
7777 7805
7778 7806 .editor-sidebar__panel:has(.editor-post-revisions-timeline) {
@@ -7780,25 +7808,29 @@
7780 7808 flex-direction: column;
7781 7809 flex: 1;
7782 7810 min-height: 0;
7783 7811 }
7784 -.editor-sidebar__panel:has(.editor-post-revisions-timeline) [role=tabpanel]:has(.editor-post-revisions-timeline) {
7812 +
7813 +.editor-sidebar__panel [role=tabpanel]:has(.editor-post-revisions-timeline) {
7785 7814 display: flex;
7786 7815 flex-direction: column;
7787 7816 flex: 1;
7788 7817 min-height: 0;
7789 7818 }
7790 -.editor-sidebar__panel:has(.editor-post-revisions-timeline) .editor-revision-meta-diff__content {
7819 +
7820 +.editor-sidebar__panel .editor-revision-meta-diff__content {
7791 7821 max-height: 80px;
7792 7822 overflow-y: auto;
7793 7823 }
7794 -.editor-sidebar__panel:has(.editor-post-revisions-timeline) .editor-post-revisions-timeline {
7824 +
7825 +.editor-sidebar__panel .editor-post-revisions-timeline {
7795 7826 flex: 1;
7796 7827 min-height: 0;
7797 7828 }
7798 7829
7799 7830 .editor-revision-fields-diff__value {
7800 - word-break: break-word;
7831 + word-break: normal;
7832 + overflow-wrap: anywhere;
7801 7833 }
7802 7834
7803 7835 .editor-revision-fields-diff__added {
7804 7836 background-color: color-mix(in srgb, currentColor 5%, #00a32a 15%);
@@ -7852,8 +7884,14 @@
7852 7884 min-width: 320px;
7853 7885 padding: 16px;
7854 7886 }
7855 7887
7888 +.editor-post-schedule__reset {
7889 + justify-content: center;
7890 + margin-top: 16px;
7891 + width: 100%;
7892 +}
7893 +
7856 7894 .editor-post-status {
7857 7895 max-width: 100%;
7858 7896 }
7859 7897 .editor-post-status.is-read-only {
@@ -7906,8 +7944,13 @@
7906 7944 .editor-post-taxonomies__hierarchical-terms-choice:last-child {
7907 7945 margin-bottom: 4px;
7908 7946 }
7909 7947
7948 +.editor-post-taxonomies__hierarchical-terms-add,
7949 +.editor-post-taxonomies__hierarchical-terms-submit {
7950 + align-self: flex-start;
7951 +}
7952 +
7910 7953 .editor-post-taxonomies__hierarchical-terms-subchoices {
7911 7954 margin-top: 8px;
7912 7955 margin-right: 16px;
7913 7956 }
@@ -7953,29 +7996,24 @@
7953 7996 z-index: 1000001;
7954 7997 }
7955 7998
7956 7999 .editor-post-template__swap-template-modal-content .block-editor-block-patterns-list {
7957 - -moz-column-count: 2;
7958 - column-count: 2;
7959 - -moz-column-gap: 24px;
7960 - column-gap: 24px;
8000 + column-count: 2;
8001 + column-gap: 24px;
7961 8002 padding-top: 2px;
7962 8003 }
7963 8004 @media (min-width: 782px) {
7964 8005 .editor-post-template__swap-template-modal-content .block-editor-block-patterns-list {
7965 - -moz-column-count: 3;
7966 - column-count: 3;
8006 + column-count: 3;
7967 8007 }
7968 8008 }
7969 8009 @media (min-width: 1280px) {
7970 8010 .editor-post-template__swap-template-modal-content .block-editor-block-patterns-list {
7971 - -moz-column-count: 4;
7972 - column-count: 4;
8011 + column-count: 4;
7973 8012 }
7974 8013 }
7975 8014 .editor-post-template__swap-template-modal-content .block-editor-block-patterns-list .block-editor-block-patterns-list__list-item {
7976 - -moz-column-break-inside: avoid;
7977 - break-inside: avoid-column;
8015 + break-inside: avoid-column;
7978 8016 }
7979 8017
7980 8018 .editor-post-template__dropdown .components-popover__content {
7981 8019 min-width: 240px;
@@ -8030,9 +8068,10 @@
8030 8068 margin: 0;
8031 8069 width: 100%;
8032 8070 box-shadow: none;
8033 8071 resize: none;
8034 - overflow: hidden;
8072 + field-sizing: content;
8073 + overflow: auto;
8035 8074 font-family: Menlo, Consolas, monaco, monospace;
8036 8075 line-height: 2.4;
8037 8076 min-height: 200px;
8038 8077 }
@@ -8062,11 +8101,8 @@
8062 8101 border-color: var(--wp-admin-theme-color);
8063 8102 box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
8064 8103 position: relative;
8065 8104 }
8066 -textarea.editor-post-text-editor::-moz-placeholder {
8067 - color: rgba(30, 30, 30, 0.62);
8068 -}
8069 8105 textarea.editor-post-text-editor::placeholder {
8070 8106 color: rgba(30, 30, 30, 0.62);
8071 8107 }
8072 8108
@@ -8086,9 +8122,10 @@
8086 8122 }
8087 8123 .editor-post-url__link,
8088 8124 .editor-post-url__front-page-link {
8089 8125 direction: ltr;
8090 - word-break: break-word;
8126 + word-break: normal;
8127 + overflow-wrap: anywhere;
8091 8128 }
8092 8129 .editor-post-url__front-page-link {
8093 8130 padding: 6px 12px;
8094 8131 border-radius: 2px;
@@ -8113,9 +8150,10 @@
8113 8150 }
8114 8151
8115 8152 .editor-post-url__panel-toggle,
8116 8153 .editor-post-parent__panel-toggle {
8117 - word-break: break-word;
8154 + word-break: normal;
8155 + overflow-wrap: anywhere;
8118 8156 }
8119 8157
8120 8158 .editor-post-url__intro {
8121 8159 margin: 0;
@@ -8138,20 +8176,24 @@
8138 8176 flex-grow: 1;
8139 8177 justify-content: center;
8140 8178 }
8141 8179
8142 -.editor-preview-dropdown .editor-preview-dropdown__toggle.has-icon.has-text {
8180 +.editor-preview-dropdown__popup {
8181 + max-width: var(--wpds-dimension-surface-width-xs, 240px);
8182 +}
8183 +
8184 +.editor-preview-dropdown__toggle.has-icon.has-text {
8143 8185 padding-left: 4px;
8144 8186 padding-right: 6px;
8145 8187 }
8146 8188
8147 -.editor-preview-dropdown.is-responsive-editing .editor-preview-dropdown__toggle {
8189 +.editor-preview-dropdown__toggle.is-responsive-editing {
8148 8190 color: var(--wp-block-synced-color);
8149 8191 }
8150 8192
8151 8193 @media (prefers-reduced-motion: no-preference) {
8152 8194 .editor-resizable-editor:not(.is-resizing) {
8153 - transition: width 0.2s ease-out, height 0.2s ease-out;
8195 + transition: width 0.2s ease-out;
8154 8196 }
8155 8197 }
8156 8198
8157 8199 .editor-resizable-editor.is-resizable {
@@ -8165,11 +8207,9 @@
8165 8207 bottom: 0;
8166 8208 padding: 0;
8167 8209 margin: auto 0;
8168 8210 width: 12px;
8169 - -webkit-appearance: none;
8170 - -moz-appearance: none;
8171 - appearance: none;
8211 + appearance: none;
8172 8212 cursor: ew-resize;
8173 8213 outline: none;
8174 8214 background: none;
8175 8215 border-radius: 9999px;
@@ -8199,8 +8239,22 @@
8199 8239 .editor-resizable-editor__resize-handle:hover::after, .editor-resizable-editor__resize-handle:focus::after, .editor-resizable-editor__resize-handle:active::after {
8200 8240 background-color: var(--wp-admin-theme-color);
8201 8241 }
8202 8242
8243 +.editor-save-error-details {
8244 + display: inline;
8245 +}
8246 +
8247 +.editor-save-error-details summary {
8248 + display: inline;
8249 + cursor: var(--wpds-cursor-control, pointer);
8250 + margin-right: 0.35em;
8251 +}
8252 +
8253 +.editor-save-error-details__message {
8254 + white-space: break-spaces;
8255 +}
8256 +
8203 8257 .editor-layout__toggle-publish-panel,
8204 8258 .editor-layout__toggle-sidebar-panel,
8205 8259 .editor-layout__toggle-entities-saved-states-panel {
8206 8260 z-index: 100000;
@@ -8231,12 +8285,12 @@
8231 8285 bottom: 0;
8232 8286 width: 100%;
8233 8287 height: 72px;
8234 8288 background-color: #fff;
8235 - margin-right: -32px;
8236 - margin-left: -32px;
8237 - padding-right: 32px;
8238 - padding-left: 32px;
8289 + margin-right: -24px;
8290 + margin-left: -24px;
8291 + padding-right: 24px;
8292 + padding-left: 24px;
8239 8293 border-top: 1px solid #ddd;
8240 8294 z-index: 1;
8241 8295 }
8242 8296 .editor-start-page-options__modal .block-editor-block-patterns-list {
@@ -8241,30 +8295,51 @@
8241 8295 }
8242 8296 .editor-start-page-options__modal .block-editor-block-patterns-list {
8243 8297 padding-bottom: 72px;
8244 8298 }
8299 +.editor-start-page-options__modal .editor-start-page-options__sidebar {
8300 + display: none;
8301 +}
8302 +@media (min-width: 782px) {
8303 + .editor-start-page-options__modal .editor-start-page-options__sidebar {
8304 + display: flex;
8305 + position: absolute;
8306 + top: 72px;
8307 + right: 0;
8308 + bottom: 72px;
8309 + width: 280px;
8310 + padding: 24px;
8311 + overflow-x: visible;
8312 + overflow-y: auto;
8313 + }
8314 +}
8245 8315
8246 -.editor-start-page-options__modal-content .block-editor-block-patterns-list {
8247 - -moz-column-count: 2;
8248 - column-count: 2;
8249 - -moz-column-gap: 24px;
8250 - column-gap: 24px;
8316 +.editor-start-page-options__modal-content {
8317 + container-type: inline-size;
8251 8318 }
8319 +
8252 8320 @media (min-width: 782px) {
8253 - .editor-start-page-options__modal-content .block-editor-block-patterns-list {
8254 - -moz-column-count: 3;
8255 - column-count: 3;
8321 + .editor-start-page-options__modal-content.has-pattern-categories {
8322 + margin-right: 280px;
8256 8323 }
8257 8324 }
8258 -@media (min-width: 1280px) {
8325 +
8326 +.editor-start-page-options__no-results {
8327 + padding: 32px;
8328 + text-align: center;
8329 +}
8330 +
8331 +.editor-start-page-options__modal-content .block-editor-block-patterns-list {
8332 + column-count: 2;
8333 + column-gap: 24px;
8334 +}
8335 +@container (min-width: 464px) {
8259 8336 .editor-start-page-options__modal-content .block-editor-block-patterns-list {
8260 - -moz-column-count: 4;
8261 - column-count: 4;
8337 + columns: 4 220px;
8262 8338 }
8263 8339 }
8264 8340 .editor-start-page-options__modal-content .block-editor-block-patterns-list .block-editor-block-patterns-list__list-item {
8265 - -moz-column-break-inside: avoid;
8266 - break-inside: avoid-column;
8341 + break-inside: avoid-column;
8267 8342 margin-bottom: 24px;
8268 8343 }
8269 8344 .editor-start-page-options__modal-content .block-editor-block-patterns-list .block-editor-block-patterns-list__list-item .block-editor-block-preview__container {
8270 8345 min-height: 100px;
@@ -8278,12 +8353,12 @@
8278 8353 bottom: 0;
8279 8354 width: 100%;
8280 8355 height: 92px;
8281 8356 background-color: #fff;
8282 - margin-right: -32px;
8283 - margin-left: -32px;
8284 - padding-right: 32px;
8285 - padding-left: 32px;
8357 + margin-right: -24px;
8358 + margin-left: -24px;
8359 + padding-right: 24px;
8360 + padding-left: 24px;
8286 8361 border-top: 1px solid #ddd;
8287 8362 z-index: 1;
8288 8363 }
8289 8364 .editor-start-template-options__modal .block-editor-block-patterns-list {
@@ -8290,28 +8365,18 @@
8290 8365 padding-bottom: 92px;
8291 8366 }
8292 8367
8293 8368 .editor-start-template-options__modal-content .block-editor-block-patterns-list {
8294 - -moz-column-count: 2;
8295 - column-count: 2;
8296 - -moz-column-gap: 24px;
8297 - column-gap: 24px;
8369 + column-count: 2;
8370 + column-gap: 24px;
8298 8371 }
8299 8372 @media (min-width: 782px) {
8300 8373 .editor-start-template-options__modal-content .block-editor-block-patterns-list {
8301 - -moz-column-count: 3;
8302 - column-count: 3;
8374 + columns: 4 220px;
8303 8375 }
8304 8376 }
8305 -@media (min-width: 1280px) {
8306 - .editor-start-template-options__modal-content .block-editor-block-patterns-list {
8307 - -moz-column-count: 4;
8308 - column-count: 4;
8309 - }
8310 -}
8311 8377 .editor-start-template-options__modal-content .block-editor-block-patterns-list .block-editor-block-patterns-list__list-item {
8312 - -moz-column-break-inside: avoid;
8313 - break-inside: avoid-column;
8378 + break-inside: avoid-column;
8314 8379 }
8315 8380 .editor-start-template-options__modal-content .block-editor-block-patterns-list .block-editor-block-patterns-list__list-item .block-editor-block-patterns-list__item-title {
8316 8381 display: none;
8317 8382 }
@@ -8405,8 +8470,11 @@
8405 8470 display: block;
8406 8471 width: 100%;
8407 8472 height: 100%;
8408 8473 }
8474 +.editor-styles-canvas.is-preview-mode {
8475 + padding: 0;
8476 +}
8409 8477
8410 8478 .editor-styles-canvas__section {
8411 8479 background: #fff;
8412 8480 bottom: 0;
@@ -8519,9 +8587,9 @@
8519 8587 max-width: none;
8520 8588 line-height: 1.4;
8521 8589 font-family: Menlo, Consolas, monaco, monospace;
8522 8590 font-size: 2.5em;
8523 - font-weight: normal;
8591 + font-weight: 400;
8524 8592 border: 1px solid #949494;
8525 8593 border-radius: 0;
8526 8594 padding: 16px;
8527 8595 }
@@ -8605,9 +8673,11 @@
8605 8673 .editor-visual-editor iframe[name=editor-canvas] {
8606 8674 background-color: transparent;
8607 8675 }
8608 8676 .editor-visual-editor {
8677 + flex-direction: column;
8609 8678 align-items: center;
8679 + justify-content: center;
8610 8680 }
8611 8681 @media (prefers-reduced-motion: no-preference) {
8612 8682 .editor-visual-editor {
8613 8683 transition: padding 0.2s ease-out;