index.less 12 KB

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