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


Generated : Mon Jun 15 08:20:09 2026 Cross-referenced by PHPXref