components.scss 144 KB

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