color.less 233 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685
  1. @primary-color: #1890ff;
  2. /* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
  3. /* stylelint-disable no-duplicate-selectors */
  4. /* stylelint-disable */
  5. .bezierEasingMixin() {
  6. @functions: ~`(function() {
  7. var NEWTON_ITERATIONS = 4;
  8. var NEWTON_MIN_SLOPE = 0.001;
  9. var SUBDIVISION_PRECISION = 0.0000001;
  10. var SUBDIVISION_MAX_ITERATIONS = 10;
  11. var kSplineTableSize = 11;
  12. var kSampleStepSize = 1.0 / (kSplineTableSize - 1.0);
  13. var float32ArraySupported = typeof Float32Array === 'function';
  14. function A (aA1, aA2) { return 1.0 - 3.0 * aA2 + 3.0 * aA1; }
  15. function B (aA1, aA2) { return 3.0 * aA2 - 6.0 * aA1; }
  16. function C (aA1) { return 3.0 * aA1; }
  17. // Returns x(t) given t, x1, and x2, or y(t) given t, y1, and y2.
  18. function calcBezier (aT, aA1, aA2) { return ((A(aA1, aA2) * aT + B(aA1, aA2)) * aT + C(aA1)) * aT; }
  19. // Returns dx/dt given t, x1, and x2, or dy/dt given t, y1, and y2.
  20. function getSlope (aT, aA1, aA2) { return 3.0 * A(aA1, aA2) * aT * aT + 2.0 * B(aA1, aA2) * aT + C(aA1); }
  21. function binarySubdivide (aX, aA, aB, mX1, mX2) {
  22. var currentX, currentT, i = 0;
  23. do {
  24. currentT = aA + (aB - aA) / 2.0;
  25. currentX = calcBezier(currentT, mX1, mX2) - aX;
  26. if (currentX > 0.0) {
  27. aB = currentT;
  28. } else {
  29. aA = currentT;
  30. }
  31. } while (Math.abs(currentX) > SUBDIVISION_PRECISION && ++i < SUBDIVISION_MAX_ITERATIONS);
  32. return currentT;
  33. }
  34. function newtonRaphsonIterate (aX, aGuessT, mX1, mX2) {
  35. for (var i = 0; i < NEWTON_ITERATIONS; ++i) {
  36. var currentSlope = getSlope(aGuessT, mX1, mX2);
  37. if (currentSlope === 0.0) {
  38. return aGuessT;
  39. }
  40. var currentX = calcBezier(aGuessT, mX1, mX2) - aX;
  41. aGuessT -= currentX / currentSlope;
  42. }
  43. return aGuessT;
  44. }
  45. var BezierEasing = function (mX1, mY1, mX2, mY2) {
  46. if (!(0 <= mX1 && mX1 <= 1 && 0 <= mX2 && mX2 <= 1)) {
  47. throw new Error('bezier x values must be in [0, 1] range');
  48. }
  49. // Precompute samples table
  50. var sampleValues = float32ArraySupported ? new Float32Array(kSplineTableSize) : new Array(kSplineTableSize);
  51. if (mX1 !== mY1 || mX2 !== mY2) {
  52. for (var i = 0; i < kSplineTableSize; ++i) {
  53. sampleValues[i] = calcBezier(i * kSampleStepSize, mX1, mX2);
  54. }
  55. }
  56. function getTForX (aX) {
  57. var intervalStart = 0.0;
  58. var currentSample = 1;
  59. var lastSample = kSplineTableSize - 1;
  60. for (; currentSample !== lastSample && sampleValues[currentSample] <= aX; ++currentSample) {
  61. intervalStart += kSampleStepSize;
  62. }
  63. --currentSample;
  64. // Interpolate to provide an initial guess for t
  65. var dist = (aX - sampleValues[currentSample]) / (sampleValues[currentSample + 1] - sampleValues[currentSample]);
  66. var guessForT = intervalStart + dist * kSampleStepSize;
  67. var initialSlope = getSlope(guessForT, mX1, mX2);
  68. if (initialSlope >= NEWTON_MIN_SLOPE) {
  69. return newtonRaphsonIterate(aX, guessForT, mX1, mX2);
  70. } else if (initialSlope === 0.0) {
  71. return guessForT;
  72. } else {
  73. return binarySubdivide(aX, intervalStart, intervalStart + kSampleStepSize, mX1, mX2);
  74. }
  75. }
  76. return function BezierEasing (x) {
  77. if (mX1 === mY1 && mX2 === mY2) {
  78. return x; // linear
  79. }
  80. // Because JavaScript number are imprecise, we should guarantee the extremes are right.
  81. if (x === 0) {
  82. return 0;
  83. }
  84. if (x === 1) {
  85. return 1;
  86. }
  87. return calcBezier(getTForX(x), mY1, mY2);
  88. };
  89. };
  90. this.colorEasing = BezierEasing(0.26, 0.09, 0.37, 0.18);
  91. // less 3 requires a return
  92. return '';
  93. })()`;
  94. }
  95. // It is hacky way to make this function will be compiled preferentially by less
  96. // resolve error: `ReferenceError: colorPalette is not defined`
  97. // https://github.com/ant-design/ant-motion/issues/44
  98. .bezierEasingMixin();
  99. /* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
  100. .tinyColorMixin() {
  101. @functions: ~`(function() {
  102. // TinyColor v1.4.1
  103. // https://github.com/bgrins/TinyColor
  104. // 2016-07-07, Brian Grinstead, MIT License
  105. var trimLeft = /^\s+/,
  106. trimRight = /\s+$/,
  107. tinyCounter = 0,
  108. mathRound = Math.round,
  109. mathMin = Math.min,
  110. mathMax = Math.max,
  111. mathRandom = Math.random;
  112. function tinycolor (color, opts) {
  113. color = (color) ? color : '';
  114. opts = opts || { };
  115. // If input is already a tinycolor, return itself
  116. if (color instanceof tinycolor) {
  117. return color;
  118. }
  119. // If we are called as a function, call using new instead
  120. if (!(this instanceof tinycolor)) {
  121. return new tinycolor(color, opts);
  122. }
  123. var rgb = inputToRGB(color);
  124. this._originalInput = color,
  125. this._r = rgb.r,
  126. this._g = rgb.g,
  127. this._b = rgb.b,
  128. this._a = rgb.a,
  129. this._roundA = mathRound(100*this._a) / 100,
  130. this._format = opts.format || rgb.format;
  131. this._gradientType = opts.gradientType;
  132. // Don't let the range of [0,255] come back in [0,1].
  133. // Potentially lose a little bit of precision here, but will fix issues where
  134. // .5 gets interpreted as half of the total, instead of half of 1
  135. // If it was supposed to be 128, this was already taken care of by inputToRgb
  136. if (this._r < 1) { this._r = mathRound(this._r); }
  137. if (this._g < 1) { this._g = mathRound(this._g); }
  138. if (this._b < 1) { this._b = mathRound(this._b); }
  139. this._ok = rgb.ok;
  140. this._tc_id = tinyCounter++;
  141. }
  142. tinycolor.prototype = {
  143. isDark: function() {
  144. return this.getBrightness() < 128;
  145. },
  146. isLight: function() {
  147. return !this.isDark();
  148. },
  149. isValid: function() {
  150. return this._ok;
  151. },
  152. getOriginalInput: function() {
  153. return this._originalInput;
  154. },
  155. getFormat: function() {
  156. return this._format;
  157. },
  158. getAlpha: function() {
  159. return this._a;
  160. },
  161. getBrightness: function() {
  162. //http://www.w3.org/TR/AERT#color-contrast
  163. var rgb = this.toRgb();
  164. return (rgb.r * 299 + rgb.g * 587 + rgb.b * 114) / 1000;
  165. },
  166. getLuminance: function() {
  167. //http://www.w3.org/TR/2008/REC-WCAG20-20081211/#relativeluminancedef
  168. var rgb = this.toRgb();
  169. var RsRGB, GsRGB, BsRGB, R, G, B;
  170. RsRGB = rgb.r/255;
  171. GsRGB = rgb.g/255;
  172. BsRGB = rgb.b/255;
  173. if (RsRGB <= 0.03928) {R = RsRGB / 12.92;} else {R = Math.pow(((RsRGB + 0.055) / 1.055), 2.4);}
  174. if (GsRGB <= 0.03928) {G = GsRGB / 12.92;} else {G = Math.pow(((GsRGB + 0.055) / 1.055), 2.4);}
  175. if (BsRGB <= 0.03928) {B = BsRGB / 12.92;} else {B = Math.pow(((BsRGB + 0.055) / 1.055), 2.4);}
  176. return (0.2126 * R) + (0.7152 * G) + (0.0722 * B);
  177. },
  178. setAlpha: function(value) {
  179. this._a = boundAlpha(value);
  180. this._roundA = mathRound(100*this._a) / 100;
  181. return this;
  182. },
  183. toHsv: function() {
  184. var hsv = rgbToHsv(this._r, this._g, this._b);
  185. return { h: hsv.h * 360, s: hsv.s, v: hsv.v, a: this._a };
  186. },
  187. toHsvString: function() {
  188. var hsv = rgbToHsv(this._r, this._g, this._b);
  189. var h = mathRound(hsv.h * 360), s = mathRound(hsv.s * 100), v = mathRound(hsv.v * 100);
  190. return (this._a == 1) ?
  191. "hsv(" + h + ", " + s + "%, " + v + "%)" :
  192. "hsva(" + h + ", " + s + "%, " + v + "%, "+ this._roundA + ")";
  193. },
  194. toHsl: function() {
  195. var hsl = rgbToHsl(this._r, this._g, this._b);
  196. return { h: hsl.h * 360, s: hsl.s, l: hsl.l, a: this._a };
  197. },
  198. toHslString: function() {
  199. var hsl = rgbToHsl(this._r, this._g, this._b);
  200. var h = mathRound(hsl.h * 360), s = mathRound(hsl.s * 100), l = mathRound(hsl.l * 100);
  201. return (this._a == 1) ?
  202. "hsl(" + h + ", " + s + "%, " + l + "%)" :
  203. "hsla(" + h + ", " + s + "%, " + l + "%, "+ this._roundA + ")";
  204. },
  205. toHex: function(allow3Char) {
  206. return rgbToHex(this._r, this._g, this._b, allow3Char);
  207. },
  208. toHexString: function(allow3Char) {
  209. return '#' + this.toHex(allow3Char);
  210. },
  211. toHex8: function(allow4Char) {
  212. return rgbaToHex(this._r, this._g, this._b, this._a, allow4Char);
  213. },
  214. toHex8String: function(allow4Char) {
  215. return '#' + this.toHex8(allow4Char);
  216. },
  217. toRgb: function() {
  218. return { r: mathRound(this._r), g: mathRound(this._g), b: mathRound(this._b), a: this._a };
  219. },
  220. toRgbString: function() {
  221. return (this._a == 1) ?
  222. "rgb(" + mathRound(this._r) + ", " + mathRound(this._g) + ", " + mathRound(this._b) + ")" :
  223. "rgba(" + mathRound(this._r) + ", " + mathRound(this._g) + ", " + mathRound(this._b) + ", " + this._roundA + ")";
  224. },
  225. toPercentageRgb: function() {
  226. return { r: mathRound(bound01(this._r, 255) * 100) + "%", g: mathRound(bound01(this._g, 255) * 100) + "%", b: mathRound(bound01(this._b, 255) * 100) + "%", a: this._a };
  227. },
  228. toPercentageRgbString: function() {
  229. return (this._a == 1) ?
  230. "rgb(" + mathRound(bound01(this._r, 255) * 100) + "%, " + mathRound(bound01(this._g, 255) * 100) + "%, " + mathRound(bound01(this._b, 255) * 100) + "%)" :
  231. "rgba(" + mathRound(bound01(this._r, 255) * 100) + "%, " + mathRound(bound01(this._g, 255) * 100) + "%, " + mathRound(bound01(this._b, 255) * 100) + "%, " + this._roundA + ")";
  232. },
  233. toName: function() {
  234. if (this._a === 0) {
  235. return "transparent";
  236. }
  237. if (this._a < 1) {
  238. return false;
  239. }
  240. return hexNames[rgbToHex(this._r, this._g, this._b, true)] || false;
  241. },
  242. toFilter: function(secondColor) {
  243. var hex8String = '#' + rgbaToArgbHex(this._r, this._g, this._b, this._a);
  244. var secondHex8String = hex8String;
  245. var gradientType = this._gradientType ? "GradientType = 1, " : "";
  246. if (secondColor) {
  247. var s = tinycolor(secondColor);
  248. secondHex8String = '#' + rgbaToArgbHex(s._r, s._g, s._b, s._a);
  249. }
  250. return "progid:DXImageTransform.Microsoft.gradient("+gradientType+"startColorstr="+hex8String+",endColorstr="+secondHex8String+")";
  251. },
  252. toString: function(format) {
  253. var formatSet = !!format;
  254. format = format || this._format;
  255. var formattedString = false;
  256. var hasAlpha = this._a < 1 && this._a >= 0;
  257. var needsAlphaFormat = !formatSet && hasAlpha && (format === "hex" || format === "hex6" || format === "hex3" || format === "hex4" || format === "hex8" || format === "name");
  258. if (needsAlphaFormat) {
  259. // Special case for "transparent", all other non-alpha formats
  260. // will return rgba when there is transparency.
  261. if (format === "name" && this._a === 0) {
  262. return this.toName();
  263. }
  264. return this.toRgbString();
  265. }
  266. if (format === "rgb") {
  267. formattedString = this.toRgbString();
  268. }
  269. if (format === "prgb") {
  270. formattedString = this.toPercentageRgbString();
  271. }
  272. if (format === "hex" || format === "hex6") {
  273. formattedString = this.toHexString();
  274. }
  275. if (format === "hex3") {
  276. formattedString = this.toHexString(true);
  277. }
  278. if (format === "hex4") {
  279. formattedString = this.toHex8String(true);
  280. }
  281. if (format === "hex8") {
  282. formattedString = this.toHex8String();
  283. }
  284. if (format === "name") {
  285. formattedString = this.toName();
  286. }
  287. if (format === "hsl") {
  288. formattedString = this.toHslString();
  289. }
  290. if (format === "hsv") {
  291. formattedString = this.toHsvString();
  292. }
  293. return formattedString || this.toHexString();
  294. },
  295. clone: function() {
  296. return tinycolor(this.toString());
  297. },
  298. _applyModification: function(fn, args) {
  299. var color = fn.apply(null, [this].concat([].slice.call(args)));
  300. this._r = color._r;
  301. this._g = color._g;
  302. this._b = color._b;
  303. this.setAlpha(color._a);
  304. return this;
  305. },
  306. lighten: function() {
  307. return this._applyModification(lighten, arguments);
  308. },
  309. brighten: function() {
  310. return this._applyModification(brighten, arguments);
  311. },
  312. darken: function() {
  313. return this._applyModification(darken, arguments);
  314. },
  315. desaturate: function() {
  316. return this._applyModification(desaturate, arguments);
  317. },
  318. saturate: function() {
  319. return this._applyModification(saturate, arguments);
  320. },
  321. greyscale: function() {
  322. return this._applyModification(greyscale, arguments);
  323. },
  324. spin: function() {
  325. return this._applyModification(spin, arguments);
  326. },
  327. _applyCombination: function(fn, args) {
  328. return fn.apply(null, [this].concat([].slice.call(args)));
  329. },
  330. analogous: function() {
  331. return this._applyCombination(analogous, arguments);
  332. },
  333. complement: function() {
  334. return this._applyCombination(complement, arguments);
  335. },
  336. monochromatic: function() {
  337. return this._applyCombination(monochromatic, arguments);
  338. },
  339. splitcomplement: function() {
  340. return this._applyCombination(splitcomplement, arguments);
  341. },
  342. triad: function() {
  343. return this._applyCombination(triad, arguments);
  344. },
  345. tetrad: function() {
  346. return this._applyCombination(tetrad, arguments);
  347. }
  348. };
  349. // If input is an object, force 1 into "1.0" to handle ratios properly
  350. // String input requires "1.0" as input, so 1 will be treated as 1
  351. tinycolor.fromRatio = function(color, opts) {
  352. if (typeof color == "object") {
  353. var newColor = {};
  354. for (var i in color) {
  355. if (color.hasOwnProperty(i)) {
  356. if (i === "a") {
  357. newColor[i] = color[i];
  358. }
  359. else {
  360. newColor[i] = convertToPercentage(color[i]);
  361. }
  362. }
  363. }
  364. color = newColor;
  365. }
  366. return tinycolor(color, opts);
  367. };
  368. // Given a string or object, convert that input to RGB
  369. // Possible string inputs:
  370. //
  371. // "red"
  372. // "#f00" or "f00"
  373. // "#ff0000" or "ff0000"
  374. // "#ff000000" or "ff000000"
  375. // "rgb 255 0 0" or "rgb (255, 0, 0)"
  376. // "rgb 1.0 0 0" or "rgb (1, 0, 0)"
  377. // "rgba (255, 0, 0, 1)" or "rgba 255, 0, 0, 1"
  378. // "rgba (1.0, 0, 0, 1)" or "rgba 1.0, 0, 0, 1"
  379. // "hsl(0, 100%, 50%)" or "hsl 0 100% 50%"
  380. // "hsla(0, 100%, 50%, 1)" or "hsla 0 100% 50%, 1"
  381. // "hsv(0, 100%, 100%)" or "hsv 0 100% 100%"
  382. //
  383. function inputToRGB(color) {
  384. var rgb = { r: 0, g: 0, b: 0 };
  385. var a = 1;
  386. var s = null;
  387. var v = null;
  388. var l = null;
  389. var ok = false;
  390. var format = false;
  391. if (typeof color == "string") {
  392. color = stringInputToObject(color);
  393. }
  394. if (typeof color == "object") {
  395. if (isValidCSSUnit(color.r) && isValidCSSUnit(color.g) && isValidCSSUnit(color.b)) {
  396. rgb = rgbToRgb(color.r, color.g, color.b);
  397. ok = true;
  398. format = String(color.r).substr(-1) === "%" ? "prgb" : "rgb";
  399. }
  400. else if (isValidCSSUnit(color.h) && isValidCSSUnit(color.s) && isValidCSSUnit(color.v)) {
  401. s = convertToPercentage(color.s);
  402. v = convertToPercentage(color.v);
  403. rgb = hsvToRgb(color.h, s, v);
  404. ok = true;
  405. format = "hsv";
  406. }
  407. else if (isValidCSSUnit(color.h) && isValidCSSUnit(color.s) && isValidCSSUnit(color.l)) {
  408. s = convertToPercentage(color.s);
  409. l = convertToPercentage(color.l);
  410. rgb = hslToRgb(color.h, s, l);
  411. ok = true;
  412. format = "hsl";
  413. }
  414. if (color.hasOwnProperty("a")) {
  415. a = color.a;
  416. }
  417. }
  418. a = boundAlpha(a);
  419. return {
  420. ok: ok,
  421. format: color.format || format,
  422. r: mathMin(255, mathMax(rgb.r, 0)),
  423. g: mathMin(255, mathMax(rgb.g, 0)),
  424. b: mathMin(255, mathMax(rgb.b, 0)),
  425. a: a
  426. };
  427. }
  428. // Conversion Functions
  429. // --------------------
  430. // rgbToHsl, rgbToHsv, hslToRgb, hsvToRgb modified from:
  431. // <http://mjijackson.com/2008/02/rgb-to-hsl-and-rgb-to-hsv-color-model-conversion-algorithms-in-javascript>
  432. // rgbToRgb
  433. // Handle bounds / percentage checking to conform to CSS color spec
  434. // <http://www.w3.org/TR/css3-color/>
  435. // *Assumes:* r, g, b in [0, 255] or [0, 1]
  436. // *Returns:* { r, g, b } in [0, 255]
  437. function rgbToRgb(r, g, b){
  438. return {
  439. r: bound01(r, 255) * 255,
  440. g: bound01(g, 255) * 255,
  441. b: bound01(b, 255) * 255
  442. };
  443. }
  444. // rgbToHsl
  445. // Converts an RGB color value to HSL.
  446. // *Assumes:* r, g, and b are contained in [0, 255] or [0, 1]
  447. // *Returns:* { h, s, l } in [0,1]
  448. function rgbToHsl(r, g, b) {
  449. r = bound01(r, 255);
  450. g = bound01(g, 255);
  451. b = bound01(b, 255);
  452. var max = mathMax(r, g, b), min = mathMin(r, g, b);
  453. var h, s, l = (max + min) / 2;
  454. if(max == min) {
  455. h = s = 0; // achromatic
  456. }
  457. else {
  458. var d = max - min;
  459. s = l > 0.5 ? d / (2 - max - min) : d / (max + min);
  460. switch(max) {
  461. case r: h = (g - b) / d + (g < b ? 6 : 0); break;
  462. case g: h = (b - r) / d + 2; break;
  463. case b: h = (r - g) / d + 4; break;
  464. }
  465. h /= 6;
  466. }
  467. return { h: h, s: s, l: l };
  468. }
  469. // hslToRgb
  470. // Converts an HSL color value to RGB.
  471. // *Assumes:* h is contained in [0, 1] or [0, 360] and s and l are contained [0, 1] or [0, 100]
  472. // *Returns:* { r, g, b } in the set [0, 255]
  473. function hslToRgb(h, s, l) {
  474. var r, g, b;
  475. h = bound01(h, 360);
  476. s = bound01(s, 100);
  477. l = bound01(l, 100);
  478. function hue2rgb(p, q, t) {
  479. if(t < 0) t += 1;
  480. if(t > 1) t -= 1;
  481. if(t < 1/6) return p + (q - p) * 6 * t;
  482. if(t < 1/2) return q;
  483. if(t < 2/3) return p + (q - p) * (2/3 - t) * 6;
  484. return p;
  485. }
  486. if(s === 0) {
  487. r = g = b = l; // achromatic
  488. }
  489. else {
  490. var q = l < 0.5 ? l * (1 + s) : l + s - l * s;
  491. var p = 2 * l - q;
  492. r = hue2rgb(p, q, h + 1/3);
  493. g = hue2rgb(p, q, h);
  494. b = hue2rgb(p, q, h - 1/3);
  495. }
  496. return { r: r * 255, g: g * 255, b: b * 255 };
  497. }
  498. // rgbToHsv
  499. // Converts an RGB color value to HSV
  500. // *Assumes:* r, g, and b are contained in the set [0, 255] or [0, 1]
  501. // *Returns:* { h, s, v } in [0,1]
  502. function rgbToHsv(r, g, b) {
  503. r = bound01(r, 255);
  504. g = bound01(g, 255);
  505. b = bound01(b, 255);
  506. var max = mathMax(r, g, b), min = mathMin(r, g, b);
  507. var h, s, v = max;
  508. var d = max - min;
  509. s = max === 0 ? 0 : d / max;
  510. if(max == min) {
  511. h = 0; // achromatic
  512. }
  513. else {
  514. switch(max) {
  515. case r: h = (g - b) / d + (g < b ? 6 : 0); break;
  516. case g: h = (b - r) / d + 2; break;
  517. case b: h = (r - g) / d + 4; break;
  518. }
  519. h /= 6;
  520. }
  521. return { h: h, s: s, v: v };
  522. }
  523. // hsvToRgb
  524. // Converts an HSV color value to RGB.
  525. // *Assumes:* h is contained in [0, 1] or [0, 360] and s and v are contained in [0, 1] or [0, 100]
  526. // *Returns:* { r, g, b } in the set [0, 255]
  527. function hsvToRgb(h, s, v) {
  528. h = bound01(h, 360) * 6;
  529. s = bound01(s, 100);
  530. v = bound01(v, 100);
  531. var i = Math.floor(h),
  532. f = h - i,
  533. p = v * (1 - s),
  534. q = v * (1 - f * s),
  535. t = v * (1 - (1 - f) * s),
  536. mod = i % 6,
  537. r = [v, q, p, p, t, v][mod],
  538. g = [t, v, v, q, p, p][mod],
  539. b = [p, p, t, v, v, q][mod];
  540. return { r: r * 255, g: g * 255, b: b * 255 };
  541. }
  542. // rgbToHex
  543. // Converts an RGB color to hex
  544. // Assumes r, g, and b are contained in the set [0, 255]
  545. // Returns a 3 or 6 character hex
  546. function rgbToHex(r, g, b, allow3Char) {
  547. var hex = [
  548. pad2(mathRound(r).toString(16)),
  549. pad2(mathRound(g).toString(16)),
  550. pad2(mathRound(b).toString(16))
  551. ];
  552. // Return a 3 character hex if possible
  553. if (allow3Char && hex[0].charAt(0) == hex[0].charAt(1) && hex[1].charAt(0) == hex[1].charAt(1) && hex[2].charAt(0) == hex[2].charAt(1)) {
  554. return hex[0].charAt(0) + hex[1].charAt(0) + hex[2].charAt(0);
  555. }
  556. return hex.join("");
  557. }
  558. // rgbaToHex
  559. // Converts an RGBA color plus alpha transparency to hex
  560. // Assumes r, g, b are contained in the set [0, 255] and
  561. // a in [0, 1]. Returns a 4 or 8 character rgba hex
  562. function rgbaToHex(r, g, b, a, allow4Char) {
  563. var hex = [
  564. pad2(mathRound(r).toString(16)),
  565. pad2(mathRound(g).toString(16)),
  566. pad2(mathRound(b).toString(16)),
  567. pad2(convertDecimalToHex(a))
  568. ];
  569. // Return a 4 character hex if possible
  570. if (allow4Char && hex[0].charAt(0) == hex[0].charAt(1) && hex[1].charAt(0) == hex[1].charAt(1) && hex[2].charAt(0) == hex[2].charAt(1) && hex[3].charAt(0) == hex[3].charAt(1)) {
  571. return hex[0].charAt(0) + hex[1].charAt(0) + hex[2].charAt(0) + hex[3].charAt(0);
  572. }
  573. return hex.join("");
  574. }
  575. // rgbaToArgbHex
  576. // Converts an RGBA color to an ARGB Hex8 string
  577. // Rarely used, but required for "toFilter()"
  578. function rgbaToArgbHex(r, g, b, a) {
  579. var hex = [
  580. pad2(convertDecimalToHex(a)),
  581. pad2(mathRound(r).toString(16)),
  582. pad2(mathRound(g).toString(16)),
  583. pad2(mathRound(b).toString(16))
  584. ];
  585. return hex.join("");
  586. }
  587. // equals
  588. // Can be called with any tinycolor input
  589. tinycolor.equals = function (color1, color2) {
  590. if (!color1 || !color2) { return false; }
  591. return tinycolor(color1).toRgbString() == tinycolor(color2).toRgbString();
  592. };
  593. tinycolor.random = function() {
  594. return tinycolor.fromRatio({
  595. r: mathRandom(),
  596. g: mathRandom(),
  597. b: mathRandom()
  598. });
  599. };
  600. // Modification Functions
  601. // ----------------------
  602. // Thanks to less.js for some of the basics here
  603. // <https://github.com/cloudhead/less.js/blob/master/lib/less/functions.js>
  604. function desaturate(color, amount) {
  605. amount = (amount === 0) ? 0 : (amount || 10);
  606. var hsl = tinycolor(color).toHsl();
  607. hsl.s -= amount / 100;
  608. hsl.s = clamp01(hsl.s);
  609. return tinycolor(hsl);
  610. }
  611. function saturate(color, amount) {
  612. amount = (amount === 0) ? 0 : (amount || 10);
  613. var hsl = tinycolor(color).toHsl();
  614. hsl.s += amount / 100;
  615. hsl.s = clamp01(hsl.s);
  616. return tinycolor(hsl);
  617. }
  618. function greyscale(color) {
  619. return tinycolor(color).desaturate(100);
  620. }
  621. function lighten (color, amount) {
  622. amount = (amount === 0) ? 0 : (amount || 10);
  623. var hsl = tinycolor(color).toHsl();
  624. hsl.l += amount / 100;
  625. hsl.l = clamp01(hsl.l);
  626. return tinycolor(hsl);
  627. }
  628. function brighten(color, amount) {
  629. amount = (amount === 0) ? 0 : (amount || 10);
  630. var rgb = tinycolor(color).toRgb();
  631. rgb.r = mathMax(0, mathMin(255, rgb.r - mathRound(255 * - (amount / 100))));
  632. rgb.g = mathMax(0, mathMin(255, rgb.g - mathRound(255 * - (amount / 100))));
  633. rgb.b = mathMax(0, mathMin(255, rgb.b - mathRound(255 * - (amount / 100))));
  634. return tinycolor(rgb);
  635. }
  636. function darken (color, amount) {
  637. amount = (amount === 0) ? 0 : (amount || 10);
  638. var hsl = tinycolor(color).toHsl();
  639. hsl.l -= amount / 100;
  640. hsl.l = clamp01(hsl.l);
  641. return tinycolor(hsl);
  642. }
  643. // Spin takes a positive or negative amount within [-360, 360] indicating the change of hue.
  644. // Values outside of this range will be wrapped into this range.
  645. function spin(color, amount) {
  646. var hsl = tinycolor(color).toHsl();
  647. var hue = (hsl.h + amount) % 360;
  648. hsl.h = hue < 0 ? 360 + hue : hue;
  649. return tinycolor(hsl);
  650. }
  651. // Combination Functions
  652. // ---------------------
  653. // Thanks to jQuery xColor for some of the ideas behind these
  654. // <https://github.com/infusion/jQuery-xcolor/blob/master/jquery.xcolor.js>
  655. function complement(color) {
  656. var hsl = tinycolor(color).toHsl();
  657. hsl.h = (hsl.h + 180) % 360;
  658. return tinycolor(hsl);
  659. }
  660. function triad(color) {
  661. var hsl = tinycolor(color).toHsl();
  662. var h = hsl.h;
  663. return [
  664. tinycolor(color),
  665. tinycolor({ h: (h + 120) % 360, s: hsl.s, l: hsl.l }),
  666. tinycolor({ h: (h + 240) % 360, s: hsl.s, l: hsl.l })
  667. ];
  668. }
  669. function tetrad(color) {
  670. var hsl = tinycolor(color).toHsl();
  671. var h = hsl.h;
  672. return [
  673. tinycolor(color),
  674. tinycolor({ h: (h + 90) % 360, s: hsl.s, l: hsl.l }),
  675. tinycolor({ h: (h + 180) % 360, s: hsl.s, l: hsl.l }),
  676. tinycolor({ h: (h + 270) % 360, s: hsl.s, l: hsl.l })
  677. ];
  678. }
  679. function splitcomplement(color) {
  680. var hsl = tinycolor(color).toHsl();
  681. var h = hsl.h;
  682. return [
  683. tinycolor(color),
  684. tinycolor({ h: (h + 72) % 360, s: hsl.s, l: hsl.l}),
  685. tinycolor({ h: (h + 216) % 360, s: hsl.s, l: hsl.l})
  686. ];
  687. }
  688. function analogous(color, results, slices) {
  689. results = results || 6;
  690. slices = slices || 30;
  691. var hsl = tinycolor(color).toHsl();
  692. var part = 360 / slices;
  693. var ret = [tinycolor(color)];
  694. for (hsl.h = ((hsl.h - (part * results >> 1)) + 720) % 360; --results; ) {
  695. hsl.h = (hsl.h + part) % 360;
  696. ret.push(tinycolor(hsl));
  697. }
  698. return ret;
  699. }
  700. function monochromatic(color, results) {
  701. results = results || 6;
  702. var hsv = tinycolor(color).toHsv();
  703. var h = hsv.h, s = hsv.s, v = hsv.v;
  704. var ret = [];
  705. var modification = 1 / results;
  706. while (results--) {
  707. ret.push(tinycolor({ h: h, s: s, v: v}));
  708. v = (v + modification) % 1;
  709. }
  710. return ret;
  711. }
  712. // Utility Functions
  713. // ---------------------
  714. tinycolor.mix = function(color1, color2, amount) {
  715. amount = (amount === 0) ? 0 : (amount || 50);
  716. var rgb1 = tinycolor(color1).toRgb();
  717. var rgb2 = tinycolor(color2).toRgb();
  718. var p = amount / 100;
  719. var rgba = {
  720. r: ((rgb2.r - rgb1.r) * p) + rgb1.r,
  721. g: ((rgb2.g - rgb1.g) * p) + rgb1.g,
  722. b: ((rgb2.b - rgb1.b) * p) + rgb1.b,
  723. a: ((rgb2.a - rgb1.a) * p) + rgb1.a
  724. };
  725. return tinycolor(rgba);
  726. };
  727. // Readability Functions
  728. // ---------------------
  729. // <http://www.w3.org/TR/2008/REC-WCAG20-20081211/#contrast-ratiodef (WCAG Version 2)
  730. // contrast
  731. // Analyze the 2 colors and returns the color contrast defined by (WCAG Version 2)
  732. tinycolor.readability = function(color1, color2) {
  733. var c1 = tinycolor(color1);
  734. var c2 = tinycolor(color2);
  735. return (Math.max(c1.getLuminance(),c2.getLuminance())+0.05) / (Math.min(c1.getLuminance(),c2.getLuminance())+0.05);
  736. };
  737. // isReadable
  738. // Ensure that foreground and background color combinations meet WCAG2 guidelines.
  739. // The third argument is an optional Object.
  740. // the 'level' property states 'AA' or 'AAA' - if missing or invalid, it defaults to 'AA';
  741. // the 'size' property states 'large' or 'small' - if missing or invalid, it defaults to 'small'.
  742. // If the entire object is absent, isReadable defaults to {level:"AA",size:"small"}.
  743. // *Example*
  744. // tinycolor.isReadable("#000", "#111") => false
  745. // tinycolor.isReadable("#000", "#111",{level:"AA",size:"large"}) => false
  746. tinycolor.isReadable = function(color1, color2, wcag2) {
  747. var readability = tinycolor.readability(color1, color2);
  748. var wcag2Parms, out;
  749. out = false;
  750. wcag2Parms = validateWCAG2Parms(wcag2);
  751. switch (wcag2Parms.level + wcag2Parms.size) {
  752. case "AAsmall":
  753. case "AAAlarge":
  754. out = readability >= 4.5;
  755. break;
  756. case "AAlarge":
  757. out = readability >= 3;
  758. break;
  759. case "AAAsmall":
  760. out = readability >= 7;
  761. break;
  762. }
  763. return out;
  764. };
  765. // mostReadable
  766. // Given a base color and a list of possible foreground or background
  767. // colors for that base, returns the most readable color.
  768. // Optionally returns Black or White if the most readable color is unreadable.
  769. // *Example*
  770. // tinycolor.mostReadable(tinycolor.mostReadable("#123", ["#124", "#125"],{includeFallbackColors:false}).toHexString(); // "#112255"
  771. // tinycolor.mostReadable(tinycolor.mostReadable("#123", ["#124", "#125"],{includeFallbackColors:true}).toHexString(); // "#ffffff"
  772. // tinycolor.mostReadable("#a8015a", ["#faf3f3"],{includeFallbackColors:true,level:"AAA",size:"large"}).toHexString(); // "#faf3f3"
  773. // tinycolor.mostReadable("#a8015a", ["#faf3f3"],{includeFallbackColors:true,level:"AAA",size:"small"}).toHexString(); // "#ffffff"
  774. tinycolor.mostReadable = function(baseColor, colorList, args) {
  775. var bestColor = null;
  776. var bestScore = 0;
  777. var readability;
  778. var includeFallbackColors, level, size ;
  779. args = args || {};
  780. includeFallbackColors = args.includeFallbackColors ;
  781. level = args.level;
  782. size = args.size;
  783. for (var i= 0; i < colorList.length ; i++) {
  784. readability = tinycolor.readability(baseColor, colorList[i]);
  785. if (readability > bestScore) {
  786. bestScore = readability;
  787. bestColor = tinycolor(colorList[i]);
  788. }
  789. }
  790. if (tinycolor.isReadable(baseColor, bestColor, {"level":level,"size":size}) || !includeFallbackColors) {
  791. return bestColor;
  792. }
  793. else {
  794. args.includeFallbackColors=false;
  795. return tinycolor.mostReadable(baseColor,["#fff", "#000"],args);
  796. }
  797. };
  798. // Big List of Colors
  799. // ------------------
  800. // <http://www.w3.org/TR/css3-color/#svg-color>
  801. var names = tinycolor.names = {
  802. aliceblue: "f0f8ff",
  803. antiquewhite: "faebd7",
  804. aqua: "0ff",
  805. aquamarine: "7fffd4",
  806. azure: "f0ffff",
  807. beige: "f5f5dc",
  808. bisque: "ffe4c4",
  809. black: "000",
  810. blanchedalmond: "ffebcd",
  811. blue: "00f",
  812. blueviolet: "8a2be2",
  813. brown: "a52a2a",
  814. burlywood: "deb887",
  815. burntsienna: "ea7e5d",
  816. cadetblue: "5f9ea0",
  817. chartreuse: "7fff00",
  818. chocolate: "d2691e",
  819. coral: "ff7f50",
  820. cornflowerblue: "6495ed",
  821. cornsilk: "fff8dc",
  822. crimson: "dc143c",
  823. cyan: "0ff",
  824. darkblue: "00008b",
  825. darkcyan: "008b8b",
  826. darkgoldenrod: "b8860b",
  827. darkgray: "a9a9a9",
  828. darkgreen: "006400",
  829. darkgrey: "a9a9a9",
  830. darkkhaki: "bdb76b",
  831. darkmagenta: "8b008b",
  832. darkolivegreen: "556b2f",
  833. darkorange: "ff8c00",
  834. darkorchid: "9932cc",
  835. darkred: "8b0000",
  836. darksalmon: "e9967a",
  837. darkseagreen: "8fbc8f",
  838. darkslateblue: "483d8b",
  839. darkslategray: "2f4f4f",
  840. darkslategrey: "2f4f4f",
  841. darkturquoise: "00ced1",
  842. darkviolet: "9400d3",
  843. deeppink: "ff1493",
  844. deepskyblue: "00bfff",
  845. dimgray: "696969",
  846. dimgrey: "696969",
  847. dodgerblue: "1e90ff",
  848. firebrick: "b22222",
  849. floralwhite: "fffaf0",
  850. forestgreen: "228b22",
  851. fuchsia: "f0f",
  852. gainsboro: "dcdcdc",
  853. ghostwhite: "f8f8ff",
  854. gold: "ffd700",
  855. goldenrod: "daa520",
  856. gray: "808080",
  857. green: "008000",
  858. greenyellow: "adff2f",
  859. grey: "808080",
  860. honeydew: "f0fff0",
  861. hotpink: "ff69b4",
  862. indianred: "cd5c5c",
  863. indigo: "4b0082",
  864. ivory: "fffff0",
  865. khaki: "f0e68c",
  866. lavender: "e6e6fa",
  867. lavenderblush: "fff0f5",
  868. lawngreen: "7cfc00",
  869. lemonchiffon: "fffacd",
  870. lightblue: "add8e6",
  871. lightcoral: "f08080",
  872. lightcyan: "e0ffff",
  873. lightgoldenrodyellow: "fafad2",
  874. lightgray: "d3d3d3",
  875. lightgreen: "90ee90",
  876. lightgrey: "d3d3d3",
  877. lightpink: "ffb6c1",
  878. lightsalmon: "ffa07a",
  879. lightseagreen: "20b2aa",
  880. lightskyblue: "87cefa",
  881. lightslategray: "789",
  882. lightslategrey: "789",
  883. lightsteelblue: "b0c4de",
  884. lightyellow: "ffffe0",
  885. lime: "0f0",
  886. limegreen: "32cd32",
  887. linen: "faf0e6",
  888. magenta: "f0f",
  889. maroon: "800000",
  890. mediumaquamarine: "66cdaa",
  891. mediumblue: "0000cd",
  892. mediumorchid: "ba55d3",
  893. mediumpurple: "9370db",
  894. mediumseagreen: "3cb371",
  895. mediumslateblue: "7b68ee",
  896. mediumspringgreen: "00fa9a",
  897. mediumturquoise: "48d1cc",
  898. mediumvioletred: "c71585",
  899. midnightblue: "191970",
  900. mintcream: "f5fffa",
  901. mistyrose: "ffe4e1",
  902. moccasin: "ffe4b5",
  903. navajowhite: "ffdead",
  904. navy: "000080",
  905. oldlace: "fdf5e6",
  906. olive: "808000",
  907. olivedrab: "6b8e23",
  908. orange: "ffa500",
  909. orangered: "ff4500",
  910. orchid: "da70d6",
  911. palegoldenrod: "eee8aa",
  912. palegreen: "98fb98",
  913. paleturquoise: "afeeee",
  914. palevioletred: "db7093",
  915. papayawhip: "ffefd5",
  916. peachpuff: "ffdab9",
  917. peru: "cd853f",
  918. pink: "ffc0cb",
  919. plum: "dda0dd",
  920. powderblue: "b0e0e6",
  921. purple: "800080",
  922. rebeccapurple: "663399",
  923. red: "f00",
  924. rosybrown: "bc8f8f",
  925. royalblue: "4169e1",
  926. saddlebrown: "8b4513",
  927. salmon: "fa8072",
  928. sandybrown: "f4a460",
  929. seagreen: "2e8b57",
  930. seashell: "fff5ee",
  931. sienna: "a0522d",
  932. silver: "c0c0c0",
  933. skyblue: "87ceeb",
  934. slateblue: "6a5acd",
  935. slategray: "708090",
  936. slategrey: "708090",
  937. snow: "fffafa",
  938. springgreen: "00ff7f",
  939. steelblue: "4682b4",
  940. tan: "d2b48c",
  941. teal: "008080",
  942. thistle: "d8bfd8",
  943. tomato: "ff6347",
  944. turquoise: "40e0d0",
  945. violet: "ee82ee",
  946. wheat: "f5deb3",
  947. white: "fff",
  948. whitesmoke: "f5f5f5",
  949. yellow: "ff0",
  950. yellowgreen: "9acd32"
  951. };
  952. // Make it easy to access colors via hexNames[hex]
  953. var hexNames = tinycolor.hexNames = flip(names);
  954. // Utilities
  955. // ---------
  956. // { 'name1': 'val1' } becomes { 'val1': 'name1' }
  957. function flip(o) {
  958. var flipped = { };
  959. for (var i in o) {
  960. if (o.hasOwnProperty(i)) {
  961. flipped[o[i]] = i;
  962. }
  963. }
  964. return flipped;
  965. }
  966. // Return a valid alpha value [0,1] with all invalid values being set to 1
  967. function boundAlpha(a) {
  968. a = parseFloat(a);
  969. if (isNaN(a) || a < 0 || a > 1) {
  970. a = 1;
  971. }
  972. return a;
  973. }
  974. // Take input from [0, n] and return it as [0, 1]
  975. function bound01(n, max) {
  976. if (isOnePointZero(n)) { n = "100%"; }
  977. var processPercent = isPercentage(n);
  978. n = mathMin(max, mathMax(0, parseFloat(n)));
  979. // Automatically convert percentage into number
  980. if (processPercent) {
  981. n = parseInt(n * max, 10) / 100;
  982. }
  983. // Handle floating point rounding errors
  984. if ((Math.abs(n - max) < 0.000001)) {
  985. return 1;
  986. }
  987. // Convert into [0, 1] range if it isn't already
  988. return (n % max) / parseFloat(max);
  989. }
  990. // Force a number between 0 and 1
  991. function clamp01(val) {
  992. return mathMin(1, mathMax(0, val));
  993. }
  994. // Parse a base-16 hex value into a base-10 integer
  995. function parseIntFromHex(val) {
  996. return parseInt(val, 16);
  997. }
  998. // Need to handle 1.0 as 100%, since once it is a number, there is no difference between it and 1
  999. // <http://stackoverflow.com/questions/7422072/javascript-how-to-detect-number-as-a-decimal-including-1-0>
  1000. function isOnePointZero(n) {
  1001. return typeof n == "string" && n.indexOf('.') != -1 && parseFloat(n) === 1;
  1002. }
  1003. // Check to see if string passed in is a percentage
  1004. function isPercentage(n) {
  1005. return typeof n === "string" && n.indexOf('%') != -1;
  1006. }
  1007. // Force a hex value to have 2 characters
  1008. function pad2(c) {
  1009. return c.length == 1 ? '0' + c : '' + c;
  1010. }
  1011. // Replace a decimal with it's percentage value
  1012. function convertToPercentage(n) {
  1013. if (n <= 1) {
  1014. n = (n * 100) + "%";
  1015. }
  1016. return n;
  1017. }
  1018. // Converts a decimal to a hex value
  1019. function convertDecimalToHex(d) {
  1020. return Math.round(parseFloat(d) * 255).toString(16);
  1021. }
  1022. // Converts a hex value to a decimal
  1023. function convertHexToDecimal(h) {
  1024. return (parseIntFromHex(h) / 255);
  1025. }
  1026. var matchers = (function() {
  1027. // <http://www.w3.org/TR/css3-values/#integers>
  1028. var CSS_INTEGER = "[-\\+]?\\d+%?";
  1029. // <http://www.w3.org/TR/css3-values/#number-value>
  1030. var CSS_NUMBER = "[-\\+]?\\d*\\.\\d+%?";
  1031. // Allow positive/negative integer/number. Don't capture the either/or, just the entire outcome.
  1032. var CSS_UNIT = "(?:" + CSS_NUMBER + ")|(?:" + CSS_INTEGER + ")";
  1033. // Actual matching.
  1034. // Parentheses and commas are optional, but not required.
  1035. // Whitespace can take the place of commas or opening paren
  1036. var PERMISSIVE_MATCH3 = "[\\s|\\(]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")\\s*\\)?";
  1037. var PERMISSIVE_MATCH4 = "[\\s|\\(]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")\\s*\\)?";
  1038. return {
  1039. CSS_UNIT: new RegExp(CSS_UNIT),
  1040. rgb: new RegExp("rgb" + PERMISSIVE_MATCH3),
  1041. rgba: new RegExp("rgba" + PERMISSIVE_MATCH4),
  1042. hsl: new RegExp("hsl" + PERMISSIVE_MATCH3),
  1043. hsla: new RegExp("hsla" + PERMISSIVE_MATCH4),
  1044. hsv: new RegExp("hsv" + PERMISSIVE_MATCH3),
  1045. hsva: new RegExp("hsva" + PERMISSIVE_MATCH4),
  1046. hex3: /^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,
  1047. hex6: /^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,
  1048. hex4: /^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,
  1049. hex8: /^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/
  1050. };
  1051. })();
  1052. // isValidCSSUnit
  1053. // Take in a single string / number and check to see if it looks like a CSS unit
  1054. // (see matchers above for definition).
  1055. function isValidCSSUnit(color) {
  1056. return !!matchers.CSS_UNIT.exec(color);
  1057. }
  1058. // stringInputToObject
  1059. // Permissive string parsing. Take in a number of formats, and output an object
  1060. // based on detected format. Returns { r, g, b } or { h, s, l } or { h, s, v}
  1061. function stringInputToObject(color) {
  1062. color = color.replace(trimLeft, '').replace(trimRight, '').toLowerCase();
  1063. var named = false;
  1064. if (names[color]) {
  1065. color = names[color];
  1066. named = true;
  1067. }
  1068. else if (color == 'transparent') {
  1069. return { r: 0, g: 0, b: 0, a: 0, format: "name" };
  1070. }
  1071. // Try to match string input using regular expressions.
  1072. // Keep most of the number bounding out of this function - don't worry about [0,1] or [0,100] or [0,360]
  1073. // Just return an object and let the conversion functions handle that.
  1074. // This way the result will be the same whether the tinycolor is initialized with string or object.
  1075. var match;
  1076. if ((match = matchers.rgb.exec(color))) {
  1077. return { r: match[1], g: match[2], b: match[3] };
  1078. }
  1079. if ((match = matchers.rgba.exec(color))) {
  1080. return { r: match[1], g: match[2], b: match[3], a: match[4] };
  1081. }
  1082. if ((match = matchers.hsl.exec(color))) {
  1083. return { h: match[1], s: match[2], l: match[3] };
  1084. }
  1085. if ((match = matchers.hsla.exec(color))) {
  1086. return { h: match[1], s: match[2], l: match[3], a: match[4] };
  1087. }
  1088. if ((match = matchers.hsv.exec(color))) {
  1089. return { h: match[1], s: match[2], v: match[3] };
  1090. }
  1091. if ((match = matchers.hsva.exec(color))) {
  1092. return { h: match[1], s: match[2], v: match[3], a: match[4] };
  1093. }
  1094. if ((match = matchers.hex8.exec(color))) {
  1095. return {
  1096. r: parseIntFromHex(match[1]),
  1097. g: parseIntFromHex(match[2]),
  1098. b: parseIntFromHex(match[3]),
  1099. a: convertHexToDecimal(match[4]),
  1100. format: named ? "name" : "hex8"
  1101. };
  1102. }
  1103. if ((match = matchers.hex6.exec(color))) {
  1104. return {
  1105. r: parseIntFromHex(match[1]),
  1106. g: parseIntFromHex(match[2]),
  1107. b: parseIntFromHex(match[3]),
  1108. format: named ? "name" : "hex"
  1109. };
  1110. }
  1111. if ((match = matchers.hex4.exec(color))) {
  1112. return {
  1113. r: parseIntFromHex(match[1] + '' + match[1]),
  1114. g: parseIntFromHex(match[2] + '' + match[2]),
  1115. b: parseIntFromHex(match[3] + '' + match[3]),
  1116. a: convertHexToDecimal(match[4] + '' + match[4]),
  1117. format: named ? "name" : "hex8"
  1118. };
  1119. }
  1120. if ((match = matchers.hex3.exec(color))) {
  1121. return {
  1122. r: parseIntFromHex(match[1] + '' + match[1]),
  1123. g: parseIntFromHex(match[2] + '' + match[2]),
  1124. b: parseIntFromHex(match[3] + '' + match[3]),
  1125. format: named ? "name" : "hex"
  1126. };
  1127. }
  1128. return false;
  1129. }
  1130. function validateWCAG2Parms(parms) {
  1131. // return valid WCAG2 parms for isReadable.
  1132. // If input parms are invalid, return {"level":"AA", "size":"small"}
  1133. var level, size;
  1134. parms = parms || {"level":"AA", "size":"small"};
  1135. level = (parms.level || "AA").toUpperCase();
  1136. size = (parms.size || "small").toLowerCase();
  1137. if (level !== "AA" && level !== "AAA") {
  1138. level = "AA";
  1139. }
  1140. if (size !== "small" && size !== "large") {
  1141. size = "small";
  1142. }
  1143. return {"level":level, "size":size};
  1144. }
  1145. this.tinycolor = tinycolor;
  1146. })()`;
  1147. }
  1148. // It is hacky way to make this function will be compiled preferentially by less
  1149. // resolve error: `ReferenceError: colorPalette is not defined`
  1150. // https://github.com/ant-design/ant-motion/issues/44
  1151. .tinyColorMixin();
  1152. // We create a very complex algorithm which take the place of original tint/shade color system
  1153. // to make sure no one can understand it 👻
  1154. // and create an entire color palette magicly by inputing just a single primary color.
  1155. // We are using bezier-curve easing function and some color manipulations like tint/shade/darken/spin
  1156. .colorPaletteMixin() {
  1157. @functions: ~`(function() {
  1158. var hueStep = 2;
  1159. var saturationStep = 16;
  1160. var saturationStep2 = 5;
  1161. var brightnessStep1 = 5;
  1162. var brightnessStep2 = 15;
  1163. var lightColorCount = 5;
  1164. var darkColorCount = 4;
  1165. var getHue = function(hsv, i, isLight) {
  1166. var hue;
  1167. if (hsv.h >= 60 && hsv.h <= 240) {
  1168. hue = isLight ? hsv.h - hueStep * i : hsv.h + hueStep * i;
  1169. } else {
  1170. hue = isLight ? hsv.h + hueStep * i : hsv.h - hueStep * i;
  1171. }
  1172. if (hue < 0) {
  1173. hue += 360;
  1174. } else if (hue >= 360) {
  1175. hue -= 360;
  1176. }
  1177. return Math.round(hue);
  1178. };
  1179. var getSaturation = function(hsv, i, isLight) {
  1180. var saturation;
  1181. if (isLight) {
  1182. saturation = Math.round(hsv.s * 100) - saturationStep * i;
  1183. } else if (i == darkColorCount) {
  1184. saturation = Math.round(hsv.s * 100) + saturationStep;
  1185. } else {
  1186. saturation = Math.round(hsv.s * 100) + saturationStep2 * i;
  1187. }
  1188. if (saturation > 100) {
  1189. saturation = 100;
  1190. }
  1191. if (isLight && i === lightColorCount && saturation > 10) {
  1192. saturation = 10;
  1193. }
  1194. if (saturation < 6) {
  1195. saturation = 6;
  1196. }
  1197. return Math.round(saturation);
  1198. };
  1199. var getValue = function(hsv, i, isLight) {
  1200. if (isLight) {
  1201. return Math.round(hsv.v * 100) + brightnessStep1 * i;
  1202. }
  1203. return Math.round(hsv.v * 100) - brightnessStep2 * i;
  1204. };
  1205. this.colorPalette = function(color, index) {
  1206. var isLight = index <= 6;
  1207. var hsv = tinycolor(color).toHsv();
  1208. var i = isLight ? lightColorCount + 1 - index : index - lightColorCount - 1;
  1209. return tinycolor({
  1210. h: getHue(hsv, i, isLight),
  1211. s: getSaturation(hsv, i, isLight),
  1212. v: getValue(hsv, i, isLight),
  1213. }).toHexString();
  1214. };
  1215. })()`;
  1216. }
  1217. // It is hacky way to make this function will be compiled preferentially by less
  1218. // resolve error: `ReferenceError: colorPalette is not defined`
  1219. // https://github.com/ant-design/ant-motion/issues/44
  1220. .colorPaletteMixin();
  1221. // color palettes
  1222. @blue-1: color(~`colorPalette("@{blue-6}", 1)`);
  1223. @blue-2: color(~`colorPalette("@{blue-6}", 2)`);
  1224. @blue-3: color(~`colorPalette("@{blue-6}", 3)`);
  1225. @blue-4: color(~`colorPalette("@{blue-6}", 4)`);
  1226. @blue-5: color(~`colorPalette("@{blue-6}", 5)`);
  1227. @blue-6: #1890ff;
  1228. @blue-7: color(~`colorPalette("@{blue-6}", 7)`);
  1229. @blue-8: color(~`colorPalette("@{blue-6}", 8)`);
  1230. @blue-9: color(~`colorPalette("@{blue-6}", 9)`);
  1231. @blue-10: color(~`colorPalette("@{blue-6}", 10)`);
  1232. @purple-1: color(~`colorPalette("@{purple-6}", 1)`);
  1233. @purple-2: color(~`colorPalette("@{purple-6}", 2)`);
  1234. @purple-3: color(~`colorPalette("@{purple-6}", 3)`);
  1235. @purple-4: color(~`colorPalette("@{purple-6}", 4)`);
  1236. @purple-5: color(~`colorPalette("@{purple-6}", 5)`);
  1237. @purple-6: #722ed1;
  1238. @purple-7: color(~`colorPalette("@{purple-6}", 7)`);
  1239. @purple-8: color(~`colorPalette("@{purple-6}", 8)`);
  1240. @purple-9: color(~`colorPalette("@{purple-6}", 9)`);
  1241. @purple-10: color(~`colorPalette("@{purple-6}", 10)`);
  1242. @cyan-1: color(~`colorPalette("@{cyan-6}", 1)`);
  1243. @cyan-2: color(~`colorPalette("@{cyan-6}", 2)`);
  1244. @cyan-3: color(~`colorPalette("@{cyan-6}", 3)`);
  1245. @cyan-4: color(~`colorPalette("@{cyan-6}", 4)`);
  1246. @cyan-5: color(~`colorPalette("@{cyan-6}", 5)`);
  1247. @cyan-6: #13c2c2;
  1248. @cyan-7: color(~`colorPalette("@{cyan-6}", 7)`);
  1249. @cyan-8: color(~`colorPalette("@{cyan-6}", 8)`);
  1250. @cyan-9: color(~`colorPalette("@{cyan-6}", 9)`);
  1251. @cyan-10: color(~`colorPalette("@{cyan-6}", 10)`);
  1252. @green-1: color(~`colorPalette("@{green-6}", 1)`);
  1253. @green-2: color(~`colorPalette("@{green-6}", 2)`);
  1254. @green-3: color(~`colorPalette("@{green-6}", 3)`);
  1255. @green-4: color(~`colorPalette("@{green-6}", 4)`);
  1256. @green-5: color(~`colorPalette("@{green-6}", 5)`);
  1257. @green-6: #52c41a;
  1258. @green-7: color(~`colorPalette("@{green-6}", 7)`);
  1259. @green-8: color(~`colorPalette("@{green-6}", 8)`);
  1260. @green-9: color(~`colorPalette("@{green-6}", 9)`);
  1261. @green-10: color(~`colorPalette("@{green-6}", 10)`);
  1262. @magenta-1: color(~`colorPalette("@{magenta-6}", 1)`);
  1263. @magenta-2: color(~`colorPalette("@{magenta-6}", 2)`);
  1264. @magenta-3: color(~`colorPalette("@{magenta-6}", 3)`);
  1265. @magenta-4: color(~`colorPalette("@{magenta-6}", 4)`);
  1266. @magenta-5: color(~`colorPalette("@{magenta-6}", 5)`);
  1267. @magenta-6: #eb2f96;
  1268. @magenta-7: color(~`colorPalette("@{magenta-6}", 7)`);
  1269. @magenta-8: color(~`colorPalette("@{magenta-6}", 8)`);
  1270. @magenta-9: color(~`colorPalette("@{magenta-6}", 9)`);
  1271. @magenta-10: color(~`colorPalette("@{magenta-6}", 10)`);
  1272. // alias of magenta
  1273. @pink-1: color(~`colorPalette("@{pink-6}", 1)`);
  1274. @pink-2: color(~`colorPalette("@{pink-6}", 2)`);
  1275. @pink-3: color(~`colorPalette("@{pink-6}", 3)`);
  1276. @pink-4: color(~`colorPalette("@{pink-6}", 4)`);
  1277. @pink-5: color(~`colorPalette("@{pink-6}", 5)`);
  1278. @pink-6: #eb2f96;
  1279. @pink-7: color(~`colorPalette("@{pink-6}", 7)`);
  1280. @pink-8: color(~`colorPalette("@{pink-6}", 8)`);
  1281. @pink-9: color(~`colorPalette("@{pink-6}", 9)`);
  1282. @pink-10: color(~`colorPalette("@{pink-6}", 10)`);
  1283. @red-1: color(~`colorPalette("@{red-6}", 1)`);
  1284. @red-2: color(~`colorPalette("@{red-6}", 2)`);
  1285. @red-3: color(~`colorPalette("@{red-6}", 3)`);
  1286. @red-4: color(~`colorPalette("@{red-6}", 4)`);
  1287. @red-5: color(~`colorPalette("@{red-6}", 5)`);
  1288. @red-6: #f5222d;
  1289. @red-7: color(~`colorPalette("@{red-6}", 7)`);
  1290. @red-8: color(~`colorPalette("@{red-6}", 8)`);
  1291. @red-9: color(~`colorPalette("@{red-6}", 9)`);
  1292. @red-10: color(~`colorPalette("@{red-6}", 10)`);
  1293. @orange-1: color(~`colorPalette("@{orange-6}", 1)`);
  1294. @orange-2: color(~`colorPalette("@{orange-6}", 2)`);
  1295. @orange-3: color(~`colorPalette("@{orange-6}", 3)`);
  1296. @orange-4: color(~`colorPalette("@{orange-6}", 4)`);
  1297. @orange-5: color(~`colorPalette("@{orange-6}", 5)`);
  1298. @orange-6: #fa8c16;
  1299. @orange-7: color(~`colorPalette("@{orange-6}", 7)`);
  1300. @orange-8: color(~`colorPalette("@{orange-6}", 8)`);
  1301. @orange-9: color(~`colorPalette("@{orange-6}", 9)`);
  1302. @orange-10: color(~`colorPalette("@{orange-6}", 10)`);
  1303. @yellow-1: color(~`colorPalette("@{yellow-6}", 1)`);
  1304. @yellow-2: color(~`colorPalette("@{yellow-6}", 2)`);
  1305. @yellow-3: color(~`colorPalette("@{yellow-6}", 3)`);
  1306. @yellow-4: color(~`colorPalette("@{yellow-6}", 4)`);
  1307. @yellow-5: color(~`colorPalette("@{yellow-6}", 5)`);
  1308. @yellow-6: #fadb14;
  1309. @yellow-7: color(~`colorPalette("@{yellow-6}", 7)`);
  1310. @yellow-8: color(~`colorPalette("@{yellow-6}", 8)`);
  1311. @yellow-9: color(~`colorPalette("@{yellow-6}", 9)`);
  1312. @yellow-10: color(~`colorPalette("@{yellow-6}", 10)`);
  1313. @volcano-1: color(~`colorPalette("@{volcano-6}", 1)`);
  1314. @volcano-2: color(~`colorPalette("@{volcano-6}", 2)`);
  1315. @volcano-3: color(~`colorPalette("@{volcano-6}", 3)`);
  1316. @volcano-4: color(~`colorPalette("@{volcano-6}", 4)`);
  1317. @volcano-5: color(~`colorPalette("@{volcano-6}", 5)`);
  1318. @volcano-6: #fa541c;
  1319. @volcano-7: color(~`colorPalette("@{volcano-6}", 7)`);
  1320. @volcano-8: color(~`colorPalette("@{volcano-6}", 8)`);
  1321. @volcano-9: color(~`colorPalette("@{volcano-6}", 9)`);
  1322. @volcano-10: color(~`colorPalette("@{volcano-6}", 10)`);
  1323. @geekblue-1: color(~`colorPalette("@{geekblue-6}", 1)`);
  1324. @geekblue-2: color(~`colorPalette("@{geekblue-6}", 2)`);
  1325. @geekblue-3: color(~`colorPalette("@{geekblue-6}", 3)`);
  1326. @geekblue-4: color(~`colorPalette("@{geekblue-6}", 4)`);
  1327. @geekblue-5: color(~`colorPalette("@{geekblue-6}", 5)`);
  1328. @geekblue-6: #2f54eb;
  1329. @geekblue-7: color(~`colorPalette("@{geekblue-6}", 7)`);
  1330. @geekblue-8: color(~`colorPalette("@{geekblue-6}", 8)`);
  1331. @geekblue-9: color(~`colorPalette("@{geekblue-6}", 9)`);
  1332. @geekblue-10: color(~`colorPalette("@{geekblue-6}", 10)`);
  1333. @lime-1: color(~`colorPalette("@{lime-6}", 1)`);
  1334. @lime-2: color(~`colorPalette("@{lime-6}", 2)`);
  1335. @lime-3: color(~`colorPalette("@{lime-6}", 3)`);
  1336. @lime-4: color(~`colorPalette("@{lime-6}", 4)`);
  1337. @lime-5: color(~`colorPalette("@{lime-6}", 5)`);
  1338. @lime-6: #a0d911;
  1339. @lime-7: color(~`colorPalette("@{lime-6}", 7)`);
  1340. @lime-8: color(~`colorPalette("@{lime-6}", 8)`);
  1341. @lime-9: color(~`colorPalette("@{lime-6}", 9)`);
  1342. @lime-10: color(~`colorPalette("@{lime-6}", 10)`);
  1343. @gold-1: color(~`colorPalette("@{gold-6}", 1)`);
  1344. @gold-2: color(~`colorPalette("@{gold-6}", 2)`);
  1345. @gold-3: color(~`colorPalette("@{gold-6}", 3)`);
  1346. @gold-4: color(~`colorPalette("@{gold-6}", 4)`);
  1347. @gold-5: color(~`colorPalette("@{gold-6}", 5)`);
  1348. @gold-6: #faad14;
  1349. @gold-7: color(~`colorPalette("@{gold-6}", 7)`);
  1350. @gold-8: color(~`colorPalette("@{gold-6}", 8)`);
  1351. @gold-9: color(~`colorPalette("@{gold-6}", 9)`);
  1352. @gold-10: color(~`colorPalette("@{gold-6}", 10)`);
  1353. // The prefix to use on all css classes from ant.
  1354. @ant-prefix : ant;
  1355. // -------- Colors -----------
  1356. @info-color : @blue-6;
  1357. @success-color : @green-6;
  1358. @processing-color : @blue-6;
  1359. @error-color : @red-6;
  1360. @highlight-color : @red-6;
  1361. @warning-color : @gold-6;
  1362. @normal-color : #d9d9d9;
  1363. // Color used by default to control hover and active backgrounds and for
  1364. // alert info backgrounds.
  1365. @primary-1: color(~`colorPalette("@{primary-color}", 1)`); // replace tint(@primary-color, 90%)
  1366. @primary-2: color(~`colorPalette("@{primary-color}", 2)`); // replace tint(@primary-color, 80%)
  1367. @primary-3: color(~`colorPalette("@{primary-color}", 3)`); // unused
  1368. @primary-4: color(~`colorPalette("@{primary-color}", 4)`); // unused
  1369. @primary-5: color(~`colorPalette("@{primary-color}", 5)`); // color used to control the text color in many active and hover states, replace tint(@primary-color, 20%)
  1370. @primary-6: @primary-color; // color used to control the text color of active buttons, don't use, use @primary-color
  1371. @primary-7: color(~`colorPalette("@{primary-color}", 7)`); // replace shade(@primary-color, 5%)
  1372. @primary-8: color(~`colorPalette("@{primary-color}", 8)`); // unused
  1373. @primary-9: color(~`colorPalette("@{primary-color}", 9)`); // unused
  1374. @primary-10: color(~`colorPalette("@{primary-color}", 10)`); // unused
  1375. // Base Scaffolding Variables
  1376. // ---
  1377. // Background color for `<body>`
  1378. @body-background : #fff;
  1379. // Base background color for most components
  1380. @component-background : #fff;
  1381. @font-family : "Chinese Quote", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif,
  1382. "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  1383. @code-family : "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace;
  1384. @heading-color : fade(#000, 85%);
  1385. @text-color : fade(#000, 65%);
  1386. @text-color-secondary : fade(#000, 45%);
  1387. @heading-color-dark : fade(#fff, 100%);
  1388. @text-color-dark : fade(#fff, 85%);
  1389. @text-color-secondary-dark: fade(#fff, 65%);
  1390. @font-size-base : 14px;
  1391. @font-size-lg : @font-size-base + 2px;
  1392. @font-size-sm : 12px;
  1393. @line-height-base : 1.5;
  1394. @border-radius-base : 4px;
  1395. @border-radius-sm : 2px;
  1396. // vertical paddings
  1397. @padding-lg : 24px; // containers
  1398. @padding-md : 16px; // small containers and buttons
  1399. @padding-sm : 12px; // Form controls and items
  1400. @padding-xs : 8px; // small items
  1401. // vertical padding for all form controls
  1402. @control-padding-horizontal: @padding-sm;
  1403. @control-padding-horizontal-sm: @padding-xs;
  1404. // The background colors for active and hover states for things like
  1405. // list items or table cells.
  1406. @item-active-bg : @primary-1;
  1407. @item-hover-bg : @primary-1;
  1408. // ICONFONT
  1409. @iconfont-css-prefix : anticon;
  1410. // LINK
  1411. @link-color : @primary-color;
  1412. @link-hover-color : color(~`colorPalette("@{link-color}", 5)`);
  1413. @link-active-color : color(~`colorPalette("@{link-color}", 7)`);
  1414. @link-decoration : none;
  1415. @link-hover-decoration : none;
  1416. // Animation
  1417. @ease-base-out : cubic-bezier(0.7, 0.3, 0.1, 1);
  1418. @ease-base-in : cubic-bezier(0.9, 0, 0.3, 0.7);
  1419. @ease-out : cubic-bezier(0.215, 0.61, 0.355, 1);
  1420. @ease-in : cubic-bezier(0.55, 0.055, 0.675, 0.19);
  1421. @ease-in-out : cubic-bezier(0.645, 0.045, 0.355, 1);
  1422. @ease-out-back : cubic-bezier(0.12, 0.4, 0.29, 1.46);
  1423. @ease-in-back : cubic-bezier(0.71, -0.46, 0.88, 0.6);
  1424. @ease-in-out-back : cubic-bezier(0.71, -0.46, 0.29, 1.46);
  1425. @ease-out-circ : cubic-bezier(0.08, 0.82, 0.17, 1);
  1426. @ease-in-circ : cubic-bezier(0.6, 0.04, 0.98, 0.34);
  1427. @ease-in-out-circ : cubic-bezier(0.78, 0.14, 0.15, 0.86);
  1428. @ease-out-quint : cubic-bezier(0.23, 1, 0.32, 1);
  1429. @ease-in-quint : cubic-bezier(0.755, 0.05, 0.855, 0.06);
  1430. @ease-in-out-quint : cubic-bezier(0.86, 0, 0.07, 1);
  1431. // Border color
  1432. @border-color-base : hsv(0, 0, 85%); // base border outline a component
  1433. @border-color-split : hsv(0, 0, 91%); // split border inside a component
  1434. @border-width-base : 1px; // width of the border for a component
  1435. @border-style-base : solid; // style of a components border
  1436. // Outline
  1437. @outline-blur-size : 0;
  1438. @outline-width : 2px;
  1439. @outline-color : @primary-color;
  1440. @background-color-light : hsv(0, 0, 98%); // background of header and selected item
  1441. @background-color-base : hsv(0, 0, 96%); // Default grey background color
  1442. // Disabled states
  1443. @disabled-color : fade(#000, 25%);
  1444. @disabled-bg : @background-color-base;
  1445. @disabled-color-dark : fade(#fff, 35%);
  1446. // Shadow
  1447. @shadow-color : rgba(0, 0, 0, .15);
  1448. @box-shadow-base : @shadow-1-down;
  1449. @shadow-1-up : 0 -2px 8px @shadow-color;
  1450. @shadow-1-down : 0 2px 8px @shadow-color;
  1451. @shadow-1-left : -2px 0 8px @shadow-color;
  1452. @shadow-1-right : 2px 0 8px @shadow-color;
  1453. @shadow-2 : 0 4px 12px @shadow-color;
  1454. // Buttons
  1455. @btn-font-weight : 400;
  1456. @btn-border-radius-base : @border-radius-base;
  1457. @btn-border-radius-sm : @border-radius-base;
  1458. @btn-primary-color : #fff;
  1459. @btn-primary-bg : @primary-color;
  1460. @btn-default-color : @text-color;
  1461. @btn-default-bg : #fff;
  1462. @btn-default-border : @border-color-base;
  1463. @btn-danger-color : @error-color;
  1464. @btn-danger-bg : @background-color-base;
  1465. @btn-danger-border : @border-color-base;
  1466. @btn-disable-color : @disabled-color;
  1467. @btn-disable-bg : @disabled-bg;
  1468. @btn-disable-border : @border-color-base;
  1469. @btn-padding-base : 0 @padding-md - 1px;
  1470. @btn-font-size-lg : @font-size-lg;
  1471. @btn-font-size-sm : @font-size-base;
  1472. @btn-padding-lg : @btn-padding-base;
  1473. @btn-padding-sm : 0 @padding-xs - 1px;
  1474. @btn-height-base : 32px;
  1475. @btn-height-lg : 40px;
  1476. @btn-height-sm : 24px;
  1477. @btn-circle-size : @btn-height-base;
  1478. @btn-circle-size-lg : @btn-height-lg;
  1479. @btn-circle-size-sm : @btn-height-sm;
  1480. @btn-group-border : @primary-5;
  1481. // Checkbox
  1482. @checkbox-size : 16px;
  1483. @checkbox-color : @primary-color;
  1484. @checkbox-check-color : #fff;
  1485. // Radio
  1486. @radio-size : 16px;
  1487. @radio-dot-color : @primary-color;
  1488. // Radio buttons
  1489. @radio-button-bg : @btn-default-bg;
  1490. @radio-button-color : @btn-default-color;
  1491. @radio-button-hover-color : @primary-5;
  1492. @radio-button-active-color : @primary-7;
  1493. // Media queries breakpoints
  1494. // Extra small screen / phone
  1495. @screen-xs : 480px;
  1496. @screen-xs-min : @screen-xs;
  1497. // Small screen / tablet
  1498. @screen-sm : 576px;
  1499. @screen-sm-min : @screen-sm;
  1500. // Medium screen / desktop
  1501. @screen-md : 768px;
  1502. @screen-md-min : @screen-md;
  1503. // Large screen / wide desktop
  1504. @screen-lg : 992px;
  1505. @screen-lg-min : @screen-lg;
  1506. // Extra large screen / full hd
  1507. @screen-xl : 1200px;
  1508. @screen-xl-min : @screen-xl;
  1509. // Extra extra large screen / large descktop
  1510. @screen-xxl : 1600px;
  1511. @screen-xxl-min : @screen-xxl;
  1512. // provide a maximum
  1513. @screen-xs-max : (@screen-sm-min - 1px);
  1514. @screen-sm-max : (@screen-md-min - 1px);
  1515. @screen-md-max : (@screen-lg-min - 1px);
  1516. @screen-lg-max : (@screen-xl-min - 1px);
  1517. @screen-xl-max : (@screen-xxl-min - 1px);
  1518. // Grid system
  1519. @grid-columns : 24;
  1520. @grid-gutter-width : 0;
  1521. // Layout
  1522. @layout-body-background : #f0f2f5;
  1523. @layout-header-background : #001529;
  1524. @layout-footer-background : @layout-body-background;
  1525. @layout-header-height : 64px;
  1526. @layout-header-padding : 0 50px;
  1527. @layout-footer-padding : 24px 50px;
  1528. @layout-sider-background : @layout-header-background;
  1529. @layout-trigger-height : 48px;
  1530. @layout-trigger-background : #002140;
  1531. @layout-trigger-color : #fff;
  1532. @layout-zero-trigger-width : 36px;
  1533. @layout-zero-trigger-height : 42px;
  1534. // Layout light theme
  1535. @layout-sider-background-light : #fff;
  1536. @layout-trigger-background-light: #fff;
  1537. @layout-trigger-color-light : @text-color;
  1538. // z-index list
  1539. @zindex-affix : 10;
  1540. @zindex-back-top : 10;
  1541. @zindex-modal-mask : 1000;
  1542. @zindex-modal : 1000;
  1543. @zindex-notification : 1010;
  1544. @zindex-message : 1010;
  1545. @zindex-popover : 1030;
  1546. @zindex-picker : 1050;
  1547. @zindex-dropdown : 1050;
  1548. @zindex-tooltip : 1060;
  1549. // Animation
  1550. @animation-duration-slow: .3s; // Modal
  1551. @animation-duration-base: .2s;
  1552. @animation-duration-fast: .1s; // Tooltip
  1553. // Form
  1554. // ---
  1555. @label-required-color : @highlight-color;
  1556. @label-color : @heading-color;
  1557. @form-item-margin-bottom : 24px;
  1558. @form-item-trailing-colon : true;
  1559. @form-vertical-label-padding : 0 0 8px;
  1560. @form-vertical-label-margin : 0;
  1561. // Input
  1562. // ---
  1563. @input-height-base : 32px;
  1564. @input-height-lg : 40px;
  1565. @input-height-sm : 24px;
  1566. @input-padding-horizontal : @control-padding-horizontal - 1px;
  1567. @input-padding-horizontal-base: @input-padding-horizontal;
  1568. @input-padding-horizontal-sm : @control-padding-horizontal-sm - 1px;
  1569. @input-padding-horizontal-lg : @input-padding-horizontal;
  1570. @input-padding-vertical-base : 4px;
  1571. @input-padding-vertical-sm : 1px;
  1572. @input-padding-vertical-lg : 6px;
  1573. @input-placeholder-color : hsv(0, 0, 75%);
  1574. @input-color : @text-color;
  1575. @input-border-color : @border-color-base;
  1576. @input-bg : #fff;
  1577. @input-addon-bg : @background-color-light;
  1578. @input-hover-border-color : @primary-color;
  1579. @input-disabled-bg : @disabled-bg;
  1580. @input-outline-offset : 0 0;
  1581. // Tooltip
  1582. // ---
  1583. //* Tooltip max width
  1584. @tooltip-max-width: 250px;
  1585. //** Tooltip text color
  1586. @tooltip-color: #fff;
  1587. //** Tooltip background color
  1588. @tooltip-bg: rgba(0, 0, 0, .75);
  1589. //** Tooltip arrow width
  1590. @tooltip-arrow-width: 5px;
  1591. //** Tooltip distance with trigger
  1592. @tooltip-distance: @tooltip-arrow-width - 1px + 4px;
  1593. //** Tooltip arrow color
  1594. @tooltip-arrow-color: @tooltip-bg;
  1595. // Popover
  1596. // ---
  1597. //** Popover body background color
  1598. @popover-bg: #fff;
  1599. //** Popover text color
  1600. @popover-color: @text-color;
  1601. //** Popover maximum width
  1602. @popover-min-width: 177px;
  1603. //** Popover arrow width
  1604. @popover-arrow-width: 6px;
  1605. //** Popover arrow color
  1606. @popover-arrow-color: @popover-bg;
  1607. //** Popover outer arrow width
  1608. //** Popover outer arrow color
  1609. @popover-arrow-outer-color: @popover-bg;
  1610. //** Popover distance with trigger
  1611. @popover-distance: @popover-arrow-width + 4px;
  1612. // Modal
  1613. // --
  1614. @modal-mask-bg: rgba(0, 0, 0, 0.65);
  1615. // Progress
  1616. // --
  1617. @progress-default-color: @processing-color;
  1618. @progress-remaining-color: @background-color-base;
  1619. @progress-text-color: @text-color;
  1620. // Menu
  1621. // ---
  1622. @menu-inline-toplevel-item-height: 40px;
  1623. @menu-item-height: 40px;
  1624. @menu-collapsed-width: 80px;
  1625. @menu-bg: @component-background;
  1626. @menu-item-color: @text-color;
  1627. @menu-highlight-color: @primary-color;
  1628. @menu-item-active-bg: @item-active-bg;
  1629. @menu-item-active-border-width: 3px;
  1630. @menu-item-group-title-color: @text-color-secondary;
  1631. // dark theme
  1632. @menu-dark-color: @text-color-secondary-dark;
  1633. @menu-dark-bg: @layout-header-background;
  1634. @menu-dark-arrow-color: #fff;
  1635. @menu-dark-submenu-bg: #000c17;
  1636. @menu-dark-highlight-color: #fff;
  1637. @menu-dark-item-active-bg: @primary-color;
  1638. // Spin
  1639. // ---
  1640. @spin-dot-size-sm: 14px;
  1641. @spin-dot-size: 20px;
  1642. @spin-dot-size-lg: 32px;
  1643. // Table
  1644. // --
  1645. @table-header-bg: @background-color-light;
  1646. @table-header-color: @heading-color;
  1647. @table-header-sort-bg: @background-color-base;
  1648. @table-body-sort-bg: rgba(0, 0, 0, .01);
  1649. @table-row-hover-bg: @primary-1;
  1650. @table-selected-row-bg: #fafafa;
  1651. @table-expanded-row-bg: #fbfbfb;
  1652. @table-padding-vertical: 16px;
  1653. @table-padding-horizontal: 16px;
  1654. // Tag
  1655. // --
  1656. @tag-default-bg: @background-color-light;
  1657. @tag-default-color: @text-color;
  1658. @tag-font-size: @font-size-sm;
  1659. // TimePicker
  1660. // ---
  1661. @time-picker-panel-column-width: 56px;
  1662. @time-picker-panel-width: @time-picker-panel-column-width * 3;
  1663. @time-picker-selected-bg: @background-color-base;
  1664. // Carousel
  1665. // ---
  1666. @carousel-dot-width: 16px;
  1667. @carousel-dot-height: 3px;
  1668. @carousel-dot-active-width: 24px;
  1669. // Badge
  1670. // ---
  1671. @badge-height: 20px;
  1672. @badge-dot-size: 6px;
  1673. @badge-font-size: @font-size-sm;
  1674. @badge-font-weight: normal;
  1675. @badge-status-size: 6px;
  1676. // Rate
  1677. // ---
  1678. @rate-star-color: @yellow-6;
  1679. @rate-star-bg: @border-color-split;
  1680. // Card
  1681. // ---
  1682. @card-head-color: @heading-color;
  1683. @card-head-background: transparent;
  1684. @card-head-padding: 16px;
  1685. @card-inner-head-padding: 12px;
  1686. @card-padding-base: 24px;
  1687. @card-padding-wider: 32px;
  1688. @card-actions-background: @background-color-light;
  1689. @card-shadow: 0 2px 8px rgba(0, 0, 0, .09);
  1690. // Tabs
  1691. // ---
  1692. @tabs-card-head-background: @background-color-light;
  1693. @tabs-card-height: 40px;
  1694. @tabs-card-active-color: @primary-color;
  1695. @tabs-title-font-size: @font-size-base;
  1696. @tabs-title-font-size-lg: @font-size-lg;
  1697. @tabs-title-font-size-sm: @font-size-base;
  1698. @tabs-ink-bar-color: @primary-color;
  1699. @tabs-bar-margin: 0 0 16px 0;
  1700. @tabs-horizontal-margin: 0 32px 0 0;
  1701. @tabs-horizontal-padding: 12px 16px;
  1702. @tabs-vertical-padding: 8px 24px;
  1703. @tabs-vertical-margin: 0 0 16px 0;
  1704. @tabs-scrolling-size: 32px;
  1705. @tabs-highlight-color: @primary-color;
  1706. @tabs-hover-color: @primary-5;
  1707. @tabs-active-color: @primary-7;
  1708. // BackTop
  1709. // ---
  1710. @back-top-color: #fff;
  1711. @back-top-bg: @text-color-secondary;
  1712. @back-top-hover-bg: @text-color;
  1713. // Avatar
  1714. // ---
  1715. @avatar-size-base: 32px;
  1716. @avatar-size-lg: 40px;
  1717. @avatar-size-sm: 24px;
  1718. @avatar-font-size-base: 18px;
  1719. @avatar-font-size-lg: 24px;
  1720. @avatar-font-size-sm: 14px;
  1721. @avatar-bg: #ccc;
  1722. @avatar-color: #fff;
  1723. @avatar-border-radius: @border-radius-base;
  1724. // Switch
  1725. // ---
  1726. @switch-height: 22px;
  1727. @switch-sm-height: 16px;
  1728. @switch-sm-checked-margin-left: -(@switch-sm-height - 3px);
  1729. @switch-disabled-opacity: 0.4;
  1730. @switch-color: @primary-color;
  1731. // Pagination
  1732. // ---
  1733. @pagination-item-size: 32px;
  1734. @pagination-item-size-sm: 24px;
  1735. @pagination-font-family: Arial;
  1736. @pagination-font-weight-active: 500;
  1737. // Breadcrumb
  1738. // ---
  1739. @breadcrumb-base-color: @text-color-secondary;
  1740. @breadcrumb-last-item-color: @text-color;
  1741. @breadcrumb-font-size: @font-size-base;
  1742. @breadcrumb-icon-font-size: @font-size-base;
  1743. @breadcrumb-link-color: @text-color-secondary;
  1744. @breadcrumb-link-color-hover: @primary-5;
  1745. @breadcrumb-separator-color: @text-color-secondary;
  1746. @breadcrumb-separator-margin: 0 @padding-xs;
  1747. // Slider
  1748. // ---
  1749. @slider-margin: 14px 6px 10px;
  1750. @slider-rail-background-color: @background-color-base;
  1751. @slider-rail-background-color-hover: #e1e1e1;
  1752. @slider-track-background-color: @primary-3;
  1753. @slider-track-background-color-hover: @primary-4;
  1754. @slider-handle-color: @primary-3;
  1755. @slider-handle-color-hover: @primary-4;
  1756. @slider-handle-color-focus: tint(@primary-color, 20%);
  1757. @slider-handle-color-focus-shadow: tint(@primary-color, 50%);
  1758. @slider-handle-color-tooltip-open: @primary-color;
  1759. @slider-dot-border-color: @border-color-split;
  1760. @slider-dot-border-color-active: tint(@primary-color, 50%);
  1761. @slider-disabled-color: @disabled-color;
  1762. @slider-disabled-background-color: @component-background;
  1763. // Tree
  1764. // ---
  1765. @tree-title-height: 24px;
  1766. @tree-child-padding: 18px;
  1767. @tree-directory-selected-color: #fff;
  1768. @tree-directory-selected-bg: @primary-color;
  1769. // Collapse
  1770. // ---
  1771. @collapse-header-padding: 12px 0 12px 40px;
  1772. @collapse-header-bg: @background-color-light;
  1773. @collapse-content-padding: @padding-md;
  1774. @collapse-content-bg: @component-background;
  1775. // Skeleton
  1776. // ---
  1777. @skeleton-color: #f2f2f2;
  1778. // Transfer
  1779. // ---
  1780. @transfer-disabled-bg: @disabled-bg;
  1781. // Message
  1782. // ---
  1783. @message-notice-content-padding: 10px 16px;
  1784. // Motion
  1785. // ---
  1786. @wave-animation-width: 6px;
  1787. // Alert
  1788. // ---
  1789. @alert-success-border-color: ~`colorPalette("@{success-color}", 3)`;
  1790. @alert-success-bg-color: ~`colorPalette("@{success-color}", 1)`;
  1791. @alert-success-icon-color: @success-color;
  1792. @alert-info-border-color: ~`colorPalette("@{info-color}", 3)`;
  1793. @alert-info-bg-color: ~`colorPalette("@{info-color}", 1)`;
  1794. @alert-info-icon-color: @info-color;
  1795. @alert-warning-border-color: ~`colorPalette("@{warning-color}", 3)`;
  1796. @alert-warning-bg-color: ~`colorPalette("@{warning-color}", 1)`;
  1797. @alert-warning-icon-color: @warning-color;
  1798. @alert-error-border-color: ~`colorPalette("@{error-color}", 3)`;
  1799. @alert-error-bg-color: ~`colorPalette("@{error-color}", 1)`;
  1800. @alert-error-icon-color: @error-color;
  1801. // List
  1802. // ---
  1803. @list-empty-text-padding: @padding-md;
  1804. @list-item-padding: @padding-sm 0;
  1805. @list-item-content-margin: 0 0 @padding-md 0;
  1806. @list-item-meta-margin-bottom: @padding-md;
  1807. @list-item-meta-avatar-margin-right: @padding-md;
  1808. @list-item-meta-title-margin-bottom: @padding-sm;
  1809. // Menu
  1810. @menu-dark-item-selected-bg: @menu-dark-item-active-bg;
  1811. // Tabs
  1812. @tab-bar-margin: @tabs-bar-margin;
  1813. @tab-horizontal-margin: @tabs-horizontal-margin;
  1814. @tab-vertical-margin: @tabs-vertical-margin;
  1815. @tab-horizontal-padding: @tabs-horizontal-padding;
  1816. @tab-vertical-padding: @tabs-vertical-padding;
  1817. @tab-scrolling-size: @tabs-scrolling-size;
  1818. @tab-highlight-color: @tabs-highlight-color;
  1819. @tab-hover-color: @tabs-hover-color;
  1820. @tab-active-color: @tabs-active-color;
  1821. @tabs-ink-bar-bg-color: @tabs-ink-bar-color;
  1822. .listContent .extra {
  1823. color: rgba(0, 0, 0, 0.45);
  1824. }
  1825. .listContent .extra > em {
  1826. color: rgba(0, 0, 0, 0.25);
  1827. }
  1828. .avatarItem :global .ant-avatar {
  1829. border: 1px solid #fff;
  1830. }
  1831. .chartCard .avatar img {
  1832. border-radius: 100%;
  1833. }
  1834. .chartCard .meta {
  1835. color: rgba(0, 0, 0, 0.45);
  1836. }
  1837. .chartCard .total {
  1838. color: rgba(0, 0, 0, 0.85);
  1839. }
  1840. .chartCard .footer {
  1841. border-top: 1px solid #e8e8e8;
  1842. }
  1843. .field span:last-child {
  1844. color: rgba(0, 0, 0, 0.85);
  1845. }
  1846. .miniProgress .progressWrap {
  1847. background-color: #f5f5f5;
  1848. }
  1849. .miniProgress .progress {
  1850. border-radius: 1px 0 0 1px;
  1851. background-color: @primary-color;
  1852. }
  1853. .miniProgress .target span {
  1854. border-radius: 100px;
  1855. }
  1856. .pie .dot {
  1857. border-radius: 8px;
  1858. }
  1859. .pie .line {
  1860. background-color: #e8e8e8;
  1861. }
  1862. .pie .legendTitle {
  1863. color: rgba(0, 0, 0, 0.65);
  1864. }
  1865. .pie .percent {
  1866. color: rgba(0, 0, 0, 0.45);
  1867. }
  1868. .pie .total > h4 {
  1869. color: rgba(0, 0, 0, 0.45);
  1870. }
  1871. .pie .total > p {
  1872. color: rgba(0, 0, 0, 0.85);
  1873. }
  1874. .radar .legend .legendItem {
  1875. color: rgba(0, 0, 0, 0.45);
  1876. }
  1877. .radar .legend .legendItem h6 {
  1878. color: rgba(0, 0, 0, 0.85);
  1879. }
  1880. .radar .legend .legendItem:after {
  1881. background-color: #e8e8e8;
  1882. }
  1883. .radar .legend .dot {
  1884. border-radius: 6px;
  1885. }
  1886. .timelineChart {
  1887. background: #fff;
  1888. }
  1889. .waterWave .text span {
  1890. color: rgba(0, 0, 0, 0.45);
  1891. }
  1892. .waterWave .text h4 {
  1893. color: rgba(0, 0, 0, 0.85);
  1894. }
  1895. .descriptionList .title {
  1896. color: rgba(0, 0, 0, 0.85);
  1897. }
  1898. .descriptionList .term {
  1899. color: rgba(0, 0, 0, 0.85);
  1900. }
  1901. .descriptionList .detail {
  1902. color: rgba(0, 0, 0, 0.65);
  1903. }
  1904. .descriptionList.small .title {
  1905. color: rgba(0, 0, 0, 0.65);
  1906. }
  1907. .linkGroup > a {
  1908. color: rgba(0, 0, 0, 0.65);
  1909. }
  1910. .linkGroup > a:hover {
  1911. color: @primary-color;
  1912. }
  1913. .lines .shadow {
  1914. color: transparent;
  1915. }
  1916. .exception .imgEle {
  1917. background-repeat: no-repeat;
  1918. background-position: 50% 50%;
  1919. background-size: contain;
  1920. }
  1921. .exception .content h1 {
  1922. color: #434e59;
  1923. }
  1924. .exception .content .desc {
  1925. color: rgba(0, 0, 0, 0.45);
  1926. }
  1927. .toolbar {
  1928. box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.03);
  1929. background: #fff;
  1930. border-top: 1px solid #e8e8e8;
  1931. }
  1932. .globalFooter .links a {
  1933. color: rgba(0, 0, 0, 0.45);
  1934. }
  1935. .globalFooter .links a:hover {
  1936. color: rgba(0, 0, 0, 0.65);
  1937. }
  1938. .globalFooter .copyright {
  1939. color: rgba(0, 0, 0, 0.45);
  1940. }
  1941. .header {
  1942. background: #fff;
  1943. box-shadow: 0 1px 4px rgba(0, 21, 41, 0.08);
  1944. }
  1945. i.trigger:hover {
  1946. background: rgba(0, 0, 0, 0.025);
  1947. }
  1948. .right .action > i {
  1949. color: rgba(0, 0, 0, 0.65);
  1950. }
  1951. .right .action:hover {
  1952. background: rgba(0, 0, 0, 0.025);
  1953. }
  1954. :global(.right .action.ant-popover-open) {
  1955. background: rgba(0, 0, 0, 0.025);
  1956. }
  1957. .right .search:hover {
  1958. background: transparent;
  1959. }
  1960. .right .account .avatar {
  1961. color: @primary-color;
  1962. background: rgba(255, 255, 255, 0.85);
  1963. }
  1964. .dark .action {
  1965. color: rgba(255, 255, 255, 0.85);
  1966. }
  1967. .dark .action > i {
  1968. color: rgba(255, 255, 255, 0.85);
  1969. }
  1970. .dark .action:hover,
  1971. .dark .action:global(.ant-popover-open) {
  1972. background: @primary-color;
  1973. }
  1974. .dark .action :global(.ant-badge) {
  1975. color: rgba(255, 255, 255, 0.85);
  1976. }
  1977. .headerSearch .input {
  1978. background: transparent;
  1979. border-radius: 0;
  1980. }
  1981. .headerSearch .input :global(.ant-select-selection) {
  1982. background: transparent;
  1983. }
  1984. .headerSearch .input input {
  1985. border: 0;
  1986. box-shadow: none !important;
  1987. }
  1988. .headerSearch .input,
  1989. .headerSearch .input:hover,
  1990. .headerSearch .input:focus {
  1991. border-bottom: 1px solid #d9d9d9;
  1992. }
  1993. .login :global .ant-tabs .ant-tabs-bar {
  1994. border-bottom: 0;
  1995. }
  1996. .login .icon {
  1997. color: rgba(0, 0, 0, 0.2);
  1998. }
  1999. .login .icon:hover {
  2000. color: @primary-color;
  2001. }
  2002. .login .prefixIcon {
  2003. color: rgba(0, 0, 0, 0.25);
  2004. }
  2005. .list .item .avatar {
  2006. background: #fff;
  2007. }
  2008. .list .item:last-child {
  2009. border-bottom: 0;
  2010. }
  2011. .list .item:hover {
  2012. background: color(~`colorPalette("@{primary-color}", 1)`);
  2013. }
  2014. .list .item .extra {
  2015. color: rgba(0, 0, 0, 0.45);
  2016. }
  2017. .notFound {
  2018. color: rgba(0, 0, 0, 0.45);
  2019. }
  2020. .clear {
  2021. color: rgba(0, 0, 0, 0.65);
  2022. border-radius: 0 0 4px 4px;
  2023. border-top: 1px solid #e8e8e8;
  2024. }
  2025. .clear:hover {
  2026. color: rgba(0, 0, 0, 0.85);
  2027. }
  2028. .numberInfo .suffix {
  2029. color: rgba(0, 0, 0, 0.65);
  2030. }
  2031. .numberInfo .numberInfoTitle {
  2032. color: rgba(0, 0, 0, 0.65);
  2033. }
  2034. .numberInfo .numberInfoSubTitle {
  2035. color: rgba(0, 0, 0, 0.45);
  2036. }
  2037. .numberInfo .numberInfoValue > span {
  2038. color: rgba(0, 0, 0, 0.85);
  2039. }
  2040. .numberInfo .numberInfoValue .subTotal {
  2041. color: rgba(0, 0, 0, 0.45);
  2042. }
  2043. .numberInfo .numberInfoValue .subTotal :global .anticon-caret-up {
  2044. color: #f5222d;
  2045. }
  2046. .numberInfo .numberInfoValue .subTotal :global .anticon-caret-down {
  2047. color: #52c41a;
  2048. }
  2049. .numberInfolight .numberInfoValue > span {
  2050. color: rgba(0, 0, 0, 0.65);
  2051. }
  2052. .pageHeader {
  2053. background: #fff;
  2054. border-bottom: 1px solid #e8e8e8;
  2055. }
  2056. .pageHeader .tabs :global .ant-tabs-bar {
  2057. border-bottom: 1px solid #e8e8e8;
  2058. }
  2059. .pageHeader .logo > img {
  2060. border-radius: 4px;
  2061. }
  2062. .pageHeader .title {
  2063. color: rgba(0, 0, 0, 0.85);
  2064. }
  2065. .result .icon > .success {
  2066. color: #52c41a;
  2067. }
  2068. .result .icon > .error {
  2069. color: #f5222d;
  2070. }
  2071. .result .title {
  2072. color: rgba(0, 0, 0, 0.85);
  2073. }
  2074. .result .description {
  2075. color: rgba(0, 0, 0, 0.45);
  2076. }
  2077. .result .extra {
  2078. background: #fafafa;
  2079. border-radius: 2px;
  2080. }
  2081. .blockChecbox .item {
  2082. border-radius: 4px;
  2083. }
  2084. .blockChecbox .selectIcon {
  2085. color: @primary-color;
  2086. }
  2087. .color_block {
  2088. border-radius: 4px;
  2089. }
  2090. .title {
  2091. color: rgba(0, 0, 0, 0.85);
  2092. }
  2093. .handle {
  2094. background: @primary-color;
  2095. border-radius: 4px 0 0 4px;
  2096. }
  2097. .setting-drawer-index-handle {
  2098. /* 暂时不知道放哪解决 */
  2099. background: @primary-color !important;
  2100. }
  2101. .themeColor .title {
  2102. color: rgba(0, 0, 0, 0.65);
  2103. }
  2104. .themeColor .colorBlock {
  2105. border-radius: 2px;
  2106. color: #fff;
  2107. }
  2108. .logo {
  2109. background: #002140;
  2110. }
  2111. .logo h1 {
  2112. color: white;
  2113. }
  2114. .sider {
  2115. box-shadow: 2px 0 6px rgba(0, 21, 41, 0.35);
  2116. }
  2117. .sider.light {
  2118. box-shadow: 2px 0 8px 0 rgba(29, 35, 41, 0.05);
  2119. background-color: white;
  2120. }
  2121. .sider.light .logo {
  2122. background: white;
  2123. box-shadow: 1px 1px 0 0 #e8e8e8;
  2124. }
  2125. .sider.light .logo h1 {
  2126. color: @primary-color;
  2127. }
  2128. .sider.light :global(.ant-menu-light) {
  2129. border-right-color: transparent;
  2130. }
  2131. :global .drawer .drawer-content {
  2132. background: #001529;
  2133. }
  2134. .standardFormRow {
  2135. border-bottom: 1px dashed #e8e8e8;
  2136. }
  2137. .standardFormRow :global .ant-form-item-label label {
  2138. color: rgba(0, 0, 0, 0.65);
  2139. }
  2140. .standardFormRow .label {
  2141. color: rgba(0, 0, 0, 0.85);
  2142. }
  2143. .standardFormRowLast {
  2144. border: none;
  2145. }
  2146. .head {
  2147. box-shadow: 0 1px 4px rgba(0, 21, 41, 0.08);
  2148. }
  2149. .head.light {
  2150. background-color: #fff;
  2151. }
  2152. .logo h1 {
  2153. color: #fff;
  2154. }
  2155. .light h1 {
  2156. color: #002140;
  2157. }
  2158. .trendItem .up {
  2159. color: #f5222d;
  2160. }
  2161. .trendItem .down {
  2162. color: #52c41a;
  2163. }
  2164. .trendItem.trendItemGrey .up,
  2165. .trendItem.trendItemGrey .down {
  2166. color: rgba(0, 0, 0, 0.65);
  2167. }
  2168. .trendItem.reverseColor .up {
  2169. color: #52c41a;
  2170. }
  2171. .trendItem.reverseColor .down {
  2172. color: #f5222d;
  2173. }
  2174. .container {
  2175. background: #f0f2f5;
  2176. }
  2177. .title {
  2178. color: rgba(0, 0, 0, 0.85);
  2179. }
  2180. .desc {
  2181. color: rgba(0, 0, 0, 0.45);
  2182. }
  2183. a.listItemMetaTitle {
  2184. color: rgba(0, 0, 0, 0.85);
  2185. }
  2186. .baseView .right .avatar_title {
  2187. color: rgba(0, 0, 0, 0.85);
  2188. }
  2189. .main {
  2190. background-color: #fff;
  2191. }
  2192. .main .leftmenu {
  2193. border-right: 1px solid #e8e8e8;
  2194. }
  2195. .main .leftmenu :global .ant-menu-inline {
  2196. border: none;
  2197. }
  2198. .main .right .title {
  2199. color: rgba(0, 0, 0, 0.85);
  2200. }
  2201. .main :global .ant-list-split .ant-list-item:last-child {
  2202. border-bottom: 1px solid #e8e8e8;
  2203. }
  2204. :global .ant-list-item-meta .taobao {
  2205. color: #ff4000;
  2206. border-radius: 4px;
  2207. }
  2208. :global .ant-list-item-meta .dingding {
  2209. background-color: #2eabff;
  2210. color: #fff;
  2211. border-radius: 4px;
  2212. }
  2213. :global .ant-list-item-meta .alipay {
  2214. color: #2eabff;
  2215. border-radius: 4px;
  2216. }
  2217. :global font.strong {
  2218. color: #52c41a;
  2219. }
  2220. :global font.medium {
  2221. color: #faad14;
  2222. }
  2223. :global font.weak {
  2224. color: #f5222d;
  2225. }
  2226. .trigger {
  2227. background: 'red';
  2228. }
  2229. .desc {
  2230. color: rgba(0, 0, 0, 0.45);
  2231. }
  2232. .desc h3 {
  2233. color: rgba(0, 0, 0, 0.45);
  2234. }
  2235. .desc h4 {
  2236. color: rgba(0, 0, 0, 0.45);
  2237. }
  2238. .information .label {
  2239. color: rgba(0, 0, 0, 0.85);
  2240. }
  2241. .errorIcon {
  2242. color: #f5222d;
  2243. }
  2244. .errorListItem {
  2245. border-bottom: 1px solid #e8e8e8;
  2246. }
  2247. .errorListItem:hover {
  2248. background: color(~`colorPalette("@{primary-color}", 1)`);
  2249. }
  2250. .errorListItem:last-child {
  2251. border: 0;
  2252. }
  2253. .errorListItem .errorIcon {
  2254. color: #f5222d;
  2255. }
  2256. .errorListItem .errorField {
  2257. color: rgba(0, 0, 0, 0.45);
  2258. }
  2259. .optional {
  2260. color: rgba(0, 0, 0, 0.45);
  2261. }
  2262. a.listItemMetaTitle {
  2263. color: rgba(0, 0, 0, 0.85);
  2264. }
  2265. .noData {
  2266. color: rgba(0, 0, 0, 0.25);
  2267. }
  2268. .heading {
  2269. color: rgba(0, 0, 0, 0.85);
  2270. }
  2271. .textSecondary {
  2272. color: rgba(0, 0, 0, 0.45);
  2273. }
  2274. .title {
  2275. color: rgba(0, 0, 0, 0.85);
  2276. }
  2277. .main .icon {
  2278. color: rgba(0, 0, 0, 0.2);
  2279. }
  2280. .main .icon:hover {
  2281. color: @primary-color;
  2282. }
  2283. .success {
  2284. color: #52c41a;
  2285. }
  2286. .warning {
  2287. color: #faad14;
  2288. }
  2289. .error {
  2290. color: #f5222d;
  2291. }
  2292. .progress-pass > .progress :global .ant-progress-bg {
  2293. background-color: #faad14;
  2294. }
  2295. html {
  2296. -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  2297. }
  2298. body {
  2299. color: rgba(0, 0, 0, 0.65);
  2300. background-color: #fff;
  2301. }
  2302. h1,
  2303. h2,
  2304. h3,
  2305. h4,
  2306. h5,
  2307. h6 {
  2308. color: rgba(0, 0, 0, 0.85);
  2309. }
  2310. abbr[title],
  2311. abbr[data-original-title] {
  2312. border-bottom: 0;
  2313. }
  2314. a {
  2315. color: @primary-color;
  2316. background-color: transparent;
  2317. }
  2318. a:hover {
  2319. color: color(~`colorPalette("@{primary-color}", 5)`);
  2320. }
  2321. a:active {
  2322. color: color(~`colorPalette("@{primary-color}", 7)`);
  2323. }
  2324. a[disabled] {
  2325. color: rgba(0, 0, 0, 0.25);
  2326. }
  2327. img {
  2328. border-style: none;
  2329. }
  2330. table {
  2331. border-collapse: collapse;
  2332. }
  2333. caption {
  2334. color: rgba(0, 0, 0, 0.45);
  2335. }
  2336. input,
  2337. button,
  2338. select,
  2339. optgroup,
  2340. textarea {
  2341. color: inherit;
  2342. }
  2343. button::-moz-focus-inner,
  2344. [type="button"]::-moz-focus-inner,
  2345. [type="reset"]::-moz-focus-inner,
  2346. [type="submit"]::-moz-focus-inner {
  2347. border-style: none;
  2348. }
  2349. fieldset {
  2350. border: 0;
  2351. }
  2352. legend {
  2353. color: inherit;
  2354. }
  2355. mark {
  2356. background-color: #feffe6;
  2357. }
  2358. ::selection {
  2359. background: @primary-color;
  2360. color: #fff;
  2361. }
  2362. [ant-click-animating-without-extra-node]:after,
  2363. .ant-click-animating-node {
  2364. border-radius: inherit;
  2365. border: 0 solid @primary-color;
  2366. }
  2367. .ant-alert {
  2368. color: rgba(0, 0, 0, 0.65);
  2369. border-radius: 4px;
  2370. }
  2371. .ant-alert-success {
  2372. border: 1px solid #b7eb8f;
  2373. background-color: #f6ffed;
  2374. }
  2375. .ant-alert-success .ant-alert-icon {
  2376. color: #52c41a;
  2377. }
  2378. .ant-alert-info {
  2379. border: 1px solid color(~`colorPalette("@{primary-color}", 3)`);
  2380. background-color: color(~`colorPalette("@{primary-color}", 1)`);
  2381. }
  2382. .ant-alert-info .ant-alert-icon {
  2383. color: @primary-color;
  2384. }
  2385. .ant-alert-warning {
  2386. border: 1px solid #ffe58f;
  2387. background-color: #fffbe6;
  2388. }
  2389. .ant-alert-warning .ant-alert-icon {
  2390. color: #faad14;
  2391. }
  2392. .ant-alert-error {
  2393. border: 1px solid #ffa39e;
  2394. background-color: #fff1f0;
  2395. }
  2396. .ant-alert-error .ant-alert-icon {
  2397. color: #f5222d;
  2398. }
  2399. .ant-alert-close-icon .anticon-close {
  2400. color: rgba(0, 0, 0, 0.45);
  2401. }
  2402. .ant-alert-close-icon .anticon-close:hover {
  2403. color: #404040;
  2404. }
  2405. .ant-alert-with-description {
  2406. border-radius: 4px;
  2407. color: rgba(0, 0, 0, 0.65);
  2408. }
  2409. .ant-alert-with-description .ant-alert-message {
  2410. color: rgba(0, 0, 0, 0.85);
  2411. }
  2412. .ant-alert-banner {
  2413. border-radius: 0;
  2414. border: 0;
  2415. }
  2416. .ant-anchor {
  2417. color: rgba(0, 0, 0, 0.65);
  2418. }
  2419. .ant-anchor-wrapper {
  2420. background-color: #fff;
  2421. }
  2422. .ant-anchor-ink:before {
  2423. background-color: #e8e8e8;
  2424. }
  2425. .ant-anchor-ink-ball {
  2426. border-radius: 8px;
  2427. border: 2px solid @primary-color;
  2428. background-color: #fff;
  2429. }
  2430. .ant-anchor-link-title {
  2431. color: rgba(0, 0, 0, 0.65);
  2432. }
  2433. .ant-anchor-link-active > .ant-anchor-link-title {
  2434. color: @primary-color;
  2435. }
  2436. .ant-select-auto-complete {
  2437. color: rgba(0, 0, 0, 0.65);
  2438. }
  2439. .ant-select-auto-complete.ant-select .ant-select-selection {
  2440. border: 0;
  2441. box-shadow: none;
  2442. }
  2443. .ant-select-auto-complete.ant-select .ant-input {
  2444. background: transparent;
  2445. border-width: 1px;
  2446. }
  2447. .ant-select-auto-complete.ant-select .ant-input:focus,
  2448. .ant-select-auto-complete.ant-select .ant-input:hover {
  2449. border-color: color(~`colorPalette("@{primary-color}", 5)`);
  2450. border-right-width: 1px !important;
  2451. }
  2452. .ant-avatar {
  2453. color: rgba(0, 0, 0, 0.65);
  2454. background: #ccc;
  2455. color: #fff;
  2456. border-radius: 50%;
  2457. }
  2458. .ant-avatar-image {
  2459. background: transparent;
  2460. }
  2461. .ant-avatar-lg {
  2462. border-radius: 50%;
  2463. }
  2464. .ant-avatar-sm {
  2465. border-radius: 50%;
  2466. }
  2467. .ant-avatar-square {
  2468. border-radius: 4px;
  2469. }
  2470. .ant-back-top {
  2471. color: rgba(0, 0, 0, 0.65);
  2472. }
  2473. .ant-back-top-content {
  2474. border-radius: 20px;
  2475. background-color: rgba(0, 0, 0, 0.45);
  2476. color: #fff;
  2477. }
  2478. .ant-back-top-content:hover {
  2479. background-color: rgba(0, 0, 0, 0.65);
  2480. }
  2481. .ant-back-top-icon {
  2482. background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAoCAYAAACWwljjAAAABGdBTUEAALGPC/xhBQAAAbtJREFUWAntmMtKw0AUhhMvS5cuxILgQlRUpIggIoKIIoigG1eC+AA+jo+i6FIXBfeuXIgoeKVeitVWJX5HWhhDksnUpp3FDPyZk3Nm5nycmZKkXhAEOXSA3lG7muTeRzmfy6HneUvIhnYkQK+Q9NhAA0Opg0vBEhjBKHiyb8iGMyQMOYuK41BcBSypAL+MYXSKjtFAW7EAGEO3qN4uMQbbAkXiSfRQJ1H6a+yhlkKRcAoVFYiweYNjtCVQJJpBz2GCiPt7fBOZQpFgDpUikse5HgnkM4Fi4QX0Fpc5wf9EbLqpUCy4jMoJSXWhFwbMNgWKhVbRhy5jirhs9fy/oFhgHVVTJEs7RLZ8sSEoJm6iz7SZDMbJ+/OKERQTttCXQRLToRUmrKWCYuA2+jbN0MB4OQobYShfdTCgn/sL1K36M7TLrN3n+758aPy2rrpR6+/od5E8tf/A1uLS9aId5T7J3CNYihkQ4D9PiMdMC7mp4rjB9kjFjZp8BlnVHJBuO1yFXIV0FdDF3RlyFdJVQBdv5AxVdIsq8apiZ2PyYO1EVykesGfZEESsCkweyR8MUW+V8uJ1gkYipmpdP1pm2aJVPEGzAAAAAElFTkSuQmCC) 100%/100% no-repeat;
  2483. }
  2484. .ant-badge {
  2485. color: rgba(0, 0, 0, 0.65);
  2486. color: unset;
  2487. }
  2488. .ant-badge-count {
  2489. border-radius: 10px;
  2490. background: #f5222d;
  2491. color: #fff;
  2492. box-shadow: 0 0 0 1px #fff;
  2493. }
  2494. .ant-badge-count a,
  2495. .ant-badge-count a:hover {
  2496. color: #fff;
  2497. }
  2498. .ant-badge-dot {
  2499. border-radius: 100%;
  2500. background: #f5222d;
  2501. box-shadow: 0 0 0 1px #fff;
  2502. }
  2503. .ant-badge-status-dot {
  2504. border-radius: 50%;
  2505. }
  2506. .ant-badge-status-success {
  2507. background-color: #52c41a;
  2508. }
  2509. .ant-badge-status-processing {
  2510. background-color: @primary-color;
  2511. }
  2512. .ant-badge-status-processing:after {
  2513. border-radius: 50%;
  2514. border: 1px solid @primary-color;
  2515. }
  2516. .ant-badge-status-default {
  2517. background-color: #d9d9d9;
  2518. }
  2519. .ant-badge-status-error {
  2520. background-color: #f5222d;
  2521. }
  2522. .ant-badge-status-warning {
  2523. background-color: #faad14;
  2524. }
  2525. .ant-badge-status-text {
  2526. color: rgba(0, 0, 0, 0.65);
  2527. }
  2528. .ant-breadcrumb {
  2529. color: rgba(0, 0, 0, 0.65);
  2530. color: rgba(0, 0, 0, 0.45);
  2531. }
  2532. .ant-breadcrumb a {
  2533. color: rgba(0, 0, 0, 0.45);
  2534. }
  2535. .ant-breadcrumb a:hover {
  2536. color: color(~`colorPalette("@{primary-color}", 5)`);
  2537. }
  2538. .ant-breadcrumb > span:last-child {
  2539. color: rgba(0, 0, 0, 0.65);
  2540. }
  2541. .ant-breadcrumb-separator {
  2542. color: rgba(0, 0, 0, 0.45);
  2543. }
  2544. .ant-btn {
  2545. background-image: none;
  2546. border: 1px solid transparent;
  2547. border-radius: 4px;
  2548. box-shadow: 0 2px 0 rgba(0, 0, 0, 0.015);
  2549. color: rgba(0, 0, 0, 0.65);
  2550. background-color: #fff;
  2551. border-color: #d9d9d9;
  2552. }
  2553. .ant-btn:not([disabled]):active {
  2554. box-shadow: none;
  2555. }
  2556. .ant-btn-lg {
  2557. border-radius: 4px;
  2558. }
  2559. .ant-btn-sm {
  2560. border-radius: 4px;
  2561. }
  2562. .ant-btn > a:only-child {
  2563. color: currentColor;
  2564. }
  2565. .ant-btn > a:only-child:after {
  2566. background: transparent;
  2567. }
  2568. .ant-btn:hover,
  2569. .ant-btn:focus {
  2570. color: color(~`colorPalette("@{primary-color}", 5)`);
  2571. background-color: #fff;
  2572. border-color: color(~`colorPalette("@{primary-color}", 5)`);
  2573. }
  2574. .ant-btn:hover > a:only-child,
  2575. .ant-btn:focus > a:only-child {
  2576. color: currentColor;
  2577. }
  2578. .ant-btn:hover > a:only-child:after,
  2579. .ant-btn:focus > a:only-child:after {
  2580. background: transparent;
  2581. }
  2582. .ant-btn:active,
  2583. .ant-btn.active {
  2584. color: color(~`colorPalette("@{primary-color}", 7)`);
  2585. background-color: #fff;
  2586. border-color: color(~`colorPalette("@{primary-color}", 7)`);
  2587. }
  2588. .ant-btn:active > a:only-child,
  2589. .ant-btn.active > a:only-child {
  2590. color: currentColor;
  2591. }
  2592. .ant-btn:active > a:only-child:after,
  2593. .ant-btn.active > a:only-child:after {
  2594. background: transparent;
  2595. }
  2596. .ant-btn.disabled,
  2597. .ant-btn[disabled],
  2598. .ant-btn.disabled:hover,
  2599. .ant-btn[disabled]:hover,
  2600. .ant-btn.disabled:focus,
  2601. .ant-btn[disabled]:focus,
  2602. .ant-btn.disabled:active,
  2603. .ant-btn[disabled]:active,
  2604. .ant-btn.disabled.active,
  2605. .ant-btn[disabled].active {
  2606. color: rgba(0, 0, 0, 0.25);
  2607. background-color: #f5f5f5;
  2608. border-color: #d9d9d9;
  2609. box-shadow: none;
  2610. }
  2611. .ant-btn.disabled > a:only-child,
  2612. .ant-btn[disabled] > a:only-child,
  2613. .ant-btn.disabled:hover > a:only-child,
  2614. .ant-btn[disabled]:hover > a:only-child,
  2615. .ant-btn.disabled:focus > a:only-child,
  2616. .ant-btn[disabled]:focus > a:only-child,
  2617. .ant-btn.disabled:active > a:only-child,
  2618. .ant-btn[disabled]:active > a:only-child,
  2619. .ant-btn.disabled.active > a:only-child,
  2620. .ant-btn[disabled].active > a:only-child {
  2621. color: currentColor;
  2622. }
  2623. .ant-btn.disabled > a:only-child:after,
  2624. .ant-btn[disabled] > a:only-child:after,
  2625. .ant-btn.disabled:hover > a:only-child:after,
  2626. .ant-btn[disabled]:hover > a:only-child:after,
  2627. .ant-btn.disabled:focus > a:only-child:after,
  2628. .ant-btn[disabled]:focus > a:only-child:after,
  2629. .ant-btn.disabled:active > a:only-child:after,
  2630. .ant-btn[disabled]:active > a:only-child:after,
  2631. .ant-btn.disabled.active > a:only-child:after,
  2632. .ant-btn[disabled].active > a:only-child:after {
  2633. background: transparent;
  2634. }
  2635. .ant-btn:hover,
  2636. .ant-btn:focus,
  2637. .ant-btn:active,
  2638. .ant-btn.active {
  2639. background: #fff;
  2640. }
  2641. .ant-btn-primary {
  2642. color: #fff;
  2643. background-color: @primary-color;
  2644. border-color: @primary-color;
  2645. box-shadow: 0 2px 0 rgba(0, 0, 0, 0.035);
  2646. }
  2647. .ant-btn-primary > a:only-child {
  2648. color: currentColor;
  2649. }
  2650. .ant-btn-primary > a:only-child:after {
  2651. background: transparent;
  2652. }
  2653. .ant-btn-primary:hover,
  2654. .ant-btn-primary:focus {
  2655. color: #fff;
  2656. background-color: color(~`colorPalette("@{primary-color}", 5)`);
  2657. border-color: color(~`colorPalette("@{primary-color}", 5)`);
  2658. }
  2659. .ant-btn-primary:hover > a:only-child,
  2660. .ant-btn-primary:focus > a:only-child {
  2661. color: currentColor;
  2662. }
  2663. .ant-btn-primary:hover > a:only-child:after,
  2664. .ant-btn-primary:focus > a:only-child:after {
  2665. background: transparent;
  2666. }
  2667. .ant-btn-primary:active,
  2668. .ant-btn-primary.active {
  2669. color: #fff;
  2670. background-color: color(~`colorPalette("@{primary-color}", 7)`);
  2671. border-color: color(~`colorPalette("@{primary-color}", 7)`);
  2672. }
  2673. .ant-btn-primary:active > a:only-child,
  2674. .ant-btn-primary.active > a:only-child {
  2675. color: currentColor;
  2676. }
  2677. .ant-btn-primary:active > a:only-child:after,
  2678. .ant-btn-primary.active > a:only-child:after {
  2679. background: transparent;
  2680. }
  2681. .ant-btn-primary.disabled,
  2682. .ant-btn-primary[disabled],
  2683. .ant-btn-primary.disabled:hover,
  2684. .ant-btn-primary[disabled]:hover,
  2685. .ant-btn-primary.disabled:focus,
  2686. .ant-btn-primary[disabled]:focus,
  2687. .ant-btn-primary.disabled:active,
  2688. .ant-btn-primary[disabled]:active,
  2689. .ant-btn-primary.disabled.active,
  2690. .ant-btn-primary[disabled].active {
  2691. color: rgba(0, 0, 0, 0.25);
  2692. background-color: #f5f5f5;
  2693. border-color: #d9d9d9;
  2694. box-shadow: none;
  2695. }
  2696. .ant-btn-primary.disabled > a:only-child,
  2697. .ant-btn-primary[disabled] > a:only-child,
  2698. .ant-btn-primary.disabled:hover > a:only-child,
  2699. .ant-btn-primary[disabled]:hover > a:only-child,
  2700. .ant-btn-primary.disabled:focus > a:only-child,
  2701. .ant-btn-primary[disabled]:focus > a:only-child,
  2702. .ant-btn-primary.disabled:active > a:only-child,
  2703. .ant-btn-primary[disabled]:active > a:only-child,
  2704. .ant-btn-primary.disabled.active > a:only-child,
  2705. .ant-btn-primary[disabled].active > a:only-child {
  2706. color: currentColor;
  2707. }
  2708. .ant-btn-primary.disabled > a:only-child:after,
  2709. .ant-btn-primary[disabled] > a:only-child:after,
  2710. .ant-btn-primary.disabled:hover > a:only-child:after,
  2711. .ant-btn-primary[disabled]:hover > a:only-child:after,
  2712. .ant-btn-primary.disabled:focus > a:only-child:after,
  2713. .ant-btn-primary[disabled]:focus > a:only-child:after,
  2714. .ant-btn-primary.disabled:active > a:only-child:after,
  2715. .ant-btn-primary[disabled]:active > a:only-child:after,
  2716. .ant-btn-primary.disabled.active > a:only-child:after,
  2717. .ant-btn-primary[disabled].active > a:only-child:after {
  2718. background: transparent;
  2719. }
  2720. .ant-btn-group .ant-btn-primary:not(:first-child):not(:last-child) {
  2721. border-right-color: color(~`colorPalette("@{primary-color}", 5)`);
  2722. border-left-color: color(~`colorPalette("@{primary-color}", 5)`);
  2723. }
  2724. .ant-btn-group .ant-btn-primary:not(:first-child):not(:last-child):disabled {
  2725. border-color: #d9d9d9;
  2726. }
  2727. .ant-btn-group .ant-btn-primary:first-child:not(:last-child) {
  2728. border-right-color: color(~`colorPalette("@{primary-color}", 5)`);
  2729. }
  2730. .ant-btn-group .ant-btn-primary:first-child:not(:last-child)[disabled] {
  2731. border-right-color: #d9d9d9;
  2732. }
  2733. .ant-btn-group .ant-btn-primary:last-child:not(:first-child),
  2734. .ant-btn-group .ant-btn-primary + .ant-btn-primary {
  2735. border-left-color: color(~`colorPalette("@{primary-color}", 5)`);
  2736. }
  2737. .ant-btn-group .ant-btn-primary:last-child:not(:first-child)[disabled],
  2738. .ant-btn-group .ant-btn-primary + .ant-btn-primary[disabled] {
  2739. border-left-color: #d9d9d9;
  2740. }
  2741. .ant-btn-ghost {
  2742. color: rgba(0, 0, 0, 0.65);
  2743. background-color: transparent;
  2744. border-color: #d9d9d9;
  2745. }
  2746. .ant-btn-ghost > a:only-child {
  2747. color: currentColor;
  2748. }
  2749. .ant-btn-ghost > a:only-child:after {
  2750. background: transparent;
  2751. }
  2752. .ant-btn-ghost:hover,
  2753. .ant-btn-ghost:focus {
  2754. color: color(~`colorPalette("@{primary-color}", 5)`);
  2755. background-color: transparent;
  2756. border-color: color(~`colorPalette("@{primary-color}", 5)`);
  2757. }
  2758. .ant-btn-ghost:hover > a:only-child,
  2759. .ant-btn-ghost:focus > a:only-child {
  2760. color: currentColor;
  2761. }
  2762. .ant-btn-ghost:hover > a:only-child:after,
  2763. .ant-btn-ghost:focus > a:only-child:after {
  2764. background: transparent;
  2765. }
  2766. .ant-btn-ghost:active,
  2767. .ant-btn-ghost.active {
  2768. color: color(~`colorPalette("@{primary-color}", 7)`);
  2769. background-color: transparent;
  2770. border-color: color(~`colorPalette("@{primary-color}", 7)`);
  2771. }
  2772. .ant-btn-ghost:active > a:only-child,
  2773. .ant-btn-ghost.active > a:only-child {
  2774. color: currentColor;
  2775. }
  2776. .ant-btn-ghost:active > a:only-child:after,
  2777. .ant-btn-ghost.active > a:only-child:after {
  2778. background: transparent;
  2779. }
  2780. .ant-btn-ghost.disabled,
  2781. .ant-btn-ghost[disabled],
  2782. .ant-btn-ghost.disabled:hover,
  2783. .ant-btn-ghost[disabled]:hover,
  2784. .ant-btn-ghost.disabled:focus,
  2785. .ant-btn-ghost[disabled]:focus,
  2786. .ant-btn-ghost.disabled:active,
  2787. .ant-btn-ghost[disabled]:active,
  2788. .ant-btn-ghost.disabled.active,
  2789. .ant-btn-ghost[disabled].active {
  2790. color: rgba(0, 0, 0, 0.25);
  2791. background-color: #f5f5f5;
  2792. border-color: #d9d9d9;
  2793. box-shadow: none;
  2794. }
  2795. .ant-btn-ghost.disabled > a:only-child,
  2796. .ant-btn-ghost[disabled] > a:only-child,
  2797. .ant-btn-ghost.disabled:hover > a:only-child,
  2798. .ant-btn-ghost[disabled]:hover > a:only-child,
  2799. .ant-btn-ghost.disabled:focus > a:only-child,
  2800. .ant-btn-ghost[disabled]:focus > a:only-child,
  2801. .ant-btn-ghost.disabled:active > a:only-child,
  2802. .ant-btn-ghost[disabled]:active > a:only-child,
  2803. .ant-btn-ghost.disabled.active > a:only-child,
  2804. .ant-btn-ghost[disabled].active > a:only-child {
  2805. color: currentColor;
  2806. }
  2807. .ant-btn-ghost.disabled > a:only-child:after,
  2808. .ant-btn-ghost[disabled] > a:only-child:after,
  2809. .ant-btn-ghost.disabled:hover > a:only-child:after,
  2810. .ant-btn-ghost[disabled]:hover > a:only-child:after,
  2811. .ant-btn-ghost.disabled:focus > a:only-child:after,
  2812. .ant-btn-ghost[disabled]:focus > a:only-child:after,
  2813. .ant-btn-ghost.disabled:active > a:only-child:after,
  2814. .ant-btn-ghost[disabled]:active > a:only-child:after,
  2815. .ant-btn-ghost.disabled.active > a:only-child:after,
  2816. .ant-btn-ghost[disabled].active > a:only-child:after {
  2817. background: transparent;
  2818. }
  2819. .ant-btn-dashed {
  2820. color: rgba(0, 0, 0, 0.65);
  2821. background-color: #fff;
  2822. border-color: #d9d9d9;
  2823. border-style: dashed;
  2824. }
  2825. .ant-btn-dashed > a:only-child {
  2826. color: currentColor;
  2827. }
  2828. .ant-btn-dashed > a:only-child:after {
  2829. background: transparent;
  2830. }
  2831. .ant-btn-dashed:hover,
  2832. .ant-btn-dashed:focus {
  2833. color: color(~`colorPalette("@{primary-color}", 5)`);
  2834. background-color: #fff;
  2835. border-color: color(~`colorPalette("@{primary-color}", 5)`);
  2836. }
  2837. .ant-btn-dashed:hover > a:only-child,
  2838. .ant-btn-dashed:focus > a:only-child {
  2839. color: currentColor;
  2840. }
  2841. .ant-btn-dashed:hover > a:only-child:after,
  2842. .ant-btn-dashed:focus > a:only-child:after {
  2843. background: transparent;
  2844. }
  2845. .ant-btn-dashed:active,
  2846. .ant-btn-dashed.active {
  2847. color: color(~`colorPalette("@{primary-color}", 7)`);
  2848. background-color: #fff;
  2849. border-color: color(~`colorPalette("@{primary-color}", 7)`);
  2850. }
  2851. .ant-btn-dashed:active > a:only-child,
  2852. .ant-btn-dashed.active > a:only-child {
  2853. color: currentColor;
  2854. }
  2855. .ant-btn-dashed:active > a:only-child:after,
  2856. .ant-btn-dashed.active > a:only-child:after {
  2857. background: transparent;
  2858. }
  2859. .ant-btn-dashed.disabled,
  2860. .ant-btn-dashed[disabled],
  2861. .ant-btn-dashed.disabled:hover,
  2862. .ant-btn-dashed[disabled]:hover,
  2863. .ant-btn-dashed.disabled:focus,
  2864. .ant-btn-dashed[disabled]:focus,
  2865. .ant-btn-dashed.disabled:active,
  2866. .ant-btn-dashed[disabled]:active,
  2867. .ant-btn-dashed.disabled.active,
  2868. .ant-btn-dashed[disabled].active {
  2869. color: rgba(0, 0, 0, 0.25);
  2870. background-color: #f5f5f5;
  2871. border-color: #d9d9d9;
  2872. box-shadow: none;
  2873. }
  2874. .ant-btn-dashed.disabled > a:only-child,
  2875. .ant-btn-dashed[disabled] > a:only-child,
  2876. .ant-btn-dashed.disabled:hover > a:only-child,
  2877. .ant-btn-dashed[disabled]:hover > a:only-child,
  2878. .ant-btn-dashed.disabled:focus > a:only-child,
  2879. .ant-btn-dashed[disabled]:focus > a:only-child,
  2880. .ant-btn-dashed.disabled:active > a:only-child,
  2881. .ant-btn-dashed[disabled]:active > a:only-child,
  2882. .ant-btn-dashed.disabled.active > a:only-child,
  2883. .ant-btn-dashed[disabled].active > a:only-child {
  2884. color: currentColor;
  2885. }
  2886. .ant-btn-dashed.disabled > a:only-child:after,
  2887. .ant-btn-dashed[disabled] > a:only-child:after,
  2888. .ant-btn-dashed.disabled:hover > a:only-child:after,
  2889. .ant-btn-dashed[disabled]:hover > a:only-child:after,
  2890. .ant-btn-dashed.disabled:focus > a:only-child:after,
  2891. .ant-btn-dashed[disabled]:focus > a:only-child:after,
  2892. .ant-btn-dashed.disabled:active > a:only-child:after,
  2893. .ant-btn-dashed[disabled]:active > a:only-child:after,
  2894. .ant-btn-dashed.disabled.active > a:only-child:after,
  2895. .ant-btn-dashed[disabled].active > a:only-child:after {
  2896. background: transparent;
  2897. }
  2898. .ant-btn-danger {
  2899. color: #f5222d;
  2900. background-color: #f5f5f5;
  2901. border-color: #d9d9d9;
  2902. }
  2903. .ant-btn-danger > a:only-child {
  2904. color: currentColor;
  2905. }
  2906. .ant-btn-danger > a:only-child:after {
  2907. background: transparent;
  2908. }
  2909. .ant-btn-danger:hover {
  2910. color: #fff;
  2911. background-color: #ff4d4f;
  2912. border-color: #ff4d4f;
  2913. }
  2914. .ant-btn-danger:hover > a:only-child {
  2915. color: currentColor;
  2916. }
  2917. .ant-btn-danger:hover > a:only-child:after {
  2918. background: transparent;
  2919. }
  2920. .ant-btn-danger:focus {
  2921. color: #ff4d4f;
  2922. background-color: #fff;
  2923. border-color: #ff4d4f;
  2924. }
  2925. .ant-btn-danger:focus > a:only-child {
  2926. color: currentColor;
  2927. }
  2928. .ant-btn-danger:focus > a:only-child:after {
  2929. background: transparent;
  2930. }
  2931. .ant-btn-danger:active,
  2932. .ant-btn-danger.active {
  2933. color: #fff;
  2934. background-color: #cf1322;
  2935. border-color: #cf1322;
  2936. }
  2937. .ant-btn-danger:active > a:only-child,
  2938. .ant-btn-danger.active > a:only-child {
  2939. color: currentColor;
  2940. }
  2941. .ant-btn-danger:active > a:only-child:after,
  2942. .ant-btn-danger.active > a:only-child:after {
  2943. background: transparent;
  2944. }
  2945. .ant-btn-danger.disabled,
  2946. .ant-btn-danger[disabled],
  2947. .ant-btn-danger.disabled:hover,
  2948. .ant-btn-danger[disabled]:hover,
  2949. .ant-btn-danger.disabled:focus,
  2950. .ant-btn-danger[disabled]:focus,
  2951. .ant-btn-danger.disabled:active,
  2952. .ant-btn-danger[disabled]:active,
  2953. .ant-btn-danger.disabled.active,
  2954. .ant-btn-danger[disabled].active {
  2955. color: rgba(0, 0, 0, 0.25);
  2956. background-color: #f5f5f5;
  2957. border-color: #d9d9d9;
  2958. box-shadow: none;
  2959. }
  2960. .ant-btn-danger.disabled > a:only-child,
  2961. .ant-btn-danger[disabled] > a:only-child,
  2962. .ant-btn-danger.disabled:hover > a:only-child,
  2963. .ant-btn-danger[disabled]:hover > a:only-child,
  2964. .ant-btn-danger.disabled:focus > a:only-child,
  2965. .ant-btn-danger[disabled]:focus > a:only-child,
  2966. .ant-btn-danger.disabled:active > a:only-child,
  2967. .ant-btn-danger[disabled]:active > a:only-child,
  2968. .ant-btn-danger.disabled.active > a:only-child,
  2969. .ant-btn-danger[disabled].active > a:only-child {
  2970. color: currentColor;
  2971. }
  2972. .ant-btn-danger.disabled > a:only-child:after,
  2973. .ant-btn-danger[disabled] > a:only-child:after,
  2974. .ant-btn-danger.disabled:hover > a:only-child:after,
  2975. .ant-btn-danger[disabled]:hover > a:only-child:after,
  2976. .ant-btn-danger.disabled:focus > a:only-child:after,
  2977. .ant-btn-danger[disabled]:focus > a:only-child:after,
  2978. .ant-btn-danger.disabled:active > a:only-child:after,
  2979. .ant-btn-danger[disabled]:active > a:only-child:after,
  2980. .ant-btn-danger.disabled.active > a:only-child:after,
  2981. .ant-btn-danger[disabled].active > a:only-child:after {
  2982. background: transparent;
  2983. }
  2984. .ant-btn-circle,
  2985. .ant-btn-circle-outline {
  2986. border-radius: 50%;
  2987. }
  2988. .ant-btn-circle.ant-btn-lg,
  2989. .ant-btn-circle-outline.ant-btn-lg {
  2990. border-radius: 50%;
  2991. }
  2992. .ant-btn-circle.ant-btn-sm,
  2993. .ant-btn-circle-outline.ant-btn-sm {
  2994. border-radius: 50%;
  2995. }
  2996. .ant-btn:before {
  2997. background: #fff;
  2998. border-radius: inherit;
  2999. }
  3000. .ant-btn-group-lg > .ant-btn,
  3001. .ant-btn-group-lg > span > .ant-btn {
  3002. border-radius: 0;
  3003. }
  3004. .ant-btn-group-sm > .ant-btn,
  3005. .ant-btn-group-sm > span > .ant-btn {
  3006. border-radius: 0;
  3007. }
  3008. .ant-btn-group .ant-btn-primary + .ant-btn:not(.ant-btn-primary):not([disabled]) {
  3009. border-left-color: transparent;
  3010. }
  3011. .ant-btn-group .ant-btn {
  3012. border-radius: 0;
  3013. }
  3014. .ant-btn-group > .ant-btn:only-child {
  3015. border-radius: 4px;
  3016. }
  3017. .ant-btn-group > span:only-child > .ant-btn {
  3018. border-radius: 4px;
  3019. }
  3020. .ant-btn-group > .ant-btn:first-child:not(:last-child),
  3021. .ant-btn-group > span:first-child:not(:last-child) > .ant-btn {
  3022. border-bottom-left-radius: 4px;
  3023. border-top-left-radius: 4px;
  3024. }
  3025. .ant-btn-group > .ant-btn:last-child:not(:first-child),
  3026. .ant-btn-group > span:last-child:not(:first-child) > .ant-btn {
  3027. border-bottom-right-radius: 4px;
  3028. border-top-right-radius: 4px;
  3029. }
  3030. .ant-btn-group-sm > .ant-btn:only-child {
  3031. border-radius: 4px;
  3032. }
  3033. .ant-btn-group-sm > span:only-child > .ant-btn {
  3034. border-radius: 4px;
  3035. }
  3036. .ant-btn-group-sm > .ant-btn:first-child:not(:last-child),
  3037. .ant-btn-group-sm > span:first-child:not(:last-child) > .ant-btn {
  3038. border-bottom-left-radius: 4px;
  3039. border-top-left-radius: 4px;
  3040. }
  3041. .ant-btn-group-sm > .ant-btn:last-child:not(:first-child),
  3042. .ant-btn-group-sm > span:last-child:not(:first-child) > .ant-btn {
  3043. border-bottom-right-radius: 4px;
  3044. border-top-right-radius: 4px;
  3045. }
  3046. .ant-btn-group > .ant-btn-group:not(:first-child):not(:last-child) > .ant-btn {
  3047. border-radius: 0;
  3048. }
  3049. .ant-btn-group > .ant-btn-group:first-child:not(:last-child) > .ant-btn:last-child {
  3050. border-bottom-right-radius: 0;
  3051. border-top-right-radius: 0;
  3052. }
  3053. .ant-btn-group > .ant-btn-group:last-child:not(:first-child) > .ant-btn:first-child {
  3054. border-bottom-left-radius: 0;
  3055. border-top-left-radius: 0;
  3056. }
  3057. .ant-btn-background-ghost {
  3058. background: transparent !important;
  3059. border-color: #fff;
  3060. color: #fff;
  3061. }
  3062. .ant-btn-background-ghost.ant-btn-primary {
  3063. color: @primary-color;
  3064. background-color: transparent;
  3065. border-color: @primary-color;
  3066. }
  3067. .ant-btn-background-ghost.ant-btn-primary > a:only-child {
  3068. color: currentColor;
  3069. }
  3070. .ant-btn-background-ghost.ant-btn-primary > a:only-child:after {
  3071. background: transparent;
  3072. }
  3073. .ant-btn-background-ghost.ant-btn-primary:hover,
  3074. .ant-btn-background-ghost.ant-btn-primary:focus {
  3075. color: color(~`colorPalette("@{primary-color}", 5)`);
  3076. background-color: transparent;
  3077. border-color: color(~`colorPalette("@{primary-color}", 5)`);
  3078. }
  3079. .ant-btn-background-ghost.ant-btn-primary:hover > a:only-child,
  3080. .ant-btn-background-ghost.ant-btn-primary:focus > a:only-child {
  3081. color: currentColor;
  3082. }
  3083. .ant-btn-background-ghost.ant-btn-primary:hover > a:only-child:after,
  3084. .ant-btn-background-ghost.ant-btn-primary:focus > a:only-child:after {
  3085. background: transparent;
  3086. }
  3087. .ant-btn-background-ghost.ant-btn-primary:active,
  3088. .ant-btn-background-ghost.ant-btn-primary.active {
  3089. color: color(~`colorPalette("@{primary-color}", 7)`);
  3090. background-color: transparent;
  3091. border-color: color(~`colorPalette("@{primary-color}", 7)`);
  3092. }
  3093. .ant-btn-background-ghost.ant-btn-primary:active > a:only-child,
  3094. .ant-btn-background-ghost.ant-btn-primary.active > a:only-child {
  3095. color: currentColor;
  3096. }
  3097. .ant-btn-background-ghost.ant-btn-primary:active > a:only-child:after,
  3098. .ant-btn-background-ghost.ant-btn-primary.active > a:only-child:after {
  3099. background: transparent;
  3100. }
  3101. .ant-btn-background-ghost.ant-btn-primary.disabled,
  3102. .ant-btn-background-ghost.ant-btn-primary[disabled],
  3103. .ant-btn-background-ghost.ant-btn-primary.disabled:hover,
  3104. .ant-btn-background-ghost.ant-btn-primary[disabled]:hover,
  3105. .ant-btn-background-ghost.ant-btn-primary.disabled:focus,
  3106. .ant-btn-background-ghost.ant-btn-primary[disabled]:focus,
  3107. .ant-btn-background-ghost.ant-btn-primary.disabled:active,
  3108. .ant-btn-background-ghost.ant-btn-primary[disabled]:active,
  3109. .ant-btn-background-ghost.ant-btn-primary.disabled.active,
  3110. .ant-btn-background-ghost.ant-btn-primary[disabled].active {
  3111. color: rgba(0, 0, 0, 0.25);
  3112. background-color: #f5f5f5;
  3113. border-color: #d9d9d9;
  3114. box-shadow: none;
  3115. }
  3116. .ant-btn-background-ghost.ant-btn-primary.disabled > a:only-child,
  3117. .ant-btn-background-ghost.ant-btn-primary[disabled] > a:only-child,
  3118. .ant-btn-background-ghost.ant-btn-primary.disabled:hover > a:only-child,
  3119. .ant-btn-background-ghost.ant-btn-primary[disabled]:hover > a:only-child,
  3120. .ant-btn-background-ghost.ant-btn-primary.disabled:focus > a:only-child,
  3121. .ant-btn-background-ghost.ant-btn-primary[disabled]:focus > a:only-child,
  3122. .ant-btn-background-ghost.ant-btn-primary.disabled:active > a:only-child,
  3123. .ant-btn-background-ghost.ant-btn-primary[disabled]:active > a:only-child,
  3124. .ant-btn-background-ghost.ant-btn-primary.disabled.active > a:only-child,
  3125. .ant-btn-background-ghost.ant-btn-primary[disabled].active > a:only-child {
  3126. color: currentColor;
  3127. }
  3128. .ant-btn-background-ghost.ant-btn-primary.disabled > a:only-child:after,
  3129. .ant-btn-background-ghost.ant-btn-primary[disabled] > a:only-child:after,
  3130. .ant-btn-background-ghost.ant-btn-primary.disabled:hover > a:only-child:after,
  3131. .ant-btn-background-ghost.ant-btn-primary[disabled]:hover > a:only-child:after,
  3132. .ant-btn-background-ghost.ant-btn-primary.disabled:focus > a:only-child:after,
  3133. .ant-btn-background-ghost.ant-btn-primary[disabled]:focus > a:only-child:after,
  3134. .ant-btn-background-ghost.ant-btn-primary.disabled:active > a:only-child:after,
  3135. .ant-btn-background-ghost.ant-btn-primary[disabled]:active > a:only-child:after,
  3136. .ant-btn-background-ghost.ant-btn-primary.disabled.active > a:only-child:after,
  3137. .ant-btn-background-ghost.ant-btn-primary[disabled].active > a:only-child:after {
  3138. background: transparent;
  3139. }
  3140. .ant-btn-background-ghost.ant-btn-danger {
  3141. color: #f5222d;
  3142. background-color: transparent;
  3143. border-color: #f5222d;
  3144. }
  3145. .ant-btn-background-ghost.ant-btn-danger > a:only-child {
  3146. color: currentColor;
  3147. }
  3148. .ant-btn-background-ghost.ant-btn-danger > a:only-child:after {
  3149. background: transparent;
  3150. }
  3151. .ant-btn-background-ghost.ant-btn-danger:hover,
  3152. .ant-btn-background-ghost.ant-btn-danger:focus {
  3153. color: #ff4d4f;
  3154. background-color: transparent;
  3155. border-color: #ff4d4f;
  3156. }
  3157. .ant-btn-background-ghost.ant-btn-danger:hover > a:only-child,
  3158. .ant-btn-background-ghost.ant-btn-danger:focus > a:only-child {
  3159. color: currentColor;
  3160. }
  3161. .ant-btn-background-ghost.ant-btn-danger:hover > a:only-child:after,
  3162. .ant-btn-background-ghost.ant-btn-danger:focus > a:only-child:after {
  3163. background: transparent;
  3164. }
  3165. .ant-btn-background-ghost.ant-btn-danger:active,
  3166. .ant-btn-background-ghost.ant-btn-danger.active {
  3167. color: #cf1322;
  3168. background-color: transparent;
  3169. border-color: #cf1322;
  3170. }
  3171. .ant-btn-background-ghost.ant-btn-danger:active > a:only-child,
  3172. .ant-btn-background-ghost.ant-btn-danger.active > a:only-child {
  3173. color: currentColor;
  3174. }
  3175. .ant-btn-background-ghost.ant-btn-danger:active > a:only-child:after,
  3176. .ant-btn-background-ghost.ant-btn-danger.active > a:only-child:after {
  3177. background: transparent;
  3178. }
  3179. .ant-btn-background-ghost.ant-btn-danger.disabled,
  3180. .ant-btn-background-ghost.ant-btn-danger[disabled],
  3181. .ant-btn-background-ghost.ant-btn-danger.disabled:hover,
  3182. .ant-btn-background-ghost.ant-btn-danger[disabled]:hover,
  3183. .ant-btn-background-ghost.ant-btn-danger.disabled:focus,
  3184. .ant-btn-background-ghost.ant-btn-danger[disabled]:focus,
  3185. .ant-btn-background-ghost.ant-btn-danger.disabled:active,
  3186. .ant-btn-background-ghost.ant-btn-danger[disabled]:active,
  3187. .ant-btn-background-ghost.ant-btn-danger.disabled.active,
  3188. .ant-btn-background-ghost.ant-btn-danger[disabled].active {
  3189. color: rgba(0, 0, 0, 0.25);
  3190. background-color: #f5f5f5;
  3191. border-color: #d9d9d9;
  3192. box-shadow: none;
  3193. }
  3194. .ant-btn-background-ghost.ant-btn-danger.disabled > a:only-child,
  3195. .ant-btn-background-ghost.ant-btn-danger[disabled] > a:only-child,
  3196. .ant-btn-background-ghost.ant-btn-danger.disabled:hover > a:only-child,
  3197. .ant-btn-background-ghost.ant-btn-danger[disabled]:hover > a:only-child,
  3198. .ant-btn-background-ghost.ant-btn-danger.disabled:focus > a:only-child,
  3199. .ant-btn-background-ghost.ant-btn-danger[disabled]:focus > a:only-child,
  3200. .ant-btn-background-ghost.ant-btn-danger.disabled:active > a:only-child,
  3201. .ant-btn-background-ghost.ant-btn-danger[disabled]:active > a:only-child,
  3202. .ant-btn-background-ghost.ant-btn-danger.disabled.active > a:only-child,
  3203. .ant-btn-background-ghost.ant-btn-danger[disabled].active > a:only-child {
  3204. color: currentColor;
  3205. }
  3206. .ant-btn-background-ghost.ant-btn-danger.disabled > a:only-child:after,
  3207. .ant-btn-background-ghost.ant-btn-danger[disabled] > a:only-child:after,
  3208. .ant-btn-background-ghost.ant-btn-danger.disabled:hover > a:only-child:after,
  3209. .ant-btn-background-ghost.ant-btn-danger[disabled]:hover > a:only-child:after,
  3210. .ant-btn-background-ghost.ant-btn-danger.disabled:focus > a:only-child:after,
  3211. .ant-btn-background-ghost.ant-btn-danger[disabled]:focus > a:only-child:after,
  3212. .ant-btn-background-ghost.ant-btn-danger.disabled:active > a:only-child:after,
  3213. .ant-btn-background-ghost.ant-btn-danger[disabled]:active > a:only-child:after,
  3214. .ant-btn-background-ghost.ant-btn-danger.disabled.active > a:only-child:after,
  3215. .ant-btn-background-ghost.ant-btn-danger[disabled].active > a:only-child:after {
  3216. background: transparent;
  3217. }
  3218. .christmas.ant-btn-primary:before {
  3219. background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE0AAAAXCAYAAABOHMIhAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAABiZJREFUeNrsWMtPlFcUvzPMwIDysLyRR4uATDHWCiVgSmRlios2DeiiXUFs0nRBd6arxqQhJDapkYXhP4BqDKTQhZaFNQSCaBEVJjwdHsNr5DUMDDPDzPT3u7nTDEgRKrKgc5KT+z3uufec33de99P4fD4RpL2RNgjB3kn35MkTeRERESFiYmLkGBoaKnQ6nWSNRvPPZFxr+vv7k6KioiIdDsfa8vLyQkFBgcP3Bnel3MDAQArWI0eFhISE87nb7bZ7PJ4VvLYuLi5O5+fnu9+kMNfq6+tLjIyMzMY6KeBEbK/XarXReI3lPDZMWcc4v7GxYV1dXR3Jy8ub2E5HPvJ6vRSSDH0ku1wuAfsEZOV1IEFHoeNFdHS0yMrK2knR0Lm5uR+hxLdQMjbwHTZbB41h8RGwCdc9MzMzneHh4bGJiYlf4SN8ijkfwqiIncCAAR7Iz2GPSShudjqdfeCeqampvwBQfFxc3JdYqwTv8gB8/F48A8BgKecE14V+L7ju2tpae05OzkuCCZvkPOj8mizmC6vVKtmPu+bx48cC3qI1mUyFUOyywWD4SHlELBaLJmCHNcwAghuAOujtuF4FqHO4nsX4EsAS3I4TJ04ME1h8PDE9PS09TYZoY2Pj1729vd6lpSVfkDYTPG0UkfNDRUWFgQ5Gb2Mh0N29e9eG/GQfHh4W8/PzwUy/ObQ/gMfVVlZW1iAiZdQxp3nv3LljRoL/5erVq1UIxzSiiVD9X4EDYATynCwAzGO858hCQRoaGmJFZNJz8YIcBc4BF966dau6sLAwBxVSJCUlCSThQwuU3W6XkYUok1Vzm5znQx5bbm9v77p+/frPeNSNRzZ/ISBwrG4ZR48eLamtrf2+uLjYSEG9Xi/wTISFhQlWGXohyzO/CJlVl23KQRLbABoaHx+/Z1lUZ/Hq1SsJFj3JT3hmHx8fnydPTEzMj46OziHPW2w22wxeD4Kfgadh/4YEzU8Az4DhffAn5eXlX1y6dKkEoCTspAQ9Mjs7+0BBo8Fms1lkZGTsOo0QLLRNkvnR+fEJzIMHD0xtbW39CL8JTFtSbAOvBIyLHIGVm9VzE2gKuDAMSSpcT6KXyT137lx2cnLyMXhcGDb3wq3XuWF3d/fCzZs3P0c4v5eSknJQbYLo7Ox0gC2lpaVZ3Be67Th/dnZWoAJKsJC3XA8fPhxoamp6hMb+BaaMgWcUMGtszZjiFDNmvcDI91pzG0iY4ARwkwrxkcHBwUdgNrRMbnrqoRbkVzDcvn3bl5qaWsmcgFH4G8XdEGUWFhak51AuISFBnkoCTyFbyWKxCJwIxlC0fq2rq7tcVFRkRKskjh8/Lr0+kBjCCDV/knfdv3//WX19/R8IRRNemxlu4AXwKqM+EJwdj1HbPYSwh3sCPAJDABm2LLchCjS+5/kirKGhwWk0GrMuXrxYQuX9hm/XXTMXMY+srKwI5ApZrbYmZh7deEJhAUKjLe/pLTzSsCuHrK+1tbUJVe3P6upq87Vr174rKysrYHVj/uW+OH3IfEuw4F3ee/fuPQfAvwOs5yyE4CnlFOu7BWrTCWlreO6FACpBZGwUw4BvkANLobReHb3kGZYGsGzTq/zlO8AT1ru6uoZbWlqeA6gINJAfnz59OlVLoX8Jtebm5raampqfcMvQYgTknz9//sKVK1c+y83NTdIEuCnaKMuNGzd+6+np6cCtSTkAw9D9X8Dyh+dbgaaAC1XAnUlPTy+qqqq6cPbs2UzkmWjNljiDJzpwHFnCkW2yo6NjCKW8H54wjlezKvRT09LSTsJrz5w6dSoN+Yp51ADAPUj8VoDbDq9pxrwuJcNIYQllJTIi/xopBw/VA7DJp0+f9hA78CgL5F5C8J2CpoCj8sfA6WCe/FPRhsRlZmbGIs8Y4FFO5CJgtrSsvrRVGW1V93b1myoGnKAKEcHgnwsWpg1lNI0fphwrmdqbckeU18WrnlOjqp5/j7W3BWvfQVPKa5SBkcrYCNVB65TRTlWZ1lXiXVU5xbtlDb2SPaLWYwrgHIcqPg6Vc7fbX69Yoyqfa7/AeiegbWOEVhmsVcWDwPn224iDJgla8Hd38Hd3ELQgaIeI/hZgAIPEp0vmQJdoAAAAAElFTkSuQmCC) no-repeat 50% 0;
  3220. background-size: 64px;
  3221. }
  3222. .christmas.ant-btn-primary.ant-btn-lg:before {
  3223. background-size: 72px;
  3224. }
  3225. .christmas.ant-btn-primary.ant-btn-sm:before {
  3226. background-size: 56px;
  3227. }
  3228. .ant-fullcalendar {
  3229. color: rgba(0, 0, 0, 0.65);
  3230. border-top: 1px solid #d9d9d9;
  3231. }
  3232. .ant-fullcalendar table {
  3233. border-collapse: collapse;
  3234. background-color: transparent;
  3235. }
  3236. .ant-fullcalendar table,
  3237. .ant-fullcalendar th,
  3238. .ant-fullcalendar td {
  3239. border: 0;
  3240. }
  3241. .ant-fullcalendar-calendar-table {
  3242. border-spacing: 0;
  3243. }
  3244. .ant-fullcalendar-value {
  3245. color: rgba(0, 0, 0, 0.65);
  3246. border-radius: 2px;
  3247. background: transparent;
  3248. }
  3249. .ant-fullcalendar-value:hover {
  3250. background: color(~`colorPalette("@{primary-color}", 1)`);
  3251. }
  3252. .ant-fullcalendar-value:active {
  3253. background: @primary-color;
  3254. color: #fff;
  3255. }
  3256. .ant-fullcalendar-today .ant-fullcalendar-value,
  3257. .ant-fullcalendar-month-panel-current-cell .ant-fullcalendar-value {
  3258. box-shadow: 0 0 0 1px @primary-color inset;
  3259. }
  3260. .ant-fullcalendar-selected-day .ant-fullcalendar-value,
  3261. .ant-fullcalendar-month-panel-selected-cell .ant-fullcalendar-value {
  3262. background: @primary-color;
  3263. color: #fff;
  3264. }
  3265. .ant-fullcalendar-disabled-cell-first-of-row .ant-fullcalendar-value {
  3266. border-top-left-radius: 4px;
  3267. border-bottom-left-radius: 4px;
  3268. }
  3269. .ant-fullcalendar-disabled-cell-last-of-row .ant-fullcalendar-value {
  3270. border-top-right-radius: 4px;
  3271. border-bottom-right-radius: 4px;
  3272. }
  3273. .ant-fullcalendar-last-month-cell .ant-fullcalendar-value,
  3274. .ant-fullcalendar-next-month-btn-day .ant-fullcalendar-value {
  3275. color: rgba(0, 0, 0, 0.25);
  3276. }
  3277. .ant-fullcalendar-month-panel-table {
  3278. border-collapse: separate;
  3279. }
  3280. .ant-fullcalendar-fullscreen {
  3281. border-top: 0;
  3282. }
  3283. .ant-fullcalendar-fullscreen .ant-fullcalendar-month,
  3284. .ant-fullcalendar-fullscreen .ant-fullcalendar-date {
  3285. color: rgba(0, 0, 0, 0.65);
  3286. border-top: 2px solid #e8e8e8;
  3287. }
  3288. .ant-fullcalendar-fullscreen .ant-fullcalendar-month:hover,
  3289. .ant-fullcalendar-fullscreen .ant-fullcalendar-date:hover {
  3290. background: color(~`colorPalette("@{primary-color}", 1)`);
  3291. }
  3292. .ant-fullcalendar-fullscreen .ant-fullcalendar-month:active,
  3293. .ant-fullcalendar-fullscreen .ant-fullcalendar-date:active {
  3294. background: color(~`colorPalette("@{primary-color}", 2)`);
  3295. }
  3296. .ant-fullcalendar-fullscreen .ant-fullcalendar-value {
  3297. background: transparent;
  3298. }
  3299. .ant-fullcalendar-fullscreen .ant-fullcalendar-today .ant-fullcalendar-value {
  3300. color: rgba(0, 0, 0, 0.65);
  3301. }
  3302. .ant-fullcalendar-fullscreen .ant-fullcalendar-month-panel-current-cell .ant-fullcalendar-month,
  3303. .ant-fullcalendar-fullscreen .ant-fullcalendar-today .ant-fullcalendar-date {
  3304. border-top-color: @primary-color;
  3305. background: transparent;
  3306. }
  3307. .ant-fullcalendar-fullscreen .ant-fullcalendar-month-panel-current-cell .ant-fullcalendar-value,
  3308. .ant-fullcalendar-fullscreen .ant-fullcalendar-today .ant-fullcalendar-value {
  3309. box-shadow: none;
  3310. }
  3311. .ant-fullcalendar-fullscreen .ant-fullcalendar-month-panel-selected-cell .ant-fullcalendar-month,
  3312. .ant-fullcalendar-fullscreen .ant-fullcalendar-selected-day .ant-fullcalendar-date {
  3313. background: color(~`colorPalette("@{primary-color}", 1)`);
  3314. }
  3315. .ant-fullcalendar-fullscreen .ant-fullcalendar-month-panel-selected-cell .ant-fullcalendar-value,
  3316. .ant-fullcalendar-fullscreen .ant-fullcalendar-selected-day .ant-fullcalendar-value {
  3317. color: @primary-color;
  3318. }
  3319. .ant-fullcalendar-fullscreen .ant-fullcalendar-last-month-cell .ant-fullcalendar-date,
  3320. .ant-fullcalendar-fullscreen .ant-fullcalendar-next-month-btn-day .ant-fullcalendar-date {
  3321. color: rgba(0, 0, 0, 0.25);
  3322. }
  3323. .ant-fullcalendar-disabled-cell:not(.ant-fullcalendar-today) .ant-fullcalendar-date,
  3324. .ant-fullcalendar-disabled-cell:not(.ant-fullcalendar-today) .ant-fullcalendar-date:hover {
  3325. background: transparent;
  3326. }
  3327. .ant-fullcalendar-disabled-cell .ant-fullcalendar-value {
  3328. color: rgba(0, 0, 0, 0.25);
  3329. border-radius: 0;
  3330. }
  3331. .ant-card {
  3332. color: rgba(0, 0, 0, 0.65);
  3333. background: #fff;
  3334. border-radius: 2px;
  3335. }
  3336. .ant-card-hoverable:hover {
  3337. box-shadow: 0 2px 8px rgba(0, 0, 0, 0.09);
  3338. border-color: rgba(0, 0, 0, 0.09);
  3339. }
  3340. .ant-card-bordered {
  3341. border: 1px solid #e8e8e8;
  3342. }
  3343. .ant-card-head {
  3344. background: transparent;
  3345. border-bottom: 1px solid #e8e8e8;
  3346. border-radius: 2px 2px 0 0;
  3347. color: rgba(0, 0, 0, 0.85);
  3348. }
  3349. .ant-card-head .ant-tabs {
  3350. color: rgba(0, 0, 0, 0.65);
  3351. }
  3352. .ant-card-head .ant-tabs-bar {
  3353. border-bottom: 1px solid #e8e8e8;
  3354. }
  3355. .ant-card-extra {
  3356. color: rgba(0, 0, 0, 0.65);
  3357. }
  3358. .ant-card-grid {
  3359. border-radius: 0;
  3360. border: 0;
  3361. box-shadow: 1px 0 0 0 #e8e8e8, 0 1px 0 0 #e8e8e8, 1px 1px 0 0 #e8e8e8, 1px 0 0 0 #e8e8e8 inset, 0 1px 0 0 #e8e8e8 inset;
  3362. }
  3363. .ant-card-grid:hover {
  3364. box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  3365. }
  3366. .ant-card-cover img {
  3367. border-radius: 2px 2px 0 0;
  3368. }
  3369. .ant-card-actions {
  3370. border-top: 1px solid #e8e8e8;
  3371. background: #fafafa;
  3372. }
  3373. .ant-card-actions > li {
  3374. color: rgba(0, 0, 0, 0.45);
  3375. }
  3376. .ant-card-actions > li > span:hover {
  3377. color: @primary-color;
  3378. }
  3379. .ant-card-actions > li > span a {
  3380. color: rgba(0, 0, 0, 0.45);
  3381. }
  3382. .ant-card-actions > li > span a:hover {
  3383. color: @primary-color;
  3384. }
  3385. .ant-card-actions > li:not(:last-child) {
  3386. border-right: 1px solid #e8e8e8;
  3387. }
  3388. .ant-card-type-inner .ant-card-head {
  3389. background: #fafafa;
  3390. }
  3391. .ant-card-meta-title {
  3392. color: rgba(0, 0, 0, 0.85);
  3393. }
  3394. .ant-card-meta-description {
  3395. color: rgba(0, 0, 0, 0.45);
  3396. }
  3397. .ant-card-loading-block {
  3398. border-radius: 2px;
  3399. background: linear-gradient(90deg, rgba(207, 216, 220, 0.2), rgba(207, 216, 220, 0.4), rgba(207, 216, 220, 0.2));
  3400. background-size: 600% 600%;
  3401. }
  3402. .ant-carousel {
  3403. color: rgba(0, 0, 0, 0.65);
  3404. }
  3405. .ant-carousel .slick-slider {
  3406. -webkit-tap-highlight-color: transparent;
  3407. }
  3408. .ant-carousel .slick-vertical .slick-slide {
  3409. border: 1px solid transparent;
  3410. }
  3411. .ant-carousel .slick-prev,
  3412. .ant-carousel .slick-next {
  3413. background: transparent;
  3414. color: transparent;
  3415. border: 0;
  3416. }
  3417. .ant-carousel .slick-prev:hover,
  3418. .ant-carousel .slick-next:hover,
  3419. .ant-carousel .slick-prev:focus,
  3420. .ant-carousel .slick-next:focus {
  3421. background: transparent;
  3422. color: transparent;
  3423. }
  3424. .ant-carousel .slick-dots li button {
  3425. border: 0;
  3426. background: #fff;
  3427. border-radius: 1px;
  3428. color: transparent;
  3429. }
  3430. .ant-carousel .slick-dots li.slick-active button {
  3431. background: #fff;
  3432. }
  3433. .ant-cascader {
  3434. color: rgba(0, 0, 0, 0.65);
  3435. }
  3436. .ant-cascader-input.ant-input {
  3437. background-color: transparent !important;
  3438. }
  3439. .ant-cascader-picker {
  3440. color: rgba(0, 0, 0, 0.65);
  3441. background-color: #fff;
  3442. border-radius: 4px;
  3443. }
  3444. .ant-cascader-picker-with-value .ant-cascader-picker-label {
  3445. color: transparent;
  3446. }
  3447. .ant-cascader-picker-disabled {
  3448. background: #f5f5f5;
  3449. color: rgba(0, 0, 0, 0.25);
  3450. }
  3451. .ant-cascader-picker:focus .ant-cascader-input {
  3452. border-color: color(~`colorPalette("@{primary-color}", 5)`);
  3453. box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
  3454. border-right-width: 1px !important;
  3455. }
  3456. .ant-cascader-picker-show-search.ant-cascader-picker-focused {
  3457. color: rgba(0, 0, 0, 0.25);
  3458. }
  3459. .ant-cascader-picker-clear {
  3460. background: #fff;
  3461. color: rgba(0, 0, 0, 0.25);
  3462. }
  3463. .ant-cascader-picker-clear:hover {
  3464. color: rgba(0, 0, 0, 0.45);
  3465. }
  3466. .ant-cascader-picker-arrow {
  3467. color: rgba(0, 0, 0, 0.25);
  3468. }
  3469. .ant-cascader-menus {
  3470. background: #fff;
  3471. border-radius: 4px;
  3472. box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  3473. }
  3474. .ant-cascader-menu {
  3475. border-right: 1px solid #e8e8e8;
  3476. }
  3477. .ant-cascader-menu:first-child {
  3478. border-radius: 4px 0 0 4px;
  3479. }
  3480. .ant-cascader-menu:last-child {
  3481. border-right-color: transparent;
  3482. border-radius: 0 4px 4px 0;
  3483. }
  3484. .ant-cascader-menu:only-child {
  3485. border-radius: 4px;
  3486. }
  3487. .ant-cascader-menu-item:hover {
  3488. background: color(~`colorPalette("@{primary-color}", 1)`);
  3489. }
  3490. .ant-cascader-menu-item-disabled {
  3491. color: rgba(0, 0, 0, 0.25);
  3492. }
  3493. .ant-cascader-menu-item-disabled:hover {
  3494. background: transparent;
  3495. }
  3496. .ant-cascader-menu-item-active:not(.ant-cascader-menu-item-disabled),
  3497. .ant-cascader-menu-item-active:not(.ant-cascader-menu-item-disabled):hover {
  3498. background: #f5f5f5;
  3499. }
  3500. .ant-cascader-menu-item-expand .ant-cascader-menu-item-expand-icon,
  3501. .ant-cascader-menu-item-expand .ant-cascader-menu-item-loading-icon {
  3502. color: rgba(0, 0, 0, 0.45);
  3503. }
  3504. .ant-cascader-menu-item .ant-cascader-menu-item-keyword {
  3505. color: #f5222d;
  3506. }
  3507. .ant-checkbox {
  3508. color: rgba(0, 0, 0, 0.65);
  3509. }
  3510. .ant-checkbox-wrapper:hover .ant-checkbox-inner,
  3511. .ant-checkbox:hover .ant-checkbox-inner,
  3512. .ant-checkbox-input:focus + .ant-checkbox-inner {
  3513. border-color: @primary-color;
  3514. }
  3515. .ant-checkbox-checked:after {
  3516. border-radius: 2px;
  3517. border: 1px solid @primary-color;
  3518. }
  3519. .ant-checkbox-inner {
  3520. border: 1px solid #d9d9d9;
  3521. border-radius: 2px;
  3522. background-color: #fff;
  3523. }
  3524. .ant-checkbox-inner:after {
  3525. border: 2px solid #fff;
  3526. border-top: 0;
  3527. border-left: 0;
  3528. }
  3529. .ant-checkbox-indeterminate .ant-checkbox-inner:after {
  3530. border: 0;
  3531. background-color: @primary-color;
  3532. }
  3533. .ant-checkbox-indeterminate.ant-checkbox-disabled .ant-checkbox-inner:after {
  3534. border-color: rgba(0, 0, 0, 0.25);
  3535. }
  3536. .ant-checkbox-checked .ant-checkbox-inner:after {
  3537. border: 2px solid #fff;
  3538. border-top: 0;
  3539. border-left: 0;
  3540. }
  3541. .ant-checkbox-checked .ant-checkbox-inner {
  3542. background-color: @primary-color;
  3543. border-color: @primary-color;
  3544. }
  3545. .ant-checkbox-disabled.ant-checkbox-checked .ant-checkbox-inner:after {
  3546. border-color: rgba(0, 0, 0, 0.25);
  3547. }
  3548. .ant-checkbox-disabled .ant-checkbox-inner {
  3549. border-color: #d9d9d9 !important;
  3550. background-color: #f5f5f5;
  3551. }
  3552. .ant-checkbox-disabled .ant-checkbox-inner:after {
  3553. border-color: #f5f5f5;
  3554. }
  3555. .ant-checkbox-disabled + span {
  3556. color: rgba(0, 0, 0, 0.25);
  3557. }
  3558. .ant-checkbox-wrapper {
  3559. color: rgba(0, 0, 0, 0.65);
  3560. }
  3561. .ant-checkbox-group {
  3562. color: rgba(0, 0, 0, 0.65);
  3563. }
  3564. .ant-collapse {
  3565. color: rgba(0, 0, 0, 0.65);
  3566. background-color: #fafafa;
  3567. border-radius: 4px;
  3568. border: 1px solid #d9d9d9;
  3569. border-bottom: 0;
  3570. }
  3571. .ant-collapse > .ant-collapse-item {
  3572. border-bottom: 1px solid #d9d9d9;
  3573. }
  3574. .ant-collapse > .ant-collapse-item:last-child,
  3575. .ant-collapse > .ant-collapse-item:last-child > .ant-collapse-header {
  3576. border-radius: 0 0 4px 4px;
  3577. }
  3578. .ant-collapse > .ant-collapse-item > .ant-collapse-header {
  3579. color: rgba(0, 0, 0, 0.85);
  3580. }
  3581. .ant-collapse-content {
  3582. color: rgba(0, 0, 0, 0.65);
  3583. background-color: #fff;
  3584. border-top: 1px solid #d9d9d9;
  3585. }
  3586. .ant-collapse-item:last-child > .ant-collapse-content {
  3587. border-radius: 0 0 4px 4px;
  3588. }
  3589. .ant-collapse-borderless {
  3590. background-color: #fff;
  3591. border: 0;
  3592. }
  3593. .ant-collapse-borderless > .ant-collapse-item {
  3594. border-bottom: 1px solid #d9d9d9;
  3595. }
  3596. .ant-collapse-borderless > .ant-collapse-item:last-child,
  3597. .ant-collapse-borderless > .ant-collapse-item:last-child .ant-collapse-header {
  3598. border-radius: 0;
  3599. }
  3600. .ant-collapse-borderless > .ant-collapse-item > .ant-collapse-content {
  3601. background-color: transparent;
  3602. border-top: 0;
  3603. }
  3604. .ant-collapse .ant-collapse-item-disabled > .ant-collapse-header,
  3605. .ant-collapse .ant-collapse-item-disabled > .ant-collapse-header > .arrow {
  3606. color: rgba(0, 0, 0, 0.25);
  3607. }
  3608. .ant-calendar-picker-container {
  3609. color: rgba(0, 0, 0, 0.65);
  3610. }
  3611. .ant-calendar-picker {
  3612. color: rgba(0, 0, 0, 0.65);
  3613. }
  3614. .ant-calendar-picker:hover .ant-calendar-picker-input:not(.ant-input-disabled) {
  3615. border-color: @primary-color;
  3616. }
  3617. .ant-calendar-picker:focus .ant-calendar-picker-input:not(.ant-input-disabled) {
  3618. border-color: color(~`colorPalette("@{primary-color}", 5)`);
  3619. box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
  3620. border-right-width: 1px !important;
  3621. }
  3622. .ant-calendar-picker-clear {
  3623. color: rgba(0, 0, 0, 0.25);
  3624. background: #fff;
  3625. }
  3626. .ant-calendar-picker-clear:hover {
  3627. color: rgba(0, 0, 0, 0.45);
  3628. }
  3629. .ant-calendar-picker-icon {
  3630. color: rgba(0, 0, 0, 0.25);
  3631. }
  3632. .ant-calendar {
  3633. border: 1px solid #fff;
  3634. background-color: #fff;
  3635. border-radius: 4px;
  3636. box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  3637. background-clip: padding-box;
  3638. }
  3639. .ant-calendar-input-wrap {
  3640. border-bottom: 1px solid #e8e8e8;
  3641. }
  3642. .ant-calendar-input {
  3643. border: 0;
  3644. color: rgba(0, 0, 0, 0.65);
  3645. background: #fff;
  3646. }
  3647. .ant-calendar-input::-moz-placeholder {
  3648. color: #bfbfbf;
  3649. }
  3650. .ant-calendar-input:-ms-input-placeholder {
  3651. color: #bfbfbf;
  3652. }
  3653. .ant-calendar-input::-webkit-input-placeholder {
  3654. color: #bfbfbf;
  3655. }
  3656. .ant-calendar-header {
  3657. border-bottom: 1px solid #e8e8e8;
  3658. }
  3659. .ant-calendar-header a:hover {
  3660. color: color(~`colorPalette("@{primary-color}", 5)`);
  3661. }
  3662. .ant-calendar-header .ant-calendar-century-select,
  3663. .ant-calendar-header .ant-calendar-decade-select,
  3664. .ant-calendar-header .ant-calendar-year-select,
  3665. .ant-calendar-header .ant-calendar-month-select {
  3666. color: rgba(0, 0, 0, 0.85);
  3667. }
  3668. .ant-calendar-header .ant-calendar-prev-century-btn,
  3669. .ant-calendar-header .ant-calendar-next-century-btn,
  3670. .ant-calendar-header .ant-calendar-prev-decade-btn,
  3671. .ant-calendar-header .ant-calendar-next-decade-btn,
  3672. .ant-calendar-header .ant-calendar-prev-month-btn,
  3673. .ant-calendar-header .ant-calendar-next-month-btn,
  3674. .ant-calendar-header .ant-calendar-prev-year-btn,
  3675. .ant-calendar-header .ant-calendar-next-year-btn {
  3676. color: rgba(0, 0, 0, 0.45);
  3677. }
  3678. .ant-calendar table {
  3679. border-collapse: collapse;
  3680. background-color: transparent;
  3681. }
  3682. .ant-calendar table,
  3683. .ant-calendar th,
  3684. .ant-calendar td {
  3685. border: 0;
  3686. }
  3687. .ant-calendar-calendar-table {
  3688. border-spacing: 0;
  3689. }
  3690. .ant-calendar-date {
  3691. color: rgba(0, 0, 0, 0.65);
  3692. border-radius: 2px;
  3693. border: 1px solid transparent;
  3694. background: transparent;
  3695. }
  3696. .ant-calendar-date:hover {
  3697. background: color(~`colorPalette("@{primary-color}", 1)`);
  3698. }
  3699. .ant-calendar-date:active {
  3700. color: #fff;
  3701. background: color(~`colorPalette("@{primary-color}", 5)`);
  3702. }
  3703. .ant-calendar-today .ant-calendar-date {
  3704. border-color: @primary-color;
  3705. color: @primary-color;
  3706. }
  3707. .ant-calendar-last-month-cell .ant-calendar-date,
  3708. .ant-calendar-next-month-btn-day .ant-calendar-date {
  3709. color: rgba(0, 0, 0, 0.25);
  3710. }
  3711. .ant-calendar-selected-day .ant-calendar-date {
  3712. background: #d1e9ff;
  3713. }
  3714. .ant-calendar-selected-date .ant-calendar-date,
  3715. .ant-calendar-selected-start-date .ant-calendar-date,
  3716. .ant-calendar-selected-end-date .ant-calendar-date {
  3717. background: @primary-color;
  3718. color: #fff;
  3719. border: 1px solid transparent;
  3720. }
  3721. .ant-calendar-selected-date .ant-calendar-date:hover,
  3722. .ant-calendar-selected-start-date .ant-calendar-date:hover,
  3723. .ant-calendar-selected-end-date .ant-calendar-date:hover {
  3724. background: @primary-color;
  3725. }
  3726. .ant-calendar-disabled-cell .ant-calendar-date {
  3727. color: #bcbcbc;
  3728. background: #f5f5f5;
  3729. border-radius: 0;
  3730. border: 1px solid transparent;
  3731. }
  3732. .ant-calendar-disabled-cell .ant-calendar-date:hover {
  3733. background: #f5f5f5;
  3734. }
  3735. .ant-calendar-disabled-cell.ant-calendar-today .ant-calendar-date:before {
  3736. border: 1px solid #bcbcbc;
  3737. border-radius: 2px;
  3738. }
  3739. .ant-calendar-disabled-cell-first-of-row .ant-calendar-date {
  3740. border-top-left-radius: 4px;
  3741. border-bottom-left-radius: 4px;
  3742. }
  3743. .ant-calendar-disabled-cell-last-of-row .ant-calendar-date {
  3744. border-top-right-radius: 4px;
  3745. border-bottom-right-radius: 4px;
  3746. }
  3747. .ant-calendar-footer {
  3748. border-top: 1px solid #e8e8e8;
  3749. }
  3750. .ant-calendar-footer:empty {
  3751. border-top: 0;
  3752. }
  3753. .ant-calendar .ant-calendar-today-btn-disabled,
  3754. .ant-calendar .ant-calendar-clear-btn-disabled {
  3755. color: rgba(0, 0, 0, 0.25);
  3756. }
  3757. .ant-calendar .ant-calendar-clear-btn:after {
  3758. color: rgba(0, 0, 0, 0.25);
  3759. }
  3760. .ant-calendar .ant-calendar-clear-btn:hover:after {
  3761. color: rgba(0, 0, 0, 0.45);
  3762. }
  3763. .ant-calendar .ant-calendar-ok-btn {
  3764. background-image: none;
  3765. border: 1px solid transparent;
  3766. box-shadow: 0 2px 0 rgba(0, 0, 0, 0.015);
  3767. color: #fff;
  3768. background-color: @primary-color;
  3769. border-color: @primary-color;
  3770. box-shadow: 0 2px 0 rgba(0, 0, 0, 0.035);
  3771. border-radius: 4px;
  3772. }
  3773. .ant-calendar .ant-calendar-ok-btn:not([disabled]):active {
  3774. box-shadow: none;
  3775. }
  3776. .ant-calendar .ant-calendar-ok-btn-lg {
  3777. border-radius: 4px;
  3778. }
  3779. .ant-calendar .ant-calendar-ok-btn-sm {
  3780. border-radius: 4px;
  3781. }
  3782. .ant-calendar .ant-calendar-ok-btn > a:only-child {
  3783. color: currentColor;
  3784. }
  3785. .ant-calendar .ant-calendar-ok-btn > a:only-child:after {
  3786. background: transparent;
  3787. }
  3788. .ant-calendar .ant-calendar-ok-btn:hover,
  3789. .ant-calendar .ant-calendar-ok-btn:focus {
  3790. color: #fff;
  3791. background-color: color(~`colorPalette("@{primary-color}", 5)`);
  3792. border-color: color(~`colorPalette("@{primary-color}", 5)`);
  3793. }
  3794. .ant-calendar .ant-calendar-ok-btn:hover > a:only-child,
  3795. .ant-calendar .ant-calendar-ok-btn:focus > a:only-child {
  3796. color: currentColor;
  3797. }
  3798. .ant-calendar .ant-calendar-ok-btn:hover > a:only-child:after,
  3799. .ant-calendar .ant-calendar-ok-btn:focus > a:only-child:after {
  3800. background: transparent;
  3801. }
  3802. .ant-calendar .ant-calendar-ok-btn:active,
  3803. .ant-calendar .ant-calendar-ok-btn.active {
  3804. color: #fff;
  3805. background-color: color(~`colorPalette("@{primary-color}", 7)`);
  3806. border-color: color(~`colorPalette("@{primary-color}", 7)`);
  3807. }
  3808. .ant-calendar .ant-calendar-ok-btn:active > a:only-child,
  3809. .ant-calendar .ant-calendar-ok-btn.active > a:only-child {
  3810. color: currentColor;
  3811. }
  3812. .ant-calendar .ant-calendar-ok-btn:active > a:only-child:after,
  3813. .ant-calendar .ant-calendar-ok-btn.active > a:only-child:after {
  3814. background: transparent;
  3815. }
  3816. .ant-calendar .ant-calendar-ok-btn.disabled,
  3817. .ant-calendar .ant-calendar-ok-btn[disabled],
  3818. .ant-calendar .ant-calendar-ok-btn.disabled:hover,
  3819. .ant-calendar .ant-calendar-ok-btn[disabled]:hover,
  3820. .ant-calendar .ant-calendar-ok-btn.disabled:focus,
  3821. .ant-calendar .ant-calendar-ok-btn[disabled]:focus,
  3822. .ant-calendar .ant-calendar-ok-btn.disabled:active,
  3823. .ant-calendar .ant-calendar-ok-btn[disabled]:active,
  3824. .ant-calendar .ant-calendar-ok-btn.disabled.active,
  3825. .ant-calendar .ant-calendar-ok-btn[disabled].active {
  3826. color: rgba(0, 0, 0, 0.25);
  3827. background-color: #f5f5f5;
  3828. border-color: #d9d9d9;
  3829. box-shadow: none;
  3830. }
  3831. .ant-calendar .ant-calendar-ok-btn.disabled > a:only-child,
  3832. .ant-calendar .ant-calendar-ok-btn[disabled] > a:only-child,
  3833. .ant-calendar .ant-calendar-ok-btn.disabled:hover > a:only-child,
  3834. .ant-calendar .ant-calendar-ok-btn[disabled]:hover > a:only-child,
  3835. .ant-calendar .ant-calendar-ok-btn.disabled:focus > a:only-child,
  3836. .ant-calendar .ant-calendar-ok-btn[disabled]:focus > a:only-child,
  3837. .ant-calendar .ant-calendar-ok-btn.disabled:active > a:only-child,
  3838. .ant-calendar .ant-calendar-ok-btn[disabled]:active > a:only-child,
  3839. .ant-calendar .ant-calendar-ok-btn.disabled.active > a:only-child,
  3840. .ant-calendar .ant-calendar-ok-btn[disabled].active > a:only-child {
  3841. color: currentColor;
  3842. }
  3843. .ant-calendar .ant-calendar-ok-btn.disabled > a:only-child:after,
  3844. .ant-calendar .ant-calendar-ok-btn[disabled] > a:only-child:after,
  3845. .ant-calendar .ant-calendar-ok-btn.disabled:hover > a:only-child:after,
  3846. .ant-calendar .ant-calendar-ok-btn[disabled]:hover > a:only-child:after,
  3847. .ant-calendar .ant-calendar-ok-btn.disabled:focus > a:only-child:after,
  3848. .ant-calendar .ant-calendar-ok-btn[disabled]:focus > a:only-child:after,
  3849. .ant-calendar .ant-calendar-ok-btn.disabled:active > a:only-child:after,
  3850. .ant-calendar .ant-calendar-ok-btn[disabled]:active > a:only-child:after,
  3851. .ant-calendar .ant-calendar-ok-btn.disabled.active > a:only-child:after,
  3852. .ant-calendar .ant-calendar-ok-btn[disabled].active > a:only-child:after {
  3853. background: transparent;
  3854. }
  3855. .ant-calendar .ant-calendar-ok-btn-disabled {
  3856. color: rgba(0, 0, 0, 0.25);
  3857. background-color: #f5f5f5;
  3858. border-color: #d9d9d9;
  3859. }
  3860. .ant-calendar .ant-calendar-ok-btn-disabled > a:only-child {
  3861. color: currentColor;
  3862. }
  3863. .ant-calendar .ant-calendar-ok-btn-disabled > a:only-child:after {
  3864. background: transparent;
  3865. }
  3866. .ant-calendar .ant-calendar-ok-btn-disabled:hover {
  3867. color: rgba(0, 0, 0, 0.25);
  3868. background-color: #f5f5f5;
  3869. border-color: #d9d9d9;
  3870. }
  3871. .ant-calendar .ant-calendar-ok-btn-disabled:hover > a:only-child {
  3872. color: currentColor;
  3873. }
  3874. .ant-calendar .ant-calendar-ok-btn-disabled:hover > a:only-child:after {
  3875. background: transparent;
  3876. }
  3877. .ant-calendar-range-picker-input {
  3878. background-color: transparent;
  3879. border: 0;
  3880. }
  3881. .ant-calendar-range-picker-input::-moz-placeholder {
  3882. color: #bfbfbf;
  3883. }
  3884. .ant-calendar-range-picker-input:-ms-input-placeholder {
  3885. color: #bfbfbf;
  3886. }
  3887. .ant-calendar-range-picker-input::-webkit-input-placeholder {
  3888. color: #bfbfbf;
  3889. }
  3890. .ant-calendar-range-picker-separator {
  3891. color: rgba(0, 0, 0, 0.45);
  3892. }
  3893. .ant-calendar-range-left .ant-calendar-time-picker-inner {
  3894. border-right: 1px solid #e8e8e8;
  3895. }
  3896. .ant-calendar-range-right .ant-calendar-time-picker-inner {
  3897. border-left: 1px solid #e8e8e8;
  3898. }
  3899. .ant-calendar-range-middle {
  3900. color: rgba(0, 0, 0, 0.45);
  3901. }
  3902. .ant-calendar-range .ant-calendar-input,
  3903. .ant-calendar-range .ant-calendar-time-picker-input {
  3904. color: rgba(0, 0, 0, 0.65);
  3905. background-color: #fff;
  3906. background-image: none;
  3907. border: 1px solid #d9d9d9;
  3908. border-radius: 4px;
  3909. border: 0;
  3910. box-shadow: none;
  3911. }
  3912. .ant-calendar-range .ant-calendar-input::-moz-placeholder,
  3913. .ant-calendar-range .ant-calendar-time-picker-input::-moz-placeholder {
  3914. color: #bfbfbf;
  3915. }
  3916. .ant-calendar-range .ant-calendar-input:-ms-input-placeholder,
  3917. .ant-calendar-range .ant-calendar-time-picker-input:-ms-input-placeholder {
  3918. color: #bfbfbf;
  3919. }
  3920. .ant-calendar-range .ant-calendar-input::-webkit-input-placeholder,
  3921. .ant-calendar-range .ant-calendar-time-picker-input::-webkit-input-placeholder {
  3922. color: #bfbfbf;
  3923. }
  3924. .ant-calendar-range .ant-calendar-input:hover,
  3925. .ant-calendar-range .ant-calendar-time-picker-input:hover {
  3926. border-color: color(~`colorPalette("@{primary-color}", 5)`);
  3927. border-right-width: 1px !important;
  3928. }
  3929. .ant-calendar-range .ant-calendar-input:focus,
  3930. .ant-calendar-range .ant-calendar-time-picker-input:focus {
  3931. border-color: color(~`colorPalette("@{primary-color}", 5)`);
  3932. box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
  3933. border-right-width: 1px !important;
  3934. }
  3935. .ant-calendar-range .ant-calendar-input-disabled,
  3936. .ant-calendar-range .ant-calendar-time-picker-input-disabled {
  3937. background-color: #f5f5f5;
  3938. color: rgba(0, 0, 0, 0.25);
  3939. }
  3940. .ant-calendar-range .ant-calendar-input-disabled:hover,
  3941. .ant-calendar-range .ant-calendar-time-picker-input-disabled:hover {
  3942. border-color: #e6d8d8;
  3943. border-right-width: 1px !important;
  3944. }
  3945. .ant-calendar-range .ant-calendar-input:focus,
  3946. .ant-calendar-range .ant-calendar-time-picker-input:focus {
  3947. box-shadow: none;
  3948. }
  3949. .ant-calendar-range .ant-calendar-in-range-cell {
  3950. border-radius: 0;
  3951. }
  3952. .ant-calendar-range .ant-calendar-in-range-cell:before {
  3953. background: color(~`colorPalette("@{primary-color}", 1)`);
  3954. border-radius: 0;
  3955. border: 0;
  3956. }
  3957. .ant-calendar-range .ant-calendar-header,
  3958. .ant-calendar-range .ant-calendar-month-panel-header,
  3959. .ant-calendar-range .ant-calendar-year-panel-header {
  3960. border-bottom: 0;
  3961. }
  3962. .ant-calendar-range .ant-calendar-body,
  3963. .ant-calendar-range .ant-calendar-month-panel-body,
  3964. .ant-calendar-range .ant-calendar-year-panel-body {
  3965. border-top: 1px solid #e8e8e8;
  3966. }
  3967. .ant-calendar-range.ant-calendar-time .ant-calendar-time-picker-inner {
  3968. background: none;
  3969. }
  3970. .ant-calendar-range.ant-calendar-time .ant-calendar-time-picker-combobox {
  3971. background-color: #fff;
  3972. border-top: 1px solid #e8e8e8;
  3973. }
  3974. .ant-calendar-range.ant-calendar-show-time-picker .ant-calendar-body {
  3975. border-top-color: transparent;
  3976. }
  3977. .ant-calendar-time-picker {
  3978. background-color: #fff;
  3979. }
  3980. .ant-calendar-time-picker-inner {
  3981. background-color: #fff;
  3982. background-clip: padding-box;
  3983. }
  3984. .ant-calendar-time-picker-select {
  3985. border-right: 1px solid #e8e8e8;
  3986. }
  3987. .ant-calendar-time-picker-select:first-child {
  3988. border-left: 0;
  3989. }
  3990. .ant-calendar-time-picker-select:last-child {
  3991. border-right: 0;
  3992. }
  3993. .ant-calendar-time-picker-select li:hover {
  3994. background: color(~`colorPalette("@{primary-color}", 1)`);
  3995. }
  3996. li.ant-calendar-time-picker-select-option-selected {
  3997. background: #f5f5f5;
  3998. }
  3999. li.ant-calendar-time-picker-select-option-disabled {
  4000. color: rgba(0, 0, 0, 0.25);
  4001. }
  4002. li.ant-calendar-time-picker-select-option-disabled:hover {
  4003. background: transparent;
  4004. }
  4005. .ant-calendar-time .ant-calendar-day-select {
  4006. color: rgba(0, 0, 0, 0.85);
  4007. }
  4008. .ant-calendar-time .ant-calendar-footer .ant-calendar-time-picker-btn-disabled {
  4009. color: rgba(0, 0, 0, 0.25);
  4010. }
  4011. .ant-calendar-month-panel {
  4012. border-radius: 4px;
  4013. background: #fff;
  4014. }
  4015. .ant-calendar-month-panel-header {
  4016. border-bottom: 1px solid #e8e8e8;
  4017. }
  4018. .ant-calendar-month-panel-header a:hover {
  4019. color: color(~`colorPalette("@{primary-color}", 5)`);
  4020. }
  4021. .ant-calendar-month-panel-header .ant-calendar-month-panel-century-select,
  4022. .ant-calendar-month-panel-header .ant-calendar-month-panel-decade-select,
  4023. .ant-calendar-month-panel-header .ant-calendar-month-panel-year-select,
  4024. .ant-calendar-month-panel-header .ant-calendar-month-panel-month-select {
  4025. color: rgba(0, 0, 0, 0.85);
  4026. }
  4027. .ant-calendar-month-panel-header .ant-calendar-month-panel-prev-century-btn,
  4028. .ant-calendar-month-panel-header .ant-calendar-month-panel-next-century-btn,
  4029. .ant-calendar-month-panel-header .ant-calendar-month-panel-prev-decade-btn,
  4030. .ant-calendar-month-panel-header .ant-calendar-month-panel-next-decade-btn,
  4031. .ant-calendar-month-panel-header .ant-calendar-month-panel-prev-month-btn,
  4032. .ant-calendar-month-panel-header .ant-calendar-month-panel-next-month-btn,
  4033. .ant-calendar-month-panel-header .ant-calendar-month-panel-prev-year-btn,
  4034. .ant-calendar-month-panel-header .ant-calendar-month-panel-next-year-btn {
  4035. color: rgba(0, 0, 0, 0.45);
  4036. }
  4037. .ant-calendar-month-panel-table {
  4038. border-collapse: separate;
  4039. }
  4040. .ant-calendar-month-panel-selected-cell .ant-calendar-month-panel-month {
  4041. background: @primary-color;
  4042. color: #fff;
  4043. }
  4044. .ant-calendar-month-panel-selected-cell .ant-calendar-month-panel-month:hover {
  4045. background: @primary-color;
  4046. color: #fff;
  4047. }
  4048. .ant-calendar-month-panel-cell-disabled .ant-calendar-month-panel-month,
  4049. .ant-calendar-month-panel-cell-disabled .ant-calendar-month-panel-month:hover {
  4050. color: #bcbcbc;
  4051. background: #f5f5f5;
  4052. }
  4053. .ant-calendar-month-panel-month {
  4054. color: rgba(0, 0, 0, 0.65);
  4055. background: transparent;
  4056. border-radius: 2px;
  4057. }
  4058. .ant-calendar-month-panel-month:hover {
  4059. background: color(~`colorPalette("@{primary-color}", 1)`);
  4060. }
  4061. .ant-calendar-year-panel {
  4062. border-radius: 4px;
  4063. background: #fff;
  4064. }
  4065. .ant-calendar-year-panel-header {
  4066. border-bottom: 1px solid #e8e8e8;
  4067. }
  4068. .ant-calendar-year-panel-header a:hover {
  4069. color: color(~`colorPalette("@{primary-color}", 5)`);
  4070. }
  4071. .ant-calendar-year-panel-header .ant-calendar-year-panel-century-select,
  4072. .ant-calendar-year-panel-header .ant-calendar-year-panel-decade-select,
  4073. .ant-calendar-year-panel-header .ant-calendar-year-panel-year-select,
  4074. .ant-calendar-year-panel-header .ant-calendar-year-panel-month-select {
  4075. color: rgba(0, 0, 0, 0.85);
  4076. }
  4077. .ant-calendar-year-panel-header .ant-calendar-year-panel-prev-century-btn,
  4078. .ant-calendar-year-panel-header .ant-calendar-year-panel-next-century-btn,
  4079. .ant-calendar-year-panel-header .ant-calendar-year-panel-prev-decade-btn,
  4080. .ant-calendar-year-panel-header .ant-calendar-year-panel-next-decade-btn,
  4081. .ant-calendar-year-panel-header .ant-calendar-year-panel-prev-month-btn,
  4082. .ant-calendar-year-panel-header .ant-calendar-year-panel-next-month-btn,
  4083. .ant-calendar-year-panel-header .ant-calendar-year-panel-prev-year-btn,
  4084. .ant-calendar-year-panel-header .ant-calendar-year-panel-next-year-btn {
  4085. color: rgba(0, 0, 0, 0.45);
  4086. }
  4087. .ant-calendar-year-panel-table {
  4088. border-collapse: separate;
  4089. }
  4090. .ant-calendar-year-panel-year {
  4091. color: rgba(0, 0, 0, 0.65);
  4092. background: transparent;
  4093. border-radius: 2px;
  4094. }
  4095. .ant-calendar-year-panel-year:hover {
  4096. background: color(~`colorPalette("@{primary-color}", 1)`);
  4097. }
  4098. .ant-calendar-year-panel-selected-cell .ant-calendar-year-panel-year {
  4099. background: @primary-color;
  4100. color: #fff;
  4101. }
  4102. .ant-calendar-year-panel-selected-cell .ant-calendar-year-panel-year:hover {
  4103. background: @primary-color;
  4104. color: #fff;
  4105. }
  4106. .ant-calendar-year-panel-last-decade-cell .ant-calendar-year-panel-year,
  4107. .ant-calendar-year-panel-next-decade-cell .ant-calendar-year-panel-year {
  4108. color: rgba(0, 0, 0, 0.25);
  4109. }
  4110. .ant-calendar-decade-panel {
  4111. background: #fff;
  4112. border-radius: 4px;
  4113. }
  4114. .ant-calendar-decade-panel-header {
  4115. border-bottom: 1px solid #e8e8e8;
  4116. }
  4117. .ant-calendar-decade-panel-header a:hover {
  4118. color: color(~`colorPalette("@{primary-color}", 5)`);
  4119. }
  4120. .ant-calendar-decade-panel-header .ant-calendar-decade-panel-century-select,
  4121. .ant-calendar-decade-panel-header .ant-calendar-decade-panel-decade-select,
  4122. .ant-calendar-decade-panel-header .ant-calendar-decade-panel-year-select,
  4123. .ant-calendar-decade-panel-header .ant-calendar-decade-panel-month-select {
  4124. color: rgba(0, 0, 0, 0.85);
  4125. }
  4126. .ant-calendar-decade-panel-header .ant-calendar-decade-panel-prev-century-btn,
  4127. .ant-calendar-decade-panel-header .ant-calendar-decade-panel-next-century-btn,
  4128. .ant-calendar-decade-panel-header .ant-calendar-decade-panel-prev-decade-btn,
  4129. .ant-calendar-decade-panel-header .ant-calendar-decade-panel-next-decade-btn,
  4130. .ant-calendar-decade-panel-header .ant-calendar-decade-panel-prev-month-btn,
  4131. .ant-calendar-decade-panel-header .ant-calendar-decade-panel-next-month-btn,
  4132. .ant-calendar-decade-panel-header .ant-calendar-decade-panel-prev-year-btn,
  4133. .ant-calendar-decade-panel-header .ant-calendar-decade-panel-next-year-btn {
  4134. color: rgba(0, 0, 0, 0.45);
  4135. }
  4136. .ant-calendar-decade-panel-table {
  4137. border-collapse: separate;
  4138. }
  4139. .ant-calendar-decade-panel-decade {
  4140. color: rgba(0, 0, 0, 0.65);
  4141. background: transparent;
  4142. border-radius: 2px;
  4143. }
  4144. .ant-calendar-decade-panel-decade:hover {
  4145. background: color(~`colorPalette("@{primary-color}", 1)`);
  4146. }
  4147. .ant-calendar-decade-panel-selected-cell .ant-calendar-decade-panel-decade {
  4148. background: @primary-color;
  4149. color: #fff;
  4150. }
  4151. .ant-calendar-decade-panel-selected-cell .ant-calendar-decade-panel-decade:hover {
  4152. background: @primary-color;
  4153. color: #fff;
  4154. }
  4155. .ant-calendar-decade-panel-last-century-cell .ant-calendar-decade-panel-decade,
  4156. .ant-calendar-decade-panel-next-century-cell .ant-calendar-decade-panel-decade {
  4157. color: rgba(0, 0, 0, 0.25);
  4158. }
  4159. .ant-calendar-week-number .ant-calendar-body tr:hover {
  4160. background: color(~`colorPalette("@{primary-color}", 1)`);
  4161. }
  4162. .ant-calendar-week-number .ant-calendar-body tr.ant-calendar-active-week {
  4163. background: color(~`colorPalette("@{primary-color}", 2)`);
  4164. }
  4165. .ant-calendar-week-number .ant-calendar-body tr .ant-calendar-selected-day .ant-calendar-date,
  4166. .ant-calendar-week-number .ant-calendar-body tr .ant-calendar-selected-day:hover .ant-calendar-date {
  4167. background: transparent;
  4168. color: rgba(0, 0, 0, 0.65);
  4169. }
  4170. .ant-divider {
  4171. color: rgba(0, 0, 0, 0.65);
  4172. background: #e8e8e8;
  4173. }
  4174. .ant-divider-horizontal.ant-divider-with-text,
  4175. .ant-divider-horizontal.ant-divider-with-text-left,
  4176. .ant-divider-horizontal.ant-divider-with-text-right {
  4177. background: transparent;
  4178. color: rgba(0, 0, 0, 0.85);
  4179. }
  4180. .ant-divider-horizontal.ant-divider-with-text:before,
  4181. .ant-divider-horizontal.ant-divider-with-text-left:before,
  4182. .ant-divider-horizontal.ant-divider-with-text-right:before,
  4183. .ant-divider-horizontal.ant-divider-with-text:after,
  4184. .ant-divider-horizontal.ant-divider-with-text-left:after,
  4185. .ant-divider-horizontal.ant-divider-with-text-right:after {
  4186. border-top: 1px solid #e8e8e8;
  4187. }
  4188. .ant-divider-dashed {
  4189. background: none;
  4190. border-top: 1px dashed #e8e8e8;
  4191. }
  4192. .ant-divider-horizontal.ant-divider-with-text.ant-divider-dashed,
  4193. .ant-divider-horizontal.ant-divider-with-text-left.ant-divider-dashed,
  4194. .ant-divider-horizontal.ant-divider-with-text-right.ant-divider-dashed {
  4195. border-top: 0;
  4196. }
  4197. .ant-divider-horizontal.ant-divider-with-text.ant-divider-dashed:before,
  4198. .ant-divider-horizontal.ant-divider-with-text-left.ant-divider-dashed:before,
  4199. .ant-divider-horizontal.ant-divider-with-text-right.ant-divider-dashed:before,
  4200. .ant-divider-horizontal.ant-divider-with-text.ant-divider-dashed:after,
  4201. .ant-divider-horizontal.ant-divider-with-text-left.ant-divider-dashed:after,
  4202. .ant-divider-horizontal.ant-divider-with-text-right.ant-divider-dashed:after {
  4203. border-style: dashed none none;
  4204. }
  4205. .ant-drawer-left.ant-drawer-open .ant-drawer-content-wrapper {
  4206. box-shadow: 2px 0 8px rgba(0, 0, 0, 0.15);
  4207. }
  4208. .ant-drawer-right.ant-drawer-open .ant-drawer-content-wrapper {
  4209. box-shadow: -2px 0 8px rgba(0, 0, 0, 0.15);
  4210. }
  4211. .ant-drawer-top.ant-drawer-open .ant-drawer-content-wrapper {
  4212. box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  4213. }
  4214. .ant-drawer-bottom.ant-drawer-open .ant-drawer-content-wrapper {
  4215. box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.15);
  4216. }
  4217. .ant-drawer-title {
  4218. color: rgba(0, 0, 0, 0.85);
  4219. }
  4220. .ant-drawer-content {
  4221. background-color: #fff;
  4222. border: 0;
  4223. background-clip: padding-box;
  4224. }
  4225. .ant-drawer-close {
  4226. border: 0;
  4227. background: transparent;
  4228. color: rgba(0, 0, 0, 0.45);
  4229. }
  4230. .ant-drawer-close:focus,
  4231. .ant-drawer-close:hover {
  4232. color: #444;
  4233. }
  4234. .ant-drawer-header {
  4235. border-radius: 4px 4px 0 0;
  4236. background: #fff;
  4237. color: rgba(0, 0, 0, 0.65);
  4238. border-bottom: 1px solid #e8e8e8;
  4239. }
  4240. .ant-drawer-mask {
  4241. background-color: rgba(0, 0, 0, 0.65);
  4242. }
  4243. .ant-drawer-open-content {
  4244. box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  4245. }
  4246. .ant-dropdown {
  4247. color: rgba(0, 0, 0, 0.65);
  4248. }
  4249. .ant-dropdown-menu {
  4250. background-color: #fff;
  4251. border-radius: 4px;
  4252. box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  4253. background-clip: padding-box;
  4254. }
  4255. .ant-dropdown-menu-item-group-title {
  4256. color: rgba(0, 0, 0, 0.45);
  4257. }
  4258. .ant-dropdown-menu-item,
  4259. .ant-dropdown-menu-submenu-title {
  4260. color: rgba(0, 0, 0, 0.65);
  4261. }
  4262. .ant-dropdown-menu-item > a,
  4263. .ant-dropdown-menu-submenu-title > a {
  4264. color: rgba(0, 0, 0, 0.65);
  4265. }
  4266. .ant-dropdown-menu-item-selected,
  4267. .ant-dropdown-menu-submenu-title-selected,
  4268. .ant-dropdown-menu-item-selected > a,
  4269. .ant-dropdown-menu-submenu-title-selected > a {
  4270. color: @primary-color;
  4271. background-color: color(~`colorPalette("@{primary-color}", 1)`);
  4272. }
  4273. .ant-dropdown-menu-item:hover,
  4274. .ant-dropdown-menu-submenu-title:hover {
  4275. background-color: color(~`colorPalette("@{primary-color}", 1)`);
  4276. }
  4277. .ant-dropdown-menu-item-disabled,
  4278. .ant-dropdown-menu-submenu-title-disabled {
  4279. color: rgba(0, 0, 0, 0.25);
  4280. }
  4281. .ant-dropdown-menu-item-disabled:hover,
  4282. .ant-dropdown-menu-submenu-title-disabled:hover {
  4283. color: rgba(0, 0, 0, 0.25);
  4284. background-color: #fff;
  4285. }
  4286. .ant-dropdown-menu-item-divider,
  4287. .ant-dropdown-menu-submenu-title-divider {
  4288. background-color: #e8e8e8;
  4289. }
  4290. .ant-dropdown-menu-item .ant-dropdown-menu-submenu-arrow-icon,
  4291. .ant-dropdown-menu-submenu-title .ant-dropdown-menu-submenu-arrow-icon {
  4292. color: rgba(0, 0, 0, 0.45);
  4293. }
  4294. .ant-dropdown-menu-submenu.ant-dropdown-menu-submenu-disabled .ant-dropdown-menu-submenu-title,
  4295. .ant-dropdown-menu-submenu.ant-dropdown-menu-submenu-disabled .ant-dropdown-menu-submenu-title .ant-dropdown-menu-submenu-arrow-icon {
  4296. color: rgba(0, 0, 0, 0.25);
  4297. }
  4298. .ant-dropdown-menu-dark,
  4299. .ant-dropdown-menu-dark .ant-dropdown-menu {
  4300. background: #001529;
  4301. }
  4302. .ant-dropdown-menu-dark .ant-dropdown-menu-item,
  4303. .ant-dropdown-menu-dark .ant-dropdown-menu-submenu-title,
  4304. .ant-dropdown-menu-dark .ant-dropdown-menu-item > a {
  4305. color: rgba(255, 255, 255, 0.65);
  4306. }
  4307. .ant-dropdown-menu-dark .ant-dropdown-menu-item .ant-dropdown-menu-submenu-arrow:after,
  4308. .ant-dropdown-menu-dark .ant-dropdown-menu-submenu-title .ant-dropdown-menu-submenu-arrow:after,
  4309. .ant-dropdown-menu-dark .ant-dropdown-menu-item > a .ant-dropdown-menu-submenu-arrow:after {
  4310. color: rgba(255, 255, 255, 0.65);
  4311. }
  4312. .ant-dropdown-menu-dark .ant-dropdown-menu-item:hover,
  4313. .ant-dropdown-menu-dark .ant-dropdown-menu-submenu-title:hover,
  4314. .ant-dropdown-menu-dark .ant-dropdown-menu-item > a:hover {
  4315. color: #fff;
  4316. background: transparent;
  4317. }
  4318. .ant-dropdown-menu-dark .ant-dropdown-menu-item-selected,
  4319. .ant-dropdown-menu-dark .ant-dropdown-menu-item-selected:hover,
  4320. .ant-dropdown-menu-dark .ant-dropdown-menu-item-selected > a {
  4321. background: @primary-color;
  4322. color: #fff;
  4323. }
  4324. .ant-form {
  4325. color: rgba(0, 0, 0, 0.65);
  4326. }
  4327. .ant-form legend {
  4328. color: rgba(0, 0, 0, 0.45);
  4329. border: 0;
  4330. border-bottom: 1px solid #d9d9d9;
  4331. }
  4332. .ant-form output {
  4333. color: rgba(0, 0, 0, 0.65);
  4334. }
  4335. .ant-form-item-required:before {
  4336. color: #f5222d;
  4337. }
  4338. .ant-form-item {
  4339. color: rgba(0, 0, 0, 0.65);
  4340. }
  4341. .ant-form-item-label label {
  4342. color: rgba(0, 0, 0, 0.85);
  4343. }
  4344. .ant-form-explain,
  4345. .ant-form-extra {
  4346. color: rgba(0, 0, 0, 0.45);
  4347. }
  4348. form .ant-upload {
  4349. background: transparent;
  4350. }
  4351. .ant-input-group-wrap .ant-select-selection {
  4352. border-bottom-left-radius: 0;
  4353. border-top-left-radius: 0;
  4354. }
  4355. .ant-input-group-wrap .ant-select-selection:hover {
  4356. border-color: #d9d9d9;
  4357. }
  4358. .ant-input-group-wrap .ant-select-selection--single {
  4359. background-color: #eee;
  4360. }
  4361. .ant-input-group-wrap .ant-select-open .ant-select-selection {
  4362. border-color: #d9d9d9;
  4363. box-shadow: none;
  4364. }
  4365. .has-success.has-feedback .ant-form-item-children-icon {
  4366. color: #52c41a;
  4367. }
  4368. .has-warning .ant-form-explain,
  4369. .has-warning .ant-form-split {
  4370. color: #faad14;
  4371. }
  4372. .has-warning .ant-input,
  4373. .has-warning .ant-input:hover {
  4374. border-color: #faad14;
  4375. }
  4376. .has-warning .ant-input:focus {
  4377. border-color: #ffc53d;
  4378. box-shadow: 0 0 0 2px rgba(250, 173, 20, 0.2);
  4379. border-right-width: 1px !important;
  4380. }
  4381. .has-warning .ant-input:not([disabled]):hover {
  4382. border-color: #faad14;
  4383. }
  4384. .has-warning .ant-calendar-picker-open .ant-calendar-picker-input {
  4385. border-color: #ffc53d;
  4386. box-shadow: 0 0 0 2px rgba(250, 173, 20, 0.2);
  4387. border-right-width: 1px !important;
  4388. }
  4389. .has-warning .ant-input-prefix {
  4390. color: #faad14;
  4391. }
  4392. .has-warning .ant-input-group-addon {
  4393. color: #faad14;
  4394. border-color: #faad14;
  4395. background-color: #fff;
  4396. }
  4397. .has-warning .has-feedback {
  4398. color: #faad14;
  4399. }
  4400. .has-warning.has-feedback .ant-form-item-children-icon {
  4401. color: #faad14;
  4402. }
  4403. .has-warning .ant-select-selection {
  4404. border-color: #faad14;
  4405. }
  4406. .has-warning .ant-select-open .ant-select-selection,
  4407. .has-warning .ant-select-focused .ant-select-selection {
  4408. border-color: #ffc53d;
  4409. box-shadow: 0 0 0 2px rgba(250, 173, 20, 0.2);
  4410. border-right-width: 1px !important;
  4411. }
  4412. .has-warning .ant-calendar-picker-icon:after,
  4413. .has-warning .ant-time-picker-icon:after,
  4414. .has-warning .ant-picker-icon:after,
  4415. .has-warning .ant-select-arrow,
  4416. .has-warning .ant-cascader-picker-arrow {
  4417. color: #faad14;
  4418. }
  4419. .has-warning .ant-input-number,
  4420. .has-warning .ant-time-picker-input {
  4421. border-color: #faad14;
  4422. }
  4423. .has-warning .ant-input-number-focused,
  4424. .has-warning .ant-time-picker-input-focused,
  4425. .has-warning .ant-input-number:focus,
  4426. .has-warning .ant-time-picker-input:focus {
  4427. border-color: #ffc53d;
  4428. box-shadow: 0 0 0 2px rgba(250, 173, 20, 0.2);
  4429. border-right-width: 1px !important;
  4430. }
  4431. .has-warning .ant-input-number:not([disabled]):hover,
  4432. .has-warning .ant-time-picker-input:not([disabled]):hover {
  4433. border-color: #faad14;
  4434. }
  4435. .has-warning .ant-cascader-picker:focus .ant-cascader-input {
  4436. border-color: #ffc53d;
  4437. box-shadow: 0 0 0 2px rgba(250, 173, 20, 0.2);
  4438. border-right-width: 1px !important;
  4439. }
  4440. .has-error .ant-form-explain,
  4441. .has-error .ant-form-split {
  4442. color: #f5222d;
  4443. }
  4444. .has-error .ant-input,
  4445. .has-error .ant-input:hover {
  4446. border-color: #f5222d;
  4447. }
  4448. .has-error .ant-input:focus {
  4449. border-color: #ff4d4f;
  4450. box-shadow: 0 0 0 2px rgba(245, 34, 45, 0.2);
  4451. border-right-width: 1px !important;
  4452. }
  4453. .has-error .ant-input:not([disabled]):hover {
  4454. border-color: #f5222d;
  4455. }
  4456. .has-error .ant-calendar-picker-open .ant-calendar-picker-input {
  4457. border-color: #ff4d4f;
  4458. box-shadow: 0 0 0 2px rgba(245, 34, 45, 0.2);
  4459. border-right-width: 1px !important;
  4460. }
  4461. .has-error .ant-input-prefix {
  4462. color: #f5222d;
  4463. }
  4464. .has-error .ant-input-group-addon {
  4465. color: #f5222d;
  4466. border-color: #f5222d;
  4467. background-color: #fff;
  4468. }
  4469. .has-error .has-feedback {
  4470. color: #f5222d;
  4471. }
  4472. .has-error.has-feedback .ant-form-item-children-icon {
  4473. color: #f5222d;
  4474. }
  4475. .has-error .ant-select-selection {
  4476. border-color: #f5222d;
  4477. }
  4478. .has-error .ant-select-open .ant-select-selection,
  4479. .has-error .ant-select-focused .ant-select-selection {
  4480. border-color: #ff4d4f;
  4481. box-shadow: 0 0 0 2px rgba(245, 34, 45, 0.2);
  4482. border-right-width: 1px !important;
  4483. }
  4484. .has-error .ant-select.ant-select-auto-complete .ant-input:focus {
  4485. border-color: #f5222d;
  4486. }
  4487. .has-error .ant-input-group-addon .ant-select-selection {
  4488. border-color: transparent;
  4489. box-shadow: none;
  4490. }
  4491. .has-error .ant-calendar-picker-icon:after,
  4492. .has-error .ant-time-picker-icon:after,
  4493. .has-error .ant-picker-icon:after,
  4494. .has-error .ant-select-arrow,
  4495. .has-error .ant-cascader-picker-arrow {
  4496. color: #f5222d;
  4497. }
  4498. .has-error .ant-input-number,
  4499. .has-error .ant-time-picker-input {
  4500. border-color: #f5222d;
  4501. }
  4502. .has-error .ant-input-number-focused,
  4503. .has-error .ant-time-picker-input-focused,
  4504. .has-error .ant-input-number:focus,
  4505. .has-error .ant-time-picker-input:focus {
  4506. border-color: #ff4d4f;
  4507. box-shadow: 0 0 0 2px rgba(245, 34, 45, 0.2);
  4508. border-right-width: 1px !important;
  4509. }
  4510. .has-error .ant-input-number:not([disabled]):hover,
  4511. .has-error .ant-time-picker-input:not([disabled]):hover {
  4512. border-color: #f5222d;
  4513. }
  4514. .has-error .ant-mention-wrapper .ant-mention-editor,
  4515. .has-error .ant-mention-wrapper .ant-mention-editor:not([disabled]):hover {
  4516. border-color: #f5222d;
  4517. }
  4518. .has-error .ant-mention-wrapper.ant-mention-active:not([disabled]) .ant-mention-editor,
  4519. .has-error .ant-mention-wrapper .ant-mention-editor:not([disabled]):focus {
  4520. border-color: #ff4d4f;
  4521. box-shadow: 0 0 0 2px rgba(245, 34, 45, 0.2);
  4522. border-right-width: 1px !important;
  4523. }
  4524. .has-error .ant-cascader-picker:focus .ant-cascader-input {
  4525. border-color: #ff4d4f;
  4526. box-shadow: 0 0 0 2px rgba(245, 34, 45, 0.2);
  4527. border-right-width: 1px !important;
  4528. }
  4529. .is-validating.has-feedback .ant-form-item-children-icon {
  4530. color: @primary-color;
  4531. }
  4532. .ant-input-number {
  4533. color: rgba(0, 0, 0, 0.65);
  4534. background-color: #fff;
  4535. background-image: none;
  4536. border: 1px solid #d9d9d9;
  4537. border-radius: 4px;
  4538. }
  4539. .ant-input-number::-moz-placeholder {
  4540. color: #bfbfbf;
  4541. }
  4542. .ant-input-number:-ms-input-placeholder {
  4543. color: #bfbfbf;
  4544. }
  4545. .ant-input-number::-webkit-input-placeholder {
  4546. color: #bfbfbf;
  4547. }
  4548. .ant-input-number:hover {
  4549. border-color: color(~`colorPalette("@{primary-color}", 5)`);
  4550. border-right-width: 1px !important;
  4551. }
  4552. .ant-input-number:focus {
  4553. border-color: color(~`colorPalette("@{primary-color}", 5)`);
  4554. box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
  4555. border-right-width: 1px !important;
  4556. }
  4557. .ant-input-number-disabled {
  4558. background-color: #f5f5f5;
  4559. color: rgba(0, 0, 0, 0.25);
  4560. }
  4561. .ant-input-number-disabled:hover {
  4562. border-color: #e6d8d8;
  4563. border-right-width: 1px !important;
  4564. }
  4565. .ant-input-number-handler {
  4566. color: rgba(0, 0, 0, 0.45);
  4567. }
  4568. .ant-input-number-handler:active {
  4569. background: #f4f4f4;
  4570. }
  4571. .ant-input-number-handler:hover .ant-input-number-handler-up-inner,
  4572. .ant-input-number-handler:hover .ant-input-number-handler-down-inner {
  4573. color: color(~`colorPalette("@{primary-color}", 5)`);
  4574. }
  4575. .ant-input-number-handler-up-inner,
  4576. .ant-input-number-handler-down-inner {
  4577. color: rgba(0, 0, 0, 0.45);
  4578. }
  4579. .ant-input-number:hover {
  4580. border-color: color(~`colorPalette("@{primary-color}", 5)`);
  4581. border-right-width: 1px !important;
  4582. }
  4583. .ant-input-number-focused {
  4584. border-color: color(~`colorPalette("@{primary-color}", 5)`);
  4585. box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
  4586. border-right-width: 1px !important;
  4587. }
  4588. .ant-input-number-disabled {
  4589. background-color: #f5f5f5;
  4590. color: rgba(0, 0, 0, 0.25);
  4591. }
  4592. .ant-input-number-disabled:hover {
  4593. border-color: #e6d8d8;
  4594. border-right-width: 1px !important;
  4595. }
  4596. .ant-input-number-input {
  4597. background-color: transparent;
  4598. border: 0;
  4599. border-radius: 4px;
  4600. }
  4601. .ant-input-number-input::-moz-placeholder {
  4602. color: #bfbfbf;
  4603. }
  4604. .ant-input-number-input:-ms-input-placeholder {
  4605. color: #bfbfbf;
  4606. }
  4607. .ant-input-number-input::-webkit-input-placeholder {
  4608. color: #bfbfbf;
  4609. }
  4610. .ant-input-number-handler-wrap {
  4611. border-left: 1px solid #d9d9d9;
  4612. background: #fff;
  4613. border-radius: 0 4px 4px 0;
  4614. }
  4615. .ant-input-number-handler-down {
  4616. border-top: 1px solid #d9d9d9;
  4617. }
  4618. .ant-input-number-handler-up-disabled:hover .ant-input-number-handler-up-inner,
  4619. .ant-input-number-handler-down-disabled:hover .ant-input-number-handler-down-inner {
  4620. color: rgba(0, 0, 0, 0.25);
  4621. }
  4622. .ant-input {
  4623. color: rgba(0, 0, 0, 0.65);
  4624. background-color: #fff;
  4625. background-image: none;
  4626. border: 1px solid #d9d9d9;
  4627. border-radius: 4px;
  4628. }
  4629. .ant-input::-moz-placeholder {
  4630. color: #bfbfbf;
  4631. }
  4632. .ant-input:-ms-input-placeholder {
  4633. color: #bfbfbf;
  4634. }
  4635. .ant-input::-webkit-input-placeholder {
  4636. color: #bfbfbf;
  4637. }
  4638. .ant-input:hover {
  4639. border-color: color(~`colorPalette("@{primary-color}", 5)`);
  4640. border-right-width: 1px !important;
  4641. }
  4642. .ant-input:focus {
  4643. border-color: color(~`colorPalette("@{primary-color}", 5)`);
  4644. box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
  4645. border-right-width: 1px !important;
  4646. }
  4647. .ant-input-disabled {
  4648. background-color: #f5f5f5;
  4649. color: rgba(0, 0, 0, 0.25);
  4650. }
  4651. .ant-input-disabled:hover {
  4652. border-color: #e6d8d8;
  4653. border-right-width: 1px !important;
  4654. }
  4655. .ant-input-group {
  4656. color: rgba(0, 0, 0, 0.65);
  4657. border-collapse: separate;
  4658. border-spacing: 0;
  4659. }
  4660. .ant-input-group-addon:not(:first-child):not(:last-child),
  4661. .ant-input-group-wrap:not(:first-child):not(:last-child),
  4662. .ant-input-group > .ant-input:not(:first-child):not(:last-child) {
  4663. border-radius: 0;
  4664. }
  4665. .ant-input-group .ant-input:focus {
  4666. border-right-width: 1px;
  4667. }
  4668. .ant-input-group .ant-input:hover {
  4669. border-right-width: 1px;
  4670. }
  4671. .ant-input-group-addon {
  4672. color: rgba(0, 0, 0, 0.65);
  4673. background-color: #fafafa;
  4674. border: 1px solid #d9d9d9;
  4675. border-radius: 4px;
  4676. }
  4677. .ant-input-group-addon .ant-select .ant-select-selection {
  4678. background-color: inherit;
  4679. border: 1px solid transparent;
  4680. box-shadow: none;
  4681. }
  4682. .ant-input-group-addon .ant-select-open .ant-select-selection,
  4683. .ant-input-group-addon .ant-select-focused .ant-select-selection {
  4684. color: @primary-color;
  4685. }
  4686. .ant-input-group > .ant-input:first-child,
  4687. .ant-input-group-addon:first-child {
  4688. border-bottom-right-radius: 0;
  4689. border-top-right-radius: 0;
  4690. }
  4691. .ant-input-group > .ant-input:first-child .ant-select .ant-select-selection,
  4692. .ant-input-group-addon:first-child .ant-select .ant-select-selection {
  4693. border-bottom-right-radius: 0;
  4694. border-top-right-radius: 0;
  4695. }
  4696. .ant-input-group > .ant-input-affix-wrapper:not(:first-child) .ant-input {
  4697. border-bottom-left-radius: 0;
  4698. border-top-left-radius: 0;
  4699. }
  4700. .ant-input-group > .ant-input-affix-wrapper:not(:last-child) .ant-input {
  4701. border-bottom-right-radius: 0;
  4702. border-top-right-radius: 0;
  4703. }
  4704. .ant-input-group-addon:first-child {
  4705. border-right: 0;
  4706. }
  4707. .ant-input-group-addon:last-child {
  4708. border-left: 0;
  4709. }
  4710. .ant-input-group > .ant-input:last-child,
  4711. .ant-input-group-addon:last-child {
  4712. border-bottom-left-radius: 0;
  4713. border-top-left-radius: 0;
  4714. }
  4715. .ant-input-group > .ant-input:last-child .ant-select .ant-select-selection,
  4716. .ant-input-group-addon:last-child .ant-select .ant-select-selection {
  4717. border-bottom-left-radius: 0;
  4718. border-top-left-radius: 0;
  4719. }
  4720. .ant-input-group.ant-input-group-compact-addon:not(:first-child):not(:last-child),
  4721. .ant-input-group.ant-input-group-compact-wrap:not(:first-child):not(:last-child),
  4722. .ant-input-group.ant-input-group-compact > .ant-input:not(:first-child):not(:last-child) {
  4723. border-right-width: 1px;
  4724. border-right-color: transparent;
  4725. }
  4726. .ant-input-group.ant-input-group-compact-addon:not(:first-child):not(:last-child):hover,
  4727. .ant-input-group.ant-input-group-compact-wrap:not(:first-child):not(:last-child):hover,
  4728. .ant-input-group.ant-input-group-compact > .ant-input:not(:first-child):not(:last-child):hover {
  4729. border-color: color(~`colorPalette("@{primary-color}", 5)`);
  4730. border-right-width: 1px !important;
  4731. }
  4732. .ant-input-group.ant-input-group-compact-addon:not(:first-child):not(:last-child):focus,
  4733. .ant-input-group.ant-input-group-compact-wrap:not(:first-child):not(:last-child):focus,
  4734. .ant-input-group.ant-input-group-compact > .ant-input:not(:first-child):not(:last-child):focus {
  4735. border-color: color(~`colorPalette("@{primary-color}", 5)`);
  4736. box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
  4737. border-right-width: 1px !important;
  4738. }
  4739. .ant-input-group.ant-input-group-compact > * {
  4740. border-radius: 0;
  4741. border-right-width: 0;
  4742. }
  4743. .ant-input-group.ant-input-group-compact > span:not(:last-child) > .ant-input {
  4744. border-right-width: 0;
  4745. }
  4746. .ant-input-group.ant-input-group-compact > .ant-select > .ant-select-selection,
  4747. .ant-input-group.ant-input-group-compact > .ant-calendar-picker .ant-input,
  4748. .ant-input-group.ant-input-group-compact > .ant-select-auto-complete .ant-input,
  4749. .ant-input-group.ant-input-group-compact > .ant-cascader-picker .ant-input,
  4750. .ant-input-group.ant-input-group-compact > .ant-mention-wrapper .ant-mention-editor,
  4751. .ant-input-group.ant-input-group-compact > .ant-time-picker .ant-time-picker-input {
  4752. border-radius: 0;
  4753. border-right-width: 1px;
  4754. border-right-color: transparent;
  4755. }
  4756. .ant-input-group.ant-input-group-compact > .ant-select > .ant-select-selection:hover,
  4757. .ant-input-group.ant-input-group-compact > .ant-calendar-picker .ant-input:hover,
  4758. .ant-input-group.ant-input-group-compact > .ant-select-auto-complete .ant-input:hover,
  4759. .ant-input-group.ant-input-group-compact > .ant-cascader-picker .ant-input:hover,
  4760. .ant-input-group.ant-input-group-compact > .ant-mention-wrapper .ant-mention-editor:hover,
  4761. .ant-input-group.ant-input-group-compact > .ant-time-picker .ant-time-picker-input:hover {
  4762. border-color: color(~`colorPalette("@{primary-color}", 5)`);
  4763. border-right-width: 1px !important;
  4764. }
  4765. .ant-input-group.ant-input-group-compact > .ant-select > .ant-select-selection:focus,
  4766. .ant-input-group.ant-input-group-compact > .ant-calendar-picker .ant-input:focus,
  4767. .ant-input-group.ant-input-group-compact > .ant-select-auto-complete .ant-input:focus,
  4768. .ant-input-group.ant-input-group-compact > .ant-cascader-picker .ant-input:focus,
  4769. .ant-input-group.ant-input-group-compact > .ant-mention-wrapper .ant-mention-editor:focus,
  4770. .ant-input-group.ant-input-group-compact > .ant-time-picker .ant-time-picker-input:focus {
  4771. border-color: color(~`colorPalette("@{primary-color}", 5)`);
  4772. box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
  4773. border-right-width: 1px !important;
  4774. }
  4775. .ant-input-group.ant-input-group-compact > *:first-child,
  4776. .ant-input-group.ant-input-group-compact > .ant-select:first-child > .ant-select-selection,
  4777. .ant-input-group.ant-input-group-compact > .ant-calendar-picker:first-child .ant-input,
  4778. .ant-input-group.ant-input-group-compact > .ant-select-auto-complete:first-child .ant-input,
  4779. .ant-input-group.ant-input-group-compact > .ant-cascader-picker:first-child .ant-input,
  4780. .ant-input-group.ant-input-group-compact > .ant-mention-wrapper:first-child .ant-mention-editor,
  4781. .ant-input-group.ant-input-group-compact > .ant-time-picker:first-child .ant-time-picker-input {
  4782. border-top-left-radius: 4px;
  4783. border-bottom-left-radius: 4px;
  4784. }
  4785. .ant-input-group.ant-input-group-compact > *:last-child,
  4786. .ant-input-group.ant-input-group-compact > .ant-select:last-child > .ant-select-selection,
  4787. .ant-input-group.ant-input-group-compact > .ant-calendar-picker:last-child .ant-input,
  4788. .ant-input-group.ant-input-group-compact > .ant-select-auto-complete:last-child .ant-input,
  4789. .ant-input-group.ant-input-group-compact > .ant-cascader-picker:last-child .ant-input,
  4790. .ant-input-group.ant-input-group-compact > .ant-cascader-picker-focused:last-child .ant-input,
  4791. .ant-input-group.ant-input-group-compact > .ant-mention-wrapper:last-child .ant-mention-editor,
  4792. .ant-input-group.ant-input-group-compact > .ant-time-picker:last-child .ant-time-picker-input {
  4793. border-top-right-radius: 4px;
  4794. border-bottom-right-radius: 4px;
  4795. border-right-width: 1px;
  4796. border-right-color: #d9d9d9;
  4797. }
  4798. .ant-input-group.ant-input-group-compact > *:last-child:hover,
  4799. .ant-input-group.ant-input-group-compact > .ant-select:last-child > .ant-select-selection:hover,
  4800. .ant-input-group.ant-input-group-compact > .ant-calendar-picker:last-child .ant-input:hover,
  4801. .ant-input-group.ant-input-group-compact > .ant-select-auto-complete:last-child .ant-input:hover,
  4802. .ant-input-group.ant-input-group-compact > .ant-cascader-picker:last-child .ant-input:hover,
  4803. .ant-input-group.ant-input-group-compact > .ant-cascader-picker-focused:last-child .ant-input:hover,
  4804. .ant-input-group.ant-input-group-compact > .ant-mention-wrapper:last-child .ant-mention-editor:hover,
  4805. .ant-input-group.ant-input-group-compact > .ant-time-picker:last-child .ant-time-picker-input:hover {
  4806. border-color: color(~`colorPalette("@{primary-color}", 5)`);
  4807. border-right-width: 1px !important;
  4808. }
  4809. .ant-input-group.ant-input-group-compact > *:last-child:focus,
  4810. .ant-input-group.ant-input-group-compact > .ant-select:last-child > .ant-select-selection:focus,
  4811. .ant-input-group.ant-input-group-compact > .ant-calendar-picker:last-child .ant-input:focus,
  4812. .ant-input-group.ant-input-group-compact > .ant-select-auto-complete:last-child .ant-input:focus,
  4813. .ant-input-group.ant-input-group-compact > .ant-cascader-picker:last-child .ant-input:focus,
  4814. .ant-input-group.ant-input-group-compact > .ant-cascader-picker-focused:last-child .ant-input:focus,
  4815. .ant-input-group.ant-input-group-compact > .ant-mention-wrapper:last-child .ant-mention-editor:focus,
  4816. .ant-input-group.ant-input-group-compact > .ant-time-picker:last-child .ant-time-picker-input:focus {
  4817. border-color: color(~`colorPalette("@{primary-color}", 5)`);
  4818. box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
  4819. border-right-width: 1px !important;
  4820. }
  4821. .ant-input-group.ant-input-group-compact > *:last-child:focus .ant-cascader-input,
  4822. .ant-input-group.ant-input-group-compact > .ant-select:last-child > .ant-select-selection:focus .ant-cascader-input,
  4823. .ant-input-group.ant-input-group-compact > .ant-calendar-picker:last-child .ant-input:focus .ant-cascader-input,
  4824. .ant-input-group.ant-input-group-compact > .ant-select-auto-complete:last-child .ant-input:focus .ant-cascader-input,
  4825. .ant-input-group.ant-input-group-compact > .ant-cascader-picker:last-child .ant-input:focus .ant-cascader-input,
  4826. .ant-input-group.ant-input-group-compact > .ant-cascader-picker-focused:last-child .ant-input:focus .ant-cascader-input,
  4827. .ant-input-group.ant-input-group-compact > .ant-mention-wrapper:last-child .ant-mention-editor:focus .ant-cascader-input,
  4828. .ant-input-group.ant-input-group-compact > .ant-time-picker:last-child .ant-time-picker-input:focus .ant-cascader-input {
  4829. border-color: color(~`colorPalette("@{primary-color}", 5)`);
  4830. box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
  4831. border-right-width: 1px !important;
  4832. }
  4833. .ant-input-affix-wrapper {
  4834. color: rgba(0, 0, 0, 0.65);
  4835. }
  4836. .ant-input-affix-wrapper:hover .ant-input:not(.ant-input-disabled) {
  4837. border-color: color(~`colorPalette("@{primary-color}", 5)`);
  4838. border-right-width: 1px !important;
  4839. }
  4840. .ant-input-affix-wrapper .ant-input-prefix,
  4841. .ant-input-affix-wrapper .ant-input-suffix {
  4842. color: rgba(0, 0, 0, 0.65);
  4843. }
  4844. .ant-input-search-icon {
  4845. color: rgba(0, 0, 0, 0.45);
  4846. }
  4847. .ant-input-search-icon:hover {
  4848. color: #333;
  4849. }
  4850. .ant-input-search > .ant-input-suffix > .ant-input-search-button {
  4851. border-top-left-radius: 0;
  4852. border-bottom-left-radius: 0;
  4853. }
  4854. .ant-layout {
  4855. background: #f0f2f5;
  4856. }
  4857. .ant-layout-header {
  4858. background: #001529;
  4859. }
  4860. .ant-layout-footer {
  4861. background: #f0f2f5;
  4862. color: rgba(0, 0, 0, 0.65);
  4863. }
  4864. .ant-layout-sider {
  4865. background: #001529;
  4866. }
  4867. .ant-layout-sider-trigger {
  4868. color: #fff;
  4869. background: #002140;
  4870. }
  4871. .ant-layout-sider-zero-width-trigger {
  4872. background: #001529;
  4873. color: #fff;
  4874. border-radius: 0 4px 4px 0;
  4875. }
  4876. .ant-layout-sider-zero-width-trigger:hover {
  4877. background: #192c3e;
  4878. }
  4879. .ant-layout-sider-light {
  4880. background: #fff;
  4881. }
  4882. .ant-layout-sider-light .ant-layout-sider-trigger {
  4883. color: rgba(0, 0, 0, 0.65);
  4884. background: #fff;
  4885. }
  4886. .ant-layout-sider-light .ant-layout-sider-zero-width-trigger {
  4887. color: rgba(0, 0, 0, 0.65);
  4888. background: #fff;
  4889. }
  4890. .ant-list {
  4891. color: rgba(0, 0, 0, 0.65);
  4892. }
  4893. .ant-list-empty-text {
  4894. color: rgba(0, 0, 0, 0.45);
  4895. }
  4896. .ant-list-item-meta-title {
  4897. color: rgba(0, 0, 0, 0.65);
  4898. }
  4899. .ant-list-item-meta-title > a {
  4900. color: rgba(0, 0, 0, 0.65);
  4901. }
  4902. .ant-list-item-meta-title > a:hover {
  4903. color: @primary-color;
  4904. }
  4905. .ant-list-item-meta-description {
  4906. color: rgba(0, 0, 0, 0.45);
  4907. }
  4908. .ant-list-item-action > li {
  4909. color: rgba(0, 0, 0, 0.45);
  4910. }
  4911. .ant-list-item-action-split {
  4912. background-color: #e8e8e8;
  4913. }
  4914. .ant-list-empty {
  4915. color: rgba(0, 0, 0, 0.45);
  4916. }
  4917. .ant-list-split .ant-list-item {
  4918. border-bottom: 1px solid #e8e8e8;
  4919. }
  4920. .ant-list-split .ant-list-item:last-child {
  4921. border-bottom: none;
  4922. }
  4923. .ant-list-split .ant-list-header {
  4924. border-bottom: 1px solid #e8e8e8;
  4925. }
  4926. .ant-list-something-after-last-item .ant-spin-container > .ant-list-item:last-child {
  4927. border-bottom: 1px solid #e8e8e8;
  4928. }
  4929. .ant-list-vertical .ant-list-item-meta-title {
  4930. color: rgba(0, 0, 0, 0.85);
  4931. }
  4932. .ant-list-vertical .ant-list-item-content {
  4933. color: rgba(0, 0, 0, 0.65);
  4934. }
  4935. .ant-list-grid .ant-list-item {
  4936. border-bottom: none;
  4937. }
  4938. .ant-list-bordered {
  4939. border-radius: 4px;
  4940. border: 1px solid #d9d9d9;
  4941. }
  4942. .ant-list-bordered .ant-list-item {
  4943. border-bottom: 1px solid #e8e8e8;
  4944. }
  4945. .ant-mention-wrapper {
  4946. color: rgba(0, 0, 0, 0.65);
  4947. }
  4948. .ant-mention-wrapper .ant-mention-editor {
  4949. color: rgba(0, 0, 0, 0.65);
  4950. background-color: #fff;
  4951. background-image: none;
  4952. border: 1px solid #d9d9d9;
  4953. border-radius: 4px;
  4954. }
  4955. .ant-mention-wrapper .ant-mention-editor::-moz-placeholder {
  4956. color: #bfbfbf;
  4957. }
  4958. .ant-mention-wrapper .ant-mention-editor:-ms-input-placeholder {
  4959. color: #bfbfbf;
  4960. }
  4961. .ant-mention-wrapper .ant-mention-editor::-webkit-input-placeholder {
  4962. color: #bfbfbf;
  4963. }
  4964. .ant-mention-wrapper .ant-mention-editor:hover {
  4965. border-color: color(~`colorPalette("@{primary-color}", 5)`);
  4966. border-right-width: 1px !important;
  4967. }
  4968. .ant-mention-wrapper .ant-mention-editor:focus {
  4969. border-color: color(~`colorPalette("@{primary-color}", 5)`);
  4970. box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
  4971. border-right-width: 1px !important;
  4972. }
  4973. .ant-mention-wrapper .ant-mention-editor-disabled {
  4974. background-color: #f5f5f5;
  4975. color: rgba(0, 0, 0, 0.25);
  4976. }
  4977. .ant-mention-wrapper .ant-mention-editor-disabled:hover {
  4978. border-color: #e6d8d8;
  4979. border-right-width: 1px !important;
  4980. }
  4981. .ant-mention-wrapper.ant-mention-active:not(.disabled) .ant-mention-editor {
  4982. border-color: color(~`colorPalette("@{primary-color}", 5)`);
  4983. box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
  4984. border-right-width: 1px !important;
  4985. }
  4986. .ant-mention-wrapper.disabled .ant-mention-editor {
  4987. background-color: #f5f5f5;
  4988. color: rgba(0, 0, 0, 0.25);
  4989. }
  4990. .ant-mention-wrapper.disabled .ant-mention-editor:hover {
  4991. border-color: #e6d8d8;
  4992. border-right-width: 1px !important;
  4993. }
  4994. .ant-mention-wrapper .public-DraftEditorPlaceholder-root .public-DraftEditorPlaceholder-inner {
  4995. color: #bfbfbf;
  4996. }
  4997. .ant-mention-dropdown {
  4998. color: rgba(0, 0, 0, 0.65);
  4999. background-color: #fff;
  5000. box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  5001. border-radius: 4px;
  5002. }
  5003. .ant-mention-dropdown-notfound.ant-mention-dropdown-item {
  5004. color: rgba(0, 0, 0, 0.25);
  5005. }
  5006. .ant-mention-dropdown-notfound.ant-mention-dropdown-item .anticon-loading {
  5007. color: @primary-color;
  5008. }
  5009. .ant-mention-dropdown-item {
  5010. color: rgba(0, 0, 0, 0.65);
  5011. }
  5012. .ant-mention-dropdown-item:hover {
  5013. background-color: color(~`colorPalette("@{primary-color}", 1)`);
  5014. }
  5015. .ant-mention-dropdown-item.focus,
  5016. .ant-mention-dropdown-item-active {
  5017. background-color: color(~`colorPalette("@{primary-color}", 1)`);
  5018. }
  5019. .ant-mention-dropdown-item-disabled {
  5020. color: rgba(0, 0, 0, 0.25);
  5021. }
  5022. .ant-mention-dropdown-item-disabled:hover {
  5023. color: rgba(0, 0, 0, 0.25);
  5024. background-color: #fff;
  5025. }
  5026. .ant-mention-dropdown-item-selected,
  5027. .ant-mention-dropdown-item-selected:hover {
  5028. background-color: #f5f5f5;
  5029. color: rgba(0, 0, 0, 0.65);
  5030. }
  5031. .ant-mention-dropdown-item-divider {
  5032. background-color: #e8e8e8;
  5033. }
  5034. .ant-menu {
  5035. box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  5036. color: rgba(0, 0, 0, 0.65);
  5037. background: #fff;
  5038. }
  5039. .ant-menu-item-group-title {
  5040. color: rgba(0, 0, 0, 0.45);
  5041. }
  5042. .ant-menu-item:active,
  5043. .ant-menu-submenu-title:active {
  5044. background: color(~`colorPalette("@{primary-color}", 1)`);
  5045. }
  5046. .ant-menu-item > a {
  5047. color: rgba(0, 0, 0, 0.65);
  5048. }
  5049. .ant-menu-item > a:hover {
  5050. color: @primary-color;
  5051. }
  5052. .ant-menu-item > a:before {
  5053. background-color: transparent;
  5054. }
  5055. .ant-menu-item-divider {
  5056. background-color: #e8e8e8;
  5057. }
  5058. .ant-menu-item:hover,
  5059. .ant-menu-item-active,
  5060. .ant-menu:not(.ant-menu-inline) .ant-menu-submenu-open,
  5061. .ant-menu-submenu-active,
  5062. .ant-menu-submenu-title:hover {
  5063. color: @primary-color;
  5064. }
  5065. .ant-menu-horizontal > .ant-menu-item:hover,
  5066. .ant-menu-horizontal > .ant-menu-item-active,
  5067. .ant-menu-horizontal > .ant-menu-submenu .ant-menu-submenu-title:hover {
  5068. background-color: transparent;
  5069. }
  5070. .ant-menu-item-selected {
  5071. color: @primary-color;
  5072. }
  5073. .ant-menu-item-selected > a,
  5074. .ant-menu-item-selected > a:hover {
  5075. color: @primary-color;
  5076. }
  5077. .ant-menu:not(.ant-menu-horizontal) .ant-menu-item-selected {
  5078. background-color: color(~`colorPalette("@{primary-color}", 1)`);
  5079. }
  5080. .ant-menu-inline,
  5081. .ant-menu-vertical,
  5082. .ant-menu-vertical-left {
  5083. border-right: 1px solid #e8e8e8;
  5084. }
  5085. .ant-menu-vertical-right {
  5086. border-left: 1px solid #e8e8e8;
  5087. }
  5088. .ant-menu-vertical.ant-menu-sub,
  5089. .ant-menu-vertical-left.ant-menu-sub,
  5090. .ant-menu-vertical-right.ant-menu-sub {
  5091. border-right: 0;
  5092. }
  5093. .ant-menu-vertical.ant-menu-sub .ant-menu-item,
  5094. .ant-menu-vertical-left.ant-menu-sub .ant-menu-item,
  5095. .ant-menu-vertical-right.ant-menu-sub .ant-menu-item {
  5096. border-right: 0;
  5097. }
  5098. .ant-menu-vertical.ant-menu-sub .ant-menu-item:after,
  5099. .ant-menu-vertical-left.ant-menu-sub .ant-menu-item:after,
  5100. .ant-menu-vertical-right.ant-menu-sub .ant-menu-item:after {
  5101. border-right: 0;
  5102. }
  5103. .ant-menu > .ant-menu-item-divider {
  5104. background-color: #e8e8e8;
  5105. }
  5106. .ant-menu-submenu-popup {
  5107. border-radius: 4px;
  5108. }
  5109. .ant-menu-submenu > .ant-menu {
  5110. background-color: #fff;
  5111. border-radius: 4px;
  5112. }
  5113. .ant-menu-submenu-vertical > .ant-menu-submenu-title .ant-menu-submenu-arrow:before,
  5114. .ant-menu-submenu-vertical-left > .ant-menu-submenu-title .ant-menu-submenu-arrow:before,
  5115. .ant-menu-submenu-vertical-right > .ant-menu-submenu-title .ant-menu-submenu-arrow:before,
  5116. .ant-menu-submenu-inline > .ant-menu-submenu-title .ant-menu-submenu-arrow:before,
  5117. .ant-menu-submenu-vertical > .ant-menu-submenu-title .ant-menu-submenu-arrow:after,
  5118. .ant-menu-submenu-vertical-left > .ant-menu-submenu-title .ant-menu-submenu-arrow:after,
  5119. .ant-menu-submenu-vertical-right > .ant-menu-submenu-title .ant-menu-submenu-arrow:after,
  5120. .ant-menu-submenu-inline > .ant-menu-submenu-title .ant-menu-submenu-arrow:after {
  5121. background: #fff;
  5122. background-image: linear-gradient(to right, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65));
  5123. border-radius: 2px;
  5124. }
  5125. .ant-menu-submenu-vertical > .ant-menu-submenu-title:hover .ant-menu-submenu-arrow:after,
  5126. .ant-menu-submenu-vertical-left > .ant-menu-submenu-title:hover .ant-menu-submenu-arrow:after,
  5127. .ant-menu-submenu-vertical-right > .ant-menu-submenu-title:hover .ant-menu-submenu-arrow:after,
  5128. .ant-menu-submenu-inline > .ant-menu-submenu-title:hover .ant-menu-submenu-arrow:after,
  5129. .ant-menu-submenu-vertical > .ant-menu-submenu-title:hover .ant-menu-submenu-arrow:before,
  5130. .ant-menu-submenu-vertical-left > .ant-menu-submenu-title:hover .ant-menu-submenu-arrow:before,
  5131. .ant-menu-submenu-vertical-right > .ant-menu-submenu-title:hover .ant-menu-submenu-arrow:before,
  5132. .ant-menu-submenu-inline > .ant-menu-submenu-title:hover .ant-menu-submenu-arrow:before {
  5133. background: linear-gradient(to right, @primary-color, @primary-color);
  5134. }
  5135. .ant-menu-vertical .ant-menu-submenu-selected,
  5136. .ant-menu-vertical-left .ant-menu-submenu-selected,
  5137. .ant-menu-vertical-right .ant-menu-submenu-selected {
  5138. color: @primary-color;
  5139. }
  5140. .ant-menu-vertical .ant-menu-submenu-selected > a,
  5141. .ant-menu-vertical-left .ant-menu-submenu-selected > a,
  5142. .ant-menu-vertical-right .ant-menu-submenu-selected > a {
  5143. color: @primary-color;
  5144. }
  5145. .ant-menu-horizontal {
  5146. border: 0;
  5147. border-bottom: 1px solid #e8e8e8;
  5148. box-shadow: none;
  5149. }
  5150. .ant-menu-horizontal > .ant-menu-item,
  5151. .ant-menu-horizontal > .ant-menu-submenu {
  5152. border-bottom: 2px solid transparent;
  5153. }
  5154. .ant-menu-horizontal > .ant-menu-item:hover,
  5155. .ant-menu-horizontal > .ant-menu-submenu:hover,
  5156. .ant-menu-horizontal > .ant-menu-item-active,
  5157. .ant-menu-horizontal > .ant-menu-submenu-active,
  5158. .ant-menu-horizontal > .ant-menu-item-open,
  5159. .ant-menu-horizontal > .ant-menu-submenu-open,
  5160. .ant-menu-horizontal > .ant-menu-item-selected,
  5161. .ant-menu-horizontal > .ant-menu-submenu-selected {
  5162. border-bottom: 2px solid @primary-color;
  5163. color: @primary-color;
  5164. }
  5165. .ant-menu-horizontal > .ant-menu-item > a {
  5166. color: rgba(0, 0, 0, 0.65);
  5167. }
  5168. .ant-menu-horizontal > .ant-menu-item > a:hover {
  5169. color: @primary-color;
  5170. }
  5171. .ant-menu-horizontal > .ant-menu-item-selected > a {
  5172. color: @primary-color;
  5173. }
  5174. .ant-menu-vertical .ant-menu-item:after,
  5175. .ant-menu-vertical-left .ant-menu-item:after,
  5176. .ant-menu-vertical-right .ant-menu-item:after,
  5177. .ant-menu-inline .ant-menu-item:after {
  5178. border-right: 3px solid @primary-color;
  5179. }
  5180. .ant-menu-inline-collapsed-tooltip a {
  5181. color: rgba(255, 255, 255, 0.85);
  5182. }
  5183. .ant-menu-root.ant-menu-vertical,
  5184. .ant-menu-root.ant-menu-vertical-left,
  5185. .ant-menu-root.ant-menu-vertical-right,
  5186. .ant-menu-root.ant-menu-inline {
  5187. box-shadow: none;
  5188. }
  5189. .ant-menu-sub.ant-menu-inline {
  5190. border: 0;
  5191. box-shadow: none;
  5192. border-radius: 0;
  5193. }
  5194. .ant-menu-item-disabled,
  5195. .ant-menu-submenu-disabled {
  5196. color: rgba(0, 0, 0, 0.25) !important;
  5197. background: none;
  5198. border-color: transparent !important;
  5199. }
  5200. .ant-menu-item-disabled > a,
  5201. .ant-menu-submenu-disabled > a {
  5202. color: rgba(0, 0, 0, 0.25) !important;
  5203. }
  5204. .ant-menu-item-disabled > .ant-menu-submenu-title,
  5205. .ant-menu-submenu-disabled > .ant-menu-submenu-title {
  5206. color: rgba(0, 0, 0, 0.25) !important;
  5207. }
  5208. .ant-menu-item-disabled > .ant-menu-submenu-title > .ant-menu-submenu-arrow:before,
  5209. .ant-menu-submenu-disabled > .ant-menu-submenu-title > .ant-menu-submenu-arrow:before,
  5210. .ant-menu-item-disabled > .ant-menu-submenu-title > .ant-menu-submenu-arrow:after,
  5211. .ant-menu-submenu-disabled > .ant-menu-submenu-title > .ant-menu-submenu-arrow:after {
  5212. background: rgba(0, 0, 0, 0.25) !important;
  5213. }
  5214. .ant-menu-dark,
  5215. .ant-menu-dark .ant-menu-sub {
  5216. color: rgba(255, 255, 255, 0.65);
  5217. background: #001529;
  5218. }
  5219. .ant-menu-dark .ant-menu-submenu-title .ant-menu-submenu-arrow:after,
  5220. .ant-menu-dark .ant-menu-sub .ant-menu-submenu-title .ant-menu-submenu-arrow:after,
  5221. .ant-menu-dark .ant-menu-submenu-title .ant-menu-submenu-arrow:before,
  5222. .ant-menu-dark .ant-menu-sub .ant-menu-submenu-title .ant-menu-submenu-arrow:before {
  5223. background: #fff;
  5224. }
  5225. .ant-menu-dark.ant-menu-submenu-popup {
  5226. background: transparent;
  5227. }
  5228. .ant-menu-dark .ant-menu-inline.ant-menu-sub {
  5229. background: #000c17;
  5230. box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45) inset;
  5231. }
  5232. .ant-menu-dark.ant-menu-horizontal {
  5233. border-bottom: 0;
  5234. }
  5235. .ant-menu-dark.ant-menu-horizontal > .ant-menu-item,
  5236. .ant-menu-dark.ant-menu-horizontal > .ant-menu-submenu {
  5237. border-color: #001529;
  5238. border-bottom: 0;
  5239. }
  5240. .ant-menu-dark .ant-menu-item,
  5241. .ant-menu-dark .ant-menu-item-group-title,
  5242. .ant-menu-dark .ant-menu-item > a {
  5243. color: rgba(255, 255, 255, 0.65);
  5244. }
  5245. .ant-menu-dark.ant-menu-inline,
  5246. .ant-menu-dark.ant-menu-vertical,
  5247. .ant-menu-dark.ant-menu-vertical-left,
  5248. .ant-menu-dark.ant-menu-vertical-right {
  5249. border-right: 0;
  5250. }
  5251. .ant-menu-dark.ant-menu-inline .ant-menu-item,
  5252. .ant-menu-dark.ant-menu-vertical .ant-menu-item,
  5253. .ant-menu-dark.ant-menu-vertical-left .ant-menu-item,
  5254. .ant-menu-dark.ant-menu-vertical-right .ant-menu-item {
  5255. border-right: 0;
  5256. }
  5257. .ant-menu-dark.ant-menu-inline .ant-menu-item:after,
  5258. .ant-menu-dark.ant-menu-vertical .ant-menu-item:after,
  5259. .ant-menu-dark.ant-menu-vertical-left .ant-menu-item:after,
  5260. .ant-menu-dark.ant-menu-vertical-right .ant-menu-item:after {
  5261. border-right: 0;
  5262. }
  5263. .ant-menu-dark .ant-menu-item:hover,
  5264. .ant-menu-dark .ant-menu-item-active,
  5265. .ant-menu-dark .ant-menu-submenu-active,
  5266. .ant-menu-dark .ant-menu-submenu-open,
  5267. .ant-menu-dark .ant-menu-submenu-selected,
  5268. .ant-menu-dark .ant-menu-submenu-title:hover {
  5269. background-color: transparent;
  5270. color: #fff;
  5271. }
  5272. .ant-menu-dark .ant-menu-item:hover > a,
  5273. .ant-menu-dark .ant-menu-item-active > a,
  5274. .ant-menu-dark .ant-menu-submenu-active > a,
  5275. .ant-menu-dark .ant-menu-submenu-open > a,
  5276. .ant-menu-dark .ant-menu-submenu-selected > a,
  5277. .ant-menu-dark .ant-menu-submenu-title:hover > a {
  5278. color: #fff;
  5279. }
  5280. .ant-menu-dark .ant-menu-item:hover > .ant-menu-submenu-title > .ant-menu-submenu-arrow:after,
  5281. .ant-menu-dark .ant-menu-item-active > .ant-menu-submenu-title > .ant-menu-submenu-arrow:after,
  5282. .ant-menu-dark .ant-menu-submenu-active > .ant-menu-submenu-title > .ant-menu-submenu-arrow:after,
  5283. .ant-menu-dark .ant-menu-submenu-open > .ant-menu-submenu-title > .ant-menu-submenu-arrow:after,
  5284. .ant-menu-dark .ant-menu-submenu-selected > .ant-menu-submenu-title > .ant-menu-submenu-arrow:after,
  5285. .ant-menu-dark .ant-menu-submenu-title:hover > .ant-menu-submenu-title > .ant-menu-submenu-arrow:after,
  5286. .ant-menu-dark .ant-menu-item:hover > .ant-menu-submenu-title:hover > .ant-menu-submenu-arrow:after,
  5287. .ant-menu-dark .ant-menu-item-active > .ant-menu-submenu-title:hover > .ant-menu-submenu-arrow:after,
  5288. .ant-menu-dark .ant-menu-submenu-active > .ant-menu-submenu-title:hover > .ant-menu-submenu-arrow:after,
  5289. .ant-menu-dark .ant-menu-submenu-open > .ant-menu-submenu-title:hover > .ant-menu-submenu-arrow:after,
  5290. .ant-menu-dark .ant-menu-submenu-selected > .ant-menu-submenu-title:hover > .ant-menu-submenu-arrow:after,
  5291. .ant-menu-dark .ant-menu-submenu-title:hover > .ant-menu-submenu-title:hover > .ant-menu-submenu-arrow:after,
  5292. .ant-menu-dark .ant-menu-item:hover > .ant-menu-submenu-title > .ant-menu-submenu-arrow:before,
  5293. .ant-menu-dark .ant-menu-item-active > .ant-menu-submenu-title > .ant-menu-submenu-arrow:before,
  5294. .ant-menu-dark .ant-menu-submenu-active > .ant-menu-submenu-title > .ant-menu-submenu-arrow:before,
  5295. .ant-menu-dark .ant-menu-submenu-open > .ant-menu-submenu-title > .ant-menu-submenu-arrow:before,
  5296. .ant-menu-dark .ant-menu-submenu-selected > .ant-menu-submenu-title > .ant-menu-submenu-arrow:before,
  5297. .ant-menu-dark .ant-menu-submenu-title:hover > .ant-menu-submenu-title > .ant-menu-submenu-arrow:before,
  5298. .ant-menu-dark .ant-menu-item:hover > .ant-menu-submenu-title:hover > .ant-menu-submenu-arrow:before,
  5299. .ant-menu-dark .ant-menu-item-active > .ant-menu-submenu-title:hover > .ant-menu-submenu-arrow:before,
  5300. .ant-menu-dark .ant-menu-submenu-active > .ant-menu-submenu-title:hover > .ant-menu-submenu-arrow:before,
  5301. .ant-menu-dark .ant-menu-submenu-open > .ant-menu-submenu-title:hover > .ant-menu-submenu-arrow:before,
  5302. .ant-menu-dark .ant-menu-submenu-selected > .ant-menu-submenu-title:hover > .ant-menu-submenu-arrow:before,
  5303. .ant-menu-dark .ant-menu-submenu-title:hover > .ant-menu-submenu-title:hover > .ant-menu-submenu-arrow:before {
  5304. background: #fff;
  5305. }
  5306. .ant-menu-dark .ant-menu-item-selected {
  5307. border-right: 0;
  5308. color: #fff;
  5309. }
  5310. .ant-menu-dark .ant-menu-item-selected:after {
  5311. border-right: 0;
  5312. }
  5313. .ant-menu-dark .ant-menu-item-selected > a,
  5314. .ant-menu-dark .ant-menu-item-selected > a:hover {
  5315. color: #fff;
  5316. }
  5317. .ant-menu.ant-menu-dark .ant-menu-item-selected,
  5318. .ant-menu-submenu-popup.ant-menu-dark .ant-menu-item-selected {
  5319. background-color: @primary-color;
  5320. }
  5321. .ant-menu-dark .ant-menu-item-disabled,
  5322. .ant-menu-dark .ant-menu-submenu-disabled,
  5323. .ant-menu-dark .ant-menu-item-disabled > a,
  5324. .ant-menu-dark .ant-menu-submenu-disabled > a {
  5325. color: rgba(255, 255, 255, 0.35) !important;
  5326. }
  5327. .ant-menu-dark .ant-menu-item-disabled > .ant-menu-submenu-title,
  5328. .ant-menu-dark .ant-menu-submenu-disabled > .ant-menu-submenu-title {
  5329. color: rgba(255, 255, 255, 0.35) !important;
  5330. }
  5331. .ant-menu-dark .ant-menu-item-disabled > .ant-menu-submenu-title > .ant-menu-submenu-arrow:before,
  5332. .ant-menu-dark .ant-menu-submenu-disabled > .ant-menu-submenu-title > .ant-menu-submenu-arrow:before,
  5333. .ant-menu-dark .ant-menu-item-disabled > .ant-menu-submenu-title > .ant-menu-submenu-arrow:after,
  5334. .ant-menu-dark .ant-menu-submenu-disabled > .ant-menu-submenu-title > .ant-menu-submenu-arrow:after {
  5335. background: rgba(255, 255, 255, 0.35) !important;
  5336. }
  5337. .ant-message {
  5338. color: rgba(0, 0, 0, 0.65);
  5339. }
  5340. .ant-message-notice-content {
  5341. border-radius: 4px;
  5342. box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  5343. background: #fff;
  5344. }
  5345. .ant-message-success .anticon {
  5346. color: #52c41a;
  5347. }
  5348. .ant-message-error .anticon {
  5349. color: #f5222d;
  5350. }
  5351. .ant-message-warning .anticon {
  5352. color: #faad14;
  5353. }
  5354. .ant-message-info .anticon,
  5355. .ant-message-loading .anticon {
  5356. color: @primary-color;
  5357. }
  5358. .ant-modal {
  5359. color: rgba(0, 0, 0, 0.65);
  5360. }
  5361. .ant-modal-title {
  5362. color: rgba(0, 0, 0, 0.85);
  5363. }
  5364. .ant-modal-content {
  5365. background-color: #fff;
  5366. border: 0;
  5367. border-radius: 4px;
  5368. background-clip: padding-box;
  5369. box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  5370. }
  5371. .ant-modal-close {
  5372. border: 0;
  5373. background: transparent;
  5374. color: rgba(0, 0, 0, 0.45);
  5375. }
  5376. .ant-modal-close:focus,
  5377. .ant-modal-close:hover {
  5378. color: #444;
  5379. }
  5380. .ant-modal-header {
  5381. border-radius: 4px 4px 0 0;
  5382. background: #fff;
  5383. color: rgba(0, 0, 0, 0.65);
  5384. border-bottom: 1px solid #e8e8e8;
  5385. }
  5386. .ant-modal-footer {
  5387. border-top: 1px solid #e8e8e8;
  5388. border-radius: 0 0 4px 4px;
  5389. }
  5390. .ant-modal-mask {
  5391. background-color: rgba(0, 0, 0, 0.65);
  5392. }
  5393. .ant-confirm-body .ant-confirm-title {
  5394. color: rgba(0, 0, 0, 0.85);
  5395. }
  5396. .ant-confirm-body .ant-confirm-content {
  5397. color: rgba(0, 0, 0, 0.65);
  5398. }
  5399. .ant-confirm-error .ant-confirm-body > .anticon {
  5400. color: #f5222d;
  5401. }
  5402. .ant-confirm-warning .ant-confirm-body > .anticon,
  5403. .ant-confirm-confirm .ant-confirm-body > .anticon {
  5404. color: #faad14;
  5405. }
  5406. .ant-confirm-info .ant-confirm-body > .anticon {
  5407. color: @primary-color;
  5408. }
  5409. .ant-confirm-success .ant-confirm-body > .anticon {
  5410. color: #52c41a;
  5411. }
  5412. .ant-notification {
  5413. color: rgba(0, 0, 0, 0.65);
  5414. }
  5415. .ant-notification-notice {
  5416. border-radius: 4px;
  5417. box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  5418. background: #fff;
  5419. }
  5420. .ant-notification-notice-message {
  5421. color: rgba(0, 0, 0, 0.85);
  5422. }
  5423. .ant-notification-notice-message-single-line-auto-margin {
  5424. background-color: transparent;
  5425. }
  5426. .ant-notification-notice-icon-success {
  5427. color: #52c41a;
  5428. }
  5429. .ant-notification-notice-icon-info {
  5430. color: @primary-color;
  5431. }
  5432. .ant-notification-notice-icon-warning {
  5433. color: #faad14;
  5434. }
  5435. .ant-notification-notice-icon-error {
  5436. color: #f5222d;
  5437. }
  5438. .ant-notification-notice-close {
  5439. color: rgba(0, 0, 0, 0.45);
  5440. }
  5441. .ant-notification-notice-close:hover {
  5442. color: rgba(0, 0, 0, 0.67);
  5443. }
  5444. .ant-pagination {
  5445. color: rgba(0, 0, 0, 0.65);
  5446. }
  5447. .ant-pagination-item {
  5448. border-radius: 4px;
  5449. border: 1px solid #d9d9d9;
  5450. background-color: #fff;
  5451. }
  5452. .ant-pagination-item a {
  5453. color: rgba(0, 0, 0, 0.65);
  5454. }
  5455. .ant-pagination-item:focus,
  5456. .ant-pagination-item:hover {
  5457. border-color: @primary-color;
  5458. }
  5459. .ant-pagination-item:focus a,
  5460. .ant-pagination-item:hover a {
  5461. color: @primary-color;
  5462. }
  5463. .ant-pagination-item-active {
  5464. border-color: @primary-color;
  5465. }
  5466. .ant-pagination-item-active a {
  5467. color: @primary-color;
  5468. }
  5469. .ant-pagination-item-active:focus,
  5470. .ant-pagination-item-active:hover {
  5471. border-color: color(~`colorPalette("@{primary-color}", 5)`);
  5472. }
  5473. .ant-pagination-item-active:focus a,
  5474. .ant-pagination-item-active:hover a {
  5475. color: color(~`colorPalette("@{primary-color}", 5)`);
  5476. }
  5477. .ant-pagination-jump-prev .ant-pagination-item-container .ant-pagination-item-link-icon,
  5478. .ant-pagination-jump-next .ant-pagination-item-container .ant-pagination-item-link-icon {
  5479. color: @primary-color;
  5480. }
  5481. .ant-pagination-jump-prev .ant-pagination-item-container .ant-pagination-item-ellipsis,
  5482. .ant-pagination-jump-next .ant-pagination-item-container .ant-pagination-item-ellipsis {
  5483. color: rgba(0, 0, 0, 0.25);
  5484. }
  5485. .ant-pagination-prev,
  5486. .ant-pagination-next,
  5487. .ant-pagination-jump-prev,
  5488. .ant-pagination-jump-next {
  5489. color: rgba(0, 0, 0, 0.65);
  5490. border-radius: 4px;
  5491. }
  5492. .ant-pagination-prev a,
  5493. .ant-pagination-next a {
  5494. color: rgba(0, 0, 0, 0.65);
  5495. }
  5496. .ant-pagination-prev:hover a,
  5497. .ant-pagination-next:hover a {
  5498. border-color: color(~`colorPalette("@{primary-color}", 5)`);
  5499. }
  5500. .ant-pagination-prev .ant-pagination-item-link,
  5501. .ant-pagination-next .ant-pagination-item-link {
  5502. border: 1px solid #d9d9d9;
  5503. background-color: #fff;
  5504. border-radius: 4px;
  5505. }
  5506. .ant-pagination-prev:focus .ant-pagination-item-link,
  5507. .ant-pagination-next:focus .ant-pagination-item-link,
  5508. .ant-pagination-prev:hover .ant-pagination-item-link,
  5509. .ant-pagination-next:hover .ant-pagination-item-link {
  5510. border-color: @primary-color;
  5511. color: @primary-color;
  5512. }
  5513. .ant-pagination-disabled a,
  5514. .ant-pagination-disabled:hover a,
  5515. .ant-pagination-disabled:focus a,
  5516. .ant-pagination-disabled .ant-pagination-item-link,
  5517. .ant-pagination-disabled:hover .ant-pagination-item-link,
  5518. .ant-pagination-disabled:focus .ant-pagination-item-link {
  5519. border-color: #d9d9d9;
  5520. color: rgba(0, 0, 0, 0.25);
  5521. }
  5522. .ant-pagination-options-quick-jumper input {
  5523. color: rgba(0, 0, 0, 0.65);
  5524. background-color: #fff;
  5525. background-image: none;
  5526. border: 1px solid #d9d9d9;
  5527. border-radius: 4px;
  5528. }
  5529. .ant-pagination-options-quick-jumper input::-moz-placeholder {
  5530. color: #bfbfbf;
  5531. }
  5532. .ant-pagination-options-quick-jumper input:-ms-input-placeholder {
  5533. color: #bfbfbf;
  5534. }
  5535. .ant-pagination-options-quick-jumper input::-webkit-input-placeholder {
  5536. color: #bfbfbf;
  5537. }
  5538. .ant-pagination-options-quick-jumper input:hover {
  5539. border-color: color(~`colorPalette("@{primary-color}", 5)`);
  5540. border-right-width: 1px !important;
  5541. }
  5542. .ant-pagination-options-quick-jumper input:focus {
  5543. border-color: color(~`colorPalette("@{primary-color}", 5)`);
  5544. box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
  5545. border-right-width: 1px !important;
  5546. }
  5547. .ant-pagination-options-quick-jumper input-disabled {
  5548. background-color: #f5f5f5;
  5549. color: rgba(0, 0, 0, 0.25);
  5550. }
  5551. .ant-pagination-options-quick-jumper input-disabled:hover {
  5552. border-color: #e6d8d8;
  5553. border-right-width: 1px !important;
  5554. }
  5555. .ant-pagination-simple .ant-pagination-prev .ant-pagination-item-link,
  5556. .ant-pagination-simple .ant-pagination-next .ant-pagination-item-link {
  5557. border: 0;
  5558. }
  5559. .ant-pagination-simple .ant-pagination-simple-pager input {
  5560. background-color: #fff;
  5561. border-radius: 4px;
  5562. border: 1px solid #d9d9d9;
  5563. }
  5564. .ant-pagination-simple .ant-pagination-simple-pager input:hover {
  5565. border-color: @primary-color;
  5566. }
  5567. .ant-pagination.mini .ant-pagination-item:not(.ant-pagination-item-active) {
  5568. background: transparent;
  5569. border-color: transparent;
  5570. }
  5571. .ant-pagination.mini .ant-pagination-prev .ant-pagination-item-link,
  5572. .ant-pagination.mini .ant-pagination-next .ant-pagination-item-link {
  5573. border-color: transparent;
  5574. background: transparent;
  5575. }
  5576. .ant-popover {
  5577. color: rgba(0, 0, 0, 0.65);
  5578. }
  5579. .ant-popover:after {
  5580. background: rgba(255, 255, 255, 0.01);
  5581. }
  5582. .ant-popover-inner {
  5583. background-color: #fff;
  5584. background-clip: padding-box;
  5585. border-radius: 4px;
  5586. box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  5587. }
  5588. .ant-popover-title {
  5589. border-bottom: 1px solid #e8e8e8;
  5590. color: rgba(0, 0, 0, 0.85);
  5591. }
  5592. .ant-popover-inner-content {
  5593. color: rgba(0, 0, 0, 0.65);
  5594. }
  5595. .ant-popover-message {
  5596. color: rgba(0, 0, 0, 0.65);
  5597. }
  5598. .ant-popover-message > .anticon {
  5599. color: #faad14;
  5600. }
  5601. .ant-popover-arrow {
  5602. background: #fff;
  5603. border-color: transparent;
  5604. border-style: solid;
  5605. }
  5606. .ant-popover-placement-top > .ant-popover-content > .ant-popover-arrow,
  5607. .ant-popover-placement-topLeft > .ant-popover-content > .ant-popover-arrow,
  5608. .ant-popover-placement-topRight > .ant-popover-content > .ant-popover-arrow {
  5609. box-shadow: 3px 3px 7px rgba(0, 0, 0, 0.07);
  5610. }
  5611. .ant-popover-placement-right > .ant-popover-content > .ant-popover-arrow,
  5612. .ant-popover-placement-rightTop > .ant-popover-content > .ant-popover-arrow,
  5613. .ant-popover-placement-rightBottom > .ant-popover-content > .ant-popover-arrow {
  5614. box-shadow: -3px 3px 7px rgba(0, 0, 0, 0.07);
  5615. }
  5616. .ant-popover-placement-bottom > .ant-popover-content > .ant-popover-arrow,
  5617. .ant-popover-placement-bottomLeft > .ant-popover-content > .ant-popover-arrow,
  5618. .ant-popover-placement-bottomRight > .ant-popover-content > .ant-popover-arrow {
  5619. box-shadow: -2px -2px 5px rgba(0, 0, 0, 0.06);
  5620. }
  5621. .ant-popover-placement-left > .ant-popover-content > .ant-popover-arrow,
  5622. .ant-popover-placement-leftTop > .ant-popover-content > .ant-popover-arrow,
  5623. .ant-popover-placement-leftBottom > .ant-popover-content > .ant-popover-arrow {
  5624. box-shadow: 3px -3px 7px rgba(0, 0, 0, 0.07);
  5625. }
  5626. .ant-progress {
  5627. color: rgba(0, 0, 0, 0.65);
  5628. }
  5629. .ant-progress-inner {
  5630. background-color: #f5f5f5;
  5631. border-radius: 100px;
  5632. }
  5633. .ant-progress-success-bg,
  5634. .ant-progress-bg {
  5635. background-color: @primary-color;
  5636. }
  5637. .ant-progress-success-bg {
  5638. background-color: #52c41a;
  5639. }
  5640. .ant-progress-text {
  5641. color: rgba(0, 0, 0, 0.45);
  5642. }
  5643. .ant-progress-status-active .ant-progress-bg:before {
  5644. background: #fff;
  5645. border-radius: 10px;
  5646. }
  5647. .ant-progress-status-exception .ant-progress-bg {
  5648. background-color: #f5222d;
  5649. }
  5650. .ant-progress-status-exception .ant-progress-text {
  5651. color: #f5222d;
  5652. }
  5653. .ant-progress-status-success .ant-progress-bg {
  5654. background-color: #52c41a;
  5655. }
  5656. .ant-progress-status-success .ant-progress-text {
  5657. color: #52c41a;
  5658. }
  5659. .ant-progress-circle .ant-progress-inner {
  5660. background-color: transparent;
  5661. }
  5662. .ant-progress-circle .ant-progress-text {
  5663. color: rgba(0, 0, 0, 0.65);
  5664. }
  5665. .ant-progress-circle.ant-progress-status-exception .ant-progress-text {
  5666. color: #f5222d;
  5667. }
  5668. .ant-progress-circle.ant-progress-status-success .ant-progress-text {
  5669. color: #52c41a;
  5670. }
  5671. .ant-radio-group {
  5672. color: rgba(0, 0, 0, 0.65);
  5673. }
  5674. .ant-radio-wrapper {
  5675. color: rgba(0, 0, 0, 0.65);
  5676. }
  5677. .ant-radio {
  5678. color: rgba(0, 0, 0, 0.65);
  5679. }
  5680. .ant-radio-wrapper:hover .ant-radio .ant-radio-inner,
  5681. .ant-radio:hover .ant-radio-inner,
  5682. .ant-radio-focused .ant-radio-inner {
  5683. border-color: @primary-color;
  5684. }
  5685. .ant-radio-checked:after {
  5686. border-radius: 50%;
  5687. border: 1px solid @primary-color;
  5688. }
  5689. .ant-radio-inner {
  5690. border-width: 1px;
  5691. border-style: solid;
  5692. border-radius: 100px;
  5693. border-color: #d9d9d9;
  5694. background-color: #fff;
  5695. }
  5696. .ant-radio-inner:after {
  5697. border-radius: 8px;
  5698. border-top: 0;
  5699. border-left: 0;
  5700. background-color: @primary-color;
  5701. }
  5702. .ant-radio-checked .ant-radio-inner {
  5703. border-color: @primary-color;
  5704. }
  5705. .ant-radio-disabled .ant-radio-inner {
  5706. border-color: #d9d9d9 !important;
  5707. background-color: #f5f5f5;
  5708. }
  5709. .ant-radio-disabled .ant-radio-inner:after {
  5710. background-color: #ccc;
  5711. }
  5712. .ant-radio-disabled + span {
  5713. color: rgba(0, 0, 0, 0.25);
  5714. }
  5715. .ant-radio-button-wrapper {
  5716. color: rgba(0, 0, 0, 0.65);
  5717. border: 1px solid #d9d9d9;
  5718. border-left: 0;
  5719. border-top-width: 1.02px;
  5720. background: #fff;
  5721. }
  5722. .ant-radio-button-wrapper a {
  5723. color: rgba(0, 0, 0, 0.65);
  5724. }
  5725. .ant-radio-button-wrapper:not(:first-child)::before {
  5726. background-color: #d9d9d9;
  5727. }
  5728. .ant-radio-button-wrapper:first-child {
  5729. border-radius: 4px 0 0 4px;
  5730. border-left: 1px solid #d9d9d9;
  5731. }
  5732. .ant-radio-button-wrapper:last-child {
  5733. border-radius: 0 4px 4px 0;
  5734. }
  5735. .ant-radio-button-wrapper:first-child:last-child {
  5736. border-radius: 4px;
  5737. }
  5738. .ant-radio-button-wrapper:hover,
  5739. .ant-radio-button-wrapper-focused {
  5740. color: @primary-color;
  5741. }
  5742. .ant-radio-button-wrapper-checked {
  5743. background: #fff;
  5744. border-color: @primary-color;
  5745. color: @primary-color;
  5746. box-shadow: -1px 0 0 0 @primary-color;
  5747. }
  5748. .ant-radio-button-wrapper-checked::before {
  5749. background-color: @primary-color !important;
  5750. }
  5751. .ant-radio-button-wrapper-checked:first-child {
  5752. border-color: @primary-color;
  5753. box-shadow: none !important;
  5754. }
  5755. .ant-radio-button-wrapper-checked:hover {
  5756. border-color: color(~`colorPalette("@{primary-color}", 5)`);
  5757. box-shadow: -1px 0 0 0 color(~`colorPalette("@{primary-color}", 5)`);
  5758. color: color(~`colorPalette("@{primary-color}", 5)`);
  5759. }
  5760. .ant-radio-button-wrapper-checked:active {
  5761. border-color: color(~`colorPalette("@{primary-color}", 7)`);
  5762. box-shadow: -1px 0 0 0 color(~`colorPalette("@{primary-color}", 7)`);
  5763. color: color(~`colorPalette("@{primary-color}", 7)`);
  5764. }
  5765. .ant-radio-group-solid .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled) {
  5766. background: @primary-color;
  5767. border-color: @primary-color;
  5768. color: #fff;
  5769. }
  5770. .ant-radio-group-solid .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):hover {
  5771. border-color: color(~`colorPalette("@{primary-color}", 5)`);
  5772. background: color(~`colorPalette("@{primary-color}", 5)`);
  5773. color: #fff;
  5774. }
  5775. .ant-radio-group-solid .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):active {
  5776. border-color: color(~`colorPalette("@{primary-color}", 7)`);
  5777. background: color(~`colorPalette("@{primary-color}", 7)`);
  5778. color: #fff;
  5779. }
  5780. .ant-radio-button-wrapper-disabled {
  5781. border-color: #d9d9d9;
  5782. background-color: #f5f5f5;
  5783. color: rgba(0, 0, 0, 0.25);
  5784. }
  5785. .ant-radio-button-wrapper-disabled:first-child,
  5786. .ant-radio-button-wrapper-disabled:hover {
  5787. border-color: #d9d9d9;
  5788. background-color: #f5f5f5;
  5789. color: rgba(0, 0, 0, 0.25);
  5790. }
  5791. .ant-radio-button-wrapper-disabled:first-child {
  5792. border-left-color: #d9d9d9;
  5793. }
  5794. .ant-radio-button-wrapper-disabled.ant-radio-button-wrapper-checked {
  5795. color: #fff;
  5796. background-color: #e6e6e6;
  5797. border-color: #d9d9d9;
  5798. box-shadow: none;
  5799. }
  5800. .ant-rate {
  5801. color: rgba(0, 0, 0, 0.65);
  5802. color: #fadb14;
  5803. }
  5804. .ant-rate-star {
  5805. color: inherit;
  5806. }
  5807. .ant-rate-star-first,
  5808. .ant-rate-star-second {
  5809. color: #e8e8e8;
  5810. }
  5811. .ant-rate-star-half .ant-rate-star-first,
  5812. .ant-rate-star-full .ant-rate-star-second {
  5813. color: inherit;
  5814. }
  5815. .ant-select {
  5816. color: rgba(0, 0, 0, 0.65);
  5817. }
  5818. .ant-select > ul > li > a {
  5819. background-color: #fff;
  5820. }
  5821. .ant-select-arrow {
  5822. color: rgba(0, 0, 0, 0.25);
  5823. }
  5824. .ant-select-selection {
  5825. background-color: #fff;
  5826. border-radius: 4px;
  5827. border: 1px solid #d9d9d9;
  5828. border-top-width: 1.02px;
  5829. }
  5830. .ant-select-selection:hover {
  5831. border-color: color(~`colorPalette("@{primary-color}", 5)`);
  5832. border-right-width: 1px !important;
  5833. }
  5834. .ant-select-focused .ant-select-selection,
  5835. .ant-select-selection:focus,
  5836. .ant-select-selection:active {
  5837. border-color: color(~`colorPalette("@{primary-color}", 5)`);
  5838. box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
  5839. border-right-width: 1px !important;
  5840. }
  5841. .ant-select-selection__clear {
  5842. background: #fff;
  5843. color: rgba(0, 0, 0, 0.25);
  5844. }
  5845. .ant-select-selection__clear:hover {
  5846. color: rgba(0, 0, 0, 0.45);
  5847. }
  5848. .ant-select-disabled {
  5849. color: rgba(0, 0, 0, 0.25);
  5850. }
  5851. .ant-select-disabled .ant-select-selection {
  5852. background: #f5f5f5;
  5853. }
  5854. .ant-select-disabled .ant-select-selection:hover,
  5855. .ant-select-disabled .ant-select-selection:focus,
  5856. .ant-select-disabled .ant-select-selection:active {
  5857. border-color: #d9d9d9;
  5858. box-shadow: none;
  5859. }
  5860. .ant-select-disabled .ant-select-selection--multiple .ant-select-selection__choice {
  5861. background: #f5f5f5;
  5862. color: #aaa;
  5863. }
  5864. .ant-select-disabled .ant-select-selection__choice__remove {
  5865. color: rgba(0, 0, 0, 0.25);
  5866. }
  5867. .ant-select-disabled .ant-select-selection__choice__remove:hover {
  5868. color: rgba(0, 0, 0, 0.25);
  5869. }
  5870. .ant-select-selection__placeholder,
  5871. .ant-select-search__field__placeholder {
  5872. color: #bfbfbf;
  5873. }
  5874. .ant-select-search--inline .ant-select-search__field {
  5875. border-width: 0;
  5876. background: transparent;
  5877. border-radius: 4px;
  5878. }
  5879. .ant-select-selection--multiple .ant-select-selection__choice {
  5880. color: rgba(0, 0, 0, 0.65);
  5881. background-color: #fafafa;
  5882. border: 1px solid #e8e8e8;
  5883. border-radius: 2px;
  5884. }
  5885. .ant-select-selection--multiple .ant-select-selection__choice__remove {
  5886. color: rgba(0, 0, 0, 0.45);
  5887. }
  5888. .ant-select-selection--multiple .ant-select-selection__choice__remove:hover {
  5889. color: #404040;
  5890. }
  5891. .ant-select-open .ant-select-selection {
  5892. border-color: color(~`colorPalette("@{primary-color}", 5)`);
  5893. box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
  5894. border-right-width: 1px !important;
  5895. }
  5896. .ant-select-combobox .ant-select-search__field {
  5897. box-shadow: none;
  5898. }
  5899. .ant-select-dropdown {
  5900. color: rgba(0, 0, 0, 0.65);
  5901. background-color: #fff;
  5902. box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  5903. border-radius: 4px;
  5904. }
  5905. .ant-select-dropdown-menu-item-group-title {
  5906. color: rgba(0, 0, 0, 0.45);
  5907. }
  5908. .ant-select-dropdown-menu-item-group-list .ant-select-dropdown-menu-item:first-child:not(:last-child),
  5909. .ant-select-dropdown-menu-item-group:not(:last-child) .ant-select-dropdown-menu-item-group-list .ant-select-dropdown-menu-item:last-child {
  5910. border-radius: 0;
  5911. }
  5912. .ant-select-dropdown-menu-item {
  5913. color: rgba(0, 0, 0, 0.65);
  5914. }
  5915. .ant-select-dropdown-menu-item:hover {
  5916. background-color: color(~`colorPalette("@{primary-color}", 1)`);
  5917. }
  5918. .ant-select-dropdown-menu-item:first-child {
  5919. border-radius: 4px 4px 0 0;
  5920. }
  5921. .ant-select-dropdown-menu-item:last-child {
  5922. border-radius: 0 0 4px 4px;
  5923. }
  5924. .ant-select-dropdown-menu-item-disabled {
  5925. color: rgba(0, 0, 0, 0.25);
  5926. }
  5927. .ant-select-dropdown-menu-item-disabled:hover {
  5928. color: rgba(0, 0, 0, 0.25);
  5929. background-color: #fff;
  5930. }
  5931. .ant-select-dropdown-menu-item-selected,
  5932. .ant-select-dropdown-menu-item-selected:hover {
  5933. background-color: #fafafa;
  5934. color: rgba(0, 0, 0, 0.65);
  5935. }
  5936. .ant-select-dropdown-menu-item-active {
  5937. background-color: color(~`colorPalette("@{primary-color}", 1)`);
  5938. }
  5939. .ant-select-dropdown-menu-item-divider {
  5940. background-color: #e8e8e8;
  5941. }
  5942. .ant-select-dropdown.ant-select-dropdown--multiple .ant-select-dropdown-menu-item .ant-select-selected-icon {
  5943. color: transparent;
  5944. }
  5945. .ant-select-dropdown.ant-select-dropdown--multiple .ant-select-dropdown-menu-item:hover .ant-select-selected-icon {
  5946. color: #ddd;
  5947. }
  5948. .ant-select-dropdown.ant-select-dropdown--multiple .ant-select-dropdown-menu-item-selected .ant-select-selected-icon,
  5949. .ant-select-dropdown.ant-select-dropdown--multiple .ant-select-dropdown-menu-item-selected:hover .ant-select-selected-icon {
  5950. color: @primary-color;
  5951. }
  5952. .ant-skeleton-header .ant-skeleton-avatar {
  5953. background: #f2f2f2;
  5954. }
  5955. .ant-skeleton-header .ant-skeleton-avatar.ant-skeleton-avatar-circle {
  5956. border-radius: 50%;
  5957. }
  5958. .ant-skeleton-header .ant-skeleton-avatar-lg.ant-skeleton-avatar-circle {
  5959. border-radius: 50%;
  5960. }
  5961. .ant-skeleton-header .ant-skeleton-avatar-sm.ant-skeleton-avatar-circle {
  5962. border-radius: 50%;
  5963. }
  5964. .ant-skeleton-content .ant-skeleton-title {
  5965. background: #f2f2f2;
  5966. }
  5967. .ant-skeleton-content .ant-skeleton-paragraph > li {
  5968. background: #f2f2f2;
  5969. }
  5970. .ant-skeleton.ant-skeleton-active .ant-skeleton-content .ant-skeleton-title,
  5971. .ant-skeleton.ant-skeleton-active .ant-skeleton-content .ant-skeleton-paragraph > li {
  5972. background: linear-gradient(90deg, #f2f2f2 25%, #e6e6e6 37%, #f2f2f2 63%);
  5973. background-size: 400% 100%;
  5974. }
  5975. .ant-skeleton.ant-skeleton-active .ant-skeleton-avatar {
  5976. background: linear-gradient(90deg, #f2f2f2 25%, #e6e6e6 37%, #f2f2f2 63%);
  5977. background-size: 400% 100%;
  5978. }
  5979. .ant-slider {
  5980. color: rgba(0, 0, 0, 0.65);
  5981. }
  5982. .ant-slider-rail {
  5983. border-radius: 2px;
  5984. background-color: #f5f5f5;
  5985. }
  5986. .ant-slider-track {
  5987. border-radius: 4px;
  5988. background-color: color(~`colorPalette("@{primary-color}", 3)`);
  5989. }
  5990. .ant-slider-handle {
  5991. border-radius: 50%;
  5992. border: solid 2px color(~`colorPalette("@{primary-color}", 3)`);
  5993. background-color: #fff;
  5994. }
  5995. .ant-slider-handle:focus {
  5996. border-color: #46a6ff;
  5997. box-shadow: 0 0 0 5px #8cc8ff;
  5998. }
  5999. .ant-slider-handle.ant-tooltip-open {
  6000. border-color: @primary-color;
  6001. }
  6002. .ant-slider:hover .ant-slider-rail {
  6003. background-color: #e1e1e1;
  6004. }
  6005. .ant-slider:hover .ant-slider-track {
  6006. background-color: color(~`colorPalette("@{primary-color}", 4)`);
  6007. }
  6008. .ant-slider:hover .ant-slider-handle:not(.ant-tooltip-open) {
  6009. border-color: color(~`colorPalette("@{primary-color}", 4)`);
  6010. }
  6011. .ant-slider-mark-text {
  6012. color: rgba(0, 0, 0, 0.45);
  6013. }
  6014. .ant-slider-mark-text-active {
  6015. color: rgba(0, 0, 0, 0.65);
  6016. }
  6017. .ant-slider-step {
  6018. background: transparent;
  6019. }
  6020. .ant-slider-dot {
  6021. border: 2px solid #e8e8e8;
  6022. background-color: #fff;
  6023. border-radius: 50%;
  6024. }
  6025. .ant-slider-dot-active {
  6026. border-color: #8cc8ff;
  6027. }
  6028. .ant-slider-disabled .ant-slider-track {
  6029. background-color: rgba(0, 0, 0, 0.25) !important;
  6030. }
  6031. .ant-slider-disabled .ant-slider-handle,
  6032. .ant-slider-disabled .ant-slider-dot {
  6033. border-color: rgba(0, 0, 0, 0.25) !important;
  6034. background-color: #fff;
  6035. box-shadow: none;
  6036. }
  6037. .ant-spin {
  6038. color: rgba(0, 0, 0, 0.65);
  6039. color: @primary-color;
  6040. }
  6041. .ant-spin-blur:after {
  6042. background: #fff;
  6043. }
  6044. .ant-spin-tip {
  6045. color: rgba(0, 0, 0, 0.45);
  6046. }
  6047. .ant-spin-dot i {
  6048. border-radius: 100%;
  6049. background-color: @primary-color;
  6050. }
  6051. .ant-steps {
  6052. color: rgba(0, 0, 0, 0.65);
  6053. }
  6054. .ant-steps-item-icon {
  6055. border: 1px solid rgba(0, 0, 0, 0.25);
  6056. border-radius: 32px;
  6057. }
  6058. .ant-steps-item-icon > .ant-steps-icon {
  6059. color: @primary-color;
  6060. }
  6061. .ant-steps-item-tail:after {
  6062. background: #e8e8e8;
  6063. border-radius: 1px;
  6064. }
  6065. .ant-steps-item-title {
  6066. color: rgba(0, 0, 0, 0.65);
  6067. }
  6068. .ant-steps-item-title:after {
  6069. background: #e8e8e8;
  6070. }
  6071. .ant-steps-item-description {
  6072. color: rgba(0, 0, 0, 0.45);
  6073. }
  6074. .ant-steps-item-wait .ant-steps-item-icon {
  6075. border-color: rgba(0, 0, 0, 0.25);
  6076. background-color: #fff;
  6077. }
  6078. .ant-steps-item-wait .ant-steps-item-icon > .ant-steps-icon {
  6079. color: rgba(0, 0, 0, 0.25);
  6080. }
  6081. .ant-steps-item-wait .ant-steps-item-icon > .ant-steps-icon .ant-steps-icon-dot {
  6082. background: rgba(0, 0, 0, 0.25);
  6083. }
  6084. .ant-steps-item-wait > .ant-steps-item-content > .ant-steps-item-title {
  6085. color: rgba(0, 0, 0, 0.45);
  6086. }
  6087. .ant-steps-item-wait > .ant-steps-item-content > .ant-steps-item-title:after {
  6088. background-color: #e8e8e8;
  6089. }
  6090. .ant-steps-item-wait > .ant-steps-item-content > .ant-steps-item-description {
  6091. color: rgba(0, 0, 0, 0.45);
  6092. }
  6093. .ant-steps-item-wait > .ant-steps-item-tail:after {
  6094. background-color: #e8e8e8;
  6095. }
  6096. .ant-steps-item-process .ant-steps-item-icon {
  6097. border-color: @primary-color;
  6098. background-color: #fff;
  6099. }
  6100. .ant-steps-item-process .ant-steps-item-icon > .ant-steps-icon {
  6101. color: @primary-color;
  6102. }
  6103. .ant-steps-item-process .ant-steps-item-icon > .ant-steps-icon .ant-steps-icon-dot {
  6104. background: @primary-color;
  6105. }
  6106. .ant-steps-item-process > .ant-steps-item-content > .ant-steps-item-title {
  6107. color: rgba(0, 0, 0, 0.85);
  6108. }
  6109. .ant-steps-item-process > .ant-steps-item-content > .ant-steps-item-title:after {
  6110. background-color: #e8e8e8;
  6111. }
  6112. .ant-steps-item-process > .ant-steps-item-content > .ant-steps-item-description {
  6113. color: rgba(0, 0, 0, 0.65);
  6114. }
  6115. .ant-steps-item-process > .ant-steps-item-tail:after {
  6116. background-color: #e8e8e8;
  6117. }
  6118. .ant-steps-item-process .ant-steps-item-icon {
  6119. background: @primary-color;
  6120. }
  6121. .ant-steps-item-process .ant-steps-item-icon > .ant-steps-icon {
  6122. color: #fff;
  6123. }
  6124. .ant-steps-item-finish .ant-steps-item-icon {
  6125. border-color: @primary-color;
  6126. background-color: #fff;
  6127. }
  6128. .ant-steps-item-finish .ant-steps-item-icon > .ant-steps-icon {
  6129. color: @primary-color;
  6130. }
  6131. .ant-steps-item-finish .ant-steps-item-icon > .ant-steps-icon .ant-steps-icon-dot {
  6132. background: @primary-color;
  6133. }
  6134. .ant-steps-item-finish > .ant-steps-item-content > .ant-steps-item-title {
  6135. color: rgba(0, 0, 0, 0.65);
  6136. }
  6137. .ant-steps-item-finish > .ant-steps-item-content > .ant-steps-item-title:after {
  6138. background-color: @primary-color;
  6139. }
  6140. .ant-steps-item-finish > .ant-steps-item-content > .ant-steps-item-description {
  6141. color: rgba(0, 0, 0, 0.45);
  6142. }
  6143. .ant-steps-item-finish > .ant-steps-item-tail:after {
  6144. background-color: @primary-color;
  6145. }
  6146. .ant-steps-item-error .ant-steps-item-icon {
  6147. border-color: #f5222d;
  6148. background-color: #fff;
  6149. }
  6150. .ant-steps-item-error .ant-steps-item-icon > .ant-steps-icon {
  6151. color: #f5222d;
  6152. }
  6153. .ant-steps-item-error .ant-steps-item-icon > .ant-steps-icon .ant-steps-icon-dot {
  6154. background: #f5222d;
  6155. }
  6156. .ant-steps-item-error > .ant-steps-item-content > .ant-steps-item-title {
  6157. color: #f5222d;
  6158. }
  6159. .ant-steps-item-error > .ant-steps-item-content > .ant-steps-item-title:after {
  6160. background-color: #e8e8e8;
  6161. }
  6162. .ant-steps-item-error > .ant-steps-item-content > .ant-steps-item-description {
  6163. color: #f5222d;
  6164. }
  6165. .ant-steps-item-error > .ant-steps-item-tail:after {
  6166. background-color: #e8e8e8;
  6167. }
  6168. .ant-steps-item.ant-steps-next-error .ant-steps-item-title:after {
  6169. background: #f5222d;
  6170. }
  6171. .ant-steps-item-custom .ant-steps-item-icon {
  6172. background: none;
  6173. border: 0;
  6174. }
  6175. .ant-steps-item-custom.ant-steps-item-process .ant-steps-item-icon > .ant-steps-icon {
  6176. color: @primary-color;
  6177. }
  6178. .ant-steps-small .ant-steps-item-icon {
  6179. border-radius: 24px;
  6180. }
  6181. .ant-steps-small .ant-steps-item-description {
  6182. color: rgba(0, 0, 0, 0.45);
  6183. }
  6184. .ant-steps-small .ant-steps-item-custom .ant-steps-item-icon {
  6185. border-radius: 0;
  6186. border: 0;
  6187. background: none;
  6188. }
  6189. .ant-steps-dot .ant-steps-item-icon {
  6190. border: 0;
  6191. background: transparent;
  6192. }
  6193. .ant-steps-dot .ant-steps-item-icon .ant-steps-icon-dot {
  6194. border-radius: 100px;
  6195. }
  6196. .ant-steps-dot .ant-steps-item-icon .ant-steps-icon-dot:after {
  6197. background: rgba(0, 0, 0, 0.001);
  6198. }
  6199. .ant-switch {
  6200. color: rgba(0, 0, 0, 0.65);
  6201. border-radius: 100px;
  6202. border: 1px solid transparent;
  6203. background-color: rgba(0, 0, 0, 0.25);
  6204. }
  6205. .ant-switch-inner {
  6206. color: #fff;
  6207. }
  6208. .ant-switch-loading-icon,
  6209. .ant-switch:after {
  6210. border-radius: 18px;
  6211. background-color: #fff;
  6212. }
  6213. .ant-switch:after {
  6214. box-shadow: 0 2px 4px 0 rgba(0, 35, 11, 0.2);
  6215. }
  6216. .ant-switch-loading-icon {
  6217. background: transparent;
  6218. }
  6219. .ant-switch-loading .ant-switch-loading-icon {
  6220. color: rgba(0, 0, 0, 0.65);
  6221. }
  6222. .ant-switch-checked.ant-switch-loading .ant-switch-loading-icon {
  6223. color: @primary-color;
  6224. }
  6225. .ant-switch:focus {
  6226. box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
  6227. }
  6228. .ant-switch:focus:hover {
  6229. box-shadow: none;
  6230. }
  6231. .ant-switch-checked {
  6232. background-color: @primary-color;
  6233. }
  6234. .ant-table {
  6235. color: rgba(0, 0, 0, 0.65);
  6236. }
  6237. .ant-table table {
  6238. border-collapse: collapse;
  6239. border-radius: 4px 4px 0 0;
  6240. }
  6241. .ant-table-thead > tr > th {
  6242. background: #fafafa;
  6243. color: rgba(0, 0, 0, 0.85);
  6244. border-bottom: 1px solid #e8e8e8;
  6245. }
  6246. .ant-table-thead > tr > th .anticon-filter,
  6247. .ant-table-thead > tr > th .ant-table-filter-icon {
  6248. color: #bfbfbf;
  6249. }
  6250. .ant-table-thead > tr > th .ant-table-filter-selected.anticon-filter {
  6251. color: @primary-color;
  6252. }
  6253. .ant-table-thead > tr > th .ant-table-column-sorter {
  6254. color: #bfbfbf;
  6255. }
  6256. .ant-table-thead > tr > th .ant-table-column-sorter-up.on,
  6257. .ant-table-thead > tr > th .ant-table-column-sorter-down.on {
  6258. color: @primary-color;
  6259. }
  6260. .ant-table-thead > tr > th.ant-table-column-has-actions:hover {
  6261. background: #f5f5f5;
  6262. }
  6263. .ant-table-thead > tr > th.ant-table-column-has-actions:hover .anticon-filter,
  6264. .ant-table-thead > tr > th.ant-table-column-has-actions:hover .ant-table-filter-icon {
  6265. background: #f5f5f5;
  6266. }
  6267. .ant-table-thead > tr > th.ant-table-column-has-actions:hover .anticon-filter:hover,
  6268. .ant-table-thead > tr > th.ant-table-column-has-actions:hover .ant-table-filter-icon:hover {
  6269. color: rgba(0, 0, 0, 0.45);
  6270. background: #ebebeb;
  6271. }
  6272. .ant-table-thead > tr > th.ant-table-column-has-actions:hover .anticon-filter:active,
  6273. .ant-table-thead > tr > th.ant-table-column-has-actions:hover .ant-table-filter-icon:active {
  6274. color: rgba(0, 0, 0, 0.65);
  6275. }
  6276. .ant-table-thead > tr > th.ant-table-column-has-actions .anticon-filter.ant-table-filter-open,
  6277. .ant-table-thead > tr > th.ant-table-column-has-actions .ant-table-filter-icon.ant-table-filter-open {
  6278. color: rgba(0, 0, 0, 0.45);
  6279. background: #ebebeb;
  6280. }
  6281. .ant-table-thead > tr > th.ant-table-column-has-actions:active .ant-table-column-sorter-up:not(.on),
  6282. .ant-table-thead > tr > th.ant-table-column-has-actions:active .ant-table-column-sorter-down:not(.on) {
  6283. color: rgba(0, 0, 0, 0.45);
  6284. }
  6285. .ant-table-thead > tr > th .ant-table-column-sorters:before {
  6286. background: transparent;
  6287. }
  6288. .ant-table-thead > tr > th .ant-table-column-sorters:hover:before {
  6289. background: rgba(0, 0, 0, 0.04);
  6290. }
  6291. .ant-table-thead > tr:first-child > th:first-child {
  6292. border-top-left-radius: 4px;
  6293. }
  6294. .ant-table-thead > tr:first-child > th:last-child {
  6295. border-top-right-radius: 4px;
  6296. }
  6297. .ant-table-thead > tr:not(:last-child) > th[colspan] {
  6298. border-bottom: 0;
  6299. }
  6300. .ant-table-tbody > tr > td {
  6301. border-bottom: 1px solid #e8e8e8;
  6302. }
  6303. .ant-table-thead > tr.ant-table-row-hover > td,
  6304. .ant-table-tbody > tr.ant-table-row-hover > td,
  6305. .ant-table-thead > tr:hover > td,
  6306. .ant-table-tbody > tr:hover > td {
  6307. background: color(~`colorPalette("@{primary-color}", 1)`);
  6308. }
  6309. .ant-table-thead > tr:hover {
  6310. background: none;
  6311. }
  6312. .ant-table-footer {
  6313. background: #fafafa;
  6314. border-radius: 0 0 4px 4px;
  6315. border-top: 1px solid #e8e8e8;
  6316. }
  6317. .ant-table-footer:before {
  6318. background: #fafafa;
  6319. }
  6320. .ant-table.ant-table-bordered .ant-table-footer {
  6321. border: 1px solid #e8e8e8;
  6322. }
  6323. .ant-table-title {
  6324. border-radius: 4px 4px 0 0;
  6325. }
  6326. .ant-table.ant-table-bordered .ant-table-title {
  6327. border: 1px solid #e8e8e8;
  6328. }
  6329. .ant-table-title + .ant-table-content {
  6330. border-radius: 4px 4px 0 0;
  6331. }
  6332. .ant-table-bordered .ant-table-title + .ant-table-content,
  6333. .ant-table-bordered .ant-table-title + .ant-table-content table,
  6334. .ant-table-bordered .ant-table-title + .ant-table-content .ant-table-thead > tr:first-child > th {
  6335. border-radius: 0;
  6336. }
  6337. .ant-table-without-column-header .ant-table-title + .ant-table-content,
  6338. .ant-table-without-column-header table {
  6339. border-radius: 0;
  6340. }
  6341. .ant-table-tbody > tr.ant-table-row-selected td {
  6342. background: #fafafa;
  6343. }
  6344. .ant-table-thead > tr > th.ant-table-column-sort {
  6345. background: #f5f5f5;
  6346. }
  6347. .ant-table-tbody > tr > td.ant-table-column-sort {
  6348. background: rgba(0, 0, 0, 0.01);
  6349. }
  6350. .ant-table-header {
  6351. background: #fafafa;
  6352. }
  6353. .ant-table-header table {
  6354. border-radius: 4px 4px 0 0;
  6355. }
  6356. .ant-table-loading .ant-table-body {
  6357. background: #fff;
  6358. }
  6359. .ant-table-bordered .ant-table-header > table,
  6360. .ant-table-bordered .ant-table-body > table,
  6361. .ant-table-bordered .ant-table-fixed-left table,
  6362. .ant-table-bordered .ant-table-fixed-right table {
  6363. border: 1px solid #e8e8e8;
  6364. border-right: 0;
  6365. border-bottom: 0;
  6366. }
  6367. .ant-table-bordered.ant-table-empty .ant-table-placeholder {
  6368. border-left: 1px solid #e8e8e8;
  6369. border-right: 1px solid #e8e8e8;
  6370. }
  6371. .ant-table-bordered.ant-table-fixed-header .ant-table-header > table {
  6372. border-bottom: 0;
  6373. }
  6374. .ant-table-bordered.ant-table-fixed-header .ant-table-body > table {
  6375. border-top: 0;
  6376. border-top-left-radius: 0;
  6377. border-top-right-radius: 0;
  6378. }
  6379. .ant-table-bordered.ant-table-fixed-header .ant-table-body-inner > table {
  6380. border-top: 0;
  6381. }
  6382. .ant-table-bordered.ant-table-fixed-header .ant-table-placeholder {
  6383. border: 0;
  6384. }
  6385. .ant-table-bordered .ant-table-thead > tr:not(:last-child) > th {
  6386. border-bottom: 1px solid #e8e8e8;
  6387. }
  6388. .ant-table-bordered .ant-table-thead > tr > th,
  6389. .ant-table-bordered .ant-table-tbody > tr > td {
  6390. border-right: 1px solid #e8e8e8;
  6391. }
  6392. .ant-table-placeholder {
  6393. background: #fff;
  6394. border-bottom: 1px solid #e8e8e8;
  6395. color: rgba(0, 0, 0, 0.45);
  6396. }
  6397. .ant-table-filter-dropdown {
  6398. background: #fff;
  6399. border-radius: 4px;
  6400. box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  6401. }
  6402. .ant-table-filter-dropdown .ant-dropdown-menu {
  6403. border: 0;
  6404. box-shadow: none;
  6405. border-radius: 4px 4px 0 0;
  6406. }
  6407. .ant-table-filter-dropdown .ant-dropdown-menu-sub {
  6408. border-radius: 4px;
  6409. box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  6410. }
  6411. .ant-table-filter-dropdown .ant-dropdown-menu .ant-dropdown-submenu-contain-selected .ant-dropdown-menu-submenu-title:after {
  6412. color: @primary-color;
  6413. }
  6414. .ant-table-filter-dropdown > .ant-dropdown-menu > .ant-dropdown-menu-item:last-child,
  6415. .ant-table-filter-dropdown > .ant-dropdown-menu > .ant-dropdown-menu-submenu:last-child .ant-dropdown-menu-submenu-title {
  6416. border-radius: 0;
  6417. }
  6418. .ant-table-filter-dropdown-btns {
  6419. border-top: 1px solid #e8e8e8;
  6420. }
  6421. .ant-table-filter-dropdown-link {
  6422. color: @primary-color;
  6423. }
  6424. .ant-table-filter-dropdown-link:hover {
  6425. color: color(~`colorPalette("@{primary-color}", 5)`);
  6426. }
  6427. .ant-table-filter-dropdown-link:active {
  6428. color: color(~`colorPalette("@{primary-color}", 7)`);
  6429. }
  6430. .ant-table-selection .anticon-down {
  6431. color: #bfbfbf;
  6432. }
  6433. .ant-table-selection-menu {
  6434. background: #fff;
  6435. border-radius: 4px;
  6436. box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  6437. }
  6438. .ant-table-selection-menu .ant-action-down {
  6439. color: #bfbfbf;
  6440. }
  6441. .ant-table-selection-down:hover .anticon-down {
  6442. color: #666;
  6443. }
  6444. .ant-table-row-expand-icon {
  6445. border: 1px solid #e8e8e8;
  6446. background: #fff;
  6447. }
  6448. tr.ant-table-expanded-row,
  6449. tr.ant-table-expanded-row:hover {
  6450. background: #fbfbfb;
  6451. }
  6452. .ant-table-fixed-header > .ant-table-content > .ant-table-scroll > .ant-table-body {
  6453. background: #fff;
  6454. }
  6455. .ant-table-fixed-left,
  6456. .ant-table-fixed-right {
  6457. border-radius: 0;
  6458. }
  6459. .ant-table-fixed-left table,
  6460. .ant-table-fixed-right table {
  6461. background: #fff;
  6462. }
  6463. .ant-table-fixed-header .ant-table-fixed-left .ant-table-body-outer .ant-table-fixed,
  6464. .ant-table-fixed-header .ant-table-fixed-right .ant-table-body-outer .ant-table-fixed {
  6465. border-radius: 0;
  6466. }
  6467. .ant-table-fixed-left {
  6468. box-shadow: 6px 0 6px -4px rgba(0, 0, 0, 0.15);
  6469. }
  6470. .ant-table-fixed-left,
  6471. .ant-table-fixed-left table {
  6472. border-radius: 4px 0 0 0;
  6473. }
  6474. .ant-table-fixed-left .ant-table-thead > tr > th:last-child {
  6475. border-top-right-radius: 0;
  6476. }
  6477. .ant-table-fixed-right {
  6478. box-shadow: -6px 0 6px -4px rgba(0, 0, 0, 0.15);
  6479. }
  6480. .ant-table-fixed-right,
  6481. .ant-table-fixed-right table {
  6482. border-radius: 0 4px 0 0;
  6483. }
  6484. .ant-table-fixed-right .ant-table-expanded-row {
  6485. color: transparent;
  6486. }
  6487. .ant-table-fixed-right .ant-table-thead > tr > th:first-child {
  6488. border-top-left-radius: 0;
  6489. }
  6490. .ant-table.ant-table-scroll-position-left .ant-table-fixed-left {
  6491. box-shadow: none;
  6492. }
  6493. .ant-table.ant-table-scroll-position-right .ant-table-fixed-right {
  6494. box-shadow: none;
  6495. }
  6496. .ant-table-small {
  6497. border: 1px solid #e8e8e8;
  6498. border-radius: 4px;
  6499. }
  6500. .ant-table-small > .ant-table-title {
  6501. border-bottom: 1px solid #e8e8e8;
  6502. }
  6503. .ant-table-small > .ant-table-content > .ant-table-header > table,
  6504. .ant-table-small > .ant-table-content > .ant-table-body > table,
  6505. .ant-table-small > .ant-table-content > .ant-table-scroll > .ant-table-header > table,
  6506. .ant-table-small > .ant-table-content > .ant-table-scroll > .ant-table-body > table,
  6507. .ant-table-small > .ant-table-content > .ant-table-fixed-left > .ant-table-header > table,
  6508. .ant-table-small > .ant-table-content > .ant-table-fixed-right > .ant-table-header > table,
  6509. .ant-table-small > .ant-table-content > .ant-table-fixed-left > .ant-table-body-outer > .ant-table-body-inner > table,
  6510. .ant-table-small > .ant-table-content > .ant-table-fixed-right > .ant-table-body-outer > .ant-table-body-inner > table {
  6511. border: 0;
  6512. }
  6513. .ant-table-small > .ant-table-content > .ant-table-header > table > .ant-table-thead > tr > th,
  6514. .ant-table-small > .ant-table-content > .ant-table-body > table > .ant-table-thead > tr > th,
  6515. .ant-table-small > .ant-table-content > .ant-table-scroll > .ant-table-header > table > .ant-table-thead > tr > th,
  6516. .ant-table-small > .ant-table-content > .ant-table-scroll > .ant-table-body > table > .ant-table-thead > tr > th,
  6517. .ant-table-small > .ant-table-content > .ant-table-fixed-left > .ant-table-header > table > .ant-table-thead > tr > th,
  6518. .ant-table-small > .ant-table-content > .ant-table-fixed-right > .ant-table-header > table > .ant-table-thead > tr > th,
  6519. .ant-table-small > .ant-table-content > .ant-table-fixed-left > .ant-table-body-outer > .ant-table-body-inner > table > .ant-table-thead > tr > th,
  6520. .ant-table-small > .ant-table-content > .ant-table-fixed-right > .ant-table-body-outer > .ant-table-body-inner > table > .ant-table-thead > tr > th {
  6521. background: #fff;
  6522. border-bottom: 1px solid #e8e8e8;
  6523. }
  6524. .ant-table-small > .ant-table-content .ant-table-header {
  6525. background: #fff;
  6526. }
  6527. .ant-table-small > .ant-table-content .ant-table-placeholder,
  6528. .ant-table-small > .ant-table-content .ant-table-row:last-child td {
  6529. border-bottom: 0;
  6530. }
  6531. .ant-table-small.ant-table-bordered {
  6532. border-right: 0;
  6533. }
  6534. .ant-table-small.ant-table-bordered .ant-table-title {
  6535. border: 0;
  6536. border-bottom: 1px solid #e8e8e8;
  6537. border-right: 1px solid #e8e8e8;
  6538. }
  6539. .ant-table-small.ant-table-bordered .ant-table-content {
  6540. border-right: 1px solid #e8e8e8;
  6541. }
  6542. .ant-table-small.ant-table-bordered .ant-table-footer {
  6543. border: 0;
  6544. border-top: 1px solid #e8e8e8;
  6545. border-right: 1px solid #e8e8e8;
  6546. }
  6547. .ant-table-small.ant-table-bordered .ant-table-placeholder {
  6548. border-left: 0;
  6549. border-bottom: 0;
  6550. }
  6551. .ant-table-small.ant-table-bordered .ant-table-thead > tr > th:last-child,
  6552. .ant-table-small.ant-table-bordered .ant-table-tbody > tr > td:last-child {
  6553. border-right: none;
  6554. }
  6555. .ant-table-small.ant-table-bordered .ant-table-fixed-left .ant-table-thead > tr > th:last-child,
  6556. .ant-table-small.ant-table-bordered .ant-table-fixed-left .ant-table-tbody > tr > td:last-child {
  6557. border-right: 1px solid #e8e8e8;
  6558. }
  6559. .ant-table-small.ant-table-bordered .ant-table-fixed-right {
  6560. border-right: 1px solid #e8e8e8;
  6561. }
  6562. .ant-tabs.ant-tabs-card > .ant-tabs-bar .ant-tabs-tab {
  6563. border: 1px solid #e8e8e8;
  6564. border-bottom: 0;
  6565. border-radius: 4px 4px 0 0;
  6566. background: #fafafa;
  6567. }
  6568. .ant-tabs.ant-tabs-card > .ant-tabs-bar .ant-tabs-tab-active {
  6569. background: #fff;
  6570. border-color: #e8e8e8;
  6571. color: @primary-color;
  6572. }
  6573. .ant-tabs.ant-tabs-card > .ant-tabs-bar .ant-tabs-tab .ant-tabs-close-x {
  6574. color: rgba(0, 0, 0, 0.45);
  6575. }
  6576. .ant-tabs.ant-tabs-card > .ant-tabs-bar .ant-tabs-tab .ant-tabs-close-x:hover {
  6577. color: rgba(0, 0, 0, 0.85);
  6578. }
  6579. .ant-tabs-extra-content .ant-tabs-new-tab {
  6580. border-radius: 2px;
  6581. border: 1px solid #e8e8e8;
  6582. color: rgba(0, 0, 0, 0.65);
  6583. }
  6584. .ant-tabs-extra-content .ant-tabs-new-tab:hover {
  6585. color: @primary-color;
  6586. border-color: @primary-color;
  6587. }
  6588. .ant-tabs-vertical.ant-tabs-card > .ant-tabs-bar .ant-tabs-tab {
  6589. border-bottom: 1px solid #e8e8e8;
  6590. }
  6591. .ant-tabs-vertical.ant-tabs-card.ant-tabs-left > .ant-tabs-bar .ant-tabs-tab {
  6592. border-right: 0;
  6593. border-radius: 4px 0 0 4px;
  6594. }
  6595. .ant-tabs-vertical.ant-tabs-card.ant-tabs-right > .ant-tabs-bar .ant-tabs-tab {
  6596. border-left: 0;
  6597. border-radius: 0 4px 4px 0;
  6598. }
  6599. .ant-tabs.ant-tabs-card.ant-tabs-bottom > .ant-tabs-bar .ant-tabs-tab {
  6600. border-bottom: 1px solid #e8e8e8;
  6601. border-top: 0;
  6602. border-radius: 0 0 4px 4px;
  6603. }
  6604. .ant-tabs.ant-tabs-card.ant-tabs-bottom > .ant-tabs-bar .ant-tabs-tab-active {
  6605. color: @primary-color;
  6606. }
  6607. .ant-tabs {
  6608. color: rgba(0, 0, 0, 0.65);
  6609. }
  6610. .ant-tabs-ink-bar {
  6611. background-color: @primary-color;
  6612. }
  6613. .ant-tabs-bar {
  6614. border-bottom: 1px solid #e8e8e8;
  6615. }
  6616. .ant-tabs-bottom .ant-tabs-bar {
  6617. border-bottom: none;
  6618. border-top: 1px solid #e8e8e8;
  6619. }
  6620. .ant-tabs-tab-prev,
  6621. .ant-tabs-tab-next {
  6622. border: 0;
  6623. background-color: transparent;
  6624. color: rgba(0, 0, 0, 0.45);
  6625. }
  6626. .ant-tabs-tab-prev:hover,
  6627. .ant-tabs-tab-next:hover {
  6628. color: rgba(0, 0, 0, 0.65);
  6629. }
  6630. .ant-tabs-tab-btn-disabled,
  6631. .ant-tabs-tab-btn-disabled:hover {
  6632. color: rgba(0, 0, 0, 0.25);
  6633. }
  6634. .ant-tabs-nav .ant-tabs-tab-disabled {
  6635. color: rgba(0, 0, 0, 0.25);
  6636. }
  6637. .ant-tabs-nav .ant-tabs-tab:hover {
  6638. color: color(~`colorPalette("@{primary-color}", 5)`);
  6639. }
  6640. .ant-tabs-nav .ant-tabs-tab:active {
  6641. color: color(~`colorPalette("@{primary-color}", 7)`);
  6642. }
  6643. .ant-tabs-nav .ant-tabs-tab-active {
  6644. color: @primary-color;
  6645. }
  6646. .ant-tabs-vertical > .ant-tabs-bar {
  6647. border-bottom: 0;
  6648. }
  6649. .ant-tabs-vertical.ant-tabs-left > .ant-tabs-bar {
  6650. border-right: 1px solid #e8e8e8;
  6651. }
  6652. .ant-tabs-vertical.ant-tabs-left > .ant-tabs-content {
  6653. border-left: 1px solid #e8e8e8;
  6654. }
  6655. .ant-tabs-vertical.ant-tabs-right > .ant-tabs-bar {
  6656. border-left: 1px solid #e8e8e8;
  6657. }
  6658. .ant-tabs-vertical.ant-tabs-right > .ant-tabs-content {
  6659. border-right: 1px solid #e8e8e8;
  6660. }
  6661. .ant-tag {
  6662. color: rgba(0, 0, 0, 0.65);
  6663. border-radius: 4px;
  6664. border: 1px solid #d9d9d9;
  6665. background: #fafafa;
  6666. }
  6667. .ant-tag,
  6668. .ant-tag a,
  6669. .ant-tag a:hover {
  6670. color: rgba(0, 0, 0, 0.65);
  6671. }
  6672. .ant-tag .anticon-close {
  6673. color: rgba(0, 0, 0, 0.45);
  6674. }
  6675. .ant-tag .anticon-close:hover {
  6676. color: rgba(0, 0, 0, 0.85);
  6677. }
  6678. .ant-tag-has-color {
  6679. border-color: transparent;
  6680. }
  6681. .ant-tag-has-color,
  6682. .ant-tag-has-color a,
  6683. .ant-tag-has-color a:hover,
  6684. .ant-tag-has-color .anticon-close,
  6685. .ant-tag-has-color .anticon-close:hover {
  6686. color: #fff;
  6687. }
  6688. .ant-tag-checkable {
  6689. background-color: transparent;
  6690. border-color: transparent;
  6691. }
  6692. .ant-tag-checkable:not(.ant-tag-checkable-checked):hover {
  6693. color: @primary-color;
  6694. }
  6695. .ant-tag-checkable:active,
  6696. .ant-tag-checkable-checked {
  6697. color: #fff;
  6698. }
  6699. .ant-tag-checkable-checked {
  6700. background-color: @primary-color;
  6701. }
  6702. .ant-tag-checkable:active {
  6703. background-color: color(~`colorPalette("@{primary-color}", 7)`);
  6704. }
  6705. .ant-tag-pink {
  6706. color: #eb2f96;
  6707. background: #fff0f6;
  6708. border-color: #ffadd2;
  6709. }
  6710. .ant-tag-pink-inverse {
  6711. background: #eb2f96;
  6712. border-color: #eb2f96;
  6713. color: #fff;
  6714. }
  6715. .ant-tag-magenta {
  6716. color: #eb2f96;
  6717. background: #fff0f6;
  6718. border-color: #ffadd2;
  6719. }
  6720. .ant-tag-magenta-inverse {
  6721. background: #eb2f96;
  6722. border-color: #eb2f96;
  6723. color: #fff;
  6724. }
  6725. .ant-tag-red {
  6726. color: #f5222d;
  6727. background: #fff1f0;
  6728. border-color: #ffa39e;
  6729. }
  6730. .ant-tag-red-inverse {
  6731. background: #f5222d;
  6732. border-color: #f5222d;
  6733. color: #fff;
  6734. }
  6735. .ant-tag-volcano {
  6736. color: #fa541c;
  6737. background: #fff2e8;
  6738. border-color: #ffbb96;
  6739. }
  6740. .ant-tag-volcano-inverse {
  6741. background: #fa541c;
  6742. border-color: #fa541c;
  6743. color: #fff;
  6744. }
  6745. .ant-tag-orange {
  6746. color: #fa8c16;
  6747. background: #fff7e6;
  6748. border-color: #ffd591;
  6749. }
  6750. .ant-tag-orange-inverse {
  6751. background: #fa8c16;
  6752. border-color: #fa8c16;
  6753. color: #fff;
  6754. }
  6755. .ant-tag-yellow {
  6756. color: #fadb14;
  6757. background: #feffe6;
  6758. border-color: #fffb8f;
  6759. }
  6760. .ant-tag-yellow-inverse {
  6761. background: #fadb14;
  6762. border-color: #fadb14;
  6763. color: #fff;
  6764. }
  6765. .ant-tag-gold {
  6766. color: #faad14;
  6767. background: #fffbe6;
  6768. border-color: #ffe58f;
  6769. }
  6770. .ant-tag-gold-inverse {
  6771. background: #faad14;
  6772. border-color: #faad14;
  6773. color: #fff;
  6774. }
  6775. .ant-tag-cyan {
  6776. color: #13c2c2;
  6777. background: #e6fffb;
  6778. border-color: #87e8de;
  6779. }
  6780. .ant-tag-cyan-inverse {
  6781. background: #13c2c2;
  6782. border-color: #13c2c2;
  6783. color: #fff;
  6784. }
  6785. .ant-tag-lime {
  6786. color: #a0d911;
  6787. background: #fcffe6;
  6788. border-color: #eaff8f;
  6789. }
  6790. .ant-tag-lime-inverse {
  6791. background: #a0d911;
  6792. border-color: #a0d911;
  6793. color: #fff;
  6794. }
  6795. .ant-tag-green {
  6796. color: #52c41a;
  6797. background: #f6ffed;
  6798. border-color: #b7eb8f;
  6799. }
  6800. .ant-tag-green-inverse {
  6801. background: #52c41a;
  6802. border-color: #52c41a;
  6803. color: #fff;
  6804. }
  6805. .ant-tag-blue {
  6806. color: @primary-color;
  6807. background: color(~`colorPalette("@{primary-color}", 1)`);
  6808. border-color: color(~`colorPalette("@{primary-color}", 3)`);
  6809. }
  6810. .ant-tag-blue-inverse {
  6811. background: @primary-color;
  6812. border-color: @primary-color;
  6813. color: #fff;
  6814. }
  6815. .ant-tag-geekblue {
  6816. color: #2f54eb;
  6817. background: #f0f5ff;
  6818. border-color: #adc6ff;
  6819. }
  6820. .ant-tag-geekblue-inverse {
  6821. background: #2f54eb;
  6822. border-color: #2f54eb;
  6823. color: #fff;
  6824. }
  6825. .ant-tag-purple {
  6826. color: #722ed1;
  6827. background: #f9f0ff;
  6828. border-color: #d3adf7;
  6829. }
  6830. .ant-tag-purple-inverse {
  6831. background: #722ed1;
  6832. border-color: #722ed1;
  6833. color: #fff;
  6834. }
  6835. .ant-time-picker-panel {
  6836. color: rgba(0, 0, 0, 0.65);
  6837. }
  6838. .ant-time-picker-panel-inner {
  6839. background-color: #fff;
  6840. border-radius: 4px;
  6841. box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  6842. background-clip: padding-box;
  6843. }
  6844. .ant-time-picker-panel-input {
  6845. border: 0;
  6846. }
  6847. .ant-time-picker-panel-input::-moz-placeholder {
  6848. color: #bfbfbf;
  6849. }
  6850. .ant-time-picker-panel-input:-ms-input-placeholder {
  6851. color: #bfbfbf;
  6852. }
  6853. .ant-time-picker-panel-input::-webkit-input-placeholder {
  6854. color: #bfbfbf;
  6855. }
  6856. .ant-time-picker-panel-input-wrap {
  6857. border-bottom: 1px solid #e8e8e8;
  6858. }
  6859. .ant-time-picker-panel-input-invalid {
  6860. border-color: red;
  6861. }
  6862. .ant-time-picker-panel-clear-btn-icon svg {
  6863. color: rgba(0, 0, 0, 0.25);
  6864. }
  6865. .ant-time-picker-panel-clear-btn-icon svg:hover {
  6866. color: rgba(0, 0, 0, 0.45);
  6867. }
  6868. .ant-time-picker-panel-select {
  6869. border-left: 1px solid #e8e8e8;
  6870. }
  6871. .ant-time-picker-panel-select:first-child {
  6872. border-left: 0;
  6873. }
  6874. .ant-time-picker-panel-select:last-child {
  6875. border-right: 0;
  6876. }
  6877. .ant-time-picker-panel-select li:hover {
  6878. background: color(~`colorPalette("@{primary-color}", 1)`);
  6879. }
  6880. li.ant-time-picker-panel-select-option-selected {
  6881. background: #f5f5f5;
  6882. }
  6883. li.ant-time-picker-panel-select-option-selected:hover {
  6884. background: #f5f5f5;
  6885. }
  6886. li.ant-time-picker-panel-select-option-disabled {
  6887. color: rgba(0, 0, 0, 0.25);
  6888. }
  6889. li.ant-time-picker-panel-select-option-disabled:hover {
  6890. background: transparent;
  6891. }
  6892. .ant-time-picker-panel-addon {
  6893. border-top: 1px solid #e8e8e8;
  6894. }
  6895. .ant-time-picker {
  6896. color: rgba(0, 0, 0, 0.65);
  6897. }
  6898. .ant-time-picker-input {
  6899. color: rgba(0, 0, 0, 0.65);
  6900. background-color: #fff;
  6901. background-image: none;
  6902. border: 1px solid #d9d9d9;
  6903. border-radius: 4px;
  6904. }
  6905. .ant-time-picker-input::-moz-placeholder {
  6906. color: #bfbfbf;
  6907. }
  6908. .ant-time-picker-input:-ms-input-placeholder {
  6909. color: #bfbfbf;
  6910. }
  6911. .ant-time-picker-input::-webkit-input-placeholder {
  6912. color: #bfbfbf;
  6913. }
  6914. .ant-time-picker-input:hover {
  6915. border-color: color(~`colorPalette("@{primary-color}", 5)`);
  6916. border-right-width: 1px !important;
  6917. }
  6918. .ant-time-picker-input:focus {
  6919. border-color: color(~`colorPalette("@{primary-color}", 5)`);
  6920. box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
  6921. border-right-width: 1px !important;
  6922. }
  6923. .ant-time-picker-input-disabled {
  6924. background-color: #f5f5f5;
  6925. color: rgba(0, 0, 0, 0.25);
  6926. }
  6927. .ant-time-picker-input-disabled:hover {
  6928. border-color: #e6d8d8;
  6929. border-right-width: 1px !important;
  6930. }
  6931. .ant-time-picker-input[disabled] {
  6932. background-color: #f5f5f5;
  6933. color: rgba(0, 0, 0, 0.25);
  6934. }
  6935. .ant-time-picker-input[disabled]:hover {
  6936. border-color: #e6d8d8;
  6937. border-right-width: 1px !important;
  6938. }
  6939. .ant-time-picker-icon {
  6940. color: rgba(0, 0, 0, 0.25);
  6941. }
  6942. .ant-time-picker-icon .ant-time-picker-clock-icon {
  6943. color: rgba(0, 0, 0, 0.25);
  6944. }
  6945. .ant-timeline {
  6946. color: rgba(0, 0, 0, 0.65);
  6947. }
  6948. .ant-timeline-item-tail {
  6949. border-left: 2px solid #e8e8e8;
  6950. }
  6951. .ant-timeline-item-head {
  6952. background-color: #fff;
  6953. border-radius: 100px;
  6954. border: 2px solid transparent;
  6955. }
  6956. .ant-timeline-item-head-blue {
  6957. border-color: @primary-color;
  6958. color: @primary-color;
  6959. }
  6960. .ant-timeline-item-head-red {
  6961. border-color: #f5222d;
  6962. color: #f5222d;
  6963. }
  6964. .ant-timeline-item-head-green {
  6965. border-color: #52c41a;
  6966. color: #52c41a;
  6967. }
  6968. .ant-timeline-item-head-custom {
  6969. border: 0;
  6970. border-radius: 0;
  6971. }
  6972. .ant-timeline.ant-timeline-pending .ant-timeline-item-last .ant-timeline-item-tail {
  6973. border-left: 2px dotted #e8e8e8;
  6974. }
  6975. .ant-timeline.ant-timeline-reverse .ant-timeline-item-pending .ant-timeline-item-tail {
  6976. border-left: 2px dotted #e8e8e8;
  6977. }
  6978. .ant-tooltip {
  6979. color: rgba(0, 0, 0, 0.65);
  6980. }
  6981. .ant-tooltip-inner {
  6982. color: #fff;
  6983. background-color: rgba(0, 0, 0, 0.75);
  6984. border-radius: 4px;
  6985. box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  6986. }
  6987. .ant-tooltip-arrow {
  6988. border-color: transparent;
  6989. border-style: solid;
  6990. }
  6991. .ant-tooltip-placement-top .ant-tooltip-arrow,
  6992. .ant-tooltip-placement-topLeft .ant-tooltip-arrow,
  6993. .ant-tooltip-placement-topRight .ant-tooltip-arrow {
  6994. border-width: 5px 5px 0;
  6995. border-top-color: rgba(0, 0, 0, 0.75);
  6996. }
  6997. .ant-tooltip-placement-right .ant-tooltip-arrow,
  6998. .ant-tooltip-placement-rightTop .ant-tooltip-arrow,
  6999. .ant-tooltip-placement-rightBottom .ant-tooltip-arrow {
  7000. border-width: 5px 5px 5px 0;
  7001. border-right-color: rgba(0, 0, 0, 0.75);
  7002. }
  7003. .ant-tooltip-placement-left .ant-tooltip-arrow,
  7004. .ant-tooltip-placement-leftTop .ant-tooltip-arrow,
  7005. .ant-tooltip-placement-leftBottom .ant-tooltip-arrow {
  7006. border-width: 5px 0 5px 5px;
  7007. border-left-color: rgba(0, 0, 0, 0.75);
  7008. }
  7009. .ant-tooltip-placement-bottom .ant-tooltip-arrow,
  7010. .ant-tooltip-placement-bottomLeft .ant-tooltip-arrow,
  7011. .ant-tooltip-placement-bottomRight .ant-tooltip-arrow {
  7012. border-width: 0 5px 5px;
  7013. border-bottom-color: rgba(0, 0, 0, 0.75);
  7014. }
  7015. .ant-transfer {
  7016. color: rgba(0, 0, 0, 0.65);
  7017. }
  7018. .ant-transfer-disabled .ant-transfer-list {
  7019. background: #f5f5f5;
  7020. }
  7021. .ant-transfer-list {
  7022. border: 1px solid #d9d9d9;
  7023. border-radius: 4px;
  7024. }
  7025. .ant-transfer-list-search-action {
  7026. color: rgba(0, 0, 0, 0.25);
  7027. }
  7028. .ant-transfer-list-search-action .anticon {
  7029. color: rgba(0, 0, 0, 0.25);
  7030. }
  7031. .ant-transfer-list-search-action .anticon:hover {
  7032. color: rgba(0, 0, 0, 0.45);
  7033. }
  7034. .ant-transfer-list-header {
  7035. border-radius: 4px 4px 0 0;
  7036. background: #fff;
  7037. color: rgba(0, 0, 0, 0.65);
  7038. border-bottom: 1px solid #e8e8e8;
  7039. }
  7040. .ant-transfer-list-content-item:not(.ant-transfer-list-content-item-disabled):hover {
  7041. background-color: color(~`colorPalette("@{primary-color}", 1)`);
  7042. }
  7043. .ant-transfer-list-content-item-disabled {
  7044. color: rgba(0, 0, 0, 0.25);
  7045. }
  7046. .ant-transfer-list-body-not-found {
  7047. color: rgba(0, 0, 0, 0.25);
  7048. }
  7049. .ant-transfer-list-footer {
  7050. border-top: 1px solid #e8e8e8;
  7051. border-radius: 0 0 4px 4px;
  7052. }
  7053. .ant-select-tree-checkbox {
  7054. color: rgba(0, 0, 0, 0.65);
  7055. }
  7056. .ant-select-tree-checkbox-wrapper:hover .ant-select-tree-checkbox-inner,
  7057. .ant-select-tree-checkbox:hover .ant-select-tree-checkbox-inner,
  7058. .ant-select-tree-checkbox-input:focus + .ant-select-tree-checkbox-inner {
  7059. border-color: @primary-color;
  7060. }
  7061. .ant-select-tree-checkbox-checked:after {
  7062. border-radius: 2px;
  7063. border: 1px solid @primary-color;
  7064. }
  7065. .ant-select-tree-checkbox-inner {
  7066. border: 1px solid #d9d9d9;
  7067. border-radius: 2px;
  7068. background-color: #fff;
  7069. }
  7070. .ant-select-tree-checkbox-inner:after {
  7071. border: 2px solid #fff;
  7072. border-top: 0;
  7073. border-left: 0;
  7074. }
  7075. .ant-select-tree-checkbox-indeterminate .ant-select-tree-checkbox-inner:after {
  7076. border: 0;
  7077. background-color: @primary-color;
  7078. }
  7079. .ant-select-tree-checkbox-indeterminate.ant-select-tree-checkbox-disabled .ant-select-tree-checkbox-inner:after {
  7080. border-color: rgba(0, 0, 0, 0.25);
  7081. }
  7082. .ant-select-tree-checkbox-checked .ant-select-tree-checkbox-inner:after {
  7083. border: 2px solid #fff;
  7084. border-top: 0;
  7085. border-left: 0;
  7086. }
  7087. .ant-select-tree-checkbox-checked .ant-select-tree-checkbox-inner {
  7088. background-color: @primary-color;
  7089. border-color: @primary-color;
  7090. }
  7091. .ant-select-tree-checkbox-disabled.ant-select-tree-checkbox-checked .ant-select-tree-checkbox-inner:after {
  7092. border-color: rgba(0, 0, 0, 0.25);
  7093. }
  7094. .ant-select-tree-checkbox-disabled .ant-select-tree-checkbox-inner {
  7095. border-color: #d9d9d9 !important;
  7096. background-color: #f5f5f5;
  7097. }
  7098. .ant-select-tree-checkbox-disabled .ant-select-tree-checkbox-inner:after {
  7099. border-color: #f5f5f5;
  7100. }
  7101. .ant-select-tree-checkbox-disabled + span {
  7102. color: rgba(0, 0, 0, 0.25);
  7103. }
  7104. .ant-select-tree-checkbox-wrapper {
  7105. color: rgba(0, 0, 0, 0.65);
  7106. }
  7107. .ant-select-tree-checkbox-group {
  7108. color: rgba(0, 0, 0, 0.65);
  7109. }
  7110. .ant-select-tree {
  7111. color: rgba(0, 0, 0, 0.65);
  7112. }
  7113. .ant-select-tree li .ant-select-tree-node-content-wrapper {
  7114. border-radius: 2px;
  7115. color: rgba(0, 0, 0, 0.65);
  7116. }
  7117. .ant-select-tree li .ant-select-tree-node-content-wrapper:hover {
  7118. background-color: color(~`colorPalette("@{primary-color}", 1)`);
  7119. }
  7120. .ant-select-tree li .ant-select-tree-node-content-wrapper.ant-select-tree-node-selected {
  7121. background-color: color(~`colorPalette("@{primary-color}", 2)`);
  7122. }
  7123. .ant-select-tree li span.ant-select-tree-switcher,
  7124. .ant-select-tree li span.ant-select-tree-iconEle {
  7125. border: 0 none;
  7126. }
  7127. .ant-select-tree li span.ant-select-icon_loading .ant-select-switcher-loading-icon {
  7128. color: @primary-color;
  7129. }
  7130. .ant-select-tree li span.ant-select-tree-switcher.ant-select-tree-switcher_open .ant-select-switcher-loading-icon,
  7131. .ant-select-tree li span.ant-select-tree-switcher.ant-select-tree-switcher_close .ant-select-switcher-loading-icon {
  7132. color: @primary-color;
  7133. }
  7134. li.ant-select-tree-treenode-disabled > span:not(.ant-select-tree-switcher),
  7135. li.ant-select-tree-treenode-disabled > .ant-select-tree-node-content-wrapper,
  7136. li.ant-select-tree-treenode-disabled > .ant-select-tree-node-content-wrapper span {
  7137. color: rgba(0, 0, 0, 0.25);
  7138. }
  7139. li.ant-select-tree-treenode-disabled > .ant-select-tree-node-content-wrapper:hover {
  7140. background: transparent;
  7141. }
  7142. .ant-select-tree-dropdown {
  7143. color: rgba(0, 0, 0, 0.65);
  7144. }
  7145. .ant-select-tree-dropdown .ant-select-dropdown-search .ant-select-search__field {
  7146. border: 1px solid #d9d9d9;
  7147. border-radius: 4px;
  7148. }
  7149. .ant-select-tree-dropdown .ant-select-not-found {
  7150. color: rgba(0, 0, 0, 0.25);
  7151. }
  7152. .ant-tree.ant-tree-directory > li span.ant-tree-node-content-wrapper,
  7153. .ant-tree.ant-tree-directory .ant-tree-child-tree > li span.ant-tree-node-content-wrapper {
  7154. border-radius: 0;
  7155. }
  7156. .ant-tree.ant-tree-directory > li span.ant-tree-node-content-wrapper:hover,
  7157. .ant-tree.ant-tree-directory .ant-tree-child-tree > li span.ant-tree-node-content-wrapper:hover {
  7158. background: transparent;
  7159. }
  7160. .ant-tree.ant-tree-directory > li span.ant-tree-node-content-wrapper:hover:before,
  7161. .ant-tree.ant-tree-directory .ant-tree-child-tree > li span.ant-tree-node-content-wrapper:hover:before {
  7162. background: color(~`colorPalette("@{primary-color}", 1)`);
  7163. }
  7164. .ant-tree.ant-tree-directory > li span.ant-tree-node-content-wrapper.ant-tree-node-selected,
  7165. .ant-tree.ant-tree-directory .ant-tree-child-tree > li span.ant-tree-node-content-wrapper.ant-tree-node-selected {
  7166. color: #fff;
  7167. background: transparent;
  7168. }
  7169. .ant-tree.ant-tree-directory > li.ant-tree-treenode-selected > span.ant-tree-switcher,
  7170. .ant-tree.ant-tree-directory .ant-tree-child-tree > li.ant-tree-treenode-selected > span.ant-tree-switcher {
  7171. color: #fff;
  7172. }
  7173. .ant-tree.ant-tree-directory > li.ant-tree-treenode-selected > span.ant-tree-checkbox .ant-tree-checkbox-inner,
  7174. .ant-tree.ant-tree-directory .ant-tree-child-tree > li.ant-tree-treenode-selected > span.ant-tree-checkbox .ant-tree-checkbox-inner {
  7175. border-color: @primary-color;
  7176. }
  7177. .ant-tree.ant-tree-directory > li.ant-tree-treenode-selected > span.ant-tree-checkbox.ant-tree-checkbox-checked:after,
  7178. .ant-tree.ant-tree-directory .ant-tree-child-tree > li.ant-tree-treenode-selected > span.ant-tree-checkbox.ant-tree-checkbox-checked:after {
  7179. border-color: #fff;
  7180. }
  7181. .ant-tree.ant-tree-directory > li.ant-tree-treenode-selected > span.ant-tree-checkbox.ant-tree-checkbox-checked .ant-tree-checkbox-inner,
  7182. .ant-tree.ant-tree-directory .ant-tree-child-tree > li.ant-tree-treenode-selected > span.ant-tree-checkbox.ant-tree-checkbox-checked .ant-tree-checkbox-inner {
  7183. background: #fff;
  7184. }
  7185. .ant-tree.ant-tree-directory > li.ant-tree-treenode-selected > span.ant-tree-checkbox.ant-tree-checkbox-checked .ant-tree-checkbox-inner:after,
  7186. .ant-tree.ant-tree-directory .ant-tree-child-tree > li.ant-tree-treenode-selected > span.ant-tree-checkbox.ant-tree-checkbox-checked .ant-tree-checkbox-inner:after {
  7187. border-color: @primary-color;
  7188. }
  7189. .ant-tree.ant-tree-directory > li.ant-tree-treenode-selected > span.ant-tree-node-content-wrapper:before,
  7190. .ant-tree.ant-tree-directory .ant-tree-child-tree > li.ant-tree-treenode-selected > span.ant-tree-node-content-wrapper:before {
  7191. background: @primary-color;
  7192. }
  7193. .ant-tree-checkbox {
  7194. color: rgba(0, 0, 0, 0.65);
  7195. }
  7196. .ant-tree-checkbox-wrapper:hover .ant-tree-checkbox-inner,
  7197. .ant-tree-checkbox:hover .ant-tree-checkbox-inner,
  7198. .ant-tree-checkbox-input:focus + .ant-tree-checkbox-inner {
  7199. border-color: @primary-color;
  7200. }
  7201. .ant-tree-checkbox-checked:after {
  7202. border-radius: 2px;
  7203. border: 1px solid @primary-color;
  7204. }
  7205. .ant-tree-checkbox-inner {
  7206. border: 1px solid #d9d9d9;
  7207. border-radius: 2px;
  7208. background-color: #fff;
  7209. }
  7210. .ant-tree-checkbox-inner:after {
  7211. border: 2px solid #fff;
  7212. border-top: 0;
  7213. border-left: 0;
  7214. }
  7215. .ant-tree-checkbox-indeterminate .ant-tree-checkbox-inner:after {
  7216. border: 0;
  7217. background-color: @primary-color;
  7218. }
  7219. .ant-tree-checkbox-indeterminate.ant-tree-checkbox-disabled .ant-tree-checkbox-inner:after {
  7220. border-color: rgba(0, 0, 0, 0.25);
  7221. }
  7222. .ant-tree-checkbox-checked .ant-tree-checkbox-inner:after {
  7223. border: 2px solid #fff;
  7224. border-top: 0;
  7225. border-left: 0;
  7226. }
  7227. .ant-tree-checkbox-checked .ant-tree-checkbox-inner {
  7228. background-color: @primary-color;
  7229. border-color: @primary-color;
  7230. }
  7231. .ant-tree-checkbox-disabled.ant-tree-checkbox-checked .ant-tree-checkbox-inner:after {
  7232. border-color: rgba(0, 0, 0, 0.25);
  7233. }
  7234. .ant-tree-checkbox-disabled .ant-tree-checkbox-inner {
  7235. border-color: #d9d9d9 !important;
  7236. background-color: #f5f5f5;
  7237. }
  7238. .ant-tree-checkbox-disabled .ant-tree-checkbox-inner:after {
  7239. border-color: #f5f5f5;
  7240. }
  7241. .ant-tree-checkbox-disabled + span {
  7242. color: rgba(0, 0, 0, 0.25);
  7243. }
  7244. .ant-tree-checkbox-wrapper {
  7245. color: rgba(0, 0, 0, 0.65);
  7246. }
  7247. .ant-tree-checkbox-group {
  7248. color: rgba(0, 0, 0, 0.65);
  7249. }
  7250. .ant-tree {
  7251. color: rgba(0, 0, 0, 0.65);
  7252. }
  7253. .ant-tree li span[draggable],
  7254. .ant-tree li span[draggable="true"] {
  7255. border-top: 2px transparent solid;
  7256. border-bottom: 2px transparent solid;
  7257. }
  7258. .ant-tree li.drag-over > span[draggable] {
  7259. background-color: @primary-color;
  7260. color: white;
  7261. }
  7262. .ant-tree li.drag-over-gap-top > span[draggable] {
  7263. border-top-color: @primary-color;
  7264. }
  7265. .ant-tree li.drag-over-gap-bottom > span[draggable] {
  7266. border-bottom-color: @primary-color;
  7267. }
  7268. .ant-tree li.filter-node > span {
  7269. color: #f5222d !important;
  7270. }
  7271. .ant-tree li.ant-tree-treenode-loading span.ant-tree-switcher.ant-tree-switcher_open .ant-tree-switcher-loading-icon,
  7272. .ant-tree li.ant-tree-treenode-loading span.ant-tree-switcher.ant-tree-switcher_close .ant-tree-switcher-loading-icon {
  7273. color: @primary-color;
  7274. }
  7275. .ant-tree li .ant-tree-node-content-wrapper {
  7276. border-radius: 2px;
  7277. color: rgba(0, 0, 0, 0.65);
  7278. }
  7279. .ant-tree li .ant-tree-node-content-wrapper:hover {
  7280. background-color: color(~`colorPalette("@{primary-color}", 1)`);
  7281. }
  7282. .ant-tree li .ant-tree-node-content-wrapper.ant-tree-node-selected {
  7283. background-color: color(~`colorPalette("@{primary-color}", 2)`);
  7284. }
  7285. .ant-tree li span.ant-tree-switcher,
  7286. .ant-tree li span.ant-tree-iconEle {
  7287. border: 0 none;
  7288. }
  7289. li.ant-tree-treenode-disabled > span:not(.ant-tree-switcher),
  7290. li.ant-tree-treenode-disabled > .ant-tree-node-content-wrapper,
  7291. li.ant-tree-treenode-disabled > .ant-tree-node-content-wrapper span {
  7292. color: rgba(0, 0, 0, 0.25);
  7293. }
  7294. li.ant-tree-treenode-disabled > .ant-tree-node-content-wrapper:hover {
  7295. background: transparent;
  7296. }
  7297. .ant-tree.ant-tree-show-line li span.ant-tree-switcher {
  7298. background: #fff;
  7299. color: rgba(0, 0, 0, 0.45);
  7300. }
  7301. .ant-tree.ant-tree-show-line li:not(:last-child):before {
  7302. border-left: 1px solid #d9d9d9;
  7303. }
  7304. .ant-upload {
  7305. color: rgba(0, 0, 0, 0.65);
  7306. }
  7307. .ant-upload.ant-upload-select-picture-card {
  7308. border: 1px dashed #d9d9d9;
  7309. border-radius: 4px;
  7310. background-color: #fafafa;
  7311. }
  7312. .ant-upload.ant-upload-select-picture-card:hover {
  7313. border-color: @primary-color;
  7314. }
  7315. .ant-upload.ant-upload-drag {
  7316. border: 1px dashed #d9d9d9;
  7317. border-radius: 4px;
  7318. background: #fafafa;
  7319. }
  7320. .ant-upload.ant-upload-drag.ant-upload-drag-hover:not(.ant-upload-disabled) {
  7321. border: 2px dashed color(~`colorPalette("@{primary-color}", 5)`);
  7322. }
  7323. .ant-upload.ant-upload-drag:not(.ant-upload-disabled):hover {
  7324. border-color: color(~`colorPalette("@{primary-color}", 5)`);
  7325. }
  7326. .ant-upload.ant-upload-drag p.ant-upload-drag-icon .anticon {
  7327. color: color(~`colorPalette("@{primary-color}", 5)`);
  7328. }
  7329. .ant-upload.ant-upload-drag p.ant-upload-text {
  7330. color: rgba(0, 0, 0, 0.85);
  7331. }
  7332. .ant-upload.ant-upload-drag p.ant-upload-hint {
  7333. color: rgba(0, 0, 0, 0.45);
  7334. }
  7335. .ant-upload.ant-upload-drag .anticon-plus {
  7336. color: rgba(0, 0, 0, 0.25);
  7337. }
  7338. .ant-upload.ant-upload-drag .anticon-plus:hover {
  7339. color: rgba(0, 0, 0, 0.45);
  7340. }
  7341. .ant-upload.ant-upload-drag:hover .anticon-plus {
  7342. color: rgba(0, 0, 0, 0.45);
  7343. }
  7344. .ant-upload-list {
  7345. color: rgba(0, 0, 0, 0.65);
  7346. }
  7347. .ant-upload-list-item-info .anticon-loading,
  7348. .ant-upload-list-item-info .anticon-paper-clip {
  7349. color: rgba(0, 0, 0, 0.45);
  7350. }
  7351. .ant-upload-list-item .anticon-close {
  7352. color: rgba(0, 0, 0, 0.45);
  7353. }
  7354. .ant-upload-list-item .anticon-close:hover {
  7355. color: rgba(0, 0, 0, 0.65);
  7356. }
  7357. .ant-upload-list-item:hover .ant-upload-list-item-info {
  7358. background-color: color(~`colorPalette("@{primary-color}", 1)`);
  7359. }
  7360. .ant-upload-list-item-error,
  7361. .ant-upload-list-item-error .anticon-paper-clip,
  7362. .ant-upload-list-item-error .ant-upload-list-item-name {
  7363. color: #f5222d;
  7364. }
  7365. .ant-upload-list-item-error .anticon-close {
  7366. color: #f5222d !important;
  7367. }
  7368. .ant-upload-list-picture .ant-upload-list-item,
  7369. .ant-upload-list-picture-card .ant-upload-list-item {
  7370. border-radius: 4px;
  7371. border: 1px solid #d9d9d9;
  7372. }
  7373. .ant-upload-list-picture .ant-upload-list-item:hover,
  7374. .ant-upload-list-picture-card .ant-upload-list-item:hover {
  7375. background: transparent;
  7376. }
  7377. .ant-upload-list-picture .ant-upload-list-item-error,
  7378. .ant-upload-list-picture-card .ant-upload-list-item-error {
  7379. border-color: #f5222d;
  7380. }
  7381. .ant-upload-list-picture .ant-upload-list-item:hover .ant-upload-list-item-info,
  7382. .ant-upload-list-picture-card .ant-upload-list-item:hover .ant-upload-list-item-info {
  7383. background: transparent;
  7384. }
  7385. .ant-upload-list-picture .ant-upload-list-item-uploading,
  7386. .ant-upload-list-picture-card .ant-upload-list-item-uploading {
  7387. border-style: dashed;
  7388. }
  7389. .ant-upload-list-picture .ant-upload-list-item-icon,
  7390. .ant-upload-list-picture-card .ant-upload-list-item-icon {
  7391. color: rgba(0, 0, 0, 0.25);
  7392. }
  7393. .ant-upload-list-picture .ant-upload-list-item-thumbnail.anticon:before,
  7394. .ant-upload-list-picture-card .ant-upload-list-item-thumbnail.anticon:before {
  7395. color: rgba(0, 0, 0, 0.45);
  7396. }
  7397. .ant-upload-list-picture-card .ant-upload-list-item-info:before {
  7398. background-color: rgba(0, 0, 0, 0.5);
  7399. }
  7400. .ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-eye-o,
  7401. .ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-delete {
  7402. color: rgba(255, 255, 255, 0.85);
  7403. }
  7404. .ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-eye-o:hover,
  7405. .ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-delete:hover {
  7406. color: #fff;
  7407. }
  7408. .ant-upload-list-picture-card .ant-upload-list-item-uploading.ant-upload-list-item {
  7409. background-color: #fafafa;
  7410. }
  7411. .ant-upload-list-picture-card .ant-upload-list-item-uploading-text {
  7412. color: rgba(0, 0, 0, 0.45);
  7413. }
  7414. .ant-upload-list .ant-upload-success-icon {
  7415. color: #52c41a;
  7416. }
  7417. .drawer .drawer-content {
  7418. background: #001529;
  7419. }
  7420. .ant-list-item-meta .taobao {
  7421. color: #ff4000;
  7422. border-radius: 4px;
  7423. }
  7424. .ant-list-item-meta .dingding {
  7425. background-color: #2eabff;
  7426. color: #fff;
  7427. border-radius: 4px;
  7428. }
  7429. .ant-list-item-meta .alipay {
  7430. color: #2eabff;
  7431. border-radius: 4px;
  7432. }
  7433. font.strong {
  7434. color: #52c41a;
  7435. }
  7436. font.medium {
  7437. color: #faad14;
  7438. }
  7439. font.weak {
  7440. color: #f5222d;
  7441. }