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