mixin.less 78 KB

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