reset.css 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371
  1. /*####################
  2. ######################
  3. ######################
  4. ######################
  5. ######################
  6. 字体主色调:#435561 #388ac2
  7. 辅助色:#999999
  8. 线条主色调
  9. 边框:#e5e4e9
  10. 辅助色:#cfcfcf 分割线:#eceff4
  11. 按钮色:#e47470 、 0099cc
  12. 底纹色:#f7f7f7
  13. 标题底纹:#f5f6fa
  14. ###################
  15. #####################
  16. ####################
  17. #######*/
  18. /*// 主题色*/
  19. /*字体主色调*/
  20. /*线条主色调*/
  21. /*按钮主色调*/
  22. /*底纹色*/
  23. body {
  24. font-family: Microsoft YaHei, Helvitica, Verdana, Arial, san-serif, Helvetica, STHeiTi, sans-serif !important;
  25. font-size: 14px;
  26. color: #435561;
  27. padding: 0;
  28. margin: 0;
  29. }
  30. ul,
  31. li,
  32. dl,
  33. dd,
  34. p,
  35. h1,
  36. h2,
  37. h3,
  38. h4,
  39. h5,
  40. h6 {
  41. list-style-type: none;
  42. padding: 0;
  43. margin: 0;
  44. font-weight: normal;
  45. }
  46. i,
  47. em {
  48. font-style: normal;
  49. }
  50. button {
  51. border: none;
  52. }
  53. a {
  54. color: #435561;
  55. text-decoration: none;
  56. }
  57. a:hover{
  58. color: #435561;
  59. }
  60. @font-face {
  61. font-family: "iconfont";
  62. src: url('../images/iconfont/iconfont.eot');
  63. src: url('../images/iconfont/iconfont.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ url('../images/iconfont/iconfont.woff') format('woff'), /* chrome、firefox */ url('../images/iconfont/iconfont.ttf') format('truetype'), /* chrome、firefox、opera、Safari, Android, iOS 4.2+*/ url('../images/iconfont/iconfont.svg#iconfont') format('svg');
  64. /* IE9*/
  65. /* iOS 4.1- */
  66. }
  67. .iconfont {
  68. font-family: "iconfont" !important;
  69. font-size: 16px;
  70. font-style: normal;
  71. -webkit-font-smoothing: antialiased;
  72. -webkit-text-stroke-width: 0.2px;
  73. -moz-osx-font-smoothing: grayscale;
  74. }
  75. /*瘦型字体*/
  76. .small_font {
  77. position: relative;
  78. }
  79. .small_font::before {
  80. content: attr(data-attr);
  81. font-weight: bolder;
  82. left: 2%;
  83. top: 2%;
  84. border-radius: 50%;
  85. text-align: center;
  86. letter-spacing: -1px;
  87. font-weight: 100;
  88. font-size: 1.338rem;
  89. color: #fc7d54;
  90. position: absolute;
  91. width: 96%;
  92. height: 96%;
  93. background-color: #fff;
  94. }
  95. /*全局链接样式*/
  96. a {
  97. color: #435561;
  98. text-decoration: none;
  99. }
  100. a:hover {
  101. text-decoration: none;
  102. }
  103. hr {
  104. border: none;
  105. border-top: 1px solid #eaeaea;
  106. }
  107. /*关于字体类型*/
  108. .wr {
  109. font-family: 微软雅黑!important;
  110. }
  111. /*页面留白*/
  112. .blank0 {
  113. height: 0px;
  114. clear: both;
  115. overflow: hidden;
  116. visibility: visible;
  117. }
  118. .blank1 {
  119. height: 1px;
  120. clear: both;
  121. overflow: hidden;
  122. visibility: visible;
  123. }
  124. .blank10 {
  125. height: 0.5rem;
  126. clear: both;
  127. overflow: hidden;
  128. visibility: visible;
  129. }
  130. .blank012 {
  131. height: 0.12rem;
  132. clear: both;
  133. overflow: hidden;
  134. visibility: visible;
  135. }
  136. .blank022 {
  137. height: 0.22rem;
  138. clear: both;
  139. overflow: hidden;
  140. visibility: visible;
  141. }
  142. .blank024 {
  143. height: 0.24rem;
  144. clear: both;
  145. overflow: hidden;
  146. visibility: visible;
  147. }
  148. .blank039 {
  149. height: 0.39rem;
  150. clear: both;
  151. overflow: hidden;
  152. visibility: visible;
  153. }
  154. .blank050 {
  155. height: 0.50rem;
  156. clear: both;
  157. overflow: hidden;
  158. visibility: visible;
  159. }
  160. .blank055 {
  161. height: 0.55rem;
  162. clear: both;
  163. overflow: hidden;
  164. visibility: visible;
  165. }
  166. .blank056 {
  167. height: 0.56rem;
  168. clear: both;
  169. overflow: hidden;
  170. visibility: visible;
  171. }
  172. .blank124 {
  173. height: 1.24rem;
  174. clear: both;
  175. overflow: hidden;
  176. visibility: visible;
  177. }
  178. .blank070 {
  179. height: 0.70rem;
  180. clear: both;
  181. overflow: hidden;
  182. visibility: visible;
  183. }
  184. /*英文强制换行*/
  185. .word {
  186. word-break: break-all !important;
  187. }
  188. /*禁止换行*/
  189. .nowrap {
  190. white-space: nowrap!important;
  191. }
  192. /*单行超出部分省略*/
  193. .text-overflow {
  194. display: block;
  195. /*内联对象需加*/
  196. word-break: keep-all;
  197. /* 不换行 */
  198. white-space: nowrap;
  199. /* 不换行 */
  200. overflow: hidden;
  201. /* 内容超出宽度时隐藏超出部分的内容 */
  202. text-overflow: ellipsis;
  203. /* 当对象内文本溢出时显示省略标记(...) ;需与overflow:hidden;一起使用。*/
  204. }
  205. /*多行溢出*/
  206. .text-overflow_2 {
  207. overflow: hidden;
  208. text-overflow: ellipsis;
  209. display: -webkit-box;
  210. -webkit-line-clamp: 2;
  211. -webkit-box-orient: vertical;
  212. }
  213. /*关于布局*/
  214. .w_b {
  215. display: -webkit-box;
  216. display: -moz-box;
  217. display: -ms-flexbox;
  218. }
  219. .w_b_s {
  220. -webkit-box-sizing: border-box;
  221. -moz-box-sizing: border-box;
  222. -ms-box-sizing: border-box;
  223. }
  224. .w_b_f_1 {
  225. display: block;
  226. -webkit-box-flex: 1;
  227. -moz-box-flex: 1;
  228. -ms-flex: 1;
  229. }
  230. .flex {
  231. display: flex;
  232. flex-flow: row;
  233. display: -webkit-flex;
  234. display: -moz-flex;
  235. }
  236. .flex-1 {
  237. flex: 1;
  238. -webkit-flex: 1;
  239. -moz-flex: 1;
  240. }
  241. .flex-2 {
  242. flex: 2;
  243. -webkit-flex: 2;
  244. -moz-flex: 2;
  245. }
  246. .table_block {
  247. table-layout: fixed;
  248. }
  249. .table_cell {
  250. position: relative;
  251. display: table-cell;
  252. width: 1%;
  253. color: #929292;
  254. text-align: center;
  255. vertical-align: middle;
  256. }
  257. /*浮动,定位*/
  258. .pr {
  259. position: relative!important;
  260. }
  261. .ps {
  262. position: absolute!important;
  263. }
  264. .pf {
  265. position: fixed;
  266. }
  267. .f_l {
  268. float: left!important;
  269. }
  270. .f_r {
  271. float: right!important;
  272. }
  273. .clear_both {
  274. clear: both;
  275. }
  276. .z1 {
  277. z-index: 1!important;
  278. }
  279. .z2 {
  280. z-index: 2!important;
  281. }
  282. /*关于鼠标手势*/
  283. .pointer {
  284. cursor: pointer!important;
  285. }
  286. /*文字缩进*/
  287. .t_i_5 {
  288. text-indent: -5px !important;
  289. }
  290. /*透明度*/
  291. .opacity1 {
  292. filter: alpha(opacity=10);
  293. -moz-opacity: 0.1;
  294. -khtml-opacity: 0.1;
  295. opacity: 0.1;
  296. }
  297. .opacity2 {
  298. filter: alpha(opacity=20);
  299. -moz-opacity: 0.2;
  300. -khtml-opacity: 0.2;
  301. opacity: 0.2;
  302. }
  303. .opacity3 {
  304. filter: alpha(opacity=30);
  305. -moz-opacity: 0.3;
  306. -khtml-opacity: 0.3;
  307. opacity: 0.3;
  308. }
  309. .opacity4 {
  310. filter: alpha(opacity=40);
  311. -moz-opacity: 0.4;
  312. -khtml-opacity: 0.4;
  313. opacity: 0.4;
  314. }
  315. .opacity5 {
  316. filter: alpha(opacity=50);
  317. -moz-opacity: 0.5;
  318. -khtml-opacity: 0.5;
  319. opacity: 0.5;
  320. }
  321. .opacity6 {
  322. filter: alpha(opacity=60);
  323. -moz-opacity: 0.6;
  324. -khtml-opacity: 0.6;
  325. opacity: 0.6;
  326. }
  327. .opacity_8 {
  328. filter: alpha(opacity=80);
  329. -moz-opacity: 0.8;
  330. -khtml-opacity: 0.8;
  331. opacity: 0.8;
  332. }
  333. .rgba_05 {
  334. background: rgba(124, 124, 124, 0.5);
  335. }
  336. /*滚动条处理*/
  337. .w_o_s {
  338. -webkit-overflow-scrolling: touch;
  339. }
  340. /*自动高对齐*/
  341. .clearfix:after {
  342. content: ".";
  343. display: block;
  344. height: 0;
  345. clear: both;
  346. visibility: hidden;
  347. }
  348. *html .clearfix {
  349. height: 1%;
  350. }
  351. * + html .clearfix {
  352. height: 1%;
  353. }
  354. .cf {
  355. zoom: 1;
  356. }
  357. /*暂无数据*/
  358. .no_data {
  359. background: #fff;
  360. padding: 1rem;
  361. text-align: center;
  362. color: #333;
  363. font-size: 0.66rem;
  364. line-height: 1rem;
  365. margin: 0.825rem 0;
  366. }