| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476 |
- // 公共的mixin混入(可以把重复的样式封装为mixin 混入到复用的地方)
- // .iconBg(@width: 3rem, @height: 3rem, @bgUrl: 'icons.png') {
- // /*图片背景,大小作为参数传递,默认是30*30*/
- // display: inline-block;
- // width: @width;
- // height: @height;
- // cursor: pointer;
- // background-image: url('../images/@{bgUrl}');
- // background-color: transparent;
- // }
- .position(@position: static, @top: auto, @right: auto, @bottom: auto, @left: auto) {
- // 定位方式
- position: @position;
- top: @top;
- right: @right;
- bottom: @bottom;
- left: @left;
- }
- .boxShadow(@color, @xWdh, @yWdh, @wdh) {
- box-shadow: @color @xWdh @yWdh @wdh;
- -webkit-box-shadow: @color @xWdh @yWdh @wdh;
- -moz-box-shadow: @color @xWdh @yWdh @wdh;
- }
- .link-colors(@normal: @black-color, @hover-color: @hover-color, @visited: @black-color) {
- /*a标签经过以及访问颜色变化混合器*/
- color: @normal;
- &:hover {
- color: @hover-color;
- }
- &:visited {
- color: @visited;
- }
- }
- .rounded-corners(@border-radius: 5px, @border-radius1: @border-radius, @border-radius2: @border-radius, @border-radius3: @border-radius) {
- /*圆角兼容性*/
- -moz-border-radius: @border-radius @border-radius1 @border-radius2 @border-radius3;
- -webkit-border-radius: @border-radius @border-radius1 @border-radius2 @border-radius3;
- border-radius: @border-radius @border-radius1 @border-radius2 @border-radius3;
- }
- // 线性渐变
- .linearGradient(@point, @start, @stop) {
- background-color: @stop;
- background: linear-gradient(@point, @start, @stop);
- background: -moz-linear-gradient(@point, @start, @stop);
- background: -webkit-linear-gradient(@point, @start, @stop);
- }
- .transition-animation(@property: all, @duration: 0.2s, @timing-function: linear) {
- /*过渡动画*/
- transition: @property @duration @timing-function;
- -webkit-transition: @property @duration @timing-function;
- -moz-transition: @property @duration @timing-function;
- }
- .borderStyle(@width: 1px, @style: solid, @color: @m-black16) {
- border: @width @style @color;
- }
- .resetElement(@border: 0, @background: transparent, @radius: 0) {
- border: @border;
- background-color: @background;
- border-radius: @radius;
- }
- /* 定制宽高按钮 */
- .btn(@width: @width, @height: @height) {
- width: @width;
- height: @height;
- line-height: @height;
- cursor: pointer;
- }
- // flex弹性布局兼容性
- .flex {
- display: -webkit-box;
- /* Chrome 4+, Safari 3.1, iOS Safari 3.2+ */
- display: -moz-box;
- /* Firefox 17- */
- display: -webkit-flex;
- /* Chrome 21+, Safari 6.1+, iOS Safari 7+, Opera 15/16 */
- display: -moz-flex;
- /* Firefox 18+ */
- display: -ms-flexbox;
- /* IE 10 */
- display: flex;
- /* Chrome 29+, Firefox 22+, IE 11+, Opera 12.1/17/18, Android 4.4+ */
- }
- // 行内flex 弹性布局兼容性
- .inlineflex {
- display: -webkit-inline-box;
- /* Chrome 4+, Safari 3.1, iOS Safari 3.2+ */
- display: -moz-inline-box;
- /* Firefox 17- */
- display: -webkit-inline-flex;
- /* Chrome 21+, Safari 6.1+, iOS Safari 7+, Opera 15/16 */
- display: -moz-inline-flex;
- /* Firefox 18+ */
- display: -ms-inline-flexbox;
- /* IE 10 */
- display: inline-flex;
- /* Chrome 29+, Firefox 22+, IE 11+, Opera 12.1/17/18, Android 4.4+ */
- }
- // 行内元素span强转块元素
- .specailSpan(@width: 50%, @height: 2.6rem) {
- display: inline-block;
- text-align: center;
- float: left;
- width: @width;
- height: @height;
- line-height: @height;
- cursor: pointer;
- }
- .inputStyle(@height: 2.8rem, @fontSize: 1.3rem) {
- height: @height;
- line-height: @height;
- border-color: @money-border-color;
- color: @black-color;
- font-size: @fontSize;
- @if @skin =='black' {
- background-color: transparent;
- }
- @else if @skin =='white' {
- background-color: @white-color;
- }
- }
- .ellipse {
- // 一行显示,超过显示省略号
- white-space: nowrap;
- text-overflow: ellipsis;
- overflow: hidden;
- }
- .nowrap {
- white-space: nowrap;
- }
- .dateInputStyle(@width: 12rem, @height: 2.2rem, @fontSize: 1.3rem) {
- width: @width;
- height: @height;
- line-height: @height;
- @if @skin =='black' {
- background-color: transparent;
- }
- @else if @skin =='white' {
- background-color: @white-color;
- }
- border-color: @money-border-color;
- font-size: @fontSize;
- }
- .submitBtnStyle(@width: 12rem, @height: 2.8rem, @fontSize: 1.4rem, @rounded: 2px) {
- width: @width;
- height: @height;
- line-height: @height;
- padding: 0;
- color: @white-color;
- background-color: @hover-color;
- border-color: @hover-color;
- font-size: @fontSize;
- .rounded-corners(@rounded);
- }
- .resetBtnStyle(@width: 7rem, @height: 2.2rem, @fontSize: 1.3rem, @rounded: 2px) {
- width: @width;
- height: @height;
- line-height: @height;
- padding: 0;
- color: @hover-color;
- background-color: transparent;
- border-color: @hover-color;
- font-size: @fontSize;
- .rounded-corners(@rounded);
- }
- .ant-input {
- &::placeholder {
- color: @m-grey10;
- }
- }
- .commonInput {
- background: @m-grey21;
- border: 1px solid @m-grey14;
- border-radius: 3px;
- color: @m-white1;
- .ant-input {
- color: @m-white1;
- background: transparent;
- }
- .ant-input-suffix {
- color: @m-grey41;
- margin-left: 0;
- position: absolute;
- right: 5px;
- }
- &:hover,
- &:focus {
- border-color: @m-blue10;
- }
- }
- .dialogTableInput {
- border: 0;
- margin-top: 5px;
- }
- .tableConditionInput {
- width: 140px;
- height: 30px;
- line-height: 30px;
- background: @m-grey9;
- .rounded-corners(3px);
- border: 0;
- color: @m-white1;
- font-size: 14px;
- }
- .tableConditionInput+.tableConditionInput {
- margin-left: 10px;
- }
- .ant-select-dropdown {
- background: @m-grey22;
- border: 1PX solid @m-grey23;
- box-shadow: 0px 10px 10px 0px @m-black18;
- border-radius: 5px;
- .ant-select-item {
- color: @m-grey1;
- }
- .ant-select-item-option-active,
- .ant-select-item-option-selected,
- .ant-select-item-option-hover {
- background: @m-blue0;
- color: @m-white8;
- }
- }
- .srcollYTable {
- .ant-table {
- width: 100%;
- table {
- border: 0;
- }
- .ant-table-thead {
- tr {
- box-shadow: 0px 1px 0px 0px @m-black17;
- th {
- line-height: 26px;
- background: @m-black34;
- padding-top: 0;
- padding-bottom: 0;
- color: @m-grey17;
- font-size: 14px;
- border-right: 1px solid @m-black9;
- border-bottom: 1px solid @m-black9;
- }
- }
- }
- .ant-table-tbody {
- tr {
- td {
- height: 30px;
- line-height: 30px;
- padding: 0 8px;
- border-right: 1px solid @m-black9;
- border-bottom: 1px solid @m-black9;
- font-size: 14px;
- color: @m-white1;
- }
- }
- tr.ant-table-expanded-row:hover {
- //tr.ant-table-expanded-row,
- td {
- background-color: @m-blue3;
- }
- }
- tr.ant-table-expanded-row {
- td {
- text-align: right;
- }
- }
- }
- .ant-table-placeholder {
- border: 0;
- background: @m-black2;
- min-height: 190px;
- }
- }
- .ant-table-row-expand-icon {
- border-color: @m-grey17;
- background-color: transparent;
- color: @m-grey17;
- }
- .operBtn.ant-btn {
- margin-top: 0;
- margin-bottom: 0;
- height: 26px;
- line-height: 26px;
- }
- }
- // 左边菜单展开后 表格展开行操作按钮显示在最右侧
- .expandLeftTable {
- .ant-table {
- .ant-table-content {
- .ant-table-tbody {
- .ant-table-expanded-row {
- width: calc(100vw - 160px);
- }
- }
- }
- }
- }
- // 上面表格样式
- .topTable {
- .ant-table {
- width: 100%;
- table {
- border: 0;
- }
- .ant-table-thead {
- tr {
- box-shadow: 0px 1px 0px 0px @m-black17;
- th {
- line-height: 34px;
- background: @m-black8;
- padding-top: 0;
- padding-bottom: 0;
- color: @m-grey17;
- font-size: 14px;
- border-right: 1px solid @m-black9;
- border-bottom: 1px solid @m-black9;
- // white-space: nowrap;
- // text-overflow: ellipsis;
- // overflow: hidden;
- }
- }
- }
- .ant-table-tbody {
- tr {
- td {
- height: 34px;
- line-height: 34px;
- padding: 0 8px;
- border-right: 1px solid @m-black9;
- border-bottom: 1px solid @m-black9;
- font-size: 16px;
- color: @m-white1;
- // white-space: nowrap;
- // text-overflow: ellipsis;
- // overflow: hidden;
- }
- }
- tr.ant-table-expanded-row:hover {
- //tr.ant-table-expanded-row,
- td {
- background-color: @m-blue3;
- }
- }
- tr.ant-table-expanded-row {
- td {
- text-align: right;
- }
- }
- }
- .ant-table-placeholder {
- border: 0;
- background: @m-black2;
- }
- }
- .ant-table-row-expand-icon {
- border-color: @m-grey17;
- background-color: transparent;
- color: @m-grey17;
- }
- .operBtn.ant-btn {
- margin-top: 0;
- margin-bottom: 0;
- height: 26px;
- line-height: 26px;
- }
- }
- // 展开行操作按钮显示问题
- .topOrderTable {
- .ant-table {
- width: 100%;
- table {
- border: 0;
- }
- .ant-table-thead {
- tr {
- box-shadow: 0px 1px 0px 0px @m-black17;
- th {
- line-height: 34px;
- background: @m-black8;
- padding-top: 0;
- padding-bottom: 0;
- color: @m-grey17;
- font-size: 14px;
- border-right: 1px solid @m-black9;
- border-bottom: 1px solid @m-black9;
- white-space: nowrap;
- text-overflow: ellipsis;
- overflow: hidden;
- }
- }
- }
- .ant-table-tbody {
- tr {
- td {
- height: 34px;
- line-height: 34px;
- padding: 0 8px;
- border-right: 1px solid @m-black9;
- border-bottom: 1px solid @m-black9;
- font-size: 16px;
- color: @m-white1;
- white-space: nowrap;
- text-overflow: ellipsis;
- overflow: hidden;
- }
- }
- tr.ant-table-expanded-row:hover {
- //tr.ant-table-expanded-row,
- td {
- background-color: @m-blue3;
- }
- }
- tr.ant-table-expanded-row {
- td {
- text-align: right;
- }
- td:last-child {
- position: relative;
- .btn-list {
- position: absolute;
- left: calc(100vw - 530px);
- top: 4px;
- width: 300px;
- text-align: right;
- .operBtn.ant-btn {
- margin-top: 0;
- margin-bottom: 0;
- height: 26px;
- line-height: 26px;
- }
- }
- }
- }
- }
- .ant-table-placeholder {
- border: 0;
- background: @m-black2;
- }
- }
- .ant-table-row-expand-icon {
- border-color: @m-grey17;
- background-color: transparent;
- color: @m-grey17;
- }
- }
- // 折叠菜单后右侧表格中展开后操作按钮的位置
- .collapsed {
- .topOrderTable {
- .ant-table {
- .ant-table-tbody {
- tr.ant-table-expanded-row {
- td:last-child {
- .btn-list {
- left: calc(100vw - 430px);
- }
- }
- }
- }
- }
- }
- }
- // 弹窗表格
- .dialogTable {
- .ant-table {
- width: 100%;
- background: transparent;
- table {
- border: 1px solid @m-grey20;
- border-radius: 0;
- }
- .ant-table-thead {
- tr {
- box-shadow: 0px 1px 0px 0px @m-black17;
- th {
- line-height: 36px;
- background: @m-grey11;
- padding-top: 0;
- padding-bottom: 0;
- color: @m-grey2;
- font-size: 16px;
- border-right: 1px solid @m-grey20;
- border-bottom: 1px solid @m-grey20;
- white-space: nowrap;
- text-overflow: ellipsis;
- overflow: hidden;
- }
- }
- }
- .ant-table-tbody {
- tr {
- td {
- height: 36px;
- line-height: 36px;
- padding: 0 8px;
- border-right: 1px solid @m-grey20;
- border-bottom: 1px solid @m-grey20;
- font-size: 14px;
- color: @m-white1;
- white-space: nowrap;
- text-overflow: ellipsis;
- overflow: hidden;
- background: @m-grey11;
- }
- }
- }
- .ant-table-placeholder {
- border: 0;
- background: @m-grey11;
- }
- }
- }
- .dialogTable2 {
- .ant-table {
- width: 100%;
- background: transparent;
- table {
- border: 1px solid @m-black44;
- border-right: none;
- border-bottom: none;
- border-radius: 0;
- }
- .ant-table-thead {
- tr {
- box-shadow: 0px 1px 0px 0px @m-black17;
- th {
- line-height: 36px;
- background: @m-grey61;
- padding-top: 0;
- padding-bottom: 0;
- color: @m-grey60;
- font-size: 16px;
- border-right: 1px solid @m-black44;
- border-bottom: 1px solid @m-black44;
- white-space: nowrap;
- text-overflow: ellipsis;
- overflow: hidden;
- }
- }
- }
- .ant-table-tbody {
- tr {
- td {
- height: 36px;
- line-height: 36px;
- padding: 0 8px;
- border-right: 1px solid @m-black44;
- border-bottom: 1px solid @m-black44;
- font-size: 14px;
- color: @m-white11;
- white-space: nowrap;
- text-overflow: ellipsis;
- overflow: hidden;
- background: @m-grey62;
- }
- }
- }
- .ant-table-placeholder {
- border: 0;
- background: @m-grey11;
- }
- }
- }
- .ant-empty-normal {
- color: @m-grey17;
- }
- .ant-empty-img-simple-path,
- .ant-empty-img-simple-ellipse {
- fill: @m-grey17;
- }
- .ant-empty-img-simple-g {
- stroke: @m-grey17;
- }
- .ant-modal-wrap {
- overflow: hidden;
- }
- .add-custom,
- .commonModal {
- top: 0;
- max-height: 100%;
- padding-bottom: 0;
- .ant-modal-content {
- background: @m-grey11;
- border-radius: 5px;
- height: 100%;
- .ant-modal-close {
- .ant-modal-close-x {
- width: 40px;
- height: 40px;
- line-height: 40px;
- .ant-modal-close-icon {
- color: @m-blue11;
- }
- }
- }
- .ant-modal-header {
- height: 40px;
- background: linear-gradient(0deg, @m-blue4, @m-blue5);
- border-radius: 5px;
- padding: 0;
- text-align: center;
- border-bottom: 0;
- .ant-modal-title {
- line-height: 40px;
- font-size: 16px;
- color: @m-white0;
- }
- }
- .ant-modal-body {
- min-height: 380px;
- max-height: calc(100vh - 115px);
- overflow-y: auto;
- }
- .ant-modal-footer {
- border-top: 0;
- text-align: center;
- padding-bottom: 31px;
- height: 75px;
- .ant-btn-primary {
- width: 200px;
- height: 34px;
- line-height: 32px;
- border: 0;
- background: linear-gradient(0deg, @m-blue8 0%, @m-blue9 100%);
- border-radius: 3px;
- font-size: 16px;
- color: @m-white0;
- &:hover {
- background: linear-gradient(0deg, @m-blue8-hover 0%, @m-blue9-hover 100%);
- color: @m-white0-hover;
- }
- }
- .ant-btn.cancelBtn {
- width: 200px;
- height: 34px;
- line-height: 32px;
- border: 1px solid @m-blue10;
- border-radius: 3px;
- background: transparent;
- font-size: 16px;
- color: @m-blue10;
- margin-right: 20px;
- &:hover {
- border-color: @m-blue10-hover;
- }
- }
- }
- }
- }
- .ant-form.inlineForm {
- .ant-row.ant-form-item {
- margin-bottom: 21px;
- .ant-form-item-label {
- position: relative;
- width: 130px;
- line-height: 30px;
- text-align: left;
- label {
- color: @m-grey1;
- padding-left: 16px;
- &::after {
- content: ''
- }
- &::before {
- .position(absolute, 0, auto, auto, 0);
- font-size: 16px;
- line-height: 21px;
- color: @m-red1;
- }
- label {
- padding-left: 0;
- }
- }
- }
- .ant-form-item-control-wrapper {
- .ant-form-item-control {
- line-height: 30px;
- }
- }
- }
- .relative.ant-form-item {
- position: relative;
- // .itemTip {
- // position: absolute;
- // color: @m-grey1;
- // }
- .tip {
- position: absolute;
- font-size: 14px;
- color: @m-grey41;
- width: 100%;
- top: calc(100% + 5px);
- // div:nth-child(2){
- // margin-top: -10px;
- // }
- }
- .ant-form-item-control {
- width: 200px;
- .unit {
- float: right;
- color: @m-grey41;
- }
- .backUnit {
- position: absolute;
- right: -20px;
- top: -7px;
- line-height: 32px;
- height: 32px;
- color: @m-grey2;
- }
- }
- }
- .tc.ant-form-item {
- .ant-form-item-control-wrapper {
- margin: 0 auto;
- }
- }
- .pl40.ant-form-item {
- .ant-form-item-label {
- label {
- padding-left: 40px;
- }
- }
- }
- }
- .ant-form.dialogForm {
- height: 100%;
- .ant-row.ant-form-item {
- .ant-form-item-label {
- width: 70px;
- label {
- padding-left: 0;
- &::before {
- display: none;
- }
- }
- }
- .ant-form-item-control-wrapper {
- width: calc(100% - 70px);
- }
- }
- .btnCenter.ant-form-item {
- width: 100%;
- .ant-form-item-label {
- width: 0;
- }
- .ant-form-item-control-wrapper {
- width: 100%;
- text-align: center;
- }
- }
- }
- .ant-select-single {
- .ant-select-selector {
- height: 30px;
- padding: 0 8px;
- background: @m-grey21;
- border: 1px solid @m-blue10;
- border-radius: 3px;
- color: @m-white1;
- }
- .ant-select-arrow {
- right: 8px;
- color: @m-grey1;
- }
- }
- .inlineFormSelect.ant-select-single {
- .rounded-corners(3px);
- border: 1px solid @m-grey14;
- &:hover,
- &:focus {
- border-color: @m-blue10;
- }
- .ant-select-selector {
- height: 30px;
- padding: 0 8px;
- background: @m-grey21;
- border: 0;
- color: @m-white1;
- .ant-select-selection-placeholder {
- color: @m-grey10;
- }
- }
- .ant-select-arrow {
- right: 8px;
- color: @m-blue0 !important;
- }
- }
- .dialogTableSelect.ant-select-single {
- margin-top: 5px;
- border: 0;
- }
- .shortSelect.ant-select-single:extend(.inlineFormSelect.ant-select-single) {
- margin-right: 0;
- .ant-select-selector {
- padding: 0 5px;
- .ant-select-selection-item {
- padding-right: 14px;
- }
- }
- }
- .typeSelect.ant-select-single {
- .rounded-corners(3px);
- border: 1px solid @m-grey14;
- &:hover,
- &:focus {
- border-color: @m-blue10;
- }
- .ant-select-selector {
- height: 30px;
- padding: 0 8px;
- background: @m-grey21;
- border: 0;
- color: @m-white1;
- .ant-select-selection-placeholder {
- color: @m-grey10;
- }
- }
- .ant-select-arrow {
- right: 8px;
- color: @m-blue0;
- }
- }
- .input-enumdicname {
- color: @m-grey41;
- font-size: 14px;
- position: absolute;
- right: 5px;
- }
- .input-enumdicname-absolute {
- position: absolute;
- top: -8px;
- right: -78px;
- color: @m-grey41;
- margin-left: 5px;
- font-size: 14px;
- display: inline-block;
- min-width: 100px;
- }
- .dialogInput {
- background: @m-grey21;
- border: 1px solid @m-grey14;
- border-radius: 3px;
- color: @m-white1;
- .ant-input {
- color: @m-white1;
- background: transparent
- }
- .ant-input-suffix {
- color: @m-white1;
- }
- .ant-input-suffix {
- .ant-input-password-icon {
- color: @m-white1;
- }
- }
- &:hover,
- &:focus {
- border-color: @m-blue10;
- }
- }
- .yellowInput {
- .ant-input,
- .ant-input-number-input {
- color: @m-yellow1;
- font-size: 16px;
- text-align: center;
- }
- }
- .suffixGrey {
- .ant-input-suffix {
- color: @m-grey2;
- }
- }
- .dialogInput34.ant-input-number {
- position: relative;
- height: 34px;
- .ant-input-number-input {
- height: 34px;
- line-height: 34px;
- font-size: 16px;
- color: @m-white6;
- text-align: center;
- padding: 0 26px;
- }
- }
- .dialogInput34.ant-input-number-disabled {
- background: @m-grey52;
- .ant-input-number-input {
- color: @m-grey51;
- }
- }
- .block {
- display: block;
- }
- .formFieldSet {
- border: 1PX solid @m-grey19;
- padding: 0 20px 20px;
- legend {
- color: @m-white0;
- }
- }
- .formFieldSet+.formFieldSet {
- margin-top: 35px;
- }
- .ant-form {
- legend {
- width: auto;
- margin-left: 20px;
- font-size: 16px;
- color: @m-white0;
- border-bottom: 0;
- padding: 0 10px;
- }
- }
- .paddingDialog,
- .fieldsetDialog {
- .formFieldSet {
- legend {
- width: auto;
- margin-left: 20px;
- font-size: 16px;
- color: @m-white0;
- border-bottom: 0;
- padding: 0 10px;
- }
- }
- }
- .paddingDialog {
- .ant-modal-content {
- .ant-modal-body {
- padding: 24px;
- }
- }
- }
- // 上传
- .upload {
- display: inline-flex;
- .ant-btn.uploadBtn {
- width: 60px;
- height: 30px;
- background: @m-blue0;
- border: 0;
- padding: 0;
- text-align: center;
- font-size: 14px;
- color: @m-white0;
- .rounded-corners(3px);
- &:hover {
- background: @m-blue0-hover;
- color: @m-white0-hover;
- }
- }
- .ant-upload-list-item-info {
- .anticon-loading,
- .anticon-paper-clip {
- color: @m-white0;
- }
- .ant-upload-list-item-name {
- color: @m-white0;
- }
- .ant-upload-list-item-card-actions {
- .anticon {
- color: @m-white0;
- }
- }
- &:hover {
- background: transparent;
- .anticon-loading,
- .anticon-paper-clip {
- color: @m-blue0;
- }
- .ant-upload-list-item-name {
- color: @m-blue0;
- }
- .ant-upload-list-item-card-actions {
- .anticon {
- color: @m-blue0;
- }
- }
- }
- }
- .look {
- color: @m-blue0;
- font-size: 14px;
- margin-left: 10px;
- cursor: pointer;
- }
- }
- .fl {
- float: left;
- }
- .fr {
- float: right;
- }
- .ml8 {
- margin-left: 8px;
- }
- .ml10 {
- margin-left: 10px;
- }
- .ml15 {
- margin-left: 15px;
- }
- .ml20 {
- margin-left: 20px;
- }
- .ml35 {
- margin-left: 35px;
- }
- .ml9 {
- margin-left: 9px;
- }
- .ml5 {
- margin-left: 5px;
- }
- .mt5 {
- margin-top: 5px;
- }
- .mt10 {
- margin-top: 10px;
- }
- .mt20 {
- margin-top: 20px;
- }
- .mt25 {
- margin-top: 25px;
- }
- .mt30 {
- margin-top: 30px;
- }
- .mb40 {
- margin-bottom: 40px !important;
- }
- .mr10 {
- margin-right: 10px;
- }
- .red {
- color: @m-red0;
- }
- .red1 {
- color: @m-red1;
- }
- .grey {
- color: @m-grey2;
- }
- .grey1 {
- color: @m-grey1;
- }
- .white {
- color: @m-white6;
- }
- .blue {
- color: @m-blue0;
- }
- .green {
- color: @m-green0;
- }
- .yellow {
- color: @m-yellow0;
- }
- .orange {
- color: @m-orange0;
- }
- .selectBtn.ant-btn,
- .operBtn.ant-btn {
- margin-left: 10px;
- width: 80px;
- height: 28px;
- line-height: 29px;
- text-align: center;
- background: linear-gradient(0deg, @m-grey39 0%, @m-grey40 98%);
- border: 0;
- color: @m-white0;
- font-size: 14px;
- .rounded-corners(3px);
- &:hover,
- &:focus,
- &:active,
- &::after {
- background: linear-gradient(0deg, @m-grey39-hover 0%, @m-grey40-hover 98%);
- color: @m-white0-hover;
- border: 0;
- }
- }
- .operBtn.ant-btn {
- background: linear-gradient(0deg, @m-blue6 0%, @m-blue7 99%);
- &:hover,
- &:focus,
- &:active,
- &::after {
- background: linear-gradient(0deg, @m-blue6-hover 0%, @m-blue7-hover 99%);
- color: @m-white0-hover;
- border: 0;
- }
- }
- .ant-btn.historyBtn {
- margin-left: 10px;
- .rounded-corners(3px);
- height: 28px;
- border-color: @m-blue29;
- background: @m-blue30;
- color: @m-grey43;
- .anticon {
- color: @m-grey44;
- }
- &:hover,
- &:focus,
- &:active,
- &::after {
- border-color: @m-blue29-hover;
- background: @m-blue30-hover;
- color: @m-grey43-hover;
- .antion {
- color: @m-grey44-hover;
- }
- }
- }
- // .ant-input-affix-wrapper:focus, .ant-btn:focus {
- // box-shadow: none;
- // }
- .btnPrimary.ant-btn,
- .operBtn.ant-btn {
- margin-left: 10px;
- width: auto;
- min-width: 80px;
- height: 28px;
- line-height: 31px;
- text-align: center;
- background: linear-gradient(0deg, @m-blue6 0%, @m-blue7 99%);
- border: 0;
- color: @m-white0;
- font-size: 14px;
- .rounded-corners(3px);
- &:hover,
- &:focus {
- background: linear-gradient(0deg, @m-blue6-hover 0%, @m-blue7-hover 99%);
- color: @m-white0-hover;
- border: 0;
- }
- }
- // .operBtn.ant-btn {
- // margin-top: 9px;
- // margin-bottom: 6px;
- // }
- .ant-table-expanded-row {
- .btn-list {
- padding-right: 10px;
- text-align: right;
- }
- .btnPrimary.ant-btn {
- width: 80px;
- height: 26px;
- line-height: 27px;
- border: 0;
- background: linear-gradient(0deg, @m-blue2, @m-blue0);
- box-shadow: -1px 0px 0px 0px @m-black10;
- .rounded-corners(3px);
- &:hover,
- &:focus {
- background: linear-gradient(0deg, @m-blue2-hover 0%, @m-blue0-hover 99%);
- color: @m-white0-hover;
- border: 0;
- }
- }
- .ant-btn+.ant-btn {
- margin-left: 10px;
- }
- }
- .btnDanger.ant-btn {
- margin-left: 10px;
- width: 80px;
- height: 26px;
- line-height: 27px;
- text-align: center;
- border: 0;
- color: @m-white0;
- font-size: 14px;
- background: linear-gradient(0deg, @m-red9 0%, @m-red10 99%);
- .rounded-corners(3px);
- &:hover,
- &:focus {
- background: linear-gradient(0deg, @m-red9-hover 0%, @m-red10-hover 99%);
- color: @m-white0-hover;
- border: 0;
- }
- }
- .btnDeafault.ant-btn {
- margin-left: 10px;
- width: 80px;
- height: 26px;
- line-height: 27px;
- text-align: center;
- border: 0;
- color: @m-white0;
- font-size: 14px;
- background: linear-gradient(0deg, @m-grey12 0%, @m-grey13 100%);
- .rounded-corners(3px);
- &:hover,
- &:focus {
- background: linear-gradient(0deg, @m-grey12-hover 0%, @m-grey13-hover 99%);
- color: @m-white0-hover;
- border: 0;
- }
- }
- // .hiddenFirstCol {
- // .ant-table {
- // .ant-table-content {
- // .ant-table-scroll {
- // .ant-table-hide-scrollbar {
- // .ant-table-fixed {
- // .ant-table-thead {
- // .ant-table-expand-icon-th {
- // width: 0 !important;
- // }
- // }
- // }
- // }
- // }
- // .ant-table-body {
- // table {
- // .ant-table-thead {
- // .ant-table-expand-icon-th {
- // width: 0 !important;
- // }
- // }
- // .ant-table-tbody {
- // .ant-table-row {
- // .ant-table-row-expand-icon-cell {
- // width: 0 !important;
- // }
- // }
- // tr.ant-table-expanded-row {
- // td:first-child {
- // width: 0 !important;
- // }
- // }
- // }
- // }
- // }
- // }
- // }
- // }
- .to {
- font-size: 14px;
- color: @m-grey2;
- margin-left: -8px;
- margin-right: 2px;
- }
- .filterTable {
- display: inline-flex;
- width: calc(100% - 3px);
- padding-left: 3px;
- background: @m-black35;
- }
- .ant-row.dialogRowTitle {
- margin-left: 0 !important;
- margin-right: 0 !important;
- border: 1px solid @m-grey20;
- .ant-col {
- border-top: 1px solid @m-grey20;
- border-right: 1px solid @m-grey20;
- padding-left: 0 !important;
- padding-right: 0 !important;
- height: 34px;
- line-height: 34px;
- font-size: 16px;
- color: @m-grey2;
- .red {
- color: @m-red1;
- }
- }
- .ant-col:nth-child(1),
- .ant-col:nth-child(2),
- .ant-col:nth-child(3),
- .ant-col:nth-child(4) {
- border-top: 0;
- text-align: center;
- }
- .ant-col:last-child {
- border-right: 1px solid @m-grey20;
- }
- .bt1 {
- border-top: 1px solid @m-grey20 !important;
- }
- }
- // 日期输入框 @m-grey21
- .commonPicker.ant-calendar-picker {
- .ant-input {
- background: @m-grey21;
- border-color: @m-grey14;
- padding: 4px 8px;
- .rounded-corners(3px);
- .ant-calendar-range-picker-input {
- color: @m-white0;
- font-size: 14px;
- &::placeholder {
- color: @m-grey10;
- }
- }
- .ant-calendar-picker-clear {
- background: @m-white0;
- }
- .ant-calendar-range-picker-separator {
- font-size: 14px;
- color: @m-grey2;
- }
- }
- }
- // 日期输入框
- .commonDatePicker.ant-calendar-picker {
- .ant-input {
- background: @m-grey21;
- padding: 0 8px;
- height: 30px;
- line-height: 30px;
- color: @m-white1;
- border: 1PX solid @m-grey14;
- .rounded-corners(3px);
- }
- .ant-calendar-picker-icon {
- color: @m-grey1;
- }
- .ant-calendar-picker-clear {
- display: none;
- background: transparent;
- color: @m-grey1;
- svg {
- fill: @m-grey1;
- }
- }
- }
- .conditionPicker.ant-calendar-picker {
- .ant-input {
- border: 0;
- }
- &:focus {
- .ant-input {
- border: 0;
- }
- }
- }
- .ant-popover {
- .ant-popover-content {
- border: 1px solid @m-grey23;
- box-shadow: 0px 10px 10px 0px @m-boxShadow;
- .rounded-corners(5px);
- .ant-popover-arrow {
- border-top-color: @m-grey22;
- border-left-color: @m-grey22;
- background: @m-grey22;
- border: 1PX solid @m-grey23;
- border-bottom: 0;
- border-right: 0;
- }
- .ant-popover-inner {
- .ant-popover-inner-content {
- border-image-width: 0;
- background: @m-grey22;
- color: @m-grey1;
- padding: 5px 0;
- .popItem {
- min-width: 160px;
- padding: 0 15px;
- text-align: center;
- cursor: pointer;
- height: 30px;
- line-height: 30px;
- font-size: 15px;
- &:hover {
- color: @m-white8;
- background: @m-blue0;
- }
- }
- }
- }
- }
- }
- .ant-calendar-picker-container {
- .ant-calendar-range,
- .ant-calendar {
- background: @m-grey22;
- border-color: @m-grey22;
- .ant-calendar-panel {
- .ant-calendar-input-wrap {
- border-bottom-color: @m-grey23;
- .ant-calendar-input {
- background: transparent;
- border: 1px solid @m-grey42;
- color: @m-white0;
- &::placeholder {
- color: @m-grey1;
- }
- }
- }
- .ant-calendar-date-panel {
- // .ant-calendar-range-part {
- .ant-calendar-header {
- border-color: @m-grey42;
- .ant-calendar-prev-year-btn,
- .ant-calendar-prev-month-btn {
- color: @m-grey1;
- &::before,
- &::after {
- border-color: @m-grey2;
- }
- }
- .ant-calendar-month-select,
- .ant-calendar-year-select {
- color: @m-grey1;
- }
- }
- .ant-calendar-body {
- border-top-color: @m-grey42;
- .ant-calendar-column-header-inner {
- color: @m-grey1;
- }
- .ant-calendar-cell {
- .ant-calendar-date {
- background: transparent;
- color: @m-white6;
- }
- &:hover {
- .ant-calendar-date {
- color: @m-blue0;
- }
- }
- }
- .ant-calendar-last-day-of-month,
- .ant-calendar-next-month-btn-day {
- .ant-calendar-date {
- color: @m-white1;
- }
- }
- .ant-calendar-disabled-cell {
- .ant-calendar-date {
- color: @m-grey1;
- }
- }
- .ant-calendar-selected-day {
- .ant-calendar-date {
- color: @m-blue0;
- }
- }
- .ant-calendar-active-week {
- .ant-calendar-cell {
- .ant-calendar-date {
- background: transparent;
- }
- }
- }
- // }
- }
- .ant-calendar-range-middle {
- color: @m-white1;
- }
- }
- }
- .ant-calendar-footer {
- border-top-color: @m-grey42;
- .ant-calendar-time-picker-btn {
- color: @m-grey1;
- }
- .ant-calendar-ok-btn {
- background-color: @m-blue0;
- border-color: @m-blue0;
- color: @m-white0;
- &:hover {
- background-color: @m-blue0-hover;
- border-color: @m-blue0-hover;
- color: @m-white0-hover;
- }
- }
- }
- }
- .ant-calendar-month-calendar {
- .ant-calendar-month-calendar-content {
- .ant-calendar-month-header-wrap {
- .ant-calendar-header {
- .ant-calendar-prev-year-btn,
- .ant-calendar-prev-month-btn {
- color: @m-grey1;
- &::before,
- &::after {
- border-color: @m-grey2;
- }
- }
- .ant-calendar-month-panel-year-select {
- color: @m-grey1;
- }
- }
- .ant-calendar-month-panel-body {
- .ant-calendar-month-panel-table {
- .ant-calendar-month-panel-tbody {
- .ant-calendar-month-panel-cell {
- .ant-calendar-month-panel-month {
- color: @m-white1;
- &:hover {
- background: transparent;
- color: @m-blue0;
- }
- }
- }
- }
- }
- }
- }
- }
- .ant-calendar-month-panel {
- background: @m-grey22;
- border-color: @m-grey22;
- .ant-calendar-month-panel-header {
- border-color: @m-grey1;
- }
- }
- }
- }
- .ant-calendar-range {
- .ant-calendar-in-range-cell::before {
- background: @m-grey22-hover;
- }
- }
- .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) {
- background: @m-grey21;
- }
- .ant-modal-confirm-confirm {
- top: 50%;
- padding-bottom: 0;
- width: 300px !important;
- height: 200px;
- margin-top: -100px;
- .ant-modal-content {
- background: @m-black27;
- height: 100%;
- .rounded-corners(10px);
- .ant-modal-close {
- .ant-modal-close-x {
- width: 40px;
- height: 40px;
- line-height: 40px;
- .ant-modal-close-icon {
- color: @m-blue11;
- }
- }
- }
- .ant-modal-body {
- padding: 20px;
- .ant-modal-confirm-body-wrapper {
- .ant-modal-confirm-body {
- .ant-modal-confirm-title {
- color: @m-blue0;
- text-align: center;
- font-size: 20px;
- }
- .ant-modal-confirm-content {
- color: @m-white0;
- font-size: 16px;
- margin-top: 25px;
- text-align: center;
- }
- }
- .ant-modal-confirm-btns {
- float: none;
- text-align: center;
- margin-top: 20px;
- .ant-btn {
- width: 120px;
- height: 30px;
- line-height: 28px;
- border-radius: 3px;
- background: linear-gradient(0deg, @m-grey12 0%, @m-grey13 100%);
- font-size: 16px;
- color: @m-white0;
- margin-right: 20px;
- border: 0;
- &:hover {
- background: linear-gradient(0deg, @m-grey12-hover 0%, @m-grey13-hover 100%);
- color: @m-white0-hover;
- }
- }
- .ant-btn-primary {
- width: 120px;
- height: 30px;
- line-height: 28px;
- border: 0;
- background: linear-gradient(0deg, @m-blue2 0%, @m-blue0 100%);
- border-radius: 3px;
- font-size: 16px;
- color: @m-white0;
- margin-right: 0;
- margin-left: 0;
- &:hover {
- background: linear-gradient(0deg, @m-blue2-hover 0%, @m-blue0-hover 100%);
- color: @m-white0-hover;
- }
- }
- }
- }
- }
- }
- }
- .tltLeft {
- font-size: 16px;
- text-align: left;
- .icon {
- font-size: 20px;
- fill: @m-blue0;
- margin-right: 10px;
- }
- }
- .ant-collapse.spotCollapse.ant-collapse-borderless {
- margin-top: 10px;
- background-color: transparent;
- .ant-collapse-item {
- border-bottom: 0;
- .ant-collapse-header {
- color: @m-grey17;
- font-size: 14px;
- border-bottom: 1px solid @m-grey18;
- padding: 10px 8px 10px 44px;
- height: 43px;
- .ant-collapse-arrow {
- fill: @m-grey17;
- width: 16px;
- height: 16px;
- font-size: 16px;
- left: 0;
- }
- }
- .ant-collapse-content {
- .ant-collapse-content-box {
- padding: 0 0 0 30px;
- background-color: transparent;
- .ant-row.contRow {
- width: 100%;
- height: 40px;
- line-height: 40px;
- font-size: 16px;
- color: @m-white1;
- margin-bottom: 10px;
- background: @m-black15;
- border: 1px solid @m-blue3;
- border-radius: 3px;
- padding-left: 14px;
- padding-right: 12px;
- .ant-col:last-child {
- text-align: right;
- }
- .ant-col:first-child {
- text-align: left;
- }
- }
- .contRow:first-child {
- margin-top: 9px;
- }
- .contRow:last-child {
- margin-bottom: 20px;
- }
- }
- }
- }
- }
- .ant-collapse.busyCollapse.ant-collapse-borderless {
- margin-top: 10px;
- background: @m-black15;
- border: 1px solid @m-blue3;
- .rounded-corners(3px);
- .ant-collapse-item {
- border-bottom: 0;
- .ant-collapse-header {
- color: @m-grey17;
- font-size: 14px;
- border-bottom: 0;
- padding: 0;
- line-height: 43px;
- .ant-collapse-arrow {
- fill: @m-grey17;
- width: 16px;
- height: 16px;
- font-size: 16px;
- left: 0;
- }
- .ant-row.contRow {
- width: 100%;
- // height: 40px;
- line-height: 40px;
- font-size: 16px;
- color: @m-white1;
- margin-bottom: 10px;
- // background: @m-black15;
- border: 0 !important;
- // border-radius: 3px;
- padding-left: 14px;
- padding-right: 12px;
- .ant-col:last-child {
- text-align: right;
- }
- .ant-col:first-child {
- text-align: left;
- }
- }
- .contRow:first-child {
- margin-top: 0 !important;
- }
- .contRow:last-child {
- margin-bottom: 0 !important;
- }
- }
- .ant-collapse-content {
- .ant-collapse-content-box {
- padding: 0 0 0 30px;
- background-color: transparent;
- .btn-list {
- width: calc(100% - 10px);
- justify-content: flex-end;
- padding-right: 10px;
- padding-bottom: 10px;
- }
- }
- }
- }
- }
- .ant-row.headRow {
- .ant-col:first-child {
- text-align: left;
- }
- .ant-col:nth-child(3) {
- text-align: right;
- }
- }
- .ant-collapse.futureCollapse.ant-collapse-borderless {
- background: transparent;
- .ant-collapse-item {
- margin-top: 10px;
- background: @m-black15;
- border: 1px solid @m-blue3;
- .rounded-corners(3px);
- .ant-collapse-header {
- color: @m-grey17;
- font-size: 14px;
- border-bottom: 0;
- padding: 0;
- line-height: 43px;
- .ant-collapse-arrow {
- fill: @m-grey17;
- width: 16px;
- height: 16px;
- font-size: 16px;
- left: 0;
- }
- .ant-row.contRow {
- width: 100%;
- // height: 40px;
- line-height: 40px;
- font-size: 16px;
- color: @m-white1;
- margin-bottom: 10px;
- // background: @m-black15;
- border: 0 !important;
- // border-radius: 3px;
- padding-left: 14px;
- padding-right: 12px;
- .ant-col:last-child {
- text-align: right;
- }
- .ant-col:first-child {
- text-align: left;
- }
- }
- .contRow:first-child {
- margin-top: 0 !important;
- }
- .contRow:last-child {
- margin-bottom: 0 !important;
- }
- }
- .ant-collapse-content {
- .ant-collapse-content-box {
- padding: 0 0 0 30px;
- background-color: transparent;
- .btn-list {
- width: calc(100% - 10px);
- justify-content: flex-end;
- padding-right: 10px;
- padding-bottom: 10px;
- .operBtn.ant-btn {
- margin-top: 0;
- margin-bottom: 0;
- height: 26px;
- line-height: 26px;
- }
- }
- }
- }
- }
- }
- // 输入框自动填充背景色和字体颜色
- input:-webkit-autofill,
- textarea:-webkit-autofill,
- select:-webkit-autofill,
- .dialogInput:-webkit-autofill {
- box-shadow: inset 0 0 0 1000px @m-grey21;
- -webkit-text-fill-color: @m-white1;
- }
- .dialogSpan {
- color: @m-white1;
- }
- input:-internal-autofill-selected {
- background-color: @m-grey21 !important;
- }
- .login {
- input:-webkit-autofill {
- box-shadow: inset 0 0 0 1000px @m-white0;
- }
- }
- .ant-checkbox-group.commonCheckboxGroup {
- width: 100%;
- .ant-checkbox-wrapper {
- color: @m-white0;
- font-size: 14px;
- .ant-checkbox {
- margin-right: 2px;
- .ant-checkbox-inner {
- background: @m-grey21;
- border: 1px solid @m-grey14;
- border-radius: 3px;
- }
- }
- .ant-checkbox.ant-checkbox-checked {
- .ant-checkbox-inner {
- &::after {
- border-color: @m-blue0;
- }
- }
- &::after {
- border-color: @m-blue0;
- }
- }
- span+span {
- margin-right: 15px;
- color: @m-white0;
- font-size: 14px;
- }
- }
- .ant-checkbox-wrapper-disabled {
- .ant-checkbox-disabled {
- outline-color: @m-grey14;
- .ant-checkbox-input {
- color: @m-white0;
- font-size: 14px;
- }
- .ant-checkbox-inner {
- border-color: @m-grey14 !important;
- }
- }
- }
- }
- .commonRadioGroup {
- .ant-radio-wrapper {
- color: @m-white0;
- font-size: 14px;
- .ant-radio {
- .ant-radio-inner {
- border-color: @m-blue0;
- background: @m-grey21;
- &::after {
- left: 4px;
- top: 4px;
- width: 6px;
- height: 6px;
- background: @m-blue0;
- border-radius: 50%;
- }
- }
- }
- }
- .ant-radio-wrapper-disabled {
- .ant-radio-disabled {
- .ant-radio-inner {
- border-color: @m-blue0 !important;
- background: @m-grey21;
- &::after {
- left: 4px;
- top: 4px;
- width: 6px;
- height: 6px;
- background: @m-blue0;
- border-radius: 50%;
- }
- }
- }
- span+span {
- color: @m-white0;
- font-size: 14px;
- }
- }
- }
- .tc {
- text-align: center;
- }
- .checkboxGroupItem {
- .ant-col.ant-form-item-control-wrapper {
- max-width: calc(100% - 130px);
- }
- }
- .ant-spin-container::after,
- .ant-drawer-content {
- background-color: transparent;
- }
- .ant-layout-sider-has-trigger {
- padding-bottom: 40px;
- }
- // 弹窗中表格内容居中
- .tableContextCenter {
- .dialogTable {
- .ant-table-thead {
- tr {
- th {
- text-align: center;
- }
- }
- }
- .ant-table-tbody {
- tr {
- td {
- text-align: center;
- }
- }
- }
- }
- }
- .filter-check {
- >span {
- &:nth-of-type(2) {
- color: @m-grey2;
- height: 30px;
- line-height: 30px;
- }
- }
- }
- .topTableHeight {
- height: calc(100% - 28px);
- }
- .topTableHeight40 {
- height: calc(100% - 35px);
- }
- // 折叠底部上面左边菜单高度
- .hiddenBottomLayout .layout-top .middleLayout .m-layout-left .ant-layout-sider-children ul.ant-menu.ant-menu-inline.left-menu {
- height: calc(100vh - 126px);
- }
- // 买卖大厅
- .buy-sell-market {
- width: 100%;
- height: 100%;
- position: absolute;
- z-index: 9;
- left: 0;
- top: 0;
- background-color: @m-black1;
- .buy-sell-market-title {
- width: 100%;
- height: 40px;
- background: @m-black1;
- display: inline-flex;
- font-size: 14px;
- position: relative;
- line-height: 40px;
- border-bottom: 1PX solid @m-blue0;
- padding-bottom: 2px;
- div {
- align-self: center;
- align-items: center;
- // height: 40px;
- // line-height: 40px;
- }
- .backIcon {
- width: 52px;
- line-height: 40px;
- }
- .titleBtn {
- min-width: 90px;
- height: 32px;
- display: inline-flex;
- .name {
- background: @m-blue12;
- text-align: center;
- flex: 1;
- padding: 0 16px;
- .rounded-corners(3px, 0, 0, 3px);
- color: @m-white9;
- height: 32px;
- line-height: 32px;
- font-size: 14px;
- }
- .arrowRightIcon,
- .arrowLeftIcon {
- width: 12px;
- height: 32px;
- background-image: @m-arrowRight;
- background-position: 0 0;
- background-repeat: no-repeat;
- }
- .arrowLeftIcon {
- background-position: -12px 0;
- }
- }
- .titleBtn2 {
- .name {
- .rounded-corners(0);
- }
- }
- .titleBtn3 {
- position: relative;
- .name {
- .rounded-corners(0, 5px, 5px, 0);
- }
- margin-right: 20px;
- .anticon {
- font-size: 16px;
- color: @m-grey1;
- .position(absolute, auto, 16px, 0, auto);
- line-height: 28px;
- z-index: 2;
- }
- }
- .numBlock {
- display: inline-flex;
- white-space: nowrap;
- text-align: left;
- min-width: 80px;
- margin-left: 15px;
- .first {
- font-size: 14px;
- }
- .last {
- font-size: 14px;
- margin-left: 10px;
- }
- }
- .numBlock+.numBlock {
- margin-left: 25px;
- }
- .market {
- margin-left: 28px;
- min-width: 160px;
- height: 40px;
- display: inline-flex;
- background: @m-blue3;
- border: 1px solid @m-blue13;
- .rounded-corners(3px);
- color: @m-grey2;
- padding: 0 14px;
- >div {
- align-self: center;
- align-items: center;
- }
- .first {
- font-size: 14px;
- }
- .last {
- font-size: 18px;
- margin-left: 10px;
- margin-right: 10px;
- }
- .red {
- color: @m-red1;
- }
- }
- .ant-btn {
- align-items: center;
- align-self: center;
- }
- .publishBuy.ant-btn {
- min-width: 80px;
- height: 30px;
- line-height: 30px;
- background: linear-gradient(0deg, @m-blue2, @m-blue0);
- .rounded-corners(3px);
- font-size: 14px;
- color: @m-white0;
- text-align: center;
- border: none;
- margin-left: 10px;
- &:hover {
- background: linear-gradient(0deg, @m-blue2-hover, @m-blue0-hover);
- color: @m-white0-hover;
- }
- }
- .detailBtn.ant-btn {
- min-width: 80px;
- height: 30px;
- line-height: 30px;
- background: linear-gradient(0deg, @m-grey12 0%, @m-grey13 100%);
- .rounded-corners(3px);
- font-size: 14px;
- color: @m-white0;
- text-align: center;
- border: none;
- &:hover {
- background: linear-gradient(0deg, @m-grey12-hover 0%, @m-grey13-hover 100%);
- color: @m-white0-hover;
- }
- }
- .ant-btn+.ant-btn {
- margin-left: 10px;
- }
- .btn-list {
- position: absolute;
- right: 10px;
- .operBtn.ant-btn {
- margin-top: 0;
- margin-bottom: 0;
- }
- }
- }
- }
- .bdf1 {
- border-left: 1PX solid @m-grey31;
- }
- // 上半部分表格高度
- .topTableHeight {
- .srcollYTable {
- .ant-table {
- .ant-table-body {
- min-height: calc(100vh - 378px);
- max-height: calc(100vh - 378px);
- background: @m-black2;
- }
- .ant-table-placeholder {
- height: calc(100vh - 378px);
- .ant-empty.ant-empty-normal {
- margin: 0;
- }
- }
- }
- }
- .srcollYTableNoBottom {
- .ant-table {
- .ant-table-body {
- min-height: calc(100vh - 138px);
- max-height: calc(100vh - 138px);
- }
- .ant-table-placeholder {
- height: calc(100vh - 138px);
- }
- }
- }
- .noPlaceHolder {
- .ant-table-placeholder {
- display: none;
- }
- }
- .hasPlaceHolder {
- .ant-table-placeholder {
- .position(absolute, 28px, auto, auto, 50%);
- margin-left: -56px;
- }
- }
- }
- // 下半部分表格高度
- .layout-bottom {
- .srcollYTable {
- .ant-table {
- .ant-table-tbody {
- min-height: 190px;
- background: @m-black33;
- }
- }
- }
- }
- // 上半部分表格带二级tab筛选
- .topTableHeight {
- .secondTabTable {
- .ant-table {
- .ant-table-body {
- min-height: calc(100vh - 407px);
- max-height: calc(100vh - 407px);
- background: @m-black2;
- }
- .ant-table-placeholder {
- height: calc(100vh - 407px);
- }
- }
- }
- .secondTabTableNoBottom {
- .ant-table {
- .ant-table-body {
- min-height: calc(100vh - 167px);
- max-height: calc(100vh - 167px);
- background: @m-black2;
- }
- .ant-table-placeholder {
- height: calc(100vh - 167px);
- }
- }
- }
- }
- // 上半部分表格带二级tab筛选带筛选条件
- .topTableHeight {
- .condSecondTabTable {
- .ant-table {
- .ant-table-body {
- min-height: calc(100vh - 443px);
- max-height: calc(100vh - 443px);
- background: @m-black2;
- }
- .ant-table-placeholder {
- height: calc(100vh - 443px);
- }
- }
- }
- .condSecondTabTableNoBottom {
- .ant-table {
- .ant-table-body {
- min-height: calc(100vh - 196px);
- max-height: calc(100vh - 196px);
- background: @m-black2;
- }
- .ant-table-placeholder {
- height: calc(100vh - 196px);
- }
- }
- }
- .condSecondTabTableHalfTop {
- .ant-table {
- .ant-table-body {
- min-height: calc((100vh - 443px)/2 - 13px);
- max-height: calc((100vh - 443px)/2 - 13px);
- background: @m-black2;
- }
- .ant-table-thead {
- tr {
- th {
- background: @m-green1;
- color: @m-grey17;
- }
- }
- }
- .ant-table-placeholder {
- height: calc((100vh - 443px)/2 - 13px);
- }
- }
- }
- .halfBottom {
- .ant-table {
- .ant-table-thead {
- tr {
- th {
- background: @m-red2;
- }
- }
- }
- }
- }
- .condSecondTabTableHalfTopNoBottom {
- .ant-table {
- .ant-table-body {
- min-height: calc((100vh - 196px)/2 - 16px);
- max-height: calc((100vh - 196px)/2 - 16px);
- background: @m-black2;
- }
- .ant-table-placeholder {
- height: calc((100vh - 196px)/2 - 16px);
- }
- }
- }
- }
- // 买卖大厅表格
- .buyHallTable,
- .sellHallTable {
- .ant-table-fixed-header>.ant-table-content>.ant-table-scroll>.ant-table-body {
- background: transparent;
- }
- .ant-table {
- width: 100%;
- table {
- border: 0;
- }
- .ant-table-content {
- background-image: linear-gradient(90deg, @m-black34 60px, @m-red2 0);
- }
- .ant-table-thead {
- tr {
- box-shadow: 0px 1px 0px 0px @m-black17;
- th {
- line-height: 26px;
- background: @m-black34;
- padding-top: 0;
- padding-bottom: 0;
- color: @m-grey17;
- font-size: 14px;
- border-right: 1px solid @m-black10;
- border-bottom: 1px solid @m-black10;
- white-space: nowrap;
- text-overflow: ellipsis;
- overflow: hidden;
- }
- }
- }
- .ant-table-tbody {
- tr {
- td {
- height: 30px;
- line-height: 30px;
- padding: 0 8px;
- border-right: 1px solid @m-black10;
- border-bottom: 1px solid @m-black10;
- font-size: 14px;
- color: @m-grey17;
- white-space: nowrap;
- text-overflow: ellipsis;
- overflow: hidden;
- }
- td:first-child {
- background: @m-black34;
- color: @m-grey17;
- min-width: 61px;
- }
- td:not(:first-child :nth-child(1)) {
- background: @m-red2;
- color: @m-white1;
- }
- }
- tr.ant-table-expanded-row,
- tr.ant-table-expanded-row:hover {
- td {
- background-color: @m-black2;
- }
- }
- tr.ant-table-expanded-row {
- td {
- text-align: right;
- }
- }
- tr:hover {
- td {
- background-color: @m-blue3 !important;
- }
- }
- }
- .ant-table-placeholder {
- border: 0;
- background: @m-black2;
- }
- }
- .ant-table-row-expand-icon {
- border-color: @m-grey17;
- background-color: transparent;
- color: @m-grey17;
- }
- }
- .sellHallTable {
- .ant-table {
- .ant-table-content {
- background-image: linear-gradient(90deg, @m-black34 60px, @m-green1 0);
- }
- .ant-table-tbody {
- tr {
- td:first-child {
- // background: @m-black34;
- color: @m-grey17;
- }
- td:not(:first-child :nth-child(1)) {
- background: @m-green1;
- }
- }
- }
- }
- }
- .sellHallTable .ant-table .ant-table-tbody tr td:not(:first-child),
- .buyHallTable .ant-table .ant-table-tbody tr td:not(:first-child) {
- background-color: @m-black2;
- }
- .buyHallTable,
- .sellHallTable {
- .ant-table-fixed-header>.ant-table-content>.ant-table-scroll>.ant-table-body {
- min-height: calc(100vh - 378px);
- max-height: calc(100vh - 378px);
- }
- .ant-table {
- .ant-table-tbody {
- min-height: calc(100vh - 378px);
- max-height: calc(100vh - 378px);
- }
- }
- }
- .noDataTable {
- .ant-table {
- .ant-table-header {
- // height: 35px;
- margin-bottom: 0 !important;
- overflow: hidden !important;
- }
- }
- }
- // 没有底部时买卖大厅表格高度
- .buyHallTableHigh,
- .sellHallTableHigh {
- .ant-table-fixed-header>.ant-table-content>.ant-table-scroll>.ant-table-body {
- min-height: calc(100vh - 135px);
- max-height: calc(100vh - 135px);
- }
- .ant-table {
- .ant-table-tbody {
- min-height: calc(100vh - 135px);
- max-height: calc(100vh - 135px);
- }
- }
- }
- // 表单里面的内容
- .formBar {
- width: 100%;
- flex: 1;
- padding: 28px 16px 0;
- max-height: calc(100% - 70px);
- overflow-y: auto;
- overflow-x: hidden;
- ::v-deep.formProgress {
- width: 140px;
- // height: 3px;
- // .rounded-corners(2px);
- margin-left: 70px;
- .ant-progress-outer {
- margin-right: 0;
- padding-right: 0;
- .ant-progress-inner {
- background: @m-grey14;
- .rounded-corners(2px);
- .ant-progress-bg {
- height: 3px !important;
- border-radius: 2px !important;
- background-color: @m-blue0;
- }
- }
- }
- .ant-progress-text {
- display: none;
- }
- }
- .listedBtn {
- width: 120px;
- height: 30px;
- line-height: 30px;
- background: linear-gradient(0deg, @m-blue2 0%, @m-blue0 100%);
- border-radius: 3px;
- color: @m-white0;
- font-size: 14px;
- text-align: center;
- border: 0;
- &:hover {
- background: linear-gradient(0deg, @m-blue0-hover 0%, @m-blue2-hover 100%);
- color: @m-white0-hover;
- }
- }
- .cancelBtn:extend(.listedBtn) {
- background: linear-gradient(0deg, @m-grey12 0%, @m-grey13 100%);
- &:hover {
- background: linear-gradient(0deg, @m-grey12-hover 0%, @m-grey13-hover 100%);
- color: @m-white0-hover;
- }
- }
- }
- .fixedBtns {
- .position(absolute, auto, 0, 9px, 0);
- z-index: 2;
- }
- .c_c_s_s {
- .fixedBtns {
- left: 8px;
- right: 8px;
- padding-top: 18px;
- background: @m-black40;
- }
- }
- .ant-slider.formSlider {
- width: 140px;
- margin-left: 70px;
- .ant-slider-rail {
- margin-right: 0;
- padding-right: 0;
- height: 3px !important;
- border-radius: 2px !important;
- background-color: @m-blue14;
- }
- .ant-slider-track {
- height: 3px;
- background-color: @m-blue0;
- }
- .ant-slider-step {
- height: 3px;
- }
- .ant-progress-text {
- display: none;
- }
- }
- // 暂无数据
- .noData {
- width: 80px;
- height: 80px;
- background: @m-nodata center center no-repeat;
- background-size: cover;
- }
- .ant-empty.ant-empty-normal {
- .ant-empty-image {
- width: 80px;
- height: 80px;
- background: @m-nodata center center no-repeat;
- background-size: cover;
- .ant-empty-img-simple {
- display: none;
- }
- }
- .ant-empty-description {
- display: none;
- }
- }
- // 底部表格行背景色
- .layout-bottom {
- .srcollYTable {
- .ant-table {
- .ant-table-tbody {
- tr {
- td {
- background: @m-black33;
- }
- }
- }
- .ant-table-placeholder {
- border-top: 1PX solid @m-black9;
- background: @m-black33;
- }
- }
- }
- }
- // 仓单预售查询条件 日期到月份
- .conditionPicker.ant-calendar-picker {
- .ant-input {
- width: 90px;
- background: transparent;
- font-size: 14px;
- color: @m-white6;
- }
- .ant-calendar-picker-icon {
- display: none;
- }
- }
- // 表格按钮列表固定在右边
- .btn-list-sticky {
- position: sticky;
- position: -webkit-sticky;
- right: 2px;
- }
- // 步骤条
- .commonSteps {
- .ant-steps-item {
- .block {
- display: inline-flex;
- }
- .ant-steps-item-tail {
- left: 9.5px !important;
- padding: 30px 0 0 0 !important;
- }
- .ant-steps-item-icon {
- margin-top: 5px;
- width: 20px;
- height: 20px;
- background: @m-grey11;
- border-color: @m-blue24;
- .ant-steps-icon {
- font-size: 12px;
- line-height: 20px;
- top: -9px;
- }
- }
- .ant-steps-item-content {
- min-height: 60px;
- }
- .line {
- width: 280px;
- height: 30px;
- background: @m-blue17;
- .rounded-corners(3px);
- display: inline-flex;
- position: relative;
- .num {
- width: 30px;
- height: 30px;
- background: @m-blue0;
- .rounded-corners(3px);
- text-align: center;
- line-height: 30px;
- font-size: 14px;
- color: @m-white0;
- }
- .desc {
- flex: 1;
- padding-left: 14px;
- font-size: 16px;
- color: @m-white0;
- line-height: 28px;
- }
- .day {
- width: 70px;
- text-align: right;
- color: @m-blue0;
- margin-right: 17px;
- line-height: 28px;
- }
- .arrowRight {
- display: none;
- .position(absolute, auto, -9px, 0, auto);
- font-size: 12px;
- color: @m-blue0;
- line-height: 30px;
- z-index: 2;
- }
- }
- .tip {
- margin-left: 13px;
- font-size: 16px;
- line-height: 30px;
- color: @m-blue23;
- }
- }
- .ant-steps-item-finish {}
- .ant-steps-item-process {
- .line {
- border: 1px solid @m-blue0;
- .arrowRight {
- display: block;
- }
- }
- .tip {
- color: @m-blue0;
- }
- .ant-steps-item-icon {
- width: 22px !important;
- height: 22px !important;
- background: url(../images/stepPro.png) center center no-repeat !important;
- background-size: cover !important;
- border: 0;
- .ant-steps-icon {
- display: none;
- }
- }
- }
- .ant-steps-item-wait {
- .line {
- .num {
- background: @m-grey28;
- }
- .desc {
- color: @m-grey29;
- }
- }
- .tip {
- color: @m-grey30;
- }
- .ant-steps-item-icon {
- border: 0;
- width: 22px !important;
- height: 22px !important;
- background: url(../images/stepWait.png) center center no-repeat !important;
- background-size: cover !important;
- .ant-steps-icon {
- display: none;
- }
- }
- }
- }
- .commonSteps>.ant-steps-item-finish>.ant-steps-item-container>.ant-steps-item-tail::after {
- background-color: @m-blue24;
- }
- .commonSteps>.ant-steps-item-process>.ant-steps-item-container>.ant-steps-item-tail::after {
- background-color: @m-grey30;
- }
- // 左侧菜单
- .ant-menu-dark .ant-menu-inline.ant-menu-sub {
- background: @m-black28;
- box-shadow: none;
- }
- // 仓单贸易查询条件
- .ant-select-tree-dropdown {
- background: @m-grey9;
- box-shadow: none;
- .ant-select-tree {
- color: @m-grey1;
- li {
- .ant-select-tree-node-content-wrapper-open:hover {
- background: @m-blue3;
- }
- .ant-select-tree-node-content-wrapper {
- color: @m-grey1;
- }
- .ant-select-tree-child-tree {
- li:hover {
- background: @m-blue3;
- span {
- background: @m-blue3;
- color: @m-white0;
- }
- }
- }
- }
- }
- }
- // 左侧菜单样式
- .ant-menu-dark .ant-menu-sub .ant-menu-item,
- .ant-menu-dark .ant-menu-sub .ant-menu-item {
- color: @m-grey34;
- }
- .ant-menu-dark .ant-menu-sub .ant-menu-item-selected,
- .ant-menu-dark .ant-menu-sub .ant-menu-item-selected {
- color: @m-white8;
- }
- .ant-select-tree-dropdown .ant-select-tree li .ant-select-tree-node-content-wrapper.ant-select-tree-node-selected {
- background: transparent !important;
- }
- // 数字最右侧上下箭头不显示
- .ant-input-number-handler-wrap {
- display: none
- }
- // 图标卖挂选项卡
- .chartTabs.ant-tabs-top {
- height: calc(100% - 22px);
- background: transparent;
- .ant-tabs-bar {
- margin-bottom: 0;
- border-bottom: 0;
- height: 30px;
- .ant-tabs-nav-container {
- .ant-tabs-nav-wrap {
- .ant-tabs-nav-scroll {
- .ant-tabs-nav {
- width: 100%;
- >div {
- .flex;
- }
- .ant-tabs-tab {
- margin-right: 0;
- padding: 0;
- height: 30px;
- line-height: 30px;
- background: @m-black39;
- color: @m-grey1;
- font-size: 14px;
- flex: 1;
- text-align: center;
- }
- .ant-tabs-tab-active {
- background: @m-green1;
- color: @m-blue0;
- }
- .ant-tabs-ink-bar-animated {
- width: 0 !important;
- height: 0 !important;
- }
- }
- }
- }
- }
- }
- .ant-tabs-content {
- width: 100%;
- height: calc(100% - 29px);
- min-height: calc(100% - 29px);
- margin-top: -1px;
- position: relative;
- .ant-tabs-tabpane {
- height: 100%;
- .flex;
- flex-direction: column;
- }
- .ant-tabs-tabpane-active {
- background: @m-green1;
- .position(absolute, 0, 0, 0, 0);
- z-index: 2;
- }
- }
- .ant-tabs-content-animated {
- margin-left: 0 !important;
- }
- }
- .watchMore {
- width: 100%;
- height: 22px;
- line-height: 22px;
- background: @m-grey48;
- font-size: 14px;
- color: @m-grey49;
- text-align: center;
- cursor: pointer;
- }
- .chartRow {
- width: 100%;
- padding-left: 8px;
- padding-right: 10px;
- display: inline-flex;
- >div {
- flex: 1;
- font-size: 14px;
- color: @m-grey50;
- height: 40px;
- line-height: 40px;
- }
- .left {
- text-align: left;
- }
- .middle {
- text-align: center;
- color: @m-red11;
- }
- .right {
- text-align: right;
- }
- }
- // 朋友搜索框
- .ant-input-search.searchFriendInput {
- width: 100%;
- height: 30px;
- background: @m-grey53;
- border-color: @m-grey54;
- .rounded-corners(15px);
- .anticon-search {
- color: @m-grey55;
- }
- .ant-input {
- background: @m-grey53;
- color: @m-white6;
- font-size: 14px;
- font-weight: 400;
- }
- .ant-input-suffix {
- .ant-input-search-icon {
- display: none;
- }
- }
- .ant-input-group {
- .ant-input-group-addon {
- background: @m-grey53;
- .rounded-corners(0, 15px, 15px, 0);
- .ant-input-search-button {
- width: 56px;
- height: 26px;
- background: #3A87F7;
- padding: 0;
- align-self: center;
- align-items: center;
- .rounded-corners(13px);
- span {
- width: 100%;
- height: 26px;
- line-height: 22px;
- text-align: center;
- color: #ffffff;
- font-weight: 400;
- font-size: 14px;
- }
- }
- }
- }
- }
- .ant-input-search.noSuffixInput {
- .ant-input-group {
- .ant-input-group-addon {
- display: none;
- }
- }
- }
- .ant-popover.friendPopover {
- .ant-popover-content {
- .ant-popover-inner {
- .ant-popover-inner-content {
- padding: 0;
- }
- }
- }
- }
- // 履约规则
- .rulesCont {
- margin-top: 10px;
- .flex;
- overflow-x: auto;
- overflow-y: hidden;
- max-width: 450px;
- .ruleCol.ant-col {
- margin-bottom: 10px;
- }
- .ant-row {
- margin-left: 0 !important;
- margin-right: 0 !important;
- .ant-col {
- padding-left: 0 !important;
- padding-right: 0 !important;
- margin-bottom: 20px;
- .rounded-corners(3px);
- display: inline-flex;
- .line {
- width: 100%;
- .flex;
- flex-direction: column;
- .name {
- min-width: 120px;
- height: 30px;
- line-height: 28px;
- background: @m-blue28;
- border: 1px solid @m-black37;
- .rounded-corners(3px);
- text-align: center;
- font-size: 14px;
- color: @m-white6;
- }
- .time {
- margin: 6px auto 0;
- width: 50px;
- height: 28px;
- background: @m-black38;
- .rounded-corners(5px);
- color: @m-blue26;
- font-size: 12px;
- text-align: center;
- }
- }
- .line:nth-child(2n) {
- .name {
- background: @m-yellow4;
- border-color: @m-yellow5;
- }
- }
- .line+.line {
- margin-left: 5px;
- }
- }
- }
- }
- // 账号管理 滚动条
- .account_info_container {
- height: calc(100% - 40px);
- .a-collapse-container {
- height: calc(100% - 70px);
- overflow: auto;
- }
- }
|