index.less 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469
  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. // color: #fff !important;
  144. // background: transparent !important;
  145. backdrop-filter: blur(50px);
  146. .@{ventSpace}-select-item{
  147. color: #fff !important;
  148. }
  149. .@{ventSpace}-select-item-option-selected,
  150. .@{ventSpace}-select-item-option-active {
  151. background-color: #ffffff33 !important;
  152. }
  153. .@{ventSpace}-select-item:hover {
  154. background-color: #ffffff33 !important;
  155. }
  156. }
  157. .@{ventSpace}-picker-panel{
  158. border: 1px solid #ececec66;
  159. // background: #004362 !important;
  160. color: #fff !important;
  161. }
  162. .@{ventSpace}-select-tree {
  163. background: transparent !important;
  164. backdrop-filter: blur(50px) !important;
  165. color: #fff !important;
  166. }
  167. .@{ventSpace}-select-tree {
  168. & .@{ventSpace}-select-tree-node-content-wrapper.@{ventSpace}-select-tree-node-selected {
  169. background-color: #00678b66 !important;
  170. }
  171. .@{ventSpace}-select-tree-node-content-wrapper:hover {
  172. background-color: #008fc366 !important;
  173. }
  174. }
  175. }
  176. }
  177. .vent-modal {
  178. .@{ventSpace}-drawer-content {
  179. background-color: #03114c !important;
  180. }
  181. }
  182. // .jeecg-basic-table-form-container .ant-form {
  183. // background-color: @vent-transparent !important;
  184. // color: @vent-font-color !important;
  185. // border: 1px solid #ffffff22;
  186. // .ant-form-item-label > label {
  187. // color: @vent-font-color !important;
  188. // }
  189. // .ant-input-affix-wrapper,
  190. // .ant-input-number-handler-wrap {
  191. // color: #fff;
  192. // background-color: #ffffff17 !important;
  193. // border: 1px solid @vent-form-item-boder !important;
  194. // }
  195. // .ant-picker,
  196. // .ant-select-selector {
  197. // color: #fff !important;
  198. // background: #ffffff17 !important;
  199. // border: 1px solid @vent-form-item-boder !important;
  200. // }
  201. // .anticon,
  202. // input,
  203. // .ant-input-number,
  204. // .ant-select-selection-item,
  205. // .ant-picker-suffix {
  206. // color: #fff !important;
  207. // background: #ffffff00 !important;
  208. // border: none;
  209. // }
  210. // .ant-select-selection-placeholder {
  211. // color: #b7b7b7 !important;
  212. // }
  213. // .ant-select-arrow,
  214. // .ant-picker-separator {
  215. // color: #fff !important;
  216. // }
  217. // }
  218. .jeecg-basic-table {
  219. .@{ventSpace}-table-wrapper {
  220. padding: 0 !important;
  221. .@{ventSpace}-table-tbody {
  222. .@{ventSpace}-select,
  223. .@{ventSpace}-input-number,
  224. .@{ventSpace}-input {
  225. width: 100%;
  226. }
  227. }
  228. }
  229. }
  230. .jeecg-basic-drawer {
  231. background: #080a2c11 !important;
  232. .@{ventSpace}-drawer-content {
  233. background-color: #03114c99 !important;
  234. backdrop-filter: blur(20px);
  235. .@{ventSpace}-drawer-title,
  236. .@{ventSpace}-drawer-close {
  237. color: #fff !important;
  238. }
  239. .@{ventSpace}-drawer-title {
  240. .jeecg-basic-title {
  241. color: #fff !important;
  242. }
  243. }
  244. .@{ventSpace}-descriptions-bordered {
  245. .@{ventSpace}-descriptions-item-label {
  246. color: #fff !important;
  247. background-color: #ffffff22 !important;
  248. }
  249. .@{ventSpace}-descriptions-item-content {
  250. color: #fff !important;
  251. }
  252. }
  253. }
  254. .@{ventSpace}-drawer-body,
  255. .@{ventSpace}-drawer-header,
  256. .jeecg-basic-drawer-footer {
  257. background: #080a2c11 !important;
  258. border-color: #ffffff3d !important;
  259. }
  260. }
  261. .jeecg-tree {
  262. background-color: @vent-transparent !important;
  263. .@{ventSpace}-tree {
  264. background-color: @vent-transparent !important;
  265. color: @vent-font-color !important;
  266. }
  267. .@{ventSpace}-tree-title,
  268. .@{ventSpace}-tree-node-content-wrapper {
  269. &:hover {
  270. background-color: rgba(209, 209, 209, 0.1) !important;
  271. }
  272. }
  273. }
  274. .@{ventSpace}-card {
  275. border: 1px solid #44d3ff70 !important;
  276. border-radius: 2px !important;
  277. -webkit-backdrop-filter: blur(8px) !important;
  278. backdrop-filter: blur(8px) !important;
  279. box-shadow: 0 0 20px #44b4ff33 inset;
  280. background-color: #ffffff11 !important;
  281. .@{ventSpace}-tree {
  282. background-color: @vent-transparent !important;
  283. color: @vent-font-color !important;
  284. }
  285. .@{ventSpace}-tree-title,
  286. .@{ventSpace}-tree-node-content-wrapper {
  287. &:hover {
  288. background-color: rgba(209, 209, 209, 0.1) !important;
  289. }
  290. }
  291. .@{ventSpace}-tree .@{ventSpace}-tree-node-content-wrapper.@{ventSpace}-tree-node-selected {
  292. background-color: #009bee;
  293. }
  294. .@{ventSpace}-input,
  295. .@{ventSpace}-input-affix-wrapper {
  296. border: 1px solid #ececec66;
  297. background-color: @vent-transparent !important;
  298. }
  299. .alert {
  300. background-color: @vent-table-hover !important;
  301. border-color: #ffffff22 !important;
  302. .@{ventSpace}-alert-message {
  303. color: @vent-font-color !important;
  304. }
  305. }
  306. }
  307. .@{ventSpace}-tabs {
  308. // border: 1px solid #4d7ad855;
  309. // border-radius: 2px;
  310. // background-color: @vent-transparent !important;
  311. // -webkit-backdrop-filter: blur(8px);
  312. // backdrop-filter: blur(8px);
  313. // box-shadow: 0 0 10px #5984e055 inset;
  314. .@{ventSpace}-tabs-nav {
  315. &::before {
  316. border-color: #ffffff33 !important;
  317. }
  318. }
  319. .@{ventSpace}-descriptions-bordered {
  320. .@{ventSpace}-descriptions-item-label {
  321. color: #fff !important;
  322. background-color: #ffffff22 !important;
  323. }
  324. .@{ventSpace}-descriptions-item-content {
  325. color: #fff !important;
  326. }
  327. .@{ventSpace}-descriptions-row,
  328. .@{ventSpace}-descriptions-item-label {
  329. border-color: #ffffff33 !important;
  330. }
  331. .@{ventSpace}-descriptions-view {
  332. border-color: #ffffff11 !important;
  333. box-shadow: 0 0 5px #5984e033 inset;
  334. }
  335. }
  336. }
  337. .jeecg-tree {
  338. .jeecg-tree-header {
  339. .jeecg-basic-title {
  340. color: #fff !important;
  341. }
  342. .@{ventSpace}-input-affix-wrapper {
  343. background-color: @vent-transparent !important;
  344. border-color: #ffffff33 !important;
  345. }
  346. }
  347. }
  348. .device-manager-box {
  349. margin: 10px 8px;
  350. height: calc(100% - 72px);
  351. padding-bottom: 10px;
  352. // border: 1px solid #447fff55;
  353. border: 1px solid #44d3ff70;
  354. border-radius: 2px;
  355. // background-color: #001d3055;
  356. -webkit-backdrop-filter: blur(8px);
  357. // backdrop-filter: blur(8px);
  358. box-shadow: 0 0 20px #44b4ff33 inset;
  359. background-color: #ffffff11;
  360. overflow-y: auto;
  361. // background-color: #00b3ff12;
  362. .@{ventSpace}-table-thead > tr > th {
  363. color: #fff !important;
  364. font-weight: 600;
  365. }
  366. }
  367. /** 表格样式*/
  368. .@{ventSpace}-table-tbody {
  369. tr.@{ventSpace}-table-row-selected {
  370. td {
  371. background: @vent-table-no-hover !important;
  372. }
  373. }
  374. tr > td {
  375. background-color: @vent-table-no-hover !important;
  376. }
  377. & > tr:hover.@{ventSpace}-table-row > td {
  378. background-color: @vent-table-hover !important;
  379. }
  380. .@{ventSpace}-table-cell-row-hover {
  381. background: @vent-table-hover !important;
  382. }
  383. }
  384. .jeecg-basic-table-row__striped {
  385. td {
  386. background-color: @vent-table-no-hover !important;
  387. }
  388. }
  389. .@{ventSpace}-table-thead {
  390. // background: linear-gradient(#003f77 0%, #004a86aa 10%) !important; //#003f77, #0a134c
  391. background-color: #3d9dd45d !important;
  392. & > tr > th,
  393. .@{ventSpace}-table-column-title {
  394. // color: #70f9fc !important;
  395. color: #fff !important;
  396. border-color: #91e9fe !important;
  397. border-left: none !important;
  398. // border-right: none !important;
  399. &:last-child {
  400. border-right: none !important;
  401. }
  402. }
  403. }
  404. .@{ventSpace}-table-row-expand-icon {
  405. background: #fff0 !important;
  406. }
  407. .@{ventSpace}-table-placeholder{
  408. background: transparent !important;
  409. }
  410. .@{ventSpace}-empty {
  411. color: #fff !important;
  412. }
  413. .modal-container {
  414. min-height: 100px;
  415. padding: 20px;
  416. .label {
  417. margin-right: 15px;
  418. font-size: 15px;
  419. font-weight: 600;
  420. color: #70e0f7;
  421. }
  422. .warning-text {
  423. margin-left: 10px;
  424. font-size: 16px;
  425. }
  426. .input-box {
  427. margin-top: 20px;
  428. }
  429. .startSmoke-select {
  430. display: flex;
  431. margin: 15px 12px;
  432. }
  433. }
  434. /** 摄像头 */
  435. .video-wrapper{
  436. height: 100%;
  437. }