base.css 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280
  1. /**
  2. * 初始化HTML标签及常用类型
  3. * @abc
  4. * www.abc.com
  5. * Apr-01-2012
  6. **/
  7. /* ===============
  8. * 重新定义Html元素
  9. * =============== */
  10. html, body, div, ul, ol, li, dl, dt, dd, h1, h2, h3, h4, h5, h6, pre, form, p, blockquote, fieldset, input { padding: 0; margin: 0;}
  11. h1, h2, h3, h4, h5, h6, pre, code, address, caption, cite, code, em, strong, table, th, td { font-size: 1em; font-style: normal; font-weight: normal;}
  12. strong { font-weight: bold;}
  13. ul, ol { list-style: none outside none;}
  14. fieldset, img { border: medium none;}
  15. caption, th { text-align: left;}
  16. table { border-collapse: collapse; border-spacing: 0;}
  17. body { background: none repeat scroll 0 0 #FFF; color: #333333; font: 12px/1 "microsoft yahei", Tahoma, Helvetica, Arial, "\5b8b\4f53", sans-serif;}
  18. input, select, textarea { font: 12px/1 Tahoma, Helvetica, Arial, "\5b8b\4f53", sans-serif;}
  19. a { outline: medium none;}
  20. a:link, a:visited, a:active { text-decoration: none;}
  21. a:hover { text-decoration: underline;}
  22. i, cite, em { font-style: normal;}
  23. html {min-height:101%; }
  24. /* Clearfix,避免因子元素浮动而导致的父元素高度缺失能问题 */
  25. .clearfix:after { clear: both; content: "."; display: block; height: 0; line-height: 0; visibility: hidden;}
  26. .clearfix { display: inline-block;}
  27. html[xmlns] .clearfix { display: block;}
  28. *html .clearfix{height:1%;}
  29. *+html .clearfix{height:1%;}
  30. time { color: #777;}
  31. .noborder { border: 0!important; }
  32. /* ==========================
  33. * 为旧版本浏览器格式化Html5元素
  34. * ========================== */
  35. article, aside, dialog, footer, header, section, footer, nav, figure, menu { display:block; }
  36. /*文字排版
  37. ******************************/
  38. .f12 { font-size:12px;}
  39. .f13 { font-size:13px;}
  40. .f14 { font-size:14px;}
  41. .f16 { font-size:16px;}
  42. .f20 { font-size:20px;}
  43. .fb { font-weight:bold;}
  44. .fn { font-weight:normal;}
  45. .t2 { text-indent:2em;}
  46. .lh150 { line-height:150%}
  47. .lh180 { line-height:180%}
  48. .lh200 { line-height:200%}
  49. .unl { text-decoration:underline;}
  50. .no_unl { text-decoration:none;}
  51. .noborder {border-style:none; border-width: 0;}
  52. /*定位
  53. ******************************/
  54. .tl { text-align:left !important;}
  55. .tc { text-align:center !important; }
  56. .tr { text-align:right !important;}
  57. .bc { margin-right:auto ;margin-left:auto;}
  58. .fl { float:left; display:inline;}
  59. .fr { float:right; display:inline;}
  60. .cb { clear:both;}
  61. .cl { clear:left;}
  62. .cr { clear:right;}
  63. .vm { vertical-align: middle;}
  64. .vt { vertical-align: top;}
  65. .pr { position:relative;}
  66. .pa { position:absolute;}
  67. .abs-right { position:absolute; right:0;}
  68. .zoom { zoom:1}
  69. /*.hidden { visibility:hidden;*/}
  70. .none { display:none;}
  71. .clear { clear: both; height: 0; font-size: 1px; }
  72. /*长度高度
  73. ******************************/
  74. .w10 { width:10px;}
  75. .w20 { width:20px;}
  76. .w30 { width:30px;}
  77. .w40 { width:40px !important;}
  78. .w50 { width:50px !important;}
  79. .w60 { width:60px !important;}
  80. .w65 { width:65px;}
  81. .w70 { width:70px;}
  82. .w80 { width:80px;}
  83. .w90 { width:90px;}
  84. .w96 {width: 96px;}
  85. .w100 { width:100px;}
  86. .w110 { width:110px;}
  87. .w120 { width:120px;}
  88. .w150 { width:150px;}
  89. .w160 { width:160px;}
  90. .w180 { width:180px;}
  91. .w200 { width:200px !important;}
  92. .w210 { width:210px !important;}
  93. .w230 { width:230px;}
  94. .w240 { width:240px;}
  95. .w250 { width:250px !important;}
  96. .w270 { width:270px;}
  97. .w300 { width:300px !important;}
  98. .w340 { width:340px;}
  99. .w380 { width:380px;}
  100. .w400 { width:400px!important;}
  101. .w500 { width:500px;}
  102. .w530 { width:530px;}
  103. .w600 { width:600px !important;}
  104. .w700 { width:700px;}
  105. .w780 { width: 780px;}
  106. .w800 { width:800px;}
  107. .w208 {width: 208px;}
  108. .w { width:100%}
  109. .h50 { height:50px !important;}
  110. .h80 { height:80px;}
  111. .h100 { height:100px;}
  112. .h200 { height:200px;}
  113. .h { height:100%}
  114. .size30 { width: 30px; height: 30px;}
  115. .size32 { width: 32px; height:32px;}
  116. .size40 { width: 40px; height:40px;}
  117. .size60 { width: 60px; height:60px;}
  118. .size70 { width: 70px; height: 70px;}
  119. .size72 { width: 72px; height: 72px;}
  120. .size80 { width: 80px; height:80px;}
  121. .size90 { width: 90px; height:90px;}
  122. .size100 { width: 100px; height: 100px;}
  123. .size110 { width: 110px; height: 110px;}
  124. .size120 { widows: 120px; height: 120px;}
  125. .size142-80 { width: 142px; height: 80px;}
  126. .size160 { width: 160px; height: 160px;}
  127. .size160-48 { width: 160px; height: 48px;}
  128. .size150 { width: 150px; height: 150px; }
  129. .size160 { width: 160px; height: 160px;}
  130. .size184 { width: 184px; height: 114px; }
  131. .size180-230 { width: 180px; height: 230px;}
  132. .size196 { width: 196px; height: 196px;}
  133. .size210 { width: 210px; height: 210px;}
  134. .size250 { width: 250px; height: 250px;}
  135. .size310 { width: 310px; height:310px;}
  136. /*边距
  137. ******************************/
  138. .m10 { margin:10px;}
  139. .m15 { margin:15px;}
  140. .m30 { margin:30px;}
  141. .mt5 { margin-top:5px;}
  142. .mt10 { margin-top:10px !important;}
  143. .mt15 { margin-top:15px;}
  144. .mt20 { margin-top:20px !important;}
  145. .mt30 { margin-top:30px !important;}
  146. .mt50 { margin-top:50px !important;}
  147. .mt100 { margin-top:100px;}
  148. .mb5 { margin-bottom:5px;}
  149. .mb10 { margin-bottom:10px !important;}
  150. .mb15 { margin-bottom:15px;}
  151. .mb20 { margin-bottom:20px;}
  152. .mb30 { margin-bottom:30px;}
  153. .mb50 { margin-bottom:50px;}
  154. .mb100 { margin-bottom:100px;}
  155. .ml5 { margin-left:5px;}
  156. .ml10 { margin-left:10px;}
  157. .ml15 { margin-left:15px;}
  158. .ml20 { margin-left:20px;}
  159. .ml30 { margin-left:30px;}
  160. .ml50 { margin-left:50px;}
  161. .ml100 { margin-left:100px;}
  162. .mr5 { margin-right:5px;}
  163. .mr10 { margin-right:10px;}
  164. .mr15 { margin-right:15px;}
  165. .mr20 { margin-right:20px;}
  166. .mr30 { margin-right:30px !important;}
  167. .mr50 { margin-right:50px !important;}
  168. .mr100 { margin-right:100px;}
  169. /*边距
  170. ******************************/
  171. .p10 { padding:10px;}
  172. .p15 { padding:15px;}
  173. .p30 { padding:30px;}
  174. .pt5 { padding-top:5px;}
  175. .pt10 { padding-top:10px;}
  176. .pt15 { padding-top:15px;}
  177. .pt20 { padding-top:20px;}
  178. .pt30 { padding-top:30px;}
  179. .pt50 { padding-top:50px;}
  180. .pt100 { padding-top:100px;}
  181. .pb5 { padding-bottom:5px;}
  182. .pb10 { padding-bottom:10px;}
  183. .pb15 { padding-bottom:15px;}
  184. .pb20 { padding-bottom:20px;}
  185. .pb30 { padding-bottom:30px;}
  186. .pb50 { padding-bottom:50px;}
  187. .pb100 { padding-bottom:100px;}
  188. .pl5 { padding-left:5px;}
  189. .pl10 { padding-left:10px;}
  190. .pl15 { padding-left:15px;}
  191. .pl20 { padding-left:20px;}
  192. .pl30 { padding-left:30px;}
  193. .pl50 { padding-left:50px;}
  194. .pl100 { padding-left:100px;}
  195. .pr5 { padding-right:5px;}
  196. .pr10 { padding-right:10px;}
  197. .pr15 { padding-right:15px;}
  198. .pr20 { padding-right:20px;}
  199. .pr30 { padding-right:30px;}
  200. .pr50 { padding-right:50px;}
  201. .pr100 { padding-right:100px;}
  202. /*边距
  203. ******************************/
  204. .color-red { color:red; }
  205. /*div宽高局中
  206. ******************************/
  207. .thumb { overflow: hidden;}
  208. .thumb a { text-align: center; float: left; position:relative; overflow:hidden; }
  209. .thumb img { vertical-align: text-top; position:relative;}
  210. #page { background-color: #F5F5F5; width: 100%; height: 29px; border-bottom: 1px solid #D8D8D8; }
  211. .warp-all { width: 1000px; margin: 0 auto;}
  212. /* 公用顶部区域
  213. -------------------------------------- */
  214. .public-top-layout { font-family: Arial, "宋体"; line-height: 20px; color: #777; background-color: #FAFAFA; border-bottom: solid 1px #F0F0F0;}
  215. .public-top-layout .topbar { height: 30px;}
  216. .public-top-layout .user-entry { width: 600px; height: 20px; float: left; padding: 5px 0;}
  217. .public-top-layout .user-entry a { color: #333333}
  218. .public-top-layout .quick-menu { font-size: 0; *word-spacing:-1px/*IE6、7*/; text-align: right; width: 400px; height: 30px; float: right;}
  219. .public-top-layout .quick-menu a { color: #777 !important;}
  220. .public-top-layout .quick-menu dl { text-align: left; vertical-align: top; letter-spacing: normal; word-spacing: normal; display: inline-block; *display:inline/*IE6、7*/; width: 80px; height: 30px; position: relative; z-index: 999; *zoom:1/*IE6、7*/;}
  221. .public-top-layout .quick-menu dl dt { font-size: 12px; line-height: 20px; height: 20px; padding: 5px 0; position: absolute; z-index: 2; top: 0px; left: 12px;}
  222. .public-top-layout .quick-menu dl dt a:hover { text-decoration: none; color: #F30;}
  223. .public-top-layout .quick-menu dl dt i { background: url(../images/top_bg.png) no-repeat 0 0; vertical-align: middle; display: inline-block; width: 6px; height: 3px; margin-left: 6px;-webkit-transition: .2s ease-in; -moz-transition: -webkit-transform .2s ease-in; -o-transition: -webkit-transform .2s ease-in; transition: .2s ease-in;}
  224. .public-top-layout .quick-menu dl.hover dt i { FILTER: progid:DXImageTransform.Microsoft.BasicImage(rotation=2); -moz-transform: rotate(180deg); -moz-transform-origin: 50% 30%; -webkit-transform: rotate(180deg); -webkit-transform-origin: 50% 30%; -o-transform: rotate(180deg); -o-transform-origin: 50% 30%; transform: rotate(180deg); transform-origin: 50% 30%;}
  225. .public-top-layout .quick-menu dl dd { background-color: #FFF; display: none; width: 78px; border: solid 1px #F0F0F0; position: absolute; z-index: 1; top: 0; left: 0;}
  226. .public-top-layout .quick-menu dl.hover dd { display: block;}
  227. .public-top-layout .quick-menu dl dd ul { width: 78px; margin: 30px 0 0 0; }
  228. .public-top-layout .quick-menu dl dd ul li a { font-size: 12px; line-height: 24px; display: block; clear: both; padding: 2px 0 2px 11px;}
  229. .public-top-layout .quick-menu dl dd ul li a:hover { text-decoration: none; background-color: #F7F7F7;}
  230. .warning { color: #C00; background-color: #FFC; width: 98%; clear: both; padding: 6px; margin: 6px auto; border: 1px dashed #F90;}
  231. .warning label { clear: both; line-height: 20px;}
  232. #footer { line-height: 20px; color: #aaa; text-align: center; display: block; width: 1000px; clear: both; margin: 10px auto 0 auto; padding-bottom: 10px; border-top: 1px solid #E9ECEF; overflow: hidden;}
  233. #footer p { color: #666; word-spacing: 5px; padding: 10px 0; }
  234. #footer a { color: #666; text-decoration: none; }
  235. #footer a:hover { text-decoration: underline; }
  236. #footer .vol { font-family: Verdana, Geneva, sans-serif; font-weight: 600; font-style: oblique; font-size: 12px;}
  237. #footer .vol .b { color: #00F;}
  238. #footer .vol .o { color: #F60;}
  239. #footer .vol em { font-family: Georgia, Arial; font-weight: 600; font-style: italic; color: #000; margin-left: 2px;}
  240. /* tip提示 */
  241. .tip-yellowsimple { color:#000; background-color:#fff9c9; text-align:left; min-width:50px; max-width:300px; border:1px solid #c7bf93; border-radius:4px; -moz-border-radius:4px; -webkit-border-radius:4px; z-index:1000; padding:6px 8px;}
  242. .tip-yellowsimple .tip-inner { font:12px/16px arial,helvetica,sans-serif;}
  243. .tip-yellowsimple .tip-arrow-top { background:url(../images/tip-yellowsimple_arrows.gif) no-repeat; width:9px; height:6px; margin-top:-6px; margin-left:-5px; top:0; left:50%;}
  244. .tip-yellowsimple .tip-arrow-right { background:url(../images/tip-yellowsimple_arrows.gif) no-repeat -9px 0; width:6px; height:9px; margin-top:-4px; margin-left:0; top:50%; left:100%;}
  245. .tip-yellowsimple .tip-arrow-bottom { background:url(../images/tip-yellowsimple_arrows.gif) no-repeat -18px 0; width:9px; height:6px; margin-top:0; margin-left:-5px; top:100%; left:50%;}
  246. .tip-yellowsimple .tip-arrow-left { background:url(../images/tip-yellowsimple_arrows.gif) no-repeat -27px 0; width:6px; height:9px; margin-top:-4px; margin-left:-6px; top:50%; left:0;}
  247. /* 调试模式 */
  248. .trace { font-family:"Trebuchet MS", Arial, Helvetica, sans-serif; font-size:14px; color: #000; line-height: 18px; background:#FFF299; padding:8px; margin:8px; border:1px dashed silver;}
  249. .trace fieldset { margin:8px;}
  250. .trace fieldset legend { font-size: 16px; color: #000; font-weight:bold;}
  251. .trace fieldset div { overflow:auto; max-height: 300px; _height: 300px; text-align:left;}
  252. .lazy { background: url(../images/img_background.gif) repeat;}