[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-includes/blocks/query/ -> editor.css (source)

   1  /**
   2   * Breakpoints & Media Queries
   3   */
   4  /**
   5   * Colors
   6   */
   7  /**
   8   * Typography
   9   */
  10  /**
  11   * SCSS Variables.
  12   *
  13   * Please use variables from this sheet to ensure consistency across the UI.
  14   * Don't add to this sheet unless you're pretty sure the value will be reused in many places.
  15   * For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
  16   */
  17  /**
  18   * Fonts & basic variables.
  19   */
  20  /**
  21   * Typography
  22   */
  23  /**
  24   * Grid System.
  25   * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
  26   */
  27  /**
  28   * Radius scale.
  29   */
  30  /**
  31   * Elevation scale.
  32   */
  33  /**
  34   * Dimensions.
  35   */
  36  /**
  37   * Mobile specific styles
  38   */
  39  /**
  40   * Editor styles.
  41   */
  42  /**
  43   * Block & Editor UI.
  44   */
  45  /**
  46   * Block paddings.
  47   */
  48  /**
  49   * React Native specific.
  50   * These variables do not appear to be used anywhere else.
  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  .block-library-query-pattern__selection-modal .block-editor-block-patterns-list {
  97    -moz-column-count: 2;
  98         column-count: 2;
  99    -moz-column-gap: 24px;
 100         column-gap: 24px;
 101  }
 102  @media (min-width: 1280px) {
 103    .block-library-query-pattern__selection-modal .block-editor-block-patterns-list {
 104      -moz-column-count: 3;
 105           column-count: 3;
 106    }
 107  }
 108  .block-library-query-pattern__selection-modal .block-editor-block-patterns-list .block-editor-block-patterns-list__list-item {
 109    -moz-column-break-inside: avoid;
 110         break-inside: avoid-column;
 111  }
 112  .block-library-query-pattern__selection-modal .block-library-query-pattern__selection-search {
 113    background: #fff;
 114    position: sticky;
 115    top: 0;
 116    padding: 16px 0;
 117    transform: translateY(-4px);
 118    margin-bottom: -4px;
 119    z-index: 2;
 120  }
 121  
 122  @media (min-width: 600px) {
 123    .wp-block-query__enhanced-pagination-modal {
 124      max-width: 480px;
 125    }
 126  }
 127  
 128  .block-editor-block-settings-menu__popover.is-expanded {
 129    overflow-y: scroll;
 130  }
 131  .block-editor-block-settings-menu__popover .block-library-query-pattern__selection-content {
 132    height: 100%;
 133  }
 134  .block-editor-block-settings-menu__popover .block-editor-block-patterns-list {
 135    display: grid;
 136    grid-template-columns: 1fr;
 137  }
 138  @media (min-width: 600px) {
 139    .block-editor-block-settings-menu__popover .block-editor-block-patterns-list {
 140      grid-template-columns: 1fr 1fr;
 141    }
 142  }
 143  .block-editor-block-settings-menu__popover .block-editor-block-patterns-list {
 144    grid-gap: 12px;
 145    min-width: 280px;
 146  }
 147  @media (min-width: 600px) {
 148    .block-editor-block-settings-menu__popover .block-editor-block-patterns-list {
 149      min-width: 480px;
 150    }
 151  }
 152  .block-editor-block-settings-menu__popover .block-editor-block-patterns-list__list-item {
 153    margin-bottom: 0;
 154  }
 155  
 156  .wp-block-query > .block-editor-media-placeholder.is-small {
 157    min-height: 60px;
 158  }


Generated : Wed Jul 29 08:20:18 2026 Cross-referenced by PHPXref