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