| @@ -237,8 +237,16 @@ | ||
| 237 | 237 | .dataviews-filters__container { |
| 238 | 238 | transition: padding ease-out 0.1s; |
| 239 | 239 | } |
| 240 | 240 | } |
| 241 | +.dataviews__search { | |
| 242 | + flex-grow: 1; | |
| 243 | +} | |
| 244 | + | |
| 245 | +.dataviews__search .dataviews-search { | |
| 246 | + flex-basis: 210px; | |
| 247 | +} | |
| 248 | + | |
| 241 | 249 | .dataviews-no-results, |
| 242 | 250 | .dataviews-loading { |
| 243 | 251 | padding: 0 var(--wpds-dimension-padding-2xl, 24px); |
| 244 | 252 | flex-grow: 1; |
| @@ -433,10 +441,10 @@ | ||
| 433 | 441 | } |
| 434 | 442 | |
| 435 | 443 | .dataviews-filters__summary-operators-container .dataviews-filters__summary-operators-filter-select { |
| 436 | 444 | width: 100%; |
| 445 | + min-width: 0; | |
| 437 | 446 | white-space: nowrap; |
| 438 | - overflow: hidden; | |
| 439 | 447 | } |
| 440 | 448 | |
| 441 | 449 | .dataviews-filters__summary-chip-container { |
| 442 | 450 | position: relative; |
| @@ -508,9 +516,9 @@ | ||
| 508 | 516 | cursor: var(--wpds-cursor-control, pointer); |
| 509 | 517 | } |
| 510 | 518 | |
| 511 | 519 | .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove svg { |
| 512 | - fill: var(--wpds-color-foreground-interactive-neutral, #1e1e1e); | |
| 520 | + color: var(--wpds-color-foreground-interactive-neutral, #1e1e1e); | |
| 513 | 521 | } |
| 514 | 522 | |
| 515 | 523 | .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove:hover, .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove:focus { |
| 516 | 524 | background: var(--wpds-color-background-interactive-neutral-weak-active, #ededed); |
| @@ -516,13 +524,13 @@ | ||
| 516 | 524 | background: var(--wpds-color-background-interactive-neutral-weak-active, #ededed); |
| 517 | 525 | } |
| 518 | 526 | |
| 519 | 527 | .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove:hover svg, .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove:focus svg { |
| 520 | - fill: var(--wpds-color-foreground-interactive-neutral-active, #1e1e1e); | |
| 528 | + color: var(--wpds-color-foreground-interactive-neutral-active, #1e1e1e); | |
| 521 | 529 | } |
| 522 | 530 | |
| 523 | 531 | .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove.has-values svg { |
| 524 | - fill: var(--wpds-color-foreground-interactive-brand, var(--wp-admin-theme-color, #3858e9)); | |
| 532 | + color: var(--wpds-color-foreground-interactive-brand, var(--wp-admin-theme-color, #3858e9)); | |
| 525 | 533 | } |
| 526 | 534 | |
| 527 | 535 | .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove.has-values:hover { |
| 528 | 536 | background: var(--wpds-color-background-interactive-brand-weak-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 12%, white)); |
| @@ -584,10 +592,11 @@ | ||
| 584 | 592 | background: var(--wpds-color-background-interactive-brand-strong-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 93%, black)); |
| 585 | 593 | } |
| 586 | 594 | |
| 587 | 595 | .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 { |
| 596 | + /* 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. */ | |
| 597 | + background-color: var(--wpds-color-background-interactive-neutral, var(--wpds-color-background-surface-neutral-strong, #fff)); | |
| 588 | 598 | border-color: var(--wpds-color-stroke-interactive-brand-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 85%, black)); |
| 589 | - background: var(--wpds-color-background-surface-neutral-strong, #fff); | |
| 590 | 599 | } |
| 591 | 600 | |
| 592 | 601 | .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 { |
| 593 | 602 | border-color: var(--wpds-color-stroke-interactive-brand-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 85%, black)); |
| @@ -701,9 +710,9 @@ | ||
| 701 | 710 | } |
| 702 | 711 | .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection { |
| 703 | 712 | --checkbox-size: 24px; |
| 704 | 713 | flex-shrink: 0; |
| 705 | - border: 1px solid #1e1e1e; | |
| 714 | + border: var(--wpds-border-width-xs, 1px) solid var(--wpds-color-stroke-interactive-neutral, #8d8d8d); | |
| 706 | 715 | margin-right: 12px; |
| 707 | 716 | transition: none; |
| 708 | 717 | border-radius: 2px; |
| 709 | 718 | font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; |
| @@ -711,18 +720,12 @@ | ||
| 711 | 720 | /* Fonts smaller than 16px causes mobile safari to zoom. */ |
| 712 | 721 | font-size: 16px; |
| 713 | 722 | /* Override core line-height. To be reviewed. */ |
| 714 | 723 | line-height: normal; |
| 715 | - box-shadow: 0 0 0 transparent; | |
| 716 | - border-radius: 2px; | |
| 717 | - border: 1px solid #949494; | |
| 724 | + border: var(--wpds-border-width-xs, 1px) solid var(--wpds-color-stroke-interactive-neutral, #8d8d8d); | |
| 725 | + border-radius: var(--wpds-border-radius-sm, 2px); | |
| 718 | 726 | } |
| 719 | 727 | |
| 720 | -@media not (prefers-reduced-motion) { | |
| 721 | - .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection { | |
| 722 | - transition: box-shadow 0.1s linear; | |
| 723 | - } | |
| 724 | -} | |
| 725 | 728 | @media (min-width: 600px) { |
| 726 | 729 | .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection { |
| 727 | 730 | font-size: 13px; |
| 728 | 731 | /* Override core line-height. To be reviewed. */ |
| @@ -728,20 +731,25 @@ | ||
| 728 | 731 | /* Override core line-height. To be reviewed. */ |
| 729 | 732 | line-height: normal; |
| 730 | 733 | } |
| 731 | 734 | } |
| 735 | +.dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection:hover:not(:disabled, [aria-disabled=true]) { | |
| 736 | + border-color: var(--wpds-color-stroke-interactive-neutral-active, #6e6e6e); | |
| 737 | +} | |
| 738 | + | |
| 732 | 739 | .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection:focus { |
| 733 | - border-color: var(--wp-admin-theme-color); | |
| 734 | - box-shadow: 0 0 0 0.5px var(--wp-admin-theme-color); | |
| 735 | - outline: 2px solid transparent; | |
| 740 | + 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))); | |
| 741 | + outline-offset: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)); | |
| 742 | + border-color: var(--wpds-color-stroke-interactive-neutral, #8d8d8d); | |
| 743 | + box-shadow: none; | |
| 736 | 744 | } |
| 737 | 745 | |
| 738 | -.dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection::-moz-placeholder { | |
| 746 | +.dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection::placeholder { | |
| 739 | 747 | color: rgba(30, 30, 30, 0.62); |
| 740 | 748 | } |
| 741 | 749 | |
| 742 | -.dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection::placeholder { | |
| 743 | - color: rgba(30, 30, 30, 0.62); | |
| 750 | +.dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection:hover:not(:disabled, [aria-disabled=true]) { | |
| 751 | + background: var(--wpds-color-background-interactive-neutral-active, #fff); | |
| 744 | 752 | } |
| 745 | 753 | |
| 746 | 754 | .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection:focus { |
| 747 | 755 | box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--wp-admin-theme-color); |
| @@ -774,9 +782,9 @@ | ||
| 774 | 782 | display: inline-block; |
| 775 | 783 | vertical-align: middle; |
| 776 | 784 | width: 16px; |
| 777 | 785 | /* stylelint-disable-next-line font-family-no-missing-generic-family-keyword -- dashicons don't need a generic family keyword. */ |
| 778 | - font: normal 30px/1 dashicons; | |
| 786 | + font: 400 30px/1 dashicons; | |
| 779 | 787 | speak: none; |
| 780 | 788 | -webkit-font-smoothing: antialiased; |
| 781 | 789 | -moz-osx-font-smoothing: grayscale; |
| 782 | 790 | } |
| @@ -787,17 +795,23 @@ | ||
| 787 | 795 | font-size: 21px; |
| 788 | 796 | } |
| 789 | 797 | } |
| 790 | 798 | .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 { |
| 791 | - background: #f0f0f0; | |
| 792 | - border-color: #ddd; | |
| 799 | + background: var(--wpds-color-background-interactive-neutral-disabled, #fff); | |
| 800 | + border-color: var(--wpds-color-stroke-interactive-neutral-disabled, #dbdbdb); | |
| 801 | + color: var(--wpds-color-foreground-interactive-neutral-disabled, #8d8d8d); | |
| 793 | 802 | cursor: default; |
| 794 | 803 | opacity: 1; |
| 795 | 804 | } |
| 796 | 805 | |
| 806 | +.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 { | |
| 807 | + color: var(--wpds-color-foreground-interactive-neutral-disabled, #8d8d8d); | |
| 808 | +} | |
| 809 | + | |
| 797 | 810 | .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection { |
| 798 | 811 | position: relative; |
| 799 | - background: var(--wpds-color-background-interactive-neutral-weak, rgba(0, 0, 0, 0)); | |
| 812 | + /* 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. */ | |
| 813 | + background: var(--wpds-color-background-interactive-neutral, var(--wpds-color-background-surface-neutral-strong, #fff)); | |
| 800 | 814 | color: var(--wpds-color-foreground-content-neutral, #1e1e1e); |
| 801 | 815 | margin: 0; |
| 802 | 816 | padding: 0; |
| 803 | 817 | width: var(--checkbox-size); |
| @@ -820,9 +834,9 @@ | ||
| 820 | 834 | } |
| 821 | 835 | |
| 822 | 836 | .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection.is-selected svg { |
| 823 | 837 | --checkmark-size: var(--checkbox-size); |
| 824 | - fill: var(--wpds-color-foreground-interactive-neutral-strong, #f0f0f0); | |
| 838 | + color: var(--wpds-color-foreground-interactive-neutral-strong, #f0f0f0); | |
| 825 | 839 | position: absolute; |
| 826 | 840 | left: 50%; |
| 827 | 841 | top: 50%; |
| 828 | 842 | transform: translate(-50%, -50%); |
| @@ -846,18 +860,12 @@ | ||
| 846 | 860 | /* Fonts smaller than 16px causes mobile safari to zoom. */ |
| 847 | 861 | font-size: 16px; |
| 848 | 862 | /* Override core line-height. To be reviewed. */ |
| 849 | 863 | line-height: normal; |
| 850 | - box-shadow: 0 0 0 transparent; | |
| 851 | - border-radius: 2px; | |
| 852 | - border: 1px solid #949494; | |
| 864 | + border: var(--wpds-border-width-xs, 1px) solid var(--wpds-color-stroke-interactive-neutral, #8d8d8d); | |
| 865 | + border-radius: var(--wpds-border-radius-sm, 2px); | |
| 853 | 866 | } |
| 854 | 867 | |
| 855 | -@media not (prefers-reduced-motion) { | |
| 856 | - .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input { | |
| 857 | - transition: box-shadow 0.1s linear; | |
| 858 | - } | |
| 859 | -} | |
| 860 | 868 | @media (min-width: 600px) { |
| 861 | 869 | .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input { |
| 862 | 870 | font-size: 13px; |
| 863 | 871 | /* Override core line-height. To be reviewed. */ |
| @@ -863,16 +871,17 @@ | ||
| 863 | 871 | /* Override core line-height. To be reviewed. */ |
| 864 | 872 | line-height: normal; |
| 865 | 873 | } |
| 866 | 874 | } |
| 867 | -.dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input:focus { | |
| 868 | - border-color: var(--wp-admin-theme-color); | |
| 869 | - box-shadow: 0 0 0 0.5px var(--wp-admin-theme-color); | |
| 870 | - outline: 2px solid transparent; | |
| 875 | +.dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input:hover:not(:disabled, [aria-disabled=true]) { | |
| 876 | + border-color: var(--wpds-color-stroke-interactive-neutral-active, #6e6e6e); | |
| 871 | 877 | } |
| 872 | 878 | |
| 873 | -.dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input::-moz-placeholder { | |
| 874 | - color: rgba(30, 30, 30, 0.62); | |
| 879 | +.dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input:focus { | |
| 880 | + 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))); | |
| 881 | + outline-offset: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)); | |
| 882 | + border-color: var(--wpds-color-stroke-interactive-neutral, #8d8d8d); | |
| 883 | + box-shadow: none; | |
| 875 | 884 | } |
| 876 | 885 | |
| 877 | 886 | .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input::placeholder { |
| 878 | 887 | color: rgba(30, 30, 30, 0.62); |
| @@ -895,15 +904,10 @@ | ||
| 895 | 904 | } |
| 896 | 905 | } |
| 897 | 906 | .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input:focus { |
| 898 | 907 | background: var(--wpds-color-background-surface-neutral-strong, #fff); |
| 899 | - box-shadow: inset 0 0 0 var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)) var(--wpds-color-stroke-focus, var(--wp-admin-theme-color, #3858e9)); | |
| 900 | 908 | } |
| 901 | 909 | |
| 902 | -.dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input::-moz-placeholder { | |
| 903 | - color: var(--wpds-color-foreground-content-neutral-weak, #707070); | |
| 904 | -} | |
| 905 | - | |
| 906 | 910 | .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input::placeholder { |
| 907 | 911 | color: var(--wpds-color-foreground-content-neutral-weak, #707070); |
| 908 | 912 | } |
| 909 | 913 | |
| @@ -948,13 +952,8 @@ | ||
| 948 | 952 | color: var(--wpds-color-foreground-interactive-neutral-strong, #f0f0f0); |
| 949 | 953 | box-sizing: border-box; |
| 950 | 954 | } |
| 951 | 955 | |
| 952 | -.dataviews-search { | |
| 953 | - width: -moz-fit-content; | |
| 954 | - width: fit-content; | |
| 955 | -} | |
| 956 | - | |
| 957 | 956 | .dataviews-filters__user-input-widget { |
| 958 | 957 | padding: var(--wpds-dimension-padding-lg, 16px); |
| 959 | 958 | } |
| 960 | 959 | |
| @@ -1231,9 +1230,8 @@ | ||
| 1231 | 1230 | } |
| 1232 | 1231 | |
| 1233 | 1232 | .dataviews-view-grid .dataviews-view-grid__card .dataviews-view-grid__title-field--clickable, |
| 1234 | 1233 | .dataviews-view-grid-infinite-scroll .dataviews-view-grid__card .dataviews-view-grid__title-field--clickable { |
| 1235 | - width: -moz-fit-content; | |
| 1236 | 1234 | width: fit-content; |
| 1237 | 1235 | } |
| 1238 | 1236 | |
| 1239 | 1237 | .dataviews-view-grid .dataviews-view-grid__card.is-selected .dataviews-view-grid__fields .dataviews-view-grid__field .dataviews-view-grid__field-value, |
| @@ -1253,9 +1251,9 @@ | ||
| 1253 | 1251 | |
| 1254 | 1252 | .dataviews-view-grid .dataviews-view-grid__media, |
| 1255 | 1253 | .dataviews-view-grid-infinite-scroll .dataviews-view-grid__media { |
| 1256 | 1254 | width: 100%; |
| 1257 | - aspect-ratio: 1/1; | |
| 1255 | + aspect-ratio: var(--wp-dataviews-media-aspect-ratio, 1/1); | |
| 1258 | 1256 | background-color: var(--wpds-color-background-surface-neutral-strong, #fff); |
| 1259 | 1257 | border-radius: var(--wpds-border-radius-md, 4px); |
| 1260 | 1258 | overflow: hidden; |
| 1261 | 1259 | position: relative; |
| @@ -1267,9 +1265,8 @@ | ||
| 1267 | 1265 | } |
| 1268 | 1266 | |
| 1269 | 1267 | .dataviews-view-grid .dataviews-view-grid__media img, |
| 1270 | 1268 | .dataviews-view-grid-infinite-scroll .dataviews-view-grid__media img { |
| 1271 | - -o-object-fit: cover; | |
| 1272 | 1269 | object-fit: cover; |
| 1273 | 1270 | width: 100%; |
| 1274 | 1271 | height: 100%; |
| 1275 | 1272 | } |
| @@ -1296,8 +1293,18 @@ | ||
| 1296 | 1293 | box-shadow: none; |
| 1297 | 1294 | background: var(--wpds-color-background-surface-neutral, #fcfcfc); |
| 1298 | 1295 | } |
| 1299 | 1296 | |
| 1297 | +.dataviews-view-grid.has-media-fit-contain .dataviews-view-grid__media, | |
| 1298 | +.dataviews-view-grid-infinite-scroll.has-media-fit-contain .dataviews-view-grid__media { | |
| 1299 | + background-color: var(--wpds-color-background-surface-neutral, #fcfcfc); | |
| 1300 | +} | |
| 1301 | + | |
| 1302 | +.dataviews-view-grid.has-media-fit-contain .dataviews-view-grid__media img, | |
| 1303 | +.dataviews-view-grid-infinite-scroll.has-media-fit-contain .dataviews-view-grid__media img { | |
| 1304 | + object-fit: contain; | |
| 1305 | +} | |
| 1306 | + | |
| 1300 | 1307 | .dataviews-view-grid .dataviews-view-grid__fields, |
| 1301 | 1308 | .dataviews-view-grid-infinite-scroll .dataviews-view-grid__fields { |
| 1302 | 1309 | position: relative; |
| 1303 | 1310 | font-size: 12px; |
| @@ -1458,9 +1465,8 @@ | ||
| 1458 | 1465 | |
| 1459 | 1466 | .dataviews-view-list div[role=row] .dataviews-view-list__item-actions, |
| 1460 | 1467 | .dataviews-view-list div[role=article] .dataviews-view-list__item-actions { |
| 1461 | 1468 | display: flex; |
| 1462 | - width: -moz-max-content; | |
| 1463 | 1469 | width: max-content; |
| 1464 | 1470 | flex: 0 0 auto; |
| 1465 | 1471 | gap: var(--wpds-dimension-gap-xs, 4px); |
| 1466 | 1472 | white-space: nowrap; |
| @@ -1513,10 +1519,9 @@ | ||
| 1513 | 1519 | .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, |
| 1514 | 1520 | .dataviews-view-list div[role=article]:not(.is-selected):hover, |
| 1515 | 1521 | .dataviews-view-list div[role=article]:not(.is-selected).is-hovered, |
| 1516 | 1522 | .dataviews-view-list div[role=article]:not(.is-selected):focus-within { |
| 1517 | - color: var(--wpds-color-foreground-interactive-brand, var(--wp-admin-theme-color, #3858e9)); | |
| 1518 | - background-color: var(--wpds-color-background-interactive-brand-weak, rgba(0, 0, 0, 0)); | |
| 1523 | + background-color: var(--wpds-color-background-interactive-neutral-weak-active, #ededed); | |
| 1519 | 1524 | } |
| 1520 | 1525 | |
| 1521 | 1526 | .dataviews-view-list div[role=row]:not(.is-selected):hover .dataviews-title-field, |
| 1522 | 1527 | .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, |
| @@ -1527,9 +1532,9 @@ | ||
| 1527 | 1532 | .dataviews-view-list div[role=article]:not(.is-selected).is-hovered .dataviews-title-field, |
| 1528 | 1533 | .dataviews-view-list div[role=article]:not(.is-selected).is-hovered .dataviews-view-list__field, |
| 1529 | 1534 | .dataviews-view-list div[role=article]:not(.is-selected):focus-within .dataviews-title-field, |
| 1530 | 1535 | .dataviews-view-list div[role=article]:not(.is-selected):focus-within .dataviews-view-list__field { |
| 1531 | - color: var(--wpds-color-foreground-interactive-brand, var(--wp-admin-theme-color, #3858e9)); | |
| 1536 | + color: var(--wpds-color-foreground-interactive-neutral, #1e1e1e); | |
| 1532 | 1537 | } |
| 1533 | 1538 | |
| 1534 | 1539 | .dataviews-view-list div[role=row].is-selected .dataviews-view-list__item-wrapper, |
| 1535 | 1540 | .dataviews-view-list div[role=row].is-selected:focus-within .dataviews-view-list__item-wrapper, |
| @@ -1535,9 +1540,9 @@ | ||
| 1535 | 1540 | .dataviews-view-list div[role=row].is-selected:focus-within .dataviews-view-list__item-wrapper, |
| 1536 | 1541 | .dataviews-view-list div[role=article].is-selected .dataviews-view-list__item-wrapper, |
| 1537 | 1542 | .dataviews-view-list div[role=article].is-selected:focus-within .dataviews-view-list__item-wrapper { |
| 1538 | 1543 | background-color: var(--wpds-color-background-interactive-brand-weak-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 12%, white)); |
| 1539 | - color: var(--wpds-color-foreground-interactive-neutral, #1e1e1e); | |
| 1544 | + color: var(--wpds-color-foreground-content-neutral, #1e1e1e); | |
| 1540 | 1545 | } |
| 1541 | 1546 | |
| 1542 | 1547 | .dataviews-view-list div[role=row].is-selected .dataviews-view-list__item-wrapper .dataviews-title-field, |
| 1543 | 1548 | .dataviews-view-list div[role=row].is-selected .dataviews-view-list__item-wrapper .dataviews-view-list__field, |
| @@ -1546,9 +1551,9 @@ | ||
| 1546 | 1551 | .dataviews-view-list div[role=article].is-selected .dataviews-view-list__item-wrapper .dataviews-title-field, |
| 1547 | 1552 | .dataviews-view-list div[role=article].is-selected .dataviews-view-list__item-wrapper .dataviews-view-list__field, |
| 1548 | 1553 | .dataviews-view-list div[role=article].is-selected:focus-within .dataviews-view-list__item-wrapper .dataviews-title-field, |
| 1549 | 1554 | .dataviews-view-list div[role=article].is-selected:focus-within .dataviews-view-list__item-wrapper .dataviews-view-list__field { |
| 1550 | - color: var(--wpds-color-foreground-interactive-neutral-active, #1e1e1e); | |
| 1555 | + color: var(--wpds-color-foreground-content-neutral, #1e1e1e); | |
| 1551 | 1556 | } |
| 1552 | 1557 | |
| 1553 | 1558 | .dataviews-view-list .dataviews-view-list__item { |
| 1554 | 1559 | position: absolute; |
| @@ -1554,10 +1559,8 @@ | ||
| 1554 | 1559 | position: absolute; |
| 1555 | 1560 | z-index: 1; |
| 1556 | 1561 | inset: 0; |
| 1557 | 1562 | scroll-margin: var(--wpds-dimension-gap-sm, 8px) 0; |
| 1558 | - -webkit-appearance: none; | |
| 1559 | - -moz-appearance: none; | |
| 1560 | 1563 | appearance: none; |
| 1561 | 1564 | border: none; |
| 1562 | 1565 | background: none; |
| 1563 | 1566 | padding: 0; |
| @@ -1600,9 +1603,8 @@ | ||
| 1600 | 1603 | |
| 1601 | 1604 | .dataviews-view-list .dataviews-view-list__media-wrapper img { |
| 1602 | 1605 | width: 100%; |
| 1603 | 1606 | height: 100%; |
| 1604 | - -o-object-fit: cover; | |
| 1605 | 1607 | object-fit: cover; |
| 1606 | 1608 | } |
| 1607 | 1609 | |
| 1608 | 1610 | .dataviews-view-list .dataviews-view-list__media-wrapper::after { |
| @@ -1622,9 +1624,9 @@ | ||
| 1622 | 1624 | min-width: 0; |
| 1623 | 1625 | } |
| 1624 | 1626 | |
| 1625 | 1627 | .dataviews-view-list .dataviews-view-list__field { |
| 1626 | - color: var(--wpds-color-foreground-interactive-neutral-weak, #707070); | |
| 1628 | + color: var(--wpds-color-foreground-content-neutral-weak, #707070); | |
| 1627 | 1629 | } |
| 1628 | 1630 | |
| 1629 | 1631 | .dataviews-view-list .dataviews-view-list__fields { |
| 1630 | 1632 | display: flex; |
| @@ -1741,9 +1743,9 @@ | ||
| 1741 | 1743 | |
| 1742 | 1744 | .dataviews-view-table th { |
| 1743 | 1745 | text-align: left; |
| 1744 | 1746 | color: var(--wpds-color-foreground-content-neutral, #1e1e1e); |
| 1745 | - font-weight: normal; | |
| 1747 | + font-weight: 400; | |
| 1746 | 1748 | font-size: var(--wpds-typography-font-size-md, 13px); |
| 1747 | 1749 | } |
| 1748 | 1750 | |
| 1749 | 1751 | .dataviews-view-table td, |
| @@ -1771,9 +1773,9 @@ | ||
| 1771 | 1773 | top: 0; |
| 1772 | 1774 | bottom: 0; |
| 1773 | 1775 | left: 0; |
| 1774 | 1776 | width: 1px; |
| 1775 | - background-color: var(--wpds-color-background-surface-neutral, #fcfcfc); | |
| 1777 | + background-color: var(--wpds-color-stroke-surface-neutral-weak, #f0f0f0); | |
| 1776 | 1778 | } |
| 1777 | 1779 | |
| 1778 | 1780 | .dataviews-view-table td.dataviews-view-table__checkbox-column, |
| 1779 | 1781 | .dataviews-view-table th.dataviews-view-table__checkbox-column { |
| @@ -1985,9 +1987,8 @@ | ||
| 1985 | 1987 | |
| 1986 | 1988 | .dataviews-column-primary__media img { |
| 1987 | 1989 | width: var(--wpds-dimension-size-md, 32px); |
| 1988 | 1990 | height: var(--wpds-dimension-size-md, 32px); |
| 1989 | - -o-object-fit: cover; | |
| 1990 | 1991 | object-fit: cover; |
| 1991 | 1992 | } |
| 1992 | 1993 | |
| 1993 | 1994 | .dataviews-column-primary__media::after { |
| @@ -2000,8 +2001,19 @@ | ||
| 2000 | 2001 | box-shadow: inset 0 0 0 var(--wpds-border-width-xs, 1px) rgba(0, 0, 0, 0.1); |
| 2001 | 2002 | border-radius: var(--wpds-border-radius-md, 4px); |
| 2002 | 2003 | } |
| 2003 | 2004 | |
| 2005 | +.dataviews-view-table.has-media-aspect-ratio .dataviews-column-primary__media { | |
| 2006 | + height: var(--wpds-dimension-size-md, 32px); | |
| 2007 | + aspect-ratio: var(--wp-dataviews-media-aspect-ratio, 1/1); | |
| 2008 | + min-width: 0; | |
| 2009 | +} | |
| 2010 | + | |
| 2011 | +.dataviews-view-table.has-media-aspect-ratio .dataviews-column-primary__media img { | |
| 2012 | + width: 100%; | |
| 2013 | + height: 100%; | |
| 2014 | +} | |
| 2015 | + | |
| 2004 | 2016 | .dataviews-view-table__cell-content-wrapper:not(.dataviews-column-primary__media), |
| 2005 | 2017 | .dataviews-view-table__primary-column-content:not(.dataviews-column-primary__media) { |
| 2006 | 2018 | min-width: 15ch; |
| 2007 | 2019 | max-width: 80ch; |
| @@ -2055,9 +2067,8 @@ | ||
| 2055 | 2067 | text-align: start; |
| 2056 | 2068 | } |
| 2057 | 2069 | |
| 2058 | 2070 | .dataviews-view-picker-grid .dataviews-view-picker-grid__card .dataviews-view-picker-grid__title-field--clickable { |
| 2059 | - width: -moz-fit-content; | |
| 2060 | 2071 | width: fit-content; |
| 2061 | 2072 | } |
| 2062 | 2073 | |
| 2063 | 2074 | .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 { |
| @@ -2093,13 +2104,13 @@ | ||
| 2093 | 2104 | aspect-ratio: 1/1; |
| 2094 | 2105 | min-height: 0; |
| 2095 | 2106 | background-color: var(--wpds-color-background-surface-neutral-strong, #fff); |
| 2096 | 2107 | border-radius: var(--wpds-border-radius-md, 4px); |
| 2108 | + overflow: hidden; | |
| 2097 | 2109 | position: relative; |
| 2098 | 2110 | } |
| 2099 | 2111 | |
| 2100 | 2112 | .dataviews-view-picker-grid .dataviews-view-picker-grid__media img { |
| 2101 | - -o-object-fit: cover; | |
| 2102 | 2113 | object-fit: cover; |
| 2103 | 2114 | width: 100%; |
| 2104 | 2115 | height: 100%; |
| 2105 | 2116 | } |
| @@ -2115,8 +2126,16 @@ | ||
| 2115 | 2126 | border-radius: var(--wpds-border-radius-md, 4px); |
| 2116 | 2127 | pointer-events: none; |
| 2117 | 2128 | } |
| 2118 | 2129 | |
| 2130 | +.dataviews-view-picker-grid.has-media-fit-contain .dataviews-view-picker-grid__media { | |
| 2131 | + background-color: var(--wpds-color-background-surface-neutral, #fcfcfc); | |
| 2132 | +} | |
| 2133 | + | |
| 2134 | +.dataviews-view-picker-grid.has-media-fit-contain .dataviews-view-picker-grid__media img { | |
| 2135 | + object-fit: contain; | |
| 2136 | +} | |
| 2137 | + | |
| 2119 | 2138 | .dataviews-view-picker-grid .dataviews-view-picker-grid__fields { |
| 2120 | 2139 | position: relative; |
| 2121 | 2140 | font-size: 12px; |
| 2122 | 2141 | line-height: 16px; |
| @@ -2278,9 +2297,8 @@ | ||
| 2278 | 2297 | } |
| 2279 | 2298 | |
| 2280 | 2299 | .dataviews-view-activity .dataviews-view-activity__item-content .dataviews-view-activity__primary-actions { |
| 2281 | 2300 | display: flex; |
| 2282 | - width: -moz-max-content; | |
| 2283 | 2301 | width: max-content; |
| 2284 | 2302 | flex: 0 0 auto; |
| 2285 | 2303 | } |
| 2286 | 2304 | |
| @@ -2412,9 +2430,8 @@ | ||
| 2412 | 2430 | display: block; |
| 2413 | 2431 | width: 100%; |
| 2414 | 2432 | height: 100%; |
| 2415 | 2433 | margin: 0 auto; |
| 2416 | - -o-object-fit: cover; | |
| 2417 | 2434 | object-fit: cover; |
| 2418 | 2435 | border-radius: 50%; |
| 2419 | 2436 | box-sizing: border-box; |
| 2420 | 2437 | box-shadow: inset 0 0 0 var(--wpds-border-width-xs, 1px) var(--wpds-color-stroke-surface-neutral, #dbdbdb); |
| @@ -2629,9 +2646,8 @@ | ||
| 2629 | 2646 | display: block; |
| 2630 | 2647 | width: 100%; |
| 2631 | 2648 | height: 100%; |
| 2632 | 2649 | margin: 0 auto; |
| 2633 | - -o-object-fit: cover; | |
| 2634 | 2650 | object-fit: cover; |
| 2635 | 2651 | border-radius: 50%; |
| 2636 | 2652 | box-sizing: border-box; |
| 2637 | 2653 | box-shadow: inset 0 0 0 var(--wpds-border-width-xs, 1px) var(--wpds-color-stroke-surface-neutral, #dbdbdb); |
| @@ -2653,13 +2669,8 @@ | ||
| 2653 | 2669 | .dataviews-picker-footer__actions { |
| 2654 | 2670 | align-self: flex-end; |
| 2655 | 2671 | } |
| 2656 | 2672 | |
| 2657 | -.dataviews-controls__richtext [data-rich-text-placeholder]::after { | |
| 2658 | - content: attr(data-rich-text-placeholder); | |
| 2659 | - color: color-mix(in srgb, currentColor, transparent 38%); | |
| 2660 | -} | |
| 2661 | - | |
| 2662 | 2673 | .dataviews-controls__datetime { |
| 2663 | 2674 | border: none; |
| 2664 | 2675 | padding: 0; |
| 2665 | 2676 | } |
| @@ -2690,8 +2701,29 @@ | ||
| 2690 | 2701 | .dataviews-controls__date-preset:active { |
| 2691 | 2702 | background-color: var(--wpds-color-background-interactive-neutral-strong-active, #1e1e1e); |
| 2692 | 2703 | } |
| 2693 | 2704 | |
| 2705 | +.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 { | |
| 2706 | + --focus-color: var(--wpds-color-stroke-interactive-error, #cc1818); | |
| 2707 | +} | |
| 2708 | + | |
| 2709 | +.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 { | |
| 2710 | + border-color: var(--wpds-color-stroke-interactive-error, #cc1818); | |
| 2711 | +} | |
| 2712 | + | |
| 2713 | +.dataviews-validated-control__wrapper-with-error-delegate { | |
| 2714 | + position: relative; | |
| 2715 | +} | |
| 2716 | + | |
| 2717 | +.dataviews-validated-control__error-delegate { | |
| 2718 | + position: absolute; | |
| 2719 | + top: 0; | |
| 2720 | + height: 100%; | |
| 2721 | + width: 100%; | |
| 2722 | + opacity: 0; | |
| 2723 | + pointer-events: none; | |
| 2724 | +} | |
| 2725 | + | |
| 2694 | 2726 | .dataforms-layouts-panel__field-trigger { |
| 2695 | 2727 | position: relative; |
| 2696 | 2728 | color: inherit; |
| 2697 | 2729 | display: flex; |
| @@ -2754,8 +2786,14 @@ | ||
| 2754 | 2786 | opacity: 0; |
| 2755 | 2787 | border-radius: var(--wpds-border-radius-xs, 1px); |
| 2756 | 2788 | } |
| 2757 | 2789 | |
| 2790 | +.dataforms-layouts-panel__field-trigger-icon::after { | |
| 2791 | + content: ""; | |
| 2792 | + position: absolute; | |
| 2793 | + inset: 0; | |
| 2794 | +} | |
| 2795 | + | |
| 2758 | 2796 | .dataforms-layouts-panel__field-trigger-icon:focus-visible { |
| 2759 | 2797 | opacity: 1; |
| 2760 | 2798 | 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)); |
| 2761 | 2799 | } |
| @@ -2789,11 +2827,9 @@ | ||
| 2789 | 2827 | color: var(--wpds-color-foreground-content-error-weak, #cc1818); |
| 2790 | 2828 | } |
| 2791 | 2829 | |
| 2792 | 2830 | .dataforms-layouts-panel__field-label-error-content { |
| 2793 | - position: relative; | |
| 2794 | - z-index: 1; | |
| 2795 | - cursor: help; | |
| 2831 | + pointer-events: none; | |
| 2796 | 2832 | color: var(--wpds-color-foreground-content-error-weak, #cc1818); |
| 2797 | 2833 | display: inline-flex; |
| 2798 | 2834 | flex-direction: row; |
| 2799 | 2835 | align-items: center; |
| @@ -2809,12 +2845,17 @@ | ||
| 2809 | 2845 | align-items: center; |
| 2810 | 2846 | overflow: clip; |
| 2811 | 2847 | padding-inline: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)); |
| 2812 | 2848 | margin-inline: calc(-1 * var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px))); |
| 2813 | - word-break: break-word; | |
| 2849 | + word-break: normal; | |
| 2850 | + overflow-wrap: anywhere; | |
| 2814 | 2851 | font-weight: var(--wpds-typography-font-weight-emphasis, 600); |
| 2815 | 2852 | } |
| 2816 | 2853 | |
| 2854 | +.dataforms-layouts-panel__field-control:has(a, button) { | |
| 2855 | + z-index: 1; | |
| 2856 | +} | |
| 2857 | + | |
| 2817 | 2858 | .dataforms-layouts-panel__field-control > * { |
| 2818 | 2859 | min-width: 0; |
| 2819 | 2860 | } |
| 2820 | 2861 | |
| @@ -2847,12 +2888,8 @@ | ||
| 2847 | 2888 | .components-popover.components-dropdown__content.dataforms-layouts-panel__field-dropdown { |
| 2848 | 2889 | z-index: 159990; |
| 2849 | 2890 | } |
| 2850 | 2891 | |
| 2851 | -.dataforms-layouts-panel__summary-button:empty { | |
| 2852 | - min-width: 160px; | |
| 2853 | -} | |
| 2854 | - | |
| 2855 | 2892 | .dataforms-layouts-regular__field { |
| 2856 | 2893 | width: 100%; |
| 2857 | 2894 | min-height: var(--wpds-dimension-size-md, 32px); |
| 2858 | 2895 | justify-content: flex-start !important; |
| @@ -3070,9 +3107,9 @@ | ||
| 3070 | 3107 | padding: 12px; |
| 3071 | 3108 | display: grid; |
| 3072 | 3109 | align-items: center; |
| 3073 | 3110 | grid-template-columns: min-content 1fr min-content; |
| 3074 | - grid-gap: 4px 8px; | |
| 3111 | + gap: 4px 8px; | |
| 3075 | 3112 | color: #1e1e1e; |
| 3076 | 3113 | } |
| 3077 | 3114 | |
| 3078 | 3115 | .fields-create-template-part-modal__area-radio-wrapper + .fields-create-template-part-modal__area-radio-wrapper { |
| @@ -3355,11 +3392,9 @@ | ||
| 3355 | 3392 | |
| 3356 | 3393 | fieldset.fields__media-edit .fields__media-edit-expanded .fields__media-edit-thumbnail { |
| 3357 | 3394 | width: 100%; |
| 3358 | 3395 | height: 100%; |
| 3359 | - -o-object-fit: cover; | |
| 3360 | 3396 | object-fit: cover; |
| 3361 | - -o-object-position: 50% 50%; | |
| 3362 | 3397 | object-position: 50% 50%; |
| 3363 | 3398 | } |
| 3364 | 3399 | |
| 3365 | 3400 | fieldset.fields__media-edit .fields__media-edit-expanded .fields__media-edit-filename { |
| @@ -3419,9 +3454,8 @@ | ||
| 3419 | 3454 | |
| 3420 | 3455 | .fields-controls__author-avatar img { |
| 3421 | 3456 | width: 16px; |
| 3422 | 3457 | height: 16px; |
| 3423 | - -o-object-fit: cover; | |
| 3424 | 3458 | object-fit: cover; |
| 3425 | 3459 | opacity: 0; |
| 3426 | 3460 | border-radius: 100%; |
| 3427 | 3461 | } |
| @@ -3457,18 +3491,15 @@ | ||
| 3457 | 3491 | padding: 0; |
| 3458 | 3492 | margin: 0; |
| 3459 | 3493 | } |
| 3460 | 3494 | |
| 3461 | -.fields-controls__slug .fields-controls__slug-external-icon { | |
| 3462 | - margin-left: 5ch; | |
| 3463 | -} | |
| 3464 | - | |
| 3465 | 3495 | .fields-controls__slug .fields-controls__slug-input input.components-input-control__input { |
| 3466 | 3496 | padding-inline-start: 0 !important; |
| 3467 | 3497 | } |
| 3468 | 3498 | |
| 3469 | 3499 | .fields-controls__slug .fields-controls__slug-help-link { |
| 3470 | - word-break: break-word; | |
| 3500 | + word-break: normal; | |
| 3501 | + overflow-wrap: anywhere; | |
| 3471 | 3502 | } |
| 3472 | 3503 | |
| 3473 | 3504 | .fields-controls__slug .fields-controls__slug-help { |
| 3474 | 3505 | display: flex; |
| @@ -3677,9 +3708,9 @@ | ||
| 3677 | 3708 | .font-library__footer { |
| 3678 | 3709 | position: absolute; |
| 3679 | 3710 | width: 100%; |
| 3680 | 3711 | bottom: 0; |
| 3681 | - border-top: 1px solid #ddd; | |
| 3712 | + border-top: 1px solid var(--wpds-color-stroke-surface-neutral, #dbdbdb); | |
| 3682 | 3713 | padding: 24px; |
| 3683 | 3714 | background-color: #fff; |
| 3684 | 3715 | box-sizing: border-box; |
| 3685 | 3716 | flex-grow: 0 !important; |
| @@ -3693,13 +3724,17 @@ | ||
| 3693 | 3724 | text-transform: uppercase; |
| 3694 | 3725 | } |
| 3695 | 3726 | |
| 3696 | 3727 | @media (min-width: 600px) { |
| 3697 | - .font-library__page-selection .font-library__page-selection-trigger { | |
| 3728 | + .font-library__page-selection .components-select-control__input { | |
| 3698 | 3729 | font-size: 11px !important; |
| 3699 | 3730 | font-weight: var(--wpds-typography-font-weight-emphasis, 600); |
| 3700 | 3731 | } |
| 3701 | 3732 | } |
| 3733 | +.font-library__search { | |
| 3734 | + width: 240px; | |
| 3735 | +} | |
| 3736 | + | |
| 3702 | 3737 | .font-library__fonts-title { |
| 3703 | 3738 | text-transform: uppercase; |
| 3704 | 3739 | font-size: 11px; |
| 3705 | 3740 | font-weight: var(--wpds-typography-font-weight-emphasis, 600); |
| @@ -3717,11 +3752,15 @@ | ||
| 3717 | 3752 | .font-library__fonts-list-item { |
| 3718 | 3753 | margin-bottom: 0; |
| 3719 | 3754 | } |
| 3720 | 3755 | |
| 3756 | +.font-library__font-demo { | |
| 3757 | + position: relative; | |
| 3758 | +} | |
| 3759 | + | |
| 3721 | 3760 | .font-library__font-card { |
| 3722 | 3761 | box-sizing: border-box; |
| 3723 | - border: 1px solid #ddd; | |
| 3762 | + border: 1px solid var(--wpds-color-stroke-surface-neutral, #dbdbdb); | |
| 3724 | 3763 | width: 100%; |
| 3725 | 3764 | height: auto !important; |
| 3726 | 3765 | padding: 16px; |
| 3727 | 3766 | margin-top: -1px; /* To collapse the margin with the previous element */ |
| @@ -3735,13 +3774,13 @@ | ||
| 3735 | 3774 | position: relative; |
| 3736 | 3775 | } |
| 3737 | 3776 | |
| 3738 | 3777 | .font-library__font-card .font-library__font-card__name { |
| 3739 | - font-weight: bold; | |
| 3778 | + font-weight: 700; | |
| 3740 | 3779 | } |
| 3741 | 3780 | |
| 3742 | 3781 | .font-library__font-card .font-library__font-card__count { |
| 3743 | - color: #757575; | |
| 3782 | + color: var(--wpds-color-foreground-content-neutral-weak, #707070); | |
| 3744 | 3783 | } |
| 3745 | 3784 | |
| 3746 | 3785 | .font-library__font-card .font-library__font-variant_demo-image { |
| 3747 | 3786 | display: block; |
| @@ -3748,8 +3787,25 @@ | ||
| 3748 | 3787 | height: 24px; |
| 3749 | 3788 | width: auto; |
| 3750 | 3789 | } |
| 3751 | 3790 | |
| 3791 | +@media not (prefers-reduced-motion) { | |
| 3792 | + .font-library__font-card .font-library__font-variant_demo-image { | |
| 3793 | + transition: opacity var(--wpds-motion-duration-lg, 300ms) var(--wpds-motion-easing-subtle, cubic-bezier(0.15, 0, 0.15, 1)); | |
| 3794 | + } | |
| 3795 | +} | |
| 3796 | +.font-library__font-card .font-library__font-variant_demo-image.is-loading { | |
| 3797 | + position: absolute; | |
| 3798 | + top: 0; | |
| 3799 | + left: 0; | |
| 3800 | + opacity: 0; | |
| 3801 | +} | |
| 3802 | + | |
| 3803 | +.font-library__font-card .font-library__font-variant-demo-skeleton { | |
| 3804 | + height: 24px; | |
| 3805 | + border-radius: var(--wpds-border-radius-sm, 2px); | |
| 3806 | +} | |
| 3807 | + | |
| 3752 | 3808 | .font-library__font-card .font-library__font-variant_demo-text { |
| 3753 | 3809 | white-space: nowrap; |
| 3754 | 3810 | flex-shrink: 0; |
| 3755 | 3811 | } |
| @@ -3761,9 +3817,9 @@ | ||
| 3761 | 3817 | } |
| 3762 | 3818 | .font-library-modal__tablist-container { |
| 3763 | 3819 | position: sticky; |
| 3764 | 3820 | top: 0; |
| 3765 | - border-bottom: 1px solid #ddd; | |
| 3821 | + border-bottom: 1px solid var(--wpds-color-stroke-surface-neutral, #dbdbdb); | |
| 3766 | 3822 | background: #fff; |
| 3767 | 3823 | z-index: 1; |
| 3768 | 3824 | } |
| 3769 | 3825 | |
| @@ -3784,9 +3840,9 @@ | ||
| 3784 | 3840 | width: 80%; |
| 3785 | 3841 | } |
| 3786 | 3842 | |
| 3787 | 3843 | .font-library__local-fonts .font-library__upload-area__text { |
| 3788 | - color: #757575; | |
| 3844 | + color: var(--wpds-color-foreground-content-neutral-weak, #707070); | |
| 3789 | 3845 | } |
| 3790 | 3846 | |
| 3791 | 3847 | .font-library__google-fonts-confirm { |
| 3792 | 3848 | display: flex; |
| @@ -3821,113 +3877,22 @@ | ||
| 3821 | 3877 | .font-library__select-all .components-checkbox-control__label { |
| 3822 | 3878 | padding-left: 16px; |
| 3823 | 3879 | } |
| 3824 | 3880 | |
| 3825 | -.global-styles-ui-pagination .components-button.is-tertiary { | |
| 3826 | - width: 32px; | |
| 3827 | - height: 32px; | |
| 3828 | - justify-content: center; | |
| 3829 | -} | |
| 3830 | - | |
| 3831 | -.global-styles-ui-screen-revisions__revisions-list { | |
| 3832 | - list-style: none; | |
| 3833 | - margin: 0 16px 16px 16px; | |
| 3834 | - flex-grow: 1; | |
| 3835 | -} | |
| 3836 | - | |
| 3837 | -.global-styles-ui-screen-revisions__revisions-list li { | |
| 3838 | - margin-bottom: 0; | |
| 3839 | -} | |
| 3840 | - | |
| 3841 | -.global-styles-ui-screen-revisions__revision-item { | |
| 3842 | - position: relative; | |
| 3843 | - cursor: var(--wpds-cursor-control, pointer); | |
| 3881 | +.global-styles-ui-screen-revisions { | |
| 3844 | 3882 | display: flex; |
| 3845 | 3883 | flex-direction: column; |
| 3884 | + flex-grow: 1; | |
| 3885 | + min-height: 0; | |
| 3846 | 3886 | } |
| 3847 | 3887 | |
| 3848 | -.global-styles-ui-screen-revisions__revision-item[role=option]:active, .global-styles-ui-screen-revisions__revision-item[role=option]:focus { | |
| 3849 | - box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color); | |
| 3850 | - outline: 2px solid transparent; | |
| 3888 | +.global-styles-ui-screen-revisions__actions { | |
| 3889 | + margin-inline-start: auto; | |
| 3851 | 3890 | } |
| 3852 | 3891 | |
| 3853 | -.global-styles-ui-screen-revisions__revision-item:hover { | |
| 3854 | - background: rgba(var(--wp-admin-theme-color--rgb), 0.04); | |
| 3855 | -} | |
| 3856 | - | |
| 3857 | -.global-styles-ui-screen-revisions__revision-item:hover .global-styles-ui-screen-revisions__date { | |
| 3858 | - color: var(--wp-admin-theme-color); | |
| 3859 | -} | |
| 3860 | - | |
| 3861 | -.global-styles-ui-screen-revisions__revision-item::before, .global-styles-ui-screen-revisions__revision-item::after { | |
| 3862 | - position: absolute; | |
| 3863 | - content: "\a"; | |
| 3864 | - display: block; | |
| 3865 | -} | |
| 3866 | - | |
| 3867 | -.global-styles-ui-screen-revisions__revision-item::before { | |
| 3868 | - background: #ddd; | |
| 3869 | - border-radius: 50%; | |
| 3870 | - height: 8px; | |
| 3871 | - width: 8px; | |
| 3872 | - top: 18px; | |
| 3873 | - left: 17px; | |
| 3874 | - transform: translate(-50%, -50%); | |
| 3875 | - z-index: 1; | |
| 3876 | - border: 4px solid transparent; | |
| 3877 | -} | |
| 3878 | - | |
| 3879 | -.global-styles-ui-screen-revisions__revision-item[aria-selected=true] { | |
| 3880 | - border-radius: 2px; | |
| 3881 | - outline: 3px solid transparent; | |
| 3882 | - outline-offset: -2px; | |
| 3883 | - color: var(--wp-admin-theme-color); | |
| 3884 | - background: rgba(var(--wp-admin-theme-color--rgb), 0.04); | |
| 3885 | -} | |
| 3886 | - | |
| 3887 | -.global-styles-ui-screen-revisions__revision-item[aria-selected=true] .global-styles-ui-screen-revisions__date { | |
| 3888 | - color: var(--wp-admin-theme-color); | |
| 3889 | -} | |
| 3890 | - | |
| 3891 | -.global-styles-ui-screen-revisions__revision-item[aria-selected=true]::before { | |
| 3892 | - background: var(--wp-admin-theme-color); | |
| 3893 | -} | |
| 3894 | - | |
| 3895 | -.global-styles-ui-screen-revisions__revision-item[aria-selected=true] .global-styles-ui-screen-revisions__changes > li, | |
| 3896 | -.global-styles-ui-screen-revisions__revision-item[aria-selected=true] .global-styles-ui-screen-revisions__meta { | |
| 3897 | - color: #1e1e1e; | |
| 3898 | -} | |
| 3899 | - | |
| 3900 | -.global-styles-ui-screen-revisions__revision-item::after { | |
| 3901 | - height: 100%; | |
| 3902 | - left: 16px; | |
| 3903 | - top: 0; | |
| 3904 | - width: 0; | |
| 3905 | - border: 0.5px solid #ddd; | |
| 3906 | -} | |
| 3907 | - | |
| 3908 | -.global-styles-ui-screen-revisions__revision-item:first-child::after { | |
| 3909 | - top: 18px; | |
| 3910 | -} | |
| 3911 | - | |
| 3912 | -.global-styles-ui-screen-revisions__revision-item:last-child::after { | |
| 3913 | - height: 18px; | |
| 3914 | -} | |
| 3915 | - | |
| 3916 | -.global-styles-ui-screen-revisions__revision-item-wrapper { | |
| 3917 | - display: block; | |
| 3918 | - padding: 12px 12px 4px 40px; | |
| 3919 | -} | |
| 3920 | - | |
| 3921 | -.global-styles-ui-screen-revisions__apply-button.is-primary, | |
| 3922 | -.global-styles-ui-screen-revisions__active-badge { | |
| 3923 | - align-self: flex-start; | |
| 3924 | - margin: 0 12px 12px 40px; | |
| 3925 | -} | |
| 3926 | - | |
| 3927 | -.global-styles-ui-screen-revisions__changes, | |
| 3928 | -.global-styles-ui-screen-revisions__meta { | |
| 3929 | - color: #757575; | |
| 3892 | +.global-styles-ui-screen-revisions__date { | |
| 3893 | + text-transform: uppercase; | |
| 3894 | + font-weight: var(--wpds-typography-font-weight-emphasis, 600); | |
| 3930 | 3895 | font-size: 12px; |
| 3931 | 3896 | } |
| 3932 | 3897 | |
| 3933 | 3898 | .global-styles-ui-screen-revisions__description { |
| @@ -3936,11 +3901,11 @@ | ||
| 3936 | 3901 | align-items: flex-start; |
| 3937 | 3902 | gap: 8px; |
| 3938 | 3903 | } |
| 3939 | 3904 | |
| 3940 | -.global-styles-ui-screen-revisions__description .global-styles-ui-screen-revisions__date { | |
| 3941 | - text-transform: uppercase; | |
| 3942 | - font-weight: var(--wpds-typography-font-weight-emphasis, 600); | |
| 3905 | +.global-styles-ui-screen-revisions__changes, | |
| 3906 | +.global-styles-ui-screen-revisions__meta { | |
| 3907 | + color: #2f2f2f; | |
| 3943 | 3908 | font-size: 12px; |
| 3944 | 3909 | } |
| 3945 | 3910 | |
| 3946 | 3911 | .global-styles-ui-screen-revisions__meta { |
| @@ -3946,11 +3911,10 @@ | ||
| 3946 | 3911 | .global-styles-ui-screen-revisions__meta { |
| 3947 | 3912 | display: flex; |
| 3948 | 3913 | justify-content: start; |
| 3949 | 3914 | width: 100%; |
| 3950 | - align-items: flex-start; | |
| 3915 | + align-items: center; | |
| 3951 | 3916 | text-align: left; |
| 3952 | - margin-bottom: 4px; | |
| 3953 | 3917 | } |
| 3954 | 3918 | |
| 3955 | 3919 | .global-styles-ui-screen-revisions__meta img { |
| 3956 | 3920 | width: 16px; |
| @@ -3958,16 +3922,12 @@ | ||
| 3958 | 3922 | border-radius: 100%; |
| 3959 | 3923 | margin-right: 8px; |
| 3960 | 3924 | } |
| 3961 | 3925 | |
| 3962 | -.global-styles-ui-screen-revisions__loading { | |
| 3963 | - margin: 24px auto !important; | |
| 3964 | -} | |
| 3965 | - | |
| 3966 | 3926 | .global-styles-ui-screen-revisions__changes { |
| 3967 | 3927 | text-align: left; |
| 3968 | 3928 | line-height: 1.4; |
| 3969 | - margin-left: 12px; | |
| 3929 | + margin: 0 0 0 12px; | |
| 3970 | 3930 | list-style: disc; |
| 3971 | 3931 | } |
| 3972 | 3932 | |
| 3973 | 3933 | .global-styles-ui-screen-revisions__changes li { |
| @@ -3973,47 +3933,8 @@ | ||
| 3973 | 3933 | .global-styles-ui-screen-revisions__changes li { |
| 3974 | 3934 | margin-bottom: 4px; |
| 3975 | 3935 | } |
| 3976 | 3936 | |
| 3977 | -.global-styles-ui-screen-revisions__pagination.global-styles-ui-screen-revisions__pagination { | |
| 3978 | - justify-content: space-between; | |
| 3979 | - gap: 2px; | |
| 3980 | -} | |
| 3981 | - | |
| 3982 | -.global-styles-ui-screen-revisions__pagination.global-styles-ui-screen-revisions__pagination .edit-site-pagination__total { | |
| 3983 | - position: absolute; | |
| 3984 | - left: -1000px; | |
| 3985 | - height: 1px; | |
| 3986 | - margin: -1px; | |
| 3987 | - overflow: hidden; | |
| 3988 | -} | |
| 3989 | - | |
| 3990 | -.global-styles-ui-screen-revisions__pagination.global-styles-ui-screen-revisions__pagination .components-text { | |
| 3991 | - font-size: 12px; | |
| 3992 | - will-change: opacity; | |
| 3993 | -} | |
| 3994 | - | |
| 3995 | -.global-styles-ui-screen-revisions__pagination.global-styles-ui-screen-revisions__pagination .components-button.is-tertiary { | |
| 3996 | - color: #1e1e1e; | |
| 3997 | -} | |
| 3998 | - | |
| 3999 | -.global-styles-ui-screen-revisions__pagination.global-styles-ui-screen-revisions__pagination .components-button.is-tertiary:disabled, | |
| 4000 | -.global-styles-ui-screen-revisions__pagination.global-styles-ui-screen-revisions__pagination .components-button.is-tertiary[aria-disabled=true] { | |
| 4001 | - color: #949494; | |
| 4002 | -} | |
| 4003 | - | |
| 4004 | -.global-styles-ui-screen-revisions__footer { | |
| 4005 | - height: 56px; | |
| 4006 | - z-index: 1; | |
| 4007 | - position: sticky; | |
| 4008 | - min-width: 100%; | |
| 4009 | - bottom: 0; | |
| 4010 | - background: #fff; | |
| 4011 | - padding: 12px; | |
| 4012 | - border-top: 1px solid #ddd; | |
| 4013 | - box-sizing: border-box; | |
| 4014 | -} | |
| 4015 | - | |
| 4016 | 3937 | .global-styles-ui-variations_item { |
| 4017 | 3938 | box-sizing: border-box; |
| 4018 | 3939 | cursor: var(--wpds-cursor-control, pointer); |
| 4019 | 3940 | } |
| @@ -4094,13 +4015,34 @@ | ||
| 4094 | 4015 | justify-content: center; |
| 4095 | 4016 | border-radius: 2px; |
| 4096 | 4017 | } |
| 4097 | 4018 | |
| 4019 | +.global-styles-ui-block-types-filter { | |
| 4020 | + margin-bottom: 12px; | |
| 4021 | + padding: 0 16px; | |
| 4022 | +} | |
| 4023 | + | |
| 4098 | 4024 | .global-styles-ui-block-types-search { |
| 4099 | - margin-bottom: 10px; | |
| 4100 | - padding: 0 16px; | |
| 4025 | + flex-grow: 1; | |
| 4101 | 4026 | } |
| 4102 | 4027 | |
| 4028 | +.global-styles-ui-block-types-item-list .global-styles-ui-block-types-item__icon { | |
| 4029 | + min-width: 24px; | |
| 4030 | +} | |
| 4031 | + | |
| 4032 | +.global-styles-ui-block-types-item-list__no-results { | |
| 4033 | + padding-top: 16px; | |
| 4034 | +} | |
| 4035 | + | |
| 4036 | +.global-styles-ui-block-types-item__indicator { | |
| 4037 | + background: var(--wp-admin-theme-color); | |
| 4038 | + border-radius: 50%; | |
| 4039 | + flex: none; | |
| 4040 | + height: 6px; | |
| 4041 | + margin-left: auto; | |
| 4042 | + width: 6px; | |
| 4043 | +} | |
| 4044 | + | |
| 4103 | 4045 | .global-styles-ui-screen-typography__font-variants-count { |
| 4104 | 4046 | color: #757575; |
| 4105 | 4047 | } |
| 4106 | 4048 | |
| @@ -4142,10 +4084,20 @@ | ||
| 4142 | 4084 | |
| 4143 | 4085 | .global-styles-ui__color-indicator-wrapper { |
| 4144 | 4086 | height: 24px; |
| 4145 | 4087 | flex-shrink: 0; |
| 4088 | + display: flex; | |
| 4089 | + align-items: center; | |
| 4146 | 4090 | } |
| 4147 | 4091 | |
| 4092 | +.global-styles-ui__palette-preview { | |
| 4093 | + display: inline-flex; | |
| 4094 | +} | |
| 4095 | + | |
| 4096 | +.global-styles-ui__palette-preview > * + * { | |
| 4097 | + margin-inline-start: -8px; | |
| 4098 | +} | |
| 4099 | + | |
| 4148 | 4100 | .global-styles-ui__shadows-panel__options-container, |
| 4149 | 4101 | .global-styles-ui__typography-panel__options-container { |
| 4150 | 4102 | height: 24px; |
| 4151 | 4103 | } |
| @@ -4157,9 +4109,10 @@ | ||
| 4157 | 4109 | border-radius: 2px; |
| 4158 | 4110 | overflow: hidden; |
| 4159 | 4111 | } |
| 4160 | 4112 | |
| 4161 | -.global-styles-ui__shadow-preview-panel { | |
| 4113 | +.global-styles-ui__shadow-preview-panel, | |
| 4114 | +.global-styles-ui__text-shadow-preview-panel { | |
| 4162 | 4115 | height: 144px; |
| 4163 | 4116 | border: #ddd 1px solid; |
| 4164 | 4117 | border-radius: 2px; |
| 4165 | 4118 | overflow: auto; |
| @@ -4169,9 +4122,9 @@ | ||
| 4169 | 4122 | /*rtl:end:ignore*/ |
| 4170 | 4123 | background-size: 16px 16px; |
| 4171 | 4124 | } |
| 4172 | 4125 | |
| 4173 | -.global-styles-ui__shadow-preview-panel .global-styles-ui__shadow-preview-block { | |
| 4126 | +.global-styles-ui__shadow-preview-block { | |
| 4174 | 4127 | border: #ddd 1px solid; |
| 4175 | 4128 | border-radius: 2px; |
| 4176 | 4129 | background-color: #fff; |
| 4177 | 4130 | width: 60%; |
| @@ -4177,22 +4130,44 @@ | ||
| 4177 | 4130 | width: 60%; |
| 4178 | 4131 | height: 60px; |
| 4179 | 4132 | } |
| 4180 | 4133 | |
| 4181 | -.global-styles-ui__shadow-editor__dropdown-content { | |
| 4134 | +.global-styles-ui__text-shadow-preview-panel { | |
| 4135 | + margin-block: -8px 16px; | |
| 4136 | +} | |
| 4137 | + | |
| 4138 | +.global-styles-ui__text-shadow-preview-text { | |
| 4139 | + font-size: 24px; | |
| 4140 | +} | |
| 4141 | + | |
| 4142 | +.global-styles-ui__text-shadow-editor__header { | |
| 4143 | + margin-block-end: 8px; | |
| 4144 | +} | |
| 4145 | + | |
| 4146 | +.global-styles-ui__text-shadow-editor__inputs { | |
| 4147 | + display: grid; | |
| 4148 | + grid-template-columns: repeat(2, 1fr); | |
| 4149 | + gap: 16px; | |
| 4150 | +} | |
| 4151 | + | |
| 4152 | +.global-styles-ui__shadow-editor__dropdown-content, | |
| 4153 | +.global-styles-ui__text-shadow-editor__dropdown-content { | |
| 4182 | 4154 | width: 280px; |
| 4183 | 4155 | } |
| 4184 | 4156 | |
| 4185 | -.global-styles-ui__shadow-editor-panel { | |
| 4157 | +.global-styles-ui__shadow-editor-panel, | |
| 4158 | +.global-styles-ui__text-shadow-editor-panel { | |
| 4186 | 4159 | margin-bottom: 4px; |
| 4187 | 4160 | } |
| 4188 | 4161 | |
| 4189 | -.global-styles-ui__shadow-editor__dropdown { | |
| 4162 | +.global-styles-ui__shadow-editor__dropdown, | |
| 4163 | +.global-styles-ui__text-shadow-editor__dropdown { | |
| 4190 | 4164 | width: 100%; |
| 4191 | 4165 | position: relative; |
| 4192 | 4166 | } |
| 4193 | 4167 | |
| 4194 | -.global-styles-ui__shadow-editor__dropdown-toggle { | |
| 4168 | +.global-styles-ui__shadow-editor__dropdown-toggle, | |
| 4169 | +.global-styles-ui__text-shadow-editor__dropdown-toggle { | |
| 4195 | 4170 | width: 100%; |
| 4196 | 4171 | height: auto; |
| 4197 | 4172 | padding-top: 8px; |
| 4198 | 4173 | padding-bottom: 8px; |
| @@ -4199,14 +4174,16 @@ | ||
| 4199 | 4174 | text-align: left; |
| 4200 | 4175 | border-radius: inherit; |
| 4201 | 4176 | } |
| 4202 | 4177 | |
| 4203 | -.global-styles-ui__shadow-editor__dropdown-toggle.is-open { | |
| 4178 | +.global-styles-ui__shadow-editor__dropdown-toggle.is-open, | |
| 4179 | +.global-styles-ui__text-shadow-editor__dropdown-toggle.is-open { | |
| 4204 | 4180 | background: #f0f0f0; |
| 4205 | 4181 | color: var(--wp-admin-theme-color); |
| 4206 | 4182 | } |
| 4207 | 4183 | |
| 4208 | -.global-styles-ui__shadow-editor__remove-button { | |
| 4184 | +.global-styles-ui__shadow-editor__remove-button, | |
| 4185 | +.global-styles-ui__text-shadow-editor__remove-button { | |
| 4209 | 4186 | position: absolute; |
| 4210 | 4187 | right: 8px; |
| 4211 | 4188 | top: 8px; |
| 4212 | 4189 | opacity: 0; |
| @@ -4211,18 +4188,19 @@ | ||
| 4211 | 4188 | top: 8px; |
| 4212 | 4189 | opacity: 0; |
| 4213 | 4190 | } |
| 4214 | 4191 | |
| 4215 | -.global-styles-ui__shadow-editor__remove-button.global-styles-ui__shadow-editor__remove-button { | |
| 4216 | - border: none; | |
| 4217 | -} | |
| 4218 | - | |
| 4219 | -.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 { | |
| 4192 | +.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, | |
| 4193 | +.global-styles-ui__shadow-editor__dropdown-toggle:hover + .global-styles-ui__text-shadow-editor__remove-button, | |
| 4194 | +.global-styles-ui__text-shadow-editor__dropdown-toggle:hover + .global-styles-ui__text-shadow-editor__remove-button, | |
| 4195 | +.global-styles-ui__text-shadow-editor__remove-button:focus, | |
| 4196 | +.global-styles-ui__text-shadow-editor__remove-button:hover { | |
| 4220 | 4197 | opacity: 1; |
| 4221 | 4198 | } |
| 4222 | 4199 | |
| 4223 | 4200 | @media (hover: none) { |
| 4224 | - .global-styles-ui__shadow-editor__remove-button { | |
| 4201 | + .global-styles-ui__shadow-editor__remove-button, | |
| 4202 | + .global-styles-ui__text-shadow-editor__remove-button { | |
| 4225 | 4203 | opacity: 1; |
| 4226 | 4204 | } |
| 4227 | 4205 | } |
| 4228 | 4206 | .global-styles-ui-screen-css { |
| @@ -4306,9 +4284,10 @@ | ||
| 4306 | 4284 | clip-path: border-box; |
| 4307 | 4285 | } |
| 4308 | 4286 | |
| 4309 | 4287 | .global-styles-ui-color-palette-panel, |
| 4310 | -.global-styles-ui-gradient-palette-panel { | |
| 4288 | +.global-styles-ui-gradient-palette-panel, | |
| 4289 | +.global-styles-ui-duotone-palette-panel { | |
| 4311 | 4290 | padding: 16px; |
| 4312 | 4291 | } |
| 4313 | 4292 | |
| 4314 | 4293 | .edit-site-custom-template-modal__contents-wrapper { |
| @@ -4317,13 +4296,8 @@ | ||
| 4317 | 4296 | } |
| 4318 | 4297 | .edit-site-custom-template-modal__contents-wrapper > * { |
| 4319 | 4298 | width: 100%; |
| 4320 | 4299 | } |
| 4321 | -.edit-site-custom-template-modal__contents-wrapper__suggestions_list { | |
| 4322 | - margin-left: -12px; | |
| 4323 | - margin-right: -12px; | |
| 4324 | - width: calc(100% + 24px); | |
| 4325 | -} | |
| 4326 | 4300 | .edit-site-custom-template-modal__contents > .components-button { |
| 4327 | 4301 | height: auto; |
| 4328 | 4302 | justify-content: center; |
| 4329 | 4303 | } |
| @@ -4333,10 +4307,14 @@ | ||
| 4333 | 4307 | } |
| 4334 | 4308 | } |
| 4335 | 4309 | @media (min-width: 600px) { |
| 4336 | 4310 | .edit-site-custom-template-modal .edit-site-custom-template-modal__suggestions_list { |
| 4337 | - max-height: 224px; | |
| 4338 | 4311 | overflow-y: auto; |
| 4312 | + max-height: calc(224px + 4 * var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px))); | |
| 4313 | + padding: calc(2 * var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px))); | |
| 4314 | + margin-inline: calc(-2 * var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px))); | |
| 4315 | + width: calc(100% + 4 * var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px))); | |
| 4316 | + scroll-padding-block: calc(2 * var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px))); | |
| 4339 | 4317 | } |
| 4340 | 4318 | } |
| 4341 | 4319 | .edit-site-custom-template-modal .edit-site-custom-template-modal__suggestions_list__list-item { |
| 4342 | 4320 | display: block; |
| @@ -4362,11 +4340,8 @@ | ||
| 4362 | 4340 | } |
| 4363 | 4341 | .edit-site-custom-template-modal .edit-site-custom-template-modal__suggestions_list__list-item:focus { |
| 4364 | 4342 | background-color: #f0f0f0; |
| 4365 | 4343 | } |
| 4366 | -.edit-site-custom-template-modal .edit-site-custom-template-modal__suggestions_list__list-item:focus:not(:disabled) { | |
| 4367 | - box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color) inset; | |
| 4368 | -} | |
| 4369 | 4344 | .edit-site-custom-template-modal .edit-site-custom-template-modal__suggestions_list__list-item__title, .edit-site-custom-template-modal .edit-site-custom-template-modal__suggestions_list__list-item__info { |
| 4370 | 4345 | overflow: hidden; |
| 4371 | 4346 | text-overflow: ellipsis; |
| 4372 | 4347 | display: block; |
| @@ -4398,14 +4373,10 @@ | ||
| 4398 | 4373 | } |
| 4399 | 4374 | } |
| 4400 | 4375 | .edit-site-add-new-template__modal .edit-site-add-new-template__template-button svg, |
| 4401 | 4376 | .edit-site-add-new-template__modal .edit-site-add-new-template__custom-template-button svg { |
| 4402 | - fill: var(--wp-admin-theme-color); | |
| 4377 | + color: var(--wp-admin-theme-color); | |
| 4403 | 4378 | } |
| 4404 | -.edit-site-add-new-template__modal .edit-site-add-new-template__custom-template-button .edit-site-add-new-template__template-name { | |
| 4405 | - flex-grow: 1; | |
| 4406 | - align-items: flex-start; | |
| 4407 | -} | |
| 4408 | 4379 | .edit-site-add-new-template__modal .edit-site-add-new-template__template-icon { |
| 4409 | 4380 | padding: 8px; |
| 4410 | 4381 | background: rgba(var(--wp-admin-theme-color--rgb), 0.04); |
| 4411 | 4382 | border-radius: 100%; |
| @@ -4419,9 +4390,8 @@ | ||
| 4419 | 4390 | display: flex; |
| 4420 | 4391 | flex-direction: column; |
| 4421 | 4392 | border: 1px solid #ddd; |
| 4422 | 4393 | justify-content: center; |
| 4423 | - outline: 1px solid transparent; | |
| 4424 | 4394 | } |
| 4425 | 4395 | .edit-site-custom-template-modal__contents > .components-button span:first-child, |
| 4426 | 4396 | .edit-site-add-new-template__template-list__contents > .components-button span:first-child { |
| 4427 | 4397 | color: #1e1e1e; |
| @@ -4439,14 +4409,8 @@ | ||
| 4439 | 4409 | .edit-site-custom-template-modal__contents > .components-button:hover span, |
| 4440 | 4410 | .edit-site-add-new-template__template-list__contents > .components-button:hover span { |
| 4441 | 4411 | color: var(--wp-admin-theme-color); |
| 4442 | 4412 | } |
| 4443 | -.edit-site-custom-template-modal__contents > .components-button:focus, | |
| 4444 | -.edit-site-add-new-template__template-list__contents > .components-button:focus { | |
| 4445 | - box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color); | |
| 4446 | - border-color: transparent; | |
| 4447 | - outline: 3px solid transparent; | |
| 4448 | -} | |
| 4449 | 4413 | .edit-site-custom-template-modal__contents > .components-button:focus span:first-child, |
| 4450 | 4414 | .edit-site-add-new-template__template-list__contents > .components-button:focus span:first-child { |
| 4451 | 4415 | color: var(--wp-admin-theme-color); |
| 4452 | 4416 | } |
| @@ -4458,10 +4422,12 @@ | ||
| 4458 | 4422 | } |
| 4459 | 4423 | |
| 4460 | 4424 | .edit-site-add-new-template__template-list__contents > .components-button { |
| 4461 | 4425 | height: 100%; |
| 4426 | + padding: 16px; | |
| 4462 | 4427 | text-align: start; |
| 4463 | 4428 | align-items: flex-start; |
| 4429 | + justify-content: flex-start; | |
| 4464 | 4430 | } |
| 4465 | 4431 | |
| 4466 | 4432 | .edit-site-visual-editor__editor-canvas.is-focused { |
| 4467 | 4433 | outline: calc(2 * var(--wp-admin-border-width-focus)) solid var(--wp-admin-theme-color); |
| @@ -4468,8 +4434,9 @@ | ||
| 4468 | 4434 | outline-offset: calc(-2 * var(--wp-admin-border-width-focus)); |
| 4469 | 4435 | } |
| 4470 | 4436 | |
| 4471 | 4437 | .edit-site-canvas-loader { |
| 4438 | + --wp-components-color-foreground: var(--color); | |
| 4472 | 4439 | width: 100%; |
| 4473 | 4440 | height: 100%; |
| 4474 | 4441 | display: flex; |
| 4475 | 4442 | position: absolute; |
| @@ -4484,11 +4451,8 @@ | ||
| 4484 | 4451 | animation: 0.5s ease 0.2s edit-site-canvas-loader__fade-in-animation; |
| 4485 | 4452 | animation-fill-mode: forwards; |
| 4486 | 4453 | } |
| 4487 | 4454 | } |
| 4488 | -.edit-site-canvas-loader > div { | |
| 4489 | - width: 160px; | |
| 4490 | -} | |
| 4491 | 4455 | |
| 4492 | 4456 | @keyframes edit-site-canvas-loader__fade-in-animation { |
| 4493 | 4457 | from { |
| 4494 | 4458 | opacity: 0; |
| @@ -4555,8 +4519,9 @@ | ||
| 4555 | 4519 | |
| 4556 | 4520 | .edit-site-page-patterns-dataviews .dataviews-view-grid__badge-fields .dataviews-view-grid__field-value:has(.fields-field__pattern-sync-status-fully) { |
| 4557 | 4521 | background: rgba(var(--wp-block-synced-color--rgb), 0.04); |
| 4558 | 4522 | color: var(--wp-block-synced-color); |
| 4523 | + border-color: currentColor; | |
| 4559 | 4524 | } |
| 4560 | 4525 | |
| 4561 | 4526 | .dataviews-action-modal__duplicate-pattern [role=dialog] > [role=document] { |
| 4562 | 4527 | width: 350px; |
| @@ -4671,10 +4636,9 @@ | ||
| 4671 | 4636 | } |
| 4672 | 4637 | .edit-site-welcome-guide__image > img { |
| 4673 | 4638 | display: block; |
| 4674 | 4639 | max-width: 100%; |
| 4675 | - -o-object-fit: cover; | |
| 4676 | - object-fit: cover; | |
| 4640 | + object-fit: cover; | |
| 4677 | 4641 | } |
| 4678 | 4642 | .edit-site-welcome-guide__heading { |
| 4679 | 4643 | font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; |
| 4680 | 4644 | font-size: 24px; |
| @@ -4695,9 +4659,9 @@ | ||
| 4695 | 4659 | margin: 0 4px; |
| 4696 | 4660 | vertical-align: text-top; |
| 4697 | 4661 | } |
| 4698 | 4662 | .edit-site-welcome-guide .components-button:hover svg { |
| 4699 | - fill: #fff; | |
| 4663 | + color: #fff; | |
| 4700 | 4664 | } |
| 4701 | 4665 | |
| 4702 | 4666 | .edit-site-layout { |
| 4703 | 4667 | height: 100%; |
| @@ -4895,9 +4859,9 @@ | ||
| 4895 | 4859 | } |
| 4896 | 4860 | |
| 4897 | 4861 | .edit-site-layout__snackbar { |
| 4898 | 4862 | position: fixed; |
| 4899 | - bottom: 24px; | |
| 4863 | + bottom: var(--wpds-dimension-size-md, 32px); | |
| 4900 | 4864 | left: 0; |
| 4901 | 4865 | right: 0; |
| 4902 | 4866 | padding-inline: 16px; |
| 4903 | 4867 | box-sizing: border-box; |
| @@ -5041,14 +5005,11 @@ | ||
| 5041 | 5005 | padding: 8px 6px 8px 16px; |
| 5042 | 5006 | border: none; |
| 5043 | 5007 | min-height: 40px; |
| 5044 | 5008 | } |
| 5045 | -.edit-site-sidebar-navigation-item.components-item:hover, .edit-site-sidebar-navigation-item.components-item:focus, .edit-site-sidebar-navigation-item.components-item[aria-current=true] { | |
| 5009 | +.edit-site-sidebar-navigation-item.components-item:focus, .edit-site-sidebar-navigation-item.components-item[aria-current=true], .edit-site-sidebar-navigation-item.components-item.edit-site-sidebar-navigation-item.components-item:hover { | |
| 5046 | 5010 | color: var(--wpds-color-foreground-interactive-neutral-weak-active, #1e1e1e); |
| 5047 | 5011 | } |
| 5048 | -.edit-site-sidebar-navigation-item.components-item:hover .edit-site-sidebar-navigation-item__drilldown-indicator, .edit-site-sidebar-navigation-item.components-item:focus .edit-site-sidebar-navigation-item__drilldown-indicator, .edit-site-sidebar-navigation-item.components-item[aria-current=true] .edit-site-sidebar-navigation-item__drilldown-indicator { | |
| 5049 | - fill: var(--wpds-color-foreground-interactive-neutral-weak-active, #1e1e1e); | |
| 5050 | -} | |
| 5051 | 5012 | .edit-site-sidebar-navigation-item.components-item[aria-current=true] { |
| 5052 | 5013 | background: var(--wpds-color-background-interactive-neutral-weak-active, #ededed); |
| 5053 | 5014 | color: var(--wpds-color-foreground-interactive-neutral-weak-active, #1e1e1e); |
| 5054 | 5015 | font-weight: var(--wpds-typography-font-weight-emphasis, 600); |
| @@ -5056,11 +5017,8 @@ | ||
| 5056 | 5017 | .edit-site-sidebar-navigation-item.components-item:focus-visible { |
| 5057 | 5018 | --wp-components-color-accent: var(--wpds-color-stroke-focus, var(--wp-admin-theme-color, #3858e9)); |
| 5058 | 5019 | transform: translateZ(0); |
| 5059 | 5020 | } |
| 5060 | -.edit-site-sidebar-navigation-item.components-item .edit-site-sidebar-navigation-item__drilldown-indicator { | |
| 5061 | - fill: var(--wpds-color-foreground-interactive-neutral-weak, #707070); | |
| 5062 | -} | |
| 5063 | 5021 | .edit-site-sidebar-navigation-item.components-item.with-suffix { |
| 5064 | 5022 | padding-right: 16px; |
| 5065 | 5023 | } |
| 5066 | 5024 | |
| @@ -5270,13 +5228,8 @@ | ||
| 5270 | 5228 | margin-left: -16px; |
| 5271 | 5229 | margin-right: -16px; |
| 5272 | 5230 | } |
| 5273 | 5231 | |
| 5274 | -.edit-site-sidebar-navigation-screen-templates-browse { | |
| 5275 | - margin-left: -16px; | |
| 5276 | - margin-right: -16px; | |
| 5277 | -} | |
| 5278 | - | |
| 5279 | 5232 | .edit-site-sidebar-dataviews { |
| 5280 | 5233 | margin-left: -16px; |
| 5281 | 5234 | margin-right: -16px; |
| 5282 | 5235 | } |
| @@ -5384,9 +5337,8 @@ | ||
| 5384 | 5337 | } |
| 5385 | 5338 | body:has(.edit-site-resizable-frame__inner.is-resizing) { |
| 5386 | 5339 | cursor: col-resize; |
| 5387 | 5340 | -webkit-user-select: none; |
| 5388 | - -moz-user-select: none; | |
| 5389 | 5341 | user-select: none; |
| 5390 | 5342 | } |
| 5391 | 5343 | |
| 5392 | 5344 | .edit-site-resizable-frame__inner.is-resizing::before { |
| @@ -5470,8 +5422,14 @@ | ||
| 5470 | 5422 | .edit-site-styles .edit-site-sidebar-button { |
| 5471 | 5423 | color: var(--wpds-color-foreground-interactive-neutral, #1e1e1e); |
| 5472 | 5424 | } |
| 5473 | 5425 | |
| 5426 | +.edit-site-styles__content { | |
| 5427 | + flex-grow: 1; | |
| 5428 | + min-height: 0; | |
| 5429 | + background-color: var(--wpds-color-background-surface-neutral-strong, #fff); | |
| 5430 | +} | |
| 5431 | + | |
| 5474 | 5432 | .show-icon-labels .edit-site-styles__header-actions .components-button.has-icon { |
| 5475 | 5433 | width: auto; |
| 5476 | 5434 | padding: 0 var(--wpds-dimension-padding-xs, 4px); |
| 5477 | 5435 | } |
| @@ -5482,8 +5440,16 @@ | ||
| 5482 | 5440 | content: attr(aria-label); |
| 5483 | 5441 | font-size: var(--wpds-typography-font-size-sm, 12px); |
| 5484 | 5442 | } |
| 5485 | 5443 | |
| 5444 | +.edit-site-sidebar-identity__form { | |
| 5445 | + flex-grow: 1; | |
| 5446 | + min-height: 0; | |
| 5447 | + overflow: auto; | |
| 5448 | + background-color: var(--wpds-color-background-surface-neutral-strong, #fff); | |
| 5449 | + padding: var(--wpds-dimension-padding-lg, 16px) var(--wpds-dimension-padding-2xl, 24px); | |
| 5450 | +} | |
| 5451 | + | |
| 5486 | 5452 | ::view-transition-image-pair(root) { |
| 5487 | 5453 | isolation: auto; |
| 5488 | 5454 | } |
| 5489 | 5455 | |
| @@ -5545,11 +5511,12 @@ | ||
| 5545 | 5511 | } |
| 5546 | 5512 | @media (min-width: 782px) { |
| 5547 | 5513 | body.js.site-editor-php:has(.editor-editor-interface.is-distraction-free) { |
| 5548 | 5514 | --wp-admin--admin-bar--height: 0px; |
| 5515 | + --wp-editor-admin-bar-display: none; | |
| 5549 | 5516 | } |
| 5550 | - body.js.site-editor-php:has(.editor-editor-interface.is-distraction-free) #wpadminbar { | |
| 5551 | - display: none; | |
| 5517 | + body.js.site-editor-php #wpadminbar { | |
| 5518 | + display: var(--wp-editor-admin-bar-display, block); | |
| 5552 | 5519 | } |
| 5553 | 5520 | } |
| 5554 | 5521 | |
| 5555 | 5522 | .edit-site { |