| [ Index ] |
PHP Cross Reference of WordPress Trunk (Updated Daily) |
[Summary view] [Print] [Text view]
1 /** 2 * Typography 3 */ 4 /** 5 * SCSS Variables. 6 * 7 * Please use variables from this sheet to ensure consistency across the UI. 8 * Don't add to this sheet unless you're pretty sure the value will be reused in many places. 9 * For example, don't add rules to this sheet that affect block visuals. It's purely for UI. 10 */ 11 /** 12 * Colors 13 */ 14 /** 15 * Fonts & basic variables. 16 */ 17 /** 18 * Typography 19 */ 20 /** 21 * Grid System. 22 * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/ 23 */ 24 /** 25 * Radius scale. 26 */ 27 /** 28 * Elevation scale. 29 */ 30 /** 31 * Dimensions. 32 */ 33 /** 34 * Mobile specific styles 35 */ 36 /** 37 * Editor styles. 38 */ 39 /** 40 * Block & Editor UI. 41 */ 42 /** 43 * Block paddings. 44 */ 45 /** 46 * React Native specific. 47 * These variables do not appear to be used anywhere else. 48 */ 49 /** 50 * Breakpoints & Media Queries 51 */ 52 /** 53 * Converts a hex value into the rgb equivalent. 54 * 55 * @param {string} hex - the hexadecimal value to convert 56 * @return {string} comma separated rgb values 57 */ 58 /** 59 * Long content fade mixin 60 * 61 * Creates a fading overlay to signify that the content is longer 62 * than the space allows. 63 */ 64 /** 65 * Breakpoint mixins 66 */ 67 /** 68 * Focus styles. 69 */ 70 /** 71 * Standard focus rings for the WordPress Design System. 72 * 73 * Apply `outset-ring__focus` inside the relevant pseudo-class at the call site, 74 * e.g. `&:focus { @include outset-ring__focus(); }`. 75 */ 76 /** 77 * Applies editor left position to the selector passed as argument 78 */ 79 /** 80 * Styles that are reused verbatim in a few places 81 */ 82 /** 83 * Allows users to opt-out of animations via OS-level preferences. 84 */ 85 /** 86 * Reset default styles for JavaScript UI based pages. 87 * This is a WP-admin agnostic reset 88 */ 89 /** 90 * Reset the WP Admin page styles for Gutenberg-like pages. 91 */ 92 /** 93 * Creates a checkerboard pattern background to indicate transparency. 94 * @param {String} $size - The size of the squares in the checkerboard pattern. Default is 12px. 95 */ 96 :root { 97 --wp-block-synced-color: #7a00df; 98 --wp-block-synced-color--rgb: 122, 0, 223; 99 --wp-bound-block-color: var(--wp-block-synced-color); 100 --wp-editor-canvas-background: #ddd; 101 --wp-admin-theme-color: #3858e9; 102 --wp-admin-theme-color--rgb: 56, 88, 233; 103 --wp-admin-theme-color-darker-10: rgb(33.0384615385, 68.7307692308, 230.4615384615); 104 --wp-admin-theme-color-darker-10--rgb: 33.0384615385, 68.7307692308, 230.4615384615; 105 --wp-admin-theme-color-darker-20: rgb(23.6923076923, 58.1538461538, 214.3076923077); 106 --wp-admin-theme-color-darker-20--rgb: 23.6923076923, 58.1538461538, 214.3076923077; 107 --wp-admin-border-width-focus: 2px; 108 } 109 @media (min-resolution: 192dpi) { 110 :root { 111 --wp-admin-border-width-focus: 1.5px; 112 } 113 } 114 115 body.admin-color-fresh { 116 --wp-admin-theme-color: #007cba; 117 --wp-admin-theme-color--rgb: 0, 124, 186; 118 --wp-admin-theme-color-darker-10: rgb(0, 107, 160.5); 119 --wp-admin-theme-color-darker-10--rgb: 0, 107, 160.5; 120 --wp-admin-theme-color-darker-20: #005a87; 121 --wp-admin-theme-color-darker-20--rgb: 0, 90, 135; 122 --wp-admin-border-width-focus: 2px; 123 } 124 @media (min-resolution: 192dpi) { 125 body.admin-color-fresh { 126 --wp-admin-border-width-focus: 1.5px; 127 } 128 } 129 130 .block-editor-autocompleters__block { 131 white-space: nowrap; 132 } 133 .block-editor-autocompleters__block .block-editor-block-icon { 134 margin-right: 8px; 135 } 136 .block-editor-autocompleters__block:is([aria-selected=true], :focus) .block-editor-block-icon { 137 color: inherit !important; 138 background-color: transparent !important; 139 } 140 141 .block-editor-background-clip-control__option::before { 142 content: ""; 143 flex-shrink: 0; 144 align-self: center; 145 width: 24px; 146 height: 24px; 147 margin-right: 8px; 148 border-radius: 2px; 149 box-sizing: border-box; 150 background-color: rgba(30, 30, 30, 0.55); 151 border: 3px dashed #ddd; 152 background-clip: border-box; 153 } 154 155 .block-editor-background-clip-control__option.is-default::before { 156 visibility: hidden; 157 } 158 159 .block-editor-background-clip-control__option.is-padding-box::before { 160 background-clip: padding-box; 161 } 162 163 .block-editor-background-clip-control__option.is-content-box::before { 164 padding: 3px; 165 background-clip: content-box; 166 } 167 168 .block-editor-background-clip-control__option.is-text::before { 169 border: none; 170 mask-image: repeating-linear-gradient(to bottom, #000 0 5px, transparent 5px 9px); 171 -webkit-mask-image: repeating-linear-gradient(to bottom, #000 0 5px, transparent 5px 9px); 172 } 173 174 .block-editor-global-styles-background-panel__inspector-media-replace-container { 175 position: relative; 176 } 177 .block-editor-global-styles-background-panel__inspector-media-replace-container.is-open { 178 background-color: #f0f0f0; 179 } 180 .block-editor-global-styles-background-panel__inspector-media-replace-container .block-editor-global-styles-background-panel__image-tools-panel-item { 181 flex-grow: 1; 182 border: 0; 183 } 184 .block-editor-global-styles-background-panel__inspector-media-replace-container .block-editor-global-styles-background-panel__image-tools-panel-item .components-dropdown { 185 display: block; 186 } 187 .block-editor-global-styles-background-panel__inspector-media-replace-container .block-editor-global-styles-background-panel__inspector-preview-inner { 188 height: 100%; 189 } 190 .block-editor-global-styles-background-panel__inspector-media-replace-container .components-dropdown { 191 display: block; 192 } 193 .block-editor-global-styles-background-panel__inspector-media-replace-container .components-dropdown .block-editor-global-styles-background-panel__dropdown-toggle { 194 height: 40px; 195 } 196 197 .block-editor-global-styles-background-panel__image-tools-panel-item { 198 border: 1px solid #ddd; 199 grid-column: 1/-1; 200 position: relative; 201 } 202 .block-editor-global-styles-background-panel__image-tools-panel-item .components-drop-zone__content-icon { 203 display: none; 204 } 205 .block-editor-global-styles-background-panel__image-tools-panel-item .components-dropdown { 206 display: block; 207 } 208 .block-editor-global-styles-background-panel__image-tools-panel-item button.components-button { 209 color: #1e1e1e; 210 width: 100%; 211 display: block; 212 } 213 .block-editor-global-styles-background-panel__image-tools-panel-item button.components-button:hover { 214 color: var(--wp-admin-theme-color); 215 } 216 .block-editor-global-styles-background-panel__image-tools-panel-item .block-editor-global-styles-background-panel__loading { 217 height: 100%; 218 position: absolute; 219 z-index: 1; 220 width: 100%; 221 padding: 10px 0 0 0; 222 } 223 .block-editor-global-styles-background-panel__image-tools-panel-item .block-editor-global-styles-background-panel__loading svg { 224 margin: 0; 225 } 226 227 .block-editor-global-styles-background-panel__dropdown-toggle { 228 cursor: var(--wpds-cursor-control, pointer); 229 background: transparent; 230 border: none; 231 height: 100%; 232 width: 100%; 233 padding-left: 12px; 234 padding-right: 32px; 235 } 236 237 .block-editor-global-styles-background-panel__reset { 238 position: absolute; 239 right: 0; 240 top: 8px; 241 margin: auto 8px auto; 242 opacity: 0; 243 } 244 @media not (prefers-reduced-motion) { 245 .block-editor-global-styles-background-panel__reset { 246 transition: opacity 0.1s ease-in-out; 247 } 248 } 249 .block-editor-global-styles-background-panel__reset.has-local-override-from-global-styles__reset { 250 position: absolute; 251 display: inline-flex; 252 align-items: center; 253 justify-content: center; 254 top: 50%; 255 transform: translateY(-50%); 256 margin-block: 0; 257 margin-inline: 0 8px; 258 opacity: 1; 259 } 260 .block-editor-global-styles-background-panel__reset.block-editor-global-styles-background-panel__reset { 261 border-radius: 2px; 262 } 263 .block-editor-global-styles-background-panel__dropdown-toggle:hover + .block-editor-global-styles-background-panel__reset, .block-editor-global-styles-background-panel__reset:focus, .block-editor-global-styles-background-panel__reset:focus-within, .block-editor-global-styles-background-panel__reset:hover { 264 opacity: 1; 265 } 266 @media (hover: none) { 267 .block-editor-global-styles-background-panel__reset { 268 opacity: 1; 269 } 270 } 271 272 .block-editor-global-styles-background-panel__inspector-media-replace-title { 273 word-break: break-all; 274 white-space: normal; 275 text-align: start; 276 } 277 278 .block-editor-global-styles-background-panel__inspector-image-indicator { 279 width: 20px; 280 height: 20px; 281 border-radius: 2px; 282 box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2); 283 background: #fff linear-gradient(-45deg, transparent 48%, #ddd 48%, #ddd 52%, transparent 52%); 284 background-size: cover; 285 outline: 1px solid transparent; 286 } 287 288 .block-editor-global-styles-background-panel__dropdown-content-wrapper { 289 min-width: 260px; 290 overflow-x: hidden; 291 } 292 .block-editor-global-styles-background-panel__dropdown-content-wrapper .components-focal-point-picker-wrapper { 293 background-color: #f0f0f0; 294 width: 100%; 295 border-radius: 2px; 296 border: 1px solid #ddd; 297 } 298 .block-editor-global-styles-background-panel__dropdown-content-wrapper .components-focal-point-picker__media--image { 299 max-height: 180px; 300 } 301 .block-editor-global-styles-background-panel__dropdown-content-wrapper .components-focal-point-picker::after { 302 content: none; 303 } 304 305 .modal-open .block-editor-global-styles-background-panel__popover { 306 z-index: 159890; 307 } 308 309 .block-editor-global-styles-background-panel__media-replace-popover .components-popover__content { 310 width: auto; 311 } 312 .block-editor-global-styles-background-panel__media-replace-popover .components-menu-item__button.components-button { 313 padding: 0 8px; 314 } 315 .block-editor-global-styles-background-panel__media-replace-popover .components-button .components-menu-items__item-icon.has-icon-right { 316 margin-left: 16px; 317 } 318 319 .block-editor-block-alignment-control__menu-group .components-menu-item__info { 320 margin-top: 0; 321 } 322 323 iframe[name=editor-canvas] { 324 box-sizing: border-box; 325 width: 100%; 326 height: 100%; 327 display: block; 328 } 329 @media not (prefers-reduced-motion) { 330 iframe[name=editor-canvas] { 331 transition: all 400ms cubic-bezier(0.46, 0.03, 0.52, 0.96); 332 } 333 } 334 iframe[name=editor-canvas] { 335 background-color: var(--wp-editor-canvas-background); 336 } 337 338 .block-editor-block-icon { 339 display: flex; 340 align-items: center; 341 justify-content: center; 342 width: 24px; 343 height: 24px; 344 } 345 .block-editor-block-icon.has-colors svg { 346 fill: currentColor; 347 } 348 .block-editor-block-icon svg { 349 min-width: 20px; 350 min-height: 20px; 351 max-width: 24px; 352 max-height: 24px; 353 } 354 355 .block-editor-block-inspector p:not(.components-base-control__help) { 356 margin-top: 0; 357 } 358 .block-editor-block-inspector h2, 359 .block-editor-block-inspector h3 { 360 font-size: 13px; 361 color: #1e1e1e; 362 margin-bottom: 1.5em; 363 } 364 .block-editor-block-inspector .components-base-control:where(:not(:last-child)), 365 .block-editor-block-inspector .components-radio-control:where(:not(:last-child)), 366 .block-editor-block-inspector .block-editor-html-element-control:where(:not(:last-child)), 367 .block-editor-block-inspector .block-editor-image-size-control:where(:not(:last-child)) { 368 margin-bottom: 16px; 369 } 370 .block-editor-block-inspector .components-focal-point-picker-control .components-base-control, 371 .block-editor-block-inspector .components-query-controls .components-base-control, 372 .block-editor-block-inspector .components-range-control .components-base-control, 373 .block-editor-block-inspector .block-editor-html-element-control .components-base-control, 374 .block-editor-block-inspector .block-editor-image-size-control .components-base-control { 375 margin-bottom: 0; 376 } 377 .block-editor-block-inspector .components-panel__body { 378 border: none; 379 border-top: 1px solid #e0e0e0; 380 margin-top: -1px; 381 } 382 383 .block-editor-block-inspector__no-blocks, 384 .block-editor-block-inspector__no-block-tools { 385 display: block; 386 font-size: 13px; 387 background: #fff; 388 padding: 32px 16px; 389 text-align: center; 390 } 391 392 .block-editor-block-inspector__state-badges { 393 display: flex; 394 align-items: center; 395 flex-wrap: wrap; 396 gap: 8px; 397 padding: 8px 16px; 398 margin-top: -16px; 399 } 400 401 .block-editor-block-inspector__state-badges-text { 402 white-space: nowrap; 403 } 404 405 .block-editor-block-inspector__no-block-tools { 406 border-top: 1px solid #ddd; 407 } 408 409 .block-editor-block-inspector-edit-contents { 410 margin: 0 16px 16px 16px; 411 } 412 .block-editor-block-inspector-edit-contents .block-editor-block-inspector-edit-contents__button { 413 justify-content: center; 414 } 415 416 /** 417 * Insertion Point. 418 */ 419 .block-editor-block-list__insertion-point { 420 position: absolute; 421 top: 0; 422 bottom: 0; 423 left: 0; 424 right: 0; 425 } 426 427 .block-editor-block-list__insertion-point-indicator { 428 position: absolute; 429 background: var(--wp-admin-theme-color); 430 border-radius: 2px; 431 transform-origin: center; 432 opacity: 0; 433 will-change: transform, opacity; 434 } 435 .block-editor-block-list__insertion-point.is-vertical > .block-editor-block-list__insertion-point-indicator { 436 top: calc(50% - 2px); 437 height: 4px; 438 width: 100%; 439 } 440 .block-editor-block-list__insertion-point.is-horizontal > .block-editor-block-list__insertion-point-indicator { 441 top: 0; 442 bottom: 0; 443 left: calc(50% - 2px); 444 width: 4px; 445 } 446 447 .block-editor-block-list__insertion-point-inserter { 448 display: none; 449 position: absolute; 450 will-change: transform; 451 } 452 @media (min-width: 480px) { 453 .block-editor-block-list__insertion-point-inserter { 454 display: flex; 455 } 456 } 457 .block-editor-block-list__insertion-point-inserter { 458 justify-content: center; 459 top: calc(50% - 12px); 460 left: calc(50% - 12px); 461 } 462 463 .block-editor-block-list__block-side-inserter-popover .components-popover__content > div { 464 pointer-events: none; 465 } 466 .block-editor-block-list__block-side-inserter-popover .components-popover__content > div > * { 467 pointer-events: all; 468 } 469 470 .block-editor-block-list__empty-block-inserter.block-editor-block-list__empty-block-inserter { 471 position: absolute; 472 top: 0; 473 right: 0; 474 line-height: 0; 475 } 476 .block-editor-block-list__empty-block-inserter.block-editor-block-list__empty-block-inserter:disabled { 477 display: none; 478 } 479 480 .block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle.components-button.has-icon, 481 .block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle.components-button.has-icon { 482 background: #1e1e1e; 483 color: #fff; 484 padding: 0; 485 min-width: 24px; 486 height: 24px; 487 } 488 .block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle.components-button.has-icon:hover, 489 .block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle.components-button.has-icon:hover { 490 color: #fff; 491 background: var(--wp-admin-theme-color); 492 } 493 @media not (prefers-reduced-motion) { 494 .block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle.components-button.has-icon svg, 495 .block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle.components-button.has-icon svg { 496 transition: transform cubic-bezier(0.165, 0.84, 0.44, 1) 0.2s; 497 } 498 } 499 .block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle.components-button.has-icon.is-pressed svg, 500 .block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle.components-button.has-icon.is-pressed svg { 501 transform: rotate(45deg); 502 } 503 504 .block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle.components-button.has-icon { 505 background: var(--wp-admin-theme-color); 506 } 507 .block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle.components-button.has-icon:hover { 508 background: #1e1e1e; 509 } 510 511 @keyframes hide-during-dragging { 512 to { 513 position: fixed; 514 transform: translate(9999px, 9999px); 515 } 516 } 517 .components-popover.block-editor-block-list__block-popover .block-editor-block-contextual-toolbar { 518 pointer-events: all; 519 margin-top: 8px; 520 margin-bottom: 8px; 521 border: 1px solid #1e1e1e; 522 border-radius: 2px; 523 overflow: visible; 524 position: static; 525 width: auto; 526 } 527 .components-popover.block-editor-block-list__block-popover .block-editor-block-contextual-toolbar.has-parent { 528 margin-left: calc(48px + 8px); 529 } 530 .show-icon-labels .components-popover.block-editor-block-list__block-popover .block-editor-block-contextual-toolbar.has-parent { 531 margin-left: 0; 532 } 533 .components-popover.block-editor-block-list__block-popover .block-editor-block-contextual-toolbar.has-parent:has(.block-editor-block-parent-selector__inserter) { 534 margin-left: calc(48px + 24px + 12px + 8px + 2 * 1px); 535 } 536 .show-icon-labels .components-popover.block-editor-block-list__block-popover .block-editor-block-contextual-toolbar.has-parent:has(.block-editor-block-parent-selector__inserter) { 537 margin-left: 0; 538 } 539 .components-popover.block-editor-block-list__block-popover .block-editor-block-toolbar { 540 overflow: visible; 541 } 542 .components-popover.block-editor-block-list__block-popover .block-editor-block-toolbar .components-toolbar-group, 543 .components-popover.block-editor-block-list__block-popover .block-editor-block-toolbar .components-toolbar { 544 border-right-color: #1e1e1e; 545 } 546 .components-popover.block-editor-block-list__block-popover.is-insertion-point-visible { 547 visibility: hidden; 548 } 549 .is-dragging-components-draggable .components-popover.block-editor-block-list__block-popover { 550 opacity: 0; 551 } 552 @media not (prefers-reduced-motion) { 553 .is-dragging-components-draggable .components-popover.block-editor-block-list__block-popover { 554 animation: hide-during-dragging 1ms linear forwards; 555 } 556 } 557 .components-popover.block-editor-block-list__block-popover .block-editor-block-parent-selector { 558 position: absolute; 559 left: calc(-48px - 8px - 1px); 560 } 561 .components-popover.block-editor-block-list__block-popover .block-editor-block-parent-selector:has(.block-editor-block-parent-selector__inserter) { 562 left: calc(-48px - 24px - 12px - 8px - 3 * 1px); 563 border: 1px solid #1e1e1e; 564 border-radius: 2px; 565 background-color: #fff; 566 } 567 .components-popover.block-editor-block-list__block-popover .block-editor-block-parent-selector:has(.block-editor-block-parent-selector__inserter) > .components-toolbar-group:last-child { 568 border-right: none; 569 } 570 .components-popover.block-editor-block-list__block-popover .block-editor-block-parent-selector:has(.block-editor-block-parent-selector__inserter) .block-editor-block-parent-selector__button { 571 border: none; 572 background: none; 573 } 574 .components-popover.block-editor-block-list__block-popover .block-editor-block-parent-selector .block-editor-block-parent-selector__inserter.components-button.has-icon { 575 color: #fff; 576 background: transparent; 577 } 578 .components-popover.block-editor-block-list__block-popover .block-editor-block-parent-selector .block-editor-block-parent-selector__inserter.components-button.has-icon::after { 579 content: ""; 580 position: absolute; 581 z-index: -1; 582 top: 50%; 583 left: 50%; 584 transform: translate(-50%, -50%); 585 width: 24px; 586 height: 24px; 587 border-radius: 2px; 588 background: #1e1e1e; 589 } 590 .components-popover.block-editor-block-list__block-popover .block-editor-block-parent-selector .block-editor-block-parent-selector__inserter.components-button.has-icon:hover { 591 color: #fff; 592 } 593 .components-popover.block-editor-block-list__block-popover .block-editor-block-parent-selector .block-editor-block-parent-selector__inserter.components-button.has-icon:hover::after { 594 background: var(--wp-admin-theme-color); 595 } 596 .show-icon-labels .components-popover.block-editor-block-list__block-popover .block-editor-block-parent-selector .block-editor-block-parent-selector__inserter.components-button.has-icon { 597 width: auto; 598 padding: 0 12px; 599 color: inherit; 600 } 601 .show-icon-labels .components-popover.block-editor-block-list__block-popover .block-editor-block-parent-selector .block-editor-block-parent-selector__inserter.components-button.has-icon svg { 602 display: none; 603 } 604 .show-icon-labels .components-popover.block-editor-block-list__block-popover .block-editor-block-parent-selector .block-editor-block-parent-selector__inserter.components-button.has-icon::after { 605 content: attr(aria-label); 606 position: static; 607 transform: none; 608 width: auto; 609 height: auto; 610 border-radius: 0; 611 background: none; 612 white-space: nowrap; 613 } 614 .show-icon-labels .components-popover.block-editor-block-list__block-popover .block-editor-block-parent-selector .block-editor-block-parent-selector__inserter.components-button.has-icon:hover { 615 color: var(--wp-admin-theme-color); 616 } 617 .show-icon-labels .components-popover.block-editor-block-list__block-popover .block-editor-block-parent-selector .block-editor-block-parent-selector__inserter.components-button.has-icon:hover::after { 618 background: none; 619 } 620 .components-popover.block-editor-block-list__block-popover .block-editor-block-parent-selector::before { 621 content: ""; 622 } 623 .components-popover.block-editor-block-list__block-popover .block-editor-block-parent-selector::after { 624 display: none; 625 } 626 .components-popover.block-editor-block-list__block-popover .block-editor-block-parent-selector .block-editor-block-parent-selector__button { 627 border: 1px solid #1e1e1e; 628 padding-right: 6px; 629 padding-left: 6px; 630 background-color: #fff; 631 } 632 .show-icon-labels .components-popover.block-editor-block-list__block-popover .block-editor-block-parent-selector .block-editor-block-parent-selector__button { 633 padding-right: 12px; 634 padding-left: 12px; 635 } 636 .show-icon-labels .components-popover.block-editor-block-list__block-popover .components-popover__content { 637 max-width: fit-content; 638 } 639 .show-icon-labels .components-popover.block-editor-block-list__block-popover .block-editor-block-parent-selector { 640 position: relative; 641 left: auto; 642 margin-left: -1px; 643 } 644 .show-icon-labels .components-popover.block-editor-block-list__block-popover .block-editor-block-mover__move-button-container, 645 .show-icon-labels .components-popover.block-editor-block-list__block-popover .block-editor-block-toolbar__block-controls .block-editor-block-mover { 646 border-left: 1px solid #1e1e1e; 647 } 648 649 .is-dragging-components-draggable .components-tooltip { 650 display: none; 651 } 652 653 .components-popover.block-editor-block-popover__inbetween .block-editor-button-pattern-inserter__button { 654 pointer-events: all; 655 position: absolute; 656 transform: translateX(-50%) translateY(-50%); 657 top: 50%; 658 left: 50%; 659 } 660 661 .block-editor-block-tools--is-dragging > .popover-slot { 662 display: none; 663 } 664 665 .block-editor-block-lock-modal { 666 z-index: 1000001; 667 } 668 669 .block-editor-block-lock-modal__options { 670 border: 0; 671 padding: 0; 672 margin: 0; 673 } 674 675 .block-editor-block-lock-modal__options legend { 676 margin-bottom: 16px; 677 padding: 0; 678 } 679 680 .block-editor-block-lock-modal__checklist { 681 list-style: none; 682 padding: 0; 683 margin: 0; 684 } 685 686 .block-editor-block-lock-modal__options-all { 687 padding: 12px 0; 688 } 689 .block-editor-block-lock-modal__options-all .components-checkbox-control__label { 690 font-weight: var(--wpds-typography-font-weight-emphasis, 600); 691 } 692 693 .block-editor-block-lock-modal__checklist-item { 694 display: flex; 695 justify-content: space-between; 696 align-items: center; 697 gap: 12px; 698 margin-bottom: 0; 699 padding: 12px 0 12px 32px; 700 } 701 .block-editor-block-lock-modal__checklist-item .block-editor-block-lock-modal__lock-icon { 702 flex-shrink: 0; 703 margin-right: 12px; 704 color: #1e1e1e; 705 } 706 .block-editor-block-lock-modal__checklist-item:hover { 707 background-color: #f0f0f0; 708 border-radius: 2px; 709 } 710 711 .block-editor-block-lock-modal__template-lock { 712 border-top: 1px solid #ddd; 713 margin-top: 16px; 714 padding-top: 16px; 715 } 716 717 .block-editor-block-lock-modal__actions { 718 margin-top: 24px; 719 } 720 721 .block-editor-block-lock-toolbar .components-button.has-icon { 722 min-width: 36px !important; 723 } 724 725 .block-editor-block-toolbar__block-controls .block-editor-block-lock-toolbar { 726 margin-left: -6px !important; 727 } 728 729 .show-icon-labels .block-editor-block-toolbar__block-controls .block-editor-block-lock-toolbar { 730 border-left: 1px solid #1e1e1e; 731 margin-left: 6px !important; 732 margin-right: -6px; 733 } 734 735 .block-editor-block-allowed-blocks-control:not(:only-child) { 736 margin-top: 16px; 737 } 738 739 .block-editor-block-allowed-blocks-control__button { 740 width: 100%; 741 justify-content: center; 742 } 743 744 .block-editor-block-allowed-blocks-modal { 745 z-index: 1000001; 746 } 747 748 .block-editor-block-allowed-blocks-modal__actions { 749 background-color: #fff; 750 border-top: 1px solid #ddd; 751 bottom: -24px; 752 left: 0; 753 margin: 0 -24px -24px; 754 padding: 16px 24px; 755 position: sticky; 756 z-index: 1; 757 } 758 759 .block-editor-block-card { 760 color: #1e1e1e; 761 padding: 16px; 762 } 763 .block-editor-block-card.is-parent { 764 padding-bottom: 4px; 765 } 766 .block-editor-block-card.is-child { 767 padding-top: 4px; 768 } 769 770 .block-editor-block-card__parent-select-button { 771 padding: 0; 772 align-items: start; 773 text-align: start; 774 height: auto !important; 775 } 776 777 .block-editor-block-card__title { 778 font-weight: var(--wpds-typography-font-weight-emphasis, 600); 779 display: flex; 780 align-items: center; 781 flex-wrap: wrap; 782 gap: 4px 8px; 783 overflow-wrap: anywhere; 784 } 785 .block-editor-block-card__title.block-editor-block-card__title { 786 font-size: 13px; 787 line-height: 1.4; 788 margin: 0; 789 } 790 791 .block-editor-block-card__name { 792 padding: 3px 0; 793 } 794 795 .block-editor-block-card .block-editor-block-icon, 796 .block-editor-block-card__child-indicator-icon { 797 flex: 0 0 24px; 798 margin-left: 0; 799 margin-right: 12px; 800 width: 24px; 801 height: 24px; 802 } 803 804 .block-editor-block-card.is-synced .block-editor-block-icon { 805 color: var(--wp-block-synced-color); 806 } 807 808 /** 809 * Invalid block comparison 810 */ 811 .block-editor-block-compare { 812 height: auto; 813 } 814 815 .block-editor-block-compare__wrapper { 816 display: flex; 817 padding-bottom: 16px; 818 } 819 .block-editor-block-compare__wrapper > div { 820 display: flex; 821 justify-content: space-between; 822 flex-direction: column; 823 width: 50%; 824 padding: 0 16px 0 0; 825 min-width: 200px; 826 max-width: 600px; 827 } 828 .block-editor-block-compare__wrapper > div button { 829 float: right; 830 } 831 .block-editor-block-compare__wrapper .block-editor-block-compare__converted { 832 border-left: 1px solid #ddd; 833 padding-left: 15px; 834 padding-right: 0; 835 } 836 .block-editor-block-compare__wrapper .block-editor-block-compare__html { 837 font-family: Menlo, Consolas, monaco, monospace; 838 font-size: 12px; 839 color: #1e1e1e; 840 border-bottom: 1px solid #ddd; 841 padding-bottom: 15px; 842 line-height: 1.7; 843 white-space: pre-wrap; 844 } 845 .block-editor-block-compare__wrapper .block-editor-block-compare__html span { 846 background-color: #e6ffed; 847 padding-top: 3px; 848 padding-bottom: 3px; 849 } 850 .block-editor-block-compare__wrapper .block-editor-block-compare__html span.block-editor-block-compare__added { 851 background-color: #acf2bd; 852 } 853 .block-editor-block-compare__wrapper .block-editor-block-compare__html span.block-editor-block-compare__removed { 854 background-color: #cc1818; 855 } 856 .block-editor-block-compare__wrapper .block-editor-block-compare__html span.block-editor-block-compare__newline { 857 background: none; 858 padding: 0; 859 } 860 .block-editor-block-compare__wrapper .block-editor-block-compare__preview { 861 padding: 0; 862 padding-top: 16px; 863 } 864 .block-editor-block-compare__wrapper .block-editor-block-compare__preview p { 865 font-size: 12px; 866 margin-top: 0; 867 } 868 .block-editor-block-compare__wrapper .block-editor-block-compare__action { 869 margin-top: 16px; 870 } 871 .block-editor-block-compare__wrapper .block-editor-block-compare__heading { 872 font-size: 1em; 873 font-weight: 400; 874 margin: 0.67em 0; 875 } 876 877 .block-editor-block-draggable-chip-wrapper { 878 position: absolute; 879 top: -24px; 880 left: 0; 881 } 882 883 .block-editor-block-draggable-chip { 884 background-color: #1e1e1e; 885 border-radius: 2px; 886 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); 887 color: #fff; 888 cursor: grabbing; 889 display: inline-flex; 890 height: 48px; 891 padding: 0 13px; 892 position: relative; 893 -webkit-user-select: none; 894 user-select: none; 895 width: max-content; 896 } 897 .block-editor-block-draggable-chip svg { 898 fill: currentColor; 899 } 900 .block-editor-block-draggable-chip .block-editor-block-draggable-chip__content { 901 margin: auto; 902 justify-content: flex-start; 903 } 904 .block-editor-block-draggable-chip .block-editor-block-draggable-chip__content > .components-flex__item { 905 margin-right: 6px; 906 } 907 .block-editor-block-draggable-chip .block-editor-block-draggable-chip__content > .components-flex__item:last-child { 908 margin-right: 0; 909 } 910 .block-editor-block-draggable-chip .block-editor-block-draggable-chip__content .block-editor-block-icon svg { 911 min-width: 18px; 912 min-height: 18px; 913 } 914 .block-editor-block-draggable-chip .components-flex__item { 915 font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; 916 font-size: 13px; 917 } 918 919 .block-editor-block-draggable-chip__disabled.block-editor-block-draggable-chip__disabled { 920 opacity: 0; 921 position: absolute; 922 top: 0; 923 right: 0; 924 left: 0; 925 bottom: 0; 926 display: flex; 927 justify-content: center; 928 align-items: center; 929 background-color: transparent; 930 } 931 @media not (prefers-reduced-motion) { 932 .block-editor-block-draggable-chip__disabled.block-editor-block-draggable-chip__disabled { 933 transition: all 0.1s linear 0.1s; 934 } 935 } 936 .block-editor-block-draggable-chip__disabled.block-editor-block-draggable-chip__disabled .block-editor-block-draggable-chip__disabled-icon { 937 width: 20px; 938 height: 20px; 939 box-shadow: inset 0 0 0 1.5px #fff; 940 border-radius: 50%; 941 display: inline-block; 942 padding: 0; 943 background: transparent linear-gradient(-45deg, transparent 47.5%, #fff 47.5%, #fff 52.5%, transparent 52.5%); 944 } 945 946 .block-draggable-invalid-drag-token .block-editor-block-draggable-chip__disabled.block-editor-block-draggable-chip__disabled { 947 background-color: #757575; 948 opacity: 1; 949 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); 950 } 951 952 .block-editor-block-manager__no-results { 953 font-style: italic; 954 padding: 24px 0; 955 text-align: center; 956 } 957 958 .block-editor-block-manager__category { 959 isolation: isolate; 960 margin: 0 0 24px 0; 961 } 962 963 .block-editor-block-manager__category-title { 964 position: sticky; 965 top: -4px; 966 padding: 16px 0; 967 background-color: #fff; 968 z-index: 1; 969 } 970 .block-editor-block-manager__category-title .components-checkbox-control__label { 971 font-weight: var(--wpds-typography-font-weight-emphasis, 600); 972 } 973 974 .block-editor-block-manager__checklist { 975 margin-top: 0; 976 } 977 978 .block-editor-block-manager__category-title, 979 .block-editor-block-manager__checklist-item { 980 border-bottom: 1px solid #ddd; 981 } 982 983 .block-editor-block-manager__checklist-item { 984 display: flex; 985 justify-content: space-between; 986 align-items: center; 987 margin-bottom: 0; 988 padding: 8px 0 8px 16px; 989 } 990 .components-modal__content .block-editor-block-manager__checklist-item.components-checkbox-control__input-container { 991 margin: 0 8px; 992 } 993 .block-editor-block-manager__checklist-item .block-editor-block-icon { 994 margin-right: 10px; 995 fill: #1e1e1e; 996 color: #1e1e1e; 997 } 998 999 .block-editor-block-manager__results { 1000 border-top: 1px solid #ddd; 1001 } 1002 1003 .block-editor-block-manager__disabled-blocks-count + .block-editor-block-manager__results { 1004 border-top-width: 0; 1005 } 1006 1007 .block-editor-block-mover__move-button-container { 1008 display: flex; 1009 padding: 0; 1010 border: none; 1011 justify-content: center; 1012 } 1013 @media (min-width: 600px) { 1014 .block-editor-block-mover:not(.is-horizontal) .block-editor-block-mover__move-button-container { 1015 flex-direction: column; 1016 } 1017 .block-editor-block-mover:not(.is-horizontal) .block-editor-block-mover__move-button-container > .block-editor-block-mover-button { 1018 height: 20px; 1019 width: 100%; 1020 min-width: 0 !important; 1021 } 1022 .block-editor-block-mover:not(.is-horizontal) .block-editor-block-mover__move-button-container > .block-editor-block-mover-button::before { 1023 height: calc(100% - 4px); 1024 } 1025 .block-editor-block-mover:not(.is-horizontal) .block-editor-block-mover__move-button-container .block-editor-block-mover-button.is-up-button svg { 1026 top: 3px; 1027 flex-shrink: 0; 1028 } 1029 .block-editor-block-mover:not(.is-horizontal) .block-editor-block-mover__move-button-container .block-editor-block-mover-button.is-down-button svg { 1030 bottom: 3px; 1031 flex-shrink: 0; 1032 } 1033 .block-editor-block-mover.is-horizontal .block-editor-block-mover__move-button-container { 1034 width: 48px; 1035 } 1036 .block-editor-block-mover.is-horizontal .block-editor-block-mover__move-button-container > .block-editor-block-mover-button { 1037 width: 24px; 1038 min-width: 0 !important; 1039 overflow: hidden; 1040 } 1041 .block-editor-block-mover.is-horizontal .block-editor-block-mover__move-button-container .block-editor-block-mover-button { 1042 padding-left: 0; 1043 padding-right: 0; 1044 } 1045 .block-editor-block-mover.is-horizontal .block-editor-block-mover__move-button-container .block-editor-block-mover-button.is-up-button svg { 1046 left: 5px; 1047 } 1048 .block-editor-block-mover.is-horizontal .block-editor-block-mover__move-button-container .block-editor-block-mover-button.is-down-button svg { 1049 right: 5px; 1050 } 1051 } 1052 1053 .block-editor-block-mover__drag-handle { 1054 cursor: grab; 1055 } 1056 @media (min-width: 600px) { 1057 .block-editor-block-mover__drag-handle { 1058 width: 24px; 1059 min-width: 0 !important; 1060 overflow: hidden; 1061 } 1062 .block-editor-block-mover .block-editor-block-mover__drag-handle.has-icon.has-icon { 1063 padding-left: 0; 1064 padding-right: 0; 1065 } 1066 } 1067 1068 .components-button.block-editor-block-mover-button { 1069 overflow: hidden; 1070 } 1071 .components-button.block-editor-block-mover-button::before { 1072 content: ""; 1073 position: absolute; 1074 display: block; 1075 border-radius: 2px; 1076 height: 32px; 1077 left: 8px; 1078 right: 8px; 1079 z-index: -1; 1080 } 1081 @media not (prefers-reduced-motion) { 1082 .components-button.block-editor-block-mover-button::before { 1083 animation: components-button__appear-animation 0.1s ease; 1084 animation-fill-mode: forwards; 1085 } 1086 } 1087 1088 .block-editor-block-navigation__container { 1089 min-width: 280px; 1090 } 1091 1092 .block-editor-block-navigation__label { 1093 margin: 0 0 12px; 1094 color: #757575; 1095 text-transform: uppercase; 1096 font-size: 11px; 1097 font-weight: var(--wpds-typography-font-weight-emphasis, 600); 1098 } 1099 1100 .block-editor-block-patterns-list__list-item { 1101 cursor: var(--wpds-cursor-control, pointer); 1102 margin-bottom: 16px; 1103 position: relative; 1104 } 1105 .block-editor-block-patterns-list__list-item.is-placeholder { 1106 min-height: 100px; 1107 } 1108 .block-editor-block-patterns-list__list-item[draggable=true] { 1109 cursor: grab; 1110 } 1111 1112 .block-editor-block-patterns-list__item { 1113 height: 100%; 1114 scroll-margin-top: 24px; 1115 scroll-margin-bottom: 56px; 1116 outline: 0; 1117 } 1118 .block-editor-block-patterns-list__item .block-editor-block-patterns-list__item-title { 1119 flex-grow: 1; 1120 text-align: left; 1121 } 1122 .block-editor-block-patterns-list__item .block-editor-block-preview__container { 1123 display: flex; 1124 align-items: center; 1125 overflow: hidden; 1126 border-radius: 4px; 1127 } 1128 .block-editor-block-patterns-list__item .block-editor-block-preview__container::after { 1129 outline: 1px solid rgba(0, 0, 0, 0.1); 1130 outline-offset: -1px; 1131 border-radius: 4px; 1132 } 1133 @media not (prefers-reduced-motion) { 1134 .block-editor-block-patterns-list__item .block-editor-block-preview__container::after { 1135 transition: outline 0.1s linear; 1136 } 1137 } 1138 .block-editor-block-patterns-list__item.is-selected .block-editor-block-preview__container::after { 1139 outline-color: #1e1e1e; 1140 outline-width: var(--wp-admin-border-width-focus); 1141 outline-offset: calc(-1 * var(--wp-admin-border-width-focus)); 1142 } 1143 .block-editor-block-patterns-list__item:hover .block-editor-block-preview__container::after { 1144 outline-color: rgba(0, 0, 0, 0.3); 1145 } 1146 .block-editor-block-patterns-list__item[data-focus-visible] .block-editor-block-preview__container::after { 1147 outline-color: var(--wp-admin-theme-color); 1148 outline-width: var(--wp-admin-border-width-focus); 1149 outline-offset: calc(-1 * var(--wp-admin-border-width-focus)); 1150 } 1151 .block-editor-block-patterns-list__item .block-editor-patterns__pattern-details:not(:empty) { 1152 align-items: center; 1153 margin-top: 8px; 1154 padding-bottom: 4px; 1155 } 1156 .block-editor-block-patterns-list__item .block-editor-patterns__pattern-icon-wrapper { 1157 min-width: 24px; 1158 height: 24px; 1159 } 1160 .block-editor-block-patterns-list__item .block-editor-patterns__pattern-icon-wrapper .block-editor-patterns__pattern-icon { 1161 color: var(--wp-block-synced-color); 1162 } 1163 1164 .block-editor-patterns__grid-pagination-wrapper .block-editor-patterns__grid-pagination { 1165 border-top: 1px solid #2f2f2f; 1166 padding: 4px; 1167 justify-content: center; 1168 } 1169 1170 .show-icon-labels .block-editor-patterns__grid-pagination-button { 1171 width: auto; 1172 } 1173 .show-icon-labels .block-editor-patterns__grid-pagination-button span { 1174 display: none; 1175 } 1176 .show-icon-labels .block-editor-patterns__grid-pagination-button::before { 1177 content: attr(aria-label); 1178 } 1179 1180 .components-popover.block-editor-block-popover { 1181 z-index: 31; 1182 position: absolute; 1183 margin: 0 !important; 1184 pointer-events: none; 1185 } 1186 .components-popover.block-editor-block-popover .components-popover__content { 1187 margin: 0 !important; 1188 min-width: auto; 1189 width: max-content; 1190 overflow-y: visible; 1191 } 1192 .components-popover.block-editor-block-popover:not(.block-editor-block-popover__inbetween, .block-editor-block-popover__drop-zone, .block-editor-block-list__block-side-inserter-popover) .components-popover__content * { 1193 pointer-events: all; 1194 } 1195 1196 .components-popover.block-editor-block-popover__inbetween { 1197 pointer-events: none; 1198 } 1199 .components-popover.block-editor-block-popover__inbetween * { 1200 pointer-events: none; 1201 } 1202 .components-popover.block-editor-block-popover__inbetween .is-with-inserter { 1203 pointer-events: all; 1204 } 1205 .components-popover.block-editor-block-popover__inbetween .is-with-inserter * { 1206 pointer-events: all; 1207 } 1208 1209 .components-popover.block-editor-block-popover__drop-zone * { 1210 pointer-events: none; 1211 } 1212 .components-popover.block-editor-block-popover__drop-zone .block-editor-block-popover__drop-zone-foreground { 1213 position: absolute; 1214 inset: 0; 1215 background-color: var(--wp-admin-theme-color); 1216 border-radius: 2px; 1217 } 1218 1219 .block-editor-block-preview__container { 1220 position: relative; 1221 width: 100%; 1222 overflow: hidden; 1223 } 1224 .block-editor-block-preview__container .block-editor-block-preview__content { 1225 width: 100%; 1226 top: 0; 1227 left: 0; 1228 transform-origin: top left; 1229 text-align: initial; 1230 margin: 0; 1231 overflow: visible; 1232 min-height: auto; 1233 } 1234 .block-editor-block-preview__container .block-editor-block-preview__content .block-editor-block-list__insertion-point, 1235 .block-editor-block-preview__container .block-editor-block-preview__content .block-list-appender { 1236 display: none; 1237 } 1238 1239 .block-editor-block-preview__container::after { 1240 content: ""; 1241 position: absolute; 1242 top: 0; 1243 left: 0; 1244 right: 0; 1245 bottom: 0; 1246 z-index: 1; 1247 } 1248 1249 .block-editor-block-quick-navigation__item { 1250 font-weight: var(--wpds-typography-font-weight-default, 400); 1251 } 1252 1253 .block-editor-block-rename-modal { 1254 z-index: 1000001; 1255 } 1256 1257 .block-editor-block-styles__preview-panel { 1258 display: none; 1259 z-index: 90; 1260 } 1261 @media (min-width: 782px) { 1262 .block-editor-block-styles__preview-panel { 1263 display: block; 1264 } 1265 } 1266 .block-editor-block-styles__preview-panel .block-editor-block-icon { 1267 display: none; 1268 } 1269 1270 .block-editor-block-styles { 1271 grid-column: 1/-1; 1272 } 1273 1274 .block-editor-block-styles__variants { 1275 display: grid; 1276 gap: 8px; 1277 } 1278 .block-editor-block-styles__variants .block-editor-block-styles__row { 1279 display: grid; 1280 grid-template-columns: repeat(2, minmax(0, 1fr)); 1281 gap: 8px; 1282 } 1283 .block-editor-block-styles__variants .block-editor-block-styles__item-text { 1284 text-align: center; 1285 padding-inline: 4px; 1286 margin-inline: -4px; 1287 } 1288 @media (forced-colors: active) { 1289 .block-editor-block-styles__variants .block-editor-block-styles__item[aria-checked=true] { 1290 forced-color-adjust: none; 1291 outline-color: CanvasText; 1292 background-color: SelectedItem; 1293 color: SelectedItemText; 1294 border-color: ButtonBorder; 1295 } 1296 } 1297 1298 .components-popover.block-editor-block-switcher__popover .components-popover__content { 1299 min-width: 300px; 1300 } 1301 1302 .block-editor-block-switcher__transforms__menugroup .components-menu-item__button:focus:not([aria-disabled=true]) .block-editor-block-icon.has-colors { 1303 color: inherit !important; 1304 background-color: transparent !important; 1305 } 1306 1307 .block-editor-block-switcher__popover-preview-container { 1308 left: 0; 1309 position: absolute; 1310 top: -1px; 1311 width: 100%; 1312 bottom: 0; 1313 pointer-events: none; 1314 } 1315 1316 .block-editor-block-switcher__popover-preview { 1317 overflow: hidden; 1318 } 1319 .block-editor-block-switcher__popover-preview .components-popover__content { 1320 width: 300px; 1321 border: 1px solid #1e1e1e; 1322 background: #fff; 1323 border-radius: 4px; 1324 outline: none; 1325 box-shadow: none; 1326 overflow: auto; 1327 scroll-padding-block: calc(2 * var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px))); 1328 } 1329 .block-editor-block-switcher__popover-preview .block-editor-block-switcher__preview { 1330 max-height: calc(500px - 32px); 1331 margin: 16px 0; 1332 padding: 0 16px; 1333 overflow: hidden; 1334 } 1335 .block-editor-block-switcher__popover-preview .block-editor-block-switcher__preview.is-pattern-list-preview { 1336 overflow: unset; 1337 } 1338 1339 .block-editor-block-switcher__preview-patterns-container { 1340 padding-bottom: 16px; 1341 } 1342 .block-editor-block-switcher__preview-patterns-container .block-editor-block-switcher__preview-patterns-container-list__list-item { 1343 margin-top: 16px; 1344 } 1345 .block-editor-block-switcher__preview-patterns-container .block-editor-block-switcher__preview-patterns-container-list__list-item .block-editor-block-preview__container { 1346 cursor: var(--wpds-cursor-control, pointer); 1347 } 1348 .block-editor-block-switcher__preview-patterns-container .block-editor-block-switcher__preview-patterns-container-list__list-item .block-editor-block-switcher__preview-patterns-container-list__item { 1349 height: 100%; 1350 border-radius: 2px; 1351 position: relative; 1352 border: 1px solid transparent; 1353 } 1354 .block-editor-block-switcher__preview-patterns-container .block-editor-block-switcher__preview-patterns-container-list__list-item .block-editor-block-switcher__preview-patterns-container-list__item:hover { 1355 outline: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)) solid var(--focus-color, var(--wpds-color-stroke-focus, var(--wp-admin-theme-color, #3858e9))); 1356 outline-offset: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)); 1357 outline-color: #1e1e1e; 1358 } 1359 .block-editor-block-switcher__preview-patterns-container .block-editor-block-switcher__preview-patterns-container-list__list-item .block-editor-block-switcher__preview-patterns-container-list__item:focus { 1360 outline: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)) solid var(--focus-color, var(--wpds-color-stroke-focus, var(--wp-admin-theme-color, #3858e9))); 1361 outline-offset: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)); 1362 } 1363 .block-editor-block-switcher__preview-patterns-container .block-editor-block-switcher__preview-patterns-container-list__list-item .block-editor-block-switcher__preview-patterns-container-list__item .block-editor-block-switcher__preview-patterns-container-list__item-title { 1364 padding: 4px; 1365 font-size: 12px; 1366 text-align: center; 1367 cursor: var(--wpds-cursor-control, pointer); 1368 } 1369 1370 .block-editor-block-switcher__no-transforms { 1371 color: #757575; 1372 padding: 6px 8px; 1373 margin: 0; 1374 } 1375 1376 .block-editor-block-switcher__binding-indicator { 1377 display: block; 1378 padding: 8px; 1379 } 1380 1381 .block-editor-block-types-list > [role=presentation] { 1382 display: flex; 1383 flex-wrap: wrap; 1384 } 1385 1386 .block-editor-block-pattern-setup { 1387 display: flex; 1388 flex-direction: column; 1389 justify-content: center; 1390 align-items: flex-start; 1391 width: 100%; 1392 border-radius: 2px; 1393 } 1394 .block-editor-block-pattern-setup.view-mode-grid { 1395 padding-top: 4px; 1396 } 1397 .block-editor-block-pattern-setup.view-mode-grid .block-editor-block-pattern-setup__toolbar { 1398 justify-content: center; 1399 } 1400 .block-editor-block-pattern-setup.view-mode-grid .block-editor-block-pattern-setup__container { 1401 column-gap: 24px; 1402 display: block; 1403 width: 100%; 1404 padding: 32px; 1405 padding-bottom: 0; 1406 padding-top: 0; 1407 column-count: 2; 1408 } 1409 @media (min-width: 1440px) { 1410 .block-editor-block-pattern-setup.view-mode-grid .block-editor-block-pattern-setup__container { 1411 column-count: 3; 1412 } 1413 } 1414 .block-editor-block-pattern-setup.view-mode-grid .block-editor-block-pattern-setup__container .block-editor-block-preview__container, 1415 .block-editor-block-pattern-setup.view-mode-grid .block-editor-block-pattern-setup__container div[role=button] { 1416 cursor: var(--wpds-cursor-control, pointer); 1417 } 1418 .block-editor-block-pattern-setup.view-mode-grid .block-editor-block-pattern-setup__container .block-editor-block-pattern-setup-list__item { 1419 scroll-margin: 5px 0; 1420 } 1421 .block-editor-block-pattern-setup.view-mode-grid .block-editor-block-pattern-setup__container .block-editor-block-pattern-setup-list__item:hover .block-editor-block-preview__container { 1422 box-shadow: 0 0 0 2px var(--wp-admin-theme-color); 1423 } 1424 .block-editor-block-pattern-setup.view-mode-grid .block-editor-block-pattern-setup__container .block-editor-block-pattern-setup-list__item:focus .block-editor-block-preview__container { 1425 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); 1426 outline: 2px solid transparent; 1427 outline-offset: 2px; 1428 } 1429 .block-editor-block-pattern-setup.view-mode-grid .block-editor-block-pattern-setup__container .block-editor-block-pattern-setup-list__item:hover .block-editor-block-pattern-setup-list__item-title, .block-editor-block-pattern-setup.view-mode-grid .block-editor-block-pattern-setup__container .block-editor-block-pattern-setup-list__item:focus .block-editor-block-pattern-setup-list__item-title { 1430 color: var(--wp-admin-theme-color); 1431 } 1432 .block-editor-block-pattern-setup.view-mode-grid .block-editor-block-pattern-setup__container .block-editor-block-pattern-setup-list__list-item { 1433 break-inside: avoid-column; 1434 margin-bottom: 24px; 1435 } 1436 .block-editor-block-pattern-setup.view-mode-grid .block-editor-block-pattern-setup__container .block-editor-block-pattern-setup-list__list-item .block-editor-block-pattern-setup-list__item-title { 1437 padding-top: 8px; 1438 font-size: 12px; 1439 text-align: center; 1440 cursor: var(--wpds-cursor-control, pointer); 1441 } 1442 .block-editor-block-pattern-setup.view-mode-grid .block-editor-block-pattern-setup__container .block-editor-block-pattern-setup-list__list-item .block-editor-block-preview__container { 1443 min-height: 100px; 1444 border-radius: 4px; 1445 border: 1px solid #ddd; 1446 } 1447 .block-editor-block-pattern-setup.view-mode-grid .block-editor-block-pattern-setup__container .block-editor-block-pattern-setup-list__list-item .block-editor-block-preview__content { 1448 width: 100%; 1449 } 1450 .block-editor-block-pattern-setup .block-editor-block-pattern-setup__toolbar { 1451 height: 64px; 1452 box-sizing: border-box; 1453 padding: 16px; 1454 width: 100%; 1455 text-align: left; 1456 margin: 0; 1457 color: #1e1e1e; 1458 position: absolute; 1459 bottom: 0; 1460 background-color: #fff; 1461 display: flex; 1462 flex-direction: row; 1463 align-items: center; 1464 justify-content: space-between; 1465 border-top: 1px solid #ddd; 1466 align-self: stretch; 1467 } 1468 .block-editor-block-pattern-setup .block-editor-block-pattern-setup__toolbar .block-editor-block-pattern-setup__display-controls { 1469 display: flex; 1470 } 1471 .block-editor-block-pattern-setup .block-editor-block-pattern-setup__toolbar .block-editor-block-pattern-setup__navigation, 1472 .block-editor-block-pattern-setup .block-editor-block-pattern-setup__toolbar .block-editor-block-pattern-setup__actions { 1473 width: calc(50% - 36px); 1474 display: flex; 1475 } 1476 .block-editor-block-pattern-setup .block-editor-block-pattern-setup__toolbar .block-editor-block-pattern-setup__actions { 1477 justify-content: flex-end; 1478 } 1479 .block-editor-block-pattern-setup .block-editor-block-pattern-setup__container { 1480 display: flex; 1481 flex-direction: column; 1482 width: 100%; 1483 height: 100%; 1484 box-sizing: border-box; 1485 } 1486 .block-editor-block-pattern-setup .block-editor-block-pattern-setup__container .carousel-container { 1487 overflow: hidden; 1488 position: relative; 1489 padding: 0; 1490 margin: 0; 1491 height: 100%; 1492 list-style: none; 1493 transform-style: preserve-3d; 1494 } 1495 .block-editor-block-pattern-setup .block-editor-block-pattern-setup__container .carousel-container * { 1496 box-sizing: border-box; 1497 } 1498 .block-editor-block-pattern-setup .block-editor-block-pattern-setup__container .carousel-container .pattern-slide { 1499 position: absolute; 1500 top: 0; 1501 width: 100%; 1502 height: 100%; 1503 background-color: #fff; 1504 margin: auto; 1505 padding: 0; 1506 } 1507 @media not (prefers-reduced-motion) { 1508 .block-editor-block-pattern-setup .block-editor-block-pattern-setup__container .carousel-container .pattern-slide { 1509 transition: transform 0.5s, z-index 0.5s; 1510 } 1511 } 1512 .block-editor-block-pattern-setup .block-editor-block-pattern-setup__container .carousel-container .pattern-slide { 1513 z-index: 100; 1514 } 1515 .block-editor-block-pattern-setup .block-editor-block-pattern-setup__container .carousel-container .pattern-slide.active-slide { 1516 opacity: 1; 1517 position: relative; 1518 z-index: 102; 1519 } 1520 .block-editor-block-pattern-setup .block-editor-block-pattern-setup__container .carousel-container .pattern-slide.previous-slide { 1521 transform: translateX(-100%); 1522 z-index: 101; 1523 } 1524 .block-editor-block-pattern-setup .block-editor-block-pattern-setup__container .carousel-container .pattern-slide.next-slide { 1525 transform: translateX(100%); 1526 z-index: 101; 1527 } 1528 .block-editor-block-pattern-setup .block-editor-block-pattern-setup__container .block-list-appender { 1529 display: none; 1530 } 1531 1532 .block-editor-block-pattern-setup__carousel, 1533 .block-editor-block-pattern-setup__grid { 1534 width: 100%; 1535 } 1536 1537 .block-editor-block-variation-transforms { 1538 box-sizing: border-box; 1539 padding: 0 16px 16px; 1540 } 1541 .block-editor-block-variation-transforms:where(fieldset) { 1542 border: 0; 1543 margin: 0; 1544 min-inline-size: 0; 1545 } 1546 1547 .block-editor-block-variation-transforms__button { 1548 width: 100%; 1549 justify-content: center; 1550 } 1551 1552 .components-border-radius-control__header { 1553 height: 16px; 1554 margin-bottom: 12px; 1555 } 1556 1557 .components-border-radius-control { 1558 border: 0; 1559 padding: 0; 1560 margin: 0; 1561 margin-bottom: 12px; 1562 } 1563 .components-border-radius-control legend { 1564 margin-bottom: 0; 1565 } 1566 .components-border-radius-control .components-border-radius-control__linked-button { 1567 display: flex; 1568 justify-content: center; 1569 } 1570 .components-border-radius-control .components-border-radius-control__linked-button svg { 1571 margin-right: 0; 1572 } 1573 1574 .block-editor-color-gradient-control .block-editor-color-gradient-control__color-indicator { 1575 margin-bottom: 12px; 1576 } 1577 1578 .block-editor-color-gradient-control__fieldset { 1579 border: 0; 1580 padding: 0; 1581 margin: 0; 1582 min-width: 0; 1583 } 1584 1585 @media screen and (min-width: 782px) { 1586 .block-editor-panel-color-gradient-settings .components-circular-option-picker__swatches { 1587 display: grid; 1588 grid-template-columns: repeat(6, 28px); 1589 } 1590 } 1591 .block-editor-block-inspector .block-editor-panel-color-gradient-settings .components-base-control { 1592 margin-bottom: inherit; 1593 } 1594 .block-editor-panel-color-gradient-settings { 1595 /* Increased specificity required to remove the slot wrapper's row gap */ 1596 } 1597 .block-editor-panel-color-gradient-settings.block-editor-panel-color-gradient-settings .block-editor-panel-color-gradient-settings__inner-wrapper { 1598 grid-column: 1/-1; 1599 row-gap: 0; 1600 } 1601 .block-editor-panel-color-gradient-settings.block-editor-panel-color-gradient-settings .block-editor-panel-color-gradient-settings__inner-wrapper > * { 1602 grid-column: 1/-1; 1603 } 1604 1605 .block-editor-panel-color-gradient-settings__dropdown-content { 1606 min-height: 160px; 1607 } 1608 .block-editor-panel-color-gradient-settings__dropdown-content .block-editor-color-gradient-control__panel { 1609 width: 260px; 1610 padding: 16px; 1611 } 1612 1613 .block-editor-panel-color-gradient-settings__color-indicator { 1614 background: linear-gradient(-45deg, transparent 48%, #ddd 48%, #ddd 52%, transparent 52%); 1615 } 1616 1617 .block-editor-panel-color-gradient-settings__contrast-notice { 1618 margin-top: 16px; 1619 } 1620 1621 /** 1622 * The following styles replicate the separated border of the 1623 * `ItemGroup` component but allows for hidden items. This is because 1624 * to maintain the order of `ToolsPanel` controls, each `ToolsPanelItem` 1625 * must at least render a placeholder which would otherwise interfere 1626 * with the `:last-child` styles. 1627 * 1628 * Applied via the shared `block-editor-color-gradient-item` class on 1629 * color/gradient dropdown items across the Color, Background, and 1630 * Typography panels. 1631 */ 1632 .block-editor-color-gradient-item { 1633 padding: 0; 1634 max-width: 100%; 1635 position: relative; 1636 border-left: 1px solid #ddd; 1637 border-right: 1px solid #ddd; 1638 border-bottom: 1px solid #ddd; 1639 } 1640 .block-editor-color-gradient-item:nth-child(1 of .block-editor-color-gradient-item) { 1641 border-top-left-radius: 2px; 1642 border-top-right-radius: 2px; 1643 border-top: 1px solid #ddd; 1644 } 1645 .block-editor-color-gradient-item:nth-last-child(1 of .block-editor-color-gradient-item) { 1646 border-bottom-left-radius: 2px; 1647 border-bottom-right-radius: 2px; 1648 } 1649 .block-editor-color-gradient-item > div, 1650 .block-editor-color-gradient-item > div > button { 1651 border-radius: inherit; 1652 } 1653 1654 .block-editor-tools-panel-color-gradient-settings__dropdown { 1655 display: block; 1656 padding: 0; 1657 } 1658 .block-editor-tools-panel-color-gradient-settings__dropdown > button { 1659 height: auto; 1660 padding-top: 10px; 1661 padding-bottom: 10px; 1662 text-align: left; 1663 } 1664 .block-editor-tools-panel-color-gradient-settings__dropdown > button.is-open { 1665 background: #f0f0f0; 1666 color: var(--wp-admin-theme-color); 1667 } 1668 .block-editor-tools-panel-color-gradient-settings__dropdown .block-editor-panel-color-gradient-settings__color-name { 1669 min-width: 0; 1670 white-space: nowrap; 1671 overflow: hidden; 1672 text-overflow: ellipsis; 1673 max-width: calc(100% - 44px); 1674 } 1675 .block-editor-tools-panel-color-gradient-settings__dropdown > button.has-contrast-warning .block-editor-panel-color-gradient-settings__color-name { 1676 max-width: calc(100% - 72px); 1677 } 1678 1679 .block-editor-panel-color-gradient-settings__dropdown { 1680 width: 100%; 1681 } 1682 .block-editor-panel-color-gradient-settings__dropdown .component-color-indicator { 1683 flex-shrink: 0; 1684 } 1685 1686 .block-editor-panel-color-gradient-settings__labeled-indicators { 1687 width: 100%; 1688 min-width: 0; 1689 } 1690 1691 .block-editor-panel-color-gradient-settings__color-indicators { 1692 display: flex; 1693 flex-shrink: 0; 1694 } 1695 .block-editor-panel-color-gradient-settings__color-indicators > * + * { 1696 margin-inline-start: -8px; 1697 } 1698 1699 .block-editor-panel-color-gradient-settings__reset { 1700 position: absolute; 1701 right: 0; 1702 top: 8px; 1703 margin: auto 8px auto; 1704 opacity: 0; 1705 } 1706 @media not (prefers-reduced-motion) { 1707 .block-editor-panel-color-gradient-settings__reset { 1708 transition: opacity 0.1s ease-in-out; 1709 } 1710 } 1711 .block-editor-panel-color-gradient-settings__reset.block-editor-panel-color-gradient-settings__reset { 1712 border-radius: 2px; 1713 } 1714 .block-editor-panel-color-gradient-settings__dropdown:hover + .block-editor-panel-color-gradient-settings__reset, .block-editor-panel-color-gradient-settings__reset:focus, .block-editor-panel-color-gradient-settings__reset:hover { 1715 opacity: 1; 1716 } 1717 @media (hover: none) { 1718 .block-editor-panel-color-gradient-settings__reset { 1719 opacity: 1; 1720 } 1721 } 1722 .block-editor-panel-color-gradient-settings__dropdown.has-contrast-warning + .block-editor-panel-color-gradient-settings__reset { 1723 right: 28px; 1724 } 1725 1726 .block-editor-panel-color-gradient-settings__contrast-warning { 1727 position: absolute; 1728 right: 0; 1729 top: 8px; 1730 margin: auto 8px auto; 1731 } 1732 .block-editor-panel-color-gradient-settings__contrast-warning.block-editor-panel-color-gradient-settings__contrast-warning { 1733 border-radius: 2px; 1734 } 1735 1736 .block-editor-date-format-picker { 1737 margin: 0 0 16px; 1738 padding: 0; 1739 border: none; 1740 } 1741 1742 .block-editor-dimension-control { 1743 border: 0; 1744 margin: 0; 1745 padding: 0; 1746 } 1747 1748 .block-editor-duotone-control__popover.components-popover > .components-popover__content { 1749 padding: 8px; 1750 width: 260px; 1751 } 1752 .block-editor-duotone-control__popover.components-popover .components-menu-group__label { 1753 padding: 0; 1754 } 1755 .block-editor-duotone-control__popover.components-popover .components-circular-option-picker__swatches { 1756 display: grid; 1757 grid-template-columns: repeat(6, 28px); 1758 gap: 12px; 1759 justify-content: space-between; 1760 } 1761 1762 .block-editor-duotone-control__unset-indicator { 1763 background: linear-gradient(-45deg, transparent 48%, #ddd 48%, #ddd 52%, transparent 52%); 1764 } 1765 1766 .block-editor-fit-text-size-warning { 1767 grid-column: span 2; 1768 } 1769 1770 .components-font-appearance-control__option { 1771 text-transform: capitalize; 1772 } 1773 1774 .block-editor-font-family-control__hint { 1775 margin-inline-start: var(--wpds-dimension-gap-sm, 8px); 1776 color: var(--wpds-color-foreground-interactive-neutral-weak, #707070); 1777 } 1778 1779 .block-editor-global-styles__toggle-icon { 1780 fill: currentColor; 1781 } 1782 1783 .block-editor-global-styles__shadow-popover-container { 1784 width: 230px; 1785 } 1786 1787 .block-editor-global-styles__shadow__list { 1788 display: flex; 1789 gap: 12px; 1790 flex-wrap: wrap; 1791 padding-bottom: 8px; 1792 } 1793 1794 .block-editor-global-styles__clear-shadow { 1795 text-align: right; 1796 } 1797 1798 .block-editor-global-styles-state-control { 1799 margin-top: -4px; 1800 } 1801 1802 .block-editor-global-styles-state-control__badges { 1803 min-height: 24px; 1804 } 1805 1806 .block-editor-global-styles-state-control__badge-infotip { 1807 display: inline-flex; 1808 align-items: center; 1809 padding: 0; 1810 border: 0; 1811 border-radius: var(--wpds-border-radius-sm, 2px); 1812 background: none; 1813 color: var(--wpds-color-foreground-content-neutral-weak, #707070); 1814 cursor: var(--wpds-cursor-control, pointer); 1815 } 1816 1817 .block-editor-global-styles-state-control__badge-infotip-popup { 1818 max-width: 240px; 1819 } 1820 1821 .block-editor-global-styles-filters-panel__dropdown, 1822 .block-editor-global-styles__shadow-dropdown { 1823 display: block; 1824 padding: 0; 1825 position: relative; 1826 border: 1px solid #ddd; 1827 border-radius: 2px; 1828 } 1829 1830 .block-editor-global-styles-filters-panel__dropdown-toggle, 1831 .block-editor-global-styles__shadow-dropdown-toggle { 1832 width: 100%; 1833 padding: 8px; 1834 } 1835 .block-editor-global-styles-filters-panel__dropdown-toggle.is-open, 1836 .block-editor-global-styles__shadow-dropdown-toggle.is-open { 1837 background-color: #f0f0f0; 1838 } 1839 1840 .block-editor-panel-duotone-settings__label-row { 1841 width: 100%; 1842 min-width: 0; 1843 } 1844 1845 .block-editor-panel-duotone-settings__label { 1846 min-width: 0; 1847 } 1848 1849 .block-editor-global-styles__shadow-editor__remove-button { 1850 position: absolute; 1851 right: 0; 1852 top: 8px; 1853 margin: auto 8px auto; 1854 opacity: 0; 1855 } 1856 @media not (prefers-reduced-motion) { 1857 .block-editor-global-styles__shadow-editor__remove-button { 1858 transition: opacity 0.1s ease-in-out; 1859 } 1860 } 1861 .block-editor-global-styles__shadow-dropdown:hover .block-editor-global-styles__shadow-editor__remove-button, .block-editor-global-styles__shadow-editor__remove-button:focus, .block-editor-global-styles__shadow-editor__remove-button:hover { 1862 opacity: 1; 1863 } 1864 @media (hover: none) { 1865 .block-editor-global-styles__shadow-editor__remove-button { 1866 opacity: 1; 1867 } 1868 } 1869 1870 .block-editor-global-styles__shadow-indicator { 1871 appearance: none; 1872 background: none; 1873 color: #2f2f2f; 1874 border: #e0e0e0 1px solid; 1875 border-radius: 2px; 1876 cursor: var(--wpds-cursor-control, pointer); 1877 display: inline-flex; 1878 align-items: center; 1879 padding: 0; 1880 height: 26px; 1881 width: 26px; 1882 box-sizing: border-box; 1883 transform: scale(1); 1884 } 1885 @media not (prefers-reduced-motion) { 1886 .block-editor-global-styles__shadow-indicator { 1887 transition: transform 0.1s ease; 1888 } 1889 } 1890 .block-editor-global-styles__shadow-indicator { 1891 will-change: transform; 1892 } 1893 .block-editor-global-styles__shadow-indicator:focus { 1894 border: 2px solid #757575; 1895 } 1896 .block-editor-global-styles__shadow-indicator:hover { 1897 transform: scale(1.2); 1898 } 1899 .block-editor-global-styles__shadow-indicator.unset { 1900 background: linear-gradient(-45deg, transparent 48%, #ddd 48%, #ddd 52%, transparent 52%); 1901 } 1902 1903 .block-editor-global-styles-advanced-panel__custom-css-input { 1904 margin-bottom: 16px; 1905 } 1906 .block-editor-global-styles-advanced-panel__custom-css-input textarea { 1907 font-family: Menlo, Consolas, monaco, monospace; 1908 /*rtl:ignore*/ 1909 direction: ltr; 1910 } 1911 1912 .block-editor-panel-duotone-settings__reset { 1913 position: absolute; 1914 right: 0; 1915 top: 8px; 1916 margin: auto 8px auto; 1917 opacity: 0; 1918 } 1919 @media not (prefers-reduced-motion) { 1920 .block-editor-panel-duotone-settings__reset { 1921 transition: opacity 0.1s ease-in-out; 1922 } 1923 } 1924 .block-editor-global-styles-filters-panel__dropdown:hover .block-editor-panel-duotone-settings__reset, .block-editor-panel-duotone-settings__reset:focus, .block-editor-panel-duotone-settings__reset:hover { 1925 opacity: 1; 1926 } 1927 @media (hover: none) { 1928 .block-editor-panel-duotone-settings__reset { 1929 opacity: 1; 1930 } 1931 } 1932 1933 .block-editor-global-styles__text-shadow { 1934 width: 260px; 1935 padding: 8px; 1936 } 1937 1938 .block-editor-global-styles__text-shadow-preview { 1939 display: flex; 1940 align-items: center; 1941 justify-content: center; 1942 height: 80px; 1943 border: #ddd 1px solid; 1944 border-radius: 2px; 1945 font-size: 24px; 1946 margin-bottom: 16px; 1947 /*rtl:begin:ignore*/ 1948 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); 1949 background-position: 0 0, 8px 8px; 1950 /*rtl:end:ignore*/ 1951 background-size: 16px 16px; 1952 } 1953 1954 .block-editor-global-styles__text-shadow-list-item { 1955 justify-content: space-between; 1956 gap: 8px; 1957 width: 100%; 1958 } 1959 .block-editor-global-styles__text-shadow-list-item:not(.is-active) svg { 1960 opacity: 0; 1961 } 1962 1963 .block-editor-global-styles__text-shadow-dropdown { 1964 display: block; 1965 padding: 0; 1966 position: relative; 1967 border: 1px solid #ddd; 1968 border-radius: 2px; 1969 } 1970 1971 .block-editor-global-styles__text-shadow-dropdown-toggle { 1972 width: 100%; 1973 padding: 8px; 1974 } 1975 .block-editor-global-styles__text-shadow-dropdown-toggle.is-open { 1976 background-color: #f0f0f0; 1977 } 1978 1979 .block-editor-global-styles__text-shadow-remove-button { 1980 position: absolute; 1981 right: 8px; 1982 top: 8px; 1983 opacity: 0; 1984 } 1985 @media not (prefers-reduced-motion) { 1986 .block-editor-global-styles__text-shadow-remove-button { 1987 transition: opacity 0.1s ease-in-out; 1988 } 1989 } 1990 .block-editor-global-styles__text-shadow-dropdown:hover .block-editor-global-styles__text-shadow-remove-button, .block-editor-global-styles__text-shadow-remove-button:focus, .block-editor-global-styles__text-shadow-remove-button:hover { 1991 opacity: 1; 1992 } 1993 @media (hover: none) { 1994 .block-editor-global-styles__text-shadow-remove-button { 1995 opacity: 1; 1996 } 1997 } 1998 1999 .is-inherited-from-global-styles .components-base-control__label, 2000 .is-inherited-from-global-styles .components-input-control__label, 2001 .is-inherited-from-global-styles .block-editor-font-appearance-control__label, 2002 .is-inherited-from-global-styles .block-editor-font-family-control__label { 2003 text-decoration-line: underline; 2004 text-decoration-style: dotted; 2005 text-decoration-thickness: 1px; 2006 text-underline-offset: 0.2em; 2007 } 2008 .is-inherited-from-global-styles .block-editor-panel-color-gradient-settings__color-name, 2009 .is-inherited-from-global-styles .block-editor-global-styles-background-panel__inspector-media-replace-title, 2010 .is-inherited-from-global-styles .block-editor-panel-duotone-settings__label { 2011 border-bottom: 1px dotted currentColor; 2012 } 2013 2014 .has-local-override-from-global-styles { 2015 position: relative; 2016 } 2017 2018 .global-styles-inheritance-affordance { 2019 position: absolute; 2020 inset-block-start: 0; 2021 inset-inline-end: 0; 2022 z-index: 1; 2023 display: flex; 2024 align-items: center; 2025 justify-content: center; 2026 pointer-events: none; 2027 height: 16px; 2028 } 2029 .global-styles-inheritance-affordance--offset-toggle { 2030 inset-inline-end: 32px; 2031 } 2032 .global-styles-inheritance-affordance .has-local-override-from-global-styles__reset { 2033 pointer-events: auto; 2034 margin-inline-start: 0 !important; 2035 } 2036 2037 .has-local-override-from-global-styles__reset { 2038 display: inline-flex !important; 2039 align-items: center; 2040 justify-content: center; 2041 vertical-align: middle; 2042 position: relative; 2043 margin-inline-start: 6px; 2044 min-width: 14px !important; 2045 width: 14px !important; 2046 height: 14px !important; 2047 padding: 0 !important; 2048 border-radius: 50% !important; 2049 background: transparent !important; 2050 box-shadow: none !important; 2051 overflow: hidden; 2052 text-transform: none; 2053 letter-spacing: normal; 2054 cursor: var(--wpds-cursor-control, pointer); 2055 } 2056 .has-local-override-from-global-styles__reset:hover, .has-local-override-from-global-styles__reset:focus { 2057 background: transparent !important; 2058 } 2059 .has-local-override-from-global-styles__reset:hover .has-local-override-from-global-styles__dot, .has-local-override-from-global-styles__reset:focus .has-local-override-from-global-styles__dot { 2060 display: none; 2061 } 2062 .has-local-override-from-global-styles__reset:hover .has-local-override-from-global-styles__reset-icon, .has-local-override-from-global-styles__reset:focus .has-local-override-from-global-styles__reset-icon { 2063 display: block; 2064 } 2065 .has-local-override-from-global-styles__reset:focus-visible { 2066 outline: 1.5px solid var(--wp-admin-theme-color, #3858e9); 2067 outline-offset: 1px; 2068 } 2069 .has-local-override-from-global-styles__reset.block-editor-panel-color-gradient-settings__reset { 2070 position: absolute; 2071 justify-content: center; 2072 top: 50%; 2073 transform: translateY(-50%); 2074 margin-block: 0; 2075 margin-inline-start: 0; 2076 opacity: 1; 2077 } 2078 .has-local-override-from-global-styles__reset.block-editor-global-styles__shadow-editor__remove-button { 2079 position: absolute; 2080 justify-content: center; 2081 inset-inline-end: 8px; 2082 top: 50%; 2083 transform: translateY(-50%); 2084 margin-block: 0; 2085 margin-inline-start: 0; 2086 opacity: 1; 2087 } 2088 .has-local-override-from-global-styles__reset.block-editor-panel-duotone-settings__reset { 2089 position: absolute; 2090 justify-content: center; 2091 inset-inline-end: 8px; 2092 top: 50%; 2093 transform: translateY(-50%); 2094 margin-block: 0; 2095 margin-inline-start: 0; 2096 opacity: 1; 2097 } 2098 2099 .has-local-override-from-global-styles__dot { 2100 display: block; 2101 width: 8px; 2102 height: 8px; 2103 background-color: var(--wp-admin-theme-color, #3858e9); 2104 border-radius: 50%; 2105 } 2106 2107 .has-local-override-from-global-styles__reset-icon { 2108 display: none; 2109 position: absolute; 2110 top: 50%; 2111 left: 50%; 2112 transform: translate(-50%, -50%); 2113 color: var(--wp-admin-theme-color, #3858e9); 2114 } 2115 2116 .block-editor-grid-visualizer.block-editor-grid-visualizer.block-editor-grid-visualizer { 2117 z-index: 30; 2118 } 2119 .block-editor-grid-visualizer.block-editor-grid-visualizer.block-editor-grid-visualizer .components-popover__content * { 2120 pointer-events: none; 2121 } 2122 .block-editor-grid-visualizer.block-editor-grid-visualizer.block-editor-grid-visualizer.is-dropping-allowed .block-editor-grid-visualizer__drop-zone { 2123 pointer-events: all; 2124 } 2125 .block-editor-grid-visualizer.block-editor-grid-visualizer.block-editor-grid-visualizer .block-editor-inserter * { 2126 pointer-events: auto; 2127 } 2128 2129 .block-editor-grid-visualizer__grid { 2130 display: grid; 2131 position: absolute; 2132 } 2133 2134 .block-editor-grid-visualizer__cell { 2135 display: grid; 2136 position: relative; 2137 } 2138 .block-editor-grid-visualizer__cell .block-editor-inserter { 2139 color: inherit; 2140 z-index: 32; 2141 position: absolute; 2142 top: 0; 2143 bottom: 0; 2144 left: 0; 2145 right: 0; 2146 overflow: hidden; 2147 } 2148 .block-editor-grid-visualizer__cell .block-editor-inserter .block-editor-grid-visualizer__appender { 2149 box-shadow: inset 0 0 0 1px color-mix(in srgb, currentColor 20%, rgba(0, 0, 0, 0)); 2150 color: inherit; 2151 overflow: hidden; 2152 height: 100%; 2153 width: 100%; 2154 padding: 0 !important; 2155 opacity: 0; 2156 } 2157 .block-editor-grid-visualizer__cell.is-highlighted .block-editor-inserter, 2158 .block-editor-grid-visualizer__cell.is-highlighted .block-editor-grid-visualizer__drop-zone { 2159 background: var(--wp-admin-theme-color); 2160 } 2161 .block-editor-grid-visualizer__cell:hover .block-editor-grid-visualizer__appender, 2162 .block-editor-grid-visualizer__cell .block-editor-grid-visualizer__appender:focus { 2163 opacity: 1; 2164 background-color: color-mix(in srgb, currentColor 20%, rgba(0, 0, 0, 0)); 2165 } 2166 2167 .block-editor-grid-visualizer__drop-zone { 2168 background: rgba(204, 204, 204, 0.1); 2169 width: 100%; 2170 height: 100%; 2171 grid-column: 1; 2172 grid-row: 1; 2173 min-width: 8px; 2174 min-height: 8px; 2175 } 2176 2177 .block-editor-grid-item-resizer.block-editor-grid-item-resizer.block-editor-grid-item-resizer { 2178 z-index: 30; 2179 } 2180 .block-editor-grid-item-resizer.block-editor-grid-item-resizer.block-editor-grid-item-resizer .components-popover__content * { 2181 pointer-events: none; 2182 } 2183 2184 .block-editor-grid-item-resizer__box { 2185 border: 1px solid var(--wp-admin-theme-color); 2186 } 2187 .block-editor-grid-item-resizer__box .components-resizable-box__handle.components-resizable-box__handle.components-resizable-box__handle { 2188 pointer-events: all; 2189 } 2190 2191 .block-editor-grid-item-mover__move-button-container { 2192 display: flex; 2193 padding: 0; 2194 border: none; 2195 justify-content: center; 2196 } 2197 .block-editor-grid-item-mover__move-button-container .block-editor-grid-item-mover-button { 2198 width: 24px; 2199 min-width: 0 !important; 2200 padding-left: 0; 2201 padding-right: 0; 2202 } 2203 .block-editor-grid-item-mover__move-button-container .block-editor-grid-item-mover-button svg { 2204 min-width: 24px; 2205 } 2206 .block-editor-grid-item-mover__move-button-container .block-editor-grid-item-mover-button::before { 2207 content: ""; 2208 position: absolute; 2209 display: block; 2210 border-radius: 2px; 2211 height: 32px; 2212 left: 8px; 2213 right: 8px; 2214 z-index: -1; 2215 } 2216 @media not (prefers-reduced-motion) { 2217 .block-editor-grid-item-mover__move-button-container .block-editor-grid-item-mover-button::before { 2218 animation: components-button__appear-animation 0.1s ease; 2219 animation-fill-mode: forwards; 2220 } 2221 } 2222 2223 .block-editor-grid-item-mover__move-vertical-button-container { 2224 display: flex; 2225 position: relative; 2226 } 2227 @media (min-width: 600px) { 2228 .block-editor-grid-item-mover__move-vertical-button-container { 2229 flex-direction: column; 2230 justify-content: space-around; 2231 } 2232 .block-editor-grid-item-mover__move-vertical-button-container > .block-editor-grid-item-mover-button.block-editor-grid-item-mover-button { 2233 height: 20px !important; 2234 width: 100%; 2235 min-width: 0 !important; 2236 } 2237 .block-editor-grid-item-mover__move-vertical-button-container > .block-editor-grid-item-mover-button.block-editor-grid-item-mover-button::before { 2238 height: calc(100% - 4px); 2239 } 2240 .block-editor-grid-item-mover__move-vertical-button-container .block-editor-grid-item-mover-button.is-up-button svg, 2241 .block-editor-grid-item-mover__move-vertical-button-container .block-editor-grid-item-mover-button.is-down-button svg { 2242 flex-shrink: 0; 2243 height: 20px; 2244 } 2245 } 2246 2247 @media (min-width: 600px) { 2248 .editor-collapsible-block-toolbar .block-editor-grid-item-mover__move-vertical-button-container { 2249 height: 40px; 2250 position: relative; 2251 top: -4px; 2252 } 2253 } 2254 2255 .show-icon-labels .block-editor-grid-item-mover__move-horizontal-button-container { 2256 position: relative; 2257 } 2258 @media (min-width: 600px) { 2259 .show-icon-labels .block-editor-grid-item-mover__move-horizontal-button-container::before { 2260 content: ""; 2261 height: 100%; 2262 width: 1px; 2263 background: #e0e0e0; 2264 position: absolute; 2265 top: 0; 2266 } 2267 } 2268 @media (min-width: 782px) { 2269 .show-icon-labels .block-editor-grid-item-mover__move-horizontal-button-container::before { 2270 background: #1e1e1e; 2271 } 2272 } 2273 .show-icon-labels .block-editor-grid-item-mover__move-horizontal-button-container.is-left { 2274 padding-right: 6px; 2275 } 2276 .show-icon-labels .block-editor-grid-item-mover__move-horizontal-button-container.is-left::before { 2277 right: 0; 2278 } 2279 .show-icon-labels .block-editor-grid-item-mover__move-horizontal-button-container.is-right { 2280 padding-left: 6px; 2281 } 2282 .show-icon-labels .block-editor-grid-item-mover__move-horizontal-button-container.is-right::before { 2283 left: 0; 2284 } 2285 @media (min-width: 600px) { 2286 .show-icon-labels .block-editor-grid-item-mover__move-vertical-button-container::before { 2287 content: ""; 2288 height: 1px; 2289 width: 100%; 2290 background: #e0e0e0; 2291 position: absolute; 2292 top: 50%; 2293 left: 50%; 2294 transform: translate(-50%, 0); 2295 margin-top: -0.5px; 2296 } 2297 } 2298 @media (min-width: 782px) { 2299 .show-icon-labels .block-editor-grid-item-mover__move-vertical-button-container::before { 2300 background: #1e1e1e; 2301 } 2302 } 2303 .show-icon-labels .block-editor-grid-item-mover-button { 2304 white-space: nowrap; 2305 } 2306 .show-icon-labels .editor-collapsible-block-toolbar .block-editor-grid-item-mover__move-horizontal-button-container::before { 2307 height: 24px; 2308 background: #ddd; 2309 top: 4px; 2310 } 2311 .show-icon-labels .editor-collapsible-block-toolbar .block-editor-grid-item-mover__move-vertical-button-container::before { 2312 background: #ddd; 2313 width: calc(100% - 24px); 2314 } 2315 2316 .block-editor-height-control { 2317 border: 0; 2318 margin: 0; 2319 padding: 0; 2320 } 2321 2322 .block-editor-iframe__container { 2323 width: 100%; 2324 height: 100%; 2325 } 2326 2327 .block-editor-iframe__scale-container { 2328 height: 100%; 2329 } 2330 2331 .block-editor-iframe__scale-container.is-zoomed-out { 2332 width: var(--wp-block-editor-iframe-zoom-out-scale-container-width, 100vw); 2333 position: absolute; 2334 right: 0; 2335 } 2336 2337 .wp-block-image__crop-area { 2338 position: relative; 2339 max-width: 100%; 2340 width: 100%; 2341 overflow: hidden; 2342 } 2343 .wp-block-image__crop-area .reactEasyCrop_Container { 2344 pointer-events: auto; 2345 } 2346 .wp-block-image__crop-area .reactEasyCrop_Container .reactEasyCrop_Image { 2347 border: none; 2348 border-radius: 0; 2349 } 2350 2351 .wp-block-image__zoom .components-popover__content { 2352 min-width: 260px; 2353 overflow: visible !important; 2354 } 2355 2356 .block-editor-block-types-list__list-item { 2357 display: block; 2358 width: 33.33%; 2359 padding: 0; 2360 margin: 0; 2361 } 2362 .block-editor-block-types-list__list-item.is-synced .components-button.block-editor-block-types-list__item:not(:disabled) .block-editor-block-icon.has-colors { 2363 color: var(--wp-block-synced-color); 2364 } 2365 .block-editor-block-types-list__list-item.is-synced .components-button.block-editor-block-types-list__item:not(:disabled):hover .block-editor-block-types-list__item-title { 2366 color: var(--wp-block-synced-color) !important; 2367 filter: brightness(0.95); 2368 } 2369 .block-editor-block-types-list__list-item.is-synced .components-button.block-editor-block-types-list__item:not(:disabled):hover svg { 2370 color: var(--wp-block-synced-color) !important; 2371 } 2372 .block-editor-block-types-list__list-item.is-synced .components-button.block-editor-block-types-list__item:not(:disabled)::after { 2373 background: var(--wp-block-synced-color); 2374 } 2375 2376 .components-button.block-editor-block-types-list__item { 2377 display: flex; 2378 flex-direction: column; 2379 width: 100%; 2380 font-size: 13px; 2381 color: #1e1e1e; 2382 padding: 8px; 2383 align-items: stretch; 2384 justify-content: center; 2385 cursor: var(--wpds-cursor-control, pointer); 2386 background: transparent; 2387 word-break: normal; 2388 overflow-wrap: break-word; 2389 } 2390 @media not (prefers-reduced-motion) { 2391 .components-button.block-editor-block-types-list__item { 2392 transition: all 0.05s ease-in-out; 2393 } 2394 } 2395 .components-button.block-editor-block-types-list__item { 2396 position: relative; 2397 height: auto; 2398 } 2399 .components-button.block-editor-block-types-list__item:disabled, .components-button.block-editor-block-types-list__item[aria-disabled=true] { 2400 opacity: 0.6; 2401 cursor: default; 2402 } 2403 .components-button.block-editor-block-types-list__item:not(:disabled, [aria-disabled=true]):hover .block-editor-block-types-list__item-title { 2404 color: var(--wp-admin-theme-color) !important; 2405 filter: brightness(0.95); 2406 } 2407 .components-button.block-editor-block-types-list__item:not(:disabled, [aria-disabled=true]):hover svg { 2408 color: var(--wp-admin-theme-color) !important; 2409 } 2410 .components-button.block-editor-block-types-list__item:not(:disabled, [aria-disabled=true]):hover::after { 2411 content: ""; 2412 position: absolute; 2413 top: 0; 2414 bottom: 0; 2415 left: 0; 2416 right: 0; 2417 border-radius: 2px; 2418 opacity: 0.04; 2419 background: var(--wp-admin-theme-color); 2420 pointer-events: none; 2421 } 2422 2423 .block-editor-block-types-list__item-icon { 2424 padding: 12px 20px; 2425 color: #1e1e1e; 2426 } 2427 @media not (prefers-reduced-motion) { 2428 .block-editor-block-types-list__item-icon { 2429 transition: all 0.05s ease-in-out; 2430 } 2431 } 2432 .block-editor-block-types-list__item-icon .block-editor-block-icon { 2433 margin-left: auto; 2434 margin-right: auto; 2435 } 2436 @media not (prefers-reduced-motion) { 2437 .block-editor-block-types-list__item-icon svg { 2438 transition: all 0.15s ease-out; 2439 } 2440 } 2441 .block-editor-block-types-list__list-item[draggable=true] .block-editor-block-types-list__item-icon { 2442 cursor: grab; 2443 } 2444 2445 .block-editor-block-types-list__item-title { 2446 padding: 4px 2px 8px; 2447 font-size: 12px; 2448 hyphens: auto; 2449 } 2450 2451 .modal-open .block-editor-inspector-list-view-content-popover { 2452 z-index: 99999; 2453 } 2454 2455 .block-editor-block-inspector__tabs [role=tablist] { 2456 width: 100%; 2457 } 2458 2459 .block-editor-inspector-popover-header { 2460 margin-bottom: 16px; 2461 } 2462 2463 .items-justified-left { 2464 justify-content: flex-start; 2465 } 2466 2467 .items-justified-center { 2468 justify-content: center; 2469 } 2470 2471 .items-justified-right { 2472 justify-content: flex-end; 2473 } 2474 2475 .items-justified-space-between { 2476 justify-content: space-between; 2477 } 2478 2479 @keyframes loadingpulse { 2480 0% { 2481 opacity: 1; 2482 } 2483 50% { 2484 opacity: 0; 2485 } 2486 100% { 2487 opacity: 1; 2488 } 2489 } 2490 .block-editor-link-control { 2491 position: relative; 2492 min-width: 350px; 2493 } 2494 .components-popover__content .block-editor-link-control { 2495 min-width: auto; 2496 width: 90vw; 2497 max-width: 350px; 2498 } 2499 .show-icon-labels .block-editor-link-control .components-button.has-icon svg { 2500 display: none; 2501 } 2502 .show-icon-labels .block-editor-link-control .components-button.has-icon::before { 2503 content: attr(aria-label); 2504 } 2505 .show-icon-labels .block-editor-link-control .block-editor-link-control__preview { 2506 gap: 4px; 2507 flex-wrap: wrap; 2508 } 2509 .show-icon-labels .block-editor-link-control .block-editor-link-control__preview .components-button.has-icon { 2510 width: auto; 2511 padding: 4px; 2512 } 2513 .show-icon-labels .block-editor-link-control .block-editor-link-control__preview .block-editor-link-control_link-information { 2514 min-width: 100%; 2515 margin-right: 0; 2516 } 2517 2518 .block-editor-link-control__search-input-wrapper { 2519 margin-bottom: 8px; 2520 position: relative; 2521 } 2522 2523 .block-editor-link-control__help { 2524 padding: 0 16px; 2525 margin-top: -8px; 2526 margin-bottom: 0; 2527 font-size: 12px; 2528 font-style: normal; 2529 color: #757575; 2530 } 2531 2532 .block-editor-link-control__search-input-container, 2533 .block-editor-link-control__search-input-wrapper { 2534 position: relative; 2535 } 2536 2537 .block-editor-link-control__field { 2538 margin: 16px; 2539 } 2540 .block-editor-link-control__field .components-base-control__label { 2541 color: #1e1e1e; 2542 } 2543 2544 .block-editor-link-control__search-error { 2545 margin: -8px 16px 16px; 2546 } 2547 2548 .block-editor-link-control__search-actions { 2549 padding: 8px 16px 16px; 2550 } 2551 2552 .block-editor-link-control__search-results-wrapper { 2553 position: relative; 2554 } 2555 .block-editor-link-control__search-results-wrapper::before, .block-editor-link-control__search-results-wrapper::after { 2556 content: ""; 2557 position: absolute; 2558 left: -1px; 2559 right: 16px; 2560 display: block; 2561 pointer-events: none; 2562 z-index: 100; 2563 } 2564 .block-editor-link-control__search-results-wrapper::before { 2565 height: 8px; 2566 top: 0; 2567 bottom: auto; 2568 } 2569 .block-editor-link-control__search-results-wrapper::after { 2570 height: 16px; 2571 bottom: 0; 2572 top: auto; 2573 } 2574 2575 .block-editor-link-control__search-results { 2576 margin-top: -16px; 2577 padding: 8px; 2578 max-height: 200px; 2579 overflow-y: auto; 2580 } 2581 .block-editor-link-control__search-results.is-loading { 2582 opacity: 0.2; 2583 } 2584 2585 .block-editor-link-control__search-item.components-button.components-menu-item__button { 2586 height: auto; 2587 text-align: left; 2588 } 2589 .block-editor-link-control__search-item .components-menu-item__item { 2590 overflow: hidden; 2591 text-overflow: ellipsis; 2592 display: inline-block; 2593 width: 100%; 2594 } 2595 .block-editor-link-control__search-item .components-menu-item__item mark { 2596 font-weight: var(--wpds-typography-font-weight-emphasis, 600); 2597 color: inherit; 2598 background-color: transparent; 2599 } 2600 .block-editor-link-control__search-item .components-menu-item__shortcut { 2601 white-space: nowrap; 2602 } 2603 .block-editor-link-control__search-item:not(:focus, [aria-selected=true]) .components-menu-item__shortcut { 2604 color: var(--wpds-color-foreground-content-neutral-weak, #707070); 2605 } 2606 2607 .block-editor-link-control__preview { 2608 background: transparent; 2609 border: 0; 2610 padding: 16px; 2611 } 2612 .block-editor-link-control__preview .block-editor-link-control__link-information { 2613 margin-right: 8px; 2614 white-space: pre-wrap; 2615 overflow-wrap: break-word; 2616 } 2617 .block-editor-link-control__preview .block-editor-link-control__link-information .block-editor-link-control__preview-info { 2618 color: #757575; 2619 line-height: 1.1; 2620 font-size: 12px; 2621 word-break: break-all; 2622 } 2623 .block-editor-link-control__preview.is-url-title .block-editor-link-control__preview-title { 2624 word-break: break-all; 2625 } 2626 .block-editor-link-control__preview .block-editor-link-control__preview-image, 2627 .block-editor-link-control__preview .block-editor-link-control__preview-icon { 2628 position: relative; 2629 flex-shrink: 0; 2630 background-color: #f0f0f0; 2631 width: 32px; 2632 height: 32px; 2633 border-radius: 2px; 2634 } 2635 .block-editor-link-control__preview .block-editor-link-control__preview-icon img { 2636 width: 16px; 2637 } 2638 .block-editor-link-control__preview.is-error .block-editor-link-control__preview-icon { 2639 top: 0; 2640 width: 32px; 2641 max-height: 32px; 2642 } 2643 .block-editor-link-control__preview .block-editor-link-control__preview-title { 2644 display: flex; 2645 align-items: baseline; 2646 line-height: var(--wpds-typography-line-height-sm, 20px); 2647 } 2648 .block-editor-link-control__preview .block-editor-link-control__preview-title mark { 2649 font-weight: var(--wpds-typography-font-weight-emphasis, 600); 2650 color: inherit; 2651 background-color: transparent; 2652 } 2653 .block-editor-link-control__preview .block-editor-link-control__preview-title span { 2654 font-weight: 400; 2655 } 2656 2657 .block-editor-link-control__preview.is-fetching .block-editor-link-control__preview-icon svg, 2658 .block-editor-link-control__preview.is-fetching .block-editor-link-control__preview-icon img { 2659 opacity: 0; 2660 } 2661 .block-editor-link-control__preview.is-fetching .block-editor-link-control__preview-icon::before { 2662 content: ""; 2663 display: block; 2664 background-color: #f0f0f0; 2665 position: absolute; 2666 top: 0; 2667 left: 0; 2668 right: 0; 2669 bottom: 0; 2670 border-radius: 100%; 2671 } 2672 @media not (prefers-reduced-motion) { 2673 .block-editor-link-control__preview.is-fetching .block-editor-link-control__preview-icon::before { 2674 animation: loadingpulse 1s linear infinite; 2675 animation-delay: 0.5s; 2676 } 2677 } 2678 2679 .block-editor-link-control__loading { 2680 margin: 16px; 2681 display: flex; 2682 align-items: center; 2683 } 2684 .block-editor-link-control__loading .components-spinner { 2685 margin-top: 0; 2686 } 2687 2688 .components-button + .block-editor-link-control__search-create { 2689 overflow: visible; 2690 padding: 12px 16px; 2691 } 2692 .components-button + .block-editor-link-control__search-create::before { 2693 content: ""; 2694 position: absolute; 2695 top: -10px; 2696 left: 0; 2697 display: block; 2698 width: 100%; 2699 } 2700 2701 .block-editor-link-control__search-create { 2702 align-items: center; 2703 } 2704 .block-editor-link-control__search-create .block-editor-link-control__preview-title { 2705 margin-bottom: 0; 2706 } 2707 .block-editor-link-control__search-create .block-editor-link-control__search-item-icon { 2708 top: 0; 2709 } 2710 2711 .block-editor-link-control__drawer-inner { 2712 display: flex; 2713 flex-direction: column; 2714 flex-basis: 100%; 2715 position: relative; 2716 } 2717 2718 .block-editor-link-control__settings { 2719 border: 0; 2720 padding: 0; 2721 margin: 0; 2722 } 2723 2724 .block-editor-link-control__setting { 2725 margin-bottom: 0; 2726 flex: 1; 2727 padding: 8px 24px; 2728 } 2729 .block-editor-link-control__setting .components-base-control:not(.components-input-control) .components-base-control__field { 2730 display: flex; 2731 } 2732 .block-editor-link-control__setting .components-base-control__field .components-checkbox-control__label { 2733 color: #1e1e1e; 2734 } 2735 .block-editor-link-control__setting input { 2736 margin-left: 0; 2737 } 2738 .is-preview .block-editor-link-control__setting { 2739 padding: 20px 8px 8px 0; 2740 } 2741 2742 .block-editor-link-control__tools { 2743 padding: 8px 8px 0 8px; 2744 margin-top: -16px; 2745 } 2746 .block-editor-link-control__tools .components-button.block-editor-link-control__drawer-toggle { 2747 padding-left: 0; 2748 gap: 0; 2749 } 2750 .block-editor-link-control__tools .components-button.block-editor-link-control__drawer-toggle[aria-expanded=true] { 2751 color: #1e1e1e; 2752 } 2753 .block-editor-link-control__tools .components-button.block-editor-link-control__drawer-toggle[aria-expanded=true] svg { 2754 visibility: visible; 2755 } 2756 @media not (prefers-reduced-motion) { 2757 .block-editor-link-control__tools .components-button.block-editor-link-control__drawer-toggle[aria-expanded=true] svg { 2758 transition: transform 0.1s ease; 2759 } 2760 } 2761 .block-editor-link-control__tools .components-button.block-editor-link-control__drawer-toggle[aria-expanded=true] svg { 2762 transform: rotate(90deg); 2763 } 2764 .block-editor-link-control__tools .components-button.block-editor-link-control__drawer-toggle[aria-expanded=false] svg { 2765 visibility: visible; 2766 transform: rotate(0deg); 2767 } 2768 @media not (prefers-reduced-motion) { 2769 .block-editor-link-control__tools .components-button.block-editor-link-control__drawer-toggle[aria-expanded=false] svg { 2770 transition: transform 0.1s ease; 2771 } 2772 } 2773 2774 .block-editor-link-control .block-editor-link-control__search-input .components-spinner { 2775 display: block; 2776 } 2777 .block-editor-link-control .block-editor-link-control__search-input .components-spinner.components-spinner { 2778 position: absolute; 2779 left: auto; 2780 bottom: auto; 2781 top: calc(50% - 16px / 2); 2782 right: 40px; 2783 } 2784 2785 .block-editor-link-control .block-editor-link-control__search-input-wrapper.has-actions .components-spinner { 2786 top: calc(50% + 16px / 4); 2787 right: 12px; 2788 } 2789 2790 /** 2791 * Link Picker Styles 2792 */ 2793 .link-preview-button.components-button { 2794 width: 100%; 2795 height: auto; 2796 padding: 12px; 2797 border-color: #949494; 2798 } 2799 2800 .link-preview-button__image-container { 2801 width: 24px; 2802 height: 24px; 2803 flex-shrink: 0; 2804 } 2805 2806 .link-preview-button__image { 2807 width: 100%; 2808 height: 100%; 2809 object-fit: cover; 2810 border-radius: 2px; 2811 } 2812 2813 .link-preview-button__content { 2814 min-width: 0; 2815 flex: 1; 2816 } 2817 2818 .link-preview-button__details { 2819 min-width: 0; 2820 flex: 1; 2821 } 2822 2823 .link-preview-button__title, 2824 .link-preview-button__hint { 2825 min-width: 0; 2826 display: block; 2827 width: 100%; 2828 text-align: left; 2829 overflow: hidden; 2830 text-overflow: ellipsis; 2831 white-space: nowrap; 2832 } 2833 2834 .link-preview-button__title { 2835 margin-top: 4px; 2836 font-weight: var(--wpds-typography-font-weight-emphasis, 600); 2837 color: #1e1e1e; 2838 display: block; 2839 } 2840 2841 .link-preview-button__hint { 2842 font-size: 12px; 2843 color: #757575; 2844 font-weight: 400; 2845 } 2846 2847 .link-preview-button__icon { 2848 color: #1e1e1e; 2849 } 2850 2851 .link-preview-button__badges { 2852 margin-top: 8px; 2853 } 2854 2855 .block-editor-list-view-tree { 2856 width: 100%; 2857 border-collapse: collapse; 2858 padding: 0; 2859 margin: 0; 2860 } 2861 .components-modal__content .block-editor-list-view-tree { 2862 margin: -12px -6px 0; 2863 width: calc(100% + 12px); 2864 } 2865 .block-editor-list-view-tree.is-dragging tbody { 2866 pointer-events: none; 2867 } 2868 2869 .block-editor-list-view-leaf { 2870 position: relative; 2871 transform: translateY(0); 2872 } 2873 .block-editor-list-view-leaf:focus-within, .block-editor-list-view-leaf.is-nesting { 2874 z-index: 1; 2875 } 2876 .block-editor-list-view-leaf.is-draggable, .block-editor-list-view-leaf.is-draggable .block-editor-list-view-block-contents { 2877 cursor: grab; 2878 } 2879 .block-editor-list-view-leaf .block-editor-list-view-block-select-button[aria-expanded=true] { 2880 color: inherit; 2881 } 2882 .block-editor-list-view-leaf .block-editor-list-view-block-select-button:hover { 2883 color: var(--wp-admin-theme-color); 2884 } 2885 .block-editor-list-view-leaf .block-editor-list-view-block-select-button svg { 2886 fill: currentColor; 2887 } 2888 .is-dragging-components-draggable .block-editor-list-view-leaf:not(.is-selected) .block-editor-list-view-block-select-button:hover { 2889 color: inherit; 2890 } 2891 .block-editor-list-view-leaf.is-selected td { 2892 background: var(--wp-admin-theme-color); 2893 } 2894 .block-editor-list-view-leaf.is-selected.is-synced td { 2895 background: var(--wp-block-synced-color); 2896 } 2897 .block-editor-list-view-leaf.is-synced:not(.is-selected) .block-editor-list-view-block-contents:hover, .block-editor-list-view-leaf.is-synced:not(.is-selected) .block-editor-list-view-block-contents:focus, 2898 .block-editor-list-view-leaf.is-synced:not(.is-selected) .block-editor-list-view-block-contents .block-editor-block-icon { 2899 color: var(--wp-block-synced-color); 2900 } 2901 .block-editor-list-view-leaf.is-synced .block-editor-list-view-block-contents:focus::after { 2902 --focus-color: var(--wp-block-synced-color); 2903 } 2904 .block-editor-list-view-leaf.is-synced:not(.is-selected) .block-editor-list-view-block__menu:focus { 2905 --focus-color: var(--wp-block-synced-color); 2906 outline: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)) solid var(--focus-color, var(--wpds-color-stroke-focus, var(--wp-admin-theme-color, #3858e9))); 2907 outline-offset: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)); 2908 } 2909 .block-editor-list-view-leaf.is-selected .block-editor-list-view-block-contents, .block-editor-list-view-leaf.is-selected .components-button.has-icon { 2910 color: #fff; 2911 } 2912 .block-editor-list-view-leaf.is-selected .block-editor-list-view-block__menu:focus { 2913 --focus-color: var(--wpds-color-foreground-interactive-brand-strong, #fff); 2914 outline: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)) solid var(--focus-color, var(--wpds-color-stroke-focus, var(--wp-admin-theme-color, #3858e9))); 2915 outline-offset: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)); 2916 outline-offset: calc(-1 * var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px))); 2917 } 2918 @media (forced-colors: active) { 2919 .block-editor-list-view-leaf.is-selected td, .block-editor-list-view-leaf.is-selected.is-synced td { 2920 background: SelectedItem; 2921 } 2922 .block-editor-list-view-leaf.is-selected .block-editor-list-view-block-contents, .block-editor-list-view-leaf.is-selected .components-button.has-icon { 2923 color: SelectedItemText; 2924 } 2925 .block-editor-list-view-leaf.is-selected svg, .block-editor-list-view-leaf.is-selected .block-editor-block-icon.has-colors svg { 2926 fill: SelectedItemText; 2927 } 2928 .block-editor-list-view-leaf.is-selected .block-editor-list-view-block-select-button__title { 2929 forced-color-adjust: none; 2930 } 2931 .block-editor-list-view-leaf.is-selected .block-editor-list-view-block-contents:focus::after { 2932 --focus-color: CanvasText; 2933 } 2934 .block-editor-list-view-leaf.is-selected .block-editor-list-view-block__menu:focus { 2935 --focus-color: SelectedItemText; 2936 } 2937 } 2938 .block-editor-list-view-leaf.is-first-selected td:first-child { 2939 border-top-left-radius: 2px; 2940 } 2941 .block-editor-list-view-leaf.is-first-selected td:last-child { 2942 border-top-right-radius: 2px; 2943 } 2944 .block-editor-list-view-leaf.is-last-selected td:first-child { 2945 border-bottom-left-radius: 2px; 2946 } 2947 .block-editor-list-view-leaf.is-last-selected td:last-child { 2948 border-bottom-right-radius: 2px; 2949 } 2950 .block-editor-list-view-leaf.is-branch-selected:not(.is-selected):not(.is-synced-branch) { 2951 background: rgba(var(--wp-admin-theme-color--rgb), 0.04); 2952 } 2953 .block-editor-list-view-leaf.is-synced-branch.is-branch-selected { 2954 background: rgba(var(--wp-block-synced-color--rgb), 0.04); 2955 } 2956 .block-editor-list-view-leaf.is-branch-selected.is-first-selected td:first-child { 2957 border-top-left-radius: 2px; 2958 } 2959 .block-editor-list-view-leaf.is-branch-selected.is-first-selected td:last-child { 2960 border-top-right-radius: 2px; 2961 } 2962 .block-editor-list-view-leaf[data-expanded=false].is-branch-selected.is-first-selected td:first-child { 2963 border-top-left-radius: 2px; 2964 } 2965 .block-editor-list-view-leaf[data-expanded=false].is-branch-selected.is-first-selected td:last-child { 2966 border-top-right-radius: 2px; 2967 } 2968 .block-editor-list-view-leaf[data-expanded=false].is-branch-selected.is-last-selected td:first-child { 2969 border-bottom-left-radius: 2px; 2970 } 2971 .block-editor-list-view-leaf[data-expanded=false].is-branch-selected.is-last-selected td:last-child { 2972 border-bottom-right-radius: 2px; 2973 } 2974 .block-editor-list-view-leaf.is-branch-selected:not(.is-selected) td { 2975 border-radius: 0; 2976 } 2977 @media not (prefers-reduced-motion) { 2978 .block-editor-list-view-leaf.is-displacement-normal { 2979 transition: transform 0.2s; 2980 } 2981 } 2982 .block-editor-list-view-leaf.is-displacement-normal { 2983 transform: translateY(0); 2984 } 2985 @media not (prefers-reduced-motion) { 2986 .block-editor-list-view-leaf.is-displacement-up { 2987 transition: transform 0.2s; 2988 } 2989 } 2990 .block-editor-list-view-leaf.is-displacement-up { 2991 transform: translateY(-32px); 2992 } 2993 @media not (prefers-reduced-motion) { 2994 .block-editor-list-view-leaf.is-displacement-down { 2995 transition: transform 0.2s; 2996 } 2997 } 2998 .block-editor-list-view-leaf.is-displacement-down { 2999 transform: translateY(32px); 3000 } 3001 @media not (prefers-reduced-motion) { 3002 .block-editor-list-view-leaf.is-after-dragged-blocks { 3003 transition: transform 0.2s; 3004 } 3005 } 3006 .block-editor-list-view-leaf.is-after-dragged-blocks { 3007 transform: translateY(calc(var(--wp-admin--list-view-dragged-items-height, 32px) * -1)); 3008 } 3009 @media not (prefers-reduced-motion) { 3010 .block-editor-list-view-leaf.is-after-dragged-blocks.is-displacement-up { 3011 transition: transform 0.2s; 3012 } 3013 } 3014 .block-editor-list-view-leaf.is-after-dragged-blocks.is-displacement-up { 3015 transform: translateY(calc(-32px + var(--wp-admin--list-view-dragged-items-height, 32px) * -1)); 3016 } 3017 @media not (prefers-reduced-motion) { 3018 .block-editor-list-view-leaf.is-after-dragged-blocks.is-displacement-down { 3019 transition: transform 0.2s; 3020 } 3021 } 3022 .block-editor-list-view-leaf.is-after-dragged-blocks.is-displacement-down { 3023 transform: translateY(calc(32px + var(--wp-admin--list-view-dragged-items-height, 32px) * -1)); 3024 } 3025 .block-editor-list-view-leaf.is-dragging { 3026 opacity: 0; 3027 left: 0; 3028 pointer-events: none; 3029 z-index: -9999; 3030 } 3031 .block-editor-list-view-leaf .block-editor-list-view-block-contents { 3032 display: flex; 3033 align-items: center; 3034 width: 100%; 3035 height: 32px; 3036 padding: 6px 4px 6px 0; 3037 text-align: left; 3038 position: relative; 3039 white-space: nowrap; 3040 border-radius: 2px; 3041 box-sizing: border-box; 3042 color: inherit; 3043 font-family: inherit; 3044 font-size: 13px; 3045 font-weight: 400; 3046 margin: 0; 3047 text-decoration: none; 3048 } 3049 @media not (prefers-reduced-motion) { 3050 .block-editor-list-view-leaf .block-editor-list-view-block-contents { 3051 transition: box-shadow 0.1s linear; 3052 } 3053 } 3054 .components-modal__content .block-editor-list-view-leaf .block-editor-list-view-block-contents { 3055 padding-left: 0; 3056 padding-right: 0; 3057 } 3058 .block-editor-list-view-leaf.is-nesting .block-editor-list-view-block-contents, 3059 .block-editor-list-view-leaf .block-editor-list-view-block-contents:focus { 3060 box-shadow: none; 3061 outline: none; 3062 } 3063 .block-editor-list-view-leaf.is-nesting .block-editor-list-view-block-contents::after, 3064 .block-editor-list-view-leaf .block-editor-list-view-block-contents:focus::after { 3065 content: ""; 3066 position: absolute; 3067 top: 0; 3068 right: -28px; 3069 bottom: 0; 3070 left: 0; 3071 border-radius: inherit; 3072 outline: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)) solid var(--focus-color, var(--wpds-color-stroke-focus, var(--wp-admin-theme-color, #3858e9))); 3073 outline-offset: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)); 3074 outline-offset: 1px; 3075 box-shadow: 0 0 0 calc(var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)) + 2px) var(--wpds-color-background-surface-neutral-strong, #fff); 3076 z-index: 2; 3077 pointer-events: none; 3078 } 3079 .block-editor-list-view-leaf.has-single-cell .block-editor-list-view-block-contents:focus::after { 3080 right: 0; 3081 } 3082 .block-editor-list-view-leaf.is-visible .block-editor-list-view-block-contents { 3083 opacity: 1; 3084 } 3085 @keyframes __wp-base-styles-fade-in { 3086 from { 3087 opacity: 0; 3088 } 3089 to { 3090 opacity: 1; 3091 } 3092 } 3093 @media not (prefers-reduced-motion) { 3094 .block-editor-list-view-leaf.is-visible .block-editor-list-view-block-contents { 3095 animation: __wp-base-styles-fade-in 0.08s linear 0s; 3096 animation-fill-mode: forwards; 3097 } 3098 } 3099 .block-editor-list-view-leaf .block-editor-block-icon { 3100 margin-right: 4px; 3101 flex: 0 0 24px; 3102 } 3103 .block-editor-list-view-leaf .block-editor-list-view-block__menu-cell, 3104 .block-editor-list-view-leaf .block-editor-list-view-block__mover-cell, 3105 .block-editor-list-view-leaf .block-editor-list-view-block__contents-cell { 3106 padding: 0; 3107 } 3108 .block-editor-list-view-leaf .block-editor-list-view-block__menu-cell, 3109 .block-editor-list-view-leaf .block-editor-list-view-block__mover-cell { 3110 line-height: 0; 3111 width: 28px; 3112 vertical-align: middle; 3113 } 3114 .block-editor-list-view-leaf .block-editor-list-view-block__menu-cell > *, 3115 .block-editor-list-view-leaf .block-editor-list-view-block__mover-cell > * { 3116 opacity: 0; 3117 } 3118 .block-editor-list-view-leaf .block-editor-list-view-block__menu-cell:hover > *, .block-editor-list-view-leaf .block-editor-list-view-block__menu-cell:focus-within > *, .block-editor-list-view-leaf .block-editor-list-view-block__menu-cell.is-visible > *, 3119 .block-editor-list-view-leaf .block-editor-list-view-block__mover-cell:hover > *, 3120 .block-editor-list-view-leaf .block-editor-list-view-block__mover-cell:focus-within > *, 3121 .block-editor-list-view-leaf .block-editor-list-view-block__mover-cell.is-visible > * { 3122 opacity: 1; 3123 } 3124 .block-editor-list-view-leaf .block-editor-list-view-block__mover-cell-alignment-wrapper { 3125 display: flex; 3126 height: 100%; 3127 flex-direction: column; 3128 align-items: center; 3129 } 3130 .block-editor-list-view-leaf .block-editor-block-mover-button { 3131 position: relative; 3132 width: 36px; 3133 height: 24px; 3134 } 3135 .block-editor-list-view-leaf .block-editor-block-mover-button svg { 3136 position: relative; 3137 height: 24px; 3138 } 3139 .block-editor-list-view-leaf .block-editor-block-mover-button.is-up-button { 3140 margin-top: -6px; 3141 align-items: flex-end; 3142 } 3143 .block-editor-list-view-leaf .block-editor-block-mover-button.is-up-button svg { 3144 bottom: -4px; 3145 } 3146 .block-editor-list-view-leaf .block-editor-block-mover-button.is-down-button { 3147 margin-bottom: -6px; 3148 align-items: flex-start; 3149 } 3150 .block-editor-list-view-leaf .block-editor-block-mover-button.is-down-button svg { 3151 top: -4px; 3152 } 3153 .block-editor-list-view-leaf .block-editor-inserter__toggle { 3154 background: #1e1e1e; 3155 color: #fff; 3156 height: 24px; 3157 margin: 6px 6px 6px 1px; 3158 min-width: 24px; 3159 } 3160 .block-editor-list-view-leaf .block-editor-inserter__toggle:active { 3161 color: #fff; 3162 } 3163 .block-editor-list-view-leaf .block-editor-list-view-block-select-button__label-wrapper { 3164 width: 100%; 3165 } 3166 .block-editor-list-view-leaf .block-editor-list-view-block-select-button__label-wrapper > * { 3167 min-width: 0; 3168 } 3169 .block-editor-list-view-leaf .block-editor-list-view-block-select-button__label-wrapper svg { 3170 left: 2px; 3171 position: relative; 3172 } 3173 .block-editor-list-view-leaf .block-editor-list-view-block-select-button__title { 3174 flex: 1; 3175 position: relative; 3176 } 3177 .block-editor-list-view-leaf .block-editor-list-view-block-select-button__title .components-truncate { 3178 position: absolute; 3179 width: 100%; 3180 transform: translateY(-50%); 3181 } 3182 .block-editor-list-view-leaf .block-editor-list-view-block-select-button__anchor-wrapper { 3183 position: relative; 3184 max-width: min(110px, 40%); 3185 width: 100%; 3186 } 3187 .block-editor-list-view-leaf .block-editor-list-view-block-select-button__anchor { 3188 position: absolute; 3189 right: 0; 3190 transform: translateY(-50%); 3191 box-sizing: border-box; 3192 max-width: 100%; 3193 padding: 2px 8px; 3194 border-radius: 2px; 3195 background: #f0f0f0; 3196 color: #2f2f2f; 3197 font-size: 12px; 3198 line-height: 20px; 3199 overflow: hidden; 3200 text-overflow: ellipsis; 3201 white-space: nowrap; 3202 } 3203 .block-editor-list-view-leaf.is-selected .block-editor-list-view-block-select-button__anchor { 3204 background: rgba(0, 0, 0, 0.3); 3205 color: #fff; 3206 } 3207 .block-editor-list-view-leaf .block-editor-list-view-block-select-button__block-visibility, 3208 .block-editor-list-view-leaf .block-editor-list-view-block-select-button__lock, 3209 .block-editor-list-view-leaf .block-editor-list-view-block-select-button__sticky { 3210 line-height: 0; 3211 } 3212 .block-editor-list-view-leaf .block-editor-list-view-block-select-button__images { 3213 display: flex; 3214 } 3215 .block-editor-list-view-leaf .block-editor-list-view-block-select-button__image { 3216 background-size: cover; 3217 width: 18px; 3218 height: 18px; 3219 border-radius: 1px; 3220 } 3221 .block-editor-list-view-leaf .block-editor-list-view-block-select-button__image:not(:only-child) { 3222 box-shadow: 0 0 0 2px #fff; 3223 } 3224 .block-editor-list-view-leaf .block-editor-list-view-block-select-button__image:not(:first-child) { 3225 margin-left: -6px; 3226 } 3227 .block-editor-list-view-leaf.is-selected .block-editor-list-view-block-select-button__image:not(:only-child) { 3228 box-shadow: 0 0 0 2px var(--wp-admin-theme-color); 3229 } 3230 .block-editor-list-view-leaf.is-disabled { 3231 opacity: 0.2; 3232 } 3233 @media not (prefers-reduced-motion) { 3234 .block-editor-list-view-leaf.is-disabled { 3235 transition: opacity 0.1s linear; 3236 } 3237 } 3238 .block-editor-list-view-leaf.is-disabled:hover { 3239 opacity: 0.2; 3240 } 3241 .block-editor-list-view-leaf.is-disabled .block-editor-list-view__expander { 3242 cursor: default; 3243 } 3244 .block-editor-list-view-leaf.is-disabled .block-editor-list-view-block-select-button:hover { 3245 color: inherit; 3246 } 3247 3248 .block-editor-list-view-draggable-chip { 3249 opacity: 0.8; 3250 } 3251 3252 .block-editor-list-view-block__contents-cell .block-editor-list-view-block__contents-container, 3253 .block-editor-list-view-block__contents-cell .block-editor-list-view-appender__container, 3254 .block-editor-list-view-appender__cell .block-editor-list-view-block__contents-container, 3255 .block-editor-list-view-appender__cell .block-editor-list-view-appender__container { 3256 display: flex; 3257 } 3258 3259 .block-editor-list-view__expander { 3260 height: 24px; 3261 width: 24px; 3262 cursor: var(--wpds-cursor-control, pointer); 3263 } 3264 3265 .block-editor-list-view-leaf[aria-level] .block-editor-list-view__expander { 3266 margin-left: 192px; 3267 } 3268 3269 .block-editor-list-view-leaf[aria-level="1"] .block-editor-list-view__expander { 3270 margin-left: 0; 3271 } 3272 3273 .block-editor-list-view-leaf[aria-level="2"] .block-editor-list-view__expander { 3274 margin-left: 24px; 3275 } 3276 3277 .block-editor-list-view-leaf[aria-level="3"] .block-editor-list-view__expander { 3278 margin-left: 48px; 3279 } 3280 3281 .block-editor-list-view-leaf[aria-level="4"] .block-editor-list-view__expander { 3282 margin-left: 72px; 3283 } 3284 3285 .block-editor-list-view-leaf[aria-level="5"] .block-editor-list-view__expander { 3286 margin-left: 96px; 3287 } 3288 3289 .block-editor-list-view-leaf[aria-level="6"] .block-editor-list-view__expander { 3290 margin-left: 120px; 3291 } 3292 3293 .block-editor-list-view-leaf[aria-level="7"] .block-editor-list-view__expander { 3294 margin-left: 144px; 3295 } 3296 3297 .block-editor-list-view-leaf[aria-level="8"] .block-editor-list-view__expander { 3298 margin-left: 168px; 3299 } 3300 3301 .block-editor-list-view-leaf .block-editor-list-view__expander { 3302 visibility: hidden; 3303 } 3304 3305 .block-editor-list-view-leaf[data-expanded=true] .block-editor-list-view__expander svg { 3306 visibility: visible; 3307 } 3308 @media not (prefers-reduced-motion) { 3309 .block-editor-list-view-leaf[data-expanded=true] .block-editor-list-view__expander svg { 3310 transition: transform 0.2s ease; 3311 } 3312 } 3313 .block-editor-list-view-leaf[data-expanded=true] .block-editor-list-view__expander svg { 3314 transform: rotate(90deg); 3315 } 3316 3317 .block-editor-list-view-leaf[data-expanded=false] .block-editor-list-view__expander svg { 3318 visibility: visible; 3319 transform: rotate(0deg); 3320 } 3321 @media not (prefers-reduced-motion) { 3322 .block-editor-list-view-leaf[data-expanded=false] .block-editor-list-view__expander svg { 3323 transition: transform 0.2s ease; 3324 } 3325 } 3326 3327 .block-editor-list-view-drop-indicator { 3328 pointer-events: none; 3329 } 3330 .block-editor-list-view-drop-indicator .block-editor-list-view-drop-indicator__line { 3331 background: var(--wp-admin-theme-color); 3332 height: 4px; 3333 border-radius: 4px; 3334 } 3335 3336 .block-editor-list-view-drop-indicator--preview { 3337 pointer-events: none; 3338 } 3339 .block-editor-list-view-drop-indicator--preview .components-popover__content { 3340 overflow: hidden !important; 3341 } 3342 .block-editor-list-view-drop-indicator--preview .block-editor-list-view-drop-indicator__line { 3343 background: rgba(var(--wp-admin-theme-color--rgb), 0.04); 3344 height: 32px; 3345 border-radius: 4px; 3346 overflow: hidden; 3347 } 3348 .block-editor-list-view-drop-indicator--preview .block-editor-list-view-drop-indicator__line--darker { 3349 background: rgba(var(--wp-admin-theme-color--rgb), 0.09); 3350 } 3351 3352 .block-editor-list-view-placeholder { 3353 padding: 0; 3354 margin: 0; 3355 height: 32px; 3356 } 3357 3358 .list-view-appender .block-editor-inserter__toggle { 3359 background-color: #1e1e1e; 3360 color: #fff; 3361 margin: 8px 0 0 24px; 3362 height: 24px; 3363 padding: 0; 3364 } 3365 .list-view-appender .block-editor-inserter__toggle.has-icon.is-next-40px-default-size { 3366 min-width: 24px; 3367 } 3368 .list-view-appender .block-editor-inserter__toggle:hover, .list-view-appender .block-editor-inserter__toggle:focus { 3369 background: var(--wp-admin-theme-color); 3370 color: #fff; 3371 } 3372 3373 .list-view-appender__description { 3374 display: none; 3375 } 3376 3377 .block-editor-media-placeholder__url-input-form { 3378 min-width: 260px; 3379 } 3380 @media (min-width: 600px) { 3381 .block-editor-media-placeholder__url-input-form { 3382 width: 300px; 3383 } 3384 } 3385 .block-editor-media-placeholder__url-input-form input { 3386 /* rtl:ignore */ 3387 direction: ltr; 3388 } 3389 3390 .modal-open .block-editor-media-replace-flow__options { 3391 z-index: 99999; 3392 } 3393 3394 .block-editor-media-replace-flow__indicator { 3395 margin-left: 4px; 3396 } 3397 3398 .block-editor-media-replace-flow__media-upload-menu:not(:empty) + .block-editor-media-flow__url-input { 3399 border-top: 1px solid #ddd; 3400 margin-top: 8px; 3401 padding-bottom: 8px; 3402 } 3403 3404 .block-editor-media-replace-flow__options.is-variant-toolbar .block-editor-media-replace-flow__media-upload-menu:not(:empty) + .block-editor-media-flow__url-input { 3405 border-top-color: #1e1e1e; 3406 } 3407 3408 .block-editor-media-flow__url-input { 3409 margin-right: -8px; 3410 margin-left: -8px; 3411 padding: 16px; 3412 } 3413 .block-editor-media-flow__url-input .block-editor-media-replace-flow__image-url-label { 3414 display: block; 3415 top: 16px; 3416 margin-bottom: 8px; 3417 } 3418 .block-editor-media-flow__url-input .block-editor-link-control { 3419 width: 300px; 3420 } 3421 .block-editor-media-flow__url-input .block-editor-link-control .block-editor-url-input { 3422 padding: 0; 3423 margin: 0; 3424 } 3425 .block-editor-media-flow__url-input .block-editor-link-control .block-editor-link-control__tools { 3426 justify-content: flex-end; 3427 padding: 16px var(--wp-admin-border-width-focus) var(--wp-admin-border-width-focus); 3428 } 3429 .block-editor-media-flow__url-input .block-editor-link-control .block-editor-link-control__preview.is-current { 3430 width: auto; 3431 padding: 0; 3432 } 3433 .block-editor-media-flow__url-input .block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type=text] { 3434 margin: 0; 3435 width: 100%; 3436 } 3437 .block-editor-media-flow__url-input .block-editor-link-control .block-editor-link-control__search-actions { 3438 padding: 8px 0 0; 3439 } 3440 3441 .block-editor-multi-selection-inspector__card { 3442 padding: 16px; 3443 } 3444 3445 .block-editor-multi-selection-inspector__card-title { 3446 font-weight: var(--wpds-typography-font-weight-emphasis, 600); 3447 } 3448 3449 .block-editor-multi-selection-inspector__card-description { 3450 color: #757575; 3451 } 3452 3453 .block-editor-multi-selection-inspector__card .block-editor-block-icon { 3454 margin-left: -2px; 3455 padding: 0 3px; 3456 width: 36px; 3457 height: 24px; 3458 } 3459 3460 .block-editor-plain-text { 3461 width: 100%; 3462 field-sizing: content; 3463 } 3464 3465 .block-editor-responsive-block-control { 3466 margin-bottom: 28px; 3467 border-bottom: 1px solid #ccc; 3468 padding-bottom: 14px; 3469 } 3470 .block-editor-responsive-block-control:last-child { 3471 padding-bottom: 0; 3472 border-bottom: 0; 3473 } 3474 3475 .block-editor-responsive-block-control__title { 3476 margin: 0; 3477 margin-bottom: 0.6em; 3478 margin-left: -3px; 3479 } 3480 3481 .block-editor-responsive-block-control__label { 3482 font-weight: var(--wpds-typography-font-weight-emphasis, 600); 3483 margin-bottom: 0.6em; 3484 margin-left: -3px; 3485 } 3486 3487 .block-editor-responsive-block-control__inner { 3488 margin-left: -1px; 3489 } 3490 3491 .block-editor-responsive-block-control__toggle { 3492 margin-left: 1px; 3493 } 3494 3495 .block-editor-responsive-block-control .components-base-control__help { 3496 border: 0; 3497 clip-path: inset(50%); 3498 height: 1px; 3499 margin: -1px; 3500 overflow: hidden; 3501 padding: 0; 3502 position: absolute; 3503 width: 1px; 3504 overflow-wrap: normal !important; 3505 word-break: normal !important; 3506 } 3507 3508 .preset-input-control__wrapper > * { 3509 flex: 1; 3510 } 3511 .preset-input-control__wrapper > .preset-input-control__icon, 3512 .preset-input-control__wrapper > .preset-input-control__custom-toggle { 3513 flex: none; 3514 } 3515 3516 .components-popover.block-editor-rich-text__inline-format-toolbar { 3517 z-index: 99998; 3518 } 3519 .components-popover.block-editor-rich-text__inline-format-toolbar .components-popover__content { 3520 width: auto; 3521 min-width: auto; 3522 margin-bottom: 8px; 3523 box-shadow: none; 3524 outline: none; 3525 border-radius: 2px; 3526 } 3527 .components-popover.block-editor-rich-text__inline-format-toolbar .components-toolbar { 3528 border-radius: 2px; 3529 } 3530 .components-popover.block-editor-rich-text__inline-format-toolbar .components-toolbar-group { 3531 background: none; 3532 } 3533 .components-popover.block-editor-rich-text__inline-format-toolbar .components-toolbar__control, 3534 .components-popover.block-editor-rich-text__inline-format-toolbar .components-dropdown-menu__toggle { 3535 min-width: 48px; 3536 min-height: 48px; 3537 padding-left: 12px; 3538 padding-right: 12px; 3539 } 3540 3541 .block-editor-rich-text__inline-format-toolbar-group .components-dropdown-menu__toggle { 3542 justify-content: center; 3543 } 3544 3545 .show-icon-labels .block-editor-rich-text__inline-format-toolbar-group .components-button.has-icon { 3546 width: auto; 3547 } 3548 .show-icon-labels .block-editor-rich-text__inline-format-toolbar-group .components-button.has-icon svg { 3549 display: none; 3550 } 3551 .show-icon-labels .block-editor-rich-text__inline-format-toolbar-group .components-button.has-icon::after { 3552 content: attr(aria-label); 3553 } 3554 3555 .block-editor-skip-to-selected-block { 3556 position: absolute; 3557 top: -9999em; 3558 } 3559 .block-editor-skip-to-selected-block:focus { 3560 font-size: 14px; 3561 font-weight: var(--wpds-typography-font-weight-emphasis, 600); 3562 background: #f1f1f1; 3563 z-index: 100000; 3564 } 3565 3566 .block-editor-tabbed-sidebar { 3567 background-color: #fff; 3568 height: 100%; 3569 display: flex; 3570 flex-direction: column; 3571 flex-grow: 1; 3572 overflow: hidden; 3573 } 3574 3575 .block-editor-tabbed-sidebar__tablist-and-close-button { 3576 border-bottom: 1px solid #ddd; 3577 display: flex; 3578 justify-content: space-between; 3579 padding-right: 8px; 3580 } 3581 3582 .block-editor-tabbed-sidebar__close-button { 3583 background: #fff; 3584 /* stylelint-disable-next-line property-disallowed-list -- This should be removed when https://github.com/WordPress/gutenberg/issues/59013 is fixed. */ 3585 order: 1; 3586 align-self: center; 3587 } 3588 3589 .block-editor-tabbed-sidebar__tablist { 3590 margin-bottom: -1px; 3591 } 3592 3593 .block-editor-tabbed-sidebar__tabpanel { 3594 display: flex; 3595 flex-grow: 1; 3596 flex-direction: column; 3597 overflow-y: auto; 3598 scrollbar-gutter: auto; 3599 } 3600 3601 .block-editor-block-list__block .block-editor-url-input, 3602 .components-popover .block-editor-url-input, 3603 .block-editor-url-input { 3604 flex-grow: 1; 3605 position: relative; 3606 padding: 1px; 3607 } 3608 @media (min-width: 600px) { 3609 .block-editor-block-list__block .block-editor-url-input, 3610 .components-popover .block-editor-url-input, 3611 .block-editor-url-input { 3612 min-width: 300px; 3613 width: auto; 3614 } 3615 } 3616 .block-editor-block-list__block .block-editor-url-input.is-full-width, 3617 .components-popover .block-editor-url-input.is-full-width, 3618 .block-editor-url-input.is-full-width { 3619 width: 100%; 3620 } 3621 .block-editor-block-list__block .block-editor-url-input.is-full-width__suggestions, 3622 .components-popover .block-editor-url-input.is-full-width__suggestions, 3623 .block-editor-url-input.is-full-width__suggestions { 3624 width: 100%; 3625 } 3626 .block-editor-block-list__block .block-editor-url-input .components-spinner, 3627 .components-popover .block-editor-url-input .components-spinner, 3628 .block-editor-url-input .components-spinner { 3629 position: absolute; 3630 margin: 0; 3631 top: calc(50% - 16px / 2); 3632 right: 8px; 3633 } 3634 3635 .block-editor-url-input__suggestions { 3636 max-height: 200px; 3637 } 3638 @media not (prefers-reduced-motion) { 3639 .block-editor-url-input__suggestions { 3640 transition: all 0.15s ease-in-out; 3641 } 3642 } 3643 .block-editor-url-input__suggestions { 3644 padding: 4px 0; 3645 width: 302px; 3646 overflow-y: auto; 3647 } 3648 3649 .block-editor-url-input__suggestions, 3650 .block-editor-url-input .components-spinner { 3651 display: none; 3652 } 3653 @media (min-width: 600px) { 3654 .block-editor-url-input__suggestions, 3655 .block-editor-url-input .components-spinner { 3656 display: grid; 3657 } 3658 } 3659 3660 .block-editor-url-input__suggestion.components-button { 3661 min-height: 36px; 3662 height: auto; 3663 color: var(--wpds-color-foreground-interactive-neutral, #1e1e1e); 3664 display: block; 3665 font-size: 13px; 3666 cursor: var(--wpds-cursor-control, pointer); 3667 width: 100%; 3668 border: none; 3669 text-align: left; 3670 box-shadow: none; 3671 } 3672 .block-editor-url-input__suggestion.components-button:is(:focus, .is-selected):not(:disabled, [aria-disabled=true]) { 3673 background: var(--wpds-color-background-interactive-brand-strong-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 93%, black)); 3674 color: var(--wpds-color-foreground-interactive-brand-strong-active, #fff); 3675 outline: none; 3676 } 3677 @media (forced-colors: active) { 3678 .block-editor-url-input__suggestion.components-button:is(:focus, .is-selected):not(:disabled, [aria-disabled=true]) { 3679 forced-color-adjust: none; 3680 background: Highlight; 3681 color: HighlightText; 3682 } 3683 } 3684 3685 .components-toolbar-group > .block-editor-url-input__button, 3686 .components-toolbar > .block-editor-url-input__button { 3687 position: inherit; 3688 } 3689 3690 .block-editor-url-input__button .block-editor-url-input__back { 3691 margin-right: 4px; 3692 overflow: visible; 3693 } 3694 .block-editor-url-input__button .block-editor-url-input__back::after { 3695 content: ""; 3696 position: absolute; 3697 display: block; 3698 width: 1px; 3699 height: 24px; 3700 right: -1px; 3701 background: #ddd; 3702 } 3703 3704 .block-editor-url-input__button-modal { 3705 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); 3706 border: 1px solid #ddd; 3707 background: #fff; 3708 } 3709 3710 .block-editor-url-input__button-modal-line { 3711 display: flex; 3712 flex-direction: row; 3713 flex-grow: 1; 3714 flex-shrink: 1; 3715 min-width: 0; 3716 align-items: flex-start; 3717 } 3718 3719 .block-editor-url-popover__additional-controls { 3720 border-top: 1px solid #1e1e1e; 3721 padding: 8px 8px; 3722 } 3723 3724 .block-editor-url-popover__input-container { 3725 padding: 8px; 3726 } 3727 3728 .block-editor-url-popover__row { 3729 display: flex; 3730 gap: 4px; 3731 align-items: center; 3732 } 3733 3734 .block-editor-url-popover__row > :not(.block-editor-url-popover__settings-toggle) { 3735 flex-grow: 1; 3736 gap: 8px; 3737 } 3738 3739 .block-editor-url-popover__additional-controls .components-button.has-icon { 3740 padding-left: 8px; 3741 padding-right: 8px; 3742 height: auto; 3743 text-align: left; 3744 } 3745 .block-editor-url-popover__additional-controls .components-button.has-icon > svg { 3746 margin-right: 8px; 3747 } 3748 3749 .block-editor-url-popover__settings-toggle { 3750 flex-shrink: 0; 3751 } 3752 .block-editor-url-popover__settings-toggle[aria-expanded=true] .dashicon { 3753 transform: rotate(180deg); 3754 } 3755 3756 .block-editor-url-popover__settings { 3757 display: block; 3758 padding: 16px; 3759 border-top: 1px solid #1e1e1e; 3760 } 3761 3762 .block-editor-url-popover__link-container-content { 3763 display: flex; 3764 align-items: center; 3765 } 3766 3767 .block-editor-url-popover__link-editor, 3768 .block-editor-url-popover__link-viewer { 3769 display: flex; 3770 } 3771 3772 .block-editor-url-popover__link-viewer-url { 3773 display: flex; 3774 align-items: center; 3775 flex-grow: 1; 3776 flex-shrink: 1; 3777 overflow: hidden; 3778 text-overflow: ellipsis; 3779 white-space: nowrap; 3780 margin-right: 8px; 3781 min-width: 150px; 3782 max-width: 350px; 3783 } 3784 .block-editor-url-popover__link-viewer-url.has-invalid-link { 3785 color: #cc1818; 3786 } 3787 3788 .block-editor-url-popover__expand-on-click { 3789 display: flex; 3790 align-items: center; 3791 min-width: 350px; 3792 white-space: nowrap; 3793 } 3794 .block-editor-url-popover__expand-on-click .text { 3795 flex-grow: 1; 3796 } 3797 .block-editor-url-popover__expand-on-click .text p { 3798 margin: 0; 3799 line-height: 16px; 3800 } 3801 .block-editor-url-popover__expand-on-click .text p.description { 3802 color: #757575; 3803 font-size: 12px; 3804 } 3805 3806 .background-block-support-panel { 3807 /* Increased specificity required to remove the slot wrapper's row gap */ 3808 } 3809 .background-block-support-panel.background-block-support-panel .background-block-support-panel__inner-wrapper { 3810 row-gap: 0; 3811 } 3812 .background-block-support-panel.background-block-support-panel .block-editor-background-panel__clip-item:not(.first) { 3813 margin-top: 16px; 3814 } 3815 .background-block-support-panel.background-block-support-panel .block-editor-background-panel__clips-to-text-notice { 3816 grid-column: 1/-1; 3817 margin-top: 16px; 3818 } 3819 3820 .block-editor-hooks__block-hooks { 3821 /** 3822 * Un-reverse the flex direction for the toggle's label. 3823 */ 3824 } 3825 .block-editor-hooks__block-hooks .components-toggle-control .components-h-stack .components-h-stack { 3826 flex-direction: row; 3827 } 3828 .block-editor-hooks__block-hooks .block-editor-hooks__block-hooks-helptext { 3829 color: #757575; 3830 font-size: 12px; 3831 margin-bottom: 16px; 3832 } 3833 3834 div.block-editor-bindings__panel { 3835 grid-template-columns: repeat(auto-fit, minmax(100%, 1fr)); 3836 } 3837 div.block-editor-bindings__panel button:hover .block-editor-bindings__item span { 3838 color: inherit; 3839 } 3840 3841 .border-block-support-panel .single-column { 3842 grid-column: span 1; 3843 } 3844 3845 .color-block-support-panel .block-editor-contrast-checker { 3846 grid-column: span 2; 3847 margin-top: 16px; 3848 } 3849 .color-block-support-panel { 3850 /* Increased specificity required to remove the slot wrapper's row gap */ 3851 } 3852 .color-block-support-panel.color-block-support-panel .color-block-support-panel__inner-wrapper { 3853 row-gap: 0; 3854 } 3855 3856 .elements-block-support-panel { 3857 /* Increased specificity required to remove the slot wrapper's row gap */ 3858 } 3859 .elements-block-support-panel.elements-block-support-panel .elements-block-support-panel__inner-wrapper { 3860 row-gap: 0; 3861 } 3862 3863 .dimensions-block-support-panel .single-column { 3864 grid-column: span 1; 3865 } 3866 3867 .block-editor-hooks__layout-constrained .components-base-control { 3868 margin-bottom: 0; 3869 } 3870 3871 .block-editor-hooks__layout-constrained-helptext { 3872 color: #757575; 3873 font-size: 12px; 3874 margin-bottom: 0; 3875 } 3876 3877 .layout-block-support-panel .block-editor-hooks__flex-layout-controls { 3878 grid-column: 1/-1; 3879 } 3880 3881 .block-editor-hooks__flex-layout-justification-controls, 3882 .block-editor-hooks__flex-layout-orientation-controls { 3883 margin-bottom: 12px; 3884 } 3885 .block-editor-hooks__flex-layout-justification-controls legend, 3886 .block-editor-hooks__flex-layout-orientation-controls legend { 3887 margin-bottom: 8px; 3888 } 3889 3890 .block-editor-hooks__grid-layout-columns-and-rows-controls, 3891 .block-editor-hooks__grid-layout-minimum-width-control { 3892 border: 0; 3893 padding: 0; 3894 margin: 0; 3895 } 3896 3897 .block-editor__spacing-visualizer { 3898 position: absolute; 3899 top: 0; 3900 bottom: 0; 3901 left: 0; 3902 right: 0; 3903 opacity: 0.5; 3904 border-color: var(--wp-admin-theme-color); 3905 border-style: solid; 3906 pointer-events: none; 3907 box-sizing: border-box; 3908 } 3909 3910 .typography-block-support-panel .single-column { 3911 grid-column: span 1; 3912 } 3913 3914 .typography-block-support-panel .block-editor-color-gradient-item + .block-editor-color-gradient-item, 3915 .block-editor-typography-panel--flush-color-items .block-editor-color-gradient-item + .block-editor-color-gradient-item { 3916 margin-top: -16px; 3917 } 3918 .typography-block-support-panel .block-editor-typography-panel__text-gradient-notice, 3919 .block-editor-typography-panel--flush-color-items .block-editor-typography-panel__text-gradient-notice { 3920 grid-column: 1/-1; 3921 } 3922 3923 /** 3924 * Block Toolbar 3925 */ 3926 .block-editor-block-toolbar { 3927 display: flex; 3928 flex-grow: 1; 3929 width: 100%; 3930 position: relative; 3931 overflow-y: hidden; 3932 overflow-x: auto; 3933 } 3934 @media not (prefers-reduced-motion) { 3935 .block-editor-block-toolbar { 3936 transition: border-color 0.1s linear, box-shadow 0.1s linear; 3937 } 3938 } 3939 @media (min-width: 600px) { 3940 .block-editor-block-toolbar { 3941 overflow: inherit; 3942 } 3943 } 3944 .block-editor-block-toolbar .components-toolbar-group, 3945 .block-editor-block-toolbar .components-toolbar { 3946 background: none; 3947 margin-top: -1px; 3948 margin-bottom: -1px; 3949 border: 0; 3950 border-right: 1px solid #ddd; 3951 } 3952 .block-editor-block-toolbar.is-connected .block-editor-block-switcher .components-button::before { 3953 background: color-mix(in srgb, var(--wp-block-synced-color) 10%, transparent); 3954 border-radius: 2px; 3955 } 3956 .block-editor-block-toolbar .components-button.block-editor-block-toolbar__block-icon-button[aria-disabled=true] { 3957 color: #1e1e1e; 3958 } 3959 .block-editor-block-toolbar .components-button.block-editor-block-toolbar__block-icon-button[aria-disabled=true]:hover { 3960 color: #1e1e1e; 3961 } 3962 .is-placeholder .block-editor-block-toolbar .components-button.block-editor-block-toolbar__block-icon-button[aria-disabled=true], .is-placeholder .block-editor-block-toolbar .components-button.block-editor-block-toolbar__block-icon-button[aria-disabled=true]:hover { 3963 color: #949494; 3964 } 3965 .block-editor-block-toolbar.is-synced .block-editor-block-toolbar__block-icon, .block-editor-block-toolbar.is-connected .block-editor-block-toolbar__block-icon { 3966 color: var(--wp-block-synced-color); 3967 } 3968 .block-editor-block-toolbar > :last-child, 3969 .block-editor-block-toolbar > :last-child .components-toolbar-group, 3970 .block-editor-block-toolbar > :last-child .components-toolbar, .block-editor-block-toolbar:has(> :last-child:empty) > :nth-last-child(2), .block-editor-block-toolbar:has(> :last-child:empty) > :nth-last-child(2) .components-toolbar-group, .block-editor-block-toolbar:has(> :last-child:empty) > :nth-last-child(2) .components-toolbar { 3971 border-right: none; 3972 } 3973 .block-editor-block-toolbar .components-toolbar-group:empty { 3974 display: none; 3975 } 3976 3977 .block-editor-block-contextual-toolbar { 3978 position: sticky; 3979 top: 0; 3980 z-index: 31; 3981 display: block; 3982 width: 100%; 3983 background-color: #fff; 3984 flex-shrink: 3; 3985 } 3986 .block-editor-block-contextual-toolbar.components-accessible-toolbar { 3987 border: none; 3988 border-radius: 0; 3989 } 3990 .block-editor-block-contextual-toolbar.is-unstyled { 3991 box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.133); 3992 } 3993 .block-editor-block-contextual-toolbar .block-editor-block-toolbar { 3994 overflow: auto; 3995 overflow-y: hidden; 3996 } 3997 .block-editor-block-contextual-toolbar .block-editor-block-toolbar::-webkit-scrollbar { 3998 width: 12px; 3999 height: 12px; 4000 } 4001 .block-editor-block-contextual-toolbar .block-editor-block-toolbar::-webkit-scrollbar-track { 4002 background-color: transparent; 4003 } 4004 .block-editor-block-contextual-toolbar .block-editor-block-toolbar::-webkit-scrollbar-thumb { 4005 background-color: #e0e0e0; 4006 border-radius: 8px; 4007 border: 3px solid transparent; 4008 background-clip: padding-box; 4009 } 4010 .block-editor-block-contextual-toolbar .block-editor-block-toolbar:hover::-webkit-scrollbar-thumb, .block-editor-block-contextual-toolbar .block-editor-block-toolbar:focus::-webkit-scrollbar-thumb, .block-editor-block-contextual-toolbar .block-editor-block-toolbar:focus-within::-webkit-scrollbar-thumb { 4011 background-color: #949494; 4012 } 4013 .block-editor-block-contextual-toolbar .block-editor-block-toolbar { 4014 scrollbar-width: thin; 4015 scrollbar-gutter: stable both-edges; 4016 scrollbar-color: #e0e0e0 transparent; 4017 } 4018 .block-editor-block-contextual-toolbar .block-editor-block-toolbar:hover, .block-editor-block-contextual-toolbar .block-editor-block-toolbar:focus, .block-editor-block-contextual-toolbar .block-editor-block-toolbar:focus-within { 4019 scrollbar-color: #949494 transparent; 4020 } 4021 .block-editor-block-contextual-toolbar .block-editor-block-toolbar { 4022 will-change: transform; 4023 } 4024 @media (hover: none) { 4025 .block-editor-block-contextual-toolbar .block-editor-block-toolbar { 4026 scrollbar-color: #949494 transparent; 4027 } 4028 } 4029 .block-editor-block-contextual-toolbar .block-editor-block-toolbar { 4030 scrollbar-gutter: auto; 4031 } 4032 .block-editor-block-contextual-toolbar .block-editor-block-toolbar > :last-child::after, 4033 .block-editor-block-contextual-toolbar .block-editor-block-toolbar > :last-child .components-toolbar-group::after, 4034 .block-editor-block-contextual-toolbar .block-editor-block-toolbar > :last-child .components-toolbar::after { 4035 display: none; 4036 } 4037 .block-editor-block-contextual-toolbar > .block-editor-block-toolbar { 4038 flex-grow: initial; 4039 width: initial; 4040 } 4041 .block-editor-block-contextual-toolbar .block-editor-block-parent-selector { 4042 position: relative; 4043 margin-top: -1px; 4044 margin-bottom: -1px; 4045 } 4046 .block-editor-block-contextual-toolbar .block-editor-block-parent-selector::after { 4047 align-items: center; 4048 background-color: #1e1e1e; 4049 border-radius: 100%; 4050 content: ""; 4051 display: inline-flex; 4052 height: 2px; 4053 position: absolute; 4054 top: 15px; 4055 width: 2px; 4056 } 4057 4058 .block-editor-block-toolbar__block-controls .components-toolbar-group { 4059 padding: 0; 4060 } 4061 4062 .block-editor-block-toolbar__pattern-overrides-popover .components-popover__content { 4063 min-width: 260px; 4064 padding: 16px; 4065 } 4066 4067 .block-editor-block-toolbar .components-toolbar-group, 4068 .block-editor-block-toolbar .components-toolbar, 4069 .block-editor-rich-text__inline-format-toolbar-group .components-toolbar-group, 4070 .block-editor-rich-text__inline-format-toolbar-group .components-toolbar { 4071 display: flex; 4072 flex-wrap: nowrap; 4073 } 4074 4075 .block-editor-block-toolbar__slot { 4076 display: inline-flex; 4077 } 4078 4079 .show-icon-labels .block-editor-block-contextual-toolbar:not(.editor-header__toolbar *) { 4080 background-color: transparent; 4081 border: none; 4082 } 4083 .show-icon-labels .block-editor-block-contextual-toolbar:not(.editor-header__toolbar *) .block-editor-block-toolbar { 4084 flex-wrap: wrap; 4085 overflow: visible; 4086 max-width: 100%; 4087 } 4088 .show-icon-labels .block-editor-block-contextual-toolbar:not(.editor-header__toolbar *) .block-editor-block-toolbar .block-editor-block-toolbar__slot { 4089 flex-wrap: wrap; 4090 } 4091 .show-icon-labels .block-editor-block-contextual-toolbar:not(.editor-header__toolbar *) .block-editor-block-toolbar .components-toolbar-group { 4092 background-color: #fff; 4093 } 4094 .show-icon-labels .block-editor-block-contextual-toolbar:not(.editor-header__toolbar *) .block-editor-block-toolbar .components-toolbar-group, 4095 .show-icon-labels .block-editor-block-contextual-toolbar:not(.editor-header__toolbar *) .block-editor-block-toolbar .components-toolbar, 4096 .show-icon-labels .block-editor-block-contextual-toolbar:not(.editor-header__toolbar *) .block-editor-block-toolbar .block-editor-block-parent-selector:not(:has(.components-toolbar-group)) { 4097 border: 1px solid #1e1e1e; 4098 margin: 0 -1px -1px 0; 4099 padding: 0; 4100 } 4101 .show-icon-labels .block-editor-block-contextual-toolbar:not(.editor-header__toolbar *) .block-editor-block-toolbar .components-toolbar-group .components-toolbar-group, 4102 .show-icon-labels .block-editor-block-contextual-toolbar:not(.editor-header__toolbar *) .block-editor-block-toolbar .components-toolbar .components-toolbar-group, 4103 .show-icon-labels .block-editor-block-contextual-toolbar:not(.editor-header__toolbar *) .block-editor-block-toolbar .block-editor-block-parent-selector:not(:has(.components-toolbar-group)) .components-toolbar-group { 4104 border: none; 4105 margin: 0; 4106 } 4107 .show-icon-labels .block-editor-block-contextual-toolbar:not(.editor-header__toolbar *) .block-editor-block-toolbar .components-toolbar-group .components-toolbar-group + .components-toolbar-group, 4108 .show-icon-labels .block-editor-block-contextual-toolbar:not(.editor-header__toolbar *) .block-editor-block-toolbar .components-toolbar .components-toolbar-group + .components-toolbar-group, 4109 .show-icon-labels .block-editor-block-contextual-toolbar:not(.editor-header__toolbar *) .block-editor-block-toolbar .block-editor-block-parent-selector:not(:has(.components-toolbar-group)) .components-toolbar-group + .components-toolbar-group { 4110 border-left: 1px solid #1e1e1e; 4111 } 4112 .show-icon-labels .block-editor-block-contextual-toolbar:not(.editor-header__toolbar *) .block-editor-block-toolbar .block-editor-block-parent-selector, 4113 .show-icon-labels .block-editor-block-contextual-toolbar:not(.editor-header__toolbar *) .block-editor-block-toolbar .block-editor-block-parent-selector__button { 4114 border: none; 4115 margin: 0; 4116 } 4117 .show-icon-labels .block-editor-block-contextual-toolbar:not(.editor-header__toolbar *) .block-editor-block-toolbar .block-editor-block-parent-selector .components-toolbar-group:last-child, 4118 .show-icon-labels .block-editor-block-contextual-toolbar:not(.editor-header__toolbar *) .block-editor-block-toolbar .block-editor-block-parent-selector__button .components-toolbar-group:last-child { 4119 border-right: 1px solid #1e1e1e; 4120 } 4121 .show-icon-labels .block-editor-block-toolbar .components-button.has-icon:where(:not(.has-text)) { 4122 width: auto; 4123 } 4124 .show-icon-labels .block-editor-block-toolbar .components-button.has-icon:where(:not(.has-text)) svg { 4125 display: none; 4126 } 4127 .show-icon-labels .block-editor-block-toolbar .components-button.has-icon:where(:not(.has-text))::after { 4128 content: attr(aria-label); 4129 font-size: 12px; 4130 } 4131 .show-icon-labels .block-editor-block-toolbar .block-editor-block-icon { 4132 width: 0 !important; 4133 height: 0 !important; 4134 min-width: 0 !important; 4135 } 4136 .show-icon-labels .components-accessible-toolbar .components-toolbar-group > div:first-child:last-child > .components-button.has-icon { 4137 padding-left: 6px; 4138 padding-right: 6px; 4139 } 4140 .show-icon-labels .block-editor-block-parent-selector .block-editor-block-parent-selector__button { 4141 border-top-right-radius: 0; 4142 border-bottom-right-radius: 0; 4143 padding-left: 12px; 4144 padding-right: 12px; 4145 text-wrap: nowrap; 4146 } 4147 .show-icon-labels .block-editor-block-parent-selector .block-editor-block-parent-selector__button .block-editor-block-icon { 4148 width: 0; 4149 } 4150 .show-icon-labels .block-editor-block-mover .block-editor-block-mover__move-button-container { 4151 width: auto; 4152 position: relative; 4153 } 4154 @media (min-width: 600px) { 4155 .show-icon-labels .block-editor-block-mover:not(.is-horizontal) .block-editor-block-mover__move-button-container::before { 4156 content: ""; 4157 height: 1px; 4158 width: 100%; 4159 background: #e0e0e0; 4160 position: absolute; 4161 top: 50%; 4162 left: 50%; 4163 transform: translate(-50%, 0); 4164 margin-top: -0.5px; 4165 } 4166 } 4167 @media (min-width: 782px) { 4168 .show-icon-labels .block-editor-block-mover:not(.is-horizontal) .block-editor-block-mover__move-button-container::before { 4169 background: #1e1e1e; 4170 } 4171 } 4172 .show-icon-labels .block-editor-block-mover.is-horizontal .block-editor-block-mover__move-button-container, 4173 .show-icon-labels .block-editor-block-mover.is-horizontal .block-editor-block-mover-button { 4174 padding-left: 6px; 4175 padding-right: 6px; 4176 } 4177 .show-icon-labels .block-editor-block-mover:not(.is-horizontal) .block-editor-block-mover-button { 4178 padding-left: 8px; 4179 padding-right: 8px; 4180 } 4181 .show-icon-labels .block-editor-block-toolbar__block-controls .block-editor-block-mover { 4182 border-left: 1px solid #ddd; 4183 margin-left: 6px; 4184 margin-right: -6px; 4185 white-space: nowrap; 4186 } 4187 .show-icon-labels .block-editor-block-mover .block-editor-block-mover__drag-handle.has-icon { 4188 padding-left: 12px; 4189 padding-right: 12px; 4190 } 4191 .show-icon-labels .block-editor-block-contextual-toolbar .block-editor-block-mover.is-horizontal .block-editor-block-mover-button.block-editor-block-mover-button { 4192 width: auto; 4193 } 4194 .show-icon-labels .components-toolbar, 4195 .show-icon-labels .components-toolbar-group { 4196 flex-shrink: 1; 4197 } 4198 .show-icon-labels .block-editor-rich-text__inline-format-toolbar-group .components-button + .components-button { 4199 margin-left: 6px; 4200 } 4201 4202 .block-editor-block-toolbar-change-design-content-wrapper { 4203 padding: 12px; 4204 width: 320px; 4205 } 4206 .block-editor-block-toolbar-change-design-content-wrapper .block-editor-block-patterns-list { 4207 display: grid; 4208 grid-template-columns: 1fr 1fr; 4209 gap: 12px; 4210 } 4211 .block-editor-block-toolbar-change-design-content-wrapper .block-editor-block-patterns-list .block-editor-block-patterns-list__list-item { 4212 margin-bottom: 0; 4213 } 4214 4215 .block-editor-inserter__tip kbd { 4216 padding: 0 4px; 4217 border: 1px solid var(--wpds-color-stroke-surface-neutral-strong, #8d8d8d); 4218 border-radius: var(--wpds-border-radius-xs, 1px); 4219 font-family: var(--wpds-typography-font-family-mono, "Menlo", "Consolas", monaco, monospace); 4220 white-space: nowrap; 4221 } 4222 4223 .block-editor-inserter { 4224 display: inline-block; 4225 background: none; 4226 border: none; 4227 padding: 0; 4228 font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; 4229 font-size: 13px; 4230 line-height: 0; 4231 } 4232 @media (min-width: 782px) { 4233 .block-editor-inserter { 4234 position: relative; 4235 } 4236 } 4237 4238 .block-editor-inserter__main-area { 4239 height: 100%; 4240 gap: 16px; 4241 position: relative; 4242 } 4243 .block-editor-inserter__main-area.show-as-tabs { 4244 gap: 0; 4245 } 4246 @media (min-width: 782px) { 4247 .block-editor-inserter__main-area .block-editor-tabbed-sidebar { 4248 width: 350px; 4249 } 4250 } 4251 4252 .block-editor-inserter__popover.is-quick .components-popover__content { 4253 border: none; 4254 outline: none; 4255 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); 4256 } 4257 .block-editor-inserter__popover.is-quick .components-popover__content .block-editor-inserter__quick-inserter > * { 4258 border-left: 1px solid #ccc; 4259 border-right: 1px solid #ccc; 4260 } 4261 .block-editor-inserter__popover.is-quick .components-popover__content .block-editor-inserter__quick-inserter > *:first-child { 4262 border-top: 1px solid #ccc; 4263 border-radius: 4px 4px 0 0; 4264 } 4265 .block-editor-inserter__popover.is-quick .components-popover__content .block-editor-inserter__quick-inserter > *:last-child { 4266 border-bottom: 1px solid #ccc; 4267 border-radius: 0 0 4px 4px; 4268 } 4269 .block-editor-inserter__popover.is-quick .components-popover__content .block-editor-inserter__quick-inserter > *.components-button { 4270 border: 1px solid #1e1e1e; 4271 } 4272 4273 .block-editor-inserter__popover .block-editor-inserter__menu { 4274 margin: -12px; 4275 } 4276 .block-editor-inserter__popover .block-editor-inserter__menu .block-editor-inserter__tablist { 4277 top: 60px; 4278 } 4279 .block-editor-inserter__popover .block-editor-inserter__menu .block-editor-inserter__main-area { 4280 overflow: visible; 4281 height: auto; 4282 } 4283 .block-editor-inserter__popover .block-editor-inserter__menu .block-editor-inserter__preview-container { 4284 display: none; 4285 } 4286 4287 .block-editor-inserter__toggle.components-button { 4288 display: inline-flex; 4289 align-items: center; 4290 cursor: var(--wpds-cursor-control, pointer); 4291 border: none; 4292 padding: 0; 4293 } 4294 @media not (prefers-reduced-motion) { 4295 .block-editor-inserter__toggle.components-button { 4296 transition: color 0.2s ease; 4297 } 4298 } 4299 4300 .block-editor-inserter__menu { 4301 height: 100%; 4302 position: relative; 4303 overflow: visible; 4304 } 4305 @media (min-width: 782px) { 4306 .block-editor-inserter__menu.show-panel { 4307 width: 630px; 4308 } 4309 } 4310 4311 .block-editor-inserter__inline-elements { 4312 margin-top: -1px; 4313 } 4314 4315 .block-editor-inserter__menu.is-bottom::after { 4316 border-bottom-color: #fff; 4317 } 4318 4319 .components-popover.block-editor-inserter__popover { 4320 z-index: 99999; 4321 } 4322 4323 .block-editor-inserter__search { 4324 padding: 16px; 4325 position: sticky; 4326 top: 0; 4327 z-index: 2; 4328 background-color: #fff; 4329 border-bottom: 1px solid transparent; 4330 } 4331 @media not (prefers-reduced-motion) { 4332 .block-editor-inserter__search { 4333 transition: border-bottom-color 0.1s linear; 4334 } 4335 } 4336 .block-editor-inserter__search.is-scrolled { 4337 border-bottom-color: #e0e0e0; 4338 } 4339 4340 .block-editor-inserter__no-tab-container { 4341 overflow-y: auto; 4342 flex-grow: 1; 4343 position: relative; 4344 } 4345 4346 .block-editor-inserter__panel-header { 4347 position: relative; 4348 display: inline-flex; 4349 align-items: center; 4350 padding: 0 16px; 4351 } 4352 4353 .block-editor-inserter__panel-content { 4354 padding: 16px; 4355 } 4356 4357 .block-editor-inserter__panel-title, 4358 .block-editor-inserter__panel-title button { 4359 margin: 0 12px 0 0; 4360 color: #757575; 4361 text-transform: uppercase; 4362 font-size: 11px; 4363 font-weight: var(--wpds-typography-font-weight-emphasis, 600); 4364 } 4365 4366 .block-editor-inserter__panel-dropdown select.components-select-control__input.components-select-control__input.components-select-control__input { 4367 height: 36px; 4368 line-height: 36px; 4369 } 4370 4371 .block-editor-inserter__panel-dropdown select { 4372 border: none; 4373 } 4374 4375 .block-editor-inserter__reusable-blocks-panel { 4376 position: relative; 4377 text-align: right; 4378 } 4379 4380 .block-editor-inserter__no-results, 4381 .block-editor-inserter__patterns-loading { 4382 padding: 32px; 4383 text-align: center; 4384 } 4385 4386 .block-editor-inserter__child-blocks { 4387 padding: 0 16px; 4388 } 4389 4390 .block-editor-inserter__parent-block-header { 4391 display: flex; 4392 align-items: center; 4393 } 4394 .block-editor-inserter__parent-block-header h2 { 4395 font-size: 13px; 4396 } 4397 .block-editor-inserter__parent-block-header .block-editor-block-icon { 4398 margin-right: 8px; 4399 } 4400 4401 .block-editor-inserter__preview-container { 4402 display: none; 4403 width: 280px; 4404 padding: 16px; 4405 max-height: calc(100% - 32px); 4406 overflow-y: hidden; 4407 } 4408 @media (min-width: 782px) { 4409 .block-editor-inserter__preview-container { 4410 display: block; 4411 } 4412 } 4413 .block-editor-inserter__preview-container .block-editor-block-card { 4414 padding-left: 0; 4415 padding-right: 0; 4416 padding-bottom: 4px; 4417 } 4418 4419 .block-editor-inserter__insertable-blocks-at-selection:not(:empty) + .block-editor-inserter__all-blocks:not(:empty) { 4420 border-top: 1px solid #e0e0e0; 4421 } 4422 4423 .block-editor-inserter__block-patterns-tabs-container { 4424 flex-grow: 1; 4425 padding: 0 16px 16px; 4426 display: flex; 4427 flex-direction: column; 4428 justify-content: space-between; 4429 } 4430 4431 .block-editor-inserter__category-tablist { 4432 margin-bottom: 8px; 4433 } 4434 4435 .block-editor-inserter__category-panel { 4436 outline: 1px solid transparent; 4437 display: flex; 4438 flex-direction: column; 4439 padding: 0 16px; 4440 } 4441 @media (min-width: 782px) { 4442 .block-editor-inserter__category-panel { 4443 border-left: 1px solid #e0e0e0; 4444 padding: 0; 4445 left: 350px; 4446 width: 280px; 4447 position: absolute; 4448 top: -1px; 4449 height: calc(100% + 1px); 4450 background: #f0f0f0; 4451 border-top: 1px solid #e0e0e0; 4452 } 4453 .block-editor-inserter__category-panel .block-editor-block-patterns-list { 4454 padding: 0 24px 16px; 4455 } 4456 } 4457 4458 .block-editor-inserter__patterns-category-panel-header { 4459 padding: 8px 0; 4460 } 4461 @media (min-width: 782px) { 4462 .block-editor-inserter__patterns-category-panel-header { 4463 padding: 8px 24px; 4464 } 4465 } 4466 4467 .block-editor-inserter__patterns-category-no-results { 4468 margin-top: 24px; 4469 } 4470 4471 .block-editor-inserter__patterns-filter-help { 4472 padding: 16px; 4473 border-top: 1px solid #ddd; 4474 color: #757575; 4475 min-width: 280px; 4476 } 4477 4478 .block-editor-block-patterns-list { 4479 overflow-y: auto; 4480 flex-grow: 1; 4481 height: 100%; 4482 } 4483 4484 .block-editor-inserter__preview-content { 4485 background: #f0f0f0; 4486 display: grid; 4487 flex-grow: 1; 4488 align-items: center; 4489 } 4490 4491 .block-editor-inserter__preview-content-missing { 4492 flex: 1; 4493 display: flex; 4494 justify-content: center; 4495 align-items: center; 4496 min-height: 144px; 4497 color: #757575; 4498 background: #f0f0f0; 4499 border-radius: 2px; 4500 } 4501 4502 .block-editor-inserter__tips { 4503 border-top: 1px solid #ddd; 4504 padding: 16px; 4505 flex-shrink: 0; 4506 position: relative; 4507 } 4508 4509 .block-editor-inserter__quick-inserter { 4510 width: 100%; 4511 max-width: 100%; 4512 } 4513 @media (min-width: 782px) { 4514 .block-editor-inserter__quick-inserter { 4515 width: 350px; 4516 } 4517 } 4518 4519 .block-editor-inserter__quick-inserter-results .block-editor-inserter__panel-header { 4520 height: 0; 4521 padding: 0; 4522 float: left; 4523 } 4524 4525 .block-editor-inserter__quick-inserter.has-search .block-editor-inserter__panel-content, 4526 .block-editor-inserter__quick-inserter.has-expand .block-editor-inserter__panel-content { 4527 padding: 16px; 4528 } 4529 4530 .block-editor-inserter__quick-inserter-patterns .block-editor-block-patterns-list { 4531 display: grid; 4532 grid-template-columns: 1fr 1fr; 4533 gap: 8px; 4534 } 4535 .block-editor-inserter__quick-inserter-patterns .block-editor-block-patterns-list .block-editor-block-patterns-list__list-item { 4536 margin-bottom: 0; 4537 } 4538 4539 .block-editor-inserter__quick-inserter-separator { 4540 border-top: 1px solid #ddd; 4541 } 4542 4543 .block-editor-inserter__popover.is-quick > .components-popover__content { 4544 padding: 0; 4545 } 4546 4547 .block-editor-inserter__quick-inserter-expand { 4548 padding: 0 16px 16px; 4549 } 4550 4551 .block-editor-inserter__quick-inserter-expand-toggle { 4552 width: 100%; 4553 justify-content: center; 4554 } 4555 4556 .block-editor-block-patterns-explorer__sidebar { 4557 padding-bottom: 24px; 4558 } 4559 @media (min-width: 782px) { 4560 .block-editor-block-patterns-explorer__sidebar { 4561 position: absolute; 4562 top: 72px; 4563 left: 0; 4564 bottom: 0; 4565 width: 280px; 4566 padding: 24px; 4567 overflow-x: visible; 4568 overflow-y: auto; 4569 } 4570 } 4571 4572 @media (min-width: 782px) { 4573 .block-editor-block-patterns-explorer__panel { 4574 margin-inline-start: 280px; 4575 } 4576 } 4577 4578 .block-editor-block-patterns-explorer__no-results { 4579 padding: 32px; 4580 text-align: center; 4581 } 4582 4583 .block-editor-block-patterns-explorer__list { 4584 padding: 24px 0 32px; 4585 } 4586 .block-editor-block-patterns-explorer__list .block-editor-patterns__sync-status-filter .components-input-control__container { 4587 width: 380px; 4588 } 4589 4590 .block-editor-block-patterns-explorer .block-editor-block-patterns-list { 4591 display: grid; 4592 gap: 32px; 4593 grid-template-columns: repeat(1, 1fr); 4594 margin-bottom: 16px; 4595 } 4596 @media (min-width: 1080px) { 4597 .block-editor-block-patterns-explorer .block-editor-block-patterns-list { 4598 grid-template-columns: repeat(2, 1fr); 4599 } 4600 } 4601 @media (min-width: 1440px) { 4602 .block-editor-block-patterns-explorer .block-editor-block-patterns-list { 4603 grid-template-columns: repeat(3, 1fr); 4604 } 4605 } 4606 .block-editor-block-patterns-explorer .block-editor-block-patterns-list .block-editor-block-patterns-list__list-item { 4607 min-height: 240px; 4608 } 4609 4610 .components-heading.block-editor-inserter__patterns-category-panel-title { 4611 font-weight: var(--wpds-typography-font-weight-emphasis, 600); 4612 } 4613 4614 .block-editor-inserter__patterns-explore-button.components-button { 4615 padding: 16px; 4616 justify-content: center; 4617 margin-top: 16px; 4618 width: 100%; 4619 } 4620 4621 .block-editor-inserter__media-panel { 4622 display: flex; 4623 flex-direction: column; 4624 flex: 1 0 auto; 4625 min-height: 320px; 4626 } 4627 .block-editor-inserter__media-panel .dataviews-wrapper { 4628 background-color: transparent; 4629 } 4630 .block-editor-inserter__media-panel .block-editor-inserter__media-grid__search { 4631 flex-shrink: 0; 4632 padding: 16px; 4633 } 4634 .block-editor-inserter__media-panel .block-editor-inserter__media-grid__search:has(+ .block-editor-inserter__media-grid__tabs) { 4635 padding-bottom: 0; 4636 } 4637 .block-editor-inserter__media-panel .block-editor-inserter__media-grid__search .block-editor-inserter__media-grid__search-control { 4638 flex: 1; 4639 min-width: 0; 4640 } 4641 .block-editor-inserter__media-panel .block-editor-inserter__media-grid__tabs { 4642 display: flex; 4643 flex-direction: column; 4644 flex: 1; 4645 min-height: 0; 4646 } 4647 .block-editor-inserter__media-panel .block-editor-inserter__media-grid__tablist { 4648 flex-shrink: 0; 4649 padding: 0 16px; 4650 margin-bottom: 12px; 4651 } 4652 .block-editor-inserter__media-panel .block-editor-inserter__media-grid__tabs [role=tabpanel] { 4653 display: flex; 4654 flex-direction: column; 4655 flex: 1; 4656 min-height: 0; 4657 } 4658 .block-editor-inserter__media-panel .dataviews-view-grid { 4659 padding: 0 16px 16px; 4660 } 4661 .block-editor-inserter__media-panel .dataviews-no-results, 4662 .block-editor-inserter__media-panel .dataviews-loading { 4663 padding: 0 16px; 4664 } 4665 .block-editor-inserter__media-panel .block-editor-inserter__media-grid__loading { 4666 display: flex; 4667 align-items: center; 4668 justify-content: center; 4669 width: 100%; 4670 } 4671 .block-editor-inserter__media-panel .block-editor-inserter__media-grid__loading.is-replacing-results { 4672 min-height: 500px; 4673 } 4674 .block-editor-inserter__media-panel .block-editor-inserter__media-grid__footer { 4675 flex-shrink: 0; 4676 border-top: 1px solid #e0e0e0; 4677 padding: 16px; 4678 } 4679 .block-editor-inserter__media-panel .block-editor-inserter__media-grid__range { 4680 color: #757575; 4681 font-size: 12px; 4682 white-space: nowrap; 4683 } 4684 .block-editor-inserter__media-panel .block-editor-inserter__media-grid__preview { 4685 position: relative; 4686 width: 100%; 4687 height: 100%; 4688 } 4689 .block-editor-inserter__media-panel .block-editor-inserter__media-grid__preview img, 4690 .block-editor-inserter__media-panel .block-editor-inserter__media-grid__preview video { 4691 display: block; 4692 width: 100%; 4693 height: 100%; 4694 object-fit: contain; 4695 } 4696 .block-editor-inserter__media-panel .block-editor-inserter__media-grid__file-preview { 4697 box-sizing: border-box; 4698 width: 100%; 4699 height: 100%; 4700 padding: 0 16px; 4701 color: #757575; 4702 text-align: center; 4703 container-type: inline-size; 4704 } 4705 .block-editor-inserter__media-panel .block-editor-inserter__media-grid__file-preview__name { 4706 margin-top: 4px; 4707 max-width: 100%; 4708 overflow: hidden; 4709 text-overflow: ellipsis; 4710 white-space: nowrap; 4711 font-size: 12px; 4712 } 4713 @container (max-width: 90px) { 4714 .block-editor-inserter__media-panel .block-editor-inserter__media-grid__file-preview__name { 4715 display: none; 4716 } 4717 } 4718 .block-editor-inserter__media-panel .block-editor-inserter__media-grid__spinner { 4719 position: absolute; 4720 inset: 0; 4721 display: flex; 4722 align-items: center; 4723 justify-content: center; 4724 background-color: rgba(255, 255, 255, 0.6); 4725 } 4726 .block-editor-inserter__media-panel .block-editor-inserter__media-library-button.components-button { 4727 justify-content: center; 4728 padding: 16px; 4729 } 4730 4731 .block-editor-inserter__media-panel-detach-actions { 4732 display: flex; 4733 justify-content: flex-end; 4734 gap: 8px; 4735 margin-top: 16px; 4736 } 4737 4738 .block-editor-inserter__mobile-tab-navigation { 4739 padding: 16px; 4740 height: 100%; 4741 } 4742 .block-editor-inserter__mobile-tab-navigation > * { 4743 height: 100%; 4744 } 4745 4746 @media (min-width: 600px) { 4747 .block-editor-inserter-media-tab-media-preview-inserter-external-image-modal { 4748 max-width: 480px; 4749 } 4750 } 4751 .block-editor-inserter-media-tab-media-preview-inserter-external-image-modal p { 4752 margin: 0; 4753 } 4754 4755 .block-editor-inserter__hint { 4756 margin: 16px 16px 0; 4757 } 4758 4759 .block-editor-patterns__sync-status-filter .components-input-control__container select.components-select-control__input { 4760 height: 40px; 4761 } 4762 4763 .block-editor-inserter__pattern-panel-placeholder { 4764 display: none; 4765 } 4766 4767 .block-editor-inserter__menu.is-zoom-out { 4768 display: flex; 4769 } 4770 @media (min-width: 782px) { 4771 .block-editor-inserter__menu.is-zoom-out.show-panel::after { 4772 content: ""; 4773 display: block; 4774 width: 300px; 4775 height: 100%; 4776 } 4777 } 4778 4779 @media (max-width: 959px) { 4780 .show-icon-labels .block-editor-block-patterns-explorer .block-editor-patterns__grid-pagination { 4781 flex-direction: column; 4782 } 4783 .show-icon-labels .block-editor-block-patterns-explorer .block-editor-patterns__grid-pagination .block-editor-patterns__grid-pagination-previous, 4784 .show-icon-labels .block-editor-block-patterns-explorer .block-editor-patterns__grid-pagination .block-editor-patterns__grid-pagination-next { 4785 flex-direction: column; 4786 } 4787 } 4788 .show-icon-labels .block-editor-inserter__category-panel .block-editor-patterns__grid-pagination { 4789 flex-direction: column; 4790 } 4791 .show-icon-labels .block-editor-inserter__category-panel .block-editor-patterns__grid-pagination .block-editor-patterns__grid-pagination-previous, 4792 .show-icon-labels .block-editor-inserter__category-panel .block-editor-patterns__grid-pagination .block-editor-patterns__grid-pagination-next { 4793 flex-direction: column; 4794 } 4795 4796 .block-editor-tabbed-sidebar__tabpanel .block-editor-inserter__help-text { 4797 display: none; 4798 padding: 0 24px 16px; 4799 } 4800 @media (min-width: 480px) { 4801 .block-editor-tabbed-sidebar__tabpanel .block-editor-inserter__help-text { 4802 display: block; 4803 } 4804 } 4805 4806 .spacing-sizes-control { 4807 border: 0; 4808 padding: 0; 4809 margin: 0; 4810 } 4811 .spacing-sizes-control .spacing-sizes-control__unit-control, 4812 .spacing-sizes-control .spacing-sizes-control__label { 4813 margin-bottom: 0; 4814 } 4815 .spacing-sizes-control .spacing-sizes-control__preset-range, 4816 .spacing-sizes-control .spacing-sizes-control__custom-value-range { 4817 flex: 1; 4818 margin-bottom: 0; 4819 } 4820 4821 .spacing-sizes-control__header { 4822 height: 16px; 4823 margin-bottom: 12px; 4824 } 4825 4826 .spacing-sizes-control__wrapper { 4827 align-items: center; 4828 } 4829 4830 .spacing-sizes-control__dropdown { 4831 height: 24px; 4832 } 4833 4834 .spacing-sizes-control__wrapper .preset-input-control__icon { 4835 margin-left: -4px; 4836 } 4837 4838 .block-editor-block-visibility-modal { 4839 z-index: 1000001; 4840 } 4841 .block-editor-block-visibility-modal__options { 4842 border: 0; 4843 padding: 0; 4844 list-style: none; 4845 margin: 24px 0; 4846 } 4847 .block-editor-block-visibility-modal__options-item { 4848 display: flex; 4849 align-items: center; 4850 justify-content: space-between; 4851 margin: 0 0 16px 0; 4852 gap: 24px; 4853 } 4854 .block-editor-block-visibility-modal__options-item:last-child { 4855 margin: 0; 4856 } 4857 .block-editor-block-visibility-modal__options-item--everywhere { 4858 flex-direction: column; 4859 align-items: start; 4860 } 4861 .block-editor-block-visibility-modal__options-checkbox--everywhere { 4862 font-weight: var(--wpds-typography-font-weight-emphasis, 600); 4863 } 4864 .block-editor-block-visibility-modal__options-icon--checked { 4865 color: #ddd; 4866 } 4867 .block-editor-block-visibility-modal__sub-options { 4868 width: 100%; 4869 padding-inline-start: 12px; 4870 } 4871 .block-editor-block-visibility-modal__description { 4872 font-size: 12px; 4873 color: #757575; 4874 } 4875 4876 .block-editor-block-visibility-info { 4877 margin: 0 16px 16px; 4878 } 4879 4880 /* The stop element is invisible, so its focus indication is drawn around the 4881 canvas it stands for. For the iframed canvas it is an overlay instead of 4882 an outline, because Safari paints an outline on an iframe element 4883 underneath the iframe's content. */ 4884 .block-editor-iframe__scale-container > .block-editor-writing-flow__canvas-stop:focus::after { 4885 content: ""; 4886 position: absolute; 4887 inset: 0; 4888 z-index: 1; 4889 pointer-events: none; 4890 border: var(--wp-admin-border-width-focus) solid var(--wp-admin-theme-color); 4891 } 4892 4893 .block-editor-writing-flow__canvas-stop:focus + .block-editor-writing-flow { 4894 outline: var(--wp-admin-border-width-focus) solid var(--wp-admin-theme-color); 4895 outline-offset: calc(-1 * var(--wp-admin-border-width-focus)); 4896 } 4897 4898 /* Looks like a tooltip. Shown at the top of the canvas while the stop is 4899 focused. Sticky, because on the widgets screen the stop spans scrolling 4900 content and the hint must stay in view; anywhere else there is nothing 4901 to scroll and it stays at the top of the canvas. */ 4902 .block-editor-writing-flow__canvas-stop-hint { 4903 display: none; 4904 position: sticky; 4905 top: 16px; 4906 margin-inline: auto; 4907 width: fit-content; 4908 z-index: 2; 4909 background: #000; 4910 font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; 4911 border-radius: 4px; 4912 color: #f0f0f0; 4913 text-align: center; 4914 line-height: 1.4; 4915 font-size: 12px; 4916 padding: 4px 8px; 4917 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); 4918 white-space: nowrap; 4919 pointer-events: none; 4920 } 4921 4922 .block-editor-writing-flow__canvas-stop:focus > .block-editor-writing-flow__canvas-stop-hint { 4923 display: block; 4924 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated : Mon Nov 23 08:20:01 2026 | Cross-referenced by PHPXref |