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