color.less 233 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681
  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. .layout .header {
  1942. background-color: @primary-color !important;
  1943. }
  1944. i.trigger:hover {
  1945. background: rgba(0, 0, 0, 0.025);
  1946. }
  1947. .right .action > i {
  1948. color: rgba(0, 0, 0, 0.65);
  1949. }
  1950. .right .action:hover {
  1951. background: rgba(0, 0, 0, 0.025);
  1952. }
  1953. :global(.right .action.ant-popover-open) {
  1954. background: rgba(0, 0, 0, 0.025);
  1955. }
  1956. .right .search:hover {
  1957. background: transparent;
  1958. }
  1959. .right .account .avatar {
  1960. color: @primary-color;
  1961. background: rgba(255, 255, 255, 0.85);
  1962. }
  1963. .dark .action {
  1964. color: rgba(255, 255, 255, 0.85);
  1965. }
  1966. .dark .action > i {
  1967. color: rgba(255, 255, 255, 0.85);
  1968. }
  1969. .dark .action:hover,
  1970. .dark .action:global(.ant-popover-open) {
  1971. background: @primary-color;
  1972. }
  1973. .dark .action :global(.ant-badge) {
  1974. color: rgba(255, 255, 255, 0.85);
  1975. }
  1976. .headerSearch .input {
  1977. background: transparent;
  1978. border-radius: 0;
  1979. }
  1980. .headerSearch .input :global(.ant-select-selection) {
  1981. background: transparent;
  1982. }
  1983. .headerSearch .input input {
  1984. border: 0;
  1985. box-shadow: none !important;
  1986. }
  1987. .headerSearch .input,
  1988. .headerSearch .input:hover,
  1989. .headerSearch .input:focus {
  1990. border-bottom: 1px solid #d9d9d9;
  1991. }
  1992. .login :global .ant-tabs .ant-tabs-bar {
  1993. border-bottom: 0;
  1994. }
  1995. .login .icon {
  1996. color: rgba(0, 0, 0, 0.2);
  1997. }
  1998. .login .icon:hover {
  1999. color: @primary-color;
  2000. }
  2001. .login .prefixIcon {
  2002. color: rgba(0, 0, 0, 0.25);
  2003. }
  2004. .list .item .avatar {
  2005. background: #fff;
  2006. }
  2007. .list .item:last-child {
  2008. border-bottom: 0;
  2009. }
  2010. .list .item:hover {
  2011. background: color(~`colorPalette("@{primary-color}", 1)`);
  2012. }
  2013. .list .item .extra {
  2014. color: rgba(0, 0, 0, 0.45);
  2015. }
  2016. .notFound {
  2017. color: rgba(0, 0, 0, 0.45);
  2018. }
  2019. .clear {
  2020. color: rgba(0, 0, 0, 0.65);
  2021. border-radius: 0 0 4px 4px;
  2022. border-top: 1px solid #e8e8e8;
  2023. }
  2024. .clear:hover {
  2025. color: rgba(0, 0, 0, 0.85);
  2026. }
  2027. .numberInfo .suffix {
  2028. color: rgba(0, 0, 0, 0.65);
  2029. }
  2030. .numberInfo .numberInfoTitle {
  2031. color: rgba(0, 0, 0, 0.65);
  2032. }
  2033. .numberInfo .numberInfoSubTitle {
  2034. color: rgba(0, 0, 0, 0.45);
  2035. }
  2036. .numberInfo .numberInfoValue > span {
  2037. color: rgba(0, 0, 0, 0.85);
  2038. }
  2039. .numberInfo .numberInfoValue .subTotal {
  2040. color: rgba(0, 0, 0, 0.45);
  2041. }
  2042. .numberInfo .numberInfoValue .subTotal :global .anticon-caret-up {
  2043. color: #f5222d;
  2044. }
  2045. .numberInfo .numberInfoValue .subTotal :global .anticon-caret-down {
  2046. color: #52c41a;
  2047. }
  2048. .numberInfolight .numberInfoValue > span {
  2049. color: rgba(0, 0, 0, 0.65);
  2050. }
  2051. .pageHeader {
  2052. background: #fff;
  2053. border-bottom: 1px solid #e8e8e8;
  2054. }
  2055. .pageHeader .tabs :global .ant-tabs-bar {
  2056. border-bottom: 1px solid #e8e8e8;
  2057. }
  2058. .pageHeader .logo > img {
  2059. border-radius: 4px;
  2060. }
  2061. .pageHeader .title {
  2062. color: rgba(0, 0, 0, 0.85);
  2063. }
  2064. .result .icon > .success {
  2065. color: #52c41a;
  2066. }
  2067. .result .icon > .error {
  2068. color: #f5222d;
  2069. }
  2070. .result .title {
  2071. color: rgba(0, 0, 0, 0.85);
  2072. }
  2073. .result .description {
  2074. color: rgba(0, 0, 0, 0.45);
  2075. }
  2076. .result .extra {
  2077. background: #fafafa;
  2078. border-radius: 2px;
  2079. }
  2080. .blockChecbox .item {
  2081. border-radius: 4px;
  2082. }
  2083. .blockChecbox .selectIcon {
  2084. color: @primary-color;
  2085. }
  2086. .color_block {
  2087. border-radius: 4px;
  2088. }
  2089. .title {
  2090. color: rgba(0, 0, 0, 0.85);
  2091. }
  2092. .handle {
  2093. background: @primary-color;
  2094. border-radius: 4px 0 0 4px;
  2095. }
  2096. .setting-drawer-index-handle {
  2097. /* 暂时不知道放哪解决 */
  2098. background: @primary-color !important;
  2099. }
  2100. .themeColor .title {
  2101. color: rgba(0, 0, 0, 0.65);
  2102. }
  2103. .themeColor .colorBlock {
  2104. border-radius: 2px;
  2105. color: #fff;
  2106. }
  2107. .logo h1 {
  2108. color: white;
  2109. }
  2110. .sider {
  2111. box-shadow: 2px 116px 6px rgba(0, 21, 41, 0.35);
  2112. }
  2113. .sider.light {
  2114. box-shadow: 2px 116px 8px 0 rgba(29, 35, 41, 0.05);
  2115. background-color: white;
  2116. }
  2117. .sider.light .logo {
  2118. background-color: @primary-color !important;
  2119. box-shadow: 1px 1px 0 0 #e8e8e8;
  2120. }
  2121. .sider.light .logo h1 {
  2122. color: white;
  2123. }
  2124. .sider.light :global(.ant-menu-light) {
  2125. border-right-color: transparent;
  2126. }
  2127. :global .drawer .drawer-content {
  2128. background: #001529;
  2129. }
  2130. .standardFormRow {
  2131. border-bottom: 1px dashed #e8e8e8;
  2132. }
  2133. .standardFormRow :global .ant-form-item-label label {
  2134. color: rgba(0, 0, 0, 0.65);
  2135. }
  2136. .standardFormRow .label {
  2137. color: rgba(0, 0, 0, 0.85);
  2138. }
  2139. .standardFormRowLast {
  2140. border: none;
  2141. }
  2142. .head {
  2143. box-shadow: 0 1px 4px rgba(0, 21, 41, 0.08);
  2144. }
  2145. .head.light {
  2146. background-color: #fff;
  2147. }
  2148. .logo h1 {
  2149. color: #fff;
  2150. }
  2151. .light h1 {
  2152. color: #002140;
  2153. }
  2154. .trendItem .up {
  2155. color: #f5222d;
  2156. }
  2157. .trendItem .down {
  2158. color: #52c41a;
  2159. }
  2160. .trendItem.trendItemGrey .up,
  2161. .trendItem.trendItemGrey .down {
  2162. color: rgba(0, 0, 0, 0.65);
  2163. }
  2164. .trendItem.reverseColor .up {
  2165. color: #52c41a;
  2166. }
  2167. .trendItem.reverseColor .down {
  2168. color: #f5222d;
  2169. }
  2170. .container {
  2171. background: #f0f2f5;
  2172. }
  2173. .title {
  2174. color: rgba(0, 0, 0, 0.85);
  2175. }
  2176. .desc {
  2177. color: rgba(0, 0, 0, 0.45);
  2178. }
  2179. a.listItemMetaTitle {
  2180. color: rgba(0, 0, 0, 0.85);
  2181. }
  2182. .baseView .right .avatar_title {
  2183. color: rgba(0, 0, 0, 0.85);
  2184. }
  2185. .main {
  2186. background-color: #fff;
  2187. }
  2188. .main .leftmenu {
  2189. border-right: 1px solid #e8e8e8;
  2190. }
  2191. .main .leftmenu :global .ant-menu-inline {
  2192. border: none;
  2193. }
  2194. .main .right .title {
  2195. color: rgba(0, 0, 0, 0.85);
  2196. }
  2197. .main :global .ant-list-split .ant-list-item:last-child {
  2198. border-bottom: 1px solid #e8e8e8;
  2199. }
  2200. :global .ant-list-item-meta .taobao {
  2201. color: #ff4000;
  2202. border-radius: 4px;
  2203. }
  2204. :global .ant-list-item-meta .dingding {
  2205. background-color: #2eabff;
  2206. color: #fff;
  2207. border-radius: 4px;
  2208. }
  2209. :global .ant-list-item-meta .alipay {
  2210. color: #2eabff;
  2211. border-radius: 4px;
  2212. }
  2213. :global font.strong {
  2214. color: #52c41a;
  2215. }
  2216. :global font.medium {
  2217. color: #faad14;
  2218. }
  2219. :global font.weak {
  2220. color: #f5222d;
  2221. }
  2222. .trigger {
  2223. background: 'red';
  2224. }
  2225. .desc {
  2226. color: rgba(0, 0, 0, 0.45);
  2227. }
  2228. .desc h3 {
  2229. color: rgba(0, 0, 0, 0.45);
  2230. }
  2231. .desc h4 {
  2232. color: rgba(0, 0, 0, 0.45);
  2233. }
  2234. .information .label {
  2235. color: rgba(0, 0, 0, 0.85);
  2236. }
  2237. .errorIcon {
  2238. color: #f5222d;
  2239. }
  2240. .errorListItem {
  2241. border-bottom: 1px solid #e8e8e8;
  2242. }
  2243. .errorListItem:hover {
  2244. background: color(~`colorPalette("@{primary-color}", 1)`);
  2245. }
  2246. .errorListItem:last-child {
  2247. border: 0;
  2248. }
  2249. .errorListItem .errorIcon {
  2250. color: #f5222d;
  2251. }
  2252. .errorListItem .errorField {
  2253. color: rgba(0, 0, 0, 0.45);
  2254. }
  2255. .optional {
  2256. color: rgba(0, 0, 0, 0.45);
  2257. }
  2258. a.listItemMetaTitle {
  2259. color: rgba(0, 0, 0, 0.85);
  2260. }
  2261. .noData {
  2262. color: rgba(0, 0, 0, 0.25);
  2263. }
  2264. .heading {
  2265. color: rgba(0, 0, 0, 0.85);
  2266. }
  2267. .textSecondary {
  2268. color: rgba(0, 0, 0, 0.45);
  2269. }
  2270. .title {
  2271. color: rgba(0, 0, 0, 0.85);
  2272. }
  2273. .main .icon {
  2274. color: rgba(0, 0, 0, 0.2);
  2275. }
  2276. .main .icon:hover {
  2277. color: @primary-color;
  2278. }
  2279. .success {
  2280. color: #52c41a;
  2281. }
  2282. .warning {
  2283. color: #faad14;
  2284. }
  2285. .error {
  2286. color: #f5222d;
  2287. }
  2288. .progress-pass > .progress :global .ant-progress-bg {
  2289. background-color: #faad14;
  2290. }
  2291. html {
  2292. -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  2293. }
  2294. body {
  2295. color: rgba(0, 0, 0, 0.65);
  2296. background-color: #fff;
  2297. }
  2298. h1,
  2299. h2,
  2300. h3,
  2301. h4,
  2302. h5,
  2303. h6 {
  2304. color: rgba(0, 0, 0, 0.85);
  2305. }
  2306. abbr[title],
  2307. abbr[data-original-title] {
  2308. border-bottom: 0;
  2309. }
  2310. a {
  2311. color: @primary-color;
  2312. background-color: transparent;
  2313. }
  2314. a:hover {
  2315. color: color(~`colorPalette("@{primary-color}", 5)`);
  2316. }
  2317. a:active {
  2318. color: color(~`colorPalette("@{primary-color}", 7)`);
  2319. }
  2320. a[disabled] {
  2321. color: rgba(0, 0, 0, 0.25);
  2322. }
  2323. img {
  2324. border-style: none;
  2325. }
  2326. table {
  2327. border-collapse: collapse;
  2328. }
  2329. caption {
  2330. color: rgba(0, 0, 0, 0.45);
  2331. }
  2332. input,
  2333. button,
  2334. select,
  2335. optgroup,
  2336. textarea {
  2337. color: inherit;
  2338. }
  2339. button::-moz-focus-inner,
  2340. [type="button"]::-moz-focus-inner,
  2341. [type="reset"]::-moz-focus-inner,
  2342. [type="submit"]::-moz-focus-inner {
  2343. border-style: none;
  2344. }
  2345. fieldset {
  2346. border: 0;
  2347. }
  2348. legend {
  2349. color: inherit;
  2350. }
  2351. mark {
  2352. background-color: #feffe6;
  2353. }
  2354. ::selection {
  2355. background: @primary-color;
  2356. color: #fff;
  2357. }
  2358. [ant-click-animating-without-extra-node]:after,
  2359. .ant-click-animating-node {
  2360. border-radius: inherit;
  2361. border: 0 solid @primary-color;
  2362. }
  2363. .ant-alert {
  2364. color: rgba(0, 0, 0, 0.65);
  2365. border-radius: 4px;
  2366. }
  2367. .ant-alert-success {
  2368. border: 1px solid #b7eb8f;
  2369. background-color: #f6ffed;
  2370. }
  2371. .ant-alert-success .ant-alert-icon {
  2372. color: #52c41a;
  2373. }
  2374. .ant-alert-info {
  2375. border: 1px solid color(~`colorPalette("@{primary-color}", 3)`);
  2376. background-color: color(~`colorPalette("@{primary-color}", 1)`);
  2377. }
  2378. .ant-alert-info .ant-alert-icon {
  2379. color: @primary-color;
  2380. }
  2381. .ant-alert-warning {
  2382. border: 1px solid #ffe58f;
  2383. background-color: #fffbe6;
  2384. }
  2385. .ant-alert-warning .ant-alert-icon {
  2386. color: #faad14;
  2387. }
  2388. .ant-alert-error {
  2389. border: 1px solid #ffa39e;
  2390. background-color: #fff1f0;
  2391. }
  2392. .ant-alert-error .ant-alert-icon {
  2393. color: #f5222d;
  2394. }
  2395. .ant-alert-close-icon .anticon-close {
  2396. color: rgba(0, 0, 0, 0.45);
  2397. }
  2398. .ant-alert-close-icon .anticon-close:hover {
  2399. color: #404040;
  2400. }
  2401. .ant-alert-with-description {
  2402. border-radius: 4px;
  2403. color: rgba(0, 0, 0, 0.65);
  2404. }
  2405. .ant-alert-with-description .ant-alert-message {
  2406. color: rgba(0, 0, 0, 0.85);
  2407. }
  2408. .ant-alert-banner {
  2409. border-radius: 0;
  2410. border: 0;
  2411. }
  2412. .ant-anchor {
  2413. color: rgba(0, 0, 0, 0.65);
  2414. }
  2415. .ant-anchor-wrapper {
  2416. background-color: #fff;
  2417. }
  2418. .ant-anchor-ink:before {
  2419. background-color: #e8e8e8;
  2420. }
  2421. .ant-anchor-ink-ball {
  2422. border-radius: 8px;
  2423. border: 2px solid @primary-color;
  2424. background-color: #fff;
  2425. }
  2426. .ant-anchor-link-title {
  2427. color: rgba(0, 0, 0, 0.65);
  2428. }
  2429. .ant-anchor-link-active > .ant-anchor-link-title {
  2430. color: @primary-color;
  2431. }
  2432. .ant-select-auto-complete {
  2433. color: rgba(0, 0, 0, 0.65);
  2434. }
  2435. .ant-select-auto-complete.ant-select .ant-select-selection {
  2436. border: 0;
  2437. box-shadow: none;
  2438. }
  2439. .ant-select-auto-complete.ant-select .ant-input {
  2440. background: transparent;
  2441. border-width: 1px;
  2442. }
  2443. .ant-select-auto-complete.ant-select .ant-input:focus,
  2444. .ant-select-auto-complete.ant-select .ant-input:hover {
  2445. border-color: color(~`colorPalette("@{primary-color}", 5)`);
  2446. border-right-width: 1px !important;
  2447. }
  2448. .ant-avatar {
  2449. color: rgba(0, 0, 0, 0.65);
  2450. background: #ccc;
  2451. color: #fff;
  2452. border-radius: 50%;
  2453. }
  2454. .ant-avatar-image {
  2455. background: transparent;
  2456. }
  2457. .ant-avatar-lg {
  2458. border-radius: 50%;
  2459. }
  2460. .ant-avatar-sm {
  2461. border-radius: 50%;
  2462. }
  2463. .ant-avatar-square {
  2464. border-radius: 4px;
  2465. }
  2466. .ant-back-top {
  2467. color: rgba(0, 0, 0, 0.65);
  2468. }
  2469. .ant-back-top-content {
  2470. border-radius: 20px;
  2471. background-color: rgba(0, 0, 0, 0.45);
  2472. color: #fff;
  2473. }
  2474. .ant-back-top-content:hover {
  2475. background-color: rgba(0, 0, 0, 0.65);
  2476. }
  2477. .ant-back-top-icon {
  2478. 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;
  2479. }
  2480. .ant-badge {
  2481. color: rgba(0, 0, 0, 0.65);
  2482. color: unset;
  2483. }
  2484. .ant-badge-count {
  2485. border-radius: 10px;
  2486. background: #f5222d;
  2487. color: #fff;
  2488. box-shadow: 0 0 0 1px #fff;
  2489. }
  2490. .ant-badge-count a,
  2491. .ant-badge-count a:hover {
  2492. color: #fff;
  2493. }
  2494. .ant-badge-dot {
  2495. border-radius: 100%;
  2496. background: #f5222d;
  2497. box-shadow: 0 0 0 1px #fff;
  2498. }
  2499. .ant-badge-status-dot {
  2500. border-radius: 50%;
  2501. }
  2502. .ant-badge-status-success {
  2503. background-color: #52c41a;
  2504. }
  2505. .ant-badge-status-processing {
  2506. background-color: @primary-color;
  2507. }
  2508. .ant-badge-status-processing:after {
  2509. border-radius: 50%;
  2510. border: 1px solid @primary-color;
  2511. }
  2512. .ant-badge-status-default {
  2513. background-color: #d9d9d9;
  2514. }
  2515. .ant-badge-status-error {
  2516. background-color: #f5222d;
  2517. }
  2518. .ant-badge-status-warning {
  2519. background-color: #faad14;
  2520. }
  2521. .ant-badge-status-text {
  2522. color: rgba(0, 0, 0, 0.65);
  2523. }
  2524. .ant-breadcrumb {
  2525. color: rgba(0, 0, 0, 0.65);
  2526. color: rgba(0, 0, 0, 0.45);
  2527. }
  2528. .ant-breadcrumb a {
  2529. color: rgba(0, 0, 0, 0.45);
  2530. }
  2531. .ant-breadcrumb a:hover {
  2532. color: color(~`colorPalette("@{primary-color}", 5)`);
  2533. }
  2534. .ant-breadcrumb > span:last-child {
  2535. color: rgba(0, 0, 0, 0.65);
  2536. }
  2537. .ant-breadcrumb-separator {
  2538. color: rgba(0, 0, 0, 0.45);
  2539. }
  2540. .ant-btn {
  2541. background-image: none;
  2542. border: 1px solid transparent;
  2543. border-radius: 4px;
  2544. box-shadow: 0 2px 0 rgba(0, 0, 0, 0.015);
  2545. color: rgba(0, 0, 0, 0.65);
  2546. background-color: #fff;
  2547. border-color: #d9d9d9;
  2548. }
  2549. .ant-btn:not([disabled]):active {
  2550. box-shadow: none;
  2551. }
  2552. .ant-btn-lg {
  2553. border-radius: 4px;
  2554. }
  2555. .ant-btn-sm {
  2556. border-radius: 4px;
  2557. }
  2558. .ant-btn > a:only-child {
  2559. color: currentColor;
  2560. }
  2561. .ant-btn > a:only-child:after {
  2562. background: transparent;
  2563. }
  2564. .ant-btn:hover,
  2565. .ant-btn:focus {
  2566. color: color(~`colorPalette("@{primary-color}", 5)`);
  2567. background-color: #fff;
  2568. border-color: color(~`colorPalette("@{primary-color}", 5)`);
  2569. }
  2570. .ant-btn:hover > a:only-child,
  2571. .ant-btn:focus > a:only-child {
  2572. color: currentColor;
  2573. }
  2574. .ant-btn:hover > a:only-child:after,
  2575. .ant-btn:focus > a:only-child:after {
  2576. background: transparent;
  2577. }
  2578. .ant-btn:active,
  2579. .ant-btn.active {
  2580. color: color(~`colorPalette("@{primary-color}", 7)`);
  2581. background-color: #fff;
  2582. border-color: color(~`colorPalette("@{primary-color}", 7)`);
  2583. }
  2584. .ant-btn:active > a:only-child,
  2585. .ant-btn.active > a:only-child {
  2586. color: currentColor;
  2587. }
  2588. .ant-btn:active > a:only-child:after,
  2589. .ant-btn.active > a:only-child:after {
  2590. background: transparent;
  2591. }
  2592. .ant-btn.disabled,
  2593. .ant-btn[disabled],
  2594. .ant-btn.disabled:hover,
  2595. .ant-btn[disabled]:hover,
  2596. .ant-btn.disabled:focus,
  2597. .ant-btn[disabled]:focus,
  2598. .ant-btn.disabled:active,
  2599. .ant-btn[disabled]:active,
  2600. .ant-btn.disabled.active,
  2601. .ant-btn[disabled].active {
  2602. color: rgba(0, 0, 0, 0.25);
  2603. background-color: #f5f5f5;
  2604. border-color: #d9d9d9;
  2605. box-shadow: none;
  2606. }
  2607. .ant-btn.disabled > a:only-child,
  2608. .ant-btn[disabled] > a:only-child,
  2609. .ant-btn.disabled:hover > a:only-child,
  2610. .ant-btn[disabled]:hover > a:only-child,
  2611. .ant-btn.disabled:focus > a:only-child,
  2612. .ant-btn[disabled]:focus > a:only-child,
  2613. .ant-btn.disabled:active > a:only-child,
  2614. .ant-btn[disabled]:active > a:only-child,
  2615. .ant-btn.disabled.active > a:only-child,
  2616. .ant-btn[disabled].active > a:only-child {
  2617. color: currentColor;
  2618. }
  2619. .ant-btn.disabled > a:only-child:after,
  2620. .ant-btn[disabled] > a:only-child:after,
  2621. .ant-btn.disabled:hover > a:only-child:after,
  2622. .ant-btn[disabled]:hover > a:only-child:after,
  2623. .ant-btn.disabled:focus > a:only-child:after,
  2624. .ant-btn[disabled]:focus > a:only-child:after,
  2625. .ant-btn.disabled:active > a:only-child:after,
  2626. .ant-btn[disabled]:active > a:only-child:after,
  2627. .ant-btn.disabled.active > a:only-child:after,
  2628. .ant-btn[disabled].active > a:only-child:after {
  2629. background: transparent;
  2630. }
  2631. .ant-btn:hover,
  2632. .ant-btn:focus,
  2633. .ant-btn:active,
  2634. .ant-btn.active {
  2635. background: #fff;
  2636. }
  2637. .ant-btn-primary {
  2638. color: #fff;
  2639. background-color: @primary-color;
  2640. border-color: @primary-color;
  2641. box-shadow: 0 2px 0 rgba(0, 0, 0, 0.035);
  2642. }
  2643. .ant-btn-primary > a:only-child {
  2644. color: currentColor;
  2645. }
  2646. .ant-btn-primary > a:only-child:after {
  2647. background: transparent;
  2648. }
  2649. .ant-btn-primary:hover,
  2650. .ant-btn-primary:focus {
  2651. color: #fff;
  2652. background-color: color(~`colorPalette("@{primary-color}", 5)`);
  2653. border-color: color(~`colorPalette("@{primary-color}", 5)`);
  2654. }
  2655. .ant-btn-primary:hover > a:only-child,
  2656. .ant-btn-primary:focus > a:only-child {
  2657. color: currentColor;
  2658. }
  2659. .ant-btn-primary:hover > a:only-child:after,
  2660. .ant-btn-primary:focus > a:only-child:after {
  2661. background: transparent;
  2662. }
  2663. .ant-btn-primary:active,
  2664. .ant-btn-primary.active {
  2665. color: #fff;
  2666. background-color: color(~`colorPalette("@{primary-color}", 7)`);
  2667. border-color: color(~`colorPalette("@{primary-color}", 7)`);
  2668. }
  2669. .ant-btn-primary:active > a:only-child,
  2670. .ant-btn-primary.active > a:only-child {
  2671. color: currentColor;
  2672. }
  2673. .ant-btn-primary:active > a:only-child:after,
  2674. .ant-btn-primary.active > a:only-child:after {
  2675. background: transparent;
  2676. }
  2677. .ant-btn-primary.disabled,
  2678. .ant-btn-primary[disabled],
  2679. .ant-btn-primary.disabled:hover,
  2680. .ant-btn-primary[disabled]:hover,
  2681. .ant-btn-primary.disabled:focus,
  2682. .ant-btn-primary[disabled]:focus,
  2683. .ant-btn-primary.disabled:active,
  2684. .ant-btn-primary[disabled]:active,
  2685. .ant-btn-primary.disabled.active,
  2686. .ant-btn-primary[disabled].active {
  2687. color: rgba(0, 0, 0, 0.25);
  2688. background-color: #f5f5f5;
  2689. border-color: #d9d9d9;
  2690. box-shadow: none;
  2691. }
  2692. .ant-btn-primary.disabled > a:only-child,
  2693. .ant-btn-primary[disabled] > a:only-child,
  2694. .ant-btn-primary.disabled:hover > a:only-child,
  2695. .ant-btn-primary[disabled]:hover > a:only-child,
  2696. .ant-btn-primary.disabled:focus > a:only-child,
  2697. .ant-btn-primary[disabled]:focus > a:only-child,
  2698. .ant-btn-primary.disabled:active > a:only-child,
  2699. .ant-btn-primary[disabled]:active > a:only-child,
  2700. .ant-btn-primary.disabled.active > a:only-child,
  2701. .ant-btn-primary[disabled].active > a:only-child {
  2702. color: currentColor;
  2703. }
  2704. .ant-btn-primary.disabled > a:only-child:after,
  2705. .ant-btn-primary[disabled] > a:only-child:after,
  2706. .ant-btn-primary.disabled:hover > a:only-child:after,
  2707. .ant-btn-primary[disabled]:hover > a:only-child:after,
  2708. .ant-btn-primary.disabled:focus > a:only-child:after,
  2709. .ant-btn-primary[disabled]:focus > a:only-child:after,
  2710. .ant-btn-primary.disabled:active > a:only-child:after,
  2711. .ant-btn-primary[disabled]:active > a:only-child:after,
  2712. .ant-btn-primary.disabled.active > a:only-child:after,
  2713. .ant-btn-primary[disabled].active > a:only-child:after {
  2714. background: transparent;
  2715. }
  2716. .ant-btn-group .ant-btn-primary:not(:first-child):not(:last-child) {
  2717. border-right-color: color(~`colorPalette("@{primary-color}", 5)`);
  2718. border-left-color: color(~`colorPalette("@{primary-color}", 5)`);
  2719. }
  2720. .ant-btn-group .ant-btn-primary:not(:first-child):not(:last-child):disabled {
  2721. border-color: #d9d9d9;
  2722. }
  2723. .ant-btn-group .ant-btn-primary:first-child:not(:last-child) {
  2724. border-right-color: color(~`colorPalette("@{primary-color}", 5)`);
  2725. }
  2726. .ant-btn-group .ant-btn-primary:first-child:not(:last-child)[disabled] {
  2727. border-right-color: #d9d9d9;
  2728. }
  2729. .ant-btn-group .ant-btn-primary:last-child:not(:first-child),
  2730. .ant-btn-group .ant-btn-primary + .ant-btn-primary {
  2731. border-left-color: color(~`colorPalette("@{primary-color}", 5)`);
  2732. }
  2733. .ant-btn-group .ant-btn-primary:last-child:not(:first-child)[disabled],
  2734. .ant-btn-group .ant-btn-primary + .ant-btn-primary[disabled] {
  2735. border-left-color: #d9d9d9;
  2736. }
  2737. .ant-btn-ghost {
  2738. color: rgba(0, 0, 0, 0.65);
  2739. background-color: transparent;
  2740. border-color: #d9d9d9;
  2741. }
  2742. .ant-btn-ghost > a:only-child {
  2743. color: currentColor;
  2744. }
  2745. .ant-btn-ghost > a:only-child:after {
  2746. background: transparent;
  2747. }
  2748. .ant-btn-ghost:hover,
  2749. .ant-btn-ghost:focus {
  2750. color: color(~`colorPalette("@{primary-color}", 5)`);
  2751. background-color: transparent;
  2752. border-color: color(~`colorPalette("@{primary-color}", 5)`);
  2753. }
  2754. .ant-btn-ghost:hover > a:only-child,
  2755. .ant-btn-ghost:focus > a:only-child {
  2756. color: currentColor;
  2757. }
  2758. .ant-btn-ghost:hover > a:only-child:after,
  2759. .ant-btn-ghost:focus > a:only-child:after {
  2760. background: transparent;
  2761. }
  2762. .ant-btn-ghost:active,
  2763. .ant-btn-ghost.active {
  2764. color: color(~`colorPalette("@{primary-color}", 7)`);
  2765. background-color: transparent;
  2766. border-color: color(~`colorPalette("@{primary-color}", 7)`);
  2767. }
  2768. .ant-btn-ghost:active > a:only-child,
  2769. .ant-btn-ghost.active > a:only-child {
  2770. color: currentColor;
  2771. }
  2772. .ant-btn-ghost:active > a:only-child:after,
  2773. .ant-btn-ghost.active > a:only-child:after {
  2774. background: transparent;
  2775. }
  2776. .ant-btn-ghost.disabled,
  2777. .ant-btn-ghost[disabled],
  2778. .ant-btn-ghost.disabled:hover,
  2779. .ant-btn-ghost[disabled]:hover,
  2780. .ant-btn-ghost.disabled:focus,
  2781. .ant-btn-ghost[disabled]:focus,
  2782. .ant-btn-ghost.disabled:active,
  2783. .ant-btn-ghost[disabled]:active,
  2784. .ant-btn-ghost.disabled.active,
  2785. .ant-btn-ghost[disabled].active {
  2786. color: rgba(0, 0, 0, 0.25);
  2787. background-color: #f5f5f5;
  2788. border-color: #d9d9d9;
  2789. box-shadow: none;
  2790. }
  2791. .ant-btn-ghost.disabled > a:only-child,
  2792. .ant-btn-ghost[disabled] > a:only-child,
  2793. .ant-btn-ghost.disabled:hover > a:only-child,
  2794. .ant-btn-ghost[disabled]:hover > a:only-child,
  2795. .ant-btn-ghost.disabled:focus > a:only-child,
  2796. .ant-btn-ghost[disabled]:focus > a:only-child,
  2797. .ant-btn-ghost.disabled:active > a:only-child,
  2798. .ant-btn-ghost[disabled]:active > a:only-child,
  2799. .ant-btn-ghost.disabled.active > a:only-child,
  2800. .ant-btn-ghost[disabled].active > a:only-child {
  2801. color: currentColor;
  2802. }
  2803. .ant-btn-ghost.disabled > a:only-child:after,
  2804. .ant-btn-ghost[disabled] > a:only-child:after,
  2805. .ant-btn-ghost.disabled:hover > a:only-child:after,
  2806. .ant-btn-ghost[disabled]:hover > a:only-child:after,
  2807. .ant-btn-ghost.disabled:focus > a:only-child:after,
  2808. .ant-btn-ghost[disabled]:focus > a:only-child:after,
  2809. .ant-btn-ghost.disabled:active > a:only-child:after,
  2810. .ant-btn-ghost[disabled]:active > a:only-child:after,
  2811. .ant-btn-ghost.disabled.active > a:only-child:after,
  2812. .ant-btn-ghost[disabled].active > a:only-child:after {
  2813. background: transparent;
  2814. }
  2815. .ant-btn-dashed {
  2816. color: rgba(0, 0, 0, 0.65);
  2817. background-color: #fff;
  2818. border-color: #d9d9d9;
  2819. border-style: dashed;
  2820. }
  2821. .ant-btn-dashed > a:only-child {
  2822. color: currentColor;
  2823. }
  2824. .ant-btn-dashed > a:only-child:after {
  2825. background: transparent;
  2826. }
  2827. .ant-btn-dashed:hover,
  2828. .ant-btn-dashed:focus {
  2829. color: color(~`colorPalette("@{primary-color}", 5)`);
  2830. background-color: #fff;
  2831. border-color: color(~`colorPalette("@{primary-color}", 5)`);
  2832. }
  2833. .ant-btn-dashed:hover > a:only-child,
  2834. .ant-btn-dashed:focus > a:only-child {
  2835. color: currentColor;
  2836. }
  2837. .ant-btn-dashed:hover > a:only-child:after,
  2838. .ant-btn-dashed:focus > a:only-child:after {
  2839. background: transparent;
  2840. }
  2841. .ant-btn-dashed:active,
  2842. .ant-btn-dashed.active {
  2843. color: color(~`colorPalette("@{primary-color}", 7)`);
  2844. background-color: #fff;
  2845. border-color: color(~`colorPalette("@{primary-color}", 7)`);
  2846. }
  2847. .ant-btn-dashed:active > a:only-child,
  2848. .ant-btn-dashed.active > a:only-child {
  2849. color: currentColor;
  2850. }
  2851. .ant-btn-dashed:active > a:only-child:after,
  2852. .ant-btn-dashed.active > a:only-child:after {
  2853. background: transparent;
  2854. }
  2855. .ant-btn-dashed.disabled,
  2856. .ant-btn-dashed[disabled],
  2857. .ant-btn-dashed.disabled:hover,
  2858. .ant-btn-dashed[disabled]:hover,
  2859. .ant-btn-dashed.disabled:focus,
  2860. .ant-btn-dashed[disabled]:focus,
  2861. .ant-btn-dashed.disabled:active,
  2862. .ant-btn-dashed[disabled]:active,
  2863. .ant-btn-dashed.disabled.active,
  2864. .ant-btn-dashed[disabled].active {
  2865. color: rgba(0, 0, 0, 0.25);
  2866. background-color: #f5f5f5;
  2867. border-color: #d9d9d9;
  2868. box-shadow: none;
  2869. }
  2870. .ant-btn-dashed.disabled > a:only-child,
  2871. .ant-btn-dashed[disabled] > a:only-child,
  2872. .ant-btn-dashed.disabled:hover > a:only-child,
  2873. .ant-btn-dashed[disabled]:hover > a:only-child,
  2874. .ant-btn-dashed.disabled:focus > a:only-child,
  2875. .ant-btn-dashed[disabled]:focus > a:only-child,
  2876. .ant-btn-dashed.disabled:active > a:only-child,
  2877. .ant-btn-dashed[disabled]:active > a:only-child,
  2878. .ant-btn-dashed.disabled.active > a:only-child,
  2879. .ant-btn-dashed[disabled].active > a:only-child {
  2880. color: currentColor;
  2881. }
  2882. .ant-btn-dashed.disabled > a:only-child:after,
  2883. .ant-btn-dashed[disabled] > a:only-child:after,
  2884. .ant-btn-dashed.disabled:hover > a:only-child:after,
  2885. .ant-btn-dashed[disabled]:hover > a:only-child:after,
  2886. .ant-btn-dashed.disabled:focus > a:only-child:after,
  2887. .ant-btn-dashed[disabled]:focus > a:only-child:after,
  2888. .ant-btn-dashed.disabled:active > a:only-child:after,
  2889. .ant-btn-dashed[disabled]:active > a:only-child:after,
  2890. .ant-btn-dashed.disabled.active > a:only-child:after,
  2891. .ant-btn-dashed[disabled].active > a:only-child:after {
  2892. background: transparent;
  2893. }
  2894. .ant-btn-danger {
  2895. color: #f5222d;
  2896. background-color: #f5f5f5;
  2897. border-color: #d9d9d9;
  2898. }
  2899. .ant-btn-danger > a:only-child {
  2900. color: currentColor;
  2901. }
  2902. .ant-btn-danger > a:only-child:after {
  2903. background: transparent;
  2904. }
  2905. .ant-btn-danger:hover {
  2906. color: #fff;
  2907. background-color: #ff4d4f;
  2908. border-color: #ff4d4f;
  2909. }
  2910. .ant-btn-danger:hover > a:only-child {
  2911. color: currentColor;
  2912. }
  2913. .ant-btn-danger:hover > a:only-child:after {
  2914. background: transparent;
  2915. }
  2916. .ant-btn-danger:focus {
  2917. color: #ff4d4f;
  2918. background-color: #fff;
  2919. border-color: #ff4d4f;
  2920. }
  2921. .ant-btn-danger:focus > a:only-child {
  2922. color: currentColor;
  2923. }
  2924. .ant-btn-danger:focus > a:only-child:after {
  2925. background: transparent;
  2926. }
  2927. .ant-btn-danger:active,
  2928. .ant-btn-danger.active {
  2929. color: #fff;
  2930. background-color: #cf1322;
  2931. border-color: #cf1322;
  2932. }
  2933. .ant-btn-danger:active > a:only-child,
  2934. .ant-btn-danger.active > a:only-child {
  2935. color: currentColor;
  2936. }
  2937. .ant-btn-danger:active > a:only-child:after,
  2938. .ant-btn-danger.active > a:only-child:after {
  2939. background: transparent;
  2940. }
  2941. .ant-btn-danger.disabled,
  2942. .ant-btn-danger[disabled],
  2943. .ant-btn-danger.disabled:hover,
  2944. .ant-btn-danger[disabled]:hover,
  2945. .ant-btn-danger.disabled:focus,
  2946. .ant-btn-danger[disabled]:focus,
  2947. .ant-btn-danger.disabled:active,
  2948. .ant-btn-danger[disabled]:active,
  2949. .ant-btn-danger.disabled.active,
  2950. .ant-btn-danger[disabled].active {
  2951. color: rgba(0, 0, 0, 0.25);
  2952. background-color: #f5f5f5;
  2953. border-color: #d9d9d9;
  2954. box-shadow: none;
  2955. }
  2956. .ant-btn-danger.disabled > a:only-child,
  2957. .ant-btn-danger[disabled] > a:only-child,
  2958. .ant-btn-danger.disabled:hover > a:only-child,
  2959. .ant-btn-danger[disabled]:hover > a:only-child,
  2960. .ant-btn-danger.disabled:focus > a:only-child,
  2961. .ant-btn-danger[disabled]:focus > a:only-child,
  2962. .ant-btn-danger.disabled:active > a:only-child,
  2963. .ant-btn-danger[disabled]:active > a:only-child,
  2964. .ant-btn-danger.disabled.active > a:only-child,
  2965. .ant-btn-danger[disabled].active > a:only-child {
  2966. color: currentColor;
  2967. }
  2968. .ant-btn-danger.disabled > a:only-child:after,
  2969. .ant-btn-danger[disabled] > a:only-child:after,
  2970. .ant-btn-danger.disabled:hover > a:only-child:after,
  2971. .ant-btn-danger[disabled]:hover > a:only-child:after,
  2972. .ant-btn-danger.disabled:focus > a:only-child:after,
  2973. .ant-btn-danger[disabled]:focus > a:only-child:after,
  2974. .ant-btn-danger.disabled:active > a:only-child:after,
  2975. .ant-btn-danger[disabled]:active > a:only-child:after,
  2976. .ant-btn-danger.disabled.active > a:only-child:after,
  2977. .ant-btn-danger[disabled].active > a:only-child:after {
  2978. background: transparent;
  2979. }
  2980. .ant-btn-circle,
  2981. .ant-btn-circle-outline {
  2982. border-radius: 50%;
  2983. }
  2984. .ant-btn-circle.ant-btn-lg,
  2985. .ant-btn-circle-outline.ant-btn-lg {
  2986. border-radius: 50%;
  2987. }
  2988. .ant-btn-circle.ant-btn-sm,
  2989. .ant-btn-circle-outline.ant-btn-sm {
  2990. border-radius: 50%;
  2991. }
  2992. .ant-btn:before {
  2993. background: #fff;
  2994. border-radius: inherit;
  2995. }
  2996. .ant-btn-group-lg > .ant-btn,
  2997. .ant-btn-group-lg > span > .ant-btn {
  2998. border-radius: 0;
  2999. }
  3000. .ant-btn-group-sm > .ant-btn,
  3001. .ant-btn-group-sm > span > .ant-btn {
  3002. border-radius: 0;
  3003. }
  3004. .ant-btn-group .ant-btn-primary + .ant-btn:not(.ant-btn-primary):not([disabled]) {
  3005. border-left-color: transparent;
  3006. }
  3007. .ant-btn-group .ant-btn {
  3008. border-radius: 0;
  3009. }
  3010. .ant-btn-group > .ant-btn:only-child {
  3011. border-radius: 4px;
  3012. }
  3013. .ant-btn-group > span:only-child > .ant-btn {
  3014. border-radius: 4px;
  3015. }
  3016. .ant-btn-group > .ant-btn:first-child:not(:last-child),
  3017. .ant-btn-group > span:first-child:not(:last-child) > .ant-btn {
  3018. border-bottom-left-radius: 4px;
  3019. border-top-left-radius: 4px;
  3020. }
  3021. .ant-btn-group > .ant-btn:last-child:not(:first-child),
  3022. .ant-btn-group > span:last-child:not(:first-child) > .ant-btn {
  3023. border-bottom-right-radius: 4px;
  3024. border-top-right-radius: 4px;
  3025. }
  3026. .ant-btn-group-sm > .ant-btn:only-child {
  3027. border-radius: 4px;
  3028. }
  3029. .ant-btn-group-sm > span:only-child > .ant-btn {
  3030. border-radius: 4px;
  3031. }
  3032. .ant-btn-group-sm > .ant-btn:first-child:not(:last-child),
  3033. .ant-btn-group-sm > span:first-child:not(:last-child) > .ant-btn {
  3034. border-bottom-left-radius: 4px;
  3035. border-top-left-radius: 4px;
  3036. }
  3037. .ant-btn-group-sm > .ant-btn:last-child:not(:first-child),
  3038. .ant-btn-group-sm > span:last-child:not(:first-child) > .ant-btn {
  3039. border-bottom-right-radius: 4px;
  3040. border-top-right-radius: 4px;
  3041. }
  3042. .ant-btn-group > .ant-btn-group:not(:first-child):not(:last-child) > .ant-btn {
  3043. border-radius: 0;
  3044. }
  3045. .ant-btn-group > .ant-btn-group:first-child:not(:last-child) > .ant-btn:last-child {
  3046. border-bottom-right-radius: 0;
  3047. border-top-right-radius: 0;
  3048. }
  3049. .ant-btn-group > .ant-btn-group:last-child:not(:first-child) > .ant-btn:first-child {
  3050. border-bottom-left-radius: 0;
  3051. border-top-left-radius: 0;
  3052. }
  3053. .ant-btn-background-ghost {
  3054. background: transparent !important;
  3055. border-color: #fff;
  3056. color: #fff;
  3057. }
  3058. .ant-btn-background-ghost.ant-btn-primary {
  3059. color: @primary-color;
  3060. background-color: transparent;
  3061. border-color: @primary-color;
  3062. }
  3063. .ant-btn-background-ghost.ant-btn-primary > a:only-child {
  3064. color: currentColor;
  3065. }
  3066. .ant-btn-background-ghost.ant-btn-primary > a:only-child:after {
  3067. background: transparent;
  3068. }
  3069. .ant-btn-background-ghost.ant-btn-primary:hover,
  3070. .ant-btn-background-ghost.ant-btn-primary:focus {
  3071. color: color(~`colorPalette("@{primary-color}", 5)`);
  3072. background-color: transparent;
  3073. border-color: color(~`colorPalette("@{primary-color}", 5)`);
  3074. }
  3075. .ant-btn-background-ghost.ant-btn-primary:hover > a:only-child,
  3076. .ant-btn-background-ghost.ant-btn-primary:focus > a:only-child {
  3077. color: currentColor;
  3078. }
  3079. .ant-btn-background-ghost.ant-btn-primary:hover > a:only-child:after,
  3080. .ant-btn-background-ghost.ant-btn-primary:focus > a:only-child:after {
  3081. background: transparent;
  3082. }
  3083. .ant-btn-background-ghost.ant-btn-primary:active,
  3084. .ant-btn-background-ghost.ant-btn-primary.active {
  3085. color: color(~`colorPalette("@{primary-color}", 7)`);
  3086. background-color: transparent;
  3087. border-color: color(~`colorPalette("@{primary-color}", 7)`);
  3088. }
  3089. .ant-btn-background-ghost.ant-btn-primary:active > a:only-child,
  3090. .ant-btn-background-ghost.ant-btn-primary.active > a:only-child {
  3091. color: currentColor;
  3092. }
  3093. .ant-btn-background-ghost.ant-btn-primary:active > a:only-child:after,
  3094. .ant-btn-background-ghost.ant-btn-primary.active > a:only-child:after {
  3095. background: transparent;
  3096. }
  3097. .ant-btn-background-ghost.ant-btn-primary.disabled,
  3098. .ant-btn-background-ghost.ant-btn-primary[disabled],
  3099. .ant-btn-background-ghost.ant-btn-primary.disabled:hover,
  3100. .ant-btn-background-ghost.ant-btn-primary[disabled]:hover,
  3101. .ant-btn-background-ghost.ant-btn-primary.disabled:focus,
  3102. .ant-btn-background-ghost.ant-btn-primary[disabled]:focus,
  3103. .ant-btn-background-ghost.ant-btn-primary.disabled:active,
  3104. .ant-btn-background-ghost.ant-btn-primary[disabled]:active,
  3105. .ant-btn-background-ghost.ant-btn-primary.disabled.active,
  3106. .ant-btn-background-ghost.ant-btn-primary[disabled].active {
  3107. color: rgba(0, 0, 0, 0.25);
  3108. background-color: #f5f5f5;
  3109. border-color: #d9d9d9;
  3110. box-shadow: none;
  3111. }
  3112. .ant-btn-background-ghost.ant-btn-primary.disabled > a:only-child,
  3113. .ant-btn-background-ghost.ant-btn-primary[disabled] > a:only-child,
  3114. .ant-btn-background-ghost.ant-btn-primary.disabled:hover > a:only-child,
  3115. .ant-btn-background-ghost.ant-btn-primary[disabled]:hover > a:only-child,
  3116. .ant-btn-background-ghost.ant-btn-primary.disabled:focus > a:only-child,
  3117. .ant-btn-background-ghost.ant-btn-primary[disabled]:focus > a:only-child,
  3118. .ant-btn-background-ghost.ant-btn-primary.disabled:active > a:only-child,
  3119. .ant-btn-background-ghost.ant-btn-primary[disabled]:active > a:only-child,
  3120. .ant-btn-background-ghost.ant-btn-primary.disabled.active > a:only-child,
  3121. .ant-btn-background-ghost.ant-btn-primary[disabled].active > a:only-child {
  3122. color: currentColor;
  3123. }
  3124. .ant-btn-background-ghost.ant-btn-primary.disabled > a:only-child:after,
  3125. .ant-btn-background-ghost.ant-btn-primary[disabled] > a:only-child:after,
  3126. .ant-btn-background-ghost.ant-btn-primary.disabled:hover > a:only-child:after,
  3127. .ant-btn-background-ghost.ant-btn-primary[disabled]:hover > a:only-child:after,
  3128. .ant-btn-background-ghost.ant-btn-primary.disabled:focus > a:only-child:after,
  3129. .ant-btn-background-ghost.ant-btn-primary[disabled]:focus > a:only-child:after,
  3130. .ant-btn-background-ghost.ant-btn-primary.disabled:active > a:only-child:after,
  3131. .ant-btn-background-ghost.ant-btn-primary[disabled]:active > a:only-child:after,
  3132. .ant-btn-background-ghost.ant-btn-primary.disabled.active > a:only-child:after,
  3133. .ant-btn-background-ghost.ant-btn-primary[disabled].active > a:only-child:after {
  3134. background: transparent;
  3135. }
  3136. .ant-btn-background-ghost.ant-btn-danger {
  3137. color: #f5222d;
  3138. background-color: transparent;
  3139. border-color: #f5222d;
  3140. }
  3141. .ant-btn-background-ghost.ant-btn-danger > a:only-child {
  3142. color: currentColor;
  3143. }
  3144. .ant-btn-background-ghost.ant-btn-danger > a:only-child:after {
  3145. background: transparent;
  3146. }
  3147. .ant-btn-background-ghost.ant-btn-danger:hover,
  3148. .ant-btn-background-ghost.ant-btn-danger:focus {
  3149. color: #ff4d4f;
  3150. background-color: transparent;
  3151. border-color: #ff4d4f;
  3152. }
  3153. .ant-btn-background-ghost.ant-btn-danger:hover > a:only-child,
  3154. .ant-btn-background-ghost.ant-btn-danger:focus > a:only-child {
  3155. color: currentColor;
  3156. }
  3157. .ant-btn-background-ghost.ant-btn-danger:hover > a:only-child:after,
  3158. .ant-btn-background-ghost.ant-btn-danger:focus > a:only-child:after {
  3159. background: transparent;
  3160. }
  3161. .ant-btn-background-ghost.ant-btn-danger:active,
  3162. .ant-btn-background-ghost.ant-btn-danger.active {
  3163. color: #cf1322;
  3164. background-color: transparent;
  3165. border-color: #cf1322;
  3166. }
  3167. .ant-btn-background-ghost.ant-btn-danger:active > a:only-child,
  3168. .ant-btn-background-ghost.ant-btn-danger.active > a:only-child {
  3169. color: currentColor;
  3170. }
  3171. .ant-btn-background-ghost.ant-btn-danger:active > a:only-child:after,
  3172. .ant-btn-background-ghost.ant-btn-danger.active > a:only-child:after {
  3173. background: transparent;
  3174. }
  3175. .ant-btn-background-ghost.ant-btn-danger.disabled,
  3176. .ant-btn-background-ghost.ant-btn-danger[disabled],
  3177. .ant-btn-background-ghost.ant-btn-danger.disabled:hover,
  3178. .ant-btn-background-ghost.ant-btn-danger[disabled]:hover,
  3179. .ant-btn-background-ghost.ant-btn-danger.disabled:focus,
  3180. .ant-btn-background-ghost.ant-btn-danger[disabled]:focus,
  3181. .ant-btn-background-ghost.ant-btn-danger.disabled:active,
  3182. .ant-btn-background-ghost.ant-btn-danger[disabled]:active,
  3183. .ant-btn-background-ghost.ant-btn-danger.disabled.active,
  3184. .ant-btn-background-ghost.ant-btn-danger[disabled].active {
  3185. color: rgba(0, 0, 0, 0.25);
  3186. background-color: #f5f5f5;
  3187. border-color: #d9d9d9;
  3188. box-shadow: none;
  3189. }
  3190. .ant-btn-background-ghost.ant-btn-danger.disabled > a:only-child,
  3191. .ant-btn-background-ghost.ant-btn-danger[disabled] > a:only-child,
  3192. .ant-btn-background-ghost.ant-btn-danger.disabled:hover > a:only-child,
  3193. .ant-btn-background-ghost.ant-btn-danger[disabled]:hover > a:only-child,
  3194. .ant-btn-background-ghost.ant-btn-danger.disabled:focus > a:only-child,
  3195. .ant-btn-background-ghost.ant-btn-danger[disabled]:focus > a:only-child,
  3196. .ant-btn-background-ghost.ant-btn-danger.disabled:active > a:only-child,
  3197. .ant-btn-background-ghost.ant-btn-danger[disabled]:active > a:only-child,
  3198. .ant-btn-background-ghost.ant-btn-danger.disabled.active > a:only-child,
  3199. .ant-btn-background-ghost.ant-btn-danger[disabled].active > a:only-child {
  3200. color: currentColor;
  3201. }
  3202. .ant-btn-background-ghost.ant-btn-danger.disabled > a:only-child:after,
  3203. .ant-btn-background-ghost.ant-btn-danger[disabled] > a:only-child:after,
  3204. .ant-btn-background-ghost.ant-btn-danger.disabled:hover > a:only-child:after,
  3205. .ant-btn-background-ghost.ant-btn-danger[disabled]:hover > a:only-child:after,
  3206. .ant-btn-background-ghost.ant-btn-danger.disabled:focus > a:only-child:after,
  3207. .ant-btn-background-ghost.ant-btn-danger[disabled]:focus > a:only-child:after,
  3208. .ant-btn-background-ghost.ant-btn-danger.disabled:active > a:only-child:after,
  3209. .ant-btn-background-ghost.ant-btn-danger[disabled]:active > a:only-child:after,
  3210. .ant-btn-background-ghost.ant-btn-danger.disabled.active > a:only-child:after,
  3211. .ant-btn-background-ghost.ant-btn-danger[disabled].active > a:only-child:after {
  3212. background: transparent;
  3213. }
  3214. .christmas.ant-btn-primary:before {
  3215. 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;
  3216. background-size: 64px;
  3217. }
  3218. .christmas.ant-btn-primary.ant-btn-lg:before {
  3219. background-size: 72px;
  3220. }
  3221. .christmas.ant-btn-primary.ant-btn-sm:before {
  3222. background-size: 56px;
  3223. }
  3224. .ant-fullcalendar {
  3225. color: rgba(0, 0, 0, 0.65);
  3226. border-top: 1px solid #d9d9d9;
  3227. }
  3228. .ant-fullcalendar table {
  3229. border-collapse: collapse;
  3230. background-color: transparent;
  3231. }
  3232. .ant-fullcalendar table,
  3233. .ant-fullcalendar th,
  3234. .ant-fullcalendar td {
  3235. border: 0;
  3236. }
  3237. .ant-fullcalendar-calendar-table {
  3238. border-spacing: 0;
  3239. }
  3240. .ant-fullcalendar-value {
  3241. color: rgba(0, 0, 0, 0.65);
  3242. border-radius: 2px;
  3243. background: transparent;
  3244. }
  3245. .ant-fullcalendar-value:hover {
  3246. background: color(~`colorPalette("@{primary-color}", 1)`);
  3247. }
  3248. .ant-fullcalendar-value:active {
  3249. background: @primary-color;
  3250. color: #fff;
  3251. }
  3252. .ant-fullcalendar-today .ant-fullcalendar-value,
  3253. .ant-fullcalendar-month-panel-current-cell .ant-fullcalendar-value {
  3254. box-shadow: 0 0 0 1px @primary-color inset;
  3255. }
  3256. .ant-fullcalendar-selected-day .ant-fullcalendar-value,
  3257. .ant-fullcalendar-month-panel-selected-cell .ant-fullcalendar-value {
  3258. background: @primary-color;
  3259. color: #fff;
  3260. }
  3261. .ant-fullcalendar-disabled-cell-first-of-row .ant-fullcalendar-value {
  3262. border-top-left-radius: 4px;
  3263. border-bottom-left-radius: 4px;
  3264. }
  3265. .ant-fullcalendar-disabled-cell-last-of-row .ant-fullcalendar-value {
  3266. border-top-right-radius: 4px;
  3267. border-bottom-right-radius: 4px;
  3268. }
  3269. .ant-fullcalendar-last-month-cell .ant-fullcalendar-value,
  3270. .ant-fullcalendar-next-month-btn-day .ant-fullcalendar-value {
  3271. color: rgba(0, 0, 0, 0.25);
  3272. }
  3273. .ant-fullcalendar-month-panel-table {
  3274. border-collapse: separate;
  3275. }
  3276. .ant-fullcalendar-fullscreen {
  3277. border-top: 0;
  3278. }
  3279. .ant-fullcalendar-fullscreen .ant-fullcalendar-month,
  3280. .ant-fullcalendar-fullscreen .ant-fullcalendar-date {
  3281. color: rgba(0, 0, 0, 0.65);
  3282. border-top: 2px solid #e8e8e8;
  3283. }
  3284. .ant-fullcalendar-fullscreen .ant-fullcalendar-month:hover,
  3285. .ant-fullcalendar-fullscreen .ant-fullcalendar-date:hover {
  3286. background: color(~`colorPalette("@{primary-color}", 1)`);
  3287. }
  3288. .ant-fullcalendar-fullscreen .ant-fullcalendar-month:active,
  3289. .ant-fullcalendar-fullscreen .ant-fullcalendar-date:active {
  3290. background: color(~`colorPalette("@{primary-color}", 2)`);
  3291. }
  3292. .ant-fullcalendar-fullscreen .ant-fullcalendar-value {
  3293. background: transparent;
  3294. }
  3295. .ant-fullcalendar-fullscreen .ant-fullcalendar-today .ant-fullcalendar-value {
  3296. color: rgba(0, 0, 0, 0.65);
  3297. }
  3298. .ant-fullcalendar-fullscreen .ant-fullcalendar-month-panel-current-cell .ant-fullcalendar-month,
  3299. .ant-fullcalendar-fullscreen .ant-fullcalendar-today .ant-fullcalendar-date {
  3300. border-top-color: @primary-color;
  3301. background: transparent;
  3302. }
  3303. .ant-fullcalendar-fullscreen .ant-fullcalendar-month-panel-current-cell .ant-fullcalendar-value,
  3304. .ant-fullcalendar-fullscreen .ant-fullcalendar-today .ant-fullcalendar-value {
  3305. box-shadow: none;
  3306. }
  3307. .ant-fullcalendar-fullscreen .ant-fullcalendar-month-panel-selected-cell .ant-fullcalendar-month,
  3308. .ant-fullcalendar-fullscreen .ant-fullcalendar-selected-day .ant-fullcalendar-date {
  3309. background: color(~`colorPalette("@{primary-color}", 1)`);
  3310. }
  3311. .ant-fullcalendar-fullscreen .ant-fullcalendar-month-panel-selected-cell .ant-fullcalendar-value,
  3312. .ant-fullcalendar-fullscreen .ant-fullcalendar-selected-day .ant-fullcalendar-value {
  3313. color: @primary-color;
  3314. }
  3315. .ant-fullcalendar-fullscreen .ant-fullcalendar-last-month-cell .ant-fullcalendar-date,
  3316. .ant-fullcalendar-fullscreen .ant-fullcalendar-next-month-btn-day .ant-fullcalendar-date {
  3317. color: rgba(0, 0, 0, 0.25);
  3318. }
  3319. .ant-fullcalendar-disabled-cell:not(.ant-fullcalendar-today) .ant-fullcalendar-date,
  3320. .ant-fullcalendar-disabled-cell:not(.ant-fullcalendar-today) .ant-fullcalendar-date:hover {
  3321. background: transparent;
  3322. }
  3323. .ant-fullcalendar-disabled-cell .ant-fullcalendar-value {
  3324. color: rgba(0, 0, 0, 0.25);
  3325. border-radius: 0;
  3326. }
  3327. .ant-card {
  3328. color: rgba(0, 0, 0, 0.65);
  3329. background: #fff;
  3330. border-radius: 2px;
  3331. }
  3332. .ant-card-hoverable:hover {
  3333. box-shadow: 0 2px 8px rgba(0, 0, 0, 0.09);
  3334. border-color: rgba(0, 0, 0, 0.09);
  3335. }
  3336. .ant-card-bordered {
  3337. border: 1px solid #e8e8e8;
  3338. }
  3339. .ant-card-head {
  3340. background: transparent;
  3341. border-bottom: 1px solid #e8e8e8;
  3342. border-radius: 2px 2px 0 0;
  3343. color: rgba(0, 0, 0, 0.85);
  3344. }
  3345. .ant-card-head .ant-tabs {
  3346. color: rgba(0, 0, 0, 0.65);
  3347. }
  3348. .ant-card-head .ant-tabs-bar {
  3349. border-bottom: 1px solid #e8e8e8;
  3350. }
  3351. .ant-card-extra {
  3352. color: rgba(0, 0, 0, 0.65);
  3353. }
  3354. .ant-card-grid {
  3355. border-radius: 0;
  3356. border: 0;
  3357. 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;
  3358. }
  3359. .ant-card-grid:hover {
  3360. box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  3361. }
  3362. .ant-card-cover img {
  3363. border-radius: 2px 2px 0 0;
  3364. }
  3365. .ant-card-actions {
  3366. border-top: 1px solid #e8e8e8;
  3367. background: #fafafa;
  3368. }
  3369. .ant-card-actions > li {
  3370. color: rgba(0, 0, 0, 0.45);
  3371. }
  3372. .ant-card-actions > li > span:hover {
  3373. color: @primary-color;
  3374. }
  3375. .ant-card-actions > li > span a {
  3376. color: rgba(0, 0, 0, 0.45);
  3377. }
  3378. .ant-card-actions > li > span a:hover {
  3379. color: @primary-color;
  3380. }
  3381. .ant-card-actions > li:not(:last-child) {
  3382. border-right: 1px solid #e8e8e8;
  3383. }
  3384. .ant-card-type-inner .ant-card-head {
  3385. background: #fafafa;
  3386. }
  3387. .ant-card-meta-title {
  3388. color: rgba(0, 0, 0, 0.85);
  3389. }
  3390. .ant-card-meta-description {
  3391. color: rgba(0, 0, 0, 0.45);
  3392. }
  3393. .ant-card-loading-block {
  3394. border-radius: 2px;
  3395. background: linear-gradient(90deg, rgba(207, 216, 220, 0.2), rgba(207, 216, 220, 0.4), rgba(207, 216, 220, 0.2));
  3396. background-size: 600% 600%;
  3397. }
  3398. .ant-carousel {
  3399. color: rgba(0, 0, 0, 0.65);
  3400. }
  3401. .ant-carousel .slick-slider {
  3402. -webkit-tap-highlight-color: transparent;
  3403. }
  3404. .ant-carousel .slick-vertical .slick-slide {
  3405. border: 1px solid transparent;
  3406. }
  3407. .ant-carousel .slick-prev,
  3408. .ant-carousel .slick-next {
  3409. background: transparent;
  3410. color: transparent;
  3411. border: 0;
  3412. }
  3413. .ant-carousel .slick-prev:hover,
  3414. .ant-carousel .slick-next:hover,
  3415. .ant-carousel .slick-prev:focus,
  3416. .ant-carousel .slick-next:focus {
  3417. background: transparent;
  3418. color: transparent;
  3419. }
  3420. .ant-carousel .slick-dots li button {
  3421. border: 0;
  3422. background: #fff;
  3423. border-radius: 1px;
  3424. color: transparent;
  3425. }
  3426. .ant-carousel .slick-dots li.slick-active button {
  3427. background: #fff;
  3428. }
  3429. .ant-cascader {
  3430. color: rgba(0, 0, 0, 0.65);
  3431. }
  3432. .ant-cascader-input.ant-input {
  3433. background-color: transparent !important;
  3434. }
  3435. .ant-cascader-picker {
  3436. color: rgba(0, 0, 0, 0.65);
  3437. background-color: #fff;
  3438. border-radius: 4px;
  3439. }
  3440. .ant-cascader-picker-with-value .ant-cascader-picker-label {
  3441. color: transparent;
  3442. }
  3443. .ant-cascader-picker-disabled {
  3444. background: #f5f5f5;
  3445. color: rgba(0, 0, 0, 0.25);
  3446. }
  3447. .ant-cascader-picker:focus .ant-cascader-input {
  3448. border-color: color(~`colorPalette("@{primary-color}", 5)`);
  3449. box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
  3450. border-right-width: 1px !important;
  3451. }
  3452. .ant-cascader-picker-show-search.ant-cascader-picker-focused {
  3453. color: rgba(0, 0, 0, 0.25);
  3454. }
  3455. .ant-cascader-picker-clear {
  3456. background: #fff;
  3457. color: rgba(0, 0, 0, 0.25);
  3458. }
  3459. .ant-cascader-picker-clear:hover {
  3460. color: rgba(0, 0, 0, 0.45);
  3461. }
  3462. .ant-cascader-picker-arrow {
  3463. color: rgba(0, 0, 0, 0.25);
  3464. }
  3465. .ant-cascader-menus {
  3466. background: #fff;
  3467. border-radius: 4px;
  3468. box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  3469. }
  3470. .ant-cascader-menu {
  3471. border-right: 1px solid #e8e8e8;
  3472. }
  3473. .ant-cascader-menu:first-child {
  3474. border-radius: 4px 0 0 4px;
  3475. }
  3476. .ant-cascader-menu:last-child {
  3477. border-right-color: transparent;
  3478. border-radius: 0 4px 4px 0;
  3479. }
  3480. .ant-cascader-menu:only-child {
  3481. border-radius: 4px;
  3482. }
  3483. .ant-cascader-menu-item:hover {
  3484. background: color(~`colorPalette("@{primary-color}", 1)`);
  3485. }
  3486. .ant-cascader-menu-item-disabled {
  3487. color: rgba(0, 0, 0, 0.25);
  3488. }
  3489. .ant-cascader-menu-item-disabled:hover {
  3490. background: transparent;
  3491. }
  3492. .ant-cascader-menu-item-active:not(.ant-cascader-menu-item-disabled),
  3493. .ant-cascader-menu-item-active:not(.ant-cascader-menu-item-disabled):hover {
  3494. background: #f5f5f5;
  3495. }
  3496. .ant-cascader-menu-item-expand .ant-cascader-menu-item-expand-icon,
  3497. .ant-cascader-menu-item-expand .ant-cascader-menu-item-loading-icon {
  3498. color: rgba(0, 0, 0, 0.45);
  3499. }
  3500. .ant-cascader-menu-item .ant-cascader-menu-item-keyword {
  3501. color: #f5222d;
  3502. }
  3503. .ant-checkbox {
  3504. color: rgba(0, 0, 0, 0.65);
  3505. }
  3506. .ant-checkbox-wrapper:hover .ant-checkbox-inner,
  3507. .ant-checkbox:hover .ant-checkbox-inner,
  3508. .ant-checkbox-input:focus + .ant-checkbox-inner {
  3509. border-color: @primary-color;
  3510. }
  3511. .ant-checkbox-checked:after {
  3512. border-radius: 2px;
  3513. border: 1px solid @primary-color;
  3514. }
  3515. .ant-checkbox-inner {
  3516. border: 1px solid #d9d9d9;
  3517. border-radius: 2px;
  3518. background-color: #fff;
  3519. }
  3520. .ant-checkbox-inner:after {
  3521. border: 2px solid #fff;
  3522. border-top: 0;
  3523. border-left: 0;
  3524. }
  3525. .ant-checkbox-indeterminate .ant-checkbox-inner:after {
  3526. border: 0;
  3527. background-color: @primary-color;
  3528. }
  3529. .ant-checkbox-indeterminate.ant-checkbox-disabled .ant-checkbox-inner:after {
  3530. border-color: rgba(0, 0, 0, 0.25);
  3531. }
  3532. .ant-checkbox-checked .ant-checkbox-inner:after {
  3533. border: 2px solid #fff;
  3534. border-top: 0;
  3535. border-left: 0;
  3536. }
  3537. .ant-checkbox-checked .ant-checkbox-inner {
  3538. background-color: @primary-color;
  3539. border-color: @primary-color;
  3540. }
  3541. .ant-checkbox-disabled.ant-checkbox-checked .ant-checkbox-inner:after {
  3542. border-color: rgba(0, 0, 0, 0.25);
  3543. }
  3544. .ant-checkbox-disabled .ant-checkbox-inner {
  3545. border-color: #d9d9d9 !important;
  3546. background-color: #f5f5f5;
  3547. }
  3548. .ant-checkbox-disabled .ant-checkbox-inner:after {
  3549. border-color: #f5f5f5;
  3550. }
  3551. .ant-checkbox-disabled + span {
  3552. color: rgba(0, 0, 0, 0.25);
  3553. }
  3554. .ant-checkbox-wrapper {
  3555. color: rgba(0, 0, 0, 0.65);
  3556. }
  3557. .ant-checkbox-group {
  3558. color: rgba(0, 0, 0, 0.65);
  3559. }
  3560. .ant-collapse {
  3561. color: rgba(0, 0, 0, 0.65);
  3562. background-color: #fafafa;
  3563. border-radius: 4px;
  3564. border: 1px solid #d9d9d9;
  3565. border-bottom: 0;
  3566. }
  3567. .ant-collapse > .ant-collapse-item {
  3568. border-bottom: 1px solid #d9d9d9;
  3569. }
  3570. .ant-collapse > .ant-collapse-item:last-child,
  3571. .ant-collapse > .ant-collapse-item:last-child > .ant-collapse-header {
  3572. border-radius: 0 0 4px 4px;
  3573. }
  3574. .ant-collapse > .ant-collapse-item > .ant-collapse-header {
  3575. color: rgba(0, 0, 0, 0.85);
  3576. }
  3577. .ant-collapse-content {
  3578. color: rgba(0, 0, 0, 0.65);
  3579. background-color: #fff;
  3580. border-top: 1px solid #d9d9d9;
  3581. }
  3582. .ant-collapse-item:last-child > .ant-collapse-content {
  3583. border-radius: 0 0 4px 4px;
  3584. }
  3585. .ant-collapse-borderless {
  3586. background-color: #fff;
  3587. border: 0;
  3588. }
  3589. .ant-collapse-borderless > .ant-collapse-item {
  3590. border-bottom: 1px solid #d9d9d9;
  3591. }
  3592. .ant-collapse-borderless > .ant-collapse-item:last-child,
  3593. .ant-collapse-borderless > .ant-collapse-item:last-child .ant-collapse-header {
  3594. border-radius: 0;
  3595. }
  3596. .ant-collapse-borderless > .ant-collapse-item > .ant-collapse-content {
  3597. background-color: transparent;
  3598. border-top: 0;
  3599. }
  3600. .ant-collapse .ant-collapse-item-disabled > .ant-collapse-header,
  3601. .ant-collapse .ant-collapse-item-disabled > .ant-collapse-header > .arrow {
  3602. color: rgba(0, 0, 0, 0.25);
  3603. }
  3604. .ant-calendar-picker-container {
  3605. color: rgba(0, 0, 0, 0.65);
  3606. }
  3607. .ant-calendar-picker {
  3608. color: rgba(0, 0, 0, 0.65);
  3609. }
  3610. .ant-calendar-picker:hover .ant-calendar-picker-input:not(.ant-input-disabled) {
  3611. border-color: @primary-color;
  3612. }
  3613. .ant-calendar-picker:focus .ant-calendar-picker-input:not(.ant-input-disabled) {
  3614. border-color: color(~`colorPalette("@{primary-color}", 5)`);
  3615. box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
  3616. border-right-width: 1px !important;
  3617. }
  3618. .ant-calendar-picker-clear {
  3619. color: rgba(0, 0, 0, 0.25);
  3620. background: #fff;
  3621. }
  3622. .ant-calendar-picker-clear:hover {
  3623. color: rgba(0, 0, 0, 0.45);
  3624. }
  3625. .ant-calendar-picker-icon {
  3626. color: rgba(0, 0, 0, 0.25);
  3627. }
  3628. .ant-calendar {
  3629. border: 1px solid #fff;
  3630. background-color: #fff;
  3631. border-radius: 4px;
  3632. box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  3633. background-clip: padding-box;
  3634. }
  3635. .ant-calendar-input-wrap {
  3636. border-bottom: 1px solid #e8e8e8;
  3637. }
  3638. .ant-calendar-input {
  3639. border: 0;
  3640. color: rgba(0, 0, 0, 0.65);
  3641. background: #fff;
  3642. }
  3643. .ant-calendar-input::-moz-placeholder {
  3644. color: #bfbfbf;
  3645. }
  3646. .ant-calendar-input:-ms-input-placeholder {
  3647. color: #bfbfbf;
  3648. }
  3649. .ant-calendar-input::-webkit-input-placeholder {
  3650. color: #bfbfbf;
  3651. }
  3652. .ant-calendar-header {
  3653. border-bottom: 1px solid #e8e8e8;
  3654. }
  3655. .ant-calendar-header a:hover {
  3656. color: color(~`colorPalette("@{primary-color}", 5)`);
  3657. }
  3658. .ant-calendar-header .ant-calendar-century-select,
  3659. .ant-calendar-header .ant-calendar-decade-select,
  3660. .ant-calendar-header .ant-calendar-year-select,
  3661. .ant-calendar-header .ant-calendar-month-select {
  3662. color: rgba(0, 0, 0, 0.85);
  3663. }
  3664. .ant-calendar-header .ant-calendar-prev-century-btn,
  3665. .ant-calendar-header .ant-calendar-next-century-btn,
  3666. .ant-calendar-header .ant-calendar-prev-decade-btn,
  3667. .ant-calendar-header .ant-calendar-next-decade-btn,
  3668. .ant-calendar-header .ant-calendar-prev-month-btn,
  3669. .ant-calendar-header .ant-calendar-next-month-btn,
  3670. .ant-calendar-header .ant-calendar-prev-year-btn,
  3671. .ant-calendar-header .ant-calendar-next-year-btn {
  3672. color: rgba(0, 0, 0, 0.45);
  3673. }
  3674. .ant-calendar table {
  3675. border-collapse: collapse;
  3676. background-color: transparent;
  3677. }
  3678. .ant-calendar table,
  3679. .ant-calendar th,
  3680. .ant-calendar td {
  3681. border: 0;
  3682. }
  3683. .ant-calendar-calendar-table {
  3684. border-spacing: 0;
  3685. }
  3686. .ant-calendar-date {
  3687. color: rgba(0, 0, 0, 0.65);
  3688. border-radius: 2px;
  3689. border: 1px solid transparent;
  3690. background: transparent;
  3691. }
  3692. .ant-calendar-date:hover {
  3693. background: color(~`colorPalette("@{primary-color}", 1)`);
  3694. }
  3695. .ant-calendar-date:active {
  3696. color: #fff;
  3697. background: color(~`colorPalette("@{primary-color}", 5)`);
  3698. }
  3699. .ant-calendar-today .ant-calendar-date {
  3700. border-color: @primary-color;
  3701. color: @primary-color;
  3702. }
  3703. .ant-calendar-last-month-cell .ant-calendar-date,
  3704. .ant-calendar-next-month-btn-day .ant-calendar-date {
  3705. color: rgba(0, 0, 0, 0.25);
  3706. }
  3707. .ant-calendar-selected-day .ant-calendar-date {
  3708. background: #d1e9ff;
  3709. }
  3710. .ant-calendar-selected-date .ant-calendar-date,
  3711. .ant-calendar-selected-start-date .ant-calendar-date,
  3712. .ant-calendar-selected-end-date .ant-calendar-date {
  3713. background: @primary-color;
  3714. color: #fff;
  3715. border: 1px solid transparent;
  3716. }
  3717. .ant-calendar-selected-date .ant-calendar-date:hover,
  3718. .ant-calendar-selected-start-date .ant-calendar-date:hover,
  3719. .ant-calendar-selected-end-date .ant-calendar-date:hover {
  3720. background: @primary-color;
  3721. }
  3722. .ant-calendar-disabled-cell .ant-calendar-date {
  3723. color: #bcbcbc;
  3724. background: #f5f5f5;
  3725. border-radius: 0;
  3726. border: 1px solid transparent;
  3727. }
  3728. .ant-calendar-disabled-cell .ant-calendar-date:hover {
  3729. background: #f5f5f5;
  3730. }
  3731. .ant-calendar-disabled-cell.ant-calendar-today .ant-calendar-date:before {
  3732. border: 1px solid #bcbcbc;
  3733. border-radius: 2px;
  3734. }
  3735. .ant-calendar-disabled-cell-first-of-row .ant-calendar-date {
  3736. border-top-left-radius: 4px;
  3737. border-bottom-left-radius: 4px;
  3738. }
  3739. .ant-calendar-disabled-cell-last-of-row .ant-calendar-date {
  3740. border-top-right-radius: 4px;
  3741. border-bottom-right-radius: 4px;
  3742. }
  3743. .ant-calendar-footer {
  3744. border-top: 1px solid #e8e8e8;
  3745. }
  3746. .ant-calendar-footer:empty {
  3747. border-top: 0;
  3748. }
  3749. .ant-calendar .ant-calendar-today-btn-disabled,
  3750. .ant-calendar .ant-calendar-clear-btn-disabled {
  3751. color: rgba(0, 0, 0, 0.25);
  3752. }
  3753. .ant-calendar .ant-calendar-clear-btn:after {
  3754. color: rgba(0, 0, 0, 0.25);
  3755. }
  3756. .ant-calendar .ant-calendar-clear-btn:hover:after {
  3757. color: rgba(0, 0, 0, 0.45);
  3758. }
  3759. .ant-calendar .ant-calendar-ok-btn {
  3760. background-image: none;
  3761. border: 1px solid transparent;
  3762. box-shadow: 0 2px 0 rgba(0, 0, 0, 0.015);
  3763. color: #fff;
  3764. background-color: @primary-color;
  3765. border-color: @primary-color;
  3766. box-shadow: 0 2px 0 rgba(0, 0, 0, 0.035);
  3767. border-radius: 4px;
  3768. }
  3769. .ant-calendar .ant-calendar-ok-btn:not([disabled]):active {
  3770. box-shadow: none;
  3771. }
  3772. .ant-calendar .ant-calendar-ok-btn-lg {
  3773. border-radius: 4px;
  3774. }
  3775. .ant-calendar .ant-calendar-ok-btn-sm {
  3776. border-radius: 4px;
  3777. }
  3778. .ant-calendar .ant-calendar-ok-btn > a:only-child {
  3779. color: currentColor;
  3780. }
  3781. .ant-calendar .ant-calendar-ok-btn > a:only-child:after {
  3782. background: transparent;
  3783. }
  3784. .ant-calendar .ant-calendar-ok-btn:hover,
  3785. .ant-calendar .ant-calendar-ok-btn:focus {
  3786. color: #fff;
  3787. background-color: color(~`colorPalette("@{primary-color}", 5)`);
  3788. border-color: color(~`colorPalette("@{primary-color}", 5)`);
  3789. }
  3790. .ant-calendar .ant-calendar-ok-btn:hover > a:only-child,
  3791. .ant-calendar .ant-calendar-ok-btn:focus > a:only-child {
  3792. color: currentColor;
  3793. }
  3794. .ant-calendar .ant-calendar-ok-btn:hover > a:only-child:after,
  3795. .ant-calendar .ant-calendar-ok-btn:focus > a:only-child:after {
  3796. background: transparent;
  3797. }
  3798. .ant-calendar .ant-calendar-ok-btn:active,
  3799. .ant-calendar .ant-calendar-ok-btn.active {
  3800. color: #fff;
  3801. background-color: color(~`colorPalette("@{primary-color}", 7)`);
  3802. border-color: color(~`colorPalette("@{primary-color}", 7)`);
  3803. }
  3804. .ant-calendar .ant-calendar-ok-btn:active > a:only-child,
  3805. .ant-calendar .ant-calendar-ok-btn.active > a:only-child {
  3806. color: currentColor;
  3807. }
  3808. .ant-calendar .ant-calendar-ok-btn:active > a:only-child:after,
  3809. .ant-calendar .ant-calendar-ok-btn.active > a:only-child:after {
  3810. background: transparent;
  3811. }
  3812. .ant-calendar .ant-calendar-ok-btn.disabled,
  3813. .ant-calendar .ant-calendar-ok-btn[disabled],
  3814. .ant-calendar .ant-calendar-ok-btn.disabled:hover,
  3815. .ant-calendar .ant-calendar-ok-btn[disabled]:hover,
  3816. .ant-calendar .ant-calendar-ok-btn.disabled:focus,
  3817. .ant-calendar .ant-calendar-ok-btn[disabled]:focus,
  3818. .ant-calendar .ant-calendar-ok-btn.disabled:active,
  3819. .ant-calendar .ant-calendar-ok-btn[disabled]:active,
  3820. .ant-calendar .ant-calendar-ok-btn.disabled.active,
  3821. .ant-calendar .ant-calendar-ok-btn[disabled].active {
  3822. color: rgba(0, 0, 0, 0.25);
  3823. background-color: #f5f5f5;
  3824. border-color: #d9d9d9;
  3825. box-shadow: none;
  3826. }
  3827. .ant-calendar .ant-calendar-ok-btn.disabled > a:only-child,
  3828. .ant-calendar .ant-calendar-ok-btn[disabled] > a:only-child,
  3829. .ant-calendar .ant-calendar-ok-btn.disabled:hover > a:only-child,
  3830. .ant-calendar .ant-calendar-ok-btn[disabled]:hover > a:only-child,
  3831. .ant-calendar .ant-calendar-ok-btn.disabled:focus > a:only-child,
  3832. .ant-calendar .ant-calendar-ok-btn[disabled]:focus > a:only-child,
  3833. .ant-calendar .ant-calendar-ok-btn.disabled:active > a:only-child,
  3834. .ant-calendar .ant-calendar-ok-btn[disabled]:active > a:only-child,
  3835. .ant-calendar .ant-calendar-ok-btn.disabled.active > a:only-child,
  3836. .ant-calendar .ant-calendar-ok-btn[disabled].active > a:only-child {
  3837. color: currentColor;
  3838. }
  3839. .ant-calendar .ant-calendar-ok-btn.disabled > a:only-child:after,
  3840. .ant-calendar .ant-calendar-ok-btn[disabled] > a:only-child:after,
  3841. .ant-calendar .ant-calendar-ok-btn.disabled:hover > a:only-child:after,
  3842. .ant-calendar .ant-calendar-ok-btn[disabled]:hover > a:only-child:after,
  3843. .ant-calendar .ant-calendar-ok-btn.disabled:focus > a:only-child:after,
  3844. .ant-calendar .ant-calendar-ok-btn[disabled]:focus > a:only-child:after,
  3845. .ant-calendar .ant-calendar-ok-btn.disabled:active > a:only-child:after,
  3846. .ant-calendar .ant-calendar-ok-btn[disabled]:active > a:only-child:after,
  3847. .ant-calendar .ant-calendar-ok-btn.disabled.active > a:only-child:after,
  3848. .ant-calendar .ant-calendar-ok-btn[disabled].active > a:only-child:after {
  3849. background: transparent;
  3850. }
  3851. .ant-calendar .ant-calendar-ok-btn-disabled {
  3852. color: rgba(0, 0, 0, 0.25);
  3853. background-color: #f5f5f5;
  3854. border-color: #d9d9d9;
  3855. }
  3856. .ant-calendar .ant-calendar-ok-btn-disabled > a:only-child {
  3857. color: currentColor;
  3858. }
  3859. .ant-calendar .ant-calendar-ok-btn-disabled > a:only-child:after {
  3860. background: transparent;
  3861. }
  3862. .ant-calendar .ant-calendar-ok-btn-disabled:hover {
  3863. color: rgba(0, 0, 0, 0.25);
  3864. background-color: #f5f5f5;
  3865. border-color: #d9d9d9;
  3866. }
  3867. .ant-calendar .ant-calendar-ok-btn-disabled:hover > a:only-child {
  3868. color: currentColor;
  3869. }
  3870. .ant-calendar .ant-calendar-ok-btn-disabled:hover > a:only-child:after {
  3871. background: transparent;
  3872. }
  3873. .ant-calendar-range-picker-input {
  3874. background-color: transparent;
  3875. border: 0;
  3876. }
  3877. .ant-calendar-range-picker-input::-moz-placeholder {
  3878. color: #bfbfbf;
  3879. }
  3880. .ant-calendar-range-picker-input:-ms-input-placeholder {
  3881. color: #bfbfbf;
  3882. }
  3883. .ant-calendar-range-picker-input::-webkit-input-placeholder {
  3884. color: #bfbfbf;
  3885. }
  3886. .ant-calendar-range-picker-separator {
  3887. color: rgba(0, 0, 0, 0.45);
  3888. }
  3889. .ant-calendar-range-left .ant-calendar-time-picker-inner {
  3890. border-right: 1px solid #e8e8e8;
  3891. }
  3892. .ant-calendar-range-right .ant-calendar-time-picker-inner {
  3893. border-left: 1px solid #e8e8e8;
  3894. }
  3895. .ant-calendar-range-middle {
  3896. color: rgba(0, 0, 0, 0.45);
  3897. }
  3898. .ant-calendar-range .ant-calendar-input,
  3899. .ant-calendar-range .ant-calendar-time-picker-input {
  3900. color: rgba(0, 0, 0, 0.65);
  3901. background-color: #fff;
  3902. background-image: none;
  3903. border: 1px solid #d9d9d9;
  3904. border-radius: 4px;
  3905. border: 0;
  3906. box-shadow: none;
  3907. }
  3908. .ant-calendar-range .ant-calendar-input::-moz-placeholder,
  3909. .ant-calendar-range .ant-calendar-time-picker-input::-moz-placeholder {
  3910. color: #bfbfbf;
  3911. }
  3912. .ant-calendar-range .ant-calendar-input:-ms-input-placeholder,
  3913. .ant-calendar-range .ant-calendar-time-picker-input:-ms-input-placeholder {
  3914. color: #bfbfbf;
  3915. }
  3916. .ant-calendar-range .ant-calendar-input::-webkit-input-placeholder,
  3917. .ant-calendar-range .ant-calendar-time-picker-input::-webkit-input-placeholder {
  3918. color: #bfbfbf;
  3919. }
  3920. .ant-calendar-range .ant-calendar-input:hover,
  3921. .ant-calendar-range .ant-calendar-time-picker-input:hover {
  3922. border-color: color(~`colorPalette("@{primary-color}", 5)`);
  3923. border-right-width: 1px !important;
  3924. }
  3925. .ant-calendar-range .ant-calendar-input:focus,
  3926. .ant-calendar-range .ant-calendar-time-picker-input:focus {
  3927. border-color: color(~`colorPalette("@{primary-color}", 5)`);
  3928. box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
  3929. border-right-width: 1px !important;
  3930. }
  3931. .ant-calendar-range .ant-calendar-input-disabled,
  3932. .ant-calendar-range .ant-calendar-time-picker-input-disabled {
  3933. background-color: #f5f5f5;
  3934. color: rgba(0, 0, 0, 0.25);
  3935. }
  3936. .ant-calendar-range .ant-calendar-input-disabled:hover,
  3937. .ant-calendar-range .ant-calendar-time-picker-input-disabled:hover {
  3938. border-color: #e6d8d8;
  3939. border-right-width: 1px !important;
  3940. }
  3941. .ant-calendar-range .ant-calendar-input:focus,
  3942. .ant-calendar-range .ant-calendar-time-picker-input:focus {
  3943. box-shadow: none;
  3944. }
  3945. .ant-calendar-range .ant-calendar-in-range-cell {
  3946. border-radius: 0;
  3947. }
  3948. .ant-calendar-range .ant-calendar-in-range-cell:before {
  3949. background: color(~`colorPalette("@{primary-color}", 1)`);
  3950. border-radius: 0;
  3951. border: 0;
  3952. }
  3953. .ant-calendar-range .ant-calendar-header,
  3954. .ant-calendar-range .ant-calendar-month-panel-header,
  3955. .ant-calendar-range .ant-calendar-year-panel-header {
  3956. border-bottom: 0;
  3957. }
  3958. .ant-calendar-range .ant-calendar-body,
  3959. .ant-calendar-range .ant-calendar-month-panel-body,
  3960. .ant-calendar-range .ant-calendar-year-panel-body {
  3961. border-top: 1px solid #e8e8e8;
  3962. }
  3963. .ant-calendar-range.ant-calendar-time .ant-calendar-time-picker-inner {
  3964. background: none;
  3965. }
  3966. .ant-calendar-range.ant-calendar-time .ant-calendar-time-picker-combobox {
  3967. background-color: #fff;
  3968. border-top: 1px solid #e8e8e8;
  3969. }
  3970. .ant-calendar-range.ant-calendar-show-time-picker .ant-calendar-body {
  3971. border-top-color: transparent;
  3972. }
  3973. .ant-calendar-time-picker {
  3974. background-color: #fff;
  3975. }
  3976. .ant-calendar-time-picker-inner {
  3977. background-color: #fff;
  3978. background-clip: padding-box;
  3979. }
  3980. .ant-calendar-time-picker-select {
  3981. border-right: 1px solid #e8e8e8;
  3982. }
  3983. .ant-calendar-time-picker-select:first-child {
  3984. border-left: 0;
  3985. }
  3986. .ant-calendar-time-picker-select:last-child {
  3987. border-right: 0;
  3988. }
  3989. .ant-calendar-time-picker-select li:hover {
  3990. background: color(~`colorPalette("@{primary-color}", 1)`);
  3991. }
  3992. li.ant-calendar-time-picker-select-option-selected {
  3993. background: #f5f5f5;
  3994. }
  3995. li.ant-calendar-time-picker-select-option-disabled {
  3996. color: rgba(0, 0, 0, 0.25);
  3997. }
  3998. li.ant-calendar-time-picker-select-option-disabled:hover {
  3999. background: transparent;
  4000. }
  4001. .ant-calendar-time .ant-calendar-day-select {
  4002. color: rgba(0, 0, 0, 0.85);
  4003. }
  4004. .ant-calendar-time .ant-calendar-footer .ant-calendar-time-picker-btn-disabled {
  4005. color: rgba(0, 0, 0, 0.25);
  4006. }
  4007. .ant-calendar-month-panel {
  4008. border-radius: 4px;
  4009. background: #fff;
  4010. }
  4011. .ant-calendar-month-panel-header {
  4012. border-bottom: 1px solid #e8e8e8;
  4013. }
  4014. .ant-calendar-month-panel-header a:hover {
  4015. color: color(~`colorPalette("@{primary-color}", 5)`);
  4016. }
  4017. .ant-calendar-month-panel-header .ant-calendar-month-panel-century-select,
  4018. .ant-calendar-month-panel-header .ant-calendar-month-panel-decade-select,
  4019. .ant-calendar-month-panel-header .ant-calendar-month-panel-year-select,
  4020. .ant-calendar-month-panel-header .ant-calendar-month-panel-month-select {
  4021. color: rgba(0, 0, 0, 0.85);
  4022. }
  4023. .ant-calendar-month-panel-header .ant-calendar-month-panel-prev-century-btn,
  4024. .ant-calendar-month-panel-header .ant-calendar-month-panel-next-century-btn,
  4025. .ant-calendar-month-panel-header .ant-calendar-month-panel-prev-decade-btn,
  4026. .ant-calendar-month-panel-header .ant-calendar-month-panel-next-decade-btn,
  4027. .ant-calendar-month-panel-header .ant-calendar-month-panel-prev-month-btn,
  4028. .ant-calendar-month-panel-header .ant-calendar-month-panel-next-month-btn,
  4029. .ant-calendar-month-panel-header .ant-calendar-month-panel-prev-year-btn,
  4030. .ant-calendar-month-panel-header .ant-calendar-month-panel-next-year-btn {
  4031. color: rgba(0, 0, 0, 0.45);
  4032. }
  4033. .ant-calendar-month-panel-table {
  4034. border-collapse: separate;
  4035. }
  4036. .ant-calendar-month-panel-selected-cell .ant-calendar-month-panel-month {
  4037. background: @primary-color;
  4038. color: #fff;
  4039. }
  4040. .ant-calendar-month-panel-selected-cell .ant-calendar-month-panel-month:hover {
  4041. background: @primary-color;
  4042. color: #fff;
  4043. }
  4044. .ant-calendar-month-panel-cell-disabled .ant-calendar-month-panel-month,
  4045. .ant-calendar-month-panel-cell-disabled .ant-calendar-month-panel-month:hover {
  4046. color: #bcbcbc;
  4047. background: #f5f5f5;
  4048. }
  4049. .ant-calendar-month-panel-month {
  4050. color: rgba(0, 0, 0, 0.65);
  4051. background: transparent;
  4052. border-radius: 2px;
  4053. }
  4054. .ant-calendar-month-panel-month:hover {
  4055. background: color(~`colorPalette("@{primary-color}", 1)`);
  4056. }
  4057. .ant-calendar-year-panel {
  4058. border-radius: 4px;
  4059. background: #fff;
  4060. }
  4061. .ant-calendar-year-panel-header {
  4062. border-bottom: 1px solid #e8e8e8;
  4063. }
  4064. .ant-calendar-year-panel-header a:hover {
  4065. color: color(~`colorPalette("@{primary-color}", 5)`);
  4066. }
  4067. .ant-calendar-year-panel-header .ant-calendar-year-panel-century-select,
  4068. .ant-calendar-year-panel-header .ant-calendar-year-panel-decade-select,
  4069. .ant-calendar-year-panel-header .ant-calendar-year-panel-year-select,
  4070. .ant-calendar-year-panel-header .ant-calendar-year-panel-month-select {
  4071. color: rgba(0, 0, 0, 0.85);
  4072. }
  4073. .ant-calendar-year-panel-header .ant-calendar-year-panel-prev-century-btn,
  4074. .ant-calendar-year-panel-header .ant-calendar-year-panel-next-century-btn,
  4075. .ant-calendar-year-panel-header .ant-calendar-year-panel-prev-decade-btn,
  4076. .ant-calendar-year-panel-header .ant-calendar-year-panel-next-decade-btn,
  4077. .ant-calendar-year-panel-header .ant-calendar-year-panel-prev-month-btn,
  4078. .ant-calendar-year-panel-header .ant-calendar-year-panel-next-month-btn,
  4079. .ant-calendar-year-panel-header .ant-calendar-year-panel-prev-year-btn,
  4080. .ant-calendar-year-panel-header .ant-calendar-year-panel-next-year-btn {
  4081. color: rgba(0, 0, 0, 0.45);
  4082. }
  4083. .ant-calendar-year-panel-table {
  4084. border-collapse: separate;
  4085. }
  4086. .ant-calendar-year-panel-year {
  4087. color: rgba(0, 0, 0, 0.65);
  4088. background: transparent;
  4089. border-radius: 2px;
  4090. }
  4091. .ant-calendar-year-panel-year:hover {
  4092. background: color(~`colorPalette("@{primary-color}", 1)`);
  4093. }
  4094. .ant-calendar-year-panel-selected-cell .ant-calendar-year-panel-year {
  4095. background: @primary-color;
  4096. color: #fff;
  4097. }
  4098. .ant-calendar-year-panel-selected-cell .ant-calendar-year-panel-year:hover {
  4099. background: @primary-color;
  4100. color: #fff;
  4101. }
  4102. .ant-calendar-year-panel-last-decade-cell .ant-calendar-year-panel-year,
  4103. .ant-calendar-year-panel-next-decade-cell .ant-calendar-year-panel-year {
  4104. color: rgba(0, 0, 0, 0.25);
  4105. }
  4106. .ant-calendar-decade-panel {
  4107. background: #fff;
  4108. border-radius: 4px;
  4109. }
  4110. .ant-calendar-decade-panel-header {
  4111. border-bottom: 1px solid #e8e8e8;
  4112. }
  4113. .ant-calendar-decade-panel-header a:hover {
  4114. color: color(~`colorPalette("@{primary-color}", 5)`);
  4115. }
  4116. .ant-calendar-decade-panel-header .ant-calendar-decade-panel-century-select,
  4117. .ant-calendar-decade-panel-header .ant-calendar-decade-panel-decade-select,
  4118. .ant-calendar-decade-panel-header .ant-calendar-decade-panel-year-select,
  4119. .ant-calendar-decade-panel-header .ant-calendar-decade-panel-month-select {
  4120. color: rgba(0, 0, 0, 0.85);
  4121. }
  4122. .ant-calendar-decade-panel-header .ant-calendar-decade-panel-prev-century-btn,
  4123. .ant-calendar-decade-panel-header .ant-calendar-decade-panel-next-century-btn,
  4124. .ant-calendar-decade-panel-header .ant-calendar-decade-panel-prev-decade-btn,
  4125. .ant-calendar-decade-panel-header .ant-calendar-decade-panel-next-decade-btn,
  4126. .ant-calendar-decade-panel-header .ant-calendar-decade-panel-prev-month-btn,
  4127. .ant-calendar-decade-panel-header .ant-calendar-decade-panel-next-month-btn,
  4128. .ant-calendar-decade-panel-header .ant-calendar-decade-panel-prev-year-btn,
  4129. .ant-calendar-decade-panel-header .ant-calendar-decade-panel-next-year-btn {
  4130. color: rgba(0, 0, 0, 0.45);
  4131. }
  4132. .ant-calendar-decade-panel-table {
  4133. border-collapse: separate;
  4134. }
  4135. .ant-calendar-decade-panel-decade {
  4136. color: rgba(0, 0, 0, 0.65);
  4137. background: transparent;
  4138. border-radius: 2px;
  4139. }
  4140. .ant-calendar-decade-panel-decade:hover {
  4141. background: color(~`colorPalette("@{primary-color}", 1)`);
  4142. }
  4143. .ant-calendar-decade-panel-selected-cell .ant-calendar-decade-panel-decade {
  4144. background: @primary-color;
  4145. color: #fff;
  4146. }
  4147. .ant-calendar-decade-panel-selected-cell .ant-calendar-decade-panel-decade:hover {
  4148. background: @primary-color;
  4149. color: #fff;
  4150. }
  4151. .ant-calendar-decade-panel-last-century-cell .ant-calendar-decade-panel-decade,
  4152. .ant-calendar-decade-panel-next-century-cell .ant-calendar-decade-panel-decade {
  4153. color: rgba(0, 0, 0, 0.25);
  4154. }
  4155. .ant-calendar-week-number .ant-calendar-body tr:hover {
  4156. background: color(~`colorPalette("@{primary-color}", 1)`);
  4157. }
  4158. .ant-calendar-week-number .ant-calendar-body tr.ant-calendar-active-week {
  4159. background: color(~`colorPalette("@{primary-color}", 2)`);
  4160. }
  4161. .ant-calendar-week-number .ant-calendar-body tr .ant-calendar-selected-day .ant-calendar-date,
  4162. .ant-calendar-week-number .ant-calendar-body tr .ant-calendar-selected-day:hover .ant-calendar-date {
  4163. background: transparent;
  4164. color: rgba(0, 0, 0, 0.65);
  4165. }
  4166. .ant-divider {
  4167. color: rgba(0, 0, 0, 0.65);
  4168. background: #e8e8e8;
  4169. }
  4170. .ant-divider-horizontal.ant-divider-with-text,
  4171. .ant-divider-horizontal.ant-divider-with-text-left,
  4172. .ant-divider-horizontal.ant-divider-with-text-right {
  4173. background: transparent;
  4174. color: rgba(0, 0, 0, 0.85);
  4175. }
  4176. .ant-divider-horizontal.ant-divider-with-text:before,
  4177. .ant-divider-horizontal.ant-divider-with-text-left:before,
  4178. .ant-divider-horizontal.ant-divider-with-text-right:before,
  4179. .ant-divider-horizontal.ant-divider-with-text:after,
  4180. .ant-divider-horizontal.ant-divider-with-text-left:after,
  4181. .ant-divider-horizontal.ant-divider-with-text-right:after {
  4182. border-top: 1px solid #e8e8e8;
  4183. }
  4184. .ant-divider-dashed {
  4185. background: none;
  4186. border-top: 1px dashed #e8e8e8;
  4187. }
  4188. .ant-divider-horizontal.ant-divider-with-text.ant-divider-dashed,
  4189. .ant-divider-horizontal.ant-divider-with-text-left.ant-divider-dashed,
  4190. .ant-divider-horizontal.ant-divider-with-text-right.ant-divider-dashed {
  4191. border-top: 0;
  4192. }
  4193. .ant-divider-horizontal.ant-divider-with-text.ant-divider-dashed:before,
  4194. .ant-divider-horizontal.ant-divider-with-text-left.ant-divider-dashed:before,
  4195. .ant-divider-horizontal.ant-divider-with-text-right.ant-divider-dashed:before,
  4196. .ant-divider-horizontal.ant-divider-with-text.ant-divider-dashed:after,
  4197. .ant-divider-horizontal.ant-divider-with-text-left.ant-divider-dashed:after,
  4198. .ant-divider-horizontal.ant-divider-with-text-right.ant-divider-dashed:after {
  4199. border-style: dashed none none;
  4200. }
  4201. .ant-drawer-left.ant-drawer-open .ant-drawer-content-wrapper {
  4202. box-shadow: 2px 0 8px rgba(0, 0, 0, 0.15);
  4203. }
  4204. .ant-drawer-right.ant-drawer-open .ant-drawer-content-wrapper {
  4205. box-shadow: -2px 0 8px rgba(0, 0, 0, 0.15);
  4206. }
  4207. .ant-drawer-top.ant-drawer-open .ant-drawer-content-wrapper {
  4208. box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  4209. }
  4210. .ant-drawer-bottom.ant-drawer-open .ant-drawer-content-wrapper {
  4211. box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.15);
  4212. }
  4213. .ant-drawer-title {
  4214. color: rgba(0, 0, 0, 0.85);
  4215. }
  4216. .ant-drawer-content {
  4217. background-color: #fff;
  4218. border: 0;
  4219. background-clip: padding-box;
  4220. }
  4221. .ant-drawer-close {
  4222. border: 0;
  4223. background: transparent;
  4224. color: rgba(0, 0, 0, 0.45);
  4225. }
  4226. .ant-drawer-close:focus,
  4227. .ant-drawer-close:hover {
  4228. color: #444;
  4229. }
  4230. .ant-drawer-header {
  4231. border-radius: 4px 4px 0 0;
  4232. background: #fff;
  4233. color: rgba(0, 0, 0, 0.65);
  4234. border-bottom: 1px solid #e8e8e8;
  4235. }
  4236. .ant-drawer-mask {
  4237. background-color: rgba(0, 0, 0, 0.65);
  4238. }
  4239. .ant-drawer-open-content {
  4240. box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  4241. }
  4242. .ant-dropdown {
  4243. color: rgba(0, 0, 0, 0.65);
  4244. }
  4245. .ant-dropdown-menu {
  4246. background-color: #fff;
  4247. border-radius: 4px;
  4248. box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  4249. background-clip: padding-box;
  4250. }
  4251. .ant-dropdown-menu-item-group-title {
  4252. color: rgba(0, 0, 0, 0.45);
  4253. }
  4254. .ant-dropdown-menu-item,
  4255. .ant-dropdown-menu-submenu-title {
  4256. color: rgba(0, 0, 0, 0.65);
  4257. }
  4258. .ant-dropdown-menu-item > a,
  4259. .ant-dropdown-menu-submenu-title > a {
  4260. color: rgba(0, 0, 0, 0.65);
  4261. }
  4262. .ant-dropdown-menu-item-selected,
  4263. .ant-dropdown-menu-submenu-title-selected,
  4264. .ant-dropdown-menu-item-selected > a,
  4265. .ant-dropdown-menu-submenu-title-selected > a {
  4266. color: @primary-color;
  4267. background-color: color(~`colorPalette("@{primary-color}", 1)`);
  4268. }
  4269. .ant-dropdown-menu-item:hover,
  4270. .ant-dropdown-menu-submenu-title:hover {
  4271. background-color: color(~`colorPalette("@{primary-color}", 1)`);
  4272. }
  4273. .ant-dropdown-menu-item-disabled,
  4274. .ant-dropdown-menu-submenu-title-disabled {
  4275. color: rgba(0, 0, 0, 0.25);
  4276. }
  4277. .ant-dropdown-menu-item-disabled:hover,
  4278. .ant-dropdown-menu-submenu-title-disabled:hover {
  4279. color: rgba(0, 0, 0, 0.25);
  4280. background-color: #fff;
  4281. }
  4282. .ant-dropdown-menu-item-divider,
  4283. .ant-dropdown-menu-submenu-title-divider {
  4284. background-color: #e8e8e8;
  4285. }
  4286. .ant-dropdown-menu-item .ant-dropdown-menu-submenu-arrow-icon,
  4287. .ant-dropdown-menu-submenu-title .ant-dropdown-menu-submenu-arrow-icon {
  4288. color: rgba(0, 0, 0, 0.45);
  4289. }
  4290. .ant-dropdown-menu-submenu.ant-dropdown-menu-submenu-disabled .ant-dropdown-menu-submenu-title,
  4291. .ant-dropdown-menu-submenu.ant-dropdown-menu-submenu-disabled .ant-dropdown-menu-submenu-title .ant-dropdown-menu-submenu-arrow-icon {
  4292. color: rgba(0, 0, 0, 0.25);
  4293. }
  4294. .ant-dropdown-menu-dark,
  4295. .ant-dropdown-menu-dark .ant-dropdown-menu {
  4296. background: #001529;
  4297. }
  4298. .ant-dropdown-menu-dark .ant-dropdown-menu-item,
  4299. .ant-dropdown-menu-dark .ant-dropdown-menu-submenu-title,
  4300. .ant-dropdown-menu-dark .ant-dropdown-menu-item > a {
  4301. color: rgba(255, 255, 255, 0.65);
  4302. }
  4303. .ant-dropdown-menu-dark .ant-dropdown-menu-item .ant-dropdown-menu-submenu-arrow:after,
  4304. .ant-dropdown-menu-dark .ant-dropdown-menu-submenu-title .ant-dropdown-menu-submenu-arrow:after,
  4305. .ant-dropdown-menu-dark .ant-dropdown-menu-item > a .ant-dropdown-menu-submenu-arrow:after {
  4306. color: rgba(255, 255, 255, 0.65);
  4307. }
  4308. .ant-dropdown-menu-dark .ant-dropdown-menu-item:hover,
  4309. .ant-dropdown-menu-dark .ant-dropdown-menu-submenu-title:hover,
  4310. .ant-dropdown-menu-dark .ant-dropdown-menu-item > a:hover {
  4311. color: #fff;
  4312. background: transparent;
  4313. }
  4314. .ant-dropdown-menu-dark .ant-dropdown-menu-item-selected,
  4315. .ant-dropdown-menu-dark .ant-dropdown-menu-item-selected:hover,
  4316. .ant-dropdown-menu-dark .ant-dropdown-menu-item-selected > a {
  4317. background: @primary-color;
  4318. color: #fff;
  4319. }
  4320. .ant-form {
  4321. color: rgba(0, 0, 0, 0.65);
  4322. }
  4323. .ant-form legend {
  4324. color: rgba(0, 0, 0, 0.45);
  4325. border: 0;
  4326. border-bottom: 1px solid #d9d9d9;
  4327. }
  4328. .ant-form output {
  4329. color: rgba(0, 0, 0, 0.65);
  4330. }
  4331. .ant-form-item-required:before {
  4332. color: #f5222d;
  4333. }
  4334. .ant-form-item {
  4335. color: rgba(0, 0, 0, 0.65);
  4336. }
  4337. .ant-form-item-label label {
  4338. color: rgba(0, 0, 0, 0.85);
  4339. }
  4340. .ant-form-explain,
  4341. .ant-form-extra {
  4342. color: rgba(0, 0, 0, 0.45);
  4343. }
  4344. form .ant-upload {
  4345. background: transparent;
  4346. }
  4347. .ant-input-group-wrap .ant-select-selection {
  4348. border-bottom-left-radius: 0;
  4349. border-top-left-radius: 0;
  4350. }
  4351. .ant-input-group-wrap .ant-select-selection:hover {
  4352. border-color: #d9d9d9;
  4353. }
  4354. .ant-input-group-wrap .ant-select-selection--single {
  4355. background-color: #eee;
  4356. }
  4357. .ant-input-group-wrap .ant-select-open .ant-select-selection {
  4358. border-color: #d9d9d9;
  4359. box-shadow: none;
  4360. }
  4361. .has-success.has-feedback .ant-form-item-children-icon {
  4362. color: #52c41a;
  4363. }
  4364. .has-warning .ant-form-explain,
  4365. .has-warning .ant-form-split {
  4366. color: #faad14;
  4367. }
  4368. .has-warning .ant-input,
  4369. .has-warning .ant-input:hover {
  4370. border-color: #faad14;
  4371. }
  4372. .has-warning .ant-input:focus {
  4373. border-color: #ffc53d;
  4374. box-shadow: 0 0 0 2px rgba(250, 173, 20, 0.2);
  4375. border-right-width: 1px !important;
  4376. }
  4377. .has-warning .ant-input:not([disabled]):hover {
  4378. border-color: #faad14;
  4379. }
  4380. .has-warning .ant-calendar-picker-open .ant-calendar-picker-input {
  4381. border-color: #ffc53d;
  4382. box-shadow: 0 0 0 2px rgba(250, 173, 20, 0.2);
  4383. border-right-width: 1px !important;
  4384. }
  4385. .has-warning .ant-input-prefix {
  4386. color: #faad14;
  4387. }
  4388. .has-warning .ant-input-group-addon {
  4389. color: #faad14;
  4390. border-color: #faad14;
  4391. background-color: #fff;
  4392. }
  4393. .has-warning .has-feedback {
  4394. color: #faad14;
  4395. }
  4396. .has-warning.has-feedback .ant-form-item-children-icon {
  4397. color: #faad14;
  4398. }
  4399. .has-warning .ant-select-selection {
  4400. border-color: #faad14;
  4401. }
  4402. .has-warning .ant-select-open .ant-select-selection,
  4403. .has-warning .ant-select-focused .ant-select-selection {
  4404. border-color: #ffc53d;
  4405. box-shadow: 0 0 0 2px rgba(250, 173, 20, 0.2);
  4406. border-right-width: 1px !important;
  4407. }
  4408. .has-warning .ant-calendar-picker-icon:after,
  4409. .has-warning .ant-time-picker-icon:after,
  4410. .has-warning .ant-picker-icon:after,
  4411. .has-warning .ant-select-arrow,
  4412. .has-warning .ant-cascader-picker-arrow {
  4413. color: #faad14;
  4414. }
  4415. .has-warning .ant-input-number,
  4416. .has-warning .ant-time-picker-input {
  4417. border-color: #faad14;
  4418. }
  4419. .has-warning .ant-input-number-focused,
  4420. .has-warning .ant-time-picker-input-focused,
  4421. .has-warning .ant-input-number:focus,
  4422. .has-warning .ant-time-picker-input:focus {
  4423. border-color: #ffc53d;
  4424. box-shadow: 0 0 0 2px rgba(250, 173, 20, 0.2);
  4425. border-right-width: 1px !important;
  4426. }
  4427. .has-warning .ant-input-number:not([disabled]):hover,
  4428. .has-warning .ant-time-picker-input:not([disabled]):hover {
  4429. border-color: #faad14;
  4430. }
  4431. .has-warning .ant-cascader-picker:focus .ant-cascader-input {
  4432. border-color: #ffc53d;
  4433. box-shadow: 0 0 0 2px rgba(250, 173, 20, 0.2);
  4434. border-right-width: 1px !important;
  4435. }
  4436. .has-error .ant-form-explain,
  4437. .has-error .ant-form-split {
  4438. color: #f5222d;
  4439. }
  4440. .has-error .ant-input,
  4441. .has-error .ant-input:hover {
  4442. border-color: #f5222d;
  4443. }
  4444. .has-error .ant-input:focus {
  4445. border-color: #ff4d4f;
  4446. box-shadow: 0 0 0 2px rgba(245, 34, 45, 0.2);
  4447. border-right-width: 1px !important;
  4448. }
  4449. .has-error .ant-input:not([disabled]):hover {
  4450. border-color: #f5222d;
  4451. }
  4452. .has-error .ant-calendar-picker-open .ant-calendar-picker-input {
  4453. border-color: #ff4d4f;
  4454. box-shadow: 0 0 0 2px rgba(245, 34, 45, 0.2);
  4455. border-right-width: 1px !important;
  4456. }
  4457. .has-error .ant-input-prefix {
  4458. color: #f5222d;
  4459. }
  4460. .has-error .ant-input-group-addon {
  4461. color: #f5222d;
  4462. border-color: #f5222d;
  4463. background-color: #fff;
  4464. }
  4465. .has-error .has-feedback {
  4466. color: #f5222d;
  4467. }
  4468. .has-error.has-feedback .ant-form-item-children-icon {
  4469. color: #f5222d;
  4470. }
  4471. .has-error .ant-select-selection {
  4472. border-color: #f5222d;
  4473. }
  4474. .has-error .ant-select-open .ant-select-selection,
  4475. .has-error .ant-select-focused .ant-select-selection {
  4476. border-color: #ff4d4f;
  4477. box-shadow: 0 0 0 2px rgba(245, 34, 45, 0.2);
  4478. border-right-width: 1px !important;
  4479. }
  4480. .has-error .ant-select.ant-select-auto-complete .ant-input:focus {
  4481. border-color: #f5222d;
  4482. }
  4483. .has-error .ant-input-group-addon .ant-select-selection {
  4484. border-color: transparent;
  4485. box-shadow: none;
  4486. }
  4487. .has-error .ant-calendar-picker-icon:after,
  4488. .has-error .ant-time-picker-icon:after,
  4489. .has-error .ant-picker-icon:after,
  4490. .has-error .ant-select-arrow,
  4491. .has-error .ant-cascader-picker-arrow {
  4492. color: #f5222d;
  4493. }
  4494. .has-error .ant-input-number,
  4495. .has-error .ant-time-picker-input {
  4496. border-color: #f5222d;
  4497. }
  4498. .has-error .ant-input-number-focused,
  4499. .has-error .ant-time-picker-input-focused,
  4500. .has-error .ant-input-number:focus,
  4501. .has-error .ant-time-picker-input:focus {
  4502. border-color: #ff4d4f;
  4503. box-shadow: 0 0 0 2px rgba(245, 34, 45, 0.2);
  4504. border-right-width: 1px !important;
  4505. }
  4506. .has-error .ant-input-number:not([disabled]):hover,
  4507. .has-error .ant-time-picker-input:not([disabled]):hover {
  4508. border-color: #f5222d;
  4509. }
  4510. .has-error .ant-mention-wrapper .ant-mention-editor,
  4511. .has-error .ant-mention-wrapper .ant-mention-editor:not([disabled]):hover {
  4512. border-color: #f5222d;
  4513. }
  4514. .has-error .ant-mention-wrapper.ant-mention-active:not([disabled]) .ant-mention-editor,
  4515. .has-error .ant-mention-wrapper .ant-mention-editor:not([disabled]):focus {
  4516. border-color: #ff4d4f;
  4517. box-shadow: 0 0 0 2px rgba(245, 34, 45, 0.2);
  4518. border-right-width: 1px !important;
  4519. }
  4520. .has-error .ant-cascader-picker:focus .ant-cascader-input {
  4521. border-color: #ff4d4f;
  4522. box-shadow: 0 0 0 2px rgba(245, 34, 45, 0.2);
  4523. border-right-width: 1px !important;
  4524. }
  4525. .is-validating.has-feedback .ant-form-item-children-icon {
  4526. color: @primary-color;
  4527. }
  4528. .ant-input-number {
  4529. color: rgba(0, 0, 0, 0.65);
  4530. background-color: #fff;
  4531. background-image: none;
  4532. border: 1px solid #d9d9d9;
  4533. border-radius: 4px;
  4534. }
  4535. .ant-input-number::-moz-placeholder {
  4536. color: #bfbfbf;
  4537. }
  4538. .ant-input-number:-ms-input-placeholder {
  4539. color: #bfbfbf;
  4540. }
  4541. .ant-input-number::-webkit-input-placeholder {
  4542. color: #bfbfbf;
  4543. }
  4544. .ant-input-number:hover {
  4545. border-color: color(~`colorPalette("@{primary-color}", 5)`);
  4546. border-right-width: 1px !important;
  4547. }
  4548. .ant-input-number:focus {
  4549. border-color: color(~`colorPalette("@{primary-color}", 5)`);
  4550. box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
  4551. border-right-width: 1px !important;
  4552. }
  4553. .ant-input-number-disabled {
  4554. background-color: #f5f5f5;
  4555. color: rgba(0, 0, 0, 0.25);
  4556. }
  4557. .ant-input-number-disabled:hover {
  4558. border-color: #e6d8d8;
  4559. border-right-width: 1px !important;
  4560. }
  4561. .ant-input-number-handler {
  4562. color: rgba(0, 0, 0, 0.45);
  4563. }
  4564. .ant-input-number-handler:active {
  4565. background: #f4f4f4;
  4566. }
  4567. .ant-input-number-handler:hover .ant-input-number-handler-up-inner,
  4568. .ant-input-number-handler:hover .ant-input-number-handler-down-inner {
  4569. color: color(~`colorPalette("@{primary-color}", 5)`);
  4570. }
  4571. .ant-input-number-handler-up-inner,
  4572. .ant-input-number-handler-down-inner {
  4573. color: rgba(0, 0, 0, 0.45);
  4574. }
  4575. .ant-input-number:hover {
  4576. border-color: color(~`colorPalette("@{primary-color}", 5)`);
  4577. border-right-width: 1px !important;
  4578. }
  4579. .ant-input-number-focused {
  4580. border-color: color(~`colorPalette("@{primary-color}", 5)`);
  4581. box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
  4582. border-right-width: 1px !important;
  4583. }
  4584. .ant-input-number-disabled {
  4585. background-color: #f5f5f5;
  4586. color: rgba(0, 0, 0, 0.25);
  4587. }
  4588. .ant-input-number-disabled:hover {
  4589. border-color: #e6d8d8;
  4590. border-right-width: 1px !important;
  4591. }
  4592. .ant-input-number-input {
  4593. background-color: transparent;
  4594. border: 0;
  4595. border-radius: 4px;
  4596. }
  4597. .ant-input-number-input::-moz-placeholder {
  4598. color: #bfbfbf;
  4599. }
  4600. .ant-input-number-input:-ms-input-placeholder {
  4601. color: #bfbfbf;
  4602. }
  4603. .ant-input-number-input::-webkit-input-placeholder {
  4604. color: #bfbfbf;
  4605. }
  4606. .ant-input-number-handler-wrap {
  4607. border-left: 1px solid #d9d9d9;
  4608. background: #fff;
  4609. border-radius: 0 4px 4px 0;
  4610. }
  4611. .ant-input-number-handler-down {
  4612. border-top: 1px solid #d9d9d9;
  4613. }
  4614. .ant-input-number-handler-up-disabled:hover .ant-input-number-handler-up-inner,
  4615. .ant-input-number-handler-down-disabled:hover .ant-input-number-handler-down-inner {
  4616. color: rgba(0, 0, 0, 0.25);
  4617. }
  4618. .ant-input {
  4619. color: rgba(0, 0, 0, 0.65);
  4620. background-color: #fff;
  4621. background-image: none;
  4622. border: 1px solid #d9d9d9;
  4623. border-radius: 4px;
  4624. }
  4625. .ant-input::-moz-placeholder {
  4626. color: #bfbfbf;
  4627. }
  4628. .ant-input:-ms-input-placeholder {
  4629. color: #bfbfbf;
  4630. }
  4631. .ant-input::-webkit-input-placeholder {
  4632. color: #bfbfbf;
  4633. }
  4634. .ant-input:hover {
  4635. border-color: color(~`colorPalette("@{primary-color}", 5)`);
  4636. border-right-width: 1px !important;
  4637. }
  4638. .ant-input:focus {
  4639. border-color: color(~`colorPalette("@{primary-color}", 5)`);
  4640. box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
  4641. border-right-width: 1px !important;
  4642. }
  4643. .ant-input-disabled {
  4644. background-color: #f5f5f5;
  4645. color: rgba(0, 0, 0, 0.25);
  4646. }
  4647. .ant-input-disabled:hover {
  4648. border-color: #e6d8d8;
  4649. border-right-width: 1px !important;
  4650. }
  4651. .ant-input-group {
  4652. color: rgba(0, 0, 0, 0.65);
  4653. border-collapse: separate;
  4654. border-spacing: 0;
  4655. }
  4656. .ant-input-group-addon:not(:first-child):not(:last-child),
  4657. .ant-input-group-wrap:not(:first-child):not(:last-child),
  4658. .ant-input-group > .ant-input:not(:first-child):not(:last-child) {
  4659. border-radius: 0;
  4660. }
  4661. .ant-input-group .ant-input:focus {
  4662. border-right-width: 1px;
  4663. }
  4664. .ant-input-group .ant-input:hover {
  4665. border-right-width: 1px;
  4666. }
  4667. .ant-input-group-addon {
  4668. color: rgba(0, 0, 0, 0.65);
  4669. background-color: #fafafa;
  4670. border: 1px solid #d9d9d9;
  4671. border-radius: 4px;
  4672. }
  4673. .ant-input-group-addon .ant-select .ant-select-selection {
  4674. background-color: inherit;
  4675. border: 1px solid transparent;
  4676. box-shadow: none;
  4677. }
  4678. .ant-input-group-addon .ant-select-open .ant-select-selection,
  4679. .ant-input-group-addon .ant-select-focused .ant-select-selection {
  4680. color: @primary-color;
  4681. }
  4682. .ant-input-group > .ant-input:first-child,
  4683. .ant-input-group-addon:first-child {
  4684. border-bottom-right-radius: 0;
  4685. border-top-right-radius: 0;
  4686. }
  4687. .ant-input-group > .ant-input:first-child .ant-select .ant-select-selection,
  4688. .ant-input-group-addon:first-child .ant-select .ant-select-selection {
  4689. border-bottom-right-radius: 0;
  4690. border-top-right-radius: 0;
  4691. }
  4692. .ant-input-group > .ant-input-affix-wrapper:not(:first-child) .ant-input {
  4693. border-bottom-left-radius: 0;
  4694. border-top-left-radius: 0;
  4695. }
  4696. .ant-input-group > .ant-input-affix-wrapper:not(:last-child) .ant-input {
  4697. border-bottom-right-radius: 0;
  4698. border-top-right-radius: 0;
  4699. }
  4700. .ant-input-group-addon:first-child {
  4701. border-right: 0;
  4702. }
  4703. .ant-input-group-addon:last-child {
  4704. border-left: 0;
  4705. }
  4706. .ant-input-group > .ant-input:last-child,
  4707. .ant-input-group-addon:last-child {
  4708. border-bottom-left-radius: 0;
  4709. border-top-left-radius: 0;
  4710. }
  4711. .ant-input-group > .ant-input:last-child .ant-select .ant-select-selection,
  4712. .ant-input-group-addon:last-child .ant-select .ant-select-selection {
  4713. border-bottom-left-radius: 0;
  4714. border-top-left-radius: 0;
  4715. }
  4716. .ant-input-group.ant-input-group-compact-addon:not(:first-child):not(:last-child),
  4717. .ant-input-group.ant-input-group-compact-wrap:not(:first-child):not(:last-child),
  4718. .ant-input-group.ant-input-group-compact > .ant-input:not(:first-child):not(:last-child) {
  4719. border-right-width: 1px;
  4720. border-right-color: transparent;
  4721. }
  4722. .ant-input-group.ant-input-group-compact-addon:not(:first-child):not(:last-child):hover,
  4723. .ant-input-group.ant-input-group-compact-wrap:not(:first-child):not(:last-child):hover,
  4724. .ant-input-group.ant-input-group-compact > .ant-input:not(:first-child):not(:last-child):hover {
  4725. border-color: color(~`colorPalette("@{primary-color}", 5)`);
  4726. border-right-width: 1px !important;
  4727. }
  4728. .ant-input-group.ant-input-group-compact-addon:not(:first-child):not(:last-child):focus,
  4729. .ant-input-group.ant-input-group-compact-wrap:not(:first-child):not(:last-child):focus,
  4730. .ant-input-group.ant-input-group-compact > .ant-input:not(:first-child):not(:last-child):focus {
  4731. border-color: color(~`colorPalette("@{primary-color}", 5)`);
  4732. box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
  4733. border-right-width: 1px !important;
  4734. }
  4735. .ant-input-group.ant-input-group-compact > * {
  4736. border-radius: 0;
  4737. border-right-width: 0;
  4738. }
  4739. .ant-input-group.ant-input-group-compact > span:not(:last-child) > .ant-input {
  4740. border-right-width: 0;
  4741. }
  4742. .ant-input-group.ant-input-group-compact > .ant-select > .ant-select-selection,
  4743. .ant-input-group.ant-input-group-compact > .ant-calendar-picker .ant-input,
  4744. .ant-input-group.ant-input-group-compact > .ant-select-auto-complete .ant-input,
  4745. .ant-input-group.ant-input-group-compact > .ant-cascader-picker .ant-input,
  4746. .ant-input-group.ant-input-group-compact > .ant-mention-wrapper .ant-mention-editor,
  4747. .ant-input-group.ant-input-group-compact > .ant-time-picker .ant-time-picker-input {
  4748. border-radius: 0;
  4749. border-right-width: 1px;
  4750. border-right-color: transparent;
  4751. }
  4752. .ant-input-group.ant-input-group-compact > .ant-select > .ant-select-selection:hover,
  4753. .ant-input-group.ant-input-group-compact > .ant-calendar-picker .ant-input:hover,
  4754. .ant-input-group.ant-input-group-compact > .ant-select-auto-complete .ant-input:hover,
  4755. .ant-input-group.ant-input-group-compact > .ant-cascader-picker .ant-input:hover,
  4756. .ant-input-group.ant-input-group-compact > .ant-mention-wrapper .ant-mention-editor:hover,
  4757. .ant-input-group.ant-input-group-compact > .ant-time-picker .ant-time-picker-input:hover {
  4758. border-color: color(~`colorPalette("@{primary-color}", 5)`);
  4759. border-right-width: 1px !important;
  4760. }
  4761. .ant-input-group.ant-input-group-compact > .ant-select > .ant-select-selection:focus,
  4762. .ant-input-group.ant-input-group-compact > .ant-calendar-picker .ant-input:focus,
  4763. .ant-input-group.ant-input-group-compact > .ant-select-auto-complete .ant-input:focus,
  4764. .ant-input-group.ant-input-group-compact > .ant-cascader-picker .ant-input:focus,
  4765. .ant-input-group.ant-input-group-compact > .ant-mention-wrapper .ant-mention-editor:focus,
  4766. .ant-input-group.ant-input-group-compact > .ant-time-picker .ant-time-picker-input:focus {
  4767. border-color: color(~`colorPalette("@{primary-color}", 5)`);
  4768. box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
  4769. border-right-width: 1px !important;
  4770. }
  4771. .ant-input-group.ant-input-group-compact > *:first-child,
  4772. .ant-input-group.ant-input-group-compact > .ant-select:first-child > .ant-select-selection,
  4773. .ant-input-group.ant-input-group-compact > .ant-calendar-picker:first-child .ant-input,
  4774. .ant-input-group.ant-input-group-compact > .ant-select-auto-complete:first-child .ant-input,
  4775. .ant-input-group.ant-input-group-compact > .ant-cascader-picker:first-child .ant-input,
  4776. .ant-input-group.ant-input-group-compact > .ant-mention-wrapper:first-child .ant-mention-editor,
  4777. .ant-input-group.ant-input-group-compact > .ant-time-picker:first-child .ant-time-picker-input {
  4778. border-top-left-radius: 4px;
  4779. border-bottom-left-radius: 4px;
  4780. }
  4781. .ant-input-group.ant-input-group-compact > *:last-child,
  4782. .ant-input-group.ant-input-group-compact > .ant-select:last-child > .ant-select-selection,
  4783. .ant-input-group.ant-input-group-compact > .ant-calendar-picker:last-child .ant-input,
  4784. .ant-input-group.ant-input-group-compact > .ant-select-auto-complete:last-child .ant-input,
  4785. .ant-input-group.ant-input-group-compact > .ant-cascader-picker:last-child .ant-input,
  4786. .ant-input-group.ant-input-group-compact > .ant-cascader-picker-focused:last-child .ant-input,
  4787. .ant-input-group.ant-input-group-compact > .ant-mention-wrapper:last-child .ant-mention-editor,
  4788. .ant-input-group.ant-input-group-compact > .ant-time-picker:last-child .ant-time-picker-input {
  4789. border-top-right-radius: 4px;
  4790. border-bottom-right-radius: 4px;
  4791. border-right-width: 1px;
  4792. border-right-color: #d9d9d9;
  4793. }
  4794. .ant-input-group.ant-input-group-compact > *:last-child:hover,
  4795. .ant-input-group.ant-input-group-compact > .ant-select:last-child > .ant-select-selection:hover,
  4796. .ant-input-group.ant-input-group-compact > .ant-calendar-picker:last-child .ant-input:hover,
  4797. .ant-input-group.ant-input-group-compact > .ant-select-auto-complete:last-child .ant-input:hover,
  4798. .ant-input-group.ant-input-group-compact > .ant-cascader-picker:last-child .ant-input:hover,
  4799. .ant-input-group.ant-input-group-compact > .ant-cascader-picker-focused:last-child .ant-input:hover,
  4800. .ant-input-group.ant-input-group-compact > .ant-mention-wrapper:last-child .ant-mention-editor:hover,
  4801. .ant-input-group.ant-input-group-compact > .ant-time-picker:last-child .ant-time-picker-input:hover {
  4802. border-color: color(~`colorPalette("@{primary-color}", 5)`);
  4803. border-right-width: 1px !important;
  4804. }
  4805. .ant-input-group.ant-input-group-compact > *:last-child:focus,
  4806. .ant-input-group.ant-input-group-compact > .ant-select:last-child > .ant-select-selection:focus,
  4807. .ant-input-group.ant-input-group-compact > .ant-calendar-picker:last-child .ant-input:focus,
  4808. .ant-input-group.ant-input-group-compact > .ant-select-auto-complete:last-child .ant-input:focus,
  4809. .ant-input-group.ant-input-group-compact > .ant-cascader-picker:last-child .ant-input:focus,
  4810. .ant-input-group.ant-input-group-compact > .ant-cascader-picker-focused:last-child .ant-input:focus,
  4811. .ant-input-group.ant-input-group-compact > .ant-mention-wrapper:last-child .ant-mention-editor:focus,
  4812. .ant-input-group.ant-input-group-compact > .ant-time-picker:last-child .ant-time-picker-input:focus {
  4813. border-color: color(~`colorPalette("@{primary-color}", 5)`);
  4814. box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
  4815. border-right-width: 1px !important;
  4816. }
  4817. .ant-input-group.ant-input-group-compact > *:last-child:focus .ant-cascader-input,
  4818. .ant-input-group.ant-input-group-compact > .ant-select:last-child > .ant-select-selection:focus .ant-cascader-input,
  4819. .ant-input-group.ant-input-group-compact > .ant-calendar-picker:last-child .ant-input:focus .ant-cascader-input,
  4820. .ant-input-group.ant-input-group-compact > .ant-select-auto-complete:last-child .ant-input:focus .ant-cascader-input,
  4821. .ant-input-group.ant-input-group-compact > .ant-cascader-picker:last-child .ant-input:focus .ant-cascader-input,
  4822. .ant-input-group.ant-input-group-compact > .ant-cascader-picker-focused:last-child .ant-input:focus .ant-cascader-input,
  4823. .ant-input-group.ant-input-group-compact > .ant-mention-wrapper:last-child .ant-mention-editor:focus .ant-cascader-input,
  4824. .ant-input-group.ant-input-group-compact > .ant-time-picker:last-child .ant-time-picker-input:focus .ant-cascader-input {
  4825. border-color: color(~`colorPalette("@{primary-color}", 5)`);
  4826. box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
  4827. border-right-width: 1px !important;
  4828. }
  4829. .ant-input-affix-wrapper {
  4830. color: rgba(0, 0, 0, 0.65);
  4831. }
  4832. .ant-input-affix-wrapper:hover .ant-input:not(.ant-input-disabled) {
  4833. border-color: color(~`colorPalette("@{primary-color}", 5)`);
  4834. border-right-width: 1px !important;
  4835. }
  4836. .ant-input-affix-wrapper .ant-input-prefix,
  4837. .ant-input-affix-wrapper .ant-input-suffix {
  4838. color: rgba(0, 0, 0, 0.65);
  4839. }
  4840. .ant-input-search-icon {
  4841. color: rgba(0, 0, 0, 0.45);
  4842. }
  4843. .ant-input-search-icon:hover {
  4844. color: #333;
  4845. }
  4846. .ant-input-search > .ant-input-suffix > .ant-input-search-button {
  4847. border-top-left-radius: 0;
  4848. border-bottom-left-radius: 0;
  4849. }
  4850. .ant-layout {
  4851. background: #f0f2f5;
  4852. }
  4853. .ant-layout-header {
  4854. background: #001529;
  4855. }
  4856. .ant-layout-footer {
  4857. background: #f0f2f5;
  4858. color: rgba(0, 0, 0, 0.65);
  4859. }
  4860. .ant-layout-sider {
  4861. background: #001529;
  4862. }
  4863. .ant-layout-sider-trigger {
  4864. color: #fff;
  4865. background: #002140;
  4866. }
  4867. .ant-layout-sider-zero-width-trigger {
  4868. background: #001529;
  4869. color: #fff;
  4870. border-radius: 0 4px 4px 0;
  4871. }
  4872. .ant-layout-sider-zero-width-trigger:hover {
  4873. background: #192c3e;
  4874. }
  4875. .ant-layout-sider-light {
  4876. background: #fff;
  4877. }
  4878. .ant-layout-sider-light .ant-layout-sider-trigger {
  4879. color: rgba(0, 0, 0, 0.65);
  4880. background: #fff;
  4881. }
  4882. .ant-layout-sider-light .ant-layout-sider-zero-width-trigger {
  4883. color: rgba(0, 0, 0, 0.65);
  4884. background: #fff;
  4885. }
  4886. .ant-list {
  4887. color: rgba(0, 0, 0, 0.65);
  4888. }
  4889. .ant-list-empty-text {
  4890. color: rgba(0, 0, 0, 0.45);
  4891. }
  4892. .ant-list-item-meta-title {
  4893. color: rgba(0, 0, 0, 0.65);
  4894. }
  4895. .ant-list-item-meta-title > a {
  4896. color: rgba(0, 0, 0, 0.65);
  4897. }
  4898. .ant-list-item-meta-title > a:hover {
  4899. color: @primary-color;
  4900. }
  4901. .ant-list-item-meta-description {
  4902. color: rgba(0, 0, 0, 0.45);
  4903. }
  4904. .ant-list-item-action > li {
  4905. color: rgba(0, 0, 0, 0.45);
  4906. }
  4907. .ant-list-item-action-split {
  4908. background-color: #e8e8e8;
  4909. }
  4910. .ant-list-empty {
  4911. color: rgba(0, 0, 0, 0.45);
  4912. }
  4913. .ant-list-split .ant-list-item {
  4914. border-bottom: 1px solid #e8e8e8;
  4915. }
  4916. .ant-list-split .ant-list-item:last-child {
  4917. border-bottom: none;
  4918. }
  4919. .ant-list-split .ant-list-header {
  4920. border-bottom: 1px solid #e8e8e8;
  4921. }
  4922. .ant-list-something-after-last-item .ant-spin-container > .ant-list-item:last-child {
  4923. border-bottom: 1px solid #e8e8e8;
  4924. }
  4925. .ant-list-vertical .ant-list-item-meta-title {
  4926. color: rgba(0, 0, 0, 0.85);
  4927. }
  4928. .ant-list-vertical .ant-list-item-content {
  4929. color: rgba(0, 0, 0, 0.65);
  4930. }
  4931. .ant-list-grid .ant-list-item {
  4932. border-bottom: none;
  4933. }
  4934. .ant-list-bordered {
  4935. border-radius: 4px;
  4936. border: 1px solid #d9d9d9;
  4937. }
  4938. .ant-list-bordered .ant-list-item {
  4939. border-bottom: 1px solid #e8e8e8;
  4940. }
  4941. .ant-mention-wrapper {
  4942. color: rgba(0, 0, 0, 0.65);
  4943. }
  4944. .ant-mention-wrapper .ant-mention-editor {
  4945. color: rgba(0, 0, 0, 0.65);
  4946. background-color: #fff;
  4947. background-image: none;
  4948. border: 1px solid #d9d9d9;
  4949. border-radius: 4px;
  4950. }
  4951. .ant-mention-wrapper .ant-mention-editor::-moz-placeholder {
  4952. color: #bfbfbf;
  4953. }
  4954. .ant-mention-wrapper .ant-mention-editor:-ms-input-placeholder {
  4955. color: #bfbfbf;
  4956. }
  4957. .ant-mention-wrapper .ant-mention-editor::-webkit-input-placeholder {
  4958. color: #bfbfbf;
  4959. }
  4960. .ant-mention-wrapper .ant-mention-editor:hover {
  4961. border-color: color(~`colorPalette("@{primary-color}", 5)`);
  4962. border-right-width: 1px !important;
  4963. }
  4964. .ant-mention-wrapper .ant-mention-editor:focus {
  4965. border-color: color(~`colorPalette("@{primary-color}", 5)`);
  4966. box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
  4967. border-right-width: 1px !important;
  4968. }
  4969. .ant-mention-wrapper .ant-mention-editor-disabled {
  4970. background-color: #f5f5f5;
  4971. color: rgba(0, 0, 0, 0.25);
  4972. }
  4973. .ant-mention-wrapper .ant-mention-editor-disabled:hover {
  4974. border-color: #e6d8d8;
  4975. border-right-width: 1px !important;
  4976. }
  4977. .ant-mention-wrapper.ant-mention-active:not(.disabled) .ant-mention-editor {
  4978. border-color: color(~`colorPalette("@{primary-color}", 5)`);
  4979. box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
  4980. border-right-width: 1px !important;
  4981. }
  4982. .ant-mention-wrapper.disabled .ant-mention-editor {
  4983. background-color: #f5f5f5;
  4984. color: rgba(0, 0, 0, 0.25);
  4985. }
  4986. .ant-mention-wrapper.disabled .ant-mention-editor:hover {
  4987. border-color: #e6d8d8;
  4988. border-right-width: 1px !important;
  4989. }
  4990. .ant-mention-wrapper .public-DraftEditorPlaceholder-root .public-DraftEditorPlaceholder-inner {
  4991. color: #bfbfbf;
  4992. }
  4993. .ant-mention-dropdown {
  4994. color: rgba(0, 0, 0, 0.65);
  4995. background-color: #fff;
  4996. box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  4997. border-radius: 4px;
  4998. }
  4999. .ant-mention-dropdown-notfound.ant-mention-dropdown-item {
  5000. color: rgba(0, 0, 0, 0.25);
  5001. }
  5002. .ant-mention-dropdown-notfound.ant-mention-dropdown-item .anticon-loading {
  5003. color: @primary-color;
  5004. }
  5005. .ant-mention-dropdown-item {
  5006. color: rgba(0, 0, 0, 0.65);
  5007. }
  5008. .ant-mention-dropdown-item:hover {
  5009. background-color: color(~`colorPalette("@{primary-color}", 1)`);
  5010. }
  5011. .ant-mention-dropdown-item.focus,
  5012. .ant-mention-dropdown-item-active {
  5013. background-color: color(~`colorPalette("@{primary-color}", 1)`);
  5014. }
  5015. .ant-mention-dropdown-item-disabled {
  5016. color: rgba(0, 0, 0, 0.25);
  5017. }
  5018. .ant-mention-dropdown-item-disabled:hover {
  5019. color: rgba(0, 0, 0, 0.25);
  5020. background-color: #fff;
  5021. }
  5022. .ant-mention-dropdown-item-selected,
  5023. .ant-mention-dropdown-item-selected:hover {
  5024. background-color: #f5f5f5;
  5025. color: rgba(0, 0, 0, 0.65);
  5026. }
  5027. .ant-mention-dropdown-item-divider {
  5028. background-color: #e8e8e8;
  5029. }
  5030. .ant-menu {
  5031. box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  5032. color: rgba(0, 0, 0, 0.65);
  5033. background: #fff;
  5034. }
  5035. .ant-menu-item-group-title {
  5036. color: rgba(0, 0, 0, 0.45);
  5037. }
  5038. .ant-menu-item:active,
  5039. .ant-menu-submenu-title:active {
  5040. background: color(~`colorPalette("@{primary-color}", 1)`);
  5041. }
  5042. .ant-menu-item > a {
  5043. color: rgba(0, 0, 0, 0.65);
  5044. }
  5045. .ant-menu-item > a:hover {
  5046. color: @primary-color;
  5047. }
  5048. .ant-menu-item > a:before {
  5049. background-color: transparent;
  5050. }
  5051. .ant-menu-item-divider {
  5052. background-color: #e8e8e8;
  5053. }
  5054. .ant-menu-item:hover,
  5055. .ant-menu-item-active,
  5056. .ant-menu:not(.ant-menu-inline) .ant-menu-submenu-open,
  5057. .ant-menu-submenu-active,
  5058. .ant-menu-submenu-title:hover {
  5059. color: @primary-color;
  5060. }
  5061. .ant-menu-horizontal > .ant-menu-item:hover,
  5062. .ant-menu-horizontal > .ant-menu-item-active,
  5063. .ant-menu-horizontal > .ant-menu-submenu .ant-menu-submenu-title:hover {
  5064. background-color: transparent;
  5065. }
  5066. .ant-menu-item-selected {
  5067. color: @primary-color;
  5068. }
  5069. .ant-menu-item-selected > a,
  5070. .ant-menu-item-selected > a:hover {
  5071. color: @primary-color;
  5072. }
  5073. .ant-menu:not(.ant-menu-horizontal) .ant-menu-item-selected {
  5074. background-color: color(~`colorPalette("@{primary-color}", 1)`);
  5075. }
  5076. .ant-menu-inline,
  5077. .ant-menu-vertical,
  5078. .ant-menu-vertical-left {
  5079. border-right: 1px solid #e8e8e8;
  5080. }
  5081. .ant-menu-vertical-right {
  5082. border-left: 1px solid #e8e8e8;
  5083. }
  5084. .ant-menu-vertical.ant-menu-sub,
  5085. .ant-menu-vertical-left.ant-menu-sub,
  5086. .ant-menu-vertical-right.ant-menu-sub {
  5087. border-right: 0;
  5088. }
  5089. .ant-menu-vertical.ant-menu-sub .ant-menu-item,
  5090. .ant-menu-vertical-left.ant-menu-sub .ant-menu-item,
  5091. .ant-menu-vertical-right.ant-menu-sub .ant-menu-item {
  5092. border-right: 0;
  5093. }
  5094. .ant-menu-vertical.ant-menu-sub .ant-menu-item:after,
  5095. .ant-menu-vertical-left.ant-menu-sub .ant-menu-item:after,
  5096. .ant-menu-vertical-right.ant-menu-sub .ant-menu-item:after {
  5097. border-right: 0;
  5098. }
  5099. .ant-menu > .ant-menu-item-divider {
  5100. background-color: #e8e8e8;
  5101. }
  5102. .ant-menu-submenu-popup {
  5103. border-radius: 4px;
  5104. }
  5105. .ant-menu-submenu > .ant-menu {
  5106. background-color: #fff;
  5107. border-radius: 4px;
  5108. }
  5109. .ant-menu-submenu-vertical > .ant-menu-submenu-title .ant-menu-submenu-arrow:before,
  5110. .ant-menu-submenu-vertical-left > .ant-menu-submenu-title .ant-menu-submenu-arrow:before,
  5111. .ant-menu-submenu-vertical-right > .ant-menu-submenu-title .ant-menu-submenu-arrow:before,
  5112. .ant-menu-submenu-inline > .ant-menu-submenu-title .ant-menu-submenu-arrow:before,
  5113. .ant-menu-submenu-vertical > .ant-menu-submenu-title .ant-menu-submenu-arrow:after,
  5114. .ant-menu-submenu-vertical-left > .ant-menu-submenu-title .ant-menu-submenu-arrow:after,
  5115. .ant-menu-submenu-vertical-right > .ant-menu-submenu-title .ant-menu-submenu-arrow:after,
  5116. .ant-menu-submenu-inline > .ant-menu-submenu-title .ant-menu-submenu-arrow:after {
  5117. background: #fff;
  5118. background-image: linear-gradient(to right, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65));
  5119. border-radius: 2px;
  5120. }
  5121. .ant-menu-submenu-vertical > .ant-menu-submenu-title:hover .ant-menu-submenu-arrow:after,
  5122. .ant-menu-submenu-vertical-left > .ant-menu-submenu-title:hover .ant-menu-submenu-arrow:after,
  5123. .ant-menu-submenu-vertical-right > .ant-menu-submenu-title:hover .ant-menu-submenu-arrow:after,
  5124. .ant-menu-submenu-inline > .ant-menu-submenu-title:hover .ant-menu-submenu-arrow:after,
  5125. .ant-menu-submenu-vertical > .ant-menu-submenu-title:hover .ant-menu-submenu-arrow:before,
  5126. .ant-menu-submenu-vertical-left > .ant-menu-submenu-title:hover .ant-menu-submenu-arrow:before,
  5127. .ant-menu-submenu-vertical-right > .ant-menu-submenu-title:hover .ant-menu-submenu-arrow:before,
  5128. .ant-menu-submenu-inline > .ant-menu-submenu-title:hover .ant-menu-submenu-arrow:before {
  5129. background: linear-gradient(to right, @primary-color, @primary-color);
  5130. }
  5131. .ant-menu-vertical .ant-menu-submenu-selected,
  5132. .ant-menu-vertical-left .ant-menu-submenu-selected,
  5133. .ant-menu-vertical-right .ant-menu-submenu-selected {
  5134. color: @primary-color;
  5135. }
  5136. .ant-menu-vertical .ant-menu-submenu-selected > a,
  5137. .ant-menu-vertical-left .ant-menu-submenu-selected > a,
  5138. .ant-menu-vertical-right .ant-menu-submenu-selected > a {
  5139. color: @primary-color;
  5140. }
  5141. .ant-menu-horizontal {
  5142. border: 0;
  5143. border-bottom: 1px solid #e8e8e8;
  5144. box-shadow: none;
  5145. }
  5146. .ant-menu-horizontal > .ant-menu-item,
  5147. .ant-menu-horizontal > .ant-menu-submenu {
  5148. border-bottom: 2px solid transparent;
  5149. }
  5150. .ant-menu-horizontal > .ant-menu-item:hover,
  5151. .ant-menu-horizontal > .ant-menu-submenu:hover,
  5152. .ant-menu-horizontal > .ant-menu-item-active,
  5153. .ant-menu-horizontal > .ant-menu-submenu-active,
  5154. .ant-menu-horizontal > .ant-menu-item-open,
  5155. .ant-menu-horizontal > .ant-menu-submenu-open,
  5156. .ant-menu-horizontal > .ant-menu-item-selected,
  5157. .ant-menu-horizontal > .ant-menu-submenu-selected {
  5158. border-bottom: 2px solid @primary-color;
  5159. color: @primary-color;
  5160. }
  5161. .ant-menu-horizontal > .ant-menu-item > a {
  5162. color: rgba(0, 0, 0, 0.65);
  5163. }
  5164. .ant-menu-horizontal > .ant-menu-item > a:hover {
  5165. color: @primary-color;
  5166. }
  5167. .ant-menu-horizontal > .ant-menu-item-selected > a {
  5168. color: @primary-color;
  5169. }
  5170. .ant-menu-vertical .ant-menu-item:after,
  5171. .ant-menu-vertical-left .ant-menu-item:after,
  5172. .ant-menu-vertical-right .ant-menu-item:after,
  5173. .ant-menu-inline .ant-menu-item:after {
  5174. border-right: 3px solid @primary-color;
  5175. }
  5176. .ant-menu-inline-collapsed-tooltip a {
  5177. color: rgba(255, 255, 255, 0.85);
  5178. }
  5179. .ant-menu-root.ant-menu-vertical,
  5180. .ant-menu-root.ant-menu-vertical-left,
  5181. .ant-menu-root.ant-menu-vertical-right,
  5182. .ant-menu-root.ant-menu-inline {
  5183. box-shadow: none;
  5184. }
  5185. .ant-menu-sub.ant-menu-inline {
  5186. border: 0;
  5187. box-shadow: none;
  5188. border-radius: 0;
  5189. }
  5190. .ant-menu-item-disabled,
  5191. .ant-menu-submenu-disabled {
  5192. color: rgba(0, 0, 0, 0.25) !important;
  5193. background: none;
  5194. border-color: transparent !important;
  5195. }
  5196. .ant-menu-item-disabled > a,
  5197. .ant-menu-submenu-disabled > a {
  5198. color: rgba(0, 0, 0, 0.25) !important;
  5199. }
  5200. .ant-menu-item-disabled > .ant-menu-submenu-title,
  5201. .ant-menu-submenu-disabled > .ant-menu-submenu-title {
  5202. color: rgba(0, 0, 0, 0.25) !important;
  5203. }
  5204. .ant-menu-item-disabled > .ant-menu-submenu-title > .ant-menu-submenu-arrow:before,
  5205. .ant-menu-submenu-disabled > .ant-menu-submenu-title > .ant-menu-submenu-arrow:before,
  5206. .ant-menu-item-disabled > .ant-menu-submenu-title > .ant-menu-submenu-arrow:after,
  5207. .ant-menu-submenu-disabled > .ant-menu-submenu-title > .ant-menu-submenu-arrow:after {
  5208. background: rgba(0, 0, 0, 0.25) !important;
  5209. }
  5210. .ant-menu-dark,
  5211. .ant-menu-dark .ant-menu-sub {
  5212. color: rgba(255, 255, 255, 0.65);
  5213. background: #001529;
  5214. }
  5215. .ant-menu-dark .ant-menu-submenu-title .ant-menu-submenu-arrow:after,
  5216. .ant-menu-dark .ant-menu-sub .ant-menu-submenu-title .ant-menu-submenu-arrow:after,
  5217. .ant-menu-dark .ant-menu-submenu-title .ant-menu-submenu-arrow:before,
  5218. .ant-menu-dark .ant-menu-sub .ant-menu-submenu-title .ant-menu-submenu-arrow:before {
  5219. background: #fff;
  5220. }
  5221. .ant-menu-dark.ant-menu-submenu-popup {
  5222. background: transparent;
  5223. }
  5224. .ant-menu-dark .ant-menu-inline.ant-menu-sub {
  5225. background: #000c17;
  5226. box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45) inset;
  5227. }
  5228. .ant-menu-dark.ant-menu-horizontal {
  5229. border-bottom: 0;
  5230. }
  5231. .ant-menu-dark.ant-menu-horizontal > .ant-menu-item,
  5232. .ant-menu-dark.ant-menu-horizontal > .ant-menu-submenu {
  5233. border-color: #001529;
  5234. border-bottom: 0;
  5235. }
  5236. .ant-menu-dark .ant-menu-item,
  5237. .ant-menu-dark .ant-menu-item-group-title,
  5238. .ant-menu-dark .ant-menu-item > a {
  5239. color: rgba(255, 255, 255, 0.65);
  5240. }
  5241. .ant-menu-dark.ant-menu-inline,
  5242. .ant-menu-dark.ant-menu-vertical,
  5243. .ant-menu-dark.ant-menu-vertical-left,
  5244. .ant-menu-dark.ant-menu-vertical-right {
  5245. border-right: 0;
  5246. }
  5247. .ant-menu-dark.ant-menu-inline .ant-menu-item,
  5248. .ant-menu-dark.ant-menu-vertical .ant-menu-item,
  5249. .ant-menu-dark.ant-menu-vertical-left .ant-menu-item,
  5250. .ant-menu-dark.ant-menu-vertical-right .ant-menu-item {
  5251. border-right: 0;
  5252. }
  5253. .ant-menu-dark.ant-menu-inline .ant-menu-item:after,
  5254. .ant-menu-dark.ant-menu-vertical .ant-menu-item:after,
  5255. .ant-menu-dark.ant-menu-vertical-left .ant-menu-item:after,
  5256. .ant-menu-dark.ant-menu-vertical-right .ant-menu-item:after {
  5257. border-right: 0;
  5258. }
  5259. .ant-menu-dark .ant-menu-item:hover,
  5260. .ant-menu-dark .ant-menu-item-active,
  5261. .ant-menu-dark .ant-menu-submenu-active,
  5262. .ant-menu-dark .ant-menu-submenu-open,
  5263. .ant-menu-dark .ant-menu-submenu-selected,
  5264. .ant-menu-dark .ant-menu-submenu-title:hover {
  5265. background-color: transparent;
  5266. color: #fff;
  5267. }
  5268. .ant-menu-dark .ant-menu-item:hover > a,
  5269. .ant-menu-dark .ant-menu-item-active > a,
  5270. .ant-menu-dark .ant-menu-submenu-active > a,
  5271. .ant-menu-dark .ant-menu-submenu-open > a,
  5272. .ant-menu-dark .ant-menu-submenu-selected > a,
  5273. .ant-menu-dark .ant-menu-submenu-title:hover > a {
  5274. color: #fff;
  5275. }
  5276. .ant-menu-dark .ant-menu-item:hover > .ant-menu-submenu-title > .ant-menu-submenu-arrow:after,
  5277. .ant-menu-dark .ant-menu-item-active > .ant-menu-submenu-title > .ant-menu-submenu-arrow:after,
  5278. .ant-menu-dark .ant-menu-submenu-active > .ant-menu-submenu-title > .ant-menu-submenu-arrow:after,
  5279. .ant-menu-dark .ant-menu-submenu-open > .ant-menu-submenu-title > .ant-menu-submenu-arrow:after,
  5280. .ant-menu-dark .ant-menu-submenu-selected > .ant-menu-submenu-title > .ant-menu-submenu-arrow:after,
  5281. .ant-menu-dark .ant-menu-submenu-title:hover > .ant-menu-submenu-title > .ant-menu-submenu-arrow:after,
  5282. .ant-menu-dark .ant-menu-item:hover > .ant-menu-submenu-title:hover > .ant-menu-submenu-arrow:after,
  5283. .ant-menu-dark .ant-menu-item-active > .ant-menu-submenu-title:hover > .ant-menu-submenu-arrow:after,
  5284. .ant-menu-dark .ant-menu-submenu-active > .ant-menu-submenu-title:hover > .ant-menu-submenu-arrow:after,
  5285. .ant-menu-dark .ant-menu-submenu-open > .ant-menu-submenu-title:hover > .ant-menu-submenu-arrow:after,
  5286. .ant-menu-dark .ant-menu-submenu-selected > .ant-menu-submenu-title:hover > .ant-menu-submenu-arrow:after,
  5287. .ant-menu-dark .ant-menu-submenu-title:hover > .ant-menu-submenu-title:hover > .ant-menu-submenu-arrow:after,
  5288. .ant-menu-dark .ant-menu-item:hover > .ant-menu-submenu-title > .ant-menu-submenu-arrow:before,
  5289. .ant-menu-dark .ant-menu-item-active > .ant-menu-submenu-title > .ant-menu-submenu-arrow:before,
  5290. .ant-menu-dark .ant-menu-submenu-active > .ant-menu-submenu-title > .ant-menu-submenu-arrow:before,
  5291. .ant-menu-dark .ant-menu-submenu-open > .ant-menu-submenu-title > .ant-menu-submenu-arrow:before,
  5292. .ant-menu-dark .ant-menu-submenu-selected > .ant-menu-submenu-title > .ant-menu-submenu-arrow:before,
  5293. .ant-menu-dark .ant-menu-submenu-title:hover > .ant-menu-submenu-title > .ant-menu-submenu-arrow:before,
  5294. .ant-menu-dark .ant-menu-item:hover > .ant-menu-submenu-title:hover > .ant-menu-submenu-arrow:before,
  5295. .ant-menu-dark .ant-menu-item-active > .ant-menu-submenu-title:hover > .ant-menu-submenu-arrow:before,
  5296. .ant-menu-dark .ant-menu-submenu-active > .ant-menu-submenu-title:hover > .ant-menu-submenu-arrow:before,
  5297. .ant-menu-dark .ant-menu-submenu-open > .ant-menu-submenu-title:hover > .ant-menu-submenu-arrow:before,
  5298. .ant-menu-dark .ant-menu-submenu-selected > .ant-menu-submenu-title:hover > .ant-menu-submenu-arrow:before,
  5299. .ant-menu-dark .ant-menu-submenu-title:hover > .ant-menu-submenu-title:hover > .ant-menu-submenu-arrow:before {
  5300. background: #fff;
  5301. }
  5302. .ant-menu-dark .ant-menu-item-selected {
  5303. border-right: 0;
  5304. color: #fff;
  5305. }
  5306. .ant-menu-dark .ant-menu-item-selected:after {
  5307. border-right: 0;
  5308. }
  5309. .ant-menu-dark .ant-menu-item-selected > a,
  5310. .ant-menu-dark .ant-menu-item-selected > a:hover {
  5311. color: #fff;
  5312. }
  5313. .ant-menu.ant-menu-dark .ant-menu-item-selected,
  5314. .ant-menu-submenu-popup.ant-menu-dark .ant-menu-item-selected {
  5315. background-color: @primary-color;
  5316. }
  5317. .ant-menu-dark .ant-menu-item-disabled,
  5318. .ant-menu-dark .ant-menu-submenu-disabled,
  5319. .ant-menu-dark .ant-menu-item-disabled > a,
  5320. .ant-menu-dark .ant-menu-submenu-disabled > a {
  5321. color: rgba(255, 255, 255, 0.35) !important;
  5322. }
  5323. .ant-menu-dark .ant-menu-item-disabled > .ant-menu-submenu-title,
  5324. .ant-menu-dark .ant-menu-submenu-disabled > .ant-menu-submenu-title {
  5325. color: rgba(255, 255, 255, 0.35) !important;
  5326. }
  5327. .ant-menu-dark .ant-menu-item-disabled > .ant-menu-submenu-title > .ant-menu-submenu-arrow:before,
  5328. .ant-menu-dark .ant-menu-submenu-disabled > .ant-menu-submenu-title > .ant-menu-submenu-arrow:before,
  5329. .ant-menu-dark .ant-menu-item-disabled > .ant-menu-submenu-title > .ant-menu-submenu-arrow:after,
  5330. .ant-menu-dark .ant-menu-submenu-disabled > .ant-menu-submenu-title > .ant-menu-submenu-arrow:after {
  5331. background: rgba(255, 255, 255, 0.35) !important;
  5332. }
  5333. .ant-message {
  5334. color: rgba(0, 0, 0, 0.65);
  5335. }
  5336. .ant-message-notice-content {
  5337. border-radius: 4px;
  5338. box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  5339. background: #fff;
  5340. }
  5341. .ant-message-success .anticon {
  5342. color: #52c41a;
  5343. }
  5344. .ant-message-error .anticon {
  5345. color: #f5222d;
  5346. }
  5347. .ant-message-warning .anticon {
  5348. color: #faad14;
  5349. }
  5350. .ant-message-info .anticon,
  5351. .ant-message-loading .anticon {
  5352. color: @primary-color;
  5353. }
  5354. .ant-modal {
  5355. color: rgba(0, 0, 0, 0.65);
  5356. }
  5357. .ant-modal-title {
  5358. color: rgba(0, 0, 0, 0.85);
  5359. }
  5360. .ant-modal-content {
  5361. background-color: #fff;
  5362. border: 0;
  5363. border-radius: 4px;
  5364. background-clip: padding-box;
  5365. box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  5366. }
  5367. .ant-modal-close {
  5368. border: 0;
  5369. background: transparent;
  5370. color: rgba(0, 0, 0, 0.45);
  5371. }
  5372. .ant-modal-close:focus,
  5373. .ant-modal-close:hover {
  5374. color: #444;
  5375. }
  5376. .ant-modal-header {
  5377. border-radius: 4px 4px 0 0;
  5378. background: #fff;
  5379. color: rgba(0, 0, 0, 0.65);
  5380. border-bottom: 1px solid #e8e8e8;
  5381. }
  5382. .ant-modal-footer {
  5383. border-top: 1px solid #e8e8e8;
  5384. border-radius: 0 0 4px 4px;
  5385. }
  5386. .ant-modal-mask {
  5387. background-color: rgba(0, 0, 0, 0.65);
  5388. }
  5389. .ant-confirm-body .ant-confirm-title {
  5390. color: rgba(0, 0, 0, 0.85);
  5391. }
  5392. .ant-confirm-body .ant-confirm-content {
  5393. color: rgba(0, 0, 0, 0.65);
  5394. }
  5395. .ant-confirm-error .ant-confirm-body > .anticon {
  5396. color: #f5222d;
  5397. }
  5398. .ant-confirm-warning .ant-confirm-body > .anticon,
  5399. .ant-confirm-confirm .ant-confirm-body > .anticon {
  5400. color: #faad14;
  5401. }
  5402. .ant-confirm-info .ant-confirm-body > .anticon {
  5403. color: @primary-color;
  5404. }
  5405. .ant-confirm-success .ant-confirm-body > .anticon {
  5406. color: #52c41a;
  5407. }
  5408. .ant-notification {
  5409. color: rgba(0, 0, 0, 0.65);
  5410. }
  5411. .ant-notification-notice {
  5412. border-radius: 4px;
  5413. box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  5414. background: #fff;
  5415. }
  5416. .ant-notification-notice-message {
  5417. color: rgba(0, 0, 0, 0.85);
  5418. }
  5419. .ant-notification-notice-message-single-line-auto-margin {
  5420. background-color: transparent;
  5421. }
  5422. .ant-notification-notice-icon-success {
  5423. color: #52c41a;
  5424. }
  5425. .ant-notification-notice-icon-info {
  5426. color: @primary-color;
  5427. }
  5428. .ant-notification-notice-icon-warning {
  5429. color: #faad14;
  5430. }
  5431. .ant-notification-notice-icon-error {
  5432. color: #f5222d;
  5433. }
  5434. .ant-notification-notice-close {
  5435. color: rgba(0, 0, 0, 0.45);
  5436. }
  5437. .ant-notification-notice-close:hover {
  5438. color: rgba(0, 0, 0, 0.67);
  5439. }
  5440. .ant-pagination {
  5441. color: rgba(0, 0, 0, 0.65);
  5442. }
  5443. .ant-pagination-item {
  5444. border-radius: 4px;
  5445. border: 1px solid #d9d9d9;
  5446. background-color: #fff;
  5447. }
  5448. .ant-pagination-item a {
  5449. color: rgba(0, 0, 0, 0.65);
  5450. }
  5451. .ant-pagination-item:focus,
  5452. .ant-pagination-item:hover {
  5453. border-color: @primary-color;
  5454. }
  5455. .ant-pagination-item:focus a,
  5456. .ant-pagination-item:hover a {
  5457. color: @primary-color;
  5458. }
  5459. .ant-pagination-item-active {
  5460. border-color: @primary-color;
  5461. }
  5462. .ant-pagination-item-active a {
  5463. color: @primary-color;
  5464. }
  5465. .ant-pagination-item-active:focus,
  5466. .ant-pagination-item-active:hover {
  5467. border-color: color(~`colorPalette("@{primary-color}", 5)`);
  5468. }
  5469. .ant-pagination-item-active:focus a,
  5470. .ant-pagination-item-active:hover a {
  5471. color: color(~`colorPalette("@{primary-color}", 5)`);
  5472. }
  5473. .ant-pagination-jump-prev .ant-pagination-item-container .ant-pagination-item-link-icon,
  5474. .ant-pagination-jump-next .ant-pagination-item-container .ant-pagination-item-link-icon {
  5475. color: @primary-color;
  5476. }
  5477. .ant-pagination-jump-prev .ant-pagination-item-container .ant-pagination-item-ellipsis,
  5478. .ant-pagination-jump-next .ant-pagination-item-container .ant-pagination-item-ellipsis {
  5479. color: rgba(0, 0, 0, 0.25);
  5480. }
  5481. .ant-pagination-prev,
  5482. .ant-pagination-next,
  5483. .ant-pagination-jump-prev,
  5484. .ant-pagination-jump-next {
  5485. color: rgba(0, 0, 0, 0.65);
  5486. border-radius: 4px;
  5487. }
  5488. .ant-pagination-prev a,
  5489. .ant-pagination-next a {
  5490. color: rgba(0, 0, 0, 0.65);
  5491. }
  5492. .ant-pagination-prev:hover a,
  5493. .ant-pagination-next:hover a {
  5494. border-color: color(~`colorPalette("@{primary-color}", 5)`);
  5495. }
  5496. .ant-pagination-prev .ant-pagination-item-link,
  5497. .ant-pagination-next .ant-pagination-item-link {
  5498. border: 1px solid #d9d9d9;
  5499. background-color: #fff;
  5500. border-radius: 4px;
  5501. }
  5502. .ant-pagination-prev:focus .ant-pagination-item-link,
  5503. .ant-pagination-next:focus .ant-pagination-item-link,
  5504. .ant-pagination-prev:hover .ant-pagination-item-link,
  5505. .ant-pagination-next:hover .ant-pagination-item-link {
  5506. border-color: @primary-color;
  5507. color: @primary-color;
  5508. }
  5509. .ant-pagination-disabled a,
  5510. .ant-pagination-disabled:hover a,
  5511. .ant-pagination-disabled:focus a,
  5512. .ant-pagination-disabled .ant-pagination-item-link,
  5513. .ant-pagination-disabled:hover .ant-pagination-item-link,
  5514. .ant-pagination-disabled:focus .ant-pagination-item-link {
  5515. border-color: #d9d9d9;
  5516. color: rgba(0, 0, 0, 0.25);
  5517. }
  5518. .ant-pagination-options-quick-jumper input {
  5519. color: rgba(0, 0, 0, 0.65);
  5520. background-color: #fff;
  5521. background-image: none;
  5522. border: 1px solid #d9d9d9;
  5523. border-radius: 4px;
  5524. }
  5525. .ant-pagination-options-quick-jumper input::-moz-placeholder {
  5526. color: #bfbfbf;
  5527. }
  5528. .ant-pagination-options-quick-jumper input:-ms-input-placeholder {
  5529. color: #bfbfbf;
  5530. }
  5531. .ant-pagination-options-quick-jumper input::-webkit-input-placeholder {
  5532. color: #bfbfbf;
  5533. }
  5534. .ant-pagination-options-quick-jumper input:hover {
  5535. border-color: color(~`colorPalette("@{primary-color}", 5)`);
  5536. border-right-width: 1px !important;
  5537. }
  5538. .ant-pagination-options-quick-jumper input:focus {
  5539. border-color: color(~`colorPalette("@{primary-color}", 5)`);
  5540. box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
  5541. border-right-width: 1px !important;
  5542. }
  5543. .ant-pagination-options-quick-jumper input-disabled {
  5544. background-color: #f5f5f5;
  5545. color: rgba(0, 0, 0, 0.25);
  5546. }
  5547. .ant-pagination-options-quick-jumper input-disabled:hover {
  5548. border-color: #e6d8d8;
  5549. border-right-width: 1px !important;
  5550. }
  5551. .ant-pagination-simple .ant-pagination-prev .ant-pagination-item-link,
  5552. .ant-pagination-simple .ant-pagination-next .ant-pagination-item-link {
  5553. border: 0;
  5554. }
  5555. .ant-pagination-simple .ant-pagination-simple-pager input {
  5556. background-color: #fff;
  5557. border-radius: 4px;
  5558. border: 1px solid #d9d9d9;
  5559. }
  5560. .ant-pagination-simple .ant-pagination-simple-pager input:hover {
  5561. border-color: @primary-color;
  5562. }
  5563. .ant-pagination.mini .ant-pagination-item:not(.ant-pagination-item-active) {
  5564. background: transparent;
  5565. border-color: transparent;
  5566. }
  5567. .ant-pagination.mini .ant-pagination-prev .ant-pagination-item-link,
  5568. .ant-pagination.mini .ant-pagination-next .ant-pagination-item-link {
  5569. border-color: transparent;
  5570. background: transparent;
  5571. }
  5572. .ant-popover {
  5573. color: rgba(0, 0, 0, 0.65);
  5574. }
  5575. .ant-popover:after {
  5576. background: rgba(255, 255, 255, 0.01);
  5577. }
  5578. .ant-popover-inner {
  5579. background-color: #fff;
  5580. background-clip: padding-box;
  5581. border-radius: 4px;
  5582. box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  5583. }
  5584. .ant-popover-title {
  5585. border-bottom: 1px solid #e8e8e8;
  5586. color: rgba(0, 0, 0, 0.85);
  5587. }
  5588. .ant-popover-inner-content {
  5589. color: rgba(0, 0, 0, 0.65);
  5590. }
  5591. .ant-popover-message {
  5592. color: rgba(0, 0, 0, 0.65);
  5593. }
  5594. .ant-popover-message > .anticon {
  5595. color: #faad14;
  5596. }
  5597. .ant-popover-arrow {
  5598. background: #fff;
  5599. border-color: transparent;
  5600. border-style: solid;
  5601. }
  5602. .ant-popover-placement-top > .ant-popover-content > .ant-popover-arrow,
  5603. .ant-popover-placement-topLeft > .ant-popover-content > .ant-popover-arrow,
  5604. .ant-popover-placement-topRight > .ant-popover-content > .ant-popover-arrow {
  5605. box-shadow: 3px 3px 7px rgba(0, 0, 0, 0.07);
  5606. }
  5607. .ant-popover-placement-right > .ant-popover-content > .ant-popover-arrow,
  5608. .ant-popover-placement-rightTop > .ant-popover-content > .ant-popover-arrow,
  5609. .ant-popover-placement-rightBottom > .ant-popover-content > .ant-popover-arrow {
  5610. box-shadow: -3px 3px 7px rgba(0, 0, 0, 0.07);
  5611. }
  5612. .ant-popover-placement-bottom > .ant-popover-content > .ant-popover-arrow,
  5613. .ant-popover-placement-bottomLeft > .ant-popover-content > .ant-popover-arrow,
  5614. .ant-popover-placement-bottomRight > .ant-popover-content > .ant-popover-arrow {
  5615. box-shadow: -2px -2px 5px rgba(0, 0, 0, 0.06);
  5616. }
  5617. .ant-popover-placement-left > .ant-popover-content > .ant-popover-arrow,
  5618. .ant-popover-placement-leftTop > .ant-popover-content > .ant-popover-arrow,
  5619. .ant-popover-placement-leftBottom > .ant-popover-content > .ant-popover-arrow {
  5620. box-shadow: 3px -3px 7px rgba(0, 0, 0, 0.07);
  5621. }
  5622. .ant-progress {
  5623. color: rgba(0, 0, 0, 0.65);
  5624. }
  5625. .ant-progress-inner {
  5626. background-color: #f5f5f5;
  5627. border-radius: 100px;
  5628. }
  5629. .ant-progress-success-bg,
  5630. .ant-progress-bg {
  5631. background-color: @primary-color;
  5632. }
  5633. .ant-progress-success-bg {
  5634. background-color: #52c41a;
  5635. }
  5636. .ant-progress-text {
  5637. color: rgba(0, 0, 0, 0.45);
  5638. }
  5639. .ant-progress-status-active .ant-progress-bg:before {
  5640. background: #fff;
  5641. border-radius: 10px;
  5642. }
  5643. .ant-progress-status-exception .ant-progress-bg {
  5644. background-color: #f5222d;
  5645. }
  5646. .ant-progress-status-exception .ant-progress-text {
  5647. color: #f5222d;
  5648. }
  5649. .ant-progress-status-success .ant-progress-bg {
  5650. background-color: #52c41a;
  5651. }
  5652. .ant-progress-status-success .ant-progress-text {
  5653. color: #52c41a;
  5654. }
  5655. .ant-progress-circle .ant-progress-inner {
  5656. background-color: transparent;
  5657. }
  5658. .ant-progress-circle .ant-progress-text {
  5659. color: rgba(0, 0, 0, 0.65);
  5660. }
  5661. .ant-progress-circle.ant-progress-status-exception .ant-progress-text {
  5662. color: #f5222d;
  5663. }
  5664. .ant-progress-circle.ant-progress-status-success .ant-progress-text {
  5665. color: #52c41a;
  5666. }
  5667. .ant-radio-group {
  5668. color: rgba(0, 0, 0, 0.65);
  5669. }
  5670. .ant-radio-wrapper {
  5671. color: rgba(0, 0, 0, 0.65);
  5672. }
  5673. .ant-radio {
  5674. color: rgba(0, 0, 0, 0.65);
  5675. }
  5676. .ant-radio-wrapper:hover .ant-radio .ant-radio-inner,
  5677. .ant-radio:hover .ant-radio-inner,
  5678. .ant-radio-focused .ant-radio-inner {
  5679. border-color: @primary-color;
  5680. }
  5681. .ant-radio-checked:after {
  5682. border-radius: 50%;
  5683. border: 1px solid @primary-color;
  5684. }
  5685. .ant-radio-inner {
  5686. border-width: 1px;
  5687. border-style: solid;
  5688. border-radius: 100px;
  5689. border-color: #d9d9d9;
  5690. background-color: #fff;
  5691. }
  5692. .ant-radio-inner:after {
  5693. border-radius: 8px;
  5694. border-top: 0;
  5695. border-left: 0;
  5696. background-color: @primary-color;
  5697. }
  5698. .ant-radio-checked .ant-radio-inner {
  5699. border-color: @primary-color;
  5700. }
  5701. .ant-radio-disabled .ant-radio-inner {
  5702. border-color: #d9d9d9 !important;
  5703. background-color: #f5f5f5;
  5704. }
  5705. .ant-radio-disabled .ant-radio-inner:after {
  5706. background-color: #ccc;
  5707. }
  5708. .ant-radio-disabled + span {
  5709. color: rgba(0, 0, 0, 0.25);
  5710. }
  5711. .ant-radio-button-wrapper {
  5712. color: rgba(0, 0, 0, 0.65);
  5713. border: 1px solid #d9d9d9;
  5714. border-left: 0;
  5715. border-top-width: 1.02px;
  5716. background: #fff;
  5717. }
  5718. .ant-radio-button-wrapper a {
  5719. color: rgba(0, 0, 0, 0.65);
  5720. }
  5721. .ant-radio-button-wrapper:not(:first-child)::before {
  5722. background-color: #d9d9d9;
  5723. }
  5724. .ant-radio-button-wrapper:first-child {
  5725. border-radius: 4px 0 0 4px;
  5726. border-left: 1px solid #d9d9d9;
  5727. }
  5728. .ant-radio-button-wrapper:last-child {
  5729. border-radius: 0 4px 4px 0;
  5730. }
  5731. .ant-radio-button-wrapper:first-child:last-child {
  5732. border-radius: 4px;
  5733. }
  5734. .ant-radio-button-wrapper:hover,
  5735. .ant-radio-button-wrapper-focused {
  5736. color: @primary-color;
  5737. }
  5738. .ant-radio-button-wrapper-checked {
  5739. background: #fff;
  5740. border-color: @primary-color;
  5741. color: @primary-color;
  5742. box-shadow: -1px 0 0 0 @primary-color;
  5743. }
  5744. .ant-radio-button-wrapper-checked::before {
  5745. background-color: @primary-color !important;
  5746. }
  5747. .ant-radio-button-wrapper-checked:first-child {
  5748. border-color: @primary-color;
  5749. box-shadow: none !important;
  5750. }
  5751. .ant-radio-button-wrapper-checked:hover {
  5752. border-color: color(~`colorPalette("@{primary-color}", 5)`);
  5753. box-shadow: -1px 0 0 0 color(~`colorPalette("@{primary-color}", 5)`);
  5754. color: color(~`colorPalette("@{primary-color}", 5)`);
  5755. }
  5756. .ant-radio-button-wrapper-checked:active {
  5757. border-color: color(~`colorPalette("@{primary-color}", 7)`);
  5758. box-shadow: -1px 0 0 0 color(~`colorPalette("@{primary-color}", 7)`);
  5759. color: color(~`colorPalette("@{primary-color}", 7)`);
  5760. }
  5761. .ant-radio-group-solid .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled) {
  5762. background: @primary-color;
  5763. border-color: @primary-color;
  5764. color: #fff;
  5765. }
  5766. .ant-radio-group-solid .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):hover {
  5767. border-color: color(~`colorPalette("@{primary-color}", 5)`);
  5768. background: color(~`colorPalette("@{primary-color}", 5)`);
  5769. color: #fff;
  5770. }
  5771. .ant-radio-group-solid .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):active {
  5772. border-color: color(~`colorPalette("@{primary-color}", 7)`);
  5773. background: color(~`colorPalette("@{primary-color}", 7)`);
  5774. color: #fff;
  5775. }
  5776. .ant-radio-button-wrapper-disabled {
  5777. border-color: #d9d9d9;
  5778. background-color: #f5f5f5;
  5779. color: rgba(0, 0, 0, 0.25);
  5780. }
  5781. .ant-radio-button-wrapper-disabled:first-child,
  5782. .ant-radio-button-wrapper-disabled:hover {
  5783. border-color: #d9d9d9;
  5784. background-color: #f5f5f5;
  5785. color: rgba(0, 0, 0, 0.25);
  5786. }
  5787. .ant-radio-button-wrapper-disabled:first-child {
  5788. border-left-color: #d9d9d9;
  5789. }
  5790. .ant-radio-button-wrapper-disabled.ant-radio-button-wrapper-checked {
  5791. color: #fff;
  5792. background-color: #e6e6e6;
  5793. border-color: #d9d9d9;
  5794. box-shadow: none;
  5795. }
  5796. .ant-rate {
  5797. color: rgba(0, 0, 0, 0.65);
  5798. color: #fadb14;
  5799. }
  5800. .ant-rate-star {
  5801. color: inherit;
  5802. }
  5803. .ant-rate-star-first,
  5804. .ant-rate-star-second {
  5805. color: #e8e8e8;
  5806. }
  5807. .ant-rate-star-half .ant-rate-star-first,
  5808. .ant-rate-star-full .ant-rate-star-second {
  5809. color: inherit;
  5810. }
  5811. .ant-select {
  5812. color: rgba(0, 0, 0, 0.65);
  5813. }
  5814. .ant-select > ul > li > a {
  5815. background-color: #fff;
  5816. }
  5817. .ant-select-arrow {
  5818. color: rgba(0, 0, 0, 0.25);
  5819. }
  5820. .ant-select-selection {
  5821. background-color: #fff;
  5822. border-radius: 4px;
  5823. border: 1px solid #d9d9d9;
  5824. border-top-width: 1.02px;
  5825. }
  5826. .ant-select-selection:hover {
  5827. border-color: color(~`colorPalette("@{primary-color}", 5)`);
  5828. border-right-width: 1px !important;
  5829. }
  5830. .ant-select-focused .ant-select-selection,
  5831. .ant-select-selection:focus,
  5832. .ant-select-selection:active {
  5833. border-color: color(~`colorPalette("@{primary-color}", 5)`);
  5834. box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
  5835. border-right-width: 1px !important;
  5836. }
  5837. .ant-select-selection__clear {
  5838. background: #fff;
  5839. color: rgba(0, 0, 0, 0.25);
  5840. }
  5841. .ant-select-selection__clear:hover {
  5842. color: rgba(0, 0, 0, 0.45);
  5843. }
  5844. .ant-select-disabled {
  5845. color: rgba(0, 0, 0, 0.25);
  5846. }
  5847. .ant-select-disabled .ant-select-selection {
  5848. background: #f5f5f5;
  5849. }
  5850. .ant-select-disabled .ant-select-selection:hover,
  5851. .ant-select-disabled .ant-select-selection:focus,
  5852. .ant-select-disabled .ant-select-selection:active {
  5853. border-color: #d9d9d9;
  5854. box-shadow: none;
  5855. }
  5856. .ant-select-disabled .ant-select-selection--multiple .ant-select-selection__choice {
  5857. background: #f5f5f5;
  5858. color: #aaa;
  5859. }
  5860. .ant-select-disabled .ant-select-selection__choice__remove {
  5861. color: rgba(0, 0, 0, 0.25);
  5862. }
  5863. .ant-select-disabled .ant-select-selection__choice__remove:hover {
  5864. color: rgba(0, 0, 0, 0.25);
  5865. }
  5866. .ant-select-selection__placeholder,
  5867. .ant-select-search__field__placeholder {
  5868. color: #bfbfbf;
  5869. }
  5870. .ant-select-search--inline .ant-select-search__field {
  5871. border-width: 0;
  5872. background: transparent;
  5873. border-radius: 4px;
  5874. }
  5875. .ant-select-selection--multiple .ant-select-selection__choice {
  5876. color: rgba(0, 0, 0, 0.65);
  5877. background-color: #fafafa;
  5878. border: 1px solid #e8e8e8;
  5879. border-radius: 2px;
  5880. }
  5881. .ant-select-selection--multiple .ant-select-selection__choice__remove {
  5882. color: rgba(0, 0, 0, 0.45);
  5883. }
  5884. .ant-select-selection--multiple .ant-select-selection__choice__remove:hover {
  5885. color: #404040;
  5886. }
  5887. .ant-select-open .ant-select-selection {
  5888. border-color: color(~`colorPalette("@{primary-color}", 5)`);
  5889. box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
  5890. border-right-width: 1px !important;
  5891. }
  5892. .ant-select-combobox .ant-select-search__field {
  5893. box-shadow: none;
  5894. }
  5895. .ant-select-dropdown {
  5896. color: rgba(0, 0, 0, 0.65);
  5897. background-color: #fff;
  5898. box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  5899. border-radius: 4px;
  5900. }
  5901. .ant-select-dropdown-menu-item-group-title {
  5902. color: rgba(0, 0, 0, 0.45);
  5903. }
  5904. .ant-select-dropdown-menu-item-group-list .ant-select-dropdown-menu-item:first-child:not(:last-child),
  5905. .ant-select-dropdown-menu-item-group:not(:last-child) .ant-select-dropdown-menu-item-group-list .ant-select-dropdown-menu-item:last-child {
  5906. border-radius: 0;
  5907. }
  5908. .ant-select-dropdown-menu-item {
  5909. color: rgba(0, 0, 0, 0.65);
  5910. }
  5911. .ant-select-dropdown-menu-item:hover {
  5912. background-color: color(~`colorPalette("@{primary-color}", 1)`);
  5913. }
  5914. .ant-select-dropdown-menu-item:first-child {
  5915. border-radius: 4px 4px 0 0;
  5916. }
  5917. .ant-select-dropdown-menu-item:last-child {
  5918. border-radius: 0 0 4px 4px;
  5919. }
  5920. .ant-select-dropdown-menu-item-disabled {
  5921. color: rgba(0, 0, 0, 0.25);
  5922. }
  5923. .ant-select-dropdown-menu-item-disabled:hover {
  5924. color: rgba(0, 0, 0, 0.25);
  5925. background-color: #fff;
  5926. }
  5927. .ant-select-dropdown-menu-item-selected,
  5928. .ant-select-dropdown-menu-item-selected:hover {
  5929. background-color: #fafafa;
  5930. color: rgba(0, 0, 0, 0.65);
  5931. }
  5932. .ant-select-dropdown-menu-item-active {
  5933. background-color: color(~`colorPalette("@{primary-color}", 1)`);
  5934. }
  5935. .ant-select-dropdown-menu-item-divider {
  5936. background-color: #e8e8e8;
  5937. }
  5938. .ant-select-dropdown.ant-select-dropdown--multiple .ant-select-dropdown-menu-item .ant-select-selected-icon {
  5939. color: transparent;
  5940. }
  5941. .ant-select-dropdown.ant-select-dropdown--multiple .ant-select-dropdown-menu-item:hover .ant-select-selected-icon {
  5942. color: #ddd;
  5943. }
  5944. .ant-select-dropdown.ant-select-dropdown--multiple .ant-select-dropdown-menu-item-selected .ant-select-selected-icon,
  5945. .ant-select-dropdown.ant-select-dropdown--multiple .ant-select-dropdown-menu-item-selected:hover .ant-select-selected-icon {
  5946. color: @primary-color;
  5947. }
  5948. .ant-skeleton-header .ant-skeleton-avatar {
  5949. background: #f2f2f2;
  5950. }
  5951. .ant-skeleton-header .ant-skeleton-avatar.ant-skeleton-avatar-circle {
  5952. border-radius: 50%;
  5953. }
  5954. .ant-skeleton-header .ant-skeleton-avatar-lg.ant-skeleton-avatar-circle {
  5955. border-radius: 50%;
  5956. }
  5957. .ant-skeleton-header .ant-skeleton-avatar-sm.ant-skeleton-avatar-circle {
  5958. border-radius: 50%;
  5959. }
  5960. .ant-skeleton-content .ant-skeleton-title {
  5961. background: #f2f2f2;
  5962. }
  5963. .ant-skeleton-content .ant-skeleton-paragraph > li {
  5964. background: #f2f2f2;
  5965. }
  5966. .ant-skeleton.ant-skeleton-active .ant-skeleton-content .ant-skeleton-title,
  5967. .ant-skeleton.ant-skeleton-active .ant-skeleton-content .ant-skeleton-paragraph > li {
  5968. background: linear-gradient(90deg, #f2f2f2 25%, #e6e6e6 37%, #f2f2f2 63%);
  5969. background-size: 400% 100%;
  5970. }
  5971. .ant-skeleton.ant-skeleton-active .ant-skeleton-avatar {
  5972. background: linear-gradient(90deg, #f2f2f2 25%, #e6e6e6 37%, #f2f2f2 63%);
  5973. background-size: 400% 100%;
  5974. }
  5975. .ant-slider {
  5976. color: rgba(0, 0, 0, 0.65);
  5977. }
  5978. .ant-slider-rail {
  5979. border-radius: 2px;
  5980. background-color: #f5f5f5;
  5981. }
  5982. .ant-slider-track {
  5983. border-radius: 4px;
  5984. background-color: color(~`colorPalette("@{primary-color}", 3)`);
  5985. }
  5986. .ant-slider-handle {
  5987. border-radius: 50%;
  5988. border: solid 2px color(~`colorPalette("@{primary-color}", 3)`);
  5989. background-color: #fff;
  5990. }
  5991. .ant-slider-handle:focus {
  5992. border-color: #46a6ff;
  5993. box-shadow: 0 0 0 5px #8cc8ff;
  5994. }
  5995. .ant-slider-handle.ant-tooltip-open {
  5996. border-color: @primary-color;
  5997. }
  5998. .ant-slider:hover .ant-slider-rail {
  5999. background-color: #e1e1e1;
  6000. }
  6001. .ant-slider:hover .ant-slider-track {
  6002. background-color: color(~`colorPalette("@{primary-color}", 4)`);
  6003. }
  6004. .ant-slider:hover .ant-slider-handle:not(.ant-tooltip-open) {
  6005. border-color: color(~`colorPalette("@{primary-color}", 4)`);
  6006. }
  6007. .ant-slider-mark-text {
  6008. color: rgba(0, 0, 0, 0.45);
  6009. }
  6010. .ant-slider-mark-text-active {
  6011. color: rgba(0, 0, 0, 0.65);
  6012. }
  6013. .ant-slider-step {
  6014. background: transparent;
  6015. }
  6016. .ant-slider-dot {
  6017. border: 2px solid #e8e8e8;
  6018. background-color: #fff;
  6019. border-radius: 50%;
  6020. }
  6021. .ant-slider-dot-active {
  6022. border-color: #8cc8ff;
  6023. }
  6024. .ant-slider-disabled .ant-slider-track {
  6025. background-color: rgba(0, 0, 0, 0.25) !important;
  6026. }
  6027. .ant-slider-disabled .ant-slider-handle,
  6028. .ant-slider-disabled .ant-slider-dot {
  6029. border-color: rgba(0, 0, 0, 0.25) !important;
  6030. background-color: #fff;
  6031. box-shadow: none;
  6032. }
  6033. .ant-spin {
  6034. color: rgba(0, 0, 0, 0.65);
  6035. color: @primary-color;
  6036. }
  6037. .ant-spin-blur:after {
  6038. background: #fff;
  6039. }
  6040. .ant-spin-tip {
  6041. color: rgba(0, 0, 0, 0.45);
  6042. }
  6043. .ant-spin-dot i {
  6044. border-radius: 100%;
  6045. background-color: @primary-color;
  6046. }
  6047. .ant-steps {
  6048. color: rgba(0, 0, 0, 0.65);
  6049. }
  6050. .ant-steps-item-icon {
  6051. border: 1px solid rgba(0, 0, 0, 0.25);
  6052. border-radius: 32px;
  6053. }
  6054. .ant-steps-item-icon > .ant-steps-icon {
  6055. color: @primary-color;
  6056. }
  6057. .ant-steps-item-tail:after {
  6058. background: #e8e8e8;
  6059. border-radius: 1px;
  6060. }
  6061. .ant-steps-item-title {
  6062. color: rgba(0, 0, 0, 0.65);
  6063. }
  6064. .ant-steps-item-title:after {
  6065. background: #e8e8e8;
  6066. }
  6067. .ant-steps-item-description {
  6068. color: rgba(0, 0, 0, 0.45);
  6069. }
  6070. .ant-steps-item-wait .ant-steps-item-icon {
  6071. border-color: rgba(0, 0, 0, 0.25);
  6072. background-color: #fff;
  6073. }
  6074. .ant-steps-item-wait .ant-steps-item-icon > .ant-steps-icon {
  6075. color: rgba(0, 0, 0, 0.25);
  6076. }
  6077. .ant-steps-item-wait .ant-steps-item-icon > .ant-steps-icon .ant-steps-icon-dot {
  6078. background: rgba(0, 0, 0, 0.25);
  6079. }
  6080. .ant-steps-item-wait > .ant-steps-item-content > .ant-steps-item-title {
  6081. color: rgba(0, 0, 0, 0.45);
  6082. }
  6083. .ant-steps-item-wait > .ant-steps-item-content > .ant-steps-item-title:after {
  6084. background-color: #e8e8e8;
  6085. }
  6086. .ant-steps-item-wait > .ant-steps-item-content > .ant-steps-item-description {
  6087. color: rgba(0, 0, 0, 0.45);
  6088. }
  6089. .ant-steps-item-wait > .ant-steps-item-tail:after {
  6090. background-color: #e8e8e8;
  6091. }
  6092. .ant-steps-item-process .ant-steps-item-icon {
  6093. border-color: @primary-color;
  6094. background-color: #fff;
  6095. }
  6096. .ant-steps-item-process .ant-steps-item-icon > .ant-steps-icon {
  6097. color: @primary-color;
  6098. }
  6099. .ant-steps-item-process .ant-steps-item-icon > .ant-steps-icon .ant-steps-icon-dot {
  6100. background: @primary-color;
  6101. }
  6102. .ant-steps-item-process > .ant-steps-item-content > .ant-steps-item-title {
  6103. color: rgba(0, 0, 0, 0.85);
  6104. }
  6105. .ant-steps-item-process > .ant-steps-item-content > .ant-steps-item-title:after {
  6106. background-color: #e8e8e8;
  6107. }
  6108. .ant-steps-item-process > .ant-steps-item-content > .ant-steps-item-description {
  6109. color: rgba(0, 0, 0, 0.65);
  6110. }
  6111. .ant-steps-item-process > .ant-steps-item-tail:after {
  6112. background-color: #e8e8e8;
  6113. }
  6114. .ant-steps-item-process .ant-steps-item-icon {
  6115. background: @primary-color;
  6116. }
  6117. .ant-steps-item-process .ant-steps-item-icon > .ant-steps-icon {
  6118. color: #fff;
  6119. }
  6120. .ant-steps-item-finish .ant-steps-item-icon {
  6121. border-color: @primary-color;
  6122. background-color: #fff;
  6123. }
  6124. .ant-steps-item-finish .ant-steps-item-icon > .ant-steps-icon {
  6125. color: @primary-color;
  6126. }
  6127. .ant-steps-item-finish .ant-steps-item-icon > .ant-steps-icon .ant-steps-icon-dot {
  6128. background: @primary-color;
  6129. }
  6130. .ant-steps-item-finish > .ant-steps-item-content > .ant-steps-item-title {
  6131. color: rgba(0, 0, 0, 0.65);
  6132. }
  6133. .ant-steps-item-finish > .ant-steps-item-content > .ant-steps-item-title:after {
  6134. background-color: @primary-color;
  6135. }
  6136. .ant-steps-item-finish > .ant-steps-item-content > .ant-steps-item-description {
  6137. color: rgba(0, 0, 0, 0.45);
  6138. }
  6139. .ant-steps-item-finish > .ant-steps-item-tail:after {
  6140. background-color: @primary-color;
  6141. }
  6142. .ant-steps-item-error .ant-steps-item-icon {
  6143. border-color: #f5222d;
  6144. background-color: #fff;
  6145. }
  6146. .ant-steps-item-error .ant-steps-item-icon > .ant-steps-icon {
  6147. color: #f5222d;
  6148. }
  6149. .ant-steps-item-error .ant-steps-item-icon > .ant-steps-icon .ant-steps-icon-dot {
  6150. background: #f5222d;
  6151. }
  6152. .ant-steps-item-error > .ant-steps-item-content > .ant-steps-item-title {
  6153. color: #f5222d;
  6154. }
  6155. .ant-steps-item-error > .ant-steps-item-content > .ant-steps-item-title:after {
  6156. background-color: #e8e8e8;
  6157. }
  6158. .ant-steps-item-error > .ant-steps-item-content > .ant-steps-item-description {
  6159. color: #f5222d;
  6160. }
  6161. .ant-steps-item-error > .ant-steps-item-tail:after {
  6162. background-color: #e8e8e8;
  6163. }
  6164. .ant-steps-item.ant-steps-next-error .ant-steps-item-title:after {
  6165. background: #f5222d;
  6166. }
  6167. .ant-steps-item-custom .ant-steps-item-icon {
  6168. background: none;
  6169. border: 0;
  6170. }
  6171. .ant-steps-item-custom.ant-steps-item-process .ant-steps-item-icon > .ant-steps-icon {
  6172. color: @primary-color;
  6173. }
  6174. .ant-steps-small .ant-steps-item-icon {
  6175. border-radius: 24px;
  6176. }
  6177. .ant-steps-small .ant-steps-item-description {
  6178. color: rgba(0, 0, 0, 0.45);
  6179. }
  6180. .ant-steps-small .ant-steps-item-custom .ant-steps-item-icon {
  6181. border-radius: 0;
  6182. border: 0;
  6183. background: none;
  6184. }
  6185. .ant-steps-dot .ant-steps-item-icon {
  6186. border: 0;
  6187. background: transparent;
  6188. }
  6189. .ant-steps-dot .ant-steps-item-icon .ant-steps-icon-dot {
  6190. border-radius: 100px;
  6191. }
  6192. .ant-steps-dot .ant-steps-item-icon .ant-steps-icon-dot:after {
  6193. background: rgba(0, 0, 0, 0.001);
  6194. }
  6195. .ant-switch {
  6196. color: rgba(0, 0, 0, 0.65);
  6197. border-radius: 100px;
  6198. border: 1px solid transparent;
  6199. background-color: rgba(0, 0, 0, 0.25);
  6200. }
  6201. .ant-switch-inner {
  6202. color: #fff;
  6203. }
  6204. .ant-switch-loading-icon,
  6205. .ant-switch:after {
  6206. border-radius: 18px;
  6207. background-color: #fff;
  6208. }
  6209. .ant-switch:after {
  6210. box-shadow: 0 2px 4px 0 rgba(0, 35, 11, 0.2);
  6211. }
  6212. .ant-switch-loading-icon {
  6213. background: transparent;
  6214. }
  6215. .ant-switch-loading .ant-switch-loading-icon {
  6216. color: rgba(0, 0, 0, 0.65);
  6217. }
  6218. .ant-switch-checked.ant-switch-loading .ant-switch-loading-icon {
  6219. color: @primary-color;
  6220. }
  6221. .ant-switch:focus {
  6222. box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
  6223. }
  6224. .ant-switch:focus:hover {
  6225. box-shadow: none;
  6226. }
  6227. .ant-switch-checked {
  6228. background-color: @primary-color;
  6229. }
  6230. .ant-table {
  6231. color: rgba(0, 0, 0, 0.65);
  6232. }
  6233. .ant-table table {
  6234. border-collapse: collapse;
  6235. border-radius: 4px 4px 0 0;
  6236. }
  6237. .ant-table-thead > tr > th {
  6238. background: #fafafa;
  6239. color: rgba(0, 0, 0, 0.85);
  6240. border-bottom: 1px solid #e8e8e8;
  6241. }
  6242. .ant-table-thead > tr > th .anticon-filter,
  6243. .ant-table-thead > tr > th .ant-table-filter-icon {
  6244. color: #bfbfbf;
  6245. }
  6246. .ant-table-thead > tr > th .ant-table-filter-selected.anticon-filter {
  6247. color: @primary-color;
  6248. }
  6249. .ant-table-thead > tr > th .ant-table-column-sorter {
  6250. color: #bfbfbf;
  6251. }
  6252. .ant-table-thead > tr > th .ant-table-column-sorter-up.on,
  6253. .ant-table-thead > tr > th .ant-table-column-sorter-down.on {
  6254. color: @primary-color;
  6255. }
  6256. .ant-table-thead > tr > th.ant-table-column-has-actions:hover {
  6257. background: #f5f5f5;
  6258. }
  6259. .ant-table-thead > tr > th.ant-table-column-has-actions:hover .anticon-filter,
  6260. .ant-table-thead > tr > th.ant-table-column-has-actions:hover .ant-table-filter-icon {
  6261. background: #f5f5f5;
  6262. }
  6263. .ant-table-thead > tr > th.ant-table-column-has-actions:hover .anticon-filter:hover,
  6264. .ant-table-thead > tr > th.ant-table-column-has-actions:hover .ant-table-filter-icon:hover {
  6265. color: rgba(0, 0, 0, 0.45);
  6266. background: #ebebeb;
  6267. }
  6268. .ant-table-thead > tr > th.ant-table-column-has-actions:hover .anticon-filter:active,
  6269. .ant-table-thead > tr > th.ant-table-column-has-actions:hover .ant-table-filter-icon:active {
  6270. color: rgba(0, 0, 0, 0.65);
  6271. }
  6272. .ant-table-thead > tr > th.ant-table-column-has-actions .anticon-filter.ant-table-filter-open,
  6273. .ant-table-thead > tr > th.ant-table-column-has-actions .ant-table-filter-icon.ant-table-filter-open {
  6274. color: rgba(0, 0, 0, 0.45);
  6275. background: #ebebeb;
  6276. }
  6277. .ant-table-thead > tr > th.ant-table-column-has-actions:active .ant-table-column-sorter-up:not(.on),
  6278. .ant-table-thead > tr > th.ant-table-column-has-actions:active .ant-table-column-sorter-down:not(.on) {
  6279. color: rgba(0, 0, 0, 0.45);
  6280. }
  6281. .ant-table-thead > tr > th .ant-table-column-sorters:before {
  6282. background: transparent;
  6283. }
  6284. .ant-table-thead > tr > th .ant-table-column-sorters:hover:before {
  6285. background: rgba(0, 0, 0, 0.04);
  6286. }
  6287. .ant-table-thead > tr:first-child > th:first-child {
  6288. border-top-left-radius: 4px;
  6289. }
  6290. .ant-table-thead > tr:first-child > th:last-child {
  6291. border-top-right-radius: 4px;
  6292. }
  6293. .ant-table-thead > tr:not(:last-child) > th[colspan] {
  6294. border-bottom: 0;
  6295. }
  6296. .ant-table-tbody > tr > td {
  6297. border-bottom: 1px solid #e8e8e8;
  6298. }
  6299. .ant-table-thead > tr.ant-table-row-hover > td,
  6300. .ant-table-tbody > tr.ant-table-row-hover > td,
  6301. .ant-table-thead > tr:hover > td,
  6302. .ant-table-tbody > tr:hover > td {
  6303. background: color(~`colorPalette("@{primary-color}", 1)`);
  6304. }
  6305. .ant-table-thead > tr:hover {
  6306. background: none;
  6307. }
  6308. .ant-table-footer {
  6309. background: #fafafa;
  6310. border-radius: 0 0 4px 4px;
  6311. border-top: 1px solid #e8e8e8;
  6312. }
  6313. .ant-table-footer:before {
  6314. background: #fafafa;
  6315. }
  6316. .ant-table.ant-table-bordered .ant-table-footer {
  6317. border: 1px solid #e8e8e8;
  6318. }
  6319. .ant-table-title {
  6320. border-radius: 4px 4px 0 0;
  6321. }
  6322. .ant-table.ant-table-bordered .ant-table-title {
  6323. border: 1px solid #e8e8e8;
  6324. }
  6325. .ant-table-title + .ant-table-content {
  6326. border-radius: 4px 4px 0 0;
  6327. }
  6328. .ant-table-bordered .ant-table-title + .ant-table-content,
  6329. .ant-table-bordered .ant-table-title + .ant-table-content table,
  6330. .ant-table-bordered .ant-table-title + .ant-table-content .ant-table-thead > tr:first-child > th {
  6331. border-radius: 0;
  6332. }
  6333. .ant-table-without-column-header .ant-table-title + .ant-table-content,
  6334. .ant-table-without-column-header table {
  6335. border-radius: 0;
  6336. }
  6337. .ant-table-tbody > tr.ant-table-row-selected td {
  6338. background: #fafafa;
  6339. }
  6340. .ant-table-thead > tr > th.ant-table-column-sort {
  6341. background: #f5f5f5;
  6342. }
  6343. .ant-table-tbody > tr > td.ant-table-column-sort {
  6344. background: rgba(0, 0, 0, 0.01);
  6345. }
  6346. .ant-table-header {
  6347. background: #fafafa;
  6348. }
  6349. .ant-table-header table {
  6350. border-radius: 4px 4px 0 0;
  6351. }
  6352. .ant-table-loading .ant-table-body {
  6353. background: #fff;
  6354. }
  6355. .ant-table-bordered .ant-table-header > table,
  6356. .ant-table-bordered .ant-table-body > table,
  6357. .ant-table-bordered .ant-table-fixed-left table,
  6358. .ant-table-bordered .ant-table-fixed-right table {
  6359. border: 1px solid #e8e8e8;
  6360. border-right: 0;
  6361. border-bottom: 0;
  6362. }
  6363. .ant-table-bordered.ant-table-empty .ant-table-placeholder {
  6364. border-left: 1px solid #e8e8e8;
  6365. border-right: 1px solid #e8e8e8;
  6366. }
  6367. .ant-table-bordered.ant-table-fixed-header .ant-table-header > table {
  6368. border-bottom: 0;
  6369. }
  6370. .ant-table-bordered.ant-table-fixed-header .ant-table-body > table {
  6371. border-top: 0;
  6372. border-top-left-radius: 0;
  6373. border-top-right-radius: 0;
  6374. }
  6375. .ant-table-bordered.ant-table-fixed-header .ant-table-body-inner > table {
  6376. border-top: 0;
  6377. }
  6378. .ant-table-bordered.ant-table-fixed-header .ant-table-placeholder {
  6379. border: 0;
  6380. }
  6381. .ant-table-bordered .ant-table-thead > tr:not(:last-child) > th {
  6382. border-bottom: 1px solid #e8e8e8;
  6383. }
  6384. .ant-table-bordered .ant-table-thead > tr > th,
  6385. .ant-table-bordered .ant-table-tbody > tr > td {
  6386. border-right: 1px solid #e8e8e8;
  6387. }
  6388. .ant-table-placeholder {
  6389. background: #fff;
  6390. border-bottom: 1px solid #e8e8e8;
  6391. color: rgba(0, 0, 0, 0.45);
  6392. }
  6393. .ant-table-filter-dropdown {
  6394. background: #fff;
  6395. border-radius: 4px;
  6396. box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  6397. }
  6398. .ant-table-filter-dropdown .ant-dropdown-menu {
  6399. border: 0;
  6400. box-shadow: none;
  6401. border-radius: 4px 4px 0 0;
  6402. }
  6403. .ant-table-filter-dropdown .ant-dropdown-menu-sub {
  6404. border-radius: 4px;
  6405. box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  6406. }
  6407. .ant-table-filter-dropdown .ant-dropdown-menu .ant-dropdown-submenu-contain-selected .ant-dropdown-menu-submenu-title:after {
  6408. color: @primary-color;
  6409. }
  6410. .ant-table-filter-dropdown > .ant-dropdown-menu > .ant-dropdown-menu-item:last-child,
  6411. .ant-table-filter-dropdown > .ant-dropdown-menu > .ant-dropdown-menu-submenu:last-child .ant-dropdown-menu-submenu-title {
  6412. border-radius: 0;
  6413. }
  6414. .ant-table-filter-dropdown-btns {
  6415. border-top: 1px solid #e8e8e8;
  6416. }
  6417. .ant-table-filter-dropdown-link {
  6418. color: @primary-color;
  6419. }
  6420. .ant-table-filter-dropdown-link:hover {
  6421. color: color(~`colorPalette("@{primary-color}", 5)`);
  6422. }
  6423. .ant-table-filter-dropdown-link:active {
  6424. color: color(~`colorPalette("@{primary-color}", 7)`);
  6425. }
  6426. .ant-table-selection .anticon-down {
  6427. color: #bfbfbf;
  6428. }
  6429. .ant-table-selection-menu {
  6430. background: #fff;
  6431. border-radius: 4px;
  6432. box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  6433. }
  6434. .ant-table-selection-menu .ant-action-down {
  6435. color: #bfbfbf;
  6436. }
  6437. .ant-table-selection-down:hover .anticon-down {
  6438. color: #666;
  6439. }
  6440. .ant-table-row-expand-icon {
  6441. border: 1px solid #e8e8e8;
  6442. background: #fff;
  6443. }
  6444. tr.ant-table-expanded-row,
  6445. tr.ant-table-expanded-row:hover {
  6446. background: #fbfbfb;
  6447. }
  6448. .ant-table-fixed-header > .ant-table-content > .ant-table-scroll > .ant-table-body {
  6449. background: #fff;
  6450. }
  6451. .ant-table-fixed-left,
  6452. .ant-table-fixed-right {
  6453. border-radius: 0;
  6454. }
  6455. .ant-table-fixed-left table,
  6456. .ant-table-fixed-right table {
  6457. background: #fff;
  6458. }
  6459. .ant-table-fixed-header .ant-table-fixed-left .ant-table-body-outer .ant-table-fixed,
  6460. .ant-table-fixed-header .ant-table-fixed-right .ant-table-body-outer .ant-table-fixed {
  6461. border-radius: 0;
  6462. }
  6463. .ant-table-fixed-left {
  6464. box-shadow: 6px 0 6px -4px rgba(0, 0, 0, 0.15);
  6465. }
  6466. .ant-table-fixed-left,
  6467. .ant-table-fixed-left table {
  6468. border-radius: 4px 0 0 0;
  6469. }
  6470. .ant-table-fixed-left .ant-table-thead > tr > th:last-child {
  6471. border-top-right-radius: 0;
  6472. }
  6473. .ant-table-fixed-right {
  6474. box-shadow: -6px 0 6px -4px rgba(0, 0, 0, 0.15);
  6475. }
  6476. .ant-table-fixed-right,
  6477. .ant-table-fixed-right table {
  6478. border-radius: 0 4px 0 0;
  6479. }
  6480. .ant-table-fixed-right .ant-table-expanded-row {
  6481. color: transparent;
  6482. }
  6483. .ant-table-fixed-right .ant-table-thead > tr > th:first-child {
  6484. border-top-left-radius: 0;
  6485. }
  6486. .ant-table.ant-table-scroll-position-left .ant-table-fixed-left {
  6487. box-shadow: none;
  6488. }
  6489. .ant-table.ant-table-scroll-position-right .ant-table-fixed-right {
  6490. box-shadow: none;
  6491. }
  6492. .ant-table-small {
  6493. border: 1px solid #e8e8e8;
  6494. border-radius: 4px;
  6495. }
  6496. .ant-table-small > .ant-table-title {
  6497. border-bottom: 1px solid #e8e8e8;
  6498. }
  6499. .ant-table-small > .ant-table-content > .ant-table-header > table,
  6500. .ant-table-small > .ant-table-content > .ant-table-body > table,
  6501. .ant-table-small > .ant-table-content > .ant-table-scroll > .ant-table-header > table,
  6502. .ant-table-small > .ant-table-content > .ant-table-scroll > .ant-table-body > table,
  6503. .ant-table-small > .ant-table-content > .ant-table-fixed-left > .ant-table-header > table,
  6504. .ant-table-small > .ant-table-content > .ant-table-fixed-right > .ant-table-header > table,
  6505. .ant-table-small > .ant-table-content > .ant-table-fixed-left > .ant-table-body-outer > .ant-table-body-inner > table,
  6506. .ant-table-small > .ant-table-content > .ant-table-fixed-right > .ant-table-body-outer > .ant-table-body-inner > table {
  6507. border: 0;
  6508. }
  6509. .ant-table-small > .ant-table-content > .ant-table-header > table > .ant-table-thead > tr > th,
  6510. .ant-table-small > .ant-table-content > .ant-table-body > table > .ant-table-thead > tr > th,
  6511. .ant-table-small > .ant-table-content > .ant-table-scroll > .ant-table-header > table > .ant-table-thead > tr > th,
  6512. .ant-table-small > .ant-table-content > .ant-table-scroll > .ant-table-body > table > .ant-table-thead > tr > th,
  6513. .ant-table-small > .ant-table-content > .ant-table-fixed-left > .ant-table-header > table > .ant-table-thead > tr > th,
  6514. .ant-table-small > .ant-table-content > .ant-table-fixed-right > .ant-table-header > table > .ant-table-thead > tr > th,
  6515. .ant-table-small > .ant-table-content > .ant-table-fixed-left > .ant-table-body-outer > .ant-table-body-inner > table > .ant-table-thead > tr > th,
  6516. .ant-table-small > .ant-table-content > .ant-table-fixed-right > .ant-table-body-outer > .ant-table-body-inner > table > .ant-table-thead > tr > th {
  6517. background: #fff;
  6518. border-bottom: 1px solid #e8e8e8;
  6519. }
  6520. .ant-table-small > .ant-table-content .ant-table-header {
  6521. background: #fff;
  6522. }
  6523. .ant-table-small > .ant-table-content .ant-table-placeholder,
  6524. .ant-table-small > .ant-table-content .ant-table-row:last-child td {
  6525. border-bottom: 0;
  6526. }
  6527. .ant-table-small.ant-table-bordered {
  6528. border-right: 0;
  6529. }
  6530. .ant-table-small.ant-table-bordered .ant-table-title {
  6531. border: 0;
  6532. border-bottom: 1px solid #e8e8e8;
  6533. border-right: 1px solid #e8e8e8;
  6534. }
  6535. .ant-table-small.ant-table-bordered .ant-table-content {
  6536. border-right: 1px solid #e8e8e8;
  6537. }
  6538. .ant-table-small.ant-table-bordered .ant-table-footer {
  6539. border: 0;
  6540. border-top: 1px solid #e8e8e8;
  6541. border-right: 1px solid #e8e8e8;
  6542. }
  6543. .ant-table-small.ant-table-bordered .ant-table-placeholder {
  6544. border-left: 0;
  6545. border-bottom: 0;
  6546. }
  6547. .ant-table-small.ant-table-bordered .ant-table-thead > tr > th:last-child,
  6548. .ant-table-small.ant-table-bordered .ant-table-tbody > tr > td:last-child {
  6549. border-right: none;
  6550. }
  6551. .ant-table-small.ant-table-bordered .ant-table-fixed-left .ant-table-thead > tr > th:last-child,
  6552. .ant-table-small.ant-table-bordered .ant-table-fixed-left .ant-table-tbody > tr > td:last-child {
  6553. border-right: 1px solid #e8e8e8;
  6554. }
  6555. .ant-table-small.ant-table-bordered .ant-table-fixed-right {
  6556. border-right: 1px solid #e8e8e8;
  6557. }
  6558. .ant-tabs.ant-tabs-card > .ant-tabs-bar .ant-tabs-tab {
  6559. border: 1px solid #e8e8e8;
  6560. border-bottom: 0;
  6561. border-radius: 4px 4px 0 0;
  6562. background: #fafafa;
  6563. }
  6564. .ant-tabs.ant-tabs-card > .ant-tabs-bar .ant-tabs-tab-active {
  6565. background: #fff;
  6566. border-color: @primary-color !important;
  6567. color: @primary-color;
  6568. }
  6569. .ant-tabs.ant-tabs-card > .ant-tabs-bar .ant-tabs-tab .ant-tabs-close-x {
  6570. color: rgba(0, 0, 0, 0.45);
  6571. }
  6572. .ant-tabs.ant-tabs-card > .ant-tabs-bar .ant-tabs-tab .ant-tabs-close-x:hover {
  6573. color: rgba(0, 0, 0, 0.85);
  6574. }
  6575. .ant-tabs-extra-content .ant-tabs-new-tab {
  6576. border-radius: 2px;
  6577. border: 1px solid #e8e8e8;
  6578. color: rgba(0, 0, 0, 0.65);
  6579. }
  6580. .ant-tabs-extra-content .ant-tabs-new-tab:hover {
  6581. color: @primary-color;
  6582. border-color: @primary-color;
  6583. }
  6584. .ant-tabs-vertical.ant-tabs-card > .ant-tabs-bar .ant-tabs-tab {
  6585. border-bottom: 1px solid #e8e8e8;
  6586. }
  6587. .ant-tabs-vertical.ant-tabs-card.ant-tabs-left > .ant-tabs-bar .ant-tabs-tab {
  6588. border-right: 0;
  6589. border-radius: 4px 0 0 4px;
  6590. }
  6591. .ant-tabs-vertical.ant-tabs-card.ant-tabs-right > .ant-tabs-bar .ant-tabs-tab {
  6592. border-left: 0;
  6593. border-radius: 0 4px 4px 0;
  6594. }
  6595. .ant-tabs.ant-tabs-card.ant-tabs-bottom > .ant-tabs-bar .ant-tabs-tab {
  6596. border-bottom: 1px solid #e8e8e8;
  6597. border-top: 0;
  6598. border-radius: 0 0 4px 4px;
  6599. }
  6600. .ant-tabs.ant-tabs-card.ant-tabs-bottom > .ant-tabs-bar .ant-tabs-tab-active {
  6601. color: @primary-color;
  6602. }
  6603. .ant-tabs {
  6604. color: rgba(0, 0, 0, 0.65);
  6605. }
  6606. .ant-tabs-ink-bar {
  6607. background-color: @primary-color;
  6608. }
  6609. .ant-tabs-bar {
  6610. border-bottom: 1px solid #e8e8e8;
  6611. }
  6612. .ant-tabs-bottom .ant-tabs-bar {
  6613. border-bottom: none;
  6614. border-top: 1px solid #e8e8e8;
  6615. }
  6616. .ant-tabs-tab-prev,
  6617. .ant-tabs-tab-next {
  6618. border: 0;
  6619. background-color: transparent;
  6620. color: rgba(0, 0, 0, 0.45);
  6621. }
  6622. .ant-tabs-tab-prev:hover,
  6623. .ant-tabs-tab-next:hover {
  6624. color: rgba(0, 0, 0, 0.65);
  6625. }
  6626. .ant-tabs-tab-btn-disabled,
  6627. .ant-tabs-tab-btn-disabled:hover {
  6628. color: rgba(0, 0, 0, 0.25);
  6629. }
  6630. .ant-tabs-nav .ant-tabs-tab-disabled {
  6631. color: rgba(0, 0, 0, 0.25);
  6632. }
  6633. .ant-tabs-nav .ant-tabs-tab:hover {
  6634. color: color(~`colorPalette("@{primary-color}", 5)`);
  6635. }
  6636. .ant-tabs-nav .ant-tabs-tab:active {
  6637. color: color(~`colorPalette("@{primary-color}", 7)`);
  6638. }
  6639. .ant-tabs-nav .ant-tabs-tab-active {
  6640. color: @primary-color;
  6641. }
  6642. .ant-tabs-vertical > .ant-tabs-bar {
  6643. border-bottom: 0;
  6644. }
  6645. .ant-tabs-vertical.ant-tabs-left > .ant-tabs-bar {
  6646. border-right: 1px solid #e8e8e8;
  6647. }
  6648. .ant-tabs-vertical.ant-tabs-left > .ant-tabs-content {
  6649. border-left: 1px solid #e8e8e8;
  6650. }
  6651. .ant-tabs-vertical.ant-tabs-right > .ant-tabs-bar {
  6652. border-left: 1px solid #e8e8e8;
  6653. }
  6654. .ant-tabs-vertical.ant-tabs-right > .ant-tabs-content {
  6655. border-right: 1px solid #e8e8e8;
  6656. }
  6657. .ant-tag {
  6658. color: rgba(0, 0, 0, 0.65);
  6659. border-radius: 4px;
  6660. border: 1px solid #d9d9d9;
  6661. background: #fafafa;
  6662. }
  6663. .ant-tag,
  6664. .ant-tag a,
  6665. .ant-tag a:hover {
  6666. color: rgba(0, 0, 0, 0.65);
  6667. }
  6668. .ant-tag .anticon-close {
  6669. color: rgba(0, 0, 0, 0.45);
  6670. }
  6671. .ant-tag .anticon-close:hover {
  6672. color: rgba(0, 0, 0, 0.85);
  6673. }
  6674. .ant-tag-has-color {
  6675. border-color: transparent;
  6676. }
  6677. .ant-tag-has-color,
  6678. .ant-tag-has-color a,
  6679. .ant-tag-has-color a:hover,
  6680. .ant-tag-has-color .anticon-close,
  6681. .ant-tag-has-color .anticon-close:hover {
  6682. color: #fff;
  6683. }
  6684. .ant-tag-checkable {
  6685. background-color: transparent;
  6686. border-color: transparent;
  6687. }
  6688. .ant-tag-checkable:not(.ant-tag-checkable-checked):hover {
  6689. color: @primary-color;
  6690. }
  6691. .ant-tag-checkable:active,
  6692. .ant-tag-checkable-checked {
  6693. color: #fff;
  6694. }
  6695. .ant-tag-checkable-checked {
  6696. background-color: @primary-color;
  6697. }
  6698. .ant-tag-checkable:active {
  6699. background-color: color(~`colorPalette("@{primary-color}", 7)`);
  6700. }
  6701. .ant-tag-pink {
  6702. color: #eb2f96;
  6703. background: #fff0f6;
  6704. border-color: #ffadd2;
  6705. }
  6706. .ant-tag-pink-inverse {
  6707. background: #eb2f96;
  6708. border-color: #eb2f96;
  6709. color: #fff;
  6710. }
  6711. .ant-tag-magenta {
  6712. color: #eb2f96;
  6713. background: #fff0f6;
  6714. border-color: #ffadd2;
  6715. }
  6716. .ant-tag-magenta-inverse {
  6717. background: #eb2f96;
  6718. border-color: #eb2f96;
  6719. color: #fff;
  6720. }
  6721. .ant-tag-red {
  6722. color: #f5222d;
  6723. background: #fff1f0;
  6724. border-color: #ffa39e;
  6725. }
  6726. .ant-tag-red-inverse {
  6727. background: #f5222d;
  6728. border-color: #f5222d;
  6729. color: #fff;
  6730. }
  6731. .ant-tag-volcano {
  6732. color: #fa541c;
  6733. background: #fff2e8;
  6734. border-color: #ffbb96;
  6735. }
  6736. .ant-tag-volcano-inverse {
  6737. background: #fa541c;
  6738. border-color: #fa541c;
  6739. color: #fff;
  6740. }
  6741. .ant-tag-orange {
  6742. color: #fa8c16;
  6743. background: #fff7e6;
  6744. border-color: #ffd591;
  6745. }
  6746. .ant-tag-orange-inverse {
  6747. background: #fa8c16;
  6748. border-color: #fa8c16;
  6749. color: #fff;
  6750. }
  6751. .ant-tag-yellow {
  6752. color: #fadb14;
  6753. background: #feffe6;
  6754. border-color: #fffb8f;
  6755. }
  6756. .ant-tag-yellow-inverse {
  6757. background: #fadb14;
  6758. border-color: #fadb14;
  6759. color: #fff;
  6760. }
  6761. .ant-tag-gold {
  6762. color: #faad14;
  6763. background: #fffbe6;
  6764. border-color: #ffe58f;
  6765. }
  6766. .ant-tag-gold-inverse {
  6767. background: #faad14;
  6768. border-color: #faad14;
  6769. color: #fff;
  6770. }
  6771. .ant-tag-cyan {
  6772. color: #13c2c2;
  6773. background: #e6fffb;
  6774. border-color: #87e8de;
  6775. }
  6776. .ant-tag-cyan-inverse {
  6777. background: #13c2c2;
  6778. border-color: #13c2c2;
  6779. color: #fff;
  6780. }
  6781. .ant-tag-lime {
  6782. color: #a0d911;
  6783. background: #fcffe6;
  6784. border-color: #eaff8f;
  6785. }
  6786. .ant-tag-lime-inverse {
  6787. background: #a0d911;
  6788. border-color: #a0d911;
  6789. color: #fff;
  6790. }
  6791. .ant-tag-green {
  6792. color: #52c41a;
  6793. background: #f6ffed;
  6794. border-color: #b7eb8f;
  6795. }
  6796. .ant-tag-green-inverse {
  6797. background: #52c41a;
  6798. border-color: #52c41a;
  6799. color: #fff;
  6800. }
  6801. .ant-tag-blue {
  6802. color: @primary-color;
  6803. background: color(~`colorPalette("@{primary-color}", 1)`);
  6804. border-color: color(~`colorPalette("@{primary-color}", 3)`);
  6805. }
  6806. .ant-tag-blue-inverse {
  6807. background: @primary-color;
  6808. border-color: @primary-color;
  6809. color: #fff;
  6810. }
  6811. .ant-tag-geekblue {
  6812. color: #2f54eb;
  6813. background: #f0f5ff;
  6814. border-color: #adc6ff;
  6815. }
  6816. .ant-tag-geekblue-inverse {
  6817. background: #2f54eb;
  6818. border-color: #2f54eb;
  6819. color: #fff;
  6820. }
  6821. .ant-tag-purple {
  6822. color: #722ed1;
  6823. background: #f9f0ff;
  6824. border-color: #d3adf7;
  6825. }
  6826. .ant-tag-purple-inverse {
  6827. background: #722ed1;
  6828. border-color: #722ed1;
  6829. color: #fff;
  6830. }
  6831. .ant-time-picker-panel {
  6832. color: rgba(0, 0, 0, 0.65);
  6833. }
  6834. .ant-time-picker-panel-inner {
  6835. background-color: #fff;
  6836. border-radius: 4px;
  6837. box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  6838. background-clip: padding-box;
  6839. }
  6840. .ant-time-picker-panel-input {
  6841. border: 0;
  6842. }
  6843. .ant-time-picker-panel-input::-moz-placeholder {
  6844. color: #bfbfbf;
  6845. }
  6846. .ant-time-picker-panel-input:-ms-input-placeholder {
  6847. color: #bfbfbf;
  6848. }
  6849. .ant-time-picker-panel-input::-webkit-input-placeholder {
  6850. color: #bfbfbf;
  6851. }
  6852. .ant-time-picker-panel-input-wrap {
  6853. border-bottom: 1px solid #e8e8e8;
  6854. }
  6855. .ant-time-picker-panel-input-invalid {
  6856. border-color: red;
  6857. }
  6858. .ant-time-picker-panel-clear-btn-icon svg {
  6859. color: rgba(0, 0, 0, 0.25);
  6860. }
  6861. .ant-time-picker-panel-clear-btn-icon svg:hover {
  6862. color: rgba(0, 0, 0, 0.45);
  6863. }
  6864. .ant-time-picker-panel-select {
  6865. border-left: 1px solid #e8e8e8;
  6866. }
  6867. .ant-time-picker-panel-select:first-child {
  6868. border-left: 0;
  6869. }
  6870. .ant-time-picker-panel-select:last-child {
  6871. border-right: 0;
  6872. }
  6873. .ant-time-picker-panel-select li:hover {
  6874. background: color(~`colorPalette("@{primary-color}", 1)`);
  6875. }
  6876. li.ant-time-picker-panel-select-option-selected {
  6877. background: #f5f5f5;
  6878. }
  6879. li.ant-time-picker-panel-select-option-selected:hover {
  6880. background: #f5f5f5;
  6881. }
  6882. li.ant-time-picker-panel-select-option-disabled {
  6883. color: rgba(0, 0, 0, 0.25);
  6884. }
  6885. li.ant-time-picker-panel-select-option-disabled:hover {
  6886. background: transparent;
  6887. }
  6888. .ant-time-picker-panel-addon {
  6889. border-top: 1px solid #e8e8e8;
  6890. }
  6891. .ant-time-picker {
  6892. color: rgba(0, 0, 0, 0.65);
  6893. }
  6894. .ant-time-picker-input {
  6895. color: rgba(0, 0, 0, 0.65);
  6896. background-color: #fff;
  6897. background-image: none;
  6898. border: 1px solid #d9d9d9;
  6899. border-radius: 4px;
  6900. }
  6901. .ant-time-picker-input::-moz-placeholder {
  6902. color: #bfbfbf;
  6903. }
  6904. .ant-time-picker-input:-ms-input-placeholder {
  6905. color: #bfbfbf;
  6906. }
  6907. .ant-time-picker-input::-webkit-input-placeholder {
  6908. color: #bfbfbf;
  6909. }
  6910. .ant-time-picker-input:hover {
  6911. border-color: color(~`colorPalette("@{primary-color}", 5)`);
  6912. border-right-width: 1px !important;
  6913. }
  6914. .ant-time-picker-input:focus {
  6915. border-color: color(~`colorPalette("@{primary-color}", 5)`);
  6916. box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
  6917. border-right-width: 1px !important;
  6918. }
  6919. .ant-time-picker-input-disabled {
  6920. background-color: #f5f5f5;
  6921. color: rgba(0, 0, 0, 0.25);
  6922. }
  6923. .ant-time-picker-input-disabled:hover {
  6924. border-color: #e6d8d8;
  6925. border-right-width: 1px !important;
  6926. }
  6927. .ant-time-picker-input[disabled] {
  6928. background-color: #f5f5f5;
  6929. color: rgba(0, 0, 0, 0.25);
  6930. }
  6931. .ant-time-picker-input[disabled]:hover {
  6932. border-color: #e6d8d8;
  6933. border-right-width: 1px !important;
  6934. }
  6935. .ant-time-picker-icon {
  6936. color: rgba(0, 0, 0, 0.25);
  6937. }
  6938. .ant-time-picker-icon .ant-time-picker-clock-icon {
  6939. color: rgba(0, 0, 0, 0.25);
  6940. }
  6941. .ant-timeline {
  6942. color: rgba(0, 0, 0, 0.65);
  6943. }
  6944. .ant-timeline-item-tail {
  6945. border-left: 2px solid #e8e8e8;
  6946. }
  6947. .ant-timeline-item-head {
  6948. background-color: #fff;
  6949. border-radius: 100px;
  6950. border: 2px solid transparent;
  6951. }
  6952. .ant-timeline-item-head-blue {
  6953. border-color: @primary-color;
  6954. color: @primary-color;
  6955. }
  6956. .ant-timeline-item-head-red {
  6957. border-color: #f5222d;
  6958. color: #f5222d;
  6959. }
  6960. .ant-timeline-item-head-green {
  6961. border-color: #52c41a;
  6962. color: #52c41a;
  6963. }
  6964. .ant-timeline-item-head-custom {
  6965. border: 0;
  6966. border-radius: 0;
  6967. }
  6968. .ant-timeline.ant-timeline-pending .ant-timeline-item-last .ant-timeline-item-tail {
  6969. border-left: 2px dotted #e8e8e8;
  6970. }
  6971. .ant-timeline.ant-timeline-reverse .ant-timeline-item-pending .ant-timeline-item-tail {
  6972. border-left: 2px dotted #e8e8e8;
  6973. }
  6974. .ant-tooltip {
  6975. color: rgba(0, 0, 0, 0.65);
  6976. }
  6977. .ant-tooltip-inner {
  6978. color: #fff;
  6979. background-color: rgba(0, 0, 0, 0.75);
  6980. border-radius: 4px;
  6981. box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  6982. }
  6983. .ant-tooltip-arrow {
  6984. border-color: transparent;
  6985. border-style: solid;
  6986. }
  6987. .ant-tooltip-placement-top .ant-tooltip-arrow,
  6988. .ant-tooltip-placement-topLeft .ant-tooltip-arrow,
  6989. .ant-tooltip-placement-topRight .ant-tooltip-arrow {
  6990. border-width: 5px 5px 0;
  6991. border-top-color: rgba(0, 0, 0, 0.75);
  6992. }
  6993. .ant-tooltip-placement-right .ant-tooltip-arrow,
  6994. .ant-tooltip-placement-rightTop .ant-tooltip-arrow,
  6995. .ant-tooltip-placement-rightBottom .ant-tooltip-arrow {
  6996. border-width: 5px 5px 5px 0;
  6997. border-right-color: rgba(0, 0, 0, 0.75);
  6998. }
  6999. .ant-tooltip-placement-left .ant-tooltip-arrow,
  7000. .ant-tooltip-placement-leftTop .ant-tooltip-arrow,
  7001. .ant-tooltip-placement-leftBottom .ant-tooltip-arrow {
  7002. border-width: 5px 0 5px 5px;
  7003. border-left-color: rgba(0, 0, 0, 0.75);
  7004. }
  7005. .ant-tooltip-placement-bottom .ant-tooltip-arrow,
  7006. .ant-tooltip-placement-bottomLeft .ant-tooltip-arrow,
  7007. .ant-tooltip-placement-bottomRight .ant-tooltip-arrow {
  7008. border-width: 0 5px 5px;
  7009. border-bottom-color: rgba(0, 0, 0, 0.75);
  7010. }
  7011. .ant-transfer {
  7012. color: rgba(0, 0, 0, 0.65);
  7013. }
  7014. .ant-transfer-disabled .ant-transfer-list {
  7015. background: #f5f5f5;
  7016. }
  7017. .ant-transfer-list {
  7018. border: 1px solid #d9d9d9;
  7019. border-radius: 4px;
  7020. }
  7021. .ant-transfer-list-search-action {
  7022. color: rgba(0, 0, 0, 0.25);
  7023. }
  7024. .ant-transfer-list-search-action .anticon {
  7025. color: rgba(0, 0, 0, 0.25);
  7026. }
  7027. .ant-transfer-list-search-action .anticon:hover {
  7028. color: rgba(0, 0, 0, 0.45);
  7029. }
  7030. .ant-transfer-list-header {
  7031. border-radius: 4px 4px 0 0;
  7032. background: #fff;
  7033. color: rgba(0, 0, 0, 0.65);
  7034. border-bottom: 1px solid #e8e8e8;
  7035. }
  7036. .ant-transfer-list-content-item:not(.ant-transfer-list-content-item-disabled):hover {
  7037. background-color: color(~`colorPalette("@{primary-color}", 1)`);
  7038. }
  7039. .ant-transfer-list-content-item-disabled {
  7040. color: rgba(0, 0, 0, 0.25);
  7041. }
  7042. .ant-transfer-list-body-not-found {
  7043. color: rgba(0, 0, 0, 0.25);
  7044. }
  7045. .ant-transfer-list-footer {
  7046. border-top: 1px solid #e8e8e8;
  7047. border-radius: 0 0 4px 4px;
  7048. }
  7049. .ant-select-tree-checkbox {
  7050. color: rgba(0, 0, 0, 0.65);
  7051. }
  7052. .ant-select-tree-checkbox-wrapper:hover .ant-select-tree-checkbox-inner,
  7053. .ant-select-tree-checkbox:hover .ant-select-tree-checkbox-inner,
  7054. .ant-select-tree-checkbox-input:focus + .ant-select-tree-checkbox-inner {
  7055. border-color: @primary-color;
  7056. }
  7057. .ant-select-tree-checkbox-checked:after {
  7058. border-radius: 2px;
  7059. border: 1px solid @primary-color;
  7060. }
  7061. .ant-select-tree-checkbox-inner {
  7062. border: 1px solid #d9d9d9;
  7063. border-radius: 2px;
  7064. background-color: #fff;
  7065. }
  7066. .ant-select-tree-checkbox-inner:after {
  7067. border: 2px solid #fff;
  7068. border-top: 0;
  7069. border-left: 0;
  7070. }
  7071. .ant-select-tree-checkbox-indeterminate .ant-select-tree-checkbox-inner:after {
  7072. border: 0;
  7073. background-color: @primary-color;
  7074. }
  7075. .ant-select-tree-checkbox-indeterminate.ant-select-tree-checkbox-disabled .ant-select-tree-checkbox-inner:after {
  7076. border-color: rgba(0, 0, 0, 0.25);
  7077. }
  7078. .ant-select-tree-checkbox-checked .ant-select-tree-checkbox-inner:after {
  7079. border: 2px solid #fff;
  7080. border-top: 0;
  7081. border-left: 0;
  7082. }
  7083. .ant-select-tree-checkbox-checked .ant-select-tree-checkbox-inner {
  7084. background-color: @primary-color;
  7085. border-color: @primary-color;
  7086. }
  7087. .ant-select-tree-checkbox-disabled.ant-select-tree-checkbox-checked .ant-select-tree-checkbox-inner:after {
  7088. border-color: rgba(0, 0, 0, 0.25);
  7089. }
  7090. .ant-select-tree-checkbox-disabled .ant-select-tree-checkbox-inner {
  7091. border-color: #d9d9d9 !important;
  7092. background-color: #f5f5f5;
  7093. }
  7094. .ant-select-tree-checkbox-disabled .ant-select-tree-checkbox-inner:after {
  7095. border-color: #f5f5f5;
  7096. }
  7097. .ant-select-tree-checkbox-disabled + span {
  7098. color: rgba(0, 0, 0, 0.25);
  7099. }
  7100. .ant-select-tree-checkbox-wrapper {
  7101. color: rgba(0, 0, 0, 0.65);
  7102. }
  7103. .ant-select-tree-checkbox-group {
  7104. color: rgba(0, 0, 0, 0.65);
  7105. }
  7106. .ant-select-tree {
  7107. color: rgba(0, 0, 0, 0.65);
  7108. }
  7109. .ant-select-tree li .ant-select-tree-node-content-wrapper {
  7110. border-radius: 2px;
  7111. color: rgba(0, 0, 0, 0.65);
  7112. }
  7113. .ant-select-tree li .ant-select-tree-node-content-wrapper:hover {
  7114. background-color: color(~`colorPalette("@{primary-color}", 1)`);
  7115. }
  7116. .ant-select-tree li .ant-select-tree-node-content-wrapper.ant-select-tree-node-selected {
  7117. background-color: color(~`colorPalette("@{primary-color}", 2)`);
  7118. }
  7119. .ant-select-tree li span.ant-select-tree-switcher,
  7120. .ant-select-tree li span.ant-select-tree-iconEle {
  7121. border: 0 none;
  7122. }
  7123. .ant-select-tree li span.ant-select-icon_loading .ant-select-switcher-loading-icon {
  7124. color: @primary-color;
  7125. }
  7126. .ant-select-tree li span.ant-select-tree-switcher.ant-select-tree-switcher_open .ant-select-switcher-loading-icon,
  7127. .ant-select-tree li span.ant-select-tree-switcher.ant-select-tree-switcher_close .ant-select-switcher-loading-icon {
  7128. color: @primary-color;
  7129. }
  7130. li.ant-select-tree-treenode-disabled > span:not(.ant-select-tree-switcher),
  7131. li.ant-select-tree-treenode-disabled > .ant-select-tree-node-content-wrapper,
  7132. li.ant-select-tree-treenode-disabled > .ant-select-tree-node-content-wrapper span {
  7133. color: rgba(0, 0, 0, 0.25);
  7134. }
  7135. li.ant-select-tree-treenode-disabled > .ant-select-tree-node-content-wrapper:hover {
  7136. background: transparent;
  7137. }
  7138. .ant-select-tree-dropdown {
  7139. color: rgba(0, 0, 0, 0.65);
  7140. }
  7141. .ant-select-tree-dropdown .ant-select-dropdown-search .ant-select-search__field {
  7142. border: 1px solid #d9d9d9;
  7143. border-radius: 4px;
  7144. }
  7145. .ant-select-tree-dropdown .ant-select-not-found {
  7146. color: rgba(0, 0, 0, 0.25);
  7147. }
  7148. .ant-tree.ant-tree-directory > li span.ant-tree-node-content-wrapper,
  7149. .ant-tree.ant-tree-directory .ant-tree-child-tree > li span.ant-tree-node-content-wrapper {
  7150. border-radius: 0;
  7151. }
  7152. .ant-tree.ant-tree-directory > li span.ant-tree-node-content-wrapper:hover,
  7153. .ant-tree.ant-tree-directory .ant-tree-child-tree > li span.ant-tree-node-content-wrapper:hover {
  7154. background: transparent;
  7155. }
  7156. .ant-tree.ant-tree-directory > li span.ant-tree-node-content-wrapper:hover:before,
  7157. .ant-tree.ant-tree-directory .ant-tree-child-tree > li span.ant-tree-node-content-wrapper:hover:before {
  7158. background: color(~`colorPalette("@{primary-color}", 1)`);
  7159. }
  7160. .ant-tree.ant-tree-directory > li span.ant-tree-node-content-wrapper.ant-tree-node-selected,
  7161. .ant-tree.ant-tree-directory .ant-tree-child-tree > li span.ant-tree-node-content-wrapper.ant-tree-node-selected {
  7162. color: #fff;
  7163. background: transparent;
  7164. }
  7165. .ant-tree.ant-tree-directory > li.ant-tree-treenode-selected > span.ant-tree-switcher,
  7166. .ant-tree.ant-tree-directory .ant-tree-child-tree > li.ant-tree-treenode-selected > span.ant-tree-switcher {
  7167. color: #fff;
  7168. }
  7169. .ant-tree.ant-tree-directory > li.ant-tree-treenode-selected > span.ant-tree-checkbox .ant-tree-checkbox-inner,
  7170. .ant-tree.ant-tree-directory .ant-tree-child-tree > li.ant-tree-treenode-selected > span.ant-tree-checkbox .ant-tree-checkbox-inner {
  7171. border-color: @primary-color;
  7172. }
  7173. .ant-tree.ant-tree-directory > li.ant-tree-treenode-selected > span.ant-tree-checkbox.ant-tree-checkbox-checked:after,
  7174. .ant-tree.ant-tree-directory .ant-tree-child-tree > li.ant-tree-treenode-selected > span.ant-tree-checkbox.ant-tree-checkbox-checked:after {
  7175. border-color: #fff;
  7176. }
  7177. .ant-tree.ant-tree-directory > li.ant-tree-treenode-selected > span.ant-tree-checkbox.ant-tree-checkbox-checked .ant-tree-checkbox-inner,
  7178. .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 {
  7179. background: #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:after,
  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:after {
  7183. border-color: @primary-color;
  7184. }
  7185. .ant-tree.ant-tree-directory > li.ant-tree-treenode-selected > span.ant-tree-node-content-wrapper:before,
  7186. .ant-tree.ant-tree-directory .ant-tree-child-tree > li.ant-tree-treenode-selected > span.ant-tree-node-content-wrapper:before {
  7187. background: @primary-color;
  7188. }
  7189. .ant-tree-checkbox {
  7190. color: rgba(0, 0, 0, 0.65);
  7191. }
  7192. .ant-tree-checkbox-wrapper:hover .ant-tree-checkbox-inner,
  7193. .ant-tree-checkbox:hover .ant-tree-checkbox-inner,
  7194. .ant-tree-checkbox-input:focus + .ant-tree-checkbox-inner {
  7195. border-color: @primary-color;
  7196. }
  7197. .ant-tree-checkbox-checked:after {
  7198. border-radius: 2px;
  7199. border: 1px solid @primary-color;
  7200. }
  7201. .ant-tree-checkbox-inner {
  7202. border: 1px solid #d9d9d9;
  7203. border-radius: 2px;
  7204. background-color: #fff;
  7205. }
  7206. .ant-tree-checkbox-inner:after {
  7207. border: 2px solid #fff;
  7208. border-top: 0;
  7209. border-left: 0;
  7210. }
  7211. .ant-tree-checkbox-indeterminate .ant-tree-checkbox-inner:after {
  7212. border: 0;
  7213. background-color: @primary-color;
  7214. }
  7215. .ant-tree-checkbox-indeterminate.ant-tree-checkbox-disabled .ant-tree-checkbox-inner:after {
  7216. border-color: rgba(0, 0, 0, 0.25);
  7217. }
  7218. .ant-tree-checkbox-checked .ant-tree-checkbox-inner:after {
  7219. border: 2px solid #fff;
  7220. border-top: 0;
  7221. border-left: 0;
  7222. }
  7223. .ant-tree-checkbox-checked .ant-tree-checkbox-inner {
  7224. background-color: @primary-color;
  7225. border-color: @primary-color;
  7226. }
  7227. .ant-tree-checkbox-disabled.ant-tree-checkbox-checked .ant-tree-checkbox-inner:after {
  7228. border-color: rgba(0, 0, 0, 0.25);
  7229. }
  7230. .ant-tree-checkbox-disabled .ant-tree-checkbox-inner {
  7231. border-color: #d9d9d9 !important;
  7232. background-color: #f5f5f5;
  7233. }
  7234. .ant-tree-checkbox-disabled .ant-tree-checkbox-inner:after {
  7235. border-color: #f5f5f5;
  7236. }
  7237. .ant-tree-checkbox-disabled + span {
  7238. color: rgba(0, 0, 0, 0.25);
  7239. }
  7240. .ant-tree-checkbox-wrapper {
  7241. color: rgba(0, 0, 0, 0.65);
  7242. }
  7243. .ant-tree-checkbox-group {
  7244. color: rgba(0, 0, 0, 0.65);
  7245. }
  7246. .ant-tree {
  7247. color: rgba(0, 0, 0, 0.65);
  7248. }
  7249. .ant-tree li span[draggable],
  7250. .ant-tree li span[draggable="true"] {
  7251. border-top: 2px transparent solid;
  7252. border-bottom: 2px transparent solid;
  7253. }
  7254. .ant-tree li.drag-over > span[draggable] {
  7255. background-color: @primary-color;
  7256. color: white;
  7257. }
  7258. .ant-tree li.drag-over-gap-top > span[draggable] {
  7259. border-top-color: @primary-color;
  7260. }
  7261. .ant-tree li.drag-over-gap-bottom > span[draggable] {
  7262. border-bottom-color: @primary-color;
  7263. }
  7264. .ant-tree li.filter-node > span {
  7265. color: #f5222d !important;
  7266. }
  7267. .ant-tree li.ant-tree-treenode-loading span.ant-tree-switcher.ant-tree-switcher_open .ant-tree-switcher-loading-icon,
  7268. .ant-tree li.ant-tree-treenode-loading span.ant-tree-switcher.ant-tree-switcher_close .ant-tree-switcher-loading-icon {
  7269. color: @primary-color;
  7270. }
  7271. .ant-tree li .ant-tree-node-content-wrapper {
  7272. border-radius: 2px;
  7273. color: rgba(0, 0, 0, 0.65);
  7274. }
  7275. .ant-tree li .ant-tree-node-content-wrapper:hover {
  7276. background-color: color(~`colorPalette("@{primary-color}", 1)`);
  7277. }
  7278. .ant-tree li .ant-tree-node-content-wrapper.ant-tree-node-selected {
  7279. background-color: color(~`colorPalette("@{primary-color}", 2)`);
  7280. }
  7281. .ant-tree li span.ant-tree-switcher,
  7282. .ant-tree li span.ant-tree-iconEle {
  7283. border: 0 none;
  7284. }
  7285. li.ant-tree-treenode-disabled > span:not(.ant-tree-switcher),
  7286. li.ant-tree-treenode-disabled > .ant-tree-node-content-wrapper,
  7287. li.ant-tree-treenode-disabled > .ant-tree-node-content-wrapper span {
  7288. color: rgba(0, 0, 0, 0.25);
  7289. }
  7290. li.ant-tree-treenode-disabled > .ant-tree-node-content-wrapper:hover {
  7291. background: transparent;
  7292. }
  7293. .ant-tree.ant-tree-show-line li span.ant-tree-switcher {
  7294. background: #fff;
  7295. color: rgba(0, 0, 0, 0.45);
  7296. }
  7297. .ant-tree.ant-tree-show-line li:not(:last-child):before {
  7298. border-left: 1px solid #d9d9d9;
  7299. }
  7300. .ant-upload {
  7301. color: rgba(0, 0, 0, 0.65);
  7302. }
  7303. .ant-upload.ant-upload-select-picture-card {
  7304. border: 1px dashed #d9d9d9;
  7305. border-radius: 4px;
  7306. background-color: #fafafa;
  7307. }
  7308. .ant-upload.ant-upload-select-picture-card:hover {
  7309. border-color: @primary-color;
  7310. }
  7311. .ant-upload.ant-upload-drag {
  7312. border: 1px dashed #d9d9d9;
  7313. border-radius: 4px;
  7314. background: #fafafa;
  7315. }
  7316. .ant-upload.ant-upload-drag.ant-upload-drag-hover:not(.ant-upload-disabled) {
  7317. border: 2px dashed color(~`colorPalette("@{primary-color}", 5)`);
  7318. }
  7319. .ant-upload.ant-upload-drag:not(.ant-upload-disabled):hover {
  7320. border-color: color(~`colorPalette("@{primary-color}", 5)`);
  7321. }
  7322. .ant-upload.ant-upload-drag p.ant-upload-drag-icon .anticon {
  7323. color: color(~`colorPalette("@{primary-color}", 5)`);
  7324. }
  7325. .ant-upload.ant-upload-drag p.ant-upload-text {
  7326. color: rgba(0, 0, 0, 0.85);
  7327. }
  7328. .ant-upload.ant-upload-drag p.ant-upload-hint {
  7329. color: rgba(0, 0, 0, 0.45);
  7330. }
  7331. .ant-upload.ant-upload-drag .anticon-plus {
  7332. color: rgba(0, 0, 0, 0.25);
  7333. }
  7334. .ant-upload.ant-upload-drag .anticon-plus:hover {
  7335. color: rgba(0, 0, 0, 0.45);
  7336. }
  7337. .ant-upload.ant-upload-drag:hover .anticon-plus {
  7338. color: rgba(0, 0, 0, 0.45);
  7339. }
  7340. .ant-upload-list {
  7341. color: rgba(0, 0, 0, 0.65);
  7342. }
  7343. .ant-upload-list-item-info .anticon-loading,
  7344. .ant-upload-list-item-info .anticon-paper-clip {
  7345. color: rgba(0, 0, 0, 0.45);
  7346. }
  7347. .ant-upload-list-item .anticon-close {
  7348. color: rgba(0, 0, 0, 0.45);
  7349. }
  7350. .ant-upload-list-item .anticon-close:hover {
  7351. color: rgba(0, 0, 0, 0.65);
  7352. }
  7353. .ant-upload-list-item:hover .ant-upload-list-item-info {
  7354. background-color: color(~`colorPalette("@{primary-color}", 1)`);
  7355. }
  7356. .ant-upload-list-item-error,
  7357. .ant-upload-list-item-error .anticon-paper-clip,
  7358. .ant-upload-list-item-error .ant-upload-list-item-name {
  7359. color: #f5222d;
  7360. }
  7361. .ant-upload-list-item-error .anticon-close {
  7362. color: #f5222d !important;
  7363. }
  7364. .ant-upload-list-picture .ant-upload-list-item,
  7365. .ant-upload-list-picture-card .ant-upload-list-item {
  7366. border-radius: 4px;
  7367. border: 1px solid #d9d9d9;
  7368. }
  7369. .ant-upload-list-picture .ant-upload-list-item:hover,
  7370. .ant-upload-list-picture-card .ant-upload-list-item:hover {
  7371. background: transparent;
  7372. }
  7373. .ant-upload-list-picture .ant-upload-list-item-error,
  7374. .ant-upload-list-picture-card .ant-upload-list-item-error {
  7375. border-color: #f5222d;
  7376. }
  7377. .ant-upload-list-picture .ant-upload-list-item:hover .ant-upload-list-item-info,
  7378. .ant-upload-list-picture-card .ant-upload-list-item:hover .ant-upload-list-item-info {
  7379. background: transparent;
  7380. }
  7381. .ant-upload-list-picture .ant-upload-list-item-uploading,
  7382. .ant-upload-list-picture-card .ant-upload-list-item-uploading {
  7383. border-style: dashed;
  7384. }
  7385. .ant-upload-list-picture .ant-upload-list-item-icon,
  7386. .ant-upload-list-picture-card .ant-upload-list-item-icon {
  7387. color: rgba(0, 0, 0, 0.25);
  7388. }
  7389. .ant-upload-list-picture .ant-upload-list-item-thumbnail.anticon:before,
  7390. .ant-upload-list-picture-card .ant-upload-list-item-thumbnail.anticon:before {
  7391. color: rgba(0, 0, 0, 0.45);
  7392. }
  7393. .ant-upload-list-picture-card .ant-upload-list-item-info:before {
  7394. background-color: rgba(0, 0, 0, 0.5);
  7395. }
  7396. .ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-eye-o,
  7397. .ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-delete {
  7398. color: rgba(255, 255, 255, 0.85);
  7399. }
  7400. .ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-eye-o:hover,
  7401. .ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-delete:hover {
  7402. color: #fff;
  7403. }
  7404. .ant-upload-list-picture-card .ant-upload-list-item-uploading.ant-upload-list-item {
  7405. background-color: #fafafa;
  7406. }
  7407. .ant-upload-list-picture-card .ant-upload-list-item-uploading-text {
  7408. color: rgba(0, 0, 0, 0.45);
  7409. }
  7410. .ant-upload-list .ant-upload-success-icon {
  7411. color: #52c41a;
  7412. }
  7413. .drawer .drawer-content {
  7414. background: #001529;
  7415. }
  7416. .ant-list-item-meta .taobao {
  7417. color: #ff4000;
  7418. border-radius: 4px;
  7419. }
  7420. .ant-list-item-meta .dingding {
  7421. background-color: #2eabff;
  7422. color: #fff;
  7423. border-radius: 4px;
  7424. }
  7425. .ant-list-item-meta .alipay {
  7426. color: #2eabff;
  7427. border-radius: 4px;
  7428. }
  7429. font.strong {
  7430. color: #52c41a;
  7431. }
  7432. font.medium {
  7433. color: #faad14;
  7434. }
  7435. font.weak {
  7436. color: #f5222d;
  7437. }