mixin.less 73 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785
  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. .nowrap {
  115. white-space: nowrap;
  116. }
  117. .dateInputStyle(@width: 12rem, @height: 2.2rem, @fontSize: 1.3rem) {
  118. width: @width;
  119. height: @height;
  120. line-height: @height;
  121. @if @skin == 'black' {
  122. background-color: transparent;
  123. } @else if @skin == 'white' {
  124. background-color: @white-color;
  125. }
  126. border-color: @money-border-color;
  127. font-size: @fontSize;
  128. }
  129. .submitBtnStyle(@width: 12rem, @height: 2.8rem, @fontSize: 1.4rem, @rounded: 2px) {
  130. width: @width;
  131. height: @height;
  132. line-height: @height;
  133. padding: 0;
  134. color: @white-color;
  135. background-color: @hover-color;
  136. border-color: @hover-color;
  137. font-size: @fontSize;
  138. .rounded-corners(@rounded);
  139. }
  140. .resetBtnStyle(@width: 7rem, @height: 2.2rem, @fontSize: 1.3rem, @rounded: 2px) {
  141. width: @width;
  142. height: @height;
  143. line-height: @height;
  144. padding: 0;
  145. color: @hover-color;
  146. background-color: transparent;
  147. border-color: @hover-color;
  148. font-size: @fontSize;
  149. .rounded-corners(@rounded);
  150. }
  151. .ant-input {
  152. &::placeholder {
  153. color: @m-grey10;
  154. }
  155. }
  156. .commonInput {
  157. background: @m-grey21;
  158. border: 1px solid @m-grey14;
  159. border-radius: 3px;
  160. color: @m-white1;
  161. .ant-input {
  162. color: @m-white1;
  163. background: transparent;
  164. }
  165. .ant-input-suffix {
  166. color: @m-grey41;
  167. margin-left: 0;
  168. position: absolute;
  169. right: 5px;
  170. }
  171. &:hover, &:focus {
  172. border-color:@m-blue10;
  173. }
  174. }
  175. .tableConditionInput {
  176. width: 140px;
  177. height: 30px;
  178. line-height: 30px;
  179. background: @m-grey9;
  180. .rounded-corners(3px);
  181. border: 0;
  182. color: @m-white1;
  183. font-size: 14px;
  184. }
  185. .tableConditionInput+.tableConditionInput {
  186. margin-left: 10px;
  187. }
  188. .ant-select-dropdown {
  189. background: @m-grey22;
  190. border: 1PX solid @m-grey23;
  191. box-shadow: 0px 10px 10px 0px @m-black18;
  192. border-radius: 5px;
  193. .ant-select-item {
  194. color:@m-grey1;
  195. }
  196. .ant-select-item-option-active,.ant-select-item-option-selected,.ant-select-item-option-hover {
  197. background: @m-blue0;
  198. color: @m-white8;
  199. }
  200. }
  201. .srcollYTable {
  202. .ant-table {
  203. width: 100%;
  204. table {
  205. border: 0;
  206. }
  207. .ant-table-thead {
  208. tr {
  209. box-shadow: 0px 1px 0px 0px @m-black17;
  210. th {
  211. line-height: 26px;
  212. background: @m-black34;
  213. padding-top: 0;
  214. padding-bottom: 0;
  215. color: @m-grey17;
  216. font-size: 14px;
  217. border-right: 1px solid @m-black9;
  218. border-bottom: 1px solid @m-black9;
  219. }
  220. }
  221. }
  222. .ant-table-tbody {
  223. tr {
  224. td {
  225. height: 30px;
  226. line-height: 30px;
  227. padding: 0 8px;
  228. border-right: 1px solid @m-black9;
  229. border-bottom: 1px solid @m-black9;
  230. font-size: 14px;
  231. color: @m-white1;
  232. }
  233. }
  234. tr.ant-table-expanded-row:hover { //tr.ant-table-expanded-row,
  235. td {
  236. background-color: @m-blue3;
  237. }
  238. }
  239. tr.ant-table-expanded-row {
  240. td {
  241. text-align: right;
  242. }
  243. }
  244. }
  245. .ant-table-placeholder {
  246. border: 0;
  247. background: @m-black2;
  248. min-height: 190px;
  249. }
  250. }
  251. .ant-table-row-expand-icon {
  252. border-color: @m-grey17;
  253. background-color: transparent;
  254. color: @m-grey17;
  255. }
  256. .operBtn.ant-btn {
  257. margin-top: 0;
  258. margin-bottom: 0;
  259. height: 26px;
  260. line-height: 26px;
  261. }
  262. }
  263. // 左边菜单展开后 表格展开行操作按钮显示在最右侧
  264. .expandLeftTable {
  265. .ant-table {
  266. .ant-table-content {
  267. .ant-table-tbody {
  268. .ant-table-expanded-row {
  269. width: calc(100vw - 160px);
  270. }
  271. }
  272. }
  273. }
  274. }
  275. // 上面表格样式
  276. .topTable {
  277. .ant-table {
  278. width: 100%;
  279. table {
  280. border: 0;
  281. }
  282. .ant-table-thead {
  283. tr {
  284. box-shadow: 0px 1px 0px 0px @m-black17;
  285. th {
  286. line-height: 34px;
  287. background: @m-black8;
  288. padding-top: 0;
  289. padding-bottom: 0;
  290. color: @m-grey17;
  291. font-size: 14px;
  292. border-right: 1px solid @m-black9;
  293. border-bottom: 1px solid @m-black9;
  294. // white-space: nowrap;
  295. // text-overflow: ellipsis;
  296. // overflow: hidden;
  297. }
  298. }
  299. }
  300. .ant-table-tbody {
  301. tr {
  302. td {
  303. height: 34px;
  304. line-height: 34px;
  305. padding: 0 8px;
  306. border-right: 1px solid @m-black9;
  307. border-bottom: 1px solid @m-black9;
  308. font-size: 16px;
  309. color: @m-white1;
  310. // white-space: nowrap;
  311. // text-overflow: ellipsis;
  312. // overflow: hidden;
  313. }
  314. }
  315. tr.ant-table-expanded-row:hover { //tr.ant-table-expanded-row,
  316. td {
  317. background-color: @m-blue3;
  318. }
  319. }
  320. tr.ant-table-expanded-row {
  321. td {
  322. text-align: right;
  323. }
  324. }
  325. }
  326. .ant-table-placeholder {
  327. border: 0;
  328. background: @m-black2;
  329. }
  330. }
  331. .ant-table-row-expand-icon {
  332. border-color: @m-grey17;
  333. background-color: transparent;
  334. color: @m-grey17;
  335. }
  336. .operBtn.ant-btn {
  337. margin-top: 0;
  338. margin-bottom: 0;
  339. height: 26px;
  340. line-height: 26px;
  341. }
  342. }
  343. // 展开行操作按钮显示问题
  344. .topOrderTable {
  345. .ant-table {
  346. width: 100%;
  347. table {
  348. border: 0;
  349. }
  350. .ant-table-thead {
  351. tr {
  352. box-shadow: 0px 1px 0px 0px @m-black17;
  353. th {
  354. line-height: 34px;
  355. background: @m-black8;
  356. padding-top: 0;
  357. padding-bottom: 0;
  358. color: @m-grey17;
  359. font-size: 14px;
  360. border-right: 1px solid @m-black9;
  361. border-bottom: 1px solid @m-black9;
  362. white-space: nowrap;
  363. text-overflow: ellipsis;
  364. overflow: hidden;
  365. }
  366. }
  367. }
  368. .ant-table-tbody {
  369. tr {
  370. td {
  371. height: 34px;
  372. line-height: 34px;
  373. padding: 0 8px;
  374. border-right: 1px solid @m-black9;
  375. border-bottom: 1px solid @m-black9;
  376. font-size: 16px;
  377. color: @m-white1;
  378. white-space: nowrap;
  379. text-overflow: ellipsis;
  380. overflow: hidden;
  381. }
  382. }
  383. tr.ant-table-expanded-row:hover { //tr.ant-table-expanded-row,
  384. td {
  385. background-color: @m-blue3;
  386. }
  387. }
  388. tr.ant-table-expanded-row {
  389. td {
  390. text-align: right;
  391. }
  392. td:last-child {
  393. position: relative;
  394. .btn-list {
  395. position: absolute;
  396. left: calc(100vw - 530px);
  397. top: 4px;
  398. width: 300px;
  399. text-align: right;
  400. .operBtn.ant-btn {
  401. margin-top: 0;
  402. margin-bottom: 0;
  403. height: 26px;
  404. line-height: 26px;
  405. }
  406. }
  407. }
  408. }
  409. }
  410. .ant-table-placeholder {
  411. border: 0;
  412. background: @m-black2;
  413. }
  414. }
  415. .ant-table-row-expand-icon {
  416. border-color: @m-grey17;
  417. background-color: transparent;
  418. color: @m-grey17;
  419. }
  420. }
  421. // 折叠菜单后右侧表格中展开后操作按钮的位置
  422. .collapsed {
  423. .topOrderTable {
  424. .ant-table {
  425. .ant-table-tbody {
  426. tr.ant-table-expanded-row {
  427. td:last-child {
  428. .btn-list {
  429. left: calc(100vw - 430px);
  430. }
  431. }
  432. }
  433. }
  434. }
  435. }
  436. }
  437. // 弹窗表格
  438. .dialogTable {
  439. .ant-table {
  440. width: 100%;
  441. background: transparent;
  442. table {
  443. border: 1px solid @m-grey20;
  444. border-radius: 0;
  445. }
  446. .ant-table-thead {
  447. tr {
  448. box-shadow: 0px 1px 0px 0px @m-black17;
  449. th {
  450. line-height: 36px;
  451. background: @m-grey11;
  452. padding-top: 0;
  453. padding-bottom: 0;
  454. color: @m-grey2;
  455. font-size: 16px;
  456. border-right: 1px solid @m-grey20;
  457. border-bottom: 1px solid @m-grey20;
  458. white-space: nowrap;
  459. text-overflow: ellipsis;
  460. overflow: hidden;
  461. }
  462. }
  463. }
  464. .ant-table-tbody {
  465. tr {
  466. td {
  467. height: 36px;
  468. line-height: 36px;
  469. padding: 0 8px;
  470. border-right: 1px solid @m-grey20;
  471. border-bottom: 1px solid @m-grey20;
  472. font-size: 14px;
  473. color: @m-white1;
  474. white-space: nowrap;
  475. text-overflow: ellipsis;
  476. overflow: hidden;
  477. background: @m-grey11;
  478. }
  479. }
  480. }
  481. .ant-table-placeholder {
  482. border: 0;
  483. background: @m-grey11;
  484. }
  485. }
  486. }
  487. .ant-empty-normal {
  488. color: @m-grey17;
  489. }
  490. .ant-empty-img-simple-path,.ant-empty-img-simple-ellipse {
  491. fill: @m-grey17;
  492. }
  493. .ant-empty-img-simple-g {
  494. stroke: @m-grey17;
  495. }
  496. .ant-modal-wrap {
  497. overflow: hidden;
  498. }
  499. .add-custom,.commonModal {
  500. top: 0;
  501. max-height: 100%;
  502. padding-bottom: 0;
  503. .ant-modal-content {
  504. background: @m-grey11;
  505. border-radius: 5px;
  506. height: 100%;
  507. .ant-modal-close {
  508. .ant-modal-close-x {
  509. width: 40px;
  510. height: 40px;
  511. line-height: 40px;
  512. .ant-modal-close-icon {
  513. color: @m-blue11;
  514. }
  515. }
  516. }
  517. .ant-modal-header {
  518. height: 40px;
  519. background: linear-gradient(0deg, @m-blue4, @m-blue5);
  520. border-radius: 5px;
  521. padding: 0;
  522. text-align: center;
  523. border-bottom: 0;
  524. .ant-modal-title {
  525. line-height: 40px;
  526. font-size: 16px;
  527. color: @m-white0;
  528. }
  529. }
  530. .ant-modal-body {
  531. min-height: 380px;
  532. max-height: calc(100vh - 115px);
  533. overflow-y: auto;
  534. }
  535. .ant-modal-footer {
  536. border-top: 0;
  537. text-align: center;
  538. padding-bottom: 31px;
  539. height: 75px;
  540. .ant-btn-primary {
  541. width: 200px;
  542. height: 34px;
  543. line-height: 32px;
  544. border: 0;
  545. background: linear-gradient(0deg, @m-blue8 0%, @m-blue9 100%);
  546. border-radius: 3px;
  547. font-size: 16px;
  548. color: @m-white0;
  549. &:hover {
  550. background: linear-gradient(0deg, @m-blue8-hover 0%, @m-blue9-hover 100%);
  551. color: @m-white0-hover;
  552. }
  553. }
  554. .ant-btn.cancelBtn {
  555. width: 200px;
  556. height: 34px;
  557. line-height: 32px;
  558. border: 1px solid @m-blue10;
  559. border-radius: 3px;
  560. background: transparent;
  561. font-size: 16px;
  562. color: @m-blue10;
  563. margin-right: 20px;
  564. &:hover {
  565. border-color: @m-blue10-hover;
  566. }
  567. }
  568. }
  569. }
  570. }
  571. .ant-form.inlineForm {
  572. .ant-row.ant-form-item {
  573. margin-bottom: 21px;
  574. .ant-form-item-label {
  575. position: relative;
  576. width: 130px;
  577. line-height: 30px;
  578. text-align: left;
  579. label {
  580. color: @m-grey1;
  581. padding-left: 16px;
  582. &::after {
  583. content: ''
  584. }
  585. &::before {
  586. .position(absolute, 0, auto, auto, 0);
  587. font-size: 16px;
  588. line-height: 21px;
  589. color: @m-red1;
  590. }
  591. label {
  592. padding-left: 0;
  593. }
  594. }
  595. }
  596. .ant-form-item-control-wrapper {
  597. .ant-form-item-control {
  598. line-height: 30px;
  599. }
  600. }
  601. }
  602. .relative.ant-form-item {
  603. position: relative;
  604. // .itemTip {
  605. // position: absolute;
  606. // color: @m-grey1;
  607. // }
  608. .tip {
  609. position: absolute;
  610. font-size: 14px;
  611. color: @m-grey41;
  612. width: 100%;
  613. top: calc(100% + 5px);
  614. // div:nth-child(2){
  615. // margin-top: -10px;
  616. // }
  617. }
  618. .ant-form-item-control {
  619. width: 200px;
  620. .unit {
  621. float: right;
  622. color: @m-grey41;
  623. }
  624. .backUnit {
  625. position: absolute;
  626. right: -20px;
  627. top: -7px;
  628. line-height: 32px;
  629. height: 32px;
  630. color: @m-grey2;
  631. }
  632. }
  633. }
  634. .tc.ant-form-item {
  635. .ant-form-item-control-wrapper {
  636. margin: 0 auto;
  637. }
  638. }
  639. .pl40.ant-form-item {
  640. .ant-form-item-label {
  641. label {
  642. padding-left: 40px;
  643. }
  644. }
  645. }
  646. }
  647. .ant-form.dialogForm {
  648. height: 100%;
  649. .ant-row.ant-form-item {
  650. .ant-form-item-label {
  651. width: 70px;
  652. label {
  653. padding-left: 0;
  654. &::before {
  655. display: none;
  656. }
  657. }
  658. }
  659. .ant-form-item-control-wrapper {
  660. width: calc(100% - 70px);
  661. }
  662. }
  663. .btnCenter.ant-form-item {
  664. width: 100%;
  665. .ant-form-item-label {
  666. width: 0;
  667. }
  668. .ant-form-item-control-wrapper {
  669. width: 100%;
  670. text-align: center;
  671. }
  672. }
  673. }
  674. .ant-select-single {
  675. .ant-select-selector {
  676. height: 30px;
  677. padding: 0 8px;
  678. background: @m-grey21;
  679. border: 1px solid @m-blue10;
  680. border-radius: 3px;
  681. color: @m-white1;
  682. }
  683. .ant-select-arrow {
  684. right: 8px;
  685. color: @m-grey1;
  686. }
  687. }
  688. .inlineFormSelect.ant-select-single {
  689. .rounded-corners(3px);
  690. border: 1px solid @m-grey14;
  691. &:hover, &:focus {
  692. border-color:@m-blue10;
  693. }
  694. .ant-select-selector {
  695. height: 30px;
  696. padding: 0 8px;
  697. background: @m-grey21;
  698. border: 0;
  699. color: @m-white1;
  700. .ant-select-selection-placeholder {
  701. color: @m-grey10;
  702. }
  703. }
  704. .ant-select-arrow {
  705. right: 8px;
  706. color: @m-blue0 !important;
  707. }
  708. }
  709. .shortSelect.ant-select-single:extend(.inlineFormSelect.ant-select-single) {
  710. margin-right: 0;
  711. .ant-select-selector {
  712. padding: 0 5px;
  713. .ant-select-selection-item {
  714. padding-right: 14px;
  715. }
  716. }
  717. }
  718. .typeSelect.ant-select-single {
  719. .rounded-corners(3px);
  720. border: 1px solid @m-grey14;
  721. &:hover, &:focus {
  722. border-color:@m-blue10;
  723. }
  724. .ant-select-selector {
  725. height: 30px;
  726. padding: 0 8px;
  727. background: @m-grey21;
  728. border: 0;
  729. color: @m-white1;
  730. .ant-select-selection-placeholder {
  731. color: @m-grey10;
  732. }
  733. }
  734. .ant-select-arrow {
  735. right: 8px;
  736. color: @m-blue0;
  737. }
  738. }
  739. .input-enumdicname {
  740. color: @m-grey41;
  741. font-size: 14px;
  742. position: absolute;
  743. right: 5px;
  744. }
  745. .input-enumdicname-absolute {
  746. position: absolute;
  747. top: -8px;
  748. right: -78px;
  749. color: @m-grey41;
  750. margin-left: 5px;
  751. font-size: 14px;
  752. display: inline-block;
  753. min-width: 100px;
  754. }
  755. .dialogInput {
  756. background: @m-grey21;
  757. border: 1px solid @m-grey14;
  758. border-radius: 3px;
  759. color: @m-white1;
  760. .ant-input {
  761. color: @m-white1;
  762. background: transparent
  763. }
  764. .ant-input-suffix {
  765. color: @m-white1;
  766. }
  767. .ant-input-suffix {
  768. .ant-input-password-icon {
  769. color: @m-white1;
  770. }
  771. }
  772. &:hover,&:focus {
  773. border-color: @m-blue10;
  774. }
  775. }
  776. .yellowInput {
  777. .ant-input,.ant-input-number-input {
  778. color: @m-yellow1;
  779. font-size: 16px;
  780. text-align: center;
  781. }
  782. }
  783. .suffixGrey {
  784. .ant-input-suffix {
  785. color: @m-grey2;
  786. }
  787. }
  788. .dialogInput34.ant-input-number {
  789. position: relative;
  790. height: 34px;
  791. .ant-input-number-input {
  792. height: 34px;
  793. line-height: 34px;
  794. font-size: 16px;
  795. color: @m-white6;
  796. text-align: center;
  797. padding: 0 26px;
  798. }
  799. }
  800. .dialogInput34.ant-input-number-disabled {
  801. background: @m-grey52;
  802. .ant-input-number-input {
  803. color: @m-grey51;
  804. }
  805. }
  806. .block {
  807. display: block;
  808. }
  809. .formFieldSet {
  810. border: 1PX solid @m-grey19;
  811. padding: 0 20px 20px;
  812. legend {
  813. color: @m-white0;
  814. }
  815. }
  816. .formFieldSet+.formFieldSet {
  817. margin-top: 35px;
  818. }
  819. .ant-form {
  820. legend {
  821. width: auto;
  822. margin-left: 20px;
  823. font-size: 16px;
  824. color: @m-white0;
  825. border-bottom: 0;
  826. padding: 0 10px;
  827. }
  828. }
  829. .paddingDialog,.fieldsetDialog {
  830. .formFieldSet {
  831. legend {
  832. width: auto;
  833. margin-left: 20px;
  834. font-size: 16px;
  835. color: @m-white0;
  836. border-bottom: 0;
  837. padding: 0 10px;
  838. }
  839. }
  840. }
  841. .paddingDialog {
  842. .ant-modal-content {
  843. .ant-modal-body {
  844. padding: 24px;
  845. }
  846. }
  847. }
  848. // 上传
  849. .upload {
  850. display: inline-flex;
  851. .ant-btn.uploadBtn {
  852. width: 60px;
  853. height: 30px;
  854. background: @m-blue0;
  855. border: 0;
  856. padding: 0;
  857. text-align: center;
  858. font-size: 14px;
  859. color: @m-white0;
  860. .rounded-corners(3px);
  861. &:hover {
  862. background: @m-blue0-hover;
  863. color: @m-white0-hover;
  864. }
  865. }
  866. .ant-upload-list-item-info {
  867. .anticon-loading,.anticon-paper-clip {
  868. color: @m-white0;
  869. }
  870. .ant-upload-list-item-name {
  871. color: @m-white0;
  872. }
  873. .ant-upload-list-item-card-actions {
  874. .anticon {
  875. color: @m-white0;
  876. }
  877. }
  878. &:hover {
  879. background: transparent;
  880. .anticon-loading,.anticon-paper-clip {
  881. color: @m-blue0;
  882. }
  883. .ant-upload-list-item-name {
  884. color: @m-blue0;
  885. }
  886. .ant-upload-list-item-card-actions {
  887. .anticon {
  888. color: @m-blue0;
  889. }
  890. }
  891. }
  892. }
  893. .look {
  894. color: @m-blue0;
  895. font-size: 14px;
  896. margin-left: 10px;
  897. cursor: pointer;
  898. }
  899. }
  900. .fl {
  901. float: left;
  902. }
  903. .fr {
  904. float: right;
  905. }
  906. .ml8 {
  907. margin-left: 8px;
  908. }
  909. .ml10 {
  910. margin-left: 10px;
  911. }
  912. .ml15 {
  913. margin-left: 15px;
  914. }
  915. .ml20 {
  916. margin-left: 20px;
  917. }
  918. .ml35 {
  919. margin-left: 35px;
  920. }
  921. .ml9 {
  922. margin-left: 9px;
  923. }
  924. .ml5{
  925. margin-left: 5px;
  926. }
  927. .mt5 {
  928. margin-top: 5px;
  929. }
  930. .mt10 {
  931. margin-top: 10px;
  932. }
  933. .mt20 {
  934. margin-top: 20px;
  935. }
  936. .mt25 {
  937. margin-top: 25px;
  938. }
  939. .mt30 {
  940. margin-top: 30px;
  941. }
  942. .mb40 {
  943. margin-bottom: 40px !important;
  944. }
  945. .mr10 {
  946. margin-right: 10px;
  947. }
  948. .red {
  949. color: @m-red0;
  950. }
  951. .red1 {
  952. color: @m-red1;
  953. }
  954. .grey {
  955. color: @m-grey2;
  956. }
  957. .grey1 {
  958. color: @m-grey1;
  959. }
  960. .white {
  961. color: @m-white6;
  962. }
  963. .blue {
  964. color: @m-blue0;
  965. }
  966. .green {
  967. color: @m-green0;
  968. }
  969. .yellow {
  970. color: @m-yellow0;
  971. }
  972. .orange {
  973. color: @m-orange0;
  974. }
  975. .selectBtn.ant-btn,.operBtn.ant-btn {
  976. margin-left: 10px;
  977. width: 80px;
  978. height: 28px;
  979. line-height: 29px;
  980. text-align: center;
  981. background: linear-gradient(0deg, @m-grey39 0%, @m-grey40 98%);
  982. border: 0;
  983. color: @m-white0;
  984. font-size: 14px;
  985. .rounded-corners(3px);
  986. &:hover,
  987. &:focus,
  988. &:active,
  989. &::after {
  990. background: linear-gradient(0deg, @m-grey39-hover 0%, @m-grey40-hover 98%);
  991. color: @m-white0-hover;
  992. border: 0;
  993. }
  994. }
  995. .operBtn.ant-btn {
  996. background: linear-gradient(0deg, @m-blue6 0%, @m-blue7 99%);
  997. &:hover,
  998. &:focus,
  999. &:active,
  1000. &::after {
  1001. background: linear-gradient(0deg, @m-blue6-hover 0%, @m-blue7-hover 99%);
  1002. color: @m-white0-hover;
  1003. border: 0;
  1004. }
  1005. }
  1006. .ant-btn.historyBtn {
  1007. margin-left: 10px;
  1008. .rounded-corners(3px);
  1009. height: 28px;
  1010. border-color: @m-blue29;
  1011. background: @m-blue30;
  1012. color: @m-grey43;
  1013. .anticon {
  1014. color: @m-grey44;
  1015. }
  1016. &:hover,
  1017. &:focus,
  1018. &:active,
  1019. &::after {
  1020. border-color: @m-blue29-hover;
  1021. background: @m-blue30-hover;
  1022. color: @m-grey43-hover;
  1023. .antion {
  1024. color: @m-grey44-hover;
  1025. }
  1026. }
  1027. }
  1028. // .ant-input-affix-wrapper:focus, .ant-btn:focus {
  1029. // box-shadow: none;
  1030. // }
  1031. .btnPrimary.ant-btn,.operBtn.ant-btn {
  1032. margin-left: 10px;
  1033. width: auto;
  1034. min-width: 80px;
  1035. height: 28px;
  1036. line-height: 31px;
  1037. text-align: center;
  1038. background: linear-gradient(0deg, @m-blue6 0%, @m-blue7 99%);
  1039. border: 0;
  1040. color: @m-white0;
  1041. font-size: 14px;
  1042. .rounded-corners(3px);
  1043. &:hover,
  1044. &:focus {
  1045. background: linear-gradient(0deg, @m-blue6-hover 0%, @m-blue7-hover 99%);
  1046. color: @m-white0-hover;
  1047. border: 0;
  1048. }
  1049. }
  1050. // .operBtn.ant-btn {
  1051. // margin-top: 9px;
  1052. // margin-bottom: 6px;
  1053. // }
  1054. .ant-table-expanded-row {
  1055. .btn-list {
  1056. padding-right: 10px;
  1057. text-align: right;
  1058. }
  1059. .btnPrimary.ant-btn {
  1060. width: 80px;
  1061. height: 26px;
  1062. line-height: 27px;
  1063. border: 0;
  1064. background: linear-gradient(0deg, @m-blue2, @m-blue0);
  1065. box-shadow: -1px 0px 0px 0px @m-black10;
  1066. .rounded-corners(3px);
  1067. &:hover,
  1068. &:focus {
  1069. background: linear-gradient(0deg, @m-blue2-hover 0%, @m-blue0-hover 99%);
  1070. color: @m-white0-hover;
  1071. border: 0;
  1072. }
  1073. }
  1074. .ant-btn+.ant-btn {
  1075. margin-left: 10px;
  1076. }
  1077. }
  1078. .btnDanger.ant-btn{
  1079. margin-left: 10px;
  1080. width: 80px;
  1081. height: 26px;
  1082. line-height: 27px;
  1083. text-align: center;
  1084. border: 0;
  1085. color: @m-white0;
  1086. font-size: 14px;
  1087. background: linear-gradient(0deg, @m-red9 0%, @m-red10 99%);
  1088. .rounded-corners(3px);
  1089. &:hover,
  1090. &:focus {
  1091. background: linear-gradient(0deg, @m-red9-hover 0%, @m-red10-hover 99%);
  1092. color: @m-white0-hover;
  1093. border: 0;
  1094. }
  1095. }
  1096. .btnDeafault.ant-btn {
  1097. margin-left: 10px;
  1098. width: 80px;
  1099. height: 26px;
  1100. line-height: 27px;
  1101. text-align: center;
  1102. border: 0;
  1103. color: @m-white0;
  1104. font-size: 14px;
  1105. background: linear-gradient(0deg, @m-grey12 0%, @m-grey13 100%);
  1106. .rounded-corners(3px);
  1107. &:hover,
  1108. &:focus {
  1109. background: linear-gradient(0deg, @m-grey12-hover 0%, @m-grey13-hover 99%);
  1110. color: @m-white0-hover;
  1111. border: 0;
  1112. }
  1113. }
  1114. // .hiddenFirstCol {
  1115. // .ant-table {
  1116. // .ant-table-content {
  1117. // .ant-table-scroll {
  1118. // .ant-table-hide-scrollbar {
  1119. // .ant-table-fixed {
  1120. // .ant-table-thead {
  1121. // .ant-table-expand-icon-th {
  1122. // width: 0 !important;
  1123. // }
  1124. // }
  1125. // }
  1126. // }
  1127. // }
  1128. // .ant-table-body {
  1129. // table {
  1130. // .ant-table-thead {
  1131. // .ant-table-expand-icon-th {
  1132. // width: 0 !important;
  1133. // }
  1134. // }
  1135. // .ant-table-tbody {
  1136. // .ant-table-row {
  1137. // .ant-table-row-expand-icon-cell {
  1138. // width: 0 !important;
  1139. // }
  1140. // }
  1141. // tr.ant-table-expanded-row {
  1142. // td:first-child {
  1143. // width: 0 !important;
  1144. // }
  1145. // }
  1146. // }
  1147. // }
  1148. // }
  1149. // }
  1150. // }
  1151. // }
  1152. .to {
  1153. font-size: 14px;
  1154. color: @m-grey2;
  1155. margin-left: -8px;
  1156. margin-right: 2px;
  1157. }
  1158. .filterTable {
  1159. display: inline-flex;
  1160. width: calc(100% - 3px);
  1161. padding-left: 3px;
  1162. background: @m-black35;
  1163. }
  1164. .ant-row.dialogRowTitle {
  1165. margin-left: 0 !important;
  1166. margin-right: 0 !important;
  1167. border: 1px solid @m-grey20;
  1168. .ant-col {
  1169. border-top: 1px solid @m-grey20;
  1170. border-right: 1px solid @m-grey20;
  1171. padding-left: 0 !important;
  1172. padding-right: 0 !important;
  1173. height: 34px;
  1174. line-height: 34px;
  1175. font-size: 16px;
  1176. color: @m-grey2;
  1177. .red {
  1178. color: @m-red1;
  1179. }
  1180. }
  1181. .ant-col:nth-child(1),.ant-col:nth-child(2),.ant-col:nth-child(3),.ant-col:nth-child(4){
  1182. border-top: 0;
  1183. text-align: center;
  1184. }
  1185. .ant-col:last-child {
  1186. border-right: 1px solid @m-grey20;
  1187. }
  1188. .bt1 {
  1189. border-top: 1px solid @m-grey20 !important;
  1190. }
  1191. }
  1192. // 日期输入框 @m-grey21
  1193. .commonPicker.ant-calendar-picker {
  1194. .ant-input {
  1195. background: @m-grey21;
  1196. border-color: @m-grey14;
  1197. padding: 4px 8px;
  1198. .rounded-corners(3px);
  1199. .ant-calendar-range-picker-input {
  1200. color: @m-white0;
  1201. font-size: 14px;
  1202. &::placeholder {
  1203. color: @m-grey10;
  1204. }
  1205. }
  1206. .ant-calendar-picker-clear {
  1207. background: @m-white0;
  1208. }
  1209. .ant-calendar-range-picker-separator {
  1210. font-size: 14px;
  1211. color: @m-grey2;
  1212. }
  1213. }
  1214. }
  1215. // 日期输入框
  1216. .commonDatePicker.ant-calendar-picker {
  1217. .ant-input {
  1218. background: @m-grey21;
  1219. padding: 0 8px;
  1220. height: 30px;
  1221. line-height: 30px;
  1222. color: @m-white1;
  1223. border: 1PX solid @m-grey14;
  1224. .rounded-corners(3px);
  1225. }
  1226. .ant-calendar-picker-icon {
  1227. color: @m-grey1;
  1228. }
  1229. .ant-calendar-picker-clear {
  1230. display: none;
  1231. background: transparent;
  1232. color: @m-grey1;
  1233. svg {
  1234. fill: @m-grey1;
  1235. }
  1236. }
  1237. }
  1238. .conditionPicker.ant-calendar-picker {
  1239. .ant-input {
  1240. border: 0;
  1241. }
  1242. &:focus{
  1243. .ant-input {
  1244. border: 0;
  1245. }
  1246. }
  1247. }
  1248. .ant-popover {
  1249. .ant-popover-content {
  1250. border: 1px solid @m-grey23;
  1251. box-shadow: 0px 10px 10px 0px @m-boxShadow;
  1252. .rounded-corners(5px);
  1253. .ant-popover-arrow {
  1254. border-top-color: @m-grey22;
  1255. border-left-color: @m-grey22;
  1256. background: @m-grey22;
  1257. border: 1PX solid @m-grey23;
  1258. border-bottom: 0;
  1259. border-right: 0;
  1260. }
  1261. .ant-popover-inner {
  1262. .ant-popover-inner-content {
  1263. border-image-width: 0;
  1264. background: @m-grey22;
  1265. color: @m-grey1;
  1266. padding: 5px 0;
  1267. .popItem {
  1268. min-width: 160px;
  1269. padding: 0 15px;
  1270. text-align: center;
  1271. cursor: pointer;
  1272. height: 30px;
  1273. line-height: 30px;
  1274. font-size: 15px;
  1275. &:hover {
  1276. color: @m-white8;
  1277. background: @m-blue0;
  1278. }
  1279. }
  1280. }
  1281. }
  1282. }
  1283. }
  1284. .ant-calendar-picker-container {
  1285. .ant-calendar-range,.ant-calendar {
  1286. background: @m-grey22;
  1287. border-color: @m-grey22;
  1288. .ant-calendar-panel {
  1289. .ant-calendar-input-wrap {
  1290. border-bottom-color: @m-grey23;
  1291. .ant-calendar-input {
  1292. background: transparent;
  1293. border: 1px solid @m-grey42;
  1294. color: @m-white0;
  1295. &::placeholder {
  1296. color: @m-grey1;
  1297. }
  1298. }
  1299. }
  1300. .ant-calendar-date-panel {
  1301. // .ant-calendar-range-part {
  1302. .ant-calendar-header {
  1303. border-color: @m-grey42;
  1304. .ant-calendar-prev-year-btn,.ant-calendar-prev-month-btn {
  1305. color: @m-grey1;
  1306. &::before,&::after {
  1307. border-color: @m-grey2;
  1308. }
  1309. }
  1310. .ant-calendar-month-select,.ant-calendar-year-select {
  1311. color: @m-grey1;
  1312. }
  1313. }
  1314. .ant-calendar-body {
  1315. border-top-color: @m-grey42;
  1316. .ant-calendar-column-header-inner {
  1317. color: @m-grey1;
  1318. }
  1319. .ant-calendar-cell {
  1320. .ant-calendar-date {
  1321. background: transparent;
  1322. color: @m-white6;
  1323. }
  1324. &:hover {
  1325. .ant-calendar-date {
  1326. color: @m-blue0;
  1327. }
  1328. }
  1329. }
  1330. .ant-calendar-last-day-of-month,.ant-calendar-next-month-btn-day {
  1331. .ant-calendar-date {
  1332. color: @m-white1;
  1333. }
  1334. }
  1335. .ant-calendar-disabled-cell {
  1336. .ant-calendar-date {
  1337. color: @m-grey1;
  1338. }
  1339. }
  1340. .ant-calendar-selected-day {
  1341. .ant-calendar-date {
  1342. color: @m-blue0;
  1343. }
  1344. }
  1345. .ant-calendar-active-week {
  1346. .ant-calendar-cell {
  1347. .ant-calendar-date {
  1348. background: transparent;
  1349. }
  1350. }
  1351. }
  1352. // }
  1353. }
  1354. .ant-calendar-range-middle {
  1355. color: @m-white1;
  1356. }
  1357. }
  1358. }
  1359. .ant-calendar-footer {
  1360. border-top-color: @m-grey42;
  1361. .ant-calendar-time-picker-btn {
  1362. color: @m-grey1;
  1363. }
  1364. .ant-calendar-ok-btn {
  1365. background-color: @m-blue0;
  1366. border-color: @m-blue0;
  1367. color: @m-white0;
  1368. &:hover {
  1369. background-color: @m-blue0-hover;
  1370. border-color: @m-blue0-hover;
  1371. color: @m-white0-hover;
  1372. }
  1373. }
  1374. }
  1375. }
  1376. .ant-calendar-month-calendar {
  1377. .ant-calendar-month-calendar-content {
  1378. .ant-calendar-month-header-wrap {
  1379. .ant-calendar-header {
  1380. .ant-calendar-prev-year-btn,.ant-calendar-prev-month-btn {
  1381. color: @m-grey1;
  1382. &::before,&::after {
  1383. border-color: @m-grey2;
  1384. }
  1385. }
  1386. .ant-calendar-month-panel-year-select {
  1387. color: @m-grey1;
  1388. }
  1389. }
  1390. .ant-calendar-month-panel-body {
  1391. .ant-calendar-month-panel-table {
  1392. .ant-calendar-month-panel-tbody {
  1393. .ant-calendar-month-panel-cell {
  1394. .ant-calendar-month-panel-month {
  1395. color: @m-white1;
  1396. &:hover {
  1397. background: transparent;
  1398. color: @m-blue0;
  1399. }
  1400. }
  1401. }
  1402. }
  1403. }
  1404. }
  1405. }
  1406. }
  1407. .ant-calendar-month-panel {
  1408. background: @m-grey22;
  1409. border-color: @m-grey22;
  1410. .ant-calendar-month-panel-header {
  1411. border-color: @m-grey1;
  1412. }
  1413. }
  1414. }
  1415. }
  1416. .ant-calendar-range {
  1417. .ant-calendar-in-range-cell::before {
  1418. background: @m-grey22-hover;
  1419. }
  1420. }
  1421. .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) {
  1422. background: @m-grey21;
  1423. }
  1424. .ant-modal-confirm-confirm {
  1425. top: 50%;
  1426. padding-bottom: 0;
  1427. width: 300px !important;
  1428. height: 200px;
  1429. margin-top: -100px;
  1430. .ant-modal-content {
  1431. background: @m-black27;
  1432. height: 100%;
  1433. .rounded-corners(10px);
  1434. .ant-modal-close {
  1435. .ant-modal-close-x {
  1436. width: 40px;
  1437. height: 40px;
  1438. line-height: 40px;
  1439. .ant-modal-close-icon {
  1440. color: @m-blue11;
  1441. }
  1442. }
  1443. }
  1444. .ant-modal-body {
  1445. padding: 20px;
  1446. .ant-modal-confirm-body-wrapper {
  1447. .ant-modal-confirm-body {
  1448. .ant-modal-confirm-title {
  1449. color: @m-blue0;
  1450. text-align: center;
  1451. font-size: 20px;
  1452. }
  1453. .ant-modal-confirm-content {
  1454. color: @m-white0;
  1455. font-size: 16px;
  1456. margin-top: 25px;
  1457. text-align: center;
  1458. }
  1459. }
  1460. .ant-modal-confirm-btns {
  1461. float: none;
  1462. text-align: center;
  1463. margin-top: 20px;
  1464. .ant-btn {
  1465. width: 120px;
  1466. height: 30px;
  1467. line-height: 28px;
  1468. border-radius: 3px;
  1469. background: linear-gradient(0deg, @m-grey12 0%, @m-grey13 100%);
  1470. font-size: 16px;
  1471. color: @m-white0;
  1472. margin-right: 20px;
  1473. border: 0;
  1474. &:hover {
  1475. background: linear-gradient(0deg, @m-grey12-hover 0%, @m-grey13-hover 100%);
  1476. color: @m-white0-hover;
  1477. }
  1478. }
  1479. .ant-btn-primary {
  1480. width: 120px;
  1481. height: 30px;
  1482. line-height: 28px;
  1483. border: 0;
  1484. background: linear-gradient(0deg, @m-blue2 0%, @m-blue0 100%);
  1485. border-radius: 3px;
  1486. font-size: 16px;
  1487. color: @m-white0;
  1488. margin-right: 0;
  1489. margin-left: 0;
  1490. &:hover {
  1491. background: linear-gradient(0deg, @m-blue2-hover 0%, @m-blue0-hover 100%);
  1492. color: @m-white0-hover;
  1493. }
  1494. }
  1495. }
  1496. }
  1497. }
  1498. }
  1499. }
  1500. .tltLeft {
  1501. font-size: 16px;
  1502. text-align: left;
  1503. .icon {
  1504. font-size: 20px;
  1505. fill: @m-blue0;
  1506. margin-right: 10px;
  1507. }
  1508. }
  1509. .ant-collapse.spotCollapse.ant-collapse-borderless {
  1510. margin-top: 10px;
  1511. background-color: transparent;
  1512. .ant-collapse-item {
  1513. border-bottom: 0;
  1514. .ant-collapse-header {
  1515. color: @m-grey17;
  1516. font-size: 14px;
  1517. border-bottom: 1px solid @m-grey18;
  1518. padding: 10px 8px 10px 44px;
  1519. height: 43px;
  1520. .ant-collapse-arrow {
  1521. fill: @m-grey17;
  1522. width: 16px;
  1523. height: 16px;
  1524. font-size: 16px;
  1525. left: 0;
  1526. }
  1527. }
  1528. .ant-collapse-content {
  1529. .ant-collapse-content-box {
  1530. padding: 0 0 0 30px;
  1531. background-color: transparent;
  1532. .ant-row.contRow {
  1533. width: 100%;
  1534. height: 40px;
  1535. line-height: 40px;
  1536. font-size: 16px;
  1537. color: @m-white1;
  1538. margin-bottom: 10px;
  1539. background: @m-black15;
  1540. border: 1px solid @m-blue3;
  1541. border-radius: 3px;
  1542. padding-left: 14px;
  1543. padding-right: 12px;
  1544. .ant-col:last-child {
  1545. text-align: right;
  1546. }
  1547. .ant-col:first-child {
  1548. text-align: left;
  1549. }
  1550. }
  1551. .contRow:first-child {
  1552. margin-top: 9px;
  1553. }
  1554. .contRow:last-child {
  1555. margin-bottom: 20px;
  1556. }
  1557. }
  1558. }
  1559. }
  1560. }
  1561. .ant-collapse.busyCollapse.ant-collapse-borderless {
  1562. margin-top: 10px;
  1563. background: @m-black15;
  1564. border: 1px solid @m-blue3;
  1565. .rounded-corners(3px);
  1566. .ant-collapse-item {
  1567. border-bottom: 0;
  1568. .ant-collapse-header {
  1569. color: @m-grey17;
  1570. font-size: 14px;
  1571. border-bottom: 0;
  1572. padding: 0;
  1573. line-height: 43px;
  1574. .ant-collapse-arrow {
  1575. fill: @m-grey17;
  1576. width: 16px;
  1577. height: 16px;
  1578. font-size: 16px;
  1579. left: 0;
  1580. }
  1581. .ant-row.contRow {
  1582. width: 100%;
  1583. // height: 40px;
  1584. line-height: 40px;
  1585. font-size: 16px;
  1586. color: @m-white1;
  1587. margin-bottom: 10px;
  1588. // background: @m-black15;
  1589. border: 0 !important;
  1590. // border-radius: 3px;
  1591. padding-left: 14px;
  1592. padding-right: 12px;
  1593. .ant-col:last-child {
  1594. text-align: right;
  1595. }
  1596. .ant-col:first-child {
  1597. text-align: left;
  1598. }
  1599. }
  1600. .contRow:first-child {
  1601. margin-top: 0 !important;
  1602. }
  1603. .contRow:last-child {
  1604. margin-bottom: 0 !important;
  1605. }
  1606. }
  1607. .ant-collapse-content {
  1608. .ant-collapse-content-box {
  1609. padding: 0 0 0 30px;
  1610. background-color: transparent;
  1611. .btn-list {
  1612. width: calc(100% - 10px);
  1613. justify-content: flex-end;
  1614. padding-right: 10px;
  1615. padding-bottom: 10px;
  1616. }
  1617. }
  1618. }
  1619. }
  1620. }
  1621. .ant-row.headRow {
  1622. .ant-col:first-child {
  1623. text-align: left;
  1624. }
  1625. .ant-col:nth-child(3) {
  1626. text-align: right;
  1627. }
  1628. }
  1629. .ant-collapse.futureCollapse.ant-collapse-borderless {
  1630. background: transparent;
  1631. .ant-collapse-item {
  1632. margin-top: 10px;
  1633. background: @m-black15;
  1634. border: 1px solid @m-blue3;
  1635. .rounded-corners(3px);
  1636. .ant-collapse-header {
  1637. color: @m-grey17;
  1638. font-size: 14px;
  1639. border-bottom: 0;
  1640. padding: 0;
  1641. line-height: 43px;
  1642. .ant-collapse-arrow {
  1643. fill: @m-grey17;
  1644. width: 16px;
  1645. height: 16px;
  1646. font-size: 16px;
  1647. left: 0;
  1648. }
  1649. .ant-row.contRow {
  1650. width: 100%;
  1651. // height: 40px;
  1652. line-height: 40px;
  1653. font-size: 16px;
  1654. color: @m-white1;
  1655. margin-bottom: 10px;
  1656. // background: @m-black15;
  1657. border: 0 !important;
  1658. // border-radius: 3px;
  1659. padding-left: 14px;
  1660. padding-right: 12px;
  1661. .ant-col:last-child {
  1662. text-align: right;
  1663. }
  1664. .ant-col:first-child {
  1665. text-align: left;
  1666. }
  1667. }
  1668. .contRow:first-child {
  1669. margin-top: 0 !important;
  1670. }
  1671. .contRow:last-child {
  1672. margin-bottom: 0 !important;
  1673. }
  1674. }
  1675. .ant-collapse-content {
  1676. .ant-collapse-content-box {
  1677. padding: 0 0 0 30px;
  1678. background-color: transparent;
  1679. .btn-list {
  1680. width: calc(100% - 10px);
  1681. justify-content: flex-end;
  1682. padding-right: 10px;
  1683. padding-bottom: 10px;
  1684. .operBtn.ant-btn {
  1685. margin-top: 0;
  1686. margin-bottom: 0;
  1687. height: 26px;
  1688. line-height: 26px;
  1689. }
  1690. }
  1691. }
  1692. }
  1693. }
  1694. }
  1695. // 输入框自动填充背景色和字体颜色
  1696. input:-webkit-autofill,
  1697. textarea:-webkit-autofill,
  1698. select:-webkit-autofill,
  1699. .dialogInput:-webkit-autofill {
  1700. box-shadow: inset 0 0 0 1000px @m-grey21;
  1701. -webkit-text-fill-color: @m-white1;
  1702. }
  1703. input:-internal-autofill-selected {
  1704. background-color: @m-grey21 !important;
  1705. }
  1706. .login {
  1707. input:-webkit-autofill {
  1708. box-shadow: inset 0 0 0 1000px @m-white0;
  1709. }
  1710. }
  1711. .ant-checkbox-group.commonCheckboxGroup {
  1712. width: 100%;
  1713. .ant-checkbox-wrapper {
  1714. color: @m-white0;
  1715. font-size: 14px;
  1716. .ant-checkbox {
  1717. margin-right: 2px;
  1718. .ant-checkbox-inner {
  1719. background: @m-grey21;
  1720. border: 1px solid @m-grey14;
  1721. border-radius: 3px;
  1722. }
  1723. }
  1724. .ant-checkbox.ant-checkbox-checked {
  1725. .ant-checkbox-inner {
  1726. &::after {
  1727. border-color: @m-blue0;
  1728. }
  1729. }
  1730. &::after {
  1731. border-color: @m-blue0;
  1732. }
  1733. }
  1734. span+span {
  1735. margin-right: 15px;
  1736. color: @m-white0;
  1737. font-size: 14px;
  1738. }
  1739. }
  1740. .ant-checkbox-wrapper-disabled {
  1741. .ant-checkbox-disabled {
  1742. outline-color: @m-grey14;
  1743. .ant-checkbox-input {
  1744. color: @m-white0;
  1745. font-size: 14px;
  1746. }
  1747. .ant-checkbox-inner {
  1748. border-color: @m-grey14 !important;
  1749. }
  1750. }
  1751. }
  1752. }
  1753. .commonRadioGroup {
  1754. .ant-radio-wrapper {
  1755. color: @m-white0;
  1756. font-size: 14px;
  1757. .ant-radio {
  1758. .ant-radio-inner {
  1759. border-color:@m-blue0;
  1760. background: @m-grey21;
  1761. &::after {
  1762. left: 4px;
  1763. top: 4px;
  1764. width: 6px;
  1765. height: 6px;
  1766. background: @m-blue0;
  1767. border-radius: 50%;
  1768. }
  1769. }
  1770. }
  1771. }
  1772. .ant-radio-wrapper-disabled {
  1773. .ant-radio-disabled {
  1774. .ant-radio-inner {
  1775. border-color:@m-blue0 !important;
  1776. background: @m-grey21;
  1777. &::after {
  1778. left: 4px;
  1779. top: 4px;
  1780. width: 6px;
  1781. height: 6px;
  1782. background: @m-blue0;
  1783. border-radius: 50%;
  1784. }
  1785. }
  1786. }
  1787. span+span {
  1788. color: @m-white0;
  1789. font-size: 14px;
  1790. }
  1791. }
  1792. }
  1793. .tc {
  1794. text-align: center;
  1795. }
  1796. .checkboxGroupItem {
  1797. .ant-col.ant-form-item-control-wrapper {
  1798. max-width: calc(100% - 130px);
  1799. }
  1800. }
  1801. .ant-spin-container::after,.ant-drawer-content {
  1802. background-color: transparent;
  1803. }
  1804. .ant-layout-sider-has-trigger {
  1805. padding-bottom: 40px;
  1806. }
  1807. // 弹窗中表格内容居中
  1808. .tableContextCenter {
  1809. .dialogTable {
  1810. .ant-table-thead {
  1811. tr {
  1812. th {
  1813. text-align: center;
  1814. }
  1815. }
  1816. }
  1817. .ant-table-tbody {
  1818. tr {
  1819. td {
  1820. text-align: center;
  1821. }
  1822. }
  1823. }
  1824. }
  1825. }
  1826. .filter-check {
  1827. > span {
  1828. &:nth-of-type(2) {
  1829. color: @m-grey2;
  1830. height: 30px;
  1831. line-height: 30px;
  1832. }
  1833. }
  1834. }
  1835. .topTableHeight {
  1836. height: calc(100% - 28px);
  1837. }
  1838. .topTableHeight40 {
  1839. height: calc(100% - 35px);
  1840. }
  1841. // 折叠底部上面左边菜单高度
  1842. .hiddenBottomLayout .layout-top .middleLayout .m-layout-left .ant-layout-sider-children ul.ant-menu.ant-menu-inline.left-menu {
  1843. height: calc(100vh - 126px);
  1844. }
  1845. // 买卖大厅
  1846. .buy-sell-market {
  1847. width: 100%;
  1848. height: 100%;
  1849. position: absolute;
  1850. z-index: 9;
  1851. left: 0;
  1852. top: 0;
  1853. background-color: @m-black1;
  1854. .buy-sell-market-title {
  1855. width: 100%;
  1856. height: 40px;
  1857. background: @m-black1;
  1858. display: inline-flex;
  1859. font-size: 14px;
  1860. position: relative;
  1861. line-height: 40px;
  1862. border-bottom: 1PX solid @m-blue0;
  1863. padding-bottom: 2px;
  1864. div {
  1865. align-self: center;
  1866. align-items: center;
  1867. // height: 40px;
  1868. // line-height: 40px;
  1869. }
  1870. .backIcon {
  1871. width: 52px;
  1872. line-height: 40px;
  1873. }
  1874. .titleBtn {
  1875. min-width: 90px;
  1876. height: 32px;
  1877. display: inline-flex;
  1878. .name {
  1879. background: @m-blue12;
  1880. text-align: center;
  1881. flex: 1;
  1882. padding: 0 16px;
  1883. .rounded-corners(3px, 0, 0, 3px);
  1884. color: @m-white9;
  1885. height: 32px;
  1886. line-height: 32px;
  1887. font-size: 14px;
  1888. }
  1889. .arrowRightIcon,.arrowLeftIcon {
  1890. width: 12px;
  1891. height: 32px;
  1892. background-image: @m-arrowRight;
  1893. background-position: 0 0;
  1894. background-repeat: no-repeat;
  1895. }
  1896. .arrowLeftIcon {
  1897. background-position: -12px 0;
  1898. }
  1899. }
  1900. .titleBtn2 {
  1901. .name {
  1902. .rounded-corners(0);
  1903. }
  1904. }
  1905. .titleBtn3 {
  1906. position: relative;
  1907. .name {
  1908. .rounded-corners(0, 5px, 5px, 0);
  1909. }
  1910. margin-right: 20px;
  1911. .anticon {
  1912. font-size: 16px;
  1913. color: @m-grey1;
  1914. .position(absolute, auto, 16px, 0, auto);
  1915. line-height: 28px;
  1916. z-index: 2;
  1917. }
  1918. }
  1919. .numBlock {
  1920. display: inline-flex;
  1921. white-space: nowrap;
  1922. text-align: left;
  1923. min-width: 80px;
  1924. margin-left: 15px;
  1925. .first {
  1926. font-size: 14px;
  1927. }
  1928. .last {
  1929. font-size: 14px;
  1930. margin-left: 10px;
  1931. }
  1932. }
  1933. .numBlock+.numBlock {
  1934. margin-left: 25px;
  1935. }
  1936. .market {
  1937. margin-left: 28px;
  1938. min-width: 160px;
  1939. height: 40px;
  1940. display: inline-flex;
  1941. background: @m-blue3;
  1942. border: 1px solid @m-blue13;
  1943. .rounded-corners(3px);
  1944. color: @m-grey2;
  1945. padding: 0 14px;
  1946. > div {
  1947. align-self: center;
  1948. align-items: center;
  1949. }
  1950. .first {
  1951. font-size: 14px;
  1952. }
  1953. .last {
  1954. font-size: 18px;
  1955. margin-left: 10px;
  1956. margin-right: 10px;
  1957. }
  1958. .red {
  1959. color: @m-red1;
  1960. }
  1961. }
  1962. .ant-btn {
  1963. align-items: center;
  1964. align-self: center;
  1965. }
  1966. .publishBuy.ant-btn {
  1967. min-width: 80px;
  1968. height: 30px;
  1969. line-height: 30px;
  1970. background: linear-gradient(0deg, @m-blue2, @m-blue0);
  1971. .rounded-corners(3px);
  1972. font-size: 14px;
  1973. color: @m-white0;
  1974. text-align: center;
  1975. border: none;
  1976. margin-left: 10px;
  1977. &:hover {
  1978. background: linear-gradient(0deg, @m-blue2-hover, @m-blue0-hover);
  1979. color: @m-white0-hover;
  1980. }
  1981. }
  1982. .detailBtn.ant-btn {
  1983. min-width: 80px;
  1984. height: 30px;
  1985. line-height: 30px;
  1986. background: linear-gradient(0deg, @m-grey12 0%, @m-grey13 100%);
  1987. .rounded-corners(3px);
  1988. font-size: 14px;
  1989. color: @m-white0;
  1990. text-align: center;
  1991. border: none;
  1992. &:hover {
  1993. background: linear-gradient(0deg, @m-grey12-hover 0%, @m-grey13-hover 100%);
  1994. color: @m-white0-hover;
  1995. }
  1996. }
  1997. .ant-btn+.ant-btn {
  1998. margin-left: 10px;
  1999. }
  2000. .btn-list {
  2001. position: absolute;
  2002. right: 10px;
  2003. .operBtn.ant-btn {
  2004. margin-top: 0;
  2005. margin-bottom: 0;
  2006. }
  2007. }
  2008. }
  2009. }
  2010. .bdf1 {
  2011. border-left: 1PX solid @m-grey31;
  2012. }
  2013. // 上半部分表格高度
  2014. .topTableHeight {
  2015. .srcollYTable {
  2016. .ant-table {
  2017. .ant-table-body {
  2018. min-height: calc(100vh - 378px);
  2019. max-height: calc(100vh - 378px);
  2020. background: @m-black2;
  2021. }
  2022. }
  2023. }
  2024. .srcollYTableNoBottom {
  2025. .ant-table {
  2026. .ant-table-body {
  2027. min-height: calc(100vh - 138px);
  2028. max-height: calc(100vh - 138px);
  2029. }
  2030. }
  2031. }
  2032. }
  2033. // 下半部分表格高度
  2034. .layout-bottom {
  2035. .srcollYTable {
  2036. .ant-table {
  2037. .ant-table-tbody {
  2038. min-height: 190px;
  2039. background: @m-black33;
  2040. }
  2041. }
  2042. }
  2043. }
  2044. // 上半部分表格带二级tab筛选
  2045. .topTableHeight {
  2046. .secondTabTable {
  2047. .ant-table {
  2048. .ant-table-body {
  2049. min-height: calc(100vh - 407px);
  2050. max-height: calc(100vh - 407px);
  2051. background: @m-black2;
  2052. }
  2053. }
  2054. }
  2055. .secondTabTableNoBottom {
  2056. .ant-table {
  2057. .ant-table-body {
  2058. min-height: calc(100vh - 167px);
  2059. max-height: calc(100vh - 167px);
  2060. background: @m-black2;
  2061. }
  2062. }
  2063. }
  2064. }
  2065. // 上半部分表格带二级tab筛选带筛选条件
  2066. .topTableHeight {
  2067. .condSecondTabTable {
  2068. .ant-table {
  2069. .ant-table-body {
  2070. min-height: calc(100vh - 443px);
  2071. max-height: calc(100vh - 443px);
  2072. background: @m-black2;
  2073. }
  2074. }
  2075. }
  2076. .condSecondTabTableNoBottom {
  2077. .ant-table {
  2078. .ant-table-body {
  2079. min-height: calc(100vh - 196px);
  2080. max-height: calc(100vh - 196px);
  2081. background: @m-black2;
  2082. }
  2083. }
  2084. }
  2085. .condSecondTabTableHalfTop {
  2086. .ant-table {
  2087. .ant-table-body {
  2088. min-height: calc((100vh - 443px)/2 - 13px);
  2089. max-height: calc((100vh - 443px)/2 - 13px);
  2090. background: @m-black2;
  2091. }
  2092. .ant-table-thead {
  2093. tr {
  2094. th {
  2095. background: @m-green1;
  2096. color: @m-grey17;
  2097. }
  2098. }
  2099. }
  2100. }
  2101. }
  2102. .halfBottom {
  2103. .ant-table {
  2104. .ant-table-thead {
  2105. tr {
  2106. th {
  2107. background: @m-red2;
  2108. }
  2109. }
  2110. }
  2111. }
  2112. }
  2113. .condSecondTabTableHalfTopNoBottom {
  2114. .ant-table {
  2115. .ant-table-body {
  2116. min-height: calc((100vh - 196px)/2 - 16px);
  2117. max-height: calc((100vh - 196px)/2 - 16px);
  2118. background: @m-black2;
  2119. }
  2120. }
  2121. }
  2122. }
  2123. // 买卖大厅表格
  2124. .buyHallTable,.sellHallTable {
  2125. .ant-table-fixed-header > .ant-table-content > .ant-table-scroll > .ant-table-body {
  2126. background: transparent;
  2127. }
  2128. .ant-table {
  2129. width: 100%;
  2130. table {
  2131. border: 0;
  2132. }
  2133. .ant-table-content {
  2134. background-image: linear-gradient(90deg, @m-black34 60px, @m-red2 0);
  2135. }
  2136. .ant-table-thead {
  2137. tr {
  2138. box-shadow: 0px 1px 0px 0px @m-black17;
  2139. th {
  2140. line-height: 26px;
  2141. background: @m-black34;
  2142. padding-top: 0;
  2143. padding-bottom: 0;
  2144. color: @m-grey17;
  2145. font-size: 14px;
  2146. border-right: 1px solid @m-black10;
  2147. border-bottom: 1px solid @m-black10;
  2148. white-space: nowrap;
  2149. text-overflow: ellipsis;
  2150. overflow: hidden;
  2151. }
  2152. }
  2153. }
  2154. .ant-table-tbody {
  2155. tr {
  2156. td {
  2157. height: 30px;
  2158. line-height: 30px;
  2159. padding: 0 8px;
  2160. border-right: 1px solid @m-black10;
  2161. border-bottom: 1px solid @m-black10;
  2162. font-size: 14px;
  2163. color: @m-grey17;
  2164. white-space: nowrap;
  2165. text-overflow: ellipsis;
  2166. overflow: hidden;
  2167. }
  2168. td:first-child {
  2169. background: @m-black34;
  2170. color: @m-grey17;
  2171. min-width: 61px;
  2172. }
  2173. td:not(:first-child :nth-child(1)) {
  2174. background: @m-red2;
  2175. color: @m-white1;
  2176. }
  2177. }
  2178. tr.ant-table-expanded-row, tr.ant-table-expanded-row:hover {
  2179. td {
  2180. background-color: @m-black2;
  2181. }
  2182. }
  2183. tr.ant-table-expanded-row {
  2184. td {
  2185. text-align: right;
  2186. }
  2187. }
  2188. tr:hover {
  2189. td {
  2190. background-color: @m-blue3 !important;
  2191. }
  2192. }
  2193. }
  2194. .ant-table-placeholder {
  2195. border: 0;
  2196. background: @m-black2;
  2197. }
  2198. }
  2199. .ant-table-row-expand-icon {
  2200. border-color: @m-grey17;
  2201. background-color: transparent;
  2202. color: @m-grey17;
  2203. }
  2204. }
  2205. .sellHallTable {
  2206. .ant-table {
  2207. .ant-table-content {
  2208. background-image: linear-gradient(90deg, @m-black34 60px, @m-green1 0);
  2209. }
  2210. .ant-table-tbody {
  2211. tr {
  2212. td:first-child {
  2213. // background: @m-black34;
  2214. color: @m-grey17;
  2215. }
  2216. td:not(:first-child :nth-child(1)) {
  2217. background: @m-green1;
  2218. }
  2219. }
  2220. }
  2221. }
  2222. }
  2223. .sellHallTable .ant-table .ant-table-tbody tr td:not(:first-child),.buyHallTable .ant-table .ant-table-tbody tr td:not(:first-child) {
  2224. background-color: @m-black2;
  2225. }
  2226. .buyHallTable,.sellHallTable {
  2227. .ant-table-fixed-header > .ant-table-content > .ant-table-scroll > .ant-table-body {
  2228. min-height: calc(100vh - 378px);
  2229. max-height: calc(100vh - 378px);
  2230. }
  2231. .ant-table {
  2232. .ant-table-tbody {
  2233. min-height: calc(100vh - 378px);
  2234. max-height: calc(100vh - 378px);
  2235. }
  2236. }
  2237. }
  2238. .noDataTable {
  2239. .ant-table {
  2240. .ant-table-header {
  2241. // height: 35px;
  2242. margin-bottom: 0 !important;
  2243. overflow: hidden !important;
  2244. }
  2245. }
  2246. }
  2247. // 没有底部时买卖大厅表格高度
  2248. .buyHallTableHigh,.sellHallTableHigh {
  2249. .ant-table-fixed-header > .ant-table-content > .ant-table-scroll > .ant-table-body {
  2250. min-height: calc(100vh - 135px);
  2251. max-height: calc(100vh - 135px);
  2252. }
  2253. .ant-table {
  2254. .ant-table-tbody {
  2255. min-height: calc(100vh - 135px);
  2256. max-height: calc(100vh - 135px);
  2257. }
  2258. }
  2259. }
  2260. // 表单里面的内容
  2261. .formBar {
  2262. width: 100%;
  2263. flex: 1;
  2264. padding: 28px 16px 0;
  2265. max-height: calc(100% - 70px);
  2266. overflow-y: auto;
  2267. overflow-x: hidden;
  2268. ::v-deep.formProgress {
  2269. width: 140px;
  2270. // height: 3px;
  2271. // .rounded-corners(2px);
  2272. margin-left: 70px;
  2273. .ant-progress-outer {
  2274. margin-right: 0;
  2275. padding-right: 0;
  2276. .ant-progress-inner {
  2277. background: @m-grey14;
  2278. .rounded-corners(2px);
  2279. .ant-progress-bg {
  2280. height: 3px !important;
  2281. border-radius: 2px !important;
  2282. background-color: @m-blue0;
  2283. }
  2284. }
  2285. }
  2286. .ant-progress-text {
  2287. display: none;
  2288. }
  2289. }
  2290. .listedBtn {
  2291. width: 120px;
  2292. height: 30px;
  2293. line-height: 30px;
  2294. background: linear-gradient(0deg, @m-blue2 0%, @m-blue0 100%);
  2295. border-radius: 3px;
  2296. color: @m-white0;
  2297. font-size: 14px;
  2298. text-align: center;
  2299. border: 0;
  2300. &:hover {
  2301. background: linear-gradient(0deg, @m-blue0-hover 0%, @m-blue2-hover 100%);
  2302. color: @m-white0-hover;
  2303. }
  2304. }
  2305. .cancelBtn:extend(.listedBtn) {
  2306. background: linear-gradient(0deg, @m-grey12 0%, @m-grey13 100%);
  2307. &:hover {
  2308. background: linear-gradient(0deg, @m-grey12-hover 0%, @m-grey13-hover 100%);
  2309. color: @m-white0-hover;
  2310. }
  2311. }
  2312. }
  2313. .fixedBtns {
  2314. .position(absolute, auto, 0, 9px, 0);
  2315. z-index: 2;
  2316. }
  2317. .c_c_s_s {
  2318. .fixedBtns {
  2319. left: 8px;
  2320. right: 8px;
  2321. padding-top: 18px;
  2322. background: @m-black40;
  2323. }
  2324. }
  2325. .ant-slider.formSlider {
  2326. width: 140px;
  2327. margin-left: 70px;
  2328. .ant-slider-rail {
  2329. margin-right: 0;
  2330. padding-right: 0;
  2331. height: 3px !important;
  2332. border-radius: 2px !important;
  2333. background-color: @m-blue14;
  2334. }
  2335. .ant-slider-track {
  2336. height: 3px;
  2337. background-color: @m-blue0;
  2338. }
  2339. .ant-slider-step {
  2340. height: 3px;
  2341. }
  2342. .ant-progress-text {
  2343. display: none;
  2344. }
  2345. }
  2346. // 暂无数据
  2347. .noData {
  2348. width: 80px;
  2349. height: 80px;
  2350. background: @m-nodata center center no-repeat;
  2351. background-size: cover;
  2352. }
  2353. .ant-empty.ant-empty-normal {
  2354. .ant-empty-image {
  2355. width: 80px;
  2356. height: 80px;
  2357. background: @m-nodata center center no-repeat;
  2358. background-size: cover;
  2359. .ant-empty-img-simple {
  2360. display: none;
  2361. }
  2362. }
  2363. .ant-empty-description {
  2364. display: none;
  2365. }
  2366. }
  2367. // 底部表格行背景色
  2368. .layout-bottom {
  2369. .srcollYTable {
  2370. .ant-table {
  2371. .ant-table-tbody {
  2372. tr {
  2373. td {
  2374. background: @m-black33;
  2375. }
  2376. }
  2377. }
  2378. .ant-table-placeholder {
  2379. border-top: 1PX solid @m-black9;
  2380. background: @m-black33;
  2381. }
  2382. }
  2383. }
  2384. }
  2385. // 仓单预售查询条件 日期到月份
  2386. .conditionPicker.ant-calendar-picker {
  2387. .ant-input {
  2388. width: 90px;
  2389. background: transparent;
  2390. font-size: 14px;
  2391. color: @m-white6;
  2392. }
  2393. .ant-calendar-picker-icon {
  2394. display: none;
  2395. }
  2396. }
  2397. // 表格按钮列表固定在右边
  2398. .btn-list-sticky {
  2399. position: sticky;
  2400. position: -webkit-sticky;
  2401. right: 2px;
  2402. }
  2403. // 步骤条
  2404. .commonSteps {
  2405. .ant-steps-item {
  2406. .block {
  2407. display: inline-flex;
  2408. }
  2409. .ant-steps-item-tail {
  2410. left: 9.5px !important;
  2411. padding: 30px 0 0 0 !important;
  2412. }
  2413. .ant-steps-item-icon {
  2414. margin-top: 5px;
  2415. width: 20px;
  2416. height: 20px;
  2417. background: @m-grey11;
  2418. border-color: @m-blue24;
  2419. .ant-steps-icon {
  2420. font-size: 12px;
  2421. line-height: 20px;
  2422. top: -9px;
  2423. }
  2424. }
  2425. .ant-steps-item-content {
  2426. min-height: 60px;
  2427. }
  2428. .line {
  2429. width: 280px;
  2430. height: 30px;
  2431. background: @m-blue17;
  2432. .rounded-corners(3px);
  2433. display: inline-flex;
  2434. position: relative;
  2435. .num {
  2436. width: 30px;
  2437. height: 30px;
  2438. background: @m-blue0;
  2439. .rounded-corners(3px);
  2440. text-align: center;
  2441. line-height: 30px;
  2442. font-size: 14px;
  2443. color: @m-white0;
  2444. }
  2445. .desc {
  2446. flex: 1;
  2447. padding-left: 14px;
  2448. font-size: 16px;
  2449. color: @m-white0;
  2450. line-height: 28px;
  2451. }
  2452. .day {
  2453. width: 70px;
  2454. text-align: right;
  2455. color: @m-blue0;
  2456. margin-right: 17px;
  2457. line-height: 28px;
  2458. }
  2459. .arrowRight {
  2460. display: none;
  2461. .position(absolute, auto, -9px, 0, auto);
  2462. font-size: 12px;
  2463. color: @m-blue0;
  2464. line-height: 30px;
  2465. z-index: 2;
  2466. }
  2467. }
  2468. .tip {
  2469. margin-left: 13px;
  2470. font-size: 16px;
  2471. line-height: 30px;
  2472. color: @m-blue23;
  2473. }
  2474. }
  2475. .ant-steps-item-finish {
  2476. }
  2477. .ant-steps-item-process {
  2478. .line {
  2479. border: 1px solid @m-blue0;
  2480. .arrowRight {
  2481. display: block;
  2482. }
  2483. }
  2484. .tip {
  2485. color: @m-blue0;
  2486. }
  2487. .ant-steps-item-icon {
  2488. width: 22px !important;
  2489. height: 22px !important;
  2490. background: url(../images/stepPro.png) center center no-repeat !important;
  2491. background-size: cover !important;
  2492. border: 0;
  2493. .ant-steps-icon {
  2494. display: none;
  2495. }
  2496. }
  2497. }
  2498. .ant-steps-item-wait {
  2499. .line {
  2500. .num {
  2501. background: @m-grey28;
  2502. }
  2503. .desc {
  2504. color: @m-grey29;
  2505. }
  2506. }
  2507. .tip {
  2508. color: @m-grey30;
  2509. }
  2510. .ant-steps-item-icon {
  2511. border: 0;
  2512. width: 22px !important;
  2513. height: 22px !important;
  2514. background: url(../images/stepWait.png) center center no-repeat !important;
  2515. background-size: cover !important;
  2516. .ant-steps-icon {
  2517. display: none;
  2518. }
  2519. }
  2520. }
  2521. }
  2522. .commonSteps > .ant-steps-item-finish > .ant-steps-item-container > .ant-steps-item-tail::after {
  2523. background-color: @m-blue24;
  2524. }
  2525. .commonSteps > .ant-steps-item-process > .ant-steps-item-container > .ant-steps-item-tail::after {
  2526. background-color: @m-grey30;
  2527. }
  2528. // 左侧菜单
  2529. .ant-menu-dark .ant-menu-inline.ant-menu-sub {
  2530. background: @m-black28;
  2531. box-shadow: none;
  2532. }
  2533. // 仓单贸易查询条件
  2534. .ant-select-tree-dropdown {
  2535. background: @m-grey9;
  2536. box-shadow: none;
  2537. .ant-select-tree {
  2538. color: @m-grey1;
  2539. li {
  2540. .ant-select-tree-node-content-wrapper-open:hover {
  2541. background: @m-blue3;
  2542. }
  2543. .ant-select-tree-node-content-wrapper {
  2544. color: @m-grey1;
  2545. }
  2546. .ant-select-tree-child-tree {
  2547. li:hover {
  2548. background: @m-blue3;
  2549. span {
  2550. background: @m-blue3;
  2551. color: @m-white0;
  2552. }
  2553. }
  2554. }
  2555. }
  2556. }
  2557. }
  2558. // 左侧菜单样式
  2559. .ant-menu-dark .ant-menu-sub .ant-menu-item,
  2560. .ant-menu-dark .ant-menu-sub .ant-menu-item {
  2561. color: @m-grey34;
  2562. }
  2563. .ant-menu-dark .ant-menu-sub .ant-menu-item-selected,
  2564. .ant-menu-dark .ant-menu-sub .ant-menu-item-selected {
  2565. color: @m-white8;
  2566. }
  2567. .ant-select-tree-dropdown .ant-select-tree li .ant-select-tree-node-content-wrapper.ant-select-tree-node-selected {
  2568. background: transparent !important;
  2569. }
  2570. // 数字最右侧上下箭头不显示
  2571. .ant-input-number-handler-wrap {
  2572. display: none
  2573. }
  2574. // 图标卖挂选项卡
  2575. .chartTabs.ant-tabs-top {
  2576. height: calc(100% - 22px);
  2577. background: transparent;
  2578. .ant-tabs-bar {
  2579. margin-bottom: 0;
  2580. border-bottom: 0;
  2581. height: 30px;
  2582. .ant-tabs-nav-container {
  2583. .ant-tabs-nav-wrap {
  2584. .ant-tabs-nav-scroll {
  2585. .ant-tabs-nav {
  2586. width: 100%;
  2587. > div {
  2588. .flex;
  2589. }
  2590. .ant-tabs-tab {
  2591. margin-right: 0;
  2592. padding: 0;
  2593. height: 30px;
  2594. line-height: 30px;
  2595. background: @m-black39;
  2596. color: @m-grey1;
  2597. font-size: 14px;
  2598. flex: 1;
  2599. text-align: center;
  2600. }
  2601. .ant-tabs-tab-active {
  2602. background: @m-green1;
  2603. color: @m-blue0;
  2604. }
  2605. .ant-tabs-ink-bar-animated {
  2606. width: 0 !important;
  2607. height: 0 !important;
  2608. }
  2609. }
  2610. }
  2611. }
  2612. }
  2613. }
  2614. .ant-tabs-content {
  2615. width: 100%;
  2616. height: calc(100% - 29px);
  2617. min-height: calc(100% - 29px);
  2618. margin-top: -1px;
  2619. position: relative;
  2620. .ant-tabs-tabpane {
  2621. height: 100%;
  2622. .flex;
  2623. flex-direction: column;
  2624. }
  2625. .ant-tabs-tabpane-active {
  2626. background: @m-green1;
  2627. .position(absolute, 0, 0, 0, 0);
  2628. z-index: 2;
  2629. }
  2630. }
  2631. .ant-tabs-content-animated {
  2632. margin-left: 0 !important;
  2633. }
  2634. }
  2635. .watchMore {
  2636. width: 100%;
  2637. height: 22px;
  2638. line-height: 22px;
  2639. background: @m-grey48;
  2640. font-size: 14px;
  2641. color: @m-grey49;
  2642. text-align: center;
  2643. cursor: pointer;
  2644. }
  2645. .chartRow {
  2646. width: 100%;
  2647. padding-left: 8px;
  2648. padding-right: 10px;
  2649. display: inline-flex;
  2650. > div {
  2651. flex: 1;
  2652. font-size: 14px;
  2653. color: @m-grey50;
  2654. height: 40px;
  2655. line-height: 40px;
  2656. }
  2657. .left {
  2658. text-align: left;
  2659. }
  2660. .middle {
  2661. text-align: center;
  2662. color: @m-red11;
  2663. }
  2664. .right {
  2665. text-align: right;
  2666. }
  2667. }
  2668. // 朋友搜索框
  2669. .ant-input-search.searchFriendInput {
  2670. width: 100%;
  2671. height: 30px;
  2672. background: @m-grey53;
  2673. border-color: @m-grey54;
  2674. .rounded-corners(15px);
  2675. .anticon-search {
  2676. color: @m-grey55;
  2677. }
  2678. .ant-input {
  2679. background: @m-grey53;
  2680. color: @m-white6;
  2681. font-size: 14px;
  2682. font-weight: 400;
  2683. }
  2684. .ant-input-suffix {
  2685. .ant-input-search-icon {
  2686. display: none;
  2687. }
  2688. }
  2689. .ant-input-group {
  2690. .ant-input-group-addon {
  2691. background: @m-grey53;
  2692. .rounded-corners(0, 15px, 15px, 0);
  2693. .ant-input-search-button {
  2694. width: 56px;
  2695. height: 26px;
  2696. background: #3A87F7;
  2697. padding: 0;
  2698. align-self: center;
  2699. align-items: center;
  2700. .rounded-corners(13px);
  2701. span {
  2702. width: 100%;
  2703. height: 26px;
  2704. line-height: 22px;
  2705. text-align: center;
  2706. color: #ffffff;
  2707. font-weight: 400;
  2708. font-size: 14px;
  2709. }
  2710. }
  2711. }
  2712. }
  2713. }
  2714. .ant-input-search.noSuffixInput {
  2715. .ant-input-group {
  2716. .ant-input-group-addon {
  2717. display: none;
  2718. }
  2719. }
  2720. }
  2721. .ant-popover.friendPopover {
  2722. .ant-popover-content {
  2723. .ant-popover-inner {
  2724. .ant-popover-inner-content {
  2725. padding: 0;
  2726. }
  2727. }
  2728. }
  2729. }