modal.less 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446
  1. .bg {
  2. width: 100%;
  3. height: 100%;
  4. //background: url('/@/assets/images/vent/bg.png');
  5. //background-repeat: no-repeat;
  6. //background-size: cover;
  7. position: relative;
  8. .threejs-Object-CSS {
  9. .elementContent {
  10. background-color: rgb(20 143 221 / 40%);
  11. box-shadow: 0px 0px 12px rgb(0 128 255 / 75%);
  12. border: 1px solid rgb(127 177 255 / 75%);
  13. padding: 10px 20px 0px 20px;
  14. color: #efefef;
  15. &::before {
  16. content: '';
  17. display: block;
  18. position: absolute;
  19. width: 80px;
  20. height: 1px;
  21. background: rgb(127 177 255 / 75%);
  22. bottom: 0;
  23. right: -80px;
  24. transform-origin: 0 0;
  25. transform: rotate(30deg);
  26. }
  27. &::after {
  28. content: '';
  29. display: block;
  30. position: absolute;
  31. width: 21px;
  32. height: 21px;
  33. border: 4px solid #755cf8;
  34. background: rgba(173, 204, 253, 0.75);
  35. bottom: -55px;
  36. right: -85px;
  37. border-radius: 50%;
  38. //animation: sign 1s infinite;
  39. }
  40. }
  41. .elementContent-r {
  42. &::before {
  43. content: '';
  44. display: block;
  45. position: absolute;
  46. width: 80px;
  47. height: 1px;
  48. background: rgb(127 177 255 / 75%);
  49. bottom: 0;
  50. right: 85px;
  51. transform-origin: 0 0;
  52. transform: rotate(150deg);
  53. }
  54. &::after {
  55. content: '';
  56. display: block;
  57. position: absolute;
  58. width: 21px;
  59. height: 21px;
  60. border: 4px solid #f2a811;
  61. background: rgb(127 177 255 / 75%);
  62. bottom: -55px;
  63. right: 230px;
  64. border-radius: 50%;
  65. //animation: sign 1s infinite;
  66. }
  67. }
  68. @keyframes sign {
  69. 0% {
  70. background: #d35d00;
  71. }
  72. 50% {
  73. background: #ffd8b9;
  74. }
  75. 100% {
  76. background: #d35d00;
  77. }
  78. }
  79. }
  80. }
  81. .scene-box {
  82. width: 100%;
  83. height: 100%;
  84. position: absolute;
  85. z-index: 999;
  86. left: 0;
  87. top: 0;
  88. pointer-events: none;
  89. display: flex;
  90. flex-direction: column;
  91. justify-items: center;
  92. overflow: hidden;
  93. .top-box {
  94. position: absolute;
  95. top: 5px;
  96. width: 100%;
  97. height: 50px;
  98. // background-image: linear-gradient(to right, #046ad500, #006effe7, #046ad500);
  99. display: flex;
  100. align-items: center;
  101. pointer-events: auto;
  102. .row {
  103. color: #fff;
  104. display: flex;
  105. }
  106. .top-left {
  107. width: 400px;
  108. height: 100%;
  109. font-size: 16px;
  110. display: flex;
  111. align-items: center;
  112. padding-left: 20px;
  113. position: relative;
  114. background: url('/@/assets/images/vent/tj.png') no-repeat;
  115. background-position: center right;
  116. background-size: auto 100%;
  117. cursor: pointer;
  118. padding-right: 80px;
  119. color: #ffffff;
  120. letter-spacing: 0.15em;
  121. 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,
  122. 0px 6px 0 #28282822, 0px 7px 0 #28282822, 0px 8px 0 #28282822, 0px 9px 0 #28282822,
  123. // 0px 10px 0 #28282822,
  124. // 0px 11px 0 #28282822,
  125. // 0px 12px 0 #181818,
  126. // 0px 13px 0 #161616,
  127. // 0px 14px 0 #141414,
  128. // 0px 15px 0 #121212,
  129. 2px 20px 5px rgba(0, 0, 0, 0.3),
  130. 5px 23px 5px rgba(0, 0, 0, 0.1), 8px 27px 8px rgba(0, 0, 0, 0.2);
  131. &::after {
  132. width: calc(100% - 105px);
  133. height: 100%;
  134. content: '';
  135. position: absolute;
  136. display: block;
  137. bottom: 1px;
  138. border-bottom: 3px solid #5595ff;
  139. }
  140. }
  141. .top-center {
  142. flex: 1.5;
  143. }
  144. .top-right {
  145. flex: 1;
  146. justify-content: right;
  147. .run-type {
  148. margin: 0 10px;
  149. }
  150. .control-title {
  151. color: #73e8fe;
  152. // color: rgb(0, 255, 242);// 64D5FF
  153. }
  154. }
  155. .button-box {
  156. position: relative;
  157. padding: 5px;
  158. // border: 1px transparent solid;
  159. border-radius: 5px;
  160. margin-left: 8px;
  161. margin-right: 8px;
  162. width: auto;
  163. // height: 40px;
  164. // border: 1px solid #65dbea;
  165. height: 35px !important;
  166. display: flex;
  167. align-items: center;
  168. justify-content: center;
  169. color: #fff;
  170. padding: 0 15px;
  171. cursor: pointer;
  172. &:hover {
  173. background: linear-gradient(#2cd1ff55, #1eb0ff55);
  174. }
  175. &::before {
  176. width: calc(100% - 6px);
  177. height: 27px;
  178. content: '';
  179. position: absolute;
  180. top: 3px;
  181. right: 0;
  182. left: 3px;
  183. bottom: 0;
  184. z-index: -1;
  185. border-radius: inherit; /*important*/
  186. background: linear-gradient(#1fa6cb, #127cb5);
  187. }
  188. &::after {
  189. width: calc(100% + 32px);
  190. height: 10px;
  191. content: '';
  192. position: absolute;
  193. top: 35px;
  194. right: 0;
  195. left: -16px;
  196. bottom: 0;
  197. z-index: -1;
  198. border-radius: inherit; /*important*/
  199. background: url('/@/assets/images/vent/short-light.png') no-repeat;
  200. background-position: center;
  201. background-size: 100%;
  202. z-index: 999;
  203. }
  204. }
  205. .button-disable {
  206. border: 1px solid #66989e;
  207. &:hover {
  208. background: none;
  209. }
  210. &::before {
  211. background: linear-gradient(#78c8fd55, #49d2fc55);
  212. }
  213. // &::after{
  214. // background: linear-gradient( #75c8ff55, #45d1fc55);
  215. // }
  216. }
  217. }
  218. .title-text {
  219. color: #ffffff;
  220. font-size: 16px;
  221. text-align: center;
  222. line-height: 32px;
  223. }
  224. .title-box {
  225. font-family: Geneva, sans-serif;
  226. width: 100%;
  227. text-align: center;
  228. position: absolute;
  229. top: 50px;
  230. font-size: 28px;
  231. color: #ff9900;
  232. letter-spacing: 0.15em;
  233. 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,
  234. 0px 6px 0 #28282822, 0px 7px 0 #28282822, 0px 8px 0 #28282822, 0px 9px 0 #28282822, 0px 10px 0 #28282822, 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. // 8px 28px 35px rgba(0, 0, 0, 0.9);
  242. &:before {
  243. content: attr(text);
  244. position: absolute;
  245. z-index: 10;
  246. color: pink;
  247. -webkit-mask: linear-gradient(to left, red, transparent);
  248. }
  249. }
  250. .bottom-tabs-box {
  251. position: absolute;
  252. width: calc(100% - 10px);
  253. height: 280px;
  254. bottom: 20px;
  255. padding: 0 20px;
  256. margin: 0 5px;
  257. &:before {
  258. position: absolute;
  259. content: '';
  260. width: 34px;
  261. height: 315px;
  262. left: 0;
  263. top: -19px;
  264. background: url('/@/assets/images/vent/bottom-tabs-l.png') no-repeat;
  265. background-size: contain;
  266. }
  267. &:after {
  268. position: absolute;
  269. content: '';
  270. width: 34px;
  271. height: 315px;
  272. right: 0;
  273. top: -19px;
  274. background: url('/@/assets/images/vent/bottom-tabs-r.png') no-repeat;
  275. background-size: contain;
  276. }
  277. .tabs-button-group {
  278. position: absolute;
  279. display: flex;
  280. right: 20px;
  281. top: 5px;
  282. z-index: 999;
  283. align-items: center;
  284. pointer-events: auto;
  285. .tabs-button {
  286. margin-right: 10px;
  287. }
  288. }
  289. .tabs-box {
  290. position: absolute;
  291. width: calc(100% - 46px);
  292. bottom: 0;
  293. height: 100%;
  294. pointer-events: auto;
  295. background: linear-gradient(#00daff33, #2081ff11);
  296. // background: radial-gradient(circle at 50% 80%, #3df6ff33, #0038b433);
  297. backdrop-filter: blur(5px);
  298. overflow-y: hidden;
  299. border-radius: 8px;
  300. .tabs-box {
  301. height: 100%;
  302. }
  303. .tab-item {
  304. height: 240px;
  305. color: #fff;
  306. }
  307. .ant-tabs-content,
  308. .vent-table {
  309. height: 100%;
  310. }
  311. .ant-tabs-top > .ant-tabs-nav {
  312. margin: 0 !important;
  313. }
  314. .ant-table-title {
  315. padding: 0 !important;
  316. }
  317. .vent-table {
  318. overflow-y: auto;
  319. }
  320. .ant-tabs-nav {
  321. margin-bottom: 0px !important;
  322. }
  323. }
  324. .ant-tabs-nav-wrap {
  325. padding-left: 10px !important;
  326. }
  327. .ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn {
  328. color: #28f3f3 !important;
  329. }
  330. .ant-tabs-ink-bar {
  331. background: #28f3f3;
  332. }
  333. .ant-tabs-top > .ant-tabs-nav::before {
  334. border-color: #f0f0f022 !important;
  335. }
  336. }
  337. }
  338. .state-icon {
  339. display: inline-block;
  340. width: 11px;
  341. height: 11px;
  342. border-radius: 6px;
  343. margin-right: 6px;
  344. }
  345. .open {
  346. border: 2px solid #133a56;
  347. background: #4ecb73;
  348. }
  349. // .gray {
  350. // border: 2px solid #898fa144;
  351. // background: #898fa1;
  352. // }
  353. .close {
  354. border: 2px solid #ff1818;
  355. background: #ff8888;
  356. animation: close 1s infinite;
  357. }
  358. @keyframes close {
  359. 0% {
  360. border: 2px solid #ff8888;
  361. background: #ff3538;
  362. }
  363. 50% {
  364. border: 2px solid #ff0000;
  365. background: #c90000;
  366. }
  367. 100% {
  368. border: 2px solid #ff8888;
  369. background: #ff3538;
  370. }
  371. }
  372. .data-title {
  373. color: #eee;
  374. }
  375. .signal-item {
  376. display: flex;
  377. justify-content: space-between;
  378. align-items: center;
  379. .signal-round {
  380. display: inline-block;
  381. width: 8px;
  382. height: 8px;
  383. border-radius: 50%;
  384. margin: 0 10px;
  385. position: relative;
  386. &::after {
  387. display: block;
  388. content: '';
  389. position: absolute;
  390. width: 12px;
  391. height: 12px;
  392. top: -2px;
  393. left: -2px;
  394. border-radius: 50%;
  395. }
  396. }
  397. .signal-round-gry {
  398. background-color: #858585;
  399. &::after {
  400. background-color: #85858544;
  401. box-shadow: 0 0 1px 1px #85858599;
  402. }
  403. }
  404. .signal-round-run {
  405. background-color: #67fc00;
  406. &::after {
  407. background-color: #67fc0044;
  408. box-shadow: 0 0 1px 1px #c6ff77;
  409. }
  410. }
  411. .signal-round-warning {
  412. background-color: #e9170b;
  413. &::after {
  414. background-color: #e9170b44;
  415. box-shadow: 0 0 1px 1px #e9170b;
  416. }
  417. }
  418. }
  419. /* 模态框样式 */
  420. .modal-container {
  421. min-height: 100px;
  422. padding: 20px;
  423. .label {
  424. margin-right: 15px;
  425. font-size: 15px;
  426. font-weight: 600;
  427. color: #70e0f7;
  428. }
  429. .warning-text {
  430. margin-left: 10px;
  431. font-size: 16px;
  432. }
  433. .input-box {
  434. margin-top: 20px;
  435. }
  436. .startSmoke-select {
  437. display: flex;
  438. margin: 15px 12px;
  439. }
  440. }