mixin.less 52 KB

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