investHomeGroup.css 19 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069
  1. html,
  2. body {
  3. width: 7680px;
  4. min-height: 2130px;
  5. height: 100%;
  6. font-size: 20px;
  7. color: #fff;
  8. font-family: 'Microsoft YaHei', 'Helvetica Neue', Helvetica, 'PingFang SC',
  9. 'Hiragino Sans GB', Arial, sans-serif;
  10. overflow-y: hidden;
  11. }
  12. *,
  13. *:before,
  14. *:after {
  15. padding: 0;
  16. margin: 0;
  17. box-sizing: border-box;
  18. }
  19. a {
  20. text-decoration: none;
  21. cursor: pointer;
  22. }
  23. [v-cloak] {
  24. display: none;
  25. }
  26. .pointer {
  27. cursor: pointer;
  28. }
  29. #app {
  30. background: url('../groupImg/page-bg.png') center center no-repeat;
  31. background-size: 100% 100%;
  32. padding-top: 10px;
  33. width: 100%;
  34. height: 100%;
  35. overflow: hidden;
  36. color: #fff;
  37. display: grid;
  38. grid-template-columns: repeat(3, 1fr);
  39. padding: 10px;
  40. }
  41. #app > div {
  42. width: 100%;
  43. height: 100%;
  44. }
  45. div {
  46. overflow: hidden;
  47. -webkit-user-select: none;
  48. -moz-user-select: none;
  49. -ms-user-select: none;
  50. user-select: none;
  51. }
  52. .my-header {
  53. position: relative;
  54. height: 70px;
  55. line-height: 70px;
  56. background: url('../groupImg/header-bg.png') center center no-repeat;
  57. background-size: 100% 100%;
  58. text-align: center;
  59. font-weight: bold;
  60. font-size: 32px;
  61. font-weight: 600;
  62. }
  63. .my-header span {
  64. background: linear-gradient(-3deg, #99eeff 0%, #99eeff 30%, #ffffff 91%);
  65. -webkit-background-clip: text;
  66. -webkit-text-fill-color: transparent;
  67. }
  68. .my-header span.right {
  69. position: absolute;
  70. right: 60px;
  71. top: 0px;
  72. font-size: 16px;
  73. }
  74. .LeftBox,
  75. .CenterBox,
  76. .RightBox {
  77. padding: 0 20px;
  78. }
  79. .CenterBox > .main {
  80. width: 100%;
  81. height: calc(100% - 70px);
  82. display: grid;
  83. grid-template-columns: 3fr 4fr 3fr;
  84. gap: 10px;
  85. }
  86. .LeftBox > .main {
  87. width: 100%;
  88. height: calc(100% - 70px);
  89. display: grid;
  90. grid-template-columns: repeat(2, 1fr);
  91. grid-template-rows: repeat(3, 1fr);
  92. gap: 10px;
  93. }
  94. .RightBox > .main {
  95. width: 100%;
  96. height: calc(100% - 70px);
  97. display: grid;
  98. grid-template-rows: 5fr 8fr 11fr;
  99. gap: 10px;
  100. }
  101. .LeftBox .card {
  102. width: 100%;
  103. height: 100%;
  104. overflow: hidden;
  105. background: url('../groupImg/frame1.png') center center no-repeat;
  106. background-size: 100% 100%;
  107. }
  108. .title {
  109. position: relative;
  110. text-align: center;
  111. height: 100px;
  112. line-height: 100px;
  113. }
  114. .title .text {
  115. font-size: 30px;
  116. font-weight: 600;
  117. color: #05fbfe;
  118. text-shadow: 0px 2px 10px rgba(10, 30, 52, 0.48);
  119. background: linear-gradient(0deg, #ffffff 0%, #63dcff 0%, #e0f3ff 100%);
  120. -webkit-background-clip: text;
  121. -webkit-text-fill-color: transparent;
  122. position: relative;
  123. }
  124. .title .text::before {
  125. position: absolute;
  126. content: ' ';
  127. top: 15px;
  128. left: -40px;
  129. width: 30px;
  130. height: 10px;
  131. background: url('../groupImg/title-left2.png') no-repeat;
  132. }
  133. .title .text::after {
  134. position: absolute;
  135. content: ' ';
  136. top: 15px;
  137. right: -40px;
  138. width: 30px;
  139. height: 10px;
  140. background: url('../groupImg/title-right2.png') no-repeat;
  141. }
  142. .content {
  143. height: calc(100% - 110px);
  144. padding: 0 15px 10px;
  145. }
  146. .left-lt .content {
  147. display: grid;
  148. grid-template-columns: repeat(2, 1fr);
  149. gap: 10px;
  150. }
  151. .left-lt .content > div:first-child {
  152. display: grid;
  153. gap: 10px;
  154. grid-template-rows: repeat(2, 1fr);
  155. }
  156. .LeftBox .content-left-top {
  157. width: 100%;
  158. display: flex;
  159. align-items: center;
  160. height: 100%;
  161. }
  162. .LeftBox .item2 {
  163. width: 50%;
  164. display: flex;
  165. flex-direction: column;
  166. align-items: center;
  167. }
  168. .LeftBox .item2 .item2-title {
  169. font-weight: bold;
  170. font-size: 30px;
  171. }
  172. .LeftBox .item2 .item2-title span {
  173. font-weight: 500;
  174. font-size: 12px;
  175. }
  176. .LeftBox .item2 .item2-img {
  177. width: 150px;
  178. height: 150px;
  179. /* margin-top: -20px; */
  180. }
  181. .LeftBox .item2 .item2-text {
  182. color: #fff;
  183. font-size: 20px;
  184. }
  185. .LeftBox .content-left-top {
  186. width: 100%;
  187. display: flex;
  188. align-items: center;
  189. height: 100%;
  190. }
  191. .LeftBox .content-left-bottom {
  192. width: 100%;
  193. height: 100%;
  194. display: flex;
  195. align-items: center;
  196. justify-content: center;
  197. }
  198. .LeftBox .total {
  199. text-align: center;
  200. width: 200px;
  201. height: 30px;
  202. position: absolute;
  203. left: calc(50% - 100px);
  204. bottom: 7%;
  205. font-weight: bold;
  206. color: #2cb7e0;
  207. font-size: 20px;
  208. }
  209. .LeftBox .commonBack,
  210. .RightBox .commonBack {
  211. background-color: #062c4d;
  212. border-radius: 15px;
  213. }
  214. .LeftBox .left-rt .content {
  215. display: grid;
  216. grid-template-rows: repeat(2, 1fr);
  217. gap: 10px;
  218. }
  219. .LeftBox .left-rt .content > div:first-child {
  220. display: grid;
  221. gap: 10px;
  222. grid-template-columns: 3fr 4fr 4fr;
  223. }
  224. .LeftBox .left-rt .item3 {
  225. display: flex;
  226. flex-direction: column;
  227. align-items: center;
  228. justify-content: center;
  229. }
  230. .LeftBox .left-rt .item3 .item3-title {
  231. font-weight: bold;
  232. font-size: 30px;
  233. color: #69c0ff;
  234. }
  235. .LeftBox .left-rt .item3 .item3-title span {
  236. font-size: 14px;
  237. font-weight: 500;
  238. }
  239. .left-rt .item3 .item3-img {
  240. margin-top: -20px;
  241. width: 100px;
  242. height: 102px;
  243. margin-bottom: 18px;
  244. }
  245. .LeftBox .left-rt .item3 .item3-text {
  246. font-size: 14px;
  247. color: #fff;
  248. }
  249. .LeftBox .left-rt .item4-text {
  250. font-size: 20px;
  251. }
  252. .LeftBox .left-rt .item4 .item4-title {
  253. position: relative;
  254. padding-left: 10px;
  255. color: #69c0ff;
  256. margin-left: 10px;
  257. margin-top: 5px;
  258. font-size: 30px;
  259. }
  260. .LeftBox .left-rt .item4 .item4-title::before {
  261. content: '';
  262. position: absolute;
  263. left: 0;
  264. top: 50%;
  265. transform: translate(0, -50%);
  266. width: 5px;
  267. height: 5px;
  268. border-radius: 50%;
  269. background-color: #69c0ff;
  270. }
  271. .LeftBox .left-rt .item4 .item4-con {
  272. display: flex;
  273. align-items: center;
  274. justify-content: space-around;
  275. height: 100%;
  276. margin-top: 20px;
  277. }
  278. .LeftBox .left-rt .item4 .item4-con .item {
  279. display: flex;
  280. flex-direction: column;
  281. align-items: center;
  282. justify-content: center;
  283. margin: 0 30px;
  284. }
  285. .LeftBox .left-rt .item4 .item4-con .item .title {
  286. color: #69c0ff;
  287. font-weight: bold;
  288. font-size: 28px;
  289. height: 30px !important;
  290. line-height: 30px !important;
  291. margin-top: 10px;
  292. }
  293. .LeftBox .left-rt .item4 .item4-con .item .title span {
  294. font-weight: 500;
  295. font-size: 24px;
  296. }
  297. .LeftBox .left-rt .item4 .item4-con .item .text {
  298. font-size: 24px;
  299. color: #fff;
  300. }
  301. .LeftBox .left-rtb {
  302. display: grid;
  303. gap: 10px;
  304. grid-template-columns: repeat(2, 1fr);
  305. }
  306. .LeftBox .left-rc {
  307. display: grid;
  308. gap: 10px;
  309. grid-template-columns: repeat(2, 1fr);
  310. grid-template-rows: repeat(2, 1fr);
  311. }
  312. .LeftBox .left-lb,
  313. .left-rb {
  314. display: grid;
  315. gap: 10px;
  316. grid-template-columns: repeat(2, 1fr);
  317. }
  318. .CenterBox .center-l .card,
  319. .CenterBox .center-r .card {
  320. width: 100%;
  321. height: 100%;
  322. overflow: hidden;
  323. background: url('../groupImg/frame2.png') center center no-repeat;
  324. background-size: 100% 100%;
  325. }
  326. .CenterBox .center-l,
  327. .CenterBox .center-r {
  328. display: grid;
  329. gap: 10px;
  330. grid-template-rows: repeat(3, 1fr);
  331. }
  332. .CenterBox .boxs {
  333. display: grid;
  334. grid-template-columns: repeat(2, 1fr);
  335. grid-template-rows: repeat(2, 1fr);
  336. padding: 10px;
  337. color: #40a9ff;
  338. height: 100%;
  339. }
  340. .CenterBox .boxs > div {
  341. flex: 0 0 50%;
  342. background: url('../groupImg/left1-bg.png') no-repeat center;
  343. background-size: 100% 100%;
  344. padding: 20px 30px;
  345. display: flex;
  346. justify-content: center;
  347. align-items: center;
  348. flex-direction: column;
  349. }
  350. .CenterBox .boxs > div > p {
  351. width: 80%;
  352. }
  353. .CenterBox .boxs > div > p:nth-child(1) {
  354. display: flex;
  355. justify-content: space-between;
  356. }
  357. .CenterBox .boxs > div > p:nth-child(2) {
  358. margin-top: 25px;
  359. text-align: left;
  360. }
  361. .CenterBox .boxs .name {
  362. color: #f3f3f3;
  363. font-size: 30px;
  364. }
  365. .CenterBox .boxs .change {
  366. color: #32edaa;
  367. }
  368. .CenterBox .boxs .change.up {
  369. color: #ed3248;
  370. }
  371. .CenterBox .boxs .num {
  372. font-size: 30px;
  373. font-weight: 600;
  374. margin-right: 5px;
  375. }
  376. .CenterBox .boxs .el-icon-more {
  377. font-size: 35px;
  378. }
  379. .CenterBox .top {
  380. display: flex;
  381. justify-content: space-between;
  382. }
  383. .CenterBox .top .box {
  384. flex: 1;
  385. margin: 0 10px;
  386. display: flex;
  387. flex-direction: column;
  388. align-items: center;
  389. color: #40a9ff;
  390. }
  391. /* .CenterBox .t {
  392. padding: 15px 0;
  393. display: flex;
  394. align-items: center;
  395. background-color: rgba(59,211,255,0.05);
  396. } */
  397. .CenterBox .t {
  398. padding: 25px 0;
  399. display: flex;
  400. font-size: 30px;
  401. font-weight: 600;
  402. align-items: center;
  403. justify-content: center;
  404. background-color: rgba(18, 61, 98, 0.6);
  405. }
  406. .CenterBox .b {
  407. padding: 15px 0;
  408. display: flex;
  409. align-items: center;
  410. justify-content: space-around;
  411. background-color: rgba(7, 42, 76, 0.6);
  412. padding: 15px 0;
  413. }
  414. .CenterBox .b span {
  415. color: #40a9ff;
  416. font-size: 34px;
  417. font-weight: 900;
  418. }
  419. .CenterBox .t img {
  420. margin-right: 10px;
  421. }
  422. .CenterBox .box > div {
  423. width: 100%;
  424. }
  425. .CenterBox .box > img {
  426. width: 40px;
  427. }
  428. .CenterBox .box > div p {
  429. font-size: 26px;
  430. color: #e1e3ef;
  431. }
  432. .CenterBox .box > div span {
  433. display: inline-block;
  434. font-size: 34px;
  435. margin-right: 5px;
  436. font-weight: bolder;
  437. margin-top: 5px;
  438. }
  439. .CenterBox .map-box {
  440. height: 100%;
  441. position: relative;
  442. padding: 30px 0;
  443. }
  444. .CenterBox .status {
  445. position: absolute;
  446. /* bottom: 20px; */
  447. bottom: 200px;
  448. right: 15px;
  449. background-color: rgba(3, 10, 12, 0.46);
  450. border: 1px solid #4A57CF;
  451. }
  452. .CenterBox .status p {
  453. background-color: #02397f;
  454. line-height: 45px;
  455. text-align: center;
  456. font-size: 25px;
  457. color: #40a9ff;
  458. }
  459. .CenterBox .status li {
  460. line-height: 30px;
  461. padding-right: 15px;
  462. list-style: none;
  463. position: relative;
  464. font-size: 20px;
  465. }
  466. .CenterBox .status li::before {
  467. content: '';
  468. position: absolute;
  469. left: -15px;
  470. top: 50%;
  471. transform: translate(0, -50%);
  472. width: 5px;
  473. height: 5px;
  474. background-color: #00ffff;
  475. border-radius: 50%;
  476. }
  477. .CenterBox .status i {
  478. font-size: 20px;
  479. font-weight: 600;
  480. color: #40a9ff;
  481. }
  482. .CenterBox .tooltip-cont {
  483. margin: -15px;
  484. border: 1px solid #3699ff;
  485. border-radius: 8px;
  486. padding: 15px;
  487. background-color: rgb(39 122 145 / 0.36);
  488. font-size: 30px;
  489. }
  490. .CenterBox .tooltip-cont p {
  491. line-height: 1.8;
  492. color: #f3f3f3;
  493. position: relative;
  494. padding-left: 12px;
  495. }
  496. .CenterBox .tooltip-cont p::before {
  497. position: absolute;
  498. display: inline-block;
  499. content: '';
  500. left: -10px;
  501. top: 20px;
  502. width: 15px;
  503. height: 15px;
  504. border-radius: 50%;
  505. background-color: #40a9ff;
  506. }
  507. .CenterBox .tooltip-cont span {
  508. color: #69c0ff;
  509. }
  510. .RightBox .right-t {
  511. display: grid;
  512. gap: 10px;
  513. grid-template-columns: 3fr 1fr;
  514. background: url('../groupImg/langBack.png') no-repeat center;
  515. background-size: 100% 100%;
  516. padding: 10px;
  517. }
  518. .RightBox .right-c,
  519. .RightBox .right-b {
  520. display: grid;
  521. gap: 10px;
  522. grid-template-columns: repeat(2, 1fr);
  523. }
  524. .RightBox .right-c > div,
  525. .RightBox .right-b > div {
  526. background: url('../groupImg/cBack.png') no-repeat center;
  527. background-size: 100% 100%;
  528. padding: 10px;
  529. }
  530. .RightBox .top-lb {
  531. padding: 0px 30px;
  532. display: grid;
  533. /* grid-template-columns: repeat(11, 1fr); */
  534. grid-template-columns: 2.5fr 1fr 2.5fr 1fr 2.5fr 1fr 2.5fr 1fr 2.5fr 1fr 2.5fr;
  535. gap: 10px;
  536. padding-bottom: 20px;
  537. }
  538. .RightBox .top-lb > .topCard:nth-child(odd) > div:first-child,
  539. .RightBox .top-rb > .topCard:nth-child(odd) > div:first-child {
  540. width: 190px;
  541. height: 190px;
  542. background-size: 100% 100%;
  543. }
  544. .RightBox .top-lb > .topCard:nth-child(even) > div:first-child,
  545. .RightBox .top-rb > .topCard:nth-child(even) > div:first-child {
  546. width: 100px;
  547. height: 100px;
  548. background-size: 100% 100%;
  549. }
  550. .RightBox .titleBackBlue {
  551. background: url('../groupImg/completed.png') no-repeat center;
  552. background-size: 95% 95%;
  553. }
  554. .RightBox .titleBackYellow {
  555. background: url('../groupImg/completed2.png') no-repeat center;
  556. background-size: 95% 95%;
  557. }
  558. .RightBox .top-rb {
  559. padding: 0px 30px;
  560. display: grid;
  561. grid-template-columns: 2.5fr 1fr 2.5fr;
  562. gap: 10px;
  563. padding-bottom: 20px;
  564. }
  565. .RightBox .top-lb > .topCard:nth-child(even) > div:first-child {
  566. background: url('../groupImg/completedDot.png') no-repeat center;
  567. background-size: 100% auto;
  568. background-position: 0 25%;
  569. }
  570. .RightBox .top-rb > .topCard:nth-child(even) > div:first-child {
  571. background: url('../groupImg/completedDot.png') no-repeat;
  572. background-size: 100% auto;
  573. background-position: 0 35%;
  574. }
  575. .RightBox .centerBack {
  576. background: url('../groupImg/back2.png') no-repeat;
  577. background-size: 100% 100%;
  578. }
  579. .RightBox .center-l {
  580. display: grid;
  581. grid-template-columns: repeat(3, 1fr);
  582. gap: 10px;
  583. padding: 20px !important;
  584. }
  585. .RightBox .center-l > div {
  586. background: url('../groupImg/center-left-list-back.png') no-repeat;
  587. background-size: 100% 100%;
  588. text-align: center;
  589. padding: 10%;
  590. }
  591. .RightBox .center-l-title {
  592. width: 100%;
  593. height: 10%;
  594. margin-top: 15%;
  595. font-size: 30px;
  596. font-weight: bold;
  597. }
  598. .RightBox .center-l-list {
  599. height: 30%;
  600. margin: 15% 0;
  601. background: url('../groupImg/project.png') no-repeat center;
  602. background-size: 100% auto;
  603. font-size: 26px;
  604. }
  605. .RightBox .center-l-list2 {
  606. height: 30%;
  607. background: url('../groupImg/pin.png') no-repeat center;
  608. background-size: 100% auto;
  609. font-size: 26px;
  610. }
  611. .RightBox .right-br {
  612. display: grid;
  613. gap: 10px;
  614. grid-template-rows: repeat(2, 1fr);
  615. }
  616. .RightBox .right-brt {
  617. display: grid;
  618. gap: 10px;
  619. grid-template-columns: repeat(2, 1fr);
  620. }
  621. .RightBox .flotage {
  622. width: 220px;
  623. height: 100px;
  624. background-color: rgba(70, 78, 87, 0.5);
  625. display: flex;
  626. flex-direction: column;
  627. justify-content: space-around;
  628. padding: 10px;
  629. border: 1px solid #557e81;
  630. top: 15px;
  631. transition: all 0.2s;
  632. }
  633. .tip-box {
  634. position: absolute;
  635. width: 2000px !important;
  636. height: 1400px !important;
  637. top: calc(50% - 700px);
  638. left: calc(50% - 1000px);
  639. background: url('../groupImg/alert.png') no-repeat center;
  640. background-color: #133b65;
  641. background-size: 100% 100%;
  642. padding: 160px 50px 40px 50px;
  643. border-radius: 55px;
  644. z-index: 9999999999;
  645. }
  646. .titleImg {
  647. width: 100%;
  648. height: 100%;
  649. border-radius: 10px;
  650. }
  651. .popLeft,
  652. .popright {
  653. height: 90%;
  654. width: 50%;
  655. }
  656. .popright {
  657. right: 0;
  658. }
  659. /* 公共css */
  660. /* 宽高纵横比 */
  661. .aspect-auto {
  662. aspect-ratio: auto;
  663. }
  664. .aspect-square {
  665. aspect-ratio: 1 / 1;
  666. }
  667. .aspect-video {
  668. aspect-ratio: 16 / 9;
  669. }
  670. /* aspect-[4/3] */
  671. /* 居中 */
  672. .mx-auto {
  673. margin: 0 auto;
  674. }
  675. /* 设置容器内的列数/每列距离 */
  676. .columns-1 {
  677. columns: 1;
  678. }
  679. /* columns-[20px] */
  680. /* 盒子模型 */
  681. .box-border {
  682. box-sizing: border-box;
  683. }
  684. .box-content {
  685. box-sizing: content-box;
  686. }
  687. /* 消失 */
  688. .hidden {
  689. display: none;
  690. }
  691. /* 块级元素 */
  692. .block {
  693. display: block;
  694. }
  695. /* 行内块 */
  696. .inline-block {
  697. display: inline-block;
  698. }
  699. /* 行内元素 */
  700. .inline {
  701. display: inline;
  702. }
  703. /* 弹性布局 */
  704. .flex {
  705. display: flex;
  706. }
  707. /* 主轴起点在左边 */
  708. .flex-row {
  709. flex-direction: row;
  710. }
  711. /* 主轴起点在右边 */
  712. .flex-row-reverse {
  713. flex-direction: row-reverse;
  714. }
  715. /* 主轴竖向排列,在上面 */
  716. .flex-col {
  717. flex-direction: column;
  718. }
  719. /* 主轴竖向排列,在下面 */
  720. .flex-col-reverse {
  721. flex-direction: column-reverse;
  722. }
  723. /* 自动换行 */
  724. .flex-wrap {
  725. flex-wrap: wrap;
  726. }
  727. /* 自动换行下起点 */
  728. .flex-wrap-reverse {
  729. flex-wrap: wrap-reverse;
  730. }
  731. /* 不换行 */
  732. .flex-nowrap {
  733. flex-wrap: nowrap;
  734. }
  735. /* 弹性成长 */
  736. .grow {
  737. flex-grow: 1;
  738. }
  739. /* 不允许弹性成长 */
  740. .grow-0 {
  741. flex-grow: 0;
  742. }
  743. /* 主轴从左开始 */
  744. .justify-start {
  745. justify-content: flex-start;
  746. }
  747. /* 主轴从右开始 */
  748. .justify-end {
  749. justify-content: flex-end;
  750. }
  751. /* 主轴剧中 */
  752. .justify-center {
  753. justify-content: center;
  754. }
  755. /* 主轴两端无间隔 */
  756. .justify-between {
  757. justify-content: space-between;
  758. }
  759. /* 主轴两端有间隔 */
  760. .justify-around {
  761. justify-content: space-around;
  762. }
  763. /* 所有间隔相等 */
  764. .justify-evenly {
  765. justify-content: space-evenly;
  766. }
  767. /* 纵向起点最上方 */
  768. .items-start {
  769. align-items: flex-start;
  770. }
  771. /* 纵向起点最下方 */
  772. .items-end {
  773. align-items: flex-end;
  774. }
  775. .items-center {
  776. align-items: center;
  777. }
  778. /* 网格布局 */
  779. .grid {
  780. display: grid;
  781. }
  782. /* 有几列 */
  783. .grid-cols-4 {
  784. grid-template-columns: repeat(4, minmax(0, 1fr));
  785. grid-template-columns: repeat(4, 1fr);
  786. }
  787. /* 有几行 */
  788. .grid-rows-3 {
  789. grid-template-rows: repeat(3, minmax(0, 1fr));
  790. grid-template-rows: repeat(3, 1fr);
  791. }
  792. /* 容器中的内容上下布局 */
  793. .grid-center {
  794. align-items: center;
  795. }
  796. /* 间距 */
  797. .gap-7 {
  798. gap: 1.75rem;
  799. }
  800. /* 允许弹性成长 */
  801. .shrink {
  802. flex-shrink: 1;
  803. }
  804. /* 不允许弹性成长 */
  805. .shrink-0 {
  806. flex-shrink: 0;
  807. }
  808. /* 不允许成长也不允许收缩 */
  809. .flex-none {
  810. flex: none;
  811. }
  812. /* 浮动布局 */
  813. .float-right {
  814. float: right;
  815. }
  816. .float-left {
  817. float: left;
  818. }
  819. .clear-both {
  820. clear: both;
  821. }
  822. /* 溢出 */
  823. .overflow-auto {
  824. overflow: auto;
  825. }
  826. .overflow-hidden {
  827. overflow: hidden;
  828. }
  829. .overflow-scroll {
  830. overflow: scroll;
  831. }
  832. .overflow-x-auto {
  833. overflow-x: auto;
  834. }
  835. .overflow-y-auto {
  836. overflow-y: auto;
  837. }
  838. /* 定位 */
  839. .fixed {
  840. position: fixed;
  841. }
  842. .absolute {
  843. position: absolute;
  844. }
  845. .relative {
  846. position: relative;
  847. }
  848. .top-0 {
  849. top: 0px;
  850. }
  851. .right-0 {
  852. right: 0px;
  853. }
  854. .bottom-0 {
  855. bottom: 0px;
  856. }
  857. .left-0 {
  858. left: 0px;
  859. }
  860. /* top-[3px] */
  861. /* z-[100] */
  862. /* 显示隐藏未脱离文档流 */
  863. .visible {
  864. visibility: visible;
  865. }
  866. .invisible {
  867. visibility: hidden;
  868. }
  869. /* 内边距 */
  870. .p-0 {
  871. padding: 0px;
  872. }
  873. .px-0 {
  874. padding-left: 0px;
  875. padding-right: 0px;
  876. }
  877. .py-0 {
  878. padding-top: 0px;
  879. padding-bottom: 0px;
  880. }
  881. .pt-0 {
  882. padding-top: 0px;
  883. }
  884. .pr-0 {
  885. padding-right: 0px;
  886. }
  887. .pb-0 {
  888. padding-bottom: 0px;
  889. }
  890. .pl-0 {
  891. padding-left: 0px;
  892. }
  893. /* p-[5px] */
  894. /* 外边距 */
  895. .m-0 {
  896. margin: 0px;
  897. }
  898. .mx-0 {
  899. margin-left: 0px;
  900. margin-right: 0px;
  901. }
  902. .my-0 {
  903. margin-top: 0px;
  904. margin-bottom: 0px;
  905. }
  906. .mt-0 {
  907. margin-top: 0px;
  908. }
  909. .mr-0 {
  910. margin-right: 0px;
  911. }
  912. .mb-0 {
  913. margin-bottom: 0px;
  914. }
  915. .ml-0 {
  916. margin-left: 0px;
  917. }
  918. /* m-[5px] */
  919. /* 宽度 */
  920. .w-full {
  921. width: 100%;
  922. }
  923. .w-screen {
  924. width: 100vw;
  925. }
  926. /* w-[32rem] */
  927. /* min-w-[50%] */
  928. /* max-w-[50%] */
  929. /* 高度 */
  930. .h-full {
  931. height: 100%;
  932. }
  933. .h-screen {
  934. height: 100vh;
  935. }
  936. /* h-[32rem] */
  937. /* min-h-[50%] */
  938. /* max-h-[32rem] */
  939. /* 字体 */
  940. .text-xs {
  941. font-size: 0.75rem; /* 12px */
  942. line-height: 1rem; /* 16px */
  943. }
  944. .text-sm {
  945. font-size: 0.875rem; /* 14px */
  946. line-height: 1.25rem; /* 20px */
  947. }
  948. .text-base {
  949. font-size: 1rem; /* 16px */
  950. line-height: 1.5rem; /* 24px */
  951. }
  952. .text-lg {
  953. font-size: 1.125rem; /* 18px */
  954. line-height: 1.75rem; /* 28px */
  955. }
  956. .text-xl {
  957. font-size: 1.25rem; /* 20px */
  958. line-height: 1.75rem; /* 28px */
  959. }
  960. .text-2xl {
  961. font-size: 1.5rem; /* 24px */
  962. line-height: 2rem; /* 32px */
  963. }
  964. .text-3xl {
  965. font-size: 1.875rem; /* 30px */
  966. line-height: 2.25rem; /* 36px */
  967. }
  968. .text-4xl {
  969. font-size: 2.25rem; /* 36px */
  970. line-height: 2.5rem; /* 40px */
  971. }
  972. .text-5xl {
  973. font-size: 3rem; /* 48px */
  974. line-height: 1;
  975. }
  976. .text-6xl {
  977. font-size: 3.75rem; /* 60px */
  978. line-height: 1;
  979. }
  980. .text-7xl {
  981. font-size: 4.5rem; /* 72px */
  982. line-height: 1;
  983. }
  984. .text-8xl {
  985. font-size: 6rem; /* 96px */
  986. line-height: 1;
  987. }
  988. .text-9xl {
  989. font-size: 8rem; /* 128px */
  990. line-height: 1;
  991. }
  992. /* text-[14px] */
  993. /* 字体粗细font-weight */
  994. /* font-[1100] */
  995. /* https://tailwindcss.com/docs/font-weight */
  996. /* 字体间距letter-spacing */
  997. /* tracking-[.25em] */
  998. /* 行高line-height */
  999. /* leading-[3rem] */
  1000. /* 无列表样式 */
  1001. .list-none {
  1002. list-style-type: none;
  1003. }
  1004. /* 小圆点 */
  1005. .list-disc {
  1006. list-style-type: disc;
  1007. }
  1008. /* 数字列表 */
  1009. .list-decimal {
  1010. list-style-type: decimal;
  1011. }
  1012. .text-left {
  1013. text-align: left;
  1014. }
  1015. .text-center {
  1016. text-align: center;
  1017. }
  1018. .text-right {
  1019. text-align: right;
  1020. }
  1021. /* 所有文本头尾对齐 */
  1022. .text-justify {
  1023. text-align: justify;
  1024. }
  1025. /* 文本颜色 */
  1026. /* text-[#50d71e] */
  1027. /* https://tailwindcss.com/docs/text-color */
  1028. /* 下划线 */
  1029. .underline {
  1030. text-decoration-line: underline;
  1031. }
  1032. /* 上划线 */
  1033. .overline {
  1034. text-decoration-line: overline;
  1035. }
  1036. /* 中划线 */
  1037. .line-through {
  1038. text-decoration-line: line-through;
  1039. }
  1040. /* 无划线 */
  1041. .no-underline {
  1042. text-decoration-line: none;
  1043. }
  1044. /* 全小写 */
  1045. .lowercase {
  1046. text-transform: lowercase;
  1047. }
  1048. /* 全大写 */
  1049. .uppercase {
  1050. text-transform: uppercase;
  1051. }
  1052. /* 首字母大写 */
  1053. .capitalize {
  1054. text-transform: capitalize;
  1055. }