[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-includes/css/dist/block-directory/ -> style.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   * 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  :root {
  97    --wp-block-synced-color: #7a00df;
  98    --wp-block-synced-color--rgb: 122, 0, 223;
  99    --wp-bound-block-color: var(--wp-block-synced-color);
 100    --wp-editor-canvas-background: #ddd;
 101    --wp-admin-theme-color: #007cba;
 102    --wp-admin-theme-color--rgb: 0, 124, 186;
 103    --wp-admin-theme-color-darker-10: rgb(0, 107, 160.5);
 104    --wp-admin-theme-color-darker-10--rgb: 0, 107, 160.5;
 105    --wp-admin-theme-color-darker-20: #005a87;
 106    --wp-admin-theme-color-darker-20--rgb: 0, 90, 135;
 107    --wp-admin-border-width-focus: 2px;
 108  }
 109  @media (min-resolution: 192dpi) {
 110    :root {
 111      --wp-admin-border-width-focus: 1.5px;
 112    }
 113  }
 114  
 115  .block-directory-block-ratings > span {
 116    display: flex;
 117  }
 118  .block-directory-block-ratings svg {
 119    fill: #1e1e1e;
 120    margin-left: -4px;
 121  }
 122  .block-directory-block-ratings .block-directory-block-ratings__star-empty {
 123    fill: #ccc;
 124  }
 125  
 126  .block-directory-compact-list {
 127    margin: 0;
 128    list-style: none;
 129  }
 130  
 131  .block-directory-compact-list__item {
 132    display: flex;
 133    flex-direction: row;
 134    align-items: center;
 135    margin-bottom: 16px;
 136  }
 137  .block-directory-compact-list__item:last-child {
 138    margin-bottom: 0;
 139  }
 140  
 141  .block-directory-compact-list__item-details {
 142    margin-left: 8px;
 143  }
 144  
 145  .block-directory-compact-list__item-title {
 146    font-weight: var(--wpds-typography-font-weight-emphasis, 600);
 147  }
 148  
 149  .block-directory-compact-list__item-author {
 150    color: #757575;
 151    font-size: 11px;
 152  }
 153  
 154  .block-directory-downloadable-block-icon {
 155    min-width: 54px;
 156    width: 54px;
 157    height: 54px;
 158    vertical-align: middle;
 159    border: 1px solid #ddd;
 160  }
 161  
 162  .block-directory-downloadable-block-list-item + .block-directory-downloadable-block-list-item {
 163    margin-top: 4px;
 164  }
 165  .block-directory-downloadable-block-list-item {
 166    display: grid;
 167    grid-template-columns: auto 1fr;
 168    width: 100%;
 169    height: auto;
 170    padding: 12px;
 171    margin: 0;
 172    -webkit-appearance: none;
 173       -moz-appearance: none;
 174            appearance: none;
 175    background: none;
 176    border: 0;
 177    text-align: left;
 178  }
 179  @media not (prefers-reduced-motion) {
 180    .block-directory-downloadable-block-list-item {
 181      transition: box-shadow 0.1s linear;
 182    }
 183  }
 184  .block-directory-downloadable-block-list-item {
 185    position: relative;
 186  }
 187  .block-directory-downloadable-block-list-item:not([aria-disabled=true]) {
 188    cursor: var(--wpds-cursor-control, pointer);
 189  }
 190  .block-directory-downloadable-block-list-item:hover {
 191    box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
 192    outline: 2px solid transparent;
 193  }
 194  .block-directory-downloadable-block-list-item[data-focus-visible] {
 195    box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
 196    outline: 2px solid transparent;
 197  }
 198  .block-directory-downloadable-block-list-item.is-installing .block-directory-downloadable-block-list-item__author {
 199    display: none;
 200  }
 201  
 202  .block-directory-downloadable-block-list-item__icon {
 203    position: relative;
 204    margin-right: 16px;
 205    align-self: flex-start;
 206  }
 207  .block-directory-downloadable-block-list-item__icon .block-directory-downloadable-block-list-item__spinner {
 208    position: absolute;
 209    top: 0;
 210    right: 0;
 211    bottom: 0;
 212    left: 0;
 213    background: rgba(255, 255, 255, 0.75);
 214    display: flex;
 215    align-items: center;
 216    justify-content: center;
 217  }
 218  .is-installing .block-directory-downloadable-block-list-item__icon {
 219    margin-right: 22px;
 220  }
 221  
 222  .block-directory-block-ratings {
 223    display: block;
 224    margin-top: 4px;
 225  }
 226  
 227  .block-directory-downloadable-block-list-item__details {
 228    color: #1e1e1e;
 229  }
 230  
 231  .block-directory-downloadable-block-list-item__title {
 232    display: block;
 233    font-weight: var(--wpds-typography-font-weight-emphasis, 600);
 234  }
 235  
 236  .block-directory-downloadable-block-list-item__author {
 237    display: block;
 238    margin-top: 4px;
 239    font-weight: normal;
 240  }
 241  
 242  .block-directory-downloadable-block-list-item__desc {
 243    display: block;
 244    margin-top: 8px;
 245  }
 246  
 247  .block-directory-downloadable-block-notice {
 248    margin: 8px 0 0;
 249    color: #cc1818;
 250  }
 251  
 252  .block-directory-downloadable-block-notice__content {
 253    padding-right: 12px;
 254    margin-bottom: 8px;
 255  }
 256  
 257  .block-directory-downloadable-blocks-panel {
 258    padding: 16px;
 259  }
 260  .block-directory-downloadable-blocks-panel.has-blocks-loading {
 261    font-style: normal;
 262    padding: 0;
 263    margin: 112px 0;
 264    text-align: center;
 265    color: #757575;
 266  }
 267  .block-directory-downloadable-blocks-panel.has-blocks-loading .components-spinner {
 268    float: inherit;
 269  }
 270  
 271  .block-directory-downloadable-blocks-panel__no-local {
 272    margin: 48px 0;
 273    padding: 0 64px;
 274    color: #757575;
 275    text-align: center;
 276  }
 277  
 278  .block-directory-downloadable-blocks-panel__title {
 279    margin: 0 0 4px;
 280    font-size: 14px;
 281  }
 282  
 283  .block-directory-downloadable-blocks-panel__description {
 284    margin-top: 0;
 285  }
 286  
 287  .installed-blocks-pre-publish-panel__copy {
 288    margin-top: 0;
 289  }


Generated : Sun Jul 26 08:20:18 2026 Cross-referenced by PHPXref