public.css 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527
  1. /* 以下为测试 */
  2. .showboder {
  3. border: blue solid 1px;
  4. }
  5. .showboder2 {
  6. border: #ff55ff solid 5px;
  7. }
  8. .showboder3 {
  9. border: #EA252C solid 1px;
  10. }
  11. .showboder4 {
  12. border: #55ffff solid 1px;
  13. }
  14. /* 以上为测试 */
  15. /* 以下为正文 */
  16. .bgclF8 {
  17. background-color: #F8F8FB;
  18. }
  19. .mybody {
  20. height: 100vh;
  21. }
  22. view {
  23. font-family: MicrosoftYaHei;
  24. color: #161616;
  25. }
  26. .content {
  27. flex: 1;
  28. }
  29. /* login */
  30. .login-righttitle {
  31. font-size: 1.145vw;
  32. font-family: MicrosoftYaHei;
  33. color: #020202;
  34. line-height: 1.5vw;
  35. letter-spacing: 1px;
  36. display: flex;
  37. justify-content: center;
  38. }
  39. .btn-hover {
  40. background: #EA252C;
  41. color: #FFFFFF;
  42. }
  43. .btn-normal {
  44. background-color: #F4F4F4;
  45. color: #626262;
  46. }
  47. a:link {
  48. color: #FF0000;
  49. text-decoration: none;
  50. }
  51. a:visited {
  52. color: #EA252C;
  53. text-decoration: none;
  54. }
  55. /* ------ */
  56. .df {
  57. display: flex;
  58. display: -webkit-flex;
  59. /* Safari */
  60. }
  61. /*
  62. nowrap(默认):不换行
  63. wrap:换行在第一行的上方
  64. wrap-reverse:换行,第一行在下方
  65. */
  66. .ffrn {
  67. flex-flow: row nowrap;
  68. }
  69. .ffrw {
  70. flex-flow: row wrap;
  71. }
  72. .ffrwr {
  73. flex-flow: row wrap-reverse;
  74. }
  75. .ffrrn {
  76. flex-flow: row-reverse nowrap;
  77. }
  78. .ffrrw {
  79. flex-flow: row-reverse wrap;
  80. }
  81. .ffrrwr {
  82. flex-flow: row-reverse wrap-reverse;
  83. }
  84. .ffcn {
  85. flex-flow: column nowrap;
  86. }
  87. .ffcw {
  88. flex-flow: column wrap;
  89. }
  90. .ffcwr {
  91. flex-flow: column wrap-reverse;
  92. }
  93. .ffcrn {
  94. flex-flow: column-reverse nowrap;
  95. }
  96. .ffcrw {
  97. flex-flow: column-reverse wrap;
  98. }
  99. .ffcrwr {
  100. flex-flow: column-reverse wrap-reverse;
  101. }
  102. /* flex-direction 属性规定灵活项目的方向。 */
  103. .fdc {
  104. flex-direction: column;
  105. }
  106. .fdcr {
  107. flex-direction: column-reverse;
  108. }
  109. .fdinherit {
  110. flex-direction: inherit;
  111. }
  112. .fdinitial {
  113. flex-direction: initial;
  114. }
  115. .fdr {
  116. flex-direction: row;
  117. }
  118. .fdrr {
  119. flex-direction: row-reverse;
  120. }
  121. .fdu {
  122. flex-direction: unset;
  123. }
  124. /*
  125. flex-start(默认值):左对齐
  126. flex-end:右对齐
  127. center: 居中
  128. space-between:两端对齐,项目之间的间隔都相等。
  129. space-around:每个项目两侧的间隔相等。所以,项目之间的间隔比项目与边框的间隔大一倍。
  130. */
  131. .jcfs {
  132. justify-content: flex-start;
  133. }
  134. .jcfe {
  135. justify-content: flex-end;
  136. }
  137. .jcc {
  138. justify-content: center;
  139. }
  140. .jcsb {
  141. justify-content: space-between;
  142. }
  143. .jcsa {
  144. justify-content: space-around;
  145. }
  146. /*
  147. flex-start:交叉轴的起点对齐。
  148. flex-end:交叉轴的终点对齐。
  149. center:交叉轴的中点对齐。
  150. baseline: 项目的第一行文字的基线对齐。
  151. stretch(默认值):如果项目未设置高度或设为auto,将占满整个容器的高度。
  152. */
  153. .aifs {
  154. align-items: flex-start;
  155. }
  156. .aife {
  157. align-items: flex-end;
  158. }
  159. .aic {
  160. align-items: center;
  161. }
  162. .aib {
  163. align-items: baseline;
  164. }
  165. .ais {
  166. align-items: stretch;
  167. }
  168. /*
  169. align-content属性定义了多根轴线的对齐方式。如果项目只有一根轴线,该属性不起作用。
  170. flex-start:与交叉轴的起点对齐。
  171. flex-end:与交叉轴的终点对齐。
  172. center:与交叉轴的中点对齐。
  173. space-between:与交叉轴两端对齐,轴线之间的间隔平均分布。
  174. space-around:每根轴线两侧的间隔都相等。所以,轴线之间的间隔比轴线与边框的间隔大一倍。
  175. stretch(默认值):轴线占满整个交叉轴。
  176. */
  177. .acfs {
  178. align-content: flex-start;
  179. }
  180. .acfe {
  181. align-content: flex-end;
  182. }
  183. .acc {
  184. align-content: center;
  185. }
  186. .acsb {
  187. align-content: space-between;
  188. }
  189. .acsa {
  190. align-content: space-around;
  191. }
  192. .acs {
  193. align-content: stretch;
  194. }
  195. /*
  196. order属性定义项目的排列顺序。数值越小,排列越靠前,默认为0。
  197. */
  198. .o0 {
  199. order: 0;
  200. }
  201. .o1 {
  202. order: 1;
  203. }
  204. .o2 {
  205. order: 2;
  206. }
  207. .o3 {
  208. order: 3;
  209. }
  210. .o4 {
  211. order: 4;
  212. }
  213. .o5 {
  214. order: 5;
  215. }
  216. .o6 {
  217. order: 6;
  218. }
  219. .o7 {
  220. order: 7;
  221. }
  222. .o8 {
  223. order: 8;
  224. }
  225. .o9 {
  226. order: 9;
  227. }
  228. /*
  229. flex-grow属性定义项目的放大比例,默认为0,即如果存在剩余空间,也不放大。
  230. 如果所有项目的flex-grow属性都为1,则它们将等分剩余空间(如果有的话)。如果一个项目的flex-grow属性为2,其他项目都为1,则前者占据的剩余空间将比其他项多一倍。
  231. 注意:该属性是瓜分剩下的空间,而并非父元素的百分比长度
  232. */
  233. .fg0 {
  234. flex-grow: 0;
  235. }
  236. .fg1 {
  237. flex-grow: 1;
  238. }
  239. .fg2 {
  240. flex-grow: 2;
  241. }
  242. .fg3 {
  243. flex-grow: 3;
  244. }
  245. .fg4 {
  246. flex-grow: 4;
  247. }
  248. .fg5 {
  249. flex-grow: 5;
  250. }
  251. .fg6 {
  252. flex-grow: 6;
  253. }
  254. .fg7 {
  255. flex-grow: 7;
  256. }
  257. .fg8 {
  258. flex-grow: 8;
  259. }
  260. .fg9 {
  261. flex-grow: 9;
  262. }
  263. /*
  264. flex-shrink属性定义了项目的缩小比例,默认为1,即如果空间不足,该项目将缩小。
  265. 如果所有项目的flex-shrink属性都为1,当空间不足时,都将等比例缩小。如果一个项目的flex-shrink属性为0,其他项目都为1,则空间不足时,前者不缩小。
  266. 也就是说当空间不足的时候缩小比例,为0代表不缩小,为2就代表比一般的缩小快一倍
  267. */
  268. .fs0 {
  269. flex-shrink: 0;
  270. }
  271. .fs1 {
  272. flex-shrink: 1;
  273. }
  274. .fs2 {
  275. flex-shrink: 2;
  276. }
  277. .fs3 {
  278. flex-shrink: 3;
  279. }
  280. .fs4 {
  281. flex-shrink: 4;
  282. }
  283. .fs5 {
  284. flex-shrink: 5;
  285. }
  286. .fs6 {
  287. flex-shrink: 6;
  288. }
  289. .fs7 {
  290. flex-shrink: 7;
  291. }
  292. .fs8 {
  293. flex-shrink: 8;
  294. }
  295. .fs9 {
  296. flex-shrink: 9;
  297. }
  298. /*
  299. align-self属性允许单个项目有与其他项目不一样的对齐方式,可覆盖align-items属性。默认值为auto,表示继承父元素的align-items属性,如果没有父元素,则等同于stretch。
  300. 该属性可能取6个值,除了auto,其他都与align-items属性完全一致。
  301. */
  302. .asa {
  303. align-self: auto;
  304. }
  305. .asfs {
  306. align-self: flex-start;
  307. }
  308. .asfe {
  309. align-self: flex-end;
  310. }
  311. .asc {
  312. align-self: center;
  313. }
  314. .asb {
  315. align-self: baseline;
  316. }
  317. .asb {
  318. align-self: stretch;
  319. }
  320. .w01 {
  321. width: 4.166666667%;
  322. }
  323. .w02 {
  324. width: 8.333333333%;
  325. }
  326. .w03 {
  327. width: 12.50000000%;
  328. }
  329. .w04 {
  330. width: 16.66666667%;
  331. }
  332. .w05 {
  333. width: 20.83333333%;
  334. }
  335. .w06 {
  336. width: 25.00000000%;
  337. }
  338. .w07 {
  339. width: 29.16666667%;
  340. }
  341. .w08 {
  342. width: 33.33333333%;
  343. }
  344. .w09 {
  345. width: 37.50000000%;
  346. }
  347. .w10 {
  348. width: 41.66666667%;
  349. }
  350. .w11 {
  351. width: 45.83333333%;
  352. }
  353. .w12 {
  354. width: 50.00000000%;
  355. }
  356. .w13 {
  357. width: 54.16666667%;
  358. }
  359. .w14 {
  360. width: 58.33333333%;
  361. }
  362. .w15 {
  363. width: 62.50000000%;
  364. }
  365. .w16 {
  366. width: 66.66666667%;
  367. }
  368. .w17 {
  369. width: 70.83333333%;
  370. }
  371. .w18 {
  372. width: 75.00000000%;
  373. }
  374. .w19 {
  375. width: 79.16666667%;
  376. }
  377. .w20 {
  378. width: 83.33333333%;
  379. }
  380. .w21 {
  381. width: 87.50000000%;
  382. }
  383. .w22 {
  384. width: 91.66666667%;
  385. }
  386. .w23 {
  387. width: 95.83333333%;
  388. }
  389. .w24 {
  390. width: 100.0000000%;
  391. }
  392. .pr {
  393. position: relative;
  394. }
  395. .pa {
  396. position: absolute;
  397. }
  398. .pf {
  399. position: fixed;
  400. }
  401. .fr {
  402. float: right;
  403. }
  404. .fl {
  405. float: left;
  406. }