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