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.css +209 -737 23.5.0 → 24.1.0 View file →
@@ -68,8 +68,14 @@
68 68 /**
69 69 * Focus styles.
70 70 */
71 71 /**
72 + * Standard focus rings for the WordPress Design System.
73 + *
74 + * Apply `outset-ring__focus` inside the relevant pseudo-class at the call site,
75 + * e.g. `&:focus { @include outset-ring__focus(); }`.
76 + */
77 +/**
72 78 * Applies editor left position to the selector passed as argument
73 79 */
74 80 /**
75 81 * Styles that are reused verbatim in a few places
@@ -160,12 +166,14 @@
160 166 height: auto;
161 167 min-height: 36px;
162 168 text-align: left;
163 169 width: 100%;
170 + font-weight: var(--wpds-typography-font-weight-default, 400);
171 + position: relative;
164 172 }
165 -.components-autocomplete__result.components-button:focus:not(:disabled) {
166 - box-shadow: inset 0 0 0 1px #fff, 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
167 - 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;
168 176 }
169 177
170 178 .components-badge {
171 179 box-sizing: border-box;
@@ -231,9 +239,9 @@
231 239 .components-button-group .components-button {
232 240 border-radius: 0;
233 241 display: inline-flex;
234 242 color: #1e1e1e;
235 - box-shadow: inset 0 0 0 1px #1e1e1e;
243 + border-color: #1e1e1e;
236 244 }
237 245 .components-button-group .components-button + .components-button {
238 246 margin-left: -1px;
239 247 }
@@ -246,11 +254,8 @@
246 254 .components-button-group .components-button:focus, .components-button-group .components-button.is-primary {
247 255 position: relative;
248 256 z-index: 1;
249 257 }
250 -.components-button-group .components-button.is-primary {
251 - box-shadow: inset 0 0 0 1px #1e1e1e;
252 -}
253 258
254 259 /**
255 260 * For easier testing of potential regressions, you can use a Button variant matrix
256 261 * available in a special Storybook instance by running `npm run storybook:e2e:dev`.
@@ -256,28 +261,28 @@
256 261 * available in a special Storybook instance by running `npm run storybook:e2e:dev`.
257 262 *
258 263 * @see https://github.com/WordPress/gutenberg/blob/trunk/test/storybook-playwright/README.md
259 264 */
265 +.components-button:focus:is(a) {
266 + box-shadow: none;
267 +}
268 +.components-button:focus {
269 + outline: none;
270 +}
271 +.components-button:focus:not(:active) {
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)));
273 + outline-offset: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px));
274 +}
260 275 .components-button {
261 276 display: inline-flex;
262 277 text-decoration: none;
263 278 font-family: inherit;
264 279 font-size: 13px;
265 - font-weight: 499;
280 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
266 281 margin: 0;
267 - border: 0;
268 282 cursor: var(--wpds-cursor-control, pointer);
269 - -webkit-appearance: none;
270 - -moz-appearance: none;
271 - appearance: none;
283 + appearance: none;
272 284 background: none;
273 -}
274 -@media not (prefers-reduced-motion) {
275 - .components-button {
276 - transition: box-shadow 0.1s linear;
277 - }
278 -}
279 -.components-button {
280 285 height: 36px;
281 286 align-items: center;
282 287 box-sizing: border-box;
283 288 padding: 4px 12px;
@@ -282,8 +287,9 @@
282 287 box-sizing: border-box;
283 288 padding: 4px 12px;
284 289 border-radius: 2px;
285 290 color: var(--wp-components-color-foreground, var(--wpds-color-foreground-content-neutral, #1e1e1e));
291 + border: 1px solid transparent;
286 292 }
287 293 .components-button.is-next-40px-default-size {
288 294 height: 40px;
289 295 }
@@ -289,11 +295,8 @@
289 295 }
290 296 .components-button[aria-expanded=true], .components-button:hover:not(:disabled, [aria-disabled=true]) {
291 297 color: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
292 298 }
293 -.components-button:focus:not(:active) {
294 - box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
295 -}
296 299 .components-button {
297 300 /**
298 301 * Primary button style.
299 302 */
@@ -303,9 +306,8 @@
303 306 background: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
304 307 color: var(--wp-components-color-accent-inverted, var(--wpds-color-foreground-interactive-brand-strong, #fff));
305 308 text-decoration: none;
306 309 text-shadow: none;
307 - outline: 1px solid transparent;
308 310 }
309 311 .components-button.is-primary:hover:not(:disabled) {
310 312 background: var(--wp-components-color-accent-darker-10, var(--wp-admin-theme-color-darker-10, #2145e6));
311 313 color: var(--wp-components-color-accent-inverted, var(--wpds-color-foreground-interactive-brand-strong, #fff));
@@ -311,23 +313,14 @@
311 313 color: var(--wp-components-color-accent-inverted, var(--wpds-color-foreground-interactive-brand-strong, #fff));
312 314 }
313 315 .components-button.is-primary:active:not(:disabled) {
314 316 background: var(--wp-components-color-accent-darker-20, var(--wp-admin-theme-color-darker-20, #183ad6));
315 - border-color: var(--wp-components-color-accent-darker-20, var(--wp-admin-theme-color-darker-20, #183ad6));
316 317 color: var(--wp-components-color-accent-inverted, var(--wpds-color-foreground-interactive-brand-strong, #fff));
317 318 }
318 -.components-button.is-primary:focus:not(:active) {
319 - box-shadow: inset 0 0 0 1px var(--wp-components-color-background, var(--wpds-color-background-surface-neutral-strong, #fff)), 0 0 0 var(--wp-admin-border-width-focus) var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
320 -}
321 319 .components-button.is-primary:disabled, .components-button.is-primary:disabled:active:enabled, .components-button.is-primary[aria-disabled=true], .components-button.is-primary[aria-disabled=true]:enabled, .components-button.is-primary[aria-disabled=true]:active:enabled {
322 320 color: rgba(255, 255, 255, 0.4);
323 321 background: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
324 - border-color: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
325 - outline: none;
326 322 }
327 -.components-button.is-primary:disabled:focus:enabled, .components-button.is-primary:disabled:active:enabled:focus:enabled, .components-button.is-primary[aria-disabled=true]:focus:enabled, .components-button.is-primary[aria-disabled=true]:enabled:focus:enabled, .components-button.is-primary[aria-disabled=true]:active:enabled:focus:enabled {
328 - box-shadow: inset 0 0 0 1px var(--wp-components-color-background, var(--wpds-color-background-surface-neutral-strong, #fff)), 0 0 0 var(--wp-admin-border-width-focus) var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
329 -}
330 323 .components-button.is-primary.is-busy, .components-button.is-primary.is-busy:disabled, .components-button.is-primary.is-busy[aria-disabled=true] {
331 324 color: var(--wp-components-color-accent-inverted, var(--wpds-color-foreground-interactive-brand-strong, #fff));
332 325 background-size: 100px 100%;
333 326 /* stylelint-disable -- Disable reason: This function call looks nicer when each argument is on its own line. */
@@ -332,9 +325,8 @@
332 325 background-size: 100px 100%;
333 326 /* stylelint-disable -- Disable reason: This function call looks nicer when each argument is on its own line. */
334 327 background-image: linear-gradient(-45deg, var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)) 33%, var(--wp-components-color-accent-darker-20, var(--wp-admin-theme-color-darker-20, #183ad6)) 33%, var(--wp-components-color-accent-darker-20, var(--wp-admin-theme-color-darker-20, #183ad6)) 70%, var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)) 70%);
335 328 /* stylelint-enable */
336 - border-color: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
337 329 }
338 330 .components-button {
339 331 /**
340 332 * Secondary and tertiary buttons.
@@ -339,14 +331,8 @@
339 331 /**
340 332 * Secondary and tertiary buttons.
341 333 */
342 334 }
343 -.components-button.is-secondary, .components-button.is-tertiary {
344 - outline: 1px solid transparent;
345 -}
346 -.components-button.is-secondary:active:not(:disabled), .components-button.is-tertiary:active:not(:disabled) {
347 - box-shadow: none;
348 -}
349 335 .components-button.is-secondary:disabled, .components-button.is-secondary[aria-disabled=true], .components-button.is-secondary[aria-disabled=true]:hover, .components-button.is-tertiary:disabled, .components-button.is-tertiary[aria-disabled=true], .components-button.is-tertiary[aria-disabled=true]:hover {
350 336 color: #949494;
351 337 background: transparent;
352 338 transform: none;
@@ -355,26 +341,33 @@
355 341 /**
356 342 * Secondary button style.
357 343 */
358 344 }
345 +@media not (prefers-reduced-motion) {
346 + .components-button.is-secondary {
347 + transition: border-color 0.1s linear;
348 + }
349 +}
359 350 .components-button.is-secondary {
360 - box-shadow: inset 0 0 0 1px var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)), 0 0 0 currentColor;
361 - outline: 1px solid transparent;
351 + border-color: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
362 352 white-space: nowrap;
363 353 color: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
364 354 background: transparent;
365 355 }
356 +.components-button.is-secondary:active:not(:disabled) {
357 + border-color: transparent;
358 +}
366 359 .components-button.is-secondary:hover:not(:disabled, [aria-disabled=true], .is-pressed) {
367 - box-shadow: inset 0 0 0 1px var(--wp-components-color-accent-darker-20, var(--wp-admin-theme-color-darker-20, #183ad6));
360 + border-color: var(--wp-components-color-accent-darker-20, var(--wp-admin-theme-color-darker-20, #183ad6));
368 361 color: var(--wp-components-color-accent-darker-20, var(--wp-admin-theme-color-darker-20, #183ad6));
369 362 background: color-mix(in srgb, var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)) 4%, transparent);
370 363 }
364 +.components-button.is-secondary:focus:not(:active) {
365 + border-color: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
366 +}
371 367 .components-button.is-secondary:disabled:not(:focus), .components-button.is-secondary[aria-disabled=true]:not(:focus), .components-button.is-secondary[aria-disabled=true]:hover:not(:focus) {
372 - box-shadow: inset 0 0 0 1px var(--wpds-color-stroke-interactive-neutral-disabled, #dbdbdb);
368 + border-color: var(--wpds-color-stroke-interactive-neutral-disabled, #dbdbdb);
373 369 }
374 -.components-button.is-secondary:focus:not(:active) {
375 - box-shadow: 0 0 0 currentColor inset, 0 0 0 var(--wp-admin-border-width-focus) var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
376 -}
377 370 .components-button {
378 371 /**
379 372 * Tertiary buttons.
380 373 */
@@ -393,12 +386,8 @@
393 386 }
394 387 p + .components-button.is-tertiary {
395 388 margin-left: -6px;
396 389 }
397 -.components-button.is-tertiary:disabled:not(:focus), .components-button.is-tertiary[aria-disabled=true]:not(:focus), .components-button.is-tertiary[aria-disabled=true]:hover:not(:focus) {
398 - box-shadow: none;
399 - outline: none;
400 -}
401 390 .components-button {
402 391 /**
403 392 * Destructive buttons.
404 393 */
@@ -413,11 +402,8 @@
413 402 }
414 403 .components-button.is-destructive:not(.is-primary):not(.is-secondary):not(.is-tertiary):not(.is-link):hover:not(:disabled, [aria-disabled=true]) {
415 404 color: rgb(112.7368421053, 13.2631578947, 13.2631578947);
416 405 }
417 -.components-button.is-destructive:not(.is-primary):not(.is-secondary):not(.is-tertiary):not(.is-link):focus:not(:active) {
418 - box-shadow: 0 0 0 var(--wp-admin-border-width-focus) #cc1818;
419 -}
420 406 .components-button.is-destructive:not(.is-primary):not(.is-secondary):not(.is-tertiary):not(.is-link):active:not(:disabled, [aria-disabled=true]) {
421 407 background: #ccc;
422 408 }
423 409 .components-button.is-destructive:not(.is-primary):not(.is-secondary):not(.is-tertiary):not(.is-link):disabled, .components-button.is-destructive:not(.is-primary):not(.is-secondary):not(.is-tertiary):not(.is-link)[aria-disabled=true] {
@@ -436,15 +422,14 @@
436 422 }
437 423 .components-button.is-link {
438 424 margin: 0;
439 425 padding: 0;
440 - box-shadow: none;
441 426 border: 0;
442 427 border-radius: 0;
443 428 background: none;
444 429 outline: none;
445 430 text-align: left;
446 - font-weight: 400;
431 + font-weight: var(--wpds-typography-font-weight-default, 400);
447 432 color: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
448 433 text-decoration: underline;
449 434 text-underline-offset: 0.2em;
450 435 text-decoration-thickness: from-font;
@@ -458,17 +443,15 @@
458 443 }
459 444 .components-button.is-link {
460 445 height: auto;
461 446 }
462 -.components-button.is-link:focus {
447 +.components-button.is-link:focus:not(:active) {
463 448 border-radius: 2px;
449 + text-decoration: none;
464 450 }
465 451 .components-button.is-link:disabled, .components-button.is-link[aria-disabled=true] {
466 452 color: #949494;
467 453 }
468 -.components-button:focus {
469 - outline: 3px solid transparent;
470 -}
471 454 .components-button:not(:disabled, [aria-disabled=true]):active {
472 455 color: var(--wp-components-color-foreground, var(--wpds-color-foreground-content-neutral, #1e1e1e));
473 456 }
474 457 .components-button:disabled, .components-button[aria-disabled=true] {
@@ -527,8 +510,12 @@
527 510 .components-button.has-icon.has-text.has-icon-right {
528 511 padding-right: 8px;
529 512 padding-left: 12px;
530 513 }
514 +.components-button.has-icon:not(.has-text) svg,
515 +.components-button.has-icon:not(.has-text) .dashicon {
516 + margin-inline: -1px;
517 +}
531 518 .components-button.is-pressed, .components-button.is-pressed:hover {
532 519 color: var(--wp-components-color-foreground-inverted, var(--wpds-color-background-surface-neutral, #fcfcfc));
533 520 }
534 521 .components-button.is-pressed:not(:disabled, [aria-disabled=true]), .components-button.is-pressed:hover:not(:disabled, [aria-disabled=true]) {
@@ -540,27 +527,13 @@
540 527 .components-button.is-pressed:disabled:not(.is-primary):not(.is-secondary):not(.is-tertiary), .components-button.is-pressed[aria-disabled=true]:not(.is-primary):not(.is-secondary):not(.is-tertiary) {
541 528 color: var(--wp-components-color-foreground-inverted, var(--wpds-color-background-surface-neutral, #fcfcfc));
542 529 background: #949494;
543 530 }
544 -.components-button.is-pressed:focus:not(:active) {
545 - box-shadow: inset 0 0 0 1px var(--wp-components-color-background, var(--wpds-color-background-surface-neutral-strong, #fff)), 0 0 0 var(--wp-admin-border-width-focus) var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
546 -}
547 -.components-button.is-pressed:focus {
548 - outline: 2px solid transparent;
549 -}
550 -.components-button:focus:active {
551 - outline: none;
552 -}
553 531 .components-button svg {
554 532 fill: currentColor;
555 533 outline: none;
556 534 flex-shrink: 0;
557 535 }
558 -@media (forced-colors: active) {
559 - .components-button svg {
560 - fill: CanvasText;
561 - }
562 -}
563 536
564 537 @keyframes components-button__busy-animation {
565 538 0% {
566 539 background-position: 200px 0;
@@ -565,371 +538,8 @@
565 538 0% {
566 539 background-position: 200px 0;
567 540 }
568 541 }
569 -/* Root of the component. */
570 -.components-calendar {
571 - position: relative; /* Required to position the navigation toolbar. */
572 - box-sizing: border-box;
573 - display: inline flow-root;
574 - color: var(--wp-components-color-foreground, var(--wpds-color-foreground-content-neutral, #1e1e1e));
575 - background-color: var(--wp-components-color-background, var(--wpds-color-background-surface-neutral-strong, #fff));
576 - font-size: 13px;
577 - font-weight: 400;
578 - z-index: 0;
579 -}
580 -.components-calendar *,
581 -.components-calendar *::before,
582 -.components-calendar *::after {
583 - box-sizing: border-box;
584 -}
585 -
586 -.components-calendar__day {
587 - padding: 0;
588 - position: relative;
589 -}
590 -.components-calendar__day:has(.components-calendar__day-button:disabled) {
591 - color: var(--wp-components-color-gray-400, var(--wpds-color-stroke-interactive-neutral, #8d8d8d));
592 -}
593 -.components-calendar__day:has(.components-calendar__day-button:hover:not(:disabled)), .components-calendar__day:has(.components-calendar__day-button:focus-visible) {
594 - color: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
595 -}
596 -
597 -.components-calendar__day-button {
598 - background: none;
599 - padding: 0;
600 - margin: 0;
601 - cursor: var(--wpds-cursor-control, pointer);
602 - justify-content: center;
603 - align-items: center;
604 - display: flex;
605 - position: relative;
606 - width: 32px;
607 - height: 32px;
608 - border: none;
609 - border-radius: 2px;
610 - font: inherit;
611 - font-variant-numeric: tabular-nums;
612 - color: inherit;
613 -}
614 -.components-calendar__day-button::before {
615 - content: "";
616 - position: absolute;
617 - z-index: -1;
618 - inset: 0;
619 - border: none;
620 - border-radius: 2px;
621 -}
622 -.components-calendar__day-button::after {
623 - content: "";
624 - position: absolute;
625 - z-index: 1;
626 - inset: 0;
627 - pointer-events: none;
628 -}
629 -.components-calendar__day-button:disabled {
630 - cursor: revert;
631 -}
632 -@media (forced-colors: active) {
633 - .components-calendar__day-button:disabled {
634 - text-decoration: line-through;
635 - }
636 -}
637 -.components-calendar__day-button:focus-visible {
638 - outline: var(--wp-admin-border-width-focus) solid var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
639 - outline-offset: 1px;
640 -}
641 -
642 -.components-calendar__caption-label {
643 - z-index: 1;
644 - position: relative;
645 - display: inline-flex;
646 - align-items: center;
647 - white-space: nowrap;
648 - border: 0;
649 - text-transform: capitalize;
650 -}
651 -
652 -.components-calendar__button-next,
653 -.components-calendar__button-previous {
654 - border: none;
655 - border-radius: 2px;
656 - background: none;
657 - padding: 0;
658 - margin: 0;
659 - cursor: var(--wpds-cursor-control, pointer);
660 - -webkit-appearance: none;
661 - -moz-appearance: none;
662 - appearance: none;
663 - display: inline-flex;
664 - align-items: center;
665 - justify-content: center;
666 - position: relative;
667 - width: 32px;
668 - height: 32px;
669 - color: inherit;
670 -}
671 -.components-calendar__button-next:disabled, .components-calendar__button-next[aria-disabled=true],
672 -.components-calendar__button-previous:disabled,
673 -.components-calendar__button-previous[aria-disabled=true] {
674 - cursor: revert;
675 - color: var(--wp-components-color-gray-600, var(--wpds-color-stroke-interactive-neutral, #8d8d8d));
676 -}
677 -.components-calendar__button-next:focus-visible,
678 -.components-calendar__button-previous:focus-visible {
679 - outline: var(--wp-admin-border-width-focus) solid var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
680 -}
681 -
682 -.components-calendar__chevron {
683 - display: inline-block;
684 - fill: currentColor;
685 - width: 16px;
686 - height: 16px;
687 -}
688 -
689 -.components-calendar[dir=rtl] .components-calendar__nav .components-calendar__chevron {
690 - transform: rotate(180deg);
691 - transform-origin: 50%;
692 -}
693 -
694 -.components-calendar__month-caption {
695 - display: flex;
696 - justify-content: center;
697 - align-content: center;
698 - height: 32px;
699 - margin-bottom: 12px;
700 -}
701 -
702 -.components-calendar__months {
703 - position: relative;
704 - display: flex;
705 - justify-content: center;
706 - flex-wrap: wrap;
707 - gap: 16px;
708 - max-width: -moz-fit-content;
709 - max-width: fit-content;
710 -}
711 -
712 -.components-calendar__month-grid {
713 - border-collapse: separate;
714 - border-spacing: 0 4px;
715 -}
716 -
717 -.components-calendar__nav {
718 - position: absolute;
719 - inset-block-start: 0;
720 - inset-inline-start: 0;
721 - inset-inline-end: 0;
722 - display: flex;
723 - align-items: center;
724 - justify-content: space-between;
725 - height: 32px;
726 -}
727 -
728 -.components-calendar__weekday {
729 - width: 32px;
730 - height: 32px;
731 - padding: 0;
732 - color: var(--wp-components-color-gray-700, var(--wpds-color-foreground-content-neutral-weak, #707070));
733 - text-align: center;
734 - text-transform: uppercase;
735 -}
736 -
737 -/* DAY MODIFIERS */
738 -.components-calendar__day--today::after {
739 - content: "";
740 - position: absolute;
741 - z-index: 1;
742 - inset-block-start: 2px;
743 - inset-inline-end: 2px;
744 - width: 0;
745 - height: 0;
746 - border-radius: 50%;
747 - border: 2px solid currentColor;
748 -}
749 -
750 -.components-calendar__day--selected:not(.components-calendar__range-middle):has(.components-calendar__day-button,
751 -.components-calendar__day-button:hover:not(:disabled)) {
752 - color: var(--wp-components-color-foreground-inverted, var(--wpds-color-background-surface-neutral, #fcfcfc));
753 -}
754 -.components-calendar__day--selected:not(.components-calendar__range-middle) .components-calendar__day-button::before {
755 - background-color: var(--wp-components-color-foreground, var(--wpds-color-foreground-content-neutral, #1e1e1e));
756 - border: 1px solid transparent;
757 -}
758 -.components-calendar__day--selected:not(.components-calendar__range-middle) .components-calendar__day-button:disabled::before {
759 - background-color: var(--wp-components-color-gray-400, var(--wpds-color-stroke-interactive-neutral, #8d8d8d));
760 -}
761 -.components-calendar__day--selected:not(.components-calendar__range-middle) .components-calendar__day-button:hover:not(:disabled)::before {
762 - background-color: var(--wp-components-color-gray-800, var(--wpds-color-foreground-content-neutral, #1e1e1e));
763 -}
764 -
765 -.components-calendar__day--outside {
766 - color: var(--wp-components-color-gray-600, var(--wpds-color-stroke-interactive-neutral, #8d8d8d));
767 -}
768 -
769 -.components-calendar__day--hidden {
770 - visibility: hidden;
771 -}
772 -
773 -.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 {
774 - border-start-end-radius: 0;
775 - border-end-end-radius: 0;
776 -}
777 -
778 -.components-calendar__range-middle .components-calendar__day-button::before {
779 - background-color: color-mix(in srgb, var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)) 4%, transparent);
780 - border-radius: 0;
781 - border-width: 1px 0;
782 - border-color: transparent;
783 - border-style: solid;
784 -}
785 -
786 -.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 {
787 - border-start-start-radius: 0;
788 - border-end-start-radius: 0;
789 -}
790 -
791 -/*
792 - * RANGE PREVIEW (range calendar only)
793 - *
794 - * The preview is rendered in the button's ::after pseudo-element, so that it
795 - * can be rendered over the button's contents.
796 - * The selection preview is shown with a dashed border. In order to have
797 - * control over the dash pattern (especially the seams between days), the
798 - * dashed borders are rendered as SVGs via the url() CSS function.
799 - * Since SVGs rendered in the url() function don't seem to be able to access
800 - * CSS variables, we're using the SVGs as masks, and using `background-color`
801 - * to consume the accent color variable.
802 - */
803 -.components-calendar__day--preview svg {
804 - position: absolute;
805 - inset: 0;
806 - pointer-events: none;
807 - color: color-mix(in srgb, var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)) 16%, transparent);
808 -}
809 -@media (forced-colors: active) {
810 - .components-calendar__day--preview svg {
811 - color: inherit;
812 - }
813 -}
814 -.components-calendar[dir=rtl] .components-calendar__day--preview svg {
815 - transform: scaleX(-1);
816 -}
817 -
818 -.components-calendar__day--preview.components-calendar__range-middle .components-calendar__day-button::before {
819 - border: none;
820 -}
821 -
822 -/* ANIMATIONS */
823 -@keyframes slide-in-left {
824 - 0% {
825 - transform: translateX(-100%);
826 - }
827 - 100% {
828 - transform: translateX(0);
829 - }
830 -}
831 -@keyframes slide-in-right {
832 - 0% {
833 - transform: translateX(100%);
834 - }
835 - 100% {
836 - transform: translateX(0);
837 - }
838 -}
839 -@keyframes slide-out-left {
840 - 0% {
841 - transform: translateX(0);
842 - }
843 - 100% {
844 - transform: translateX(-100%);
845 - }
846 -}
847 -@keyframes slide-out-right {
848 - 0% {
849 - transform: translateX(0);
850 - }
851 - 100% {
852 - transform: translateX(100%);
853 - }
854 -}
855 -@keyframes fade-in {
856 - from {
857 - opacity: 0;
858 - }
859 - to {
860 - opacity: 1;
861 - }
862 -}
863 -@keyframes fade-out {
864 - from {
865 - opacity: 1;
866 - }
867 - to {
868 - opacity: 0;
869 - }
870 -}
871 -.components-calendar__weeks-before-enter,
872 -.components-calendar__weeks-before-exit,
873 -.components-calendar__weeks-after-enter,
874 -.components-calendar__weeks-after-exit,
875 -.components-calendar__caption-after-enter,
876 -.components-calendar__caption-after-exit,
877 -.components-calendar__caption-before-enter,
878 -.components-calendar__caption-before-exit {
879 - animation-duration: 0s;
880 - animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
881 - animation-fill-mode: forwards;
882 -}
883 -@media not (prefers-reduced-motion) {
884 - .components-calendar__weeks-before-enter,
885 - .components-calendar__weeks-before-exit,
886 - .components-calendar__weeks-after-enter,
887 - .components-calendar__weeks-after-exit,
888 - .components-calendar__caption-after-enter,
889 - .components-calendar__caption-after-exit,
890 - .components-calendar__caption-before-enter,
891 - .components-calendar__caption-before-exit {
892 - animation-duration: 0.3s;
893 - }
894 -}
895 -
896 -.components-calendar__weeks-before-enter,
897 -.components-calendar[dir=rtl] .components-calendar__weeks-after-enter {
898 - animation-name: slide-in-left;
899 -}
900 -
901 -.components-calendar__weeks-before-exit,
902 -.components-calendar[dir=rtl] .components-calendar__weeks-after-exit {
903 - animation-name: slide-out-left;
904 -}
905 -
906 -.components-calendar__weeks-after-enter,
907 -.components-calendar[dir=rtl] .components-calendar__weeks-before-enter {
908 - animation-name: slide-in-right;
909 -}
910 -
911 -.components-calendar__weeks-after-exit,
912 -.components-calendar[dir=rtl] .components-calendar__weeks-before-exit {
913 - animation-name: slide-out-right;
914 -}
915 -
916 -.components-calendar__caption-after-enter {
917 - animation-name: fade-in;
918 -}
919 -
920 -.components-calendar__caption-after-exit {
921 - animation-name: fade-out;
922 -}
923 -
924 -.components-calendar__caption-before-enter {
925 - animation-name: fade-in;
926 -}
927 -
928 -.components-calendar__caption-before-exit {
929 - animation-name: fade-out;
930 -}
931 -
932 542 .components-checkbox-control {
933 543 --checkbox-input-size: 24px;
934 544 }
935 545 @media (min-width: 600px) {
@@ -942,8 +552,9 @@
942 552 }
943 553
944 554 .components-checkbox-control__label {
945 555 line-height: var(--checkbox-input-size);
556 + color: var(--wpds-color-foreground-content-neutral, #1e1e1e);
946 557 }
947 558 .components-checkbox-control:not(:has(:disabled)) .components-checkbox-control__label {
948 559 cursor: var(--wpds-cursor-control, pointer);
949 560 }
@@ -948,27 +559,21 @@
948 559 cursor: var(--wpds-cursor-control, pointer);
949 560 }
950 561
951 562 .components-checkbox-control__input[type=checkbox] {
952 - border: 1px solid #1e1e1e;
563 + border: var(--wpds-border-width-xs, 1px) solid var(--wpds-color-stroke-interactive-neutral, #8d8d8d);
953 564 margin-right: 12px;
954 565 transition: none;
955 566 border-radius: 2px;
956 - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
567 + font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
957 568 padding: 6px 8px;
958 569 /* Fonts smaller than 16px causes mobile safari to zoom. */
959 570 font-size: 16px;
960 571 /* Override core line-height. To be reviewed. */
961 572 line-height: normal;
962 - box-shadow: 0 0 0 transparent;
963 - border-radius: 2px;
964 - 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);
965 575 }
966 -@media not (prefers-reduced-motion) {
967 - .components-checkbox-control__input[type=checkbox] {
968 - transition: box-shadow 0.1s linear;
969 - }
970 -}
971 576 @media (min-width: 600px) {
972 577 .components-checkbox-control__input[type=checkbox] {
973 578 font-size: 13px;
974 579 /* Override core line-height. To be reviewed. */
@@ -974,18 +579,22 @@
974 579 /* Override core line-height. To be reviewed. */
975 580 line-height: normal;
976 581 }
977 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 +}
978 586 .components-checkbox-control__input[type=checkbox]:focus {
979 - border-color: var(--wp-admin-theme-color);
980 - box-shadow: 0 0 0 0.5px var(--wp-admin-theme-color);
981 - 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;
982 591 }
983 -.components-checkbox-control__input[type=checkbox]::-moz-placeholder {
592 +.components-checkbox-control__input[type=checkbox]::placeholder {
984 593 color: rgba(30, 30, 30, 0.62);
985 594 }
986 -.components-checkbox-control__input[type=checkbox]::placeholder {
987 - 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);
988 597 }
989 598 .components-checkbox-control__input[type=checkbox]:focus {
990 599 box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--wp-admin-theme-color);
991 600 outline: 2px solid transparent;
@@ -1013,9 +622,9 @@
1013 622 display: inline-block;
1014 623 vertical-align: middle;
1015 624 width: 16px;
1016 625 /* stylelint-disable-next-line font-family-no-missing-generic-family-keyword -- dashicons don't need a generic family keyword. */
1017 - font: normal 30px/1 dashicons;
626 + font: 400 30px/1 dashicons;
1018 627 speak: none;
1019 628 -webkit-font-smoothing: antialiased;
1020 629 -moz-osx-font-smoothing: grayscale;
1021 630 }
@@ -1025,13 +634,17 @@
1025 634 font-size: 21px;
1026 635 }
1027 636 }
1028 637 .components-checkbox-control__input[type=checkbox][aria-disabled=true], .components-checkbox-control__input[type=checkbox]:disabled {
1029 - background: #f0f0f0;
1030 - 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);
1031 641 cursor: default;
1032 642 opacity: 1;
1033 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 +}
1034 647 .components-checkbox-control__input[type=checkbox] {
1035 648 background: #fff;
1036 649 color: #1e1e1e;
1037 650 clear: none;
@@ -1043,11 +656,9 @@
1043 656 text-align: center;
1044 657 vertical-align: top;
1045 658 width: var(--checkbox-input-size);
1046 659 height: var(--checkbox-input-size);
1047 - -webkit-appearance: none;
1048 - -moz-appearance: none;
1049 - appearance: none;
660 + appearance: none;
1050 661 }
1051 662 @media not (prefers-reduced-motion) {
1052 663 .components-checkbox-control__input[type=checkbox] {
1053 664 transition: 0.1s border-color ease-in-out;
@@ -1081,32 +692,24 @@
1081 692 }
1082 693
1083 694 svg.components-checkbox-control__checked,
1084 695 svg.components-checkbox-control__indeterminate {
1085 - --checkmark-size: var(--checkbox-input-size);
1086 - fill: #fff;
696 + color: #fff;
1087 697 cursor: var(--wpds-cursor-control, pointer);
1088 698 position: absolute;
1089 699 left: 50%;
1090 700 top: 50%;
1091 701 transform: translate(-50%, -50%);
1092 - width: var(--checkmark-size);
1093 - height: var(--checkmark-size);
702 + width: var(--checkbox-input-size);
703 + height: var(--checkbox-input-size);
1094 704 -webkit-user-select: none;
1095 - -moz-user-select: none;
1096 705 user-select: none;
1097 706 pointer-events: none;
1098 707 }
1099 -@media (min-width: 600px) {
1100 - svg.components-checkbox-control__checked,
1101 - svg.components-checkbox-control__indeterminate {
1102 - --checkmark-size: calc(var(--checkbox-input-size) + 4px);
1103 - }
1104 -}
1105 708
1106 709 .components-checkbox-control:has(:disabled) svg.components-checkbox-control__checked,
1107 710 .components-checkbox-control:has(:disabled) svg.components-checkbox-control__indeterminate {
1108 - fill: var(--wp-components-color-gray-400, var(--wpds-color-stroke-interactive-neutral, #8d8d8d));
711 + color: var(--wpds-color-foreground-interactive-neutral-disabled, #8d8d8d);
1109 712 }
1110 713
1111 714 .components-checkbox-control__help {
1112 715 display: inline-block;
@@ -1144,14 +747,14 @@
1144 747 transform: scale(1);
1145 748 }
1146 749 @media not (prefers-reduced-motion) {
1147 750 .components-circular-option-picker__option-wrapper {
1148 - transition: 100ms transform ease;
751 + transition: 100ms transform ease-out;
1149 752 will-change: transform;
1150 753 }
1151 754 }
1152 755 .components-circular-option-picker__option-wrapper:hover {
1153 - transform: scale(1.2);
756 + transform: scale(1.1);
1154 757 }
1155 758 .components-circular-option-picker__option-wrapper > div {
1156 759 height: 100%;
1157 760 width: 100%;
@@ -1159,15 +762,11 @@
1159 762
1160 763 .components-circular-option-picker__option-wrapper::before {
1161 764 content: "";
1162 765 position: absolute;
1163 - top: 1px;
1164 - left: 1px;
1165 - bottom: 1px;
1166 - right: 1px;
766 + inset: 1px;
1167 767 border-radius: 50%;
1168 768 z-index: -1;
1169 - /* stylelint-disable-next-line function-url-quotes -- We need quotes for the data URL to use the SVG inline. */
1170 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');
1171 770 }
1172 771
1173 772 .components-circular-option-picker__option {
@@ -1187,13 +786,9 @@
1187 786 }
1188 787 .components-circular-option-picker__option {
1189 788 cursor: var(--wpds-cursor-control, pointer);
1190 789 }
1191 -.components-circular-option-picker__option:hover {
1192 - box-shadow: inset 0 0 0 14px !important;
1193 -}
1194 790 .components-circular-option-picker__option[aria-pressed=true], .components-circular-option-picker__option[aria-selected=true] {
1195 - box-shadow: inset 0 0 0 4px;
1196 791 position: relative;
1197 792 z-index: 1;
1198 793 overflow: visible;
1199 794 }
@@ -1207,34 +802,13 @@
1207 802 }
1208 803 .components-circular-option-picker__option::after {
1209 804 content: "";
1210 805 position: absolute;
1211 - top: -1px;
1212 - left: -1px;
1213 - bottom: -1px;
1214 - right: -1px;
806 + inset: -1px;
807 + border: 1px solid transparent;
1215 808 border-radius: 50%;
1216 809 box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2);
1217 - border: 1px solid transparent;
1218 - box-sizing: inherit;
1219 810 }
1220 -.components-circular-option-picker__option:focus::after {
1221 - content: "";
1222 - border-radius: 50%;
1223 - box-shadow: inset 0 0 0 2px #fff;
1224 - position: absolute;
1225 - top: 50%;
1226 - left: 50%;
1227 - transform: translate(-50%, -50%);
1228 - border: 2px solid #757575;
1229 - width: calc(100% + 4px);
1230 - height: calc(100% + 4px);
1231 -}
1232 -.components-circular-option-picker__option.components-button:focus {
1233 - background-color: transparent;
1234 - box-shadow: inset 0 0 0 14px;
1235 - outline: none;
1236 -}
1237 811
1238 812 .components-circular-option-picker__button-action .components-circular-option-picker__option {
1239 813 color: #fff;
1240 814 background: #fff;
@@ -1246,17 +820,14 @@
1246 820 .components-circular-option-picker__dropdown-link-action .components-button {
1247 821 line-height: 22px;
1248 822 }
1249 823
1250 -.components-palette-edit__popover-gradient-picker {
824 +.components-palette-edit__popover-gradient-picker,
825 +.components-palette-edit__popover-duotone-picker {
1251 826 width: 260px;
1252 827 padding: 8px;
1253 828 }
1254 829
1255 -.components-dropdown-menu__menu .components-palette-edit__menu-button {
1256 - width: 100%;
1257 -}
1258 -
1259 830 .component-color-indicator {
1260 831 width: 20px;
1261 832 height: 20px;
1262 833 box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2);
@@ -1293,23 +864,17 @@
1293 864 box-shadow: none;
1294 865 }
1295 866
1296 867 .components-combobox-control__suggestions-container {
1297 - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
868 + font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
1298 869 padding: 6px 8px;
1299 870 /* Fonts smaller than 16px causes mobile safari to zoom. */
1300 871 font-size: 16px;
1301 872 /* Override core line-height. To be reviewed. */
1302 873 line-height: normal;
1303 - box-shadow: 0 0 0 transparent;
1304 - border-radius: 2px;
1305 - 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);
1306 876 }
1307 -@media not (prefers-reduced-motion) {
1308 - .components-combobox-control__suggestions-container {
1309 - transition: box-shadow 0.1s linear;
1310 - }
1311 -}
1312 877 @media (min-width: 600px) {
1313 878 .components-combobox-control__suggestions-container {
1314 879 font-size: 13px;
1315 880 /* Override core line-height. To be reviewed. */
@@ -1315,16 +880,17 @@
1315 880 /* Override core line-height. To be reviewed. */
1316 881 line-height: normal;
1317 882 }
1318 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 +}
1319 887 .components-combobox-control__suggestions-container:focus {
1320 - border-color: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
1321 - box-shadow: 0 0 0 0.5px var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
1322 - 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;
1323 892 }
1324 -.components-combobox-control__suggestions-container::-moz-placeholder {
1325 - color: rgba(30, 30, 30, 0.62);
1326 -}
1327 893 .components-combobox-control__suggestions-container::placeholder {
1328 894 color: rgba(30, 30, 30, 0.62);
1329 895 }
1330 896 .components-combobox-control__suggestions-container {
@@ -1334,11 +900,10 @@
1334 900 width: 100%;
1335 901 padding: 0;
1336 902 }
1337 903 .components-combobox-control__suggestions-container:focus-within {
1338 - border-color: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
1339 - box-shadow: 0 0 0 0.5px var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
1340 - 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));
1341 906 }
1342 907 .components-combobox-control__suggestions-container .components-spinner {
1343 908 margin: 0;
1344 909 }
@@ -1451,14 +1016,19 @@
1451 1016 width: inherit;
1452 1017 border-radius: 50%;
1453 1018 padding: 0;
1454 1019 box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) #fff, 0 0 2px 0 rgba(0, 0, 0, 0.25);
1455 - outline: 2px solid transparent;
1456 1020 }
1457 -.components-custom-gradient-picker__gradient-bar .components-custom-gradient-picker__control-point-button:focus, .components-custom-gradient-picker__gradient-bar .components-custom-gradient-picker__control-point-button.is-active {
1021 +.components-custom-gradient-picker__gradient-bar .components-custom-gradient-picker__control-point-button.is-active {
1458 1022 box-shadow: inset 0 0 0 calc(var(--wp-admin-border-width-focus) * 2) #fff, 0 0 2px 0 rgba(0, 0, 0, 0.25);
1459 - outline: 1.5px solid transparent;
1460 1023 }
1024 +.components-custom-gradient-picker__gradient-bar .components-custom-gradient-picker__control-point-button:focus:not(:active) {
1025 + outline-offset: 1px;
1026 + box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) #fff, 0 0 2px 0 rgba(0, 0, 0, 0.25), 0 0 0 calc(var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)) + 2px) var(--wpds-color-background-surface-neutral-strong, #fff);
1027 +}
1028 +.components-custom-gradient-picker__gradient-bar .components-custom-gradient-picker__control-point-button:focus:not(:active).is-active {
1029 + box-shadow: inset 0 0 0 calc(var(--wp-admin-border-width-focus) * 2) #fff, 0 0 2px 0 rgba(0, 0, 0, 0.25), 0 0 0 calc(var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)) + 2px) var(--wpds-color-background-surface-neutral-strong, #fff);
1030 +}
1461 1031
1462 1032 .components-custom-gradient-picker__remove-control-point-wrapper {
1463 1033 padding-bottom: 8px;
1464 1034 }
@@ -1547,9 +1117,9 @@
1547 1117 pointer-events: none;
1548 1118 }
1549 1119
1550 1120 .components-drop-zone__content-text {
1551 - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
1121 + font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
1552 1122 font-size: 13px;
1553 1123 }
1554 1124
1555 1125 .components-dropdown {
@@ -1586,9 +1156,9 @@
1586 1156 }
1587 1157
1588 1158 .components-dropdown-menu__menu {
1589 1159 width: 100%;
1590 - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
1160 + font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
1591 1161 font-size: 13px;
1592 1162 line-height: 1.4;
1593 1163 }
1594 1164 .components-dropdown-menu__menu .components-dropdown-menu__menu-item,
@@ -1597,9 +1167,9 @@
1597 1167 padding: 6px;
1598 1168 outline: none;
1599 1169 cursor: var(--wpds-cursor-control, pointer);
1600 1170 white-space: nowrap;
1601 - font-weight: 400;
1171 + font-weight: var(--wpds-typography-font-weight-default, 400);
1602 1172 }
1603 1173 .components-dropdown-menu__menu .components-dropdown-menu__menu-item.has-separator,
1604 1174 .components-dropdown-menu__menu .components-menu-item.has-separator {
1605 1175 margin-top: 6px;
@@ -1675,17 +1245,8 @@
1675 1245 .components-external-link {
1676 1246 color: var(--wpds-color-foreground-interactive-brand, var(--wp-admin-theme-color, #3858e9));
1677 1247 text-decoration: none;
1678 1248 }
1679 -@media not (prefers-reduced-motion) {
1680 - .components-external-link {
1681 - transition: outline 0.1s ease-out;
1682 - }
1683 -}
1684 -.components-external-link {
1685 - outline: 0 solid transparent;
1686 - outline-offset: 1px;
1687 -}
1688 1249 .components-external-link:visited {
1689 1250 color: var(--wpds-color-foreground-interactive-brand, var(--wp-admin-theme-color, #3858e9));
1690 1251 }
1691 1252 .components-external-link:hover, .components-external-link:active {
@@ -1691,12 +1252,15 @@
1691 1252 .components-external-link:hover, .components-external-link:active {
1692 1253 color: var(--wpds-color-foreground-interactive-brand-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 52%, black));
1693 1254 }
1694 1255 .components-external-link:focus {
1695 - 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));
1696 1256 box-shadow: none;
1697 1257 border-radius: 0;
1698 1258 }
1259 +.components-external-link:focus:not(:active) {
1260 + outline: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)) solid var(--focus-color, var(--wpds-color-stroke-focus, var(--wp-admin-theme-color, #3858e9)));
1261 + outline-offset: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px));
1262 +}
1699 1263
1700 1264 .components-external-link__contents {
1701 1265 text-decoration: underline;
1702 1266 text-underline-offset: 0.2em;
@@ -1706,9 +1270,9 @@
1706 1270 .components-external-link__icon {
1707 1271 line-height: 1;
1708 1272 display: inline-block;
1709 1273 margin-inline-start: var(--wpds-dimension-padding-xs, 4px);
1710 - font-weight: var(--wpds-typography-font-weight-regular, 400);
1274 + font-weight: var(--wpds-typography-font-weight-default, 400);
1711 1275 }
1712 1276
1713 1277 .components-form-toggle {
1714 1278 position: relative;
@@ -1787,39 +1351,39 @@
1787 1351 background-color: #fff;
1788 1352 border-width: 0;
1789 1353 transform: translateX(16px);
1790 1354 }
1791 -.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 {
1792 1356 background-color: var(--wp-components-color-gray-100, var(--wpds-color-background-surface-neutral, #fcfcfc));
1793 1357 border-color: var(--wpds-color-stroke-interactive-neutral-disabled, #dbdbdb);
1794 1358 }
1795 1359 @media (forced-colors: active) {
1796 - .components-form-toggle.is-disabled .components-form-toggle__track, .components-disabled .components-form-toggle .components-form-toggle__track {
1360 + .components-form-toggle.is-disabled .components-form-toggle__track, [inert] .components-form-toggle .components-form-toggle__track {
1797 1361 border-color: GrayText;
1798 1362 }
1799 1363 }
1800 -.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 {
1801 1365 background-color: var(--wp-components-color-gray-400, var(--wpds-color-stroke-interactive-neutral, #8d8d8d));
1802 1366 box-shadow: none;
1803 1367 }
1804 1368 @media (forced-colors: active) {
1805 - .components-form-toggle.is-disabled .components-form-toggle__thumb, .components-disabled .components-form-toggle .components-form-toggle__thumb {
1369 + .components-form-toggle.is-disabled .components-form-toggle__thumb, [inert] .components-form-toggle .components-form-toggle__thumb {
1806 1370 border-color: GrayText;
1807 1371 }
1808 1372 }
1809 -.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 {
1810 1374 background-color: var(--wp-components-color-gray-400, var(--wpds-color-stroke-interactive-neutral, #8d8d8d));
1811 1375 border-color: var(--wp-components-color-gray-400, var(--wpds-color-stroke-interactive-neutral, #8d8d8d));
1812 1376 }
1813 1377 @media (forced-colors: active) {
1814 - .components-form-toggle.is-disabled.is-checked .components-form-toggle__track, .components-disabled .components-form-toggle.is-checked .components-form-toggle__track {
1378 + .components-form-toggle.is-disabled.is-checked .components-form-toggle__track, [inert] .components-form-toggle.is-checked .components-form-toggle__track {
1815 1379 border-color: GrayText;
1816 1380 }
1817 - .components-form-toggle.is-disabled.is-checked .components-form-toggle__track::after, .components-disabled .components-form-toggle.is-checked .components-form-toggle__track::after {
1381 + .components-form-toggle.is-disabled.is-checked .components-form-toggle__track::after, [inert] .components-form-toggle.is-checked .components-form-toggle__track::after {
1818 1382 border-top-color: GrayText;
1819 1383 }
1820 1384 }
1821 -.components-form-toggle.is-disabled.is-checked .components-form-toggle__thumb, .components-disabled .components-form-toggle.is-checked .components-form-toggle__thumb {
1385 +.components-form-toggle.is-disabled.is-checked .components-form-toggle__thumb, [inert] .components-form-toggle.is-checked .components-form-toggle__thumb {
1822 1386 background-color: #fff;
1823 1387 }
1824 1388
1825 1389 .components-form-toggle input.components-form-toggle__input[type=checkbox] {
@@ -1844,23 +1408,17 @@
1844 1408 cursor: var(--wpds-cursor-control, pointer);
1845 1409 }
1846 1410
1847 1411 .components-form-token-field__input-container {
1848 - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
1412 + font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
1849 1413 padding: 6px 8px;
1850 1414 /* Fonts smaller than 16px causes mobile safari to zoom. */
1851 1415 font-size: 16px;
1852 1416 /* Override core line-height. To be reviewed. */
1853 1417 line-height: normal;
1854 - box-shadow: 0 0 0 transparent;
1855 - border-radius: 2px;
1856 - border: 1px solid #949494;
1418 + border: var(--wpds-border-width-xs, 1px) solid var(--wpds-color-stroke-interactive-neutral, #8d8d8d);
1419 + border-radius: var(--wpds-border-radius-sm, 2px);
1857 1420 }
1858 -@media not (prefers-reduced-motion) {
1859 - .components-form-token-field__input-container {
1860 - transition: box-shadow 0.1s linear;
1861 - }
1862 -}
1863 1421 @media (min-width: 600px) {
1864 1422 .components-form-token-field__input-container {
1865 1423 font-size: 13px;
1866 1424 /* Override core line-height. To be reviewed. */
@@ -1866,16 +1424,17 @@
1866 1424 /* Override core line-height. To be reviewed. */
1867 1425 line-height: normal;
1868 1426 }
1869 1427 }
1428 +.components-form-token-field__input-container:hover:not(:disabled, [aria-disabled=true]) {
1429 + border-color: var(--wpds-color-stroke-interactive-neutral-active, #6e6e6e);
1430 +}
1870 1431 .components-form-token-field__input-container:focus {
1871 - border-color: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
1872 - box-shadow: 0 0 0 0.5px var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
1873 - outline: 2px solid transparent;
1432 + outline: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)) solid var(--focus-color, var(--wpds-color-stroke-focus, var(--wp-admin-theme-color, #3858e9)));
1433 + outline-offset: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px));
1434 + border-color: var(--wpds-color-stroke-interactive-neutral, #8d8d8d);
1435 + box-shadow: none;
1874 1436 }
1875 -.components-form-token-field__input-container::-moz-placeholder {
1876 - color: rgba(30, 30, 30, 0.62);
1877 -}
1878 1437 .components-form-token-field__input-container::placeholder {
1879 1438 color: rgba(30, 30, 30, 0.62);
1880 1439 }
1881 1440 .components-form-token-field__input-container {
@@ -1887,12 +1446,14 @@
1887 1446 background: var(--wp-components-color-gray-100, var(--wpds-color-background-surface-neutral, #fcfcfc));
1888 1447 border-color: var(--wp-components-color-gray-400, var(--wpds-color-stroke-interactive-neutral, #8d8d8d));
1889 1448 cursor: default;
1890 1449 }
1450 +.components-form-token-field__input-container.is-disabled:hover {
1451 + border-color: var(--wp-components-color-gray-400, var(--wpds-color-stroke-interactive-neutral, #8d8d8d));
1452 +}
1891 1453 .components-form-token-field__input-container.is-active {
1892 - border-color: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
1893 - box-shadow: 0 0 0 0.5px var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
1894 - outline: 2px solid transparent;
1454 + outline: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)) solid var(--focus-color, var(--wpds-color-stroke-focus, var(--wp-admin-theme-color, #3858e9)));
1455 + outline-offset: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px));
1895 1456 }
1896 1457 .components-form-token-field__input-container input[type=text].components-form-token-field__input {
1897 1458 display: inline-block;
1898 1459 flex: 1;
@@ -2183,8 +1744,13 @@
2183 1744 outline-offset: calc(2 * -1 * var(--wp-admin-border-width-focus) / var(--wp-block-editor-iframe-zoom-out-scale, 1));
2184 1745 box-shadow: inset 0 0 0 calc(2 * var(--wp-admin-border-width-focus) / var(--wp-block-editor-iframe-zoom-out-scale, 1) + 0.5px) rgba(255, 255, 255, 0.7);
2185 1746 }
2186 1747
1748 +.components-input-control__container:focus-within:not(:has(:is(.components-input-control__prefix, .components-input-control__suffix):focus-within)) .components-input-control__backdrop {
1749 + outline: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)) solid var(--focus-color, var(--wpds-color-stroke-focus, var(--wp-admin-theme-color, #3858e9)));
1750 + outline-offset: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px));
1751 +}
1752 +
2187 1753 .components-menu-group + .components-menu-group {
2188 1754 padding-top: 8px;
2189 1755 border-top: 1px solid #1e1e1e;
2190 1756 }
@@ -2204,9 +1770,9 @@
2204 1770 margin-bottom: 12px;
2205 1771 color: #757575;
2206 1772 text-transform: uppercase;
2207 1773 font-size: 11px;
2208 - font-weight: 499;
1774 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
2209 1775 white-space: nowrap;
2210 1776 }
2211 1777
2212 1778 .components-menu-item__button,
@@ -2211,9 +1777,9 @@
2211 1777
2212 1778 .components-menu-item__button,
2213 1779 .components-menu-item__button.components-button {
2214 1780 width: 100%;
2215 - font-weight: 400;
1781 + font-weight: var(--wpds-typography-font-weight-default, 400);
2216 1782 }
2217 1783 .components-menu-item__button[role=menuitemradio] .components-menu-item__item:only-child, .components-menu-item__button[role=menuitemcheckbox] .components-menu-item__item:only-child,
2218 1784 .components-menu-item__button.components-button[role=menuitemradio] .components-menu-item__item:only-child,
2219 1785 .components-menu-item__button.components-button[role=menuitemcheckbox] .components-menu-item__item:only-child {
@@ -2303,8 +1869,12 @@
2303 1869 .components-menu-items-choice.components-button.has-icon {
2304 1870 padding-left: 12px;
2305 1871 }
2306 1872
1873 +body.modal-open {
1874 + overflow: hidden;
1875 +}
1876 +
2307 1877 .components-modal__screen-overlay {
2308 1878 position: fixed;
2309 1879 top: 0;
2310 1880 right: 0;
@@ -2497,9 +2067,9 @@
2497 2067 left: 0;
2498 2068 }
2499 2069 .components-modal__header .components-modal__header-heading {
2500 2070 font-size: 20px;
2501 - font-weight: 600;
2071 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
2502 2072 }
2503 2073 .components-modal__header h1 {
2504 2074 line-height: 1;
2505 2075 margin: 0;
@@ -2545,9 +2115,9 @@
2545 2115 }
2546 2116
2547 2117 .components-notice {
2548 2118 --wp-components-notice-background-color: var(--wpds-color-background-surface-info-weak, #f3f9ff);
2549 - --wp-components-notice-border-color: var(--wpds-color-stroke-surface-info, #a9c6e7);
2119 + --wp-components-notice-border-color: var(--wpds-color-stroke-surface-info, #adc6e2);
2550 2120 --wp-components-notice-text-color: var(--wpds-color-foreground-content-info, #001b4f);
2551 2121 box-sizing: border-box;
2552 2122 display: grid;
2553 2123 grid-template-columns: 1fr auto;
@@ -2562,19 +2132,19 @@
2562 2132 line-height: var(--wpds-typography-line-height-sm, 20px);
2563 2133 }
2564 2134 .components-notice.is-success {
2565 2135 --wp-components-notice-background-color: var(--wpds-color-background-surface-success-weak, #ebffed);
2566 - --wp-components-notice-border-color: var(--wpds-color-stroke-surface-success, #94d29e);
2136 + --wp-components-notice-border-color: var(--wpds-color-stroke-surface-success, #92d39d);
2567 2137 --wp-components-notice-text-color: var(--wpds-color-foreground-content-success, #002900);
2568 2138 }
2569 2139 .components-notice.is-warning {
2570 2140 --wp-components-notice-background-color: var(--wpds-color-background-surface-warning-weak, #fff7e1);
2571 - --wp-components-notice-border-color: var(--wpds-color-stroke-surface-warning, #e1bc7c);
2141 + --wp-components-notice-border-color: var(--wpds-color-stroke-surface-warning, #e1bd7c);
2572 2142 --wp-components-notice-text-color: var(--wpds-color-foreground-content-warning, #2e1900);
2573 2143 }
2574 2144 .components-notice.is-error {
2575 2145 --wp-components-notice-background-color: var(--wpds-color-background-surface-error-weak, #fff6f5);
2576 - --wp-components-notice-border-color: var(--wpds-color-stroke-surface-error, #dab1aa);
2146 + --wp-components-notice-border-color: var(--wpds-color-stroke-surface-error, #e0afa7);
2577 2147 --wp-components-notice-text-color: var(--wpds-color-foreground-content-error, #470000);
2578 2148 }
2579 2149
2580 2150 .components-notice__content {
@@ -2600,13 +2170,9 @@
2600 2170 margin-inline-start: var(--wpds-dimension-gap-xs, 4px);
2601 2171 }
2602 2172 .components-notice__dismiss:not(:disabled):not([aria-disabled=true]):not(.is-secondary):hover, .components-notice__dismiss:not(:disabled):not([aria-disabled=true]):not(.is-secondary):active, .components-notice__dismiss:not(:disabled):not([aria-disabled=true]):focus {
2603 2173 color: var(--wpds-color-foreground-interactive-neutral-active, #1e1e1e);
2604 - background-color: transparent;
2605 2174 }
2606 -.components-notice__dismiss:not(:disabled):not([aria-disabled=true]):not(.is-secondary):hover {
2607 - box-shadow: none;
2608 -}
2609 2175
2610 2176 .components-notice-list {
2611 2177 display: flex;
2612 2178 flex-direction: column;
@@ -2691,15 +2257,12 @@
2691 2257
2692 2258 .components-panel__body-toggle.components-button {
2693 2259 position: relative;
2694 2260 padding: 16px 48px 16px 16px;
2695 - outline: none;
2696 2261 width: 100%;
2697 - font-weight: 499;
2262 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
2698 2263 text-align: left;
2699 2264 color: #1e1e1e;
2700 - border: none;
2701 - box-shadow: none;
2702 2265 }
2703 2266 @media not (prefers-reduced-motion) {
2704 2267 .components-panel__body-toggle.components-button {
2705 2268 transition: 0.1s background ease-in-out;
@@ -2708,9 +2271,9 @@
2708 2271 .components-panel__body-toggle.components-button {
2709 2272 height: auto;
2710 2273 }
2711 2274 .components-panel__body-toggle.components-button:focus {
2712 - box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
2275 + outline-offset: calc(var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)) * -1);
2713 2276 border-radius: 0;
2714 2277 }
2715 2278 .components-panel__body-toggle.components-button .components-panel__arrow {
2716 2279 position: absolute;
@@ -2796,18 +2359,18 @@
2796 2359 .components-placeholder__error,
2797 2360 .components-placeholder__instructions,
2798 2361 .components-placeholder__label,
2799 2362 .components-placeholder__fieldset {
2800 - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
2363 + font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
2801 2364 font-size: 13px;
2802 2365 letter-spacing: initial;
2803 2366 line-height: initial;
2804 2367 text-transform: none;
2805 - font-weight: normal;
2368 + font-weight: 400;
2806 2369 }
2807 2370
2808 2371 .components-placeholder__label {
2809 - font-weight: 600;
2372 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
2810 2373 align-items: center;
2811 2374 display: flex;
2812 2375 }
2813 2376 .components-placeholder__label > svg,
@@ -2815,15 +2378,8 @@
2815 2378 .components-placeholder__label .block-editor-block-icon {
2816 2379 margin-right: 4px;
2817 2380 fill: currentColor;
2818 2381 }
2819 -@media (forced-colors: active) {
2820 - .components-placeholder__label > svg,
2821 - .components-placeholder__label .dashicon,
2822 - .components-placeholder__label .block-editor-block-icon {
2823 - fill: CanvasText;
2824 - }
2825 -}
2826 2382 .components-placeholder__label:empty {
2827 2383 display: none;
2828 2384 }
2829 2385
@@ -2837,9 +2393,9 @@
2837 2393 justify-content: flex-start;
2838 2394 }
2839 2395 .components-placeholder__fieldset p,
2840 2396 .components-placeholder__fieldset form p {
2841 - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
2397 + font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
2842 2398 font-size: 13px;
2843 2399 }
2844 2400
2845 2401 .components-placeholder__fieldset.is-column-layout,
@@ -2847,23 +2403,17 @@
2847 2403 flex-direction: column;
2848 2404 }
2849 2405
2850 2406 .components-placeholder__input[type=url] {
2851 - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
2407 + font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
2852 2408 padding: 6px 8px;
2853 2409 /* Fonts smaller than 16px causes mobile safari to zoom. */
2854 2410 font-size: 16px;
2855 2411 /* Override core line-height. To be reviewed. */
2856 2412 line-height: normal;
2857 - box-shadow: 0 0 0 transparent;
2858 - border-radius: 2px;
2859 - border: 1px solid #949494;
2413 + border: var(--wpds-border-width-xs, 1px) solid var(--wpds-color-stroke-interactive-neutral, #8d8d8d);
2414 + border-radius: var(--wpds-border-radius-sm, 2px);
2860 2415 }
2861 -@media not (prefers-reduced-motion) {
2862 - .components-placeholder__input[type=url] {
2863 - transition: box-shadow 0.1s linear;
2864 - }
2865 -}
2866 2416 @media (min-width: 600px) {
2867 2417 .components-placeholder__input[type=url] {
2868 2418 font-size: 13px;
2869 2419 /* Override core line-height. To be reviewed. */
@@ -2869,16 +2419,17 @@
2869 2419 /* Override core line-height. To be reviewed. */
2870 2420 line-height: normal;
2871 2421 }
2872 2422 }
2423 +.components-placeholder__input[type=url]:hover:not(:disabled, [aria-disabled=true]) {
2424 + border-color: var(--wpds-color-stroke-interactive-neutral-active, #6e6e6e);
2425 +}
2873 2426 .components-placeholder__input[type=url]:focus {
2874 - border-color: var(--wp-admin-theme-color);
2875 - box-shadow: 0 0 0 0.5px var(--wp-admin-theme-color);
2876 - outline: 2px solid transparent;
2427 + outline: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)) solid var(--focus-color, var(--wpds-color-stroke-focus, var(--wp-admin-theme-color, #3858e9)));
2428 + outline-offset: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px));
2429 + border-color: var(--wpds-color-stroke-interactive-neutral, #8d8d8d);
2430 + box-shadow: none;
2877 2431 }
2878 -.components-placeholder__input[type=url]::-moz-placeholder {
2879 - color: rgba(30, 30, 30, 0.62);
2880 -}
2881 2432 .components-placeholder__input[type=url]::placeholder {
2882 2433 color: rgba(30, 30, 30, 0.62);
2883 2434 }
2884 2435 .components-placeholder__input[type=url] {
@@ -3014,9 +2565,8 @@
3014 2565 background: #fff;
3015 2566 box-shadow: 0 0 0 1px #ccc, 0 2px 3px rgba(0, 0, 0, 0.05), 0 4px 5px rgba(0, 0, 0, 0.04), 0 12px 12px rgba(0, 0, 0, 0.03), 0 16px 16px rgba(0, 0, 0, 0.02);
3016 2567 border-radius: 4px;
3017 2568 box-sizing: border-box;
3018 - width: -moz-min-content;
3019 2569 width: min-content;
3020 2570 }
3021 2571 .is-alternate .components-popover__content {
3022 2572 box-shadow: 0 0 0 1px #1e1e1e;
@@ -3111,9 +2661,9 @@
3111 2661 .components-radio-control {
3112 2662 border: 0;
3113 2663 margin: 0;
3114 2664 padding: 0;
3115 - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
2665 + font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
3116 2666 font-size: 13px;
3117 2667 }
3118 2668
3119 2669 .components-radio-control__group-wrapper.has-help {
@@ -3123,10 +2673,9 @@
3123 2673 .components-radio-control__option {
3124 2674 display: grid;
3125 2675 grid-template-columns: auto 1fr;
3126 2676 grid-template-rows: auto minmax(0, max-content);
3127 - -moz-column-gap: 8px;
3128 - column-gap: 8px;
2677 + column-gap: 8px;
3129 2678 align-items: center;
3130 2679 }
3131 2680
3132 2681 .components-radio-control__input[type=radio] {
@@ -3184,11 +2733,9 @@
3184 2733 .components-radio-control__input[type=radio] {
3185 2734 display: inline-flex;
3186 2735 margin: 0;
3187 2736 padding: 0;
3188 - -webkit-appearance: none;
3189 - -moz-appearance: none;
3190 - appearance: none;
2737 + appearance: none;
3191 2738 }
3192 2739 .components-radio-control__input[type=radio]:not(:disabled) {
3193 2740 cursor: var(--wpds-cursor-control, pointer);
3194 2741 }
@@ -3217,10 +2764,11 @@
3217 2764
3218 2765 .components-radio-control__label {
3219 2766 grid-column: 2;
3220 2767 grid-row: 1;
2768 + color: var(--wpds-color-foreground-content-neutral, #1e1e1e);
3221 2769 }
3222 -.components-radio-control:not(:disabled) .components-radio-control__label {
2770 +.components-radio-control__input:not(:disabled) + .components-radio-control__label {
3223 2771 cursor: var(--wpds-cursor-control, pointer);
3224 2772 }
3225 2773 .components-radio-control__label {
3226 2774 line-height: 24px;
@@ -3434,9 +2982,9 @@
3434 2982 -webkit-tap-highlight-color: rgba(0, 0, 0, 0) !important;
3435 2983 }
3436 2984
3437 2985 .components-snackbar {
3438 - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
2986 + font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
3439 2987 font-size: 13px;
3440 2988 background: rgba(0, 0, 0, 0.85);
3441 2989 backdrop-filter: blur(16px) saturate(180%);
3442 2990 border-radius: 4px;
@@ -3450,9 +2998,8 @@
3450 2998 pointer-events: auto;
3451 2999 }
3452 3000 @media (min-width: 600px) {
3453 3001 .components-snackbar {
3454 - width: -moz-fit-content;
3455 3002 width: fit-content;
3456 3003 }
3457 3004 }
3458 3005 .components-snackbar:focus {
@@ -3479,14 +3026,10 @@
3479 3026 .components-snackbar__action.components-external-link {
3480 3027 margin-left: 32px;
3481 3028 color: #fff;
3482 3029 flex-shrink: 0;
3030 + --focus-color: #fff;
3483 3031 }
3484 -.components-snackbar__action.components-button:focus,
3485 -.components-snackbar__action.components-external-link:focus {
3486 - box-shadow: none;
3487 - outline: 1px dotted #fff;
3488 -}
3489 3032 .components-snackbar__action.components-button:hover,
3490 3033 .components-snackbar__action.components-external-link:hover {
3491 3034 text-decoration: none;
3492 3035 color: currentColor;
@@ -3526,13 +3069,12 @@
3526 3069 border-radius: 0;
3527 3070 height: 48px !important;
3528 3071 background: transparent;
3529 3072 border: none;
3530 - box-shadow: none;
3531 3073 cursor: var(--wpds-cursor-control, pointer);
3532 3074 padding: 3px var(--wpds-dimension-padding-lg, 16px);
3533 3075 margin-left: 0;
3534 - font-weight: var(--wpds-typography-font-weight-regular, 400);
3076 + font-weight: var(--wpds-typography-font-weight-default, 400);
3535 3077 color: var(--wpds-color-foreground-interactive-neutral, #1e1e1e);
3536 3078 }
3537 3079 .components-tab-panel__tabs-item:disabled, .components-tab-panel__tabs-item[aria-disabled=true] {
3538 3080 color: var(--wpds-color-foreground-interactive-neutral-disabled, #8d8d8d);
@@ -3541,9 +3083,8 @@
3541 3083 color: var(--wpds-color-foreground-interactive-neutral-active, #1e1e1e);
3542 3084 }
3543 3085 .components-tab-panel__tabs-item:focus:not(:disabled) {
3544 3086 position: relative;
3545 - box-shadow: none;
3546 3087 outline: none;
3547 3088 }
3548 3089 .components-tab-panel__tabs-item::after {
3549 3090 content: "";
@@ -3570,19 +3111,14 @@
3570 3111 content: "";
3571 3112 position: absolute;
3572 3113 inset: var(--wpds-dimension-padding-md, 12px);
3573 3114 pointer-events: none;
3574 - box-shadow: 0 0 0 0 transparent;
3575 3115 border-radius: var(--wpds-border-radius-sm, 2px);
3576 3116 }
3577 -@media not (prefers-reduced-motion) {
3578 - .components-tab-panel__tabs-item::before {
3579 - transition: box-shadow 0.1s linear;
3580 - }
3581 -}
3582 3117 .components-tab-panel__tabs-item:focus-visible::before {
3583 - 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));
3584 - outline: 2px solid transparent;
3118 + outline: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)) solid var(--focus-color, var(--wpds-color-stroke-focus, var(--wp-admin-theme-color, #3858e9)));
3119 + outline-offset: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px));
3120 + outline-offset: 0;
3585 3121 }
3586 3122 .components-tab-panel__tabs[aria-orientation=vertical] .components-tab-panel__tabs-item {
3587 3123 border-radius: var(--wpds-border-radius-sm, 2px);
3588 3124 }
@@ -3593,14 +3129,13 @@
3593 3129 background: var(--wpds-color-background-interactive-neutral-weak-active, #ededed);
3594 3130 }
3595 3131
3596 3132 .components-tab-panel__tab-content:focus {
3597 - box-shadow: none;
3598 3133 outline: none;
3599 3134 }
3600 3135 .components-tab-panel__tab-content:focus-visible {
3601 - 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));
3602 - outline: 2px solid transparent;
3136 + outline: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)) solid var(--focus-color, var(--wpds-color-stroke-focus, var(--wp-admin-theme-color, #3858e9)));
3137 + outline-offset: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px));
3603 3138 outline-offset: 0;
3604 3139 }
3605 3140
3606 3141 .components-text-control__input,
@@ -3621,36 +3156,17 @@
3621 3156 height: 40px;
3622 3157 margin: 0;
3623 3158 background: var(--wp-components-color-background, var(--wpds-color-background-surface-neutral-strong, #fff));
3624 3159 color: var(--wp-components-color-foreground, var(--wpds-color-foreground-content-neutral, #1e1e1e));
3625 - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
3160 + font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
3626 3161 padding: 6px 8px;
3627 3162 /* Fonts smaller than 16px causes mobile safari to zoom. */
3628 3163 font-size: 16px;
3629 3164 /* Override core line-height. To be reviewed. */
3630 3165 line-height: normal;
3631 - box-shadow: 0 0 0 transparent;
3632 - border-radius: 2px;
3633 - border: 1px solid #949494;
3166 + border: var(--wpds-border-width-xs, 1px) solid var(--wpds-color-stroke-interactive-neutral, #8d8d8d);
3167 + border-radius: var(--wpds-border-radius-sm, 2px);
3634 3168 }
3635 -@media not (prefers-reduced-motion) {
3636 - .components-text-control__input,
3637 - .components-text-control__input[type=text],
3638 - .components-text-control__input[type=tel],
3639 - .components-text-control__input[type=time],
3640 - .components-text-control__input[type=url],
3641 - .components-text-control__input[type=week],
3642 - .components-text-control__input[type=password],
3643 - .components-text-control__input[type=color],
3644 - .components-text-control__input[type=date],
3645 - .components-text-control__input[type=datetime],
3646 - .components-text-control__input[type=datetime-local],
3647 - .components-text-control__input[type=email],
3648 - .components-text-control__input[type=month],
3649 - .components-text-control__input[type=number] {
3650 - transition: box-shadow 0.1s linear;
3651 - }
3652 -}
3653 3169 @media (min-width: 600px) {
3654 3170 .components-text-control__input,
3655 3171 .components-text-control__input[type=text],
3656 3172 .components-text-control__input[type=tel],
@@ -3669,8 +3185,24 @@
3669 3185 /* Override core line-height. To be reviewed. */
3670 3186 line-height: normal;
3671 3187 }
3672 3188 }
3189 +.components-text-control__input:hover:not(:disabled, [aria-disabled=true]),
3190 +.components-text-control__input[type=text]:hover:not(:disabled, [aria-disabled=true]),
3191 +.components-text-control__input[type=tel]:hover:not(:disabled, [aria-disabled=true]),
3192 +.components-text-control__input[type=time]:hover:not(:disabled, [aria-disabled=true]),
3193 +.components-text-control__input[type=url]:hover:not(:disabled, [aria-disabled=true]),
3194 +.components-text-control__input[type=week]:hover:not(:disabled, [aria-disabled=true]),
3195 +.components-text-control__input[type=password]:hover:not(:disabled, [aria-disabled=true]),
3196 +.components-text-control__input[type=color]:hover:not(:disabled, [aria-disabled=true]),
3197 +.components-text-control__input[type=date]:hover:not(:disabled, [aria-disabled=true]),
3198 +.components-text-control__input[type=datetime]:hover:not(:disabled, [aria-disabled=true]),
3199 +.components-text-control__input[type=datetime-local]:hover:not(:disabled, [aria-disabled=true]),
3200 +.components-text-control__input[type=email]:hover:not(:disabled, [aria-disabled=true]),
3201 +.components-text-control__input[type=month]:hover:not(:disabled, [aria-disabled=true]),
3202 +.components-text-control__input[type=number]:hover:not(:disabled, [aria-disabled=true]) {
3203 + border-color: var(--wpds-color-stroke-interactive-neutral-active, #6e6e6e);
3204 +}
3673 3205 .components-text-control__input:focus,
3674 3206 .components-text-control__input[type=text]:focus,
3675 3207 .components-text-control__input[type=tel]:focus,
3676 3208 .components-text-control__input[type=time]:focus,
@@ -3683,15 +3215,13 @@
3683 3215 .components-text-control__input[type=datetime-local]:focus,
3684 3216 .components-text-control__input[type=email]:focus,
3685 3217 .components-text-control__input[type=month]:focus,
3686 3218 .components-text-control__input[type=number]:focus {
3687 - border-color: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
3688 - box-shadow: 0 0 0 0.5px var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
3689 - outline: 2px solid transparent;
3219 + outline: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)) solid var(--focus-color, var(--wpds-color-stroke-focus, var(--wp-admin-theme-color, #3858e9)));
3220 + outline-offset: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px));
3221 + border-color: var(--wpds-color-stroke-interactive-neutral, #8d8d8d);
3222 + box-shadow: none;
3690 3223 }
3691 -.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 {
3692 - color: rgba(30, 30, 30, 0.62);
3693 -}
3694 3224 .components-text-control__input::placeholder,
3695 3225 .components-text-control__input[type=text]::placeholder,
3696 3226 .components-text-control__input[type=tel]::placeholder,
3697 3227 .components-text-control__input[type=time]::placeholder,
@@ -3720,15 +3250,11 @@
3720 3250 .components-text-control__input[type=datetime-local],
3721 3251 .components-text-control__input[type=email],
3722 3252 .components-text-control__input[type=month],
3723 3253 .components-text-control__input[type=number] {
3724 - border-color: var(--wp-components-color-gray-600, var(--wpds-color-stroke-interactive-neutral, #8d8d8d));
3725 3254 padding-left: 12px;
3726 3255 padding-right: 12px;
3727 3256 }
3728 -.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 {
3729 - color: color-mix(in srgb, var(--wp-components-color-foreground, var(--wpds-color-foreground-content-neutral, #1e1e1e)), transparent 38%);
3730 -}
3731 3257 .components-text-control__input::placeholder,
3732 3258 .components-text-control__input[type=text]::placeholder,
3733 3259 .components-text-control__input[type=tel]::placeholder,
3734 3260 .components-text-control__input[type=time]::placeholder,
@@ -3756,9 +3282,9 @@
3756 3282 color: #757575;
3757 3283 }
3758 3284 .components-tip svg {
3759 3285 align-self: center;
3760 - fill: #f0b849;
3286 + color: #f0b849;
3761 3287 flex-shrink: 0;
3762 3288 margin-right: 16px;
3763 3289 }
3764 3290 .components-tip p {
@@ -3766,8 +3292,9 @@
3766 3292 }
3767 3293
3768 3294 .components-toggle-control__label {
3769 3295 line-height: 16px;
3296 + color: var(--wpds-color-foreground-content-neutral, #1e1e1e);
3770 3297 }
3771 3298 .components-toggle-control__label:not(.is-disabled) {
3772 3299 cursor: var(--wpds-cursor-control, pointer);
3773 3300 }
@@ -3875,11 +3402,11 @@
3875 3402 padding: 5px 10px 5px 0;
3876 3403 }
3877 3404 .components-toolbar__control.components-button[data-subscript]::after {
3878 3405 content: attr(data-subscript);
3879 - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
3406 + font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
3880 3407 font-size: 13px;
3881 - font-weight: 600;
3408 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
3882 3409 line-height: 12px;
3883 3410 position: absolute;
3884 3411 right: 8px;
3885 3412 bottom: 10px;
@@ -3958,9 +3485,9 @@
3958 3485 }
3959 3486
3960 3487 .components-tooltip {
3961 3488 background: #000;
3962 - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
3489 + font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
3963 3490 border-radius: var(--wpds-border-radius-md, 4px);
3964 3491 color: #f0f0f0;
3965 3492 text-align: center;
3966 3493 line-height: 1.4;
@@ -3973,36 +3500,19 @@
3973 3500 .components-tooltip__shortcut {
3974 3501 margin-left: 8px;
3975 3502 }
3976 3503
3977 -.components-validated-control:has(:is(input, select):invalid[data-validity-visible]) .components-input-control__backdrop {
3978 - --wp-components-color-accent: #cc1818;
3979 - border-color: #cc1818;
3504 +.components-validated-control__wrapper-with-error-delegate:has(input:invalid[data-validity-visible]) .components-validated-control__content-editable [role=textbox], .components-validated-control__wrapper-with-error-delegate:has(select:invalid[data-validity-visible]) .components-input-control__backdrop, .components-validated-control textarea:invalid[data-validity-visible], .components-validated-control:has(:is(input, select):invalid[data-validity-visible]) .components-input-control__backdrop {
3505 + --focus-color: var(--wpds-color-stroke-interactive-error, #cc1818);
3980 3506 }
3981 -.components-validated-control :is(textarea, input[type=text]):invalid[data-validity-visible] {
3982 - --wp-admin-theme-color: #cc1818;
3983 - --wp-components-color-accent: #cc1818;
3984 - border-color: #cc1818;
3507 +
3508 +.components-validated-control__wrapper-with-error-delegate:has(input:invalid[data-validity-visible]) .components-validated-control__content-editable [role=textbox], .components-validated-control__wrapper-with-error-delegate:has(select:invalid[data-validity-visible]) .components-input-control__backdrop, .components-validated-control textarea:invalid[data-validity-visible], .components-validated-control:has(:is(input, select):invalid[data-validity-visible]) .components-input-control__backdrop {
3509 + border-color: var(--wpds-color-stroke-interactive-error, #cc1818);
3985 3510 }
3986 -.components-validated-control .components-combobox-control__suggestions-container:has(input:invalid[data-validity-visible]):not(:has([aria-expanded=true])) {
3987 - --wp-components-color-accent: #cc1818;
3988 -}
3989 3511
3990 3512 .components-validated-control__wrapper-with-error-delegate {
3991 3513 position: relative;
3992 3514 }
3993 -.components-validated-control__wrapper-with-error-delegate:has(select:invalid[data-validity-visible]) .components-input-control__backdrop {
3994 - --wp-components-color-accent: #cc1818;
3995 - border-color: #cc1818;
3996 -}
3997 -.components-validated-control__wrapper-with-error-delegate:has(input[type=radio]:invalid[data-validity-visible]) {
3998 - --wp-components-color-accent: #cc1818;
3999 -}
4000 -.components-validated-control__wrapper-with-error-delegate:has(input:invalid[data-validity-visible]) .components-form-token-field__input-container:not(:has([aria-expanded=true])) {
4001 - --wp-components-color-accent: #cc1818;
4002 - border-color: #cc1818;
4003 -}
4004 -
4005 3515 .components-validated-control__error-delegate {
4006 3516 position: absolute;
4007 3517 top: 0;
4008 3518 height: 100%;
@@ -4010,46 +3520,8 @@
4010 3520 opacity: 0;
4011 3521 pointer-events: none;
4012 3522 }
4013 3523
4014 -.components-validated-control__indicator {
4015 - display: flex;
4016 - align-items: flex-start;
4017 - gap: 4px;
4018 - margin: 8px 0 0;
4019 - font-family: -apple-system, "system-ui", "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
4020 - font-size: 12px;
4021 - line-height: 16px;
4022 - color: var(--wp-components-color-gray-700, var(--wpds-color-foreground-content-neutral-weak, #707070));
4023 - animation: components-validated-control__indicator-jump 0.2s cubic-bezier(0.68, -0.55, 0.27, 1.55);
4024 -}
4025 -.components-validated-control__indicator.is-invalid {
4026 - color: #cc1818;
4027 -}
4028 -.components-validated-control__indicator.is-valid {
4029 - color: color-mix(in srgb, #000 30%, #4ab866);
4030 -}
4031 -
4032 -.components-validated-control__indicator-icon {
4033 - flex-shrink: 0;
4034 -}
4035 -
4036 -.components-validated-control__indicator-spinner {
4037 - margin: 2px;
4038 - width: 12px;
4039 - height: 12px;
4040 -}
4041 -
4042 -@keyframes components-validated-control__indicator-jump {
4043 - 0% {
4044 - transform: translateY(-4px);
4045 - opacity: 0;
4046 - }
4047 - 100% {
4048 - transform: translateY(0);
4049 - opacity: 1;
4050 - }
4051 -}
4052 3524 :root {
4053 3525 --wp-admin-theme-color: #3858e9;
4054 3526 --wp-admin-theme-color--rgb: 56, 88, 233;
4055 3527 --wp-admin-theme-color-darker-10: rgb(33.0384615385, 68.7307692308, 230.4615384615);