index.less 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460
  1. @import './color.less';
  2. @import './var.less';
  3. @import './antCss.less';
  4. @import './comment.less';
  5. .vent {
  6. background-color: #09172c !important;
  7. }
  8. /* 按钮 */
  9. .@{ventSpace}-btn-primary {
  10. border-color: #91e9fe !important;
  11. background: #275088 !important;
  12. &:hover,
  13. &:focus {
  14. background: #27508899 !important;
  15. border-color: #91e9fe99 !important;
  16. }
  17. }
  18. .@{ventSpace}-btn-dangerous{
  19. color: #fff !important;
  20. border-color: #ed4c4c !important;
  21. background: #ed4c4c !important;
  22. text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.12) !important;
  23. box-shadow: 0 2px 0 rgba(0, 0, 0, 0.045) !important;
  24. &:hover, &:focus {
  25. background: #ee3636 !important;
  26. border-color: #ee3636 !important;
  27. }
  28. }
  29. .@{ventSpace}-btn-link {
  30. color: #00e7ff !important;
  31. &:hover,
  32. &:focus {
  33. background: none !important;
  34. border: none !important;
  35. }
  36. .anticon {
  37. color: #fff !important;
  38. }
  39. }
  40. /* 表单 */
  41. .vent-form {
  42. .@{ventSpace}-form {
  43. background-color: @vent-transparent !important;
  44. .@{ventSpace}-form-item-label > label {
  45. color: @vent-font-color !important;
  46. }
  47. .anticon.@{ventSpace}-input-clear-icon,
  48. .anticon {
  49. color: #fff !important;
  50. }
  51. .@{ventSpace}-select-selector {
  52. color: #fff;
  53. background-color: #ffffff00 !important;
  54. }
  55. .@{ventSpace}-form-item-control-input-content {
  56. .@{ventSpace}-input-affix-wrapper,
  57. .@{ventSpace}-input-number-handler-wrap {
  58. color: #fff;
  59. // background-color: #ffffff17 !important;
  60. border: 1px solid @vent-form-item-boder !important;
  61. }
  62. .@{ventSpace}-picker,
  63. .@{ventSpace}-select-selector {
  64. width: 100%;
  65. color: #fff !important;
  66. // background: #ffffff17 !important;
  67. border: 1px solid @vent-form-item-boder !important;
  68. }
  69. }
  70. .@{ventSpace}-select-multiple {
  71. .@{ventSpace}-select-selection-item-content {
  72. color: #fff !important;
  73. }
  74. }
  75. .@{ventSpace}-input,
  76. .anticon,
  77. input,
  78. .@{ventSpace}-input-number,
  79. .@{ventSpace}-select-selection-item,
  80. .@{ventSpace}-input-group-addon,
  81. .@{ventSpace}-picker,
  82. .@{ventSpace}-picker-suffix {
  83. color: #fff !important;
  84. background: #ffffff00 !important;
  85. border: none;
  86. &::placeholder {
  87. color: #999;
  88. }
  89. }
  90. .@{ventSpace}-input-number {
  91. width: 100%;
  92. .@{ventSpace}-input-number-input-wrap {
  93. border: 1px solid @vent-form-item-boder !important;
  94. }
  95. }
  96. .@{ventSpace}-select-selection-placeholder,
  97. .@{ventSpace}-input-number-placeholder,
  98. .@{ventSpace}-picker-placeholder,
  99. .@{ventSpace}-input-placeholder {
  100. color: #999 !important;
  101. }
  102. .@{ventSpace}-select-arrow,
  103. .@{ventSpace}-picker-separator {
  104. color: #fff !important;
  105. }
  106. .@{ventSpace}-form-item {
  107. margin-right: 20px;
  108. }
  109. .@{ventSpace}-upload.@{ventSpace}-upload-select-picture-card,
  110. .@{ventSpace}-input-affix-wrapper {
  111. background-color: @vent-transparent !important;
  112. }
  113. .@{ventSpace}-radio-button-wrapper {
  114. background: #999;
  115. }
  116. .@{ventSpace}-btn {
  117. .anticon {
  118. color: #000 !important;
  119. }
  120. }
  121. .@{ventSpace}-btn-primary {
  122. .anticon {
  123. color: #fff !important;
  124. }
  125. }
  126. .@{ventSpace}-btn-link {
  127. .anticon {
  128. color: #fff !important;
  129. }
  130. }
  131. /** 下拉框 */
  132. .@{ventSpace}-select-dropdown {
  133. // border-bottom: 1px solid #ececec66;
  134. // background: transparent !important;
  135. border: 1px solid #ececec66;
  136. background: #004362 !important;
  137. left: 0px !important;
  138. backdrop-filter: blur(50px);
  139. .@{ventSpace}-select-item {
  140. color: #fff !important;
  141. }
  142. .@{ventSpace}-select-item-option-selected,
  143. .@{ventSpace}-select-item-option-active {
  144. background-color: #00678b66 !important;
  145. }
  146. .@{ventSpace}-select-item:hover {
  147. background-color: #008fc366 !important;
  148. }
  149. }
  150. .@{ventSpace}-picker-panel{
  151. border: 1px solid #ececec66;
  152. // background: #004362 !important;
  153. color: #fff !important;
  154. }
  155. .@{ventSpace}-select-tree {
  156. background: transparent !important;
  157. backdrop-filter: blur(50px) !important;
  158. color: #fff !important;
  159. }
  160. .@{ventSpace}-select-tree {
  161. & .@{ventSpace}-select-tree-node-content-wrapper.@{ventSpace}-select-tree-node-selected {
  162. background-color: #00678b66 !important;
  163. }
  164. .@{ventSpace}-select-tree-node-content-wrapper:hover {
  165. background-color: #008fc366 !important;
  166. }
  167. }
  168. }
  169. }
  170. .vent-modal {
  171. .@{ventSpace}-drawer-content {
  172. background-color: #03114c !important;
  173. }
  174. }
  175. // .jeecg-basic-table-form-container .ant-form {
  176. // background-color: @vent-transparent !important;
  177. // color: @vent-font-color !important;
  178. // border: 1px solid #ffffff22;
  179. // .ant-form-item-label > label {
  180. // color: @vent-font-color !important;
  181. // }
  182. // .ant-input-affix-wrapper,
  183. // .ant-input-number-handler-wrap {
  184. // color: #fff;
  185. // background-color: #ffffff17 !important;
  186. // border: 1px solid @vent-form-item-boder !important;
  187. // }
  188. // .ant-picker,
  189. // .ant-select-selector {
  190. // color: #fff !important;
  191. // background: #ffffff17 !important;
  192. // border: 1px solid @vent-form-item-boder !important;
  193. // }
  194. // .anticon,
  195. // input,
  196. // .ant-input-number,
  197. // .ant-select-selection-item,
  198. // .ant-picker-suffix {
  199. // color: #fff !important;
  200. // background: #ffffff00 !important;
  201. // border: none;
  202. // }
  203. // .ant-select-selection-placeholder {
  204. // color: #b7b7b7 !important;
  205. // }
  206. // .ant-select-arrow,
  207. // .ant-picker-separator {
  208. // color: #fff !important;
  209. // }
  210. // }
  211. .jeecg-basic-table {
  212. .@{ventSpace}-table-wrapper {
  213. padding: 0 !important;
  214. .@{ventSpace}-table-tbody {
  215. .@{ventSpace}-select,
  216. .@{ventSpace}-input-number,
  217. .@{ventSpace}-input {
  218. width: 100%;
  219. }
  220. }
  221. }
  222. }
  223. .jeecg-basic-drawer {
  224. background: #080a2c11 !important;
  225. .@{ventSpace}-drawer-content {
  226. background-color: #03114c99 !important;
  227. backdrop-filter: blur(20px);
  228. .@{ventSpace}-drawer-title,
  229. .@{ventSpace}-drawer-close {
  230. color: #fff !important;
  231. }
  232. .@{ventSpace}-drawer-title {
  233. .jeecg-basic-title {
  234. color: #fff !important;
  235. }
  236. }
  237. .@{ventSpace}-descriptions-bordered {
  238. .@{ventSpace}-descriptions-item-label {
  239. color: #fff !important;
  240. background-color: #ffffff22 !important;
  241. }
  242. .@{ventSpace}-descriptions-item-content {
  243. color: #fff !important;
  244. }
  245. }
  246. }
  247. .@{ventSpace}-drawer-body,
  248. .@{ventSpace}-drawer-header,
  249. .jeecg-basic-drawer-footer {
  250. background: #080a2c11 !important;
  251. border-color: #ffffff3d !important;
  252. }
  253. }
  254. .jeecg-tree {
  255. background-color: @vent-transparent !important;
  256. .@{ventSpace}-tree {
  257. background-color: @vent-transparent !important;
  258. color: @vent-font-color !important;
  259. }
  260. .@{ventSpace}-tree-title,
  261. .@{ventSpace}-tree-node-content-wrapper {
  262. &:hover {
  263. background-color: rgba(209, 209, 209, 0.1) !important;
  264. }
  265. }
  266. }
  267. .@{ventSpace}-card {
  268. border: 1px solid #44d3ff70 !important;
  269. border-radius: 2px !important;
  270. -webkit-backdrop-filter: blur(8px) !important;
  271. backdrop-filter: blur(8px) !important;
  272. box-shadow: 0 0 20px #44b4ff33 inset;
  273. background-color: #ffffff11 !important;
  274. .@{ventSpace}-tree {
  275. background-color: @vent-transparent !important;
  276. color: @vent-font-color !important;
  277. }
  278. .@{ventSpace}-tree-title,
  279. .@{ventSpace}-tree-node-content-wrapper {
  280. &:hover {
  281. background-color: rgba(209, 209, 209, 0.1) !important;
  282. }
  283. }
  284. .@{ventSpace}-tree .@{ventSpace}-tree-node-content-wrapper.@{ventSpace}-tree-node-selected {
  285. background-color: #009bee;
  286. }
  287. .@{ventSpace}-input,
  288. .@{ventSpace}-input-affix-wrapper {
  289. border: 1px solid #ececec66;
  290. background-color: @vent-transparent !important;
  291. }
  292. .alert {
  293. background-color: @vent-table-hover !important;
  294. border-color: #ffffff22 !important;
  295. .@{ventSpace}-alert-message {
  296. color: @vent-font-color !important;
  297. }
  298. }
  299. }
  300. .@{ventSpace}-tabs {
  301. // border: 1px solid #4d7ad855;
  302. // border-radius: 2px;
  303. // background-color: @vent-transparent !important;
  304. // -webkit-backdrop-filter: blur(8px);
  305. // backdrop-filter: blur(8px);
  306. // box-shadow: 0 0 10px #5984e055 inset;
  307. .@{ventSpace}-tabs-nav {
  308. &::before {
  309. border-color: #ffffff33 !important;
  310. }
  311. }
  312. .@{ventSpace}-descriptions-bordered {
  313. .@{ventSpace}-descriptions-item-label {
  314. color: #fff !important;
  315. background-color: #ffffff22 !important;
  316. }
  317. .@{ventSpace}-descriptions-item-content {
  318. color: #fff !important;
  319. }
  320. .@{ventSpace}-descriptions-row,
  321. .@{ventSpace}-descriptions-item-label {
  322. border-color: #ffffff33 !important;
  323. }
  324. .@{ventSpace}-descriptions-view {
  325. border-color: #ffffff11 !important;
  326. box-shadow: 0 0 5px #5984e033 inset;
  327. }
  328. }
  329. }
  330. .jeecg-tree {
  331. .jeecg-tree-header {
  332. .jeecg-basic-title {
  333. color: #fff !important;
  334. }
  335. .@{ventSpace}-input-affix-wrapper {
  336. background-color: @vent-transparent !important;
  337. border-color: #ffffff33 !important;
  338. }
  339. }
  340. }
  341. .device-manager-box {
  342. margin: 10px 8px;
  343. height: calc(100% - 72px);
  344. padding-bottom: 10px;
  345. // border: 1px solid #447fff55;
  346. border: 1px solid #44d3ff70;
  347. border-radius: 2px;
  348. // background-color: #001d3055;
  349. -webkit-backdrop-filter: blur(8px);
  350. // backdrop-filter: blur(8px);
  351. box-shadow: 0 0 20px #44b4ff33 inset;
  352. background-color: #ffffff11;
  353. // background-color: #00b3ff12;
  354. .@{ventSpace}-table-thead > tr > th {
  355. color: #fff !important;
  356. font-weight: 600;
  357. }
  358. }
  359. /** 表格样式*/
  360. .@{ventSpace}-table-tbody {
  361. tr.@{ventSpace}-table-row-selected {
  362. td {
  363. background: @vent-table-no-hover !important;
  364. }
  365. }
  366. tr > td {
  367. background-color: @vent-table-no-hover !important;
  368. }
  369. & > tr:hover.@{ventSpace}-table-row > td {
  370. background-color: @vent-table-hover !important;
  371. }
  372. .@{ventSpace}-table-cell-row-hover {
  373. background: @vent-table-hover !important;
  374. }
  375. }
  376. .jeecg-basic-table-row__striped {
  377. td {
  378. background-color: @vent-table-no-hover !important;
  379. }
  380. }
  381. .@{ventSpace}-table-thead {
  382. // background: linear-gradient(#003f77 0%, #004a86aa 10%) !important; //#003f77, #0a134c
  383. background-color: #3d9dd45d !important;
  384. & > tr > th,
  385. .@{ventSpace}-table-column-title {
  386. // color: #70f9fc !important;
  387. color: #fff !important;
  388. border-color: #91e9fe !important;
  389. border-left: none !important;
  390. // border-right: none !important;
  391. &:last-child {
  392. border-right: none !important;
  393. }
  394. }
  395. }
  396. .@{ventSpace}-table-row-expand-icon {
  397. background: #fff0 !important;
  398. }
  399. .@{ventSpace}-table-placeholder{
  400. background: transparent !important;
  401. }
  402. .@{ventSpace}-empty {
  403. color: #fff !important;
  404. }
  405. .modal-container {
  406. min-height: 100px;
  407. padding: 20px;
  408. .label {
  409. margin-right: 15px;
  410. font-size: 15px;
  411. font-weight: 600;
  412. color: #70e0f7;
  413. }
  414. .warning-text {
  415. margin-left: 10px;
  416. font-size: 16px;
  417. }
  418. .input-box {
  419. margin-top: 20px;
  420. }
  421. .startSmoke-select {
  422. display: flex;
  423. margin: 15px 12px;
  424. }
  425. }
  426. /** 摄像头 */
  427. .video-wrapper{
  428. height: 100%;
  429. }