modal.less 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623
  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: #03114ccc;
  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: 5px;
  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;
  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. }
  331. .title-box {
  332. font-family: Geneva, sans-serif;
  333. width: 100%;
  334. text-align: center;
  335. position: absolute;
  336. top: 50px;
  337. font-size: 28px;
  338. color: #ff9900;
  339. letter-spacing: 0.15em;
  340. 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,
  341. 0px 6px 0 #28282822, 0px 7px 0 #28282822, 0px 8px 0 #28282822, 0px 9px 0 #28282822, 0px 10px 0 #28282822, 0px 11px 0 #28282822,
  342. // 0px 12px 0 #181818,
  343. // 0px 13px 0 #161616,
  344. // 0px 14px 0 #141414,
  345. // 0px 15px 0 #121212,
  346. 2px 20px 5px rgba(0, 0, 0, 0.3),
  347. 5px 23px 5px rgba(0, 0, 0, 0.1), 8px 27px 8px rgba(0, 0, 0, 0.2);
  348. // 8px 28px 35px rgba(0, 0, 0, 0.9);
  349. &:before {
  350. content: attr(text);
  351. position: absolute;
  352. z-index: 10;
  353. color: pink;
  354. -webkit-mask: linear-gradient(to left, red, transparent);
  355. }
  356. }
  357. .bottom-tabs-box {
  358. position: absolute;
  359. width: calc(100% - 10px);
  360. height: 280px;
  361. bottom: 20px;
  362. padding: 0 20px;
  363. margin: 0 5px;
  364. &:before {
  365. position: absolute;
  366. content: '';
  367. width: 34px;
  368. height: 315px;
  369. left: 0;
  370. top: -19px;
  371. background: url('/@/assets/images/vent/bottom-tabs-l.png') no-repeat;
  372. background-size: contain;
  373. }
  374. &:after {
  375. position: absolute;
  376. content: '';
  377. width: 34px;
  378. height: 315px;
  379. right: 0;
  380. top: -19px;
  381. background: url('/@/assets/images/vent/bottom-tabs-r.png') no-repeat;
  382. background-size: contain;
  383. }
  384. .tabs-button-group {
  385. position: absolute;
  386. display: flex;
  387. right: 20px;
  388. top: 5px;
  389. z-index: 999;
  390. align-items: center;
  391. pointer-events: auto;
  392. .tabs-button {
  393. margin-right: 10px;
  394. }
  395. }
  396. :deep(.tabs-box) {
  397. position: absolute;
  398. width: calc(100% - 46px);
  399. bottom: 0;
  400. height: 100%;
  401. pointer-events: auto;
  402. // background: linear-gradient(#00daff33, #2081ff11);
  403. background: linear-gradient(#0091aa33, #2081ff11);
  404. // background: radial-gradient(circle at 50% 80%, #3df6ff33, #0038b433);
  405. backdrop-filter: blur(5px);
  406. overflow-y: hidden;
  407. border-radius: 8px;
  408. .tabs-box {
  409. height: 100%;
  410. }
  411. .tab-item {
  412. height: 240px;
  413. color: #fff;
  414. }
  415. .ant-tabs-content,
  416. .vent-table {
  417. height: 100%;
  418. }
  419. .ant-tabs-top > .ant-tabs-nav {
  420. margin: 0 !important;
  421. }
  422. .ant-table-title {
  423. padding: 0 !important;
  424. }
  425. .vent-table {
  426. overflow-y: auto;
  427. .ant-table-column-title,
  428. .ant-table-thead > tr > th {
  429. color: #39f2ff !important;
  430. }
  431. .ant-progress-text {
  432. color: #fff !important;
  433. }
  434. }
  435. .ant-tabs-nav {
  436. margin-bottom: 0px !important;
  437. }
  438. .ant-tabs-nav-wrap {
  439. padding-left: 10px !important;
  440. }
  441. .ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn {
  442. color: #28f3f3 !important;
  443. }
  444. .ant-tabs-ink-bar {
  445. background: #28f3f3;
  446. }
  447. .ant-tabs-top > .ant-tabs-nav::before {
  448. border-color: #f0f0f022 !important;
  449. }
  450. }
  451. }
  452. }
  453. .state-icon {
  454. display: inline-block;
  455. width: 11px;
  456. height: 11px;
  457. border-radius: 6px;
  458. margin-right: 6px;
  459. }
  460. .open {
  461. border: 2px solid #133a56;
  462. background: #4ecb73;
  463. }
  464. // .gray {
  465. // border: 2px solid #898fa144;
  466. // background: #898fa1;
  467. // }
  468. .close {
  469. border: 2px solid #ff1818;
  470. background: #ff8888;
  471. animation: close 1s infinite;
  472. }
  473. @keyframes close {
  474. 0% {
  475. border: 2px solid #ff8888;
  476. background: #ff3538;
  477. }
  478. 50% {
  479. border: 2px solid #ff0000;
  480. background: #c90000;
  481. }
  482. 100% {
  483. border: 2px solid #ff8888;
  484. background: #ff3538;
  485. }
  486. }
  487. .data-title {
  488. color: #eee;
  489. }
  490. .signal-item {
  491. display: flex;
  492. justify-content: space-between;
  493. align-items: center;
  494. .signal-round {
  495. display: inline-block;
  496. width: 8px;
  497. height: 8px;
  498. border-radius: 50%;
  499. margin: 0 10px;
  500. position: relative;
  501. &::after {
  502. display: block;
  503. content: '';
  504. position: absolute;
  505. width: 12px;
  506. height: 12px;
  507. top: -2px;
  508. left: -2px;
  509. border-radius: 50%;
  510. }
  511. }
  512. .signal-round-gry {
  513. background-color: #858585;
  514. &::after {
  515. background-color: #85858544;
  516. box-shadow: 0 0 1px 1px #85858599;
  517. }
  518. }
  519. .signal-round-run {
  520. background-color: #67fc00;
  521. &::after {
  522. background-color: #67fc0044;
  523. box-shadow: 0 0 1px 1px #c6ff77;
  524. }
  525. }
  526. .signal-round-warning {
  527. background-color: #e9170b;
  528. &::after {
  529. background-color: #e9170b44;
  530. box-shadow: 0 0 1px 1px #e9170b;
  531. }
  532. }
  533. }
  534. /* 模态框样式 */
  535. :deep(.modal-container) {
  536. min-height: 100px;
  537. padding: 20px;
  538. .label {
  539. margin-right: 15px;
  540. font-size: 15px;
  541. font-weight: 600;
  542. color: #70e0f7;
  543. }
  544. .warning-text {
  545. margin-left: 10px;
  546. font-size: 16px;
  547. }
  548. .input-box {
  549. margin-top: 20px;
  550. }
  551. .startSmoke-select {
  552. display: flex;
  553. margin: 15px 12px;
  554. }
  555. }
  556. :deep(.ant-table-thead) {
  557. // background: linear-gradient(#003f77 0%, #004a86aa 10%); //#003f77, #0a134c
  558. background-color: #3d9dd433 !important;
  559. & > tr > th,
  560. .ant-table-column-title {
  561. // color: #70f9fc !important;
  562. color: #39f2ff !important;
  563. border-color: #91e9fe55 !important;
  564. border-left: none !important;
  565. // border-right: none !important;
  566. &:last-child {
  567. border-right: none !important;
  568. }
  569. }
  570. }
  571. :deep(.ant-table-tbody) {
  572. tr.ant-table-row-selected {
  573. td {
  574. background: #007cc422 !important;
  575. }
  576. }
  577. tr > td {
  578. background: #007cc405 !important;
  579. }
  580. }
  581. // .jeecg-basic-table-row__striped {
  582. // // background: #97efff11 !important;
  583. // td {
  584. // background-color: #97efff00 !important;
  585. // // background-color: @vent-table-hover !important;
  586. // }
  587. // }
  588. :deep(.ant-form) {
  589. padding: 0 !important;
  590. border: none !important;
  591. margin-bottom: 0 !important;
  592. }
  593. :deep(.ant-picker),
  594. :deep(.ant-select-selector) {
  595. // width: 100% !important;
  596. background: #00000017 !important;
  597. border: 1px solid @vent-form-item-boder !important;
  598. input,
  599. .ant-select-selection-item,
  600. .ant-picker-suffix {
  601. color: #fff !important;
  602. }
  603. .ant-select-selection-placeholder {
  604. color: #b7b7b7 !important;
  605. }
  606. }
  607. :deep(.ant-select-arrow),
  608. :deep(.ant-picker-separator) {
  609. color: #fff !important;
  610. }
  611. :deep(.ant-picker-dropdown) {
  612. top: 0 !important;
  613. left: 0 !important;
  614. }