[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-includes/css/dist/block-editor/ -> content.css (source)

   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    overflow: hidden;
 425    font-family: Menlo, Consolas, monaco, monospace;
 426    font-size: 15px;
 427    line-height: 1.5;
 428    /*rtl:ignore*/
 429    direction: ltr;
 430  }
 431  @media not (prefers-reduced-motion) {
 432    .block-editor-block-list__block .block-editor-block-list__block-html-textarea {
 433      transition: padding 0.2s linear;
 434    }
 435  }
 436  .block-editor-block-list__block .block-editor-block-list__block-html-textarea:focus {
 437    box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
 438  }
 439  
 440  .block-editor-block-list__zoom-out-separator {
 441    /* same color as the iframe's background */
 442    background: #ddd;
 443    margin-left: -1px;
 444    margin-right: -1px;
 445  }
 446  @media not (prefers-reduced-motion) {
 447    .block-editor-block-list__zoom-out-separator {
 448      transition: background-color 0.3s ease;
 449    }
 450  }
 451  .block-editor-block-list__zoom-out-separator {
 452    display: flex;
 453    align-items: center;
 454    justify-content: center;
 455    overflow: hidden;
 456    font-size: 13px;
 457    font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
 458    color: #000;
 459    font-weight: normal;
 460  }
 461  .is-zoomed-out .block-editor-block-list__zoom-out-separator {
 462    font-size: calc(13px / var(--wp-block-editor-iframe-zoom-out-scale));
 463  }
 464  .block-editor-block-list__zoom-out-separator.is-dragged-over {
 465    background: #ccc;
 466  }
 467  
 468  .has-global-padding > .block-editor-block-list__zoom-out-separator,
 469  .block-editor-block-list__layout.is-root-container.has-global-padding > .block-editor-block-list__zoom-out-separator {
 470    max-width: none;
 471    margin: 0 calc(-1 * var(--wp--style--root--padding-right) - 1px) 0 calc(-1 * var(--wp--style--root--padding-left) - 1px) !important;
 472  }
 473  
 474  .is-dragging {
 475    cursor: grabbing;
 476  }
 477  
 478  .is-preview-mode {
 479    pointer-events: none;
 480  }
 481  .is-preview-mode .block-editor-block-list__block {
 482    pointer-events: auto;
 483  }
 484  .is-preview-mode .block-editor-block-list__block > *:not(.block-editor-block-list__block) {
 485    pointer-events: none;
 486  }
 487  
 488  .is-vertical .block-list-appender {
 489    width: 24px;
 490    margin-right: auto;
 491    margin-top: 12px;
 492    margin-left: 12px;
 493  }
 494  
 495  .block-list-appender > .block-editor-inserter {
 496    display: block;
 497  }
 498  
 499  .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 {
 500    opacity: 0;
 501    transform: scale(0);
 502  }
 503  
 504  .block-editor-block-list__block.has-block-overlay {
 505    cursor: default;
 506  }
 507  .block-editor-block-list__block.has-block-overlay .block-editor-block-list__block {
 508    pointer-events: none;
 509  }
 510  .block-editor-block-list__block.has-block-overlay .block-editor-block-list__block.has-block-overlay::before {
 511    left: 0;
 512    right: 0;
 513    width: auto;
 514  }
 515  
 516  .block-editor-block-list__layout .is-dragging {
 517    opacity: 0.1;
 518  }
 519  .block-editor-block-list__layout .is-dragging iframe {
 520    pointer-events: none;
 521  }
 522  .block-editor-block-list__layout .is-dragging::selection {
 523    background: transparent !important;
 524  }
 525  .block-editor-block-list__layout .is-dragging::after {
 526    content: none !important;
 527  }
 528  
 529  .wp-block img:not([draggable]),
 530  .wp-block svg:not([draggable]) {
 531    pointer-events: none;
 532  }
 533  
 534  .block-editor-block-preview__content-iframe .block-list-appender {
 535    display: none;
 536  }
 537  
 538  .block-editor-block-preview__live-content * {
 539    pointer-events: none;
 540  }
 541  .block-editor-block-preview__live-content .block-list-appender {
 542    display: none;
 543  }
 544  .block-editor-block-preview__live-content .components-button:disabled {
 545    opacity: initial;
 546  }
 547  .block-editor-block-preview__live-content .components-placeholder,
 548  .block-editor-block-preview__live-content .block-editor-block-list__block[data-empty=true] {
 549    display: none;
 550  }
 551  
 552  .block-editor-block-variation-picker__variations,
 553  .block-editor-block-variation-picker__skip,
 554  .wp-block-group-placeholder__variations {
 555    list-style: none;
 556    display: flex;
 557    justify-content: flex-start;
 558    flex-direction: row;
 559    flex-wrap: wrap;
 560    width: 100%;
 561    padding: 0;
 562    margin: 0;
 563    gap: 8px;
 564    font-size: 12px;
 565  }
 566  .block-editor-block-variation-picker__variations svg,
 567  .block-editor-block-variation-picker__skip svg,
 568  .wp-block-group-placeholder__variations svg {
 569    fill: #949494;
 570    color: #949494 !important;
 571  }
 572  .block-editor-block-variation-picker__variations .components-button,
 573  .block-editor-block-variation-picker__skip .components-button,
 574  .wp-block-group-placeholder__variations .components-button {
 575    padding: 4px;
 576  }
 577  .block-editor-block-variation-picker__variations .components-button:hover,
 578  .block-editor-block-variation-picker__skip .components-button:hover,
 579  .wp-block-group-placeholder__variations .components-button:hover {
 580    background: none !important;
 581  }
 582  .block-editor-block-variation-picker__variations .components-button:hover svg,
 583  .block-editor-block-variation-picker__skip .components-button:hover svg,
 584  .wp-block-group-placeholder__variations .components-button:hover svg {
 585    fill: var(--wp-admin-theme-color);
 586    color: var(--wp-admin-theme-color) !important;
 587  }
 588  .block-editor-block-variation-picker__variations > li,
 589  .block-editor-block-variation-picker__skip > li,
 590  .wp-block-group-placeholder__variations > li {
 591    width: auto;
 592    display: flex;
 593    flex-direction: column;
 594    align-items: center;
 595    gap: 4px;
 596  }
 597  
 598  .block-editor-button-block-appender {
 599    display: flex;
 600    flex-direction: column;
 601    align-items: center;
 602    justify-content: center;
 603    width: 100%;
 604    height: auto;
 605    color: #1e1e1e;
 606    border-color: currentColor;
 607  }
 608  .is-dark-theme .block-editor-button-block-appender {
 609    color: rgba(255, 255, 255, 0.65);
 610  }
 611  .block-editor-button-block-appender:hover {
 612    color: var(--wp-admin-theme-color);
 613  }
 614  .block-editor-button-block-appender:active {
 615    color: #000;
 616  }
 617  
 618  .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) {
 619    pointer-events: none;
 620  }
 621  .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 {
 622    content: "";
 623    position: absolute;
 624    top: 0;
 625    right: 0;
 626    bottom: 0;
 627    left: 0;
 628    pointer-events: none;
 629    border: 1px dashed currentColor;
 630  }
 631  .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 {
 632    opacity: 0;
 633  }
 634  .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 {
 635    opacity: 1;
 636  }
 637  .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 {
 638    border: none;
 639  }
 640  .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 {
 641    opacity: 1;
 642  }
 643  .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 {
 644    border: none;
 645  }
 646  .block-list-appender:only-child:has(.block-editor-button-block-appender).is-drag-over .block-editor-button-block-appender {
 647    background-color: var(--wp-admin-theme-color);
 648    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.65);
 649    color: rgba(255, 255, 255, 0.65);
 650  }
 651  @media not (prefers-reduced-motion) {
 652    .block-list-appender:only-child:has(.block-editor-button-block-appender).is-drag-over .block-editor-button-block-appender {
 653      transition: background-color 0.2s ease-in-out;
 654    }
 655  }
 656  
 657  /**
 658   * Default block appender.
 659   *
 660   * This component shows up in 3 places:
 661   * - the black plus that sits at the end of the canvas, if the last block isn't a paragraph
 662   * - on the right, inside empty paragraphs
 663   * - absolute positioned and blue inside nesting containers
 664   */
 665  .block-editor-default-block-appender {
 666    clear: both;
 667    margin-left: auto;
 668    margin-right: auto;
 669    position: relative;
 670  }
 671  .block-editor-default-block-appender[data-root-client-id=""] .block-editor-default-block-appender__content:hover {
 672    outline: 1px solid transparent;
 673  }
 674  .block-editor-default-block-appender .block-editor-default-block-appender__content {
 675    opacity: 0.62;
 676    text-shadow: none;
 677    margin-block-start: 0;
 678    margin-block-end: 0;
 679  }
 680  .block-editor-default-block-appender .components-drop-zone__content-icon {
 681    display: none;
 682  }
 683  .block-editor-default-block-appender .block-editor-inserter__toggle.components-button.has-icon {
 684    background: #1e1e1e;
 685    color: #fff;
 686    padding: 0;
 687    min-width: 24px;
 688    height: 24px;
 689  }
 690  .block-editor-default-block-appender .block-editor-inserter__toggle.components-button.has-icon:hover {
 691    color: #fff;
 692    background: var(--wp-admin-theme-color);
 693  }
 694  @media not (prefers-reduced-motion) {
 695    .block-editor-default-block-appender .block-editor-inserter__toggle.components-button.has-icon svg {
 696      transition: transform cubic-bezier(0.165, 0.84, 0.44, 1) 0.2s;
 697    }
 698  }
 699  .block-editor-default-block-appender .block-editor-inserter__toggle.components-button.has-icon.is-pressed svg {
 700    transform: rotate(45deg);
 701  }
 702  
 703  .block-editor-default-block-appender .block-editor-inserter {
 704    position: absolute;
 705    top: 0;
 706    right: 0;
 707    line-height: 0;
 708  }
 709  .block-editor-default-block-appender .block-editor-inserter:disabled {
 710    display: none;
 711  }
 712  
 713  /**
 714   * Fixed position appender (right bottom corner).
 715   *
 716   * These styles apply to all in-canvas inserters. All in-canvas inserters always
 717   * exist within a block.
 718   */
 719  .block-editor-block-list__block .block-list-appender {
 720    position: absolute;
 721    list-style: none;
 722    padding: 0;
 723    z-index: 2;
 724    bottom: 0;
 725    right: 0;
 726  }
 727  .block-editor-block-list__block .block-list-appender.block-list-appender {
 728    margin: 0;
 729    line-height: 0;
 730  }
 731  .block-editor-block-list__block .block-list-appender .block-editor-inserter:disabled {
 732    display: none;
 733  }
 734  .block-editor-block-list__block .block-list-appender .block-editor-default-block-appender {
 735    height: 24px;
 736  }
 737  .block-editor-block-list__block .block-list-appender .block-editor-inserter__toggle.components-button.has-icon,
 738  .block-editor-block-list__block .block-list-appender .block-list-appender__toggle {
 739    background: #1e1e1e;
 740    color: #fff;
 741    padding: 0;
 742    min-width: 24px;
 743    height: 24px;
 744  }
 745  .block-editor-block-list__block .block-list-appender .block-editor-inserter__toggle.components-button.has-icon:hover,
 746  .block-editor-block-list__block .block-list-appender .block-list-appender__toggle:hover {
 747    color: #fff;
 748    background: var(--wp-admin-theme-color);
 749  }
 750  @media not (prefers-reduced-motion) {
 751    .block-editor-block-list__block .block-list-appender .block-editor-inserter__toggle.components-button.has-icon svg,
 752    .block-editor-block-list__block .block-list-appender .block-list-appender__toggle svg {
 753      transition: transform cubic-bezier(0.165, 0.84, 0.44, 1) 0.2s;
 754    }
 755  }
 756  .block-editor-block-list__block .block-list-appender .block-editor-inserter__toggle.components-button.has-icon.is-pressed svg,
 757  .block-editor-block-list__block .block-list-appender .block-list-appender__toggle.is-pressed svg {
 758    transform: rotate(45deg);
 759  }
 760  .block-editor-block-list__block .block-list-appender .block-editor-inserter__toggle.components-button.has-icon,
 761  .block-editor-block-list__block .block-list-appender .block-list-appender__toggle {
 762    flex-direction: row;
 763    box-shadow: none;
 764    width: 24px;
 765    display: none;
 766    padding: 0 !important;
 767  }
 768  .block-editor-block-list__block .block-list-appender .block-editor-default-block-appender__content {
 769    display: none;
 770  }
 771  .block-editor-block-list__block .block-list-appender:first-child {
 772    position: relative;
 773    right: auto;
 774    align-self: center;
 775    list-style: none;
 776    line-height: inherit;
 777  }
 778  .block-editor-block-list__block .block-list-appender:first-child .block-editor-default-block-appender__content {
 779    display: block;
 780  }
 781  
 782  .block-editor-block-list__block.is-selected .block-editor-block-list__layout > .block-list-appender .block-editor-inserter__toggle.components-button.has-icon,
 783  .block-editor-block-list__block.is-selected .block-editor-block-list__layout > .block-list-appender .block-list-appender__toggle,
 784  .block-editor-block-list__block.is-selected > .block-list-appender .block-editor-inserter__toggle.components-button.has-icon,
 785  .block-editor-block-list__block.is-selected > .block-list-appender .block-list-appender__toggle {
 786    display: flex;
 787  }
 788  
 789  .block-editor-default-block-appender__content {
 790    cursor: text;
 791  }
 792  
 793  .block-editor-iframe__body {
 794    position: relative;
 795  }
 796  
 797  .block-editor-iframe__html {
 798    transform-origin: top center;
 799  }
 800  @media not (prefers-reduced-motion) {
 801    .block-editor-iframe__html {
 802      transition: background-color 400ms;
 803    }
 804  }
 805  .block-editor-iframe__html.zoom-out-animation {
 806    position: fixed;
 807    left: 0;
 808    right: 0;
 809    top: calc(-1 * var(--wp-block-editor-iframe-zoom-out-scroll-top, 0px));
 810    bottom: 0;
 811    overflow-y: var(--wp-block-editor-iframe-zoom-out-overflow-behavior, scroll);
 812  }
 813  .block-editor-iframe__html.is-zoomed-out {
 814    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)));
 815    scale: var(--wp-block-editor-iframe-zoom-out-scale, 1);
 816    background-color: var(--wp-editor-canvas-background);
 817    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));
 818    padding-top: calc(var(--wp-block-editor-iframe-zoom-out-frame-size, 0px) / var(--wp-block-editor-iframe-zoom-out-scale, 1));
 819    padding-bottom: calc(var(--wp-block-editor-iframe-zoom-out-frame-size, 0px) / var(--wp-block-editor-iframe-zoom-out-scale, 1));
 820  }
 821  .block-editor-iframe__html.is-zoomed-out body {
 822    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));
 823  }
 824  .block-editor-iframe__html.is-zoomed-out body > .is-root-container:not(.wp-block-post-content) {
 825    flex: 1;
 826    display: flex;
 827    flex-direction: column;
 828    height: 100%;
 829  }
 830  .block-editor-iframe__html.is-zoomed-out body > .is-root-container:not(.wp-block-post-content) > main {
 831    flex: 1;
 832  }
 833  .block-editor-iframe__html.is-zoomed-out .wp-block[draggable] {
 834    cursor: grab;
 835  }
 836  
 837  .block-editor-media-placeholder__cancel-button.is-link {
 838    margin: 1em;
 839    display: block;
 840  }
 841  
 842  .block-editor-media-placeholder.is-appender {
 843    min-height: 0;
 844  }
 845  .block-editor-media-placeholder.is-appender:hover {
 846    cursor: var(--wpds-cursor-control, pointer);
 847    box-shadow: 0 0 0 1px var(--wp-admin-theme-color);
 848  }
 849  
 850  .block-editor-plain-text {
 851    box-shadow: none;
 852    font-family: inherit;
 853    font-size: inherit;
 854    color: inherit;
 855    line-height: inherit;
 856    border: none;
 857    padding: 0;
 858    margin: 0;
 859    width: 100%;
 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  }


Generated : Sat Sep 12 08:20:32 2026 Cross-referenced by PHPXref