main.css 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141
  1. @CHARSET "UTF-8";
  2. /**************************************
  3. * Supplier Style
  4. **************************************/
  5. /*
  6. * Main Layout
  7. */
  8. body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,p,blockquote,table,th,td {
  9. margin: 0;
  10. padding: 0;
  11. }
  12. html,body {
  13. margin:0;
  14. padding:0;
  15. height:100%;
  16. min-width: 1400px;
  17. background: transparent;
  18. }
  19. body {
  20. font-family: "Segoe UI","Segoe UI Web Regular","Segoe UI Symbol","Helvetica Neue","BBAlpha Sans","S60 Sans",Arial,"sans-serif";
  21. color: #333;
  22. direction: ltr;
  23. font-size: 12px;
  24. overflow-x:auto;
  25. overflow-y:hidden;
  26. }
  27. html>body #main_wrap {
  28. height:100%;
  29. }
  30. html>body #main_content_wrap {
  31. height:100%;
  32. padding-top: 103px;
  33. }
  34. #header {
  35. position:absolute;
  36. top:0;
  37. left:0;
  38. width:100%;
  39. height:103px;
  40. /* position:fixed; */
  41. min-width: 1400px;
  42. z-index:99;
  43. background: url("/img/supplier/main_header_bg.gif") repeat-x;
  44. }
  45. #supplier-main-menu {
  46. width: 1355px;
  47. height: 103px;
  48. margin: 0 auto;
  49. text-align: center;
  50. z-index:20;
  51. }
  52. ul.main-menu {
  53. margin: 0 auto;
  54. }
  55. ul.main-menu li {
  56. width: 125px;
  57. height: 103px;
  58. display: block;
  59. position: relative;
  60. float: left;
  61. padding: 0px;
  62. vertical-align: bottom;
  63. }
  64. ul.main-menu li.logo {
  65. width: 280px;
  66. display : inline;
  67. z-index: 999;
  68. }
  69. ul.main-menu li.logo img {
  70. vertical-align: middle;
  71. z-index: 999;
  72. padding-top: 33px;
  73. }
  74. ul.main-menu li.menuItem {
  75. position: relative;
  76. vertical-align: bottom;
  77. }
  78. ul.main-menu li.menuItem div {
  79. height: 103px;
  80. }
  81. ul.main-menu li.menuItem div img {
  82. border: 0px;
  83. }
  84. ul.main-menu li.menuItem:hover ul {
  85. display: block;
  86. }
  87. ul.main-menu li.menuItem ul {
  88. display: none;
  89. }
  90. ul.main-menu li.menuItem ul li {
  91. float: left;
  92. height: 24px;
  93. line-height: 30px;
  94. width: 250px;
  95. text-align: left;
  96. background-color: #ebebeb;
  97. padding: 0 0 10px 10px;
  98. border-right: 1px solid #999999;
  99. border-left: 1px solid #999999;
  100. z-index: 999;
  101. }
  102. ul.main-menu li.menuItem ul li:hover {
  103. color: #ffffff;
  104. font-weight: bold;
  105. background-color: #3386ca;
  106. cursor : pointer;
  107. }
  108. ul.main-menu li.menuItem ul li:last-child {
  109. border-bottom: 1px solid #999999;
  110. }
  111. ul.main-menu li.menuItem ul li.last-child {
  112. border-bottom: 1px solid #999999;
  113. }
  114. ul.main-menu li.menuItem ul li a {
  115. color: #333;
  116. text-decoration: none;
  117. }
  118. ul.main-menu li.menuItem ul li a:HOVER {
  119. color: #3386ca;
  120. }