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