components.scss 132 KB

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