You are here

admin_menu.css in Administration menu 6.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: 0;
  14. position: absolute;
  15. text-align: left;
  16. top: 0;
  17. width: 100%;
  18. }
  19. #admin-menu-wrapper {
  20. overflow: hidden;
  21. }
  22. #admin-menu li.admin-menu-icon a {
  23. padding: 1px 8px 4px;
  24. }
  25. #admin-menu li.admin-menu-icon ul a {
  26. padding: 4px 8px;
  27. }
  28. #admin-menu li.admin-menu-icon img {
  29. vertical-align: bottom;
  30. }
  31. #admin-menu li.admin-menu-users a {
  32. background: transparent url(images/icon_users.png) 90% center no-repeat;
  33. padding-right: 22px;
  34. }
  35. #admin-menu li.admin-menu-action {
  36. float: right;
  37. }
  38. #admin-menu li.admin-menu-action a {
  39. border-left: 1px solid #323232;
  40. border-right: none;
  41. }
  42. body.admin-menu {
  43. margin-top: 20px !important;
  44. }
  45. /* All lists */
  46. #admin-menu,
  47. #admin-menu ul {
  48. line-height: 1.4em;
  49. list-style: none;
  50. margin: 0;
  51. padding: 0;
  52. z-index: 999;
  53. }
  54. #admin-menu ul {
  55. position: static;
  56. }
  57. #admin-menu ul a {
  58. background: transparent none;
  59. border-bottom: none;
  60. border-right: 1px solid #323232;
  61. color: #EEE;
  62. display: block;
  63. font-weight: normal;
  64. padding: 4px 8px;
  65. text-align: left;
  66. text-decoration: none;
  67. }
  68. #admin-menu ul li.admin-menu-tab a {
  69. border-right: 1px solid #52565E;
  70. }
  71. #admin-menu li li a {
  72. border-right: none;
  73. border-top: 1px solid #323232;
  74. }
  75. /* All list items */
  76. #admin-menu li {
  77. background-image: none;
  78. float: left;
  79. height: 100%;
  80. list-style-image: none;
  81. list-style-type: none;
  82. margin: 0 !important;
  83. padding: 0;
  84. }
  85. #admin-menu li.admin-menu-tab {
  86. background: url(images/bkg_tab.png) repeat-x left bottom;
  87. padding-bottom: 1px;
  88. }
  89. #admin-menu li li {
  90. background: #202020;
  91. filter: Alpha(opacity=88);
  92. opacity: 0.88;
  93. width: 160px; /* Required for Opera */
  94. }
  95. #admin-menu li li li {
  96. filter: Alpha(opacity=100);
  97. opacity: 1;
  98. }
  99. /* Second-level lists */
  100. /* Note: We must hide sub-lists or scrollbars might appear (display: none is not read by screen readers). */
  101. #admin-menu li ul {
  102. background: none;
  103. display: none;
  104. left: -999em;
  105. line-height: 1.2em;
  106. margin: 0;
  107. position: absolute;
  108. width: 160px;
  109. }
  110. /* Third-and-above-level lists */
  111. #admin-menu li li.expandable ul {
  112. margin: -20px 0 0 160px;
  113. }
  114. #admin-menu li:hover ul ul,
  115. #admin-menu li:hover ul ul ul,
  116. #admin-menu li:hover ul ul ul ul,
  117. #admin-menu li:hover ul ul ul ul ul,
  118. #admin-menu li.iehover ul ul,
  119. #admin-menu li.iehover ul ul ul,
  120. #admin-menu li.iehover ul ul ul ul,
  121. #admin-menu li.iehover ul ul ul ul ul {
  122. display: none;
  123. left: -999em;
  124. }
  125. /* Lists nested under hovered list items */
  126. #admin-menu li:hover ul,
  127. #admin-menu li li:hover ul,
  128. #admin-menu li li li:hover ul,
  129. #admin-menu li li li li:hover ul,
  130. #admin-menu li li li li li:hover ul,
  131. #admin-menu li.iehover ul,
  132. #admin-menu li li.iehover ul,
  133. #admin-menu li li li.iehover ul,
  134. #admin-menu li li li li.iehover ul,
  135. #admin-menu li li li li li.iehover ul {
  136. display: block;
  137. left: auto;
  138. }
  139. #admin-menu li.admin-menu-action:hover ul {
  140. right: 0;
  141. }
  142. /* Second-and-more-level hovering */
  143. #admin-menu li li.expandable {
  144. background: #45454A url(images/arrow.png) no-repeat 145px 7px;
  145. }
  146. #admin-menu li li:hover,
  147. #admin-menu li li.iehover {
  148. background-color: #111;
  149. }
  150. #admin-menu li li:hover a,
  151. #admin-menu li li:hover li:hover a,
  152. #admin-menu li li:hover li:hover li:hover a {
  153. color: #FFF;
  154. }
  155. #admin-menu li li.expandable:hover a,
  156. #admin-menu li li.expandable:hover li.expandable:hover a {
  157. border-color: #666666;
  158. color: #EEE;
  159. }
  160. #admin-menu li li.expandable:hover li a,
  161. #admin-menu li li.expandable:hover li.expandable:hover li a {
  162. border-color: #323232;
  163. }
  164. #admin-menu li li:hover li a,
  165. #admin-menu li li.iehover li a,
  166. #admin-menu li li.iehover li.iehover li a {
  167. color: #EEE;
  168. }
  169. #admin-menu li li.iehover a,
  170. #admin-menu li li.iehover li.iehover a,
  171. #admin-menu li li.iehover li.iehover li.iehover a {
  172. color: #FFF;
  173. width: 90%; /* IE */
  174. }
  175. /* #210615: Mozilla on Mac fix */
  176. html.js fieldset.collapsible div.fieldset-wrapper {
  177. overflow: visible;
  178. }
  179. /* Hide the menu on print output. */
  180. @media print {
  181. #admin-menu {
  182. display: none !important;
  183. }
  184. body.admin-menu {
  185. margin-top: 0 !important;
  186. }
  187. }
  188. /**
  189. * Tweaks permissions, if enabled.
  190. */
  191. tr.admin-menu-tweak-permissions-processed {
  192. cursor: pointer;
  193. cursor: hand;
  194. }
  195. tr.admin-menu-tweak-permissions-processed td.module {
  196. border-top: 0;
  197. }
  198. /**
  199. * Hide elements from all users. (D7 backport)
  200. *
  201. * Used for elements which should not be immediately displayed to any user. An
  202. * example would be a collapsible fieldset that will be expanded with a click
  203. * from a user. The effect of this class can be toggled with the jQuery show()
  204. * and hide() functions.
  205. */
  206. .element-hidden {
  207. display: none;
  208. }