PluginProbe
Gutenberg / 24.1.0
Gutenberg v24.1.0
24.1.0 24.0.0 23.9.1 23.9.0 23.8.0 23.7.2 23.7.1 23.7.0 23.6.1 23.6.2 23.6.0 23.5.3 23.5.2 23.5.1 23.5.0 23.4.0 23.3.2 23.3.1 23.3.0 23.2.0 23.2.1 23.2.2 23.1.1 23.1.0 23.0.1 All 404 releases
← All changes | build/styles/media-utils/style.css +43 -7 23.2.2 → 24.1.0 View file →
@@ -1,8 +1,5 @@
1 1 /**
2 - * Typography
3 - */
4 -/**
5 2 * SCSS Variables.
6 3 *
7 4 * Please use variables from this sheet to ensure consistency across the UI.
8 5 * Don't add to this sheet unless you're pretty sure the value will be reused in many places.
@@ -45,9 +42,25 @@
45 42 /**
46 43 * React Native specific.
47 44 * These variables do not appear to be used anywhere else.
48 45 */
46 +.components-popover__content:has(.dataviews-media-field__attached-to) {
47 + margin-bottom: 96px;
48 +}
49 +
50 +.components-popover__content:has(.dataviews-media-field__attached-to):has(.components-form-token-field__suggestions-list) {
51 + margin-bottom: 0;
52 +}
53 +
54 +.components-popover__content:has(.dataviews-media-field__attached-to) .components-form-token-field__suggestions-list {
55 + height: 96px;
56 + max-height: none;
57 +}
58 +
49 59 /**
60 + * Typography
61 + */
62 +/**
50 63 * Breakpoints & Media Queries
51 64 */
52 65 /**
53 66 * Converts a hex value into the rgb equivalent.
@@ -67,8 +80,14 @@
67 80 /**
68 81 * Focus styles.
69 82 */
70 83 /**
84 + * Standard focus rings for the WordPress Design System.
85 + *
86 + * Apply `outset-ring__focus` inside the relevant pseudo-class at the call site,
87 + * e.g. `&:focus { @include outset-ring__focus(); }`.
88 + */
89 +/**
71 90 * Applies editor left position to the selector passed as argument
72 91 */
73 92 /**
74 93 * Styles that are reused verbatim in a few places
@@ -134,8 +153,19 @@
134 153 text-overflow: ellipsis;
135 154 overflow: hidden;
136 155 }
137 156
157 +.dataviews-view-table .dataviews-media-field__filename,
158 +.dataviews-view-grid .dataviews-media-field__filename,
159 +.dataviews-view-list .dataviews-media-field__filename {
160 + display: inline-block;
161 + max-inline-size: 15ch;
162 + overflow: hidden;
163 + text-overflow: ellipsis;
164 + white-space: nowrap;
165 + vertical-align: top;
166 +}
167 +
138 168 .dataviews-media-field__media-thumbnail {
139 169 display: flex;
140 170 align-items: center;
141 171 position: relative;
@@ -179,10 +209,10 @@
179 209 text-align: center;
180 210 padding: 0 16px;
181 211 width: 100%;
182 212 container-type: inline-size;
183 - font-family: -apple-system, "system-ui", "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
184 - font-weight: 400;
213 + font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
214 + font-weight: var(--wpds-typography-font-weight-default, 400);
185 215 font-size: 12px;
186 216 line-height: 16px;
187 217 }
188 218
@@ -264,8 +294,14 @@
264 294 /**
265 295 * Focus styles.
266 296 */
267 297 /**
298 + * Standard focus rings for the WordPress Design System.
299 + *
300 + * Apply `outset-ring__focus` inside the relevant pseudo-class at the call site,
301 + * e.g. `&:focus { @include outset-ring__focus(); }`.
302 + */
303 +/**
268 304 * Applies editor left position to the selector passed as argument
269 305 */
270 306 /**
271 307 * Styles that are reused verbatim in a few places
@@ -327,9 +363,9 @@
327 363 }
328 364
329 365 .media-upload-modal__snackbar {
330 366 position: fixed;
331 - bottom: 24px;
367 + bottom: var(--wpds-dimension-size-md, 32px);
332 368 left: 0;
333 369 right: 0;
334 370 padding-inline: 16px;
335 371 box-sizing: border-box;
@@ -359,9 +395,9 @@
359 395 }
360 396 .media-upload-modal__upload-status__popover .media-upload-modal__upload-status__header h3 {
361 397 margin: 0;
362 398 font-size: 13px;
363 - font-weight: 499;
399 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
364 400 }
365 401 .media-upload-modal__upload-status__popover .media-upload-modal__upload-status__list {
366 402 max-height: 200px;
367 403 overflow-y: auto;