index.less 8.9 KB

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