1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463 |
- @import "common.less";
- @font-face {
- font-family: 'FontAwesome';
- src: url('libs/fontawesome-webfont.eot?v=4.7.0');
- src: url('libs/fontawesome-webfont.eot?#iefix&v=4.7.0') format('embedded-opentype'), url('libs/fontawesome-webfont.woff2?v=4.7.0') format('woff2'), url('libs/fontawesome-webfont.woff?v=4.7.0') format('woff'), url('libs/fontawesome-webfont.ttf?v=4.7.0') format('truetype'), url('libs/fontawesome-webfont.svg?v=4.7.0#fontawesomeregular') format('svg');
- font-weight: normal;
- font-style: normal;
- }
- @font-face {
- font-family: 'Inter';
- src: url('res/InterVariable.woff2') format("woff2");
- font-weight: normal;
- font-style: normal;
- font-weight: 100 900;
- font-display: swap;
- }
- @font-face {
- font-family: 'Inter';
- src: url('res/InterVariable-Italic.woff2') format("woff2");
- font-weight: normal;
- font-style: italic;
- font-weight: 100 900;
- font-display: swap;
- }
- body {
- margin : 0;
- padding : 0;
- background-color : black;
- user-select:none;
- max-width: 100vw;
- max-height: 100vh;
- overflow: hidden;
- }
- .lm_header .lm_tab {
- font-family: var(--default-font), Serif !important;
- }
- #message-container {
- pointer-events: none;
- z-index: 9999;
- position: fixed;
- left: 0;
- right: 0;
- top: 0;
- bottom: 0;
- display: flex;
- flex-direction: column;
- justify-content: end;
- align-content: center;
- align-items: center;
- padding-bottom: 8px;
- .message {
- transition: all 1.0s;
- margin-top: 0px;
- display: flex;
- overflow: hidden;
- outline : 1px solid;
- outline-color: #68686800;
- border-radius : 5px;
- flex-shrink: 1;
- max-height: 0px;
- .icon {
- outline : 0px solid #686868;
- border-radius : 4px 0px 0px 4px;
- padding: 5px 5px 3px 5px;
- background: #666666;
- }
- .text {
- outline : 0px solid #686868;
- border-radius : 0px 4px 4px 0px;
- background: #222222;
- padding: 3px 10px 3px 3px;
- }
- &.show {
- outline-color: #686868;
- margin-top: 4px;
- max-height: 100px;
- transition: all 1.0s;
- }
- &.error {
- background-color: #39221d;
- .text, .icon {
- outline-color: #b64f37;
- color: #fefefe;
- }
- .icon {
- background: #b64f37;
- }
- }
- }
- }
- .globalErrorMessage {
- position : absolute;
- z-index : 999;
- bottom:0px;
- left:0px;
- padding : 3px;
- background: #400;
- color : red;
- border : 1px solid #C00;
- }
- //:focus { outline: none; }
- :root {
- --default-font: 'Inter';
- --default-font-size: 10pt;
- font-size: var(--default-font-size);
- }
- ul, li {
- margin : 0;
- padding : 0;
- list-style : none;
- }
- body, td, th, li, p, a, input, select, textarea {
- font-family : var(--default-font), serif;
- font-feature-settings: "cv08", "cv05"; // Inter uppercase I and lowercase l disambiguation
- color: #aaa;
- }
- a {
- color : #aaf;
- text-decoration : none;
- }
- canvas {
- user-select: none;
- }
- input, textarea {
- padding-left : 4px;
- }
- .custom-text-edit {
- //padding-left: 2px;
- max-height: 200px; overflow-y:auto; overflow-x:hidden;
- &:focus {
- outline: 1px solid #888888;
- outline-offset: 1px;
- }
- }
- .custom-text-edit-standalone {
- background-color: rgb(34,34,34);
- border : 1px solid #444;
- padding: 2px 4px;
- &:focus {
- background-color: rgb(20,20,20);
- }
- &:hover {
- border-color : #888;
- }
- .custom-text-edit();
- }
- select {
- &:focus {
- outline: none;
- }
- &:focus:hover {
- border-color : #444;
- }
- }
- select, input, textarea, .hide-dropdown >.dropdown-cont {
- background-color: rgb(34,34,34);
- border : 1px solid #444;
- &:focus {
- background-color: rgb(20,20,20);
- }
- &:hover {
- border-color : #888;
- }
- }
- .select-box {
- color: @color-text;
- border-color: #888;
- border-style: solid;
- border-width: 1px;
- width: 178px;
- display: inline-block;
- }
- .hide-dropdown {
- position: relative;
- width: 100%;
- >.dropdown-cont {
- z-index: @contextmenu-layer;
- position: absolute;
- width: 100%;
- .filter-input {
- z-index: @contextmenu-layer;
- margin: 4px;
- width: calc(100% - 16px);
- }
- .options {
- z-index: @contextmenu-layer;
- max-height: 200px;
- overflow-y: auto;
- width: 100%;
- .dropdown-option {
- z-index: @contextmenu-layer;
- display : flex;
- align-items: center;
- cursor: pointer;
- padding: 6px;
- user-select: none;
- &.compact {
- padding-top: 0;
- padding-bottom: 0;
- }
- div.tile {
- margin-right : 5px;
- }
- p {
- display: inline-block;
- margin: 0;
- }
- p.option-context {
- margin-right: 5px;
- color: #555;
- }
- &.current-value {
- background-color: #444;
- }
- &.highlighted {
- background-color: #5897fb;
- >p {
- color: #fff;
- }
- }
- &.hidden {
- display: none;
- }
- }
- }
- }
- }
- .global-seek {
- .hide-dropdown{
- width: auto;
- margin-left: calc(50% - 400px);
- margin-right: calc(50% - 400px);
- }
- }
- input.file {
- cursor : pointer;
- &.disabled {
- cursor : default;
- }
- &.dragover {
- border-color : white;
- background-color : rgb(20,20,20);
- }
- }
- input[type=button] {
- background-color : #444;
- cursor : pointer;
- &:hover {
- color : white;
- background-color : #666;
- }
- &:disabled {
- color : rgb(192, 192, 192);
- background-color : rgb(56, 56, 56);
- }
- &:active {
- color : white;
- background-color : #424242;
- }
- }
- input[type=range] {
- appearance: none;
- background: transparent;
- border:none;
- padding:0;
- &:focus {
- outline: none;
- }
- &::-webkit-slider-thumb {
- -webkit-appearance: none;
- appearance: none;
- outline: 1px solid #aaa;
- height: 6px;
- width: 6px;
- background: #ccc;
- cursor: pointer;
- margin-top: 0px;
- }
- &::-webkit-slider-runnable-track {
- width: 100%;
- height: 8px;
- cursor: pointer;
- background: rgb(20,20,20);
- border: 1px solid #444;
- }
- }
- input[type=checkbox] {
- -webkit-font-smoothing: antialiased;
- text-rendering: optimizeSpeed;
- width: 13px;
- height: 13px;
- margin: 0;
- margin-right: 1px;
- display: block;
- float: left;
- position: relative;
- cursor:pointer;
- top:1px;
- &:after {
- content:"";
- vertical-align: middle;
- text-align: center;
- line-height: 13px;
- position: absolute;
- cursor: pointer;
- height: 13px;
- width: 13px;
- left:0px;
- top:0px;
- font-size:10px;
- box-shadow: inset 0px 1px 1px #000, 0px 1px 0px #444;
- background: #202020;
- color: #fff;
- }
- &:checked:after {
- content:'\2714';
- }
- &.indeterminate:after {
- content:'-';
- }
- }
- #mainmenu { display : none }
- .hide-scroll {
- max-width : 100%;
- max-height : 100%;
- overflow : auto;
- position: relative;
- }
- .hide-modal {
- position: fixed;
- top:0px;
- left:0px;
- width: 100%;
- height: 100%;
- z-index: 999;
- background-color: rgba(0,0,0,0.2);
- display: table;
- &> .content {
- display: table-cell;
- vertical-align: middle;
- text-align: center;
- }
- }
- ::-webkit-scrollbar {
- width: 10px;
- height: 5px;
- right: 5px;
- }
- ::-webkit-scrollbar-track {
- background: #424242;
- margin: 5px;
- }
- ::-webkit-scrollbar-thumb {
- background: #686868;
- &:hover {
- background: #7b7b7b;
- }
- }
- ::-webkit-scrollbar-corner {
- visibility: hidden;
- }
- .checkbox-wrapper {
- display:inline-block;
- }
- .hide-loading {
- width : 16px;
- height : 16px;
- display : inline-block;
- background : url('res/icons/throbber.gif');
- }
- .hide-scene-container {
- width:100%;
- height:100%;
- position:relative;
- > .error-message {
- background-color: #ff5555;
- box-shadow: 1px -1px 3px rgba(0,0,0,0.5);
- color: black;
- position: absolute;
- z-index: 777;
- bottom: 0px;
- left: 0px;
- right: 0px;
- padding-top: 1em;
- padding-bottom: 1em;
- text-align: center;
- max-height: 50%;
- overflow-y: auto;
- font-weight: bold;
- font-family: var(--default-font);
- }
- }
- .hide-scene {
- position:absolute;
- cursor: default;
- }
- .hide-scene-layer {
- width:auto;
- position: absolute;
- z-index: @default-layer;
- max-height: 100%;
- }
- .scene-partition > .props-column {
- .hide-toolbar {
- padding-bottom: 4px;
- }
- }
- .scene-partition.reduced-columns {
- .hide-scenetree {
- max-height: 40%;
- }
- .tree-column {
- min-width: 322px;
- max-width: 1402px;
- }
- .props-column {
- max-height: 60%;
- padding-bottom: 36px;
- }
- }
- .tree-column {
- max-width: 1002px;
- }
- .splitter {
- position : relative;
- z-index: @splitter-layer;
- background: #000000;
- opacity: .001;
- transition: opacity 200ms ease;
- &:hover, &.dragging {
- background : #444444;
- opacity : 1;
- }
- &.vertical {
- width : 100%;
- height : 5px;
- .drag-handle {
- width : 100%;
- height : 15px;
- position : absolute;
- top : -5px;
- cursor : ns-resize;
- }
- }
- &.horizontal {
- width : 5px;
- height : 100%;
- .drag-handle {
- width : 15px;
- height : 100%;
- position : absolute;
- left : -5px;
- cursor : ew-resize;
- }
- }
- }
- .detached {
- .layout-controls:not(& .layout-controls) {
- display : none;
- }
- &.detachable-panel {
- position: fixed;
- bottom : 20px;
- left: 20%;
- right: 620px;
- z-index: @popup-layer;
- .splitter {
- z-index : @popup-layer + 10;
- position : absolute;
- &.handle-right {
- right : -5px;
- }
- &.handle-left {
- left : -5px;
- }
- &.handle-top {
- height : 15px;
- top : -15px;
- .drag-handle {
- cursor : move;
- top : 0px;
- }
- }
- &.handle-bottom {
- bottom : -5px;
- }
- }
- }
- }
- .custom-editor {
- position: absolute;
- top: 15px;
- right: 15px;
- background-color: #222222;
- border: 1px solid #444;
- padding: 10px;
- h1,h2,h3 {
- margin-top: 0;
- }
- }
- .hide-scenetree {
- flex: 1;
- background-color : #111;
- border : 1px solid #444;
- max-width: 1000px;
- overflow-y: auto;
- min-height : 350px;
- box-sizing: border-box;
- margin-bottom: 1px;
- border-radius: 3px;
- }
- @tileselect-cursor-border: 1px;
- .hide-range {
- display : inline-block;
- input[type=range] {
- display : inline-block;
- width: 140px;
- }
- input[type=range].small {
- width: 123px;
- }
- input[type=text] {
- display : inline-block;
- width: 44px;
- padding-left:2px;
- margin-left:3px;
- border-color: transparent;
- }
- input[type=text]:hover, input[type=text]:active {
- border-color: #444;
- }
- }
- .heaps-scene {
- flex: 1;
- }
- .flex {
- width:100%;
- height:100%;
- display:flex;
- //flex-grow : 100;
- }
- .flex-elt {
- flex: 1;
- display: flex;
- }
- .flex.vertical {
- flex-direction: column;
- }
- .scene-partition .hide-toolbar .button {
- min-width : 16px !important;
- height : 16px !important;
- font-size: 12px !important;
- }
- .scene-partition .show-cols-btn {
- &:extend(.hide-toolbar .button);
- &:extend(.scene-partition .hide-toolbar .button);
- position: absolute;
- margin-top: 2px;
- right: 0px;
- &:hover {
- &:extend(.hide-toolbar .button:hover);
- }
- &:active {
- &:extend(.hide-toolbar .button:active);
- }
- }
- .hide-toolbar {
- flex: none;
- padding-top: 2px;
- padding-bottom: 2px;
- background-color : rgb(34,34,34);
- display: inline-flex;
- .layout-btn {
- position: absolute;
- right: 26px;
- }
- .close-btn {
- position: absolute;
- right: 0px;
- }
- .v-separator {
- border-left: 1px solid #444;
- margin: 2px;
- }
- .toolbar-label, .menu {
- display: inline-block;
- min-width : 20px;
- padding : 2px;
- text-align: center;
- text-shadow: 1px 2px 2px black;
- >.icon {
- vertical-align: middle;
- margin-bottom: 2px;
- }
- }
- .menu {
- user-select:none;
- cursor : pointer;
- background : #444;
- padding-left: 5px;
- padding-right: 5px;
- }
- .select {
- padding : 2px;
- padding-top: 4px;
- margin-right : 5px;
- display : inline-block;
- .icon {
- font-size: 16px;
- vertical-align: top;
- }
- >select {
- margin-left : 5px;
- min-width : 100px;
- }
- }
- .button, .toggle {
- .button();
- margin-left: 1px;
- margin-right: 1px;
- }
- }
- .hide-toolbar2 {
- display: flex;
- align-items: center;
- margin-top: 2px;
- margin-bottom: 2px;
- column-gap: 4px;
- }
- .tb-group {
- display: inline-flex;
- &.small > * {
- height: 18px;
- min-width: 18px;
- .icon {
- font-size: 10px;
- }
- }
- &.big > * {
- height: 30px;
- min-width: 30px;
- .icon {
- font-size: 16px;
- }
- }
- &> * {
- display:inline-flex;
- align-items: center;
- justify-content: center;
- border: 1px solid @color-border;
- border-right-width: 0px;
- height: 26px;
- min-width: 26px;
- background: @color-tool-bg;
- box-shadow: 1px 1px 1px rgba(.0,.0,.0,.75);
- font-size: 12px;
- color: @color-text;
- .icon {
- font-size: 14px;
- &:before {
- text-shadow: 1px 1px 1px rgba(0,0,0,0.45);
- }
- }
- .label {
- font-family : Inter, serif;
- display: inline-block;
- margin-left: 6px;
- margin-right: 6px;
- user-select: none;
- }
- &:first-child {
- border-top-left-radius: 4px;
- border-bottom-left-radius: 4px;
- }
- &:last-child {
- border-right-width: 1px;
- border-top-right-radius: 4px;
- border-bottom-right-radius: 4px;
- }
- &.button2.transparent {
- opacity: 0.5;
- }
- &.button2:hover {
- border-color: @color-border-hover;
- background: @color-tool-bg-hover;
- opacity: 1.0;
- }
- &.button2:active, &.button2[checked], &.menu:active {
- background: @color-highlight-gray;
- opacity: 1.0;
- }
- &.menu {
- background: @color-menu-bg;
- min-width: 2px;
- &:hover {
- background: @color-menu-bg-highlight;
- }
- }
- &.menu:after {
- font-family: FontAwesome;
- content: "\f107";
- vertical-align: middle;
- margin-left: 2px;
- margin-right: 2px;
- }
- &.select {
- @select-width: 250px;
- >.icon {
- padding-left: 3px;
- }
- .header {
- display: inline-block;
- background-color: @color-menu-bg;
- border-radius: 2px;
- min-width: @select-width;
- padding: 2px;
- margin: 5px;
- cursor: pointer;
- .label {
- min-width: @select-width - 30px;
- }
- }
- .dropdown {
- position: absolute;
- top: 30px;
- left: 20px;
- }
- }
- }
- }
- .button() {
- display: inline-flex;
- align-items: center;
- justify-content: center;
- user-select:none;
- border: 1px solid rgb(90,90,90);
- min-width : 20px;
- min-height : 20px;
- padding : 2px;
- text-align: center;
- border-radius: 1px;
- text-shadow: 1px 2px 2px black;
- background: -webkit-linear-gradient(top, rgb(90,90,90), rgb(50,50,50));
- cursor : pointer;
- font-size: 16px;
- vertical-align: middle;
- &:hover {
- color : white;
- border-color : white;
- background-color : #666;
- }
- label {
- font-size: 12px;
- margin-left: 6px;
- margin-right: 6px;
- text-shadow: none;
- }
- label.locked {
- color: #000;
- font-style: italic;
- }
- &.toggled {
- color : #ddd;
- background : #777;
- padding-top: 2px;
- padding-bottom: 1px;
- text-shadow: none;
- border-top-width: 2px;
- border-top-color: #444;
- &:hover {
- border-top-width: 1px;
- padding-top: 3px;
- border-top-color : white;
- }
- }
- }
- .hide-button, .hide-toggle {
- .button();
- }
- .link-container {
- margin-top: 4px;
- display: flex;
- flex-direction: column;
- justify-content: space-around;
- .link {
- flex: 1 0;
- align-self: center;
- width: 33%;
- margin-right: 33%;
- height: 100%;
- border-right: solid 1px gray;
- }
- .link-up {
- margin-top: 4px;
- margin-bottom: 2px;
- border-top: solid 1px gray;
- }
- .link-down {
- margin-top: 2px;
- margin-bottom: 4px;
- border-bottom: solid 1px gray;
- }
- .hide-button {
- min-width: 12px;
- min-height: 12px;
- width: 12px;
- height: 12px;
- font-size: 9px;
- }
- }
- .hide-button.change-button {
- font-size: 12px;
- min-height: 13px;
- min-width: 13px;
- height: 13px;
- width: 13px;
- }
- .button:active {
- padding-top: 3px;
- padding-bottom: 1px;
- }
- .hide-list {
- width : 100%;
- min-height : 200px;
- background-color : #111;
- border : 1px solid #444;
- overflow : auto;
- }
- .hide-block {
- padding : 5px;
- flex-grow: initial;
- }
- .hide-tabs {
- flex : 0 0 320px;
- position: relative;
- height: 100%;
- &.masked {
- & > * {
- display : none !important;
- }
- flex : none;
- position: absolute;
- height : 20px;
- width : 20px;
- right : 0px;
- >.maskToggle:before {
- content : "«";
- }
- }
- >.maskToggle {
- &:before {
- content : "»";
- }
- display : block !important;
- position : absolute;
- margin-top : -2px;
- right : 5px;
- color : #aaa;
- font-size: 24px;
- &:hover {
- color : white;
- }
- }
- .tabs-header {
- background-color : #111;
- padding : 2px;
- padding-bottom : 0px;
- &>div {
- cursor : pointer;
- display : inline-block;
- color: #888;
- background-color : #151515;
- padding : 3px 8px;
- border : 1px solid #444;
- margin-left : -1px;
- border-top-right-radius: 5px;
- user-select: none;
- &.active {
- background-color : #444;
- color : #bbb;
- border-bottom-color : #222;
- border-top-right-radius: 0px;
- }
- &.active:hover {
- background-color : #333;
- }
- &:hover {
- background-color : #282828;
- }
- &.hidden {
- display: none;
- }
- }
- }
- .tab {
- max-height: 100%;
- width: 100%;
- display: flex;
- flex-direction: column;
- position: absolute;
- &.expand {
- width: 100%;
- height: 100%;
- }
- }
- }
- .hide-tabs.tabs-bottom {
- >.tabs-header {
- width:100%;
- position: absolute;
- bottom : 0px;
- padding-top : 0px;
- padding-bottom : 5px;
- z-index: @header-layer;
- &>div {
- border-top : none;
- border-top-right-radius: 0;
- border-bottom-right-radius: 5px;
- &.active {
- border-radius: 0px;
- }
- }
- }
- }
- .search-box {
- position : fixed;
- display : flex;
- align-items: center;
- justify-content: center;
- top : 45px;
- right : 20px;
- z-index: @popup-layer;
- background-color : #262626;
- border : 1px solid #555;
- border-radius : 2px;
- padding : 5px 5px 5px 5px;
- color : #acacac;
- .btn {
- color: #acacac;
- cursor: pointer;
- margin: 0 5px 0 5px;
- font-size: 1.2em;
- &:hover {
- color: #dfdfdf;
- }
- }
- .buttons {
- margin-right: 10px;
- }
- .search-type {
- margin-left: 30px;
- }
- #results {
- width: 80px;
- margin: 0;
- margin-left: 5px;
- padding: 0;
- }
- .input-col {
- // float: left;
- text-align: center;
- input {
- display: block;
- width : 220px;
- background-color : #2e2e2e;
- }
- i {
- margin-top: 2px;
- }
- }
- i {
- cursor : pointer;
- margin-left : 5px;
- display : inline-block;
- font-size : 18px;
- color : #888;
- }
- i:hover {
- color : #EEE;
- }
- i.hidden {
- display: none;
- }
- }
- .tree > .search-box {
- position: sticky;
- float : right;
- top : 5px;
- right : 5px;
- width : 130px;
- input {
- width : 100px;
- }
- }
- /* Properties */
- .props-column {
- height : 100%;
- background-color: #111;
- width: 320px;
- .hide-toolbar {
- width: 100%;
- vertical-align: middle;
- }
- }
- .hide-properties {
- //flex : 0 0 300px;
- padding:10px;
- overflow:auto;
- padding-bottom:80px;
- >h1.prefab-name {
- text-align: left;
- font-size: 10px;
- margin-bottom: 10px;
- }
- .section {
- margin-bottom : 10px;
- >h1 {
- font-size:12px;
- margin: 0px;
- cursor:pointer;
- user-select:none;
- width:100%;
- padding : 2px;
- padding-bottom: 0px;
- margin-bottom: 2px;
- background-color : #333;
- &:hover {
- background-color : #555;
- }
- &:before {
- content:"\25ba ";
- }
- }
- }
- .section.open > h1:before {
- content:"\25bc ";
- }
- .flex > input {
- flex: 1 1;
- min-width: 0;
- }
- dl {
- overflow-x:hidden;
- margin:0px;
- }
- dd, dt {
- vertical-align:middle;
- display:inline-block;
- text-wrap: wrap;
- word-break: break-word;
- margin-top:4px;
- }
- dt {
- width: calc(80px - var(--level) * 2%);
- text-align:right;
- font-size:11px;
- color:#aaa;
- user-select:none;
- text-transform: capitalize;
- cursor:pointer;
- font-weight: normal;
- }
- .override > dt {
- font-weight: bold;
- }
- .override > dt::before {
- display: inline-block;
- background-color: #fd002f;
- width:5px;
- height:12px;
- content: " ";
- margin-right: 5px;
- }
- input {
- width:190px;
- }
- input.small {
- width:170px;
- }
- input[type=number].small {
- width:35px;
- }
- input[type=checkbox] {
- width:13px;
- }
- .warning {
- color: red;
- }
- dt {
- input[type=button] {
- width: 100%;
- text-align: right;
- background: none;
- border: none;
- zoom: 1;
- font-size: 11px;
- }
- }
- select {
- width:197px;
- }
- dd {
- position:relative;
- width: calc(200px - var(--level) * 2%);
- margin-left:10px;
- }
- .texture-preview {
- pointer-events: none;
- display:inline-block;
- width : 15px;
- height: 15px;
- position : absolute;
- margin-left : -17px;
- margin-top : 2px;
- }
- dl dl {
- dt {
- width : 50px;
- }
- dd {
- width : 140px;
- }
- input[type=range] {
- width : 90px;
- }
- .hide-range input[type=text] {
- width : 30px;
- }
- }
- .group {
- --level: 0;
- width: calc(100% - var(--level) * 5%);
- margin: 0 auto;
- margin-top: 5px;
- >.title {
- @color: calc(25 + (var(--level) * 3));
- background-color : rgb(@color, @color, @color);
- text-align : center;
- cursor:pointer;
- user-select:none;
- padding : 1px;
- position: relative;
- input[type=button] {
- border: none;
- position : absolute;
- top : 0px;
- right : 0px;
- width : auto;
- padding : 1px 5px;
- background-color: rgb(40,40,40);
- &:hover {
- background-color: rgb(70,70,70);
- }
- }
- >.checkbox-wrapper {
- position: absolute;
- left: 5px;
- }
- }
- >.content {
- margin-bottom : 5px;
- .array {
- min-height: 5px;
- overflow-y: scroll;
- overflow-x: hidden;
- background: @color-menu-bg-highlight;
- max-height: 150px;
- padding: 3px;
- margin: 5px;
- margin-bottom: 0px;
- border-radius: 3px;
- &.disabled {
- filter: brightness(50%);
- * , ::after {
- cursor: not-allowed !important;
- }
- }
- .line {
- display: flex;
- align-items: center;
- margin-top: 1px;
- width: 100%;
- padding: 3px;
- border-radius: 3px;
- background: @color-tool-bg;
- .inclusion {
- display: flex;
- justify-content: center;
- width: 10px;
- margin: 0 5px 0 5px;
- padding: 2px 6px 2px 6px;
- background: red;
- color: black;
- font-weight: 900;
- border-radius: 5px;
- &:hover {
- cursor: pointer;
- filter: opacity(80%);
- }
- }
- input {
- margin-right: 5px;
- }
- input:not([type=checkbox]){
- flex: 1;
- }
- .remove {
- margin: 0 5px 0 5px;
- padding: 0 5px 0 5px;
- cursor: pointer;
- &:hover {
- filter: brightness(80%);
- }
- }
- }
- }
- }
- }
- .btn-list {
- * {
- margin-bottom: 5px;
- }
- }
- .error {
- color: red;
- }
- .vector {
- display: inline-flex;
- flex-direction: row;
- flex: 1;
- min-width: 0.9;
- input {
- min-width: 0;
- }
- }
- .checkboxs {
- * {
- margin-right: 5px;
- }
- }
- .btn-cdb-large {
- width : 16px;
- font-size : 14px;
- margin : 3px;
- opacity : 0.5;
- }
- .cdb-large {
- .cdb-obj-editor {
- max-height: 800px;
- overflow: auto;
- padding: 2px;
- background: #111;
- overflow-y: auto;
- }
- .btn-cdb-large {
- opacity: 1;
- }
- }
- #up-axis {
- display:flex;
- input {
- width:100%
- }
- }
- .select {
- >.icon {
- padding-left: 3px;
- }
- .header {
- display: inline-block;
- background-color: @color-menu-bg;
- border-radius: 2px;
- border: solid 1px #444;
- padding: 2px;
- cursor: pointer;
- width: 192px;
- >span {
- padding-left: 5px;
- width: 90% !important;
- }
- }
- .dropdown {
- position: absolute;
- top: 30px;
- left: 200px;
- }
- }
- }
- /* Image Viewer */
- @imgPanelWidht : 320px;
- .image-properties {
- height : 100%;
- background-color: #111;
- width: @imgPanelWidht;
- .title {
- text-align: center;
- font-size: 12px;
- margin: 4px;
- background-color : rgb(30,30,30);
- }
- .preview-btns {
- display:flex;
- flex-direction: row;
- input[type="button"] {
- flex: 1;
- margin: 5px 5px 5px 5px;
- }
- }
- .reset-compression {
- outline: 2px solid #fd5151;
- width: 95%;
- margin-left: 2.5%;
- }
- .compression-infos {
- width: 100%;
- margin-top: 10px;
- margin-bottom: 10px;
- p {
- margin: 0px 0px 0px 5px;
- font-weight: bold;
- text-align: center;
- }
- }
- .field {
- margin: 5px 5px 0px 50px;
- display: flex;
- flex-direction: row;
- &.alpha {
- margin: 5px 5px 5px 80px;
- label {
- flex: 1;
- flex-shrink: 0;
- white-space: nowrap;
- }
- input[type="checkbox"]{
- margin-right: 5px;
- }
- input[type="number"]{
- flex: 1;
- &:disabled {
- pointer-events: none;
- background-color: #111111;
- color: #757575;
- }
- }
- }
- label {
- margin-right: 4px;
- }
- .size {
- width: 50px;
- margin-right: 5px;
- }
- select, input[type="text"] {
- flex-grow: 1;
- }
- }
- }
- .identifiers {
- position: absolute;
- left: 0;
- right: @imgPanelWidht;
- bottom: 50px;
- label {
- position: absolute;
- color: white;
- font-weight: bold;
- font-size: 30px;
- }
- :nth-child(1) {
- left: 20px;
- }
- :nth-child(2) {
- right:20px;
- }
- }
- /* Curve editor */
- @timelineHeight: 20px;
- .hide-curve-editor {
- position: relative;
- background-color: #303030;
- .timeline {
- background: #161616;
- fill: #161616;
- position: relative;
- height: @timelineHeight;
- overflow: hidden;
- .tlgroup .mark {
- height: 100%;
- color: #8e8e8e;
- border-left: 1px solid #8e8e8e;
- vertical-align: middle;
- padding-left: 4px;
- position: absolute;
- line-height: @timelineHeight;
- user-select: none;
- }
- }
- .overlaygroup {
- pointer-events: none;
- }
- text {
- font: 10px sans-serif; fill: #8d8d8d;
- }
- &:focus {
- //background-color: rgba(0, 0, 0, 0.219);
- outline: none;
- }
- .keyPopup {
- padding: 4px;
- padding-bottom: 2px;
- background-color: #151515;
- position: absolute;
- .line {
- margin-bottom: 2px;
- }
- label {
- width: 60px;
- display: inline-block;
- }
- input { width: 80px; }
- }
- svg {
- @selectCol: rgb(255, 255, 255);
- @previewCol: rgb(192, 111, 6);
- @lineCol: rgb(255, 31, 31);
- border-right: 1px solid black;
- line {
- stroke-width: 1px;
- }
- .grid {
- line {
- shape-rendering: crispEdges;
- }
- .hgrid line { stroke: #181818; }
- .hgrid .interline { stroke: #1e1e1e; opacity: 0.2; }
- .vgrid line { stroke: #181818; }
- .vgrid .interline { stroke: #1e1e1e; opacity: 0.2; }
- line.axis {
- stroke: rgb(116, 116, 116);
- shape-rendering: crispEdges;
- }
- text {
- font: 10px sans-serif; fill: #8d8d8d;
- }
- }
- .graph {
- .selection rect {
- fill: @selectCol;
- fill-opacity: 0.1;
- stroke: rgb(255, 255, 255);
- opacity: 0.3;
- mix-blend-mode: screen;
- cursor:move;
- }
- .curve line, path {
- stroke: @lineCol;
- stroke-width: 1px;
- fill: none;
- }
- .vectors {
- line {
- stroke: rgba(207, 207, 207, 0.603);
- }
- line.selected {
- stroke: @selectCol;
- }
- }
- .handles {
- circle, rect {
- fill: rgba(187, 187, 187, 0.644);
- cursor: pointer;
- }
- circle:hover:not(.no-hover), rect:hover {
- fill: #fff;
- stroke: #fff;
- stroke-width: 2px;
- }
- circle.selected, circle:hover.selected, rect.selected, rect:hover.selected {
- fill: @selectCol;
- }
- rect.preview {
- fill: @previewCol;
- }
- }
- }
- .selection-overlay rect {
- mix-blend-mode: multiply;
- fill: #888;
- fill-opacity: 20px;
- stroke: #000;
- opacity: 50%;
- }
- }
- }
- /* FX Editor */
- .fx-script {
- height: 500px;
- width : 500px;
- }
- .fx-scriptParams {
- margin : 10px;
- .slider {
- margin : 10px;
- }
- .checkbox {
- margin : 10px;
- }
- input[type=checkbox] {
- display: inline-block;
- float: none;
- }
- }
- .fx-animpanel {
- @leftPanelWidth: 200px;
- min-height: 120px;
- max-height: 800px;
- position: relative;
- display: flex;
- flex-direction: row;
- .help-button
- {
- position: absolute;
- left: 5px;
- bottom: 5px;
- border-color: #3d3d3d;
- background: #545454;
- border-right-width: 1px;
- border-radius: 4px;
- box-shadow: 1px 1px 1px rgba(.0,.0,.0,.75);
- padding: 5px 8px 5px 8px;
- }
- .left-fx-animpanel
- {
- margin-top: @timelineHeight;
- min-width: @leftPanelWidth;
- max-width: 700px;
- overflow-y: auto;
- overflow-x: hidden;
- }
- .right-fx-animpanel
- {
- overflow: hidden;
- height:100%;
- flex: 1;
- .overview {
- background: #161616;
- fill: #303030;
- position: relative;
- .overview-selection {
- fill: #17ffeb12;
- stroke: #000000;
- stroke-width: 1px;
- pointer-events: all;
- cursor: move;
- }
- }
- }
- .events {
- .event {
- stroke:rgba(255,255,255,1.0);
- fill: rgba(255,255,255,0.25);
- user-select: none;
- }
- .event-move {
- //fill: rgba(255,0,0,0.50);
- fill: none;
- pointer-events: all;
- cursor: move;
- }
- .event-resize {
- //fill: rgba(0,255,0,0.50);
- fill: none;
- pointer-events: all;
- cursor: e-resize;
- }
- .event.subFX {
- fill: #1b3673;
- }
- .event:hover {
- stroke: white;
- }
- .event-key {
- stroke: rgba(255,255,255,1.0);
- stroke-width: 1px;
- fill: black;
- }
- .event-label {
- div {
- width: 100%;
- height: 100%;
- display: flex;
- flex-direction: row-reverse;
- align-items: center;
- .event-label {
- box-sizing: border-box;
- display: block;
- flex-grow: 0;
- border-radius: 3px;
- background-color: rgba(33,33,33,0.75);
- padding: 0px 0.25em;
- border: 1px solid #666;
- font-size: 8pt;
- color: white;
- white-space: nowrap;
- }
- }
- }
- text {
- pointer-events: none;
- font-family: var(--default-font), serif;
- }
- g.selected {
- .event, .event-key {
- stroke: rgba(114, 180, 255, 1.0);
- }
- .event-label span {
- border-color: rgba(114, 180, 255, 1.0);
- }
- }
- }
- .key-event {
- fill: rgba(187, 187, 187, 0.644);
- stroke: #000000;
- stroke-width: 1px;
- cursor: pointer;
- }
- .key-event:hover {
- fill: #ffd967;
- }
- .key-event.selected, .key-event:hover.selected {
- fill: #ffbe33;
- }
- text {
- font: 10px sans-serif; fill: #8d8d8d;
- }
- .overlay-container {
- top: 0;
- position: absolute;
- height: 100%;
- pointer-events: none;
- left: @leftPanelWidth;
- right: 0px;
- .overlay {
- position: absolute;
- top: 0px;
- width: 100%;
- height: 100%;
- overflow: hidden;
- .time-marker {
- position: absolute;
- height: 100%;
- width: 1px;
- background: green;
- }
- .marker {
- position: absolute;
- height: 100%;
- width: 1px;
- background: #907a00;
- }
- .selection {
- position: absolute;
- height: 100%;
- background: #17ffeb12;
- mix-blend-mode: hard-light;
- pointer-events: all;
- cursor: move;
- }
- .selection-left, .selection-right {
- cursor: ew-resize;
- pointer-events: all;
- width: 4px;
- background: #00000036;
- position: absolute;
- height: 100%;
- }
- .selection-left {
- border-right: 1px dashed black;
- }
- .selection-right {
- border-left: 1px dashed black;
- }
- .preview {
- position: absolute;
- height: @timelineHeight;
- background: rgba(255, 255, 255, 0.1);
- opacity: 0.9;
- mix-blend-mode: screen;
- border-left: 1px black;
- border-right: 1px black;
- }
- .preview-left {
- background: rgba(0, 0, 0, 0.3);
- border-right:1px dashed rgb(121, 121, 121);
- position: absolute;
- height: 100%;
- }
- .preview-right {
- background: rgba(0, 0, 0, 0.3);
- border-left:1px dashed rgb(121, 121, 121);
- position: absolute;
- height: 100%;
- }
- }
- }
- .tracks-header {
- position: relative;
- background: #4a4a4a;
- text-align: left;
- white-space: nowrap;
- .name {
- padding: 1px;
- padding-left: 5px;
- padding-right: 5px;
- }
- .abspath {
- position: relative;
- opacity: 0.5;
- }
- :first-child.track-button {
- padding-left: 10px;
- }
- :nth-last-child(1).track-button {
- position:absolute;
- right:5px;
- top:2px;
- }
- :nth-last-child(2).track-button {
- position:absolute;
- right:25px;
- top:2px;
- }
- .track-button {
- padding-left: 2px;
- &:hover {
- color: white;
- }
- }
- &.hidden {
- display: none;
- }
- }
- .track-header {
- position: relative;
- background: #1b1b1b;
- text-align: left;
- &.hidden {
- display: none;
- }
- .name {
- padding: 1px;
- padding-left: 5px;
- padding-right: 5px;
- }
- .abspath {
- position: absolute;
- opacity: 0.5;
- left: 200px;
- }
- :first-child.track-button {
- padding-left: 10px;
- }
- :nth-last-child(1).track-button {
- position:absolute;
- right:5px;
- top:2px;
- }
- :nth-last-child(2).track-button {
- position:absolute;
- right:25px;
- top:2px;
- }
- .track-button {
- padding-left: 2px;
- &:hover {
- color: white;
- }
- &.visibility {
- padding-left:17px;
- }
- &.color-id {
- padding: 0 0 0 0;
- position: absolute;
- left:2px;
- top:2px;
- bottom: 2px;
- width:7px;
- }
- }
- &.hidden {
- display: none;
- }
- }
- .track {
- min-height: 20px;
- display: flex;
- user-select: none;
- .track-prop {
- cursor: pointer;
- text-align: right;
- width: @leftPanelWidth;
- height: 100%;
- label {
- vertical-align: middle;
- padding-right: 4px;
- }
- .track-toggle {
- width: 16px;
- height: 16px;
- display: inline-block;
- text-align: center;
- }
- &:hover {
- background: rgba(0, 0, 0, 0.438);
- }
- }
- &.hidden {
- display: none;
- }
- .curve {
- margin-left: @leftPanelWidth;
- position: relative;
- box-shadow: 0px -1px 0px black inset;
- }
- .curves.hidden {
- display: none;
- }
- }
- }
- /* Poly editor */
- .poly-editor{
- .editModeButton{
- margin: 10px;
- outline: 4px solid #fd5151;
- }
- .editModeEnabled {
- outline: 4px solid #5897fb;
- }
- .description{
- margin: 5px;
- background-color:#303030;
- outline: 4px solid #4a4a4a;
- padding : 2px;
- }
- .point-list {
- input {
- width: 70px;
- }
- .deletePoint {
- width: 20px;
- margin-left: 8px;
- }
- }
- .poly-vector2{
- display: block;
- padding : 5px;
- }
- input[type=button] {
- margin-top: 5px;
- }
- }
- // Array of string
- .string-array {
- .array-element {
- display: block;
- padding: 5px;
- }
- .string-field {
- width: 120px;
- }
- .delete-button {
- width: 20px;
- margin-left: 8px;
- }
- }
- // Default Edit Button
- .editModeButton{
- margin: 10px;
- outline: 4px solid #fd5151;
- }
- .editModeEnabled {
- outline: 4px solid #5897fb;
- }
- /* Mesh Generator */
- .meshGenerator-thumbnail {
- display: inline-block;
- margin: 5px;
- @size: 75px;
- width: @size;
- height: @size;
- background-size: @size @size;
- outline: 2px solid #4a4a4a;
- background-size: contain;
- }
- /* Terrain editor */
- .terrain-brushModeDescription{
- margin: 5px;
- background-color: black;
- outline: 4px solid #4a4a4a;
- padding : 2px;
- }
- .terrain-brushModeContainer{
- padding : 1px;
- }
- .terrain-brushMode{
- padding : 5px;
- display: inline-block;
- .selected {
- outline: 4px solid #5897fb;
- }
- }
- .terrain-brushModeIcon {
- @size: 40px;
- width: @size;
- height: @size;
- background-size: @size @size;
- background-color: #AAAAAA;
- outline: 4px solid #4a4a4a;
- background-size: contain;
- }
- .terrain-brushes {
- .brush {
- display: inline-block;
- padding : 6px;
- position: relative;
- }
- .brush-preview {
- @size: 40px;
- background-size: @size @size;
- width: @size;
- height: @size;
- outline: 4px solid #4a4a4a;
- }
- .brush-preview-selected {
- @size: 45px;
- background-size: @size @size;
- width: @size;
- height: @size;
- outline: 4px solid #5897fb;
- }
- .tooltiptext {
- visibility: hidden;
- background-color: black;
- color: #fff;
- text-align: left;
- border-radius: 6px;
- position: absolute;
- z-index: @tooltip-layer;
- padding: 4px;
- width: 90px;
- }
- .brush:hover .tooltiptext {
- visibility: visible;
- }
- }
- .terrain-surfaces {
- .surface {
- display: inline-block;
- padding : 6px;
- position: relative;
- }
- .surface-preview {
- @size: 85px;
- background-size: @size @size;
- width: @size;
- height: @size;
- outline: 4px solid #4a4a4a;
- }
- .surface-preview-selected {
- @size: 85px;
- background-size: @size @size;
- width: @size;
- height: @size;
- outline: 4px solid #5897fb;
- }
- .tooltiptext {
- visibility: hidden;
- background-color: black;
- color: #fff;
- text-align: left;
- border-radius: 6px;
- position: absolute;
- z-index: @tooltip-layer;
- padding: 4px;
- }
- .surface:hover .tooltiptext {
- visibility: visible;
- }
- }
- /* Shader Editor */
- .shader-editor {
- display: flex;
- flex-direction: row;
- /** {
- font-family: "Inter";
- }*/
- #preview {
- z-index: 3;
- position: absolute;
- background-color: #111;
- border: 1px solid #444;
- right: 16px;
- bottom: 16px;
- .hide-toolbar2 {
- position: absolute;
- right: 8px;
- top: 8px;
- }
- display: flex;
- align-items: center;
- justify-items: center;
- .scene-container {
- width: 100%;
- height: 100%;
- }
- .resize-handle {
- --size: 5px;
- position: absolute;
- background-color: transparent;
- &:hover {
- background-color: rgba(114, 180, 255, 0.5);
- }
- &.up {
- left: 0px;
- right: 0px;
- top: 0px;
- height: var(--size);
- &:hover {
- cursor: n-resize;
- }
- }
- &.up-left {
- left: 0;
- top: 0;
- height: calc(var(--size) * 2);
- width: calc(var(--size) * 2);
- &:hover {
- cursor: nw-resize;
- }
- }
- &.left {
- left: 0px;
- top: 0px;
- bottom: 0px;
- width: var(--size);
- &:hover {
- cursor: e-resize;
- }
- }
- }
- }
- .flex.vertical {
- position:relative;
- }
- #rightPanel {
- box-sizing: border-box;
- display: flex;
- flex-direction: column;
- min-width: 270px;
- padding-top: 10px;
- border-left: 1px solid #444444;
- background: #222222;
- height: 100%;
- user-select: none;
- span { // title
- margin-left: 5px;
- font-size: 15px;
- font-weight: bold;
- }
- .flexible {
- overflow: auto;
- min-height: 0;
- to-collapse {
- display: contents;
- }
- &.collapsed {
- flex-grow: 0;
- overflow: visible;
- to-collapse {
- display: none;
- }
- h1 .ico {
- transform: rotate(-90deg);
- }
- min-height: unset;
- }
- }
- .hide-block {
- flex: 1;
- display: flex;
- flex-direction: column;
- .parameters, .variables {
- fancy-item-header {
- .type {
- font-style: italic;
- }
- }
- .content .values {
- display: flex;
- flex-direction: column;
- }
- }
- }
- .options-block {
- flex: 0;
- & > * {
- display: block;
- margin-bottom: 10px;
- width: 100%;
- text-align: center;
- box-sizing: border-box;
- }
- & > div {
- border: 1px solid #444;
- padding: 2px;
- }
- }
- }
- }
- /* Texture Editor */
- .texture-editor {
- display: flex;
- flex-direction: row;
- .flex.vertical {
- position:relative;
- }
- #right-panel {
- flex: 0;
- display: flex;
- flex-direction: column;
- min-width: 270px;
- width: 280px;
- border-left: 1px solid #444444;
- background: #222222;
- height: 100%;
- user-select: none;
- .group {
- .header {
- display: flex;
- background-color: #444444;
- padding: 5px;
- &:hover {
- background-color: #666666;
- }
- .title {
- text-transform: uppercase;
- font-weight: bold;
- margin-left: 7px;
- font-family: var(--default-font), serif;
- font-size: 9pt;
- color: #aaa;
- }
- }
- .content {
- display: block;
- padding: 10px 20px 10px 20px;
- .title {
- font-weight: bold;
- font-family: var(--default-font), serif;
- font-size: 9pt;
- color: #aaa;
- margin: 0 0 5px 0;
- }
- .fields {
- display: grid;
- grid-template-columns: auto auto;
- gap: 5px 5px;
- padding-bottom: 10px;
- border-bottom: 1px solid;
- margin-bottom: 10px;
- border-color: #373737;
- &.grid-3 {
- grid-template-columns: auto auto 2%;
- }
- .reset {
- &:hover {
- color: #ffffff;
- }
- padding-top: 3px;
- }
- }
- }
- }
- }
- #tex-preview {
- z-index: 3;
- position: absolute;
- width: 300px;
- height: 300px;
- background-color: #111;
- border: 1px solid #444;
- right: 35px;
- bottom: 35px;
- .hide-toolbar2 {
- position: absolute;
- right: 8px;
- top: 8px;
- }
- }
- }
- .graph-view {
- outline: none !important;
- position: relative;
- .heaps-scene>.hide-toolbar2 {
- position: absolute;
- top: 10px;
- left: 10px;
- z-index: 999;
- }
- .mini-preview {
- position: absolute;
- top: 0px;
- left: 0px;
- z-index: 0;
- }
- #graph-root {
- position: absolute;
- top: 0px;
- left: 0px;
- z-index: 1;
- }
- #add-menu {
- position: absolute;
- width: 400px;
- box-shadow: 0px 0px 25px -4px black;
- background-color: rgb(34, 34, 34);
- border: 1px solid #444;
- z-index: @default-layer + 10;
- .search-container {
- display: flex;
- .icon {
- width: 16px;
- font-size: 15px;
- text-align: center;
- padding: 7px;
- border: solid #444;
- background: #2d2d2d;
- border-width: 0 1px 1px 0;
- }
- .search-bar {
- flex: 1;
- margin: -1px 11px 0px -1px;
- input {
- width: 100%;
- height: 30px;
- padding-left: 10px;
- outline: none;
- &:focus {
- border: 1px solid #888888;
- }
- }
- }
- }
- #results {
- max-height: 300px;
- overflow-y: auto;
- div {
- padding: 5px;
- border-top: 1px solid #444444;
- cursor: pointer;
- color: #d4d4d4;
- & {
- position: relative;
- }
- &.group {
- background: #474747;
- color: #c0c0c0;
- cursor: default;
- z-index: @default-layer + 5;
- box-shadow: 0px 0px 34px -9px black;
- &:hover {
- background: #474747!important;
- color: #dadada!important;
- box-shadow: none;
- }
- }
- & > span:first-child {
- font-weight: bold;
- padding-left: 10px;
- }
- & > span:last-child {
- font-style: oblique;
- padding-left: 7px;
- }
- &:first-child {
- border-top: 0;
- }
- &:hover, &.selected {
- background: #5eb7bf;
- color: #000000;
- box-shadow: inset 0px 0px 12px -1px black;
- z-index: @default-layer + 15;
- }
- }
- }
- }
- #context-menu {
- position: absolute;
- width: 150px;
- box-shadow: 0px 0px 25px -4px black;
- background-color: rgb(34, 34, 34);
- border: 1px solid #444;
- z-index: @default-layer + 10;
- #options {
- max-height: 300px;
- overflow-y: auto;
- div {
- padding: 5px;
- border-top: 1px solid #444444;
- cursor: pointer;
- color: #d4d4d4;
- & {
- position: relative;
- }
- &.group {
- background: #474747;
- color: #c0c0c0;
- cursor: default;
- z-index: @default-layer + 15;
- box-shadow: 0px 0px 34px -9px black;
- &:hover {
- background: #474747!important;
- color: #dadada!important;
- box-shadow: none;
- }
- }
- & > span:first-child {
- font-weight: bold;
- padding-left: 10px;
- }
- & > span:last-child {
- font-style: oblique;
- padding-left: 7px;
- }
- &:first-child {
- border-top: 0;
- }
- &:hover, &.selected {
- background: #5eb7bf;
- color: #000000;
- box-shadow: inset 0px 0px 12px -1px black!important;
- z-index: @default-layer + 15;
- }
- &.grey-item {
- background: #adadad;
- color: #000000;
- font-weight: bold;
- box-shadow: inset 0px 0px 5px -1px black;
- }
- }
- }
- }
- .heaps-scene {
- outline: none !important;
- svg {
- font-family: var(--default-font);
- foreignObject {
- .container {
- padding: 1px;
- input {
- display: block;
- box-sizing: border-box;
- font-size: 8pt;
- font-family: var(--default-font);
- padding: 0px 2px 0px 2px;
- text-align: right;
- border: none;
- outline: 1px solid #393939;
- width: 100%;
- height: 100%;
- &:hover {
- outline-color: rgba(114, 180, 255, 0.5);
- }
- }
- }
- }
- g {
- &.box {
- pointer-events: all;
- foreignObject {
- input-wrapper {
- width: 100%;
- height: 100%;
- display: flex;
- align-items: center;
- justify-items: center;
- > * {
- flex-grow: 1;
- }
- input {
- width: 100%;
- min-width: 0;
- box-sizing: border-box;
- text-overflow:ellipsis;
- white-space:nowrap;
- overflow:hidden;
- text-align: end;
- direction: rtl;
- font-size: 10pt;
- }
- box-sizing: border-box;
- padding-left: 8px;
- padding-right: 8px;
- }
- container {
- display: flex;
- align-items: center;
- justify-content: center;
- width: 100%;
- height: 100%;
- .play-button {
- background-color: transparent;
- border-width: 0;
- font-family: inherit;
- font-size: inherit;
- font-style: inherit;
- font-weight: inherit;
- line-height: inherit;
- padding: 0;
- color: #888;
- &.active {
- color: #FFF;
- &:hover {
- color: #CCC;
- }
- }
- &:hover {
- color: #AAA;
- }
- }
- }
- }
- &.comment {
- .head-box {
- fill: rgba(80,80,80,0.5);
- //stroke-width: 3;
- pointer-events: all;
- }
- .resize {
- pointer-events: all;
- }
- .outline {
- stroke: rgba(80,80,80,0.5);
- stroke-width: 3;
- }
- foreignObject {
- pointer-events: all;
- }
- pointer-events: none;
- }
- &.selected {
- .outline {
- stroke: #668fff;
- }
- }
- }
- }
- .outline {
- fill: none;
- }
- .background {
- fill: #393939;
- }
- .separator {
- stroke: #272727;
- stroke-width: 1px;
- }
- .resize {
- fill: rgba(0, 0, 0, 0.0);
- stroke: none;
- }
- .comment-title {
- display: inline-block;
- max-width: calc(100% - 30px);
- min-width: 20px;
- height: 100%;
- font-size: 2em;
- background: rgba(0,0,0,0);
- border: none;
- overflow-x: hidden;
- text-wrap: nowrap;
- br {
- display: none;
- }
- }
- // .head-box {
- // fill: #155358;
- // }
- .title-box {
- text-anchor: start;
- fill: #c3c3c3;
- stroke: none;
- user-select: none;
- &::selection {
- background: none;
- }
- }
- // .nodes, .properties {
- // fill: #737373;
- // opacity: 0.75;
- // }
- .hasLink {
- .input-field {
- display: none;
- }
- }
- .close-preview {
- text-align: center;
- cursor: pointer;
- color: #999;
- &:hover {
- //background-color: rgba(.0,.0,.0,.25);
- color: #FFF;
- }
- }
- .input-node, .output-node {
- fill: rgb(200, 200, 200);
- //stroke-width: 13px;
- //stroke-opacity: 0;
- &.nodeMatch {
- fill: #5ca4ab;
- }
- .hitbox {
- fill: transparent;
- &:hover {
- fill: rgba(114, 180, 255, 0.5);
- }
- }
- }
- .title-node {
- fill: #c3c3c3;
- stroke: none;
- user-select: none;
- &::selection {
- background: none;
- }
- }
- .properties-group {
- span {
- color: #ffffff;
- user-select: none;
- &::selection {
- background: none;
- }
- }
- input[type=text], select {
- width: 100%;
- }
- input[type=text].error {
- border: red 1px solid;
- }
- .texture-preview {
- background-size: 50px 50px;
- height: 50px;
- width: 50px;
- margin: auto;
- margin-bottom: 5px;
- }
- .color-preview {
- background-size: 25px 25px;
- height: 25px;
- width: 25px;
- margin: auto;
- margin-bottom: 5px;
- }
- .float-preview {
- background: #222222;
- font-weight: bold;
- width: fit-content;
- padding: 2px 3px;
- margin: auto;
- margin-bottom: 3px;
- user-select: none;
- }
- .preview-parent {
- position: absolute;
- height: 100px;
- width: 100px;
- }
- .propertySubShader {
- span {
- float: left;
- margin-right: 10px;
- }
- }
- .custom-var {
- display: table;
- width: 100%;
- div.custom-var-row {
- display: table-row;
- label, span {
- display: table-cell;
- }
- }
- }
- }
- .edge {
- stroke-width: 2;
- stroke: rgb(200, 200, 200);
- fill: transparent;
- pointer-events: stroke;
- &.hitbox {
- stroke-width: 10;
- stroke: transparent;
- &:hover {
- stroke: rgba(114, 180, 255, 0.5);
- }
- }
- }
- .rect-selection {
- stroke: rgba(0, 0, 255, 0.7);
- fill: rgba(70, 70, 116, 0.08);
- }
- .node-id-indicator {
- fill: #ffffff;
- stroke: none;
- font-size: 8px;
- }
- }
- #add-menu {
- font-family: var(--default-font);
- }
- }
- .paramVisible {
- color: black!important;
- font-weight: bold;
- font-style: italic;
- letter-spacing: -.5px;
- text-align: center;
- user-select: none;
- }
- }
- /* Golden Layout Fixes */
- .lm_header .lm_tabs {
- z-index : @default-layer;
- }
- .lm_dropTargetIndicator {
- box-shadow : none;
- }
- span.lm_title { display: inline-block; padding: 0px 10px; }
- li.lm_tab { padding-left: 0px !important; padding-right: 15px !important; }
- div.lm_close_tab { top : 0px !important; right : 0px !important; width : 15px !important; height : 18px !important; }
- div.lm_close_tab:hover { background-color : #555 !important; }
- body.hide-subview {
- .lm_header .lm_tab {
- padding-right: 10px;
- }
- .lm_close_tab, .lm_controls {
- display : none;
- }
- }
- .lm_header .lm_tabdropdown_list .lm_tab {
- width: 100%;
- }
- .lm_header .lm_tabdropdown_list .lm_tab .lm_title {
- width: unset;
- max-width: 500px;
- }
- .visibility-toggle, .visibility-large-toggle {
- position: absolute;
- right: 4px;
- padding: 4px;
- &:hover {
- color : white;
- background: black;
- }
- }
- .hidden {
- .visibility-toggle, .visibility-large-toggle {
- background: #0000008a;
- i {
- color: #555;
- }
- }
- }
- .visibility-large-toggle {
- font-size: 14px!important;
- }
- .lock-toggle, .lock-large-toggle {
- position: absolute;
- right: 24px;
- padding: 4px;
- }
- .locked {
- .lock-toggle, .lock-large-toggle {
- i {
- color: #555;
- }
- }
- }
- .lock-large-toggle {
- font-size: 14px!important;
- }
- /* Spectrum Color picker */
- div.sp-replacer {
- vertical-align:top;
- background-color : #444;
- border : 1px solid #666;
- height : 16px;
- margin-right:5px;
- .sp-preview {
- width: 14px;
- height: 14px;
- }
- .sp-dd {
- padding-top:0px;
- }
- &:hover {
- border-color : white;
- }
- &.sp-active {
- border-color: #888;
- }
- }
- div.sp-container {
- background-color : #444;
- border : 1px solid #666;
- .sp-picker-container {
- border:none;
- width: 300px;
- }
- .sp-color {
- right: 8%;
- }
- .sp-hue {
- left: 95%;
- }
- input {
- color: #aaa;
- background-color : rgb(34,34,34);
- border-radius:0px;
- &:hover {
- border-color:white;
- }
- }
- }
- /* Animation Event Editor */
- .event-editor {
- .title {
- text-align: center;
- font-weight: bold;
- font-size: 12px;
- margin: 4px;
- background-color : rgb(30,30,30);
- }
- .event {
- .label {
- text-align: center;
- display: inline-block;
- width: 50%;
- }
- }
- }
- /* Script Editor */
- .codeeditor {
- position: relative;
- .codeErrorLine {
- background: #400;
- }
- .codeErrorContentLine {
- background : rgba(255,0,0,0.1);
- }
- .codeErrorContent {
- text-decoration: underline dashed red;
- }
- .codeErrorMessage {
- position: absolute;
- bottom: 0;
- right: 0;
- background : rgba(80, 5, 5, 1);
- color : red;
- padding: 2px;
- border: 1px solid #A00;
- max-height: 200px;
- max-width: 400px;
- overflow: hidden;
- }
- }
- .script-editor {
- .codeeditor {
- height: 100%;
- }
- div.codeErrorMessage {
- right : 12px;
- bottom : 0px;
- padding : 5px;
- }
- }
- /* Domkit */
- .domkit {
- width:100%;
- height:100%;
- display:flex;
- >* {
- flex-grow : 100;
- }
- .leftpanel {
- width:600px;
- resize:horizontal;
- border-right:1px solid #333;
- overflow:hidden;
- .html {
- .codeeditor {
- padding: 5px;
- height: 400px;
- }
- }
- .cssErrors {
- background : #840;
- border : 1px solid #F80;
- color : #F80;
- padding : 10px;
- position: absolute;
- z-index: @domkit-layer;
- left : 10px;
- bottom : 10px;
- }
- }
- }
- /* Level 3D */
- .overlay-info {
- background: #000000e0;
- position: absolute;
- z-index: @default-layer;
- left : 0px;
- bottom : 0px;
- overflow-y: scroll;
- overflow-x: hidden;
- padding: 10px;
- max-height: 800px;
- min-width: 600px;
- }
- .context-menu-item {
- .contextmenu-keys {
- float: right;
- font-size: 8pt;
- color: #8d8d8d;
- &:before {
- content: '\a0'; // ' '
- }
- }
- &.context-menu-disabled {
- .contextmenu-keys {
- color: #c9c9c9;
- }
- }
- .tag-disp-expand {
- display: flex;
- .tag-disp {
- color: white;
- flex-grow: 1;
- padding: 2px;
- }
- }
- &.context-menu-input {
- input[type=checkbox] {
- top: auto !important;
- &:after {
- // background-color: rgb(165, 165, 165);
- background-color: white;
- color: black;
- box-shadow: none;
- border: 1px solid black;
- border-radius: 2px;
- }
- }
- }
- }
- .checkerboard-bg {
- background: conic-gradient(#EEE 90deg,#DDD 90deg 180deg,#EEE 180deg 270deg, #DDD 270deg);
- background-size: 16px 16px;
- background-repeat: repeat;
- }
- div.color-box {
- display: inline-flex;
- cursor: pointer;
- }
- div.popup {
- inset: unset;
- background-color : #181818;
- border : 1px solid #242424;
- border-radius: 5px;
- color: #d8d8d8;
- position: absolute;
- overflow: visible;
- z-index: 900;
- box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.5);
- &:focus {
- outline: none;
- }
- padding: 6px;
- }
- .settings-popup {
- padding: 8px;
- p {
- margin-top: 0;
- margin-bottom: 0;
- text-align: center;
- }
- h2 {
- margin-top: 0.5em;
- margin-bottom: 0;
- text-align: left;
- font-size: 1em;
- font-weight: normal;
- }
- select {
- width: auto;
- width: fit-content;
- margin-left: 2px;
- }
- .form-grid {
- display: grid;
- grid-template-columns: auto 1fr;
- align-items: center;
- input[type="radio"] {
- padding-bottom: 4px;
- }
- grid-row-gap: 2px;
- }
- label {
- text-align: right;
- padding-right: 8px;
- }
- label.left {
- text-align: left;
- padding-left: 8px;
- }
- .hide-grid {
- visibility: hidden;
- height: 0px;
- }
- input[type=checkbox] {
- appearance: none;
- margin: 0;
- background: #545454;
- font: inherit;
- width: 14px;
- height: 14px;
- border: 1px solid #3d3d3d;
- border-radius: 3px;
- transform: translateY(-0.075em);
- padding: 0;
- /*box-shadow: 0px 1px #181818;*/
- }
- input[type=checkbox]:checked{
- background: #4772b3;
- }
- input[type=checkbox]:checked:after {
- content: '\2714';
- position: absolute;
- text-align: center;
- vertical-align: middle;
- width: 12px;
- height: 11px;
- left: auto;
- top: auto;
- box-shadow: none;
- background: none;
- line-height: 12px;
- font-size: 0.7em;
- color: #f6f8fb;
- }
- input[type=checkbox]:after {
- content: none;
- }
- }
- div.color-picker {
- padding:0;
- text-align: left;
- .vbox {
- display: flex;
- flex-direction: column;
- }
- .slider-value {
- display: flex;
- input {
- font-size: 10px;
- }
- label {
- align-self: center;
- }
- }
- hr {
- border: 1px solid #444444;
- width: 100%;
- }
- .slider-container {
- display: flex;
- }
- .slider {
- position: relative;
- display: inline-block;
- }
- .info-bar {
- display: flex;
- }
- .toolbar {
- vertical-align: top;
- }
- canvas {
- position: absolute;
- width: 100%;
- height: 100%;
- }
- svg {
- position: absolute;
- width: 100%;
- height: 100;
- pointer-events: none;
- }
- }
- div.texture-choice {
- display: inline-flex;
- height: 26px;
- align-items: center;
- width: 100%;
- }
- div.gradient-box {
- display: block;
- align-self: center;
- height: 18px;
- min-width: 150px;
- font-family: Verdana, serif;
- font-size: 9pt;
- border: 1px solid #444;
- cursor: pointer;
- }
- .gradient-editor {
- background-color : rgb(40, 40, 41);
- border : 1px solid rgb(51, 51, 51);
- display: flex;
- .color-box {
- border : 3px solid rgb(51, 51, 51);
- }
- .stop-editor {
- &.disabled {
- opacity: 50%;
- }
- }
- .editor {
- padding: 6px;
- & > div{
- margin-bottom: 4px;
- }
- }
- p {
- margin: 0;
- }
- label {
- margin-right: 5px;
- }
- input {
- width: 75px;
- }
- summary:focus {
- outline: none;
- }
- #preview {
- width: 256px;
- height: 256px;
- }
- }
- .gradient-container {
- height: 100%;
- position: relative;
- svg {
- position: absolute;
- width: 100%;
- height: 100;
- &.lines {
- mix-blend-mode: difference;
- line {
- stroke: white;
- stroke-width: 1px;
- }
- }
- .gradient-stop {
- .outline {
- stroke-width: 0.015;
- stroke: white;
- }
- &:hover{
- .outline {
- stroke-width: 0.025;
- }
- }
- &.selected {
- .outline {
- stroke-width: 0.035;
- }
- }
- &.selected:hover {
- .outline {
- stroke-width: 0.045;
- }
- }
- .fill {
- stroke: black;
- stroke-width: 0.005;
- }
- }
- //pointer-events: none;
- }
- }
- .gradient-preview {
- width:100%;
- height: 100%;
- position: absolute;
- }
- .search-bar {
- width: 100%;
- box-sizing: border-box;
- margin-bottom: 8px;
- border-radius: 3px;
- }
- .lesseditor {
- width : 100%;
- height : 100%;
- position : relative;
- .scene {
- width : 1px;
- height : 1px;
- }
- .codeeditor {
- margin-top : 20px;
- height : 100%;
- .codeErrorMessage {
- top : 20px;
- width : 90%;
- }
- }
- }
- .domkitEditor {
- height: 100%;
- width: 100%;
- .editors {
- display: flex;
- height: 100%;
- .panel {
- height: 100%;
- &.left {
- width: 48%;
- }
- &.right {
- padding-left: 10px;
- flex-grow: 1;
- >.editor {
- height: 100%;
- }
- }
- >.editor {
- display: flex;
- flex-direction: column;
- height: 50%;
- >span {
- font-size: 18px;
- margin: 15px 0px 5px 10px;
- }
- .codeeditor {
- flex-grow: 1;
- height: 5px;
- }
- }
- }
- }
- .scene {
- width : 1px;
- height : 1px;
- }
- }
- .profiler {
- width: 100%;
- height: 100%;
- display: flex;
- .ico {
- padding-left: 5px;
- padding-right: 5px;
- cursor: pointer;
- color: lightgray;
- }
- .disable {
- cursor: default;
- color: gray;
- }
- .left-panel {
- height: 100%;
- width: 80%;
- display: flex;
- background-color: #303030;
- flex-direction: column;
- .hide-tabs {
- height: 100%;
- width: 100%;
- #search-bar {
- display: inline;
- float: right;
- }
- .tab-content {
- height: 100%;
- width: 100%;
- display: flex;
- flex-direction: column;
- padding-bottom: 25px;
- box-sizing: border-box;
- margin: 2px;
- .hide-scroll {
- overflow-x: hidden;
- }
- }
- }
- table {
- overflow-y: scroll;
- margin-top: 10px;
- margin-bottom: 10px;
- caption {
- text-align: left;
- }
- thead {
- position: sticky;
- top: 0;
- background-color: #151515;
- td {
- font-weight: bold;
- }
- }
- #actions {
- padding-right: 3px;
- .ico {
- cursor: pointer;
- pointer-events: auto;
- color: lightgray;
- }
- }
- tr:hover {
- background-color: #272727;
- }
- tr:focus {
- background-color: #2c5d87;
- }
- thead {
- tr:hover {
- background-color: #151515;
- }
- }
- td:nth-last-child(1) {
- width: 100%;
- max-width: 700px;
- text-wrap: wrap;
- }
- td {
- padding: 3px 30px 3px 1px;
- overflow: hidden;
- white-space: nowrap;
- }
- .arrow {
- color: #4169E1;
- }
- .tid {
- color: #C71585;
- }
- .roots {
- color: #DAA520;
- }
- }
- }
- .right-panel {
- height: 100%;
- width: 20%;
- padding: 10px;
- box-sizing: border-box;
- overflow-x: hidden;
- dt {
- width: 80px;
- font-size: 11px;
- color: #aaa;
- user-select: none;
- text-transform: capitalize;
- font-weight: normal;
- vertical-align: top;
- display: inline-block;
- margin-top: 4px;
- max-width: 100%;
- }
- dd {
- position: relative;
- vertical-align: top;
- display: inline-block;
- text-wrap: wrap;
- word-break: break-word;
- margin-left: 0px;
- padding-left: 10px;
- padding-top: 4px;
- width: 200px;
- max-width: 100%;
- box-sizing: border-box;
- input {
- max-width: 100%;
- box-sizing: border-box;
- }
- }
- .outer-gauge {
- background-color: #535353;
- width: 100%;
- height: 15px;
- }
- .inner-gauge {
- background-color: #d6d6d6;
- height: 15px;
- }
- h4, h5 {
- margin-top:2px;
- margin-bottom: 2px;
- }
- h5 {
- word-wrap: break-word;
- }
- .title {
- text-align: center;
- font-size: 9pt;
- background-color: #151515;
- margin-bottom: 5px;
- margin-top: 5px;
- vertical-align: middle;
- }
- .drop-zone {
- background-color: #111111;
- border-style: dashed;
- border-width: 5px;
- height: 100px;
- padding-top: 20px;
- .label {
- text-align: center;
- pointer-events: none;
- }
- @keyframes zoomIn {
- from {
- transform: scale(0);
- }
- to {
- transform: scale(1);
- }
- }
- }
- .files-input {
- #process-btn {
- width: 100%;
- }
- }
- }
- }
- .remoteconsole {
- .ico {
- padding-left: 2px;
- padding-right: 2px;
- cursor: pointer;
- }
- .ico.disable {
- color: #444444;
- cursor: default;
- }
- input {
- margin-left: 2px;
- margin-right: 2px;
- background-color: #333333;
- }
- input:disabled {
- background-color: #222222;
- }
- input:disabled:hover {
- border-color: #505050;
- }
- input.wide {
- width: 300px;
- }
- .logs {
- margin-top: 2px;
- margin-bottom: 2px;
- background-color: #151515;
- height: 20px;
- overflow-y: auto;
- p {
- margin-block-start: 0px;
- margin-block-end: 0px;
- }
- .error {
- color: #ff2828;
- }
- }
- .remoteconsole-panel {
- border: 2px dashed #444444;
- border-radius: 4px;
- margin: 2px;
- margin-bottom: 10px;
- padding: 2px;
- box-sizing: border-box;
- .controls {
- float: right;
- }
- .logs {
- height: 100px;
- }
- .commands {
- fieldset {
- border: 1px dashed #333333;
- }
- .sub-command {
- margin: 3px 0px;
- .sub-sub-command {
- display: inline-block;
- }
- .dump-file {
- width: 200px;
- }
- input[type=checkbox] {
- display: inline-block;
- float: none;
- outline: 1px solid #505050;
- margin: 5px;
- }
- }
- h5 {
- display: inline-table;
- min-width: 80px;
- margin: 0px;
- }
- }
- }
- .new-panel {
- cursor: pointer;
- text-align: center;
- }
- }
- .devtools {
- width: 100%;
- height: 100%;
- webview {
- display: block;
- }
- #webview-blank {
- height: 0px;
- }
- #webview-devtools {
- height: 100%;
- }
- }
- .hover-parent {
- .hover-reveal {
- visibility: hidden;
- }
- &:hover {
- .hover-reveal {
- visibility: visible;
- }
- background-color: rgba(255,255,255,0.05);
- }
- }
- .flex-props {
- input{
- min-width: 0 !important;
- width: 100% !important;
- min-height: 0 !important;
- overflow: hidden;
- flex: 1;
- }
- .hide-range {
- display: flex;
- flex: 1;
- [type="range"] {
- flex: 3;
- }
- }
- .flex {
- display: inline-flex;
- }
- .fill {
- flex: 1;
- }
- }
- .fx-params {
- dt {
- text-transform: none;
- }
- }
- /* parameter name that appear near curves and other prefabs in the fx editor*/
- .fx-parameter {
- font-size: 0.8em;
- margin-left: 1em;
- .fx-param-name {
- margin-left: 0.3em;
- max-width: 100px;
- direction: rtl;
- display: inline-block;
- overflow: hidden;
- vertical-align: bottom;
- text-overflow: clip;
- }
- &.missing .fx-param-name {
- text-decoration: line-through;
- }
- }
- .settings {
- width: 100%;
- height: 100%;
- .settings-header {
- width: 100%;
- height: 20px;
- border-bottom: solid #000000 1px;
- .search-bar {
- margin: 2px 5px 0px 0px;
- float: right;
- width: 15%;
- height: 16px;
- }
- }
- .settings-body {
- width: 100%;
- height: 100%;
- display: flex;
- .categories {
- width: 20%;
- height: 100%;
- padding-top: 5px;
- border-right: solid #000000 1px;
- p {
- padding: 1px 1px 1px 15px;
- margin: 0;
- }
- p:hover {
- background-color: #4d4d4d;
- }
- .selected {
- background-color: @color-highlight !important;
- }
- }
- .content {
- height: 100%;
- width: 100%;
- padding: 0px 15px 15px 10px;
- h1 {
- margin-top: 0;
- margin-bottom: 0;
- }
- dl {
- display:flex;
- overflow-x:hidden;
- margin:0px;
- }
- dd, dt {
- vertical-align:middle;
- text-wrap: wrap;
- word-break: break-word;
- margin-top:4px;
- span {
- display: inline-block;
- width: 20px;
- }
- }
- dt {
- width: 300px;
- color:#aaa;
- user-select:none;
- text-transform: capitalize;
- font-weight: normal;
- }
- dd {
- flex-grow: 1;
- }
- }
- }
- }
- .project-settings {
- width: 100%;
- height: 100%;
- h1 {
- margin: 5px 5px 5px 10px;
- }
- .loading {
- display: flex;
- margin-left: 10px;
- .ico {
- margin-right: 5px;
- align-self: center;
- }
- }
- .body {
- width: 100%;
- height:100%;
- display: flex;
- .left-panel {
- flex: 0.5;
- padding: 10px;
- .filter-container {
- display: flex;
- margin-bottom: 10px;
- p {
- margin: 0 5px 0 0;
- }
- .filter {
- flex : 1;
- }
- }
- }
- .right-panel {
- flex: 1;
- padding: 10px;
- }
- .array {
- .rows {
- min-height: 20px;
- max-height: 750px;
- overflow-y: scroll;
- width: 100%;
- background: #3f3f3f;
- border-radius: 2px 2px 0px 2px;
- .row {
- display: flex;
- flex-direction: row;
- width: 100%;
- .ico {
- margin-left: 5px;
- margin-right: 5px;
- align-self : center;
- }
- input {
- flex: 1;
- border: 1px solid #666;
- border-radius: 5px;
- box-sizing: border-box;
- margin: 2px;
- }
- &:hover {
- background: #5a5a5a;
- }
- &.selected {
- background: @color-highlight;
- }
- &.filtered {
- display: none;
- }
- }
- }
- .buttons {
- float: right;
- padding: 5px 10px 5px 10px;
- border-radius: 0px 0px 2px 2px;
- background: #3f3f3f;
- .add-btn {
- margin-right: 10px;
- }
- div {
- cursor: pointer;
- }
- div:hover {
- color: #e6e6e6;
- }
- }
- }
- }
- }
- // lod specific style in model viewer
- .lods {
- .lods-line {
- position: relative;
- display:flex;
- overflow: hidden;
- height: 70px;
- .line {
- height: 30px;
- margin: 10px 2px 0px 2px;
- background-color: #151515;
- display: flex;
- overflow: hidden;
- padding: 1px;
- width: 100%;
- div {
- overflow-x: hidden;
- height:100%;
- }
- div:nth-child(1n) {
- background-color: #f3e179;
- }
- div:nth-child(2n) {
- background-color: #79f37b;
- }
- div:nth-child(3n) {
- background-color: #8979f3;
- }
- div:nth-child(4n) {
- background-color: #f379ad;
- }
- .crop {
- height: 100%;
- cursor: w-resize;
- width: 2px;
- background-color: #151515;
- }
- p {
- margin: 0 2px 0 2px;
- color: black;
- }
- }
- .cursor {
- position: absolute;
- top: 11px;
- pointer-events: none;
- .cursor-line {
- background-color: rgb(0, 0, 0);
- height: 32px;
- width: 2px;
- }
- p {
- text-align: center;
- margin-top: 2px;
- }
- }
- }
- #buttons {
- width: 100%;
- input {
- width: 100%;
- margin-top: 2px;
- }
- }
- }
- .curve-editor-popup {
- width: 600px;
- height: 400px;
- }
- hide-popover {
- resize: both;
- max-height: 90vh;
- max-width: 90vw;
- min-width: 100px;
- min-height: 100px;
- border: none;
- padding: 0;
- display: flex;
- flex-direction: column;
- title-bar {
- padding: 2px;
- background-color: #000000;
- display: flex;
- height: 20px;
- #title {
- flex-grow: 1;
- flex-shrink: 0;
- color: @color-text;
- }
- flex: 0 0;
- button {
- background: none;
- border: none;
- display: inline-flex;
- align-items: center;
- justify-content: center;
- height: 16px;
- width: 16px;
- padding: 1px;
- i {
- font-size: 8px;
- color: @color-text;
- }
- }
- }
- hide-content {
- flex: 1 1;
- min-height: 0; // Allow the inner element to shrink, used to make the inner content scrollable
- padding: 0;
- }
- }
- .hide-tileselect {
- min-height: 0;
- width: 100%;
- height: 100%;
- display: flex;
- overflow: hidden;
- flex-direction: column;
- &:focus {
- outline: none;
- }
- .color-box {
- border: 1px solid #777;
- }
- tile-settings {
- display: flex;
- align-items: center;
- gap: 1em;
- background: #222222;
- color: @color-text;
- min-height: 24px;
- padding: 2px;
- overflow: hidden;
- flex-shrink: 0;
- > * {
- flex-shrink: 0;
- }
- input.file {
- flex-grow: 1;
- max-width: 300px;
- }
- .dim-edit {
- > input {
- width: 32px;
- }
- }
- }
- background-container {
- align-self: stretch;
- display: block;
- padding: 0;
- flex-grow: 1;
- flex-shrink: 1;
- min-width: 0;
- min-height: 0;
- tile-picker {
- width: 100%;
- height: 100%;
- display: block;
- padding: 0;
- &::-webkit-scrollbar {
- width: 10px;
- height: 10px;
- }
- overflow: auto;
- image-display {
- display: block;
- position: relative;
- margin-right: @tileselect-cursor-border;
- margin-bottom: @tileselect-cursor-border;
- .valueDisp {
- position: absolute;
- background-color: rgba(0,80,128,0.3);
- border:1px solid rgba(128,128,128,0.5);
- pointer-events:none;
- }
- .cursor {
- position: absolute;
- border : @tileselect-cursor-border solid #fff;
- pointer-events:none;
- }
- }
- }
- background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAE5JREFUWIVjnL12+38GCoCBnisl2hmYKNJNBTDqgFEHjDpg1AGjDhh1wKgDGE/f/kNRe+DCpd0UOWDAQ2DUAaMOGHXAqANGHTDqgFEHAAAO3QneZHM9AwAAAABJRU5ErkJggg==);
- }
- }
- .context-menu2 .search-bar, .fancy-search-bar{
- background-color: #444;
- border: 1px solid #666;
- border-radius: 2px;
- box-sizing: border-box;
- position: relative;
- input {
- color: #aaaaaa;
- font-family: var(--default-font), Geneva, Tahoma, sans-serif;
- width: 100%;
- box-sizing: border-box;
- border: none;
- margin: none;
- &:focus {
- outline: none;
- }
- }
- &:after {
- color: #aaaaaa;
- content: "\f002";
- font-family: "FontAwesome";
- position: absolute;
- right: 6px;
- top: 2px;
- }
- }
- .context-menu2 {
- --offset-x: 4;
- --offset-y: 0;
- background-color: #222222;
- border-radius: 5px;
- box-shadow: 0 1px 6px 1px rgba(0, 0, 0, 0.75);
- border: solid 1px #444444;
- color: #aaaaaa;
- font-family: var(--default-font), sans-serif;
- font-size: 12px;
- &:focus {
- outline: none;
- }
- &:popover-open {
- position: absolute;
- inset: unset;
- display: flex;
- flex-direction: column;
- align-items: stretch;
- min-width: 150px;
- max-width: 400px;
- bottom: 5px;
- right: 5px;
- margin: 0;
- }
- menu {
- max-height: min(500px, 90vh);
- overflow-y: auto;
- &::-webkit-scrollbar {
- width: 4px;
- }
- &::-webkit-scrollbar-track {
- background: transparent;
- }
- &::-webkit-scrollbar-thumb {
- background-color: rgba(155, 155, 155, 0.75);
- border-radius: 20px;
- border: transparent;
- }
- margin: 0px;
- padding: 0px;
- * {
- box-sizing: border-box;
- }
- separator {
- display: flex;
- align-items: center;
- h1 {
- font-weight: normal;
- margin: 0em 0.5em;
- font-size: 9pt;
- color: #888;
- white-space: nowrap;
- }
- hr {
- margin-top: 0.8em;
- }
- pointer-events: none;
- }
- hr {
- flex-grow: 1;
- border: 0;
- height: 1px;
- background-image: linear-gradient(to right, rgba(44,44,44,0), rgb(100, 100, 100), rgba(44,44,44));
- pointer-events: none;
- }
- &:not(:has(:hover, .highlight)) .open {
- background-color: #555555;
- }
- li {
- text-align: left;
- --level: 0;
- --menu-level: 0;
- --base-padding: 0.2em;
- padding: calc(0.2em);
- padding-left: calc(var(--base-padding) + var(--level) * 0.5em);
- display: flex;
- align-items: baseline;
- &:not(:has(.icon)) {
- --base-padding: 0.5em;
- }
- gap: 4px;
- &:hover, &.highlight {
- background-color: #555555;
- }
- user-select: none;
- .label {
- flex-grow: 1;
- padding-right: 1em;
- }
- .arrow, .fa, .icon, .shortcut {
- flex-grow: 0;
- flex-shrink: 0;
- }
- .icon {
- display: flex;
- justify-content: center;
- width: 1.4em;
- }
- .shortcut {
- color: #888;
- font-size: 0.8em;
- }
- &.submenu-inline-header {
- color: gray;
- background-color: #222222;
- font-style: italic;
- position: sticky;
- height: 20px;
- top: calc(20px * var(--level));
- &:hover {
- background-color: unset;
- }
- }
- &.disabled {
- color: #666;
- &:hover {
- background-color: unset;
- }
- }
- }
- hr {
- width: 100%;
- }
- }
- }
- .radial-menu {
- position: absolute;
- width: 500px;
- height: 500px;
- pointer-events: none;
- .center {
- position: absolute;
- &:before {
- color: #1a1a1a;
- font-size: 3em;
- }
- .center-selection {
- position: absolute;
- &:before {
- color: #3673b7;
- font-size: 3em;
- clip-path: polygon(0% 100%, 100% 100%, 50% 50%);
- }
- }
- }
- .radial-button {
- transition: top 0.2s, left 0.2s;
- position: absolute;
- display: flex;
- padding: 5px 7px 5px 7px;
- justify-content: center;
- align-items: center;
- background-color: #181818;
- border-radius: 5px;
- .ico {
- margin-right: 5px;
- margin-top: 2px;
- }
- &.selected {
- background-color: #3673b7 !important;
- }
- }
- }
- .tag-disp {
- color: white;
- mix-blend-mode: difference;
- }
- .hide-root {
- display: flex;
- flex-direction: column;
- justify-content: stretch;
- box-sizing: border-box;
- height: 100vh;
- width: 100vw;
- > .golden-layout-root {
- flex-grow: 1;
- background-color: #000000;
- min-height: 0;
- min-width: 0;
- overflow: clip;
- }
- > .status-bar {
- overflow-x: hidden;
- padding-left: 4px;
- padding-right: 4px;
- height: 16px;
- background-color: #202020;
- border-top: 1px solid #333;
- flex-shrink: 0;
- display: flex;
- font-family: var(--default-font);
- &.error {
- background-color: #ee6666;
- color: black;
- }
- .build {
- margin-left: auto;
- flex-grow: 0;
- }
- .error-suppressed {
- button {
- .ico {
- margin-right: 5px;
- }
- margin-right: 10px;
- border: none;
- background-color: #ee6666;
- &:hover {
- cursor: pointer;
- background-color: #ff8a8a;
- color: white
- }
- }
- flex-grow: 1;
- display: flex;
- align-items: center;
- justify-content: center;
- margin-left: auto;
- margin-right: auto;
- padding-left: 4px;
- padding-right: 4px;
- color: black;
- border-radius: 3px;
- }
- #status-icons {
- flex-grow: 0;
- display: flex;
- align-items: center;
- gap: 4px;
- > .icon {
- height: 14px;
- width: 14px;
- display: flex;
- align-items: center;
- justify-content: center;
- font-size: 1em;
- }
- button {
- height: 14px;
- font-size: 0.8em;
- padding: 2px;
- margin: 0px;
- border: none;
- outline: none;
- border-radius: 2px;
- background-color: #efefef;
- &:hover {
- background-color: #ddd;
- }
- }
- }
- }
- }
- /* Spline inspector */
- .spline-editor {
- .points-inspector {
- @background-color : #222222;
- @background-color-highlight : #535353;
- width: 100%;
- margin-top: 10px;
- .content {
- width: 100%;
- display: flex;
- flex-wrap: wrap;
- flex-direction: row-reverse;
- .buttons {
- background: @background-color;
- border-radius: 5px 5px 0 0;
- padding: 3px 10px 3px 10px;
- cursor: pointer;
- div {
- margin: 0 2px 0 2px;
- }
- div:hover {
- color: @background-color-highlight;
- }
- }
- .points-container {
- min-height: 10px;
- width: 100%;
- border-radius: 5px 0 5px 5px;
- background: @background-color;
- padding: 3px;
- .point {
- margin-bottom: 1px;
- .header {
- padding: 3px 0px 3px 8px;
- background-color: #414141;
- border-radius: 5px;
- cursor: pointer;
- display: flex;
- .icon {
- align-self: center;
- margin-right: 5px;
- cursor: pointer;
- }
- .icon:hover {
- color: #ececec;
- }
- #remove {
- margin-left: auto;
- }
- p {
- margin: 0;
- }
- }
- .header:hover {
- background-color: #686868;
- }
- .body {
- padding-bottom: 15px;
- white-space: nowrap;
- dd {
- input {
- width: 28%;
- margin-right: 1px;
- }
- }
- }
- &.folded {
- .body {
- display: none;
- }
- }
- &.selected {
- .header {
- background-color: #2c5d87;
- }
- .body {
- background-color: #4f657f;
- }
- }
- }
- }
- }
- }
- .btn {
- margin-top: 5px;
- }
- }
- :root {
- --hover-highlight: rgba(114, 180, 255, 0.5);
- --selection: #3185ce;
- --drop-feedback: white;
- --hover: #444;
- --basic-shadow: 2px 2px 3px rgba(0,0,0,.75);
- --sublte-shadow: 1px 1px 3px rgba(0,0,0,.33);
- --basic-border: 1px solid #353535;
- --basic-border-hover: 1px solid #555;
- --basic-border-focused: 1px solid var(--selection);
- --basic-border-radius: 5px;
- --basic-padding: 0.2em;
- --bg-0: #000;
- --bg-1: #111;
- --bg-2: #222;
- --bg-3: #333;
- }
- button-2 {
- min-height: 16px;
- display: flex;
- justify-content: center;
- align-items: center;
- border: var(--basic-border);
- border-radius: var(--basic-border-radius);
- box-sizing: border-box;
- padding-left: calc(var(--basic-padding) * 2);
- padding-right: calc(var(--basic-padding) * 2);
- padding-top: var(--basic-padding);
- padding-bottom: var(--basic-padding);
- background-color: var(--bg-2);
- &:hover {
- background-color: var(--hover);
- }
- value {
- flex-grow: 1;
- overflow-x: hidden;
- white-space: nowrap;
- text-overflow: ellipsis;
- }
- &:active {
- box-shadow: inset var(--sublte-shadow);
- }
- &.no-border {
- background-color: red;
- border: none;
- color: #777;
- &:hover {
- color: #AAA;
- }
- }
- }
- /** GenericGraphEditor**/
- graph-editor-root {
- width: 100%;
- height: 100%;
- box-sizing: border-box;
- display: flex;
- justify-items: stretch;
- align-items: stretch;
- graph-container {
- display: flex;
- flex: 1 1;
- background-color: var(--bg-1);
- position: relative;
- preview-container {
- z-index: 1;
- position: absolute;
- min-width: 150px;
- min-height: 150px;
- right: 16px;
- bottom: 16px;
- height: 300px;
- width: 300px;
- border: var(--basic-border);
- overflow: hidden;
- border-radius: var(--basic-border-radius);
- box-shadow: var(--basic-shadow);
- .resize-handle {
- --size: 5px;
- position: absolute;
- background-color: transparent;
- &:hover {
- background-color: var(--hover-highlight);
- }
- &.up {
- left: 0px;
- right: 0px;
- top: 0px;
- height: var(--size);
- &:hover {
- cursor: n-resize;
- }
- }
- &.up-left {
- left: 0;
- top: 0;
- height: calc(var(--size) * 2);
- width: calc(var(--size) * 2);
- &:hover {
- cursor: nw-resize;
- }
- }
- &.left {
- left: 0px;
- top: 0px;
- bottom: 0px;
- width: var(--size);
- &:hover {
- cursor: e-resize;
- }
- }
- }
- .hide-toolbar2 {
- position: absolute;
- top: 8px;
- right: 8px;
- }
- }
- }
- properties-container {
- padding: var(--basic-padding);
- display: flex;
- flex-direction: column;
- flex-basis: 300px;
- border-left: var(--basic-border);
- background-color: var(--bg-1);
- graph-parameters {
- display: flex;
- flex-direction: column;
- flex-grow: 1;
- min-width: 0;
- min-height: 0;
- h1 {
- font-size: 1.2em;
- }
- }
- .anim-list {
- flex-grow: 0;
- flex-shrink: 0;
- }
- }
- }
- :root {
- --fancy-border-color: #555;
- --fancy-border-color-focus: rgba(114, 180, 255, 0.75);
- --fancy-main-text-color: #FFF;
- --fancy-quiet-text-color: #999;
- }
- .fancy-small {
- fancy-button, fancy-button& {
- --size: 22px;
- }
- }
- .fancy-normal {
- fancy-button, fancy-button& {
- --size: 28px;
- }
- }
- .fancy-big {
- fancy-button, fancy-button& {
- --size: 36px;
- }
- }
- fancy-toolbar {
- display: flex;
- flex-direction: row;
- align-items: center;
- padding-top: 2px;
- padding-bottom: 2px;
- padding-left: 0.25em;
- padding-right: 0.25em;
- }
- fancy-toolbar.shadow, fancy-closable.shadow {
- position: relative;
- background-color: #272727;
- box-shadow: 2px 2px 2px rgba(0,0,0,0.2);
- z-index: 1;
- }
- fancy-button {
- position: relative;
- --size: 28px;
- border: 1px solid var(--fancy-border-color);
- flex-shrink: 0;
- border-radius: var(--radius);
- text-align: center;
- height: var(--size);
- min-width: var(--size);
- display: inline-flex;
- flex-direction: row;
- align-items: center;
- justify-content: space-evenly;
- user-select: none;
- color: #DDD;
- &:has(.label), &.dropdown {
- padding-left: 0.5em;
- padding-right: 0.5em;
- //aspect-ratio: unset;
- }
- &.dropdown::after {
- font-family: "FontAwesome";
- content: "\f078";
- font-size: 0.5em;
- }
- gap: 0.5em;
- font-size: calc(var(--size) * 0.5);
- .label {
- font-weight: 200;
- text-rendering: optimizeLegibility;
- }
- &:hover {
- background-color: #555;
- }
- &:active {
- translate: 0px 1px;
- }
- &.quiet {
- border: none;
- padding: 1px;
- }
- &.quieter {
- border: none;
- padding: 1px;
- color: var(--fancy-quiet-text-color);
- &:hover {
- background: none;
- color: var(--fancy-main-text-color);
- }
- }
- &.compact {
- min-width: unset;
- .ico {
- font-size: 0.7em;
- }
- }
- margin-left: 0px;
- --radius: 3px;
- /* remove start rounded corner if previous element is a fancy button */
- &:has(+ &) {
- border-start-end-radius: 0;
- border-end-end-radius: 0;
- }
- /* remove end rounded corners if next element is a fancy-button */
- & + & {
- border-start-start-radius: 0;
- border-end-start-radius: 0;
- margin-left: -1px;
- }
- &.selected {
- color: #000;
- background-color: #DDD;
- &:hover {
- background-color: #FFF;
- }
- }
- }
- fancy-separator {
- border: none;
- height: 0;
- min-width: 0;
- max-width: 0;
- padding: 0;
- margin: 0 0.5em;
- height: 16px;
- }
- fancy-array {
- box-sizing: border-box;
- * {
- box-sizing: border-box;
- }
- padding: var(--basic-padding);
- border-radius: var(--basic-border-radius);
- border: var(--basic-border);
- display: flex;
- flex-direction: column;
- align-items: stretch;
- background-color: var(--bg-2);
- overflow-y: auto;
- fancy-array {
- padding-right: -1px;
- }
- fancy-items {
- display: flex;
- flex-direction: column;
- gap: 2px;
- justify-content: stretch;
- fancy-item {
- display: flex;
- flex-direction: column;
- position: relative;
- &.reveal {
- outline: 2px solid;
- animation-duration: 0.75s;
- animation-name: focus-show;
- outline-color: transparent;
- outline-offset: -2px;
- z-index: 1;
- }
- @keyframes focus-show {
- 0%, 25%, 50%, 75% {
- outline-color: rgba(67, 87, 143, 1.0);
- }
- 12%, 37%, 62% {
- outline-color: rgb(123, 140, 185);
- }
- 100% {
- outline-color: rgba(67, 87, 143, 0.0);
- }
- }
- fancy-item-header {
- display: flex;
- color: var(--fancy-quiet-text-color);
- border-radius: 3px;
- background-color: #444;
- align-items: center;
- >input[type="text"] {
- min-width: 0;
- width: 0;
- flex-grow: 1;
- background: none;
- outline: none;
- border: none;
- font-size: 14px;
- &:hover {
- outline: 1px solid var(--fancy-border-color);
- border-radius: 3px;
- }
- &:focus {
- outline: 1px solid var(--fancy-border-color-focus);
- border-radius: 3px;
- }
- }
- }
- fancy-item-content {
- display: none;
- padding: 1em 1em;
- padding-right: 0px;
- padding-right: 0;
- }
- .toggle-open * {
- transition: transform 0.2s;
- }
- &.open {
- > fancy-item-header .toggle-open *{
- transform: rotate(90deg);
- }
- fancy-item-header {
- border-bottom-left-radius: 0;
- border-bottom-right-radius: 0;
- }
- > fancy-item-content{
- display: block;
- background-color: #2d2d2d;
- border-top: none;
- border-bottom-left-radius: var(--basic-border-radius);
- border-bottom-right-radius: var(--basic-border-radius);
- }
- }
- &.hovertop:before, &.hoverbot:after {
- display: block;
- position: absolute;
- z-index: 100;
- margin: 0 auto;
- width: 100%;
- content: "";
- }
- &:before {
- background: linear-gradient(0deg, rgba(114, 180, 255, 0.0) 0%, rgba(114, 180, 255, 0.75) 100%);
- top: -2px;
- height: 10px;
- pointer-events: none;
- }
- &:after {
- background: linear-gradient(180deg, rgba(114, 180, 255, 0.0) 0%, rgba(114, 180, 255, 0.75) 100%);
- height: 10px;
- bottom: -2px;
- pointer-events: none;
- }
- }
- }
- }
- center-content {
- width: 100%;
- height: 100%;
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: center;
- }
- /** Blendspace2dEditor **/
- blend-space-2d-root {
- width: 100%;
- height: 100%;
- box-sizing: border-box;
- display: flex;
- flex-direction: row;
- justify-items: stretch;
- align-items: stretch;
- main-panel {
- flex: 1;
- display: flex;
- flex-direction: column;
- justify-items: stretch;
- align-items: stretch;
- preview-container {
- position: relative;
- background-color: var(--bg-1);
- flex: 1;
- .scene-preview {
- width: 100%;
- height: 100%;
- }
- .hide-toolbar2 {
- position: absolute;
- top: 8px;
- right: 8px;
- }
- }
- graph-container {
- height: 40%;
- position: relative;
- background-color: var(--bg-1);
- margin: 16px;
- svg {
- width: 100%;
- height: 100%;
- box-sizing: border-box;
- border: var(--basic-border);
- .tri {
- stroke: #888;
- stroke-width: 1;
- fill: rgba(114, 180, 255, 0.226);
- }
- .grid {
- stroke: #444;
- stroke-dasharray: 4;
- stroke-width: 1;
- }
- .grid-label {
- fill: #AAA;
- text-anchor: middle;
- }
- .bs-point {
- fill: black;
- stroke: white;
- stroke-width: 2;
- &.hover {
- stroke-width: 4;
- }
- &.selected {
- stroke: var(--selection);
- }
- }
- .preview-axis {
- fill: none;
- stroke: #008a00;
- stroke-width: 2;
- }
- .preview-axis-real {
- fill: none;
- stroke: #008a00;
- stroke-width: 1;
- }
- }
- drag-handler {
- z-index: 1;
- position: absolute;
- left: 0;
- bottom: 0;
- right: 0;
- top: 0;
- }
- }
- }
- properties-container {
- padding: var(--basic-padding);
- display: flex;
- flex-direction: column;
- width: 320px;
- border-left: var(--basic-border);
- background-color: var(--bg-1);
- parameters-container {
- flex-grow: 1;
- }
- .hide-properties {
- padding: 1em;
- display: flex;
- flex-direction: column;
- gap: 0.5em;
- input {
- min-width: 0;
- width: 0;
- }
- dl {
- display: grid;
- grid-template-columns: 6em minmax(0, 1fr);
- row-gap: 1px;
- column-gap: 0.5em;
- width: 100%;
- > div {
- display: grid;
- grid-column: 1 / -1;
- grid-template-columns: subgrid;
- align-items: center;
- > dt {
- width: unset;
- text-align: right;
- }
- > dd {
- width: unset;
- margin-left: 0;
- display: flex;
- justify-content: stretch;
- > * {
- flex: 1 1;
- }
- }
- .hide-range {
- display: flex;
- input[type="range"] {
- min-width: 0;
- width: 0;
- flex: 1 1;
- }
- input[type="text"] {
- min-width: 0;
- width: 0;
- flex: 0 0 4em;
- }
- }
- }
- }
- }
- }
- }
- .basic-border {
- padding: var(--basic-padding);
- border: var(--basic-border);
- border-radius: var(--basic-border-radius);
- }
- .anim-list {
- padding: var(--basic-padding);
- border: var(--basic-border);
- border-radius: var(--basic-border-radius);
- height: 400px;
- display: flex;
- flex-direction: column;
- h1 {
- font-size: 1em;
- padding: 0;
- margin: 0;
- font-weight: normal;
- }
- > ul {
- flex-grow: 1;
- overflow: auto;
- border: var(--basic-border);
- border-radius: var(--basic-border-radius);
- padding: var(--basic-padding);
- > li {
- &:hover {
- background-color: var(--hover-highlight);
- }
- border-radius: var(--basic-border-radius);
- }
- }
- }
- .array-sub-buttons {
- display: flex;
- justify-content: flex-end;
- .add {
- padding: 5px 10px 5px 10px;
- background: @color-menu-bg-highlight;
- border-radius: 0px 0px 3px 3px;
- margin: 0 5px 0 5px;
- cursor: pointer;
- &:hover {
- &::before {
- filter: brightness(80%);
- }
- }
- }
- }
- .hide-gym {
- background-color: #111;
- padding: 2em;
- box-sizing: border-box;
- h1 {
- font-size: 1.1em;
- }
- details {
- summary {
- font-size: 1.5em;
- background-color: #333;
- padding: var(--basic-padding);
- border-radius: var(--basic-border-radius);
- }
- padding: 1em;
- background-color: #222;
- border-radius: var(--basic-border-radius);
- }
- }
- .merge-bottom {
- border-bottom-right-radius: 0;
- }
- .merge-top {
- border-top-right-radius: 0;
- border-top-left-radius: 0;
- align-self: flex-end;
- margin-top: -1px;
- background-color: #353535;
- border: none;
- }
- .subtle-title {
- margin: 0;
- margin-left: 0.5em;
- font-weight: normal;
- font-style: italic;
- font-size: 1.2em;
- }
- .fancy-hide {
- display: none;
- }
- file-browser {
- display: flex;
- flex-direction: row;
- &.vertical {
- flex-direction: column;
- }
- &.single > .left {
- flex: 1 1;
- }
- height: 100%;
- width: 100%;
- .left {
- width: 300px;
- min-width: 100px;
- background-color: mediumaquamarine;
- }
- .right {
- flex: 1 1;
- display: flex;
- flex-direction: column;
- .footer {
- height: 12px;
- font-size: 11px;
- background-color: #272727;
- }
- }
- }
- fancy-flex-fill {
- flex: 1 1;
- }
- fancy-icon {
- aspect-ratio: 1/1;
- height: 1em;
- display: block;
- mask-size: contain;
- background-color: currentColor;
- mask-mode: luminance;
- mask-repeat: no-repeat;
- mask-position: center;
- &.small {
- height: 12px;
- }
- &.med {
- height: 18px;
- }
- &.big {
- height: 22px;
- }
- &.fi-right-caret { mask-image: url("res/icons/svg/right_caret.svg"); }
- &.fi-close { mask-image: url("res/icons/svg/close.svg"); }
- &.fi-search { mask-image: url("res/icons/svg/search.svg"); }
- }
- fancy-search {
- position: relative;
- flex: 1 1;
- padding: 2px;
- max-width: 400px;
- &, * {
- box-sizing: border-box;
- }
- > input {
- border: var(--basic-border);
- border-radius: var(--basic-border-radius);
- &:hover {
- border: var(--basic-border-hover);
- }
- &:focus {
- border: var(--basic-border-focused);
- outline: none;
- }
- min-width: 0;
- width: 100%;
- height: 100%;
- }
- .search-icon {
- position: absolute;
- right: 0.5em;
- top: 50%;
- transform: translateY(-50%);
- color: #999;
- z-index: 1;
- }
- }
- fancy-tree {
- --anim-speed: 0.1s;
- background-color: #222;
- height: 100%;
- display: flex;
- flex-direction: column;
- &:focus {
- outline: none;
- }
- fancy-scroll {
- display: block;
- width: 100%;
- flex: 1 1;
- min-width: 100px;
- overflow-x: clip;
- overflow-y: auto;
- fancy-item-container {
- position: relative;
- display: block;
- overflow: hidden;
- contain: strict;
- }
- fancy-tree-item {
- position: absolute;
- --depth: 0;
- --highlight: 0;
- width: 100%;
- top: 0;
- contain: strict;
- display: flex;
- &.hidden {
- filter: opacity(40%);
- }
- &.hide-search {
- overflow: hidden;
- height: 0px;
- display: none;
- }
- &.open> .caret::before {
- transform: rotate(90deg);
- }
- &.selected {
- color: white;
- --background: var(--selection);
- }
- &.editorOnly {
- color: rgb(2, 174, 218);
- }
- &.inGameOnly {
- color: rgb(218, 168, 2);
- }
- &.hidden {
- color: #555;
- }
- &.locked {
- font-style: italic;
- }
- &.disabled {
- color: #ee6666;
- }
- &.inRef {
- background: rgb(58, 58, 58);
- }
- &.isOverride {
- background: rgb(12, 35, 70);
- }
- &.isOverride.isOverriden {
- color: cyan;
- }
- &.isOverride.isOverriden.isOverridenNew {
- color: rgb(38, 199, 38);
- }
- // Select if we have a children that is selected
- &:has(fancy-tree-children .selected) > fancy-tree-header {
- fancy-tree-name {
- text-decoration: underline var(--selection);
- }
- }
- &.current {
- outline: dashed 1px #AAA;
- z-index: 10;
- outline-offset: -1px;
- }
- &:hover {
- background-color: var(--hover);
- }
- fancy-button.quieter {
- --size: 16px;
- font-size: 12px;
- pointer-events: all;
- color: #CCC;
- &.button-hidden {
- visibility: hidden;
- }
- text-shadow: 1px 1px 1px rgba(.0,.0,.0,.75);
- }
- .hidden {
- visibility: hidden;
- }
- box-sizing: border-box;
- --padding: calc((var(--depth) - 1) * 1.0em + 0.25em);
- padding-left: var(--padding);
- box-sizing: border-box;
- height: 20px;
- max-height: 20px;
- min-height: 20px;
- --background: #222;
- background-color: e("hsl(from var(--background) h s calc(var(--highlight) + l))");
- display: flex;
- &:hover {
- --highlight: 10;
- cursor: pointer;
- fancy-button.hidden {
- visibility: visible;
- }
- }
- fancy-tree-icon {
- align-self: center;
- width: 16px;
- height: 16px;
- display: block;
- flex-shrink: 0;
- filter: drop-shadow(1px 1px rgba(0,0,0,0.5));
- &.caret {
- width: 16px;
- height: 16px;
- &::before {
- content: "";
- position: absolute;
- top: 0; left: 0;
- margin: 2px;
- width: 12px; height: 12px;
- transition: transform var(--anim-speed);
- background-color: currentColor;
- mask-image: url("res/icons/svg/right_caret.svg");
- mask-position: center;
- mask-repeat: no-repeat;
- mask-size: contain;
- pointer-events: all;
- }
- }
- }
- fancy-tree-name {
- display: block;
- text-overflow: ellipsis;
- align-self: stretch;
- overflow: clip;
- text-wrap: nowrap;
- flex-shrink: 1;
- filter: drop-shadow(1px 1px rgba(0,0,0,0.5));
- min-width: 2em;
- padding: 1px;
- padding-left: 0;
- align-content: center;
- &:focus {
- z-index: 100;
- background-color: #222;
- outline-offset: 1px;
- }
- >span.search-hl {
- background-color: var(--selection);
- color: white;
- }
- }
- &.feedback-drop-top::after {
- position: absolute;
- content: "";
- display: block;
- left: var(--padding);
- right: 0;
- top: 0;
- border-top: solid 1px var(--drop-feedback);
- z-index: 10;
- pointer-events: none;
- }
- &.feedback-drop-bot::after {
- position: absolute;
- content: "";
- display: block;
- left: var(--padding);
- right: 0;
- bottom: 0;
- border-top: solid 1px var(--drop-feedback);
- z-index: 10;
- pointer-events: none;
- }
- &.feedback-drop-in::after {
- position: absolute;
- content: "";
- display: block;
- left: var(--padding);
- right: 0;
- bottom: 0;
- top: 0;
- border: solid 1px var(--drop-feedback);
- z-index: 10;
- pointer-events: none;
- }
- }
- }
- &.overlay {
- background-color: transparent;
- fancy-scroll {
- fancy-tree-item {
- &:hover {
- color: #e2e2e2;
- }
- background: transparent;
- }
- }
- }
- }
- fancy-gallery {
- display: flex;
- flex-direction: column;
- overflow: none;
- flex-grow: 0;
- flex-shrink: 1;
- align-self: stretch;
- min-width: 0;
- min-height: 0;
- width: 100%;
- height: 100%;
- &,* {
- box-sizing: border-box;
- }
- contain: strict;
- fancy-scroll {
- flex: 1 1;
- overflow-y: scroll;
- fancy-item-container {
- position: relative;
- display: block;
- overflow: hidden;
- width: 100%;
- min-height: 100%;
- contain: strict;
- }
- }
- }
- fancy-gallery fancy-item, fancy-tooltip fancy-item {
- padding: 4px;
- position: absolute;
- align-items: stretch;
- overflow: hidden;
- contain: layout paint size style;
- background-color: #282828;
- border-radius: 6px;
- color: #aaa;
- contain: strict;
- &:hover {
- background-color: var(--hover);
- }
- &.selected {
- color: white;
- background-color: var(--selection);
- }
- &.current {
- outline: dashed 1px #AAA;
- z-index: 10;
- outline-offset: -1px;
- }
- box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.4);
- &.details {
- padding: 0;
- display: flex;
- align-items: flex-end;
- box-shadow: unset;
- border-radius: unset;
- gap: 0.4em;
- }
- fancy-thumbnail {
- flex: 0 1;
- display: block;
- width: 100%;
- height: 100%;
- }
- .icon-placement {
- position: absolute;
- color: white;
- bottom: 2px;
- right: 2px;
- filter: drop-shadow(2px 2px 2px rgb(0 0 0 / 70%));
- }
- .thumb {
- transform: unset;
- }
- // .loading {
- // // content: strict;
- // // animation: spinner 5.0s linear infinite;
- // // transform: rotate(0deg);
- // // @keyframes spinner {
- // // to { transform: rotate(360deg); }
- // // }
- // }
- &.details fancy-image {
- height: 100%;
- width: auto;
- aspect-ratio: 1 / 1;
- }
- fancy-name {
- position: absolute;
- bottom: 2px;
- left: 2px;
- right: 2px;
- height: 32px;
- display: block;
- text-align: center;
- text-wrap: wrap;
- word-break: break-all;
- text-overflow: ellipsis;
- overflow: hidden;
- >span.search-hl {
- background-color: var(--selection);
- color: white;
- }
- }
- &.details fancy-name {
- position: relative;
- height: auto;
- text-align: left;
- }
- &.details .icon-placement {
- position: relative;
- flex: 0 1;
- filter: unset;
- color : #AAA;
- margin-left: 0.2em;
- font-size: 0.8em;
- }
- }
- fancy-image {
- display: block;
- width: 100%;
- aspect-ratio: 1 / 1;
- background-position: center;
- background-repeat: no-repeat;
- background-size: cover;
- transform: scale(0.75,0.75);
- }
- fancy-breadcrumbs {
- fancy-breadcrumbs-separator {
- padding: 0.5em;
- }
- }
- fancy-closable {
- * {
- box-sizing: border-box;
- }
- overflow: hidden;
- height: 0px;
- }
- fancy-tooltip {
- z-index: 1;
- position: absolute;
- pointer-events: none;
- border: none;
- box-shadow: none;
- outline: none;
- background: none;
- box-shadow: var(--basic-shadow);
- margin: 0;
- overflow: visible;
- // fancy-image {
- // transform: none;
- // }
- }
- .fancy-status-icon {
- position: relative;
- &::after {
- content: " ";
- aspect-ratio: 1/1;
- height: 1em;
- display: block;
- mask-size: contain;
- background-color: currentColor;
- mask-mode: luminance;
- mask-repeat: no-repeat;
- mask-position: center;
- width: 6px;
- height: 6px;
- position: absolute;
- left: -2px;
- bottom: 1px;
- }
- &.fancy-status-icon-ok::after {
- mask-image: url("res/icons/svg/dot.svg");
- color: #87D58E;
- }
- &.fancy-status-icon-modified::after {
- mask-image: url("res/icons/svg/dot.svg");
- color: #FE383A;
- }
- }
- .lm_tabdropdown_list {
- z-index: 9999 !important;
- background-color: #111111;
- }
- .ref-viewer {
- overflow-x: hidden;
- >.header {
- text-wrap: nowrap;
- overflow: hidden;
- border-left: 5px solid;
- display: flex;
- flex-direction: column;
- margin: 10px 10px 10px 20px;
- padding-left: 5px;
- font-size: 1.1em;
- .title {
- font-weight: 600;
- em {
- font-weight: 400;
- font-style: normal;
- background-color: #404248;
- border-radius: 10px;
- padding: 2px 8px 2px 8px;
- cursor: pointer;
- &:hover {
- background-color: #585a63;
- }
- }
- }
- .infos {
- color : #c8c8ff;
- }
- }
- .reference {
- width: 100%;
- .header {
- display: flex;
- align-items: center;
- justify-content: center;
- &:hover {
- cursor: pointer;
- background-color: #484848;
- }
- .icon {
- margin: 0 5px 0 5px;
- }
- .file {
- align-self: top;
- margin-right: 10px;
- font-weight: 800;
- }
- .path {
- overflow: hidden;
- flex-grow: 1;
- font-weight: 200 !important;
- }
- .ref-count {
- margin-right: 5px;
- background-color: #404248;
- padding: 1px 5px 1px 5px;
- border-radius: 10px;
- }
- .folded {
- transform: rotate(-90deg);
- }
- .ico:before {
- font-size: 1.6em;
- }
- }
- .content {
- width: 100%;
- display: flex;
- flex-direction: column;
- margin-left: 26px;
- .result {
- display: flex;
- flex-direction: column;
- overflow: hidden;
- text-wrap: nowrap;
- padding: 3px 0 3px 0;
- .entry {
- overflow: hidden;
- cursor: pointer;
- a {
- &:hover {
- color: rgb(200, 200, 255);
- }
- em {
- font-style: normal;
- background-color: #FFFFFF20;
- }
- }
- }
- }
- }
- }
- }
|