main.css 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418
  1. /* CSS Rest */
  2. body,
  3. div,
  4. dl,
  5. dt,
  6. dd,
  7. ul,
  8. ol,
  9. li,
  10. h1,
  11. h2,
  12. h3,
  13. h4,
  14. h5,
  15. h6,
  16. pre,
  17. form,
  18. fieldset,
  19. input,
  20. textarea,
  21. span,
  22. p,
  23. blockquote,
  24. th,
  25. td {margin: 0;
  26. padding: 0;}
  27. input,
  28. select {-webkit-appearance: none;
  29. -moz-appearance: none;
  30. appearance: none;}
  31. input,
  32. select,
  33. textarea,
  34. /*button:focus{outline: none;
  35. -webkit-tap-highlight-color: rgba(0,0,0,0);
  36. -webkit-tap-highlight-color: transparent;
  37. -webkit-box-sizing: content-box;
  38. -moz-box-sizing: content-box;
  39. box-sizing: content-box;
  40. outline: none!important;}*/
  41. input::-webkit-input-placeholder, textarea::-webkit-input-placeholder {color: #999;}
  42. input:-moz-placeholder, textarea:-moz-placeholder {color: #999;}
  43. input::-moz-placeholder, textarea::-moz-placeholder {color: #999;}
  44. input:-ms-input-placeholder, textarea:-ms-input-placeholder {color: #999;}
  45. table {border-collapse: collapse;
  46. border-spacing: 0;}
  47. fieldset,
  48. img {border: 0;}
  49. address,
  50. caption,
  51. cite,
  52. code,
  53. dfn,
  54. em,
  55. strong,
  56. th,
  57. var {font-style: normal;
  58. font-weight: normal;}
  59. ol,
  60. ul {list-style: none;}
  61. caption,
  62. th {text-align: left;}
  63. h1,
  64. h2,
  65. h3,
  66. h4,
  67. h5,
  68. h6 {font-size: 100%;
  69. font-weight: normal;}
  70. q:before,
  71. q:after {
  72. content: '';
  73. }
  74. abbr,
  75. acronym {border: 0;}
  76. input:focus, textarea:focus, keygen:focus, select:focus {
  77. outline: none;
  78. }
  79. :focus {
  80. outline: none;
  81. }
  82. /* font-size */
  83. .f9{font-size: 0.225rem;}
  84. .f10 {font-size: 0.25rem;}
  85. .f12 {font-size: 0.3rem;}
  86. .f14 {font-size: 0.35rem;}
  87. .f16 {font-size: 0.4rem;}
  88. .f18 {font-size: 0.45rem;}
  89. .f20 {font-size: 0.5rem;}
  90. .f22 {font-size: 0.55rem;}
  91. .f24 {font-size: 0.6rem;}
  92. .f26 {font-size: 0.65rem;}
  93. .f28 {font-size: 0.7rem;}
  94. .f30 {font-size: 0.75rem;}
  95. .f32 {font-size: 0.8rem;}
  96. .f34 {font-size: 0.85rem;}
  97. .f36 {font-size: 0.9rem;}
  98. .f40 {font-size: 1rem;}
  99. /* font-style */
  100. .fb {font-weight: bold;}
  101. .fn {font-weight: normal;}
  102. .fi {font-style: italic;}
  103. /* line-height */
  104. .lh100 {line-height: 1;}
  105. .lh150 {line-height: 1.5;}
  106. .lh200 {line-height: 2;}
  107. /* text-decoration */
  108. .line-through {text-decoration: line-through;}
  109. .line-unl {text-decoration: underline;}
  110. .line-none {text-decoration: none;}
  111. .tdn,
  112. .tdn:hover,
  113. .tdn a:hover,
  114. a.tdl:hover {text-decoration: none;}
  115. /* text-style */
  116. .text-nowrap {white-space: nowrap;}
  117. .text-pre {white-space: pre;}
  118. .text-brake {word-wrap: break-word;}
  119. /* text-align */
  120. .tl {text-align: left;}
  121. .tc {text-align: center;}
  122. .tr {text-align: right;}
  123. .t2 {text-indent: 2em;}
  124. /* opacity */
  125. .opacity0{opacity: 0;}
  126. .opacity0{opacity: .5;}
  127. /* box-sizing */
  128. .boxb {
  129. -webkit-box-sizing: border-box;
  130. -moz-box-sizing: border-box;
  131. box-sizing: border-box;
  132. }
  133. .boxc {
  134. -webkit-box-sizing: content-box;
  135. -moz-box-sizing: content-box;
  136. box-sizing: content-box;
  137. }
  138. /* 单行文字溢出虚点显 示*/
  139. .ell{text-overflow:ellipsis; white-space:nowrap; overflow:hidden;}
  140. /* vertical */
  141. .vt {vertical-align: top;}
  142. .vm {vertical-align: middle;}
  143. .vb {vertical-align: bottom;}
  144. /* float */
  145. .fl {float: left;}
  146. .fr {float: right;}
  147. /* clear */
  148. .cb {clear: both;}
  149. .cl {clear: left;}
  150. .cr {clear: right;}
  151. /* display */
  152. .none {display: none;}
  153. .db {display: block;}
  154. .di {display: inline;}
  155. .dib {display: inline-block;}
  156. .dt {display: table;}
  157. .dtc {display: table-cell;}
  158. /* overflow */
  159. .ovh {overflow: hidden;}
  160. .ova {overflow: auto;}
  161. /* visibility */
  162. .vh {visibility: hidden;}
  163. .vv {visibility: visible;}
  164. /* cursor */
  165. .poi {cursor: pointer;}
  166. .def {cursor: default;}
  167. /* position */
  168. .pr {position: relative;}
  169. .pa {position: absolute;}
  170. .pf {position: fixed;}
  171. .top {top: 0;}
  172. .bottom {bottom: 0;}
  173. .right {right: 0;}
  174. .left {left: 0;}
  175. /* 清除浮动 */
  176. .clearfix:after {
  177. content: "";
  178. display: block;
  179. clear: both;
  180. }
  181. /* 居中 */
  182. .auto {margin: auto;}
  183. .bc {
  184. margin-left: auto;
  185. margin-right: auto;
  186. }
  187. /* 自适应布局 */
  188. /* flexbox */
  189. .flex {
  190. display: -webkit-box;
  191. display: -moz-box;
  192. display: -ms-flexbox;
  193. display: flex;
  194. }
  195. .flex-1 {
  196. -webkit-box-flex: 1;
  197. -moz-box-flex: 1;
  198. -webkit-flex: 1;
  199. -ms-flex: 1;
  200. flex: 1;
  201. }
  202. .ai-center {
  203. -webkit-align-items:center;
  204. align-items:center;
  205. }
  206. .jc-center {
  207. -webkit-justify-content: center;
  208. justify-content: center;
  209. }
  210. .jc-around {
  211. -webkit-justify-content: space-around;
  212. justify-content: space-around;
  213. }
  214. .jc-between {
  215. -webkit-justify-content: space-between;
  216. justify-content: space-between;
  217. }
  218. .flex-basis {
  219. -webkit-flex-basis:100%;
  220. flex-basis:100%;
  221. }
  222. /* table-cell两栏自适应 */
  223. .cell {
  224. display: table-cell;
  225. *display: inline-block;
  226. width: 100%;
  227. *zoom: 1;
  228. }
  229. /* 宽度边距 */
  230. .w0 {width: 0;}
  231. .w50 {width: 50%;}
  232. .w80 {width: 80%;}
  233. .w {width: 100%;}
  234. .h {height: 100%;}
  235. .m10 {margin: 0.25rem;}
  236. .m15 {margin: 0.375rem;}
  237. .m20 {margin: 0.5rem;}
  238. .m30 {margin: 0.75rem;}
  239. .mt5 {margin-top: 0.125rem;}
  240. .mt10 {margin-top: 0.25rem;}
  241. .mt15 {margin-top: 0.375rem;}
  242. .mt20 {margin-top: 0.5rem;}
  243. .mt30 {margin-top: 0.75rem;}
  244. .mt50 {margin-top: 1.25rem;}
  245. .mt100 {margin-top: 2.5rem;}
  246. .mb5 {margin-bottom: 0.125rem;}
  247. .mb10 {margin-bottom: 0.25rem;}
  248. .mb15 {margin-bottom: 0.375rem;}
  249. .mb20 {margin-bottom: 0.5rem;}
  250. .mb30 {margin-bottom: 0.75rem;}
  251. .mb50 {margin-bottom: 1.25rem;}
  252. .mb100 {margin-bottom: 2.5rem;}
  253. .ml5 {margin-left: 0.125rem;}
  254. .ml10 {margin-left: 0.25rem;}
  255. .ml15 {margin-left: 0.375rem;}
  256. .ml20 {margin-left: 0.5rem;}
  257. .ml30 {margin-left: 0.75rem;}
  258. .ml50 {margin-left: 1.25rem;}
  259. .ml100 {margin-left: 2.5rem;}
  260. .mr5 {margin-right: 0.125rem;}
  261. .mr10 {margin-right: 0.25rem;}
  262. .mr15 {margin-right: 0.375rem;}
  263. .mr20 {margin-right: 0.5rem;}
  264. .mr30 {margin-right: 0.75rem;}
  265. .mr50 {margin-right: 1.25rem;}
  266. .mr100 {margin-right: 2.5rem;}
  267. .p10 {padding: 0.25rem;}
  268. .p15 {padding: 0.375rem;}
  269. .p20 {padding: 0.5rem;}
  270. .p30 {padding: 0.75rem;}
  271. .pt5 {padding-top: 0.125rem;}
  272. .pt10 {padding-top: 0.25rem;}
  273. .pt15 {padding-top: 0.375rem;}
  274. .pt20 {padding-top: 0.5rem;}
  275. .pt30 {padding-top: 0.75rem;}
  276. .pt50 {padding-top: 1.25rem;}
  277. .pt100 {padding-top: 2.5rem;}
  278. .pb5 {padding-bottom: 0.125rem;}
  279. .pb10 {padding-bottom: 0.25rem;}
  280. .pb15 {padding-bottom: 0.375rem;}
  281. .pb20 {padding-bottom: 0.5rem;}
  282. .pb30 {padding-bottom: 0.75rem;}
  283. .pb50 {padding-bottom: 1.25rem;}
  284. .pb100 {padding-bottom: 2.5rem;}
  285. .pl5 {padding-left: 0.125rem;}
  286. .pl10 {padding-left: 0.25rem;}
  287. .pl15 {padding-left: 0.375rem;}
  288. .pl20 {padding-left: 0.5rem;}
  289. .pl30 {padding-left: 0.75rem;}
  290. .pl50 {padding-left: 1.25rem;}
  291. .pl100 {padding-left: 2.5rem;}
  292. .pr5 {padding-right: 0.125rem;}
  293. .pr10 {padding-right: 0.25rem;}
  294. .pr15 {padding-right: 0.375rem;}
  295. .pr20 {padding-right: 0.5rem;}
  296. .pr30 {padding-right: 0.75rem;}
  297. .pr50 {padding-right: 1.25rem;}
  298. .pr100 {padding-right: 2.5rem;}
  299. /* 字体颜色 */
  300. .color-fff {color: #fff;}
  301. .color-999 {color: #999;}
  302. .color-333 {color: #333;}
  303. .color-666 {color: #666;}
  304. .color-cfcfcf {color: #cfcfcf;}
  305. .color-7d7f86 {color: #7d7f86;}
  306. .color-fc5500 {color: #fc5500;}
  307. .color-0a85cc {color: #0a85cc;}
  308. .color-ff6c47 {color: #ff6c47;}
  309. .color-1fb8ff {color: #1fb8ff;}
  310. .color-0a58cc {color: #0a58cc;}
  311. .color-1352e2 {color: #1352e2;}
  312. /* 背景颜色 */
  313. .bg-transparent {background-color: transparent;}
  314. .bg-fff {background-color: #ffffff;}
  315. .bg-f5f5f5 {background-color: #f5f5f5;}
  316. .bg-fbfbfb {background-color: #fbfbfb;}
  317. .bg-ff6c47{background: #ff6c47;}
  318. .bg-F1F1F1{background: #F1F1F1;}
  319. .bg-1fb8ff {background-color: #1fb8ff;}
  320. /* border */
  321. .border-none {border: none;}
  322. .bbd7d7d7 {border-bottom: solid 1px #d7d7d7;}
  323. .btd7d7d7 {border-top: solid 1px #d7d7d7;}
  324. .bld7d7d7 {border-left: solid 1px #d7d7d7;}
  325. .brd7d7d7 {border-right: solid 1px #d7d7d7;}
  326. .bbe5e5e5 {border-bottom: solid 1px #e5e5e5;}
  327. .bte5e5e5 {border-top: solid 1px #e5e5e5;}
  328. .ble5e5e5 {border-left: solid 1px #e5e5e5;}
  329. .bre5e5e5 {border-right: solid 1px #e5e5e5;}
  330. .bbd5d5d5 {border-bottom: solid 1px #d5d5d5;}
  331. .btd5d5d5 {border-top: solid 1px #d5d5d5;}
  332. .bld5d5d5 {border-left: solid 1px #d5d5d5;}
  333. .brd5d5d5 {border-right: solid 1px #d5d5d5;}
  334. /*0.5px细线*/
  335. .halfBBorder{
  336. position: relative;
  337. }
  338. .halfBBorder:after{
  339. content: "";
  340. display: block;
  341. position: absolute;
  342. left: -50%;
  343. width: 200%;
  344. height: 1px;
  345. background: #ccc;
  346. -webkit-transform:scale(0.5);
  347. transform:scale(0.5);
  348. }
  349. html {
  350. height: 100%;
  351. }
  352. body {
  353. height: 100%;
  354. margin: 0 auto;
  355. }
  356. a:link {
  357. text-decoration: none;
  358. color: #000;
  359. }
  360. *, *:before, *:after {
  361. box-sizing: border-box;
  362. }
  363. a, a:link, a:visited, a:hover, a:active {
  364. color: inherit;
  365. text-decoration: inherit;
  366. }
  367. .custom-scrollbar::-webkit-scrollbar {
  368. display: block;
  369. width: 5px;
  370. background: #FAFAFA;
  371. }
  372. .custom-scrollbar::-webkit-scrollbar-thumb:hover {
  373. background: #BDBDBD;
  374. }
  375. .custom-scrollbar::-webkit-scrollbar-thumb {
  376. border-radius: 5px;
  377. background: #E0E0E0;
  378. }
  379. .reset-btn {
  380. border: none;
  381. outline: none;
  382. background: inherit;
  383. appearance: none;
  384. margin: 0;
  385. padding: 0;
  386. color: inherit;
  387. }