PluginProbe
Gutenberg / trunk
Gutenberg vtrunk
24.1.0 24.0.0 23.9.1 23.9.0 23.8.0 23.7.2 23.7.1 23.7.0 23.6.1 23.6.2 23.6.0 23.5.3 23.5.2 23.5.1 23.5.0 23.4.0 23.3.2 23.3.1 23.3.0 23.2.0 23.2.1 23.2.2 23.1.1 23.1.0 23.0.1 All 404 releases
← All changes | build/styles/components/style.css +146 -646 23.7.1 → trunk View file →
@@ -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;
@@ -263,11 +264,13 @@
263 264 */
264 265 .components-button:focus:is(a) {
265 266 box-shadow: none;
266 267 }
268 +.components-button:focus {
269 + outline: none;
270 +}
267 271 .components-button:focus:not(:active) {
268 - --focus-color: var(--wpds-color-stroke-focus, var(--wp-admin-theme-color, #3858e9));
269 - outline: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)) solid var(--focus-color);
272 + 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)));
270 273 outline-offset: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px));
271 274 }
272 275 .components-button {
273 276 display: inline-flex;
@@ -276,11 +279,9 @@
276 279 font-size: 13px;
277 280 font-weight: var(--wpds-typography-font-weight-emphasis, 600);
278 281 margin: 0;
279 282 cursor: var(--wpds-cursor-control, pointer);
280 - -webkit-appearance: none;
281 - -moz-appearance: none;
282 - appearance: none;
283 + appearance: none;
283 284 background: none;
284 285 height: 36px;
285 286 align-items: center;
286 287 box-sizing: border-box;
@@ -531,13 +532,8 @@
531 532 fill: currentColor;
532 533 outline: none;
533 534 flex-shrink: 0;
534 535 }
535 -@media (forced-colors: active) {
536 - .components-button svg {
537 - fill: CanvasText;
538 - }
539 -}
540 536
541 537 @keyframes components-button__busy-animation {
542 538 0% {
543 539 background-position: 200px 0;
@@ -542,371 +538,8 @@
542 538 0% {
543 539 background-position: 200px 0;
544 540 }
545 541 }
546 -/* Root of the component. */
547 -.components-calendar {
548 - position: relative; /* Required to position the navigation toolbar. */
549 - box-sizing: border-box;
550 - display: inline flow-root;
551 - color: var(--wp-components-color-foreground, var(--wpds-color-foreground-content-neutral, #1e1e1e));
552 - background-color: var(--wp-components-color-background, var(--wpds-color-background-surface-neutral-strong, #fff));
553 - font-size: 13px;
554 - font-weight: var(--wpds-typography-font-weight-default, 400);
555 - z-index: 0;
556 -}
557 -.components-calendar *,
558 -.components-calendar *::before,
559 -.components-calendar *::after {
560 - box-sizing: border-box;
561 -}
562 -
563 -.components-calendar__day {
564 - padding: 0;
565 - position: relative;
566 -}
567 -.components-calendar__day:has(.components-calendar__day-button:disabled) {
568 - color: var(--wp-components-color-gray-400, var(--wpds-color-stroke-interactive-neutral, #8d8d8d));
569 -}
570 -.components-calendar__day:has(.components-calendar__day-button:hover:not(:disabled)), .components-calendar__day:has(.components-calendar__day-button:focus-visible) {
571 - color: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
572 -}
573 -
574 -.components-calendar__day-button {
575 - background: none;
576 - padding: 0;
577 - margin: 0;
578 - cursor: var(--wpds-cursor-control, pointer);
579 - justify-content: center;
580 - align-items: center;
581 - display: flex;
582 - position: relative;
583 - width: 32px;
584 - height: 32px;
585 - border: none;
586 - border-radius: 2px;
587 - font: inherit;
588 - font-variant-numeric: tabular-nums;
589 - color: inherit;
590 -}
591 -.components-calendar__day-button::before {
592 - content: "";
593 - position: absolute;
594 - z-index: -1;
595 - inset: 0;
596 - border: none;
597 - border-radius: 2px;
598 -}
599 -.components-calendar__day-button::after {
600 - content: "";
601 - position: absolute;
602 - z-index: 1;
603 - inset: 0;
604 - pointer-events: none;
605 -}
606 -.components-calendar__day-button:disabled {
607 - cursor: revert;
608 -}
609 -@media (forced-colors: active) {
610 - .components-calendar__day-button:disabled {
611 - text-decoration: line-through;
612 - }
613 -}
614 -.components-calendar__day-button:focus-visible {
615 - outline: var(--wp-admin-border-width-focus) solid var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
616 - outline-offset: 1px;
617 -}
618 -
619 -.components-calendar__caption-label {
620 - z-index: 1;
621 - position: relative;
622 - display: inline-flex;
623 - align-items: center;
624 - white-space: nowrap;
625 - border: 0;
626 - text-transform: capitalize;
627 -}
628 -
629 -.components-calendar__button-next,
630 -.components-calendar__button-previous {
631 - border: none;
632 - border-radius: 2px;
633 - background: none;
634 - padding: 0;
635 - margin: 0;
636 - cursor: var(--wpds-cursor-control, pointer);
637 - -webkit-appearance: none;
638 - -moz-appearance: none;
639 - appearance: none;
640 - display: inline-flex;
641 - align-items: center;
642 - justify-content: center;
643 - position: relative;
644 - width: 32px;
645 - height: 32px;
646 - color: inherit;
647 -}
648 -.components-calendar__button-next:disabled, .components-calendar__button-next[aria-disabled=true],
649 -.components-calendar__button-previous:disabled,
650 -.components-calendar__button-previous[aria-disabled=true] {
651 - cursor: revert;
652 - color: var(--wp-components-color-gray-600, var(--wpds-color-stroke-interactive-neutral, #8d8d8d));
653 -}
654 -.components-calendar__button-next:focus-visible,
655 -.components-calendar__button-previous:focus-visible {
656 - outline: var(--wp-admin-border-width-focus) solid var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
657 -}
658 -
659 -.components-calendar__chevron {
660 - display: inline-block;
661 - fill: currentColor;
662 - width: 16px;
663 - height: 16px;
664 -}
665 -
666 -.components-calendar[dir=rtl] .components-calendar__nav .components-calendar__chevron {
667 - transform: rotate(180deg);
668 - transform-origin: 50%;
669 -}
670 -
671 -.components-calendar__month-caption {
672 - display: flex;
673 - justify-content: center;
674 - align-content: center;
675 - height: 32px;
676 - margin-bottom: 12px;
677 -}
678 -
679 -.components-calendar__months {
680 - position: relative;
681 - display: flex;
682 - justify-content: center;
683 - flex-wrap: wrap;
684 - gap: 16px;
685 - max-width: -moz-fit-content;
686 - max-width: fit-content;
687 -}
688 -
689 -.components-calendar__month-grid {
690 - border-collapse: separate;
691 - border-spacing: 0 4px;
692 -}
693 -
694 -.components-calendar__nav {
695 - position: absolute;
696 - inset-block-start: 0;
697 - inset-inline-start: 0;
698 - inset-inline-end: 0;
699 - display: flex;
700 - align-items: center;
701 - justify-content: space-between;
702 - height: 32px;
703 -}
704 -
705 -.components-calendar__weekday {
706 - width: 32px;
707 - height: 32px;
708 - padding: 0;
709 - color: var(--wp-components-color-gray-700, var(--wpds-color-foreground-content-neutral-weak, #707070));
710 - text-align: center;
711 - text-transform: uppercase;
712 -}
713 -
714 -/* DAY MODIFIERS */
715 -.components-calendar__day--today::after {
716 - content: "";
717 - position: absolute;
718 - z-index: 1;
719 - inset-block-start: 2px;
720 - inset-inline-end: 2px;
721 - width: 0;
722 - height: 0;
723 - border-radius: 50%;
724 - border: 2px solid currentColor;
725 -}
726 -
727 -.components-calendar__day--selected:not(.components-calendar__range-middle):has(.components-calendar__day-button,
728 -.components-calendar__day-button:hover:not(:disabled)) {
729 - color: var(--wp-components-color-foreground-inverted, var(--wpds-color-background-surface-neutral, #fcfcfc));
730 -}
731 -.components-calendar__day--selected:not(.components-calendar__range-middle) .components-calendar__day-button::before {
732 - background-color: var(--wp-components-color-foreground, var(--wpds-color-foreground-content-neutral, #1e1e1e));
733 - border: 1px solid transparent;
734 -}
735 -.components-calendar__day--selected:not(.components-calendar__range-middle) .components-calendar__day-button:disabled::before {
736 - background-color: var(--wp-components-color-gray-400, var(--wpds-color-stroke-interactive-neutral, #8d8d8d));
737 -}
738 -.components-calendar__day--selected:not(.components-calendar__range-middle) .components-calendar__day-button:hover:not(:disabled)::before {
739 - background-color: var(--wp-components-color-gray-800, var(--wpds-color-foreground-content-neutral, #1e1e1e));
740 -}
741 -
742 -.components-calendar__day--outside {
743 - color: var(--wp-components-color-gray-600, var(--wpds-color-stroke-interactive-neutral, #8d8d8d));
744 -}
745 -
746 -.components-calendar__day--hidden {
747 - visibility: hidden;
748 -}
749 -
750 -.components-calendar__range-start:not(.components-calendar__range-end) .components-calendar__day-button, .components-calendar__range-start:not(.components-calendar__range-end) .components-calendar__day-button::before {
751 - border-start-end-radius: 0;
752 - border-end-end-radius: 0;
753 -}
754 -
755 -.components-calendar__range-middle .components-calendar__day-button::before {
756 - background-color: color-mix(in srgb, var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)) 4%, transparent);
757 - border-radius: 0;
758 - border-width: 1px 0;
759 - border-color: transparent;
760 - border-style: solid;
761 -}
762 -
763 -.components-calendar__range-end:not(.components-calendar__range-start) .components-calendar__day-button, .components-calendar__range-end:not(.components-calendar__range-start) .components-calendar__day-button::before {
764 - border-start-start-radius: 0;
765 - border-end-start-radius: 0;
766 -}
767 -
768 -/*
769 - * RANGE PREVIEW (range calendar only)
770 - *
771 - * The preview is rendered in the button's ::after pseudo-element, so that it
772 - * can be rendered over the button's contents.
773 - * The selection preview is shown with a dashed border. In order to have
774 - * control over the dash pattern (especially the seams between days), the
775 - * dashed borders are rendered as SVGs via the url() CSS function.
776 - * Since SVGs rendered in the url() function don't seem to be able to access
777 - * CSS variables, we're using the SVGs as masks, and using `background-color`
778 - * to consume the accent color variable.
779 - */
780 -.components-calendar__day--preview svg {
781 - position: absolute;
782 - inset: 0;
783 - pointer-events: none;
784 - color: color-mix(in srgb, var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)) 16%, transparent);
785 -}
786 -@media (forced-colors: active) {
787 - .components-calendar__day--preview svg {
788 - color: inherit;
789 - }
790 -}
791 -.components-calendar[dir=rtl] .components-calendar__day--preview svg {
792 - transform: scaleX(-1);
793 -}
794 -
795 -.components-calendar__day--preview.components-calendar__range-middle .components-calendar__day-button::before {
796 - border: none;
797 -}
798 -
799 -/* ANIMATIONS */
800 -@keyframes slide-in-left {
801 - 0% {
802 - transform: translateX(-100%);
803 - }
804 - 100% {
805 - transform: translateX(0);
806 - }
807 -}
808 -@keyframes slide-in-right {
809 - 0% {
810 - transform: translateX(100%);
811 - }
812 - 100% {
813 - transform: translateX(0);
814 - }
815 -}
816 -@keyframes slide-out-left {
817 - 0% {
818 - transform: translateX(0);
819 - }
820 - 100% {
821 - transform: translateX(-100%);
822 - }
823 -}
824 -@keyframes slide-out-right {
825 - 0% {
826 - transform: translateX(0);
827 - }
828 - 100% {
829 - transform: translateX(100%);
830 - }
831 -}
832 -@keyframes fade-in {
833 - from {
834 - opacity: 0;
835 - }
836 - to {
837 - opacity: 1;
838 - }
839 -}
840 -@keyframes fade-out {
841 - from {
842 - opacity: 1;
843 - }
844 - to {
845 - opacity: 0;
846 - }
847 -}
848 -.components-calendar__weeks-before-enter,
849 -.components-calendar__weeks-before-exit,
850 -.components-calendar__weeks-after-enter,
851 -.components-calendar__weeks-after-exit,
852 -.components-calendar__caption-after-enter,
853 -.components-calendar__caption-after-exit,
854 -.components-calendar__caption-before-enter,
855 -.components-calendar__caption-before-exit {
856 - animation-duration: 0s;
857 - animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
858 - animation-fill-mode: forwards;
859 -}
860 -@media not (prefers-reduced-motion) {
861 - .components-calendar__weeks-before-enter,
862 - .components-calendar__weeks-before-exit,
863 - .components-calendar__weeks-after-enter,
864 - .components-calendar__weeks-after-exit,
865 - .components-calendar__caption-after-enter,
866 - .components-calendar__caption-after-exit,
867 - .components-calendar__caption-before-enter,
868 - .components-calendar__caption-before-exit {
869 - animation-duration: 0.3s;
870 - }
871 -}
872 -
873 -.components-calendar__weeks-before-enter,
874 -.components-calendar[dir=rtl] .components-calendar__weeks-after-enter {
875 - animation-name: slide-in-left;
876 -}
877 -
878 -.components-calendar__weeks-before-exit,
879 -.components-calendar[dir=rtl] .components-calendar__weeks-after-exit {
880 - animation-name: slide-out-left;
881 -}
882 -
883 -.components-calendar__weeks-after-enter,
884 -.components-calendar[dir=rtl] .components-calendar__weeks-before-enter {
885 - animation-name: slide-in-right;
886 -}
887 -
888 -.components-calendar__weeks-after-exit,
889 -.components-calendar[dir=rtl] .components-calendar__weeks-before-exit {
890 - animation-name: slide-out-right;
891 -}
892 -
893 -.components-calendar__caption-after-enter {
894 - animation-name: fade-in;
895 -}
896 -
897 -.components-calendar__caption-after-exit {
898 - animation-name: fade-out;
899 -}
900 -
901 -.components-calendar__caption-before-enter {
902 - animation-name: fade-in;
903 -}
904 -
905 -.components-calendar__caption-before-exit {
906 - animation-name: fade-out;
907 -}
908 -
909 542 .components-checkbox-control {
910 543 --checkbox-input-size: 24px;
911 544 }
912 545 @media (min-width: 600px) {
@@ -919,8 +552,9 @@
919 552 }
920 553
921 554 .components-checkbox-control__label {
922 555 line-height: var(--checkbox-input-size);
556 + color: var(--wpds-color-foreground-content-neutral, #1e1e1e);
923 557 }
924 558 .components-checkbox-control:not(:has(:disabled)) .components-checkbox-control__label {
925 559 cursor: var(--wpds-cursor-control, pointer);
926 560 }
@@ -925,9 +559,9 @@
925 559 cursor: var(--wpds-cursor-control, pointer);
926 560 }
927 561
928 562 .components-checkbox-control__input[type=checkbox] {
929 - border: 1px solid #1e1e1e;
563 + border: var(--wpds-border-width-xs, 1px) solid var(--wpds-color-stroke-interactive-neutral, #8d8d8d);
930 564 margin-right: 12px;
931 565 transition: none;
932 566 border-radius: 2px;
933 567 font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
@@ -935,17 +569,11 @@
935 569 /* Fonts smaller than 16px causes mobile safari to zoom. */
936 570 font-size: 16px;
937 571 /* Override core line-height. To be reviewed. */
938 572 line-height: normal;
939 - box-shadow: 0 0 0 transparent;
940 - border-radius: 2px;
941 - border: 1px solid #949494;
573 + border: var(--wpds-border-width-xs, 1px) solid var(--wpds-color-stroke-interactive-neutral, #8d8d8d);
574 + border-radius: var(--wpds-border-radius-sm, 2px);
942 575 }
943 -@media not (prefers-reduced-motion) {
944 - .components-checkbox-control__input[type=checkbox] {
945 - transition: box-shadow 0.1s linear;
946 - }
947 -}
948 576 @media (min-width: 600px) {
949 577 .components-checkbox-control__input[type=checkbox] {
950 578 font-size: 13px;
951 579 /* Override core line-height. To be reviewed. */
@@ -951,18 +579,22 @@
951 579 /* Override core line-height. To be reviewed. */
952 580 line-height: normal;
953 581 }
954 582 }
583 +.components-checkbox-control__input[type=checkbox]:hover:not(:disabled, [aria-disabled=true]) {
584 + border-color: var(--wpds-color-stroke-interactive-neutral-active, #6e6e6e);
585 +}
955 586 .components-checkbox-control__input[type=checkbox]:focus {
956 - border-color: var(--wp-admin-theme-color);
957 - box-shadow: 0 0 0 0.5px var(--wp-admin-theme-color);
958 - outline: 2px solid transparent;
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)));
588 + outline-offset: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px));
589 + border-color: var(--wpds-color-stroke-interactive-neutral, #8d8d8d);
590 + box-shadow: none;
959 591 }
960 -.components-checkbox-control__input[type=checkbox]::-moz-placeholder {
592 +.components-checkbox-control__input[type=checkbox]::placeholder {
961 593 color: rgba(30, 30, 30, 0.62);
962 594 }
963 -.components-checkbox-control__input[type=checkbox]::placeholder {
964 - 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);
965 597 }
966 598 .components-checkbox-control__input[type=checkbox]:focus {
967 599 box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--wp-admin-theme-color);
968 600 outline: 2px solid transparent;
@@ -990,9 +622,9 @@
990 622 display: inline-block;
991 623 vertical-align: middle;
992 624 width: 16px;
993 625 /* stylelint-disable-next-line font-family-no-missing-generic-family-keyword -- dashicons don't need a generic family keyword. */
994 - font: normal 30px/1 dashicons;
626 + font: 400 30px/1 dashicons;
995 627 speak: none;
996 628 -webkit-font-smoothing: antialiased;
997 629 -moz-osx-font-smoothing: grayscale;
998 630 }
@@ -1002,13 +634,17 @@
1002 634 font-size: 21px;
1003 635 }
1004 636 }
1005 637 .components-checkbox-control__input[type=checkbox][aria-disabled=true], .components-checkbox-control__input[type=checkbox]:disabled {
1006 - background: #f0f0f0;
1007 - 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);
1008 641 cursor: default;
1009 642 opacity: 1;
1010 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 +}
1011 647 .components-checkbox-control__input[type=checkbox] {
1012 648 background: #fff;
1013 649 color: #1e1e1e;
1014 650 clear: none;
@@ -1020,11 +656,9 @@
1020 656 text-align: center;
1021 657 vertical-align: top;
1022 658 width: var(--checkbox-input-size);
1023 659 height: var(--checkbox-input-size);
1024 - -webkit-appearance: none;
1025 - -moz-appearance: none;
1026 - appearance: none;
660 + appearance: none;
1027 661 }
1028 662 @media not (prefers-reduced-motion) {
1029 663 .components-checkbox-control__input[type=checkbox] {
1030 664 transition: 0.1s border-color ease-in-out;
@@ -1058,32 +692,24 @@
1058 692 }
1059 693
1060 694 svg.components-checkbox-control__checked,
1061 695 svg.components-checkbox-control__indeterminate {
1062 - --checkmark-size: var(--checkbox-input-size);
1063 - fill: #fff;
696 + color: #fff;
1064 697 cursor: var(--wpds-cursor-control, pointer);
1065 698 position: absolute;
1066 699 left: 50%;
1067 700 top: 50%;
1068 701 transform: translate(-50%, -50%);
1069 - width: var(--checkmark-size);
1070 - height: var(--checkmark-size);
702 + width: var(--checkbox-input-size);
703 + height: var(--checkbox-input-size);
1071 704 -webkit-user-select: none;
1072 - -moz-user-select: none;
1073 705 user-select: none;
1074 706 pointer-events: none;
1075 707 }
1076 -@media (min-width: 600px) {
1077 - svg.components-checkbox-control__checked,
1078 - svg.components-checkbox-control__indeterminate {
1079 - --checkmark-size: calc(var(--checkbox-input-size) + 4px);
1080 - }
1081 -}
1082 708
1083 709 .components-checkbox-control:has(:disabled) svg.components-checkbox-control__checked,
1084 710 .components-checkbox-control:has(:disabled) svg.components-checkbox-control__indeterminate {
1085 - fill: var(--wp-components-color-gray-400, var(--wpds-color-stroke-interactive-neutral, #8d8d8d));
711 + color: var(--wpds-color-foreground-interactive-neutral-disabled, #8d8d8d);
1086 712 }
1087 713
1088 714 .components-checkbox-control__help {
1089 715 display: inline-block;
@@ -1121,14 +747,14 @@
1121 747 transform: scale(1);
1122 748 }
1123 749 @media not (prefers-reduced-motion) {
1124 750 .components-circular-option-picker__option-wrapper {
1125 - transition: 100ms transform ease;
751 + transition: 100ms transform ease-out;
1126 752 will-change: transform;
1127 753 }
1128 754 }
1129 755 .components-circular-option-picker__option-wrapper:hover {
1130 - transform: scale(1.2);
756 + transform: scale(1.1);
1131 757 }
1132 758 .components-circular-option-picker__option-wrapper > div {
1133 759 height: 100%;
1134 760 width: 100%;
@@ -1136,12 +762,9 @@
1136 762
1137 763 .components-circular-option-picker__option-wrapper::before {
1138 764 content: "";
1139 765 position: absolute;
1140 - top: 1px;
1141 - left: 1px;
1142 - bottom: 1px;
1143 - right: 1px;
766 + inset: 1px;
1144 767 border-radius: 50%;
1145 768 z-index: -1;
1146 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');
1147 770 }
@@ -1163,13 +786,9 @@
1163 786 }
1164 787 .components-circular-option-picker__option {
1165 788 cursor: var(--wpds-cursor-control, pointer);
1166 789 }
1167 -.components-circular-option-picker__option:hover {
1168 - box-shadow: inset 0 0 0 14px !important;
1169 -}
1170 790 .components-circular-option-picker__option[aria-pressed=true], .components-circular-option-picker__option[aria-selected=true] {
1171 - box-shadow: inset 0 0 0 4px;
1172 791 position: relative;
1173 792 z-index: 1;
1174 793 overflow: visible;
1175 794 }
@@ -1183,34 +802,13 @@
1183 802 }
1184 803 .components-circular-option-picker__option::after {
1185 804 content: "";
1186 805 position: absolute;
1187 - top: -1px;
1188 - left: -1px;
1189 - bottom: -1px;
1190 - right: -1px;
806 + inset: -1px;
807 + border: 1px solid transparent;
1191 808 border-radius: 50%;
1192 809 box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2);
1193 - border: 1px solid transparent;
1194 - box-sizing: inherit;
1195 810 }
1196 -.components-circular-option-picker__option:focus::after {
1197 - content: "";
1198 - border-radius: 50%;
1199 - box-shadow: inset 0 0 0 2px #fff;
1200 - position: absolute;
1201 - top: 50%;
1202 - left: 50%;
1203 - transform: translate(-50%, -50%);
1204 - border: 2px solid #757575;
1205 - width: calc(100% + 4px);
1206 - height: calc(100% + 4px);
1207 -}
1208 -.components-circular-option-picker__option.components-button:focus {
1209 - background-color: transparent;
1210 - box-shadow: inset 0 0 0 14px;
1211 - outline: none;
1212 -}
1213 811
1214 812 .components-circular-option-picker__button-action .components-circular-option-picker__option {
1215 813 color: #fff;
1216 814 background: #fff;
@@ -1222,17 +820,14 @@
1222 820 .components-circular-option-picker__dropdown-link-action .components-button {
1223 821 line-height: 22px;
1224 822 }
1225 823
1226 -.components-palette-edit__popover-gradient-picker {
824 +.components-palette-edit__popover-gradient-picker,
825 +.components-palette-edit__popover-duotone-picker {
1227 826 width: 260px;
1228 827 padding: 8px;
1229 828 }
1230 829
1231 -.components-dropdown-menu__menu .components-palette-edit__menu-button {
1232 - width: 100%;
1233 -}
1234 -
1235 830 .component-color-indicator {
1236 831 width: 20px;
1237 832 height: 20px;
1238 833 box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2);
@@ -1275,17 +870,11 @@
1275 870 /* Fonts smaller than 16px causes mobile safari to zoom. */
1276 871 font-size: 16px;
1277 872 /* Override core line-height. To be reviewed. */
1278 873 line-height: normal;
1279 - box-shadow: 0 0 0 transparent;
1280 - border-radius: 2px;
1281 - border: 1px solid #949494;
874 + border: var(--wpds-border-width-xs, 1px) solid var(--wpds-color-stroke-interactive-neutral, #8d8d8d);
875 + border-radius: var(--wpds-border-radius-sm, 2px);
1282 876 }
1283 -@media not (prefers-reduced-motion) {
1284 - .components-combobox-control__suggestions-container {
1285 - transition: box-shadow 0.1s linear;
1286 - }
1287 -}
1288 877 @media (min-width: 600px) {
1289 878 .components-combobox-control__suggestions-container {
1290 879 font-size: 13px;
1291 880 /* Override core line-height. To be reviewed. */
@@ -1291,16 +880,17 @@
1291 880 /* Override core line-height. To be reviewed. */
1292 881 line-height: normal;
1293 882 }
1294 883 }
884 +.components-combobox-control__suggestions-container:hover:not(:disabled, [aria-disabled=true]) {
885 + border-color: var(--wpds-color-stroke-interactive-neutral-active, #6e6e6e);
886 +}
1295 887 .components-combobox-control__suggestions-container:focus {
1296 - border-color: var(--wp-admin-theme-color);
1297 - box-shadow: 0 0 0 0.5px var(--wp-admin-theme-color);
1298 - outline: 2px solid transparent;
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)));
889 + outline-offset: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px));
890 + border-color: var(--wpds-color-stroke-interactive-neutral, #8d8d8d);
891 + box-shadow: none;
1299 892 }
1300 -.components-combobox-control__suggestions-container::-moz-placeholder {
1301 - color: rgba(30, 30, 30, 0.62);
1302 -}
1303 893 .components-combobox-control__suggestions-container::placeholder {
1304 894 color: rgba(30, 30, 30, 0.62);
1305 895 }
1306 896 .components-combobox-control__suggestions-container {
@@ -1310,11 +900,10 @@
1310 900 width: 100%;
1311 901 padding: 0;
1312 902 }
1313 903 .components-combobox-control__suggestions-container:focus-within {
1314 - border-color: var(--wp-admin-theme-color);
1315 - box-shadow: 0 0 0 0.5px var(--wp-admin-theme-color);
1316 - outline: 2px solid transparent;
904 + 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)));
905 + outline-offset: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px));
1317 906 }
1318 907 .components-combobox-control__suggestions-container .components-spinner {
1319 908 margin: 0;
1320 909 }
@@ -1427,14 +1016,19 @@
1427 1016 width: inherit;
1428 1017 border-radius: 50%;
1429 1018 padding: 0;
1430 1019 box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) #fff, 0 0 2px 0 rgba(0, 0, 0, 0.25);
1431 - outline: 2px solid transparent;
1432 1020 }
1433 -.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 {
1434 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);
1435 - outline: 1.5px solid transparent;
1436 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 +}
1437 1031
1438 1032 .components-custom-gradient-picker__remove-control-point-wrapper {
1439 1033 padding-bottom: 8px;
1440 1034 }
@@ -1662,10 +1256,9 @@
1662 1256 box-shadow: none;
1663 1257 border-radius: 0;
1664 1258 }
1665 1259 .components-external-link:focus:not(:active) {
1666 - --focus-color: var(--wpds-color-stroke-focus, var(--wp-admin-theme-color, #3858e9));
1667 - outline: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)) solid var(--focus-color);
1260 + 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)));
1668 1261 outline-offset: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px));
1669 1262 }
1670 1263
1671 1264 .components-external-link__contents {
@@ -1758,39 +1351,39 @@
1758 1351 background-color: #fff;
1759 1352 border-width: 0;
1760 1353 transform: translateX(16px);
1761 1354 }
1762 -.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 {
1763 1356 background-color: var(--wp-components-color-gray-100, var(--wpds-color-background-surface-neutral, #fcfcfc));
1764 1357 border-color: var(--wpds-color-stroke-interactive-neutral-disabled, #dbdbdb);
1765 1358 }
1766 1359 @media (forced-colors: active) {
1767 - .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 {
1768 1361 border-color: GrayText;
1769 1362 }
1770 1363 }
1771 -.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 {
1772 1365 background-color: var(--wp-components-color-gray-400, var(--wpds-color-stroke-interactive-neutral, #8d8d8d));
1773 1366 box-shadow: none;
1774 1367 }
1775 1368 @media (forced-colors: active) {
1776 - .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 {
1777 1370 border-color: GrayText;
1778 1371 }
1779 1372 }
1780 -.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 {
1781 1374 background-color: var(--wp-components-color-gray-400, var(--wpds-color-stroke-interactive-neutral, #8d8d8d));
1782 1375 border-color: var(--wp-components-color-gray-400, var(--wpds-color-stroke-interactive-neutral, #8d8d8d));
1783 1376 }
1784 1377 @media (forced-colors: active) {
1785 - .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 {
1786 1379 border-color: GrayText;
1787 1380 }
1788 - .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 {
1789 1382 border-top-color: GrayText;
1790 1383 }
1791 1384 }
1792 -.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 {
1793 1386 background-color: #fff;
1794 1387 }
1795 1388
1796 1389 .components-form-toggle input.components-form-toggle__input[type=checkbox] {
@@ -1821,17 +1414,11 @@
1821 1414 /* Fonts smaller than 16px causes mobile safari to zoom. */
1822 1415 font-size: 16px;
1823 1416 /* Override core line-height. To be reviewed. */
1824 1417 line-height: normal;
1825 - box-shadow: 0 0 0 transparent;
1826 - border-radius: 2px;
1827 - border: 1px solid #949494;
1418 + border: var(--wpds-border-width-xs, 1px) solid var(--wpds-color-stroke-interactive-neutral, #8d8d8d);
1419 + border-radius: var(--wpds-border-radius-sm, 2px);
1828 1420 }
1829 -@media not (prefers-reduced-motion) {
1830 - .components-form-token-field__input-container {
1831 - transition: box-shadow 0.1s linear;
1832 - }
1833 -}
1834 1421 @media (min-width: 600px) {
1835 1422 .components-form-token-field__input-container {
1836 1423 font-size: 13px;
1837 1424 /* Override core line-height. To be reviewed. */
@@ -1837,16 +1424,17 @@
1837 1424 /* Override core line-height. To be reviewed. */
1838 1425 line-height: normal;
1839 1426 }
1840 1427 }
1428 +.components-form-token-field__input-container:hover:not(:disabled, [aria-disabled=true]) {
1429 + border-color: var(--wpds-color-stroke-interactive-neutral-active, #6e6e6e);
1430 +}
1841 1431 .components-form-token-field__input-container:focus {
1842 - border-color: var(--wp-admin-theme-color);
1843 - box-shadow: 0 0 0 0.5px var(--wp-admin-theme-color);
1844 - outline: 2px solid transparent;
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)));
1433 + outline-offset: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px));
1434 + border-color: var(--wpds-color-stroke-interactive-neutral, #8d8d8d);
1435 + box-shadow: none;
1845 1436 }
1846 -.components-form-token-field__input-container::-moz-placeholder {
1847 - color: rgba(30, 30, 30, 0.62);
1848 -}
1849 1437 .components-form-token-field__input-container::placeholder {
1850 1438 color: rgba(30, 30, 30, 0.62);
1851 1439 }
1852 1440 .components-form-token-field__input-container {
@@ -1858,12 +1446,14 @@
1858 1446 background: var(--wp-components-color-gray-100, var(--wpds-color-background-surface-neutral, #fcfcfc));
1859 1447 border-color: var(--wp-components-color-gray-400, var(--wpds-color-stroke-interactive-neutral, #8d8d8d));
1860 1448 cursor: default;
1861 1449 }
1450 +.components-form-token-field__input-container.is-disabled:hover {
1451 + border-color: var(--wp-components-color-gray-400, var(--wpds-color-stroke-interactive-neutral, #8d8d8d));
1452 +}
1862 1453 .components-form-token-field__input-container.is-active {
1863 - border-color: var(--wp-admin-theme-color);
1864 - box-shadow: 0 0 0 0.5px var(--wp-admin-theme-color);
1865 - outline: 2px solid transparent;
1454 + 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)));
1455 + outline-offset: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px));
1866 1456 }
1867 1457 .components-form-token-field__input-container input[type=text].components-form-token-field__input {
1868 1458 display: inline-block;
1869 1459 flex: 1;
@@ -2154,8 +1744,13 @@
2154 1744 outline-offset: calc(2 * -1 * var(--wp-admin-border-width-focus) / var(--wp-block-editor-iframe-zoom-out-scale, 1));
2155 1745 box-shadow: inset 0 0 0 calc(2 * var(--wp-admin-border-width-focus) / var(--wp-block-editor-iframe-zoom-out-scale, 1) + 0.5px) rgba(255, 255, 255, 0.7);
2156 1746 }
2157 1747
1748 +.components-input-control__container:focus-within:not(:has(:is(.components-input-control__prefix, .components-input-control__suffix):focus-within)) .components-input-control__backdrop {
1749 + 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)));
1750 + outline-offset: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px));
1751 +}
1752 +
2158 1753 .components-menu-group + .components-menu-group {
2159 1754 padding-top: 8px;
2160 1755 border-top: 1px solid #1e1e1e;
2161 1756 }
@@ -2274,8 +1869,12 @@
2274 1869 .components-menu-items-choice.components-button.has-icon {
2275 1870 padding-left: 12px;
2276 1871 }
2277 1872
1873 +body.modal-open {
1874 + overflow: hidden;
1875 +}
1876 +
2278 1877 .components-modal__screen-overlay {
2279 1878 position: fixed;
2280 1879 top: 0;
2281 1880 right: 0;
@@ -2516,9 +2115,9 @@
2516 2115 }
2517 2116
2518 2117 .components-notice {
2519 2118 --wp-components-notice-background-color: var(--wpds-color-background-surface-info-weak, #f3f9ff);
2520 - --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);
2521 2120 --wp-components-notice-text-color: var(--wpds-color-foreground-content-info, #001b4f);
2522 2121 box-sizing: border-box;
2523 2122 display: grid;
2524 2123 grid-template-columns: 1fr auto;
@@ -2533,19 +2132,19 @@
2533 2132 line-height: var(--wpds-typography-line-height-sm, 20px);
2534 2133 }
2535 2134 .components-notice.is-success {
2536 2135 --wp-components-notice-background-color: var(--wpds-color-background-surface-success-weak, #ebffed);
2537 - --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);
2538 2137 --wp-components-notice-text-color: var(--wpds-color-foreground-content-success, #002900);
2539 2138 }
2540 2139 .components-notice.is-warning {
2541 2140 --wp-components-notice-background-color: var(--wpds-color-background-surface-warning-weak, #fff7e1);
2542 - --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);
2543 2142 --wp-components-notice-text-color: var(--wpds-color-foreground-content-warning, #2e1900);
2544 2143 }
2545 2144 .components-notice.is-error {
2546 2145 --wp-components-notice-background-color: var(--wpds-color-background-surface-error-weak, #fff6f5);
2547 - --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);
2548 2147 --wp-components-notice-text-color: var(--wpds-color-foreground-content-error, #470000);
2549 2148 }
2550 2149
2551 2150 .components-notice__content {
@@ -2571,13 +2170,9 @@
2571 2170 margin-inline-start: var(--wpds-dimension-gap-xs, 4px);
2572 2171 }
2573 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 {
2574 2173 color: var(--wpds-color-foreground-interactive-neutral-active, #1e1e1e);
2575 - background-color: transparent;
2576 2174 }
2577 -.components-notice__dismiss:not(:disabled):not([aria-disabled=true]):not(.is-secondary):hover {
2578 - box-shadow: none;
2579 -}
2580 2175
2581 2176 .components-notice-list {
2582 2177 display: flex;
2583 2178 flex-direction: column;
@@ -2769,9 +2364,9 @@
2769 2364 font-size: 13px;
2770 2365 letter-spacing: initial;
2771 2366 line-height: initial;
2772 2367 text-transform: none;
2773 - font-weight: normal;
2368 + font-weight: 400;
2774 2369 }
2775 2370
2776 2371 .components-placeholder__label {
2777 2372 font-weight: var(--wpds-typography-font-weight-emphasis, 600);
@@ -2783,15 +2378,8 @@
2783 2378 .components-placeholder__label .block-editor-block-icon {
2784 2379 margin-right: 4px;
2785 2380 fill: currentColor;
2786 2381 }
2787 -@media (forced-colors: active) {
2788 - .components-placeholder__label > svg,
2789 - .components-placeholder__label .dashicon,
2790 - .components-placeholder__label .block-editor-block-icon {
2791 - fill: CanvasText;
2792 - }
2793 -}
2794 2382 .components-placeholder__label:empty {
2795 2383 display: none;
2796 2384 }
2797 2385
@@ -2821,17 +2409,11 @@
2821 2409 /* Fonts smaller than 16px causes mobile safari to zoom. */
2822 2410 font-size: 16px;
2823 2411 /* Override core line-height. To be reviewed. */
2824 2412 line-height: normal;
2825 - box-shadow: 0 0 0 transparent;
2826 - border-radius: 2px;
2827 - border: 1px solid #949494;
2413 + border: var(--wpds-border-width-xs, 1px) solid var(--wpds-color-stroke-interactive-neutral, #8d8d8d);
2414 + border-radius: var(--wpds-border-radius-sm, 2px);
2828 2415 }
2829 -@media not (prefers-reduced-motion) {
2830 - .components-placeholder__input[type=url] {
2831 - transition: box-shadow 0.1s linear;
2832 - }
2833 -}
2834 2416 @media (min-width: 600px) {
2835 2417 .components-placeholder__input[type=url] {
2836 2418 font-size: 13px;
2837 2419 /* Override core line-height. To be reviewed. */
@@ -2837,16 +2419,17 @@
2837 2419 /* Override core line-height. To be reviewed. */
2838 2420 line-height: normal;
2839 2421 }
2840 2422 }
2423 +.components-placeholder__input[type=url]:hover:not(:disabled, [aria-disabled=true]) {
2424 + border-color: var(--wpds-color-stroke-interactive-neutral-active, #6e6e6e);
2425 +}
2841 2426 .components-placeholder__input[type=url]:focus {
2842 - border-color: var(--wp-admin-theme-color);
2843 - box-shadow: 0 0 0 0.5px var(--wp-admin-theme-color);
2844 - outline: 2px solid transparent;
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)));
2428 + outline-offset: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px));
2429 + border-color: var(--wpds-color-stroke-interactive-neutral, #8d8d8d);
2430 + box-shadow: none;
2845 2431 }
2846 -.components-placeholder__input[type=url]::-moz-placeholder {
2847 - color: rgba(30, 30, 30, 0.62);
2848 -}
2849 2432 .components-placeholder__input[type=url]::placeholder {
2850 2433 color: rgba(30, 30, 30, 0.62);
2851 2434 }
2852 2435 .components-placeholder__input[type=url] {
@@ -2982,9 +2565,8 @@
2982 2565 background: #fff;
2983 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);
2984 2567 border-radius: 4px;
2985 2568 box-sizing: border-box;
2986 - width: -moz-min-content;
2987 2569 width: min-content;
2988 2570 }
2989 2571 .is-alternate .components-popover__content {
2990 2572 box-shadow: 0 0 0 1px #1e1e1e;
@@ -3091,10 +2673,9 @@
3091 2673 .components-radio-control__option {
3092 2674 display: grid;
3093 2675 grid-template-columns: auto 1fr;
3094 2676 grid-template-rows: auto minmax(0, max-content);
3095 - -moz-column-gap: 8px;
3096 - column-gap: 8px;
2677 + column-gap: 8px;
3097 2678 align-items: center;
3098 2679 }
3099 2680
3100 2681 .components-radio-control__input[type=radio] {
@@ -3152,11 +2733,9 @@
3152 2733 .components-radio-control__input[type=radio] {
3153 2734 display: inline-flex;
3154 2735 margin: 0;
3155 2736 padding: 0;
3156 - -webkit-appearance: none;
3157 - -moz-appearance: none;
3158 - appearance: none;
2737 + appearance: none;
3159 2738 }
3160 2739 .components-radio-control__input[type=radio]:not(:disabled) {
3161 2740 cursor: var(--wpds-cursor-control, pointer);
3162 2741 }
@@ -3185,10 +2764,11 @@
3185 2764
3186 2765 .components-radio-control__label {
3187 2766 grid-column: 2;
3188 2767 grid-row: 1;
2768 + color: var(--wpds-color-foreground-content-neutral, #1e1e1e);
3189 2769 }
3190 -.components-radio-control:not(:disabled) .components-radio-control__label {
2770 +.components-radio-control__input:not(:disabled) + .components-radio-control__label {
3191 2771 cursor: var(--wpds-cursor-control, pointer);
3192 2772 }
3193 2773 .components-radio-control__label {
3194 2774 line-height: 24px;
@@ -3418,9 +2998,8 @@
3418 2998 pointer-events: auto;
3419 2999 }
3420 3000 @media (min-width: 600px) {
3421 3001 .components-snackbar {
3422 - width: -moz-fit-content;
3423 3002 width: fit-content;
3424 3003 }
3425 3004 }
3426 3005 .components-snackbar:focus {
@@ -3447,14 +3026,10 @@
3447 3026 .components-snackbar__action.components-external-link {
3448 3027 margin-left: 32px;
3449 3028 color: #fff;
3450 3029 flex-shrink: 0;
3030 + --focus-color: #fff;
3451 3031 }
3452 -.components-snackbar__action.components-button:focus,
3453 -.components-snackbar__action.components-external-link:focus {
3454 - box-shadow: none;
3455 - outline: 1px dotted #fff;
3456 -}
3457 3032 .components-snackbar__action.components-button:hover,
3458 3033 .components-snackbar__action.components-external-link:hover {
3459 3034 text-decoration: none;
3460 3035 color: currentColor;
@@ -3494,9 +3069,8 @@
3494 3069 border-radius: 0;
3495 3070 height: 48px !important;
3496 3071 background: transparent;
3497 3072 border: none;
3498 - box-shadow: none;
3499 3073 cursor: var(--wpds-cursor-control, pointer);
3500 3074 padding: 3px var(--wpds-dimension-padding-lg, 16px);
3501 3075 margin-left: 0;
3502 3076 font-weight: var(--wpds-typography-font-weight-default, 400);
@@ -3509,9 +3083,8 @@
3509 3083 color: var(--wpds-color-foreground-interactive-neutral-active, #1e1e1e);
3510 3084 }
3511 3085 .components-tab-panel__tabs-item:focus:not(:disabled) {
3512 3086 position: relative;
3513 - box-shadow: none;
3514 3087 outline: none;
3515 3088 }
3516 3089 .components-tab-panel__tabs-item::after {
3517 3090 content: "";
@@ -3538,19 +3111,14 @@
3538 3111 content: "";
3539 3112 position: absolute;
3540 3113 inset: var(--wpds-dimension-padding-md, 12px);
3541 3114 pointer-events: none;
3542 - box-shadow: 0 0 0 0 transparent;
3543 3115 border-radius: var(--wpds-border-radius-sm, 2px);
3544 3116 }
3545 -@media not (prefers-reduced-motion) {
3546 - .components-tab-panel__tabs-item::before {
3547 - transition: box-shadow 0.1s linear;
3548 - }
3549 -}
3550 3117 .components-tab-panel__tabs-item:focus-visible::before {
3551 - 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));
3552 - 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;
3553 3121 }
3554 3122 .components-tab-panel__tabs[aria-orientation=vertical] .components-tab-panel__tabs-item {
3555 3123 border-radius: var(--wpds-border-radius-sm, 2px);
3556 3124 }
@@ -3561,14 +3129,13 @@
3561 3129 background: var(--wpds-color-background-interactive-neutral-weak-active, #ededed);
3562 3130 }
3563 3131
3564 3132 .components-tab-panel__tab-content:focus {
3565 - box-shadow: none;
3566 3133 outline: none;
3567 3134 }
3568 3135 .components-tab-panel__tab-content:focus-visible {
3569 - 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));
3570 - 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));
3571 3138 outline-offset: 0;
3572 3139 }
3573 3140
3574 3141 .components-text-control__input,
@@ -3595,30 +3162,11 @@
3595 3162 /* Fonts smaller than 16px causes mobile safari to zoom. */
3596 3163 font-size: 16px;
3597 3164 /* Override core line-height. To be reviewed. */
3598 3165 line-height: normal;
3599 - box-shadow: 0 0 0 transparent;
3600 - border-radius: 2px;
3601 - border: 1px solid #949494;
3166 + border: var(--wpds-border-width-xs, 1px) solid var(--wpds-color-stroke-interactive-neutral, #8d8d8d);
3167 + border-radius: var(--wpds-border-radius-sm, 2px);
3602 3168 }
3603 -@media not (prefers-reduced-motion) {
3604 - .components-text-control__input,
3605 - .components-text-control__input[type=text],
3606 - .components-text-control__input[type=tel],
3607 - .components-text-control__input[type=time],
3608 - .components-text-control__input[type=url],
3609 - .components-text-control__input[type=week],
3610 - .components-text-control__input[type=password],
3611 - .components-text-control__input[type=color],
3612 - .components-text-control__input[type=date],
3613 - .components-text-control__input[type=datetime],
3614 - .components-text-control__input[type=datetime-local],
3615 - .components-text-control__input[type=email],
3616 - .components-text-control__input[type=month],
3617 - .components-text-control__input[type=number] {
3618 - transition: box-shadow 0.1s linear;
3619 - }
3620 -}
3621 3169 @media (min-width: 600px) {
3622 3170 .components-text-control__input,
3623 3171 .components-text-control__input[type=text],
3624 3172 .components-text-control__input[type=tel],
@@ -3637,8 +3185,24 @@
3637 3185 /* Override core line-height. To be reviewed. */
3638 3186 line-height: normal;
3639 3187 }
3640 3188 }
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]) {
3203 + border-color: var(--wpds-color-stroke-interactive-neutral-active, #6e6e6e);
3204 +}
3641 3205 .components-text-control__input:focus,
3642 3206 .components-text-control__input[type=text]:focus,
3643 3207 .components-text-control__input[type=tel]:focus,
3644 3208 .components-text-control__input[type=time]:focus,
@@ -3651,15 +3215,13 @@
3651 3215 .components-text-control__input[type=datetime-local]:focus,
3652 3216 .components-text-control__input[type=email]:focus,
3653 3217 .components-text-control__input[type=month]:focus,
3654 3218 .components-text-control__input[type=number]:focus {
3655 - border-color: var(--wp-admin-theme-color);
3656 - box-shadow: 0 0 0 0.5px var(--wp-admin-theme-color);
3657 - outline: 2px solid transparent;
3219 + 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)));
3220 + outline-offset: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px));
3221 + border-color: var(--wpds-color-stroke-interactive-neutral, #8d8d8d);
3222 + box-shadow: none;
3658 3223 }
3659 -.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 {
3660 - color: rgba(30, 30, 30, 0.62);
3661 -}
3662 3224 .components-text-control__input::placeholder,
3663 3225 .components-text-control__input[type=text]::placeholder,
3664 3226 .components-text-control__input[type=tel]::placeholder,
3665 3227 .components-text-control__input[type=time]::placeholder,
@@ -3688,15 +3250,11 @@
3688 3250 .components-text-control__input[type=datetime-local],
3689 3251 .components-text-control__input[type=email],
3690 3252 .components-text-control__input[type=month],
3691 3253 .components-text-control__input[type=number] {
3692 - border-color: var(--wp-components-color-gray-600, var(--wpds-color-stroke-interactive-neutral, #8d8d8d));
3693 3254 padding-left: 12px;
3694 3255 padding-right: 12px;
3695 3256 }
3696 -.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 {
3697 - color: color-mix(in srgb, var(--wp-components-color-foreground, var(--wpds-color-foreground-content-neutral, #1e1e1e)), transparent 38%);
3698 -}
3699 3257 .components-text-control__input::placeholder,
3700 3258 .components-text-control__input[type=text]::placeholder,
3701 3259 .components-text-control__input[type=tel]::placeholder,
3702 3260 .components-text-control__input[type=time]::placeholder,
@@ -3724,9 +3282,9 @@
3724 3282 color: #757575;
3725 3283 }
3726 3284 .components-tip svg {
3727 3285 align-self: center;
3728 - fill: #f0b849;
3286 + color: #f0b849;
3729 3287 flex-shrink: 0;
3730 3288 margin-right: 16px;
3731 3289 }
3732 3290 .components-tip p {
@@ -3734,8 +3292,9 @@
3734 3292 }
3735 3293
3736 3294 .components-toggle-control__label {
3737 3295 line-height: 16px;
3296 + color: var(--wpds-color-foreground-content-neutral, #1e1e1e);
3738 3297 }
3739 3298 .components-toggle-control__label:not(.is-disabled) {
3740 3299 cursor: var(--wpds-cursor-control, pointer);
3741 3300 }
@@ -3941,40 +3500,19 @@
3941 3500 .components-tooltip__shortcut {
3942 3501 margin-left: 8px;
3943 3502 }
3944 3503
3945 -.components-validated-control:has(:is(input, select):invalid[data-validity-visible]) .components-input-control__backdrop {
3946 - --wp-components-color-accent: #cc1818;
3947 - border-color: #cc1818;
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 {
3505 + --focus-color: var(--wpds-color-stroke-interactive-error, #cc1818);
3948 3506 }
3949 -.components-validated-control :is(textarea, input[type=text]):invalid[data-validity-visible] {
3950 - --wp-admin-theme-color: #cc1818;
3951 - --wp-components-color-accent: #cc1818;
3952 - border-color: #cc1818;
3507 +
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);
3953 3510 }
3954 -.components-validated-control .components-combobox-control__suggestions-container:has(input:invalid[data-validity-visible]):not(:has([aria-expanded=true])) {
3955 - --wp-admin-theme-color: #cc1818;
3956 -}
3957 3511
3958 3512 .components-validated-control__wrapper-with-error-delegate {
3959 3513 position: relative;
3960 3514 }
3961 -.components-validated-control__wrapper-with-error-delegate:has(select:invalid[data-validity-visible]) .components-input-control__backdrop {
3962 - --wp-components-color-accent: #cc1818;
3963 - border-color: #cc1818;
3964 -}
3965 -.components-validated-control__wrapper-with-error-delegate:has(input[type=radio]:invalid[data-validity-visible]) {
3966 - --wp-components-color-accent: #cc1818;
3967 -}
3968 -.components-validated-control__wrapper-with-error-delegate:has(input:invalid[data-validity-visible]) .components-form-token-field__input-container:not(:has([aria-expanded=true])) {
3969 - --wp-admin-theme-color: #cc1818;
3970 - border-color: #cc1818;
3971 -}
3972 -.components-validated-control__wrapper-with-error-delegate:has(input:invalid[data-validity-visible]) .components-validated-control__content-editable [role=textbox] {
3973 - --wp-admin-theme-color: #cc1818;
3974 - border-color: #cc1818;
3975 -}
3976 -
3977 3515 .components-validated-control__error-delegate {
3978 3516 position: absolute;
3979 3517 top: 0;
3980 3518 height: 100%;
@@ -3982,46 +3520,8 @@
3982 3520 opacity: 0;
3983 3521 pointer-events: none;
3984 3522 }
3985 3523
3986 -.components-validated-control__indicator {
3987 - display: flex;
3988 - align-items: flex-start;
3989 - gap: 4px;
3990 - margin: 8px 0 0;
3991 - font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
3992 - font-size: 12px;
3993 - line-height: 16px;
3994 - color: var(--wp-components-color-gray-700, var(--wpds-color-foreground-content-neutral-weak, #707070));
3995 - animation: components-validated-control__indicator-jump 0.2s cubic-bezier(0.68, -0.55, 0.27, 1.55);
3996 -}
3997 -.components-validated-control__indicator.is-invalid {
3998 - color: #cc1818;
3999 -}
4000 -.components-validated-control__indicator.is-valid {
4001 - color: color-mix(in srgb, #000 30%, #4ab866);
4002 -}
4003 -
4004 -.components-validated-control__indicator-icon {
4005 - flex-shrink: 0;
4006 -}
4007 -
4008 -.components-validated-control__indicator-spinner {
4009 - margin: 2px;
4010 - width: 12px;
4011 - height: 12px;
4012 -}
4013 -
4014 -@keyframes components-validated-control__indicator-jump {
4015 - 0% {
4016 - transform: translateY(-4px);
4017 - opacity: 0;
4018 - }
4019 - 100% {
4020 - transform: translateY(0);
4021 - opacity: 1;
4022 - }
4023 -}
4024 3524 :root {
4025 3525 --wp-admin-theme-color: #3858e9;
4026 3526 --wp-admin-theme-color--rgb: 56, 88, 233;
4027 3527 --wp-admin-theme-color-darker-10: rgb(33.0384615385, 68.7307692308, 230.4615384615);