style.less 8.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413
  1. @import url("../../themes/themes.less");
  2. @assetUrl: "../../assets/imgs/home";
  3. .bg_after {
  4. content: "";
  5. display: block;
  6. bottom: 0;
  7. position: absolute;
  8. width: 100%;
  9. height: 10px;
  10. }
  11. .tlk_box{
  12. :global {
  13. .leftContent .bottomContent2{
  14. height: 31%!important;
  15. .topMsg_content{
  16. height: 90%!important;
  17. }
  18. }
  19. .leftContent .center_box .topMsg_content .eacharView .name_ul li{
  20. height: 33%!important;
  21. }
  22. .leftContent .center_box .topMsg_content .eacharView .name_ul {
  23. color: #CDF1FF!important;
  24. }
  25. .centerCon .bottomContent3{
  26. height: 27%;
  27. }
  28. .centerCon .right_li{
  29. margin-top: -24px;
  30. }
  31. .topMsg_tip2{
  32. margin-top: 0!important;
  33. }
  34. .rightContent .topMsg2{
  35. height: 30%!important;
  36. }
  37. .centerCon .bottomContent3{
  38. bottom: 10%!important;
  39. }
  40. .rightContent .topMsg_22{
  41. height: 30%!important;
  42. #echarts5{
  43. height: 100%!important;
  44. }
  45. }
  46. }
  47. }
  48. .home {
  49. position: relative;
  50. .insert {
  51. position: absolute;
  52. z-index: 4;
  53. width: 100%;
  54. left: 0;
  55. top: 0;
  56. height: 100vh;
  57. padding: 16px;
  58. .user {
  59. background: #fff;
  60. border-radius: 6px;
  61. padding: 12px;
  62. text-align: left;
  63. margin-bottom: 12px;
  64. font-size: 12px;
  65. }
  66. .notice {
  67. background: #fff;
  68. border-radius: 6px;
  69. padding: 12px;
  70. text-align: left;
  71. font-size: 12px;
  72. margin-bottom: 12px;
  73. &>*:not(:first-child){
  74. margin-top: 8px;
  75. }
  76. }
  77. .documents {
  78. background: #fff;
  79. border-radius: 6px;
  80. padding: 12px;
  81. text-align: left;
  82. font-size: 12px;
  83. &>*:not(:first-child){
  84. margin-top: 8px;
  85. }
  86. }
  87. }
  88. :global {
  89. // background: url(../../../public/bg_home.png) 50% 50% no-repeat;
  90. background-color: #041747;
  91. background-size: cover;
  92. text-align: center;
  93. padding: 0 33px 113px 33px;
  94. height: 100%;
  95. .titles {
  96. padding-top: 52px;
  97. display: inline-block;
  98. .big_title {
  99. font-size: 40px;
  100. color: #ffffff;
  101. letter-spacing: 5px;
  102. text-align: center;
  103. font-weight: bold;
  104. }
  105. .sub_title {
  106. margin-top: 15px;
  107. display: flex;
  108. justify-content: space-between;
  109. position: relative;
  110. width: 100%;
  111. opacity: 0.4;
  112. font-family: PingFangSC-Regular;
  113. font-size: 20px;
  114. color: #ffffff;
  115. letter-spacing: 0.7px;
  116. &::after,
  117. &::before {
  118. height: 1px;
  119. width: 37px;
  120. position: absolute;
  121. top: 50%;
  122. content: "";
  123. display: block;
  124. }
  125. &::after {
  126. background-image: linear-gradient(
  127. 90deg,
  128. rgba(255, 255, 255, 0.3) 0%,
  129. rgba(255, 255, 255, 1) 100%
  130. );
  131. left: -46px;
  132. }
  133. &::before {
  134. background-image: linear-gradient(
  135. 90deg,
  136. rgba(255, 255, 255, 1) 0%,
  137. rgba(255, 255, 255, 0.3) 100%
  138. );
  139. right: -46px;
  140. }
  141. }
  142. }
  143. .player {
  144. margin-top: 54px;
  145. display: flex;
  146. justify-content: space-between;
  147. & > li {
  148. position: relative;
  149. cursor: pointer;
  150. text-align: center;
  151. width: 1%;
  152. flex-grow: 1;
  153. transition: all 0.3s;
  154. &:not(:last-child) {
  155. margin-right: 1%;
  156. }
  157. .not_open_card {
  158. display: none;
  159. }
  160. &.toggle_stat {
  161. .nor_card {
  162. display: block;
  163. }
  164. &:hover > .nor_card {
  165. display: none;
  166. }
  167. &:hover > .not_open_card {
  168. display: block;
  169. }
  170. .tips {
  171. text-align: center;
  172. font-size: 16px;
  173. color: rgba(255, 255, 255, 0.5);
  174. margin-top: -5px;
  175. }
  176. .tips_img {
  177. width: 60%;
  178. margin-top: 30%;
  179. }
  180. }
  181. }
  182. }
  183. .bg_1 {
  184. background: rgba(69, 163, 109, 0.3);
  185. border: none;
  186. &:hover {
  187. background: rgba(69, 163, 109, 0.5);
  188. transform: translateY(-30px);
  189. box-shadow: 0 0 0 1px #45a36d inset;
  190. background-image: radial-gradient(
  191. 120px 60px ellipse at 50% 100%,
  192. rgba(42, 186, 128, 0.8) 0%,
  193. rgba(42, 186, 128, 0) 90%,
  194. transparent 0
  195. );
  196. &::after {
  197. content: "";
  198. display: block;
  199. bottom: -5px;
  200. position: absolute;
  201. width: 100%;
  202. height: 10px;
  203. background: url("@{assetUrl}/bg_light1.png") 50% 50% no-repeat;
  204. }
  205. }
  206. }
  207. .bg_2 {
  208. background: rgba(38, 149, 140, 0.3);
  209. border: none;
  210. &:hover {
  211. background: rgba(38, 149, 140, 0.5);
  212. transform: translateY(-30px);
  213. box-shadow: 0 0 0 1px #26958c inset;
  214. background-image: radial-gradient(
  215. 120px 60px ellipse at 50% 100%,
  216. rgba(0, 199, 207, 0.8) 0%,
  217. rgba(0, 199, 207, 0) 90%,
  218. transparent 0
  219. );
  220. &::after {
  221. content: "";
  222. display: block;
  223. bottom: -5px;
  224. position: absolute;
  225. width: 100%;
  226. height: 10px;
  227. background: url("@{assetUrl}/bg_light2.png") 50% 50% no-repeat;
  228. }
  229. }
  230. }
  231. .bg_3 {
  232. background: rgba(122, 89, 202, 0.3);
  233. border: none;
  234. &:hover {
  235. background: rgba(122, 89, 202, 0.5);
  236. transform: translateY(-30px);
  237. box-shadow: 0 0 0 1px #a27cff inset;
  238. background-image: radial-gradient(
  239. 120px 60px ellipse at 50% 100%,
  240. rgba(181, 151, 255, 0.8) 0%,
  241. rgba(181, 151, 255, 0) 90%,
  242. transparent 0
  243. );
  244. &::after {
  245. content: "";
  246. display: block;
  247. bottom: -5px;
  248. position: absolute;
  249. width: 100%;
  250. height: 10px;
  251. background: url("@{assetUrl}/bg_light3.png") 50% 50% no-repeat;
  252. }
  253. }
  254. }
  255. .bg_4 {
  256. background: rgba(37, 90, 199, 0.3);
  257. border: none;
  258. &:hover {
  259. background: rgba(37, 90, 199, 0.5);
  260. transform: translateY(-30px);
  261. box-shadow: 0 0 0 1px #6899ff inset;
  262. background-image: radial-gradient(
  263. 120px 60px ellipse at 50% 100%,
  264. rgba(73, 181, 255, 0.8) 0%,
  265. rgba(73, 181, 255, 0) 90%,
  266. transparent 0
  267. );
  268. &::after {
  269. content: "";
  270. display: block;
  271. bottom: -5px;
  272. position: absolute;
  273. width: 100%;
  274. height: 10px;
  275. background: url("@{assetUrl}/bg_light4.png") 50% 50% no-repeat;
  276. }
  277. }
  278. }
  279. .bg_5 {
  280. background: rgba(6, 159, 199, 0.3);
  281. border: none;
  282. &:hover {
  283. background: rgba(6, 159, 199, 0.5);
  284. transform: translateY(-30px);
  285. box-shadow: 0 0 0 1px #41bad9 inset;
  286. background-image: radial-gradient(
  287. 120px 60px ellipse at 50% 100%,
  288. rgba(58, 223, 255, 0.8) 0%,
  289. rgba(58, 223, 255, 0) 90%,
  290. transparent 0
  291. );
  292. &::after {
  293. content: "";
  294. display: block;
  295. bottom: -5px;
  296. position: absolute;
  297. width: 100%;
  298. height: 10px;
  299. background: url("@{assetUrl}/bg_light5.png") 50% 50% no-repeat;
  300. }
  301. }
  302. }
  303. .type_1 {
  304. padding: 82px 0 75px 0;
  305. .card_subtitle {
  306. font-size: 14px;
  307. color: #fff;
  308. margin-top: 48px;
  309. margin-bottom: 48px;
  310. }
  311. }
  312. .type_2 {
  313. padding: 42px 0 65px 0;
  314. }
  315. .card_title {
  316. font-size: 20px;
  317. color: #ffffff;
  318. font-weight: bold;
  319. position: absolute;
  320. bottom: 7%;
  321. width: 100%;
  322. text-align: center;
  323. }
  324. .text {
  325. text-align: left;
  326. display: flex;
  327. justify-content: center;
  328. }
  329. .type1_sub {
  330. font-size: 12px;
  331. color: rgba(255, 255, 255, 0.7);
  332. }
  333. .type1_left {
  334. font-size: 12px;
  335. color: rgba(255, 255, 255, 0.7);
  336. text-align: left;
  337. }
  338. .col_fff {
  339. color: #ffffff;
  340. }
  341. .col_gray {
  342. color: rgba(255, 255, 255, 0.7);
  343. }
  344. .fs12 {
  345. font-size: 12px;
  346. }
  347. .fs14 {
  348. font-size: 14px;
  349. }
  350. .mt4 {
  351. margin-top: 4px;
  352. }
  353. .mt50 {
  354. margin-top: 90px;
  355. }
  356. .linear {
  357. width: 100%;
  358. height: 1px;
  359. background: linear-gradient(
  360. 90deg,
  361. rgba(2, 199, 218, 0) 0%,
  362. rgba(2, 199, 218, 0.5) 50%,
  363. rgba(2, 199, 218, 0) 100%
  364. );
  365. transform-origin: center;
  366. transform: rotate(-45deg);
  367. margin-top: 60px;
  368. margin-bottom: 15px;
  369. }
  370. .min_w {
  371. min-width: 40%;
  372. }
  373. }
  374. }
  375. .add_common_report {
  376. display: flex;
  377. align-items: center;
  378. >div {
  379. display: flex;
  380. align-items: center;
  381. overflow: hidden;
  382. text-overflow: ellipsis;
  383. white-space: nowrap;
  384. white-space: nowrap;
  385. }
  386. }