PluginProbe
Gutenberg / 22.5.1
Gutenberg v22.5.1
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 12.6.0 All 403 releases
gutenberg / build / styles / media-utils / style-rtl.css

style-rtl.css in Gutenberg 22.5.1, at build/styles/media-utils/style-rtl.css

251 lines 4.8 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
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 .media-author-field__avatar {
91 flex-shrink: 0;
92 overflow: hidden;
93 width: 24px;
94 height: 24px;
95 align-items: center;
96 justify-content: right;
97 display: flex;
98 }
99
100 .media-author-field__avatar img {
101 width: 16px;
102 height: 16px;
103 object-fit: cover;
104 opacity: 1;
105 border-radius: 100%;
106 }
107
108 @media not (prefers-reduced-motion) {
109 .media-author-field__avatar.is-loading img, .media-author-field__avatar.is-loaded img {
110 transition: opacity 0.1s linear;
111 }
112 }
113 .media-author-field__avatar.is-loading img {
114 opacity: 0;
115 }
116
117 .media-author-field__avatar.is-loaded img {
118 opacity: 1;
119 }
120
121 .media-author-field__icon {
122 display: flex;
123 flex-shrink: 0;
124 width: 24px;
125 height: 24px;
126 }
127
128 .media-author-field__icon svg {
129 margin-right: -4px;
130 fill: currentColor;
131 }
132
133 .media-author-field__name {
134 text-overflow: ellipsis;
135 overflow: hidden;
136 }
137
138 .dataviews-media-field__media-thumbnail {
139 display: flex;
140 align-items: center;
141 position: relative;
142 height: 100%;
143 }
144
145 .dataviews-media-field__media-thumbnail--image {
146 display: block;
147 width: 100%;
148 height: 100%;
149 object-fit: cover;
150 }
151
152 .dataviews-media-field__media-thumbnail__stack {
153 color: #757575;
154 box-sizing: border-box;
155 width: 100%;
156 height: 100%;
157 }
158
159 .dataviews-media-field__media-thumbnail--icon {
160 color: #757575;
161 fill: currentColor;
162 }
163
164 .dataviews-media-field__media-thumbnail__filename {
165 box-sizing: border-box;
166 text-align: center;
167 padding: 0 16px;
168 width: 100%;
169 container-type: inline-size;
170 font-family: -apple-system, "system-ui", "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
171 font-weight: 400;
172 font-size: 12px;
173 line-height: 16px;
174 }
175
176 .dataviews-media-field__media-thumbnail__filename__truncate {
177 margin-top: 4px;
178 }
179
180 @container (max-width: 90px) {
181 .dataviews-media-field__media-thumbnail__filename__truncate {
182 display: none !important;
183 }
184 }
185 /**
186 * SCSS Variables.
187 *
188 * Please use variables from this sheet to ensure consistency across the UI.
189 * Don't add to this sheet unless you're pretty sure the value will be reused in many places.
190 * For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
191 */
192 /**
193 * Colors
194 */
195 /**
196 * Fonts & basic variables.
197 */
198 /**
199 * Typography
200 */
201 /**
202 * Grid System.
203 * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
204 */
205 /**
206 * Radius scale.
207 */
208 /**
209 * Elevation scale.
210 */
211 /**
212 * Dimensions.
213 */
214 /**
215 * Mobile specific styles
216 */
217 /**
218 * Editor styles.
219 */
220 /**
221 * Block & Editor UI.
222 */
223 /**
224 * Block paddings.
225 */
226 /**
227 * React Native specific.
228 * These variables do not appear to be used anywhere else.
229 */
230 .media-upload-modal .components-modal__header {
231 padding-bottom: 8px;
232 }
233 .media-upload-modal .components-modal__frame.is-full-screen .components-modal__content {
234 margin-bottom: 16px;
235 }
236 .media-upload-modal .components-modal__content {
237 padding: 0;
238 }
239 .media-upload-modal .dataviews-picker-wrapper > .dataviews__view-actions {
240 padding-top: 8px;
241 }
242 .media-upload-modal .dataviews-footer {
243 padding-bottom: 8px;
244 }
245 .media-upload-modal .media-upload-modal__snackbar {
246 position: absolute;
247 right: 0;
248 bottom: 16px;
249 padding-right: 16px;
250 padding-left: 16px;
251 }