PluginProbe
Gutenberg / 24.1.0
Gutenberg v24.1.0
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-rtl.css +146 -646 23.7.2 → 24.1.0 View file →
@@ -167,12 +167,13 @@
167 167 min-height: 36px;
168 168 text-align: right;
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: right 200px top 0;
@@ -542,371 +538,8 @@
542 538 0% {
543 539 background-position: right 200px top 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-left: 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 right: 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 - right: 1px;
1142 - bottom: 1px;
1143 - left: 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 - right: -1px;
1189 - bottom: -1px;
1190 - left: -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 - right: 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 }
@@ -1423,14 +1012,19 @@
1423 1012 width: inherit;
1424 1013 border-radius: 50%;
1425 1014 padding: 0;
1426 1015 box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) #fff, 0 0 2px 0 rgba(0, 0, 0, 0.25);
1427 - outline: 2px solid transparent;
1428 1016 }
1429 -.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 {
1017 +.components-custom-gradient-picker__gradient-bar .components-custom-gradient-picker__control-point-button.is-active {
1430 1018 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);
1431 - outline: 1.5px solid transparent;
1432 1019 }
1020 +.components-custom-gradient-picker__gradient-bar .components-custom-gradient-picker__control-point-button:focus:not(:active) {
1021 + outline-offset: 1px;
1022 + 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);
1023 +}
1024 +.components-custom-gradient-picker__gradient-bar .components-custom-gradient-picker__control-point-button:focus:not(:active).is-active {
1025 + 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);
1026 +}
1433 1027
1434 1028 .components-custom-gradient-picker__remove-control-point-wrapper {
1435 1029 padding-bottom: 8px;
1436 1030 }
@@ -1657,10 +1251,9 @@
1657 1251 box-shadow: none;
1658 1252 border-radius: 0;
1659 1253 }
1660 1254 .components-external-link:focus:not(:active) {
1661 - --focus-color: var(--wpds-color-stroke-focus, var(--wp-admin-theme-color, #3858e9));
1662 - outline: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)) solid var(--focus-color);
1255 + 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)));
1663 1256 outline-offset: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px));
1664 1257 }
1665 1258
1666 1259 .components-external-link__contents {
@@ -1753,39 +1346,39 @@
1753 1346 background-color: #fff;
1754 1347 border-width: 0;
1755 1348 transform: translateX(-16px);
1756 1349 }
1757 -.components-form-toggle.is-disabled .components-form-toggle__track, .components-disabled .components-form-toggle .components-form-toggle__track {
1350 +.components-form-toggle.is-disabled .components-form-toggle__track, [inert] .components-form-toggle .components-form-toggle__track {
1758 1351 background-color: var(--wp-components-color-gray-100, var(--wpds-color-background-surface-neutral, #fcfcfc));
1759 1352 border-color: var(--wpds-color-stroke-interactive-neutral-disabled, #dbdbdb);
1760 1353 }
1761 1354 @media (forced-colors: active) {
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 border-color: GrayText;
1764 1357 }
1765 1358 }
1766 -.components-form-toggle.is-disabled .components-form-toggle__thumb, .components-disabled .components-form-toggle .components-form-toggle__thumb {
1359 +.components-form-toggle.is-disabled .components-form-toggle__thumb, [inert] .components-form-toggle .components-form-toggle__thumb {
1767 1360 background-color: var(--wp-components-color-gray-400, var(--wpds-color-stroke-interactive-neutral, #8d8d8d));
1768 1361 box-shadow: none;
1769 1362 }
1770 1363 @media (forced-colors: active) {
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 border-color: GrayText;
1773 1366 }
1774 1367 }
1775 -.components-form-toggle.is-disabled.is-checked .components-form-toggle__track, .components-disabled .components-form-toggle.is-checked .components-form-toggle__track {
1368 +.components-form-toggle.is-disabled.is-checked .components-form-toggle__track, [inert] .components-form-toggle.is-checked .components-form-toggle__track {
1776 1369 background-color: var(--wp-components-color-gray-400, var(--wpds-color-stroke-interactive-neutral, #8d8d8d));
1777 1370 border-color: var(--wp-components-color-gray-400, var(--wpds-color-stroke-interactive-neutral, #8d8d8d));
1778 1371 }
1779 1372 @media (forced-colors: active) {
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 border-color: GrayText;
1782 1375 }
1783 - .components-form-toggle.is-disabled.is-checked .components-form-toggle__track::after, .components-disabled .components-form-toggle.is-checked .components-form-toggle__track::after {
1376 + .components-form-toggle.is-disabled.is-checked .components-form-toggle__track::after, [inert] .components-form-toggle.is-checked .components-form-toggle__track::after {
1784 1377 border-top-color: GrayText;
1785 1378 }
1786 1379 }
1787 -.components-form-toggle.is-disabled.is-checked .components-form-toggle__thumb, .components-disabled .components-form-toggle.is-checked .components-form-toggle__thumb {
1380 +.components-form-toggle.is-disabled.is-checked .components-form-toggle__thumb, [inert] .components-form-toggle.is-checked .components-form-toggle__thumb {
1788 1381 background-color: #fff;
1789 1382 }
1790 1383
1791 1384 .components-form-toggle input.components-form-toggle__input[type=checkbox] {
@@ -1816,17 +1409,11 @@
1816 1409 /* Fonts smaller than 16px causes mobile safari to zoom. */
1817 1410 font-size: 16px;
1818 1411 /* Override core line-height. To be reviewed. */
1819 1412 line-height: normal;
1820 - box-shadow: 0 0 0 transparent;
1821 - border-radius: 2px;
1822 - border: 1px solid #949494;
1413 + border: var(--wpds-border-width-xs, 1px) solid var(--wpds-color-stroke-interactive-neutral, #8d8d8d);
1414 + border-radius: var(--wpds-border-radius-sm, 2px);
1823 1415 }
1824 -@media not (prefers-reduced-motion) {
1825 - .components-form-token-field__input-container {
1826 - transition: box-shadow 0.1s linear;
1827 - }
1828 -}
1829 1416 @media (min-width: 600px) {
1830 1417 .components-form-token-field__input-container {
1831 1418 font-size: 13px;
1832 1419 /* Override core line-height. To be reviewed. */
@@ -1832,16 +1419,17 @@
1832 1419 /* Override core line-height. To be reviewed. */
1833 1420 line-height: normal;
1834 1421 }
1835 1422 }
1423 +.components-form-token-field__input-container:hover:not(:disabled, [aria-disabled=true]) {
1424 + border-color: var(--wpds-color-stroke-interactive-neutral-active, #6e6e6e);
1425 +}
1836 1426 .components-form-token-field__input-container:focus {
1837 - border-color: var(--wp-admin-theme-color);
1838 - box-shadow: 0 0 0 0.5px var(--wp-admin-theme-color);
1839 - outline: 2px solid transparent;
1427 + 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)));
1428 + outline-offset: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px));
1429 + border-color: var(--wpds-color-stroke-interactive-neutral, #8d8d8d);
1430 + box-shadow: none;
1840 1431 }
1841 -.components-form-token-field__input-container::-moz-placeholder {
1842 - color: rgba(30, 30, 30, 0.62);
1843 -}
1844 1432 .components-form-token-field__input-container::placeholder {
1845 1433 color: rgba(30, 30, 30, 0.62);
1846 1434 }
1847 1435 .components-form-token-field__input-container {
@@ -1853,12 +1441,14 @@
1853 1441 background: var(--wp-components-color-gray-100, var(--wpds-color-background-surface-neutral, #fcfcfc));
1854 1442 border-color: var(--wp-components-color-gray-400, var(--wpds-color-stroke-interactive-neutral, #8d8d8d));
1855 1443 cursor: default;
1856 1444 }
1445 +.components-form-token-field__input-container.is-disabled:hover {
1446 + border-color: var(--wp-components-color-gray-400, var(--wpds-color-stroke-interactive-neutral, #8d8d8d));
1447 +}
1857 1448 .components-form-token-field__input-container.is-active {
1858 - border-color: var(--wp-admin-theme-color);
1859 - box-shadow: 0 0 0 0.5px var(--wp-admin-theme-color);
1860 - outline: 2px solid transparent;
1449 + 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)));
1450 + outline-offset: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px));
1861 1451 }
1862 1452 .components-form-token-field__input-container input[type=text].components-form-token-field__input {
1863 1453 display: inline-block;
1864 1454 flex: 1;
@@ -2149,8 +1739,13 @@
2149 1739 outline-offset: calc(2 * -1 * var(--wp-admin-border-width-focus) / var(--wp-block-editor-iframe-zoom-out-scale, 1));
2150 1740 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);
2151 1741 }
2152 1742
1743 +.components-input-control__container:focus-within:not(:has(:is(.components-input-control__prefix, .components-input-control__suffix):focus-within)) .components-input-control__backdrop {
1744 + 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)));
1745 + outline-offset: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px));
1746 +}
1747 +
2153 1748 .components-menu-group + .components-menu-group {
2154 1749 padding-top: 8px;
2155 1750 border-top: 1px solid #1e1e1e;
2156 1751 }
@@ -2269,8 +1864,12 @@
2269 1864 .components-menu-items-choice.components-button.has-icon {
2270 1865 padding-right: 12px;
2271 1866 }
2272 1867
1868 +body.modal-open {
1869 + overflow: hidden;
1870 +}
1871 +
2273 1872 .components-modal__screen-overlay {
2274 1873 position: fixed;
2275 1874 top: 0;
2276 1875 left: 0;
@@ -2511,9 +2110,9 @@
2511 2110 }
2512 2111
2513 2112 .components-notice {
2514 2113 --wp-components-notice-background-color: var(--wpds-color-background-surface-info-weak, #f3f9ff);
2515 - --wp-components-notice-border-color: var(--wpds-color-stroke-surface-info, #a9c6e7);
2114 + --wp-components-notice-border-color: var(--wpds-color-stroke-surface-info, #adc6e2);
2516 2115 --wp-components-notice-text-color: var(--wpds-color-foreground-content-info, #001b4f);
2517 2116 box-sizing: border-box;
2518 2117 display: grid;
2519 2118 grid-template-columns: 1fr auto;
@@ -2528,19 +2127,19 @@
2528 2127 line-height: var(--wpds-typography-line-height-sm, 20px);
2529 2128 }
2530 2129 .components-notice.is-success {
2531 2130 --wp-components-notice-background-color: var(--wpds-color-background-surface-success-weak, #ebffed);
2532 - --wp-components-notice-border-color: var(--wpds-color-stroke-surface-success, #94d29e);
2131 + --wp-components-notice-border-color: var(--wpds-color-stroke-surface-success, #92d39d);
2533 2132 --wp-components-notice-text-color: var(--wpds-color-foreground-content-success, #002900);
2534 2133 }
2535 2134 .components-notice.is-warning {
2536 2135 --wp-components-notice-background-color: var(--wpds-color-background-surface-warning-weak, #fff7e1);
2537 - --wp-components-notice-border-color: var(--wpds-color-stroke-surface-warning, #e1bc7c);
2136 + --wp-components-notice-border-color: var(--wpds-color-stroke-surface-warning, #e1bd7c);
2538 2137 --wp-components-notice-text-color: var(--wpds-color-foreground-content-warning, #2e1900);
2539 2138 }
2540 2139 .components-notice.is-error {
2541 2140 --wp-components-notice-background-color: var(--wpds-color-background-surface-error-weak, #fff6f5);
2542 - --wp-components-notice-border-color: var(--wpds-color-stroke-surface-error, #dab1aa);
2141 + --wp-components-notice-border-color: var(--wpds-color-stroke-surface-error, #e0afa7);
2543 2142 --wp-components-notice-text-color: var(--wpds-color-foreground-content-error, #470000);
2544 2143 }
2545 2144
2546 2145 .components-notice__content {
@@ -2566,13 +2165,9 @@
2566 2165 margin-inline-start: var(--wpds-dimension-gap-xs, 4px);
2567 2166 }
2568 2167 .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 {
2569 2168 color: var(--wpds-color-foreground-interactive-neutral-active, #1e1e1e);
2570 - background-color: transparent;
2571 2169 }
2572 -.components-notice__dismiss:not(:disabled):not([aria-disabled=true]):not(.is-secondary):hover {
2573 - box-shadow: none;
2574 -}
2575 2170
2576 2171 .components-notice-list {
2577 2172 display: flex;
2578 2173 flex-direction: column;
@@ -2762,9 +2357,9 @@
2762 2357 font-size: 13px;
2763 2358 letter-spacing: initial;
2764 2359 line-height: initial;
2765 2360 text-transform: none;
2766 - font-weight: normal;
2361 + font-weight: 400;
2767 2362 }
2768 2363
2769 2364 .components-placeholder__label {
2770 2365 font-weight: var(--wpds-typography-font-weight-emphasis, 600);
@@ -2776,15 +2371,8 @@
2776 2371 .components-placeholder__label .block-editor-block-icon {
2777 2372 margin-left: 4px;
2778 2373 fill: currentColor;
2779 2374 }
2780 -@media (forced-colors: active) {
2781 - .components-placeholder__label > svg,
2782 - .components-placeholder__label .dashicon,
2783 - .components-placeholder__label .block-editor-block-icon {
2784 - fill: CanvasText;
2785 - }
2786 -}
2787 2375 .components-placeholder__label:empty {
2788 2376 display: none;
2789 2377 }
2790 2378
@@ -2814,17 +2402,11 @@
2814 2402 /* Fonts smaller than 16px causes mobile safari to zoom. */
2815 2403 font-size: 16px;
2816 2404 /* Override core line-height. To be reviewed. */
2817 2405 line-height: normal;
2818 - box-shadow: 0 0 0 transparent;
2819 - border-radius: 2px;
2820 - border: 1px solid #949494;
2406 + border: var(--wpds-border-width-xs, 1px) solid var(--wpds-color-stroke-interactive-neutral, #8d8d8d);
2407 + border-radius: var(--wpds-border-radius-sm, 2px);
2821 2408 }
2822 -@media not (prefers-reduced-motion) {
2823 - .components-placeholder__input[type=url] {
2824 - transition: box-shadow 0.1s linear;
2825 - }
2826 -}
2827 2409 @media (min-width: 600px) {
2828 2410 .components-placeholder__input[type=url] {
2829 2411 font-size: 13px;
2830 2412 /* Override core line-height. To be reviewed. */
@@ -2830,16 +2412,17 @@
2830 2412 /* Override core line-height. To be reviewed. */
2831 2413 line-height: normal;
2832 2414 }
2833 2415 }
2416 +.components-placeholder__input[type=url]:hover:not(:disabled, [aria-disabled=true]) {
2417 + border-color: var(--wpds-color-stroke-interactive-neutral-active, #6e6e6e);
2418 +}
2834 2419 .components-placeholder__input[type=url]:focus {
2835 - border-color: var(--wp-admin-theme-color);
2836 - box-shadow: 0 0 0 0.5px var(--wp-admin-theme-color);
2837 - outline: 2px solid transparent;
2420 + 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)));
2421 + outline-offset: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px));
2422 + border-color: var(--wpds-color-stroke-interactive-neutral, #8d8d8d);
2423 + box-shadow: none;
2838 2424 }
2839 -.components-placeholder__input[type=url]::-moz-placeholder {
2840 - color: rgba(30, 30, 30, 0.62);
2841 -}
2842 2425 .components-placeholder__input[type=url]::placeholder {
2843 2426 color: rgba(30, 30, 30, 0.62);
2844 2427 }
2845 2428 .components-placeholder__input[type=url] {
@@ -2975,9 +2558,8 @@
2975 2558 background: #fff;
2976 2559 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);
2977 2560 border-radius: 4px;
2978 2561 box-sizing: border-box;
2979 - width: -moz-min-content;
2980 2562 width: min-content;
2981 2563 }
2982 2564 .is-alternate .components-popover__content {
2983 2565 box-shadow: 0 0 0 1px #1e1e1e;
@@ -3082,10 +2664,9 @@
3082 2664 .components-radio-control__option {
3083 2665 display: grid;
3084 2666 grid-template-columns: auto 1fr;
3085 2667 grid-template-rows: auto minmax(0, max-content);
3086 - -moz-column-gap: 8px;
3087 - column-gap: 8px;
2668 + column-gap: 8px;
3088 2669 align-items: center;
3089 2670 }
3090 2671
3091 2672 .components-radio-control__input[type=radio] {
@@ -3143,11 +2724,9 @@
3143 2724 .components-radio-control__input[type=radio] {
3144 2725 display: inline-flex;
3145 2726 margin: 0;
3146 2727 padding: 0;
3147 - -webkit-appearance: none;
3148 - -moz-appearance: none;
3149 - appearance: none;
2728 + appearance: none;
3150 2729 }
3151 2730 .components-radio-control__input[type=radio]:not(:disabled) {
3152 2731 cursor: var(--wpds-cursor-control, pointer);
3153 2732 }
@@ -3176,10 +2755,11 @@
3176 2755
3177 2756 .components-radio-control__label {
3178 2757 grid-column: 2;
3179 2758 grid-row: 1;
2759 + color: var(--wpds-color-foreground-content-neutral, #1e1e1e);
3180 2760 }
3181 -.components-radio-control:not(:disabled) .components-radio-control__label {
2761 +.components-radio-control__input:not(:disabled) + .components-radio-control__label {
3182 2762 cursor: var(--wpds-cursor-control, pointer);
3183 2763 }
3184 2764 .components-radio-control__label {
3185 2765 line-height: 24px;
@@ -3406,9 +2986,8 @@
3406 2986 pointer-events: auto;
3407 2987 }
3408 2988 @media (min-width: 600px) {
3409 2989 .components-snackbar {
3410 - width: -moz-fit-content;
3411 2990 width: fit-content;
3412 2991 }
3413 2992 }
3414 2993 .components-snackbar:focus {
@@ -3435,14 +3014,10 @@
3435 3014 .components-snackbar__action.components-external-link {
3436 3015 margin-right: 32px;
3437 3016 color: #fff;
3438 3017 flex-shrink: 0;
3018 + --focus-color: #fff;
3439 3019 }
3440 -.components-snackbar__action.components-button:focus,
3441 -.components-snackbar__action.components-external-link:focus {
3442 - box-shadow: none;
3443 - outline: 1px dotted #fff;
3444 -}
3445 3020 .components-snackbar__action.components-button:hover,
3446 3021 .components-snackbar__action.components-external-link:hover {
3447 3022 text-decoration: none;
3448 3023 color: currentColor;
@@ -3482,9 +3057,8 @@
3482 3057 border-radius: 0;
3483 3058 height: 48px !important;
3484 3059 background: transparent;
3485 3060 border: none;
3486 - box-shadow: none;
3487 3061 cursor: var(--wpds-cursor-control, pointer);
3488 3062 padding: 3px var(--wpds-dimension-padding-lg, 16px);
3489 3063 margin-right: 0;
3490 3064 font-weight: var(--wpds-typography-font-weight-default, 400);
@@ -3497,9 +3071,8 @@
3497 3071 color: var(--wpds-color-foreground-interactive-neutral-active, #1e1e1e);
3498 3072 }
3499 3073 .components-tab-panel__tabs-item:focus:not(:disabled) {
3500 3074 position: relative;
3501 - box-shadow: none;
3502 3075 outline: none;
3503 3076 }
3504 3077 .components-tab-panel__tabs-item::after {
3505 3078 content: "";
@@ -3526,19 +3099,14 @@
3526 3099 content: "";
3527 3100 position: absolute;
3528 3101 inset: var(--wpds-dimension-padding-md, 12px);
3529 3102 pointer-events: none;
3530 - box-shadow: 0 0 0 0 transparent;
3531 3103 border-radius: var(--wpds-border-radius-sm, 2px);
3532 3104 }
3533 -@media not (prefers-reduced-motion) {
3534 - .components-tab-panel__tabs-item::before {
3535 - transition: box-shadow 0.1s linear;
3536 - }
3537 -}
3538 3105 .components-tab-panel__tabs-item:focus-visible::before {
3539 - 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));
3540 - outline: 2px solid transparent;
3106 + 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)));
3107 + outline-offset: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px));
3108 + outline-offset: 0;
3541 3109 }
3542 3110 .components-tab-panel__tabs[aria-orientation=vertical] .components-tab-panel__tabs-item {
3543 3111 border-radius: var(--wpds-border-radius-sm, 2px);
3544 3112 }
@@ -3549,14 +3117,13 @@
3549 3117 background: var(--wpds-color-background-interactive-neutral-weak-active, #ededed);
3550 3118 }
3551 3119
3552 3120 .components-tab-panel__tab-content:focus {
3553 - box-shadow: none;
3554 3121 outline: none;
3555 3122 }
3556 3123 .components-tab-panel__tab-content:focus-visible {
3557 - 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));
3558 - outline: 2px solid transparent;
3124 + 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)));
3125 + outline-offset: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px));
3559 3126 outline-offset: 0;
3560 3127 }
3561 3128
3562 3129 .components-text-control__input,
@@ -3583,30 +3150,11 @@
3583 3150 /* Fonts smaller than 16px causes mobile safari to zoom. */
3584 3151 font-size: 16px;
3585 3152 /* Override core line-height. To be reviewed. */
3586 3153 line-height: normal;
3587 - box-shadow: 0 0 0 transparent;
3588 - border-radius: 2px;
3589 - border: 1px solid #949494;
3154 + border: var(--wpds-border-width-xs, 1px) solid var(--wpds-color-stroke-interactive-neutral, #8d8d8d);
3155 + border-radius: var(--wpds-border-radius-sm, 2px);
3590 3156 }
3591 -@media not (prefers-reduced-motion) {
3592 - .components-text-control__input,
3593 - .components-text-control__input[type=text],
3594 - .components-text-control__input[type=tel],
3595 - .components-text-control__input[type=time],
3596 - .components-text-control__input[type=url],
3597 - .components-text-control__input[type=week],
3598 - .components-text-control__input[type=password],
3599 - .components-text-control__input[type=color],
3600 - .components-text-control__input[type=date],
3601 - .components-text-control__input[type=datetime],
3602 - .components-text-control__input[type=datetime-local],
3603 - .components-text-control__input[type=email],
3604 - .components-text-control__input[type=month],
3605 - .components-text-control__input[type=number] {
3606 - transition: box-shadow 0.1s linear;
3607 - }
3608 -}
3609 3157 @media (min-width: 600px) {
3610 3158 .components-text-control__input,
3611 3159 .components-text-control__input[type=text],
3612 3160 .components-text-control__input[type=tel],
@@ -3625,8 +3173,24 @@
3625 3173 /* Override core line-height. To be reviewed. */
3626 3174 line-height: normal;
3627 3175 }
3628 3176 }
3177 +.components-text-control__input:hover:not(:disabled, [aria-disabled=true]),
3178 +.components-text-control__input[type=text]:hover:not(:disabled, [aria-disabled=true]),
3179 +.components-text-control__input[type=tel]:hover:not(:disabled, [aria-disabled=true]),
3180 +.components-text-control__input[type=time]:hover:not(:disabled, [aria-disabled=true]),
3181 +.components-text-control__input[type=url]:hover:not(:disabled, [aria-disabled=true]),
3182 +.components-text-control__input[type=week]:hover:not(:disabled, [aria-disabled=true]),
3183 +.components-text-control__input[type=password]:hover:not(:disabled, [aria-disabled=true]),
3184 +.components-text-control__input[type=color]:hover:not(:disabled, [aria-disabled=true]),
3185 +.components-text-control__input[type=date]:hover:not(:disabled, [aria-disabled=true]),
3186 +.components-text-control__input[type=datetime]:hover:not(:disabled, [aria-disabled=true]),
3187 +.components-text-control__input[type=datetime-local]:hover:not(:disabled, [aria-disabled=true]),
3188 +.components-text-control__input[type=email]:hover:not(:disabled, [aria-disabled=true]),
3189 +.components-text-control__input[type=month]:hover:not(:disabled, [aria-disabled=true]),
3190 +.components-text-control__input[type=number]:hover:not(:disabled, [aria-disabled=true]) {
3191 + border-color: var(--wpds-color-stroke-interactive-neutral-active, #6e6e6e);
3192 +}
3629 3193 .components-text-control__input:focus,
3630 3194 .components-text-control__input[type=text]:focus,
3631 3195 .components-text-control__input[type=tel]:focus,
3632 3196 .components-text-control__input[type=time]:focus,
@@ -3639,15 +3203,13 @@
3639 3203 .components-text-control__input[type=datetime-local]:focus,
3640 3204 .components-text-control__input[type=email]:focus,
3641 3205 .components-text-control__input[type=month]:focus,
3642 3206 .components-text-control__input[type=number]:focus {
3643 - border-color: var(--wp-admin-theme-color);
3644 - box-shadow: 0 0 0 0.5px var(--wp-admin-theme-color);
3645 - outline: 2px solid transparent;
3207 + 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)));
3208 + outline-offset: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px));
3209 + border-color: var(--wpds-color-stroke-interactive-neutral, #8d8d8d);
3210 + box-shadow: none;
3646 3211 }
3647 -.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 {
3648 - color: rgba(30, 30, 30, 0.62);
3649 -}
3650 3212 .components-text-control__input::placeholder,
3651 3213 .components-text-control__input[type=text]::placeholder,
3652 3214 .components-text-control__input[type=tel]::placeholder,
3653 3215 .components-text-control__input[type=time]::placeholder,
@@ -3676,15 +3238,11 @@
3676 3238 .components-text-control__input[type=datetime-local],
3677 3239 .components-text-control__input[type=email],
3678 3240 .components-text-control__input[type=month],
3679 3241 .components-text-control__input[type=number] {
3680 - border-color: var(--wp-components-color-gray-600, var(--wpds-color-stroke-interactive-neutral, #8d8d8d));
3681 3242 padding-right: 12px;
3682 3243 padding-left: 12px;
3683 3244 }
3684 -.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 {
3685 - color: color-mix(in srgb, var(--wp-components-color-foreground, var(--wpds-color-foreground-content-neutral, #1e1e1e)), transparent 38%);
3686 -}
3687 3245 .components-text-control__input::placeholder,
3688 3246 .components-text-control__input[type=text]::placeholder,
3689 3247 .components-text-control__input[type=tel]::placeholder,
3690 3248 .components-text-control__input[type=time]::placeholder,
@@ -3711,9 +3269,9 @@
3711 3269 color: #757575;
3712 3270 }
3713 3271 .components-tip svg {
3714 3272 align-self: center;
3715 - fill: #f0b849;
3273 + color: #f0b849;
3716 3274 flex-shrink: 0;
3717 3275 margin-left: 16px;
3718 3276 }
3719 3277 .components-tip p {
@@ -3721,8 +3279,9 @@
3721 3279 }
3722 3280
3723 3281 .components-toggle-control__label {
3724 3282 line-height: 16px;
3283 + color: var(--wpds-color-foreground-content-neutral, #1e1e1e);
3725 3284 }
3726 3285 .components-toggle-control__label:not(.is-disabled) {
3727 3286 cursor: var(--wpds-cursor-control, pointer);
3728 3287 }
@@ -3928,40 +3487,19 @@
3928 3487 .components-tooltip__shortcut {
3929 3488 margin-right: 8px;
3930 3489 }
3931 3490
3932 -.components-validated-control:has(:is(input, select):invalid[data-validity-visible]) .components-input-control__backdrop {
3933 - --wp-components-color-accent: #cc1818;
3934 - border-color: #cc1818;
3491 +.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 {
3492 + --focus-color: var(--wpds-color-stroke-interactive-error, #cc1818);
3935 3493 }
3936 -.components-validated-control :is(textarea, input[type=text]):invalid[data-validity-visible] {
3937 - --wp-admin-theme-color: #cc1818;
3938 - --wp-components-color-accent: #cc1818;
3939 - border-color: #cc1818;
3494 +
3495 +.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 {
3496 + border-color: var(--wpds-color-stroke-interactive-error, #cc1818);
3940 3497 }
3941 -.components-validated-control .components-combobox-control__suggestions-container:has(input:invalid[data-validity-visible]):not(:has([aria-expanded=true])) {
3942 - --wp-admin-theme-color: #cc1818;
3943 -}
3944 3498
3945 3499 .components-validated-control__wrapper-with-error-delegate {
3946 3500 position: relative;
3947 3501 }
3948 -.components-validated-control__wrapper-with-error-delegate:has(select:invalid[data-validity-visible]) .components-input-control__backdrop {
3949 - --wp-components-color-accent: #cc1818;
3950 - border-color: #cc1818;
3951 -}
3952 -.components-validated-control__wrapper-with-error-delegate:has(input[type=radio]:invalid[data-validity-visible]) {
3953 - --wp-components-color-accent: #cc1818;
3954 -}
3955 -.components-validated-control__wrapper-with-error-delegate:has(input:invalid[data-validity-visible]) .components-form-token-field__input-container:not(:has([aria-expanded=true])) {
3956 - --wp-admin-theme-color: #cc1818;
3957 - border-color: #cc1818;
3958 -}
3959 -.components-validated-control__wrapper-with-error-delegate:has(input:invalid[data-validity-visible]) .components-validated-control__content-editable [role=textbox] {
3960 - --wp-admin-theme-color: #cc1818;
3961 - border-color: #cc1818;
3962 -}
3963 -
3964 3502 .components-validated-control__error-delegate {
3965 3503 position: absolute;
3966 3504 top: 0;
3967 3505 height: 100%;
@@ -3969,46 +3507,8 @@
3969 3507 opacity: 0;
3970 3508 pointer-events: none;
3971 3509 }
3972 3510
3973 -.components-validated-control__indicator {
3974 - display: flex;
3975 - align-items: flex-start;
3976 - gap: 4px;
3977 - margin: 8px 0 0;
3978 - font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
3979 - font-size: 12px;
3980 - line-height: 16px;
3981 - color: var(--wp-components-color-gray-700, var(--wpds-color-foreground-content-neutral-weak, #707070));
3982 - animation: components-validated-control__indicator-jump 0.2s cubic-bezier(0.68, -0.55, 0.27, 1.55);
3983 -}
3984 -.components-validated-control__indicator.is-invalid {
3985 - color: #cc1818;
3986 -}
3987 -.components-validated-control__indicator.is-valid {
3988 - color: color-mix(in srgb, #000 30%, #4ab866);
3989 -}
3990 -
3991 -.components-validated-control__indicator-icon {
3992 - flex-shrink: 0;
3993 -}
3994 -
3995 -.components-validated-control__indicator-spinner {
3996 - margin: 2px;
3997 - width: 12px;
3998 - height: 12px;
3999 -}
4000 -
4001 -@keyframes components-validated-control__indicator-jump {
4002 - 0% {
4003 - transform: translateY(-4px);
4004 - opacity: 0;
4005 - }
4006 - 100% {
4007 - transform: translateY(0);
4008 - opacity: 1;
4009 - }
4010 -}
4011 3511 :root {
4012 3512 --wp-admin-theme-color: #3858e9;
4013 3513 --wp-admin-theme-color--rgb: 56, 88, 233;
4014 3514 --wp-admin-theme-color-darker-10: rgb(33.0384615385, 68.7307692308, 230.4615384615);