| @@ -167,12 +167,13 @@ | ||
| 167 | 167 | min-height: 36px; |
| 168 | 168 | text-align: left; |
| 169 | 169 | width: 100%; |
| 170 | 170 | font-weight: var(--wpds-typography-font-weight-default, 400); |
| 171 | + position: relative; | |
| 171 | 172 | } |
| 172 | -.components-autocomplete__result.components-button:focus:not(:disabled) { | |
| 173 | - box-shadow: inset 0 0 0 1px #fff, 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color); | |
| 174 | - outline: 2px solid transparent; | |
| 173 | +.components-autocomplete__result.components-button:focus:not(:disabled):not(:active) { | |
| 174 | + box-shadow: 0 0 0 calc(2 * var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)) + 2px) var(--wpds-color-background-surface-neutral-strong, #fff); | |
| 175 | + z-index: 1; | |
| 175 | 176 | } |
| 176 | 177 | |
| 177 | 178 | .components-badge { |
| 178 | 179 | box-sizing: border-box; |
| @@ -278,11 +279,9 @@ | ||
| 278 | 279 | font-size: 13px; |
| 279 | 280 | font-weight: var(--wpds-typography-font-weight-emphasis, 600); |
| 280 | 281 | margin: 0; |
| 281 | 282 | cursor: var(--wpds-cursor-control, pointer); |
| 282 | - -webkit-appearance: none; | |
| 283 | - -moz-appearance: none; | |
| 284 | - appearance: none; | |
| 283 | + appearance: none; | |
| 285 | 284 | background: none; |
| 286 | 285 | height: 36px; |
| 287 | 286 | align-items: center; |
| 288 | 287 | box-sizing: border-box; |
| @@ -533,13 +532,8 @@ | ||
| 533 | 532 | fill: currentColor; |
| 534 | 533 | outline: none; |
| 535 | 534 | flex-shrink: 0; |
| 536 | 535 | } |
| 537 | -@media (forced-colors: active) { | |
| 538 | - .components-button svg { | |
| 539 | - fill: CanvasText; | |
| 540 | - } | |
| 541 | -} | |
| 542 | 536 | |
| 543 | 537 | @keyframes components-button__busy-animation { |
| 544 | 538 | 0% { |
| 545 | 539 | background-position: 200px 0; |
| @@ -558,8 +552,9 @@ | ||
| 558 | 552 | } |
| 559 | 553 | |
| 560 | 554 | .components-checkbox-control__label { |
| 561 | 555 | line-height: var(--checkbox-input-size); |
| 556 | + color: var(--wpds-color-foreground-content-neutral, #1e1e1e); | |
| 562 | 557 | } |
| 563 | 558 | .components-checkbox-control:not(:has(:disabled)) .components-checkbox-control__label { |
| 564 | 559 | cursor: var(--wpds-cursor-control, pointer); |
| 565 | 560 | } |
| @@ -564,9 +559,9 @@ | ||
| 564 | 559 | cursor: var(--wpds-cursor-control, pointer); |
| 565 | 560 | } |
| 566 | 561 | |
| 567 | 562 | .components-checkbox-control__input[type=checkbox] { |
| 568 | - border: 1px solid #1e1e1e; | |
| 563 | + border: var(--wpds-border-width-xs, 1px) solid var(--wpds-color-stroke-interactive-neutral, #8d8d8d); | |
| 569 | 564 | margin-right: 12px; |
| 570 | 565 | transition: none; |
| 571 | 566 | border-radius: 2px; |
| 572 | 567 | font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; |
| @@ -584,9 +579,9 @@ | ||
| 584 | 579 | /* Override core line-height. To be reviewed. */ |
| 585 | 580 | line-height: normal; |
| 586 | 581 | } |
| 587 | 582 | } |
| 588 | -.components-checkbox-control__input[type=checkbox]:hover:not(:disabled, [aria-disabled=true], [type=checkbox]) { | |
| 583 | +.components-checkbox-control__input[type=checkbox]:hover:not(:disabled, [aria-disabled=true]) { | |
| 589 | 584 | border-color: var(--wpds-color-stroke-interactive-neutral-active, #6e6e6e); |
| 590 | 585 | } |
| 591 | 586 | .components-checkbox-control__input[type=checkbox]:focus { |
| 592 | 587 | 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))); |
| @@ -593,13 +588,13 @@ | ||
| 593 | 588 | outline-offset: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)); |
| 594 | 589 | border-color: var(--wpds-color-stroke-interactive-neutral, #8d8d8d); |
| 595 | 590 | box-shadow: none; |
| 596 | 591 | } |
| 597 | -.components-checkbox-control__input[type=checkbox]::-moz-placeholder { | |
| 592 | +.components-checkbox-control__input[type=checkbox]::placeholder { | |
| 598 | 593 | color: rgba(30, 30, 30, 0.62); |
| 599 | 594 | } |
| 600 | -.components-checkbox-control__input[type=checkbox]::placeholder { | |
| 601 | - color: rgba(30, 30, 30, 0.62); | |
| 595 | +.components-checkbox-control__input[type=checkbox]:hover:not(:disabled, [aria-disabled=true]) { | |
| 596 | + background: var(--wpds-color-background-interactive-neutral-active, #fff); | |
| 602 | 597 | } |
| 603 | 598 | .components-checkbox-control__input[type=checkbox]:focus { |
| 604 | 599 | box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--wp-admin-theme-color); |
| 605 | 600 | outline: 2px solid transparent; |
| @@ -627,9 +622,9 @@ | ||
| 627 | 622 | display: inline-block; |
| 628 | 623 | vertical-align: middle; |
| 629 | 624 | width: 16px; |
| 630 | 625 | /* stylelint-disable-next-line font-family-no-missing-generic-family-keyword -- dashicons don't need a generic family keyword. */ |
| 631 | - font: normal 30px/1 dashicons; | |
| 626 | + font: 400 30px/1 dashicons; | |
| 632 | 627 | speak: none; |
| 633 | 628 | -webkit-font-smoothing: antialiased; |
| 634 | 629 | -moz-osx-font-smoothing: grayscale; |
| 635 | 630 | } |
| @@ -639,13 +634,17 @@ | ||
| 639 | 634 | font-size: 21px; |
| 640 | 635 | } |
| 641 | 636 | } |
| 642 | 637 | .components-checkbox-control__input[type=checkbox][aria-disabled=true], .components-checkbox-control__input[type=checkbox]:disabled { |
| 643 | - background: #f0f0f0; | |
| 644 | - border-color: #ddd; | |
| 638 | + background: var(--wpds-color-background-interactive-neutral-disabled, #fff); | |
| 639 | + border-color: var(--wpds-color-stroke-interactive-neutral-disabled, #dbdbdb); | |
| 640 | + color: var(--wpds-color-foreground-interactive-neutral-disabled, #8d8d8d); | |
| 645 | 641 | cursor: default; |
| 646 | 642 | opacity: 1; |
| 647 | 643 | } |
| 644 | +.components-checkbox-control__input[type=checkbox][aria-disabled=true]:checked::before, .components-checkbox-control__input[type=checkbox][aria-disabled=true][aria-checked=mixed]::before, .components-checkbox-control__input[type=checkbox]:disabled:checked::before, .components-checkbox-control__input[type=checkbox]:disabled[aria-checked=mixed]::before { | |
| 645 | + color: var(--wpds-color-foreground-interactive-neutral-disabled, #8d8d8d); | |
| 646 | +} | |
| 648 | 647 | .components-checkbox-control__input[type=checkbox] { |
| 649 | 648 | background: #fff; |
| 650 | 649 | color: #1e1e1e; |
| 651 | 650 | clear: none; |
| @@ -657,11 +656,9 @@ | ||
| 657 | 656 | text-align: center; |
| 658 | 657 | vertical-align: top; |
| 659 | 658 | width: var(--checkbox-input-size); |
| 660 | 659 | height: var(--checkbox-input-size); |
| 661 | - -webkit-appearance: none; | |
| 662 | - -moz-appearance: none; | |
| 663 | - appearance: none; | |
| 660 | + appearance: none; | |
| 664 | 661 | } |
| 665 | 662 | @media not (prefers-reduced-motion) { |
| 666 | 663 | .components-checkbox-control__input[type=checkbox] { |
| 667 | 664 | transition: 0.1s border-color ease-in-out; |
| @@ -695,32 +692,24 @@ | ||
| 695 | 692 | } |
| 696 | 693 | |
| 697 | 694 | svg.components-checkbox-control__checked, |
| 698 | 695 | svg.components-checkbox-control__indeterminate { |
| 699 | - --checkmark-size: var(--checkbox-input-size); | |
| 700 | - fill: #fff; | |
| 696 | + color: #fff; | |
| 701 | 697 | cursor: var(--wpds-cursor-control, pointer); |
| 702 | 698 | position: absolute; |
| 703 | 699 | left: 50%; |
| 704 | 700 | top: 50%; |
| 705 | 701 | transform: translate(-50%, -50%); |
| 706 | - width: var(--checkmark-size); | |
| 707 | - height: var(--checkmark-size); | |
| 702 | + width: var(--checkbox-input-size); | |
| 703 | + height: var(--checkbox-input-size); | |
| 708 | 704 | -webkit-user-select: none; |
| 709 | - -moz-user-select: none; | |
| 710 | 705 | user-select: none; |
| 711 | 706 | pointer-events: none; |
| 712 | 707 | } |
| 713 | -@media (min-width: 600px) { | |
| 714 | - svg.components-checkbox-control__checked, | |
| 715 | - svg.components-checkbox-control__indeterminate { | |
| 716 | - --checkmark-size: calc(var(--checkbox-input-size) + 4px); | |
| 717 | - } | |
| 718 | -} | |
| 719 | 708 | |
| 720 | 709 | .components-checkbox-control:has(:disabled) svg.components-checkbox-control__checked, |
| 721 | 710 | .components-checkbox-control:has(:disabled) svg.components-checkbox-control__indeterminate { |
| 722 | - fill: var(--wp-components-color-gray-400, var(--wpds-color-stroke-interactive-neutral, #8d8d8d)); | |
| 711 | + color: var(--wpds-color-foreground-interactive-neutral-disabled, #8d8d8d); | |
| 723 | 712 | } |
| 724 | 713 | |
| 725 | 714 | .components-checkbox-control__help { |
| 726 | 715 | display: inline-block; |
| @@ -758,14 +747,14 @@ | ||
| 758 | 747 | transform: scale(1); |
| 759 | 748 | } |
| 760 | 749 | @media not (prefers-reduced-motion) { |
| 761 | 750 | .components-circular-option-picker__option-wrapper { |
| 762 | - transition: 100ms transform ease; | |
| 751 | + transition: 100ms transform ease-out; | |
| 763 | 752 | will-change: transform; |
| 764 | 753 | } |
| 765 | 754 | } |
| 766 | 755 | .components-circular-option-picker__option-wrapper:hover { |
| 767 | - transform: scale(1.2); | |
| 756 | + transform: scale(1.1); | |
| 768 | 757 | } |
| 769 | 758 | .components-circular-option-picker__option-wrapper > div { |
| 770 | 759 | height: 100%; |
| 771 | 760 | width: 100%; |
| @@ -773,12 +762,9 @@ | ||
| 773 | 762 | |
| 774 | 763 | .components-circular-option-picker__option-wrapper::before { |
| 775 | 764 | content: ""; |
| 776 | 765 | position: absolute; |
| 777 | - top: 1px; | |
| 778 | - left: 1px; | |
| 779 | - bottom: 1px; | |
| 780 | - right: 1px; | |
| 766 | + inset: 1px; | |
| 781 | 767 | border-radius: 50%; |
| 782 | 768 | z-index: -1; |
| 783 | 769 | background: url('data:image/svg+xml,%3Csvg width="28" height="28" fill="none" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M6 8V6H4v2h2zM8 8V6h2v2H8zM10 16H8v-2h2v2zM12 16v-2h2v2h-2zM12 18v-2h-2v2H8v2h2v-2h2zM14 18v2h-2v-2h2zM16 18h-2v-2h2v2z" fill="%23555D65"/%3E%3Cpath fill-rule="evenodd" clip-rule="evenodd" d="M18 18h2v-2h-2v-2h2v-2h-2v-2h2V8h-2v2h-2V8h-2v2h2v2h-2v2h2v2h2v2zm-2-4v-2h2v2h-2z" fill="%23555D65"/%3E%3Cpath d="M18 18v2h-2v-2h2z" fill="%23555D65"/%3E%3Cpath fill-rule="evenodd" clip-rule="evenodd" d="M8 10V8H6v2H4v2h2v2H4v2h2v2H4v2h2v2H4v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v-2h-2v-2h2v-2h-2v-2h2v-2h-2v-2h2V8h-2V6h2V4h-2v2h-2V4h-2v2h-2V4h-2v2h-2V4h-2v2h2v2h-2v2H8zm0 2v-2H6v2h2zm2 0v-2h2v2h-2zm0 2v-2H8v2H6v2h2v2H6v2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h-2v-2h2v-2h-2v-2h2v-2h-2v-2h2V8h-2V6h-2v2h-2V6h-2v2h-2v2h2v2h-2v2h-2z" fill="%23555D65"/%3E%3Cpath fill-rule="evenodd" clip-rule="evenodd" d="M4 0H2v2H0v2h2v2H0v2h2v2H0v2h2v2H0v2h2v2H0v2h2v2H0v2h2v2H0v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v-2h-2v-2h2v-2h-2v-2h2v-2h-2v-2h2v-2h-2v-2h2V8h-2V6h2V4h-2V2h2V0h-2v2h-2V0h-2v2h-2V0h-2v2h-2V0h-2v2h-2V0h-2v2H8V0H6v2H4V0zm0 4V2H2v2h2zm2 0V2h2v2H6zm0 2V4H4v2H2v2h2v2H2v2h2v2H2v2h2v2H2v2h2v2H2v2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h-2v-2h2v-2h-2v-2h2v-2h-2v-2h2v-2h-2v-2h2V8h-2V6h2V4h-2V2h-2v2h-2V2h-2v2h-2V2h-2v2h-2V2h-2v2H8v2H6z" fill="%23555D65"/%3E%3C/svg%3E'); |
| 784 | 770 | } |
| @@ -800,13 +786,9 @@ | ||
| 800 | 786 | } |
| 801 | 787 | .components-circular-option-picker__option { |
| 802 | 788 | cursor: var(--wpds-cursor-control, pointer); |
| 803 | 789 | } |
| 804 | -.components-circular-option-picker__option:hover { | |
| 805 | - box-shadow: inset 0 0 0 14px !important; | |
| 806 | -} | |
| 807 | 790 | .components-circular-option-picker__option[aria-pressed=true], .components-circular-option-picker__option[aria-selected=true] { |
| 808 | - box-shadow: inset 0 0 0 4px; | |
| 809 | 791 | position: relative; |
| 810 | 792 | z-index: 1; |
| 811 | 793 | overflow: visible; |
| 812 | 794 | } |
| @@ -820,34 +802,13 @@ | ||
| 820 | 802 | } |
| 821 | 803 | .components-circular-option-picker__option::after { |
| 822 | 804 | content: ""; |
| 823 | 805 | position: absolute; |
| 824 | - top: -1px; | |
| 825 | - left: -1px; | |
| 826 | - bottom: -1px; | |
| 827 | - right: -1px; | |
| 806 | + inset: -1px; | |
| 807 | + border: 1px solid transparent; | |
| 828 | 808 | border-radius: 50%; |
| 829 | 809 | box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2); |
| 830 | - border: 1px solid transparent; | |
| 831 | - box-sizing: inherit; | |
| 832 | 810 | } |
| 833 | -.components-circular-option-picker__option:focus::after { | |
| 834 | - content: ""; | |
| 835 | - border-radius: 50%; | |
| 836 | - box-shadow: inset 0 0 0 2px #fff; | |
| 837 | - position: absolute; | |
| 838 | - top: 50%; | |
| 839 | - left: 50%; | |
| 840 | - transform: translate(-50%, -50%); | |
| 841 | - border: 2px solid #757575; | |
| 842 | - width: calc(100% + 4px); | |
| 843 | - height: calc(100% + 4px); | |
| 844 | -} | |
| 845 | -.components-circular-option-picker__option.components-button:focus { | |
| 846 | - background-color: transparent; | |
| 847 | - box-shadow: inset 0 0 0 14px; | |
| 848 | - outline: none; | |
| 849 | -} | |
| 850 | 811 | |
| 851 | 812 | .components-circular-option-picker__button-action .components-circular-option-picker__option { |
| 852 | 813 | color: #fff; |
| 853 | 814 | background: #fff; |
| @@ -865,12 +826,8 @@ | ||
| 865 | 826 | width: 260px; |
| 866 | 827 | padding: 8px; |
| 867 | 828 | } |
| 868 | 829 | |
| 869 | -.components-dropdown-menu__menu .components-palette-edit__menu-button { | |
| 870 | - width: 100%; | |
| 871 | -} | |
| 872 | - | |
| 873 | 830 | .component-color-indicator { |
| 874 | 831 | width: 20px; |
| 875 | 832 | height: 20px; |
| 876 | 833 | box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2); |
| @@ -923,9 +880,9 @@ | ||
| 923 | 880 | /* Override core line-height. To be reviewed. */ |
| 924 | 881 | line-height: normal; |
| 925 | 882 | } |
| 926 | 883 | } |
| 927 | -.components-combobox-control__suggestions-container:hover:not(:disabled, [aria-disabled=true], [type=checkbox]) { | |
| 884 | +.components-combobox-control__suggestions-container:hover:not(:disabled, [aria-disabled=true]) { | |
| 928 | 885 | border-color: var(--wpds-color-stroke-interactive-neutral-active, #6e6e6e); |
| 929 | 886 | } |
| 930 | 887 | .components-combobox-control__suggestions-container:focus { |
| 931 | 888 | 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))); |
| @@ -932,11 +889,8 @@ | ||
| 932 | 889 | outline-offset: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)); |
| 933 | 890 | border-color: var(--wpds-color-stroke-interactive-neutral, #8d8d8d); |
| 934 | 891 | box-shadow: none; |
| 935 | 892 | } |
| 936 | -.components-combobox-control__suggestions-container::-moz-placeholder { | |
| 937 | - color: rgba(30, 30, 30, 0.62); | |
| 938 | -} | |
| 939 | 893 | .components-combobox-control__suggestions-container::placeholder { |
| 940 | 894 | color: rgba(30, 30, 30, 0.62); |
| 941 | 895 | } |
| 942 | 896 | .components-combobox-control__suggestions-container { |
| @@ -1062,14 +1016,19 @@ | ||
| 1062 | 1016 | width: inherit; |
| 1063 | 1017 | border-radius: 50%; |
| 1064 | 1018 | padding: 0; |
| 1065 | 1019 | box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) #fff, 0 0 2px 0 rgba(0, 0, 0, 0.25); |
| 1066 | - outline: 2px solid transparent; | |
| 1067 | 1020 | } |
| 1068 | -.components-custom-gradient-picker__gradient-bar .components-custom-gradient-picker__control-point-button:focus, .components-custom-gradient-picker__gradient-bar .components-custom-gradient-picker__control-point-button.is-active { | |
| 1021 | +.components-custom-gradient-picker__gradient-bar .components-custom-gradient-picker__control-point-button.is-active { | |
| 1069 | 1022 | box-shadow: inset 0 0 0 calc(var(--wp-admin-border-width-focus) * 2) #fff, 0 0 2px 0 rgba(0, 0, 0, 0.25); |
| 1070 | - outline: 1.5px solid transparent; | |
| 1071 | 1023 | } |
| 1024 | +.components-custom-gradient-picker__gradient-bar .components-custom-gradient-picker__control-point-button:focus:not(:active) { | |
| 1025 | + outline-offset: 1px; | |
| 1026 | + box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) #fff, 0 0 2px 0 rgba(0, 0, 0, 0.25), 0 0 0 calc(var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)) + 2px) var(--wpds-color-background-surface-neutral-strong, #fff); | |
| 1027 | +} | |
| 1028 | +.components-custom-gradient-picker__gradient-bar .components-custom-gradient-picker__control-point-button:focus:not(:active).is-active { | |
| 1029 | + box-shadow: inset 0 0 0 calc(var(--wp-admin-border-width-focus) * 2) #fff, 0 0 2px 0 rgba(0, 0, 0, 0.25), 0 0 0 calc(var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)) + 2px) var(--wpds-color-background-surface-neutral-strong, #fff); | |
| 1030 | +} | |
| 1072 | 1031 | |
| 1073 | 1032 | .components-custom-gradient-picker__remove-control-point-wrapper { |
| 1074 | 1033 | padding-bottom: 8px; |
| 1075 | 1034 | } |
| @@ -1392,39 +1351,39 @@ | ||
| 1392 | 1351 | background-color: #fff; |
| 1393 | 1352 | border-width: 0; |
| 1394 | 1353 | transform: translateX(16px); |
| 1395 | 1354 | } |
| 1396 | -.components-form-toggle.is-disabled .components-form-toggle__track, .components-disabled .components-form-toggle .components-form-toggle__track { | |
| 1355 | +.components-form-toggle.is-disabled .components-form-toggle__track, [inert] .components-form-toggle .components-form-toggle__track { | |
| 1397 | 1356 | background-color: var(--wp-components-color-gray-100, var(--wpds-color-background-surface-neutral, #fcfcfc)); |
| 1398 | 1357 | border-color: var(--wpds-color-stroke-interactive-neutral-disabled, #dbdbdb); |
| 1399 | 1358 | } |
| 1400 | 1359 | @media (forced-colors: active) { |
| 1401 | - .components-form-toggle.is-disabled .components-form-toggle__track, .components-disabled .components-form-toggle .components-form-toggle__track { | |
| 1360 | + .components-form-toggle.is-disabled .components-form-toggle__track, [inert] .components-form-toggle .components-form-toggle__track { | |
| 1402 | 1361 | border-color: GrayText; |
| 1403 | 1362 | } |
| 1404 | 1363 | } |
| 1405 | -.components-form-toggle.is-disabled .components-form-toggle__thumb, .components-disabled .components-form-toggle .components-form-toggle__thumb { | |
| 1364 | +.components-form-toggle.is-disabled .components-form-toggle__thumb, [inert] .components-form-toggle .components-form-toggle__thumb { | |
| 1406 | 1365 | background-color: var(--wp-components-color-gray-400, var(--wpds-color-stroke-interactive-neutral, #8d8d8d)); |
| 1407 | 1366 | box-shadow: none; |
| 1408 | 1367 | } |
| 1409 | 1368 | @media (forced-colors: active) { |
| 1410 | - .components-form-toggle.is-disabled .components-form-toggle__thumb, .components-disabled .components-form-toggle .components-form-toggle__thumb { | |
| 1369 | + .components-form-toggle.is-disabled .components-form-toggle__thumb, [inert] .components-form-toggle .components-form-toggle__thumb { | |
| 1411 | 1370 | border-color: GrayText; |
| 1412 | 1371 | } |
| 1413 | 1372 | } |
| 1414 | -.components-form-toggle.is-disabled.is-checked .components-form-toggle__track, .components-disabled .components-form-toggle.is-checked .components-form-toggle__track { | |
| 1373 | +.components-form-toggle.is-disabled.is-checked .components-form-toggle__track, [inert] .components-form-toggle.is-checked .components-form-toggle__track { | |
| 1415 | 1374 | background-color: var(--wp-components-color-gray-400, var(--wpds-color-stroke-interactive-neutral, #8d8d8d)); |
| 1416 | 1375 | border-color: var(--wp-components-color-gray-400, var(--wpds-color-stroke-interactive-neutral, #8d8d8d)); |
| 1417 | 1376 | } |
| 1418 | 1377 | @media (forced-colors: active) { |
| 1419 | - .components-form-toggle.is-disabled.is-checked .components-form-toggle__track, .components-disabled .components-form-toggle.is-checked .components-form-toggle__track { | |
| 1378 | + .components-form-toggle.is-disabled.is-checked .components-form-toggle__track, [inert] .components-form-toggle.is-checked .components-form-toggle__track { | |
| 1420 | 1379 | border-color: GrayText; |
| 1421 | 1380 | } |
| 1422 | - .components-form-toggle.is-disabled.is-checked .components-form-toggle__track::after, .components-disabled .components-form-toggle.is-checked .components-form-toggle__track::after { | |
| 1381 | + .components-form-toggle.is-disabled.is-checked .components-form-toggle__track::after, [inert] .components-form-toggle.is-checked .components-form-toggle__track::after { | |
| 1423 | 1382 | border-top-color: GrayText; |
| 1424 | 1383 | } |
| 1425 | 1384 | } |
| 1426 | -.components-form-toggle.is-disabled.is-checked .components-form-toggle__thumb, .components-disabled .components-form-toggle.is-checked .components-form-toggle__thumb { | |
| 1385 | +.components-form-toggle.is-disabled.is-checked .components-form-toggle__thumb, [inert] .components-form-toggle.is-checked .components-form-toggle__thumb { | |
| 1427 | 1386 | background-color: #fff; |
| 1428 | 1387 | } |
| 1429 | 1388 | |
| 1430 | 1389 | .components-form-toggle input.components-form-toggle__input[type=checkbox] { |
| @@ -1465,9 +1424,9 @@ | ||
| 1465 | 1424 | /* Override core line-height. To be reviewed. */ |
| 1466 | 1425 | line-height: normal; |
| 1467 | 1426 | } |
| 1468 | 1427 | } |
| 1469 | -.components-form-token-field__input-container:hover:not(:disabled, [aria-disabled=true], [type=checkbox]) { | |
| 1428 | +.components-form-token-field__input-container:hover:not(:disabled, [aria-disabled=true]) { | |
| 1470 | 1429 | border-color: var(--wpds-color-stroke-interactive-neutral-active, #6e6e6e); |
| 1471 | 1430 | } |
| 1472 | 1431 | .components-form-token-field__input-container:focus { |
| 1473 | 1432 | 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))); |
| @@ -1474,11 +1433,8 @@ | ||
| 1474 | 1433 | outline-offset: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)); |
| 1475 | 1434 | border-color: var(--wpds-color-stroke-interactive-neutral, #8d8d8d); |
| 1476 | 1435 | box-shadow: none; |
| 1477 | 1436 | } |
| 1478 | -.components-form-token-field__input-container::-moz-placeholder { | |
| 1479 | - color: rgba(30, 30, 30, 0.62); | |
| 1480 | -} | |
| 1481 | 1437 | .components-form-token-field__input-container::placeholder { |
| 1482 | 1438 | color: rgba(30, 30, 30, 0.62); |
| 1483 | 1439 | } |
| 1484 | 1440 | .components-form-token-field__input-container { |
| @@ -2159,9 +2115,9 @@ | ||
| 2159 | 2115 | } |
| 2160 | 2116 | |
| 2161 | 2117 | .components-notice { |
| 2162 | 2118 | --wp-components-notice-background-color: var(--wpds-color-background-surface-info-weak, #f3f9ff); |
| 2163 | - --wp-components-notice-border-color: var(--wpds-color-stroke-surface-info, #a9c6e7); | |
| 2119 | + --wp-components-notice-border-color: var(--wpds-color-stroke-surface-info, #adc6e2); | |
| 2164 | 2120 | --wp-components-notice-text-color: var(--wpds-color-foreground-content-info, #001b4f); |
| 2165 | 2121 | box-sizing: border-box; |
| 2166 | 2122 | display: grid; |
| 2167 | 2123 | grid-template-columns: 1fr auto; |
| @@ -2176,19 +2132,19 @@ | ||
| 2176 | 2132 | line-height: var(--wpds-typography-line-height-sm, 20px); |
| 2177 | 2133 | } |
| 2178 | 2134 | .components-notice.is-success { |
| 2179 | 2135 | --wp-components-notice-background-color: var(--wpds-color-background-surface-success-weak, #ebffed); |
| 2180 | - --wp-components-notice-border-color: var(--wpds-color-stroke-surface-success, #94d29e); | |
| 2136 | + --wp-components-notice-border-color: var(--wpds-color-stroke-surface-success, #92d39d); | |
| 2181 | 2137 | --wp-components-notice-text-color: var(--wpds-color-foreground-content-success, #002900); |
| 2182 | 2138 | } |
| 2183 | 2139 | .components-notice.is-warning { |
| 2184 | 2140 | --wp-components-notice-background-color: var(--wpds-color-background-surface-warning-weak, #fff7e1); |
| 2185 | - --wp-components-notice-border-color: var(--wpds-color-stroke-surface-warning, #e1bc7c); | |
| 2141 | + --wp-components-notice-border-color: var(--wpds-color-stroke-surface-warning, #e1bd7c); | |
| 2186 | 2142 | --wp-components-notice-text-color: var(--wpds-color-foreground-content-warning, #2e1900); |
| 2187 | 2143 | } |
| 2188 | 2144 | .components-notice.is-error { |
| 2189 | 2145 | --wp-components-notice-background-color: var(--wpds-color-background-surface-error-weak, #fff6f5); |
| 2190 | - --wp-components-notice-border-color: var(--wpds-color-stroke-surface-error, #dab1aa); | |
| 2146 | + --wp-components-notice-border-color: var(--wpds-color-stroke-surface-error, #e0afa7); | |
| 2191 | 2147 | --wp-components-notice-text-color: var(--wpds-color-foreground-content-error, #470000); |
| 2192 | 2148 | } |
| 2193 | 2149 | |
| 2194 | 2150 | .components-notice__content { |
| @@ -2214,13 +2170,9 @@ | ||
| 2214 | 2170 | margin-inline-start: var(--wpds-dimension-gap-xs, 4px); |
| 2215 | 2171 | } |
| 2216 | 2172 | .components-notice__dismiss:not(:disabled):not([aria-disabled=true]):not(.is-secondary):hover, .components-notice__dismiss:not(:disabled):not([aria-disabled=true]):not(.is-secondary):active, .components-notice__dismiss:not(:disabled):not([aria-disabled=true]):focus { |
| 2217 | 2173 | color: var(--wpds-color-foreground-interactive-neutral-active, #1e1e1e); |
| 2218 | - background-color: transparent; | |
| 2219 | 2174 | } |
| 2220 | -.components-notice__dismiss:not(:disabled):not([aria-disabled=true]):not(.is-secondary):hover { | |
| 2221 | - box-shadow: none; | |
| 2222 | -} | |
| 2223 | 2175 | |
| 2224 | 2176 | .components-notice-list { |
| 2225 | 2177 | display: flex; |
| 2226 | 2178 | flex-direction: column; |
| @@ -2412,9 +2364,9 @@ | ||
| 2412 | 2364 | font-size: 13px; |
| 2413 | 2365 | letter-spacing: initial; |
| 2414 | 2366 | line-height: initial; |
| 2415 | 2367 | text-transform: none; |
| 2416 | - font-weight: normal; | |
| 2368 | + font-weight: 400; | |
| 2417 | 2369 | } |
| 2418 | 2370 | |
| 2419 | 2371 | .components-placeholder__label { |
| 2420 | 2372 | font-weight: var(--wpds-typography-font-weight-emphasis, 600); |
| @@ -2426,15 +2378,8 @@ | ||
| 2426 | 2378 | .components-placeholder__label .block-editor-block-icon { |
| 2427 | 2379 | margin-right: 4px; |
| 2428 | 2380 | fill: currentColor; |
| 2429 | 2381 | } |
| 2430 | -@media (forced-colors: active) { | |
| 2431 | - .components-placeholder__label > svg, | |
| 2432 | - .components-placeholder__label .dashicon, | |
| 2433 | - .components-placeholder__label .block-editor-block-icon { | |
| 2434 | - fill: CanvasText; | |
| 2435 | - } | |
| 2436 | -} | |
| 2437 | 2382 | .components-placeholder__label:empty { |
| 2438 | 2383 | display: none; |
| 2439 | 2384 | } |
| 2440 | 2385 | |
| @@ -2474,9 +2419,9 @@ | ||
| 2474 | 2419 | /* Override core line-height. To be reviewed. */ |
| 2475 | 2420 | line-height: normal; |
| 2476 | 2421 | } |
| 2477 | 2422 | } |
| 2478 | -.components-placeholder__input[type=url]:hover:not(:disabled, [aria-disabled=true], [type=checkbox]) { | |
| 2423 | +.components-placeholder__input[type=url]:hover:not(:disabled, [aria-disabled=true]) { | |
| 2479 | 2424 | border-color: var(--wpds-color-stroke-interactive-neutral-active, #6e6e6e); |
| 2480 | 2425 | } |
| 2481 | 2426 | .components-placeholder__input[type=url]:focus { |
| 2482 | 2427 | 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))); |
| @@ -2483,11 +2428,8 @@ | ||
| 2483 | 2428 | outline-offset: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)); |
| 2484 | 2429 | border-color: var(--wpds-color-stroke-interactive-neutral, #8d8d8d); |
| 2485 | 2430 | box-shadow: none; |
| 2486 | 2431 | } |
| 2487 | -.components-placeholder__input[type=url]::-moz-placeholder { | |
| 2488 | - color: rgba(30, 30, 30, 0.62); | |
| 2489 | -} | |
| 2490 | 2432 | .components-placeholder__input[type=url]::placeholder { |
| 2491 | 2433 | color: rgba(30, 30, 30, 0.62); |
| 2492 | 2434 | } |
| 2493 | 2435 | .components-placeholder__input[type=url] { |
| @@ -2623,9 +2565,8 @@ | ||
| 2623 | 2565 | background: #fff; |
| 2624 | 2566 | box-shadow: 0 0 0 1px #ccc, 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); |
| 2625 | 2567 | border-radius: 4px; |
| 2626 | 2568 | box-sizing: border-box; |
| 2627 | - width: -moz-min-content; | |
| 2628 | 2569 | width: min-content; |
| 2629 | 2570 | } |
| 2630 | 2571 | .is-alternate .components-popover__content { |
| 2631 | 2572 | box-shadow: 0 0 0 1px #1e1e1e; |
| @@ -2732,10 +2673,9 @@ | ||
| 2732 | 2673 | .components-radio-control__option { |
| 2733 | 2674 | display: grid; |
| 2734 | 2675 | grid-template-columns: auto 1fr; |
| 2735 | 2676 | grid-template-rows: auto minmax(0, max-content); |
| 2736 | - -moz-column-gap: 8px; | |
| 2737 | - column-gap: 8px; | |
| 2677 | + column-gap: 8px; | |
| 2738 | 2678 | align-items: center; |
| 2739 | 2679 | } |
| 2740 | 2680 | |
| 2741 | 2681 | .components-radio-control__input[type=radio] { |
| @@ -2793,11 +2733,9 @@ | ||
| 2793 | 2733 | .components-radio-control__input[type=radio] { |
| 2794 | 2734 | display: inline-flex; |
| 2795 | 2735 | margin: 0; |
| 2796 | 2736 | padding: 0; |
| 2797 | - -webkit-appearance: none; | |
| 2798 | - -moz-appearance: none; | |
| 2799 | - appearance: none; | |
| 2737 | + appearance: none; | |
| 2800 | 2738 | } |
| 2801 | 2739 | .components-radio-control__input[type=radio]:not(:disabled) { |
| 2802 | 2740 | cursor: var(--wpds-cursor-control, pointer); |
| 2803 | 2741 | } |
| @@ -2826,8 +2764,9 @@ | ||
| 2826 | 2764 | |
| 2827 | 2765 | .components-radio-control__label { |
| 2828 | 2766 | grid-column: 2; |
| 2829 | 2767 | grid-row: 1; |
| 2768 | + color: var(--wpds-color-foreground-content-neutral, #1e1e1e); | |
| 2830 | 2769 | } |
| 2831 | 2770 | .components-radio-control__input:not(:disabled) + .components-radio-control__label { |
| 2832 | 2771 | cursor: var(--wpds-cursor-control, pointer); |
| 2833 | 2772 | } |
| @@ -3059,9 +2998,8 @@ | ||
| 3059 | 2998 | pointer-events: auto; |
| 3060 | 2999 | } |
| 3061 | 3000 | @media (min-width: 600px) { |
| 3062 | 3001 | .components-snackbar { |
| 3063 | - width: -moz-fit-content; | |
| 3064 | 3002 | width: fit-content; |
| 3065 | 3003 | } |
| 3066 | 3004 | } |
| 3067 | 3005 | .components-snackbar:focus { |
| @@ -3088,14 +3026,10 @@ | ||
| 3088 | 3026 | .components-snackbar__action.components-external-link { |
| 3089 | 3027 | margin-left: 32px; |
| 3090 | 3028 | color: #fff; |
| 3091 | 3029 | flex-shrink: 0; |
| 3030 | + --focus-color: #fff; | |
| 3092 | 3031 | } |
| 3093 | -.components-snackbar__action.components-button:focus, | |
| 3094 | -.components-snackbar__action.components-external-link:focus { | |
| 3095 | - box-shadow: none; | |
| 3096 | - outline: 1px dotted #fff; | |
| 3097 | -} | |
| 3098 | 3032 | .components-snackbar__action.components-button:hover, |
| 3099 | 3033 | .components-snackbar__action.components-external-link:hover { |
| 3100 | 3034 | text-decoration: none; |
| 3101 | 3035 | color: currentColor; |
| @@ -3135,9 +3069,8 @@ | ||
| 3135 | 3069 | border-radius: 0; |
| 3136 | 3070 | height: 48px !important; |
| 3137 | 3071 | background: transparent; |
| 3138 | 3072 | border: none; |
| 3139 | - box-shadow: none; | |
| 3140 | 3073 | cursor: var(--wpds-cursor-control, pointer); |
| 3141 | 3074 | padding: 3px var(--wpds-dimension-padding-lg, 16px); |
| 3142 | 3075 | margin-left: 0; |
| 3143 | 3076 | font-weight: var(--wpds-typography-font-weight-default, 400); |
| @@ -3150,9 +3083,8 @@ | ||
| 3150 | 3083 | color: var(--wpds-color-foreground-interactive-neutral-active, #1e1e1e); |
| 3151 | 3084 | } |
| 3152 | 3085 | .components-tab-panel__tabs-item:focus:not(:disabled) { |
| 3153 | 3086 | position: relative; |
| 3154 | - box-shadow: none; | |
| 3155 | 3087 | outline: none; |
| 3156 | 3088 | } |
| 3157 | 3089 | .components-tab-panel__tabs-item::after { |
| 3158 | 3090 | content: ""; |
| @@ -3179,19 +3111,14 @@ | ||
| 3179 | 3111 | content: ""; |
| 3180 | 3112 | position: absolute; |
| 3181 | 3113 | inset: var(--wpds-dimension-padding-md, 12px); |
| 3182 | 3114 | pointer-events: none; |
| 3183 | - box-shadow: 0 0 0 0 transparent; | |
| 3184 | 3115 | border-radius: var(--wpds-border-radius-sm, 2px); |
| 3185 | 3116 | } |
| 3186 | -@media not (prefers-reduced-motion) { | |
| 3187 | - .components-tab-panel__tabs-item::before { | |
| 3188 | - transition: box-shadow 0.1s linear; | |
| 3189 | - } | |
| 3190 | -} | |
| 3191 | 3117 | .components-tab-panel__tabs-item:focus-visible::before { |
| 3192 | - 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)); | |
| 3193 | - outline: 2px solid transparent; | |
| 3118 | + 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))); | |
| 3119 | + outline-offset: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)); | |
| 3120 | + outline-offset: 0; | |
| 3194 | 3121 | } |
| 3195 | 3122 | .components-tab-panel__tabs[aria-orientation=vertical] .components-tab-panel__tabs-item { |
| 3196 | 3123 | border-radius: var(--wpds-border-radius-sm, 2px); |
| 3197 | 3124 | } |
| @@ -3202,14 +3129,13 @@ | ||
| 3202 | 3129 | background: var(--wpds-color-background-interactive-neutral-weak-active, #ededed); |
| 3203 | 3130 | } |
| 3204 | 3131 | |
| 3205 | 3132 | .components-tab-panel__tab-content:focus { |
| 3206 | - box-shadow: none; | |
| 3207 | 3133 | outline: none; |
| 3208 | 3134 | } |
| 3209 | 3135 | .components-tab-panel__tab-content:focus-visible { |
| 3210 | - 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)); | |
| 3211 | - outline: 2px solid transparent; | |
| 3136 | + 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))); | |
| 3137 | + outline-offset: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)); | |
| 3212 | 3138 | outline-offset: 0; |
| 3213 | 3139 | } |
| 3214 | 3140 | |
| 3215 | 3141 | .components-text-control__input, |
| @@ -3259,22 +3185,22 @@ | ||
| 3259 | 3185 | /* Override core line-height. To be reviewed. */ |
| 3260 | 3186 | line-height: normal; |
| 3261 | 3187 | } |
| 3262 | 3188 | } |
| 3263 | -.components-text-control__input:hover:not(:disabled, [aria-disabled=true], [type=checkbox]), | |
| 3264 | -.components-text-control__input[type=text]:hover:not(:disabled, [aria-disabled=true], [type=checkbox]), | |
| 3265 | -.components-text-control__input[type=tel]:hover:not(:disabled, [aria-disabled=true], [type=checkbox]), | |
| 3266 | -.components-text-control__input[type=time]:hover:not(:disabled, [aria-disabled=true], [type=checkbox]), | |
| 3267 | -.components-text-control__input[type=url]:hover:not(:disabled, [aria-disabled=true], [type=checkbox]), | |
| 3268 | -.components-text-control__input[type=week]:hover:not(:disabled, [aria-disabled=true], [type=checkbox]), | |
| 3269 | -.components-text-control__input[type=password]:hover:not(:disabled, [aria-disabled=true], [type=checkbox]), | |
| 3270 | -.components-text-control__input[type=color]:hover:not(:disabled, [aria-disabled=true], [type=checkbox]), | |
| 3271 | -.components-text-control__input[type=date]:hover:not(:disabled, [aria-disabled=true], [type=checkbox]), | |
| 3272 | -.components-text-control__input[type=datetime]:hover:not(:disabled, [aria-disabled=true], [type=checkbox]), | |
| 3273 | -.components-text-control__input[type=datetime-local]:hover:not(:disabled, [aria-disabled=true], [type=checkbox]), | |
| 3274 | -.components-text-control__input[type=email]:hover:not(:disabled, [aria-disabled=true], [type=checkbox]), | |
| 3275 | -.components-text-control__input[type=month]:hover:not(:disabled, [aria-disabled=true], [type=checkbox]), | |
| 3276 | -.components-text-control__input[type=number]:hover:not(:disabled, [aria-disabled=true], [type=checkbox]) { | |
| 3189 | +.components-text-control__input:hover:not(:disabled, [aria-disabled=true]), | |
| 3190 | +.components-text-control__input[type=text]:hover:not(:disabled, [aria-disabled=true]), | |
| 3191 | +.components-text-control__input[type=tel]:hover:not(:disabled, [aria-disabled=true]), | |
| 3192 | +.components-text-control__input[type=time]:hover:not(:disabled, [aria-disabled=true]), | |
| 3193 | +.components-text-control__input[type=url]:hover:not(:disabled, [aria-disabled=true]), | |
| 3194 | +.components-text-control__input[type=week]:hover:not(:disabled, [aria-disabled=true]), | |
| 3195 | +.components-text-control__input[type=password]:hover:not(:disabled, [aria-disabled=true]), | |
| 3196 | +.components-text-control__input[type=color]:hover:not(:disabled, [aria-disabled=true]), | |
| 3197 | +.components-text-control__input[type=date]:hover:not(:disabled, [aria-disabled=true]), | |
| 3198 | +.components-text-control__input[type=datetime]:hover:not(:disabled, [aria-disabled=true]), | |
| 3199 | +.components-text-control__input[type=datetime-local]:hover:not(:disabled, [aria-disabled=true]), | |
| 3200 | +.components-text-control__input[type=email]:hover:not(:disabled, [aria-disabled=true]), | |
| 3201 | +.components-text-control__input[type=month]:hover:not(:disabled, [aria-disabled=true]), | |
| 3202 | +.components-text-control__input[type=number]:hover:not(:disabled, [aria-disabled=true]) { | |
| 3277 | 3203 | border-color: var(--wpds-color-stroke-interactive-neutral-active, #6e6e6e); |
| 3278 | 3204 | } |
| 3279 | 3205 | .components-text-control__input:focus, |
| 3280 | 3206 | .components-text-control__input[type=text]:focus, |
| @@ -3294,11 +3220,8 @@ | ||
| 3294 | 3220 | outline-offset: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)); |
| 3295 | 3221 | border-color: var(--wpds-color-stroke-interactive-neutral, #8d8d8d); |
| 3296 | 3222 | box-shadow: none; |
| 3297 | 3223 | } |
| 3298 | -.components-text-control__input::-moz-placeholder, .components-text-control__input[type=text]::-moz-placeholder, .components-text-control__input[type=tel]::-moz-placeholder, .components-text-control__input[type=time]::-moz-placeholder, .components-text-control__input[type=url]::-moz-placeholder, .components-text-control__input[type=week]::-moz-placeholder, .components-text-control__input[type=password]::-moz-placeholder, .components-text-control__input[type=color]::-moz-placeholder, .components-text-control__input[type=date]::-moz-placeholder, .components-text-control__input[type=datetime]::-moz-placeholder, .components-text-control__input[type=datetime-local]::-moz-placeholder, .components-text-control__input[type=email]::-moz-placeholder, .components-text-control__input[type=month]::-moz-placeholder, .components-text-control__input[type=number]::-moz-placeholder { | |
| 3299 | - color: rgba(30, 30, 30, 0.62); | |
| 3300 | -} | |
| 3301 | 3224 | .components-text-control__input::placeholder, |
| 3302 | 3225 | .components-text-control__input[type=text]::placeholder, |
| 3303 | 3226 | .components-text-control__input[type=tel]::placeholder, |
| 3304 | 3227 | .components-text-control__input[type=time]::placeholder, |
| @@ -3330,11 +3253,8 @@ | ||
| 3330 | 3253 | .components-text-control__input[type=number] { |
| 3331 | 3254 | padding-left: 12px; |
| 3332 | 3255 | padding-right: 12px; |
| 3333 | 3256 | } |
| 3334 | -.components-text-control__input::-moz-placeholder, .components-text-control__input[type=text]::-moz-placeholder, .components-text-control__input[type=tel]::-moz-placeholder, .components-text-control__input[type=time]::-moz-placeholder, .components-text-control__input[type=url]::-moz-placeholder, .components-text-control__input[type=week]::-moz-placeholder, .components-text-control__input[type=password]::-moz-placeholder, .components-text-control__input[type=color]::-moz-placeholder, .components-text-control__input[type=date]::-moz-placeholder, .components-text-control__input[type=datetime]::-moz-placeholder, .components-text-control__input[type=datetime-local]::-moz-placeholder, .components-text-control__input[type=email]::-moz-placeholder, .components-text-control__input[type=month]::-moz-placeholder, .components-text-control__input[type=number]::-moz-placeholder { | |
| 3335 | - color: color-mix(in srgb, var(--wp-components-color-foreground, var(--wpds-color-foreground-content-neutral, #1e1e1e)), transparent 38%); | |
| 3336 | -} | |
| 3337 | 3257 | .components-text-control__input::placeholder, |
| 3338 | 3258 | .components-text-control__input[type=text]::placeholder, |
| 3339 | 3259 | .components-text-control__input[type=tel]::placeholder, |
| 3340 | 3260 | .components-text-control__input[type=time]::placeholder, |
| @@ -3362,9 +3282,9 @@ | ||
| 3362 | 3282 | color: #757575; |
| 3363 | 3283 | } |
| 3364 | 3284 | .components-tip svg { |
| 3365 | 3285 | align-self: center; |
| 3366 | - fill: #f0b849; | |
| 3286 | + color: #f0b849; | |
| 3367 | 3287 | flex-shrink: 0; |
| 3368 | 3288 | margin-right: 16px; |
| 3369 | 3289 | } |
| 3370 | 3290 | .components-tip p { |
| @@ -3372,8 +3292,9 @@ | ||
| 3372 | 3292 | } |
| 3373 | 3293 | |
| 3374 | 3294 | .components-toggle-control__label { |
| 3375 | 3295 | line-height: 16px; |
| 3296 | + color: var(--wpds-color-foreground-content-neutral, #1e1e1e); | |
| 3376 | 3297 | } |
| 3377 | 3298 | .components-toggle-control__label:not(.is-disabled) { |
| 3378 | 3299 | cursor: var(--wpds-cursor-control, pointer); |
| 3379 | 3300 | } |
| @@ -3580,28 +3501,18 @@ | ||
| 3580 | 3501 | margin-left: 8px; |
| 3581 | 3502 | } |
| 3582 | 3503 | |
| 3583 | 3504 | .components-validated-control__wrapper-with-error-delegate:has(input:invalid[data-validity-visible]) .components-validated-control__content-editable [role=textbox], .components-validated-control__wrapper-with-error-delegate:has(select:invalid[data-validity-visible]) .components-input-control__backdrop, .components-validated-control textarea:invalid[data-validity-visible], .components-validated-control:has(:is(input, select):invalid[data-validity-visible]) .components-input-control__backdrop { |
| 3584 | - --focus-color: #cc1818; | |
| 3505 | + --focus-color: var(--wpds-color-stroke-interactive-error, #cc1818); | |
| 3585 | 3506 | } |
| 3586 | 3507 | |
| 3587 | -.components-validated-control:has(:is(input, select):invalid[data-validity-visible]) .components-input-control__backdrop { | |
| 3588 | - border-color: #cc1818; | |
| 3508 | +.components-validated-control__wrapper-with-error-delegate:has(input:invalid[data-validity-visible]) .components-validated-control__content-editable [role=textbox], .components-validated-control__wrapper-with-error-delegate:has(select:invalid[data-validity-visible]) .components-input-control__backdrop, .components-validated-control textarea:invalid[data-validity-visible], .components-validated-control:has(:is(input, select):invalid[data-validity-visible]) .components-input-control__backdrop { | |
| 3509 | + border-color: var(--wpds-color-stroke-interactive-error, #cc1818); | |
| 3589 | 3510 | } |
| 3590 | -.components-validated-control textarea:invalid[data-validity-visible] { | |
| 3591 | - border-color: #cc1818; | |
| 3592 | -} | |
| 3593 | 3511 | |
| 3594 | 3512 | .components-validated-control__wrapper-with-error-delegate { |
| 3595 | 3513 | position: relative; |
| 3596 | 3514 | } |
| 3597 | -.components-validated-control__wrapper-with-error-delegate:has(select:invalid[data-validity-visible]) .components-input-control__backdrop { | |
| 3598 | - border-color: #cc1818; | |
| 3599 | -} | |
| 3600 | -.components-validated-control__wrapper-with-error-delegate:has(input:invalid[data-validity-visible]) .components-validated-control__content-editable [role=textbox] { | |
| 3601 | - border-color: #cc1818; | |
| 3602 | -} | |
| 3603 | - | |
| 3604 | 3515 | .components-validated-control__error-delegate { |
| 3605 | 3516 | position: absolute; |
| 3606 | 3517 | top: 0; |
| 3607 | 3518 | height: 100%; |