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 +149 -653 23.6.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,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: right 200px top 0;
@@ -541,371 +538,8 @@
541 538 0% {
542 539 background-position: right 200px top 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-left: 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 right: 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 - right: 1px;
1141 - bottom: 1px;
1142 - left: 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 - right: -1px;
1188 - bottom: -1px;
1189 - left: -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 - right: 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 }
@@ -1422,14 +1012,19 @@
1422 1012 width: inherit;
1423 1013 border-radius: 50%;
1424 1014 padding: 0;
1425 1015 box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) #fff, 0 0 2px 0 rgba(0, 0, 0, 0.25);
1426 - outline: 2px solid transparent;
1427 1016 }
1428 -.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 {
1429 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);
1430 - outline: 1.5px solid transparent;
1431 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 +}
1432 1027
1433 1028 .components-custom-gradient-picker__remove-control-point-wrapper {
1434 1029 padding-bottom: 8px;
1435 1030 }
@@ -1645,17 +1240,8 @@
1645 1240 .components-external-link {
1646 1241 color: var(--wpds-color-foreground-interactive-brand, var(--wp-admin-theme-color, #3858e9));
1647 1242 text-decoration: none;
1648 1243 }
1649 -@media not (prefers-reduced-motion) {
1650 - .components-external-link {
1651 - transition: outline 0.1s ease-out;
1652 - }
1653 -}
1654 -.components-external-link {
1655 - outline: 0 solid transparent;
1656 - outline-offset: 1px;
1657 -}
1658 1244 .components-external-link:visited {
1659 1245 color: var(--wpds-color-foreground-interactive-brand, var(--wp-admin-theme-color, #3858e9));
1660 1246 }
1661 1247 .components-external-link:hover, .components-external-link:active {
@@ -1661,12 +1247,15 @@
1661 1247 .components-external-link:hover, .components-external-link:active {
1662 1248 color: var(--wpds-color-foreground-interactive-brand-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 52%, black));
1663 1249 }
1664 1250 .components-external-link:focus {
1665 - 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));
1666 1251 box-shadow: none;
1667 1252 border-radius: 0;
1668 1253 }
1254 +.components-external-link:focus:not(:active) {
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)));
1256 + outline-offset: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px));
1257 +}
1669 1258
1670 1259 .components-external-link__contents {
1671 1260 text-decoration: underline;
1672 1261 text-underline-offset: 0.2em;
@@ -1757,39 +1346,39 @@
1757 1346 background-color: #fff;
1758 1347 border-width: 0;
1759 1348 transform: translateX(-16px);
1760 1349 }
1761 -.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 {
1762 1351 background-color: var(--wp-components-color-gray-100, var(--wpds-color-background-surface-neutral, #fcfcfc));
1763 1352 border-color: var(--wpds-color-stroke-interactive-neutral-disabled, #dbdbdb);
1764 1353 }
1765 1354 @media (forced-colors: active) {
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 border-color: GrayText;
1768 1357 }
1769 1358 }
1770 -.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 {
1771 1360 background-color: var(--wp-components-color-gray-400, var(--wpds-color-stroke-interactive-neutral, #8d8d8d));
1772 1361 box-shadow: none;
1773 1362 }
1774 1363 @media (forced-colors: active) {
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 border-color: GrayText;
1777 1366 }
1778 1367 }
1779 -.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 {
1780 1369 background-color: var(--wp-components-color-gray-400, var(--wpds-color-stroke-interactive-neutral, #8d8d8d));
1781 1370 border-color: var(--wp-components-color-gray-400, var(--wpds-color-stroke-interactive-neutral, #8d8d8d));
1782 1371 }
1783 1372 @media (forced-colors: active) {
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 border-color: GrayText;
1786 1375 }
1787 - .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 {
1788 1377 border-top-color: GrayText;
1789 1378 }
1790 1379 }
1791 -.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 {
1792 1381 background-color: #fff;
1793 1382 }
1794 1383
1795 1384 .components-form-toggle input.components-form-toggle__input[type=checkbox] {
@@ -1820,17 +1409,11 @@
1820 1409 /* Fonts smaller than 16px causes mobile safari to zoom. */
1821 1410 font-size: 16px;
1822 1411 /* Override core line-height. To be reviewed. */
1823 1412 line-height: normal;
1824 - box-shadow: 0 0 0 transparent;
1825 - border-radius: 2px;
1826 - 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);
1827 1415 }
1828 -@media not (prefers-reduced-motion) {
1829 - .components-form-token-field__input-container {
1830 - transition: box-shadow 0.1s linear;
1831 - }
1832 -}
1833 1416 @media (min-width: 600px) {
1834 1417 .components-form-token-field__input-container {
1835 1418 font-size: 13px;
1836 1419 /* Override core line-height. To be reviewed. */
@@ -1836,16 +1419,17 @@
1836 1419 /* Override core line-height. To be reviewed. */
1837 1420 line-height: normal;
1838 1421 }
1839 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 +}
1840 1426 .components-form-token-field__input-container:focus {
1841 - border-color: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
1842 - box-shadow: 0 0 0 0.5px var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
1843 - 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;
1844 1431 }
1845 -.components-form-token-field__input-container::-moz-placeholder {
1846 - color: rgba(30, 30, 30, 0.62);
1847 -}
1848 1432 .components-form-token-field__input-container::placeholder {
1849 1433 color: rgba(30, 30, 30, 0.62);
1850 1434 }
1851 1435 .components-form-token-field__input-container {
@@ -1857,12 +1441,14 @@
1857 1441 background: var(--wp-components-color-gray-100, var(--wpds-color-background-surface-neutral, #fcfcfc));
1858 1442 border-color: var(--wp-components-color-gray-400, var(--wpds-color-stroke-interactive-neutral, #8d8d8d));
1859 1443 cursor: default;
1860 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 +}
1861 1448 .components-form-token-field__input-container.is-active {
1862 - border-color: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
1863 - box-shadow: 0 0 0 0.5px var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
1864 - 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));
1865 1451 }
1866 1452 .components-form-token-field__input-container input[type=text].components-form-token-field__input {
1867 1453 display: inline-block;
1868 1454 flex: 1;
@@ -2153,8 +1739,13 @@
2153 1739 outline-offset: calc(2 * -1 * var(--wp-admin-border-width-focus) / var(--wp-block-editor-iframe-zoom-out-scale, 1));
2154 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);
2155 1741 }
2156 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 +
2157 1748 .components-menu-group + .components-menu-group {
2158 1749 padding-top: 8px;
2159 1750 border-top: 1px solid #1e1e1e;
2160 1751 }
@@ -2273,8 +1864,12 @@
2273 1864 .components-menu-items-choice.components-button.has-icon {
2274 1865 padding-right: 12px;
2275 1866 }
2276 1867
1868 +body.modal-open {
1869 + overflow: hidden;
1870 +}
1871 +
2277 1872 .components-modal__screen-overlay {
2278 1873 position: fixed;
2279 1874 top: 0;
2280 1875 left: 0;
@@ -2515,9 +2110,9 @@
2515 2110 }
2516 2111
2517 2112 .components-notice {
2518 2113 --wp-components-notice-background-color: var(--wpds-color-background-surface-info-weak, #f3f9ff);
2519 - --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);
2520 2115 --wp-components-notice-text-color: var(--wpds-color-foreground-content-info, #001b4f);
2521 2116 box-sizing: border-box;
2522 2117 display: grid;
2523 2118 grid-template-columns: 1fr auto;
@@ -2532,19 +2127,19 @@
2532 2127 line-height: var(--wpds-typography-line-height-sm, 20px);
2533 2128 }
2534 2129 .components-notice.is-success {
2535 2130 --wp-components-notice-background-color: var(--wpds-color-background-surface-success-weak, #ebffed);
2536 - --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);
2537 2132 --wp-components-notice-text-color: var(--wpds-color-foreground-content-success, #002900);
2538 2133 }
2539 2134 .components-notice.is-warning {
2540 2135 --wp-components-notice-background-color: var(--wpds-color-background-surface-warning-weak, #fff7e1);
2541 - --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);
2542 2137 --wp-components-notice-text-color: var(--wpds-color-foreground-content-warning, #2e1900);
2543 2138 }
2544 2139 .components-notice.is-error {
2545 2140 --wp-components-notice-background-color: var(--wpds-color-background-surface-error-weak, #fff6f5);
2546 - --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);
2547 2142 --wp-components-notice-text-color: var(--wpds-color-foreground-content-error, #470000);
2548 2143 }
2549 2144
2550 2145 .components-notice__content {
@@ -2570,13 +2165,9 @@
2570 2165 margin-inline-start: var(--wpds-dimension-gap-xs, 4px);
2571 2166 }
2572 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 {
2573 2168 color: var(--wpds-color-foreground-interactive-neutral-active, #1e1e1e);
2574 - background-color: transparent;
2575 2169 }
2576 -.components-notice__dismiss:not(:disabled):not([aria-disabled=true]):not(.is-secondary):hover {
2577 - box-shadow: none;
2578 -}
2579 2170
2580 2171 .components-notice-list {
2581 2172 display: flex;
2582 2173 flex-direction: column;
@@ -2766,9 +2357,9 @@
2766 2357 font-size: 13px;
2767 2358 letter-spacing: initial;
2768 2359 line-height: initial;
2769 2360 text-transform: none;
2770 - font-weight: normal;
2361 + font-weight: 400;
2771 2362 }
2772 2363
2773 2364 .components-placeholder__label {
2774 2365 font-weight: var(--wpds-typography-font-weight-emphasis, 600);
@@ -2780,15 +2371,8 @@
2780 2371 .components-placeholder__label .block-editor-block-icon {
2781 2372 margin-left: 4px;
2782 2373 fill: currentColor;
2783 2374 }
2784 -@media (forced-colors: active) {
2785 - .components-placeholder__label > svg,
2786 - .components-placeholder__label .dashicon,
2787 - .components-placeholder__label .block-editor-block-icon {
2788 - fill: CanvasText;
2789 - }
2790 -}
2791 2375 .components-placeholder__label:empty {
2792 2376 display: none;
2793 2377 }
2794 2378
@@ -2818,17 +2402,11 @@
2818 2402 /* Fonts smaller than 16px causes mobile safari to zoom. */
2819 2403 font-size: 16px;
2820 2404 /* Override core line-height. To be reviewed. */
2821 2405 line-height: normal;
2822 - box-shadow: 0 0 0 transparent;
2823 - border-radius: 2px;
2824 - 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);
2825 2408 }
2826 -@media not (prefers-reduced-motion) {
2827 - .components-placeholder__input[type=url] {
2828 - transition: box-shadow 0.1s linear;
2829 - }
2830 -}
2831 2409 @media (min-width: 600px) {
2832 2410 .components-placeholder__input[type=url] {
2833 2411 font-size: 13px;
2834 2412 /* Override core line-height. To be reviewed. */
@@ -2834,16 +2412,17 @@
2834 2412 /* Override core line-height. To be reviewed. */
2835 2413 line-height: normal;
2836 2414 }
2837 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 +}
2838 2419 .components-placeholder__input[type=url]:focus {
2839 - border-color: var(--wp-admin-theme-color);
2840 - box-shadow: 0 0 0 0.5px var(--wp-admin-theme-color);
2841 - 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;
2842 2424 }
2843 -.components-placeholder__input[type=url]::-moz-placeholder {
2844 - color: rgba(30, 30, 30, 0.62);
2845 -}
2846 2425 .components-placeholder__input[type=url]::placeholder {
2847 2426 color: rgba(30, 30, 30, 0.62);
2848 2427 }
2849 2428 .components-placeholder__input[type=url] {
@@ -2979,9 +2558,8 @@
2979 2558 background: #fff;
2980 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);
2981 2560 border-radius: 4px;
2982 2561 box-sizing: border-box;
2983 - width: -moz-min-content;
2984 2562 width: min-content;
2985 2563 }
2986 2564 .is-alternate .components-popover__content {
2987 2565 box-shadow: 0 0 0 1px #1e1e1e;
@@ -3086,10 +2664,9 @@
3086 2664 .components-radio-control__option {
3087 2665 display: grid;
3088 2666 grid-template-columns: auto 1fr;
3089 2667 grid-template-rows: auto minmax(0, max-content);
3090 - -moz-column-gap: 8px;
3091 - column-gap: 8px;
2668 + column-gap: 8px;
3092 2669 align-items: center;
3093 2670 }
3094 2671
3095 2672 .components-radio-control__input[type=radio] {
@@ -3147,11 +2724,9 @@
3147 2724 .components-radio-control__input[type=radio] {
3148 2725 display: inline-flex;
3149 2726 margin: 0;
3150 2727 padding: 0;
3151 - -webkit-appearance: none;
3152 - -moz-appearance: none;
3153 - appearance: none;
2728 + appearance: none;
3154 2729 }
3155 2730 .components-radio-control__input[type=radio]:not(:disabled) {
3156 2731 cursor: var(--wpds-cursor-control, pointer);
3157 2732 }
@@ -3180,10 +2755,11 @@
3180 2755
3181 2756 .components-radio-control__label {
3182 2757 grid-column: 2;
3183 2758 grid-row: 1;
2759 + color: var(--wpds-color-foreground-content-neutral, #1e1e1e);
3184 2760 }
3185 -.components-radio-control:not(:disabled) .components-radio-control__label {
2761 +.components-radio-control__input:not(:disabled) + .components-radio-control__label {
3186 2762 cursor: var(--wpds-cursor-control, pointer);
3187 2763 }
3188 2764 .components-radio-control__label {
3189 2765 line-height: 24px;
@@ -3410,9 +2986,8 @@
3410 2986 pointer-events: auto;
3411 2987 }
3412 2988 @media (min-width: 600px) {
3413 2989 .components-snackbar {
3414 - width: -moz-fit-content;
3415 2990 width: fit-content;
3416 2991 }
3417 2992 }
3418 2993 .components-snackbar:focus {
@@ -3439,14 +3014,10 @@
3439 3014 .components-snackbar__action.components-external-link {
3440 3015 margin-right: 32px;
3441 3016 color: #fff;
3442 3017 flex-shrink: 0;
3018 + --focus-color: #fff;
3443 3019 }
3444 -.components-snackbar__action.components-button:focus,
3445 -.components-snackbar__action.components-external-link:focus {
3446 - box-shadow: none;
3447 - outline: 1px dotted #fff;
3448 -}
3449 3020 .components-snackbar__action.components-button:hover,
3450 3021 .components-snackbar__action.components-external-link:hover {
3451 3022 text-decoration: none;
3452 3023 color: currentColor;
@@ -3486,9 +3057,8 @@
3486 3057 border-radius: 0;
3487 3058 height: 48px !important;
3488 3059 background: transparent;
3489 3060 border: none;
3490 - box-shadow: none;
3491 3061 cursor: var(--wpds-cursor-control, pointer);
3492 3062 padding: 3px var(--wpds-dimension-padding-lg, 16px);
3493 3063 margin-right: 0;
3494 3064 font-weight: var(--wpds-typography-font-weight-default, 400);
@@ -3501,9 +3071,8 @@
3501 3071 color: var(--wpds-color-foreground-interactive-neutral-active, #1e1e1e);
3502 3072 }
3503 3073 .components-tab-panel__tabs-item:focus:not(:disabled) {
3504 3074 position: relative;
3505 - box-shadow: none;
3506 3075 outline: none;
3507 3076 }
3508 3077 .components-tab-panel__tabs-item::after {
3509 3078 content: "";
@@ -3530,19 +3099,14 @@
3530 3099 content: "";
3531 3100 position: absolute;
3532 3101 inset: var(--wpds-dimension-padding-md, 12px);
3533 3102 pointer-events: none;
3534 - box-shadow: 0 0 0 0 transparent;
3535 3103 border-radius: var(--wpds-border-radius-sm, 2px);
3536 3104 }
3537 -@media not (prefers-reduced-motion) {
3538 - .components-tab-panel__tabs-item::before {
3539 - transition: box-shadow 0.1s linear;
3540 - }
3541 -}
3542 3105 .components-tab-panel__tabs-item:focus-visible::before {
3543 - 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));
3544 - 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;
3545 3109 }
3546 3110 .components-tab-panel__tabs[aria-orientation=vertical] .components-tab-panel__tabs-item {
3547 3111 border-radius: var(--wpds-border-radius-sm, 2px);
3548 3112 }
@@ -3553,14 +3117,13 @@
3553 3117 background: var(--wpds-color-background-interactive-neutral-weak-active, #ededed);
3554 3118 }
3555 3119
3556 3120 .components-tab-panel__tab-content:focus {
3557 - box-shadow: none;
3558 3121 outline: none;
3559 3122 }
3560 3123 .components-tab-panel__tab-content:focus-visible {
3561 - 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));
3562 - 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));
3563 3126 outline-offset: 0;
3564 3127 }
3565 3128
3566 3129 .components-text-control__input,
@@ -3587,30 +3150,11 @@
3587 3150 /* Fonts smaller than 16px causes mobile safari to zoom. */
3588 3151 font-size: 16px;
3589 3152 /* Override core line-height. To be reviewed. */
3590 3153 line-height: normal;
3591 - box-shadow: 0 0 0 transparent;
3592 - border-radius: 2px;
3593 - 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);
3594 3156 }
3595 -@media not (prefers-reduced-motion) {
3596 - .components-text-control__input,
3597 - .components-text-control__input[type=text],
3598 - .components-text-control__input[type=tel],
3599 - .components-text-control__input[type=time],
3600 - .components-text-control__input[type=url],
3601 - .components-text-control__input[type=week],
3602 - .components-text-control__input[type=password],
3603 - .components-text-control__input[type=color],
3604 - .components-text-control__input[type=date],
3605 - .components-text-control__input[type=datetime],
3606 - .components-text-control__input[type=datetime-local],
3607 - .components-text-control__input[type=email],
3608 - .components-text-control__input[type=month],
3609 - .components-text-control__input[type=number] {
3610 - transition: box-shadow 0.1s linear;
3611 - }
3612 -}
3613 3157 @media (min-width: 600px) {
3614 3158 .components-text-control__input,
3615 3159 .components-text-control__input[type=text],
3616 3160 .components-text-control__input[type=tel],
@@ -3629,8 +3173,24 @@
3629 3173 /* Override core line-height. To be reviewed. */
3630 3174 line-height: normal;
3631 3175 }
3632 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 +}
3633 3193 .components-text-control__input:focus,
3634 3194 .components-text-control__input[type=text]:focus,
3635 3195 .components-text-control__input[type=tel]:focus,
3636 3196 .components-text-control__input[type=time]:focus,
@@ -3643,15 +3203,13 @@
3643 3203 .components-text-control__input[type=datetime-local]:focus,
3644 3204 .components-text-control__input[type=email]:focus,
3645 3205 .components-text-control__input[type=month]:focus,
3646 3206 .components-text-control__input[type=number]:focus {
3647 - border-color: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
3648 - box-shadow: 0 0 0 0.5px var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
3649 - 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;
3650 3211 }
3651 -.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 {
3652 - color: rgba(30, 30, 30, 0.62);
3653 -}
3654 3212 .components-text-control__input::placeholder,
3655 3213 .components-text-control__input[type=text]::placeholder,
3656 3214 .components-text-control__input[type=tel]::placeholder,
3657 3215 .components-text-control__input[type=time]::placeholder,
@@ -3680,15 +3238,11 @@
3680 3238 .components-text-control__input[type=datetime-local],
3681 3239 .components-text-control__input[type=email],
3682 3240 .components-text-control__input[type=month],
3683 3241 .components-text-control__input[type=number] {
3684 - border-color: var(--wp-components-color-gray-600, var(--wpds-color-stroke-interactive-neutral, #8d8d8d));
3685 3242 padding-right: 12px;
3686 3243 padding-left: 12px;
3687 3244 }
3688 -.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 {
3689 - color: color-mix(in srgb, var(--wp-components-color-foreground, var(--wpds-color-foreground-content-neutral, #1e1e1e)), transparent 38%);
3690 -}
3691 3245 .components-text-control__input::placeholder,
3692 3246 .components-text-control__input[type=text]::placeholder,
3693 3247 .components-text-control__input[type=tel]::placeholder,
3694 3248 .components-text-control__input[type=time]::placeholder,
@@ -3715,9 +3269,9 @@
3715 3269 color: #757575;
3716 3270 }
3717 3271 .components-tip svg {
3718 3272 align-self: center;
3719 - fill: #f0b849;
3273 + color: #f0b849;
3720 3274 flex-shrink: 0;
3721 3275 margin-left: 16px;
3722 3276 }
3723 3277 .components-tip p {
@@ -3725,8 +3279,9 @@
3725 3279 }
3726 3280
3727 3281 .components-toggle-control__label {
3728 3282 line-height: 16px;
3283 + color: var(--wpds-color-foreground-content-neutral, #1e1e1e);
3729 3284 }
3730 3285 .components-toggle-control__label:not(.is-disabled) {
3731 3286 cursor: var(--wpds-cursor-control, pointer);
3732 3287 }
@@ -3932,40 +3487,19 @@
3932 3487 .components-tooltip__shortcut {
3933 3488 margin-right: 8px;
3934 3489 }
3935 3490
3936 -.components-validated-control:has(:is(input, select):invalid[data-validity-visible]) .components-input-control__backdrop {
3937 - --wp-components-color-accent: #cc1818;
3938 - 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);
3939 3493 }
3940 -.components-validated-control :is(textarea, input[type=text]):invalid[data-validity-visible] {
3941 - --wp-admin-theme-color: #cc1818;
3942 - --wp-components-color-accent: #cc1818;
3943 - 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);
3944 3497 }
3945 -.components-validated-control .components-combobox-control__suggestions-container:has(input:invalid[data-validity-visible]):not(:has([aria-expanded=true])) {
3946 - --wp-components-color-accent: #cc1818;
3947 -}
3948 3498
3949 3499 .components-validated-control__wrapper-with-error-delegate {
3950 3500 position: relative;
3951 3501 }
3952 -.components-validated-control__wrapper-with-error-delegate:has(select:invalid[data-validity-visible]) .components-input-control__backdrop {
3953 - --wp-components-color-accent: #cc1818;
3954 - border-color: #cc1818;
3955 -}
3956 -.components-validated-control__wrapper-with-error-delegate:has(input[type=radio]:invalid[data-validity-visible]) {
3957 - --wp-components-color-accent: #cc1818;
3958 -}
3959 -.components-validated-control__wrapper-with-error-delegate:has(input:invalid[data-validity-visible]) .components-form-token-field__input-container:not(:has([aria-expanded=true])) {
3960 - --wp-components-color-accent: #cc1818;
3961 - border-color: #cc1818;
3962 -}
3963 -.components-validated-control__wrapper-with-error-delegate:has(input:invalid[data-validity-visible]) .components-validated-control__content-editable [role=textbox] {
3964 - --wp-components-color-accent: #cc1818;
3965 - border-color: #cc1818;
3966 -}
3967 -
3968 3502 .components-validated-control__error-delegate {
3969 3503 position: absolute;
3970 3504 top: 0;
3971 3505 height: 100%;
@@ -3973,46 +3507,8 @@
3973 3507 opacity: 0;
3974 3508 pointer-events: none;
3975 3509 }
3976 3510
3977 -.components-validated-control__indicator {
3978 - display: flex;
3979 - align-items: flex-start;
3980 - gap: 4px;
3981 - margin: 8px 0 0;
3982 - font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
3983 - font-size: 12px;
3984 - line-height: 16px;
3985 - color: var(--wp-components-color-gray-700, var(--wpds-color-foreground-content-neutral-weak, #707070));
3986 - animation: components-validated-control__indicator-jump 0.2s cubic-bezier(0.68, -0.55, 0.27, 1.55);
3987 -}
3988 -.components-validated-control__indicator.is-invalid {
3989 - color: #cc1818;
3990 -}
3991 -.components-validated-control__indicator.is-valid {
3992 - color: color-mix(in srgb, #000 30%, #4ab866);
3993 -}
3994 -
3995 -.components-validated-control__indicator-icon {
3996 - flex-shrink: 0;
3997 -}
3998 -
3999 -.components-validated-control__indicator-spinner {
4000 - margin: 2px;
4001 - width: 12px;
4002 - height: 12px;
4003 -}
4004 -
4005 -@keyframes components-validated-control__indicator-jump {
4006 - 0% {
4007 - transform: translateY(-4px);
4008 - opacity: 0;
4009 - }
4010 - 100% {
4011 - transform: translateY(0);
4012 - opacity: 1;
4013 - }
4014 -}
4015 3511 :root {
4016 3512 --wp-admin-theme-color: #3858e9;
4017 3513 --wp-admin-theme-color--rgb: 56, 88, 233;
4018 3514 --wp-admin-theme-color-darker-10: rgb(33.0384615385, 68.7307692308, 230.4615384615);