color.less 234 KB

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