components.scss 139 KB

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