[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-includes/blocks/columns/ -> style-rtl.css (source)

   1  /**
   2   * Breakpoints & Media Queries
   3   */
   4  /**
   5   * Typography
   6   */
   7  /**
   8   * SCSS Variables.
   9   *
  10   * Please use variables from this sheet to ensure consistency across the UI.
  11   * Don't add to this sheet unless you're pretty sure the value will be reused in many places.
  12   * For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
  13   */
  14  /**
  15   * Colors
  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  .wp-block-columns {
  97    display: flex;
  98    box-sizing: border-box;
  99    flex-wrap: wrap !important;
 100  }
 101  @media (min-width: 782px) {
 102    .wp-block-columns {
 103      flex-wrap: nowrap !important;
 104    }
 105  }
 106  .wp-block-columns {
 107    align-items: initial !important;
 108    /**
 109    * All Columns Alignment
 110    */
 111  }
 112  .wp-block-columns.are-vertically-aligned-top {
 113    align-items: flex-start;
 114  }
 115  .wp-block-columns.are-vertically-aligned-center {
 116    align-items: center;
 117  }
 118  .wp-block-columns.are-vertically-aligned-bottom {
 119    align-items: flex-end;
 120  }
 121  @media (max-width: 781px) {
 122    .wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column {
 123      flex-basis: 100% !important;
 124    }
 125  }
 126  @media (min-width: 782px) {
 127    .wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column {
 128      flex-basis: 0;
 129      flex-grow: 1;
 130    }
 131    .wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column[style*=flex-basis] {
 132      flex-grow: 0;
 133    }
 134  }
 135  .wp-block-columns.is-not-stacked-on-mobile {
 136    flex-wrap: nowrap !important;
 137  }
 138  .wp-block-columns.is-not-stacked-on-mobile > .wp-block-column {
 139    flex-basis: 0;
 140    flex-grow: 1;
 141  }
 142  .wp-block-columns.is-not-stacked-on-mobile > .wp-block-column[style*=flex-basis] {
 143    flex-grow: 0;
 144  }
 145  
 146  :where(.wp-block-columns) {
 147    margin-bottom: 1.75em;
 148  }
 149  
 150  :where(.wp-block-columns.has-background) {
 151    padding: 1.25em 2.375em;
 152  }
 153  
 154  .wp-block-column {
 155    flex-grow: 1;
 156    min-width: 0;
 157    word-break: break-word;
 158    overflow-wrap: break-word;
 159    /**
 160    * Individual Column Alignment
 161    */
 162  }
 163  .wp-block-column.is-vertically-aligned-top {
 164    align-self: flex-start;
 165  }
 166  .wp-block-column.is-vertically-aligned-center {
 167    align-self: center;
 168  }
 169  .wp-block-column.is-vertically-aligned-bottom {
 170    align-self: flex-end;
 171  }
 172  .wp-block-column.is-vertically-aligned-stretch {
 173    align-self: stretch;
 174  }
 175  .wp-block-column.is-vertically-aligned-top, .wp-block-column.is-vertically-aligned-center, .wp-block-column.is-vertically-aligned-bottom {
 176    width: 100%;
 177  }


Generated : Sat Jul 25 08:20:20 2026 Cross-referenced by PHPXref