modal.less 14 KB

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