components.scss 162 KB

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