style.less 95 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463
  1. @import "common.less";
  2. @font-face {
  3. font-family: 'FontAwesome';
  4. src: url('libs/fontawesome-webfont.eot?v=4.7.0');
  5. 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');
  6. font-weight: normal;
  7. font-style: normal;
  8. }
  9. @font-face {
  10. font-family: 'Inter';
  11. src: url('res/InterVariable.woff2') format("woff2");
  12. font-weight: normal;
  13. font-style: normal;
  14. font-weight: 100 900;
  15. font-display: swap;
  16. }
  17. @font-face {
  18. font-family: 'Inter';
  19. src: url('res/InterVariable-Italic.woff2') format("woff2");
  20. font-weight: normal;
  21. font-style: italic;
  22. font-weight: 100 900;
  23. font-display: swap;
  24. }
  25. body {
  26. margin : 0;
  27. padding : 0;
  28. background-color : black;
  29. user-select:none;
  30. max-width: 100vw;
  31. max-height: 100vh;
  32. overflow: hidden;
  33. }
  34. .lm_header .lm_tab {
  35. font-family: var(--default-font), Serif !important;
  36. }
  37. #message-container {
  38. pointer-events: none;
  39. z-index: 9999;
  40. position: fixed;
  41. left: 0;
  42. right: 0;
  43. top: 0;
  44. bottom: 0;
  45. display: flex;
  46. flex-direction: column;
  47. justify-content: end;
  48. align-content: center;
  49. align-items: center;
  50. padding-bottom: 8px;
  51. .message {
  52. transition: all 1.0s;
  53. margin-top: 0px;
  54. display: flex;
  55. overflow: hidden;
  56. outline : 1px solid;
  57. outline-color: #68686800;
  58. border-radius : 5px;
  59. flex-shrink: 1;
  60. max-height: 0px;
  61. .icon {
  62. outline : 0px solid #686868;
  63. border-radius : 4px 0px 0px 4px;
  64. padding: 5px 5px 3px 5px;
  65. background: #666666;
  66. }
  67. .text {
  68. outline : 0px solid #686868;
  69. border-radius : 0px 4px 4px 0px;
  70. background: #222222;
  71. padding: 3px 10px 3px 3px;
  72. }
  73. &.show {
  74. outline-color: #686868;
  75. margin-top: 4px;
  76. max-height: 100px;
  77. transition: all 1.0s;
  78. }
  79. &.error {
  80. background-color: #39221d;
  81. .text, .icon {
  82. outline-color: #b64f37;
  83. color: #fefefe;
  84. }
  85. .icon {
  86. background: #b64f37;
  87. }
  88. }
  89. }
  90. }
  91. .globalErrorMessage {
  92. position : absolute;
  93. z-index : 999;
  94. bottom:0px;
  95. left:0px;
  96. padding : 3px;
  97. background: #400;
  98. color : red;
  99. border : 1px solid #C00;
  100. }
  101. //:focus { outline: none; }
  102. :root {
  103. --default-font: 'Inter';
  104. --default-font-size: 10pt;
  105. font-size: var(--default-font-size);
  106. }
  107. ul, li {
  108. margin : 0;
  109. padding : 0;
  110. list-style : none;
  111. }
  112. body, td, th, li, p, a, input, select, textarea {
  113. font-family : var(--default-font), serif;
  114. font-feature-settings: "cv08", "cv05"; // Inter uppercase I and lowercase l disambiguation
  115. color: #aaa;
  116. }
  117. a {
  118. color : #aaf;
  119. text-decoration : none;
  120. }
  121. canvas {
  122. user-select: none;
  123. }
  124. input, textarea {
  125. padding-left : 4px;
  126. }
  127. .custom-text-edit {
  128. //padding-left: 2px;
  129. max-height: 200px; overflow-y:auto; overflow-x:hidden;
  130. &:focus {
  131. outline: 1px solid #888888;
  132. outline-offset: 1px;
  133. }
  134. }
  135. .custom-text-edit-standalone {
  136. background-color: rgb(34,34,34);
  137. border : 1px solid #444;
  138. padding: 2px 4px;
  139. &:focus {
  140. background-color: rgb(20,20,20);
  141. }
  142. &:hover {
  143. border-color : #888;
  144. }
  145. .custom-text-edit();
  146. }
  147. select {
  148. &:focus {
  149. outline: none;
  150. }
  151. &:focus:hover {
  152. border-color : #444;
  153. }
  154. }
  155. select, input, textarea, .hide-dropdown >.dropdown-cont {
  156. background-color: rgb(34,34,34);
  157. border : 1px solid #444;
  158. &:focus {
  159. background-color: rgb(20,20,20);
  160. }
  161. &:hover {
  162. border-color : #888;
  163. }
  164. }
  165. .select-box {
  166. color: @color-text;
  167. border-color: #888;
  168. border-style: solid;
  169. border-width: 1px;
  170. width: 178px;
  171. display: inline-block;
  172. }
  173. .hide-dropdown {
  174. position: relative;
  175. width: 100%;
  176. >.dropdown-cont {
  177. z-index: @contextmenu-layer;
  178. position: absolute;
  179. width: 100%;
  180. .filter-input {
  181. z-index: @contextmenu-layer;
  182. margin: 4px;
  183. width: calc(100% - 16px);
  184. }
  185. .options {
  186. z-index: @contextmenu-layer;
  187. max-height: 200px;
  188. overflow-y: auto;
  189. width: 100%;
  190. .dropdown-option {
  191. z-index: @contextmenu-layer;
  192. display : flex;
  193. align-items: center;
  194. cursor: pointer;
  195. padding: 6px;
  196. user-select: none;
  197. &.compact {
  198. padding-top: 0;
  199. padding-bottom: 0;
  200. }
  201. div.tile {
  202. margin-right : 5px;
  203. }
  204. p {
  205. display: inline-block;
  206. margin: 0;
  207. }
  208. p.option-context {
  209. margin-right: 5px;
  210. color: #555;
  211. }
  212. &.current-value {
  213. background-color: #444;
  214. }
  215. &.highlighted {
  216. background-color: #5897fb;
  217. >p {
  218. color: #fff;
  219. }
  220. }
  221. &.hidden {
  222. display: none;
  223. }
  224. }
  225. }
  226. }
  227. }
  228. .global-seek {
  229. .hide-dropdown{
  230. width: auto;
  231. margin-left: calc(50% - 400px);
  232. margin-right: calc(50% - 400px);
  233. }
  234. }
  235. input.file {
  236. cursor : pointer;
  237. &.disabled {
  238. cursor : default;
  239. }
  240. &.dragover {
  241. border-color : white;
  242. background-color : rgb(20,20,20);
  243. }
  244. }
  245. input[type=button] {
  246. background-color : #444;
  247. cursor : pointer;
  248. &:hover {
  249. color : white;
  250. background-color : #666;
  251. }
  252. &:disabled {
  253. color : rgb(192, 192, 192);
  254. background-color : rgb(56, 56, 56);
  255. }
  256. &:active {
  257. color : white;
  258. background-color : #424242;
  259. }
  260. }
  261. input[type=range] {
  262. appearance: none;
  263. background: transparent;
  264. border:none;
  265. padding:0;
  266. &:focus {
  267. outline: none;
  268. }
  269. &::-webkit-slider-thumb {
  270. -webkit-appearance: none;
  271. appearance: none;
  272. outline: 1px solid #aaa;
  273. height: 6px;
  274. width: 6px;
  275. background: #ccc;
  276. cursor: pointer;
  277. margin-top: 0px;
  278. }
  279. &::-webkit-slider-runnable-track {
  280. width: 100%;
  281. height: 8px;
  282. cursor: pointer;
  283. background: rgb(20,20,20);
  284. border: 1px solid #444;
  285. }
  286. }
  287. input[type=checkbox] {
  288. -webkit-font-smoothing: antialiased;
  289. text-rendering: optimizeSpeed;
  290. width: 13px;
  291. height: 13px;
  292. margin: 0;
  293. margin-right: 1px;
  294. display: block;
  295. float: left;
  296. position: relative;
  297. cursor:pointer;
  298. top:1px;
  299. &:after {
  300. content:"";
  301. vertical-align: middle;
  302. text-align: center;
  303. line-height: 13px;
  304. position: absolute;
  305. cursor: pointer;
  306. height: 13px;
  307. width: 13px;
  308. left:0px;
  309. top:0px;
  310. font-size:10px;
  311. box-shadow: inset 0px 1px 1px #000, 0px 1px 0px #444;
  312. background: #202020;
  313. color: #fff;
  314. }
  315. &:checked:after {
  316. content:'\2714';
  317. }
  318. &.indeterminate:after {
  319. content:'-';
  320. }
  321. }
  322. #mainmenu { display : none }
  323. .hide-scroll {
  324. max-width : 100%;
  325. max-height : 100%;
  326. overflow : auto;
  327. position: relative;
  328. }
  329. .hide-modal {
  330. position: fixed;
  331. top:0px;
  332. left:0px;
  333. width: 100%;
  334. height: 100%;
  335. z-index: 999;
  336. background-color: rgba(0,0,0,0.2);
  337. display: table;
  338. &> .content {
  339. display: table-cell;
  340. vertical-align: middle;
  341. text-align: center;
  342. }
  343. }
  344. ::-webkit-scrollbar {
  345. width: 10px;
  346. height: 5px;
  347. right: 5px;
  348. }
  349. ::-webkit-scrollbar-track {
  350. background: #424242;
  351. margin: 5px;
  352. }
  353. ::-webkit-scrollbar-thumb {
  354. background: #686868;
  355. &:hover {
  356. background: #7b7b7b;
  357. }
  358. }
  359. ::-webkit-scrollbar-corner {
  360. visibility: hidden;
  361. }
  362. .checkbox-wrapper {
  363. display:inline-block;
  364. }
  365. .hide-loading {
  366. width : 16px;
  367. height : 16px;
  368. display : inline-block;
  369. background : url('res/icons/throbber.gif');
  370. }
  371. .hide-scene-container {
  372. width:100%;
  373. height:100%;
  374. position:relative;
  375. > .error-message {
  376. background-color: #ff5555;
  377. box-shadow: 1px -1px 3px rgba(0,0,0,0.5);
  378. color: black;
  379. position: absolute;
  380. z-index: 777;
  381. bottom: 0px;
  382. left: 0px;
  383. right: 0px;
  384. padding-top: 1em;
  385. padding-bottom: 1em;
  386. text-align: center;
  387. max-height: 50%;
  388. overflow-y: auto;
  389. font-weight: bold;
  390. font-family: var(--default-font);
  391. }
  392. }
  393. .hide-scene {
  394. position:absolute;
  395. cursor: default;
  396. }
  397. .hide-scene-layer {
  398. width:auto;
  399. position: absolute;
  400. z-index: @default-layer;
  401. max-height: 100%;
  402. }
  403. .scene-partition > .props-column {
  404. .hide-toolbar {
  405. padding-bottom: 4px;
  406. }
  407. }
  408. .scene-partition.reduced-columns {
  409. .hide-scenetree {
  410. max-height: 40%;
  411. }
  412. .tree-column {
  413. min-width: 322px;
  414. max-width: 1402px;
  415. }
  416. .props-column {
  417. max-height: 60%;
  418. padding-bottom: 36px;
  419. }
  420. }
  421. .tree-column {
  422. max-width: 1002px;
  423. }
  424. .splitter {
  425. position : relative;
  426. z-index: @splitter-layer;
  427. background: #000000;
  428. opacity: .001;
  429. transition: opacity 200ms ease;
  430. &:hover, &.dragging {
  431. background : #444444;
  432. opacity : 1;
  433. }
  434. &.vertical {
  435. width : 100%;
  436. height : 5px;
  437. .drag-handle {
  438. width : 100%;
  439. height : 15px;
  440. position : absolute;
  441. top : -5px;
  442. cursor : ns-resize;
  443. }
  444. }
  445. &.horizontal {
  446. width : 5px;
  447. height : 100%;
  448. .drag-handle {
  449. width : 15px;
  450. height : 100%;
  451. position : absolute;
  452. left : -5px;
  453. cursor : ew-resize;
  454. }
  455. }
  456. }
  457. .detached {
  458. .layout-controls:not(& .layout-controls) {
  459. display : none;
  460. }
  461. &.detachable-panel {
  462. position: fixed;
  463. bottom : 20px;
  464. left: 20%;
  465. right: 620px;
  466. z-index: @popup-layer;
  467. .splitter {
  468. z-index : @popup-layer + 10;
  469. position : absolute;
  470. &.handle-right {
  471. right : -5px;
  472. }
  473. &.handle-left {
  474. left : -5px;
  475. }
  476. &.handle-top {
  477. height : 15px;
  478. top : -15px;
  479. .drag-handle {
  480. cursor : move;
  481. top : 0px;
  482. }
  483. }
  484. &.handle-bottom {
  485. bottom : -5px;
  486. }
  487. }
  488. }
  489. }
  490. .custom-editor {
  491. position: absolute;
  492. top: 15px;
  493. right: 15px;
  494. background-color: #222222;
  495. border: 1px solid #444;
  496. padding: 10px;
  497. h1,h2,h3 {
  498. margin-top: 0;
  499. }
  500. }
  501. .hide-scenetree {
  502. flex: 1;
  503. background-color : #111;
  504. border : 1px solid #444;
  505. max-width: 1000px;
  506. overflow-y: auto;
  507. min-height : 350px;
  508. box-sizing: border-box;
  509. margin-bottom: 1px;
  510. border-radius: 3px;
  511. }
  512. @tileselect-cursor-border: 1px;
  513. .hide-range {
  514. display : inline-block;
  515. input[type=range] {
  516. display : inline-block;
  517. width: 140px;
  518. }
  519. input[type=range].small {
  520. width: 123px;
  521. }
  522. input[type=text] {
  523. display : inline-block;
  524. width: 44px;
  525. padding-left:2px;
  526. margin-left:3px;
  527. border-color: transparent;
  528. }
  529. input[type=text]:hover, input[type=text]:active {
  530. border-color: #444;
  531. }
  532. }
  533. .heaps-scene {
  534. flex: 1;
  535. }
  536. .flex {
  537. width:100%;
  538. height:100%;
  539. display:flex;
  540. //flex-grow : 100;
  541. }
  542. .flex-elt {
  543. flex: 1;
  544. display: flex;
  545. }
  546. .flex.vertical {
  547. flex-direction: column;
  548. }
  549. .scene-partition .hide-toolbar .button {
  550. min-width : 16px !important;
  551. height : 16px !important;
  552. font-size: 12px !important;
  553. }
  554. .scene-partition .show-cols-btn {
  555. &:extend(.hide-toolbar .button);
  556. &:extend(.scene-partition .hide-toolbar .button);
  557. position: absolute;
  558. margin-top: 2px;
  559. right: 0px;
  560. &:hover {
  561. &:extend(.hide-toolbar .button:hover);
  562. }
  563. &:active {
  564. &:extend(.hide-toolbar .button:active);
  565. }
  566. }
  567. .hide-toolbar {
  568. flex: none;
  569. padding-top: 2px;
  570. padding-bottom: 2px;
  571. background-color : rgb(34,34,34);
  572. display: inline-flex;
  573. .layout-btn {
  574. position: absolute;
  575. right: 26px;
  576. }
  577. .close-btn {
  578. position: absolute;
  579. right: 0px;
  580. }
  581. .v-separator {
  582. border-left: 1px solid #444;
  583. margin: 2px;
  584. }
  585. .toolbar-label, .menu {
  586. display: inline-block;
  587. min-width : 20px;
  588. padding : 2px;
  589. text-align: center;
  590. text-shadow: 1px 2px 2px black;
  591. >.icon {
  592. vertical-align: middle;
  593. margin-bottom: 2px;
  594. }
  595. }
  596. .menu {
  597. user-select:none;
  598. cursor : pointer;
  599. background : #444;
  600. padding-left: 5px;
  601. padding-right: 5px;
  602. }
  603. .select {
  604. padding : 2px;
  605. padding-top: 4px;
  606. margin-right : 5px;
  607. display : inline-block;
  608. .icon {
  609. font-size: 16px;
  610. vertical-align: top;
  611. }
  612. >select {
  613. margin-left : 5px;
  614. min-width : 100px;
  615. }
  616. }
  617. .button, .toggle {
  618. .button();
  619. margin-left: 1px;
  620. margin-right: 1px;
  621. }
  622. }
  623. .hide-toolbar2 {
  624. display: flex;
  625. align-items: center;
  626. margin-top: 2px;
  627. margin-bottom: 2px;
  628. column-gap: 4px;
  629. }
  630. .tb-group {
  631. display: inline-flex;
  632. &.small > * {
  633. height: 18px;
  634. min-width: 18px;
  635. .icon {
  636. font-size: 10px;
  637. }
  638. }
  639. &.big > * {
  640. height: 30px;
  641. min-width: 30px;
  642. .icon {
  643. font-size: 16px;
  644. }
  645. }
  646. &> * {
  647. display:inline-flex;
  648. align-items: center;
  649. justify-content: center;
  650. border: 1px solid @color-border;
  651. border-right-width: 0px;
  652. height: 26px;
  653. min-width: 26px;
  654. background: @color-tool-bg;
  655. box-shadow: 1px 1px 1px rgba(.0,.0,.0,.75);
  656. font-size: 12px;
  657. color: @color-text;
  658. .icon {
  659. font-size: 14px;
  660. &:before {
  661. text-shadow: 1px 1px 1px rgba(0,0,0,0.45);
  662. }
  663. }
  664. .label {
  665. font-family : Inter, serif;
  666. display: inline-block;
  667. margin-left: 6px;
  668. margin-right: 6px;
  669. user-select: none;
  670. }
  671. &:first-child {
  672. border-top-left-radius: 4px;
  673. border-bottom-left-radius: 4px;
  674. }
  675. &:last-child {
  676. border-right-width: 1px;
  677. border-top-right-radius: 4px;
  678. border-bottom-right-radius: 4px;
  679. }
  680. &.button2.transparent {
  681. opacity: 0.5;
  682. }
  683. &.button2:hover {
  684. border-color: @color-border-hover;
  685. background: @color-tool-bg-hover;
  686. opacity: 1.0;
  687. }
  688. &.button2:active, &.button2[checked], &.menu:active {
  689. background: @color-highlight-gray;
  690. opacity: 1.0;
  691. }
  692. &.menu {
  693. background: @color-menu-bg;
  694. min-width: 2px;
  695. &:hover {
  696. background: @color-menu-bg-highlight;
  697. }
  698. }
  699. &.menu:after {
  700. font-family: FontAwesome;
  701. content: "\f107";
  702. vertical-align: middle;
  703. margin-left: 2px;
  704. margin-right: 2px;
  705. }
  706. &.select {
  707. @select-width: 250px;
  708. >.icon {
  709. padding-left: 3px;
  710. }
  711. .header {
  712. display: inline-block;
  713. background-color: @color-menu-bg;
  714. border-radius: 2px;
  715. min-width: @select-width;
  716. padding: 2px;
  717. margin: 5px;
  718. cursor: pointer;
  719. .label {
  720. min-width: @select-width - 30px;
  721. }
  722. }
  723. .dropdown {
  724. position: absolute;
  725. top: 30px;
  726. left: 20px;
  727. }
  728. }
  729. }
  730. }
  731. .button() {
  732. display: inline-flex;
  733. align-items: center;
  734. justify-content: center;
  735. user-select:none;
  736. border: 1px solid rgb(90,90,90);
  737. min-width : 20px;
  738. min-height : 20px;
  739. padding : 2px;
  740. text-align: center;
  741. border-radius: 1px;
  742. text-shadow: 1px 2px 2px black;
  743. background: -webkit-linear-gradient(top, rgb(90,90,90), rgb(50,50,50));
  744. cursor : pointer;
  745. font-size: 16px;
  746. vertical-align: middle;
  747. &:hover {
  748. color : white;
  749. border-color : white;
  750. background-color : #666;
  751. }
  752. label {
  753. font-size: 12px;
  754. margin-left: 6px;
  755. margin-right: 6px;
  756. text-shadow: none;
  757. }
  758. label.locked {
  759. color: #000;
  760. font-style: italic;
  761. }
  762. &.toggled {
  763. color : #ddd;
  764. background : #777;
  765. padding-top: 2px;
  766. padding-bottom: 1px;
  767. text-shadow: none;
  768. border-top-width: 2px;
  769. border-top-color: #444;
  770. &:hover {
  771. border-top-width: 1px;
  772. padding-top: 3px;
  773. border-top-color : white;
  774. }
  775. }
  776. }
  777. .hide-button, .hide-toggle {
  778. .button();
  779. }
  780. .link-container {
  781. margin-top: 4px;
  782. display: flex;
  783. flex-direction: column;
  784. justify-content: space-around;
  785. .link {
  786. flex: 1 0;
  787. align-self: center;
  788. width: 33%;
  789. margin-right: 33%;
  790. height: 100%;
  791. border-right: solid 1px gray;
  792. }
  793. .link-up {
  794. margin-top: 4px;
  795. margin-bottom: 2px;
  796. border-top: solid 1px gray;
  797. }
  798. .link-down {
  799. margin-top: 2px;
  800. margin-bottom: 4px;
  801. border-bottom: solid 1px gray;
  802. }
  803. .hide-button {
  804. min-width: 12px;
  805. min-height: 12px;
  806. width: 12px;
  807. height: 12px;
  808. font-size: 9px;
  809. }
  810. }
  811. .hide-button.change-button {
  812. font-size: 12px;
  813. min-height: 13px;
  814. min-width: 13px;
  815. height: 13px;
  816. width: 13px;
  817. }
  818. .button:active {
  819. padding-top: 3px;
  820. padding-bottom: 1px;
  821. }
  822. .hide-list {
  823. width : 100%;
  824. min-height : 200px;
  825. background-color : #111;
  826. border : 1px solid #444;
  827. overflow : auto;
  828. }
  829. .hide-block {
  830. padding : 5px;
  831. flex-grow: initial;
  832. }
  833. .hide-tabs {
  834. flex : 0 0 320px;
  835. position: relative;
  836. height: 100%;
  837. &.masked {
  838. & > * {
  839. display : none !important;
  840. }
  841. flex : none;
  842. position: absolute;
  843. height : 20px;
  844. width : 20px;
  845. right : 0px;
  846. >.maskToggle:before {
  847. content : "«";
  848. }
  849. }
  850. >.maskToggle {
  851. &:before {
  852. content : "»";
  853. }
  854. display : block !important;
  855. position : absolute;
  856. margin-top : -2px;
  857. right : 5px;
  858. color : #aaa;
  859. font-size: 24px;
  860. &:hover {
  861. color : white;
  862. }
  863. }
  864. .tabs-header {
  865. background-color : #111;
  866. padding : 2px;
  867. padding-bottom : 0px;
  868. &>div {
  869. cursor : pointer;
  870. display : inline-block;
  871. color: #888;
  872. background-color : #151515;
  873. padding : 3px 8px;
  874. border : 1px solid #444;
  875. margin-left : -1px;
  876. border-top-right-radius: 5px;
  877. user-select: none;
  878. &.active {
  879. background-color : #444;
  880. color : #bbb;
  881. border-bottom-color : #222;
  882. border-top-right-radius: 0px;
  883. }
  884. &.active:hover {
  885. background-color : #333;
  886. }
  887. &:hover {
  888. background-color : #282828;
  889. }
  890. &.hidden {
  891. display: none;
  892. }
  893. }
  894. }
  895. .tab {
  896. max-height: 100%;
  897. width: 100%;
  898. display: flex;
  899. flex-direction: column;
  900. position: absolute;
  901. &.expand {
  902. width: 100%;
  903. height: 100%;
  904. }
  905. }
  906. }
  907. .hide-tabs.tabs-bottom {
  908. >.tabs-header {
  909. width:100%;
  910. position: absolute;
  911. bottom : 0px;
  912. padding-top : 0px;
  913. padding-bottom : 5px;
  914. z-index: @header-layer;
  915. &>div {
  916. border-top : none;
  917. border-top-right-radius: 0;
  918. border-bottom-right-radius: 5px;
  919. &.active {
  920. border-radius: 0px;
  921. }
  922. }
  923. }
  924. }
  925. .search-box {
  926. position : fixed;
  927. display : flex;
  928. align-items: center;
  929. justify-content: center;
  930. top : 45px;
  931. right : 20px;
  932. z-index: @popup-layer;
  933. background-color : #262626;
  934. border : 1px solid #555;
  935. border-radius : 2px;
  936. padding : 5px 5px 5px 5px;
  937. color : #acacac;
  938. .btn {
  939. color: #acacac;
  940. cursor: pointer;
  941. margin: 0 5px 0 5px;
  942. font-size: 1.2em;
  943. &:hover {
  944. color: #dfdfdf;
  945. }
  946. }
  947. .buttons {
  948. margin-right: 10px;
  949. }
  950. .search-type {
  951. margin-left: 30px;
  952. }
  953. #results {
  954. width: 80px;
  955. margin: 0;
  956. margin-left: 5px;
  957. padding: 0;
  958. }
  959. .input-col {
  960. // float: left;
  961. text-align: center;
  962. input {
  963. display: block;
  964. width : 220px;
  965. background-color : #2e2e2e;
  966. }
  967. i {
  968. margin-top: 2px;
  969. }
  970. }
  971. i {
  972. cursor : pointer;
  973. margin-left : 5px;
  974. display : inline-block;
  975. font-size : 18px;
  976. color : #888;
  977. }
  978. i:hover {
  979. color : #EEE;
  980. }
  981. i.hidden {
  982. display: none;
  983. }
  984. }
  985. .tree > .search-box {
  986. position: sticky;
  987. float : right;
  988. top : 5px;
  989. right : 5px;
  990. width : 130px;
  991. input {
  992. width : 100px;
  993. }
  994. }
  995. /* Properties */
  996. .props-column {
  997. height : 100%;
  998. background-color: #111;
  999. width: 320px;
  1000. .hide-toolbar {
  1001. width: 100%;
  1002. vertical-align: middle;
  1003. }
  1004. }
  1005. .hide-properties {
  1006. //flex : 0 0 300px;
  1007. padding:10px;
  1008. overflow:auto;
  1009. padding-bottom:80px;
  1010. >h1.prefab-name {
  1011. text-align: left;
  1012. font-size: 10px;
  1013. margin-bottom: 10px;
  1014. }
  1015. .section {
  1016. margin-bottom : 10px;
  1017. >h1 {
  1018. font-size:12px;
  1019. margin: 0px;
  1020. cursor:pointer;
  1021. user-select:none;
  1022. width:100%;
  1023. padding : 2px;
  1024. padding-bottom: 0px;
  1025. margin-bottom: 2px;
  1026. background-color : #333;
  1027. &:hover {
  1028. background-color : #555;
  1029. }
  1030. &:before {
  1031. content:"\25ba ";
  1032. }
  1033. }
  1034. }
  1035. .section.open > h1:before {
  1036. content:"\25bc ";
  1037. }
  1038. .flex > input {
  1039. flex: 1 1;
  1040. min-width: 0;
  1041. }
  1042. dl {
  1043. overflow-x:hidden;
  1044. margin:0px;
  1045. }
  1046. dd, dt {
  1047. vertical-align:middle;
  1048. display:inline-block;
  1049. text-wrap: wrap;
  1050. word-break: break-word;
  1051. margin-top:4px;
  1052. }
  1053. dt {
  1054. width: calc(80px - var(--level) * 2%);
  1055. text-align:right;
  1056. font-size:11px;
  1057. color:#aaa;
  1058. user-select:none;
  1059. text-transform: capitalize;
  1060. cursor:pointer;
  1061. font-weight: normal;
  1062. }
  1063. .override > dt {
  1064. font-weight: bold;
  1065. }
  1066. .override > dt::before {
  1067. display: inline-block;
  1068. background-color: #fd002f;
  1069. width:5px;
  1070. height:12px;
  1071. content: " ";
  1072. margin-right: 5px;
  1073. }
  1074. input {
  1075. width:190px;
  1076. }
  1077. input.small {
  1078. width:170px;
  1079. }
  1080. input[type=number].small {
  1081. width:35px;
  1082. }
  1083. input[type=checkbox] {
  1084. width:13px;
  1085. }
  1086. .warning {
  1087. color: red;
  1088. }
  1089. dt {
  1090. input[type=button] {
  1091. width: 100%;
  1092. text-align: right;
  1093. background: none;
  1094. border: none;
  1095. zoom: 1;
  1096. font-size: 11px;
  1097. }
  1098. }
  1099. select {
  1100. width:197px;
  1101. }
  1102. dd {
  1103. position:relative;
  1104. width: calc(200px - var(--level) * 2%);
  1105. margin-left:10px;
  1106. }
  1107. .texture-preview {
  1108. pointer-events: none;
  1109. display:inline-block;
  1110. width : 15px;
  1111. height: 15px;
  1112. position : absolute;
  1113. margin-left : -17px;
  1114. margin-top : 2px;
  1115. }
  1116. dl dl {
  1117. dt {
  1118. width : 50px;
  1119. }
  1120. dd {
  1121. width : 140px;
  1122. }
  1123. input[type=range] {
  1124. width : 90px;
  1125. }
  1126. .hide-range input[type=text] {
  1127. width : 30px;
  1128. }
  1129. }
  1130. .group {
  1131. --level: 0;
  1132. width: calc(100% - var(--level) * 5%);
  1133. margin: 0 auto;
  1134. margin-top: 5px;
  1135. >.title {
  1136. @color: calc(25 + (var(--level) * 3));
  1137. background-color : rgb(@color, @color, @color);
  1138. text-align : center;
  1139. cursor:pointer;
  1140. user-select:none;
  1141. padding : 1px;
  1142. position: relative;
  1143. input[type=button] {
  1144. border: none;
  1145. position : absolute;
  1146. top : 0px;
  1147. right : 0px;
  1148. width : auto;
  1149. padding : 1px 5px;
  1150. background-color: rgb(40,40,40);
  1151. &:hover {
  1152. background-color: rgb(70,70,70);
  1153. }
  1154. }
  1155. >.checkbox-wrapper {
  1156. position: absolute;
  1157. left: 5px;
  1158. }
  1159. }
  1160. >.content {
  1161. margin-bottom : 5px;
  1162. .array {
  1163. min-height: 5px;
  1164. overflow-y: scroll;
  1165. overflow-x: hidden;
  1166. background: @color-menu-bg-highlight;
  1167. max-height: 150px;
  1168. padding: 3px;
  1169. margin: 5px;
  1170. margin-bottom: 0px;
  1171. border-radius: 3px;
  1172. &.disabled {
  1173. filter: brightness(50%);
  1174. * , ::after {
  1175. cursor: not-allowed !important;
  1176. }
  1177. }
  1178. .line {
  1179. display: flex;
  1180. align-items: center;
  1181. margin-top: 1px;
  1182. width: 100%;
  1183. padding: 3px;
  1184. border-radius: 3px;
  1185. background: @color-tool-bg;
  1186. .inclusion {
  1187. display: flex;
  1188. justify-content: center;
  1189. width: 10px;
  1190. margin: 0 5px 0 5px;
  1191. padding: 2px 6px 2px 6px;
  1192. background: red;
  1193. color: black;
  1194. font-weight: 900;
  1195. border-radius: 5px;
  1196. &:hover {
  1197. cursor: pointer;
  1198. filter: opacity(80%);
  1199. }
  1200. }
  1201. input {
  1202. margin-right: 5px;
  1203. }
  1204. input:not([type=checkbox]){
  1205. flex: 1;
  1206. }
  1207. .remove {
  1208. margin: 0 5px 0 5px;
  1209. padding: 0 5px 0 5px;
  1210. cursor: pointer;
  1211. &:hover {
  1212. filter: brightness(80%);
  1213. }
  1214. }
  1215. }
  1216. }
  1217. }
  1218. }
  1219. .btn-list {
  1220. * {
  1221. margin-bottom: 5px;
  1222. }
  1223. }
  1224. .error {
  1225. color: red;
  1226. }
  1227. .vector {
  1228. display: inline-flex;
  1229. flex-direction: row;
  1230. flex: 1;
  1231. min-width: 0.9;
  1232. input {
  1233. min-width: 0;
  1234. }
  1235. }
  1236. .checkboxs {
  1237. * {
  1238. margin-right: 5px;
  1239. }
  1240. }
  1241. .btn-cdb-large {
  1242. width : 16px;
  1243. font-size : 14px;
  1244. margin : 3px;
  1245. opacity : 0.5;
  1246. }
  1247. .cdb-large {
  1248. .cdb-obj-editor {
  1249. max-height: 800px;
  1250. overflow: auto;
  1251. padding: 2px;
  1252. background: #111;
  1253. overflow-y: auto;
  1254. }
  1255. .btn-cdb-large {
  1256. opacity: 1;
  1257. }
  1258. }
  1259. #up-axis {
  1260. display:flex;
  1261. input {
  1262. width:100%
  1263. }
  1264. }
  1265. .select {
  1266. >.icon {
  1267. padding-left: 3px;
  1268. }
  1269. .header {
  1270. display: inline-block;
  1271. background-color: @color-menu-bg;
  1272. border-radius: 2px;
  1273. border: solid 1px #444;
  1274. padding: 2px;
  1275. cursor: pointer;
  1276. width: 192px;
  1277. >span {
  1278. padding-left: 5px;
  1279. width: 90% !important;
  1280. }
  1281. }
  1282. .dropdown {
  1283. position: absolute;
  1284. top: 30px;
  1285. left: 200px;
  1286. }
  1287. }
  1288. }
  1289. /* Image Viewer */
  1290. @imgPanelWidht : 320px;
  1291. .image-properties {
  1292. height : 100%;
  1293. background-color: #111;
  1294. width: @imgPanelWidht;
  1295. .title {
  1296. text-align: center;
  1297. font-size: 12px;
  1298. margin: 4px;
  1299. background-color : rgb(30,30,30);
  1300. }
  1301. .preview-btns {
  1302. display:flex;
  1303. flex-direction: row;
  1304. input[type="button"] {
  1305. flex: 1;
  1306. margin: 5px 5px 5px 5px;
  1307. }
  1308. }
  1309. .reset-compression {
  1310. outline: 2px solid #fd5151;
  1311. width: 95%;
  1312. margin-left: 2.5%;
  1313. }
  1314. .compression-infos {
  1315. width: 100%;
  1316. margin-top: 10px;
  1317. margin-bottom: 10px;
  1318. p {
  1319. margin: 0px 0px 0px 5px;
  1320. font-weight: bold;
  1321. text-align: center;
  1322. }
  1323. }
  1324. .field {
  1325. margin: 5px 5px 0px 50px;
  1326. display: flex;
  1327. flex-direction: row;
  1328. &.alpha {
  1329. margin: 5px 5px 5px 80px;
  1330. label {
  1331. flex: 1;
  1332. flex-shrink: 0;
  1333. white-space: nowrap;
  1334. }
  1335. input[type="checkbox"]{
  1336. margin-right: 5px;
  1337. }
  1338. input[type="number"]{
  1339. flex: 1;
  1340. &:disabled {
  1341. pointer-events: none;
  1342. background-color: #111111;
  1343. color: #757575;
  1344. }
  1345. }
  1346. }
  1347. label {
  1348. margin-right: 4px;
  1349. }
  1350. .size {
  1351. width: 50px;
  1352. margin-right: 5px;
  1353. }
  1354. select, input[type="text"] {
  1355. flex-grow: 1;
  1356. }
  1357. }
  1358. }
  1359. .identifiers {
  1360. position: absolute;
  1361. left: 0;
  1362. right: @imgPanelWidht;
  1363. bottom: 50px;
  1364. label {
  1365. position: absolute;
  1366. color: white;
  1367. font-weight: bold;
  1368. font-size: 30px;
  1369. }
  1370. :nth-child(1) {
  1371. left: 20px;
  1372. }
  1373. :nth-child(2) {
  1374. right:20px;
  1375. }
  1376. }
  1377. /* Curve editor */
  1378. @timelineHeight: 20px;
  1379. .hide-curve-editor {
  1380. position: relative;
  1381. background-color: #303030;
  1382. .timeline {
  1383. background: #161616;
  1384. fill: #161616;
  1385. position: relative;
  1386. height: @timelineHeight;
  1387. overflow: hidden;
  1388. .tlgroup .mark {
  1389. height: 100%;
  1390. color: #8e8e8e;
  1391. border-left: 1px solid #8e8e8e;
  1392. vertical-align: middle;
  1393. padding-left: 4px;
  1394. position: absolute;
  1395. line-height: @timelineHeight;
  1396. user-select: none;
  1397. }
  1398. }
  1399. .overlaygroup {
  1400. pointer-events: none;
  1401. }
  1402. text {
  1403. font: 10px sans-serif; fill: #8d8d8d;
  1404. }
  1405. &:focus {
  1406. //background-color: rgba(0, 0, 0, 0.219);
  1407. outline: none;
  1408. }
  1409. .keyPopup {
  1410. padding: 4px;
  1411. padding-bottom: 2px;
  1412. background-color: #151515;
  1413. position: absolute;
  1414. .line {
  1415. margin-bottom: 2px;
  1416. }
  1417. label {
  1418. width: 60px;
  1419. display: inline-block;
  1420. }
  1421. input { width: 80px; }
  1422. }
  1423. svg {
  1424. @selectCol: rgb(255, 255, 255);
  1425. @previewCol: rgb(192, 111, 6);
  1426. @lineCol: rgb(255, 31, 31);
  1427. border-right: 1px solid black;
  1428. line {
  1429. stroke-width: 1px;
  1430. }
  1431. .grid {
  1432. line {
  1433. shape-rendering: crispEdges;
  1434. }
  1435. .hgrid line { stroke: #181818; }
  1436. .hgrid .interline { stroke: #1e1e1e; opacity: 0.2; }
  1437. .vgrid line { stroke: #181818; }
  1438. .vgrid .interline { stroke: #1e1e1e; opacity: 0.2; }
  1439. line.axis {
  1440. stroke: rgb(116, 116, 116);
  1441. shape-rendering: crispEdges;
  1442. }
  1443. text {
  1444. font: 10px sans-serif; fill: #8d8d8d;
  1445. }
  1446. }
  1447. .graph {
  1448. .selection rect {
  1449. fill: @selectCol;
  1450. fill-opacity: 0.1;
  1451. stroke: rgb(255, 255, 255);
  1452. opacity: 0.3;
  1453. mix-blend-mode: screen;
  1454. cursor:move;
  1455. }
  1456. .curve line, path {
  1457. stroke: @lineCol;
  1458. stroke-width: 1px;
  1459. fill: none;
  1460. }
  1461. .vectors {
  1462. line {
  1463. stroke: rgba(207, 207, 207, 0.603);
  1464. }
  1465. line.selected {
  1466. stroke: @selectCol;
  1467. }
  1468. }
  1469. .handles {
  1470. circle, rect {
  1471. fill: rgba(187, 187, 187, 0.644);
  1472. cursor: pointer;
  1473. }
  1474. circle:hover:not(.no-hover), rect:hover {
  1475. fill: #fff;
  1476. stroke: #fff;
  1477. stroke-width: 2px;
  1478. }
  1479. circle.selected, circle:hover.selected, rect.selected, rect:hover.selected {
  1480. fill: @selectCol;
  1481. }
  1482. rect.preview {
  1483. fill: @previewCol;
  1484. }
  1485. }
  1486. }
  1487. .selection-overlay rect {
  1488. mix-blend-mode: multiply;
  1489. fill: #888;
  1490. fill-opacity: 20px;
  1491. stroke: #000;
  1492. opacity: 50%;
  1493. }
  1494. }
  1495. }
  1496. /* FX Editor */
  1497. .fx-script {
  1498. height: 500px;
  1499. width : 500px;
  1500. }
  1501. .fx-scriptParams {
  1502. margin : 10px;
  1503. .slider {
  1504. margin : 10px;
  1505. }
  1506. .checkbox {
  1507. margin : 10px;
  1508. }
  1509. input[type=checkbox] {
  1510. display: inline-block;
  1511. float: none;
  1512. }
  1513. }
  1514. .fx-animpanel {
  1515. @leftPanelWidth: 200px;
  1516. min-height: 120px;
  1517. max-height: 800px;
  1518. position: relative;
  1519. display: flex;
  1520. flex-direction: row;
  1521. .help-button
  1522. {
  1523. position: absolute;
  1524. left: 5px;
  1525. bottom: 5px;
  1526. border-color: #3d3d3d;
  1527. background: #545454;
  1528. border-right-width: 1px;
  1529. border-radius: 4px;
  1530. box-shadow: 1px 1px 1px rgba(.0,.0,.0,.75);
  1531. padding: 5px 8px 5px 8px;
  1532. }
  1533. .left-fx-animpanel
  1534. {
  1535. margin-top: @timelineHeight;
  1536. min-width: @leftPanelWidth;
  1537. max-width: 700px;
  1538. overflow-y: auto;
  1539. overflow-x: hidden;
  1540. }
  1541. .right-fx-animpanel
  1542. {
  1543. overflow: hidden;
  1544. height:100%;
  1545. flex: 1;
  1546. .overview {
  1547. background: #161616;
  1548. fill: #303030;
  1549. position: relative;
  1550. .overview-selection {
  1551. fill: #17ffeb12;
  1552. stroke: #000000;
  1553. stroke-width: 1px;
  1554. pointer-events: all;
  1555. cursor: move;
  1556. }
  1557. }
  1558. }
  1559. .events {
  1560. .event {
  1561. stroke:rgba(255,255,255,1.0);
  1562. fill: rgba(255,255,255,0.25);
  1563. user-select: none;
  1564. }
  1565. .event-move {
  1566. //fill: rgba(255,0,0,0.50);
  1567. fill: none;
  1568. pointer-events: all;
  1569. cursor: move;
  1570. }
  1571. .event-resize {
  1572. //fill: rgba(0,255,0,0.50);
  1573. fill: none;
  1574. pointer-events: all;
  1575. cursor: e-resize;
  1576. }
  1577. .event.subFX {
  1578. fill: #1b3673;
  1579. }
  1580. .event:hover {
  1581. stroke: white;
  1582. }
  1583. .event-key {
  1584. stroke: rgba(255,255,255,1.0);
  1585. stroke-width: 1px;
  1586. fill: black;
  1587. }
  1588. .event-label {
  1589. div {
  1590. width: 100%;
  1591. height: 100%;
  1592. display: flex;
  1593. flex-direction: row-reverse;
  1594. align-items: center;
  1595. .event-label {
  1596. box-sizing: border-box;
  1597. display: block;
  1598. flex-grow: 0;
  1599. border-radius: 3px;
  1600. background-color: rgba(33,33,33,0.75);
  1601. padding: 0px 0.25em;
  1602. border: 1px solid #666;
  1603. font-size: 8pt;
  1604. color: white;
  1605. white-space: nowrap;
  1606. }
  1607. }
  1608. }
  1609. text {
  1610. pointer-events: none;
  1611. font-family: var(--default-font), serif;
  1612. }
  1613. g.selected {
  1614. .event, .event-key {
  1615. stroke: rgba(114, 180, 255, 1.0);
  1616. }
  1617. .event-label span {
  1618. border-color: rgba(114, 180, 255, 1.0);
  1619. }
  1620. }
  1621. }
  1622. .key-event {
  1623. fill: rgba(187, 187, 187, 0.644);
  1624. stroke: #000000;
  1625. stroke-width: 1px;
  1626. cursor: pointer;
  1627. }
  1628. .key-event:hover {
  1629. fill: #ffd967;
  1630. }
  1631. .key-event.selected, .key-event:hover.selected {
  1632. fill: #ffbe33;
  1633. }
  1634. text {
  1635. font: 10px sans-serif; fill: #8d8d8d;
  1636. }
  1637. .overlay-container {
  1638. top: 0;
  1639. position: absolute;
  1640. height: 100%;
  1641. pointer-events: none;
  1642. left: @leftPanelWidth;
  1643. right: 0px;
  1644. .overlay {
  1645. position: absolute;
  1646. top: 0px;
  1647. width: 100%;
  1648. height: 100%;
  1649. overflow: hidden;
  1650. .time-marker {
  1651. position: absolute;
  1652. height: 100%;
  1653. width: 1px;
  1654. background: green;
  1655. }
  1656. .marker {
  1657. position: absolute;
  1658. height: 100%;
  1659. width: 1px;
  1660. background: #907a00;
  1661. }
  1662. .selection {
  1663. position: absolute;
  1664. height: 100%;
  1665. background: #17ffeb12;
  1666. mix-blend-mode: hard-light;
  1667. pointer-events: all;
  1668. cursor: move;
  1669. }
  1670. .selection-left, .selection-right {
  1671. cursor: ew-resize;
  1672. pointer-events: all;
  1673. width: 4px;
  1674. background: #00000036;
  1675. position: absolute;
  1676. height: 100%;
  1677. }
  1678. .selection-left {
  1679. border-right: 1px dashed black;
  1680. }
  1681. .selection-right {
  1682. border-left: 1px dashed black;
  1683. }
  1684. .preview {
  1685. position: absolute;
  1686. height: @timelineHeight;
  1687. background: rgba(255, 255, 255, 0.1);
  1688. opacity: 0.9;
  1689. mix-blend-mode: screen;
  1690. border-left: 1px black;
  1691. border-right: 1px black;
  1692. }
  1693. .preview-left {
  1694. background: rgba(0, 0, 0, 0.3);
  1695. border-right:1px dashed rgb(121, 121, 121);
  1696. position: absolute;
  1697. height: 100%;
  1698. }
  1699. .preview-right {
  1700. background: rgba(0, 0, 0, 0.3);
  1701. border-left:1px dashed rgb(121, 121, 121);
  1702. position: absolute;
  1703. height: 100%;
  1704. }
  1705. }
  1706. }
  1707. .tracks-header {
  1708. position: relative;
  1709. background: #4a4a4a;
  1710. text-align: left;
  1711. white-space: nowrap;
  1712. .name {
  1713. padding: 1px;
  1714. padding-left: 5px;
  1715. padding-right: 5px;
  1716. }
  1717. .abspath {
  1718. position: relative;
  1719. opacity: 0.5;
  1720. }
  1721. :first-child.track-button {
  1722. padding-left: 10px;
  1723. }
  1724. :nth-last-child(1).track-button {
  1725. position:absolute;
  1726. right:5px;
  1727. top:2px;
  1728. }
  1729. :nth-last-child(2).track-button {
  1730. position:absolute;
  1731. right:25px;
  1732. top:2px;
  1733. }
  1734. .track-button {
  1735. padding-left: 2px;
  1736. &:hover {
  1737. color: white;
  1738. }
  1739. }
  1740. &.hidden {
  1741. display: none;
  1742. }
  1743. }
  1744. .track-header {
  1745. position: relative;
  1746. background: #1b1b1b;
  1747. text-align: left;
  1748. &.hidden {
  1749. display: none;
  1750. }
  1751. .name {
  1752. padding: 1px;
  1753. padding-left: 5px;
  1754. padding-right: 5px;
  1755. }
  1756. .abspath {
  1757. position: absolute;
  1758. opacity: 0.5;
  1759. left: 200px;
  1760. }
  1761. :first-child.track-button {
  1762. padding-left: 10px;
  1763. }
  1764. :nth-last-child(1).track-button {
  1765. position:absolute;
  1766. right:5px;
  1767. top:2px;
  1768. }
  1769. :nth-last-child(2).track-button {
  1770. position:absolute;
  1771. right:25px;
  1772. top:2px;
  1773. }
  1774. .track-button {
  1775. padding-left: 2px;
  1776. &:hover {
  1777. color: white;
  1778. }
  1779. &.visibility {
  1780. padding-left:17px;
  1781. }
  1782. &.color-id {
  1783. padding: 0 0 0 0;
  1784. position: absolute;
  1785. left:2px;
  1786. top:2px;
  1787. bottom: 2px;
  1788. width:7px;
  1789. }
  1790. }
  1791. &.hidden {
  1792. display: none;
  1793. }
  1794. }
  1795. .track {
  1796. min-height: 20px;
  1797. display: flex;
  1798. user-select: none;
  1799. .track-prop {
  1800. cursor: pointer;
  1801. text-align: right;
  1802. width: @leftPanelWidth;
  1803. height: 100%;
  1804. label {
  1805. vertical-align: middle;
  1806. padding-right: 4px;
  1807. }
  1808. .track-toggle {
  1809. width: 16px;
  1810. height: 16px;
  1811. display: inline-block;
  1812. text-align: center;
  1813. }
  1814. &:hover {
  1815. background: rgba(0, 0, 0, 0.438);
  1816. }
  1817. }
  1818. &.hidden {
  1819. display: none;
  1820. }
  1821. .curve {
  1822. margin-left: @leftPanelWidth;
  1823. position: relative;
  1824. box-shadow: 0px -1px 0px black inset;
  1825. }
  1826. .curves.hidden {
  1827. display: none;
  1828. }
  1829. }
  1830. }
  1831. /* Poly editor */
  1832. .poly-editor{
  1833. .editModeButton{
  1834. margin: 10px;
  1835. outline: 4px solid #fd5151;
  1836. }
  1837. .editModeEnabled {
  1838. outline: 4px solid #5897fb;
  1839. }
  1840. .description{
  1841. margin: 5px;
  1842. background-color:#303030;
  1843. outline: 4px solid #4a4a4a;
  1844. padding : 2px;
  1845. }
  1846. .point-list {
  1847. input {
  1848. width: 70px;
  1849. }
  1850. .deletePoint {
  1851. width: 20px;
  1852. margin-left: 8px;
  1853. }
  1854. }
  1855. .poly-vector2{
  1856. display: block;
  1857. padding : 5px;
  1858. }
  1859. input[type=button] {
  1860. margin-top: 5px;
  1861. }
  1862. }
  1863. // Array of string
  1864. .string-array {
  1865. .array-element {
  1866. display: block;
  1867. padding: 5px;
  1868. }
  1869. .string-field {
  1870. width: 120px;
  1871. }
  1872. .delete-button {
  1873. width: 20px;
  1874. margin-left: 8px;
  1875. }
  1876. }
  1877. // Default Edit Button
  1878. .editModeButton{
  1879. margin: 10px;
  1880. outline: 4px solid #fd5151;
  1881. }
  1882. .editModeEnabled {
  1883. outline: 4px solid #5897fb;
  1884. }
  1885. /* Mesh Generator */
  1886. .meshGenerator-thumbnail {
  1887. display: inline-block;
  1888. margin: 5px;
  1889. @size: 75px;
  1890. width: @size;
  1891. height: @size;
  1892. background-size: @size @size;
  1893. outline: 2px solid #4a4a4a;
  1894. background-size: contain;
  1895. }
  1896. /* Terrain editor */
  1897. .terrain-brushModeDescription{
  1898. margin: 5px;
  1899. background-color: black;
  1900. outline: 4px solid #4a4a4a;
  1901. padding : 2px;
  1902. }
  1903. .terrain-brushModeContainer{
  1904. padding : 1px;
  1905. }
  1906. .terrain-brushMode{
  1907. padding : 5px;
  1908. display: inline-block;
  1909. .selected {
  1910. outline: 4px solid #5897fb;
  1911. }
  1912. }
  1913. .terrain-brushModeIcon {
  1914. @size: 40px;
  1915. width: @size;
  1916. height: @size;
  1917. background-size: @size @size;
  1918. background-color: #AAAAAA;
  1919. outline: 4px solid #4a4a4a;
  1920. background-size: contain;
  1921. }
  1922. .terrain-brushes {
  1923. .brush {
  1924. display: inline-block;
  1925. padding : 6px;
  1926. position: relative;
  1927. }
  1928. .brush-preview {
  1929. @size: 40px;
  1930. background-size: @size @size;
  1931. width: @size;
  1932. height: @size;
  1933. outline: 4px solid #4a4a4a;
  1934. }
  1935. .brush-preview-selected {
  1936. @size: 45px;
  1937. background-size: @size @size;
  1938. width: @size;
  1939. height: @size;
  1940. outline: 4px solid #5897fb;
  1941. }
  1942. .tooltiptext {
  1943. visibility: hidden;
  1944. background-color: black;
  1945. color: #fff;
  1946. text-align: left;
  1947. border-radius: 6px;
  1948. position: absolute;
  1949. z-index: @tooltip-layer;
  1950. padding: 4px;
  1951. width: 90px;
  1952. }
  1953. .brush:hover .tooltiptext {
  1954. visibility: visible;
  1955. }
  1956. }
  1957. .terrain-surfaces {
  1958. .surface {
  1959. display: inline-block;
  1960. padding : 6px;
  1961. position: relative;
  1962. }
  1963. .surface-preview {
  1964. @size: 85px;
  1965. background-size: @size @size;
  1966. width: @size;
  1967. height: @size;
  1968. outline: 4px solid #4a4a4a;
  1969. }
  1970. .surface-preview-selected {
  1971. @size: 85px;
  1972. background-size: @size @size;
  1973. width: @size;
  1974. height: @size;
  1975. outline: 4px solid #5897fb;
  1976. }
  1977. .tooltiptext {
  1978. visibility: hidden;
  1979. background-color: black;
  1980. color: #fff;
  1981. text-align: left;
  1982. border-radius: 6px;
  1983. position: absolute;
  1984. z-index: @tooltip-layer;
  1985. padding: 4px;
  1986. }
  1987. .surface:hover .tooltiptext {
  1988. visibility: visible;
  1989. }
  1990. }
  1991. /* Shader Editor */
  1992. .shader-editor {
  1993. display: flex;
  1994. flex-direction: row;
  1995. /** {
  1996. font-family: "Inter";
  1997. }*/
  1998. #preview {
  1999. z-index: 3;
  2000. position: absolute;
  2001. background-color: #111;
  2002. border: 1px solid #444;
  2003. right: 16px;
  2004. bottom: 16px;
  2005. .hide-toolbar2 {
  2006. position: absolute;
  2007. right: 8px;
  2008. top: 8px;
  2009. }
  2010. display: flex;
  2011. align-items: center;
  2012. justify-items: center;
  2013. .scene-container {
  2014. width: 100%;
  2015. height: 100%;
  2016. }
  2017. .resize-handle {
  2018. --size: 5px;
  2019. position: absolute;
  2020. background-color: transparent;
  2021. &:hover {
  2022. background-color: rgba(114, 180, 255, 0.5);
  2023. }
  2024. &.up {
  2025. left: 0px;
  2026. right: 0px;
  2027. top: 0px;
  2028. height: var(--size);
  2029. &:hover {
  2030. cursor: n-resize;
  2031. }
  2032. }
  2033. &.up-left {
  2034. left: 0;
  2035. top: 0;
  2036. height: calc(var(--size) * 2);
  2037. width: calc(var(--size) * 2);
  2038. &:hover {
  2039. cursor: nw-resize;
  2040. }
  2041. }
  2042. &.left {
  2043. left: 0px;
  2044. top: 0px;
  2045. bottom: 0px;
  2046. width: var(--size);
  2047. &:hover {
  2048. cursor: e-resize;
  2049. }
  2050. }
  2051. }
  2052. }
  2053. .flex.vertical {
  2054. position:relative;
  2055. }
  2056. #rightPanel {
  2057. box-sizing: border-box;
  2058. display: flex;
  2059. flex-direction: column;
  2060. min-width: 270px;
  2061. padding-top: 10px;
  2062. border-left: 1px solid #444444;
  2063. background: #222222;
  2064. height: 100%;
  2065. user-select: none;
  2066. span { // title
  2067. margin-left: 5px;
  2068. font-size: 15px;
  2069. font-weight: bold;
  2070. }
  2071. .flexible {
  2072. overflow: auto;
  2073. min-height: 0;
  2074. to-collapse {
  2075. display: contents;
  2076. }
  2077. &.collapsed {
  2078. flex-grow: 0;
  2079. overflow: visible;
  2080. to-collapse {
  2081. display: none;
  2082. }
  2083. h1 .ico {
  2084. transform: rotate(-90deg);
  2085. }
  2086. min-height: unset;
  2087. }
  2088. }
  2089. .hide-block {
  2090. flex: 1;
  2091. display: flex;
  2092. flex-direction: column;
  2093. .parameters, .variables {
  2094. fancy-item-header {
  2095. .type {
  2096. font-style: italic;
  2097. }
  2098. }
  2099. .content .values {
  2100. display: flex;
  2101. flex-direction: column;
  2102. }
  2103. }
  2104. }
  2105. .options-block {
  2106. flex: 0;
  2107. & > * {
  2108. display: block;
  2109. margin-bottom: 10px;
  2110. width: 100%;
  2111. text-align: center;
  2112. box-sizing: border-box;
  2113. }
  2114. & > div {
  2115. border: 1px solid #444;
  2116. padding: 2px;
  2117. }
  2118. }
  2119. }
  2120. }
  2121. /* Texture Editor */
  2122. .texture-editor {
  2123. display: flex;
  2124. flex-direction: row;
  2125. .flex.vertical {
  2126. position:relative;
  2127. }
  2128. #right-panel {
  2129. flex: 0;
  2130. display: flex;
  2131. flex-direction: column;
  2132. min-width: 270px;
  2133. width: 280px;
  2134. border-left: 1px solid #444444;
  2135. background: #222222;
  2136. height: 100%;
  2137. user-select: none;
  2138. .group {
  2139. .header {
  2140. display: flex;
  2141. background-color: #444444;
  2142. padding: 5px;
  2143. &:hover {
  2144. background-color: #666666;
  2145. }
  2146. .title {
  2147. text-transform: uppercase;
  2148. font-weight: bold;
  2149. margin-left: 7px;
  2150. font-family: var(--default-font), serif;
  2151. font-size: 9pt;
  2152. color: #aaa;
  2153. }
  2154. }
  2155. .content {
  2156. display: block;
  2157. padding: 10px 20px 10px 20px;
  2158. .title {
  2159. font-weight: bold;
  2160. font-family: var(--default-font), serif;
  2161. font-size: 9pt;
  2162. color: #aaa;
  2163. margin: 0 0 5px 0;
  2164. }
  2165. .fields {
  2166. display: grid;
  2167. grid-template-columns: auto auto;
  2168. gap: 5px 5px;
  2169. padding-bottom: 10px;
  2170. border-bottom: 1px solid;
  2171. margin-bottom: 10px;
  2172. border-color: #373737;
  2173. &.grid-3 {
  2174. grid-template-columns: auto auto 2%;
  2175. }
  2176. .reset {
  2177. &:hover {
  2178. color: #ffffff;
  2179. }
  2180. padding-top: 3px;
  2181. }
  2182. }
  2183. }
  2184. }
  2185. }
  2186. #tex-preview {
  2187. z-index: 3;
  2188. position: absolute;
  2189. width: 300px;
  2190. height: 300px;
  2191. background-color: #111;
  2192. border: 1px solid #444;
  2193. right: 35px;
  2194. bottom: 35px;
  2195. .hide-toolbar2 {
  2196. position: absolute;
  2197. right: 8px;
  2198. top: 8px;
  2199. }
  2200. }
  2201. }
  2202. .graph-view {
  2203. outline: none !important;
  2204. position: relative;
  2205. .heaps-scene>.hide-toolbar2 {
  2206. position: absolute;
  2207. top: 10px;
  2208. left: 10px;
  2209. z-index: 999;
  2210. }
  2211. .mini-preview {
  2212. position: absolute;
  2213. top: 0px;
  2214. left: 0px;
  2215. z-index: 0;
  2216. }
  2217. #graph-root {
  2218. position: absolute;
  2219. top: 0px;
  2220. left: 0px;
  2221. z-index: 1;
  2222. }
  2223. #add-menu {
  2224. position: absolute;
  2225. width: 400px;
  2226. box-shadow: 0px 0px 25px -4px black;
  2227. background-color: rgb(34, 34, 34);
  2228. border: 1px solid #444;
  2229. z-index: @default-layer + 10;
  2230. .search-container {
  2231. display: flex;
  2232. .icon {
  2233. width: 16px;
  2234. font-size: 15px;
  2235. text-align: center;
  2236. padding: 7px;
  2237. border: solid #444;
  2238. background: #2d2d2d;
  2239. border-width: 0 1px 1px 0;
  2240. }
  2241. .search-bar {
  2242. flex: 1;
  2243. margin: -1px 11px 0px -1px;
  2244. input {
  2245. width: 100%;
  2246. height: 30px;
  2247. padding-left: 10px;
  2248. outline: none;
  2249. &:focus {
  2250. border: 1px solid #888888;
  2251. }
  2252. }
  2253. }
  2254. }
  2255. #results {
  2256. max-height: 300px;
  2257. overflow-y: auto;
  2258. div {
  2259. padding: 5px;
  2260. border-top: 1px solid #444444;
  2261. cursor: pointer;
  2262. color: #d4d4d4;
  2263. & {
  2264. position: relative;
  2265. }
  2266. &.group {
  2267. background: #474747;
  2268. color: #c0c0c0;
  2269. cursor: default;
  2270. z-index: @default-layer + 5;
  2271. box-shadow: 0px 0px 34px -9px black;
  2272. &:hover {
  2273. background: #474747!important;
  2274. color: #dadada!important;
  2275. box-shadow: none;
  2276. }
  2277. }
  2278. & > span:first-child {
  2279. font-weight: bold;
  2280. padding-left: 10px;
  2281. }
  2282. & > span:last-child {
  2283. font-style: oblique;
  2284. padding-left: 7px;
  2285. }
  2286. &:first-child {
  2287. border-top: 0;
  2288. }
  2289. &:hover, &.selected {
  2290. background: #5eb7bf;
  2291. color: #000000;
  2292. box-shadow: inset 0px 0px 12px -1px black;
  2293. z-index: @default-layer + 15;
  2294. }
  2295. }
  2296. }
  2297. }
  2298. #context-menu {
  2299. position: absolute;
  2300. width: 150px;
  2301. box-shadow: 0px 0px 25px -4px black;
  2302. background-color: rgb(34, 34, 34);
  2303. border: 1px solid #444;
  2304. z-index: @default-layer + 10;
  2305. #options {
  2306. max-height: 300px;
  2307. overflow-y: auto;
  2308. div {
  2309. padding: 5px;
  2310. border-top: 1px solid #444444;
  2311. cursor: pointer;
  2312. color: #d4d4d4;
  2313. & {
  2314. position: relative;
  2315. }
  2316. &.group {
  2317. background: #474747;
  2318. color: #c0c0c0;
  2319. cursor: default;
  2320. z-index: @default-layer + 15;
  2321. box-shadow: 0px 0px 34px -9px black;
  2322. &:hover {
  2323. background: #474747!important;
  2324. color: #dadada!important;
  2325. box-shadow: none;
  2326. }
  2327. }
  2328. & > span:first-child {
  2329. font-weight: bold;
  2330. padding-left: 10px;
  2331. }
  2332. & > span:last-child {
  2333. font-style: oblique;
  2334. padding-left: 7px;
  2335. }
  2336. &:first-child {
  2337. border-top: 0;
  2338. }
  2339. &:hover, &.selected {
  2340. background: #5eb7bf;
  2341. color: #000000;
  2342. box-shadow: inset 0px 0px 12px -1px black!important;
  2343. z-index: @default-layer + 15;
  2344. }
  2345. &.grey-item {
  2346. background: #adadad;
  2347. color: #000000;
  2348. font-weight: bold;
  2349. box-shadow: inset 0px 0px 5px -1px black;
  2350. }
  2351. }
  2352. }
  2353. }
  2354. .heaps-scene {
  2355. outline: none !important;
  2356. svg {
  2357. font-family: var(--default-font);
  2358. foreignObject {
  2359. .container {
  2360. padding: 1px;
  2361. input {
  2362. display: block;
  2363. box-sizing: border-box;
  2364. font-size: 8pt;
  2365. font-family: var(--default-font);
  2366. padding: 0px 2px 0px 2px;
  2367. text-align: right;
  2368. border: none;
  2369. outline: 1px solid #393939;
  2370. width: 100%;
  2371. height: 100%;
  2372. &:hover {
  2373. outline-color: rgba(114, 180, 255, 0.5);
  2374. }
  2375. }
  2376. }
  2377. }
  2378. g {
  2379. &.box {
  2380. pointer-events: all;
  2381. foreignObject {
  2382. input-wrapper {
  2383. width: 100%;
  2384. height: 100%;
  2385. display: flex;
  2386. align-items: center;
  2387. justify-items: center;
  2388. > * {
  2389. flex-grow: 1;
  2390. }
  2391. input {
  2392. width: 100%;
  2393. min-width: 0;
  2394. box-sizing: border-box;
  2395. text-overflow:ellipsis;
  2396. white-space:nowrap;
  2397. overflow:hidden;
  2398. text-align: end;
  2399. direction: rtl;
  2400. font-size: 10pt;
  2401. }
  2402. box-sizing: border-box;
  2403. padding-left: 8px;
  2404. padding-right: 8px;
  2405. }
  2406. container {
  2407. display: flex;
  2408. align-items: center;
  2409. justify-content: center;
  2410. width: 100%;
  2411. height: 100%;
  2412. .play-button {
  2413. background-color: transparent;
  2414. border-width: 0;
  2415. font-family: inherit;
  2416. font-size: inherit;
  2417. font-style: inherit;
  2418. font-weight: inherit;
  2419. line-height: inherit;
  2420. padding: 0;
  2421. color: #888;
  2422. &.active {
  2423. color: #FFF;
  2424. &:hover {
  2425. color: #CCC;
  2426. }
  2427. }
  2428. &:hover {
  2429. color: #AAA;
  2430. }
  2431. }
  2432. }
  2433. }
  2434. &.comment {
  2435. .head-box {
  2436. fill: rgba(80,80,80,0.5);
  2437. //stroke-width: 3;
  2438. pointer-events: all;
  2439. }
  2440. .resize {
  2441. pointer-events: all;
  2442. }
  2443. .outline {
  2444. stroke: rgba(80,80,80,0.5);
  2445. stroke-width: 3;
  2446. }
  2447. foreignObject {
  2448. pointer-events: all;
  2449. }
  2450. pointer-events: none;
  2451. }
  2452. &.selected {
  2453. .outline {
  2454. stroke: #668fff;
  2455. }
  2456. }
  2457. }
  2458. }
  2459. .outline {
  2460. fill: none;
  2461. }
  2462. .background {
  2463. fill: #393939;
  2464. }
  2465. .separator {
  2466. stroke: #272727;
  2467. stroke-width: 1px;
  2468. }
  2469. .resize {
  2470. fill: rgba(0, 0, 0, 0.0);
  2471. stroke: none;
  2472. }
  2473. .comment-title {
  2474. display: inline-block;
  2475. max-width: calc(100% - 30px);
  2476. min-width: 20px;
  2477. height: 100%;
  2478. font-size: 2em;
  2479. background: rgba(0,0,0,0);
  2480. border: none;
  2481. overflow-x: hidden;
  2482. text-wrap: nowrap;
  2483. br {
  2484. display: none;
  2485. }
  2486. }
  2487. // .head-box {
  2488. // fill: #155358;
  2489. // }
  2490. .title-box {
  2491. text-anchor: start;
  2492. fill: #c3c3c3;
  2493. stroke: none;
  2494. user-select: none;
  2495. &::selection {
  2496. background: none;
  2497. }
  2498. }
  2499. // .nodes, .properties {
  2500. // fill: #737373;
  2501. // opacity: 0.75;
  2502. // }
  2503. .hasLink {
  2504. .input-field {
  2505. display: none;
  2506. }
  2507. }
  2508. .close-preview {
  2509. text-align: center;
  2510. cursor: pointer;
  2511. color: #999;
  2512. &:hover {
  2513. //background-color: rgba(.0,.0,.0,.25);
  2514. color: #FFF;
  2515. }
  2516. }
  2517. .input-node, .output-node {
  2518. fill: rgb(200, 200, 200);
  2519. //stroke-width: 13px;
  2520. //stroke-opacity: 0;
  2521. &.nodeMatch {
  2522. fill: #5ca4ab;
  2523. }
  2524. .hitbox {
  2525. fill: transparent;
  2526. &:hover {
  2527. fill: rgba(114, 180, 255, 0.5);
  2528. }
  2529. }
  2530. }
  2531. .title-node {
  2532. fill: #c3c3c3;
  2533. stroke: none;
  2534. user-select: none;
  2535. &::selection {
  2536. background: none;
  2537. }
  2538. }
  2539. .properties-group {
  2540. span {
  2541. color: #ffffff;
  2542. user-select: none;
  2543. &::selection {
  2544. background: none;
  2545. }
  2546. }
  2547. input[type=text], select {
  2548. width: 100%;
  2549. }
  2550. input[type=text].error {
  2551. border: red 1px solid;
  2552. }
  2553. .texture-preview {
  2554. background-size: 50px 50px;
  2555. height: 50px;
  2556. width: 50px;
  2557. margin: auto;
  2558. margin-bottom: 5px;
  2559. }
  2560. .color-preview {
  2561. background-size: 25px 25px;
  2562. height: 25px;
  2563. width: 25px;
  2564. margin: auto;
  2565. margin-bottom: 5px;
  2566. }
  2567. .float-preview {
  2568. background: #222222;
  2569. font-weight: bold;
  2570. width: fit-content;
  2571. padding: 2px 3px;
  2572. margin: auto;
  2573. margin-bottom: 3px;
  2574. user-select: none;
  2575. }
  2576. .preview-parent {
  2577. position: absolute;
  2578. height: 100px;
  2579. width: 100px;
  2580. }
  2581. .propertySubShader {
  2582. span {
  2583. float: left;
  2584. margin-right: 10px;
  2585. }
  2586. }
  2587. .custom-var {
  2588. display: table;
  2589. width: 100%;
  2590. div.custom-var-row {
  2591. display: table-row;
  2592. label, span {
  2593. display: table-cell;
  2594. }
  2595. }
  2596. }
  2597. }
  2598. .edge {
  2599. stroke-width: 2;
  2600. stroke: rgb(200, 200, 200);
  2601. fill: transparent;
  2602. pointer-events: stroke;
  2603. &.hitbox {
  2604. stroke-width: 10;
  2605. stroke: transparent;
  2606. &:hover {
  2607. stroke: rgba(114, 180, 255, 0.5);
  2608. }
  2609. }
  2610. }
  2611. .rect-selection {
  2612. stroke: rgba(0, 0, 255, 0.7);
  2613. fill: rgba(70, 70, 116, 0.08);
  2614. }
  2615. .node-id-indicator {
  2616. fill: #ffffff;
  2617. stroke: none;
  2618. font-size: 8px;
  2619. }
  2620. }
  2621. #add-menu {
  2622. font-family: var(--default-font);
  2623. }
  2624. }
  2625. .paramVisible {
  2626. color: black!important;
  2627. font-weight: bold;
  2628. font-style: italic;
  2629. letter-spacing: -.5px;
  2630. text-align: center;
  2631. user-select: none;
  2632. }
  2633. }
  2634. /* Golden Layout Fixes */
  2635. .lm_header .lm_tabs {
  2636. z-index : @default-layer;
  2637. }
  2638. .lm_dropTargetIndicator {
  2639. box-shadow : none;
  2640. }
  2641. span.lm_title { display: inline-block; padding: 0px 10px; }
  2642. li.lm_tab { padding-left: 0px !important; padding-right: 15px !important; }
  2643. div.lm_close_tab { top : 0px !important; right : 0px !important; width : 15px !important; height : 18px !important; }
  2644. div.lm_close_tab:hover { background-color : #555 !important; }
  2645. body.hide-subview {
  2646. .lm_header .lm_tab {
  2647. padding-right: 10px;
  2648. }
  2649. .lm_close_tab, .lm_controls {
  2650. display : none;
  2651. }
  2652. }
  2653. .lm_header .lm_tabdropdown_list .lm_tab {
  2654. width: 100%;
  2655. }
  2656. .lm_header .lm_tabdropdown_list .lm_tab .lm_title {
  2657. width: unset;
  2658. max-width: 500px;
  2659. }
  2660. .visibility-toggle, .visibility-large-toggle {
  2661. position: absolute;
  2662. right: 4px;
  2663. padding: 4px;
  2664. &:hover {
  2665. color : white;
  2666. background: black;
  2667. }
  2668. }
  2669. .hidden {
  2670. .visibility-toggle, .visibility-large-toggle {
  2671. background: #0000008a;
  2672. i {
  2673. color: #555;
  2674. }
  2675. }
  2676. }
  2677. .visibility-large-toggle {
  2678. font-size: 14px!important;
  2679. }
  2680. .lock-toggle, .lock-large-toggle {
  2681. position: absolute;
  2682. right: 24px;
  2683. padding: 4px;
  2684. }
  2685. .locked {
  2686. .lock-toggle, .lock-large-toggle {
  2687. i {
  2688. color: #555;
  2689. }
  2690. }
  2691. }
  2692. .lock-large-toggle {
  2693. font-size: 14px!important;
  2694. }
  2695. /* Spectrum Color picker */
  2696. div.sp-replacer {
  2697. vertical-align:top;
  2698. background-color : #444;
  2699. border : 1px solid #666;
  2700. height : 16px;
  2701. margin-right:5px;
  2702. .sp-preview {
  2703. width: 14px;
  2704. height: 14px;
  2705. }
  2706. .sp-dd {
  2707. padding-top:0px;
  2708. }
  2709. &:hover {
  2710. border-color : white;
  2711. }
  2712. &.sp-active {
  2713. border-color: #888;
  2714. }
  2715. }
  2716. div.sp-container {
  2717. background-color : #444;
  2718. border : 1px solid #666;
  2719. .sp-picker-container {
  2720. border:none;
  2721. width: 300px;
  2722. }
  2723. .sp-color {
  2724. right: 8%;
  2725. }
  2726. .sp-hue {
  2727. left: 95%;
  2728. }
  2729. input {
  2730. color: #aaa;
  2731. background-color : rgb(34,34,34);
  2732. border-radius:0px;
  2733. &:hover {
  2734. border-color:white;
  2735. }
  2736. }
  2737. }
  2738. /* Animation Event Editor */
  2739. .event-editor {
  2740. .title {
  2741. text-align: center;
  2742. font-weight: bold;
  2743. font-size: 12px;
  2744. margin: 4px;
  2745. background-color : rgb(30,30,30);
  2746. }
  2747. .event {
  2748. .label {
  2749. text-align: center;
  2750. display: inline-block;
  2751. width: 50%;
  2752. }
  2753. }
  2754. }
  2755. /* Script Editor */
  2756. .codeeditor {
  2757. position: relative;
  2758. .codeErrorLine {
  2759. background: #400;
  2760. }
  2761. .codeErrorContentLine {
  2762. background : rgba(255,0,0,0.1);
  2763. }
  2764. .codeErrorContent {
  2765. text-decoration: underline dashed red;
  2766. }
  2767. .codeErrorMessage {
  2768. position: absolute;
  2769. bottom: 0;
  2770. right: 0;
  2771. background : rgba(80, 5, 5, 1);
  2772. color : red;
  2773. padding: 2px;
  2774. border: 1px solid #A00;
  2775. max-height: 200px;
  2776. max-width: 400px;
  2777. overflow: hidden;
  2778. }
  2779. }
  2780. .script-editor {
  2781. .codeeditor {
  2782. height: 100%;
  2783. }
  2784. div.codeErrorMessage {
  2785. right : 12px;
  2786. bottom : 0px;
  2787. padding : 5px;
  2788. }
  2789. }
  2790. /* Domkit */
  2791. .domkit {
  2792. width:100%;
  2793. height:100%;
  2794. display:flex;
  2795. >* {
  2796. flex-grow : 100;
  2797. }
  2798. .leftpanel {
  2799. width:600px;
  2800. resize:horizontal;
  2801. border-right:1px solid #333;
  2802. overflow:hidden;
  2803. .html {
  2804. .codeeditor {
  2805. padding: 5px;
  2806. height: 400px;
  2807. }
  2808. }
  2809. .cssErrors {
  2810. background : #840;
  2811. border : 1px solid #F80;
  2812. color : #F80;
  2813. padding : 10px;
  2814. position: absolute;
  2815. z-index: @domkit-layer;
  2816. left : 10px;
  2817. bottom : 10px;
  2818. }
  2819. }
  2820. }
  2821. /* Level 3D */
  2822. .overlay-info {
  2823. background: #000000e0;
  2824. position: absolute;
  2825. z-index: @default-layer;
  2826. left : 0px;
  2827. bottom : 0px;
  2828. overflow-y: scroll;
  2829. overflow-x: hidden;
  2830. padding: 10px;
  2831. max-height: 800px;
  2832. min-width: 600px;
  2833. }
  2834. .context-menu-item {
  2835. .contextmenu-keys {
  2836. float: right;
  2837. font-size: 8pt;
  2838. color: #8d8d8d;
  2839. &:before {
  2840. content: '\a0'; // ' '
  2841. }
  2842. }
  2843. &.context-menu-disabled {
  2844. .contextmenu-keys {
  2845. color: #c9c9c9;
  2846. }
  2847. }
  2848. .tag-disp-expand {
  2849. display: flex;
  2850. .tag-disp {
  2851. color: white;
  2852. flex-grow: 1;
  2853. padding: 2px;
  2854. }
  2855. }
  2856. &.context-menu-input {
  2857. input[type=checkbox] {
  2858. top: auto !important;
  2859. &:after {
  2860. // background-color: rgb(165, 165, 165);
  2861. background-color: white;
  2862. color: black;
  2863. box-shadow: none;
  2864. border: 1px solid black;
  2865. border-radius: 2px;
  2866. }
  2867. }
  2868. }
  2869. }
  2870. .checkerboard-bg {
  2871. background: conic-gradient(#EEE 90deg,#DDD 90deg 180deg,#EEE 180deg 270deg, #DDD 270deg);
  2872. background-size: 16px 16px;
  2873. background-repeat: repeat;
  2874. }
  2875. div.color-box {
  2876. display: inline-flex;
  2877. cursor: pointer;
  2878. }
  2879. div.popup {
  2880. inset: unset;
  2881. background-color : #181818;
  2882. border : 1px solid #242424;
  2883. border-radius: 5px;
  2884. color: #d8d8d8;
  2885. position: absolute;
  2886. overflow: visible;
  2887. z-index: 900;
  2888. box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.5);
  2889. &:focus {
  2890. outline: none;
  2891. }
  2892. padding: 6px;
  2893. }
  2894. .settings-popup {
  2895. padding: 8px;
  2896. p {
  2897. margin-top: 0;
  2898. margin-bottom: 0;
  2899. text-align: center;
  2900. }
  2901. h2 {
  2902. margin-top: 0.5em;
  2903. margin-bottom: 0;
  2904. text-align: left;
  2905. font-size: 1em;
  2906. font-weight: normal;
  2907. }
  2908. select {
  2909. width: auto;
  2910. width: fit-content;
  2911. margin-left: 2px;
  2912. }
  2913. .form-grid {
  2914. display: grid;
  2915. grid-template-columns: auto 1fr;
  2916. align-items: center;
  2917. input[type="radio"] {
  2918. padding-bottom: 4px;
  2919. }
  2920. grid-row-gap: 2px;
  2921. }
  2922. label {
  2923. text-align: right;
  2924. padding-right: 8px;
  2925. }
  2926. label.left {
  2927. text-align: left;
  2928. padding-left: 8px;
  2929. }
  2930. .hide-grid {
  2931. visibility: hidden;
  2932. height: 0px;
  2933. }
  2934. input[type=checkbox] {
  2935. appearance: none;
  2936. margin: 0;
  2937. background: #545454;
  2938. font: inherit;
  2939. width: 14px;
  2940. height: 14px;
  2941. border: 1px solid #3d3d3d;
  2942. border-radius: 3px;
  2943. transform: translateY(-0.075em);
  2944. padding: 0;
  2945. /*box-shadow: 0px 1px #181818;*/
  2946. }
  2947. input[type=checkbox]:checked{
  2948. background: #4772b3;
  2949. }
  2950. input[type=checkbox]:checked:after {
  2951. content: '\2714';
  2952. position: absolute;
  2953. text-align: center;
  2954. vertical-align: middle;
  2955. width: 12px;
  2956. height: 11px;
  2957. left: auto;
  2958. top: auto;
  2959. box-shadow: none;
  2960. background: none;
  2961. line-height: 12px;
  2962. font-size: 0.7em;
  2963. color: #f6f8fb;
  2964. }
  2965. input[type=checkbox]:after {
  2966. content: none;
  2967. }
  2968. }
  2969. div.color-picker {
  2970. padding:0;
  2971. text-align: left;
  2972. .vbox {
  2973. display: flex;
  2974. flex-direction: column;
  2975. }
  2976. .slider-value {
  2977. display: flex;
  2978. input {
  2979. font-size: 10px;
  2980. }
  2981. label {
  2982. align-self: center;
  2983. }
  2984. }
  2985. hr {
  2986. border: 1px solid #444444;
  2987. width: 100%;
  2988. }
  2989. .slider-container {
  2990. display: flex;
  2991. }
  2992. .slider {
  2993. position: relative;
  2994. display: inline-block;
  2995. }
  2996. .info-bar {
  2997. display: flex;
  2998. }
  2999. .toolbar {
  3000. vertical-align: top;
  3001. }
  3002. canvas {
  3003. position: absolute;
  3004. width: 100%;
  3005. height: 100%;
  3006. }
  3007. svg {
  3008. position: absolute;
  3009. width: 100%;
  3010. height: 100;
  3011. pointer-events: none;
  3012. }
  3013. }
  3014. div.texture-choice {
  3015. display: inline-flex;
  3016. height: 26px;
  3017. align-items: center;
  3018. width: 100%;
  3019. }
  3020. div.gradient-box {
  3021. display: block;
  3022. align-self: center;
  3023. height: 18px;
  3024. min-width: 150px;
  3025. font-family: Verdana, serif;
  3026. font-size: 9pt;
  3027. border: 1px solid #444;
  3028. cursor: pointer;
  3029. }
  3030. .gradient-editor {
  3031. background-color : rgb(40, 40, 41);
  3032. border : 1px solid rgb(51, 51, 51);
  3033. display: flex;
  3034. .color-box {
  3035. border : 3px solid rgb(51, 51, 51);
  3036. }
  3037. .stop-editor {
  3038. &.disabled {
  3039. opacity: 50%;
  3040. }
  3041. }
  3042. .editor {
  3043. padding: 6px;
  3044. & > div{
  3045. margin-bottom: 4px;
  3046. }
  3047. }
  3048. p {
  3049. margin: 0;
  3050. }
  3051. label {
  3052. margin-right: 5px;
  3053. }
  3054. input {
  3055. width: 75px;
  3056. }
  3057. summary:focus {
  3058. outline: none;
  3059. }
  3060. #preview {
  3061. width: 256px;
  3062. height: 256px;
  3063. }
  3064. }
  3065. .gradient-container {
  3066. height: 100%;
  3067. position: relative;
  3068. svg {
  3069. position: absolute;
  3070. width: 100%;
  3071. height: 100;
  3072. &.lines {
  3073. mix-blend-mode: difference;
  3074. line {
  3075. stroke: white;
  3076. stroke-width: 1px;
  3077. }
  3078. }
  3079. .gradient-stop {
  3080. .outline {
  3081. stroke-width: 0.015;
  3082. stroke: white;
  3083. }
  3084. &:hover{
  3085. .outline {
  3086. stroke-width: 0.025;
  3087. }
  3088. }
  3089. &.selected {
  3090. .outline {
  3091. stroke-width: 0.035;
  3092. }
  3093. }
  3094. &.selected:hover {
  3095. .outline {
  3096. stroke-width: 0.045;
  3097. }
  3098. }
  3099. .fill {
  3100. stroke: black;
  3101. stroke-width: 0.005;
  3102. }
  3103. }
  3104. //pointer-events: none;
  3105. }
  3106. }
  3107. .gradient-preview {
  3108. width:100%;
  3109. height: 100%;
  3110. position: absolute;
  3111. }
  3112. .search-bar {
  3113. width: 100%;
  3114. box-sizing: border-box;
  3115. margin-bottom: 8px;
  3116. border-radius: 3px;
  3117. }
  3118. .lesseditor {
  3119. width : 100%;
  3120. height : 100%;
  3121. position : relative;
  3122. .scene {
  3123. width : 1px;
  3124. height : 1px;
  3125. }
  3126. .codeeditor {
  3127. margin-top : 20px;
  3128. height : 100%;
  3129. .codeErrorMessage {
  3130. top : 20px;
  3131. width : 90%;
  3132. }
  3133. }
  3134. }
  3135. .domkitEditor {
  3136. height: 100%;
  3137. width: 100%;
  3138. .editors {
  3139. display: flex;
  3140. height: 100%;
  3141. .panel {
  3142. height: 100%;
  3143. &.left {
  3144. width: 48%;
  3145. }
  3146. &.right {
  3147. padding-left: 10px;
  3148. flex-grow: 1;
  3149. >.editor {
  3150. height: 100%;
  3151. }
  3152. }
  3153. >.editor {
  3154. display: flex;
  3155. flex-direction: column;
  3156. height: 50%;
  3157. >span {
  3158. font-size: 18px;
  3159. margin: 15px 0px 5px 10px;
  3160. }
  3161. .codeeditor {
  3162. flex-grow: 1;
  3163. height: 5px;
  3164. }
  3165. }
  3166. }
  3167. }
  3168. .scene {
  3169. width : 1px;
  3170. height : 1px;
  3171. }
  3172. }
  3173. .profiler {
  3174. width: 100%;
  3175. height: 100%;
  3176. display: flex;
  3177. .ico {
  3178. padding-left: 5px;
  3179. padding-right: 5px;
  3180. cursor: pointer;
  3181. color: lightgray;
  3182. }
  3183. .disable {
  3184. cursor: default;
  3185. color: gray;
  3186. }
  3187. .left-panel {
  3188. height: 100%;
  3189. width: 80%;
  3190. display: flex;
  3191. background-color: #303030;
  3192. flex-direction: column;
  3193. .hide-tabs {
  3194. height: 100%;
  3195. width: 100%;
  3196. #search-bar {
  3197. display: inline;
  3198. float: right;
  3199. }
  3200. .tab-content {
  3201. height: 100%;
  3202. width: 100%;
  3203. display: flex;
  3204. flex-direction: column;
  3205. padding-bottom: 25px;
  3206. box-sizing: border-box;
  3207. margin: 2px;
  3208. .hide-scroll {
  3209. overflow-x: hidden;
  3210. }
  3211. }
  3212. }
  3213. table {
  3214. overflow-y: scroll;
  3215. margin-top: 10px;
  3216. margin-bottom: 10px;
  3217. caption {
  3218. text-align: left;
  3219. }
  3220. thead {
  3221. position: sticky;
  3222. top: 0;
  3223. background-color: #151515;
  3224. td {
  3225. font-weight: bold;
  3226. }
  3227. }
  3228. #actions {
  3229. padding-right: 3px;
  3230. .ico {
  3231. cursor: pointer;
  3232. pointer-events: auto;
  3233. color: lightgray;
  3234. }
  3235. }
  3236. tr:hover {
  3237. background-color: #272727;
  3238. }
  3239. tr:focus {
  3240. background-color: #2c5d87;
  3241. }
  3242. thead {
  3243. tr:hover {
  3244. background-color: #151515;
  3245. }
  3246. }
  3247. td:nth-last-child(1) {
  3248. width: 100%;
  3249. max-width: 700px;
  3250. text-wrap: wrap;
  3251. }
  3252. td {
  3253. padding: 3px 30px 3px 1px;
  3254. overflow: hidden;
  3255. white-space: nowrap;
  3256. }
  3257. .arrow {
  3258. color: #4169E1;
  3259. }
  3260. .tid {
  3261. color: #C71585;
  3262. }
  3263. .roots {
  3264. color: #DAA520;
  3265. }
  3266. }
  3267. }
  3268. .right-panel {
  3269. height: 100%;
  3270. width: 20%;
  3271. padding: 10px;
  3272. box-sizing: border-box;
  3273. overflow-x: hidden;
  3274. dt {
  3275. width: 80px;
  3276. font-size: 11px;
  3277. color: #aaa;
  3278. user-select: none;
  3279. text-transform: capitalize;
  3280. font-weight: normal;
  3281. vertical-align: top;
  3282. display: inline-block;
  3283. margin-top: 4px;
  3284. max-width: 100%;
  3285. }
  3286. dd {
  3287. position: relative;
  3288. vertical-align: top;
  3289. display: inline-block;
  3290. text-wrap: wrap;
  3291. word-break: break-word;
  3292. margin-left: 0px;
  3293. padding-left: 10px;
  3294. padding-top: 4px;
  3295. width: 200px;
  3296. max-width: 100%;
  3297. box-sizing: border-box;
  3298. input {
  3299. max-width: 100%;
  3300. box-sizing: border-box;
  3301. }
  3302. }
  3303. .outer-gauge {
  3304. background-color: #535353;
  3305. width: 100%;
  3306. height: 15px;
  3307. }
  3308. .inner-gauge {
  3309. background-color: #d6d6d6;
  3310. height: 15px;
  3311. }
  3312. h4, h5 {
  3313. margin-top:2px;
  3314. margin-bottom: 2px;
  3315. }
  3316. h5 {
  3317. word-wrap: break-word;
  3318. }
  3319. .title {
  3320. text-align: center;
  3321. font-size: 9pt;
  3322. background-color: #151515;
  3323. margin-bottom: 5px;
  3324. margin-top: 5px;
  3325. vertical-align: middle;
  3326. }
  3327. .drop-zone {
  3328. background-color: #111111;
  3329. border-style: dashed;
  3330. border-width: 5px;
  3331. height: 100px;
  3332. padding-top: 20px;
  3333. .label {
  3334. text-align: center;
  3335. pointer-events: none;
  3336. }
  3337. @keyframes zoomIn {
  3338. from {
  3339. transform: scale(0);
  3340. }
  3341. to {
  3342. transform: scale(1);
  3343. }
  3344. }
  3345. }
  3346. .files-input {
  3347. #process-btn {
  3348. width: 100%;
  3349. }
  3350. }
  3351. }
  3352. }
  3353. .remoteconsole {
  3354. .ico {
  3355. padding-left: 2px;
  3356. padding-right: 2px;
  3357. cursor: pointer;
  3358. }
  3359. .ico.disable {
  3360. color: #444444;
  3361. cursor: default;
  3362. }
  3363. input {
  3364. margin-left: 2px;
  3365. margin-right: 2px;
  3366. background-color: #333333;
  3367. }
  3368. input:disabled {
  3369. background-color: #222222;
  3370. }
  3371. input:disabled:hover {
  3372. border-color: #505050;
  3373. }
  3374. input.wide {
  3375. width: 300px;
  3376. }
  3377. .logs {
  3378. margin-top: 2px;
  3379. margin-bottom: 2px;
  3380. background-color: #151515;
  3381. height: 20px;
  3382. overflow-y: auto;
  3383. p {
  3384. margin-block-start: 0px;
  3385. margin-block-end: 0px;
  3386. }
  3387. .error {
  3388. color: #ff2828;
  3389. }
  3390. }
  3391. .remoteconsole-panel {
  3392. border: 2px dashed #444444;
  3393. border-radius: 4px;
  3394. margin: 2px;
  3395. margin-bottom: 10px;
  3396. padding: 2px;
  3397. box-sizing: border-box;
  3398. .controls {
  3399. float: right;
  3400. }
  3401. .logs {
  3402. height: 100px;
  3403. }
  3404. .commands {
  3405. fieldset {
  3406. border: 1px dashed #333333;
  3407. }
  3408. .sub-command {
  3409. margin: 3px 0px;
  3410. .sub-sub-command {
  3411. display: inline-block;
  3412. }
  3413. .dump-file {
  3414. width: 200px;
  3415. }
  3416. input[type=checkbox] {
  3417. display: inline-block;
  3418. float: none;
  3419. outline: 1px solid #505050;
  3420. margin: 5px;
  3421. }
  3422. }
  3423. h5 {
  3424. display: inline-table;
  3425. min-width: 80px;
  3426. margin: 0px;
  3427. }
  3428. }
  3429. }
  3430. .new-panel {
  3431. cursor: pointer;
  3432. text-align: center;
  3433. }
  3434. }
  3435. .devtools {
  3436. width: 100%;
  3437. height: 100%;
  3438. webview {
  3439. display: block;
  3440. }
  3441. #webview-blank {
  3442. height: 0px;
  3443. }
  3444. #webview-devtools {
  3445. height: 100%;
  3446. }
  3447. }
  3448. .hover-parent {
  3449. .hover-reveal {
  3450. visibility: hidden;
  3451. }
  3452. &:hover {
  3453. .hover-reveal {
  3454. visibility: visible;
  3455. }
  3456. background-color: rgba(255,255,255,0.05);
  3457. }
  3458. }
  3459. .flex-props {
  3460. input{
  3461. min-width: 0 !important;
  3462. width: 100% !important;
  3463. min-height: 0 !important;
  3464. overflow: hidden;
  3465. flex: 1;
  3466. }
  3467. .hide-range {
  3468. display: flex;
  3469. flex: 1;
  3470. [type="range"] {
  3471. flex: 3;
  3472. }
  3473. }
  3474. .flex {
  3475. display: inline-flex;
  3476. }
  3477. .fill {
  3478. flex: 1;
  3479. }
  3480. }
  3481. .fx-params {
  3482. dt {
  3483. text-transform: none;
  3484. }
  3485. }
  3486. /* parameter name that appear near curves and other prefabs in the fx editor*/
  3487. .fx-parameter {
  3488. font-size: 0.8em;
  3489. margin-left: 1em;
  3490. .fx-param-name {
  3491. margin-left: 0.3em;
  3492. max-width: 100px;
  3493. direction: rtl;
  3494. display: inline-block;
  3495. overflow: hidden;
  3496. vertical-align: bottom;
  3497. text-overflow: clip;
  3498. }
  3499. &.missing .fx-param-name {
  3500. text-decoration: line-through;
  3501. }
  3502. }
  3503. .settings {
  3504. width: 100%;
  3505. height: 100%;
  3506. .settings-header {
  3507. width: 100%;
  3508. height: 20px;
  3509. border-bottom: solid #000000 1px;
  3510. .search-bar {
  3511. margin: 2px 5px 0px 0px;
  3512. float: right;
  3513. width: 15%;
  3514. height: 16px;
  3515. }
  3516. }
  3517. .settings-body {
  3518. width: 100%;
  3519. height: 100%;
  3520. display: flex;
  3521. .categories {
  3522. width: 20%;
  3523. height: 100%;
  3524. padding-top: 5px;
  3525. border-right: solid #000000 1px;
  3526. p {
  3527. padding: 1px 1px 1px 15px;
  3528. margin: 0;
  3529. }
  3530. p:hover {
  3531. background-color: #4d4d4d;
  3532. }
  3533. .selected {
  3534. background-color: @color-highlight !important;
  3535. }
  3536. }
  3537. .content {
  3538. height: 100%;
  3539. width: 100%;
  3540. padding: 0px 15px 15px 10px;
  3541. h1 {
  3542. margin-top: 0;
  3543. margin-bottom: 0;
  3544. }
  3545. dl {
  3546. display:flex;
  3547. overflow-x:hidden;
  3548. margin:0px;
  3549. }
  3550. dd, dt {
  3551. vertical-align:middle;
  3552. text-wrap: wrap;
  3553. word-break: break-word;
  3554. margin-top:4px;
  3555. span {
  3556. display: inline-block;
  3557. width: 20px;
  3558. }
  3559. }
  3560. dt {
  3561. width: 300px;
  3562. color:#aaa;
  3563. user-select:none;
  3564. text-transform: capitalize;
  3565. font-weight: normal;
  3566. }
  3567. dd {
  3568. flex-grow: 1;
  3569. }
  3570. }
  3571. }
  3572. }
  3573. .project-settings {
  3574. width: 100%;
  3575. height: 100%;
  3576. h1 {
  3577. margin: 5px 5px 5px 10px;
  3578. }
  3579. .loading {
  3580. display: flex;
  3581. margin-left: 10px;
  3582. .ico {
  3583. margin-right: 5px;
  3584. align-self: center;
  3585. }
  3586. }
  3587. .body {
  3588. width: 100%;
  3589. height:100%;
  3590. display: flex;
  3591. .left-panel {
  3592. flex: 0.5;
  3593. padding: 10px;
  3594. .filter-container {
  3595. display: flex;
  3596. margin-bottom: 10px;
  3597. p {
  3598. margin: 0 5px 0 0;
  3599. }
  3600. .filter {
  3601. flex : 1;
  3602. }
  3603. }
  3604. }
  3605. .right-panel {
  3606. flex: 1;
  3607. padding: 10px;
  3608. }
  3609. .array {
  3610. .rows {
  3611. min-height: 20px;
  3612. max-height: 750px;
  3613. overflow-y: scroll;
  3614. width: 100%;
  3615. background: #3f3f3f;
  3616. border-radius: 2px 2px 0px 2px;
  3617. .row {
  3618. display: flex;
  3619. flex-direction: row;
  3620. width: 100%;
  3621. .ico {
  3622. margin-left: 5px;
  3623. margin-right: 5px;
  3624. align-self : center;
  3625. }
  3626. input {
  3627. flex: 1;
  3628. border: 1px solid #666;
  3629. border-radius: 5px;
  3630. box-sizing: border-box;
  3631. margin: 2px;
  3632. }
  3633. &:hover {
  3634. background: #5a5a5a;
  3635. }
  3636. &.selected {
  3637. background: @color-highlight;
  3638. }
  3639. &.filtered {
  3640. display: none;
  3641. }
  3642. }
  3643. }
  3644. .buttons {
  3645. float: right;
  3646. padding: 5px 10px 5px 10px;
  3647. border-radius: 0px 0px 2px 2px;
  3648. background: #3f3f3f;
  3649. .add-btn {
  3650. margin-right: 10px;
  3651. }
  3652. div {
  3653. cursor: pointer;
  3654. }
  3655. div:hover {
  3656. color: #e6e6e6;
  3657. }
  3658. }
  3659. }
  3660. }
  3661. }
  3662. // lod specific style in model viewer
  3663. .lods {
  3664. .lods-line {
  3665. position: relative;
  3666. display:flex;
  3667. overflow: hidden;
  3668. height: 70px;
  3669. .line {
  3670. height: 30px;
  3671. margin: 10px 2px 0px 2px;
  3672. background-color: #151515;
  3673. display: flex;
  3674. overflow: hidden;
  3675. padding: 1px;
  3676. width: 100%;
  3677. div {
  3678. overflow-x: hidden;
  3679. height:100%;
  3680. }
  3681. div:nth-child(1n) {
  3682. background-color: #f3e179;
  3683. }
  3684. div:nth-child(2n) {
  3685. background-color: #79f37b;
  3686. }
  3687. div:nth-child(3n) {
  3688. background-color: #8979f3;
  3689. }
  3690. div:nth-child(4n) {
  3691. background-color: #f379ad;
  3692. }
  3693. .crop {
  3694. height: 100%;
  3695. cursor: w-resize;
  3696. width: 2px;
  3697. background-color: #151515;
  3698. }
  3699. p {
  3700. margin: 0 2px 0 2px;
  3701. color: black;
  3702. }
  3703. }
  3704. .cursor {
  3705. position: absolute;
  3706. top: 11px;
  3707. pointer-events: none;
  3708. .cursor-line {
  3709. background-color: rgb(0, 0, 0);
  3710. height: 32px;
  3711. width: 2px;
  3712. }
  3713. p {
  3714. text-align: center;
  3715. margin-top: 2px;
  3716. }
  3717. }
  3718. }
  3719. #buttons {
  3720. width: 100%;
  3721. input {
  3722. width: 100%;
  3723. margin-top: 2px;
  3724. }
  3725. }
  3726. }
  3727. .curve-editor-popup {
  3728. width: 600px;
  3729. height: 400px;
  3730. }
  3731. hide-popover {
  3732. resize: both;
  3733. max-height: 90vh;
  3734. max-width: 90vw;
  3735. min-width: 100px;
  3736. min-height: 100px;
  3737. border: none;
  3738. padding: 0;
  3739. display: flex;
  3740. flex-direction: column;
  3741. title-bar {
  3742. padding: 2px;
  3743. background-color: #000000;
  3744. display: flex;
  3745. height: 20px;
  3746. #title {
  3747. flex-grow: 1;
  3748. flex-shrink: 0;
  3749. color: @color-text;
  3750. }
  3751. flex: 0 0;
  3752. button {
  3753. background: none;
  3754. border: none;
  3755. display: inline-flex;
  3756. align-items: center;
  3757. justify-content: center;
  3758. height: 16px;
  3759. width: 16px;
  3760. padding: 1px;
  3761. i {
  3762. font-size: 8px;
  3763. color: @color-text;
  3764. }
  3765. }
  3766. }
  3767. hide-content {
  3768. flex: 1 1;
  3769. min-height: 0; // Allow the inner element to shrink, used to make the inner content scrollable
  3770. padding: 0;
  3771. }
  3772. }
  3773. .hide-tileselect {
  3774. min-height: 0;
  3775. width: 100%;
  3776. height: 100%;
  3777. display: flex;
  3778. overflow: hidden;
  3779. flex-direction: column;
  3780. &:focus {
  3781. outline: none;
  3782. }
  3783. .color-box {
  3784. border: 1px solid #777;
  3785. }
  3786. tile-settings {
  3787. display: flex;
  3788. align-items: center;
  3789. gap: 1em;
  3790. background: #222222;
  3791. color: @color-text;
  3792. min-height: 24px;
  3793. padding: 2px;
  3794. overflow: hidden;
  3795. flex-shrink: 0;
  3796. > * {
  3797. flex-shrink: 0;
  3798. }
  3799. input.file {
  3800. flex-grow: 1;
  3801. max-width: 300px;
  3802. }
  3803. .dim-edit {
  3804. > input {
  3805. width: 32px;
  3806. }
  3807. }
  3808. }
  3809. background-container {
  3810. align-self: stretch;
  3811. display: block;
  3812. padding: 0;
  3813. flex-grow: 1;
  3814. flex-shrink: 1;
  3815. min-width: 0;
  3816. min-height: 0;
  3817. tile-picker {
  3818. width: 100%;
  3819. height: 100%;
  3820. display: block;
  3821. padding: 0;
  3822. &::-webkit-scrollbar {
  3823. width: 10px;
  3824. height: 10px;
  3825. }
  3826. overflow: auto;
  3827. image-display {
  3828. display: block;
  3829. position: relative;
  3830. margin-right: @tileselect-cursor-border;
  3831. margin-bottom: @tileselect-cursor-border;
  3832. .valueDisp {
  3833. position: absolute;
  3834. background-color: rgba(0,80,128,0.3);
  3835. border:1px solid rgba(128,128,128,0.5);
  3836. pointer-events:none;
  3837. }
  3838. .cursor {
  3839. position: absolute;
  3840. border : @tileselect-cursor-border solid #fff;
  3841. pointer-events:none;
  3842. }
  3843. }
  3844. }
  3845. background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAE5JREFUWIVjnL12+38GCoCBnisl2hmYKNJNBTDqgFEHjDpg1AGjDhh1wKgDGE/f/kNRe+DCpd0UOWDAQ2DUAaMOGHXAqANGHTDqgFEHAAAO3QneZHM9AwAAAABJRU5ErkJggg==);
  3846. }
  3847. }
  3848. .context-menu2 .search-bar, .fancy-search-bar{
  3849. background-color: #444;
  3850. border: 1px solid #666;
  3851. border-radius: 2px;
  3852. box-sizing: border-box;
  3853. position: relative;
  3854. input {
  3855. color: #aaaaaa;
  3856. font-family: var(--default-font), Geneva, Tahoma, sans-serif;
  3857. width: 100%;
  3858. box-sizing: border-box;
  3859. border: none;
  3860. margin: none;
  3861. &:focus {
  3862. outline: none;
  3863. }
  3864. }
  3865. &:after {
  3866. color: #aaaaaa;
  3867. content: "\f002";
  3868. font-family: "FontAwesome";
  3869. position: absolute;
  3870. right: 6px;
  3871. top: 2px;
  3872. }
  3873. }
  3874. .context-menu2 {
  3875. --offset-x: 4;
  3876. --offset-y: 0;
  3877. background-color: #222222;
  3878. border-radius: 5px;
  3879. box-shadow: 0 1px 6px 1px rgba(0, 0, 0, 0.75);
  3880. border: solid 1px #444444;
  3881. color: #aaaaaa;
  3882. font-family: var(--default-font), sans-serif;
  3883. font-size: 12px;
  3884. &:focus {
  3885. outline: none;
  3886. }
  3887. &:popover-open {
  3888. position: absolute;
  3889. inset: unset;
  3890. display: flex;
  3891. flex-direction: column;
  3892. align-items: stretch;
  3893. min-width: 150px;
  3894. max-width: 400px;
  3895. bottom: 5px;
  3896. right: 5px;
  3897. margin: 0;
  3898. }
  3899. menu {
  3900. max-height: min(500px, 90vh);
  3901. overflow-y: auto;
  3902. &::-webkit-scrollbar {
  3903. width: 4px;
  3904. }
  3905. &::-webkit-scrollbar-track {
  3906. background: transparent;
  3907. }
  3908. &::-webkit-scrollbar-thumb {
  3909. background-color: rgba(155, 155, 155, 0.75);
  3910. border-radius: 20px;
  3911. border: transparent;
  3912. }
  3913. margin: 0px;
  3914. padding: 0px;
  3915. * {
  3916. box-sizing: border-box;
  3917. }
  3918. separator {
  3919. display: flex;
  3920. align-items: center;
  3921. h1 {
  3922. font-weight: normal;
  3923. margin: 0em 0.5em;
  3924. font-size: 9pt;
  3925. color: #888;
  3926. white-space: nowrap;
  3927. }
  3928. hr {
  3929. margin-top: 0.8em;
  3930. }
  3931. pointer-events: none;
  3932. }
  3933. hr {
  3934. flex-grow: 1;
  3935. border: 0;
  3936. height: 1px;
  3937. background-image: linear-gradient(to right, rgba(44,44,44,0), rgb(100, 100, 100), rgba(44,44,44));
  3938. pointer-events: none;
  3939. }
  3940. &:not(:has(:hover, .highlight)) .open {
  3941. background-color: #555555;
  3942. }
  3943. li {
  3944. text-align: left;
  3945. --level: 0;
  3946. --menu-level: 0;
  3947. --base-padding: 0.2em;
  3948. padding: calc(0.2em);
  3949. padding-left: calc(var(--base-padding) + var(--level) * 0.5em);
  3950. display: flex;
  3951. align-items: baseline;
  3952. &:not(:has(.icon)) {
  3953. --base-padding: 0.5em;
  3954. }
  3955. gap: 4px;
  3956. &:hover, &.highlight {
  3957. background-color: #555555;
  3958. }
  3959. user-select: none;
  3960. .label {
  3961. flex-grow: 1;
  3962. padding-right: 1em;
  3963. }
  3964. .arrow, .fa, .icon, .shortcut {
  3965. flex-grow: 0;
  3966. flex-shrink: 0;
  3967. }
  3968. .icon {
  3969. display: flex;
  3970. justify-content: center;
  3971. width: 1.4em;
  3972. }
  3973. .shortcut {
  3974. color: #888;
  3975. font-size: 0.8em;
  3976. }
  3977. &.submenu-inline-header {
  3978. color: gray;
  3979. background-color: #222222;
  3980. font-style: italic;
  3981. position: sticky;
  3982. height: 20px;
  3983. top: calc(20px * var(--level));
  3984. &:hover {
  3985. background-color: unset;
  3986. }
  3987. }
  3988. &.disabled {
  3989. color: #666;
  3990. &:hover {
  3991. background-color: unset;
  3992. }
  3993. }
  3994. }
  3995. hr {
  3996. width: 100%;
  3997. }
  3998. }
  3999. }
  4000. .radial-menu {
  4001. position: absolute;
  4002. width: 500px;
  4003. height: 500px;
  4004. pointer-events: none;
  4005. .center {
  4006. position: absolute;
  4007. &:before {
  4008. color: #1a1a1a;
  4009. font-size: 3em;
  4010. }
  4011. .center-selection {
  4012. position: absolute;
  4013. &:before {
  4014. color: #3673b7;
  4015. font-size: 3em;
  4016. clip-path: polygon(0% 100%, 100% 100%, 50% 50%);
  4017. }
  4018. }
  4019. }
  4020. .radial-button {
  4021. transition: top 0.2s, left 0.2s;
  4022. position: absolute;
  4023. display: flex;
  4024. padding: 5px 7px 5px 7px;
  4025. justify-content: center;
  4026. align-items: center;
  4027. background-color: #181818;
  4028. border-radius: 5px;
  4029. .ico {
  4030. margin-right: 5px;
  4031. margin-top: 2px;
  4032. }
  4033. &.selected {
  4034. background-color: #3673b7 !important;
  4035. }
  4036. }
  4037. }
  4038. .tag-disp {
  4039. color: white;
  4040. mix-blend-mode: difference;
  4041. }
  4042. .hide-root {
  4043. display: flex;
  4044. flex-direction: column;
  4045. justify-content: stretch;
  4046. box-sizing: border-box;
  4047. height: 100vh;
  4048. width: 100vw;
  4049. > .golden-layout-root {
  4050. flex-grow: 1;
  4051. background-color: #000000;
  4052. min-height: 0;
  4053. min-width: 0;
  4054. overflow: clip;
  4055. }
  4056. > .status-bar {
  4057. overflow-x: hidden;
  4058. padding-left: 4px;
  4059. padding-right: 4px;
  4060. height: 16px;
  4061. background-color: #202020;
  4062. border-top: 1px solid #333;
  4063. flex-shrink: 0;
  4064. display: flex;
  4065. font-family: var(--default-font);
  4066. &.error {
  4067. background-color: #ee6666;
  4068. color: black;
  4069. }
  4070. .build {
  4071. margin-left: auto;
  4072. flex-grow: 0;
  4073. }
  4074. .error-suppressed {
  4075. button {
  4076. .ico {
  4077. margin-right: 5px;
  4078. }
  4079. margin-right: 10px;
  4080. border: none;
  4081. background-color: #ee6666;
  4082. &:hover {
  4083. cursor: pointer;
  4084. background-color: #ff8a8a;
  4085. color: white
  4086. }
  4087. }
  4088. flex-grow: 1;
  4089. display: flex;
  4090. align-items: center;
  4091. justify-content: center;
  4092. margin-left: auto;
  4093. margin-right: auto;
  4094. padding-left: 4px;
  4095. padding-right: 4px;
  4096. color: black;
  4097. border-radius: 3px;
  4098. }
  4099. #status-icons {
  4100. flex-grow: 0;
  4101. display: flex;
  4102. align-items: center;
  4103. gap: 4px;
  4104. > .icon {
  4105. height: 14px;
  4106. width: 14px;
  4107. display: flex;
  4108. align-items: center;
  4109. justify-content: center;
  4110. font-size: 1em;
  4111. }
  4112. button {
  4113. height: 14px;
  4114. font-size: 0.8em;
  4115. padding: 2px;
  4116. margin: 0px;
  4117. border: none;
  4118. outline: none;
  4119. border-radius: 2px;
  4120. background-color: #efefef;
  4121. &:hover {
  4122. background-color: #ddd;
  4123. }
  4124. }
  4125. }
  4126. }
  4127. }
  4128. /* Spline inspector */
  4129. .spline-editor {
  4130. .points-inspector {
  4131. @background-color : #222222;
  4132. @background-color-highlight : #535353;
  4133. width: 100%;
  4134. margin-top: 10px;
  4135. .content {
  4136. width: 100%;
  4137. display: flex;
  4138. flex-wrap: wrap;
  4139. flex-direction: row-reverse;
  4140. .buttons {
  4141. background: @background-color;
  4142. border-radius: 5px 5px 0 0;
  4143. padding: 3px 10px 3px 10px;
  4144. cursor: pointer;
  4145. div {
  4146. margin: 0 2px 0 2px;
  4147. }
  4148. div:hover {
  4149. color: @background-color-highlight;
  4150. }
  4151. }
  4152. .points-container {
  4153. min-height: 10px;
  4154. width: 100%;
  4155. border-radius: 5px 0 5px 5px;
  4156. background: @background-color;
  4157. padding: 3px;
  4158. .point {
  4159. margin-bottom: 1px;
  4160. .header {
  4161. padding: 3px 0px 3px 8px;
  4162. background-color: #414141;
  4163. border-radius: 5px;
  4164. cursor: pointer;
  4165. display: flex;
  4166. .icon {
  4167. align-self: center;
  4168. margin-right: 5px;
  4169. cursor: pointer;
  4170. }
  4171. .icon:hover {
  4172. color: #ececec;
  4173. }
  4174. #remove {
  4175. margin-left: auto;
  4176. }
  4177. p {
  4178. margin: 0;
  4179. }
  4180. }
  4181. .header:hover {
  4182. background-color: #686868;
  4183. }
  4184. .body {
  4185. padding-bottom: 15px;
  4186. white-space: nowrap;
  4187. dd {
  4188. input {
  4189. width: 28%;
  4190. margin-right: 1px;
  4191. }
  4192. }
  4193. }
  4194. &.folded {
  4195. .body {
  4196. display: none;
  4197. }
  4198. }
  4199. &.selected {
  4200. .header {
  4201. background-color: #2c5d87;
  4202. }
  4203. .body {
  4204. background-color: #4f657f;
  4205. }
  4206. }
  4207. }
  4208. }
  4209. }
  4210. }
  4211. .btn {
  4212. margin-top: 5px;
  4213. }
  4214. }
  4215. :root {
  4216. --hover-highlight: rgba(114, 180, 255, 0.5);
  4217. --selection: #3185ce;
  4218. --drop-feedback: white;
  4219. --hover: #444;
  4220. --basic-shadow: 2px 2px 3px rgba(0,0,0,.75);
  4221. --sublte-shadow: 1px 1px 3px rgba(0,0,0,.33);
  4222. --basic-border: 1px solid #353535;
  4223. --basic-border-hover: 1px solid #555;
  4224. --basic-border-focused: 1px solid var(--selection);
  4225. --basic-border-radius: 5px;
  4226. --basic-padding: 0.2em;
  4227. --bg-0: #000;
  4228. --bg-1: #111;
  4229. --bg-2: #222;
  4230. --bg-3: #333;
  4231. }
  4232. button-2 {
  4233. min-height: 16px;
  4234. display: flex;
  4235. justify-content: center;
  4236. align-items: center;
  4237. border: var(--basic-border);
  4238. border-radius: var(--basic-border-radius);
  4239. box-sizing: border-box;
  4240. padding-left: calc(var(--basic-padding) * 2);
  4241. padding-right: calc(var(--basic-padding) * 2);
  4242. padding-top: var(--basic-padding);
  4243. padding-bottom: var(--basic-padding);
  4244. background-color: var(--bg-2);
  4245. &:hover {
  4246. background-color: var(--hover);
  4247. }
  4248. value {
  4249. flex-grow: 1;
  4250. overflow-x: hidden;
  4251. white-space: nowrap;
  4252. text-overflow: ellipsis;
  4253. }
  4254. &:active {
  4255. box-shadow: inset var(--sublte-shadow);
  4256. }
  4257. &.no-border {
  4258. background-color: red;
  4259. border: none;
  4260. color: #777;
  4261. &:hover {
  4262. color: #AAA;
  4263. }
  4264. }
  4265. }
  4266. /** GenericGraphEditor**/
  4267. graph-editor-root {
  4268. width: 100%;
  4269. height: 100%;
  4270. box-sizing: border-box;
  4271. display: flex;
  4272. justify-items: stretch;
  4273. align-items: stretch;
  4274. graph-container {
  4275. display: flex;
  4276. flex: 1 1;
  4277. background-color: var(--bg-1);
  4278. position: relative;
  4279. preview-container {
  4280. z-index: 1;
  4281. position: absolute;
  4282. min-width: 150px;
  4283. min-height: 150px;
  4284. right: 16px;
  4285. bottom: 16px;
  4286. height: 300px;
  4287. width: 300px;
  4288. border: var(--basic-border);
  4289. overflow: hidden;
  4290. border-radius: var(--basic-border-radius);
  4291. box-shadow: var(--basic-shadow);
  4292. .resize-handle {
  4293. --size: 5px;
  4294. position: absolute;
  4295. background-color: transparent;
  4296. &:hover {
  4297. background-color: var(--hover-highlight);
  4298. }
  4299. &.up {
  4300. left: 0px;
  4301. right: 0px;
  4302. top: 0px;
  4303. height: var(--size);
  4304. &:hover {
  4305. cursor: n-resize;
  4306. }
  4307. }
  4308. &.up-left {
  4309. left: 0;
  4310. top: 0;
  4311. height: calc(var(--size) * 2);
  4312. width: calc(var(--size) * 2);
  4313. &:hover {
  4314. cursor: nw-resize;
  4315. }
  4316. }
  4317. &.left {
  4318. left: 0px;
  4319. top: 0px;
  4320. bottom: 0px;
  4321. width: var(--size);
  4322. &:hover {
  4323. cursor: e-resize;
  4324. }
  4325. }
  4326. }
  4327. .hide-toolbar2 {
  4328. position: absolute;
  4329. top: 8px;
  4330. right: 8px;
  4331. }
  4332. }
  4333. }
  4334. properties-container {
  4335. padding: var(--basic-padding);
  4336. display: flex;
  4337. flex-direction: column;
  4338. flex-basis: 300px;
  4339. border-left: var(--basic-border);
  4340. background-color: var(--bg-1);
  4341. graph-parameters {
  4342. display: flex;
  4343. flex-direction: column;
  4344. flex-grow: 1;
  4345. min-width: 0;
  4346. min-height: 0;
  4347. h1 {
  4348. font-size: 1.2em;
  4349. }
  4350. }
  4351. .anim-list {
  4352. flex-grow: 0;
  4353. flex-shrink: 0;
  4354. }
  4355. }
  4356. }
  4357. :root {
  4358. --fancy-border-color: #555;
  4359. --fancy-border-color-focus: rgba(114, 180, 255, 0.75);
  4360. --fancy-main-text-color: #FFF;
  4361. --fancy-quiet-text-color: #999;
  4362. }
  4363. .fancy-small {
  4364. fancy-button, fancy-button& {
  4365. --size: 22px;
  4366. }
  4367. }
  4368. .fancy-normal {
  4369. fancy-button, fancy-button& {
  4370. --size: 28px;
  4371. }
  4372. }
  4373. .fancy-big {
  4374. fancy-button, fancy-button& {
  4375. --size: 36px;
  4376. }
  4377. }
  4378. fancy-toolbar {
  4379. display: flex;
  4380. flex-direction: row;
  4381. align-items: center;
  4382. padding-top: 2px;
  4383. padding-bottom: 2px;
  4384. padding-left: 0.25em;
  4385. padding-right: 0.25em;
  4386. }
  4387. fancy-toolbar.shadow, fancy-closable.shadow {
  4388. position: relative;
  4389. background-color: #272727;
  4390. box-shadow: 2px 2px 2px rgba(0,0,0,0.2);
  4391. z-index: 1;
  4392. }
  4393. fancy-button {
  4394. position: relative;
  4395. --size: 28px;
  4396. border: 1px solid var(--fancy-border-color);
  4397. flex-shrink: 0;
  4398. border-radius: var(--radius);
  4399. text-align: center;
  4400. height: var(--size);
  4401. min-width: var(--size);
  4402. display: inline-flex;
  4403. flex-direction: row;
  4404. align-items: center;
  4405. justify-content: space-evenly;
  4406. user-select: none;
  4407. color: #DDD;
  4408. &:has(.label), &.dropdown {
  4409. padding-left: 0.5em;
  4410. padding-right: 0.5em;
  4411. //aspect-ratio: unset;
  4412. }
  4413. &.dropdown::after {
  4414. font-family: "FontAwesome";
  4415. content: "\f078";
  4416. font-size: 0.5em;
  4417. }
  4418. gap: 0.5em;
  4419. font-size: calc(var(--size) * 0.5);
  4420. .label {
  4421. font-weight: 200;
  4422. text-rendering: optimizeLegibility;
  4423. }
  4424. &:hover {
  4425. background-color: #555;
  4426. }
  4427. &:active {
  4428. translate: 0px 1px;
  4429. }
  4430. &.quiet {
  4431. border: none;
  4432. padding: 1px;
  4433. }
  4434. &.quieter {
  4435. border: none;
  4436. padding: 1px;
  4437. color: var(--fancy-quiet-text-color);
  4438. &:hover {
  4439. background: none;
  4440. color: var(--fancy-main-text-color);
  4441. }
  4442. }
  4443. &.compact {
  4444. min-width: unset;
  4445. .ico {
  4446. font-size: 0.7em;
  4447. }
  4448. }
  4449. margin-left: 0px;
  4450. --radius: 3px;
  4451. /* remove start rounded corner if previous element is a fancy button */
  4452. &:has(+ &) {
  4453. border-start-end-radius: 0;
  4454. border-end-end-radius: 0;
  4455. }
  4456. /* remove end rounded corners if next element is a fancy-button */
  4457. & + & {
  4458. border-start-start-radius: 0;
  4459. border-end-start-radius: 0;
  4460. margin-left: -1px;
  4461. }
  4462. &.selected {
  4463. color: #000;
  4464. background-color: #DDD;
  4465. &:hover {
  4466. background-color: #FFF;
  4467. }
  4468. }
  4469. }
  4470. fancy-separator {
  4471. border: none;
  4472. height: 0;
  4473. min-width: 0;
  4474. max-width: 0;
  4475. padding: 0;
  4476. margin: 0 0.5em;
  4477. height: 16px;
  4478. }
  4479. fancy-array {
  4480. box-sizing: border-box;
  4481. * {
  4482. box-sizing: border-box;
  4483. }
  4484. padding: var(--basic-padding);
  4485. border-radius: var(--basic-border-radius);
  4486. border: var(--basic-border);
  4487. display: flex;
  4488. flex-direction: column;
  4489. align-items: stretch;
  4490. background-color: var(--bg-2);
  4491. overflow-y: auto;
  4492. fancy-array {
  4493. padding-right: -1px;
  4494. }
  4495. fancy-items {
  4496. display: flex;
  4497. flex-direction: column;
  4498. gap: 2px;
  4499. justify-content: stretch;
  4500. fancy-item {
  4501. display: flex;
  4502. flex-direction: column;
  4503. position: relative;
  4504. &.reveal {
  4505. outline: 2px solid;
  4506. animation-duration: 0.75s;
  4507. animation-name: focus-show;
  4508. outline-color: transparent;
  4509. outline-offset: -2px;
  4510. z-index: 1;
  4511. }
  4512. @keyframes focus-show {
  4513. 0%, 25%, 50%, 75% {
  4514. outline-color: rgba(67, 87, 143, 1.0);
  4515. }
  4516. 12%, 37%, 62% {
  4517. outline-color: rgb(123, 140, 185);
  4518. }
  4519. 100% {
  4520. outline-color: rgba(67, 87, 143, 0.0);
  4521. }
  4522. }
  4523. fancy-item-header {
  4524. display: flex;
  4525. color: var(--fancy-quiet-text-color);
  4526. border-radius: 3px;
  4527. background-color: #444;
  4528. align-items: center;
  4529. >input[type="text"] {
  4530. min-width: 0;
  4531. width: 0;
  4532. flex-grow: 1;
  4533. background: none;
  4534. outline: none;
  4535. border: none;
  4536. font-size: 14px;
  4537. &:hover {
  4538. outline: 1px solid var(--fancy-border-color);
  4539. border-radius: 3px;
  4540. }
  4541. &:focus {
  4542. outline: 1px solid var(--fancy-border-color-focus);
  4543. border-radius: 3px;
  4544. }
  4545. }
  4546. }
  4547. fancy-item-content {
  4548. display: none;
  4549. padding: 1em 1em;
  4550. padding-right: 0px;
  4551. padding-right: 0;
  4552. }
  4553. .toggle-open * {
  4554. transition: transform 0.2s;
  4555. }
  4556. &.open {
  4557. > fancy-item-header .toggle-open *{
  4558. transform: rotate(90deg);
  4559. }
  4560. fancy-item-header {
  4561. border-bottom-left-radius: 0;
  4562. border-bottom-right-radius: 0;
  4563. }
  4564. > fancy-item-content{
  4565. display: block;
  4566. background-color: #2d2d2d;
  4567. border-top: none;
  4568. border-bottom-left-radius: var(--basic-border-radius);
  4569. border-bottom-right-radius: var(--basic-border-radius);
  4570. }
  4571. }
  4572. &.hovertop:before, &.hoverbot:after {
  4573. display: block;
  4574. position: absolute;
  4575. z-index: 100;
  4576. margin: 0 auto;
  4577. width: 100%;
  4578. content: "";
  4579. }
  4580. &:before {
  4581. background: linear-gradient(0deg, rgba(114, 180, 255, 0.0) 0%, rgba(114, 180, 255, 0.75) 100%);
  4582. top: -2px;
  4583. height: 10px;
  4584. pointer-events: none;
  4585. }
  4586. &:after {
  4587. background: linear-gradient(180deg, rgba(114, 180, 255, 0.0) 0%, rgba(114, 180, 255, 0.75) 100%);
  4588. height: 10px;
  4589. bottom: -2px;
  4590. pointer-events: none;
  4591. }
  4592. }
  4593. }
  4594. }
  4595. center-content {
  4596. width: 100%;
  4597. height: 100%;
  4598. display: flex;
  4599. flex-direction: column;
  4600. align-items: center;
  4601. justify-content: center;
  4602. }
  4603. /** Blendspace2dEditor **/
  4604. blend-space-2d-root {
  4605. width: 100%;
  4606. height: 100%;
  4607. box-sizing: border-box;
  4608. display: flex;
  4609. flex-direction: row;
  4610. justify-items: stretch;
  4611. align-items: stretch;
  4612. main-panel {
  4613. flex: 1;
  4614. display: flex;
  4615. flex-direction: column;
  4616. justify-items: stretch;
  4617. align-items: stretch;
  4618. preview-container {
  4619. position: relative;
  4620. background-color: var(--bg-1);
  4621. flex: 1;
  4622. .scene-preview {
  4623. width: 100%;
  4624. height: 100%;
  4625. }
  4626. .hide-toolbar2 {
  4627. position: absolute;
  4628. top: 8px;
  4629. right: 8px;
  4630. }
  4631. }
  4632. graph-container {
  4633. height: 40%;
  4634. position: relative;
  4635. background-color: var(--bg-1);
  4636. margin: 16px;
  4637. svg {
  4638. width: 100%;
  4639. height: 100%;
  4640. box-sizing: border-box;
  4641. border: var(--basic-border);
  4642. .tri {
  4643. stroke: #888;
  4644. stroke-width: 1;
  4645. fill: rgba(114, 180, 255, 0.226);
  4646. }
  4647. .grid {
  4648. stroke: #444;
  4649. stroke-dasharray: 4;
  4650. stroke-width: 1;
  4651. }
  4652. .grid-label {
  4653. fill: #AAA;
  4654. text-anchor: middle;
  4655. }
  4656. .bs-point {
  4657. fill: black;
  4658. stroke: white;
  4659. stroke-width: 2;
  4660. &.hover {
  4661. stroke-width: 4;
  4662. }
  4663. &.selected {
  4664. stroke: var(--selection);
  4665. }
  4666. }
  4667. .preview-axis {
  4668. fill: none;
  4669. stroke: #008a00;
  4670. stroke-width: 2;
  4671. }
  4672. .preview-axis-real {
  4673. fill: none;
  4674. stroke: #008a00;
  4675. stroke-width: 1;
  4676. }
  4677. }
  4678. drag-handler {
  4679. z-index: 1;
  4680. position: absolute;
  4681. left: 0;
  4682. bottom: 0;
  4683. right: 0;
  4684. top: 0;
  4685. }
  4686. }
  4687. }
  4688. properties-container {
  4689. padding: var(--basic-padding);
  4690. display: flex;
  4691. flex-direction: column;
  4692. width: 320px;
  4693. border-left: var(--basic-border);
  4694. background-color: var(--bg-1);
  4695. parameters-container {
  4696. flex-grow: 1;
  4697. }
  4698. .hide-properties {
  4699. padding: 1em;
  4700. display: flex;
  4701. flex-direction: column;
  4702. gap: 0.5em;
  4703. input {
  4704. min-width: 0;
  4705. width: 0;
  4706. }
  4707. dl {
  4708. display: grid;
  4709. grid-template-columns: 6em minmax(0, 1fr);
  4710. row-gap: 1px;
  4711. column-gap: 0.5em;
  4712. width: 100%;
  4713. > div {
  4714. display: grid;
  4715. grid-column: 1 / -1;
  4716. grid-template-columns: subgrid;
  4717. align-items: center;
  4718. > dt {
  4719. width: unset;
  4720. text-align: right;
  4721. }
  4722. > dd {
  4723. width: unset;
  4724. margin-left: 0;
  4725. display: flex;
  4726. justify-content: stretch;
  4727. > * {
  4728. flex: 1 1;
  4729. }
  4730. }
  4731. .hide-range {
  4732. display: flex;
  4733. input[type="range"] {
  4734. min-width: 0;
  4735. width: 0;
  4736. flex: 1 1;
  4737. }
  4738. input[type="text"] {
  4739. min-width: 0;
  4740. width: 0;
  4741. flex: 0 0 4em;
  4742. }
  4743. }
  4744. }
  4745. }
  4746. }
  4747. }
  4748. }
  4749. .basic-border {
  4750. padding: var(--basic-padding);
  4751. border: var(--basic-border);
  4752. border-radius: var(--basic-border-radius);
  4753. }
  4754. .anim-list {
  4755. padding: var(--basic-padding);
  4756. border: var(--basic-border);
  4757. border-radius: var(--basic-border-radius);
  4758. height: 400px;
  4759. display: flex;
  4760. flex-direction: column;
  4761. h1 {
  4762. font-size: 1em;
  4763. padding: 0;
  4764. margin: 0;
  4765. font-weight: normal;
  4766. }
  4767. > ul {
  4768. flex-grow: 1;
  4769. overflow: auto;
  4770. border: var(--basic-border);
  4771. border-radius: var(--basic-border-radius);
  4772. padding: var(--basic-padding);
  4773. > li {
  4774. &:hover {
  4775. background-color: var(--hover-highlight);
  4776. }
  4777. border-radius: var(--basic-border-radius);
  4778. }
  4779. }
  4780. }
  4781. .array-sub-buttons {
  4782. display: flex;
  4783. justify-content: flex-end;
  4784. .add {
  4785. padding: 5px 10px 5px 10px;
  4786. background: @color-menu-bg-highlight;
  4787. border-radius: 0px 0px 3px 3px;
  4788. margin: 0 5px 0 5px;
  4789. cursor: pointer;
  4790. &:hover {
  4791. &::before {
  4792. filter: brightness(80%);
  4793. }
  4794. }
  4795. }
  4796. }
  4797. .hide-gym {
  4798. background-color: #111;
  4799. padding: 2em;
  4800. box-sizing: border-box;
  4801. h1 {
  4802. font-size: 1.1em;
  4803. }
  4804. details {
  4805. summary {
  4806. font-size: 1.5em;
  4807. background-color: #333;
  4808. padding: var(--basic-padding);
  4809. border-radius: var(--basic-border-radius);
  4810. }
  4811. padding: 1em;
  4812. background-color: #222;
  4813. border-radius: var(--basic-border-radius);
  4814. }
  4815. }
  4816. .merge-bottom {
  4817. border-bottom-right-radius: 0;
  4818. }
  4819. .merge-top {
  4820. border-top-right-radius: 0;
  4821. border-top-left-radius: 0;
  4822. align-self: flex-end;
  4823. margin-top: -1px;
  4824. background-color: #353535;
  4825. border: none;
  4826. }
  4827. .subtle-title {
  4828. margin: 0;
  4829. margin-left: 0.5em;
  4830. font-weight: normal;
  4831. font-style: italic;
  4832. font-size: 1.2em;
  4833. }
  4834. .fancy-hide {
  4835. display: none;
  4836. }
  4837. file-browser {
  4838. display: flex;
  4839. flex-direction: row;
  4840. &.vertical {
  4841. flex-direction: column;
  4842. }
  4843. &.single > .left {
  4844. flex: 1 1;
  4845. }
  4846. height: 100%;
  4847. width: 100%;
  4848. .left {
  4849. width: 300px;
  4850. min-width: 100px;
  4851. background-color: mediumaquamarine;
  4852. }
  4853. .right {
  4854. flex: 1 1;
  4855. display: flex;
  4856. flex-direction: column;
  4857. .footer {
  4858. height: 12px;
  4859. font-size: 11px;
  4860. background-color: #272727;
  4861. }
  4862. }
  4863. }
  4864. fancy-flex-fill {
  4865. flex: 1 1;
  4866. }
  4867. fancy-icon {
  4868. aspect-ratio: 1/1;
  4869. height: 1em;
  4870. display: block;
  4871. mask-size: contain;
  4872. background-color: currentColor;
  4873. mask-mode: luminance;
  4874. mask-repeat: no-repeat;
  4875. mask-position: center;
  4876. &.small {
  4877. height: 12px;
  4878. }
  4879. &.med {
  4880. height: 18px;
  4881. }
  4882. &.big {
  4883. height: 22px;
  4884. }
  4885. &.fi-right-caret { mask-image: url("res/icons/svg/right_caret.svg"); }
  4886. &.fi-close { mask-image: url("res/icons/svg/close.svg"); }
  4887. &.fi-search { mask-image: url("res/icons/svg/search.svg"); }
  4888. }
  4889. fancy-search {
  4890. position: relative;
  4891. flex: 1 1;
  4892. padding: 2px;
  4893. max-width: 400px;
  4894. &, * {
  4895. box-sizing: border-box;
  4896. }
  4897. > input {
  4898. border: var(--basic-border);
  4899. border-radius: var(--basic-border-radius);
  4900. &:hover {
  4901. border: var(--basic-border-hover);
  4902. }
  4903. &:focus {
  4904. border: var(--basic-border-focused);
  4905. outline: none;
  4906. }
  4907. min-width: 0;
  4908. width: 100%;
  4909. height: 100%;
  4910. }
  4911. .search-icon {
  4912. position: absolute;
  4913. right: 0.5em;
  4914. top: 50%;
  4915. transform: translateY(-50%);
  4916. color: #999;
  4917. z-index: 1;
  4918. }
  4919. }
  4920. fancy-tree {
  4921. --anim-speed: 0.1s;
  4922. background-color: #222;
  4923. height: 100%;
  4924. display: flex;
  4925. flex-direction: column;
  4926. &:focus {
  4927. outline: none;
  4928. }
  4929. fancy-scroll {
  4930. display: block;
  4931. width: 100%;
  4932. flex: 1 1;
  4933. min-width: 100px;
  4934. overflow-x: clip;
  4935. overflow-y: auto;
  4936. fancy-item-container {
  4937. position: relative;
  4938. display: block;
  4939. overflow: hidden;
  4940. contain: strict;
  4941. }
  4942. fancy-tree-item {
  4943. position: absolute;
  4944. --depth: 0;
  4945. --highlight: 0;
  4946. width: 100%;
  4947. top: 0;
  4948. contain: strict;
  4949. display: flex;
  4950. &.hidden {
  4951. filter: opacity(40%);
  4952. }
  4953. &.hide-search {
  4954. overflow: hidden;
  4955. height: 0px;
  4956. display: none;
  4957. }
  4958. &.open> .caret::before {
  4959. transform: rotate(90deg);
  4960. }
  4961. &.selected {
  4962. color: white;
  4963. --background: var(--selection);
  4964. }
  4965. &.editorOnly {
  4966. color: rgb(2, 174, 218);
  4967. }
  4968. &.inGameOnly {
  4969. color: rgb(218, 168, 2);
  4970. }
  4971. &.hidden {
  4972. color: #555;
  4973. }
  4974. &.locked {
  4975. font-style: italic;
  4976. }
  4977. &.disabled {
  4978. color: #ee6666;
  4979. }
  4980. &.inRef {
  4981. background: rgb(58, 58, 58);
  4982. }
  4983. &.isOverride {
  4984. background: rgb(12, 35, 70);
  4985. }
  4986. &.isOverride.isOverriden {
  4987. color: cyan;
  4988. }
  4989. &.isOverride.isOverriden.isOverridenNew {
  4990. color: rgb(38, 199, 38);
  4991. }
  4992. // Select if we have a children that is selected
  4993. &:has(fancy-tree-children .selected) > fancy-tree-header {
  4994. fancy-tree-name {
  4995. text-decoration: underline var(--selection);
  4996. }
  4997. }
  4998. &.current {
  4999. outline: dashed 1px #AAA;
  5000. z-index: 10;
  5001. outline-offset: -1px;
  5002. }
  5003. &:hover {
  5004. background-color: var(--hover);
  5005. }
  5006. fancy-button.quieter {
  5007. --size: 16px;
  5008. font-size: 12px;
  5009. pointer-events: all;
  5010. color: #CCC;
  5011. &.button-hidden {
  5012. visibility: hidden;
  5013. }
  5014. text-shadow: 1px 1px 1px rgba(.0,.0,.0,.75);
  5015. }
  5016. .hidden {
  5017. visibility: hidden;
  5018. }
  5019. box-sizing: border-box;
  5020. --padding: calc((var(--depth) - 1) * 1.0em + 0.25em);
  5021. padding-left: var(--padding);
  5022. box-sizing: border-box;
  5023. height: 20px;
  5024. max-height: 20px;
  5025. min-height: 20px;
  5026. --background: #222;
  5027. background-color: e("hsl(from var(--background) h s calc(var(--highlight) + l))");
  5028. display: flex;
  5029. &:hover {
  5030. --highlight: 10;
  5031. cursor: pointer;
  5032. fancy-button.hidden {
  5033. visibility: visible;
  5034. }
  5035. }
  5036. fancy-tree-icon {
  5037. align-self: center;
  5038. width: 16px;
  5039. height: 16px;
  5040. display: block;
  5041. flex-shrink: 0;
  5042. filter: drop-shadow(1px 1px rgba(0,0,0,0.5));
  5043. &.caret {
  5044. width: 16px;
  5045. height: 16px;
  5046. &::before {
  5047. content: "";
  5048. position: absolute;
  5049. top: 0; left: 0;
  5050. margin: 2px;
  5051. width: 12px; height: 12px;
  5052. transition: transform var(--anim-speed);
  5053. background-color: currentColor;
  5054. mask-image: url("res/icons/svg/right_caret.svg");
  5055. mask-position: center;
  5056. mask-repeat: no-repeat;
  5057. mask-size: contain;
  5058. pointer-events: all;
  5059. }
  5060. }
  5061. }
  5062. fancy-tree-name {
  5063. display: block;
  5064. text-overflow: ellipsis;
  5065. align-self: stretch;
  5066. overflow: clip;
  5067. text-wrap: nowrap;
  5068. flex-shrink: 1;
  5069. filter: drop-shadow(1px 1px rgba(0,0,0,0.5));
  5070. min-width: 2em;
  5071. padding: 1px;
  5072. padding-left: 0;
  5073. align-content: center;
  5074. &:focus {
  5075. z-index: 100;
  5076. background-color: #222;
  5077. outline-offset: 1px;
  5078. }
  5079. >span.search-hl {
  5080. background-color: var(--selection);
  5081. color: white;
  5082. }
  5083. }
  5084. &.feedback-drop-top::after {
  5085. position: absolute;
  5086. content: "";
  5087. display: block;
  5088. left: var(--padding);
  5089. right: 0;
  5090. top: 0;
  5091. border-top: solid 1px var(--drop-feedback);
  5092. z-index: 10;
  5093. pointer-events: none;
  5094. }
  5095. &.feedback-drop-bot::after {
  5096. position: absolute;
  5097. content: "";
  5098. display: block;
  5099. left: var(--padding);
  5100. right: 0;
  5101. bottom: 0;
  5102. border-top: solid 1px var(--drop-feedback);
  5103. z-index: 10;
  5104. pointer-events: none;
  5105. }
  5106. &.feedback-drop-in::after {
  5107. position: absolute;
  5108. content: "";
  5109. display: block;
  5110. left: var(--padding);
  5111. right: 0;
  5112. bottom: 0;
  5113. top: 0;
  5114. border: solid 1px var(--drop-feedback);
  5115. z-index: 10;
  5116. pointer-events: none;
  5117. }
  5118. }
  5119. }
  5120. &.overlay {
  5121. background-color: transparent;
  5122. fancy-scroll {
  5123. fancy-tree-item {
  5124. &:hover {
  5125. color: #e2e2e2;
  5126. }
  5127. background: transparent;
  5128. }
  5129. }
  5130. }
  5131. }
  5132. fancy-gallery {
  5133. display: flex;
  5134. flex-direction: column;
  5135. overflow: none;
  5136. flex-grow: 0;
  5137. flex-shrink: 1;
  5138. align-self: stretch;
  5139. min-width: 0;
  5140. min-height: 0;
  5141. width: 100%;
  5142. height: 100%;
  5143. &,* {
  5144. box-sizing: border-box;
  5145. }
  5146. contain: strict;
  5147. fancy-scroll {
  5148. flex: 1 1;
  5149. overflow-y: scroll;
  5150. fancy-item-container {
  5151. position: relative;
  5152. display: block;
  5153. overflow: hidden;
  5154. width: 100%;
  5155. min-height: 100%;
  5156. contain: strict;
  5157. }
  5158. }
  5159. }
  5160. fancy-gallery fancy-item, fancy-tooltip fancy-item {
  5161. padding: 4px;
  5162. position: absolute;
  5163. align-items: stretch;
  5164. overflow: hidden;
  5165. contain: layout paint size style;
  5166. background-color: #282828;
  5167. border-radius: 6px;
  5168. color: #aaa;
  5169. contain: strict;
  5170. &:hover {
  5171. background-color: var(--hover);
  5172. }
  5173. &.selected {
  5174. color: white;
  5175. background-color: var(--selection);
  5176. }
  5177. &.current {
  5178. outline: dashed 1px #AAA;
  5179. z-index: 10;
  5180. outline-offset: -1px;
  5181. }
  5182. box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.4);
  5183. &.details {
  5184. padding: 0;
  5185. display: flex;
  5186. align-items: flex-end;
  5187. box-shadow: unset;
  5188. border-radius: unset;
  5189. gap: 0.4em;
  5190. }
  5191. fancy-thumbnail {
  5192. flex: 0 1;
  5193. display: block;
  5194. width: 100%;
  5195. height: 100%;
  5196. }
  5197. .icon-placement {
  5198. position: absolute;
  5199. color: white;
  5200. bottom: 2px;
  5201. right: 2px;
  5202. filter: drop-shadow(2px 2px 2px rgb(0 0 0 / 70%));
  5203. }
  5204. .thumb {
  5205. transform: unset;
  5206. }
  5207. // .loading {
  5208. // // content: strict;
  5209. // // animation: spinner 5.0s linear infinite;
  5210. // // transform: rotate(0deg);
  5211. // // @keyframes spinner {
  5212. // // to { transform: rotate(360deg); }
  5213. // // }
  5214. // }
  5215. &.details fancy-image {
  5216. height: 100%;
  5217. width: auto;
  5218. aspect-ratio: 1 / 1;
  5219. }
  5220. fancy-name {
  5221. position: absolute;
  5222. bottom: 2px;
  5223. left: 2px;
  5224. right: 2px;
  5225. height: 32px;
  5226. display: block;
  5227. text-align: center;
  5228. text-wrap: wrap;
  5229. word-break: break-all;
  5230. text-overflow: ellipsis;
  5231. overflow: hidden;
  5232. >span.search-hl {
  5233. background-color: var(--selection);
  5234. color: white;
  5235. }
  5236. }
  5237. &.details fancy-name {
  5238. position: relative;
  5239. height: auto;
  5240. text-align: left;
  5241. }
  5242. &.details .icon-placement {
  5243. position: relative;
  5244. flex: 0 1;
  5245. filter: unset;
  5246. color : #AAA;
  5247. margin-left: 0.2em;
  5248. font-size: 0.8em;
  5249. }
  5250. }
  5251. fancy-image {
  5252. display: block;
  5253. width: 100%;
  5254. aspect-ratio: 1 / 1;
  5255. background-position: center;
  5256. background-repeat: no-repeat;
  5257. background-size: cover;
  5258. transform: scale(0.75,0.75);
  5259. }
  5260. fancy-breadcrumbs {
  5261. fancy-breadcrumbs-separator {
  5262. padding: 0.5em;
  5263. }
  5264. }
  5265. fancy-closable {
  5266. * {
  5267. box-sizing: border-box;
  5268. }
  5269. overflow: hidden;
  5270. height: 0px;
  5271. }
  5272. fancy-tooltip {
  5273. z-index: 1;
  5274. position: absolute;
  5275. pointer-events: none;
  5276. border: none;
  5277. box-shadow: none;
  5278. outline: none;
  5279. background: none;
  5280. box-shadow: var(--basic-shadow);
  5281. margin: 0;
  5282. overflow: visible;
  5283. // fancy-image {
  5284. // transform: none;
  5285. // }
  5286. }
  5287. .fancy-status-icon {
  5288. position: relative;
  5289. &::after {
  5290. content: " ";
  5291. aspect-ratio: 1/1;
  5292. height: 1em;
  5293. display: block;
  5294. mask-size: contain;
  5295. background-color: currentColor;
  5296. mask-mode: luminance;
  5297. mask-repeat: no-repeat;
  5298. mask-position: center;
  5299. width: 6px;
  5300. height: 6px;
  5301. position: absolute;
  5302. left: -2px;
  5303. bottom: 1px;
  5304. }
  5305. &.fancy-status-icon-ok::after {
  5306. mask-image: url("res/icons/svg/dot.svg");
  5307. color: #87D58E;
  5308. }
  5309. &.fancy-status-icon-modified::after {
  5310. mask-image: url("res/icons/svg/dot.svg");
  5311. color: #FE383A;
  5312. }
  5313. }
  5314. .lm_tabdropdown_list {
  5315. z-index: 9999 !important;
  5316. background-color: #111111;
  5317. }
  5318. .ref-viewer {
  5319. overflow-x: hidden;
  5320. >.header {
  5321. text-wrap: nowrap;
  5322. overflow: hidden;
  5323. border-left: 5px solid;
  5324. display: flex;
  5325. flex-direction: column;
  5326. margin: 10px 10px 10px 20px;
  5327. padding-left: 5px;
  5328. font-size: 1.1em;
  5329. .title {
  5330. font-weight: 600;
  5331. em {
  5332. font-weight: 400;
  5333. font-style: normal;
  5334. background-color: #404248;
  5335. border-radius: 10px;
  5336. padding: 2px 8px 2px 8px;
  5337. cursor: pointer;
  5338. &:hover {
  5339. background-color: #585a63;
  5340. }
  5341. }
  5342. }
  5343. .infos {
  5344. color : #c8c8ff;
  5345. }
  5346. }
  5347. .reference {
  5348. width: 100%;
  5349. .header {
  5350. display: flex;
  5351. align-items: center;
  5352. justify-content: center;
  5353. &:hover {
  5354. cursor: pointer;
  5355. background-color: #484848;
  5356. }
  5357. .icon {
  5358. margin: 0 5px 0 5px;
  5359. }
  5360. .file {
  5361. align-self: top;
  5362. margin-right: 10px;
  5363. font-weight: 800;
  5364. }
  5365. .path {
  5366. overflow: hidden;
  5367. flex-grow: 1;
  5368. font-weight: 200 !important;
  5369. }
  5370. .ref-count {
  5371. margin-right: 5px;
  5372. background-color: #404248;
  5373. padding: 1px 5px 1px 5px;
  5374. border-radius: 10px;
  5375. }
  5376. .folded {
  5377. transform: rotate(-90deg);
  5378. }
  5379. .ico:before {
  5380. font-size: 1.6em;
  5381. }
  5382. }
  5383. .content {
  5384. width: 100%;
  5385. display: flex;
  5386. flex-direction: column;
  5387. margin-left: 26px;
  5388. .result {
  5389. display: flex;
  5390. flex-direction: column;
  5391. overflow: hidden;
  5392. text-wrap: nowrap;
  5393. padding: 3px 0 3px 0;
  5394. .entry {
  5395. overflow: hidden;
  5396. cursor: pointer;
  5397. a {
  5398. &:hover {
  5399. color: rgb(200, 200, 255);
  5400. }
  5401. em {
  5402. font-style: normal;
  5403. background-color: #FFFFFF20;
  5404. }
  5405. }
  5406. }
  5407. }
  5408. }
  5409. }
  5410. }