[ 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   * 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  .wp-block-columns {
  91    display: flex;
  92    box-sizing: border-box;
  93    flex-wrap: wrap !important;
  94  }
  95  @media (min-width: 782px) {
  96    .wp-block-columns {
  97      flex-wrap: nowrap !important;
  98    }
  99  }
 100  .wp-block-columns {
 101    align-items: initial !important;
 102    /**
 103    * All Columns Alignment
 104    */
 105  }
 106  .wp-block-columns.are-vertically-aligned-top {
 107    align-items: flex-start;
 108  }
 109  .wp-block-columns.are-vertically-aligned-center {
 110    align-items: center;
 111  }
 112  .wp-block-columns.are-vertically-aligned-bottom {
 113    align-items: flex-end;
 114  }
 115  @media (max-width: 781px) {
 116    .wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column {
 117      flex-basis: 100% !important;
 118    }
 119  }
 120  @media (min-width: 782px) {
 121    .wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column {
 122      flex-basis: 0;
 123      flex-grow: 1;
 124    }
 125    .wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column[style*=flex-basis] {
 126      flex-grow: 0;
 127    }
 128  }
 129  .wp-block-columns.is-not-stacked-on-mobile {
 130    flex-wrap: nowrap !important;
 131  }
 132  .wp-block-columns.is-not-stacked-on-mobile > .wp-block-column {
 133    flex-basis: 0;
 134    flex-grow: 1;
 135  }
 136  .wp-block-columns.is-not-stacked-on-mobile > .wp-block-column[style*=flex-basis] {
 137    flex-grow: 0;
 138  }
 139  
 140  :where(.wp-block-columns) {
 141    margin-bottom: 1.75em;
 142  }
 143  
 144  :where(.wp-block-columns.has-background) {
 145    padding: 1.25em 2.375em;
 146  }
 147  
 148  .wp-block-column {
 149    flex-grow: 1;
 150    min-width: 0;
 151    word-break: break-word;
 152    overflow-wrap: break-word;
 153    /**
 154    * Individual Column Alignment
 155    */
 156  }
 157  .wp-block-column.is-vertically-aligned-top {
 158    align-self: flex-start;
 159  }
 160  .wp-block-column.is-vertically-aligned-center {
 161    align-self: center;
 162  }
 163  .wp-block-column.is-vertically-aligned-bottom {
 164    align-self: flex-end;
 165  }
 166  .wp-block-column.is-vertically-aligned-stretch {
 167    align-self: stretch;
 168  }
 169  .wp-block-column.is-vertically-aligned-top, .wp-block-column.is-vertically-aligned-center, .wp-block-column.is-vertically-aligned-bottom {
 170    width: 100%;
 171  }


Generated : Sat Jun 13 09:38:55 2026 Cross-referenced by PHPXref