common.css 9.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195
  1. /**{ margin:0; padding:0; text-decoration:none; list-style:none; font-family:Tahoma,'Microsoft Yahei','Simsun'; vertical-align:baseline; }*/
  2. body{ background-color:#F4F4F4; }
  3. table { border-spacing:0; border-collapse:collapse; }
  4. img { border:0; }
  5. .l{ float:left; }
  6. .y{ float:right; }
  7. .ov-h{ overflow:hidden; }
  8. .wp{width:1000px; margin:auto; }
  9. .main{ padding:30px 20px 40px; overflow:hidden; }
  10. @media screen and (min-width:1200px) {
  11. .wp{width:1200px; margin:auto; }
  12. .main{ padding:30px 40px 40px; overflow:hidden; }
  13. }
  14. @media screen and (max-width: 1200px) {
  15. .wp{width:1000px; margin:auto; }
  16. .main{ padding:30px 20px 40px; overflow:hidden; }
  17. }
  18. /*宽高*/
  19. .w60{ width:60px; }
  20. .w100{ width:100px; }
  21. .w140{ width:140px; }
  22. .w200{ width:200px; }
  23. .w350{ width:350px; }
  24. .w740{ width:740px; }
  25. .ww100{ width:100%; }
  26. .h32{ height:32px; }
  27. .h50{ height:50px; }
  28. .h60{ height:60px; }
  29. .h280{ height:280px; }
  30. .h350{ height:350px; }
  31. /*元素属性*/
  32. .dis-blk{ display:block; }
  33. .dis-ile-blk{ display:inline-block; }
  34. .dis-ile{ display:inline; }
  35. /*外间距*/
  36. .mt5{ margin-top:5px; }
  37. .mt10{ margin-top:10px; }
  38. .mt15{ margin-top:15px; }
  39. .mt20{ margin-top:20px; }
  40. .mt30{ margin-top:30px; }
  41. .mt50{ margin-top:50px; }
  42. .mr5{ margin-right:5px; }
  43. .mr5{ margin-right:5px; }
  44. .mr10{ margin-right:10px; }
  45. .mr15{ margin-right:15px; }
  46. .mr20{ margin-right:20px; }
  47. .mr30{ margin-right:30px; }
  48. .mr40{ margin-right:40px; }
  49. .mr300{ margin-right:300px; }
  50. .mb5{ margin-bottom:5px; }
  51. .ml5{ margin-left:5px; }
  52. .ml10{ margin-left:10px; }
  53. .ml20{ margin-left:20px; }
  54. /*内间距*/
  55. .pt25{ padding-top:25px; }
  56. .pr20{ padding-right:20px; }
  57. .pr40{ padding-right:40px; }
  58. .pl20{ padding-left:20px; }
  59. .pb40{ padding-bottom:40px; }
  60. .pb50{ padding-bottom:50px; }
  61. /*行间距*/
  62. .lh32{ line-height:32px; }
  63. .lh40{ line-height:40px; }
  64. .lh50{ line-height:50px; }
  65. /*字号*/
  66. .fb{ font-weight:bold; }
  67. .f12{ font-size:12px; }
  68. .f13{ font-size:13px; }
  69. .f14{ font-size:14px; }
  70. .f16{ font-size:16px; }
  71. .f17{ font-size:17px; }
  72. .f24{ font-size:24px; }
  73. .f32{ font-size:32px; }
  74. /*颜色*/
  75. .c333{ color:#333; } .c666{ color:#666; } .c999{ color:#999; } .cCCC{ color:#CCC; } .cOrange{ color:#FF771F; } .cBlue{color:#1BBCD5; } .c00D0FA{ color:#00D0FA; } .cred{ color:#F00; }
  76. /*背景*/
  77. .bgFF{ background-color:#FFF; }
  78. .bgFC{ background-color:#FCFCFC; }
  79. .bgF4{ background-color:#F4F4F4; }
  80. .bgF6{ background-color:#F6F6F6; }
  81. .bgFFF3EE{ background-color:#FFF3EE; }
  82. .bgFFF3ED{ background-color:#FFF3ED; }/*浅橙*/
  83. .bgF1FBFD{ background-color:#F1FBFD; }/*浅绿*/
  84. /*分割线*/
  85. .lineDDD{ width:100%; height:1px; font-size:0; background-color:#DDD; }
  86. /*边框*/
  87. .bsDDD{ box-shadow:0px 0px 5px #CCC; }
  88. /*圆角*/
  89. .br3-tl{ border-top-left-radius:3px; }
  90. .br3-tr{ border-top-right-radius:3px; }
  91. /*位置*/
  92. .positionR{ position:relative; }
  93. /*字对齐*/
  94. .text-c{ text-align:center; }
  95. .text-r{ text-align:right; }
  96. /*清除浮动*/
  97. .clearfix{ clear:both; }
  98. /*表格*/
  99. .tab-1-EEE{ width:100%; }
  100. .tab-1-EEE thead{ background-color:#FCFCFC; color:#999; }
  101. .tab-1-EEE td{ border:1px solid #EEE; padding:15px 20px; padding:15px 20px; vertical-align:middle; border:1px solid #EEE; font-size:12px; }
  102. .tab-1-EEE .t{ background-color:#EBF8FF; color:#1BBCD5; }
  103. /*按钮*/
  104. a.btn-blue, a.btn-gray, a.btn-orange{ display:inline-block; padding:5px 10px; font-size:12px; border-radius:3px; background-color:#FFF; }
  105. a.btn-blue{ border:1px solid #0ACAFE; color:#0ACAFE; }
  106. a.btn-gray{ border:1px solid #DDD; color:#AAA; }
  107. a.btn-orange{ border:1px solid #FF6400; color:#FF6400; }
  108. a.btn-blue:hover{ background-color:#0ACAFE; color:#FFF; }
  109. a.btn-gray:hover{ background-color:#DDD; color:#FFF; }
  110. a.btn-orange{ background-color:#FF6400; color:#FFF; }
  111. /*图片*/
  112. .bor-img{ padding:3px; border:1px solid #EEE; background-color:#FFF; }
  113. /*页码*/
  114. .pages{ height:32px; font-size:12px; }
  115. .pages a{ width:30px; height:30px; display:inline-block; line-height:30px; text-align:center; color:#999; float:left; margin-left:10px; border-radius:2px; border:1px solid #DDD; }
  116. .pages strong{ width:30px; height:32px; margin-left:10px; line-height:32px; text-align:center; float:left; color:#FF6400; }
  117. /*单选美化*/
  118. .o-rdo{ margin-right:10px; float:left; position:relative; text-align:center; }
  119. .o-rdo input[type="radio"] + label::before { content: "\a0"; display: inline-block; vertical-align: middle; font-size: 12px; border: 1px solid #DDD; position:absolute; left:0; top:0; right:0; bottom:0; color:#FF0; cursor:pointer; }
  120. .o-rdo input[type="radio"]:checked + label::before { border: 2px solid #FF6400; background-clip: content-box; background:url(o-rdo-icon.png) no-repeat right bottom; }
  121. .o-rdo input[type="radio"] { position: absolute; clip: rect(0, 0, 0, 0); }
  122. .o-rdo label{ font-size:12px; padding:0 10px; }
  123. /*顶部*/
  124. .top_z{ height:32px; padding-left:0px; background:url(top_z_icon.png) no-repeat center left; line-height:32px; font-size:13px; color:#AAA; }
  125. /*顶部快捷*/
  126. .loginIn{ font-size:13px; }
  127. .topLogin{ font-size:13px; height:16px; line-height:16px; color:#CCC; margin-top:8px; padding-right:20px; border-right:1px solid #DDD; }
  128. .topLogin a{ color:#59CFE5; }
  129. .topLogin a.reg{ background:url(topUser.png) no-repeat center left; padding-left:20px; }
  130. .topYy, .topBg, .topWx{ height:32px; line-height:32px; font-size:13px; padding-left:20px; color:#59CFE5; }
  131. .topYy{ background:url(user_top_yy.png) no-repeat center left; }
  132. .topBg{ background:url(user_top_bg.png) no-repeat center left; }
  133. .topWx{ background:url(user_top_wx.png) no-repeat center left; cursor:pointer; }
  134. /*头部购物车*/
  135. .Cart_none, .Cart{ height:22px; border-left:1px solid #EDEDED; padding:16px 0 22px 40px; }
  136. .Cart_none strong, .Cart strong{ width:24px; height:20px; padding:8px 0 2px 0; display:inline-block; line-height:20px; text-align:center; color:#FFF; font-size:12px; }
  137. .Cart_none strong{ background:url(Cart.png) no-repeat; }
  138. .Cart strong{ background:url(Cart.png) no-repeat; background-position:0 -30px; }
  139. .Cart_none span, .Cart span{ font-size:12px; line-height:30px; margin:0 10px; color:#999; }
  140. /*主导航*/
  141. .nav{ height:52px; padding:0; position:absolute; left:0; bottom:-72px; background:url(nav_bg.png) no-repeat right; border-radius:2px 2px 0px 0px; }
  142. .nav ul{ float:left; margin-left:40px; _margin-left:20px; }
  143. .nav ul li{ height:52px; float:left; margin-right:45px; text-align:center; }
  144. .nav ul li a{ color:#57899C; font-size:18px; line-height:52px; display:inline-block; text-shadow:1px 1px 2px rgba(255,255,255,.9) }
  145. .nav .cli a{ color:#DC3E3E; }
  146. .search-box{ width:360px; float:right; margin:12px 30px 0 0; }
  147. .search{ width:0%; height:28px; min-width:28px; float:right; transition:width 0.3s; -webkit-transition:width 0.3s; -moz-transition:width 0.3s; -webkit-backface-visibility:hidden; overflow:hidden; position:relative; }
  148. .search-input { width:226px; height:28px; margin:0; padding:0px 30px 0px 6px; position:absolute; top:0; right:0; border:none; outline:none; z-index:10; color:#333; box-shadow:1px 1px 2px #F9F9F9 inset; background-color:rgba(255,255,255,1); font-size:15px; border-radius:14px; margin-right:35px; }
  149. .search-input::-webkit-input-placeholder { color:#999; }
  150. .search-input:-moz-placeholder { color: #999; }
  151. .search-input::-moz-placeholder { color: #999; }
  152. .search-input:-ms-input-placeholder { color: #999; }
  153. .icon-search, .search-submit { width:32px; height:28px; display:block; position:absolute; right:0; top:0; padding:0; margin:0; cursor:pointer; }
  154. .search-submit { background:#FFF; /* IE needs this */ -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; /* IE 8 */ filter:alpha(opacity=0); /* IE 5-7 */ opacity:0; color:transparent; border:none; outline:none; z-index:-1; background:url(search_icon.png) no-repeat #FF6400; }
  155. .icon-search { font-size:14px; color:#FFF; z-index:90; speak: none; background:url(search_icon.png) no-repeat; }
  156. .search.search-open, .no-js .search { width:100%; }
  157. .search.search-open .icon-search, .no-js .search .icon-search { background:url(search_icon.png) no-repeat; color: #fff; z-index: 11; }
  158. .search.search-open .search-submit, .no-js .search .search-submit { z-index:90; }
  159. /*面包屑导航*/
  160. .bread-nav{ overflow:hidden; padding:10px 0; border-bottom:1px solid #EEE; }
  161. .bread-nav .index{ display:inline-block; float:left; }
  162. .bread-nav a{ color:#86CAD9; font-size:12px; float:left; }
  163. .bread-nav em{ float:left; margin:0 5px; font-size:12px; color:#EEE; font-style:normal; }
  164. .bread-nav span{ float:left; font-size:12px; color:#CCC; }
  165. /*友情链接*/
  166. .links{ padding:10px 30px; background-color:rgba(255,255,255,.5); border-top:1px solid #EEE; box-shadow:0 1px 1px #EEE; }
  167. .links p{ line-height:24px; font-size:12px; }
  168. .links p strong{ color:#666; }
  169. .links p a{ color:#666; margin:0 15px; }
  170. /*底部*/
  171. .footer{ width:100%; margin-top:40px; overflow:hidden; }
  172. .footer td{ vertical-align:top; }
  173. .footer dl{ margin:0 30px; float:left; }
  174. .footer dt{ font-size:14px; line-height:36px; color:#666; }
  175. .footer dd{ line-height:30px; font-size:14px; color:#CCC; }
  176. .footer dd a{ font-size:12px; color:#999; }
  177. .footer .news{ padding:0 50px; border-left:1px solid #DDD; border-right:1px solid #DDD; }
  178. .footer .news li{ margin-top:10px; background:url(CCCx3_dot.png) no-repeat top left; background-position:0 9px; padding-left:15px; }
  179. .footer .news li a{ font-size:14px; color:#666; }
  180. .footer .news li a:hover{ color:#59CFE5; }
  181. .footer .wx{ width:120px; height:150px; float:right; }
  182. .footer .wx img{ width:120px; height:120px; }
  183. .footer .wx p{ width:120px; height:30px; line-height:30px; font-size:14px; text-align:center; }
  184. /*页脚*/
  185. .bottom{ width:100%; margin:20px 0 30px; }
  186. .bottom p{ width:100%; font-size:12px; line-height:24px; text-align:center; color:#999; }
  187. .bottom p a{ color:#999; text-decoration:underline; }
  188. /*微信弹窗*/
  189. .wxPopup{ width:100%; height:100%; background-color:rgba(0,0,0,.3); position:fixed; left:0; top:0; z-index:9999; display:none; }