mixin.less 55 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077
  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: @m-black16) {
  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: @m-white1;
  158. .ant-input {
  159. color: @m-white1;
  160. background: transparent;
  161. }
  162. .ant-input-suffix {
  163. color: @m-white1;
  164. }
  165. &:hover, &:focus {
  166. border-color:@m-blue10;
  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: @m-grey22;
  184. border: 1PX solid @m-grey23;
  185. box-shadow: 0px 10px 10px 0px @m-black18;
  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 @m-black17;
  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. .expandLeftTable {
  258. .ant-table {
  259. .ant-table-content {
  260. .ant-table-tbody {
  261. .ant-table-expanded-row {
  262. width: calc(100vw - 180px);
  263. }
  264. }
  265. }
  266. }
  267. }
  268. // 上面表格样式
  269. .topTable {
  270. .ant-table {
  271. width: 100%;
  272. table {
  273. border: 0;
  274. }
  275. .ant-table-thead {
  276. tr {
  277. box-shadow: 0px 1px 0px 0px @m-black17;
  278. th {
  279. line-height: 34px;
  280. background: @m-black8;
  281. padding-top: 0;
  282. padding-bottom: 0;
  283. color: @m-grey17;
  284. font-size: 14px;
  285. border-right: 1px solid @m-black9;
  286. border-bottom: 1px solid @m-black9;
  287. // white-space: nowrap;
  288. // text-overflow: ellipsis;
  289. // overflow: hidden;
  290. }
  291. }
  292. }
  293. .ant-table-tbody {
  294. tr {
  295. td {
  296. height: 34px;
  297. line-height: 34px;
  298. padding: 0 8px;
  299. border-right: 1px solid @m-black9;
  300. border-bottom: 1px solid @m-black9;
  301. font-size: 16px;
  302. color: @m-white1;
  303. // white-space: nowrap;
  304. // text-overflow: ellipsis;
  305. // overflow: hidden;
  306. }
  307. }
  308. tr.ant-table-expanded-row:hover { //tr.ant-table-expanded-row,
  309. td {
  310. background-color: @m-blue3;
  311. }
  312. }
  313. tr.ant-table-expanded-row {
  314. td {
  315. text-align: right;
  316. }
  317. }
  318. }
  319. .ant-table-placeholder {
  320. border: 0;
  321. background: @m-black2;
  322. }
  323. }
  324. .ant-table-row-expand-icon {
  325. border-color: @m-grey17;
  326. background-color: transparent;
  327. color: @m-grey17;
  328. }
  329. .operBtn.ant-btn {
  330. margin-top: 0;
  331. margin-bottom: 0;
  332. height: 26px;
  333. line-height: 26px;
  334. }
  335. }
  336. // 展开行操作按钮显示问题
  337. .topOrderTable {
  338. .ant-table {
  339. width: 100%;
  340. table {
  341. border: 0;
  342. }
  343. .ant-table-thead {
  344. tr {
  345. box-shadow: 0px 1px 0px 0px @m-black17;
  346. th {
  347. line-height: 34px;
  348. background: @m-black8;
  349. padding-top: 0;
  350. padding-bottom: 0;
  351. color: @m-grey17;
  352. font-size: 14px;
  353. border-right: 1px solid @m-black9;
  354. border-bottom: 1px solid @m-black9;
  355. white-space: nowrap;
  356. text-overflow: ellipsis;
  357. overflow: hidden;
  358. }
  359. }
  360. }
  361. .ant-table-tbody {
  362. tr {
  363. td {
  364. height: 34px;
  365. line-height: 34px;
  366. padding: 0 8px;
  367. border-right: 1px solid @m-black9;
  368. border-bottom: 1px solid @m-black9;
  369. font-size: 16px;
  370. color: @m-white1;
  371. white-space: nowrap;
  372. text-overflow: ellipsis;
  373. overflow: hidden;
  374. }
  375. }
  376. tr.ant-table-expanded-row:hover { //tr.ant-table-expanded-row,
  377. td {
  378. background-color: @m-blue3;
  379. }
  380. }
  381. tr.ant-table-expanded-row {
  382. td {
  383. text-align: right;
  384. }
  385. td:last-child {
  386. position: relative;
  387. .btn-list {
  388. position: absolute;
  389. left: calc(100vw - 530px);
  390. top: 4px;
  391. width: 300px;
  392. text-align: right;
  393. .operBtn.ant-btn {
  394. margin-top: 0;
  395. margin-bottom: 0;
  396. height: 26px;
  397. line-height: 26px;
  398. }
  399. }
  400. }
  401. }
  402. }
  403. .ant-table-placeholder {
  404. border: 0;
  405. background: @m-black2;
  406. }
  407. }
  408. .ant-table-row-expand-icon {
  409. border-color: @m-grey17;
  410. background-color: transparent;
  411. color: @m-grey17;
  412. }
  413. }
  414. // 折叠菜单后右侧表格中展开后操作按钮的位置
  415. .collapsed {
  416. .topOrderTable {
  417. .ant-table {
  418. .ant-table-tbody {
  419. tr.ant-table-expanded-row {
  420. td:last-child {
  421. .btn-list {
  422. left: calc(100vw - 430px);
  423. }
  424. }
  425. }
  426. }
  427. }
  428. }
  429. }
  430. // 弹窗表格
  431. .dialogTable {
  432. .ant-table {
  433. width: 100%;
  434. background: transparent;
  435. table {
  436. border: 1px solid @m-grey20;
  437. border-radius: 0;
  438. }
  439. .ant-table-thead {
  440. tr {
  441. box-shadow: 0px 1px 0px 0px @m-black17;
  442. th {
  443. line-height: 36px;
  444. background: @m-grey11;
  445. padding-top: 0;
  446. padding-bottom: 0;
  447. color: @m-grey2;
  448. font-size: 16px;
  449. border-right: 1px solid @m-grey20;
  450. border-bottom: 1px solid @m-grey20;
  451. white-space: nowrap;
  452. text-overflow: ellipsis;
  453. overflow: hidden;
  454. }
  455. }
  456. }
  457. .ant-table-tbody {
  458. tr {
  459. td {
  460. height: 36px;
  461. line-height: 36px;
  462. padding: 0 8px;
  463. border-right: 1px solid @m-grey20;
  464. border-bottom: 1px solid @m-grey20;
  465. font-size: 14px;
  466. color: @m-white1;
  467. white-space: nowrap;
  468. text-overflow: ellipsis;
  469. overflow: hidden;
  470. background: @m-grey11;
  471. }
  472. }
  473. }
  474. .ant-table-placeholder {
  475. border: 0;
  476. background: @m-grey11;
  477. }
  478. }
  479. }
  480. .ant-empty-normal {
  481. color: @m-grey17;
  482. }
  483. .ant-empty-img-simple-path,.ant-empty-img-simple-ellipse {
  484. fill: @m-grey17;
  485. }
  486. .ant-empty-img-simple-g {
  487. stroke: @m-grey17;
  488. }
  489. .ant-modal-wrap {
  490. overflow: hidden;
  491. }
  492. .add-custom,.commonModal {
  493. top: 0;
  494. max-height: 100%;
  495. padding-bottom: 0;
  496. .ant-modal-content {
  497. background: @m-grey11;
  498. border-radius: 5px;
  499. height: 100%;
  500. .ant-modal-close {
  501. .ant-modal-close-x {
  502. width: 40px;
  503. height: 40px;
  504. line-height: 40px;
  505. .ant-modal-close-icon {
  506. color: @m-blue11;
  507. }
  508. }
  509. }
  510. .ant-modal-header {
  511. height: 40px;
  512. background: linear-gradient(0deg, @m-blue4, @m-blue5);
  513. border-radius: 5px;
  514. padding: 0;
  515. text-align: center;
  516. border-bottom: 0;
  517. .ant-modal-title {
  518. line-height: 40px;
  519. font-size: 16px;
  520. color: @m-white0;
  521. }
  522. }
  523. .ant-modal-body {
  524. min-height: 380px;
  525. max-height: calc(100vh - 115px);
  526. overflow-y: auto;
  527. }
  528. .ant-modal-footer {
  529. border-top: 0;
  530. text-align: center;
  531. padding-bottom: 31px;
  532. height: 75px;
  533. .ant-btn-primary {
  534. width: 200px;
  535. height: 34px;
  536. line-height: 32px;
  537. border: 0;
  538. background: linear-gradient(0deg, @m-blue8 0%, @m-blue9 100%);
  539. border-radius: 3px;
  540. font-size: 16px;
  541. color: @m-white0;
  542. &:hover {
  543. background: linear-gradient(0deg, @m-blue8-hover 0%, @m-blue9-hover 100%);
  544. color: @m-white0-hover;
  545. }
  546. }
  547. .ant-btn.cancelBtn {
  548. width: 200px;
  549. height: 34px;
  550. line-height: 32px;
  551. border: 1px solid @m-blue10;
  552. border-radius: 3px;
  553. background: transparent;
  554. font-size: 16px;
  555. color: @m-blue10;
  556. margin-right: 20px;
  557. &:hover {
  558. border-color: rgba(@m-blue10, .8);
  559. }
  560. }
  561. }
  562. }
  563. }
  564. .ant-form.inlineForm {
  565. .ant-row.ant-form-item {
  566. margin-bottom: 21px;
  567. .ant-form-item-label {
  568. position: relative;
  569. width: 130px;
  570. line-height: 30px;
  571. text-align: left;
  572. label {
  573. color: @m-grey1;
  574. padding-left: 16px;
  575. &::after {
  576. content: ''
  577. }
  578. &::before {
  579. .position(absolute, 0, auto, auto, 0);
  580. font-size: 16px;
  581. line-height: 21px;
  582. color: @m-red1;
  583. }
  584. label {
  585. padding-left: 0;
  586. }
  587. }
  588. }
  589. .ant-form-item-control-wrapper {
  590. .ant-form-item-control {
  591. line-height: 30px;
  592. }
  593. }
  594. }
  595. .relative.ant-form-item {
  596. position: relative;
  597. // .itemTip {
  598. // position: absolute;
  599. // color: @m-grey1;
  600. // }
  601. .tip {
  602. position: absolute;
  603. font-size: 14px;
  604. color: @m-grey1;
  605. width: 100%;
  606. // div:nth-child(2){
  607. // margin-top: -10px;
  608. // }
  609. }
  610. .ant-form-item-control {
  611. width: 200px;
  612. .unit {
  613. float: right;
  614. color: @m-grey2;
  615. }
  616. .backUnit {
  617. position: absolute;
  618. right: -20px;
  619. top: -7px;
  620. line-height: 32px;
  621. height: 32px;
  622. color: @m-grey2;
  623. }
  624. }
  625. }
  626. .tc.ant-form-item {
  627. .ant-form-item-control-wrapper {
  628. margin: 0 auto;
  629. }
  630. }
  631. .pl40.ant-form-item {
  632. .ant-form-item-label {
  633. label {
  634. padding-left: 40px;
  635. }
  636. }
  637. }
  638. }
  639. .ant-form.dialogForm {
  640. .ant-row.ant-form-item {
  641. .ant-form-item-label {
  642. width: 70px;
  643. label {
  644. padding-left: 0;
  645. &::before {
  646. display: none;
  647. }
  648. }
  649. }
  650. .ant-form-item-control-wrapper {
  651. width: calc(100% - 70px);
  652. }
  653. }
  654. }
  655. .ant-select-single {
  656. .ant-select-selector {
  657. height: 30px;
  658. padding: 0 8px;
  659. background: @m-grey21;
  660. border: 1px solid @m-blue10;
  661. border-radius: 3px;
  662. color: @m-white1;
  663. }
  664. .ant-select-arrow {
  665. right: 8px;
  666. color: @m-blue0;
  667. }
  668. }
  669. .inlineFormSelect.ant-select-single {
  670. .rounded-corners(3px);
  671. border: 1px solid @m-grey14;
  672. &:hover, &:focus {
  673. border-color:@m-blue10;
  674. }
  675. .ant-select-selector {
  676. height: 30px;
  677. padding: 0 8px;
  678. background: @m-grey21;
  679. border: 0;
  680. color: @m-white1;
  681. .ant-select-selection-placeholder {
  682. color: @m-grey10;
  683. }
  684. }
  685. .ant-select-arrow {
  686. right: 8px;
  687. color: @m-blue0 !important;
  688. }
  689. }
  690. .shortSelect.ant-select-single:extend(.inlineFormSelect.ant-select-single) {
  691. margin-right: 0;
  692. .ant-select-selector {
  693. padding: 0 5px;
  694. .ant-select-selection-item {
  695. padding-right: 14px;
  696. }
  697. }
  698. }
  699. .typeSelect.ant-select-single {
  700. .rounded-corners(3px);
  701. border: 1px solid @m-grey14;
  702. &:hover, &:focus {
  703. border-color:@m-blue10;
  704. }
  705. .ant-select-selector {
  706. height: 30px;
  707. padding: 0 8px;
  708. background: @m-grey21;
  709. border: 0;
  710. color: @m-white1;
  711. .ant-select-selection-placeholder {
  712. color: @m-grey10;
  713. }
  714. }
  715. .ant-select-arrow {
  716. right: 8px;
  717. color: @m-blue0;
  718. }
  719. }
  720. .input-enumdicname {
  721. color: @m-grey10;
  722. margin-left: 5px;
  723. font-size: 16px;
  724. }
  725. .input-enumdicname-absolute {
  726. position: absolute;
  727. top: -8px;
  728. right: -23px;
  729. color: @m-grey10;
  730. margin-left: 5px;
  731. font-size: 16px;
  732. }
  733. .dialogInput {
  734. background: @m-grey21;
  735. border: 1px solid @m-grey14;
  736. border-radius: 3px;
  737. color: @m-white1;
  738. .ant-input {
  739. color: @m-white1;
  740. background: transparent
  741. }
  742. .ant-input-suffix {
  743. color: @m-white1;
  744. }
  745. .ant-input-suffix {
  746. .ant-input-password-icon {
  747. color: @m-white1;
  748. }
  749. }
  750. &:hover,&:focus {
  751. border-color: @m-blue10;
  752. }
  753. }
  754. .yellowInput {
  755. .ant-input,.ant-input-number-input {
  756. color: @m-yellow1;
  757. font-size: 16px;
  758. text-align: center;
  759. }
  760. }
  761. .suffixGrey {
  762. .ant-input-suffix {
  763. color: @m-grey2;
  764. }
  765. }
  766. .formFieldSet {
  767. border: 1px solid @m-grey19;
  768. padding: 0 20px 20px;
  769. legend {
  770. color: @m-white0;
  771. }
  772. }
  773. .formFieldSet+.formFieldSet {
  774. margin-top: 35px;
  775. }
  776. .ant-form {
  777. legend {
  778. width: auto;
  779. margin-left: 20px;
  780. font-size: 16px;
  781. color: @m-white0;
  782. border-bottom: 0;
  783. padding: 0 10px;
  784. }
  785. }
  786. .paddingDialog,.fieldsetDialog {
  787. .formFieldSet {
  788. legend {
  789. width: auto;
  790. margin-left: 20px;
  791. font-size: 16px;
  792. color: @m-white0;
  793. border-bottom: 0;
  794. padding: 0 10px;
  795. }
  796. }
  797. }
  798. .paddingDialog {
  799. .ant-modal-content {
  800. .ant-modal-body {
  801. padding: 24px;
  802. }
  803. }
  804. }
  805. // 上传
  806. .upload {
  807. display: inline-flex;
  808. .ant-btn.uploadBtn {
  809. width: 60px;
  810. height: 30px;
  811. background: @m-blue0;
  812. border: 0;
  813. padding: 0;
  814. text-align: center;
  815. font-size: 14px;
  816. color: @m-white0;
  817. .rounded-corners(3px);
  818. &:hover {
  819. background: rgba(@m-blue0, 0.8);
  820. color: rgba(@m-white0, 0.8);
  821. }
  822. }
  823. .ant-upload-list-item-info {
  824. .anticon-loading,.anticon-paper-clip {
  825. color: @m-white0;
  826. }
  827. .ant-upload-list-item-name {
  828. color: @m-white0;
  829. }
  830. .ant-upload-list-item-card-actions {
  831. .anticon {
  832. color: @m-white0;
  833. }
  834. }
  835. &:hover {
  836. background: transparent;
  837. .anticon-loading,.anticon-paper-clip {
  838. color: @m-blue0;
  839. }
  840. .ant-upload-list-item-name {
  841. color: @m-blue0;
  842. }
  843. .ant-upload-list-item-card-actions {
  844. .anticon {
  845. color: @m-blue0;
  846. }
  847. }
  848. }
  849. }
  850. .look {
  851. color: @m-blue0;
  852. font-size: 14px;
  853. margin-left: 10px;
  854. cursor: pointer;
  855. }
  856. }
  857. .fl {
  858. float: left;
  859. }
  860. .fr {
  861. float: right;
  862. }
  863. .ml10 {
  864. margin-left: 10px;
  865. }
  866. .ml35 {
  867. margin-left: 35px;
  868. }
  869. .ml9 {
  870. margin-left: 9px;
  871. }
  872. .ml5{
  873. margin-left: 5px;
  874. }
  875. .mt5 {
  876. margin-top: 5px;
  877. }
  878. .mt10 {
  879. margin-top: 10px;
  880. }
  881. .mt20 {
  882. margin-top: 20px;
  883. }
  884. .mt25 {
  885. margin-top: 25px;
  886. }
  887. .mt30 {
  888. margin-top: 30px;
  889. }
  890. .mb40 {
  891. margin-bottom: 40px !important;
  892. }
  893. .mr10 {
  894. margin-right: 10px;
  895. }
  896. .red {
  897. color: @m-red0;
  898. }
  899. .grey {
  900. color: @m-grey2;
  901. }
  902. .white {
  903. color: @m-white0;
  904. }
  905. .blue {
  906. color: @m-blue0;
  907. }
  908. .green {
  909. color: @m-green0;
  910. }
  911. .yellow {
  912. color: @m-yellow0;
  913. }
  914. .orange {
  915. color: @m-orange0;
  916. }
  917. .selectBtn.ant-btn {
  918. margin-left: 10px;
  919. width: 80px;
  920. height: 30px;
  921. line-height: 31px;
  922. text-align: center;
  923. background: linear-gradient(0deg, @m-grey15 0%, @m-grey16 98%);
  924. border: 0;
  925. color: @m-white0;
  926. font-size: 14px;
  927. .rounded-corners(3px);
  928. &:hover,
  929. &:focus {
  930. background: linear-gradient(0deg, @m-grey15-hover 0%, @m-grey16-hover 98%);
  931. color: rgba(@m-white0, 0.8);
  932. border: 0;
  933. }
  934. }
  935. .btnPrimary.ant-btn,.operBtn.ant-btn {
  936. margin-left: 10px;
  937. width: auto;
  938. min-width: 80px;
  939. height: 30px;
  940. line-height: 31px;
  941. text-align: center;
  942. background: linear-gradient(0deg, @m-blue6 0%, @m-blue7 99%);
  943. border: 0;
  944. color: @m-white0;
  945. font-size: 14px;
  946. .rounded-corners(3px);
  947. &:hover,
  948. &:focus {
  949. background: linear-gradient(0deg, @m-blue6-hover 0%, @m-blue7-hover 99%);
  950. color: rgba(@m-white0, 0.8);
  951. border: 0;
  952. }
  953. }
  954. .operBtn.ant-btn {
  955. margin-top: 9px;
  956. margin-bottom: 6px;
  957. }
  958. .ant-table-expanded-row {
  959. .btn-list {
  960. padding-right: 10px;
  961. text-align: right;
  962. }
  963. .btnPrimary.ant-btn {
  964. width: 80px;
  965. height: 26px;
  966. line-height: 27px;
  967. border: 0;
  968. background: linear-gradient(0deg, @m-blue2, @m-blue0);
  969. box-shadow: -1px 0px 0px 0px @m-black10;
  970. .rounded-corners(3px);
  971. &:hover,
  972. &:focus {
  973. background: linear-gradient(0deg, @m-blue2-hover 0%, @m-blue0-hover 99%);
  974. color: rgba(@m-white0, 0.8);
  975. border: 0;
  976. }
  977. }
  978. .ant-btn+.ant-btn {
  979. margin-left: 10px;
  980. }
  981. }
  982. .btnDanger.ant-btn{
  983. margin-left: 10px;
  984. width: 80px;
  985. height: 26px;
  986. line-height: 27px;
  987. text-align: center;
  988. border: 0;
  989. color: @m-white0;
  990. font-size: 14px;
  991. background: linear-gradient(0deg, @m-red0 0%, @m-red1 99%);
  992. .rounded-corners(3px);
  993. &:hover,
  994. &:focus {
  995. background: linear-gradient(0deg, @m-red0-hover 0%, @m-red1-hover 99%);
  996. color: rgba(@m-white0, 0.8);
  997. border: 0;
  998. }
  999. }
  1000. .btnDeafault.ant-btn {
  1001. margin-left: 10px;
  1002. width: 80px;
  1003. height: 26px;
  1004. line-height: 27px;
  1005. text-align: center;
  1006. border: 0;
  1007. color: @m-white0;
  1008. font-size: 14px;
  1009. background: linear-gradient(0deg, @m-grey12 0%, @m-grey13 100%);
  1010. .rounded-corners(3px);
  1011. &:hover,
  1012. &:focus {
  1013. background: linear-gradient(0deg, @m-grey12-hover 0%, @m-grey13-hover 99%);
  1014. color: rgba(@m-white0, 0.8);
  1015. border: 0;
  1016. }
  1017. }
  1018. // .hiddenFirstCol {
  1019. // .ant-table {
  1020. // .ant-table-content {
  1021. // .ant-table-scroll {
  1022. // .ant-table-hide-scrollbar {
  1023. // .ant-table-fixed {
  1024. // .ant-table-thead {
  1025. // .ant-table-expand-icon-th {
  1026. // width: 0 !important;
  1027. // }
  1028. // }
  1029. // }
  1030. // }
  1031. // }
  1032. // .ant-table-body {
  1033. // table {
  1034. // .ant-table-thead {
  1035. // .ant-table-expand-icon-th {
  1036. // width: 0 !important;
  1037. // }
  1038. // }
  1039. // .ant-table-tbody {
  1040. // .ant-table-row {
  1041. // .ant-table-row-expand-icon-cell {
  1042. // width: 0 !important;
  1043. // }
  1044. // }
  1045. // tr.ant-table-expanded-row {
  1046. // td:first-child {
  1047. // width: 0 !important;
  1048. // }
  1049. // }
  1050. // }
  1051. // }
  1052. // }
  1053. // }
  1054. // }
  1055. // }
  1056. .to {
  1057. font-size: 14px;
  1058. color: @m-grey2;
  1059. margin-left: -8px;
  1060. margin-right: 2px;
  1061. }
  1062. .filterTable {
  1063. display: inline-flex;
  1064. width: calc(100% - 3px);
  1065. padding-left: 3px;
  1066. }
  1067. .ant-row.dialogRowTitle {
  1068. margin-left: 0 !important;
  1069. margin-right: 0 !important;
  1070. border: 1px solid @m-grey20;
  1071. .ant-col {
  1072. border-top: 1px solid @m-grey20;
  1073. border-right: 1px solid @m-grey20;
  1074. padding-left: 0 !important;
  1075. padding-right: 0 !important;
  1076. height: 34px;
  1077. line-height: 34px;
  1078. font-size: 16px;
  1079. color: @m-grey2;
  1080. .red {
  1081. color: @m-red1;
  1082. }
  1083. }
  1084. .ant-col:nth-child(1),.ant-col:nth-child(2),.ant-col:nth-child(3),.ant-col:nth-child(4){
  1085. border-top: 0;
  1086. text-align: center;
  1087. }
  1088. .ant-col:last-child {
  1089. border-right: 1px solid @m-grey20;
  1090. }
  1091. .bt1 {
  1092. border-top: 1px solid @m-grey20 !important;
  1093. }
  1094. }
  1095. // 日期输入框 @m-grey21
  1096. .commonPicker.ant-calendar-picker {
  1097. .ant-input {
  1098. background: @m-grey21;
  1099. border-color: @m-grey14;
  1100. padding: 4px 8px;
  1101. .rounded-corners(3px);
  1102. .ant-calendar-range-picker-input {
  1103. color: @m-white0;
  1104. font-size: 14px;
  1105. &::placeholder {
  1106. color: @m-grey10;
  1107. }
  1108. }
  1109. .ant-calendar-picker-clear {
  1110. background: @m-white0;
  1111. }
  1112. .ant-calendar-range-picker-separator {
  1113. font-size: 14px;
  1114. color: @m-grey2;
  1115. }
  1116. }
  1117. }
  1118. // 日期输入框
  1119. .commonDatePicker.ant-calendar-picker {
  1120. .ant-input {
  1121. background: @m-grey9;
  1122. padding: 0 8px;
  1123. height: 30px;
  1124. line-height: 30px;
  1125. border: 0;
  1126. color: @m-white1;
  1127. }
  1128. .ant-calendar-picker-icon {
  1129. color: @m-grey1;
  1130. }
  1131. .ant-calendar-picker-clear {
  1132. background: transparent;
  1133. color: @m-grey1;
  1134. svg {
  1135. fill: @m-grey1;
  1136. }
  1137. }
  1138. }
  1139. .ant-popover {
  1140. .ant-popover-content {
  1141. border: 1px solid @m-grey22;
  1142. .rounded-corners(5px);
  1143. .ant-popover-arrow {
  1144. border-top-color: @m-grey22;
  1145. border-left-color: @m-grey22;
  1146. }
  1147. .ant-popover-inner {
  1148. .ant-popover-inner-content {
  1149. border-image-width: 0;
  1150. background: @m-grey22;
  1151. color: @m-white0;
  1152. padding: 5px 15px;
  1153. &:hover {
  1154. color: @m-blue0;
  1155. }
  1156. }
  1157. }
  1158. }
  1159. }
  1160. .ant-calendar-picker-container {
  1161. .ant-calendar-range,.ant-calendar {
  1162. background: @m-grey22;
  1163. border-color: @m-grey22;
  1164. .ant-calendar-panel {
  1165. .ant-calendar-input-wrap {
  1166. border-bottom-color: @m-grey23;
  1167. .ant-calendar-input {
  1168. background: transparent;
  1169. border: 1px solid @m-grey1;
  1170. color: @m-white0;
  1171. &::placeholder {
  1172. color: @m-grey1;
  1173. }
  1174. }
  1175. }
  1176. .ant-calendar-date-panel {
  1177. // .ant-calendar-range-part {
  1178. .ant-calendar-header {
  1179. border-color: @m-grey1;
  1180. .ant-calendar-prev-year-btn,.ant-calendar-prev-month-btn {
  1181. color: @m-grey1;
  1182. &::before,&::after {
  1183. border-color: @m-grey2;
  1184. }
  1185. }
  1186. .ant-calendar-month-select,.ant-calendar-year-select {
  1187. color: @m-grey1;
  1188. }
  1189. }
  1190. .ant-calendar-body {
  1191. border-top-color: @m-grey1;
  1192. .ant-calendar-column-header-inner {
  1193. color: @m-grey1;
  1194. }
  1195. .ant-calendar-cell {
  1196. .ant-calendar-date {
  1197. background: transparent;
  1198. color: @m-white0;
  1199. }
  1200. &:hover {
  1201. .ant-calendar-date {
  1202. color: @m-blue0;
  1203. }
  1204. }
  1205. }
  1206. .ant-calendar-last-day-of-month,.ant-calendar-next-month-btn-day {
  1207. .ant-calendar-date {
  1208. color: @m-white1;
  1209. }
  1210. }
  1211. .ant-calendar-disabled-cell {
  1212. .ant-calendar-date {
  1213. color: @m-grey1;
  1214. }
  1215. }
  1216. .ant-calendar-selected-day {
  1217. .ant-calendar-date {
  1218. color: @m-blue0;
  1219. }
  1220. }
  1221. .ant-calendar-active-week {
  1222. .ant-calendar-cell {
  1223. .ant-calendar-date {
  1224. background: transparent;
  1225. }
  1226. }
  1227. }
  1228. // }
  1229. }
  1230. .ant-calendar-range-middle {
  1231. color: @m-white1;
  1232. }
  1233. }
  1234. }
  1235. .ant-calendar-footer {
  1236. border-top-color: @m-grey1;
  1237. .ant-calendar-time-picker-btn {
  1238. color: @m-grey1;
  1239. }
  1240. .ant-calendar-ok-btn {
  1241. background-color: @m-blue0;
  1242. border-color: @m-blue0;
  1243. color: @m-white0;
  1244. &:hover {
  1245. background-color: @m-blue0-hover;
  1246. border-color: @m-blue0-hover;
  1247. color: @m-white0-hover;
  1248. }
  1249. }
  1250. }
  1251. }
  1252. .ant-calendar-month-calendar {
  1253. .ant-calendar-month-calendar-content {
  1254. .ant-calendar-month-header-wrap {
  1255. .ant-calendar-header {
  1256. .ant-calendar-prev-year-btn,.ant-calendar-prev-month-btn {
  1257. color: @m-grey1;
  1258. &::before,&::after {
  1259. border-color: @m-grey2;
  1260. }
  1261. }
  1262. .ant-calendar-month-panel-year-select {
  1263. color: @m-grey1;
  1264. }
  1265. }
  1266. .ant-calendar-month-panel-body {
  1267. .ant-calendar-month-panel-table {
  1268. .ant-calendar-month-panel-tbody {
  1269. .ant-calendar-month-panel-cell {
  1270. .ant-calendar-month-panel-month {
  1271. color: @m-white1;
  1272. &:hover {
  1273. background: transparent;
  1274. color: @m-blue0;
  1275. }
  1276. }
  1277. }
  1278. }
  1279. }
  1280. }
  1281. }
  1282. }
  1283. .ant-calendar-month-panel {
  1284. background: @m-grey22;
  1285. border-color: @m-grey22;
  1286. .ant-calendar-month-panel-header {
  1287. border-color: @m-grey1;
  1288. }
  1289. }
  1290. }
  1291. }
  1292. .ant-calendar-range {
  1293. .ant-calendar-in-range-cell::before {
  1294. background: @m-grey22-hover;
  1295. }
  1296. }
  1297. .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) {
  1298. background: @m-grey21;
  1299. }
  1300. .ant-modal-confirm-confirm {
  1301. top: 50%;
  1302. padding-bottom: 0;
  1303. margin-top: -64px;
  1304. .ant-modal-content {
  1305. background: @m-grey11;
  1306. .ant-modal-close {
  1307. .ant-modal-close-x {
  1308. width: 40px;
  1309. height: 40px;
  1310. line-height: 40px;
  1311. .ant-modal-close-icon {
  1312. color: @m-blue11;
  1313. }
  1314. }
  1315. }
  1316. .ant-modal-body {
  1317. padding: 24px;
  1318. .ant-modal-confirm-body-wrapper {
  1319. .ant-modal-confirm-body {
  1320. .ant-modal-confirm-title {
  1321. color: @m-white0;
  1322. text-align: center;
  1323. }
  1324. .ant-modal-confirm-content {
  1325. color: @m-white0;
  1326. font-size: 14px;
  1327. }
  1328. }
  1329. .ant-modal-confirm-btns {
  1330. float: none;
  1331. text-align: center;
  1332. .ant-btn {
  1333. width: 100px;
  1334. height: 34px;
  1335. line-height: 32px;
  1336. border: 1px solid @m-blue10;
  1337. border-radius: 3px;
  1338. background: transparent;
  1339. font-size: 16px;
  1340. color: @m-blue10;
  1341. margin-right: 20px;
  1342. &:hover {
  1343. border-color: rgba(@m-blue10, .8);
  1344. }
  1345. }
  1346. .ant-btn-primary {
  1347. margin-left: 20px;
  1348. width: 100px;
  1349. height: 34px;
  1350. line-height: 32px;
  1351. border: 0;
  1352. background: linear-gradient(0deg, @m-blue8 0%, @m-blue9 100%);
  1353. border-radius: 3px;
  1354. font-size: 16px;
  1355. color: @m-white0;
  1356. &:hover {
  1357. background: linear-gradient(0deg, @m-blue8-hover 0%, @m-blue9-hover 100%);
  1358. color: @m-white0-hover;
  1359. }
  1360. }
  1361. }
  1362. }
  1363. }
  1364. }
  1365. }
  1366. .tltLeft {
  1367. font-size: 16px;
  1368. text-align: left;
  1369. .icon {
  1370. font-size: 20px;
  1371. fill: @m-blue0;
  1372. margin-right: 10px;
  1373. }
  1374. }
  1375. .ant-collapse.spotCollapse.ant-collapse-borderless {
  1376. margin-top: 10px;
  1377. background-color: transparent;
  1378. .ant-collapse-item {
  1379. border-bottom: 0;
  1380. .ant-collapse-header {
  1381. color: @m-grey17;
  1382. font-size: 14px;
  1383. border-bottom: 1px solid @m-grey18;
  1384. padding: 10px 8px 10px 44px;
  1385. height: 43px;
  1386. .ant-collapse-arrow {
  1387. fill: @m-grey17;
  1388. width: 16px;
  1389. height: 16px;
  1390. font-size: 16px;
  1391. left: 0;
  1392. }
  1393. }
  1394. .ant-collapse-content {
  1395. .ant-collapse-content-box {
  1396. padding: 0 0 0 30px;
  1397. background-color: transparent;
  1398. .ant-row.contRow {
  1399. width: 100%;
  1400. height: 40px;
  1401. line-height: 40px;
  1402. font-size: 16px;
  1403. color: @m-white1;
  1404. margin-bottom: 10px;
  1405. background: @m-black15;
  1406. border: 1px solid @m-blue3;
  1407. border-radius: 3px;
  1408. padding-left: 14px;
  1409. padding-right: 12px;
  1410. .ant-col:last-child {
  1411. text-align: right;
  1412. }
  1413. .ant-col:first-child {
  1414. text-align: left;
  1415. }
  1416. }
  1417. .contRow:first-child {
  1418. margin-top: 9px;
  1419. }
  1420. .contRow:last-child {
  1421. margin-bottom: 20px;
  1422. }
  1423. }
  1424. }
  1425. }
  1426. }
  1427. .ant-collapse.busyCollapse.ant-collapse-borderless {
  1428. margin-top: 10px;
  1429. background: @m-black15;
  1430. border: 1px solid @m-blue3;
  1431. .rounded-corners(3px);
  1432. .ant-collapse-item {
  1433. border-bottom: 0;
  1434. .ant-collapse-header {
  1435. color: @m-grey17;
  1436. font-size: 14px;
  1437. border-bottom: 0;
  1438. padding: 0;
  1439. line-height: 43px;
  1440. .ant-collapse-arrow {
  1441. fill: @m-grey17;
  1442. width: 16px;
  1443. height: 16px;
  1444. font-size: 16px;
  1445. left: 0;
  1446. }
  1447. .ant-row.contRow {
  1448. width: 100%;
  1449. // height: 40px;
  1450. line-height: 40px;
  1451. font-size: 16px;
  1452. color: @m-white1;
  1453. margin-bottom: 10px;
  1454. // background: @m-black15;
  1455. border: 0 !important;
  1456. // border-radius: 3px;
  1457. padding-left: 14px;
  1458. padding-right: 12px;
  1459. .ant-col:last-child {
  1460. text-align: right;
  1461. }
  1462. .ant-col:first-child {
  1463. text-align: left;
  1464. }
  1465. }
  1466. .contRow:first-child {
  1467. margin-top: 0 !important;
  1468. }
  1469. .contRow:last-child {
  1470. margin-bottom: 0 !important;
  1471. }
  1472. }
  1473. .ant-collapse-content.ant-collapse-content-active {
  1474. .ant-collapse-content-box {
  1475. padding: 0 0 0 30px;
  1476. background-color: transparent;
  1477. .btn-list {
  1478. width: calc(100% - 10px);
  1479. justify-content: flex-end;
  1480. padding-right: 10px;
  1481. padding-bottom: 10px;
  1482. }
  1483. }
  1484. }
  1485. }
  1486. }
  1487. .ant-row.headRow {
  1488. .ant-col:first-child {
  1489. text-align: left;
  1490. }
  1491. .ant-col:nth-child(3) {
  1492. text-align: right;
  1493. }
  1494. }
  1495. // 输入框自动填充背景色和字体颜色
  1496. input:-webkit-autofill,
  1497. textarea:-webkit-autofill,
  1498. select:-webkit-autofill,
  1499. .dialogInput:-webkit-autofill {
  1500. box-shadow: inset 0 0 0 1000px @m-grey21;
  1501. -webkit-text-fill-color: @m-white1;
  1502. }
  1503. input:-internal-autofill-selected {
  1504. background-color: @m-grey21 !important;
  1505. }
  1506. .login {
  1507. input:-webkit-autofill {
  1508. box-shadow: inset 0 0 0 1000px @m-white0;
  1509. }
  1510. }
  1511. .ant-checkbox-group.commonCheckboxGroup {
  1512. width: 100%;
  1513. .ant-checkbox-wrapper {
  1514. color: @m-white0;
  1515. font-size: 14px;
  1516. .ant-checkbox {
  1517. margin-right: 2px;
  1518. .ant-checkbox-inner {
  1519. background: @m-grey21;
  1520. border: 1px solid @m-grey14;
  1521. border-radius: 3px;
  1522. }
  1523. }
  1524. .ant-checkbox.ant-checkbox-checked {
  1525. .ant-checkbox-inner {
  1526. &::after {
  1527. border-color: @m-blue0;
  1528. }
  1529. }
  1530. &::after {
  1531. border-color: @m-blue0;
  1532. }
  1533. }
  1534. span+span {
  1535. margin-right: 15px;
  1536. color: @m-white0;
  1537. font-size: 14px;
  1538. }
  1539. }
  1540. .ant-checkbox-wrapper-disabled {
  1541. .ant-checkbox-disabled {
  1542. outline-color: @m-grey14;
  1543. .ant-checkbox-input {
  1544. color: @m-white0;
  1545. font-size: 14px;
  1546. }
  1547. .ant-checkbox-inner {
  1548. border-color: @m-grey14 !important;
  1549. }
  1550. }
  1551. }
  1552. }
  1553. .commonRadioGroup {
  1554. .ant-radio-wrapper {
  1555. color: @m-white0;
  1556. font-size: 14px;
  1557. .ant-radio {
  1558. .ant-radio-inner {
  1559. border-color:@m-blue0;
  1560. background: @m-grey21;
  1561. &::after {
  1562. left: 4px;
  1563. top: 4px;
  1564. width: 6px;
  1565. height: 6px;
  1566. background: @m-blue0;
  1567. border-radius: 50%;
  1568. }
  1569. }
  1570. }
  1571. }
  1572. .ant-radio-wrapper-disabled {
  1573. .ant-radio-disabled {
  1574. .ant-radio-inner {
  1575. border-color:@m-blue0 !important;
  1576. background: @m-grey21;
  1577. &::after {
  1578. left: 4px;
  1579. top: 4px;
  1580. width: 6px;
  1581. height: 6px;
  1582. background: @m-blue0;
  1583. border-radius: 50%;
  1584. }
  1585. }
  1586. }
  1587. span+span {
  1588. color: @m-white0;
  1589. font-size: 14px;
  1590. }
  1591. }
  1592. }
  1593. .tc {
  1594. text-align: center;
  1595. }
  1596. .checkboxGroupItem {
  1597. .ant-col.ant-form-item-control-wrapper {
  1598. max-width: calc(100% - 130px);
  1599. }
  1600. }
  1601. .ant-spin-container::after,.ant-drawer-content {
  1602. background-color: transparent;
  1603. }
  1604. .ant-layout-sider-has-trigger {
  1605. padding-bottom: 40px;
  1606. }
  1607. // 弹窗中表格内容居中
  1608. .tableContextCenter {
  1609. .dialogTable {
  1610. .ant-table-thead {
  1611. tr {
  1612. th {
  1613. text-align: center;
  1614. }
  1615. }
  1616. }
  1617. .ant-table-tbody {
  1618. tr {
  1619. td {
  1620. text-align: center;
  1621. }
  1622. }
  1623. }
  1624. }
  1625. }
  1626. .filter-check {
  1627. > span {
  1628. &:nth-of-type(2) {
  1629. color: @m-grey2;
  1630. height: 30px;
  1631. line-height: 30px;
  1632. }
  1633. }
  1634. }
  1635. .topTableHeight {
  1636. height: calc(100% - 28px);
  1637. // .srcollYTable {
  1638. // display: none;
  1639. // }
  1640. }
  1641. .topTableHeight40 {
  1642. height: calc(100% - 40px);
  1643. }
  1644. // 折叠底部上面左边菜单高度
  1645. .hiddenBottomLayout .layout-top .middleLayout .m-layout-left .ant-layout-sider-children ul.ant-menu.ant-menu-inline.left-menu {
  1646. height: calc(100vh - 126px);
  1647. }
  1648. // 买卖大厅
  1649. .buy-sell-market {
  1650. width: 100%;
  1651. height: 100%;
  1652. position: absolute;
  1653. z-index: 9;
  1654. left: 0;
  1655. top: 0;
  1656. background-color: @m-black1;
  1657. .buy-sell-market-title {
  1658. width: 100%;
  1659. height: 60px;
  1660. background: @m-black1;
  1661. display: inline-flex;
  1662. font-size: 14px;
  1663. position: relative;
  1664. line-height: 60px;
  1665. border-bottom: 1PX solid @m-blue0;
  1666. div {
  1667. align-self: center;
  1668. align-items: center;
  1669. }
  1670. .backIcon {
  1671. width: 52px;
  1672. line-height: 60px;
  1673. }
  1674. .titleBtn {
  1675. min-width: 90px;
  1676. height: 40px;
  1677. display: inline-flex;
  1678. .name {
  1679. background: @m-blue12;
  1680. text-align: center;
  1681. flex: 1;
  1682. padding: 0 16px;
  1683. .rounded-corners(3px, 0, 0, 3px);
  1684. color: @m-white0;
  1685. height: 40px;
  1686. line-height: 40px;
  1687. font-size: 16px;
  1688. }
  1689. .arrowRightIcon,.arrowLeftIcon {
  1690. width: 12px;
  1691. height: 40px;
  1692. background-image: url(../images/titleArrow.png);
  1693. background-position: 0 0;
  1694. background-repeat: no-repeat;
  1695. }
  1696. .arrowLeftIcon {
  1697. background-position: -12px 0;
  1698. }
  1699. }
  1700. .titleBtn2 {
  1701. .name {
  1702. .rounded-corners(0);
  1703. }
  1704. }
  1705. .titleBtn3 {
  1706. position: relative;
  1707. .name {
  1708. .rounded-corners(0, 5px, 5px, 0);
  1709. }
  1710. margin-right: 20px;
  1711. .anticon {
  1712. font-size: 16px;
  1713. color: @m-grey1;
  1714. .position(absolute, auto, 16px, 0, auto);
  1715. line-height: 36px;
  1716. z-index: 2;
  1717. }
  1718. }
  1719. .numBlock {
  1720. display: inline-flex;
  1721. white-space: nowrap;
  1722. .first {
  1723. font-size: 14px;
  1724. }
  1725. .last {
  1726. font-size: 18px;
  1727. margin-left: 10px;
  1728. }
  1729. }
  1730. .numBlock+.numBlock {
  1731. margin-left: 25px;
  1732. }
  1733. .market {
  1734. margin-left: 28px;
  1735. min-width: 160px;
  1736. height: 40px;
  1737. display: inline-flex;
  1738. background: @m-blue3;
  1739. border: 1px solid @m-blue13;
  1740. .rounded-corners(3px);
  1741. color: @m-grey2;
  1742. padding: 0 14px;
  1743. > div {
  1744. align-self: center;
  1745. align-items: center;
  1746. }
  1747. .first {
  1748. font-size: 14px;
  1749. }
  1750. .last {
  1751. font-size: 18px;
  1752. margin-left: 10px;
  1753. margin-right: 10px;
  1754. }
  1755. .red {
  1756. color: @m-red1;
  1757. }
  1758. }
  1759. .ant-btn {
  1760. align-items: center;
  1761. align-self: center;
  1762. }
  1763. .publishBuy.ant-btn {
  1764. min-width: 80px;
  1765. height: 30px;
  1766. line-height: 30px;
  1767. background: linear-gradient(0deg, @m-blue2, @m-blue0);
  1768. .rounded-corners(3px);
  1769. font-size: 14px;
  1770. color: @m-white0;
  1771. text-align: center;
  1772. border: none;
  1773. margin-left: 10px;
  1774. &:hover {
  1775. background: linear-gradient(0deg, @m-blue2-hover, @m-blue0-hover);
  1776. color: @m-white0-hover;
  1777. }
  1778. }
  1779. .detailBtn.ant-btn {
  1780. min-width: 80px;
  1781. height: 30px;
  1782. line-height: 30px;
  1783. background: linear-gradient(0deg, @m-grey12 0%, @m-grey13 100%);
  1784. .rounded-corners(3px);
  1785. font-size: 14px;
  1786. color: @m-white0;
  1787. text-align: center;
  1788. border: none;
  1789. &:hover {
  1790. background: linear-gradient(0deg, @m-grey12-hover 0%, @m-grey13-hover 100%);
  1791. color: @m-white0-hover;
  1792. }
  1793. }
  1794. .ant-btn+.ant-btn {
  1795. margin-left: 10px;
  1796. }
  1797. .btn-list {
  1798. position: absolute;
  1799. right: 10px;
  1800. }
  1801. }
  1802. }
  1803. // 买卖大厅表格
  1804. .buyHallTable,.sellHallTable {
  1805. .ant-table-fixed-header > .ant-table-content > .ant-table-scroll > .ant-table-body {
  1806. min-height: calc(100vh - 470px);
  1807. background: transparent;
  1808. }
  1809. .ant-table {
  1810. width: 100%;
  1811. table {
  1812. border: 0;
  1813. }
  1814. .ant-table-content {
  1815. background: @m-red2;
  1816. }
  1817. .ant-table-thead {
  1818. tr {
  1819. box-shadow: 0px 1px 0px 0px @m-black17;
  1820. th {
  1821. line-height: 34px;
  1822. background: @m-black8;
  1823. padding-top: 0;
  1824. padding-bottom: 0;
  1825. color: @m-grey17;
  1826. font-size: 14px;
  1827. border-right: 1px solid @m-black10;
  1828. border-bottom: 1px solid @m-black10;
  1829. white-space: nowrap;
  1830. text-overflow: ellipsis;
  1831. overflow: hidden;
  1832. }
  1833. }
  1834. }
  1835. .ant-table-tbody {
  1836. min-height: calc(100vh - 470px);
  1837. background: @m-red2;
  1838. tr {
  1839. td {
  1840. height: 43px;
  1841. line-height: 43px;
  1842. padding: 0 8px;
  1843. border-right: 1px solid @m-black10;
  1844. border-bottom: 1px solid @m-black10;
  1845. font-size: 16px;
  1846. color: @m-grey17;
  1847. white-space: nowrap;
  1848. text-overflow: ellipsis;
  1849. overflow: hidden;
  1850. }
  1851. td:first-child {
  1852. background: @m-black8;
  1853. color: @m-grey17;
  1854. }
  1855. td:not(:first-child :nth-child(1)) {
  1856. background: @m-red2;
  1857. color: @m-white1;
  1858. }
  1859. }
  1860. tr.ant-table-expanded-row, tr.ant-table-expanded-row:hover {
  1861. td {
  1862. background-color: @m-black2;
  1863. }
  1864. }
  1865. tr.ant-table-expanded-row {
  1866. td {
  1867. text-align: right;
  1868. }
  1869. }
  1870. tr:hover {
  1871. td {
  1872. background-color: @m-blue3 !important;
  1873. }
  1874. }
  1875. }
  1876. .ant-table-placeholder {
  1877. border: 0;
  1878. background: @m-black2;
  1879. }
  1880. }
  1881. .ant-table-row-expand-icon {
  1882. border-color: @m-grey17;
  1883. background-color: transparent;
  1884. color: @m-grey17;
  1885. }
  1886. }
  1887. .sellHallTable {
  1888. .ant-table {
  1889. .ant-table-content {
  1890. background: @m-green1;
  1891. }
  1892. .ant-table-tbody {
  1893. background: @m-green1;
  1894. tr {
  1895. td:first-child {
  1896. background: @m-black8;
  1897. color: @m-grey17;
  1898. }
  1899. td:not(:first-child :nth-child(1)) {
  1900. background: @m-green1;
  1901. }
  1902. }
  1903. }
  1904. }
  1905. }
  1906. .sellHallTable .ant-table .ant-table-tbody tr td:not(:first-child),.buyHallTable .ant-table .ant-table-tbody tr td:not(:first-child) {
  1907. background-color: @m-black2;
  1908. }
  1909. // 表单里面的内容
  1910. .formBar {
  1911. ::v-deep.formProgress {
  1912. width: 140px;
  1913. // height: 3px;
  1914. // .rounded-corners(2px);
  1915. margin-left: 70px;
  1916. .ant-progress-outer {
  1917. margin-right: 0;
  1918. padding-right: 0;
  1919. .ant-progress-inner {
  1920. background: @m-grey14;
  1921. .rounded-corners(2px);
  1922. .ant-progress-bg {
  1923. height: 3px !important;
  1924. border-radius: 2px !important;
  1925. background-color: @m-blue0;
  1926. }
  1927. }
  1928. }
  1929. .ant-progress-text {
  1930. display: none;
  1931. }
  1932. }
  1933. .listedBtn {
  1934. width: 120px;
  1935. height: 30px;
  1936. line-height: 30px;
  1937. background: linear-gradient(0deg, @m-blue2 0%, @m-blue0 100%);
  1938. border-radius: 3px;
  1939. color: @m-white0;
  1940. font-size: 14px;
  1941. text-align: center;
  1942. border: 0;
  1943. &:hover {
  1944. background: linear-gradient(0deg, @m-blue0-hover 0%, @m-blue2-hover 100%);
  1945. color: @m-white0-hover;
  1946. }
  1947. }
  1948. .cancelBtn:extend(.listedBtn) {
  1949. background: linear-gradient(0deg, @m-grey12 0%, @m-grey13 100%);
  1950. &:hover {
  1951. background: linear-gradient(0deg, @m-grey12-hover 0%, @m-grey13-hover 100%);
  1952. color: @m-white0-hover;
  1953. }
  1954. }
  1955. }
  1956. .ant-slider.formSlider {
  1957. width: 140px;
  1958. margin-left: 70px;
  1959. .ant-slider-rail {
  1960. margin-right: 0;
  1961. padding-right: 0;
  1962. height: 3px !important;
  1963. border-radius: 2px !important;
  1964. background-color: @m-blue14;
  1965. }
  1966. .ant-slider-track {
  1967. height: 3px;
  1968. background-color: @m-blue0;
  1969. }
  1970. .ant-slider-step {
  1971. height: 3px;
  1972. }
  1973. .ant-progress-text {
  1974. display: none;
  1975. }
  1976. }
  1977. // 暂无数据
  1978. .noData {
  1979. width: 80px;
  1980. height: 80px;
  1981. background: url(../images/nodata.png) center center no-repeat;
  1982. background-size: cover;
  1983. }
  1984. .ant-empty.ant-empty-normal {
  1985. .ant-empty-image {
  1986. width: 80px;
  1987. height: 80px;
  1988. background: url(../images/nodata.png) center center no-repeat;
  1989. background-size: cover;
  1990. .ant-empty-img-simple {
  1991. display: none;
  1992. }
  1993. }
  1994. .ant-empty-description {
  1995. display: none;
  1996. }
  1997. }
  1998. // 底部表格行背景色
  1999. .layout-bottom {
  2000. .srcollYTable {
  2001. .ant-table {
  2002. .ant-table-tbody {
  2003. tr {
  2004. td {
  2005. background: @m-black14;
  2006. }
  2007. }
  2008. }
  2009. .ant-table-placeholder {
  2010. border-top: 1PX solid @m-black9;
  2011. background: @m-black14;
  2012. }
  2013. }
  2014. }
  2015. }
  2016. // 仓单预售查询条件 日期到月份
  2017. .conditionPicker.ant-calendar-picker {
  2018. .ant-input {
  2019. width: 90px;
  2020. background: transparent;
  2021. font-size: 16px;
  2022. color: @m-white0;
  2023. }
  2024. .ant-calendar-picker-icon {
  2025. display: none;
  2026. }
  2027. }
  2028. // 表格按钮列表固定在右边
  2029. .btn-list-sticky {
  2030. position: sticky;
  2031. position: -webkit-sticky;
  2032. right: 2px;
  2033. }