[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-includes/css/dist/media-utils/ -> style-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   * 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  .media-author-field__avatar {
  97    flex-shrink: 0;
  98    overflow: hidden;
  99    width: 24px;
 100    height: 24px;
 101    align-items: center;
 102    justify-content: right;
 103    display: flex;
 104  }
 105  
 106  .media-author-field__avatar img {
 107    width: 16px;
 108    height: 16px;
 109    -o-object-fit: cover;
 110    object-fit: cover;
 111    opacity: 1;
 112    border-radius: 100%;
 113  }
 114  
 115  @media not (prefers-reduced-motion) {
 116    .media-author-field__avatar.is-loading img, .media-author-field__avatar.is-loaded img {
 117      transition: opacity 0.1s linear;
 118    }
 119  }
 120  .media-author-field__avatar.is-loading img {
 121    opacity: 0;
 122  }
 123  
 124  .media-author-field__avatar.is-loaded img {
 125    opacity: 1;
 126  }
 127  
 128  .media-author-field__icon {
 129    display: flex;
 130    flex-shrink: 0;
 131    width: 24px;
 132    height: 24px;
 133  }
 134  
 135  .media-author-field__icon svg {
 136    margin-right: -4px;
 137    fill: currentColor;
 138  }
 139  
 140  .media-author-field__name {
 141    text-overflow: ellipsis;
 142    overflow: hidden;
 143  }
 144  
 145  .dataviews-view-table .dataviews-media-field__filename,
 146  .dataviews-view-grid .dataviews-media-field__filename,
 147  .dataviews-view-list .dataviews-media-field__filename {
 148    display: inline-block;
 149    max-inline-size: 15ch;
 150    overflow: hidden;
 151    text-overflow: ellipsis;
 152    white-space: nowrap;
 153    vertical-align: top;
 154  }
 155  
 156  .dataviews-media-field__media-thumbnail {
 157    display: flex;
 158    align-items: center;
 159    position: relative;
 160    height: 100%;
 161  }
 162  
 163  @media not (prefers-reduced-motion) {
 164    .dataviews-media-field__media-thumbnail.is-loading img, .dataviews-media-field__media-thumbnail.is-loaded img {
 165      transition: opacity 0.1s linear;
 166    }
 167  }
 168  .dataviews-media-field__media-thumbnail.is-loading img {
 169    opacity: 0;
 170  }
 171  
 172  .dataviews-media-field__media-thumbnail.is-loaded img {
 173    opacity: 1;
 174  }
 175  
 176  .dataviews-media-field__media-thumbnail--image {
 177    display: block;
 178    width: 100%;
 179    height: 100%;
 180    -o-object-fit: cover;
 181    object-fit: cover;
 182  }
 183  
 184  .dataviews-media-field__media-thumbnail__stack {
 185    color: #757575;
 186    box-sizing: border-box;
 187    width: 100%;
 188    height: 100%;
 189  }
 190  
 191  .dataviews-media-field__media-thumbnail--icon {
 192    color: #757575;
 193    fill: currentColor;
 194  }
 195  
 196  .dataviews-media-field__media-thumbnail__filename {
 197    box-sizing: border-box;
 198    text-align: center;
 199    padding: 0 16px;
 200    width: 100%;
 201    container-type: inline-size;
 202    font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
 203    font-weight: var(--wpds-typography-font-weight-default, 400);
 204    font-size: 12px;
 205    line-height: 16px;
 206  }
 207  
 208  .dataviews-media-field__media-thumbnail__filename__truncate {
 209    margin-top: 4px;
 210  }
 211  
 212  @container (max-width: 90px) {
 213    .dataviews-media-field__media-thumbnail__filename__truncate {
 214      display: none !important;
 215    }
 216  }
 217  /**
 218   * SCSS Variables.
 219   *
 220   * Please use variables from this sheet to ensure consistency across the UI.
 221   * Don't add to this sheet unless you're pretty sure the value will be reused in many places.
 222   * For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
 223   */
 224  /**
 225   * Colors
 226   */
 227  /**
 228   * Fonts & basic variables.
 229   */
 230  /**
 231   * Typography
 232   */
 233  /**
 234   * Grid System.
 235   * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
 236   */
 237  /**
 238   * Radius scale.
 239   */
 240  /**
 241   * Elevation scale.
 242   */
 243  /**
 244   * Dimensions.
 245   */
 246  /**
 247   * Mobile specific styles
 248   */
 249  /**
 250   * Editor styles.
 251   */
 252  /**
 253   * Block & Editor UI.
 254   */
 255  /**
 256   * Block paddings.
 257   */
 258  /**
 259   * React Native specific.
 260   * These variables do not appear to be used anywhere else.
 261   */
 262  /**
 263   * Typography
 264   */
 265  /**
 266   * Breakpoints & Media Queries
 267   */
 268  /**
 269  *  Converts a hex value into the rgb equivalent.
 270  *
 271  * @param {string} hex - the hexadecimal value to convert
 272  * @return {string} comma separated rgb values
 273  */
 274  /**
 275   * Long content fade mixin
 276   *
 277   * Creates a fading overlay to signify that the content is longer
 278   * than the space allows.
 279   */
 280  /**
 281   * Breakpoint mixins
 282   */
 283  /**
 284   * Focus styles.
 285   */
 286  /**
 287   * Standard focus rings for the WordPress Design System.
 288   *
 289   * Apply `outset-ring__focus` inside the relevant pseudo-class at the call site,
 290   * e.g. `&:focus { @include outset-ring__focus(); }`.
 291   */
 292  /**
 293   * Applies editor left position to the selector passed as argument
 294   */
 295  /**
 296   * Styles that are reused verbatim in a few places
 297   */
 298  /**
 299   * Allows users to opt-out of animations via OS-level preferences.
 300   */
 301  /**
 302   * Reset default styles for JavaScript UI based pages.
 303   * This is a WP-admin agnostic reset
 304   */
 305  /**
 306   * Reset the WP Admin page styles for Gutenberg-like pages.
 307   */
 308  /**
 309   * Creates a checkerboard pattern background to indicate transparency.
 310   * @param {String} $size - The size of the squares in the checkerboard pattern. Default is 12px.
 311   */
 312  .media-upload-modal .components-modal__header {
 313    padding-bottom: 8px;
 314  }
 315  .media-upload-modal .components-modal__frame.is-full-screen .components-modal__content {
 316    margin-bottom: 0;
 317  }
 318  .media-upload-modal .components-modal__content {
 319    padding: 0;
 320  }
 321  .media-upload-modal .dataviews-picker-wrapper > .dataviews__view-actions {
 322    padding-top: 8px;
 323  }
 324  .media-upload-modal .media-upload-modal__footer {
 325    position: sticky;
 326    bottom: 0;
 327    background-color: inherit;
 328    z-index: 2;
 329  }
 330  .media-upload-modal .media-upload-modal__footer.is-uploading .dataviews-picker-footer__bulk-selection {
 331    visibility: hidden;
 332  }
 333  .media-upload-modal .media-upload-modal__footer .dataviews-footer {
 334    position: static;
 335    z-index: auto;
 336  }
 337  .media-upload-modal .media-upload-modal__upload-status {
 338    position: absolute;
 339    display: flex;
 340    align-items: center;
 341    gap: 8px;
 342    background-color: var(--wp-dataviews-color-background, #fff);
 343    right: 24px;
 344    top: 1px;
 345    bottom: 1px;
 346    z-index: 1;
 347  }
 348  .media-upload-modal .media-upload-modal__upload-status .components-spinner {
 349    width: 16px;
 350    height: 16px;
 351    margin: 0;
 352  }
 353  
 354  .media-upload-modal__snackbar {
 355    position: fixed;
 356    bottom: 24px;
 357    right: 0;
 358    left: 0;
 359    padding-inline: 16px;
 360    box-sizing: border-box;
 361    display: flex;
 362    flex-direction: column;
 363    pointer-events: none;
 364  }
 365  .media-upload-modal__snackbar .components-snackbar {
 366    margin-inline: auto;
 367  }
 368  .media-upload-modal__snackbar {
 369    z-index: 200000;
 370  }
 371  .media-upload-modal__snackbar > div {
 372    transform: none !important;
 373    transform-origin: 100% !important;
 374  }
 375  
 376  .media-upload-modal__upload-status__popover .components-popover__content {
 377    width: 320px;
 378  }
 379  .media-upload-modal__upload-status__popover .media-upload-modal__upload-status__header {
 380    display: flex;
 381    align-items: center;
 382    justify-content: space-between;
 383    padding: 12px 16px;
 384  }
 385  .media-upload-modal__upload-status__popover .media-upload-modal__upload-status__header h3 {
 386    margin: 0;
 387    font-size: 13px;
 388    font-weight: var(--wpds-typography-font-weight-emphasis, 600);
 389  }
 390  .media-upload-modal__upload-status__popover .media-upload-modal__upload-status__list {
 391    max-height: 200px;
 392    overflow-y: auto;
 393    margin: 0;
 394    padding: 0 0 4px;
 395    list-style: none;
 396  }
 397  .media-upload-modal__upload-status__popover .media-upload-modal__upload-status__item {
 398    display: flex;
 399    align-items: flex-start;
 400    margin-bottom: 0;
 401    justify-content: space-between;
 402    gap: 8px;
 403    padding: 8px 16px;
 404  }
 405  .media-upload-modal__upload-status__popover .media-upload-modal__upload-status__item .components-spinner {
 406    flex-shrink: 0;
 407    width: 16px;
 408    height: 16px;
 409    margin: 0;
 410  }
 411  .media-upload-modal__upload-status__popover .media-upload-modal__upload-status__filename {
 412    overflow: hidden;
 413    text-overflow: ellipsis;
 414    white-space: nowrap;
 415    min-width: 0;
 416    flex: 1;
 417    font-size: 12px;
 418  }


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