index.less 11 KB

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