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