PluginProbe
Gutenberg / trunk
Gutenberg vtrunk
24.1.0 24.0.0 23.9.1 23.9.0 23.8.0 23.7.2 23.7.1 23.7.0 23.6.1 23.6.2 23.6.0 23.5.3 23.5.2 23.5.1 23.5.0 23.4.0 23.3.2 23.3.1 23.3.0 23.2.0 23.2.1 23.2.2 23.1.1 23.1.0 23.0.1 All 404 releases
← All changes | build/styles/components/style-rtl.css +209 -737 23.5.2 → trunk 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: right;
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-right: -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-right: -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: right;
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-left: 8px;
529 512 padding-right: 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: right 200px top 0;
@@ -565,371 +538,8 @@
565 538 0% {
566 539 background-position: right 200px top 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-left: 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 right: 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 - right: 1px;
1165 - bottom: 1px;
1166 - left: 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 - right: -1px;
1213 - bottom: -1px;
1214 - left: -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 - right: 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 }
@@ -1447,14 +1012,19 @@
1447 1012 width: inherit;
1448 1013 border-radius: 50%;
1449 1014 padding: 0;
1450 1015 box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) #fff, 0 0 2px 0 rgba(0, 0, 0, 0.25);
1451 - outline: 2px solid transparent;
1452 1016 }
1453 -.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 {
1454 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);
1455 - outline: 1.5px solid transparent;
1456 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 +}
1457 1027
1458 1028 .components-custom-gradient-picker__remove-control-point-wrapper {
1459 1029 padding-bottom: 8px;
1460 1030 }
@@ -1542,9 +1112,9 @@
1542 1112 pointer-events: none;
1543 1113 }
1544 1114
1545 1115 .components-drop-zone__content-text {
1546 - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
1116 + font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
1547 1117 font-size: 13px;
1548 1118 }
1549 1119
1550 1120 .components-dropdown {
@@ -1581,9 +1151,9 @@
1581 1151 }
1582 1152
1583 1153 .components-dropdown-menu__menu {
1584 1154 width: 100%;
1585 - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
1155 + font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
1586 1156 font-size: 13px;
1587 1157 line-height: 1.4;
1588 1158 }
1589 1159 .components-dropdown-menu__menu .components-dropdown-menu__menu-item,
@@ -1592,9 +1162,9 @@
1592 1162 padding: 6px;
1593 1163 outline: none;
1594 1164 cursor: var(--wpds-cursor-control, pointer);
1595 1165 white-space: nowrap;
1596 - font-weight: 400;
1166 + font-weight: var(--wpds-typography-font-weight-default, 400);
1597 1167 }
1598 1168 .components-dropdown-menu__menu .components-dropdown-menu__menu-item.has-separator,
1599 1169 .components-dropdown-menu__menu .components-menu-item.has-separator {
1600 1170 margin-top: 6px;
@@ -1670,17 +1240,8 @@
1670 1240 .components-external-link {
1671 1241 color: var(--wpds-color-foreground-interactive-brand, var(--wp-admin-theme-color, #3858e9));
1672 1242 text-decoration: none;
1673 1243 }
1674 -@media not (prefers-reduced-motion) {
1675 - .components-external-link {
1676 - transition: outline 0.1s ease-out;
1677 - }
1678 -}
1679 -.components-external-link {
1680 - outline: 0 solid transparent;
1681 - outline-offset: 1px;
1682 -}
1683 1244 .components-external-link:visited {
1684 1245 color: var(--wpds-color-foreground-interactive-brand, var(--wp-admin-theme-color, #3858e9));
1685 1246 }
1686 1247 .components-external-link:hover, .components-external-link:active {
@@ -1686,12 +1247,15 @@
1686 1247 .components-external-link:hover, .components-external-link:active {
1687 1248 color: var(--wpds-color-foreground-interactive-brand-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 52%, black));
1688 1249 }
1689 1250 .components-external-link:focus {
1690 - 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));
1691 1251 box-shadow: none;
1692 1252 border-radius: 0;
1693 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 +}
1694 1258
1695 1259 .components-external-link__contents {
1696 1260 text-decoration: underline;
1697 1261 text-underline-offset: 0.2em;
@@ -1701,9 +1265,9 @@
1701 1265 .components-external-link__icon {
1702 1266 line-height: 1;
1703 1267 display: inline-block;
1704 1268 margin-inline-start: var(--wpds-dimension-padding-xs, 4px);
1705 - font-weight: var(--wpds-typography-font-weight-regular, 400);
1269 + font-weight: var(--wpds-typography-font-weight-default, 400);
1706 1270 }
1707 1271
1708 1272 .components-form-toggle {
1709 1273 position: relative;
@@ -1782,39 +1346,39 @@
1782 1346 background-color: #fff;
1783 1347 border-width: 0;
1784 1348 transform: translateX(-16px);
1785 1349 }
1786 -.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 {
1787 1351 background-color: var(--wp-components-color-gray-100, var(--wpds-color-background-surface-neutral, #fcfcfc));
1788 1352 border-color: var(--wpds-color-stroke-interactive-neutral-disabled, #dbdbdb);
1789 1353 }
1790 1354 @media (forced-colors: active) {
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 border-color: GrayText;
1793 1357 }
1794 1358 }
1795 -.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 {
1796 1360 background-color: var(--wp-components-color-gray-400, var(--wpds-color-stroke-interactive-neutral, #8d8d8d));
1797 1361 box-shadow: none;
1798 1362 }
1799 1363 @media (forced-colors: active) {
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 border-color: GrayText;
1802 1366 }
1803 1367 }
1804 -.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 {
1805 1369 background-color: var(--wp-components-color-gray-400, var(--wpds-color-stroke-interactive-neutral, #8d8d8d));
1806 1370 border-color: var(--wp-components-color-gray-400, var(--wpds-color-stroke-interactive-neutral, #8d8d8d));
1807 1371 }
1808 1372 @media (forced-colors: active) {
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 border-color: GrayText;
1811 1375 }
1812 - .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 {
1813 1377 border-top-color: GrayText;
1814 1378 }
1815 1379 }
1816 -.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 {
1817 1381 background-color: #fff;
1818 1382 }
1819 1383
1820 1384 .components-form-toggle input.components-form-toggle__input[type=checkbox] {
@@ -1839,23 +1403,17 @@
1839 1403 cursor: var(--wpds-cursor-control, pointer);
1840 1404 }
1841 1405
1842 1406 .components-form-token-field__input-container {
1843 - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
1407 + font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
1844 1408 padding: 6px 8px;
1845 1409 /* Fonts smaller than 16px causes mobile safari to zoom. */
1846 1410 font-size: 16px;
1847 1411 /* Override core line-height. To be reviewed. */
1848 1412 line-height: normal;
1849 - box-shadow: 0 0 0 transparent;
1850 - border-radius: 2px;
1851 - 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);
1852 1415 }
1853 -@media not (prefers-reduced-motion) {
1854 - .components-form-token-field__input-container {
1855 - transition: box-shadow 0.1s linear;
1856 - }
1857 -}
1858 1416 @media (min-width: 600px) {
1859 1417 .components-form-token-field__input-container {
1860 1418 font-size: 13px;
1861 1419 /* Override core line-height. To be reviewed. */
@@ -1861,16 +1419,17 @@
1861 1419 /* Override core line-height. To be reviewed. */
1862 1420 line-height: normal;
1863 1421 }
1864 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 +}
1865 1426 .components-form-token-field__input-container:focus {
1866 - border-color: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
1867 - box-shadow: 0 0 0 0.5px var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
1868 - 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;
1869 1431 }
1870 -.components-form-token-field__input-container::-moz-placeholder {
1871 - color: rgba(30, 30, 30, 0.62);
1872 -}
1873 1432 .components-form-token-field__input-container::placeholder {
1874 1433 color: rgba(30, 30, 30, 0.62);
1875 1434 }
1876 1435 .components-form-token-field__input-container {
@@ -1882,12 +1441,14 @@
1882 1441 background: var(--wp-components-color-gray-100, var(--wpds-color-background-surface-neutral, #fcfcfc));
1883 1442 border-color: var(--wp-components-color-gray-400, var(--wpds-color-stroke-interactive-neutral, #8d8d8d));
1884 1443 cursor: default;
1885 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 +}
1886 1448 .components-form-token-field__input-container.is-active {
1887 - border-color: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
1888 - box-shadow: 0 0 0 0.5px var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
1889 - 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));
1890 1451 }
1891 1452 .components-form-token-field__input-container input[type=text].components-form-token-field__input {
1892 1453 display: inline-block;
1893 1454 flex: 1;
@@ -2178,8 +1739,13 @@
2178 1739 outline-offset: calc(2 * -1 * var(--wp-admin-border-width-focus) / var(--wp-block-editor-iframe-zoom-out-scale, 1));
2179 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);
2180 1741 }
2181 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 +
2182 1748 .components-menu-group + .components-menu-group {
2183 1749 padding-top: 8px;
2184 1750 border-top: 1px solid #1e1e1e;
2185 1751 }
@@ -2199,9 +1765,9 @@
2199 1765 margin-bottom: 12px;
2200 1766 color: #757575;
2201 1767 text-transform: uppercase;
2202 1768 font-size: 11px;
2203 - font-weight: 499;
1769 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
2204 1770 white-space: nowrap;
2205 1771 }
2206 1772
2207 1773 .components-menu-item__button,
@@ -2206,9 +1772,9 @@
2206 1772
2207 1773 .components-menu-item__button,
2208 1774 .components-menu-item__button.components-button {
2209 1775 width: 100%;
2210 - font-weight: 400;
1776 + font-weight: var(--wpds-typography-font-weight-default, 400);
2211 1777 }
2212 1778 .components-menu-item__button[role=menuitemradio] .components-menu-item__item:only-child, .components-menu-item__button[role=menuitemcheckbox] .components-menu-item__item:only-child,
2213 1779 .components-menu-item__button.components-button[role=menuitemradio] .components-menu-item__item:only-child,
2214 1780 .components-menu-item__button.components-button[role=menuitemcheckbox] .components-menu-item__item:only-child {
@@ -2298,8 +1864,12 @@
2298 1864 .components-menu-items-choice.components-button.has-icon {
2299 1865 padding-right: 12px;
2300 1866 }
2301 1867
1868 +body.modal-open {
1869 + overflow: hidden;
1870 +}
1871 +
2302 1872 .components-modal__screen-overlay {
2303 1873 position: fixed;
2304 1874 top: 0;
2305 1875 left: 0;
@@ -2492,9 +2062,9 @@
2492 2062 right: 0;
2493 2063 }
2494 2064 .components-modal__header .components-modal__header-heading {
2495 2065 font-size: 20px;
2496 - font-weight: 600;
2066 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
2497 2067 }
2498 2068 .components-modal__header h1 {
2499 2069 line-height: 1;
2500 2070 margin: 0;
@@ -2540,9 +2110,9 @@
2540 2110 }
2541 2111
2542 2112 .components-notice {
2543 2113 --wp-components-notice-background-color: var(--wpds-color-background-surface-info-weak, #f3f9ff);
2544 - --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);
2545 2115 --wp-components-notice-text-color: var(--wpds-color-foreground-content-info, #001b4f);
2546 2116 box-sizing: border-box;
2547 2117 display: grid;
2548 2118 grid-template-columns: 1fr auto;
@@ -2557,19 +2127,19 @@
2557 2127 line-height: var(--wpds-typography-line-height-sm, 20px);
2558 2128 }
2559 2129 .components-notice.is-success {
2560 2130 --wp-components-notice-background-color: var(--wpds-color-background-surface-success-weak, #ebffed);
2561 - --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);
2562 2132 --wp-components-notice-text-color: var(--wpds-color-foreground-content-success, #002900);
2563 2133 }
2564 2134 .components-notice.is-warning {
2565 2135 --wp-components-notice-background-color: var(--wpds-color-background-surface-warning-weak, #fff7e1);
2566 - --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);
2567 2137 --wp-components-notice-text-color: var(--wpds-color-foreground-content-warning, #2e1900);
2568 2138 }
2569 2139 .components-notice.is-error {
2570 2140 --wp-components-notice-background-color: var(--wpds-color-background-surface-error-weak, #fff6f5);
2571 - --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);
2572 2142 --wp-components-notice-text-color: var(--wpds-color-foreground-content-error, #470000);
2573 2143 }
2574 2144
2575 2145 .components-notice__content {
@@ -2595,13 +2165,9 @@
2595 2165 margin-inline-start: var(--wpds-dimension-gap-xs, 4px);
2596 2166 }
2597 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 {
2598 2168 color: var(--wpds-color-foreground-interactive-neutral-active, #1e1e1e);
2599 - background-color: transparent;
2600 2169 }
2601 -.components-notice__dismiss:not(:disabled):not([aria-disabled=true]):not(.is-secondary):hover {
2602 - box-shadow: none;
2603 -}
2604 2170
2605 2171 .components-notice-list {
2606 2172 display: flex;
2607 2173 flex-direction: column;
@@ -2686,15 +2252,12 @@
2686 2252
2687 2253 .components-panel__body-toggle.components-button {
2688 2254 position: relative;
2689 2255 padding: 16px 16px 16px 48px;
2690 - outline: none;
2691 2256 width: 100%;
2692 - font-weight: 499;
2257 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
2693 2258 text-align: right;
2694 2259 color: #1e1e1e;
2695 - border: none;
2696 - box-shadow: none;
2697 2260 }
2698 2261 @media not (prefers-reduced-motion) {
2699 2262 .components-panel__body-toggle.components-button {
2700 2263 transition: 0.1s background ease-in-out;
@@ -2703,9 +2266,9 @@
2703 2266 .components-panel__body-toggle.components-button {
2704 2267 height: auto;
2705 2268 }
2706 2269 .components-panel__body-toggle.components-button:focus {
2707 - box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
2270 + outline-offset: calc(var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)) * -1);
2708 2271 border-radius: 0;
2709 2272 }
2710 2273 .components-panel__body-toggle.components-button .components-panel__arrow {
2711 2274 position: absolute;
@@ -2789,18 +2352,18 @@
2789 2352 .components-placeholder__error,
2790 2353 .components-placeholder__instructions,
2791 2354 .components-placeholder__label,
2792 2355 .components-placeholder__fieldset {
2793 - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
2356 + font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
2794 2357 font-size: 13px;
2795 2358 letter-spacing: initial;
2796 2359 line-height: initial;
2797 2360 text-transform: none;
2798 - font-weight: normal;
2361 + font-weight: 400;
2799 2362 }
2800 2363
2801 2364 .components-placeholder__label {
2802 - font-weight: 600;
2365 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
2803 2366 align-items: center;
2804 2367 display: flex;
2805 2368 }
2806 2369 .components-placeholder__label > svg,
@@ -2808,15 +2371,8 @@
2808 2371 .components-placeholder__label .block-editor-block-icon {
2809 2372 margin-left: 4px;
2810 2373 fill: currentColor;
2811 2374 }
2812 -@media (forced-colors: active) {
2813 - .components-placeholder__label > svg,
2814 - .components-placeholder__label .dashicon,
2815 - .components-placeholder__label .block-editor-block-icon {
2816 - fill: CanvasText;
2817 - }
2818 -}
2819 2375 .components-placeholder__label:empty {
2820 2376 display: none;
2821 2377 }
2822 2378
@@ -2830,9 +2386,9 @@
2830 2386 justify-content: flex-start;
2831 2387 }
2832 2388 .components-placeholder__fieldset p,
2833 2389 .components-placeholder__fieldset form p {
2834 - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
2390 + font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
2835 2391 font-size: 13px;
2836 2392 }
2837 2393
2838 2394 .components-placeholder__fieldset.is-column-layout,
@@ -2840,23 +2396,17 @@
2840 2396 flex-direction: column;
2841 2397 }
2842 2398
2843 2399 .components-placeholder__input[type=url] {
2844 - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
2400 + font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
2845 2401 padding: 6px 8px;
2846 2402 /* Fonts smaller than 16px causes mobile safari to zoom. */
2847 2403 font-size: 16px;
2848 2404 /* Override core line-height. To be reviewed. */
2849 2405 line-height: normal;
2850 - box-shadow: 0 0 0 transparent;
2851 - border-radius: 2px;
2852 - 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);
2853 2408 }
2854 -@media not (prefers-reduced-motion) {
2855 - .components-placeholder__input[type=url] {
2856 - transition: box-shadow 0.1s linear;
2857 - }
2858 -}
2859 2409 @media (min-width: 600px) {
2860 2410 .components-placeholder__input[type=url] {
2861 2411 font-size: 13px;
2862 2412 /* Override core line-height. To be reviewed. */
@@ -2862,16 +2412,17 @@
2862 2412 /* Override core line-height. To be reviewed. */
2863 2413 line-height: normal;
2864 2414 }
2865 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 +}
2866 2419 .components-placeholder__input[type=url]:focus {
2867 - border-color: var(--wp-admin-theme-color);
2868 - box-shadow: 0 0 0 0.5px var(--wp-admin-theme-color);
2869 - 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;
2870 2424 }
2871 -.components-placeholder__input[type=url]::-moz-placeholder {
2872 - color: rgba(30, 30, 30, 0.62);
2873 -}
2874 2425 .components-placeholder__input[type=url]::placeholder {
2875 2426 color: rgba(30, 30, 30, 0.62);
2876 2427 }
2877 2428 .components-placeholder__input[type=url] {
@@ -3007,9 +2558,8 @@
3007 2558 background: #fff;
3008 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);
3009 2560 border-radius: 4px;
3010 2561 box-sizing: border-box;
3011 - width: -moz-min-content;
3012 2562 width: min-content;
3013 2563 }
3014 2564 .is-alternate .components-popover__content {
3015 2565 box-shadow: 0 0 0 1px #1e1e1e;
@@ -3102,9 +2652,9 @@
3102 2652 .components-radio-control {
3103 2653 border: 0;
3104 2654 margin: 0;
3105 2655 padding: 0;
3106 - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
2656 + font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
3107 2657 font-size: 13px;
3108 2658 }
3109 2659
3110 2660 .components-radio-control__group-wrapper.has-help {
@@ -3114,10 +2664,9 @@
3114 2664 .components-radio-control__option {
3115 2665 display: grid;
3116 2666 grid-template-columns: auto 1fr;
3117 2667 grid-template-rows: auto minmax(0, max-content);
3118 - -moz-column-gap: 8px;
3119 - column-gap: 8px;
2668 + column-gap: 8px;
3120 2669 align-items: center;
3121 2670 }
3122 2671
3123 2672 .components-radio-control__input[type=radio] {
@@ -3175,11 +2724,9 @@
3175 2724 .components-radio-control__input[type=radio] {
3176 2725 display: inline-flex;
3177 2726 margin: 0;
3178 2727 padding: 0;
3179 - -webkit-appearance: none;
3180 - -moz-appearance: none;
3181 - appearance: none;
2728 + appearance: none;
3182 2729 }
3183 2730 .components-radio-control__input[type=radio]:not(:disabled) {
3184 2731 cursor: var(--wpds-cursor-control, pointer);
3185 2732 }
@@ -3208,10 +2755,11 @@
3208 2755
3209 2756 .components-radio-control__label {
3210 2757 grid-column: 2;
3211 2758 grid-row: 1;
2759 + color: var(--wpds-color-foreground-content-neutral, #1e1e1e);
3212 2760 }
3213 -.components-radio-control:not(:disabled) .components-radio-control__label {
2761 +.components-radio-control__input:not(:disabled) + .components-radio-control__label {
3214 2762 cursor: var(--wpds-cursor-control, pointer);
3215 2763 }
3216 2764 .components-radio-control__label {
3217 2765 line-height: 24px;
@@ -3422,9 +2970,9 @@
3422 2970 -webkit-tap-highlight-color: rgba(0, 0, 0, 0) !important;
3423 2971 }
3424 2972
3425 2973 .components-snackbar {
3426 - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
2974 + font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
3427 2975 font-size: 13px;
3428 2976 background: rgba(0, 0, 0, 0.85);
3429 2977 backdrop-filter: blur(16px) saturate(180%);
3430 2978 border-radius: 4px;
@@ -3438,9 +2986,8 @@
3438 2986 pointer-events: auto;
3439 2987 }
3440 2988 @media (min-width: 600px) {
3441 2989 .components-snackbar {
3442 - width: -moz-fit-content;
3443 2990 width: fit-content;
3444 2991 }
3445 2992 }
3446 2993 .components-snackbar:focus {
@@ -3467,14 +3014,10 @@
3467 3014 .components-snackbar__action.components-external-link {
3468 3015 margin-right: 32px;
3469 3016 color: #fff;
3470 3017 flex-shrink: 0;
3018 + --focus-color: #fff;
3471 3019 }
3472 -.components-snackbar__action.components-button:focus,
3473 -.components-snackbar__action.components-external-link:focus {
3474 - box-shadow: none;
3475 - outline: 1px dotted #fff;
3476 -}
3477 3020 .components-snackbar__action.components-button:hover,
3478 3021 .components-snackbar__action.components-external-link:hover {
3479 3022 text-decoration: none;
3480 3023 color: currentColor;
@@ -3514,13 +3057,12 @@
3514 3057 border-radius: 0;
3515 3058 height: 48px !important;
3516 3059 background: transparent;
3517 3060 border: none;
3518 - box-shadow: none;
3519 3061 cursor: var(--wpds-cursor-control, pointer);
3520 3062 padding: 3px var(--wpds-dimension-padding-lg, 16px);
3521 3063 margin-right: 0;
3522 - font-weight: var(--wpds-typography-font-weight-regular, 400);
3064 + font-weight: var(--wpds-typography-font-weight-default, 400);
3523 3065 color: var(--wpds-color-foreground-interactive-neutral, #1e1e1e);
3524 3066 }
3525 3067 .components-tab-panel__tabs-item:disabled, .components-tab-panel__tabs-item[aria-disabled=true] {
3526 3068 color: var(--wpds-color-foreground-interactive-neutral-disabled, #8d8d8d);
@@ -3529,9 +3071,8 @@
3529 3071 color: var(--wpds-color-foreground-interactive-neutral-active, #1e1e1e);
3530 3072 }
3531 3073 .components-tab-panel__tabs-item:focus:not(:disabled) {
3532 3074 position: relative;
3533 - box-shadow: none;
3534 3075 outline: none;
3535 3076 }
3536 3077 .components-tab-panel__tabs-item::after {
3537 3078 content: "";
@@ -3558,19 +3099,14 @@
3558 3099 content: "";
3559 3100 position: absolute;
3560 3101 inset: var(--wpds-dimension-padding-md, 12px);
3561 3102 pointer-events: none;
3562 - box-shadow: 0 0 0 0 transparent;
3563 3103 border-radius: var(--wpds-border-radius-sm, 2px);
3564 3104 }
3565 -@media not (prefers-reduced-motion) {
3566 - .components-tab-panel__tabs-item::before {
3567 - transition: box-shadow 0.1s linear;
3568 - }
3569 -}
3570 3105 .components-tab-panel__tabs-item:focus-visible::before {
3571 - 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));
3572 - 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;
3573 3109 }
3574 3110 .components-tab-panel__tabs[aria-orientation=vertical] .components-tab-panel__tabs-item {
3575 3111 border-radius: var(--wpds-border-radius-sm, 2px);
3576 3112 }
@@ -3581,14 +3117,13 @@
3581 3117 background: var(--wpds-color-background-interactive-neutral-weak-active, #ededed);
3582 3118 }
3583 3119
3584 3120 .components-tab-panel__tab-content:focus {
3585 - box-shadow: none;
3586 3121 outline: none;
3587 3122 }
3588 3123 .components-tab-panel__tab-content:focus-visible {
3589 - 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));
3590 - 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));
3591 3126 outline-offset: 0;
3592 3127 }
3593 3128
3594 3129 .components-text-control__input,
@@ -3609,36 +3144,17 @@
3609 3144 height: 40px;
3610 3145 margin: 0;
3611 3146 background: var(--wp-components-color-background, var(--wpds-color-background-surface-neutral-strong, #fff));
3612 3147 color: var(--wp-components-color-foreground, var(--wpds-color-foreground-content-neutral, #1e1e1e));
3613 - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
3148 + font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
3614 3149 padding: 6px 8px;
3615 3150 /* Fonts smaller than 16px causes mobile safari to zoom. */
3616 3151 font-size: 16px;
3617 3152 /* Override core line-height. To be reviewed. */
3618 3153 line-height: normal;
3619 - box-shadow: 0 0 0 transparent;
3620 - border-radius: 2px;
3621 - 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);
3622 3156 }
3623 -@media not (prefers-reduced-motion) {
3624 - .components-text-control__input,
3625 - .components-text-control__input[type=text],
3626 - .components-text-control__input[type=tel],
3627 - .components-text-control__input[type=time],
3628 - .components-text-control__input[type=url],
3629 - .components-text-control__input[type=week],
3630 - .components-text-control__input[type=password],
3631 - .components-text-control__input[type=color],
3632 - .components-text-control__input[type=date],
3633 - .components-text-control__input[type=datetime],
3634 - .components-text-control__input[type=datetime-local],
3635 - .components-text-control__input[type=email],
3636 - .components-text-control__input[type=month],
3637 - .components-text-control__input[type=number] {
3638 - transition: box-shadow 0.1s linear;
3639 - }
3640 -}
3641 3157 @media (min-width: 600px) {
3642 3158 .components-text-control__input,
3643 3159 .components-text-control__input[type=text],
3644 3160 .components-text-control__input[type=tel],
@@ -3657,8 +3173,24 @@
3657 3173 /* Override core line-height. To be reviewed. */
3658 3174 line-height: normal;
3659 3175 }
3660 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 +}
3661 3193 .components-text-control__input:focus,
3662 3194 .components-text-control__input[type=text]:focus,
3663 3195 .components-text-control__input[type=tel]:focus,
3664 3196 .components-text-control__input[type=time]:focus,
@@ -3671,15 +3203,13 @@
3671 3203 .components-text-control__input[type=datetime-local]:focus,
3672 3204 .components-text-control__input[type=email]:focus,
3673 3205 .components-text-control__input[type=month]:focus,
3674 3206 .components-text-control__input[type=number]:focus {
3675 - border-color: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
3676 - box-shadow: 0 0 0 0.5px var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
3677 - 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;
3678 3211 }
3679 -.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 {
3680 - color: rgba(30, 30, 30, 0.62);
3681 -}
3682 3212 .components-text-control__input::placeholder,
3683 3213 .components-text-control__input[type=text]::placeholder,
3684 3214 .components-text-control__input[type=tel]::placeholder,
3685 3215 .components-text-control__input[type=time]::placeholder,
@@ -3708,15 +3238,11 @@
3708 3238 .components-text-control__input[type=datetime-local],
3709 3239 .components-text-control__input[type=email],
3710 3240 .components-text-control__input[type=month],
3711 3241 .components-text-control__input[type=number] {
3712 - border-color: var(--wp-components-color-gray-600, var(--wpds-color-stroke-interactive-neutral, #8d8d8d));
3713 3242 padding-right: 12px;
3714 3243 padding-left: 12px;
3715 3244 }
3716 -.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 {
3717 - color: color-mix(in srgb, var(--wp-components-color-foreground, var(--wpds-color-foreground-content-neutral, #1e1e1e)), transparent 38%);
3718 -}
3719 3245 .components-text-control__input::placeholder,
3720 3246 .components-text-control__input[type=text]::placeholder,
3721 3247 .components-text-control__input[type=tel]::placeholder,
3722 3248 .components-text-control__input[type=time]::placeholder,
@@ -3743,9 +3269,9 @@
3743 3269 color: #757575;
3744 3270 }
3745 3271 .components-tip svg {
3746 3272 align-self: center;
3747 - fill: #f0b849;
3273 + color: #f0b849;
3748 3274 flex-shrink: 0;
3749 3275 margin-left: 16px;
3750 3276 }
3751 3277 .components-tip p {
@@ -3753,8 +3279,9 @@
3753 3279 }
3754 3280
3755 3281 .components-toggle-control__label {
3756 3282 line-height: 16px;
3283 + color: var(--wpds-color-foreground-content-neutral, #1e1e1e);
3757 3284 }
3758 3285 .components-toggle-control__label:not(.is-disabled) {
3759 3286 cursor: var(--wpds-cursor-control, pointer);
3760 3287 }
@@ -3862,11 +3389,11 @@
3862 3389 padding: 5px 0 5px 10px;
3863 3390 }
3864 3391 .components-toolbar__control.components-button[data-subscript]::after {
3865 3392 content: attr(data-subscript);
3866 - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
3393 + font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
3867 3394 font-size: 13px;
3868 - font-weight: 600;
3395 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
3869 3396 line-height: 12px;
3870 3397 position: absolute;
3871 3398 left: 8px;
3872 3399 bottom: 10px;
@@ -3945,9 +3472,9 @@
3945 3472 }
3946 3473
3947 3474 .components-tooltip {
3948 3475 background: #000;
3949 - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
3476 + font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
3950 3477 border-radius: var(--wpds-border-radius-md, 4px);
3951 3478 color: #f0f0f0;
3952 3479 text-align: center;
3953 3480 line-height: 1.4;
@@ -3960,36 +3487,19 @@
3960 3487 .components-tooltip__shortcut {
3961 3488 margin-right: 8px;
3962 3489 }
3963 3490
3964 -.components-validated-control:has(:is(input, select):invalid[data-validity-visible]) .components-input-control__backdrop {
3965 - --wp-components-color-accent: #cc1818;
3966 - 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);
3967 3493 }
3968 -.components-validated-control :is(textarea, input[type=text]):invalid[data-validity-visible] {
3969 - --wp-admin-theme-color: #cc1818;
3970 - --wp-components-color-accent: #cc1818;
3971 - 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);
3972 3497 }
3973 -.components-validated-control .components-combobox-control__suggestions-container:has(input:invalid[data-validity-visible]):not(:has([aria-expanded=true])) {
3974 - --wp-components-color-accent: #cc1818;
3975 -}
3976 3498
3977 3499 .components-validated-control__wrapper-with-error-delegate {
3978 3500 position: relative;
3979 3501 }
3980 -.components-validated-control__wrapper-with-error-delegate:has(select:invalid[data-validity-visible]) .components-input-control__backdrop {
3981 - --wp-components-color-accent: #cc1818;
3982 - border-color: #cc1818;
3983 -}
3984 -.components-validated-control__wrapper-with-error-delegate:has(input[type=radio]:invalid[data-validity-visible]) {
3985 - --wp-components-color-accent: #cc1818;
3986 -}
3987 -.components-validated-control__wrapper-with-error-delegate:has(input:invalid[data-validity-visible]) .components-form-token-field__input-container:not(:has([aria-expanded=true])) {
3988 - --wp-components-color-accent: #cc1818;
3989 - border-color: #cc1818;
3990 -}
3991 -
3992 3502 .components-validated-control__error-delegate {
3993 3503 position: absolute;
3994 3504 top: 0;
3995 3505 height: 100%;
@@ -3997,46 +3507,8 @@
3997 3507 opacity: 0;
3998 3508 pointer-events: none;
3999 3509 }
4000 3510
4001 -.components-validated-control__indicator {
4002 - display: flex;
4003 - align-items: flex-start;
4004 - gap: 4px;
4005 - margin: 8px 0 0;
4006 - font-family: -apple-system, "system-ui", "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
4007 - font-size: 12px;
4008 - line-height: 16px;
4009 - color: var(--wp-components-color-gray-700, var(--wpds-color-foreground-content-neutral-weak, #707070));
4010 - animation: components-validated-control__indicator-jump 0.2s cubic-bezier(0.68, -0.55, 0.27, 1.55);
4011 -}
4012 -.components-validated-control__indicator.is-invalid {
4013 - color: #cc1818;
4014 -}
4015 -.components-validated-control__indicator.is-valid {
4016 - color: color-mix(in srgb, #000 30%, #4ab866);
4017 -}
4018 -
4019 -.components-validated-control__indicator-icon {
4020 - flex-shrink: 0;
4021 -}
4022 -
4023 -.components-validated-control__indicator-spinner {
4024 - margin: 2px;
4025 - width: 12px;
4026 - height: 12px;
4027 -}
4028 -
4029 -@keyframes components-validated-control__indicator-jump {
4030 - 0% {
4031 - transform: translateY(-4px);
4032 - opacity: 0;
4033 - }
4034 - 100% {
4035 - transform: translateY(0);
4036 - opacity: 1;
4037 - }
4038 -}
4039 3511 :root {
4040 3512 --wp-admin-theme-color: #3858e9;
4041 3513 --wp-admin-theme-color--rgb: 56, 88, 233;
4042 3514 --wp-admin-theme-color-darker-10: rgb(33.0384615385, 68.7307692308, 230.4615384615);