You are here

admin_menu.css in Administration menu 5.2

/**
 * Administration Menu.
 *
 * Implementation of Sons of Suckerfish Dropdowns.
 * @see www.htmldog.com/articles/suckerfish
 **/
#admin-menu { position: absolute; top: 0px; left: 0px; font-size: 9px; font-family: "lucida grande", tahoma, verdana, arial, sans-serif; background: url(images/bkg.png) bottom left repeat-x #101010; width: 100%; text-align: left; }
#admin-menu li.admin-menu-icon a { padding: 1px 8px 4px; }
#admin-menu li.admin-menu-icon ul a { padding: 4px 8px; }
#admin-menu li.admin-menu-icon img { vertical-align: bottom; }
#admin-menu li.admin-menu-users img { margin-top: 1px; }
#admin-menu li.admin-menu-action { float: right; }
#admin-menu li.admin-menu-action a { border-left: 1px solid #323232; border-right: none; }
body.admin-menu { margin-top: 20px !important; }

/* all lists */
#admin-menu, #admin-menu ul { padding: 0; margin: 0; list-style: none; line-height: 1.4em; z-index: 999; }
#admin-menu ul { position: static; }
#admin-menu ul a { display: block; border-right: 1px solid #323232; border-bottom: none; padding: 4px 8px; font-weight: normal; color: #eee; text-decoration: none; text-align: left; }
#admin-menu ul li.admin-menu-tab a { border-right: 1px solid #52565e; }
#admin-menu li li a { border-right: none; border-top: 1px solid #323232; }

/* all list items */
/* width needed or else Opera goes nuts */
#admin-menu li { float: left; height: 100%; margin: 0 !important; padding: 0; list-style-image: none; list-style-type: none; background-image: none; }
#admin-menu li.admin-menu-tab { padding-bottom: 1px; background: url(images/bkg_tab.png) repeat-x left bottom; }
#admin-menu li li { width: 160px; background: #202020; filter:Alpha(opacity=88); opacity: 0.88; }

/* second-level lists */
/* Note: Use left instead of display to hide publicly visible menus because display: none isn't read by screen readers */
#admin-menu li ul { position: absolute; background: none; margin: 0; width: 160px; left: -999em; display: none; line-height: 1.2em; }

/* third-and-above-level lists */
#admin-menu li li.expandable ul { margin: -20px 0 0 160px; }

#admin-menu li:hover ul ul,
#admin-menu li:hover ul ul ul,
#admin-menu li:hover ul ul ul ul,
#admin-menu li:hover ul ul ul ul ul,
#admin-menu li.iehover ul ul,
#admin-menu li.iehover ul ul ul,
#admin-menu li.iehover ul ul ul ul,
#admin-menu li.iehover ul ul ul ul ul {
  left: -999em;
  display: none;
}

/* lists nested under hovered list items */
#admin-menu li:hover ul,
#admin-menu li li:hover ul,
#admin-menu li li li:hover ul,
#admin-menu li li li li:hover ul,
#admin-menu li li li li li:hover ul,
#admin-menu li.iehover ul,
#admin-menu li li.iehover ul,
#admin-menu li li li.iehover ul,
#admin-menu li li li li.iehover ul,
#admin-menu li li li li li.iehover ul {
  left: auto;
  display: block;
}
#admin-menu li.admin-menu-action:hover ul {
  right: 0;
}

/* second-and-more-level hovering */
#admin-menu li li.expandable { background: #45454a url(images/arrow.png) no-repeat 145px 7px; }
#admin-menu li li:hover,
#admin-menu li li.iehover {
  background-color: #111;
}
#admin-menu li li:hover a,
#admin-menu li li:hover li:hover a,
#admin-menu li li:hover li:hover li:hover a {
  color: #fff;
}
#admin-menu li li.expandable:hover a,
#admin-menu li li.expandable:hover li.expandable:hover a {
  border-color: #666666; color: #eee;
}
#admin-menu li li.expandable:hover li a,
#admin-menu li li.expandable:hover li.expandable:hover li a {
  border-color: #323232;
}
#admin-menu li li:hover li a,
#admin-menu li li.iehover li a,
#admin-menu li li.iehover li.iehover li a {
  color: #eee;
}
#admin-menu li li.iehover a,
#admin-menu li li.iehover li.iehover a,
#admin-menu li li.iehover li.iehover li.iehover a {
  color: #fff; width: 90%; /* IE */
}

/* #210615: Mozilla on Mac fix */
html.js fieldset.collapsible div.fieldset-wrapper { overflow: visible; }

@media print {
  #admin-menu { display: none; }
  body.admin-menu { margin-top: 0 !important; }
}

File

admin_menu.css
View source
  1. /**
  2. * Administration Menu.
  3. *
  4. * Implementation of Sons of Suckerfish Dropdowns.
  5. * @see www.htmldog.com/articles/suckerfish
  6. **/
  7. #admin-menu { position: absolute; top: 0px; left: 0px; font-size: 9px; font-family: "lucida grande", tahoma, verdana, arial, sans-serif; background: url(images/bkg.png) bottom left repeat-x #101010; width: 100%; text-align: left; }
  8. #admin-menu li.admin-menu-icon a { padding: 1px 8px 4px; }
  9. #admin-menu li.admin-menu-icon ul a { padding: 4px 8px; }
  10. #admin-menu li.admin-menu-icon img { vertical-align: bottom; }
  11. #admin-menu li.admin-menu-users img { margin-top: 1px; }
  12. #admin-menu li.admin-menu-action { float: right; }
  13. #admin-menu li.admin-menu-action a { border-left: 1px solid #323232; border-right: none; }
  14. body.admin-menu { margin-top: 20px !important; }
  15. /* all lists */
  16. #admin-menu, #admin-menu ul { padding: 0; margin: 0; list-style: none; line-height: 1.4em; z-index: 999; }
  17. #admin-menu ul { position: static; }
  18. #admin-menu ul a { display: block; border-right: 1px solid #323232; border-bottom: none; padding: 4px 8px; font-weight: normal; color: #eee; text-decoration: none; text-align: left; }
  19. #admin-menu ul li.admin-menu-tab a { border-right: 1px solid #52565e; }
  20. #admin-menu li li a { border-right: none; border-top: 1px solid #323232; }
  21. /* all list items */
  22. /* width needed or else Opera goes nuts */
  23. #admin-menu li { float: left; height: 100%; margin: 0 !important; padding: 0; list-style-image: none; list-style-type: none; background-image: none; }
  24. #admin-menu li.admin-menu-tab { padding-bottom: 1px; background: url(images/bkg_tab.png) repeat-x left bottom; }
  25. #admin-menu li li { width: 160px; background: #202020; filter:Alpha(opacity=88); opacity: 0.88; }
  26. /* second-level lists */
  27. /* Note: Use left instead of display to hide publicly visible menus because display: none isn't read by screen readers */
  28. #admin-menu li ul { position: absolute; background: none; margin: 0; width: 160px; left: -999em; display: none; line-height: 1.2em; }
  29. /* third-and-above-level lists */
  30. #admin-menu li li.expandable ul { margin: -20px 0 0 160px; }
  31. #admin-menu li:hover ul ul,
  32. #admin-menu li:hover ul ul ul,
  33. #admin-menu li:hover ul ul ul ul,
  34. #admin-menu li:hover ul ul ul ul ul,
  35. #admin-menu li.iehover ul ul,
  36. #admin-menu li.iehover ul ul ul,
  37. #admin-menu li.iehover ul ul ul ul,
  38. #admin-menu li.iehover ul ul ul ul ul {
  39. left: -999em;
  40. display: none;
  41. }
  42. /* lists nested under hovered list items */
  43. #admin-menu li:hover ul,
  44. #admin-menu li li:hover ul,
  45. #admin-menu li li li:hover ul,
  46. #admin-menu li li li li:hover ul,
  47. #admin-menu li li li li li:hover ul,
  48. #admin-menu li.iehover ul,
  49. #admin-menu li li.iehover ul,
  50. #admin-menu li li li.iehover ul,
  51. #admin-menu li li li li.iehover ul,
  52. #admin-menu li li li li li.iehover ul {
  53. left: auto;
  54. display: block;
  55. }
  56. #admin-menu li.admin-menu-action:hover ul {
  57. right: 0;
  58. }
  59. /* second-and-more-level hovering */
  60. #admin-menu li li.expandable { background: #45454a url(images/arrow.png) no-repeat 145px 7px; }
  61. #admin-menu li li:hover,
  62. #admin-menu li li.iehover {
  63. background-color: #111;
  64. }
  65. #admin-menu li li:hover a,
  66. #admin-menu li li:hover li:hover a,
  67. #admin-menu li li:hover li:hover li:hover a {
  68. color: #fff;
  69. }
  70. #admin-menu li li.expandable:hover a,
  71. #admin-menu li li.expandable:hover li.expandable:hover a {
  72. border-color: #666666; color: #eee;
  73. }
  74. #admin-menu li li.expandable:hover li a,
  75. #admin-menu li li.expandable:hover li.expandable:hover li a {
  76. border-color: #323232;
  77. }
  78. #admin-menu li li:hover li a,
  79. #admin-menu li li.iehover li a,
  80. #admin-menu li li.iehover li.iehover li a {
  81. color: #eee;
  82. }
  83. #admin-menu li li.iehover a,
  84. #admin-menu li li.iehover li.iehover a,
  85. #admin-menu li li.iehover li.iehover li.iehover a {
  86. color: #fff; width: 90%; /* IE */
  87. }
  88. /* #210615: Mozilla on Mac fix */
  89. html.js fieldset.collapsible div.fieldset-wrapper { overflow: visible; }
  90. @media print {
  91. #admin-menu { display: none; }
  92. body.admin-menu { margin-top: 0 !important; }
  93. }