| [ 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: #007cba; 102 --wp-admin-theme-color--rgb: 0, 124, 186; 103 --wp-admin-theme-color-darker-10: rgb(0, 107, 160.5); 104 --wp-admin-theme-color-darker-10--rgb: 0, 107, 160.5; 105 --wp-admin-theme-color-darker-20: #005a87; 106 --wp-admin-theme-color-darker-20--rgb: 0, 90, 135; 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 .block-editor-block-icon { 116 display: flex; 117 align-items: center; 118 justify-content: center; 119 width: 24px; 120 height: 24px; 121 } 122 .block-editor-block-icon.has-colors svg { 123 fill: currentColor; 124 } 125 .block-editor-block-icon svg { 126 min-width: 20px; 127 min-height: 20px; 128 max-width: 24px; 129 max-height: 24px; 130 } 131 132 .block-editor-block-styles .block-editor-block-list__block { 133 margin: 0; 134 } 135 136 /** 137 * Cross-Block Selection 138 */ 139 @keyframes selection-overlay__fade-in-animation { 140 from { 141 opacity: 0; 142 } 143 to { 144 opacity: 0.4; 145 } 146 } 147 /* stylelint-disable -- Stylelint is disabled to allow the hack to work. */ 148 _::-webkit-full-page-media, _:future, :root .block-editor-block-list__layout::selection, 149 _::-webkit-full-page-media, _:future, :root [data-has-multi-selection=true] .block-editor-block-list__layout::selection { 150 background-color: transparent; 151 } 152 153 /* stylelint-enable */ 154 .block-editor-block-list__layout { 155 position: relative; 156 } 157 .block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected:not(.is-partially-selected)::selection, .block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected:not(.is-partially-selected) ::selection { 158 background: transparent; 159 } 160 .block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected:not(.is-partially-selected)::after { 161 content: ""; 162 position: absolute; 163 z-index: 1; 164 pointer-events: none; 165 top: 0; 166 right: 0; 167 bottom: 0; 168 left: 0; 169 background: var(--wp-admin-theme-color); 170 opacity: 0.4; 171 } 172 @media not (prefers-reduced-motion) { 173 .block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected:not(.is-partially-selected)::after { 174 animation: selection-overlay__fade-in-animation 0.1s ease-out; 175 animation-fill-mode: forwards; 176 } 177 } 178 .block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected:not(.is-partially-selected)::after { 179 outline: 2px solid transparent; 180 } 181 .block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected:not(.is-partially-selected).is-highlighted::after { 182 outline-color: transparent; 183 } 184 .block-editor-block-list__layout .block-editor-block-list__block.is-highlighted, 185 .block-editor-block-list__layout .block-editor-block-list__block.is-highlighted ~ .is-multi-selected, 186 .block-editor-block-list__layout .block-editor-block-list__block.is-hovered-draggable[draggable=true]:not(.is-multi-selected), 187 .block-editor-block-list__layout .block-editor-block-list__block.is-hovered-draggable[data-draggable=true]:not(.is-multi-selected), 188 .block-editor-block-list__layout .block-editor-block-list__block:not([contenteditable=true]):focus { 189 outline: none; 190 } 191 .block-editor-block-list__layout .block-editor-block-list__block.is-highlighted::after, 192 .block-editor-block-list__layout .block-editor-block-list__block.is-highlighted ~ .is-multi-selected::after, 193 .block-editor-block-list__layout .block-editor-block-list__block.is-hovered-draggable[draggable=true]:not(.is-multi-selected)::after, 194 .block-editor-block-list__layout .block-editor-block-list__block.is-hovered-draggable[data-draggable=true]:not(.is-multi-selected)::after, 195 .block-editor-block-list__layout .block-editor-block-list__block:not([contenteditable=true]):focus::after { 196 content: ""; 197 position: absolute; 198 pointer-events: none; 199 top: 0; 200 right: 0; 201 bottom: 0; 202 left: 0; 203 outline-color: var(--wp-admin-theme-color); 204 outline-style: solid; 205 outline-width: calc(1 * var(--wp-admin-border-width-focus) / var(--wp-block-editor-iframe-zoom-out-scale, 1)); 206 outline-offset: calc(1 * -1 * var(--wp-admin-border-width-focus) / var(--wp-block-editor-iframe-zoom-out-scale, 1)); 207 box-shadow: inset 0 0 0 calc(1 * var(--wp-admin-border-width-focus) / var(--wp-block-editor-iframe-zoom-out-scale, 1) + 0.5px) rgba(255, 255, 255, 0.7); 208 z-index: 1; 209 } 210 .block-editor-block-list__layout .block-editor-block-list__block.is-block-hidden { 211 visibility: hidden; 212 overflow: hidden; 213 height: 0; 214 border: none !important; 215 padding: 0 !important; 216 opacity: 0; 217 margin-top: 0 !important; 218 margin-bottom: 0 !important; 219 } 220 .block-editor-block-list__layout.is-layout-flex:not(.is-vertical) > .is-block-hidden { 221 width: 0; 222 height: auto; 223 align-self: stretch; 224 white-space: nowrap !important; 225 margin-left: 0 !important; 226 margin-right: 0 !important; 227 } 228 .block-editor-block-list__layout [class^=components-] { 229 -webkit-user-select: text; 230 user-select: text; 231 } 232 233 .block-editor-block-list__layout .block-editor-block-list__block { 234 position: relative; 235 overflow-wrap: break-word; 236 pointer-events: auto; 237 } 238 .block-editor-block-list__layout .block-editor-block-list__block.is-editing-disabled { 239 pointer-events: none; 240 } 241 .block-editor-block-list__layout .block-editor-block-list__block.has-negative-margin.is-selected, .block-editor-block-list__layout .block-editor-block-list__block.has-negative-margin.has-child-selected { 242 z-index: 20; 243 } 244 .block-editor-block-list__layout .block-editor-block-list__block { 245 /** 246 * Notices 247 */ 248 } 249 .block-editor-block-list__layout .block-editor-block-list__block .components-placeholder .components-with-notices-ui { 250 margin: -10px 0 12px 0; 251 } 252 .block-editor-block-list__layout .block-editor-block-list__block .components-with-notices-ui { 253 margin: 0 0 12px 0; 254 width: 100%; 255 } 256 .block-editor-block-list__layout .block-editor-block-list__block.has-warning { 257 min-height: 48px; 258 } 259 .block-editor-block-list__layout .block-editor-block-list__block.has-warning > * { 260 pointer-events: none; 261 -webkit-user-select: none; 262 user-select: none; 263 } 264 .block-editor-block-list__layout .block-editor-block-list__block.has-warning .block-editor-warning { 265 pointer-events: all; 266 } 267 .block-editor-block-list__layout .block-editor-block-list__block[data-clear=true] { 268 float: none; 269 } 270 .block-editor-block-list__layout .block-editor-block-list__block:not([draggable=true]), .block-editor-block-list__layout .block-editor-block-list__block:not([data-draggable=true]) { 271 cursor: default; 272 } 273 .block-editor-block-list__layout .block-editor-block-list__block[draggable=true], .block-editor-block-list__layout .block-editor-block-list__block[data-draggable=true] { 274 cursor: grab; 275 } 276 .block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected { 277 cursor: default; 278 } 279 .block-editor-block-list__layout .block-editor-block-list__block[contenteditable], 280 .block-editor-block-list__layout .block-editor-block-list__block [contenteditable] { 281 cursor: text; 282 } 283 284 .is-outline-mode .block-editor-block-list__block:not(.remove-outline).is-hovered:not(.is-selected)::after, .is-outline-mode .block-editor-block-list__block:not(.remove-outline):not(.rich-text):not([contenteditable=true]).is-selected::after { 285 content: ""; 286 position: absolute; 287 pointer-events: none; 288 top: 0; 289 right: 0; 290 bottom: 0; 291 left: 0; 292 outline-color: var(--wp-admin-theme-color); 293 outline-style: solid; 294 outline-width: calc(1 * var(--wp-admin-border-width-focus) / var(--wp-block-editor-iframe-zoom-out-scale, 1)); 295 outline-offset: calc(1 * -1 * var(--wp-admin-border-width-focus) / var(--wp-block-editor-iframe-zoom-out-scale, 1)); 296 box-shadow: inset 0 0 0 calc(1 * var(--wp-admin-border-width-focus) / var(--wp-block-editor-iframe-zoom-out-scale, 1) + 0.5px) rgba(255, 255, 255, 0.7); 297 } 298 299 .is-outline-mode .block-editor-block-list__block:not(.remove-outline).wp-block-template-part.is-hovered::after, .is-outline-mode .block-editor-block-list__block:not(.remove-outline).wp-block-template-part.is-selected::after, .is-outline-mode .block-editor-block-list__block:not(.remove-outline).wp-block-template-part.is-highlighted::after, 300 .is-outline-mode .block-editor-block-list__block:not(.remove-outline).is-reusable.is-hovered::after, 301 .is-outline-mode .block-editor-block-list__block:not(.remove-outline).is-reusable.is-selected::after, 302 .is-outline-mode .block-editor-block-list__block:not(.remove-outline).is-reusable.is-highlighted::after { 303 outline-color: var(--wp-block-synced-color); 304 } 305 .is-outline-mode .block-editor-block-list__block:not(.remove-outline).wp-block-template-part.block-editor-block-list__block:not([contenteditable]):focus::after, 306 .is-outline-mode .block-editor-block-list__block:not(.remove-outline).is-reusable.block-editor-block-list__block:not([contenteditable]):focus::after { 307 outline-color: var(--wp-block-synced-color); 308 } 309 310 @keyframes block-editor-is-editable__animation { 311 from { 312 background-color: rgba(var(--wp-admin-theme-color--rgb), 0.1); 313 } 314 to { 315 background-color: rgba(var(--wp-admin-theme-color--rgb), 0); 316 } 317 } 318 @keyframes block-editor-is-editable__animation_reduce-motion { 319 0% { 320 background-color: rgba(var(--wp-admin-theme-color--rgb), 0.1); 321 } 322 99% { 323 background-color: rgba(var(--wp-admin-theme-color--rgb), 0.1); 324 } 325 100% { 326 background-color: rgba(var(--wp-admin-theme-color--rgb), 0); 327 } 328 } 329 .is-root-container:not([inert]) .block-editor-block-list__block.is-selected .block-editor-block-list__block.has-editable-outline::after { 330 animation-name: block-editor-is-editable__animation; 331 animation-duration: 0.8s; 332 animation-timing-function: ease-out; 333 animation-delay: 0.1s; 334 animation-fill-mode: backwards; 335 bottom: 0; 336 content: ""; 337 left: 0; 338 pointer-events: none; 339 position: absolute; 340 right: 0; 341 top: 0; 342 } 343 @media (prefers-reduced-motion: reduce) { 344 .is-root-container:not([inert]) .block-editor-block-list__block.is-selected .block-editor-block-list__block.has-editable-outline::after { 345 animation-name: block-editor-is-editable__animation_reduce-motion; 346 animation-delay: 0s; 347 } 348 } 349 350 .is-focus-mode .block-editor-block-list__block:not(.has-child-selected) { 351 opacity: 0.2; 352 } 353 @media not (prefers-reduced-motion) { 354 .is-focus-mode .block-editor-block-list__block:not(.has-child-selected) { 355 transition: opacity 0.1s linear; 356 } 357 } 358 .is-focus-mode .block-editor-block-list__block:not(.has-child-selected) .block-editor-block-list__block, .is-focus-mode .block-editor-block-list__block:not(.has-child-selected).is-selected, .is-focus-mode .block-editor-block-list__block:not(.has-child-selected).is-multi-selected { 359 opacity: 1; 360 } 361 362 .is-focus-mode .block-editor-block-list__block.is-editing-content-only-section.has-child-selected, .is-focus-mode .block-editor-block-list__block.is-editing-content-only-section.has-child-selected .block-editor-block-list__block { 363 opacity: 1; 364 } 365 366 .wp-block[data-align=left] > *, 367 .wp-block[data-align=right] > *, 368 .wp-block.alignleft, 369 .wp-block.alignright { 370 z-index: 9; 371 } 372 373 .wp-site-blocks > [data-align=left] { 374 float: left; 375 margin-right: 2em; 376 } 377 378 .wp-site-blocks > [data-align=right] { 379 float: right; 380 margin-left: 2em; 381 } 382 383 .wp-site-blocks > [data-align=center] { 384 justify-content: center; 385 margin-left: auto; 386 margin-right: auto; 387 } 388 389 /** 390 * In-Canvas Inserter 391 */ 392 .block-editor-block-list .block-editor-inserter { 393 margin: 8px; 394 cursor: move; 395 cursor: grab; 396 } 397 398 @keyframes block-editor-inserter__toggle__fade-in-animation { 399 from { 400 opacity: 0; 401 } 402 to { 403 opacity: 1; 404 } 405 } 406 @media not (prefers-reduced-motion) { 407 .wp-block .block-list-appender .block-editor-inserter__toggle { 408 animation: block-editor-inserter__toggle__fade-in-animation 0.1s ease; 409 animation-fill-mode: forwards; 410 } 411 } 412 413 .block-editor-block-list__block .block-editor-block-list__block-html-textarea { 414 display: block; 415 margin: 0; 416 padding: 12px; 417 width: 100%; 418 border: none; 419 outline: none; 420 border-radius: 2px; 421 box-sizing: border-box; 422 box-shadow: inset 0 0 0 1px #1e1e1e; 423 resize: none; 424 field-sizing: content; 425 overflow: auto; 426 font-family: Menlo, Consolas, monaco, monospace; 427 font-size: 15px; 428 line-height: 1.5; 429 /*rtl:ignore*/ 430 direction: ltr; 431 } 432 @media not (prefers-reduced-motion) { 433 .block-editor-block-list__block .block-editor-block-list__block-html-textarea { 434 transition: padding 0.2s linear; 435 } 436 } 437 .block-editor-block-list__block .block-editor-block-list__block-html-textarea:focus { 438 box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color); 439 } 440 441 .block-editor-block-list__zoom-out-separator { 442 /* same color as the iframe's background */ 443 background: #ddd; 444 margin-left: -1px; 445 margin-right: -1px; 446 } 447 @media not (prefers-reduced-motion) { 448 .block-editor-block-list__zoom-out-separator { 449 transition: background-color 0.3s ease; 450 } 451 } 452 .block-editor-block-list__zoom-out-separator { 453 display: flex; 454 align-items: center; 455 justify-content: center; 456 overflow: hidden; 457 font-size: 13px; 458 font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; 459 color: #000; 460 font-weight: 400; 461 } 462 .is-zoomed-out .block-editor-block-list__zoom-out-separator { 463 font-size: calc(13px / var(--wp-block-editor-iframe-zoom-out-scale)); 464 } 465 .block-editor-block-list__zoom-out-separator.is-dragged-over { 466 background: #ccc; 467 } 468 469 .has-global-padding > .block-editor-block-list__zoom-out-separator, 470 .block-editor-block-list__layout.is-root-container.has-global-padding > .block-editor-block-list__zoom-out-separator { 471 max-width: none; 472 margin: 0 calc(-1 * var(--wp--style--root--padding-right) - 1px) 0 calc(-1 * var(--wp--style--root--padding-left) - 1px) !important; 473 } 474 475 .is-dragging { 476 cursor: grabbing; 477 } 478 479 .is-preview-mode { 480 pointer-events: none; 481 } 482 .is-preview-mode .block-editor-block-list__block { 483 pointer-events: auto; 484 } 485 .is-preview-mode .block-editor-block-list__block > *:not(.block-editor-block-list__block) { 486 pointer-events: none; 487 } 488 489 .is-vertical .block-list-appender { 490 width: 24px; 491 margin-right: auto; 492 margin-top: 12px; 493 margin-left: 12px; 494 } 495 496 .block-list-appender > .block-editor-inserter { 497 display: block; 498 } 499 500 .block-editor-block-list__block:not(.is-selected):not(.has-child-selected):not(.block-editor-block-list__layout) .block-editor-block-list__layout > .block-list-appender .block-list-appender__toggle { 501 opacity: 0; 502 transform: scale(0); 503 } 504 505 .block-editor-block-list__block.has-block-overlay { 506 cursor: default; 507 } 508 .block-editor-block-list__block.has-block-overlay .block-editor-block-list__block { 509 pointer-events: none; 510 } 511 .block-editor-block-list__block.has-block-overlay .block-editor-block-list__block.has-block-overlay::before { 512 left: 0; 513 right: 0; 514 width: auto; 515 } 516 517 .block-editor-block-list__layout .is-dragging { 518 opacity: 0.1; 519 } 520 .block-editor-block-list__layout .is-dragging iframe { 521 pointer-events: none; 522 } 523 .block-editor-block-list__layout .is-dragging::selection { 524 background: transparent !important; 525 } 526 .block-editor-block-list__layout .is-dragging::after { 527 content: none !important; 528 } 529 530 .block-editor-block-preview__content-iframe .block-list-appender { 531 display: none; 532 } 533 534 .block-editor-block-preview__live-content * { 535 pointer-events: none; 536 } 537 .block-editor-block-preview__live-content .block-list-appender { 538 display: none; 539 } 540 .block-editor-block-preview__live-content .components-button:disabled { 541 opacity: initial; 542 } 543 .block-editor-block-preview__live-content .components-placeholder, 544 .block-editor-block-preview__live-content .block-editor-block-list__block[data-empty=true] { 545 display: none; 546 } 547 548 .block-editor-block-variation-picker__variations, 549 .block-editor-block-variation-picker__skip, 550 .wp-block-group-placeholder__variations { 551 list-style: none; 552 display: flex; 553 justify-content: flex-start; 554 flex-direction: row; 555 flex-wrap: wrap; 556 width: 100%; 557 padding: 0; 558 margin: 0; 559 gap: 8px; 560 font-size: 12px; 561 } 562 .block-editor-block-variation-picker__variations svg, 563 .block-editor-block-variation-picker__skip svg, 564 .wp-block-group-placeholder__variations svg { 565 fill: #949494; 566 color: #949494 !important; 567 } 568 .block-editor-block-variation-picker__variations .components-button, 569 .block-editor-block-variation-picker__skip .components-button, 570 .wp-block-group-placeholder__variations .components-button { 571 padding: 4px; 572 } 573 .block-editor-block-variation-picker__variations .components-button:hover, 574 .block-editor-block-variation-picker__skip .components-button:hover, 575 .wp-block-group-placeholder__variations .components-button:hover { 576 background: none !important; 577 } 578 .block-editor-block-variation-picker__variations .components-button:hover svg, 579 .block-editor-block-variation-picker__skip .components-button:hover svg, 580 .wp-block-group-placeholder__variations .components-button:hover svg { 581 fill: var(--wp-admin-theme-color); 582 color: var(--wp-admin-theme-color) !important; 583 } 584 .block-editor-block-variation-picker__variations > li, 585 .block-editor-block-variation-picker__skip > li, 586 .wp-block-group-placeholder__variations > li { 587 width: auto; 588 display: flex; 589 flex-direction: column; 590 align-items: center; 591 gap: 4px; 592 } 593 594 .block-editor-button-block-appender { 595 display: flex; 596 flex-direction: column; 597 align-items: center; 598 justify-content: center; 599 width: 100%; 600 height: auto; 601 color: #1e1e1e; 602 border-color: currentColor; 603 } 604 .is-dark-theme .block-editor-button-block-appender { 605 color: rgba(255, 255, 255, 0.65); 606 } 607 .block-editor-button-block-appender:hover { 608 color: var(--wp-admin-theme-color); 609 } 610 .block-editor-button-block-appender:active { 611 color: #000; 612 } 613 614 .is-layout-constrained.block-editor-block-list__block:not(.is-selected) > .block-list-appender:only-child:has(.block-editor-button-block-appender), .is-layout-flow.block-editor-block-list__block:not(.is-selected) > .block-list-appender:only-child:has(.block-editor-button-block-appender), .block-editor-block-list__block:not(.is-selected) > .is-layout-constrained.wp-block-group__inner-container > .block-list-appender:only-child:has(.block-editor-button-block-appender), .block-editor-block-list__block:not(.is-selected) > .is-layout-flow.wp-block-group__inner-container > .block-list-appender:only-child:has(.block-editor-button-block-appender) { 615 pointer-events: none; 616 } 617 .is-layout-constrained.block-editor-block-list__block:not(.is-selected) > .block-list-appender:only-child:has(.block-editor-button-block-appender)::after, .is-layout-flow.block-editor-block-list__block:not(.is-selected) > .block-list-appender:only-child:has(.block-editor-button-block-appender)::after, .block-editor-block-list__block:not(.is-selected) > .is-layout-constrained.wp-block-group__inner-container > .block-list-appender:only-child:has(.block-editor-button-block-appender)::after, .block-editor-block-list__block:not(.is-selected) > .is-layout-flow.wp-block-group__inner-container > .block-list-appender:only-child:has(.block-editor-button-block-appender)::after { 618 content: ""; 619 position: absolute; 620 top: 0; 621 right: 0; 622 bottom: 0; 623 left: 0; 624 pointer-events: none; 625 border: 1px dashed currentColor; 626 } 627 .is-layout-constrained.block-editor-block-list__block:not(.is-selected) > .block-list-appender:only-child:has(.block-editor-button-block-appender) .block-editor-inserter, .is-layout-flow.block-editor-block-list__block:not(.is-selected) > .block-list-appender:only-child:has(.block-editor-button-block-appender) .block-editor-inserter, .block-editor-block-list__block:not(.is-selected) > .is-layout-constrained.wp-block-group__inner-container > .block-list-appender:only-child:has(.block-editor-button-block-appender) .block-editor-inserter, .block-editor-block-list__block:not(.is-selected) > .is-layout-flow.wp-block-group__inner-container > .block-list-appender:only-child:has(.block-editor-button-block-appender) .block-editor-inserter { 628 opacity: 0; 629 } 630 .is-layout-constrained.block-editor-block-list__block:not(.is-selected) > .block-list-appender:only-child:has(.block-editor-button-block-appender) .block-editor-inserter:focus-within, .is-layout-flow.block-editor-block-list__block:not(.is-selected) > .block-list-appender:only-child:has(.block-editor-button-block-appender) .block-editor-inserter:focus-within, .block-editor-block-list__block:not(.is-selected) > .is-layout-constrained.wp-block-group__inner-container > .block-list-appender:only-child:has(.block-editor-button-block-appender) .block-editor-inserter:focus-within, .block-editor-block-list__block:not(.is-selected) > .is-layout-flow.wp-block-group__inner-container > .block-list-appender:only-child:has(.block-editor-button-block-appender) .block-editor-inserter:focus-within { 631 opacity: 1; 632 } 633 .is-layout-constrained.block-editor-block-list__block:not(.is-selected) > .block-list-appender:only-child:has(.block-editor-button-block-appender).is-drag-over::after, .is-layout-flow.block-editor-block-list__block:not(.is-selected) > .block-list-appender:only-child:has(.block-editor-button-block-appender).is-drag-over::after, .block-editor-block-list__block:not(.is-selected) > .is-layout-constrained.wp-block-group__inner-container > .block-list-appender:only-child:has(.block-editor-button-block-appender).is-drag-over::after, .block-editor-block-list__block:not(.is-selected) > .is-layout-flow.wp-block-group__inner-container > .block-list-appender:only-child:has(.block-editor-button-block-appender).is-drag-over::after { 634 border: none; 635 } 636 .is-layout-constrained.block-editor-block-list__block:not(.is-selected) > .block-list-appender:only-child:has(.block-editor-button-block-appender).is-drag-over .block-editor-inserter, .is-layout-flow.block-editor-block-list__block:not(.is-selected) > .block-list-appender:only-child:has(.block-editor-button-block-appender).is-drag-over .block-editor-inserter, .block-editor-block-list__block:not(.is-selected) > .is-layout-constrained.wp-block-group__inner-container > .block-list-appender:only-child:has(.block-editor-button-block-appender).is-drag-over .block-editor-inserter, .block-editor-block-list__block:not(.is-selected) > .is-layout-flow.wp-block-group__inner-container > .block-list-appender:only-child:has(.block-editor-button-block-appender).is-drag-over .block-editor-inserter { 637 opacity: 1; 638 } 639 .block-editor-block-list__block:not(.is-selected) > .block-editor-block-list__block > .block-list-appender:only-child:has(.block-editor-button-block-appender)::after { 640 border: none; 641 } 642 .block-list-appender:only-child:has(.block-editor-button-block-appender).is-drag-over .block-editor-button-block-appender { 643 background-color: var(--wp-admin-theme-color); 644 box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.65); 645 color: rgba(255, 255, 255, 0.65); 646 } 647 @media not (prefers-reduced-motion) { 648 .block-list-appender:only-child:has(.block-editor-button-block-appender).is-drag-over .block-editor-button-block-appender { 649 transition: background-color 0.2s ease-in-out; 650 } 651 } 652 653 /** 654 * Default block appender. 655 * 656 * This component shows up in 3 places: 657 * - the black plus that sits at the end of the canvas, if the last block isn't a paragraph 658 * - on the right, inside empty paragraphs 659 * - absolute positioned and blue inside nesting containers 660 */ 661 .block-editor-default-block-appender { 662 clear: both; 663 margin-left: auto; 664 margin-right: auto; 665 position: relative; 666 } 667 .block-editor-default-block-appender[data-root-client-id=""] .block-editor-default-block-appender__content:hover { 668 outline: 1px solid transparent; 669 } 670 .block-editor-default-block-appender .block-editor-default-block-appender__content { 671 opacity: 0.62; 672 text-shadow: none; 673 margin-block-start: 0; 674 margin-block-end: 0; 675 } 676 .block-editor-default-block-appender .components-drop-zone__content-icon { 677 display: none; 678 } 679 .block-editor-default-block-appender .block-editor-inserter__toggle.components-button.has-icon { 680 background: #1e1e1e; 681 color: #fff; 682 padding: 0; 683 min-width: 24px; 684 height: 24px; 685 } 686 .block-editor-default-block-appender .block-editor-inserter__toggle.components-button.has-icon:hover { 687 color: #fff; 688 background: var(--wp-admin-theme-color); 689 } 690 @media not (prefers-reduced-motion) { 691 .block-editor-default-block-appender .block-editor-inserter__toggle.components-button.has-icon svg { 692 transition: transform cubic-bezier(0.165, 0.84, 0.44, 1) 0.2s; 693 } 694 } 695 .block-editor-default-block-appender .block-editor-inserter__toggle.components-button.has-icon.is-pressed svg { 696 transform: rotate(45deg); 697 } 698 699 .block-editor-default-block-appender .block-editor-inserter { 700 position: absolute; 701 top: 0; 702 right: 0; 703 line-height: 0; 704 } 705 .block-editor-default-block-appender .block-editor-inserter:disabled { 706 display: none; 707 } 708 709 /** 710 * Fixed position appender (right bottom corner). 711 * 712 * These styles apply to all in-canvas inserters. All in-canvas inserters always 713 * exist within a block. 714 */ 715 .block-editor-block-list__block .block-list-appender { 716 position: absolute; 717 list-style: none; 718 padding: 0; 719 z-index: 2; 720 bottom: 0; 721 right: 0; 722 } 723 .block-editor-block-list__block .block-list-appender.block-list-appender { 724 margin: 0; 725 line-height: 0; 726 } 727 .block-editor-block-list__block .block-list-appender .block-editor-inserter:disabled { 728 display: none; 729 } 730 .block-editor-block-list__block .block-list-appender .block-editor-default-block-appender { 731 height: 24px; 732 } 733 .block-editor-block-list__block .block-list-appender .block-editor-inserter__toggle.components-button.has-icon, 734 .block-editor-block-list__block .block-list-appender .block-list-appender__toggle { 735 background: #1e1e1e; 736 color: #fff; 737 padding: 0; 738 min-width: 24px; 739 height: 24px; 740 } 741 .block-editor-block-list__block .block-list-appender .block-editor-inserter__toggle.components-button.has-icon:hover, 742 .block-editor-block-list__block .block-list-appender .block-list-appender__toggle:hover { 743 color: #fff; 744 background: var(--wp-admin-theme-color); 745 } 746 @media not (prefers-reduced-motion) { 747 .block-editor-block-list__block .block-list-appender .block-editor-inserter__toggle.components-button.has-icon svg, 748 .block-editor-block-list__block .block-list-appender .block-list-appender__toggle svg { 749 transition: transform cubic-bezier(0.165, 0.84, 0.44, 1) 0.2s; 750 } 751 } 752 .block-editor-block-list__block .block-list-appender .block-editor-inserter__toggle.components-button.has-icon.is-pressed svg, 753 .block-editor-block-list__block .block-list-appender .block-list-appender__toggle.is-pressed svg { 754 transform: rotate(45deg); 755 } 756 .block-editor-block-list__block .block-list-appender .block-editor-inserter__toggle.components-button.has-icon, 757 .block-editor-block-list__block .block-list-appender .block-list-appender__toggle { 758 flex-direction: row; 759 box-shadow: none; 760 width: 24px; 761 display: none; 762 padding: 0 !important; 763 } 764 .block-editor-block-list__block .block-list-appender .block-editor-default-block-appender__content { 765 display: none; 766 } 767 .block-editor-block-list__block .block-list-appender:first-child { 768 position: relative; 769 right: auto; 770 align-self: center; 771 list-style: none; 772 line-height: inherit; 773 } 774 .block-editor-block-list__block .block-list-appender:first-child .block-editor-default-block-appender__content { 775 display: block; 776 } 777 778 .block-editor-block-list__block.is-selected .block-editor-block-list__layout > .block-list-appender .block-editor-inserter__toggle.components-button.has-icon, 779 .block-editor-block-list__block.is-selected .block-editor-block-list__layout > .block-list-appender .block-list-appender__toggle, 780 .block-editor-block-list__block.is-selected > .block-list-appender .block-editor-inserter__toggle.components-button.has-icon, 781 .block-editor-block-list__block.is-selected > .block-list-appender .block-list-appender__toggle { 782 display: flex; 783 } 784 785 .block-editor-default-block-appender__content { 786 cursor: text; 787 } 788 789 .block-editor-iframe__body { 790 position: relative; 791 } 792 793 .block-editor-iframe__html { 794 transform-origin: top center; 795 } 796 @media not (prefers-reduced-motion) { 797 .block-editor-iframe__html { 798 transition: background-color 400ms; 799 } 800 } 801 .block-editor-iframe__html.zoom-out-animation { 802 position: fixed; 803 left: 0; 804 right: 0; 805 top: calc(-1 * var(--wp-block-editor-iframe-zoom-out-scroll-top, 0px)); 806 bottom: 0; 807 overflow-y: var(--wp-block-editor-iframe-zoom-out-overflow-behavior, scroll); 808 } 809 .block-editor-iframe__html.is-zoomed-out { 810 transform: translateX(calc((var(--wp-block-editor-iframe-zoom-out-scale-container-width) - var(--wp-block-editor-iframe-zoom-out-container-width, 100vw)) / 2 / var(--wp-block-editor-iframe-zoom-out-scale, 1))); 811 scale: var(--wp-block-editor-iframe-zoom-out-scale, 1); 812 background-color: var(--wp-editor-canvas-background); 813 margin-bottom: calc(-1 * calc(calc(var(--wp-block-editor-iframe-zoom-out-content-height) * (1 - var(--wp-block-editor-iframe-zoom-out-scale, 1))) + calc(2 * var(--wp-block-editor-iframe-zoom-out-frame-size, 0px) / var(--wp-block-editor-iframe-zoom-out-scale, 1)) + 2px)); 814 padding-top: calc(var(--wp-block-editor-iframe-zoom-out-frame-size, 0px) / var(--wp-block-editor-iframe-zoom-out-scale, 1)); 815 padding-bottom: calc(var(--wp-block-editor-iframe-zoom-out-frame-size, 0px) / var(--wp-block-editor-iframe-zoom-out-scale, 1)); 816 } 817 .block-editor-iframe__html.is-zoomed-out body { 818 min-height: calc((var(--wp-block-editor-iframe-zoom-out-inner-height) - calc(2 * var(--wp-block-editor-iframe-zoom-out-frame-size, 0px) / var(--wp-block-editor-iframe-zoom-out-scale, 1))) / var(--wp-block-editor-iframe-zoom-out-scale, 1)); 819 } 820 .block-editor-iframe__html.is-zoomed-out body > .is-root-container:not(.wp-block-post-content) { 821 flex: 1; 822 display: flex; 823 flex-direction: column; 824 height: 100%; 825 } 826 .block-editor-iframe__html.is-zoomed-out body > .is-root-container:not(.wp-block-post-content) > main { 827 flex: 1; 828 } 829 .block-editor-iframe__html.is-zoomed-out .wp-block[draggable] { 830 cursor: grab; 831 } 832 833 .block-editor-media-placeholder__cancel-button.is-link { 834 margin: 1em; 835 display: block; 836 } 837 838 .block-editor-media-placeholder.is-appender { 839 min-height: 0; 840 } 841 .block-editor-media-placeholder.is-appender:hover { 842 cursor: var(--wpds-cursor-control, pointer); 843 box-shadow: 0 0 0 1px var(--wp-admin-theme-color); 844 } 845 846 .block-editor-plain-text { 847 box-shadow: none; 848 font-family: inherit; 849 font-size: inherit; 850 color: inherit; 851 line-height: inherit; 852 border: none; 853 padding: 0; 854 margin: 0; 855 } 856 857 .block-editor-plain-text { 858 width: 100%; 859 field-sizing: content; 860 } 861 862 .rich-text [data-rich-text-placeholder] { 863 pointer-events: none; 864 } 865 .rich-text [data-rich-text-placeholder]::after { 866 content: attr(data-rich-text-placeholder); 867 opacity: 0.62; 868 text-shadow: none; 869 } 870 .rich-text:focus { 871 outline: none; 872 } 873 874 figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]::before { 875 opacity: 0.8; 876 } 877 878 [data-rich-text-script] { 879 display: inline; 880 } 881 [data-rich-text-script]::before { 882 content: "</>"; 883 background: rgb(255, 255, 0); 884 } 885 886 [data-rich-text-comment], 887 [data-rich-text-format-boundary] { 888 border-radius: 2px; 889 } 890 891 [data-rich-text-comment] { 892 background-color: currentColor; 893 } 894 [data-rich-text-comment] span { 895 filter: invert(100%); 896 color: currentColor; 897 padding: 0 2px; 898 } 899 900 .rich-text [contenteditable=false]::selection { 901 background-color: transparent; 902 } 903 904 .is-selected .non-breaking-space { 905 outline: 1px solid currentColor; 906 outline-offset: -1px; 907 opacity: 0.8; 908 } 909 910 .block-editor-warning { 911 align-items: center; 912 display: flex; 913 flex-wrap: wrap; 914 font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; 915 padding: 1em; 916 border: 1px solid #1e1e1e; 917 border-radius: 2px; 918 background-color: #fff; 919 } 920 .block-editor-warning .block-editor-warning__message { 921 line-height: 1.4; 922 font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; 923 font-size: 13px; 924 color: #1e1e1e; 925 margin: 0; 926 } 927 .block-editor-warning p.block-editor-warning__message.block-editor-warning__message { 928 min-height: auto; 929 } 930 .block-editor-warning .block-editor-warning__contents { 931 display: flex; 932 flex-direction: row; 933 justify-content: space-between; 934 flex-wrap: wrap; 935 align-items: baseline; 936 width: 100%; 937 gap: 12px; 938 } 939 .block-editor-warning .block-editor-warning__actions { 940 align-items: center; 941 display: flex; 942 gap: 8px; 943 } 944 945 .components-popover.block-editor-warning__dropdown { 946 z-index: 99998; 947 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated : Thu Oct 15 08:20:32 2026 | Cross-referenced by PHPXref |