investHome4.css 9.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592
  1. *,
  2. *:before,
  3. *:after {
  4. padding: 0;
  5. margin: 0;
  6. box-sizing: border-box;
  7. }
  8. html,
  9. body {
  10. height: 100%;
  11. font-size: 14px;
  12. background-color: #ecffff;
  13. font-family: 'Microsoft YaHei', 'Helvetica Neue', Helvetica, 'PingFang SC',
  14. 'Hiragino Sans GB', Arial, sans-serif;
  15. }
  16. .flex {
  17. display: flex;
  18. }
  19. .flex1 {
  20. flex: 1;
  21. }
  22. .flex2 {
  23. flex: 2;
  24. }
  25. .flex-around {
  26. display: flex;
  27. justify-content: space-around;
  28. }
  29. .flex-between {
  30. display: flex;
  31. justify-content: space-between;
  32. align-items: center;
  33. }
  34. .flex-end {
  35. display: flex;
  36. justify-content: flex-end;
  37. }
  38. .flex-align-center {
  39. display: flex;
  40. align-items: center;
  41. }
  42. .text-center {
  43. text-align: center;
  44. }
  45. .font12 {
  46. font-size: 12px;
  47. }
  48. .main-color {
  49. color: #0bf1ff;
  50. }
  51. .danger-color {
  52. color: #f15450 !important;
  53. }
  54. .error-color {
  55. color: #ffc704 !important;
  56. }
  57. .btm10 {
  58. margin-bottom: 10px;
  59. }
  60. .btm20 {
  61. margin-bottom: 20px;
  62. }
  63. a {
  64. text-decoration: none;
  65. cursor: pointer;
  66. }
  67. [v-cloak] {
  68. display: none;
  69. }
  70. #app {
  71. background: url('../images/page-bg.png') center center no-repeat;
  72. background-size: 100% 100%;
  73. padding-top: 10px;
  74. height: 100vh;
  75. overflow: hidden;
  76. color: #fff;
  77. }
  78. .my-header {
  79. position: relative;
  80. height: 70px;
  81. line-height: 70px;
  82. background: url('../images/header-bg.png') center center no-repeat;
  83. background-size: 100% 100%;
  84. text-align: center;
  85. font-weight: bold;
  86. font-size: 32px;
  87. font-weight: 600;
  88. }
  89. .my-header span {
  90. background: linear-gradient(-3deg, #99eeff 0%, #99eeff 30%, #ffffff 91%);
  91. -webkit-background-clip: text;
  92. -webkit-text-fill-color: transparent;
  93. }
  94. .my-header span.right {
  95. position: absolute;
  96. right: 60px;
  97. top: 0px;
  98. font-size: 16px;
  99. }
  100. .main {
  101. padding: 15px;
  102. height: calc(100vh - 25px);
  103. background: url('../images/back-big.png') no-repeat center bottom;
  104. padding-bottom: 65px;
  105. display: grid;
  106. /* grid-template-columns: repeat(2, minmax(0, 1fr));
  107. grid-template-rows: repeat(2, minmax(0, 1fr)); */
  108. grid-template-columns: repeat(2, 50%);
  109. grid-template-rows: repeat(2, 50%);
  110. gap: 10px;
  111. }
  112. .panel-title {
  113. position: relative;
  114. text-align: center;
  115. height: 50px;
  116. line-height: 50px;
  117. }
  118. .panel-title .text {
  119. font-size: 20px;
  120. font-weight: 600;
  121. color: #05fbfe;
  122. text-shadow: 0px 2px 10px rgba(10, 30, 52, 0.48);
  123. background: linear-gradient(0deg, #ffffff 0%, #63dcff 0%, #e0f3ff 100%);
  124. -webkit-background-clip: text;
  125. -webkit-text-fill-color: transparent;
  126. position: relative;
  127. }
  128. .panel-title .text::before {
  129. position: absolute;
  130. content: ' ';
  131. top: 10px;
  132. left: -40px;
  133. width: 30px;
  134. height: 10px;
  135. background: url('../images/title-left.png') no-repeat;
  136. }
  137. .panel-title .text::after {
  138. position: absolute;
  139. content: ' ';
  140. top: 10px;
  141. right: -40px;
  142. width: 30px;
  143. height: 10px;
  144. background: url('../images/title-right.png') no-repeat;
  145. }
  146. .lt-bottom {
  147. display: grid;
  148. height: calc(100% - 50px);
  149. grid-template-columns: 1fr 2fr;
  150. gap: 10px;
  151. padding: 10px;
  152. }
  153. .lt-bottom-left {
  154. display: grid;
  155. grid-template-rows: repeat(4, 1fr);
  156. gap: 10px;
  157. }
  158. .lt-bottom-left > div {
  159. background: url('../images4/button-back.png') no-repeat;
  160. background-size: 100% 100%;
  161. font-size: 18px;
  162. font-weight: bold;
  163. }
  164. .lt-bottom-right {
  165. background-color: rgb(156, 210, 255, 0.1);
  166. }
  167. .tl,
  168. .tr,
  169. .bl,
  170. .br {
  171. background: url('../images4/list-back.png') no-repeat;
  172. background-size: 100% 100%;
  173. }
  174. .lt-bottom-right {
  175. display: grid;
  176. grid-template-columns: repeat(2, 1fr);
  177. grid-template-rows: repeat(3, 1fr);
  178. gap: 10px;
  179. padding: 30px;
  180. }
  181. .lt-img {
  182. width: 76px;
  183. height: 64px;
  184. margin: 30px;
  185. }
  186. /* zhb */
  187. /* 宽高纵横比 */
  188. .aspect-auto {
  189. aspect-ratio: auto;
  190. }
  191. .aspect-square {
  192. aspect-ratio: 1 / 1;
  193. }
  194. .aspect-video {
  195. aspect-ratio: 16 / 9;
  196. }
  197. /* aspect-[4/3] */
  198. /* 居中 */
  199. .mx-auto {
  200. margin: 0 auto;
  201. }
  202. /* 设置容器内的列数/每列距离 */
  203. .columns-1 {
  204. columns: 1;
  205. }
  206. /* columns-[20px] */
  207. /* 盒子模型 */
  208. .box-border {
  209. box-sizing: border-box;
  210. }
  211. .box-content {
  212. box-sizing: content-box;
  213. }
  214. /* 消失 */
  215. .hidden {
  216. display: none;
  217. }
  218. /* 块级元素 */
  219. .block {
  220. display: block;
  221. }
  222. /* 行内块 */
  223. .inline-block {
  224. display: inline-block;
  225. }
  226. /* 行内元素 */
  227. .inline {
  228. display: inline;
  229. }
  230. /* 弹性布局 */
  231. .flex {
  232. display: flex;
  233. }
  234. /* 主轴起点在左边 */
  235. .flex-row {
  236. flex-direction: row;
  237. }
  238. /* 主轴起点在右边 */
  239. .flex-row-reverse {
  240. flex-direction: row-reverse;
  241. }
  242. /* 主轴竖向排列,在上面 */
  243. .flex-col {
  244. flex-direction: column;
  245. }
  246. /* 主轴竖向排列,在下面 */
  247. .flex-col-reverse {
  248. flex-direction: column-reverse;
  249. }
  250. /* 自动换行 */
  251. .flex-wrap {
  252. flex-wrap: wrap;
  253. }
  254. /* 自动换行下起点 */
  255. .flex-wrap-reverse {
  256. flex-wrap: wrap-reverse;
  257. }
  258. /* 不换行 */
  259. .flex-nowrap {
  260. flex-wrap: nowrap;
  261. }
  262. /* 弹性成长 */
  263. .grow {
  264. flex-grow: 1;
  265. }
  266. /* 不允许弹性成长 */
  267. .grow-0 {
  268. flex-grow: 0;
  269. }
  270. /* 主轴从左开始 */
  271. .justify-start {
  272. justify-content: flex-start;
  273. }
  274. /* 主轴从右开始 */
  275. .justify-end {
  276. justify-content: flex-end;
  277. }
  278. /* 主轴剧中 */
  279. .justify-center {
  280. justify-content: center;
  281. }
  282. /* 主轴两端无间隔 */
  283. .justify-between {
  284. justify-content: space-between;
  285. }
  286. /* 主轴两端有间隔 */
  287. .justify-around {
  288. justify-content: space-around;
  289. }
  290. /* 所有间隔相等 */
  291. .justify-evenly {
  292. justify-content: space-evenly;
  293. }
  294. /* 纵向起点最上方 */
  295. .items-start {
  296. align-items: flex-start;
  297. }
  298. /* 纵向起点最下方 */
  299. .items-end {
  300. align-items: flex-end;
  301. }
  302. .items-center {
  303. align-items: center;
  304. }
  305. /* 网格布局 */
  306. .grid {
  307. display: grid;
  308. }
  309. /* 有几列 */
  310. .grid-cols-4 {
  311. grid-template-columns: repeat(4, minmax(0, 1fr));
  312. }
  313. /* 有几行 */
  314. .grid-rows-3 {
  315. grid-template-rows: repeat(3, minmax(0, 1fr));
  316. }
  317. /* 间距 */
  318. .gap-7 {
  319. gap: 1.75rem;
  320. }
  321. /* 允许弹性成长 */
  322. .shrink {
  323. flex-shrink: 1;
  324. }
  325. /* 不允许弹性成长 */
  326. .shrink-0 {
  327. flex-shrink: 0;
  328. }
  329. /* 不允许成长也不允许收缩 */
  330. .flex-none {
  331. flex: none;
  332. }
  333. /* 浮动布局 */
  334. .float-right {
  335. float: right;
  336. }
  337. .float-left {
  338. float: left;
  339. }
  340. .clear-both {
  341. clear: both;
  342. }
  343. /* 溢出 */
  344. .overflow-auto {
  345. overflow: auto;
  346. }
  347. .overflow-hidden {
  348. overflow: hidden;
  349. }
  350. .overflow-scroll {
  351. overflow: scroll;
  352. }
  353. .overflow-x-auto {
  354. overflow-x: auto;
  355. }
  356. .overflow-y-auto {
  357. overflow-y: auto;
  358. }
  359. /* 定位 */
  360. .fixed {
  361. position: fixed;
  362. }
  363. .absolute {
  364. position: absolute;
  365. }
  366. .relative {
  367. position: relative;
  368. }
  369. .top-0 {
  370. top: 0px;
  371. }
  372. .right-0 {
  373. right: 0px;
  374. }
  375. .bottom-0 {
  376. bottom: 0px;
  377. }
  378. .left-0 {
  379. left: 0px;
  380. }
  381. /* top-[3px] */
  382. /* z-[100] */
  383. /* 显示隐藏未脱离文档流 */
  384. .visible {
  385. visibility: visible;
  386. }
  387. .invisible {
  388. visibility: hidden;
  389. }
  390. /* 内边距 */
  391. .p-0 {
  392. padding: 0px;
  393. }
  394. .px-0 {
  395. padding-left: 0px;
  396. padding-right: 0px;
  397. }
  398. .py-0 {
  399. padding-top: 0px;
  400. padding-bottom: 0px;
  401. }
  402. .pt-0 {
  403. padding-top: 0px;
  404. }
  405. .pr-0 {
  406. padding-right: 0px;
  407. }
  408. .pb-0 {
  409. padding-bottom: 0px;
  410. }
  411. .pl-0 {
  412. padding-left: 0px;
  413. }
  414. /* p-[5px] */
  415. /* 外边距 */
  416. .m-0 {
  417. margin: 0px;
  418. }
  419. .mx-0 {
  420. margin-left: 0px;
  421. margin-right: 0px;
  422. }
  423. .my-0 {
  424. margin-top: 0px;
  425. margin-bottom: 0px;
  426. }
  427. .mt-0 {
  428. margin-top: 0px;
  429. }
  430. .mr-0 {
  431. margin-right: 0px;
  432. }
  433. .mb-0 {
  434. margin-bottom: 0px;
  435. }
  436. .ml-0 {
  437. margin-left: 0px;
  438. }
  439. /* m-[5px] */
  440. /* 宽度 */
  441. .w-full {
  442. width: 100%;
  443. }
  444. .w-screen {
  445. width: 100vw;
  446. }
  447. /* w-[32rem] */
  448. /* min-w-[50%] */
  449. /* max-w-[50%] */
  450. /* 高度 */
  451. .h-full {
  452. height: 100%;
  453. }
  454. .h-screen {
  455. height: 100vh;
  456. }
  457. /* h-[32rem] */
  458. /* min-h-[50%] */
  459. /* max-h-[32rem] */
  460. /* 字体 */
  461. .text-xs {
  462. font-size: 0.75rem; /* 12px */
  463. line-height: 1rem; /* 16px */
  464. }
  465. .text-sm {
  466. font-size: 0.875rem; /* 14px */
  467. line-height: 1.25rem; /* 20px */
  468. }
  469. .text-base {
  470. font-size: 1rem; /* 16px */
  471. line-height: 1.5rem; /* 24px */
  472. }
  473. .text-lg {
  474. font-size: 1.125rem; /* 18px */
  475. line-height: 1.75rem; /* 28px */
  476. }
  477. .text-xl {
  478. font-size: 1.25rem; /* 20px */
  479. line-height: 1.75rem; /* 28px */
  480. }
  481. .text-2xl {
  482. font-size: 1.5rem; /* 24px */
  483. line-height: 2rem; /* 32px */
  484. }
  485. .text-3xl {
  486. font-size: 1.875rem; /* 30px */
  487. line-height: 2.25rem; /* 36px */
  488. }
  489. .text-4xl {
  490. font-size: 2.25rem; /* 36px */
  491. line-height: 2.5rem; /* 40px */
  492. }
  493. .text-5xl {
  494. font-size: 3rem; /* 48px */
  495. line-height: 1;
  496. }
  497. .text-6xl {
  498. font-size: 3.75rem; /* 60px */
  499. line-height: 1;
  500. }
  501. .text-7xl {
  502. font-size: 4.5rem; /* 72px */
  503. line-height: 1;
  504. }
  505. .text-8xl {
  506. font-size: 6rem; /* 96px */
  507. line-height: 1;
  508. }
  509. .text-9xl {
  510. font-size: 8rem; /* 128px */
  511. line-height: 1;
  512. }
  513. /* text-[14px] */
  514. /* 字体粗细font-weight */
  515. /* font-[1100] */
  516. /* https://tailwindcss.com/docs/font-weight */
  517. /* 字体间距letter-spacing */
  518. /* tracking-[.25em] */
  519. /* 行高line-height */
  520. /* leading-[3rem] */
  521. /* 无列表样式 */
  522. .list-none {
  523. list-style-type: none;
  524. }
  525. /* 小圆点 */
  526. .list-disc {
  527. list-style-type: disc;
  528. }
  529. /* 数字列表 */
  530. .list-decimal {
  531. list-style-type: decimal;
  532. }
  533. .text-left {
  534. text-align: left;
  535. }
  536. .text-center {
  537. text-align: center;
  538. }
  539. .text-right {
  540. text-align: right;
  541. }
  542. /* 所有文本头尾对齐 */
  543. .text-justify {
  544. text-align: justify;
  545. }
  546. /* 文本颜色 */
  547. /* text-[#50d71e] */
  548. /* https://tailwindcss.com/docs/text-color */
  549. /* 下划线 */
  550. .underline {
  551. text-decoration-line: underline;
  552. }
  553. /* 上划线 */
  554. .overline {
  555. text-decoration-line: overline;
  556. }
  557. /* 中划线 */
  558. .line-through {
  559. text-decoration-line: line-through;
  560. }
  561. /* 无划线 */
  562. .no-underline {
  563. text-decoration-line: none;
  564. }
  565. /* 全小写 */
  566. .lowercase {
  567. text-transform: lowercase;
  568. }
  569. /* 全大写 */
  570. .uppercase {
  571. text-transform: uppercase;
  572. }
  573. /* 首字母大写 */
  574. .capitalize {
  575. text-transform: capitalize;
  576. }