189 |
187 |
190 #adminmenu a:hover, |
188 #adminmenu a:hover, |
191 #adminmenu li.menu-top > a:focus, |
189 #adminmenu li.menu-top > a:focus, |
192 #adminmenu .wp-submenu a:hover, |
190 #adminmenu .wp-submenu a:hover, |
193 #adminmenu .wp-submenu a:focus { |
191 #adminmenu .wp-submenu a:focus { |
194 color: #00b9eb; |
192 color: #72aee6; |
|
193 } |
|
194 |
|
195 #adminmenu a:hover, |
|
196 #adminmenu a:focus, |
|
197 .folded #adminmenu .wp-submenu-head:hover { |
|
198 box-shadow: inset 4px 0 0 0 currentColor; |
|
199 transition: box-shadow .1s linear; |
195 } |
200 } |
196 |
201 |
197 #adminmenu li.menu-top { |
202 #adminmenu li.menu-top { |
198 border: none; |
203 border: none; |
199 min-height: 34px; |
204 min-height: 34px; |
205 position: absolute; |
210 position: absolute; |
206 top: -1000em; |
211 top: -1000em; |
207 left: 160px; |
212 left: 160px; |
208 overflow: visible; |
213 overflow: visible; |
209 word-wrap: break-word; |
214 word-wrap: break-word; |
210 } |
|
211 |
|
212 #adminmenu .wp-submenu, |
|
213 .folded #adminmenu a.wp-has-current-submenu:focus + .wp-submenu, |
|
214 .folded #adminmenu .wp-has-current-submenu .wp-submenu { |
|
215 padding: 7px 0 8px; |
215 padding: 7px 0 8px; |
216 z-index: 9999; |
216 z-index: 9999; |
217 background-color: #32373c; |
217 background-color: #2c3338; |
218 box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2); |
218 box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2); |
219 } |
219 } |
220 |
220 |
221 .js #adminmenu .sub-open, |
221 .js #adminmenu .sub-open, |
222 .js #adminmenu .opensub .wp-submenu, |
222 .js #adminmenu .opensub .wp-submenu, |
223 #adminmenu a.menu-top:focus + .wp-submenu, |
223 #adminmenu a.menu-top:focus + .wp-submenu, |
224 .no-js li.wp-has-submenu:hover .wp-submenu { |
224 .no-js li.wp-has-submenu:hover .wp-submenu { |
225 top: -1px; |
225 top: -1px; |
226 } |
226 } |
227 |
227 |
|
228 #adminmenu a.wp-has-current-submenu:focus + .wp-submenu { |
|
229 top: 0; |
|
230 } |
|
231 |
228 #adminmenu .wp-has-current-submenu .wp-submenu, |
232 #adminmenu .wp-has-current-submenu .wp-submenu, |
229 .no-js li.wp-has-current-submenu:hover .wp-submenu, |
233 .no-js li.wp-has-current-submenu:hover .wp-submenu, |
230 #adminmenu a.wp-has-current-submenu:focus + .wp-submenu, |
|
231 #adminmenu .wp-has-current-submenu .wp-submenu.sub-open, |
234 #adminmenu .wp-has-current-submenu .wp-submenu.sub-open, |
232 #adminmenu .wp-has-current-submenu.opensub .wp-submenu { |
235 #adminmenu .wp-has-current-submenu.opensub .wp-submenu { |
233 position: relative; |
236 position: relative; |
234 z-index: 3; |
237 z-index: 3; |
235 top: auto; |
238 top: auto; |
237 right: auto; |
240 right: auto; |
238 bottom: auto; |
241 bottom: auto; |
239 border: 0 none; |
242 border: 0 none; |
240 margin-top: 0; |
243 margin-top: 0; |
241 box-shadow: none; |
244 box-shadow: none; |
242 background-color: #32373c; |
245 } |
|
246 |
|
247 .folded #adminmenu .wp-has-current-submenu .wp-submenu { |
|
248 box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2); |
243 } |
249 } |
244 |
250 |
245 /* ensure that wp-submenu's box shadow doesn't appear on top of the focused menu item's background. */ |
251 /* ensure that wp-submenu's box shadow doesn't appear on top of the focused menu item's background. */ |
246 #adminmenu li.menu-top:hover, |
252 #adminmenu li.menu-top:hover, |
247 #adminmenu li.opensub > a.menu-top, |
253 #adminmenu li.opensub > a.menu-top, |
248 #adminmenu li > a.menu-top:focus { |
254 #adminmenu li > a.menu-top:focus { |
249 position: relative; |
255 position: relative; |
250 background-color: #191e23; |
256 background-color: #1d2327; |
251 color: #00b9eb; |
257 color: #72aee6; |
252 } |
258 } |
253 |
259 |
254 .folded #adminmenu li.menu-top:hover, |
260 .folded #adminmenu li.menu-top:hover, |
255 .folded #adminmenu li.opensub > a.menu-top, |
261 .folded #adminmenu li.opensub > a.menu-top, |
256 .folded #adminmenu li > a.menu-top:focus { |
262 .folded #adminmenu li > a.menu-top:focus { |
257 z-index: 10000; |
263 z-index: 10000; |
258 } |
264 } |
259 |
265 |
260 #adminmenu li.wp-has-current-submenu a.wp-has-current-submenu, |
266 #adminmenu li.wp-has-current-submenu a.wp-has-current-submenu, |
261 #adminmenu li.current a.menu-top, |
267 #adminmenu li.current a.menu-top, |
262 .folded #adminmenu li.wp-has-current-submenu, |
|
263 .folded #adminmenu li.current.menu-top, |
|
264 #adminmenu .wp-menu-arrow, |
268 #adminmenu .wp-menu-arrow, |
265 #adminmenu .wp-has-current-submenu .wp-submenu .wp-submenu-head, |
269 #adminmenu .wp-has-current-submenu .wp-submenu .wp-submenu-head, |
266 #adminmenu .wp-menu-arrow div { |
270 #adminmenu .wp-menu-arrow div { |
267 background: #0073aa; |
271 background: #2271b1; |
268 color: #fff; |
272 color: #fff; |
269 } |
273 } |
270 |
274 |
271 .folded #adminmenu .wp-submenu.sub-open, |
275 .folded #adminmenu .wp-submenu.sub-open, |
272 .folded #adminmenu .opensub .wp-submenu, |
276 .folded #adminmenu .opensub .wp-submenu, |
287 |
291 |
288 #adminmenu .wp-not-current-submenu .wp-submenu, |
292 #adminmenu .wp-not-current-submenu .wp-submenu, |
289 .folded #adminmenu .wp-has-current-submenu .wp-submenu { |
293 .folded #adminmenu .wp-has-current-submenu .wp-submenu { |
290 min-width: 160px; |
294 min-width: 160px; |
291 width: auto; |
295 width: auto; |
|
296 border-left: 5px solid transparent; |
292 } |
297 } |
293 |
298 |
294 #adminmenu .wp-submenu li.current, |
299 #adminmenu .wp-submenu li.current, |
295 #adminmenu .wp-submenu li.current a, |
300 #adminmenu .wp-submenu li.current a, |
296 #adminmenu .opensub .wp-submenu li.current a, |
301 #adminmenu .opensub .wp-submenu li.current a, |
344 opacity: 0.6; |
349 opacity: 0.6; |
345 filter: alpha(opacity=60); |
350 filter: alpha(opacity=60); |
346 } |
351 } |
347 |
352 |
348 #adminmenu div.wp-menu-name { |
353 #adminmenu div.wp-menu-name { |
349 padding: 8px 0; |
354 padding: 8px 8px 8px 36px; |
|
355 overflow-wrap: break-word; |
|
356 word-wrap: break-word; |
|
357 -ms-word-break: break-all; |
|
358 word-break: break-word; |
|
359 -webkit-hyphens: auto; |
|
360 hyphens: auto; |
350 } |
361 } |
351 |
362 |
352 #adminmenu div.wp-menu-image { |
363 #adminmenu div.wp-menu-image { |
353 float: left; |
364 float: left; |
354 width: 36px; |
365 width: 36px; |
362 background-position: center; |
373 background-position: center; |
363 background-size: 20px auto; |
374 background-size: 20px auto; |
364 } |
375 } |
365 |
376 |
366 div.wp-menu-image:before { |
377 div.wp-menu-image:before { |
367 color: #a0a5aa; |
378 color: #a7aaad; |
368 color: rgba(240, 245, 250, 0.6); |
379 color: rgba(240, 246, 252, 0.6); |
369 padding: 7px 0; |
380 padding: 7px 0; |
370 transition: all .1s ease-in-out; |
381 transition: all .1s ease-in-out; |
371 } |
382 } |
372 |
383 |
373 #adminmenu div.wp-menu-image:before { |
384 #adminmenu div.wp-menu-image:before { |
374 color: #a0a5aa; |
385 color: #a7aaad; |
375 color: rgba(240, 245, 250, 0.6); |
386 color: rgba(240, 246, 252, 0.6); |
376 } |
387 } |
377 |
388 |
378 #adminmenu li.wp-has-current-submenu:hover div.wp-menu-image:before, |
389 #adminmenu li.wp-has-current-submenu:hover div.wp-menu-image:before, |
379 #adminmenu .wp-has-current-submenu div.wp-menu-image:before, |
390 #adminmenu .wp-has-current-submenu div.wp-menu-image:before, |
380 #adminmenu .current div.wp-menu-image:before, |
391 #adminmenu .current div.wp-menu-image:before, |
386 } |
397 } |
387 |
398 |
388 #adminmenu li:hover div.wp-menu-image:before, |
399 #adminmenu li:hover div.wp-menu-image:before, |
389 #adminmenu li a:focus div.wp-menu-image:before, |
400 #adminmenu li a:focus div.wp-menu-image:before, |
390 #adminmenu li.opensub div.wp-menu-image:before { |
401 #adminmenu li.opensub div.wp-menu-image:before { |
391 color: #00b9eb; |
402 color: #72aee6; |
392 } |
403 } |
393 |
404 |
394 .folded #adminmenu div.wp-menu-image { |
405 .folded #adminmenu div.wp-menu-image { |
395 width: 35px; |
406 width: 35px; |
396 height: 30px; |
407 height: 30px; |
424 content: " "; |
435 content: " "; |
425 height: 0; |
436 height: 0; |
426 width: 0; |
437 width: 0; |
427 position: absolute; |
438 position: absolute; |
428 pointer-events: none; |
439 pointer-events: none; |
429 border-right-color: #f1f1f1; |
440 border-right-color: #f0f0f1; |
430 top: 50%; |
441 top: 50%; |
431 margin-top: -8px; |
442 margin-top: -8px; |
432 } |
443 } |
433 |
444 |
434 .folded ul#adminmenu li:hover a.wp-has-current-submenu:after { |
445 .folded ul#adminmenu li:hover a.wp-has-current-submenu:after, |
|
446 .folded ul#adminmenu li.wp-has-current-submenu:focus-within a.wp-has-current-submenu:after { |
435 display: none; |
447 display: none; |
436 } |
448 } |
437 |
449 |
438 .folded ul#adminmenu a.wp-has-current-submenu:after, |
450 .folded ul#adminmenu a.wp-has-current-submenu:after, |
439 .folded ul#adminmenu > li a.current:after { |
451 .folded ul#adminmenu > li a.current:after { |
440 border-width: 4px; |
452 border-width: 4px; |
441 margin-top: -4px; |
453 margin-top: -4px; |
442 } |
454 } |
443 |
455 |
444 /* flyout menu arrow */ |
456 /* flyout menu arrow */ |
445 #adminmenu li.wp-has-submenu.wp-not-current-submenu:hover:after { |
457 #adminmenu li.wp-has-submenu.wp-not-current-submenu:hover:after, |
|
458 #adminmenu li.wp-has-submenu.wp-not-current-submenu:focus-within:after { |
446 right: 0; |
459 right: 0; |
447 border: solid transparent; |
460 border: 8px solid transparent; |
448 content: " "; |
461 content: " "; |
449 height: 0; |
462 height: 0; |
450 width: 0; |
463 width: 0; |
451 position: absolute; |
464 position: absolute; |
452 pointer-events: none; |
465 pointer-events: none; |
453 border-width: 8px; |
|
454 top: 10px; |
466 top: 10px; |
455 z-index: 10000; |
467 z-index: 10000; |
456 } |
468 } |
457 |
469 |
458 .folded ul#adminmenu li.wp-has-submenu.wp-not-current-submenu:hover:after { |
470 .folded ul#adminmenu li.wp-has-submenu.wp-not-current-submenu:hover:after, |
|
471 .folded ul#adminmenu li.wp-has-submenu.wp-not-current-submenu:focus-within:after { |
459 border-width: 4px; |
472 border-width: 4px; |
460 margin-top: -4px; |
473 margin-top: -4px; |
461 top: 18px; |
474 top: 18px; |
462 } |
475 } |
463 |
476 |
464 #adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after { |
477 #adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after, |
465 border-right-color: #32373c; |
478 #adminmenu li.wp-has-submenu.wp-not-current-submenu:focus-within:after { |
|
479 border-right-color: #2c3338; |
466 } |
480 } |
467 |
481 |
468 #adminmenu li.menu-top:hover .wp-menu-image img, |
482 #adminmenu li.menu-top:hover .wp-menu-image img, |
469 #adminmenu li.wp-has-current-submenu .wp-menu-image img { |
483 #adminmenu li.wp-has-current-submenu .wp-menu-image img { |
470 opacity: 1; |
484 opacity: 1; |
486 |
500 |
487 #adminmenu .wp-submenu .wp-submenu-head { |
501 #adminmenu .wp-submenu .wp-submenu-head { |
488 color: #fff; |
502 color: #fff; |
489 font-weight: 400; |
503 font-weight: 400; |
490 font-size: 14px; |
504 font-size: 14px; |
491 padding: 8px 4px 8px 11px; |
505 padding: 5px 4px 5px 11px; |
492 margin: -7px 0px 4px; |
506 margin: -7px 0px 4px -5px; |
|
507 border-width: 3px 0 3px 5px; |
|
508 border-style: solid; |
|
509 border-color: transparent; |
493 } |
510 } |
494 |
511 |
495 #adminmenu li.current, |
512 #adminmenu li.current, |
496 .folded #adminmenu li.wp-menu-open { |
513 .folded #adminmenu li.wp-menu-open { |
497 border: 0 none; |
514 border: 0 none; |
506 margin: 1px 0 -1px 2px; |
523 margin: 1px 0 -1px 2px; |
507 padding: 0 5px; |
524 padding: 0 5px; |
508 min-width: 18px; |
525 min-width: 18px; |
509 height: 18px; |
526 height: 18px; |
510 border-radius: 9px; |
527 border-radius: 9px; |
511 background-color: #ca4a1f; |
528 background-color: #d63638; |
512 color: #fff; |
529 color: #fff; |
513 font-size: 11px; |
530 font-size: 11px; |
514 line-height: 1.6; |
531 line-height: 1.6; |
515 text-align: center; |
532 text-align: center; |
516 z-index: 26; |
533 z-index: 26; |
517 } |
534 } |
518 |
535 |
519 #adminmenu li.current a .awaiting-mod, |
536 #adminmenu li.current a .awaiting-mod, |
520 #adminmenu li a.wp-has-current-submenu .update-plugins { |
537 #adminmenu li a.wp-has-current-submenu .update-plugins { |
521 background-color: #ca4a1f; |
538 background-color: #d63638; |
522 color: #fff; |
539 color: #fff; |
523 } |
540 } |
524 |
541 |
525 #adminmenu li span.count-0 { |
542 #adminmenu li span.count-0 { |
526 display: none; |
543 display: none; |
680 position: absolute; |
697 position: absolute; |
681 z-index: 25; |
698 z-index: 25; |
682 } |
699 } |
683 |
700 |
684 .auto-fold #adminmenu a.menu-top { |
701 .auto-fold #adminmenu a.menu-top { |
685 height: 34px; |
702 min-height: 34px; |
686 } |
703 } |
687 |
704 |
688 .auto-fold #adminmenu li.wp-menu-open { |
705 .auto-fold #adminmenu li.wp-menu-open { |
689 border: 0 none; |
706 border: 0 none; |
690 } |
707 } |
691 |
708 |
692 .auto-fold #adminmenu .wp-has-current-submenu.menu-top-last { |
709 .auto-fold #adminmenu .wp-has-current-submenu.menu-top-last { |
693 margin-bottom: 0; |
710 margin-bottom: 0; |
694 } |
711 } |
695 |
712 |
696 .auto-fold ul#adminmenu li:hover a.wp-has-current-submenu:after { |
713 .auto-fold ul#adminmenu li:hover a.wp-has-current-submenu:after, |
|
714 .auto-fold ul#adminmenu li:focus-within a.wp-has-current-submenu:after { |
697 display: none; |
715 display: none; |
698 } |
716 } |
699 |
717 |
700 .auto-fold ul#adminmenu li.wp-has-submenu.wp-not-current-submenu:hover:after { |
718 .auto-fold ul#adminmenu li.wp-has-submenu.wp-not-current-submenu:hover:after, |
|
719 .auto-fold ul#adminmenu li.wp-has-submenu.wp-not-current-submenu:focus-within:after { |
701 border-width: 4px; |
720 border-width: 4px; |
702 margin-top: -4px; |
721 margin-top: -4px; |
703 top: 16px; |
722 top: 16px; |
704 } |
723 } |
705 |
724 |
781 } |
800 } |
782 |
801 |
783 /* Restore the menu names */ |
802 /* Restore the menu names */ |
784 .auto-fold #adminmenu .wp-menu-name { |
803 .auto-fold #adminmenu .wp-menu-name { |
785 position: static; |
804 position: static; |
786 margin-left: 35px; |
|
787 } |
805 } |
788 |
806 |
789 /* Switch the arrow side */ |
807 /* Switch the arrow side */ |
790 .auto-fold ul#adminmenu a.wp-has-current-submenu:after, |
808 .auto-fold ul#adminmenu a.wp-has-current-submenu:after, |
791 .auto-fold ul#adminmenu > li.current > a.current:after { |
809 .auto-fold ul#adminmenu > li.current > a.current:after { |
792 border-width: 8px; |
810 border-width: 8px; |
793 margin-top: -8px; |
811 margin-top: -8px; |
794 } |
812 } |
795 |
813 |
796 .auto-fold ul#adminmenu li.wp-has-submenu.wp-not-current-submenu:hover:after { |
814 .auto-fold ul#adminmenu li.wp-has-submenu.wp-not-current-submenu:hover:after, |
|
815 .auto-fold ul#adminmenu li.wp-has-submenu.wp-not-current-submenu:focus-within:after { |
797 display: none; |
816 display: none; |
798 } |
817 } |
799 |
818 |
800 /* Make the submenus appear correctly when tapped. */ |
819 /* Make the submenus appear correctly when tapped. */ |
801 #adminmenu .wp-submenu { |
820 #adminmenu .wp-submenu { |
823 |
842 |
824 .auto-fold #adminmenu .selected .wp-submenu { |
843 .auto-fold #adminmenu .selected .wp-submenu { |
825 display: block; |
844 display: block; |
826 } |
845 } |
827 |
846 |
828 .auto-fold ul#adminmenu li:hover a.wp-has-current-submenu:after { |
847 .auto-fold ul#adminmenu li:hover a.wp-has-current-submenu:after, |
|
848 .auto-fold ul#adminmenu li:focus-within a.wp-has-current-submenu:after { |
829 display: block; |
849 display: block; |
830 } |
850 } |
831 |
851 |
832 .auto-fold #adminmenu a.menu-top:focus + .wp-submenu, |
852 .auto-fold #adminmenu a.menu-top:focus + .wp-submenu, |
833 .auto-fold #adminmenu .wp-has-current-submenu a.menu-top:focus + .wp-submenu { |
853 .auto-fold #adminmenu .wp-has-current-submenu a.menu-top:focus + .wp-submenu { |
834 position: relative; |
854 position: relative; |
835 left: -1px; |
855 left: -1px; |
836 right: 0; |
856 right: 0; |
837 top: 0; |
857 top: 0; |
|
858 } |
|
859 |
|
860 #adminmenu .wp-not-current-submenu .wp-submenu, |
|
861 .folded #adminmenu .wp-has-current-submenu .wp-submenu { |
|
862 border-left: none; |
838 } |
863 } |
839 |
864 |
840 /* Remove submenu headers and adjust sub meu*/ |
865 /* Remove submenu headers and adjust sub meu*/ |
841 #adminmenu .wp-submenu .wp-submenu-head { |
866 #adminmenu .wp-submenu .wp-submenu-head { |
842 display: none; |
867 display: none; |