modal.less 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644
  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: var(--vent-base-color);
  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: 330px;
  367. bottom: 5px;
  368. // padding: 0 10px;
  369. margin: 0px;
  370. pointer-events: auto;
  371. z-index: 9999;
  372. // &:before {
  373. // position: absolute;
  374. // content: '';
  375. // width: 2px;
  376. // height: calc(100% + 55px);
  377. // left: 2px;
  378. // top: -19px;
  379. // background-image: linear-gradient(#00F7FF05, #00F7FF, #00F7FF05);
  380. // background-position: center;
  381. // // background: url('/@/assets/images/vent/bottom-tabs-l.png') no-repeat;
  382. // // background-size: contain;
  383. // }
  384. // &:after {
  385. // position: absolute;
  386. // content: '';
  387. // width: 2px;
  388. // height: calc(100% + 55px);
  389. // right: 7px;
  390. // top: -19px;
  391. // background-image: linear-gradient(#00F7FF05, #00F7FF, #00F7FF05);
  392. // background-position: center;
  393. // // background: url('/@/assets/images/vent/bottom-tabs-r.png') no-repeat;
  394. // // background-size: contain;
  395. // }
  396. .dv_border_8{
  397. position: relative;
  398. .enter-detail {
  399. color: #fff;
  400. cursor: pointer;
  401. position: absolute;
  402. right: 120px;
  403. top: -6px;
  404. padding: 5px;
  405. border-radius: 5px;
  406. margin-left: 8px;
  407. margin-right: 8px;
  408. width: auto;
  409. height: 33px !important;
  410. display: flex;
  411. align-items: center;
  412. justify-content: center;
  413. color: #fff;
  414. padding: 5px 15px 5px 15px;
  415. cursor: pointer;
  416. right: 20px;
  417. top: 6px;
  418. z-index: 99;
  419. &:hover {
  420. background: linear-gradient(#2cd1ff55, #1eb0ff55);
  421. }
  422. &::before {
  423. width: calc(100% - 6px);
  424. height: 27px;
  425. content: '';
  426. position: absolute;
  427. top: 3px;
  428. right: 0;
  429. left: 3px;
  430. bottom: 0;
  431. z-index: -1;
  432. border-radius: inherit;
  433. /*important*/
  434. background: linear-gradient(#1fa6cb, #127cb5);
  435. }
  436. }
  437. }
  438. .tabs-button-group {
  439. position: absolute;
  440. display: flex;
  441. right: 20px;
  442. top: 5px;
  443. z-index: 999;
  444. align-items: center;
  445. pointer-events: auto;
  446. .tabs-button {
  447. margin-right: 10px;
  448. }
  449. }
  450. :deep(.tabs-box) {
  451. position: absolute;
  452. width: calc(100%);
  453. bottom: 0px;
  454. height: calc(100% - 0px);
  455. pointer-events: auto;
  456. // background: #02263aaa;
  457. // background: linear-gradient(#00daff33, #2081ff11);
  458. background: linear-gradient(#0091aa33, #2081ff11);
  459. // background: radial-gradient(circle at 50% 80%, #3df6ff33, #0038b433);
  460. backdrop-filter: blur(18px);
  461. overflow-y: hidden;
  462. border-radius: 8px;
  463. .tabs-box {
  464. height: 100%;
  465. }
  466. .tab-item {
  467. height: 240px;
  468. color: #fff;
  469. }
  470. // .@{ventSpace}-tabs-content,
  471. // .vent-table {
  472. // height: calc(100% - 10px);
  473. // }
  474. // .@{ventSpace}-tabs-content{
  475. // height: calc(100% - 10px);
  476. // }
  477. .@{ventSpace}-tabs-top > .@{ventSpace}-tabs-nav {
  478. margin: 0 !important;
  479. }
  480. .@{ventSpace}-table-title {
  481. padding: 0 !important;
  482. }
  483. .vent-table {
  484. .@{ventSpace}-table-column-title,
  485. .@{ventSpace}-table-thead > tr > th {
  486. color: #84f2ff !important;
  487. }
  488. .@{ventSpace}-progress-text {
  489. color: #fff !important;
  490. }
  491. }
  492. .@{ventSpace}-tabs-nav {
  493. margin-bottom: 0px !important;
  494. }
  495. .@{ventSpace}-tabs-nav-wrap {
  496. padding-left: 10px !important;
  497. }
  498. .@{ventSpace}-tabs-tab.@{ventSpace}-tabs-tab-active .@{ventSpace}-tabs-tab-btn {
  499. color: #28f3f3 !important;
  500. }
  501. .@{ventSpace}-tabs-ink-bar {
  502. background: #28f3f3;
  503. }
  504. .@{ventSpace}-tabs-top > .@{ventSpace}-tabs-nav::before {
  505. border-color: #f0f0f022 !important;
  506. }
  507. }
  508. }
  509. }
  510. .state-icon {
  511. display: inline-block;
  512. width: 11px;
  513. height: 11px;
  514. border-radius: 6px;
  515. margin-right: 6px;
  516. }
  517. .open {
  518. border: 2px solid #133a56;
  519. background: #4ecb73;
  520. }
  521. // .gray {
  522. // border: 2px solid #898fa144;
  523. // background: #898fa1;
  524. // }
  525. .close {
  526. border: 2px solid #ff1818;
  527. background: #ff8888;
  528. animation: close 1s infinite;
  529. }
  530. @keyframes close {
  531. 0% {
  532. border: 2px solid #ff8888;
  533. background: #ff3538;
  534. }
  535. 50% {
  536. border: 2px solid #ff0000;
  537. background: #c90000;
  538. }
  539. 100% {
  540. border: 2px solid #ff8888;
  541. background: #ff3538;
  542. }
  543. }
  544. .data-title {
  545. color: #eee;
  546. }
  547. .signal-item {
  548. display: flex;
  549. justify-content: space-between;
  550. align-items: center;
  551. }
  552. /* 模态框样式 */
  553. :deep(.modal-container) {
  554. min-height: 100px;
  555. padding: 20px;
  556. .label {
  557. margin-right: 15px;
  558. font-size: 15px;
  559. font-weight: 600;
  560. color: #70e0f7;
  561. }
  562. .warning-text {
  563. margin-left: 10px;
  564. font-size: 16px;
  565. }
  566. .input-box {
  567. margin-top: 20px;
  568. }
  569. .startSmoke-select {
  570. display: flex;
  571. margin: 15px 12px;
  572. }
  573. }
  574. :deep(.@{ventSpace}-table-thead) {
  575. // background: linear-gradient(#003f77 0%, #004a86aa 10%); //#003f77, #0a134c
  576. background-color: #3d9dd433 !important;
  577. & > tr > th,
  578. .@{ventSpace}-table-column-title {
  579. // color: #70f9fc !important;
  580. color: #84f2ff !important;
  581. border-color: #91e9fe55 !important;
  582. border-left: none !important;
  583. // border-right: none !important;
  584. &:last-child {
  585. border-right: none !important;
  586. }
  587. }
  588. }
  589. :deep(.@{ventSpace}-table-tbody) {
  590. tr.@{ventSpace}-table-row-selected {
  591. td {
  592. background: #007cc422 !important;
  593. }
  594. }
  595. tr > td {
  596. background: #007cc405 !important;
  597. }
  598. }
  599. // .jeecg-basic-table-row__striped {
  600. // // background: #97efff11 !important;
  601. // td {
  602. // background-color: #97efff00 !important;
  603. // // background-color: @vent-table-hover !important;
  604. // }
  605. // }
  606. :deep(.@{ventSpace}-form) {
  607. padding: 0 !important;
  608. border: none !important;
  609. margin-bottom: 0 !important;
  610. }
  611. :deep(.@{ventSpace}-picker),
  612. :deep(.@{ventSpace}-select-selector) {
  613. // width: 100% !important;
  614. // height: 30px !important;
  615. background: #00000017 !important;
  616. border: 1px solid @vent-form-item-boder !important;
  617. input,
  618. .@{ventSpace}-select-selection-item,
  619. .@{ventSpace}-picker-suffix {
  620. color: #fff !important;
  621. }
  622. .@{ventSpace}-select-selection-placeholder {
  623. color: #b7b7b7 !important;
  624. }
  625. }
  626. :deep(.@{ventSpace}-select-arrow),
  627. :deep(.@{ventSpace}-picker-separator) {
  628. color: #fff !important;
  629. }
  630. :deep(.@{ventSpace}-picker-dropdown) {
  631. top: 0 !important;
  632. left: 0 !important;
  633. }