/** * Typography */ /** * SCSS Variables. * * Please use variables from this sheet to ensure consistency across the UI. * Don't add to this sheet unless you're pretty sure the value will be reused in many places. * For example, don't add rules to this sheet that affect block visuals. It's purely for UI. */ /** * Colors */ /** * Fonts & basic variables. */ /** * Typography */ /** * Grid System. * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/ */ /** * Radius scale. */ /** * Elevation scale. */ /** * Dimensions. */ /** * Mobile specific styles */ /** * Editor styles. */ /** * Block & Editor UI. */ /** * Block paddings. */ /** * React Native specific. * These variables do not appear to be used anywhere else. */ /** * Breakpoints & Media Queries */ /** * Converts a hex value into the rgb equivalent. * * @param {string} hex - the hexadecimal value to convert * @return {string} comma separated rgb values */ /** * Long content fade mixin * * Creates a fading overlay to signify that the content is longer * than the space allows. */ /** * Breakpoint mixins */ /** * Focus styles. */ /** * Applies editor left position to the selector passed as argument */ /** * Styles that are reused verbatim in a few places */ /** * Allows users to opt-out of animations via OS-level preferences. */ /** * Reset default styles for JavaScript UI based pages. * This is a WP-admin agnostic reset */ /** * Reset the WP Admin page styles for Gutenberg-like pages. */ .dataviews-media-field__media-thumbnail { display: flex; align-items: center; position: relative; height: 100%; } .dataviews-media-field__media-thumbnail--image { display: block; width: 100%; height: 100%; object-fit: cover; } .dataviews-media-field__media-thumbnail__stack { color: #757575; box-sizing: border-box; width: 100%; height: 100%; } .dataviews-media-field__media-thumbnail--icon { color: #757575; fill: currentColor; } .dataviews-media-field__media-thumbnail__filename { box-sizing: border-box; text-align: center; padding: 0 16px; width: 100%; container-type: inline-size; font-family: -apple-system, "system-ui", "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; font-weight: 400; font-size: 12px; line-height: 16px; } .dataviews-media-field__media-thumbnail__filename__truncate { margin-top: 4px; } @container (max-width: 90px) { .dataviews-media-field__media-thumbnail__filename__truncate { display: none !important; } }