mixin.less 43 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606
  1. // 公共的mixin混入(可以把重复的样式封装为mixin 混入到复用的地方)
  2. // .iconBg(@width: 3rem, @height: 3rem, @bgUrl: 'icons.png') {
  3. // /*图片背景,大小作为参数传递,默认是30*30*/
  4. // display: inline-block;
  5. // width: @width;
  6. // height: @height;
  7. // cursor: pointer;
  8. // background-image: url('../images/@{bgUrl}');
  9. // background-color: transparent;
  10. // }
  11. .position(@position: static, @top: auto, @right: auto, @bottom: auto, @left: auto) {
  12. // 定位方式
  13. position: @position;
  14. top: @top;
  15. right: @right;
  16. bottom: @bottom;
  17. left: @left;
  18. }
  19. .boxShadow(@color, @xWdh, @yWdh, @wdh) {
  20. box-shadow: @color @xWdh @yWdh @wdh;
  21. -webkit-box-shadow: @color @xWdh @yWdh @wdh;
  22. -moz-box-shadow: @color @xWdh @yWdh @wdh;
  23. }
  24. .link-colors(@normal: @black-color, @hover-color: @hover-color, @visited: @black-color) {
  25. /*a标签经过以及访问颜色变化混合器*/
  26. color: @normal;
  27. &:hover {
  28. color: @hover-color;
  29. }
  30. &:visited {
  31. color: @visited;
  32. }
  33. }
  34. .rounded-corners(@border-radius: 5px, @border-radius1: @border-radius, @border-radius2: @border-radius, @border-radius3: @border-radius) {
  35. /*圆角兼容性*/
  36. -moz-border-radius: @border-radius @border-radius1 @border-radius2 @border-radius3;
  37. -webkit-border-radius: @border-radius @border-radius1 @border-radius2 @border-radius3;
  38. border-radius: @border-radius @border-radius1 @border-radius2 @border-radius3;
  39. }
  40. // 线性渐变
  41. .linearGradient(@point, @start, @stop) {
  42. background-color: @stop;
  43. background: linear-gradient(@point, @start, @stop);
  44. background: -moz-linear-gradient(@point, @start, @stop);
  45. background: -webkit-linear-gradient(@point, @start, @stop);
  46. }
  47. .transition-animation(@property: all, @duration: 0.2s, @timing-function: linear) {
  48. /*过渡动画*/
  49. transition: @property @duration @timing-function;
  50. -webkit-transition: @property @duration @timing-function;
  51. -moz-transition: @property @duration @timing-function;
  52. }
  53. .borderStyle(@width: 1px, @style: solid, @color: #181d1f) {
  54. border: @width @style @color;
  55. }
  56. .resetElement(@border: 0, @background: transparent, @radius: 0) {
  57. border: @border;
  58. background-color: @background;
  59. border-radius: @radius;
  60. }
  61. /* 定制宽高按钮 */
  62. .btn(@width: @width, @height: @height) {
  63. width: @width;
  64. height: @height;
  65. line-height: @height;
  66. cursor: pointer;
  67. }
  68. // flex弹性布局兼容性
  69. .flex {
  70. display: -webkit-box; /* Chrome 4+, Safari 3.1, iOS Safari 3.2+ */
  71. display: -moz-box; /* Firefox 17- */
  72. display: -webkit-flex; /* Chrome 21+, Safari 6.1+, iOS Safari 7+, Opera 15/16 */
  73. display: -moz-flex; /* Firefox 18+ */
  74. display: -ms-flexbox; /* IE 10 */
  75. display: flex; /* Chrome 29+, Firefox 22+, IE 11+, Opera 12.1/17/18, Android 4.4+ */
  76. }
  77. // 行内flex 弹性布局兼容性
  78. .inlineflex {
  79. display: -webkit-inline-box; /* Chrome 4+, Safari 3.1, iOS Safari 3.2+ */
  80. display: -moz-inline-box; /* Firefox 17- */
  81. display: -webkit-inline-flex; /* Chrome 21+, Safari 6.1+, iOS Safari 7+, Opera 15/16 */
  82. display: -moz-inline-flex; /* Firefox 18+ */
  83. display: -ms-inline-flexbox; /* IE 10 */
  84. display: inline-flex; /* Chrome 29+, Firefox 22+, IE 11+, Opera 12.1/17/18, Android 4.4+ */
  85. }
  86. // 行内元素span强转块元素
  87. .specailSpan(@width: 50%, @height: 2.6rem) {
  88. display: inline-block;
  89. text-align: center;
  90. float: left;
  91. width: @width;
  92. height: @height;
  93. line-height: @height;
  94. cursor: pointer;
  95. }
  96. .inputStyle(@height: 2.8rem, @fontSize: 1.3rem) {
  97. height: @height;
  98. line-height: @height;
  99. border-color: @money-border-color;
  100. color: @black-color;
  101. font-size: @fontSize;
  102. @if @skin == 'black' {
  103. background-color: transparent;
  104. } @else if @skin == 'white' {
  105. background-color: @white-color;
  106. }
  107. }
  108. .ellipse {
  109. // 一行显示,超过显示省略号
  110. white-space: nowrap;
  111. text-overflow: ellipsis;
  112. overflow: hidden;
  113. }
  114. .dateInputStyle(@width: 12rem, @height: 2.2rem, @fontSize: 1.3rem) {
  115. width: @width;
  116. height: @height;
  117. line-height: @height;
  118. @if @skin == 'black' {
  119. background-color: transparent;
  120. } @else if @skin == 'white' {
  121. background-color: @white-color;
  122. }
  123. border-color: @money-border-color;
  124. font-size: @fontSize;
  125. }
  126. .submitBtnStyle(@width: 12rem, @height: 2.8rem, @fontSize: 1.4rem, @rounded: 2px) {
  127. width: @width;
  128. height: @height;
  129. line-height: @height;
  130. padding: 0;
  131. color: @white-color;
  132. background-color: @hover-color;
  133. border-color: @hover-color;
  134. font-size: @fontSize;
  135. .rounded-corners(@rounded);
  136. }
  137. .resetBtnStyle(@width: 7rem, @height: 2.2rem, @fontSize: 1.3rem, @rounded: 2px) {
  138. width: @width;
  139. height: @height;
  140. line-height: @height;
  141. padding: 0;
  142. color: @hover-color;
  143. background-color: transparent;
  144. border-color: @hover-color;
  145. font-size: @fontSize;
  146. .rounded-corners(@rounded);
  147. }
  148. .ant-input {
  149. &::placeholder {
  150. color: @m-grey10;
  151. }
  152. }
  153. .commonInput {
  154. background: @m-grey21;
  155. border: 1px solid @m-grey14;
  156. border-radius: 3px;
  157. color: #E5E5E5;
  158. .ant-input {
  159. color: #E5E5E5;
  160. background: transparent;
  161. }
  162. .ant-input-suffix {
  163. color: #E5E5E5;
  164. }
  165. &:hover, &:focus {
  166. border-color:#0C95FF;
  167. }
  168. }
  169. .tableConditionInput {
  170. width: 140px;
  171. height: 30px;
  172. line-height: 30px;
  173. background: @m-grey9;
  174. .rounded-corners(3px);
  175. border: 0;
  176. color: @m-white1;
  177. font-size: 14px;
  178. }
  179. .tableConditionInput+.tableConditionInput {
  180. margin-left: 10px;
  181. }
  182. .ant-select-dropdown {
  183. background: #424E59;
  184. border: 1px solid #48545F;
  185. box-shadow: 0px 10px 10px 0px rgba(18, 22, 24, 0.36);
  186. border-radius: 5px;
  187. .ant-select-item {
  188. color:@m-grey1;
  189. }
  190. .ant-select-item-option-active,.ant-select-item-option-selected,.ant-select-item-option-hover {
  191. background: @m-blue0;
  192. color: @m-white1;
  193. }
  194. }
  195. .srcollYTable {
  196. .ant-table {
  197. width: 100%;
  198. table {
  199. border: 0;
  200. }
  201. .ant-table-thead {
  202. tr {
  203. box-shadow: 0px 1px 0px 0px #2E3539;
  204. th {
  205. line-height: 34px;
  206. background: @m-black8;
  207. padding-top: 0;
  208. padding-bottom: 0;
  209. color: @m-grey17;
  210. font-size: 14px;
  211. border-right: 1px solid @m-black9;
  212. border-bottom: 1px solid @m-black9;
  213. }
  214. }
  215. }
  216. .ant-table-tbody {
  217. tr {
  218. td {
  219. height: 34px;
  220. line-height: 34px;
  221. padding: 0 8px;
  222. border-right: 1px solid @m-black9;
  223. border-bottom: 1px solid @m-black9;
  224. font-size: 16px;
  225. color: @m-white1;
  226. }
  227. }
  228. tr.ant-table-expanded-row:hover { //tr.ant-table-expanded-row,
  229. td {
  230. background-color: @m-blue3;
  231. }
  232. }
  233. tr.ant-table-expanded-row {
  234. td {
  235. text-align: right;
  236. }
  237. }
  238. }
  239. .ant-table-placeholder {
  240. border: 0;
  241. background: @m-black2;
  242. }
  243. }
  244. .ant-table-row-expand-icon {
  245. border-color: @m-grey17;
  246. background-color: transparent;
  247. color: @m-grey17;
  248. }
  249. .operBtn.ant-btn {
  250. margin-top: 0;
  251. margin-bottom: 0;
  252. height: 26px;
  253. line-height: 26px;
  254. }
  255. }
  256. // 上面表格样式
  257. .topTable {
  258. .ant-table {
  259. width: 100%;
  260. table {
  261. border: 0;
  262. }
  263. .ant-table-thead {
  264. tr {
  265. box-shadow: 0px 1px 0px 0px #2E3539;
  266. th {
  267. line-height: 34px;
  268. background: @m-black8;
  269. padding-top: 0;
  270. padding-bottom: 0;
  271. color: @m-grey17;
  272. font-size: 14px;
  273. border-right: 1px solid @m-black9;
  274. border-bottom: 1px solid @m-black9;
  275. white-space: nowrap;
  276. text-overflow: ellipsis;
  277. overflow: hidden;
  278. }
  279. }
  280. }
  281. .ant-table-tbody {
  282. tr {
  283. td {
  284. height: 34px;
  285. line-height: 34px;
  286. padding: 0 8px;
  287. border-right: 1px solid @m-black9;
  288. border-bottom: 1px solid @m-black9;
  289. font-size: 16px;
  290. color: @m-white1;
  291. white-space: nowrap;
  292. text-overflow: ellipsis;
  293. overflow: hidden;
  294. }
  295. }
  296. tr.ant-table-expanded-row:hover { //tr.ant-table-expanded-row,
  297. td {
  298. background-color: @m-blue3;
  299. }
  300. }
  301. tr.ant-table-expanded-row {
  302. td {
  303. text-align: right;
  304. }
  305. }
  306. }
  307. .ant-table-placeholder {
  308. border: 0;
  309. background: @m-black2;
  310. }
  311. }
  312. .ant-table-row-expand-icon {
  313. border-color: @m-grey17;
  314. background-color: transparent;
  315. color: @m-grey17;
  316. }
  317. .operBtn.ant-btn {
  318. margin-top: 0;
  319. margin-bottom: 0;
  320. height: 26px;
  321. line-height: 26px;
  322. }
  323. }
  324. // 展开行操作按钮显示问题
  325. .topOrderTable {
  326. .ant-table {
  327. width: 100%;
  328. table {
  329. border: 0;
  330. }
  331. .ant-table-thead {
  332. tr {
  333. box-shadow: 0px 1px 0px 0px #2E3539;
  334. th {
  335. line-height: 34px;
  336. background: @m-black8;
  337. padding-top: 0;
  338. padding-bottom: 0;
  339. color: @m-grey17;
  340. font-size: 14px;
  341. border-right: 1px solid @m-black9;
  342. border-bottom: 1px solid @m-black9;
  343. white-space: nowrap;
  344. text-overflow: ellipsis;
  345. overflow: hidden;
  346. }
  347. }
  348. }
  349. .ant-table-tbody {
  350. tr {
  351. td {
  352. height: 34px;
  353. line-height: 34px;
  354. padding: 0 8px;
  355. border-right: 1px solid @m-black9;
  356. border-bottom: 1px solid @m-black9;
  357. font-size: 16px;
  358. color: @m-white1;
  359. white-space: nowrap;
  360. text-overflow: ellipsis;
  361. overflow: hidden;
  362. }
  363. }
  364. tr.ant-table-expanded-row:hover { //tr.ant-table-expanded-row,
  365. td {
  366. background-color: @m-blue3;
  367. }
  368. }
  369. tr.ant-table-expanded-row {
  370. td {
  371. text-align: right;
  372. }
  373. td:last-child {
  374. position: relative;
  375. .btn-list {
  376. position: absolute;
  377. left: calc(100vw - 530px);
  378. top: 4px;
  379. width: 300px;
  380. text-align: right;
  381. .operBtn.ant-btn {
  382. margin-top: 0;
  383. margin-bottom: 0;
  384. height: 26px;
  385. line-height: 26px;
  386. }
  387. }
  388. }
  389. }
  390. }
  391. .ant-table-placeholder {
  392. border: 0;
  393. background: @m-black2;
  394. }
  395. }
  396. .ant-table-row-expand-icon {
  397. border-color: @m-grey17;
  398. background-color: transparent;
  399. color: @m-grey17;
  400. }
  401. }
  402. // 折叠菜单后右侧表格中展开后操作按钮的位置
  403. .collapsed {
  404. .topOrderTable {
  405. .ant-table {
  406. .ant-table-tbody {
  407. tr.ant-table-expanded-row {
  408. td:last-child {
  409. .btn-list {
  410. left: calc(100vw - 430px);
  411. }
  412. }
  413. }
  414. }
  415. }
  416. }
  417. }
  418. // 弹窗表格
  419. .dialogTable {
  420. .ant-table {
  421. width: 100%;
  422. background: transparent;
  423. table {
  424. border: 1px solid @m-grey20;
  425. border-radius: 0;
  426. }
  427. .ant-table-thead {
  428. tr {
  429. box-shadow: 0px 1px 0px 0px #2E3539;
  430. th {
  431. line-height: 36px;
  432. background: @m-grey11;
  433. padding-top: 0;
  434. padding-bottom: 0;
  435. color: @m-grey2;
  436. font-size: 16px;
  437. border-right: 1px solid @m-grey20;
  438. border-bottom: 1px solid @m-grey20;
  439. white-space: nowrap;
  440. text-overflow: ellipsis;
  441. overflow: hidden;
  442. }
  443. }
  444. }
  445. .ant-table-tbody {
  446. tr {
  447. td {
  448. height: 36px;
  449. line-height: 36px;
  450. padding: 0 8px;
  451. border-right: 1px solid @m-grey20;
  452. border-bottom: 1px solid @m-grey20;
  453. font-size: 14px;
  454. color: @m-white1;
  455. white-space: nowrap;
  456. text-overflow: ellipsis;
  457. overflow: hidden;
  458. background: @m-grey11;
  459. }
  460. }
  461. }
  462. .ant-table-placeholder {
  463. border: 0;
  464. background: @m-grey11;
  465. }
  466. }
  467. }
  468. .ant-empty-normal {
  469. color: @m-grey17;
  470. }
  471. .ant-empty-img-simple-path,.ant-empty-img-simple-ellipse {
  472. fill: @m-grey17;
  473. }
  474. .ant-empty-img-simple-g {
  475. stroke: @m-grey17;
  476. }
  477. .ant-modal-wrap {
  478. overflow: hidden;
  479. }
  480. .add-custom,.commonModal {
  481. top: 0;
  482. max-height: 100%;
  483. padding-bottom: 0;
  484. .ant-modal-content {
  485. background: #0F1A25;
  486. border-radius: 5px;
  487. height: 100%;
  488. .ant-modal-close {
  489. .ant-modal-close-x {
  490. width: 40px;
  491. height: 40px;
  492. line-height: 40px;
  493. .ant-modal-close-icon {
  494. color: #1271BA;
  495. }
  496. }
  497. }
  498. .ant-modal-header {
  499. height: 40px;
  500. background: linear-gradient(0deg, #112C43, #084258);
  501. border-radius: 5px;
  502. padding: 0;
  503. text-align: center;
  504. border-bottom: 0;
  505. .ant-modal-title {
  506. line-height: 40px;
  507. font-size: 16px;
  508. color: @m-white0;
  509. }
  510. }
  511. .ant-modal-body {
  512. min-height: 380px;
  513. max-height: calc(100vh - 115px);
  514. overflow-y: auto;
  515. }
  516. .ant-modal-footer {
  517. border-top: 0;
  518. text-align: center;
  519. padding-bottom: 31px;
  520. height: 75px;
  521. .ant-btn-primary {
  522. width: 200px;
  523. height: 34px;
  524. line-height: 32px;
  525. border: 0;
  526. background: linear-gradient(0deg, @m-blue8 0%, @m-blue9 100%);
  527. border-radius: 3px;
  528. font-size: 16px;
  529. color: @m-white0;
  530. &:hover {
  531. background: linear-gradient(0deg, @m-blue8-hover 0%, @m-blue9-hover 100%);
  532. color: @m-white0-hover;
  533. }
  534. }
  535. .ant-btn.cancelBtn {
  536. width: 200px;
  537. height: 34px;
  538. line-height: 32px;
  539. border: 1px solid @m-blue10;
  540. border-radius: 3px;
  541. background: transparent;
  542. font-size: 16px;
  543. color: @m-blue10;
  544. margin-right: 20px;
  545. &:hover {
  546. border-color: rgba(@m-blue10, .8);
  547. }
  548. }
  549. }
  550. }
  551. }
  552. .ant-form.inlineForm {
  553. .ant-row.ant-form-item {
  554. margin-bottom: 21px;
  555. .ant-form-item-label {
  556. position: relative;
  557. width: 130px;
  558. line-height: 30px;
  559. text-align: left;
  560. label {
  561. color: @m-grey1;
  562. padding-left: 16px;
  563. &::after {
  564. content: ''
  565. }
  566. &::before {
  567. .position(absolute, 0, auto, auto, 0);
  568. font-size: 16px;
  569. line-height: 21px;
  570. color: @m-red1;
  571. }
  572. label {
  573. padding-left: 0;
  574. }
  575. }
  576. }
  577. .ant-form-item-control-wrapper {
  578. .ant-form-item-control {
  579. line-height: 30px;
  580. }
  581. }
  582. }
  583. .relative.ant-form-item {
  584. position: relative;
  585. // .itemTip {
  586. // position: absolute;
  587. // color: @m-grey1;
  588. // }
  589. .tip {
  590. position: absolute;
  591. font-size: 14px;
  592. color: @m-grey1;
  593. width: 100%;
  594. // div:nth-child(2){
  595. // margin-top: -10px;
  596. // }
  597. }
  598. .ant-form-item-control {
  599. width: 200px;
  600. .unit {
  601. float: right;
  602. color: @m-grey2;
  603. }
  604. .backUnit {
  605. position: absolute;
  606. right: -20px;
  607. top: -7px;
  608. line-height: 32px;
  609. height: 32px;
  610. color: @m-grey2;
  611. }
  612. }
  613. }
  614. .tc.ant-form-item {
  615. .ant-form-item-control-wrapper {
  616. margin: 0 auto;
  617. }
  618. }
  619. .pl40.ant-form-item {
  620. .ant-form-item-label {
  621. label {
  622. padding-left: 40px;
  623. }
  624. }
  625. }
  626. }
  627. .ant-select-single {
  628. .ant-select-selector {
  629. height: 30px;
  630. padding: 0 8px;
  631. background: @m-grey21;
  632. border: 1px solid #0C95FF;
  633. border-radius: 3px;
  634. color: #E5E5E5;
  635. }
  636. .ant-select-arrow {
  637. right: 8px;
  638. color: #3A87F7;
  639. }
  640. }
  641. .inlineFormSelect.ant-select-single {
  642. .rounded-corners(3px);
  643. border: 1px solid #2B3F52;
  644. &:hover, &:focus {
  645. border-color:#0C95FF;
  646. }
  647. .ant-select-selector {
  648. height: 30px;
  649. padding: 0 8px;
  650. background: @m-grey21;
  651. border: 0;
  652. color: #E5E5E5;
  653. .ant-select-selection-placeholder {
  654. color: @m-grey10;
  655. }
  656. }
  657. .ant-select-arrow {
  658. right: 8px;
  659. color: #3A87F7 !important;
  660. }
  661. }
  662. .shortSelect.ant-select-single:extend(.inlineFormSelect.ant-select-single) {
  663. margin-right: 0;
  664. .ant-select-selector {
  665. padding: 0 5px;
  666. .ant-select-selection-item {
  667. padding-right: 14px;
  668. }
  669. }
  670. }
  671. .typeSelect.ant-select-single {
  672. .rounded-corners(3px);
  673. border: 1px solid #2B3F52;
  674. &:hover, &:focus {
  675. border-color:#0C95FF;
  676. }
  677. .ant-select-selector {
  678. height: 30px;
  679. padding: 0 8px;
  680. background: @m-grey21;
  681. border: 0;
  682. color: #E5E5E5;
  683. .ant-select-selection-placeholder {
  684. color: @m-grey10;
  685. }
  686. }
  687. .ant-select-arrow {
  688. right: 8px;
  689. color: @m-blue0;
  690. }
  691. }
  692. .dialogInput {
  693. background: @m-grey21;
  694. border: 1px solid @m-grey14;
  695. border-radius: 3px;
  696. color: #E5E5E5;
  697. .ant-input {
  698. color: #E5E5E5;
  699. background: transparent
  700. }
  701. .ant-input-suffix {
  702. color: #E5E5E5;
  703. }
  704. .ant-input-suffix {
  705. .ant-input-password-icon {
  706. color: #E5E5E5;
  707. }
  708. }
  709. &:hover,&:focus {
  710. border-color: @m-blue10;
  711. }
  712. }
  713. .suffixGrey {
  714. .ant-input-suffix {
  715. color: @m-grey2;
  716. }
  717. }
  718. .formFieldSet {
  719. border: 1px solid @m-grey19;
  720. padding: 0 20px 20px;
  721. legend {
  722. color: @m-white0;
  723. }
  724. }
  725. .formFieldSet+.formFieldSet {
  726. margin-top: 35px;
  727. }
  728. .ant-form {
  729. legend {
  730. width: auto;
  731. margin-left: 20px;
  732. font-size: 16px;
  733. color: @m-white0;
  734. border-bottom: 0;
  735. padding: 0 10px;
  736. }
  737. }
  738. .paddingDialog,.fieldsetDialog {
  739. .formFieldSet {
  740. legend {
  741. width: auto;
  742. margin-left: 20px;
  743. font-size: 16px;
  744. color: @m-white0;
  745. border-bottom: 0;
  746. padding: 0 10px;
  747. }
  748. }
  749. }
  750. .paddingDialog {
  751. .ant-modal-content {
  752. .ant-modal-body {
  753. padding: 24px;
  754. }
  755. }
  756. }
  757. // 上传
  758. .upload {
  759. display: inline-flex;
  760. .ant-btn.uploadBtn {
  761. width: 60px;
  762. height: 30px;
  763. background: @m-blue0;
  764. border: 0;
  765. padding: 0;
  766. text-align: center;
  767. font-size: 14px;
  768. color: @m-white0;
  769. .rounded-corners(3px);
  770. &:hover {
  771. background: rgba(@m-blue0, 0.8);
  772. color: rgba(@m-white0, 0.8);
  773. }
  774. }
  775. .ant-upload-list-item-info {
  776. .anticon-loading,.anticon-paper-clip {
  777. color: @m-white0;
  778. }
  779. .ant-upload-list-item-name {
  780. color: @m-white0;
  781. }
  782. .ant-upload-list-item-card-actions {
  783. .anticon {
  784. color: @m-white0;
  785. }
  786. }
  787. &:hover {
  788. background: transparent;
  789. .anticon-loading,.anticon-paper-clip {
  790. color: @m-blue0;
  791. }
  792. .ant-upload-list-item-name {
  793. color: @m-blue0;
  794. }
  795. .ant-upload-list-item-card-actions {
  796. .anticon {
  797. color: @m-blue0;
  798. }
  799. }
  800. }
  801. }
  802. .look {
  803. color: @m-blue0;
  804. font-size: 14px;
  805. margin-left: 10px;
  806. cursor: pointer;
  807. }
  808. }
  809. .fl {
  810. float: left;
  811. }
  812. .fr {
  813. float: right;
  814. }
  815. .ml10 {
  816. margin-left: 10px;
  817. }
  818. .ml9 {
  819. margin-left: 9px;
  820. }
  821. .ml5{
  822. margin-left: 5px;
  823. }
  824. .mt5 {
  825. margin-top: 5px;
  826. }
  827. .mt10 {
  828. margin-top: 10px;
  829. }
  830. .mt20 {
  831. margin-top: 20px;
  832. }
  833. .mt30 {
  834. margin-top: 30px;
  835. }
  836. .mb40 {
  837. margin-bottom: 40px !important;
  838. }
  839. .mr10 {
  840. margin-right: 10px;
  841. }
  842. .grey {
  843. color: @m-grey2;
  844. }
  845. .white {
  846. color: @m-white0;
  847. }
  848. .blue {
  849. color: @m-blue0;
  850. }
  851. .green {
  852. color: @m-green0;
  853. }
  854. .yellow {
  855. color: @m-yellow0;
  856. }
  857. .orange {
  858. color: @m-orange0;
  859. }
  860. .selectBtn.ant-btn {
  861. margin-left: 10px;
  862. width: 80px;
  863. height: 30px;
  864. line-height: 31px;
  865. text-align: center;
  866. background: linear-gradient(0deg, @m-grey15 0%, @m-grey16 98%);
  867. border: 0;
  868. color: @m-white0;
  869. font-size: 14px;
  870. .rounded-corners(3px);
  871. &:hover,
  872. &:focus {
  873. background: linear-gradient(0deg, @m-grey15-hover 0%, @m-grey16-hover 98%);
  874. color: rgba(@m-white0, 0.8);
  875. border: 0;
  876. }
  877. }
  878. .btnPrimary.ant-btn,.operBtn.ant-btn {
  879. margin-left: 10px;
  880. width: auto;
  881. min-width: 80px;
  882. height: 30px;
  883. line-height: 31px;
  884. text-align: center;
  885. background: linear-gradient(0deg, @m-blue6 0%, @m-blue7 99%);
  886. border: 0;
  887. color: @m-white0;
  888. font-size: 14px;
  889. .rounded-corners(3px);
  890. &:hover,
  891. &:focus {
  892. background: linear-gradient(0deg, @m-blue6-hover 0%, @m-blue7-hover 99%);
  893. color: rgba(@m-white0, 0.8);
  894. border: 0;
  895. }
  896. }
  897. .operBtn.ant-btn {
  898. margin-top: 9px;
  899. margin-bottom: 6px;
  900. }
  901. .ant-table-expanded-row {
  902. .btn-list {
  903. padding-right: 10px;
  904. text-align: right;
  905. }
  906. .btnPrimary.ant-btn {
  907. width: 80px;
  908. height: 26px;
  909. line-height: 27px;
  910. border: 0;
  911. background: linear-gradient(0deg, @m-blue2, @m-blue0);
  912. box-shadow: -1px 0px 0px 0px @m-black10;
  913. .rounded-corners(3px);
  914. &:hover,
  915. &:focus {
  916. background: linear-gradient(0deg, @m-blue2-hover 0%, @m-blue0-hover 99%);
  917. color: rgba(@m-white0, 0.8);
  918. border: 0;
  919. }
  920. }
  921. .ant-btn+.ant-btn {
  922. margin-left: 10px;
  923. }
  924. }
  925. .btnDanger.ant-btn{
  926. margin-left: 10px;
  927. width: 80px;
  928. height: 26px;
  929. line-height: 27px;
  930. text-align: center;
  931. border: 0;
  932. color: @m-white0;
  933. font-size: 14px;
  934. background: linear-gradient(0deg, @m-red0 0%, @m-red1 99%);
  935. .rounded-corners(3px);
  936. &:hover,
  937. &:focus {
  938. background: linear-gradient(0deg, @m-red0-hover 0%, @m-red1-hover 99%);
  939. color: rgba(@m-white0, 0.8);
  940. border: 0;
  941. }
  942. }
  943. .btnDeafault.ant-btn {
  944. margin-left: 10px;
  945. width: 80px;
  946. height: 26px;
  947. line-height: 27px;
  948. text-align: center;
  949. border: 0;
  950. color: @m-white0;
  951. font-size: 14px;
  952. background: linear-gradient(0deg, @m-grey12 0%, @m-grey13 100%);
  953. .rounded-corners(3px);
  954. &:hover,
  955. &:focus {
  956. background: linear-gradient(0deg, @m-grey12-hover 0%, @m-grey13-hover 99%);
  957. color: rgba(@m-white0, 0.8);
  958. border: 0;
  959. }
  960. }
  961. // .hiddenFirstCol {
  962. // .ant-table {
  963. // .ant-table-content {
  964. // .ant-table-scroll {
  965. // .ant-table-hide-scrollbar {
  966. // .ant-table-fixed {
  967. // .ant-table-thead {
  968. // .ant-table-expand-icon-th {
  969. // width: 0 !important;
  970. // }
  971. // }
  972. // }
  973. // }
  974. // }
  975. // .ant-table-body {
  976. // table {
  977. // .ant-table-thead {
  978. // .ant-table-expand-icon-th {
  979. // width: 0 !important;
  980. // }
  981. // }
  982. // .ant-table-tbody {
  983. // .ant-table-row {
  984. // .ant-table-row-expand-icon-cell {
  985. // width: 0 !important;
  986. // }
  987. // }
  988. // tr.ant-table-expanded-row {
  989. // td:first-child {
  990. // width: 0 !important;
  991. // }
  992. // }
  993. // }
  994. // }
  995. // }
  996. // }
  997. // }
  998. // }
  999. .to {
  1000. font-size: 14px;
  1001. color: @m-grey2;
  1002. margin-left: -8px;
  1003. margin-right: 2px;
  1004. }
  1005. .filterTable {
  1006. display: inline-flex;
  1007. width: calc(100% - 3px);
  1008. padding-left: 3px;
  1009. }
  1010. .ant-row.dialogRowTitle {
  1011. margin-left: 0 !important;
  1012. margin-right: 0 !important;
  1013. border: 1px solid @m-grey20;
  1014. .ant-col {
  1015. border-top: 1px solid @m-grey20;
  1016. border-right: 1px solid @m-grey20;
  1017. padding-left: 0 !important;
  1018. padding-right: 0 !important;
  1019. height: 34px;
  1020. line-height: 34px;
  1021. font-size: 16px;
  1022. color: @m-grey2;
  1023. .red {
  1024. color: @m-red1;
  1025. }
  1026. }
  1027. .ant-col:nth-child(1),.ant-col:nth-child(2),.ant-col:nth-child(3),.ant-col:nth-child(4){
  1028. border-top: 0;
  1029. text-align: center;
  1030. }
  1031. .ant-col:last-child {
  1032. border-right: 1px solid @m-grey20;
  1033. }
  1034. .bt1 {
  1035. border-top: 1px solid @m-grey20 !important;
  1036. }
  1037. }
  1038. // 日期输入框 @m-grey21
  1039. .commonPicker.ant-calendar-picker {
  1040. .ant-input {
  1041. background: @m-grey21;
  1042. border-color: @m-grey14;
  1043. padding: 4px 8px;
  1044. .rounded-corners(3px);
  1045. .ant-calendar-range-picker-input {
  1046. color: @m-white0;
  1047. font-size: 14px;
  1048. &::placeholder {
  1049. color: @m-grey10;
  1050. }
  1051. }
  1052. .ant-calendar-picker-clear {
  1053. background: @m-white0;
  1054. }
  1055. .ant-calendar-range-picker-separator {
  1056. font-size: 14px;
  1057. color: @m-grey2;
  1058. }
  1059. }
  1060. }
  1061. // 日期输入框
  1062. .commonDatePicker.ant-calendar-picker {
  1063. .ant-input {
  1064. background: @m-grey9;
  1065. padding: 0 8px;
  1066. height: 30px;
  1067. line-height: 30px;
  1068. border: 0;
  1069. color: @m-white1;
  1070. }
  1071. .ant-calendar-picker-icon {
  1072. color: @m-grey1;
  1073. }
  1074. .ant-calendar-picker-clear {
  1075. background: transparent;
  1076. color: @m-grey1;
  1077. svg {
  1078. fill: @m-grey1;
  1079. }
  1080. }
  1081. }
  1082. .ant-popover {
  1083. .ant-popover-content {
  1084. border: 1px solid @m-grey22;
  1085. .rounded-corners(5px);
  1086. .ant-popover-arrow {
  1087. border-top-color: @m-grey22;
  1088. border-left-color: @m-grey22;
  1089. }
  1090. .ant-popover-inner {
  1091. .ant-popover-inner-content {
  1092. border-image-width: 0;
  1093. background: @m-grey22;
  1094. color: @m-white0;
  1095. padding: 5px 15px;
  1096. &:hover {
  1097. color: @m-blue0;
  1098. }
  1099. }
  1100. }
  1101. }
  1102. }
  1103. .ant-calendar-picker-container {
  1104. .ant-calendar-range,.ant-calendar {
  1105. background: @m-grey22;
  1106. border-color: @m-grey22;
  1107. .ant-calendar-panel {
  1108. .ant-calendar-input-wrap {
  1109. border-bottom-color: @m-grey23;
  1110. .ant-calendar-input {
  1111. background: transparent;
  1112. border: 1px solid @m-grey1;
  1113. color: @m-white0;
  1114. &::placeholder {
  1115. color: @m-grey1;
  1116. }
  1117. }
  1118. }
  1119. .ant-calendar-date-panel {
  1120. // .ant-calendar-range-part {
  1121. .ant-calendar-header {
  1122. border-color: @m-grey1;
  1123. .ant-calendar-prev-year-btn,.ant-calendar-prev-month-btn {
  1124. color: @m-grey1;
  1125. &::before,&::after {
  1126. border-color: @m-grey2;
  1127. }
  1128. }
  1129. .ant-calendar-month-select,.ant-calendar-year-select {
  1130. color: @m-grey1;
  1131. }
  1132. }
  1133. .ant-calendar-body {
  1134. border-top-color: @m-grey1;
  1135. .ant-calendar-column-header-inner {
  1136. color: @m-grey1;
  1137. }
  1138. .ant-calendar-cell {
  1139. .ant-calendar-date {
  1140. background: transparent;
  1141. color: @m-white0;
  1142. }
  1143. &:hover {
  1144. .ant-calendar-date {
  1145. color: @m-blue0;
  1146. }
  1147. }
  1148. }
  1149. .ant-calendar-last-day-of-month,.ant-calendar-next-month-btn-day {
  1150. .ant-calendar-date {
  1151. color: @m-white1;
  1152. }
  1153. }
  1154. .ant-calendar-disabled-cell {
  1155. .ant-calendar-date {
  1156. color: @m-grey1;
  1157. }
  1158. }
  1159. .ant-calendar-selected-day {
  1160. .ant-calendar-date {
  1161. color: @m-blue0;
  1162. }
  1163. }
  1164. .ant-calendar-active-week {
  1165. .ant-calendar-cell {
  1166. .ant-calendar-date {
  1167. background: transparent;
  1168. }
  1169. }
  1170. }
  1171. // }
  1172. }
  1173. .ant-calendar-range-middle {
  1174. color: @m-white1;
  1175. }
  1176. }
  1177. }
  1178. .ant-calendar-footer {
  1179. border-top-color: @m-grey1;
  1180. .ant-calendar-time-picker-btn {
  1181. color: @m-grey1;
  1182. }
  1183. .ant-calendar-ok-btn {
  1184. background-color: @m-blue0;
  1185. border-color: @m-blue0;
  1186. color: @m-white0;
  1187. &:hover {
  1188. background-color: @m-blue0-hover;
  1189. border-color: @m-blue0-hover;
  1190. color: @m-white0-hover;
  1191. }
  1192. }
  1193. }
  1194. }
  1195. .ant-calendar-month-calendar {
  1196. .ant-calendar-month-calendar-content {
  1197. .ant-calendar-month-header-wrap {
  1198. .ant-calendar-header {
  1199. .ant-calendar-prev-year-btn,.ant-calendar-prev-month-btn {
  1200. color: @m-grey1;
  1201. &::before,&::after {
  1202. border-color: @m-grey2;
  1203. }
  1204. }
  1205. .ant-calendar-month-panel-year-select {
  1206. color: @m-grey1;
  1207. }
  1208. }
  1209. .ant-calendar-month-panel-body {
  1210. .ant-calendar-month-panel-table {
  1211. .ant-calendar-month-panel-tbody {
  1212. .ant-calendar-month-panel-cell {
  1213. .ant-calendar-month-panel-month {
  1214. color: @m-white1;
  1215. &:hover {
  1216. background: transparent;
  1217. color: @m-blue0;
  1218. }
  1219. }
  1220. }
  1221. }
  1222. }
  1223. }
  1224. }
  1225. }
  1226. .ant-calendar-month-panel {
  1227. background: @m-grey22;
  1228. border-color: @m-grey22;
  1229. .ant-calendar-month-panel-header {
  1230. border-color: @m-grey1;
  1231. }
  1232. }
  1233. }
  1234. }
  1235. .ant-calendar-range {
  1236. .ant-calendar-in-range-cell::before {
  1237. background: @m-grey22-hover;
  1238. }
  1239. }
  1240. .has-error .ant-input:not(.has-error .ant-input-disabled), -has-error .ant-input:not(.has-error .ant-input-disabled), .has-error .ant-input:not(-has-error .ant-input-disabled), -has-error .ant-input:not(-has-error .ant-input-disabled) {
  1241. background: @m-grey21;
  1242. }
  1243. .ant-modal-confirm-confirm {
  1244. top: 50%;
  1245. padding-bottom: 0;
  1246. margin-top: -64px;
  1247. .ant-modal-content {
  1248. background: @m-grey11;
  1249. .ant-modal-close {
  1250. .ant-modal-close-x {
  1251. width: 40px;
  1252. height: 40px;
  1253. line-height: 40px;
  1254. .ant-modal-close-icon {
  1255. color: @m-blue11;
  1256. }
  1257. }
  1258. }
  1259. .ant-modal-body {
  1260. padding: 24px;
  1261. .ant-modal-confirm-body-wrapper {
  1262. .ant-modal-confirm-body {
  1263. .ant-modal-confirm-title {
  1264. color: @m-white0;
  1265. text-align: center;
  1266. }
  1267. }
  1268. .ant-modal-confirm-btns {
  1269. float: none;
  1270. text-align: center;
  1271. .ant-btn {
  1272. width: 100px;
  1273. height: 34px;
  1274. line-height: 32px;
  1275. border: 1px solid @m-blue10;
  1276. border-radius: 3px;
  1277. background: transparent;
  1278. font-size: 16px;
  1279. color: @m-blue10;
  1280. margin-right: 20px;
  1281. &:hover {
  1282. border-color: rgba(@m-blue10, .8);
  1283. }
  1284. }
  1285. .ant-btn-primary {
  1286. margin-left: 20px;
  1287. width: 100px;
  1288. height: 34px;
  1289. line-height: 32px;
  1290. border: 0;
  1291. background: linear-gradient(0deg, @m-blue8 0%, @m-blue9 100%);
  1292. border-radius: 3px;
  1293. font-size: 16px;
  1294. color: @m-white0;
  1295. &:hover {
  1296. background: linear-gradient(0deg, @m-blue8-hover 0%, @m-blue9-hover 100%);
  1297. color: @m-white0-hover;
  1298. }
  1299. }
  1300. }
  1301. }
  1302. }
  1303. }
  1304. }
  1305. .tltLeft {
  1306. font-size: 16px;
  1307. text-align: left;
  1308. .icon {
  1309. font-size: 20px;
  1310. fill: @m-blue0;
  1311. margin-right: 10px;
  1312. }
  1313. }
  1314. .ant-collapse.spotCollapse.ant-collapse-borderless {
  1315. margin-top: 10px;
  1316. background-color: transparent;
  1317. .ant-collapse-item {
  1318. border-bottom: 0;
  1319. .ant-collapse-header {
  1320. color: @m-grey17;
  1321. font-size: 14px;
  1322. border-bottom: 1px solid @m-grey18;
  1323. padding: 10px 8px 10px 44px;
  1324. height: 43px;
  1325. .ant-collapse-arrow {
  1326. fill: @m-grey17;
  1327. width: 16px;
  1328. height: 16px;
  1329. font-size: 16px;
  1330. left: 0;
  1331. }
  1332. }
  1333. .ant-collapse-content {
  1334. .ant-collapse-content-box {
  1335. padding: 0 0 0 30px;
  1336. background-color: transparent;
  1337. .ant-row.contRow {
  1338. width: 100%;
  1339. height: 40px;
  1340. line-height: 40px;
  1341. font-size: 16px;
  1342. color: @m-white1;
  1343. margin-bottom: 10px;
  1344. background: #0f161c;
  1345. border: 1px solid #172b56;
  1346. border-radius: 3px;
  1347. padding-left: 14px;
  1348. padding-right: 12px;
  1349. .ant-col:last-child {
  1350. text-align: right;
  1351. }
  1352. .ant-col:first-child {
  1353. text-align: left;
  1354. }
  1355. }
  1356. .contRow:first-child {
  1357. margin-top: 9px;
  1358. }
  1359. .contRow:last-child {
  1360. margin-bottom: 20px;
  1361. }
  1362. }
  1363. }
  1364. }
  1365. }
  1366. .ant-collapse.busyCollapse.ant-collapse-borderless {
  1367. margin-top: 10px;
  1368. background: #0f161c;
  1369. border: 1px solid #172b56;
  1370. .rounded-corners(3px);
  1371. .ant-collapse-item {
  1372. border-bottom: 0;
  1373. .ant-collapse-header {
  1374. color: @m-grey17;
  1375. font-size: 14px;
  1376. border-bottom: 0;
  1377. padding: 0;
  1378. line-height: 43px;
  1379. .ant-collapse-arrow {
  1380. fill: @m-grey17;
  1381. width: 16px;
  1382. height: 16px;
  1383. font-size: 16px;
  1384. left: 0;
  1385. }
  1386. .ant-row.contRow {
  1387. width: 100%;
  1388. // height: 40px;
  1389. line-height: 40px;
  1390. font-size: 16px;
  1391. color: @m-white1;
  1392. margin-bottom: 10px;
  1393. // background: #0f161c;
  1394. border: 0 !important;
  1395. // border-radius: 3px;
  1396. padding-left: 14px;
  1397. padding-right: 12px;
  1398. .ant-col:last-child {
  1399. text-align: right;
  1400. }
  1401. .ant-col:first-child {
  1402. text-align: left;
  1403. }
  1404. }
  1405. .contRow:first-child {
  1406. margin-top: 0 !important;
  1407. }
  1408. .contRow:last-child {
  1409. margin-bottom: 0 !important;
  1410. }
  1411. }
  1412. .ant-collapse-content.ant-collapse-content-active {
  1413. .ant-collapse-content-box {
  1414. padding: 0 0 0 30px;
  1415. background-color: transparent;
  1416. .btn-list {
  1417. width: calc(100% - 10px);
  1418. justify-content: flex-end;
  1419. padding-right: 10px;
  1420. padding-bottom: 10px;
  1421. }
  1422. }
  1423. }
  1424. }
  1425. }
  1426. .ant-row.headRow {
  1427. .ant-col:first-child {
  1428. text-align: left;
  1429. }
  1430. .ant-col:nth-child(3) {
  1431. text-align: right;
  1432. }
  1433. }
  1434. // 输入框自动填充背景色和字体颜色
  1435. input:-webkit-autofill,
  1436. textarea:-webkit-autofill,
  1437. select:-webkit-autofill,
  1438. .dialogInput:-webkit-autofill {
  1439. box-shadow: inset 0 0 0 1000px @m-grey21;
  1440. -webkit-text-fill-color: #e5e5e5;
  1441. }
  1442. input:-internal-autofill-selected {
  1443. background-color: @m-grey21 !important;
  1444. }
  1445. .login {
  1446. input:-webkit-autofill {
  1447. box-shadow: inset 0 0 0 1000px @m-white0;
  1448. }
  1449. }
  1450. .ant-checkbox-group.commonCheckboxGroup {
  1451. width: 100%;
  1452. .ant-checkbox-wrapper {
  1453. color: @m-white0;
  1454. font-size: 14px;
  1455. .ant-checkbox {
  1456. margin-right: 2px;
  1457. .ant-checkbox-inner {
  1458. background: #15202B;
  1459. border: 1px solid #2B3F52;
  1460. border-radius: 3px;
  1461. }
  1462. }
  1463. .ant-checkbox.ant-checkbox-checked {
  1464. .ant-checkbox-inner {
  1465. &::after {
  1466. border-color: #3A87F7;
  1467. }
  1468. }
  1469. &::after {
  1470. border-color: #3A87F7;
  1471. }
  1472. }
  1473. span+span {
  1474. margin-right: 15px;
  1475. color: @m-white0;
  1476. font-size: 14px;
  1477. }
  1478. }
  1479. .ant-checkbox-wrapper-disabled {
  1480. .ant-checkbox-disabled {
  1481. outline-color: #2B3F52;
  1482. .ant-checkbox-input {
  1483. color: @m-white0;
  1484. font-size: 14px;
  1485. }
  1486. .ant-checkbox-inner {
  1487. border-color: #2B3F52 !important;
  1488. }
  1489. }
  1490. }
  1491. }
  1492. .commonRadioGroup {
  1493. .ant-radio-wrapper {
  1494. color: @m-white0;
  1495. font-size: 14px;
  1496. .ant-radio {
  1497. .ant-radio-inner {
  1498. border-color:#3A87F7;
  1499. background: #15202B;
  1500. &::after {
  1501. left: 4px;
  1502. top: 4px;
  1503. width: 6px;
  1504. height: 6px;
  1505. background: #3A87F7;
  1506. border-radius: 50%;
  1507. }
  1508. }
  1509. }
  1510. }
  1511. .ant-radio-wrapper-disabled {
  1512. .ant-radio-disabled {
  1513. .ant-radio-inner {
  1514. border-color:#3A87F7 !important;
  1515. background: #15202B;
  1516. &::after {
  1517. left: 4px;
  1518. top: 4px;
  1519. width: 6px;
  1520. height: 6px;
  1521. background: #3A87F7;
  1522. border-radius: 50%;
  1523. }
  1524. }
  1525. }
  1526. span+span {
  1527. color: @m-white0;
  1528. font-size: 14px;
  1529. }
  1530. }
  1531. }
  1532. .tc {
  1533. text-align: center;
  1534. }
  1535. .checkboxGroupItem {
  1536. .ant-col.ant-form-item-control-wrapper {
  1537. max-width: calc(100% - 130px);
  1538. }
  1539. }
  1540. .ant-spin-container::after,.ant-drawer-content {
  1541. background-color: transparent;
  1542. }
  1543. .ant-layout-sider-has-trigger {
  1544. padding-bottom: 40px;
  1545. }
  1546. // 弹窗中表格内容居中
  1547. .tableContextCenter {
  1548. .dialogTable {
  1549. .ant-table-thead {
  1550. tr {
  1551. th {
  1552. text-align: center;
  1553. }
  1554. }
  1555. }
  1556. .ant-table-tbody {
  1557. tr {
  1558. td {
  1559. text-align: center;
  1560. }
  1561. }
  1562. }
  1563. }
  1564. }
  1565. .filter-check {
  1566. > span {
  1567. &:nth-of-type(2) {
  1568. color: @m-grey2;
  1569. height: 30px;
  1570. line-height: 30px;
  1571. }
  1572. }
  1573. }