components.css 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434
  1. textarea {
  2. resize: none;
  3. }
  4. @keyframes nav {
  5. from {
  6. height: 0;
  7. }
  8. to {
  9. height: calc(100vh - 90px);
  10. }
  11. }
  12. @-webkit-keyframes nav {
  13. /* Safari and Chrome */
  14. from {
  15. height: 0;
  16. }
  17. to {
  18. height: calc(100vh - 90px);
  19. }
  20. }
  21. @-moz-keyframes nav {
  22. /* Safari and Chrome */
  23. from {
  24. height: 0;
  25. }
  26. to {
  27. height: calc(100vh - 90px);
  28. }
  29. }
  30. @keyframes navc {
  31. from {
  32. height: calc(100vh - 90px);
  33. }
  34. to {
  35. height: 0;
  36. }
  37. }
  38. @-webkit-keyframes navc {
  39. /* Safari and Chrome */
  40. from {
  41. height: calc(100vh - 90px);
  42. }
  43. to {
  44. height: 0;
  45. }
  46. }
  47. @-moz-keyframes navc {
  48. /* Safari and Chrome */
  49. from {
  50. height: calc(100vh - 90px);
  51. }
  52. to {
  53. height: 0;
  54. }
  55. }
  56. .show {
  57. display: block !important;
  58. }
  59. .noshow {
  60. display: none !important;
  61. }
  62. body {
  63. height: 100vh;
  64. overflow-y: scroll;
  65. }
  66. body a {
  67. text-decoration: none;
  68. color: #777;
  69. }
  70. body a:hover {
  71. color: #2382ff;
  72. text-decoration: none;
  73. }
  74. body::-webkit-scrollbar {
  75. /*滚动条整体样式*/
  76. width: 5px;
  77. /*高宽分别对应横竖滚动条的尺寸*/
  78. height: 10px;
  79. }
  80. @media screen and (max-width: 750px) {
  81. body::-webkit-scrollbar {
  82. /*滚动条整体样式*/
  83. width: 10px;
  84. /*高宽分别对应横竖滚动条的尺寸*/
  85. height: 10px;
  86. }
  87. }
  88. body::-webkit-scrollbar-thumb {
  89. /*滚动条里面小方块*/
  90. border-radius: 10px;
  91. -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
  92. background: #999;
  93. }
  94. body::-webkit-scrollbar-thumb:hover {
  95. background: #2382ff;
  96. }
  97. body::-webkit-scrollbar-track {
  98. /*滚动条里面轨道*/
  99. -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
  100. border-radius: 10px;
  101. background: #eee;
  102. }
  103. .header {
  104. width: 100%;
  105. border-bottom: 1px solid #f1f1f1;
  106. background-color: #fff;
  107. position: fixed;
  108. z-index: 1;
  109. }
  110. .header .ha-item {
  111. margin-top: 10px;
  112. height: 70px;
  113. }
  114. .header .ha-item .img {
  115. height: 100%;
  116. }
  117. .header .ha-item .img span {
  118. font-size: 30px;
  119. font-weight: bold;
  120. color: #2382ff;
  121. display: block;
  122. line-height: 70px;
  123. }
  124. .header .ha-item .img img {
  125. height: 100%;
  126. }
  127. .header .ha-item .button {
  128. display: none;
  129. }
  130. @media screen and (max-width: 750px) {
  131. .header .ha-item .button {
  132. display: block;
  133. }
  134. }
  135. .header .ha-item .button .button {
  136. color: #2382ff;
  137. padding: 10px;
  138. border: 2px solid #2382ff;
  139. margin-top: 13px;
  140. text-align: center;
  141. font-size: 20px;
  142. border-radius: 5px;
  143. }
  144. .header .ha-item .app {
  145. height: 100%;
  146. text-align: center;
  147. }
  148. @media screen and (max-width: 750px) {
  149. .header .ha-item .app {
  150. display: none;
  151. }
  152. }
  153. .header .ha-item .app a {
  154. text-decoration: none;
  155. color: #2382ff;
  156. }
  157. .header .ha-item .app a img {
  158. width: 50px;
  159. }
  160. .header .hb-item .nav {
  161. display: flex;
  162. justify-content: flex-start;
  163. align-content: center;
  164. }
  165. @media screen and (max-width: 750px) {
  166. .header .hb-item .nav {
  167. display: none;
  168. }
  169. }
  170. .header .hb-item .nav > .nav-item > a.active {
  171. color: #2382ff;
  172. }
  173. .header .hb-item .nav .nav-item {
  174. padding: 0 20px;
  175. }
  176. .header .hb-item .nav .nav-item a {
  177. color: #777;
  178. font-weight: bold;
  179. text-decoration: none;
  180. line-height: 40px;
  181. display: table-cell;
  182. vertical-align: bottom;
  183. font-size: 18px;
  184. }
  185. .header .hb-item .nav .nav-item a i {
  186. margin-left: 5px;
  187. }
  188. .header .hb-item .nav .nav-item a:hover {
  189. color: #2382ff;
  190. }
  191. .header .hb-item .nav .nav-item .nav-ul {
  192. display: none;
  193. overflow: hidden;
  194. padding: 0;
  195. position: absolute;
  196. z-index: 1;
  197. background-color: #fff;
  198. overflow: auto !important;
  199. }
  200. .header .hb-item .nav .nav-item .nav-ul .nav-li {
  201. width: 100px;
  202. padding: 10px;
  203. list-style: none;
  204. }
  205. .header .hb-item .nav .nav-item .nav-ul .nav-li:hover {
  206. background-color: #2382ff;
  207. }
  208. .header .hb-item .nav .nav-item .nav-ul .nav-li:hover a {
  209. color: #fff;
  210. }
  211. .header .hb-item .nav .nav-item .nav-ul .nav-li a {
  212. color: #777;
  213. line-height: 15px;
  214. font-size: small;
  215. }
  216. #nav-sm {
  217. position: fixed;
  218. z-index: 99;
  219. width: 100vw;
  220. overflow-y: scroll;
  221. box-sizing: border-box;
  222. background-color: #fff;
  223. margin-top: 80px;
  224. padding: 0;
  225. }
  226. @media screen and (max-width: 768px) {
  227. #nav-sm {
  228. border-top: 1px solid #eee;
  229. }
  230. }
  231. #nav-sm::-webkit-scrollbar {
  232. height: 0;
  233. }
  234. #nav-sm > ul > li > a.active {
  235. color: #2382ff;
  236. }
  237. #nav-sm ul li {
  238. list-style-type: none;
  239. }
  240. #nav-sm ul li a {
  241. font-weight: bold;
  242. font-size: 20px;
  243. font-size: 16px;
  244. line-height: 40px;
  245. color: #555;
  246. text-decoration: none;
  247. }
  248. #nav-sm ul li a:hover {
  249. color: #2382ff;
  250. }
  251. #nav-sm ul li .nav-sm-ul {
  252. display: flex;
  253. justify-content: flex-start;
  254. align-items: center;
  255. flex-wrap: wrap;
  256. padding: 0;
  257. }
  258. #nav-sm ul li .nav-sm-ul .nav-sm-li {
  259. padding: 0 10px;
  260. }
  261. #nav-sm ul li .nav-sm-ul .nav-sm-li a {
  262. font-size: 14px;
  263. font-weight: normal;
  264. }
  265. .nav-sm-noheight {
  266. height: 0px;
  267. }
  268. .nav-sm-show {
  269. height: calc(100vh - 80px);
  270. animation: nav 1s;
  271. -webkit-animation: nav 1s normal;
  272. -moz-animation: nav 1s;
  273. }
  274. .nav-sm-noshow {
  275. height: 0px;
  276. animation: navc 1s;
  277. -webkit-animation: navc 1s normal;
  278. -moz-animation: navc 1s;
  279. }
  280. .body {
  281. background-color: #fff;
  282. max-width: 1200px;
  283. min-height: 700px;
  284. overflow: hidden;
  285. position: relative;
  286. padding: 10px 15px 15px;
  287. margin: 141px 20px 20px;
  288. }
  289. @media screen and (max-width: 768px) {
  290. .body {
  291. padding: 0px;
  292. border-radius: 10px 10px 0 0;
  293. margin: 100px 20px 20px;
  294. }
  295. }
  296. .footer {
  297. width: 100%;
  298. box-sizing: border-box;
  299. overflow: hidden;
  300. background-color: #fff;
  301. border-top: 1px solid #f1f1f1;
  302. text-align: center;
  303. color: #777;
  304. }
  305. .footer p {
  306. margin: 0;
  307. padding: 20px 0px 0px;
  308. }
  309. .footer > p:last-child {
  310. padding-bottom: 50px;
  311. }
  312. #top {
  313. position: fixed;
  314. bottom: 80px;
  315. right: 20px;
  316. padding: 20px;
  317. color: #fff;
  318. background-color: rgba(98, 96, 96, 0.3);
  319. border-radius: 10px;
  320. }
  321. #share {
  322. position: fixed;
  323. top: 60vh;
  324. right: 0px;
  325. box-sizing: border-box;
  326. display: flex;
  327. }
  328. @media screen and (max-width: 768px) {
  329. #share {
  330. display: none;
  331. }
  332. }
  333. #share div {
  334. height: 132px;
  335. box-sizing: border-box;
  336. background-color: #2382ff;
  337. color: #fff;
  338. font-size: 15px;
  339. width: 30px;
  340. letter-spacing: 10px;
  341. text-align: center;
  342. line-height: 30px;
  343. border-radius: 5px 0 0 5px;
  344. writing-mode: vertical-lr;
  345. /*从左向右 从右向左是 writing-mode: vertical-rl;*/
  346. writing-mode: tb-lr;
  347. /*IE浏览器的从左向右 从右向左是 writing-mode: tb-rl;*/
  348. }
  349. #share ul {
  350. width: 0px;
  351. height: 132px;
  352. border: 1px solid #aaa;
  353. border-right: none;
  354. list-style: none;
  355. padding: 0;
  356. box-sizing: border-box;
  357. }
  358. #share ul > li:first-child {
  359. background-color: #c6c6c6;
  360. line-height: 26px;
  361. font-weight: bold;
  362. }
  363. #share ul li {
  364. padding: 5px 10px;
  365. width: 100px;
  366. vertical-align: middle;
  367. }
  368. #share ul li img {
  369. width: 20px;
  370. vertical-align: middle;
  371. margin-right: 5px;
  372. }
  373. #share ul li:hover:not(ul>li:first-child) {
  374. background-color: #e6e6e6;
  375. }
  376. #toast {
  377. display: none;
  378. position: fixed;
  379. top: 0;
  380. left: 0;
  381. z-index: 100;
  382. width: 100vw;
  383. height: 100vh;
  384. background-color: rgba(29, 27, 27, 0.5);
  385. text-align: center;
  386. }
  387. #toast > div {
  388. background-color: #fff;
  389. position: absolute;
  390. padding: 5px;
  391. border-radius: 5px;
  392. width: 100px;
  393. height: 100px;
  394. line-height: 92px;
  395. left: calc(50vw - 50px);
  396. top: 30vh;
  397. }
  398. #download {
  399. position: fixed;
  400. bottom: 0px;
  401. width: 100vw;
  402. display: none;
  403. justify-content: space-between;
  404. align-items: center;
  405. background-color: rgba(1, 1, 1, 0.5);
  406. padding: 5px 10px;
  407. color: #fff;
  408. }
  409. #download .left {
  410. width: 200px;
  411. }
  412. #download .left::before {
  413. display: block;
  414. content: '';
  415. clear: both;
  416. }
  417. #download .left img,
  418. #download .left div {
  419. float: left;
  420. }
  421. #download .left img {
  422. width: 50px;
  423. }
  424. #download .left div {
  425. margin-left: 10px;
  426. }
  427. #download .left .row1 {
  428. margin-bottom: 10px;
  429. }
  430. @media screen and (max-width: 768px) {
  431. #download {
  432. display: flex;
  433. }
  434. }