mixin.less 51 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907
  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. }
  634. }
  635. .ant-form-item-control-wrapper {
  636. width: calc(100% - 70px);
  637. }
  638. }
  639. }
  640. .ant-select-single {
  641. .ant-select-selector {
  642. height: 30px;
  643. padding: 0 8px;
  644. background: @m-grey21;
  645. border: 1px solid #0C95FF;
  646. border-radius: 3px;
  647. color: #E5E5E5;
  648. }
  649. .ant-select-arrow {
  650. right: 8px;
  651. color: #3A87F7;
  652. }
  653. }
  654. .inlineFormSelect.ant-select-single {
  655. .rounded-corners(3px);
  656. border: 1px solid #2B3F52;
  657. &:hover, &:focus {
  658. border-color:#0C95FF;
  659. }
  660. .ant-select-selector {
  661. height: 30px;
  662. padding: 0 8px;
  663. background: @m-grey21;
  664. border: 0;
  665. color: #E5E5E5;
  666. .ant-select-selection-placeholder {
  667. color: @m-grey10;
  668. }
  669. }
  670. .ant-select-arrow {
  671. right: 8px;
  672. color: #3A87F7 !important;
  673. }
  674. }
  675. .shortSelect.ant-select-single:extend(.inlineFormSelect.ant-select-single) {
  676. margin-right: 0;
  677. .ant-select-selector {
  678. padding: 0 5px;
  679. .ant-select-selection-item {
  680. padding-right: 14px;
  681. }
  682. }
  683. }
  684. .typeSelect.ant-select-single {
  685. .rounded-corners(3px);
  686. border: 1px solid #2B3F52;
  687. &:hover, &:focus {
  688. border-color:#0C95FF;
  689. }
  690. .ant-select-selector {
  691. height: 30px;
  692. padding: 0 8px;
  693. background: @m-grey21;
  694. border: 0;
  695. color: #E5E5E5;
  696. .ant-select-selection-placeholder {
  697. color: @m-grey10;
  698. }
  699. }
  700. .ant-select-arrow {
  701. right: 8px;
  702. color: @m-blue0;
  703. }
  704. }
  705. .dialogInput {
  706. background: @m-grey21;
  707. border: 1px solid @m-grey14;
  708. border-radius: 3px;
  709. color: #E5E5E5;
  710. .ant-input {
  711. color: #E5E5E5;
  712. background: transparent
  713. }
  714. .ant-input-suffix {
  715. color: #E5E5E5;
  716. }
  717. .ant-input-suffix {
  718. .ant-input-password-icon {
  719. color: #E5E5E5;
  720. }
  721. }
  722. &:hover,&:focus {
  723. border-color: @m-blue10;
  724. }
  725. }
  726. .suffixGrey {
  727. .ant-input-suffix {
  728. color: @m-grey2;
  729. }
  730. }
  731. .formFieldSet {
  732. border: 1px solid @m-grey19;
  733. padding: 0 20px 20px;
  734. legend {
  735. color: @m-white0;
  736. }
  737. }
  738. .formFieldSet+.formFieldSet {
  739. margin-top: 35px;
  740. }
  741. .ant-form {
  742. legend {
  743. width: auto;
  744. margin-left: 20px;
  745. font-size: 16px;
  746. color: @m-white0;
  747. border-bottom: 0;
  748. padding: 0 10px;
  749. }
  750. }
  751. .paddingDialog,.fieldsetDialog {
  752. .formFieldSet {
  753. legend {
  754. width: auto;
  755. margin-left: 20px;
  756. font-size: 16px;
  757. color: @m-white0;
  758. border-bottom: 0;
  759. padding: 0 10px;
  760. }
  761. }
  762. }
  763. .paddingDialog {
  764. .ant-modal-content {
  765. .ant-modal-body {
  766. padding: 24px;
  767. }
  768. }
  769. }
  770. // 上传
  771. .upload {
  772. display: inline-flex;
  773. .ant-btn.uploadBtn {
  774. width: 60px;
  775. height: 30px;
  776. background: @m-blue0;
  777. border: 0;
  778. padding: 0;
  779. text-align: center;
  780. font-size: 14px;
  781. color: @m-white0;
  782. .rounded-corners(3px);
  783. &:hover {
  784. background: rgba(@m-blue0, 0.8);
  785. color: rgba(@m-white0, 0.8);
  786. }
  787. }
  788. .ant-upload-list-item-info {
  789. .anticon-loading,.anticon-paper-clip {
  790. color: @m-white0;
  791. }
  792. .ant-upload-list-item-name {
  793. color: @m-white0;
  794. }
  795. .ant-upload-list-item-card-actions {
  796. .anticon {
  797. color: @m-white0;
  798. }
  799. }
  800. &:hover {
  801. background: transparent;
  802. .anticon-loading,.anticon-paper-clip {
  803. color: @m-blue0;
  804. }
  805. .ant-upload-list-item-name {
  806. color: @m-blue0;
  807. }
  808. .ant-upload-list-item-card-actions {
  809. .anticon {
  810. color: @m-blue0;
  811. }
  812. }
  813. }
  814. }
  815. .look {
  816. color: @m-blue0;
  817. font-size: 14px;
  818. margin-left: 10px;
  819. cursor: pointer;
  820. }
  821. }
  822. .fl {
  823. float: left;
  824. }
  825. .fr {
  826. float: right;
  827. }
  828. .ml10 {
  829. margin-left: 10px;
  830. }
  831. .ml35 {
  832. margin-left: 35px;
  833. }
  834. .ml9 {
  835. margin-left: 9px;
  836. }
  837. .ml5{
  838. margin-left: 5px;
  839. }
  840. .mt5 {
  841. margin-top: 5px;
  842. }
  843. .mt10 {
  844. margin-top: 10px;
  845. }
  846. .mt20 {
  847. margin-top: 20px;
  848. }
  849. .mt30 {
  850. margin-top: 30px;
  851. }
  852. .mb40 {
  853. margin-bottom: 40px !important;
  854. }
  855. .mr10 {
  856. margin-right: 10px;
  857. }
  858. .red {
  859. color: @m-red0;
  860. }
  861. .grey {
  862. color: @m-grey2;
  863. }
  864. .white {
  865. color: @m-white0;
  866. }
  867. .blue {
  868. color: @m-blue0;
  869. }
  870. .green {
  871. color: @m-green0;
  872. }
  873. .yellow {
  874. color: @m-yellow0;
  875. }
  876. .orange {
  877. color: @m-orange0;
  878. }
  879. .selectBtn.ant-btn {
  880. margin-left: 10px;
  881. width: 80px;
  882. height: 30px;
  883. line-height: 31px;
  884. text-align: center;
  885. background: linear-gradient(0deg, @m-grey15 0%, @m-grey16 98%);
  886. border: 0;
  887. color: @m-white0;
  888. font-size: 14px;
  889. .rounded-corners(3px);
  890. &:hover,
  891. &:focus {
  892. background: linear-gradient(0deg, @m-grey15-hover 0%, @m-grey16-hover 98%);
  893. color: rgba(@m-white0, 0.8);
  894. border: 0;
  895. }
  896. }
  897. .btnPrimary.ant-btn,.operBtn.ant-btn {
  898. margin-left: 10px;
  899. width: auto;
  900. min-width: 80px;
  901. height: 30px;
  902. line-height: 31px;
  903. text-align: center;
  904. background: linear-gradient(0deg, @m-blue6 0%, @m-blue7 99%);
  905. border: 0;
  906. color: @m-white0;
  907. font-size: 14px;
  908. .rounded-corners(3px);
  909. &:hover,
  910. &:focus {
  911. background: linear-gradient(0deg, @m-blue6-hover 0%, @m-blue7-hover 99%);
  912. color: rgba(@m-white0, 0.8);
  913. border: 0;
  914. }
  915. }
  916. .operBtn.ant-btn {
  917. margin-top: 9px;
  918. margin-bottom: 6px;
  919. }
  920. .ant-table-expanded-row {
  921. .btn-list {
  922. padding-right: 10px;
  923. text-align: right;
  924. }
  925. .btnPrimary.ant-btn {
  926. width: 80px;
  927. height: 26px;
  928. line-height: 27px;
  929. border: 0;
  930. background: linear-gradient(0deg, @m-blue2, @m-blue0);
  931. box-shadow: -1px 0px 0px 0px @m-black10;
  932. .rounded-corners(3px);
  933. &:hover,
  934. &:focus {
  935. background: linear-gradient(0deg, @m-blue2-hover 0%, @m-blue0-hover 99%);
  936. color: rgba(@m-white0, 0.8);
  937. border: 0;
  938. }
  939. }
  940. .ant-btn+.ant-btn {
  941. margin-left: 10px;
  942. }
  943. }
  944. .btnDanger.ant-btn{
  945. margin-left: 10px;
  946. width: 80px;
  947. height: 26px;
  948. line-height: 27px;
  949. text-align: center;
  950. border: 0;
  951. color: @m-white0;
  952. font-size: 14px;
  953. background: linear-gradient(0deg, @m-red0 0%, @m-red1 99%);
  954. .rounded-corners(3px);
  955. &:hover,
  956. &:focus {
  957. background: linear-gradient(0deg, @m-red0-hover 0%, @m-red1-hover 99%);
  958. color: rgba(@m-white0, 0.8);
  959. border: 0;
  960. }
  961. }
  962. .btnDeafault.ant-btn {
  963. margin-left: 10px;
  964. width: 80px;
  965. height: 26px;
  966. line-height: 27px;
  967. text-align: center;
  968. border: 0;
  969. color: @m-white0;
  970. font-size: 14px;
  971. background: linear-gradient(0deg, @m-grey12 0%, @m-grey13 100%);
  972. .rounded-corners(3px);
  973. &:hover,
  974. &:focus {
  975. background: linear-gradient(0deg, @m-grey12-hover 0%, @m-grey13-hover 99%);
  976. color: rgba(@m-white0, 0.8);
  977. border: 0;
  978. }
  979. }
  980. // .hiddenFirstCol {
  981. // .ant-table {
  982. // .ant-table-content {
  983. // .ant-table-scroll {
  984. // .ant-table-hide-scrollbar {
  985. // .ant-table-fixed {
  986. // .ant-table-thead {
  987. // .ant-table-expand-icon-th {
  988. // width: 0 !important;
  989. // }
  990. // }
  991. // }
  992. // }
  993. // }
  994. // .ant-table-body {
  995. // table {
  996. // .ant-table-thead {
  997. // .ant-table-expand-icon-th {
  998. // width: 0 !important;
  999. // }
  1000. // }
  1001. // .ant-table-tbody {
  1002. // .ant-table-row {
  1003. // .ant-table-row-expand-icon-cell {
  1004. // width: 0 !important;
  1005. // }
  1006. // }
  1007. // tr.ant-table-expanded-row {
  1008. // td:first-child {
  1009. // width: 0 !important;
  1010. // }
  1011. // }
  1012. // }
  1013. // }
  1014. // }
  1015. // }
  1016. // }
  1017. // }
  1018. .to {
  1019. font-size: 14px;
  1020. color: @m-grey2;
  1021. margin-left: -8px;
  1022. margin-right: 2px;
  1023. }
  1024. .filterTable {
  1025. display: inline-flex;
  1026. width: calc(100% - 3px);
  1027. padding-left: 3px;
  1028. }
  1029. .ant-row.dialogRowTitle {
  1030. margin-left: 0 !important;
  1031. margin-right: 0 !important;
  1032. border: 1px solid @m-grey20;
  1033. .ant-col {
  1034. border-top: 1px solid @m-grey20;
  1035. border-right: 1px solid @m-grey20;
  1036. padding-left: 0 !important;
  1037. padding-right: 0 !important;
  1038. height: 34px;
  1039. line-height: 34px;
  1040. font-size: 16px;
  1041. color: @m-grey2;
  1042. .red {
  1043. color: @m-red1;
  1044. }
  1045. }
  1046. .ant-col:nth-child(1),.ant-col:nth-child(2),.ant-col:nth-child(3),.ant-col:nth-child(4){
  1047. border-top: 0;
  1048. text-align: center;
  1049. }
  1050. .ant-col:last-child {
  1051. border-right: 1px solid @m-grey20;
  1052. }
  1053. .bt1 {
  1054. border-top: 1px solid @m-grey20 !important;
  1055. }
  1056. }
  1057. // 日期输入框 @m-grey21
  1058. .commonPicker.ant-calendar-picker {
  1059. .ant-input {
  1060. background: @m-grey21;
  1061. border-color: @m-grey14;
  1062. padding: 4px 8px;
  1063. .rounded-corners(3px);
  1064. .ant-calendar-range-picker-input {
  1065. color: @m-white0;
  1066. font-size: 14px;
  1067. &::placeholder {
  1068. color: @m-grey10;
  1069. }
  1070. }
  1071. .ant-calendar-picker-clear {
  1072. background: @m-white0;
  1073. }
  1074. .ant-calendar-range-picker-separator {
  1075. font-size: 14px;
  1076. color: @m-grey2;
  1077. }
  1078. }
  1079. }
  1080. // 日期输入框
  1081. .commonDatePicker.ant-calendar-picker {
  1082. .ant-input {
  1083. background: @m-grey9;
  1084. padding: 0 8px;
  1085. height: 30px;
  1086. line-height: 30px;
  1087. border: 0;
  1088. color: @m-white1;
  1089. }
  1090. .ant-calendar-picker-icon {
  1091. color: @m-grey1;
  1092. }
  1093. .ant-calendar-picker-clear {
  1094. background: transparent;
  1095. color: @m-grey1;
  1096. svg {
  1097. fill: @m-grey1;
  1098. }
  1099. }
  1100. }
  1101. .ant-popover {
  1102. .ant-popover-content {
  1103. border: 1px solid @m-grey22;
  1104. .rounded-corners(5px);
  1105. .ant-popover-arrow {
  1106. border-top-color: @m-grey22;
  1107. border-left-color: @m-grey22;
  1108. }
  1109. .ant-popover-inner {
  1110. .ant-popover-inner-content {
  1111. border-image-width: 0;
  1112. background: @m-grey22;
  1113. color: @m-white0;
  1114. padding: 5px 15px;
  1115. &:hover {
  1116. color: @m-blue0;
  1117. }
  1118. }
  1119. }
  1120. }
  1121. }
  1122. .ant-calendar-picker-container {
  1123. .ant-calendar-range,.ant-calendar {
  1124. background: @m-grey22;
  1125. border-color: @m-grey22;
  1126. .ant-calendar-panel {
  1127. .ant-calendar-input-wrap {
  1128. border-bottom-color: @m-grey23;
  1129. .ant-calendar-input {
  1130. background: transparent;
  1131. border: 1px solid @m-grey1;
  1132. color: @m-white0;
  1133. &::placeholder {
  1134. color: @m-grey1;
  1135. }
  1136. }
  1137. }
  1138. .ant-calendar-date-panel {
  1139. // .ant-calendar-range-part {
  1140. .ant-calendar-header {
  1141. border-color: @m-grey1;
  1142. .ant-calendar-prev-year-btn,.ant-calendar-prev-month-btn {
  1143. color: @m-grey1;
  1144. &::before,&::after {
  1145. border-color: @m-grey2;
  1146. }
  1147. }
  1148. .ant-calendar-month-select,.ant-calendar-year-select {
  1149. color: @m-grey1;
  1150. }
  1151. }
  1152. .ant-calendar-body {
  1153. border-top-color: @m-grey1;
  1154. .ant-calendar-column-header-inner {
  1155. color: @m-grey1;
  1156. }
  1157. .ant-calendar-cell {
  1158. .ant-calendar-date {
  1159. background: transparent;
  1160. color: @m-white0;
  1161. }
  1162. &:hover {
  1163. .ant-calendar-date {
  1164. color: @m-blue0;
  1165. }
  1166. }
  1167. }
  1168. .ant-calendar-last-day-of-month,.ant-calendar-next-month-btn-day {
  1169. .ant-calendar-date {
  1170. color: @m-white1;
  1171. }
  1172. }
  1173. .ant-calendar-disabled-cell {
  1174. .ant-calendar-date {
  1175. color: @m-grey1;
  1176. }
  1177. }
  1178. .ant-calendar-selected-day {
  1179. .ant-calendar-date {
  1180. color: @m-blue0;
  1181. }
  1182. }
  1183. .ant-calendar-active-week {
  1184. .ant-calendar-cell {
  1185. .ant-calendar-date {
  1186. background: transparent;
  1187. }
  1188. }
  1189. }
  1190. // }
  1191. }
  1192. .ant-calendar-range-middle {
  1193. color: @m-white1;
  1194. }
  1195. }
  1196. }
  1197. .ant-calendar-footer {
  1198. border-top-color: @m-grey1;
  1199. .ant-calendar-time-picker-btn {
  1200. color: @m-grey1;
  1201. }
  1202. .ant-calendar-ok-btn {
  1203. background-color: @m-blue0;
  1204. border-color: @m-blue0;
  1205. color: @m-white0;
  1206. &:hover {
  1207. background-color: @m-blue0-hover;
  1208. border-color: @m-blue0-hover;
  1209. color: @m-white0-hover;
  1210. }
  1211. }
  1212. }
  1213. }
  1214. .ant-calendar-month-calendar {
  1215. .ant-calendar-month-calendar-content {
  1216. .ant-calendar-month-header-wrap {
  1217. .ant-calendar-header {
  1218. .ant-calendar-prev-year-btn,.ant-calendar-prev-month-btn {
  1219. color: @m-grey1;
  1220. &::before,&::after {
  1221. border-color: @m-grey2;
  1222. }
  1223. }
  1224. .ant-calendar-month-panel-year-select {
  1225. color: @m-grey1;
  1226. }
  1227. }
  1228. .ant-calendar-month-panel-body {
  1229. .ant-calendar-month-panel-table {
  1230. .ant-calendar-month-panel-tbody {
  1231. .ant-calendar-month-panel-cell {
  1232. .ant-calendar-month-panel-month {
  1233. color: @m-white1;
  1234. &:hover {
  1235. background: transparent;
  1236. color: @m-blue0;
  1237. }
  1238. }
  1239. }
  1240. }
  1241. }
  1242. }
  1243. }
  1244. }
  1245. .ant-calendar-month-panel {
  1246. background: @m-grey22;
  1247. border-color: @m-grey22;
  1248. .ant-calendar-month-panel-header {
  1249. border-color: @m-grey1;
  1250. }
  1251. }
  1252. }
  1253. }
  1254. .ant-calendar-range {
  1255. .ant-calendar-in-range-cell::before {
  1256. background: @m-grey22-hover;
  1257. }
  1258. }
  1259. .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) {
  1260. background: @m-grey21;
  1261. }
  1262. .ant-modal-confirm-confirm {
  1263. top: 50%;
  1264. padding-bottom: 0;
  1265. margin-top: -64px;
  1266. .ant-modal-content {
  1267. background: @m-grey11;
  1268. .ant-modal-close {
  1269. .ant-modal-close-x {
  1270. width: 40px;
  1271. height: 40px;
  1272. line-height: 40px;
  1273. .ant-modal-close-icon {
  1274. color: @m-blue11;
  1275. }
  1276. }
  1277. }
  1278. .ant-modal-body {
  1279. padding: 24px;
  1280. .ant-modal-confirm-body-wrapper {
  1281. .ant-modal-confirm-body {
  1282. .ant-modal-confirm-title {
  1283. color: @m-white0;
  1284. text-align: center;
  1285. }
  1286. }
  1287. .ant-modal-confirm-btns {
  1288. float: none;
  1289. text-align: center;
  1290. .ant-btn {
  1291. width: 100px;
  1292. height: 34px;
  1293. line-height: 32px;
  1294. border: 1px solid @m-blue10;
  1295. border-radius: 3px;
  1296. background: transparent;
  1297. font-size: 16px;
  1298. color: @m-blue10;
  1299. margin-right: 20px;
  1300. &:hover {
  1301. border-color: rgba(@m-blue10, .8);
  1302. }
  1303. }
  1304. .ant-btn-primary {
  1305. margin-left: 20px;
  1306. width: 100px;
  1307. height: 34px;
  1308. line-height: 32px;
  1309. border: 0;
  1310. background: linear-gradient(0deg, @m-blue8 0%, @m-blue9 100%);
  1311. border-radius: 3px;
  1312. font-size: 16px;
  1313. color: @m-white0;
  1314. &:hover {
  1315. background: linear-gradient(0deg, @m-blue8-hover 0%, @m-blue9-hover 100%);
  1316. color: @m-white0-hover;
  1317. }
  1318. }
  1319. }
  1320. }
  1321. }
  1322. }
  1323. }
  1324. .tltLeft {
  1325. font-size: 16px;
  1326. text-align: left;
  1327. .icon {
  1328. font-size: 20px;
  1329. fill: @m-blue0;
  1330. margin-right: 10px;
  1331. }
  1332. }
  1333. .ant-collapse.spotCollapse.ant-collapse-borderless {
  1334. margin-top: 10px;
  1335. background-color: transparent;
  1336. .ant-collapse-item {
  1337. border-bottom: 0;
  1338. .ant-collapse-header {
  1339. color: @m-grey17;
  1340. font-size: 14px;
  1341. border-bottom: 1px solid @m-grey18;
  1342. padding: 10px 8px 10px 44px;
  1343. height: 43px;
  1344. .ant-collapse-arrow {
  1345. fill: @m-grey17;
  1346. width: 16px;
  1347. height: 16px;
  1348. font-size: 16px;
  1349. left: 0;
  1350. }
  1351. }
  1352. .ant-collapse-content {
  1353. .ant-collapse-content-box {
  1354. padding: 0 0 0 30px;
  1355. background-color: transparent;
  1356. .ant-row.contRow {
  1357. width: 100%;
  1358. height: 40px;
  1359. line-height: 40px;
  1360. font-size: 16px;
  1361. color: @m-white1;
  1362. margin-bottom: 10px;
  1363. background: #0f161c;
  1364. border: 1px solid #172b56;
  1365. border-radius: 3px;
  1366. padding-left: 14px;
  1367. padding-right: 12px;
  1368. .ant-col:last-child {
  1369. text-align: right;
  1370. }
  1371. .ant-col:first-child {
  1372. text-align: left;
  1373. }
  1374. }
  1375. .contRow:first-child {
  1376. margin-top: 9px;
  1377. }
  1378. .contRow:last-child {
  1379. margin-bottom: 20px;
  1380. }
  1381. }
  1382. }
  1383. }
  1384. }
  1385. .ant-collapse.busyCollapse.ant-collapse-borderless {
  1386. margin-top: 10px;
  1387. background: #0f161c;
  1388. border: 1px solid #172b56;
  1389. .rounded-corners(3px);
  1390. .ant-collapse-item {
  1391. border-bottom: 0;
  1392. .ant-collapse-header {
  1393. color: @m-grey17;
  1394. font-size: 14px;
  1395. border-bottom: 0;
  1396. padding: 0;
  1397. line-height: 43px;
  1398. .ant-collapse-arrow {
  1399. fill: @m-grey17;
  1400. width: 16px;
  1401. height: 16px;
  1402. font-size: 16px;
  1403. left: 0;
  1404. }
  1405. .ant-row.contRow {
  1406. width: 100%;
  1407. // height: 40px;
  1408. line-height: 40px;
  1409. font-size: 16px;
  1410. color: @m-white1;
  1411. margin-bottom: 10px;
  1412. // background: #0f161c;
  1413. border: 0 !important;
  1414. // border-radius: 3px;
  1415. padding-left: 14px;
  1416. padding-right: 12px;
  1417. .ant-col:last-child {
  1418. text-align: right;
  1419. }
  1420. .ant-col:first-child {
  1421. text-align: left;
  1422. }
  1423. }
  1424. .contRow:first-child {
  1425. margin-top: 0 !important;
  1426. }
  1427. .contRow:last-child {
  1428. margin-bottom: 0 !important;
  1429. }
  1430. }
  1431. .ant-collapse-content.ant-collapse-content-active {
  1432. .ant-collapse-content-box {
  1433. padding: 0 0 0 30px;
  1434. background-color: transparent;
  1435. .btn-list {
  1436. width: calc(100% - 10px);
  1437. justify-content: flex-end;
  1438. padding-right: 10px;
  1439. padding-bottom: 10px;
  1440. }
  1441. }
  1442. }
  1443. }
  1444. }
  1445. .ant-row.headRow {
  1446. .ant-col:first-child {
  1447. text-align: left;
  1448. }
  1449. .ant-col:nth-child(3) {
  1450. text-align: right;
  1451. }
  1452. }
  1453. // 输入框自动填充背景色和字体颜色
  1454. input:-webkit-autofill,
  1455. textarea:-webkit-autofill,
  1456. select:-webkit-autofill,
  1457. .dialogInput:-webkit-autofill {
  1458. box-shadow: inset 0 0 0 1000px @m-grey21;
  1459. -webkit-text-fill-color: #e5e5e5;
  1460. }
  1461. input:-internal-autofill-selected {
  1462. background-color: @m-grey21 !important;
  1463. }
  1464. .login {
  1465. input:-webkit-autofill {
  1466. box-shadow: inset 0 0 0 1000px @m-white0;
  1467. }
  1468. }
  1469. .ant-checkbox-group.commonCheckboxGroup {
  1470. width: 100%;
  1471. .ant-checkbox-wrapper {
  1472. color: @m-white0;
  1473. font-size: 14px;
  1474. .ant-checkbox {
  1475. margin-right: 2px;
  1476. .ant-checkbox-inner {
  1477. background: #15202B;
  1478. border: 1px solid #2B3F52;
  1479. border-radius: 3px;
  1480. }
  1481. }
  1482. .ant-checkbox.ant-checkbox-checked {
  1483. .ant-checkbox-inner {
  1484. &::after {
  1485. border-color: #3A87F7;
  1486. }
  1487. }
  1488. &::after {
  1489. border-color: #3A87F7;
  1490. }
  1491. }
  1492. span+span {
  1493. margin-right: 15px;
  1494. color: @m-white0;
  1495. font-size: 14px;
  1496. }
  1497. }
  1498. .ant-checkbox-wrapper-disabled {
  1499. .ant-checkbox-disabled {
  1500. outline-color: #2B3F52;
  1501. .ant-checkbox-input {
  1502. color: @m-white0;
  1503. font-size: 14px;
  1504. }
  1505. .ant-checkbox-inner {
  1506. border-color: #2B3F52 !important;
  1507. }
  1508. }
  1509. }
  1510. }
  1511. .commonRadioGroup {
  1512. .ant-radio-wrapper {
  1513. color: @m-white0;
  1514. font-size: 14px;
  1515. .ant-radio {
  1516. .ant-radio-inner {
  1517. border-color:#3A87F7;
  1518. background: #15202B;
  1519. &::after {
  1520. left: 4px;
  1521. top: 4px;
  1522. width: 6px;
  1523. height: 6px;
  1524. background: #3A87F7;
  1525. border-radius: 50%;
  1526. }
  1527. }
  1528. }
  1529. }
  1530. .ant-radio-wrapper-disabled {
  1531. .ant-radio-disabled {
  1532. .ant-radio-inner {
  1533. border-color:#3A87F7 !important;
  1534. background: #15202B;
  1535. &::after {
  1536. left: 4px;
  1537. top: 4px;
  1538. width: 6px;
  1539. height: 6px;
  1540. background: #3A87F7;
  1541. border-radius: 50%;
  1542. }
  1543. }
  1544. }
  1545. span+span {
  1546. color: @m-white0;
  1547. font-size: 14px;
  1548. }
  1549. }
  1550. }
  1551. .tc {
  1552. text-align: center;
  1553. }
  1554. .checkboxGroupItem {
  1555. .ant-col.ant-form-item-control-wrapper {
  1556. max-width: calc(100% - 130px);
  1557. }
  1558. }
  1559. .ant-spin-container::after,.ant-drawer-content {
  1560. background-color: transparent;
  1561. }
  1562. .ant-layout-sider-has-trigger {
  1563. padding-bottom: 40px;
  1564. }
  1565. // 弹窗中表格内容居中
  1566. .tableContextCenter {
  1567. .dialogTable {
  1568. .ant-table-thead {
  1569. tr {
  1570. th {
  1571. text-align: center;
  1572. }
  1573. }
  1574. }
  1575. .ant-table-tbody {
  1576. tr {
  1577. td {
  1578. text-align: center;
  1579. }
  1580. }
  1581. }
  1582. }
  1583. }
  1584. .filter-check {
  1585. > span {
  1586. &:nth-of-type(2) {
  1587. color: @m-grey2;
  1588. height: 30px;
  1589. line-height: 30px;
  1590. }
  1591. }
  1592. }
  1593. .topTableHeight {
  1594. height: calc(100% - 28px);
  1595. // .srcollYTable {
  1596. // display: none;
  1597. // }
  1598. }
  1599. .topTableHeight40 {
  1600. position: relative;
  1601. height: calc(100% - 40px);
  1602. }
  1603. // 折叠底部上面左边菜单高度
  1604. .hiddenBottomLayout .layout-top .middleLayout .m-layout-left .ant-layout-sider-children ul.ant-menu.ant-menu-inline.left-menu {
  1605. height: calc(100vh - 126px);
  1606. }
  1607. // 买卖大厅
  1608. .buy-sell-market {
  1609. width: 100%;
  1610. height: 100%;
  1611. position: absolute;
  1612. z-index: 9;
  1613. left: 0;
  1614. top: 0;
  1615. background-color: @m-black1;
  1616. .buy-sell-market-title {
  1617. width: 100%;
  1618. height: 60px;
  1619. background: @m-black1;
  1620. display: inline-flex;
  1621. font-size: 14px;
  1622. position: relative;
  1623. line-height: 60px;
  1624. border-bottom: 1PX solid @m-blue0;
  1625. div {
  1626. align-self: center;
  1627. align-items: center;
  1628. }
  1629. .backIcon {
  1630. width: 52px;
  1631. line-height: 60px;
  1632. }
  1633. .titleBtn {
  1634. min-width: 90px;
  1635. height: 40px;
  1636. display: inline-flex;
  1637. .name {
  1638. background: @m-blue12;
  1639. text-align: center;
  1640. flex: 1;
  1641. padding: 0 16px;
  1642. .rounded-corners(3px, 0, 0, 3px);
  1643. color: @m-white0;
  1644. height: 40px;
  1645. line-height: 40px;
  1646. font-size: 16px;
  1647. }
  1648. .arrowRightIcon,.arrowLeftIcon {
  1649. width: 12px;
  1650. height: 40px;
  1651. background-image: url(../images/titleArrow.png);
  1652. background-position: 0 0;
  1653. background-repeat: no-repeat;
  1654. }
  1655. .arrowLeftIcon {
  1656. background-position: -12px 0;
  1657. }
  1658. }
  1659. .titleBtn2 {
  1660. .name {
  1661. .rounded-corners(0);
  1662. }
  1663. }
  1664. .titleBtn3 {
  1665. .name {
  1666. .rounded-corners(0, 5px, 5px, 0);
  1667. }
  1668. margin-right: 20px;
  1669. }
  1670. .numBlock {
  1671. display: inline-flex;
  1672. white-space: nowrap;
  1673. .first {
  1674. font-size: 14px;
  1675. }
  1676. .last {
  1677. font-size: 18px;
  1678. margin-left: 10px;
  1679. }
  1680. }
  1681. .numBlock+.numBlock {
  1682. margin-left: 25px;
  1683. }
  1684. .market {
  1685. margin-left: 28px;
  1686. min-width: 160px;
  1687. height: 40px;
  1688. display: inline-flex;
  1689. background: @m-blue3;
  1690. border: 1px solid @m-blue13;
  1691. .rounded-corners(3px);
  1692. color: @m-grey2;
  1693. padding: 0 14px;
  1694. > div {
  1695. align-self: center;
  1696. align-items: center;
  1697. }
  1698. .first {
  1699. font-size: 14px;
  1700. }
  1701. .last {
  1702. font-size: 18px;
  1703. margin-left: 10px;
  1704. margin-right: 10px;
  1705. }
  1706. .red {
  1707. color: @m-red1;
  1708. }
  1709. }
  1710. .ant-btn {
  1711. align-items: center;
  1712. align-self: center;
  1713. }
  1714. .publishBuy.ant-btn {
  1715. min-width: 80px;
  1716. height: 30px;
  1717. line-height: 30px;
  1718. background: linear-gradient(0deg, @m-blue2, @m-blue0);
  1719. .rounded-corners(3px);
  1720. font-size: 14px;
  1721. color: @m-white0;
  1722. text-align: center;
  1723. border: none;
  1724. margin-left: 10px;
  1725. &:hover {
  1726. background: linear-gradient(0deg, @m-blue2-hover, @m-blue0-hover);
  1727. color: @m-white0-hover;
  1728. }
  1729. }
  1730. .detailBtn.ant-btn {
  1731. min-width: 80px;
  1732. height: 30px;
  1733. line-height: 30px;
  1734. background: linear-gradient(0deg, @m-grey12 0%, @m-grey13 100%);
  1735. .rounded-corners(3px);
  1736. font-size: 14px;
  1737. color: @m-white0;
  1738. text-align: center;
  1739. border: none;
  1740. &:hover {
  1741. background: linear-gradient(0deg, @m-grey12-hover 0%, @m-grey13-hover 100%);
  1742. color: @m-white0-hover;
  1743. }
  1744. }
  1745. .ant-btn+.ant-btn {
  1746. margin-left: 10px;
  1747. }
  1748. }
  1749. }
  1750. // 买卖大厅表格
  1751. .buyHallTable,.sellHallTable {
  1752. .ant-table {
  1753. width: 100%;
  1754. table {
  1755. border: 0;
  1756. }
  1757. .ant-table-thead {
  1758. tr {
  1759. box-shadow: 0px 1px 0px 0px #2E3539;
  1760. th {
  1761. line-height: 34px;
  1762. background: @m-black8;
  1763. padding-top: 0;
  1764. padding-bottom: 0;
  1765. color: @m-grey17;
  1766. font-size: 14px;
  1767. border-right: 1px solid @m-black10;
  1768. border-bottom: 1px solid @m-black10;
  1769. white-space: nowrap;
  1770. text-overflow: ellipsis;
  1771. overflow: hidden;
  1772. }
  1773. }
  1774. }
  1775. .ant-table-tbody {
  1776. tr {
  1777. td {
  1778. height: 43px;
  1779. line-height: 43px;
  1780. padding: 0 8px;
  1781. border-right: 1px solid @m-black10;
  1782. border-bottom: 1px solid @m-black10;
  1783. font-size: 16px;
  1784. color: @m-grey17;
  1785. white-space: nowrap;
  1786. text-overflow: ellipsis;
  1787. overflow: hidden;
  1788. }
  1789. td:not(:first-child) {
  1790. background: rgba(@m-green0, .1);
  1791. color: @m-white1;
  1792. }
  1793. }
  1794. tr.ant-table-expanded-row:hover { //tr.ant-table-expanded-row,
  1795. td {
  1796. background-color: @m-black2;
  1797. }
  1798. }
  1799. tr.ant-table-expanded-row {
  1800. td {
  1801. text-align: right;
  1802. }
  1803. }
  1804. }
  1805. .ant-table-placeholder {
  1806. border: 0;
  1807. background: @m-black2;
  1808. }
  1809. }
  1810. }
  1811. .sellHallTable {
  1812. .ant-table {
  1813. .ant-table-tbody {
  1814. tr {
  1815. td:not(:first-child) {
  1816. background: rgba(@m-red1, .1);
  1817. }
  1818. }
  1819. }
  1820. }
  1821. }
  1822. // 表单里面的内容
  1823. .formBar {
  1824. ::v-deep.formProgress {
  1825. width: 140px;
  1826. // height: 3px;
  1827. // .rounded-corners(2px);
  1828. margin-left: 70px;
  1829. .ant-progress-outer {
  1830. margin-right: 0;
  1831. padding-right: 0;
  1832. .ant-progress-inner {
  1833. background: @m-grey14;
  1834. .rounded-corners(2px);
  1835. .ant-progress-bg {
  1836. height: 3px !important;
  1837. border-radius: 2px !important;
  1838. background-color: @m-blue0;
  1839. }
  1840. }
  1841. }
  1842. .ant-progress-text {
  1843. display: none;
  1844. }
  1845. }
  1846. .listedBtn {
  1847. width: 120px;
  1848. height: 30px;
  1849. line-height: 30px;
  1850. background: linear-gradient(0deg, @m-blue2 0%, @m-blue0 100%);
  1851. border-radius: 3px;
  1852. color: @m-white0;
  1853. font-size: 14px;
  1854. text-align: center;
  1855. border: 0;
  1856. &:hover {
  1857. background: linear-gradient(0deg, @m-blue0-hover 0%, @m-blue2-hover 100%);
  1858. color: @m-white0-hover;
  1859. }
  1860. }
  1861. .cancelBtn:extend(.listedBtn) {
  1862. background: linear-gradient(0deg, @m-grey12 0%, @m-grey13 100%);
  1863. &:hover {
  1864. background: linear-gradient(0deg, @m-grey12-hover 0%, @m-grey13-hover 100%);
  1865. color: @m-white0-hover;
  1866. }
  1867. }
  1868. }