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


Generated : Fri Nov 13 08:20:01 2026 Cross-referenced by PHPXref