[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

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


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