index.less 9.3 KB

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