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