author | ymh <ymh.work@gmail.com> |
Fri, 05 Sep 2025 18:40:08 +0200 | |
changeset 21 | 48c4eec2b7e6 |
parent 19 | 3d72ae0968f4 |
child 22 | 8c2e4d02f4ef |
permissions | -rw-r--r-- |
16 | 1 |
/*! This file is auto-generated */ |
5 | 2 |
#adminmenuback, |
3 |
#adminmenuwrap, |
|
4 |
#adminmenu, |
|
5 |
#adminmenu .wp-submenu { |
|
6 |
width: 160px; |
|
18 | 7 |
background-color: #1d2327; |
5 | 8 |
} |
9 |
||
10 |
#adminmenuback { |
|
11 |
position: fixed; |
|
12 |
top: 0; |
|
13 |
bottom: -120px; |
|
14 |
z-index: 1; /* positive z-index to avoid elastic scrolling woes in Safari */ |
|
15 |
} |
|
16 |
||
16 | 17 |
.php-error #adminmenuback { |
18 |
position: absolute; |
|
19 |
} |
|
20 |
||
21 |
.php-error #adminmenuback, |
|
22 |
.php-error #adminmenuwrap { |
|
23 |
margin-top: 2em; |
|
24 |
} |
|
25 |
||
5 | 26 |
#adminmenu { |
27 |
clear: right; |
|
28 |
margin: 12px 0; |
|
29 |
padding: 0; |
|
30 |
list-style: none; |
|
31 |
} |
|
32 |
||
33 |
.folded #adminmenuback, |
|
34 |
.folded #adminmenuwrap, |
|
35 |
.folded #adminmenu, |
|
36 |
.folded #adminmenu li.menu-top { |
|
37 |
width: 36px; |
|
38 |
} |
|
39 |
||
40 |
/* New Menu icons */ |
|
41 |
||
42 |
/* hide background-image for icons above */ |
|
43 |
.menu-icon-dashboard div.wp-menu-image, |
|
44 |
.menu-icon-post div.wp-menu-image, |
|
45 |
.menu-icon-media div.wp-menu-image, |
|
46 |
.menu-icon-links div.wp-menu-image, |
|
47 |
.menu-icon-page div.wp-menu-image, |
|
48 |
.menu-icon-comments div.wp-menu-image, |
|
49 |
.menu-icon-appearance div.wp-menu-image, |
|
50 |
.menu-icon-plugins div.wp-menu-image, |
|
51 |
.menu-icon-users div.wp-menu-image, |
|
52 |
.menu-icon-tools div.wp-menu-image, |
|
53 |
.menu-icon-settings div.wp-menu-image, |
|
54 |
.menu-icon-site div.wp-menu-image, |
|
55 |
.menu-icon-generic div.wp-menu-image { |
|
56 |
background-image: none !important; |
|
57 |
} |
|
58 |
||
59 |
/*------------------------------------------------------------------------------ |
|
60 |
7.0 - Main Navigation (Left Menu) |
|
61 |
------------------------------------------------------------------------------*/ |
|
62 |
||
63 |
#adminmenuwrap { |
|
64 |
position: relative; |
|
65 |
float: right; |
|
66 |
z-index: 9990; |
|
67 |
} |
|
68 |
||
69 |
/* side admin menu */ |
|
70 |
#adminmenu * { |
|
71 |
-webkit-user-select: none; |
|
72 |
user-select: none; |
|
73 |
} |
|
74 |
||
75 |
#adminmenu li { |
|
76 |
margin: 0; |
|
77 |
padding: 0; |
|
78 |
} |
|
79 |
||
80 |
#adminmenu a { |
|
81 |
display: block; |
|
9 | 82 |
line-height: 1.3; |
5 | 83 |
padding: 2px 5px; |
18 | 84 |
color: #f0f0f1; |
5 | 85 |
} |
86 |
||
87 |
#adminmenu .wp-submenu a { |
|
18 | 88 |
color: #c3c4c7; |
89 |
color: rgba(240, 246, 252, 0.7); |
|
16 | 90 |
font-size: 13px; |
91 |
line-height: 1.4; |
|
92 |
margin: 0; |
|
93 |
padding: 5px 0; |
|
5 | 94 |
} |
95 |
||
96 |
#adminmenu .wp-submenu a:hover, |
|
97 |
#adminmenu .wp-submenu a:focus { |
|
98 |
background: none; |
|
99 |
} |
|
100 |
||
101 |
#adminmenu a:hover, |
|
102 |
#adminmenu li.menu-top > a:focus, |
|
103 |
#adminmenu .wp-submenu a:hover, |
|
104 |
#adminmenu .wp-submenu a:focus { |
|
18 | 105 |
color: #72aee6; |
106 |
} |
|
107 |
||
108 |
#adminmenu a:hover, |
|
109 |
#adminmenu a:focus, |
|
110 |
.folded #adminmenu .wp-submenu-head:hover { |
|
111 |
box-shadow: inset -4px 0 0 0 currentColor; |
|
112 |
transition: box-shadow .1s linear; |
|
5 | 113 |
} |
114 |
||
115 |
#adminmenu li.menu-top { |
|
116 |
border: none; |
|
117 |
min-height: 34px; |
|
118 |
position: relative; |
|
119 |
} |
|
120 |
||
121 |
#adminmenu .wp-submenu { |
|
122 |
list-style: none; |
|
123 |
position: absolute; |
|
124 |
top: -1000em; |
|
125 |
right: 160px; |
|
126 |
overflow: visible; |
|
127 |
word-wrap: break-word; |
|
128 |
padding: 7px 0 8px; |
|
129 |
z-index: 9999; |
|
18 | 130 |
background-color: #2c3338; |
9 | 131 |
box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2); |
5 | 132 |
} |
133 |
||
134 |
.js #adminmenu .sub-open, |
|
135 |
.js #adminmenu .opensub .wp-submenu, |
|
136 |
#adminmenu a.menu-top:focus + .wp-submenu, |
|
137 |
.no-js li.wp-has-submenu:hover .wp-submenu { |
|
138 |
top: -1px; |
|
139 |
} |
|
140 |
||
18 | 141 |
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu { |
142 |
top: 0; |
|
143 |
} |
|
144 |
||
5 | 145 |
#adminmenu .wp-has-current-submenu .wp-submenu, |
146 |
.no-js li.wp-has-current-submenu:hover .wp-submenu, |
|
147 |
#adminmenu .wp-has-current-submenu .wp-submenu.sub-open, |
|
148 |
#adminmenu .wp-has-current-submenu.opensub .wp-submenu { |
|
149 |
position: relative; |
|
150 |
z-index: 3; |
|
151 |
top: auto; |
|
152 |
right: auto; |
|
153 |
left: auto; |
|
154 |
bottom: auto; |
|
155 |
border: 0 none; |
|
156 |
margin-top: 0; |
|
157 |
box-shadow: none; |
|
18 | 158 |
} |
159 |
||
160 |
.folded #adminmenu .wp-has-current-submenu .wp-submenu { |
|
161 |
box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2); |
|
5 | 162 |
} |
163 |
||
164 |
/* ensure that wp-submenu's box shadow doesn't appear on top of the focused menu item's background. */ |
|
165 |
#adminmenu li.menu-top:hover, |
|
166 |
#adminmenu li.opensub > a.menu-top, |
|
167 |
#adminmenu li > a.menu-top:focus { |
|
168 |
position: relative; |
|
18 | 169 |
background-color: #1d2327; |
170 |
color: #72aee6; |
|
5 | 171 |
} |
172 |
||
173 |
.folded #adminmenu li.menu-top:hover, |
|
174 |
.folded #adminmenu li.opensub > a.menu-top, |
|
175 |
.folded #adminmenu li > a.menu-top:focus { |
|
176 |
z-index: 10000; |
|
177 |
} |
|
178 |
||
179 |
#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu, |
|
180 |
#adminmenu li.current a.menu-top, |
|
181 |
#adminmenu .wp-menu-arrow, |
|
182 |
#adminmenu .wp-has-current-submenu .wp-submenu .wp-submenu-head, |
|
183 |
#adminmenu .wp-menu-arrow div { |
|
18 | 184 |
background: #2271b1; |
5 | 185 |
color: #fff; |
186 |
} |
|
187 |
||
188 |
.folded #adminmenu .wp-submenu.sub-open, |
|
189 |
.folded #adminmenu .opensub .wp-submenu, |
|
190 |
.folded #adminmenu .wp-has-current-submenu .wp-submenu.sub-open, |
|
191 |
.folded #adminmenu .wp-has-current-submenu.opensub .wp-submenu, |
|
192 |
.folded #adminmenu a.menu-top:focus + .wp-submenu, |
|
193 |
.folded #adminmenu .wp-has-current-submenu a.menu-top:focus + .wp-submenu, |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
194 |
.no-js.folded #adminmenu .wp-has-submenu:hover .wp-submenu { |
5 | 195 |
top: 0; |
196 |
right: 36px; |
|
197 |
} |
|
198 |
||
199 |
.folded #adminmenu a.wp-has-current-submenu:focus + .wp-submenu, |
|
200 |
.folded #adminmenu .wp-has-current-submenu .wp-submenu { |
|
201 |
position: absolute; |
|
202 |
top: -1000em; |
|
203 |
} |
|
204 |
||
205 |
#adminmenu .wp-not-current-submenu .wp-submenu, |
|
206 |
.folded #adminmenu .wp-has-current-submenu .wp-submenu { |
|
207 |
min-width: 160px; |
|
208 |
width: auto; |
|
18 | 209 |
border-right: 5px solid transparent; |
5 | 210 |
} |
211 |
||
212 |
#adminmenu .wp-submenu li.current, |
|
213 |
#adminmenu .wp-submenu li.current a, |
|
214 |
#adminmenu .opensub .wp-submenu li.current a, |
|
215 |
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a, |
|
216 |
#adminmenu .wp-submenu li.current a:hover, |
|
217 |
#adminmenu .wp-submenu li.current a:focus { |
|
218 |
color: #fff; |
|
219 |
} |
|
220 |
||
221 |
#adminmenu .wp-not-current-submenu li > a, |
|
222 |
.folded #adminmenu .wp-has-current-submenu li > a { |
|
223 |
padding-left: 16px; |
|
224 |
padding-right: 14px; |
|
9 | 225 |
/* Exclude from the transition the outline for Windows High Contrast mode */ |
226 |
transition: all .1s ease-in-out, outline 0s; |
|
5 | 227 |
} |
228 |
||
229 |
#adminmenu .wp-has-current-submenu ul > li > a, |
|
230 |
.folded #adminmenu li.menu-top .wp-submenu > li > a { |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
231 |
padding: 5px 12px; |
5 | 232 |
} |
233 |
||
234 |
#adminmenu a.menu-top, |
|
235 |
#adminmenu .wp-submenu-head { |
|
236 |
font-size: 14px; |
|
237 |
font-weight: 400; |
|
9 | 238 |
line-height: 1.3; |
5 | 239 |
padding: 0; |
240 |
} |
|
241 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
242 |
#adminmenu .wp-submenu-head { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
243 |
display: none; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
244 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
245 |
|
5 | 246 |
.folded #adminmenu .wp-menu-name { |
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
247 |
position: absolute; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
248 |
right: -999px; |
5 | 249 |
} |
250 |
||
251 |
.folded #adminmenu .wp-submenu-head { |
|
252 |
display: block; |
|
253 |
} |
|
254 |
||
255 |
#adminmenu .wp-submenu li { |
|
256 |
padding: 0; |
|
257 |
margin: 0; |
|
258 |
} |
|
259 |
||
260 |
#adminmenu .wp-menu-image img { |
|
19 | 261 |
padding: 9px 0 0; |
5 | 262 |
opacity: 0.6; |
263 |
filter: alpha(opacity=60); |
|
264 |
} |
|
265 |
||
266 |
#adminmenu div.wp-menu-name { |
|
18 | 267 |
padding: 8px 36px 8px 8px; |
268 |
overflow-wrap: break-word; |
|
269 |
word-wrap: break-word; |
|
270 |
-ms-word-break: break-all; |
|
271 |
word-break: break-word; |
|
272 |
-webkit-hyphens: auto; |
|
273 |
hyphens: auto; |
|
5 | 274 |
} |
275 |
||
276 |
#adminmenu div.wp-menu-image { |
|
277 |
float: right; |
|
278 |
width: 36px; |
|
279 |
height: 34px; |
|
280 |
margin: 0; |
|
281 |
text-align: center; |
|
282 |
} |
|
283 |
||
284 |
#adminmenu div.wp-menu-image.svg { |
|
285 |
background-repeat: no-repeat; |
|
286 |
background-position: center; |
|
287 |
background-size: 20px auto; |
|
288 |
} |
|
289 |
||
290 |
div.wp-menu-image:before { |
|
18 | 291 |
color: #a7aaad; |
292 |
color: rgba(240, 246, 252, 0.6); |
|
5 | 293 |
padding: 7px 0; |
294 |
transition: all .1s ease-in-out; |
|
295 |
} |
|
296 |
||
297 |
#adminmenu div.wp-menu-image:before { |
|
18 | 298 |
color: #a7aaad; |
299 |
color: rgba(240, 246, 252, 0.6); |
|
5 | 300 |
} |
301 |
||
302 |
#adminmenu li.wp-has-current-submenu:hover div.wp-menu-image:before, |
|
303 |
#adminmenu .wp-has-current-submenu div.wp-menu-image:before, |
|
304 |
#adminmenu .current div.wp-menu-image:before, |
|
305 |
#adminmenu a.wp-has-current-submenu:hover div.wp-menu-image:before, |
|
306 |
#adminmenu a.current:hover div.wp-menu-image:before, |
|
307 |
#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before, |
|
308 |
#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before { |
|
309 |
color: #fff; |
|
310 |
} |
|
311 |
||
312 |
#adminmenu li:hover div.wp-menu-image:before, |
|
313 |
#adminmenu li a:focus div.wp-menu-image:before, |
|
314 |
#adminmenu li.opensub div.wp-menu-image:before { |
|
18 | 315 |
color: #72aee6; |
5 | 316 |
} |
317 |
||
318 |
.folded #adminmenu div.wp-menu-image { |
|
319 |
width: 35px; |
|
320 |
height: 30px; |
|
321 |
position: absolute; |
|
322 |
z-index: 25; |
|
323 |
} |
|
324 |
||
325 |
.folded #adminmenu a.menu-top { |
|
326 |
height: 34px; |
|
327 |
} |
|
328 |
||
329 |
/* Sticky admin menu */ |
|
330 |
.sticky-menu #adminmenuwrap { |
|
331 |
position: fixed; |
|
332 |
} |
|
333 |
||
334 |
/* A new arrow */ |
|
335 |
||
336 |
.wp-menu-arrow { |
|
337 |
display: none !important; |
|
338 |
} |
|
339 |
||
340 |
ul#adminmenu a.wp-has-current-submenu { |
|
341 |
position: relative; |
|
342 |
} |
|
343 |
||
344 |
ul#adminmenu a.wp-has-current-submenu:after, |
|
345 |
ul#adminmenu > li.current > a.current:after { |
|
346 |
left: 0; |
|
347 |
border: solid 8px transparent; |
|
348 |
content: " "; |
|
349 |
height: 0; |
|
350 |
width: 0; |
|
351 |
position: absolute; |
|
352 |
pointer-events: none; |
|
18 | 353 |
border-left-color: #f0f0f1; |
5 | 354 |
top: 50%; |
355 |
margin-top: -8px; |
|
356 |
} |
|
357 |
||
18 | 358 |
.folded ul#adminmenu li:hover a.wp-has-current-submenu:after, |
359 |
.folded ul#adminmenu li.wp-has-current-submenu:focus-within a.wp-has-current-submenu:after { |
|
5 | 360 |
display: none; |
361 |
} |
|
362 |
||
363 |
.folded ul#adminmenu a.wp-has-current-submenu:after, |
|
364 |
.folded ul#adminmenu > li a.current:after { |
|
365 |
border-width: 4px; |
|
366 |
margin-top: -4px; |
|
367 |
} |
|
368 |
||
369 |
/* flyout menu arrow */ |
|
18 | 370 |
#adminmenu li.wp-has-submenu.wp-not-current-submenu:hover:after, |
371 |
#adminmenu li.wp-has-submenu.wp-not-current-submenu:focus-within:after { |
|
5 | 372 |
left: 0; |
18 | 373 |
border: 8px solid transparent; |
5 | 374 |
content: " "; |
375 |
height: 0; |
|
376 |
width: 0; |
|
377 |
position: absolute; |
|
378 |
pointer-events: none; |
|
379 |
top: 10px; |
|
380 |
z-index: 10000; |
|
381 |
} |
|
382 |
||
18 | 383 |
.folded ul#adminmenu li.wp-has-submenu.wp-not-current-submenu:hover:after, |
384 |
.folded ul#adminmenu li.wp-has-submenu.wp-not-current-submenu:focus-within:after { |
|
5 | 385 |
border-width: 4px; |
386 |
margin-top: -4px; |
|
387 |
top: 18px; |
|
388 |
} |
|
389 |
||
18 | 390 |
#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after, |
391 |
#adminmenu li.wp-has-submenu.wp-not-current-submenu:focus-within:after { |
|
392 |
border-left-color: #2c3338; |
|
5 | 393 |
} |
394 |
||
395 |
#adminmenu li.menu-top:hover .wp-menu-image img, |
|
396 |
#adminmenu li.wp-has-current-submenu .wp-menu-image img { |
|
397 |
opacity: 1; |
|
398 |
filter: alpha(opacity=100); |
|
399 |
} |
|
400 |
||
401 |
#adminmenu li.wp-menu-separator { |
|
402 |
height: 5px; |
|
403 |
padding: 0; |
|
19 | 404 |
margin: 0 0 6px; |
5 | 405 |
cursor: inherit; |
406 |
} |
|
407 |
||
408 |
/* @todo: is this even needed given that it's nested beneath the above li.wp-menu-separator? */ |
|
409 |
#adminmenu div.separator { |
|
410 |
height: 2px; |
|
411 |
padding: 0; |
|
412 |
} |
|
413 |
||
414 |
#adminmenu .wp-submenu .wp-submenu-head { |
|
415 |
color: #fff; |
|
416 |
font-weight: 400; |
|
417 |
font-size: 14px; |
|
18 | 418 |
padding: 5px 11px 5px 4px; |
19 | 419 |
margin: -7px -5px 4px 0; |
18 | 420 |
border-width: 3px 5px 3px 0; |
421 |
border-style: solid; |
|
422 |
border-color: transparent; |
|
5 | 423 |
} |
424 |
||
425 |
#adminmenu li.current, |
|
426 |
.folded #adminmenu li.wp-menu-open { |
|
427 |
border: 0 none; |
|
428 |
} |
|
429 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
430 |
/* @todo: consider to use a single rule for these counters and the list table comments counters. */ |
21
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
431 |
#adminmenu .menu-counter, |
5 | 432 |
#adminmenu .awaiting-mod, |
433 |
#adminmenu .update-plugins { |
|
434 |
display: inline-block; |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
435 |
vertical-align: top; |
9 | 436 |
box-sizing: border-box; |
437 |
margin: 1px 2px -1px 0; |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
438 |
padding: 0 5px; |
9 | 439 |
min-width: 18px; |
440 |
height: 18px; |
|
441 |
border-radius: 9px; |
|
18 | 442 |
background-color: #d63638; |
5 | 443 |
color: #fff; |
9 | 444 |
font-size: 11px; |
445 |
line-height: 1.6; |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
446 |
text-align: center; |
5 | 447 |
z-index: 26; |
448 |
} |
|
449 |
||
450 |
#adminmenu li.current a .awaiting-mod, |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
451 |
#adminmenu li a.wp-has-current-submenu .update-plugins { |
18 | 452 |
background-color: #d63638; |
5 | 453 |
color: #fff; |
454 |
} |
|
455 |
||
456 |
#adminmenu li span.count-0 { |
|
457 |
display: none; |
|
458 |
} |
|
459 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
460 |
#collapse-button { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
461 |
display: block; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
462 |
width: 100%; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
463 |
height: 34px; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
464 |
margin: 0; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
465 |
border: none; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
466 |
padding: 0; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
467 |
position: relative; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
468 |
overflow: visible; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
469 |
background: none; |
18 | 470 |
color: #a7aaad; |
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
471 |
cursor: pointer; |
9 | 472 |
} |
473 |
||
474 |
#collapse-button:hover { |
|
18 | 475 |
color: #72aee6; |
5 | 476 |
} |
477 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
478 |
#collapse-button:focus { |
18 | 479 |
color: #72aee6; |
9 | 480 |
/* Only visible in Windows High Contrast mode */ |
481 |
outline: 1px solid transparent; |
|
482 |
outline-offset: -1px; |
|
5 | 483 |
} |
484 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
485 |
#collapse-button .collapse-button-icon, |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
486 |
#collapse-button .collapse-button-label { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
487 |
/* absolutely positioned to avoid 1px shift in IE when button is pressed */ |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
488 |
display: block; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
489 |
position: absolute; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
490 |
top: 0; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
491 |
right: 0; |
9 | 492 |
} |
493 |
||
494 |
#collapse-button .collapse-button-label { |
|
495 |
top: 8px; |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
496 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
497 |
|
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
498 |
#collapse-button .collapse-button-icon { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
499 |
width: 36px; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
500 |
height: 34px; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
501 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
502 |
|
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
503 |
#collapse-button .collapse-button-label { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
504 |
padding: 0 36px 0 0; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
505 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
506 |
|
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
507 |
.folded #collapse-button .collapse-button-label { |
5 | 508 |
display: none; |
509 |
} |
|
510 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
511 |
#collapse-button .collapse-button-icon:after { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
512 |
content: "\f148"; |
5 | 513 |
display: block; |
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
514 |
position: relative; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
515 |
top: 7px; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
516 |
text-align: center; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
517 |
font: normal 20px/1 dashicons !important; |
18 | 518 |
speak: never; |
5 | 519 |
-webkit-font-smoothing: antialiased; |
520 |
-moz-osx-font-smoothing: grayscale; |
|
521 |
} |
|
522 |
||
523 |
/* rtl:ignore */ |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
524 |
.folded #collapse-button .collapse-button-icon:after, |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
525 |
.rtl #collapse-button .collapse-button-icon:after { |
5 | 526 |
transform: rotate(180deg); |
527 |
} |
|
528 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
529 |
.rtl.folded #collapse-button .collapse-button-icon:after { |
5 | 530 |
transform: none; |
531 |
} |
|
532 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
533 |
#collapse-button .collapse-button-icon:after, |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
534 |
#collapse-button .collapse-button-label { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
535 |
transition: all .1s ease-in-out; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
536 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
537 |
|
5 | 538 |
/** |
539 |
* Toolbar menu toggle |
|
540 |
*/ |
|
541 |
li#wp-admin-bar-menu-toggle { |
|
542 |
display: none; |
|
543 |
} |
|
544 |
||
545 |
/* Hide-if-customize for items we can't add classes to */ |
|
546 |
.customize-support #menu-appearance a[href="themes.php?page=custom-header"], |
|
547 |
.customize-support #menu-appearance a[href="themes.php?page=custom-background"] { |
|
548 |
display: none; |
|
549 |
} |
|
550 |
||
551 |
/* Auto-folding of the admin menu */ |
|
552 |
@media only screen and (max-width: 960px) { |
|
553 |
.auto-fold #wpcontent, |
|
554 |
.auto-fold #wpfooter { |
|
555 |
margin-right: 36px; |
|
556 |
} |
|
557 |
||
558 |
.auto-fold #adminmenuback, |
|
559 |
.auto-fold #adminmenuwrap, |
|
560 |
.auto-fold #adminmenu, |
|
561 |
.auto-fold #adminmenu li.menu-top { |
|
562 |
width: 36px; |
|
563 |
} |
|
564 |
||
565 |
.auto-fold #adminmenu .wp-submenu.sub-open, |
|
566 |
.auto-fold #adminmenu .opensub .wp-submenu, |
|
567 |
.auto-fold #adminmenu .wp-has-current-submenu .wp-submenu.sub-open, |
|
568 |
.auto-fold #adminmenu .wp-has-current-submenu.opensub .wp-submenu, |
|
569 |
.auto-fold #adminmenu a.menu-top:focus + .wp-submenu, |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
570 |
.auto-fold #adminmenu .wp-has-current-submenu a.menu-top:focus + .wp-submenu { |
19 | 571 |
top: 0; |
5 | 572 |
right: 36px; |
573 |
} |
|
574 |
||
575 |
.auto-fold #adminmenu a.wp-has-current-submenu:focus + .wp-submenu, |
|
576 |
.auto-fold #adminmenu .wp-has-current-submenu .wp-submenu { |
|
577 |
position: absolute; |
|
578 |
top: -1000em; |
|
579 |
margin-left: -1px; |
|
580 |
padding: 7px 0 8px; |
|
581 |
z-index: 9999; |
|
582 |
} |
|
583 |
||
584 |
.auto-fold #adminmenu .wp-has-current-submenu .wp-submenu { |
|
585 |
min-width: 150px; |
|
586 |
width: auto; |
|
587 |
} |
|
588 |
||
589 |
.auto-fold #adminmenu .wp-has-current-submenu li > a { |
|
590 |
padding-left: 16px; |
|
591 |
padding-right: 14px; |
|
592 |
} |
|
593 |
||
594 |
||
595 |
.auto-fold #adminmenu li.menu-top .wp-submenu > li > a { |
|
596 |
padding-right: 12px; |
|
597 |
} |
|
598 |
||
599 |
.auto-fold #adminmenu .wp-menu-name { |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
600 |
position: absolute; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
601 |
right: -999px; |
5 | 602 |
} |
603 |
||
604 |
.auto-fold #adminmenu .wp-submenu-head { |
|
605 |
display: block; |
|
606 |
} |
|
607 |
||
608 |
.auto-fold #adminmenu div.wp-menu-image { |
|
609 |
height: 30px; |
|
610 |
width: 34px; |
|
611 |
position: absolute; |
|
612 |
z-index: 25; |
|
613 |
} |
|
614 |
||
615 |
.auto-fold #adminmenu a.menu-top { |
|
18 | 616 |
min-height: 34px; |
5 | 617 |
} |
618 |
||
619 |
.auto-fold #adminmenu li.wp-menu-open { |
|
620 |
border: 0 none; |
|
621 |
} |
|
622 |
||
623 |
.auto-fold #adminmenu .wp-has-current-submenu.menu-top-last { |
|
624 |
margin-bottom: 0; |
|
625 |
} |
|
626 |
||
18 | 627 |
.auto-fold ul#adminmenu li:hover a.wp-has-current-submenu:after, |
628 |
.auto-fold ul#adminmenu li:focus-within a.wp-has-current-submenu:after { |
|
5 | 629 |
display: none; |
630 |
} |
|
631 |
||
18 | 632 |
.auto-fold ul#adminmenu li.wp-has-submenu.wp-not-current-submenu:hover:after, |
633 |
.auto-fold ul#adminmenu li.wp-has-submenu.wp-not-current-submenu:focus-within:after { |
|
5 | 634 |
border-width: 4px; |
635 |
margin-top: -4px; |
|
636 |
top: 16px; |
|
637 |
} |
|
638 |
||
639 |
.auto-fold ul#adminmenu a.wp-has-current-submenu:after, |
|
640 |
.auto-fold ul#adminmenu > li a.current:after { |
|
641 |
border-width: 4px; |
|
642 |
margin-top: -4px; |
|
643 |
} |
|
644 |
||
645 |
.auto-fold #adminmenu li.menu-top:hover, |
|
646 |
.auto-fold #adminmenu li.opensub > a.menu-top, |
|
647 |
.auto-fold #adminmenu li > a.menu-top:focus { |
|
648 |
z-index: 10000; |
|
649 |
} |
|
650 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
651 |
.auto-fold #collapse-menu .collapse-button-label { |
5 | 652 |
display: none; |
653 |
} |
|
654 |
||
655 |
/* rtl:ignore */ |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
656 |
.auto-fold #collapse-button .collapse-button-icon:after { |
5 | 657 |
transform: rotate(180deg); |
658 |
} |
|
659 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
660 |
.rtl.auto-fold #collapse-button .collapse-button-icon:after { |
5 | 661 |
transform: none; |
662 |
} |
|
663 |
||
664 |
} |
|
665 |
||
9 | 666 |
@media screen and (max-width: 782px) { |
5 | 667 |
.auto-fold #wpcontent { |
668 |
position: relative; |
|
669 |
margin-right: 0; |
|
670 |
padding-right: 10px; |
|
671 |
} |
|
672 |
||
673 |
.sticky-menu #adminmenuwrap { |
|
674 |
position: relative; |
|
675 |
z-index: auto; |
|
676 |
top: 0; |
|
677 |
} |
|
678 |
||
679 |
/* Sidebar Adjustments */ |
|
680 |
.auto-fold #adminmenu, |
|
681 |
.auto-fold #adminmenuback, |
|
682 |
.auto-fold #adminmenuwrap { |
|
683 |
position: absolute; |
|
684 |
width: 190px; |
|
685 |
z-index: 100; |
|
686 |
} |
|
687 |
||
16 | 688 |
.auto-fold #adminmenuback { |
689 |
position: fixed; |
|
690 |
} |
|
691 |
||
5 | 692 |
.auto-fold #adminmenuback, |
693 |
.auto-fold #adminmenuwrap { |
|
694 |
display: none; |
|
695 |
} |
|
696 |
||
697 |
.auto-fold .wp-responsive-open #adminmenuback, |
|
698 |
.auto-fold .wp-responsive-open #adminmenuwrap { |
|
699 |
display: block; |
|
700 |
} |
|
701 |
||
702 |
.auto-fold #adminmenu li.menu-top { |
|
703 |
width: 100%; |
|
704 |
} |
|
705 |
||
706 |
/* Resize the admin menu items to a comfortable touch size */ |
|
707 |
.auto-fold #adminmenu li a { |
|
708 |
font-size: 16px; |
|
709 |
padding: 5px; |
|
710 |
} |
|
711 |
||
712 |
.auto-fold #adminmenu li.menu-top .wp-submenu > li > a { |
|
713 |
padding: 10px 20px 10px 10px; |
|
714 |
} |
|
715 |
||
716 |
/* Restore the menu names */ |
|
717 |
.auto-fold #adminmenu .wp-menu-name { |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
718 |
position: static; |
5 | 719 |
} |
720 |
||
721 |
/* Switch the arrow side */ |
|
722 |
.auto-fold ul#adminmenu a.wp-has-current-submenu:after, |
|
723 |
.auto-fold ul#adminmenu > li.current > a.current:after { |
|
724 |
border-width: 8px; |
|
725 |
margin-top: -8px; |
|
726 |
} |
|
727 |
||
18 | 728 |
.auto-fold ul#adminmenu li.wp-has-submenu.wp-not-current-submenu:hover:after, |
729 |
.auto-fold ul#adminmenu li.wp-has-submenu.wp-not-current-submenu:focus-within:after { |
|
5 | 730 |
display: none; |
731 |
} |
|
732 |
||
733 |
/* Make the submenus appear correctly when tapped. */ |
|
734 |
#adminmenu .wp-submenu { |
|
735 |
position: relative; |
|
736 |
display: none; |
|
737 |
} |
|
738 |
||
739 |
.auto-fold #adminmenu .selected .wp-submenu, |
|
740 |
.auto-fold #adminmenu .wp-menu-open .wp-submenu { |
|
741 |
position: relative; |
|
742 |
display: block; |
|
743 |
top: 0; |
|
744 |
right: -1px; |
|
745 |
box-shadow: none; |
|
746 |
} |
|
747 |
||
748 |
.auto-fold #adminmenu .selected .wp-submenu:after, |
|
749 |
.auto-fold #adminmenu .wp-menu-open .wp-submenu:after { |
|
750 |
display: none; |
|
751 |
} |
|
752 |
||
753 |
.auto-fold #adminmenu .opensub .wp-submenu { |
|
754 |
display: none; |
|
755 |
} |
|
756 |
||
757 |
.auto-fold #adminmenu .selected .wp-submenu { |
|
758 |
display: block; |
|
759 |
} |
|
760 |
||
18 | 761 |
.auto-fold ul#adminmenu li:hover a.wp-has-current-submenu:after, |
762 |
.auto-fold ul#adminmenu li:focus-within a.wp-has-current-submenu:after { |
|
5 | 763 |
display: block; |
764 |
} |
|
765 |
||
766 |
.auto-fold #adminmenu a.menu-top:focus + .wp-submenu, |
|
767 |
.auto-fold #adminmenu .wp-has-current-submenu a.menu-top:focus + .wp-submenu { |
|
768 |
position: relative; |
|
769 |
right: -1px; |
|
770 |
left: 0; |
|
771 |
top: 0; |
|
772 |
} |
|
773 |
||
18 | 774 |
#adminmenu .wp-not-current-submenu .wp-submenu, |
775 |
.folded #adminmenu .wp-has-current-submenu .wp-submenu { |
|
776 |
border-right: none; |
|
777 |
} |
|
778 |
||
5 | 779 |
/* Remove submenu headers and adjust sub meu*/ |
780 |
#adminmenu .wp-submenu .wp-submenu-head { |
|
781 |
display: none; |
|
782 |
} |
|
783 |
||
784 |
/* Toolbar menu toggle */ |
|
785 |
#wp-responsive-toggle { |
|
786 |
position: fixed; |
|
787 |
top: 5px; |
|
788 |
right: 4px; |
|
789 |
padding-left: 10px; |
|
790 |
z-index: 99999; |
|
791 |
border: none; |
|
792 |
box-sizing: border-box; |
|
793 |
} |
|
794 |
||
795 |
#wpadminbar #wp-admin-bar-menu-toggle a { |
|
796 |
display: block; |
|
797 |
padding: 0; |
|
798 |
overflow: hidden; |
|
799 |
outline: none; |
|
800 |
text-decoration: none; |
|
801 |
border: 1px solid transparent; |
|
802 |
background: none; |
|
803 |
height: 44px; |
|
804 |
margin-right: -1px; |
|
805 |
} |
|
806 |
||
807 |
.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a { |
|
18 | 808 |
background: #2c3338; |
5 | 809 |
} |
810 |
||
811 |
li#wp-admin-bar-menu-toggle { |
|
812 |
display: block; |
|
813 |
} |
|
814 |
||
815 |
#wpadminbar #wp-admin-bar-menu-toggle a:hover { |
|
816 |
border: 1px solid transparent; |
|
817 |
} |
|
818 |
||
819 |
#wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before { |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
820 |
content: "\f228"; |
5 | 821 |
display: inline-block; |
822 |
float: right; |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
823 |
font: normal 40px/45px dashicons; |
5 | 824 |
vertical-align: middle; |
825 |
outline: none; |
|
826 |
margin: 0; |
|
827 |
-webkit-font-smoothing: antialiased; |
|
828 |
-moz-osx-font-smoothing: grayscale; |
|
829 |
height: 44px; |
|
830 |
width: 50px; |
|
831 |
padding: 0; |
|
832 |
border: none; |
|
833 |
text-align: center; |
|
834 |
text-decoration: none; |
|
835 |
box-sizing: border-box; |
|
836 |
} |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
837 |
|
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
838 |
.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before { |
18 | 839 |
color: #72aee6; |
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
840 |
} |
5 | 841 |
} |
842 |
||
843 |
/* Smartphone */ |
|
844 |
@media screen and (max-width: 600px) { |
|
845 |
#adminmenuwrap, |
|
846 |
#adminmenuback { |
|
847 |
display: none; |
|
848 |
} |
|
849 |
||
850 |
.wp-responsive-open #adminmenuwrap, |
|
851 |
.wp-responsive-open #adminmenuback { |
|
852 |
display: block; |
|
853 |
} |
|
854 |
||
855 |
.auto-fold #adminmenu { |
|
856 |
top: 46px; |
|
857 |
} |
|
858 |
} |