[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-includes/css/dist/edit-post/ -> classic-rtl.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  .editor-styles-wrapper :where(:not(.is-layout-flex, .is-layout-grid)) > .wp-block {
  91    margin-right: auto;
  92    margin-left: auto;
  93  }
  94  
  95  .editor-styles-wrapper {
  96    padding: 8px;
  97  }
  98  
  99  html :where(.editor-styles-wrapper) .block-editor-block-list__layout.is-root-container > .wp-block[data-align=full] {
 100    margin-right: -8px;
 101    margin-left: -8px;
 102  }
 103  
 104  html :where(.wp-block) {
 105    max-width: 840px;
 106    margin-top: 28px;
 107    margin-bottom: 28px;
 108  }
 109  html :where(.wp-block)[data-align=wide] {
 110    max-width: 1100px;
 111  }
 112  html :where(.wp-block)[data-align=full] {
 113    max-width: none;
 114  }
 115  html :where(.wp-block)[data-align=left], html :where(.wp-block)[data-align=right] {
 116    width: 100%;
 117    height: 0;
 118  }
 119  html :where(.wp-block)[data-align=left]::before, html :where(.wp-block)[data-align=right]::before {
 120    content: none;
 121  }
 122  html :where(.wp-block)[data-align=left] > * {
 123    float: left;
 124    margin-right: 2em;
 125  }
 126  html :where(.wp-block)[data-align=right] > * {
 127    float: right;
 128    margin-left: 2em;
 129  }
 130  html :where(.wp-block)[data-align=full], html :where(.wp-block)[data-align=wide] {
 131    clear: both;
 132  }
 133  
 134  .wp-block-group > [data-align=full] {
 135    margin-right: auto;
 136    margin-left: auto;
 137  }
 138  
 139  .wp-block-group.has-background > [data-align=full] {
 140    margin-right: -30px;
 141    width: calc(100% + 60px);
 142  }
 143  
 144  /**
 145  * Group: Full Width Alignment
 146  */
 147  [data-align=full] .wp-block-group > .wp-block {
 148    padding-right: 14px;
 149    padding-left: 14px;
 150  }
 151  @media (min-width: 600px) {
 152    [data-align=full] .wp-block-group > .wp-block {
 153      padding-right: 0;
 154      padding-left: 0;
 155    }
 156  }
 157  [data-align=full] .wp-block-group > [data-align=full] {
 158    padding-left: 0;
 159    padding-right: 0;
 160    right: 0;
 161    width: 100%;
 162    max-width: none;
 163  }
 164  [data-align=full] .wp-block-group.has-background > [data-align=full] {
 165    width: calc(100% + 60px);
 166  }


Generated : Tue Jun 16 08:20:09 2026 Cross-referenced by PHPXref