| @@ -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; |
| @@ -708,13 +709,17 @@ | ||
| 708 | 709 | text-transform: uppercase; |
| 709 | 710 | } |
| 710 | 711 | |
| 711 | 712 | @media (min-width: 600px) { |
| 712 | - .font-library__page-selection .font-library__page-selection-trigger { | |
| 713 | + .font-library__page-selection .components-select-control__input { | |
| 713 | 714 | font-size: 11px !important; |
| 714 | 715 | font-weight: var(--wpds-typography-font-weight-emphasis, 600); |
| 715 | 716 | } |
| 716 | 717 | } |
| 718 | +.font-library__search { | |
| 719 | + width: 240px; | |
| 720 | +} | |
| 721 | + | |
| 717 | 722 | .font-library__fonts-title { |
| 718 | 723 | text-transform: uppercase; |
| 719 | 724 | font-size: 11px; |
| 720 | 725 | font-weight: var(--wpds-typography-font-weight-emphasis, 600); |
| @@ -732,11 +737,15 @@ | ||
| 732 | 737 | .font-library__fonts-list-item { |
| 733 | 738 | margin-bottom: 0; |
| 734 | 739 | } |
| 735 | 740 | |
| 741 | +.font-library__font-demo { | |
| 742 | + position: relative; | |
| 743 | +} | |
| 744 | + | |
| 736 | 745 | .font-library__font-card { |
| 737 | 746 | box-sizing: border-box; |
| 738 | - border: 1px solid #ddd; | |
| 747 | + border: 1px solid var(--wpds-color-stroke-surface-neutral, #dbdbdb); | |
| 739 | 748 | width: 100%; |
| 740 | 749 | height: auto !important; |
| 741 | 750 | padding: 16px; |
| 742 | 751 | margin-top: -1px; /* To collapse the margin with the previous element */ |
| @@ -750,13 +759,13 @@ | ||
| 750 | 759 | position: relative; |
| 751 | 760 | } |
| 752 | 761 | |
| 753 | 762 | .font-library__font-card .font-library__font-card__name { |
| 754 | - font-weight: bold; | |
| 763 | + font-weight: 700; | |
| 755 | 764 | } |
| 756 | 765 | |
| 757 | 766 | .font-library__font-card .font-library__font-card__count { |
| 758 | - color: #757575; | |
| 767 | + color: var(--wpds-color-foreground-content-neutral-weak, #707070); | |
| 759 | 768 | } |
| 760 | 769 | |
| 761 | 770 | .font-library__font-card .font-library__font-variant_demo-image { |
| 762 | 771 | display: block; |
| @@ -763,8 +772,25 @@ | ||
| 763 | 772 | height: 24px; |
| 764 | 773 | width: auto; |
| 765 | 774 | } |
| 766 | 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 | + | |
| 767 | 793 | .font-library__font-card .font-library__font-variant_demo-text { |
| 768 | 794 | white-space: nowrap; |
| 769 | 795 | flex-shrink: 0; |
| 770 | 796 | } |
| @@ -776,9 +802,9 @@ | ||
| 776 | 802 | } |
| 777 | 803 | .font-library-modal__tablist-container { |
| 778 | 804 | position: sticky; |
| 779 | 805 | top: 0; |
| 780 | - border-bottom: 1px solid #ddd; | |
| 806 | + border-bottom: 1px solid var(--wpds-color-stroke-surface-neutral, #dbdbdb); | |
| 781 | 807 | background: #fff; |
| 782 | 808 | z-index: 1; |
| 783 | 809 | } |
| 784 | 810 | |
| @@ -799,9 +825,9 @@ | ||
| 799 | 825 | width: 80%; |
| 800 | 826 | } |
| 801 | 827 | |
| 802 | 828 | .font-library__local-fonts .font-library__upload-area__text { |
| 803 | - color: #757575; | |
| 829 | + color: var(--wpds-color-foreground-content-neutral-weak, #707070); | |
| 804 | 830 | } |
| 805 | 831 | |
| 806 | 832 | .font-library__google-fonts-confirm { |
| 807 | 833 | display: flex; |
| @@ -836,113 +862,22 @@ | ||
| 836 | 862 | .font-library__select-all .components-checkbox-control__label { |
| 837 | 863 | padding-right: 16px; |
| 838 | 864 | } |
| 839 | 865 | |
| 840 | -.global-styles-ui-pagination .components-button.is-tertiary { | |
| 841 | - width: 32px; | |
| 842 | - height: 32px; | |
| 843 | - justify-content: center; | |
| 844 | -} | |
| 845 | - | |
| 846 | -.global-styles-ui-screen-revisions__revisions-list { | |
| 847 | - list-style: none; | |
| 848 | - margin: 0 16px 16px 16px; | |
| 849 | - flex-grow: 1; | |
| 850 | -} | |
| 851 | - | |
| 852 | -.global-styles-ui-screen-revisions__revisions-list li { | |
| 853 | - margin-bottom: 0; | |
| 854 | -} | |
| 855 | - | |
| 856 | -.global-styles-ui-screen-revisions__revision-item { | |
| 857 | - position: relative; | |
| 858 | - cursor: var(--wpds-cursor-control, pointer); | |
| 866 | +.global-styles-ui-screen-revisions { | |
| 859 | 867 | display: flex; |
| 860 | 868 | flex-direction: column; |
| 869 | + flex-grow: 1; | |
| 870 | + min-height: 0; | |
| 861 | 871 | } |
| 862 | 872 | |
| 863 | -.global-styles-ui-screen-revisions__revision-item[role=option]:active, .global-styles-ui-screen-revisions__revision-item[role=option]:focus { | |
| 864 | - box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color); | |
| 865 | - outline: 2px solid transparent; | |
| 873 | +.global-styles-ui-screen-revisions__actions { | |
| 874 | + margin-inline-start: auto; | |
| 866 | 875 | } |
| 867 | 876 | |
| 868 | -.global-styles-ui-screen-revisions__revision-item:hover { | |
| 869 | - background: rgba(var(--wp-admin-theme-color--rgb), 0.04); | |
| 870 | -} | |
| 871 | - | |
| 872 | -.global-styles-ui-screen-revisions__revision-item:hover .global-styles-ui-screen-revisions__date { | |
| 873 | - color: var(--wp-admin-theme-color); | |
| 874 | -} | |
| 875 | - | |
| 876 | -.global-styles-ui-screen-revisions__revision-item::before, .global-styles-ui-screen-revisions__revision-item::after { | |
| 877 | - position: absolute; | |
| 878 | - content: "\a"; | |
| 879 | - display: block; | |
| 880 | -} | |
| 881 | - | |
| 882 | -.global-styles-ui-screen-revisions__revision-item::before { | |
| 883 | - background: #ddd; | |
| 884 | - border-radius: 50%; | |
| 885 | - height: 8px; | |
| 886 | - width: 8px; | |
| 887 | - top: 18px; | |
| 888 | - right: 17px; | |
| 889 | - transform: translate(50%, -50%); | |
| 890 | - z-index: 1; | |
| 891 | - border: 4px solid transparent; | |
| 892 | -} | |
| 893 | - | |
| 894 | -.global-styles-ui-screen-revisions__revision-item[aria-selected=true] { | |
| 895 | - border-radius: 2px; | |
| 896 | - outline: 3px solid transparent; | |
| 897 | - outline-offset: -2px; | |
| 898 | - color: var(--wp-admin-theme-color); | |
| 899 | - background: rgba(var(--wp-admin-theme-color--rgb), 0.04); | |
| 900 | -} | |
| 901 | - | |
| 902 | -.global-styles-ui-screen-revisions__revision-item[aria-selected=true] .global-styles-ui-screen-revisions__date { | |
| 903 | - color: var(--wp-admin-theme-color); | |
| 904 | -} | |
| 905 | - | |
| 906 | -.global-styles-ui-screen-revisions__revision-item[aria-selected=true]::before { | |
| 907 | - background: var(--wp-admin-theme-color); | |
| 908 | -} | |
| 909 | - | |
| 910 | -.global-styles-ui-screen-revisions__revision-item[aria-selected=true] .global-styles-ui-screen-revisions__changes > li, | |
| 911 | -.global-styles-ui-screen-revisions__revision-item[aria-selected=true] .global-styles-ui-screen-revisions__meta { | |
| 912 | - color: #1e1e1e; | |
| 913 | -} | |
| 914 | - | |
| 915 | -.global-styles-ui-screen-revisions__revision-item::after { | |
| 916 | - height: 100%; | |
| 917 | - right: 16px; | |
| 918 | - top: 0; | |
| 919 | - width: 0; | |
| 920 | - border: 0.5px solid #ddd; | |
| 921 | -} | |
| 922 | - | |
| 923 | -.global-styles-ui-screen-revisions__revision-item:first-child::after { | |
| 924 | - top: 18px; | |
| 925 | -} | |
| 926 | - | |
| 927 | -.global-styles-ui-screen-revisions__revision-item:last-child::after { | |
| 928 | - height: 18px; | |
| 929 | -} | |
| 930 | - | |
| 931 | -.global-styles-ui-screen-revisions__revision-item-wrapper { | |
| 932 | - display: block; | |
| 933 | - padding: 12px 40px 4px 12px; | |
| 934 | -} | |
| 935 | - | |
| 936 | -.global-styles-ui-screen-revisions__apply-button.is-primary, | |
| 937 | -.global-styles-ui-screen-revisions__active-badge { | |
| 938 | - align-self: flex-start; | |
| 939 | - margin: 0 40px 12px 12px; | |
| 940 | -} | |
| 941 | - | |
| 942 | -.global-styles-ui-screen-revisions__changes, | |
| 943 | -.global-styles-ui-screen-revisions__meta { | |
| 944 | - color: #757575; | |
| 877 | +.global-styles-ui-screen-revisions__date { | |
| 878 | + text-transform: uppercase; | |
| 879 | + font-weight: var(--wpds-typography-font-weight-emphasis, 600); | |
| 945 | 880 | font-size: 12px; |
| 946 | 881 | } |
| 947 | 882 | |
| 948 | 883 | .global-styles-ui-screen-revisions__description { |
| @@ -951,11 +886,11 @@ | ||
| 951 | 886 | align-items: flex-start; |
| 952 | 887 | gap: 8px; |
| 953 | 888 | } |
| 954 | 889 | |
| 955 | -.global-styles-ui-screen-revisions__description .global-styles-ui-screen-revisions__date { | |
| 956 | - text-transform: uppercase; | |
| 957 | - 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; | |
| 958 | 893 | font-size: 12px; |
| 959 | 894 | } |
| 960 | 895 | |
| 961 | 896 | .global-styles-ui-screen-revisions__meta { |
| @@ -961,11 +896,10 @@ | ||
| 961 | 896 | .global-styles-ui-screen-revisions__meta { |
| 962 | 897 | display: flex; |
| 963 | 898 | justify-content: start; |
| 964 | 899 | width: 100%; |
| 965 | - align-items: flex-start; | |
| 900 | + align-items: center; | |
| 966 | 901 | text-align: right; |
| 967 | - margin-bottom: 4px; | |
| 968 | 902 | } |
| 969 | 903 | |
| 970 | 904 | .global-styles-ui-screen-revisions__meta img { |
| 971 | 905 | width: 16px; |
| @@ -973,16 +907,12 @@ | ||
| 973 | 907 | border-radius: 100%; |
| 974 | 908 | margin-left: 8px; |
| 975 | 909 | } |
| 976 | 910 | |
| 977 | -.global-styles-ui-screen-revisions__loading { | |
| 978 | - margin: 24px auto !important; | |
| 979 | -} | |
| 980 | - | |
| 981 | 911 | .global-styles-ui-screen-revisions__changes { |
| 982 | 912 | text-align: right; |
| 983 | 913 | line-height: 1.4; |
| 984 | - margin-right: 12px; | |
| 914 | + margin: 0 12px 0 0; | |
| 985 | 915 | list-style: disc; |
| 986 | 916 | } |
| 987 | 917 | |
| 988 | 918 | .global-styles-ui-screen-revisions__changes li { |
| @@ -988,47 +918,8 @@ | ||
| 988 | 918 | .global-styles-ui-screen-revisions__changes li { |
| 989 | 919 | margin-bottom: 4px; |
| 990 | 920 | } |
| 991 | 921 | |
| 992 | -.global-styles-ui-screen-revisions__pagination.global-styles-ui-screen-revisions__pagination { | |
| 993 | - justify-content: space-between; | |
| 994 | - gap: 2px; | |
| 995 | -} | |
| 996 | - | |
| 997 | -.global-styles-ui-screen-revisions__pagination.global-styles-ui-screen-revisions__pagination .edit-site-pagination__total { | |
| 998 | - position: absolute; | |
| 999 | - right: -1000px; | |
| 1000 | - height: 1px; | |
| 1001 | - margin: -1px; | |
| 1002 | - overflow: hidden; | |
| 1003 | -} | |
| 1004 | - | |
| 1005 | -.global-styles-ui-screen-revisions__pagination.global-styles-ui-screen-revisions__pagination .components-text { | |
| 1006 | - font-size: 12px; | |
| 1007 | - will-change: opacity; | |
| 1008 | -} | |
| 1009 | - | |
| 1010 | -.global-styles-ui-screen-revisions__pagination.global-styles-ui-screen-revisions__pagination .components-button.is-tertiary { | |
| 1011 | - color: #1e1e1e; | |
| 1012 | -} | |
| 1013 | - | |
| 1014 | -.global-styles-ui-screen-revisions__pagination.global-styles-ui-screen-revisions__pagination .components-button.is-tertiary:disabled, | |
| 1015 | -.global-styles-ui-screen-revisions__pagination.global-styles-ui-screen-revisions__pagination .components-button.is-tertiary[aria-disabled=true] { | |
| 1016 | - color: #949494; | |
| 1017 | -} | |
| 1018 | - | |
| 1019 | -.global-styles-ui-screen-revisions__footer { | |
| 1020 | - height: 56px; | |
| 1021 | - z-index: 1; | |
| 1022 | - position: sticky; | |
| 1023 | - min-width: 100%; | |
| 1024 | - bottom: 0; | |
| 1025 | - background: #fff; | |
| 1026 | - padding: 12px; | |
| 1027 | - border-top: 1px solid #ddd; | |
| 1028 | - box-sizing: border-box; | |
| 1029 | -} | |
| 1030 | - | |
| 1031 | 922 | .global-styles-ui-variations_item { |
| 1032 | 923 | box-sizing: border-box; |
| 1033 | 924 | cursor: var(--wpds-cursor-control, pointer); |
| 1034 | 925 | } |
| @@ -1109,13 +1000,34 @@ | ||
| 1109 | 1000 | justify-content: center; |
| 1110 | 1001 | border-radius: 2px; |
| 1111 | 1002 | } |
| 1112 | 1003 | |
| 1004 | +.global-styles-ui-block-types-filter { | |
| 1005 | + margin-bottom: 12px; | |
| 1006 | + padding: 0 16px; | |
| 1007 | +} | |
| 1008 | + | |
| 1113 | 1009 | .global-styles-ui-block-types-search { |
| 1114 | - margin-bottom: 10px; | |
| 1115 | - padding: 0 16px; | |
| 1010 | + flex-grow: 1; | |
| 1116 | 1011 | } |
| 1117 | 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 | + | |
| 1118 | 1030 | .global-styles-ui-screen-typography__font-variants-count { |
| 1119 | 1031 | color: #757575; |
| 1120 | 1032 | } |
| 1121 | 1033 | |
| @@ -1157,10 +1069,20 @@ | ||
| 1157 | 1069 | |
| 1158 | 1070 | .global-styles-ui__color-indicator-wrapper { |
| 1159 | 1071 | height: 24px; |
| 1160 | 1072 | flex-shrink: 0; |
| 1073 | + display: flex; | |
| 1074 | + align-items: center; | |
| 1161 | 1075 | } |
| 1162 | 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 | + | |
| 1163 | 1085 | .global-styles-ui__shadows-panel__options-container, |
| 1164 | 1086 | .global-styles-ui__typography-panel__options-container { |
| 1165 | 1087 | height: 24px; |
| 1166 | 1088 | } |
| @@ -1172,9 +1094,10 @@ | ||
| 1172 | 1094 | border-radius: 2px; |
| 1173 | 1095 | overflow: hidden; |
| 1174 | 1096 | } |
| 1175 | 1097 | |
| 1176 | -.global-styles-ui__shadow-preview-panel { | |
| 1098 | +.global-styles-ui__shadow-preview-panel, | |
| 1099 | +.global-styles-ui__text-shadow-preview-panel { | |
| 1177 | 1100 | height: 144px; |
| 1178 | 1101 | border: #ddd 1px solid; |
| 1179 | 1102 | border-radius: 2px; |
| 1180 | 1103 | overflow: auto; |
| @@ -1182,9 +1105,9 @@ | ||
| 1182 | 1105 | background-position: 0 0, 8px 8px; |
| 1183 | 1106 | background-size: 16px 16px; |
| 1184 | 1107 | } |
| 1185 | 1108 | |
| 1186 | -.global-styles-ui__shadow-preview-panel .global-styles-ui__shadow-preview-block { | |
| 1109 | +.global-styles-ui__shadow-preview-block { | |
| 1187 | 1110 | border: #ddd 1px solid; |
| 1188 | 1111 | border-radius: 2px; |
| 1189 | 1112 | background-color: #fff; |
| 1190 | 1113 | width: 60%; |
| @@ -1190,22 +1113,44 @@ | ||
| 1190 | 1113 | width: 60%; |
| 1191 | 1114 | height: 60px; |
| 1192 | 1115 | } |
| 1193 | 1116 | |
| 1194 | -.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 { | |
| 1195 | 1137 | width: 280px; |
| 1196 | 1138 | } |
| 1197 | 1139 | |
| 1198 | -.global-styles-ui__shadow-editor-panel { | |
| 1140 | +.global-styles-ui__shadow-editor-panel, | |
| 1141 | +.global-styles-ui__text-shadow-editor-panel { | |
| 1199 | 1142 | margin-bottom: 4px; |
| 1200 | 1143 | } |
| 1201 | 1144 | |
| 1202 | -.global-styles-ui__shadow-editor__dropdown { | |
| 1145 | +.global-styles-ui__shadow-editor__dropdown, | |
| 1146 | +.global-styles-ui__text-shadow-editor__dropdown { | |
| 1203 | 1147 | width: 100%; |
| 1204 | 1148 | position: relative; |
| 1205 | 1149 | } |
| 1206 | 1150 | |
| 1207 | -.global-styles-ui__shadow-editor__dropdown-toggle { | |
| 1151 | +.global-styles-ui__shadow-editor__dropdown-toggle, | |
| 1152 | +.global-styles-ui__text-shadow-editor__dropdown-toggle { | |
| 1208 | 1153 | width: 100%; |
| 1209 | 1154 | height: auto; |
| 1210 | 1155 | padding-top: 8px; |
| 1211 | 1156 | padding-bottom: 8px; |
| @@ -1212,14 +1157,16 @@ | ||
| 1212 | 1157 | text-align: right; |
| 1213 | 1158 | border-radius: inherit; |
| 1214 | 1159 | } |
| 1215 | 1160 | |
| 1216 | -.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 { | |
| 1217 | 1163 | background: #f0f0f0; |
| 1218 | 1164 | color: var(--wp-admin-theme-color); |
| 1219 | 1165 | } |
| 1220 | 1166 | |
| 1221 | -.global-styles-ui__shadow-editor__remove-button { | |
| 1167 | +.global-styles-ui__shadow-editor__remove-button, | |
| 1168 | +.global-styles-ui__text-shadow-editor__remove-button { | |
| 1222 | 1169 | position: absolute; |
| 1223 | 1170 | left: 8px; |
| 1224 | 1171 | top: 8px; |
| 1225 | 1172 | opacity: 0; |
| @@ -1224,18 +1171,19 @@ | ||
| 1224 | 1171 | top: 8px; |
| 1225 | 1172 | opacity: 0; |
| 1226 | 1173 | } |
| 1227 | 1174 | |
| 1228 | -.global-styles-ui__shadow-editor__remove-button.global-styles-ui__shadow-editor__remove-button { | |
| 1229 | - border: none; | |
| 1230 | -} | |
| 1231 | - | |
| 1232 | -.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 { | |
| 1233 | 1180 | opacity: 1; |
| 1234 | 1181 | } |
| 1235 | 1182 | |
| 1236 | 1183 | @media (hover: none) { |
| 1237 | - .global-styles-ui__shadow-editor__remove-button { | |
| 1184 | + .global-styles-ui__shadow-editor__remove-button, | |
| 1185 | + .global-styles-ui__text-shadow-editor__remove-button { | |
| 1238 | 1186 | opacity: 1; |
| 1239 | 1187 | } |
| 1240 | 1188 | } |
| 1241 | 1189 | .global-styles-ui-screen-css { |
| @@ -1319,9 +1267,10 @@ | ||
| 1319 | 1267 | clip-path: border-box; |
| 1320 | 1268 | } |
| 1321 | 1269 | |
| 1322 | 1270 | .global-styles-ui-color-palette-panel, |
| 1323 | -.global-styles-ui-gradient-palette-panel { | |
| 1271 | +.global-styles-ui-gradient-palette-panel, | |
| 1272 | +.global-styles-ui-duotone-palette-panel { | |
| 1324 | 1273 | padding: 16px; |
| 1325 | 1274 | } |
| 1326 | 1275 | |
| 1327 | 1276 | /** |
| @@ -1449,8 +1398,16 @@ | ||
| 1449 | 1398 | .dataviews-filters__container { |
| 1450 | 1399 | transition: padding ease-out 0.1s; |
| 1451 | 1400 | } |
| 1452 | 1401 | } |
| 1402 | +.dataviews__search { | |
| 1403 | + flex-grow: 1; | |
| 1404 | +} | |
| 1405 | + | |
| 1406 | +.dataviews__search .dataviews-search { | |
| 1407 | + flex-basis: 210px; | |
| 1408 | +} | |
| 1409 | + | |
| 1453 | 1410 | .dataviews-no-results, |
| 1454 | 1411 | .dataviews-loading { |
| 1455 | 1412 | padding: 0 var(--wpds-dimension-padding-2xl, 24px); |
| 1456 | 1413 | flex-grow: 1; |
| @@ -1645,10 +1602,10 @@ | ||
| 1645 | 1602 | } |
| 1646 | 1603 | |
| 1647 | 1604 | .dataviews-filters__summary-operators-container .dataviews-filters__summary-operators-filter-select { |
| 1648 | 1605 | width: 100%; |
| 1606 | + min-width: 0; | |
| 1649 | 1607 | white-space: nowrap; |
| 1650 | - overflow: hidden; | |
| 1651 | 1608 | } |
| 1652 | 1609 | |
| 1653 | 1610 | .dataviews-filters__summary-chip-container { |
| 1654 | 1611 | position: relative; |
| @@ -1720,9 +1677,9 @@ | ||
| 1720 | 1677 | cursor: var(--wpds-cursor-control, pointer); |
| 1721 | 1678 | } |
| 1722 | 1679 | |
| 1723 | 1680 | .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove svg { |
| 1724 | - fill: var(--wpds-color-foreground-interactive-neutral, #1e1e1e); | |
| 1681 | + color: var(--wpds-color-foreground-interactive-neutral, #1e1e1e); | |
| 1725 | 1682 | } |
| 1726 | 1683 | |
| 1727 | 1684 | .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove:hover, .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove:focus { |
| 1728 | 1685 | background: var(--wpds-color-background-interactive-neutral-weak-active, #ededed); |
| @@ -1728,13 +1685,13 @@ | ||
| 1728 | 1685 | background: var(--wpds-color-background-interactive-neutral-weak-active, #ededed); |
| 1729 | 1686 | } |
| 1730 | 1687 | |
| 1731 | 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 { |
| 1732 | - fill: var(--wpds-color-foreground-interactive-neutral-active, #1e1e1e); | |
| 1689 | + color: var(--wpds-color-foreground-interactive-neutral-active, #1e1e1e); | |
| 1733 | 1690 | } |
| 1734 | 1691 | |
| 1735 | 1692 | .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove.has-values svg { |
| 1736 | - 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)); | |
| 1737 | 1694 | } |
| 1738 | 1695 | |
| 1739 | 1696 | .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove.has-values:hover { |
| 1740 | 1697 | background: var(--wpds-color-background-interactive-brand-weak-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 12%, white)); |
| @@ -1796,10 +1753,11 @@ | ||
| 1796 | 1753 | background: var(--wpds-color-background-interactive-brand-strong-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 93%, black)); |
| 1797 | 1754 | } |
| 1798 | 1755 | |
| 1799 | 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)); | |
| 1800 | 1759 | border-color: var(--wpds-color-stroke-interactive-brand-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 85%, black)); |
| 1801 | - background: var(--wpds-color-background-surface-neutral-strong, #fff); | |
| 1802 | 1760 | } |
| 1803 | 1761 | |
| 1804 | 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 { |
| 1805 | 1763 | border-color: var(--wpds-color-stroke-interactive-brand-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 85%, black)); |
| @@ -1913,9 +1871,9 @@ | ||
| 1913 | 1871 | } |
| 1914 | 1872 | .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection { |
| 1915 | 1873 | --checkbox-size: 24px; |
| 1916 | 1874 | flex-shrink: 0; |
| 1917 | - border: 1px solid #1e1e1e; | |
| 1875 | + border: var(--wpds-border-width-xs, 1px) solid var(--wpds-color-stroke-interactive-neutral, #8d8d8d); | |
| 1918 | 1876 | margin-left: 12px; |
| 1919 | 1877 | transition: none; |
| 1920 | 1878 | border-radius: 2px; |
| 1921 | 1879 | font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; |
| @@ -1923,18 +1881,12 @@ | ||
| 1923 | 1881 | /* Fonts smaller than 16px causes mobile safari to zoom. */ |
| 1924 | 1882 | font-size: 16px; |
| 1925 | 1883 | /* Override core line-height. To be reviewed. */ |
| 1926 | 1884 | line-height: normal; |
| 1927 | - box-shadow: 0 0 0 transparent; | |
| 1928 | - border-radius: 2px; | |
| 1929 | - 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); | |
| 1930 | 1887 | } |
| 1931 | 1888 | |
| 1932 | -@media not (prefers-reduced-motion) { | |
| 1933 | - .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection { | |
| 1934 | - transition: box-shadow 0.1s linear; | |
| 1935 | - } | |
| 1936 | -} | |
| 1937 | 1889 | @media (min-width: 600px) { |
| 1938 | 1890 | .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection { |
| 1939 | 1891 | font-size: 13px; |
| 1940 | 1892 | /* Override core line-height. To be reviewed. */ |
| @@ -1940,20 +1892,25 @@ | ||
| 1940 | 1892 | /* Override core line-height. To be reviewed. */ |
| 1941 | 1893 | line-height: normal; |
| 1942 | 1894 | } |
| 1943 | 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 | + | |
| 1944 | 1900 | .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection:focus { |
| 1945 | - border-color: var(--wp-admin-theme-color); | |
| 1946 | - box-shadow: 0 0 0 0.5px var(--wp-admin-theme-color); | |
| 1947 | - 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; | |
| 1948 | 1905 | } |
| 1949 | 1906 | |
| 1950 | -.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 { | |
| 1951 | 1908 | color: rgba(30, 30, 30, 0.62); |
| 1952 | 1909 | } |
| 1953 | 1910 | |
| 1954 | -.dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection::placeholder { | |
| 1955 | - 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); | |
| 1956 | 1913 | } |
| 1957 | 1914 | |
| 1958 | 1915 | .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection:focus { |
| 1959 | 1916 | box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--wp-admin-theme-color); |
| @@ -1986,9 +1943,9 @@ | ||
| 1986 | 1943 | display: inline-block; |
| 1987 | 1944 | vertical-align: middle; |
| 1988 | 1945 | width: 16px; |
| 1989 | 1946 | /* stylelint-disable-next-line font-family-no-missing-generic-family-keyword -- dashicons don't need a generic family keyword. */ |
| 1990 | - font: normal 30px/1 dashicons; | |
| 1947 | + font: 400 30px/1 dashicons; | |
| 1991 | 1948 | speak: none; |
| 1992 | 1949 | -webkit-font-smoothing: antialiased; |
| 1993 | 1950 | -moz-osx-font-smoothing: grayscale; |
| 1994 | 1951 | } |
| @@ -1999,17 +1956,23 @@ | ||
| 1999 | 1956 | font-size: 21px; |
| 2000 | 1957 | } |
| 2001 | 1958 | } |
| 2002 | 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 { |
| 2003 | - background: #f0f0f0; | |
| 2004 | - 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); | |
| 2005 | 1963 | cursor: default; |
| 2006 | 1964 | opacity: 1; |
| 2007 | 1965 | } |
| 2008 | 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 | + | |
| 2009 | 1971 | .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection { |
| 2010 | 1972 | position: relative; |
| 2011 | - 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)); | |
| 2012 | 1975 | color: var(--wpds-color-foreground-content-neutral, #1e1e1e); |
| 2013 | 1976 | margin: 0; |
| 2014 | 1977 | padding: 0; |
| 2015 | 1978 | width: var(--checkbox-size); |
| @@ -2032,9 +1995,9 @@ | ||
| 2032 | 1995 | } |
| 2033 | 1996 | |
| 2034 | 1997 | .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection.is-selected svg { |
| 2035 | 1998 | --checkmark-size: var(--checkbox-size); |
| 2036 | - fill: var(--wpds-color-foreground-interactive-neutral-strong, #f0f0f0); | |
| 1999 | + color: var(--wpds-color-foreground-interactive-neutral-strong, #f0f0f0); | |
| 2037 | 2000 | position: absolute; |
| 2038 | 2001 | right: 50%; |
| 2039 | 2002 | top: 50%; |
| 2040 | 2003 | transform: translate(50%, -50%); |
| @@ -2058,18 +2021,12 @@ | ||
| 2058 | 2021 | /* Fonts smaller than 16px causes mobile safari to zoom. */ |
| 2059 | 2022 | font-size: 16px; |
| 2060 | 2023 | /* Override core line-height. To be reviewed. */ |
| 2061 | 2024 | line-height: normal; |
| 2062 | - box-shadow: 0 0 0 transparent; | |
| 2063 | - border-radius: 2px; | |
| 2064 | - 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); | |
| 2065 | 2027 | } |
| 2066 | 2028 | |
| 2067 | -@media not (prefers-reduced-motion) { | |
| 2068 | - .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input { | |
| 2069 | - transition: box-shadow 0.1s linear; | |
| 2070 | - } | |
| 2071 | -} | |
| 2072 | 2029 | @media (min-width: 600px) { |
| 2073 | 2030 | .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input { |
| 2074 | 2031 | font-size: 13px; |
| 2075 | 2032 | /* Override core line-height. To be reviewed. */ |
| @@ -2075,16 +2032,17 @@ | ||
| 2075 | 2032 | /* Override core line-height. To be reviewed. */ |
| 2076 | 2033 | line-height: normal; |
| 2077 | 2034 | } |
| 2078 | 2035 | } |
| 2079 | -.dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input:focus { | |
| 2080 | - border-color: var(--wp-admin-theme-color); | |
| 2081 | - box-shadow: 0 0 0 0.5px var(--wp-admin-theme-color); | |
| 2082 | - 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); | |
| 2083 | 2038 | } |
| 2084 | 2039 | |
| 2085 | -.dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input::-moz-placeholder { | |
| 2086 | - 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; | |
| 2087 | 2045 | } |
| 2088 | 2046 | |
| 2089 | 2047 | .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input::placeholder { |
| 2090 | 2048 | color: rgba(30, 30, 30, 0.62); |
| @@ -2107,15 +2065,10 @@ | ||
| 2107 | 2065 | } |
| 2108 | 2066 | } |
| 2109 | 2067 | .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input:focus { |
| 2110 | 2068 | background: var(--wpds-color-background-surface-neutral-strong, #fff); |
| 2111 | - 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)); | |
| 2112 | 2069 | } |
| 2113 | 2070 | |
| 2114 | -.dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input::-moz-placeholder { | |
| 2115 | - color: var(--wpds-color-foreground-content-neutral-weak, #707070); | |
| 2116 | -} | |
| 2117 | - | |
| 2118 | 2071 | .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input::placeholder { |
| 2119 | 2072 | color: var(--wpds-color-foreground-content-neutral-weak, #707070); |
| 2120 | 2073 | } |
| 2121 | 2074 | |
| @@ -2160,13 +2113,8 @@ | ||
| 2160 | 2113 | color: var(--wpds-color-foreground-interactive-neutral-strong, #f0f0f0); |
| 2161 | 2114 | box-sizing: border-box; |
| 2162 | 2115 | } |
| 2163 | 2116 | |
| 2164 | -.dataviews-search { | |
| 2165 | - width: -moz-fit-content; | |
| 2166 | - width: fit-content; | |
| 2167 | -} | |
| 2168 | - | |
| 2169 | 2117 | .dataviews-filters__user-input-widget { |
| 2170 | 2118 | padding: var(--wpds-dimension-padding-lg, 16px); |
| 2171 | 2119 | } |
| 2172 | 2120 | |
| @@ -2443,9 +2391,8 @@ | ||
| 2443 | 2391 | } |
| 2444 | 2392 | |
| 2445 | 2393 | .dataviews-view-grid .dataviews-view-grid__card .dataviews-view-grid__title-field--clickable, |
| 2446 | 2394 | .dataviews-view-grid-infinite-scroll .dataviews-view-grid__card .dataviews-view-grid__title-field--clickable { |
| 2447 | - width: -moz-fit-content; | |
| 2448 | 2395 | width: fit-content; |
| 2449 | 2396 | } |
| 2450 | 2397 | |
| 2451 | 2398 | .dataviews-view-grid .dataviews-view-grid__card.is-selected .dataviews-view-grid__fields .dataviews-view-grid__field .dataviews-view-grid__field-value, |
| @@ -2465,9 +2412,9 @@ | ||
| 2465 | 2412 | |
| 2466 | 2413 | .dataviews-view-grid .dataviews-view-grid__media, |
| 2467 | 2414 | .dataviews-view-grid-infinite-scroll .dataviews-view-grid__media { |
| 2468 | 2415 | width: 100%; |
| 2469 | - aspect-ratio: 1/1; | |
| 2416 | + aspect-ratio: var(--wp-dataviews-media-aspect-ratio, 1/1); | |
| 2470 | 2417 | background-color: var(--wpds-color-background-surface-neutral-strong, #fff); |
| 2471 | 2418 | border-radius: var(--wpds-border-radius-md, 4px); |
| 2472 | 2419 | overflow: hidden; |
| 2473 | 2420 | position: relative; |
| @@ -2479,9 +2426,8 @@ | ||
| 2479 | 2426 | } |
| 2480 | 2427 | |
| 2481 | 2428 | .dataviews-view-grid .dataviews-view-grid__media img, |
| 2482 | 2429 | .dataviews-view-grid-infinite-scroll .dataviews-view-grid__media img { |
| 2483 | - -o-object-fit: cover; | |
| 2484 | 2430 | object-fit: cover; |
| 2485 | 2431 | width: 100%; |
| 2486 | 2432 | height: 100%; |
| 2487 | 2433 | } |
| @@ -2508,8 +2454,18 @@ | ||
| 2508 | 2454 | box-shadow: none; |
| 2509 | 2455 | background: var(--wpds-color-background-surface-neutral, #fcfcfc); |
| 2510 | 2456 | } |
| 2511 | 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 | + | |
| 2512 | 2468 | .dataviews-view-grid .dataviews-view-grid__fields, |
| 2513 | 2469 | .dataviews-view-grid-infinite-scroll .dataviews-view-grid__fields { |
| 2514 | 2470 | position: relative; |
| 2515 | 2471 | font-size: 12px; |
| @@ -2670,9 +2626,8 @@ | ||
| 2670 | 2626 | |
| 2671 | 2627 | .dataviews-view-list div[role=row] .dataviews-view-list__item-actions, |
| 2672 | 2628 | .dataviews-view-list div[role=article] .dataviews-view-list__item-actions { |
| 2673 | 2629 | display: flex; |
| 2674 | - width: -moz-max-content; | |
| 2675 | 2630 | width: max-content; |
| 2676 | 2631 | flex: 0 0 auto; |
| 2677 | 2632 | gap: var(--wpds-dimension-gap-xs, 4px); |
| 2678 | 2633 | white-space: nowrap; |
| @@ -2725,10 +2680,9 @@ | ||
| 2725 | 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, |
| 2726 | 2681 | .dataviews-view-list div[role=article]:not(.is-selected):hover, |
| 2727 | 2682 | .dataviews-view-list div[role=article]:not(.is-selected).is-hovered, |
| 2728 | 2683 | .dataviews-view-list div[role=article]:not(.is-selected):focus-within { |
| 2729 | - color: var(--wpds-color-foreground-interactive-brand, var(--wp-admin-theme-color, #3858e9)); | |
| 2730 | - 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); | |
| 2731 | 2685 | } |
| 2732 | 2686 | |
| 2733 | 2687 | .dataviews-view-list div[role=row]:not(.is-selected):hover .dataviews-title-field, |
| 2734 | 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, |
| @@ -2739,9 +2693,9 @@ | ||
| 2739 | 2693 | .dataviews-view-list div[role=article]:not(.is-selected).is-hovered .dataviews-title-field, |
| 2740 | 2694 | .dataviews-view-list div[role=article]:not(.is-selected).is-hovered .dataviews-view-list__field, |
| 2741 | 2695 | .dataviews-view-list div[role=article]:not(.is-selected):focus-within .dataviews-title-field, |
| 2742 | 2696 | .dataviews-view-list div[role=article]:not(.is-selected):focus-within .dataviews-view-list__field { |
| 2743 | - color: var(--wpds-color-foreground-interactive-brand, var(--wp-admin-theme-color, #3858e9)); | |
| 2697 | + color: var(--wpds-color-foreground-interactive-neutral, #1e1e1e); | |
| 2744 | 2698 | } |
| 2745 | 2699 | |
| 2746 | 2700 | .dataviews-view-list div[role=row].is-selected .dataviews-view-list__item-wrapper, |
| 2747 | 2701 | .dataviews-view-list div[role=row].is-selected:focus-within .dataviews-view-list__item-wrapper, |
| @@ -2747,9 +2701,9 @@ | ||
| 2747 | 2701 | .dataviews-view-list div[role=row].is-selected:focus-within .dataviews-view-list__item-wrapper, |
| 2748 | 2702 | .dataviews-view-list div[role=article].is-selected .dataviews-view-list__item-wrapper, |
| 2749 | 2703 | .dataviews-view-list div[role=article].is-selected:focus-within .dataviews-view-list__item-wrapper { |
| 2750 | 2704 | background-color: var(--wpds-color-background-interactive-brand-weak-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 12%, white)); |
| 2751 | - color: var(--wpds-color-foreground-interactive-neutral, #1e1e1e); | |
| 2705 | + color: var(--wpds-color-foreground-content-neutral, #1e1e1e); | |
| 2752 | 2706 | } |
| 2753 | 2707 | |
| 2754 | 2708 | .dataviews-view-list div[role=row].is-selected .dataviews-view-list__item-wrapper .dataviews-title-field, |
| 2755 | 2709 | .dataviews-view-list div[role=row].is-selected .dataviews-view-list__item-wrapper .dataviews-view-list__field, |
| @@ -2758,9 +2712,9 @@ | ||
| 2758 | 2712 | .dataviews-view-list div[role=article].is-selected .dataviews-view-list__item-wrapper .dataviews-title-field, |
| 2759 | 2713 | .dataviews-view-list div[role=article].is-selected .dataviews-view-list__item-wrapper .dataviews-view-list__field, |
| 2760 | 2714 | .dataviews-view-list div[role=article].is-selected:focus-within .dataviews-view-list__item-wrapper .dataviews-title-field, |
| 2761 | 2715 | .dataviews-view-list div[role=article].is-selected:focus-within .dataviews-view-list__item-wrapper .dataviews-view-list__field { |
| 2762 | - color: var(--wpds-color-foreground-interactive-neutral-active, #1e1e1e); | |
| 2716 | + color: var(--wpds-color-foreground-content-neutral, #1e1e1e); | |
| 2763 | 2717 | } |
| 2764 | 2718 | |
| 2765 | 2719 | .dataviews-view-list .dataviews-view-list__item { |
| 2766 | 2720 | position: absolute; |
| @@ -2766,10 +2720,8 @@ | ||
| 2766 | 2720 | position: absolute; |
| 2767 | 2721 | z-index: 1; |
| 2768 | 2722 | inset: 0; |
| 2769 | 2723 | scroll-margin: var(--wpds-dimension-gap-sm, 8px) 0; |
| 2770 | - -webkit-appearance: none; | |
| 2771 | - -moz-appearance: none; | |
| 2772 | 2724 | appearance: none; |
| 2773 | 2725 | border: none; |
| 2774 | 2726 | background: none; |
| 2775 | 2727 | padding: 0; |
| @@ -2812,9 +2764,8 @@ | ||
| 2812 | 2764 | |
| 2813 | 2765 | .dataviews-view-list .dataviews-view-list__media-wrapper img { |
| 2814 | 2766 | width: 100%; |
| 2815 | 2767 | height: 100%; |
| 2816 | - -o-object-fit: cover; | |
| 2817 | 2768 | object-fit: cover; |
| 2818 | 2769 | } |
| 2819 | 2770 | |
| 2820 | 2771 | .dataviews-view-list .dataviews-view-list__media-wrapper::after { |
| @@ -2834,9 +2785,9 @@ | ||
| 2834 | 2785 | min-width: 0; |
| 2835 | 2786 | } |
| 2836 | 2787 | |
| 2837 | 2788 | .dataviews-view-list .dataviews-view-list__field { |
| 2838 | - color: var(--wpds-color-foreground-interactive-neutral-weak, #707070); | |
| 2789 | + color: var(--wpds-color-foreground-content-neutral-weak, #707070); | |
| 2839 | 2790 | } |
| 2840 | 2791 | |
| 2841 | 2792 | .dataviews-view-list .dataviews-view-list__fields { |
| 2842 | 2793 | display: flex; |
| @@ -2953,9 +2904,9 @@ | ||
| 2953 | 2904 | |
| 2954 | 2905 | .dataviews-view-table th { |
| 2955 | 2906 | text-align: right; |
| 2956 | 2907 | color: var(--wpds-color-foreground-content-neutral, #1e1e1e); |
| 2957 | - font-weight: normal; | |
| 2908 | + font-weight: 400; | |
| 2958 | 2909 | font-size: var(--wpds-typography-font-size-md, 13px); |
| 2959 | 2910 | } |
| 2960 | 2911 | |
| 2961 | 2912 | .dataviews-view-table td, |
| @@ -2983,9 +2934,9 @@ | ||
| 2983 | 2934 | top: 0; |
| 2984 | 2935 | bottom: 0; |
| 2985 | 2936 | right: 0; |
| 2986 | 2937 | width: 1px; |
| 2987 | - background-color: var(--wpds-color-background-surface-neutral, #fcfcfc); | |
| 2938 | + background-color: var(--wpds-color-stroke-surface-neutral-weak, #f0f0f0); | |
| 2988 | 2939 | } |
| 2989 | 2940 | |
| 2990 | 2941 | .dataviews-view-table td.dataviews-view-table__checkbox-column, |
| 2991 | 2942 | .dataviews-view-table th.dataviews-view-table__checkbox-column { |
| @@ -3197,9 +3148,8 @@ | ||
| 3197 | 3148 | |
| 3198 | 3149 | .dataviews-column-primary__media img { |
| 3199 | 3150 | width: var(--wpds-dimension-size-md, 32px); |
| 3200 | 3151 | height: var(--wpds-dimension-size-md, 32px); |
| 3201 | - -o-object-fit: cover; | |
| 3202 | 3152 | object-fit: cover; |
| 3203 | 3153 | } |
| 3204 | 3154 | |
| 3205 | 3155 | .dataviews-column-primary__media::after { |
| @@ -3212,8 +3162,19 @@ | ||
| 3212 | 3162 | box-shadow: inset 0 0 0 var(--wpds-border-width-xs, 1px) rgba(0, 0, 0, 0.1); |
| 3213 | 3163 | border-radius: var(--wpds-border-radius-md, 4px); |
| 3214 | 3164 | } |
| 3215 | 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 | + | |
| 3216 | 3177 | .dataviews-view-table__cell-content-wrapper:not(.dataviews-column-primary__media), |
| 3217 | 3178 | .dataviews-view-table__primary-column-content:not(.dataviews-column-primary__media) { |
| 3218 | 3179 | min-width: 15ch; |
| 3219 | 3180 | max-width: 80ch; |
| @@ -3267,9 +3228,8 @@ | ||
| 3267 | 3228 | text-align: start; |
| 3268 | 3229 | } |
| 3269 | 3230 | |
| 3270 | 3231 | .dataviews-view-picker-grid .dataviews-view-picker-grid__card .dataviews-view-picker-grid__title-field--clickable { |
| 3271 | - width: -moz-fit-content; | |
| 3272 | 3232 | width: fit-content; |
| 3273 | 3233 | } |
| 3274 | 3234 | |
| 3275 | 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 { |
| @@ -3305,13 +3265,13 @@ | ||
| 3305 | 3265 | aspect-ratio: 1/1; |
| 3306 | 3266 | min-height: 0; |
| 3307 | 3267 | background-color: var(--wpds-color-background-surface-neutral-strong, #fff); |
| 3308 | 3268 | border-radius: var(--wpds-border-radius-md, 4px); |
| 3269 | + overflow: hidden; | |
| 3309 | 3270 | position: relative; |
| 3310 | 3271 | } |
| 3311 | 3272 | |
| 3312 | 3273 | .dataviews-view-picker-grid .dataviews-view-picker-grid__media img { |
| 3313 | - -o-object-fit: cover; | |
| 3314 | 3274 | object-fit: cover; |
| 3315 | 3275 | width: 100%; |
| 3316 | 3276 | height: 100%; |
| 3317 | 3277 | } |
| @@ -3327,8 +3287,16 @@ | ||
| 3327 | 3287 | border-radius: var(--wpds-border-radius-md, 4px); |
| 3328 | 3288 | pointer-events: none; |
| 3329 | 3289 | } |
| 3330 | 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 | + | |
| 3331 | 3299 | .dataviews-view-picker-grid .dataviews-view-picker-grid__fields { |
| 3332 | 3300 | position: relative; |
| 3333 | 3301 | font-size: 12px; |
| 3334 | 3302 | line-height: 16px; |
| @@ -3490,9 +3458,8 @@ | ||
| 3490 | 3458 | } |
| 3491 | 3459 | |
| 3492 | 3460 | .dataviews-view-activity .dataviews-view-activity__item-content .dataviews-view-activity__primary-actions { |
| 3493 | 3461 | display: flex; |
| 3494 | - width: -moz-max-content; | |
| 3495 | 3462 | width: max-content; |
| 3496 | 3463 | flex: 0 0 auto; |
| 3497 | 3464 | } |
| 3498 | 3465 | |
| @@ -3624,9 +3591,8 @@ | ||
| 3624 | 3591 | display: block; |
| 3625 | 3592 | width: 100%; |
| 3626 | 3593 | height: 100%; |
| 3627 | 3594 | margin: 0 auto; |
| 3628 | - -o-object-fit: cover; | |
| 3629 | 3595 | object-fit: cover; |
| 3630 | 3596 | border-radius: 50%; |
| 3631 | 3597 | box-sizing: border-box; |
| 3632 | 3598 | box-shadow: inset 0 0 0 var(--wpds-border-width-xs, 1px) var(--wpds-color-stroke-surface-neutral, #dbdbdb); |
| @@ -3841,9 +3807,8 @@ | ||
| 3841 | 3807 | display: block; |
| 3842 | 3808 | width: 100%; |
| 3843 | 3809 | height: 100%; |
| 3844 | 3810 | margin: 0 auto; |
| 3845 | - -o-object-fit: cover; | |
| 3846 | 3811 | object-fit: cover; |
| 3847 | 3812 | border-radius: 50%; |
| 3848 | 3813 | box-sizing: border-box; |
| 3849 | 3814 | box-shadow: inset 0 0 0 var(--wpds-border-width-xs, 1px) var(--wpds-color-stroke-surface-neutral, #dbdbdb); |
| @@ -3865,13 +3830,8 @@ | ||
| 3865 | 3830 | .dataviews-picker-footer__actions { |
| 3866 | 3831 | align-self: flex-end; |
| 3867 | 3832 | } |
| 3868 | 3833 | |
| 3869 | -.dataviews-controls__richtext [data-rich-text-placeholder]::after { | |
| 3870 | - content: attr(data-rich-text-placeholder); | |
| 3871 | - color: color-mix(in srgb, currentColor, transparent 38%); | |
| 3872 | -} | |
| 3873 | - | |
| 3874 | 3834 | .dataviews-controls__datetime { |
| 3875 | 3835 | border: none; |
| 3876 | 3836 | padding: 0; |
| 3877 | 3837 | } |
| @@ -3902,8 +3862,29 @@ | ||
| 3902 | 3862 | .dataviews-controls__date-preset:active { |
| 3903 | 3863 | background-color: var(--wpds-color-background-interactive-neutral-strong-active, #1e1e1e); |
| 3904 | 3864 | } |
| 3905 | 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 | + | |
| 3906 | 3887 | .dataforms-layouts-panel__field-trigger { |
| 3907 | 3888 | position: relative; |
| 3908 | 3889 | color: inherit; |
| 3909 | 3890 | display: flex; |
| @@ -3966,8 +3947,14 @@ | ||
| 3966 | 3947 | opacity: 0; |
| 3967 | 3948 | border-radius: var(--wpds-border-radius-xs, 1px); |
| 3968 | 3949 | } |
| 3969 | 3950 | |
| 3951 | +.dataforms-layouts-panel__field-trigger-icon::after { | |
| 3952 | + content: ""; | |
| 3953 | + position: absolute; | |
| 3954 | + inset: 0; | |
| 3955 | +} | |
| 3956 | + | |
| 3970 | 3957 | .dataforms-layouts-panel__field-trigger-icon:focus-visible { |
| 3971 | 3958 | opacity: 1; |
| 3972 | 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)); |
| 3973 | 3960 | } |
| @@ -4001,11 +3988,9 @@ | ||
| 4001 | 3988 | color: var(--wpds-color-foreground-content-error-weak, #cc1818); |
| 4002 | 3989 | } |
| 4003 | 3990 | |
| 4004 | 3991 | .dataforms-layouts-panel__field-label-error-content { |
| 4005 | - position: relative; | |
| 4006 | - z-index: 1; | |
| 4007 | - cursor: help; | |
| 3992 | + pointer-events: none; | |
| 4008 | 3993 | color: var(--wpds-color-foreground-content-error-weak, #cc1818); |
| 4009 | 3994 | display: inline-flex; |
| 4010 | 3995 | flex-direction: row; |
| 4011 | 3996 | align-items: center; |
| @@ -4021,12 +4006,17 @@ | ||
| 4021 | 4006 | align-items: center; |
| 4022 | 4007 | overflow: clip; |
| 4023 | 4008 | padding-inline: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)); |
| 4024 | 4009 | margin-inline: calc(-1 * var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px))); |
| 4025 | - word-break: break-word; | |
| 4010 | + word-break: normal; | |
| 4011 | + overflow-wrap: anywhere; | |
| 4026 | 4012 | font-weight: var(--wpds-typography-font-weight-emphasis, 600); |
| 4027 | 4013 | } |
| 4028 | 4014 | |
| 4015 | +.dataforms-layouts-panel__field-control:has(a, button) { | |
| 4016 | + z-index: 1; | |
| 4017 | +} | |
| 4018 | + | |
| 4029 | 4019 | .dataforms-layouts-panel__field-control > * { |
| 4030 | 4020 | min-width: 0; |
| 4031 | 4021 | } |
| 4032 | 4022 | |
| @@ -4059,12 +4049,8 @@ | ||
| 4059 | 4049 | .components-popover.components-dropdown__content.dataforms-layouts-panel__field-dropdown { |
| 4060 | 4050 | z-index: 159990; |
| 4061 | 4051 | } |
| 4062 | 4052 | |
| 4063 | -.dataforms-layouts-panel__summary-button:empty { | |
| 4064 | - min-width: 160px; | |
| 4065 | -} | |
| 4066 | - | |
| 4067 | 4053 | .dataforms-layouts-regular__field { |
| 4068 | 4054 | width: 100%; |
| 4069 | 4055 | min-height: var(--wpds-dimension-size-md, 32px); |
| 4070 | 4056 | justify-content: flex-start !important; |
| @@ -4282,9 +4268,9 @@ | ||
| 4282 | 4268 | padding: 12px; |
| 4283 | 4269 | display: grid; |
| 4284 | 4270 | align-items: center; |
| 4285 | 4271 | grid-template-columns: min-content 1fr min-content; |
| 4286 | - grid-gap: 4px 8px; | |
| 4272 | + gap: 4px 8px; | |
| 4287 | 4273 | color: #1e1e1e; |
| 4288 | 4274 | } |
| 4289 | 4275 | |
| 4290 | 4276 | .fields-create-template-part-modal__area-radio-wrapper + .fields-create-template-part-modal__area-radio-wrapper { |
| @@ -4567,11 +4553,9 @@ | ||
| 4567 | 4553 | |
| 4568 | 4554 | fieldset.fields__media-edit .fields__media-edit-expanded .fields__media-edit-thumbnail { |
| 4569 | 4555 | width: 100%; |
| 4570 | 4556 | height: 100%; |
| 4571 | - -o-object-fit: cover; | |
| 4572 | 4557 | object-fit: cover; |
| 4573 | - -o-object-position: 50% 50%; | |
| 4574 | 4558 | object-position: 50% 50%; |
| 4575 | 4559 | } |
| 4576 | 4560 | |
| 4577 | 4561 | fieldset.fields__media-edit .fields__media-edit-expanded .fields__media-edit-filename { |
| @@ -4631,9 +4615,8 @@ | ||
| 4631 | 4615 | |
| 4632 | 4616 | .fields-controls__author-avatar img { |
| 4633 | 4617 | width: 16px; |
| 4634 | 4618 | height: 16px; |
| 4635 | - -o-object-fit: cover; | |
| 4636 | 4619 | object-fit: cover; |
| 4637 | 4620 | opacity: 0; |
| 4638 | 4621 | border-radius: 100%; |
| 4639 | 4622 | } |
| @@ -4669,18 +4652,15 @@ | ||
| 4669 | 4652 | padding: 0; |
| 4670 | 4653 | margin: 0; |
| 4671 | 4654 | } |
| 4672 | 4655 | |
| 4673 | -.fields-controls__slug .fields-controls__slug-external-icon { | |
| 4674 | - margin-right: 5ch; | |
| 4675 | -} | |
| 4676 | - | |
| 4677 | 4656 | .fields-controls__slug .fields-controls__slug-input input.components-input-control__input { |
| 4678 | 4657 | padding-inline-start: 0 !important; |
| 4679 | 4658 | } |
| 4680 | 4659 | |
| 4681 | 4660 | .fields-controls__slug .fields-controls__slug-help-link { |
| 4682 | - word-break: break-word; | |
| 4661 | + word-break: normal; | |
| 4662 | + overflow-wrap: anywhere; | |
| 4683 | 4663 | } |
| 4684 | 4664 | |
| 4685 | 4665 | .fields-controls__slug .fields-controls__slug-help { |
| 4686 | 4666 | display: flex; |
| @@ -4808,9 +4788,8 @@ | ||
| 4808 | 4788 | |
| 4809 | 4789 | .media-editor-preview--image img { |
| 4810 | 4790 | max-width: 100%; |
| 4811 | 4791 | max-height: 100%; |
| 4812 | - -o-object-fit: contain; | |
| 4813 | 4792 | object-fit: contain; |
| 4814 | 4793 | width: auto; |
| 4815 | 4794 | height: auto; |
| 4816 | 4795 | opacity: 0; |
| @@ -4832,9 +4811,8 @@ | ||
| 4832 | 4811 | } |
| 4833 | 4812 | .media-editor-preview--video video { |
| 4834 | 4813 | max-width: 100%; |
| 4835 | 4814 | max-height: 100%; |
| 4836 | - -o-object-fit: contain; | |
| 4837 | 4815 | object-fit: contain; |
| 4838 | 4816 | width: auto; |
| 4839 | 4817 | height: auto; |
| 4840 | 4818 | } |
| @@ -4879,9 +4857,8 @@ | ||
| 4879 | 4857 | color: #949494; |
| 4880 | 4858 | word-break: break-all; |
| 4881 | 4859 | margin-top: 8px; |
| 4882 | 4860 | } |
| 4883 | - | |
| 4884 | 4861 | .wp-media-editor-image-editor { |
| 4885 | 4862 | position: relative; |
| 4886 | 4863 | overflow: hidden; |
| 4887 | 4864 | width: 100%; |
| @@ -4887,9 +4864,8 @@ | ||
| 4887 | 4864 | width: 100%; |
| 4888 | 4865 | height: 100%; |
| 4889 | 4866 | touch-action: none; |
| 4890 | 4867 | -webkit-user-select: none; |
| 4891 | - -moz-user-select: none; | |
| 4892 | 4868 | user-select: none; |
| 4893 | 4869 | cursor: grab; |
| 4894 | 4870 | } |
| 4895 | 4871 | |
| @@ -4915,9 +4891,9 @@ | ||
| 4915 | 4891 | |
| 4916 | 4892 | .wp-media-editor-image-editor__image { |
| 4917 | 4893 | position: absolute; |
| 4918 | 4894 | top: 0; |
| 4919 | - right: 0; | |
| 4895 | + left: 0; | |
| 4920 | 4896 | will-change: transform; |
| 4921 | 4897 | transform-origin: center center; |
| 4922 | 4898 | } |
| 4923 | 4899 | |
| @@ -4968,9 +4944,9 @@ | ||
| 4968 | 4944 | background: rgba(255, 255, 255, 0.4); |
| 4969 | 4945 | } |
| 4970 | 4946 | |
| 4971 | 4947 | .wp-media-editor-image-editor__grid-line--horizontal { |
| 4972 | - right: 0; | |
| 4948 | + left: 0; | |
| 4973 | 4949 | width: 100%; |
| 4974 | 4950 | height: 1px; |
| 4975 | 4951 | } |
| 4976 | 4952 | |
| @@ -5007,10 +4983,8 @@ | ||
| 5007 | 4983 | box-shadow: 0 0 0 1px var(--wp-image-editor-focus-color, var(--wp-admin-theme-color, #007cba)); |
| 5008 | 4984 | } |
| 5009 | 4985 | |
| 5010 | 4986 | .wp-media-editor-image-editor__handle { |
| 5011 | - -webkit-appearance: none; | |
| 5012 | - -moz-appearance: none; | |
| 5013 | 4987 | appearance: none; |
| 5014 | 4988 | margin: 0; |
| 5015 | 4989 | padding: 0; |
| 5016 | 4990 | font: inherit; |
| @@ -5039,12 +5013,12 @@ | ||
| 5039 | 5013 | .wp-media-editor-image-editor__handle::before { |
| 5040 | 5014 | content: ""; |
| 5041 | 5015 | position: absolute; |
| 5042 | 5016 | top: 50%; |
| 5043 | - right: 50%; | |
| 5017 | + left: 50%; | |
| 5044 | 5018 | width: 44px; |
| 5045 | 5019 | height: 44px; |
| 5046 | - transform: translate(50%, -50%); | |
| 5020 | + transform: translate(-50%, -50%); | |
| 5047 | 5021 | } |
| 5048 | 5022 | |
| 5049 | 5023 | .wp-media-editor-image-editor__handle { |
| 5050 | 5024 | /* Offset by half the handle width (12px / 2 = 6px) to center on crop edge */ |
| @@ -5051,23 +5025,23 @@ | ||
| 5051 | 5025 | } |
| 5052 | 5026 | |
| 5053 | 5027 | .wp-media-editor-image-editor__handle--n { |
| 5054 | 5028 | top: -6px; |
| 5055 | - right: 50%; | |
| 5056 | - margin-right: -6px; | |
| 5029 | + left: 50%; | |
| 5030 | + margin-left: -6px; | |
| 5057 | 5031 | cursor: ns-resize; |
| 5058 | 5032 | } |
| 5059 | 5033 | |
| 5060 | 5034 | .wp-media-editor-image-editor__handle--s { |
| 5061 | 5035 | bottom: -6px; |
| 5062 | - right: 50%; | |
| 5063 | - margin-right: -6px; | |
| 5036 | + left: 50%; | |
| 5037 | + margin-left: -6px; | |
| 5064 | 5038 | cursor: ns-resize; |
| 5065 | 5039 | } |
| 5066 | 5040 | |
| 5067 | 5041 | .wp-media-editor-image-editor__handle--e { |
| 5068 | 5042 | top: 50%; |
| 5069 | - left: -6px; | |
| 5043 | + right: -6px; | |
| 5070 | 5044 | margin-top: -6px; |
| 5071 | 5045 | cursor: ew-resize; |
| 5072 | 5046 | } |
| 5073 | 5047 | |
| @@ -5072,9 +5046,9 @@ | ||
| 5072 | 5046 | } |
| 5073 | 5047 | |
| 5074 | 5048 | .wp-media-editor-image-editor__handle--w { |
| 5075 | 5049 | top: 50%; |
| 5076 | - right: -6px; | |
| 5050 | + left: -6px; | |
| 5077 | 5051 | margin-top: -6px; |
| 5078 | 5052 | cursor: ew-resize; |
| 5079 | 5053 | } |
| 5080 | 5054 | |
| @@ -5079,30 +5053,29 @@ | ||
| 5079 | 5053 | } |
| 5080 | 5054 | |
| 5081 | 5055 | .wp-media-editor-image-editor__handle--nw { |
| 5082 | 5056 | top: -6px; |
| 5083 | - right: -6px; | |
| 5084 | - cursor: nesw-resize; | |
| 5057 | + left: -6px; | |
| 5058 | + cursor: nwse-resize; | |
| 5085 | 5059 | } |
| 5086 | 5060 | |
| 5087 | 5061 | .wp-media-editor-image-editor__handle--ne { |
| 5088 | 5062 | top: -6px; |
| 5089 | - left: -6px; | |
| 5090 | - cursor: nwse-resize; | |
| 5063 | + right: -6px; | |
| 5064 | + cursor: nesw-resize; | |
| 5091 | 5065 | } |
| 5092 | 5066 | |
| 5093 | 5067 | .wp-media-editor-image-editor__handle--sw { |
| 5094 | 5068 | bottom: -6px; |
| 5095 | - right: -6px; | |
| 5096 | - cursor: nwse-resize; | |
| 5069 | + left: -6px; | |
| 5070 | + cursor: nesw-resize; | |
| 5097 | 5071 | } |
| 5098 | 5072 | |
| 5099 | 5073 | .wp-media-editor-image-editor__handle--se { |
| 5100 | 5074 | bottom: -6px; |
| 5101 | - left: -6px; | |
| 5102 | - cursor: nesw-resize; | |
| 5075 | + right: -6px; | |
| 5076 | + cursor: nwse-resize; | |
| 5103 | 5077 | } |
| 5104 | - | |
| 5105 | 5078 | /** |
| 5106 | 5079 | * Breakpoints & Media Queries |
| 5107 | 5080 | */ |
| 5108 | 5081 | /** |
| @@ -5166,48 +5139,53 @@ | ||
| 5166 | 5139 | align-items: center; |
| 5167 | 5140 | justify-content: center; |
| 5168 | 5141 | } |
| 5169 | 5142 | |
| 5170 | -.media-editor .interface-interface-skeleton { | |
| 5171 | - position: relative; | |
| 5172 | - top: auto; | |
| 5173 | - left: auto; | |
| 5174 | - bottom: auto; | |
| 5175 | - right: auto; | |
| 5176 | - height: 100%; | |
| 5177 | - max-height: none; | |
| 5143 | +.media-editor .media-editor__body { | |
| 5144 | + container-type: inline-size; | |
| 5145 | + container-name: media-editor-body; | |
| 5146 | + display: flex; | |
| 5178 | 5147 | flex: 1; |
| 5179 | - flex-direction: column; | |
| 5148 | + min-height: 0; | |
| 5180 | 5149 | } |
| 5181 | 5150 | |
| 5182 | -.media-editor-modal .media-editor .interface-interface-skeleton.interface-interface-skeleton { | |
| 5183 | - top: auto; | |
| 5184 | -} | |
| 5185 | - | |
| 5186 | -.media-editor .interface-interface-skeleton__editor { | |
| 5187 | - min-width: 0; | |
| 5188 | - flex: 1; | |
| 5189 | -} | |
| 5190 | - | |
| 5191 | 5151 | .media-editor .media-editor__content { |
| 5192 | 5152 | display: flex; |
| 5193 | 5153 | flex: 1; |
| 5194 | 5154 | flex-direction: column; |
| 5155 | + min-width: 0; | |
| 5195 | 5156 | min-height: 0; |
| 5196 | - margin: 0 24px; | |
| 5197 | - border-radius: 8px; | |
| 5198 | - overflow: hidden; | |
| 5157 | + margin: 24px 24px 8px 24px; | |
| 5199 | 5158 | } |
| 5200 | 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 | +} | |
| 5201 | 5170 | .media-editor .media-editor__canvas-toolbar { |
| 5202 | 5171 | display: flex; |
| 5203 | - 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; | |
| 5204 | 5180 | justify-content: center; |
| 5181 | + align-self: stretch; | |
| 5205 | 5182 | background: #e0e0e0; |
| 5183 | + border-radius: 0 0 8px 8px; | |
| 5206 | 5184 | padding: 8px 16px; |
| 5207 | 5185 | } |
| 5208 | 5186 | |
| 5209 | -.media-editor .media-editor__canvas-toolbar .media-editor-fine-rotation { | |
| 5187 | +.media-editor .media-editor__canvas-toolbar .media-editor-fine-rotation .rotation-ruler { | |
| 5210 | 5188 | flex: 0 1 360px; |
| 5211 | 5189 | min-width: 0; |
| 5212 | 5190 | } |
| 5213 | 5191 | |
| @@ -5215,8 +5193,9 @@ | ||
| 5215 | 5193 | display: flex; |
| 5216 | 5194 | align-items: center; |
| 5217 | 5195 | justify-content: center; |
| 5218 | 5196 | background: #e0e0e0; |
| 5197 | + border-radius: 8px; | |
| 5219 | 5198 | overflow: auto; |
| 5220 | 5199 | flex: 1; |
| 5221 | 5200 | min-height: 0; |
| 5222 | 5201 | } |
| @@ -5228,88 +5207,66 @@ | ||
| 5228 | 5207 | .media-editor .media-editor__canvas-area img, |
| 5229 | 5208 | .media-editor .media-editor__canvas-area video { |
| 5230 | 5209 | max-width: 100%; |
| 5231 | 5210 | max-height: 100%; |
| 5232 | - -o-object-fit: contain; | |
| 5233 | 5211 | object-fit: contain; |
| 5234 | 5212 | } |
| 5235 | 5213 | |
| 5236 | 5214 | .media-editor .media-editor__sidebar { |
| 5237 | - 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; | |
| 5238 | 5221 | } |
| 5239 | 5222 | |
| 5240 | -.media-editor .media-editor__sidebar *, | |
| 5241 | -.media-editor .media-editor__sidebar *::before, | |
| 5242 | -.media-editor .media-editor__sidebar *::after { | |
| 5243 | - box-sizing: inherit; | |
| 5244 | -} | |
| 5245 | - | |
| 5246 | 5223 | @media (min-width: 600px) { |
| 5247 | 5224 | .media-editor .media-editor__sidebar { |
| 5248 | - padding-right: 1px; | |
| 5225 | + flex: none; | |
| 5226 | + width: var(--wpds-dimension-surface-width-sm, 320px); | |
| 5249 | 5227 | } |
| 5250 | 5228 | } |
| 5251 | -.media-editor .media-editor__sidebar-panel { | |
| 5252 | - padding-bottom: 24px; | |
| 5229 | +.media-editor .media-editor__tabs { | |
| 5230 | + display: flex; | |
| 5231 | + flex: 1; | |
| 5232 | + flex-direction: column; | |
| 5233 | + min-height: 0; | |
| 5253 | 5234 | } |
| 5254 | 5235 | |
| 5255 | -.media-editor .interface-interface-skeleton__sidebar { | |
| 5256 | - border-top: 0; | |
| 5257 | - box-shadow: none; | |
| 5258 | - 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; | |
| 5259 | 5241 | } |
| 5260 | 5242 | |
| 5261 | 5243 | .media-editor .media-editor__panel { |
| 5262 | - padding: 16px; | |
| 5244 | + flex: 1; | |
| 5245 | + min-height: 0; | |
| 5246 | + overflow-y: auto; | |
| 5247 | + padding-block: 24px; | |
| 5248 | + padding-inline: 24px; | |
| 5263 | 5249 | } |
| 5264 | 5250 | |
| 5265 | -@media (min-width: 600px) { | |
| 5266 | - .media-editor .media-editor__panel { | |
| 5267 | - padding: 24px 0 0 24px; | |
| 5268 | - } | |
| 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; | |
| 5269 | 5254 | } |
| 5270 | -.media-editor .components-panel__header.media-editor__sidebar-header { | |
| 5271 | - padding-right: 0; | |
| 5272 | - padding-left: 8px; | |
| 5273 | - margin-left: 24px; | |
| 5274 | - margin-left: 0; | |
| 5275 | -} | |
| 5276 | 5255 | |
| 5277 | -@media (min-width: 600px) { | |
| 5278 | - .media-editor .components-panel__header.media-editor__sidebar-header { | |
| 5279 | - margin-left: 24px; | |
| 5280 | - } | |
| 5256 | +.media-editor .media-editor__body.has-panel-open .media-editor__content { | |
| 5257 | + display: none; | |
| 5281 | 5258 | } |
| 5282 | -.media-editor .components-panel__header.media-editor__sidebar-header .components-button.has-icon { | |
| 5283 | - padding: 0; | |
| 5284 | -} | |
| 5285 | 5259 | |
| 5286 | 5260 | @media (min-width: 600px) { |
| 5287 | - .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 { | |
| 5288 | 5262 | display: flex; |
| 5263 | + margin: 0 24px 0 0; | |
| 5289 | 5264 | } |
| 5290 | 5265 | } |
| 5291 | -@media (min-width: 600px) and (max-width: 781px) { | |
| 5292 | - .media-editor .interface-interface-skeleton__sidebar:has(.interface-complementary-area__fill) { | |
| 5293 | - position: relative !important; | |
| 5294 | - } | |
| 5295 | - .media-editor .interface-complementary-area__fill, | |
| 5296 | - .media-editor .interface-complementary-area { | |
| 5297 | - width: 280px !important; | |
| 5298 | - } | |
| 5299 | -} | |
| 5300 | -@media (max-width: 599px) { | |
| 5301 | - .media-editor .interface-interface-skeleton__sidebar:has(.interface-complementary-area__fill) { | |
| 5302 | - width: 100%; | |
| 5303 | - } | |
| 5304 | - .media-editor .interface-complementary-area__fill, | |
| 5305 | - .media-editor .interface-complementary-area { | |
| 5306 | - width: 100% !important; | |
| 5307 | - } | |
| 5308 | -} | |
| 5309 | 5266 | .media-editor__snackbar { |
| 5310 | 5267 | position: fixed; |
| 5311 | - bottom: 24px; | |
| 5268 | + bottom: var(--wpds-dimension-size-md, 32px); | |
| 5312 | 5269 | right: 0; |
| 5313 | 5270 | left: 0; |
| 5314 | 5271 | padding-inline: 16px; |
| 5315 | 5272 | box-sizing: border-box; |
| @@ -5343,44 +5300,20 @@ | ||
| 5343 | 5300 | |
| 5344 | 5301 | .media-editor-modal.components-modal__frame .media-editor-modal__footer { |
| 5345 | 5302 | flex-shrink: 0; |
| 5346 | 5303 | display: flex; |
| 5347 | - gap: 16px; | |
| 5348 | - padding: 16px 32px 24px; | |
| 5349 | - background: #fff; | |
| 5350 | - z-index: 1000001; | |
| 5351 | -} | |
| 5352 | - | |
| 5353 | -.media-editor-modal.components-modal__frame .media-editor-modal__footer.is-wide { | |
| 5354 | 5304 | flex-direction: row; |
| 5355 | 5305 | align-items: center; |
| 5356 | -} | |
| 5357 | - | |
| 5358 | -.media-editor-modal.components-modal__frame .media-editor-modal__footer.is-wide .media-editor__footer-actions { | |
| 5359 | - margin-right: auto; | |
| 5360 | -} | |
| 5361 | - | |
| 5362 | -.media-editor-modal.components-modal__frame .media-editor-modal__footer.is-narrow { | |
| 5363 | - flex-direction: column; | |
| 5364 | -} | |
| 5365 | - | |
| 5366 | -.media-editor-modal.components-modal__frame .media-editor-modal__footer.is-narrow > .media-editor-image-controls { | |
| 5367 | - align-self: center; | |
| 5368 | -} | |
| 5369 | - | |
| 5370 | -.media-editor-modal__footer-row { | |
| 5371 | - display: flex; | |
| 5372 | - flex-wrap: wrap; | |
| 5373 | - align-items: center; | |
| 5374 | 5306 | gap: 16px; |
| 5307 | + padding: 24px; | |
| 5308 | + background: #fff; | |
| 5375 | 5309 | } |
| 5376 | 5310 | |
| 5377 | -.media-editor-modal__footer-row .media-editor-image-controls, | |
| 5378 | -.media-editor-modal__footer-row .media-editor__footer-actions { | |
| 5311 | +.media-editor-modal.components-modal__frame .media-editor-modal__footer .media-editor__save-actions { | |
| 5379 | 5312 | margin-right: auto; |
| 5380 | 5313 | } |
| 5381 | 5314 | |
| 5382 | -.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]) { | |
| 5383 | 5316 | color: var(--wp-admin-theme-color); |
| 5384 | 5317 | } |
| 5385 | 5318 | |
| 5386 | 5319 | .media-editor-modal { |
| @@ -5389,9 +5322,9 @@ | ||
| 5389 | 5322 | } |
| 5390 | 5323 | |
| 5391 | 5324 | .media-editor-modal__snackbar { |
| 5392 | 5325 | position: fixed; |
| 5393 | - bottom: 24px; | |
| 5326 | + bottom: var(--wpds-dimension-size-md, 32px); | |
| 5394 | 5327 | right: 0; |
| 5395 | 5328 | left: 0; |
| 5396 | 5329 | padding-inline: 16px; |
| 5397 | 5330 | box-sizing: border-box; |
| @@ -5553,12 +5486,12 @@ | ||
| 5553 | 5486 | box-sizing: border-box; |
| 5554 | 5487 | color: #1e1e1e; |
| 5555 | 5488 | font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; |
| 5556 | 5489 | -webkit-user-select: none; |
| 5557 | - -moz-user-select: none; | |
| 5558 | 5490 | user-select: none; |
| 5559 | 5491 | touch-action: none; |
| 5560 | 5492 | cursor: ew-resize; |
| 5493 | + direction: ltr; | |
| 5561 | 5494 | container-type: inline-size; |
| 5562 | 5495 | } |
| 5563 | 5496 | |
| 5564 | 5497 | .rotation-ruler[data-disabled] { |
| @@ -5579,9 +5512,9 @@ | ||
| 5579 | 5512 | height: 1px; |
| 5580 | 5513 | margin: -1px; |
| 5581 | 5514 | padding: 0; |
| 5582 | 5515 | border: 0; |
| 5583 | - clip: rect(0 0 0 0); | |
| 5516 | + clip-path: inset(50%); | |
| 5584 | 5517 | overflow: hidden; |
| 5585 | 5518 | white-space: nowrap; |
| 5586 | 5519 | } |
| 5587 | 5520 | |
| @@ -5668,15 +5601,15 @@ | ||
| 5668 | 5601 | |
| 5669 | 5602 | .rotation-ruler__active-label-sign { |
| 5670 | 5603 | position: absolute; |
| 5671 | 5604 | top: 0; |
| 5672 | - left: 100%; | |
| 5605 | + right: 100%; | |
| 5673 | 5606 | } |
| 5674 | 5607 | |
| 5675 | 5608 | .rotation-ruler__active-label-unit { |
| 5676 | 5609 | position: absolute; |
| 5677 | 5610 | top: 0; |
| 5678 | - right: 100%; | |
| 5611 | + left: 100%; | |
| 5679 | 5612 | } |
| 5680 | 5613 | |
| 5681 | 5614 | @container (max-width: 220px) { |
| 5682 | 5615 | .rotation-ruler__tick--minor { |
| @@ -5694,9 +5627,9 @@ | ||
| 5694 | 5627 | } |
| 5695 | 5628 | |
| 5696 | 5629 | .editor-autocompleters__user .editor-autocompleters__no-avatar::before { |
| 5697 | 5630 | /* stylelint-disable-next-line font-family-no-missing-generic-family-keyword -- dashicons don't need a generic family keyword. */ |
| 5698 | - font: normal 20px/1 dashicons; | |
| 5631 | + font: 400 20px/1 dashicons; | |
| 5699 | 5632 | content: "\f110"; |
| 5700 | 5633 | margin-left: 5px; |
| 5701 | 5634 | vertical-align: middle; |
| 5702 | 5635 | } |
| @@ -5731,9 +5664,10 @@ | ||
| 5731 | 5664 | |
| 5732 | 5665 | .interface-interface-skeleton__sidebar:has(.editor-collab-sidebar) { |
| 5733 | 5666 | box-shadow: none; |
| 5734 | 5667 | } |
| 5735 | -.interface-interface-skeleton__sidebar:has(.editor-collab-sidebar) .interface-complementary-area-header { | |
| 5668 | + | |
| 5669 | +.editor-collab-sidebar__header { | |
| 5736 | 5670 | display: none; |
| 5737 | 5671 | } |
| 5738 | 5672 | |
| 5739 | 5673 | .editor-collab-sidebar { |
| @@ -5745,8 +5679,9 @@ | ||
| 5745 | 5679 | position: relative; |
| 5746 | 5680 | padding: 16px 16px 24px; |
| 5747 | 5681 | height: 100%; |
| 5748 | 5682 | overflow: hidden; |
| 5683 | + border-right: 1px solid color-mix(in srgb, currentColor 10%, transparent); | |
| 5749 | 5684 | } |
| 5750 | 5685 | |
| 5751 | 5686 | .editor-collab-sidebar-panel__thread, |
| 5752 | 5687 | .editor-collab-sidebar-panel__add-note { |
| @@ -5780,8 +5715,12 @@ | ||
| 5780 | 5715 | max-height: calc(100dvh - var(--wp-admin--admin-bar--height, 0px) - 128px); |
| 5781 | 5716 | overflow-y: auto; |
| 5782 | 5717 | } |
| 5783 | 5718 | |
| 5719 | +.editor-collab-sidebar-panel__user-info { | |
| 5720 | + flex: 1; | |
| 5721 | +} | |
| 5722 | + | |
| 5784 | 5723 | .editor-collab-sidebar-panel__user-name { |
| 5785 | 5724 | font-size: 12px; |
| 5786 | 5725 | font-weight: 400; |
| 5787 | 5726 | line-height: 16px; |
| @@ -5786,9 +5725,9 @@ | ||
| 5786 | 5725 | font-weight: 400; |
| 5787 | 5726 | line-height: 16px; |
| 5788 | 5727 | text-align: right; |
| 5789 | 5728 | color: #757575; |
| 5790 | - text-transform: capitalize; | |
| 5729 | + overflow-wrap: anywhere; | |
| 5791 | 5730 | } |
| 5792 | 5731 | |
| 5793 | 5732 | .editor-collab-sidebar-panel__user-time { |
| 5794 | 5733 | font-size: 12px; |
| @@ -5798,9 +5737,8 @@ | ||
| 5798 | 5737 | color: #757575; |
| 5799 | 5738 | } |
| 5800 | 5739 | |
| 5801 | 5740 | .editor-collab-sidebar-panel__show-more-button { |
| 5802 | - width: -moz-fit-content; | |
| 5803 | 5741 | width: fit-content; |
| 5804 | 5742 | color: var(--wpds-color-foreground-interactive-brand, var(--wp-admin-theme-color, #3858e9)); |
| 5805 | 5743 | cursor: var(--wpds-cursor-control, pointer); |
| 5806 | 5744 | } |
| @@ -5807,8 +5745,11 @@ | ||
| 5807 | 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 { |
| 5808 | 5746 | color: var(--wpds-color-foreground-interactive-brand-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 52%, black)); |
| 5809 | 5747 | } |
| 5810 | 5748 | |
| 5749 | +.editor-collab-sidebar-panel__note-content { | |
| 5750 | + overflow-wrap: break-word; | |
| 5751 | +} | |
| 5811 | 5752 | .editor-collab-sidebar-panel__note-content p:last-child { |
| 5812 | 5753 | margin-bottom: 0; |
| 5813 | 5754 | } |
| 5814 | 5755 | .editor-collab-sidebar-panel__note-content.is-collapsed { |
| @@ -5865,9 +5806,9 @@ | ||
| 5865 | 5806 | line-height: 20px; |
| 5866 | 5807 | max-height: 418px; |
| 5867 | 5808 | overflow-y: auto; |
| 5868 | 5809 | white-space: pre-wrap; |
| 5869 | - word-wrap: break-word; | |
| 5810 | + overflow-wrap: break-word; | |
| 5870 | 5811 | } |
| 5871 | 5812 | .editor-collab-sidebar-panel__note-form [role=textbox] code { |
| 5872 | 5813 | font-family: Menlo, Consolas, monaco, monospace; |
| 5873 | 5814 | font-size: 0.9em; |
| @@ -5947,9 +5888,8 @@ | ||
| 5947 | 5888 | border-radius: var(--wpds-border-radius-sm, 2px); |
| 5948 | 5889 | background: var(--wpds-color-background-surface-brand, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 9%, white)); |
| 5949 | 5890 | color: var(--wpds-color-foreground-interactive-brand, var(--wp-admin-theme-color, #3858e9)); |
| 5950 | 5891 | font-weight: var(--wpds-typography-font-weight-emphasis, 600); |
| 5951 | - white-space: nowrap; | |
| 5952 | 5892 | } |
| 5953 | 5893 | @media (forced-colors: active) { |
| 5954 | 5894 | .wp-note-mention { |
| 5955 | 5895 | border: 1px solid; |
| @@ -5959,8 +5899,13 @@ | ||
| 5959 | 5899 | .editor-collab-sidebar-panel__mention-suggestion .editor-autocompleters__user-avatar { |
| 5960 | 5900 | border-radius: 50%; |
| 5961 | 5901 | } |
| 5962 | 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 | + | |
| 5963 | 5908 | .editor-avatar { |
| 5964 | 5909 | position: relative; |
| 5965 | 5910 | display: inline-flex; |
| 5966 | 5911 | align-items: center; |
| @@ -6005,10 +5950,9 @@ | ||
| 6005 | 5950 | position: absolute; |
| 6006 | 5951 | inset: 0; |
| 6007 | 5952 | width: 100%; |
| 6008 | 5953 | height: 100%; |
| 6009 | - -o-object-fit: cover; | |
| 6010 | - object-fit: cover; | |
| 5954 | + object-fit: cover; | |
| 6011 | 5955 | border-radius: inherit; |
| 6012 | 5956 | opacity: 0; |
| 6013 | 5957 | } |
| 6014 | 5958 | .has-src > .editor-avatar__image > .editor-avatar__img { |
| @@ -6047,19 +5991,16 @@ | ||
| 6047 | 5991 | |
| 6048 | 5992 | .editor-avatar.is-badge { |
| 6049 | 5993 | display: inline-grid; |
| 6050 | 5994 | grid-template-columns: min-content 0fr; |
| 6051 | - -moz-column-gap: 0; | |
| 6052 | - column-gap: 0; | |
| 5995 | + column-gap: 0; | |
| 6053 | 5996 | padding-inline-end: 0; |
| 6054 | 5997 | background-color: var(--wp-admin-theme-color, #3858e9); |
| 6055 | 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); |
| 6056 | - 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); | |
| 6057 | 5999 | } |
| 6058 | 6000 | .editor-avatar.is-badge:hover { |
| 6059 | 6001 | grid-template-columns: min-content 1fr; |
| 6060 | - -moz-column-gap: 4px; | |
| 6061 | - column-gap: 4px; | |
| 6002 | + column-gap: 4px; | |
| 6062 | 6003 | padding-inline-end: 8px; |
| 6063 | 6004 | transition-timing-function: cubic-bezier(0.85, 0, 0.85, 1); |
| 6064 | 6005 | } |
| 6065 | 6006 | .editor-avatar.is-badge:hover .editor-avatar__name { |
| @@ -6249,43 +6190,24 @@ | ||
| 6249 | 6190 | height: 32px; |
| 6250 | 6191 | background: #f0f0f0; |
| 6251 | 6192 | border-radius: 4px; |
| 6252 | 6193 | } |
| 6253 | -.editor-collaborators-presence:hover { | |
| 6194 | +.editor-collaborators-presence:hover, .editor-collaborators-presence:has(.is-pressed) { | |
| 6254 | 6195 | background-color: #e0e0e0; |
| 6255 | 6196 | } |
| 6256 | -.editor-collaborators-presence:has(.is-pressed) { | |
| 6257 | - background-color: #e0e0e0; | |
| 6258 | -} | |
| 6259 | 6197 | |
| 6260 | 6198 | .editor-header__center .editor-collaborators-presence { |
| 6261 | 6199 | margin-left: 8px; |
| 6262 | 6200 | } |
| 6263 | 6201 | |
| 6264 | -.editor-collaborators-presence__button.editor-collaborators-presence__button.components-button { | |
| 6265 | - display: flex; | |
| 6266 | - align-items: center; | |
| 6267 | - cursor: var(--wpds-cursor-control, pointer); | |
| 6202 | +.editor-collaborators-presence__button.editor-collaborators-presence__button { | |
| 6268 | 6203 | position: relative; |
| 6269 | 6204 | padding: 4px; |
| 6270 | - border-radius: 4px; | |
| 6271 | - height: 100%; | |
| 6272 | - box-sizing: border-box; | |
| 6273 | - color: #2f2f2f; | |
| 6274 | - background: transparent; | |
| 6275 | 6205 | } |
| 6276 | -.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 { | |
| 6277 | 6207 | background: transparent; |
| 6278 | 6208 | color: #2f2f2f; |
| 6279 | 6209 | } |
| 6280 | -.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 { | |
| 6281 | - background: transparent; | |
| 6282 | - color: #2f2f2f; | |
| 6283 | -} | |
| 6284 | -.editor-collaborators-presence__button.editor-collaborators-presence__button.components-button:focus:not(:active) { | |
| 6285 | - box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus, 2px) var(--wp-admin-theme-color, #007cba); | |
| 6286 | - outline: none; | |
| 6287 | -} | |
| 6288 | 6210 | |
| 6289 | 6211 | .editor-collapsible-block-toolbar { |
| 6290 | 6212 | overflow: hidden; |
| 6291 | 6213 | display: flex; |
| @@ -6380,11 +6302,8 @@ | ||
| 6380 | 6302 | } |
| 6381 | 6303 | .editor-document-bar:hover { |
| 6382 | 6304 | background-color: #e0e0e0; |
| 6383 | 6305 | } |
| 6384 | -.editor-document-bar .components-button { | |
| 6385 | - border-radius: 4px; | |
| 6386 | -} | |
| 6387 | 6306 | @media not (prefers-reduced-motion) { |
| 6388 | 6307 | .editor-document-bar .components-button { |
| 6389 | 6308 | transition: background-color 0.1s ease-out; |
| 6390 | 6309 | } |
| @@ -6456,9 +6375,9 @@ | ||
| 6456 | 6375 | display: none; |
| 6457 | 6376 | pointer-events: none; |
| 6458 | 6377 | } |
| 6459 | 6378 | .editor-document-bar__icon-layout.editor-document-bar__icon-layout svg { |
| 6460 | - fill: #949494; | |
| 6379 | + color: #949494; | |
| 6461 | 6380 | } |
| 6462 | 6381 | @media (min-width: 600px) { |
| 6463 | 6382 | .editor-document-bar__icon-layout.editor-document-bar__icon-layout { |
| 6464 | 6383 | display: flex; |
| @@ -6588,12 +6507,12 @@ | ||
| 6588 | 6507 | .editor-document-tools .editor-document-tools__left > .components-button.has-icon.is-pressed, |
| 6589 | 6508 | .editor-document-tools .editor-document-tools__left > .components-dropdown > .components-button.has-icon.is-pressed { |
| 6590 | 6509 | background: #1e1e1e; |
| 6591 | 6510 | } |
| 6592 | -.editor-document-tools .editor-document-tools__left > .components-button.has-icon:focus:not(:disabled), | |
| 6593 | -.editor-document-tools .editor-document-tools__left > .components-dropdown > .components-button.has-icon:focus:not(:disabled) { | |
| 6594 | - box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color), inset 0 0 0 1px #fff; | |
| 6595 | - 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)); | |
| 6596 | 6515 | } |
| 6597 | 6516 | .editor-document-tools .editor-document-tools__left > .components-button.has-icon::before, |
| 6598 | 6517 | .editor-document-tools .editor-document-tools__left > .components-dropdown > .components-button.has-icon::before { |
| 6599 | 6518 | display: none; |
| @@ -6646,79 +6565,29 @@ | ||
| 6646 | 6565 | top: 0; |
| 6647 | 6566 | left: 0; |
| 6648 | 6567 | } |
| 6649 | 6568 | |
| 6650 | -.entities-saved-states__panel-header { | |
| 6651 | - box-sizing: border-box; | |
| 6652 | - background: #fff; | |
| 6653 | - padding-right: 16px; | |
| 6654 | - padding-left: 16px; | |
| 6655 | - height: 64px; | |
| 6656 | - border-bottom: 1px solid #ddd; | |
| 6569 | +.editor-error-boundary { | |
| 6570 | + font-family: var(--wpds-typography-font-family-body, -apple-system, system-ui, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif); | |
| 6571 | + margin: auto; | |
| 6572 | + width: 100%; | |
| 6573 | + max-width: var(--wpds-dimension-surface-width-lg, 560px); | |
| 6574 | + padding: var(--wpds-dimension-padding-xl, 20px); | |
| 6575 | + margin-top: 64px; | |
| 6657 | 6576 | } |
| 6658 | 6577 | |
| 6659 | -.entities-saved-states__text-prompt { | |
| 6660 | - padding: 16px; | |
| 6661 | - padding-bottom: 4px; | |
| 6578 | +.editor-error-boundary__report { | |
| 6579 | + max-height: 420px; | |
| 6580 | + overflow: auto; | |
| 6581 | + overflow-anchor: none; | |
| 6662 | 6582 | } |
| 6663 | -.entities-saved-states__text-prompt .entities-saved-states__text-prompt--header { | |
| 6664 | - display: block; | |
| 6665 | - margin-bottom: 12px; | |
| 6666 | -} | |
| 6667 | 6583 | |
| 6668 | -.entities-saved-states__panel.is-inline .entities-saved-states__text-prompt { | |
| 6669 | - padding: 0; | |
| 6584 | +.editor-error-boundary__report-section { | |
| 6585 | + margin: 0; | |
| 6586 | + white-space: pre-wrap; | |
| 6587 | + overflow-wrap: break-word; | |
| 6670 | 6588 | } |
| 6671 | -.entities-saved-states__panel.is-inline .entities-saved-states__panel-body { | |
| 6672 | - padding-right: 0; | |
| 6673 | - padding-left: 0; | |
| 6674 | - border: 0; | |
| 6675 | -} | |
| 6676 | -.entities-saved-states__panel.is-inline .entities-saved-states__panel-body > h2 { | |
| 6677 | - margin-right: -16px; | |
| 6678 | - margin-left: -16px; | |
| 6679 | - margin-bottom: 0; | |
| 6680 | -} | |
| 6681 | -.entities-saved-states__panel.is-inline .entities-saved-states__panel-body > h2 button { | |
| 6682 | - font-size: 11px; | |
| 6683 | - text-transform: uppercase; | |
| 6684 | -} | |
| 6685 | -.entities-saved-states__panel.is-inline .entities-saved-states__text-prompt--header-wrapper { | |
| 6686 | - display: none; | |
| 6687 | -} | |
| 6688 | -.entities-saved-states__panel.is-inline .entities-saved-states__text-prompt--changes-count { | |
| 6689 | - margin-top: 0; | |
| 6690 | - margin-bottom: 8px; | |
| 6691 | -} | |
| 6692 | -.entities-saved-states__panel.is-inline .entities-saved-states__panel-footer { | |
| 6693 | - margin-top: 16px; | |
| 6694 | -} | |
| 6695 | 6589 | |
| 6696 | -.entities-saved-states__change-control { | |
| 6697 | - flex: 1; | |
| 6698 | -} | |
| 6699 | - | |
| 6700 | -.entities-saved-states__changes { | |
| 6701 | - font-size: 13px; | |
| 6702 | - margin: 4px 24px 0 16px; | |
| 6703 | - list-style: disc; | |
| 6704 | -} | |
| 6705 | -.entities-saved-states__changes li { | |
| 6706 | - margin-bottom: 4px; | |
| 6707 | -} | |
| 6708 | - | |
| 6709 | -.editor-error-boundary { | |
| 6710 | - font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; | |
| 6711 | - margin: auto; | |
| 6712 | - max-width: 780px; | |
| 6713 | - padding: 1em; | |
| 6714 | - margin-top: 64px; | |
| 6715 | - 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); | |
| 6716 | - border: 1px solid #1e1e1e; | |
| 6717 | - border-radius: 2px; | |
| 6718 | - background-color: #fff; | |
| 6719 | -} | |
| 6720 | - | |
| 6721 | 6590 | .editor-global-styles-header__description { |
| 6722 | 6591 | padding: 0 16px; |
| 6723 | 6592 | } |
| 6724 | 6593 | |
| @@ -6734,8 +6603,27 @@ | ||
| 6734 | 6603 | .editor-global-styles-sidebar__panel { |
| 6735 | 6604 | flex: 1; |
| 6736 | 6605 | } |
| 6737 | 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 | + | |
| 6738 | 6626 | .editor-global-styles-sidebar .editor-global-styles-sidebar__header-title { |
| 6739 | 6627 | margin: 0; |
| 6740 | 6628 | } |
| 6741 | 6629 | |
| @@ -6795,10 +6683,9 @@ | ||
| 6795 | 6683 | } |
| 6796 | 6684 | .editor-welcome-guide__image > img { |
| 6797 | 6685 | display: block; |
| 6798 | 6686 | max-width: 100%; |
| 6799 | - -o-object-fit: cover; | |
| 6800 | - object-fit: cover; | |
| 6687 | + object-fit: cover; | |
| 6801 | 6688 | } |
| 6802 | 6689 | .editor-welcome-guide__heading { |
| 6803 | 6690 | font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; |
| 6804 | 6691 | font-size: 24px; |
| @@ -6815,9 +6702,9 @@ | ||
| 6815 | 6702 | .editor-welcome-guide__text img { |
| 6816 | 6703 | vertical-align: bottom; |
| 6817 | 6704 | } |
| 6818 | 6705 | .editor-welcome-guide .components-button:hover svg { |
| 6819 | - fill: #fff; | |
| 6706 | + color: #fff; | |
| 6820 | 6707 | } |
| 6821 | 6708 | |
| 6822 | 6709 | .editor-header { |
| 6823 | 6710 | box-sizing: border-box; |
| @@ -6831,16 +6718,16 @@ | ||
| 6831 | 6718 | height: 64px; |
| 6832 | 6719 | background: #fff; |
| 6833 | 6720 | display: grid; |
| 6834 | 6721 | grid-auto-flow: row; |
| 6835 | - 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; | |
| 6836 | 6723 | } |
| 6837 | 6724 | .editor-header:has(> .editor-header__center) { |
| 6838 | - grid-template: auto/32px min-content 1fr min-content 64px; | |
| 6725 | + grid-template: auto/auto min-content 1fr min-content 64px; | |
| 6839 | 6726 | } |
| 6840 | 6727 | @media (min-width: 782px) { |
| 6841 | 6728 | .editor-header:has(> .editor-header__center) { |
| 6842 | - 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; | |
| 6843 | 6730 | } |
| 6844 | 6731 | } |
| 6845 | 6732 | @media (min-width: 480px) { |
| 6846 | 6733 | .editor-header { |
| @@ -6858,10 +6745,13 @@ | ||
| 6858 | 6745 | } |
| 6859 | 6746 | } |
| 6860 | 6747 | |
| 6861 | 6748 | .editor-header__back-button { |
| 6862 | - padding-right: 8px; | |
| 6749 | + margin: 0 8px 0 -8px; | |
| 6863 | 6750 | } |
| 6751 | +.show-icon-labels .editor-header__back-button { | |
| 6752 | + margin-left: 0; | |
| 6753 | +} | |
| 6864 | 6754 | |
| 6865 | 6755 | .editor-header__toolbar { |
| 6866 | 6756 | grid-column: 1/3; |
| 6867 | 6757 | } |
| @@ -7067,9 +6957,9 @@ | ||
| 7067 | 6957 | } |
| 7068 | 6958 | .editor-editor-interface.is-distraction-free .editor-header > .edit-post-header__settings > .edit-post-header__post-preview-button { |
| 7069 | 6959 | visibility: hidden; |
| 7070 | 6960 | } |
| 7071 | -.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 { | |
| 7072 | 6962 | display: none; |
| 7073 | 6963 | } |
| 7074 | 6964 | .editor-editor-interface.is-distraction-free .interface-interface-skeleton__header:focus-within { |
| 7075 | 6965 | opacity: 1 !important; |
| @@ -7076,15 +6966,15 @@ | ||
| 7076 | 6966 | } |
| 7077 | 6967 | .editor-editor-interface.is-distraction-free .interface-interface-skeleton__header:focus-within div { |
| 7078 | 6968 | transform: translateX(0) translateZ(0) !important; |
| 7079 | 6969 | } |
| 7080 | -.editor-editor-interface.is-distraction-free .components-editor-notices__dismissible { | |
| 6970 | +.editor-editor-interface.is-distraction-free .editor-notices__dismissible { | |
| 7081 | 6971 | position: absolute; |
| 7082 | 6972 | z-index: 35; |
| 7083 | 6973 | } |
| 7084 | - | |
| 7085 | -.components-popover.more-menu-dropdown__content { | |
| 7086 | - 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; | |
| 7087 | 6977 | } |
| 7088 | 6978 | |
| 7089 | 6979 | .editor-inserter-sidebar { |
| 7090 | 6980 | box-sizing: border-box; |
| @@ -7214,9 +7104,9 @@ | ||
| 7214 | 7104 | scrollbar-gutter: auto; |
| 7215 | 7105 | } |
| 7216 | 7106 | |
| 7217 | 7107 | .editor-list-view-sidebar__list-view-panel-content { |
| 7218 | - padding: 4px; | |
| 7108 | + padding: 8px; | |
| 7219 | 7109 | } |
| 7220 | 7110 | |
| 7221 | 7111 | .editor-list-view-sidebar__list-view-container { |
| 7222 | 7112 | display: flex; |
| @@ -7247,8 +7137,13 @@ | ||
| 7247 | 7137 | line-height: 1.4; |
| 7248 | 7138 | color: #757575; |
| 7249 | 7139 | } |
| 7250 | 7140 | |
| 7141 | +.editor-more-menu__popup { | |
| 7142 | + max-height: var(--available-height); | |
| 7143 | + max-width: var(--wpds-dimension-surface-width-sm, 320px); | |
| 7144 | +} | |
| 7145 | + | |
| 7251 | 7146 | .editor-post-parent__panel, |
| 7252 | 7147 | .editor-post-order__panel { |
| 7253 | 7148 | padding-top: 8px; |
| 7254 | 7149 | } |
| @@ -7299,12 +7194,12 @@ | ||
| 7299 | 7194 | margin: 0; |
| 7300 | 7195 | display: flex; |
| 7301 | 7196 | align-items: center; |
| 7302 | 7197 | flex-wrap: wrap; |
| 7303 | - -moz-column-gap: 8px; | |
| 7304 | - column-gap: 8px; | |
| 7198 | + column-gap: 8px; | |
| 7305 | 7199 | row-gap: 4px; |
| 7306 | - word-break: break-word; | |
| 7200 | + word-break: normal; | |
| 7201 | + overflow-wrap: anywhere; | |
| 7307 | 7202 | } |
| 7308 | 7203 | .editor-post-card-panel__icon { |
| 7309 | 7204 | flex: 0 0 24px; |
| 7310 | 7205 | width: 24px; |
| @@ -7409,13 +7304,11 @@ | ||
| 7409 | 7304 | background-position: 0 0, 12px 12px; |
| 7410 | 7305 | background-size: 24px 24px; |
| 7411 | 7306 | } |
| 7412 | 7307 | .editor-post-featured-image__preview .editor-post-featured-image__preview-image { |
| 7413 | - -o-object-fit: cover; | |
| 7414 | - object-fit: cover; | |
| 7308 | + object-fit: cover; | |
| 7415 | 7309 | width: 100%; |
| 7416 | - -o-object-position: 50% 50%; | |
| 7417 | - object-position: 50% 50%; | |
| 7310 | + object-position: 50% 50%; | |
| 7418 | 7311 | aspect-ratio: 2/1; |
| 7419 | 7312 | } |
| 7420 | 7313 | |
| 7421 | 7314 | .editor-post-featured-image__actions:not(.editor-post-featured-image__actions-missing-image) { |
| @@ -7466,9 +7359,9 @@ | ||
| 7466 | 7359 | .editor-post-last-revision__title.components-button.has-icon:hover, .editor-post-last-revision__title.components-button.has-icon:active { |
| 7467 | 7360 | background: #f0f0f0; |
| 7468 | 7361 | } |
| 7469 | 7362 | .editor-post-last-revision__title.components-button.has-icon:focus { |
| 7470 | - 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))); | |
| 7471 | 7364 | border-radius: 0; |
| 7472 | 7365 | } |
| 7473 | 7366 | |
| 7474 | 7367 | .components-panel__body.is-opened.editor-post-last-revision__panel { |
| @@ -7504,9 +7397,10 @@ | ||
| 7504 | 7397 | align-items: center; |
| 7505 | 7398 | padding: 6px 0; |
| 7506 | 7399 | line-height: 20px; |
| 7507 | 7400 | hyphens: auto; |
| 7508 | - word-break: break-word; | |
| 7401 | + word-break: normal; | |
| 7402 | + overflow-wrap: anywhere; | |
| 7509 | 7403 | } |
| 7510 | 7404 | |
| 7511 | 7405 | .editor-post-panel__row-control { |
| 7512 | 7406 | flex-grow: 1; |
| @@ -7582,9 +7476,10 @@ | ||
| 7582 | 7476 | .components-site-home { |
| 7583 | 7477 | display: block; |
| 7584 | 7478 | color: #757575; |
| 7585 | 7479 | font-size: 12px; |
| 7586 | - word-break: break-word; | |
| 7480 | + word-break: normal; | |
| 7481 | + overflow-wrap: anywhere; | |
| 7587 | 7482 | } |
| 7588 | 7483 | |
| 7589 | 7484 | .editor-post-publish-panel__header-publish-button, |
| 7590 | 7485 | .editor-post-publish-panel__header-cancel-button { |
| @@ -7605,12 +7500,8 @@ | ||
| 7605 | 7500 | .editor-post-publish-panel__header-cancel-button { |
| 7606 | 7501 | padding-left: 4px; |
| 7607 | 7502 | } |
| 7608 | 7503 | |
| 7609 | -.editor-post-publish-panel__header-published { | |
| 7610 | - flex-grow: 1; | |
| 7611 | -} | |
| 7612 | - | |
| 7613 | 7504 | .editor-post-publish-panel__footer { |
| 7614 | 7505 | padding: 16px; |
| 7615 | 7506 | } |
| 7616 | 7507 | |
| @@ -7640,11 +7531,8 @@ | ||
| 7640 | 7531 | background: #fff; |
| 7641 | 7532 | margin-right: -16px; |
| 7642 | 7533 | margin-left: -16px; |
| 7643 | 7534 | } |
| 7644 | -.editor-post-publish-panel__prepublish .editor-post-visibility__dialog-legend { | |
| 7645 | - display: none; | |
| 7646 | -} | |
| 7647 | 7535 | .editor-post-publish-panel__prepublish .components-panel__body-title .components-button { |
| 7648 | 7536 | align-items: flex-start; |
| 7649 | 7537 | text-wrap: balance; |
| 7650 | 7538 | text-wrap: pretty; |
| @@ -7652,9 +7540,10 @@ | ||
| 7652 | 7540 | |
| 7653 | 7541 | .post-publish-panel__postpublish .components-panel__body { |
| 7654 | 7542 | border-bottom: 1px solid #e0e0e0; |
| 7655 | 7543 | border-top: none; |
| 7656 | - word-break: break-word; | |
| 7544 | + word-break: normal; | |
| 7545 | + overflow-wrap: anywhere; | |
| 7657 | 7546 | } |
| 7658 | 7547 | |
| 7659 | 7548 | .post-publish-panel__postpublish-buttons { |
| 7660 | 7549 | display: flex; |
| @@ -7701,17 +7590,8 @@ | ||
| 7701 | 7590 | .post-publish-panel__postpublish-subheader { |
| 7702 | 7591 | margin: 0 0 8px; |
| 7703 | 7592 | } |
| 7704 | 7593 | |
| 7705 | -.post-publish-panel__tip { | |
| 7706 | - color: #f0b849; | |
| 7707 | -} | |
| 7708 | - | |
| 7709 | -@media screen and (max-width: 782px) { | |
| 7710 | - .post-publish-panel__postpublish-post-address__button-wrap .components-button { | |
| 7711 | - height: 40px; | |
| 7712 | - } | |
| 7713 | -} | |
| 7714 | 7594 | .editor-post-publish-panel { |
| 7715 | 7595 | box-sizing: border-box; |
| 7716 | 7596 | } |
| 7717 | 7597 | .editor-post-publish-panel *, |
| @@ -7785,8 +7665,103 @@ | ||
| 7785 | 7665 | flex: 1; |
| 7786 | 7666 | min-width: 0; |
| 7787 | 7667 | } |
| 7788 | 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 | + | |
| 7789 | 7764 | .revision-diff-markers { |
| 7790 | 7765 | position: relative; |
| 7791 | 7766 | flex-shrink: 0; |
| 7792 | 7767 | width: max(16px, 1rem); |
| @@ -7822,9 +7797,10 @@ | ||
| 7822 | 7797 | display: flex; |
| 7823 | 7798 | flex-direction: column; |
| 7824 | 7799 | overflow: hidden; |
| 7825 | 7800 | } |
| 7826 | -.interface-complementary-area:has(.editor-post-revisions-timeline) .editor-sidebar__panel-tabs { | |
| 7801 | + | |
| 7802 | +.interface-complementary-area > .editor-sidebar__panel-tabs { | |
| 7827 | 7803 | flex-shrink: 0; |
| 7828 | 7804 | } |
| 7829 | 7805 | |
| 7830 | 7806 | .editor-sidebar__panel:has(.editor-post-revisions-timeline) { |
| @@ -7832,25 +7808,29 @@ | ||
| 7832 | 7808 | flex-direction: column; |
| 7833 | 7809 | flex: 1; |
| 7834 | 7810 | min-height: 0; |
| 7835 | 7811 | } |
| 7836 | -.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) { | |
| 7837 | 7814 | display: flex; |
| 7838 | 7815 | flex-direction: column; |
| 7839 | 7816 | flex: 1; |
| 7840 | 7817 | min-height: 0; |
| 7841 | 7818 | } |
| 7842 | -.editor-sidebar__panel:has(.editor-post-revisions-timeline) .editor-revision-meta-diff__content { | |
| 7819 | + | |
| 7820 | +.editor-sidebar__panel .editor-revision-meta-diff__content { | |
| 7843 | 7821 | max-height: 80px; |
| 7844 | 7822 | overflow-y: auto; |
| 7845 | 7823 | } |
| 7846 | -.editor-sidebar__panel:has(.editor-post-revisions-timeline) .editor-post-revisions-timeline { | |
| 7824 | + | |
| 7825 | +.editor-sidebar__panel .editor-post-revisions-timeline { | |
| 7847 | 7826 | flex: 1; |
| 7848 | 7827 | min-height: 0; |
| 7849 | 7828 | } |
| 7850 | 7829 | |
| 7851 | 7830 | .editor-revision-fields-diff__value { |
| 7852 | - word-break: break-word; | |
| 7831 | + word-break: normal; | |
| 7832 | + overflow-wrap: anywhere; | |
| 7853 | 7833 | } |
| 7854 | 7834 | |
| 7855 | 7835 | .editor-revision-fields-diff__added { |
| 7856 | 7836 | background-color: color-mix(in srgb, currentColor 5%, #00a32a 15%); |
| @@ -7904,8 +7884,14 @@ | ||
| 7904 | 7884 | min-width: 320px; |
| 7905 | 7885 | padding: 16px; |
| 7906 | 7886 | } |
| 7907 | 7887 | |
| 7888 | +.editor-post-schedule__reset { | |
| 7889 | + justify-content: center; | |
| 7890 | + margin-top: 16px; | |
| 7891 | + width: 100%; | |
| 7892 | +} | |
| 7893 | + | |
| 7908 | 7894 | .editor-post-status { |
| 7909 | 7895 | max-width: 100%; |
| 7910 | 7896 | } |
| 7911 | 7897 | .editor-post-status.is-read-only { |
| @@ -7958,8 +7944,13 @@ | ||
| 7958 | 7944 | .editor-post-taxonomies__hierarchical-terms-choice:last-child { |
| 7959 | 7945 | margin-bottom: 4px; |
| 7960 | 7946 | } |
| 7961 | 7947 | |
| 7948 | +.editor-post-taxonomies__hierarchical-terms-add, | |
| 7949 | +.editor-post-taxonomies__hierarchical-terms-submit { | |
| 7950 | + align-self: flex-start; | |
| 7951 | +} | |
| 7952 | + | |
| 7962 | 7953 | .editor-post-taxonomies__hierarchical-terms-subchoices { |
| 7963 | 7954 | margin-top: 8px; |
| 7964 | 7955 | margin-right: 16px; |
| 7965 | 7956 | } |
| @@ -8005,29 +7996,24 @@ | ||
| 8005 | 7996 | z-index: 1000001; |
| 8006 | 7997 | } |
| 8007 | 7998 | |
| 8008 | 7999 | .editor-post-template__swap-template-modal-content .block-editor-block-patterns-list { |
| 8009 | - -moz-column-count: 2; | |
| 8010 | - column-count: 2; | |
| 8011 | - -moz-column-gap: 24px; | |
| 8012 | - column-gap: 24px; | |
| 8000 | + column-count: 2; | |
| 8001 | + column-gap: 24px; | |
| 8013 | 8002 | padding-top: 2px; |
| 8014 | 8003 | } |
| 8015 | 8004 | @media (min-width: 782px) { |
| 8016 | 8005 | .editor-post-template__swap-template-modal-content .block-editor-block-patterns-list { |
| 8017 | - -moz-column-count: 3; | |
| 8018 | - column-count: 3; | |
| 8006 | + column-count: 3; | |
| 8019 | 8007 | } |
| 8020 | 8008 | } |
| 8021 | 8009 | @media (min-width: 1280px) { |
| 8022 | 8010 | .editor-post-template__swap-template-modal-content .block-editor-block-patterns-list { |
| 8023 | - -moz-column-count: 4; | |
| 8024 | - column-count: 4; | |
| 8011 | + column-count: 4; | |
| 8025 | 8012 | } |
| 8026 | 8013 | } |
| 8027 | 8014 | .editor-post-template__swap-template-modal-content .block-editor-block-patterns-list .block-editor-block-patterns-list__list-item { |
| 8028 | - -moz-column-break-inside: avoid; | |
| 8029 | - break-inside: avoid-column; | |
| 8015 | + break-inside: avoid-column; | |
| 8030 | 8016 | } |
| 8031 | 8017 | |
| 8032 | 8018 | .editor-post-template__dropdown .components-popover__content { |
| 8033 | 8019 | min-width: 240px; |
| @@ -8082,9 +8068,10 @@ | ||
| 8082 | 8068 | margin: 0; |
| 8083 | 8069 | width: 100%; |
| 8084 | 8070 | box-shadow: none; |
| 8085 | 8071 | resize: none; |
| 8086 | - overflow: hidden; | |
| 8072 | + field-sizing: content; | |
| 8073 | + overflow: auto; | |
| 8087 | 8074 | font-family: Menlo, Consolas, monaco, monospace; |
| 8088 | 8075 | line-height: 2.4; |
| 8089 | 8076 | min-height: 200px; |
| 8090 | 8077 | } |
| @@ -8114,11 +8101,8 @@ | ||
| 8114 | 8101 | border-color: var(--wp-admin-theme-color); |
| 8115 | 8102 | box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color); |
| 8116 | 8103 | position: relative; |
| 8117 | 8104 | } |
| 8118 | -textarea.editor-post-text-editor::-moz-placeholder { | |
| 8119 | - color: rgba(30, 30, 30, 0.62); | |
| 8120 | -} | |
| 8121 | 8105 | textarea.editor-post-text-editor::placeholder { |
| 8122 | 8106 | color: rgba(30, 30, 30, 0.62); |
| 8123 | 8107 | } |
| 8124 | 8108 | |
| @@ -8138,9 +8122,10 @@ | ||
| 8138 | 8122 | } |
| 8139 | 8123 | .editor-post-url__link, |
| 8140 | 8124 | .editor-post-url__front-page-link { |
| 8141 | 8125 | direction: ltr; |
| 8142 | - word-break: break-word; | |
| 8126 | + word-break: normal; | |
| 8127 | + overflow-wrap: anywhere; | |
| 8143 | 8128 | } |
| 8144 | 8129 | .editor-post-url__front-page-link { |
| 8145 | 8130 | padding: 6px 12px; |
| 8146 | 8131 | border-radius: 2px; |
| @@ -8165,9 +8150,10 @@ | ||
| 8165 | 8150 | } |
| 8166 | 8151 | |
| 8167 | 8152 | .editor-post-url__panel-toggle, |
| 8168 | 8153 | .editor-post-parent__panel-toggle { |
| 8169 | - word-break: break-word; | |
| 8154 | + word-break: normal; | |
| 8155 | + overflow-wrap: anywhere; | |
| 8170 | 8156 | } |
| 8171 | 8157 | |
| 8172 | 8158 | .editor-post-url__intro { |
| 8173 | 8159 | margin: 0; |
| @@ -8190,20 +8176,24 @@ | ||
| 8190 | 8176 | flex-grow: 1; |
| 8191 | 8177 | justify-content: center; |
| 8192 | 8178 | } |
| 8193 | 8179 | |
| 8194 | -.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 { | |
| 8195 | 8185 | padding-left: 4px; |
| 8196 | 8186 | padding-right: 6px; |
| 8197 | 8187 | } |
| 8198 | 8188 | |
| 8199 | -.editor-preview-dropdown.is-responsive-editing .editor-preview-dropdown__toggle { | |
| 8189 | +.editor-preview-dropdown__toggle.is-responsive-editing { | |
| 8200 | 8190 | color: var(--wp-block-synced-color); |
| 8201 | 8191 | } |
| 8202 | 8192 | |
| 8203 | 8193 | @media (prefers-reduced-motion: no-preference) { |
| 8204 | 8194 | .editor-resizable-editor:not(.is-resizing) { |
| 8205 | - transition: width 0.2s ease-out, height 0.2s ease-out; | |
| 8195 | + transition: width 0.2s ease-out; | |
| 8206 | 8196 | } |
| 8207 | 8197 | } |
| 8208 | 8198 | |
| 8209 | 8199 | .editor-resizable-editor.is-resizable { |
| @@ -8217,11 +8207,9 @@ | ||
| 8217 | 8207 | bottom: 0; |
| 8218 | 8208 | padding: 0; |
| 8219 | 8209 | margin: auto 0; |
| 8220 | 8210 | width: 12px; |
| 8221 | - -webkit-appearance: none; | |
| 8222 | - -moz-appearance: none; | |
| 8223 | - appearance: none; | |
| 8211 | + appearance: none; | |
| 8224 | 8212 | cursor: ew-resize; |
| 8225 | 8213 | outline: none; |
| 8226 | 8214 | background: none; |
| 8227 | 8215 | border-radius: 9999px; |
| @@ -8251,8 +8239,22 @@ | ||
| 8251 | 8239 | .editor-resizable-editor__resize-handle:hover::after, .editor-resizable-editor__resize-handle:focus::after, .editor-resizable-editor__resize-handle:active::after { |
| 8252 | 8240 | background-color: var(--wp-admin-theme-color); |
| 8253 | 8241 | } |
| 8254 | 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 | + | |
| 8255 | 8257 | .editor-layout__toggle-publish-panel, |
| 8256 | 8258 | .editor-layout__toggle-sidebar-panel, |
| 8257 | 8259 | .editor-layout__toggle-entities-saved-states-panel { |
| 8258 | 8260 | z-index: 100000; |
| @@ -8283,12 +8285,12 @@ | ||
| 8283 | 8285 | bottom: 0; |
| 8284 | 8286 | width: 100%; |
| 8285 | 8287 | height: 72px; |
| 8286 | 8288 | background-color: #fff; |
| 8287 | - margin-right: -32px; | |
| 8288 | - margin-left: -32px; | |
| 8289 | - padding-right: 32px; | |
| 8290 | - padding-left: 32px; | |
| 8289 | + margin-right: -24px; | |
| 8290 | + margin-left: -24px; | |
| 8291 | + padding-right: 24px; | |
| 8292 | + padding-left: 24px; | |
| 8291 | 8293 | border-top: 1px solid #ddd; |
| 8292 | 8294 | z-index: 1; |
| 8293 | 8295 | } |
| 8294 | 8296 | .editor-start-page-options__modal .block-editor-block-patterns-list { |
| @@ -8293,30 +8295,51 @@ | ||
| 8293 | 8295 | } |
| 8294 | 8296 | .editor-start-page-options__modal .block-editor-block-patterns-list { |
| 8295 | 8297 | padding-bottom: 72px; |
| 8296 | 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 | +} | |
| 8297 | 8315 | |
| 8298 | -.editor-start-page-options__modal-content .block-editor-block-patterns-list { | |
| 8299 | - -moz-column-count: 2; | |
| 8300 | - column-count: 2; | |
| 8301 | - -moz-column-gap: 24px; | |
| 8302 | - column-gap: 24px; | |
| 8316 | +.editor-start-page-options__modal-content { | |
| 8317 | + container-type: inline-size; | |
| 8303 | 8318 | } |
| 8319 | + | |
| 8304 | 8320 | @media (min-width: 782px) { |
| 8305 | - .editor-start-page-options__modal-content .block-editor-block-patterns-list { | |
| 8306 | - -moz-column-count: 3; | |
| 8307 | - column-count: 3; | |
| 8321 | + .editor-start-page-options__modal-content.has-pattern-categories { | |
| 8322 | + margin-right: 280px; | |
| 8308 | 8323 | } |
| 8309 | 8324 | } |
| 8310 | -@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) { | |
| 8311 | 8336 | .editor-start-page-options__modal-content .block-editor-block-patterns-list { |
| 8312 | - -moz-column-count: 4; | |
| 8313 | - column-count: 4; | |
| 8337 | + columns: 4 220px; | |
| 8314 | 8338 | } |
| 8315 | 8339 | } |
| 8316 | 8340 | .editor-start-page-options__modal-content .block-editor-block-patterns-list .block-editor-block-patterns-list__list-item { |
| 8317 | - -moz-column-break-inside: avoid; | |
| 8318 | - break-inside: avoid-column; | |
| 8341 | + break-inside: avoid-column; | |
| 8319 | 8342 | margin-bottom: 24px; |
| 8320 | 8343 | } |
| 8321 | 8344 | .editor-start-page-options__modal-content .block-editor-block-patterns-list .block-editor-block-patterns-list__list-item .block-editor-block-preview__container { |
| 8322 | 8345 | min-height: 100px; |
| @@ -8330,12 +8353,12 @@ | ||
| 8330 | 8353 | bottom: 0; |
| 8331 | 8354 | width: 100%; |
| 8332 | 8355 | height: 92px; |
| 8333 | 8356 | background-color: #fff; |
| 8334 | - margin-right: -32px; | |
| 8335 | - margin-left: -32px; | |
| 8336 | - padding-right: 32px; | |
| 8337 | - padding-left: 32px; | |
| 8357 | + margin-right: -24px; | |
| 8358 | + margin-left: -24px; | |
| 8359 | + padding-right: 24px; | |
| 8360 | + padding-left: 24px; | |
| 8338 | 8361 | border-top: 1px solid #ddd; |
| 8339 | 8362 | z-index: 1; |
| 8340 | 8363 | } |
| 8341 | 8364 | .editor-start-template-options__modal .block-editor-block-patterns-list { |
| @@ -8342,28 +8365,18 @@ | ||
| 8342 | 8365 | padding-bottom: 92px; |
| 8343 | 8366 | } |
| 8344 | 8367 | |
| 8345 | 8368 | .editor-start-template-options__modal-content .block-editor-block-patterns-list { |
| 8346 | - -moz-column-count: 2; | |
| 8347 | - column-count: 2; | |
| 8348 | - -moz-column-gap: 24px; | |
| 8349 | - column-gap: 24px; | |
| 8369 | + column-count: 2; | |
| 8370 | + column-gap: 24px; | |
| 8350 | 8371 | } |
| 8351 | 8372 | @media (min-width: 782px) { |
| 8352 | 8373 | .editor-start-template-options__modal-content .block-editor-block-patterns-list { |
| 8353 | - -moz-column-count: 3; | |
| 8354 | - column-count: 3; | |
| 8374 | + columns: 4 220px; | |
| 8355 | 8375 | } |
| 8356 | 8376 | } |
| 8357 | -@media (min-width: 1280px) { | |
| 8358 | - .editor-start-template-options__modal-content .block-editor-block-patterns-list { | |
| 8359 | - -moz-column-count: 4; | |
| 8360 | - column-count: 4; | |
| 8361 | - } | |
| 8362 | -} | |
| 8363 | 8377 | .editor-start-template-options__modal-content .block-editor-block-patterns-list .block-editor-block-patterns-list__list-item { |
| 8364 | - -moz-column-break-inside: avoid; | |
| 8365 | - break-inside: avoid-column; | |
| 8378 | + break-inside: avoid-column; | |
| 8366 | 8379 | } |
| 8367 | 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 { |
| 8368 | 8381 | display: none; |
| 8369 | 8382 | } |
| @@ -8457,8 +8470,11 @@ | ||
| 8457 | 8470 | display: block; |
| 8458 | 8471 | width: 100%; |
| 8459 | 8472 | height: 100%; |
| 8460 | 8473 | } |
| 8474 | +.editor-styles-canvas.is-preview-mode { | |
| 8475 | + padding: 0; | |
| 8476 | +} | |
| 8461 | 8477 | |
| 8462 | 8478 | .editor-styles-canvas__section { |
| 8463 | 8479 | background: #fff; |
| 8464 | 8480 | bottom: 0; |
| @@ -8571,9 +8587,9 @@ | ||
| 8571 | 8587 | max-width: none; |
| 8572 | 8588 | line-height: 1.4; |
| 8573 | 8589 | font-family: Menlo, Consolas, monaco, monospace; |
| 8574 | 8590 | font-size: 2.5em; |
| 8575 | - font-weight: normal; | |
| 8591 | + font-weight: 400; | |
| 8576 | 8592 | border: 1px solid #949494; |
| 8577 | 8593 | border-radius: 0; |
| 8578 | 8594 | padding: 16px; |
| 8579 | 8595 | } |
| @@ -8657,9 +8673,11 @@ | ||
| 8657 | 8673 | .editor-visual-editor iframe[name=editor-canvas] { |
| 8658 | 8674 | background-color: transparent; |
| 8659 | 8675 | } |
| 8660 | 8676 | .editor-visual-editor { |
| 8677 | + flex-direction: column; | |
| 8661 | 8678 | align-items: center; |
| 8679 | + justify-content: center; | |
| 8662 | 8680 | } |
| 8663 | 8681 | @media (prefers-reduced-motion: no-preference) { |
| 8664 | 8682 | .editor-visual-editor { |
| 8665 | 8683 | transition: padding 0.2s ease-out; |