| [ Index ] |
PHP Cross Reference of WordPress Trunk (Updated Daily) |
[Summary view] [Print] [Text view]
1 @charset "UTF-8"; 2 /** 3 * Typography 4 */ 5 /** 6 * SCSS Variables. 7 * 8 * Please use variables from this sheet to ensure consistency across the UI. 9 * Don't add to this sheet unless you're pretty sure the value will be reused in many places. 10 * For example, don't add rules to this sheet that affect block visuals. It's purely for UI. 11 */ 12 /** 13 * Colors 14 */ 15 /** 16 * Fonts & basic variables. 17 */ 18 /** 19 * Typography 20 */ 21 /** 22 * Grid System. 23 * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/ 24 */ 25 /** 26 * Radius scale. 27 */ 28 /** 29 * Elevation scale. 30 */ 31 /** 32 * Dimensions. 33 */ 34 /** 35 * Mobile specific styles 36 */ 37 /** 38 * Editor styles. 39 */ 40 /** 41 * Block & Editor UI. 42 */ 43 /** 44 * Block paddings. 45 */ 46 /** 47 * React Native specific. 48 * These variables do not appear to be used anywhere else. 49 */ 50 /** 51 * Breakpoints & Media Queries 52 */ 53 /** 54 * Converts a hex value into the rgb equivalent. 55 * 56 * @param {string} hex - the hexadecimal value to convert 57 * @return {string} comma separated rgb values 58 */ 59 /** 60 * Long content fade mixin 61 * 62 * Creates a fading overlay to signify that the content is longer 63 * than the space allows. 64 */ 65 /** 66 * Breakpoint mixins 67 */ 68 /** 69 * Focus styles. 70 */ 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 /** 78 * Applies editor left position to the selector passed as argument 79 */ 80 /** 81 * Styles that are reused verbatim in a few places 82 */ 83 /** 84 * Allows users to opt-out of animations via OS-level preferences. 85 */ 86 /** 87 * Reset default styles for JavaScript UI based pages. 88 * This is a WP-admin agnostic reset 89 */ 90 /** 91 * Reset the WP Admin page styles for Gutenberg-like pages. 92 */ 93 /** 94 * Creates a checkerboard pattern background to indicate transparency. 95 * @param {String} $size - The size of the squares in the checkerboard pattern. Default is 12px. 96 */ 97 @media not (prefers-reduced-motion) { 98 .components-animate__appear { 99 animation: components-animate__appear-animation 0.1s cubic-bezier(0, 0, 0.2, 1) 0s; 100 animation-fill-mode: forwards; 101 } 102 } 103 .components-animate__appear.is-from-top, .components-animate__appear.is-from-top.is-from-left { 104 transform-origin: top right; 105 } 106 .components-animate__appear.is-from-top.is-from-right { 107 transform-origin: top left; 108 } 109 .components-animate__appear.is-from-bottom, .components-animate__appear.is-from-bottom.is-from-left { 110 transform-origin: bottom right; 111 } 112 .components-animate__appear.is-from-bottom.is-from-right { 113 transform-origin: bottom left; 114 } 115 116 @keyframes components-animate__appear-animation { 117 from { 118 transform: translateY(-2em) scaleY(0) scaleX(0); 119 } 120 to { 121 transform: translateY(0%) scaleY(1) scaleX(1); 122 } 123 } 124 @media not (prefers-reduced-motion) { 125 .components-animate__slide-in { 126 animation: components-animate__slide-in-animation 0.1s cubic-bezier(0, 0, 0.2, 1); 127 animation-fill-mode: forwards; 128 } 129 .components-animate__slide-in.is-from-left { 130 transform: translateX(-100%); 131 } 132 .components-animate__slide-in.is-from-right { 133 transform: translateX(100%); 134 } 135 } 136 137 @keyframes components-animate__slide-in-animation { 138 100% { 139 transform: translateX(0%); 140 } 141 } 142 @media not (prefers-reduced-motion) { 143 .components-animate__loading { 144 animation: components-animate__loading 1.6s ease-in-out infinite; 145 } 146 } 147 148 @keyframes components-animate__loading { 149 0% { 150 opacity: 0.5; 151 } 152 50% { 153 opacity: 1; 154 } 155 100% { 156 opacity: 0.5; 157 } 158 } 159 .components-autocomplete__popover .components-popover__content { 160 padding: 8px; 161 min-width: 200px; 162 } 163 164 .components-autocomplete__result.components-button { 165 display: flex; 166 height: auto; 167 min-height: 36px; 168 text-align: right; 169 width: 100%; 170 font-weight: var(--wpds-typography-font-weight-default, 400); 171 } 172 .components-autocomplete__result.components-button:focus:not(:disabled) { 173 box-shadow: inset 0 0 0 1px #fff, 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color); 174 outline: 2px solid transparent; 175 } 176 177 .components-badge { 178 box-sizing: border-box; 179 } 180 .components-badge *, 181 .components-badge *::before, 182 .components-badge *::after { 183 box-sizing: inherit; 184 } 185 .components-badge { 186 background-color: color-mix(in srgb, #fff 90%, var(--base-color)); 187 color: color-mix(in srgb, #000 50%, var(--base-color)); 188 padding: 2px 8px; 189 min-height: 24px; 190 border-radius: 2px; 191 line-height: 0; 192 max-width: 100%; 193 display: inline-block; 194 } 195 .components-badge:where(.is-default) { 196 background-color: #f0f0f0; 197 color: #2f2f2f; 198 } 199 .components-badge.has-icon { 200 padding-inline-start: 4px; 201 } 202 .components-badge.is-info { 203 --base-color: #3858e9; 204 } 205 .components-badge.is-warning { 206 --base-color: #f0b849; 207 } 208 .components-badge.is-error { 209 --base-color: #cc1818; 210 } 211 .components-badge.is-success { 212 --base-color: #4ab866; 213 } 214 215 .components-badge__flex-wrapper { 216 display: inline-flex; 217 align-items: center; 218 gap: 2px; 219 max-width: 100%; 220 font-size: 12px; 221 font-weight: 400; 222 line-height: 20px; 223 } 224 225 .components-badge__icon { 226 flex-shrink: 0; 227 } 228 229 .components-badge__content { 230 overflow: hidden; 231 white-space: nowrap; 232 text-overflow: ellipsis; 233 } 234 235 .components-button-group { 236 display: inline-block; 237 } 238 .components-button-group .components-button { 239 border-radius: 0; 240 display: inline-flex; 241 color: #1e1e1e; 242 border-color: #1e1e1e; 243 } 244 .components-button-group .components-button + .components-button { 245 margin-right: -1px; 246 } 247 .components-button-group .components-button:first-child { 248 border-radius: 0 2px 2px 0; 249 } 250 .components-button-group .components-button:last-child { 251 border-radius: 2px 0 0 2px; 252 } 253 .components-button-group .components-button:focus, .components-button-group .components-button.is-primary { 254 position: relative; 255 z-index: 1; 256 } 257 258 /** 259 * For easier testing of potential regressions, you can use a Button variant matrix 260 * available in a special Storybook instance by running `npm run storybook:e2e:dev`. 261 * 262 * @see https://github.com/WordPress/gutenberg/blob/trunk/test/storybook-playwright/README.md 263 */ 264 .components-button:focus:is(a) { 265 box-shadow: none; 266 } 267 .components-button:focus { 268 outline: none; 269 } 270 .components-button:focus:not(:active) { 271 outline: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)) solid var(--wpds-color-stroke-focus, var(--wp-admin-theme-color, #3858e9)); 272 outline-offset: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)); 273 } 274 .components-button { 275 display: inline-flex; 276 text-decoration: none; 277 font-family: inherit; 278 font-size: 13px; 279 font-weight: var(--wpds-typography-font-weight-emphasis, 600); 280 margin: 0; 281 cursor: var(--wpds-cursor-control, pointer); 282 -webkit-appearance: none; 283 -moz-appearance: none; 284 appearance: none; 285 background: none; 286 height: 36px; 287 align-items: center; 288 box-sizing: border-box; 289 padding: 4px 12px; 290 border-radius: 2px; 291 color: var(--wp-components-color-foreground, var(--wpds-color-foreground-content-neutral, #1e1e1e)); 292 border: 1px solid transparent; 293 } 294 .components-button.is-next-40px-default-size { 295 height: 40px; 296 } 297 .components-button[aria-expanded=true], .components-button:hover:not(:disabled, [aria-disabled=true]) { 298 color: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)); 299 } 300 .components-button { 301 /** 302 * Primary button style. 303 */ 304 } 305 .components-button.is-primary { 306 white-space: nowrap; 307 background: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)); 308 color: var(--wp-components-color-accent-inverted, var(--wpds-color-foreground-interactive-brand-strong, #fff)); 309 text-decoration: none; 310 text-shadow: none; 311 } 312 .components-button.is-primary:hover:not(:disabled) { 313 background: var(--wp-components-color-accent-darker-10, var(--wp-admin-theme-color-darker-10, #2145e6)); 314 color: var(--wp-components-color-accent-inverted, var(--wpds-color-foreground-interactive-brand-strong, #fff)); 315 } 316 .components-button.is-primary:active:not(:disabled) { 317 background: var(--wp-components-color-accent-darker-20, var(--wp-admin-theme-color-darker-20, #183ad6)); 318 color: var(--wp-components-color-accent-inverted, var(--wpds-color-foreground-interactive-brand-strong, #fff)); 319 } 320 .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 { 321 color: rgba(255, 255, 255, 0.4); 322 background: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)); 323 } 324 .components-button.is-primary.is-busy, .components-button.is-primary.is-busy:disabled, .components-button.is-primary.is-busy[aria-disabled=true] { 325 color: var(--wp-components-color-accent-inverted, var(--wpds-color-foreground-interactive-brand-strong, #fff)); 326 background-size: 100px 100%; 327 /* stylelint-disable -- Disable reason: This function call looks nicer when each argument is on its own line. */ 328 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%); 329 /* stylelint-enable */ 330 } 331 .components-button { 332 /** 333 * Secondary and tertiary buttons. 334 */ 335 } 336 .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 { 337 color: #949494; 338 background: transparent; 339 transform: none; 340 } 341 .components-button { 342 /** 343 * Secondary button style. 344 */ 345 } 346 @media not (prefers-reduced-motion) { 347 .components-button.is-secondary { 348 transition: border-color 0.1s linear; 349 } 350 } 351 .components-button.is-secondary { 352 border-color: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)); 353 white-space: nowrap; 354 color: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)); 355 background: transparent; 356 } 357 .components-button.is-secondary:active:not(:disabled) { 358 border-color: transparent; 359 } 360 .components-button.is-secondary:hover:not(:disabled, [aria-disabled=true], .is-pressed) { 361 border-color: var(--wp-components-color-accent-darker-20, var(--wp-admin-theme-color-darker-20, #183ad6)); 362 color: var(--wp-components-color-accent-darker-20, var(--wp-admin-theme-color-darker-20, #183ad6)); 363 background: color-mix(in srgb, var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)) 4%, transparent); 364 } 365 .components-button.is-secondary:focus:not(:active) { 366 border-color: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)); 367 } 368 .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) { 369 border-color: var(--wpds-color-stroke-interactive-neutral-disabled, #dbdbdb); 370 } 371 .components-button { 372 /** 373 * Tertiary buttons. 374 */ 375 } 376 .components-button.is-tertiary { 377 white-space: nowrap; 378 color: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)); 379 background: transparent; 380 } 381 .components-button.is-tertiary:hover:not(:disabled, [aria-disabled=true], .is-pressed) { 382 background: color-mix(in srgb, var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)) 4%, transparent); 383 color: var(--wp-components-color-accent-darker-20, var(--wp-admin-theme-color-darker-20, #183ad6)); 384 } 385 .components-button.is-tertiary:active:not(:disabled, [aria-disabled=true]) { 386 background: color-mix(in srgb, var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)) 8%, transparent); 387 } 388 p + .components-button.is-tertiary { 389 margin-right: -6px; 390 } 391 .components-button { 392 /** 393 * Destructive buttons. 394 */ 395 } 396 .components-button.is-destructive { 397 --wp-components-color-accent: #cc1818; 398 --wp-components-color-accent-darker-10: rgb(158.3684210526, 18.6315789474, 18.6315789474); 399 --wp-components-color-accent-darker-20: rgb(112.7368421053, 13.2631578947, 13.2631578947); 400 } 401 .components-button.is-destructive:not(.is-primary):not(.is-secondary):not(.is-tertiary):not(.is-link) { 402 color: #cc1818; 403 } 404 .components-button.is-destructive:not(.is-primary):not(.is-secondary):not(.is-tertiary):not(.is-link):hover:not(:disabled, [aria-disabled=true]) { 405 color: rgb(112.7368421053, 13.2631578947, 13.2631578947); 406 } 407 .components-button.is-destructive:not(.is-primary):not(.is-secondary):not(.is-tertiary):not(.is-link):active:not(:disabled, [aria-disabled=true]) { 408 background: #ccc; 409 } 410 .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] { 411 color: #949494; 412 } 413 .components-button.is-destructive.is-tertiary:hover:not(:disabled, [aria-disabled=true]), .components-button.is-destructive.is-secondary:hover:not(:disabled, [aria-disabled=true]) { 414 background: rgba(204, 24, 24, 0.04); 415 } 416 .components-button.is-destructive.is-tertiary:active:not(:disabled, [aria-disabled=true]), .components-button.is-destructive.is-secondary:active:not(:disabled, [aria-disabled=true]) { 417 background: rgba(204, 24, 24, 0.08); 418 } 419 .components-button { 420 /** 421 * Link buttons. 422 */ 423 } 424 .components-button.is-link { 425 margin: 0; 426 padding: 0; 427 border: 0; 428 border-radius: 0; 429 background: none; 430 outline: none; 431 text-align: right; 432 font-weight: var(--wpds-typography-font-weight-default, 400); 433 color: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)); 434 text-decoration: underline; 435 text-underline-offset: 0.2em; 436 text-decoration-thickness: from-font; 437 } 438 @media not (prefers-reduced-motion) { 439 .components-button.is-link { 440 transition-property: border, background, color; 441 transition-duration: 0.05s; 442 transition-timing-function: ease-in-out; 443 } 444 } 445 .components-button.is-link { 446 height: auto; 447 } 448 .components-button.is-link:focus:not(:active) { 449 border-radius: 2px; 450 text-decoration: none; 451 } 452 .components-button.is-link:disabled, .components-button.is-link[aria-disabled=true] { 453 color: #949494; 454 } 455 .components-button:not(:disabled, [aria-disabled=true]):active { 456 color: var(--wp-components-color-foreground, var(--wpds-color-foreground-content-neutral, #1e1e1e)); 457 } 458 .components-button:disabled, .components-button[aria-disabled=true] { 459 cursor: default; 460 color: #949494; 461 } 462 @media not (prefers-reduced-motion) { 463 .components-button.is-busy, .components-button.is-secondary.is-busy, .components-button.is-secondary.is-busy:disabled, .components-button.is-secondary.is-busy[aria-disabled=true] { 464 animation: components-button__busy-animation 2500ms infinite linear; 465 } 466 } 467 .components-button.is-busy, .components-button.is-secondary.is-busy, .components-button.is-secondary.is-busy:disabled, .components-button.is-secondary.is-busy[aria-disabled=true] { 468 background-size: 100px 100%; 469 /* stylelint-disable -- Disable reason: This function call looks nicer when each argument is on its own line. */ 470 background-image: linear-gradient(45deg, rgb(249.9, 249.9, 249.9) 33%, rgb(224.4, 224.4, 224.4) 33%, rgb(224.4, 224.4, 224.4) 70%, rgb(249.9, 249.9, 249.9) 70%); 471 /* stylelint-enable */ 472 } 473 .components-button.is-compact { 474 height: 32px; 475 } 476 .components-button.is-compact.has-icon:not(.has-text) { 477 padding: 0; 478 min-width: 32px; 479 } 480 .components-button.is-small { 481 height: var(--wpds-dimension-size-sm, 24px); 482 line-height: 22px; 483 padding: 0 8px; 484 font-size: 11px; 485 } 486 .components-button.is-small.has-icon:not(.has-text) { 487 padding: 0; 488 min-width: var(--wpds-dimension-size-sm, 24px); 489 } 490 .components-button.has-icon { 491 padding: 6px; 492 min-width: 36px; 493 justify-content: center; 494 } 495 .components-button.has-icon.is-next-40px-default-size { 496 min-width: 40px; 497 } 498 .components-button.has-icon .dashicon { 499 display: inline-flex; 500 justify-content: center; 501 align-items: center; 502 padding: 2px; 503 box-sizing: content-box; 504 } 505 .components-button.has-icon.has-text { 506 justify-content: start; 507 padding-left: 12px; 508 padding-right: 8px; 509 gap: 4px; 510 } 511 .components-button.has-icon.has-text.has-icon-right { 512 padding-left: 8px; 513 padding-right: 12px; 514 } 515 .components-button.has-icon:not(.has-text) svg, 516 .components-button.has-icon:not(.has-text) .dashicon { 517 margin-inline: -1px; 518 } 519 .components-button.is-pressed, .components-button.is-pressed:hover { 520 color: var(--wp-components-color-foreground-inverted, var(--wpds-color-background-surface-neutral, #fcfcfc)); 521 } 522 .components-button.is-pressed:not(:disabled, [aria-disabled=true]), .components-button.is-pressed:hover:not(:disabled, [aria-disabled=true]) { 523 background: var(--wp-components-color-foreground, var(--wpds-color-foreground-content-neutral, #1e1e1e)); 524 } 525 .components-button.is-pressed:disabled, .components-button.is-pressed[aria-disabled=true] { 526 color: #949494; 527 } 528 .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) { 529 color: var(--wp-components-color-foreground-inverted, var(--wpds-color-background-surface-neutral, #fcfcfc)); 530 background: #949494; 531 } 532 .components-button svg { 533 fill: currentColor; 534 outline: none; 535 flex-shrink: 0; 536 } 537 @media (forced-colors: active) { 538 .components-button svg { 539 fill: CanvasText; 540 } 541 } 542 543 @keyframes components-button__busy-animation { 544 0% { 545 background-position: right 200px top 0; 546 } 547 } 548 /* Root of the component. */ 549 .components-calendar { 550 position: relative; /* Required to position the navigation toolbar. */ 551 box-sizing: border-box; 552 display: inline flow-root; 553 color: var(--wp-components-color-foreground, var(--wpds-color-foreground-content-neutral, #1e1e1e)); 554 background-color: var(--wp-components-color-background, var(--wpds-color-background-surface-neutral-strong, #fff)); 555 font-size: 13px; 556 font-weight: var(--wpds-typography-font-weight-default, 400); 557 z-index: 0; 558 } 559 .components-calendar *, 560 .components-calendar *::before, 561 .components-calendar *::after { 562 box-sizing: border-box; 563 } 564 565 .components-calendar__day { 566 padding: 0; 567 position: relative; 568 } 569 .components-calendar__day:has(.components-calendar__day-button:disabled) { 570 color: var(--wp-components-color-gray-400, var(--wpds-color-stroke-interactive-neutral, #8d8d8d)); 571 } 572 .components-calendar__day:has(.components-calendar__day-button:hover:not(:disabled)), .components-calendar__day:has(.components-calendar__day-button:focus-visible) { 573 color: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)); 574 } 575 576 .components-calendar__day-button { 577 background: none; 578 padding: 0; 579 margin: 0; 580 cursor: var(--wpds-cursor-control, pointer); 581 justify-content: center; 582 align-items: center; 583 display: flex; 584 position: relative; 585 width: 32px; 586 height: 32px; 587 border: none; 588 border-radius: 2px; 589 font: inherit; 590 font-variant-numeric: tabular-nums; 591 color: inherit; 592 } 593 .components-calendar__day-button::before { 594 content: ""; 595 position: absolute; 596 z-index: -1; 597 inset: 0; 598 border: none; 599 border-radius: 2px; 600 } 601 .components-calendar__day-button::after { 602 content: ""; 603 position: absolute; 604 z-index: 1; 605 inset: 0; 606 pointer-events: none; 607 } 608 .components-calendar__day-button:disabled { 609 cursor: revert; 610 } 611 @media (forced-colors: active) { 612 .components-calendar__day-button:disabled { 613 text-decoration: line-through; 614 } 615 } 616 .components-calendar__day-button:focus-visible { 617 outline: var(--wp-admin-border-width-focus) solid var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)); 618 outline-offset: 1px; 619 } 620 621 .components-calendar__caption-label { 622 z-index: 1; 623 position: relative; 624 display: inline-flex; 625 align-items: center; 626 white-space: nowrap; 627 border: 0; 628 text-transform: capitalize; 629 } 630 631 .components-calendar__button-next, 632 .components-calendar__button-previous { 633 border: none; 634 border-radius: 2px; 635 background: none; 636 padding: 0; 637 margin: 0; 638 cursor: var(--wpds-cursor-control, pointer); 639 -webkit-appearance: none; 640 -moz-appearance: none; 641 appearance: none; 642 display: inline-flex; 643 align-items: center; 644 justify-content: center; 645 position: relative; 646 width: 32px; 647 height: 32px; 648 color: inherit; 649 } 650 .components-calendar__button-next:disabled, .components-calendar__button-next[aria-disabled=true], 651 .components-calendar__button-previous:disabled, 652 .components-calendar__button-previous[aria-disabled=true] { 653 cursor: revert; 654 color: var(--wp-components-color-gray-600, var(--wpds-color-stroke-interactive-neutral, #8d8d8d)); 655 } 656 .components-calendar__button-next:focus-visible, 657 .components-calendar__button-previous:focus-visible { 658 outline: var(--wp-admin-border-width-focus) solid var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)); 659 } 660 661 .components-calendar__chevron { 662 display: inline-block; 663 fill: currentColor; 664 width: 16px; 665 height: 16px; 666 } 667 668 .components-calendar[dir=rtl] .components-calendar__nav .components-calendar__chevron { 669 transform: rotate(-180deg); 670 transform-origin: 50%; 671 } 672 673 .components-calendar__month-caption { 674 display: flex; 675 justify-content: center; 676 align-content: center; 677 height: 32px; 678 margin-bottom: 12px; 679 } 680 681 .components-calendar__months { 682 position: relative; 683 display: flex; 684 justify-content: center; 685 flex-wrap: wrap; 686 gap: 16px; 687 max-width: -moz-fit-content; 688 max-width: fit-content; 689 } 690 691 .components-calendar__month-grid { 692 border-collapse: separate; 693 border-spacing: 0 4px; 694 } 695 696 .components-calendar__nav { 697 position: absolute; 698 inset-block-start: 0; 699 inset-inline-start: 0; 700 inset-inline-end: 0; 701 display: flex; 702 align-items: center; 703 justify-content: space-between; 704 height: 32px; 705 } 706 707 .components-calendar__weekday { 708 width: 32px; 709 height: 32px; 710 padding: 0; 711 color: var(--wp-components-color-gray-700, var(--wpds-color-foreground-content-neutral-weak, #707070)); 712 text-align: center; 713 text-transform: uppercase; 714 } 715 716 /* DAY MODIFIERS */ 717 .components-calendar__day--today::after { 718 content: ""; 719 position: absolute; 720 z-index: 1; 721 inset-block-start: 2px; 722 inset-inline-end: 2px; 723 width: 0; 724 height: 0; 725 border-radius: 50%; 726 border: 2px solid currentColor; 727 } 728 729 .components-calendar__day--selected:not(.components-calendar__range-middle):has(.components-calendar__day-button, 730 .components-calendar__day-button:hover:not(:disabled)) { 731 color: var(--wp-components-color-foreground-inverted, var(--wpds-color-background-surface-neutral, #fcfcfc)); 732 } 733 .components-calendar__day--selected:not(.components-calendar__range-middle) .components-calendar__day-button::before { 734 background-color: var(--wp-components-color-foreground, var(--wpds-color-foreground-content-neutral, #1e1e1e)); 735 border: 1px solid transparent; 736 } 737 .components-calendar__day--selected:not(.components-calendar__range-middle) .components-calendar__day-button:disabled::before { 738 background-color: var(--wp-components-color-gray-400, var(--wpds-color-stroke-interactive-neutral, #8d8d8d)); 739 } 740 .components-calendar__day--selected:not(.components-calendar__range-middle) .components-calendar__day-button:hover:not(:disabled)::before { 741 background-color: var(--wp-components-color-gray-800, var(--wpds-color-foreground-content-neutral, #1e1e1e)); 742 } 743 744 .components-calendar__day--outside { 745 color: var(--wp-components-color-gray-600, var(--wpds-color-stroke-interactive-neutral, #8d8d8d)); 746 } 747 748 .components-calendar__day--hidden { 749 visibility: hidden; 750 } 751 752 .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 { 753 border-start-end-radius: 0; 754 border-end-end-radius: 0; 755 } 756 757 .components-calendar__range-middle .components-calendar__day-button::before { 758 background-color: color-mix(in srgb, var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)) 4%, transparent); 759 border-radius: 0; 760 border-width: 1px 0; 761 border-color: transparent; 762 border-style: solid; 763 } 764 765 .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 { 766 border-start-start-radius: 0; 767 border-end-start-radius: 0; 768 } 769 770 /* 771 * RANGE PREVIEW (range calendar only) 772 * 773 * The preview is rendered in the button's ::after pseudo-element, so that it 774 * can be rendered over the button's contents. 775 * The selection preview is shown with a dashed border. In order to have 776 * control over the dash pattern (especially the seams between days), the 777 * dashed borders are rendered as SVGs via the url() CSS function. 778 * Since SVGs rendered in the url() function don't seem to be able to access 779 * CSS variables, we're using the SVGs as masks, and using `background-color` 780 * to consume the accent color variable. 781 */ 782 .components-calendar__day--preview svg { 783 position: absolute; 784 inset: 0; 785 pointer-events: none; 786 color: color-mix(in srgb, var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)) 16%, transparent); 787 } 788 @media (forced-colors: active) { 789 .components-calendar__day--preview svg { 790 color: inherit; 791 } 792 } 793 .components-calendar[dir=rtl] .components-calendar__day--preview svg { 794 transform: scaleX(-1); 795 } 796 797 .components-calendar__day--preview.components-calendar__range-middle .components-calendar__day-button::before { 798 border: none; 799 } 800 801 /* ANIMATIONS */ 802 @keyframes slide-in-left { 803 0% { 804 transform: translateX(100%); 805 } 806 100% { 807 transform: translateX(0); 808 } 809 } 810 @keyframes slide-in-right { 811 0% { 812 transform: translateX(-100%); 813 } 814 100% { 815 transform: translateX(0); 816 } 817 } 818 @keyframes slide-out-left { 819 0% { 820 transform: translateX(0); 821 } 822 100% { 823 transform: translateX(100%); 824 } 825 } 826 @keyframes slide-out-right { 827 0% { 828 transform: translateX(0); 829 } 830 100% { 831 transform: translateX(-100%); 832 } 833 } 834 @keyframes fade-in { 835 from { 836 opacity: 0; 837 } 838 to { 839 opacity: 1; 840 } 841 } 842 @keyframes fade-out { 843 from { 844 opacity: 1; 845 } 846 to { 847 opacity: 0; 848 } 849 } 850 .components-calendar__weeks-before-enter, 851 .components-calendar__weeks-before-exit, 852 .components-calendar__weeks-after-enter, 853 .components-calendar__weeks-after-exit, 854 .components-calendar__caption-after-enter, 855 .components-calendar__caption-after-exit, 856 .components-calendar__caption-before-enter, 857 .components-calendar__caption-before-exit { 858 animation-duration: 0s; 859 animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1); 860 animation-fill-mode: forwards; 861 } 862 @media not (prefers-reduced-motion) { 863 .components-calendar__weeks-before-enter, 864 .components-calendar__weeks-before-exit, 865 .components-calendar__weeks-after-enter, 866 .components-calendar__weeks-after-exit, 867 .components-calendar__caption-after-enter, 868 .components-calendar__caption-after-exit, 869 .components-calendar__caption-before-enter, 870 .components-calendar__caption-before-exit { 871 animation-duration: 0.3s; 872 } 873 } 874 875 .components-calendar__weeks-before-enter, 876 .components-calendar[dir=rtl] .components-calendar__weeks-after-enter { 877 animation-name: slide-in-left; 878 } 879 880 .components-calendar__weeks-before-exit, 881 .components-calendar[dir=rtl] .components-calendar__weeks-after-exit { 882 animation-name: slide-out-left; 883 } 884 885 .components-calendar__weeks-after-enter, 886 .components-calendar[dir=rtl] .components-calendar__weeks-before-enter { 887 animation-name: slide-in-right; 888 } 889 890 .components-calendar__weeks-after-exit, 891 .components-calendar[dir=rtl] .components-calendar__weeks-before-exit { 892 animation-name: slide-out-right; 893 } 894 895 .components-calendar__caption-after-enter { 896 animation-name: fade-in; 897 } 898 899 .components-calendar__caption-after-exit { 900 animation-name: fade-out; 901 } 902 903 .components-calendar__caption-before-enter { 904 animation-name: fade-in; 905 } 906 907 .components-calendar__caption-before-exit { 908 animation-name: fade-out; 909 } 910 911 .components-checkbox-control { 912 --checkbox-input-size: 24px; 913 } 914 @media (min-width: 600px) { 915 .components-checkbox-control { 916 --checkbox-input-size: 16px; 917 } 918 } 919 .components-checkbox-control { 920 --checkbox-input-margin: 8px; 921 } 922 923 .components-checkbox-control__label { 924 line-height: var(--checkbox-input-size); 925 } 926 .components-checkbox-control:not(:has(:disabled)) .components-checkbox-control__label { 927 cursor: var(--wpds-cursor-control, pointer); 928 } 929 930 .components-checkbox-control__input[type=checkbox] { 931 border: 1px solid #1e1e1e; 932 margin-left: 12px; 933 transition: none; 934 border-radius: 2px; 935 font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; 936 padding: 6px 8px; 937 /* Fonts smaller than 16px causes mobile safari to zoom. */ 938 font-size: 16px; 939 /* Override core line-height. To be reviewed. */ 940 line-height: normal; 941 box-shadow: 0 0 0 transparent; 942 border-radius: 2px; 943 border: 1px solid #949494; 944 } 945 @media not (prefers-reduced-motion) { 946 .components-checkbox-control__input[type=checkbox] { 947 transition: box-shadow 0.1s linear; 948 } 949 } 950 @media (min-width: 600px) { 951 .components-checkbox-control__input[type=checkbox] { 952 font-size: 13px; 953 /* Override core line-height. To be reviewed. */ 954 line-height: normal; 955 } 956 } 957 .components-checkbox-control__input[type=checkbox]:focus { 958 border-color: var(--wp-admin-theme-color); 959 box-shadow: 0 0 0 0.5px var(--wp-admin-theme-color); 960 outline: 2px solid transparent; 961 } 962 .components-checkbox-control__input[type=checkbox]::-moz-placeholder { 963 color: rgba(30, 30, 30, 0.62); 964 } 965 .components-checkbox-control__input[type=checkbox]::placeholder { 966 color: rgba(30, 30, 30, 0.62); 967 } 968 .components-checkbox-control__input[type=checkbox]:focus { 969 box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--wp-admin-theme-color); 970 outline: 2px solid transparent; 971 } 972 .components-checkbox-control__input[type=checkbox]:checked { 973 background: var(--wp-admin-theme-color); 974 border-color: var(--wp-admin-theme-color); 975 } 976 .components-checkbox-control__input[type=checkbox]:checked::before, .components-checkbox-control__input[type=checkbox][aria-checked=mixed]::before { 977 margin: -3px -5px; 978 color: #fff; 979 } 980 @media (min-width: 782px) { 981 .components-checkbox-control__input[type=checkbox]:checked::before, .components-checkbox-control__input[type=checkbox][aria-checked=mixed]::before { 982 margin: -4px -5px 0 0; 983 } 984 } 985 .components-checkbox-control__input[type=checkbox][aria-checked=mixed] { 986 background: var(--wp-admin-theme-color); 987 border-color: var(--wp-admin-theme-color); 988 } 989 .components-checkbox-control__input[type=checkbox][aria-checked=mixed]::before { 990 content: "\f460"; 991 float: right; 992 display: inline-block; 993 vertical-align: middle; 994 width: 16px; 995 /* stylelint-disable-next-line font-family-no-missing-generic-family-keyword -- dashicons don't need a generic family keyword. */ 996 font: normal 30px/1 dashicons; 997 speak: none; 998 -webkit-font-smoothing: antialiased; 999 -moz-osx-font-smoothing: grayscale; 1000 } 1001 @media (min-width: 782px) { 1002 .components-checkbox-control__input[type=checkbox][aria-checked=mixed]::before { 1003 float: none; 1004 font-size: 21px; 1005 } 1006 } 1007 .components-checkbox-control__input[type=checkbox][aria-disabled=true], .components-checkbox-control__input[type=checkbox]:disabled { 1008 background: #f0f0f0; 1009 border-color: #ddd; 1010 cursor: default; 1011 opacity: 1; 1012 } 1013 .components-checkbox-control__input[type=checkbox] { 1014 background: #fff; 1015 color: #1e1e1e; 1016 clear: none; 1017 display: inline-block; 1018 line-height: 0; 1019 margin: 0 0 0 4px; 1020 outline: 0; 1021 padding: 0 !important; 1022 text-align: center; 1023 vertical-align: top; 1024 width: var(--checkbox-input-size); 1025 height: var(--checkbox-input-size); 1026 -webkit-appearance: none; 1027 -moz-appearance: none; 1028 appearance: none; 1029 } 1030 @media not (prefers-reduced-motion) { 1031 .components-checkbox-control__input[type=checkbox] { 1032 transition: 0.1s border-color ease-in-out; 1033 } 1034 } 1035 .components-checkbox-control__input[type=checkbox]:focus { 1036 box-shadow: 0 0 0 var(--wp-admin-border-width-focus) #fff, 0 0 0 calc(2 * var(--wp-admin-border-width-focus)) var(--wp-admin-theme-color); 1037 outline: 2px solid transparent; 1038 outline-offset: 2px; 1039 } 1040 .components-checkbox-control__input[type=checkbox]:not(:disabled):is(:checked, :indeterminate) { 1041 background: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)); 1042 border-color: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)); 1043 } 1044 .components-checkbox-control__input[type=checkbox]:not(:disabled) { 1045 cursor: var(--wpds-cursor-control, pointer); 1046 } 1047 .components-checkbox-control__input[type=checkbox]:checked::before { 1048 content: none; 1049 } 1050 1051 .components-checkbox-control__input-container { 1052 position: relative; 1053 display: inline-block; 1054 margin-left: var(--checkbox-input-margin); 1055 vertical-align: middle; 1056 width: var(--checkbox-input-size); 1057 aspect-ratio: 1; 1058 line-height: 1; 1059 flex-shrink: 0; 1060 } 1061 1062 svg.components-checkbox-control__checked, 1063 svg.components-checkbox-control__indeterminate { 1064 --checkmark-size: var(--checkbox-input-size); 1065 fill: #fff; 1066 cursor: var(--wpds-cursor-control, pointer); 1067 position: absolute; 1068 right: 50%; 1069 top: 50%; 1070 transform: translate(50%, -50%); 1071 width: var(--checkmark-size); 1072 height: var(--checkmark-size); 1073 -webkit-user-select: none; 1074 -moz-user-select: none; 1075 user-select: none; 1076 pointer-events: none; 1077 } 1078 @media (min-width: 600px) { 1079 svg.components-checkbox-control__checked, 1080 svg.components-checkbox-control__indeterminate { 1081 --checkmark-size: calc(var(--checkbox-input-size) + 4px); 1082 } 1083 } 1084 1085 .components-checkbox-control:has(:disabled) svg.components-checkbox-control__checked, 1086 .components-checkbox-control:has(:disabled) svg.components-checkbox-control__indeterminate { 1087 fill: var(--wp-components-color-gray-400, var(--wpds-color-stroke-interactive-neutral, #8d8d8d)); 1088 } 1089 1090 .components-checkbox-control__help { 1091 display: inline-block; 1092 margin-inline-start: calc(var(--checkbox-input-size) + var(--checkbox-input-margin)); 1093 } 1094 1095 .components-circular-option-picker { 1096 display: inline-block; 1097 width: 100%; 1098 min-width: 188px; 1099 isolation: isolate; 1100 } 1101 .components-circular-option-picker .components-circular-option-picker__custom-clear-wrapper { 1102 display: flex; 1103 justify-content: flex-end; 1104 margin-top: 12px; 1105 } 1106 .components-circular-option-picker .components-circular-option-picker__swatches { 1107 display: flex; 1108 flex-wrap: wrap; 1109 gap: 12px; 1110 position: relative; 1111 z-index: 1; 1112 } 1113 .components-circular-option-picker > *:not(.components-circular-option-picker__swatches) { 1114 position: relative; 1115 z-index: 0; 1116 } 1117 1118 .components-circular-option-picker__option-wrapper { 1119 display: inline-block; 1120 height: 28px; 1121 width: 28px; 1122 vertical-align: top; 1123 transform: scale(1); 1124 } 1125 @media not (prefers-reduced-motion) { 1126 .components-circular-option-picker__option-wrapper { 1127 transition: 100ms transform ease; 1128 will-change: transform; 1129 } 1130 } 1131 .components-circular-option-picker__option-wrapper:hover { 1132 transform: scale(1.2); 1133 } 1134 .components-circular-option-picker__option-wrapper > div { 1135 height: 100%; 1136 width: 100%; 1137 } 1138 1139 .components-circular-option-picker__option-wrapper::before { 1140 content: ""; 1141 position: absolute; 1142 top: 1px; 1143 right: 1px; 1144 bottom: 1px; 1145 left: 1px; 1146 border-radius: 50%; 1147 z-index: -1; 1148 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'); 1149 } 1150 1151 .components-circular-option-picker__option { 1152 display: inline-block; 1153 vertical-align: top; 1154 height: 100% !important; 1155 aspect-ratio: 1; 1156 border: none; 1157 border-radius: 50%; 1158 background: transparent; 1159 box-shadow: inset 0 0 0 14px; 1160 } 1161 @media not (prefers-reduced-motion) { 1162 .components-circular-option-picker__option { 1163 transition: 100ms box-shadow ease; 1164 } 1165 } 1166 .components-circular-option-picker__option { 1167 cursor: var(--wpds-cursor-control, pointer); 1168 } 1169 .components-circular-option-picker__option:hover { 1170 box-shadow: inset 0 0 0 14px !important; 1171 } 1172 .components-circular-option-picker__option[aria-pressed=true], .components-circular-option-picker__option[aria-selected=true] { 1173 box-shadow: inset 0 0 0 4px; 1174 position: relative; 1175 z-index: 1; 1176 overflow: visible; 1177 } 1178 .components-circular-option-picker__option[aria-pressed=true] + svg, .components-circular-option-picker__option[aria-selected=true] + svg { 1179 position: absolute; 1180 right: 2px; 1181 top: 2px; 1182 border-radius: 50%; 1183 z-index: 2; 1184 pointer-events: none; 1185 } 1186 .components-circular-option-picker__option::after { 1187 content: ""; 1188 position: absolute; 1189 top: -1px; 1190 right: -1px; 1191 bottom: -1px; 1192 left: -1px; 1193 border-radius: 50%; 1194 box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2); 1195 border: 1px solid transparent; 1196 box-sizing: inherit; 1197 } 1198 .components-circular-option-picker__option:focus::after { 1199 content: ""; 1200 border-radius: 50%; 1201 box-shadow: inset 0 0 0 2px #fff; 1202 position: absolute; 1203 top: 50%; 1204 right: 50%; 1205 transform: translate(50%, -50%); 1206 border: 2px solid #757575; 1207 width: calc(100% + 4px); 1208 height: calc(100% + 4px); 1209 } 1210 .components-circular-option-picker__option.components-button:focus { 1211 background-color: transparent; 1212 box-shadow: inset 0 0 0 14px; 1213 outline: none; 1214 } 1215 1216 .components-circular-option-picker__button-action .components-circular-option-picker__option { 1217 color: #fff; 1218 background: #fff; 1219 } 1220 1221 .components-circular-option-picker__dropdown-link-action { 1222 margin-left: 16px; 1223 } 1224 .components-circular-option-picker__dropdown-link-action .components-button { 1225 line-height: 22px; 1226 } 1227 1228 .components-palette-edit__popover-gradient-picker { 1229 width: 260px; 1230 padding: 8px; 1231 } 1232 1233 .components-dropdown-menu__menu .components-palette-edit__menu-button { 1234 width: 100%; 1235 } 1236 1237 .component-color-indicator { 1238 width: 20px; 1239 height: 20px; 1240 box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2); 1241 border-radius: 50%; 1242 display: inline-block; 1243 padding: 0; 1244 background: #fff linear-gradient(45deg, transparent 48%, #ddd 48%, #ddd 52%, transparent 52%); 1245 } 1246 1247 .components-combobox-control { 1248 width: 100%; 1249 } 1250 1251 input.components-combobox-control__input[type=text] { 1252 width: 100%; 1253 border: none; 1254 box-shadow: none; 1255 font-family: inherit; 1256 font-size: 16px; 1257 padding: 2px; 1258 margin: 0; 1259 line-height: inherit; 1260 min-height: auto; 1261 background: var(--wp-components-color-background, var(--wpds-color-background-surface-neutral-strong, #fff)); 1262 color: var(--wp-components-color-foreground, var(--wpds-color-foreground-content-neutral, #1e1e1e)); 1263 } 1264 @media (min-width: 600px) { 1265 input.components-combobox-control__input[type=text] { 1266 font-size: 13px; 1267 } 1268 } 1269 input.components-combobox-control__input[type=text]:focus { 1270 outline: none; 1271 box-shadow: none; 1272 } 1273 1274 .components-combobox-control__suggestions-container { 1275 font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; 1276 padding: 6px 8px; 1277 /* Fonts smaller than 16px causes mobile safari to zoom. */ 1278 font-size: 16px; 1279 /* Override core line-height. To be reviewed. */ 1280 line-height: normal; 1281 box-shadow: 0 0 0 transparent; 1282 border-radius: 2px; 1283 border: 1px solid #949494; 1284 } 1285 @media not (prefers-reduced-motion) { 1286 .components-combobox-control__suggestions-container { 1287 transition: box-shadow 0.1s linear; 1288 } 1289 } 1290 @media (min-width: 600px) { 1291 .components-combobox-control__suggestions-container { 1292 font-size: 13px; 1293 /* Override core line-height. To be reviewed. */ 1294 line-height: normal; 1295 } 1296 } 1297 .components-combobox-control__suggestions-container:focus { 1298 border-color: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)); 1299 box-shadow: 0 0 0 0.5px var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)); 1300 outline: 2px solid transparent; 1301 } 1302 .components-combobox-control__suggestions-container::-moz-placeholder { 1303 color: rgba(30, 30, 30, 0.62); 1304 } 1305 .components-combobox-control__suggestions-container::placeholder { 1306 color: rgba(30, 30, 30, 0.62); 1307 } 1308 .components-combobox-control__suggestions-container { 1309 display: flex; 1310 flex-wrap: wrap; 1311 align-items: flex-start; 1312 width: 100%; 1313 padding: 0; 1314 } 1315 .components-combobox-control__suggestions-container:focus-within { 1316 border-color: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)); 1317 box-shadow: 0 0 0 0.5px var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)); 1318 outline: 2px solid transparent; 1319 } 1320 .components-combobox-control__suggestions-container .components-spinner { 1321 margin: 0; 1322 } 1323 1324 .components-color-palette__custom-color-wrapper { 1325 position: relative; 1326 z-index: 0; 1327 } 1328 1329 .components-color-palette__custom-color-button { 1330 position: relative; 1331 border: none; 1332 background: none; 1333 height: 64px; 1334 width: 100%; 1335 box-sizing: border-box; 1336 cursor: var(--wpds-cursor-control, pointer); 1337 outline: 1px solid transparent; 1338 border-radius: 4px 4px 0 0; 1339 box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2); 1340 } 1341 .components-color-palette__custom-color-button:focus { 1342 box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)); 1343 outline-width: 2px; 1344 } 1345 .components-color-palette__custom-color-button::after { 1346 content: ""; 1347 position: absolute; 1348 inset: 1px; 1349 z-index: -1; 1350 border-radius: 3px 3px 0 0; 1351 background-image: repeating-linear-gradient(45deg, #e0e0e0 25%, transparent 25%, transparent 75%, #e0e0e0 75%, #e0e0e0), repeating-linear-gradient(45deg, #e0e0e0 25%, transparent 25%, transparent 75%, #e0e0e0 75%, #e0e0e0); 1352 background-position: 0 0, 24px 24px; 1353 background-size: 48px 48px; 1354 } 1355 1356 .components-color-palette__custom-color-text-wrapper { 1357 padding: 12px 16px; 1358 border-radius: 0 0 4px 4px; 1359 position: relative; 1360 font-size: 13px; 1361 box-shadow: inset 0 -1px 0 0 rgba(0, 0, 0, 0.2), inset -1px 0 0 0 rgba(0, 0, 0, 0.2), inset 1px 0 0 0 rgba(0, 0, 0, 0.2); 1362 } 1363 1364 .components-color-palette__custom-color-name { 1365 color: var(--wp-components-color-foreground, var(--wpds-color-foreground-content-neutral, #1e1e1e)); 1366 margin: 0 1px; 1367 } 1368 1369 .components-color-palette__custom-color-value { 1370 color: #757575; 1371 } 1372 .components-color-palette__custom-color-value--is-hex { 1373 text-transform: uppercase; 1374 } 1375 .components-color-palette__custom-color-value:empty::after { 1376 content: "​"; 1377 visibility: hidden; 1378 } 1379 1380 .components-custom-gradient-picker__gradient-bar { 1381 border-radius: 2px; 1382 width: 100%; 1383 height: 48px; 1384 position: relative; 1385 z-index: 1; 1386 } 1387 .components-custom-gradient-picker__gradient-bar.has-gradient { 1388 background-image: repeating-linear-gradient(45deg, #e0e0e0 25%, transparent 25%, transparent 75%, #e0e0e0 75%, #e0e0e0), repeating-linear-gradient(45deg, #e0e0e0 25%, transparent 25%, transparent 75%, #e0e0e0 75%, #e0e0e0); 1389 background-position: 0 0, 12px 12px; 1390 background-size: 24px 24px; 1391 } 1392 .components-custom-gradient-picker__gradient-bar .components-custom-gradient-picker__gradient-bar-background { 1393 position: absolute; 1394 inset: 0; 1395 } 1396 .components-custom-gradient-picker__gradient-bar .components-custom-gradient-picker__markers-container { 1397 position: relative; 1398 width: calc(100% - 48px); 1399 margin-right: auto; 1400 margin-left: auto; 1401 } 1402 .components-custom-gradient-picker__gradient-bar .components-custom-gradient-picker__control-point-dropdown { 1403 position: absolute; 1404 height: 16px; 1405 width: 16px; 1406 top: 16px; 1407 display: flex; 1408 } 1409 .components-custom-gradient-picker__gradient-bar .components-custom-gradient-picker__insert-point-dropdown { 1410 position: relative; 1411 height: inherit; 1412 width: inherit; 1413 min-width: 16px !important; 1414 border-radius: 50%; 1415 background: #fff; 1416 padding: 2px; 1417 color: #1e1e1e; 1418 } 1419 .components-custom-gradient-picker__gradient-bar .components-custom-gradient-picker__insert-point-dropdown svg { 1420 height: 100%; 1421 width: 100%; 1422 } 1423 .components-custom-gradient-picker__gradient-bar .components-custom-gradient-picker__control-point-button { 1424 height: inherit; 1425 width: inherit; 1426 border-radius: 50%; 1427 padding: 0; 1428 box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) #fff, 0 0 2px 0 rgba(0, 0, 0, 0.25); 1429 outline: 2px solid transparent; 1430 } 1431 .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 { 1432 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); 1433 outline: 1.5px solid transparent; 1434 } 1435 1436 .components-custom-gradient-picker__remove-control-point-wrapper { 1437 padding-bottom: 8px; 1438 } 1439 1440 .components-custom-gradient-picker__inserter { 1441 direction: ltr; 1442 } 1443 1444 .components-custom-gradient-picker__liner-gradient-indicator { 1445 display: inline-block; 1446 flex: 0 auto; 1447 width: 20px; 1448 height: 20px; 1449 } 1450 1451 .components-custom-gradient-picker__ui-line { 1452 position: relative; 1453 z-index: 0; 1454 } 1455 1456 .components-drop-zone { 1457 position: absolute; 1458 top: 0; 1459 left: 0; 1460 bottom: 0; 1461 right: 0; 1462 z-index: 40; 1463 visibility: hidden; 1464 opacity: 0; 1465 border-radius: 2px; 1466 } 1467 .components-drop-zone.is-active { 1468 opacity: 1; 1469 visibility: visible; 1470 } 1471 .components-drop-zone .components-drop-zone__content { 1472 position: absolute; 1473 top: 0; 1474 bottom: 0; 1475 right: 0; 1476 left: 0; 1477 height: 100%; 1478 width: 100%; 1479 display: flex; 1480 background-color: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)); 1481 align-items: center; 1482 justify-content: center; 1483 z-index: 50; 1484 text-align: center; 1485 color: #fff; 1486 opacity: 0; 1487 pointer-events: none; 1488 } 1489 .components-drop-zone .components-drop-zone__content-inner { 1490 opacity: 0; 1491 transform: scale(0.9); 1492 } 1493 .components-drop-zone.is-active.is-dragging-over-element .components-drop-zone__content { 1494 opacity: 1; 1495 } 1496 @media not (prefers-reduced-motion) { 1497 .components-drop-zone.is-active.is-dragging-over-element .components-drop-zone__content { 1498 transition: opacity 0.2s ease-in-out; 1499 } 1500 } 1501 .components-drop-zone.is-active.is-dragging-over-element .components-drop-zone__content-inner { 1502 opacity: 1; 1503 transform: scale(1); 1504 } 1505 @media not (prefers-reduced-motion) { 1506 .components-drop-zone.is-active.is-dragging-over-element .components-drop-zone__content-inner { 1507 transition: opacity 0.1s ease-in-out 0.1s, transform 0.1s ease-in-out 0.1s; 1508 } 1509 } 1510 1511 .components-drop-zone__content-icon, 1512 .components-drop-zone__content-text { 1513 display: block; 1514 } 1515 1516 .components-drop-zone__content-icon { 1517 margin: 0 auto 8px; 1518 line-height: 0; 1519 fill: currentColor; 1520 pointer-events: none; 1521 } 1522 1523 .components-drop-zone__content-text { 1524 font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; 1525 font-size: 13px; 1526 } 1527 1528 .components-dropdown { 1529 display: inline-block; 1530 } 1531 1532 .components-dropdown__content .components-popover__content { 1533 padding: 8px; 1534 } 1535 .components-dropdown__content .components-popover__content:has(.components-menu-group) { 1536 padding: 0; 1537 } 1538 .components-dropdown__content .components-popover__content:has(.components-menu-group) .components-dropdown-menu__menu > .components-menu-item__button, 1539 .components-dropdown__content .components-popover__content:has(.components-menu-group) > .components-menu-item__button { 1540 margin: 8px; 1541 width: auto; 1542 } 1543 .components-dropdown__content [role=menuitem] { 1544 white-space: nowrap; 1545 } 1546 .components-dropdown__content .components-menu-group { 1547 padding: 8px; 1548 } 1549 .components-dropdown__content .components-menu-group + .components-menu-group { 1550 border-top: 1px solid #ccc; 1551 padding: 8px; 1552 } 1553 .components-dropdown__content.is-alternate .components-menu-group + .components-menu-group { 1554 border-color: #1e1e1e; 1555 } 1556 1557 .components-dropdown-menu__toggle { 1558 vertical-align: top; 1559 } 1560 1561 .components-dropdown-menu__menu { 1562 width: 100%; 1563 font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; 1564 font-size: 13px; 1565 line-height: 1.4; 1566 } 1567 .components-dropdown-menu__menu .components-dropdown-menu__menu-item, 1568 .components-dropdown-menu__menu .components-menu-item { 1569 width: 100%; 1570 padding: 6px; 1571 outline: none; 1572 cursor: var(--wpds-cursor-control, pointer); 1573 white-space: nowrap; 1574 font-weight: var(--wpds-typography-font-weight-default, 400); 1575 } 1576 .components-dropdown-menu__menu .components-dropdown-menu__menu-item.has-separator, 1577 .components-dropdown-menu__menu .components-menu-item.has-separator { 1578 margin-top: 6px; 1579 position: relative; 1580 overflow: visible; 1581 } 1582 .components-dropdown-menu__menu .components-dropdown-menu__menu-item.has-separator::before, 1583 .components-dropdown-menu__menu .components-menu-item.has-separator::before { 1584 display: block; 1585 content: ""; 1586 box-sizing: content-box; 1587 background-color: var(--wpds-color-stroke-surface-neutral, #dbdbdb); 1588 position: absolute; 1589 top: -3px; 1590 right: 0; 1591 left: 0; 1592 height: 1px; 1593 } 1594 .components-dropdown-menu__menu .components-dropdown-menu__menu-item.is-active svg, 1595 .components-dropdown-menu__menu .components-dropdown-menu__menu-item.is-active .dashicon, 1596 .components-dropdown-menu__menu .components-menu-item.is-active svg, 1597 .components-dropdown-menu__menu .components-menu-item.is-active .dashicon { 1598 color: #fff; 1599 background: #1e1e1e; 1600 box-shadow: 0 0 0 1px #1e1e1e; 1601 border-radius: 1px; 1602 } 1603 .components-dropdown-menu__menu .components-dropdown-menu__menu-item.is-icon-only, 1604 .components-dropdown-menu__menu .components-menu-item.is-icon-only { 1605 width: auto; 1606 } 1607 .components-dropdown-menu__menu .components-menu-item__button, 1608 .components-dropdown-menu__menu .components-menu-item__button.components-button { 1609 min-height: 32px; 1610 height: auto; 1611 text-align: right; 1612 padding-right: 8px; 1613 padding-left: 8px; 1614 } 1615 1616 .components-duotone-picker__color-indicator::before { 1617 background: transparent; 1618 } 1619 1620 .components-duotone-picker__color-indicator > .components-button { 1621 background: linear-gradient(45deg, transparent 48%, #ddd 48%, #ddd 52%, transparent 52%); 1622 color: transparent; 1623 } 1624 .components-duotone-picker__color-indicator > .components-button.is-pressed:hover:not(:disabled) { 1625 background: linear-gradient(45deg, transparent 48%, #ddd 48%, #ddd 52%, transparent 52%); 1626 color: transparent; 1627 } 1628 .components-duotone-picker__color-indicator > .components-button:hover:not(:disabled):not([aria-disabled=true]) { 1629 color: transparent; 1630 } 1631 .components-duotone-picker__color-indicator > .components-button:not([aria-disabled=true]):active { 1632 color: transparent; 1633 } 1634 1635 .components-color-list-picker, 1636 .components-color-list-picker__swatch-button { 1637 width: 100%; 1638 } 1639 1640 .components-color-list-picker__color-picker { 1641 margin: 8px 0; 1642 } 1643 1644 .components-color-list-picker__swatch-color { 1645 margin: 2px; 1646 } 1647 1648 .components-external-link { 1649 color: var(--wpds-color-foreground-interactive-brand, var(--wp-admin-theme-color, #3858e9)); 1650 text-decoration: none; 1651 } 1652 @media not (prefers-reduced-motion) { 1653 .components-external-link { 1654 transition: outline 0.1s ease-out; 1655 } 1656 } 1657 .components-external-link { 1658 outline: 0 solid transparent; 1659 outline-offset: 1px; 1660 } 1661 .components-external-link:visited { 1662 color: var(--wpds-color-foreground-interactive-brand, var(--wp-admin-theme-color, #3858e9)); 1663 } 1664 .components-external-link:hover, .components-external-link:active { 1665 color: var(--wpds-color-foreground-interactive-brand-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 52%, black)); 1666 } 1667 .components-external-link:focus { 1668 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)); 1669 box-shadow: none; 1670 border-radius: 0; 1671 } 1672 1673 .components-external-link__contents { 1674 text-decoration: underline; 1675 text-underline-offset: 0.2em; 1676 text-decoration-thickness: from-font; 1677 } 1678 1679 .components-external-link__icon { 1680 line-height: 1; 1681 display: inline-block; 1682 margin-inline-start: var(--wpds-dimension-padding-xs, 4px); 1683 font-weight: var(--wpds-typography-font-weight-default, 400); 1684 } 1685 1686 .components-form-toggle { 1687 position: relative; 1688 isolation: isolate; 1689 display: inline-block; 1690 height: 16px; 1691 } 1692 .components-form-toggle .components-form-toggle__track { 1693 position: relative; 1694 content: ""; 1695 display: inline-block; 1696 box-sizing: border-box; 1697 vertical-align: top; 1698 background-color: #fff; 1699 border: 1px solid #949494; 1700 width: 32px; 1701 height: 16px; 1702 border-radius: 8px; 1703 } 1704 @media not (prefers-reduced-motion) { 1705 .components-form-toggle .components-form-toggle__track { 1706 transition: 0.2s background-color ease, 0.2s border-color ease; 1707 } 1708 } 1709 .components-form-toggle .components-form-toggle__track { 1710 overflow: hidden; 1711 } 1712 .components-form-toggle .components-form-toggle__track::after { 1713 content: ""; 1714 position: absolute; 1715 inset: 0; 1716 box-sizing: border-box; 1717 border-top: 16px solid transparent; 1718 } 1719 @media not (prefers-reduced-motion) { 1720 .components-form-toggle .components-form-toggle__track::after { 1721 transition: 0.2s opacity ease; 1722 } 1723 } 1724 .components-form-toggle .components-form-toggle__track::after { 1725 opacity: 0; 1726 } 1727 .components-form-toggle .components-form-toggle__thumb { 1728 display: block; 1729 position: absolute; 1730 box-sizing: border-box; 1731 top: 2px; 1732 right: 2px; 1733 width: 12px; 1734 height: 12px; 1735 border-radius: 50%; 1736 } 1737 @media not (prefers-reduced-motion) { 1738 .components-form-toggle .components-form-toggle__thumb { 1739 transition: 0.2s transform ease, 0.2s background-color ease-out; 1740 } 1741 } 1742 .components-form-toggle .components-form-toggle__thumb { 1743 background-color: #1e1e1e; 1744 box-shadow: 0 1px 1px rgba(0, 0, 0, 0.03), 0 1px 2px rgba(0, 0, 0, 0.02), 0 3px 3px rgba(0, 0, 0, 0.02), 0 4px 4px rgba(0, 0, 0, 0.01); 1745 border: 6px solid transparent; 1746 } 1747 .components-form-toggle.is-checked .components-form-toggle__track { 1748 background-color: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)); 1749 border-color: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)); 1750 } 1751 .components-form-toggle.is-checked .components-form-toggle__track::after { 1752 opacity: 1; 1753 } 1754 .components-form-toggle .components-form-toggle__input:focus + .components-form-toggle__track { 1755 box-shadow: 0 0 0 var(--wp-admin-border-width-focus) #fff, 0 0 0 calc(2 * var(--wp-admin-border-width-focus)) var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)); 1756 outline: 2px solid transparent; 1757 outline-offset: 2px; 1758 } 1759 .components-form-toggle.is-checked .components-form-toggle__thumb { 1760 background-color: #fff; 1761 border-width: 0; 1762 transform: translateX(-16px); 1763 } 1764 .components-form-toggle.is-disabled .components-form-toggle__track, .components-disabled .components-form-toggle .components-form-toggle__track { 1765 background-color: var(--wp-components-color-gray-100, var(--wpds-color-background-surface-neutral, #fcfcfc)); 1766 border-color: var(--wpds-color-stroke-interactive-neutral-disabled, #dbdbdb); 1767 } 1768 @media (forced-colors: active) { 1769 .components-form-toggle.is-disabled .components-form-toggle__track, .components-disabled .components-form-toggle .components-form-toggle__track { 1770 border-color: GrayText; 1771 } 1772 } 1773 .components-form-toggle.is-disabled .components-form-toggle__thumb, .components-disabled .components-form-toggle .components-form-toggle__thumb { 1774 background-color: var(--wp-components-color-gray-400, var(--wpds-color-stroke-interactive-neutral, #8d8d8d)); 1775 box-shadow: none; 1776 } 1777 @media (forced-colors: active) { 1778 .components-form-toggle.is-disabled .components-form-toggle__thumb, .components-disabled .components-form-toggle .components-form-toggle__thumb { 1779 border-color: GrayText; 1780 } 1781 } 1782 .components-form-toggle.is-disabled.is-checked .components-form-toggle__track, .components-disabled .components-form-toggle.is-checked .components-form-toggle__track { 1783 background-color: var(--wp-components-color-gray-400, var(--wpds-color-stroke-interactive-neutral, #8d8d8d)); 1784 border-color: var(--wp-components-color-gray-400, var(--wpds-color-stroke-interactive-neutral, #8d8d8d)); 1785 } 1786 @media (forced-colors: active) { 1787 .components-form-toggle.is-disabled.is-checked .components-form-toggle__track, .components-disabled .components-form-toggle.is-checked .components-form-toggle__track { 1788 border-color: GrayText; 1789 } 1790 .components-form-toggle.is-disabled.is-checked .components-form-toggle__track::after, .components-disabled .components-form-toggle.is-checked .components-form-toggle__track::after { 1791 border-top-color: GrayText; 1792 } 1793 } 1794 .components-form-toggle.is-disabled.is-checked .components-form-toggle__thumb, .components-disabled .components-form-toggle.is-checked .components-form-toggle__thumb { 1795 background-color: #fff; 1796 } 1797 1798 .components-form-toggle input.components-form-toggle__input[type=checkbox] { 1799 position: absolute; 1800 top: 0; 1801 right: 0; 1802 width: 100%; 1803 height: 100%; 1804 opacity: 0; 1805 margin: 0; 1806 padding: 0; 1807 z-index: 1; 1808 border: none; 1809 } 1810 .components-form-toggle input.components-form-toggle__input[type=checkbox]:checked { 1811 background: none; 1812 } 1813 .components-form-toggle input.components-form-toggle__input[type=checkbox]::before { 1814 content: ""; 1815 } 1816 .components-form-toggle input.components-form-toggle__input[type=checkbox]:not(:disabled, [aria-disabled=true]) { 1817 cursor: var(--wpds-cursor-control, pointer); 1818 } 1819 1820 .components-form-token-field__input-container { 1821 font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; 1822 padding: 6px 8px; 1823 /* Fonts smaller than 16px causes mobile safari to zoom. */ 1824 font-size: 16px; 1825 /* Override core line-height. To be reviewed. */ 1826 line-height: normal; 1827 box-shadow: 0 0 0 transparent; 1828 border-radius: 2px; 1829 border: 1px solid #949494; 1830 } 1831 @media not (prefers-reduced-motion) { 1832 .components-form-token-field__input-container { 1833 transition: box-shadow 0.1s linear; 1834 } 1835 } 1836 @media (min-width: 600px) { 1837 .components-form-token-field__input-container { 1838 font-size: 13px; 1839 /* Override core line-height. To be reviewed. */ 1840 line-height: normal; 1841 } 1842 } 1843 .components-form-token-field__input-container:focus { 1844 border-color: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)); 1845 box-shadow: 0 0 0 0.5px var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)); 1846 outline: 2px solid transparent; 1847 } 1848 .components-form-token-field__input-container::-moz-placeholder { 1849 color: rgba(30, 30, 30, 0.62); 1850 } 1851 .components-form-token-field__input-container::placeholder { 1852 color: rgba(30, 30, 30, 0.62); 1853 } 1854 .components-form-token-field__input-container { 1855 width: 100%; 1856 padding: 0; 1857 cursor: text; 1858 } 1859 .components-form-token-field__input-container.is-disabled { 1860 background: var(--wp-components-color-gray-100, var(--wpds-color-background-surface-neutral, #fcfcfc)); 1861 border-color: var(--wp-components-color-gray-400, var(--wpds-color-stroke-interactive-neutral, #8d8d8d)); 1862 cursor: default; 1863 } 1864 .components-form-token-field__input-container.is-active { 1865 border-color: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)); 1866 box-shadow: 0 0 0 0.5px var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)); 1867 outline: 2px solid transparent; 1868 } 1869 .components-form-token-field__input-container input[type=text].components-form-token-field__input { 1870 display: inline-block; 1871 flex: 1; 1872 font-family: inherit; 1873 font-size: 16px; 1874 line-height: 1; 1875 width: 100%; 1876 max-width: 100%; 1877 margin-right: 4px; 1878 padding: 0; 1879 min-height: 24px; 1880 min-width: 50px; 1881 background: inherit; 1882 border: 0; 1883 color: var(--wp-components-color-foreground, var(--wpds-color-foreground-content-neutral, #1e1e1e)); 1884 box-shadow: none; 1885 } 1886 @media (min-width: 600px) { 1887 .components-form-token-field__input-container input[type=text].components-form-token-field__input { 1888 font-size: 13px; 1889 } 1890 } 1891 .components-form-token-field__input-container input[type=text].components-form-token-field__input:focus, .components-form-token-field.is-active .components-form-token-field__input-container input[type=text].components-form-token-field__input { 1892 outline: none; 1893 box-shadow: none; 1894 } 1895 .components-form-token-field__input-container .components-form-token-field__token + input[type=text].components-form-token-field__input { 1896 width: auto; 1897 } 1898 1899 .components-form-token-field__token { 1900 font-size: 13px; 1901 display: flex; 1902 color: #1e1e1e; 1903 max-width: 100%; 1904 } 1905 .components-form-token-field__token.is-success .components-form-token-field__token-text, 1906 .components-form-token-field__token.is-success .components-form-token-field__remove-token { 1907 background: #4ab866; 1908 } 1909 .components-form-token-field__token.is-error .components-form-token-field__token-text, 1910 .components-form-token-field__token.is-error .components-form-token-field__remove-token { 1911 background: #cc1818; 1912 } 1913 .components-form-token-field__token.is-validating .components-form-token-field__token-text, 1914 .components-form-token-field__token.is-validating .components-form-token-field__remove-token { 1915 color: #757575; 1916 } 1917 .components-form-token-field__token.is-disabled .components-form-token-field__token-text, 1918 .components-form-token-field__token.is-disabled .components-form-token-field__remove-token.components-button { 1919 background: var(--wp-components-color-gray-100, var(--wpds-color-background-surface-neutral, #fcfcfc)); 1920 color: var(--wp-components-color-gray-600, var(--wpds-color-stroke-interactive-neutral, #8d8d8d)); 1921 } 1922 .components-form-token-field__token.is-borderless { 1923 position: relative; 1924 padding: 0 0 0 24px; 1925 } 1926 .components-form-token-field__token.is-borderless .components-form-token-field__token-text { 1927 background: transparent; 1928 } 1929 .components-form-token-field__token.is-borderless:not(.is-disabled) .components-form-token-field__token-text { 1930 color: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)); 1931 } 1932 .components-form-token-field__token.is-borderless .components-form-token-field__remove-token { 1933 background: transparent; 1934 color: #757575; 1935 position: absolute; 1936 top: 1px; 1937 left: 0; 1938 } 1939 .components-form-token-field__token.is-borderless.is-success .components-form-token-field__token-text { 1940 color: #4ab866; 1941 } 1942 .components-form-token-field__token.is-borderless.is-error .components-form-token-field__token-text { 1943 color: #cc1818; 1944 padding: 0 6px 0 4px; 1945 } 1946 .components-form-token-field__token.is-borderless.is-validating .components-form-token-field__token-text { 1947 color: #1e1e1e; 1948 } 1949 1950 .components-form-token-field__token-text, 1951 .components-form-token-field__remove-token.components-button { 1952 display: inline-block; 1953 height: auto; 1954 background: #ddd; 1955 min-width: unset; 1956 } 1957 @media not (prefers-reduced-motion) { 1958 .components-form-token-field__token-text, 1959 .components-form-token-field__remove-token.components-button { 1960 transition: all 0.2s cubic-bezier(0.4, 1, 0.4, 1); 1961 } 1962 } 1963 1964 .components-form-token-field__token-text { 1965 border-radius: 0 1px 1px 0; 1966 padding: 0 8px 0 0; 1967 line-height: 24px; 1968 white-space: nowrap; 1969 overflow: hidden; 1970 text-overflow: ellipsis; 1971 } 1972 1973 .components-form-token-field__remove-token.components-button { 1974 border-radius: 1px 0 0 1px; 1975 color: #1e1e1e; 1976 line-height: 10px; 1977 overflow: initial; 1978 } 1979 .components-form-token-field__remove-token.components-button:hover:not(:disabled) { 1980 color: #1e1e1e; 1981 } 1982 1983 .components-form-token-field__suggestions-list { 1984 flex: 1 0 100%; 1985 min-width: 100%; 1986 max-height: 128px; 1987 overflow-y: auto; 1988 } 1989 @media not (prefers-reduced-motion) { 1990 .components-form-token-field__suggestions-list { 1991 transition: all 0.15s ease-in-out; 1992 } 1993 } 1994 .components-form-token-field__suggestions-list { 1995 list-style: none; 1996 box-shadow: inset 0 1px 0 0 #949494; 1997 margin: 0; 1998 padding: 0; 1999 } 2000 2001 .components-form-token-field__suggestion { 2002 color: var(--wp-components-color-foreground, var(--wpds-color-foreground-content-neutral, #1e1e1e)); 2003 display: block; 2004 font-size: 13px; 2005 padding: 8px 12px; 2006 min-height: 32px; 2007 margin: 0; 2008 box-sizing: border-box; 2009 } 2010 .components-form-token-field__suggestion.is-selected { 2011 background: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)); 2012 color: var(--wp-components-color-foreground-inverted, var(--wpds-color-background-surface-neutral, #fcfcfc)); 2013 } 2014 .components-form-token-field__suggestion[aria-disabled=true] { 2015 pointer-events: none; 2016 color: #949494; 2017 } 2018 .components-form-token-field__suggestion[aria-disabled=true].is-selected { 2019 background: color-mix(in srgb, var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)) 4%, transparent); 2020 } 2021 .components-form-token-field__suggestion:not(.is-empty) { 2022 cursor: var(--wpds-cursor-control, pointer); 2023 } 2024 2025 @media (min-width: 600px) { 2026 .components-guide { 2027 width: 600px; 2028 } 2029 } 2030 .components-guide .components-modal__content { 2031 padding: 0; 2032 margin-top: 0; 2033 } 2034 .components-guide .components-modal__content::before { 2035 content: none; 2036 } 2037 .components-guide .components-modal__header { 2038 border-bottom: none; 2039 padding: 0; 2040 position: sticky; 2041 height: 64px; 2042 } 2043 .components-guide .components-modal__header .components-button { 2044 align-self: flex-start; 2045 margin: 8px 0 0 8px; 2046 position: static; 2047 } 2048 .components-guide .components-guide__container { 2049 display: flex; 2050 flex-direction: column; 2051 justify-content: space-between; 2052 margin-top: -64px; 2053 min-height: 100%; 2054 } 2055 .components-guide .components-guide__page { 2056 display: flex; 2057 flex-direction: column; 2058 justify-content: center; 2059 position: relative; 2060 } 2061 @media (min-width: 600px) { 2062 .components-guide .components-guide__page { 2063 min-height: 300px; 2064 } 2065 } 2066 .components-guide .components-guide__footer { 2067 align-content: center; 2068 display: flex; 2069 height: 36px; 2070 justify-content: center; 2071 margin: 0 0 24px 0; 2072 padding: 0 24px; 2073 position: relative; 2074 width: 100%; 2075 } 2076 .components-guide .components-guide__page-control { 2077 margin: 0; 2078 text-align: center; 2079 } 2080 .components-guide .components-guide__page-control li { 2081 display: inline-block; 2082 margin: 0; 2083 } 2084 .components-guide .components-guide__page-control .components-button { 2085 margin: -6px 0; 2086 color: #e0e0e0; 2087 } 2088 .components-guide .components-guide__page-control li[aria-current=step] .components-button { 2089 color: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)); 2090 } 2091 2092 .components-modal__frame.components-guide { 2093 border: none; 2094 min-width: 312px; 2095 max-height: 575px; 2096 } 2097 @media (max-width: 600px) { 2098 .components-modal__frame.components-guide { 2099 margin: auto; 2100 max-width: calc(100vw - 16px * 2); 2101 } 2102 } 2103 2104 .components-button.components-guide__back-button, .components-button.components-guide__forward-button, .components-button.components-guide__finish-button { 2105 position: absolute; 2106 } 2107 .components-button.components-guide__back-button { 2108 right: 24px; 2109 } 2110 .components-button.components-guide__forward-button, .components-button.components-guide__finish-button { 2111 left: 24px; 2112 } 2113 2114 [role=region] { 2115 position: relative; 2116 } 2117 [role=region].interface-interface-skeleton__content:focus-visible::after { 2118 content: ""; 2119 position: absolute; 2120 pointer-events: none; 2121 top: 0; 2122 left: 0; 2123 bottom: 0; 2124 right: 0; 2125 outline-color: var(--wp-admin-theme-color); 2126 outline-style: solid; 2127 outline-width: calc(2 * var(--wp-admin-border-width-focus) / var(--wp-block-editor-iframe-zoom-out-scale, 1)); 2128 outline-offset: calc(2 * -1 * var(--wp-admin-border-width-focus) / var(--wp-block-editor-iframe-zoom-out-scale, 1)); 2129 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); 2130 z-index: 1000000; 2131 } 2132 2133 .is-focusing-regions [role=region]:focus::after { 2134 content: ""; 2135 position: absolute; 2136 pointer-events: none; 2137 top: 0; 2138 left: 0; 2139 bottom: 0; 2140 right: 0; 2141 outline-color: var(--wp-admin-theme-color); 2142 outline-style: solid; 2143 outline-width: calc(2 * var(--wp-admin-border-width-focus) / var(--wp-block-editor-iframe-zoom-out-scale, 1)); 2144 outline-offset: calc(2 * -1 * var(--wp-admin-border-width-focus) / var(--wp-block-editor-iframe-zoom-out-scale, 1)); 2145 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); 2146 z-index: 1000000; 2147 } 2148 .is-focusing-regions.is-distraction-free .interface-interface-skeleton__header .edit-post-header, 2149 .is-focusing-regions .interface-interface-skeleton__sidebar .editor-layout__toggle-sidebar-panel, 2150 .is-focusing-regions .interface-interface-skeleton__actions .editor-layout__toggle-publish-panel, 2151 .is-focusing-regions .interface-interface-skeleton__actions .editor-layout__toggle-entities-saved-states-panel, 2152 .is-focusing-regions .editor-post-publish-panel { 2153 outline-color: var(--wp-admin-theme-color); 2154 outline-style: solid; 2155 outline-width: calc(2 * var(--wp-admin-border-width-focus) / var(--wp-block-editor-iframe-zoom-out-scale, 1)); 2156 outline-offset: calc(2 * -1 * var(--wp-admin-border-width-focus) / var(--wp-block-editor-iframe-zoom-out-scale, 1)); 2157 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); 2158 } 2159 2160 .components-menu-group + .components-menu-group { 2161 padding-top: 8px; 2162 border-top: 1px solid #1e1e1e; 2163 } 2164 .components-menu-group + .components-menu-group.has-hidden-separator { 2165 border-top: none; 2166 margin-top: 0; 2167 padding-top: 0; 2168 } 2169 2170 .components-menu-group:has(> div:empty) { 2171 display: none; 2172 } 2173 2174 .components-menu-group__label { 2175 padding: 0 8px; 2176 margin-top: 4px; 2177 margin-bottom: 12px; 2178 color: #757575; 2179 text-transform: uppercase; 2180 font-size: 11px; 2181 font-weight: var(--wpds-typography-font-weight-emphasis, 600); 2182 white-space: nowrap; 2183 } 2184 2185 .components-menu-item__button, 2186 .components-menu-item__button.components-button { 2187 width: 100%; 2188 font-weight: var(--wpds-typography-font-weight-default, 400); 2189 } 2190 .components-menu-item__button[role=menuitemradio] .components-menu-item__item:only-child, .components-menu-item__button[role=menuitemcheckbox] .components-menu-item__item:only-child, 2191 .components-menu-item__button.components-button[role=menuitemradio] .components-menu-item__item:only-child, 2192 .components-menu-item__button.components-button[role=menuitemcheckbox] .components-menu-item__item:only-child { 2193 padding-left: 48px; 2194 box-sizing: initial; 2195 } 2196 .components-menu-item__button .components-menu-items__item-icon, 2197 .components-menu-item__button.components-button .components-menu-items__item-icon { 2198 display: inline-block; 2199 flex: 0 0 auto; 2200 } 2201 .components-menu-item__button .components-menu-items__item-icon.has-icon-right, 2202 .components-menu-item__button.components-button .components-menu-items__item-icon.has-icon-right { 2203 margin-left: -2px; 2204 margin-right: 24px; 2205 } 2206 .components-menu-item__button .components-menu-item__shortcut + .components-menu-items__item-icon.has-icon-right, 2207 .components-menu-item__button.components-button .components-menu-item__shortcut + .components-menu-items__item-icon.has-icon-right { 2208 margin-right: 8px; 2209 } 2210 .components-menu-item__button .block-editor-block-icon, 2211 .components-menu-item__button.components-button .block-editor-block-icon { 2212 margin-right: -2px; 2213 margin-left: 8px; 2214 } 2215 .components-menu-item__button.is-primary, 2216 .components-menu-item__button.components-button.is-primary { 2217 justify-content: center; 2218 } 2219 .components-menu-item__button.is-primary .components-menu-item__item, 2220 .components-menu-item__button.components-button.is-primary .components-menu-item__item { 2221 margin-left: 0; 2222 } 2223 .components-menu-item__button:disabled.is-tertiary, .components-menu-item__button[aria-disabled=true].is-tertiary, 2224 .components-menu-item__button.components-button:disabled.is-tertiary, 2225 .components-menu-item__button.components-button[aria-disabled=true].is-tertiary { 2226 background: none; 2227 color: var(--wp-components-color-accent-darker-10, var(--wp-admin-theme-color-darker-10, #2145e6)); 2228 opacity: 0.3; 2229 } 2230 2231 .components-menu-item__info-wrapper { 2232 display: flex; 2233 flex-direction: column; 2234 margin-left: auto; 2235 } 2236 2237 .components-menu-item__info { 2238 margin-top: 4px; 2239 font-size: 12px; 2240 color: #757575; 2241 white-space: normal; 2242 } 2243 2244 .components-menu-item__item { 2245 white-space: nowrap; 2246 min-width: 160px; 2247 margin-left: auto; 2248 display: inline-flex; 2249 align-items: center; 2250 } 2251 2252 .components-menu-item__shortcut { 2253 align-self: center; 2254 margin-left: 0; 2255 margin-right: auto; 2256 padding-right: 24px; 2257 color: currentColor; 2258 display: none; 2259 } 2260 @media (min-width: 480px) { 2261 .components-menu-item__shortcut { 2262 display: inline; 2263 } 2264 } 2265 2266 .components-menu-items-choice, 2267 .components-menu-items-choice.components-button { 2268 min-height: 40px; 2269 height: auto; 2270 } 2271 .components-menu-items-choice svg, 2272 .components-menu-items-choice.components-button svg { 2273 margin-left: 12px; 2274 } 2275 .components-menu-items-choice.has-icon, 2276 .components-menu-items-choice.components-button.has-icon { 2277 padding-right: 12px; 2278 } 2279 2280 .components-modal__screen-overlay { 2281 position: fixed; 2282 top: 0; 2283 left: 0; 2284 bottom: 0; 2285 right: 0; 2286 background-color: rgba(0, 0, 0, 0.35); 2287 z-index: 100000; 2288 display: flex; 2289 } 2290 @keyframes __wp-base-styles-fade-in { 2291 from { 2292 opacity: 0; 2293 } 2294 to { 2295 opacity: 1; 2296 } 2297 } 2298 @media not (prefers-reduced-motion) { 2299 .components-modal__screen-overlay { 2300 animation: __wp-base-styles-fade-in var(--wpds-motion-duration-sm, 100ms) var(--wpds-motion-easing-subtle, cubic-bezier(0.15, 0, 0.15, 1)) 0s; 2301 animation-fill-mode: forwards; 2302 } 2303 } 2304 @keyframes __wp-base-styles-fade-out { 2305 from { 2306 opacity: 1; 2307 } 2308 to { 2309 opacity: 0; 2310 } 2311 } 2312 @media not (prefers-reduced-motion) { 2313 .components-modal__screen-overlay.is-animating-out { 2314 animation: __wp-base-styles-fade-out var(--wpds-motion-duration-sm, 100ms) var(--wpds-motion-easing-subtle, cubic-bezier(0.15, 0, 0.15, 1)) var(--wpds-motion-duration-xs, 50ms); 2315 animation-fill-mode: forwards; 2316 } 2317 } 2318 2319 .components-modal__frame { 2320 box-sizing: border-box; 2321 } 2322 .components-modal__frame *, 2323 .components-modal__frame *::before, 2324 .components-modal__frame *::after { 2325 box-sizing: inherit; 2326 } 2327 .components-modal__frame { 2328 align-self: flex-end; 2329 margin: 0; 2330 width: 100%; 2331 max-height: calc(100% - 40px); 2332 background: #fff; 2333 box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08), 0 15px 27px rgba(0, 0, 0, 0.07), 0 30px 36px rgba(0, 0, 0, 0.04), 0 50px 43px rgba(0, 0, 0, 0.02); 2334 border-radius: 8px 8px 0 0; 2335 overflow: hidden; 2336 display: flex; 2337 color: #1e1e1e; 2338 animation-name: components-modal__appear-animation; 2339 animation-fill-mode: forwards; 2340 animation-timing-function: var(--wpds-motion-easing-expressive, cubic-bezier(0.25, 0, 0, 1)); 2341 } 2342 .components-modal__frame h1, 2343 .components-modal__frame h2, 2344 .components-modal__frame h3 { 2345 color: #1e1e1e; 2346 } 2347 @media not (prefers-reduced-motion) { 2348 .components-modal__frame { 2349 animation-duration: var(--wpds-motion-duration-md, 200ms); 2350 } 2351 } 2352 .components-modal__screen-overlay.is-animating-out .components-modal__frame { 2353 animation-name: components-modal__disappear-animation; 2354 animation-timing-function: var(--wpds-motion-easing-expressive, cubic-bezier(0.25, 0, 0, 1)); 2355 } 2356 @media (min-width: 600px) { 2357 .components-modal__frame { 2358 align-self: auto; 2359 border-radius: 8px; 2360 margin: auto; 2361 width: auto; 2362 min-width: var(--wpds-dimension-surface-width-sm, 320px); 2363 max-width: calc(100% - 32px); 2364 max-height: calc(100% - 128px); 2365 } 2366 .components-modal__frame.has-size-small, .components-modal__frame.has-size-medium, .components-modal__frame.has-size-large { 2367 width: 100%; 2368 } 2369 .components-modal__frame.has-size-small { 2370 max-width: var(--wpds-dimension-surface-width-md, 400px); 2371 } 2372 .components-modal__frame.has-size-medium { 2373 max-width: var(--wpds-dimension-surface-width-lg, 560px); 2374 } 2375 .components-modal__frame.has-size-large { 2376 max-width: var(--wpds-dimension-surface-width-2xl, 960px); 2377 } 2378 } 2379 @media (min-width: 960px) { 2380 .components-modal__frame { 2381 max-height: 70%; 2382 } 2383 } 2384 .components-modal__frame.is-full-screen { 2385 margin: 0; 2386 width: 100%; 2387 height: 100%; 2388 max-height: none; 2389 border-radius: 0; 2390 } 2391 .components-modal__frame.is-full-screen :where(.components-modal__content) { 2392 display: flex; 2393 margin-bottom: 24px; 2394 padding-bottom: 0; 2395 } 2396 .components-modal__frame.is-full-screen :where(.components-modal__content) > :last-child { 2397 flex: 1; 2398 } 2399 @media (min-width: 600px) { 2400 .components-modal__frame.is-full-screen { 2401 margin: auto; 2402 border-radius: 8px; 2403 width: calc(100% - 32px); 2404 height: calc(100% - 32px); 2405 } 2406 } 2407 @media (min-width: 782px) { 2408 .components-modal__frame.is-full-screen { 2409 width: calc(100% - 80px); 2410 height: calc(100% - 80px); 2411 max-width: none; 2412 } 2413 } 2414 2415 @keyframes components-modal__appear-animation { 2416 from { 2417 opacity: 0; 2418 transform: translateY(100%); 2419 } 2420 to { 2421 opacity: 1; 2422 transform: translateY(0); 2423 } 2424 } 2425 @keyframes components-modal__disappear-animation { 2426 from { 2427 opacity: 1; 2428 transform: translateY(0); 2429 } 2430 to { 2431 opacity: 0; 2432 transform: translateY(100%); 2433 } 2434 } 2435 @media (min-width: 600px) { 2436 @keyframes components-modal__appear-animation { 2437 from { 2438 opacity: 0; 2439 transform: scale(0.9); 2440 } 2441 to { 2442 opacity: 1; 2443 transform: scale(1); 2444 } 2445 } 2446 @keyframes components-modal__disappear-animation { 2447 from { 2448 opacity: 1; 2449 transform: scale(1); 2450 } 2451 to { 2452 opacity: 0; 2453 transform: scale(0.9); 2454 } 2455 } 2456 } 2457 .components-modal__header { 2458 box-sizing: border-box; 2459 border-bottom: 1px solid transparent; 2460 padding: 24px; 2461 display: flex; 2462 flex-direction: row; 2463 justify-content: space-between; 2464 align-items: center; 2465 height: 72px; 2466 width: 100%; 2467 z-index: 10; 2468 position: absolute; 2469 top: 0; 2470 right: 0; 2471 } 2472 .components-modal__header .components-modal__header-heading { 2473 font-size: 20px; 2474 font-weight: var(--wpds-typography-font-weight-emphasis, 600); 2475 } 2476 .components-modal__header h1 { 2477 line-height: 1; 2478 margin: 0; 2479 } 2480 .components-modal__content.has-scrolled-content:not(.hide-header) .components-modal__header { 2481 border-bottom-color: var(--wpds-color-stroke-surface-neutral, #dbdbdb); 2482 } 2483 .components-modal__header + p { 2484 margin-top: 0; 2485 } 2486 2487 .components-modal__header-heading-container { 2488 align-items: center; 2489 flex-grow: 1; 2490 display: flex; 2491 flex-direction: row; 2492 justify-content: flex-start; 2493 } 2494 2495 .components-modal__header-icon-container { 2496 display: inline-block; 2497 } 2498 .components-modal__header-icon-container svg { 2499 max-width: 36px; 2500 max-height: 36px; 2501 padding: 8px; 2502 } 2503 2504 .components-modal__content { 2505 flex: 1; 2506 margin-top: 72px; 2507 padding: 4px 24px 24px; 2508 overflow: auto; 2509 } 2510 .components-modal__content.hide-header { 2511 margin-top: 0; 2512 padding-top: 24px; 2513 } 2514 .components-modal__content.is-scrollable:focus-visible { 2515 box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)); 2516 outline: 2px solid transparent; 2517 outline-offset: -2px; 2518 } 2519 2520 .components-notice { 2521 --wp-components-notice-background-color: var(--wpds-color-background-surface-info-weak, #f3f9ff); 2522 --wp-components-notice-border-color: var(--wpds-color-stroke-surface-info, #a9c6e7); 2523 --wp-components-notice-text-color: var(--wpds-color-foreground-content-info, #001b4f); 2524 box-sizing: border-box; 2525 display: grid; 2526 grid-template-columns: 1fr auto; 2527 align-items: start; 2528 padding: var(--wpds-dimension-padding-md, 12px); 2529 border: var(--wpds-border-width-xs, 1px) solid var(--wp-components-notice-border-color); 2530 border-radius: var(--wpds-border-radius-lg, 8px); 2531 background-color: var(--wp-components-notice-background-color); 2532 color: var(--wp-components-notice-text-color); 2533 font-family: var(--wpds-typography-font-family-body, -apple-system, system-ui, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif); 2534 font-size: var(--wpds-typography-font-size-md, 13px); 2535 line-height: var(--wpds-typography-line-height-sm, 20px); 2536 } 2537 .components-notice.is-success { 2538 --wp-components-notice-background-color: var(--wpds-color-background-surface-success-weak, #ebffed); 2539 --wp-components-notice-border-color: var(--wpds-color-stroke-surface-success, #94d29e); 2540 --wp-components-notice-text-color: var(--wpds-color-foreground-content-success, #002900); 2541 } 2542 .components-notice.is-warning { 2543 --wp-components-notice-background-color: var(--wpds-color-background-surface-warning-weak, #fff7e1); 2544 --wp-components-notice-border-color: var(--wpds-color-stroke-surface-warning, #e1bc7c); 2545 --wp-components-notice-text-color: var(--wpds-color-foreground-content-warning, #2e1900); 2546 } 2547 .components-notice.is-error { 2548 --wp-components-notice-background-color: var(--wpds-color-background-surface-error-weak, #fff6f5); 2549 --wp-components-notice-border-color: var(--wpds-color-stroke-surface-error, #dab1aa); 2550 --wp-components-notice-text-color: var(--wpds-color-foreground-content-error, #470000); 2551 } 2552 2553 .components-notice__content { 2554 grid-column: 1; 2555 grid-row: 1; 2556 padding-block: calc((var(--wpds-dimension-size-sm, 24px) - 1lh) / 2); 2557 } 2558 2559 .components-notice__actions { 2560 grid-column: 1; 2561 grid-row: 2; 2562 display: flex; 2563 flex-wrap: wrap; 2564 align-items: center; 2565 gap: var(--wpds-dimension-gap-md, 12px); 2566 margin-top: var(--wpds-dimension-gap-sm, 8px); 2567 } 2568 2569 .components-notice__dismiss { 2570 grid-column: 2; 2571 grid-row: 1; 2572 color: var(--wpds-color-foreground-interactive-neutral, #1e1e1e); 2573 margin-inline-start: var(--wpds-dimension-gap-xs, 4px); 2574 } 2575 .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 { 2576 color: var(--wpds-color-foreground-interactive-neutral-active, #1e1e1e); 2577 background-color: transparent; 2578 } 2579 .components-notice__dismiss:not(:disabled):not([aria-disabled=true]):not(.is-secondary):hover { 2580 box-shadow: none; 2581 } 2582 2583 .components-notice-list { 2584 display: flex; 2585 flex-direction: column; 2586 gap: var(--wpds-dimension-gap-md, 12px); 2587 max-width: 100vw; 2588 box-sizing: border-box; 2589 } 2590 2591 .components-panel { 2592 background: #fff; 2593 border: 1px solid #e0e0e0; 2594 } 2595 .components-panel > .components-panel__header:first-child, 2596 .components-panel > .components-panel__body:first-child { 2597 margin-top: -1px; 2598 } 2599 .components-panel > .components-panel__header:last-child, 2600 .components-panel > .components-panel__body:last-child { 2601 border-bottom-width: 0; 2602 } 2603 2604 .components-panel + .components-panel { 2605 margin-top: -1px; 2606 } 2607 2608 .components-panel__body { 2609 border-top: 1px solid #e0e0e0; 2610 border-bottom: 1px solid #e0e0e0; 2611 } 2612 .components-panel__body h3 { 2613 margin: 0 0 0.5em; 2614 } 2615 .components-panel__body.is-opened { 2616 padding: 16px; 2617 } 2618 2619 .components-panel__header { 2620 display: flex; 2621 flex-shrink: 0; 2622 justify-content: space-between; 2623 align-items: center; 2624 padding: 0 16px; 2625 border-bottom: 1px solid var(--wpds-color-stroke-surface-neutral, #dbdbdb); 2626 box-sizing: content-box; 2627 height: 47px; 2628 } 2629 .components-panel__header h2 { 2630 margin: 0; 2631 font-size: inherit; 2632 color: inherit; 2633 } 2634 2635 .components-panel__body + .components-panel__body, 2636 .components-panel__body + .components-panel__header, 2637 .components-panel__header + .components-panel__body, 2638 .components-panel__header + .components-panel__header { 2639 margin-top: -1px; 2640 } 2641 2642 .components-panel__body > .components-panel__body-title { 2643 display: block; 2644 padding: 0; 2645 font-size: inherit; 2646 margin-top: 0; 2647 margin-bottom: 0; 2648 } 2649 @media not (prefers-reduced-motion) { 2650 .components-panel__body > .components-panel__body-title { 2651 transition: 0.1s background ease-in-out; 2652 } 2653 } 2654 2655 .components-panel__body.is-opened > .components-panel__body-title { 2656 margin: -16px; 2657 margin-bottom: 5px; 2658 } 2659 2660 .components-panel__body > .components-panel__body-title:hover { 2661 background: #f0f0f0; 2662 border: none; 2663 } 2664 2665 .components-panel__body-toggle.components-button { 2666 position: relative; 2667 padding: 16px 16px 16px 48px; 2668 width: 100%; 2669 font-weight: var(--wpds-typography-font-weight-emphasis, 600); 2670 text-align: right; 2671 color: #1e1e1e; 2672 } 2673 @media not (prefers-reduced-motion) { 2674 .components-panel__body-toggle.components-button { 2675 transition: 0.1s background ease-in-out; 2676 } 2677 } 2678 .components-panel__body-toggle.components-button { 2679 height: auto; 2680 } 2681 .components-panel__body-toggle.components-button:focus { 2682 outline-offset: calc(var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)) * -1); 2683 border-radius: 0; 2684 } 2685 .components-panel__body-toggle.components-button .components-panel__arrow { 2686 position: absolute; 2687 left: 16px; 2688 top: 50%; 2689 transform: translateY(-50%); 2690 color: #1e1e1e; 2691 fill: currentColor; 2692 } 2693 @media not (prefers-reduced-motion) { 2694 .components-panel__body-toggle.components-button .components-panel__arrow { 2695 transition: 0.1s color ease-in-out; 2696 } 2697 } 2698 .components-panel__body-toggle.components-button { 2699 } 2700 body.rtl .components-panel__body-toggle.components-button .dashicons-arrow-right { 2701 transform: scaleX(-1); 2702 margin-top: -10px; 2703 } 2704 .components-panel__body-toggle.components-button { 2705 } 2706 2707 .components-panel__icon { 2708 color: #757575; 2709 margin: -2px 6px -2px 0; 2710 } 2711 2712 .components-panel__body-toggle-icon { 2713 margin-left: -5px; 2714 } 2715 2716 .components-panel__color-title { 2717 float: right; 2718 height: 19px; 2719 } 2720 2721 .components-panel__row { 2722 display: flex; 2723 justify-content: space-between; 2724 align-items: center; 2725 margin-top: 8px; 2726 min-height: 36px; 2727 } 2728 .components-panel__row select { 2729 min-width: 0; 2730 } 2731 .components-panel__row label { 2732 margin-left: 12px; 2733 flex-shrink: 0; 2734 max-width: 75%; 2735 } 2736 .components-panel__row:empty, .components-panel__row:first-of-type { 2737 margin-top: 0; 2738 } 2739 2740 .components-panel .circle-picker { 2741 padding-bottom: 20px; 2742 } 2743 2744 .components-placeholder.components-placeholder { 2745 font-size: 13px; 2746 box-sizing: border-box; 2747 position: relative; 2748 padding: 24px; 2749 width: 100%; 2750 text-align: right; 2751 margin: 0; 2752 color: #1e1e1e; 2753 display: flex; 2754 flex-direction: column; 2755 align-items: flex-start; 2756 gap: 16px; 2757 -webkit-font-smoothing: subpixel-antialiased; 2758 border-radius: 2px; 2759 background-color: #fff; 2760 box-shadow: inset 0 0 0 1px #1e1e1e; 2761 outline: 1px solid transparent; 2762 } 2763 2764 .components-placeholder__error, 2765 .components-placeholder__instructions, 2766 .components-placeholder__label, 2767 .components-placeholder__fieldset { 2768 font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; 2769 font-size: 13px; 2770 letter-spacing: initial; 2771 line-height: initial; 2772 text-transform: none; 2773 font-weight: normal; 2774 } 2775 2776 .components-placeholder__label { 2777 font-weight: var(--wpds-typography-font-weight-emphasis, 600); 2778 align-items: center; 2779 display: flex; 2780 } 2781 .components-placeholder__label > svg, 2782 .components-placeholder__label .dashicon, 2783 .components-placeholder__label .block-editor-block-icon { 2784 margin-left: 4px; 2785 fill: currentColor; 2786 } 2787 @media (forced-colors: active) { 2788 .components-placeholder__label > svg, 2789 .components-placeholder__label .dashicon, 2790 .components-placeholder__label .block-editor-block-icon { 2791 fill: CanvasText; 2792 } 2793 } 2794 .components-placeholder__label:empty { 2795 display: none; 2796 } 2797 2798 .components-placeholder__fieldset, 2799 .components-placeholder__fieldset form { 2800 display: flex; 2801 flex-direction: row; 2802 width: 100%; 2803 flex-wrap: wrap; 2804 gap: 16px; 2805 justify-content: flex-start; 2806 } 2807 .components-placeholder__fieldset p, 2808 .components-placeholder__fieldset form p { 2809 font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; 2810 font-size: 13px; 2811 } 2812 2813 .components-placeholder__fieldset.is-column-layout, 2814 .components-placeholder__fieldset.is-column-layout form { 2815 flex-direction: column; 2816 } 2817 2818 .components-placeholder__input[type=url] { 2819 font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; 2820 padding: 6px 8px; 2821 /* Fonts smaller than 16px causes mobile safari to zoom. */ 2822 font-size: 16px; 2823 /* Override core line-height. To be reviewed. */ 2824 line-height: normal; 2825 box-shadow: 0 0 0 transparent; 2826 border-radius: 2px; 2827 border: 1px solid #949494; 2828 } 2829 @media not (prefers-reduced-motion) { 2830 .components-placeholder__input[type=url] { 2831 transition: box-shadow 0.1s linear; 2832 } 2833 } 2834 @media (min-width: 600px) { 2835 .components-placeholder__input[type=url] { 2836 font-size: 13px; 2837 /* Override core line-height. To be reviewed. */ 2838 line-height: normal; 2839 } 2840 } 2841 .components-placeholder__input[type=url]:focus { 2842 border-color: var(--wp-admin-theme-color); 2843 box-shadow: 0 0 0 0.5px var(--wp-admin-theme-color); 2844 outline: 2px solid transparent; 2845 } 2846 .components-placeholder__input[type=url]::-moz-placeholder { 2847 color: rgba(30, 30, 30, 0.62); 2848 } 2849 .components-placeholder__input[type=url]::placeholder { 2850 color: rgba(30, 30, 30, 0.62); 2851 } 2852 .components-placeholder__input[type=url] { 2853 flex: 1 1 auto; 2854 } 2855 2856 .components-placeholder__error { 2857 width: 100%; 2858 gap: 8px; 2859 } 2860 2861 .components-placeholder__fieldset .components-button:not(.is-link) ~ .components-button.is-link { 2862 margin-right: 10px; 2863 margin-left: 10px; 2864 } 2865 .components-placeholder__fieldset .components-button:not(.is-link) ~ .components-button.is-link:last-child { 2866 margin-left: 0; 2867 } 2868 2869 .components-placeholder.is-medium .components-placeholder__instructions, .components-placeholder.is-small .components-placeholder__instructions { 2870 display: none; 2871 } 2872 .components-placeholder.is-medium .components-placeholder__fieldset, 2873 .components-placeholder.is-medium .components-placeholder__fieldset form, .components-placeholder.is-small .components-placeholder__fieldset, 2874 .components-placeholder.is-small .components-placeholder__fieldset form { 2875 flex-direction: column; 2876 } 2877 .components-placeholder.is-medium .components-placeholder__fieldset > *, 2878 .components-placeholder.is-medium .components-button, .components-placeholder.is-small .components-placeholder__fieldset > *, 2879 .components-placeholder.is-small .components-button { 2880 width: 100%; 2881 justify-content: center; 2882 } 2883 .components-placeholder.is-small { 2884 padding: 16px; 2885 } 2886 2887 /** 2888 * Dashed style placeholders 2889 */ 2890 .components-placeholder.has-illustration { 2891 color: inherit; 2892 display: flex; 2893 box-shadow: none; 2894 border-radius: 0; 2895 backdrop-filter: blur(100px); 2896 background-color: transparent; 2897 backface-visibility: hidden; 2898 } 2899 .is-dark-theme .components-placeholder.has-illustration { 2900 background-color: rgba(0, 0, 0, 0.1); 2901 } 2902 .components-placeholder.has-illustration .components-placeholder__fieldset { 2903 margin-right: 0; 2904 margin-left: 0; 2905 } 2906 .components-placeholder.has-illustration .components-placeholder__label, 2907 .components-placeholder.has-illustration .components-placeholder__instructions, 2908 .components-placeholder.has-illustration .components-button { 2909 opacity: 0; 2910 pointer-events: none; 2911 } 2912 @media not (prefers-reduced-motion) { 2913 .components-placeholder.has-illustration .components-placeholder__label, 2914 .components-placeholder.has-illustration .components-placeholder__instructions, 2915 .components-placeholder.has-illustration .components-button { 2916 transition: opacity 0.1s linear; 2917 } 2918 } 2919 .is-selected > .components-placeholder.has-illustration .components-placeholder__label, 2920 .is-selected > .components-placeholder.has-illustration .components-placeholder__instructions, 2921 .is-selected > .components-placeholder.has-illustration .components-button { 2922 opacity: 1; 2923 pointer-events: auto; 2924 } 2925 .components-placeholder.has-illustration::before { 2926 content: ""; 2927 position: absolute; 2928 top: 0; 2929 left: 0; 2930 bottom: 0; 2931 right: 0; 2932 pointer-events: none; 2933 background: currentColor; 2934 opacity: 0.1; 2935 } 2936 .components-placeholder.has-illustration { 2937 overflow: hidden; 2938 } 2939 .is-selected .components-placeholder.has-illustration { 2940 overflow: auto; 2941 } 2942 2943 .components-placeholder__preview { 2944 display: flex; 2945 justify-content: center; 2946 } 2947 2948 .components-placeholder__illustration { 2949 box-sizing: content-box; 2950 position: absolute; 2951 top: 50%; 2952 right: 50%; 2953 transform: translate(50%, -50%); 2954 width: 100%; 2955 height: 100%; 2956 stroke: currentColor; 2957 opacity: 0.25; 2958 } 2959 2960 .components-popover { 2961 box-sizing: border-box; 2962 } 2963 .components-popover *, 2964 .components-popover *::before, 2965 .components-popover *::after { 2966 box-sizing: inherit; 2967 } 2968 .components-popover { 2969 z-index: 1000000; 2970 will-change: transform; 2971 } 2972 .components-popover.is-expanded { 2973 position: fixed; 2974 top: 0; 2975 right: 0; 2976 left: 0; 2977 bottom: 0; 2978 z-index: 1000000 !important; 2979 } 2980 2981 .components-popover__content { 2982 background: #fff; 2983 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); 2984 border-radius: 4px; 2985 box-sizing: border-box; 2986 width: -moz-min-content; 2987 width: min-content; 2988 } 2989 .is-alternate .components-popover__content { 2990 box-shadow: 0 0 0 1px #1e1e1e; 2991 border-radius: 2px; 2992 } 2993 .is-unstyled .components-popover__content { 2994 background: none; 2995 border-radius: 0; 2996 box-shadow: none; 2997 } 2998 .components-popover.is-expanded .components-popover__content { 2999 position: static; 3000 height: calc(100% - 48px); 3001 overflow-y: visible; 3002 width: auto; 3003 box-shadow: 0 -1px 0 0 #ccc; 3004 } 3005 .components-popover.is-expanded.is-alternate .components-popover__content { 3006 box-shadow: 0 -1px 0 #1e1e1e; 3007 } 3008 3009 .components-popover__header { 3010 align-items: center; 3011 background: #fff; 3012 display: flex; 3013 height: 48px; 3014 justify-content: space-between; 3015 padding: 0 16px 0 8px; 3016 } 3017 3018 .components-popover__header-title { 3019 overflow: hidden; 3020 text-overflow: ellipsis; 3021 white-space: nowrap; 3022 width: 100%; 3023 } 3024 3025 .components-popover__arrow { 3026 position: absolute; 3027 width: 14px; 3028 height: 14px; 3029 pointer-events: none; 3030 display: flex; 3031 } 3032 .components-popover__arrow::before { 3033 content: ""; 3034 position: absolute; 3035 top: -1px; 3036 right: 1px; 3037 height: 2px; 3038 left: 1px; 3039 background-color: #fff; 3040 } 3041 .components-popover__arrow.is-top { 3042 bottom: -14px !important; 3043 transform: rotate(0); 3044 } 3045 .components-popover__arrow.is-right { 3046 left: -14px !important; 3047 transform: rotate(90deg); 3048 } 3049 .components-popover__arrow.is-bottom { 3050 top: -14px !important; 3051 transform: rotate(180deg); 3052 } 3053 .components-popover__arrow.is-left { 3054 /*rtl:begin:ignore*/ 3055 right: -14px !important; 3056 transform: rotate(-90deg); 3057 } 3058 3059 .components-popover__triangle { 3060 display: block; 3061 flex: 1; 3062 } 3063 3064 .components-popover__triangle-bg { 3065 fill: #fff; 3066 } 3067 3068 .components-popover__triangle-border { 3069 fill: transparent; 3070 stroke-width: 1px; 3071 stroke: #ccc; 3072 } 3073 .is-alternate .components-popover__triangle-border { 3074 stroke: #1e1e1e; 3075 } 3076 3077 .components-radio-control { 3078 border: 0; 3079 margin: 0; 3080 padding: 0; 3081 font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; 3082 font-size: 13px; 3083 } 3084 3085 .components-radio-control__group-wrapper.has-help { 3086 margin-block-end: 12px; 3087 } 3088 3089 .components-radio-control__option { 3090 display: grid; 3091 grid-template-columns: auto 1fr; 3092 grid-template-rows: auto minmax(0, max-content); 3093 -moz-column-gap: 8px; 3094 column-gap: 8px; 3095 align-items: center; 3096 } 3097 3098 .components-radio-control__input[type=radio] { 3099 grid-column: 1; 3100 grid-row: 1; 3101 border: 1px solid #1e1e1e; 3102 margin-left: 12px; 3103 transition: none; 3104 border-radius: 50%; 3105 width: 24px; 3106 height: 24px; 3107 min-width: 24px; 3108 max-width: 24px; 3109 position: relative; 3110 } 3111 @media not (prefers-reduced-motion) { 3112 .components-radio-control__input[type=radio] { 3113 transition: box-shadow 0.1s linear; 3114 } 3115 } 3116 @media (min-width: 600px) { 3117 .components-radio-control__input[type=radio] { 3118 height: 16px; 3119 width: 16px; 3120 min-width: 16px; 3121 max-width: 16px; 3122 } 3123 } 3124 .components-radio-control__input[type=radio]:checked::before { 3125 box-sizing: inherit; 3126 width: 12px; 3127 height: 12px; 3128 position: absolute; 3129 top: 50%; 3130 right: 50%; 3131 transform: translate(50%, -50%); 3132 margin: 0; 3133 background-color: #fff; 3134 border: 4px solid #fff; 3135 } 3136 @media (min-width: 600px) { 3137 .components-radio-control__input[type=radio]:checked::before { 3138 width: 8px; 3139 height: 8px; 3140 } 3141 } 3142 .components-radio-control__input[type=radio]:focus { 3143 box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--wp-admin-theme-color); 3144 outline: 2px solid transparent; 3145 } 3146 .components-radio-control__input[type=radio]:checked { 3147 background: var(--wp-admin-theme-color); 3148 border: none; 3149 } 3150 .components-radio-control__input[type=radio] { 3151 display: inline-flex; 3152 margin: 0; 3153 padding: 0; 3154 -webkit-appearance: none; 3155 -moz-appearance: none; 3156 appearance: none; 3157 } 3158 .components-radio-control__input[type=radio]:not(:disabled) { 3159 cursor: var(--wpds-cursor-control, pointer); 3160 } 3161 .components-radio-control__input[type=radio]:focus { 3162 box-shadow: 0 0 0 var(--wp-admin-border-width-focus) #fff, 0 0 0 calc(2 * var(--wp-admin-border-width-focus)) var(--wp-admin-theme-color); 3163 outline: 2px solid transparent; 3164 outline-offset: 2px; 3165 } 3166 .components-radio-control__input[type=radio]:checked { 3167 background: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)); 3168 border-color: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)); 3169 } 3170 .components-radio-control__input[type=radio]:checked::before { 3171 content: ""; 3172 border-radius: 50%; 3173 } 3174 .components-radio-control__input[type=radio]:disabled { 3175 background: var(--wp-components-color-gray-100, var(--wpds-color-background-surface-neutral, #fcfcfc)); 3176 border: 1px solid var(--wpds-color-stroke-interactive-neutral-disabled, #dbdbdb); 3177 opacity: 1; 3178 } 3179 .components-radio-control__input[type=radio]:disabled:checked::before { 3180 border-color: var(--wp-components-color-gray-400, var(--wpds-color-stroke-interactive-neutral, #8d8d8d)); 3181 opacity: 1; 3182 } 3183 3184 .components-radio-control__label { 3185 grid-column: 2; 3186 grid-row: 1; 3187 } 3188 .components-radio-control:not(:disabled) .components-radio-control__label { 3189 cursor: var(--wpds-cursor-control, pointer); 3190 } 3191 .components-radio-control__label { 3192 line-height: 24px; 3193 } 3194 @media (min-width: 600px) { 3195 .components-radio-control__label { 3196 line-height: 16px; 3197 } 3198 } 3199 3200 .components-radio-control__option-description { 3201 grid-column: 2; 3202 grid-row: 2; 3203 padding-block-start: 4px; 3204 } 3205 .components-radio-control__option-description.components-radio-control__option-description { 3206 margin-top: 0; 3207 } 3208 3209 .components-resizable-box__handle { 3210 display: none; 3211 width: 23px; 3212 height: 23px; 3213 z-index: 2; 3214 } 3215 .components-resizable-box__container.has-show-handle .components-resizable-box__handle { 3216 display: block; 3217 } 3218 .components-resizable-box__handle > div { 3219 position: relative; 3220 width: 100%; 3221 height: 100%; 3222 z-index: 2; 3223 outline: none; 3224 } 3225 3226 .components-resizable-box__container > img { 3227 width: inherit; 3228 } 3229 3230 .components-resizable-box__handle::after { 3231 display: block; 3232 content: ""; 3233 width: 15px; 3234 height: 15px; 3235 border-radius: 50%; 3236 background: #fff; 3237 cursor: inherit; 3238 position: absolute; 3239 top: calc(50% - 8px); 3240 left: calc(50% - 8px); 3241 box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)), 0 1px 1px rgba(0, 0, 0, 0.03), 0 1px 2px rgba(0, 0, 0, 0.02), 0 3px 3px rgba(0, 0, 0, 0.02), 0 4px 4px rgba(0, 0, 0, 0.01); 3242 outline: 2px solid transparent; 3243 } 3244 3245 .components-resizable-box__side-handle::before { 3246 display: block; 3247 border-radius: 9999px; 3248 content: ""; 3249 width: 3px; 3250 height: 3px; 3251 background: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)); 3252 cursor: inherit; 3253 position: absolute; 3254 top: calc(50% - 1px); 3255 left: calc(50% - 1px); 3256 } 3257 @media not (prefers-reduced-motion) { 3258 .components-resizable-box__side-handle::before { 3259 transition: transform 0.1s ease-in; 3260 will-change: transform; 3261 } 3262 } 3263 .components-resizable-box__side-handle::before { 3264 opacity: 0; 3265 } 3266 3267 .components-resizable-box__side-handle { 3268 z-index: 2; 3269 } 3270 3271 .components-resizable-box__corner-handle { 3272 z-index: 2; 3273 } 3274 3275 .components-resizable-box__side-handle.components-resizable-box__handle-top, 3276 .components-resizable-box__side-handle.components-resizable-box__handle-bottom, 3277 .components-resizable-box__side-handle.components-resizable-box__handle-top::before, 3278 .components-resizable-box__side-handle.components-resizable-box__handle-bottom::before { 3279 width: 100%; 3280 right: 0; 3281 border-right: 0; 3282 border-left: 0; 3283 } 3284 3285 .components-resizable-box__side-handle.components-resizable-box__handle-left, 3286 .components-resizable-box__side-handle.components-resizable-box__handle-right, 3287 .components-resizable-box__side-handle.components-resizable-box__handle-left::before, 3288 .components-resizable-box__side-handle.components-resizable-box__handle-right::before { 3289 height: 100%; 3290 top: 0; 3291 border-top: 0; 3292 border-bottom: 0; 3293 } 3294 3295 @media not (prefers-reduced-motion) { 3296 .components-resizable-box__side-handle.components-resizable-box__handle-top:hover::before, 3297 .components-resizable-box__side-handle.components-resizable-box__handle-bottom:hover::before, 3298 .components-resizable-box__side-handle.components-resizable-box__handle-top:active::before, 3299 .components-resizable-box__side-handle.components-resizable-box__handle-bottom:active::before { 3300 animation: components-resizable-box__top-bottom-animation 0.1s ease-out 0s; 3301 animation-fill-mode: forwards; 3302 } 3303 } 3304 3305 @media not (prefers-reduced-motion) { 3306 .components-resizable-box__side-handle.components-resizable-box__handle-left:hover::before, 3307 .components-resizable-box__side-handle.components-resizable-box__handle-right:hover::before, 3308 .components-resizable-box__side-handle.components-resizable-box__handle-left:active::before, 3309 .components-resizable-box__side-handle.components-resizable-box__handle-right:active::before { 3310 animation: components-resizable-box__left-right-animation 0.1s ease-out 0s; 3311 animation-fill-mode: forwards; 3312 } 3313 } 3314 3315 /* This CSS is shown only to Safari, which has a bug with table-caption making it jumpy. 3316 See https://bugs.webkit.org/show_bug.cgi?id=187903. */ 3317 @media not all and (min-resolution: 0.001dpcm) { 3318 @supports (-webkit-appearance: none) { 3319 .components-resizable-box__side-handle.components-resizable-box__handle-top:hover::before, 3320 .components-resizable-box__side-handle.components-resizable-box__handle-bottom:hover::before, 3321 .components-resizable-box__side-handle.components-resizable-box__handle-top:active::before, 3322 .components-resizable-box__side-handle.components-resizable-box__handle-bottom:active::before { 3323 animation: none; 3324 } 3325 .components-resizable-box__side-handle.components-resizable-box__handle-left:hover::before, 3326 .components-resizable-box__side-handle.components-resizable-box__handle-right:hover::before, 3327 .components-resizable-box__side-handle.components-resizable-box__handle-left:active::before, 3328 .components-resizable-box__side-handle.components-resizable-box__handle-right:active::before { 3329 animation: none; 3330 } 3331 } 3332 } 3333 @keyframes components-resizable-box__top-bottom-animation { 3334 from { 3335 transform: scaleX(0); 3336 opacity: 0; 3337 } 3338 to { 3339 transform: scaleX(1); 3340 opacity: 1; 3341 } 3342 } 3343 @keyframes components-resizable-box__left-right-animation { 3344 from { 3345 transform: scaleY(0); 3346 opacity: 0; 3347 } 3348 to { 3349 transform: scaleY(1); 3350 opacity: 1; 3351 } 3352 } 3353 .components-resizable-box__handle-right { 3354 right: calc(11.5px * -1); 3355 } 3356 3357 .components-resizable-box__handle-left { 3358 left: calc(11.5px * -1); 3359 } 3360 3361 .components-resizable-box__handle-top { 3362 top: calc(11.5px * -1); 3363 } 3364 3365 .components-resizable-box__handle-bottom { 3366 bottom: calc(11.5px * -1); 3367 } 3368 .components-responsive-wrapper { 3369 position: relative; 3370 max-width: 100%; 3371 display: flex; 3372 align-items: center; 3373 justify-content: center; 3374 } 3375 3376 .components-responsive-wrapper__content { 3377 display: block; 3378 max-width: 100%; 3379 width: 100%; 3380 } 3381 3382 .components-sandbox { 3383 overflow: hidden; 3384 } 3385 3386 iframe.components-sandbox { 3387 width: 100%; 3388 } 3389 3390 html.lockscroll, 3391 body.lockscroll { 3392 overflow: hidden; 3393 } 3394 3395 .components-select-control__input { 3396 outline: 0; 3397 -webkit-tap-highlight-color: rgba(0, 0, 0, 0) !important; 3398 } 3399 3400 .components-snackbar { 3401 font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; 3402 font-size: 13px; 3403 background: rgba(0, 0, 0, 0.85); 3404 backdrop-filter: blur(16px) saturate(180%); 3405 border-radius: 4px; 3406 box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05), 0 2px 3px rgba(0, 0, 0, 0.04), 0 6px 6px rgba(0, 0, 0, 0.03), 0 8px 8px rgba(0, 0, 0, 0.02); 3407 color: #fff; 3408 padding: 12px 20px; 3409 width: 100%; 3410 max-width: var(--wpds-dimension-surface-width-lg, 560px); 3411 box-sizing: border-box; 3412 cursor: var(--wpds-cursor-control, pointer); 3413 pointer-events: auto; 3414 } 3415 @media (min-width: 600px) { 3416 .components-snackbar { 3417 width: -moz-fit-content; 3418 width: fit-content; 3419 } 3420 } 3421 .components-snackbar:focus { 3422 box-shadow: inset 0 0 0 1px #fff, 0 0 0 var(--wp-admin-border-width-focus) var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)); 3423 } 3424 .components-snackbar.components-snackbar-explicit-dismiss { 3425 cursor: default; 3426 } 3427 .components-snackbar .components-snackbar__content-with-icon { 3428 position: relative; 3429 padding-right: 24px; 3430 } 3431 .components-snackbar .components-snackbar__icon { 3432 position: absolute; 3433 right: -8px; 3434 top: calc((5.8px) / -2); 3435 } 3436 .components-snackbar .components-snackbar__dismiss-button { 3437 margin-right: 24px; 3438 cursor: var(--wpds-cursor-control, pointer); 3439 } 3440 3441 .components-snackbar__action.components-button, 3442 .components-snackbar__action.components-external-link { 3443 margin-right: 32px; 3444 color: #fff; 3445 flex-shrink: 0; 3446 } 3447 .components-snackbar__action.components-button:focus, 3448 .components-snackbar__action.components-external-link:focus { 3449 box-shadow: none; 3450 outline: 1px dotted #fff; 3451 } 3452 .components-snackbar__action.components-button:hover, 3453 .components-snackbar__action.components-external-link:hover { 3454 text-decoration: none; 3455 color: currentColor; 3456 } 3457 3458 .components-snackbar__content { 3459 display: flex; 3460 align-items: baseline; 3461 justify-content: space-between; 3462 line-height: 1.4; 3463 } 3464 3465 .components-snackbar-list { 3466 position: absolute; 3467 z-index: 100000; 3468 width: 100%; 3469 box-sizing: border-box; 3470 pointer-events: none; 3471 } 3472 3473 .components-snackbar-list__notice-container { 3474 position: relative; 3475 padding-top: 8px; 3476 } 3477 3478 .components-tab-panel__tabs { 3479 display: flex; 3480 align-items: stretch; 3481 flex-direction: row; 3482 } 3483 .components-tab-panel__tabs[aria-orientation=vertical] { 3484 flex-direction: column; 3485 } 3486 3487 .components-tab-panel__tabs-item { 3488 position: relative; 3489 border-radius: 0; 3490 height: 48px !important; 3491 background: transparent; 3492 border: none; 3493 box-shadow: none; 3494 cursor: var(--wpds-cursor-control, pointer); 3495 padding: 3px var(--wpds-dimension-padding-lg, 16px); 3496 margin-right: 0; 3497 font-weight: var(--wpds-typography-font-weight-default, 400); 3498 color: var(--wpds-color-foreground-interactive-neutral, #1e1e1e); 3499 } 3500 .components-tab-panel__tabs-item:disabled, .components-tab-panel__tabs-item[aria-disabled=true] { 3501 color: var(--wpds-color-foreground-interactive-neutral-disabled, #8d8d8d); 3502 } 3503 .components-tab-panel__tabs-item:not(:disabled, [aria-disabled=true]):is(:hover, :focus-visible) { 3504 color: var(--wpds-color-foreground-interactive-neutral-active, #1e1e1e); 3505 } 3506 .components-tab-panel__tabs-item:focus:not(:disabled) { 3507 position: relative; 3508 box-shadow: none; 3509 outline: none; 3510 } 3511 .components-tab-panel__tabs-item::after { 3512 content: ""; 3513 position: absolute; 3514 left: 0; 3515 bottom: 0; 3516 right: 0; 3517 pointer-events: none; 3518 background: var(--wpds-color-stroke-interactive-neutral-strong, #6e6e6e); 3519 height: calc(0 * var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px))); 3520 border-radius: 0; 3521 } 3522 @media not (prefers-reduced-motion) { 3523 .components-tab-panel__tabs-item::after { 3524 transition: height 0.1s linear; 3525 } 3526 } 3527 .components-tab-panel__tabs-item.is-active::after { 3528 height: calc(1 * var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px))); 3529 outline: 2px solid transparent; 3530 outline-offset: -1px; 3531 } 3532 .components-tab-panel__tabs-item::before { 3533 content: ""; 3534 position: absolute; 3535 inset: var(--wpds-dimension-padding-md, 12px); 3536 pointer-events: none; 3537 box-shadow: 0 0 0 0 transparent; 3538 border-radius: var(--wpds-border-radius-sm, 2px); 3539 } 3540 @media not (prefers-reduced-motion) { 3541 .components-tab-panel__tabs-item::before { 3542 transition: box-shadow 0.1s linear; 3543 } 3544 } 3545 .components-tab-panel__tabs-item:focus-visible::before { 3546 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)); 3547 outline: 2px solid transparent; 3548 } 3549 .components-tab-panel__tabs[aria-orientation=vertical] .components-tab-panel__tabs-item { 3550 border-radius: var(--wpds-border-radius-sm, 2px); 3551 } 3552 .components-tab-panel__tabs[aria-orientation=vertical] .components-tab-panel__tabs-item::after { 3553 display: none; 3554 } 3555 .components-tab-panel__tabs[aria-orientation=vertical] .components-tab-panel__tabs-item.is-active { 3556 background: var(--wpds-color-background-interactive-neutral-weak-active, #ededed); 3557 } 3558 3559 .components-tab-panel__tab-content:focus { 3560 box-shadow: none; 3561 outline: none; 3562 } 3563 .components-tab-panel__tab-content:focus-visible { 3564 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)); 3565 outline: 2px solid transparent; 3566 outline-offset: 0; 3567 } 3568 3569 .components-text-control__input, 3570 .components-text-control__input[type=text], 3571 .components-text-control__input[type=tel], 3572 .components-text-control__input[type=time], 3573 .components-text-control__input[type=url], 3574 .components-text-control__input[type=week], 3575 .components-text-control__input[type=password], 3576 .components-text-control__input[type=color], 3577 .components-text-control__input[type=date], 3578 .components-text-control__input[type=datetime], 3579 .components-text-control__input[type=datetime-local], 3580 .components-text-control__input[type=email], 3581 .components-text-control__input[type=month], 3582 .components-text-control__input[type=number] { 3583 width: 100%; 3584 height: 40px; 3585 margin: 0; 3586 background: var(--wp-components-color-background, var(--wpds-color-background-surface-neutral-strong, #fff)); 3587 color: var(--wp-components-color-foreground, var(--wpds-color-foreground-content-neutral, #1e1e1e)); 3588 font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; 3589 padding: 6px 8px; 3590 /* Fonts smaller than 16px causes mobile safari to zoom. */ 3591 font-size: 16px; 3592 /* Override core line-height. To be reviewed. */ 3593 line-height: normal; 3594 box-shadow: 0 0 0 transparent; 3595 border-radius: 2px; 3596 border: 1px solid #949494; 3597 } 3598 @media not (prefers-reduced-motion) { 3599 .components-text-control__input, 3600 .components-text-control__input[type=text], 3601 .components-text-control__input[type=tel], 3602 .components-text-control__input[type=time], 3603 .components-text-control__input[type=url], 3604 .components-text-control__input[type=week], 3605 .components-text-control__input[type=password], 3606 .components-text-control__input[type=color], 3607 .components-text-control__input[type=date], 3608 .components-text-control__input[type=datetime], 3609 .components-text-control__input[type=datetime-local], 3610 .components-text-control__input[type=email], 3611 .components-text-control__input[type=month], 3612 .components-text-control__input[type=number] { 3613 transition: box-shadow 0.1s linear; 3614 } 3615 } 3616 @media (min-width: 600px) { 3617 .components-text-control__input, 3618 .components-text-control__input[type=text], 3619 .components-text-control__input[type=tel], 3620 .components-text-control__input[type=time], 3621 .components-text-control__input[type=url], 3622 .components-text-control__input[type=week], 3623 .components-text-control__input[type=password], 3624 .components-text-control__input[type=color], 3625 .components-text-control__input[type=date], 3626 .components-text-control__input[type=datetime], 3627 .components-text-control__input[type=datetime-local], 3628 .components-text-control__input[type=email], 3629 .components-text-control__input[type=month], 3630 .components-text-control__input[type=number] { 3631 font-size: 13px; 3632 /* Override core line-height. To be reviewed. */ 3633 line-height: normal; 3634 } 3635 } 3636 .components-text-control__input:focus, 3637 .components-text-control__input[type=text]:focus, 3638 .components-text-control__input[type=tel]:focus, 3639 .components-text-control__input[type=time]:focus, 3640 .components-text-control__input[type=url]:focus, 3641 .components-text-control__input[type=week]:focus, 3642 .components-text-control__input[type=password]:focus, 3643 .components-text-control__input[type=color]:focus, 3644 .components-text-control__input[type=date]:focus, 3645 .components-text-control__input[type=datetime]:focus, 3646 .components-text-control__input[type=datetime-local]:focus, 3647 .components-text-control__input[type=email]:focus, 3648 .components-text-control__input[type=month]:focus, 3649 .components-text-control__input[type=number]:focus { 3650 border-color: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)); 3651 box-shadow: 0 0 0 0.5px var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)); 3652 outline: 2px solid transparent; 3653 } 3654 .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 { 3655 color: rgba(30, 30, 30, 0.62); 3656 } 3657 .components-text-control__input::placeholder, 3658 .components-text-control__input[type=text]::placeholder, 3659 .components-text-control__input[type=tel]::placeholder, 3660 .components-text-control__input[type=time]::placeholder, 3661 .components-text-control__input[type=url]::placeholder, 3662 .components-text-control__input[type=week]::placeholder, 3663 .components-text-control__input[type=password]::placeholder, 3664 .components-text-control__input[type=color]::placeholder, 3665 .components-text-control__input[type=date]::placeholder, 3666 .components-text-control__input[type=datetime]::placeholder, 3667 .components-text-control__input[type=datetime-local]::placeholder, 3668 .components-text-control__input[type=email]::placeholder, 3669 .components-text-control__input[type=month]::placeholder, 3670 .components-text-control__input[type=number]::placeholder { 3671 color: rgba(30, 30, 30, 0.62); 3672 } 3673 .components-text-control__input, 3674 .components-text-control__input[type=text], 3675 .components-text-control__input[type=tel], 3676 .components-text-control__input[type=time], 3677 .components-text-control__input[type=url], 3678 .components-text-control__input[type=week], 3679 .components-text-control__input[type=password], 3680 .components-text-control__input[type=color], 3681 .components-text-control__input[type=date], 3682 .components-text-control__input[type=datetime], 3683 .components-text-control__input[type=datetime-local], 3684 .components-text-control__input[type=email], 3685 .components-text-control__input[type=month], 3686 .components-text-control__input[type=number] { 3687 border-color: var(--wp-components-color-gray-600, var(--wpds-color-stroke-interactive-neutral, #8d8d8d)); 3688 padding-right: 12px; 3689 padding-left: 12px; 3690 } 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: color-mix(in srgb, var(--wp-components-color-foreground, var(--wpds-color-foreground-content-neutral, #1e1e1e)), transparent 38%); 3693 } 3694 .components-text-control__input::placeholder, 3695 .components-text-control__input[type=text]::placeholder, 3696 .components-text-control__input[type=tel]::placeholder, 3697 .components-text-control__input[type=time]::placeholder, 3698 .components-text-control__input[type=url]::placeholder, 3699 .components-text-control__input[type=week]::placeholder, 3700 .components-text-control__input[type=password]::placeholder, 3701 .components-text-control__input[type=color]::placeholder, 3702 .components-text-control__input[type=date]::placeholder, 3703 .components-text-control__input[type=datetime]::placeholder, 3704 .components-text-control__input[type=datetime-local]::placeholder, 3705 .components-text-control__input[type=email]::placeholder, 3706 .components-text-control__input[type=month]::placeholder, 3707 .components-text-control__input[type=number]::placeholder { 3708 color: color-mix(in srgb, var(--wp-components-color-foreground, var(--wpds-color-foreground-content-neutral, #1e1e1e)), transparent 38%); 3709 } 3710 3711 .components-text-control__input[type=email], 3712 .components-text-control__input[type=url] { 3713 direction: ltr; 3714 } 3715 3716 .components-tip { 3717 display: flex; 3718 color: #757575; 3719 } 3720 .components-tip svg { 3721 align-self: center; 3722 fill: #f0b849; 3723 flex-shrink: 0; 3724 margin-left: 16px; 3725 } 3726 .components-tip p { 3727 margin: 0; 3728 } 3729 3730 .components-toggle-control__label { 3731 line-height: 16px; 3732 } 3733 .components-toggle-control__label:not(.is-disabled) { 3734 cursor: var(--wpds-cursor-control, pointer); 3735 } 3736 3737 .components-toggle-control__help { 3738 display: inline-block; 3739 margin-inline-start: 40px; 3740 } 3741 3742 .components-accessible-toolbar { 3743 display: inline-flex; 3744 border: 1px solid var(--wp-components-color-foreground, var(--wpds-color-foreground-content-neutral, #1e1e1e)); 3745 border-radius: 2px; 3746 flex-shrink: 0; 3747 } 3748 .components-accessible-toolbar > .components-toolbar-group:last-child { 3749 border-left: none; 3750 } 3751 .components-accessible-toolbar.is-unstyled { 3752 border: none; 3753 } 3754 .components-accessible-toolbar.is-unstyled > .components-toolbar-group { 3755 border-left: none; 3756 } 3757 3758 .components-accessible-toolbar[aria-orientation=vertical], 3759 .components-toolbar[aria-orientation=vertical] { 3760 display: flex; 3761 flex-direction: column; 3762 align-items: center; 3763 } 3764 .components-accessible-toolbar .components-button, 3765 .components-toolbar .components-button { 3766 position: relative; 3767 height: 48px; 3768 z-index: 1; 3769 padding-right: 16px; 3770 padding-left: 16px; 3771 } 3772 .components-accessible-toolbar .components-button:focus:not(:disabled), 3773 .components-toolbar .components-button:focus:not(:disabled) { 3774 box-shadow: none; 3775 outline: none; 3776 } 3777 .components-accessible-toolbar .components-button::before, 3778 .components-toolbar .components-button::before { 3779 content: ""; 3780 position: absolute; 3781 display: block; 3782 border-radius: 2px; 3783 height: 32px; 3784 right: 8px; 3785 left: 8px; 3786 z-index: -1; 3787 } 3788 @media not (prefers-reduced-motion) { 3789 .components-accessible-toolbar .components-button::before, 3790 .components-toolbar .components-button::before { 3791 animation: components-button__appear-animation 0.1s ease; 3792 animation-fill-mode: forwards; 3793 } 3794 } 3795 .components-accessible-toolbar .components-button svg, 3796 .components-toolbar .components-button svg { 3797 position: relative; 3798 margin-right: auto; 3799 margin-left: auto; 3800 } 3801 .components-accessible-toolbar .components-button.is-pressed, 3802 .components-toolbar .components-button.is-pressed { 3803 background: transparent; 3804 } 3805 .components-accessible-toolbar .components-button.is-pressed:hover, 3806 .components-toolbar .components-button.is-pressed:hover { 3807 background: transparent; 3808 } 3809 .components-accessible-toolbar .components-button.is-pressed::before, 3810 .components-toolbar .components-button.is-pressed::before { 3811 background: var(--wp-components-color-foreground, var(--wpds-color-foreground-content-neutral, #1e1e1e)); 3812 } 3813 .components-accessible-toolbar .components-button:focus::before, 3814 .components-toolbar .components-button:focus::before { 3815 box-shadow: inset 0 0 0 1px #fff, 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color); 3816 outline: 2px solid transparent; 3817 } 3818 .components-accessible-toolbar .components-button.has-icon.has-icon, 3819 .components-toolbar .components-button.has-icon.has-icon { 3820 padding-right: 8px; 3821 padding-left: 8px; 3822 min-width: 48px; 3823 } 3824 3825 @keyframes components-button__appear-animation { 3826 from { 3827 transform: scaleY(0); 3828 } 3829 to { 3830 transform: scaleY(1); 3831 } 3832 } 3833 .components-toolbar__control.components-button { 3834 position: relative; 3835 } 3836 .components-toolbar__control.components-button[data-subscript] svg { 3837 padding: 5px 0 5px 10px; 3838 } 3839 .components-toolbar__control.components-button[data-subscript]::after { 3840 content: attr(data-subscript); 3841 font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; 3842 font-size: 13px; 3843 font-weight: var(--wpds-typography-font-weight-emphasis, 600); 3844 line-height: 12px; 3845 position: absolute; 3846 left: 8px; 3847 bottom: 10px; 3848 } 3849 .components-toolbar__control.components-button:not(:disabled).is-pressed[data-subscript]::after { 3850 color: #fff; 3851 } 3852 3853 .components-toolbar-group { 3854 min-height: 48px; 3855 border-left: 1px solid var(--wp-components-color-foreground, var(--wpds-color-foreground-content-neutral, #1e1e1e)); 3856 background-color: var(--wp-components-color-background, var(--wpds-color-background-surface-neutral-strong, #fff)); 3857 display: inline-flex; 3858 flex-shrink: 0; 3859 flex-wrap: wrap; 3860 padding-right: 6px; 3861 padding-left: 6px; 3862 } 3863 .components-toolbar-group .components-toolbar-group.components-toolbar-group { 3864 border-width: 0; 3865 margin: 0; 3866 } 3867 .components-toolbar-group { 3868 line-height: 0; 3869 } 3870 .components-toolbar-group .components-button.components-button, 3871 .components-toolbar-group .components-button.has-icon.has-icon { 3872 justify-content: center; 3873 min-width: 36px; 3874 padding-right: 6px; 3875 padding-left: 6px; 3876 } 3877 .components-toolbar-group .components-button.components-button svg, 3878 .components-toolbar-group .components-button.has-icon.has-icon svg { 3879 min-width: var(--wpds-dimension-size-sm, 24px); 3880 } 3881 .components-toolbar-group .components-button.components-button::before, 3882 .components-toolbar-group .components-button.has-icon.has-icon::before { 3883 right: 2px; 3884 left: 2px; 3885 } 3886 3887 .components-toolbar { 3888 min-height: 48px; 3889 margin: 0; 3890 border: 1px solid var(--wp-components-color-foreground, var(--wpds-color-foreground-content-neutral, #1e1e1e)); 3891 background-color: var(--wp-components-color-background, var(--wpds-color-background-surface-neutral-strong, #fff)); 3892 display: inline-flex; 3893 flex-shrink: 0; 3894 flex-wrap: wrap; 3895 } 3896 .components-toolbar .components-toolbar.components-toolbar { 3897 border-width: 0; 3898 margin: 0; 3899 } 3900 3901 div.components-toolbar > div { 3902 display: flex; 3903 margin: 0; 3904 } 3905 div.components-toolbar > div + div.has-left-divider { 3906 margin-right: 6px; 3907 position: relative; 3908 overflow: visible; 3909 } 3910 div.components-toolbar > div + div.has-left-divider::before { 3911 display: inline-block; 3912 content: ""; 3913 box-sizing: content-box; 3914 background-color: var(--wpds-color-stroke-surface-neutral, #dbdbdb); 3915 position: absolute; 3916 top: 8px; 3917 right: -3px; 3918 width: 1px; 3919 height: 20px; 3920 } 3921 3922 .components-tooltip { 3923 background: #000; 3924 font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; 3925 border-radius: var(--wpds-border-radius-md, 4px); 3926 color: #f0f0f0; 3927 text-align: center; 3928 line-height: 1.4; 3929 font-size: 12px; 3930 padding: 4px 8px; 3931 z-index: 1000002; 3932 box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05), 0 2px 3px rgba(0, 0, 0, 0.04), 0 6px 6px rgba(0, 0, 0, 0.03), 0 8px 8px rgba(0, 0, 0, 0.02); 3933 } 3934 3935 .components-tooltip__shortcut { 3936 margin-right: 8px; 3937 } 3938 3939 .components-validated-control:has(:is(input, select):invalid[data-validity-visible]) .components-input-control__backdrop { 3940 --wp-components-color-accent: #cc1818; 3941 border-color: #cc1818; 3942 } 3943 .components-validated-control :is(textarea, input[type=text]):invalid[data-validity-visible] { 3944 --wp-admin-theme-color: #cc1818; 3945 --wp-components-color-accent: #cc1818; 3946 border-color: #cc1818; 3947 } 3948 .components-validated-control .components-combobox-control__suggestions-container:has(input:invalid[data-validity-visible]):not(:has([aria-expanded=true])) { 3949 --wp-components-color-accent: #cc1818; 3950 } 3951 3952 .components-validated-control__wrapper-with-error-delegate { 3953 position: relative; 3954 } 3955 .components-validated-control__wrapper-with-error-delegate:has(select:invalid[data-validity-visible]) .components-input-control__backdrop { 3956 --wp-components-color-accent: #cc1818; 3957 border-color: #cc1818; 3958 } 3959 .components-validated-control__wrapper-with-error-delegate:has(input[type=radio]:invalid[data-validity-visible]) { 3960 --wp-components-color-accent: #cc1818; 3961 } 3962 .components-validated-control__wrapper-with-error-delegate:has(input:invalid[data-validity-visible]) .components-form-token-field__input-container:not(:has([aria-expanded=true])) { 3963 --wp-components-color-accent: #cc1818; 3964 border-color: #cc1818; 3965 } 3966 .components-validated-control__wrapper-with-error-delegate:has(input:invalid[data-validity-visible]) .components-validated-control__content-editable [role=textbox] { 3967 --wp-components-color-accent: #cc1818; 3968 border-color: #cc1818; 3969 } 3970 3971 .components-validated-control__error-delegate { 3972 position: absolute; 3973 top: 0; 3974 height: 100%; 3975 width: 100%; 3976 opacity: 0; 3977 pointer-events: none; 3978 } 3979 3980 .components-validated-control__indicator { 3981 display: flex; 3982 align-items: flex-start; 3983 gap: 4px; 3984 margin: 8px 0 0; 3985 font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; 3986 font-size: 12px; 3987 line-height: 16px; 3988 color: var(--wp-components-color-gray-700, var(--wpds-color-foreground-content-neutral-weak, #707070)); 3989 animation: components-validated-control__indicator-jump 0.2s cubic-bezier(0.68, -0.55, 0.27, 1.55); 3990 } 3991 .components-validated-control__indicator.is-invalid { 3992 color: #cc1818; 3993 } 3994 .components-validated-control__indicator.is-valid { 3995 color: color-mix(in srgb, #000 30%, #4ab866); 3996 } 3997 3998 .components-validated-control__indicator-icon { 3999 flex-shrink: 0; 4000 } 4001 4002 .components-validated-control__indicator-spinner { 4003 margin: 2px; 4004 width: 12px; 4005 height: 12px; 4006 } 4007 4008 @keyframes components-validated-control__indicator-jump { 4009 0% { 4010 transform: translateY(-4px); 4011 opacity: 0; 4012 } 4013 100% { 4014 transform: translateY(0); 4015 opacity: 1; 4016 } 4017 } 4018 :root { 4019 --wp-admin-theme-color: #3858e9; 4020 --wp-admin-theme-color--rgb: 56, 88, 233; 4021 --wp-admin-theme-color-darker-10: rgb(33.0384615385, 68.7307692308, 230.4615384615); 4022 --wp-admin-theme-color-darker-10--rgb: 33.0384615385, 68.7307692308, 230.4615384615; 4023 --wp-admin-theme-color-darker-20: rgb(23.6923076923, 58.1538461538, 214.3076923077); 4024 --wp-admin-theme-color-darker-20--rgb: 23.6923076923, 58.1538461538, 214.3076923077; 4025 --wp-admin-border-width-focus: 2px; 4026 } 4027 @media (min-resolution: 192dpi) { 4028 :root { 4029 --wp-admin-border-width-focus: 1.5px; 4030 } 4031 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated : Mon Aug 17 08:20:25 2026 | Cross-referenced by PHPXref |