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