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