| @@ -68,8 +68,14 @@ | ||
| 68 | 68 | /** |
| 69 | 69 | * Focus styles. |
| 70 | 70 | */ |
| 71 | 71 | /** |
| 72 | + * Standard focus rings for the WordPress Design System. | |
| 73 | + * | |
| 74 | + * Apply `outset-ring__focus` inside the relevant pseudo-class at the call site, | |
| 75 | + * e.g. `&:focus { @include outset-ring__focus(); }`. | |
| 76 | + */ | |
| 77 | +/** | |
| 72 | 78 | * Applies editor left position to the selector passed as argument |
| 73 | 79 | */ |
| 74 | 80 | /** |
| 75 | 81 | * Styles that are reused verbatim in a few places |
| @@ -186,8 +192,14 @@ | ||
| 186 | 192 | /** |
| 187 | 193 | * Focus styles. |
| 188 | 194 | */ |
| 189 | 195 | /** |
| 196 | + * Standard focus rings for the WordPress Design System. | |
| 197 | + * | |
| 198 | + * Apply `outset-ring__focus` inside the relevant pseudo-class at the call site, | |
| 199 | + * e.g. `&:focus { @include outset-ring__focus(); }`. | |
| 200 | + */ | |
| 201 | +/** | |
| 190 | 202 | * Applies editor left position to the selector passed as argument |
| 191 | 203 | */ |
| 192 | 204 | /** |
| 193 | 205 | * Styles that are reused verbatim in a few places |
| @@ -210,8 +222,9 @@ | ||
| 210 | 222 | background: #fff; |
| 211 | 223 | color: #1e1e1e; |
| 212 | 224 | height: 100%; |
| 213 | 225 | overflow: auto; |
| 226 | + width: 100vw; | |
| 214 | 227 | } |
| 215 | 228 | |
| 216 | 229 | @media (min-width: 782px) { |
| 217 | 230 | .interface-complementary-area { |
| @@ -239,9 +252,9 @@ | ||
| 239 | 252 | } |
| 240 | 253 | |
| 241 | 254 | .interface-complementary-area h2 { |
| 242 | 255 | font-size: 13px; |
| 243 | - font-weight: 499; | |
| 256 | + font-weight: var(--wpds-typography-font-weight-emphasis, 600); | |
| 244 | 257 | color: #1e1e1e; |
| 245 | 258 | margin-bottom: 1.5em; |
| 246 | 259 | } |
| 247 | 260 | |
| @@ -247,9 +260,9 @@ | ||
| 247 | 260 | |
| 248 | 261 | .interface-complementary-area h3 { |
| 249 | 262 | font-size: 11px; |
| 250 | 263 | text-transform: uppercase; |
| 251 | - font-weight: 499; | |
| 264 | + font-weight: var(--wpds-typography-font-weight-emphasis, 600); | |
| 252 | 265 | color: #1e1e1e; |
| 253 | 266 | margin-bottom: 1.5em; |
| 254 | 267 | } |
| 255 | 268 | |
| @@ -281,14 +294,9 @@ | ||
| 281 | 294 | height: 100%; |
| 282 | 295 | } |
| 283 | 296 | |
| 284 | 297 | @media (min-width: 782px) { |
| 285 | - body.js.is-fullscreen-mode { | |
| 286 | - margin-top: -32px; | |
| 287 | - height: calc(100% + 32px); | |
| 288 | - } | |
| 289 | - body.js.is-fullscreen-mode #adminmenumain, | |
| 290 | - body.js.is-fullscreen-mode #wpadminbar { | |
| 298 | + body.js.is-fullscreen-mode #adminmenumain { | |
| 291 | 299 | display: none; |
| 292 | 300 | } |
| 293 | 301 | body.js.is-fullscreen-mode #wpcontent, |
| 294 | 302 | body.js.is-fullscreen-mode #wpfooter { |
| @@ -322,9 +330,9 @@ | ||
| 322 | 330 | .interface-interface-skeleton { |
| 323 | 331 | top: 32px; |
| 324 | 332 | } |
| 325 | 333 | .is-fullscreen-mode .interface-interface-skeleton { |
| 326 | - top: 0; | |
| 334 | + top: var(--wp-admin--admin-bar--height, 0); | |
| 327 | 335 | } |
| 328 | 336 | } |
| 329 | 337 | .interface-interface-skeleton__editor { |
| 330 | 338 | display: flex; |
| @@ -377,9 +385,9 @@ | ||
| 377 | 385 | } |
| 378 | 386 | |
| 379 | 387 | @media (min-width: 782px) { |
| 380 | 388 | .has-footer .interface-interface-skeleton__body { |
| 381 | - padding-bottom: 25px; | |
| 389 | + padding-bottom: calc(var(--wpds-dimension-size-md, 32px) + 1px); | |
| 382 | 390 | } |
| 383 | 391 | } |
| 384 | 392 | .interface-interface-skeleton__content { |
| 385 | 393 | flex-grow: 1; |
| @@ -466,9 +474,9 @@ | ||
| 466 | 474 | .interface-interface-skeleton__footer .block-editor-block-breadcrumb { |
| 467 | 475 | z-index: 30; |
| 468 | 476 | display: flex; |
| 469 | 477 | background: #fff; |
| 470 | - height: 24px; | |
| 478 | + height: var(--wpds-dimension-size-md, 32px); | |
| 471 | 479 | align-items: center; |
| 472 | 480 | font-size: 13px; |
| 473 | 481 | padding: 0 18px; |
| 474 | 482 | } |
| @@ -504,9 +512,9 @@ | ||
| 504 | 512 | border-right: 1px solid #ddd; |
| 505 | 513 | top: 32px; |
| 506 | 514 | } |
| 507 | 515 | .is-fullscreen-mode .is-entity-save-view-open .interface-interface-skeleton__actions:focus, .is-fullscreen-mode .is-entity-save-view-open .interface-interface-skeleton__actions:focus-within { |
| 508 | - top: 0; | |
| 516 | + top: var(--wp-admin--admin-bar--height, 0); | |
| 509 | 517 | } |
| 510 | 518 | } |
| 511 | 519 | .interface-pinned-items { |
| 512 | 520 | display: flex; |
| @@ -604,8 +612,14 @@ | ||
| 604 | 612 | /** |
| 605 | 613 | * Focus styles. |
| 606 | 614 | */ |
| 607 | 615 | /** |
| 616 | + * Standard focus rings for the WordPress Design System. | |
| 617 | + * | |
| 618 | + * Apply `outset-ring__focus` inside the relevant pseudo-class at the call site, | |
| 619 | + * e.g. `&:focus { @include outset-ring__focus(); }`. | |
| 620 | + */ | |
| 621 | +/** | |
| 608 | 622 | * Applies editor left position to the selector passed as argument |
| 609 | 623 | */ |
| 610 | 624 | /** |
| 611 | 625 | * Styles that are reused verbatim in a few places |
| @@ -639,9 +653,9 @@ | ||
| 639 | 653 | } |
| 640 | 654 | |
| 641 | 655 | .font-library-modal .font-library__subtitle { |
| 642 | 656 | text-transform: uppercase; |
| 643 | - font-weight: 499; | |
| 657 | + font-weight: var(--wpds-typography-font-weight-emphasis, 600); | |
| 644 | 658 | font-size: 11px; |
| 645 | 659 | } |
| 646 | 660 | |
| 647 | 661 | .font-library-modal__tab-panel { |
| @@ -679,9 +693,9 @@ | ||
| 679 | 693 | .font-library__footer { |
| 680 | 694 | position: absolute; |
| 681 | 695 | width: 100%; |
| 682 | 696 | bottom: 0; |
| 683 | - border-top: 1px solid #ddd; | |
| 697 | + border-top: 1px solid var(--wpds-color-stroke-surface-neutral, #dbdbdb); | |
| 684 | 698 | padding: 24px; |
| 685 | 699 | background-color: #fff; |
| 686 | 700 | box-sizing: border-box; |
| 687 | 701 | flex-grow: 0 !important; |
| @@ -690,22 +704,26 @@ | ||
| 690 | 704 | } |
| 691 | 705 | |
| 692 | 706 | .font-library__page-selection { |
| 693 | 707 | font-size: 11px; |
| 694 | - font-weight: 499; | |
| 708 | + font-weight: var(--wpds-typography-font-weight-emphasis, 600); | |
| 695 | 709 | text-transform: uppercase; |
| 696 | 710 | } |
| 697 | 711 | |
| 698 | 712 | @media (min-width: 600px) { |
| 699 | - .font-library__page-selection .font-library__page-selection-trigger { | |
| 713 | + .font-library__page-selection .components-select-control__input { | |
| 700 | 714 | font-size: 11px !important; |
| 701 | - font-weight: 499; | |
| 715 | + font-weight: var(--wpds-typography-font-weight-emphasis, 600); | |
| 702 | 716 | } |
| 703 | 717 | } |
| 718 | +.font-library__search { | |
| 719 | + width: 240px; | |
| 720 | +} | |
| 721 | + | |
| 704 | 722 | .font-library__fonts-title { |
| 705 | 723 | text-transform: uppercase; |
| 706 | 724 | font-size: 11px; |
| 707 | - font-weight: 600; | |
| 725 | + font-weight: var(--wpds-typography-font-weight-emphasis, 600); | |
| 708 | 726 | margin-top: 0; |
| 709 | 727 | margin-bottom: 0; |
| 710 | 728 | } |
| 711 | 729 | |
| @@ -719,11 +737,15 @@ | ||
| 719 | 737 | .font-library__fonts-list-item { |
| 720 | 738 | margin-bottom: 0; |
| 721 | 739 | } |
| 722 | 740 | |
| 741 | +.font-library__font-demo { | |
| 742 | + position: relative; | |
| 743 | +} | |
| 744 | + | |
| 723 | 745 | .font-library__font-card { |
| 724 | 746 | box-sizing: border-box; |
| 725 | - border: 1px solid #ddd; | |
| 747 | + border: 1px solid var(--wpds-color-stroke-surface-neutral, #dbdbdb); | |
| 726 | 748 | width: 100%; |
| 727 | 749 | height: auto !important; |
| 728 | 750 | padding: 16px; |
| 729 | 751 | margin-top: -1px; /* To collapse the margin with the previous element */ |
| @@ -737,13 +759,13 @@ | ||
| 737 | 759 | position: relative; |
| 738 | 760 | } |
| 739 | 761 | |
| 740 | 762 | .font-library__font-card .font-library__font-card__name { |
| 741 | - font-weight: bold; | |
| 763 | + font-weight: 700; | |
| 742 | 764 | } |
| 743 | 765 | |
| 744 | 766 | .font-library__font-card .font-library__font-card__count { |
| 745 | - color: #757575; | |
| 767 | + color: var(--wpds-color-foreground-content-neutral-weak, #707070); | |
| 746 | 768 | } |
| 747 | 769 | |
| 748 | 770 | .font-library__font-card .font-library__font-variant_demo-image { |
| 749 | 771 | display: block; |
| @@ -750,8 +772,25 @@ | ||
| 750 | 772 | height: 24px; |
| 751 | 773 | width: auto; |
| 752 | 774 | } |
| 753 | 775 | |
| 776 | +@media not (prefers-reduced-motion) { | |
| 777 | + .font-library__font-card .font-library__font-variant_demo-image { | |
| 778 | + transition: opacity var(--wpds-motion-duration-lg, 300ms) var(--wpds-motion-easing-subtle, cubic-bezier(0.15, 0, 0.15, 1)); | |
| 779 | + } | |
| 780 | +} | |
| 781 | +.font-library__font-card .font-library__font-variant_demo-image.is-loading { | |
| 782 | + position: absolute; | |
| 783 | + top: 0; | |
| 784 | + right: 0; | |
| 785 | + opacity: 0; | |
| 786 | +} | |
| 787 | + | |
| 788 | +.font-library__font-card .font-library__font-variant-demo-skeleton { | |
| 789 | + height: 24px; | |
| 790 | + border-radius: var(--wpds-border-radius-sm, 2px); | |
| 791 | +} | |
| 792 | + | |
| 754 | 793 | .font-library__font-card .font-library__font-variant_demo-text { |
| 755 | 794 | white-space: nowrap; |
| 756 | 795 | flex-shrink: 0; |
| 757 | 796 | } |
| @@ -763,9 +802,9 @@ | ||
| 763 | 802 | } |
| 764 | 803 | .font-library-modal__tablist-container { |
| 765 | 804 | position: sticky; |
| 766 | 805 | top: 0; |
| 767 | - border-bottom: 1px solid #ddd; | |
| 806 | + border-bottom: 1px solid var(--wpds-color-stroke-surface-neutral, #dbdbdb); | |
| 768 | 807 | background: #fff; |
| 769 | 808 | z-index: 1; |
| 770 | 809 | } |
| 771 | 810 | |
| @@ -786,9 +825,9 @@ | ||
| 786 | 825 | width: 80%; |
| 787 | 826 | } |
| 788 | 827 | |
| 789 | 828 | .font-library__local-fonts .font-library__upload-area__text { |
| 790 | - color: #757575; | |
| 829 | + color: var(--wpds-color-foreground-content-neutral-weak, #707070); | |
| 791 | 830 | } |
| 792 | 831 | |
| 793 | 832 | .font-library__google-fonts-confirm { |
| 794 | 833 | display: flex; |
| @@ -823,113 +862,22 @@ | ||
| 823 | 862 | .font-library__select-all .components-checkbox-control__label { |
| 824 | 863 | padding-right: 16px; |
| 825 | 864 | } |
| 826 | 865 | |
| 827 | -.global-styles-ui-pagination .components-button.is-tertiary { | |
| 828 | - width: 32px; | |
| 829 | - height: 32px; | |
| 830 | - justify-content: center; | |
| 831 | -} | |
| 832 | - | |
| 833 | -.global-styles-ui-screen-revisions__revisions-list { | |
| 834 | - list-style: none; | |
| 835 | - margin: 0 16px 16px 16px; | |
| 836 | - flex-grow: 1; | |
| 837 | -} | |
| 838 | - | |
| 839 | -.global-styles-ui-screen-revisions__revisions-list li { | |
| 840 | - margin-bottom: 0; | |
| 841 | -} | |
| 842 | - | |
| 843 | -.global-styles-ui-screen-revisions__revision-item { | |
| 844 | - position: relative; | |
| 845 | - cursor: var(--wpds-cursor-control, pointer); | |
| 866 | +.global-styles-ui-screen-revisions { | |
| 846 | 867 | display: flex; |
| 847 | 868 | flex-direction: column; |
| 869 | + flex-grow: 1; | |
| 870 | + min-height: 0; | |
| 848 | 871 | } |
| 849 | 872 | |
| 850 | -.global-styles-ui-screen-revisions__revision-item[role=option]:active, .global-styles-ui-screen-revisions__revision-item[role=option]:focus { | |
| 851 | - box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color); | |
| 852 | - outline: 2px solid transparent; | |
| 873 | +.global-styles-ui-screen-revisions__actions { | |
| 874 | + margin-inline-start: auto; | |
| 853 | 875 | } |
| 854 | 876 | |
| 855 | -.global-styles-ui-screen-revisions__revision-item:hover { | |
| 856 | - background: rgba(var(--wp-admin-theme-color--rgb), 0.04); | |
| 857 | -} | |
| 858 | - | |
| 859 | -.global-styles-ui-screen-revisions__revision-item:hover .global-styles-ui-screen-revisions__date { | |
| 860 | - color: var(--wp-admin-theme-color); | |
| 861 | -} | |
| 862 | - | |
| 863 | -.global-styles-ui-screen-revisions__revision-item::before, .global-styles-ui-screen-revisions__revision-item::after { | |
| 864 | - position: absolute; | |
| 865 | - content: "\a"; | |
| 866 | - display: block; | |
| 867 | -} | |
| 868 | - | |
| 869 | -.global-styles-ui-screen-revisions__revision-item::before { | |
| 870 | - background: #ddd; | |
| 871 | - border-radius: 50%; | |
| 872 | - height: 8px; | |
| 873 | - width: 8px; | |
| 874 | - top: 18px; | |
| 875 | - right: 17px; | |
| 876 | - transform: translate(50%, -50%); | |
| 877 | - z-index: 1; | |
| 878 | - border: 4px solid transparent; | |
| 879 | -} | |
| 880 | - | |
| 881 | -.global-styles-ui-screen-revisions__revision-item[aria-selected=true] { | |
| 882 | - border-radius: 2px; | |
| 883 | - outline: 3px solid transparent; | |
| 884 | - outline-offset: -2px; | |
| 885 | - color: var(--wp-admin-theme-color); | |
| 886 | - background: rgba(var(--wp-admin-theme-color--rgb), 0.04); | |
| 887 | -} | |
| 888 | - | |
| 889 | -.global-styles-ui-screen-revisions__revision-item[aria-selected=true] .global-styles-ui-screen-revisions__date { | |
| 890 | - color: var(--wp-admin-theme-color); | |
| 891 | -} | |
| 892 | - | |
| 893 | -.global-styles-ui-screen-revisions__revision-item[aria-selected=true]::before { | |
| 894 | - background: var(--wp-admin-theme-color); | |
| 895 | -} | |
| 896 | - | |
| 897 | -.global-styles-ui-screen-revisions__revision-item[aria-selected=true] .global-styles-ui-screen-revisions__changes > li, | |
| 898 | -.global-styles-ui-screen-revisions__revision-item[aria-selected=true] .global-styles-ui-screen-revisions__meta { | |
| 899 | - color: #1e1e1e; | |
| 900 | -} | |
| 901 | - | |
| 902 | -.global-styles-ui-screen-revisions__revision-item::after { | |
| 903 | - height: 100%; | |
| 904 | - right: 16px; | |
| 905 | - top: 0; | |
| 906 | - width: 0; | |
| 907 | - border: 0.5px solid #ddd; | |
| 908 | -} | |
| 909 | - | |
| 910 | -.global-styles-ui-screen-revisions__revision-item:first-child::after { | |
| 911 | - top: 18px; | |
| 912 | -} | |
| 913 | - | |
| 914 | -.global-styles-ui-screen-revisions__revision-item:last-child::after { | |
| 915 | - height: 18px; | |
| 916 | -} | |
| 917 | - | |
| 918 | -.global-styles-ui-screen-revisions__revision-item-wrapper { | |
| 919 | - display: block; | |
| 920 | - padding: 12px 40px 4px 12px; | |
| 921 | -} | |
| 922 | - | |
| 923 | -.global-styles-ui-screen-revisions__apply-button.is-primary, | |
| 924 | -.global-styles-ui-screen-revisions__active-badge { | |
| 925 | - align-self: flex-start; | |
| 926 | - margin: 0 40px 12px 12px; | |
| 927 | -} | |
| 928 | - | |
| 929 | -.global-styles-ui-screen-revisions__changes, | |
| 930 | -.global-styles-ui-screen-revisions__meta { | |
| 931 | - color: #757575; | |
| 877 | +.global-styles-ui-screen-revisions__date { | |
| 878 | + text-transform: uppercase; | |
| 879 | + font-weight: var(--wpds-typography-font-weight-emphasis, 600); | |
| 932 | 880 | font-size: 12px; |
| 933 | 881 | } |
| 934 | 882 | |
| 935 | 883 | .global-styles-ui-screen-revisions__description { |
| @@ -938,11 +886,11 @@ | ||
| 938 | 886 | align-items: flex-start; |
| 939 | 887 | gap: 8px; |
| 940 | 888 | } |
| 941 | 889 | |
| 942 | -.global-styles-ui-screen-revisions__description .global-styles-ui-screen-revisions__date { | |
| 943 | - text-transform: uppercase; | |
| 944 | - font-weight: 600; | |
| 890 | +.global-styles-ui-screen-revisions__changes, | |
| 891 | +.global-styles-ui-screen-revisions__meta { | |
| 892 | + color: #2f2f2f; | |
| 945 | 893 | font-size: 12px; |
| 946 | 894 | } |
| 947 | 895 | |
| 948 | 896 | .global-styles-ui-screen-revisions__meta { |
| @@ -948,11 +896,10 @@ | ||
| 948 | 896 | .global-styles-ui-screen-revisions__meta { |
| 949 | 897 | display: flex; |
| 950 | 898 | justify-content: start; |
| 951 | 899 | width: 100%; |
| 952 | - align-items: flex-start; | |
| 900 | + align-items: center; | |
| 953 | 901 | text-align: right; |
| 954 | - margin-bottom: 4px; | |
| 955 | 902 | } |
| 956 | 903 | |
| 957 | 904 | .global-styles-ui-screen-revisions__meta img { |
| 958 | 905 | width: 16px; |
| @@ -960,16 +907,12 @@ | ||
| 960 | 907 | border-radius: 100%; |
| 961 | 908 | margin-left: 8px; |
| 962 | 909 | } |
| 963 | 910 | |
| 964 | -.global-styles-ui-screen-revisions__loading { | |
| 965 | - margin: 24px auto !important; | |
| 966 | -} | |
| 967 | - | |
| 968 | 911 | .global-styles-ui-screen-revisions__changes { |
| 969 | 912 | text-align: right; |
| 970 | 913 | line-height: 1.4; |
| 971 | - margin-right: 12px; | |
| 914 | + margin: 0 12px 0 0; | |
| 972 | 915 | list-style: disc; |
| 973 | 916 | } |
| 974 | 917 | |
| 975 | 918 | .global-styles-ui-screen-revisions__changes li { |
| @@ -975,47 +918,8 @@ | ||
| 975 | 918 | .global-styles-ui-screen-revisions__changes li { |
| 976 | 919 | margin-bottom: 4px; |
| 977 | 920 | } |
| 978 | 921 | |
| 979 | -.global-styles-ui-screen-revisions__pagination.global-styles-ui-screen-revisions__pagination { | |
| 980 | - justify-content: space-between; | |
| 981 | - gap: 2px; | |
| 982 | -} | |
| 983 | - | |
| 984 | -.global-styles-ui-screen-revisions__pagination.global-styles-ui-screen-revisions__pagination .edit-site-pagination__total { | |
| 985 | - position: absolute; | |
| 986 | - right: -1000px; | |
| 987 | - height: 1px; | |
| 988 | - margin: -1px; | |
| 989 | - overflow: hidden; | |
| 990 | -} | |
| 991 | - | |
| 992 | -.global-styles-ui-screen-revisions__pagination.global-styles-ui-screen-revisions__pagination .components-text { | |
| 993 | - font-size: 12px; | |
| 994 | - will-change: opacity; | |
| 995 | -} | |
| 996 | - | |
| 997 | -.global-styles-ui-screen-revisions__pagination.global-styles-ui-screen-revisions__pagination .components-button.is-tertiary { | |
| 998 | - color: #1e1e1e; | |
| 999 | -} | |
| 1000 | - | |
| 1001 | -.global-styles-ui-screen-revisions__pagination.global-styles-ui-screen-revisions__pagination .components-button.is-tertiary:disabled, | |
| 1002 | -.global-styles-ui-screen-revisions__pagination.global-styles-ui-screen-revisions__pagination .components-button.is-tertiary[aria-disabled=true] { | |
| 1003 | - color: #949494; | |
| 1004 | -} | |
| 1005 | - | |
| 1006 | -.global-styles-ui-screen-revisions__footer { | |
| 1007 | - height: 56px; | |
| 1008 | - z-index: 1; | |
| 1009 | - position: sticky; | |
| 1010 | - min-width: 100%; | |
| 1011 | - bottom: 0; | |
| 1012 | - background: #fff; | |
| 1013 | - padding: 12px; | |
| 1014 | - border-top: 1px solid #ddd; | |
| 1015 | - box-sizing: border-box; | |
| 1016 | -} | |
| 1017 | - | |
| 1018 | 922 | .global-styles-ui-variations_item { |
| 1019 | 923 | box-sizing: border-box; |
| 1020 | 924 | cursor: var(--wpds-cursor-control, pointer); |
| 1021 | 925 | } |
| @@ -1096,13 +1000,34 @@ | ||
| 1096 | 1000 | justify-content: center; |
| 1097 | 1001 | border-radius: 2px; |
| 1098 | 1002 | } |
| 1099 | 1003 | |
| 1004 | +.global-styles-ui-block-types-filter { | |
| 1005 | + margin-bottom: 12px; | |
| 1006 | + padding: 0 16px; | |
| 1007 | +} | |
| 1008 | + | |
| 1100 | 1009 | .global-styles-ui-block-types-search { |
| 1101 | - margin-bottom: 10px; | |
| 1102 | - padding: 0 16px; | |
| 1010 | + flex-grow: 1; | |
| 1103 | 1011 | } |
| 1104 | 1012 | |
| 1013 | +.global-styles-ui-block-types-item-list .global-styles-ui-block-types-item__icon { | |
| 1014 | + min-width: 24px; | |
| 1015 | +} | |
| 1016 | + | |
| 1017 | +.global-styles-ui-block-types-item-list__no-results { | |
| 1018 | + padding-top: 16px; | |
| 1019 | +} | |
| 1020 | + | |
| 1021 | +.global-styles-ui-block-types-item__indicator { | |
| 1022 | + background: var(--wp-admin-theme-color); | |
| 1023 | + border-radius: 50%; | |
| 1024 | + flex: none; | |
| 1025 | + height: 6px; | |
| 1026 | + margin-right: auto; | |
| 1027 | + width: 6px; | |
| 1028 | +} | |
| 1029 | + | |
| 1105 | 1030 | .global-styles-ui-screen-typography__font-variants-count { |
| 1106 | 1031 | color: #757575; |
| 1107 | 1032 | } |
| 1108 | 1033 | |
| @@ -1125,15 +1050,15 @@ | ||
| 1125 | 1050 | |
| 1126 | 1051 | .global-styles-ui-subtitle { |
| 1127 | 1052 | margin-bottom: 0 !important; |
| 1128 | 1053 | text-transform: uppercase; |
| 1129 | - font-weight: 499 !important; | |
| 1054 | + font-weight: var(--wpds-typography-font-weight-emphasis, 600) !important; | |
| 1130 | 1055 | font-size: 11px !important; |
| 1131 | 1056 | } |
| 1132 | 1057 | |
| 1133 | 1058 | .global-styles-ui-section-title { |
| 1134 | 1059 | color: #2f2f2f; |
| 1135 | - font-weight: 600; | |
| 1060 | + font-weight: var(--wpds-typography-font-weight-emphasis, 600); | |
| 1136 | 1061 | line-height: 1.2; |
| 1137 | 1062 | padding: 16px 16px 0; |
| 1138 | 1063 | margin: 0; |
| 1139 | 1064 | } |
| @@ -1144,10 +1069,20 @@ | ||
| 1144 | 1069 | |
| 1145 | 1070 | .global-styles-ui__color-indicator-wrapper { |
| 1146 | 1071 | height: 24px; |
| 1147 | 1072 | flex-shrink: 0; |
| 1073 | + display: flex; | |
| 1074 | + align-items: center; | |
| 1148 | 1075 | } |
| 1149 | 1076 | |
| 1077 | +.global-styles-ui__palette-preview { | |
| 1078 | + display: inline-flex; | |
| 1079 | +} | |
| 1080 | + | |
| 1081 | +.global-styles-ui__palette-preview > * + * { | |
| 1082 | + margin-inline-start: -8px; | |
| 1083 | +} | |
| 1084 | + | |
| 1150 | 1085 | .global-styles-ui__shadows-panel__options-container, |
| 1151 | 1086 | .global-styles-ui__typography-panel__options-container { |
| 1152 | 1087 | height: 24px; |
| 1153 | 1088 | } |
| @@ -1159,9 +1094,10 @@ | ||
| 1159 | 1094 | border-radius: 2px; |
| 1160 | 1095 | overflow: hidden; |
| 1161 | 1096 | } |
| 1162 | 1097 | |
| 1163 | -.global-styles-ui__shadow-preview-panel { | |
| 1098 | +.global-styles-ui__shadow-preview-panel, | |
| 1099 | +.global-styles-ui__text-shadow-preview-panel { | |
| 1164 | 1100 | height: 144px; |
| 1165 | 1101 | border: #ddd 1px solid; |
| 1166 | 1102 | border-radius: 2px; |
| 1167 | 1103 | overflow: auto; |
| @@ -1169,9 +1105,9 @@ | ||
| 1169 | 1105 | background-position: 0 0, 8px 8px; |
| 1170 | 1106 | background-size: 16px 16px; |
| 1171 | 1107 | } |
| 1172 | 1108 | |
| 1173 | -.global-styles-ui__shadow-preview-panel .global-styles-ui__shadow-preview-block { | |
| 1109 | +.global-styles-ui__shadow-preview-block { | |
| 1174 | 1110 | border: #ddd 1px solid; |
| 1175 | 1111 | border-radius: 2px; |
| 1176 | 1112 | background-color: #fff; |
| 1177 | 1113 | width: 60%; |
| @@ -1177,22 +1113,44 @@ | ||
| 1177 | 1113 | width: 60%; |
| 1178 | 1114 | height: 60px; |
| 1179 | 1115 | } |
| 1180 | 1116 | |
| 1181 | -.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 { | |
| 1182 | 1137 | width: 280px; |
| 1183 | 1138 | } |
| 1184 | 1139 | |
| 1185 | -.global-styles-ui__shadow-editor-panel { | |
| 1140 | +.global-styles-ui__shadow-editor-panel, | |
| 1141 | +.global-styles-ui__text-shadow-editor-panel { | |
| 1186 | 1142 | margin-bottom: 4px; |
| 1187 | 1143 | } |
| 1188 | 1144 | |
| 1189 | -.global-styles-ui__shadow-editor__dropdown { | |
| 1145 | +.global-styles-ui__shadow-editor__dropdown, | |
| 1146 | +.global-styles-ui__text-shadow-editor__dropdown { | |
| 1190 | 1147 | width: 100%; |
| 1191 | 1148 | position: relative; |
| 1192 | 1149 | } |
| 1193 | 1150 | |
| 1194 | -.global-styles-ui__shadow-editor__dropdown-toggle { | |
| 1151 | +.global-styles-ui__shadow-editor__dropdown-toggle, | |
| 1152 | +.global-styles-ui__text-shadow-editor__dropdown-toggle { | |
| 1195 | 1153 | width: 100%; |
| 1196 | 1154 | height: auto; |
| 1197 | 1155 | padding-top: 8px; |
| 1198 | 1156 | padding-bottom: 8px; |
| @@ -1199,14 +1157,16 @@ | ||
| 1199 | 1157 | text-align: right; |
| 1200 | 1158 | border-radius: inherit; |
| 1201 | 1159 | } |
| 1202 | 1160 | |
| 1203 | -.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 { | |
| 1204 | 1163 | background: #f0f0f0; |
| 1205 | 1164 | color: var(--wp-admin-theme-color); |
| 1206 | 1165 | } |
| 1207 | 1166 | |
| 1208 | -.global-styles-ui__shadow-editor__remove-button { | |
| 1167 | +.global-styles-ui__shadow-editor__remove-button, | |
| 1168 | +.global-styles-ui__text-shadow-editor__remove-button { | |
| 1209 | 1169 | position: absolute; |
| 1210 | 1170 | left: 8px; |
| 1211 | 1171 | top: 8px; |
| 1212 | 1172 | opacity: 0; |
| @@ -1211,18 +1171,19 @@ | ||
| 1211 | 1171 | top: 8px; |
| 1212 | 1172 | opacity: 0; |
| 1213 | 1173 | } |
| 1214 | 1174 | |
| 1215 | -.global-styles-ui__shadow-editor__remove-button.global-styles-ui__shadow-editor__remove-button { | |
| 1216 | - border: none; | |
| 1217 | -} | |
| 1218 | - | |
| 1219 | -.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 { | |
| 1220 | 1180 | opacity: 1; |
| 1221 | 1181 | } |
| 1222 | 1182 | |
| 1223 | 1183 | @media (hover: none) { |
| 1224 | - .global-styles-ui__shadow-editor__remove-button { | |
| 1184 | + .global-styles-ui__shadow-editor__remove-button, | |
| 1185 | + .global-styles-ui__text-shadow-editor__remove-button { | |
| 1225 | 1186 | opacity: 1; |
| 1226 | 1187 | } |
| 1227 | 1188 | } |
| 1228 | 1189 | .global-styles-ui-screen-css { |
| @@ -1275,8 +1236,16 @@ | ||
| 1275 | 1236 | flex-direction: column; |
| 1276 | 1237 | height: 100%; |
| 1277 | 1238 | } |
| 1278 | 1239 | |
| 1240 | +.global-styles-ui-color-palette__tablist-container { | |
| 1241 | + border-bottom: 1px solid #ddd; | |
| 1242 | +} | |
| 1243 | + | |
| 1244 | +.global-styles-ui-color-palette__tablist { | |
| 1245 | + margin-bottom: -1px; | |
| 1246 | +} | |
| 1247 | + | |
| 1279 | 1248 | .global-styles-ui-sidebar__navigator-screen .single-column { |
| 1280 | 1249 | grid-column: span 1; |
| 1281 | 1250 | } |
| 1282 | 1251 | |
| @@ -1298,9 +1267,10 @@ | ||
| 1298 | 1267 | clip-path: border-box; |
| 1299 | 1268 | } |
| 1300 | 1269 | |
| 1301 | 1270 | .global-styles-ui-color-palette-panel, |
| 1302 | -.global-styles-ui-gradient-palette-panel { | |
| 1271 | +.global-styles-ui-gradient-palette-panel, | |
| 1272 | +.global-styles-ui-duotone-palette-panel { | |
| 1303 | 1273 | padding: 16px; |
| 1304 | 1274 | } |
| 1305 | 1275 | |
| 1306 | 1276 | /** |
| @@ -1372,8 +1342,14 @@ | ||
| 1372 | 1342 | /** |
| 1373 | 1343 | * Focus styles. |
| 1374 | 1344 | */ |
| 1375 | 1345 | /** |
| 1346 | + * Standard focus rings for the WordPress Design System. | |
| 1347 | + * | |
| 1348 | + * Apply `outset-ring__focus` inside the relevant pseudo-class at the call site, | |
| 1349 | + * e.g. `&:focus { @include outset-ring__focus(); }`. | |
| 1350 | + */ | |
| 1351 | +/** | |
| 1376 | 1352 | * Applies editor left position to the selector passed as argument |
| 1377 | 1353 | */ |
| 1378 | 1354 | /** |
| 1379 | 1355 | * Styles that are reused verbatim in a few places |
| @@ -1398,9 +1374,8 @@ | ||
| 1398 | 1374 | flex-grow: 1; |
| 1399 | 1375 | min-height: 0; |
| 1400 | 1376 | box-sizing: border-box; |
| 1401 | 1377 | scroll-padding-bottom: 64px; |
| 1402 | - /* stylelint-disable-next-line property-no-unknown -- '@container' not globally permitted */ | |
| 1403 | 1378 | container: dataviews-wrapper/inline-size; |
| 1404 | 1379 | display: flex; |
| 1405 | 1380 | flex-direction: column; |
| 1406 | 1381 | font-size: var(--wpds-typography-font-size-md, 13px); |
| @@ -1423,8 +1398,16 @@ | ||
| 1423 | 1398 | .dataviews-filters__container { |
| 1424 | 1399 | transition: padding ease-out 0.1s; |
| 1425 | 1400 | } |
| 1426 | 1401 | } |
| 1402 | +.dataviews__search { | |
| 1403 | + flex-grow: 1; | |
| 1404 | +} | |
| 1405 | + | |
| 1406 | +.dataviews__search .dataviews-search { | |
| 1407 | + flex-basis: 210px; | |
| 1408 | +} | |
| 1409 | + | |
| 1427 | 1410 | .dataviews-no-results, |
| 1428 | 1411 | .dataviews-loading { |
| 1429 | 1412 | padding: 0 var(--wpds-dimension-padding-2xl, 24px); |
| 1430 | 1413 | flex-grow: 1; |
| @@ -1461,8 +1444,12 @@ | ||
| 1461 | 1444 | .dataviews-loading-more { |
| 1462 | 1445 | text-align: center; |
| 1463 | 1446 | } |
| 1464 | 1447 | |
| 1448 | +.dataviews-loading-more[aria-hidden=true] { | |
| 1449 | + visibility: hidden; | |
| 1450 | +} | |
| 1451 | + | |
| 1465 | 1452 | @container (max-width: 430px) { |
| 1466 | 1453 | .dataviews__view-actions, |
| 1467 | 1454 | .dataviews-filters__container { |
| 1468 | 1455 | padding: var(--wpds-dimension-padding-md, 12px) var(--wpds-dimension-padding-2xl, 24px); |
| @@ -1469,9 +1456,9 @@ | ||
| 1469 | 1456 | } |
| 1470 | 1457 | } |
| 1471 | 1458 | .dataviews-title-field { |
| 1472 | 1459 | font-size: var(--wpds-typography-font-size-md, 13px); |
| 1473 | - font-weight: var(--wpds-typography-font-weight-medium, 499); | |
| 1460 | + font-weight: var(--wpds-typography-font-weight-emphasis, 600); | |
| 1474 | 1461 | color: var(--wpds-color-foreground-content-neutral, #1e1e1e); |
| 1475 | 1462 | text-overflow: ellipsis; |
| 1476 | 1463 | white-space: nowrap; |
| 1477 | 1464 | width: 100%; |
| @@ -1615,10 +1602,10 @@ | ||
| 1615 | 1602 | } |
| 1616 | 1603 | |
| 1617 | 1604 | .dataviews-filters__summary-operators-container .dataviews-filters__summary-operators-filter-select { |
| 1618 | 1605 | width: 100%; |
| 1606 | + min-width: 0; | |
| 1619 | 1607 | white-space: nowrap; |
| 1620 | - overflow: hidden; | |
| 1621 | 1608 | } |
| 1622 | 1609 | |
| 1623 | 1610 | .dataviews-filters__summary-chip-container { |
| 1624 | 1611 | position: relative; |
| @@ -1669,9 +1656,9 @@ | ||
| 1669 | 1656 | box-shadow: 0 0 0 var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)) var(--wpds-color-stroke-focus, var(--wp-admin-theme-color, #3858e9)); |
| 1670 | 1657 | } |
| 1671 | 1658 | |
| 1672 | 1659 | .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip .dataviews-filters-__summary-filter-text-name { |
| 1673 | - font-weight: var(--wpds-typography-font-weight-medium, 499); | |
| 1660 | + font-weight: var(--wpds-typography-font-weight-emphasis, 600); | |
| 1674 | 1661 | } |
| 1675 | 1662 | |
| 1676 | 1663 | .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove { |
| 1677 | 1664 | width: var(--wpds-dimension-size-sm, 24px); |
| @@ -1690,9 +1677,9 @@ | ||
| 1690 | 1677 | cursor: var(--wpds-cursor-control, pointer); |
| 1691 | 1678 | } |
| 1692 | 1679 | |
| 1693 | 1680 | .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove svg { |
| 1694 | - fill: var(--wpds-color-foreground-interactive-neutral, #1e1e1e); | |
| 1681 | + color: var(--wpds-color-foreground-interactive-neutral, #1e1e1e); | |
| 1695 | 1682 | } |
| 1696 | 1683 | |
| 1697 | 1684 | .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove:hover, .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove:focus { |
| 1698 | 1685 | background: var(--wpds-color-background-interactive-neutral-weak-active, #ededed); |
| @@ -1698,13 +1685,13 @@ | ||
| 1698 | 1685 | background: var(--wpds-color-background-interactive-neutral-weak-active, #ededed); |
| 1699 | 1686 | } |
| 1700 | 1687 | |
| 1701 | 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 { |
| 1702 | - fill: var(--wpds-color-foreground-interactive-neutral-active, #1e1e1e); | |
| 1689 | + color: var(--wpds-color-foreground-interactive-neutral-active, #1e1e1e); | |
| 1703 | 1690 | } |
| 1704 | 1691 | |
| 1705 | 1692 | .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove.has-values svg { |
| 1706 | - 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)); | |
| 1707 | 1694 | } |
| 1708 | 1695 | |
| 1709 | 1696 | .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove.has-values:hover { |
| 1710 | 1697 | background: var(--wpds-color-background-interactive-brand-weak-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 12%, white)); |
| @@ -1722,9 +1709,9 @@ | ||
| 1722 | 1709 | border-top: 1px solid var(--wpds-color-stroke-surface-neutral, #dbdbdb); |
| 1723 | 1710 | } |
| 1724 | 1711 | |
| 1725 | 1712 | .dataviews-filters__search-widget-filter-combobox-list .dataviews-filters__search-widget-filter-combobox-item-value [data-user-value] { |
| 1726 | - font-weight: 600; | |
| 1713 | + font-weight: var(--wpds-typography-font-weight-emphasis, 600); | |
| 1727 | 1714 | } |
| 1728 | 1715 | |
| 1729 | 1716 | .dataviews-filters__search-widget-listbox { |
| 1730 | 1717 | padding: var(--wpds-dimension-padding-xs, 4px); |
| @@ -1739,12 +1726,13 @@ | ||
| 1739 | 1726 | box-sizing: border-box; |
| 1740 | 1727 | padding: var(--wpds-dimension-padding-xs, 4px) var(--wpds-dimension-padding-md, 12px); |
| 1741 | 1728 | cursor: default; |
| 1742 | 1729 | min-height: var(--wpds-dimension-size-md, 32px); |
| 1743 | - font-family: -apple-system, "system-ui", "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; | |
| 1744 | - font-weight: 400; | |
| 1730 | + font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; | |
| 1731 | + font-weight: var(--wpds-typography-font-weight-default, 400); | |
| 1745 | 1732 | font-size: 13px; |
| 1746 | 1733 | line-height: 20px; |
| 1734 | + color: var(--wpds-color-foreground-interactive-neutral, #1e1e1e); | |
| 1747 | 1735 | } |
| 1748 | 1736 | |
| 1749 | 1737 | .dataviews-filters__search-widget-listitem:last-child { |
| 1750 | 1738 | margin-block-end: 0; |
| @@ -1751,8 +1739,9 @@ | ||
| 1751 | 1739 | } |
| 1752 | 1740 | |
| 1753 | 1741 | .dataviews-filters__search-widget-listitem:hover, .dataviews-filters__search-widget-listitem[data-active-item], .dataviews-filters__search-widget-listitem:focus { |
| 1754 | 1742 | background-color: var(--wpds-color-background-interactive-brand-weak-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 12%, white)); |
| 1743 | + color: var(--wpds-color-foreground-interactive-neutral-active, #1e1e1e); | |
| 1755 | 1744 | } |
| 1756 | 1745 | |
| 1757 | 1746 | .dataviews-filters__search-widget-listitem:hover .dataviews-filters__search-widget-listitem-single-selection, .dataviews-filters__search-widget-listitem[data-active-item] .dataviews-filters__search-widget-listitem-single-selection, .dataviews-filters__search-widget-listitem:focus .dataviews-filters__search-widget-listitem-single-selection { |
| 1758 | 1747 | border-color: var(--wpds-color-stroke-interactive-brand-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 85%, black)); |
| @@ -1764,10 +1753,11 @@ | ||
| 1764 | 1753 | background: var(--wpds-color-background-interactive-brand-strong-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 93%, black)); |
| 1765 | 1754 | } |
| 1766 | 1755 | |
| 1767 | 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)); | |
| 1768 | 1759 | border-color: var(--wpds-color-stroke-interactive-brand-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 85%, black)); |
| 1769 | - background: var(--wpds-color-background-surface-neutral-strong, #fff); | |
| 1770 | 1760 | } |
| 1771 | 1761 | |
| 1772 | 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 { |
| 1773 | 1763 | border-color: var(--wpds-color-stroke-interactive-brand-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 85%, black)); |
| @@ -1773,8 +1763,12 @@ | ||
| 1773 | 1763 | border-color: var(--wpds-color-stroke-interactive-brand-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 85%, black)); |
| 1774 | 1764 | background: var(--wpds-color-background-interactive-brand-strong-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 93%, black)); |
| 1775 | 1765 | } |
| 1776 | 1766 | |
| 1767 | +.dataviews-filters__search-widget-listitem:hover .dataviews-filters__search-widget-listitem-description, .dataviews-filters__search-widget-listitem[data-active-item] .dataviews-filters__search-widget-listitem-description, .dataviews-filters__search-widget-listitem:focus .dataviews-filters__search-widget-listitem-description { | |
| 1768 | + color: var(--wpds-color-foreground-interactive-neutral-weak-active, #1e1e1e); | |
| 1769 | +} | |
| 1770 | + | |
| 1777 | 1771 | .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-value { |
| 1778 | 1772 | overflow: hidden; |
| 1779 | 1773 | text-overflow: ellipsis; |
| 1780 | 1774 | white-space: nowrap; |
| @@ -1786,9 +1780,9 @@ | ||
| 1786 | 1780 | overflow: hidden; |
| 1787 | 1781 | text-overflow: ellipsis; |
| 1788 | 1782 | font-size: var(--wpds-typography-font-size-sm, 12px); |
| 1789 | 1783 | line-height: 16px; |
| 1790 | - color: var(--wpds-color-foreground-content-neutral-weak, #707070); | |
| 1784 | + color: var(--wpds-color-foreground-interactive-neutral-weak, #707070); | |
| 1791 | 1785 | } |
| 1792 | 1786 | |
| 1793 | 1787 | .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-single-selection { |
| 1794 | 1788 | border: 1px solid #1e1e1e; |
| @@ -1877,28 +1871,22 @@ | ||
| 1877 | 1871 | } |
| 1878 | 1872 | .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection { |
| 1879 | 1873 | --checkbox-size: 24px; |
| 1880 | 1874 | flex-shrink: 0; |
| 1881 | - border: 1px solid #1e1e1e; | |
| 1875 | + border: var(--wpds-border-width-xs, 1px) solid var(--wpds-color-stroke-interactive-neutral, #8d8d8d); | |
| 1882 | 1876 | margin-left: 12px; |
| 1883 | 1877 | transition: none; |
| 1884 | 1878 | border-radius: 2px; |
| 1885 | - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; | |
| 1879 | + font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; | |
| 1886 | 1880 | padding: 6px 8px; |
| 1887 | 1881 | /* Fonts smaller than 16px causes mobile safari to zoom. */ |
| 1888 | 1882 | font-size: 16px; |
| 1889 | 1883 | /* Override core line-height. To be reviewed. */ |
| 1890 | 1884 | line-height: normal; |
| 1891 | - box-shadow: 0 0 0 transparent; | |
| 1892 | - border-radius: 2px; | |
| 1893 | - 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); | |
| 1894 | 1887 | } |
| 1895 | 1888 | |
| 1896 | -@media not (prefers-reduced-motion) { | |
| 1897 | - .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection { | |
| 1898 | - transition: box-shadow 0.1s linear; | |
| 1899 | - } | |
| 1900 | -} | |
| 1901 | 1889 | @media (min-width: 600px) { |
| 1902 | 1890 | .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection { |
| 1903 | 1891 | font-size: 13px; |
| 1904 | 1892 | /* Override core line-height. To be reviewed. */ |
| @@ -1904,20 +1892,25 @@ | ||
| 1904 | 1892 | /* Override core line-height. To be reviewed. */ |
| 1905 | 1893 | line-height: normal; |
| 1906 | 1894 | } |
| 1907 | 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 | + | |
| 1908 | 1900 | .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection:focus { |
| 1909 | - border-color: var(--wp-admin-theme-color); | |
| 1910 | - box-shadow: 0 0 0 0.5px var(--wp-admin-theme-color); | |
| 1911 | - 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; | |
| 1912 | 1905 | } |
| 1913 | 1906 | |
| 1914 | -.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 { | |
| 1915 | 1908 | color: rgba(30, 30, 30, 0.62); |
| 1916 | 1909 | } |
| 1917 | 1910 | |
| 1918 | -.dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection::placeholder { | |
| 1919 | - 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); | |
| 1920 | 1913 | } |
| 1921 | 1914 | |
| 1922 | 1915 | .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection:focus { |
| 1923 | 1916 | box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--wp-admin-theme-color); |
| @@ -1950,9 +1943,9 @@ | ||
| 1950 | 1943 | display: inline-block; |
| 1951 | 1944 | vertical-align: middle; |
| 1952 | 1945 | width: 16px; |
| 1953 | 1946 | /* stylelint-disable-next-line font-family-no-missing-generic-family-keyword -- dashicons don't need a generic family keyword. */ |
| 1954 | - font: normal 30px/1 dashicons; | |
| 1947 | + font: 400 30px/1 dashicons; | |
| 1955 | 1948 | speak: none; |
| 1956 | 1949 | -webkit-font-smoothing: antialiased; |
| 1957 | 1950 | -moz-osx-font-smoothing: grayscale; |
| 1958 | 1951 | } |
| @@ -1963,17 +1956,23 @@ | ||
| 1963 | 1956 | font-size: 21px; |
| 1964 | 1957 | } |
| 1965 | 1958 | } |
| 1966 | 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 { |
| 1967 | - background: #f0f0f0; | |
| 1968 | - 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); | |
| 1969 | 1963 | cursor: default; |
| 1970 | 1964 | opacity: 1; |
| 1971 | 1965 | } |
| 1972 | 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 | + | |
| 1973 | 1971 | .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection { |
| 1974 | 1972 | position: relative; |
| 1975 | - 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)); | |
| 1976 | 1975 | color: var(--wpds-color-foreground-content-neutral, #1e1e1e); |
| 1977 | 1976 | margin: 0; |
| 1978 | 1977 | padding: 0; |
| 1979 | 1978 | width: var(--checkbox-size); |
| @@ -1996,9 +1995,9 @@ | ||
| 1996 | 1995 | } |
| 1997 | 1996 | |
| 1998 | 1997 | .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection.is-selected svg { |
| 1999 | 1998 | --checkmark-size: var(--checkbox-size); |
| 2000 | - fill: var(--wpds-color-foreground-interactive-neutral-strong, #f0f0f0); | |
| 1999 | + color: var(--wpds-color-foreground-interactive-neutral-strong, #f0f0f0); | |
| 2001 | 2000 | position: absolute; |
| 2002 | 2001 | right: 50%; |
| 2003 | 2002 | top: 50%; |
| 2004 | 2003 | transform: translate(50%, -50%); |
| @@ -2016,24 +2015,18 @@ | ||
| 2016 | 2015 | padding: var(--wpds-dimension-padding-sm, 8px); |
| 2017 | 2016 | } |
| 2018 | 2017 | |
| 2019 | 2018 | .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input { |
| 2020 | - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; | |
| 2019 | + font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; | |
| 2021 | 2020 | padding: 6px 8px; |
| 2022 | 2021 | /* Fonts smaller than 16px causes mobile safari to zoom. */ |
| 2023 | 2022 | font-size: 16px; |
| 2024 | 2023 | /* Override core line-height. To be reviewed. */ |
| 2025 | 2024 | line-height: normal; |
| 2026 | - box-shadow: 0 0 0 transparent; | |
| 2027 | - border-radius: 2px; | |
| 2028 | - 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); | |
| 2029 | 2027 | } |
| 2030 | 2028 | |
| 2031 | -@media not (prefers-reduced-motion) { | |
| 2032 | - .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input { | |
| 2033 | - transition: box-shadow 0.1s linear; | |
| 2034 | - } | |
| 2035 | -} | |
| 2036 | 2029 | @media (min-width: 600px) { |
| 2037 | 2030 | .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input { |
| 2038 | 2031 | font-size: 13px; |
| 2039 | 2032 | /* Override core line-height. To be reviewed. */ |
| @@ -2039,16 +2032,17 @@ | ||
| 2039 | 2032 | /* Override core line-height. To be reviewed. */ |
| 2040 | 2033 | line-height: normal; |
| 2041 | 2034 | } |
| 2042 | 2035 | } |
| 2043 | -.dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input:focus { | |
| 2044 | - border-color: var(--wp-admin-theme-color); | |
| 2045 | - box-shadow: 0 0 0 0.5px var(--wp-admin-theme-color); | |
| 2046 | - 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); | |
| 2047 | 2038 | } |
| 2048 | 2039 | |
| 2049 | -.dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input::-moz-placeholder { | |
| 2050 | - 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; | |
| 2051 | 2045 | } |
| 2052 | 2046 | |
| 2053 | 2047 | .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input::placeholder { |
| 2054 | 2048 | color: rgba(30, 30, 30, 0.62); |
| @@ -2071,15 +2065,10 @@ | ||
| 2071 | 2065 | } |
| 2072 | 2066 | } |
| 2073 | 2067 | .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input:focus { |
| 2074 | 2068 | background: var(--wpds-color-background-surface-neutral-strong, #fff); |
| 2075 | - 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)); | |
| 2076 | 2069 | } |
| 2077 | 2070 | |
| 2078 | -.dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input::-moz-placeholder { | |
| 2079 | - color: var(--wpds-color-foreground-content-neutral-weak, #707070); | |
| 2080 | -} | |
| 2081 | - | |
| 2082 | 2071 | .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input::placeholder { |
| 2083 | 2072 | color: var(--wpds-color-foreground-content-neutral-weak, #707070); |
| 2084 | 2073 | } |
| 2085 | 2074 | |
| @@ -2124,13 +2113,8 @@ | ||
| 2124 | 2113 | color: var(--wpds-color-foreground-interactive-neutral-strong, #f0f0f0); |
| 2125 | 2114 | box-sizing: border-box; |
| 2126 | 2115 | } |
| 2127 | 2116 | |
| 2128 | -.dataviews-search { | |
| 2129 | - width: -moz-fit-content; | |
| 2130 | - width: fit-content; | |
| 2131 | -} | |
| 2132 | - | |
| 2133 | 2117 | .dataviews-filters__user-input-widget { |
| 2134 | 2118 | padding: var(--wpds-dimension-padding-lg, 16px); |
| 2135 | 2119 | } |
| 2136 | 2120 | |
| @@ -2191,9 +2175,9 @@ | ||
| 2191 | 2175 | } |
| 2192 | 2176 | } |
| 2193 | 2177 | .dataviews-pagination__page-select { |
| 2194 | 2178 | font-size: 11px; |
| 2195 | - font-weight: var(--wpds-typography-font-weight-medium, 499); | |
| 2179 | + font-weight: var(--wpds-typography-font-weight-emphasis, 600); | |
| 2196 | 2180 | text-transform: uppercase; |
| 2197 | 2181 | } |
| 2198 | 2182 | |
| 2199 | 2183 | @media (min-width: 600px) { |
| @@ -2198,9 +2182,9 @@ | ||
| 2198 | 2182 | |
| 2199 | 2183 | @media (min-width: 600px) { |
| 2200 | 2184 | .dataviews-pagination__page-select .components-select-control__input { |
| 2201 | 2185 | font-size: 11px !important; |
| 2202 | - font-weight: var(--wpds-typography-font-weight-medium, 499); | |
| 2186 | + font-weight: var(--wpds-typography-font-weight-emphasis, 600); | |
| 2203 | 2187 | } |
| 2204 | 2188 | } |
| 2205 | 2189 | .dataviews-action-modal { |
| 2206 | 2190 | z-index: 1000001; |
| @@ -2229,9 +2213,8 @@ | ||
| 2229 | 2213 | } |
| 2230 | 2214 | |
| 2231 | 2215 | .dataviews-view-config { |
| 2232 | 2216 | width: 320px; |
| 2233 | - /* stylelint-disable-next-line property-no-unknown -- the linter needs to be updated to accepted the container-type property */ | |
| 2234 | 2217 | container-type: inline-size; |
| 2235 | 2218 | font-size: var(--wpds-typography-font-size-md, 13px); |
| 2236 | 2219 | line-height: var(--wpds-typography-line-height-sm, 20px); |
| 2237 | 2220 | } |
| @@ -2408,9 +2391,8 @@ | ||
| 2408 | 2391 | } |
| 2409 | 2392 | |
| 2410 | 2393 | .dataviews-view-grid .dataviews-view-grid__card .dataviews-view-grid__title-field--clickable, |
| 2411 | 2394 | .dataviews-view-grid-infinite-scroll .dataviews-view-grid__card .dataviews-view-grid__title-field--clickable { |
| 2412 | - width: -moz-fit-content; | |
| 2413 | 2395 | width: fit-content; |
| 2414 | 2396 | } |
| 2415 | 2397 | |
| 2416 | 2398 | .dataviews-view-grid .dataviews-view-grid__card.is-selected .dataviews-view-grid__fields .dataviews-view-grid__field .dataviews-view-grid__field-value, |
| @@ -2430,9 +2412,9 @@ | ||
| 2430 | 2412 | |
| 2431 | 2413 | .dataviews-view-grid .dataviews-view-grid__media, |
| 2432 | 2414 | .dataviews-view-grid-infinite-scroll .dataviews-view-grid__media { |
| 2433 | 2415 | width: 100%; |
| 2434 | - aspect-ratio: 1/1; | |
| 2416 | + aspect-ratio: var(--wp-dataviews-media-aspect-ratio, 1/1); | |
| 2435 | 2417 | background-color: var(--wpds-color-background-surface-neutral-strong, #fff); |
| 2436 | 2418 | border-radius: var(--wpds-border-radius-md, 4px); |
| 2437 | 2419 | overflow: hidden; |
| 2438 | 2420 | position: relative; |
| @@ -2444,9 +2426,8 @@ | ||
| 2444 | 2426 | } |
| 2445 | 2427 | |
| 2446 | 2428 | .dataviews-view-grid .dataviews-view-grid__media img, |
| 2447 | 2429 | .dataviews-view-grid-infinite-scroll .dataviews-view-grid__media img { |
| 2448 | - -o-object-fit: cover; | |
| 2449 | 2430 | object-fit: cover; |
| 2450 | 2431 | width: 100%; |
| 2451 | 2432 | height: 100%; |
| 2452 | 2433 | } |
| @@ -2473,8 +2454,18 @@ | ||
| 2473 | 2454 | box-shadow: none; |
| 2474 | 2455 | background: var(--wpds-color-background-surface-neutral, #fcfcfc); |
| 2475 | 2456 | } |
| 2476 | 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 | + | |
| 2477 | 2468 | .dataviews-view-grid .dataviews-view-grid__fields, |
| 2478 | 2469 | .dataviews-view-grid-infinite-scroll .dataviews-view-grid__fields { |
| 2479 | 2470 | position: relative; |
| 2480 | 2471 | font-size: 12px; |
| @@ -2604,9 +2595,9 @@ | ||
| 2604 | 2595 | } |
| 2605 | 2596 | |
| 2606 | 2597 | .dataviews-view-grid__group-header { |
| 2607 | 2598 | font-size: var(--wpds-typography-font-size-lg, 15px); |
| 2608 | - font-weight: var(--wpds-typography-font-weight-medium, 499); | |
| 2599 | + font-weight: var(--wpds-typography-font-weight-emphasis, 600); | |
| 2609 | 2600 | color: var(--wpds-color-foreground-content-neutral, #1e1e1e); |
| 2610 | 2601 | margin: 0 0 var(--wpds-dimension-gap-sm, 8px) 0; |
| 2611 | 2602 | padding: 0 var(--wpds-dimension-padding-2xl, 24px); |
| 2612 | 2603 | container-type: inline-size; |
| @@ -2635,9 +2626,8 @@ | ||
| 2635 | 2626 | |
| 2636 | 2627 | .dataviews-view-list div[role=row] .dataviews-view-list__item-actions, |
| 2637 | 2628 | .dataviews-view-list div[role=article] .dataviews-view-list__item-actions { |
| 2638 | 2629 | display: flex; |
| 2639 | - width: -moz-max-content; | |
| 2640 | 2630 | width: max-content; |
| 2641 | 2631 | flex: 0 0 auto; |
| 2642 | 2632 | gap: var(--wpds-dimension-gap-xs, 4px); |
| 2643 | 2633 | white-space: nowrap; |
| @@ -2690,10 +2680,9 @@ | ||
| 2690 | 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, |
| 2691 | 2681 | .dataviews-view-list div[role=article]:not(.is-selected):hover, |
| 2692 | 2682 | .dataviews-view-list div[role=article]:not(.is-selected).is-hovered, |
| 2693 | 2683 | .dataviews-view-list div[role=article]:not(.is-selected):focus-within { |
| 2694 | - color: var(--wpds-color-foreground-interactive-brand, var(--wp-admin-theme-color, #3858e9)); | |
| 2695 | - 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); | |
| 2696 | 2685 | } |
| 2697 | 2686 | |
| 2698 | 2687 | .dataviews-view-list div[role=row]:not(.is-selected):hover .dataviews-title-field, |
| 2699 | 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, |
| @@ -2704,9 +2693,9 @@ | ||
| 2704 | 2693 | .dataviews-view-list div[role=article]:not(.is-selected).is-hovered .dataviews-title-field, |
| 2705 | 2694 | .dataviews-view-list div[role=article]:not(.is-selected).is-hovered .dataviews-view-list__field, |
| 2706 | 2695 | .dataviews-view-list div[role=article]:not(.is-selected):focus-within .dataviews-title-field, |
| 2707 | 2696 | .dataviews-view-list div[role=article]:not(.is-selected):focus-within .dataviews-view-list__field { |
| 2708 | - color: var(--wpds-color-foreground-interactive-brand, var(--wp-admin-theme-color, #3858e9)); | |
| 2697 | + color: var(--wpds-color-foreground-interactive-neutral, #1e1e1e); | |
| 2709 | 2698 | } |
| 2710 | 2699 | |
| 2711 | 2700 | .dataviews-view-list div[role=row].is-selected .dataviews-view-list__item-wrapper, |
| 2712 | 2701 | .dataviews-view-list div[role=row].is-selected:focus-within .dataviews-view-list__item-wrapper, |
| @@ -2712,9 +2701,9 @@ | ||
| 2712 | 2701 | .dataviews-view-list div[role=row].is-selected:focus-within .dataviews-view-list__item-wrapper, |
| 2713 | 2702 | .dataviews-view-list div[role=article].is-selected .dataviews-view-list__item-wrapper, |
| 2714 | 2703 | .dataviews-view-list div[role=article].is-selected:focus-within .dataviews-view-list__item-wrapper { |
| 2715 | 2704 | background-color: var(--wpds-color-background-interactive-brand-weak-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 12%, white)); |
| 2716 | - color: var(--wpds-color-foreground-interactive-neutral, #1e1e1e); | |
| 2705 | + color: var(--wpds-color-foreground-content-neutral, #1e1e1e); | |
| 2717 | 2706 | } |
| 2718 | 2707 | |
| 2719 | 2708 | .dataviews-view-list div[role=row].is-selected .dataviews-view-list__item-wrapper .dataviews-title-field, |
| 2720 | 2709 | .dataviews-view-list div[role=row].is-selected .dataviews-view-list__item-wrapper .dataviews-view-list__field, |
| @@ -2723,9 +2712,9 @@ | ||
| 2723 | 2712 | .dataviews-view-list div[role=article].is-selected .dataviews-view-list__item-wrapper .dataviews-title-field, |
| 2724 | 2713 | .dataviews-view-list div[role=article].is-selected .dataviews-view-list__item-wrapper .dataviews-view-list__field, |
| 2725 | 2714 | .dataviews-view-list div[role=article].is-selected:focus-within .dataviews-view-list__item-wrapper .dataviews-title-field, |
| 2726 | 2715 | .dataviews-view-list div[role=article].is-selected:focus-within .dataviews-view-list__item-wrapper .dataviews-view-list__field { |
| 2727 | - color: var(--wpds-color-foreground-interactive-neutral-active, #1e1e1e); | |
| 2716 | + color: var(--wpds-color-foreground-content-neutral, #1e1e1e); | |
| 2728 | 2717 | } |
| 2729 | 2718 | |
| 2730 | 2719 | .dataviews-view-list .dataviews-view-list__item { |
| 2731 | 2720 | position: absolute; |
| @@ -2731,10 +2720,8 @@ | ||
| 2731 | 2720 | position: absolute; |
| 2732 | 2721 | z-index: 1; |
| 2733 | 2722 | inset: 0; |
| 2734 | 2723 | scroll-margin: var(--wpds-dimension-gap-sm, 8px) 0; |
| 2735 | - -webkit-appearance: none; | |
| 2736 | - -moz-appearance: none; | |
| 2737 | 2724 | appearance: none; |
| 2738 | 2725 | border: none; |
| 2739 | 2726 | background: none; |
| 2740 | 2727 | padding: 0; |
| @@ -2777,9 +2764,8 @@ | ||
| 2777 | 2764 | |
| 2778 | 2765 | .dataviews-view-list .dataviews-view-list__media-wrapper img { |
| 2779 | 2766 | width: 100%; |
| 2780 | 2767 | height: 100%; |
| 2781 | - -o-object-fit: cover; | |
| 2782 | 2768 | object-fit: cover; |
| 2783 | 2769 | } |
| 2784 | 2770 | |
| 2785 | 2771 | .dataviews-view-list .dataviews-view-list__media-wrapper::after { |
| @@ -2799,9 +2785,9 @@ | ||
| 2799 | 2785 | min-width: 0; |
| 2800 | 2786 | } |
| 2801 | 2787 | |
| 2802 | 2788 | .dataviews-view-list .dataviews-view-list__field { |
| 2803 | - color: var(--wpds-color-foreground-interactive-neutral-weak, #707070); | |
| 2789 | + color: var(--wpds-color-foreground-content-neutral-weak, #707070); | |
| 2804 | 2790 | } |
| 2805 | 2791 | |
| 2806 | 2792 | .dataviews-view-list .dataviews-view-list__fields { |
| 2807 | 2793 | display: flex; |
| @@ -2898,11 +2884,11 @@ | ||
| 2898 | 2884 | } |
| 2899 | 2885 | } |
| 2900 | 2886 | .dataviews-view-list__group-header { |
| 2901 | 2887 | font-size: var(--wpds-typography-font-size-lg, 15px); |
| 2902 | - font-weight: var(--wpds-typography-font-weight-medium, 499); | |
| 2888 | + font-weight: var(--wpds-typography-font-weight-emphasis, 600); | |
| 2903 | 2889 | color: var(--wpds-color-foreground-content-neutral, #1e1e1e); |
| 2904 | - margin: 0 0 var(--wpds-dimension-gap-sm, 8px) 0; | |
| 2890 | + margin: 0 0 var(--wpds-dimension-gap-lg, 16px) 0; | |
| 2905 | 2891 | padding: 0 var(--wpds-dimension-padding-2xl, 24px); |
| 2906 | 2892 | } |
| 2907 | 2893 | |
| 2908 | 2894 | .dataviews-view-table { |
| @@ -2918,9 +2904,9 @@ | ||
| 2918 | 2904 | |
| 2919 | 2905 | .dataviews-view-table th { |
| 2920 | 2906 | text-align: right; |
| 2921 | 2907 | color: var(--wpds-color-foreground-content-neutral, #1e1e1e); |
| 2922 | - font-weight: normal; | |
| 2908 | + font-weight: 400; | |
| 2923 | 2909 | font-size: var(--wpds-typography-font-size-md, 13px); |
| 2924 | 2910 | } |
| 2925 | 2911 | |
| 2926 | 2912 | .dataviews-view-table td, |
| @@ -2948,9 +2934,9 @@ | ||
| 2948 | 2934 | top: 0; |
| 2949 | 2935 | bottom: 0; |
| 2950 | 2936 | right: 0; |
| 2951 | 2937 | width: 1px; |
| 2952 | - background-color: var(--wpds-color-background-surface-neutral, #fcfcfc); | |
| 2938 | + background-color: var(--wpds-color-stroke-surface-neutral-weak, #f0f0f0); | |
| 2953 | 2939 | } |
| 2954 | 2940 | |
| 2955 | 2941 | .dataviews-view-table td.dataviews-view-table__checkbox-column, |
| 2956 | 2942 | .dataviews-view-table th.dataviews-view-table__checkbox-column { |
| @@ -3043,9 +3029,9 @@ | ||
| 3043 | 3029 | padding-top: var(--wpds-dimension-padding-sm, 8px); |
| 3044 | 3030 | padding-bottom: var(--wpds-dimension-padding-sm, 8px); |
| 3045 | 3031 | font-size: 11px; |
| 3046 | 3032 | text-transform: uppercase; |
| 3047 | - font-weight: var(--wpds-typography-font-weight-medium, 499); | |
| 3033 | + font-weight: var(--wpds-typography-font-weight-emphasis, 600); | |
| 3048 | 3034 | } |
| 3049 | 3035 | |
| 3050 | 3036 | .dataviews-view-table thead th:has(.dataviews-view-table-header-button) { |
| 3051 | 3037 | padding-right: var(--wpds-dimension-padding-xs, 4px); |
| @@ -3091,9 +3077,9 @@ | ||
| 3091 | 3077 | .dataviews-view-table .dataviews-view-table-header-button { |
| 3092 | 3078 | padding: var(--wpds-dimension-padding-xs, 4px) var(--wpds-dimension-padding-sm, 8px); |
| 3093 | 3079 | font-size: 11px; |
| 3094 | 3080 | text-transform: uppercase; |
| 3095 | - font-weight: var(--wpds-typography-font-weight-medium, 499); | |
| 3081 | + font-weight: var(--wpds-typography-font-weight-emphasis, 600); | |
| 3096 | 3082 | } |
| 3097 | 3083 | |
| 3098 | 3084 | .dataviews-view-table .dataviews-view-table-header-button:not(:hover) { |
| 3099 | 3085 | color: var(--wpds-color-foreground-interactive-neutral, #1e1e1e); |
| @@ -3162,9 +3148,8 @@ | ||
| 3162 | 3148 | |
| 3163 | 3149 | .dataviews-column-primary__media img { |
| 3164 | 3150 | width: var(--wpds-dimension-size-md, 32px); |
| 3165 | 3151 | height: var(--wpds-dimension-size-md, 32px); |
| 3166 | - -o-object-fit: cover; | |
| 3167 | 3152 | object-fit: cover; |
| 3168 | 3153 | } |
| 3169 | 3154 | |
| 3170 | 3155 | .dataviews-column-primary__media::after { |
| @@ -3177,8 +3162,19 @@ | ||
| 3177 | 3162 | box-shadow: inset 0 0 0 var(--wpds-border-width-xs, 1px) rgba(0, 0, 0, 0.1); |
| 3178 | 3163 | border-radius: var(--wpds-border-radius-md, 4px); |
| 3179 | 3164 | } |
| 3180 | 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 | + | |
| 3181 | 3177 | .dataviews-view-table__cell-content-wrapper:not(.dataviews-column-primary__media), |
| 3182 | 3178 | .dataviews-view-table__primary-column-content:not(.dataviews-column-primary__media) { |
| 3183 | 3179 | min-width: 15ch; |
| 3184 | 3180 | max-width: 80ch; |
| @@ -3184,9 +3180,9 @@ | ||
| 3184 | 3180 | max-width: 80ch; |
| 3185 | 3181 | } |
| 3186 | 3182 | |
| 3187 | 3183 | .dataviews-view-table__group-header-row .dataviews-view-table__group-header-cell { |
| 3188 | - font-weight: var(--wpds-typography-font-weight-medium, 499); | |
| 3184 | + font-weight: var(--wpds-typography-font-weight-emphasis, 600); | |
| 3189 | 3185 | padding: var(--wpds-dimension-padding-md, 12px) var(--wpds-dimension-padding-2xl, 24px); |
| 3190 | 3186 | color: var(--wpds-color-foreground-content-neutral, #1e1e1e); |
| 3191 | 3187 | } |
| 3192 | 3188 | |
| @@ -3232,9 +3228,8 @@ | ||
| 3232 | 3228 | text-align: start; |
| 3233 | 3229 | } |
| 3234 | 3230 | |
| 3235 | 3231 | .dataviews-view-picker-grid .dataviews-view-picker-grid__card .dataviews-view-picker-grid__title-field--clickable { |
| 3236 | - width: -moz-fit-content; | |
| 3237 | 3232 | width: fit-content; |
| 3238 | 3233 | } |
| 3239 | 3234 | |
| 3240 | 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 { |
| @@ -3270,13 +3265,13 @@ | ||
| 3270 | 3265 | aspect-ratio: 1/1; |
| 3271 | 3266 | min-height: 0; |
| 3272 | 3267 | background-color: var(--wpds-color-background-surface-neutral-strong, #fff); |
| 3273 | 3268 | border-radius: var(--wpds-border-radius-md, 4px); |
| 3269 | + overflow: hidden; | |
| 3274 | 3270 | position: relative; |
| 3275 | 3271 | } |
| 3276 | 3272 | |
| 3277 | 3273 | .dataviews-view-picker-grid .dataviews-view-picker-grid__media img { |
| 3278 | - -o-object-fit: cover; | |
| 3279 | 3274 | object-fit: cover; |
| 3280 | 3275 | width: 100%; |
| 3281 | 3276 | height: 100%; |
| 3282 | 3277 | } |
| @@ -3292,8 +3287,16 @@ | ||
| 3292 | 3287 | border-radius: var(--wpds-border-radius-md, 4px); |
| 3293 | 3288 | pointer-events: none; |
| 3294 | 3289 | } |
| 3295 | 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 | + | |
| 3296 | 3299 | .dataviews-view-picker-grid .dataviews-view-picker-grid__fields { |
| 3297 | 3300 | position: relative; |
| 3298 | 3301 | font-size: 12px; |
| 3299 | 3302 | line-height: 16px; |
| @@ -3365,9 +3368,9 @@ | ||
| 3365 | 3368 | } |
| 3366 | 3369 | |
| 3367 | 3370 | .dataviews-view-picker-grid-group__header { |
| 3368 | 3371 | font-size: var(--wpds-typography-font-size-lg, 15px); |
| 3369 | - font-weight: var(--wpds-typography-font-weight-medium, 499); | |
| 3372 | + font-weight: var(--wpds-typography-font-weight-emphasis, 600); | |
| 3370 | 3373 | color: var(--wpds-color-foreground-content-neutral, #1e1e1e); |
| 3371 | 3374 | margin: 0 0 var(--wpds-dimension-gap-sm, 8px) 0; |
| 3372 | 3375 | padding: 0 48px; |
| 3373 | 3376 | } |
| @@ -3415,9 +3418,9 @@ | ||
| 3415 | 3418 | } |
| 3416 | 3419 | |
| 3417 | 3420 | .dataviews-view-activity .dataviews-view-activity__group-header { |
| 3418 | 3421 | font-size: var(--wpds-typography-font-size-lg, 15px); |
| 3419 | - font-weight: var(--wpds-typography-font-weight-medium, 499); | |
| 3422 | + font-weight: var(--wpds-typography-font-weight-emphasis, 600); | |
| 3420 | 3423 | color: var(--wpds-color-foreground-content-neutral-weak, #707070); |
| 3421 | 3424 | margin: 0 0 var(--wpds-dimension-gap-sm, 8px) 0; |
| 3422 | 3425 | padding: 0; |
| 3423 | 3426 | } |
| @@ -3455,9 +3458,8 @@ | ||
| 3455 | 3458 | } |
| 3456 | 3459 | |
| 3457 | 3460 | .dataviews-view-activity .dataviews-view-activity__item-content .dataviews-view-activity__primary-actions { |
| 3458 | 3461 | display: flex; |
| 3459 | - width: -moz-max-content; | |
| 3460 | 3462 | width: max-content; |
| 3461 | 3463 | flex: 0 0 auto; |
| 3462 | 3464 | } |
| 3463 | 3465 | |
| @@ -3589,9 +3591,8 @@ | ||
| 3589 | 3591 | display: block; |
| 3590 | 3592 | width: 100%; |
| 3591 | 3593 | height: 100%; |
| 3592 | 3594 | margin: 0 auto; |
| 3593 | - -o-object-fit: cover; | |
| 3594 | 3595 | object-fit: cover; |
| 3595 | 3596 | border-radius: 50%; |
| 3596 | 3597 | box-sizing: border-box; |
| 3597 | 3598 | box-shadow: inset 0 0 0 var(--wpds-border-width-xs, 1px) var(--wpds-color-stroke-surface-neutral, #dbdbdb); |
| @@ -3786,9 +3787,9 @@ | ||
| 3786 | 3787 | } |
| 3787 | 3788 | |
| 3788 | 3789 | .dataviews-view-picker-activity .dataviews-view-picker-activity-group__header { |
| 3789 | 3790 | font-size: var(--wpds-typography-font-size-lg, 15px); |
| 3790 | - font-weight: var(--wpds-typography-font-weight-medium, 499); | |
| 3791 | + font-weight: var(--wpds-typography-font-weight-emphasis, 600); | |
| 3791 | 3792 | color: var(--wpds-color-foreground-content-neutral-weak, #707070); |
| 3792 | 3793 | margin: 0 0 var(--wpds-dimension-gap-sm, 8px) 0; |
| 3793 | 3794 | padding: 0; |
| 3794 | 3795 | padding-inline-start: var(--wpds-dimension-padding-2xl, 24px); |
| @@ -3806,9 +3807,8 @@ | ||
| 3806 | 3807 | display: block; |
| 3807 | 3808 | width: 100%; |
| 3808 | 3809 | height: 100%; |
| 3809 | 3810 | margin: 0 auto; |
| 3810 | - -o-object-fit: cover; | |
| 3811 | 3811 | object-fit: cover; |
| 3812 | 3812 | border-radius: 50%; |
| 3813 | 3813 | box-sizing: border-box; |
| 3814 | 3814 | box-shadow: inset 0 0 0 var(--wpds-border-width-xs, 1px) var(--wpds-color-stroke-surface-neutral, #dbdbdb); |
| @@ -3862,8 +3862,29 @@ | ||
| 3862 | 3862 | .dataviews-controls__date-preset:active { |
| 3863 | 3863 | background-color: var(--wpds-color-background-interactive-neutral-strong-active, #1e1e1e); |
| 3864 | 3864 | } |
| 3865 | 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 | + | |
| 3866 | 3887 | .dataforms-layouts-panel__field-trigger { |
| 3867 | 3888 | position: relative; |
| 3868 | 3889 | color: inherit; |
| 3869 | 3890 | display: flex; |
| @@ -3906,9 +3927,9 @@ | ||
| 3906 | 3927 | } |
| 3907 | 3928 | |
| 3908 | 3929 | .dataforms-layouts-panel__field-trigger.is-disabled .dataforms-layouts-panel__field-control { |
| 3909 | 3930 | color: var(--wpds-color-foreground-content-neutral-weak, #707070); |
| 3910 | - font-weight: var(--wpds-typography-font-weight-regular, 400); | |
| 3931 | + font-weight: var(--wpds-typography-font-weight-default, 400); | |
| 3911 | 3932 | } |
| 3912 | 3933 | |
| 3913 | 3934 | .dataforms-layouts-panel__field-trigger--edit-always .dataforms-layouts-panel__field-trigger-icon { |
| 3914 | 3935 | opacity: 1; |
| @@ -3926,8 +3947,14 @@ | ||
| 3926 | 3947 | opacity: 0; |
| 3927 | 3948 | border-radius: var(--wpds-border-radius-xs, 1px); |
| 3928 | 3949 | } |
| 3929 | 3950 | |
| 3951 | +.dataforms-layouts-panel__field-trigger-icon::after { | |
| 3952 | + content: ""; | |
| 3953 | + position: absolute; | |
| 3954 | + inset: 0; | |
| 3955 | +} | |
| 3956 | + | |
| 3930 | 3957 | .dataforms-layouts-panel__field-trigger-icon:focus-visible { |
| 3931 | 3958 | opacity: 1; |
| 3932 | 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)); |
| 3933 | 3960 | } |
| @@ -3961,11 +3988,9 @@ | ||
| 3961 | 3988 | color: var(--wpds-color-foreground-content-error-weak, #cc1818); |
| 3962 | 3989 | } |
| 3963 | 3990 | |
| 3964 | 3991 | .dataforms-layouts-panel__field-label-error-content { |
| 3965 | - position: relative; | |
| 3966 | - z-index: 1; | |
| 3967 | - cursor: help; | |
| 3992 | + pointer-events: none; | |
| 3968 | 3993 | color: var(--wpds-color-foreground-content-error-weak, #cc1818); |
| 3969 | 3994 | display: inline-flex; |
| 3970 | 3995 | flex-direction: row; |
| 3971 | 3996 | align-items: center; |
| @@ -3981,12 +4006,17 @@ | ||
| 3981 | 4006 | align-items: center; |
| 3982 | 4007 | overflow: clip; |
| 3983 | 4008 | padding-inline: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)); |
| 3984 | 4009 | margin-inline: calc(-1 * var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px))); |
| 3985 | - word-break: break-word; | |
| 3986 | - font-weight: var(--wpds-typography-font-weight-medium, 499); | |
| 4010 | + word-break: normal; | |
| 4011 | + overflow-wrap: anywhere; | |
| 4012 | + font-weight: var(--wpds-typography-font-weight-emphasis, 600); | |
| 3987 | 4013 | } |
| 3988 | 4014 | |
| 4015 | +.dataforms-layouts-panel__field-control:has(a, button) { | |
| 4016 | + z-index: 1; | |
| 4017 | +} | |
| 4018 | + | |
| 3989 | 4019 | .dataforms-layouts-panel__field-control > * { |
| 3990 | 4020 | min-width: 0; |
| 3991 | 4021 | } |
| 3992 | 4022 | |
| @@ -4019,12 +4049,8 @@ | ||
| 4019 | 4049 | .components-popover.components-dropdown__content.dataforms-layouts-panel__field-dropdown { |
| 4020 | 4050 | z-index: 159990; |
| 4021 | 4051 | } |
| 4022 | 4052 | |
| 4023 | -.dataforms-layouts-panel__summary-button:empty { | |
| 4024 | - min-width: 160px; | |
| 4025 | -} | |
| 4026 | - | |
| 4027 | 4053 | .dataforms-layouts-regular__field { |
| 4028 | 4054 | width: 100%; |
| 4029 | 4055 | min-height: var(--wpds-dimension-size-md, 32px); |
| 4030 | 4056 | justify-content: flex-start !important; |
| @@ -4101,10 +4127,10 @@ | ||
| 4101 | 4127 | width: 100%; |
| 4102 | 4128 | } |
| 4103 | 4129 | |
| 4104 | 4130 | .dataforms-layouts__wrapper { |
| 4105 | - font-family: -apple-system, "system-ui", "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; | |
| 4106 | - font-weight: 400; | |
| 4131 | + font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; | |
| 4132 | + font-weight: var(--wpds-typography-font-weight-default, 400); | |
| 4107 | 4133 | font-size: 13px; |
| 4108 | 4134 | line-height: 20px; |
| 4109 | 4135 | } |
| 4110 | 4136 | |
| @@ -4177,8 +4203,14 @@ | ||
| 4177 | 4203 | /** |
| 4178 | 4204 | * Focus styles. |
| 4179 | 4205 | */ |
| 4180 | 4206 | /** |
| 4207 | + * Standard focus rings for the WordPress Design System. | |
| 4208 | + * | |
| 4209 | + * Apply `outset-ring__focus` inside the relevant pseudo-class at the call site, | |
| 4210 | + * e.g. `&:focus { @include outset-ring__focus(); }`. | |
| 4211 | + */ | |
| 4212 | +/** | |
| 4181 | 4213 | * Applies editor left position to the selector passed as argument |
| 4182 | 4214 | */ |
| 4183 | 4215 | /** |
| 4184 | 4216 | * Styles that are reused verbatim in a few places |
| @@ -4236,9 +4268,9 @@ | ||
| 4236 | 4268 | padding: 12px; |
| 4237 | 4269 | display: grid; |
| 4238 | 4270 | align-items: center; |
| 4239 | 4271 | grid-template-columns: min-content 1fr min-content; |
| 4240 | - grid-gap: 4px 8px; | |
| 4272 | + gap: 4px 8px; | |
| 4241 | 4273 | color: #1e1e1e; |
| 4242 | 4274 | } |
| 4243 | 4275 | |
| 4244 | 4276 | .fields-create-template-part-modal__area-radio-wrapper + .fields-create-template-part-modal__area-radio-wrapper { |
| @@ -4315,9 +4347,8 @@ | ||
| 4315 | 4347 | line-height: 1.5; |
| 4316 | 4348 | } |
| 4317 | 4349 | |
| 4318 | 4350 | fieldset.fields__media-edit { |
| 4319 | - /* stylelint-disable-next-line property-no-unknown -- '@container' not globally permitted */ | |
| 4320 | 4351 | container-type: inline-size; |
| 4321 | 4352 | } |
| 4322 | 4353 | |
| 4323 | 4354 | fieldset.fields__media-edit .fields__media-edit-compact-group { |
| @@ -4522,11 +4553,9 @@ | ||
| 4522 | 4553 | |
| 4523 | 4554 | fieldset.fields__media-edit .fields__media-edit-expanded .fields__media-edit-thumbnail { |
| 4524 | 4555 | width: 100%; |
| 4525 | 4556 | height: 100%; |
| 4526 | - -o-object-fit: cover; | |
| 4527 | 4557 | object-fit: cover; |
| 4528 | - -o-object-position: 50% 50%; | |
| 4529 | 4558 | object-position: 50% 50%; |
| 4530 | 4559 | } |
| 4531 | 4560 | |
| 4532 | 4561 | fieldset.fields__media-edit .fields__media-edit-expanded .fields__media-edit-filename { |
| @@ -4555,9 +4584,8 @@ | ||
| 4555 | 4584 | } |
| 4556 | 4585 | |
| 4557 | 4586 | fieldset.fields__media-edit .fields__media-edit-expanded.is-multiple:not(.is-empty) { |
| 4558 | 4587 | grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); |
| 4559 | - /* stylelint-disable-next-line property-no-unknown -- '@container' not globally permitted */ | |
| 4560 | 4588 | } |
| 4561 | 4589 | |
| 4562 | 4590 | @container (max-width: 500px) { |
| 4563 | 4591 | fieldset.fields__media-edit .fields__media-edit-expanded.is-multiple:not(.is-empty) { |
| @@ -4587,9 +4615,8 @@ | ||
| 4587 | 4615 | |
| 4588 | 4616 | .fields-controls__author-avatar img { |
| 4589 | 4617 | width: 16px; |
| 4590 | 4618 | height: 16px; |
| 4591 | - -o-object-fit: cover; | |
| 4592 | 4619 | object-fit: cover; |
| 4593 | 4620 | opacity: 0; |
| 4594 | 4621 | border-radius: 100%; |
| 4595 | 4622 | } |
| @@ -4625,18 +4652,15 @@ | ||
| 4625 | 4652 | padding: 0; |
| 4626 | 4653 | margin: 0; |
| 4627 | 4654 | } |
| 4628 | 4655 | |
| 4629 | -.fields-controls__slug .fields-controls__slug-external-icon { | |
| 4630 | - margin-right: 5ch; | |
| 4631 | -} | |
| 4632 | - | |
| 4633 | 4656 | .fields-controls__slug .fields-controls__slug-input input.components-input-control__input { |
| 4634 | 4657 | padding-inline-start: 0 !important; |
| 4635 | 4658 | } |
| 4636 | 4659 | |
| 4637 | 4660 | .fields-controls__slug .fields-controls__slug-help-link { |
| 4638 | - word-break: break-word; | |
| 4661 | + word-break: normal; | |
| 4662 | + overflow-wrap: anywhere; | |
| 4639 | 4663 | } |
| 4640 | 4664 | |
| 4641 | 4665 | .fields-controls__slug .fields-controls__slug-help { |
| 4642 | 4666 | display: flex; |
| @@ -4643,9 +4667,9 @@ | ||
| 4643 | 4667 | flex-direction: column; |
| 4644 | 4668 | } |
| 4645 | 4669 | |
| 4646 | 4670 | .fields-controls__slug .fields-controls__slug-help .fields-controls__slug-help-slug { |
| 4647 | - font-weight: 600; | |
| 4671 | + font-weight: var(--wpds-typography-font-weight-emphasis, 600); | |
| 4648 | 4672 | } |
| 4649 | 4673 | |
| 4650 | 4674 | .fields-controls__featured-image-image, |
| 4651 | 4675 | .fields-controls__featured-image-placeholder { |
| @@ -4764,9 +4788,8 @@ | ||
| 4764 | 4788 | |
| 4765 | 4789 | .media-editor-preview--image img { |
| 4766 | 4790 | max-width: 100%; |
| 4767 | 4791 | max-height: 100%; |
| 4768 | - -o-object-fit: contain; | |
| 4769 | 4792 | object-fit: contain; |
| 4770 | 4793 | width: auto; |
| 4771 | 4794 | height: auto; |
| 4772 | 4795 | opacity: 0; |
| @@ -4788,9 +4811,8 @@ | ||
| 4788 | 4811 | } |
| 4789 | 4812 | .media-editor-preview--video video { |
| 4790 | 4813 | max-width: 100%; |
| 4791 | 4814 | max-height: 100%; |
| 4792 | - -o-object-fit: contain; | |
| 4793 | 4815 | object-fit: contain; |
| 4794 | 4816 | width: auto; |
| 4795 | 4817 | height: auto; |
| 4796 | 4818 | } |
| @@ -4809,9 +4831,9 @@ | ||
| 4809 | 4831 | border-radius: 2px; |
| 4810 | 4832 | } |
| 4811 | 4833 | |
| 4812 | 4834 | .media-editor-preview__file-name { |
| 4813 | - font-weight: 600; | |
| 4835 | + font-weight: var(--wpds-typography-font-weight-emphasis, 600); | |
| 4814 | 4836 | margin-bottom: 8px; |
| 4815 | 4837 | } |
| 4816 | 4838 | |
| 4817 | 4839 | .media-editor-preview__mime-type { |
| @@ -4835,9 +4857,8 @@ | ||
| 4835 | 4857 | color: #949494; |
| 4836 | 4858 | word-break: break-all; |
| 4837 | 4859 | margin-top: 8px; |
| 4838 | 4860 | } |
| 4839 | - | |
| 4840 | 4861 | .wp-media-editor-image-editor { |
| 4841 | 4862 | position: relative; |
| 4842 | 4863 | overflow: hidden; |
| 4843 | 4864 | width: 100%; |
| @@ -4843,9 +4864,8 @@ | ||
| 4843 | 4864 | width: 100%; |
| 4844 | 4865 | height: 100%; |
| 4845 | 4866 | touch-action: none; |
| 4846 | 4867 | -webkit-user-select: none; |
| 4847 | - -moz-user-select: none; | |
| 4848 | 4868 | user-select: none; |
| 4849 | 4869 | cursor: grab; |
| 4850 | 4870 | } |
| 4851 | 4871 | |
| @@ -4871,9 +4891,9 @@ | ||
| 4871 | 4891 | |
| 4872 | 4892 | .wp-media-editor-image-editor__image { |
| 4873 | 4893 | position: absolute; |
| 4874 | 4894 | top: 0; |
| 4875 | - right: 0; | |
| 4895 | + left: 0; | |
| 4876 | 4896 | will-change: transform; |
| 4877 | 4897 | transform-origin: center center; |
| 4878 | 4898 | } |
| 4879 | 4899 | |
| @@ -4924,9 +4944,9 @@ | ||
| 4924 | 4944 | background: rgba(255, 255, 255, 0.4); |
| 4925 | 4945 | } |
| 4926 | 4946 | |
| 4927 | 4947 | .wp-media-editor-image-editor__grid-line--horizontal { |
| 4928 | - right: 0; | |
| 4948 | + left: 0; | |
| 4929 | 4949 | width: 100%; |
| 4930 | 4950 | height: 1px; |
| 4931 | 4951 | } |
| 4932 | 4952 | |
| @@ -4963,10 +4983,8 @@ | ||
| 4963 | 4983 | box-shadow: 0 0 0 1px var(--wp-image-editor-focus-color, var(--wp-admin-theme-color, #007cba)); |
| 4964 | 4984 | } |
| 4965 | 4985 | |
| 4966 | 4986 | .wp-media-editor-image-editor__handle { |
| 4967 | - -webkit-appearance: none; | |
| 4968 | - -moz-appearance: none; | |
| 4969 | 4987 | appearance: none; |
| 4970 | 4988 | margin: 0; |
| 4971 | 4989 | padding: 0; |
| 4972 | 4990 | font: inherit; |
| @@ -4995,12 +5013,12 @@ | ||
| 4995 | 5013 | .wp-media-editor-image-editor__handle::before { |
| 4996 | 5014 | content: ""; |
| 4997 | 5015 | position: absolute; |
| 4998 | 5016 | top: 50%; |
| 4999 | - right: 50%; | |
| 5017 | + left: 50%; | |
| 5000 | 5018 | width: 44px; |
| 5001 | 5019 | height: 44px; |
| 5002 | - transform: translate(50%, -50%); | |
| 5020 | + transform: translate(-50%, -50%); | |
| 5003 | 5021 | } |
| 5004 | 5022 | |
| 5005 | 5023 | .wp-media-editor-image-editor__handle { |
| 5006 | 5024 | /* Offset by half the handle width (12px / 2 = 6px) to center on crop edge */ |
| @@ -5007,23 +5025,23 @@ | ||
| 5007 | 5025 | } |
| 5008 | 5026 | |
| 5009 | 5027 | .wp-media-editor-image-editor__handle--n { |
| 5010 | 5028 | top: -6px; |
| 5011 | - right: 50%; | |
| 5012 | - margin-right: -6px; | |
| 5029 | + left: 50%; | |
| 5030 | + margin-left: -6px; | |
| 5013 | 5031 | cursor: ns-resize; |
| 5014 | 5032 | } |
| 5015 | 5033 | |
| 5016 | 5034 | .wp-media-editor-image-editor__handle--s { |
| 5017 | 5035 | bottom: -6px; |
| 5018 | - right: 50%; | |
| 5019 | - margin-right: -6px; | |
| 5036 | + left: 50%; | |
| 5037 | + margin-left: -6px; | |
| 5020 | 5038 | cursor: ns-resize; |
| 5021 | 5039 | } |
| 5022 | 5040 | |
| 5023 | 5041 | .wp-media-editor-image-editor__handle--e { |
| 5024 | 5042 | top: 50%; |
| 5025 | - left: -6px; | |
| 5043 | + right: -6px; | |
| 5026 | 5044 | margin-top: -6px; |
| 5027 | 5045 | cursor: ew-resize; |
| 5028 | 5046 | } |
| 5029 | 5047 | |
| @@ -5028,9 +5046,9 @@ | ||
| 5028 | 5046 | } |
| 5029 | 5047 | |
| 5030 | 5048 | .wp-media-editor-image-editor__handle--w { |
| 5031 | 5049 | top: 50%; |
| 5032 | - right: -6px; | |
| 5050 | + left: -6px; | |
| 5033 | 5051 | margin-top: -6px; |
| 5034 | 5052 | cursor: ew-resize; |
| 5035 | 5053 | } |
| 5036 | 5054 | |
| @@ -5035,30 +5053,29 @@ | ||
| 5035 | 5053 | } |
| 5036 | 5054 | |
| 5037 | 5055 | .wp-media-editor-image-editor__handle--nw { |
| 5038 | 5056 | top: -6px; |
| 5039 | - right: -6px; | |
| 5040 | - cursor: nesw-resize; | |
| 5057 | + left: -6px; | |
| 5058 | + cursor: nwse-resize; | |
| 5041 | 5059 | } |
| 5042 | 5060 | |
| 5043 | 5061 | .wp-media-editor-image-editor__handle--ne { |
| 5044 | 5062 | top: -6px; |
| 5045 | - left: -6px; | |
| 5046 | - cursor: nwse-resize; | |
| 5063 | + right: -6px; | |
| 5064 | + cursor: nesw-resize; | |
| 5047 | 5065 | } |
| 5048 | 5066 | |
| 5049 | 5067 | .wp-media-editor-image-editor__handle--sw { |
| 5050 | 5068 | bottom: -6px; |
| 5051 | - right: -6px; | |
| 5052 | - cursor: nwse-resize; | |
| 5069 | + left: -6px; | |
| 5070 | + cursor: nesw-resize; | |
| 5053 | 5071 | } |
| 5054 | 5072 | |
| 5055 | 5073 | .wp-media-editor-image-editor__handle--se { |
| 5056 | 5074 | bottom: -6px; |
| 5057 | - left: -6px; | |
| 5058 | - cursor: nesw-resize; | |
| 5075 | + right: -6px; | |
| 5076 | + cursor: nwse-resize; | |
| 5059 | 5077 | } |
| 5060 | - | |
| 5061 | 5078 | /** |
| 5062 | 5079 | * Breakpoints & Media Queries |
| 5063 | 5080 | */ |
| 5064 | 5081 | /** |
| @@ -5082,8 +5099,14 @@ | ||
| 5082 | 5099 | /** |
| 5083 | 5100 | * Focus styles. |
| 5084 | 5101 | */ |
| 5085 | 5102 | /** |
| 5103 | + * Standard focus rings for the WordPress Design System. | |
| 5104 | + * | |
| 5105 | + * Apply `outset-ring__focus` inside the relevant pseudo-class at the call site, | |
| 5106 | + * e.g. `&:focus { @include outset-ring__focus(); }`. | |
| 5107 | + */ | |
| 5108 | +/** | |
| 5086 | 5109 | * Applies editor left position to the selector passed as argument |
| 5087 | 5110 | */ |
| 5088 | 5111 | /** |
| 5089 | 5112 | * Styles that are reused verbatim in a few places |
| @@ -5116,48 +5139,53 @@ | ||
| 5116 | 5139 | align-items: center; |
| 5117 | 5140 | justify-content: center; |
| 5118 | 5141 | } |
| 5119 | 5142 | |
| 5120 | -.media-editor .interface-interface-skeleton { | |
| 5121 | - position: relative; | |
| 5122 | - top: auto; | |
| 5123 | - left: auto; | |
| 5124 | - bottom: auto; | |
| 5125 | - right: auto; | |
| 5126 | - height: 100%; | |
| 5127 | - max-height: none; | |
| 5143 | +.media-editor .media-editor__body { | |
| 5144 | + container-type: inline-size; | |
| 5145 | + container-name: media-editor-body; | |
| 5146 | + display: flex; | |
| 5128 | 5147 | flex: 1; |
| 5129 | - flex-direction: column; | |
| 5148 | + min-height: 0; | |
| 5130 | 5149 | } |
| 5131 | 5150 | |
| 5132 | -.media-editor-modal .media-editor .interface-interface-skeleton.interface-interface-skeleton { | |
| 5133 | - top: auto; | |
| 5134 | -} | |
| 5135 | - | |
| 5136 | -.media-editor .interface-interface-skeleton__editor { | |
| 5137 | - min-width: 0; | |
| 5138 | - flex: 1; | |
| 5139 | -} | |
| 5140 | - | |
| 5141 | 5151 | .media-editor .media-editor__content { |
| 5142 | 5152 | display: flex; |
| 5143 | 5153 | flex: 1; |
| 5144 | 5154 | flex-direction: column; |
| 5155 | + min-width: 0; | |
| 5145 | 5156 | min-height: 0; |
| 5146 | - margin: 0 24px; | |
| 5147 | - border-radius: 8px; | |
| 5148 | - overflow: hidden; | |
| 5157 | + margin: 24px 24px 8px 24px; | |
| 5149 | 5158 | } |
| 5150 | 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 | +} | |
| 5151 | 5170 | .media-editor .media-editor__canvas-toolbar { |
| 5152 | 5171 | display: flex; |
| 5153 | - 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; | |
| 5154 | 5180 | justify-content: center; |
| 5181 | + align-self: stretch; | |
| 5155 | 5182 | background: #e0e0e0; |
| 5183 | + border-radius: 0 0 8px 8px; | |
| 5156 | 5184 | padding: 8px 16px; |
| 5157 | 5185 | } |
| 5158 | 5186 | |
| 5159 | -.media-editor .media-editor__canvas-toolbar .media-editor-fine-rotation { | |
| 5187 | +.media-editor .media-editor__canvas-toolbar .media-editor-fine-rotation .rotation-ruler { | |
| 5160 | 5188 | flex: 0 1 360px; |
| 5161 | 5189 | min-width: 0; |
| 5162 | 5190 | } |
| 5163 | 5191 | |
| @@ -5165,8 +5193,9 @@ | ||
| 5165 | 5193 | display: flex; |
| 5166 | 5194 | align-items: center; |
| 5167 | 5195 | justify-content: center; |
| 5168 | 5196 | background: #e0e0e0; |
| 5197 | + border-radius: 8px; | |
| 5169 | 5198 | overflow: auto; |
| 5170 | 5199 | flex: 1; |
| 5171 | 5200 | min-height: 0; |
| 5172 | 5201 | } |
| @@ -5178,88 +5207,66 @@ | ||
| 5178 | 5207 | .media-editor .media-editor__canvas-area img, |
| 5179 | 5208 | .media-editor .media-editor__canvas-area video { |
| 5180 | 5209 | max-width: 100%; |
| 5181 | 5210 | max-height: 100%; |
| 5182 | - -o-object-fit: contain; | |
| 5183 | 5211 | object-fit: contain; |
| 5184 | 5212 | } |
| 5185 | 5213 | |
| 5186 | 5214 | .media-editor .media-editor__sidebar { |
| 5187 | - 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; | |
| 5188 | 5221 | } |
| 5189 | 5222 | |
| 5190 | -.media-editor .media-editor__sidebar *, | |
| 5191 | -.media-editor .media-editor__sidebar *::before, | |
| 5192 | -.media-editor .media-editor__sidebar *::after { | |
| 5193 | - box-sizing: inherit; | |
| 5194 | -} | |
| 5195 | - | |
| 5196 | 5223 | @media (min-width: 600px) { |
| 5197 | 5224 | .media-editor .media-editor__sidebar { |
| 5198 | - padding-right: 1px; | |
| 5225 | + flex: none; | |
| 5226 | + width: var(--wpds-dimension-surface-width-sm, 320px); | |
| 5199 | 5227 | } |
| 5200 | 5228 | } |
| 5201 | -.media-editor .media-editor__sidebar-panel { | |
| 5202 | - padding-bottom: 24px; | |
| 5229 | +.media-editor .media-editor__tabs { | |
| 5230 | + display: flex; | |
| 5231 | + flex: 1; | |
| 5232 | + flex-direction: column; | |
| 5233 | + min-height: 0; | |
| 5203 | 5234 | } |
| 5204 | 5235 | |
| 5205 | -.media-editor .interface-interface-skeleton__sidebar { | |
| 5206 | - border-top: 0; | |
| 5207 | - box-shadow: none; | |
| 5208 | - 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; | |
| 5209 | 5241 | } |
| 5210 | 5242 | |
| 5211 | 5243 | .media-editor .media-editor__panel { |
| 5212 | - padding: 16px; | |
| 5244 | + flex: 1; | |
| 5245 | + min-height: 0; | |
| 5246 | + overflow-y: auto; | |
| 5247 | + padding-block: 24px; | |
| 5248 | + padding-inline: 24px; | |
| 5213 | 5249 | } |
| 5214 | 5250 | |
| 5215 | -@media (min-width: 600px) { | |
| 5216 | - .media-editor .media-editor__panel { | |
| 5217 | - padding: 16px 0 0 24px; | |
| 5218 | - } | |
| 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; | |
| 5219 | 5254 | } |
| 5220 | -.media-editor .components-panel__header.media-editor__sidebar-header { | |
| 5221 | - padding-right: 0; | |
| 5222 | - padding-left: 8px; | |
| 5223 | - margin-left: 24px; | |
| 5224 | - margin-left: 0; | |
| 5225 | -} | |
| 5226 | 5255 | |
| 5227 | -@media (min-width: 600px) { | |
| 5228 | - .media-editor .components-panel__header.media-editor__sidebar-header { | |
| 5229 | - margin-left: 24px; | |
| 5230 | - } | |
| 5256 | +.media-editor .media-editor__body.has-panel-open .media-editor__content { | |
| 5257 | + display: none; | |
| 5231 | 5258 | } |
| 5232 | -.media-editor .components-panel__header.media-editor__sidebar-header .components-button.has-icon { | |
| 5233 | - padding: 0; | |
| 5234 | -} | |
| 5235 | 5259 | |
| 5236 | 5260 | @media (min-width: 600px) { |
| 5237 | - .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 { | |
| 5238 | 5262 | display: flex; |
| 5263 | + margin: 0 24px 0 0; | |
| 5239 | 5264 | } |
| 5240 | 5265 | } |
| 5241 | -@media (min-width: 600px) and (max-width: 781px) { | |
| 5242 | - .media-editor .interface-interface-skeleton__sidebar:has(.interface-complementary-area__fill) { | |
| 5243 | - position: relative !important; | |
| 5244 | - } | |
| 5245 | - .media-editor .interface-complementary-area__fill, | |
| 5246 | - .media-editor .interface-complementary-area { | |
| 5247 | - width: 280px !important; | |
| 5248 | - } | |
| 5249 | -} | |
| 5250 | -@media (max-width: 599px) { | |
| 5251 | - .media-editor .interface-interface-skeleton__sidebar:has(.interface-complementary-area__fill) { | |
| 5252 | - width: 100%; | |
| 5253 | - } | |
| 5254 | - .media-editor .interface-complementary-area__fill, | |
| 5255 | - .media-editor .interface-complementary-area { | |
| 5256 | - width: 100% !important; | |
| 5257 | - } | |
| 5258 | -} | |
| 5259 | 5266 | .media-editor__snackbar { |
| 5260 | 5267 | position: fixed; |
| 5261 | - bottom: 24px; | |
| 5268 | + bottom: var(--wpds-dimension-size-md, 32px); | |
| 5262 | 5269 | right: 0; |
| 5263 | 5270 | left: 0; |
| 5264 | 5271 | padding-inline: 16px; |
| 5265 | 5272 | box-sizing: border-box; |
| @@ -5293,44 +5300,20 @@ | ||
| 5293 | 5300 | |
| 5294 | 5301 | .media-editor-modal.components-modal__frame .media-editor-modal__footer { |
| 5295 | 5302 | flex-shrink: 0; |
| 5296 | 5303 | display: flex; |
| 5297 | - gap: 16px; | |
| 5298 | - padding: 16px 32px 24px; | |
| 5299 | - background: #fff; | |
| 5300 | - z-index: 1000001; | |
| 5301 | -} | |
| 5302 | - | |
| 5303 | -.media-editor-modal.components-modal__frame .media-editor-modal__footer.is-wide { | |
| 5304 | 5304 | flex-direction: row; |
| 5305 | 5305 | align-items: center; |
| 5306 | -} | |
| 5307 | - | |
| 5308 | -.media-editor-modal.components-modal__frame .media-editor-modal__footer.is-wide .media-editor__footer-actions { | |
| 5309 | - margin-right: auto; | |
| 5310 | -} | |
| 5311 | - | |
| 5312 | -.media-editor-modal.components-modal__frame .media-editor-modal__footer.is-narrow { | |
| 5313 | - flex-direction: column; | |
| 5314 | -} | |
| 5315 | - | |
| 5316 | -.media-editor-modal.components-modal__frame .media-editor-modal__footer.is-narrow > .media-editor-image-controls { | |
| 5317 | - align-self: center; | |
| 5318 | -} | |
| 5319 | - | |
| 5320 | -.media-editor-modal__footer-row { | |
| 5321 | - display: flex; | |
| 5322 | - flex-wrap: wrap; | |
| 5323 | - align-items: center; | |
| 5324 | 5306 | gap: 16px; |
| 5307 | + padding: 24px; | |
| 5308 | + background: #fff; | |
| 5325 | 5309 | } |
| 5326 | 5310 | |
| 5327 | -.media-editor-modal__footer-row .media-editor-image-controls, | |
| 5328 | -.media-editor-modal__footer-row .media-editor__footer-actions { | |
| 5311 | +.media-editor-modal.components-modal__frame .media-editor-modal__footer .media-editor__save-actions { | |
| 5329 | 5312 | margin-right: auto; |
| 5330 | 5313 | } |
| 5331 | 5314 | |
| 5332 | -.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]) { | |
| 5333 | 5316 | color: var(--wp-admin-theme-color); |
| 5334 | 5317 | } |
| 5335 | 5318 | |
| 5336 | 5319 | .media-editor-modal { |
| @@ -5339,9 +5322,9 @@ | ||
| 5339 | 5322 | } |
| 5340 | 5323 | |
| 5341 | 5324 | .media-editor-modal__snackbar { |
| 5342 | 5325 | position: fixed; |
| 5343 | - bottom: 24px; | |
| 5326 | + bottom: var(--wpds-dimension-size-md, 32px); | |
| 5344 | 5327 | right: 0; |
| 5345 | 5328 | left: 0; |
| 5346 | 5329 | padding-inline: 16px; |
| 5347 | 5330 | box-sizing: border-box; |
| @@ -5432,9 +5415,9 @@ | ||
| 5432 | 5415 | } |
| 5433 | 5416 | |
| 5434 | 5417 | .media-editor-image-controls__label { |
| 5435 | 5418 | font-size: 11px; |
| 5436 | - font-weight: 500; | |
| 5419 | + font-weight: var(--wpds-typography-font-weight-emphasis, 600); | |
| 5437 | 5420 | line-height: 1.4; |
| 5438 | 5421 | text-transform: uppercase; |
| 5439 | 5422 | } |
| 5440 | 5423 | |
| @@ -5478,9 +5461,9 @@ | ||
| 5478 | 5461 | } |
| 5479 | 5462 | |
| 5480 | 5463 | .media-editor-keyboard-shortcuts-modal .media-editor-keyboard-shortcuts-modal__shortcut-term { |
| 5481 | 5464 | background: none; |
| 5482 | - font-weight: 600; | |
| 5465 | + font-weight: var(--wpds-typography-font-weight-emphasis, 600); | |
| 5483 | 5466 | margin: 0 1rem 0 0; |
| 5484 | 5467 | padding: 0; |
| 5485 | 5468 | text-align: left; |
| 5486 | 5469 | } |
| @@ -5501,14 +5484,14 @@ | ||
| 5501 | 5484 | height: 32px; |
| 5502 | 5485 | padding: 0 8px; |
| 5503 | 5486 | box-sizing: border-box; |
| 5504 | 5487 | color: #1e1e1e; |
| 5505 | - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; | |
| 5488 | + font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; | |
| 5506 | 5489 | -webkit-user-select: none; |
| 5507 | - -moz-user-select: none; | |
| 5508 | 5490 | user-select: none; |
| 5509 | 5491 | touch-action: none; |
| 5510 | 5492 | cursor: ew-resize; |
| 5493 | + direction: ltr; | |
| 5511 | 5494 | container-type: inline-size; |
| 5512 | 5495 | } |
| 5513 | 5496 | |
| 5514 | 5497 | .rotation-ruler[data-disabled] { |
| @@ -5529,9 +5512,9 @@ | ||
| 5529 | 5512 | height: 1px; |
| 5530 | 5513 | margin: -1px; |
| 5531 | 5514 | padding: 0; |
| 5532 | 5515 | border: 0; |
| 5533 | - clip: rect(0 0 0 0); | |
| 5516 | + clip-path: inset(50%); | |
| 5534 | 5517 | overflow: hidden; |
| 5535 | 5518 | white-space: nowrap; |
| 5536 | 5519 | } |
| 5537 | 5520 | |
| @@ -5593,9 +5576,9 @@ | ||
| 5593 | 5576 | right: 50%; |
| 5594 | 5577 | height: 14px; |
| 5595 | 5578 | transform: translateX(50%); |
| 5596 | 5579 | font-size: 12px; |
| 5597 | - font-weight: 600; | |
| 5580 | + font-weight: var(--wpds-typography-font-weight-emphasis, 600); | |
| 5598 | 5581 | line-height: 14px; |
| 5599 | 5582 | color: #1e1e1e; |
| 5600 | 5583 | pointer-events: none; |
| 5601 | 5584 | } |
| @@ -5618,15 +5601,15 @@ | ||
| 5618 | 5601 | |
| 5619 | 5602 | .rotation-ruler__active-label-sign { |
| 5620 | 5603 | position: absolute; |
| 5621 | 5604 | top: 0; |
| 5622 | - left: 100%; | |
| 5605 | + right: 100%; | |
| 5623 | 5606 | } |
| 5624 | 5607 | |
| 5625 | 5608 | .rotation-ruler__active-label-unit { |
| 5626 | 5609 | position: absolute; |
| 5627 | 5610 | top: 0; |
| 5628 | - right: 100%; | |
| 5611 | + left: 100%; | |
| 5629 | 5612 | } |
| 5630 | 5613 | |
| 5631 | 5614 | @container (max-width: 220px) { |
| 5632 | 5615 | .rotation-ruler__tick--minor { |
| @@ -5644,9 +5627,9 @@ | ||
| 5644 | 5627 | } |
| 5645 | 5628 | |
| 5646 | 5629 | .editor-autocompleters__user .editor-autocompleters__no-avatar::before { |
| 5647 | 5630 | /* stylelint-disable-next-line font-family-no-missing-generic-family-keyword -- dashicons don't need a generic family keyword. */ |
| 5648 | - font: normal 20px/1 dashicons; | |
| 5631 | + font: 400 20px/1 dashicons; | |
| 5649 | 5632 | content: "\f110"; |
| 5650 | 5633 | margin-left: 5px; |
| 5651 | 5634 | vertical-align: middle; |
| 5652 | 5635 | } |
| @@ -5669,9 +5652,9 @@ | ||
| 5669 | 5652 | .editor-autocompleters__user .editor-autocompleters__user-slug { |
| 5670 | 5653 | margin-right: 8px; |
| 5671 | 5654 | white-space: nowrap; |
| 5672 | 5655 | text-overflow: ellipsis; |
| 5673 | - overflow: none; | |
| 5656 | + overflow: hidden; | |
| 5674 | 5657 | max-width: 100px; |
| 5675 | 5658 | flex-grow: 0; |
| 5676 | 5659 | flex-shrink: 0; |
| 5677 | 5660 | } |
| @@ -5681,9 +5664,10 @@ | ||
| 5681 | 5664 | |
| 5682 | 5665 | .interface-interface-skeleton__sidebar:has(.editor-collab-sidebar) { |
| 5683 | 5666 | box-shadow: none; |
| 5684 | 5667 | } |
| 5685 | -.interface-interface-skeleton__sidebar:has(.editor-collab-sidebar) .interface-complementary-area-header { | |
| 5668 | + | |
| 5669 | +.editor-collab-sidebar__header { | |
| 5686 | 5670 | display: none; |
| 5687 | 5671 | } |
| 5688 | 5672 | |
| 5689 | 5673 | .editor-collab-sidebar { |
| @@ -5695,11 +5679,13 @@ | ||
| 5695 | 5679 | position: relative; |
| 5696 | 5680 | padding: 16px 16px 24px; |
| 5697 | 5681 | height: 100%; |
| 5698 | 5682 | overflow: hidden; |
| 5683 | + border-right: 1px solid color-mix(in srgb, currentColor 10%, transparent); | |
| 5699 | 5684 | } |
| 5700 | 5685 | |
| 5701 | -.editor-collab-sidebar-panel__thread { | |
| 5686 | +.editor-collab-sidebar-panel__thread, | |
| 5687 | +.editor-collab-sidebar-panel__add-note { | |
| 5702 | 5688 | position: relative; |
| 5703 | 5689 | padding: 16px; |
| 5704 | 5690 | border-radius: 8px; |
| 5705 | 5691 | border: 1px solid #ddd; |
| @@ -5706,18 +5692,21 @@ | ||
| 5706 | 5692 | background-color: #f0f0f0; |
| 5707 | 5693 | overflow: hidden; |
| 5708 | 5694 | width: auto; |
| 5709 | 5695 | } |
| 5710 | -.editor-collab-sidebar-panel__thread.is-selected { | |
| 5696 | +.editor-collab-sidebar-panel__thread.is-selected, | |
| 5697 | +.editor-collab-sidebar-panel__add-note.is-selected { | |
| 5711 | 5698 | background-color: #fff; |
| 5712 | 5699 | box-shadow: 0 2px 3px rgba(0, 0, 0, 0.05), 0 4px 5px rgba(0, 0, 0, 0.04), 0 12px 12px rgba(0, 0, 0, 0.03), 0 16px 16px rgba(0, 0, 0, 0.02); |
| 5713 | 5700 | z-index: 1; |
| 5714 | 5701 | } |
| 5715 | -.editor-collab-sidebar-panel__thread:focus { | |
| 5702 | +.editor-collab-sidebar-panel__thread:focus, | |
| 5703 | +.editor-collab-sidebar-panel__add-note:focus { | |
| 5716 | 5704 | outline: var(--wp-admin-border-width-focus) solid var(--wp-admin-theme-color); |
| 5717 | 5705 | outline-offset: calc(-1 * var(--wp-admin-border-width-focus)); |
| 5718 | 5706 | } |
| 5719 | -.editor-collab-sidebar-panel__thread.is-floating { | |
| 5707 | +.editor-collab-sidebar-panel__thread.is-floating, | |
| 5708 | +.editor-collab-sidebar-panel__add-note.is-floating { | |
| 5720 | 5709 | right: 16px; |
| 5721 | 5710 | left: 16px; |
| 5722 | 5711 | position: absolute; |
| 5723 | 5712 | margin-top: 16px; |
| @@ -5726,8 +5715,12 @@ | ||
| 5726 | 5715 | max-height: calc(100dvh - var(--wp-admin--admin-bar--height, 0px) - 128px); |
| 5727 | 5716 | overflow-y: auto; |
| 5728 | 5717 | } |
| 5729 | 5718 | |
| 5719 | +.editor-collab-sidebar-panel__user-info { | |
| 5720 | + flex: 1; | |
| 5721 | +} | |
| 5722 | + | |
| 5730 | 5723 | .editor-collab-sidebar-panel__user-name { |
| 5731 | 5724 | font-size: 12px; |
| 5732 | 5725 | font-weight: 400; |
| 5733 | 5726 | line-height: 16px; |
| @@ -5732,9 +5725,9 @@ | ||
| 5732 | 5725 | font-weight: 400; |
| 5733 | 5726 | line-height: 16px; |
| 5734 | 5727 | text-align: right; |
| 5735 | 5728 | color: #757575; |
| 5736 | - text-transform: capitalize; | |
| 5729 | + overflow-wrap: anywhere; | |
| 5737 | 5730 | } |
| 5738 | 5731 | |
| 5739 | 5732 | .editor-collab-sidebar-panel__user-time { |
| 5740 | 5733 | font-size: 12px; |
| @@ -5744,9 +5737,8 @@ | ||
| 5744 | 5737 | color: #757575; |
| 5745 | 5738 | } |
| 5746 | 5739 | |
| 5747 | 5740 | .editor-collab-sidebar-panel__show-more-button { |
| 5748 | - width: -moz-fit-content; | |
| 5749 | 5741 | width: fit-content; |
| 5750 | 5742 | color: var(--wpds-color-foreground-interactive-brand, var(--wp-admin-theme-color, #3858e9)); |
| 5751 | 5743 | cursor: var(--wpds-cursor-control, pointer); |
| 5752 | 5744 | } |
| @@ -5753,8 +5745,11 @@ | ||
| 5753 | 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 { |
| 5754 | 5746 | color: var(--wpds-color-foreground-interactive-brand-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 52%, black)); |
| 5755 | 5747 | } |
| 5756 | 5748 | |
| 5749 | +.editor-collab-sidebar-panel__note-content { | |
| 5750 | + overflow-wrap: break-word; | |
| 5751 | +} | |
| 5757 | 5752 | .editor-collab-sidebar-panel__note-content p:last-child { |
| 5758 | 5753 | margin-bottom: 0; |
| 5759 | 5754 | } |
| 5760 | 5755 | .editor-collab-sidebar-panel__note-content.is-collapsed { |
| @@ -5784,23 +5779,23 @@ | ||
| 5784 | 5779 | height: 24px; |
| 5785 | 5780 | flex-shrink: 0; |
| 5786 | 5781 | } |
| 5787 | 5782 | |
| 5788 | -.editor-collab-sidebar-panel__more-reply-separator::before, .editor-collab-sidebar-panel__more-reply-separator::after { | |
| 5783 | +.editor-collab-sidebar-panel__more-reply-separator::before, .editor-collab-sidebar-panel__more-reply-separator::after, | |
| 5784 | +.editor-collab-sidebar-panel__status-separator::before, | |
| 5785 | +.editor-collab-sidebar-panel__status-separator::after { | |
| 5789 | 5786 | content: ""; |
| 5790 | - display: block; | |
| 5791 | - width: 100%; | |
| 5787 | + flex: 1; | |
| 5792 | 5788 | height: 1px; |
| 5793 | 5789 | background-color: #ddd; |
| 5794 | - flex: 1; | |
| 5795 | 5790 | } |
| 5796 | 5791 | |
| 5797 | 5792 | .editor-collab-sidebar-panel__more-reply-button { |
| 5798 | - font-weight: 499; | |
| 5793 | + font-weight: var(--wpds-typography-font-weight-emphasis, 600); | |
| 5799 | 5794 | } |
| 5800 | 5795 | |
| 5801 | 5796 | .editor-collab-sidebar-panel__deleted-block-notice { |
| 5802 | - font-weight: 499; | |
| 5797 | + font-weight: var(--wpds-typography-font-weight-emphasis, 600); | |
| 5803 | 5798 | color: #757575; |
| 5804 | 5799 | } |
| 5805 | 5800 | |
| 5806 | 5801 | .editor-collab-sidebar-panel__resolution-text { |
| @@ -5806,47 +5801,26 @@ | ||
| 5806 | 5801 | .editor-collab-sidebar-panel__resolution-text { |
| 5807 | 5802 | font-style: italic; |
| 5808 | 5803 | } |
| 5809 | 5804 | |
| 5810 | -.editor-collab-sidebar-panel__note-form textarea { | |
| 5811 | - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; | |
| 5812 | - padding: 6px 8px; | |
| 5813 | - /* Fonts smaller than 16px causes mobile safari to zoom. */ | |
| 5814 | - font-size: 16px; | |
| 5815 | - /* Override core line-height. To be reviewed. */ | |
| 5816 | - line-height: normal; | |
| 5817 | - box-shadow: 0 0 0 transparent; | |
| 5805 | +.editor-collab-sidebar-panel__note-form [role=textbox] { | |
| 5806 | + line-height: 20px; | |
| 5807 | + max-height: 418px; | |
| 5808 | + overflow-y: auto; | |
| 5809 | + white-space: pre-wrap; | |
| 5810 | + overflow-wrap: break-word; | |
| 5811 | +} | |
| 5812 | +.editor-collab-sidebar-panel__note-form [role=textbox] code { | |
| 5813 | + font-family: Menlo, Consolas, monaco, monospace; | |
| 5814 | + font-size: 0.9em; | |
| 5815 | + padding: 0 2px; | |
| 5816 | + background: #f0f0f0; | |
| 5818 | 5817 | border-radius: 2px; |
| 5819 | - border: 1px solid #949494; | |
| 5820 | 5818 | } |
| 5821 | -@media not (prefers-reduced-motion) { | |
| 5822 | - .editor-collab-sidebar-panel__note-form textarea { | |
| 5823 | - transition: box-shadow 0.1s linear; | |
| 5824 | - } | |
| 5819 | +.editor-collab-sidebar-panel__note-form [role=textbox] a { | |
| 5820 | + color: var(--wp-admin-theme-color); | |
| 5821 | + text-decoration: underline; | |
| 5825 | 5822 | } |
| 5826 | -@media (min-width: 600px) { | |
| 5827 | - .editor-collab-sidebar-panel__note-form textarea { | |
| 5828 | - font-size: 13px; | |
| 5829 | - /* Override core line-height. To be reviewed. */ | |
| 5830 | - line-height: normal; | |
| 5831 | - } | |
| 5832 | -} | |
| 5833 | -.editor-collab-sidebar-panel__note-form textarea:focus { | |
| 5834 | - border-color: var(--wp-admin-theme-color); | |
| 5835 | - box-shadow: 0 0 0 0.5px var(--wp-admin-theme-color); | |
| 5836 | - outline: 2px solid transparent; | |
| 5837 | -} | |
| 5838 | -.editor-collab-sidebar-panel__note-form textarea::-moz-placeholder { | |
| 5839 | - color: rgba(30, 30, 30, 0.62); | |
| 5840 | -} | |
| 5841 | -.editor-collab-sidebar-panel__note-form textarea::placeholder { | |
| 5842 | - color: rgba(30, 30, 30, 0.62); | |
| 5843 | -} | |
| 5844 | -.editor-collab-sidebar-panel__note-form textarea { | |
| 5845 | - padding: 9px 11px; | |
| 5846 | - line-height: 20px !important; | |
| 5847 | - display: block; | |
| 5848 | -} | |
| 5849 | 5823 | |
| 5850 | 5824 | .editor-collab-sidebar-panel__skip-to-note, |
| 5851 | 5825 | .editor-collab-sidebar-panel__skip-to-block { |
| 5852 | 5826 | position: absolute; |
| @@ -5888,9 +5862,9 @@ | ||
| 5888 | 5862 | margin-right: 0; |
| 5889 | 5863 | } |
| 5890 | 5864 | |
| 5891 | 5865 | .editor-note-indicator__overflow { |
| 5892 | - font-weight: 499; | |
| 5866 | + font-weight: var(--wpds-typography-font-weight-emphasis, 600); | |
| 5893 | 5867 | } |
| 5894 | 5868 | |
| 5895 | 5869 | .show-icon-labels .editor-note-indicator { |
| 5896 | 5870 | width: auto; |
| @@ -5902,8 +5876,36 @@ | ||
| 5902 | 5876 | content: attr(aria-label); |
| 5903 | 5877 | font-size: 12px; |
| 5904 | 5878 | } |
| 5905 | 5879 | |
| 5880 | +mark.wp-note { | |
| 5881 | + border-radius: 1px; | |
| 5882 | + transition: background-color 0.1s ease-in-out; | |
| 5883 | +} | |
| 5884 | + | |
| 5885 | +.wp-note-mention { | |
| 5886 | + display: inline; | |
| 5887 | + padding: 0 var(--wpds-dimension-padding-xs, 4px); | |
| 5888 | + border-radius: var(--wpds-border-radius-sm, 2px); | |
| 5889 | + background: var(--wpds-color-background-surface-brand, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 9%, white)); | |
| 5890 | + color: var(--wpds-color-foreground-interactive-brand, var(--wp-admin-theme-color, #3858e9)); | |
| 5891 | + font-weight: var(--wpds-typography-font-weight-emphasis, 600); | |
| 5892 | +} | |
| 5893 | +@media (forced-colors: active) { | |
| 5894 | + .wp-note-mention { | |
| 5895 | + border: 1px solid; | |
| 5896 | + } | |
| 5897 | +} | |
| 5898 | + | |
| 5899 | +.editor-collab-sidebar-panel__mention-suggestion .editor-autocompleters__user-avatar { | |
| 5900 | + border-radius: 50%; | |
| 5901 | +} | |
| 5902 | + | |
| 5903 | +.editor-rich-text-control [data-rich-text-placeholder]::after { | |
| 5904 | + content: attr(data-rich-text-placeholder); | |
| 5905 | + color: color-mix(in srgb, currentColor, transparent 38%); | |
| 5906 | +} | |
| 5907 | + | |
| 5906 | 5908 | .editor-avatar { |
| 5907 | 5909 | position: relative; |
| 5908 | 5910 | display: inline-flex; |
| 5909 | 5911 | align-items: center; |
| @@ -5948,10 +5950,9 @@ | ||
| 5948 | 5950 | position: absolute; |
| 5949 | 5951 | inset: 0; |
| 5950 | 5952 | width: 100%; |
| 5951 | 5953 | height: 100%; |
| 5952 | - -o-object-fit: cover; | |
| 5953 | - object-fit: cover; | |
| 5954 | + object-fit: cover; | |
| 5954 | 5955 | border-radius: inherit; |
| 5955 | 5956 | opacity: 0; |
| 5956 | 5957 | } |
| 5957 | 5958 | .has-src > .editor-avatar__image > .editor-avatar__img { |
| @@ -5962,9 +5963,9 @@ | ||
| 5962 | 5963 | display: flex; |
| 5963 | 5964 | align-items: center; |
| 5964 | 5965 | justify-content: center; |
| 5965 | 5966 | font-size: 11px; |
| 5966 | - font-weight: 499; | |
| 5967 | + font-weight: var(--wpds-typography-font-weight-emphasis, 600); | |
| 5967 | 5968 | border: 0; |
| 5968 | 5969 | background-clip: border-box; |
| 5969 | 5970 | } |
| 5970 | 5971 | .editor-avatar:not(.has-src) > .editor-avatar__image::after { |
| @@ -5976,9 +5977,9 @@ | ||
| 5976 | 5977 | } |
| 5977 | 5978 | |
| 5978 | 5979 | .editor-avatar__name { |
| 5979 | 5980 | font-size: 13px; |
| 5980 | - font-weight: 499; | |
| 5981 | + font-weight: var(--wpds-typography-font-weight-emphasis, 600); | |
| 5981 | 5982 | line-height: 20px; |
| 5982 | 5983 | color: var(--editor-avatar-name-color, #fff); |
| 5983 | 5984 | min-width: 0; |
| 5984 | 5985 | padding-bottom: 2px; |
| @@ -5990,19 +5991,16 @@ | ||
| 5990 | 5991 | |
| 5991 | 5992 | .editor-avatar.is-badge { |
| 5992 | 5993 | display: inline-grid; |
| 5993 | 5994 | grid-template-columns: min-content 0fr; |
| 5994 | - -moz-column-gap: 0; | |
| 5995 | - column-gap: 0; | |
| 5995 | + column-gap: 0; | |
| 5996 | 5996 | padding-inline-end: 0; |
| 5997 | 5997 | background-color: var(--wp-admin-theme-color, #3858e9); |
| 5998 | 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); |
| 5999 | - 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); | |
| 6000 | 5999 | } |
| 6001 | 6000 | .editor-avatar.is-badge:hover { |
| 6002 | 6001 | grid-template-columns: min-content 1fr; |
| 6003 | - -moz-column-gap: 4px; | |
| 6004 | - column-gap: 4px; | |
| 6002 | + column-gap: 4px; | |
| 6005 | 6003 | padding-inline-end: 8px; |
| 6006 | 6004 | transition-timing-function: cubic-bezier(0.85, 0, 0.85, 1); |
| 6007 | 6005 | } |
| 6008 | 6006 | .editor-avatar.is-badge:hover .editor-avatar__name { |
| @@ -6122,9 +6120,9 @@ | ||
| 6122 | 6120 | padding: 8px 16px; |
| 6123 | 6121 | } |
| 6124 | 6122 | .editor-collaborators-presence__list.components-popover .editor-collaborators-presence__list-header-title { |
| 6125 | 6123 | font-size: 13px; |
| 6126 | - font-weight: 499; | |
| 6124 | + font-weight: var(--wpds-typography-font-weight-emphasis, 600); | |
| 6127 | 6125 | line-height: 20px; |
| 6128 | 6126 | display: flex; |
| 6129 | 6127 | gap: 4px; |
| 6130 | 6128 | } |
| @@ -6176,9 +6174,9 @@ | ||
| 6176 | 6174 | min-width: 0; |
| 6177 | 6175 | } |
| 6178 | 6176 | .editor-collaborators-presence__list.components-popover .editor-collaborators-presence__list-item-name { |
| 6179 | 6177 | font-size: 13px; |
| 6180 | - font-weight: 499; | |
| 6178 | + font-weight: var(--wpds-typography-font-weight-emphasis, 600); | |
| 6181 | 6179 | line-height: 20px; |
| 6182 | 6180 | color: #1e1e1e; |
| 6183 | 6181 | overflow: hidden; |
| 6184 | 6182 | text-overflow: ellipsis; |
| @@ -6192,43 +6190,24 @@ | ||
| 6192 | 6190 | height: 32px; |
| 6193 | 6191 | background: #f0f0f0; |
| 6194 | 6192 | border-radius: 4px; |
| 6195 | 6193 | } |
| 6196 | -.editor-collaborators-presence:hover { | |
| 6194 | +.editor-collaborators-presence:hover, .editor-collaborators-presence:has(.is-pressed) { | |
| 6197 | 6195 | background-color: #e0e0e0; |
| 6198 | 6196 | } |
| 6199 | -.editor-collaborators-presence:has(.is-pressed) { | |
| 6200 | - background-color: #e0e0e0; | |
| 6201 | -} | |
| 6202 | 6197 | |
| 6203 | 6198 | .editor-header__center .editor-collaborators-presence { |
| 6204 | 6199 | margin-left: 8px; |
| 6205 | 6200 | } |
| 6206 | 6201 | |
| 6207 | -.editor-collaborators-presence__button.editor-collaborators-presence__button.components-button { | |
| 6208 | - display: flex; | |
| 6209 | - align-items: center; | |
| 6210 | - cursor: var(--wpds-cursor-control, pointer); | |
| 6202 | +.editor-collaborators-presence__button.editor-collaborators-presence__button { | |
| 6211 | 6203 | position: relative; |
| 6212 | 6204 | padding: 4px; |
| 6213 | - border-radius: 4px; | |
| 6214 | - height: 100%; | |
| 6215 | - box-sizing: border-box; | |
| 6216 | - color: #2f2f2f; | |
| 6217 | - background: transparent; | |
| 6218 | 6205 | } |
| 6219 | -.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 { | |
| 6220 | 6207 | background: transparent; |
| 6221 | 6208 | color: #2f2f2f; |
| 6222 | 6209 | } |
| 6223 | -.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 { | |
| 6224 | - background: transparent; | |
| 6225 | - color: #2f2f2f; | |
| 6226 | -} | |
| 6227 | -.editor-collaborators-presence__button.editor-collaborators-presence__button.components-button:focus:not(:active) { | |
| 6228 | - box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus, 2px) var(--wp-admin-theme-color, #007cba); | |
| 6229 | - outline: none; | |
| 6230 | -} | |
| 6231 | 6210 | |
| 6232 | 6211 | .editor-collapsible-block-toolbar { |
| 6233 | 6212 | overflow: hidden; |
| 6234 | 6213 | display: flex; |
| @@ -6323,11 +6302,8 @@ | ||
| 6323 | 6302 | } |
| 6324 | 6303 | .editor-document-bar:hover { |
| 6325 | 6304 | background-color: #e0e0e0; |
| 6326 | 6305 | } |
| 6327 | -.editor-document-bar .components-button { | |
| 6328 | - border-radius: 4px; | |
| 6329 | -} | |
| 6330 | 6306 | @media not (prefers-reduced-motion) { |
| 6331 | 6307 | .editor-document-bar .components-button { |
| 6332 | 6308 | transition: background-color 0.1s ease-out; |
| 6333 | 6309 | } |
| @@ -6352,13 +6328,8 @@ | ||
| 6352 | 6328 | color: #1e1e1e; |
| 6353 | 6329 | margin: 0 auto; |
| 6354 | 6330 | max-width: 70%; |
| 6355 | 6331 | } |
| 6356 | -@media (min-width: 782px) { | |
| 6357 | - .editor-document-bar.has-shortcut .editor-document-bar__title { | |
| 6358 | - padding-right: 24px; | |
| 6359 | - } | |
| 6360 | -} | |
| 6361 | 6332 | .editor-document-bar__title h1 { |
| 6362 | 6333 | display: flex; |
| 6363 | 6334 | align-items: center; |
| 6364 | 6335 | justify-content: center; |
| @@ -6384,19 +6355,8 @@ | ||
| 6384 | 6355 | display: none; |
| 6385 | 6356 | } |
| 6386 | 6357 | } |
| 6387 | 6358 | |
| 6388 | -.editor-document-bar__shortcut { | |
| 6389 | - color: #2f2f2f; | |
| 6390 | - min-width: 24px; | |
| 6391 | - display: none; | |
| 6392 | -} | |
| 6393 | -@media (min-width: 782px) { | |
| 6394 | - .editor-document-bar__shortcut { | |
| 6395 | - display: initial; | |
| 6396 | - } | |
| 6397 | -} | |
| 6398 | - | |
| 6399 | 6359 | .editor-document-bar__back.components-button.has-icon.has-text { |
| 6400 | 6360 | min-width: 36px; |
| 6401 | 6361 | flex-shrink: 0; |
| 6402 | 6362 | color: #757575; |
| @@ -6415,9 +6375,9 @@ | ||
| 6415 | 6375 | display: none; |
| 6416 | 6376 | pointer-events: none; |
| 6417 | 6377 | } |
| 6418 | 6378 | .editor-document-bar__icon-layout.editor-document-bar__icon-layout svg { |
| 6419 | - fill: #949494; | |
| 6379 | + color: #949494; | |
| 6420 | 6380 | } |
| 6421 | 6381 | @media (min-width: 600px) { |
| 6422 | 6382 | .editor-document-bar__icon-layout.editor-document-bar__icon-layout { |
| 6423 | 6383 | display: flex; |
| @@ -6547,12 +6507,12 @@ | ||
| 6547 | 6507 | .editor-document-tools .editor-document-tools__left > .components-button.has-icon.is-pressed, |
| 6548 | 6508 | .editor-document-tools .editor-document-tools__left > .components-dropdown > .components-button.has-icon.is-pressed { |
| 6549 | 6509 | background: #1e1e1e; |
| 6550 | 6510 | } |
| 6551 | -.editor-document-tools .editor-document-tools__left > .components-button.has-icon:focus:not(:disabled), | |
| 6552 | -.editor-document-tools .editor-document-tools__left > .components-dropdown > .components-button.has-icon:focus:not(:disabled) { | |
| 6553 | - box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color), inset 0 0 0 1px #fff; | |
| 6554 | - 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)); | |
| 6555 | 6515 | } |
| 6556 | 6516 | .editor-document-tools .editor-document-tools__left > .components-button.has-icon::before, |
| 6557 | 6517 | .editor-document-tools .editor-document-tools__left > .components-dropdown > .components-button.has-icon::before { |
| 6558 | 6518 | display: none; |
| @@ -6583,12 +6543,18 @@ | ||
| 6583 | 6543 | .editor-editor-interface .interface-interface-skeleton__content { |
| 6584 | 6544 | isolation: isolate; |
| 6585 | 6545 | } |
| 6586 | 6546 | |
| 6587 | -.editor-editor-interface .editor-notices { | |
| 6588 | - padding: var(--wpds-dimension-padding-md, 12px); | |
| 6547 | +.editor-notices.notices-inline-notices-wrapper, | |
| 6548 | +.editor-notices .components-notice-list { | |
| 6549 | + gap: 0; | |
| 6589 | 6550 | } |
| 6590 | 6551 | |
| 6552 | +.editor-notices .components-notice { | |
| 6553 | + border-top-width: 0; | |
| 6554 | + border-inline-width: 0; | |
| 6555 | +} | |
| 6556 | + | |
| 6591 | 6557 | .editor-visual-editor { |
| 6592 | 6558 | flex: 1 0 auto; |
| 6593 | 6559 | } |
| 6594 | 6560 | |
| @@ -6599,79 +6565,29 @@ | ||
| 6599 | 6565 | top: 0; |
| 6600 | 6566 | left: 0; |
| 6601 | 6567 | } |
| 6602 | 6568 | |
| 6603 | -.entities-saved-states__panel-header { | |
| 6604 | - box-sizing: border-box; | |
| 6605 | - background: #fff; | |
| 6606 | - padding-right: 16px; | |
| 6607 | - padding-left: 16px; | |
| 6608 | - height: 64px; | |
| 6609 | - 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; | |
| 6610 | 6576 | } |
| 6611 | 6577 | |
| 6612 | -.entities-saved-states__text-prompt { | |
| 6613 | - padding: 16px; | |
| 6614 | - padding-bottom: 4px; | |
| 6578 | +.editor-error-boundary__report { | |
| 6579 | + max-height: 420px; | |
| 6580 | + overflow: auto; | |
| 6581 | + overflow-anchor: none; | |
| 6615 | 6582 | } |
| 6616 | -.entities-saved-states__text-prompt .entities-saved-states__text-prompt--header { | |
| 6617 | - display: block; | |
| 6618 | - margin-bottom: 12px; | |
| 6619 | -} | |
| 6620 | 6583 | |
| 6621 | -.entities-saved-states__panel.is-inline .entities-saved-states__text-prompt { | |
| 6622 | - padding: 0; | |
| 6584 | +.editor-error-boundary__report-section { | |
| 6585 | + margin: 0; | |
| 6586 | + white-space: pre-wrap; | |
| 6587 | + overflow-wrap: break-word; | |
| 6623 | 6588 | } |
| 6624 | -.entities-saved-states__panel.is-inline .entities-saved-states__panel-body { | |
| 6625 | - padding-right: 0; | |
| 6626 | - padding-left: 0; | |
| 6627 | - border: 0; | |
| 6628 | -} | |
| 6629 | -.entities-saved-states__panel.is-inline .entities-saved-states__panel-body > h2 { | |
| 6630 | - margin-right: -16px; | |
| 6631 | - margin-left: -16px; | |
| 6632 | - margin-bottom: 0; | |
| 6633 | -} | |
| 6634 | -.entities-saved-states__panel.is-inline .entities-saved-states__panel-body > h2 button { | |
| 6635 | - font-size: 11px; | |
| 6636 | - text-transform: uppercase; | |
| 6637 | -} | |
| 6638 | -.entities-saved-states__panel.is-inline .entities-saved-states__text-prompt--header-wrapper { | |
| 6639 | - display: none; | |
| 6640 | -} | |
| 6641 | -.entities-saved-states__panel.is-inline .entities-saved-states__text-prompt--changes-count { | |
| 6642 | - margin-top: 0; | |
| 6643 | - margin-bottom: 8px; | |
| 6644 | -} | |
| 6645 | -.entities-saved-states__panel.is-inline .entities-saved-states__panel-footer { | |
| 6646 | - margin-top: 16px; | |
| 6647 | -} | |
| 6648 | 6589 | |
| 6649 | -.entities-saved-states__change-control { | |
| 6650 | - flex: 1; | |
| 6651 | -} | |
| 6652 | - | |
| 6653 | -.entities-saved-states__changes { | |
| 6654 | - font-size: 13px; | |
| 6655 | - margin: 4px 24px 0 16px; | |
| 6656 | - list-style: disc; | |
| 6657 | -} | |
| 6658 | -.entities-saved-states__changes li { | |
| 6659 | - margin-bottom: 4px; | |
| 6660 | -} | |
| 6661 | - | |
| 6662 | -.editor-error-boundary { | |
| 6663 | - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; | |
| 6664 | - margin: auto; | |
| 6665 | - max-width: 780px; | |
| 6666 | - padding: 1em; | |
| 6667 | - margin-top: 64px; | |
| 6668 | - 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); | |
| 6669 | - border: 1px solid #1e1e1e; | |
| 6670 | - border-radius: 2px; | |
| 6671 | - background-color: #fff; | |
| 6672 | -} | |
| 6673 | - | |
| 6674 | 6590 | .editor-global-styles-header__description { |
| 6675 | 6591 | padding: 0 16px; |
| 6676 | 6592 | } |
| 6677 | 6593 | |
| @@ -6687,8 +6603,27 @@ | ||
| 6687 | 6603 | .editor-global-styles-sidebar__panel { |
| 6688 | 6604 | flex: 1; |
| 6689 | 6605 | } |
| 6690 | 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 | + | |
| 6691 | 6626 | .editor-global-styles-sidebar .editor-global-styles-sidebar__header-title { |
| 6692 | 6627 | margin: 0; |
| 6693 | 6628 | } |
| 6694 | 6629 | |
| @@ -6748,13 +6683,12 @@ | ||
| 6748 | 6683 | } |
| 6749 | 6684 | .editor-welcome-guide__image > img { |
| 6750 | 6685 | display: block; |
| 6751 | 6686 | max-width: 100%; |
| 6752 | - -o-object-fit: cover; | |
| 6753 | - object-fit: cover; | |
| 6687 | + object-fit: cover; | |
| 6754 | 6688 | } |
| 6755 | 6689 | .editor-welcome-guide__heading { |
| 6756 | - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; | |
| 6690 | + font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; | |
| 6757 | 6691 | font-size: 24px; |
| 6758 | 6692 | line-height: 1.4; |
| 6759 | 6693 | margin: 16px 0 16px 0; |
| 6760 | 6694 | padding: 0 32px; |
| @@ -6768,9 +6702,9 @@ | ||
| 6768 | 6702 | .editor-welcome-guide__text img { |
| 6769 | 6703 | vertical-align: bottom; |
| 6770 | 6704 | } |
| 6771 | 6705 | .editor-welcome-guide .components-button:hover svg { |
| 6772 | - fill: #fff; | |
| 6706 | + color: #fff; | |
| 6773 | 6707 | } |
| 6774 | 6708 | |
| 6775 | 6709 | .editor-header { |
| 6776 | 6710 | box-sizing: border-box; |
| @@ -6784,16 +6718,16 @@ | ||
| 6784 | 6718 | height: 64px; |
| 6785 | 6719 | background: #fff; |
| 6786 | 6720 | display: grid; |
| 6787 | 6721 | grid-auto-flow: row; |
| 6788 | - grid-template: auto/64px minmax(0, max-content) minmax(min-content, 1fr) 64px; | |
| 6722 | + grid-template: auto/auto minmax(0, max-content) minmax(min-content, 1fr) 64px; | |
| 6789 | 6723 | } |
| 6790 | 6724 | .editor-header:has(> .editor-header__center) { |
| 6791 | - grid-template: auto/64px min-content 1fr min-content 64px; | |
| 6725 | + grid-template: auto/auto min-content 1fr min-content 64px; | |
| 6792 | 6726 | } |
| 6793 | 6727 | @media (min-width: 782px) { |
| 6794 | 6728 | .editor-header:has(> .editor-header__center) { |
| 6795 | - grid-template: auto/64px minmax(min-content, 2fr) 2.5fr minmax(min-content, 2fr) 64px; | |
| 6729 | + grid-template: auto/auto minmax(min-content, 2fr) 2.5fr minmax(min-content, 2fr) 64px; | |
| 6796 | 6730 | } |
| 6797 | 6731 | } |
| 6798 | 6732 | @media (min-width: 480px) { |
| 6799 | 6733 | .editor-header { |
| @@ -6810,8 +6744,15 @@ | ||
| 6810 | 6744 | flex-wrap: nowrap; |
| 6811 | 6745 | } |
| 6812 | 6746 | } |
| 6813 | 6747 | |
| 6748 | +.editor-header__back-button { | |
| 6749 | + margin: 0 8px 0 -8px; | |
| 6750 | +} | |
| 6751 | +.show-icon-labels .editor-header__back-button { | |
| 6752 | + margin-left: 0; | |
| 6753 | +} | |
| 6754 | + | |
| 6814 | 6755 | .editor-header__toolbar { |
| 6815 | 6756 | grid-column: 1/3; |
| 6816 | 6757 | } |
| 6817 | 6758 | .editor-header__toolbar > :first-child { |
| @@ -6856,9 +6797,8 @@ | ||
| 6856 | 6797 | display: flex; |
| 6857 | 6798 | justify-content: center; |
| 6858 | 6799 | align-items: center; |
| 6859 | 6800 | min-width: 0; |
| 6860 | - clip-path: inset(-2px); | |
| 6861 | 6801 | } |
| 6862 | 6802 | @media (max-width: 479px) { |
| 6863 | 6803 | .editor-header__center > :first-child { |
| 6864 | 6804 | margin-inline-start: 8px; |
| @@ -6866,11 +6806,8 @@ | ||
| 6866 | 6806 | .editor-header__center > :last-child { |
| 6867 | 6807 | margin-inline-end: 8px; |
| 6868 | 6808 | } |
| 6869 | 6809 | } |
| 6870 | -.editor-revisions-header .editor-header__center { | |
| 6871 | - clip-path: none; | |
| 6872 | -} | |
| 6873 | 6810 | |
| 6874 | 6811 | /** |
| 6875 | 6812 | * Buttons on the right side |
| 6876 | 6813 | */ |
| @@ -7020,9 +6957,9 @@ | ||
| 7020 | 6957 | } |
| 7021 | 6958 | .editor-editor-interface.is-distraction-free .editor-header > .edit-post-header__settings > .edit-post-header__post-preview-button { |
| 7022 | 6959 | visibility: hidden; |
| 7023 | 6960 | } |
| 7024 | -.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 { | |
| 7025 | 6962 | display: none; |
| 7026 | 6963 | } |
| 7027 | 6964 | .editor-editor-interface.is-distraction-free .interface-interface-skeleton__header:focus-within { |
| 7028 | 6965 | opacity: 1 !important; |
| @@ -7029,15 +6966,15 @@ | ||
| 7029 | 6966 | } |
| 7030 | 6967 | .editor-editor-interface.is-distraction-free .interface-interface-skeleton__header:focus-within div { |
| 7031 | 6968 | transform: translateX(0) translateZ(0) !important; |
| 7032 | 6969 | } |
| 7033 | -.editor-editor-interface.is-distraction-free .components-editor-notices__dismissible { | |
| 6970 | +.editor-editor-interface.is-distraction-free .editor-notices__dismissible { | |
| 7034 | 6971 | position: absolute; |
| 7035 | 6972 | z-index: 35; |
| 7036 | 6973 | } |
| 7037 | - | |
| 7038 | -.components-popover.more-menu-dropdown__content { | |
| 7039 | - 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; | |
| 7040 | 6977 | } |
| 7041 | 6978 | |
| 7042 | 6979 | .editor-inserter-sidebar { |
| 7043 | 6980 | box-sizing: border-box; |
| @@ -7061,9 +6998,9 @@ | ||
| 7061 | 6998 | margin: 0 0 2rem 0; |
| 7062 | 6999 | } |
| 7063 | 7000 | .editor-keyboard-shortcut-help-modal__section-title { |
| 7064 | 7001 | font-size: 0.9rem; |
| 7065 | - font-weight: 600; | |
| 7002 | + font-weight: var(--wpds-typography-font-weight-emphasis, 600); | |
| 7066 | 7003 | } |
| 7067 | 7004 | .editor-keyboard-shortcut-help-modal__shortcut { |
| 7068 | 7005 | display: flex; |
| 7069 | 7006 | align-items: baseline; |
| @@ -7077,9 +7014,9 @@ | ||
| 7077 | 7014 | .editor-keyboard-shortcut-help-modal__shortcut:empty { |
| 7078 | 7015 | display: none; |
| 7079 | 7016 | } |
| 7080 | 7017 | .editor-keyboard-shortcut-help-modal__shortcut-term { |
| 7081 | - font-weight: 600; | |
| 7018 | + font-weight: var(--wpds-typography-font-weight-emphasis, 600); | |
| 7082 | 7019 | margin: 0 1rem 0 0; |
| 7083 | 7020 | text-align: left; |
| 7084 | 7021 | } |
| 7085 | 7022 | .editor-keyboard-shortcut-help-modal__shortcut-description { |
| @@ -7167,9 +7104,9 @@ | ||
| 7167 | 7104 | scrollbar-gutter: auto; |
| 7168 | 7105 | } |
| 7169 | 7106 | |
| 7170 | 7107 | .editor-list-view-sidebar__list-view-panel-content { |
| 7171 | - padding: 4px; | |
| 7108 | + padding: 8px; | |
| 7172 | 7109 | } |
| 7173 | 7110 | |
| 7174 | 7111 | .editor-list-view-sidebar__list-view-container { |
| 7175 | 7112 | display: flex; |
| @@ -7200,8 +7137,13 @@ | ||
| 7200 | 7137 | line-height: 1.4; |
| 7201 | 7138 | color: #757575; |
| 7202 | 7139 | } |
| 7203 | 7140 | |
| 7141 | +.editor-more-menu__popup { | |
| 7142 | + max-height: var(--available-height); | |
| 7143 | + max-width: var(--wpds-dimension-surface-width-sm, 320px); | |
| 7144 | +} | |
| 7145 | + | |
| 7204 | 7146 | .editor-post-parent__panel, |
| 7205 | 7147 | .editor-post-order__panel { |
| 7206 | 7148 | padding-top: 8px; |
| 7207 | 7149 | } |
| @@ -7244,10 +7186,10 @@ | ||
| 7244 | 7186 | .editor-post-card-panel__title { |
| 7245 | 7187 | width: 100%; |
| 7246 | 7188 | } |
| 7247 | 7189 | .editor-post-card-panel__title.editor-post-card-panel__title { |
| 7248 | - font-family: -apple-system, "system-ui", "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; | |
| 7249 | - font-weight: 499; | |
| 7190 | + font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; | |
| 7191 | + font-weight: var(--wpds-typography-font-weight-emphasis, 600); | |
| 7250 | 7192 | font-size: 13px; |
| 7251 | 7193 | line-height: 20px; |
| 7252 | 7194 | margin: 0; |
| 7253 | 7195 | display: flex; |
| @@ -7252,12 +7194,12 @@ | ||
| 7252 | 7194 | margin: 0; |
| 7253 | 7195 | display: flex; |
| 7254 | 7196 | align-items: center; |
| 7255 | 7197 | flex-wrap: wrap; |
| 7256 | - -moz-column-gap: 8px; | |
| 7257 | - column-gap: 8px; | |
| 7198 | + column-gap: 8px; | |
| 7258 | 7199 | row-gap: 4px; |
| 7259 | - word-break: break-word; | |
| 7200 | + word-break: normal; | |
| 7201 | + overflow-wrap: anywhere; | |
| 7260 | 7202 | } |
| 7261 | 7203 | .editor-post-card-panel__icon { |
| 7262 | 7204 | flex: 0 0 24px; |
| 7263 | 7205 | width: 24px; |
| @@ -7346,9 +7288,9 @@ | ||
| 7346 | 7288 | .editor-post-featured-image__toggle, |
| 7347 | 7289 | .editor-post-featured-image__preview { |
| 7348 | 7290 | width: 100%; |
| 7349 | 7291 | padding: 0; |
| 7350 | - box-shadow: 0 0 0 0 var(--wp-admin-theme-color); | |
| 7292 | + border-color: #ccc; | |
| 7351 | 7293 | overflow: hidden; |
| 7352 | 7294 | outline-offset: -1px; |
| 7353 | 7295 | min-height: 40px; |
| 7354 | 7296 | display: flex; |
| @@ -7362,23 +7304,14 @@ | ||
| 7362 | 7304 | background-position: 0 0, 12px 12px; |
| 7363 | 7305 | background-size: 24px 24px; |
| 7364 | 7306 | } |
| 7365 | 7307 | .editor-post-featured-image__preview .editor-post-featured-image__preview-image { |
| 7366 | - -o-object-fit: cover; | |
| 7367 | - object-fit: cover; | |
| 7308 | + object-fit: cover; | |
| 7368 | 7309 | width: 100%; |
| 7369 | - -o-object-position: 50% 50%; | |
| 7370 | - object-position: 50% 50%; | |
| 7310 | + object-position: 50% 50%; | |
| 7371 | 7311 | aspect-ratio: 2/1; |
| 7372 | 7312 | } |
| 7373 | 7313 | |
| 7374 | -.editor-post-featured-image__toggle { | |
| 7375 | - box-shadow: inset 0 0 0 1px #ccc; | |
| 7376 | -} | |
| 7377 | -.editor-post-featured-image__toggle:focus:not(:disabled) { | |
| 7378 | - box-shadow: 0 0 0 currentColor inset, 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color); | |
| 7379 | -} | |
| 7380 | - | |
| 7381 | 7314 | .editor-post-featured-image__actions:not(.editor-post-featured-image__actions-missing-image) { |
| 7382 | 7315 | bottom: 0; |
| 7383 | 7316 | opacity: 0; |
| 7384 | 7317 | padding: 8px; |
| @@ -7415,9 +7348,9 @@ | ||
| 7415 | 7348 | } |
| 7416 | 7349 | |
| 7417 | 7350 | .editor-post-last-revision__title { |
| 7418 | 7351 | width: 100%; |
| 7419 | - font-weight: 499; | |
| 7352 | + font-weight: var(--wpds-typography-font-weight-emphasis, 600); | |
| 7420 | 7353 | } |
| 7421 | 7354 | |
| 7422 | 7355 | .editor-post-last-revision__title.components-button.has-icon { |
| 7423 | 7356 | height: 100%; |
| @@ -7426,9 +7359,9 @@ | ||
| 7426 | 7359 | .editor-post-last-revision__title.components-button.has-icon:hover, .editor-post-last-revision__title.components-button.has-icon:active { |
| 7427 | 7360 | background: #f0f0f0; |
| 7428 | 7361 | } |
| 7429 | 7362 | .editor-post-last-revision__title.components-button.has-icon:focus { |
| 7430 | - 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))); | |
| 7431 | 7364 | border-radius: 0; |
| 7432 | 7365 | } |
| 7433 | 7366 | |
| 7434 | 7367 | .components-panel__body.is-opened.editor-post-last-revision__panel { |
| @@ -7464,9 +7397,10 @@ | ||
| 7464 | 7397 | align-items: center; |
| 7465 | 7398 | padding: 6px 0; |
| 7466 | 7399 | line-height: 20px; |
| 7467 | 7400 | hyphens: auto; |
| 7468 | - word-break: break-word; | |
| 7401 | + word-break: normal; | |
| 7402 | + overflow-wrap: anywhere; | |
| 7469 | 7403 | } |
| 7470 | 7404 | |
| 7471 | 7405 | .editor-post-panel__row-control { |
| 7472 | 7406 | flex-grow: 1; |
| @@ -7481,9 +7415,9 @@ | ||
| 7481 | 7415 | text-wrap: balance; |
| 7482 | 7416 | text-wrap: pretty; |
| 7483 | 7417 | height: auto; |
| 7484 | 7418 | min-height: 32px; |
| 7485 | - font-weight: 400; | |
| 7419 | + font-weight: var(--wpds-typography-font-weight-default, 400); | |
| 7486 | 7420 | } |
| 7487 | 7421 | .editor-post-panel__row-control .components-dropdown { |
| 7488 | 7422 | max-width: 100%; |
| 7489 | 7423 | } |
| @@ -7542,9 +7476,10 @@ | ||
| 7542 | 7476 | .components-site-home { |
| 7543 | 7477 | display: block; |
| 7544 | 7478 | color: #757575; |
| 7545 | 7479 | font-size: 12px; |
| 7546 | - word-break: break-word; | |
| 7480 | + word-break: normal; | |
| 7481 | + overflow-wrap: anywhere; | |
| 7547 | 7482 | } |
| 7548 | 7483 | |
| 7549 | 7484 | .editor-post-publish-panel__header-publish-button, |
| 7550 | 7485 | .editor-post-publish-panel__header-cancel-button { |
| @@ -7565,12 +7500,8 @@ | ||
| 7565 | 7500 | .editor-post-publish-panel__header-cancel-button { |
| 7566 | 7501 | padding-left: 4px; |
| 7567 | 7502 | } |
| 7568 | 7503 | |
| 7569 | -.editor-post-publish-panel__header-published { | |
| 7570 | - flex-grow: 1; | |
| 7571 | -} | |
| 7572 | - | |
| 7573 | 7504 | .editor-post-publish-panel__footer { |
| 7574 | 7505 | padding: 16px; |
| 7575 | 7506 | } |
| 7576 | 7507 | |
| @@ -7600,11 +7531,8 @@ | ||
| 7600 | 7531 | background: #fff; |
| 7601 | 7532 | margin-right: -16px; |
| 7602 | 7533 | margin-left: -16px; |
| 7603 | 7534 | } |
| 7604 | -.editor-post-publish-panel__prepublish .editor-post-visibility__dialog-legend { | |
| 7605 | - display: none; | |
| 7606 | -} | |
| 7607 | 7535 | .editor-post-publish-panel__prepublish .components-panel__body-title .components-button { |
| 7608 | 7536 | align-items: flex-start; |
| 7609 | 7537 | text-wrap: balance; |
| 7610 | 7538 | text-wrap: pretty; |
| @@ -7612,9 +7540,10 @@ | ||
| 7612 | 7540 | |
| 7613 | 7541 | .post-publish-panel__postpublish .components-panel__body { |
| 7614 | 7542 | border-bottom: 1px solid #e0e0e0; |
| 7615 | 7543 | border-top: none; |
| 7616 | - word-break: break-word; | |
| 7544 | + word-break: normal; | |
| 7545 | + overflow-wrap: anywhere; | |
| 7617 | 7546 | } |
| 7618 | 7547 | |
| 7619 | 7548 | .post-publish-panel__postpublish-buttons { |
| 7620 | 7549 | display: flex; |
| @@ -7654,9 +7583,9 @@ | ||
| 7654 | 7583 | margin-right: 16px; |
| 7655 | 7584 | } |
| 7656 | 7585 | |
| 7657 | 7586 | .post-publish-panel__postpublish-header { |
| 7658 | - font-weight: 499; | |
| 7587 | + font-weight: var(--wpds-typography-font-weight-emphasis, 600); | |
| 7659 | 7588 | } |
| 7660 | 7589 | |
| 7661 | 7590 | .post-publish-panel__postpublish-subheader { |
| 7662 | 7591 | margin: 0 0 8px; |
| @@ -7661,17 +7590,8 @@ | ||
| 7661 | 7590 | .post-publish-panel__postpublish-subheader { |
| 7662 | 7591 | margin: 0 0 8px; |
| 7663 | 7592 | } |
| 7664 | 7593 | |
| 7665 | -.post-publish-panel__tip { | |
| 7666 | - color: #f0b849; | |
| 7667 | -} | |
| 7668 | - | |
| 7669 | -@media screen and (max-width: 782px) { | |
| 7670 | - .post-publish-panel__postpublish-post-address__button-wrap .components-button { | |
| 7671 | - height: 40px; | |
| 7672 | - } | |
| 7673 | -} | |
| 7674 | 7594 | .editor-post-publish-panel { |
| 7675 | 7595 | box-sizing: border-box; |
| 7676 | 7596 | } |
| 7677 | 7597 | .editor-post-publish-panel *, |
| @@ -7705,9 +7625,9 @@ | ||
| 7705 | 7625 | } |
| 7706 | 7626 | } |
| 7707 | 7627 | @media (min-width: 782px) { |
| 7708 | 7628 | body.is-fullscreen-mode .editor-post-publish-panel { |
| 7709 | - top: 0; | |
| 7629 | + top: var(--wp-admin--admin-bar--height, 0); | |
| 7710 | 7630 | } |
| 7711 | 7631 | [role=region]:focus .editor-post-publish-panel { |
| 7712 | 7632 | transform: translateX(0%); |
| 7713 | 7633 | } |
| @@ -7745,8 +7665,103 @@ | ||
| 7745 | 7665 | flex: 1; |
| 7746 | 7666 | min-width: 0; |
| 7747 | 7667 | } |
| 7748 | 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 | + | |
| 7749 | 7764 | .revision-diff-markers { |
| 7750 | 7765 | position: relative; |
| 7751 | 7766 | flex-shrink: 0; |
| 7752 | 7767 | width: max(16px, 1rem); |
| @@ -7782,9 +7797,10 @@ | ||
| 7782 | 7797 | display: flex; |
| 7783 | 7798 | flex-direction: column; |
| 7784 | 7799 | overflow: hidden; |
| 7785 | 7800 | } |
| 7786 | -.interface-complementary-area:has(.editor-post-revisions-timeline) .editor-sidebar__panel-tabs { | |
| 7801 | + | |
| 7802 | +.interface-complementary-area > .editor-sidebar__panel-tabs { | |
| 7787 | 7803 | flex-shrink: 0; |
| 7788 | 7804 | } |
| 7789 | 7805 | |
| 7790 | 7806 | .editor-sidebar__panel:has(.editor-post-revisions-timeline) { |
| @@ -7792,25 +7808,29 @@ | ||
| 7792 | 7808 | flex-direction: column; |
| 7793 | 7809 | flex: 1; |
| 7794 | 7810 | min-height: 0; |
| 7795 | 7811 | } |
| 7796 | -.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) { | |
| 7797 | 7814 | display: flex; |
| 7798 | 7815 | flex-direction: column; |
| 7799 | 7816 | flex: 1; |
| 7800 | 7817 | min-height: 0; |
| 7801 | 7818 | } |
| 7802 | -.editor-sidebar__panel:has(.editor-post-revisions-timeline) .editor-revision-meta-diff__content { | |
| 7819 | + | |
| 7820 | +.editor-sidebar__panel .editor-revision-meta-diff__content { | |
| 7803 | 7821 | max-height: 80px; |
| 7804 | 7822 | overflow-y: auto; |
| 7805 | 7823 | } |
| 7806 | -.editor-sidebar__panel:has(.editor-post-revisions-timeline) .editor-post-revisions-timeline { | |
| 7824 | + | |
| 7825 | +.editor-sidebar__panel .editor-post-revisions-timeline { | |
| 7807 | 7826 | flex: 1; |
| 7808 | 7827 | min-height: 0; |
| 7809 | 7828 | } |
| 7810 | 7829 | |
| 7811 | 7830 | .editor-revision-fields-diff__value { |
| 7812 | - word-break: break-word; | |
| 7831 | + word-break: normal; | |
| 7832 | + overflow-wrap: anywhere; | |
| 7813 | 7833 | } |
| 7814 | 7834 | |
| 7815 | 7835 | .editor-revision-fields-diff__added { |
| 7816 | 7836 | background-color: color-mix(in srgb, currentColor 5%, #00a32a 15%); |
| @@ -7864,8 +7884,14 @@ | ||
| 7864 | 7884 | min-width: 320px; |
| 7865 | 7885 | padding: 16px; |
| 7866 | 7886 | } |
| 7867 | 7887 | |
| 7888 | +.editor-post-schedule__reset { | |
| 7889 | + justify-content: center; | |
| 7890 | + margin-top: 16px; | |
| 7891 | + width: 100%; | |
| 7892 | +} | |
| 7893 | + | |
| 7868 | 7894 | .editor-post-status { |
| 7869 | 7895 | max-width: 100%; |
| 7870 | 7896 | } |
| 7871 | 7897 | .editor-post-status.is-read-only { |
| @@ -7918,8 +7944,13 @@ | ||
| 7918 | 7944 | .editor-post-taxonomies__hierarchical-terms-choice:last-child { |
| 7919 | 7945 | margin-bottom: 4px; |
| 7920 | 7946 | } |
| 7921 | 7947 | |
| 7948 | +.editor-post-taxonomies__hierarchical-terms-add, | |
| 7949 | +.editor-post-taxonomies__hierarchical-terms-submit { | |
| 7950 | + align-self: flex-start; | |
| 7951 | +} | |
| 7952 | + | |
| 7922 | 7953 | .editor-post-taxonomies__hierarchical-terms-subchoices { |
| 7923 | 7954 | margin-top: 8px; |
| 7924 | 7955 | margin-right: 16px; |
| 7925 | 7956 | } |
| @@ -7965,29 +7996,24 @@ | ||
| 7965 | 7996 | z-index: 1000001; |
| 7966 | 7997 | } |
| 7967 | 7998 | |
| 7968 | 7999 | .editor-post-template__swap-template-modal-content .block-editor-block-patterns-list { |
| 7969 | - -moz-column-count: 2; | |
| 7970 | - column-count: 2; | |
| 7971 | - -moz-column-gap: 24px; | |
| 7972 | - column-gap: 24px; | |
| 8000 | + column-count: 2; | |
| 8001 | + column-gap: 24px; | |
| 7973 | 8002 | padding-top: 2px; |
| 7974 | 8003 | } |
| 7975 | 8004 | @media (min-width: 782px) { |
| 7976 | 8005 | .editor-post-template__swap-template-modal-content .block-editor-block-patterns-list { |
| 7977 | - -moz-column-count: 3; | |
| 7978 | - column-count: 3; | |
| 8006 | + column-count: 3; | |
| 7979 | 8007 | } |
| 7980 | 8008 | } |
| 7981 | 8009 | @media (min-width: 1280px) { |
| 7982 | 8010 | .editor-post-template__swap-template-modal-content .block-editor-block-patterns-list { |
| 7983 | - -moz-column-count: 4; | |
| 7984 | - column-count: 4; | |
| 8011 | + column-count: 4; | |
| 7985 | 8012 | } |
| 7986 | 8013 | } |
| 7987 | 8014 | .editor-post-template__swap-template-modal-content .block-editor-block-patterns-list .block-editor-block-patterns-list__list-item { |
| 7988 | - -moz-column-break-inside: avoid; | |
| 7989 | - break-inside: avoid-column; | |
| 8015 | + break-inside: avoid-column; | |
| 7990 | 8016 | } |
| 7991 | 8017 | |
| 7992 | 8018 | .editor-post-template__dropdown .components-popover__content { |
| 7993 | 8019 | min-width: 240px; |
| @@ -8042,9 +8068,10 @@ | ||
| 8042 | 8068 | margin: 0; |
| 8043 | 8069 | width: 100%; |
| 8044 | 8070 | box-shadow: none; |
| 8045 | 8071 | resize: none; |
| 8046 | - overflow: hidden; | |
| 8072 | + field-sizing: content; | |
| 8073 | + overflow: auto; | |
| 8047 | 8074 | font-family: Menlo, Consolas, monaco, monospace; |
| 8048 | 8075 | line-height: 2.4; |
| 8049 | 8076 | min-height: 200px; |
| 8050 | 8077 | } |
| @@ -8074,11 +8101,8 @@ | ||
| 8074 | 8101 | border-color: var(--wp-admin-theme-color); |
| 8075 | 8102 | box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color); |
| 8076 | 8103 | position: relative; |
| 8077 | 8104 | } |
| 8078 | -textarea.editor-post-text-editor::-moz-placeholder { | |
| 8079 | - color: rgba(30, 30, 30, 0.62); | |
| 8080 | -} | |
| 8081 | 8105 | textarea.editor-post-text-editor::placeholder { |
| 8082 | 8106 | color: rgba(30, 30, 30, 0.62); |
| 8083 | 8107 | } |
| 8084 | 8108 | |
| @@ -8098,9 +8122,10 @@ | ||
| 8098 | 8122 | } |
| 8099 | 8123 | .editor-post-url__link, |
| 8100 | 8124 | .editor-post-url__front-page-link { |
| 8101 | 8125 | direction: ltr; |
| 8102 | - word-break: break-word; | |
| 8126 | + word-break: normal; | |
| 8127 | + overflow-wrap: anywhere; | |
| 8103 | 8128 | } |
| 8104 | 8129 | .editor-post-url__front-page-link { |
| 8105 | 8130 | padding: 6px 12px; |
| 8106 | 8131 | border-radius: 2px; |
| @@ -8116,9 +8141,9 @@ | ||
| 8116 | 8141 | outline: 3px solid rgba(0, 0, 0, 0); |
| 8117 | 8142 | } |
| 8118 | 8143 | |
| 8119 | 8144 | .editor-post-url__link-slug { |
| 8120 | - font-weight: 600; | |
| 8145 | + font-weight: var(--wpds-typography-font-weight-emphasis, 600); | |
| 8121 | 8146 | } |
| 8122 | 8147 | |
| 8123 | 8148 | .editor-post-url__input input.components-input-control__input { |
| 8124 | 8149 | padding-inline-start: 0 !important; |
| @@ -8125,9 +8150,10 @@ | ||
| 8125 | 8150 | } |
| 8126 | 8151 | |
| 8127 | 8152 | .editor-post-url__panel-toggle, |
| 8128 | 8153 | .editor-post-parent__panel-toggle { |
| 8129 | - word-break: break-word; | |
| 8154 | + word-break: normal; | |
| 8155 | + overflow-wrap: anywhere; | |
| 8130 | 8156 | } |
| 8131 | 8157 | |
| 8132 | 8158 | .editor-post-url__intro { |
| 8133 | 8159 | margin: 0; |
| @@ -8150,17 +8176,19 @@ | ||
| 8150 | 8176 | flex-grow: 1; |
| 8151 | 8177 | justify-content: center; |
| 8152 | 8178 | } |
| 8153 | 8179 | |
| 8154 | -.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 { | |
| 8155 | 8185 | padding-left: 4px; |
| 8156 | 8186 | padding-right: 6px; |
| 8157 | 8187 | } |
| 8158 | 8188 | |
| 8159 | -.editor-preview-dropdown__button-external { | |
| 8160 | - width: 100%; | |
| 8161 | - display: flex; | |
| 8162 | - justify-content: space-between; | |
| 8189 | +.editor-preview-dropdown__toggle.is-responsive-editing { | |
| 8190 | + color: var(--wp-block-synced-color); | |
| 8163 | 8191 | } |
| 8164 | 8192 | |
| 8165 | 8193 | @media (prefers-reduced-motion: no-preference) { |
| 8166 | 8194 | .editor-resizable-editor:not(.is-resizing) { |
| @@ -8179,11 +8207,9 @@ | ||
| 8179 | 8207 | bottom: 0; |
| 8180 | 8208 | padding: 0; |
| 8181 | 8209 | margin: auto 0; |
| 8182 | 8210 | width: 12px; |
| 8183 | - -webkit-appearance: none; | |
| 8184 | - -moz-appearance: none; | |
| 8185 | - appearance: none; | |
| 8211 | + appearance: none; | |
| 8186 | 8212 | cursor: ew-resize; |
| 8187 | 8213 | outline: none; |
| 8188 | 8214 | background: none; |
| 8189 | 8215 | border-radius: 9999px; |
| @@ -8213,8 +8239,22 @@ | ||
| 8213 | 8239 | .editor-resizable-editor__resize-handle:hover::after, .editor-resizable-editor__resize-handle:focus::after, .editor-resizable-editor__resize-handle:active::after { |
| 8214 | 8240 | background-color: var(--wp-admin-theme-color); |
| 8215 | 8241 | } |
| 8216 | 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 | + | |
| 8217 | 8257 | .editor-layout__toggle-publish-panel, |
| 8218 | 8258 | .editor-layout__toggle-sidebar-panel, |
| 8219 | 8259 | .editor-layout__toggle-entities-saved-states-panel { |
| 8220 | 8260 | z-index: 100000; |
| @@ -8245,12 +8285,12 @@ | ||
| 8245 | 8285 | bottom: 0; |
| 8246 | 8286 | width: 100%; |
| 8247 | 8287 | height: 72px; |
| 8248 | 8288 | background-color: #fff; |
| 8249 | - margin-right: -32px; | |
| 8250 | - margin-left: -32px; | |
| 8251 | - padding-right: 32px; | |
| 8252 | - padding-left: 32px; | |
| 8289 | + margin-right: -24px; | |
| 8290 | + margin-left: -24px; | |
| 8291 | + padding-right: 24px; | |
| 8292 | + padding-left: 24px; | |
| 8253 | 8293 | border-top: 1px solid #ddd; |
| 8254 | 8294 | z-index: 1; |
| 8255 | 8295 | } |
| 8256 | 8296 | .editor-start-page-options__modal .block-editor-block-patterns-list { |
| @@ -8255,30 +8295,51 @@ | ||
| 8255 | 8295 | } |
| 8256 | 8296 | .editor-start-page-options__modal .block-editor-block-patterns-list { |
| 8257 | 8297 | padding-bottom: 72px; |
| 8258 | 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 | +} | |
| 8259 | 8315 | |
| 8260 | -.editor-start-page-options__modal-content .block-editor-block-patterns-list { | |
| 8261 | - -moz-column-count: 2; | |
| 8262 | - column-count: 2; | |
| 8263 | - -moz-column-gap: 24px; | |
| 8264 | - column-gap: 24px; | |
| 8316 | +.editor-start-page-options__modal-content { | |
| 8317 | + container-type: inline-size; | |
| 8265 | 8318 | } |
| 8319 | + | |
| 8266 | 8320 | @media (min-width: 782px) { |
| 8267 | - .editor-start-page-options__modal-content .block-editor-block-patterns-list { | |
| 8268 | - -moz-column-count: 3; | |
| 8269 | - column-count: 3; | |
| 8321 | + .editor-start-page-options__modal-content.has-pattern-categories { | |
| 8322 | + margin-right: 280px; | |
| 8270 | 8323 | } |
| 8271 | 8324 | } |
| 8272 | -@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) { | |
| 8273 | 8336 | .editor-start-page-options__modal-content .block-editor-block-patterns-list { |
| 8274 | - -moz-column-count: 4; | |
| 8275 | - column-count: 4; | |
| 8337 | + columns: 4 220px; | |
| 8276 | 8338 | } |
| 8277 | 8339 | } |
| 8278 | 8340 | .editor-start-page-options__modal-content .block-editor-block-patterns-list .block-editor-block-patterns-list__list-item { |
| 8279 | - -moz-column-break-inside: avoid; | |
| 8280 | - break-inside: avoid-column; | |
| 8341 | + break-inside: avoid-column; | |
| 8281 | 8342 | margin-bottom: 24px; |
| 8282 | 8343 | } |
| 8283 | 8344 | .editor-start-page-options__modal-content .block-editor-block-patterns-list .block-editor-block-patterns-list__list-item .block-editor-block-preview__container { |
| 8284 | 8345 | min-height: 100px; |
| @@ -8292,12 +8353,12 @@ | ||
| 8292 | 8353 | bottom: 0; |
| 8293 | 8354 | width: 100%; |
| 8294 | 8355 | height: 92px; |
| 8295 | 8356 | background-color: #fff; |
| 8296 | - margin-right: -32px; | |
| 8297 | - margin-left: -32px; | |
| 8298 | - padding-right: 32px; | |
| 8299 | - padding-left: 32px; | |
| 8357 | + margin-right: -24px; | |
| 8358 | + margin-left: -24px; | |
| 8359 | + padding-right: 24px; | |
| 8360 | + padding-left: 24px; | |
| 8300 | 8361 | border-top: 1px solid #ddd; |
| 8301 | 8362 | z-index: 1; |
| 8302 | 8363 | } |
| 8303 | 8364 | .editor-start-template-options__modal .block-editor-block-patterns-list { |
| @@ -8304,28 +8365,18 @@ | ||
| 8304 | 8365 | padding-bottom: 92px; |
| 8305 | 8366 | } |
| 8306 | 8367 | |
| 8307 | 8368 | .editor-start-template-options__modal-content .block-editor-block-patterns-list { |
| 8308 | - -moz-column-count: 2; | |
| 8309 | - column-count: 2; | |
| 8310 | - -moz-column-gap: 24px; | |
| 8311 | - column-gap: 24px; | |
| 8369 | + column-count: 2; | |
| 8370 | + column-gap: 24px; | |
| 8312 | 8371 | } |
| 8313 | 8372 | @media (min-width: 782px) { |
| 8314 | 8373 | .editor-start-template-options__modal-content .block-editor-block-patterns-list { |
| 8315 | - -moz-column-count: 3; | |
| 8316 | - column-count: 3; | |
| 8374 | + columns: 4 220px; | |
| 8317 | 8375 | } |
| 8318 | 8376 | } |
| 8319 | -@media (min-width: 1280px) { | |
| 8320 | - .editor-start-template-options__modal-content .block-editor-block-patterns-list { | |
| 8321 | - -moz-column-count: 4; | |
| 8322 | - column-count: 4; | |
| 8323 | - } | |
| 8324 | -} | |
| 8325 | 8377 | .editor-start-template-options__modal-content .block-editor-block-patterns-list .block-editor-block-patterns-list__list-item { |
| 8326 | - -moz-column-break-inside: avoid; | |
| 8327 | - break-inside: avoid-column; | |
| 8378 | + break-inside: avoid-column; | |
| 8328 | 8379 | } |
| 8329 | 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 { |
| 8330 | 8381 | display: none; |
| 8331 | 8382 | } |
| @@ -8376,13 +8427,8 @@ | ||
| 8376 | 8427 | } |
| 8377 | 8428 | .editor-style-book.is-button { |
| 8378 | 8429 | border-radius: 8px; |
| 8379 | 8430 | } |
| 8380 | -.editor-style-book { | |
| 8381 | - display: flex; | |
| 8382 | - flex-direction: column; | |
| 8383 | - align-items: stretch; | |
| 8384 | -} | |
| 8385 | 8431 | |
| 8386 | 8432 | .editor-style-book__iframe { |
| 8387 | 8433 | display: block; |
| 8388 | 8434 | height: 100%; |
| @@ -8395,8 +8441,14 @@ | ||
| 8395 | 8441 | outline: calc(2 * var(--wp-admin-border-width-focus)) solid var(--wp-admin-theme-color); |
| 8396 | 8442 | outline-offset: calc(-2 * var(--wp-admin-border-width-focus)); |
| 8397 | 8443 | } |
| 8398 | 8444 | |
| 8445 | +.editor-style-book__tabs { | |
| 8446 | + height: 100%; | |
| 8447 | + display: flex; | |
| 8448 | + flex-direction: column; | |
| 8449 | +} | |
| 8450 | + | |
| 8399 | 8451 | .editor-style-book__tablist-container { |
| 8400 | 8452 | flex: none; |
| 8401 | 8453 | display: flex; |
| 8402 | 8454 | width: 100%; |
| @@ -8418,8 +8470,11 @@ | ||
| 8418 | 8470 | display: block; |
| 8419 | 8471 | width: 100%; |
| 8420 | 8472 | height: 100%; |
| 8421 | 8473 | } |
| 8474 | +.editor-styles-canvas.is-preview-mode { | |
| 8475 | + padding: 0; | |
| 8476 | +} | |
| 8422 | 8477 | |
| 8423 | 8478 | .editor-styles-canvas__section { |
| 8424 | 8479 | background: #fff; |
| 8425 | 8480 | bottom: 0; |
| @@ -8508,9 +8563,9 @@ | ||
| 8508 | 8563 | .table-of-contents__title { |
| 8509 | 8564 | display: block; |
| 8510 | 8565 | margin-top: 20px; |
| 8511 | 8566 | font-size: 15px; |
| 8512 | - font-weight: 600; | |
| 8567 | + font-weight: var(--wpds-typography-font-weight-emphasis, 600); | |
| 8513 | 8568 | } |
| 8514 | 8569 | |
| 8515 | 8570 | .editor-text-editor { |
| 8516 | 8571 | box-sizing: border-box; |
| @@ -8532,9 +8587,9 @@ | ||
| 8532 | 8587 | max-width: none; |
| 8533 | 8588 | line-height: 1.4; |
| 8534 | 8589 | font-family: Menlo, Consolas, monaco, monospace; |
| 8535 | 8590 | font-size: 2.5em; |
| 8536 | - font-weight: normal; | |
| 8591 | + font-weight: 400; | |
| 8537 | 8592 | border: 1px solid #949494; |
| 8538 | 8593 | border-radius: 0; |
| 8539 | 8594 | padding: 16px; |
| 8540 | 8595 | } |
| @@ -8618,9 +8673,11 @@ | ||
| 8618 | 8673 | .editor-visual-editor iframe[name=editor-canvas] { |
| 8619 | 8674 | background-color: transparent; |
| 8620 | 8675 | } |
| 8621 | 8676 | .editor-visual-editor { |
| 8677 | + flex-direction: column; | |
| 8622 | 8678 | align-items: center; |
| 8679 | + justify-content: center; | |
| 8623 | 8680 | } |
| 8624 | 8681 | @media (prefers-reduced-motion: no-preference) { |
| 8625 | 8682 | .editor-visual-editor { |
| 8626 | 8683 | transition: padding 0.2s ease-out; |
| @@ -8633,13 +8690,13 @@ | ||
| 8633 | 8690 | .editor-visual-editor.has-horizontal-padding { |
| 8634 | 8691 | padding-right: 24px; |
| 8635 | 8692 | padding-left: 24px; |
| 8636 | 8693 | } |
| 8637 | -.editor-visual-editor.is-iframed { | |
| 8694 | +.editor-visual-editor { | |
| 8638 | 8695 | overflow: hidden; |
| 8639 | 8696 | } |
| 8640 | 8697 | .editor-visual-editor .components-button { |
| 8641 | - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; | |
| 8698 | + font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; | |
| 8642 | 8699 | font-size: 13px; |
| 8643 | 8700 | padding: 6px 12px; |
| 8644 | 8701 | } |
| 8645 | 8702 | .editor-visual-editor .components-button.is-tertiary, .editor-visual-editor .components-button.has-icon { |
| @@ -8668,5 +8725,29 @@ | ||
| 8668 | 8725 | |
| 8669 | 8726 | .editor-push-changes-to-global-styles-control .components-button { |
| 8670 | 8727 | justify-content: center; |
| 8671 | 8728 | width: 100%; |
| 8729 | +} | |
| 8730 | + | |
| 8731 | +.editor-push-changes-to-global-styles-modal p { | |
| 8732 | + margin-top: 0; | |
| 8733 | +} | |
| 8734 | + | |
| 8735 | +.editor-push-changes-to-global-styles-modal .dataviews-layout__container { | |
| 8736 | + overflow-x: hidden; | |
| 8737 | +} | |
| 8738 | +@media (max-width: 600px) { | |
| 8739 | + .editor-push-changes-to-global-styles-modal .dataviews-layout__container { | |
| 8740 | + overflow-x: auto; | |
| 8741 | + } | |
| 8742 | +} | |
| 8743 | +.editor-push-changes-to-global-styles-modal .components-modal__content { | |
| 8744 | + padding-bottom: 0; | |
| 8745 | +} | |
| 8746 | +.editor-push-changes-to-global-styles-modal .dataviews-footer { | |
| 8747 | + padding-bottom: 24px; | |
| 8748 | +} | |
| 8749 | + | |
| 8750 | +.editor-push-changes-to-global-styles-modal__value { | |
| 8751 | + color: #1e1e1e; | |
| 8752 | + overflow-wrap: anywhere; | |
| 8672 | 8753 | } |