modal.less 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625
  1. @import './color.less';
  2. .bg {
  3. width: 100%;
  4. height: 100%;
  5. background: url('/@/assets/images/vent/bg1.png') no-repeat;
  6. background-size: cover;
  7. //background-repeat: no-repeat;
  8. position: relative;
  9. &::before {
  10. content: '';
  11. width: 100%;
  12. height: 100%;
  13. display: block;
  14. position: absolute;
  15. left: 0;
  16. top: 0;
  17. background: #09172c;
  18. }
  19. .threejs-Object-CSS {
  20. pointer-events: none;
  21. .elementContent {
  22. // background-color: rgb(20 143 221 / 40%);
  23. // box-shadow: 0px 0px 12px rgb(0 128 255 / 75%);
  24. // border: 1px solid rgb(127 177 255 / 75%);
  25. // padding: 10px 20px 0px 20px;
  26. background-color: rgba(0, 0, 0, 0.3);
  27. box-shadow: 0px 0px 40px rgb(0 90 131 / 55%) inset;
  28. border: 2px solid rgb(153 176 195 / 55%);
  29. padding: 15px 20px 0px 20px;
  30. color: #efefef;
  31. &::before {
  32. content: '';
  33. display: block;
  34. position: absolute;
  35. width: 80px;
  36. height: 1px;
  37. background: rgb(127 177 255 / 75%);
  38. bottom: 0;
  39. right: -80px;
  40. transform-origin: 0 0;
  41. transform: rotate(30deg);
  42. }
  43. &::after {
  44. content: '';
  45. display: block;
  46. position: absolute;
  47. width: 21px;
  48. height: 21px;
  49. border: 4px solid #f2a811;
  50. background: rgba(173, 204, 253, 0.75);
  51. bottom: -55px;
  52. right: -85px;
  53. border-radius: 50%;
  54. //animation: sign 1s infinite;
  55. }
  56. }
  57. .elementContent-r {
  58. &::before {
  59. content: '';
  60. display: block;
  61. position: absolute;
  62. width: 80px;
  63. height: 1px;
  64. background: rgb(127 177 255 / 75%);
  65. bottom: 0;
  66. right: 85px;
  67. transform-origin: 0 0;
  68. transform: rotate(150deg);
  69. }
  70. &::after {
  71. content: '';
  72. display: block;
  73. position: absolute;
  74. width: 21px;
  75. height: 21px;
  76. border: 4px solid #f2a811;
  77. background: rgb(127 177 255 / 75%);
  78. bottom: -55px;
  79. right: 230px;
  80. border-radius: 50%;
  81. //animation: sign 1s infinite;
  82. }
  83. }
  84. @keyframes sign {
  85. 0% {
  86. background: #d35d00;
  87. }
  88. 50% {
  89. background: #ffd8b9;
  90. }
  91. 100% {
  92. background: #d35d00;
  93. }
  94. }
  95. }
  96. .hot-point {
  97. .status {
  98. width: 30px;
  99. height: 30px;
  100. position: relative;
  101. .animate1,
  102. .animate2 {
  103. background: #fff;
  104. width: 30px;
  105. height: 30px;
  106. border-radius: 100%;
  107. position: absolute;
  108. left: 0;
  109. top: 0;
  110. z-index: 1;
  111. }
  112. .animate1 {
  113. -webkit-animation: circle 2s 0s ease-out infinite running;
  114. animation: circle 2s 0s ease-out infinite running;
  115. }
  116. .animate2 {
  117. -webkit-animation: circle 2s 1s ease-out infinite running;
  118. animation: circle 2s 1s ease-out infinite running;
  119. }
  120. }
  121. @keyframes circle {
  122. 0% {
  123. -webkit-transform: scale(1);
  124. transform: scale(1);
  125. opacity: 1;
  126. }
  127. 100% {
  128. -webkit-transform: scale(1.8);
  129. transform: scale(1.8);
  130. opacity: 0.1;
  131. }
  132. }
  133. .solid {
  134. width: 100%;
  135. height: 100%;
  136. position: absolute;
  137. z-index: 999;
  138. left: 0;
  139. top: 0;
  140. background: #fff;
  141. border-radius: 100%;
  142. }
  143. }
  144. .device-detail {
  145. width: 100%;
  146. height: 100%;
  147. position: absolute;
  148. overflow: hidden;
  149. // pointer-events: none !important;
  150. .device-card {
  151. width: 329px;
  152. height: 247px;
  153. background: url('/@/assets/images/vent/device-detail-card.png') no-repeat;
  154. background-size: 100%;
  155. z-index: 99;
  156. position: relative;
  157. pointer-events: none;
  158. .title {
  159. color: #fff;
  160. font-family: 'douyuFont';
  161. text-align: center;
  162. font-size: 12px;
  163. padding-top: 15px;
  164. }
  165. .detail-box {
  166. display: flex;
  167. flex-direction: row;
  168. .left-box {
  169. width: 164px;
  170. height: 152px;
  171. background: url('/@/assets/images/vent/device-left-bg.png') no-repeat;
  172. background-size: contain;
  173. position: relative;
  174. margin-top: 10px;
  175. }
  176. .right-box {
  177. width: 165px;
  178. height: 160px;
  179. color: #ffffff99;
  180. padding: 10px 10px 10px 0;
  181. overflow-y: auto;
  182. pointer-events: auto;
  183. .detail-title {
  184. color: #ffd80a;
  185. }
  186. }
  187. }
  188. }
  189. }
  190. }
  191. .scene-box {
  192. width: 100%;
  193. height: 100%;
  194. position: absolute;
  195. z-index: 999;
  196. left: 0;
  197. top: 0;
  198. pointer-events: none;
  199. display: flex;
  200. flex-direction: column;
  201. justify-items: center;
  202. overflow: hidden;
  203. .top-box {
  204. position: absolute;
  205. top: 50px;
  206. width: 100%;
  207. height: 50px;
  208. // background-image: linear-gradient(to right, #046ad500, #006effe7, #046ad500);
  209. display: flex;
  210. align-items: center;
  211. pointer-events: auto;
  212. .row {
  213. color: #fff;
  214. display: flex;
  215. }
  216. .top-left {
  217. width: 400px;
  218. height: 100%;
  219. font-size: 16px;
  220. display: flex;
  221. align-items: center;
  222. padding-left: 20px;
  223. position: relative;
  224. background: url('/@/assets/images/vent/tj.png') no-repeat;
  225. background-position: center right;
  226. background-size: auto 100%;
  227. cursor: pointer;
  228. padding-right: 80px;
  229. color: #ffffff;
  230. letter-spacing: 0.15em;
  231. text-shadow: -1px -1px 1px #0084ff, 0px 1px 0 #28282822, 0px 2px 0 #28282822, 0px 3px 0 #28282822, 0px 4px 0 #28282822, 0px 5px 0 #28282822,
  232. 0px 6px 0 #28282822, 0px 7px 0 #28282822, 0px 8px 0 #28282822, 0px 9px 0 #28282822,
  233. // 0px 10px 0 #28282822,
  234. // 0px 11px 0 #28282822,
  235. // 0px 12px 0 #181818,
  236. // 0px 13px 0 #161616,
  237. // 0px 14px 0 #141414,
  238. // 0px 15px 0 #121212,
  239. 2px 20px 5px rgba(0, 0, 0, 0.3),
  240. 5px 23px 5px rgba(0, 0, 0, 0.1), 8px 27px 8px rgba(0, 0, 0, 0.2);
  241. &::after {
  242. width: calc(100% - 105px);
  243. height: 100%;
  244. content: '';
  245. position: absolute;
  246. display: block;
  247. bottom: 1px;
  248. border-bottom: 3px solid #5595ff;
  249. }
  250. }
  251. .top-center {
  252. flex: 1.5;
  253. }
  254. .top-right {
  255. flex: 1;
  256. justify-content: right;
  257. .run-type {
  258. margin: 0 10px;
  259. }
  260. .control-title {
  261. color: #73e8fe;
  262. // color: rgb(0, 255, 242);// 64D5FF
  263. }
  264. }
  265. :deep(.button-box) {
  266. position: relative;
  267. padding: 5px;
  268. // border: 1px transparent solid;
  269. border-radius: 5px;
  270. margin-left: 8px;
  271. margin-right: 8px;
  272. width: auto;
  273. // height: 40px;
  274. // border: 1px solid #65dbea;
  275. height: 35px !important;
  276. display: flex;
  277. align-items: center;
  278. justify-content: center;
  279. color: #fff;
  280. padding: 0 15px 5px 15px;
  281. cursor: pointer;
  282. &:hover {
  283. background: linear-gradient(#2cd1ff55, #1eb0ff55);
  284. }
  285. &::before {
  286. width: calc(100% - 6px);
  287. height: 27px;
  288. content: '';
  289. position: absolute;
  290. top: 3px;
  291. right: 0;
  292. left: 3px;
  293. bottom: 0;
  294. z-index: -1;
  295. border-radius: inherit; /*important*/
  296. background: linear-gradient(#1fa6cb, #127cb5);
  297. }
  298. &::after {
  299. width: calc(100% + 32px);
  300. height: 10px;
  301. content: '';
  302. position: absolute;
  303. top: 35px;
  304. right: 0;
  305. left: -16px;
  306. bottom: 0;
  307. z-index: -1;
  308. border-radius: inherit; /*important*/
  309. background: url('/@/assets/images/vent/short-light.png') no-repeat;
  310. background-position: center;
  311. background-size: 100%;
  312. z-index: 999;
  313. }
  314. }
  315. :deep(.button-disable) {
  316. border: 1px solid #66989e !important;
  317. &:hover {
  318. background: none !important;
  319. }
  320. &::before {
  321. background: linear-gradient(#1fa6cbcc, #127cb5cc) !important;
  322. }
  323. }
  324. }
  325. .title-text {
  326. color: #ffffff;
  327. font-size: 16px;
  328. text-align: center;
  329. line-height: 32px;
  330. position: relative;
  331. top: 47px;
  332. }
  333. .title-box {
  334. font-family: Geneva, sans-serif;
  335. width: 100%;
  336. text-align: center;
  337. position: absolute;
  338. top: 50px;
  339. font-size: 28px;
  340. color: #ff9900;
  341. letter-spacing: 0.15em;
  342. text-shadow: -1px -1px 1px #efede3, 0px 1px 0 #28282822, 0px 2px 0 #28282822, 0px 3px 0 #28282822, 0px 4px 0 #28282822, 0px 5px 0 #28282822,
  343. 0px 6px 0 #28282822, 0px 7px 0 #28282822, 0px 8px 0 #28282822, 0px 9px 0 #28282822, 0px 10px 0 #28282822, 0px 11px 0 #28282822,
  344. // 0px 12px 0 #181818,
  345. // 0px 13px 0 #161616,
  346. // 0px 14px 0 #141414,
  347. // 0px 15px 0 #121212,
  348. 2px 20px 5px rgba(0, 0, 0, 0.3),
  349. 5px 23px 5px rgba(0, 0, 0, 0.1), 8px 27px 8px rgba(0, 0, 0, 0.2);
  350. // 8px 28px 35px rgba(0, 0, 0, 0.9);
  351. &:before {
  352. content: attr(text);
  353. position: absolute;
  354. z-index: 10;
  355. color: pink;
  356. -webkit-mask: linear-gradient(to left, red, transparent);
  357. }
  358. }
  359. .bottom-tabs-box {
  360. position: absolute;
  361. width: calc(100% - 10px);
  362. height: 280px;
  363. bottom: 20px;
  364. padding: 0 20px;
  365. margin: 0 5px;
  366. &:before {
  367. position: absolute;
  368. content: '';
  369. width: 34px;
  370. height: 315px;
  371. left: 0;
  372. top: -19px;
  373. background: url('/@/assets/images/vent/bottom-tabs-l.png') no-repeat;
  374. background-size: contain;
  375. }
  376. &:after {
  377. position: absolute;
  378. content: '';
  379. width: 34px;
  380. height: 315px;
  381. right: 0;
  382. top: -19px;
  383. background: url('/@/assets/images/vent/bottom-tabs-r.png') no-repeat;
  384. background-size: contain;
  385. }
  386. .tabs-button-group {
  387. position: absolute;
  388. display: flex;
  389. right: 20px;
  390. top: 5px;
  391. z-index: 999;
  392. align-items: center;
  393. pointer-events: auto;
  394. .tabs-button {
  395. margin-right: 10px;
  396. }
  397. }
  398. :deep(.tabs-box) {
  399. position: absolute;
  400. width: calc(100% - 46px);
  401. bottom: 0;
  402. height: 100%;
  403. pointer-events: auto;
  404. // background: linear-gradient(#00daff33, #2081ff11);
  405. background: linear-gradient(#0091aa33, #2081ff11);
  406. // background: radial-gradient(circle at 50% 80%, #3df6ff33, #0038b433);
  407. backdrop-filter: blur(5px);
  408. overflow-y: hidden;
  409. border-radius: 8px;
  410. .tabs-box {
  411. height: 100%;
  412. }
  413. .tab-item {
  414. height: 240px;
  415. color: #fff;
  416. }
  417. .@{ventSpace}-tabs-content,
  418. .vent-table {
  419. height: 100%;
  420. }
  421. .@{ventSpace}-tabs-top > .@{ventSpace}-tabs-nav {
  422. margin: 0 !important;
  423. }
  424. .@{ventSpace}-table-title {
  425. padding: 0 !important;
  426. }
  427. .vent-table {
  428. overflow-y: auto;
  429. .@{ventSpace}-table-column-title,
  430. .@{ventSpace}-table-thead > tr > th {
  431. color: #84f2ff !important;
  432. }
  433. .@{ventSpace}-progress-text {
  434. color: #fff !important;
  435. }
  436. }
  437. .@{ventSpace}-tabs-nav {
  438. margin-bottom: 0px !important;
  439. }
  440. .@{ventSpace}-tabs-nav-wrap {
  441. padding-left: 10px !important;
  442. }
  443. .@{ventSpace}-tabs-tab.@{ventSpace}-tabs-tab-active .@{ventSpace}-tabs-tab-btn {
  444. color: #28f3f3 !important;
  445. }
  446. .@{ventSpace}-tabs-ink-bar {
  447. background: #28f3f3;
  448. }
  449. .@{ventSpace}-tabs-top > .@{ventSpace}-tabs-nav::before {
  450. border-color: #f0f0f022 !important;
  451. }
  452. }
  453. }
  454. }
  455. .state-icon {
  456. display: inline-block;
  457. width: 11px;
  458. height: 11px;
  459. border-radius: 6px;
  460. margin-right: 6px;
  461. }
  462. .open {
  463. border: 2px solid #133a56;
  464. background: #4ecb73;
  465. }
  466. // .gray {
  467. // border: 2px solid #898fa144;
  468. // background: #898fa1;
  469. // }
  470. .close {
  471. border: 2px solid #ff1818;
  472. background: #ff8888;
  473. animation: close 1s infinite;
  474. }
  475. @keyframes close {
  476. 0% {
  477. border: 2px solid #ff8888;
  478. background: #ff3538;
  479. }
  480. 50% {
  481. border: 2px solid #ff0000;
  482. background: #c90000;
  483. }
  484. 100% {
  485. border: 2px solid #ff8888;
  486. background: #ff3538;
  487. }
  488. }
  489. .data-title {
  490. color: #eee;
  491. }
  492. .signal-item {
  493. display: flex;
  494. justify-content: space-between;
  495. align-items: center;
  496. .signal-round {
  497. display: inline-block;
  498. width: 8px;
  499. height: 8px;
  500. border-radius: 50%;
  501. margin: 0 10px;
  502. position: relative;
  503. &::after {
  504. display: block;
  505. content: '';
  506. position: absolute;
  507. width: 12px;
  508. height: 12px;
  509. top: -2px;
  510. left: -2px;
  511. border-radius: 50%;
  512. }
  513. }
  514. .signal-round-gry {
  515. background-color: #858585;
  516. &::after {
  517. background-color: #85858544;
  518. box-shadow: 0 0 1px 1px #85858599;
  519. }
  520. }
  521. .signal-round-run {
  522. background-color: #67fc00;
  523. &::after {
  524. background-color: #67fc0044;
  525. box-shadow: 0 0 1px 1px #c6ff77;
  526. }
  527. }
  528. .signal-round-warning {
  529. background-color: #e9170b;
  530. &::after {
  531. background-color: #e9170b44;
  532. box-shadow: 0 0 1px 1px #e9170b;
  533. }
  534. }
  535. }
  536. /* 模态框样式 */
  537. :deep(.modal-container) {
  538. min-height: 100px;
  539. padding: 20px;
  540. .label {
  541. margin-right: 15px;
  542. font-size: 15px;
  543. font-weight: 600;
  544. color: #70e0f7;
  545. }
  546. .warning-text {
  547. margin-left: 10px;
  548. font-size: 16px;
  549. }
  550. .input-box {
  551. margin-top: 20px;
  552. }
  553. .startSmoke-select {
  554. display: flex;
  555. margin: 15px 12px;
  556. }
  557. }
  558. :deep(.@{ventSpace}-table-thead) {
  559. // background: linear-gradient(#003f77 0%, #004a86aa 10%); //#003f77, #0a134c
  560. background-color: #3d9dd433 !important;
  561. & > tr > th,
  562. .@{ventSpace}-table-column-title {
  563. // color: #70f9fc !important;
  564. color: #84f2ff !important;
  565. border-color: #91e9fe55 !important;
  566. border-left: none !important;
  567. // border-right: none !important;
  568. &:last-child {
  569. border-right: none !important;
  570. }
  571. }
  572. }
  573. :deep(.@{ventSpace}-table-tbody) {
  574. tr.@{ventSpace}-table-row-selected {
  575. td {
  576. background: #007cc422 !important;
  577. }
  578. }
  579. tr > td {
  580. background: #007cc405 !important;
  581. }
  582. }
  583. // .jeecg-basic-table-row__striped {
  584. // // background: #97efff11 !important;
  585. // td {
  586. // background-color: #97efff00 !important;
  587. // // background-color: @vent-table-hover !important;
  588. // }
  589. // }
  590. :deep(.@{ventSpace}-form) {
  591. padding: 0 !important;
  592. border: none !important;
  593. margin-bottom: 0 !important;
  594. }
  595. :deep(.@{ventSpace}-picker),
  596. :deep(.@{ventSpace}-select-selector) {
  597. // width: 100% !important;
  598. background: #00000017 !important;
  599. border: 1px solid @vent-form-item-boder !important;
  600. input,
  601. .@{ventSpace}-select-selection-item,
  602. .@{ventSpace}-picker-suffix {
  603. color: #fff !important;
  604. }
  605. .@{ventSpace}-select-selection-placeholder {
  606. color: #b7b7b7 !important;
  607. }
  608. }
  609. :deep(.@{ventSpace}-select-arrow),
  610. :deep(.@{ventSpace}-picker-separator) {
  611. color: #fff !important;
  612. }
  613. :deep(.@{ventSpace}-picker-dropdown) {
  614. top: 0 !important;
  615. left: 0 !important;
  616. }