components.scss 162 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657
  1. .app-body {
  2. -webkit-overflow-scrolling: touch;
  3. -ms-overflow-style: -ms-autohiding-scrollbar;
  4. }
  5. .animated-number {
  6. display: inline-flex;
  7. flex-direction: column;
  8. align-items: stretch;
  9. overflow: hidden;
  10. position: relative;
  11. }
  12. .inline-alert {
  13. color: $valid-value-color;
  14. font-weight: 400;
  15. .no-reduce-motion & {
  16. transition: opacity 200ms ease;
  17. }
  18. }
  19. .link-button {
  20. display: block;
  21. font-size: 15px;
  22. line-height: 20px;
  23. color: $highlight-text-color;
  24. border: 0;
  25. background: transparent;
  26. padding: 0;
  27. cursor: pointer;
  28. text-decoration: none;
  29. &--destructive {
  30. color: $error-value-color;
  31. }
  32. &:hover,
  33. &:active {
  34. text-decoration: underline;
  35. }
  36. &:disabled {
  37. color: $ui-primary-color;
  38. cursor: default;
  39. }
  40. }
  41. .button {
  42. background-color: $ui-button-background-color;
  43. border: 10px none;
  44. border-radius: 4px;
  45. box-sizing: border-box;
  46. color: $ui-button-color;
  47. cursor: pointer;
  48. display: inline-flex;
  49. align-items: center;
  50. justify-content: center;
  51. gap: 6px;
  52. font-family: inherit;
  53. font-size: 15px;
  54. font-weight: 500;
  55. letter-spacing: 0;
  56. line-height: 22px;
  57. overflow: hidden;
  58. padding: 7px 18px;
  59. position: relative;
  60. text-align: center;
  61. text-decoration: none;
  62. text-overflow: ellipsis;
  63. white-space: nowrap;
  64. width: auto;
  65. &:active,
  66. &:focus,
  67. &:hover {
  68. background-color: $ui-button-focus-background-color;
  69. }
  70. &:focus-visible {
  71. outline: $ui-button-icon-focus-outline;
  72. }
  73. &--destructive {
  74. &:active,
  75. &:focus,
  76. &:hover {
  77. background-color: $ui-button-destructive-focus-background-color;
  78. transition: none;
  79. }
  80. }
  81. &:disabled,
  82. &.disabled {
  83. background-color: $ui-primary-color;
  84. cursor: default;
  85. }
  86. &.copyable {
  87. transition: background 300ms linear;
  88. }
  89. &.copied {
  90. background: $valid-value-color;
  91. transition: none;
  92. }
  93. &.button-secondary {
  94. color: $ui-button-secondary-color;
  95. background: transparent;
  96. padding: 6px 17px;
  97. border: 1px solid $ui-button-secondary-border-color;
  98. &:active,
  99. &:focus,
  100. &:hover {
  101. border-color: $ui-button-secondary-focus-background-color;
  102. color: $ui-button-secondary-focus-color;
  103. background-color: $ui-button-secondary-focus-background-color;
  104. text-decoration: none;
  105. }
  106. &:disabled {
  107. opacity: 0.5;
  108. }
  109. }
  110. &.button-tertiary {
  111. background: transparent;
  112. padding: 6px 17px;
  113. color: $ui-button-tertiary-color;
  114. border: 1px solid $ui-button-tertiary-border-color;
  115. &:active,
  116. &:focus,
  117. &:hover {
  118. background-color: $ui-button-tertiary-focus-background-color;
  119. color: $ui-button-tertiary-focus-color;
  120. border: 0;
  121. padding: 7px 18px;
  122. }
  123. &:disabled {
  124. opacity: 0.5;
  125. }
  126. &.button--confirmation {
  127. color: $valid-value-color;
  128. border-color: $valid-value-color;
  129. &:active,
  130. &:focus,
  131. &:hover {
  132. background: $valid-value-color;
  133. color: $primary-text-color;
  134. }
  135. }
  136. &.button--destructive {
  137. color: $error-value-color;
  138. border-color: $error-value-color;
  139. &:active,
  140. &:focus,
  141. &:hover {
  142. background: $error-value-color;
  143. color: $primary-text-color;
  144. }
  145. }
  146. }
  147. &.button--block {
  148. width: 100%;
  149. }
  150. .icon {
  151. width: 18px;
  152. height: 18px;
  153. }
  154. }
  155. .column__wrapper {
  156. display: flex;
  157. flex: 1 1 auto;
  158. position: relative;
  159. }
  160. .icon {
  161. flex: 0 0 auto;
  162. width: 24px;
  163. height: 24px;
  164. aspect-ratio: 1;
  165. path {
  166. fill: currentColor;
  167. }
  168. }
  169. .icon-button {
  170. display: inline-flex;
  171. color: $action-button-color;
  172. border: 0;
  173. padding: 0;
  174. border-radius: 4px;
  175. background: transparent;
  176. cursor: pointer;
  177. align-items: center;
  178. justify-content: center;
  179. text-decoration: none;
  180. gap: 4px;
  181. flex: 0 0 auto;
  182. a {
  183. color: inherit;
  184. text-decoration: none;
  185. }
  186. &:hover,
  187. &:active,
  188. &:focus {
  189. color: lighten($action-button-color, 7%);
  190. background-color: rgba($action-button-color, 0.15);
  191. }
  192. &:focus-visible {
  193. outline: $ui-button-icon-focus-outline;
  194. }
  195. &.disabled {
  196. color: darken($action-button-color, 13%);
  197. background-color: transparent;
  198. cursor: default;
  199. }
  200. &.inverted {
  201. color: $lighter-text-color;
  202. &:hover,
  203. &:active,
  204. &:focus {
  205. color: darken($lighter-text-color, 7%);
  206. background-color: rgba($lighter-text-color, 0.15);
  207. }
  208. &:focus-visible {
  209. outline: $ui-button-icon-focus-outline;
  210. }
  211. &.disabled {
  212. color: lighten($lighter-text-color, 7%);
  213. background-color: transparent;
  214. }
  215. }
  216. &.active {
  217. color: $highlight-text-color;
  218. &:hover,
  219. &:active,
  220. &:focus {
  221. color: $highlight-text-color;
  222. background-color: transparent;
  223. }
  224. &.disabled {
  225. color: lighten($highlight-text-color, 13%);
  226. }
  227. }
  228. &.overlayed {
  229. box-sizing: content-box;
  230. background: rgba($black, 0.65);
  231. backdrop-filter: blur(10px) saturate(180%) contrast(75%) brightness(70%);
  232. color: rgba($white, 0.7);
  233. border-radius: 4px;
  234. padding: 2px;
  235. &:hover {
  236. background: rgba($black, 0.9);
  237. }
  238. }
  239. &__counter {
  240. display: block;
  241. width: auto;
  242. font-size: 12px;
  243. font-weight: 500;
  244. }
  245. &.copyable {
  246. transition: all 300ms linear;
  247. }
  248. &.copied {
  249. border-color: $valid-value-color;
  250. color: $valid-value-color;
  251. transition: none;
  252. background-color: rgba($valid-value-color, 0.15);
  253. }
  254. }
  255. .text-icon-button {
  256. color: $lighter-text-color;
  257. border: 0;
  258. border-radius: 4px;
  259. background: transparent;
  260. cursor: pointer;
  261. font-weight: 600;
  262. font-size: 11px;
  263. padding: 0 3px;
  264. line-height: 27px;
  265. white-space: nowrap;
  266. &:hover,
  267. &:active,
  268. &:focus {
  269. color: darken($lighter-text-color, 7%);
  270. background-color: rgba($lighter-text-color, 0.15);
  271. }
  272. &:focus-visible {
  273. outline: $ui-button-icon-focus-outline;
  274. }
  275. &.disabled {
  276. color: lighten($lighter-text-color, 20%);
  277. background-color: transparent;
  278. cursor: default;
  279. }
  280. &.active {
  281. color: $highlight-text-color;
  282. &:hover,
  283. &:active,
  284. &:focus {
  285. color: $highlight-text-color;
  286. background-color: transparent;
  287. }
  288. }
  289. }
  290. body > [data-popper-placement] {
  291. z-index: 3;
  292. }
  293. .invisible {
  294. font-size: 0;
  295. line-height: 0;
  296. display: inline-block;
  297. width: 0;
  298. height: 0;
  299. position: absolute;
  300. img,
  301. svg {
  302. margin: 0 !important;
  303. border: 0 !important;
  304. padding: 0 !important;
  305. width: 0 !important;
  306. height: 0 !important;
  307. }
  308. }
  309. .ellipsis {
  310. &::after {
  311. content: '…';
  312. }
  313. }
  314. .autosuggest-textarea {
  315. &__textarea {
  316. background: transparent;
  317. min-height: 100px;
  318. padding-bottom: 0;
  319. resize: none;
  320. scrollbar-color: initial;
  321. &::-webkit-scrollbar {
  322. all: unset;
  323. }
  324. }
  325. &__suggestions {
  326. box-shadow: var(--dropdown-shadow);
  327. background: $ui-base-color;
  328. border: 1px solid lighten($ui-base-color, 14%);
  329. border-radius: 0 0 4px 4px;
  330. color: $secondary-text-color;
  331. font-size: 14px;
  332. padding: 0;
  333. &__item {
  334. box-sizing: border-box;
  335. display: flex;
  336. align-items: center;
  337. height: 48px;
  338. cursor: pointer;
  339. font-size: 14px;
  340. line-height: 20px;
  341. letter-spacing: 0.25px;
  342. color: $secondary-text-color;
  343. &:last-child {
  344. border-radius: 0 0 4px 4px;
  345. }
  346. &:hover,
  347. &:focus,
  348. &:active,
  349. &.selected {
  350. background: $ui-highlight-color;
  351. color: $primary-text-color;
  352. .autosuggest-account .display-name__account {
  353. color: inherit;
  354. }
  355. }
  356. }
  357. }
  358. }
  359. .autosuggest-account,
  360. .autosuggest-emoji,
  361. .autosuggest-hashtag {
  362. flex: 1 0 0;
  363. display: flex;
  364. flex-direction: row;
  365. align-items: center;
  366. justify-content: flex-start;
  367. gap: 12px;
  368. padding: 8px 12px;
  369. overflow: hidden;
  370. text-overflow: ellipsis;
  371. }
  372. .autosuggest-account {
  373. .display-name {
  374. font-weight: 400;
  375. display: flex;
  376. flex-direction: column;
  377. flex: 1 0 0;
  378. }
  379. .display-name__account {
  380. display: block;
  381. line-height: 16px;
  382. font-size: 12px;
  383. color: $dark-text-color;
  384. }
  385. }
  386. .autosuggest-hashtag {
  387. justify-content: space-between;
  388. &__name {
  389. flex: 1 1 auto;
  390. overflow: hidden;
  391. text-overflow: ellipsis;
  392. white-space: nowrap;
  393. }
  394. &__uses {
  395. flex: 0 0 auto;
  396. text-align: end;
  397. overflow: hidden;
  398. text-overflow: ellipsis;
  399. white-space: nowrap;
  400. }
  401. }
  402. .autosuggest-emoji {
  403. &__name {
  404. flex: 1 0 0;
  405. overflow: hidden;
  406. text-overflow: ellipsis;
  407. white-space: nowrap;
  408. }
  409. }
  410. .autosuggest-account .account__avatar,
  411. .autosuggest-emoji img {
  412. display: block;
  413. width: 24px;
  414. height: 24px;
  415. flex: 0 0 auto;
  416. }
  417. .compose-form {
  418. display: flex;
  419. flex-direction: column;
  420. gap: 32px;
  421. .layout-multiple-columns &,
  422. .column & {
  423. padding: 15px;
  424. }
  425. &__highlightable {
  426. display: flex;
  427. flex-direction: column;
  428. gap: 16px;
  429. flex: 0 1 auto;
  430. border-radius: 4px;
  431. border: 1px solid lighten($ui-base-color, 8%);
  432. transition: border-color 300ms linear;
  433. min-height: 0;
  434. position: relative;
  435. background: $ui-base-color;
  436. overflow-y: auto;
  437. &.active {
  438. transition: none;
  439. border-color: $ui-highlight-color;
  440. }
  441. }
  442. &__warning {
  443. color: $inverted-text-color;
  444. background: $ui-primary-color;
  445. box-shadow: 0 2px 6px rgba($base-shadow-color, 0.3);
  446. padding: 8px 10px;
  447. border-radius: 4px;
  448. font-size: 13px;
  449. font-weight: 400;
  450. strong {
  451. color: $inverted-text-color;
  452. font-weight: 500;
  453. @each $lang in $cjk-langs {
  454. &:lang(#{$lang}) {
  455. font-weight: 700;
  456. }
  457. }
  458. }
  459. a {
  460. color: $lighter-text-color;
  461. font-weight: 500;
  462. text-decoration: underline;
  463. &:hover,
  464. &:active,
  465. &:focus {
  466. text-decoration: none;
  467. }
  468. }
  469. }
  470. .spoiler-input {
  471. display: flex;
  472. align-items: stretch;
  473. &__border {
  474. background: url('../images/warning-stripes.svg') repeat-y;
  475. width: 5px;
  476. flex: 0 0 auto;
  477. &:first-child {
  478. border-start-start-radius: 4px;
  479. }
  480. &:last-child {
  481. border-start-end-radius: 4px;
  482. }
  483. }
  484. .autosuggest-input {
  485. flex: 1 1 auto;
  486. border-bottom: 1px solid lighten($ui-base-color, 8%);
  487. }
  488. }
  489. .autosuggest-textarea__textarea,
  490. .spoiler-input__input {
  491. display: block;
  492. box-sizing: border-box;
  493. width: 100%;
  494. margin: 0;
  495. color: $secondary-text-color;
  496. background: $ui-base-color;
  497. font-family: inherit;
  498. font-size: 14px;
  499. padding: 12px;
  500. line-height: normal;
  501. border: 0;
  502. outline: 0;
  503. &:focus {
  504. outline: 0;
  505. }
  506. }
  507. .spoiler-input__input {
  508. padding: 12px 12px - 5px;
  509. background: mix($ui-base-color, $ui-highlight-color, 85%);
  510. color: $highlight-text-color;
  511. }
  512. &__dropdowns {
  513. display: flex;
  514. align-items: center;
  515. gap: 8px;
  516. & > div {
  517. overflow: hidden;
  518. display: flex;
  519. }
  520. }
  521. &__uploads {
  522. display: flex;
  523. gap: 8px;
  524. padding: 0 12px;
  525. flex-wrap: wrap;
  526. align-self: stretch;
  527. align-items: flex-start;
  528. align-content: flex-start;
  529. justify-content: center;
  530. }
  531. &__upload {
  532. flex: 1 1 0;
  533. min-width: calc(50% - 8px);
  534. &__actions {
  535. display: flex;
  536. align-items: flex-start;
  537. justify-content: space-between;
  538. padding: 8px;
  539. }
  540. &__preview {
  541. position: absolute;
  542. width: 100%;
  543. height: 100%;
  544. border-radius: 6px;
  545. z-index: -1;
  546. top: 0;
  547. inset-inline-start: 0;
  548. }
  549. &__thumbnail {
  550. width: 100%;
  551. height: 144px;
  552. border-radius: 6px;
  553. background-position: center;
  554. background-size: cover;
  555. background-repeat: no-repeat;
  556. overflow: hidden;
  557. }
  558. .icon-button {
  559. flex: 0 0 auto;
  560. color: $white;
  561. background: rgba(0, 0, 0, 75%);
  562. border-radius: 6px;
  563. font-size: 12px;
  564. line-height: 16px;
  565. font-weight: 500;
  566. padding: 4px 8px;
  567. font-family: inherit;
  568. .icon {
  569. width: 15px;
  570. height: 15px;
  571. }
  572. }
  573. .icon-button.compose-form__upload__delete {
  574. padding: 3px;
  575. border-radius: 50%;
  576. .icon {
  577. width: 18px;
  578. height: 18px;
  579. }
  580. }
  581. &__warning {
  582. position: absolute;
  583. z-index: 2;
  584. bottom: 0;
  585. inset-inline-start: 0;
  586. inset-inline-end: 0;
  587. padding: 8px;
  588. .icon-button.active {
  589. color: #ffbe2e;
  590. background: rgba(0, 0, 0, 75%);
  591. }
  592. }
  593. }
  594. &__footer {
  595. display: flex;
  596. flex-direction: column;
  597. gap: 12px;
  598. padding: 12px;
  599. padding-top: 0;
  600. }
  601. &__submit {
  602. display: flex;
  603. align-items: center;
  604. flex: 1 1 auto;
  605. max-width: 100%;
  606. overflow: hidden;
  607. }
  608. &__buttons {
  609. display: flex;
  610. gap: 8px;
  611. align-items: center;
  612. flex: 1 1 auto;
  613. & > div {
  614. display: flex;
  615. }
  616. .icon-button {
  617. padding: 3px;
  618. }
  619. .icon-button .icon {
  620. width: 18px;
  621. height: 18px;
  622. }
  623. }
  624. &__actions {
  625. display: flex;
  626. align-items: center;
  627. flex: 0 0 auto;
  628. gap: 12px;
  629. flex-wrap: wrap;
  630. .button {
  631. display: block; // Otherwise text-ellipsis doesn't work
  632. font-size: 14px;
  633. line-height: normal;
  634. font-weight: 700;
  635. flex: 1 1 auto;
  636. padding: 5px 12px;
  637. border-radius: 4px;
  638. }
  639. .icon-button {
  640. box-sizing: content-box;
  641. color: $highlight-text-color;
  642. &:hover,
  643. &:focus,
  644. &:active {
  645. color: $highlight-text-color;
  646. }
  647. &.disabled {
  648. color: $highlight-text-color;
  649. opacity: 0.5;
  650. }
  651. &.active {
  652. background: $ui-highlight-color;
  653. color: $primary-text-color;
  654. }
  655. }
  656. }
  657. &__poll {
  658. display: flex;
  659. flex-direction: column;
  660. align-self: stretch;
  661. gap: 8px;
  662. .poll__option {
  663. padding: 0 12px;
  664. gap: 8px;
  665. &.empty:not(:focus-within) {
  666. opacity: 0.5;
  667. }
  668. }
  669. .poll__input {
  670. width: 17px;
  671. height: 17px;
  672. border-color: $darker-text-color;
  673. }
  674. &__footer {
  675. display: flex;
  676. align-items: center;
  677. gap: 16px;
  678. padding-inline-start: 37px;
  679. padding-inline-end: 40px;
  680. &__sep {
  681. width: 1px;
  682. height: 22px;
  683. background: lighten($ui-base-color, 8%);
  684. flex: 0 0 auto;
  685. }
  686. }
  687. &__select {
  688. display: flex;
  689. flex-direction: column;
  690. gap: 2px;
  691. flex: 1 1 auto;
  692. min-width: 0;
  693. &__label {
  694. flex: 0 0 auto;
  695. font-size: 11px;
  696. font-weight: 500;
  697. line-height: 16px;
  698. letter-spacing: 0.5px;
  699. color: $darker-text-color;
  700. white-space: nowrap;
  701. text-overflow: ellipsis;
  702. overflow: hidden;
  703. }
  704. &__value {
  705. flex: 0 0 auto;
  706. appearance: none;
  707. background: transparent;
  708. border: none;
  709. padding: 0;
  710. font-size: 14px;
  711. font-weight: 500;
  712. line-height: 20px;
  713. letter-spacing: 0.1px;
  714. color: $highlight-text-color;
  715. white-space: nowrap;
  716. text-overflow: ellipsis;
  717. overflow: hidden;
  718. }
  719. }
  720. }
  721. }
  722. .dropdown-button {
  723. display: flex;
  724. align-items: center;
  725. gap: 4px;
  726. background: transparent;
  727. color: $highlight-text-color;
  728. border-radius: 6px;
  729. border: 1px solid $highlight-text-color;
  730. padding: 4px 8px;
  731. font-size: 13px;
  732. line-height: normal;
  733. font-weight: 400;
  734. overflow: hidden;
  735. text-overflow: ellipsis;
  736. white-space: nowrap;
  737. .icon {
  738. width: 15px;
  739. height: 15px;
  740. flex: 0 0 auto;
  741. }
  742. &__label {
  743. overflow: hidden;
  744. text-overflow: ellipsis;
  745. white-space: nowrap;
  746. flex: 1 1 auto;
  747. }
  748. &.active {
  749. background: $ui-highlight-color;
  750. border-color: $ui-highlight-color;
  751. color: $primary-text-color;
  752. }
  753. }
  754. .character-counter {
  755. cursor: default;
  756. font-family: $font-sans-serif, sans-serif;
  757. font-size: 14px;
  758. font-weight: 400;
  759. line-height: normal;
  760. color: $darker-text-color;
  761. flex: 1 0 auto;
  762. text-align: end;
  763. &.character-counter--over {
  764. color: $error-red;
  765. }
  766. }
  767. .no-reduce-motion .spoiler-input {
  768. transition:
  769. height 0.4s ease,
  770. opacity 0.4s ease;
  771. }
  772. .sign-in-banner {
  773. padding: 10px;
  774. p {
  775. color: $darker-text-color;
  776. margin-bottom: 20px;
  777. a {
  778. color: $secondary-text-color;
  779. text-decoration: none;
  780. unicode-bidi: isolate;
  781. &:hover {
  782. text-decoration: underline;
  783. }
  784. }
  785. }
  786. .button {
  787. margin-bottom: 10px;
  788. }
  789. }
  790. .emojione {
  791. font-size: inherit;
  792. vertical-align: middle;
  793. object-fit: contain;
  794. margin: -0.2ex 0.15em 0.2ex;
  795. width: 16px;
  796. height: 16px;
  797. img {
  798. width: auto;
  799. }
  800. }
  801. .status__content--with-action {
  802. cursor: pointer;
  803. }
  804. .status__content {
  805. clear: both;
  806. }
  807. .status__content,
  808. .edit-indicator__content,
  809. .reply-indicator__content {
  810. position: relative;
  811. word-wrap: break-word;
  812. font-weight: 400;
  813. overflow: hidden;
  814. text-overflow: ellipsis;
  815. font-size: 15px;
  816. line-height: 22px;
  817. padding-top: 2px;
  818. color: $primary-text-color;
  819. &:focus {
  820. outline: 0;
  821. }
  822. &.status__content--with-spoiler {
  823. white-space: normal;
  824. .status__content__text {
  825. white-space: pre-wrap;
  826. }
  827. }
  828. .emojione {
  829. width: 20px;
  830. height: 20px;
  831. margin: -3px 0 0;
  832. }
  833. p {
  834. margin-bottom: 22px;
  835. white-space: pre-wrap;
  836. unicode-bidi: plaintext;
  837. &:last-child {
  838. margin-bottom: 0;
  839. }
  840. }
  841. a {
  842. color: $secondary-text-color;
  843. text-decoration: none;
  844. unicode-bidi: isolate;
  845. &:hover {
  846. text-decoration: underline;
  847. }
  848. &.mention {
  849. &:hover {
  850. text-decoration: none;
  851. span {
  852. text-decoration: underline;
  853. }
  854. }
  855. }
  856. }
  857. a.unhandled-link {
  858. color: $highlight-text-color;
  859. }
  860. .status__content__spoiler-link {
  861. background: $action-button-color;
  862. &:hover,
  863. &:focus {
  864. background: lighten($action-button-color, 7%);
  865. text-decoration: none;
  866. }
  867. &::-moz-focus-inner {
  868. border: 0;
  869. }
  870. &::-moz-focus-inner,
  871. &:focus,
  872. &:active {
  873. outline: 0 !important;
  874. }
  875. }
  876. .status__content__text {
  877. display: none;
  878. &.status__content__text--visible {
  879. display: block;
  880. }
  881. }
  882. }
  883. .reply-indicator {
  884. display: grid;
  885. grid-template-columns: 46px minmax(0, 1fr);
  886. grid-template-rows: 46px max-content;
  887. gap: 0 10px;
  888. .detailed-status__display-name {
  889. margin-bottom: 4px;
  890. }
  891. .detailed-status__display-avatar {
  892. grid-column-start: 1;
  893. grid-row-start: 1;
  894. grid-row-end: span 1;
  895. }
  896. &__main {
  897. grid-column-start: 2;
  898. grid-row-start: 1;
  899. grid-row-end: span 2;
  900. }
  901. .display-name {
  902. font-size: 14px;
  903. line-height: 16px;
  904. &__account {
  905. display: none;
  906. }
  907. }
  908. &__line {
  909. grid-column-start: 1;
  910. grid-row-start: 2;
  911. grid-row-end: span 1;
  912. position: relative;
  913. &::before {
  914. display: block;
  915. content: '';
  916. position: absolute;
  917. inset-inline-start: 50%;
  918. top: 4px;
  919. transform: translateX(-50%);
  920. background: lighten($ui-base-color, 8%);
  921. width: 2px;
  922. height: calc(100% + 32px - 8px); // Account for gap to next element
  923. }
  924. }
  925. &__content {
  926. font-size: 14px;
  927. line-height: 20px;
  928. letter-spacing: 0.25px;
  929. display: -webkit-box;
  930. -webkit-line-clamp: 4;
  931. -webkit-box-orient: vertical;
  932. padding: 0;
  933. max-height: 4 * 20px;
  934. overflow: hidden;
  935. color: $darker-text-color;
  936. }
  937. &__attachments {
  938. margin-top: 4px;
  939. color: $darker-text-color;
  940. font-size: 12px;
  941. line-height: 16px;
  942. display: flex;
  943. align-items: center;
  944. gap: 4px;
  945. .icon {
  946. width: 18px;
  947. height: 18px;
  948. }
  949. }
  950. }
  951. .edit-indicator {
  952. border-radius: 4px 4px 0 0;
  953. background: lighten($ui-base-color, 4%);
  954. padding: 12px;
  955. overflow-y: auto;
  956. flex: 0 0 auto;
  957. border-bottom: 0.5px solid lighten($ui-base-color, 8%);
  958. display: flex;
  959. flex-direction: column;
  960. gap: 4px;
  961. &__header {
  962. display: flex;
  963. justify-content: space-between;
  964. align-items: center;
  965. color: $darker-text-color;
  966. font-size: 12px;
  967. line-height: 16px;
  968. overflow: hidden;
  969. text-overflow: ellipsis;
  970. }
  971. &__cancel {
  972. display: flex;
  973. .icon {
  974. width: 18px;
  975. height: 18px;
  976. }
  977. }
  978. &__display-name {
  979. display: flex;
  980. gap: 4px;
  981. a {
  982. color: inherit;
  983. text-decoration: none;
  984. &:hover,
  985. &:focus,
  986. &:active {
  987. text-decoration: underline;
  988. }
  989. }
  990. }
  991. &__content {
  992. color: $secondary-text-color;
  993. font-size: 14px;
  994. line-height: 20px;
  995. letter-spacing: 0.25px;
  996. padding-top: 0 !important;
  997. display: -webkit-box;
  998. -webkit-line-clamp: 4;
  999. -webkit-box-orient: vertical;
  1000. max-height: 4 * 20px;
  1001. overflow: hidden;
  1002. a {
  1003. color: $highlight-text-color;
  1004. }
  1005. }
  1006. &__attachments {
  1007. color: $darker-text-color;
  1008. font-size: 12px;
  1009. line-height: 16px;
  1010. opacity: 0.75;
  1011. display: flex;
  1012. align-items: center;
  1013. gap: 4px;
  1014. .icon {
  1015. width: 18px;
  1016. height: 18px;
  1017. }
  1018. }
  1019. }
  1020. .edit-indicator__content,
  1021. .reply-indicator__content {
  1022. .emojione {
  1023. width: 18px;
  1024. height: 18px;
  1025. margin: -3px 0 0;
  1026. }
  1027. }
  1028. .announcements__item__content {
  1029. word-wrap: break-word;
  1030. overflow-y: auto;
  1031. .emojione {
  1032. width: 20px;
  1033. height: 20px;
  1034. margin: -3px 0 0;
  1035. }
  1036. p {
  1037. margin-bottom: 10px;
  1038. white-space: pre-wrap;
  1039. &:last-child {
  1040. margin-bottom: 0;
  1041. }
  1042. }
  1043. a {
  1044. color: $secondary-text-color;
  1045. text-decoration: none;
  1046. &:hover {
  1047. text-decoration: underline;
  1048. }
  1049. &.mention {
  1050. &:hover {
  1051. text-decoration: none;
  1052. span {
  1053. text-decoration: underline;
  1054. }
  1055. }
  1056. }
  1057. &.unhandled-link {
  1058. color: $highlight-text-color;
  1059. }
  1060. }
  1061. }
  1062. .status__content.status__content--collapsed {
  1063. max-height: 22px * 15; // 15 lines is roughly above 500 characters
  1064. }
  1065. .status__content__read-more-button,
  1066. .status__content__translate-button {
  1067. display: flex;
  1068. align-items: center;
  1069. font-size: 15px;
  1070. line-height: 22px;
  1071. color: $highlight-text-color;
  1072. border: 0;
  1073. background: transparent;
  1074. padding: 0;
  1075. padding-top: 16px;
  1076. text-decoration: none;
  1077. &:hover,
  1078. &:active {
  1079. text-decoration: underline;
  1080. }
  1081. .icon {
  1082. width: 15px;
  1083. height: 15px;
  1084. }
  1085. }
  1086. .translate-button {
  1087. margin-top: 16px;
  1088. font-size: 15px;
  1089. line-height: 22px;
  1090. display: flex;
  1091. justify-content: space-between;
  1092. color: $dark-text-color;
  1093. }
  1094. .status__content__spoiler-link {
  1095. display: inline-block;
  1096. border-radius: 2px;
  1097. background: transparent;
  1098. border: 0;
  1099. color: $inverted-text-color;
  1100. font-weight: 700;
  1101. font-size: 11px;
  1102. padding: 0 6px;
  1103. text-transform: uppercase;
  1104. line-height: 20px;
  1105. cursor: pointer;
  1106. vertical-align: top;
  1107. }
  1108. .status__wrapper--filtered {
  1109. color: $dark-text-color;
  1110. border: 0;
  1111. font-size: inherit;
  1112. text-align: center;
  1113. line-height: inherit;
  1114. margin: 0;
  1115. padding: 15px;
  1116. box-sizing: border-box;
  1117. width: 100%;
  1118. clear: both;
  1119. border-bottom: 1px solid lighten($ui-base-color, 8%);
  1120. &__button {
  1121. display: inline;
  1122. color: lighten($ui-highlight-color, 8%);
  1123. border: 0;
  1124. background: transparent;
  1125. padding: 0;
  1126. font-size: inherit;
  1127. line-height: inherit;
  1128. &:hover,
  1129. &:active {
  1130. text-decoration: underline;
  1131. }
  1132. }
  1133. }
  1134. .focusable {
  1135. &:focus {
  1136. outline: 0;
  1137. background: lighten($ui-base-color, 4%);
  1138. .detailed-status,
  1139. .detailed-status__action-bar {
  1140. background: lighten($ui-base-color, 8%);
  1141. }
  1142. }
  1143. }
  1144. .status {
  1145. padding: 16px;
  1146. min-height: 54px;
  1147. border-bottom: 1px solid lighten($ui-base-color, 8%);
  1148. cursor: auto;
  1149. @keyframes fade {
  1150. 0% {
  1151. opacity: 0;
  1152. }
  1153. 100% {
  1154. opacity: 1;
  1155. }
  1156. }
  1157. opacity: 1;
  1158. animation: fade 150ms linear;
  1159. .media-gallery,
  1160. .video-player,
  1161. .audio-player,
  1162. .attachment-list {
  1163. margin-top: 16px;
  1164. }
  1165. &.light {
  1166. .status__relative-time,
  1167. .status__visibility-icon {
  1168. color: $light-text-color;
  1169. }
  1170. .status__display-name {
  1171. color: $inverted-text-color;
  1172. }
  1173. .display-name {
  1174. color: $light-text-color;
  1175. strong {
  1176. color: $inverted-text-color;
  1177. }
  1178. }
  1179. .status__content {
  1180. color: $inverted-text-color;
  1181. a {
  1182. color: $highlight-text-color;
  1183. }
  1184. &__spoiler-link {
  1185. color: $primary-text-color;
  1186. background: $ui-primary-color;
  1187. &:hover,
  1188. &:focus {
  1189. background: lighten($ui-primary-color, 8%);
  1190. }
  1191. }
  1192. }
  1193. }
  1194. &--in-thread {
  1195. $thread-margin: 46px + 10px;
  1196. border-bottom: 0;
  1197. .status__content,
  1198. .status__action-bar,
  1199. .media-gallery,
  1200. .video-player,
  1201. .audio-player,
  1202. .attachment-list,
  1203. .picture-in-picture-placeholder,
  1204. .status-card,
  1205. .hashtag-bar {
  1206. margin-inline-start: $thread-margin;
  1207. width: calc(100% - ($thread-margin));
  1208. }
  1209. .status__content__read-more-button {
  1210. margin-inline-start: $thread-margin;
  1211. }
  1212. }
  1213. &--first-in-thread {
  1214. border-top: 1px solid lighten($ui-base-color, 8%);
  1215. }
  1216. &__line {
  1217. height: 16px - 4px;
  1218. border-inline-start: 2px solid lighten($ui-base-color, 8%);
  1219. width: 0;
  1220. position: absolute;
  1221. top: 0;
  1222. inset-inline-start: 16px + ((46px - 2px) * 0.5);
  1223. &--full {
  1224. top: 0;
  1225. height: 100%;
  1226. &::before {
  1227. content: '';
  1228. display: block;
  1229. position: absolute;
  1230. top: 16px - 4px;
  1231. height: 46px + 4px + 4px;
  1232. width: 2px;
  1233. background: $ui-base-color;
  1234. inset-inline-start: -2px;
  1235. }
  1236. }
  1237. &--first {
  1238. top: 16px + 46px + 4px;
  1239. height: calc(100% - (16px + 46px + 4px));
  1240. &::before {
  1241. display: none;
  1242. }
  1243. }
  1244. }
  1245. }
  1246. .status__relative-time {
  1247. display: block;
  1248. font-size: 15px;
  1249. line-height: 22px;
  1250. height: 40px;
  1251. order: 2;
  1252. flex: 0 0 auto;
  1253. color: $dark-text-color;
  1254. }
  1255. .notification__relative_time {
  1256. color: $dark-text-color;
  1257. float: right;
  1258. font-size: 14px;
  1259. padding-bottom: 1px;
  1260. }
  1261. .status__visibility-icon {
  1262. padding: 0 4px;
  1263. .icon {
  1264. width: 1em;
  1265. height: 1em;
  1266. margin-bottom: -2px;
  1267. }
  1268. }
  1269. .status__display-name {
  1270. color: $dark-text-color;
  1271. }
  1272. .status__info .status__display-name {
  1273. max-width: 100%;
  1274. display: flex;
  1275. font-size: 15px;
  1276. line-height: 22px;
  1277. align-items: center;
  1278. gap: 10px;
  1279. overflow: hidden;
  1280. .display-name {
  1281. bdi {
  1282. overflow: hidden;
  1283. text-overflow: ellipsis;
  1284. }
  1285. &__account {
  1286. white-space: nowrap;
  1287. display: block;
  1288. overflow: hidden;
  1289. text-overflow: ellipsis;
  1290. }
  1291. }
  1292. }
  1293. .status__info {
  1294. font-size: 15px;
  1295. padding-bottom: 10px;
  1296. display: flex;
  1297. align-items: center;
  1298. justify-content: space-between;
  1299. gap: 10px;
  1300. cursor: pointer;
  1301. }
  1302. .status-check-box__status {
  1303. display: block;
  1304. box-sizing: border-box;
  1305. width: 100%;
  1306. padding: 0 10px;
  1307. .detailed-status__display-name {
  1308. color: lighten($inverted-text-color, 16%);
  1309. span {
  1310. display: inline;
  1311. }
  1312. &:hover strong {
  1313. text-decoration: none;
  1314. }
  1315. }
  1316. .media-gallery,
  1317. .audio-player,
  1318. .video-player {
  1319. margin-top: 15px;
  1320. max-width: 250px;
  1321. }
  1322. .status__content {
  1323. padding: 0;
  1324. white-space: normal;
  1325. }
  1326. .media-gallery__item-thumbnail {
  1327. cursor: default;
  1328. }
  1329. }
  1330. .status__prepend {
  1331. padding: 16px;
  1332. padding-bottom: 0;
  1333. display: inline-flex;
  1334. gap: 10px;
  1335. font-size: 15px;
  1336. line-height: 22px;
  1337. font-weight: 500;
  1338. color: $dark-text-color;
  1339. .status__display-name strong {
  1340. color: $dark-text-color;
  1341. }
  1342. > span {
  1343. display: block;
  1344. overflow: hidden;
  1345. text-overflow: ellipsis;
  1346. }
  1347. }
  1348. .status__wrapper-direct {
  1349. background: mix($ui-base-color, $ui-highlight-color, 95%);
  1350. &:focus {
  1351. background: mix(lighten($ui-base-color, 4%), $ui-highlight-color, 95%);
  1352. }
  1353. .status__prepend {
  1354. color: $highlight-text-color;
  1355. }
  1356. }
  1357. .status__action-bar {
  1358. display: flex;
  1359. justify-content: space-between;
  1360. align-items: center;
  1361. gap: 18px;
  1362. margin-top: 16px;
  1363. }
  1364. .detailed-status__action-bar-dropdown {
  1365. flex: 1 1 auto;
  1366. display: flex;
  1367. align-items: center;
  1368. justify-content: center;
  1369. position: relative;
  1370. }
  1371. .detailed-status {
  1372. background: lighten($ui-base-color, 4%);
  1373. padding: 16px;
  1374. border-top: 1px solid lighten($ui-base-color, 8%);
  1375. &--flex {
  1376. display: flex;
  1377. flex-wrap: wrap;
  1378. justify-content: space-between;
  1379. align-items: flex-start;
  1380. .status__content,
  1381. .detailed-status__meta {
  1382. flex: 100%;
  1383. }
  1384. }
  1385. .status__content {
  1386. font-size: 19px;
  1387. line-height: 24px;
  1388. .emojione {
  1389. width: 24px;
  1390. height: 24px;
  1391. margin: -1px 0 0;
  1392. }
  1393. .status__content__spoiler-link {
  1394. line-height: 24px;
  1395. margin: -1px 0 0;
  1396. }
  1397. }
  1398. .media-gallery,
  1399. .video-player,
  1400. .audio-player {
  1401. margin-top: 16px;
  1402. }
  1403. .status__prepend {
  1404. padding: 0;
  1405. margin-bottom: 16px;
  1406. }
  1407. }
  1408. .scrollable > div:first-child .detailed-status {
  1409. border-top: 0;
  1410. }
  1411. .detailed-status__meta {
  1412. margin-top: 16px;
  1413. color: $dark-text-color;
  1414. font-size: 14px;
  1415. line-height: 18px;
  1416. .icon {
  1417. width: 15px;
  1418. height: 15px;
  1419. vertical-align: middle;
  1420. }
  1421. }
  1422. .detailed-status__action-bar {
  1423. background: lighten($ui-base-color, 4%);
  1424. border-top: 1px solid lighten($ui-base-color, 8%);
  1425. border-bottom: 1px solid lighten($ui-base-color, 8%);
  1426. display: flex;
  1427. flex-direction: row;
  1428. padding: 10px 0;
  1429. }
  1430. .detailed-status__wrapper-direct {
  1431. .detailed-status,
  1432. .detailed-status__action-bar {
  1433. background: mix($ui-base-color, $ui-highlight-color, 95%);
  1434. }
  1435. &:focus {
  1436. .detailed-status,
  1437. .detailed-status__action-bar {
  1438. background: mix(lighten($ui-base-color, 4%), $ui-highlight-color, 95%);
  1439. }
  1440. }
  1441. .detailed-status__action-bar {
  1442. border-top-color: mix(
  1443. lighten($ui-base-color, 8%),
  1444. $ui-highlight-color,
  1445. 95%
  1446. );
  1447. }
  1448. .status__prepend {
  1449. color: $highlight-text-color;
  1450. }
  1451. }
  1452. .detailed-status__link {
  1453. display: inline-flex;
  1454. align-items: center;
  1455. color: inherit;
  1456. text-decoration: none;
  1457. gap: 6px;
  1458. position: relative;
  1459. top: 0.145em;
  1460. .icon {
  1461. top: 0;
  1462. }
  1463. }
  1464. .detailed-status__favorites,
  1465. .detailed-status__reblogs {
  1466. font-weight: 500;
  1467. font-size: 12px;
  1468. line-height: 18px;
  1469. }
  1470. .domain {
  1471. padding: 10px;
  1472. border-bottom: 1px solid lighten($ui-base-color, 8%);
  1473. .domain__domain-name {
  1474. flex: 1 1 auto;
  1475. display: block;
  1476. color: $primary-text-color;
  1477. text-decoration: none;
  1478. font-size: 14px;
  1479. font-weight: 500;
  1480. }
  1481. }
  1482. .domain__wrapper {
  1483. display: flex;
  1484. }
  1485. .domain_buttons {
  1486. height: 18px;
  1487. padding: 10px;
  1488. white-space: nowrap;
  1489. }
  1490. .account {
  1491. padding: 16px;
  1492. border-bottom: 1px solid lighten($ui-base-color, 8%);
  1493. .account__display-name {
  1494. flex: 1 1 auto;
  1495. display: flex;
  1496. align-items: center;
  1497. gap: 10px;
  1498. color: $darker-text-color;
  1499. overflow: hidden;
  1500. text-decoration: none;
  1501. font-size: 14px;
  1502. .display-name {
  1503. margin-bottom: 4px;
  1504. }
  1505. .display-name strong {
  1506. display: inline;
  1507. }
  1508. }
  1509. &--minimal {
  1510. .account__display-name {
  1511. .display-name {
  1512. margin-bottom: 0;
  1513. }
  1514. .display-name strong {
  1515. display: block;
  1516. }
  1517. }
  1518. }
  1519. &__note {
  1520. font-size: 14px;
  1521. font-weight: 400;
  1522. overflow: hidden;
  1523. text-overflow: ellipsis;
  1524. display: -webkit-box;
  1525. -webkit-line-clamp: 1;
  1526. -webkit-box-orient: vertical;
  1527. margin-top: 10px;
  1528. color: $darker-text-color;
  1529. &--missing {
  1530. color: $dark-text-color;
  1531. }
  1532. p {
  1533. margin-bottom: 10px;
  1534. &:last-child {
  1535. margin-bottom: 0;
  1536. }
  1537. }
  1538. a {
  1539. color: inherit;
  1540. &:hover,
  1541. &:focus,
  1542. &:active {
  1543. text-decoration: none;
  1544. }
  1545. }
  1546. }
  1547. }
  1548. .account__wrapper {
  1549. display: flex;
  1550. gap: 10px;
  1551. align-items: center;
  1552. }
  1553. .account__avatar {
  1554. @include avatar-radius;
  1555. display: block;
  1556. position: relative;
  1557. overflow: hidden;
  1558. img {
  1559. display: block;
  1560. width: 100%;
  1561. height: 100%;
  1562. object-fit: cover;
  1563. }
  1564. &-inline {
  1565. display: inline-block;
  1566. vertical-align: middle;
  1567. margin-inline-end: 5px;
  1568. }
  1569. &-composite {
  1570. border-radius: 50%;
  1571. overflow: hidden;
  1572. position: relative;
  1573. & > div {
  1574. float: left;
  1575. position: relative;
  1576. box-sizing: border-box;
  1577. }
  1578. .account__avatar {
  1579. width: 100% !important;
  1580. height: 100% !important;
  1581. }
  1582. &__label {
  1583. display: block;
  1584. position: absolute;
  1585. top: 50%;
  1586. inset-inline-start: 50%;
  1587. transform: translate(-50%, -50%);
  1588. color: $primary-text-color;
  1589. text-shadow: 1px 1px 2px $base-shadow-color;
  1590. font-weight: 700;
  1591. font-size: 15px;
  1592. }
  1593. }
  1594. }
  1595. a .account__avatar {
  1596. cursor: pointer;
  1597. }
  1598. .account__avatar-overlay {
  1599. position: relative;
  1600. &-overlay {
  1601. position: absolute;
  1602. bottom: 0;
  1603. inset-inline-end: 0;
  1604. z-index: 1;
  1605. }
  1606. }
  1607. .account__relationship {
  1608. white-space: nowrap;
  1609. display: flex;
  1610. align-items: center;
  1611. gap: 4px;
  1612. }
  1613. .account-authorize {
  1614. padding: 14px 10px;
  1615. .detailed-status__display-name {
  1616. display: block;
  1617. margin-bottom: 15px;
  1618. overflow: hidden;
  1619. }
  1620. }
  1621. .account-authorize__avatar {
  1622. float: left;
  1623. margin-inline-end: 10px;
  1624. }
  1625. .status__display-name,
  1626. .status__relative-time,
  1627. .detailed-status__display-name,
  1628. .detailed-status__datetime,
  1629. .detailed-status__application,
  1630. .account__display-name {
  1631. text-decoration: none;
  1632. }
  1633. .status__display-name,
  1634. .account__display-name {
  1635. .display-name strong {
  1636. color: $primary-text-color;
  1637. }
  1638. }
  1639. .muted {
  1640. .emojione {
  1641. opacity: 0.5;
  1642. }
  1643. }
  1644. .status__display-name,
  1645. .detailed-status__display-name,
  1646. a.account__display-name {
  1647. &:hover .display-name strong {
  1648. text-decoration: underline;
  1649. }
  1650. }
  1651. .account__display-name .display-name strong {
  1652. display: block;
  1653. overflow: hidden;
  1654. text-overflow: ellipsis;
  1655. }
  1656. .detailed-status__application,
  1657. .detailed-status__datetime {
  1658. color: inherit;
  1659. }
  1660. .detailed-status__display-name {
  1661. color: $darker-text-color;
  1662. display: flex;
  1663. align-items: center;
  1664. gap: 10px;
  1665. font-size: 15px;
  1666. line-height: 22px;
  1667. margin-bottom: 16px;
  1668. overflow: hidden;
  1669. strong,
  1670. span {
  1671. display: block;
  1672. text-overflow: ellipsis;
  1673. overflow: hidden;
  1674. }
  1675. strong {
  1676. color: $primary-text-color;
  1677. }
  1678. }
  1679. .status__avatar {
  1680. width: 46px;
  1681. height: 46px;
  1682. }
  1683. .muted {
  1684. .status__content,
  1685. .status__content p,
  1686. .status__content a {
  1687. color: $dark-text-color;
  1688. }
  1689. .status__display-name strong {
  1690. color: $dark-text-color;
  1691. }
  1692. .status__avatar {
  1693. opacity: 0.5;
  1694. }
  1695. a.status__content__spoiler-link {
  1696. background: $ui-base-lighter-color;
  1697. color: $inverted-text-color;
  1698. &:hover,
  1699. &:focus {
  1700. background: lighten($ui-base-lighter-color, 7%);
  1701. text-decoration: none;
  1702. }
  1703. }
  1704. }
  1705. .notification__report {
  1706. padding: 16px;
  1707. border-bottom: 1px solid lighten($ui-base-color, 8%);
  1708. display: flex;
  1709. gap: 10px;
  1710. &__avatar {
  1711. flex: 0 0 auto;
  1712. }
  1713. &__details {
  1714. flex: 1 1 auto;
  1715. display: flex;
  1716. justify-content: space-between;
  1717. align-items: center;
  1718. color: $darker-text-color;
  1719. gap: 10px;
  1720. font-size: 15px;
  1721. line-height: 22px;
  1722. white-space: nowrap;
  1723. overflow: hidden;
  1724. & > div {
  1725. overflow: hidden;
  1726. text-overflow: ellipsis;
  1727. }
  1728. strong {
  1729. font-weight: 500;
  1730. }
  1731. }
  1732. &__actions {
  1733. flex: 0 0 auto;
  1734. }
  1735. }
  1736. .notification__message {
  1737. padding: 16px;
  1738. padding-bottom: 0;
  1739. cursor: default;
  1740. color: $darker-text-color;
  1741. font-size: 15px;
  1742. line-height: 22px;
  1743. font-weight: 500;
  1744. display: flex;
  1745. align-items: center;
  1746. gap: 10px;
  1747. .icon {
  1748. color: $highlight-text-color;
  1749. width: 18px;
  1750. height: 18px;
  1751. }
  1752. .icon-star {
  1753. color: $gold-star;
  1754. }
  1755. > span {
  1756. display: inline;
  1757. overflow: hidden;
  1758. text-overflow: ellipsis;
  1759. }
  1760. }
  1761. .icon-button.star-icon.active {
  1762. color: $gold-star;
  1763. }
  1764. .icon-button.bookmark-icon.active {
  1765. color: $red-bookmark;
  1766. }
  1767. .no-reduce-motion .icon-button.star-icon {
  1768. &.activate {
  1769. & > .icon {
  1770. animation: spring-rotate-in 1s linear;
  1771. transform-origin: 50% 55%;
  1772. }
  1773. }
  1774. &.deactivate {
  1775. & > .icon {
  1776. animation: spring-rotate-out 1s linear;
  1777. transform-origin: 50% 55%;
  1778. }
  1779. }
  1780. }
  1781. .notification__display-name {
  1782. color: inherit;
  1783. font-weight: 500;
  1784. text-decoration: none;
  1785. &:hover {
  1786. text-decoration: underline;
  1787. }
  1788. }
  1789. .display-name {
  1790. display: block;
  1791. max-width: 100%;
  1792. overflow: hidden;
  1793. text-overflow: ellipsis;
  1794. white-space: nowrap;
  1795. &__account {
  1796. text-overflow: ellipsis;
  1797. overflow: hidden;
  1798. }
  1799. }
  1800. .display-name__html {
  1801. font-weight: 500;
  1802. }
  1803. .status__relative-time,
  1804. .detailed-status__datetime {
  1805. &:hover {
  1806. text-decoration: underline;
  1807. }
  1808. }
  1809. .image-loader {
  1810. position: relative;
  1811. width: 100%;
  1812. height: 100%;
  1813. display: flex;
  1814. align-items: center;
  1815. justify-content: center;
  1816. flex-direction: column;
  1817. scrollbar-width: none; /* Firefox */
  1818. -ms-overflow-style: none; /* IE 10+ */
  1819. * {
  1820. scrollbar-width: none; /* Firefox */
  1821. -ms-overflow-style: none; /* IE 10+ */
  1822. }
  1823. &::-webkit-scrollbar,
  1824. *::-webkit-scrollbar {
  1825. width: 0;
  1826. height: 0;
  1827. background: transparent; /* Chrome/Safari/Webkit */
  1828. }
  1829. .image-loader__preview-canvas {
  1830. max-width: $media-modal-media-max-width;
  1831. max-height: $media-modal-media-max-height;
  1832. background: url('../images/void.png') repeat;
  1833. object-fit: contain;
  1834. }
  1835. .loading-bar__container {
  1836. position: relative;
  1837. }
  1838. .loading-bar {
  1839. position: absolute;
  1840. }
  1841. &.image-loader--amorphous .image-loader__preview-canvas {
  1842. display: none;
  1843. }
  1844. }
  1845. .zoomable-image {
  1846. position: relative;
  1847. width: 100%;
  1848. height: 100%;
  1849. display: flex;
  1850. align-items: center;
  1851. justify-content: center;
  1852. img {
  1853. max-width: $media-modal-media-max-width;
  1854. max-height: $media-modal-media-max-height;
  1855. width: auto;
  1856. height: auto;
  1857. object-fit: contain;
  1858. }
  1859. }
  1860. .navigation-bar {
  1861. display: flex;
  1862. align-items: center;
  1863. flex-shrink: 0;
  1864. cursor: default;
  1865. gap: 10px;
  1866. .column > & {
  1867. padding: 15px;
  1868. }
  1869. .account {
  1870. border-bottom: 0;
  1871. padding: 0;
  1872. flex: 1 1 auto;
  1873. min-width: 0;
  1874. &__display-name {
  1875. font-size: 16px;
  1876. line-height: 24px;
  1877. letter-spacing: 0.15px;
  1878. font-weight: 500;
  1879. .display-name__account {
  1880. font-size: 14px;
  1881. line-height: 20px;
  1882. letter-spacing: 0.1px;
  1883. }
  1884. }
  1885. }
  1886. .icon-button {
  1887. padding: 8px;
  1888. color: $secondary-text-color;
  1889. }
  1890. .icon-button .icon {
  1891. width: 24px;
  1892. height: 24px;
  1893. }
  1894. }
  1895. .dropdown-animation {
  1896. animation: dropdown 150ms cubic-bezier(0.1, 0.7, 0.1, 1);
  1897. @keyframes dropdown {
  1898. from {
  1899. opacity: 0;
  1900. }
  1901. to {
  1902. opacity: 1;
  1903. }
  1904. }
  1905. .reduce-motion & {
  1906. animation: none;
  1907. }
  1908. }
  1909. .dropdown {
  1910. display: inline-block;
  1911. }
  1912. .dropdown__content {
  1913. display: none;
  1914. position: absolute;
  1915. }
  1916. .dropdown-menu__separator {
  1917. border-bottom: 1px solid var(--dropdown-border-color);
  1918. margin: 5px 0;
  1919. height: 0;
  1920. }
  1921. .dropdown-menu {
  1922. background: var(--dropdown-background-color);
  1923. border: 1px solid var(--dropdown-border-color);
  1924. padding: 4px;
  1925. border-radius: 4px;
  1926. box-shadow: var(--dropdown-shadow);
  1927. z-index: 9999;
  1928. &__text-button {
  1929. display: inline-flex;
  1930. align-items: center;
  1931. color: inherit;
  1932. background: transparent;
  1933. border: 0;
  1934. margin: 0;
  1935. padding: 0;
  1936. font-family: inherit;
  1937. font-size: inherit;
  1938. line-height: inherit;
  1939. &:focus-visible {
  1940. outline: 1px dotted;
  1941. }
  1942. .icon {
  1943. width: 15px;
  1944. height: 15px;
  1945. }
  1946. }
  1947. &__container {
  1948. &__header {
  1949. border-bottom: 1px solid var(--dropdown-border-color);
  1950. padding: 10px 14px;
  1951. padding-bottom: 14px;
  1952. margin-bottom: 4px;
  1953. font-size: 13px;
  1954. line-height: 18px;
  1955. color: $darker-text-color;
  1956. }
  1957. &__list {
  1958. list-style: none;
  1959. &--scrollable {
  1960. max-height: 300px;
  1961. overflow-y: scroll;
  1962. }
  1963. }
  1964. &--loading {
  1965. display: flex;
  1966. align-items: center;
  1967. justify-content: center;
  1968. padding: 30px 45px;
  1969. }
  1970. }
  1971. &.left {
  1972. transform-origin: 100% 50%;
  1973. }
  1974. &.top {
  1975. transform-origin: 50% 100%;
  1976. }
  1977. &.bottom {
  1978. transform-origin: 50% 0;
  1979. }
  1980. &.right {
  1981. transform-origin: 0 50%;
  1982. }
  1983. }
  1984. .dropdown-menu__item {
  1985. font-size: 13px;
  1986. line-height: 18px;
  1987. font-weight: 500;
  1988. display: block;
  1989. &--dangerous {
  1990. color: $error-value-color;
  1991. }
  1992. a,
  1993. button {
  1994. font: inherit;
  1995. display: block;
  1996. width: 100%;
  1997. padding: 10px 14px;
  1998. border: 0;
  1999. margin: 0;
  2000. background: transparent;
  2001. box-sizing: border-box;
  2002. text-decoration: none;
  2003. color: inherit;
  2004. overflow: hidden;
  2005. text-overflow: ellipsis;
  2006. white-space: nowrap;
  2007. text-align: inherit;
  2008. border-radius: 4px;
  2009. &:focus,
  2010. &:hover,
  2011. &:active {
  2012. background: var(--dropdown-border-color);
  2013. outline: 0;
  2014. }
  2015. }
  2016. }
  2017. .inline-account {
  2018. display: inline-flex;
  2019. align-items: center;
  2020. vertical-align: top;
  2021. .account__avatar {
  2022. margin-inline-end: 5px;
  2023. border-radius: 50%;
  2024. }
  2025. strong {
  2026. font-weight: 600;
  2027. }
  2028. }
  2029. .columns-area {
  2030. display: flex;
  2031. flex: 1 1 auto;
  2032. flex-direction: row;
  2033. justify-content: flex-start;
  2034. overflow-x: auto;
  2035. position: relative;
  2036. &.unscrollable {
  2037. overflow-x: hidden;
  2038. }
  2039. &__panels {
  2040. display: flex;
  2041. justify-content: center;
  2042. gap: 16px;
  2043. width: 100%;
  2044. height: 100%;
  2045. min-height: 100vh;
  2046. &__pane {
  2047. height: 100%;
  2048. overflow: hidden;
  2049. pointer-events: none;
  2050. display: flex;
  2051. justify-content: flex-end;
  2052. min-width: 285px;
  2053. &--start {
  2054. justify-content: flex-start;
  2055. }
  2056. &__inner {
  2057. position: fixed;
  2058. width: 285px;
  2059. pointer-events: auto;
  2060. height: 100%;
  2061. }
  2062. }
  2063. &__main {
  2064. box-sizing: border-box;
  2065. width: 100%;
  2066. flex: 0 0 auto;
  2067. display: flex;
  2068. flex-direction: column;
  2069. @media screen and (min-width: $no-gap-breakpoint) {
  2070. max-width: 600px;
  2071. }
  2072. }
  2073. }
  2074. }
  2075. $ui-header-height: 55px;
  2076. .ui__header {
  2077. display: none;
  2078. box-sizing: border-box;
  2079. height: $ui-header-height;
  2080. position: sticky;
  2081. top: 0;
  2082. z-index: 3;
  2083. justify-content: space-between;
  2084. align-items: center;
  2085. &__logo {
  2086. display: inline-flex;
  2087. padding: 15px;
  2088. .logo {
  2089. height: $ui-header-height - 30px;
  2090. width: auto;
  2091. }
  2092. .logo--wordmark {
  2093. display: none;
  2094. }
  2095. @media screen and (width >= 320px) {
  2096. .logo--wordmark {
  2097. display: block;
  2098. }
  2099. .logo--icon {
  2100. display: none;
  2101. }
  2102. }
  2103. }
  2104. &__links {
  2105. display: flex;
  2106. align-items: center;
  2107. gap: 10px;
  2108. padding: 0 10px;
  2109. overflow: hidden;
  2110. .button {
  2111. flex: 0 0 auto;
  2112. }
  2113. .button-tertiary {
  2114. flex-shrink: 1;
  2115. }
  2116. .icon {
  2117. width: 22px;
  2118. height: 22px;
  2119. }
  2120. }
  2121. }
  2122. .tabs-bar__wrapper {
  2123. background: darken($ui-base-color, 8%);
  2124. position: sticky;
  2125. top: $ui-header-height;
  2126. z-index: 2;
  2127. padding-top: 0;
  2128. @media screen and (min-width: $no-gap-breakpoint) {
  2129. padding-top: 10px;
  2130. top: 0;
  2131. }
  2132. }
  2133. .react-swipeable-view-container {
  2134. &,
  2135. .columns-area,
  2136. .drawer,
  2137. .column {
  2138. height: 100%;
  2139. }
  2140. }
  2141. .react-swipeable-view-container > * {
  2142. display: flex;
  2143. align-items: center;
  2144. justify-content: center;
  2145. height: 100%;
  2146. }
  2147. .column {
  2148. width: 350px;
  2149. position: relative;
  2150. box-sizing: border-box;
  2151. display: flex;
  2152. flex-direction: column;
  2153. > .scrollable {
  2154. background: $ui-base-color;
  2155. border-radius: 0 0 4px 4px;
  2156. }
  2157. }
  2158. .ui {
  2159. flex: 0 0 auto;
  2160. display: flex;
  2161. flex-direction: column;
  2162. width: 100%;
  2163. height: 100%;
  2164. }
  2165. .drawer {
  2166. width: 300px;
  2167. box-sizing: border-box;
  2168. display: flex;
  2169. flex-direction: column;
  2170. overflow-y: hidden;
  2171. }
  2172. .drawer__tab {
  2173. display: flex;
  2174. flex: 1 1 auto;
  2175. padding: 13px 3px 11px;
  2176. color: $darker-text-color;
  2177. text-decoration: none;
  2178. text-align: center;
  2179. font-size: 16px;
  2180. align-items: center;
  2181. justify-content: center;
  2182. border-bottom: 2px solid transparent;
  2183. }
  2184. .column,
  2185. .drawer {
  2186. flex: 1 1 100%;
  2187. overflow: hidden;
  2188. }
  2189. @media screen and (width >= 631px) {
  2190. .columns-area {
  2191. padding: 0;
  2192. }
  2193. .column,
  2194. .drawer {
  2195. flex: 0 0 auto;
  2196. padding: 10px;
  2197. padding-inline-start: 5px;
  2198. padding-inline-end: 5px;
  2199. &:first-child {
  2200. padding-inline-start: 10px;
  2201. }
  2202. &:last-child {
  2203. padding-inline-end: 10px;
  2204. }
  2205. }
  2206. .columns-area > div {
  2207. .column,
  2208. .drawer {
  2209. padding-inline-start: 5px;
  2210. padding-inline-end: 5px;
  2211. }
  2212. }
  2213. }
  2214. .columns-area--mobile {
  2215. flex-direction: column;
  2216. width: 100%;
  2217. height: 100%;
  2218. margin: 0 auto;
  2219. .column,
  2220. .drawer {
  2221. width: 100%;
  2222. height: 100%;
  2223. padding: 0;
  2224. }
  2225. .account-card {
  2226. margin-bottom: 0;
  2227. }
  2228. .filter-form {
  2229. display: flex;
  2230. flex-wrap: wrap;
  2231. }
  2232. .autosuggest-textarea__textarea {
  2233. font-size: 16px;
  2234. }
  2235. .search__input {
  2236. line-height: 18px;
  2237. font-size: 16px;
  2238. padding: 15px;
  2239. padding-inline-end: 30px;
  2240. }
  2241. .search__icon .fa {
  2242. top: 15px;
  2243. }
  2244. .scrollable {
  2245. overflow: visible;
  2246. @supports (display: grid) {
  2247. contain: content;
  2248. }
  2249. }
  2250. @media screen and (min-width: $no-gap-breakpoint) {
  2251. padding: 10px 0;
  2252. padding-top: 0;
  2253. }
  2254. }
  2255. @media screen and (min-width: $no-gap-breakpoint) {
  2256. .react-swipeable-view-container .columns-area--mobile {
  2257. height: calc(100% - 10px) !important;
  2258. }
  2259. .getting-started__wrapper {
  2260. margin-bottom: 10px;
  2261. }
  2262. .search-page .search {
  2263. display: none;
  2264. }
  2265. .navigation-panel__legal {
  2266. display: none;
  2267. }
  2268. }
  2269. @media screen and (max-width: $no-gap-breakpoint - 1px) {
  2270. $sidebar-width: 285px;
  2271. .columns-area__panels__main {
  2272. width: calc(100% - $sidebar-width);
  2273. }
  2274. .columns-area__panels {
  2275. min-height: calc(100vh - $ui-header-height);
  2276. gap: 0;
  2277. }
  2278. .columns-area__panels__pane--navigational {
  2279. min-width: $sidebar-width;
  2280. .columns-area__panels__pane__inner {
  2281. width: $sidebar-width;
  2282. }
  2283. .navigation-panel {
  2284. margin: 0;
  2285. background: $ui-base-color;
  2286. border-inline-start: 1px solid lighten($ui-base-color, 8%);
  2287. height: 100vh;
  2288. }
  2289. .navigation-panel__sign-in-banner,
  2290. .navigation-panel__logo,
  2291. .navigation-panel__banner,
  2292. .getting-started__trends {
  2293. display: none;
  2294. }
  2295. .column-link__icon {
  2296. font-size: 18px;
  2297. }
  2298. }
  2299. .layout-single-column .ui__header {
  2300. display: flex;
  2301. background: $ui-base-color;
  2302. border-bottom: 1px solid lighten($ui-base-color, 8%);
  2303. }
  2304. .column-header,
  2305. .column-back-button,
  2306. .scrollable,
  2307. .error-column {
  2308. border-radius: 0 !important;
  2309. }
  2310. }
  2311. @media screen and (max-width: $no-gap-breakpoint - 285px - 1px) {
  2312. $sidebar-width: 55px;
  2313. .columns-area__panels__main {
  2314. width: calc(100% - $sidebar-width);
  2315. }
  2316. .columns-area__panels__pane--navigational {
  2317. min-width: $sidebar-width;
  2318. .columns-area__panels__pane__inner {
  2319. width: $sidebar-width;
  2320. }
  2321. .column-link span {
  2322. display: none;
  2323. }
  2324. .list-panel {
  2325. display: none;
  2326. }
  2327. }
  2328. }
  2329. .explore__search-header {
  2330. display: none;
  2331. }
  2332. @media screen and (max-width: $no-gap-breakpoint - 1px) {
  2333. .columns-area__panels__pane--compositional {
  2334. display: none;
  2335. }
  2336. .explore__search-header {
  2337. display: flex;
  2338. }
  2339. }
  2340. .icon-with-badge {
  2341. display: inline-flex;
  2342. position: relative;
  2343. &__badge {
  2344. position: absolute;
  2345. inset-inline-start: 9px;
  2346. top: -13px;
  2347. background: $ui-highlight-color;
  2348. border: 2px solid lighten($ui-base-color, 8%);
  2349. padding: 1px 6px;
  2350. border-radius: 6px;
  2351. font-size: 10px;
  2352. font-weight: 500;
  2353. line-height: 14px;
  2354. color: $primary-text-color;
  2355. }
  2356. &__issue-badge {
  2357. position: absolute;
  2358. inset-inline-start: 11px;
  2359. bottom: 1px;
  2360. display: block;
  2361. background: $error-red;
  2362. border-radius: 50%;
  2363. width: 0.625rem;
  2364. height: 0.625rem;
  2365. }
  2366. }
  2367. .column-link--transparent .icon-with-badge__badge {
  2368. border-color: darken($ui-base-color, 8%);
  2369. }
  2370. .column-title {
  2371. text-align: center;
  2372. padding-bottom: 32px;
  2373. h3 {
  2374. font-size: 24px;
  2375. line-height: 1.5;
  2376. font-weight: 700;
  2377. margin-bottom: 10px;
  2378. }
  2379. p {
  2380. font-size: 16px;
  2381. line-height: 24px;
  2382. font-weight: 400;
  2383. color: $darker-text-color;
  2384. }
  2385. @media screen and (width >= 600px) {
  2386. padding: 40px;
  2387. }
  2388. }
  2389. .onboarding__footer {
  2390. margin-top: 30px;
  2391. color: $dark-text-color;
  2392. text-align: center;
  2393. font-size: 14px;
  2394. .link-button {
  2395. display: inline-block;
  2396. color: inherit;
  2397. font-size: inherit;
  2398. }
  2399. }
  2400. .onboarding__link {
  2401. display: flex;
  2402. align-items: center;
  2403. justify-content: space-between;
  2404. gap: 10px;
  2405. color: $highlight-text-color;
  2406. background: lighten($ui-base-color, 4%);
  2407. border-radius: 8px;
  2408. padding: 10px 15px;
  2409. box-sizing: border-box;
  2410. font-size: 14px;
  2411. font-weight: 500;
  2412. height: 56px;
  2413. text-decoration: none;
  2414. svg {
  2415. height: 1.5em;
  2416. }
  2417. &:hover,
  2418. &:focus,
  2419. &:active {
  2420. background: lighten($ui-base-color, 8%);
  2421. }
  2422. }
  2423. .onboarding__illustration {
  2424. display: block;
  2425. margin: 0 auto;
  2426. margin-bottom: 10px;
  2427. max-height: 200px;
  2428. width: auto;
  2429. }
  2430. .onboarding__lead {
  2431. font-size: 16px;
  2432. line-height: 24px;
  2433. font-weight: 400;
  2434. color: $darker-text-color;
  2435. text-align: center;
  2436. margin-bottom: 30px;
  2437. strong {
  2438. font-weight: 700;
  2439. color: $secondary-text-color;
  2440. }
  2441. }
  2442. .onboarding__links {
  2443. margin-bottom: 30px;
  2444. & > * {
  2445. margin-bottom: 2px;
  2446. &:last-child {
  2447. margin-bottom: 0;
  2448. }
  2449. }
  2450. }
  2451. .onboarding__steps {
  2452. margin-bottom: 30px;
  2453. &__item {
  2454. background: lighten($ui-base-color, 4%);
  2455. border: 0;
  2456. border-radius: 8px;
  2457. display: flex;
  2458. width: 100%;
  2459. box-sizing: border-box;
  2460. align-items: center;
  2461. gap: 10px;
  2462. padding: 10px;
  2463. padding-inline-end: 15px;
  2464. margin-bottom: 2px;
  2465. text-decoration: none;
  2466. text-align: start;
  2467. &:hover,
  2468. &:focus,
  2469. &:active {
  2470. background: lighten($ui-base-color, 8%);
  2471. }
  2472. &__icon {
  2473. flex: 0 0 auto;
  2474. border-radius: 50%;
  2475. display: none;
  2476. align-items: center;
  2477. justify-content: center;
  2478. width: 36px;
  2479. height: 36px;
  2480. color: $highlight-text-color;
  2481. font-size: 1.2rem;
  2482. @media screen and (width >= 600px) {
  2483. display: flex;
  2484. }
  2485. }
  2486. &__progress {
  2487. flex: 0 0 auto;
  2488. background: $valid-value-color;
  2489. border-radius: 50%;
  2490. display: flex;
  2491. align-items: center;
  2492. justify-content: center;
  2493. width: 21px;
  2494. height: 21px;
  2495. color: $primary-text-color;
  2496. svg {
  2497. height: 14px;
  2498. width: auto;
  2499. }
  2500. }
  2501. &__go {
  2502. flex: 0 0 auto;
  2503. display: flex;
  2504. align-items: center;
  2505. justify-content: center;
  2506. width: 21px;
  2507. height: 21px;
  2508. color: $highlight-text-color;
  2509. font-size: 17px;
  2510. svg {
  2511. height: 1.5em;
  2512. width: auto;
  2513. }
  2514. }
  2515. &__description {
  2516. flex: 1 1 auto;
  2517. line-height: 20px;
  2518. h6 {
  2519. color: $highlight-text-color;
  2520. font-weight: 500;
  2521. font-size: 14px;
  2522. }
  2523. p {
  2524. color: $darker-text-color;
  2525. overflow: hidden;
  2526. }
  2527. }
  2528. }
  2529. }
  2530. .follow-recommendations {
  2531. background: darken($ui-base-color, 4%);
  2532. border-radius: 8px;
  2533. margin-bottom: 30px;
  2534. .account:last-child {
  2535. border-bottom: 0;
  2536. }
  2537. &__empty {
  2538. text-align: center;
  2539. color: $darker-text-color;
  2540. font-weight: 500;
  2541. padding: 40px;
  2542. }
  2543. }
  2544. .tip-carousel {
  2545. border: 1px solid transparent;
  2546. border-radius: 8px;
  2547. padding: 16px;
  2548. margin-bottom: 30px;
  2549. &:focus {
  2550. outline: 0;
  2551. border-color: $highlight-text-color;
  2552. }
  2553. .media-modal__pagination {
  2554. margin-bottom: 0;
  2555. }
  2556. }
  2557. .copy-paste-text {
  2558. background: lighten($ui-base-color, 4%);
  2559. border-radius: 8px;
  2560. border: 1px solid lighten($ui-base-color, 8%);
  2561. padding: 16px;
  2562. color: $primary-text-color;
  2563. font-size: 15px;
  2564. line-height: 22px;
  2565. display: flex;
  2566. flex-direction: column;
  2567. align-items: flex-end;
  2568. transition: border-color 300ms linear;
  2569. margin-bottom: 30px;
  2570. &:focus,
  2571. &.focused {
  2572. transition: none;
  2573. outline: 0;
  2574. border-color: $highlight-text-color;
  2575. }
  2576. &.copied {
  2577. border-color: $valid-value-color;
  2578. transition: none;
  2579. }
  2580. textarea {
  2581. width: 100%;
  2582. height: auto;
  2583. background: transparent;
  2584. color: inherit;
  2585. font: inherit;
  2586. border: 0;
  2587. padding: 0;
  2588. margin-bottom: 30px;
  2589. resize: none;
  2590. &:focus {
  2591. outline: 0;
  2592. }
  2593. }
  2594. }
  2595. .onboarding__profile {
  2596. position: relative;
  2597. margin-bottom: 40px + 20px;
  2598. .app-form__avatar-input {
  2599. border: 2px solid $ui-base-color;
  2600. position: absolute;
  2601. inset-inline-start: -2px;
  2602. bottom: -40px;
  2603. z-index: 2;
  2604. }
  2605. .app-form__header-input {
  2606. margin: 0 -20px;
  2607. border-radius: 0;
  2608. img {
  2609. border-radius: 0;
  2610. }
  2611. }
  2612. }
  2613. .compose-panel {
  2614. width: 285px;
  2615. margin-top: 10px;
  2616. display: flex;
  2617. flex-direction: column;
  2618. height: calc(100% - 10px);
  2619. overflow-y: hidden;
  2620. .hero-widget {
  2621. box-shadow: none;
  2622. &__text,
  2623. &__img,
  2624. &__img img {
  2625. border-radius: 0;
  2626. }
  2627. &__text {
  2628. padding: 15px;
  2629. color: $secondary-text-color;
  2630. strong {
  2631. font-weight: 700;
  2632. color: $primary-text-color;
  2633. }
  2634. }
  2635. }
  2636. .compose-form {
  2637. flex: 1 1 auto;
  2638. min-height: 0;
  2639. }
  2640. }
  2641. .navigation-panel {
  2642. margin-top: 10px;
  2643. margin-bottom: 10px;
  2644. height: calc(100% - 20px);
  2645. overflow-y: auto;
  2646. display: flex;
  2647. flex-direction: column;
  2648. & > a {
  2649. flex: 0 0 auto;
  2650. }
  2651. .logo {
  2652. height: 30px;
  2653. width: auto;
  2654. }
  2655. &__logo {
  2656. margin-bottom: 12px;
  2657. }
  2658. }
  2659. .navigation-panel,
  2660. .compose-panel {
  2661. hr {
  2662. flex: 0 0 auto;
  2663. border: 0;
  2664. background: transparent;
  2665. border-top: 1px solid lighten($ui-base-color, 4%);
  2666. margin: 10px 0;
  2667. }
  2668. .flex-spacer {
  2669. background: transparent;
  2670. }
  2671. }
  2672. .drawer__pager {
  2673. box-sizing: border-box;
  2674. padding: 0;
  2675. flex-grow: 1;
  2676. position: relative;
  2677. overflow: hidden;
  2678. display: flex;
  2679. border-radius: 4px;
  2680. }
  2681. .drawer__inner {
  2682. position: absolute;
  2683. top: 0;
  2684. inset-inline-start: 0;
  2685. background: darken($ui-base-color, 4%);
  2686. box-sizing: border-box;
  2687. padding: 0;
  2688. display: flex;
  2689. flex-direction: column;
  2690. overflow: hidden;
  2691. overflow-y: auto;
  2692. width: 100%;
  2693. height: 100%;
  2694. &.darker {
  2695. background: $ui-base-color;
  2696. }
  2697. }
  2698. .drawer__inner__mastodon {
  2699. background: darken($ui-base-color, 4%)
  2700. url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 234.80078 31.757813" width="234.80078" height="31.757812"><path d="M19.599609 0c-1.05 0-2.10039.375-2.90039 1.125L0 16.925781v14.832031h234.80078V17.025391l-16.5-15.900391c-1.6-1.5-4.20078-1.5-5.80078 0l-13.80078 13.099609c-1.6 1.5-4.19883 1.5-5.79883 0L179.09961 1.125c-1.6-1.5-4.19883-1.5-5.79883 0L159.5 14.224609c-1.6 1.5-4.20078 1.5-5.80078 0L139.90039 1.125c-1.6-1.5-4.20078-1.5-5.80078 0l-13.79883 13.099609c-1.6 1.5-4.20078 1.5-5.80078 0L100.69922 1.125c-1.600001-1.5-4.198829-1.5-5.798829 0l-13.59961 13.099609c-1.6 1.5-4.200781 1.5-5.800781 0L61.699219 1.125c-1.6-1.5-4.198828-1.5-5.798828 0L42.099609 14.224609c-1.6 1.5-4.198828 1.5-5.798828 0L22.5 1.125C21.7.375 20.649609 0 19.599609 0z" fill="#{hex-color($ui-base-color)}"/></svg>')
  2701. no-repeat bottom / 100% auto;
  2702. flex: 1;
  2703. min-height: 47px;
  2704. display: none;
  2705. > img {
  2706. display: block;
  2707. object-fit: contain;
  2708. object-position: bottom left;
  2709. width: 85%;
  2710. height: 100%;
  2711. pointer-events: none;
  2712. user-select: none;
  2713. }
  2714. @media screen and (height >= 640px) {
  2715. display: block;
  2716. }
  2717. }
  2718. .drawer__header {
  2719. flex: 0 0 auto;
  2720. font-size: 16px;
  2721. background: darken($ui-base-color, 4%);
  2722. margin-bottom: 10px;
  2723. display: flex;
  2724. flex-direction: row;
  2725. border-radius: 4px;
  2726. overflow: hidden;
  2727. a:hover,
  2728. a:focus,
  2729. a:active {
  2730. background: $ui-base-color;
  2731. }
  2732. }
  2733. .scrollable {
  2734. overflow-y: scroll;
  2735. overflow-x: hidden;
  2736. flex: 1 1 auto;
  2737. -webkit-overflow-scrolling: touch;
  2738. &.optionally-scrollable {
  2739. overflow-y: auto;
  2740. }
  2741. @supports (display: grid) {
  2742. // hack to fix Chrome <57
  2743. contain: strict;
  2744. }
  2745. &--flex {
  2746. display: flex;
  2747. flex-direction: column;
  2748. }
  2749. &__append {
  2750. flex: 1 1 auto;
  2751. position: relative;
  2752. min-height: 120px;
  2753. }
  2754. .scrollable {
  2755. flex: 1 1 auto;
  2756. }
  2757. }
  2758. .scrollable.fullscreen {
  2759. @supports (display: grid) {
  2760. // hack to fix Chrome <57
  2761. contain: none;
  2762. }
  2763. }
  2764. .column-back-button {
  2765. box-sizing: border-box;
  2766. width: 100%;
  2767. background: $ui-base-color;
  2768. border-radius: 4px 4px 0 0;
  2769. color: $highlight-text-color;
  2770. cursor: pointer;
  2771. flex: 0 0 auto;
  2772. font-size: 16px;
  2773. line-height: inherit;
  2774. border: 0;
  2775. border-bottom: 1px solid lighten($ui-base-color, 8%);
  2776. text-align: unset;
  2777. padding: 15px;
  2778. margin: 0;
  2779. z-index: 3;
  2780. outline: 0;
  2781. display: flex;
  2782. align-items: center;
  2783. &:hover {
  2784. text-decoration: underline;
  2785. }
  2786. }
  2787. .column-header__back-button {
  2788. display: flex;
  2789. align-items: center;
  2790. background: $ui-base-color;
  2791. border: 0;
  2792. font-family: inherit;
  2793. color: $highlight-text-color;
  2794. cursor: pointer;
  2795. white-space: nowrap;
  2796. font-size: 16px;
  2797. padding: 0 5px 0 0;
  2798. z-index: 3;
  2799. &:hover {
  2800. text-decoration: underline;
  2801. }
  2802. &:last-child {
  2803. padding: 0 15px 0 0;
  2804. }
  2805. }
  2806. .column-back-button__icon {
  2807. display: inline-block;
  2808. margin-inline-end: 5px;
  2809. }
  2810. .react-toggle {
  2811. display: inline-block;
  2812. position: relative;
  2813. cursor: pointer;
  2814. background-color: transparent;
  2815. border: 0;
  2816. border-radius: 10px;
  2817. padding: 0;
  2818. user-select: none;
  2819. -webkit-tap-highlight-color: rgba($base-overlay-background, 0);
  2820. -webkit-tap-highlight-color: transparent;
  2821. }
  2822. .react-toggle-screenreader-only {
  2823. border: 0;
  2824. clip: rect(0 0 0 0);
  2825. height: 1px;
  2826. margin: -1px;
  2827. overflow: hidden;
  2828. padding: 0;
  2829. position: absolute;
  2830. width: 1px;
  2831. }
  2832. .react-toggle--disabled {
  2833. cursor: not-allowed;
  2834. opacity: 0.5;
  2835. transition: opacity 0.25s;
  2836. }
  2837. .react-toggle-track {
  2838. width: 32px;
  2839. height: 20px;
  2840. padding: 0;
  2841. border-radius: 10px;
  2842. background-color: #626982;
  2843. }
  2844. .react-toggle--focus {
  2845. outline: $ui-button-focus-outline;
  2846. }
  2847. .react-toggle--checked .react-toggle-track {
  2848. background-color: $ui-highlight-color;
  2849. }
  2850. .react-toggle-track-check,
  2851. .react-toggle-track-x {
  2852. display: none;
  2853. }
  2854. .react-toggle-thumb {
  2855. position: absolute;
  2856. top: 2px;
  2857. inset-inline-start: 2px;
  2858. width: 16px;
  2859. height: 16px;
  2860. border-radius: 50%;
  2861. background-color: $primary-text-color;
  2862. box-sizing: border-box;
  2863. transition: all 0.25s ease;
  2864. transition-property: border-color, left;
  2865. }
  2866. .react-toggle--checked .react-toggle-thumb {
  2867. inset-inline-start: 32px - 16px - 2px;
  2868. border-color: $ui-highlight-color;
  2869. }
  2870. .switch-to-advanced {
  2871. color: $light-text-color;
  2872. background-color: $ui-base-color;
  2873. padding: 15px;
  2874. border-radius: 4px;
  2875. margin-top: 4px;
  2876. margin-bottom: 12px;
  2877. font-size: 13px;
  2878. line-height: 18px;
  2879. .switch-to-advanced__toggle {
  2880. color: $ui-button-tertiary-color;
  2881. font-weight: bold;
  2882. }
  2883. }
  2884. .column-link {
  2885. background: lighten($ui-base-color, 8%);
  2886. color: $primary-text-color;
  2887. display: flex;
  2888. align-items: center;
  2889. gap: 5px;
  2890. font-size: 16px;
  2891. padding: 13px;
  2892. text-decoration: none;
  2893. overflow: hidden;
  2894. white-space: nowrap;
  2895. border: 0;
  2896. border-left: 4px solid transparent;
  2897. &:hover,
  2898. &:focus,
  2899. &:active {
  2900. background: lighten($ui-base-color, 11%);
  2901. }
  2902. &:focus {
  2903. outline: 0;
  2904. }
  2905. &:focus-visible {
  2906. border-color: $ui-button-focus-outline-color;
  2907. border-radius: 0;
  2908. }
  2909. &--transparent {
  2910. background: transparent;
  2911. color: $secondary-text-color;
  2912. &:hover,
  2913. &:focus,
  2914. &:active {
  2915. background: transparent;
  2916. color: $primary-text-color;
  2917. }
  2918. &.active {
  2919. color: $highlight-text-color;
  2920. }
  2921. }
  2922. &--logo {
  2923. background: transparent;
  2924. padding: 10px;
  2925. &:hover,
  2926. &:focus,
  2927. &:active {
  2928. background: transparent;
  2929. }
  2930. }
  2931. }
  2932. .column-link__badge {
  2933. display: inline-block;
  2934. border-radius: 4px;
  2935. font-size: 12px;
  2936. line-height: 19px;
  2937. font-weight: 500;
  2938. background: $ui-base-color;
  2939. padding: 4px 8px;
  2940. margin: -6px 10px;
  2941. }
  2942. .column-subheading {
  2943. background: $ui-base-color;
  2944. color: $dark-text-color;
  2945. padding: 8px 20px;
  2946. font-size: 12px;
  2947. font-weight: 500;
  2948. text-transform: uppercase;
  2949. cursor: default;
  2950. }
  2951. .getting-started__wrapper,
  2952. .getting-started,
  2953. .flex-spacer {
  2954. background: $ui-base-color;
  2955. }
  2956. .getting-started__wrapper {
  2957. flex: 0 0 auto;
  2958. }
  2959. .flex-spacer {
  2960. flex: 1 1 auto;
  2961. }
  2962. .getting-started {
  2963. color: $dark-text-color;
  2964. overflow: auto;
  2965. &__trends {
  2966. flex: 0 1 auto;
  2967. opacity: 1;
  2968. animation: fade 150ms linear;
  2969. margin-top: 10px;
  2970. h4 {
  2971. border-bottom: 1px solid lighten($ui-base-color, 8%);
  2972. padding: 10px;
  2973. font-size: 12px;
  2974. text-transform: uppercase;
  2975. font-weight: 500;
  2976. a {
  2977. color: $darker-text-color;
  2978. text-decoration: none;
  2979. }
  2980. }
  2981. @media screen and (height <= 810px) {
  2982. .trends__item:nth-of-type(3) {
  2983. display: none;
  2984. }
  2985. }
  2986. @media screen and (height <= 720px) {
  2987. .trends__item:nth-of-type(2) {
  2988. display: none;
  2989. }
  2990. }
  2991. @media screen and (height <= 670px) {
  2992. display: none;
  2993. }
  2994. .trends__item {
  2995. border-bottom: 0;
  2996. padding: 10px;
  2997. &__current {
  2998. color: $darker-text-color;
  2999. }
  3000. }
  3001. }
  3002. }
  3003. .keyboard-shortcuts {
  3004. padding: 8px 0 0;
  3005. overflow: hidden;
  3006. thead {
  3007. position: absolute;
  3008. inset-inline-start: -9999px;
  3009. }
  3010. td {
  3011. padding: 0 10px 8px;
  3012. }
  3013. kbd {
  3014. display: inline-block;
  3015. padding: 3px 5px;
  3016. background-color: lighten($ui-base-color, 8%);
  3017. border: 1px solid darken($ui-base-color, 4%);
  3018. }
  3019. }
  3020. .setting-text {
  3021. display: block;
  3022. box-sizing: border-box;
  3023. margin: 0;
  3024. color: $inverted-text-color;
  3025. background: $white;
  3026. padding: 7px 10px;
  3027. font-family: inherit;
  3028. font-size: 14px;
  3029. line-height: 22px;
  3030. border-radius: 4px;
  3031. border: 1px solid $white;
  3032. &:focus {
  3033. outline: 0;
  3034. border-color: lighten($ui-highlight-color, 12%);
  3035. }
  3036. &__wrapper {
  3037. background: $white;
  3038. border: 1px solid $ui-secondary-color;
  3039. margin-bottom: 10px;
  3040. border-radius: 4px;
  3041. .setting-text {
  3042. border: 0;
  3043. margin-bottom: 0;
  3044. border-radius: 0;
  3045. &:focus {
  3046. border: 0;
  3047. }
  3048. }
  3049. &__modifiers {
  3050. color: $inverted-text-color;
  3051. font-family: inherit;
  3052. font-size: 14px;
  3053. background: $white;
  3054. }
  3055. }
  3056. &__toolbar {
  3057. display: flex;
  3058. justify-content: space-between;
  3059. margin-bottom: 20px;
  3060. }
  3061. @media screen and (width <= 600px) {
  3062. font-size: 16px;
  3063. }
  3064. }
  3065. .status-card {
  3066. display: flex;
  3067. align-items: center;
  3068. position: relative;
  3069. font-size: 14px;
  3070. color: $darker-text-color;
  3071. margin-top: 14px;
  3072. text-decoration: none;
  3073. overflow: hidden;
  3074. border: 1px solid lighten($ui-base-color, 8%);
  3075. border-radius: 8px;
  3076. &__actions {
  3077. bottom: 0;
  3078. inset-inline-start: 0;
  3079. position: absolute;
  3080. inset-inline-end: 0;
  3081. top: 0;
  3082. display: flex;
  3083. justify-content: center;
  3084. align-items: center;
  3085. cursor: pointer;
  3086. & > div {
  3087. background: rgba($base-shadow-color, 0.6);
  3088. border-radius: 8px;
  3089. padding: 12px 9px;
  3090. backdrop-filter: blur(10px) saturate(180%) contrast(75%) brightness(70%);
  3091. flex: 0 0 auto;
  3092. display: flex;
  3093. justify-content: center;
  3094. align-items: center;
  3095. }
  3096. button,
  3097. a {
  3098. display: inline;
  3099. color: $secondary-text-color;
  3100. background: transparent;
  3101. border: 0;
  3102. padding: 0 8px;
  3103. text-decoration: none;
  3104. font-size: 18px;
  3105. line-height: 18px;
  3106. &:hover,
  3107. &:active,
  3108. &:focus {
  3109. color: $primary-text-color;
  3110. }
  3111. }
  3112. a {
  3113. font-size: 19px;
  3114. position: relative;
  3115. bottom: -1px;
  3116. }
  3117. }
  3118. }
  3119. a.status-card {
  3120. cursor: pointer;
  3121. &:hover,
  3122. &:focus,
  3123. &:active {
  3124. .status-card__title,
  3125. .status-card__host,
  3126. .status-card__author,
  3127. .status-card__description {
  3128. color: $highlight-text-color;
  3129. }
  3130. }
  3131. }
  3132. .status-card a {
  3133. color: inherit;
  3134. text-decoration: none;
  3135. &:hover,
  3136. &:focus,
  3137. &:active {
  3138. .status-card__title,
  3139. .status-card__host,
  3140. .status-card__author,
  3141. .status-card__description {
  3142. color: $highlight-text-color;
  3143. }
  3144. }
  3145. }
  3146. .status-card-photo {
  3147. cursor: zoom-in;
  3148. display: block;
  3149. text-decoration: none;
  3150. width: 100%;
  3151. height: auto;
  3152. margin: 0;
  3153. }
  3154. .status-card-video {
  3155. // Firefox has a bug where frameborder=0 iframes add some extra blank space
  3156. // see https://bugzilla.mozilla.org/show_bug.cgi?id=155174
  3157. overflow: hidden;
  3158. iframe {
  3159. width: 100%;
  3160. height: 100%;
  3161. }
  3162. }
  3163. .status-card__title {
  3164. display: block;
  3165. font-weight: 700;
  3166. font-size: 19px;
  3167. line-height: 24px;
  3168. color: $primary-text-color;
  3169. overflow: hidden;
  3170. white-space: nowrap;
  3171. text-overflow: ellipsis;
  3172. }
  3173. .status-card.expanded .status-card__title {
  3174. white-space: normal;
  3175. display: -webkit-box;
  3176. -webkit-line-clamp: 2;
  3177. -webkit-box-orient: vertical;
  3178. }
  3179. .status-card__content {
  3180. flex: 1 1 auto;
  3181. overflow: hidden;
  3182. padding: 15px;
  3183. box-sizing: border-box;
  3184. max-width: 100%;
  3185. }
  3186. .status-card__host {
  3187. display: block;
  3188. font-size: 14px;
  3189. margin-bottom: 8px;
  3190. white-space: nowrap;
  3191. overflow: hidden;
  3192. text-overflow: ellipsis;
  3193. }
  3194. .status-card__author {
  3195. display: block;
  3196. margin-top: 8px;
  3197. font-size: 14px;
  3198. color: $primary-text-color;
  3199. white-space: nowrap;
  3200. overflow: hidden;
  3201. text-overflow: ellipsis;
  3202. strong {
  3203. font-weight: 500;
  3204. }
  3205. }
  3206. .status-card__description {
  3207. display: block;
  3208. margin-top: 8px;
  3209. font-size: 14px;
  3210. white-space: nowrap;
  3211. overflow: hidden;
  3212. text-overflow: ellipsis;
  3213. }
  3214. .status-card__image {
  3215. flex: 0 0 auto;
  3216. width: 120px;
  3217. aspect-ratio: 1;
  3218. background: lighten($ui-base-color, 8%);
  3219. position: relative;
  3220. & > .icon {
  3221. width: 18px;
  3222. height: 18px;
  3223. position: absolute;
  3224. transform-origin: 50% 50%;
  3225. top: 50%;
  3226. inset-inline-start: 50%;
  3227. transform: translate(-50%, -50%);
  3228. }
  3229. }
  3230. .status-card__image-image {
  3231. display: block;
  3232. margin: 0;
  3233. width: 100%;
  3234. height: 100%;
  3235. object-fit: cover;
  3236. background-size: cover;
  3237. background-position: center center;
  3238. }
  3239. .status-card__image-preview {
  3240. display: block;
  3241. margin: 0;
  3242. width: 100%;
  3243. height: 100%;
  3244. object-fit: fill;
  3245. position: absolute;
  3246. top: 0;
  3247. inset-inline-start: 0;
  3248. z-index: 0;
  3249. background: $base-overlay-background;
  3250. &--hidden {
  3251. display: none;
  3252. }
  3253. }
  3254. .status-card.expanded {
  3255. flex-direction: column;
  3256. align-items: flex-start;
  3257. }
  3258. .status-card.expanded .status-card__image {
  3259. width: 100%;
  3260. aspect-ratio: auto;
  3261. }
  3262. .status-card__image,
  3263. .status-card__image-image,
  3264. .status-card__image-preview {
  3265. border-start-start-radius: 8px;
  3266. border-start-end-radius: 0;
  3267. border-end-end-radius: 0;
  3268. border-end-start-radius: 8px;
  3269. }
  3270. .status-card.expanded .status-card__image,
  3271. .status-card.expanded .status-card__image-image,
  3272. .status-card.expanded .status-card__image-preview {
  3273. border-start-end-radius: 8px;
  3274. border-end-end-radius: 0;
  3275. border-end-start-radius: 0;
  3276. }
  3277. .status-card.expanded > a {
  3278. width: 100%;
  3279. }
  3280. .load-more {
  3281. display: block;
  3282. color: $dark-text-color;
  3283. background-color: transparent;
  3284. border: 0;
  3285. font-size: inherit;
  3286. text-align: center;
  3287. line-height: inherit;
  3288. margin: 0;
  3289. padding: 15px;
  3290. box-sizing: border-box;
  3291. width: 100%;
  3292. clear: both;
  3293. text-decoration: none;
  3294. &:hover {
  3295. background: lighten($ui-base-color, 2%);
  3296. }
  3297. }
  3298. .load-gap {
  3299. border-bottom: 1px solid lighten($ui-base-color, 8%);
  3300. }
  3301. .timeline-hint {
  3302. text-align: center;
  3303. color: $darker-text-color;
  3304. padding: 15px;
  3305. box-sizing: border-box;
  3306. width: 100%;
  3307. cursor: default;
  3308. strong {
  3309. font-weight: 500;
  3310. }
  3311. a {
  3312. color: $highlight-text-color;
  3313. text-decoration: none;
  3314. &:hover,
  3315. &:focus,
  3316. &:active {
  3317. text-decoration: underline;
  3318. color: lighten($highlight-text-color, 4%);
  3319. }
  3320. }
  3321. }
  3322. .regeneration-indicator {
  3323. text-align: center;
  3324. font-size: 16px;
  3325. font-weight: 500;
  3326. color: $dark-text-color;
  3327. background: $ui-base-color;
  3328. cursor: default;
  3329. display: flex;
  3330. flex: 1 1 auto;
  3331. flex-direction: column;
  3332. align-items: center;
  3333. justify-content: center;
  3334. padding: 20px;
  3335. &__figure {
  3336. &,
  3337. img {
  3338. display: block;
  3339. width: auto;
  3340. height: 160px;
  3341. margin: 0;
  3342. }
  3343. }
  3344. &--without-header {
  3345. padding-top: 20px + 48px;
  3346. }
  3347. &__label {
  3348. margin-top: 30px;
  3349. strong {
  3350. display: block;
  3351. margin-bottom: 10px;
  3352. color: $dark-text-color;
  3353. }
  3354. span {
  3355. font-size: 15px;
  3356. font-weight: 400;
  3357. }
  3358. }
  3359. }
  3360. .column-header__wrapper {
  3361. position: relative;
  3362. flex: 0 0 auto;
  3363. z-index: 1;
  3364. &.active {
  3365. box-shadow: 0 1px 0 rgba($highlight-text-color, 0.3);
  3366. &::before {
  3367. display: block;
  3368. content: '';
  3369. position: absolute;
  3370. bottom: -13px;
  3371. inset-inline-start: 0;
  3372. inset-inline-end: 0;
  3373. margin: 0 auto;
  3374. width: 60%;
  3375. pointer-events: none;
  3376. height: 28px;
  3377. z-index: 1;
  3378. background: radial-gradient(
  3379. ellipse,
  3380. rgba($ui-highlight-color, 0.23) 0%,
  3381. rgba($ui-highlight-color, 0) 60%
  3382. );
  3383. }
  3384. }
  3385. .announcements {
  3386. z-index: 1;
  3387. position: relative;
  3388. }
  3389. }
  3390. .column-header {
  3391. display: flex;
  3392. font-size: 16px;
  3393. background: $ui-base-color;
  3394. border-bottom: 1px solid lighten($ui-base-color, 8%);
  3395. border-radius: 4px 4px 0 0;
  3396. flex: 0 0 auto;
  3397. cursor: pointer;
  3398. position: relative;
  3399. z-index: 2;
  3400. outline: 0;
  3401. & > button {
  3402. display: flex;
  3403. align-items: center;
  3404. gap: 5px;
  3405. margin: 0;
  3406. border: 0;
  3407. padding: 13px;
  3408. padding-inline-end: 0;
  3409. color: inherit;
  3410. background: transparent;
  3411. font: inherit;
  3412. text-align: start;
  3413. text-overflow: ellipsis;
  3414. overflow: hidden;
  3415. white-space: nowrap;
  3416. flex: 1;
  3417. &:focus-visible {
  3418. outline: $ui-button-icon-focus-outline;
  3419. }
  3420. }
  3421. & > .column-header__back-button {
  3422. color: $highlight-text-color;
  3423. }
  3424. &.active {
  3425. .column-header__icon {
  3426. color: $highlight-text-color;
  3427. text-shadow: 0 0 10px rgba($highlight-text-color, 0.4);
  3428. }
  3429. }
  3430. &:focus,
  3431. &:active {
  3432. outline: 0;
  3433. }
  3434. }
  3435. .column-header__buttons {
  3436. height: 48px;
  3437. display: flex;
  3438. }
  3439. .column-header__links {
  3440. margin-bottom: 14px;
  3441. }
  3442. .column-header__links .text-btn {
  3443. margin-inline-end: 10px;
  3444. }
  3445. .column-header__button {
  3446. display: flex;
  3447. justify-content: center;
  3448. align-items: center;
  3449. background: $ui-base-color;
  3450. border: 0;
  3451. color: $darker-text-color;
  3452. cursor: pointer;
  3453. font-size: 16px;
  3454. padding: 0 15px;
  3455. &:last-child {
  3456. border-start-end-radius: 4px;
  3457. }
  3458. &:hover {
  3459. color: lighten($darker-text-color, 4%);
  3460. }
  3461. &:focus-visible {
  3462. outline: $ui-button-focus-outline;
  3463. }
  3464. &.active {
  3465. color: $primary-text-color;
  3466. background: lighten($ui-base-color, 4%);
  3467. &:hover {
  3468. color: $primary-text-color;
  3469. }
  3470. }
  3471. &:disabled {
  3472. color: $dark-text-color;
  3473. cursor: default;
  3474. }
  3475. }
  3476. .column-header__collapsible {
  3477. max-height: 70vh;
  3478. overflow: hidden;
  3479. overflow-y: auto;
  3480. border-bottom: 1px solid lighten($ui-base-color, 8%);
  3481. color: $darker-text-color;
  3482. transition:
  3483. max-height 150ms ease-in-out,
  3484. opacity 300ms linear;
  3485. opacity: 1;
  3486. z-index: 1;
  3487. position: relative;
  3488. &.collapsed {
  3489. max-height: 0;
  3490. opacity: 0.5;
  3491. }
  3492. &.animating {
  3493. overflow-y: hidden;
  3494. }
  3495. hr {
  3496. height: 0;
  3497. background: transparent;
  3498. border: 0;
  3499. border-top: 1px solid lighten($ui-base-color, 8%);
  3500. margin: 10px 0;
  3501. }
  3502. }
  3503. .column-header__collapsible-inner {
  3504. background: $ui-base-color;
  3505. padding: 15px;
  3506. }
  3507. .column-header__setting-btn {
  3508. &:hover,
  3509. &:focus {
  3510. color: $darker-text-color;
  3511. text-decoration: underline;
  3512. }
  3513. }
  3514. .column-header__collapsible__extra + .column-header__setting-btn {
  3515. padding-top: 5px;
  3516. }
  3517. .column-header__permission-btn {
  3518. display: inline;
  3519. font-weight: inherit;
  3520. text-decoration: underline;
  3521. }
  3522. .column-header__setting-arrows {
  3523. float: right;
  3524. .column-header__setting-btn {
  3525. padding: 5px;
  3526. &:first-child {
  3527. padding-inline-end: 7px;
  3528. }
  3529. &:last-child {
  3530. padding-inline-start: 7px;
  3531. margin-inline-start: 5px;
  3532. }
  3533. }
  3534. }
  3535. .text-btn {
  3536. display: inline-flex;
  3537. align-items: center;
  3538. gap: 4px;
  3539. padding: 0;
  3540. font-family: inherit;
  3541. font-size: inherit;
  3542. color: inherit;
  3543. border: 0;
  3544. background: transparent;
  3545. cursor: pointer;
  3546. .icon {
  3547. width: 13px;
  3548. height: 13px;
  3549. }
  3550. }
  3551. .column-header__issue-btn {
  3552. color: $warning-red;
  3553. &:hover {
  3554. color: $error-red;
  3555. text-decoration: underline;
  3556. }
  3557. }
  3558. .loading-indicator {
  3559. color: $dark-text-color;
  3560. font-size: 12px;
  3561. font-weight: 400;
  3562. text-transform: uppercase;
  3563. overflow: visible;
  3564. position: absolute;
  3565. top: 50%;
  3566. inset-inline-start: 50%;
  3567. transform: translate(-50%, -50%);
  3568. display: flex;
  3569. align-items: center;
  3570. justify-content: center;
  3571. }
  3572. .button .loading-indicator {
  3573. position: static;
  3574. transform: none;
  3575. .circular-progress {
  3576. color: $primary-text-color;
  3577. width: 22px;
  3578. height: 22px;
  3579. }
  3580. }
  3581. .circular-progress {
  3582. color: lighten($ui-base-color, 26%);
  3583. animation: 1.4s linear 0s infinite normal none running simple-rotate;
  3584. circle {
  3585. stroke: currentColor;
  3586. stroke-dasharray: 80px, 200px;
  3587. stroke-dashoffset: 0;
  3588. animation: circular-progress 1.4s ease-in-out infinite;
  3589. }
  3590. }
  3591. @keyframes circular-progress {
  3592. 0% {
  3593. stroke-dasharray: 1px, 200px;
  3594. stroke-dashoffset: 0;
  3595. }
  3596. 50% {
  3597. stroke-dasharray: 100px, 200px;
  3598. stroke-dashoffset: -15px;
  3599. }
  3600. 100% {
  3601. stroke-dasharray: 100px, 200px;
  3602. stroke-dashoffset: -125px;
  3603. }
  3604. }
  3605. @keyframes simple-rotate {
  3606. 0% {
  3607. transform: rotate(0deg);
  3608. }
  3609. 100% {
  3610. transform: rotate(360deg);
  3611. }
  3612. }
  3613. @keyframes spring-rotate-in {
  3614. 0% {
  3615. transform: rotate(0deg);
  3616. }
  3617. 30% {
  3618. transform: rotate(-484.8deg);
  3619. }
  3620. 60% {
  3621. transform: rotate(-316.7deg);
  3622. }
  3623. 90% {
  3624. transform: rotate(-375deg);
  3625. }
  3626. 100% {
  3627. transform: rotate(-360deg);
  3628. }
  3629. }
  3630. @keyframes spring-rotate-out {
  3631. 0% {
  3632. transform: rotate(-360deg);
  3633. }
  3634. 30% {
  3635. transform: rotate(124.8deg);
  3636. }
  3637. 60% {
  3638. transform: rotate(-43.27deg);
  3639. }
  3640. 90% {
  3641. transform: rotate(15deg);
  3642. }
  3643. 100% {
  3644. transform: rotate(0deg);
  3645. }
  3646. }
  3647. .video-error-cover {
  3648. align-items: center;
  3649. background: $base-overlay-background;
  3650. color: $primary-text-color;
  3651. cursor: pointer;
  3652. display: flex;
  3653. flex-direction: column;
  3654. height: 100%;
  3655. justify-content: center;
  3656. margin-top: 8px;
  3657. position: relative;
  3658. text-align: center;
  3659. z-index: 100;
  3660. }
  3661. .media-spoiler {
  3662. background: $base-overlay-background;
  3663. color: $darker-text-color;
  3664. border: 0;
  3665. padding: 0;
  3666. width: 100%;
  3667. height: 100%;
  3668. border-radius: 4px;
  3669. appearance: none;
  3670. &:hover,
  3671. &:active,
  3672. &:focus {
  3673. padding: 0;
  3674. color: lighten($darker-text-color, 8%);
  3675. }
  3676. }
  3677. .media-spoiler__warning {
  3678. display: block;
  3679. font-size: 14px;
  3680. }
  3681. .media-spoiler__trigger {
  3682. display: block;
  3683. font-size: 11px;
  3684. font-weight: 700;
  3685. }
  3686. .spoiler-button {
  3687. top: 0;
  3688. inset-inline-start: 0;
  3689. width: 100%;
  3690. height: 100%;
  3691. position: absolute;
  3692. z-index: 100;
  3693. &--minified {
  3694. display: block;
  3695. inset-inline-start: 4px;
  3696. top: 4px;
  3697. width: auto;
  3698. height: auto;
  3699. }
  3700. &--click-thru {
  3701. pointer-events: none;
  3702. }
  3703. &--hidden {
  3704. display: none;
  3705. }
  3706. &__overlay {
  3707. display: flex;
  3708. align-items: center;
  3709. justify-content: center;
  3710. background: transparent;
  3711. width: 100%;
  3712. height: 100%;
  3713. padding: 0;
  3714. margin: 0;
  3715. border: 0;
  3716. color: $white;
  3717. &__label {
  3718. background-color: rgba($black, 0.45);
  3719. backdrop-filter: blur(10px) saturate(180%) contrast(75%) brightness(70%);
  3720. border-radius: 6px;
  3721. padding: 10px 15px;
  3722. display: flex;
  3723. align-items: center;
  3724. justify-content: center;
  3725. gap: 8px;
  3726. flex-direction: column;
  3727. font-weight: 500;
  3728. font-size: 14px;
  3729. }
  3730. &__action {
  3731. font-weight: 400;
  3732. font-size: 13px;
  3733. }
  3734. &:hover,
  3735. &:focus {
  3736. .spoiler-button__overlay__label {
  3737. background-color: rgba($black, 0.9);
  3738. }
  3739. }
  3740. }
  3741. }
  3742. .modal-container--preloader {
  3743. background: lighten($ui-base-color, 8%);
  3744. }
  3745. .account--panel {
  3746. background: lighten($ui-base-color, 4%);
  3747. border-top: 1px solid lighten($ui-base-color, 8%);
  3748. border-bottom: 1px solid lighten($ui-base-color, 8%);
  3749. display: flex;
  3750. flex-direction: row;
  3751. padding: 10px 0;
  3752. }
  3753. .account--panel__button,
  3754. .detailed-status__button {
  3755. flex: 1 1 auto;
  3756. text-align: center;
  3757. }
  3758. .column-settings__outer {
  3759. background: lighten($ui-base-color, 8%);
  3760. padding: 15px;
  3761. }
  3762. .column-settings__section {
  3763. color: $darker-text-color;
  3764. cursor: default;
  3765. display: block;
  3766. font-weight: 500;
  3767. margin-bottom: 10px;
  3768. }
  3769. .column-settings__row--with-margin {
  3770. margin-bottom: 15px;
  3771. }
  3772. .column-settings__hashtags {
  3773. .column-settings__row {
  3774. margin-bottom: 15px;
  3775. }
  3776. .column-select {
  3777. &__control {
  3778. @include search-input;
  3779. &::placeholder {
  3780. color: lighten($darker-text-color, 4%);
  3781. }
  3782. &::-moz-focus-inner {
  3783. border: 0;
  3784. }
  3785. &::-moz-focus-inner,
  3786. &:focus,
  3787. &:active {
  3788. outline: 0 !important;
  3789. }
  3790. &:focus {
  3791. background: lighten($ui-base-color, 4%);
  3792. }
  3793. @media screen and (width <= 600px) {
  3794. font-size: 16px;
  3795. }
  3796. }
  3797. &__placeholder {
  3798. color: $dark-text-color;
  3799. padding-inline-start: 2px;
  3800. font-size: 12px;
  3801. }
  3802. &__value-container {
  3803. padding-inline-start: 6px;
  3804. }
  3805. &__multi-value {
  3806. background: lighten($ui-base-color, 8%);
  3807. &__remove {
  3808. cursor: pointer;
  3809. &:hover,
  3810. &:active,
  3811. &:focus {
  3812. background: lighten($ui-base-color, 12%);
  3813. color: lighten($darker-text-color, 4%);
  3814. }
  3815. }
  3816. }
  3817. &__multi-value__label,
  3818. &__input,
  3819. &__input-container {
  3820. color: $darker-text-color;
  3821. }
  3822. &__clear-indicator,
  3823. &__dropdown-indicator {
  3824. cursor: pointer;
  3825. transition: none;
  3826. color: $dark-text-color;
  3827. &:hover,
  3828. &:active,
  3829. &:focus {
  3830. color: lighten($dark-text-color, 4%);
  3831. }
  3832. }
  3833. &__indicator-separator {
  3834. background-color: lighten($ui-base-color, 8%);
  3835. }
  3836. &__menu {
  3837. @include search-popout;
  3838. padding: 0;
  3839. background: $ui-secondary-color;
  3840. }
  3841. &__menu-list {
  3842. padding: 6px;
  3843. }
  3844. &__option {
  3845. color: $inverted-text-color;
  3846. border-radius: 4px;
  3847. font-size: 14px;
  3848. &--is-focused,
  3849. &--is-selected {
  3850. background: darken($ui-secondary-color, 10%);
  3851. }
  3852. }
  3853. }
  3854. }
  3855. .column-settings__row {
  3856. .text-btn:not(.column-header__permission-btn) {
  3857. margin-bottom: 15px;
  3858. }
  3859. }
  3860. .relationship-tag {
  3861. color: $white;
  3862. margin-bottom: 4px;
  3863. display: block;
  3864. background-color: rgba($black, 0.45);
  3865. backdrop-filter: blur(10px) saturate(180%) contrast(75%) brightness(70%);
  3866. font-size: 11px;
  3867. text-transform: uppercase;
  3868. font-weight: 700;
  3869. padding: 2px 6px;
  3870. border-radius: 4px;
  3871. }
  3872. .setting-toggle {
  3873. display: block;
  3874. line-height: 24px;
  3875. }
  3876. .setting-toggle__label {
  3877. color: $darker-text-color;
  3878. display: inline-block;
  3879. margin-bottom: 14px;
  3880. margin-inline-start: 8px;
  3881. vertical-align: middle;
  3882. }
  3883. .limited-account-hint {
  3884. p {
  3885. color: $secondary-text-color;
  3886. font-size: 15px;
  3887. font-weight: 500;
  3888. margin-bottom: 20px;
  3889. }
  3890. }
  3891. .empty-column-indicator,
  3892. .follow_requests-unlocked_explanation {
  3893. color: $dark-text-color;
  3894. background: $ui-base-color;
  3895. text-align: center;
  3896. padding: 20px;
  3897. font-size: 15px;
  3898. font-weight: 400;
  3899. cursor: default;
  3900. display: flex;
  3901. flex: 1 1 auto;
  3902. align-items: center;
  3903. justify-content: center;
  3904. & > span {
  3905. max-width: 500px;
  3906. }
  3907. a {
  3908. color: $highlight-text-color;
  3909. text-decoration: none;
  3910. &:hover {
  3911. text-decoration: underline;
  3912. }
  3913. }
  3914. }
  3915. .follow_requests-unlocked_explanation {
  3916. background: darken($ui-base-color, 4%);
  3917. border-bottom: 1px solid lighten($ui-base-color, 8%);
  3918. contain: initial;
  3919. flex-grow: 0;
  3920. }
  3921. .error-column {
  3922. padding: 20px;
  3923. background: $ui-base-color;
  3924. border-radius: 4px;
  3925. display: flex;
  3926. flex: 1 1 auto;
  3927. align-items: center;
  3928. justify-content: center;
  3929. flex-direction: column;
  3930. cursor: default;
  3931. &__image {
  3932. width: 70%;
  3933. max-width: 350px;
  3934. margin-top: -50px;
  3935. }
  3936. &__message {
  3937. text-align: center;
  3938. color: $darker-text-color;
  3939. font-size: 15px;
  3940. line-height: 22px;
  3941. h1 {
  3942. font-size: 28px;
  3943. line-height: 33px;
  3944. font-weight: 700;
  3945. margin-bottom: 15px;
  3946. color: $primary-text-color;
  3947. }
  3948. p {
  3949. max-width: 48ch;
  3950. }
  3951. &__actions {
  3952. margin-top: 30px;
  3953. display: flex;
  3954. gap: 10px;
  3955. align-items: center;
  3956. justify-content: center;
  3957. }
  3958. }
  3959. }
  3960. @keyframes heartbeat {
  3961. 0% {
  3962. transform: scale(1);
  3963. animation-timing-function: ease-out;
  3964. }
  3965. 10% {
  3966. transform: scale(0.91);
  3967. animation-timing-function: ease-in;
  3968. }
  3969. 17% {
  3970. transform: scale(0.98);
  3971. animation-timing-function: ease-out;
  3972. }
  3973. 33% {
  3974. transform: scale(0.87);
  3975. animation-timing-function: ease-in;
  3976. }
  3977. 45% {
  3978. transform: scale(1);
  3979. animation-timing-function: ease-out;
  3980. }
  3981. }
  3982. .no-reduce-motion .pulse-loading {
  3983. transform-origin: center center;
  3984. animation: heartbeat 1.5s ease-in-out infinite both;
  3985. }
  3986. @keyframes shake-bottom {
  3987. 0%,
  3988. 100% {
  3989. transform: rotate(0deg);
  3990. transform-origin: 50% 100%;
  3991. }
  3992. 10% {
  3993. transform: rotate(2deg);
  3994. }
  3995. 20%,
  3996. 40%,
  3997. 60% {
  3998. transform: rotate(-4deg);
  3999. }
  4000. 30%,
  4001. 50%,
  4002. 70% {
  4003. transform: rotate(4deg);
  4004. }
  4005. 80% {
  4006. transform: rotate(-2deg);
  4007. }
  4008. 90% {
  4009. transform: rotate(2deg);
  4010. }
  4011. }
  4012. .no-reduce-motion .shake-bottom {
  4013. transform-origin: 50% 100%;
  4014. animation: shake-bottom 0.8s cubic-bezier(0.455, 0.03, 0.515, 0.955) 2s 2 both;
  4015. }
  4016. .emoji-picker-dropdown__menu {
  4017. position: relative;
  4018. margin-top: 5px;
  4019. z-index: 2;
  4020. .emoji-mart-scroll {
  4021. transition: opacity 200ms ease;
  4022. }
  4023. &.selecting .emoji-mart-scroll {
  4024. opacity: 0.5;
  4025. }
  4026. }
  4027. .emoji-picker-dropdown__modifiers {
  4028. position: absolute;
  4029. top: 60px;
  4030. inset-inline-end: 11px;
  4031. cursor: pointer;
  4032. }
  4033. .emoji-picker-dropdown__modifiers__menu {
  4034. position: absolute;
  4035. z-index: 4;
  4036. top: -5px;
  4037. inset-inline-start: -9px;
  4038. background: var(--dropdown-background-color);
  4039. border: 1px solid var(--dropdown-border-color);
  4040. border-radius: 4px;
  4041. box-shadow: var(--dropdown-shadow);
  4042. overflow: hidden;
  4043. button {
  4044. display: block;
  4045. cursor: pointer;
  4046. border: 0;
  4047. padding: 4px 8px;
  4048. background: transparent;
  4049. &:hover,
  4050. &:focus,
  4051. &:active {
  4052. background: var(--dropdown-border-color);
  4053. }
  4054. }
  4055. .emoji-mart-emoji {
  4056. height: 22px;
  4057. }
  4058. }
  4059. .emoji-mart-emoji {
  4060. span {
  4061. background-repeat: no-repeat;
  4062. }
  4063. }
  4064. .upload-area {
  4065. align-items: center;
  4066. background: rgba($base-overlay-background, 0.8);
  4067. display: flex;
  4068. height: 100vh;
  4069. justify-content: center;
  4070. inset-inline-start: 0;
  4071. opacity: 0;
  4072. position: fixed;
  4073. top: 0;
  4074. visibility: hidden;
  4075. width: 100vw;
  4076. z-index: 2000;
  4077. * {
  4078. pointer-events: none;
  4079. }
  4080. }
  4081. .upload-area__drop {
  4082. width: 320px;
  4083. height: 160px;
  4084. display: flex;
  4085. box-sizing: border-box;
  4086. position: relative;
  4087. padding: 8px;
  4088. }
  4089. .upload-area__background {
  4090. position: absolute;
  4091. top: 0;
  4092. inset-inline-end: 0;
  4093. bottom: 0;
  4094. inset-inline-start: 0;
  4095. z-index: -1;
  4096. border-radius: 4px;
  4097. background: $ui-base-color;
  4098. box-shadow: 0 0 5px rgba($base-shadow-color, 0.2);
  4099. }
  4100. .upload-area__content {
  4101. flex: 1;
  4102. display: flex;
  4103. align-items: center;
  4104. justify-content: center;
  4105. text-align: center;
  4106. color: $secondary-text-color;
  4107. font-size: 18px;
  4108. font-weight: 500;
  4109. border: 2px dashed $ui-base-lighter-color;
  4110. border-radius: 4px;
  4111. }
  4112. .upload-progress {
  4113. color: $darker-text-color;
  4114. overflow: hidden;
  4115. display: flex;
  4116. gap: 8px;
  4117. align-items: center;
  4118. padding: 0 12px;
  4119. .icon {
  4120. width: 24px;
  4121. height: 24px;
  4122. color: $ui-highlight-color;
  4123. }
  4124. span {
  4125. font-size: 12px;
  4126. text-transform: uppercase;
  4127. font-weight: 500;
  4128. display: block;
  4129. }
  4130. }
  4131. .upload-progress__message {
  4132. flex: 1 1 auto;
  4133. }
  4134. .upload-progress__backdrop {
  4135. width: 100%;
  4136. height: 6px;
  4137. border-radius: 6px;
  4138. background: darken($ui-base-color, 8%);
  4139. position: relative;
  4140. margin-top: 5px;
  4141. }
  4142. .upload-progress__tracker {
  4143. position: absolute;
  4144. inset-inline-start: 0;
  4145. top: 0;
  4146. height: 6px;
  4147. background: $ui-highlight-color;
  4148. border-radius: 6px;
  4149. }
  4150. .emoji-button {
  4151. display: block;
  4152. padding-top: 5px;
  4153. padding-bottom: 2px;
  4154. padding-inline-start: 2px;
  4155. padding-inline-end: 5px;
  4156. outline: 0;
  4157. cursor: pointer;
  4158. img {
  4159. filter: grayscale(100%);
  4160. opacity: 0.8;
  4161. display: block;
  4162. margin: 0;
  4163. width: 22px;
  4164. height: 22px;
  4165. }
  4166. &:hover,
  4167. &:active,
  4168. &:focus {
  4169. img {
  4170. opacity: 1;
  4171. filter: none;
  4172. border-radius: 100%;
  4173. }
  4174. }
  4175. &:focus-visible {
  4176. img {
  4177. outline: $ui-button-icon-focus-outline;
  4178. }
  4179. }
  4180. }
  4181. .dropdown--active .emoji-button img {
  4182. opacity: 1;
  4183. filter: none;
  4184. }
  4185. .privacy-dropdown__dropdown,
  4186. .language-dropdown__dropdown {
  4187. box-shadow: var(--dropdown-shadow);
  4188. background: var(--dropdown-background-color);
  4189. border: 1px solid var(--dropdown-border-color);
  4190. padding: 4px;
  4191. border-radius: 4px;
  4192. overflow: hidden;
  4193. z-index: 2;
  4194. width: 300px;
  4195. &.top {
  4196. transform-origin: 50% 100%;
  4197. }
  4198. &.bottom {
  4199. transform-origin: 50% 0;
  4200. }
  4201. }
  4202. .modal-root__container .privacy-dropdown {
  4203. flex-grow: 0;
  4204. }
  4205. .modal-root__container .privacy-dropdown__dropdown {
  4206. pointer-events: auto;
  4207. z-index: 9999;
  4208. }
  4209. .privacy-dropdown__option {
  4210. font-size: 14px;
  4211. line-height: 20px;
  4212. letter-spacing: 0.25px;
  4213. padding: 8px 12px;
  4214. cursor: pointer;
  4215. display: flex;
  4216. align-items: center;
  4217. gap: 12px;
  4218. border-radius: 4px;
  4219. color: $primary-text-color;
  4220. &:hover,
  4221. &:active {
  4222. background: var(--dropdown-border-color);
  4223. }
  4224. &:focus,
  4225. &.active {
  4226. background: $ui-highlight-color;
  4227. color: $primary-text-color;
  4228. outline: 0;
  4229. .privacy-dropdown__option__content,
  4230. .privacy-dropdown__option__content strong,
  4231. .privacy-dropdown__option__additional {
  4232. color: $primary-text-color;
  4233. }
  4234. }
  4235. &__additional {
  4236. display: flex;
  4237. align-items: center;
  4238. justify-content: center;
  4239. color: $darker-text-color;
  4240. cursor: help;
  4241. }
  4242. }
  4243. .privacy-dropdown__option__icon {
  4244. display: flex;
  4245. align-items: center;
  4246. justify-content: center;
  4247. }
  4248. .privacy-dropdown__option__content {
  4249. flex: 1 1 auto;
  4250. color: $darker-text-color;
  4251. strong {
  4252. color: $primary-text-color;
  4253. font-weight: 500;
  4254. display: block;
  4255. @each $lang in $cjk-langs {
  4256. &:lang(#{$lang}) {
  4257. font-weight: 700;
  4258. }
  4259. }
  4260. }
  4261. }
  4262. .language-dropdown {
  4263. &__dropdown {
  4264. padding: 0;
  4265. .emoji-mart-search {
  4266. padding: 10px;
  4267. background: var(--dropdown-background-color);
  4268. input {
  4269. padding: 8px 12px;
  4270. background: $ui-base-color;
  4271. border: 1px solid lighten($ui-base-color, 8%);
  4272. color: $darker-text-color;
  4273. @media screen and (width <= 600px) {
  4274. font-size: 16px;
  4275. line-height: 24px;
  4276. letter-spacing: 0.5px;
  4277. }
  4278. }
  4279. }
  4280. .emoji-mart-search-icon {
  4281. inset-inline-end: 15px;
  4282. opacity: 1;
  4283. color: $darker-text-color;
  4284. .icon {
  4285. width: 18px;
  4286. height: 18px;
  4287. }
  4288. &:disabled {
  4289. opacity: 0.38;
  4290. }
  4291. }
  4292. .emoji-mart-scroll {
  4293. padding: 0 10px 10px;
  4294. background: var(--dropdown-background-color);
  4295. }
  4296. &__results {
  4297. &__item {
  4298. cursor: pointer;
  4299. color: $primary-text-color;
  4300. font-size: 14px;
  4301. line-height: 20px;
  4302. letter-spacing: 0.25px;
  4303. font-weight: 500;
  4304. padding: 8px 12px;
  4305. border-radius: 4px;
  4306. overflow: hidden;
  4307. white-space: nowrap;
  4308. text-overflow: ellipsis;
  4309. &__common-name {
  4310. color: $darker-text-color;
  4311. font-weight: 400;
  4312. }
  4313. &:active,
  4314. &:hover {
  4315. background: var(--dropdown-border-color);
  4316. }
  4317. &:focus,
  4318. &.active {
  4319. background: $ui-highlight-color;
  4320. color: $primary-text-color;
  4321. outline: 0;
  4322. .language-dropdown__dropdown__results__item__common-name {
  4323. color: $primary-text-color;
  4324. }
  4325. }
  4326. }
  4327. }
  4328. }
  4329. }
  4330. .search {
  4331. margin-bottom: 32px;
  4332. position: relative;
  4333. .layout-multiple-columns & {
  4334. margin-bottom: 10px;
  4335. }
  4336. &__popout {
  4337. box-sizing: border-box;
  4338. display: none;
  4339. position: absolute;
  4340. inset-inline-start: 0;
  4341. margin-top: -2px;
  4342. width: 100%;
  4343. background: $ui-base-color;
  4344. border: 1px solid lighten($ui-base-color, 8%);
  4345. border-radius: 0 0 4px 4px;
  4346. box-shadow: var(--dropdown-shadow);
  4347. z-index: 99;
  4348. font-size: 13px;
  4349. padding: 15px 5px;
  4350. h4 {
  4351. text-transform: uppercase;
  4352. color: $darker-text-color;
  4353. font-weight: 500;
  4354. padding: 0 10px;
  4355. margin-bottom: 10px;
  4356. }
  4357. .icon-button {
  4358. padding: 0;
  4359. color: $darker-text-color;
  4360. }
  4361. .icon {
  4362. width: 18px;
  4363. height: 18px;
  4364. }
  4365. &__menu {
  4366. margin-bottom: 20px;
  4367. &:last-child {
  4368. margin-bottom: 0;
  4369. }
  4370. &__message {
  4371. color: $darker-text-color;
  4372. padding: 0 10px;
  4373. }
  4374. &__item {
  4375. display: block;
  4376. box-sizing: border-box;
  4377. width: 100%;
  4378. border: 0;
  4379. font: inherit;
  4380. background: transparent;
  4381. color: $darker-text-color;
  4382. padding: 10px;
  4383. cursor: pointer;
  4384. border-radius: 4px;
  4385. text-align: start;
  4386. text-overflow: ellipsis;
  4387. overflow: hidden;
  4388. white-space: nowrap;
  4389. &--flex {
  4390. display: flex;
  4391. justify-content: space-between;
  4392. }
  4393. .icon-button {
  4394. transition: none;
  4395. }
  4396. &:hover,
  4397. &:focus,
  4398. &:active,
  4399. &.selected {
  4400. background: $ui-highlight-color;
  4401. color: $primary-text-color;
  4402. .icon-button {
  4403. color: $primary-text-color;
  4404. }
  4405. }
  4406. mark {
  4407. background: transparent;
  4408. font-weight: 700;
  4409. color: $primary-text-color;
  4410. }
  4411. span {
  4412. overflow: inherit;
  4413. text-overflow: inherit;
  4414. }
  4415. }
  4416. }
  4417. }
  4418. &.active {
  4419. .search__input {
  4420. border-radius: 4px 4px 0 0;
  4421. }
  4422. .search__popout {
  4423. display: block;
  4424. }
  4425. }
  4426. }
  4427. .search__input {
  4428. @include search-input;
  4429. display: block;
  4430. padding: 12px 16px;
  4431. padding-inline-start: 16px + 15px + 8px;
  4432. line-height: normal;
  4433. &::-moz-focus-inner {
  4434. border: 0;
  4435. }
  4436. &::-moz-focus-inner,
  4437. &:focus,
  4438. &:active {
  4439. outline: 0 !important;
  4440. }
  4441. }
  4442. .search__icon {
  4443. &::-moz-focus-inner {
  4444. border: 0;
  4445. }
  4446. &::-moz-focus-inner,
  4447. &:focus {
  4448. outline: 0 !important;
  4449. }
  4450. .icon {
  4451. position: absolute;
  4452. top: 12px + 2px;
  4453. inset-inline-start: 16px - 2px;
  4454. display: inline-block;
  4455. opacity: 0;
  4456. transition: all 100ms linear;
  4457. transition-property: transform, opacity;
  4458. width: 20px;
  4459. height: 20px;
  4460. color: $darker-text-color;
  4461. cursor: default;
  4462. pointer-events: none;
  4463. &.active {
  4464. pointer-events: auto;
  4465. opacity: 1;
  4466. }
  4467. }
  4468. .icon-search {
  4469. transform: rotate(90deg);
  4470. &.active {
  4471. pointer-events: none;
  4472. transform: rotate(0deg);
  4473. }
  4474. }
  4475. .icon-times-circle {
  4476. transform: rotate(0deg);
  4477. cursor: pointer;
  4478. &.active {
  4479. transform: rotate(90deg);
  4480. }
  4481. }
  4482. }
  4483. .search-results__header {
  4484. color: $dark-text-color;
  4485. background: lighten($ui-base-color, 2%);
  4486. padding: 15px;
  4487. font-weight: 500;
  4488. font-size: 16px;
  4489. cursor: default;
  4490. display: flex;
  4491. align-items: center;
  4492. gap: 5px;
  4493. }
  4494. .search-results__section {
  4495. border-bottom: 1px solid lighten($ui-base-color, 8%);
  4496. &:last-child {
  4497. border-bottom: 0;
  4498. }
  4499. &__header {
  4500. background: darken($ui-base-color, 4%);
  4501. border-bottom: 1px solid lighten($ui-base-color, 8%);
  4502. padding: 15px;
  4503. font-weight: 500;
  4504. font-size: 14px;
  4505. color: $darker-text-color;
  4506. display: flex;
  4507. justify-content: space-between;
  4508. h3 {
  4509. display: flex;
  4510. align-items: center;
  4511. gap: 5px;
  4512. }
  4513. button {
  4514. color: $highlight-text-color;
  4515. padding: 0;
  4516. border: 0;
  4517. background: 0;
  4518. font: inherit;
  4519. &:hover,
  4520. &:active,
  4521. &:focus {
  4522. text-decoration: underline;
  4523. }
  4524. }
  4525. }
  4526. .account:last-child,
  4527. & > div:last-child .status {
  4528. border-bottom: 0;
  4529. }
  4530. }
  4531. .search-results__hashtag {
  4532. display: block;
  4533. padding: 10px;
  4534. color: $secondary-text-color;
  4535. text-decoration: none;
  4536. &:hover,
  4537. &:active,
  4538. &:focus {
  4539. color: lighten($secondary-text-color, 4%);
  4540. text-decoration: underline;
  4541. }
  4542. }
  4543. .search-results__info {
  4544. padding: 20px;
  4545. color: $darker-text-color;
  4546. text-align: center;
  4547. }
  4548. .modal-root {
  4549. position: relative;
  4550. z-index: 9999;
  4551. }
  4552. .modal-root__overlay {
  4553. position: fixed;
  4554. top: 0;
  4555. inset-inline-start: 0;
  4556. inset-inline-end: 0;
  4557. bottom: 0;
  4558. background: rgba($base-overlay-background, 0.7);
  4559. transition: background 0.5s;
  4560. }
  4561. .modal-root__container {
  4562. position: fixed;
  4563. top: 0;
  4564. inset-inline-start: 0;
  4565. width: 100%;
  4566. height: 100%;
  4567. box-sizing: border-box;
  4568. display: flex;
  4569. flex-direction: column;
  4570. align-items: center;
  4571. justify-content: center;
  4572. align-content: space-around;
  4573. z-index: 9999;
  4574. pointer-events: none;
  4575. user-select: none;
  4576. }
  4577. .modal-root__modal {
  4578. pointer-events: auto;
  4579. user-select: text;
  4580. display: flex;
  4581. }
  4582. .video-modal .video-player {
  4583. max-height: 80vh;
  4584. max-width: 100vw;
  4585. }
  4586. .audio-modal__container {
  4587. width: 50vw;
  4588. }
  4589. .media-modal {
  4590. width: 100%;
  4591. height: 100%;
  4592. position: relative;
  4593. &__close,
  4594. &__zoom-button {
  4595. color: rgba($white, 0.7);
  4596. &:hover,
  4597. &:focus,
  4598. &:active {
  4599. color: $white;
  4600. background-color: rgba($white, 0.15);
  4601. }
  4602. &:focus {
  4603. background-color: rgba($white, 0.3);
  4604. }
  4605. }
  4606. }
  4607. .media-modal__closer {
  4608. position: absolute;
  4609. top: 0;
  4610. inset-inline-start: 0;
  4611. inset-inline-end: 0;
  4612. bottom: 0;
  4613. }
  4614. .media-modal__navigation {
  4615. position: absolute;
  4616. top: 0;
  4617. inset-inline-start: 0;
  4618. inset-inline-end: 0;
  4619. bottom: 0;
  4620. pointer-events: none;
  4621. transition: opacity 0.3s linear;
  4622. will-change: opacity;
  4623. * {
  4624. pointer-events: auto;
  4625. }
  4626. &.media-modal__navigation--hidden {
  4627. opacity: 0;
  4628. * {
  4629. pointer-events: none;
  4630. }
  4631. }
  4632. }
  4633. .media-modal__nav {
  4634. background: transparent;
  4635. box-sizing: border-box;
  4636. border: 0;
  4637. color: rgba($white, 0.7);
  4638. cursor: pointer;
  4639. display: flex;
  4640. align-items: center;
  4641. font-size: 24px;
  4642. height: 20vmax;
  4643. margin: auto 0;
  4644. padding: 30px 15px;
  4645. position: absolute;
  4646. top: 0;
  4647. bottom: 0;
  4648. &:hover,
  4649. &:focus,
  4650. &:active {
  4651. color: $white;
  4652. }
  4653. }
  4654. .media-modal__nav--left {
  4655. inset-inline-start: 0;
  4656. }
  4657. .media-modal__nav--right {
  4658. inset-inline-end: 0;
  4659. }
  4660. .media-modal__overlay {
  4661. max-width: 600px;
  4662. position: absolute;
  4663. inset-inline-start: 0;
  4664. inset-inline-end: 0;
  4665. bottom: 0;
  4666. margin: 0 auto;
  4667. .picture-in-picture__footer {
  4668. border-radius: 0;
  4669. background: transparent;
  4670. padding: 20px 0;
  4671. .icon-button {
  4672. color: $white;
  4673. &:hover,
  4674. &:focus,
  4675. &:active {
  4676. color: $white;
  4677. background-color: rgba($white, 0.15);
  4678. }
  4679. &:focus {
  4680. background-color: rgba($white, 0.3);
  4681. }
  4682. &.active {
  4683. color: $highlight-text-color;
  4684. &:hover,
  4685. &:focus,
  4686. &:active {
  4687. background: rgba($highlight-text-color, 0.15);
  4688. }
  4689. &:focus {
  4690. background: rgba($highlight-text-color, 0.3);
  4691. }
  4692. }
  4693. &.star-icon.active {
  4694. color: $gold-star;
  4695. &:hover,
  4696. &:focus,
  4697. &:active {
  4698. background: rgba($gold-star, 0.15);
  4699. }
  4700. &:focus {
  4701. background: rgba($gold-star, 0.3);
  4702. }
  4703. }
  4704. &.disabled {
  4705. color: $white;
  4706. background-color: transparent;
  4707. cursor: default;
  4708. opacity: 0.4;
  4709. }
  4710. }
  4711. }
  4712. }
  4713. .media-modal__pagination {
  4714. display: flex;
  4715. justify-content: center;
  4716. margin-bottom: 20px;
  4717. }
  4718. .media-modal__page-dot {
  4719. flex: 0 0 auto;
  4720. background-color: $white;
  4721. opacity: 0.4;
  4722. height: 6px;
  4723. width: 6px;
  4724. border-radius: 50%;
  4725. margin: 0 4px;
  4726. padding: 0;
  4727. border: 0;
  4728. font-size: 0;
  4729. transition: opacity 0.2s ease-in-out;
  4730. &.active {
  4731. opacity: 1;
  4732. }
  4733. &:focus {
  4734. outline: 0;
  4735. background-color: $highlight-text-color;
  4736. }
  4737. }
  4738. .media-modal__close {
  4739. position: absolute;
  4740. inset-inline-end: 8px;
  4741. top: 8px;
  4742. z-index: 100;
  4743. }
  4744. .media-modal__zoom-button {
  4745. position: absolute;
  4746. inset-inline-end: 64px;
  4747. top: 8px;
  4748. z-index: 100;
  4749. pointer-events: auto;
  4750. transition: opacity 0.3s linear;
  4751. will-change: opacity;
  4752. }
  4753. .media-modal__zoom-button--hidden {
  4754. pointer-events: none;
  4755. opacity: 0;
  4756. }
  4757. .onboarding-modal,
  4758. .error-modal,
  4759. .embed-modal {
  4760. background: $ui-secondary-color;
  4761. color: $inverted-text-color;
  4762. border-radius: 8px;
  4763. overflow: hidden;
  4764. display: flex;
  4765. flex-direction: column;
  4766. }
  4767. .error-modal__body {
  4768. height: 80vh;
  4769. width: 80vw;
  4770. max-width: 520px;
  4771. max-height: 420px;
  4772. position: relative;
  4773. & > div {
  4774. position: absolute;
  4775. top: 0;
  4776. inset-inline-start: 0;
  4777. width: 100%;
  4778. height: 100%;
  4779. box-sizing: border-box;
  4780. padding: 25px;
  4781. flex-direction: column;
  4782. align-items: center;
  4783. justify-content: center;
  4784. display: flex;
  4785. opacity: 0;
  4786. user-select: text;
  4787. }
  4788. }
  4789. .error-modal__body {
  4790. display: flex;
  4791. flex-direction: column;
  4792. justify-content: center;
  4793. align-items: center;
  4794. text-align: center;
  4795. }
  4796. .onboarding-modal__paginator,
  4797. .error-modal__footer {
  4798. flex: 0 0 auto;
  4799. background: darken($ui-secondary-color, 8%);
  4800. display: flex;
  4801. padding: 25px;
  4802. & > div {
  4803. min-width: 33px;
  4804. }
  4805. .onboarding-modal__nav,
  4806. .error-modal__nav {
  4807. color: $lighter-text-color;
  4808. border: 0;
  4809. font-size: 14px;
  4810. font-weight: 500;
  4811. padding: 10px 25px;
  4812. line-height: inherit;
  4813. height: auto;
  4814. margin: -10px;
  4815. border-radius: 4px;
  4816. background-color: transparent;
  4817. &:hover,
  4818. &:focus,
  4819. &:active {
  4820. color: darken($lighter-text-color, 4%);
  4821. background-color: darken($ui-secondary-color, 16%);
  4822. }
  4823. &.onboarding-modal__done,
  4824. &.onboarding-modal__next {
  4825. color: $inverted-text-color;
  4826. &:hover,
  4827. &:focus,
  4828. &:active {
  4829. color: lighten($inverted-text-color, 4%);
  4830. }
  4831. }
  4832. }
  4833. }
  4834. .error-modal__footer {
  4835. justify-content: center;
  4836. }
  4837. .display-case {
  4838. text-align: center;
  4839. font-size: 15px;
  4840. margin-bottom: 15px;
  4841. &__label {
  4842. font-weight: 500;
  4843. color: $inverted-text-color;
  4844. margin-bottom: 5px;
  4845. text-transform: uppercase;
  4846. font-size: 12px;
  4847. }
  4848. &__case {
  4849. background: $ui-base-color;
  4850. color: $secondary-text-color;
  4851. font-weight: 500;
  4852. padding: 10px;
  4853. border-radius: 4px;
  4854. }
  4855. }
  4856. .onboard-sliders {
  4857. display: inline-block;
  4858. max-width: 30px;
  4859. max-height: auto;
  4860. margin-inline-start: 10px;
  4861. }
  4862. .boost-modal,
  4863. .confirmation-modal,
  4864. .report-modal,
  4865. .actions-modal,
  4866. .mute-modal,
  4867. .block-modal,
  4868. .compare-history-modal {
  4869. background: lighten($ui-secondary-color, 8%);
  4870. color: $inverted-text-color;
  4871. border-radius: 8px;
  4872. overflow: hidden;
  4873. max-width: 90vw;
  4874. width: 480px;
  4875. position: relative;
  4876. flex-direction: column;
  4877. }
  4878. .boost-modal__container {
  4879. overflow-x: scroll;
  4880. padding: 10px;
  4881. .status {
  4882. user-select: text;
  4883. border-bottom: 0;
  4884. }
  4885. }
  4886. .boost-modal__action-bar,
  4887. .confirmation-modal__action-bar,
  4888. .mute-modal__action-bar,
  4889. .block-modal__action-bar {
  4890. display: flex;
  4891. justify-content: space-between;
  4892. align-items: center;
  4893. background: $ui-secondary-color;
  4894. padding: 15px;
  4895. & > div {
  4896. flex: 1 1 auto;
  4897. text-align: end;
  4898. color: $lighter-text-color;
  4899. padding-inline-end: 10px;
  4900. }
  4901. .icon {
  4902. vertical-align: middle;
  4903. }
  4904. .button {
  4905. flex: 0 0 auto;
  4906. }
  4907. }
  4908. .mute-modal,
  4909. .block-modal {
  4910. line-height: 24px;
  4911. }
  4912. .mute-modal .react-toggle,
  4913. .block-modal .react-toggle {
  4914. vertical-align: middle;
  4915. }
  4916. .report-modal {
  4917. width: 90vw;
  4918. max-width: 700px;
  4919. }
  4920. .report-dialog-modal {
  4921. max-width: 90vw;
  4922. width: 480px;
  4923. height: 80vh;
  4924. background: lighten($ui-secondary-color, 8%);
  4925. color: $inverted-text-color;
  4926. border-radius: 8px;
  4927. overflow: hidden;
  4928. position: relative;
  4929. flex-direction: column;
  4930. display: flex;
  4931. &__container {
  4932. box-sizing: border-box;
  4933. border-top: 1px solid $ui-secondary-color;
  4934. padding: 20px;
  4935. flex-grow: 1;
  4936. display: flex;
  4937. flex-direction: column;
  4938. min-height: 0;
  4939. overflow: auto;
  4940. }
  4941. &__title {
  4942. font-size: 28px;
  4943. line-height: 33px;
  4944. font-weight: 700;
  4945. margin-bottom: 15px;
  4946. @media screen and (height <= 800px) {
  4947. font-size: 22px;
  4948. }
  4949. }
  4950. &__subtitle {
  4951. font-size: 17px;
  4952. font-weight: 600;
  4953. line-height: 22px;
  4954. margin-bottom: 4px;
  4955. }
  4956. &__lead {
  4957. font-size: 17px;
  4958. line-height: 22px;
  4959. color: lighten($inverted-text-color, 16%);
  4960. margin-bottom: 30px;
  4961. a {
  4962. text-decoration: none;
  4963. color: $inverted-text-color;
  4964. font-weight: 500;
  4965. &:hover {
  4966. text-decoration: underline;
  4967. }
  4968. }
  4969. }
  4970. &__actions {
  4971. margin-top: 30px;
  4972. display: flex;
  4973. .button {
  4974. flex: 1 1 auto;
  4975. }
  4976. }
  4977. &__statuses {
  4978. flex-grow: 1;
  4979. min-height: 0;
  4980. overflow: auto;
  4981. }
  4982. .status__content a {
  4983. color: $highlight-text-color;
  4984. }
  4985. .status__content,
  4986. .status__content p {
  4987. color: $inverted-text-color;
  4988. }
  4989. .status__content__spoiler-link {
  4990. color: $primary-text-color;
  4991. background: $ui-primary-color;
  4992. &:hover {
  4993. background: lighten($ui-primary-color, 8%);
  4994. }
  4995. }
  4996. .dialog-option {
  4997. align-items: center;
  4998. gap: 12px;
  4999. }
  5000. .dialog-option .poll__input {
  5001. border-color: $inverted-text-color;
  5002. color: $ui-secondary-color;
  5003. display: inline-flex;
  5004. align-items: center;
  5005. justify-content: center;
  5006. svg {
  5007. width: 15px;
  5008. height: 15px;
  5009. }
  5010. &:active,
  5011. &:focus,
  5012. &:hover {
  5013. border-color: lighten($inverted-text-color, 15%);
  5014. border-width: 4px;
  5015. }
  5016. &.active {
  5017. border-color: $inverted-text-color;
  5018. background: $inverted-text-color;
  5019. }
  5020. }
  5021. .poll__option.dialog-option {
  5022. padding: 15px 0;
  5023. flex: 0 0 auto;
  5024. border-bottom: 1px solid $ui-secondary-color;
  5025. &:last-child {
  5026. border-bottom: 0;
  5027. }
  5028. & > .poll__option__text {
  5029. font-size: 13px;
  5030. color: lighten($inverted-text-color, 16%);
  5031. strong {
  5032. font-size: 17px;
  5033. font-weight: 500;
  5034. line-height: 22px;
  5035. color: $inverted-text-color;
  5036. display: block;
  5037. margin-bottom: 4px;
  5038. &:last-child {
  5039. margin-bottom: 0;
  5040. }
  5041. }
  5042. }
  5043. }
  5044. .flex-spacer {
  5045. background: transparent;
  5046. }
  5047. &__textarea {
  5048. display: block;
  5049. box-sizing: border-box;
  5050. width: 100%;
  5051. color: $inverted-text-color;
  5052. background: $simple-background-color;
  5053. padding: 10px;
  5054. font-family: inherit;
  5055. font-size: 17px;
  5056. line-height: 22px;
  5057. resize: vertical;
  5058. border: 0;
  5059. outline: 0;
  5060. border-radius: 4px;
  5061. margin: 20px 0;
  5062. &::placeholder {
  5063. color: $dark-text-color;
  5064. }
  5065. &:focus {
  5066. outline: 0;
  5067. }
  5068. }
  5069. &__toggle {
  5070. display: flex;
  5071. align-items: center;
  5072. margin-bottom: 16px;
  5073. gap: 8px;
  5074. & > span {
  5075. display: block;
  5076. font-size: 14px;
  5077. font-weight: 500;
  5078. line-height: 20px;
  5079. }
  5080. }
  5081. .button.button-secondary {
  5082. border-color: $inverted-text-color;
  5083. color: $inverted-text-color;
  5084. flex: 0 0 auto;
  5085. &:hover,
  5086. &:focus,
  5087. &:active {
  5088. background: transparent;
  5089. border-color: $ui-button-background-color;
  5090. color: $ui-button-background-color;
  5091. }
  5092. }
  5093. hr {
  5094. border: 0;
  5095. background: transparent;
  5096. margin: 15px 0;
  5097. }
  5098. .emoji-mart-search {
  5099. padding-inline-end: 10px;
  5100. }
  5101. .emoji-mart-search-icon {
  5102. inset-inline-end: 10px + 5px;
  5103. }
  5104. }
  5105. .report-modal__container {
  5106. display: flex;
  5107. border-top: 1px solid $ui-secondary-color;
  5108. @media screen and (width <= 480px) {
  5109. flex-wrap: wrap;
  5110. overflow-y: auto;
  5111. }
  5112. }
  5113. .report-modal__statuses,
  5114. .report-modal__comment {
  5115. box-sizing: border-box;
  5116. width: 50%;
  5117. @media screen and (width <= 480px) {
  5118. width: 100%;
  5119. }
  5120. }
  5121. .report-modal__statuses,
  5122. .focal-point-modal__content {
  5123. flex: 1 1 auto;
  5124. min-height: 20vh;
  5125. max-height: 80vh;
  5126. overflow-y: auto;
  5127. overflow-x: hidden;
  5128. .status__content a {
  5129. color: $highlight-text-color;
  5130. }
  5131. .status__content,
  5132. .status__content p {
  5133. color: $inverted-text-color;
  5134. }
  5135. @media screen and (width <= 480px) {
  5136. max-height: 10vh;
  5137. }
  5138. }
  5139. .focal-point-modal__content {
  5140. @media screen and (width <= 480px) {
  5141. max-height: 40vh;
  5142. }
  5143. }
  5144. .setting-divider {
  5145. background: transparent;
  5146. border: 0;
  5147. margin: 0;
  5148. width: 100%;
  5149. height: 1px;
  5150. margin-bottom: 29px;
  5151. }
  5152. .report-modal__comment {
  5153. padding: 20px;
  5154. border-inline-end: 1px solid $ui-secondary-color;
  5155. max-width: 320px;
  5156. p {
  5157. font-size: 14px;
  5158. line-height: 20px;
  5159. margin-bottom: 20px;
  5160. }
  5161. .setting-text-label {
  5162. display: block;
  5163. color: $inverted-text-color;
  5164. font-size: 14px;
  5165. font-weight: 500;
  5166. margin-bottom: 10px;
  5167. }
  5168. .setting-text {
  5169. width: 100%;
  5170. resize: none;
  5171. min-height: 100px;
  5172. max-height: 50vh;
  5173. border: 0;
  5174. }
  5175. .setting-toggle {
  5176. margin-top: 20px;
  5177. margin-bottom: 24px;
  5178. &__label {
  5179. color: $inverted-text-color;
  5180. font-size: 14px;
  5181. }
  5182. }
  5183. @media screen and (width <= 480px) {
  5184. padding: 10px;
  5185. max-width: 100%;
  5186. order: 2;
  5187. .setting-toggle {
  5188. margin-bottom: 4px;
  5189. }
  5190. }
  5191. }
  5192. .actions-modal {
  5193. max-height: 80vh;
  5194. max-width: 80vw;
  5195. .actions-modal__item-label {
  5196. font-weight: 500;
  5197. }
  5198. ul {
  5199. overflow-y: auto;
  5200. flex-shrink: 0;
  5201. max-height: 80vh;
  5202. &.with-status {
  5203. max-height: calc(80vh - 75px);
  5204. }
  5205. li:empty {
  5206. margin: 0;
  5207. }
  5208. li:not(:empty) {
  5209. a {
  5210. color: $inverted-text-color;
  5211. display: flex;
  5212. padding: 12px 16px;
  5213. font-size: 15px;
  5214. align-items: center;
  5215. text-decoration: none;
  5216. &,
  5217. button {
  5218. transition: none;
  5219. }
  5220. &.active,
  5221. &:hover,
  5222. &:active,
  5223. &:focus {
  5224. &,
  5225. button {
  5226. background: $ui-highlight-color;
  5227. color: $primary-text-color;
  5228. }
  5229. }
  5230. button:first-child {
  5231. margin-inline-end: 10px;
  5232. }
  5233. }
  5234. }
  5235. }
  5236. }
  5237. .confirmation-modal__action-bar,
  5238. .mute-modal__action-bar,
  5239. .block-modal__action-bar {
  5240. .confirmation-modal__secondary-button {
  5241. flex-shrink: 1;
  5242. }
  5243. }
  5244. .confirmation-modal__secondary-button,
  5245. .confirmation-modal__cancel-button,
  5246. .mute-modal__cancel-button,
  5247. .block-modal__cancel-button {
  5248. background-color: transparent;
  5249. color: $lighter-text-color;
  5250. font-size: 14px;
  5251. font-weight: 500;
  5252. &:hover,
  5253. &:focus,
  5254. &:active {
  5255. color: darken($lighter-text-color, 4%);
  5256. background-color: transparent;
  5257. }
  5258. }
  5259. .confirmation-modal__container,
  5260. .mute-modal__container,
  5261. .block-modal__container,
  5262. .report-modal__target {
  5263. padding: 30px;
  5264. font-size: 16px;
  5265. strong {
  5266. font-weight: 500;
  5267. @each $lang in $cjk-langs {
  5268. &:lang(#{$lang}) {
  5269. font-weight: 700;
  5270. }
  5271. }
  5272. }
  5273. select {
  5274. appearance: none;
  5275. box-sizing: border-box;
  5276. font-size: 14px;
  5277. color: $inverted-text-color;
  5278. display: inline-block;
  5279. width: auto;
  5280. outline: 0;
  5281. font-family: inherit;
  5282. background: $simple-background-color
  5283. url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14.933 18.467' height='19.698' width='15.929'><path d='M3.467 14.967l-3.393-3.5H14.86l-3.392 3.5c-1.866 1.925-3.666 3.5-4 3.5-.335 0-2.135-1.575-4-3.5zm.266-11.234L7.467 0 11.2 3.733l3.733 3.734H0l3.733-3.734z' fill='#{hex-color(darken($simple-background-color, 14%))}'/></svg>")
  5284. no-repeat right 8px center / auto 16px;
  5285. border: 1px solid darken($simple-background-color, 14%);
  5286. border-radius: 4px;
  5287. padding: 6px 10px;
  5288. padding-inline-end: 30px;
  5289. }
  5290. }
  5291. .confirmation-modal__container,
  5292. .report-modal__target {
  5293. text-align: center;
  5294. }
  5295. .block-modal,
  5296. .mute-modal {
  5297. &__explanation {
  5298. margin-top: 20px;
  5299. }
  5300. .setting-toggle {
  5301. margin-top: 20px;
  5302. margin-bottom: 24px;
  5303. display: flex;
  5304. align-items: center;
  5305. &__label {
  5306. color: $inverted-text-color;
  5307. margin: 0;
  5308. margin-inline-start: 8px;
  5309. }
  5310. }
  5311. }
  5312. .report-modal__target {
  5313. padding: 15px;
  5314. .report-modal__close {
  5315. position: absolute;
  5316. top: 10px;
  5317. inset-inline-end: 10px;
  5318. }
  5319. }
  5320. .compare-history-modal {
  5321. .report-modal__target {
  5322. border-bottom: 1px solid $ui-secondary-color;
  5323. }
  5324. &__container {
  5325. padding: 30px;
  5326. pointer-events: all;
  5327. overflow-y: auto;
  5328. }
  5329. .status__content {
  5330. color: $inverted-text-color;
  5331. font-size: 19px;
  5332. line-height: 24px;
  5333. .emojione {
  5334. width: 24px;
  5335. height: 24px;
  5336. margin: -1px 0 0;
  5337. }
  5338. a {
  5339. color: $highlight-text-color;
  5340. }
  5341. hr {
  5342. height: 0.25rem;
  5343. padding: 0;
  5344. background-color: $ui-secondary-color;
  5345. border: 0;
  5346. margin: 20px 0;
  5347. }
  5348. }
  5349. .media-gallery,
  5350. .audio-player,
  5351. .video-player {
  5352. margin-top: 15px;
  5353. }
  5354. }
  5355. .loading-bar {
  5356. background-color: $highlight-text-color;
  5357. height: 3px;
  5358. position: fixed;
  5359. top: 0;
  5360. inset-inline-start: 0;
  5361. z-index: 9999;
  5362. }
  5363. .media-gallery__item__badges {
  5364. position: absolute;
  5365. bottom: 6px;
  5366. inset-inline-start: 6px;
  5367. display: flex;
  5368. gap: 2px;
  5369. }
  5370. .media-gallery__alt__label,
  5371. .media-gallery__gifv__label {
  5372. display: flex;
  5373. align-items: center;
  5374. justify-content: center;
  5375. color: $white;
  5376. background: rgba($black, 0.65);
  5377. backdrop-filter: blur(10px) saturate(180%) contrast(75%) brightness(70%);
  5378. padding: 2px 6px;
  5379. border-radius: 4px;
  5380. font-size: 11px;
  5381. font-weight: 700;
  5382. z-index: 1;
  5383. pointer-events: none;
  5384. line-height: 18px;
  5385. .icon {
  5386. width: 15px;
  5387. height: 15px;
  5388. }
  5389. }
  5390. .attachment-list {
  5391. display: flex;
  5392. font-size: 14px;
  5393. border: 1px solid lighten($ui-base-color, 8%);
  5394. border-radius: 4px;
  5395. margin-top: 16px;
  5396. overflow: hidden;
  5397. &__icon {
  5398. flex: 0 0 auto;
  5399. color: $dark-text-color;
  5400. padding: 8px 18px;
  5401. cursor: default;
  5402. border-inline-end: 1px solid lighten($ui-base-color, 8%);
  5403. display: flex;
  5404. flex-direction: column;
  5405. align-items: center;
  5406. justify-content: center;
  5407. font-size: 26px;
  5408. }
  5409. &__list {
  5410. list-style: none;
  5411. padding: 4px 0;
  5412. padding-inline-start: 8px;
  5413. display: flex;
  5414. flex-direction: column;
  5415. justify-content: center;
  5416. li {
  5417. display: block;
  5418. padding: 4px 0;
  5419. }
  5420. a {
  5421. text-decoration: none;
  5422. color: $dark-text-color;
  5423. font-weight: 500;
  5424. &:hover {
  5425. text-decoration: underline;
  5426. }
  5427. }
  5428. }
  5429. &.compact {
  5430. border: 0;
  5431. .attachment-list__list {
  5432. padding: 0;
  5433. display: block;
  5434. }
  5435. .icon {
  5436. color: $dark-text-color;
  5437. vertical-align: middle;
  5438. }
  5439. }
  5440. }
  5441. /* Media Gallery */
  5442. .media-gallery {
  5443. box-sizing: border-box;
  5444. margin-top: 8px;
  5445. overflow: hidden;
  5446. border-radius: 8px;
  5447. position: relative;
  5448. width: 100%;
  5449. min-height: 64px;
  5450. display: grid;
  5451. grid-template-columns: 50% 50%;
  5452. grid-template-rows: 50% 50%;
  5453. gap: 2px;
  5454. }
  5455. .media-gallery__item {
  5456. border: 0;
  5457. box-sizing: border-box;
  5458. display: block;
  5459. position: relative;
  5460. border-radius: 8px;
  5461. overflow: hidden;
  5462. &--tall {
  5463. grid-row: span 2;
  5464. }
  5465. &--wide {
  5466. grid-column: span 2;
  5467. }
  5468. }
  5469. .media-gallery__item-thumbnail {
  5470. cursor: zoom-in;
  5471. display: block;
  5472. text-decoration: none;
  5473. color: $secondary-text-color;
  5474. position: relative;
  5475. z-index: 1;
  5476. &,
  5477. img {
  5478. height: 100%;
  5479. width: 100%;
  5480. }
  5481. img {
  5482. object-fit: cover;
  5483. }
  5484. }
  5485. .media-gallery__preview {
  5486. width: 100%;
  5487. height: 100%;
  5488. object-fit: cover;
  5489. position: absolute;
  5490. top: 0;
  5491. inset-inline-start: 0;
  5492. z-index: 0;
  5493. background: $base-overlay-background;
  5494. &--hidden {
  5495. display: none;
  5496. }
  5497. }
  5498. .media-gallery__gifv {
  5499. height: 100%;
  5500. overflow: hidden;
  5501. position: relative;
  5502. width: 100%;
  5503. }
  5504. .media-gallery__item-gifv-thumbnail {
  5505. cursor: zoom-in;
  5506. height: 100%;
  5507. object-fit: cover;
  5508. width: 100%;
  5509. }
  5510. .media-gallery__item-thumbnail-label {
  5511. clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
  5512. clip: rect(1px, 1px, 1px, 1px);
  5513. overflow: hidden;
  5514. position: absolute;
  5515. }
  5516. /* End Media Gallery */
  5517. .detailed,
  5518. .fullscreen {
  5519. .video-player__volume__current,
  5520. .video-player__volume::before {
  5521. bottom: 27px;
  5522. }
  5523. .video-player__volume__handle {
  5524. bottom: 23px;
  5525. }
  5526. }
  5527. .audio-player {
  5528. overflow: hidden;
  5529. box-sizing: border-box;
  5530. position: relative;
  5531. background: darken($ui-base-color, 8%);
  5532. border-radius: 8px;
  5533. padding-bottom: 44px;
  5534. width: 100%;
  5535. &.editable {
  5536. border-radius: 0;
  5537. height: 100%;
  5538. }
  5539. &.inactive {
  5540. audio,
  5541. .video-player__controls {
  5542. visibility: hidden;
  5543. }
  5544. }
  5545. .video-player__volume::before,
  5546. .video-player__seek::before {
  5547. background: currentColor;
  5548. opacity: 0.15;
  5549. }
  5550. .video-player__seek__buffer {
  5551. background: currentColor;
  5552. opacity: 0.2;
  5553. }
  5554. .video-player__buttons button,
  5555. .video-player__buttons a {
  5556. color: currentColor;
  5557. opacity: 0.75;
  5558. &:active,
  5559. &:hover,
  5560. &:focus {
  5561. color: currentColor;
  5562. opacity: 1;
  5563. }
  5564. }
  5565. .video-player__time-sep,
  5566. .video-player__time-total,
  5567. .video-player__time-current {
  5568. color: currentColor;
  5569. }
  5570. .video-player__seek::before,
  5571. .video-player__seek__buffer,
  5572. .video-player__seek__progress {
  5573. top: 0;
  5574. }
  5575. .video-player__seek__handle {
  5576. top: -4px;
  5577. }
  5578. .video-player__controls {
  5579. padding-top: 10px;
  5580. background: transparent;
  5581. }
  5582. }
  5583. .video-player {
  5584. overflow: hidden;
  5585. position: relative;
  5586. background: $base-shadow-color;
  5587. max-width: 100%;
  5588. border-radius: 8px;
  5589. box-sizing: border-box;
  5590. color: $white;
  5591. display: flex;
  5592. align-items: center;
  5593. &.editable {
  5594. border-radius: 0;
  5595. height: 100% !important;
  5596. }
  5597. &:focus {
  5598. outline: 0;
  5599. }
  5600. video {
  5601. display: block;
  5602. z-index: 1;
  5603. }
  5604. &.fullscreen {
  5605. width: 100% !important;
  5606. height: 100% !important;
  5607. margin: 0;
  5608. aspect-ratio: auto !important;
  5609. video {
  5610. width: 100% !important;
  5611. height: 100% !important;
  5612. outline: 0;
  5613. }
  5614. }
  5615. &__controls {
  5616. position: absolute;
  5617. direction: ltr;
  5618. z-index: 2;
  5619. bottom: 0;
  5620. inset-inline-start: 0;
  5621. inset-inline-end: 0;
  5622. box-sizing: border-box;
  5623. background: linear-gradient(
  5624. 0deg,
  5625. rgba($base-shadow-color, 0.85) 0,
  5626. rgba($base-shadow-color, 0.45) 60%,
  5627. transparent
  5628. );
  5629. padding: 0 15px;
  5630. opacity: 0;
  5631. transition: opacity 0.1s ease;
  5632. &.active {
  5633. opacity: 1;
  5634. }
  5635. }
  5636. &.inactive {
  5637. video,
  5638. .video-player__controls {
  5639. visibility: hidden;
  5640. }
  5641. }
  5642. &__spoiler {
  5643. display: none;
  5644. position: absolute;
  5645. top: 0;
  5646. inset-inline-start: 0;
  5647. width: 100%;
  5648. height: 100%;
  5649. z-index: 4;
  5650. border: 0;
  5651. background: $base-overlay-background;
  5652. color: $darker-text-color;
  5653. transition: none;
  5654. pointer-events: none;
  5655. &.active {
  5656. display: block;
  5657. pointer-events: auto;
  5658. &:hover,
  5659. &:active,
  5660. &:focus {
  5661. color: lighten($darker-text-color, 7%);
  5662. }
  5663. }
  5664. &__title {
  5665. display: block;
  5666. font-size: 14px;
  5667. }
  5668. &__subtitle {
  5669. display: block;
  5670. font-size: 11px;
  5671. font-weight: 500;
  5672. }
  5673. }
  5674. &__buttons-bar {
  5675. display: flex;
  5676. justify-content: space-between;
  5677. padding-bottom: 8px;
  5678. margin: 0 -5px;
  5679. .video-player__download__icon {
  5680. color: inherit;
  5681. }
  5682. }
  5683. &__buttons {
  5684. display: flex;
  5685. flex: 0 1 auto;
  5686. min-width: 30px;
  5687. align-items: center;
  5688. white-space: nowrap;
  5689. overflow: hidden;
  5690. text-overflow: ellipsis;
  5691. gap: 5px;
  5692. .player-button {
  5693. display: inline-block;
  5694. outline: 0;
  5695. padding: 5px;
  5696. flex: 0 0 auto;
  5697. background: transparent;
  5698. border: 0;
  5699. color: rgba($white, 0.75);
  5700. &:active,
  5701. &:hover,
  5702. &:focus {
  5703. color: $white;
  5704. }
  5705. }
  5706. }
  5707. &__time {
  5708. display: inline;
  5709. flex: 0 1 auto;
  5710. overflow: hidden;
  5711. text-overflow: ellipsis;
  5712. margin: 0 5px;
  5713. }
  5714. &__time-sep,
  5715. &__time-total,
  5716. &__time-current {
  5717. font-size: 14px;
  5718. font-weight: 500;
  5719. }
  5720. &__time-current {
  5721. color: $white;
  5722. }
  5723. &__time-sep {
  5724. display: inline-block;
  5725. margin: 0 6px;
  5726. }
  5727. &__time-sep,
  5728. &__time-total {
  5729. color: $white;
  5730. }
  5731. &__volume {
  5732. flex: 0 0 auto;
  5733. display: inline-flex;
  5734. cursor: pointer;
  5735. height: 24px;
  5736. position: relative;
  5737. overflow: hidden;
  5738. .no-reduce-motion & {
  5739. transition: all 100ms linear;
  5740. }
  5741. &.active {
  5742. overflow: visible;
  5743. width: 50px;
  5744. margin-inline-end: 16px;
  5745. }
  5746. &::before {
  5747. content: '';
  5748. width: 50px;
  5749. background: rgba($white, 0.35);
  5750. border-radius: 4px;
  5751. display: block;
  5752. position: absolute;
  5753. height: 4px;
  5754. inset-inline-start: 0;
  5755. top: 50%;
  5756. transform: translate(0, -50%);
  5757. }
  5758. &__current {
  5759. display: block;
  5760. position: absolute;
  5761. height: 4px;
  5762. border-radius: 4px;
  5763. inset-inline-start: 0;
  5764. top: 50%;
  5765. transform: translate(0, -50%);
  5766. background: lighten($ui-highlight-color, 8%);
  5767. }
  5768. &__handle {
  5769. position: absolute;
  5770. z-index: 3;
  5771. border-radius: 50%;
  5772. width: 12px;
  5773. height: 12px;
  5774. top: 50%;
  5775. inset-inline-start: 0;
  5776. margin-inline-start: -6px;
  5777. transform: translate(0, -50%);
  5778. background: lighten($ui-highlight-color, 8%);
  5779. box-shadow: 1px 2px 6px rgba($base-shadow-color, 0.2);
  5780. opacity: 0;
  5781. .no-reduce-motion & {
  5782. transition: opacity 100ms linear;
  5783. }
  5784. }
  5785. &.active &__handle {
  5786. opacity: 1;
  5787. }
  5788. }
  5789. &__link {
  5790. padding: 2px 10px;
  5791. a {
  5792. text-decoration: none;
  5793. font-size: 14px;
  5794. font-weight: 500;
  5795. color: $white;
  5796. &:hover,
  5797. &:active,
  5798. &:focus {
  5799. text-decoration: underline;
  5800. }
  5801. }
  5802. }
  5803. &__seek {
  5804. cursor: pointer;
  5805. height: 24px;
  5806. position: relative;
  5807. &::before {
  5808. content: '';
  5809. width: 100%;
  5810. background: rgba($white, 0.35);
  5811. border-radius: 4px;
  5812. display: block;
  5813. position: absolute;
  5814. height: 4px;
  5815. top: 14px;
  5816. }
  5817. &__progress,
  5818. &__buffer {
  5819. display: block;
  5820. position: absolute;
  5821. height: 4px;
  5822. border-radius: 4px;
  5823. top: 14px;
  5824. background: lighten($ui-highlight-color, 8%);
  5825. }
  5826. &__buffer {
  5827. background: rgba($white, 0.2);
  5828. }
  5829. &__handle {
  5830. position: absolute;
  5831. z-index: 3;
  5832. opacity: 0;
  5833. border-radius: 50%;
  5834. width: 12px;
  5835. height: 12px;
  5836. top: 10px;
  5837. margin-inline-start: -6px;
  5838. background: lighten($ui-highlight-color, 8%);
  5839. box-shadow: 1px 2px 6px rgba($base-shadow-color, 0.2);
  5840. .no-reduce-motion & {
  5841. transition: opacity 0.1s ease;
  5842. }
  5843. &.active {
  5844. opacity: 1;
  5845. }
  5846. }
  5847. &:hover {
  5848. .video-player__seek__handle {
  5849. opacity: 1;
  5850. }
  5851. }
  5852. }
  5853. &.detailed,
  5854. &.fullscreen {
  5855. .video-player__buttons {
  5856. .player-button {
  5857. padding-top: 10px;
  5858. padding-bottom: 10px;
  5859. }
  5860. }
  5861. }
  5862. }
  5863. .gifv {
  5864. video {
  5865. max-width: 100vw;
  5866. max-height: 80vh;
  5867. }
  5868. }
  5869. .scrollable .account-card {
  5870. margin: 10px;
  5871. background: lighten($ui-base-color, 8%);
  5872. }
  5873. .scrollable .account-card__title__avatar {
  5874. img,
  5875. .account__avatar {
  5876. border-color: lighten($ui-base-color, 8%);
  5877. }
  5878. }
  5879. .scrollable .account-card__bio::after {
  5880. background: linear-gradient(
  5881. to left,
  5882. lighten($ui-base-color, 8%),
  5883. transparent
  5884. );
  5885. }
  5886. .account-gallery__container {
  5887. display: flex;
  5888. flex-wrap: wrap;
  5889. padding: 4px 2px;
  5890. }
  5891. .account-gallery__item {
  5892. border: 0;
  5893. box-sizing: border-box;
  5894. display: block;
  5895. position: relative;
  5896. border-radius: 4px;
  5897. overflow: hidden;
  5898. margin: 2px;
  5899. &__icons {
  5900. position: absolute;
  5901. top: 50%;
  5902. inset-inline-start: 50%;
  5903. transform: translate(-50%, -50%);
  5904. font-size: 24px;
  5905. }
  5906. }
  5907. .notification__filter-bar,
  5908. .account__section-headline {
  5909. background: $ui-base-color;
  5910. border-bottom: 1px solid lighten($ui-base-color, 8%);
  5911. cursor: default;
  5912. display: flex;
  5913. flex-shrink: 0;
  5914. button {
  5915. background: transparent;
  5916. border: 0;
  5917. margin: 0;
  5918. }
  5919. button,
  5920. a {
  5921. display: block;
  5922. flex: 1 1 auto;
  5923. color: $darker-text-color;
  5924. padding: 15px 0;
  5925. font-size: 14px;
  5926. font-weight: 500;
  5927. text-align: center;
  5928. text-decoration: none;
  5929. position: relative;
  5930. width: 100%;
  5931. white-space: nowrap;
  5932. &.active {
  5933. color: $primary-text-color;
  5934. &::before {
  5935. display: block;
  5936. content: '';
  5937. position: absolute;
  5938. bottom: -1px;
  5939. left: 0;
  5940. width: 100%;
  5941. height: 3px;
  5942. border-radius: 4px;
  5943. background: $highlight-text-color;
  5944. }
  5945. }
  5946. }
  5947. }
  5948. .filter-form {
  5949. background: $ui-base-color;
  5950. &__column {
  5951. padding: 10px 15px;
  5952. padding-bottom: 0;
  5953. }
  5954. .radio-button {
  5955. display: block;
  5956. }
  5957. }
  5958. .column-settings__row .radio-button {
  5959. display: block;
  5960. }
  5961. .radio-button {
  5962. font-size: 14px;
  5963. position: relative;
  5964. display: inline-block;
  5965. padding: 6px 0;
  5966. line-height: 18px;
  5967. white-space: nowrap;
  5968. overflow: hidden;
  5969. text-overflow: ellipsis;
  5970. cursor: pointer;
  5971. input[type='radio'],
  5972. input[type='checkbox'] {
  5973. display: none;
  5974. }
  5975. &__input {
  5976. display: inline-block;
  5977. position: relative;
  5978. border: 1px solid $ui-primary-color;
  5979. box-sizing: border-box;
  5980. width: 18px;
  5981. height: 18px;
  5982. flex: 0 0 auto;
  5983. margin-inline-end: 10px;
  5984. top: -1px;
  5985. border-radius: 50%;
  5986. vertical-align: middle;
  5987. &.checked {
  5988. border-color: lighten($ui-highlight-color, 4%);
  5989. background: lighten($ui-highlight-color, 4%);
  5990. }
  5991. }
  5992. }
  5993. ::-webkit-scrollbar-thumb {
  5994. border-radius: 0;
  5995. }
  5996. noscript {
  5997. text-align: center;
  5998. img {
  5999. width: 200px;
  6000. opacity: 0.5;
  6001. animation: flicker 4s infinite;
  6002. }
  6003. div {
  6004. font-size: 14px;
  6005. margin: 30px auto;
  6006. color: $secondary-text-color;
  6007. max-width: 400px;
  6008. a {
  6009. color: $highlight-text-color;
  6010. text-decoration: underline;
  6011. &:hover {
  6012. text-decoration: none;
  6013. }
  6014. }
  6015. }
  6016. }
  6017. @keyframes flicker {
  6018. 0% {
  6019. opacity: 1;
  6020. }
  6021. 30% {
  6022. opacity: 0.75;
  6023. }
  6024. 100% {
  6025. opacity: 1;
  6026. }
  6027. }
  6028. .embed-modal {
  6029. width: auto;
  6030. max-width: 80vw;
  6031. max-height: 80vh;
  6032. h4 {
  6033. padding: 30px;
  6034. font-weight: 500;
  6035. font-size: 16px;
  6036. text-align: center;
  6037. }
  6038. .embed-modal__container {
  6039. padding: 10px;
  6040. .hint {
  6041. margin-bottom: 15px;
  6042. }
  6043. .embed-modal__html {
  6044. outline: 0;
  6045. box-sizing: border-box;
  6046. display: block;
  6047. width: 100%;
  6048. border: 0;
  6049. padding: 10px;
  6050. font-family: $font-monospace, monospace;
  6051. background: $ui-base-color;
  6052. color: $primary-text-color;
  6053. font-size: 14px;
  6054. margin: 0;
  6055. margin-bottom: 15px;
  6056. border-radius: 4px;
  6057. &::-moz-focus-inner {
  6058. border: 0;
  6059. }
  6060. &::-moz-focus-inner,
  6061. &:focus,
  6062. &:active {
  6063. outline: 0 !important;
  6064. }
  6065. &:focus {
  6066. background: lighten($ui-base-color, 4%);
  6067. }
  6068. @media screen and (width <= 600px) {
  6069. font-size: 16px;
  6070. }
  6071. }
  6072. .embed-modal__iframe {
  6073. width: 400px;
  6074. max-width: 100%;
  6075. overflow: hidden;
  6076. border: 0;
  6077. border-radius: 4px;
  6078. }
  6079. }
  6080. }
  6081. .moved-account-banner,
  6082. .follow-request-banner,
  6083. .account-memorial-banner {
  6084. padding: 20px;
  6085. background: lighten($ui-base-color, 4%);
  6086. display: flex;
  6087. align-items: center;
  6088. flex-direction: column;
  6089. &__message {
  6090. color: $darker-text-color;
  6091. padding: 8px 0;
  6092. padding-top: 0;
  6093. padding-bottom: 4px;
  6094. font-size: 14px;
  6095. font-weight: 500;
  6096. text-align: center;
  6097. margin-bottom: 16px;
  6098. }
  6099. &__action {
  6100. display: flex;
  6101. justify-content: space-between;
  6102. align-items: center;
  6103. gap: 15px;
  6104. width: 100%;
  6105. }
  6106. .detailed-status__display-name {
  6107. margin-bottom: 0;
  6108. }
  6109. }
  6110. .follow-request-banner .button {
  6111. width: 100%;
  6112. }
  6113. .account-memorial-banner__message {
  6114. margin-bottom: 0;
  6115. }
  6116. .column-inline-form {
  6117. padding: 15px;
  6118. display: flex;
  6119. justify-content: flex-start;
  6120. gap: 15px;
  6121. align-items: center;
  6122. background: lighten($ui-base-color, 4%);
  6123. label {
  6124. flex: 1 1 auto;
  6125. input {
  6126. width: 100%;
  6127. }
  6128. }
  6129. }
  6130. .drawer__backdrop {
  6131. cursor: pointer;
  6132. position: absolute;
  6133. top: 0;
  6134. inset-inline-start: 0;
  6135. width: 100%;
  6136. height: 100%;
  6137. background: rgba($base-overlay-background, 0.5);
  6138. }
  6139. .list-editor {
  6140. background: $ui-base-color;
  6141. flex-direction: column;
  6142. border-radius: 8px;
  6143. box-shadow: 2px 4px 15px rgba($base-shadow-color, 0.4);
  6144. width: 380px;
  6145. overflow: hidden;
  6146. @media screen and (width <= 420px) {
  6147. width: 90%;
  6148. }
  6149. h4 {
  6150. padding: 15px 0;
  6151. background: lighten($ui-base-color, 13%);
  6152. font-weight: 500;
  6153. font-size: 16px;
  6154. text-align: center;
  6155. border-radius: 8px 8px 0 0;
  6156. }
  6157. .drawer__pager {
  6158. height: 50vh;
  6159. border-radius: 4px;
  6160. }
  6161. .drawer__inner {
  6162. border-radius: 0 0 8px 8px;
  6163. &.backdrop {
  6164. width: calc(100% - 60px);
  6165. box-shadow: 2px 4px 15px rgba($base-shadow-color, 0.4);
  6166. border-radius: 0 0 0 8px;
  6167. }
  6168. }
  6169. &__accounts {
  6170. overflow-y: auto;
  6171. }
  6172. .account__display-name {
  6173. &:hover strong {
  6174. text-decoration: none;
  6175. }
  6176. }
  6177. .account__avatar {
  6178. cursor: default;
  6179. }
  6180. .search {
  6181. margin-bottom: 0;
  6182. }
  6183. }
  6184. .list-adder {
  6185. background: $ui-base-color;
  6186. flex-direction: column;
  6187. border-radius: 8px;
  6188. box-shadow: 2px 4px 15px rgba($base-shadow-color, 0.4);
  6189. width: 380px;
  6190. overflow: hidden;
  6191. @media screen and (width <= 420px) {
  6192. width: 90%;
  6193. }
  6194. &__account {
  6195. background: lighten($ui-base-color, 13%);
  6196. }
  6197. &__lists {
  6198. background: lighten($ui-base-color, 13%);
  6199. height: 50vh;
  6200. border-radius: 0 0 8px 8px;
  6201. overflow-y: auto;
  6202. }
  6203. .list {
  6204. padding: 10px;
  6205. border-bottom: 1px solid lighten($ui-base-color, 8%);
  6206. }
  6207. .list__wrapper {
  6208. display: flex;
  6209. }
  6210. .list__display-name {
  6211. flex: 1 1 auto;
  6212. overflow: hidden;
  6213. text-decoration: none;
  6214. font-size: 16px;
  6215. padding: 10px;
  6216. }
  6217. }
  6218. .focal-point {
  6219. position: relative;
  6220. cursor: move;
  6221. overflow: hidden;
  6222. height: 100%;
  6223. display: flex;
  6224. justify-content: center;
  6225. align-items: center;
  6226. background: $base-shadow-color;
  6227. img,
  6228. video,
  6229. canvas {
  6230. display: block;
  6231. max-height: 80vh;
  6232. width: 100%;
  6233. height: auto;
  6234. margin: 0;
  6235. object-fit: contain;
  6236. background: $base-shadow-color;
  6237. }
  6238. &__reticle {
  6239. position: absolute;
  6240. width: 100px;
  6241. height: 100px;
  6242. transform: translate(-50%, -50%);
  6243. background: url('../images/reticle.png') no-repeat 0 0;
  6244. border-radius: 50%;
  6245. box-shadow: 0 0 0 9999em rgba($base-shadow-color, 0.35);
  6246. }
  6247. &__overlay {
  6248. position: absolute;
  6249. width: 100%;
  6250. height: 100%;
  6251. top: 0;
  6252. inset-inline-start: 0;
  6253. }
  6254. &__preview {
  6255. position: absolute;
  6256. bottom: 10px;
  6257. inset-inline-end: 10px;
  6258. z-index: 2;
  6259. cursor: move;
  6260. transition: opacity 0.1s ease;
  6261. &:hover {
  6262. opacity: 0.5;
  6263. }
  6264. strong {
  6265. color: $primary-text-color;
  6266. font-size: 14px;
  6267. font-weight: 500;
  6268. display: block;
  6269. margin-bottom: 5px;
  6270. }
  6271. div {
  6272. border-radius: 4px;
  6273. box-shadow: 0 0 14px rgba($base-shadow-color, 0.2);
  6274. }
  6275. }
  6276. @media screen and (width <= 480px) {
  6277. img,
  6278. video {
  6279. max-height: 100%;
  6280. }
  6281. &__preview {
  6282. display: none;
  6283. }
  6284. }
  6285. }
  6286. .account__header__content {
  6287. color: $darker-text-color;
  6288. font-size: 14px;
  6289. font-weight: 400;
  6290. overflow: hidden;
  6291. word-break: normal;
  6292. word-wrap: break-word;
  6293. p {
  6294. margin-bottom: 20px;
  6295. &:last-child {
  6296. margin-bottom: 0;
  6297. }
  6298. }
  6299. a {
  6300. color: inherit;
  6301. text-decoration: underline;
  6302. &:hover {
  6303. text-decoration: none;
  6304. }
  6305. }
  6306. }
  6307. .account__header {
  6308. overflow: hidden;
  6309. container: account-header / inline-size;
  6310. &.inactive {
  6311. opacity: 0.5;
  6312. .account__header__image,
  6313. .account__avatar {
  6314. filter: grayscale(100%);
  6315. }
  6316. }
  6317. &__info {
  6318. position: absolute;
  6319. top: 10px;
  6320. inset-inline-start: 10px;
  6321. }
  6322. &__image {
  6323. overflow: hidden;
  6324. height: 145px;
  6325. position: relative;
  6326. background: darken($ui-base-color, 4%);
  6327. border-bottom: 1px solid lighten($ui-base-color, 8%);
  6328. img {
  6329. object-fit: cover;
  6330. display: block;
  6331. width: 100%;
  6332. height: 100%;
  6333. margin: 0;
  6334. }
  6335. }
  6336. &__bar {
  6337. position: relative;
  6338. padding: 0 20px;
  6339. border-bottom: 1px solid lighten($ui-base-color, 8%);
  6340. .avatar {
  6341. display: block;
  6342. flex: 0 0 auto;
  6343. width: 94px;
  6344. .account__avatar {
  6345. background: darken($ui-base-color, 8%);
  6346. border: 2px solid $ui-base-color;
  6347. }
  6348. }
  6349. }
  6350. &__badges {
  6351. display: flex;
  6352. flex-wrap: wrap;
  6353. gap: 8px;
  6354. .account-role {
  6355. line-height: unset;
  6356. }
  6357. }
  6358. &__tabs {
  6359. display: flex;
  6360. align-items: flex-start;
  6361. justify-content: space-between;
  6362. margin-top: -55px;
  6363. padding-top: 10px;
  6364. gap: 8px;
  6365. overflow: hidden;
  6366. margin-inline-start: -2px; // aligns the pfp with content below
  6367. &__buttons {
  6368. display: flex;
  6369. align-items: center;
  6370. gap: 8px;
  6371. padding-top: 55px;
  6372. overflow: hidden;
  6373. .button {
  6374. flex-shrink: 1;
  6375. white-space: nowrap;
  6376. @media screen and (max-width: $no-gap-breakpoint) {
  6377. min-width: 0;
  6378. }
  6379. }
  6380. .icon-button {
  6381. border: 1px solid lighten($ui-base-color, 12%);
  6382. border-radius: 4px;
  6383. box-sizing: content-box;
  6384. padding: 5px;
  6385. .icon {
  6386. width: 24px;
  6387. height: 24px;
  6388. }
  6389. &.copied {
  6390. border-color: $valid-value-color;
  6391. }
  6392. }
  6393. @container account-header (max-width: 372px) {
  6394. .optional {
  6395. display: none;
  6396. }
  6397. }
  6398. }
  6399. &__name {
  6400. margin-top: 16px;
  6401. margin-bottom: 16px;
  6402. .emojione {
  6403. width: 22px;
  6404. height: 22px;
  6405. }
  6406. h1 {
  6407. font-size: 17px;
  6408. line-height: 22px;
  6409. color: $primary-text-color;
  6410. font-weight: 700;
  6411. overflow: hidden;
  6412. white-space: nowrap;
  6413. text-overflow: ellipsis;
  6414. small {
  6415. display: block;
  6416. font-size: 15px;
  6417. color: $darker-text-color;
  6418. font-weight: 400;
  6419. overflow: hidden;
  6420. text-overflow: ellipsis;
  6421. span {
  6422. user-select: all;
  6423. }
  6424. .icon-lock {
  6425. height: 16px;
  6426. width: 16px;
  6427. position: relative;
  6428. top: 3px;
  6429. }
  6430. }
  6431. }
  6432. }
  6433. .spacer {
  6434. flex: 1 1 auto;
  6435. }
  6436. }
  6437. &__bio {
  6438. .account__header__content {
  6439. color: $primary-text-color;
  6440. }
  6441. .account__header__fields {
  6442. margin: 0;
  6443. margin-top: 16px;
  6444. border-radius: 4px;
  6445. background: darken($ui-base-color, 4%);
  6446. border: 0;
  6447. dl {
  6448. display: block;
  6449. padding: 11px 16px;
  6450. border-bottom-color: lighten($ui-base-color, 4%);
  6451. }
  6452. dd,
  6453. dt {
  6454. font-size: 13px;
  6455. line-height: 18px;
  6456. padding: 0;
  6457. text-align: initial;
  6458. }
  6459. dt {
  6460. width: auto;
  6461. background: transparent;
  6462. text-transform: uppercase;
  6463. color: $dark-text-color;
  6464. }
  6465. dd {
  6466. color: $darker-text-color;
  6467. }
  6468. a {
  6469. color: lighten($ui-highlight-color, 8%);
  6470. }
  6471. .icon {
  6472. width: 18px;
  6473. height: 18px;
  6474. }
  6475. .verified {
  6476. border: 1px solid rgba($valid-value-color, 0.5);
  6477. margin-top: -1px;
  6478. &:first-child {
  6479. border-top-left-radius: 4px;
  6480. border-top-right-radius: 4px;
  6481. margin-top: 0;
  6482. }
  6483. &:last-child {
  6484. border-bottom-left-radius: 4px;
  6485. border-bottom-right-radius: 4px;
  6486. }
  6487. dt,
  6488. dd {
  6489. color: $valid-value-color;
  6490. }
  6491. dd {
  6492. display: flex;
  6493. align-items: center;
  6494. gap: 4px;
  6495. span {
  6496. display: flex;
  6497. }
  6498. }
  6499. a {
  6500. color: $valid-value-color;
  6501. }
  6502. }
  6503. }
  6504. }
  6505. &__extra {
  6506. margin-top: 16px;
  6507. &__links {
  6508. font-size: 14px;
  6509. color: $darker-text-color;
  6510. margin: 0 -10px;
  6511. padding-top: 16px;
  6512. padding-bottom: 10px;
  6513. a {
  6514. display: inline-block;
  6515. color: $darker-text-color;
  6516. text-decoration: none;
  6517. padding: 5px 10px;
  6518. font-weight: 500;
  6519. strong {
  6520. font-weight: 700;
  6521. color: $primary-text-color;
  6522. }
  6523. }
  6524. }
  6525. }
  6526. &__account-note {
  6527. color: $primary-text-color;
  6528. font-size: 14px;
  6529. font-weight: 400;
  6530. margin-bottom: 10px;
  6531. label {
  6532. display: block;
  6533. font-size: 12px;
  6534. font-weight: 500;
  6535. color: $darker-text-color;
  6536. text-transform: uppercase;
  6537. margin-bottom: 5px;
  6538. }
  6539. textarea {
  6540. display: block;
  6541. box-sizing: border-box;
  6542. width: calc(100% + 20px);
  6543. color: $secondary-text-color;
  6544. background: transparent;
  6545. padding: 10px;
  6546. margin: 0 -10px;
  6547. font-family: inherit;
  6548. font-size: 14px;
  6549. resize: none;
  6550. border: 0;
  6551. outline: 0;
  6552. border-radius: 4px;
  6553. &::placeholder {
  6554. color: $dark-text-color;
  6555. opacity: 1;
  6556. }
  6557. &:focus {
  6558. background: $ui-base-color;
  6559. }
  6560. }
  6561. }
  6562. }
  6563. .account__contents {
  6564. overflow: hidden;
  6565. }
  6566. .account__details {
  6567. display: flex;
  6568. flex-wrap: wrap;
  6569. column-gap: 1em;
  6570. }
  6571. .verified-badge {
  6572. display: inline-flex;
  6573. align-items: center;
  6574. color: $valid-value-color;
  6575. gap: 4px;
  6576. overflow: hidden;
  6577. white-space: nowrap;
  6578. > span {
  6579. overflow: hidden;
  6580. text-overflow: ellipsis;
  6581. }
  6582. a {
  6583. color: inherit;
  6584. font-weight: 500;
  6585. text-decoration: none;
  6586. }
  6587. .icon {
  6588. width: 16px;
  6589. height: 16px;
  6590. }
  6591. }
  6592. .trends {
  6593. &__item {
  6594. display: flex;
  6595. align-items: center;
  6596. padding: 15px;
  6597. border-bottom: 1px solid lighten($ui-base-color, 8%);
  6598. gap: 15px;
  6599. &:last-child {
  6600. border-bottom: 0;
  6601. }
  6602. &__name {
  6603. flex: 1 1 auto;
  6604. color: $dark-text-color;
  6605. overflow: hidden;
  6606. text-overflow: ellipsis;
  6607. white-space: nowrap;
  6608. strong {
  6609. font-weight: 500;
  6610. }
  6611. a {
  6612. color: $darker-text-color;
  6613. text-decoration: none;
  6614. font-size: 14px;
  6615. font-weight: 500;
  6616. display: block;
  6617. overflow: hidden;
  6618. text-overflow: ellipsis;
  6619. white-space: nowrap;
  6620. &:hover,
  6621. &:focus,
  6622. &:active {
  6623. span {
  6624. text-decoration: underline;
  6625. }
  6626. }
  6627. }
  6628. }
  6629. &__current {
  6630. flex: 0 0 auto;
  6631. font-size: 24px;
  6632. font-weight: 500;
  6633. text-align: end;
  6634. color: $secondary-text-color;
  6635. text-decoration: none;
  6636. }
  6637. &__sparkline {
  6638. flex: 0 0 auto;
  6639. width: 50px;
  6640. path:first-child {
  6641. fill: rgba($highlight-text-color, 0.25) !important;
  6642. fill-opacity: 1 !important;
  6643. }
  6644. path:last-child {
  6645. stroke: lighten($highlight-text-color, 6%) !important;
  6646. fill: none !important;
  6647. }
  6648. }
  6649. &--requires-review {
  6650. .trends__item__name {
  6651. color: $gold-star;
  6652. a {
  6653. color: $gold-star;
  6654. }
  6655. }
  6656. .trends__item__current {
  6657. color: $gold-star;
  6658. }
  6659. .trends__item__sparkline {
  6660. path:first-child {
  6661. fill: rgba($gold-star, 0.25) !important;
  6662. }
  6663. path:last-child {
  6664. stroke: lighten($gold-star, 6%) !important;
  6665. }
  6666. }
  6667. }
  6668. &--disabled {
  6669. .trends__item__name {
  6670. color: lighten($ui-base-color, 12%);
  6671. a {
  6672. color: lighten($ui-base-color, 12%);
  6673. }
  6674. }
  6675. .trends__item__current {
  6676. color: lighten($ui-base-color, 12%);
  6677. }
  6678. .trends__item__sparkline {
  6679. path:first-child {
  6680. fill: rgba(lighten($ui-base-color, 12%), 0.25) !important;
  6681. }
  6682. path:last-child {
  6683. stroke: lighten(lighten($ui-base-color, 12%), 6%) !important;
  6684. }
  6685. }
  6686. }
  6687. }
  6688. &--compact &__item {
  6689. padding: 10px;
  6690. }
  6691. }
  6692. .conversation {
  6693. display: flex;
  6694. border-bottom: 1px solid lighten($ui-base-color, 8%);
  6695. padding: 5px;
  6696. padding-bottom: 0;
  6697. &:focus {
  6698. background: lighten($ui-base-color, 2%);
  6699. outline: 0;
  6700. }
  6701. &__avatar {
  6702. flex: 0 0 auto;
  6703. padding: 10px;
  6704. padding-top: 12px;
  6705. position: relative;
  6706. cursor: pointer;
  6707. }
  6708. &__unread {
  6709. display: inline-block;
  6710. background: $highlight-text-color;
  6711. border-radius: 50%;
  6712. width: 0.625rem;
  6713. height: 0.625rem;
  6714. margin: -0.1ex 0.15em 0.1ex;
  6715. }
  6716. &__content {
  6717. flex: 1 1 auto;
  6718. padding: 10px 5px;
  6719. padding-inline-end: 15px;
  6720. overflow: hidden;
  6721. &__info {
  6722. overflow: hidden;
  6723. display: flex;
  6724. flex-direction: row-reverse;
  6725. justify-content: space-between;
  6726. }
  6727. &__relative-time {
  6728. font-size: 15px;
  6729. color: $darker-text-color;
  6730. padding-inline-start: 15px;
  6731. }
  6732. &__names {
  6733. color: $darker-text-color;
  6734. font-size: 15px;
  6735. white-space: nowrap;
  6736. overflow: hidden;
  6737. text-overflow: ellipsis;
  6738. margin-bottom: 4px;
  6739. flex-basis: 90px;
  6740. flex-grow: 1;
  6741. a {
  6742. color: $primary-text-color;
  6743. text-decoration: none;
  6744. &:hover,
  6745. &:focus,
  6746. &:active {
  6747. text-decoration: underline;
  6748. }
  6749. }
  6750. }
  6751. a {
  6752. word-break: break-word;
  6753. }
  6754. }
  6755. &--unread {
  6756. background: lighten($ui-base-color, 2%);
  6757. &:focus {
  6758. background: lighten($ui-base-color, 4%);
  6759. }
  6760. .conversation__content__info {
  6761. font-weight: 700;
  6762. }
  6763. .conversation__content__relative-time {
  6764. color: $primary-text-color;
  6765. }
  6766. }
  6767. }
  6768. .announcements {
  6769. background: lighten($ui-base-color, 8%);
  6770. font-size: 13px;
  6771. display: flex;
  6772. align-items: flex-end;
  6773. &__mastodon {
  6774. width: 124px;
  6775. flex: 0 0 auto;
  6776. @media screen and (max-width: 124px + 300px) {
  6777. display: none;
  6778. }
  6779. }
  6780. &__container {
  6781. width: calc(100% - 124px);
  6782. flex: 0 0 auto;
  6783. position: relative;
  6784. @media screen and (max-width: 124px + 300px) {
  6785. width: 100%;
  6786. }
  6787. }
  6788. &__item {
  6789. box-sizing: border-box;
  6790. width: 100%;
  6791. padding: 15px;
  6792. position: relative;
  6793. font-size: 15px;
  6794. line-height: 20px;
  6795. word-wrap: break-word;
  6796. font-weight: 400;
  6797. max-height: 50vh;
  6798. overflow: hidden;
  6799. display: flex;
  6800. flex-direction: column;
  6801. &__range {
  6802. display: block;
  6803. font-weight: 500;
  6804. margin-bottom: 10px;
  6805. padding-inline-end: 18px;
  6806. }
  6807. &__unread {
  6808. position: absolute;
  6809. top: 19px;
  6810. inset-inline-end: 19px;
  6811. display: block;
  6812. background: $highlight-text-color;
  6813. border-radius: 50%;
  6814. width: 0.625rem;
  6815. height: 0.625rem;
  6816. }
  6817. }
  6818. &__pagination {
  6819. padding: 15px;
  6820. color: $darker-text-color;
  6821. position: absolute;
  6822. bottom: 3px;
  6823. inset-inline-end: 0;
  6824. }
  6825. }
  6826. .layout-multiple-columns .announcements__mastodon {
  6827. display: none;
  6828. }
  6829. .layout-multiple-columns .announcements__container {
  6830. width: 100%;
  6831. }
  6832. .reactions-bar {
  6833. display: flex;
  6834. flex-wrap: wrap;
  6835. align-items: center;
  6836. margin-top: 15px;
  6837. margin-inline-start: -2px;
  6838. width: calc(100% - (90px - 33px));
  6839. &__item {
  6840. flex-shrink: 0;
  6841. background: lighten($ui-base-color, 12%);
  6842. border: 0;
  6843. border-radius: 3px;
  6844. margin: 2px;
  6845. cursor: pointer;
  6846. user-select: none;
  6847. padding: 0 6px;
  6848. display: flex;
  6849. align-items: center;
  6850. transition: all 100ms ease-in;
  6851. transition-property: background-color, color;
  6852. &__emoji {
  6853. display: block;
  6854. margin: 3px 0;
  6855. width: 16px;
  6856. height: 16px;
  6857. img {
  6858. display: block;
  6859. margin: 0;
  6860. width: 100%;
  6861. height: 100%;
  6862. min-width: auto;
  6863. min-height: auto;
  6864. vertical-align: bottom;
  6865. object-fit: contain;
  6866. }
  6867. }
  6868. &__count {
  6869. display: block;
  6870. min-width: 9px;
  6871. font-size: 13px;
  6872. font-weight: 500;
  6873. text-align: center;
  6874. margin-inline-start: 6px;
  6875. color: $darker-text-color;
  6876. }
  6877. &:hover,
  6878. &:focus,
  6879. &:active {
  6880. background: lighten($ui-base-color, 16%);
  6881. transition: all 200ms ease-out;
  6882. transition-property: background-color, color;
  6883. &__count {
  6884. color: lighten($darker-text-color, 4%);
  6885. }
  6886. }
  6887. &.active {
  6888. transition: all 100ms ease-in;
  6889. transition-property: background-color, color;
  6890. background-color: mix(
  6891. lighten($ui-base-color, 12%),
  6892. $ui-highlight-color,
  6893. 80%
  6894. );
  6895. .reactions-bar__item__count {
  6896. color: lighten($highlight-text-color, 8%);
  6897. }
  6898. }
  6899. }
  6900. .emoji-picker-dropdown {
  6901. margin: 2px;
  6902. }
  6903. &:hover .emoji-button {
  6904. opacity: 0.85;
  6905. }
  6906. .emoji-button {
  6907. color: $darker-text-color;
  6908. margin: 0;
  6909. font-size: 16px;
  6910. width: auto;
  6911. flex-shrink: 0;
  6912. padding: 0 6px;
  6913. height: 22px;
  6914. display: flex;
  6915. align-items: center;
  6916. opacity: 0.5;
  6917. transition: all 100ms ease-in;
  6918. transition-property: background-color, color;
  6919. &:hover,
  6920. &:active,
  6921. &:focus {
  6922. opacity: 1;
  6923. color: lighten($darker-text-color, 4%);
  6924. transition: all 200ms ease-out;
  6925. transition-property: background-color, color;
  6926. }
  6927. }
  6928. &--empty {
  6929. .emoji-button {
  6930. padding: 0;
  6931. }
  6932. }
  6933. }
  6934. .notification,
  6935. .status__wrapper {
  6936. position: relative;
  6937. &.unread {
  6938. &::before {
  6939. content: '';
  6940. position: absolute;
  6941. top: 0;
  6942. inset-inline-start: 0;
  6943. width: 100%;
  6944. height: 100%;
  6945. border-inline-start: 4px solid $highlight-text-color;
  6946. pointer-events: none;
  6947. }
  6948. }
  6949. }
  6950. .picture-in-picture {
  6951. position: fixed;
  6952. bottom: 20px;
  6953. inset-inline-end: 20px;
  6954. width: 300px;
  6955. &__footer {
  6956. border-radius: 0 0 4px 4px;
  6957. background: lighten($ui-base-color, 4%);
  6958. padding: 10px;
  6959. padding-top: 12px;
  6960. display: flex;
  6961. justify-content: space-between;
  6962. }
  6963. &__header {
  6964. border-radius: 4px 4px 0 0;
  6965. background: lighten($ui-base-color, 4%);
  6966. padding: 10px;
  6967. display: flex;
  6968. justify-content: space-between;
  6969. &__account {
  6970. display: flex;
  6971. text-decoration: none;
  6972. overflow: hidden;
  6973. }
  6974. .account__avatar {
  6975. margin-inline-end: 10px;
  6976. }
  6977. .display-name {
  6978. color: $primary-text-color;
  6979. text-decoration: none;
  6980. strong,
  6981. span {
  6982. display: block;
  6983. text-overflow: ellipsis;
  6984. overflow: hidden;
  6985. }
  6986. span {
  6987. color: $darker-text-color;
  6988. }
  6989. }
  6990. }
  6991. .video-player,
  6992. .audio-player {
  6993. border-radius: 0;
  6994. }
  6995. }
  6996. .picture-in-picture-placeholder {
  6997. box-sizing: border-box;
  6998. border: 2px dashed lighten($ui-base-color, 8%);
  6999. background: $base-shadow-color;
  7000. display: flex;
  7001. flex-direction: column;
  7002. align-items: center;
  7003. justify-content: center;
  7004. margin-top: 10px;
  7005. font-size: 16px;
  7006. font-weight: 500;
  7007. cursor: pointer;
  7008. color: $darker-text-color;
  7009. aspect-ratio: 16 / 9;
  7010. .icon {
  7011. width: 24px;
  7012. height: 24px;
  7013. margin-bottom: 10px;
  7014. }
  7015. &:hover,
  7016. &:focus,
  7017. &:active {
  7018. border-color: lighten($ui-base-color, 12%);
  7019. }
  7020. }
  7021. .notifications-permission-banner {
  7022. padding: 30px;
  7023. border-bottom: 1px solid lighten($ui-base-color, 8%);
  7024. display: flex;
  7025. flex-direction: column;
  7026. align-items: center;
  7027. justify-content: center;
  7028. position: relative;
  7029. &__close {
  7030. position: absolute;
  7031. top: 10px;
  7032. inset-inline-end: 10px;
  7033. }
  7034. h2 {
  7035. font-size: 16px;
  7036. font-weight: 500;
  7037. margin-bottom: 15px;
  7038. text-align: center;
  7039. }
  7040. p {
  7041. color: $darker-text-color;
  7042. margin-bottom: 15px;
  7043. text-align: center;
  7044. }
  7045. }
  7046. .explore__search-header {
  7047. background: darken($ui-base-color, 4%);
  7048. justify-content: center;
  7049. align-items: center;
  7050. padding: 15px;
  7051. .search {
  7052. width: 100%;
  7053. margin-bottom: 0;
  7054. }
  7055. .search__input {
  7056. border: 1px solid lighten($ui-base-color, 8%);
  7057. padding: 10px;
  7058. padding-inline-end: 28px;
  7059. }
  7060. .search__popout {
  7061. border: 1px solid lighten($ui-base-color, 8%);
  7062. }
  7063. .search .icon {
  7064. top: 9px;
  7065. inset-inline-end: 10px;
  7066. color: $dark-text-color;
  7067. }
  7068. }
  7069. .explore__search-results {
  7070. flex: 1 1 auto;
  7071. display: flex;
  7072. flex-direction: column;
  7073. background: $ui-base-color;
  7074. border-bottom-left-radius: 4px;
  7075. border-bottom-right-radius: 4px;
  7076. }
  7077. .story {
  7078. display: flex;
  7079. align-items: center;
  7080. color: $primary-text-color;
  7081. text-decoration: none;
  7082. padding: 15px;
  7083. border-bottom: 1px solid lighten($ui-base-color, 8%);
  7084. gap: 15px;
  7085. &:last-child {
  7086. border-bottom: 0;
  7087. }
  7088. &:hover,
  7089. &:active,
  7090. &:focus {
  7091. color: $highlight-text-color;
  7092. .story__details__publisher,
  7093. .story__details__shared {
  7094. color: $highlight-text-color;
  7095. }
  7096. }
  7097. &__details {
  7098. flex: 1 1 auto;
  7099. &__publisher {
  7100. color: $darker-text-color;
  7101. margin-bottom: 8px;
  7102. }
  7103. &__title {
  7104. font-size: 19px;
  7105. line-height: 24px;
  7106. font-weight: 500;
  7107. margin-bottom: 8px;
  7108. }
  7109. &__shared {
  7110. color: $darker-text-color;
  7111. }
  7112. strong {
  7113. font-weight: 500;
  7114. }
  7115. }
  7116. &__thumbnail {
  7117. flex: 0 0 auto;
  7118. position: relative;
  7119. width: 120px;
  7120. aspect-ratio: 1;
  7121. .skeleton {
  7122. width: 100%;
  7123. height: 100%;
  7124. }
  7125. img {
  7126. border-radius: 8px;
  7127. display: block;
  7128. margin: 0;
  7129. width: 100%;
  7130. height: 100%;
  7131. object-fit: cover;
  7132. }
  7133. &__preview {
  7134. border-radius: 8px;
  7135. display: block;
  7136. margin: 0;
  7137. width: 100%;
  7138. height: 100%;
  7139. object-fit: fill;
  7140. position: absolute;
  7141. top: 0;
  7142. inset-inline-start: 0;
  7143. z-index: 0;
  7144. &--hidden {
  7145. display: none;
  7146. }
  7147. }
  7148. }
  7149. &.expanded {
  7150. flex-direction: column;
  7151. .story__thumbnail {
  7152. order: 1;
  7153. width: 100%;
  7154. height: auto;
  7155. aspect-ratio: 1.91 / 1;
  7156. }
  7157. .story__details {
  7158. order: 2;
  7159. width: 100%;
  7160. flex: 0 0 auto;
  7161. }
  7162. }
  7163. }
  7164. .server-banner {
  7165. padding: 20px 0;
  7166. &__introduction {
  7167. color: $darker-text-color;
  7168. margin-bottom: 20px;
  7169. strong {
  7170. font-weight: 600;
  7171. }
  7172. a {
  7173. color: inherit;
  7174. text-decoration: underline;
  7175. &:hover,
  7176. &:active,
  7177. &:focus {
  7178. text-decoration: none;
  7179. }
  7180. }
  7181. }
  7182. &__hero {
  7183. display: block;
  7184. border-radius: 4px;
  7185. width: 100%;
  7186. height: auto;
  7187. margin-bottom: 20px;
  7188. aspect-ratio: 1.9;
  7189. border: 0;
  7190. background: $ui-base-color;
  7191. object-fit: cover;
  7192. }
  7193. &__description {
  7194. margin-bottom: 20px;
  7195. }
  7196. &__meta {
  7197. display: flex;
  7198. gap: 10px;
  7199. max-width: 100%;
  7200. &__column {
  7201. flex: 0 0 auto;
  7202. width: calc(50% - 5px);
  7203. overflow: hidden;
  7204. }
  7205. }
  7206. &__number {
  7207. font-weight: 600;
  7208. color: $primary-text-color;
  7209. font-size: 14px;
  7210. }
  7211. &__number-label {
  7212. color: $darker-text-color;
  7213. font-weight: 500;
  7214. font-size: 14px;
  7215. }
  7216. h4 {
  7217. text-transform: uppercase;
  7218. color: $darker-text-color;
  7219. margin-bottom: 10px;
  7220. font-weight: 600;
  7221. }
  7222. .account {
  7223. padding: 0;
  7224. border: 0;
  7225. }
  7226. .account__avatar-wrapper {
  7227. margin-inline-start: 0;
  7228. }
  7229. .spacer {
  7230. margin: 10px 0;
  7231. }
  7232. }
  7233. .interaction-modal {
  7234. max-width: 90vw;
  7235. width: 600px;
  7236. background: var(--modal-background-color);
  7237. border: 1px solid var(--modal-border-color);
  7238. border-radius: 8px;
  7239. overflow: visible;
  7240. position: relative;
  7241. display: block;
  7242. padding: 40px;
  7243. h3 {
  7244. font-size: 22px;
  7245. line-height: 33px;
  7246. font-weight: 700;
  7247. text-align: center;
  7248. }
  7249. p {
  7250. font-size: 17px;
  7251. line-height: 22px;
  7252. color: $darker-text-color;
  7253. strong {
  7254. color: $primary-text-color;
  7255. font-weight: 700;
  7256. }
  7257. }
  7258. p.hint {
  7259. margin-bottom: 14px;
  7260. font-size: 14px;
  7261. }
  7262. &__icon {
  7263. color: $highlight-text-color;
  7264. margin: 0 5px;
  7265. }
  7266. &__lead {
  7267. margin-bottom: 20px;
  7268. h3 {
  7269. margin-bottom: 15px;
  7270. }
  7271. }
  7272. &__login {
  7273. position: relative;
  7274. margin-bottom: 20px;
  7275. &__input {
  7276. @include search-input;
  7277. border: 1px solid lighten($ui-base-color, 8%);
  7278. padding: 4px 6px;
  7279. color: $primary-text-color;
  7280. font-size: 16px;
  7281. line-height: 18px;
  7282. display: flex;
  7283. align-items: center;
  7284. input {
  7285. background: transparent;
  7286. color: inherit;
  7287. font: inherit;
  7288. border: 0;
  7289. padding: 15px - 4px 15px - 6px;
  7290. flex: 1 1 auto;
  7291. &::placeholder {
  7292. color: lighten($darker-text-color, 4%);
  7293. }
  7294. &:focus {
  7295. outline: 0;
  7296. }
  7297. }
  7298. .button {
  7299. flex: 0 0 auto;
  7300. }
  7301. }
  7302. .search__popout {
  7303. margin-top: -1px;
  7304. padding-top: 5px;
  7305. padding-bottom: 5px;
  7306. border: 1px solid lighten($ui-base-color, 8%);
  7307. }
  7308. &.focused &__input {
  7309. border-color: $highlight-text-color;
  7310. background: lighten($ui-base-color, 4%);
  7311. }
  7312. &.invalid &__input {
  7313. border-color: $error-red;
  7314. }
  7315. &.expanded .search__popout {
  7316. display: block;
  7317. }
  7318. &.expanded &__input {
  7319. border-radius: 4px 4px 0 0;
  7320. }
  7321. }
  7322. &__choices {
  7323. display: flex;
  7324. gap: 40px;
  7325. &__choice {
  7326. flex: 1;
  7327. box-sizing: border-box;
  7328. h3 {
  7329. margin-bottom: 20px;
  7330. }
  7331. p {
  7332. color: $darker-text-color;
  7333. margin-bottom: 20px;
  7334. font-size: 15px;
  7335. }
  7336. .button {
  7337. margin-bottom: 10px;
  7338. &:last-child {
  7339. margin-bottom: 0;
  7340. }
  7341. }
  7342. }
  7343. }
  7344. @media screen and (max-width: $no-gap-breakpoint - 1px) {
  7345. &__choices {
  7346. flex-direction: column;
  7347. &__choice {
  7348. margin-top: 40px;
  7349. }
  7350. }
  7351. }
  7352. .link-button {
  7353. font-size: inherit;
  7354. display: inline;
  7355. }
  7356. }
  7357. .copypaste {
  7358. display: flex;
  7359. align-items: center;
  7360. gap: 10px;
  7361. input {
  7362. display: block;
  7363. font-family: inherit;
  7364. background: darken($ui-base-color, 8%);
  7365. border: 1px solid $highlight-text-color;
  7366. color: $darker-text-color;
  7367. border-radius: 4px;
  7368. padding: 6px 9px;
  7369. line-height: 22px;
  7370. font-size: 14px;
  7371. transition: border-color 300ms linear;
  7372. flex: 1 1 auto;
  7373. overflow: hidden;
  7374. &:focus {
  7375. outline: 0;
  7376. background: darken($ui-base-color, 4%);
  7377. }
  7378. }
  7379. .button {
  7380. flex: 0 0 auto;
  7381. transition: background 300ms linear;
  7382. }
  7383. &.copied {
  7384. input {
  7385. border: 1px solid $valid-value-color;
  7386. transition: none;
  7387. }
  7388. .button {
  7389. background: $valid-value-color;
  7390. transition: none;
  7391. }
  7392. }
  7393. }
  7394. .privacy-policy {
  7395. background: $ui-base-color;
  7396. padding: 20px;
  7397. @media screen and (min-width: $no-gap-breakpoint) {
  7398. border-radius: 4px;
  7399. }
  7400. &__body {
  7401. margin-top: 20px;
  7402. }
  7403. }
  7404. .prose {
  7405. color: $secondary-text-color;
  7406. font-size: 15px;
  7407. line-height: 22px;
  7408. p,
  7409. ul,
  7410. ol {
  7411. margin-top: 1.25em;
  7412. margin-bottom: 1.25em;
  7413. }
  7414. img {
  7415. margin-top: 2em;
  7416. margin-bottom: 2em;
  7417. max-width: 100%;
  7418. }
  7419. video {
  7420. margin-top: 2em;
  7421. margin-bottom: 2em;
  7422. max-width: 100%;
  7423. }
  7424. figure {
  7425. margin-top: 2em;
  7426. margin-bottom: 2em;
  7427. figcaption {
  7428. font-size: 0.875em;
  7429. line-height: 1.4285714;
  7430. margin-top: 0.8571429em;
  7431. }
  7432. }
  7433. figure > * {
  7434. margin-top: 0;
  7435. margin-bottom: 0;
  7436. }
  7437. h1 {
  7438. font-size: 1.5em;
  7439. margin-top: 0;
  7440. margin-bottom: 1em;
  7441. line-height: 1.33;
  7442. }
  7443. h2 {
  7444. font-size: 1.25em;
  7445. margin-top: 1.6em;
  7446. margin-bottom: 0.6em;
  7447. line-height: 1.6;
  7448. }
  7449. h3,
  7450. h4,
  7451. h5,
  7452. h6 {
  7453. margin-top: 1.5em;
  7454. margin-bottom: 0.5em;
  7455. line-height: 1.5;
  7456. }
  7457. ol {
  7458. counter-reset: list-counter;
  7459. }
  7460. li {
  7461. margin-top: 0.5em;
  7462. margin-bottom: 0.5em;
  7463. }
  7464. ol > li {
  7465. counter-increment: list-counter;
  7466. &::before {
  7467. content: counter(list-counter) '.';
  7468. position: absolute;
  7469. inset-inline-start: 0;
  7470. }
  7471. }
  7472. ul > li::before {
  7473. content: '';
  7474. position: absolute;
  7475. background-color: $darker-text-color;
  7476. border-radius: 50%;
  7477. width: 0.375em;
  7478. height: 0.375em;
  7479. top: 0.5em;
  7480. inset-inline-start: 0.25em;
  7481. }
  7482. ul > li,
  7483. ol > li {
  7484. position: relative;
  7485. padding-inline-start: 1.75em;
  7486. }
  7487. & > ul > li p {
  7488. margin-top: 0.75em;
  7489. margin-bottom: 0.75em;
  7490. }
  7491. & > ul > li > *:first-child {
  7492. margin-top: 1.25em;
  7493. }
  7494. & > ul > li > *:last-child {
  7495. margin-bottom: 1.25em;
  7496. }
  7497. & > ol > li > *:first-child {
  7498. margin-top: 1.25em;
  7499. }
  7500. & > ol > li > *:last-child {
  7501. margin-bottom: 1.25em;
  7502. }
  7503. ul ul,
  7504. ul ol,
  7505. ol ul,
  7506. ol ol {
  7507. margin-top: 0.75em;
  7508. margin-bottom: 0.75em;
  7509. }
  7510. h1,
  7511. h2,
  7512. h3,
  7513. h4,
  7514. h5,
  7515. h6,
  7516. strong,
  7517. b {
  7518. color: $primary-text-color;
  7519. font-weight: 700;
  7520. }
  7521. em,
  7522. i {
  7523. font-style: italic;
  7524. }
  7525. a {
  7526. color: $highlight-text-color;
  7527. text-decoration: underline;
  7528. &:focus,
  7529. &:hover,
  7530. &:active {
  7531. text-decoration: none;
  7532. }
  7533. }
  7534. code {
  7535. font-size: 0.875em;
  7536. background: darken($ui-base-color, 8%);
  7537. border-radius: 4px;
  7538. padding: 0.2em 0.3em;
  7539. }
  7540. hr {
  7541. border: 0;
  7542. border-top: 1px solid lighten($ui-base-color, 4%);
  7543. margin-top: 3em;
  7544. margin-bottom: 3em;
  7545. }
  7546. hr + * {
  7547. margin-top: 0;
  7548. }
  7549. h2 + * {
  7550. margin-top: 0;
  7551. }
  7552. h3 + * {
  7553. margin-top: 0;
  7554. }
  7555. h4 + *,
  7556. h5 + *,
  7557. h6 + * {
  7558. margin-top: 0;
  7559. }
  7560. & > :first-child {
  7561. margin-top: 0;
  7562. }
  7563. & > :last-child {
  7564. margin-bottom: 0;
  7565. }
  7566. }
  7567. .dismissable-banner,
  7568. .warning-banner {
  7569. position: relative;
  7570. margin: 10px;
  7571. margin-bottom: 5px;
  7572. border-radius: 8px;
  7573. border: 1px solid $highlight-text-color;
  7574. background: rgba($highlight-text-color, 0.15);
  7575. overflow: hidden;
  7576. &__background-image {
  7577. width: 125%;
  7578. position: absolute;
  7579. bottom: -25%;
  7580. inset-inline-end: -25%;
  7581. z-index: -1;
  7582. opacity: 0.15;
  7583. mix-blend-mode: luminosity;
  7584. }
  7585. &__message {
  7586. flex: 1 1 auto;
  7587. padding: 15px;
  7588. font-size: 15px;
  7589. line-height: 22px;
  7590. font-weight: 500;
  7591. color: $primary-text-color;
  7592. p {
  7593. margin-bottom: 15px;
  7594. &:last-child {
  7595. margin-bottom: 0;
  7596. }
  7597. }
  7598. h1 {
  7599. color: $highlight-text-color;
  7600. font-size: 22px;
  7601. line-height: 33px;
  7602. font-weight: 700;
  7603. margin-bottom: 15px;
  7604. }
  7605. &__actions {
  7606. display: flex;
  7607. flex-wrap: wrap;
  7608. gap: 4px;
  7609. &__wrapper {
  7610. display: flex;
  7611. margin-top: 30px;
  7612. }
  7613. .button {
  7614. display: block;
  7615. flex-grow: 1;
  7616. }
  7617. }
  7618. .button-tertiary {
  7619. background: rgba($ui-base-color, 0.15);
  7620. backdrop-filter: blur(8px);
  7621. }
  7622. }
  7623. &__action {
  7624. float: right;
  7625. padding: 15px 10px;
  7626. .icon-button {
  7627. color: $highlight-text-color;
  7628. }
  7629. }
  7630. }
  7631. .warning-banner {
  7632. border: 1px solid $warning-red;
  7633. background: rgba($warning-red, 0.15);
  7634. &__message {
  7635. h1 {
  7636. color: $warning-red;
  7637. }
  7638. a {
  7639. color: $primary-text-color;
  7640. }
  7641. }
  7642. }
  7643. .image {
  7644. position: relative;
  7645. overflow: hidden;
  7646. &__preview {
  7647. position: absolute;
  7648. top: 0;
  7649. inset-inline-start: 0;
  7650. width: 100%;
  7651. height: 100%;
  7652. object-fit: cover;
  7653. }
  7654. &.loaded &__preview {
  7655. display: none;
  7656. }
  7657. img {
  7658. display: block;
  7659. width: 100%;
  7660. height: 100%;
  7661. object-fit: cover;
  7662. border: 0;
  7663. background: transparent;
  7664. opacity: 0;
  7665. }
  7666. &.loaded img {
  7667. opacity: 1;
  7668. }
  7669. }
  7670. .link-footer {
  7671. flex: 0 0 auto;
  7672. padding-top: 20px;
  7673. z-index: 1;
  7674. font-size: 13px;
  7675. .column & {
  7676. padding: 15px;
  7677. }
  7678. p {
  7679. color: $dark-text-color;
  7680. margin-bottom: 20px;
  7681. .version {
  7682. white-space: nowrap;
  7683. }
  7684. strong {
  7685. font-weight: 500;
  7686. }
  7687. a {
  7688. color: $dark-text-color;
  7689. text-decoration: underline;
  7690. &:hover,
  7691. &:focus,
  7692. &:active {
  7693. text-decoration: none;
  7694. }
  7695. }
  7696. }
  7697. }
  7698. .about {
  7699. padding: 20px;
  7700. @media screen and (min-width: $no-gap-breakpoint) {
  7701. border-radius: 4px;
  7702. }
  7703. &__footer {
  7704. color: $dark-text-color;
  7705. text-align: center;
  7706. font-size: 15px;
  7707. line-height: 22px;
  7708. margin-top: 20px;
  7709. }
  7710. &__header {
  7711. margin-bottom: 30px;
  7712. &__hero {
  7713. width: 100%;
  7714. height: auto;
  7715. aspect-ratio: 1.9;
  7716. background: lighten($ui-base-color, 4%);
  7717. border-radius: 8px;
  7718. margin-bottom: 30px;
  7719. }
  7720. h1,
  7721. p {
  7722. text-align: center;
  7723. }
  7724. h1 {
  7725. font-size: 24px;
  7726. line-height: 1.5;
  7727. font-weight: 700;
  7728. margin-bottom: 10px;
  7729. }
  7730. p {
  7731. font-size: 16px;
  7732. line-height: 24px;
  7733. font-weight: 400;
  7734. color: $darker-text-color;
  7735. }
  7736. }
  7737. &__meta {
  7738. background: lighten($ui-base-color, 4%);
  7739. border-radius: 4px;
  7740. display: flex;
  7741. margin-bottom: 30px;
  7742. font-size: 15px;
  7743. &__column {
  7744. box-sizing: border-box;
  7745. width: 50%;
  7746. padding: 20px;
  7747. }
  7748. &__divider {
  7749. width: 0;
  7750. border: 0;
  7751. border-style: solid;
  7752. border-color: lighten($ui-base-color, 8%);
  7753. border-left-width: 1px;
  7754. min-height: calc(100% - 60px);
  7755. flex: 0 0 auto;
  7756. }
  7757. h4 {
  7758. font-size: 15px;
  7759. text-transform: uppercase;
  7760. color: $darker-text-color;
  7761. font-weight: 500;
  7762. margin-bottom: 20px;
  7763. }
  7764. @media screen and (width <= 600px) {
  7765. display: block;
  7766. h4 {
  7767. text-align: center;
  7768. }
  7769. &__column {
  7770. width: 100%;
  7771. display: flex;
  7772. flex-direction: column;
  7773. align-items: center;
  7774. }
  7775. &__divider {
  7776. min-height: 0;
  7777. width: 100%;
  7778. border-left-width: 0;
  7779. border-top-width: 1px;
  7780. }
  7781. }
  7782. .layout-multiple-columns & {
  7783. display: block;
  7784. h4 {
  7785. text-align: center;
  7786. }
  7787. &__column {
  7788. width: 100%;
  7789. display: flex;
  7790. flex-direction: column;
  7791. align-items: center;
  7792. }
  7793. &__divider {
  7794. min-height: 0;
  7795. width: 100%;
  7796. border-left-width: 0;
  7797. border-top-width: 1px;
  7798. }
  7799. }
  7800. }
  7801. &__mail {
  7802. color: $primary-text-color;
  7803. text-decoration: none;
  7804. font-weight: 500;
  7805. &:hover,
  7806. &:focus,
  7807. &:active {
  7808. text-decoration: underline;
  7809. }
  7810. }
  7811. .link-footer {
  7812. padding: 0;
  7813. margin-top: 60px;
  7814. text-align: center;
  7815. font-size: 15px;
  7816. line-height: 22px;
  7817. @media screen and (min-width: $no-gap-breakpoint) {
  7818. display: none;
  7819. }
  7820. }
  7821. .account {
  7822. padding: 0;
  7823. border: 0;
  7824. }
  7825. .account__avatar-wrapper {
  7826. margin-inline-start: 0;
  7827. }
  7828. .account__relationship {
  7829. display: none;
  7830. }
  7831. &__section {
  7832. margin-bottom: 10px;
  7833. &__title {
  7834. display: flex;
  7835. align-items: center;
  7836. gap: 6px;
  7837. font-size: 17px;
  7838. font-weight: 600;
  7839. line-height: 22px;
  7840. padding: 20px;
  7841. border-radius: 4px;
  7842. background: lighten($ui-base-color, 4%);
  7843. color: $highlight-text-color;
  7844. cursor: pointer;
  7845. }
  7846. &.active &__title {
  7847. border-radius: 4px 4px 0 0;
  7848. }
  7849. &__body {
  7850. border: 1px solid lighten($ui-base-color, 4%);
  7851. border-top: 0;
  7852. padding: 20px;
  7853. font-size: 15px;
  7854. line-height: 22px;
  7855. }
  7856. }
  7857. &__domain-blocks {
  7858. margin-top: 30px;
  7859. background: darken($ui-base-color, 4%);
  7860. border: 1px solid lighten($ui-base-color, 4%);
  7861. border-radius: 4px;
  7862. &__domain {
  7863. border-bottom: 1px solid lighten($ui-base-color, 4%);
  7864. padding: 10px;
  7865. font-size: 15px;
  7866. color: $darker-text-color;
  7867. &:nth-child(2n) {
  7868. background: darken($ui-base-color, 2%);
  7869. }
  7870. &:last-child {
  7871. border-bottom: 0;
  7872. }
  7873. &__header {
  7874. display: flex;
  7875. gap: 10px;
  7876. justify-content: space-between;
  7877. font-weight: 500;
  7878. margin-bottom: 4px;
  7879. }
  7880. h6 {
  7881. color: $secondary-text-color;
  7882. font-size: inherit;
  7883. white-space: nowrap;
  7884. overflow: hidden;
  7885. text-overflow: ellipsis;
  7886. }
  7887. p {
  7888. white-space: nowrap;
  7889. overflow: hidden;
  7890. text-overflow: ellipsis;
  7891. }
  7892. }
  7893. }
  7894. }
  7895. .notification-list {
  7896. position: fixed;
  7897. bottom: 2rem;
  7898. inset-inline-start: 0;
  7899. z-index: 999;
  7900. display: flex;
  7901. flex-direction: column;
  7902. gap: 4px;
  7903. }
  7904. .notification-bar {
  7905. flex: 0 0 auto;
  7906. position: relative;
  7907. inset-inline-start: -100%;
  7908. width: auto;
  7909. padding: 15px;
  7910. margin: 0;
  7911. color: $white;
  7912. background: rgba($black, 0.85);
  7913. backdrop-filter: blur(8px);
  7914. border: 1px solid rgba(lighten($classic-base-color, 4%), 0.85);
  7915. border-radius: 8px;
  7916. box-shadow:
  7917. 0 10px 15px -3px rgba($base-shadow-color, 0.25),
  7918. 0 4px 6px -4px rgba($base-shadow-color, 0.25);
  7919. cursor: default;
  7920. font-size: 15px;
  7921. line-height: 21px;
  7922. &.notification-bar-active {
  7923. inset-inline-start: 1rem;
  7924. }
  7925. .no-reduce-motion & {
  7926. transition: 0.5s cubic-bezier(0.89, 0.01, 0.5, 1.1);
  7927. transform: translateZ(0);
  7928. }
  7929. }
  7930. .notification-bar-title {
  7931. margin-inline-end: 5px;
  7932. }
  7933. .notification-bar-title,
  7934. .notification-bar-action {
  7935. font-weight: 700;
  7936. }
  7937. .notification-bar-action {
  7938. text-transform: uppercase;
  7939. margin-inline-start: 10px;
  7940. cursor: pointer;
  7941. color: $blurple-300;
  7942. border-radius: 4px;
  7943. padding: 0 4px;
  7944. &:hover,
  7945. &:focus,
  7946. &:active {
  7947. background: rgba($ui-base-color, 0.85);
  7948. }
  7949. }
  7950. .hashtag-header {
  7951. border-bottom: 1px solid lighten($ui-base-color, 8%);
  7952. padding: 15px;
  7953. font-size: 17px;
  7954. line-height: 22px;
  7955. color: $darker-text-color;
  7956. strong {
  7957. font-weight: 700;
  7958. }
  7959. &__header {
  7960. display: flex;
  7961. justify-content: space-between;
  7962. align-items: center;
  7963. margin-bottom: 15px;
  7964. gap: 15px;
  7965. h1 {
  7966. color: $primary-text-color;
  7967. white-space: nowrap;
  7968. text-overflow: ellipsis;
  7969. overflow: hidden;
  7970. font-size: 22px;
  7971. line-height: 33px;
  7972. font-weight: 700;
  7973. }
  7974. }
  7975. }
  7976. .hashtag-bar {
  7977. margin-top: 16px;
  7978. display: flex;
  7979. flex-wrap: wrap;
  7980. font-size: 14px;
  7981. line-height: 18px;
  7982. gap: 4px;
  7983. color: $darker-text-color;
  7984. a {
  7985. display: inline-flex;
  7986. color: inherit;
  7987. text-decoration: none;
  7988. &:hover span {
  7989. text-decoration: underline;
  7990. }
  7991. }
  7992. .link-button {
  7993. color: inherit;
  7994. font-size: inherit;
  7995. line-height: inherit;
  7996. padding: 0;
  7997. }
  7998. }
  7999. .inline-follow-suggestions {
  8000. display: flex;
  8001. flex-direction: column;
  8002. gap: 12px;
  8003. padding: 16px 0;
  8004. border-bottom: 1px solid mix($ui-base-color, $ui-highlight-color, 75%);
  8005. background: mix($ui-base-color, $ui-highlight-color, 95%);
  8006. &__header {
  8007. display: flex;
  8008. align-items: center;
  8009. justify-content: space-between;
  8010. padding: 0 16px;
  8011. h3 {
  8012. font-size: 15px;
  8013. line-height: 22px;
  8014. font-weight: 500;
  8015. }
  8016. &__actions {
  8017. display: flex;
  8018. align-items: center;
  8019. gap: 24px;
  8020. }
  8021. .link-button {
  8022. font-size: 13px;
  8023. font-weight: 500;
  8024. }
  8025. }
  8026. &__body {
  8027. position: relative;
  8028. &__scroll-button {
  8029. position: absolute;
  8030. height: 100%;
  8031. background: transparent;
  8032. border: none;
  8033. cursor: pointer;
  8034. top: 0;
  8035. color: $primary-text-color;
  8036. &.left {
  8037. left: 0;
  8038. }
  8039. &.right {
  8040. right: 0;
  8041. }
  8042. &__icon {
  8043. border-radius: 50%;
  8044. background: $ui-highlight-color;
  8045. display: flex;
  8046. align-items: center;
  8047. justify-content: center;
  8048. aspect-ratio: 1;
  8049. padding: 8px;
  8050. .icon {
  8051. width: 24px;
  8052. height: 24px;
  8053. }
  8054. }
  8055. &:hover,
  8056. &:focus,
  8057. &:active {
  8058. .inline-follow-suggestions__body__scroll-button__icon {
  8059. background: lighten($ui-highlight-color, 4%);
  8060. }
  8061. }
  8062. }
  8063. &__scrollable {
  8064. display: flex;
  8065. flex-wrap: nowrap;
  8066. gap: 16px;
  8067. padding: 16px;
  8068. padding-bottom: 0;
  8069. scroll-snap-type: x mandatory;
  8070. scroll-padding: 16px;
  8071. scroll-behavior: smooth;
  8072. overflow-x: hidden;
  8073. &__card {
  8074. background: darken($ui-base-color, 4%);
  8075. border: 1px solid lighten($ui-base-color, 8%);
  8076. border-radius: 4px;
  8077. display: flex;
  8078. flex-direction: column;
  8079. gap: 12px;
  8080. align-items: center;
  8081. padding: 12px;
  8082. scroll-snap-align: start;
  8083. flex: 0 0 auto;
  8084. width: 200px;
  8085. box-sizing: border-box;
  8086. position: relative;
  8087. a {
  8088. text-decoration: none;
  8089. }
  8090. & > .icon-button {
  8091. position: absolute;
  8092. inset-inline-end: 8px;
  8093. top: 8px;
  8094. }
  8095. &__avatar {
  8096. height: 48px;
  8097. display: flex;
  8098. a {
  8099. display: flex;
  8100. text-decoration: none;
  8101. }
  8102. }
  8103. .account__avatar {
  8104. flex-shrink: 0;
  8105. align-self: flex-end;
  8106. border: 1px solid lighten($ui-base-color, 8%);
  8107. background-color: $ui-base-color;
  8108. }
  8109. &__text-stack {
  8110. display: flex;
  8111. flex-direction: column;
  8112. gap: 4px;
  8113. align-items: center;
  8114. max-width: 100%;
  8115. a {
  8116. max-width: 100%;
  8117. }
  8118. &__source {
  8119. display: inline-flex;
  8120. align-items: center;
  8121. color: $dark-text-color;
  8122. gap: 4px;
  8123. overflow: hidden;
  8124. white-space: nowrap;
  8125. > span {
  8126. overflow: hidden;
  8127. text-overflow: ellipsis;
  8128. }
  8129. .icon {
  8130. width: 16px;
  8131. height: 16px;
  8132. }
  8133. }
  8134. }
  8135. .display-name {
  8136. display: flex;
  8137. flex-direction: column;
  8138. gap: 4px;
  8139. align-items: center;
  8140. & > * {
  8141. max-width: 100%;
  8142. }
  8143. &__html {
  8144. font-size: 15px;
  8145. font-weight: 500;
  8146. color: $secondary-text-color;
  8147. }
  8148. &__account {
  8149. font-size: 14px;
  8150. color: $darker-text-color;
  8151. }
  8152. }
  8153. .verified-badge {
  8154. font-size: 14px;
  8155. max-width: 100%;
  8156. }
  8157. .button {
  8158. display: block;
  8159. width: 100%;
  8160. }
  8161. }
  8162. }
  8163. }
  8164. }