index.less 11 KB

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