You are here

admin_menu.css in Administration menu 5.3

Administration menu.

Implementation of Sons of Suckerfish Dropdowns.

File

admin_menu.css
View source
  1. /**
  2. * @file
  3. * Administration menu.
  4. *
  5. * Implementation of Sons of Suckerfish Dropdowns.
  6. *
  7. * @see www.htmldog.com/articles/suckerfish
  8. */
  9. #admin-menu {
  10. background: #101010 url(images/bkg.png) bottom left repeat-x;
  11. font-size: 9px;
  12. font-family: "lucida grande", tahoma, verdana, arial, sans-serif;
  13. left: 0px;
  14. position: absolute;
  15. text-align: left;
  16. top: 0px;
  17. width: 100%;
  18. }
  19. #admin-menu li.admin-menu-icon a {
  20. padding: 1px 8px 4px;
  21. }
  22. #admin-menu li.admin-menu-icon ul a {
  23. padding: 4px 8px;
  24. }
  25. #admin-menu li.admin-menu-icon img {
  26. vertical-align: bottom;
  27. }
  28. #admin-menu li.admin-menu-users a {
  29. background: transparent url(images/icon_users.png) 90% center no-repeat;
  30. padding-right: 22px;
  31. }
  32. #admin-menu li.admin-menu-action {
  33. float: right;
  34. }
  35. #admin-menu li.admin-menu-action a {
  36. border-left: 1px solid #323232;
  37. border-right: none;
  38. }
  39. body.admin-menu {
  40. margin-top: 20px !important;
  41. }
  42. /* All lists */
  43. #admin-menu,
  44. #admin-menu ul {
  45. line-height: 1.4em;
  46. list-style: none;
  47. margin: 0;
  48. padding: 0;
  49. z-index: 999;
  50. }
  51. #admin-menu ul {
  52. position: static;
  53. }
  54. #admin-menu ul a {
  55. background: transparent none;
  56. border-bottom: none;
  57. border-right: 1px solid #323232;
  58. color: #EEE;
  59. display: block;
  60. font-weight: normal;
  61. padding: 4px 8px;
  62. text-align: left;
  63. text-decoration: none;
  64. }
  65. #admin-menu ul li.admin-menu-tab a {
  66. border-right: 1px solid #52565E;
  67. }
  68. #admin-menu li li a {
  69. border-right: none;
  70. border-top: 1px solid #323232;
  71. }
  72. /* All list items */
  73. #admin-menu li {
  74. background-image: none;
  75. float: left;
  76. height: 100%;
  77. list-style-image: none;
  78. list-style-type: none;
  79. margin: 0 !important;
  80. padding: 0;
  81. }
  82. #admin-menu li.admin-menu-tab {
  83. background: url(images/bkg_tab.png) repeat-x left bottom;
  84. padding-bottom: 1px;
  85. }
  86. #admin-menu li li {
  87. background: #202020;
  88. filter: Alpha(opacity=88);
  89. opacity: 0.88;
  90. width: 160px; /* Required for Opera */
  91. }
  92. #admin-menu li li li {
  93. filter: Alpha(opacity=100);
  94. opacity: 1;
  95. }
  96. /* Second-level lists */
  97. /* Note: We must hide sub-lists or scrollbars might appear (display: none is not read by screen readers). */
  98. #admin-menu li ul {
  99. background: none;
  100. display: none;
  101. left: -999em;
  102. line-height: 1.2em;
  103. margin: 0;
  104. position: absolute;
  105. width: 160px;
  106. }
  107. /* Third-and-above-level lists */
  108. #admin-menu li li.expandable ul {
  109. margin: -20px 0 0 160px;
  110. }
  111. #admin-menu li:hover ul ul,
  112. #admin-menu li:hover ul ul ul,
  113. #admin-menu li:hover ul ul ul ul,
  114. #admin-menu li:hover ul ul ul ul ul,
  115. #admin-menu li.iehover ul ul,
  116. #admin-menu li.iehover ul ul ul,
  117. #admin-menu li.iehover ul ul ul ul,
  118. #admin-menu li.iehover ul ul ul ul ul {
  119. display: none;
  120. left: -999em;
  121. }
  122. /* Lists nested under hovered list items */
  123. #admin-menu li:hover ul,
  124. #admin-menu li li:hover ul,
  125. #admin-menu li li li:hover ul,
  126. #admin-menu li li li li:hover ul,
  127. #admin-menu li li li li li:hover ul,
  128. #admin-menu li.iehover ul,
  129. #admin-menu li li.iehover ul,
  130. #admin-menu li li li.iehover ul,
  131. #admin-menu li li li li.iehover ul,
  132. #admin-menu li li li li li.iehover ul {
  133. display: block;
  134. left: auto;
  135. }
  136. #admin-menu li.admin-menu-action:hover ul {
  137. right: 0;
  138. }
  139. /* Second-and-more-level hovering */
  140. #admin-menu li li.expandable {
  141. background: #45454A url(images/arrow.png) no-repeat 145px 7px;
  142. }
  143. #admin-menu li li:hover,
  144. #admin-menu li li.iehover {
  145. background-color: #111;
  146. }
  147. #admin-menu li li:hover a,
  148. #admin-menu li li:hover li:hover a,
  149. #admin-menu li li:hover li:hover li:hover a {
  150. color: #FFF;
  151. }
  152. #admin-menu li li.expandable:hover a,
  153. #admin-menu li li.expandable:hover li.expandable:hover a {
  154. border-color: #666666;
  155. color: #EEE;
  156. }
  157. #admin-menu li li.expandable:hover li a,
  158. #admin-menu li li.expandable:hover li.expandable:hover li a {
  159. border-color: #323232;
  160. }
  161. #admin-menu li li:hover li a,
  162. #admin-menu li li.iehover li a,
  163. #admin-menu li li.iehover li.iehover li a {
  164. color: #EEE;
  165. }
  166. #admin-menu li li.iehover a,
  167. #admin-menu li li.iehover li.iehover a,
  168. #admin-menu li li.iehover li.iehover li.iehover a {
  169. color: #FFF;
  170. width: 90%; /* IE */
  171. }
  172. /* #210615: Mozilla on Mac fix */
  173. html.js fieldset.collapsible div.fieldset-wrapper {
  174. overflow: visible;
  175. }
  176. /* Hide the menu on print output. */
  177. @media print {
  178. #admin-menu {
  179. display: none !important;
  180. }
  181. body.admin-menu {
  182. margin-top: 0 !important;
  183. }
  184. }