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