modal.less 16 KB

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