mixin.less 55 KB

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