/pigeoncms/App_Themes/adminDefault/fsmenu_current.css

http://pigeoncms.googlecode.com/ · CSS · 125 lines · 78 code · 13 blank · 34 comment · 0 complexity · 04cafaaed94dd792344745a747008e62 MD5 · raw file

  1. /* All <ul> tags in the menu including the first level */
  2. .menulist, .menulist ul {
  3. margin: 0;
  4. padding: 0px; /*fu 0 */
  5. list-style: none;
  6. background-color: #154890;
  7. }
  8. /* Submenus (<ul> tags) are hidden and absolutely positioned downwards from their parent */
  9. .menulist ul {
  10. display: none;
  11. position: absolute;
  12. top: 1.0em; margin-top: 13px; /* I'm using ems and px to allow people to zoom their font */
  13. left: -1px;
  14. width: 150px;
  15. }
  16. /* Second and third etc. level submenus - position across from parent instead */
  17. .menulist ul ul {
  18. top: -1px; margin-top: 0;
  19. left: 148px;
  20. }
  21. /*
  22. All menu items (<li> tags). 'float: left' lines them up horizontally, and they are
  23. positioned relatively to correctly offset submenus. Also, they have overlapping borders.
  24. */
  25. .menulist li
  26. {
  27. float: left;
  28. display: block;
  29. position: relative;
  30. background: #154890;
  31. /*border: 1px solid #330;*/
  32. margin-right: -1px;
  33. color: white;
  34. /*font-size: 120%;*/
  35. }
  36. /* Items in submenus - override float/border/margin from above, restoring default vertical style */
  37. .menulist ul li {
  38. float: none;
  39. margin: 0;
  40. margin-bottom: -1px;
  41. }
  42. .menulist ul>li:last-child {
  43. margin-bottom: 1px; /* Mozilla fix */
  44. }
  45. /* Links inside the menu */
  46. .menulist a {
  47. display: block;
  48. padding: 3px 4px 3px 4px;
  49. color: White;
  50. text-decoration: none;
  51. }
  52. /* Lit items: 'hover' is mouseover, 'highlighted' are parent items to visible menus */
  53. .menulist a:hover, .menulist a.highlighted:hover, .menulist a:focus , .menulist a.selected
  54. {
  55. color: black;
  56. background-color: LightSteelBlue;
  57. text-decoration: none;
  58. }
  59. .menulist a.highlighted
  60. {
  61. color: black;
  62. background-color: LightSteelBlue;
  63. }
  64. /*
  65. If you want per-item background images in your menu items, here's how to do it.
  66. 1) Assign a unique ID tag to each link in your menu, like so: <a id="xyz" href="#">
  67. 2) Copy and paste these next lines for each link you want to have an image:
  68. .menulist a#xyz {
  69. background-image: url(out.gif);
  70. }
  71. .menulist a#xyz:hover, .menulist a.highlighted#xyz, .menulist a:focus {
  72. background-image: url(over.gif);
  73. }
  74. */
  75. /* Only style submenu indicators within submenus. */
  76. .menulist a .subind {
  77. display: none;
  78. }
  79. .menulist ul a .subind {
  80. display: block;
  81. float: right;
  82. }
  83. /* 'Escaped Comment' hack for horizontal menubar width in IE5/Mac */
  84. .menulist a {
  85. float: left;
  86. }
  87. .menulist ul a {
  88. float: none;
  89. }
  90. /* \*/
  91. .menulist a {
  92. float: none;
  93. }
  94. /* */
  95. /*
  96. HACKS: IE/Win:
  97. A small height on <li> and <a> tags and floating prevents gaps in menu.
  98. * html affects <=IE6 and *:first-child+html affects IE7.
  99. You may want to move these to browser-specific style sheets.
  100. */
  101. *:first-child+html .menulist ul li {
  102. float: left;
  103. width: 100%;
  104. }
  105. * html .menulist ul li {
  106. float: left;
  107. height: 1%;
  108. }
  109. * html .menulist ul a {
  110. height: 1%;
  111. }
  112. /* End Hacks */