style.scss 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582
  1. @import "../../../assets/styles/common.scss";
  2. .home-container {
  3. background: url("@/assets/images/background.png") top center no-repeat;
  4. height: 100vh;
  5. background-size: cover;
  6. overflow: auto;
  7. .home-title-nav {
  8. background-image: url("@/assets/images/top_bg.png");
  9. background-repeat: no-repeat;
  10. background-position: top center;
  11. background-size: cover;
  12. height: 80px;
  13. width: 100%;
  14. @include flexBetween;
  15. align-items: flex-start;
  16. color:#FFF;
  17. .l-span{
  18. width: 20%;
  19. padding:5px;
  20. }
  21. .r-span{
  22. width: 20%;
  23. text-align: right;
  24. padding:10px;
  25. font-size: 14px;
  26. color:#FFFFFF;
  27. font-family: "BebasNeue-1", serif;
  28. }
  29. .title-text{
  30. width: 60%;
  31. @include flexCenter;
  32. font-family: "YouSheBiaoTiHei-2", Microsoft YaHei, serif;
  33. font-weight: 400;
  34. font-size: 32px;
  35. line-height: 47px;
  36. text-align: left;
  37. font-style: normal;
  38. background: linear-gradient(180deg, #FFFFFF 0%,#7DB1FF 70%, #7DB1FF 100%);
  39. -webkit-background-clip: text;
  40. letter-spacing: 2px;
  41. text-transform: none;
  42. color: transparent;
  43. padding-top:5px;
  44. }
  45. }
  46. }
  47. .home-page {
  48. padding: 0 20px 20px 20px;
  49. color: white;
  50. @include borderBox;
  51. .top-scroll-bar {
  52. .t-span {
  53. font-size: 12px;
  54. .t-time {
  55. font-size: 14px;
  56. letter-spacing: 1px;
  57. font-family: "BebasNeue-1", serif;
  58. margin-right: 5px;
  59. }
  60. .text-a {
  61. margin-left: 5px;
  62. color: #3AC4FF;
  63. text-decoration: underline;
  64. cursor: pointer;
  65. &:hover {
  66. text-decoration: none;
  67. }
  68. }
  69. }
  70. .right-btn {
  71. background: linear-gradient(to bottom, #257CFF 0%, #222E7F 100%);
  72. border-radius: 2px 2px 2px 2px;
  73. border: 1px solid;
  74. border-image: linear-gradient(180deg, rgba(149, 223, 255, 1), rgba(114, 213, 255, 1)) 1 1;
  75. height: 26px;
  76. line-height: 26px;
  77. font-size: 12px;
  78. padding: 0 10px;
  79. cursor: pointer;
  80. }
  81. .scroll-text {
  82. height: 54px;
  83. line-height: 54px;
  84. margin-bottom: 10px;
  85. padding: 0 10px;
  86. font-size: 12px;
  87. overflow: hidden;
  88. width: 100%;
  89. white-space: nowrap;
  90. text-overflow: ellipsis;
  91. }
  92. }
  93. .column-row-title {
  94. background: #112973;
  95. border-bottom-width: 0;
  96. padding: 0 8px 0 0;
  97. line-height: 40px;
  98. margin-bottom: 8px;
  99. @include flexBetween;
  100. .title-text {
  101. font-family: "YouSheBiaoTiHei-2", Microsoft YaHei, serif;
  102. @include flexStart;
  103. font-size: 16px;
  104. .s-span {
  105. margin-left: 5px;
  106. font-size: 14px;
  107. font-style: italic;
  108. color: #A8CAF9;
  109. }
  110. & > img {
  111. margin-right: 10px;
  112. }
  113. }
  114. .yellow-txt {
  115. color: #FFB342;
  116. font-size: 20px;
  117. font-weight: 400;
  118. margin-left: 4px;
  119. }
  120. .el-checkbox {
  121. color: white;
  122. font-size: 16px;
  123. }
  124. .el-checkbox__inner {
  125. background: transparent;
  126. border: 1px solid #72D5FF80;
  127. }
  128. .el-checkbox__label {
  129. padding-left: 4px;
  130. }
  131. .el-checkbox__input.is-checked + .el-checkbox__label {
  132. color: #72D5FF;
  133. }
  134. .el-checkbox__input.is-checked .el-checkbox__inner::after {
  135. border-color: #72D5FF;
  136. }
  137. }
  138. .content-top {
  139. @include flexBetween;
  140. align-items: flex-start;
  141. margin-top: 16px;
  142. .column-row {
  143. width: 375px;
  144. }
  145. }
  146. .app-health {
  147. height: calc(70vh - 138px);
  148. position: relative;
  149. //width: calc(100% - 750px);
  150. min-width: 550px;
  151. max-width: 660px;
  152. margin: 0 10px;
  153. z-index:1;
  154. &::before {
  155. content: '';
  156. position: absolute;
  157. top: 0;
  158. left: 0;
  159. right: 0;
  160. bottom: 0;
  161. background-image: url("@/assets/images/center-bg.png");
  162. background-repeat: no-repeat;
  163. background-position: center center;
  164. //background-size: 70%;
  165. background-size: 550px;
  166. opacity: 0.8; /* 设置背景透明度 */
  167. z-index: -1; /* 确保在文本下方 */
  168. }
  169. .h-img {
  170. width: 130px;
  171. }
  172. .a-h-item {
  173. position: absolute;
  174. top: 29%;
  175. left: -8%;
  176. text-align: center;
  177. cursor: pointer;
  178. }
  179. .item-cq {
  180. top: 63%;
  181. left: 17%;
  182. }
  183. .item-js {
  184. top: 4%;
  185. left: 50%;
  186. margin-left: -65px;
  187. }
  188. .item-hg {
  189. top: 63%;
  190. left: 62%;
  191. }
  192. .item-fb {
  193. left: calc(92% - 40px);
  194. }
  195. .item-jcd {
  196. left: 50%;
  197. margin-left: -140px;
  198. top: 1%;
  199. }
  200. .i-label {
  201. font-family: "YouSheBiaoTiHei-2", Microsoft YaHei, serif;
  202. font-weight: 400;
  203. font-size: 20px;
  204. color: #F4FAFF;
  205. text-shadow: 2px 2px 0 #223FA3;
  206. font-style: normal;
  207. text-transform: none;
  208. }
  209. .i-value {
  210. font-family: "YouSheBiaoTiHei-2", Microsoft YaHei, serif;
  211. font-weight: 400;
  212. font-size: 34px;
  213. letter-spacing: 2px;
  214. font-style: normal;
  215. text-transform: none;
  216. text-align: center;
  217. position: absolute;
  218. top: -20px;
  219. width: 100%;
  220. }
  221. .i-normal {
  222. //background: url("@/assets/images/icon-green.png") no-repeat center bottom;
  223. //background-size: 70%;
  224. background: linear-gradient(180deg, #FFFFFF 0%, #6CA0ED 100%);
  225. -webkit-background-clip: text;
  226. letter-spacing: 2px;
  227. text-transform: none;
  228. color: transparent;
  229. }
  230. .i-waring {
  231. color: #F0D90B;
  232. text-shadow: 2px 0 0 #9E9223;
  233. background: url("@/assets/images/icon-yellow.png") no-repeat center bottom;
  234. background-size: 60%;
  235. }
  236. .i-risk {
  237. //background-size: 70%;
  238. background: linear-gradient(180deg, #FFCB7D 0%, #FEB851 100%);
  239. -webkit-background-clip: text;
  240. color: transparent;
  241. }
  242. }
  243. .column-content {
  244. background: rgba(6, 5, 65, 0.8);
  245. box-shadow: inset 0px -3px 14px 0px rgba(112, 210, 253, 0.5);
  246. border: 1px solid;
  247. border-image: linear-gradient(180deg, rgba(0, 136, 194, 0.6), rgba(0, 136, 194, 0.4)) 1 1;
  248. height: calc(70vh - 286px);
  249. padding: 10px;
  250. @include borderBox;
  251. overflow: auto;
  252. .c-row {
  253. font-size: 14px;
  254. @include flexBetween;
  255. //border: 1px solid #8DB2E4;
  256. background: #060541;
  257. box-shadow: inset 0 0 7px 0 #2973C7;
  258. padding: 8px 12px;
  259. margin-top: 4px;
  260. &:first-child {
  261. margin-top: 0;
  262. }
  263. &:nth-child(odd) {
  264. background: #0C1B5B;
  265. box-shadow: inset 0 0 7px 0 #2973C7;
  266. }
  267. .c-item {
  268. width: 40%;
  269. text-align: left;
  270. }
  271. .statue-risk {
  272. width: 60px;
  273. text-align: center;
  274. padding: 1px 0;
  275. border: 1px solid #FFB342;
  276. background-image: linear-gradient(to bottom, #754E1380, #CA8A2940);
  277. color: #FFF;
  278. font-size: 12px;
  279. }
  280. .statue-normal {
  281. @extend .statue-risk;
  282. background-image: linear-gradient(to bottom, #203C6C80, #435D8A40);
  283. border-color: #669FFF;
  284. color: #7DADFF;
  285. }
  286. }
  287. }
  288. .column-content-half {
  289. height: calc(((70vh - 180px) / 2) - 26px);
  290. font-size: 12px;
  291. cursor: pointer;
  292. }
  293. .tab-block {
  294. @include flexCenter;
  295. color: #9FB9E7;
  296. margin-bottom: 10px;
  297. .tab-blue {
  298. background: #3D74FF;
  299. width: 20px;
  300. height: 10px;
  301. display: inline-block;
  302. border-right: 1px;
  303. margin: 0 5px 0 10px;
  304. }
  305. .tab-yellow {
  306. @extend .tab-blue;
  307. background: #FFB342;
  308. }
  309. }
  310. .access-row {
  311. @include flexStart;
  312. padding:2px 0;
  313. .a-r-label {
  314. width: 120px;
  315. text-align: right;
  316. }
  317. .a-r-progress {
  318. width: calc(100% - 110px);
  319. margin-left:10px;
  320. .p-total {
  321. @include flexStart;
  322. width: 100%;
  323. color: #9FB9E7;
  324. margin:2px 0;
  325. .progress {
  326. transition: all .3s;
  327. background-image: linear-gradient(to right, #1D47B0, #3D74FF);
  328. height: 10px;
  329. margin-right: 5px;
  330. border-radius: 0 5px 5px 0;
  331. }
  332. }
  333. .p-error {
  334. .progress {
  335. background-image: linear-gradient(to right, #A36F22, #FFB342);
  336. }
  337. }
  338. }
  339. }
  340. .alarm-ranking {
  341. margin-top: 11px;
  342. }
  343. .alarm-row {
  344. .ranking-title {
  345. margin-bottom: 5px;
  346. @include flexBetween;
  347. .no1 {
  348. color: #FFB342;
  349. font-size: 16px;
  350. font-family: "YouSheBiaoTiHei-2", Microsoft YaHei, serif;
  351. }
  352. .no2 {
  353. @extend .no1;
  354. color: #72D5FF;
  355. }
  356. .no3 {
  357. @extend .no1;
  358. color: #56D4B3;
  359. }
  360. .no-other {
  361. @extend .no1;
  362. color: #A1B3D2;
  363. }
  364. .alarm-num {
  365. color: #9FB9E7;
  366. }
  367. }
  368. }
  369. .alarm-progress {
  370. margin-bottom: 5px;
  371. width: 100%;
  372. height: 10px;
  373. background: #205194;
  374. border-radius: 0 8px 8px 0;
  375. .progress {
  376. transition: all .3s;
  377. background-image: linear-gradient(to right, #1D47B0, #3D74FF);
  378. height: 10px;
  379. margin-right: 5px;
  380. border-radius: 0 8px 8px 0;
  381. }
  382. }
  383. .content-chart {
  384. @include flexBetween;
  385. margin-top: 16px;
  386. &-row {
  387. width: calc(50% - 8px);
  388. margin-left: 16px;
  389. &:first-child {
  390. margin-left: 0;
  391. }
  392. }
  393. .btn-span {
  394. background: linear-gradient(to bottom, #257CFF 0%, #222E7F 100%);
  395. border-radius: 2px 2px 2px 2px;
  396. border: 1px solid;
  397. border-image: linear-gradient(180deg, rgba(149, 223, 255, 1), rgba(114, 213, 255, 1)) 1 1;
  398. font-size: 14px;
  399. cursor: pointer;
  400. line-height: 30px;
  401. padding: 0 10px;
  402. font-weight: bold;
  403. }
  404. .chart-content {
  405. height: 260px;
  406. }
  407. .run-tendency {
  408. @include flexBetween;
  409. align-items: flex-start;
  410. .run-title {
  411. width: 200px;
  412. height: 238px;
  413. overflow: auto;
  414. .r-t-row {
  415. @include flexStart;
  416. padding: 6px 8px;
  417. cursor: pointer;
  418. .r-value {
  419. width: 66px;
  420. line-height: 44px;
  421. background: #0B1254;
  422. box-shadow: inset 0 0 5px 0 #3885DB;
  423. border-radius: 2px 2px 2px 2px;
  424. border: 1px solid #0B0A55;
  425. text-align: center;
  426. font-size: 14px;
  427. color: #C9EFFF;
  428. margin-right: 5px;
  429. }
  430. .r-obj-name {
  431. font-size: 14px;
  432. width: 107px;
  433. height: 20px;
  434. overflow: hidden;
  435. white-space: nowrap;
  436. text-overflow: ellipsis;
  437. }
  438. .r-obj-metrics-name {
  439. font-size: 12px;
  440. color: #9FB9E7;
  441. width: 107px;
  442. margin-top: 5px;
  443. }
  444. &:hover {
  445. background: #162E81;
  446. }
  447. }
  448. .active {
  449. background: #162E81;
  450. }
  451. }
  452. .chart-sort {
  453. width: calc(100% - 210px);
  454. font-size: 14px;
  455. }
  456. }
  457. .health-t {
  458. .el-input__wrapper {
  459. background-image: linear-gradient(to bottom, #28388D, #060443);
  460. box-shadow: 0 0 0 1px #7EC1FF;
  461. }
  462. .el-select .el-input .el-select__caret {
  463. color: white;
  464. }
  465. .el-input__inner {
  466. color: white;
  467. }
  468. .el-input__prefix {
  469. color: white;
  470. }
  471. }
  472. .food-list-footer {
  473. @include flexCenter;
  474. padding-top: 20px;
  475. }
  476. }
  477. }
  478. // 滚动条
  479. ::-webkit-scrollbar {
  480. width: 4px;
  481. }
  482. ::-webkit-scrollbar-track {
  483. // width: 6px;
  484. background: rgba(6, 5, 65, .2)
  485. // -webkit-border-radius: 2em;
  486. // -moz-border-radius: 2em;
  487. // border-radius: 2em;
  488. }
  489. ::-webkit-scrollbar-thumb {
  490. background-color: rgba(6, 5, 65, .8);
  491. background-clip: padding-box;
  492. min-height: 28px;
  493. // -webkit-border-radius: 2em;
  494. // -moz-border-radius: 2em;
  495. // border-radius: 2em;
  496. }
  497. ::-webkit-scrollbar-thumb:hover {
  498. background: #72D5FF;
  499. }