author | ymh <ymh.work@gmail.com> |
Tue, 27 Sep 2022 16:37:53 +0200 | |
changeset 19 | 3d72ae0968f4 |
parent 18 | be944660c56a |
child 21 | 48c4eec2b7e6 |
permissions | -rw-r--r-- |
0 | 1 |
/** |
2 |
* Base Styles |
|
3 |
*/ |
|
5 | 4 |
.media-modal * { |
5 |
box-sizing: content-box; |
|
6 |
} |
|
7 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
8 |
.media-modal input, |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
9 |
.media-modal select, |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
10 |
.media-modal textarea { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
11 |
box-sizing: border-box; |
5 | 12 |
} |
13 |
||
0 | 14 |
.media-modal, |
15 |
.media-frame { |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
16 |
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; |
0 | 17 |
font-size: 12px; |
5 | 18 |
-webkit-overflow-scrolling: touch; |
0 | 19 |
} |
20 |
||
16 | 21 |
.media-modal legend { |
22 |
padding: 0; |
|
23 |
font-size: 13px; |
|
24 |
} |
|
25 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
26 |
.media-modal label { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
27 |
font-size: 13px; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
28 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
29 |
|
16 | 30 |
.media-modal .legend-inline { |
31 |
position: absolute; |
|
32 |
transform: translate(-100%, 50%); |
|
33 |
margin-left: -1%; |
|
34 |
line-height: 1.2; |
|
0 | 35 |
} |
36 |
||
37 |
.media-frame a { |
|
38 |
border-bottom: none; |
|
18 | 39 |
color: #2271b1; |
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
40 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
41 |
|
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
42 |
.media-frame a:hover, |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
43 |
.media-frame a:active { |
18 | 44 |
color: #135e96; |
0 | 45 |
} |
46 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
47 |
.media-frame a:focus { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
48 |
box-shadow: |
18 | 49 |
0 0 0 1px #4f94d4, |
50 |
0 0 2px 1px rgba(79, 148, 212, 0.8); |
|
51 |
color: #043959; |
|
9 | 52 |
/* Only visible in Windows High Contrast mode */ |
53 |
outline: 1px solid transparent; |
|
0 | 54 |
} |
55 |
||
56 |
.media-frame a.button { |
|
18 | 57 |
color: #2c3338; |
0 | 58 |
} |
59 |
||
60 |
.media-frame a.button:hover { |
|
18 | 61 |
color: #1d2327; |
0 | 62 |
} |
63 |
||
64 |
.media-frame a.button-primary, |
|
65 |
.media-frame a.button-primary:hover { |
|
66 |
color: #fff; |
|
67 |
} |
|
68 |
||
16 | 69 |
.media-frame input, |
70 |
.media-frame textarea { |
|
71 |
padding: 6px 8px; |
|
72 |
} |
|
73 |
||
74 |
.media-frame select, |
|
75 |
.wp-admin .media-frame select { |
|
76 |
min-height: 30px; |
|
77 |
vertical-align: middle; |
|
78 |
} |
|
79 |
||
0 | 80 |
.media-frame input[type="text"], |
81 |
.media-frame input[type="password"], |
|
16 | 82 |
.media-frame input[type="color"], |
83 |
.media-frame input[type="date"], |
|
84 |
.media-frame input[type="datetime"], |
|
85 |
.media-frame input[type="datetime-local"], |
|
86 |
.media-frame input[type="email"], |
|
87 |
.media-frame input[type="month"], |
|
0 | 88 |
.media-frame input[type="number"], |
89 |
.media-frame input[type="search"], |
|
16 | 90 |
.media-frame input[type="tel"], |
91 |
.media-frame input[type="time"], |
|
0 | 92 |
.media-frame input[type="url"], |
16 | 93 |
.media-frame input[type="week"], |
0 | 94 |
.media-frame textarea, |
95 |
.media-frame select { |
|
16 | 96 |
box-shadow: 0 0 0 transparent; |
97 |
border-radius: 4px; |
|
18 | 98 |
border: 1px solid #8c8f94; |
16 | 99 |
background-color: #fff; |
18 | 100 |
color: #2c3338; |
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
101 |
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; |
16 | 102 |
font-size: 13px; |
103 |
} |
|
104 |
||
105 |
.media-frame input[type="text"], |
|
106 |
.media-frame input[type="password"], |
|
107 |
.media-frame input[type="date"], |
|
108 |
.media-frame input[type="datetime"], |
|
109 |
.media-frame input[type="datetime-local"], |
|
110 |
.media-frame input[type="email"], |
|
111 |
.media-frame input[type="month"], |
|
112 |
.media-frame input[type="number"], |
|
113 |
.media-frame input[type="search"], |
|
114 |
.media-frame input[type="tel"], |
|
115 |
.media-frame input[type="time"], |
|
116 |
.media-frame input[type="url"], |
|
117 |
.media-frame input[type="week"] { |
|
118 |
padding: 0 8px; |
|
119 |
/* inherits font size 13px */ |
|
120 |
line-height: 2.15384615; /* 28px */ |
|
121 |
} |
|
122 |
||
123 |
/* Search field in the Media Library toolbar */ |
|
124 |
.media-frame.mode-grid .wp-filter input[type="search"] { |
|
125 |
font-size: 14px; |
|
126 |
line-height: 2; |
|
0 | 127 |
} |
128 |
||
5 | 129 |
.media-frame input[type="text"]:focus, |
130 |
.media-frame input[type="password"]:focus, |
|
131 |
.media-frame input[type="number"]:focus, |
|
132 |
.media-frame input[type="search"]:focus, |
|
133 |
.media-frame input[type="email"]:focus, |
|
134 |
.media-frame input[type="url"]:focus, |
|
135 |
.media-frame textarea:focus, |
|
136 |
.media-frame select:focus { |
|
18 | 137 |
border-color: #3582c4; |
138 |
box-shadow: 0 0 0 1px #3582c4; |
|
16 | 139 |
outline: 2px solid transparent; |
0 | 140 |
} |
141 |
||
142 |
.media-frame input:disabled, |
|
143 |
.media-frame textarea:disabled, |
|
144 |
.media-frame input[readonly], |
|
145 |
.media-frame textarea[readonly] { |
|
18 | 146 |
background-color: #f0f0f1; |
0 | 147 |
} |
148 |
||
149 |
.media-frame input[type="search"] { |
|
150 |
-webkit-appearance: textfield; |
|
151 |
} |
|
152 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
153 |
.media-frame ::-webkit-input-placeholder { |
18 | 154 |
color: #646970; |
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
155 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
156 |
|
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
157 |
.media-frame ::-moz-placeholder { |
18 | 158 |
color: #646970; |
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
159 |
opacity: 1; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
160 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
161 |
|
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
162 |
.media-frame :-ms-input-placeholder { |
18 | 163 |
color: #646970; |
0 | 164 |
} |
165 |
||
16 | 166 |
/* |
167 |
* In some cases there's the need of higher specificity, |
|
168 |
* for example higher than `.media-embed .setting`. |
|
169 |
*/ |
|
170 |
.media-frame .hidden, |
|
171 |
.media-frame .setting.hidden { |
|
5 | 172 |
display: none; |
173 |
} |
|
174 |
||
175 |
/*! |
|
176 |
* jQuery UI Draggable/Sortable 1.11.4 |
|
177 |
* http://jqueryui.com |
|
178 |
* |
|
179 |
* Copyright jQuery Foundation and other contributors |
|
180 |
* Released under the MIT license. |
|
181 |
* http://jquery.org/license |
|
182 |
*/ |
|
183 |
.ui-draggable-handle, |
|
184 |
.ui-sortable-handle { |
|
185 |
touch-action: none; |
|
0 | 186 |
} |
187 |
||
188 |
/** |
|
189 |
* Modal |
|
190 |
*/ |
|
191 |
.media-modal { |
|
192 |
position: fixed; |
|
193 |
top: 30px; |
|
194 |
left: 30px; |
|
195 |
right: 30px; |
|
196 |
bottom: 30px; |
|
197 |
z-index: 160000; |
|
198 |
} |
|
199 |
||
5 | 200 |
.wp-customizer .media-modal { |
201 |
z-index: 560000; |
|
202 |
} |
|
203 |
||
0 | 204 |
.media-modal-backdrop { |
205 |
position: fixed; |
|
206 |
top: 0; |
|
207 |
left: 0; |
|
208 |
right: 0; |
|
209 |
bottom: 0; |
|
210 |
min-height: 360px; |
|
211 |
background: #000; |
|
212 |
opacity: 0.7; |
|
213 |
z-index: 159900; |
|
214 |
} |
|
215 |
||
5 | 216 |
.wp-customizer .media-modal-backdrop { |
217 |
z-index: 559900; |
|
218 |
} |
|
219 |
||
0 | 220 |
.media-modal-close { |
221 |
position: absolute; |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
222 |
top: 0; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
223 |
right: 0; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
224 |
width: 50px; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
225 |
height: 50px; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
226 |
margin: 0; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
227 |
padding: 0; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
228 |
border: 1px solid transparent; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
229 |
background: none; |
18 | 230 |
color: #646970; |
0 | 231 |
z-index: 1000; |
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
232 |
cursor: pointer; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
233 |
outline: none; |
5 | 234 |
transition: color .1s ease-in-out, background .1s ease-in-out; |
0 | 235 |
} |
5 | 236 |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
237 |
.media-modal-close:hover, |
5 | 238 |
.media-modal-close:active { |
18 | 239 |
color: #135e96; |
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
240 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
241 |
|
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
242 |
.media-modal-close:focus { |
18 | 243 |
color: #135e96; |
244 |
border-color: #4f94d4; |
|
245 |
box-shadow: 0 0 3px rgba(34, 113, 177, 0.8); |
|
9 | 246 |
/* Only visible in Windows High Contrast mode */ |
247 |
outline: 2px solid transparent; |
|
5 | 248 |
} |
249 |
||
250 |
.media-modal-close span.media-modal-icon { |
|
251 |
background-image: none; |
|
252 |
} |
|
253 |
||
254 |
.media-modal-close .media-modal-icon:before { |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
255 |
content: "\f158"; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
256 |
font: normal 20px/1 dashicons; |
18 | 257 |
speak: never; |
5 | 258 |
vertical-align: middle; |
259 |
-webkit-font-smoothing: antialiased; |
|
260 |
-moz-osx-font-smoothing: grayscale; |
|
0 | 261 |
} |
262 |
||
263 |
.media-modal-content { |
|
264 |
position: absolute; |
|
265 |
top: 0; |
|
266 |
left: 0; |
|
267 |
right: 0; |
|
268 |
bottom: 0; |
|
269 |
overflow: auto; |
|
270 |
min-height: 300px; |
|
9 | 271 |
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.7); |
18 | 272 |
background: #fff; |
5 | 273 |
-webkit-font-smoothing: subpixel-antialiased; |
0 | 274 |
} |
275 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
276 |
.media-modal-content .media-frame select.attachment-filters { |
16 | 277 |
margin-top: 32px; |
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
278 |
margin-right: 2%; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
279 |
width: 42%; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
280 |
width: calc(48% - 12px); |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
281 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
282 |
|
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
283 |
.media-modal-content .attachments-browser .search { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
284 |
width: 100%; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
285 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
286 |
|
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
287 |
/* higher specificity */ |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
288 |
.wp-core-ui .media-modal-icon { |
0 | 289 |
background-image: url(../images/uploader-icons.png); |
290 |
background-repeat: no-repeat; |
|
291 |
} |
|
292 |
||
293 |
/** |
|
294 |
* Toolbar |
|
295 |
*/ |
|
296 |
.media-toolbar { |
|
297 |
position: absolute; |
|
298 |
top: 0; |
|
299 |
left: 0; |
|
300 |
right: 0; |
|
301 |
z-index: 100; |
|
302 |
height: 60px; |
|
303 |
padding: 0 16px; |
|
18 | 304 |
border: 0 solid #dcdcde; |
0 | 305 |
overflow: hidden; |
306 |
} |
|
307 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
308 |
.media-frame-toolbar .media-toolbar { |
9 | 309 |
top: auto; |
16 | 310 |
bottom: -47px; |
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
311 |
height: auto; |
9 | 312 |
overflow: visible; |
18 | 313 |
border-top: 1px solid #dcdcde; |
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
314 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
315 |
|
0 | 316 |
.media-toolbar-primary { |
317 |
float: right; |
|
318 |
height: 100%; |
|
16 | 319 |
position: relative; |
0 | 320 |
} |
321 |
||
322 |
.media-toolbar-secondary { |
|
323 |
float: left; |
|
324 |
height: 100%; |
|
325 |
} |
|
326 |
||
327 |
.media-toolbar-primary > .media-button, |
|
328 |
.media-toolbar-primary > .media-button-group { |
|
329 |
margin-left: 10px; |
|
330 |
float: left; |
|
331 |
margin-top: 15px; |
|
332 |
} |
|
333 |
||
334 |
.media-toolbar-secondary > .media-button, |
|
335 |
.media-toolbar-secondary > .media-button-group { |
|
336 |
margin-right: 10px; |
|
337 |
margin-top: 15px; |
|
338 |
} |
|
339 |
||
340 |
/** |
|
341 |
* Sidebar |
|
342 |
*/ |
|
343 |
.media-sidebar { |
|
344 |
position: absolute; |
|
345 |
top: 0; |
|
346 |
right: 0; |
|
347 |
bottom: 0; |
|
348 |
width: 267px; |
|
16 | 349 |
padding: 0 16px; |
0 | 350 |
z-index: 75; |
18 | 351 |
background: #f6f7f7; |
352 |
border-left: 1px solid #dcdcde; |
|
0 | 353 |
overflow: auto; |
354 |
-webkit-overflow-scrolling: touch; |
|
355 |
} |
|
356 |
||
16 | 357 |
/* |
358 |
* Implementation of bottom padding in overflow content differs across browsers. |
|
359 |
* We need a different method. See https://github.com/w3c/csswg-drafts/issues/129 |
|
360 |
*/ |
|
361 |
.media-sidebar::after { |
|
362 |
content: ""; |
|
363 |
display: flex; |
|
364 |
clear: both; |
|
365 |
height: 24px; |
|
366 |
} |
|
367 |
||
0 | 368 |
.hide-toolbar .media-sidebar { |
369 |
bottom: 0; |
|
370 |
} |
|
371 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
372 |
.media-sidebar h2, |
18 | 373 |
.image-details h2:not(.media-attachments-filter-heading) { |
0 | 374 |
position: relative; |
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
375 |
font-weight: 600; |
0 | 376 |
text-transform: uppercase; |
377 |
font-size: 12px; |
|
18 | 378 |
color: #646970; |
0 | 379 |
margin: 24px 0 8px; |
380 |
} |
|
381 |
||
5 | 382 |
.media-sidebar .setting, |
383 |
.attachment-details .setting { |
|
0 | 384 |
display: block; |
385 |
float: left; |
|
386 |
width: 100%; |
|
16 | 387 |
margin: 0 0 10px; |
388 |
} |
|
389 |
||
390 |
.media-sidebar .collection-settings .setting { |
|
0 | 391 |
margin: 1px 0; |
392 |
} |
|
393 |
||
16 | 394 |
.media-sidebar .setting.has-description, |
395 |
.attachment-details .setting.has-description { |
|
396 |
margin-bottom: 5px; |
|
397 |
} |
|
398 |
||
399 |
.media-sidebar .setting .link-to-custom { |
|
5 | 400 |
margin: 3px 2px 0; |
0 | 401 |
} |
402 |
||
16 | 403 |
.media-sidebar .setting span, /* Back-compat for pre-5.3 */ |
404 |
.attachment-details .setting span, /* Back-compat for pre-5.3 */ |
|
405 |
.media-sidebar .setting .name, |
|
406 |
.media-sidebar .setting .value, |
|
407 |
.attachment-details .setting .name { |
|
0 | 408 |
min-width: 30%; |
409 |
margin-right: 4%; |
|
410 |
font-size: 12px; |
|
5 | 411 |
text-align: right; |
412 |
word-wrap: break-word; |
|
0 | 413 |
} |
414 |
||
5 | 415 |
.media-sidebar .setting .name { |
416 |
max-width: 80px; |
|
417 |
} |
|
418 |
||
16 | 419 |
.media-sidebar .setting .value { |
420 |
text-align: left; |
|
421 |
} |
|
422 |
||
423 |
.media-sidebar .setting select { |
|
0 | 424 |
max-width: 65%; |
425 |
} |
|
426 |
||
5 | 427 |
.media-sidebar .setting input[type="checkbox"], |
428 |
.media-sidebar .field input[type="checkbox"], |
|
429 |
.media-sidebar .setting input[type="radio"], |
|
430 |
.media-sidebar .field input[type="radio"], |
|
431 |
.attachment-details .setting input[type="checkbox"], |
|
432 |
.attachment-details .field input[type="checkbox"], |
|
433 |
.attachment-details .setting input[type="radio"], |
|
434 |
.attachment-details .field input[type="radio"] { |
|
0 | 435 |
float: none; |
5 | 436 |
margin: 8px 3px 0; |
0 | 437 |
padding: 0; |
438 |
} |
|
439 |
||
16 | 440 |
.media-sidebar .setting span, /* Back-compat for pre-5.3 */ |
441 |
.attachment-details .setting span, /* Back-compat for pre-5.3 */ |
|
442 |
.media-sidebar .setting .name, |
|
443 |
.media-sidebar .setting .value, |
|
444 |
.media-sidebar .checkbox-label-inline, |
|
445 |
.attachment-details .setting .name, |
|
446 |
.attachment-details .setting .value, |
|
0 | 447 |
.compat-item label span { |
448 |
float: left; |
|
449 |
min-height: 22px; |
|
450 |
padding-top: 8px; |
|
16 | 451 |
line-height: 1.33333333; |
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
452 |
font-weight: 400; |
18 | 453 |
color: #646970; |
5 | 454 |
} |
455 |
||
16 | 456 |
.media-sidebar .checkbox-label-inline { |
457 |
font-size: 12px; |
|
458 |
} |
|
459 |
||
460 |
.media-sidebar .copy-to-clipboard-container, |
|
461 |
.attachment-details .copy-to-clipboard-container { |
|
462 |
flex-wrap: wrap; |
|
463 |
margin-top: 10px; |
|
464 |
margin-left: calc( 35% - 1px ); |
|
465 |
padding-top: 10px; |
|
466 |
} |
|
467 |
||
468 |
/* Needs high specificity. */ |
|
469 |
.attachment-details .attachment-info .copy-to-clipboard-container { |
|
470 |
float: none; |
|
471 |
} |
|
472 |
||
473 |
.media-sidebar .copy-to-clipboard-container .success, |
|
474 |
.attachment-details .copy-to-clipboard-container .success { |
|
475 |
padding: 0; |
|
476 |
min-height: 0; |
|
18 | 477 |
line-height: 2.18181818; |
16 | 478 |
text-align: left; |
18 | 479 |
color: #008a20; |
16 | 480 |
} |
481 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
482 |
.compat-item label span { |
0 | 483 |
text-align: right; |
484 |
} |
|
485 |
||
5 | 486 |
.media-sidebar .setting input[type="text"], |
487 |
.media-sidebar .setting input[type="password"], |
|
488 |
.media-sidebar .setting input[type="email"], |
|
489 |
.media-sidebar .setting input[type="number"], |
|
490 |
.media-sidebar .setting input[type="search"], |
|
491 |
.media-sidebar .setting input[type="tel"], |
|
492 |
.media-sidebar .setting input[type="url"], |
|
493 |
.media-sidebar .setting textarea, |
|
494 |
.media-sidebar .setting .value, |
|
495 |
.attachment-details .setting input[type="text"], |
|
496 |
.attachment-details .setting input[type="password"], |
|
497 |
.attachment-details .setting input[type="email"], |
|
498 |
.attachment-details .setting input[type="number"], |
|
499 |
.attachment-details .setting input[type="search"], |
|
500 |
.attachment-details .setting input[type="tel"], |
|
501 |
.attachment-details .setting input[type="url"], |
|
502 |
.attachment-details .setting textarea, |
|
9 | 503 |
.attachment-details .setting .value, |
504 |
.attachment-details .setting + .description { |
|
5 | 505 |
box-sizing: border-box; |
506 |
margin: 1px; |
|
0 | 507 |
width: 65%; |
508 |
float: right; |
|
509 |
} |
|
510 |
||
5 | 511 |
.media-sidebar .setting .value, |
9 | 512 |
.attachment-details .setting .value, |
513 |
.attachment-details .setting + .description { |
|
5 | 514 |
margin: 0 1px; |
515 |
text-align: left; |
|
516 |
} |
|
517 |
||
9 | 518 |
.attachment-details .setting + .description { |
519 |
clear: both; |
|
520 |
font-size: 12px; |
|
521 |
font-style: normal; |
|
16 | 522 |
margin-bottom: 10px; |
9 | 523 |
} |
524 |
||
0 | 525 |
.media-sidebar .setting textarea, |
5 | 526 |
.attachment-details .setting textarea, |
0 | 527 |
.compat-item .field textarea { |
528 |
height: 62px; |
|
529 |
resize: vertical; |
|
530 |
} |
|
531 |
||
532 |
.compat-item { |
|
533 |
float: left; |
|
534 |
width: 100%; |
|
535 |
overflow: hidden; |
|
536 |
} |
|
537 |
||
538 |
.compat-item table { |
|
539 |
width: 100%; |
|
540 |
table-layout: fixed; |
|
541 |
border-spacing: 0; |
|
542 |
border: 0; |
|
543 |
} |
|
544 |
||
545 |
.compat-item tr { |
|
546 |
padding: 2px 0; |
|
547 |
display: block; |
|
548 |
overflow: hidden; |
|
549 |
} |
|
550 |
||
551 |
.compat-item .label, |
|
552 |
.compat-item .field { |
|
553 |
display: block; |
|
554 |
margin: 0; |
|
555 |
padding: 0; |
|
556 |
} |
|
557 |
||
558 |
.compat-item .label { |
|
559 |
min-width: 30%; |
|
560 |
margin-right: 4%; |
|
561 |
float: left; |
|
562 |
text-align: right; |
|
563 |
} |
|
564 |
||
565 |
.compat-item .label span { |
|
566 |
display: block; |
|
567 |
width: 100%; |
|
568 |
} |
|
569 |
||
570 |
.compat-item .field { |
|
571 |
float: right; |
|
572 |
width: 65%; |
|
5 | 573 |
margin: 1px; |
0 | 574 |
} |
575 |
||
5 | 576 |
.compat-item .field input[type="text"], |
577 |
.compat-item .field input[type="password"], |
|
578 |
.compat-item .field input[type="email"], |
|
579 |
.compat-item .field input[type="number"], |
|
580 |
.compat-item .field input[type="search"], |
|
581 |
.compat-item .field input[type="tel"], |
|
582 |
.compat-item .field input[type="url"], |
|
583 |
.compat-item .field textarea { |
|
0 | 584 |
width: 100%; |
585 |
margin: 0; |
|
5 | 586 |
box-sizing: border-box; |
0 | 587 |
} |
588 |
||
5 | 589 |
.sidebar-for-errors .attachment-details, |
590 |
.sidebar-for-errors .compat-item, |
|
591 |
.sidebar-for-errors .media-sidebar .media-progress-bar, |
|
592 |
.sidebar-for-errors .upload-details { |
|
593 |
display: none !important; |
|
594 |
} |
|
0 | 595 |
|
596 |
/** |
|
597 |
* Menu |
|
598 |
*/ |
|
599 |
.media-menu { |
|
600 |
position: absolute; |
|
601 |
top: 0; |
|
602 |
left: 0; |
|
603 |
right: 0; |
|
604 |
bottom: 0; |
|
605 |
margin: 0; |
|
9 | 606 |
padding: 50px 0 10px; |
18 | 607 |
background: #f6f7f7; |
5 | 608 |
border-right-width: 1px; |
609 |
border-right-style: solid; |
|
18 | 610 |
border-right-color: #c3c4c7; |
0 | 611 |
-webkit-user-select: none; |
612 |
user-select: none; |
|
613 |
} |
|
614 |
||
16 | 615 |
.media-menu .media-menu-item { |
0 | 616 |
display: block; |
16 | 617 |
box-sizing: border-box; |
618 |
width: 100%; |
|
0 | 619 |
position: relative; |
16 | 620 |
border: 0; |
621 |
margin: 0; |
|
5 | 622 |
padding: 8px 20px; |
0 | 623 |
font-size: 14px; |
16 | 624 |
line-height: 1.28571428; |
625 |
background: transparent; |
|
18 | 626 |
color: #2271b1; |
16 | 627 |
text-align: left; |
0 | 628 |
text-decoration: none; |
16 | 629 |
cursor: pointer; |
630 |
} |
|
631 |
||
632 |
.media-menu .media-menu-item:hover { |
|
633 |
background: rgba(0, 0, 0, 0.04); |
|
634 |
} |
|
635 |
||
636 |
.media-menu .media-menu-item:active { |
|
18 | 637 |
color: #2271b1; |
0 | 638 |
outline: none; |
639 |
} |
|
640 |
||
641 |
.media-menu .active, |
|
642 |
.media-menu .active:hover { |
|
18 | 643 |
color: #1d2327; |
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
644 |
font-weight: 600; |
0 | 645 |
} |
646 |
||
16 | 647 |
.media-menu .media-menu-item:focus { |
648 |
box-shadow: |
|
18 | 649 |
0 0 0 1px #4f94d4, |
650 |
0 0 2px 1px rgba(79, 148, 212, 0.8); |
|
651 |
color: #043959; |
|
16 | 652 |
/* Only visible in Windows High Contrast mode */ |
653 |
outline: 1px solid transparent; |
|
654 |
} |
|
655 |
||
0 | 656 |
.media-menu .separator { |
657 |
height: 0; |
|
658 |
margin: 12px 20px; |
|
659 |
padding: 0; |
|
18 | 660 |
border-top: 1px solid #dcdcde; |
0 | 661 |
} |
662 |
||
663 |
/** |
|
664 |
* Menu |
|
665 |
*/ |
|
666 |
.media-router { |
|
667 |
position: relative; |
|
668 |
padding: 0 6px; |
|
669 |
margin: 0; |
|
670 |
clear: both; |
|
16 | 671 |
} |
672 |
||
673 |
.media-router .media-menu-item { |
|
0 | 674 |
position: relative; |
675 |
float: left; |
|
16 | 676 |
border: 0; |
0 | 677 |
margin: 0; |
16 | 678 |
padding: 8px 10px 9px; |
0 | 679 |
height: 18px; |
16 | 680 |
line-height: 1.28571428; |
0 | 681 |
font-size: 14px; |
682 |
text-decoration: none; |
|
16 | 683 |
background: transparent; |
684 |
cursor: pointer; |
|
685 |
transition: none; |
|
686 |
} |
|
687 |
||
688 |
.media-router .media-menu-item:last-child { |
|
0 | 689 |
border-right: 0; |
690 |
} |
|
691 |
||
16 | 692 |
.media-router .media-menu-item:hover, |
693 |
.media-router .media-menu-item:active { |
|
18 | 694 |
color: #2271b1; |
0 | 695 |
} |
696 |
||
697 |
.media-router .active, |
|
698 |
.media-router .active:hover { |
|
18 | 699 |
color: #1d2327; |
16 | 700 |
} |
701 |
||
702 |
.media-router .media-menu-item:focus { |
|
703 |
box-shadow: |
|
18 | 704 |
0 0 0 1px #4f94d4, |
705 |
0 0 2px 1px rgba(79, 148, 212, 0.8); |
|
706 |
color: #043959; |
|
16 | 707 |
/* Only visible in Windows High Contrast mode */ |
708 |
outline: 1px solid transparent; |
|
5 | 709 |
} |
710 |
||
711 |
.media-router .active, |
|
16 | 712 |
.media-router .media-menu-item.active:last-child { |
5 | 713 |
margin: -1px -1px 0; |
714 |
background: #fff; |
|
18 | 715 |
border: 1px solid #dcdcde; |
5 | 716 |
border-bottom: none; |
0 | 717 |
} |
718 |
||
719 |
.media-router .active:after { |
|
5 | 720 |
display: none; |
0 | 721 |
} |
722 |
||
723 |
/** |
|
724 |
* Frame |
|
725 |
*/ |
|
726 |
.media-frame { |
|
727 |
overflow: hidden; |
|
728 |
position: absolute; |
|
729 |
top: 0; |
|
730 |
left: 0; |
|
731 |
right: 0; |
|
732 |
bottom: 0; |
|
733 |
} |
|
734 |
||
735 |
.media-frame-menu { |
|
736 |
position: absolute; |
|
737 |
top: 0; |
|
738 |
left: 0; |
|
739 |
bottom: 0; |
|
5 | 740 |
width: 200px; |
0 | 741 |
z-index: 150; |
742 |
} |
|
743 |
||
744 |
.media-frame-title { |
|
745 |
position: absolute; |
|
746 |
top: 0; |
|
747 |
left: 200px; |
|
748 |
right: 0; |
|
5 | 749 |
height: 50px; |
0 | 750 |
z-index: 200; |
751 |
} |
|
752 |
||
753 |
.media-frame-router { |
|
754 |
position: absolute; |
|
5 | 755 |
top: 50px; |
0 | 756 |
left: 200px; |
757 |
right: 0; |
|
5 | 758 |
height: 36px; |
0 | 759 |
z-index: 200; |
760 |
} |
|
761 |
||
762 |
.media-frame-content { |
|
763 |
position: absolute; |
|
5 | 764 |
top: 84px; |
0 | 765 |
left: 200px; |
766 |
right: 0; |
|
767 |
bottom: 61px; |
|
768 |
height: auto; |
|
769 |
width: auto; |
|
770 |
margin: 0; |
|
771 |
overflow: auto; |
|
5 | 772 |
background: #fff; |
18 | 773 |
border-top: 1px solid #dcdcde; |
0 | 774 |
} |
775 |
||
776 |
.media-frame-toolbar { |
|
777 |
position: absolute; |
|
778 |
left: 200px; |
|
779 |
right: 0; |
|
780 |
z-index: 100; |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
781 |
bottom: 60px; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
782 |
height: auto; |
0 | 783 |
} |
784 |
||
785 |
.media-frame.hide-menu .media-frame-title, |
|
786 |
.media-frame.hide-menu .media-frame-router, |
|
787 |
.media-frame.hide-menu .media-frame-toolbar, |
|
788 |
.media-frame.hide-menu .media-frame-content { |
|
789 |
left: 0; |
|
790 |
} |
|
791 |
||
792 |
.media-frame.hide-toolbar .media-frame-content { |
|
793 |
bottom: 0; |
|
794 |
} |
|
795 |
||
796 |
.media-frame.hide-router .media-frame-content { |
|
5 | 797 |
top: 50px; |
0 | 798 |
} |
799 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
800 |
.media-frame.hide-menu .media-frame-menu, |
16 | 801 |
.media-frame.hide-menu .media-frame-menu-heading, |
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
802 |
.media-frame.hide-router .media-frame-router, |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
803 |
.media-frame.hide-toolbar .media-frame-toolbar { |
0 | 804 |
display: none; |
805 |
} |
|
806 |
||
807 |
.media-frame-title h1 { |
|
808 |
padding: 0 16px; |
|
809 |
font-size: 22px; |
|
16 | 810 |
line-height: 2.27272727; |
811 |
margin: 0; |
|
812 |
} |
|
813 |
||
814 |
.media-frame-menu-heading, |
|
815 |
.media-attachments-filter-heading { |
|
816 |
position: absolute; |
|
817 |
left: 20px; |
|
818 |
top: 22px; |
|
0 | 819 |
margin: 0; |
16 | 820 |
font-size: 13px; |
821 |
line-height: 1; |
|
822 |
/* Above the media-frame-menu. */ |
|
823 |
z-index: 151; |
|
824 |
} |
|
825 |
||
826 |
.media-attachments-filter-heading { |
|
827 |
top: 10px; |
|
828 |
left: 16px; |
|
829 |
} |
|
830 |
||
831 |
.mode-grid .media-attachments-filter-heading { |
|
832 |
top: 0; |
|
833 |
left: -9999px; |
|
834 |
} |
|
835 |
||
836 |
.mode-grid .media-frame-actions-heading { |
|
837 |
display: none; |
|
838 |
} |
|
839 |
||
840 |
.wp-core-ui .button.media-frame-menu-toggle { |
|
841 |
display: none; |
|
0 | 842 |
} |
843 |
||
5 | 844 |
.media-frame-title .suggested-dimensions { |
845 |
font-size: 14px; |
|
846 |
float: right; |
|
847 |
margin-right: 20px; |
|
848 |
} |
|
849 |
||
850 |
.media-frame-content .crop-content { |
|
851 |
height: 100%; |
|
852 |
} |
|
853 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
854 |
.wp-customizer:not(.mobile) .media-frame-content .crop-content.site-icon { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
855 |
margin-right: 300px; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
856 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
857 |
|
5 | 858 |
.media-frame-content .crop-content .crop-image { |
859 |
display: block; |
|
860 |
margin: auto; |
|
861 |
max-width: 100%; |
|
862 |
max-height: 100%; |
|
863 |
} |
|
864 |
||
16 | 865 |
.media-frame-content .crop-content .upload-errors { |
5 | 866 |
position: absolute; |
867 |
width: 300px; |
|
868 |
top: 50%; |
|
869 |
left: 50%; |
|
870 |
margin-left: -150px; |
|
871 |
margin-right: -150px; |
|
872 |
z-index: 600000; |
|
873 |
} |
|
874 |
||
0 | 875 |
/** |
876 |
* Iframes |
|
877 |
*/ |
|
878 |
.media-frame .media-iframe { |
|
879 |
overflow: hidden; |
|
880 |
} |
|
881 |
||
882 |
.media-frame .media-iframe, |
|
883 |
.media-frame .media-iframe iframe { |
|
884 |
height: 100%; |
|
885 |
width: 100%; |
|
886 |
border: 0; |
|
887 |
} |
|
888 |
||
889 |
/** |
|
890 |
* Attachment Browser Filters |
|
891 |
*/ |
|
892 |
.media-frame select.attachment-filters { |
|
893 |
margin-top: 11px; |
|
5 | 894 |
margin-right: 2%; |
895 |
max-width: 42%; |
|
896 |
max-width: calc(48% - 12px); |
|
897 |
} |
|
898 |
||
899 |
.media-frame select.attachment-filters:last-of-type { |
|
900 |
margin-right: 0; |
|
9 | 901 |
width: auto; |
902 |
max-width: 100%; |
|
0 | 903 |
} |
904 |
||
905 |
/** |
|
906 |
* Search |
|
907 |
*/ |
|
908 |
.media-frame .search { |
|
16 | 909 |
margin: 32px 0 0; |
0 | 910 |
padding: 4px; |
911 |
font-size: 13px; |
|
18 | 912 |
color: #3c434a; |
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
913 |
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; |
0 | 914 |
-webkit-appearance: none; |
915 |
} |
|
916 |
||
5 | 917 |
.media-toolbar-primary .search { |
918 |
max-width: 100%; |
|
0 | 919 |
} |
920 |
||
16 | 921 |
.media-frame .media-search-input-label { |
922 |
position: absolute; |
|
923 |
left: 0; |
|
924 |
top: 10px; |
|
925 |
margin: 0; |
|
926 |
line-height: 1; |
|
927 |
} |
|
928 |
||
0 | 929 |
/** |
930 |
* Attachments |
|
931 |
*/ |
|
5 | 932 |
.wp-core-ui .attachments { |
0 | 933 |
margin: 0; |
934 |
-webkit-overflow-scrolling: touch; |
|
935 |
} |
|
936 |
||
937 |
/** |
|
938 |
* Attachment |
|
939 |
*/ |
|
5 | 940 |
.wp-core-ui .attachment { |
0 | 941 |
position: relative; |
942 |
float: left; |
|
5 | 943 |
padding: 8px; |
944 |
margin: 0; |
|
18 | 945 |
color: #3c434a; |
5 | 946 |
cursor: pointer; |
0 | 947 |
list-style: none; |
948 |
text-align: center; |
|
949 |
-webkit-user-select: none; |
|
5 | 950 |
user-select: none; |
951 |
width: 25%; |
|
952 |
box-sizing: border-box; |
|
0 | 953 |
} |
954 |
||
5 | 955 |
.wp-core-ui .attachment:focus, |
956 |
.wp-core-ui .selected.attachment:focus, |
|
957 |
.wp-core-ui .attachment.details:focus { |
|
0 | 958 |
box-shadow: |
5 | 959 |
inset 0 0 2px 3px #fff, |
18 | 960 |
inset 0 0 0 7px #4f94d4; |
9 | 961 |
/* Only visible in Windows High Contrast mode */ |
962 |
outline: 2px solid transparent; |
|
963 |
outline-offset: -6px; |
|
0 | 964 |
} |
965 |
||
5 | 966 |
.wp-core-ui .selected.attachment { |
0 | 967 |
box-shadow: |
5 | 968 |
inset 0 0 0 5px #fff, |
18 | 969 |
inset 0 0 0 7px #c3c4c7; |
0 | 970 |
} |
971 |
||
5 | 972 |
.wp-core-ui .attachment.details { |
973 |
box-shadow: |
|
974 |
inset 0 0 0 3px #fff, |
|
18 | 975 |
inset 0 0 0 7px #2271b1; |
5 | 976 |
} |
977 |
||
978 |
.wp-core-ui .attachment-preview { |
|
0 | 979 |
position: relative; |
980 |
box-shadow: |
|
9 | 981 |
inset 0 0 15px rgba(0, 0, 0, 0.1), |
982 |
inset 0 0 0 1px rgba(0, 0, 0, 0.05); |
|
18 | 983 |
background: #f0f0f1; |
0 | 984 |
cursor: pointer; |
985 |
} |
|
986 |
||
5 | 987 |
.wp-core-ui .attachment-preview:before { |
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
988 |
content: ""; |
5 | 989 |
display: block; |
990 |
padding-top: 100%; |
|
991 |
} |
|
992 |
||
993 |
.wp-core-ui .attachment .icon { |
|
0 | 994 |
margin: 0 auto; |
995 |
overflow: hidden; |
|
996 |
} |
|
997 |
||
5 | 998 |
.wp-core-ui .attachment .thumbnail { |
999 |
overflow: hidden; |
|
0 | 1000 |
position: absolute; |
1001 |
top: 0; |
|
5 | 1002 |
right: 0; |
1003 |
bottom: 0; |
|
0 | 1004 |
left: 0; |
5 | 1005 |
opacity: 1; |
1006 |
transition: opacity .1s; |
|
1007 |
} |
|
1008 |
||
1009 |
.wp-core-ui .attachment .portrait img { |
|
0 | 1010 |
max-width: 100%; |
5 | 1011 |
} |
1012 |
||
1013 |
.wp-core-ui .attachment .landscape img { |
|
0 | 1014 |
max-height: 100%; |
1015 |
} |
|
1016 |
||
5 | 1017 |
.wp-core-ui .attachment .thumbnail:after { |
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1018 |
content: ""; |
0 | 1019 |
display: block; |
1020 |
position: absolute; |
|
1021 |
top: 0; |
|
1022 |
left: 0; |
|
1023 |
right: 0; |
|
1024 |
bottom: 0; |
|
9 | 1025 |
box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1); |
0 | 1026 |
overflow: hidden; |
1027 |
} |
|
1028 |
||
5 | 1029 |
.wp-core-ui .attachment .thumbnail img { |
0 | 1030 |
top: 0; |
1031 |
left: 0; |
|
1032 |
} |
|
1033 |
||
5 | 1034 |
.wp-core-ui .attachment .thumbnail .centered { |
0 | 1035 |
position: absolute; |
1036 |
top: 0; |
|
1037 |
left: 0; |
|
1038 |
width: 100%; |
|
1039 |
height: 100%; |
|
5 | 1040 |
transform: translate( 50%, 50% ); |
1041 |
} |
|
1042 |
||
1043 |
.wp-core-ui .attachment .thumbnail .centered img { |
|
1044 |
transform: translate( -50%, -50% ); |
|
0 | 1045 |
} |
1046 |
||
5 | 1047 |
.wp-core-ui .attachments-browser .attachment .thumbnail .centered img.icon { |
1048 |
transform: translate( -50%, -70% ); |
|
0 | 1049 |
} |
1050 |
||
5 | 1051 |
.wp-core-ui .attachment .filename { |
0 | 1052 |
position: absolute; |
1053 |
left: 0; |
|
1054 |
right: 0; |
|
1055 |
bottom: 0; |
|
1056 |
overflow: hidden; |
|
1057 |
max-height: 100%; |
|
1058 |
word-wrap: break-word; |
|
1059 |
text-align: center; |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1060 |
font-weight: 600; |
9 | 1061 |
background: rgba(255, 255, 255, 0.8); |
1062 |
box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.15); |
|
0 | 1063 |
} |
1064 |
||
5 | 1065 |
.wp-core-ui .attachment .filename div { |
0 | 1066 |
padding: 5px 10px; |
1067 |
} |
|
1068 |
||
5 | 1069 |
.wp-core-ui .attachment .thumbnail img { |
0 | 1070 |
position: absolute; |
1071 |
} |
|
1072 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1073 |
.wp-core-ui .attachment-close { |
5 | 1074 |
display: block; |
0 | 1075 |
position: absolute; |
1076 |
top: 5px; |
|
1077 |
right: 5px; |
|
1078 |
height: 22px; |
|
1079 |
width: 22px; |
|
1080 |
padding: 0; |
|
1081 |
background-color: #fff; |
|
1082 |
background-position: -96px 4px; |
|
1083 |
border-radius: 3px; |
|
9 | 1084 |
box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.3); |
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1085 |
transition: none; |
0 | 1086 |
} |
1087 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1088 |
.wp-core-ui .attachment-close:hover, |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1089 |
.wp-core-ui .attachment-close:focus { |
5 | 1090 |
background-position: -36px 4px; |
0 | 1091 |
} |
1092 |
||
5 | 1093 |
.wp-core-ui .attachment .check { |
0 | 1094 |
display: none; |
1095 |
height: 24px; |
|
1096 |
width: 24px; |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1097 |
padding: 0; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1098 |
border: 0; |
0 | 1099 |
position: absolute; |
5 | 1100 |
z-index: 10; |
1101 |
top: 0; |
|
1102 |
right: 0; |
|
0 | 1103 |
outline: none; |
18 | 1104 |
background: #f0f0f1; |
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1105 |
cursor: pointer; |
9 | 1106 |
box-shadow: 0 0 0 1px #fff, 0 0 0 2px rgba(0, 0, 0, 0.15); |
0 | 1107 |
} |
1108 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1109 |
.wp-core-ui .attachment .check .media-modal-icon { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1110 |
display: block; |
0 | 1111 |
background-position: -1px 0; |
1112 |
height: 15px; |
|
1113 |
width: 15px; |
|
1114 |
margin: 5px; |
|
1115 |
} |
|
1116 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1117 |
.wp-core-ui .attachment .check:hover .media-modal-icon { |
0 | 1118 |
background-position: -40px 0; |
1119 |
} |
|
1120 |
||
5 | 1121 |
.wp-core-ui .attachment.selected .check { |
0 | 1122 |
display: block; |
1123 |
} |
|
1124 |
||
5 | 1125 |
.wp-core-ui .attachment.details .check, |
1126 |
.wp-core-ui .attachment.selected .check:focus, |
|
1127 |
.wp-core-ui .media-frame.mode-grid .attachment.selected .check { |
|
18 | 1128 |
background-color: #2271b1; |
5 | 1129 |
box-shadow: |
1130 |
0 0 0 1px #fff, |
|
18 | 1131 |
0 0 0 2px #2271b1; |
0 | 1132 |
} |
1133 |
||
9 | 1134 |
.wp-core-ui .attachment.selected .check:focus { |
1135 |
/* Only visible in Windows High Contrast mode */ |
|
1136 |
outline: 2px solid transparent; |
|
1137 |
} |
|
1138 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1139 |
.wp-core-ui .attachment.details .check .media-modal-icon, |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1140 |
.wp-core-ui .media-frame.mode-grid .attachment.selected .check .media-modal-icon { |
0 | 1141 |
background-position: -21px 0; |
1142 |
} |
|
1143 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1144 |
.wp-core-ui .attachment.details .check:hover .media-modal-icon, |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1145 |
.wp-core-ui .attachment.selected .check:focus .media-modal-icon, |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1146 |
.wp-core-ui .media-frame.mode-grid .attachment.selected .check:hover .media-modal-icon { |
0 | 1147 |
background-position: -60px 0; |
1148 |
} |
|
1149 |
||
5 | 1150 |
.wp-core-ui .media-frame .attachment .describe { |
0 | 1151 |
position: relative; |
1152 |
display: block; |
|
1153 |
width: 100%; |
|
5 | 1154 |
margin: 0; |
16 | 1155 |
padding: 0 8px; |
0 | 1156 |
font-size: 12px; |
1157 |
border-radius: 0; |
|
1158 |
} |
|
1159 |
||
1160 |
/** |
|
1161 |
* Attachments Browser |
|
1162 |
*/ |
|
1163 |
.media-frame .attachments-browser { |
|
1164 |
position: relative; |
|
1165 |
width: 100%; |
|
1166 |
height: 100%; |
|
1167 |
overflow: hidden; |
|
1168 |
} |
|
1169 |
||
1170 |
.attachments-browser .media-toolbar { |
|
1171 |
right: 300px; |
|
16 | 1172 |
height: 72px; |
1173 |
background: #fff; |
|
0 | 1174 |
} |
1175 |
||
5 | 1176 |
.attachments-browser.hide-sidebar .media-toolbar { |
1177 |
right: 0; |
|
1178 |
} |
|
1179 |
||
0 | 1180 |
.attachments-browser .media-toolbar-primary > .media-button, |
1181 |
.attachments-browser .media-toolbar-primary > .media-button-group, |
|
1182 |
.attachments-browser .media-toolbar-secondary > .media-button, |
|
1183 |
.attachments-browser .media-toolbar-secondary > .media-button-group { |
|
16 | 1184 |
margin: 10px 0; |
5 | 1185 |
} |
1186 |
||
1187 |
.attachments-browser .attachments { |
|
1188 |
padding: 2px 8px 8px; |
|
0 | 1189 |
} |
1190 |
||
18 | 1191 |
.attachments-browser:not(.has-load-more) .attachments, |
1192 |
.attachments-browser.has-load-more .attachments-wrapper, |
|
0 | 1193 |
.attachments-browser .uploader-inline { |
1194 |
position: absolute; |
|
16 | 1195 |
top: 72px; |
0 | 1196 |
left: 0; |
1197 |
right: 300px; |
|
1198 |
bottom: 0; |
|
1199 |
overflow: auto; |
|
5 | 1200 |
outline: none; |
1201 |
} |
|
1202 |
||
1203 |
.attachments-browser .uploader-inline.hidden { |
|
1204 |
display: none; |
|
1205 |
} |
|
1206 |
||
1207 |
.attachments-browser .media-toolbar-primary { |
|
1208 |
max-width: 33%; |
|
1209 |
} |
|
1210 |
||
16 | 1211 |
.mode-grid .attachments-browser .media-toolbar-primary { |
1212 |
display: flex; |
|
1213 |
align-items: center; |
|
1214 |
} |
|
1215 |
||
1216 |
.mode-grid .attachments-browser .media-toolbar-mode-select .media-toolbar-primary { |
|
1217 |
display: none; |
|
1218 |
} |
|
1219 |
||
5 | 1220 |
.attachments-browser .media-toolbar-secondary { |
1221 |
max-width: 66%; |
|
1222 |
} |
|
1223 |
||
1224 |
.uploader-inline .close { |
|
1225 |
background-color: transparent; |
|
1226 |
border: 0; |
|
1227 |
cursor: pointer; |
|
1228 |
height: 48px; |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1229 |
outline: none; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1230 |
padding: 0; |
5 | 1231 |
position: absolute; |
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1232 |
right: 2px; |
5 | 1233 |
text-align: center; |
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1234 |
top: 2px; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1235 |
width: 48px; |
5 | 1236 |
z-index: 1; |
1237 |
} |
|
1238 |
||
1239 |
.uploader-inline .close:before { |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1240 |
font: normal 30px/1 dashicons !important; |
18 | 1241 |
color: #50575e; |
5 | 1242 |
display: inline-block; |
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1243 |
content: "\f335"; |
5 | 1244 |
font-weight: 300; |
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1245 |
margin-top: 1px; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1246 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1247 |
|
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1248 |
.uploader-inline .close:focus { |
18 | 1249 |
outline: 1px solid #4f94d4; |
1250 |
box-shadow: 0 0 3px rgba(34, 113, 177, 0.8); |
|
5 | 1251 |
} |
1252 |
||
1253 |
.attachments-browser.hide-sidebar .attachments, |
|
1254 |
.attachments-browser.hide-sidebar .uploader-inline { |
|
1255 |
right: 0; |
|
1256 |
margin-right: 0; |
|
0 | 1257 |
} |
1258 |
||
1259 |
.attachments-browser .instructions { |
|
1260 |
display: inline-block; |
|
1261 |
margin-top: 16px; |
|
16 | 1262 |
line-height: 1.38461538; |
0 | 1263 |
font-size: 13px; |
18 | 1264 |
color: #646970; |
5 | 1265 |
} |
1266 |
||
1267 |
.attachments-browser .no-media { |
|
1268 |
padding: 2em 0 0 2em; |
|
0 | 1269 |
} |
1270 |
||
18 | 1271 |
.more-loaded .attachment:not(.found-media) { |
1272 |
background: #dcdcde; |
|
1273 |
} |
|
1274 |
||
1275 |
.load-more-wrapper { |
|
1276 |
clear: both; |
|
1277 |
display: flex; |
|
1278 |
flex-wrap: wrap; |
|
1279 |
align-items: center; |
|
1280 |
justify-content: center; |
|
1281 |
padding: 1em 0; |
|
1282 |
} |
|
1283 |
||
1284 |
.load-more-wrapper .load-more-count { |
|
1285 |
min-width: 100%; |
|
1286 |
margin: 0 0 1em; |
|
1287 |
text-align: center; |
|
1288 |
} |
|
1289 |
||
1290 |
.load-more-wrapper .load-more { |
|
1291 |
margin: 0; |
|
1292 |
} |
|
1293 |
||
1294 |
/* Needs high specificity. */ |
|
1295 |
.media-frame .load-more-wrapper .load-more + .spinner { |
|
1296 |
float: none; |
|
1297 |
margin: 0 -30px 0 10px; |
|
1298 |
} |
|
1299 |
||
1300 |
/* Reset spinner margin when the button is hidden to avoid horizontal scrollbar. */ |
|
1301 |
.media-frame .load-more-wrapper .load-more.hidden + .spinner { |
|
1302 |
margin: 0; |
|
1303 |
} |
|
1304 |
||
1305 |
/* Force a new row within the flex container. */ |
|
1306 |
.load-more-wrapper::after { |
|
1307 |
content: ""; |
|
1308 |
min-width: 100%; |
|
1309 |
order: 1; |
|
1310 |
} |
|
1311 |
||
1312 |
.load-more-wrapper .load-more-jump { |
|
1313 |
margin: 0 0 0 12px; |
|
1314 |
} |
|
1315 |
||
1316 |
.attachment.new-media { |
|
1317 |
outline: 2px dotted #c3c4c7; |
|
1318 |
} |
|
1319 |
||
1320 |
.load-more-wrapper { |
|
1321 |
clear: both; |
|
1322 |
display: flex; |
|
1323 |
flex-wrap: wrap; |
|
1324 |
align-items: center; |
|
1325 |
justify-content: center; |
|
1326 |
padding: 1em 0; |
|
1327 |
} |
|
1328 |
||
1329 |
.load-more-wrapper .load-more-count { |
|
1330 |
min-width: 100%; |
|
1331 |
margin: 0 0 1em; |
|
1332 |
text-align: center; |
|
1333 |
} |
|
1334 |
||
1335 |
.load-more-wrapper .load-more { |
|
1336 |
margin: 0; |
|
1337 |
} |
|
1338 |
||
1339 |
/* Needs high specificity. */ |
|
1340 |
.media-frame .load-more-wrapper .load-more + .spinner { |
|
1341 |
float: none; |
|
1342 |
margin: 0 -30px 0 10px; |
|
1343 |
} |
|
1344 |
||
1345 |
/* Reset spinner margin when the button is hidden to avoid horizontal scrollbar. */ |
|
1346 |
.media-frame .load-more-wrapper .load-more.hidden + .spinner { |
|
1347 |
margin: 0; |
|
1348 |
} |
|
1349 |
||
1350 |
/* Force a new row within the flex container. */ |
|
1351 |
.load-more-wrapper::after { |
|
1352 |
content: ""; |
|
1353 |
min-width: 100%; |
|
1354 |
order: 1; |
|
1355 |
} |
|
1356 |
||
1357 |
.load-more-wrapper .load-more-jump { |
|
1358 |
margin: 0 0 0 12px; |
|
1359 |
} |
|
1360 |
||
0 | 1361 |
/** |
1362 |
* Progress Bar |
|
1363 |
*/ |
|
1364 |
.media-progress-bar { |
|
1365 |
position: relative; |
|
1366 |
height: 10px; |
|
1367 |
width: 70%; |
|
1368 |
margin: 10px auto; |
|
1369 |
border-radius: 10px; |
|
18 | 1370 |
background: #dcdcde; |
9 | 1371 |
background: rgba(0, 0, 0, 0.1); |
0 | 1372 |
} |
1373 |
||
1374 |
.media-progress-bar div { |
|
1375 |
height: 10px; |
|
1376 |
min-width: 20px; |
|
1377 |
width: 0; |
|
18 | 1378 |
background: #2271b1; |
0 | 1379 |
border-radius: 10px; |
5 | 1380 |
transition: width 300ms; |
0 | 1381 |
} |
1382 |
||
1383 |
.media-uploader-status .media-progress-bar { |
|
1384 |
display: none; |
|
1385 |
width: 100%; |
|
1386 |
} |
|
1387 |
||
1388 |
.uploading.media-uploader-status .media-progress-bar { |
|
1389 |
display: block; |
|
1390 |
} |
|
1391 |
||
1392 |
.attachment-preview .media-progress-bar { |
|
1393 |
position: absolute; |
|
1394 |
top: 50%; |
|
1395 |
left: 15%; |
|
1396 |
width: 70%; |
|
19 | 1397 |
margin: -5px 0 0; |
0 | 1398 |
} |
1399 |
||
1400 |
.media-uploader-status { |
|
1401 |
position: relative; |
|
1402 |
margin: 0 auto; |
|
1403 |
padding-bottom: 10px; |
|
1404 |
max-width: 400px; |
|
1405 |
} |
|
1406 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1407 |
.uploader-inline .media-uploader-status h2 { |
0 | 1408 |
display: none; |
1409 |
} |
|
1410 |
||
1411 |
.media-uploader-status .upload-details { |
|
1412 |
display: none; |
|
1413 |
font-size: 12px; |
|
18 | 1414 |
color: #646970; |
0 | 1415 |
} |
1416 |
||
1417 |
.uploading.media-uploader-status .upload-details { |
|
1418 |
display: block; |
|
1419 |
} |
|
1420 |
||
1421 |
.media-uploader-status .upload-detail-separator { |
|
1422 |
padding: 0 4px; |
|
1423 |
} |
|
1424 |
||
1425 |
.media-uploader-status .upload-count { |
|
18 | 1426 |
color: #3c434a; |
0 | 1427 |
} |
1428 |
||
1429 |
.media-uploader-status .upload-dismiss-errors, |
|
1430 |
.media-uploader-status .upload-errors { |
|
1431 |
display: none; |
|
1432 |
} |
|
1433 |
||
1434 |
.errors.media-uploader-status .upload-dismiss-errors, |
|
1435 |
.errors.media-uploader-status .upload-errors { |
|
1436 |
display: block; |
|
1437 |
} |
|
1438 |
||
1439 |
.media-uploader-status .upload-dismiss-errors { |
|
9 | 1440 |
transition: none; |
0 | 1441 |
text-decoration: none; |
1442 |
} |
|
1443 |
||
1444 |
.upload-errors .upload-error { |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1445 |
padding: 12px; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1446 |
margin-bottom: 12px; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1447 |
background: #fff; |
18 | 1448 |
border-left: 4px solid #d63638; |
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1449 |
box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1); |
0 | 1450 |
} |
1451 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1452 |
.uploader-inline .upload-errors .upload-error { |
9 | 1453 |
padding: 12px 30px; |
18 | 1454 |
background-color: #fcf0f1; |
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1455 |
box-shadow: none; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1456 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1457 |
|
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1458 |
.upload-errors .upload-error-filename { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1459 |
font-weight: 600; |
0 | 1460 |
} |
1461 |
||
1462 |
.upload-errors .upload-error-message { |
|
1463 |
display: block; |
|
1464 |
padding-top: 8px; |
|
1465 |
word-wrap: break-word; |
|
1466 |
} |
|
1467 |
||
16 | 1468 |
/** |
1469 |
* Window and Editor uploaders used to display "drop zones" |
|
1470 |
*/ |
|
1471 |
.uploader-window, |
|
1472 |
.wp-editor-wrap .uploader-editor { |
|
0 | 1473 |
top: 0; |
1474 |
left: 0; |
|
1475 |
right: 0; |
|
1476 |
bottom: 0; |
|
16 | 1477 |
text-align: center; |
0 | 1478 |
display: none; |
16 | 1479 |
} |
1480 |
||
1481 |
.uploader-window { |
|
1482 |
position: fixed; |
|
1483 |
z-index: 250000; |
|
1484 |
opacity: 0; /* Only the inline uploader is animated with JS, the editor one isn't */ |
|
5 | 1485 |
transition: opacity 250ms; |
0 | 1486 |
} |
1487 |
||
16 | 1488 |
.wp-editor-wrap .uploader-editor { |
1489 |
position: absolute; |
|
1490 |
z-index: 99998; /* under the toolbar */ |
|
18 | 1491 |
background: rgba(140, 143, 148, 0.9); |
16 | 1492 |
} |
1493 |
||
1494 |
.uploader-window, |
|
1495 |
.wp-editor-wrap .uploader-editor.droppable { |
|
18 | 1496 |
background: rgba(10, 75, 120, 0.9); |
16 | 1497 |
} |
1498 |
||
1499 |
.uploader-window-content, |
|
1500 |
.wp-editor-wrap .uploader-editor-content { |
|
0 | 1501 |
position: absolute; |
1502 |
top: 10px; |
|
1503 |
left: 10px; |
|
1504 |
right: 10px; |
|
1505 |
bottom: 10px; |
|
1506 |
border: 1px dashed #fff; |
|
1507 |
} |
|
1508 |
||
16 | 1509 |
/* uploader drop-zone title */ |
1510 |
.uploader-window h1, /* Back-compat for pre-5.3 */ |
|
1511 |
.uploader-window .uploader-editor-title, |
|
1512 |
.wp-editor-wrap .uploader-editor .uploader-editor-title { |
|
0 | 1513 |
position: absolute; |
1514 |
top: 50%; |
|
1515 |
left: 0; |
|
1516 |
right: 0; |
|
16 | 1517 |
transform: translateY(-50%); |
1518 |
font-size: 3em; |
|
1519 |
line-height: 1.3; |
|
1520 |
font-weight: 600; |
|
0 | 1521 |
color: #fff; |
16 | 1522 |
margin: 0; |
1523 |
padding: 0 10px; |
|
1524 |
} |
|
1525 |
||
1526 |
.wp-editor-wrap .uploader-editor .uploader-editor-title { |
|
1527 |
display: none; |
|
1528 |
} |
|
1529 |
||
1530 |
.wp-editor-wrap .uploader-editor.droppable .uploader-editor-title { |
|
1531 |
display: block; |
|
0 | 1532 |
} |
1533 |
||
1534 |
.uploader-window .media-progress-bar { |
|
1535 |
margin-top: 20px; |
|
1536 |
max-width: 300px; |
|
1537 |
background: transparent; |
|
1538 |
border-color: #fff; |
|
1539 |
display: none; |
|
1540 |
} |
|
1541 |
||
1542 |
.uploader-window .media-progress-bar div { |
|
1543 |
background: #fff; |
|
1544 |
} |
|
1545 |
||
1546 |
.uploading .uploader-window .media-progress-bar { |
|
1547 |
display: block; |
|
1548 |
} |
|
1549 |
||
1550 |
.media-frame .uploader-inline { |
|
5 | 1551 |
margin-bottom: 20px; |
1552 |
padding: 0; |
|
0 | 1553 |
text-align: center; |
1554 |
} |
|
1555 |
||
1556 |
.uploader-inline-content { |
|
1557 |
position: absolute; |
|
1558 |
top: 30%; |
|
1559 |
left: 0; |
|
1560 |
right: 0; |
|
1561 |
} |
|
1562 |
||
1563 |
.uploader-inline-content .upload-ui { |
|
5 | 1564 |
margin: 2em 0; |
0 | 1565 |
} |
1566 |
||
1567 |
.uploader-inline-content .post-upload-ui { |
|
1568 |
margin-bottom: 2em; |
|
1569 |
} |
|
1570 |
||
1571 |
.uploader-inline .has-upload-message .upload-ui { |
|
1572 |
margin: 0 0 4em; |
|
1573 |
} |
|
1574 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1575 |
.uploader-inline h2 { |
0 | 1576 |
font-size: 20px; |
16 | 1577 |
line-height: 1.4; |
5 | 1578 |
font-weight: 400; |
1579 |
margin: 0; |
|
0 | 1580 |
} |
1581 |
||
1582 |
.uploader-inline .has-upload-message .upload-instructions { |
|
1583 |
font-size: 14px; |
|
18 | 1584 |
color: #3c434a; |
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1585 |
font-weight: 400; |
0 | 1586 |
} |
1587 |
||
1588 |
.uploader-inline .drop-instructions { |
|
1589 |
display: none; |
|
1590 |
} |
|
1591 |
||
1592 |
.supports-drag-drop .uploader-inline .drop-instructions { |
|
1593 |
display: block; |
|
1594 |
} |
|
1595 |
||
1596 |
.uploader-inline p { |
|
5 | 1597 |
margin: 0.5em 0; |
0 | 1598 |
} |
1599 |
||
1600 |
.uploader-inline .media-progress-bar { |
|
1601 |
display: none; |
|
1602 |
} |
|
1603 |
||
1604 |
.uploading.uploader-inline .media-progress-bar { |
|
1605 |
display: block; |
|
1606 |
} |
|
1607 |
||
1608 |
.uploader-inline .browser { |
|
1609 |
display: inline-block !important; |
|
1610 |
} |
|
1611 |
||
1612 |
/** |
|
1613 |
* Selection |
|
1614 |
*/ |
|
1615 |
.media-selection { |
|
1616 |
position: absolute; |
|
1617 |
top: 0; |
|
1618 |
left: 0; |
|
1619 |
right: 350px; |
|
1620 |
height: 60px; |
|
1621 |
padding: 0 0 0 16px; |
|
1622 |
overflow: hidden; |
|
1623 |
white-space: nowrap; |
|
1624 |
} |
|
1625 |
||
1626 |
.media-selection .selection-info { |
|
1627 |
display: inline-block; |
|
1628 |
font-size: 12px; |
|
1629 |
height: 60px; |
|
1630 |
margin-right: 10px; |
|
1631 |
vertical-align: top; |
|
1632 |
} |
|
1633 |
||
1634 |
.media-selection.empty, |
|
1635 |
.media-selection.editing { |
|
1636 |
display: none; |
|
1637 |
} |
|
1638 |
||
1639 |
.media-selection.one .edit-selection { |
|
1640 |
display: none; |
|
1641 |
} |
|
1642 |
||
1643 |
.media-selection .count { |
|
1644 |
display: block; |
|
1645 |
padding-top: 12px; |
|
1646 |
font-size: 14px; |
|
16 | 1647 |
line-height: 1.42857142; |
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1648 |
font-weight: 600; |
0 | 1649 |
} |
1650 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1651 |
.media-selection .button-link { |
0 | 1652 |
float: left; |
1653 |
padding: 1px 8px; |
|
1654 |
margin: 1px 8px 1px -8px; |
|
16 | 1655 |
line-height: 1.4; |
18 | 1656 |
border-right: 1px solid #dcdcde; |
1657 |
color: #2271b1; |
|
0 | 1658 |
text-decoration: none; |
1659 |
} |
|
1660 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1661 |
.media-selection .button-link:hover, |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1662 |
.media-selection .button-link:focus { |
18 | 1663 |
color: #135e96; |
0 | 1664 |
} |
1665 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1666 |
.media-selection .button-link:last-child { |
0 | 1667 |
border-right: 0; |
1668 |
margin-right: 0; |
|
1669 |
} |
|
1670 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1671 |
.selection-info .clear-selection { |
18 | 1672 |
color: #d63638; |
0 | 1673 |
} |
1674 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1675 |
.selection-info .clear-selection:hover, |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1676 |
.selection-info .clear-selection:focus { |
18 | 1677 |
color: #d63638; |
0 | 1678 |
} |
1679 |
||
1680 |
.media-selection .selection-view { |
|
1681 |
display: inline-block; |
|
1682 |
vertical-align: top; |
|
1683 |
} |
|
1684 |
||
1685 |
.media-selection .attachments { |
|
1686 |
display: inline-block; |
|
1687 |
height: 48px; |
|
5 | 1688 |
margin: 6px; |
1689 |
padding: 0; |
|
0 | 1690 |
overflow: hidden; |
1691 |
vertical-align: top; |
|
1692 |
} |
|
1693 |
||
5 | 1694 |
.media-selection .attachment { |
1695 |
width: 40px; |
|
1696 |
padding: 0; |
|
1697 |
margin: 4px; |
|
1698 |
} |
|
1699 |
||
1700 |
.media-selection .attachment .thumbnail { |
|
1701 |
top: 0; |
|
1702 |
right: 0; |
|
1703 |
bottom: 0; |
|
1704 |
left: 0; |
|
1705 |
} |
|
1706 |
||
0 | 1707 |
.media-selection .attachment .icon { |
1708 |
width: 50%; |
|
1709 |
} |
|
1710 |
||
5 | 1711 |
.media-selection .attachment-preview { |
1712 |
box-shadow: none; |
|
1713 |
background: none; |
|
1714 |
} |
|
1715 |
||
1716 |
.wp-core-ui .media-selection .attachment:focus, |
|
1717 |
.wp-core-ui .media-selection .selected.attachment:focus, |
|
1718 |
.wp-core-ui .media-selection .attachment.details:focus { |
|
1719 |
box-shadow: |
|
1720 |
0 0 0 1px #fff, |
|
18 | 1721 |
0 0 2px 3px #4f94d4; |
9 | 1722 |
/* Only visible in Windows High Contrast mode */ |
1723 |
outline: 2px solid transparent; |
|
5 | 1724 |
} |
1725 |
||
1726 |
.wp-core-ui .media-selection .selected.attachment { |
|
0 | 1727 |
box-shadow: none; |
1728 |
} |
|
1729 |
||
5 | 1730 |
.wp-core-ui .media-selection .attachment.details { |
0 | 1731 |
box-shadow: |
1732 |
0 0 0 1px #fff, |
|
18 | 1733 |
0 0 0 3px #2271b1; |
0 | 1734 |
} |
1735 |
||
1736 |
.media-selection:after { |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1737 |
content: ""; |
0 | 1738 |
display: block; |
1739 |
position: absolute; |
|
1740 |
top: 0; |
|
1741 |
right: 0; |
|
1742 |
bottom: 0; |
|
1743 |
width: 25px; |
|
18 | 1744 |
background-image: linear-gradient(to left,#fff,rgba(255, 255, 255, 0)); |
0 | 1745 |
} |
1746 |
||
1747 |
.media-selection .attachment .filename { |
|
1748 |
display: none; |
|
1749 |
} |
|
1750 |
||
1751 |
/** |
|
1752 |
* Spinner |
|
1753 |
*/ |
|
1754 |
.media-frame .spinner { |
|
5 | 1755 |
background: url(../images/spinner.gif) no-repeat; |
1756 |
background-size: 20px 20px; |
|
1757 |
float: right; |
|
1758 |
display: inline-block; |
|
1759 |
visibility: hidden; |
|
0 | 1760 |
opacity: 0.7; |
1761 |
filter: alpha(opacity=70); |
|
5 | 1762 |
width: 20px; |
1763 |
height: 20px; |
|
0 | 1764 |
margin: 0; |
5 | 1765 |
vertical-align: middle; |
0 | 1766 |
} |
1767 |
||
16 | 1768 |
.media-frame.mode-grid .spinner { |
1769 |
margin: 0; |
|
1770 |
float: none; |
|
1771 |
vertical-align: middle; |
|
1772 |
} |
|
1773 |
||
1774 |
.media-modal .media-toolbar .spinner { |
|
1775 |
float: none; |
|
1776 |
vertical-align: bottom; |
|
1777 |
margin: 0 0 5px 5px; |
|
1778 |
} |
|
1779 |
||
1780 |
.media-frame .instructions + .spinner.is-active { |
|
1781 |
vertical-align: middle; |
|
1782 |
} |
|
1783 |
||
5 | 1784 |
.media-frame .spinner.is-active { |
1785 |
visibility: visible; |
|
0 | 1786 |
} |
1787 |
||
1788 |
/** |
|
1789 |
* Attachment Details |
|
1790 |
*/ |
|
1791 |
.attachment-details { |
|
1792 |
position: relative; |
|
1793 |
overflow: auto; |
|
1794 |
} |
|
1795 |
||
5 | 1796 |
.attachment-details .settings-save-status { |
1797 |
float: right; |
|
1798 |
text-transform: none; |
|
16 | 1799 |
font-weight: 400; |
5 | 1800 |
} |
1801 |
||
1802 |
.attachment-details .settings-save-status .spinner { |
|
16 | 1803 |
float: none; |
5 | 1804 |
margin-left: 5px; |
1805 |
} |
|
1806 |
||
1807 |
.attachment-details .settings-save-status .saved { |
|
1808 |
display: none; |
|
1809 |
} |
|
1810 |
||
1811 |
.attachment-details.save-waiting .settings-save-status .spinner { |
|
1812 |
visibility: visible; |
|
1813 |
} |
|
1814 |
||
1815 |
.attachment-details.save-complete .settings-save-status .saved { |
|
16 | 1816 |
display: inline-block; |
5 | 1817 |
} |
1818 |
||
0 | 1819 |
.attachment-info { |
1820 |
overflow: hidden; |
|
1821 |
min-height: 60px; |
|
1822 |
margin-bottom: 16px; |
|
16 | 1823 |
line-height: 1.5; |
18 | 1824 |
color: #646970; |
1825 |
border-bottom: 1px solid #dcdcde; |
|
0 | 1826 |
padding-bottom: 11px; |
1827 |
} |
|
1828 |
||
18 | 1829 |
.attachment-info .wp-media-wrapper { |
1830 |
margin-bottom: 8px; |
|
1831 |
} |
|
1832 |
||
1833 |
.attachment-info .wp-media-wrapper.wp-audio { |
|
1834 |
margin-top: 13px; |
|
1835 |
} |
|
1836 |
||
0 | 1837 |
.attachment-info .filename { |
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1838 |
font-weight: 600; |
18 | 1839 |
color: #3c434a; |
0 | 1840 |
word-wrap: break-word; |
1841 |
} |
|
1842 |
||
1843 |
.attachment-info .thumbnail { |
|
1844 |
position: relative; |
|
1845 |
float: left; |
|
1846 |
max-width: 120px; |
|
1847 |
max-height: 120px; |
|
1848 |
margin-top: 5px; |
|
1849 |
margin-right: 10px; |
|
1850 |
margin-bottom: 5px; |
|
1851 |
} |
|
1852 |
||
1853 |
.uploading .attachment-info .thumbnail { |
|
1854 |
width: 120px; |
|
1855 |
height: 80px; |
|
9 | 1856 |
box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.1); |
0 | 1857 |
} |
1858 |
||
1859 |
.uploading .attachment-info .media-progress-bar { |
|
1860 |
margin-top: 35px; |
|
1861 |
} |
|
1862 |
||
5 | 1863 |
.attachment-info .thumbnail-image:after { |
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1864 |
content: ""; |
0 | 1865 |
display: block; |
1866 |
position: absolute; |
|
1867 |
top: 0; |
|
1868 |
left: 0; |
|
1869 |
right: 0; |
|
1870 |
bottom: 0; |
|
9 | 1871 |
box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.15); |
0 | 1872 |
overflow: hidden; |
1873 |
} |
|
1874 |
||
1875 |
.attachment-info .thumbnail img { |
|
1876 |
display: block; |
|
1877 |
max-width: 120px; |
|
1878 |
max-height: 120px; |
|
1879 |
margin: 0 auto; |
|
1880 |
} |
|
1881 |
||
1882 |
.attachment-info .details { |
|
1883 |
float: left; |
|
1884 |
font-size: 12px; |
|
1885 |
max-width: 100%; |
|
1886 |
} |
|
1887 |
||
1888 |
.attachment-info .edit-attachment, |
|
5 | 1889 |
.attachment-info .delete-attachment, |
1890 |
.attachment-info .trash-attachment, |
|
1891 |
.attachment-info .untrash-attachment { |
|
0 | 1892 |
display: block; |
1893 |
text-decoration: none; |
|
1894 |
white-space: nowrap; |
|
1895 |
} |
|
1896 |
||
1897 |
.attachment-details.needs-refresh .attachment-info .edit-attachment { |
|
1898 |
display: none; |
|
1899 |
} |
|
1900 |
||
1901 |
.attachment-info .edit-attachment { |
|
1902 |
display: block; |
|
1903 |
} |
|
1904 |
||
5 | 1905 |
.media-modal .delete-attachment, |
1906 |
.media-modal .trash-attachment, |
|
1907 |
.media-modal .untrash-attachment { |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1908 |
display: inline; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1909 |
padding: 0; |
18 | 1910 |
color: #d63638; |
0 | 1911 |
} |
1912 |
||
5 | 1913 |
.media-modal .delete-attachment:hover, |
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1914 |
.media-modal .delete-attachment:focus, |
5 | 1915 |
.media-modal .trash-attachment:hover, |
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1916 |
.media-modal .trash-attachment:focus, |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1917 |
.media-modal .untrash-attachment:hover, |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1918 |
.media-modal .untrash-attachment:focus { |
18 | 1919 |
color: #d63638; |
0 | 1920 |
} |
1921 |
||
1922 |
/** |
|
1923 |
* Attachment Display Settings |
|
1924 |
*/ |
|
1925 |
.attachment-display-settings { |
|
1926 |
width: 100%; |
|
1927 |
float: left; |
|
1928 |
overflow: hidden; |
|
1929 |
} |
|
1930 |
||
5 | 1931 |
.collection-settings { |
0 | 1932 |
overflow: hidden; |
1933 |
} |
|
1934 |
||
5 | 1935 |
.collection-settings .setting input[type="checkbox"] { |
1936 |
float: left; |
|
1937 |
margin-right: 8px; |
|
1938 |
} |
|
1939 |
||
16 | 1940 |
.collection-settings .setting span, /* Back-compat for pre-5.3 */ |
1941 |
.collection-settings .setting .name { |
|
5 | 1942 |
min-width: inherit; |
1943 |
} |
|
1944 |
||
0 | 1945 |
/** |
5 | 1946 |
* Image Editor |
1947 |
*/ |
|
1948 |
.media-modal .imgedit-wrap { |
|
1949 |
position: static; |
|
1950 |
} |
|
1951 |
||
1952 |
.media-modal .imgedit-wrap .imgedit-panel-content { |
|
19 | 1953 |
padding: 16px 16px 0; |
5 | 1954 |
position: absolute; |
1955 |
top: 0; |
|
1956 |
right: 282px; |
|
1957 |
bottom: 0; |
|
1958 |
left: 0; |
|
1959 |
overflow: auto; |
|
1960 |
} |
|
1961 |
||
16 | 1962 |
/* |
1963 |
* Implementation of bottom padding in overflow content differs across browsers. |
|
1964 |
* We need a different method. See https://github.com/w3c/csswg-drafts/issues/129 |
|
1965 |
*/ |
|
1966 |
.media-modal .imgedit-wrap .imgedit-submit { |
|
1967 |
margin-bottom: 16px; |
|
1968 |
} |
|
1969 |
||
5 | 1970 |
.media-modal .imgedit-wrap .imgedit-settings { |
18 | 1971 |
background: #f6f7f7; |
1972 |
border-left: 1px solid #dcdcde; |
|
16 | 1973 |
padding: 20px 16px 0; |
5 | 1974 |
position: absolute; |
1975 |
top: 0; |
|
1976 |
right: 0; |
|
1977 |
bottom: 0; |
|
1978 |
width: 250px; |
|
1979 |
overflow: auto; |
|
1980 |
} |
|
1981 |
||
16 | 1982 |
/* |
1983 |
* Implementation of bottom padding in overflow content differs across browsers. |
|
1984 |
* We need a different method. See https://github.com/w3c/csswg-drafts/issues/129 |
|
1985 |
*/ |
|
1986 |
.media-modal .imgedit-wrap .imgedit-save-target { |
|
1987 |
margin: 8px 0 24px; |
|
1988 |
} |
|
1989 |
||
5 | 1990 |
.media-modal .imgedit-group { |
1991 |
background: none; |
|
1992 |
border: none; |
|
18 | 1993 |
border-bottom: 1px solid #dcdcde; |
5 | 1994 |
box-shadow: none; |
1995 |
margin: 0; |
|
1996 |
margin-bottom: 16px; |
|
1997 |
padding: 0; |
|
1998 |
padding-bottom: 16px; |
|
1999 |
position: relative; /* RTL fix, #WP29352 */ |
|
2000 |
} |
|
2001 |
||
2002 |
.media-modal .imgedit-group:last-of-type { |
|
2003 |
border: none; |
|
2004 |
margin: 0; |
|
2005 |
padding: 0; |
|
2006 |
} |
|
2007 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
2008 |
.media-modal .imgedit-group-top { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
2009 |
margin: 0; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
2010 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
2011 |
|
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
2012 |
.media-modal .imgedit-group-top h2, |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
2013 |
.media-modal .imgedit-group-top h2 .button-link { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
2014 |
display: inline-block; |
5 | 2015 |
text-transform: uppercase; |
2016 |
font-size: 12px; |
|
18 | 2017 |
color: #646970; |
5 | 2018 |
margin: 0; |
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
2019 |
margin-top: 3px; |
5 | 2020 |
} |
2021 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
2022 |
.media-modal .imgedit-group-top h2 a, |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
2023 |
.media-modal .imgedit-group-top h2 .button-link { |
5 | 2024 |
text-decoration: none; |
18 | 2025 |
color: #646970; |
5 | 2026 |
} |
2027 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
2028 |
/* higher specificity than media.css */ |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
2029 |
.wp-core-ui.media-modal .image-editor .imgedit-help-toggle, |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
2030 |
.wp-core-ui.media-modal .image-editor .imgedit-help-toggle:hover, |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
2031 |
.wp-core-ui.media-modal .image-editor .imgedit-help-toggle:active { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
2032 |
border: 1px solid transparent; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
2033 |
margin: 0; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
2034 |
padding: 0; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
2035 |
background: transparent; |
18 | 2036 |
color: #2271b1; |
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
2037 |
font-size: 20px; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
2038 |
line-height: 1; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
2039 |
cursor: pointer; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
2040 |
box-sizing: content-box; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
2041 |
box-shadow: none; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
2042 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
2043 |
|
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
2044 |
.wp-core-ui.media-modal .image-editor .imgedit-help-toggle:focus { |
18 | 2045 |
color: #2271b1; |
2046 |
border-color: #4f94d4; |
|
2047 |
box-shadow: 0 0 3px rgba(34, 113, 177, 0.8); |
|
9 | 2048 |
/* Only visible in Windows High Contrast mode */ |
2049 |
outline: 2px solid transparent; |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
2050 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
2051 |
|
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
2052 |
.wp-core-ui.media-modal .imgedit-group-top .dashicons-arrow-down.imgedit-help-toggle { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
2053 |
margin-top: -3px; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
2054 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
2055 |
|
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
2056 |
.wp-core-ui.media-modal .image-editor h3 .imgedit-help-toggle { |
5 | 2057 |
margin-top: -2px; |
2058 |
} |
|
2059 |
||
2060 |
.media-modal .imgedit-help-toggled span.dashicons:before { |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
2061 |
content: "\f142"; |
5 | 2062 |
} |
2063 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
2064 |
.media-modal .imgedit-thumbnail-preview { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
2065 |
margin: 10px 8px 0 0; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
2066 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
2067 |
|
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
2068 |
.imgedit-thumbnail-preview-caption { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
2069 |
display: block; |
5 | 2070 |
} |
2071 |
||
16 | 2072 |
.media-modal .imgedit-wrap div.updated, /* Back-compat for pre-5.5 */ |
2073 |
.media-modal .imgedit-wrap .notice { |
|
5 | 2074 |
margin: 0; |
2075 |
margin-bottom: 16px; |
|
2076 |
} |
|
2077 |
||
2078 |
/** |
|
2079 |
* Embed from URL and Image Details |
|
0 | 2080 |
*/ |
2081 |
.embed-url { |
|
2082 |
display: block; |
|
2083 |
position: relative; |
|
5 | 2084 |
padding: 16px; |
0 | 2085 |
margin: 0; |
2086 |
z-index: 250; |
|
2087 |
background: #fff; |
|
2088 |
font-size: 18px; |
|
2089 |
} |
|
2090 |
||
2091 |
.media-frame .embed-url input { |
|
2092 |
font-size: 18px; |
|
16 | 2093 |
line-height: 1.22222222; /* 22px */ |
2094 |
padding: 12px 40px 12px 14px; /* right padding to leave room for the spinner */ |
|
0 | 2095 |
width: 100%; |
2096 |
min-width: 200px; |
|
9 | 2097 |
box-shadow: inset 2px 2px 4px -2px rgba(0, 0, 0, 0.1); |
0 | 2098 |
} |
2099 |
||
16 | 2100 |
.media-frame .embed-url input::-ms-clear { |
2101 |
display: none; /* the "x" in IE 11 conflicts with the spinner */ |
|
2102 |
} |
|
2103 |
||
0 | 2104 |
.media-frame .embed-url .spinner { |
2105 |
position: absolute; |
|
5 | 2106 |
top: 32px; |
0 | 2107 |
right: 26px; |
2108 |
} |
|
2109 |
||
2110 |
.media-frame .embed-loading .embed-url .spinner { |
|
5 | 2111 |
visibility: visible; |
0 | 2112 |
} |
2113 |
||
2114 |
.embed-link-settings, |
|
5 | 2115 |
.embed-media-settings { |
0 | 2116 |
position: absolute; |
19 | 2117 |
top: 82px; |
0 | 2118 |
left: 0; |
2119 |
right: 0; |
|
2120 |
bottom: 0; |
|
16 | 2121 |
padding: 0 16px; |
0 | 2122 |
overflow: auto; |
2123 |
} |
|
2124 |
||
19 | 2125 |
.media-embed .embed-link-settings .link-text { |
2126 |
margin-top: 0; |
|
2127 |
} |
|
2128 |
||
16 | 2129 |
/* |
2130 |
* Implementation of bottom padding in overflow content differs across browsers. |
|
2131 |
* We need a different method. See https://github.com/w3c/csswg-drafts/issues/129 |
|
2132 |
*/ |
|
2133 |
.embed-link-settings::after, |
|
2134 |
.embed-media-settings::after { |
|
2135 |
content: ""; |
|
2136 |
display: flex; |
|
2137 |
clear: both; |
|
2138 |
height: 24px; |
|
2139 |
} |
|
2140 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
2141 |
.media-embed .embed-link-settings { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
2142 |
/* avoid Firefox to give focus to the embed preview container parent */ |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
2143 |
overflow: visible; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
2144 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
2145 |
|
5 | 2146 |
.embed-preview img, |
2147 |
.embed-preview iframe, |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
2148 |
.embed-preview embed, |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
2149 |
.mejs-container video { |
5 | 2150 |
max-width: 100%; |
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
2151 |
vertical-align: middle; |
5 | 2152 |
} |
2153 |
||
2154 |
.embed-preview a { |
|
2155 |
display: inline-block; |
|
2156 |
} |
|
2157 |
||
2158 |
.embed-preview img { |
|
2159 |
display: block; |
|
2160 |
height: auto; |
|
2161 |
} |
|
2162 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
2163 |
.mejs-container:focus { |
18 | 2164 |
outline: 1px solid #4f94d4; |
2165 |
box-shadow: 0 0 2px 1px rgba(79, 148, 212, 0.8); |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
2166 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
2167 |
|
5 | 2168 |
.image-details .media-modal { |
2169 |
left: 140px; |
|
2170 |
right: 140px; |
|
2171 |
} |
|
2172 |
||
2173 |
.image-details .media-frame-title, |
|
2174 |
.image-details .media-frame-content, |
|
2175 |
.image-details .media-frame-router { |
|
2176 |
left: 0; |
|
2177 |
} |
|
2178 |
||
2179 |
.image-details .embed-media-settings { |
|
2180 |
top: 0; |
|
2181 |
overflow: visible; |
|
2182 |
padding: 0; |
|
2183 |
} |
|
2184 |
||
16 | 2185 |
.image-details .embed-media-settings::after { |
2186 |
content: none; |
|
2187 |
} |
|
2188 |
||
5 | 2189 |
.image-details .embed-media-settings, |
2190 |
.image-details .embed-media-settings div { |
|
2191 |
box-sizing: border-box; |
|
2192 |
} |
|
2193 |
||
2194 |
.image-details .column-settings { |
|
18 | 2195 |
background: #f6f7f7; |
2196 |
border-right: 1px solid #dcdcde; |
|
5 | 2197 |
min-height: 100%; |
2198 |
width: 55%; |
|
2199 |
position: absolute; |
|
2200 |
top: 0; |
|
2201 |
left: 0; |
|
2202 |
} |
|
2203 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
2204 |
.image-details .column-settings h2 { |
5 | 2205 |
margin: 20px; |
2206 |
padding-top: 20px; |
|
18 | 2207 |
border-top: 1px solid #dcdcde; |
2208 |
color: #1d2327; |
|
5 | 2209 |
} |
2210 |
||
2211 |
.image-details .column-image { |
|
2212 |
width: 45%; |
|
2213 |
position: absolute; |
|
2214 |
left: 55%; |
|
2215 |
top: 0; |
|
2216 |
} |
|
2217 |
||
2218 |
.image-details .image { |
|
2219 |
margin: 20px; |
|
2220 |
} |
|
2221 |
||
2222 |
.image-details .image img { |
|
2223 |
max-width: 100%; |
|
2224 |
max-height: 500px; |
|
2225 |
} |
|
2226 |
||
2227 |
.image-details .advanced-toggle { |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
2228 |
padding: 0; |
18 | 2229 |
color: #646970; |
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
2230 |
text-transform: uppercase; |
5 | 2231 |
text-decoration: none; |
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
2232 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
2233 |
|
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
2234 |
.image-details .advanced-toggle:hover, |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
2235 |
.image-details .advanced-toggle:active { |
18 | 2236 |
color: #646970; |
5 | 2237 |
} |
2238 |
||
2239 |
.image-details .advanced-toggle:after { |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
2240 |
font: normal 20px/1 dashicons; |
18 | 2241 |
speak: never; |
5 | 2242 |
vertical-align: top; |
2243 |
-webkit-font-smoothing: antialiased; |
|
2244 |
-moz-osx-font-smoothing: grayscale; |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
2245 |
content: "\f140"; |
5 | 2246 |
display: inline-block; |
2247 |
margin-top: -2px; |
|
2248 |
} |
|
2249 |
||
2250 |
.image-details .advanced-visible .advanced-toggle:after { |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
2251 |
content: "\f142"; |
5 | 2252 |
} |
2253 |
||
16 | 2254 |
.image-details .custom-size label, /* Back-compat for pre-5.3 */ |
2255 |
.image-details .custom-size .custom-size-setting { |
|
5 | 2256 |
display: block; |
2257 |
float: left; |
|
2258 |
} |
|
2259 |
||
16 | 2260 |
.image-details .custom-size .custom-size-setting label { |
2261 |
float: none; |
|
5 | 2262 |
} |
2263 |
||
2264 |
.image-details .custom-size input { |
|
2265 |
width: 5em; |
|
2266 |
} |
|
2267 |
||
2268 |
.image-details .custom-size .sep { |
|
2269 |
float: left; |
|
19 | 2270 |
margin: 26px 6px 0; |
5 | 2271 |
} |
2272 |
||
16 | 2273 |
.image-details .custom-size .description { |
2274 |
margin-left: 0; |
|
5 | 2275 |
} |
2276 |
||
0 | 2277 |
.media-embed .thumbnail { |
2278 |
max-width: 100%; |
|
2279 |
max-height: 200px; |
|
2280 |
position: relative; |
|
2281 |
float: left; |
|
2282 |
} |
|
2283 |
||
2284 |
.media-embed .thumbnail img { |
|
2285 |
max-height: 200px; |
|
2286 |
display: block; |
|
2287 |
} |
|
2288 |
||
2289 |
.media-embed .thumbnail:after { |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
2290 |
content: ""; |
0 | 2291 |
display: block; |
2292 |
position: absolute; |
|
2293 |
top: 0; |
|
2294 |
left: 0; |
|
2295 |
right: 0; |
|
2296 |
bottom: 0; |
|
9 | 2297 |
box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1); |
0 | 2298 |
overflow: hidden; |
2299 |
} |
|
2300 |
||
16 | 2301 |
.media-embed .setting, |
2302 |
.media-embed .setting-group { |
|
0 | 2303 |
width: 100%; |
5 | 2304 |
margin: 10px 0; |
0 | 2305 |
float: left; |
2306 |
display: block; |
|
2307 |
clear: both; |
|
2308 |
} |
|
2309 |
||
16 | 2310 |
.media-embed .setting-group .setting:not(.checkbox-setting) { |
2311 |
margin: 0; |
|
2312 |
} |
|
2313 |
||
9 | 2314 |
.media-embed .setting.has-description { |
2315 |
margin-bottom: 5px; |
|
2316 |
} |
|
2317 |
||
2318 |
.media-embed .description { |
|
2319 |
clear: both; |
|
2320 |
font-style: normal; |
|
2321 |
} |
|
2322 |
||
16 | 2323 |
.media-embed .content-track + .description { |
2324 |
line-height: 1.4; |
|
2325 |
/* The !important needs to override a high specificity selector from wp-medialement.css */ |
|
2326 |
max-width: none !important; |
|
2327 |
} |
|
2328 |
||
2329 |
.media-embed .remove-track { |
|
2330 |
margin-bottom: 10px; |
|
2331 |
} |
|
2332 |
||
2333 |
.image-details .embed-media-settings .setting, |
|
2334 |
.image-details .embed-media-settings .setting-group { |
|
5 | 2335 |
float: none; |
2336 |
width: auto; |
|
2337 |
} |
|
2338 |
||
2339 |
.image-details .actions { |
|
2340 |
margin: 10px 0; |
|
2341 |
} |
|
2342 |
||
2343 |
.image-details .hidden { |
|
2344 |
display: none; |
|
2345 |
} |
|
2346 |
||
2347 |
.media-embed .setting input[type="text"], |
|
16 | 2348 |
.media-embed .setting textarea, |
2349 |
.media-embed fieldset { |
|
5 | 2350 |
display: block; |
2351 |
width: 100%; |
|
2352 |
max-width: 400px; |
|
2353 |
} |
|
2354 |
||
2355 |
.image-details .embed-media-settings .setting input[type="text"], |
|
2356 |
.image-details .embed-media-settings .setting textarea { |
|
2357 |
max-width: inherit; |
|
2358 |
width: 70%; |
|
2359 |
} |
|
2360 |
||
2361 |
.image-details .embed-media-settings .setting input.link-to-custom, |
|
2362 |
.image-details .embed-media-settings .link-target, |
|
9 | 2363 |
.image-details .embed-media-settings .custom-size, |
16 | 2364 |
.image-details .embed-media-settings .setting-group, |
9 | 2365 |
.image-details .description { |
5 | 2366 |
margin-left: 27%; |
2367 |
width: 70%; |
|
2368 |
} |
|
2369 |
||
9 | 2370 |
.image-details .description { |
2371 |
font-style: normal; |
|
2372 |
margin-top: 0; |
|
2373 |
} |
|
2374 |
||
5 | 2375 |
.image-details .embed-media-settings .link-target { |
16 | 2376 |
margin-top: 16px; |
2377 |
} |
|
2378 |
||
2379 |
.image-details .checkbox-label, |
|
2380 |
.audio-details .checkbox-label, |
|
2381 |
.video-details .checkbox-label { |
|
2382 |
vertical-align: baseline; |
|
5 | 2383 |
} |
2384 |
||
2385 |
.media-embed .setting input.hidden, |
|
2386 |
.media-embed .setting textarea.hidden { |
|
2387 |
display: none; |
|
2388 |
} |
|
2389 |
||
16 | 2390 |
.media-embed .setting span, /* Back-compat for pre-5.3 */ |
2391 |
.media-embed .setting .name, |
|
2392 |
.media-embed .setting-group .name { |
|
2393 |
display: inline-block; |
|
0 | 2394 |
font-size: 13px; |
16 | 2395 |
line-height: 1.84615384; |
18 | 2396 |
color: #646970; |
5 | 2397 |
} |
2398 |
||
16 | 2399 |
.media-embed .setting span { |
2400 |
display: block; /* Back-compat for pre-5.3 */ |
|
2401 |
width: 200px; /* Back-compat for pre-5.3 */ |
|
2402 |
} |
|
2403 |
||
2404 |
.image-details .embed-media-settings .setting span, /* Back-compat for pre-5.3 */ |
|
2405 |
.image-details .embed-media-settings .setting .name { |
|
5 | 2406 |
float: left; |
2407 |
width: 25%; |
|
2408 |
text-align: right; |
|
19 | 2409 |
margin: 8px 1% 0; |
5 | 2410 |
line-height: 1.1; |
0 | 2411 |
} |
2412 |
||
16 | 2413 |
/* Buttons group in IE 11. */ |
2414 |
.media-frame .setting-group .button-group, |
|
2415 |
.image-details .embed-media-settings .setting .button-group { |
|
2416 |
width: auto; |
|
0 | 2417 |
} |
2418 |
||
5 | 2419 |
.media-embed-sidebar { |
2420 |
position: absolute; |
|
2421 |
top: 0; |
|
2422 |
left: 440px; |
|
2423 |
} |
|
2424 |
||
2425 |
.advanced-section, |
|
2426 |
.link-settings { |
|
2427 |
margin-top: 10px; |
|
2428 |
} |
|
2429 |
||
0 | 2430 |
/** |
16 | 2431 |
* Button groups fix: can be removed together with the Back-compat for pre-5.3 |
0 | 2432 |
*/ |
16 | 2433 |
.media-frame .setting .button-group { |
2434 |
display: flex; |
|
2435 |
margin: 0 !important; |
|
2436 |
max-width: none !important; |
|
2437 |
} |
|
0 | 2438 |
|
5 | 2439 |
/** |
2440 |
* Localization |
|
2441 |
*/ |
|
2442 |
.rtl .media-modal, |
|
2443 |
.rtl .media-frame, |
|
2444 |
.rtl .media-frame .search, |
|
2445 |
.rtl .media-frame input[type="text"], |
|
2446 |
.rtl .media-frame input[type="password"], |
|
2447 |
.rtl .media-frame input[type="number"], |
|
2448 |
.rtl .media-frame input[type="search"], |
|
2449 |
.rtl .media-frame input[type="email"], |
|
2450 |
.rtl .media-frame input[type="url"], |
|
2451 |
.rtl .media-frame input[type="tel"], |
|
2452 |
.rtl .media-frame textarea, |
|
2453 |
.rtl .media-frame select { |
|
2454 |
font-family: Tahoma, sans-serif; |
|
2455 |
} |
|
2456 |
||
2457 |
:lang(he-il) .rtl .media-modal, |
|
2458 |
:lang(he-il) .rtl .media-frame, |
|
2459 |
:lang(he-il) .rtl .media-frame .search, |
|
2460 |
:lang(he-il) .rtl .media-frame input[type="text"], |
|
2461 |
:lang(he-il) .rtl .media-frame input[type="password"], |
|
2462 |
:lang(he-il) .rtl .media-frame input[type="number"], |
|
2463 |
:lang(he-il) .rtl .media-frame input[type="search"], |
|
2464 |
:lang(he-il) .rtl .media-frame input[type="email"], |
|
2465 |
:lang(he-il) .rtl .media-frame input[type="url"], |
|
2466 |
:lang(he-il) .rtl .media-frame textarea, |
|
2467 |
:lang(he-il) .rtl .media-frame select { |
|
2468 |
font-family: Arial, sans-serif; |
|
0 | 2469 |
} |
2470 |
||
2471 |
/** |
|
2472 |
* Responsive layout |
|
2473 |
*/ |
|
2474 |
@media only screen and (max-width: 900px) { |
|
16 | 2475 |
.media-modal .media-frame-title { |
2476 |
height: 40px; |
|
2477 |
} |
|
2478 |
||
2479 |
.media-modal .media-frame-title h1 { |
|
2480 |
line-height: 2.22222222; |
|
2481 |
font-size: 18px; |
|
2482 |
} |
|
2483 |
||
2484 |
.media-modal-close { |
|
2485 |
width: 42px; |
|
2486 |
height: 42px; |
|
2487 |
} |
|
5 | 2488 |
|
2489 |
/* Drop-down menu */ |
|
16 | 2490 |
.media-frame .media-frame-title { |
2491 |
position: static; |
|
2492 |
padding: 0 44px; |
|
2493 |
text-align: center; |
|
2494 |
} |
|
2495 |
||
5 | 2496 |
.media-frame:not(.hide-menu) .media-frame-router, |
2497 |
.media-frame:not(.hide-menu) .media-frame-content, |
|
2498 |
.media-frame:not(.hide-menu) .media-frame-toolbar { |
|
2499 |
left: 0; |
|
2500 |
} |
|
2501 |
||
16 | 2502 |
.media-frame:not(.hide-menu) .media-frame-router { |
2503 |
/* 40 title + (40 - 6) menu toggle button + 6 spacing */ |
|
2504 |
top: 80px; |
|
2505 |
} |
|
2506 |
||
2507 |
.media-frame:not(.hide-menu) .media-frame-content { |
|
2508 |
/* 80 + room for the tabs */ |
|
2509 |
top: 114px; |
|
2510 |
} |
|
2511 |
||
2512 |
.media-frame.hide-router .media-frame-content { |
|
2513 |
top: 80px; |
|
2514 |
} |
|
2515 |
||
5 | 2516 |
.media-frame:not(.hide-menu) .media-frame-menu { |
2517 |
position: static; |
|
2518 |
width: 0; |
|
0 | 2519 |
} |
2520 |
||
5 | 2521 |
.media-frame:not(.hide-menu) .media-menu { |
16 | 2522 |
display: none; |
5 | 2523 |
width: auto; |
2524 |
max-width: 80%; |
|
2525 |
overflow: auto; |
|
2526 |
z-index: 2000; |
|
16 | 2527 |
top: 75px; |
2528 |
left: 50%; |
|
2529 |
transform: translateX(-50%); |
|
5 | 2530 |
right: auto; |
2531 |
bottom: auto; |
|
2532 |
padding: 5px 0; |
|
18 | 2533 |
border: 1px solid #c3c4c7; |
5 | 2534 |
} |
2535 |
||
2536 |
.media-frame:not(.hide-menu) .media-menu.visible { |
|
16 | 2537 |
display: block; |
0 | 2538 |
} |
2539 |
||
5 | 2540 |
.media-frame:not(.hide-menu) .media-menu > a { |
2541 |
padding: 12px 16px; |
|
2542 |
font-size: 16px; |
|
2543 |
} |
|
2544 |
||
2545 |
.media-frame:not(.hide-menu) .media-menu .separator { |
|
2546 |
margin: 5px 10px; |
|
0 | 2547 |
} |
2548 |
||
16 | 2549 |
/* Visually hide the menu heading keeping it available to assistive technologies. */ |
2550 |
.media-frame-menu-heading { |
|
2551 |
clip: rect(1px, 1px, 1px, 1px); |
|
2552 |
-webkit-clip-path: inset(50%); |
|
2553 |
clip-path: inset(50%); |
|
2554 |
height: 1px; |
|
2555 |
overflow: hidden; |
|
2556 |
padding: 0; |
|
2557 |
width: 1px; |
|
2558 |
word-wrap: normal !important; |
|
5 | 2559 |
} |
2560 |
||
16 | 2561 |
/* Reveal the menu toggle button. */ |
2562 |
.wp-core-ui .media-frame:not(.hide-menu) .button.media-frame-menu-toggle { |
|
2563 |
display: inline-flex; |
|
2564 |
align-items: center; |
|
2565 |
position: absolute; |
|
2566 |
left: 50%; |
|
2567 |
transform: translateX(-50%); |
|
2568 |
margin: -6px 0 0; |
|
2569 |
padding: 0 2px 0 12px; |
|
2570 |
font-size: 0.875rem; |
|
2571 |
font-weight: 600; |
|
2572 |
text-decoration: none; |
|
2573 |
background: transparent; |
|
2574 |
/* Only for IE11 to vertically align text within the inline-flex button */ |
|
2575 |
height: 0.1%; |
|
2576 |
/* Modern browsers */ |
|
2577 |
min-height: 40px; |
|
2578 |
} |
|
2579 |
||
2580 |
.wp-core-ui .button.media-frame-menu-toggle:hover, |
|
2581 |
.wp-core-ui .button.media-frame-menu-toggle:active { |
|
2582 |
background: transparent; |
|
2583 |
transform: none; |
|
2584 |
} |
|
2585 |
||
2586 |
.wp-core-ui .button.media-frame-menu-toggle:focus { |
|
2587 |
/* Only visible in Windows High Contrast mode */ |
|
2588 |
outline: 1px solid transparent; |
|
5 | 2589 |
} |
2590 |
/* End drop-down menu */ |
|
2591 |
||
0 | 2592 |
.media-sidebar { |
5 | 2593 |
width: 230px; |
0 | 2594 |
} |
2595 |
||
2596 |
.attachments-browser .attachments, |
|
2597 |
.attachments-browser .uploader-inline, |
|
18 | 2598 |
.attachments-browser .media-toolbar, |
2599 |
.attachments-browser .attachments-wrapper, |
|
2600 |
.attachments-browser.has-load-more .attachments-wrapper { |
|
5 | 2601 |
right: 262px; |
2602 |
} |
|
2603 |
||
2604 |
.media-sidebar .setting, |
|
2605 |
.attachment-details .setting { |
|
19 | 2606 |
margin: 6px 0; |
0 | 2607 |
} |
2608 |
||
2609 |
.media-sidebar .setting input, |
|
2610 |
.media-sidebar .setting textarea, |
|
16 | 2611 |
.media-sidebar .setting .name, |
5 | 2612 |
.attachment-details .setting input, |
2613 |
.attachment-details .setting textarea, |
|
16 | 2614 |
.attachment-details .setting .name, |
0 | 2615 |
.compat-item label span { |
2616 |
float: none; |
|
16 | 2617 |
display: inline-block; |
2618 |
} |
|
2619 |
||
2620 |
.media-sidebar .setting span, /* Back-compat for pre-5.3 */ |
|
2621 |
.attachment-details .setting span, /* Back-compat for pre-5.3 */ |
|
2622 |
.media-sidebar .checkbox-label-inline { |
|
2623 |
float: none; |
|
0 | 2624 |
} |
2625 |
||
16 | 2626 |
.media-sidebar .setting .select-label-inline { |
2627 |
display: inline; |
|
2628 |
} |
|
2629 |
||
2630 |
.media-sidebar .setting .name, |
|
2631 |
.media-sidebar .checkbox-label-inline, |
|
2632 |
.attachment-details .setting .name, |
|
0 | 2633 |
.compat-item label span { |
2634 |
text-align: inherit; |
|
2635 |
min-height: 16px; |
|
2636 |
margin: 0; |
|
16 | 2637 |
padding: 8px 2px 2px; |
2638 |
} |
|
2639 |
||
2640 |
/* Needs high specificity. */ |
|
2641 |
.media-sidebar .setting .copy-to-clipboard-container, |
|
2642 |
.attachment-details .attachment-info .copy-to-clipboard-container { |
|
2643 |
margin-left: 0; |
|
2644 |
padding-top: 0; |
|
2645 |
} |
|
2646 |
||
2647 |
.media-sidebar .setting .copy-attachment-url, |
|
2648 |
.attachment-details .attachment-info .copy-attachment-url { |
|
2649 |
margin: 0 1px; |
|
0 | 2650 |
} |
2651 |
||
5 | 2652 |
.media-sidebar .setting .value, |
2653 |
.attachment-details .setting .value { |
|
2654 |
float: none; |
|
2655 |
width: auto; |
|
2656 |
} |
|
2657 |
||
2658 |
.media-sidebar .setting input[type="text"], |
|
2659 |
.media-sidebar .setting input[type="password"], |
|
2660 |
.media-sidebar .setting input[type="email"], |
|
2661 |
.media-sidebar .setting input[type="number"], |
|
2662 |
.media-sidebar .setting input[type="search"], |
|
2663 |
.media-sidebar .setting input[type="tel"], |
|
2664 |
.media-sidebar .setting input[type="url"], |
|
0 | 2665 |
.media-sidebar .setting textarea, |
5 | 2666 |
.media-sidebar .setting select, |
2667 |
.attachment-details .setting input[type="text"], |
|
2668 |
.attachment-details .setting input[type="password"], |
|
2669 |
.attachment-details .setting input[type="email"], |
|
2670 |
.attachment-details .setting input[type="number"], |
|
2671 |
.attachment-details .setting input[type="search"], |
|
2672 |
.attachment-details .setting input[type="tel"], |
|
2673 |
.attachment-details .setting input[type="url"], |
|
2674 |
.attachment-details .setting textarea, |
|
9 | 2675 |
.attachment-details .setting select, |
2676 |
.attachment-details .setting + .description { |
|
5 | 2677 |
float: none; |
0 | 2678 |
width: 98%; |
2679 |
max-width: none; |
|
5 | 2680 |
height: auto; |
0 | 2681 |
} |
2682 |
||
16 | 2683 |
.media-frame .media-toolbar input[type="search"] { |
2684 |
line-height: 2.25; /* 36px */ |
|
2685 |
} |
|
2686 |
||
5 | 2687 |
.media-sidebar .setting select.columns, |
2688 |
.attachment-details .setting select.columns { |
|
0 | 2689 |
width: auto; |
2690 |
} |
|
2691 |
||
2692 |
.media-frame input, |
|
2693 |
.media-frame textarea, |
|
2694 |
.media-frame .search { |
|
2695 |
padding: 3px 6px; |
|
2696 |
} |
|
2697 |
||
16 | 2698 |
.wp-admin .media-frame select { |
2699 |
min-height: 40px; |
|
2700 |
font-size: 16px; |
|
2701 |
line-height: 1.625; |
|
2702 |
padding: 5px 24px 5px 8px; |
|
2703 |
} |
|
2704 |
||
5 | 2705 |
.image-details .column-image { |
2706 |
width: 30%; |
|
2707 |
left: 70%; |
|
2708 |
} |
|
2709 |
||
2710 |
.image-details .column-settings { |
|
2711 |
width: 70%; |
|
2712 |
} |
|
2713 |
||
2714 |
.image-details .media-modal { |
|
2715 |
left: 30px; |
|
2716 |
right: 30px; |
|
2717 |
} |
|
2718 |
||
16 | 2719 |
.image-details .embed-media-settings .setting, |
2720 |
.image-details .embed-media-settings .setting-group { |
|
5 | 2721 |
margin: 20px; |
2722 |
} |
|
2723 |
||
16 | 2724 |
.image-details .embed-media-settings .setting span, /* Back-compat for pre-5.3 */ |
2725 |
.image-details .embed-media-settings .setting .name { |
|
5 | 2726 |
float: none; |
2727 |
text-align: left; |
|
2728 |
width: 100%; |
|
2729 |
margin-bottom: 4px; |
|
16 | 2730 |
margin-left: 0; |
2731 |
} |
|
2732 |
||
2733 |
.media-modal .legend-inline { |
|
2734 |
position: static; |
|
2735 |
transform: none; |
|
2736 |
margin-left: 0; |
|
2737 |
margin-bottom: 6px; |
|
2738 |
} |
|
2739 |
||
2740 |
.image-details .embed-media-settings .setting-group .setting { |
|
2741 |
margin-bottom: 0; |
|
5 | 2742 |
} |
2743 |
||
2744 |
.image-details .embed-media-settings .setting input.link-to-custom, |
|
2745 |
.image-details .embed-media-settings .setting input[type="text"], |
|
2746 |
.image-details .embed-media-settings .setting textarea { |
|
2747 |
width: 100%; |
|
2748 |
margin-left: 0; |
|
2749 |
} |
|
2750 |
||
9 | 2751 |
.image-details .embed-media-settings .setting.has-description { |
2752 |
margin-bottom: 5px; |
|
2753 |
} |
|
2754 |
||
2755 |
.image-details .description { |
|
2756 |
width: auto; |
|
2757 |
margin: 0 20px; |
|
2758 |
} |
|
2759 |
||
5 | 2760 |
.image-details .embed-media-settings .custom-size { |
2761 |
margin-left: 20px; |
|
2762 |
} |
|
2763 |
||
2764 |
.collection-settings .setting input[type="checkbox"] { |
|
16 | 2765 |
float: none; |
5 | 2766 |
margin-top: 0; |
0 | 2767 |
} |
2768 |
||
2769 |
.media-selection { |
|
2770 |
min-width: 120px; |
|
2771 |
} |
|
2772 |
||
2773 |
.media-selection:after { |
|
2774 |
background: none; |
|
2775 |
} |
|
2776 |
||
2777 |
.media-selection .attachments { |
|
2778 |
display: none; |
|
2779 |
} |
|
2780 |
||
5 | 2781 |
.media-modal .attachments-browser .media-toolbar .search { |
2782 |
max-width: 100%; |
|
2783 |
height: auto; |
|
2784 |
float: right; |
|
2785 |
} |
|
2786 |
||
2787 |
.media-modal .attachments-browser .media-toolbar .attachment-filters { |
|
2788 |
height: auto; |
|
2789 |
} |
|
2790 |
||
2791 |
/* Text inputs need to be 16px, or they force zooming on iOS */ |
|
2792 |
.media-frame input[type="text"], |
|
2793 |
.media-frame input[type="password"], |
|
2794 |
.media-frame input[type="number"], |
|
2795 |
.media-frame input[type="search"], |
|
2796 |
.media-frame input[type="email"], |
|
2797 |
.media-frame input[type="url"], |
|
2798 |
.media-frame textarea, |
|
2799 |
.media-frame select { |
|
2800 |
font-size: 16px; |
|
0 | 2801 |
} |
16 | 2802 |
|
2803 |
.media-frame .media-toolbar input[type="search"] { |
|
2804 |
line-height: 2.3755; /* 38px */ |
|
2805 |
} |
|
2806 |
||
2807 |
.media-modal .media-toolbar .spinner { |
|
2808 |
margin-bottom: 10px; |
|
2809 |
} |
|
2810 |
} |
|
2811 |
||
2812 |
@media screen and (max-width: 782px) { |
|
2813 |
.attachments-browser .media-toolbar { |
|
2814 |
height: 82px; |
|
2815 |
} |
|
2816 |
||
2817 |
.attachments-browser .attachments, |
|
2818 |
.attachments-browser .uploader-inline { |
|
2819 |
top: 82px; |
|
2820 |
} |
|
2821 |
||
2822 |
.media-frame-toolbar .media-toolbar { |
|
2823 |
bottom: -54px; |
|
2824 |
} |
|
2825 |
||
2826 |
.mode-grid .attachments-browser .media-toolbar-primary { |
|
2827 |
display: block; |
|
2828 |
} |
|
2829 |
||
2830 |
.media-sidebar .copy-to-clipboard-container .success, |
|
2831 |
.attachment-details .copy-to-clipboard-container .success { |
|
2832 |
font-size: 14px; |
|
2833 |
line-height: 2.71428571; |
|
2834 |
} |
|
0 | 2835 |
} |
2836 |
||
5 | 2837 |
/* Responsive on portrait and landscape */ |
2838 |
@media only screen and (max-width: 640px), screen and (max-height: 400px) { |
|
2839 |
/* Full-bleed modal */ |
|
2840 |
.media-modal, |
|
2841 |
.image-details .media-modal { |
|
2842 |
position: fixed; |
|
2843 |
top: 0; |
|
2844 |
left: 0; |
|
2845 |
right: 0; |
|
2846 |
bottom: 0; |
|
2847 |
} |
|
2848 |
||
2849 |
.media-modal-backdrop { |
|
2850 |
position: fixed; |
|
2851 |
} |
|
2852 |
||
2853 |
.media-sidebar { |
|
2854 |
z-index: 1900; |
|
2855 |
max-width: 70%; |
|
2856 |
bottom: 120%; |
|
2857 |
box-sizing: border-box; |
|
2858 |
padding-bottom: 0; |
|
2859 |
} |
|
2860 |
||
2861 |
.media-sidebar.visible { |
|
2862 |
bottom: 0; |
|
2863 |
} |
|
2864 |
||
2865 |
.attachments-browser .attachments, |
|
2866 |
.attachments-browser .uploader-inline, |
|
18 | 2867 |
.attachments-browser .media-toolbar, |
2868 |
.media-frame-content .attachments-browser .attachments-wrapper { |
|
5 | 2869 |
right: 0; |
2870 |
} |
|
2871 |
||
18 | 2872 |
.attachments-browser .attachments-wrapper { |
2873 |
padding-top: 12px; |
|
2874 |
} |
|
2875 |
||
5 | 2876 |
.image-details .media-frame-title { |
2877 |
display: block; |
|
2878 |
top: 0; |
|
2879 |
font-size: 14px; |
|
2880 |
} |
|
2881 |
||
2882 |
.image-details .column-image, |
|
2883 |
.image-details .column-settings { |
|
2884 |
width: 100%; |
|
2885 |
position: relative; |
|
2886 |
left: 0; |
|
2887 |
} |
|
2888 |
||
2889 |
.image-details .column-settings { |
|
2890 |
padding: 4px 0; |
|
2891 |
} |
|
2892 |
||
2893 |
/* Media tabs on the top */ |
|
0 | 2894 |
.media-frame-content .media-toolbar .instructions { |
2895 |
display: none; |
|
2896 |
} |
|
18 | 2897 |
|
2898 |
/* Change margin direction on load more button in responsive views. */ |
|
2899 |
.load-more-wrapper .load-more-jump { |
|
19 | 2900 |
margin: 12px 0 0; |
18 | 2901 |
} |
2902 |
||
0 | 2903 |
} |
2904 |
||
9 | 2905 |
@media only screen and (min-width: 901px) and (max-height: 400px) { |
2906 |
.media-menu, |
|
2907 |
.media-frame:not(.hide-menu) .media-menu { |
|
2908 |
top: 0; |
|
2909 |
padding-top: 44px; |
|
2910 |
} |
|
18 | 2911 |
|
2912 |
/* Change margin direction on load more button in responsive views. */ |
|
2913 |
.load-more-wrapper .load-more-jump { |
|
19 | 2914 |
margin: 12px 0 0; |
18 | 2915 |
} |
2916 |
||
9 | 2917 |
} |
2918 |
||
5 | 2919 |
@media only screen and (max-width: 480px) { |
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
2920 |
.wp-core-ui.wp-customizer .media-button { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
2921 |
margin-top: 13px; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
2922 |
} |
0 | 2923 |
} |
2924 |
||
2925 |
/** |
|
2926 |
* HiDPI Displays |
|
2927 |
*/ |
|
2928 |
@media print, |
|
2929 |
(-webkit-min-device-pixel-ratio: 1.25), |
|
2930 |
(min-resolution: 120dpi) { |
|
5 | 2931 |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
2932 |
.wp-core-ui .media-modal-icon { |
5 | 2933 |
background-image: url(../images/uploader-icons-2x.png); |
2934 |
background-size: 134px 15px; |
|
2935 |
} |
|
2936 |
||
2937 |
.media-frame .spinner { |
|
2938 |
background-image: url(../images/spinner-2x.gif); |
|
2939 |
} |
|
2940 |
} |
|
2941 |
||
2942 |
.media-frame-content[data-columns="1"] .attachment { |
|
2943 |
width: 100%; |
|
2944 |
} |
|
2945 |
||
2946 |
.media-frame-content[data-columns="2"] .attachment { |
|
2947 |
width: 50%; |
|
2948 |
} |
|
2949 |
||
2950 |
.media-frame-content[data-columns="3"] .attachment { |
|
2951 |
width: 33.33%; |
|
2952 |
} |
|
2953 |
||
2954 |
.media-frame-content[data-columns="4"] .attachment { |
|
2955 |
width: 25%; |
|
2956 |
} |
|
0 | 2957 |
|
5 | 2958 |
.media-frame-content[data-columns="5"] .attachment { |
2959 |
width: 20%; |
|
2960 |
} |
|
2961 |
||
2962 |
.media-frame-content[data-columns="6"] .attachment { |
|
2963 |
width: 16.66%; |
|
2964 |
} |
|
2965 |
||
2966 |
.media-frame-content[data-columns="7"] .attachment { |
|
2967 |
width: 14.28%; |
|
2968 |
} |
|
2969 |
||
2970 |
.media-frame-content[data-columns="8"] .attachment { |
|
2971 |
width: 12.5%; |
|
2972 |
} |
|
2973 |
||
2974 |
.media-frame-content[data-columns="9"] .attachment { |
|
2975 |
width: 11.11%; |
|
2976 |
} |
|
2977 |
||
2978 |
.media-frame-content[data-columns="10"] .attachment { |
|
2979 |
width: 10%; |
|
2980 |
} |
|
2981 |
||
2982 |
.media-frame-content[data-columns="11"] .attachment { |
|
2983 |
width: 9.09%; |
|
2984 |
} |
|
2985 |
||
2986 |
.media-frame-content[data-columns="12"] .attachment { |
|
2987 |
width: 8.33%; |
|
2988 |
} |