| @@ -68,8 +68,14 @@ | ||
| 68 | 68 | /** |
| 69 | 69 | * Focus styles. |
| 70 | 70 | */ |
| 71 | 71 | /** |
| 72 | + * Standard focus rings for the WordPress Design System. | |
| 73 | + * | |
| 74 | + * Apply `outset-ring__focus` inside the relevant pseudo-class at the call site, | |
| 75 | + * e.g. `&:focus { @include outset-ring__focus(); }`. | |
| 76 | + */ | |
| 77 | +/** | |
| 72 | 78 | * Applies editor left position to the selector passed as argument |
| 73 | 79 | */ |
| 74 | 80 | /** |
| 75 | 81 | * Styles that are reused verbatim in a few places |
| @@ -186,8 +192,14 @@ | ||
| 186 | 192 | /** |
| 187 | 193 | * Focus styles. |
| 188 | 194 | */ |
| 189 | 195 | /** |
| 196 | + * Standard focus rings for the WordPress Design System. | |
| 197 | + * | |
| 198 | + * Apply `outset-ring__focus` inside the relevant pseudo-class at the call site, | |
| 199 | + * e.g. `&:focus { @include outset-ring__focus(); }`. | |
| 200 | + */ | |
| 201 | +/** | |
| 190 | 202 | * Applies editor left position to the selector passed as argument |
| 191 | 203 | */ |
| 192 | 204 | /** |
| 193 | 205 | * Styles that are reused verbatim in a few places |
| @@ -210,8 +222,9 @@ | ||
| 210 | 222 | background: #fff; |
| 211 | 223 | color: #1e1e1e; |
| 212 | 224 | height: 100%; |
| 213 | 225 | overflow: auto; |
| 226 | + width: 100vw; | |
| 214 | 227 | } |
| 215 | 228 | |
| 216 | 229 | @media (min-width: 782px) { |
| 217 | 230 | .interface-complementary-area { |
| @@ -239,9 +252,9 @@ | ||
| 239 | 252 | } |
| 240 | 253 | |
| 241 | 254 | .interface-complementary-area h2 { |
| 242 | 255 | font-size: 13px; |
| 243 | - font-weight: 499; | |
| 256 | + font-weight: var(--wpds-typography-font-weight-emphasis, 600); | |
| 244 | 257 | color: #1e1e1e; |
| 245 | 258 | margin-bottom: 1.5em; |
| 246 | 259 | } |
| 247 | 260 | |
| @@ -247,9 +260,9 @@ | ||
| 247 | 260 | |
| 248 | 261 | .interface-complementary-area h3 { |
| 249 | 262 | font-size: 11px; |
| 250 | 263 | text-transform: uppercase; |
| 251 | - font-weight: 499; | |
| 264 | + font-weight: var(--wpds-typography-font-weight-emphasis, 600); | |
| 252 | 265 | color: #1e1e1e; |
| 253 | 266 | margin-bottom: 1.5em; |
| 254 | 267 | } |
| 255 | 268 | |
| @@ -281,14 +294,9 @@ | ||
| 281 | 294 | height: 100%; |
| 282 | 295 | } |
| 283 | 296 | |
| 284 | 297 | @media (min-width: 782px) { |
| 285 | - body.js.is-fullscreen-mode { | |
| 286 | - margin-top: -32px; | |
| 287 | - height: calc(100% + 32px); | |
| 288 | - } | |
| 289 | - body.js.is-fullscreen-mode #adminmenumain, | |
| 290 | - body.js.is-fullscreen-mode #wpadminbar { | |
| 298 | + body.js.is-fullscreen-mode #adminmenumain { | |
| 291 | 299 | display: none; |
| 292 | 300 | } |
| 293 | 301 | body.js.is-fullscreen-mode #wpcontent, |
| 294 | 302 | body.js.is-fullscreen-mode #wpfooter { |
| @@ -322,9 +330,9 @@ | ||
| 322 | 330 | .interface-interface-skeleton { |
| 323 | 331 | top: 32px; |
| 324 | 332 | } |
| 325 | 333 | .is-fullscreen-mode .interface-interface-skeleton { |
| 326 | - top: 0; | |
| 334 | + top: var(--wp-admin--admin-bar--height, 0); | |
| 327 | 335 | } |
| 328 | 336 | } |
| 329 | 337 | .interface-interface-skeleton__editor { |
| 330 | 338 | display: flex; |
| @@ -377,9 +385,9 @@ | ||
| 377 | 385 | } |
| 378 | 386 | |
| 379 | 387 | @media (min-width: 782px) { |
| 380 | 388 | .has-footer .interface-interface-skeleton__body { |
| 381 | - padding-bottom: 25px; | |
| 389 | + padding-bottom: calc(var(--wpds-dimension-size-md, 32px) + 1px); | |
| 382 | 390 | } |
| 383 | 391 | } |
| 384 | 392 | .interface-interface-skeleton__content { |
| 385 | 393 | flex-grow: 1; |
| @@ -466,9 +474,9 @@ | ||
| 466 | 474 | .interface-interface-skeleton__footer .block-editor-block-breadcrumb { |
| 467 | 475 | z-index: 30; |
| 468 | 476 | display: flex; |
| 469 | 477 | background: #fff; |
| 470 | - height: 24px; | |
| 478 | + height: var(--wpds-dimension-size-md, 32px); | |
| 471 | 479 | align-items: center; |
| 472 | 480 | font-size: 13px; |
| 473 | 481 | padding: 0 18px; |
| 474 | 482 | } |
| @@ -504,9 +512,9 @@ | ||
| 504 | 512 | border-left: 1px solid #ddd; |
| 505 | 513 | top: 32px; |
| 506 | 514 | } |
| 507 | 515 | .is-fullscreen-mode .is-entity-save-view-open .interface-interface-skeleton__actions:focus, .is-fullscreen-mode .is-entity-save-view-open .interface-interface-skeleton__actions:focus-within { |
| 508 | - top: 0; | |
| 516 | + top: var(--wp-admin--admin-bar--height, 0); | |
| 509 | 517 | } |
| 510 | 518 | } |
| 511 | 519 | .interface-pinned-items { |
| 512 | 520 | display: flex; |
| @@ -604,8 +612,14 @@ | ||
| 604 | 612 | /** |
| 605 | 613 | * Focus styles. |
| 606 | 614 | */ |
| 607 | 615 | /** |
| 616 | + * Standard focus rings for the WordPress Design System. | |
| 617 | + * | |
| 618 | + * Apply `outset-ring__focus` inside the relevant pseudo-class at the call site, | |
| 619 | + * e.g. `&:focus { @include outset-ring__focus(); }`. | |
| 620 | + */ | |
| 621 | +/** | |
| 608 | 622 | * Applies editor left position to the selector passed as argument |
| 609 | 623 | */ |
| 610 | 624 | /** |
| 611 | 625 | * Styles that are reused verbatim in a few places |
| @@ -639,9 +653,9 @@ | ||
| 639 | 653 | } |
| 640 | 654 | |
| 641 | 655 | .font-library-modal .font-library__subtitle { |
| 642 | 656 | text-transform: uppercase; |
| 643 | - font-weight: 499; | |
| 657 | + font-weight: var(--wpds-typography-font-weight-emphasis, 600); | |
| 644 | 658 | font-size: 11px; |
| 645 | 659 | } |
| 646 | 660 | |
| 647 | 661 | .font-library-modal__tab-panel { |
| @@ -679,9 +693,9 @@ | ||
| 679 | 693 | .font-library__footer { |
| 680 | 694 | position: absolute; |
| 681 | 695 | width: 100%; |
| 682 | 696 | bottom: 0; |
| 683 | - border-top: 1px solid #ddd; | |
| 697 | + border-top: 1px solid var(--wpds-color-stroke-surface-neutral, #dbdbdb); | |
| 684 | 698 | padding: 24px; |
| 685 | 699 | background-color: #fff; |
| 686 | 700 | box-sizing: border-box; |
| 687 | 701 | flex-grow: 0 !important; |
| @@ -690,22 +704,26 @@ | ||
| 690 | 704 | } |
| 691 | 705 | |
| 692 | 706 | .font-library__page-selection { |
| 693 | 707 | font-size: 11px; |
| 694 | - font-weight: 499; | |
| 708 | + font-weight: var(--wpds-typography-font-weight-emphasis, 600); | |
| 695 | 709 | text-transform: uppercase; |
| 696 | 710 | } |
| 697 | 711 | |
| 698 | 712 | @media (min-width: 600px) { |
| 699 | - .font-library__page-selection .font-library__page-selection-trigger { | |
| 713 | + .font-library__page-selection .components-select-control__input { | |
| 700 | 714 | font-size: 11px !important; |
| 701 | - font-weight: 499; | |
| 715 | + font-weight: var(--wpds-typography-font-weight-emphasis, 600); | |
| 702 | 716 | } |
| 703 | 717 | } |
| 718 | +.font-library__search { | |
| 719 | + width: 240px; | |
| 720 | +} | |
| 721 | + | |
| 704 | 722 | .font-library__fonts-title { |
| 705 | 723 | text-transform: uppercase; |
| 706 | 724 | font-size: 11px; |
| 707 | - font-weight: 600; | |
| 725 | + font-weight: var(--wpds-typography-font-weight-emphasis, 600); | |
| 708 | 726 | margin-top: 0; |
| 709 | 727 | margin-bottom: 0; |
| 710 | 728 | } |
| 711 | 729 | |
| @@ -719,11 +737,15 @@ | ||
| 719 | 737 | .font-library__fonts-list-item { |
| 720 | 738 | margin-bottom: 0; |
| 721 | 739 | } |
| 722 | 740 | |
| 741 | +.font-library__font-demo { | |
| 742 | + position: relative; | |
| 743 | +} | |
| 744 | + | |
| 723 | 745 | .font-library__font-card { |
| 724 | 746 | box-sizing: border-box; |
| 725 | - border: 1px solid #ddd; | |
| 747 | + border: 1px solid var(--wpds-color-stroke-surface-neutral, #dbdbdb); | |
| 726 | 748 | width: 100%; |
| 727 | 749 | height: auto !important; |
| 728 | 750 | padding: 16px; |
| 729 | 751 | margin-top: -1px; /* To collapse the margin with the previous element */ |
| @@ -737,13 +759,13 @@ | ||
| 737 | 759 | position: relative; |
| 738 | 760 | } |
| 739 | 761 | |
| 740 | 762 | .font-library__font-card .font-library__font-card__name { |
| 741 | - font-weight: bold; | |
| 763 | + font-weight: 700; | |
| 742 | 764 | } |
| 743 | 765 | |
| 744 | 766 | .font-library__font-card .font-library__font-card__count { |
| 745 | - color: #757575; | |
| 767 | + color: var(--wpds-color-foreground-content-neutral-weak, #707070); | |
| 746 | 768 | } |
| 747 | 769 | |
| 748 | 770 | .font-library__font-card .font-library__font-variant_demo-image { |
| 749 | 771 | display: block; |
| @@ -750,8 +772,25 @@ | ||
| 750 | 772 | height: 24px; |
| 751 | 773 | width: auto; |
| 752 | 774 | } |
| 753 | 775 | |
| 776 | +@media not (prefers-reduced-motion) { | |
| 777 | + .font-library__font-card .font-library__font-variant_demo-image { | |
| 778 | + transition: opacity var(--wpds-motion-duration-lg, 300ms) var(--wpds-motion-easing-subtle, cubic-bezier(0.15, 0, 0.15, 1)); | |
| 779 | + } | |
| 780 | +} | |
| 781 | +.font-library__font-card .font-library__font-variant_demo-image.is-loading { | |
| 782 | + position: absolute; | |
| 783 | + top: 0; | |
| 784 | + left: 0; | |
| 785 | + opacity: 0; | |
| 786 | +} | |
| 787 | + | |
| 788 | +.font-library__font-card .font-library__font-variant-demo-skeleton { | |
| 789 | + height: 24px; | |
| 790 | + border-radius: var(--wpds-border-radius-sm, 2px); | |
| 791 | +} | |
| 792 | + | |
| 754 | 793 | .font-library__font-card .font-library__font-variant_demo-text { |
| 755 | 794 | white-space: nowrap; |
| 756 | 795 | flex-shrink: 0; |
| 757 | 796 | } |
| @@ -763,9 +802,9 @@ | ||
| 763 | 802 | } |
| 764 | 803 | .font-library-modal__tablist-container { |
| 765 | 804 | position: sticky; |
| 766 | 805 | top: 0; |
| 767 | - border-bottom: 1px solid #ddd; | |
| 806 | + border-bottom: 1px solid var(--wpds-color-stroke-surface-neutral, #dbdbdb); | |
| 768 | 807 | background: #fff; |
| 769 | 808 | z-index: 1; |
| 770 | 809 | } |
| 771 | 810 | |
| @@ -786,9 +825,9 @@ | ||
| 786 | 825 | width: 80%; |
| 787 | 826 | } |
| 788 | 827 | |
| 789 | 828 | .font-library__local-fonts .font-library__upload-area__text { |
| 790 | - color: #757575; | |
| 829 | + color: var(--wpds-color-foreground-content-neutral-weak, #707070); | |
| 791 | 830 | } |
| 792 | 831 | |
| 793 | 832 | .font-library__google-fonts-confirm { |
| 794 | 833 | display: flex; |
| @@ -823,115 +862,22 @@ | ||
| 823 | 862 | .font-library__select-all .components-checkbox-control__label { |
| 824 | 863 | padding-left: 16px; |
| 825 | 864 | } |
| 826 | 865 | |
| 827 | -.global-styles-ui-pagination .components-button.is-tertiary { | |
| 828 | - width: 32px; | |
| 829 | - height: 32px; | |
| 830 | - justify-content: center; | |
| 831 | -} | |
| 832 | - | |
| 833 | -.global-styles-ui-screen-revisions__revisions-list { | |
| 834 | - list-style: none; | |
| 835 | - margin: 0 16px 16px 16px; | |
| 836 | - flex-grow: 1; | |
| 837 | -} | |
| 838 | - | |
| 839 | -.global-styles-ui-screen-revisions__revisions-list li { | |
| 840 | - margin-bottom: 0; | |
| 841 | -} | |
| 842 | - | |
| 843 | -.global-styles-ui-screen-revisions__revision-item { | |
| 844 | - position: relative; | |
| 845 | - cursor: var(--wpds-cursor-control, pointer); | |
| 866 | +.global-styles-ui-screen-revisions { | |
| 846 | 867 | display: flex; |
| 847 | 868 | flex-direction: column; |
| 869 | + flex-grow: 1; | |
| 870 | + min-height: 0; | |
| 848 | 871 | } |
| 849 | 872 | |
| 850 | -.global-styles-ui-screen-revisions__revision-item[role=option]:active, .global-styles-ui-screen-revisions__revision-item[role=option]:focus { | |
| 851 | - box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color); | |
| 852 | - outline: 2px solid transparent; | |
| 873 | +.global-styles-ui-screen-revisions__actions { | |
| 874 | + margin-inline-start: auto; | |
| 853 | 875 | } |
| 854 | 876 | |
| 855 | -.global-styles-ui-screen-revisions__revision-item:hover { | |
| 856 | - background: rgba(var(--wp-admin-theme-color--rgb), 0.04); | |
| 857 | -} | |
| 858 | - | |
| 859 | -.global-styles-ui-screen-revisions__revision-item:hover .global-styles-ui-screen-revisions__date { | |
| 860 | - color: var(--wp-admin-theme-color); | |
| 861 | -} | |
| 862 | - | |
| 863 | -.global-styles-ui-screen-revisions__revision-item::before, .global-styles-ui-screen-revisions__revision-item::after { | |
| 864 | - position: absolute; | |
| 865 | - content: "\a"; | |
| 866 | - display: block; | |
| 867 | -} | |
| 868 | - | |
| 869 | -.global-styles-ui-screen-revisions__revision-item::before { | |
| 870 | - background: #ddd; | |
| 871 | - border-radius: 50%; | |
| 872 | - height: 8px; | |
| 873 | - width: 8px; | |
| 874 | - top: 18px; | |
| 875 | - left: 17px; | |
| 876 | - transform: translate(-50%, -50%); | |
| 877 | - z-index: 1; | |
| 878 | - border: 4px solid transparent; | |
| 879 | -} | |
| 880 | - | |
| 881 | -.global-styles-ui-screen-revisions__revision-item[aria-selected=true] { | |
| 882 | - border-radius: 2px; | |
| 883 | - outline: 3px solid transparent; | |
| 884 | - outline-offset: -2px; | |
| 885 | - color: var(--wp-admin-theme-color); | |
| 886 | - background: rgba(var(--wp-admin-theme-color--rgb), 0.04); | |
| 887 | -} | |
| 888 | - | |
| 889 | -.global-styles-ui-screen-revisions__revision-item[aria-selected=true] .global-styles-ui-screen-revisions__date { | |
| 890 | - color: var(--wp-admin-theme-color); | |
| 891 | -} | |
| 892 | - | |
| 893 | -.global-styles-ui-screen-revisions__revision-item[aria-selected=true]::before { | |
| 894 | - background: var(--wp-admin-theme-color); | |
| 895 | -} | |
| 896 | - | |
| 897 | -.global-styles-ui-screen-revisions__revision-item[aria-selected=true] .global-styles-ui-screen-revisions__changes > li, | |
| 898 | -.global-styles-ui-screen-revisions__revision-item[aria-selected=true] .global-styles-ui-screen-revisions__meta, | |
| 899 | -.global-styles-ui-screen-revisions__revision-item[aria-selected=true] .global-styles-ui-screen-revisions__applied-text { | |
| 900 | - color: #1e1e1e; | |
| 901 | -} | |
| 902 | - | |
| 903 | -.global-styles-ui-screen-revisions__revision-item::after { | |
| 904 | - height: 100%; | |
| 905 | - left: 16px; | |
| 906 | - top: 0; | |
| 907 | - width: 0; | |
| 908 | - border: 0.5px solid #ddd; | |
| 909 | -} | |
| 910 | - | |
| 911 | -.global-styles-ui-screen-revisions__revision-item:first-child::after { | |
| 912 | - top: 18px; | |
| 913 | -} | |
| 914 | - | |
| 915 | -.global-styles-ui-screen-revisions__revision-item:last-child::after { | |
| 916 | - height: 18px; | |
| 917 | -} | |
| 918 | - | |
| 919 | -.global-styles-ui-screen-revisions__revision-item-wrapper { | |
| 920 | - display: block; | |
| 921 | - padding: 12px 12px 4px 40px; | |
| 922 | -} | |
| 923 | - | |
| 924 | -.global-styles-ui-screen-revisions__apply-button.is-primary, | |
| 925 | -.global-styles-ui-screen-revisions__applied-text { | |
| 926 | - align-self: flex-start; | |
| 927 | - margin: 4px 12px 12px 40px; | |
| 928 | -} | |
| 929 | - | |
| 930 | -.global-styles-ui-screen-revisions__changes, | |
| 931 | -.global-styles-ui-screen-revisions__meta, | |
| 932 | -.global-styles-ui-screen-revisions__applied-text { | |
| 933 | - color: #757575; | |
| 877 | +.global-styles-ui-screen-revisions__date { | |
| 878 | + text-transform: uppercase; | |
| 879 | + font-weight: var(--wpds-typography-font-weight-emphasis, 600); | |
| 934 | 880 | font-size: 12px; |
| 935 | 881 | } |
| 936 | 882 | |
| 937 | 883 | .global-styles-ui-screen-revisions__description { |
| @@ -940,11 +886,11 @@ | ||
| 940 | 886 | align-items: flex-start; |
| 941 | 887 | gap: 8px; |
| 942 | 888 | } |
| 943 | 889 | |
| 944 | -.global-styles-ui-screen-revisions__description .global-styles-ui-screen-revisions__date { | |
| 945 | - text-transform: uppercase; | |
| 946 | - font-weight: 600; | |
| 890 | +.global-styles-ui-screen-revisions__changes, | |
| 891 | +.global-styles-ui-screen-revisions__meta { | |
| 892 | + color: #2f2f2f; | |
| 947 | 893 | font-size: 12px; |
| 948 | 894 | } |
| 949 | 895 | |
| 950 | 896 | .global-styles-ui-screen-revisions__meta { |
| @@ -950,11 +896,10 @@ | ||
| 950 | 896 | .global-styles-ui-screen-revisions__meta { |
| 951 | 897 | display: flex; |
| 952 | 898 | justify-content: start; |
| 953 | 899 | width: 100%; |
| 954 | - align-items: flex-start; | |
| 900 | + align-items: center; | |
| 955 | 901 | text-align: left; |
| 956 | - margin-bottom: 4px; | |
| 957 | 902 | } |
| 958 | 903 | |
| 959 | 904 | .global-styles-ui-screen-revisions__meta img { |
| 960 | 905 | width: 16px; |
| @@ -962,16 +907,12 @@ | ||
| 962 | 907 | border-radius: 100%; |
| 963 | 908 | margin-right: 8px; |
| 964 | 909 | } |
| 965 | 910 | |
| 966 | -.global-styles-ui-screen-revisions__loading { | |
| 967 | - margin: 24px auto !important; | |
| 968 | -} | |
| 969 | - | |
| 970 | 911 | .global-styles-ui-screen-revisions__changes { |
| 971 | 912 | text-align: left; |
| 972 | 913 | line-height: 1.4; |
| 973 | - margin-left: 12px; | |
| 914 | + margin: 0 0 0 12px; | |
| 974 | 915 | list-style: disc; |
| 975 | 916 | } |
| 976 | 917 | |
| 977 | 918 | .global-styles-ui-screen-revisions__changes li { |
| @@ -977,47 +918,8 @@ | ||
| 977 | 918 | .global-styles-ui-screen-revisions__changes li { |
| 978 | 919 | margin-bottom: 4px; |
| 979 | 920 | } |
| 980 | 921 | |
| 981 | -.global-styles-ui-screen-revisions__pagination.global-styles-ui-screen-revisions__pagination { | |
| 982 | - justify-content: space-between; | |
| 983 | - gap: 2px; | |
| 984 | -} | |
| 985 | - | |
| 986 | -.global-styles-ui-screen-revisions__pagination.global-styles-ui-screen-revisions__pagination .edit-site-pagination__total { | |
| 987 | - position: absolute; | |
| 988 | - left: -1000px; | |
| 989 | - height: 1px; | |
| 990 | - margin: -1px; | |
| 991 | - overflow: hidden; | |
| 992 | -} | |
| 993 | - | |
| 994 | -.global-styles-ui-screen-revisions__pagination.global-styles-ui-screen-revisions__pagination .components-text { | |
| 995 | - font-size: 12px; | |
| 996 | - will-change: opacity; | |
| 997 | -} | |
| 998 | - | |
| 999 | -.global-styles-ui-screen-revisions__pagination.global-styles-ui-screen-revisions__pagination .components-button.is-tertiary { | |
| 1000 | - color: #1e1e1e; | |
| 1001 | -} | |
| 1002 | - | |
| 1003 | -.global-styles-ui-screen-revisions__pagination.global-styles-ui-screen-revisions__pagination .components-button.is-tertiary:disabled, | |
| 1004 | -.global-styles-ui-screen-revisions__pagination.global-styles-ui-screen-revisions__pagination .components-button.is-tertiary[aria-disabled=true] { | |
| 1005 | - color: #949494; | |
| 1006 | -} | |
| 1007 | - | |
| 1008 | -.global-styles-ui-screen-revisions__footer { | |
| 1009 | - height: 56px; | |
| 1010 | - z-index: 1; | |
| 1011 | - position: sticky; | |
| 1012 | - min-width: 100%; | |
| 1013 | - bottom: 0; | |
| 1014 | - background: #fff; | |
| 1015 | - padding: 12px; | |
| 1016 | - border-top: 1px solid #ddd; | |
| 1017 | - box-sizing: border-box; | |
| 1018 | -} | |
| 1019 | - | |
| 1020 | 922 | .global-styles-ui-variations_item { |
| 1021 | 923 | box-sizing: border-box; |
| 1022 | 924 | cursor: var(--wpds-cursor-control, pointer); |
| 1023 | 925 | } |
| @@ -1098,13 +1000,34 @@ | ||
| 1098 | 1000 | justify-content: center; |
| 1099 | 1001 | border-radius: 2px; |
| 1100 | 1002 | } |
| 1101 | 1003 | |
| 1004 | +.global-styles-ui-block-types-filter { | |
| 1005 | + margin-bottom: 12px; | |
| 1006 | + padding: 0 16px; | |
| 1007 | +} | |
| 1008 | + | |
| 1102 | 1009 | .global-styles-ui-block-types-search { |
| 1103 | - margin-bottom: 10px; | |
| 1104 | - padding: 0 16px; | |
| 1010 | + flex-grow: 1; | |
| 1105 | 1011 | } |
| 1106 | 1012 | |
| 1013 | +.global-styles-ui-block-types-item-list .global-styles-ui-block-types-item__icon { | |
| 1014 | + min-width: 24px; | |
| 1015 | +} | |
| 1016 | + | |
| 1017 | +.global-styles-ui-block-types-item-list__no-results { | |
| 1018 | + padding-top: 16px; | |
| 1019 | +} | |
| 1020 | + | |
| 1021 | +.global-styles-ui-block-types-item__indicator { | |
| 1022 | + background: var(--wp-admin-theme-color); | |
| 1023 | + border-radius: 50%; | |
| 1024 | + flex: none; | |
| 1025 | + height: 6px; | |
| 1026 | + margin-left: auto; | |
| 1027 | + width: 6px; | |
| 1028 | +} | |
| 1029 | + | |
| 1107 | 1030 | .global-styles-ui-screen-typography__font-variants-count { |
| 1108 | 1031 | color: #757575; |
| 1109 | 1032 | } |
| 1110 | 1033 | |
| @@ -1127,15 +1050,15 @@ | ||
| 1127 | 1050 | |
| 1128 | 1051 | .global-styles-ui-subtitle { |
| 1129 | 1052 | margin-bottom: 0 !important; |
| 1130 | 1053 | text-transform: uppercase; |
| 1131 | - font-weight: 499 !important; | |
| 1054 | + font-weight: var(--wpds-typography-font-weight-emphasis, 600) !important; | |
| 1132 | 1055 | font-size: 11px !important; |
| 1133 | 1056 | } |
| 1134 | 1057 | |
| 1135 | 1058 | .global-styles-ui-section-title { |
| 1136 | 1059 | color: #2f2f2f; |
| 1137 | - font-weight: 600; | |
| 1060 | + font-weight: var(--wpds-typography-font-weight-emphasis, 600); | |
| 1138 | 1061 | line-height: 1.2; |
| 1139 | 1062 | padding: 16px 16px 0; |
| 1140 | 1063 | margin: 0; |
| 1141 | 1064 | } |
| @@ -1146,10 +1069,20 @@ | ||
| 1146 | 1069 | |
| 1147 | 1070 | .global-styles-ui__color-indicator-wrapper { |
| 1148 | 1071 | height: 24px; |
| 1149 | 1072 | flex-shrink: 0; |
| 1073 | + display: flex; | |
| 1074 | + align-items: center; | |
| 1150 | 1075 | } |
| 1151 | 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 | + | |
| 1152 | 1085 | .global-styles-ui__shadows-panel__options-container, |
| 1153 | 1086 | .global-styles-ui__typography-panel__options-container { |
| 1154 | 1087 | height: 24px; |
| 1155 | 1088 | } |
| @@ -1161,9 +1094,10 @@ | ||
| 1161 | 1094 | border-radius: 2px; |
| 1162 | 1095 | overflow: hidden; |
| 1163 | 1096 | } |
| 1164 | 1097 | |
| 1165 | -.global-styles-ui__shadow-preview-panel { | |
| 1098 | +.global-styles-ui__shadow-preview-panel, | |
| 1099 | +.global-styles-ui__text-shadow-preview-panel { | |
| 1166 | 1100 | height: 144px; |
| 1167 | 1101 | border: #ddd 1px solid; |
| 1168 | 1102 | border-radius: 2px; |
| 1169 | 1103 | overflow: auto; |
| @@ -1173,9 +1107,9 @@ | ||
| 1173 | 1107 | /*rtl:end:ignore*/ |
| 1174 | 1108 | background-size: 16px 16px; |
| 1175 | 1109 | } |
| 1176 | 1110 | |
| 1177 | -.global-styles-ui__shadow-preview-panel .global-styles-ui__shadow-preview-block { | |
| 1111 | +.global-styles-ui__shadow-preview-block { | |
| 1178 | 1112 | border: #ddd 1px solid; |
| 1179 | 1113 | border-radius: 2px; |
| 1180 | 1114 | background-color: #fff; |
| 1181 | 1115 | width: 60%; |
| @@ -1181,22 +1115,44 @@ | ||
| 1181 | 1115 | width: 60%; |
| 1182 | 1116 | height: 60px; |
| 1183 | 1117 | } |
| 1184 | 1118 | |
| 1185 | -.global-styles-ui__shadow-editor__dropdown-content { | |
| 1119 | +.global-styles-ui__text-shadow-preview-panel { | |
| 1120 | + margin-block: -8px 16px; | |
| 1121 | +} | |
| 1122 | + | |
| 1123 | +.global-styles-ui__text-shadow-preview-text { | |
| 1124 | + font-size: 24px; | |
| 1125 | +} | |
| 1126 | + | |
| 1127 | +.global-styles-ui__text-shadow-editor__header { | |
| 1128 | + margin-block-end: 8px; | |
| 1129 | +} | |
| 1130 | + | |
| 1131 | +.global-styles-ui__text-shadow-editor__inputs { | |
| 1132 | + display: grid; | |
| 1133 | + grid-template-columns: repeat(2, 1fr); | |
| 1134 | + gap: 16px; | |
| 1135 | +} | |
| 1136 | + | |
| 1137 | +.global-styles-ui__shadow-editor__dropdown-content, | |
| 1138 | +.global-styles-ui__text-shadow-editor__dropdown-content { | |
| 1186 | 1139 | width: 280px; |
| 1187 | 1140 | } |
| 1188 | 1141 | |
| 1189 | -.global-styles-ui__shadow-editor-panel { | |
| 1142 | +.global-styles-ui__shadow-editor-panel, | |
| 1143 | +.global-styles-ui__text-shadow-editor-panel { | |
| 1190 | 1144 | margin-bottom: 4px; |
| 1191 | 1145 | } |
| 1192 | 1146 | |
| 1193 | -.global-styles-ui__shadow-editor__dropdown { | |
| 1147 | +.global-styles-ui__shadow-editor__dropdown, | |
| 1148 | +.global-styles-ui__text-shadow-editor__dropdown { | |
| 1194 | 1149 | width: 100%; |
| 1195 | 1150 | position: relative; |
| 1196 | 1151 | } |
| 1197 | 1152 | |
| 1198 | -.global-styles-ui__shadow-editor__dropdown-toggle { | |
| 1153 | +.global-styles-ui__shadow-editor__dropdown-toggle, | |
| 1154 | +.global-styles-ui__text-shadow-editor__dropdown-toggle { | |
| 1199 | 1155 | width: 100%; |
| 1200 | 1156 | height: auto; |
| 1201 | 1157 | padding-top: 8px; |
| 1202 | 1158 | padding-bottom: 8px; |
| @@ -1203,14 +1159,16 @@ | ||
| 1203 | 1159 | text-align: left; |
| 1204 | 1160 | border-radius: inherit; |
| 1205 | 1161 | } |
| 1206 | 1162 | |
| 1207 | -.global-styles-ui__shadow-editor__dropdown-toggle.is-open { | |
| 1163 | +.global-styles-ui__shadow-editor__dropdown-toggle.is-open, | |
| 1164 | +.global-styles-ui__text-shadow-editor__dropdown-toggle.is-open { | |
| 1208 | 1165 | background: #f0f0f0; |
| 1209 | 1166 | color: var(--wp-admin-theme-color); |
| 1210 | 1167 | } |
| 1211 | 1168 | |
| 1212 | -.global-styles-ui__shadow-editor__remove-button { | |
| 1169 | +.global-styles-ui__shadow-editor__remove-button, | |
| 1170 | +.global-styles-ui__text-shadow-editor__remove-button { | |
| 1213 | 1171 | position: absolute; |
| 1214 | 1172 | right: 8px; |
| 1215 | 1173 | top: 8px; |
| 1216 | 1174 | opacity: 0; |
| @@ -1215,18 +1173,19 @@ | ||
| 1215 | 1173 | top: 8px; |
| 1216 | 1174 | opacity: 0; |
| 1217 | 1175 | } |
| 1218 | 1176 | |
| 1219 | -.global-styles-ui__shadow-editor__remove-button.global-styles-ui__shadow-editor__remove-button { | |
| 1220 | - border: none; | |
| 1221 | -} | |
| 1222 | - | |
| 1223 | -.global-styles-ui__shadow-editor__dropdown-toggle:hover + .global-styles-ui__shadow-editor__remove-button, .global-styles-ui__shadow-editor__remove-button:focus, .global-styles-ui__shadow-editor__remove-button:hover { | |
| 1177 | +.global-styles-ui__shadow-editor__dropdown-toggle:hover + .global-styles-ui__shadow-editor__remove-button, .global-styles-ui__text-shadow-editor__dropdown-toggle:hover + .global-styles-ui__shadow-editor__remove-button, .global-styles-ui__shadow-editor__remove-button:focus, .global-styles-ui__shadow-editor__remove-button:hover, | |
| 1178 | +.global-styles-ui__shadow-editor__dropdown-toggle:hover + .global-styles-ui__text-shadow-editor__remove-button, | |
| 1179 | +.global-styles-ui__text-shadow-editor__dropdown-toggle:hover + .global-styles-ui__text-shadow-editor__remove-button, | |
| 1180 | +.global-styles-ui__text-shadow-editor__remove-button:focus, | |
| 1181 | +.global-styles-ui__text-shadow-editor__remove-button:hover { | |
| 1224 | 1182 | opacity: 1; |
| 1225 | 1183 | } |
| 1226 | 1184 | |
| 1227 | 1185 | @media (hover: none) { |
| 1228 | - .global-styles-ui__shadow-editor__remove-button { | |
| 1186 | + .global-styles-ui__shadow-editor__remove-button, | |
| 1187 | + .global-styles-ui__text-shadow-editor__remove-button { | |
| 1229 | 1188 | opacity: 1; |
| 1230 | 1189 | } |
| 1231 | 1190 | } |
| 1232 | 1191 | .global-styles-ui-screen-css { |
| @@ -1235,28 +1194,26 @@ | ||
| 1235 | 1194 | flex-direction: column; |
| 1236 | 1195 | margin: 16px; |
| 1237 | 1196 | } |
| 1238 | 1197 | |
| 1239 | -.global-styles-ui-screen-css .components-v-stack { | |
| 1198 | +.global-styles-ui-screen-css .block-editor-global-styles-advanced-panel { | |
| 1240 | 1199 | flex: 1 1 auto; |
| 1241 | 1200 | } |
| 1242 | 1201 | |
| 1243 | -.global-styles-ui-screen-css .components-v-stack .block-editor-global-styles-advanced-panel__custom-css-input { | |
| 1202 | +.global-styles-ui-screen-css .block-editor-global-styles-advanced-panel__custom-css-input { | |
| 1244 | 1203 | flex: 1 1 auto; |
| 1245 | 1204 | display: flex; |
| 1246 | 1205 | flex-direction: column; |
| 1247 | 1206 | } |
| 1248 | 1207 | |
| 1249 | -.global-styles-ui-screen-css .components-v-stack .block-editor-global-styles-advanced-panel__custom-css-input .components-base-control__field { | |
| 1208 | +.global-styles-ui-screen-css .block-editor-global-styles-advanced-panel__custom-css-input .components-base-control__field { | |
| 1250 | 1209 | flex: 1 1 auto; |
| 1251 | 1210 | display: flex; |
| 1252 | 1211 | flex-direction: column; |
| 1253 | 1212 | } |
| 1254 | 1213 | |
| 1255 | -.global-styles-ui-screen-css .components-v-stack .block-editor-global-styles-advanced-panel__custom-css-input .components-base-control__field .components-textarea-control__input { | |
| 1214 | +.global-styles-ui-screen-css .block-editor-global-styles-advanced-panel__custom-css-input textarea { | |
| 1256 | 1215 | flex: 1 1 auto; |
| 1257 | - /*rtl:ignore*/ | |
| 1258 | - direction: ltr; | |
| 1259 | 1216 | } |
| 1260 | 1217 | |
| 1261 | 1218 | .global-styles-ui-screen-css-help-link { |
| 1262 | 1219 | display: inline-block; |
| @@ -1281,8 +1238,16 @@ | ||
| 1281 | 1238 | flex-direction: column; |
| 1282 | 1239 | height: 100%; |
| 1283 | 1240 | } |
| 1284 | 1241 | |
| 1242 | +.global-styles-ui-color-palette__tablist-container { | |
| 1243 | + border-bottom: 1px solid #ddd; | |
| 1244 | +} | |
| 1245 | + | |
| 1246 | +.global-styles-ui-color-palette__tablist { | |
| 1247 | + margin-bottom: -1px; | |
| 1248 | +} | |
| 1249 | + | |
| 1285 | 1250 | .global-styles-ui-sidebar__navigator-screen .single-column { |
| 1286 | 1251 | grid-column: span 1; |
| 1287 | 1252 | } |
| 1288 | 1253 | |
| @@ -1304,9 +1269,10 @@ | ||
| 1304 | 1269 | clip-path: border-box; |
| 1305 | 1270 | } |
| 1306 | 1271 | |
| 1307 | 1272 | .global-styles-ui-color-palette-panel, |
| 1308 | -.global-styles-ui-gradient-palette-panel { | |
| 1273 | +.global-styles-ui-gradient-palette-panel, | |
| 1274 | +.global-styles-ui-duotone-palette-panel { | |
| 1309 | 1275 | padding: 16px; |
| 1310 | 1276 | } |
| 1311 | 1277 | |
| 1312 | 1278 | /** |
| @@ -1378,8 +1344,14 @@ | ||
| 1378 | 1344 | /** |
| 1379 | 1345 | * Focus styles. |
| 1380 | 1346 | */ |
| 1381 | 1347 | /** |
| 1348 | + * Standard focus rings for the WordPress Design System. | |
| 1349 | + * | |
| 1350 | + * Apply `outset-ring__focus` inside the relevant pseudo-class at the call site, | |
| 1351 | + * e.g. `&:focus { @include outset-ring__focus(); }`. | |
| 1352 | + */ | |
| 1353 | +/** | |
| 1382 | 1354 | * Applies editor left position to the selector passed as argument |
| 1383 | 1355 | */ |
| 1384 | 1356 | /** |
| 1385 | 1357 | * Styles that are reused verbatim in a few places |
| @@ -1403,16 +1375,15 @@ | ||
| 1403 | 1375 | height: 100%; |
| 1404 | 1376 | flex-grow: 1; |
| 1405 | 1377 | min-height: 0; |
| 1406 | 1378 | box-sizing: border-box; |
| 1407 | - scroll-padding-bottom: calc(var(--wpds-dimension-base, 4px) * 16); | |
| 1408 | - /* stylelint-disable-next-line property-no-unknown -- '@container' not globally permitted */ | |
| 1379 | + scroll-padding-bottom: 64px; | |
| 1409 | 1380 | container: dataviews-wrapper/inline-size; |
| 1410 | 1381 | display: flex; |
| 1411 | 1382 | flex-direction: column; |
| 1412 | 1383 | font-size: var(--wpds-typography-font-size-md, 13px); |
| 1413 | 1384 | line-height: var(--wpds-typography-line-height-sm, 20px); |
| 1414 | - background-color: var(--wp-dataviews-color-background, var(--wpds-color-bg-surface-neutral-strong, #fff)); | |
| 1385 | + background-color: var(--wp-dataviews-color-background, var(--wpds-color-background-surface-neutral-strong, #fff)); | |
| 1415 | 1386 | } |
| 1416 | 1387 | |
| 1417 | 1388 | .dataviews__view-actions, |
| 1418 | 1389 | .dataviews-filters__container { |
| @@ -1429,8 +1400,16 @@ | ||
| 1429 | 1400 | .dataviews-filters__container { |
| 1430 | 1401 | transition: padding ease-out 0.1s; |
| 1431 | 1402 | } |
| 1432 | 1403 | } |
| 1404 | +.dataviews__search { | |
| 1405 | + flex-grow: 1; | |
| 1406 | +} | |
| 1407 | + | |
| 1408 | +.dataviews__search .dataviews-search { | |
| 1409 | + flex-basis: 210px; | |
| 1410 | +} | |
| 1411 | + | |
| 1433 | 1412 | .dataviews-no-results, |
| 1434 | 1413 | .dataviews-loading { |
| 1435 | 1414 | padding: 0 var(--wpds-dimension-padding-2xl, 24px); |
| 1436 | 1415 | flex-grow: 1; |
| @@ -1467,8 +1446,12 @@ | ||
| 1467 | 1446 | .dataviews-loading-more { |
| 1468 | 1447 | text-align: center; |
| 1469 | 1448 | } |
| 1470 | 1449 | |
| 1450 | +.dataviews-loading-more[aria-hidden=true] { | |
| 1451 | + visibility: hidden; | |
| 1452 | +} | |
| 1453 | + | |
| 1471 | 1454 | @container (max-width: 430px) { |
| 1472 | 1455 | .dataviews__view-actions, |
| 1473 | 1456 | .dataviews-filters__container { |
| 1474 | 1457 | padding: var(--wpds-dimension-padding-md, 12px) var(--wpds-dimension-padding-2xl, 24px); |
| @@ -1475,10 +1458,10 @@ | ||
| 1475 | 1458 | } |
| 1476 | 1459 | } |
| 1477 | 1460 | .dataviews-title-field { |
| 1478 | 1461 | font-size: var(--wpds-typography-font-size-md, 13px); |
| 1479 | - font-weight: var(--wpds-typography-font-weight-medium, 499); | |
| 1480 | - color: var(--wpds-color-fg-content-neutral, #1e1e1e); | |
| 1462 | + font-weight: var(--wpds-typography-font-weight-emphasis, 600); | |
| 1463 | + color: var(--wpds-color-foreground-content-neutral, #1e1e1e); | |
| 1481 | 1464 | text-overflow: ellipsis; |
| 1482 | 1465 | white-space: nowrap; |
| 1483 | 1466 | width: 100%; |
| 1484 | 1467 | } |
| @@ -1489,13 +1472,13 @@ | ||
| 1489 | 1472 | white-space: nowrap; |
| 1490 | 1473 | overflow: hidden; |
| 1491 | 1474 | display: block; |
| 1492 | 1475 | flex-grow: 0; |
| 1493 | - color: var(--wpds-color-fg-interactive-neutral, #1e1e1e); | |
| 1476 | + color: var(--wpds-color-foreground-interactive-neutral, #1e1e1e); | |
| 1494 | 1477 | } |
| 1495 | 1478 | |
| 1496 | 1479 | .dataviews-title-field a:hover { |
| 1497 | - color: var(--wpds-color-fg-interactive-brand, var(--wp-admin-theme-color, #3858e9)); | |
| 1480 | + color: var(--wpds-color-foreground-interactive-brand, var(--wp-admin-theme-color, #3858e9)); | |
| 1498 | 1481 | } |
| 1499 | 1482 | |
| 1500 | 1483 | .dataviews-title-field a:focus { |
| 1501 | 1484 | color: var(--wp-admin-theme-color--rgb); |
| @@ -1510,22 +1493,22 @@ | ||
| 1510 | 1493 | white-space: nowrap; |
| 1511 | 1494 | overflow: hidden; |
| 1512 | 1495 | display: block; |
| 1513 | 1496 | width: 100%; |
| 1514 | - color: var(--wpds-color-fg-interactive-neutral-active, #1e1e1e); | |
| 1497 | + color: var(--wpds-color-foreground-interactive-neutral-active, #1e1e1e); | |
| 1515 | 1498 | } |
| 1516 | 1499 | |
| 1517 | 1500 | .dataviews-title-field button.components-button.is-link:hover { |
| 1518 | - color: var(--wpds-color-fg-interactive-brand, var(--wp-admin-theme-color, #3858e9)); | |
| 1501 | + color: var(--wpds-color-foreground-interactive-brand, var(--wp-admin-theme-color, #3858e9)); | |
| 1519 | 1502 | } |
| 1520 | 1503 | |
| 1521 | 1504 | .dataviews-title-field--clickable { |
| 1522 | 1505 | cursor: var(--wpds-cursor-control, pointer); |
| 1523 | - color: var(--wpds-color-fg-interactive-neutral, #1e1e1e); | |
| 1506 | + color: var(--wpds-color-foreground-interactive-neutral, #1e1e1e); | |
| 1524 | 1507 | } |
| 1525 | 1508 | |
| 1526 | 1509 | .dataviews-title-field--clickable:hover { |
| 1527 | - color: var(--wpds-color-fg-interactive-brand, var(--wp-admin-theme-color, #3858e9)); | |
| 1510 | + color: var(--wpds-color-foreground-interactive-brand, var(--wp-admin-theme-color, #3858e9)); | |
| 1528 | 1511 | } |
| 1529 | 1512 | |
| 1530 | 1513 | .dataviews-title-field--clickable:focus { |
| 1531 | 1514 | color: var(--wp-admin-theme-color--rgb); |
| @@ -1549,14 +1532,14 @@ | ||
| 1549 | 1532 | overflow: hidden; |
| 1550 | 1533 | } |
| 1551 | 1534 | |
| 1552 | 1535 | .dataviews-bulk-actions-footer__item-count { |
| 1553 | - color: var(--wpds-color-fg-content-neutral, #1e1e1e); | |
| 1536 | + color: var(--wpds-color-foreground-content-neutral, #1e1e1e); | |
| 1554 | 1537 | } |
| 1555 | 1538 | |
| 1556 | 1539 | .dataviews-bulk-actions-footer__container { |
| 1557 | 1540 | margin-right: auto; |
| 1558 | - min-height: calc(var(--wpds-dimension-base, 4px) * 8); | |
| 1541 | + min-height: var(--wpds-dimension-size-md, 32px); | |
| 1559 | 1542 | } |
| 1560 | 1543 | |
| 1561 | 1544 | .dataviews-layout__container { |
| 1562 | 1545 | flex: 1; |
| @@ -1611,9 +1594,9 @@ | ||
| 1611 | 1594 | display: none; |
| 1612 | 1595 | } |
| 1613 | 1596 | |
| 1614 | 1597 | .dataviews-filters__summary-operators-container .dataviews-filters__summary-operators-filter-name { |
| 1615 | - color: var(--wpds-color-fg-content-neutral-weak, #707070); | |
| 1598 | + color: var(--wpds-color-foreground-content-neutral-weak, #707070); | |
| 1616 | 1599 | white-space: nowrap; |
| 1617 | 1600 | overflow: hidden; |
| 1618 | 1601 | text-overflow: ellipsis; |
| 1619 | 1602 | flex-shrink: 0; /* Prevents this element from shrinking */ |
| @@ -1621,10 +1604,10 @@ | ||
| 1621 | 1604 | } |
| 1622 | 1605 | |
| 1623 | 1606 | .dataviews-filters__summary-operators-container .dataviews-filters__summary-operators-filter-select { |
| 1624 | 1607 | width: 100%; |
| 1608 | + min-width: 0; | |
| 1625 | 1609 | white-space: nowrap; |
| 1626 | - overflow: hidden; | |
| 1627 | 1610 | } |
| 1628 | 1611 | |
| 1629 | 1612 | .dataviews-filters__summary-chip-container { |
| 1630 | 1613 | position: relative; |
| @@ -1635,10 +1618,10 @@ | ||
| 1635 | 1618 | border-radius: var(--wpds-border-radius-lg, 8px); |
| 1636 | 1619 | border: var(--wpds-border-width-xs, 1px) solid var(--wpds-color-stroke-interactive-neutral, #8d8d8d); |
| 1637 | 1620 | cursor: var(--wpds-cursor-control, pointer); |
| 1638 | 1621 | padding: var(--wpds-dimension-padding-xs, 4px) var(--wpds-dimension-padding-md, 12px); |
| 1639 | - min-height: calc(var(--wpds-dimension-base, 4px) * 8); | |
| 1640 | - color: var(--wpds-color-fg-interactive-neutral, #1e1e1e); | |
| 1622 | + min-height: var(--wpds-dimension-size-md, 32px); | |
| 1623 | + color: var(--wpds-color-foreground-interactive-neutral, #1e1e1e); | |
| 1641 | 1624 | position: relative; |
| 1642 | 1625 | display: flex; |
| 1643 | 1626 | align-items: center; |
| 1644 | 1627 | box-sizing: border-box; |
| @@ -1648,41 +1631,41 @@ | ||
| 1648 | 1631 | cursor: default; |
| 1649 | 1632 | } |
| 1650 | 1633 | |
| 1651 | 1634 | .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip.has-reset { |
| 1652 | - padding-inline-end: calc(24px + var(--wpds-dimension-padding-xs, 4px)); | |
| 1635 | + padding-inline-end: calc(var(--wpds-dimension-size-sm, 24px) + var(--wpds-dimension-padding-xs, 4px)); | |
| 1653 | 1636 | } |
| 1654 | 1637 | |
| 1655 | 1638 | .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip:hover:not(.dataviews-filters__summary-chip-container .dataviews-filters__summary-chip.is-not-clickable), .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip:focus-visible, .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip[aria-expanded=true] { |
| 1656 | - color: var(--wpds-color-fg-interactive-neutral, #1e1e1e); | |
| 1639 | + color: var(--wpds-color-foreground-interactive-neutral, #1e1e1e); | |
| 1657 | 1640 | border-color: var(--wpds-color-stroke-interactive-neutral-active, #6e6e6e); |
| 1658 | - background-color: var(--wpds-color-bg-interactive-neutral-weak-active, #ededed); | |
| 1641 | + background-color: var(--wpds-color-background-interactive-neutral-weak-active, #ededed); | |
| 1659 | 1642 | } |
| 1660 | 1643 | |
| 1661 | 1644 | .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip.has-values { |
| 1662 | - color: var(--wpds-color-fg-interactive-brand, var(--wp-admin-theme-color, #3858e9)); | |
| 1663 | - background: var(--wpds-color-bg-interactive-brand-weak, rgba(0, 0, 0, 0)); | |
| 1645 | + color: var(--wpds-color-foreground-interactive-brand, var(--wp-admin-theme-color, #3858e9)); | |
| 1646 | + background: var(--wpds-color-background-interactive-brand-weak, rgba(0, 0, 0, 0)); | |
| 1664 | 1647 | border-color: var(--wpds-color-stroke-interactive-brand, var(--wp-admin-theme-color, #3858e9)); |
| 1665 | 1648 | } |
| 1666 | 1649 | |
| 1667 | 1650 | .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip.has-values:hover:not(.dataviews-filters__summary-chip-container .dataviews-filters__summary-chip.has-values.is-not-clickable), .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip.has-values[aria-expanded=true] { |
| 1668 | - color: var(--wpds-color-fg-interactive-brand-active, var(--wp-admin-theme-color, #3858e9)); | |
| 1669 | - background: var(--wpds-color-bg-interactive-brand-weak-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 12%, white)); | |
| 1651 | + color: var(--wpds-color-foreground-interactive-brand-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 52%, black)); | |
| 1652 | + background: var(--wpds-color-background-interactive-brand-weak-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 12%, white)); | |
| 1670 | 1653 | border-color: var(--wpds-color-stroke-interactive-brand-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 85%, black)); |
| 1671 | 1654 | } |
| 1672 | 1655 | |
| 1673 | 1656 | .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip:focus-visible { |
| 1674 | 1657 | outline: none; |
| 1675 | - box-shadow: 0 0 0 var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)) var(--wpds-color-stroke-focus-brand, var(--wp-admin-theme-color, #3858e9)); | |
| 1658 | + box-shadow: 0 0 0 var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)) var(--wpds-color-stroke-focus, var(--wp-admin-theme-color, #3858e9)); | |
| 1676 | 1659 | } |
| 1677 | 1660 | |
| 1678 | 1661 | .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip .dataviews-filters-__summary-filter-text-name { |
| 1679 | - font-weight: var(--wpds-typography-font-weight-medium, 499); | |
| 1662 | + font-weight: var(--wpds-typography-font-weight-emphasis, 600); | |
| 1680 | 1663 | } |
| 1681 | 1664 | |
| 1682 | 1665 | .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove { |
| 1683 | - width: 24px; | |
| 1684 | - height: 24px; | |
| 1666 | + width: var(--wpds-dimension-size-sm, 24px); | |
| 1667 | + height: var(--wpds-dimension-size-sm, 24px); | |
| 1685 | 1668 | border-radius: var(--wpds-border-radius-md, 4px); |
| 1686 | 1669 | border: 0; |
| 1687 | 1670 | padding: 0; |
| 1688 | 1671 | position: absolute; |
| @@ -1696,34 +1679,34 @@ | ||
| 1696 | 1679 | cursor: var(--wpds-cursor-control, pointer); |
| 1697 | 1680 | } |
| 1698 | 1681 | |
| 1699 | 1682 | .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove svg { |
| 1700 | - fill: var(--wpds-color-fg-interactive-neutral, #1e1e1e); | |
| 1683 | + color: var(--wpds-color-foreground-interactive-neutral, #1e1e1e); | |
| 1701 | 1684 | } |
| 1702 | 1685 | |
| 1703 | 1686 | .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove:hover, .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove:focus { |
| 1704 | - background: var(--wpds-color-bg-interactive-neutral-weak-active, #ededed); | |
| 1687 | + background: var(--wpds-color-background-interactive-neutral-weak-active, #ededed); | |
| 1705 | 1688 | } |
| 1706 | 1689 | |
| 1707 | 1690 | .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove:hover svg, .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove:focus svg { |
| 1708 | - fill: var(--wpds-color-fg-interactive-neutral-active, #1e1e1e); | |
| 1691 | + color: var(--wpds-color-foreground-interactive-neutral-active, #1e1e1e); | |
| 1709 | 1692 | } |
| 1710 | 1693 | |
| 1711 | 1694 | .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove.has-values svg { |
| 1712 | - fill: var(--wpds-color-fg-interactive-brand, var(--wp-admin-theme-color, #3858e9)); | |
| 1695 | + color: var(--wpds-color-foreground-interactive-brand, var(--wp-admin-theme-color, #3858e9)); | |
| 1713 | 1696 | } |
| 1714 | 1697 | |
| 1715 | 1698 | .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove.has-values:hover { |
| 1716 | - background: var(--wpds-color-bg-interactive-brand-weak-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 12%, white)); | |
| 1699 | + background: var(--wpds-color-background-interactive-brand-weak-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 12%, white)); | |
| 1717 | 1700 | } |
| 1718 | 1701 | |
| 1719 | 1702 | .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove:focus-visible { |
| 1720 | 1703 | outline: none; |
| 1721 | - box-shadow: 0 0 0 var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)) var(--wpds-color-stroke-focus-brand, var(--wp-admin-theme-color, #3858e9)); | |
| 1704 | + box-shadow: 0 0 0 var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)) var(--wpds-color-stroke-focus, var(--wp-admin-theme-color, #3858e9)); | |
| 1722 | 1705 | } |
| 1723 | 1706 | |
| 1724 | 1707 | .dataviews-filters__search-widget-filter-combobox-list { |
| 1725 | - max-height: calc(var(--wpds-dimension-base, 4px) * 46); | |
| 1708 | + max-height: 184px; | |
| 1726 | 1709 | padding: var(--wpds-dimension-padding-xs, 4px); |
| 1727 | 1710 | overflow: auto; |
| 1728 | 1711 | border-top: 1px solid var(--wpds-color-stroke-surface-neutral, #dbdbdb); |
| 1729 | 1712 | } |
| @@ -1728,9 +1711,9 @@ | ||
| 1728 | 1711 | border-top: 1px solid var(--wpds-color-stroke-surface-neutral, #dbdbdb); |
| 1729 | 1712 | } |
| 1730 | 1713 | |
| 1731 | 1714 | .dataviews-filters__search-widget-filter-combobox-list .dataviews-filters__search-widget-filter-combobox-item-value [data-user-value] { |
| 1732 | - font-weight: 600; | |
| 1715 | + font-weight: var(--wpds-typography-font-weight-emphasis, 600); | |
| 1733 | 1716 | } |
| 1734 | 1717 | |
| 1735 | 1718 | .dataviews-filters__search-widget-listbox { |
| 1736 | 1719 | padding: var(--wpds-dimension-padding-xs, 4px); |
| @@ -1744,13 +1727,14 @@ | ||
| 1744 | 1727 | border-radius: var(--wpds-border-radius-sm, 2px); |
| 1745 | 1728 | box-sizing: border-box; |
| 1746 | 1729 | padding: var(--wpds-dimension-padding-xs, 4px) var(--wpds-dimension-padding-md, 12px); |
| 1747 | 1730 | cursor: default; |
| 1748 | - min-height: calc(var(--wpds-dimension-base, 4px) * 8); | |
| 1749 | - font-family: -apple-system, "system-ui", "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; | |
| 1750 | - font-weight: 400; | |
| 1731 | + min-height: var(--wpds-dimension-size-md, 32px); | |
| 1732 | + font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; | |
| 1733 | + font-weight: var(--wpds-typography-font-weight-default, 400); | |
| 1751 | 1734 | font-size: 13px; |
| 1752 | 1735 | line-height: 20px; |
| 1736 | + color: var(--wpds-color-foreground-interactive-neutral, #1e1e1e); | |
| 1753 | 1737 | } |
| 1754 | 1738 | |
| 1755 | 1739 | .dataviews-filters__search-widget-listitem:last-child { |
| 1756 | 1740 | margin-block-end: 0; |
| @@ -1756,31 +1740,37 @@ | ||
| 1756 | 1740 | margin-block-end: 0; |
| 1757 | 1741 | } |
| 1758 | 1742 | |
| 1759 | 1743 | .dataviews-filters__search-widget-listitem:hover, .dataviews-filters__search-widget-listitem[data-active-item], .dataviews-filters__search-widget-listitem:focus { |
| 1760 | - background-color: var(--wpds-color-bg-interactive-brand-weak-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 12%, white)); | |
| 1744 | + background-color: var(--wpds-color-background-interactive-brand-weak-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 12%, white)); | |
| 1745 | + color: var(--wpds-color-foreground-interactive-neutral-active, #1e1e1e); | |
| 1761 | 1746 | } |
| 1762 | 1747 | |
| 1763 | 1748 | .dataviews-filters__search-widget-listitem:hover .dataviews-filters__search-widget-listitem-single-selection, .dataviews-filters__search-widget-listitem[data-active-item] .dataviews-filters__search-widget-listitem-single-selection, .dataviews-filters__search-widget-listitem:focus .dataviews-filters__search-widget-listitem-single-selection { |
| 1764 | 1749 | border-color: var(--wpds-color-stroke-interactive-brand-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 85%, black)); |
| 1765 | - background: var(--wpds-color-bg-surface-neutral-strong, #fff); | |
| 1750 | + background: var(--wpds-color-background-surface-neutral-strong, #fff); | |
| 1766 | 1751 | } |
| 1767 | 1752 | |
| 1768 | 1753 | .dataviews-filters__search-widget-listitem:hover .dataviews-filters__search-widget-listitem-single-selection.is-selected, .dataviews-filters__search-widget-listitem[data-active-item] .dataviews-filters__search-widget-listitem-single-selection.is-selected, .dataviews-filters__search-widget-listitem:focus .dataviews-filters__search-widget-listitem-single-selection.is-selected { |
| 1769 | 1754 | border-color: var(--wpds-color-stroke-interactive-brand-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 85%, black)); |
| 1770 | - background: var(--wpds-color-bg-interactive-brand-strong-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 93%, black)); | |
| 1755 | + background: var(--wpds-color-background-interactive-brand-strong-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 93%, black)); | |
| 1771 | 1756 | } |
| 1772 | 1757 | |
| 1773 | 1758 | .dataviews-filters__search-widget-listitem:hover .dataviews-filters__search-widget-listitem-multi-selection, .dataviews-filters__search-widget-listitem[data-active-item] .dataviews-filters__search-widget-listitem-multi-selection, .dataviews-filters__search-widget-listitem:focus .dataviews-filters__search-widget-listitem-multi-selection { |
| 1759 | + /* stylelint-disable-next-line plugin-wpds/no-token-fallback-values -- Preserve custom background theming with older @wordpress/theme runtimes that do not set this token. */ | |
| 1760 | + background-color: var(--wpds-color-background-interactive-neutral, var(--wpds-color-background-surface-neutral-strong, #fff)); | |
| 1774 | 1761 | border-color: var(--wpds-color-stroke-interactive-brand-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 85%, black)); |
| 1775 | - background: var(--wpds-color-bg-surface-neutral-strong, #fff); | |
| 1776 | 1762 | } |
| 1777 | 1763 | |
| 1778 | 1764 | .dataviews-filters__search-widget-listitem:hover .dataviews-filters__search-widget-listitem-multi-selection.is-selected, .dataviews-filters__search-widget-listitem[data-active-item] .dataviews-filters__search-widget-listitem-multi-selection.is-selected, .dataviews-filters__search-widget-listitem:focus .dataviews-filters__search-widget-listitem-multi-selection.is-selected { |
| 1779 | 1765 | border-color: var(--wpds-color-stroke-interactive-brand-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 85%, black)); |
| 1780 | - background: var(--wpds-color-bg-interactive-brand-strong-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 93%, black)); | |
| 1766 | + background: var(--wpds-color-background-interactive-brand-strong-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 93%, black)); | |
| 1781 | 1767 | } |
| 1782 | 1768 | |
| 1769 | +.dataviews-filters__search-widget-listitem:hover .dataviews-filters__search-widget-listitem-description, .dataviews-filters__search-widget-listitem[data-active-item] .dataviews-filters__search-widget-listitem-description, .dataviews-filters__search-widget-listitem:focus .dataviews-filters__search-widget-listitem-description { | |
| 1770 | + color: var(--wpds-color-foreground-interactive-neutral-weak-active, #1e1e1e); | |
| 1771 | +} | |
| 1772 | + | |
| 1783 | 1773 | .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-value { |
| 1784 | 1774 | overflow: hidden; |
| 1785 | 1775 | text-overflow: ellipsis; |
| 1786 | 1776 | white-space: nowrap; |
| @@ -1792,9 +1782,9 @@ | ||
| 1792 | 1782 | overflow: hidden; |
| 1793 | 1783 | text-overflow: ellipsis; |
| 1794 | 1784 | font-size: var(--wpds-typography-font-size-sm, 12px); |
| 1795 | 1785 | line-height: 16px; |
| 1796 | - color: var(--wpds-color-fg-content-neutral-weak, #707070); | |
| 1786 | + color: var(--wpds-color-foreground-interactive-neutral-weak, #707070); | |
| 1797 | 1787 | } |
| 1798 | 1788 | |
| 1799 | 1789 | .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-single-selection { |
| 1800 | 1790 | border: 1px solid #1e1e1e; |
| @@ -1855,9 +1845,9 @@ | ||
| 1855 | 1845 | padding: 0; |
| 1856 | 1846 | } |
| 1857 | 1847 | |
| 1858 | 1848 | .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-single-selection.is-selected { |
| 1859 | - background: var(--wpds-color-bg-interactive-brand-strong, var(--wp-admin-theme-color, #3858e9)); | |
| 1849 | + background: var(--wpds-color-background-interactive-brand-strong, var(--wp-admin-theme-color, #3858e9)); | |
| 1860 | 1850 | border-color: var(--wpds-color-stroke-interactive-brand, var(--wp-admin-theme-color, #3858e9)); |
| 1861 | 1851 | } |
| 1862 | 1852 | |
| 1863 | 1853 | .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-single-selection.is-selected::before { |
| @@ -1870,10 +1860,10 @@ | ||
| 1870 | 1860 | top: 50%; |
| 1871 | 1861 | left: 50%; |
| 1872 | 1862 | transform: translate(-50%, -50%); |
| 1873 | 1863 | margin: 0; |
| 1874 | - background-color: var(--wpds-color-fg-interactive-brand-strong, #fff); | |
| 1875 | - border: 4px solid var(--wpds-color-fg-interactive-brand-strong, #fff); | |
| 1864 | + background-color: var(--wpds-color-foreground-interactive-brand-strong, #fff); | |
| 1865 | + border: 4px solid var(--wpds-color-foreground-interactive-brand-strong, #fff); | |
| 1876 | 1866 | } |
| 1877 | 1867 | |
| 1878 | 1868 | @media (min-width: 600px) { |
| 1879 | 1869 | .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-single-selection.is-selected::before { |
| @@ -1883,28 +1873,22 @@ | ||
| 1883 | 1873 | } |
| 1884 | 1874 | .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection { |
| 1885 | 1875 | --checkbox-size: 24px; |
| 1886 | 1876 | flex-shrink: 0; |
| 1887 | - border: 1px solid #1e1e1e; | |
| 1877 | + border: var(--wpds-border-width-xs, 1px) solid var(--wpds-color-stroke-interactive-neutral, #8d8d8d); | |
| 1888 | 1878 | margin-right: 12px; |
| 1889 | 1879 | transition: none; |
| 1890 | 1880 | border-radius: 2px; |
| 1891 | - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; | |
| 1881 | + font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; | |
| 1892 | 1882 | padding: 6px 8px; |
| 1893 | 1883 | /* Fonts smaller than 16px causes mobile safari to zoom. */ |
| 1894 | 1884 | font-size: 16px; |
| 1895 | 1885 | /* Override core line-height. To be reviewed. */ |
| 1896 | 1886 | line-height: normal; |
| 1897 | - box-shadow: 0 0 0 transparent; | |
| 1898 | - border-radius: 2px; | |
| 1899 | - border: 1px solid #949494; | |
| 1887 | + border: var(--wpds-border-width-xs, 1px) solid var(--wpds-color-stroke-interactive-neutral, #8d8d8d); | |
| 1888 | + border-radius: var(--wpds-border-radius-sm, 2px); | |
| 1900 | 1889 | } |
| 1901 | 1890 | |
| 1902 | -@media not (prefers-reduced-motion) { | |
| 1903 | - .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection { | |
| 1904 | - transition: box-shadow 0.1s linear; | |
| 1905 | - } | |
| 1906 | -} | |
| 1907 | 1891 | @media (min-width: 600px) { |
| 1908 | 1892 | .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection { |
| 1909 | 1893 | font-size: 13px; |
| 1910 | 1894 | /* Override core line-height. To be reviewed. */ |
| @@ -1910,12 +1894,17 @@ | ||
| 1910 | 1894 | /* Override core line-height. To be reviewed. */ |
| 1911 | 1895 | line-height: normal; |
| 1912 | 1896 | } |
| 1913 | 1897 | } |
| 1898 | +.dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection:hover:not(:disabled, [aria-disabled=true]) { | |
| 1899 | + border-color: var(--wpds-color-stroke-interactive-neutral-active, #6e6e6e); | |
| 1900 | +} | |
| 1901 | + | |
| 1914 | 1902 | .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection:focus { |
| 1915 | - border-color: var(--wp-admin-theme-color); | |
| 1916 | - box-shadow: 0 0 0 0.5px var(--wp-admin-theme-color); | |
| 1917 | - outline: 2px solid transparent; | |
| 1903 | + outline: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)) solid var(--focus-color, var(--wpds-color-stroke-focus, var(--wp-admin-theme-color, #3858e9))); | |
| 1904 | + outline-offset: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)); | |
| 1905 | + border-color: var(--wpds-color-stroke-interactive-neutral, #8d8d8d); | |
| 1906 | + box-shadow: none; | |
| 1918 | 1907 | } |
| 1919 | 1908 | |
| 1920 | 1909 | .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection::placeholder { |
| 1921 | 1910 | color: rgba(30, 30, 30, 0.62); |
| @@ -1920,8 +1909,12 @@ | ||
| 1920 | 1909 | .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection::placeholder { |
| 1921 | 1910 | color: rgba(30, 30, 30, 0.62); |
| 1922 | 1911 | } |
| 1923 | 1912 | |
| 1913 | +.dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection:hover:not(:disabled, [aria-disabled=true]) { | |
| 1914 | + background: var(--wpds-color-background-interactive-neutral-active, #fff); | |
| 1915 | +} | |
| 1916 | + | |
| 1924 | 1917 | .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection:focus { |
| 1925 | 1918 | box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--wp-admin-theme-color); |
| 1926 | 1919 | outline: 2px solid transparent; |
| 1927 | 1920 | } |
| @@ -1952,9 +1945,9 @@ | ||
| 1952 | 1945 | display: inline-block; |
| 1953 | 1946 | vertical-align: middle; |
| 1954 | 1947 | width: 16px; |
| 1955 | 1948 | /* stylelint-disable-next-line font-family-no-missing-generic-family-keyword -- dashicons don't need a generic family keyword. */ |
| 1956 | - font: normal 30px/1 dashicons; | |
| 1949 | + font: 400 30px/1 dashicons; | |
| 1957 | 1950 | speak: none; |
| 1958 | 1951 | -webkit-font-smoothing: antialiased; |
| 1959 | 1952 | -moz-osx-font-smoothing: grayscale; |
| 1960 | 1953 | } |
| @@ -1965,18 +1958,24 @@ | ||
| 1965 | 1958 | font-size: 21px; |
| 1966 | 1959 | } |
| 1967 | 1960 | } |
| 1968 | 1961 | .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection[aria-disabled=true], .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection:disabled { |
| 1969 | - background: #f0f0f0; | |
| 1970 | - border-color: #ddd; | |
| 1962 | + background: var(--wpds-color-background-interactive-neutral-disabled, #fff); | |
| 1963 | + border-color: var(--wpds-color-stroke-interactive-neutral-disabled, #dbdbdb); | |
| 1964 | + color: var(--wpds-color-foreground-interactive-neutral-disabled, #8d8d8d); | |
| 1971 | 1965 | cursor: default; |
| 1972 | 1966 | opacity: 1; |
| 1973 | 1967 | } |
| 1974 | 1968 | |
| 1969 | +.dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection[aria-disabled=true]:checked::before, .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection[aria-disabled=true][aria-checked=mixed]::before, .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection:disabled:checked::before, .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection:disabled[aria-checked=mixed]::before { | |
| 1970 | + color: var(--wpds-color-foreground-interactive-neutral-disabled, #8d8d8d); | |
| 1971 | +} | |
| 1972 | + | |
| 1975 | 1973 | .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection { |
| 1976 | 1974 | position: relative; |
| 1977 | - background: var(--wpds-color-bg-interactive-neutral-weak, rgba(0, 0, 0, 0)); | |
| 1978 | - color: var(--wpds-color-fg-content-neutral, #1e1e1e); | |
| 1975 | + /* stylelint-disable-next-line plugin-wpds/no-token-fallback-values -- Preserve custom background theming with older @wordpress/theme runtimes that do not set this token. */ | |
| 1976 | + background: var(--wpds-color-background-interactive-neutral, var(--wpds-color-background-surface-neutral-strong, #fff)); | |
| 1977 | + color: var(--wpds-color-foreground-content-neutral, #1e1e1e); | |
| 1979 | 1978 | margin: 0; |
| 1980 | 1979 | padding: 0; |
| 1981 | 1980 | width: var(--checkbox-size); |
| 1982 | 1981 | height: var(--checkbox-size); |
| @@ -1992,15 +1991,15 @@ | ||
| 1992 | 1991 | transition: 0.1s border-color ease-in-out; |
| 1993 | 1992 | } |
| 1994 | 1993 | } |
| 1995 | 1994 | .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection.is-selected { |
| 1996 | - background: var(--wpds-color-bg-interactive-brand-strong, var(--wp-admin-theme-color, #3858e9)); | |
| 1995 | + background: var(--wpds-color-background-interactive-brand-strong, var(--wp-admin-theme-color, #3858e9)); | |
| 1997 | 1996 | border-color: var(--wpds-color-stroke-interactive-brand, var(--wp-admin-theme-color, #3858e9)); |
| 1998 | 1997 | } |
| 1999 | 1998 | |
| 2000 | 1999 | .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection.is-selected svg { |
| 2001 | 2000 | --checkmark-size: var(--checkbox-size); |
| 2002 | - fill: var(--wpds-color-fg-interactive-neutral-strong, #f0f0f0); | |
| 2001 | + color: var(--wpds-color-foreground-interactive-neutral-strong, #f0f0f0); | |
| 2003 | 2002 | position: absolute; |
| 2004 | 2003 | left: 50%; |
| 2005 | 2004 | top: 50%; |
| 2006 | 2005 | transform: translate(-50%, -50%); |
| @@ -2018,24 +2017,18 @@ | ||
| 2018 | 2017 | padding: var(--wpds-dimension-padding-sm, 8px); |
| 2019 | 2018 | } |
| 2020 | 2019 | |
| 2021 | 2020 | .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input { |
| 2022 | - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; | |
| 2021 | + font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; | |
| 2023 | 2022 | padding: 6px 8px; |
| 2024 | 2023 | /* Fonts smaller than 16px causes mobile safari to zoom. */ |
| 2025 | 2024 | font-size: 16px; |
| 2026 | 2025 | /* Override core line-height. To be reviewed. */ |
| 2027 | 2026 | line-height: normal; |
| 2028 | - box-shadow: 0 0 0 transparent; | |
| 2029 | - border-radius: 2px; | |
| 2030 | - border: 1px solid #949494; | |
| 2027 | + border: var(--wpds-border-width-xs, 1px) solid var(--wpds-color-stroke-interactive-neutral, #8d8d8d); | |
| 2028 | + border-radius: var(--wpds-border-radius-sm, 2px); | |
| 2031 | 2029 | } |
| 2032 | 2030 | |
| 2033 | -@media not (prefers-reduced-motion) { | |
| 2034 | - .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input { | |
| 2035 | - transition: box-shadow 0.1s linear; | |
| 2036 | - } | |
| 2037 | -} | |
| 2038 | 2031 | @media (min-width: 600px) { |
| 2039 | 2032 | .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input { |
| 2040 | 2033 | font-size: 13px; |
| 2041 | 2034 | /* Override core line-height. To be reviewed. */ |
| @@ -2041,12 +2034,17 @@ | ||
| 2041 | 2034 | /* Override core line-height. To be reviewed. */ |
| 2042 | 2035 | line-height: normal; |
| 2043 | 2036 | } |
| 2044 | 2037 | } |
| 2038 | +.dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input:hover:not(:disabled, [aria-disabled=true]) { | |
| 2039 | + border-color: var(--wpds-color-stroke-interactive-neutral-active, #6e6e6e); | |
| 2040 | +} | |
| 2041 | + | |
| 2045 | 2042 | .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input:focus { |
| 2046 | - border-color: var(--wp-admin-theme-color); | |
| 2047 | - box-shadow: 0 0 0 0.5px var(--wp-admin-theme-color); | |
| 2048 | - outline: 2px solid transparent; | |
| 2043 | + outline: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)) solid var(--focus-color, var(--wpds-color-stroke-focus, var(--wp-admin-theme-color, #3858e9))); | |
| 2044 | + outline-offset: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)); | |
| 2045 | + border-color: var(--wpds-color-stroke-interactive-neutral, #8d8d8d); | |
| 2046 | + box-shadow: none; | |
| 2049 | 2047 | } |
| 2050 | 2048 | |
| 2051 | 2049 | .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input::placeholder { |
| 2052 | 2050 | color: rgba(30, 30, 30, 0.62); |
| @@ -2053,11 +2051,11 @@ | ||
| 2053 | 2051 | } |
| 2054 | 2052 | |
| 2055 | 2053 | .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input { |
| 2056 | 2054 | display: block; |
| 2057 | - padding: 0 var(--wpds-dimension-padding-sm, 8px) 0 calc(var(--wpds-dimension-base, 4px) * 8); | |
| 2055 | + padding: 0 var(--wpds-dimension-padding-sm, 8px) 0 var(--wpds-dimension-size-md, 32px); | |
| 2058 | 2056 | width: 100%; |
| 2059 | - height: calc(var(--wpds-dimension-base, 4px) * 8); | |
| 2057 | + height: var(--wpds-dimension-size-md, 32px); | |
| 2060 | 2058 | margin-left: 0; |
| 2061 | 2059 | margin-right: 0; |
| 2062 | 2060 | /* Fonts smaller than 16px causes mobile safari to zoom. */ |
| 2063 | 2061 | font-size: 16px; |
| @@ -2068,14 +2066,13 @@ | ||
| 2068 | 2066 | font-size: var(--wpds-typography-font-size-md, 13px); |
| 2069 | 2067 | } |
| 2070 | 2068 | } |
| 2071 | 2069 | .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input:focus { |
| 2072 | - background: var(--wpds-color-bg-surface-neutral-strong, #fff); | |
| 2073 | - box-shadow: inset 0 0 0 var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)) var(--wpds-color-stroke-focus-brand, var(--wp-admin-theme-color, #3858e9)); | |
| 2070 | + background: var(--wpds-color-background-surface-neutral-strong, #fff); | |
| 2074 | 2071 | } |
| 2075 | 2072 | |
| 2076 | 2073 | .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input::placeholder { |
| 2077 | - color: var(--wpds-color-fg-content-neutral-weak, #707070); | |
| 2074 | + color: var(--wpds-color-foreground-content-neutral-weak, #707070); | |
| 2078 | 2075 | } |
| 2079 | 2076 | |
| 2080 | 2077 | .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input::-webkit-search-decoration, .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input::-webkit-search-cancel-button, .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input::-webkit-search-results-button, .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input::-webkit-search-results-decoration { |
| 2081 | 2078 | -webkit-appearance: none; |
| @@ -2088,9 +2085,9 @@ | ||
| 2088 | 2085 | bottom: 0; |
| 2089 | 2086 | display: flex; |
| 2090 | 2087 | align-items: center; |
| 2091 | 2088 | justify-content: center; |
| 2092 | - width: 24px; | |
| 2089 | + width: var(--wpds-dimension-size-sm, 24px); | |
| 2093 | 2090 | } |
| 2094 | 2091 | |
| 2095 | 2092 | .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__icon:dir(ltr) { |
| 2096 | 2093 | transform: scaleX(-1); |
| @@ -2105,25 +2102,21 @@ | ||
| 2105 | 2102 | position: absolute; |
| 2106 | 2103 | top: 0; |
| 2107 | 2104 | right: 0; |
| 2108 | 2105 | transform: translate(50%, -50%); |
| 2109 | - background: var(--wpds-color-bg-interactive-brand-strong, var(--wp-admin-theme-color, #3858e9)); | |
| 2110 | - height: calc(var(--wpds-dimension-base, 4px) * 4); | |
| 2111 | - min-width: calc(var(--wpds-dimension-base, 4px) * 4); | |
| 2106 | + background: var(--wpds-color-background-interactive-brand-strong, var(--wp-admin-theme-color, #3858e9)); | |
| 2107 | + height: var(--wpds-dimension-size-2xs, 16px); | |
| 2108 | + min-width: var(--wpds-dimension-size-2xs, 16px); | |
| 2112 | 2109 | line-height: var(--wpds-typography-line-height-xs, 16px); |
| 2113 | 2110 | padding: 0 var(--wpds-dimension-padding-xs, 4px); |
| 2114 | 2111 | text-align: center; |
| 2115 | 2112 | border-radius: var(--wpds-border-radius-lg, 8px); |
| 2116 | 2113 | font-size: 11px; |
| 2117 | - outline: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)) solid var(--wpds-color-bg-surface-neutral-strong, #fff); | |
| 2118 | - color: var(--wpds-color-fg-interactive-neutral-strong, #f0f0f0); | |
| 2114 | + outline: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)) solid var(--wpds-color-background-surface-neutral-strong, #fff); | |
| 2115 | + color: var(--wpds-color-foreground-interactive-neutral-strong, #f0f0f0); | |
| 2119 | 2116 | box-sizing: border-box; |
| 2120 | 2117 | } |
| 2121 | 2118 | |
| 2122 | -.dataviews-search { | |
| 2123 | - width: fit-content; | |
| 2124 | -} | |
| 2125 | - | |
| 2126 | 2119 | .dataviews-filters__user-input-widget { |
| 2127 | 2120 | padding: var(--wpds-dimension-padding-lg, 16px); |
| 2128 | 2121 | } |
| 2129 | 2122 | |
| @@ -2143,9 +2136,9 @@ | ||
| 2143 | 2136 | bottom: 0; |
| 2144 | 2137 | left: 0; |
| 2145 | 2138 | background-color: inherit; |
| 2146 | 2139 | padding: var(--wpds-dimension-padding-md, 12px) var(--wpds-dimension-padding-2xl, 24px); |
| 2147 | - border-top: var(--wpds-border-width-xs, 1px) solid var(--wpds-color-stroke-surface-neutral-weak, #e4e4e4); | |
| 2140 | + border-top: var(--wpds-border-width-xs, 1px) solid var(--wpds-color-stroke-surface-neutral-weak, #f0f0f0); | |
| 2148 | 2141 | flex-shrink: 0; |
| 2149 | 2142 | } |
| 2150 | 2143 | |
| 2151 | 2144 | @media not (prefers-reduced-motion) { |
| @@ -2184,9 +2177,9 @@ | ||
| 2184 | 2177 | } |
| 2185 | 2178 | } |
| 2186 | 2179 | .dataviews-pagination__page-select { |
| 2187 | 2180 | font-size: 11px; |
| 2188 | - font-weight: var(--wpds-typography-font-weight-medium, 499); | |
| 2181 | + font-weight: var(--wpds-typography-font-weight-emphasis, 600); | |
| 2189 | 2182 | text-transform: uppercase; |
| 2190 | 2183 | } |
| 2191 | 2184 | |
| 2192 | 2185 | @media (min-width: 600px) { |
| @@ -2191,9 +2184,9 @@ | ||
| 2191 | 2184 | |
| 2192 | 2185 | @media (min-width: 600px) { |
| 2193 | 2186 | .dataviews-pagination__page-select .components-select-control__input { |
| 2194 | 2187 | font-size: 11px !important; |
| 2195 | - font-weight: var(--wpds-typography-font-weight-medium, 499); | |
| 2188 | + font-weight: var(--wpds-typography-font-weight-emphasis, 600); | |
| 2196 | 2189 | } |
| 2197 | 2190 | } |
| 2198 | 2191 | .dataviews-action-modal { |
| 2199 | 2192 | z-index: 1000001; |
| @@ -2222,9 +2215,8 @@ | ||
| 2222 | 2215 | } |
| 2223 | 2216 | |
| 2224 | 2217 | .dataviews-view-config { |
| 2225 | 2218 | width: 320px; |
| 2226 | - /* stylelint-disable-next-line property-no-unknown -- the linter needs to be updated to accepted the container-type property */ | |
| 2227 | 2219 | container-type: inline-size; |
| 2228 | 2220 | font-size: var(--wpds-typography-font-size-md, 13px); |
| 2229 | 2221 | line-height: var(--wpds-typography-line-height-sm, 20px); |
| 2230 | 2222 | } |
| @@ -2297,9 +2289,9 @@ | ||
| 2297 | 2289 | top: var(--wpds-dimension-gap-xs, 4px); |
| 2298 | 2290 | right: var(--wpds-dimension-gap-xs, 4px); |
| 2299 | 2291 | width: var(--wpds-dimension-gap-xs, 4px); |
| 2300 | 2292 | height: var(--wpds-dimension-gap-xs, 4px); |
| 2301 | - background: var(--wpds-color-bg-interactive-brand-strong, var(--wp-admin-theme-color, #3858e9)); | |
| 2293 | + background: var(--wpds-color-background-interactive-brand-strong, var(--wp-admin-theme-color, #3858e9)); | |
| 2302 | 2294 | border-radius: 50%; |
| 2303 | 2295 | pointer-events: none; |
| 2304 | 2296 | } |
| 2305 | 2297 | |
| @@ -2372,9 +2364,9 @@ | ||
| 2372 | 2364 | top: 0; |
| 2373 | 2365 | left: 0; |
| 2374 | 2366 | width: 100%; |
| 2375 | 2367 | height: 100%; |
| 2376 | - box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wpds-color-stroke-focus-brand, var(--wp-admin-theme-color, #3858e9)); | |
| 2368 | + box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wpds-color-stroke-focus, var(--wp-admin-theme-color, #3858e9)); | |
| 2377 | 2369 | border-radius: var(--wpds-border-radius-md, 4px); |
| 2378 | 2370 | pointer-events: none; |
| 2379 | 2371 | outline: 2px solid transparent; |
| 2380 | 2372 | } |
| @@ -2393,9 +2385,9 @@ | ||
| 2393 | 2385 | } |
| 2394 | 2386 | |
| 2395 | 2387 | .dataviews-view-grid .dataviews-view-grid__card .dataviews-view-grid__title-field, |
| 2396 | 2388 | .dataviews-view-grid-infinite-scroll .dataviews-view-grid__card .dataviews-view-grid__title-field { |
| 2397 | - min-height: calc(var(--wpds-dimension-base, 4px) * 6); | |
| 2389 | + min-height: var(--wpds-dimension-size-sm, 24px); | |
| 2398 | 2390 | overflow: hidden; |
| 2399 | 2391 | align-content: center; |
| 2400 | 2392 | text-align: start; |
| 2401 | 2393 | } |
| @@ -2406,26 +2398,26 @@ | ||
| 2406 | 2398 | } |
| 2407 | 2399 | |
| 2408 | 2400 | .dataviews-view-grid .dataviews-view-grid__card.is-selected .dataviews-view-grid__fields .dataviews-view-grid__field .dataviews-view-grid__field-value, |
| 2409 | 2401 | .dataviews-view-grid-infinite-scroll .dataviews-view-grid__card.is-selected .dataviews-view-grid__fields .dataviews-view-grid__field .dataviews-view-grid__field-value { |
| 2410 | - color: var(--wpds-color-fg-content-neutral, #1e1e1e); | |
| 2402 | + color: var(--wpds-color-foreground-content-neutral, #1e1e1e); | |
| 2411 | 2403 | } |
| 2412 | 2404 | |
| 2413 | 2405 | .dataviews-view-grid .dataviews-view-grid__card.is-selected .dataviews-view-grid__media::after, |
| 2414 | 2406 | .dataviews-view-grid-infinite-scroll .dataviews-view-grid__card.is-selected .dataviews-view-grid__media::after { |
| 2415 | - box-shadow: inset 0 0 0 var(--wpds-border-width-xs, 1px) var(--wpds-color-stroke-interactive-brand, var(--wp-admin-theme-color, #3858e9)), inset 0 0 0 var(--wpds-border-width-sm, 2px) var(--wpds-color-bg-surface-neutral-strong, #fff); | |
| 2407 | + box-shadow: inset 0 0 0 var(--wpds-border-width-xs, 1px) var(--wpds-color-stroke-interactive-brand, var(--wp-admin-theme-color, #3858e9)), inset 0 0 0 var(--wpds-border-width-sm, 2px) var(--wpds-color-background-surface-neutral-strong, #fff); | |
| 2416 | 2408 | } |
| 2417 | 2409 | |
| 2418 | 2410 | .dataviews-view-grid .dataviews-view-grid__card .dataviews-view-grid__media:focus::after, |
| 2419 | 2411 | .dataviews-view-grid-infinite-scroll .dataviews-view-grid__card .dataviews-view-grid__media:focus::after { |
| 2420 | - box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wpds-color-stroke-focus-brand, var(--wp-admin-theme-color, #3858e9)); | |
| 2412 | + box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wpds-color-stroke-focus, var(--wp-admin-theme-color, #3858e9)); | |
| 2421 | 2413 | } |
| 2422 | 2414 | |
| 2423 | 2415 | .dataviews-view-grid .dataviews-view-grid__media, |
| 2424 | 2416 | .dataviews-view-grid-infinite-scroll .dataviews-view-grid__media { |
| 2425 | 2417 | width: 100%; |
| 2426 | - aspect-ratio: 1/1; | |
| 2427 | - background-color: var(--wpds-color-bg-surface-neutral-strong, #fff); | |
| 2418 | + aspect-ratio: var(--wp-dataviews-media-aspect-ratio, 1/1); | |
| 2419 | + background-color: var(--wpds-color-background-surface-neutral-strong, #fff); | |
| 2428 | 2420 | border-radius: var(--wpds-border-radius-md, 4px); |
| 2429 | 2421 | overflow: hidden; |
| 2430 | 2422 | position: relative; |
| 2431 | 2423 | } |
| @@ -2461,11 +2453,21 @@ | ||
| 2461 | 2453 | height: 100%; |
| 2462 | 2454 | display: block; |
| 2463 | 2455 | border-radius: var(--wpds-border-radius-md, 4px); |
| 2464 | 2456 | box-shadow: none; |
| 2465 | - background: var(--wpds-color-bg-surface-neutral, #fcfcfc); | |
| 2457 | + background: var(--wpds-color-background-surface-neutral, #fcfcfc); | |
| 2466 | 2458 | } |
| 2467 | 2459 | |
| 2460 | +.dataviews-view-grid.has-media-fit-contain .dataviews-view-grid__media, | |
| 2461 | +.dataviews-view-grid-infinite-scroll.has-media-fit-contain .dataviews-view-grid__media { | |
| 2462 | + background-color: var(--wpds-color-background-surface-neutral, #fcfcfc); | |
| 2463 | +} | |
| 2464 | + | |
| 2465 | +.dataviews-view-grid.has-media-fit-contain .dataviews-view-grid__media img, | |
| 2466 | +.dataviews-view-grid-infinite-scroll.has-media-fit-contain .dataviews-view-grid__media img { | |
| 2467 | + object-fit: contain; | |
| 2468 | +} | |
| 2469 | + | |
| 2468 | 2470 | .dataviews-view-grid .dataviews-view-grid__fields, |
| 2469 | 2471 | .dataviews-view-grid-infinite-scroll .dataviews-view-grid__fields { |
| 2470 | 2472 | position: relative; |
| 2471 | 2473 | font-size: 12px; |
| @@ -2478,16 +2480,16 @@ | ||
| 2478 | 2480 | } |
| 2479 | 2481 | |
| 2480 | 2482 | .dataviews-view-grid .dataviews-view-grid__fields .dataviews-view-grid__field-value:not(:empty), |
| 2481 | 2483 | .dataviews-view-grid-infinite-scroll .dataviews-view-grid__fields .dataviews-view-grid__field-value:not(:empty) { |
| 2482 | - min-height: calc(var(--wpds-dimension-base, 4px) * 6); | |
| 2484 | + min-height: var(--wpds-dimension-size-sm, 24px); | |
| 2483 | 2485 | line-height: var(--wpds-typography-line-height-sm, 20px); |
| 2484 | - padding-top: calc(var(--wpds-dimension-base, 4px) / 2); | |
| 2486 | + padding-top: calc((var(--wpds-dimension-size-sm, 24px) - var(--wpds-typography-line-height-sm, 20px)) / 2); | |
| 2485 | 2487 | } |
| 2486 | 2488 | |
| 2487 | 2489 | .dataviews-view-grid .dataviews-view-grid__fields .dataviews-view-grid__field, |
| 2488 | 2490 | .dataviews-view-grid-infinite-scroll .dataviews-view-grid__fields .dataviews-view-grid__field { |
| 2489 | - min-height: calc(var(--wpds-dimension-base, 4px) * 6); | |
| 2491 | + min-height: var(--wpds-dimension-size-sm, 24px); | |
| 2490 | 2492 | align-items: center; |
| 2491 | 2493 | } |
| 2492 | 2494 | |
| 2493 | 2495 | .dataviews-view-grid .dataviews-view-grid__fields .dataviews-view-grid__field .dataviews-view-grid__field-name, |
| @@ -2492,9 +2494,9 @@ | ||
| 2492 | 2494 | |
| 2493 | 2495 | .dataviews-view-grid .dataviews-view-grid__fields .dataviews-view-grid__field .dataviews-view-grid__field-name, |
| 2494 | 2496 | .dataviews-view-grid-infinite-scroll .dataviews-view-grid__fields .dataviews-view-grid__field .dataviews-view-grid__field-name { |
| 2495 | 2497 | width: 35%; |
| 2496 | - color: var(--wpds-color-fg-content-neutral-weak, #707070); | |
| 2498 | + color: var(--wpds-color-foreground-content-neutral-weak, #707070); | |
| 2497 | 2499 | overflow: hidden; |
| 2498 | 2500 | text-overflow: ellipsis; |
| 2499 | 2501 | white-space: nowrap; |
| 2500 | 2502 | } |
| @@ -2569,9 +2571,9 @@ | ||
| 2569 | 2571 | right: var(--wpds-dimension-padding-xs, 4px); |
| 2570 | 2572 | } |
| 2571 | 2573 | |
| 2572 | 2574 | .dataviews-view-grid__card .dataviews-view-grid__media-actions .dataviews-all-actions-button { |
| 2573 | - background-color: var(--wpds-color-bg-surface-neutral-strong, #fff); | |
| 2575 | + background-color: var(--wpds-color-background-surface-neutral-strong, #fff); | |
| 2574 | 2576 | } |
| 2575 | 2577 | |
| 2576 | 2578 | @media not (prefers-reduced-motion) { |
| 2577 | 2579 | .dataviews-view-grid__card .dataviews-view-grid__media-actions { |
| @@ -2595,10 +2597,10 @@ | ||
| 2595 | 2597 | } |
| 2596 | 2598 | |
| 2597 | 2599 | .dataviews-view-grid__group-header { |
| 2598 | 2600 | font-size: var(--wpds-typography-font-size-lg, 15px); |
| 2599 | - font-weight: var(--wpds-typography-font-weight-medium, 499); | |
| 2600 | - color: var(--wpds-color-fg-content-neutral, #1e1e1e); | |
| 2601 | + font-weight: var(--wpds-typography-font-weight-emphasis, 600); | |
| 2602 | + color: var(--wpds-color-foreground-content-neutral, #1e1e1e); | |
| 2601 | 2603 | margin: 0 0 var(--wpds-dimension-gap-sm, 8px) 0; |
| 2602 | 2604 | padding: 0 var(--wpds-dimension-padding-2xl, 24px); |
| 2603 | 2605 | container-type: inline-size; |
| 2604 | 2606 | } |
| @@ -2613,9 +2615,9 @@ | ||
| 2613 | 2615 | |
| 2614 | 2616 | .dataviews-view-list div[role=row], |
| 2615 | 2617 | .dataviews-view-list div[role=article] { |
| 2616 | 2618 | margin: 0; |
| 2617 | - border-top: 1px solid var(--wpds-color-stroke-surface-neutral-weak, #e4e4e4); | |
| 2619 | + border-top: 1px solid var(--wpds-color-stroke-surface-neutral-weak, #f0f0f0); | |
| 2618 | 2620 | } |
| 2619 | 2621 | |
| 2620 | 2622 | .dataviews-view-list div[role=row] .dataviews-view-list__item-wrapper, |
| 2621 | 2623 | .dataviews-view-list div[role=article] .dataviews-view-list__item-wrapper { |
| @@ -2640,9 +2642,9 @@ | ||
| 2640 | 2642 | } |
| 2641 | 2643 | |
| 2642 | 2644 | .dataviews-view-list div[role=row] .dataviews-view-list__item-actions > div, |
| 2643 | 2645 | .dataviews-view-list div[role=article] .dataviews-view-list__item-actions > div { |
| 2644 | - height: 24px; | |
| 2646 | + height: var(--wpds-dimension-size-sm, 24px); | |
| 2645 | 2647 | } |
| 2646 | 2648 | |
| 2647 | 2649 | .dataviews-view-list div[role=row] .dataviews-view-list__item-actions > :not(:last-child), |
| 2648 | 2650 | .dataviews-view-list div[role=article] .dataviews-view-list__item-actions > :not(:last-child) { |
| @@ -2667,15 +2669,15 @@ | ||
| 2667 | 2669 | } |
| 2668 | 2670 | } |
| 2669 | 2671 | .dataviews-view-list div[role=row].is-selected.is-selected, |
| 2670 | 2672 | .dataviews-view-list div[role=article].is-selected.is-selected { |
| 2671 | - border-top: 1px solid var(--wpds-color-stroke-surface-brand, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 46%, white)); | |
| 2673 | + border-top: 1px solid var(--wpds-color-stroke-surface-brand, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 40%, white)); | |
| 2672 | 2674 | } |
| 2673 | 2675 | |
| 2674 | 2676 | .dataviews-view-list div[role=row].is-selected.is-selected + div[role=row], .dataviews-view-list div[role=row].is-selected.is-selected + div[role=article], |
| 2675 | 2677 | .dataviews-view-list div[role=article].is-selected.is-selected + div[role=row], |
| 2676 | 2678 | .dataviews-view-list div[role=article].is-selected.is-selected + div[role=article] { |
| 2677 | - border-top: 1px solid var(--wpds-color-stroke-surface-brand, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 46%, white)); | |
| 2679 | + border-top: 1px solid var(--wpds-color-stroke-surface-brand, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 40%, white)); | |
| 2678 | 2680 | } |
| 2679 | 2681 | |
| 2680 | 2682 | .dataviews-view-list div[role=row]:not(.is-selected):hover, .dataviews-view-list div[role=row]:not(.is-selected).is-hovered, .dataviews-view-list div[role=row]:not(.is-selected):focus-within, |
| 2681 | 2683 | .dataviews-view-list div[role=article]:not(.is-selected):hover, |
| @@ -2680,10 +2682,9 @@ | ||
| 2680 | 2682 | .dataviews-view-list div[role=row]:not(.is-selected):hover, .dataviews-view-list div[role=row]:not(.is-selected).is-hovered, .dataviews-view-list div[role=row]:not(.is-selected):focus-within, |
| 2681 | 2683 | .dataviews-view-list div[role=article]:not(.is-selected):hover, |
| 2682 | 2684 | .dataviews-view-list div[role=article]:not(.is-selected).is-hovered, |
| 2683 | 2685 | .dataviews-view-list div[role=article]:not(.is-selected):focus-within { |
| 2684 | - color: var(--wpds-color-fg-interactive-brand, var(--wp-admin-theme-color, #3858e9)); | |
| 2685 | - background-color: var(--wpds-color-bg-interactive-brand-weak, rgba(0, 0, 0, 0)); | |
| 2686 | + background-color: var(--wpds-color-background-interactive-neutral-weak-active, #ededed); | |
| 2686 | 2687 | } |
| 2687 | 2688 | |
| 2688 | 2689 | .dataviews-view-list div[role=row]:not(.is-selected):hover .dataviews-title-field, |
| 2689 | 2690 | .dataviews-view-list div[role=row]:not(.is-selected):hover .dataviews-view-list__field, .dataviews-view-list div[role=row]:not(.is-selected).is-hovered .dataviews-title-field, |
| @@ -2694,9 +2695,9 @@ | ||
| 2694 | 2695 | .dataviews-view-list div[role=article]:not(.is-selected).is-hovered .dataviews-title-field, |
| 2695 | 2696 | .dataviews-view-list div[role=article]:not(.is-selected).is-hovered .dataviews-view-list__field, |
| 2696 | 2697 | .dataviews-view-list div[role=article]:not(.is-selected):focus-within .dataviews-title-field, |
| 2697 | 2698 | .dataviews-view-list div[role=article]:not(.is-selected):focus-within .dataviews-view-list__field { |
| 2698 | - color: var(--wpds-color-fg-interactive-brand, var(--wp-admin-theme-color, #3858e9)); | |
| 2699 | + color: var(--wpds-color-foreground-interactive-neutral, #1e1e1e); | |
| 2699 | 2700 | } |
| 2700 | 2701 | |
| 2701 | 2702 | .dataviews-view-list div[role=row].is-selected .dataviews-view-list__item-wrapper, |
| 2702 | 2703 | .dataviews-view-list div[role=row].is-selected:focus-within .dataviews-view-list__item-wrapper, |
| @@ -2701,10 +2702,10 @@ | ||
| 2701 | 2702 | .dataviews-view-list div[role=row].is-selected .dataviews-view-list__item-wrapper, |
| 2702 | 2703 | .dataviews-view-list div[role=row].is-selected:focus-within .dataviews-view-list__item-wrapper, |
| 2703 | 2704 | .dataviews-view-list div[role=article].is-selected .dataviews-view-list__item-wrapper, |
| 2704 | 2705 | .dataviews-view-list div[role=article].is-selected:focus-within .dataviews-view-list__item-wrapper { |
| 2705 | - background-color: var(--wpds-color-bg-interactive-brand-weak-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 12%, white)); | |
| 2706 | - color: var(--wpds-color-fg-interactive-neutral, #1e1e1e); | |
| 2706 | + background-color: var(--wpds-color-background-interactive-brand-weak-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 12%, white)); | |
| 2707 | + color: var(--wpds-color-foreground-content-neutral, #1e1e1e); | |
| 2707 | 2708 | } |
| 2708 | 2709 | |
| 2709 | 2710 | .dataviews-view-list div[role=row].is-selected .dataviews-view-list__item-wrapper .dataviews-title-field, |
| 2710 | 2711 | .dataviews-view-list div[role=row].is-selected .dataviews-view-list__item-wrapper .dataviews-view-list__field, |
| @@ -2713,9 +2714,9 @@ | ||
| 2713 | 2714 | .dataviews-view-list div[role=article].is-selected .dataviews-view-list__item-wrapper .dataviews-title-field, |
| 2714 | 2715 | .dataviews-view-list div[role=article].is-selected .dataviews-view-list__item-wrapper .dataviews-view-list__field, |
| 2715 | 2716 | .dataviews-view-list div[role=article].is-selected:focus-within .dataviews-view-list__item-wrapper .dataviews-title-field, |
| 2716 | 2717 | .dataviews-view-list div[role=article].is-selected:focus-within .dataviews-view-list__item-wrapper .dataviews-view-list__field { |
| 2717 | - color: var(--wpds-color-fg-interactive-neutral-active, #1e1e1e); | |
| 2718 | + color: var(--wpds-color-foreground-content-neutral, #1e1e1e); | |
| 2718 | 2719 | } |
| 2719 | 2720 | |
| 2720 | 2721 | .dataviews-view-list .dataviews-view-list__item { |
| 2721 | 2722 | position: absolute; |
| @@ -2736,9 +2737,9 @@ | ||
| 2736 | 2737 | .dataviews-view-list .dataviews-view-list__item:focus-visible::before { |
| 2737 | 2738 | position: absolute; |
| 2738 | 2739 | content: ""; |
| 2739 | 2740 | inset: var(--wp-admin-border-width-focus); |
| 2740 | - box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wpds-color-stroke-focus-brand, var(--wp-admin-theme-color, #3858e9)); | |
| 2741 | + box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wpds-color-stroke-focus, var(--wp-admin-theme-color, #3858e9)); | |
| 2741 | 2742 | border-radius: var(--wpds-border-radius-sm, 2px); |
| 2742 | 2743 | outline: 2px solid transparent; |
| 2743 | 2744 | } |
| 2744 | 2745 | |
| @@ -2743,9 +2744,9 @@ | ||
| 2743 | 2744 | } |
| 2744 | 2745 | |
| 2745 | 2746 | .dataviews-view-list .dataviews-view-list__title-field { |
| 2746 | 2747 | flex: 1; |
| 2747 | - min-height: calc(var(--wpds-dimension-base, 4px) * 6); | |
| 2748 | + min-height: var(--wpds-dimension-size-sm, 24px); | |
| 2748 | 2749 | line-height: var(--wpds-typography-line-height-md, 24px); |
| 2749 | 2750 | overflow: hidden; |
| 2750 | 2751 | } |
| 2751 | 2752 | |
| @@ -2753,14 +2754,14 @@ | ||
| 2753 | 2754 | z-index: 1; |
| 2754 | 2755 | } |
| 2755 | 2756 | |
| 2756 | 2757 | .dataviews-view-list .dataviews-view-list__media-wrapper { |
| 2757 | - width: calc(var(--wpds-dimension-base, 4px) * 13); | |
| 2758 | - height: calc(var(--wpds-dimension-base, 4px) * 13); | |
| 2758 | + width: 48px; | |
| 2759 | + height: 48px; | |
| 2759 | 2760 | overflow: hidden; |
| 2760 | 2761 | position: relative; |
| 2761 | 2762 | flex-shrink: 0; |
| 2762 | - background-color: var(--wpds-color-bg-surface-neutral-strong, #fff); | |
| 2763 | + background-color: var(--wpds-color-background-surface-neutral-strong, #fff); | |
| 2763 | 2764 | border-radius: var(--wpds-border-radius-md, 4px); |
| 2764 | 2765 | } |
| 2765 | 2766 | |
| 2766 | 2767 | .dataviews-view-list .dataviews-view-list__media-wrapper img { |
| @@ -2780,15 +2781,15 @@ | ||
| 2780 | 2781 | border-radius: var(--wpds-border-radius-md, 4px); |
| 2781 | 2782 | } |
| 2782 | 2783 | |
| 2783 | 2784 | .dataviews-view-list .dataviews-view-list__field-wrapper { |
| 2784 | - min-height: calc(var(--wpds-dimension-base, 4px) * 13); | |
| 2785 | + min-height: 48px; | |
| 2785 | 2786 | flex-grow: 1; |
| 2786 | 2787 | min-width: 0; |
| 2787 | 2788 | } |
| 2788 | 2789 | |
| 2789 | 2790 | .dataviews-view-list .dataviews-view-list__field { |
| 2790 | - color: var(--wpds-color-fg-interactive-neutral-weak, #707070); | |
| 2791 | + color: var(--wpds-color-foreground-content-neutral-weak, #707070); | |
| 2791 | 2792 | } |
| 2792 | 2793 | |
| 2793 | 2794 | .dataviews-view-list .dataviews-view-list__fields { |
| 2794 | 2795 | display: flex; |
| @@ -2806,9 +2807,9 @@ | ||
| 2806 | 2807 | display: none; |
| 2807 | 2808 | } |
| 2808 | 2809 | |
| 2809 | 2810 | .dataviews-view-list .dataviews-view-list__fields .dataviews-view-list__field-value { |
| 2810 | - min-height: calc(var(--wpds-dimension-base, 4px) * 6); | |
| 2811 | + min-height: var(--wpds-dimension-size-sm, 24px); | |
| 2811 | 2812 | line-height: var(--wpds-typography-line-height-sm, 20px); |
| 2812 | 2813 | display: flex; |
| 2813 | 2814 | align-items: center; |
| 2814 | 2815 | } |
| @@ -2821,19 +2822,19 @@ | ||
| 2821 | 2822 | padding: var(--wpds-dimension-padding-sm, 8px) var(--wpds-dimension-padding-2xl, 24px); |
| 2822 | 2823 | } |
| 2823 | 2824 | |
| 2824 | 2825 | .dataviews-view-list.has-compact-density div[role=row] .dataviews-view-list__title-field { |
| 2825 | - min-height: calc(var(--wpds-dimension-base, 4px) * 4); | |
| 2826 | + min-height: var(--wpds-dimension-size-2xs, 16px); | |
| 2826 | 2827 | line-height: var(--wpds-typography-line-height-xs, 16px); |
| 2827 | 2828 | } |
| 2828 | 2829 | |
| 2829 | 2830 | .dataviews-view-list.has-compact-density div[role=row] .dataviews-view-list__media-wrapper { |
| 2830 | - width: calc(var(--wpds-dimension-base, 4px) * 8); | |
| 2831 | - height: calc(var(--wpds-dimension-base, 4px) * 8); | |
| 2831 | + width: var(--wpds-dimension-size-md, 32px); | |
| 2832 | + height: var(--wpds-dimension-size-md, 32px); | |
| 2832 | 2833 | } |
| 2833 | 2834 | |
| 2834 | 2835 | .dataviews-view-list.has-compact-density div[role=row] .dataviews-view-list__field-wrapper { |
| 2835 | - min-height: calc(var(--wpds-dimension-base, 4px) * 8); | |
| 2836 | + min-height: var(--wpds-dimension-size-md, 32px); | |
| 2836 | 2837 | } |
| 2837 | 2838 | |
| 2838 | 2839 | .dataviews-view-list.has-compact-density div[role=row] .dataviews-view-list__fields { |
| 2839 | 2840 | gap: var(--wpds-dimension-gap-sm, 8px); |
| @@ -2840,9 +2841,9 @@ | ||
| 2840 | 2841 | row-gap: var(--wpds-dimension-gap-xs, 4px); |
| 2841 | 2842 | } |
| 2842 | 2843 | |
| 2843 | 2844 | .dataviews-view-list.has-compact-density div[role=row] .dataviews-view-list__fields .dataviews-view-list__field-value { |
| 2844 | - min-height: calc(var(--wpds-dimension-base, 4px) * 4); | |
| 2845 | + min-height: var(--wpds-dimension-size-2xs, 16px); | |
| 2845 | 2846 | line-height: var(--wpds-typography-line-height-xs, 16px); |
| 2846 | 2847 | } |
| 2847 | 2848 | |
| 2848 | 2849 | .dataviews-view-list.has-comfortable-density div[role=row] .dataviews-view-list__item-wrapper { |
| @@ -2849,19 +2850,19 @@ | ||
| 2849 | 2850 | padding: var(--wpds-dimension-padding-2xl, 24px) var(--wpds-dimension-padding-2xl, 24px); |
| 2850 | 2851 | } |
| 2851 | 2852 | |
| 2852 | 2853 | .dataviews-view-list.has-comfortable-density div[role=row] .dataviews-view-list__title-field { |
| 2853 | - min-height: calc(var(--wpds-dimension-base, 4px) * 8); | |
| 2854 | + min-height: var(--wpds-dimension-size-md, 32px); | |
| 2854 | 2855 | line-height: var(--wpds-typography-line-height-xl, 32px); |
| 2855 | 2856 | } |
| 2856 | 2857 | |
| 2857 | 2858 | .dataviews-view-list.has-comfortable-density div[role=row] .dataviews-view-list__media-wrapper { |
| 2858 | - width: calc(var(--wpds-dimension-base, 4px) * 16); | |
| 2859 | - height: calc(var(--wpds-dimension-base, 4px) * 16); | |
| 2859 | + width: 64px; | |
| 2860 | + height: 64px; | |
| 2860 | 2861 | } |
| 2861 | 2862 | |
| 2862 | 2863 | .dataviews-view-list.has-comfortable-density div[role=row] .dataviews-view-list__field-wrapper { |
| 2863 | - min-height: calc(var(--wpds-dimension-base, 4px) * 16); | |
| 2864 | + min-height: 64px; | |
| 2864 | 2865 | } |
| 2865 | 2866 | |
| 2866 | 2867 | .dataviews-view-list.has-comfortable-density div[role=row] .dataviews-view-list__fields { |
| 2867 | 2868 | gap: var(--wpds-dimension-gap-lg, 16px); |
| @@ -2868,9 +2869,9 @@ | ||
| 2868 | 2869 | row-gap: var(--wpds-dimension-gap-sm, 8px); |
| 2869 | 2870 | } |
| 2870 | 2871 | |
| 2871 | 2872 | .dataviews-view-list.has-comfortable-density div[role=row] .dataviews-view-list__fields .dataviews-view-list__field-value { |
| 2872 | - min-height: calc(var(--wpds-dimension-base, 4px) * 8); | |
| 2873 | + min-height: var(--wpds-dimension-size-md, 32px); | |
| 2873 | 2874 | line-height: var(--wpds-typography-line-height-md, 24px); |
| 2874 | 2875 | } |
| 2875 | 2876 | |
| 2876 | 2877 | .dataviews-view-list.is-refreshing { |
| @@ -2885,11 +2886,11 @@ | ||
| 2885 | 2886 | } |
| 2886 | 2887 | } |
| 2887 | 2888 | .dataviews-view-list__group-header { |
| 2888 | 2889 | font-size: var(--wpds-typography-font-size-lg, 15px); |
| 2889 | - font-weight: var(--wpds-typography-font-weight-medium, 499); | |
| 2890 | - color: var(--wpds-color-fg-content-neutral, #1e1e1e); | |
| 2891 | - margin: 0 0 var(--wpds-dimension-gap-sm, 8px) 0; | |
| 2890 | + font-weight: var(--wpds-typography-font-weight-emphasis, 600); | |
| 2891 | + color: var(--wpds-color-foreground-content-neutral, #1e1e1e); | |
| 2892 | + margin: 0 0 var(--wpds-dimension-gap-lg, 16px) 0; | |
| 2892 | 2893 | padding: 0 var(--wpds-dimension-padding-2xl, 24px); |
| 2893 | 2894 | } |
| 2894 | 2895 | |
| 2895 | 2896 | .dataviews-view-table { |
| @@ -2897,9 +2898,9 @@ | ||
| 2897 | 2898 | text-indent: 0; |
| 2898 | 2899 | border-color: inherit; |
| 2899 | 2900 | border-collapse: collapse; |
| 2900 | 2901 | position: relative; |
| 2901 | - color: var(--wpds-color-fg-content-neutral-weak, #707070); | |
| 2902 | + color: var(--wpds-color-foreground-content-neutral-weak, #707070); | |
| 2902 | 2903 | margin-bottom: auto; |
| 2903 | 2904 | background-color: inherit; |
| 2904 | 2905 | } |
| 2905 | 2906 | |
| @@ -2904,10 +2905,10 @@ | ||
| 2904 | 2905 | } |
| 2905 | 2906 | |
| 2906 | 2907 | .dataviews-view-table th { |
| 2907 | 2908 | text-align: left; |
| 2908 | - color: var(--wpds-color-fg-content-neutral, #1e1e1e); | |
| 2909 | - font-weight: normal; | |
| 2909 | + color: var(--wpds-color-foreground-content-neutral, #1e1e1e); | |
| 2910 | + font-weight: 400; | |
| 2910 | 2911 | font-size: var(--wpds-typography-font-size-md, 13px); |
| 2911 | 2912 | } |
| 2912 | 2913 | |
| 2913 | 2914 | .dataviews-view-table td, |
| @@ -2923,9 +2924,9 @@ | ||
| 2923 | 2924 | .dataviews-view-table td.dataviews-view-table__actions-column--sticky, |
| 2924 | 2925 | .dataviews-view-table th.dataviews-view-table__actions-column--sticky { |
| 2925 | 2926 | position: sticky; |
| 2926 | 2927 | right: 0; |
| 2927 | - background-color: var(--wp-dataviews-color-background, var(--wpds-color-bg-surface-neutral-strong, #fff)); | |
| 2928 | + background-color: var(--wp-dataviews-color-background, var(--wpds-color-background-surface-neutral-strong, #fff)); | |
| 2928 | 2929 | } |
| 2929 | 2930 | |
| 2930 | 2931 | .dataviews-view-table td.dataviews-view-table__actions-column--stuck::after, |
| 2931 | 2932 | .dataviews-view-table th.dataviews-view-table__actions-column--stuck::after { |
| @@ -2935,9 +2936,9 @@ | ||
| 2935 | 2936 | top: 0; |
| 2936 | 2937 | bottom: 0; |
| 2937 | 2938 | left: 0; |
| 2938 | 2939 | width: 1px; |
| 2939 | - background-color: var(--wpds-color-bg-surface-neutral, #fcfcfc); | |
| 2940 | + background-color: var(--wpds-color-stroke-surface-neutral-weak, #f0f0f0); | |
| 2940 | 2941 | } |
| 2941 | 2942 | |
| 2942 | 2943 | .dataviews-view-table td.dataviews-view-table__checkbox-column, |
| 2943 | 2944 | .dataviews-view-table th.dataviews-view-table__checkbox-column { |
| @@ -2950,9 +2951,9 @@ | ||
| 2950 | 2951 | min-width: auto; |
| 2951 | 2952 | } |
| 2952 | 2953 | |
| 2953 | 2954 | .dataviews-view-table tr { |
| 2954 | - border-top: 1px solid var(--wpds-color-stroke-surface-neutral-weak, #e4e4e4); | |
| 2955 | + border-top: 1px solid var(--wpds-color-stroke-surface-neutral-weak, #f0f0f0); | |
| 2955 | 2956 | background-color: inherit; |
| 2956 | 2957 | } |
| 2957 | 2958 | |
| 2958 | 2959 | .dataviews-view-table tr td:first-child, |
| @@ -2978,18 +2979,18 @@ | ||
| 2978 | 2979 | opacity: 1; |
| 2979 | 2980 | } |
| 2980 | 2981 | } |
| 2981 | 2982 | .dataviews-view-table tr.is-selected { |
| 2982 | - background-color: var(--wpds-color-bg-interactive-brand-weak-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 12%, white)); | |
| 2983 | - color: var(--wpds-color-fg-content-neutral, #1e1e1e); | |
| 2983 | + background-color: var(--wpds-color-background-interactive-brand-weak-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 12%, white)); | |
| 2984 | + color: var(--wpds-color-foreground-content-neutral, #1e1e1e); | |
| 2984 | 2985 | } |
| 2985 | 2986 | |
| 2986 | 2987 | .dataviews-view-table tr.is-selected, .dataviews-view-table tr.is-selected + tr { |
| 2987 | - border-top: 1px solid var(--wpds-color-stroke-surface-brand, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 46%, white)); | |
| 2988 | + border-top: 1px solid var(--wpds-color-stroke-surface-brand, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 40%, white)); | |
| 2988 | 2989 | } |
| 2989 | 2990 | |
| 2990 | 2991 | .dataviews-view-table tr.is-selected .dataviews-view-table__actions-column--sticky { |
| 2991 | - background-color: var(--wpds-color-bg-interactive-brand-weak-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 12%, white)); | |
| 2992 | + background-color: var(--wpds-color-background-interactive-brand-weak-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 12%, white)); | |
| 2992 | 2993 | } |
| 2993 | 2994 | |
| 2994 | 2995 | .dataviews-view-table tr:focus-within .dataviews-item-actions .components-button:not(.dataviews-all-actions-button), .dataviews-view-table tr.is-hovered .dataviews-item-actions .components-button:not(.dataviews-all-actions-button), .dataviews-view-table tr:hover .dataviews-item-actions .components-button:not(.dataviews-all-actions-button) { |
| 2995 | 2996 | opacity: 1; |
| @@ -2995,13 +2996,13 @@ | ||
| 2995 | 2996 | opacity: 1; |
| 2996 | 2997 | } |
| 2997 | 2998 | |
| 2998 | 2999 | .dataviews-view-table.has-bulk-actions tr:focus-within .dataviews-view-table__actions-column--sticky, .dataviews-view-table.has-bulk-actions tr:hover .dataviews-view-table__actions-column--sticky { |
| 2999 | - background-color: var(--wp-dataviews-color-background, var(--wpds-color-bg-surface-neutral-strong, #fff)); | |
| 3000 | + background-color: var(--wp-dataviews-color-background, var(--wpds-color-background-surface-neutral-strong, #fff)); | |
| 3000 | 3001 | } |
| 3001 | 3002 | |
| 3002 | 3003 | .dataviews-view-table.has-bulk-actions tr.is-selected .dataviews-view-table__actions-column--sticky, .dataviews-view-table.has-bulk-actions tr.is-selected:hover .dataviews-view-table__actions-column--sticky { |
| 3003 | - background-color: var(--wpds-color-bg-interactive-brand-weak-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 12%, white)); | |
| 3004 | + background-color: var(--wpds-color-background-interactive-brand-weak-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 12%, white)); | |
| 3004 | 3005 | } |
| 3005 | 3006 | |
| 3006 | 3007 | .dataviews-view-table thead { |
| 3007 | 3008 | position: sticky; |
| @@ -3017,9 +3018,9 @@ | ||
| 3017 | 3018 | bottom: 0; |
| 3018 | 3019 | left: 0; |
| 3019 | 3020 | right: 0; |
| 3020 | 3021 | height: 1px; |
| 3021 | - background-color: var(--wpds-color-stroke-surface-neutral-weak, #e4e4e4); | |
| 3022 | + background-color: var(--wpds-color-stroke-surface-neutral-weak, #f0f0f0); | |
| 3022 | 3023 | } |
| 3023 | 3024 | |
| 3024 | 3025 | .dataviews-view-table thead tr { |
| 3025 | 3026 | border: 0; |
| @@ -3030,9 +3031,9 @@ | ||
| 3030 | 3031 | padding-top: var(--wpds-dimension-padding-sm, 8px); |
| 3031 | 3032 | padding-bottom: var(--wpds-dimension-padding-sm, 8px); |
| 3032 | 3033 | font-size: 11px; |
| 3033 | 3034 | text-transform: uppercase; |
| 3034 | - font-weight: var(--wpds-typography-font-weight-medium, 499); | |
| 3035 | + font-weight: var(--wpds-typography-font-weight-emphasis, 600); | |
| 3035 | 3036 | } |
| 3036 | 3037 | |
| 3037 | 3038 | .dataviews-view-table thead th:has(.dataviews-view-table-header-button) { |
| 3038 | 3039 | padding-left: var(--wpds-dimension-padding-xs, 4px); |
| @@ -3055,9 +3056,9 @@ | ||
| 3055 | 3056 | vertical-align: top; |
| 3056 | 3057 | } |
| 3057 | 3058 | |
| 3058 | 3059 | .dataviews-view-table tbody .dataviews-view-table__cell-content-wrapper { |
| 3059 | - min-height: calc(var(--wpds-dimension-base, 4px) * 8); | |
| 3060 | + min-height: var(--wpds-dimension-size-md, 32px); | |
| 3060 | 3061 | display: flex; |
| 3061 | 3062 | align-items: center; |
| 3062 | 3063 | white-space: nowrap; |
| 3063 | 3064 | } |
| @@ -3078,13 +3079,13 @@ | ||
| 3078 | 3079 | .dataviews-view-table .dataviews-view-table-header-button { |
| 3079 | 3080 | padding: var(--wpds-dimension-padding-xs, 4px) var(--wpds-dimension-padding-sm, 8px); |
| 3080 | 3081 | font-size: 11px; |
| 3081 | 3082 | text-transform: uppercase; |
| 3082 | - font-weight: var(--wpds-typography-font-weight-medium, 499); | |
| 3083 | + font-weight: var(--wpds-typography-font-weight-emphasis, 600); | |
| 3083 | 3084 | } |
| 3084 | 3085 | |
| 3085 | 3086 | .dataviews-view-table .dataviews-view-table-header-button:not(:hover) { |
| 3086 | - color: var(--wpds-color-fg-interactive-neutral, #1e1e1e); | |
| 3087 | + color: var(--wpds-color-foreground-interactive-neutral, #1e1e1e); | |
| 3087 | 3088 | } |
| 3088 | 3089 | |
| 3089 | 3090 | .dataviews-view-table .dataviews-view-table-header-button span { |
| 3090 | 3091 | speak: none; |
| @@ -3137,20 +3138,20 @@ | ||
| 3137 | 3138 | } |
| 3138 | 3139 | } |
| 3139 | 3140 | .dataviews-column-primary__media { |
| 3140 | 3141 | max-width: 60px; |
| 3141 | - min-width: calc(var(--wpds-dimension-base, 4px) * 8); | |
| 3142 | - min-height: calc(var(--wpds-dimension-base, 4px) * 8); | |
| 3142 | + min-width: var(--wpds-dimension-size-md, 32px); | |
| 3143 | + min-height: var(--wpds-dimension-size-md, 32px); | |
| 3143 | 3144 | overflow: hidden; |
| 3144 | 3145 | position: relative; |
| 3145 | 3146 | flex-shrink: 0; |
| 3146 | - background-color: var(--wpds-color-bg-surface-neutral-strong, #fff); | |
| 3147 | + background-color: var(--wpds-color-background-surface-neutral-strong, #fff); | |
| 3147 | 3148 | border-radius: var(--wpds-border-radius-md, 4px); |
| 3148 | 3149 | } |
| 3149 | 3150 | |
| 3150 | 3151 | .dataviews-column-primary__media img { |
| 3151 | - width: calc(var(--wpds-dimension-base, 4px) * 8); | |
| 3152 | - height: calc(var(--wpds-dimension-base, 4px) * 8); | |
| 3152 | + width: var(--wpds-dimension-size-md, 32px); | |
| 3153 | + height: var(--wpds-dimension-size-md, 32px); | |
| 3153 | 3154 | object-fit: cover; |
| 3154 | 3155 | } |
| 3155 | 3156 | |
| 3156 | 3157 | .dataviews-column-primary__media::after { |
| @@ -3163,8 +3164,19 @@ | ||
| 3163 | 3164 | box-shadow: inset 0 0 0 var(--wpds-border-width-xs, 1px) rgba(0, 0, 0, 0.1); |
| 3164 | 3165 | border-radius: var(--wpds-border-radius-md, 4px); |
| 3165 | 3166 | } |
| 3166 | 3167 | |
| 3168 | +.dataviews-view-table.has-media-aspect-ratio .dataviews-column-primary__media { | |
| 3169 | + height: var(--wpds-dimension-size-md, 32px); | |
| 3170 | + aspect-ratio: var(--wp-dataviews-media-aspect-ratio, 1/1); | |
| 3171 | + min-width: 0; | |
| 3172 | +} | |
| 3173 | + | |
| 3174 | +.dataviews-view-table.has-media-aspect-ratio .dataviews-column-primary__media img { | |
| 3175 | + width: 100%; | |
| 3176 | + height: 100%; | |
| 3177 | +} | |
| 3178 | + | |
| 3167 | 3179 | .dataviews-view-table__cell-content-wrapper:not(.dataviews-column-primary__media), |
| 3168 | 3180 | .dataviews-view-table__primary-column-content:not(.dataviews-column-primary__media) { |
| 3169 | 3181 | min-width: 15ch; |
| 3170 | 3182 | max-width: 80ch; |
| @@ -3170,11 +3182,11 @@ | ||
| 3170 | 3182 | max-width: 80ch; |
| 3171 | 3183 | } |
| 3172 | 3184 | |
| 3173 | 3185 | .dataviews-view-table__group-header-row .dataviews-view-table__group-header-cell { |
| 3174 | - font-weight: var(--wpds-typography-font-weight-medium, 499); | |
| 3186 | + font-weight: var(--wpds-typography-font-weight-emphasis, 600); | |
| 3175 | 3187 | padding: var(--wpds-dimension-padding-md, 12px) var(--wpds-dimension-padding-2xl, 24px); |
| 3176 | - color: var(--wpds-color-fg-content-neutral, #1e1e1e); | |
| 3188 | + color: var(--wpds-color-foreground-content-neutral, #1e1e1e); | |
| 3177 | 3189 | } |
| 3178 | 3190 | |
| 3179 | 3191 | /* Column width intents via colgroup: make non-primary columns shrink-to-fit */ |
| 3180 | 3192 | .dataviews-view-table col[class^=dataviews-view-table__col-]:not(.dataviews-view-table__col-first-data):not(.dataviews-view-table__col-expand) { |
| @@ -3211,9 +3223,9 @@ | ||
| 3211 | 3223 | padding: var(--wpds-dimension-padding-sm, 8px) 0 var(--wpds-dimension-padding-xs, 4px); |
| 3212 | 3224 | } |
| 3213 | 3225 | |
| 3214 | 3226 | .dataviews-view-picker-grid .dataviews-view-picker-grid__card .dataviews-view-picker-grid__title-field { |
| 3215 | - min-height: calc(var(--wpds-dimension-base, 4px) * 6); | |
| 3227 | + min-height: var(--wpds-dimension-size-sm, 24px); | |
| 3216 | 3228 | overflow: hidden; |
| 3217 | 3229 | align-content: center; |
| 3218 | 3230 | text-align: start; |
| 3219 | 3231 | } |
| @@ -3222,17 +3234,17 @@ | ||
| 3222 | 3234 | width: fit-content; |
| 3223 | 3235 | } |
| 3224 | 3236 | |
| 3225 | 3237 | .dataviews-view-picker-grid .dataviews-view-picker-grid__card.is-selected .dataviews-view-picker-grid__fields .dataviews-view-picker-grid__field .dataviews-view-picker-grid__field-value { |
| 3226 | - color: var(--wpds-color-fg-content-neutral, #1e1e1e); | |
| 3238 | + color: var(--wpds-color-foreground-content-neutral, #1e1e1e); | |
| 3227 | 3239 | } |
| 3228 | 3240 | |
| 3229 | 3241 | .dataviews-view-picker-grid .dataviews-view-picker-grid__card.is-selected .dataviews-view-picker-grid__media::after { |
| 3230 | - box-shadow: inset 0 0 0 var(--wpds-border-width-xs, 1px) var(--wpds-color-stroke-interactive-brand, var(--wp-admin-theme-color, #3858e9)), inset 0 0 0 var(--wpds-border-width-sm, 2px) var(--wpds-color-bg-surface-neutral-strong, #fff); | |
| 3242 | + box-shadow: inset 0 0 0 var(--wpds-border-width-xs, 1px) var(--wpds-color-stroke-interactive-brand, var(--wp-admin-theme-color, #3858e9)), inset 0 0 0 var(--wpds-border-width-sm, 2px) var(--wpds-color-background-surface-neutral-strong, #fff); | |
| 3231 | 3243 | } |
| 3232 | 3244 | |
| 3233 | 3245 | .dataviews-view-picker-grid .dataviews-view-picker-grid__card .dataviews-view-picker-grid__media:focus::after { |
| 3234 | - box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wpds-color-stroke-focus-brand, var(--wp-admin-theme-color, #3858e9)); | |
| 3246 | + box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wpds-color-stroke-focus, var(--wp-admin-theme-color, #3858e9)); | |
| 3235 | 3247 | } |
| 3236 | 3248 | |
| 3237 | 3249 | .dataviews-view-picker-grid:focus-visible[aria-activedescendant] { |
| 3238 | 3250 | outline: none; |
| @@ -3238,9 +3250,9 @@ | ||
| 3238 | 3250 | outline: none; |
| 3239 | 3251 | } |
| 3240 | 3252 | |
| 3241 | 3253 | .dataviews-view-picker-grid:focus-visible [data-active-item=true] { |
| 3242 | - outline: 2px solid var(--wpds-color-stroke-focus-brand, var(--wp-admin-theme-color, #3858e9)); | |
| 3254 | + outline: 2px solid var(--wpds-color-stroke-focus, var(--wp-admin-theme-color, #3858e9)); | |
| 3243 | 3255 | } |
| 3244 | 3256 | |
| 3245 | 3257 | .dataviews-view-picker-grid .dataviews-selection-checkbox { |
| 3246 | 3258 | top: var(--wpds-dimension-padding-sm, 8px) !important; |
| @@ -3253,10 +3265,11 @@ | ||
| 3253 | 3265 | .dataviews-view-picker-grid .dataviews-view-picker-grid__media { |
| 3254 | 3266 | width: 100%; |
| 3255 | 3267 | aspect-ratio: 1/1; |
| 3256 | 3268 | min-height: 0; |
| 3257 | - background-color: var(--wpds-color-bg-surface-neutral-strong, #fff); | |
| 3269 | + background-color: var(--wpds-color-background-surface-neutral-strong, #fff); | |
| 3258 | 3270 | border-radius: var(--wpds-border-radius-md, 4px); |
| 3271 | + overflow: hidden; | |
| 3259 | 3272 | position: relative; |
| 3260 | 3273 | } |
| 3261 | 3274 | |
| 3262 | 3275 | .dataviews-view-picker-grid .dataviews-view-picker-grid__media img { |
| @@ -3276,8 +3289,16 @@ | ||
| 3276 | 3289 | border-radius: var(--wpds-border-radius-md, 4px); |
| 3277 | 3290 | pointer-events: none; |
| 3278 | 3291 | } |
| 3279 | 3292 | |
| 3293 | +.dataviews-view-picker-grid.has-media-fit-contain .dataviews-view-picker-grid__media { | |
| 3294 | + background-color: var(--wpds-color-background-surface-neutral, #fcfcfc); | |
| 3295 | +} | |
| 3296 | + | |
| 3297 | +.dataviews-view-picker-grid.has-media-fit-contain .dataviews-view-picker-grid__media img { | |
| 3298 | + object-fit: contain; | |
| 3299 | +} | |
| 3300 | + | |
| 3280 | 3301 | .dataviews-view-picker-grid .dataviews-view-picker-grid__fields { |
| 3281 | 3302 | position: relative; |
| 3282 | 3303 | font-size: 12px; |
| 3283 | 3304 | line-height: 16px; |
| @@ -3287,21 +3308,21 @@ | ||
| 3287 | 3308 | padding: 0 0 var(--wpds-dimension-padding-md, 12px); |
| 3288 | 3309 | } |
| 3289 | 3310 | |
| 3290 | 3311 | .dataviews-view-picker-grid .dataviews-view-picker-grid__fields .dataviews-view-picker-grid__field-value:not(:empty) { |
| 3291 | - min-height: calc(var(--wpds-dimension-base, 4px) * 6); | |
| 3312 | + min-height: var(--wpds-dimension-size-sm, 24px); | |
| 3292 | 3313 | line-height: var(--wpds-typography-line-height-sm, 20px); |
| 3293 | - padding-top: calc(var(--wpds-dimension-base, 4px) / 2); | |
| 3314 | + padding-top: calc((var(--wpds-dimension-size-sm, 24px) - var(--wpds-typography-line-height-sm, 20px)) / 2); | |
| 3294 | 3315 | } |
| 3295 | 3316 | |
| 3296 | 3317 | .dataviews-view-picker-grid .dataviews-view-picker-grid__fields .dataviews-view-picker-grid__field { |
| 3297 | - min-height: calc(var(--wpds-dimension-base, 4px) * 6); | |
| 3318 | + min-height: var(--wpds-dimension-size-sm, 24px); | |
| 3298 | 3319 | align-items: center; |
| 3299 | 3320 | } |
| 3300 | 3321 | |
| 3301 | 3322 | .dataviews-view-picker-grid .dataviews-view-picker-grid__fields .dataviews-view-picker-grid__field .dataviews-view-picker-grid__field-name { |
| 3302 | 3323 | width: 35%; |
| 3303 | - color: var(--wpds-color-fg-content-neutral-weak, #707070); | |
| 3324 | + color: var(--wpds-color-foreground-content-neutral-weak, #707070); | |
| 3304 | 3325 | overflow: hidden; |
| 3305 | 3326 | text-overflow: ellipsis; |
| 3306 | 3327 | white-space: nowrap; |
| 3307 | 3328 | } |
| @@ -3349,12 +3370,12 @@ | ||
| 3349 | 3370 | } |
| 3350 | 3371 | |
| 3351 | 3372 | .dataviews-view-picker-grid-group__header { |
| 3352 | 3373 | font-size: var(--wpds-typography-font-size-lg, 15px); |
| 3353 | - font-weight: var(--wpds-typography-font-weight-medium, 499); | |
| 3354 | - color: var(--wpds-color-fg-content-neutral, #1e1e1e); | |
| 3374 | + font-weight: var(--wpds-typography-font-weight-emphasis, 600); | |
| 3375 | + color: var(--wpds-color-foreground-content-neutral, #1e1e1e); | |
| 3355 | 3376 | margin: 0 0 var(--wpds-dimension-gap-sm, 8px) 0; |
| 3356 | - padding: 0 calc(var(--wpds-dimension-base, 4px) * 12); | |
| 3377 | + padding: 0 48px; | |
| 3357 | 3378 | } |
| 3358 | 3379 | |
| 3359 | 3380 | .dataviews-view-picker-table { |
| 3360 | 3381 | background-color: inherit; |
| @@ -3360,9 +3381,9 @@ | ||
| 3360 | 3381 | background-color: inherit; |
| 3361 | 3382 | } |
| 3362 | 3383 | |
| 3363 | 3384 | .dataviews-view-picker-table .dataviews-view-table__checkbox-column { |
| 3364 | - width: calc(var(--wpds-dimension-base, 4px) * 12); | |
| 3385 | + width: 48px; | |
| 3365 | 3386 | } |
| 3366 | 3387 | |
| 3367 | 3388 | .dataviews-view-picker-table tbody:focus-visible[aria-activedescendant] { |
| 3368 | 3389 | outline: none; |
| @@ -3368,9 +3389,9 @@ | ||
| 3368 | 3389 | outline: none; |
| 3369 | 3390 | } |
| 3370 | 3391 | |
| 3371 | 3392 | .dataviews-view-picker-table tbody:focus-visible [data-active-item=true] { |
| 3372 | - outline: 2px solid var(--wpds-color-stroke-focus-brand, var(--wp-admin-theme-color, #3858e9)); | |
| 3393 | + outline: 2px solid var(--wpds-color-stroke-focus, var(--wp-admin-theme-color, #3858e9)); | |
| 3373 | 3394 | } |
| 3374 | 3395 | |
| 3375 | 3396 | .dataviews-view-picker-table .dataviews-selection-checkbox .components-checkbox-control__input.components-checkbox-control__input { |
| 3376 | 3397 | pointer-events: none; |
| @@ -3381,17 +3402,17 @@ | ||
| 3381 | 3402 | cursor: var(--wpds-cursor-control, pointer); |
| 3382 | 3403 | } |
| 3383 | 3404 | |
| 3384 | 3405 | .dataviews-view-picker-table .dataviews-view-table__row.is-selected { |
| 3385 | - background-color: var(--wpds-color-bg-interactive-brand-weak-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 12%, white)); | |
| 3406 | + background-color: var(--wpds-color-background-interactive-brand-weak-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 12%, white)); | |
| 3386 | 3407 | } |
| 3387 | 3408 | |
| 3388 | 3409 | .dataviews-view-picker-table .dataviews-view-table__row.is-hovered { |
| 3389 | - background-color: var(--wpds-color-bg-interactive-brand-weak-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 12%, white)); | |
| 3410 | + background-color: var(--wpds-color-background-interactive-brand-weak-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 12%, white)); | |
| 3390 | 3411 | } |
| 3391 | 3412 | |
| 3392 | 3413 | .dataviews-view-picker-table .dataviews-view-table__row.is-selected.is-hovered { |
| 3393 | - background-color: var(--wpds-color-bg-interactive-brand-weak-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 12%, white)); | |
| 3414 | + background-color: var(--wpds-color-background-interactive-brand-weak-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 12%, white)); | |
| 3394 | 3415 | } |
| 3395 | 3416 | |
| 3396 | 3417 | .dataviews-view-activity { |
| 3397 | 3418 | margin: 0 0 auto; |
| @@ -3399,16 +3420,16 @@ | ||
| 3399 | 3420 | } |
| 3400 | 3421 | |
| 3401 | 3422 | .dataviews-view-activity .dataviews-view-activity__group-header { |
| 3402 | 3423 | font-size: var(--wpds-typography-font-size-lg, 15px); |
| 3403 | - font-weight: var(--wpds-typography-font-weight-medium, 499); | |
| 3404 | - color: var(--wpds-color-fg-content-neutral-weak, #707070); | |
| 3424 | + font-weight: var(--wpds-typography-font-weight-emphasis, 600); | |
| 3425 | + color: var(--wpds-color-foreground-content-neutral-weak, #707070); | |
| 3405 | 3426 | margin: 0 0 var(--wpds-dimension-gap-sm, 8px) 0; |
| 3406 | 3427 | padding: 0; |
| 3407 | 3428 | } |
| 3408 | 3429 | |
| 3409 | 3430 | .dataviews-view-activity .dataviews-view-activity__item-actions { |
| 3410 | - min-width: calc(var(--wpds-dimension-base, 4px) * 6); | |
| 3431 | + min-width: var(--wpds-dimension-size-sm, 24px); | |
| 3411 | 3432 | } |
| 3412 | 3433 | |
| 3413 | 3434 | .dataviews-view-activity .dataviews-view-activity__item-content { |
| 3414 | 3435 | flex-grow: 1; |
| @@ -3416,9 +3437,9 @@ | ||
| 3416 | 3437 | |
| 3417 | 3438 | .dataviews-view-activity .dataviews-view-activity__item-content .dataviews-view-activity__item-title, |
| 3418 | 3439 | .dataviews-view-activity .dataviews-view-activity__item-content .dataviews-view-activity__item-description, |
| 3419 | 3440 | .dataviews-view-activity .dataviews-view-activity__item-content .dataviews-view-activity__item-fields { |
| 3420 | - min-height: calc(var(--wpds-dimension-base, 4px) * 4); | |
| 3441 | + min-height: var(--wpds-dimension-size-2xs, 16px); | |
| 3421 | 3442 | } |
| 3422 | 3443 | |
| 3423 | 3444 | .dataviews-view-activity .dataviews-view-activity__item-content .dataviews-view-activity__item-title { |
| 3424 | 3445 | position: relative; |
| @@ -3432,9 +3453,9 @@ | ||
| 3432 | 3453 | cursor: var(--wpds-cursor-control, pointer); |
| 3433 | 3454 | } |
| 3434 | 3455 | |
| 3435 | 3456 | .dataviews-view-activity .dataviews-view-activity__item-content .dataviews-view-activity__item-title--clickable:focus-visible { |
| 3436 | - outline: var(--wp-admin-border-width-focus) solid var(--wpds-color-stroke-focus-brand, var(--wp-admin-theme-color, #3858e9)); | |
| 3457 | + outline: var(--wp-admin-border-width-focus) solid var(--wpds-color-stroke-focus, var(--wp-admin-theme-color, #3858e9)); | |
| 3437 | 3458 | outline-offset: var(--wp-admin-border-width-focus); |
| 3438 | 3459 | border-radius: var(--wpds-border-radius-sm, 2px); |
| 3439 | 3460 | } |
| 3440 | 3461 | |
| @@ -3449,9 +3470,9 @@ | ||
| 3449 | 3470 | z-index: 1; |
| 3450 | 3471 | } |
| 3451 | 3472 | |
| 3452 | 3473 | .dataviews-view-activity .dataviews-view-activity__item-content .dataviews-view-activity__item-fields { |
| 3453 | - color: var(--wpds-color-fg-content-neutral-weak, #707070); | |
| 3474 | + color: var(--wpds-color-foreground-content-neutral-weak, #707070); | |
| 3454 | 3475 | display: flex; |
| 3455 | 3476 | gap: var(--wpds-dimension-gap-md, 12px); |
| 3456 | 3477 | row-gap: var(--wpds-dimension-gap-xs, 4px); |
| 3457 | 3478 | flex-wrap: wrap; |
| @@ -3495,14 +3516,14 @@ | ||
| 3495 | 3516 | width: var(--wpds-dimension-padding-md, 12px); |
| 3496 | 3517 | } |
| 3497 | 3518 | |
| 3498 | 3519 | .dataviews-view-activity .dataviews-view-activity__item.is-compact .dataviews-view-activity__item-type::before { |
| 3499 | - height: calc(var(--wpds-dimension-base, 4px) * 3); | |
| 3520 | + height: var(--wpds-dimension-size-3xs, 12px); | |
| 3500 | 3521 | } |
| 3501 | 3522 | |
| 3502 | 3523 | .dataviews-view-activity .dataviews-view-activity__item.is-compact .dataviews-view-activity__item-type-icon { |
| 3503 | - width: calc(var(--wpds-dimension-base, 4px) * 3 - 1px); | |
| 3504 | - height: calc(var(--wpds-dimension-base, 4px) * 3 - 1px); | |
| 3524 | + width: calc(var(--wpds-dimension-size-3xs, 12px) - 1px); | |
| 3525 | + height: calc(var(--wpds-dimension-size-3xs, 12px) - 1px); | |
| 3505 | 3526 | } |
| 3506 | 3527 | |
| 3507 | 3528 | .dataviews-view-activity .dataviews-view-activity__item.is-compact .dataviews-view-activity__item-content { |
| 3508 | 3529 | margin: var(--wpds-dimension-gap-md, 12px) 0; |
| @@ -3508,18 +3529,18 @@ | ||
| 3508 | 3529 | margin: var(--wpds-dimension-gap-md, 12px) 0; |
| 3509 | 3530 | } |
| 3510 | 3531 | |
| 3511 | 3532 | .dataviews-view-activity .dataviews-view-activity__item.is-balanced .dataviews-view-activity__item-type { |
| 3512 | - width: calc(var(--wpds-dimension-base, 4px) * 6); | |
| 3533 | + width: var(--wpds-dimension-size-sm, 24px); | |
| 3513 | 3534 | } |
| 3514 | 3535 | |
| 3515 | 3536 | .dataviews-view-activity .dataviews-view-activity__item.is-balanced .dataviews-view-activity__item-type::before { |
| 3516 | - height: calc(var(--wpds-dimension-base, 4px) * 3); | |
| 3537 | + height: var(--wpds-dimension-size-3xs, 12px); | |
| 3517 | 3538 | } |
| 3518 | 3539 | |
| 3519 | 3540 | .dataviews-view-activity .dataviews-view-activity__item.is-balanced .dataviews-view-activity__item-type-icon { |
| 3520 | - width: calc(var(--wpds-dimension-base, 4px) * 6 + 1px); | |
| 3521 | - height: calc(var(--wpds-dimension-base, 4px) * 6 + 1px); | |
| 3541 | + width: calc(var(--wpds-dimension-size-sm, 24px) + 1px); | |
| 3542 | + height: calc(var(--wpds-dimension-size-sm, 24px) + 1px); | |
| 3522 | 3543 | } |
| 3523 | 3544 | |
| 3524 | 3545 | .dataviews-view-activity .dataviews-view-activity__item.is-balanced .dataviews-view-activity__item-content { |
| 3525 | 3546 | margin: var(--wpds-dimension-gap-md, 12px) 0; |
| @@ -3526,18 +3547,18 @@ | ||
| 3526 | 3547 | padding-top: var(--wpds-dimension-padding-sm, 8px); |
| 3527 | 3548 | } |
| 3528 | 3549 | |
| 3529 | 3550 | .dataviews-view-activity .dataviews-view-activity__item.is-comfortable .dataviews-view-activity__item-type { |
| 3530 | - width: calc(var(--wpds-dimension-base, 4px) * 8); | |
| 3551 | + width: var(--wpds-dimension-size-md, 32px); | |
| 3531 | 3552 | } |
| 3532 | 3553 | |
| 3533 | 3554 | .dataviews-view-activity .dataviews-view-activity__item.is-comfortable .dataviews-view-activity__item-type::before { |
| 3534 | - height: calc(var(--wpds-dimension-base, 4px) * 2); | |
| 3555 | + height: var(--wpds-dimension-size-4xs, 8px); | |
| 3535 | 3556 | } |
| 3536 | 3557 | |
| 3537 | 3558 | .dataviews-view-activity .dataviews-view-activity__item.is-comfortable .dataviews-view-activity__item-type-icon { |
| 3538 | - width: calc(var(--wpds-dimension-base, 4px) * 8 + 1px); | |
| 3539 | - height: calc(var(--wpds-dimension-base, 4px) * 8 + 1px); | |
| 3559 | + width: calc(var(--wpds-dimension-size-md, 32px) + 1px); | |
| 3560 | + height: calc(var(--wpds-dimension-size-md, 32px) + 1px); | |
| 3540 | 3561 | } |
| 3541 | 3562 | |
| 3542 | 3563 | .dataviews-view-activity .dataviews-view-activity__item.is-comfortable .dataviews-view-activity__item-content { |
| 3543 | 3564 | margin: var(--wpds-dimension-gap-sm, 8px) 0 var(--wpds-dimension-gap-lg, 16px); |
| @@ -3544,10 +3565,10 @@ | ||
| 3544 | 3565 | padding-top: var(--wpds-dimension-padding-md, 12px); |
| 3545 | 3566 | } |
| 3546 | 3567 | |
| 3547 | 3568 | .dataviews-view-activity .dataviews-view-activity__item.is-comfortable .dataviews-view-activity__item-bullet, .dataviews-view-activity .dataviews-view-activity__item.is-balanced .dataviews-view-activity__item-bullet { |
| 3548 | - width: calc(var(--wpds-dimension-base, 4px) * 2 + 1px); | |
| 3549 | - height: calc(var(--wpds-dimension-base, 4px) * 2 + 1px); | |
| 3569 | + width: calc(var(--wpds-dimension-size-4xs, 8px) + 1px); | |
| 3570 | + height: calc(var(--wpds-dimension-size-4xs, 8px) + 1px); | |
| 3550 | 3571 | position: relative; |
| 3551 | 3572 | top: 50%; |
| 3552 | 3573 | transform: translateY(-50%); |
| 3553 | 3574 | } |
| @@ -3562,9 +3583,9 @@ | ||
| 3562 | 3583 | |
| 3563 | 3584 | .dataviews-view-activity .dataviews-view-activity__item-type-icon { |
| 3564 | 3585 | overflow: hidden; |
| 3565 | 3586 | flex-shrink: 0; |
| 3566 | - background-color: var(--wpds-color-bg-surface-neutral-strong, #fff); | |
| 3587 | + background-color: var(--wpds-color-background-surface-neutral-strong, #fff); | |
| 3567 | 3588 | } |
| 3568 | 3589 | |
| 3569 | 3590 | .dataviews-view-activity .dataviews-view-activity__item-type-icon img, |
| 3570 | 3591 | .dataviews-view-activity .dataviews-view-activity__item-type-icon svg, |
| @@ -3602,11 +3623,211 @@ | ||
| 3602 | 3623 | .dataviews-view-activity + .dataviews-pagination { |
| 3603 | 3624 | justify-content: space-between; |
| 3604 | 3625 | } |
| 3605 | 3626 | |
| 3627 | +.dataviews-view-picker-activity { | |
| 3628 | + margin: 0; | |
| 3629 | + padding: 0; | |
| 3630 | + flex-grow: 1; | |
| 3631 | +} | |
| 3632 | + | |
| 3633 | +.dataviews-view-picker-activity:focus-visible[aria-activedescendant] { | |
| 3634 | + outline: none; | |
| 3635 | +} | |
| 3636 | + | |
| 3637 | +.dataviews-view-picker-activity:focus-visible .dataviews-view-picker-activity__item[data-active-item=true] { | |
| 3638 | + outline: 2px solid var(--wpds-color-stroke-focus, var(--wp-admin-theme-color, #3858e9)); | |
| 3639 | + outline-offset: -2px; | |
| 3640 | +} | |
| 3641 | + | |
| 3642 | +.dataviews-view-picker-activity .dataviews-view-picker-activity__item { | |
| 3643 | + cursor: var(--wpds-cursor-control, pointer); | |
| 3644 | + border-radius: var(--wpds-border-radius-sm, 2px); | |
| 3645 | + padding-inline: var(--wpds-dimension-padding-2xl, 24px); | |
| 3646 | + transition: background-color 0.1s ease; | |
| 3647 | +} | |
| 3648 | + | |
| 3649 | +.dataviews-view-picker-activity .dataviews-view-picker-activity__item.is-selected, .dataviews-view-picker-activity .dataviews-view-picker-activity__item:hover { | |
| 3650 | + background-color: var(--wpds-color-background-interactive-brand-weak-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 12%, white)); | |
| 3651 | +} | |
| 3652 | + | |
| 3653 | +.dataviews-view-picker-activity .dataviews-view-picker-activity__item.is-selected { | |
| 3654 | + outline: 3px solid transparent; | |
| 3655 | + outline-offset: -2px; | |
| 3656 | +} | |
| 3657 | + | |
| 3658 | +.dataviews-view-picker-activity .dataviews-view-picker-activity__item.is-compact .dataviews-view-picker-activity__item-type { | |
| 3659 | + width: var(--wpds-dimension-padding-md, 12px); | |
| 3660 | +} | |
| 3661 | + | |
| 3662 | +.dataviews-view-picker-activity .dataviews-view-picker-activity__item.is-compact .dataviews-view-picker-activity__item-type::before { | |
| 3663 | + height: var(--wpds-dimension-size-3xs, 12px); | |
| 3664 | +} | |
| 3665 | + | |
| 3666 | +.dataviews-view-picker-activity .dataviews-view-picker-activity__item.is-compact .dataviews-view-picker-activity__item-type-icon { | |
| 3667 | + width: calc(var(--wpds-dimension-size-3xs, 12px) - 1px); | |
| 3668 | + height: calc(var(--wpds-dimension-size-3xs, 12px) - 1px); | |
| 3669 | +} | |
| 3670 | + | |
| 3671 | +.dataviews-view-picker-activity .dataviews-view-picker-activity__item.is-compact .dataviews-view-picker-activity__item-content { | |
| 3672 | + margin: var(--wpds-dimension-gap-md, 12px) 0; | |
| 3673 | +} | |
| 3674 | + | |
| 3675 | +.dataviews-view-picker-activity .dataviews-view-picker-activity__item.is-balanced .dataviews-view-picker-activity__item-type { | |
| 3676 | + width: var(--wpds-dimension-size-sm, 24px); | |
| 3677 | +} | |
| 3678 | + | |
| 3679 | +.dataviews-view-picker-activity .dataviews-view-picker-activity__item.is-balanced .dataviews-view-picker-activity__item-type::before { | |
| 3680 | + height: var(--wpds-dimension-size-3xs, 12px); | |
| 3681 | +} | |
| 3682 | + | |
| 3683 | +.dataviews-view-picker-activity .dataviews-view-picker-activity__item.is-balanced .dataviews-view-picker-activity__item-type-icon { | |
| 3684 | + width: calc(var(--wpds-dimension-size-sm, 24px) + 1px); | |
| 3685 | + height: calc(var(--wpds-dimension-size-sm, 24px) + 1px); | |
| 3686 | +} | |
| 3687 | + | |
| 3688 | +.dataviews-view-picker-activity .dataviews-view-picker-activity__item.is-balanced .dataviews-view-picker-activity__item-content { | |
| 3689 | + margin: var(--wpds-dimension-gap-md, 12px) 0; | |
| 3690 | + padding-top: var(--wpds-dimension-padding-sm, 8px); | |
| 3691 | +} | |
| 3692 | + | |
| 3693 | +.dataviews-view-picker-activity .dataviews-view-picker-activity__item.is-comfortable .dataviews-view-picker-activity__item-type { | |
| 3694 | + width: var(--wpds-dimension-size-md, 32px); | |
| 3695 | +} | |
| 3696 | + | |
| 3697 | +.dataviews-view-picker-activity .dataviews-view-picker-activity__item.is-comfortable .dataviews-view-picker-activity__item-type::before { | |
| 3698 | + height: var(--wpds-dimension-size-4xs, 8px); | |
| 3699 | +} | |
| 3700 | + | |
| 3701 | +.dataviews-view-picker-activity .dataviews-view-picker-activity__item.is-comfortable .dataviews-view-picker-activity__item-type-icon { | |
| 3702 | + width: calc(var(--wpds-dimension-size-md, 32px) + 1px); | |
| 3703 | + height: calc(var(--wpds-dimension-size-md, 32px) + 1px); | |
| 3704 | +} | |
| 3705 | + | |
| 3706 | +.dataviews-view-picker-activity .dataviews-view-picker-activity__item.is-comfortable .dataviews-view-picker-activity__item-content { | |
| 3707 | + margin: var(--wpds-dimension-gap-sm, 8px) 0 var(--wpds-dimension-gap-lg, 16px); | |
| 3708 | + padding-top: var(--wpds-dimension-padding-md, 12px); | |
| 3709 | +} | |
| 3710 | + | |
| 3711 | +.dataviews-view-picker-activity .dataviews-view-picker-activity__item.is-comfortable .dataviews-view-picker-activity__item-bullet, .dataviews-view-picker-activity .dataviews-view-picker-activity__item.is-balanced .dataviews-view-picker-activity__item-bullet { | |
| 3712 | + width: calc(var(--wpds-dimension-size-4xs, 8px) + 1px); | |
| 3713 | + height: calc(var(--wpds-dimension-size-4xs, 8px) + 1px); | |
| 3714 | + position: relative; | |
| 3715 | + top: 50%; | |
| 3716 | + transform: translateY(-50%); | |
| 3717 | +} | |
| 3718 | + | |
| 3719 | +.dataviews-view-picker-activity .dataviews-view-picker-activity__item-content { | |
| 3720 | + flex-grow: 1; | |
| 3721 | +} | |
| 3722 | + | |
| 3723 | +.dataviews-view-picker-activity .dataviews-view-picker-activity__item-content .dataviews-view-picker-activity__item-title, | |
| 3724 | +.dataviews-view-picker-activity .dataviews-view-picker-activity__item-content .dataviews-view-picker-activity__item-description, | |
| 3725 | +.dataviews-view-picker-activity .dataviews-view-picker-activity__item-content .dataviews-view-picker-activity__item-fields { | |
| 3726 | + min-height: var(--wpds-dimension-size-2xs, 16px); | |
| 3727 | +} | |
| 3728 | + | |
| 3729 | +.dataviews-view-picker-activity .dataviews-view-picker-activity__item-content .dataviews-view-picker-activity__item-title { | |
| 3730 | + position: relative; | |
| 3731 | + display: flex; | |
| 3732 | + align-items: center; | |
| 3733 | + flex: 1; | |
| 3734 | + overflow: hidden; | |
| 3735 | +} | |
| 3736 | + | |
| 3737 | +.dataviews-view-picker-activity .dataviews-view-picker-activity__item-content .dataviews-view-picker-activity__item-description:empty { | |
| 3738 | + display: none; | |
| 3739 | +} | |
| 3740 | + | |
| 3741 | +.dataviews-view-picker-activity .dataviews-view-picker-activity__item-content .dataviews-view-picker-activity__item-fields { | |
| 3742 | + color: var(--wpds-color-foreground-content-neutral-weak, #707070); | |
| 3743 | + display: flex; | |
| 3744 | + gap: var(--wpds-dimension-gap-md, 12px); | |
| 3745 | + row-gap: var(--wpds-dimension-gap-xs, 4px); | |
| 3746 | + flex-wrap: wrap; | |
| 3747 | +} | |
| 3748 | + | |
| 3749 | +.dataviews-view-picker-activity .dataviews-view-picker-activity__item-content .dataviews-view-picker-activity__item-fields:empty { | |
| 3750 | + display: none; | |
| 3751 | +} | |
| 3752 | + | |
| 3753 | +.dataviews-view-picker-activity .dataviews-view-picker-activity__item-content .dataviews-view-picker-activity__item-fields .dataviews-view-picker-activity__item-field:has(.dataviews-view-picker-activity__item-field-value:empty) { | |
| 3754 | + display: none; | |
| 3755 | +} | |
| 3756 | + | |
| 3757 | +.dataviews-view-picker-activity .dataviews-view-picker-activity__item-content .dataviews-view-picker-activity__item-fields .dataviews-view-picker-activity__item-field-value { | |
| 3758 | + display: flex; | |
| 3759 | + align-items: center; | |
| 3760 | +} | |
| 3761 | + | |
| 3762 | +.dataviews-view-picker-activity .dataviews-view-picker-activity__item-type { | |
| 3763 | + align-self: stretch; | |
| 3764 | + flex-shrink: 0; | |
| 3765 | +} | |
| 3766 | + | |
| 3767 | +.dataviews-view-picker-activity .dataviews-view-picker-activity__item-type::after { | |
| 3768 | + content: ""; | |
| 3769 | + flex: 1 1 auto; | |
| 3770 | + width: 1px; | |
| 3771 | + margin: 0 auto; | |
| 3772 | + background-color: var(--wpds-color-stroke-surface-neutral, #dbdbdb); | |
| 3773 | +} | |
| 3774 | + | |
| 3775 | +.dataviews-view-picker-activity .dataviews-view-picker-activity__item-type::before { | |
| 3776 | + content: ""; | |
| 3777 | + flex: 0 0 auto; | |
| 3778 | + width: 1px; | |
| 3779 | + margin: 0 auto; | |
| 3780 | + background-color: var(--wpds-color-stroke-surface-neutral, #dbdbdb); | |
| 3781 | +} | |
| 3782 | + | |
| 3783 | +.dataviews-view-picker-activity .dataviews-view-picker-activity__item:first-child .dataviews-view-picker-activity__item-type::before { | |
| 3784 | + visibility: hidden; | |
| 3785 | +} | |
| 3786 | + | |
| 3787 | +.dataviews-view-picker-activity .dataviews-view-picker-activity-group:last-of-type > .dataviews-view-picker-activity__item:last-of-type .dataviews-view-picker-activity__item-type::after, .dataviews-view-picker-activity > .dataviews-view-picker-activity__item:last-child .dataviews-view-picker-activity__item-type::after { | |
| 3788 | + background: linear-gradient(to bottom, var(--wpds-color-stroke-surface-neutral, #dbdbdb) 0%, color-mix(in srgb, var(--wpds-color-stroke-surface-neutral, #dbdbdb) 20%, transparent) 60%, transparent 100%); | |
| 3789 | +} | |
| 3790 | + | |
| 3791 | +.dataviews-view-picker-activity .dataviews-view-picker-activity-group__header { | |
| 3792 | + font-size: var(--wpds-typography-font-size-lg, 15px); | |
| 3793 | + font-weight: var(--wpds-typography-font-weight-emphasis, 600); | |
| 3794 | + color: var(--wpds-color-foreground-content-neutral-weak, #707070); | |
| 3795 | + margin: 0 0 var(--wpds-dimension-gap-sm, 8px) 0; | |
| 3796 | + padding: 0; | |
| 3797 | + padding-inline-start: var(--wpds-dimension-padding-2xl, 24px); | |
| 3798 | +} | |
| 3799 | + | |
| 3800 | +.dataviews-view-picker-activity .dataviews-view-picker-activity__item-type-icon { | |
| 3801 | + overflow: hidden; | |
| 3802 | + flex-shrink: 0; | |
| 3803 | + background-color: transparent; | |
| 3804 | +} | |
| 3805 | + | |
| 3806 | +.dataviews-view-picker-activity .dataviews-view-picker-activity__item-type-icon img, | |
| 3807 | +.dataviews-view-picker-activity .dataviews-view-picker-activity__item-type-icon svg, | |
| 3808 | +.dataviews-view-picker-activity .dataviews-view-picker-activity__item-type-icon .dataviews-view-picker-activity__item-bullet { | |
| 3809 | + display: block; | |
| 3810 | + width: 100%; | |
| 3811 | + height: 100%; | |
| 3812 | + margin: 0 auto; | |
| 3813 | + object-fit: cover; | |
| 3814 | + border-radius: 50%; | |
| 3815 | + box-sizing: border-box; | |
| 3816 | + box-shadow: inset 0 0 0 var(--wpds-border-width-xs, 1px) var(--wpds-color-stroke-surface-neutral, #dbdbdb); | |
| 3817 | +} | |
| 3818 | + | |
| 3819 | +.dataviews-view-picker-activity .dataviews-view-picker-activity__item-type-icon svg { | |
| 3820 | + padding: var(--wpds-dimension-padding-xs, 4px); | |
| 3821 | +} | |
| 3822 | + | |
| 3823 | +.dataviews-view-picker-activity .dataviews-view-picker-activity__item-type-icon .dataviews-view-picker-activity__item-bullet { | |
| 3824 | + background-color: var(--wpds-color-stroke-surface-neutral, #dbdbdb); | |
| 3825 | +} | |
| 3826 | + | |
| 3606 | 3827 | .dataviews-picker-footer__bulk-selection { |
| 3607 | 3828 | align-self: flex-start; |
| 3608 | - height: calc(var(--wpds-dimension-base, 4px) * 8); | |
| 3829 | + height: var(--wpds-dimension-size-md, 32px); | |
| 3609 | 3830 | } |
| 3610 | 3831 | |
| 3611 | 3832 | .dataviews-picker-footer__actions { |
| 3612 | 3833 | align-self: flex-end; |
| @@ -3640,17 +3861,38 @@ | ||
| 3640 | 3861 | border: 1px solid var(--wpds-color-stroke-surface-neutral, #dbdbdb); |
| 3641 | 3862 | } |
| 3642 | 3863 | |
| 3643 | 3864 | .dataviews-controls__date-preset:active { |
| 3644 | - background-color: var(--wpds-color-bg-interactive-neutral-strong-active, #1e1e1e); | |
| 3865 | + background-color: var(--wpds-color-background-interactive-neutral-strong-active, #1e1e1e); | |
| 3645 | 3866 | } |
| 3646 | 3867 | |
| 3868 | +.dataviews-validated-control__wrapper-with-error-delegate:has(input[type=radio]:invalid[data-validity-visible]), .dataviews-validated-control__wrapper-with-error-delegate:has(input:invalid[data-validity-visible]) .components-form-token-field__input-container:not(:has([aria-expanded=true])), .dataviews-validated-control .components-combobox-control__suggestions-container:has(input:invalid[data-validity-visible]):not(:has([aria-expanded=true])), .dataviews-validated-control:has(:is(input, select):invalid[data-validity-visible]) .components-input-control__backdrop { | |
| 3869 | + --focus-color: var(--wpds-color-stroke-interactive-error, #cc1818); | |
| 3870 | +} | |
| 3871 | + | |
| 3872 | +.dataviews-validated-control__wrapper-with-error-delegate:has(input:invalid[data-validity-visible]) .components-form-token-field__input-container:not(:has([aria-expanded=true])), .dataviews-validated-control .components-combobox-control__suggestions-container:has(input:invalid[data-validity-visible]):not(:has([aria-expanded=true])), .dataviews-validated-control:has(:is(input, select):invalid[data-validity-visible]) .components-input-control__backdrop { | |
| 3873 | + border-color: var(--wpds-color-stroke-interactive-error, #cc1818); | |
| 3874 | +} | |
| 3875 | + | |
| 3876 | +.dataviews-validated-control__wrapper-with-error-delegate { | |
| 3877 | + position: relative; | |
| 3878 | +} | |
| 3879 | + | |
| 3880 | +.dataviews-validated-control__error-delegate { | |
| 3881 | + position: absolute; | |
| 3882 | + top: 0; | |
| 3883 | + height: 100%; | |
| 3884 | + width: 100%; | |
| 3885 | + opacity: 0; | |
| 3886 | + pointer-events: none; | |
| 3887 | +} | |
| 3888 | + | |
| 3647 | 3889 | .dataforms-layouts-panel__field-trigger { |
| 3648 | 3890 | position: relative; |
| 3649 | 3891 | color: inherit; |
| 3650 | 3892 | display: flex; |
| 3651 | 3893 | width: 100%; |
| 3652 | - min-height: calc(var(--wpds-dimension-base, 4px) * 6); | |
| 3894 | + min-height: var(--wpds-dimension-size-sm, 24px); | |
| 3653 | 3895 | cursor: var(--wpds-cursor-control, pointer); |
| 3654 | 3896 | align-items: flex-start; |
| 3655 | 3897 | border-radius: var(--wpds-border-radius-sm, 2px); |
| 3656 | 3898 | isolation: isolate; |
| @@ -3657,9 +3899,9 @@ | ||
| 3657 | 3899 | } |
| 3658 | 3900 | |
| 3659 | 3901 | .dataforms-layouts-panel__field-trigger--label-side { |
| 3660 | 3902 | flex-direction: row; |
| 3661 | - gap: var(--wpds-dimension-gap-md, 12px); | |
| 3903 | + gap: var(--wpds-dimension-gap-sm, 8px); | |
| 3662 | 3904 | } |
| 3663 | 3905 | |
| 3664 | 3906 | .dataforms-layouts-panel__field-trigger--label-top { |
| 3665 | 3907 | display: grid; |
| @@ -3670,9 +3912,9 @@ | ||
| 3670 | 3912 | align-items: center; |
| 3671 | 3913 | } |
| 3672 | 3914 | |
| 3673 | 3915 | .dataforms-layouts-panel__field-trigger:not(.is-disabled):hover { |
| 3674 | - color: var(--wpds-color-fg-interactive-brand, var(--wp-admin-theme-color, #3858e9)); | |
| 3916 | + color: var(--wpds-color-foreground-interactive-brand, var(--wp-admin-theme-color, #3858e9)); | |
| 3675 | 3917 | } |
| 3676 | 3918 | |
| 3677 | 3919 | .dataforms-layouts-panel__field-trigger:not(.is-disabled):hover .dataforms-layouts-panel__field-trigger-icon { |
| 3678 | 3920 | opacity: 1; |
| @@ -3678,9 +3920,9 @@ | ||
| 3678 | 3920 | opacity: 1; |
| 3679 | 3921 | } |
| 3680 | 3922 | |
| 3681 | 3923 | .dataforms-layouts-panel__field-trigger:not(.is-disabled):hover .dataforms-layouts-panel__field-label { |
| 3682 | - color: var(--wpds-color-fg-interactive-brand, var(--wp-admin-theme-color, #3858e9)); | |
| 3924 | + color: var(--wpds-color-foreground-interactive-brand, var(--wp-admin-theme-color, #3858e9)); | |
| 3683 | 3925 | } |
| 3684 | 3926 | |
| 3685 | 3927 | .dataforms-layouts-panel__field-trigger.is-disabled { |
| 3686 | 3928 | cursor: default; |
| @@ -3686,10 +3928,10 @@ | ||
| 3686 | 3928 | cursor: default; |
| 3687 | 3929 | } |
| 3688 | 3930 | |
| 3689 | 3931 | .dataforms-layouts-panel__field-trigger.is-disabled .dataforms-layouts-panel__field-control { |
| 3690 | - color: var(--wpds-color-fg-content-neutral-weak, #707070); | |
| 3691 | - font-weight: var(--wpds-typography-font-weight-regular, 400); | |
| 3932 | + color: var(--wpds-color-foreground-content-neutral-weak, #707070); | |
| 3933 | + font-weight: var(--wpds-typography-font-weight-default, 400); | |
| 3692 | 3934 | } |
| 3693 | 3935 | |
| 3694 | 3936 | .dataforms-layouts-panel__field-trigger--edit-always .dataforms-layouts-panel__field-trigger-icon { |
| 3695 | 3937 | opacity: 1; |
| @@ -3696,22 +3938,28 @@ | ||
| 3696 | 3938 | fill: currentColor; |
| 3697 | 3939 | } |
| 3698 | 3940 | |
| 3699 | 3941 | .dataforms-layouts-panel__field-trigger--edit-always .dataforms-layouts-panel__field-trigger-icon:hover, .dataforms-layouts-panel__field-trigger--edit-always .dataforms-layouts-panel__field-trigger-icon:focus-visible { |
| 3700 | - fill: var(--wpds-color-fg-interactive-brand, var(--wp-admin-theme-color, #3858e9)); | |
| 3942 | + fill: var(--wpds-color-foreground-interactive-brand, var(--wp-admin-theme-color, #3858e9)); | |
| 3701 | 3943 | } |
| 3702 | 3944 | |
| 3703 | 3945 | .dataforms-layouts-panel__field-trigger-icon { |
| 3704 | 3946 | padding: 0; |
| 3705 | - color: var(--wpds-color-fg-interactive-brand, var(--wp-admin-theme-color, #3858e9)); | |
| 3947 | + color: var(--wpds-color-foreground-interactive-brand, var(--wp-admin-theme-color, #3858e9)); | |
| 3706 | 3948 | flex: 0 0 auto; |
| 3707 | 3949 | opacity: 0; |
| 3708 | 3950 | border-radius: var(--wpds-border-radius-xs, 1px); |
| 3709 | 3951 | } |
| 3710 | 3952 | |
| 3953 | +.dataforms-layouts-panel__field-trigger-icon::after { | |
| 3954 | + content: ""; | |
| 3955 | + position: absolute; | |
| 3956 | + inset: 0; | |
| 3957 | +} | |
| 3958 | + | |
| 3711 | 3959 | .dataforms-layouts-panel__field-trigger-icon:focus-visible { |
| 3712 | 3960 | opacity: 1; |
| 3713 | - outline: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)) solid var(--wpds-color-stroke-focus-brand, var(--wp-admin-theme-color, #3858e9)); | |
| 3961 | + outline: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)) solid var(--wpds-color-stroke-focus, var(--wp-admin-theme-color, #3858e9)); | |
| 3714 | 3962 | } |
| 3715 | 3963 | |
| 3716 | 3964 | .dataforms-layouts-panel__field-dropdown-anchor { |
| 3717 | 3965 | width: 100%; |
| @@ -3723,14 +3971,14 @@ | ||
| 3723 | 3971 | |
| 3724 | 3972 | .dataforms-layouts-panel__field-label { |
| 3725 | 3973 | width: 38%; |
| 3726 | 3974 | flex-shrink: 0; |
| 3727 | - min-height: calc(var(--wpds-dimension-base, 4px) * 6); | |
| 3975 | + min-height: var(--wpds-dimension-size-sm, 24px); | |
| 3728 | 3976 | display: flex; |
| 3729 | 3977 | align-items: center; |
| 3730 | 3978 | line-height: var(--wpds-typography-line-height-sm, 20px); |
| 3731 | 3979 | hyphens: auto; |
| 3732 | - color: var(--wpds-color-fg-content-neutral-weak, #707070); | |
| 3980 | + color: var(--wpds-color-foreground-content-neutral-weak, #707070); | |
| 3733 | 3981 | } |
| 3734 | 3982 | |
| 3735 | 3983 | .dataforms-layouts-panel__field-label .components-base-control__label { |
| 3736 | 3984 | display: inline; |
| @@ -3738,16 +3986,14 @@ | ||
| 3738 | 3986 | line-height: inherit; |
| 3739 | 3987 | } |
| 3740 | 3988 | |
| 3741 | 3989 | .dataforms-layouts-panel__field-label.has-error { |
| 3742 | - color: var(--wpds-color-fg-content-error-weak, #cc1818); | |
| 3990 | + color: var(--wpds-color-foreground-content-error-weak, #cc1818); | |
| 3743 | 3991 | } |
| 3744 | 3992 | |
| 3745 | 3993 | .dataforms-layouts-panel__field-label-error-content { |
| 3746 | - position: relative; | |
| 3747 | - z-index: 1; | |
| 3748 | - cursor: help; | |
| 3749 | - fill: var(--wpds-color-fg-content-error-weak, #cc1818); | |
| 3994 | + pointer-events: none; | |
| 3995 | + color: var(--wpds-color-foreground-content-error-weak, #cc1818); | |
| 3750 | 3996 | display: inline-flex; |
| 3751 | 3997 | flex-direction: row; |
| 3752 | 3998 | align-items: center; |
| 3753 | 3999 | gap: var(--wpds-dimension-gap-xs, 4px); |
| @@ -3752,45 +3998,31 @@ | ||
| 3752 | 3998 | align-items: center; |
| 3753 | 3999 | gap: var(--wpds-dimension-gap-xs, 4px); |
| 3754 | 4000 | } |
| 3755 | 4001 | |
| 3756 | -.dataforms-layouts-panel__field-label-error-content svg { | |
| 3757 | - fill: currentColor; | |
| 3758 | -} | |
| 3759 | - | |
| 3760 | 4002 | .dataforms-layouts-panel__field-control { |
| 3761 | 4003 | flex-grow: 1; |
| 3762 | 4004 | min-width: 0; |
| 3763 | - min-height: calc(var(--wpds-dimension-base, 4px) * 6); | |
| 4005 | + min-height: var(--wpds-dimension-size-sm, 24px); | |
| 3764 | 4006 | line-height: var(--wpds-typography-line-height-md, 24px); |
| 3765 | 4007 | display: flex; |
| 3766 | 4008 | align-items: center; |
| 3767 | - overflow: hidden; | |
| 3768 | - word-break: break-word; | |
| 3769 | - font-weight: var(--wpds-typography-font-weight-medium, 499); | |
| 4009 | + overflow: clip; | |
| 4010 | + padding-inline: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)); | |
| 4011 | + margin-inline: calc(-1 * var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px))); | |
| 4012 | + word-break: normal; | |
| 4013 | + overflow-wrap: anywhere; | |
| 4014 | + font-weight: var(--wpds-typography-font-weight-emphasis, 600); | |
| 3770 | 4015 | } |
| 3771 | 4016 | |
| 4017 | +.dataforms-layouts-panel__field-control:has(a, button) { | |
| 4018 | + z-index: 1; | |
| 4019 | +} | |
| 4020 | + | |
| 3772 | 4021 | .dataforms-layouts-panel__field-control > * { |
| 3773 | 4022 | min-width: 0; |
| 3774 | 4023 | } |
| 3775 | 4024 | |
| 3776 | -.dataforms-layouts-panel__field-control .components-button { | |
| 3777 | - max-width: 100%; | |
| 3778 | - text-align: left; | |
| 3779 | - white-space: normal; | |
| 3780 | - text-wrap: balance; | |
| 3781 | - text-wrap: pretty; | |
| 3782 | - min-height: 32px; | |
| 3783 | -} | |
| 3784 | - | |
| 3785 | -.dataforms-layouts-panel__field-control.components-button.is-link[aria-disabled=true] { | |
| 3786 | - text-decoration: none; | |
| 3787 | -} | |
| 3788 | - | |
| 3789 | -.dataforms-layouts-panel__field-control .components-dropdown { | |
| 3790 | - max-width: 100%; | |
| 3791 | -} | |
| 3792 | - | |
| 3793 | 4025 | .dataforms-layouts-panel__field-trigger--label-top .dataforms-layouts-panel__field-label { |
| 3794 | 4026 | width: 100%; |
| 3795 | 4027 | } |
| 3796 | 4028 | |
| @@ -3819,15 +4051,11 @@ | ||
| 3819 | 4051 | .components-popover.components-dropdown__content.dataforms-layouts-panel__field-dropdown { |
| 3820 | 4052 | z-index: 159990; |
| 3821 | 4053 | } |
| 3822 | 4054 | |
| 3823 | -.dataforms-layouts-panel__summary-button:empty { | |
| 3824 | - min-width: 160px; | |
| 3825 | -} | |
| 3826 | - | |
| 3827 | 4055 | .dataforms-layouts-regular__field { |
| 3828 | 4056 | width: 100%; |
| 3829 | - min-height: calc(var(--wpds-dimension-base, 4px) * 8); | |
| 4057 | + min-height: var(--wpds-dimension-size-md, 32px); | |
| 3830 | 4058 | justify-content: flex-start !important; |
| 3831 | 4059 | align-items: flex-start !important; |
| 3832 | 4060 | } |
| 3833 | 4061 | |
| @@ -3833,15 +4061,15 @@ | ||
| 3833 | 4061 | |
| 3834 | 4062 | .dataforms-layouts-regular__field .components-base-control__label, |
| 3835 | 4063 | .dataforms-layouts-regular__field .components-input-control__label, |
| 3836 | 4064 | .dataforms-layouts-regular__field .components-form-token-field__label { |
| 3837 | - color: var(--wpds-color-fg-content-neutral, #1e1e1e); | |
| 4065 | + color: var(--wpds-color-foreground-content-neutral, #1e1e1e); | |
| 3838 | 4066 | } |
| 3839 | 4067 | |
| 3840 | 4068 | .dataforms-layouts-regular__field-label { |
| 3841 | 4069 | width: 38%; |
| 3842 | 4070 | flex-shrink: 0; |
| 3843 | - min-height: calc(var(--wpds-dimension-base, 4px) * 8); | |
| 4071 | + min-height: var(--wpds-dimension-size-md, 32px); | |
| 3844 | 4072 | display: flex; |
| 3845 | 4073 | align-items: center; |
| 3846 | 4074 | line-height: var(--wpds-typography-line-height-sm, 20px); |
| 3847 | 4075 | hyphens: auto; |
| @@ -3856,9 +4084,9 @@ | ||
| 3856 | 4084 | } |
| 3857 | 4085 | |
| 3858 | 4086 | .dataforms-layouts-regular__field-control { |
| 3859 | 4087 | flex-grow: 1; |
| 3860 | - min-height: calc(var(--wpds-dimension-base, 4px) * 8); | |
| 4088 | + min-height: var(--wpds-dimension-size-md, 32px); | |
| 3861 | 4089 | display: flex; |
| 3862 | 4090 | align-items: center; |
| 3863 | 4091 | } |
| 3864 | 4092 | |
| @@ -3874,9 +4102,9 @@ | ||
| 3874 | 4102 | display: contents; |
| 3875 | 4103 | } |
| 3876 | 4104 | |
| 3877 | 4105 | .dataforms-layouts-card__field-description { |
| 3878 | - color: var(--wpds-color-fg-content-neutral-weak, #707070); | |
| 4106 | + color: var(--wpds-color-foreground-content-neutral-weak, #707070); | |
| 3879 | 4107 | display: block; |
| 3880 | 4108 | font-size: var(--wpds-typography-font-size-md, 13px); |
| 3881 | 4109 | margin-bottom: var(--wpds-dimension-gap-lg, 16px); |
| 3882 | 4110 | } |
| @@ -3889,9 +4117,9 @@ | ||
| 3889 | 4117 | } |
| 3890 | 4118 | |
| 3891 | 4119 | .dataforms-layouts-details__summary-content { |
| 3892 | 4120 | display: inline-flex; |
| 3893 | - min-height: calc(var(--wpds-dimension-base, 4px) * 6); | |
| 4121 | + min-height: var(--wpds-dimension-size-sm, 24px); | |
| 3894 | 4122 | } |
| 3895 | 4123 | |
| 3896 | 4124 | .dataforms-layouts-details__content { |
| 3897 | 4125 | padding-top: var(--wpds-dimension-padding-md, 12px); |
| @@ -3901,10 +4129,10 @@ | ||
| 3901 | 4129 | width: 100%; |
| 3902 | 4130 | } |
| 3903 | 4131 | |
| 3904 | 4132 | .dataforms-layouts__wrapper { |
| 3905 | - font-family: -apple-system, "system-ui", "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; | |
| 3906 | - font-weight: 400; | |
| 4133 | + font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; | |
| 4134 | + font-weight: var(--wpds-typography-font-weight-default, 400); | |
| 3907 | 4135 | font-size: 13px; |
| 3908 | 4136 | line-height: 20px; |
| 3909 | 4137 | } |
| 3910 | 4138 | |
| @@ -3977,8 +4205,14 @@ | ||
| 3977 | 4205 | /** |
| 3978 | 4206 | * Focus styles. |
| 3979 | 4207 | */ |
| 3980 | 4208 | /** |
| 4209 | + * Standard focus rings for the WordPress Design System. | |
| 4210 | + * | |
| 4211 | + * Apply `outset-ring__focus` inside the relevant pseudo-class at the call site, | |
| 4212 | + * e.g. `&:focus { @include outset-ring__focus(); }`. | |
| 4213 | + */ | |
| 4214 | +/** | |
| 3981 | 4215 | * Applies editor left position to the selector passed as argument |
| 3982 | 4216 | */ |
| 3983 | 4217 | /** |
| 3984 | 4218 | * Styles that are reused verbatim in a few places |
| @@ -4036,9 +4270,9 @@ | ||
| 4036 | 4270 | padding: 12px; |
| 4037 | 4271 | display: grid; |
| 4038 | 4272 | align-items: center; |
| 4039 | 4273 | grid-template-columns: min-content 1fr min-content; |
| 4040 | - grid-gap: 4px 8px; | |
| 4274 | + gap: 4px 8px; | |
| 4041 | 4275 | color: #1e1e1e; |
| 4042 | 4276 | } |
| 4043 | 4277 | |
| 4044 | 4278 | .fields-create-template-part-modal__area-radio-wrapper + .fields-create-template-part-modal__area-radio-wrapper { |
| @@ -4115,9 +4349,8 @@ | ||
| 4115 | 4349 | line-height: 1.5; |
| 4116 | 4350 | } |
| 4117 | 4351 | |
| 4118 | 4352 | fieldset.fields__media-edit { |
| 4119 | - /* stylelint-disable-next-line property-no-unknown -- '@container' not globally permitted */ | |
| 4120 | 4353 | container-type: inline-size; |
| 4121 | 4354 | } |
| 4122 | 4355 | |
| 4123 | 4356 | fieldset.fields__media-edit .fields__media-edit-compact-group { |
| @@ -4353,9 +4586,8 @@ | ||
| 4353 | 4586 | } |
| 4354 | 4587 | |
| 4355 | 4588 | fieldset.fields__media-edit .fields__media-edit-expanded.is-multiple:not(.is-empty) { |
| 4356 | 4589 | grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); |
| 4357 | - /* stylelint-disable-next-line property-no-unknown -- '@container' not globally permitted */ | |
| 4358 | 4590 | } |
| 4359 | 4591 | |
| 4360 | 4592 | @container (max-width: 500px) { |
| 4361 | 4593 | fieldset.fields__media-edit .fields__media-edit-expanded.is-multiple:not(.is-empty) { |
| @@ -4422,18 +4654,15 @@ | ||
| 4422 | 4654 | padding: 0; |
| 4423 | 4655 | margin: 0; |
| 4424 | 4656 | } |
| 4425 | 4657 | |
| 4426 | -.fields-controls__slug .fields-controls__slug-external-icon { | |
| 4427 | - margin-left: 5ch; | |
| 4428 | -} | |
| 4429 | - | |
| 4430 | 4658 | .fields-controls__slug .fields-controls__slug-input input.components-input-control__input { |
| 4431 | 4659 | padding-inline-start: 0 !important; |
| 4432 | 4660 | } |
| 4433 | 4661 | |
| 4434 | 4662 | .fields-controls__slug .fields-controls__slug-help-link { |
| 4435 | - word-break: break-word; | |
| 4663 | + word-break: normal; | |
| 4664 | + overflow-wrap: anywhere; | |
| 4436 | 4665 | } |
| 4437 | 4666 | |
| 4438 | 4667 | .fields-controls__slug .fields-controls__slug-help { |
| 4439 | 4668 | display: flex; |
| @@ -4440,9 +4669,9 @@ | ||
| 4440 | 4669 | flex-direction: column; |
| 4441 | 4670 | } |
| 4442 | 4671 | |
| 4443 | 4672 | .fields-controls__slug .fields-controls__slug-help .fields-controls__slug-help-slug { |
| 4444 | - font-weight: 600; | |
| 4673 | + font-weight: var(--wpds-typography-font-weight-emphasis, 600); | |
| 4445 | 4674 | } |
| 4446 | 4675 | |
| 4447 | 4676 | .fields-controls__featured-image-image, |
| 4448 | 4677 | .fields-controls__featured-image-placeholder { |
| @@ -4604,9 +4833,9 @@ | ||
| 4604 | 4833 | border-radius: 2px; |
| 4605 | 4834 | } |
| 4606 | 4835 | |
| 4607 | 4836 | .media-editor-preview__file-name { |
| 4608 | - font-weight: 600; | |
| 4837 | + font-weight: var(--wpds-typography-font-weight-emphasis, 600); | |
| 4609 | 4838 | margin-bottom: 8px; |
| 4610 | 4839 | } |
| 4611 | 4840 | |
| 4612 | 4841 | .media-editor-preview__mime-type { |
| @@ -4631,8 +4860,9 @@ | ||
| 4631 | 4860 | word-break: break-all; |
| 4632 | 4861 | margin-top: 8px; |
| 4633 | 4862 | } |
| 4634 | 4863 | |
| 4864 | +/*!rtl:begin:ignore*/ | |
| 4635 | 4865 | .wp-media-editor-image-editor { |
| 4636 | 4866 | position: relative; |
| 4637 | 4867 | overflow: hidden; |
| 4638 | 4868 | width: 100%; |
| @@ -4644,9 +4874,11 @@ | ||
| 4644 | 4874 | } |
| 4645 | 4875 | |
| 4646 | 4876 | .wp-media-editor-image-editor__canvas { |
| 4647 | 4877 | position: absolute; |
| 4648 | - inset: 22px; | |
| 4878 | + inset: 24px; | |
| 4879 | + min-height: 100px; | |
| 4880 | + min-width: 100px; | |
| 4649 | 4881 | } |
| 4650 | 4882 | |
| 4651 | 4883 | .wp-media-editor-image-editor__canvas:focus { |
| 4652 | 4884 | outline: none; |
| @@ -4676,17 +4908,18 @@ | ||
| 4676 | 4908 | |
| 4677 | 4909 | .wp-media-editor-image-editor__dimming { |
| 4678 | 4910 | position: absolute; |
| 4679 | 4911 | pointer-events: none; |
| 4680 | - /* Large shadow spread dims everything outside the crop area. | |
| 4681 | - Darker at rest for clear crop framing, lighter during drag | |
| 4682 | - so the user can see where they're panning. */ | |
| 4683 | - box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.7); | |
| 4912 | + /* Large shadow spread washes everything outside the crop area | |
| 4913 | + toward the canvas grey ($gray-200). Slightly stronger at rest | |
| 4914 | + for clear crop framing, lighter during drag so the user can see | |
| 4915 | + where they're panning. */ | |
| 4916 | + box-shadow: 0 0 0 9999px rgba(224, 224, 224, 0.6); | |
| 4684 | 4917 | transition: box-shadow 0.15s ease; |
| 4685 | 4918 | } |
| 4686 | 4919 | |
| 4687 | 4920 | .wp-media-editor-image-editor--dragging .wp-media-editor-image-editor__dimming { |
| 4688 | - box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.5); | |
| 4921 | + box-shadow: 0 0 0 9999px rgba(224, 224, 224, 0.4); | |
| 4689 | 4922 | } |
| 4690 | 4923 | |
| 4691 | 4924 | .wp-media-editor-image-editor__grid { |
| 4692 | 4925 | position: absolute; |
| @@ -4742,9 +4975,9 @@ | ||
| 4742 | 4975 | } |
| 4743 | 4976 | |
| 4744 | 4977 | .wp-media-editor-image-editor__stencil-rect { |
| 4745 | 4978 | position: absolute; |
| 4746 | - border: 1px solid rgba(255, 255, 255, 0.7); | |
| 4979 | + border: 1px solid #1e1e1e; | |
| 4747 | 4980 | box-sizing: border-box; |
| 4748 | 4981 | pointer-events: none; |
| 4749 | 4982 | transition: border-color 0.15s ease, box-shadow 0.15s ease; |
| 4750 | 4983 | } |
| @@ -4762,10 +4995,10 @@ | ||
| 4762 | 4995 | cursor: default; |
| 4763 | 4996 | position: absolute; |
| 4764 | 4997 | width: 12px; |
| 4765 | 4998 | height: 12px; |
| 4766 | - background: rgba(255, 255, 255, 0.6); | |
| 4767 | - border: 1px solid rgba(255, 255, 255, 0.9); | |
| 4999 | + background: #fff; | |
| 5000 | + border: 1px solid var(--wp-admin-theme-color, #007cba); | |
| 4768 | 5001 | border-radius: 50%; |
| 4769 | 5002 | box-sizing: border-box; |
| 4770 | 5003 | pointer-events: auto; |
| 4771 | 5004 | transition: background-color 0.15s ease, box-shadow 0.15s ease; |
| @@ -4846,13 +5079,14 @@ | ||
| 4846 | 5079 | right: -6px; |
| 4847 | 5080 | cursor: nwse-resize; |
| 4848 | 5081 | } |
| 4849 | 5082 | |
| 5083 | +/*!rtl:end:ignore*/ | |
| 4850 | 5084 | /** |
| 4851 | - * Typography | |
| 5085 | + * Breakpoints & Media Queries | |
| 4852 | 5086 | */ |
| 4853 | 5087 | /** |
| 4854 | - * Breakpoints & Media Queries | |
| 5088 | + * Typography | |
| 4855 | 5089 | */ |
| 4856 | 5090 | /** |
| 4857 | 5091 | * Converts a hex value into the rgb equivalent. |
| 4858 | 5092 | * |
| @@ -4871,8 +5105,14 @@ | ||
| 4871 | 5105 | /** |
| 4872 | 5106 | * Focus styles. |
| 4873 | 5107 | */ |
| 4874 | 5108 | /** |
| 5109 | + * Standard focus rings for the WordPress Design System. | |
| 5110 | + * | |
| 5111 | + * Apply `outset-ring__focus` inside the relevant pseudo-class at the call site, | |
| 5112 | + * e.g. `&:focus { @include outset-ring__focus(); }`. | |
| 5113 | + */ | |
| 5114 | +/** | |
| 4875 | 5115 | * Applies editor left position to the selector passed as argument |
| 4876 | 5116 | */ |
| 4877 | 5117 | /** |
| 4878 | 5118 | * Styles that are reused verbatim in a few places |
| @@ -4905,40 +5145,74 @@ | ||
| 4905 | 5145 | align-items: center; |
| 4906 | 5146 | justify-content: center; |
| 4907 | 5147 | } |
| 4908 | 5148 | |
| 4909 | -.media-editor .interface-interface-skeleton { | |
| 4910 | - position: relative; | |
| 4911 | - top: auto; | |
| 4912 | - right: auto; | |
| 4913 | - bottom: auto; | |
| 4914 | - left: auto; | |
| 4915 | - height: 100%; | |
| 4916 | - max-height: none; | |
| 5149 | +.media-editor .media-editor__body { | |
| 5150 | + container-type: inline-size; | |
| 5151 | + container-name: media-editor-body; | |
| 5152 | + display: flex; | |
| 4917 | 5153 | flex: 1; |
| 5154 | + min-height: 0; | |
| 5155 | +} | |
| 5156 | + | |
| 5157 | +.media-editor .media-editor__content { | |
| 5158 | + display: flex; | |
| 5159 | + flex: 1; | |
| 4918 | 5160 | flex-direction: column; |
| 5161 | + min-width: 0; | |
| 5162 | + min-height: 0; | |
| 5163 | + margin: 24px 24px 8px 24px; | |
| 4919 | 5164 | } |
| 4920 | 5165 | |
| 4921 | -.media-editor .interface-interface-skeleton__editor { | |
| 5166 | +@media (min-width: 600px) { | |
| 5167 | + .media-editor .media-editor__content { | |
| 5168 | + margin: 0 24px; | |
| 5169 | + } | |
| 5170 | +} | |
| 5171 | +@container media-editor-body (min-width: 864px) { | |
| 5172 | + .media-editor .media-editor__content { | |
| 5173 | + min-width: 520px; | |
| 5174 | + } | |
| 5175 | +} | |
| 5176 | +.media-editor .media-editor__canvas-toolbar { | |
| 5177 | + display: flex; | |
| 5178 | + flex: 0 0 auto; | |
| 5179 | + flex-direction: column; | |
| 5180 | + align-items: center; | |
| 5181 | + gap: 12px; | |
| 5182 | +} | |
| 5183 | + | |
| 5184 | +.media-editor .media-editor__canvas-toolbar .media-editor-fine-rotation { | |
| 5185 | + display: flex; | |
| 5186 | + justify-content: center; | |
| 5187 | + align-self: stretch; | |
| 5188 | + background: #e0e0e0; | |
| 5189 | + border-radius: 0 0 8px 8px; | |
| 5190 | + padding: 8px 16px; | |
| 5191 | +} | |
| 5192 | + | |
| 5193 | +.media-editor .media-editor__canvas-toolbar .media-editor-fine-rotation .rotation-ruler { | |
| 5194 | + flex: 0 1 360px; | |
| 4922 | 5195 | min-width: 0; |
| 4923 | - flex: 1; | |
| 4924 | 5196 | } |
| 4925 | 5197 | |
| 4926 | -.media-editor .media-editor__canvas { | |
| 5198 | +.media-editor .media-editor__canvas-area { | |
| 4927 | 5199 | display: flex; |
| 4928 | 5200 | align-items: center; |
| 4929 | 5201 | justify-content: center; |
| 4930 | - background: #f0f0f0; | |
| 5202 | + background: #e0e0e0; | |
| 5203 | + border-radius: 8px; | |
| 4931 | 5204 | overflow: auto; |
| 4932 | - height: 100%; | |
| 5205 | + flex: 1; | |
| 5206 | + min-height: 0; | |
| 4933 | 5207 | } |
| 4934 | 5208 | |
| 4935 | -.media-editor .media-editor__canvas .media-editor-preview { | |
| 5209 | +.media-editor .media-editor__canvas-area .media-editor-preview { | |
| 4936 | 5210 | height: 100%; |
| 4937 | 5211 | } |
| 4938 | 5212 | |
| 4939 | -.media-editor .media-editor__canvas img, | |
| 4940 | -.media-editor .media-editor__canvas video { | |
| 5213 | +.media-editor .media-editor__canvas-area img, | |
| 5214 | +.media-editor .media-editor__canvas-area video { | |
| 4941 | 5215 | max-width: 100%; |
| 4942 | 5216 | max-height: 100%; |
| 4943 | 5217 | object-fit: contain; |
| 4944 | 5218 | } |
| @@ -4943,38 +5217,62 @@ | ||
| 4943 | 5217 | object-fit: contain; |
| 4944 | 5218 | } |
| 4945 | 5219 | |
| 4946 | 5220 | .media-editor .media-editor__sidebar { |
| 4947 | - box-sizing: border-box; | |
| 5221 | + display: flex; | |
| 5222 | + flex: 1; | |
| 5223 | + flex-direction: column; | |
| 5224 | + min-width: 0; | |
| 5225 | + min-height: 0; | |
| 5226 | + overflow: hidden; | |
| 4948 | 5227 | } |
| 4949 | 5228 | |
| 4950 | -.media-editor .media-editor__sidebar *, | |
| 4951 | -.media-editor .media-editor__sidebar *::before, | |
| 4952 | -.media-editor .media-editor__sidebar *::after { | |
| 4953 | - box-sizing: inherit; | |
| 5229 | +@media (min-width: 600px) { | |
| 5230 | + .media-editor .media-editor__sidebar { | |
| 5231 | + flex: none; | |
| 5232 | + width: var(--wpds-dimension-surface-width-sm, 320px); | |
| 5233 | + } | |
| 4954 | 5234 | } |
| 5235 | +.media-editor .media-editor__tabs { | |
| 5236 | + display: flex; | |
| 5237 | + flex: 1; | |
| 5238 | + flex-direction: column; | |
| 5239 | + min-height: 0; | |
| 5240 | +} | |
| 4955 | 5241 | |
| 5242 | +.media-editor .media-editor__tablist { | |
| 5243 | + flex-shrink: 0; | |
| 5244 | + margin-inline: 24px; | |
| 5245 | + background: #fff; | |
| 5246 | + border-bottom: 1px solid #ddd; | |
| 5247 | +} | |
| 5248 | + | |
| 4956 | 5249 | .media-editor .media-editor__panel { |
| 4957 | - padding: 16px; | |
| 5250 | + flex: 1; | |
| 5251 | + min-height: 0; | |
| 5252 | + overflow-y: auto; | |
| 5253 | + padding-block: 24px; | |
| 5254 | + padding-inline: 24px; | |
| 4958 | 5255 | } |
| 4959 | 5256 | |
| 4960 | -.media-editor .components-panel__header.media-editor__sidebar-header { | |
| 4961 | - padding-left: 0; | |
| 4962 | - padding-right: 8px; | |
| 5257 | +.media-editor .media-editor__content:has(.media-editor-fine-rotation) .media-editor__canvas-area { | |
| 5258 | + border-end-start-radius: 0; | |
| 5259 | + border-end-end-radius: 0; | |
| 4963 | 5260 | } |
| 4964 | 5261 | |
| 4965 | -.media-editor .components-panel__header.media-editor__sidebar-header .components-button.has-icon { | |
| 4966 | - padding: 0; | |
| 5262 | +.media-editor .media-editor__body.has-panel-open .media-editor__content { | |
| 5263 | + display: none; | |
| 4967 | 5264 | } |
| 4968 | 5265 | |
| 4969 | -@media (min-width: 782px) { | |
| 4970 | - .media-editor .components-panel__header.media-editor__sidebar-header .components-button.has-icon { | |
| 5266 | +@media (min-width: 600px) { | |
| 5267 | + .media-editor .media-editor__body.has-panel-open .media-editor__content { | |
| 4971 | 5268 | display: flex; |
| 5269 | + margin: 0 0 0 24px; | |
| 4972 | 5270 | } |
| 4973 | 5271 | } |
| 4974 | 5272 | .media-editor__snackbar { |
| 4975 | 5273 | position: fixed; |
| 4976 | - bottom: 24px; | |
| 5274 | + bottom: var(--wpds-dimension-size-md, 32px); | |
| 4977 | 5275 | left: 0; |
| 4978 | 5276 | right: 0; |
| 4979 | 5277 | padding-inline: 16px; |
| 4980 | 5278 | box-sizing: border-box; |
| @@ -4986,8 +5284,12 @@ | ||
| 4986 | 5284 | .media-editor__snackbar .components-snackbar { |
| 4987 | 5285 | margin-inline: auto; |
| 4988 | 5286 | } |
| 4989 | 5287 | |
| 5288 | +.media-editor-form .dataforms-layouts-panel__field-control { | |
| 5289 | + text-wrap: pretty; | |
| 5290 | +} | |
| 5291 | + | |
| 4990 | 5292 | .media-editor-modal.components-modal__frame .components-modal__content { |
| 4991 | 5293 | padding: 0; |
| 4992 | 5294 | margin-bottom: 0; |
| 4993 | 5295 | display: flex; |
| @@ -5004,63 +5306,23 @@ | ||
| 5004 | 5306 | |
| 5005 | 5307 | .media-editor-modal.components-modal__frame .media-editor-modal__footer { |
| 5006 | 5308 | flex-shrink: 0; |
| 5007 | 5309 | display: flex; |
| 5310 | + flex-direction: row; | |
| 5311 | + align-items: center; | |
| 5008 | 5312 | gap: 16px; |
| 5009 | - padding: 8px 24px; | |
| 5010 | - border-top: 1px solid #ddd; | |
| 5313 | + padding: 24px; | |
| 5011 | 5314 | background: #fff; |
| 5012 | 5315 | } |
| 5013 | 5316 | |
| 5014 | -.media-editor-modal.components-modal__frame .media-editor-modal__footer.is-wide { | |
| 5015 | - flex-direction: row; | |
| 5016 | - align-items: center; | |
| 5017 | -} | |
| 5018 | - | |
| 5019 | -.media-editor-modal.components-modal__frame .media-editor-modal__footer.is-wide .media-editor-modal__footer-toolbar { | |
| 5020 | - flex: 1 1 0; | |
| 5021 | - min-width: 0; | |
| 5022 | - display: flex; | |
| 5023 | - align-items: center; | |
| 5024 | - justify-content: center; | |
| 5025 | - gap: 8px; | |
| 5026 | -} | |
| 5027 | - | |
| 5028 | -.media-editor-modal.components-modal__frame .media-editor-modal__footer.is-wide .media-editor-fine-rotation { | |
| 5029 | - flex: 1 1 280px; | |
| 5030 | - min-width: 0; | |
| 5031 | - max-width: 360px; | |
| 5032 | -} | |
| 5033 | - | |
| 5034 | -.media-editor-modal.components-modal__frame .media-editor-modal__footer.is-wide .media-editor-transform-controls { | |
| 5035 | - border-left: 1px solid #ddd; | |
| 5036 | - padding-left: 12px; | |
| 5037 | -} | |
| 5038 | - | |
| 5039 | -.media-editor-modal.components-modal__frame .media-editor-modal__footer.is-wide .media-editor__footer-actions { | |
| 5317 | +.media-editor-modal.components-modal__frame .media-editor-modal__footer .media-editor__save-actions { | |
| 5040 | 5318 | margin-left: auto; |
| 5041 | 5319 | } |
| 5042 | 5320 | |
| 5043 | -.media-editor-modal.components-modal__frame .media-editor-modal__footer.is-medium, .media-editor-modal.components-modal__frame .media-editor-modal__footer.is-narrow { | |
| 5044 | - flex-direction: column; | |
| 5321 | +.media-editor-modal .media-editor__history-actions .components-button.has-icon:not([aria-disabled=true]) { | |
| 5322 | + color: var(--wp-admin-theme-color); | |
| 5045 | 5323 | } |
| 5046 | 5324 | |
| 5047 | -.media-editor-modal.components-modal__frame .media-editor-modal__footer.is-narrow > .media-editor-transform-controls { | |
| 5048 | - align-self: center; | |
| 5049 | -} | |
| 5050 | - | |
| 5051 | -.media-editor-modal__footer-row { | |
| 5052 | - display: flex; | |
| 5053 | - flex-wrap: wrap; | |
| 5054 | - align-items: center; | |
| 5055 | - gap: 16px; | |
| 5056 | -} | |
| 5057 | - | |
| 5058 | -.media-editor-modal__footer-row .media-editor-transform-controls, | |
| 5059 | -.media-editor-modal__footer-row .media-editor__footer-actions { | |
| 5060 | - margin-left: auto; | |
| 5061 | -} | |
| 5062 | - | |
| 5063 | 5325 | .media-editor-modal { |
| 5064 | 5326 | display: flex; |
| 5065 | 5327 | flex-direction: column; |
| 5066 | 5328 | } |
| @@ -5066,9 +5328,9 @@ | ||
| 5066 | 5328 | } |
| 5067 | 5329 | |
| 5068 | 5330 | .media-editor-modal__snackbar { |
| 5069 | 5331 | position: fixed; |
| 5070 | - bottom: 24px; | |
| 5332 | + bottom: var(--wpds-dimension-size-md, 32px); | |
| 5071 | 5333 | left: 0; |
| 5072 | 5334 | right: 0; |
| 5073 | 5335 | padding-inline: 16px; |
| 5074 | 5336 | box-sizing: border-box; |
| @@ -5090,15 +5352,88 @@ | ||
| 5090 | 5352 | width: 100%; |
| 5091 | 5353 | height: 100%; |
| 5092 | 5354 | } |
| 5093 | 5355 | |
| 5094 | -.media-editor-transform-controls { | |
| 5356 | +.media-editor-canvas__cropper { | |
| 5357 | + width: 100%; | |
| 5358 | + height: 100%; | |
| 5359 | + opacity: 0; | |
| 5360 | + pointer-events: none; | |
| 5361 | +} | |
| 5362 | + | |
| 5363 | +.media-editor-canvas__cropper.is-loaded { | |
| 5364 | + opacity: 1; | |
| 5365 | + pointer-events: auto; | |
| 5366 | +} | |
| 5367 | + | |
| 5368 | +@keyframes __wp-base-styles-fade-in { | |
| 5369 | + from { | |
| 5370 | + opacity: 0; | |
| 5371 | + } | |
| 5372 | + to { | |
| 5373 | + opacity: 1; | |
| 5374 | + } | |
| 5375 | +} | |
| 5376 | +@media not (prefers-reduced-motion) { | |
| 5377 | + .media-editor-canvas__cropper.is-loaded { | |
| 5378 | + animation: __wp-base-styles-fade-in 0.2s linear 0s; | |
| 5379 | + animation-fill-mode: forwards; | |
| 5380 | + } | |
| 5381 | +} | |
| 5382 | +.media-editor-canvas__spinner { | |
| 5383 | + position: absolute; | |
| 5384 | + top: 50%; | |
| 5385 | + left: 50%; | |
| 5386 | + transform: translate(-50%, -50%); | |
| 5387 | +} | |
| 5388 | + | |
| 5389 | +.media-editor-canvas__error { | |
| 5095 | 5390 | display: flex; |
| 5391 | + align-items: center; | |
| 5392 | + justify-content: center; | |
| 5393 | + width: 100%; | |
| 5394 | + height: 100%; | |
| 5395 | + color: #757575; | |
| 5396 | + text-align: center; | |
| 5397 | +} | |
| 5398 | + | |
| 5399 | +.media-editor-image-controls { | |
| 5400 | + display: flex; | |
| 5096 | 5401 | flex-wrap: nowrap; |
| 5097 | 5402 | align-items: center; |
| 5098 | 5403 | gap: 8px; |
| 5099 | 5404 | } |
| 5100 | 5405 | |
| 5406 | +.media-editor-image-controls.is-stacked { | |
| 5407 | + flex-direction: column; | |
| 5408 | + align-items: flex-start; | |
| 5409 | + gap: 24px; | |
| 5410 | +} | |
| 5411 | + | |
| 5412 | +.media-editor-image-controls__transforms { | |
| 5413 | + display: flex; | |
| 5414 | + gap: 48px; | |
| 5415 | +} | |
| 5416 | + | |
| 5417 | +.media-editor-image-controls__group { | |
| 5418 | + display: flex; | |
| 5419 | + flex-direction: column; | |
| 5420 | + gap: 4px; | |
| 5421 | +} | |
| 5422 | + | |
| 5423 | +.media-editor-image-controls__label { | |
| 5424 | + font-size: 11px; | |
| 5425 | + font-weight: var(--wpds-typography-font-weight-emphasis, 600); | |
| 5426 | + line-height: 1.4; | |
| 5427 | + text-transform: uppercase; | |
| 5428 | +} | |
| 5429 | + | |
| 5430 | +.media-editor-image-controls__buttons { | |
| 5431 | + display: flex; | |
| 5432 | + gap: 8px; | |
| 5433 | + padding-inline: 2px 0; | |
| 5434 | +} | |
| 5435 | + | |
| 5101 | 5436 | .media-editor-keyboard-shortcuts-modal { |
| 5102 | 5437 | min-width: 280px; |
| 5103 | 5438 | } |
| 5104 | 5439 | |
| @@ -5132,9 +5467,9 @@ | ||
| 5132 | 5467 | } |
| 5133 | 5468 | |
| 5134 | 5469 | .media-editor-keyboard-shortcuts-modal .media-editor-keyboard-shortcuts-modal__shortcut-term { |
| 5135 | 5470 | background: none; |
| 5136 | - font-weight: 600; | |
| 5471 | + font-weight: var(--wpds-typography-font-weight-emphasis, 600); | |
| 5137 | 5472 | margin: 0 0 0 1rem; |
| 5138 | 5473 | padding: 0; |
| 5139 | 5474 | text-align: right; |
| 5140 | 5475 | } |
| @@ -5155,13 +5490,15 @@ | ||
| 5155 | 5490 | height: 32px; |
| 5156 | 5491 | padding: 0 8px; |
| 5157 | 5492 | box-sizing: border-box; |
| 5158 | 5493 | color: #1e1e1e; |
| 5159 | - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; | |
| 5494 | + font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; | |
| 5160 | 5495 | -webkit-user-select: none; |
| 5161 | 5496 | user-select: none; |
| 5162 | 5497 | touch-action: none; |
| 5163 | 5498 | cursor: ew-resize; |
| 5499 | + /*rtl:ignore*/ | |
| 5500 | + direction: ltr; | |
| 5164 | 5501 | container-type: inline-size; |
| 5165 | 5502 | } |
| 5166 | 5503 | |
| 5167 | 5504 | .rotation-ruler[data-disabled] { |
| @@ -5182,9 +5519,9 @@ | ||
| 5182 | 5519 | height: 1px; |
| 5183 | 5520 | margin: -1px; |
| 5184 | 5521 | padding: 0; |
| 5185 | 5522 | border: 0; |
| 5186 | - clip: rect(0 0 0 0); | |
| 5523 | + clip-path: inset(50%); | |
| 5187 | 5524 | overflow: hidden; |
| 5188 | 5525 | white-space: nowrap; |
| 5189 | 5526 | } |
| 5190 | 5527 | |
| @@ -5209,8 +5546,9 @@ | ||
| 5209 | 5546 | } |
| 5210 | 5547 | |
| 5211 | 5548 | .rotation-ruler__ticks { |
| 5212 | 5549 | position: absolute; |
| 5550 | + /*rtl:ignore*/ | |
| 5213 | 5551 | left: 50%; |
| 5214 | 5552 | top: 0; |
| 5215 | 5553 | display: block; |
| 5216 | 5554 | overflow: visible; |
| @@ -5246,9 +5584,9 @@ | ||
| 5246 | 5584 | left: 50%; |
| 5247 | 5585 | height: 14px; |
| 5248 | 5586 | transform: translateX(-50%); |
| 5249 | 5587 | font-size: 12px; |
| 5250 | - font-weight: 600; | |
| 5588 | + font-weight: var(--wpds-typography-font-weight-emphasis, 600); | |
| 5251 | 5589 | line-height: 14px; |
| 5252 | 5590 | color: #1e1e1e; |
| 5253 | 5591 | pointer-events: none; |
| 5254 | 5592 | } |
| @@ -5260,9 +5598,9 @@ | ||
| 5260 | 5598 | left: 50%; |
| 5261 | 5599 | width: 60px; |
| 5262 | 5600 | height: 100%; |
| 5263 | 5601 | transform: translateX(-50%); |
| 5264 | - background: linear-gradient(to right, transparent 0, #fff 12px, #fff calc(100% - 12px), transparent 100%); | |
| 5602 | + background: linear-gradient(to right, transparent 0, #e0e0e0 12px, #e0e0e0 calc(100% - 12px), transparent 100%); | |
| 5265 | 5603 | } |
| 5266 | 5604 | |
| 5267 | 5605 | .rotation-ruler__active-label-number { |
| 5268 | 5606 | position: relative; |
| @@ -5271,8 +5609,9 @@ | ||
| 5271 | 5609 | |
| 5272 | 5610 | .rotation-ruler__active-label-sign { |
| 5273 | 5611 | position: absolute; |
| 5274 | 5612 | top: 0; |
| 5613 | + /*rtl:ignore*/ | |
| 5275 | 5614 | right: 100%; |
| 5276 | 5615 | } |
| 5277 | 5616 | |
| 5278 | 5617 | .rotation-ruler__active-label-unit { |
| @@ -5277,8 +5616,9 @@ | ||
| 5277 | 5616 | |
| 5278 | 5617 | .rotation-ruler__active-label-unit { |
| 5279 | 5618 | position: absolute; |
| 5280 | 5619 | top: 0; |
| 5620 | + /*rtl:ignore*/ | |
| 5281 | 5621 | left: 100%; |
| 5282 | 5622 | } |
| 5283 | 5623 | |
| 5284 | 5624 | @container (max-width: 220px) { |
| @@ -5297,9 +5637,9 @@ | ||
| 5297 | 5637 | } |
| 5298 | 5638 | |
| 5299 | 5639 | .editor-autocompleters__user .editor-autocompleters__no-avatar::before { |
| 5300 | 5640 | /* stylelint-disable-next-line font-family-no-missing-generic-family-keyword -- dashicons don't need a generic family keyword. */ |
| 5301 | - font: normal 20px/1 dashicons; | |
| 5641 | + font: 400 20px/1 dashicons; | |
| 5302 | 5642 | content: "\f110"; |
| 5303 | 5643 | margin-right: 5px; |
| 5304 | 5644 | vertical-align: middle; |
| 5305 | 5645 | } |
| @@ -5322,9 +5662,9 @@ | ||
| 5322 | 5662 | .editor-autocompleters__user .editor-autocompleters__user-slug { |
| 5323 | 5663 | margin-left: 8px; |
| 5324 | 5664 | white-space: nowrap; |
| 5325 | 5665 | text-overflow: ellipsis; |
| 5326 | - overflow: none; | |
| 5666 | + overflow: hidden; | |
| 5327 | 5667 | max-width: 100px; |
| 5328 | 5668 | flex-grow: 0; |
| 5329 | 5669 | flex-shrink: 0; |
| 5330 | 5670 | } |
| @@ -5334,9 +5674,10 @@ | ||
| 5334 | 5674 | |
| 5335 | 5675 | .interface-interface-skeleton__sidebar:has(.editor-collab-sidebar) { |
| 5336 | 5676 | box-shadow: none; |
| 5337 | 5677 | } |
| 5338 | -.interface-interface-skeleton__sidebar:has(.editor-collab-sidebar) .interface-complementary-area-header { | |
| 5678 | + | |
| 5679 | +.editor-collab-sidebar__header { | |
| 5339 | 5680 | display: none; |
| 5340 | 5681 | } |
| 5341 | 5682 | |
| 5342 | 5683 | .editor-collab-sidebar { |
| @@ -5348,11 +5689,13 @@ | ||
| 5348 | 5689 | position: relative; |
| 5349 | 5690 | padding: 16px 16px 24px; |
| 5350 | 5691 | height: 100%; |
| 5351 | 5692 | overflow: hidden; |
| 5693 | + border-left: 1px solid color-mix(in srgb, currentColor 10%, transparent); | |
| 5352 | 5694 | } |
| 5353 | 5695 | |
| 5354 | -.editor-collab-sidebar-panel__thread { | |
| 5696 | +.editor-collab-sidebar-panel__thread, | |
| 5697 | +.editor-collab-sidebar-panel__add-note { | |
| 5355 | 5698 | position: relative; |
| 5356 | 5699 | padding: 16px; |
| 5357 | 5700 | border-radius: 8px; |
| 5358 | 5701 | border: 1px solid #ddd; |
| @@ -5359,18 +5702,21 @@ | ||
| 5359 | 5702 | background-color: #f0f0f0; |
| 5360 | 5703 | overflow: hidden; |
| 5361 | 5704 | width: auto; |
| 5362 | 5705 | } |
| 5363 | -.editor-collab-sidebar-panel__thread.is-selected { | |
| 5706 | +.editor-collab-sidebar-panel__thread.is-selected, | |
| 5707 | +.editor-collab-sidebar-panel__add-note.is-selected { | |
| 5364 | 5708 | background-color: #fff; |
| 5365 | 5709 | box-shadow: 0 2px 3px rgba(0, 0, 0, 0.05), 0 4px 5px rgba(0, 0, 0, 0.04), 0 12px 12px rgba(0, 0, 0, 0.03), 0 16px 16px rgba(0, 0, 0, 0.02); |
| 5366 | 5710 | z-index: 1; |
| 5367 | 5711 | } |
| 5368 | -.editor-collab-sidebar-panel__thread:focus { | |
| 5712 | +.editor-collab-sidebar-panel__thread:focus, | |
| 5713 | +.editor-collab-sidebar-panel__add-note:focus { | |
| 5369 | 5714 | outline: var(--wp-admin-border-width-focus) solid var(--wp-admin-theme-color); |
| 5370 | 5715 | outline-offset: calc(-1 * var(--wp-admin-border-width-focus)); |
| 5371 | 5716 | } |
| 5372 | -.editor-collab-sidebar-panel__thread.is-floating { | |
| 5717 | +.editor-collab-sidebar-panel__thread.is-floating, | |
| 5718 | +.editor-collab-sidebar-panel__add-note.is-floating { | |
| 5373 | 5719 | left: 16px; |
| 5374 | 5720 | right: 16px; |
| 5375 | 5721 | position: absolute; |
| 5376 | 5722 | margin-top: 16px; |
| @@ -5379,8 +5725,12 @@ | ||
| 5379 | 5725 | max-height: calc(100dvh - var(--wp-admin--admin-bar--height, 0px) - 128px); |
| 5380 | 5726 | overflow-y: auto; |
| 5381 | 5727 | } |
| 5382 | 5728 | |
| 5729 | +.editor-collab-sidebar-panel__user-info { | |
| 5730 | + flex: 1; | |
| 5731 | +} | |
| 5732 | + | |
| 5383 | 5733 | .editor-collab-sidebar-panel__user-name { |
| 5384 | 5734 | font-size: 12px; |
| 5385 | 5735 | font-weight: 400; |
| 5386 | 5736 | line-height: 16px; |
| @@ -5385,9 +5735,9 @@ | ||
| 5385 | 5735 | font-weight: 400; |
| 5386 | 5736 | line-height: 16px; |
| 5387 | 5737 | text-align: left; |
| 5388 | 5738 | color: #757575; |
| 5389 | - text-transform: capitalize; | |
| 5739 | + overflow-wrap: anywhere; | |
| 5390 | 5740 | } |
| 5391 | 5741 | |
| 5392 | 5742 | .editor-collab-sidebar-panel__user-time { |
| 5393 | 5743 | font-size: 12px; |
| @@ -5396,11 +5746,30 @@ | ||
| 5396 | 5746 | text-align: left; |
| 5397 | 5747 | color: #757575; |
| 5398 | 5748 | } |
| 5399 | 5749 | |
| 5750 | +.editor-collab-sidebar-panel__show-more-button { | |
| 5751 | + width: fit-content; | |
| 5752 | + color: var(--wpds-color-foreground-interactive-brand, var(--wp-admin-theme-color, #3858e9)); | |
| 5753 | + cursor: var(--wpds-cursor-control, pointer); | |
| 5754 | +} | |
| 5755 | +.editor-collab-sidebar-panel__show-more-button:hover, .editor-collab-sidebar-panel__show-more-button:focus, .editor-collab-sidebar-panel__show-more-button:active { | |
| 5756 | + color: var(--wpds-color-foreground-interactive-brand-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 52%, black)); | |
| 5757 | +} | |
| 5758 | + | |
| 5759 | +.editor-collab-sidebar-panel__note-content { | |
| 5760 | + overflow-wrap: break-word; | |
| 5761 | +} | |
| 5400 | 5762 | .editor-collab-sidebar-panel__note-content p:last-child { |
| 5401 | 5763 | margin-bottom: 0; |
| 5402 | 5764 | } |
| 5765 | +.editor-collab-sidebar-panel__note-content.is-collapsed { | |
| 5766 | + -webkit-line-clamp: 3; | |
| 5767 | + line-clamp: 3; | |
| 5768 | + display: -webkit-box; | |
| 5769 | + -webkit-box-orient: vertical; | |
| 5770 | + overflow: hidden; | |
| 5771 | +} | |
| 5403 | 5772 | |
| 5404 | 5773 | .editor-collab-sidebar-panel__user-avatar { |
| 5405 | 5774 | border-radius: 50%; |
| 5406 | 5775 | flex-shrink: 0; |
| @@ -5420,23 +5789,23 @@ | ||
| 5420 | 5789 | height: 24px; |
| 5421 | 5790 | flex-shrink: 0; |
| 5422 | 5791 | } |
| 5423 | 5792 | |
| 5424 | -.editor-collab-sidebar-panel__more-reply-separator::before, .editor-collab-sidebar-panel__more-reply-separator::after { | |
| 5793 | +.editor-collab-sidebar-panel__more-reply-separator::before, .editor-collab-sidebar-panel__more-reply-separator::after, | |
| 5794 | +.editor-collab-sidebar-panel__status-separator::before, | |
| 5795 | +.editor-collab-sidebar-panel__status-separator::after { | |
| 5425 | 5796 | content: ""; |
| 5426 | - display: block; | |
| 5427 | - width: 100%; | |
| 5797 | + flex: 1; | |
| 5428 | 5798 | height: 1px; |
| 5429 | 5799 | background-color: #ddd; |
| 5430 | - flex: 1; | |
| 5431 | 5800 | } |
| 5432 | 5801 | |
| 5433 | 5802 | .editor-collab-sidebar-panel__more-reply-button { |
| 5434 | - font-weight: 499; | |
| 5803 | + font-weight: var(--wpds-typography-font-weight-emphasis, 600); | |
| 5435 | 5804 | } |
| 5436 | 5805 | |
| 5437 | 5806 | .editor-collab-sidebar-panel__deleted-block-notice { |
| 5438 | - font-weight: 499; | |
| 5807 | + font-weight: var(--wpds-typography-font-weight-emphasis, 600); | |
| 5439 | 5808 | color: #757575; |
| 5440 | 5809 | } |
| 5441 | 5810 | |
| 5442 | 5811 | .editor-collab-sidebar-panel__resolution-text { |
| @@ -5442,44 +5811,26 @@ | ||
| 5442 | 5811 | .editor-collab-sidebar-panel__resolution-text { |
| 5443 | 5812 | font-style: italic; |
| 5444 | 5813 | } |
| 5445 | 5814 | |
| 5446 | -.editor-collab-sidebar-panel__note-form textarea { | |
| 5447 | - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; | |
| 5448 | - padding: 6px 8px; | |
| 5449 | - /* Fonts smaller than 16px causes mobile safari to zoom. */ | |
| 5450 | - font-size: 16px; | |
| 5451 | - /* Override core line-height. To be reviewed. */ | |
| 5452 | - line-height: normal; | |
| 5453 | - box-shadow: 0 0 0 transparent; | |
| 5815 | +.editor-collab-sidebar-panel__note-form [role=textbox] { | |
| 5816 | + line-height: 20px; | |
| 5817 | + max-height: 418px; | |
| 5818 | + overflow-y: auto; | |
| 5819 | + white-space: pre-wrap; | |
| 5820 | + overflow-wrap: break-word; | |
| 5821 | +} | |
| 5822 | +.editor-collab-sidebar-panel__note-form [role=textbox] code { | |
| 5823 | + font-family: Menlo, Consolas, monaco, monospace; | |
| 5824 | + font-size: 0.9em; | |
| 5825 | + padding: 0 2px; | |
| 5826 | + background: #f0f0f0; | |
| 5454 | 5827 | border-radius: 2px; |
| 5455 | - border: 1px solid #949494; | |
| 5456 | 5828 | } |
| 5457 | -@media not (prefers-reduced-motion) { | |
| 5458 | - .editor-collab-sidebar-panel__note-form textarea { | |
| 5459 | - transition: box-shadow 0.1s linear; | |
| 5460 | - } | |
| 5829 | +.editor-collab-sidebar-panel__note-form [role=textbox] a { | |
| 5830 | + color: var(--wp-admin-theme-color); | |
| 5831 | + text-decoration: underline; | |
| 5461 | 5832 | } |
| 5462 | -@media (min-width: 600px) { | |
| 5463 | - .editor-collab-sidebar-panel__note-form textarea { | |
| 5464 | - font-size: 13px; | |
| 5465 | - /* Override core line-height. To be reviewed. */ | |
| 5466 | - line-height: normal; | |
| 5467 | - } | |
| 5468 | -} | |
| 5469 | -.editor-collab-sidebar-panel__note-form textarea:focus { | |
| 5470 | - border-color: var(--wp-admin-theme-color); | |
| 5471 | - box-shadow: 0 0 0 0.5px var(--wp-admin-theme-color); | |
| 5472 | - outline: 2px solid transparent; | |
| 5473 | -} | |
| 5474 | -.editor-collab-sidebar-panel__note-form textarea::placeholder { | |
| 5475 | - color: rgba(30, 30, 30, 0.62); | |
| 5476 | -} | |
| 5477 | -.editor-collab-sidebar-panel__note-form textarea { | |
| 5478 | - padding: 9px 11px; | |
| 5479 | - line-height: 20px !important; | |
| 5480 | - display: block; | |
| 5481 | -} | |
| 5482 | 5833 | |
| 5483 | 5834 | .editor-collab-sidebar-panel__skip-to-note, |
| 5484 | 5835 | .editor-collab-sidebar-panel__skip-to-block { |
| 5485 | 5836 | position: absolute; |
| @@ -5521,9 +5872,9 @@ | ||
| 5521 | 5872 | margin-left: 0; |
| 5522 | 5873 | } |
| 5523 | 5874 | |
| 5524 | 5875 | .editor-note-indicator__overflow { |
| 5525 | - font-weight: 499; | |
| 5876 | + font-weight: var(--wpds-typography-font-weight-emphasis, 600); | |
| 5526 | 5877 | } |
| 5527 | 5878 | |
| 5528 | 5879 | .show-icon-labels .editor-note-indicator { |
| 5529 | 5880 | width: auto; |
| @@ -5535,8 +5886,36 @@ | ||
| 5535 | 5886 | content: attr(aria-label); |
| 5536 | 5887 | font-size: 12px; |
| 5537 | 5888 | } |
| 5538 | 5889 | |
| 5890 | +mark.wp-note { | |
| 5891 | + border-radius: 1px; | |
| 5892 | + transition: background-color 0.1s ease-in-out; | |
| 5893 | +} | |
| 5894 | + | |
| 5895 | +.wp-note-mention { | |
| 5896 | + display: inline; | |
| 5897 | + padding: 0 var(--wpds-dimension-padding-xs, 4px); | |
| 5898 | + border-radius: var(--wpds-border-radius-sm, 2px); | |
| 5899 | + background: var(--wpds-color-background-surface-brand, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 9%, white)); | |
| 5900 | + color: var(--wpds-color-foreground-interactive-brand, var(--wp-admin-theme-color, #3858e9)); | |
| 5901 | + font-weight: var(--wpds-typography-font-weight-emphasis, 600); | |
| 5902 | +} | |
| 5903 | +@media (forced-colors: active) { | |
| 5904 | + .wp-note-mention { | |
| 5905 | + border: 1px solid; | |
| 5906 | + } | |
| 5907 | +} | |
| 5908 | + | |
| 5909 | +.editor-collab-sidebar-panel__mention-suggestion .editor-autocompleters__user-avatar { | |
| 5910 | + border-radius: 50%; | |
| 5911 | +} | |
| 5912 | + | |
| 5913 | +.editor-rich-text-control [data-rich-text-placeholder]::after { | |
| 5914 | + content: attr(data-rich-text-placeholder); | |
| 5915 | + color: color-mix(in srgb, currentColor, transparent 38%); | |
| 5916 | +} | |
| 5917 | + | |
| 5539 | 5918 | .editor-avatar { |
| 5540 | 5919 | position: relative; |
| 5541 | 5920 | display: inline-flex; |
| 5542 | 5921 | align-items: center; |
| @@ -5594,9 +5973,9 @@ | ||
| 5594 | 5973 | display: flex; |
| 5595 | 5974 | align-items: center; |
| 5596 | 5975 | justify-content: center; |
| 5597 | 5976 | font-size: 11px; |
| 5598 | - font-weight: 499; | |
| 5977 | + font-weight: var(--wpds-typography-font-weight-emphasis, 600); | |
| 5599 | 5978 | border: 0; |
| 5600 | 5979 | background-clip: border-box; |
| 5601 | 5980 | } |
| 5602 | 5981 | .editor-avatar:not(.has-src) > .editor-avatar__image::after { |
| @@ -5608,9 +5987,9 @@ | ||
| 5608 | 5987 | } |
| 5609 | 5988 | |
| 5610 | 5989 | .editor-avatar__name { |
| 5611 | 5990 | font-size: 13px; |
| 5612 | - font-weight: 499; | |
| 5991 | + font-weight: var(--wpds-typography-font-weight-emphasis, 600); | |
| 5613 | 5992 | line-height: 20px; |
| 5614 | 5993 | color: var(--editor-avatar-name-color, #fff); |
| 5615 | 5994 | min-width: 0; |
| 5616 | 5995 | padding-bottom: 2px; |
| @@ -5751,9 +6130,9 @@ | ||
| 5751 | 6130 | padding: 8px 16px; |
| 5752 | 6131 | } |
| 5753 | 6132 | .editor-collaborators-presence__list.components-popover .editor-collaborators-presence__list-header-title { |
| 5754 | 6133 | font-size: 13px; |
| 5755 | - font-weight: 499; | |
| 6134 | + font-weight: var(--wpds-typography-font-weight-emphasis, 600); | |
| 5756 | 6135 | line-height: 20px; |
| 5757 | 6136 | display: flex; |
| 5758 | 6137 | gap: 4px; |
| 5759 | 6138 | } |
| @@ -5805,9 +6184,9 @@ | ||
| 5805 | 6184 | min-width: 0; |
| 5806 | 6185 | } |
| 5807 | 6186 | .editor-collaborators-presence__list.components-popover .editor-collaborators-presence__list-item-name { |
| 5808 | 6187 | font-size: 13px; |
| 5809 | - font-weight: 499; | |
| 6188 | + font-weight: var(--wpds-typography-font-weight-emphasis, 600); | |
| 5810 | 6189 | line-height: 20px; |
| 5811 | 6190 | color: #1e1e1e; |
| 5812 | 6191 | overflow: hidden; |
| 5813 | 6192 | text-overflow: ellipsis; |
| @@ -5821,43 +6200,24 @@ | ||
| 5821 | 6200 | height: 32px; |
| 5822 | 6201 | background: #f0f0f0; |
| 5823 | 6202 | border-radius: 4px; |
| 5824 | 6203 | } |
| 5825 | -.editor-collaborators-presence:hover { | |
| 6204 | +.editor-collaborators-presence:hover, .editor-collaborators-presence:has(.is-pressed) { | |
| 5826 | 6205 | background-color: #e0e0e0; |
| 5827 | 6206 | } |
| 5828 | -.editor-collaborators-presence:has(.is-pressed) { | |
| 5829 | - background-color: #e0e0e0; | |
| 5830 | -} | |
| 5831 | 6207 | |
| 5832 | 6208 | .editor-header__center .editor-collaborators-presence { |
| 5833 | 6209 | margin-right: 8px; |
| 5834 | 6210 | } |
| 5835 | 6211 | |
| 5836 | -.editor-collaborators-presence__button.editor-collaborators-presence__button.components-button { | |
| 5837 | - display: flex; | |
| 5838 | - align-items: center; | |
| 5839 | - cursor: var(--wpds-cursor-control, pointer); | |
| 6212 | +.editor-collaborators-presence__button.editor-collaborators-presence__button { | |
| 5840 | 6213 | position: relative; |
| 5841 | 6214 | padding: 4px; |
| 5842 | - border-radius: 4px; | |
| 5843 | - height: 100%; | |
| 5844 | - box-sizing: border-box; | |
| 5845 | - color: #2f2f2f; | |
| 5846 | - background: transparent; | |
| 5847 | 6215 | } |
| 5848 | -.editor-collaborators-presence__button.editor-collaborators-presence__button.components-button:hover { | |
| 6216 | +.editor-collaborators-presence__button.editor-collaborators-presence__button, .editor-collaborators-presence__button.editor-collaborators-presence__button:hover, .editor-collaborators-presence__button.editor-collaborators-presence__button.is-pressed, .editor-collaborators-presence__button.editor-collaborators-presence__button.is-pressed:hover { | |
| 5849 | 6217 | background: transparent; |
| 5850 | 6218 | color: #2f2f2f; |
| 5851 | 6219 | } |
| 5852 | -.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 { | |
| 5853 | - background: transparent; | |
| 5854 | - color: #2f2f2f; | |
| 5855 | -} | |
| 5856 | -.editor-collaborators-presence__button.editor-collaborators-presence__button.components-button:focus:not(:active) { | |
| 5857 | - box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus, 2px) var(--wp-admin-theme-color, #007cba); | |
| 5858 | - outline: none; | |
| 5859 | -} | |
| 5860 | 6220 | |
| 5861 | 6221 | .editor-collapsible-block-toolbar { |
| 5862 | 6222 | overflow: hidden; |
| 5863 | 6223 | display: flex; |
| @@ -5952,11 +6312,8 @@ | ||
| 5952 | 6312 | } |
| 5953 | 6313 | .editor-document-bar:hover { |
| 5954 | 6314 | background-color: #e0e0e0; |
| 5955 | 6315 | } |
| 5956 | -.editor-document-bar .components-button { | |
| 5957 | - border-radius: 4px; | |
| 5958 | -} | |
| 5959 | 6316 | @media not (prefers-reduced-motion) { |
| 5960 | 6317 | .editor-document-bar .components-button { |
| 5961 | 6318 | transition: background-color 0.1s ease-out; |
| 5962 | 6319 | } |
| @@ -5981,13 +6338,8 @@ | ||
| 5981 | 6338 | color: #1e1e1e; |
| 5982 | 6339 | margin: 0 auto; |
| 5983 | 6340 | max-width: 70%; |
| 5984 | 6341 | } |
| 5985 | -@media (min-width: 782px) { | |
| 5986 | - .editor-document-bar__title { | |
| 5987 | - padding-left: 24px; | |
| 5988 | - } | |
| 5989 | -} | |
| 5990 | 6342 | .editor-document-bar__title h1 { |
| 5991 | 6343 | display: flex; |
| 5992 | 6344 | align-items: center; |
| 5993 | 6345 | justify-content: center; |
| @@ -6013,19 +6365,8 @@ | ||
| 6013 | 6365 | display: none; |
| 6014 | 6366 | } |
| 6015 | 6367 | } |
| 6016 | 6368 | |
| 6017 | -.editor-document-bar__shortcut { | |
| 6018 | - color: #2f2f2f; | |
| 6019 | - min-width: 24px; | |
| 6020 | - display: none; | |
| 6021 | -} | |
| 6022 | -@media (min-width: 782px) { | |
| 6023 | - .editor-document-bar__shortcut { | |
| 6024 | - display: initial; | |
| 6025 | - } | |
| 6026 | -} | |
| 6027 | - | |
| 6028 | 6369 | .editor-document-bar__back.components-button.has-icon.has-text { |
| 6029 | 6370 | min-width: 36px; |
| 6030 | 6371 | flex-shrink: 0; |
| 6031 | 6372 | color: #757575; |
| @@ -6044,9 +6385,9 @@ | ||
| 6044 | 6385 | display: none; |
| 6045 | 6386 | pointer-events: none; |
| 6046 | 6387 | } |
| 6047 | 6388 | .editor-document-bar__icon-layout.editor-document-bar__icon-layout svg { |
| 6048 | - fill: #949494; | |
| 6389 | + color: #949494; | |
| 6049 | 6390 | } |
| 6050 | 6391 | @media (min-width: 600px) { |
| 6051 | 6392 | .editor-document-bar__icon-layout.editor-document-bar__icon-layout { |
| 6052 | 6393 | display: flex; |
| @@ -6176,12 +6517,12 @@ | ||
| 6176 | 6517 | .editor-document-tools .editor-document-tools__left > .components-button.has-icon.is-pressed, |
| 6177 | 6518 | .editor-document-tools .editor-document-tools__left > .components-dropdown > .components-button.has-icon.is-pressed { |
| 6178 | 6519 | background: #1e1e1e; |
| 6179 | 6520 | } |
| 6180 | -.editor-document-tools .editor-document-tools__left > .components-button.has-icon:focus:not(:disabled), | |
| 6181 | -.editor-document-tools .editor-document-tools__left > .components-dropdown > .components-button.has-icon:focus:not(:disabled) { | |
| 6182 | - box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color), inset 0 0 0 1px #fff; | |
| 6183 | - outline: 1px solid transparent; | |
| 6521 | +.editor-document-tools .editor-document-tools__left > .components-button.has-icon:focus:not(:active), | |
| 6522 | +.editor-document-tools .editor-document-tools__left > .components-dropdown > .components-button.has-icon:focus:not(:active) { | |
| 6523 | + outline: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)) solid var(--focus-color, var(--wpds-color-stroke-focus, var(--wp-admin-theme-color, #3858e9))); | |
| 6524 | + outline-offset: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)); | |
| 6184 | 6525 | } |
| 6185 | 6526 | .editor-document-tools .editor-document-tools__left > .components-button.has-icon::before, |
| 6186 | 6527 | .editor-document-tools .editor-document-tools__left > .components-dropdown > .components-button.has-icon::before { |
| 6187 | 6528 | display: none; |
| @@ -6212,12 +6553,18 @@ | ||
| 6212 | 6553 | .editor-editor-interface .interface-interface-skeleton__content { |
| 6213 | 6554 | isolation: isolate; |
| 6214 | 6555 | } |
| 6215 | 6556 | |
| 6216 | -.editor-editor-interface .editor-notices { | |
| 6217 | - padding: var(--wpds-dimension-padding-md, 12px); | |
| 6557 | +.editor-notices.notices-inline-notices-wrapper, | |
| 6558 | +.editor-notices .components-notice-list { | |
| 6559 | + gap: 0; | |
| 6218 | 6560 | } |
| 6219 | 6561 | |
| 6562 | +.editor-notices .components-notice { | |
| 6563 | + border-top-width: 0; | |
| 6564 | + border-inline-width: 0; | |
| 6565 | +} | |
| 6566 | + | |
| 6220 | 6567 | .editor-visual-editor { |
| 6221 | 6568 | flex: 1 0 auto; |
| 6222 | 6569 | } |
| 6223 | 6570 | |
| @@ -6228,79 +6575,29 @@ | ||
| 6228 | 6575 | top: 0; |
| 6229 | 6576 | right: 0; |
| 6230 | 6577 | } |
| 6231 | 6578 | |
| 6232 | -.entities-saved-states__panel-header { | |
| 6233 | - box-sizing: border-box; | |
| 6234 | - background: #fff; | |
| 6235 | - padding-left: 16px; | |
| 6236 | - padding-right: 16px; | |
| 6237 | - height: 64px; | |
| 6238 | - border-bottom: 1px solid #ddd; | |
| 6579 | +.editor-error-boundary { | |
| 6580 | + font-family: var(--wpds-typography-font-family-body, -apple-system, system-ui, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif); | |
| 6581 | + margin: auto; | |
| 6582 | + width: 100%; | |
| 6583 | + max-width: var(--wpds-dimension-surface-width-lg, 560px); | |
| 6584 | + padding: var(--wpds-dimension-padding-xl, 20px); | |
| 6585 | + margin-top: 64px; | |
| 6239 | 6586 | } |
| 6240 | 6587 | |
| 6241 | -.entities-saved-states__text-prompt { | |
| 6242 | - padding: 16px; | |
| 6243 | - padding-bottom: 4px; | |
| 6588 | +.editor-error-boundary__report { | |
| 6589 | + max-height: 420px; | |
| 6590 | + overflow: auto; | |
| 6591 | + overflow-anchor: none; | |
| 6244 | 6592 | } |
| 6245 | -.entities-saved-states__text-prompt .entities-saved-states__text-prompt--header { | |
| 6246 | - display: block; | |
| 6247 | - margin-bottom: 12px; | |
| 6248 | -} | |
| 6249 | 6593 | |
| 6250 | -.entities-saved-states__panel.is-inline .entities-saved-states__text-prompt { | |
| 6251 | - padding: 0; | |
| 6594 | +.editor-error-boundary__report-section { | |
| 6595 | + margin: 0; | |
| 6596 | + white-space: pre-wrap; | |
| 6597 | + overflow-wrap: break-word; | |
| 6252 | 6598 | } |
| 6253 | -.entities-saved-states__panel.is-inline .entities-saved-states__panel-body { | |
| 6254 | - padding-left: 0; | |
| 6255 | - padding-right: 0; | |
| 6256 | - border: 0; | |
| 6257 | -} | |
| 6258 | -.entities-saved-states__panel.is-inline .entities-saved-states__panel-body > h2 { | |
| 6259 | - margin-left: -16px; | |
| 6260 | - margin-right: -16px; | |
| 6261 | - margin-bottom: 0; | |
| 6262 | -} | |
| 6263 | -.entities-saved-states__panel.is-inline .entities-saved-states__panel-body > h2 button { | |
| 6264 | - font-size: 11px; | |
| 6265 | - text-transform: uppercase; | |
| 6266 | -} | |
| 6267 | -.entities-saved-states__panel.is-inline .entities-saved-states__text-prompt--header-wrapper { | |
| 6268 | - display: none; | |
| 6269 | -} | |
| 6270 | -.entities-saved-states__panel.is-inline .entities-saved-states__text-prompt--changes-count { | |
| 6271 | - margin-top: 0; | |
| 6272 | - margin-bottom: 8px; | |
| 6273 | -} | |
| 6274 | -.entities-saved-states__panel.is-inline .entities-saved-states__panel-footer { | |
| 6275 | - margin-top: 16px; | |
| 6276 | -} | |
| 6277 | 6599 | |
| 6278 | -.entities-saved-states__change-control { | |
| 6279 | - flex: 1; | |
| 6280 | -} | |
| 6281 | - | |
| 6282 | -.entities-saved-states__changes { | |
| 6283 | - font-size: 13px; | |
| 6284 | - margin: 4px 16px 0 24px; | |
| 6285 | - list-style: disc; | |
| 6286 | -} | |
| 6287 | -.entities-saved-states__changes li { | |
| 6288 | - margin-bottom: 4px; | |
| 6289 | -} | |
| 6290 | - | |
| 6291 | -.editor-error-boundary { | |
| 6292 | - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; | |
| 6293 | - margin: auto; | |
| 6294 | - max-width: 780px; | |
| 6295 | - padding: 1em; | |
| 6296 | - margin-top: 64px; | |
| 6297 | - 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); | |
| 6298 | - border: 1px solid #1e1e1e; | |
| 6299 | - border-radius: 2px; | |
| 6300 | - background-color: #fff; | |
| 6301 | -} | |
| 6302 | - | |
| 6303 | 6600 | .editor-global-styles-header__description { |
| 6304 | 6601 | padding: 0 16px; |
| 6305 | 6602 | } |
| 6306 | 6603 | |
| @@ -6316,8 +6613,27 @@ | ||
| 6316 | 6613 | .editor-global-styles-sidebar__panel { |
| 6317 | 6614 | flex: 1; |
| 6318 | 6615 | } |
| 6319 | 6616 | |
| 6617 | +.editor-global-styles-sidebar .editor-global-styles-sidebar__header { | |
| 6618 | + flex-grow: 1; | |
| 6619 | +} | |
| 6620 | + | |
| 6621 | +.editor-global-styles-sidebar:has(.global-styles-ui-screen-revisions) { | |
| 6622 | + overflow: hidden; | |
| 6623 | +} | |
| 6624 | + | |
| 6625 | +.editor-global-styles-sidebar__panel:has(.global-styles-ui-screen-revisions) { | |
| 6626 | + display: flex; | |
| 6627 | + flex-direction: column; | |
| 6628 | + min-height: 0; | |
| 6629 | +} | |
| 6630 | + | |
| 6631 | +.editor-global-styles-sidebar .global-styles-ui-sidebar__navigator-provider:has(.global-styles-ui-screen-revisions) { | |
| 6632 | + flex: 1; | |
| 6633 | + min-height: 0; | |
| 6634 | +} | |
| 6635 | + | |
| 6320 | 6636 | .editor-global-styles-sidebar .editor-global-styles-sidebar__header-title { |
| 6321 | 6637 | margin: 0; |
| 6322 | 6638 | } |
| 6323 | 6639 | |
| @@ -6380,9 +6696,9 @@ | ||
| 6380 | 6696 | max-width: 100%; |
| 6381 | 6697 | object-fit: cover; |
| 6382 | 6698 | } |
| 6383 | 6699 | .editor-welcome-guide__heading { |
| 6384 | - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; | |
| 6700 | + font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; | |
| 6385 | 6701 | font-size: 24px; |
| 6386 | 6702 | line-height: 1.4; |
| 6387 | 6703 | margin: 16px 0 16px 0; |
| 6388 | 6704 | padding: 0 32px; |
| @@ -6396,9 +6712,9 @@ | ||
| 6396 | 6712 | .editor-welcome-guide__text img { |
| 6397 | 6713 | vertical-align: bottom; |
| 6398 | 6714 | } |
| 6399 | 6715 | .editor-welcome-guide .components-button:hover svg { |
| 6400 | - fill: #fff; | |
| 6716 | + color: #fff; | |
| 6401 | 6717 | } |
| 6402 | 6718 | |
| 6403 | 6719 | .editor-header { |
| 6404 | 6720 | box-sizing: border-box; |
| @@ -6412,16 +6728,16 @@ | ||
| 6412 | 6728 | height: 64px; |
| 6413 | 6729 | background: #fff; |
| 6414 | 6730 | display: grid; |
| 6415 | 6731 | grid-auto-flow: row; |
| 6416 | - grid-template: auto/64px minmax(0, max-content) minmax(min-content, 1fr) 64px; | |
| 6732 | + grid-template: auto/auto minmax(0, max-content) minmax(min-content, 1fr) 64px; | |
| 6417 | 6733 | } |
| 6418 | 6734 | .editor-header:has(> .editor-header__center) { |
| 6419 | - grid-template: auto/64px min-content 1fr min-content 64px; | |
| 6735 | + grid-template: auto/auto min-content 1fr min-content 64px; | |
| 6420 | 6736 | } |
| 6421 | 6737 | @media (min-width: 782px) { |
| 6422 | 6738 | .editor-header:has(> .editor-header__center) { |
| 6423 | - grid-template: auto/64px minmax(min-content, 2fr) 2.5fr minmax(min-content, 2fr) 64px; | |
| 6739 | + grid-template: auto/auto minmax(min-content, 2fr) 2.5fr minmax(min-content, 2fr) 64px; | |
| 6424 | 6740 | } |
| 6425 | 6741 | } |
| 6426 | 6742 | @media (min-width: 480px) { |
| 6427 | 6743 | .editor-header { |
| @@ -6438,8 +6754,15 @@ | ||
| 6438 | 6754 | flex-wrap: nowrap; |
| 6439 | 6755 | } |
| 6440 | 6756 | } |
| 6441 | 6757 | |
| 6758 | +.editor-header__back-button { | |
| 6759 | + margin: 0 -8px 0 8px; | |
| 6760 | +} | |
| 6761 | +.show-icon-labels .editor-header__back-button { | |
| 6762 | + margin-right: 0; | |
| 6763 | +} | |
| 6764 | + | |
| 6442 | 6765 | .editor-header__toolbar { |
| 6443 | 6766 | grid-column: 1/3; |
| 6444 | 6767 | } |
| 6445 | 6768 | .editor-header__toolbar > :first-child { |
| @@ -6484,9 +6807,8 @@ | ||
| 6484 | 6807 | display: flex; |
| 6485 | 6808 | justify-content: center; |
| 6486 | 6809 | align-items: center; |
| 6487 | 6810 | min-width: 0; |
| 6488 | - clip-path: inset(-2px); | |
| 6489 | 6811 | } |
| 6490 | 6812 | @media (max-width: 479px) { |
| 6491 | 6813 | .editor-header__center > :first-child { |
| 6492 | 6814 | margin-inline-start: 8px; |
| @@ -6494,11 +6816,8 @@ | ||
| 6494 | 6816 | .editor-header__center > :last-child { |
| 6495 | 6817 | margin-inline-end: 8px; |
| 6496 | 6818 | } |
| 6497 | 6819 | } |
| 6498 | -.editor-revisions-header .editor-header__center { | |
| 6499 | - clip-path: none; | |
| 6500 | -} | |
| 6501 | 6820 | |
| 6502 | 6821 | /** |
| 6503 | 6822 | * Buttons on the right side |
| 6504 | 6823 | */ |
| @@ -6648,9 +6967,9 @@ | ||
| 6648 | 6967 | } |
| 6649 | 6968 | .editor-editor-interface.is-distraction-free .editor-header > .edit-post-header__settings > .edit-post-header__post-preview-button { |
| 6650 | 6969 | visibility: hidden; |
| 6651 | 6970 | } |
| 6652 | -.editor-editor-interface.is-distraction-free .editor-header > .editor-header__toolbar .editor-document-tools__document-overview-toggle, .editor-editor-interface.is-distraction-free .editor-header > .editor-header__settings > .editor-preview-dropdown, .editor-editor-interface.is-distraction-free .editor-header > .editor-header__settings > .interface-pinned-items, .editor-editor-interface.is-distraction-free .editor-header > .editor-header__settings > .editor-zoom-out-toggle { | |
| 6971 | +.editor-editor-interface.is-distraction-free .editor-header > .editor-header__toolbar .editor-document-tools__document-overview-toggle, .editor-editor-interface.is-distraction-free .editor-header > .editor-header__settings > .editor-preview-dropdown__toggle, .editor-editor-interface.is-distraction-free .editor-header > .editor-header__settings > .interface-pinned-items, .editor-editor-interface.is-distraction-free .editor-header > .editor-header__settings > .editor-zoom-out-toggle { | |
| 6653 | 6972 | display: none; |
| 6654 | 6973 | } |
| 6655 | 6974 | .editor-editor-interface.is-distraction-free .interface-interface-skeleton__header:focus-within { |
| 6656 | 6975 | opacity: 1 !important; |
| @@ -6657,15 +6976,15 @@ | ||
| 6657 | 6976 | } |
| 6658 | 6977 | .editor-editor-interface.is-distraction-free .interface-interface-skeleton__header:focus-within div { |
| 6659 | 6978 | transform: translateX(0) translateZ(0) !important; |
| 6660 | 6979 | } |
| 6661 | -.editor-editor-interface.is-distraction-free .components-editor-notices__dismissible { | |
| 6980 | +.editor-editor-interface.is-distraction-free .editor-notices__dismissible { | |
| 6662 | 6981 | position: absolute; |
| 6663 | 6982 | z-index: 35; |
| 6664 | 6983 | } |
| 6665 | - | |
| 6666 | -.components-popover.more-menu-dropdown__content { | |
| 6667 | - z-index: 99998; | |
| 6984 | +.editor-editor-interface.is-distraction-free .interface-interface-skeleton__header:hover, | |
| 6985 | +.editor-editor-interface.is-distraction-free .interface-interface-skeleton__header:focus-within { | |
| 6986 | + z-index: 36; | |
| 6668 | 6987 | } |
| 6669 | 6988 | |
| 6670 | 6989 | .editor-inserter-sidebar { |
| 6671 | 6990 | box-sizing: border-box; |
| @@ -6689,9 +7008,9 @@ | ||
| 6689 | 7008 | margin: 0 0 2rem 0; |
| 6690 | 7009 | } |
| 6691 | 7010 | .editor-keyboard-shortcut-help-modal__section-title { |
| 6692 | 7011 | font-size: 0.9rem; |
| 6693 | - font-weight: 600; | |
| 7012 | + font-weight: var(--wpds-typography-font-weight-emphasis, 600); | |
| 6694 | 7013 | } |
| 6695 | 7014 | .editor-keyboard-shortcut-help-modal__shortcut { |
| 6696 | 7015 | display: flex; |
| 6697 | 7016 | align-items: baseline; |
| @@ -6705,9 +7024,9 @@ | ||
| 6705 | 7024 | .editor-keyboard-shortcut-help-modal__shortcut:empty { |
| 6706 | 7025 | display: none; |
| 6707 | 7026 | } |
| 6708 | 7027 | .editor-keyboard-shortcut-help-modal__shortcut-term { |
| 6709 | - font-weight: 600; | |
| 7028 | + font-weight: var(--wpds-typography-font-weight-emphasis, 600); | |
| 6710 | 7029 | margin: 0 0 0 1rem; |
| 6711 | 7030 | text-align: right; |
| 6712 | 7031 | } |
| 6713 | 7032 | .editor-keyboard-shortcut-help-modal__shortcut-description { |
| @@ -6795,9 +7114,9 @@ | ||
| 6795 | 7114 | scrollbar-gutter: auto; |
| 6796 | 7115 | } |
| 6797 | 7116 | |
| 6798 | 7117 | .editor-list-view-sidebar__list-view-panel-content { |
| 6799 | - padding: 4px; | |
| 7118 | + padding: 8px; | |
| 6800 | 7119 | } |
| 6801 | 7120 | |
| 6802 | 7121 | .editor-list-view-sidebar__list-view-container { |
| 6803 | 7122 | display: flex; |
| @@ -6828,8 +7147,13 @@ | ||
| 6828 | 7147 | line-height: 1.4; |
| 6829 | 7148 | color: #757575; |
| 6830 | 7149 | } |
| 6831 | 7150 | |
| 7151 | +.editor-more-menu__popup { | |
| 7152 | + max-height: var(--available-height); | |
| 7153 | + max-width: var(--wpds-dimension-surface-width-sm, 320px); | |
| 7154 | +} | |
| 7155 | + | |
| 6832 | 7156 | .editor-post-parent__panel, |
| 6833 | 7157 | .editor-post-order__panel { |
| 6834 | 7158 | padding-top: 8px; |
| 6835 | 7159 | } |
| @@ -6872,10 +7196,10 @@ | ||
| 6872 | 7196 | .editor-post-card-panel__title { |
| 6873 | 7197 | width: 100%; |
| 6874 | 7198 | } |
| 6875 | 7199 | .editor-post-card-panel__title.editor-post-card-panel__title { |
| 6876 | - font-family: -apple-system, "system-ui", "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; | |
| 6877 | - font-weight: 499; | |
| 7200 | + font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; | |
| 7201 | + font-weight: var(--wpds-typography-font-weight-emphasis, 600); | |
| 6878 | 7202 | font-size: 13px; |
| 6879 | 7203 | line-height: 20px; |
| 6880 | 7204 | margin: 0; |
| 6881 | 7205 | display: flex; |
| @@ -6882,9 +7206,10 @@ | ||
| 6882 | 7206 | align-items: center; |
| 6883 | 7207 | flex-wrap: wrap; |
| 6884 | 7208 | column-gap: 8px; |
| 6885 | 7209 | row-gap: 4px; |
| 6886 | - word-break: break-word; | |
| 7210 | + word-break: normal; | |
| 7211 | + overflow-wrap: anywhere; | |
| 6887 | 7212 | } |
| 6888 | 7213 | .editor-post-card-panel__icon { |
| 6889 | 7214 | flex: 0 0 24px; |
| 6890 | 7215 | width: 24px; |
| @@ -6973,9 +7298,9 @@ | ||
| 6973 | 7298 | .editor-post-featured-image__toggle, |
| 6974 | 7299 | .editor-post-featured-image__preview { |
| 6975 | 7300 | width: 100%; |
| 6976 | 7301 | padding: 0; |
| 6977 | - box-shadow: 0 0 0 0 var(--wp-admin-theme-color); | |
| 7302 | + border-color: #ccc; | |
| 6978 | 7303 | overflow: hidden; |
| 6979 | 7304 | outline-offset: -1px; |
| 6980 | 7305 | min-height: 40px; |
| 6981 | 7306 | display: flex; |
| @@ -6997,15 +7322,8 @@ | ||
| 6997 | 7322 | object-position: 50% 50%; |
| 6998 | 7323 | aspect-ratio: 2/1; |
| 6999 | 7324 | } |
| 7000 | 7325 | |
| 7001 | -.editor-post-featured-image__toggle { | |
| 7002 | - box-shadow: inset 0 0 0 1px #ccc; | |
| 7003 | -} | |
| 7004 | -.editor-post-featured-image__toggle:focus:not(:disabled) { | |
| 7005 | - box-shadow: 0 0 0 currentColor inset, 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color); | |
| 7006 | -} | |
| 7007 | - | |
| 7008 | 7326 | .editor-post-featured-image__actions:not(.editor-post-featured-image__actions-missing-image) { |
| 7009 | 7327 | bottom: 0; |
| 7010 | 7328 | opacity: 0; |
| 7011 | 7329 | padding: 8px; |
| @@ -7042,9 +7360,9 @@ | ||
| 7042 | 7360 | } |
| 7043 | 7361 | |
| 7044 | 7362 | .editor-post-last-revision__title { |
| 7045 | 7363 | width: 100%; |
| 7046 | - font-weight: 499; | |
| 7364 | + font-weight: var(--wpds-typography-font-weight-emphasis, 600); | |
| 7047 | 7365 | } |
| 7048 | 7366 | |
| 7049 | 7367 | .editor-post-last-revision__title.components-button.has-icon { |
| 7050 | 7368 | height: 100%; |
| @@ -7053,9 +7371,9 @@ | ||
| 7053 | 7371 | .editor-post-last-revision__title.components-button.has-icon:hover, .editor-post-last-revision__title.components-button.has-icon:active { |
| 7054 | 7372 | background: #f0f0f0; |
| 7055 | 7373 | } |
| 7056 | 7374 | .editor-post-last-revision__title.components-button.has-icon:focus { |
| 7057 | - box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color); | |
| 7375 | + outline-offset: calc(-1 * var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px))); | |
| 7058 | 7376 | border-radius: 0; |
| 7059 | 7377 | } |
| 7060 | 7378 | |
| 7061 | 7379 | .components-panel__body.is-opened.editor-post-last-revision__panel { |
| @@ -7091,9 +7409,10 @@ | ||
| 7091 | 7409 | align-items: center; |
| 7092 | 7410 | padding: 6px 0; |
| 7093 | 7411 | line-height: 20px; |
| 7094 | 7412 | hyphens: auto; |
| 7095 | - word-break: break-word; | |
| 7413 | + word-break: normal; | |
| 7414 | + overflow-wrap: anywhere; | |
| 7096 | 7415 | } |
| 7097 | 7416 | |
| 7098 | 7417 | .editor-post-panel__row-control { |
| 7099 | 7418 | flex-grow: 1; |
| @@ -7108,9 +7427,9 @@ | ||
| 7108 | 7427 | text-wrap: balance; |
| 7109 | 7428 | text-wrap: pretty; |
| 7110 | 7429 | height: auto; |
| 7111 | 7430 | min-height: 32px; |
| 7112 | - font-weight: 400; | |
| 7431 | + font-weight: var(--wpds-typography-font-weight-default, 400); | |
| 7113 | 7432 | } |
| 7114 | 7433 | .editor-post-panel__row-control .components-dropdown { |
| 7115 | 7434 | max-width: 100%; |
| 7116 | 7435 | } |
| @@ -7169,9 +7488,10 @@ | ||
| 7169 | 7488 | .components-site-home { |
| 7170 | 7489 | display: block; |
| 7171 | 7490 | color: #757575; |
| 7172 | 7491 | font-size: 12px; |
| 7173 | - word-break: break-word; | |
| 7492 | + word-break: normal; | |
| 7493 | + overflow-wrap: anywhere; | |
| 7174 | 7494 | } |
| 7175 | 7495 | |
| 7176 | 7496 | .editor-post-publish-panel__header-publish-button, |
| 7177 | 7497 | .editor-post-publish-panel__header-cancel-button { |
| @@ -7192,12 +7512,8 @@ | ||
| 7192 | 7512 | .editor-post-publish-panel__header-cancel-button { |
| 7193 | 7513 | padding-right: 4px; |
| 7194 | 7514 | } |
| 7195 | 7515 | |
| 7196 | -.editor-post-publish-panel__header-published { | |
| 7197 | - flex-grow: 1; | |
| 7198 | -} | |
| 7199 | - | |
| 7200 | 7516 | .editor-post-publish-panel__footer { |
| 7201 | 7517 | padding: 16px; |
| 7202 | 7518 | } |
| 7203 | 7519 | |
| @@ -7227,11 +7543,8 @@ | ||
| 7227 | 7543 | background: #fff; |
| 7228 | 7544 | margin-left: -16px; |
| 7229 | 7545 | margin-right: -16px; |
| 7230 | 7546 | } |
| 7231 | -.editor-post-publish-panel__prepublish .editor-post-visibility__dialog-legend { | |
| 7232 | - display: none; | |
| 7233 | -} | |
| 7234 | 7547 | .editor-post-publish-panel__prepublish .components-panel__body-title .components-button { |
| 7235 | 7548 | align-items: flex-start; |
| 7236 | 7549 | text-wrap: balance; |
| 7237 | 7550 | text-wrap: pretty; |
| @@ -7239,9 +7552,10 @@ | ||
| 7239 | 7552 | |
| 7240 | 7553 | .post-publish-panel__postpublish .components-panel__body { |
| 7241 | 7554 | border-bottom: 1px solid #e0e0e0; |
| 7242 | 7555 | border-top: none; |
| 7243 | - word-break: break-word; | |
| 7556 | + word-break: normal; | |
| 7557 | + overflow-wrap: anywhere; | |
| 7244 | 7558 | } |
| 7245 | 7559 | |
| 7246 | 7560 | .post-publish-panel__postpublish-buttons { |
| 7247 | 7561 | display: flex; |
| @@ -7281,9 +7595,9 @@ | ||
| 7281 | 7595 | margin-left: 16px; |
| 7282 | 7596 | } |
| 7283 | 7597 | |
| 7284 | 7598 | .post-publish-panel__postpublish-header { |
| 7285 | - font-weight: 499; | |
| 7599 | + font-weight: var(--wpds-typography-font-weight-emphasis, 600); | |
| 7286 | 7600 | } |
| 7287 | 7601 | |
| 7288 | 7602 | .post-publish-panel__postpublish-subheader { |
| 7289 | 7603 | margin: 0 0 8px; |
| @@ -7288,17 +7602,8 @@ | ||
| 7288 | 7602 | .post-publish-panel__postpublish-subheader { |
| 7289 | 7603 | margin: 0 0 8px; |
| 7290 | 7604 | } |
| 7291 | 7605 | |
| 7292 | -.post-publish-panel__tip { | |
| 7293 | - color: #f0b849; | |
| 7294 | -} | |
| 7295 | - | |
| 7296 | -@media screen and (max-width: 782px) { | |
| 7297 | - .post-publish-panel__postpublish-post-address__button-wrap .components-button { | |
| 7298 | - height: 40px; | |
| 7299 | - } | |
| 7300 | -} | |
| 7301 | 7606 | .editor-post-publish-panel { |
| 7302 | 7607 | box-sizing: border-box; |
| 7303 | 7608 | } |
| 7304 | 7609 | .editor-post-publish-panel *, |
| @@ -7332,9 +7637,9 @@ | ||
| 7332 | 7637 | } |
| 7333 | 7638 | } |
| 7334 | 7639 | @media (min-width: 782px) { |
| 7335 | 7640 | body.is-fullscreen-mode .editor-post-publish-panel { |
| 7336 | - top: 0; | |
| 7641 | + top: var(--wp-admin--admin-bar--height, 0); | |
| 7337 | 7642 | } |
| 7338 | 7643 | [role=region]:focus .editor-post-publish-panel { |
| 7339 | 7644 | transform: translateX(0%); |
| 7340 | 7645 | } |
| @@ -7344,22 +7649,8 @@ | ||
| 7344 | 7649 | 100% { |
| 7345 | 7650 | transform: translateX(0%); |
| 7346 | 7651 | } |
| 7347 | 7652 | } |
| 7348 | -.editor-post-revisions-panel .editor-post-revisions-panel__view-all { | |
| 7349 | - justify-content: center; | |
| 7350 | -} | |
| 7351 | -.editor-post-revisions-panel .editor-post-revisions-panel__revision-date { | |
| 7352 | - text-transform: uppercase; | |
| 7353 | - font-weight: 600; | |
| 7354 | - font-size: 12px; | |
| 7355 | -} | |
| 7356 | - | |
| 7357 | -.editor-post-revisions-panel__revisions-count { | |
| 7358 | - margin-top: -4.5px; | |
| 7359 | - margin-bottom: -4.5px; | |
| 7360 | -} | |
| 7361 | - | |
| 7362 | 7653 | .editor-revisions-header__slider { |
| 7363 | 7654 | width: 100%; |
| 7364 | 7655 | } |
| 7365 | 7656 | .editor-revisions-header__slider .components-range-control__tooltip { |
| @@ -7386,8 +7677,104 @@ | ||
| 7386 | 7677 | flex: 1; |
| 7387 | 7678 | min-width: 0; |
| 7388 | 7679 | } |
| 7389 | 7680 | |
| 7681 | +.editor-revisions-code-diff { | |
| 7682 | + height: 100%; | |
| 7683 | + overflow: auto; | |
| 7684 | + background: #fff; | |
| 7685 | + color: #1e1e1e; | |
| 7686 | +} | |
| 7687 | +.editor-revisions-code-diff:focus-visible { | |
| 7688 | + box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color); | |
| 7689 | + outline: none; | |
| 7690 | +} | |
| 7691 | + | |
| 7692 | +.editor-revisions-code-diff__table { | |
| 7693 | + width: 100%; | |
| 7694 | + min-width: max-content; | |
| 7695 | + border: 0; | |
| 7696 | + border-collapse: separate; | |
| 7697 | + border-spacing: 0; | |
| 7698 | + font-family: Menlo, Consolas, monaco, monospace; | |
| 7699 | + font-size: 15px; | |
| 7700 | + line-height: 1.6; | |
| 7701 | +} | |
| 7702 | + | |
| 7703 | +.editor-revisions-code-diff__line.is-added { | |
| 7704 | + background: rgba(0, 163, 42, 0.12); | |
| 7705 | +} | |
| 7706 | +.editor-revisions-code-diff__line.is-added > .editor-revisions-code-diff__line-number, | |
| 7707 | +.editor-revisions-code-diff__line.is-added > .editor-revisions-code-diff__marker { | |
| 7708 | + background: color-mix(in srgb, #00a32a 12%, #fff); | |
| 7709 | +} | |
| 7710 | +.editor-revisions-code-diff__line.is-removed { | |
| 7711 | + background: rgba(214, 54, 56, 0.12); | |
| 7712 | +} | |
| 7713 | +.editor-revisions-code-diff__line.is-removed > .editor-revisions-code-diff__line-number, | |
| 7714 | +.editor-revisions-code-diff__line.is-removed > .editor-revisions-code-diff__marker { | |
| 7715 | + background: color-mix(in srgb, #d63638 12%, #fff); | |
| 7716 | +} | |
| 7717 | + | |
| 7718 | +.editor-revisions-code-diff__line-number, | |
| 7719 | +.editor-revisions-code-diff__marker { | |
| 7720 | + position: sticky; | |
| 7721 | + z-index: 1; | |
| 7722 | + box-sizing: border-box; | |
| 7723 | + padding: 0 8px; | |
| 7724 | + background: #fff; | |
| 7725 | + color: #757575; | |
| 7726 | + text-align: right; | |
| 7727 | + white-space: nowrap; | |
| 7728 | + -webkit-user-select: none; | |
| 7729 | + user-select: none; | |
| 7730 | +} | |
| 7731 | + | |
| 7732 | +.editor-revisions-code-diff__line-number { | |
| 7733 | + left: 0; | |
| 7734 | + width: 6ch; | |
| 7735 | + min-width: 6ch; | |
| 7736 | + max-width: 6ch; | |
| 7737 | + border-right: 1px solid #e0e0e0; | |
| 7738 | + background: #f0f0f0; | |
| 7739 | +} | |
| 7740 | +.editor-revisions-code-diff__line-number.is-previous + .editor-revisions-code-diff__line-number.is-current { | |
| 7741 | + left: 6ch; | |
| 7742 | +} | |
| 7743 | + | |
| 7744 | +.editor-revisions-code-diff__marker { | |
| 7745 | + left: 12ch; | |
| 7746 | + width: 3ch; | |
| 7747 | + min-width: 3ch; | |
| 7748 | + max-width: 3ch; | |
| 7749 | + border-right: 1px solid #e0e0e0; | |
| 7750 | + padding: 0; | |
| 7751 | + font-weight: 600; | |
| 7752 | + text-align: center; | |
| 7753 | +} | |
| 7754 | + | |
| 7755 | +.editor-revisions-code-diff__code { | |
| 7756 | + width: 100%; | |
| 7757 | + padding: 0 16px 0 8px; | |
| 7758 | + /*rtl:ignore*/ | |
| 7759 | + direction: ltr; | |
| 7760 | + unicode-bidi: isolate; | |
| 7761 | + white-space: pre; | |
| 7762 | +} | |
| 7763 | +.editor-revisions-code-diff__code code { | |
| 7764 | + margin: 0; | |
| 7765 | + padding: 0; | |
| 7766 | + background: none; | |
| 7767 | + color: inherit; | |
| 7768 | + font: inherit; | |
| 7769 | +} | |
| 7770 | + | |
| 7771 | +.editor-revisions-code-diff__empty { | |
| 7772 | + margin: 0; | |
| 7773 | + padding: 24px; | |
| 7774 | + color: #757575; | |
| 7775 | +} | |
| 7776 | + | |
| 7390 | 7777 | .revision-diff-markers { |
| 7391 | 7778 | position: relative; |
| 7392 | 7779 | flex-shrink: 0; |
| 7393 | 7780 | width: max(16px, 1rem); |
| @@ -7418,10 +7805,45 @@ | ||
| 7418 | 7805 | outline: 2px solid #1e1e1e; |
| 7419 | 7806 | outline-offset: -2px; |
| 7420 | 7807 | } |
| 7421 | 7808 | |
| 7809 | +.interface-complementary-area:has(.editor-post-revisions-timeline) { | |
| 7810 | + display: flex; | |
| 7811 | + flex-direction: column; | |
| 7812 | + overflow: hidden; | |
| 7813 | +} | |
| 7814 | + | |
| 7815 | +.interface-complementary-area > .editor-sidebar__panel-tabs { | |
| 7816 | + flex-shrink: 0; | |
| 7817 | +} | |
| 7818 | + | |
| 7819 | +.editor-sidebar__panel:has(.editor-post-revisions-timeline) { | |
| 7820 | + display: flex; | |
| 7821 | + flex-direction: column; | |
| 7822 | + flex: 1; | |
| 7823 | + min-height: 0; | |
| 7824 | +} | |
| 7825 | + | |
| 7826 | +.editor-sidebar__panel [role=tabpanel]:has(.editor-post-revisions-timeline) { | |
| 7827 | + display: flex; | |
| 7828 | + flex-direction: column; | |
| 7829 | + flex: 1; | |
| 7830 | + min-height: 0; | |
| 7831 | +} | |
| 7832 | + | |
| 7833 | +.editor-sidebar__panel .editor-revision-meta-diff__content { | |
| 7834 | + max-height: 80px; | |
| 7835 | + overflow-y: auto; | |
| 7836 | +} | |
| 7837 | + | |
| 7838 | +.editor-sidebar__panel .editor-post-revisions-timeline { | |
| 7839 | + flex: 1; | |
| 7840 | + min-height: 0; | |
| 7841 | +} | |
| 7842 | + | |
| 7422 | 7843 | .editor-revision-fields-diff__value { |
| 7423 | - word-break: break-word; | |
| 7844 | + word-break: normal; | |
| 7845 | + overflow-wrap: anywhere; | |
| 7424 | 7846 | } |
| 7425 | 7847 | |
| 7426 | 7848 | .editor-revision-fields-diff__added { |
| 7427 | 7849 | background-color: color-mix(in srgb, currentColor 5%, #00a32a 15%); |
| @@ -7475,8 +7897,14 @@ | ||
| 7475 | 7897 | min-width: 320px; |
| 7476 | 7898 | padding: 16px; |
| 7477 | 7899 | } |
| 7478 | 7900 | |
| 7901 | +.editor-post-schedule__reset { | |
| 7902 | + justify-content: center; | |
| 7903 | + margin-top: 16px; | |
| 7904 | + width: 100%; | |
| 7905 | +} | |
| 7906 | + | |
| 7479 | 7907 | .editor-post-status { |
| 7480 | 7908 | max-width: 100%; |
| 7481 | 7909 | } |
| 7482 | 7910 | .editor-post-status.is-read-only { |
| @@ -7529,8 +7957,13 @@ | ||
| 7529 | 7957 | .editor-post-taxonomies__hierarchical-terms-choice:last-child { |
| 7530 | 7958 | margin-bottom: 4px; |
| 7531 | 7959 | } |
| 7532 | 7960 | |
| 7961 | +.editor-post-taxonomies__hierarchical-terms-add, | |
| 7962 | +.editor-post-taxonomies__hierarchical-terms-submit { | |
| 7963 | + align-self: flex-start; | |
| 7964 | +} | |
| 7965 | + | |
| 7533 | 7966 | .editor-post-taxonomies__hierarchical-terms-subchoices { |
| 7534 | 7967 | margin-top: 8px; |
| 7535 | 7968 | margin-left: 16px; |
| 7536 | 7969 | } |
| @@ -7648,9 +8081,10 @@ | ||
| 7648 | 8081 | margin: 0; |
| 7649 | 8082 | width: 100%; |
| 7650 | 8083 | box-shadow: none; |
| 7651 | 8084 | resize: none; |
| 7652 | - overflow: hidden; | |
| 8085 | + field-sizing: content; | |
| 8086 | + overflow: auto; | |
| 7653 | 8087 | font-family: Menlo, Consolas, monaco, monospace; |
| 7654 | 8088 | line-height: 2.4; |
| 7655 | 8089 | min-height: 200px; |
| 7656 | 8090 | } |
| @@ -7703,9 +8137,10 @@ | ||
| 7703 | 8137 | /* rtl:begin:ignore */ |
| 7704 | 8138 | .editor-post-url__link, |
| 7705 | 8139 | .editor-post-url__front-page-link { |
| 7706 | 8140 | direction: ltr; |
| 7707 | - word-break: break-word; | |
| 8141 | + word-break: normal; | |
| 8142 | + overflow-wrap: anywhere; | |
| 7708 | 8143 | } |
| 7709 | 8144 | |
| 7710 | 8145 | /* rtl:end:ignore */ |
| 7711 | 8146 | .editor-post-url__front-page-link { |
| @@ -7723,9 +8158,9 @@ | ||
| 7723 | 8158 | outline: 3px solid rgba(0, 0, 0, 0); |
| 7724 | 8159 | } |
| 7725 | 8160 | |
| 7726 | 8161 | .editor-post-url__link-slug { |
| 7727 | - font-weight: 600; | |
| 8162 | + font-weight: var(--wpds-typography-font-weight-emphasis, 600); | |
| 7728 | 8163 | } |
| 7729 | 8164 | |
| 7730 | 8165 | .editor-post-url__input input.components-input-control__input { |
| 7731 | 8166 | padding-inline-start: 0 !important; |
| @@ -7732,9 +8167,10 @@ | ||
| 7732 | 8167 | } |
| 7733 | 8168 | |
| 7734 | 8169 | .editor-post-url__panel-toggle, |
| 7735 | 8170 | .editor-post-parent__panel-toggle { |
| 7736 | - word-break: break-word; | |
| 8171 | + word-break: normal; | |
| 8172 | + overflow-wrap: anywhere; | |
| 7737 | 8173 | } |
| 7738 | 8174 | |
| 7739 | 8175 | .editor-post-url__intro { |
| 7740 | 8176 | margin: 0; |
| @@ -7757,19 +8193,27 @@ | ||
| 7757 | 8193 | flex-grow: 1; |
| 7758 | 8194 | justify-content: center; |
| 7759 | 8195 | } |
| 7760 | 8196 | |
| 7761 | -.editor-preview-dropdown .editor-preview-dropdown__toggle.has-icon.has-text { | |
| 8197 | +.editor-preview-dropdown__popup { | |
| 8198 | + max-width: var(--wpds-dimension-surface-width-xs, 240px); | |
| 8199 | +} | |
| 8200 | + | |
| 8201 | +.editor-preview-dropdown__toggle.has-icon.has-text { | |
| 7762 | 8202 | padding-right: 4px; |
| 7763 | 8203 | padding-left: 6px; |
| 7764 | 8204 | } |
| 7765 | 8205 | |
| 7766 | -.editor-preview-dropdown__button-external { | |
| 7767 | - width: 100%; | |
| 7768 | - display: flex; | |
| 7769 | - justify-content: space-between; | |
| 8206 | +.editor-preview-dropdown__toggle.is-responsive-editing { | |
| 8207 | + color: var(--wp-block-synced-color); | |
| 7770 | 8208 | } |
| 7771 | 8209 | |
| 8210 | +@media (prefers-reduced-motion: no-preference) { | |
| 8211 | + .editor-resizable-editor:not(.is-resizing) { | |
| 8212 | + transition: width 0.2s ease-out; | |
| 8213 | + } | |
| 8214 | +} | |
| 8215 | + | |
| 7772 | 8216 | .editor-resizable-editor.is-resizable { |
| 7773 | 8217 | overflow: visible; |
| 7774 | 8218 | margin: 0 auto; |
| 7775 | 8219 | } |
| @@ -7812,8 +8256,22 @@ | ||
| 7812 | 8256 | .editor-resizable-editor__resize-handle:hover::after, .editor-resizable-editor__resize-handle:focus::after, .editor-resizable-editor__resize-handle:active::after { |
| 7813 | 8257 | background-color: var(--wp-admin-theme-color); |
| 7814 | 8258 | } |
| 7815 | 8259 | |
| 8260 | +.editor-save-error-details { | |
| 8261 | + display: inline; | |
| 8262 | +} | |
| 8263 | + | |
| 8264 | +.editor-save-error-details summary { | |
| 8265 | + display: inline; | |
| 8266 | + cursor: var(--wpds-cursor-control, pointer); | |
| 8267 | + margin-left: 0.35em; | |
| 8268 | +} | |
| 8269 | + | |
| 8270 | +.editor-save-error-details__message { | |
| 8271 | + white-space: break-spaces; | |
| 8272 | +} | |
| 8273 | + | |
| 7816 | 8274 | .editor-layout__toggle-publish-panel, |
| 7817 | 8275 | .editor-layout__toggle-sidebar-panel, |
| 7818 | 8276 | .editor-layout__toggle-entities-saved-states-panel { |
| 7819 | 8277 | z-index: 100000; |
| @@ -7844,12 +8302,12 @@ | ||
| 7844 | 8302 | bottom: 0; |
| 7845 | 8303 | width: 100%; |
| 7846 | 8304 | height: 72px; |
| 7847 | 8305 | background-color: #fff; |
| 7848 | - margin-left: -32px; | |
| 7849 | - margin-right: -32px; | |
| 7850 | - padding-left: 32px; | |
| 7851 | - padding-right: 32px; | |
| 8306 | + margin-left: -24px; | |
| 8307 | + margin-right: -24px; | |
| 8308 | + padding-left: 24px; | |
| 8309 | + padding-right: 24px; | |
| 7852 | 8310 | border-top: 1px solid #ddd; |
| 7853 | 8311 | z-index: 1; |
| 7854 | 8312 | } |
| 7855 | 8313 | .editor-start-page-options__modal .block-editor-block-patterns-list { |
| @@ -7854,23 +8312,49 @@ | ||
| 7854 | 8312 | } |
| 7855 | 8313 | .editor-start-page-options__modal .block-editor-block-patterns-list { |
| 7856 | 8314 | padding-bottom: 72px; |
| 7857 | 8315 | } |
| 8316 | +.editor-start-page-options__modal .editor-start-page-options__sidebar { | |
| 8317 | + display: none; | |
| 8318 | +} | |
| 8319 | +@media (min-width: 782px) { | |
| 8320 | + .editor-start-page-options__modal .editor-start-page-options__sidebar { | |
| 8321 | + display: flex; | |
| 8322 | + position: absolute; | |
| 8323 | + top: 72px; | |
| 8324 | + left: 0; | |
| 8325 | + bottom: 72px; | |
| 8326 | + width: 280px; | |
| 8327 | + padding: 24px; | |
| 8328 | + overflow-x: visible; | |
| 8329 | + overflow-y: auto; | |
| 8330 | + } | |
| 8331 | +} | |
| 7858 | 8332 | |
| 8333 | +.editor-start-page-options__modal-content { | |
| 8334 | + container-type: inline-size; | |
| 8335 | +} | |
| 8336 | + | |
| 8337 | +@media (min-width: 782px) { | |
| 8338 | + .editor-start-page-options__modal-content.has-pattern-categories { | |
| 8339 | + margin-left: 280px; | |
| 8340 | + } | |
| 8341 | +} | |
| 8342 | + | |
| 8343 | +.editor-start-page-options__no-results { | |
| 8344 | + padding: 32px; | |
| 8345 | + text-align: center; | |
| 8346 | +} | |
| 8347 | + | |
| 7859 | 8348 | .editor-start-page-options__modal-content .block-editor-block-patterns-list { |
| 7860 | 8349 | column-count: 2; |
| 7861 | 8350 | column-gap: 24px; |
| 7862 | 8351 | } |
| 7863 | -@media (min-width: 782px) { | |
| 8352 | +@container (min-width: 464px) { | |
| 7864 | 8353 | .editor-start-page-options__modal-content .block-editor-block-patterns-list { |
| 7865 | - column-count: 3; | |
| 8354 | + columns: 4 220px; | |
| 7866 | 8355 | } |
| 7867 | 8356 | } |
| 7868 | -@media (min-width: 1280px) { | |
| 7869 | - .editor-start-page-options__modal-content .block-editor-block-patterns-list { | |
| 7870 | - column-count: 4; | |
| 7871 | - } | |
| 7872 | -} | |
| 7873 | 8357 | .editor-start-page-options__modal-content .block-editor-block-patterns-list .block-editor-block-patterns-list__list-item { |
| 7874 | 8358 | break-inside: avoid-column; |
| 7875 | 8359 | margin-bottom: 24px; |
| 7876 | 8360 | } |
| @@ -7886,12 +8370,12 @@ | ||
| 7886 | 8370 | bottom: 0; |
| 7887 | 8371 | width: 100%; |
| 7888 | 8372 | height: 92px; |
| 7889 | 8373 | background-color: #fff; |
| 7890 | - margin-left: -32px; | |
| 7891 | - margin-right: -32px; | |
| 7892 | - padding-left: 32px; | |
| 7893 | - padding-right: 32px; | |
| 8374 | + margin-left: -24px; | |
| 8375 | + margin-right: -24px; | |
| 8376 | + padding-left: 24px; | |
| 8377 | + padding-right: 24px; | |
| 7894 | 8378 | border-top: 1px solid #ddd; |
| 7895 | 8379 | z-index: 1; |
| 7896 | 8380 | } |
| 7897 | 8381 | .editor-start-template-options__modal .block-editor-block-patterns-list { |
| @@ -7903,16 +8387,11 @@ | ||
| 7903 | 8387 | column-gap: 24px; |
| 7904 | 8388 | } |
| 7905 | 8389 | @media (min-width: 782px) { |
| 7906 | 8390 | .editor-start-template-options__modal-content .block-editor-block-patterns-list { |
| 7907 | - column-count: 3; | |
| 8391 | + columns: 4 220px; | |
| 7908 | 8392 | } |
| 7909 | 8393 | } |
| 7910 | -@media (min-width: 1280px) { | |
| 7911 | - .editor-start-template-options__modal-content .block-editor-block-patterns-list { | |
| 7912 | - column-count: 4; | |
| 7913 | - } | |
| 7914 | -} | |
| 7915 | 8394 | .editor-start-template-options__modal-content .block-editor-block-patterns-list .block-editor-block-patterns-list__list-item { |
| 7916 | 8395 | break-inside: avoid-column; |
| 7917 | 8396 | } |
| 7918 | 8397 | .editor-start-template-options__modal-content .block-editor-block-patterns-list .block-editor-block-patterns-list__list-item .block-editor-block-patterns-list__item-title { |
| @@ -7965,13 +8444,8 @@ | ||
| 7965 | 8444 | } |
| 7966 | 8445 | .editor-style-book.is-button { |
| 7967 | 8446 | border-radius: 8px; |
| 7968 | 8447 | } |
| 7969 | -.editor-style-book { | |
| 7970 | - display: flex; | |
| 7971 | - flex-direction: column; | |
| 7972 | - align-items: stretch; | |
| 7973 | -} | |
| 7974 | 8448 | |
| 7975 | 8449 | .editor-style-book__iframe { |
| 7976 | 8450 | display: block; |
| 7977 | 8451 | height: 100%; |
| @@ -7984,8 +8458,14 @@ | ||
| 7984 | 8458 | outline: calc(2 * var(--wp-admin-border-width-focus)) solid var(--wp-admin-theme-color); |
| 7985 | 8459 | outline-offset: calc(-2 * var(--wp-admin-border-width-focus)); |
| 7986 | 8460 | } |
| 7987 | 8461 | |
| 8462 | +.editor-style-book__tabs { | |
| 8463 | + height: 100%; | |
| 8464 | + display: flex; | |
| 8465 | + flex-direction: column; | |
| 8466 | +} | |
| 8467 | + | |
| 7988 | 8468 | .editor-style-book__tablist-container { |
| 7989 | 8469 | flex: none; |
| 7990 | 8470 | display: flex; |
| 7991 | 8471 | width: 100%; |
| @@ -7999,9 +8479,9 @@ | ||
| 7999 | 8479 | } |
| 8000 | 8480 | |
| 8001 | 8481 | .editor-styles-canvas { |
| 8002 | 8482 | height: 100%; |
| 8003 | - padding: 16px; | |
| 8483 | + padding: 24px; | |
| 8004 | 8484 | background-color: var(--wp-editor-canvas-background); |
| 8005 | 8485 | } |
| 8006 | 8486 | .editor-styles-canvas iframe { |
| 8007 | 8487 | display: block; |
| @@ -8007,12 +8487,14 @@ | ||
| 8007 | 8487 | display: block; |
| 8008 | 8488 | width: 100%; |
| 8009 | 8489 | height: 100%; |
| 8010 | 8490 | } |
| 8491 | +.editor-styles-canvas.is-preview-mode { | |
| 8492 | + padding: 0; | |
| 8493 | +} | |
| 8011 | 8494 | |
| 8012 | 8495 | .editor-styles-canvas__section { |
| 8013 | 8496 | background: #fff; |
| 8014 | - border-radius: 8px; | |
| 8015 | 8497 | bottom: 0; |
| 8016 | 8498 | left: 0; |
| 8017 | 8499 | overflow: hidden; |
| 8018 | 8500 | position: absolute; |
| @@ -8098,9 +8580,9 @@ | ||
| 8098 | 8580 | .table-of-contents__title { |
| 8099 | 8581 | display: block; |
| 8100 | 8582 | margin-top: 20px; |
| 8101 | 8583 | font-size: 15px; |
| 8102 | - font-weight: 600; | |
| 8584 | + font-weight: var(--wpds-typography-font-weight-emphasis, 600); | |
| 8103 | 8585 | } |
| 8104 | 8586 | |
| 8105 | 8587 | .editor-text-editor { |
| 8106 | 8588 | box-sizing: border-box; |
| @@ -8122,9 +8604,9 @@ | ||
| 8122 | 8604 | max-width: none; |
| 8123 | 8605 | line-height: 1.4; |
| 8124 | 8606 | font-family: Menlo, Consolas, monaco, monospace; |
| 8125 | 8607 | font-size: 2.5em; |
| 8126 | - font-weight: normal; | |
| 8608 | + font-weight: 400; | |
| 8127 | 8609 | border: 1px solid #949494; |
| 8128 | 8610 | border-radius: 0; |
| 8129 | 8611 | padding: 16px; |
| 8130 | 8612 | } |
| @@ -8179,11 +8661,31 @@ | ||
| 8179 | 8661 | font-size: 13px; |
| 8180 | 8662 | color: #1e1e1e; |
| 8181 | 8663 | } |
| 8182 | 8664 | |
| 8665 | +.editor-upload-progress-snackbar__spinner, | |
| 8666 | +.editor-upload-progress-snackbar__check { | |
| 8667 | + display: inline-flex; | |
| 8668 | + align-items: center; | |
| 8669 | + justify-content: center; | |
| 8670 | + width: 24px; | |
| 8671 | + height: 24px; | |
| 8672 | +} | |
| 8673 | + | |
| 8674 | +.editor-upload-progress-snackbar__spinner .components-spinner { | |
| 8675 | + margin: 0; | |
| 8676 | +} | |
| 8677 | + | |
| 8678 | +.editor-upload-progress-snackbar__check svg { | |
| 8679 | + width: 24px; | |
| 8680 | + height: 24px; | |
| 8681 | + fill: currentColor; | |
| 8682 | +} | |
| 8683 | + | |
| 8183 | 8684 | .editor-visual-editor { |
| 8184 | 8685 | position: relative; |
| 8185 | 8686 | display: flex; |
| 8687 | + max-height: 100%; | |
| 8186 | 8688 | background-color: var(--wp-editor-canvas-background); |
| 8187 | 8689 | } |
| 8188 | 8690 | .editor-visual-editor iframe[name=editor-canvas] { |
| 8189 | 8691 | background-color: transparent; |
| @@ -8188,21 +8690,30 @@ | ||
| 8188 | 8690 | .editor-visual-editor iframe[name=editor-canvas] { |
| 8189 | 8691 | background-color: transparent; |
| 8190 | 8692 | } |
| 8191 | 8693 | .editor-visual-editor { |
| 8694 | + flex-direction: column; | |
| 8192 | 8695 | align-items: center; |
| 8696 | + justify-content: center; | |
| 8193 | 8697 | } |
| 8194 | -.editor-visual-editor.is-resizable { | |
| 8195 | - max-height: 100%; | |
| 8698 | +@media (prefers-reduced-motion: no-preference) { | |
| 8699 | + .editor-visual-editor { | |
| 8700 | + transition: padding 0.2s ease-out; | |
| 8701 | + } | |
| 8196 | 8702 | } |
| 8197 | -.editor-visual-editor.has-padding { | |
| 8198 | - padding: 24px 24px 0; | |
| 8703 | +.editor-visual-editor.has-vertical-padding { | |
| 8704 | + padding-top: 24px; | |
| 8705 | + padding-bottom: 24px; | |
| 8199 | 8706 | } |
| 8200 | -.editor-visual-editor.is-iframed { | |
| 8707 | +.editor-visual-editor.has-horizontal-padding { | |
| 8708 | + padding-left: 24px; | |
| 8709 | + padding-right: 24px; | |
| 8710 | +} | |
| 8711 | +.editor-visual-editor { | |
| 8201 | 8712 | overflow: hidden; |
| 8202 | 8713 | } |
| 8203 | 8714 | .editor-visual-editor .components-button { |
| 8204 | - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; | |
| 8715 | + font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; | |
| 8205 | 8716 | font-size: 13px; |
| 8206 | 8717 | padding: 6px 12px; |
| 8207 | 8718 | } |
| 8208 | 8719 | .editor-visual-editor .components-button.is-tertiary, .editor-visual-editor .components-button.has-icon { |
| @@ -8231,5 +8742,29 @@ | ||
| 8231 | 8742 | |
| 8232 | 8743 | .editor-push-changes-to-global-styles-control .components-button { |
| 8233 | 8744 | justify-content: center; |
| 8234 | 8745 | width: 100%; |
| 8746 | +} | |
| 8747 | + | |
| 8748 | +.editor-push-changes-to-global-styles-modal p { | |
| 8749 | + margin-top: 0; | |
| 8750 | +} | |
| 8751 | + | |
| 8752 | +.editor-push-changes-to-global-styles-modal .dataviews-layout__container { | |
| 8753 | + overflow-x: hidden; | |
| 8754 | +} | |
| 8755 | +@media (max-width: 600px) { | |
| 8756 | + .editor-push-changes-to-global-styles-modal .dataviews-layout__container { | |
| 8757 | + overflow-x: auto; | |
| 8758 | + } | |
| 8759 | +} | |
| 8760 | +.editor-push-changes-to-global-styles-modal .components-modal__content { | |
| 8761 | + padding-bottom: 0; | |
| 8762 | +} | |
| 8763 | +.editor-push-changes-to-global-styles-modal .dataviews-footer { | |
| 8764 | + padding-bottom: 24px; | |
| 8765 | +} | |
| 8766 | + | |
| 8767 | +.editor-push-changes-to-global-styles-modal__value { | |
| 8768 | + color: #1e1e1e; | |
| 8769 | + overflow-wrap: anywhere; | |
| 8235 | 8770 | } |