| [ 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-left: 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-left: 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-right: 12px; 234 padding-left: 32px; 235 } 236 237 .block-editor-global-styles-background-panel__reset { 238 position: absolute; 239 left: 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-right: 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 right: 0; 424 left: 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 right: 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 right: 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 left: 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-right: 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-right: 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-right: 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-right: 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-left-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 right: 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 right: 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-left: 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 right: 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-left: 6px; 629 padding-right: 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-left: 12px; 634 padding-right: 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 right: auto; 642 margin-right: -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-right: 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 right: 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 32px 12px 0; 700 } 701 .block-editor-block-lock-modal__checklist-item .block-editor-block-lock-modal__lock-icon { 702 flex-shrink: 0; 703 margin-left: 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-right: -6px !important; 727 } 728 729 .show-icon-labels .block-editor-block-toolbar__block-controls .block-editor-block-lock-toolbar { 730 border-right: 1px solid #1e1e1e; 731 margin-right: 6px !important; 732 margin-left: -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 right: 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-right: 0; 799 margin-left: 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 0 0 16px; 825 min-width: 200px; 826 max-width: 600px; 827 } 828 .block-editor-block-compare__wrapper > div button { 829 float: left; 830 } 831 .block-editor-block-compare__wrapper .block-editor-block-compare__converted { 832 border-right: 1px solid #ddd; 833 padding-right: 15px; 834 padding-left: 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 right: 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-left: 6px; 906 } 907 .block-editor-block-draggable-chip .block-editor-block-draggable-chip__content > .components-flex__item:last-child { 908 margin-left: 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 left: 0; 924 right: 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 16px 8px 0; 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-left: 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-right: 0; 1043 padding-left: 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 right: 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 left: 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-right: 0; 1064 padding-left: 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 right: 8px; 1078 left: 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: right; 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 right: 0; 1228 transform-origin: top right; 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 right: 0; 1244 left: 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 right: 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: right; 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-left: 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-right: 1px solid #ddd; 1637 border-left: 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-right-radius: 2px; 1642 border-top-left-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-right-radius: 2px; 1647 border-bottom-left-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: right; 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 left: 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 left: 28px; 1724 } 1725 1726 .block-editor-panel-color-gradient-settings__contrast-warning { 1727 position: absolute; 1728 left: 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: left; 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 left: 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 direction: ltr; 1909 } 1910 1911 .block-editor-panel-duotone-settings__reset { 1912 position: absolute; 1913 left: 0; 1914 top: 8px; 1915 margin: auto 8px auto; 1916 opacity: 0; 1917 } 1918 @media not (prefers-reduced-motion) { 1919 .block-editor-panel-duotone-settings__reset { 1920 transition: opacity 0.1s ease-in-out; 1921 } 1922 } 1923 .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 { 1924 opacity: 1; 1925 } 1926 @media (hover: none) { 1927 .block-editor-panel-duotone-settings__reset { 1928 opacity: 1; 1929 } 1930 } 1931 1932 .block-editor-global-styles__text-shadow { 1933 width: 260px; 1934 padding: 8px; 1935 } 1936 1937 .block-editor-global-styles__text-shadow-preview { 1938 display: flex; 1939 align-items: center; 1940 justify-content: center; 1941 height: 80px; 1942 border: #ddd 1px solid; 1943 border-radius: 2px; 1944 font-size: 24px; 1945 margin-bottom: 16px; 1946 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); 1947 background-position: 0 0, 8px 8px; 1948 background-size: 16px 16px; 1949 } 1950 1951 .block-editor-global-styles__text-shadow-list-item { 1952 justify-content: space-between; 1953 gap: 8px; 1954 width: 100%; 1955 } 1956 .block-editor-global-styles__text-shadow-list-item:not(.is-active) svg { 1957 opacity: 0; 1958 } 1959 1960 .block-editor-global-styles__text-shadow-dropdown { 1961 display: block; 1962 padding: 0; 1963 position: relative; 1964 border: 1px solid #ddd; 1965 border-radius: 2px; 1966 } 1967 1968 .block-editor-global-styles__text-shadow-dropdown-toggle { 1969 width: 100%; 1970 padding: 8px; 1971 } 1972 .block-editor-global-styles__text-shadow-dropdown-toggle.is-open { 1973 background-color: #f0f0f0; 1974 } 1975 1976 .block-editor-global-styles__text-shadow-remove-button { 1977 position: absolute; 1978 left: 8px; 1979 top: 8px; 1980 opacity: 0; 1981 } 1982 @media not (prefers-reduced-motion) { 1983 .block-editor-global-styles__text-shadow-remove-button { 1984 transition: opacity 0.1s ease-in-out; 1985 } 1986 } 1987 .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 { 1988 opacity: 1; 1989 } 1990 @media (hover: none) { 1991 .block-editor-global-styles__text-shadow-remove-button { 1992 opacity: 1; 1993 } 1994 } 1995 1996 .is-inherited-from-global-styles .components-base-control__label, 1997 .is-inherited-from-global-styles .components-input-control__label, 1998 .is-inherited-from-global-styles .block-editor-font-appearance-control__label, 1999 .is-inherited-from-global-styles .block-editor-font-family-control__label { 2000 text-decoration-line: underline; 2001 text-decoration-style: dotted; 2002 text-decoration-thickness: 1px; 2003 text-underline-offset: 0.2em; 2004 } 2005 .is-inherited-from-global-styles .block-editor-panel-color-gradient-settings__color-name, 2006 .is-inherited-from-global-styles .block-editor-global-styles-background-panel__inspector-media-replace-title, 2007 .is-inherited-from-global-styles .block-editor-panel-duotone-settings__label { 2008 border-bottom: 1px dotted currentColor; 2009 } 2010 2011 .has-local-override-from-global-styles { 2012 position: relative; 2013 } 2014 2015 .global-styles-inheritance-affordance { 2016 position: absolute; 2017 inset-block-start: 0; 2018 inset-inline-end: 0; 2019 z-index: 1; 2020 display: flex; 2021 align-items: center; 2022 justify-content: center; 2023 pointer-events: none; 2024 height: 16px; 2025 } 2026 .global-styles-inheritance-affordance--offset-toggle { 2027 inset-inline-end: 32px; 2028 } 2029 .global-styles-inheritance-affordance .has-local-override-from-global-styles__reset { 2030 pointer-events: auto; 2031 margin-inline-start: 0 !important; 2032 } 2033 2034 .has-local-override-from-global-styles__reset { 2035 display: inline-flex !important; 2036 align-items: center; 2037 justify-content: center; 2038 vertical-align: middle; 2039 position: relative; 2040 margin-inline-start: 6px; 2041 min-width: 14px !important; 2042 width: 14px !important; 2043 height: 14px !important; 2044 padding: 0 !important; 2045 border-radius: 50% !important; 2046 background: transparent !important; 2047 box-shadow: none !important; 2048 overflow: hidden; 2049 text-transform: none; 2050 letter-spacing: normal; 2051 cursor: var(--wpds-cursor-control, pointer); 2052 } 2053 .has-local-override-from-global-styles__reset:hover, .has-local-override-from-global-styles__reset:focus { 2054 background: transparent !important; 2055 } 2056 .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 { 2057 display: none; 2058 } 2059 .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 { 2060 display: block; 2061 } 2062 .has-local-override-from-global-styles__reset:focus-visible { 2063 outline: 1.5px solid var(--wp-admin-theme-color, #3858e9); 2064 outline-offset: 1px; 2065 } 2066 .has-local-override-from-global-styles__reset.block-editor-panel-color-gradient-settings__reset { 2067 position: absolute; 2068 justify-content: center; 2069 top: 50%; 2070 transform: translateY(-50%); 2071 margin-block: 0; 2072 margin-inline-start: 0; 2073 opacity: 1; 2074 } 2075 .has-local-override-from-global-styles__reset.block-editor-global-styles__shadow-editor__remove-button { 2076 position: absolute; 2077 justify-content: center; 2078 inset-inline-end: 8px; 2079 top: 50%; 2080 transform: translateY(-50%); 2081 margin-block: 0; 2082 margin-inline-start: 0; 2083 opacity: 1; 2084 } 2085 .has-local-override-from-global-styles__reset.block-editor-panel-duotone-settings__reset { 2086 position: absolute; 2087 justify-content: center; 2088 inset-inline-end: 8px; 2089 top: 50%; 2090 transform: translateY(-50%); 2091 margin-block: 0; 2092 margin-inline-start: 0; 2093 opacity: 1; 2094 } 2095 2096 .has-local-override-from-global-styles__dot { 2097 display: block; 2098 width: 8px; 2099 height: 8px; 2100 background-color: var(--wp-admin-theme-color, #3858e9); 2101 border-radius: 50%; 2102 } 2103 2104 .has-local-override-from-global-styles__reset-icon { 2105 display: none; 2106 position: absolute; 2107 top: 50%; 2108 right: 50%; 2109 transform: translate(50%, -50%); 2110 color: var(--wp-admin-theme-color, #3858e9); 2111 } 2112 2113 .block-editor-grid-visualizer.block-editor-grid-visualizer.block-editor-grid-visualizer { 2114 z-index: 30; 2115 } 2116 .block-editor-grid-visualizer.block-editor-grid-visualizer.block-editor-grid-visualizer .components-popover__content * { 2117 pointer-events: none; 2118 } 2119 .block-editor-grid-visualizer.block-editor-grid-visualizer.block-editor-grid-visualizer.is-dropping-allowed .block-editor-grid-visualizer__drop-zone { 2120 pointer-events: all; 2121 } 2122 .block-editor-grid-visualizer.block-editor-grid-visualizer.block-editor-grid-visualizer .block-editor-inserter * { 2123 pointer-events: auto; 2124 } 2125 2126 .block-editor-grid-visualizer__grid { 2127 display: grid; 2128 position: absolute; 2129 } 2130 2131 .block-editor-grid-visualizer__cell { 2132 display: grid; 2133 position: relative; 2134 } 2135 .block-editor-grid-visualizer__cell .block-editor-inserter { 2136 color: inherit; 2137 z-index: 32; 2138 position: absolute; 2139 top: 0; 2140 bottom: 0; 2141 right: 0; 2142 left: 0; 2143 overflow: hidden; 2144 } 2145 .block-editor-grid-visualizer__cell .block-editor-inserter .block-editor-grid-visualizer__appender { 2146 box-shadow: inset 0 0 0 1px color-mix(in srgb, currentColor 20%, rgba(0, 0, 0, 0)); 2147 color: inherit; 2148 overflow: hidden; 2149 height: 100%; 2150 width: 100%; 2151 padding: 0 !important; 2152 opacity: 0; 2153 } 2154 .block-editor-grid-visualizer__cell.is-highlighted .block-editor-inserter, 2155 .block-editor-grid-visualizer__cell.is-highlighted .block-editor-grid-visualizer__drop-zone { 2156 background: var(--wp-admin-theme-color); 2157 } 2158 .block-editor-grid-visualizer__cell:hover .block-editor-grid-visualizer__appender, 2159 .block-editor-grid-visualizer__cell .block-editor-grid-visualizer__appender:focus { 2160 opacity: 1; 2161 background-color: color-mix(in srgb, currentColor 20%, rgba(0, 0, 0, 0)); 2162 } 2163 2164 .block-editor-grid-visualizer__drop-zone { 2165 background: rgba(204, 204, 204, 0.1); 2166 width: 100%; 2167 height: 100%; 2168 grid-column: 1; 2169 grid-row: 1; 2170 min-width: 8px; 2171 min-height: 8px; 2172 } 2173 2174 .block-editor-grid-item-resizer.block-editor-grid-item-resizer.block-editor-grid-item-resizer { 2175 z-index: 30; 2176 } 2177 .block-editor-grid-item-resizer.block-editor-grid-item-resizer.block-editor-grid-item-resizer .components-popover__content * { 2178 pointer-events: none; 2179 } 2180 2181 .block-editor-grid-item-resizer__box { 2182 border: 1px solid var(--wp-admin-theme-color); 2183 } 2184 .block-editor-grid-item-resizer__box .components-resizable-box__handle.components-resizable-box__handle.components-resizable-box__handle { 2185 pointer-events: all; 2186 } 2187 2188 .block-editor-grid-item-mover__move-button-container { 2189 display: flex; 2190 padding: 0; 2191 border: none; 2192 justify-content: center; 2193 } 2194 .block-editor-grid-item-mover__move-button-container .block-editor-grid-item-mover-button { 2195 width: 24px; 2196 min-width: 0 !important; 2197 padding-right: 0; 2198 padding-left: 0; 2199 } 2200 .block-editor-grid-item-mover__move-button-container .block-editor-grid-item-mover-button svg { 2201 min-width: 24px; 2202 } 2203 .block-editor-grid-item-mover__move-button-container .block-editor-grid-item-mover-button::before { 2204 content: ""; 2205 position: absolute; 2206 display: block; 2207 border-radius: 2px; 2208 height: 32px; 2209 right: 8px; 2210 left: 8px; 2211 z-index: -1; 2212 } 2213 @media not (prefers-reduced-motion) { 2214 .block-editor-grid-item-mover__move-button-container .block-editor-grid-item-mover-button::before { 2215 animation: components-button__appear-animation 0.1s ease; 2216 animation-fill-mode: forwards; 2217 } 2218 } 2219 2220 .block-editor-grid-item-mover__move-vertical-button-container { 2221 display: flex; 2222 position: relative; 2223 } 2224 @media (min-width: 600px) { 2225 .block-editor-grid-item-mover__move-vertical-button-container { 2226 flex-direction: column; 2227 justify-content: space-around; 2228 } 2229 .block-editor-grid-item-mover__move-vertical-button-container > .block-editor-grid-item-mover-button.block-editor-grid-item-mover-button { 2230 height: 20px !important; 2231 width: 100%; 2232 min-width: 0 !important; 2233 } 2234 .block-editor-grid-item-mover__move-vertical-button-container > .block-editor-grid-item-mover-button.block-editor-grid-item-mover-button::before { 2235 height: calc(100% - 4px); 2236 } 2237 .block-editor-grid-item-mover__move-vertical-button-container .block-editor-grid-item-mover-button.is-up-button svg, 2238 .block-editor-grid-item-mover__move-vertical-button-container .block-editor-grid-item-mover-button.is-down-button svg { 2239 flex-shrink: 0; 2240 height: 20px; 2241 } 2242 } 2243 2244 @media (min-width: 600px) { 2245 .editor-collapsible-block-toolbar .block-editor-grid-item-mover__move-vertical-button-container { 2246 height: 40px; 2247 position: relative; 2248 top: -4px; 2249 } 2250 } 2251 2252 .show-icon-labels .block-editor-grid-item-mover__move-horizontal-button-container { 2253 position: relative; 2254 } 2255 @media (min-width: 600px) { 2256 .show-icon-labels .block-editor-grid-item-mover__move-horizontal-button-container::before { 2257 content: ""; 2258 height: 100%; 2259 width: 1px; 2260 background: #e0e0e0; 2261 position: absolute; 2262 top: 0; 2263 } 2264 } 2265 @media (min-width: 782px) { 2266 .show-icon-labels .block-editor-grid-item-mover__move-horizontal-button-container::before { 2267 background: #1e1e1e; 2268 } 2269 } 2270 .show-icon-labels .block-editor-grid-item-mover__move-horizontal-button-container.is-left { 2271 padding-left: 6px; 2272 } 2273 .show-icon-labels .block-editor-grid-item-mover__move-horizontal-button-container.is-left::before { 2274 left: 0; 2275 } 2276 .show-icon-labels .block-editor-grid-item-mover__move-horizontal-button-container.is-right { 2277 padding-right: 6px; 2278 } 2279 .show-icon-labels .block-editor-grid-item-mover__move-horizontal-button-container.is-right::before { 2280 right: 0; 2281 } 2282 @media (min-width: 600px) { 2283 .show-icon-labels .block-editor-grid-item-mover__move-vertical-button-container::before { 2284 content: ""; 2285 height: 1px; 2286 width: 100%; 2287 background: #e0e0e0; 2288 position: absolute; 2289 top: 50%; 2290 right: 50%; 2291 transform: translate(50%, 0); 2292 margin-top: -0.5px; 2293 } 2294 } 2295 @media (min-width: 782px) { 2296 .show-icon-labels .block-editor-grid-item-mover__move-vertical-button-container::before { 2297 background: #1e1e1e; 2298 } 2299 } 2300 .show-icon-labels .block-editor-grid-item-mover-button { 2301 white-space: nowrap; 2302 } 2303 .show-icon-labels .editor-collapsible-block-toolbar .block-editor-grid-item-mover__move-horizontal-button-container::before { 2304 height: 24px; 2305 background: #ddd; 2306 top: 4px; 2307 } 2308 .show-icon-labels .editor-collapsible-block-toolbar .block-editor-grid-item-mover__move-vertical-button-container::before { 2309 background: #ddd; 2310 width: calc(100% - 24px); 2311 } 2312 2313 .block-editor-height-control { 2314 border: 0; 2315 margin: 0; 2316 padding: 0; 2317 } 2318 2319 .block-editor-iframe__container { 2320 width: 100%; 2321 height: 100%; 2322 } 2323 2324 .block-editor-iframe__scale-container { 2325 height: 100%; 2326 } 2327 2328 .block-editor-iframe__scale-container.is-zoomed-out { 2329 width: var(--wp-block-editor-iframe-zoom-out-scale-container-width, 100vw); 2330 position: absolute; 2331 left: 0; 2332 } 2333 2334 .wp-block-image__crop-area { 2335 position: relative; 2336 max-width: 100%; 2337 width: 100%; 2338 overflow: hidden; 2339 } 2340 .wp-block-image__crop-area .reactEasyCrop_Container { 2341 pointer-events: auto; 2342 } 2343 .wp-block-image__crop-area .reactEasyCrop_Container .reactEasyCrop_Image { 2344 border: none; 2345 border-radius: 0; 2346 } 2347 2348 .wp-block-image__zoom .components-popover__content { 2349 min-width: 260px; 2350 overflow: visible !important; 2351 } 2352 2353 .block-editor-block-types-list__list-item { 2354 display: block; 2355 width: 33.33%; 2356 padding: 0; 2357 margin: 0; 2358 } 2359 .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 { 2360 color: var(--wp-block-synced-color); 2361 } 2362 .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 { 2363 color: var(--wp-block-synced-color) !important; 2364 filter: brightness(0.95); 2365 } 2366 .block-editor-block-types-list__list-item.is-synced .components-button.block-editor-block-types-list__item:not(:disabled):hover svg { 2367 color: var(--wp-block-synced-color) !important; 2368 } 2369 .block-editor-block-types-list__list-item.is-synced .components-button.block-editor-block-types-list__item:not(:disabled)::after { 2370 background: var(--wp-block-synced-color); 2371 } 2372 2373 .components-button.block-editor-block-types-list__item { 2374 display: flex; 2375 flex-direction: column; 2376 width: 100%; 2377 font-size: 13px; 2378 color: #1e1e1e; 2379 padding: 8px; 2380 align-items: stretch; 2381 justify-content: center; 2382 cursor: var(--wpds-cursor-control, pointer); 2383 background: transparent; 2384 word-break: normal; 2385 overflow-wrap: break-word; 2386 } 2387 @media not (prefers-reduced-motion) { 2388 .components-button.block-editor-block-types-list__item { 2389 transition: all 0.05s ease-in-out; 2390 } 2391 } 2392 .components-button.block-editor-block-types-list__item { 2393 position: relative; 2394 height: auto; 2395 } 2396 .components-button.block-editor-block-types-list__item:disabled, .components-button.block-editor-block-types-list__item[aria-disabled=true] { 2397 opacity: 0.6; 2398 cursor: default; 2399 } 2400 .components-button.block-editor-block-types-list__item:not(:disabled, [aria-disabled=true]):hover .block-editor-block-types-list__item-title { 2401 color: var(--wp-admin-theme-color) !important; 2402 filter: brightness(0.95); 2403 } 2404 .components-button.block-editor-block-types-list__item:not(:disabled, [aria-disabled=true]):hover svg { 2405 color: var(--wp-admin-theme-color) !important; 2406 } 2407 .components-button.block-editor-block-types-list__item:not(:disabled, [aria-disabled=true]):hover::after { 2408 content: ""; 2409 position: absolute; 2410 top: 0; 2411 bottom: 0; 2412 right: 0; 2413 left: 0; 2414 border-radius: 2px; 2415 opacity: 0.04; 2416 background: var(--wp-admin-theme-color); 2417 pointer-events: none; 2418 } 2419 2420 .block-editor-block-types-list__item-icon { 2421 padding: 12px 20px; 2422 color: #1e1e1e; 2423 } 2424 @media not (prefers-reduced-motion) { 2425 .block-editor-block-types-list__item-icon { 2426 transition: all 0.05s ease-in-out; 2427 } 2428 } 2429 .block-editor-block-types-list__item-icon .block-editor-block-icon { 2430 margin-right: auto; 2431 margin-left: auto; 2432 } 2433 @media not (prefers-reduced-motion) { 2434 .block-editor-block-types-list__item-icon svg { 2435 transition: all 0.15s ease-out; 2436 } 2437 } 2438 .block-editor-block-types-list__list-item[draggable=true] .block-editor-block-types-list__item-icon { 2439 cursor: grab; 2440 } 2441 2442 .block-editor-block-types-list__item-title { 2443 padding: 4px 2px 8px; 2444 font-size: 12px; 2445 hyphens: auto; 2446 } 2447 2448 .modal-open .block-editor-inspector-list-view-content-popover { 2449 z-index: 99999; 2450 } 2451 2452 .block-editor-block-inspector__tabs [role=tablist] { 2453 width: 100%; 2454 } 2455 2456 .block-editor-inspector-popover-header { 2457 margin-bottom: 16px; 2458 } 2459 2460 .items-justified-left { 2461 justify-content: flex-start; 2462 } 2463 2464 .items-justified-center { 2465 justify-content: center; 2466 } 2467 2468 .items-justified-right { 2469 justify-content: flex-end; 2470 } 2471 2472 .items-justified-space-between { 2473 justify-content: space-between; 2474 } 2475 2476 @keyframes loadingpulse { 2477 0% { 2478 opacity: 1; 2479 } 2480 50% { 2481 opacity: 0; 2482 } 2483 100% { 2484 opacity: 1; 2485 } 2486 } 2487 .block-editor-link-control { 2488 position: relative; 2489 min-width: 350px; 2490 } 2491 .components-popover__content .block-editor-link-control { 2492 min-width: auto; 2493 width: 90vw; 2494 max-width: 350px; 2495 } 2496 .show-icon-labels .block-editor-link-control .components-button.has-icon svg { 2497 display: none; 2498 } 2499 .show-icon-labels .block-editor-link-control .components-button.has-icon::before { 2500 content: attr(aria-label); 2501 } 2502 .show-icon-labels .block-editor-link-control .block-editor-link-control__preview { 2503 gap: 4px; 2504 flex-wrap: wrap; 2505 } 2506 .show-icon-labels .block-editor-link-control .block-editor-link-control__preview .components-button.has-icon { 2507 width: auto; 2508 padding: 4px; 2509 } 2510 .show-icon-labels .block-editor-link-control .block-editor-link-control__preview .block-editor-link-control_link-information { 2511 min-width: 100%; 2512 margin-left: 0; 2513 } 2514 2515 .block-editor-link-control__search-input-wrapper { 2516 margin-bottom: 8px; 2517 position: relative; 2518 } 2519 2520 .block-editor-link-control__help { 2521 padding: 0 16px; 2522 margin-top: -8px; 2523 margin-bottom: 0; 2524 font-size: 12px; 2525 font-style: normal; 2526 color: #757575; 2527 } 2528 2529 .block-editor-link-control__search-input-container, 2530 .block-editor-link-control__search-input-wrapper { 2531 position: relative; 2532 } 2533 2534 .block-editor-link-control__field { 2535 margin: 16px; 2536 } 2537 .block-editor-link-control__field .components-base-control__label { 2538 color: #1e1e1e; 2539 } 2540 2541 .block-editor-link-control__search-error { 2542 margin: -8px 16px 16px; 2543 } 2544 2545 .block-editor-link-control__search-actions { 2546 padding: 8px 16px 16px; 2547 } 2548 2549 .block-editor-link-control__search-results-wrapper { 2550 position: relative; 2551 } 2552 .block-editor-link-control__search-results-wrapper::before, .block-editor-link-control__search-results-wrapper::after { 2553 content: ""; 2554 position: absolute; 2555 right: -1px; 2556 left: 16px; 2557 display: block; 2558 pointer-events: none; 2559 z-index: 100; 2560 } 2561 .block-editor-link-control__search-results-wrapper::before { 2562 height: 8px; 2563 top: 0; 2564 bottom: auto; 2565 } 2566 .block-editor-link-control__search-results-wrapper::after { 2567 height: 16px; 2568 bottom: 0; 2569 top: auto; 2570 } 2571 2572 .block-editor-link-control__search-results { 2573 margin-top: -16px; 2574 padding: 8px; 2575 max-height: 200px; 2576 overflow-y: auto; 2577 } 2578 .block-editor-link-control__search-results.is-loading { 2579 opacity: 0.2; 2580 } 2581 2582 .block-editor-link-control__search-item.components-button.components-menu-item__button { 2583 height: auto; 2584 text-align: right; 2585 } 2586 .block-editor-link-control__search-item .components-menu-item__item { 2587 overflow: hidden; 2588 text-overflow: ellipsis; 2589 display: inline-block; 2590 width: 100%; 2591 } 2592 .block-editor-link-control__search-item .components-menu-item__item mark { 2593 font-weight: var(--wpds-typography-font-weight-emphasis, 600); 2594 color: inherit; 2595 background-color: transparent; 2596 } 2597 .block-editor-link-control__search-item .components-menu-item__shortcut { 2598 white-space: nowrap; 2599 } 2600 .block-editor-link-control__search-item:not(:focus, [aria-selected=true]) .components-menu-item__shortcut { 2601 color: var(--wpds-color-foreground-content-neutral-weak, #707070); 2602 } 2603 2604 .block-editor-link-control__preview { 2605 background: transparent; 2606 border: 0; 2607 padding: 16px; 2608 } 2609 .block-editor-link-control__preview .block-editor-link-control__link-information { 2610 margin-left: 8px; 2611 white-space: pre-wrap; 2612 overflow-wrap: break-word; 2613 } 2614 .block-editor-link-control__preview .block-editor-link-control__link-information .block-editor-link-control__preview-info { 2615 color: #757575; 2616 line-height: 1.1; 2617 font-size: 12px; 2618 word-break: break-all; 2619 } 2620 .block-editor-link-control__preview.is-url-title .block-editor-link-control__preview-title { 2621 word-break: break-all; 2622 } 2623 .block-editor-link-control__preview .block-editor-link-control__preview-image, 2624 .block-editor-link-control__preview .block-editor-link-control__preview-icon { 2625 position: relative; 2626 flex-shrink: 0; 2627 background-color: #f0f0f0; 2628 width: 32px; 2629 height: 32px; 2630 border-radius: 2px; 2631 } 2632 .block-editor-link-control__preview .block-editor-link-control__preview-icon img { 2633 width: 16px; 2634 } 2635 .block-editor-link-control__preview.is-error .block-editor-link-control__preview-icon { 2636 top: 0; 2637 width: 32px; 2638 max-height: 32px; 2639 } 2640 .block-editor-link-control__preview .block-editor-link-control__preview-title { 2641 display: flex; 2642 align-items: baseline; 2643 line-height: var(--wpds-typography-line-height-sm, 20px); 2644 } 2645 .block-editor-link-control__preview .block-editor-link-control__preview-title mark { 2646 font-weight: var(--wpds-typography-font-weight-emphasis, 600); 2647 color: inherit; 2648 background-color: transparent; 2649 } 2650 .block-editor-link-control__preview .block-editor-link-control__preview-title span { 2651 font-weight: 400; 2652 } 2653 2654 .block-editor-link-control__preview.is-fetching .block-editor-link-control__preview-icon svg, 2655 .block-editor-link-control__preview.is-fetching .block-editor-link-control__preview-icon img { 2656 opacity: 0; 2657 } 2658 .block-editor-link-control__preview.is-fetching .block-editor-link-control__preview-icon::before { 2659 content: ""; 2660 display: block; 2661 background-color: #f0f0f0; 2662 position: absolute; 2663 top: 0; 2664 right: 0; 2665 left: 0; 2666 bottom: 0; 2667 border-radius: 100%; 2668 } 2669 @media not (prefers-reduced-motion) { 2670 .block-editor-link-control__preview.is-fetching .block-editor-link-control__preview-icon::before { 2671 animation: loadingpulse 1s linear infinite; 2672 animation-delay: 0.5s; 2673 } 2674 } 2675 2676 .block-editor-link-control__loading { 2677 margin: 16px; 2678 display: flex; 2679 align-items: center; 2680 } 2681 .block-editor-link-control__loading .components-spinner { 2682 margin-top: 0; 2683 } 2684 2685 .components-button + .block-editor-link-control__search-create { 2686 overflow: visible; 2687 padding: 12px 16px; 2688 } 2689 .components-button + .block-editor-link-control__search-create::before { 2690 content: ""; 2691 position: absolute; 2692 top: -10px; 2693 right: 0; 2694 display: block; 2695 width: 100%; 2696 } 2697 2698 .block-editor-link-control__search-create { 2699 align-items: center; 2700 } 2701 .block-editor-link-control__search-create .block-editor-link-control__preview-title { 2702 margin-bottom: 0; 2703 } 2704 .block-editor-link-control__search-create .block-editor-link-control__search-item-icon { 2705 top: 0; 2706 } 2707 2708 .block-editor-link-control__drawer-inner { 2709 display: flex; 2710 flex-direction: column; 2711 flex-basis: 100%; 2712 position: relative; 2713 } 2714 2715 .block-editor-link-control__settings { 2716 border: 0; 2717 padding: 0; 2718 margin: 0; 2719 } 2720 2721 .block-editor-link-control__setting { 2722 margin-bottom: 0; 2723 flex: 1; 2724 padding: 8px 24px; 2725 } 2726 .block-editor-link-control__setting .components-base-control:not(.components-input-control) .components-base-control__field { 2727 display: flex; 2728 } 2729 .block-editor-link-control__setting .components-base-control__field .components-checkbox-control__label { 2730 color: #1e1e1e; 2731 } 2732 .block-editor-link-control__setting input { 2733 margin-right: 0; 2734 } 2735 .is-preview .block-editor-link-control__setting { 2736 padding: 20px 0 8px 8px; 2737 } 2738 2739 .block-editor-link-control__tools { 2740 padding: 8px 8px 0 8px; 2741 margin-top: -16px; 2742 } 2743 .block-editor-link-control__tools .components-button.block-editor-link-control__drawer-toggle { 2744 padding-right: 0; 2745 gap: 0; 2746 } 2747 .block-editor-link-control__tools .components-button.block-editor-link-control__drawer-toggle[aria-expanded=true] { 2748 color: #1e1e1e; 2749 } 2750 .block-editor-link-control__tools .components-button.block-editor-link-control__drawer-toggle[aria-expanded=true] svg { 2751 visibility: visible; 2752 } 2753 @media not (prefers-reduced-motion) { 2754 .block-editor-link-control__tools .components-button.block-editor-link-control__drawer-toggle[aria-expanded=true] svg { 2755 transition: transform 0.1s ease; 2756 } 2757 } 2758 .block-editor-link-control__tools .components-button.block-editor-link-control__drawer-toggle[aria-expanded=true] svg { 2759 transform: rotate(-90deg); 2760 } 2761 .block-editor-link-control__tools .components-button.block-editor-link-control__drawer-toggle[aria-expanded=false] svg { 2762 visibility: visible; 2763 transform: rotate(0deg); 2764 } 2765 @media not (prefers-reduced-motion) { 2766 .block-editor-link-control__tools .components-button.block-editor-link-control__drawer-toggle[aria-expanded=false] svg { 2767 transition: transform 0.1s ease; 2768 } 2769 } 2770 2771 .block-editor-link-control .block-editor-link-control__search-input .components-spinner { 2772 display: block; 2773 } 2774 .block-editor-link-control .block-editor-link-control__search-input .components-spinner.components-spinner { 2775 position: absolute; 2776 right: auto; 2777 bottom: auto; 2778 top: calc(50% - 16px / 2); 2779 left: 40px; 2780 } 2781 2782 .block-editor-link-control .block-editor-link-control__search-input-wrapper.has-actions .components-spinner { 2783 top: calc(50% + 16px / 4); 2784 left: 12px; 2785 } 2786 2787 /** 2788 * Link Picker Styles 2789 */ 2790 .link-preview-button.components-button { 2791 width: 100%; 2792 height: auto; 2793 padding: 12px; 2794 border-color: #949494; 2795 } 2796 2797 .link-preview-button__image-container { 2798 width: 24px; 2799 height: 24px; 2800 flex-shrink: 0; 2801 } 2802 2803 .link-preview-button__image { 2804 width: 100%; 2805 height: 100%; 2806 object-fit: cover; 2807 border-radius: 2px; 2808 } 2809 2810 .link-preview-button__content { 2811 min-width: 0; 2812 flex: 1; 2813 } 2814 2815 .link-preview-button__details { 2816 min-width: 0; 2817 flex: 1; 2818 } 2819 2820 .link-preview-button__title, 2821 .link-preview-button__hint { 2822 min-width: 0; 2823 display: block; 2824 width: 100%; 2825 text-align: right; 2826 overflow: hidden; 2827 text-overflow: ellipsis; 2828 white-space: nowrap; 2829 } 2830 2831 .link-preview-button__title { 2832 margin-top: 4px; 2833 font-weight: var(--wpds-typography-font-weight-emphasis, 600); 2834 color: #1e1e1e; 2835 display: block; 2836 } 2837 2838 .link-preview-button__hint { 2839 font-size: 12px; 2840 color: #757575; 2841 font-weight: 400; 2842 } 2843 2844 .link-preview-button__icon { 2845 color: #1e1e1e; 2846 } 2847 2848 .link-preview-button__badges { 2849 margin-top: 8px; 2850 } 2851 2852 .block-editor-list-view-tree { 2853 width: 100%; 2854 border-collapse: collapse; 2855 padding: 0; 2856 margin: 0; 2857 } 2858 .components-modal__content .block-editor-list-view-tree { 2859 margin: -12px -6px 0; 2860 width: calc(100% + 12px); 2861 } 2862 .block-editor-list-view-tree.is-dragging tbody { 2863 pointer-events: none; 2864 } 2865 2866 .block-editor-list-view-leaf { 2867 position: relative; 2868 transform: translateY(0); 2869 } 2870 .block-editor-list-view-leaf:focus-within, .block-editor-list-view-leaf.is-nesting { 2871 z-index: 1; 2872 } 2873 .block-editor-list-view-leaf.is-draggable, .block-editor-list-view-leaf.is-draggable .block-editor-list-view-block-contents { 2874 cursor: grab; 2875 } 2876 .block-editor-list-view-leaf .block-editor-list-view-block-select-button[aria-expanded=true] { 2877 color: inherit; 2878 } 2879 .block-editor-list-view-leaf .block-editor-list-view-block-select-button:hover { 2880 color: var(--wp-admin-theme-color); 2881 } 2882 .block-editor-list-view-leaf .block-editor-list-view-block-select-button svg { 2883 fill: currentColor; 2884 } 2885 .is-dragging-components-draggable .block-editor-list-view-leaf:not(.is-selected) .block-editor-list-view-block-select-button:hover { 2886 color: inherit; 2887 } 2888 .block-editor-list-view-leaf.is-selected td { 2889 background: var(--wp-admin-theme-color); 2890 } 2891 .block-editor-list-view-leaf.is-selected.is-synced td { 2892 background: var(--wp-block-synced-color); 2893 } 2894 .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, 2895 .block-editor-list-view-leaf.is-synced:not(.is-selected) .block-editor-list-view-block-contents .block-editor-block-icon { 2896 color: var(--wp-block-synced-color); 2897 } 2898 .block-editor-list-view-leaf.is-synced .block-editor-list-view-block-contents:focus::after { 2899 --focus-color: var(--wp-block-synced-color); 2900 } 2901 .block-editor-list-view-leaf.is-synced:not(.is-selected) .block-editor-list-view-block__menu:focus { 2902 --focus-color: var(--wp-block-synced-color); 2903 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))); 2904 outline-offset: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)); 2905 } 2906 .block-editor-list-view-leaf.is-selected .block-editor-list-view-block-contents, .block-editor-list-view-leaf.is-selected .components-button.has-icon { 2907 color: #fff; 2908 } 2909 .block-editor-list-view-leaf.is-selected .block-editor-list-view-block__menu:focus { 2910 --focus-color: var(--wpds-color-foreground-interactive-brand-strong, #fff); 2911 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))); 2912 outline-offset: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)); 2913 outline-offset: calc(-1 * var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px))); 2914 } 2915 @media (forced-colors: active) { 2916 .block-editor-list-view-leaf.is-selected td, .block-editor-list-view-leaf.is-selected.is-synced td { 2917 background: SelectedItem; 2918 } 2919 .block-editor-list-view-leaf.is-selected .block-editor-list-view-block-contents, .block-editor-list-view-leaf.is-selected .components-button.has-icon { 2920 color: SelectedItemText; 2921 } 2922 .block-editor-list-view-leaf.is-selected svg, .block-editor-list-view-leaf.is-selected .block-editor-block-icon.has-colors svg { 2923 fill: SelectedItemText; 2924 } 2925 .block-editor-list-view-leaf.is-selected .block-editor-list-view-block-select-button__title { 2926 forced-color-adjust: none; 2927 } 2928 .block-editor-list-view-leaf.is-selected .block-editor-list-view-block-contents:focus::after { 2929 --focus-color: CanvasText; 2930 } 2931 .block-editor-list-view-leaf.is-selected .block-editor-list-view-block__menu:focus { 2932 --focus-color: SelectedItemText; 2933 } 2934 } 2935 .block-editor-list-view-leaf.is-first-selected td:first-child { 2936 border-top-right-radius: 2px; 2937 } 2938 .block-editor-list-view-leaf.is-first-selected td:last-child { 2939 border-top-left-radius: 2px; 2940 } 2941 .block-editor-list-view-leaf.is-last-selected td:first-child { 2942 border-bottom-right-radius: 2px; 2943 } 2944 .block-editor-list-view-leaf.is-last-selected td:last-child { 2945 border-bottom-left-radius: 2px; 2946 } 2947 .block-editor-list-view-leaf.is-branch-selected:not(.is-selected):not(.is-synced-branch) { 2948 background: rgba(var(--wp-admin-theme-color--rgb), 0.04); 2949 } 2950 .block-editor-list-view-leaf.is-synced-branch.is-branch-selected { 2951 background: rgba(var(--wp-block-synced-color--rgb), 0.04); 2952 } 2953 .block-editor-list-view-leaf.is-branch-selected.is-first-selected td:first-child { 2954 border-top-right-radius: 2px; 2955 } 2956 .block-editor-list-view-leaf.is-branch-selected.is-first-selected td:last-child { 2957 border-top-left-radius: 2px; 2958 } 2959 .block-editor-list-view-leaf[data-expanded=false].is-branch-selected.is-first-selected td:first-child { 2960 border-top-right-radius: 2px; 2961 } 2962 .block-editor-list-view-leaf[data-expanded=false].is-branch-selected.is-first-selected td:last-child { 2963 border-top-left-radius: 2px; 2964 } 2965 .block-editor-list-view-leaf[data-expanded=false].is-branch-selected.is-last-selected td:first-child { 2966 border-bottom-right-radius: 2px; 2967 } 2968 .block-editor-list-view-leaf[data-expanded=false].is-branch-selected.is-last-selected td:last-child { 2969 border-bottom-left-radius: 2px; 2970 } 2971 .block-editor-list-view-leaf.is-branch-selected:not(.is-selected) td { 2972 border-radius: 0; 2973 } 2974 @media not (prefers-reduced-motion) { 2975 .block-editor-list-view-leaf.is-displacement-normal { 2976 transition: transform 0.2s; 2977 } 2978 } 2979 .block-editor-list-view-leaf.is-displacement-normal { 2980 transform: translateY(0); 2981 } 2982 @media not (prefers-reduced-motion) { 2983 .block-editor-list-view-leaf.is-displacement-up { 2984 transition: transform 0.2s; 2985 } 2986 } 2987 .block-editor-list-view-leaf.is-displacement-up { 2988 transform: translateY(-32px); 2989 } 2990 @media not (prefers-reduced-motion) { 2991 .block-editor-list-view-leaf.is-displacement-down { 2992 transition: transform 0.2s; 2993 } 2994 } 2995 .block-editor-list-view-leaf.is-displacement-down { 2996 transform: translateY(32px); 2997 } 2998 @media not (prefers-reduced-motion) { 2999 .block-editor-list-view-leaf.is-after-dragged-blocks { 3000 transition: transform 0.2s; 3001 } 3002 } 3003 .block-editor-list-view-leaf.is-after-dragged-blocks { 3004 transform: translateY(calc(var(--wp-admin--list-view-dragged-items-height, 32px) * -1)); 3005 } 3006 @media not (prefers-reduced-motion) { 3007 .block-editor-list-view-leaf.is-after-dragged-blocks.is-displacement-up { 3008 transition: transform 0.2s; 3009 } 3010 } 3011 .block-editor-list-view-leaf.is-after-dragged-blocks.is-displacement-up { 3012 transform: translateY(calc(-32px + var(--wp-admin--list-view-dragged-items-height, 32px) * -1)); 3013 } 3014 @media not (prefers-reduced-motion) { 3015 .block-editor-list-view-leaf.is-after-dragged-blocks.is-displacement-down { 3016 transition: transform 0.2s; 3017 } 3018 } 3019 .block-editor-list-view-leaf.is-after-dragged-blocks.is-displacement-down { 3020 transform: translateY(calc(32px + var(--wp-admin--list-view-dragged-items-height, 32px) * -1)); 3021 } 3022 .block-editor-list-view-leaf.is-dragging { 3023 opacity: 0; 3024 right: 0; 3025 pointer-events: none; 3026 z-index: -9999; 3027 } 3028 .block-editor-list-view-leaf .block-editor-list-view-block-contents { 3029 display: flex; 3030 align-items: center; 3031 width: 100%; 3032 height: 32px; 3033 padding: 6px 0 6px 4px; 3034 text-align: right; 3035 position: relative; 3036 white-space: nowrap; 3037 border-radius: 2px; 3038 box-sizing: border-box; 3039 color: inherit; 3040 font-family: inherit; 3041 font-size: 13px; 3042 font-weight: 400; 3043 margin: 0; 3044 text-decoration: none; 3045 } 3046 @media not (prefers-reduced-motion) { 3047 .block-editor-list-view-leaf .block-editor-list-view-block-contents { 3048 transition: box-shadow 0.1s linear; 3049 } 3050 } 3051 .components-modal__content .block-editor-list-view-leaf .block-editor-list-view-block-contents { 3052 padding-right: 0; 3053 padding-left: 0; 3054 } 3055 .block-editor-list-view-leaf.is-nesting .block-editor-list-view-block-contents, 3056 .block-editor-list-view-leaf .block-editor-list-view-block-contents:focus { 3057 box-shadow: none; 3058 outline: none; 3059 } 3060 .block-editor-list-view-leaf.is-nesting .block-editor-list-view-block-contents::after, 3061 .block-editor-list-view-leaf .block-editor-list-view-block-contents:focus::after { 3062 content: ""; 3063 position: absolute; 3064 top: 0; 3065 left: -28px; 3066 bottom: 0; 3067 right: 0; 3068 border-radius: inherit; 3069 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))); 3070 outline-offset: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)); 3071 outline-offset: 1px; 3072 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); 3073 z-index: 2; 3074 pointer-events: none; 3075 } 3076 .block-editor-list-view-leaf.has-single-cell .block-editor-list-view-block-contents:focus::after { 3077 left: 0; 3078 } 3079 .block-editor-list-view-leaf.is-visible .block-editor-list-view-block-contents { 3080 opacity: 1; 3081 } 3082 @keyframes __wp-base-styles-fade-in { 3083 from { 3084 opacity: 0; 3085 } 3086 to { 3087 opacity: 1; 3088 } 3089 } 3090 @media not (prefers-reduced-motion) { 3091 .block-editor-list-view-leaf.is-visible .block-editor-list-view-block-contents { 3092 animation: __wp-base-styles-fade-in 0.08s linear 0s; 3093 animation-fill-mode: forwards; 3094 } 3095 } 3096 .block-editor-list-view-leaf .block-editor-block-icon { 3097 margin-left: 4px; 3098 flex: 0 0 24px; 3099 } 3100 .block-editor-list-view-leaf .block-editor-list-view-block__menu-cell, 3101 .block-editor-list-view-leaf .block-editor-list-view-block__mover-cell, 3102 .block-editor-list-view-leaf .block-editor-list-view-block__contents-cell { 3103 padding: 0; 3104 } 3105 .block-editor-list-view-leaf .block-editor-list-view-block__menu-cell, 3106 .block-editor-list-view-leaf .block-editor-list-view-block__mover-cell { 3107 line-height: 0; 3108 width: 28px; 3109 vertical-align: middle; 3110 } 3111 .block-editor-list-view-leaf .block-editor-list-view-block__menu-cell > *, 3112 .block-editor-list-view-leaf .block-editor-list-view-block__mover-cell > * { 3113 opacity: 0; 3114 } 3115 .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 > *, 3116 .block-editor-list-view-leaf .block-editor-list-view-block__mover-cell:hover > *, 3117 .block-editor-list-view-leaf .block-editor-list-view-block__mover-cell:focus-within > *, 3118 .block-editor-list-view-leaf .block-editor-list-view-block__mover-cell.is-visible > * { 3119 opacity: 1; 3120 } 3121 .block-editor-list-view-leaf .block-editor-list-view-block__mover-cell-alignment-wrapper { 3122 display: flex; 3123 height: 100%; 3124 flex-direction: column; 3125 align-items: center; 3126 } 3127 .block-editor-list-view-leaf .block-editor-block-mover-button { 3128 position: relative; 3129 width: 36px; 3130 height: 24px; 3131 } 3132 .block-editor-list-view-leaf .block-editor-block-mover-button svg { 3133 position: relative; 3134 height: 24px; 3135 } 3136 .block-editor-list-view-leaf .block-editor-block-mover-button.is-up-button { 3137 margin-top: -6px; 3138 align-items: flex-end; 3139 } 3140 .block-editor-list-view-leaf .block-editor-block-mover-button.is-up-button svg { 3141 bottom: -4px; 3142 } 3143 .block-editor-list-view-leaf .block-editor-block-mover-button.is-down-button { 3144 margin-bottom: -6px; 3145 align-items: flex-start; 3146 } 3147 .block-editor-list-view-leaf .block-editor-block-mover-button.is-down-button svg { 3148 top: -4px; 3149 } 3150 .block-editor-list-view-leaf .block-editor-inserter__toggle { 3151 background: #1e1e1e; 3152 color: #fff; 3153 height: 24px; 3154 margin: 6px 1px 6px 6px; 3155 min-width: 24px; 3156 } 3157 .block-editor-list-view-leaf .block-editor-inserter__toggle:active { 3158 color: #fff; 3159 } 3160 .block-editor-list-view-leaf .block-editor-list-view-block-select-button__label-wrapper { 3161 width: 100%; 3162 } 3163 .block-editor-list-view-leaf .block-editor-list-view-block-select-button__label-wrapper > * { 3164 min-width: 0; 3165 } 3166 .block-editor-list-view-leaf .block-editor-list-view-block-select-button__label-wrapper svg { 3167 right: 2px; 3168 position: relative; 3169 } 3170 .block-editor-list-view-leaf .block-editor-list-view-block-select-button__title { 3171 flex: 1; 3172 position: relative; 3173 } 3174 .block-editor-list-view-leaf .block-editor-list-view-block-select-button__title .components-truncate { 3175 position: absolute; 3176 width: 100%; 3177 transform: translateY(-50%); 3178 } 3179 .block-editor-list-view-leaf .block-editor-list-view-block-select-button__anchor-wrapper { 3180 position: relative; 3181 max-width: min(110px, 40%); 3182 width: 100%; 3183 } 3184 .block-editor-list-view-leaf .block-editor-list-view-block-select-button__anchor { 3185 position: absolute; 3186 left: 0; 3187 transform: translateY(-50%); 3188 box-sizing: border-box; 3189 max-width: 100%; 3190 padding: 2px 8px; 3191 border-radius: 2px; 3192 background: #f0f0f0; 3193 color: #2f2f2f; 3194 font-size: 12px; 3195 line-height: 20px; 3196 overflow: hidden; 3197 text-overflow: ellipsis; 3198 white-space: nowrap; 3199 } 3200 .block-editor-list-view-leaf.is-selected .block-editor-list-view-block-select-button__anchor { 3201 background: rgba(0, 0, 0, 0.3); 3202 color: #fff; 3203 } 3204 .block-editor-list-view-leaf .block-editor-list-view-block-select-button__block-visibility, 3205 .block-editor-list-view-leaf .block-editor-list-view-block-select-button__lock, 3206 .block-editor-list-view-leaf .block-editor-list-view-block-select-button__sticky { 3207 line-height: 0; 3208 } 3209 .block-editor-list-view-leaf .block-editor-list-view-block-select-button__images { 3210 display: flex; 3211 } 3212 .block-editor-list-view-leaf .block-editor-list-view-block-select-button__image { 3213 background-size: cover; 3214 width: 18px; 3215 height: 18px; 3216 border-radius: 1px; 3217 } 3218 .block-editor-list-view-leaf .block-editor-list-view-block-select-button__image:not(:only-child) { 3219 box-shadow: 0 0 0 2px #fff; 3220 } 3221 .block-editor-list-view-leaf .block-editor-list-view-block-select-button__image:not(:first-child) { 3222 margin-right: -6px; 3223 } 3224 .block-editor-list-view-leaf.is-selected .block-editor-list-view-block-select-button__image:not(:only-child) { 3225 box-shadow: 0 0 0 2px var(--wp-admin-theme-color); 3226 } 3227 .block-editor-list-view-leaf.is-disabled { 3228 opacity: 0.2; 3229 } 3230 @media not (prefers-reduced-motion) { 3231 .block-editor-list-view-leaf.is-disabled { 3232 transition: opacity 0.1s linear; 3233 } 3234 } 3235 .block-editor-list-view-leaf.is-disabled:hover { 3236 opacity: 0.2; 3237 } 3238 .block-editor-list-view-leaf.is-disabled .block-editor-list-view__expander { 3239 cursor: default; 3240 } 3241 .block-editor-list-view-leaf.is-disabled .block-editor-list-view-block-select-button:hover { 3242 color: inherit; 3243 } 3244 3245 .block-editor-list-view-draggable-chip { 3246 opacity: 0.8; 3247 } 3248 3249 .block-editor-list-view-block__contents-cell .block-editor-list-view-block__contents-container, 3250 .block-editor-list-view-block__contents-cell .block-editor-list-view-appender__container, 3251 .block-editor-list-view-appender__cell .block-editor-list-view-block__contents-container, 3252 .block-editor-list-view-appender__cell .block-editor-list-view-appender__container { 3253 display: flex; 3254 } 3255 3256 .block-editor-list-view__expander { 3257 height: 24px; 3258 width: 24px; 3259 cursor: var(--wpds-cursor-control, pointer); 3260 } 3261 3262 .block-editor-list-view-leaf[aria-level] .block-editor-list-view__expander { 3263 margin-right: 192px; 3264 } 3265 3266 .block-editor-list-view-leaf[aria-level="1"] .block-editor-list-view__expander { 3267 margin-right: 0; 3268 } 3269 3270 .block-editor-list-view-leaf[aria-level="2"] .block-editor-list-view__expander { 3271 margin-right: 24px; 3272 } 3273 3274 .block-editor-list-view-leaf[aria-level="3"] .block-editor-list-view__expander { 3275 margin-right: 48px; 3276 } 3277 3278 .block-editor-list-view-leaf[aria-level="4"] .block-editor-list-view__expander { 3279 margin-right: 72px; 3280 } 3281 3282 .block-editor-list-view-leaf[aria-level="5"] .block-editor-list-view__expander { 3283 margin-right: 96px; 3284 } 3285 3286 .block-editor-list-view-leaf[aria-level="6"] .block-editor-list-view__expander { 3287 margin-right: 120px; 3288 } 3289 3290 .block-editor-list-view-leaf[aria-level="7"] .block-editor-list-view__expander { 3291 margin-right: 144px; 3292 } 3293 3294 .block-editor-list-view-leaf[aria-level="8"] .block-editor-list-view__expander { 3295 margin-right: 168px; 3296 } 3297 3298 .block-editor-list-view-leaf .block-editor-list-view__expander { 3299 visibility: hidden; 3300 } 3301 3302 .block-editor-list-view-leaf[data-expanded=true] .block-editor-list-view__expander svg { 3303 visibility: visible; 3304 } 3305 @media not (prefers-reduced-motion) { 3306 .block-editor-list-view-leaf[data-expanded=true] .block-editor-list-view__expander svg { 3307 transition: transform 0.2s ease; 3308 } 3309 } 3310 .block-editor-list-view-leaf[data-expanded=true] .block-editor-list-view__expander svg { 3311 transform: rotate(-90deg); 3312 } 3313 3314 .block-editor-list-view-leaf[data-expanded=false] .block-editor-list-view__expander svg { 3315 visibility: visible; 3316 transform: rotate(0deg); 3317 } 3318 @media not (prefers-reduced-motion) { 3319 .block-editor-list-view-leaf[data-expanded=false] .block-editor-list-view__expander svg { 3320 transition: transform 0.2s ease; 3321 } 3322 } 3323 3324 .block-editor-list-view-drop-indicator { 3325 pointer-events: none; 3326 } 3327 .block-editor-list-view-drop-indicator .block-editor-list-view-drop-indicator__line { 3328 background: var(--wp-admin-theme-color); 3329 height: 4px; 3330 border-radius: 4px; 3331 } 3332 3333 .block-editor-list-view-drop-indicator--preview { 3334 pointer-events: none; 3335 } 3336 .block-editor-list-view-drop-indicator--preview .components-popover__content { 3337 overflow: hidden !important; 3338 } 3339 .block-editor-list-view-drop-indicator--preview .block-editor-list-view-drop-indicator__line { 3340 background: rgba(var(--wp-admin-theme-color--rgb), 0.04); 3341 height: 32px; 3342 border-radius: 4px; 3343 overflow: hidden; 3344 } 3345 .block-editor-list-view-drop-indicator--preview .block-editor-list-view-drop-indicator__line--darker { 3346 background: rgba(var(--wp-admin-theme-color--rgb), 0.09); 3347 } 3348 3349 .block-editor-list-view-placeholder { 3350 padding: 0; 3351 margin: 0; 3352 height: 32px; 3353 } 3354 3355 .list-view-appender .block-editor-inserter__toggle { 3356 background-color: #1e1e1e; 3357 color: #fff; 3358 margin: 8px 24px 0 0; 3359 height: 24px; 3360 padding: 0; 3361 } 3362 .list-view-appender .block-editor-inserter__toggle.has-icon.is-next-40px-default-size { 3363 min-width: 24px; 3364 } 3365 .list-view-appender .block-editor-inserter__toggle:hover, .list-view-appender .block-editor-inserter__toggle:focus { 3366 background: var(--wp-admin-theme-color); 3367 color: #fff; 3368 } 3369 3370 .list-view-appender__description { 3371 display: none; 3372 } 3373 3374 .block-editor-media-placeholder__url-input-form { 3375 min-width: 260px; 3376 } 3377 @media (min-width: 600px) { 3378 .block-editor-media-placeholder__url-input-form { 3379 width: 300px; 3380 } 3381 } 3382 .block-editor-media-placeholder__url-input-form input { 3383 direction: ltr; 3384 } 3385 3386 .modal-open .block-editor-media-replace-flow__options { 3387 z-index: 99999; 3388 } 3389 3390 .block-editor-media-replace-flow__indicator { 3391 margin-right: 4px; 3392 } 3393 3394 .block-editor-media-replace-flow__media-upload-menu:not(:empty) + .block-editor-media-flow__url-input { 3395 border-top: 1px solid #ddd; 3396 margin-top: 8px; 3397 padding-bottom: 8px; 3398 } 3399 3400 .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 { 3401 border-top-color: #1e1e1e; 3402 } 3403 3404 .block-editor-media-flow__url-input { 3405 margin-left: -8px; 3406 margin-right: -8px; 3407 padding: 16px; 3408 } 3409 .block-editor-media-flow__url-input .block-editor-media-replace-flow__image-url-label { 3410 display: block; 3411 top: 16px; 3412 margin-bottom: 8px; 3413 } 3414 .block-editor-media-flow__url-input .block-editor-link-control { 3415 width: 300px; 3416 } 3417 .block-editor-media-flow__url-input .block-editor-link-control .block-editor-url-input { 3418 padding: 0; 3419 margin: 0; 3420 } 3421 .block-editor-media-flow__url-input .block-editor-link-control .block-editor-link-control__tools { 3422 justify-content: flex-end; 3423 padding: 16px var(--wp-admin-border-width-focus) var(--wp-admin-border-width-focus); 3424 } 3425 .block-editor-media-flow__url-input .block-editor-link-control .block-editor-link-control__preview.is-current { 3426 width: auto; 3427 padding: 0; 3428 } 3429 .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] { 3430 margin: 0; 3431 width: 100%; 3432 } 3433 .block-editor-media-flow__url-input .block-editor-link-control .block-editor-link-control__search-actions { 3434 padding: 8px 0 0; 3435 } 3436 3437 .block-editor-multi-selection-inspector__card { 3438 padding: 16px; 3439 } 3440 3441 .block-editor-multi-selection-inspector__card-title { 3442 font-weight: var(--wpds-typography-font-weight-emphasis, 600); 3443 } 3444 3445 .block-editor-multi-selection-inspector__card-description { 3446 color: #757575; 3447 } 3448 3449 .block-editor-multi-selection-inspector__card .block-editor-block-icon { 3450 margin-right: -2px; 3451 padding: 0 3px; 3452 width: 36px; 3453 height: 24px; 3454 } 3455 3456 .block-editor-plain-text { 3457 width: 100%; 3458 field-sizing: content; 3459 } 3460 3461 .block-editor-responsive-block-control { 3462 margin-bottom: 28px; 3463 border-bottom: 1px solid #ccc; 3464 padding-bottom: 14px; 3465 } 3466 .block-editor-responsive-block-control:last-child { 3467 padding-bottom: 0; 3468 border-bottom: 0; 3469 } 3470 3471 .block-editor-responsive-block-control__title { 3472 margin: 0; 3473 margin-bottom: 0.6em; 3474 margin-right: -3px; 3475 } 3476 3477 .block-editor-responsive-block-control__label { 3478 font-weight: var(--wpds-typography-font-weight-emphasis, 600); 3479 margin-bottom: 0.6em; 3480 margin-right: -3px; 3481 } 3482 3483 .block-editor-responsive-block-control__inner { 3484 margin-right: -1px; 3485 } 3486 3487 .block-editor-responsive-block-control__toggle { 3488 margin-right: 1px; 3489 } 3490 3491 .block-editor-responsive-block-control .components-base-control__help { 3492 border: 0; 3493 clip-path: inset(50%); 3494 height: 1px; 3495 margin: -1px; 3496 overflow: hidden; 3497 padding: 0; 3498 position: absolute; 3499 width: 1px; 3500 overflow-wrap: normal !important; 3501 word-break: normal !important; 3502 } 3503 3504 .preset-input-control__wrapper > * { 3505 flex: 1; 3506 } 3507 .preset-input-control__wrapper > .preset-input-control__icon, 3508 .preset-input-control__wrapper > .preset-input-control__custom-toggle { 3509 flex: none; 3510 } 3511 3512 .components-popover.block-editor-rich-text__inline-format-toolbar { 3513 z-index: 99998; 3514 } 3515 .components-popover.block-editor-rich-text__inline-format-toolbar .components-popover__content { 3516 width: auto; 3517 min-width: auto; 3518 margin-bottom: 8px; 3519 box-shadow: none; 3520 outline: none; 3521 border-radius: 2px; 3522 } 3523 .components-popover.block-editor-rich-text__inline-format-toolbar .components-toolbar { 3524 border-radius: 2px; 3525 } 3526 .components-popover.block-editor-rich-text__inline-format-toolbar .components-toolbar-group { 3527 background: none; 3528 } 3529 .components-popover.block-editor-rich-text__inline-format-toolbar .components-toolbar__control, 3530 .components-popover.block-editor-rich-text__inline-format-toolbar .components-dropdown-menu__toggle { 3531 min-width: 48px; 3532 min-height: 48px; 3533 padding-right: 12px; 3534 padding-left: 12px; 3535 } 3536 3537 .block-editor-rich-text__inline-format-toolbar-group .components-dropdown-menu__toggle { 3538 justify-content: center; 3539 } 3540 3541 .show-icon-labels .block-editor-rich-text__inline-format-toolbar-group .components-button.has-icon { 3542 width: auto; 3543 } 3544 .show-icon-labels .block-editor-rich-text__inline-format-toolbar-group .components-button.has-icon svg { 3545 display: none; 3546 } 3547 .show-icon-labels .block-editor-rich-text__inline-format-toolbar-group .components-button.has-icon::after { 3548 content: attr(aria-label); 3549 } 3550 3551 .block-editor-skip-to-selected-block { 3552 position: absolute; 3553 top: -9999em; 3554 } 3555 .block-editor-skip-to-selected-block:focus { 3556 font-size: 14px; 3557 font-weight: var(--wpds-typography-font-weight-emphasis, 600); 3558 background: #f1f1f1; 3559 z-index: 100000; 3560 } 3561 3562 .block-editor-tabbed-sidebar { 3563 background-color: #fff; 3564 height: 100%; 3565 display: flex; 3566 flex-direction: column; 3567 flex-grow: 1; 3568 overflow: hidden; 3569 } 3570 3571 .block-editor-tabbed-sidebar__tablist-and-close-button { 3572 border-bottom: 1px solid #ddd; 3573 display: flex; 3574 justify-content: space-between; 3575 padding-left: 8px; 3576 } 3577 3578 .block-editor-tabbed-sidebar__close-button { 3579 background: #fff; 3580 /* stylelint-disable-next-line property-disallowed-list -- This should be removed when https://github.com/WordPress/gutenberg/issues/59013 is fixed. */ 3581 order: 1; 3582 align-self: center; 3583 } 3584 3585 .block-editor-tabbed-sidebar__tablist { 3586 margin-bottom: -1px; 3587 } 3588 3589 .block-editor-tabbed-sidebar__tabpanel { 3590 display: flex; 3591 flex-grow: 1; 3592 flex-direction: column; 3593 overflow-y: auto; 3594 scrollbar-gutter: auto; 3595 } 3596 3597 .block-editor-block-list__block .block-editor-url-input, 3598 .components-popover .block-editor-url-input, 3599 .block-editor-url-input { 3600 flex-grow: 1; 3601 position: relative; 3602 padding: 1px; 3603 } 3604 @media (min-width: 600px) { 3605 .block-editor-block-list__block .block-editor-url-input, 3606 .components-popover .block-editor-url-input, 3607 .block-editor-url-input { 3608 min-width: 300px; 3609 width: auto; 3610 } 3611 } 3612 .block-editor-block-list__block .block-editor-url-input.is-full-width, 3613 .components-popover .block-editor-url-input.is-full-width, 3614 .block-editor-url-input.is-full-width { 3615 width: 100%; 3616 } 3617 .block-editor-block-list__block .block-editor-url-input.is-full-width__suggestions, 3618 .components-popover .block-editor-url-input.is-full-width__suggestions, 3619 .block-editor-url-input.is-full-width__suggestions { 3620 width: 100%; 3621 } 3622 .block-editor-block-list__block .block-editor-url-input .components-spinner, 3623 .components-popover .block-editor-url-input .components-spinner, 3624 .block-editor-url-input .components-spinner { 3625 position: absolute; 3626 margin: 0; 3627 top: calc(50% - 16px / 2); 3628 left: 8px; 3629 } 3630 3631 .block-editor-url-input__suggestions { 3632 max-height: 200px; 3633 } 3634 @media not (prefers-reduced-motion) { 3635 .block-editor-url-input__suggestions { 3636 transition: all 0.15s ease-in-out; 3637 } 3638 } 3639 .block-editor-url-input__suggestions { 3640 padding: 4px 0; 3641 width: 302px; 3642 overflow-y: auto; 3643 } 3644 3645 .block-editor-url-input__suggestions, 3646 .block-editor-url-input .components-spinner { 3647 display: none; 3648 } 3649 @media (min-width: 600px) { 3650 .block-editor-url-input__suggestions, 3651 .block-editor-url-input .components-spinner { 3652 display: grid; 3653 } 3654 } 3655 3656 .block-editor-url-input__suggestion.components-button { 3657 min-height: 36px; 3658 height: auto; 3659 color: var(--wpds-color-foreground-interactive-neutral, #1e1e1e); 3660 display: block; 3661 font-size: 13px; 3662 cursor: var(--wpds-cursor-control, pointer); 3663 width: 100%; 3664 border: none; 3665 text-align: right; 3666 box-shadow: none; 3667 } 3668 .block-editor-url-input__suggestion.components-button:is(:focus, .is-selected):not(:disabled, [aria-disabled=true]) { 3669 background: var(--wpds-color-background-interactive-brand-strong-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 93%, black)); 3670 color: var(--wpds-color-foreground-interactive-brand-strong-active, #fff); 3671 outline: none; 3672 } 3673 @media (forced-colors: active) { 3674 .block-editor-url-input__suggestion.components-button:is(:focus, .is-selected):not(:disabled, [aria-disabled=true]) { 3675 forced-color-adjust: none; 3676 background: Highlight; 3677 color: HighlightText; 3678 } 3679 } 3680 3681 .components-toolbar-group > .block-editor-url-input__button, 3682 .components-toolbar > .block-editor-url-input__button { 3683 position: inherit; 3684 } 3685 3686 .block-editor-url-input__button .block-editor-url-input__back { 3687 margin-left: 4px; 3688 overflow: visible; 3689 } 3690 .block-editor-url-input__button .block-editor-url-input__back::after { 3691 content: ""; 3692 position: absolute; 3693 display: block; 3694 width: 1px; 3695 height: 24px; 3696 left: -1px; 3697 background: #ddd; 3698 } 3699 3700 .block-editor-url-input__button-modal { 3701 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); 3702 border: 1px solid #ddd; 3703 background: #fff; 3704 } 3705 3706 .block-editor-url-input__button-modal-line { 3707 display: flex; 3708 flex-direction: row; 3709 flex-grow: 1; 3710 flex-shrink: 1; 3711 min-width: 0; 3712 align-items: flex-start; 3713 } 3714 3715 .block-editor-url-popover__additional-controls { 3716 border-top: 1px solid #1e1e1e; 3717 padding: 8px 8px; 3718 } 3719 3720 .block-editor-url-popover__input-container { 3721 padding: 8px; 3722 } 3723 3724 .block-editor-url-popover__row { 3725 display: flex; 3726 gap: 4px; 3727 align-items: center; 3728 } 3729 3730 .block-editor-url-popover__row > :not(.block-editor-url-popover__settings-toggle) { 3731 flex-grow: 1; 3732 gap: 8px; 3733 } 3734 3735 .block-editor-url-popover__additional-controls .components-button.has-icon { 3736 padding-right: 8px; 3737 padding-left: 8px; 3738 height: auto; 3739 text-align: right; 3740 } 3741 .block-editor-url-popover__additional-controls .components-button.has-icon > svg { 3742 margin-left: 8px; 3743 } 3744 3745 .block-editor-url-popover__settings-toggle { 3746 flex-shrink: 0; 3747 } 3748 .block-editor-url-popover__settings-toggle[aria-expanded=true] .dashicon { 3749 transform: rotate(-180deg); 3750 } 3751 3752 .block-editor-url-popover__settings { 3753 display: block; 3754 padding: 16px; 3755 border-top: 1px solid #1e1e1e; 3756 } 3757 3758 .block-editor-url-popover__link-container-content { 3759 display: flex; 3760 align-items: center; 3761 } 3762 3763 .block-editor-url-popover__link-editor, 3764 .block-editor-url-popover__link-viewer { 3765 display: flex; 3766 } 3767 3768 .block-editor-url-popover__link-viewer-url { 3769 display: flex; 3770 align-items: center; 3771 flex-grow: 1; 3772 flex-shrink: 1; 3773 overflow: hidden; 3774 text-overflow: ellipsis; 3775 white-space: nowrap; 3776 margin-left: 8px; 3777 min-width: 150px; 3778 max-width: 350px; 3779 } 3780 .block-editor-url-popover__link-viewer-url.has-invalid-link { 3781 color: #cc1818; 3782 } 3783 3784 .block-editor-url-popover__expand-on-click { 3785 display: flex; 3786 align-items: center; 3787 min-width: 350px; 3788 white-space: nowrap; 3789 } 3790 .block-editor-url-popover__expand-on-click .text { 3791 flex-grow: 1; 3792 } 3793 .block-editor-url-popover__expand-on-click .text p { 3794 margin: 0; 3795 line-height: 16px; 3796 } 3797 .block-editor-url-popover__expand-on-click .text p.description { 3798 color: #757575; 3799 font-size: 12px; 3800 } 3801 3802 .background-block-support-panel { 3803 /* Increased specificity required to remove the slot wrapper's row gap */ 3804 } 3805 .background-block-support-panel.background-block-support-panel .background-block-support-panel__inner-wrapper { 3806 row-gap: 0; 3807 } 3808 .background-block-support-panel.background-block-support-panel .block-editor-background-panel__clip-item:not(.first) { 3809 margin-top: 16px; 3810 } 3811 .background-block-support-panel.background-block-support-panel .block-editor-background-panel__clips-to-text-notice { 3812 grid-column: 1/-1; 3813 margin-top: 16px; 3814 } 3815 3816 .block-editor-hooks__block-hooks { 3817 /** 3818 * Un-reverse the flex direction for the toggle's label. 3819 */ 3820 } 3821 .block-editor-hooks__block-hooks .components-toggle-control .components-h-stack .components-h-stack { 3822 flex-direction: row; 3823 } 3824 .block-editor-hooks__block-hooks .block-editor-hooks__block-hooks-helptext { 3825 color: #757575; 3826 font-size: 12px; 3827 margin-bottom: 16px; 3828 } 3829 3830 div.block-editor-bindings__panel { 3831 grid-template-columns: repeat(auto-fit, minmax(100%, 1fr)); 3832 } 3833 div.block-editor-bindings__panel button:hover .block-editor-bindings__item span { 3834 color: inherit; 3835 } 3836 3837 .border-block-support-panel .single-column { 3838 grid-column: span 1; 3839 } 3840 3841 .color-block-support-panel .block-editor-contrast-checker { 3842 grid-column: span 2; 3843 margin-top: 16px; 3844 } 3845 .color-block-support-panel { 3846 /* Increased specificity required to remove the slot wrapper's row gap */ 3847 } 3848 .color-block-support-panel.color-block-support-panel .color-block-support-panel__inner-wrapper { 3849 row-gap: 0; 3850 } 3851 3852 .elements-block-support-panel { 3853 /* Increased specificity required to remove the slot wrapper's row gap */ 3854 } 3855 .elements-block-support-panel.elements-block-support-panel .elements-block-support-panel__inner-wrapper { 3856 row-gap: 0; 3857 } 3858 3859 .dimensions-block-support-panel .single-column { 3860 grid-column: span 1; 3861 } 3862 3863 .block-editor-hooks__layout-constrained .components-base-control { 3864 margin-bottom: 0; 3865 } 3866 3867 .block-editor-hooks__layout-constrained-helptext { 3868 color: #757575; 3869 font-size: 12px; 3870 margin-bottom: 0; 3871 } 3872 3873 .layout-block-support-panel .block-editor-hooks__flex-layout-controls { 3874 grid-column: 1/-1; 3875 } 3876 3877 .block-editor-hooks__flex-layout-justification-controls, 3878 .block-editor-hooks__flex-layout-orientation-controls { 3879 margin-bottom: 12px; 3880 } 3881 .block-editor-hooks__flex-layout-justification-controls legend, 3882 .block-editor-hooks__flex-layout-orientation-controls legend { 3883 margin-bottom: 8px; 3884 } 3885 3886 .block-editor-hooks__grid-layout-columns-and-rows-controls, 3887 .block-editor-hooks__grid-layout-minimum-width-control { 3888 border: 0; 3889 padding: 0; 3890 margin: 0; 3891 } 3892 3893 .block-editor__spacing-visualizer { 3894 position: absolute; 3895 top: 0; 3896 bottom: 0; 3897 right: 0; 3898 left: 0; 3899 opacity: 0.5; 3900 border-color: var(--wp-admin-theme-color); 3901 border-style: solid; 3902 pointer-events: none; 3903 box-sizing: border-box; 3904 } 3905 3906 .typography-block-support-panel .single-column { 3907 grid-column: span 1; 3908 } 3909 3910 .typography-block-support-panel .block-editor-color-gradient-item + .block-editor-color-gradient-item, 3911 .block-editor-typography-panel--flush-color-items .block-editor-color-gradient-item + .block-editor-color-gradient-item { 3912 margin-top: -16px; 3913 } 3914 .typography-block-support-panel .block-editor-typography-panel__text-gradient-notice, 3915 .block-editor-typography-panel--flush-color-items .block-editor-typography-panel__text-gradient-notice { 3916 grid-column: 1/-1; 3917 } 3918 3919 /** 3920 * Block Toolbar 3921 */ 3922 .block-editor-block-toolbar { 3923 display: flex; 3924 flex-grow: 1; 3925 width: 100%; 3926 position: relative; 3927 overflow-y: hidden; 3928 overflow-x: auto; 3929 } 3930 @media not (prefers-reduced-motion) { 3931 .block-editor-block-toolbar { 3932 transition: border-color 0.1s linear, box-shadow 0.1s linear; 3933 } 3934 } 3935 @media (min-width: 600px) { 3936 .block-editor-block-toolbar { 3937 overflow: inherit; 3938 } 3939 } 3940 .block-editor-block-toolbar .components-toolbar-group, 3941 .block-editor-block-toolbar .components-toolbar { 3942 background: none; 3943 margin-top: -1px; 3944 margin-bottom: -1px; 3945 border: 0; 3946 border-left: 1px solid #ddd; 3947 } 3948 .block-editor-block-toolbar.is-connected .block-editor-block-switcher .components-button::before { 3949 background: color-mix(in srgb, var(--wp-block-synced-color) 10%, transparent); 3950 border-radius: 2px; 3951 } 3952 .block-editor-block-toolbar .components-button.block-editor-block-toolbar__block-icon-button[aria-disabled=true] { 3953 color: #1e1e1e; 3954 } 3955 .block-editor-block-toolbar .components-button.block-editor-block-toolbar__block-icon-button[aria-disabled=true]:hover { 3956 color: #1e1e1e; 3957 } 3958 .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 { 3959 color: #949494; 3960 } 3961 .block-editor-block-toolbar.is-synced .block-editor-block-toolbar__block-icon, .block-editor-block-toolbar.is-connected .block-editor-block-toolbar__block-icon { 3962 color: var(--wp-block-synced-color); 3963 } 3964 .block-editor-block-toolbar > :last-child, 3965 .block-editor-block-toolbar > :last-child .components-toolbar-group, 3966 .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 { 3967 border-left: none; 3968 } 3969 .block-editor-block-toolbar .components-toolbar-group:empty { 3970 display: none; 3971 } 3972 3973 .block-editor-block-contextual-toolbar { 3974 position: sticky; 3975 top: 0; 3976 z-index: 31; 3977 display: block; 3978 width: 100%; 3979 background-color: #fff; 3980 flex-shrink: 3; 3981 } 3982 .block-editor-block-contextual-toolbar.components-accessible-toolbar { 3983 border: none; 3984 border-radius: 0; 3985 } 3986 .block-editor-block-contextual-toolbar.is-unstyled { 3987 box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.133); 3988 } 3989 .block-editor-block-contextual-toolbar .block-editor-block-toolbar { 3990 overflow: auto; 3991 overflow-y: hidden; 3992 } 3993 .block-editor-block-contextual-toolbar .block-editor-block-toolbar::-webkit-scrollbar { 3994 width: 12px; 3995 height: 12px; 3996 } 3997 .block-editor-block-contextual-toolbar .block-editor-block-toolbar::-webkit-scrollbar-track { 3998 background-color: transparent; 3999 } 4000 .block-editor-block-contextual-toolbar .block-editor-block-toolbar::-webkit-scrollbar-thumb { 4001 background-color: #e0e0e0; 4002 border-radius: 8px; 4003 border: 3px solid transparent; 4004 background-clip: padding-box; 4005 } 4006 .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 { 4007 background-color: #949494; 4008 } 4009 .block-editor-block-contextual-toolbar .block-editor-block-toolbar { 4010 scrollbar-width: thin; 4011 scrollbar-gutter: stable both-edges; 4012 scrollbar-color: #e0e0e0 transparent; 4013 } 4014 .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 { 4015 scrollbar-color: #949494 transparent; 4016 } 4017 .block-editor-block-contextual-toolbar .block-editor-block-toolbar { 4018 will-change: transform; 4019 } 4020 @media (hover: none) { 4021 .block-editor-block-contextual-toolbar .block-editor-block-toolbar { 4022 scrollbar-color: #949494 transparent; 4023 } 4024 } 4025 .block-editor-block-contextual-toolbar .block-editor-block-toolbar { 4026 scrollbar-gutter: auto; 4027 } 4028 .block-editor-block-contextual-toolbar .block-editor-block-toolbar > :last-child::after, 4029 .block-editor-block-contextual-toolbar .block-editor-block-toolbar > :last-child .components-toolbar-group::after, 4030 .block-editor-block-contextual-toolbar .block-editor-block-toolbar > :last-child .components-toolbar::after { 4031 display: none; 4032 } 4033 .block-editor-block-contextual-toolbar > .block-editor-block-toolbar { 4034 flex-grow: initial; 4035 width: initial; 4036 } 4037 .block-editor-block-contextual-toolbar .block-editor-block-parent-selector { 4038 position: relative; 4039 margin-top: -1px; 4040 margin-bottom: -1px; 4041 } 4042 .block-editor-block-contextual-toolbar .block-editor-block-parent-selector::after { 4043 align-items: center; 4044 background-color: #1e1e1e; 4045 border-radius: 100%; 4046 content: ""; 4047 display: inline-flex; 4048 height: 2px; 4049 position: absolute; 4050 top: 15px; 4051 width: 2px; 4052 } 4053 4054 .block-editor-block-toolbar__block-controls .components-toolbar-group { 4055 padding: 0; 4056 } 4057 4058 .block-editor-block-toolbar__pattern-overrides-popover .components-popover__content { 4059 min-width: 260px; 4060 padding: 16px; 4061 } 4062 4063 .block-editor-block-toolbar .components-toolbar-group, 4064 .block-editor-block-toolbar .components-toolbar, 4065 .block-editor-rich-text__inline-format-toolbar-group .components-toolbar-group, 4066 .block-editor-rich-text__inline-format-toolbar-group .components-toolbar { 4067 display: flex; 4068 flex-wrap: nowrap; 4069 } 4070 4071 .block-editor-block-toolbar__slot { 4072 display: inline-flex; 4073 } 4074 4075 .show-icon-labels .block-editor-block-contextual-toolbar:not(.editor-header__toolbar *) { 4076 background-color: transparent; 4077 border: none; 4078 } 4079 .show-icon-labels .block-editor-block-contextual-toolbar:not(.editor-header__toolbar *) .block-editor-block-toolbar { 4080 flex-wrap: wrap; 4081 overflow: visible; 4082 max-width: 100%; 4083 } 4084 .show-icon-labels .block-editor-block-contextual-toolbar:not(.editor-header__toolbar *) .block-editor-block-toolbar .block-editor-block-toolbar__slot { 4085 flex-wrap: wrap; 4086 } 4087 .show-icon-labels .block-editor-block-contextual-toolbar:not(.editor-header__toolbar *) .block-editor-block-toolbar .components-toolbar-group { 4088 background-color: #fff; 4089 } 4090 .show-icon-labels .block-editor-block-contextual-toolbar:not(.editor-header__toolbar *) .block-editor-block-toolbar .components-toolbar-group, 4091 .show-icon-labels .block-editor-block-contextual-toolbar:not(.editor-header__toolbar *) .block-editor-block-toolbar .components-toolbar, 4092 .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)) { 4093 border: 1px solid #1e1e1e; 4094 margin: 0 0 -1px -1px; 4095 padding: 0; 4096 } 4097 .show-icon-labels .block-editor-block-contextual-toolbar:not(.editor-header__toolbar *) .block-editor-block-toolbar .components-toolbar-group .components-toolbar-group, 4098 .show-icon-labels .block-editor-block-contextual-toolbar:not(.editor-header__toolbar *) .block-editor-block-toolbar .components-toolbar .components-toolbar-group, 4099 .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 { 4100 border: none; 4101 margin: 0; 4102 } 4103 .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, 4104 .show-icon-labels .block-editor-block-contextual-toolbar:not(.editor-header__toolbar *) .block-editor-block-toolbar .components-toolbar .components-toolbar-group + .components-toolbar-group, 4105 .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 { 4106 border-right: 1px solid #1e1e1e; 4107 } 4108 .show-icon-labels .block-editor-block-contextual-toolbar:not(.editor-header__toolbar *) .block-editor-block-toolbar .block-editor-block-parent-selector, 4109 .show-icon-labels .block-editor-block-contextual-toolbar:not(.editor-header__toolbar *) .block-editor-block-toolbar .block-editor-block-parent-selector__button { 4110 border: none; 4111 margin: 0; 4112 } 4113 .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, 4114 .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 { 4115 border-left: 1px solid #1e1e1e; 4116 } 4117 .show-icon-labels .block-editor-block-toolbar .components-button.has-icon:where(:not(.has-text)) { 4118 width: auto; 4119 } 4120 .show-icon-labels .block-editor-block-toolbar .components-button.has-icon:where(:not(.has-text)) svg { 4121 display: none; 4122 } 4123 .show-icon-labels .block-editor-block-toolbar .components-button.has-icon:where(:not(.has-text))::after { 4124 content: attr(aria-label); 4125 font-size: 12px; 4126 } 4127 .show-icon-labels .block-editor-block-toolbar .block-editor-block-icon { 4128 width: 0 !important; 4129 height: 0 !important; 4130 min-width: 0 !important; 4131 } 4132 .show-icon-labels .components-accessible-toolbar .components-toolbar-group > div:first-child:last-child > .components-button.has-icon { 4133 padding-right: 6px; 4134 padding-left: 6px; 4135 } 4136 .show-icon-labels .block-editor-block-parent-selector .block-editor-block-parent-selector__button { 4137 border-top-left-radius: 0; 4138 border-bottom-left-radius: 0; 4139 padding-right: 12px; 4140 padding-left: 12px; 4141 text-wrap: nowrap; 4142 } 4143 .show-icon-labels .block-editor-block-parent-selector .block-editor-block-parent-selector__button .block-editor-block-icon { 4144 width: 0; 4145 } 4146 .show-icon-labels .block-editor-block-mover .block-editor-block-mover__move-button-container { 4147 width: auto; 4148 position: relative; 4149 } 4150 @media (min-width: 600px) { 4151 .show-icon-labels .block-editor-block-mover:not(.is-horizontal) .block-editor-block-mover__move-button-container::before { 4152 content: ""; 4153 height: 1px; 4154 width: 100%; 4155 background: #e0e0e0; 4156 position: absolute; 4157 top: 50%; 4158 right: 50%; 4159 transform: translate(50%, 0); 4160 margin-top: -0.5px; 4161 } 4162 } 4163 @media (min-width: 782px) { 4164 .show-icon-labels .block-editor-block-mover:not(.is-horizontal) .block-editor-block-mover__move-button-container::before { 4165 background: #1e1e1e; 4166 } 4167 } 4168 .show-icon-labels .block-editor-block-mover.is-horizontal .block-editor-block-mover__move-button-container, 4169 .show-icon-labels .block-editor-block-mover.is-horizontal .block-editor-block-mover-button { 4170 padding-right: 6px; 4171 padding-left: 6px; 4172 } 4173 .show-icon-labels .block-editor-block-mover:not(.is-horizontal) .block-editor-block-mover-button { 4174 padding-right: 8px; 4175 padding-left: 8px; 4176 } 4177 .show-icon-labels .block-editor-block-toolbar__block-controls .block-editor-block-mover { 4178 border-right: 1px solid #ddd; 4179 margin-right: 6px; 4180 margin-left: -6px; 4181 white-space: nowrap; 4182 } 4183 .show-icon-labels .block-editor-block-mover .block-editor-block-mover__drag-handle.has-icon { 4184 padding-right: 12px; 4185 padding-left: 12px; 4186 } 4187 .show-icon-labels .block-editor-block-contextual-toolbar .block-editor-block-mover.is-horizontal .block-editor-block-mover-button.block-editor-block-mover-button { 4188 width: auto; 4189 } 4190 .show-icon-labels .components-toolbar, 4191 .show-icon-labels .components-toolbar-group { 4192 flex-shrink: 1; 4193 } 4194 .show-icon-labels .block-editor-rich-text__inline-format-toolbar-group .components-button + .components-button { 4195 margin-right: 6px; 4196 } 4197 4198 .block-editor-block-toolbar-change-design-content-wrapper { 4199 padding: 12px; 4200 width: 320px; 4201 } 4202 .block-editor-block-toolbar-change-design-content-wrapper .block-editor-block-patterns-list { 4203 display: grid; 4204 grid-template-columns: 1fr 1fr; 4205 gap: 12px; 4206 } 4207 .block-editor-block-toolbar-change-design-content-wrapper .block-editor-block-patterns-list .block-editor-block-patterns-list__list-item { 4208 margin-bottom: 0; 4209 } 4210 4211 .block-editor-inserter__tip kbd { 4212 padding: 0 4px; 4213 border: 1px solid var(--wpds-color-stroke-surface-neutral-strong, #8d8d8d); 4214 border-radius: var(--wpds-border-radius-xs, 1px); 4215 font-family: var(--wpds-typography-font-family-mono, "Menlo", "Consolas", monaco, monospace); 4216 white-space: nowrap; 4217 } 4218 4219 .block-editor-inserter { 4220 display: inline-block; 4221 background: none; 4222 border: none; 4223 padding: 0; 4224 font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; 4225 font-size: 13px; 4226 line-height: 0; 4227 } 4228 @media (min-width: 782px) { 4229 .block-editor-inserter { 4230 position: relative; 4231 } 4232 } 4233 4234 .block-editor-inserter__main-area { 4235 height: 100%; 4236 gap: 16px; 4237 position: relative; 4238 } 4239 .block-editor-inserter__main-area.show-as-tabs { 4240 gap: 0; 4241 } 4242 @media (min-width: 782px) { 4243 .block-editor-inserter__main-area .block-editor-tabbed-sidebar { 4244 width: 350px; 4245 } 4246 } 4247 4248 .block-editor-inserter__popover.is-quick .components-popover__content { 4249 border: none; 4250 outline: none; 4251 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); 4252 } 4253 .block-editor-inserter__popover.is-quick .components-popover__content .block-editor-inserter__quick-inserter > * { 4254 border-right: 1px solid #ccc; 4255 border-left: 1px solid #ccc; 4256 } 4257 .block-editor-inserter__popover.is-quick .components-popover__content .block-editor-inserter__quick-inserter > *:first-child { 4258 border-top: 1px solid #ccc; 4259 border-radius: 4px 4px 0 0; 4260 } 4261 .block-editor-inserter__popover.is-quick .components-popover__content .block-editor-inserter__quick-inserter > *:last-child { 4262 border-bottom: 1px solid #ccc; 4263 border-radius: 0 0 4px 4px; 4264 } 4265 .block-editor-inserter__popover.is-quick .components-popover__content .block-editor-inserter__quick-inserter > *.components-button { 4266 border: 1px solid #1e1e1e; 4267 } 4268 4269 .block-editor-inserter__popover .block-editor-inserter__menu { 4270 margin: -12px; 4271 } 4272 .block-editor-inserter__popover .block-editor-inserter__menu .block-editor-inserter__tablist { 4273 top: 60px; 4274 } 4275 .block-editor-inserter__popover .block-editor-inserter__menu .block-editor-inserter__main-area { 4276 overflow: visible; 4277 height: auto; 4278 } 4279 .block-editor-inserter__popover .block-editor-inserter__menu .block-editor-inserter__preview-container { 4280 display: none; 4281 } 4282 4283 .block-editor-inserter__toggle.components-button { 4284 display: inline-flex; 4285 align-items: center; 4286 cursor: var(--wpds-cursor-control, pointer); 4287 border: none; 4288 padding: 0; 4289 } 4290 @media not (prefers-reduced-motion) { 4291 .block-editor-inserter__toggle.components-button { 4292 transition: color 0.2s ease; 4293 } 4294 } 4295 4296 .block-editor-inserter__menu { 4297 height: 100%; 4298 position: relative; 4299 overflow: visible; 4300 } 4301 @media (min-width: 782px) { 4302 .block-editor-inserter__menu.show-panel { 4303 width: 630px; 4304 } 4305 } 4306 4307 .block-editor-inserter__inline-elements { 4308 margin-top: -1px; 4309 } 4310 4311 .block-editor-inserter__menu.is-bottom::after { 4312 border-bottom-color: #fff; 4313 } 4314 4315 .components-popover.block-editor-inserter__popover { 4316 z-index: 99999; 4317 } 4318 4319 .block-editor-inserter__search { 4320 padding: 16px; 4321 position: sticky; 4322 top: 0; 4323 z-index: 2; 4324 background-color: #fff; 4325 border-bottom: 1px solid transparent; 4326 } 4327 @media not (prefers-reduced-motion) { 4328 .block-editor-inserter__search { 4329 transition: border-bottom-color 0.1s linear; 4330 } 4331 } 4332 .block-editor-inserter__search.is-scrolled { 4333 border-bottom-color: #e0e0e0; 4334 } 4335 4336 .block-editor-inserter__no-tab-container { 4337 overflow-y: auto; 4338 flex-grow: 1; 4339 position: relative; 4340 } 4341 4342 .block-editor-inserter__panel-header { 4343 position: relative; 4344 display: inline-flex; 4345 align-items: center; 4346 padding: 0 16px; 4347 } 4348 4349 .block-editor-inserter__panel-content { 4350 padding: 16px; 4351 } 4352 4353 .block-editor-inserter__panel-title, 4354 .block-editor-inserter__panel-title button { 4355 margin: 0 0 0 12px; 4356 color: #757575; 4357 text-transform: uppercase; 4358 font-size: 11px; 4359 font-weight: var(--wpds-typography-font-weight-emphasis, 600); 4360 } 4361 4362 .block-editor-inserter__panel-dropdown select.components-select-control__input.components-select-control__input.components-select-control__input { 4363 height: 36px; 4364 line-height: 36px; 4365 } 4366 4367 .block-editor-inserter__panel-dropdown select { 4368 border: none; 4369 } 4370 4371 .block-editor-inserter__reusable-blocks-panel { 4372 position: relative; 4373 text-align: left; 4374 } 4375 4376 .block-editor-inserter__no-results, 4377 .block-editor-inserter__patterns-loading { 4378 padding: 32px; 4379 text-align: center; 4380 } 4381 4382 .block-editor-inserter__child-blocks { 4383 padding: 0 16px; 4384 } 4385 4386 .block-editor-inserter__parent-block-header { 4387 display: flex; 4388 align-items: center; 4389 } 4390 .block-editor-inserter__parent-block-header h2 { 4391 font-size: 13px; 4392 } 4393 .block-editor-inserter__parent-block-header .block-editor-block-icon { 4394 margin-left: 8px; 4395 } 4396 4397 .block-editor-inserter__preview-container { 4398 display: none; 4399 width: 280px; 4400 padding: 16px; 4401 max-height: calc(100% - 32px); 4402 overflow-y: hidden; 4403 } 4404 @media (min-width: 782px) { 4405 .block-editor-inserter__preview-container { 4406 display: block; 4407 } 4408 } 4409 .block-editor-inserter__preview-container .block-editor-block-card { 4410 padding-right: 0; 4411 padding-left: 0; 4412 padding-bottom: 4px; 4413 } 4414 4415 .block-editor-inserter__insertable-blocks-at-selection:not(:empty) + .block-editor-inserter__all-blocks:not(:empty) { 4416 border-top: 1px solid #e0e0e0; 4417 } 4418 4419 .block-editor-inserter__block-patterns-tabs-container { 4420 flex-grow: 1; 4421 padding: 0 16px 16px; 4422 display: flex; 4423 flex-direction: column; 4424 justify-content: space-between; 4425 } 4426 4427 .block-editor-inserter__category-tablist { 4428 margin-bottom: 8px; 4429 } 4430 4431 .block-editor-inserter__category-panel { 4432 outline: 1px solid transparent; 4433 display: flex; 4434 flex-direction: column; 4435 padding: 0 16px; 4436 } 4437 @media (min-width: 782px) { 4438 .block-editor-inserter__category-panel { 4439 border-right: 1px solid #e0e0e0; 4440 padding: 0; 4441 right: 350px; 4442 width: 280px; 4443 position: absolute; 4444 top: -1px; 4445 height: calc(100% + 1px); 4446 background: #f0f0f0; 4447 border-top: 1px solid #e0e0e0; 4448 } 4449 .block-editor-inserter__category-panel .block-editor-block-patterns-list { 4450 padding: 0 24px 16px; 4451 } 4452 } 4453 4454 .block-editor-inserter__patterns-category-panel-header { 4455 padding: 8px 0; 4456 } 4457 @media (min-width: 782px) { 4458 .block-editor-inserter__patterns-category-panel-header { 4459 padding: 8px 24px; 4460 } 4461 } 4462 4463 .block-editor-inserter__patterns-category-no-results { 4464 margin-top: 24px; 4465 } 4466 4467 .block-editor-inserter__patterns-filter-help { 4468 padding: 16px; 4469 border-top: 1px solid #ddd; 4470 color: #757575; 4471 min-width: 280px; 4472 } 4473 4474 .block-editor-block-patterns-list { 4475 overflow-y: auto; 4476 flex-grow: 1; 4477 height: 100%; 4478 } 4479 4480 .block-editor-inserter__preview-content { 4481 background: #f0f0f0; 4482 display: grid; 4483 flex-grow: 1; 4484 align-items: center; 4485 } 4486 4487 .block-editor-inserter__preview-content-missing { 4488 flex: 1; 4489 display: flex; 4490 justify-content: center; 4491 align-items: center; 4492 min-height: 144px; 4493 color: #757575; 4494 background: #f0f0f0; 4495 border-radius: 2px; 4496 } 4497 4498 .block-editor-inserter__tips { 4499 border-top: 1px solid #ddd; 4500 padding: 16px; 4501 flex-shrink: 0; 4502 position: relative; 4503 } 4504 4505 .block-editor-inserter__quick-inserter { 4506 width: 100%; 4507 max-width: 100%; 4508 } 4509 @media (min-width: 782px) { 4510 .block-editor-inserter__quick-inserter { 4511 width: 350px; 4512 } 4513 } 4514 4515 .block-editor-inserter__quick-inserter-results .block-editor-inserter__panel-header { 4516 height: 0; 4517 padding: 0; 4518 float: right; 4519 } 4520 4521 .block-editor-inserter__quick-inserter.has-search .block-editor-inserter__panel-content, 4522 .block-editor-inserter__quick-inserter.has-expand .block-editor-inserter__panel-content { 4523 padding: 16px; 4524 } 4525 4526 .block-editor-inserter__quick-inserter-patterns .block-editor-block-patterns-list { 4527 display: grid; 4528 grid-template-columns: 1fr 1fr; 4529 gap: 8px; 4530 } 4531 .block-editor-inserter__quick-inserter-patterns .block-editor-block-patterns-list .block-editor-block-patterns-list__list-item { 4532 margin-bottom: 0; 4533 } 4534 4535 .block-editor-inserter__quick-inserter-separator { 4536 border-top: 1px solid #ddd; 4537 } 4538 4539 .block-editor-inserter__popover.is-quick > .components-popover__content { 4540 padding: 0; 4541 } 4542 4543 .block-editor-inserter__quick-inserter-expand { 4544 padding: 0 16px 16px; 4545 } 4546 4547 .block-editor-inserter__quick-inserter-expand-toggle { 4548 width: 100%; 4549 justify-content: center; 4550 } 4551 4552 .block-editor-block-patterns-explorer__sidebar { 4553 padding-bottom: 24px; 4554 } 4555 @media (min-width: 782px) { 4556 .block-editor-block-patterns-explorer__sidebar { 4557 position: absolute; 4558 top: 72px; 4559 right: 0; 4560 bottom: 0; 4561 width: 280px; 4562 padding: 24px; 4563 overflow-x: visible; 4564 overflow-y: auto; 4565 } 4566 } 4567 4568 @media (min-width: 782px) { 4569 .block-editor-block-patterns-explorer__panel { 4570 margin-inline-start: 280px; 4571 } 4572 } 4573 4574 .block-editor-block-patterns-explorer__no-results { 4575 padding: 32px; 4576 text-align: center; 4577 } 4578 4579 .block-editor-block-patterns-explorer__list { 4580 padding: 24px 0 32px; 4581 } 4582 .block-editor-block-patterns-explorer__list .block-editor-patterns__sync-status-filter .components-input-control__container { 4583 width: 380px; 4584 } 4585 4586 .block-editor-block-patterns-explorer .block-editor-block-patterns-list { 4587 display: grid; 4588 gap: 32px; 4589 grid-template-columns: repeat(1, 1fr); 4590 margin-bottom: 16px; 4591 } 4592 @media (min-width: 1080px) { 4593 .block-editor-block-patterns-explorer .block-editor-block-patterns-list { 4594 grid-template-columns: repeat(2, 1fr); 4595 } 4596 } 4597 @media (min-width: 1440px) { 4598 .block-editor-block-patterns-explorer .block-editor-block-patterns-list { 4599 grid-template-columns: repeat(3, 1fr); 4600 } 4601 } 4602 .block-editor-block-patterns-explorer .block-editor-block-patterns-list .block-editor-block-patterns-list__list-item { 4603 min-height: 240px; 4604 } 4605 4606 .components-heading.block-editor-inserter__patterns-category-panel-title { 4607 font-weight: var(--wpds-typography-font-weight-emphasis, 600); 4608 } 4609 4610 .block-editor-inserter__patterns-explore-button.components-button { 4611 padding: 16px; 4612 justify-content: center; 4613 margin-top: 16px; 4614 width: 100%; 4615 } 4616 4617 .block-editor-inserter__media-panel { 4618 display: flex; 4619 flex-direction: column; 4620 flex: 1 0 auto; 4621 min-height: 320px; 4622 } 4623 .block-editor-inserter__media-panel .dataviews-wrapper { 4624 background-color: transparent; 4625 } 4626 .block-editor-inserter__media-panel .block-editor-inserter__media-grid__search { 4627 flex-shrink: 0; 4628 padding: 16px; 4629 } 4630 .block-editor-inserter__media-panel .block-editor-inserter__media-grid__search:has(+ .block-editor-inserter__media-grid__tabs) { 4631 padding-bottom: 0; 4632 } 4633 .block-editor-inserter__media-panel .block-editor-inserter__media-grid__search .block-editor-inserter__media-grid__search-control { 4634 flex: 1; 4635 min-width: 0; 4636 } 4637 .block-editor-inserter__media-panel .block-editor-inserter__media-grid__tabs { 4638 display: flex; 4639 flex-direction: column; 4640 flex: 1; 4641 min-height: 0; 4642 } 4643 .block-editor-inserter__media-panel .block-editor-inserter__media-grid__tablist { 4644 flex-shrink: 0; 4645 padding: 0 16px; 4646 margin-bottom: 12px; 4647 } 4648 .block-editor-inserter__media-panel .block-editor-inserter__media-grid__tabs [role=tabpanel] { 4649 display: flex; 4650 flex-direction: column; 4651 flex: 1; 4652 min-height: 0; 4653 } 4654 .block-editor-inserter__media-panel .dataviews-view-grid { 4655 padding: 0 16px 16px; 4656 } 4657 .block-editor-inserter__media-panel .dataviews-no-results, 4658 .block-editor-inserter__media-panel .dataviews-loading { 4659 padding: 0 16px; 4660 } 4661 .block-editor-inserter__media-panel .block-editor-inserter__media-grid__loading { 4662 display: flex; 4663 align-items: center; 4664 justify-content: center; 4665 width: 100%; 4666 } 4667 .block-editor-inserter__media-panel .block-editor-inserter__media-grid__loading.is-replacing-results { 4668 min-height: 500px; 4669 } 4670 .block-editor-inserter__media-panel .block-editor-inserter__media-grid__footer { 4671 flex-shrink: 0; 4672 border-top: 1px solid #e0e0e0; 4673 padding: 16px; 4674 } 4675 .block-editor-inserter__media-panel .block-editor-inserter__media-grid__range { 4676 color: #757575; 4677 font-size: 12px; 4678 white-space: nowrap; 4679 } 4680 .block-editor-inserter__media-panel .block-editor-inserter__media-grid__preview { 4681 position: relative; 4682 width: 100%; 4683 height: 100%; 4684 } 4685 .block-editor-inserter__media-panel .block-editor-inserter__media-grid__preview img, 4686 .block-editor-inserter__media-panel .block-editor-inserter__media-grid__preview video { 4687 display: block; 4688 width: 100%; 4689 height: 100%; 4690 object-fit: contain; 4691 } 4692 .block-editor-inserter__media-panel .block-editor-inserter__media-grid__file-preview { 4693 box-sizing: border-box; 4694 width: 100%; 4695 height: 100%; 4696 padding: 0 16px; 4697 color: #757575; 4698 text-align: center; 4699 container-type: inline-size; 4700 } 4701 .block-editor-inserter__media-panel .block-editor-inserter__media-grid__file-preview__name { 4702 margin-top: 4px; 4703 max-width: 100%; 4704 overflow: hidden; 4705 text-overflow: ellipsis; 4706 white-space: nowrap; 4707 font-size: 12px; 4708 } 4709 @container (max-width: 90px) { 4710 .block-editor-inserter__media-panel .block-editor-inserter__media-grid__file-preview__name { 4711 display: none; 4712 } 4713 } 4714 .block-editor-inserter__media-panel .block-editor-inserter__media-grid__spinner { 4715 position: absolute; 4716 inset: 0; 4717 display: flex; 4718 align-items: center; 4719 justify-content: center; 4720 background-color: rgba(255, 255, 255, 0.6); 4721 } 4722 .block-editor-inserter__media-panel .block-editor-inserter__media-library-button.components-button { 4723 justify-content: center; 4724 padding: 16px; 4725 } 4726 4727 .block-editor-inserter__media-panel-detach-actions { 4728 display: flex; 4729 justify-content: flex-end; 4730 gap: 8px; 4731 margin-top: 16px; 4732 } 4733 4734 .block-editor-inserter__mobile-tab-navigation { 4735 padding: 16px; 4736 height: 100%; 4737 } 4738 .block-editor-inserter__mobile-tab-navigation > * { 4739 height: 100%; 4740 } 4741 4742 @media (min-width: 600px) { 4743 .block-editor-inserter-media-tab-media-preview-inserter-external-image-modal { 4744 max-width: 480px; 4745 } 4746 } 4747 .block-editor-inserter-media-tab-media-preview-inserter-external-image-modal p { 4748 margin: 0; 4749 } 4750 4751 .block-editor-inserter__hint { 4752 margin: 16px 16px 0; 4753 } 4754 4755 .block-editor-patterns__sync-status-filter .components-input-control__container select.components-select-control__input { 4756 height: 40px; 4757 } 4758 4759 .block-editor-inserter__pattern-panel-placeholder { 4760 display: none; 4761 } 4762 4763 .block-editor-inserter__menu.is-zoom-out { 4764 display: flex; 4765 } 4766 @media (min-width: 782px) { 4767 .block-editor-inserter__menu.is-zoom-out.show-panel::after { 4768 content: ""; 4769 display: block; 4770 width: 300px; 4771 height: 100%; 4772 } 4773 } 4774 4775 @media (max-width: 959px) { 4776 .show-icon-labels .block-editor-block-patterns-explorer .block-editor-patterns__grid-pagination { 4777 flex-direction: column; 4778 } 4779 .show-icon-labels .block-editor-block-patterns-explorer .block-editor-patterns__grid-pagination .block-editor-patterns__grid-pagination-previous, 4780 .show-icon-labels .block-editor-block-patterns-explorer .block-editor-patterns__grid-pagination .block-editor-patterns__grid-pagination-next { 4781 flex-direction: column; 4782 } 4783 } 4784 .show-icon-labels .block-editor-inserter__category-panel .block-editor-patterns__grid-pagination { 4785 flex-direction: column; 4786 } 4787 .show-icon-labels .block-editor-inserter__category-panel .block-editor-patterns__grid-pagination .block-editor-patterns__grid-pagination-previous, 4788 .show-icon-labels .block-editor-inserter__category-panel .block-editor-patterns__grid-pagination .block-editor-patterns__grid-pagination-next { 4789 flex-direction: column; 4790 } 4791 4792 .block-editor-tabbed-sidebar__tabpanel .block-editor-inserter__help-text { 4793 display: none; 4794 padding: 0 24px 16px; 4795 } 4796 @media (min-width: 480px) { 4797 .block-editor-tabbed-sidebar__tabpanel .block-editor-inserter__help-text { 4798 display: block; 4799 } 4800 } 4801 4802 .spacing-sizes-control { 4803 border: 0; 4804 padding: 0; 4805 margin: 0; 4806 } 4807 .spacing-sizes-control .spacing-sizes-control__unit-control, 4808 .spacing-sizes-control .spacing-sizes-control__label { 4809 margin-bottom: 0; 4810 } 4811 .spacing-sizes-control .spacing-sizes-control__preset-range, 4812 .spacing-sizes-control .spacing-sizes-control__custom-value-range { 4813 flex: 1; 4814 margin-bottom: 0; 4815 } 4816 4817 .spacing-sizes-control__header { 4818 height: 16px; 4819 margin-bottom: 12px; 4820 } 4821 4822 .spacing-sizes-control__wrapper { 4823 align-items: center; 4824 } 4825 4826 .spacing-sizes-control__dropdown { 4827 height: 24px; 4828 } 4829 4830 .spacing-sizes-control__wrapper .preset-input-control__icon { 4831 margin-right: -4px; 4832 } 4833 4834 .block-editor-block-visibility-modal { 4835 z-index: 1000001; 4836 } 4837 .block-editor-block-visibility-modal__options { 4838 border: 0; 4839 padding: 0; 4840 list-style: none; 4841 margin: 24px 0; 4842 } 4843 .block-editor-block-visibility-modal__options-item { 4844 display: flex; 4845 align-items: center; 4846 justify-content: space-between; 4847 margin: 0 0 16px 0; 4848 gap: 24px; 4849 } 4850 .block-editor-block-visibility-modal__options-item:last-child { 4851 margin: 0; 4852 } 4853 .block-editor-block-visibility-modal__options-item--everywhere { 4854 flex-direction: column; 4855 align-items: start; 4856 } 4857 .block-editor-block-visibility-modal__options-checkbox--everywhere { 4858 font-weight: var(--wpds-typography-font-weight-emphasis, 600); 4859 } 4860 .block-editor-block-visibility-modal__options-icon--checked { 4861 color: #ddd; 4862 } 4863 .block-editor-block-visibility-modal__sub-options { 4864 width: 100%; 4865 padding-inline-start: 12px; 4866 } 4867 .block-editor-block-visibility-modal__description { 4868 font-size: 12px; 4869 color: #757575; 4870 } 4871 4872 .block-editor-block-visibility-info { 4873 margin: 0 16px 16px; 4874 } 4875 4876 /* The stop element is invisible, so its focus indication is drawn around the 4877 canvas it stands for. For the iframed canvas it is an overlay instead of 4878 an outline, because Safari paints an outline on an iframe element 4879 underneath the iframe's content. */ 4880 .block-editor-iframe__scale-container > .block-editor-writing-flow__canvas-stop:focus::after { 4881 content: ""; 4882 position: absolute; 4883 inset: 0; 4884 z-index: 1; 4885 pointer-events: none; 4886 border: var(--wp-admin-border-width-focus) solid var(--wp-admin-theme-color); 4887 } 4888 4889 .block-editor-writing-flow__canvas-stop:focus + .block-editor-writing-flow { 4890 outline: var(--wp-admin-border-width-focus) solid var(--wp-admin-theme-color); 4891 outline-offset: calc(-1 * var(--wp-admin-border-width-focus)); 4892 } 4893 4894 /* Looks like a tooltip. Shown at the top of the canvas while the stop is 4895 focused. Sticky, because on the widgets screen the stop spans scrolling 4896 content and the hint must stay in view; anywhere else there is nothing 4897 to scroll and it stays at the top of the canvas. */ 4898 .block-editor-writing-flow__canvas-stop-hint { 4899 display: none; 4900 position: sticky; 4901 top: 16px; 4902 margin-inline: auto; 4903 width: fit-content; 4904 z-index: 2; 4905 background: #000; 4906 font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; 4907 border-radius: 4px; 4908 color: #f0f0f0; 4909 text-align: center; 4910 line-height: 1.4; 4911 font-size: 12px; 4912 padding: 4px 8px; 4913 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); 4914 white-space: nowrap; 4915 pointer-events: none; 4916 } 4917 4918 .block-editor-writing-flow__canvas-stop:focus > .block-editor-writing-flow__canvas-stop-hint { 4919 display: block; 4920 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated : Sun Nov 29 08:20:01 2026 | Cross-referenced by PHPXref |