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


Generated : Wed Apr 15 08:20:10 2026 Cross-referenced by PHPXref