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