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