menu_default.css 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279
  1. #nav_primary{
  2. background: #414141;
  3. }
  4. .menuprimary {
  5. font: bold 12px Verdana;
  6. margin: auto;
  7. height: 41px;
  8. }
  9. .menucontainer {
  10. float: left;
  11. margin-top: -2px;
  12. }
  13. .menuprimary ul {
  14. z-index: 100;
  15. margin: 0;
  16. padding: 0;
  17. list-style-type: none;
  18. }
  19. /*Top level list items*/
  20. .menuprimary ul li {
  21. position: relative;
  22. display: inline;
  23. float: left;
  24. }
  25. .menuprimary ul .primaryleft {
  26. border-left: 1px solid white;
  27. }
  28. /*Top level menu link items style*/
  29. .menuprimary ul li a {
  30. display: block;
  31. background: #414141; /*background of menu items (default state)*/
  32. color: white;
  33. padding: 10px 20px;
  34. border-right: 1px solid white;
  35. color: #2d2b2b;
  36. text-decoration: none;
  37. height: 40px;
  38. font-size: 13px;
  39. }
  40. * html .menuprimary ul li a {
  41. /*IE6 hack to get sub menu links to behave correctly*/
  42. display: inline-block;
  43. }
  44. .menuprimary ul li a:link,.menuprimary ul li a:visited {
  45. color: white;
  46. }
  47. .menuprimary ul li a.selected {
  48. /*CSS class that's dynamically added to the currently active menu items' LI A element*/
  49. background: #0769AD !important;
  50. color: white;
  51. }
  52. .menuprimary ul li a:hover {
  53. background: #0769AD;
  54. /*background of menu items during onmouseover (hover state)*/
  55. color: white;
  56. }
  57. /* sub menus */
  58. .menuprimary ul li ul {
  59. position: absolute;
  60. left: -3000px;
  61. display: none; /*collapse all sub menus to begin with*/
  62. visibility: hidden;
  63. }
  64. /*Sub level menu list items (alters style from Top level List Items)*/
  65. .menuprimary ul li ul li {
  66. display: list-item;
  67. float: none;
  68. }
  69. /*All subsequent sub menu levels vertical offset after 1st level sub menu */
  70. .menuprimary ul li ul li ul {
  71. top: 0;
  72. }
  73. /* Sub level menu links style */
  74. .menuprimary ul li ul li a {
  75. font: normal 13px Verdana;
  76. width: 160px; /*width of sub menus*/
  77. padding: 5px;
  78. margin: 0;
  79. border-top-width: 0;
  80. border-bottom: 1px solid gray;
  81. height: 90%;
  82. }
  83. /* Holly Hack for IE \*/
  84. * html .menuprimary {
  85. height: 1%;
  86. } /*Holly Hack for IE7 and below*/
  87. /* ######### CSS classes applied to down and right arrow images ######### */
  88. .downarrowclass {
  89. position: absolute;
  90. top: 12px;
  91. right: 7px;
  92. }
  93. .rightarrowclass {
  94. position: absolute;
  95. top: 6px;
  96. right: 5px;
  97. }
  98. /* ######### CSS for shadow added to sub menus ######### */
  99. .ddshadow {
  100. position: absolute;
  101. left: 0;
  102. top: 0;
  103. width: 0;
  104. height: 0;
  105. background-color: #ccc;
  106. /* generally should be just a little lighter than the box-shadow color for CSS3 capable browsers */
  107. }
  108. .toplevelshadow {
  109. margin: 5px 0 0 5px;
  110. /* in NON CSS3 capable browsers gives the offset of the shadow */
  111. opacity: 0.8;
  112. /* shadow opacity mostly for NON CSS3 capable browsers. Doesn't work in IE */
  113. }
  114. .ddcss3support .ddshadow.toplevelshadow {
  115. margin: 0;
  116. /* in CSS3 capable browsers overrides offset from NON CSS3 capable browsers, allowing the box-shadow values in the next selector to govern that */
  117. /* opacity: 1; */
  118. /* optionally uncomment this to remove partial opacity for browsers supporting a box-shadow property which has its own slight gradient opacity */
  119. }
  120. .ddcss3support .ddshadow {
  121. background-color: transparent;
  122. box-shadow: 5px 5px 5px #aaa;
  123. /* box-shadow color generally should be a little darker than that for the NON CSS3 capable browsers background-color */
  124. -moz-box-shadow: 5px 5px 5px #aaa;
  125. -webkit-box-shadow: 5px 5px 5px #aaa;
  126. }
  127. /************************************************************************************************************/
  128. .menusecond {
  129. font: bold 12px Verdana;
  130. background: white; /*background of menu bar (default state)*/
  131. margin: auto;
  132. }
  133. .menusecond ul {
  134. z-index: 100;
  135. margin: 0;
  136. padding: 0;
  137. list-style-type: none;
  138. }
  139. /*Top level list items*/
  140. .menusecond ul li {
  141. position: relative;
  142. display: inline;
  143. float: left;
  144. }
  145. /*Top level menu link items style*/
  146. .menusecond ul li a {
  147. display: block;
  148. background: white; /*background of menu items (default state)*/
  149. color: #414141;
  150. padding: 8px 10px;
  151. border-right: 1px solid #778;
  152. color: #2d2b2b;
  153. text-decoration: none;
  154. }
  155. * html .menusecond ul li a {
  156. /*IE6 hack to get sub menu links to behave correctly*/
  157. display: inline-block;
  158. }
  159. .menusecond ul li a:link,.menusecond ul li a:visited {
  160. color: #414141;
  161. }
  162. .menusecond ul li a.selected {
  163. /*CSS class that's dynamically added to the currently active menu items' LI A element*/
  164. background: #F0F0F0 !important;
  165. color: #414141;
  166. }
  167. .menusecond ul li a:hover {
  168. background: #F0F0F0;
  169. /*background of menu items during onmouseover (hover state)*/
  170. color: #414141;
  171. }
  172. /* sub menus */
  173. .menusecond ul li ul {
  174. position: absolute;
  175. left: -3000px;
  176. display: none; /*collapse all sub menus to begin with*/
  177. visibility: hidden;
  178. }
  179. /*Sub level menu list items (alters style from Top level List Items)*/
  180. .menusecond ul li ul li {
  181. display: list-item;
  182. float: none;
  183. }
  184. /*All subsequent sub menu levels vertical offset after 1st level sub menu */
  185. .menusecond ul li ul li ul {
  186. top: 0;
  187. }
  188. /* Sub level menu links style */
  189. .menusecond ul li ul li a {
  190. font: normal 13px Verdana;
  191. width: 160px; /*width of sub menus*/
  192. padding: 5px;
  193. margin: 0;
  194. border-top-width: 0;
  195. border-bottom: 1px solid gray;
  196. }
  197. /* Holly Hack for IE \*/
  198. * html .menusecond {
  199. height: 1%;
  200. } /*Holly Hack for IE7 and below*/
  201. /* ######### CSS classes applied to down and right arrow images ######### */
  202. .downarrowclass {
  203. position: absolute;
  204. top: 12px;
  205. right: 7px;
  206. }
  207. .rightarrowclass {
  208. position: absolute;
  209. top: 6px;
  210. right: 5px;
  211. }
  212. /* ######### CSS for shadow added to sub menus ######### */
  213. .ddshadow {
  214. position: absolute;
  215. left: 0;
  216. top: 0;
  217. width: 0;
  218. height: 0;
  219. background-color: #ccc;
  220. /* generally should be just a little lighter than the box-shadow color for CSS3 capable browsers */
  221. }
  222. .toplevelshadow {
  223. margin: 5px 0 0 5px;
  224. /* in NON CSS3 capable browsers gives the offset of the shadow */
  225. opacity: 0.8;
  226. /* shadow opacity mostly for NON CSS3 capable browsers. Doesn't work in IE */
  227. }
  228. .ddcss3support .ddshadow.toplevelshadow {
  229. margin: 0;
  230. /* in CSS3 capable browsers overrides offset from NON CSS3 capable browsers, allowing the box-shadow values in the next selector to govern that */
  231. /* opacity: 1; */
  232. /* optionally uncomment this to remove partial opacity for browsers supporting a box-shadow property which has its own slight gradient opacity */
  233. }
  234. .ddcss3support .ddshadow {
  235. background-color: transparent;
  236. box-shadow: 5px 5px 5px #aaa;
  237. /* box-shadow color generally should be a little darker than that for the NON CSS3 capable browsers background-color */
  238. -moz-box-shadow: 5px 5px 5px #aaa;
  239. -webkit-box-shadow: 5px 5px 5px #aaa;
  240. }