components.scss 144 KB

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