zammad.scss 225 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060
  1. $high-priority-color: hsl(360, 71%, 60%);
  2. $low-priority-color: hsl(200, 68%, 73%);
  3. $minWidth: 1024px;
  4. $sidebarWidth: 280px;
  5. $navigationWidth: 260px;
  6. $mobileNavigationWidth: 50px;
  7. $mobileNavigationWidthOpen: 220px;
  8. :root {
  9. --button-action-color: hsl(0, 0%, 60%);
  10. --button-border: hsla(0, 0%, 0%, 0.1);
  11. --button-background: white;
  12. --button-background-active: hsl(0, 0, 98%);
  13. --button-active: hsl(204, 7%, 28%);
  14. --button-active-active: hsla(0, 0%, 0%, 0.55);
  15. --button-primary-background: hsl(203, 65%, 55%);
  16. --button-primary-background-active: hsl(203, 65%, 45%);
  17. --header-primary: hsl(202, 8%, 28%);
  18. --header-secondary: hsl(198, 10%, 69%);
  19. --text-normal: hsl(60, 1%, 34%);
  20. --text-muted: hsl(213, 3%, 64%);
  21. --text-muted-highlight: hsl(205, 90%, 90%);
  22. --text-muted-alt: hsl(197, 16%, 65%);
  23. --text-link: hsl(204, 72%, 50%);
  24. --text-inverted: white;
  25. --text-nav: hsl(204, 72%, 50%);
  26. --menu-text: hsl(0, 0%, 74%);
  27. --menu-icon: hsl(206, 5%, 42%);
  28. --nav-icon: hsl(0, 0%, 50%);
  29. --highlight: hsl(205, 90%, 60%);
  30. --interactive-primary: black;
  31. --interactive-muted: hsl(210, 3%, 71%);
  32. --interactive-muted-active: hsl(210, 4%, 71%);
  33. --interactive-muted-alt: hsl(197, 19%, 78%);
  34. --interactive-muted-alt-selected: hsl(206, 7%, 37%);
  35. --background-primary: hsl(210, 17%, 98%);
  36. --background-primary-alt: hsl(197, 16%, 94%);
  37. --background-secondary: white;
  38. --background-secondary-hover: hsl(239, 4%, 95%);
  39. --background-tertiary: hsl(233, 9%, 19%);
  40. --background-quaternary: hsl(231, 9%, 16%);
  41. --background-quaternary-alt: hsl(228, 17%, 91%);
  42. --background-popover: white;
  43. --background-active: hsl(233, 9%, 19%);
  44. --background-highlight: hsl(200, 100%, 91%);
  45. --background-article-meta: hsl(212, 14%, 99%);
  46. --background-article-customer: hsl(201, 46%, 93%);
  47. --background-article-customer-meta: hsl(201, 43%, 96%);
  48. --background-modifier-accent: hsla(0, 0%, 0%, 0.04);
  49. --background-modifier-accent-light: hsla(0, 0%, 0%, 0.02);
  50. --background-modifier-accent-dark: hsla(0, 0%, 0%, 0.3);
  51. --background-modifier-lighter: hsla(0, 0%, 100%, 0.06);
  52. --background-modifier-border: hsla(0, 0%, 0%, 0.1);
  53. --background-modifier-hover: hsla(240, 3%, 50%, 0.1);
  54. --backdrop-clue-start: hsla(202, 68%, 54%, 0.1);
  55. --backdrop-clue-end: hsla(202, 68%, 54%, 0.9);
  56. --border: hsl(0, 0%, 90%);
  57. --border-alt: hsl(198, 18%, 86%);
  58. --border-highlight: hsl(200, 71%, 59%);
  59. --border-internal: hsl(18, 91%, 89%);
  60. --border-internal-stripe: hsl(18, 94%, 95%);
  61. --border-article-customer: hsl(199, 38%, 90%);
  62. --border-article-customer-selected: hsl(199, 44%, 85%);
  63. --shadow-highlight: hsl(201, 62%, 90%);
  64. --supergood-color: hsl(145, 51%, 45%);
  65. --good-color: hsl(62, 45%, 46%);
  66. --ok-color: hsl(41, 100%, 49%);
  67. --bad-color: hsl(30, 93%, 50%);
  68. --superbad-color: hsl(19, 90%, 51%);
  69. --ghost-color: hsl(0, 0%, 74%);
  70. --danger-color: hsl(0, 65%, 55%);
  71. --pending-color: hsl(206, 7%, 28%);
  72. --elevation-stroke: 0 1px hsl(210, 7%, 94%);
  73. --elevation-low: 0 1px 5px hsla(205, 30%, 30%, 0.1);
  74. --elevation-high: 0 1px 14px hsla(208, 95%, 3%, 0.25);
  75. --highlighter-yellow: hsl(48, 81%, 82%);
  76. --highlighter-green: hsl(105, 54%, 80%);
  77. --highlighter-blue: hsl(207, 92%, 85%);
  78. --highlighter-pink: hsl(338, 90%, 82%);
  79. --highlighter-purple: hsl(288, 62%, 86%);
  80. --file-icon-background: white;
  81. --file-icon-color: hsl(198, 18%, 86%);
  82. --tag-text: hsl(198, 5%, 41%);
  83. --tag-background: hsl(198, 19%, 92%);
  84. }
  85. // dark mode
  86. [data-theme='dark'] {
  87. --button-action-color: hsl(0, 0%, 80%);
  88. --button-border: hsl(230, 4%, 20%);
  89. --button-background: hsla(0, 0%, 100%, 0.03);
  90. --button-background-active: hsla(0, 0%, 100%, 0.015);
  91. --button-active: hsla(0, 0%, 100%, 0.1);
  92. --button-active-active: hsla(0, 0%, 100%, 0.08);
  93. --header-primary: white;
  94. --header-secondary: hsl(198, 5%, 73%);
  95. --text-normal: hsl(205, 1%, 86%);
  96. --text-muted: hsl(213, 3%, 60%);
  97. --text-muted-alt: hsl(213, 8%, 61%);
  98. --text-link: hsl(202, 72%, 50%);
  99. --text-inverted: white;
  100. --text-nav: hsl(205, 1%, 84%);
  101. --nav-icon: hsl(0, 0%, 50%);
  102. --highlight: hsl(205, 90%, 60%);
  103. --interactive-primary: white;
  104. --interactive-muted: hsl(213, 3%, 64%);
  105. --interactive-muted-active: hsl(213, 3%, 35%);
  106. --interactive-muted-alt: hsl(209, 5%, 35%);
  107. --interactive-muted-alt-selected: hsl(205, 4%, 75%);
  108. --background-primary: hsl(230, 5%, 19%);
  109. --background-primary-alt: hsl(230, 5%, 21%);
  110. --background-secondary: hsl(230, 5%, 23%);
  111. --background-secondary-hover: hsl(230, 5%, 20%);
  112. --background-tertiary: hsl(230, 7%, 17%);
  113. --background-quaternary: hsl(230, 7%, 13%);
  114. --background-quaternary-alt: hsl(230, 4%, 30%);
  115. --background-popover: hsl(216, 3%, 30%);
  116. --background-active: var(--highlight);
  117. --background-highlight: hsl(205, 30%, 27%);
  118. --background-article-meta: hsl(230, 7%, 25%);
  119. --background-article-customer: hsl(218, 8%, 32%);
  120. --background-article-customer-meta: hsl(218, 6%, 30%);
  121. --background-modifier-accent: hsla(0, 0%, 0%, 0.12);
  122. --background-modifier-accent-light: hsla(0, 0%, 0%, 0.06);
  123. --background-modifier-accent-dark: hsla(0, 0%, 0%, 0.3);
  124. --background-modifier-lighter: hsla(0, 0%, 100%, 0.08);
  125. --background-modifier-border: hsla(0, 0%, 0%, 0.17);
  126. --background-modifier-hover: hsla(230, 5%, 36%, 0.4);
  127. --backdrop-clue-start: hsla(202, 68%, 54%, 0.1);
  128. --backdrop-clue-end: hsla(202, 68%, 54%, 0.9);
  129. --border: hsl(230, 4%, 17%);
  130. --border-alt: hsl(230, 7%, 18%);
  131. --border-highlight: hsl(205, 70%, 50%);
  132. --border-internal: hsl(18, 30%, 39%);
  133. --border-internal-stripe: hsl(18, 30%, 30%);
  134. --border-article-customer: hsl(209, 6%, 30%);
  135. --border-article-customer-selected: hsl(199, 10%, 33%);
  136. --shadow-highlight: hsl(205, 42%, 36%);
  137. --supergood-color: hsl(145, 51%, 45%);
  138. --good-color: hsl(62, 45%, 46%);
  139. --ok-color: hsl(41, 100%, 49%);
  140. --bad-color: hsl(30, 93%, 50%);
  141. --superbad-color: hsl(19, 90%, 51%);
  142. --ghost-color: hsl(0, 0%, 50%);
  143. --danger-color: hsl(0, 82%, 59%);
  144. --pending-color: hsl(205, 1%, 44%);
  145. --elevation-stroke: 0 1px hsla(0, 0%, 0%, 0.13);
  146. --elevation-low: 0 1px 5px hsla(0, 0%, 0%, 0.15);
  147. --elevation-high: 0 1px 14px hsla(0, 0%, 0%, 0.25);
  148. --highlighter-yellow: hsl(48, 34%, 30%);
  149. --highlighter-green: hsl(105, 34%, 27%);
  150. --highlighter-blue: hsl(207, 41%, 30%);
  151. --highlighter-pink: hsl(338, 28%, 30%);
  152. --highlighter-purple: hsl(288, 22%, 36%);
  153. --file-icon-background: hsl(216, 5%, 77%);
  154. --file-icon-color: hsl(230, 7%, 21%);
  155. --tag-text: var(--text-normal);
  156. --tag-background: hsl(230, 5%, 32%);
  157. }
  158. @mixin dark {
  159. [data-theme='dark'] & {
  160. @content;
  161. }
  162. }
  163. @mixin desktop {
  164. @media screen and (min-width: 1260px) {
  165. @content;
  166. }
  167. }
  168. @mixin small-desktop {
  169. @media screen and (max-width: 1260px) {
  170. @content;
  171. }
  172. }
  173. @mixin tablet {
  174. @media screen and (min-width: 768px) {
  175. @content;
  176. }
  177. }
  178. @mixin phone {
  179. @media screen and (max-width: 767px) {
  180. @content;
  181. }
  182. }
  183. /* sets LTR and RTL within the same style call */
  184. @mixin bidi-style($prop, $value, $inverse-prop, $default-value) {
  185. #{$prop}: $value;
  186. html[dir='rtl'] & {
  187. #{$inverse-prop}: $value;
  188. #{$prop}: $default-value;
  189. }
  190. }
  191. /* adds a property only in RTL */
  192. @mixin rtl($prop, $value) {
  193. html[dir='rtl'] & {
  194. #{$prop}: $value;
  195. }
  196. }
  197. /* adds a property only in LTR */
  198. @mixin ltr($prop, $value) {
  199. html[dir='ltr'] & {
  200. #{$prop}: $value;
  201. }
  202. }
  203. %clickable {
  204. cursor: pointer;
  205. user-select: none;
  206. touch-action: manipulation;
  207. }
  208. html {
  209. height: 100%;
  210. }
  211. body {
  212. font-family: 'Fira Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  213. line-height: 1.45;
  214. font-weight: normal;
  215. background: var(--background-primary);
  216. height: 100%;
  217. color: var(--text-normal);
  218. word-wrap: break-word;
  219. overflow-wrap: break-word;
  220. display: flex;
  221. flex-direction: column;
  222. }
  223. /* prevent clickable <use xlink:href="#icon-abc"></use> */
  224. use {
  225. pointer-events: none;
  226. }
  227. p {
  228. margin: 12px 0;
  229. &.subtle {
  230. color: var(--text-muted);
  231. }
  232. &.description {
  233. color: var(--text-muted);
  234. }
  235. }
  236. h3 + .description {
  237. margin-top: 0;
  238. }
  239. strong {
  240. font-weight: 500;
  241. }
  242. hr {
  243. border-top-color: var(--background-modifier-border);
  244. }
  245. .inherit-color {
  246. color: inherit;
  247. }
  248. .text-muted {
  249. color: var(--text-muted);
  250. }
  251. .text-placeholder {
  252. color: var(--interactive-muted);
  253. }
  254. .text-small {
  255. font-size: 12px;
  256. }
  257. .u-highlight {
  258. color: var(--text-link);
  259. }
  260. .u-dontfold {
  261. flex-shrink: 0;
  262. }
  263. .u-invisible {
  264. opacity: 0;
  265. pointer-events: none;
  266. position: absolute !important;
  267. }
  268. [data-dir='ltr'] {
  269. direction: ltr;
  270. }
  271. [data-dir='rtl'] {
  272. direction: rtl;
  273. }
  274. a {
  275. outline: none !important;
  276. @extend .u-highlight;
  277. &.is-disabled,
  278. &[disabled] {
  279. pointer-events: none;
  280. cursor: not-allowed !important;
  281. opacity: 0.33;
  282. }
  283. }
  284. a.create {
  285. color: hsl(145, 51%, 45%);
  286. text-decoration: underline;
  287. }
  288. small {
  289. color: var(--text-muted);
  290. font-size: 12px;
  291. }
  292. blockquote {
  293. font-size: inherit;
  294. }
  295. ol,
  296. ul {
  297. padding-inline-start: 20px;
  298. }
  299. #app {
  300. display: flex;
  301. flex: 1;
  302. min-width: $minWidth;
  303. overflow: auto;
  304. -webkit-overflow-scrolling: touch;
  305. @include phone {
  306. min-width: auto;
  307. position: absolute;
  308. left: 0;
  309. top: 0;
  310. width: 100%;
  311. height: 100%;
  312. }
  313. }
  314. .u-unclickable {
  315. pointer-events: none;
  316. }
  317. .u-clickable {
  318. @extend %clickable;
  319. }
  320. .u-unselectable {
  321. pointer-events: none;
  322. user-select: none;
  323. }
  324. .u-no-userselect {
  325. user-select: none;
  326. }
  327. .u-textTruncate {
  328. white-space: nowrap;
  329. overflow: hidden;
  330. text-overflow: ellipsis;
  331. }
  332. .u-positionOrigin {
  333. position: relative;
  334. }
  335. .u-inlineBlock {
  336. display: inline-block;
  337. }
  338. .u-inlinePad {
  339. margin: 0 5px;
  340. }
  341. .u-notAllowed {
  342. cursor: not-allowed;
  343. }
  344. .u-overflow-wrap {
  345. word-break: break-word;
  346. @supports (overflow-wrap: anywhere) {
  347. overflow-wrap: anywhere;
  348. word-break: unset;
  349. }
  350. }
  351. .zIndex-1 {
  352. z-index: 100;
  353. }
  354. .zIndex-2 {
  355. z-index: 200;
  356. }
  357. .zIndex-3 {
  358. z-index: 300;
  359. }
  360. .zIndex-4 {
  361. z-index: 400;
  362. }
  363. .zIndex-5 {
  364. z-index: 500;
  365. }
  366. .zIndex-6 {
  367. z-index: 600;
  368. }
  369. .zIndex-7 {
  370. z-index: 700;
  371. }
  372. .zIndex-8 {
  373. z-index: 800;
  374. }
  375. .zIndex-9 {
  376. z-index: 900;
  377. }
  378. .zIndex-10 {
  379. z-index: 1000;
  380. }
  381. .zIndex-11 {
  382. z-index: 1100;
  383. }
  384. .u-high-priority-color {
  385. fill: $high-priority-color;
  386. }
  387. .u-low-priority-color {
  388. fill: $low-priority-color;
  389. }
  390. .clickCatcher {
  391. top: 0;
  392. left: 0;
  393. width: 100%;
  394. height: 100%;
  395. position: absolute;
  396. cursor: default;
  397. }
  398. .debug .clickCatcher {
  399. background: hsla(0, 100%, 50%, 0.13);
  400. }
  401. .debug .clickCatcher + .clickCatcher {
  402. background: hsla(50, 100%, 50%, 0.13);
  403. }
  404. .clearfix::after {
  405. visibility: hidden;
  406. display: block;
  407. font-size: 0;
  408. content: ' ';
  409. clear: both;
  410. height: 0;
  411. }
  412. .clearfix {
  413. display: inline-block;
  414. }
  415. /* start commented backslash hack \ */
  416. * html .clearfix {
  417. height: 1%;
  418. }
  419. .clearfix {
  420. display: block;
  421. }
  422. /* close commented backslash hack */
  423. [contenteditable] {
  424. display: block;
  425. outline-style: none;
  426. border-radius: 3px;
  427. /* needed to make empty tags editable, otherwise no focus can be set */
  428. min-height: 10px;
  429. min-width: 20px;
  430. }
  431. [contenteditable]:hover,
  432. [contenteditable]:focus {
  433. background: var(--background-primary);
  434. }
  435. [contenteditable]:focus {
  436. text-overflow: clip !important;
  437. }
  438. [contenteditable].invalid {
  439. background: #f92;
  440. }
  441. [contenteditable] > .placeholder {
  442. color: var(--text-muted);
  443. }
  444. [contenteditable] p {
  445. margin: 0;
  446. }
  447. /* fix for placeholder */
  448. .Medium-placeholder {
  449. position: relative;
  450. }
  451. .close,
  452. .close:hover {
  453. float: none;
  454. opacity: 1;
  455. }
  456. #app > nav {
  457. position: relative;
  458. z-index: 1;
  459. }
  460. code {
  461. background: var(--background-modifier-accent);
  462. border-radius: 3px;
  463. box-decoration-break: clone;
  464. }
  465. code,
  466. .hljs {
  467. padding: 2px 4px;
  468. font-size: 0.88em;
  469. }
  470. .hljs {
  471. background: none;
  472. @include dark {
  473. filter: invert(1);
  474. }
  475. }
  476. pre code.hljs {
  477. font-size: 1em;
  478. }
  479. pre {
  480. display: block;
  481. padding: 9.5px;
  482. margin: 0 0 20px;
  483. font-size: 13px;
  484. line-height: 1.42857143;
  485. word-break: break-all;
  486. word-wrap: break-word;
  487. background: var(--background-secondary);
  488. border: 1px solid var(--border);
  489. border-radius: 3px;
  490. }
  491. .modal-content pre {
  492. background: var(--background-modifier-accent);
  493. border-color: var(--background-modifier-border);
  494. }
  495. pre code {
  496. padding: 0;
  497. font-size: inherit;
  498. color: inherit;
  499. white-space: pre-wrap;
  500. background: none;
  501. border-radius: 0;
  502. border: none;
  503. overflow-x: auto;
  504. &.hljs {
  505. padding: 0;
  506. background: none;
  507. }
  508. }
  509. .textarea::placeholder,
  510. .form-control::placeholder,
  511. .token-input::placeholder,
  512. .u-placeholder {
  513. color: var(--ghost-color);
  514. }
  515. .btn {
  516. display: inline-block;
  517. font-size: 14px;
  518. padding: 10px 24px 9px;
  519. color: var(--text-normal);
  520. background: var(--button-background);
  521. border: 1px solid var(--button-border);
  522. outline: none !important;
  523. border-radius: 4px;
  524. text-align: center;
  525. white-space: nowrap;
  526. vertical-align: middle;
  527. text-decoration: none;
  528. @extend %clickable;
  529. @include phone {
  530. padding-left: 12px;
  531. padding-right: 12px;
  532. }
  533. .icon {
  534. vertical-align: middle;
  535. margin-top: -2px;
  536. @include bidi-style(margin-right, 5px, margin-right, -2px);
  537. @include bidi-style(margin-left, -2px, margin-right, 5px);
  538. flex-shrink: 0;
  539. &.icon-arrow-up {
  540. margin-top: -3px;
  541. }
  542. }
  543. span {
  544. min-width: 0;
  545. overflow: hidden;
  546. text-overflow: ellipsis;
  547. display: block;
  548. }
  549. &--only-icon .icon,
  550. &--icon-only .icon {
  551. margin-left: 0 !important;
  552. margin-right: 0 !important;
  553. }
  554. &--icon--last .icon {
  555. @include bidi-style(
  556. margin-left,
  557. 5px,
  558. margin-right,
  559. 0
  560. ); // so far only used in ticket_zoom secondaryAction dropup
  561. }
  562. &:focus {
  563. box-shadow: 0 0 0 3px var(--shadow-highlight);
  564. }
  565. &--small {
  566. padding-top: 5px;
  567. padding-bottom: 4px;
  568. &.btn--quad {
  569. padding: 4px 5px;
  570. }
  571. }
  572. &--slim {
  573. padding-left: 12px;
  574. padding-right: 12px;
  575. }
  576. &--fullWidth {
  577. width: 100%;
  578. text-align: center;
  579. justify-content: center;
  580. }
  581. &.is-disabled,
  582. &[disabled],
  583. &:disabled {
  584. pointer-events: none;
  585. cursor: not-allowed;
  586. opacity: 0.33;
  587. }
  588. &:active {
  589. box-shadow: none;
  590. background: var(--button-background-active);
  591. }
  592. &--capitalized {
  593. text-transform: capitalize;
  594. }
  595. &--action {
  596. text-transform: uppercase;
  597. color: var(--button-action-color);
  598. font-size: 12px;
  599. letter-spacing: 0.05em;
  600. height: 31px;
  601. padding: 0 11px !important;
  602. display: inline-flex;
  603. align-items: center;
  604. min-width: 0;
  605. .icon {
  606. @include ltr(margin, -2px 5px 0 -2px);
  607. @include rtl(margin, -2px -2px 0 5px);
  608. }
  609. .icon:only-child {
  610. margin: 0 !important;
  611. }
  612. &.btn--slim {
  613. padding-left: 7px !important;
  614. padding-right: 7px !important;
  615. .btn-label {
  616. @include bidi-style(margin-left, 0, margin-right, 0);
  617. }
  618. &.btn--small {
  619. padding-left: 5px !important;
  620. padding-right: 5px !important;
  621. }
  622. }
  623. &.btn--small {
  624. height: 26px;
  625. font-size: 11px;
  626. padding-left: 8px !important;
  627. padding-right: 8px !important;
  628. }
  629. }
  630. &-active-icon {
  631. display: none;
  632. }
  633. &--active {
  634. background: var(--button-active);
  635. color: var(--text-inverted);
  636. &:active {
  637. background: var(--button-active-active);
  638. }
  639. .btn-inactive-icon {
  640. display: none;
  641. }
  642. .btn-active-icon {
  643. display: inline;
  644. }
  645. }
  646. // used in .recipientList-controls
  647. &--onDark {
  648. background: var(--background-modifier-lighter);
  649. border-color: var(--background-modifier-accent-dark);
  650. color: var(--text-inverted);
  651. .icon {
  652. opacity: 1;
  653. }
  654. }
  655. &--primary {
  656. color: var(--text-inverted);
  657. background: var(--button-primary-background);
  658. &:active {
  659. background: var(--button-primary-background-active);
  660. }
  661. .icon {
  662. opacity: 1;
  663. fill: currentColor;
  664. }
  665. }
  666. &--secondary {
  667. color: var(--button-primary-background);
  668. }
  669. &--positive,
  670. &--create,
  671. &--success {
  672. color: var(--text-inverted);
  673. background: hsl(145, 51%, 45%);
  674. &:active {
  675. background: hsl(145, 51%, 35%);
  676. }
  677. &.btn--secondary {
  678. background: var(--background-secondary);
  679. color: hsl(145, 51%, 45%);
  680. &:active {
  681. background: var(--button-background-active);
  682. }
  683. }
  684. &.btn--text {
  685. color: var(--supergood-color);
  686. }
  687. }
  688. &--danger {
  689. color: var(--text-inverted);
  690. background: var(--danger-color);
  691. &:active {
  692. background: linear-gradient(hsla(0, 0%, 0%, 0.1), hsla(0, 0%, 0%, 0.1)),
  693. linear-gradient(var(--danger-color), var(--danger-color));
  694. }
  695. &.btn--secondary {
  696. background: var(--background-secondary);
  697. color: var(--danger-color);
  698. &:active {
  699. background: var(--button-background-active);
  700. }
  701. }
  702. }
  703. &--text {
  704. display: inline-flex;
  705. align-items: center;
  706. font-size: inherit;
  707. margin: -10px;
  708. padding: 10px;
  709. color: var(--button-primary-background);
  710. border: none;
  711. background: none;
  712. vertical-align: baseline;
  713. text-align: start;
  714. .table & {
  715. margin: 0;
  716. min-height: 38px;
  717. }
  718. &.no-padding {
  719. padding: 0;
  720. margin: 0;
  721. min-height: auto;
  722. }
  723. .icon {
  724. opacity: 1;
  725. @include bidi-style(margin-left, -2px, margin-right, 6px);
  726. @include bidi-style(margin-right, 6px, margin-right, -2px);
  727. width: 16px;
  728. max-height: 16px;
  729. object-fit: contain;
  730. }
  731. &.btn--icon--last .icon {
  732. @include bidi-style(margin-left, 6px, margin-right, -2px);
  733. @include bidi-style(margin-right, -2px, margin-right, 6px);
  734. }
  735. &:active {
  736. color: var(--button-primary-background-active);
  737. background: none;
  738. }
  739. &.btn--secondary {
  740. color: var(--interactive-muted);
  741. text-decoration: underline;
  742. &:active {
  743. opacity: 0.75;
  744. }
  745. }
  746. &.btn--positive {
  747. color: hsl(145, 51%, 45%);
  748. &:active {
  749. color: hsl(145, 51%, 30%);
  750. background: none;
  751. }
  752. }
  753. &.btn--danger {
  754. color: var(--danger-color);
  755. &:active {
  756. color: hsl(0, 65%, 40%);
  757. background: none;
  758. }
  759. }
  760. &.btn--subtle {
  761. text-decoration: underline;
  762. color: var(--interactive-muted);
  763. &:active {
  764. opacity: 0.75;
  765. }
  766. }
  767. &.space-left {
  768. @include bidi-style(margin-left, 0, margin-right, -10px);
  769. }
  770. &.space-right {
  771. @include bidi-style(margin-right, 0, margin-left, -10px);
  772. }
  773. }
  774. &--large {
  775. &.btn--text {
  776. margin: 0;
  777. }
  778. }
  779. &--quad {
  780. padding: 10px 12px 9px;
  781. .icon {
  782. margin: -1px;
  783. }
  784. }
  785. &--split--first {
  786. @include bidi-style(border-radius, 3px 0 0 3px, border-radius, 0 3px 3px 0);
  787. }
  788. &--split,
  789. &--split--last {
  790. border-radius: 0;
  791. @include bidi-style(border-left-width, 0, border-right-width, 1px);
  792. @include ltr(margin-left, 0 !important);
  793. @include rtl(margin-right, 0 !important);
  794. .icon {
  795. margin-left: 2px !important;
  796. margin-right: 2px !important;
  797. }
  798. }
  799. &--split--last {
  800. @include bidi-style(border-radius, 0 3px 3px 0, border-radius, 3px 0 0 3px);
  801. }
  802. &--dropdown {
  803. position: relative;
  804. select {
  805. opacity: 0;
  806. width: 100%;
  807. height: 100%;
  808. left: 0;
  809. top: 0;
  810. position: absolute;
  811. @extend %clickable;
  812. }
  813. }
  814. }
  815. .btn + .btn,
  816. .btn + .buttonDropdown,
  817. .buttonDropdown + .buttonDropdown {
  818. @include bidi-style(margin-left, 10px, margin-right, 0);
  819. }
  820. .btn + .btn.align-right {
  821. @include bidi-style(margin-left, auto, margin-right, 0);
  822. }
  823. .btn.align-right ~ .btn {
  824. @include bidi-style(margin-left, 15px, margin-right, 0);
  825. }
  826. .vertical > .btn:not(.hidden) + .btn {
  827. @include bidi-style(margin-left, 0, margin-right, 0);
  828. margin-top: 10px;
  829. &--text {
  830. @include bidi-style(margin-left, -10px, margin-right, -10px);
  831. margin-top: 0;
  832. }
  833. }
  834. .btn--download .icon-download {
  835. margin-right: 6px;
  836. @include rtl(margin-right, -10px);
  837. margin-top: 4px;
  838. margin-left: -10px;
  839. @include rtl(margin-left, 6px);
  840. vertical-align: top;
  841. fill: var(--text-inverted);
  842. }
  843. .btn-label {
  844. @include bidi-style(margin-left, 7px, margin-right, 0);
  845. }
  846. .btn-show-all {
  847. &[aria-expanded='false'] [data-show='collapsed'],
  848. &[aria-expanded='true'] [data-show='open'] {
  849. display: none;
  850. }
  851. .icon {
  852. margin-left: 0;
  853. margin-right: 0;
  854. }
  855. }
  856. .visibility-change {
  857. /*
  858. Interactive Visibility Change Classes:
  859. <div class="visibility-change">
  860. <svg class="icon-marker" data-visible="active"><use xlink:href="#icon-marker" /></svg>
  861. </div>
  862. Important: HTML Order active > hover > normal
  863. */
  864. [data-visible='active'],
  865. [data-visible='hover'] {
  866. display: none;
  867. }
  868. &.is-active [data-visible='active'] {
  869. display: block;
  870. & ~ [data-visible='normal'] {
  871. display: none;
  872. }
  873. }
  874. &:hover [data-visible='hover'] {
  875. display: block;
  876. & ~ [data-visible='normal'] {
  877. display: none;
  878. }
  879. }
  880. }
  881. .btn-group {
  882. display: inline-flex;
  883. flex-wrap: wrap;
  884. &--full {
  885. display: flex;
  886. }
  887. & + .btn-group {
  888. margin-top: 10px;
  889. padding-top: 10px;
  890. border-top: 1px solid var(--border);
  891. }
  892. .btn {
  893. &:not(:first-child) {
  894. border-top-left-radius: 0;
  895. border-bottom-left-radius: 0;
  896. }
  897. &:not(:last-child) {
  898. border-top-right-radius: 0;
  899. border-bottom-right-radius: 0;
  900. border-right-width: 0;
  901. }
  902. + .btn {
  903. @include bidi-style(margin-left, 0, margin-right, 10px);
  904. }
  905. }
  906. .btn--text {
  907. padding: 6px 10px 5px; /* reporting main.eco */
  908. display: inline-block;
  909. border-radius: 3px;
  910. &.is-selected {
  911. background: var(--button-primary-background);
  912. color: var(--text-inverted);
  913. }
  914. }
  915. }
  916. .buttonDropdown {
  917. display: flex;
  918. align-items: center;
  919. position: relative;
  920. user-select: none;
  921. .dropdown-menu {
  922. margin-bottom: 0;
  923. }
  924. &.is-open .dropdown-menu {
  925. display: block;
  926. }
  927. .btn--text {
  928. padding-left: 13px;
  929. padding-right: 13px;
  930. }
  931. .dropdown-menu-accessories {
  932. cursor: pointer;
  933. &:focus {
  934. outline: none;
  935. .dropdown-menu {
  936. display: block;
  937. }
  938. .btn--split--last {
  939. box-shadow: 0 0 0 3px var(--shadow-highlight);
  940. pointer-events: initial;
  941. }
  942. }
  943. .btn--split--last {
  944. pointer-events: none;
  945. &:focus {
  946. box-shadow: none;
  947. pointer-events: none;
  948. }
  949. &:active {
  950. background-color: #429ed7;
  951. }
  952. }
  953. }
  954. }
  955. .dropdown-menu-right {
  956. @include rtl(right, auto);
  957. @include rtl(left, 0);
  958. }
  959. .dropdown-menu-left {
  960. @include rtl(left, auto);
  961. @include rtl(right, 0);
  962. }
  963. .status-fields {
  964. display: flex;
  965. max-width: 100%;
  966. @include phone {
  967. display: block;
  968. }
  969. .dropdown li {
  970. display: flex;
  971. align-items: center;
  972. padding: 0 10px;
  973. }
  974. .dropdown-menu .status-badge {
  975. margin-left: 10px;
  976. }
  977. .dropdown-menu .badge {
  978. margin-top: -2px;
  979. margin-right: 7px;
  980. background: hsla(0, 0%, 0%, 0.5);
  981. }
  982. }
  983. .status-field {
  984. border: 1px solid var(--button-border);
  985. background: var(--button-background);
  986. display: flex;
  987. height: 34px;
  988. flex-shrink: 1;
  989. min-width: 20px;
  990. padding: 5px 0;
  991. align-items: center;
  992. white-space: nowrap;
  993. text-overflow: ellipsis;
  994. overflow: hidden;
  995. @include phone {
  996. border-bottom-width: 0;
  997. }
  998. &.is-active {
  999. background: var(--button-primary-background);
  1000. color: var(--text-inverted);
  1001. border-color: var(--button-primary-background-active);
  1002. box-shadow: 1px 0 var(--button-primary-background-active);
  1003. position: relative;
  1004. @extend %clickable;
  1005. .icon {
  1006. fill: currentColor;
  1007. opacity: 1;
  1008. }
  1009. }
  1010. &:not(:last-child, :only-child) {
  1011. @include bidi-style(border-right-width, 0, border-left-width, 1px);
  1012. @include phone {
  1013. border-right-width: 1px !important;
  1014. }
  1015. }
  1016. &:first-child {
  1017. border-radius: 5px 0 0 5px;
  1018. @include rtl(border-radius, 0 5px 5px 0);
  1019. @include phone {
  1020. border-radius: 5px 5px 0 0 !important;
  1021. .dropdown & {
  1022. flex: 1;
  1023. border-top-right-radius: 0 !important;
  1024. border-right-width: 0 !important;
  1025. }
  1026. }
  1027. .dropdown.open & {
  1028. border-radius: 5px 0 0;
  1029. @include rtl(border-radius, 0 5px 0 0);
  1030. @include phone {
  1031. border-radius: 5px 0 0 !important;
  1032. }
  1033. }
  1034. }
  1035. &:last-child {
  1036. border-radius: 0 5px 5px 0;
  1037. @include rtl(border-radius, 5px 0 0 5px);
  1038. @include phone {
  1039. border-radius: 0 0 5px 5px !important;
  1040. border-bottom-width: 1px;
  1041. }
  1042. }
  1043. &:only-child {
  1044. border-radius: 5px;
  1045. @include phone {
  1046. border-radius: 5px !important;
  1047. }
  1048. }
  1049. .badge {
  1050. @include bidi-style(margin, 0 7px 0 10px, margin, 0 10px 0 7px);
  1051. background: hsla(210, 50%, 10%, 0.24);
  1052. }
  1053. .status-badge {
  1054. width: 32px;
  1055. display: inline-flex;
  1056. align-items: center;
  1057. justify-content: center;
  1058. align-self: stretch;
  1059. }
  1060. &--arrow {
  1061. @extend %clickable;
  1062. border-left: none;
  1063. width: 34px;
  1064. justify-content: center;
  1065. @include phone {
  1066. border-top-right-radius: 5px !important;
  1067. }
  1068. }
  1069. &--spacer {
  1070. padding-left: 16px;
  1071. padding-right: 2px;
  1072. }
  1073. }
  1074. .status-badge {
  1075. display: inline-block;
  1076. }
  1077. .info-badge {
  1078. fill: currentColor;
  1079. padding: 3px 6px 1px;
  1080. line-height: 12px;
  1081. opacity: 0.5;
  1082. position: relative;
  1083. /*
  1084. border in its own layer to make it more
  1085. translucend but still depend on the currentColor
  1086. */
  1087. &::after {
  1088. content: '';
  1089. position: absolute;
  1090. width: 100%;
  1091. height: 100%;
  1092. left: 0;
  1093. top: 0;
  1094. border: 1px solid currentColor;
  1095. opacity: 0.5;
  1096. border-radius: 100%;
  1097. }
  1098. }
  1099. @keyframes pulsate {
  1100. to {
  1101. filter: brightness(1.2);
  1102. }
  1103. }
  1104. .badge {
  1105. display: inline-block;
  1106. min-width: 18px;
  1107. padding: 3px 5px;
  1108. font-size: 12px;
  1109. font-weight: 500;
  1110. line-height: 1;
  1111. color: var(--text-inverted);
  1112. text-align: center;
  1113. white-space: nowrap;
  1114. vertical-align: top;
  1115. border-radius: 9px;
  1116. background: var(--border-alt);
  1117. @include bidi-style(margin-right, 3px, margin-left, 0);
  1118. flex-shrink: 0;
  1119. &:empty {
  1120. display: none;
  1121. }
  1122. &.badge--big {
  1123. min-width: 22px;
  1124. font-size: 14px;
  1125. border-radius: 11px;
  1126. padding: 5px 7px 3px;
  1127. }
  1128. &.badge--text {
  1129. min-width: 0;
  1130. padding: 0;
  1131. margin-right: 0;
  1132. @include bidi-style(margin-right, 0, margin-left, 0);
  1133. font-size: inherit;
  1134. font-weight: inherit;
  1135. text-align: inherit;
  1136. line-height: inherit;
  1137. color: var(--text-muted);
  1138. background: none;
  1139. border-radius: 0;
  1140. vertical-align: baseline;
  1141. }
  1142. }
  1143. .key-value {
  1144. td:first-child {
  1145. @include bidi-style(padding-right, 10px, padding-left, 0);
  1146. color: var(--text-muted);
  1147. }
  1148. }
  1149. table {
  1150. table-layout: fixed;
  1151. }
  1152. .table {
  1153. display: table;
  1154. small {
  1155. color: inherit;
  1156. }
  1157. &-icon {
  1158. max-width: 20px;
  1159. max-height: 20px;
  1160. object-fit: contain;
  1161. vertical-align: middle;
  1162. fill: hsla(0, 0%, 0%, 0.3);
  1163. }
  1164. &-buttons {
  1165. padding-top: 0 !important;
  1166. padding-bottom: 0 !important;
  1167. height: 38px;
  1168. display: flex;
  1169. align-items: center;
  1170. justify-content: flex-end;
  1171. text-align: right;
  1172. }
  1173. }
  1174. .table--light {
  1175. color: var(--text-muted);
  1176. }
  1177. .table-fluid {
  1178. table-layout: auto;
  1179. }
  1180. .table .table-row {
  1181. display: table-row;
  1182. }
  1183. .table.table--placeholder {
  1184. th {
  1185. text-align: center;
  1186. }
  1187. td {
  1188. height: 40px;
  1189. }
  1190. > thead > tr > th {
  1191. background: var(--background-modifier-accent);
  1192. }
  1193. }
  1194. .table th:not(.noTruncate) .table-column-title,
  1195. .table td:not(.noTruncate) {
  1196. @extend .u-textTruncate;
  1197. }
  1198. .table > thead > tr > th {
  1199. padding: 12px 9px 10px;
  1200. border-bottom: none;
  1201. border-top: 1px solid #ececec;
  1202. background: var(--background-primary-alt);
  1203. color: var(--text-normal);
  1204. font-weight: normal;
  1205. font-size: 12px;
  1206. text-transform: uppercase;
  1207. letter-spacing: 0.05em;
  1208. position: relative;
  1209. user-select: none;
  1210. }
  1211. .table-column-head {
  1212. display: flex;
  1213. @extend %clickable;
  1214. &-unclickable {
  1215. cursor: default;
  1216. }
  1217. }
  1218. .table-column-sortIcon {
  1219. @include bidi-style(margin-left, auto, margin-right, 0);
  1220. }
  1221. th.align-right {
  1222. .table-column-title {
  1223. @include bidi-style(margin-left, auto, margin-right, 0);
  1224. }
  1225. .table-column-sortIcon {
  1226. @include bidi-style(margin-left, 0, margin-right, 0);
  1227. }
  1228. }
  1229. .table-striped > tbody > tr:nth-child(2n + 1) {
  1230. background-color: var(--background-secondary);
  1231. }
  1232. .table > tbody > tr > td {
  1233. padding: 10px 10px 8px;
  1234. border-color: var(--background-modifier-accent);
  1235. &.no-side-padding {
  1236. padding-left: 0;
  1237. padding-right: 0;
  1238. text-align: center;
  1239. }
  1240. }
  1241. .table > tbody > tr.u-center > td {
  1242. vertical-align: middle;
  1243. }
  1244. .table-hover > tbody > tr:hover,
  1245. .table-hover > tbody > tr.is-hover {
  1246. background: var(--background-secondary);
  1247. }
  1248. .table-hover-in-modal > tbody > tr:hover > td {
  1249. background-color: var(--background-primary);
  1250. }
  1251. .table-hover > tbody > tr:hover > th {
  1252. background: rgba(0, 8, 14, 0.015);
  1253. }
  1254. .table-col-resize {
  1255. position: absolute;
  1256. @include bidi-style(right, 0, left, auto);
  1257. top: 0;
  1258. height: 100%;
  1259. cursor: col-resize;
  1260. padding: 10px;
  1261. @include bidi-style(margin-right, -10px, margin-left, 0);
  1262. z-index: 1;
  1263. &::after {
  1264. content: '';
  1265. display: block;
  1266. width: 1px;
  1267. height: 100%;
  1268. background: var(--border);
  1269. }
  1270. }
  1271. .table > thead:first-child > tr:first-child > th.no-padding,
  1272. .table > thead > tr > th.no-padding,
  1273. .table > tbody > tr > td.no-padding {
  1274. padding: 0;
  1275. }
  1276. .table tr.is-inactive,
  1277. .table tr td span.is-inactive {
  1278. color: var(--text-muted);
  1279. text-decoration: line-through;
  1280. a {
  1281. color: inherit;
  1282. }
  1283. }
  1284. .table tr.is-grayed-out {
  1285. color: var(--text-muted);
  1286. .icon,
  1287. .btn span {
  1288. opacity: 0.33;
  1289. }
  1290. .avatar {
  1291. opacity: 0.5;
  1292. }
  1293. .avatar--unique {
  1294. background: var(--background-secondary-hover);
  1295. text-shadow: none;
  1296. opacity: initial;
  1297. }
  1298. }
  1299. td .icon {
  1300. vertical-align: middle;
  1301. margin-top: -3px;
  1302. }
  1303. td .icon-draggable,
  1304. td .icon-trash {
  1305. vertical-align: middle;
  1306. }
  1307. td .prefix-icon > .icon {
  1308. vertical-align: top;
  1309. }
  1310. .table-checkbox,
  1311. .table-radio {
  1312. padding: 0 !important;
  1313. .icon {
  1314. margin-top: 0;
  1315. }
  1316. }
  1317. .table .table-sort-arrow {
  1318. opacity: 1;
  1319. width: 8px;
  1320. height: 8px;
  1321. @include bidi-style(margin-left, 3px, margin-right, 0);
  1322. margin-top: -2px;
  1323. vertical-align: middle;
  1324. }
  1325. .item {
  1326. &--high-priority {
  1327. a {
  1328. color: $high-priority-color;
  1329. }
  1330. }
  1331. &--low-priority {
  1332. a {
  1333. color: $low-priority-color;
  1334. }
  1335. }
  1336. }
  1337. .checkbox-list {
  1338. list-style: none;
  1339. margin-bottom: 15px;
  1340. padding: 3px 12px;
  1341. font-size: 14px;
  1342. line-height: 25px;
  1343. color: var(--text-normal);
  1344. background: var(--background-secondary);
  1345. border: 1px solid var(--border);
  1346. border-radius: 3px;
  1347. }
  1348. .checkbox-replacement,
  1349. .radio-replacement {
  1350. padding: 0;
  1351. margin: 0;
  1352. display: flex;
  1353. align-items: center;
  1354. justify-content: center;
  1355. position: relative;
  1356. @extend .u-clickable;
  1357. > .icon {
  1358. vertical-align: middle;
  1359. margin-top: -2px;
  1360. fill: var(--button-background);
  1361. @include dark {
  1362. fill: transparent;
  1363. }
  1364. }
  1365. .icon-checked {
  1366. color: var(--interactive-primary);
  1367. }
  1368. .icon-unchecked {
  1369. color: var(--text-muted);
  1370. }
  1371. .icon-indeterminate {
  1372. display: none;
  1373. color: var(--text-muted);
  1374. }
  1375. &.is-disabled {
  1376. cursor: not-allowed;
  1377. }
  1378. &.checkbox-replacement--fullscreen,
  1379. &.radio-replacement--fullscreen {
  1380. position: absolute;
  1381. left: 0;
  1382. top: 0;
  1383. width: 100%;
  1384. height: 100%;
  1385. }
  1386. &.checkbox-replacement--inline,
  1387. &.radio-replacement--inline {
  1388. display: inline-flex;
  1389. @include bidi-style(margin-right, 3px, margin-left, 0);
  1390. }
  1391. input[type='checkbox'],
  1392. input[type='radio'] {
  1393. position: absolute;
  1394. opacity: 0;
  1395. cursor: pointer;
  1396. &:disabled {
  1397. cursor: not-allowed;
  1398. ~ .icon {
  1399. opacity: 0.33;
  1400. fill: none;
  1401. }
  1402. }
  1403. &:not(:checked) ~ .icon-checked,
  1404. &:checked ~ .icon-unchecked {
  1405. display: none;
  1406. }
  1407. &:focus:not(.is-active) ~ .icon-checked,
  1408. &:focus:not(.is-active) ~ .icon-unchecked {
  1409. box-shadow: 0 0 0 2px var(--border-highlight),
  1410. 0 0 0 3px var(--shadow-highlight);
  1411. }
  1412. }
  1413. + .label-text {
  1414. @include bidi-style(margin-left, 0, margin-right, 3px);
  1415. }
  1416. }
  1417. .checkbox-replacement {
  1418. &:indeterminate {
  1419. ~ .icon-checked,
  1420. ~ .icon-unchecked {
  1421. display: none;
  1422. }
  1423. ~ .icon-indeterminate {
  1424. display: block;
  1425. }
  1426. }
  1427. }
  1428. .radio-replacement {
  1429. input:focus ~ .icon-checked,
  1430. input:focus ~ .icon-unchecked {
  1431. border-radius: 100%;
  1432. }
  1433. > .icon {
  1434. margin-top: -3px;
  1435. }
  1436. }
  1437. .table .checkbox-replacement,
  1438. .table .radio-replacement {
  1439. height: 40px;
  1440. width: 40px;
  1441. &.checkbox-replacement--fullscreen {
  1442. width: 100%;
  1443. height: 100%;
  1444. }
  1445. }
  1446. .table-overview tbody .icon-checkbox,
  1447. .table-overview tbody .icon-radio,
  1448. .table-overview tbody .icon-checkbox-checked,
  1449. .table-overview tbody .icon-radio-checked {
  1450. fill: transparent;
  1451. }
  1452. .table .table-cell {
  1453. vertical-align: top;
  1454. display: table-cell;
  1455. border-bottom: 1px solid var(--background-primary-alt);
  1456. }
  1457. .hero-two {
  1458. width: 100%;
  1459. }
  1460. .hero-two .hero-left {
  1461. width: 50%;
  1462. float: left;
  1463. }
  1464. .hero-two .hero-right {
  1465. width: 50%;
  1466. float: right;
  1467. }
  1468. .max-size-scroll {
  1469. max-height: 240px;
  1470. overflow-y: scroll;
  1471. }
  1472. /*
  1473. #content > *:not(.active) {
  1474. display: none !important;
  1475. }
  1476. */
  1477. h1,
  1478. h2,
  1479. h3,
  1480. h4,
  1481. h5,
  1482. h6 {
  1483. font-weight: normal;
  1484. color: var(--header-primary);
  1485. }
  1486. h1 {
  1487. font-size: 24px;
  1488. line-height: 30px;
  1489. }
  1490. h2,
  1491. h2.popover-title {
  1492. font-size: 20px;
  1493. line-height: 25px;
  1494. }
  1495. h3 {
  1496. font-size: 16px;
  1497. margin: 20px 0 8px;
  1498. font-weight: normal;
  1499. .subtitle {
  1500. display: inline;
  1501. font-size: 12px;
  1502. text-transform: none;
  1503. color: var(--text-muted);
  1504. letter-spacing: initial;
  1505. }
  1506. }
  1507. h4 {
  1508. font-size: 13px;
  1509. text-transform: uppercase;
  1510. }
  1511. h5 {
  1512. font-size: 13px;
  1513. font-weight: bold;
  1514. }
  1515. label,
  1516. .checkbox.form-group label,
  1517. .label {
  1518. text-transform: uppercase;
  1519. color: var(--text-muted);
  1520. display: block;
  1521. font-size: 13px;
  1522. font-weight: normal;
  1523. letter-spacing: 0.05em;
  1524. margin-bottom: 4px;
  1525. text-align: start;
  1526. padding: 0;
  1527. &.input-group-addon {
  1528. color: var(--text-muted);
  1529. }
  1530. /* user-select: none; disabled because of chrome51 https://github.com/martini/zammad/issues/183 */
  1531. h2 & {
  1532. color: inherit !important;
  1533. font-size: inherit;
  1534. font-weight: inherit;
  1535. letter-spacing: 0;
  1536. margin-bottom: 0;
  1537. padding: 0 !important;
  1538. text-transform: inherit;
  1539. }
  1540. }
  1541. /* circumventing the label:not(.inline-label) selector because it's too strong */
  1542. .inline-label,
  1543. .label-success,
  1544. .label-warning,
  1545. .label-danger {
  1546. font-size: inherit;
  1547. font-weight: inherit;
  1548. text-align: inherit;
  1549. color: inherit;
  1550. letter-spacing: 0;
  1551. margin: 0;
  1552. text-transform: none;
  1553. display: inline;
  1554. }
  1555. table {
  1556. .inline-label,
  1557. .label-success,
  1558. .label-warning,
  1559. .label-danger {
  1560. white-space: nowrap; /* for labels in tables that might get crushed view: calendar_subscriptions */
  1561. }
  1562. }
  1563. .label-text {
  1564. @include bidi-style(margin-left, 3px, margin-right, 0);
  1565. @extend %clickable;
  1566. }
  1567. .label-success,
  1568. .label-warning,
  1569. .label-danger {
  1570. background: none;
  1571. }
  1572. .label-success {
  1573. color: var(--supergood-color);
  1574. }
  1575. .label-highlight {
  1576. color: var(--highlight);
  1577. }
  1578. .label-warning {
  1579. color: var(--ok-color);
  1580. }
  1581. .label-danger {
  1582. color: var(--superbad-color);
  1583. }
  1584. .label-subtle {
  1585. color: var(--ghost-color);
  1586. }
  1587. .state-archived,
  1588. .state-draft {
  1589. color: hsl(0, 0%, 68%);
  1590. }
  1591. .state-published {
  1592. color: var(--supergood-color);
  1593. }
  1594. .state-internal {
  1595. color: var(--highlight);
  1596. }
  1597. fieldset {
  1598. margin: 0 -4px;
  1599. @extend .clearfix;
  1600. @include phone {
  1601. width: calc(100% + 8px);
  1602. }
  1603. h2,
  1604. .help-text {
  1605. margin-left: 4px;
  1606. margin-right: 4px;
  1607. }
  1608. }
  1609. .form-field-group {
  1610. padding: 20px;
  1611. background: var(--background-secondary);
  1612. border-radius: 4px;
  1613. margin-bottom: 16px;
  1614. border: 1px solid var(--border);
  1615. .modal-body & {
  1616. background: var(--background-primary);
  1617. }
  1618. > .form-group:last-child {
  1619. margin-bottom: 0;
  1620. }
  1621. }
  1622. fieldset > .form-group {
  1623. padding: 0 4px;
  1624. }
  1625. .form-group {
  1626. margin-bottom: 16px;
  1627. &.form-group--inactive {
  1628. opacity: 0.5;
  1629. }
  1630. &.is-readonly .controls:not(.ignore-readonly) {
  1631. pointer-events: none;
  1632. cursor: not-allowed !important;
  1633. }
  1634. }
  1635. .date.form-group .controls {
  1636. position: relative;
  1637. }
  1638. .form-group + .form-group {
  1639. margin-top: 0;
  1640. }
  1641. .merge-group {
  1642. display: flex;
  1643. align-items: stretch;
  1644. &.merge-group--header {
  1645. h2 {
  1646. margin-bottom: 0;
  1647. }
  1648. label {
  1649. display: inline;
  1650. }
  1651. .merge-source,
  1652. .merge-target {
  1653. border-bottom: 1px solid var(--border);
  1654. }
  1655. }
  1656. .merge-target,
  1657. .merge-source {
  1658. flex: 1;
  1659. width: 33%;
  1660. display: flex;
  1661. flex-direction: column;
  1662. justify-content: flex-end;
  1663. }
  1664. .merge-source,
  1665. .merge-target {
  1666. padding-bottom: 3px;
  1667. border-left: 1px solid var(--border);
  1668. border-right: 1px solid var(--border);
  1669. padding: 7px 13px;
  1670. }
  1671. &:first-of-type {
  1672. margin-top: 6px;
  1673. .merge-source,
  1674. .merge-target {
  1675. border-top: 1px solid var(--border);
  1676. border-radius: 3px 3px 0 0;
  1677. }
  1678. }
  1679. &:last-of-type {
  1680. margin-bottom: 6px;
  1681. .merge-source,
  1682. .merge-target {
  1683. border-bottom: 1px solid var(--border);
  1684. border-radius: 0 0 3px 3px;
  1685. }
  1686. }
  1687. .merge-value {
  1688. margin-bottom: 3px;
  1689. }
  1690. .form-group {
  1691. padding: 0;
  1692. }
  1693. .form-control {
  1694. margin: 0 !important;
  1695. }
  1696. &.merge-group--multi {
  1697. .merge-value + .merge-value {
  1698. margin-top: 12px;
  1699. }
  1700. }
  1701. }
  1702. .merge-controls {
  1703. flex: 1;
  1704. align-self: flex-end;
  1705. }
  1706. .merge-control {
  1707. margin-bottom: 5px;
  1708. height: 31px;
  1709. text-align: center;
  1710. display: flex;
  1711. flex: 1;
  1712. justify-content: space-between;
  1713. align-items: center;
  1714. align-self: flex-end;
  1715. }
  1716. .merge-control-input {
  1717. flex: 1;
  1718. }
  1719. .merge-arrow {
  1720. margin: 0 12px;
  1721. display: flex;
  1722. align-items: center;
  1723. justify-content: center;
  1724. .line-arrow {
  1725. fill: var(--border);
  1726. }
  1727. }
  1728. .formGroup-label {
  1729. padding: 0 2px;
  1730. margin-bottom: 5px;
  1731. position: relative;
  1732. display: flex;
  1733. align-items: center;
  1734. h2 & {
  1735. padding: 0;
  1736. margin: 0;
  1737. }
  1738. label {
  1739. margin: 0;
  1740. }
  1741. .bookmark.icon {
  1742. margin-bottom: -1px;
  1743. }
  1744. .formGroup-metaControl {
  1745. @extend .u-clickable;
  1746. padding: 6px 4px;
  1747. margin: -6px 0 -6px auto;
  1748. font-size: 20px;
  1749. line-height: 1;
  1750. color: var(--interactive-muted);
  1751. }
  1752. }
  1753. .formGroup-bookmark {
  1754. @extend .u-clickable;
  1755. display: flex;
  1756. align-items: center;
  1757. flex-direction: row-reverse;
  1758. width: 30px;
  1759. height: 30px;
  1760. position: absolute;
  1761. right: 0;
  1762. top: -10px;
  1763. }
  1764. .form-group .controls .richtext {
  1765. position: relative;
  1766. height: auto;
  1767. }
  1768. .form-group .help-message {
  1769. cursor: help;
  1770. color: var(--interactive-muted);
  1771. top: -2px;
  1772. position: relative;
  1773. @include bidi-style(margin-left, auto, margin-right, 0);
  1774. .icon-help {
  1775. display: block;
  1776. }
  1777. }
  1778. .form-group:not(.formGroup--halfSize) {
  1779. clear: left;
  1780. }
  1781. .form-group.formGroup--halfSize {
  1782. width: 50%;
  1783. float: left;
  1784. @include phone {
  1785. width: auto;
  1786. float: none;
  1787. }
  1788. .form-control {
  1789. min-width: initial;
  1790. }
  1791. }
  1792. .formGroup--standalone .form-control {
  1793. margin-bottom: 0;
  1794. }
  1795. .controls--select {
  1796. position: relative;
  1797. }
  1798. .controls--datetime {
  1799. position: relative;
  1800. display: flex;
  1801. }
  1802. .controls--date {
  1803. position: relative;
  1804. }
  1805. .controls--datetime {
  1806. position: relative;
  1807. display: flex;
  1808. }
  1809. .controls--date {
  1810. position: relative;
  1811. }
  1812. .controls-label {
  1813. margin: 11px 10px 0;
  1814. flex-shrink: 0;
  1815. .form-control--small + & {
  1816. margin-top: 7px;
  1817. }
  1818. }
  1819. /* do not show safari auto fill icon - see issue #962 */
  1820. input::-webkit-contacts-auto-fill-button {
  1821. visibility: hidden;
  1822. display: none !important;
  1823. pointer-events: none;
  1824. position: absolute;
  1825. right: 0;
  1826. }
  1827. input[type='radio'],
  1828. input[type='checkbox'] {
  1829. margin: 0;
  1830. }
  1831. input[type='text'],
  1832. input[type='password'],
  1833. input[type='email'],
  1834. input[type='date'],
  1835. input[type='url'],
  1836. textarea,
  1837. .form-control,
  1838. .form-group .checkbox,
  1839. .form-group .radio {
  1840. display: block;
  1841. padding: 7px 12px;
  1842. width: 100%;
  1843. height: 41px;
  1844. font-size: 14px;
  1845. font-weight: normal;
  1846. line-height: 25px;
  1847. color: var(--text-normal);
  1848. background: var(--background-secondary);
  1849. border: 1px solid var(--border);
  1850. border-radius: 3px;
  1851. transition: none;
  1852. box-shadow: none;
  1853. outline: none;
  1854. appearance: none;
  1855. @include phone {
  1856. font-size: 16px;
  1857. }
  1858. .modal-body &,
  1859. .box &,
  1860. .sidebar &,
  1861. .hero-unit &,
  1862. .form-field-group &,
  1863. .popover & {
  1864. background: var(--background-primary);
  1865. }
  1866. .modal-body .form-field-group &,
  1867. .formset-inset & {
  1868. background: var(--background-secondary);
  1869. }
  1870. &.form-control--small {
  1871. padding: 5px 8px 4px;
  1872. height: 30px;
  1873. line-height: 20px;
  1874. &[multiple] {
  1875. height: auto;
  1876. }
  1877. &.form-control--multiline {
  1878. min-height: 30px;
  1879. }
  1880. }
  1881. &.form-control--inline {
  1882. display: inline-block;
  1883. width: auto;
  1884. }
  1885. &.form-control--multiline {
  1886. height: auto;
  1887. min-height: 41px;
  1888. }
  1889. &:focus,
  1890. &:focus-within,
  1891. &.focus {
  1892. border-color: var(--border-highlight);
  1893. box-shadow: 0 0 0 3px var(--shadow-highlight);
  1894. }
  1895. &.is-disabled, // .is-disabled should not be used - legacy support
  1896. &[disabled],
  1897. &[readonly] {
  1898. opacity: 0.38;
  1899. &:focus,
  1900. &.focus {
  1901. border-color: var(--border-highlight);
  1902. }
  1903. }
  1904. &.is-disabled, // .is-disabled should not be used
  1905. &[disabled] {
  1906. cursor: not-allowed;
  1907. }
  1908. }
  1909. input[type='url'] {
  1910. min-width: 400px;
  1911. }
  1912. .sidebar-content input[type='url'] {
  1913. min-width: inherit;
  1914. }
  1915. .user-select.form-control {
  1916. padding-right: 35px;
  1917. min-width: 300px;
  1918. }
  1919. input[type='time'] {
  1920. width: auto;
  1921. padding-left: 6px;
  1922. padding-right: 6px;
  1923. }
  1924. input.timeframe,
  1925. input.time {
  1926. box-sizing: content-box;
  1927. padding: 0 6px;
  1928. height: 39px;
  1929. line-height: 42px;
  1930. flex-shrink: 0;
  1931. &.form-control--small {
  1932. line-height: 20px;
  1933. padding-top: 0;
  1934. padding-bottom: 0;
  1935. }
  1936. }
  1937. input.timeframe {
  1938. width: 5.5ch;
  1939. }
  1940. input.time {
  1941. width: 4.5ch;
  1942. }
  1943. input.time.time--12 {
  1944. width: 7.5ch;
  1945. }
  1946. .tokenfield.focus {
  1947. border-color: var(--border-highlight);
  1948. box-shadow: 0 0 0 3px var(--shadow-highlight);
  1949. }
  1950. .richtext.form-control {
  1951. padding: 0;
  1952. }
  1953. .richtext.form-control [contenteditable] {
  1954. height: auto;
  1955. min-height: 82px;
  1956. background: none;
  1957. padding: 7px 12px 35px;
  1958. }
  1959. .richtext.form-control [contenteditable='false'] {
  1960. cursor: not-allowed;
  1961. opacity: 0.38;
  1962. border-color: var(--border);
  1963. padding: unset;
  1964. &:focus,
  1965. &.focus {
  1966. border-color: var(--border-highlight);
  1967. }
  1968. }
  1969. .richtext.form-control .attachments.attachments--list:not(:empty) {
  1970. border-top: 1px solid var(--background-modifier-border);
  1971. white-space: normal;
  1972. margin: 0 -12px -28px;
  1973. padding: 25px 20px 21px 72px;
  1974. position: relative;
  1975. line-height: 1;
  1976. }
  1977. .richtext-controls {
  1978. display: flex;
  1979. margin: 7px 7px 0;
  1980. padding: 3px 5px 10px;
  1981. border-bottom: 1px solid var(--background-modifier-border);
  1982. @include phone {
  1983. flex-wrap: nowrap;
  1984. }
  1985. }
  1986. textarea.form-control {
  1987. height: 118px;
  1988. resize: vertical;
  1989. &[rows] {
  1990. height: auto;
  1991. }
  1992. }
  1993. select.form-control:not([multiple]) {
  1994. @include bidi-style(padding-right, 34px, padding-left, 12px);
  1995. word-wrap: normal;
  1996. }
  1997. .form-control.is-hidden {
  1998. display: none;
  1999. }
  2000. .form-control.form-control--borderless {
  2001. border: none;
  2002. padding: 0;
  2003. line-height: inherit;
  2004. height: auto;
  2005. &:focus {
  2006. box-shadow: none;
  2007. }
  2008. }
  2009. select[multiple],
  2010. select[multiple]:focus {
  2011. option:checked {
  2012. color: var(--interactive-primary);
  2013. background: var(--ghost-color);
  2014. }
  2015. }
  2016. .select.form-group,
  2017. .user_autocompletion.form-group {
  2018. .form-control:not([multiple]) {
  2019. padding-right: 21px;
  2020. }
  2021. }
  2022. .form-control + .icon-arrow-down,
  2023. .dropdown-arrow {
  2024. position: absolute;
  2025. @include bidi-style(right, 12px, left, auto);
  2026. top: 50%;
  2027. margin-top: -3px;
  2028. width: 13px;
  2029. height: 7px;
  2030. @extend .u-unclickable;
  2031. }
  2032. select::-ms-expand {
  2033. display: none;
  2034. }
  2035. .has-error .form-control,
  2036. .has-error .form-control:focus,
  2037. .has-error .form-control.focus {
  2038. box-shadow: none;
  2039. border-color: var(--danger-color) !important;
  2040. }
  2041. input.has-error {
  2042. box-shadow: none;
  2043. border-color: var(--danger-color) !important;
  2044. }
  2045. .help-inline:not(:empty) {
  2046. color: var(--danger-color);
  2047. padding: 2px;
  2048. font-size: 13px;
  2049. }
  2050. /* use on input[type=radio] */
  2051. .primary-email-switch {
  2052. display: none;
  2053. & + label {
  2054. font-size: 11px;
  2055. color: var(--interactive-muted);
  2056. margin: 0;
  2057. @extend %clickable;
  2058. }
  2059. &:checked + label {
  2060. color: var(--highlight);
  2061. }
  2062. }
  2063. .primary-email-switch-label {
  2064. text-overflow: ellipsis;
  2065. overflow: hidden;
  2066. white-space: nowrap;
  2067. }
  2068. .primary-email-switch + label {
  2069. align-self: stretch;
  2070. padding: 0 5px;
  2071. display: flex;
  2072. align-items: center;
  2073. }
  2074. .controls--button {
  2075. display: flex;
  2076. flex-wrap: wrap;
  2077. .controls {
  2078. flex: 1;
  2079. }
  2080. .help-inline,
  2081. .help-block {
  2082. flex-basis: 100%;
  2083. }
  2084. input,
  2085. .form-control {
  2086. flex: 1 1 0%;
  2087. @include bidi-style(border-right-width, 0, border-left-width, 1px);
  2088. @include bidi-style(
  2089. border-top-right-radius,
  2090. 0,
  2091. border-top-left-radius,
  2092. 3px
  2093. );
  2094. @include bidi-style(
  2095. border-bottom-right-radius,
  2096. 0,
  2097. border-bottom-left-radius,
  2098. 3px
  2099. );
  2100. &:focus + .controls-button {
  2101. .controls-button-inner {
  2102. border-color: var(--border-highlight);
  2103. }
  2104. /*
  2105. fake the form-control outline
  2106. */
  2107. &::before {
  2108. content: '';
  2109. position: absolute;
  2110. left: 0;
  2111. @include rtl(left, -3px);
  2112. top: -3px;
  2113. right: -3px;
  2114. @include rtl(right, 0);
  2115. bottom: -3px;
  2116. background: var(--shadow-highlight);
  2117. @include bidi-style(
  2118. border-radius,
  2119. 0 7px 7px 0,
  2120. border-radius,
  2121. 7px 0 0 7px
  2122. );
  2123. }
  2124. }
  2125. }
  2126. }
  2127. .controls-button {
  2128. position: relative;
  2129. display: flex;
  2130. &.is-active .icon {
  2131. fill: var(--highlight);
  2132. }
  2133. }
  2134. .controls-button-inner {
  2135. display: flex;
  2136. justify-content: center;
  2137. align-items: center;
  2138. padding: 0 10px;
  2139. background: var(--background-secondary);
  2140. position: relative;
  2141. border: 1px solid var(--border);
  2142. @include bidi-style(border-radius, 0 3px 3px 0, border-radius, 3px 0 0 3px);
  2143. .icon {
  2144. fill: var(--text-muted);
  2145. }
  2146. &:hover .icon {
  2147. fill: currentColor;
  2148. }
  2149. }
  2150. .searchfield {
  2151. position: relative;
  2152. margin-bottom: 20px;
  2153. .icon-magnifier,
  2154. .search-loader {
  2155. @include bidi-style(left, 15px, right, auto);
  2156. top: 12px;
  2157. width: 17px;
  2158. height: 17px;
  2159. position: absolute;
  2160. fill: var(--text-muted);
  2161. transition: 0.1s 0s;
  2162. pointer-events: none;
  2163. }
  2164. .search-loader {
  2165. z-index: 2;
  2166. opacity: 0;
  2167. .icon {
  2168. width: 17px;
  2169. height: 17px;
  2170. }
  2171. }
  2172. input[type='search'] {
  2173. appearance: textfield;
  2174. border-radius: 19px;
  2175. padding: 0 17px 0 42px;
  2176. @include rtl(padding, 0 42px 0 17px);
  2177. will-change: transform;
  2178. &.is-empty ~ .empty-search,
  2179. &:placeholder-shown ~ .empty-search {
  2180. visibility: hidden;
  2181. }
  2182. &.loading {
  2183. ~ .search-loader {
  2184. opacity: 1;
  2185. transition: 0.2s 0.5s;
  2186. }
  2187. ~ .icon-magnifier {
  2188. opacity: 0;
  2189. transition: 0.2s 0.5s;
  2190. }
  2191. }
  2192. }
  2193. input[type='search']::-webkit-search-cancel-button,
  2194. input[type='search']::-webkit-search-decoration {
  2195. -webkit-appearance: none;
  2196. }
  2197. .empty-search {
  2198. height: 100%;
  2199. width: 50px;
  2200. visibility: visible;
  2201. .icon {
  2202. width: 13px;
  2203. height: 13px;
  2204. fill: var(--text-muted);
  2205. opacity: 0.5;
  2206. }
  2207. }
  2208. }
  2209. .content {
  2210. overflow: auto;
  2211. -webkit-overflow-scrolling: touch;
  2212. position: relative;
  2213. background-color: var(--background-primary);
  2214. @include phone {
  2215. @include bidi-style(margin-left, $mobileNavigationWidth, margin-right, 0);
  2216. -webkit-overflow-scrolling: touch;
  2217. .navigation:hover ~ &,
  2218. .navigation.is-hovered ~ &,
  2219. .navigation:active ~ & {
  2220. transform: translateX(
  2221. #{$mobileNavigationWidthOpen - $mobileNavigationWidth}
  2222. );
  2223. @include rtl(
  2224. transform,
  2225. translateX(-#{$mobileNavigationWidthOpen - $mobileNavigationWidth})
  2226. );
  2227. }
  2228. }
  2229. }
  2230. .content.fit {
  2231. padding: 10px;
  2232. background: var(--background-tertiary);
  2233. z-index: 501;
  2234. }
  2235. .fullscreenMessage {
  2236. padding: 22px;
  2237. display: flex;
  2238. align-items: center;
  2239. justify-content: center;
  2240. flex: 1;
  2241. .icon {
  2242. @include bidi-style(margin-right, 14px, margin-left, 0);
  2243. }
  2244. .icon-error {
  2245. margin-top: -2px;
  2246. width: 19px;
  2247. height: 19px;
  2248. }
  2249. .icon-checkmark {
  2250. width: 21px;
  2251. height: 18px;
  2252. margin-right: 11px;
  2253. margin-top: -2px;
  2254. }
  2255. h2 {
  2256. margin: 0;
  2257. }
  2258. }
  2259. .fullscreenMessage--placeholder {
  2260. flex-direction: column;
  2261. .icon {
  2262. width: 100px;
  2263. height: 100px;
  2264. }
  2265. h2 {
  2266. margin: 15px;
  2267. color: var(--text-muted);
  2268. }
  2269. }
  2270. .selected-clue {
  2271. position: relative;
  2272. @extend .zIndex-11;
  2273. pointer-events: none;
  2274. }
  2275. .modal--clue {
  2276. display: flex;
  2277. align-items: center;
  2278. justify-content: center;
  2279. z-index: 500;
  2280. .modal-backdrop {
  2281. bottom: 0;
  2282. width: 200%;
  2283. height: 200%;
  2284. left: -100%;
  2285. top: -100%;
  2286. background: radial-gradient(
  2287. var(--backdrop-clue-start),
  2288. var(--backdrop-clue-end)
  2289. );
  2290. }
  2291. .modal-spacer {
  2292. position: absolute;
  2293. opacity: 0;
  2294. padding: 18px;
  2295. @extend .zIndex-11;
  2296. }
  2297. .modal-arrow {
  2298. background: inherit;
  2299. width: 20px;
  2300. height: 20px;
  2301. position: absolute;
  2302. margin: -10px 0 53px -10px;
  2303. left: 0;
  2304. top: 50%;
  2305. transform: rotate(45deg);
  2306. }
  2307. .modal-spacer[data-position='above'] .modal-arrow {
  2308. left: 50%;
  2309. top: 100%;
  2310. background: var(--background-primary);
  2311. }
  2312. .modal-spacer[data-position='below'] .modal-arrow {
  2313. left: 50%;
  2314. top: 0;
  2315. }
  2316. .modal-spacer[data-position='left'] .modal-arrow {
  2317. left: 100%;
  2318. top: 50%;
  2319. }
  2320. .modal-content {
  2321. border: none;
  2322. width: 300px;
  2323. box-shadow: 0 8px 17px 0 rgba(0, 0, 0, 0.1),
  2324. 0 6px 20px 0 rgba(0, 0, 0, 0.05);
  2325. @include phone {
  2326. width: 280px;
  2327. }
  2328. }
  2329. .modal-controls {
  2330. background: var(--background-primary);
  2331. margin: 23px 0 0;
  2332. padding: 10px;
  2333. display: flex;
  2334. align-items: center;
  2335. justify-content: space-between;
  2336. }
  2337. .modal-control {
  2338. padding-left: 14px;
  2339. padding-right: 14px;
  2340. .btn.is-disabled {
  2341. color: var(--text-normal);
  2342. }
  2343. }
  2344. .modal-header {
  2345. padding-bottom: 7px;
  2346. font-size: 18px;
  2347. }
  2348. .modal-body {
  2349. max-width: 340px;
  2350. }
  2351. }
  2352. .knowledge-base-content-can-be-published-dialog-current {
  2353. margin-bottom: 20px;
  2354. text-align: center;
  2355. }
  2356. .knowledge-base-content-can-be-published-dialog {
  2357. display: flex;
  2358. .side-panel {
  2359. flex-grow: 1;
  2360. width: 300px;
  2361. }
  2362. .call-to-action {
  2363. display: flex;
  2364. align-items: center;
  2365. justify-content: center;
  2366. }
  2367. }
  2368. .kb-sidebar-block-content {
  2369. & .kb-item--invisible {
  2370. opacity: 0.5;
  2371. }
  2372. & .kb-item--missing-translation,
  2373. & .kb-item--missing-translation:active,
  2374. & .kb-item--missing-translation:focus {
  2375. color: hsl(45, 98%, 63%);
  2376. }
  2377. }
  2378. .kb-menu-preview {
  2379. margin-bottom: 1em;
  2380. &-container {
  2381. display: flex;
  2382. flex-wrap: wrap;
  2383. justify-content: flex-end;
  2384. border: 1px solid var(--border-alt);
  2385. &--footer {
  2386. justify-content: center;
  2387. }
  2388. }
  2389. a,
  2390. span {
  2391. font-size: 14px;
  2392. padding: 0.5em 1em;
  2393. white-space: nowrap;
  2394. text-decoration: none;
  2395. line-height: 2em;
  2396. }
  2397. a {
  2398. color: inherit;
  2399. }
  2400. .label {
  2401. text-transform: none;
  2402. }
  2403. }
  2404. .modified-icon {
  2405. position: relative;
  2406. line-height: 1;
  2407. display: block;
  2408. .nav-pills > li > a & {
  2409. align-self: center;
  2410. }
  2411. .modified-icon-modifier {
  2412. bottom: 0;
  2413. right: 0;
  2414. position: absolute;
  2415. z-index: 1;
  2416. fill: var(--background-primary);
  2417. margin: 0 -2px -1px 0;
  2418. .nav-pills > li > a & {
  2419. fill: var(--background-secondary);
  2420. }
  2421. .nav-pills > li:hover > a & {
  2422. fill: var(--background-secondary-hover);
  2423. }
  2424. }
  2425. .icon-knowledge-base-answer + .modified-icon-modifier {
  2426. margin: 0 -1px 2px 0;
  2427. }
  2428. .icon-published-modifier {
  2429. display: none;
  2430. }
  2431. }
  2432. kbd {
  2433. background: var(--background-modifier-accent);
  2434. border-radius: 3px;
  2435. border: 1px solid var(--background-modifier-border);
  2436. box-shadow: var(--elevation-stroke);
  2437. display: inline-block;
  2438. font-size: 12px;
  2439. margin: 0 1px;
  2440. padding: 0 4px;
  2441. vertical-align: top;
  2442. }
  2443. .form-stacked .checkbox label {
  2444. color: inherit;
  2445. font-size: 13px;
  2446. text-transform: inherit;
  2447. vertical-align: baseline;
  2448. letter-spacing: inherit;
  2449. }
  2450. .pagination {
  2451. margin: 0 0 0 19px;
  2452. @include rtl(margin, 0 19px 0 0);
  2453. display: flex;
  2454. }
  2455. .pagination-counter {
  2456. margin: 0 0 0 19px;
  2457. @include rtl(margin, 0 19px 0 0);
  2458. line-height: 33px;
  2459. color: var(--text-muted);
  2460. }
  2461. .page-header {
  2462. margin: 0 0 15px;
  2463. padding: 0;
  2464. display: flex;
  2465. align-items: center;
  2466. flex-wrap: wrap;
  2467. width: 100%;
  2468. @include phone {
  2469. align-items: flex-start;
  2470. flex-wrap: nowrap;
  2471. }
  2472. }
  2473. .page-header--center {
  2474. justify-content: center;
  2475. }
  2476. .page-header-title {
  2477. display: flex;
  2478. align-items: center;
  2479. .zammad-switch {
  2480. @include bidi-style(margin-right, 9px, margin-left, 0);
  2481. }
  2482. h1,
  2483. h2 {
  2484. margin-top: 9px;
  2485. margin-bottom: 7px;
  2486. @include phone {
  2487. margin-top: 4px;
  2488. }
  2489. }
  2490. .suffix {
  2491. margin-left: 5px;
  2492. margin-top: 6px;
  2493. display: inline-block;
  2494. @include phone {
  2495. margin-top: 4px;
  2496. }
  2497. }
  2498. }
  2499. .page-header-center {
  2500. justify-self: center;
  2501. @include bidi-style(padding-left, 9px, padding-right, 0);
  2502. margin: 0 auto;
  2503. & + .page-header-meta {
  2504. @include bidi-style(margin-left, 0, margin-right, auto);
  2505. flex: none;
  2506. }
  2507. }
  2508. .page-header-meta {
  2509. @include bidi-style(margin-left, auto, margin-right, 0);
  2510. @include bidi-style(padding-left, 20px, padding-right, 0);
  2511. display: flex;
  2512. justify-content: flex-end;
  2513. flex: 1;
  2514. min-width: 0; /* firefox flexbug */
  2515. @include phone {
  2516. flex: 0 1 auto;
  2517. min-width: auto;
  2518. }
  2519. .btn {
  2520. overflow: hidden;
  2521. text-overflow: ellipsis;
  2522. white-space: nowrap;
  2523. @include phone {
  2524. flex-shrink: 0;
  2525. }
  2526. }
  2527. .btn + .btn {
  2528. @include bidi-style(margin-left, 9px, margin-right, 0);
  2529. }
  2530. }
  2531. .page-content {
  2532. .formGroup-label label,
  2533. .label {
  2534. color: var(--header-secondary);
  2535. }
  2536. .content-controls-align-right {
  2537. display: flex;
  2538. justify-content: flex-end;
  2539. }
  2540. }
  2541. .page-body--two-column {
  2542. display: flex;
  2543. }
  2544. .page-aside {
  2545. @include bidi-style(padding-right, 20px, padding-left, 0);
  2546. @include bidi-style(border-right, 1px solid var(--border), border-left, none);
  2547. @include bidi-style(margin-right, 20px, margin-left, 0);
  2548. width: 240px;
  2549. flex-shrink: 0;
  2550. flex-grow: 0;
  2551. }
  2552. .page-main {
  2553. flex: 1;
  2554. }
  2555. .page-loading {
  2556. min-height: 500px;
  2557. flex-grow: 1;
  2558. display: flex;
  2559. align-items: center;
  2560. justify-content: center;
  2561. }
  2562. .page-loading-label {
  2563. @include bidi-style(margin-left, 10px, margin-right, 0);
  2564. margin-top: 1px;
  2565. }
  2566. .dropdown-menu .count {
  2567. padding-top: 1px;
  2568. @include bidi-style(margin-left, 10px, margin-right, 0);
  2569. }
  2570. .help-text,
  2571. .help-block {
  2572. color: var(--text-muted);
  2573. }
  2574. .help-block {
  2575. margin: 0;
  2576. font-size: 13px;
  2577. &.help-block--center {
  2578. text-align: center;
  2579. }
  2580. }
  2581. .help-block:not(:empty) {
  2582. margin: 8px 2px 0;
  2583. }
  2584. /* replace music icon with attachment */
  2585. .icon-attachment {
  2586. background-position: -24px 0;
  2587. }
  2588. /*
  2589. * hero-unit (used on getstarted, login, signup)
  2590. */
  2591. .hero-unit {
  2592. width: 500px;
  2593. margin: 10px 0;
  2594. padding: 23px 25px;
  2595. border: 1px solid var(--border);
  2596. color: var(--text-normal);
  2597. background-color: var(--background-secondary);
  2598. border-radius: 6px;
  2599. box-shadow: 0 8px 17px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  2600. @include phone {
  2601. width: auto;
  2602. padding: 12px 15px;
  2603. }
  2604. .inline-label {
  2605. font-size: inherit;
  2606. }
  2607. }
  2608. .hero-unit h1,
  2609. .hero-unit h2 {
  2610. margin-top: 0;
  2611. }
  2612. .getstarted,
  2613. .reset_password,
  2614. .request_admin_password_auth,
  2615. .signup,
  2616. .darkBackground,
  2617. .login {
  2618. padding: 10px;
  2619. background: var(--background-tertiary);
  2620. }
  2621. .content.getstarted {
  2622. padding: 0;
  2623. .main {
  2624. padding: 20px 10px;
  2625. }
  2626. }
  2627. .login,
  2628. .reset_password,
  2629. .request_admin_password_auth,
  2630. .signup {
  2631. padding: 24px;
  2632. color: var(--text-muted);
  2633. a {
  2634. color: var(--text-inverted);
  2635. }
  2636. }
  2637. .login {
  2638. .form-controls {
  2639. flex-direction: column;
  2640. .btn {
  2641. width: 100%;
  2642. }
  2643. .btn--text {
  2644. display: block;
  2645. overflow: hidden;
  2646. text-overflow: ellipsis;
  2647. margin: initial;
  2648. text-align: center;
  2649. }
  2650. .btn + .btn:not(.align-right) {
  2651. margin-left: initial;
  2652. margin-right: initial;
  2653. }
  2654. }
  2655. }
  2656. .login .hero-unit {
  2657. width: 430px;
  2658. margin: 0 0 28px;
  2659. @include phone {
  2660. width: auto;
  2661. }
  2662. }
  2663. .login .company-logo {
  2664. max-height: 100px;
  2665. max-width: 200px;
  2666. margin: 20px auto 42px;
  2667. display: block;
  2668. @include phone {
  2669. margin: 15px auto 28px;
  2670. }
  2671. }
  2672. .login p,
  2673. .reset_password p,
  2674. .signup p {
  2675. margin: 0 auto 22px;
  2676. max-width: 400px;
  2677. text-align: center;
  2678. @include phone {
  2679. margin: 0 auto 15px;
  2680. }
  2681. }
  2682. .reset_password p,
  2683. .signup p {
  2684. padding-top: 28px;
  2685. }
  2686. .login hr {
  2687. margin: 0 auto 22px;
  2688. width: 100%;
  2689. max-width: 400px;
  2690. }
  2691. .login p a,
  2692. .reset_password p a,
  2693. .signup p a {
  2694. text-decoration: underline;
  2695. }
  2696. .poweredBy {
  2697. display: flex;
  2698. align-items: center;
  2699. justify-content: center;
  2700. color: hsl(233, 7%, 26%);
  2701. margin: 34px 0 10px -16px;
  2702. @include rtl(margin, 34px -16px 10px 0);
  2703. cursor: default;
  2704. a {
  2705. color: inherit;
  2706. }
  2707. .icon-logo {
  2708. @include bidi-style(margin-right, 8px, margin-left, 0);
  2709. margin-top: -11px;
  2710. }
  2711. .logotype {
  2712. @include bidi-style(margin-left, 7px, margin-left, 0);
  2713. margin-top: -3px;
  2714. }
  2715. }
  2716. .fullscreen {
  2717. @extend .fit;
  2718. display: flex;
  2719. flex-direction: column;
  2720. align-items: center;
  2721. width: 100%;
  2722. height: 100%;
  2723. min-height: 100vh;
  2724. overflow: auto;
  2725. -webkit-overflow-scrolling: touch;
  2726. }
  2727. .fullscreen p {
  2728. color: var(--text-muted);
  2729. }
  2730. .fullscreen-center {
  2731. margin: auto;
  2732. }
  2733. .fullscreen-body {
  2734. text-align: start;
  2735. display: inline-block;
  2736. }
  2737. ol.tabs {
  2738. list-style: decimal inside;
  2739. }
  2740. ol.tabs li {
  2741. display: list-item;
  2742. }
  2743. .tabs {
  2744. display: flex;
  2745. padding: 0;
  2746. margin-bottom: 20px;
  2747. color: var(--interactive-muted);
  2748. border: 1px solid var(--border);
  2749. border-radius: 3px;
  2750. background: var(--background-secondary);
  2751. @include phone {
  2752. overflow: auto;
  2753. -webkit-overflow-scrolling: touch;
  2754. }
  2755. }
  2756. .tabs-condensed .tab {
  2757. padding-left: 5px;
  2758. padding-right: 5px;
  2759. }
  2760. .progress-tabs .tab {
  2761. cursor: default;
  2762. }
  2763. .tab {
  2764. color: inherit;
  2765. height: 35px;
  2766. padding: 8px 20px;
  2767. display: flex;
  2768. justify-content: center;
  2769. align-items: center;
  2770. border-right: 1px solid var(--border);
  2771. min-width: 0;
  2772. flex-grow: 1;
  2773. @extend .u-clickable;
  2774. @include phone {
  2775. flex-shrink: 0;
  2776. display: block;
  2777. text-align: center;
  2778. }
  2779. &.active {
  2780. color: var(--text-inverted);
  2781. background: var(--button-active);
  2782. box-shadow: none;
  2783. flex-shrink: 0;
  2784. }
  2785. &-name {
  2786. min-width: 20px;
  2787. text-align: center;
  2788. white-space: nowrap;
  2789. overflow: hidden;
  2790. text-overflow: ellipsis;
  2791. }
  2792. &-badge {
  2793. flex-shrink: 0;
  2794. @include bidi-style(margin-left, 6px, margin-right, 0);
  2795. font-size: 13px;
  2796. margin-right: -7px;
  2797. background: var(--background-modifier-accent);
  2798. min-width: 21px;
  2799. padding: 0 7px;
  2800. height: 21px;
  2801. line-height: 21px;
  2802. white-space: nowrap;
  2803. text-align: center;
  2804. display: inline-block;
  2805. border-radius: 999px;
  2806. }
  2807. }
  2808. .tab-dropdown {
  2809. position: relative;
  2810. display: flex;
  2811. align-items: center;
  2812. justify-content: center;
  2813. .arrow {
  2814. @include bidi-style(margin-left, 10px, margin-right, 0);
  2815. opacity: 0.75;
  2816. }
  2817. .icon {
  2818. fill: var(--text-muted);
  2819. }
  2820. &.active {
  2821. background: var(--background-secondary);
  2822. .icon {
  2823. opacity: 1;
  2824. }
  2825. }
  2826. }
  2827. .tab:first-child {
  2828. border-radius: 3px 0 0 3px;
  2829. @include rtl(border-radius, 0 3px 3px 0);
  2830. @include bidi-style(border-right-width, 1px, border-right-width, 0);
  2831. }
  2832. .tab:last-child:not(:only-child) {
  2833. border-radius: 0 3px 3px 0;
  2834. @include bidi-style(border-right-width, 0, border-right-width, 1px);
  2835. @include rtl(border-radius, 3px 0 0 3px);
  2836. }
  2837. .tab:only-child {
  2838. border-radius: 3px;
  2839. @include bidi-style(border-right-width, 0, border-right-width, 1px);
  2840. }
  2841. .tabs.tabs--inline {
  2842. display: inline-flex;
  2843. margin-left: 0;
  2844. margin-right: 0;
  2845. .tab {
  2846. flex: none;
  2847. &:nth-last-child(2) {
  2848. @include bidi-style(border-right-width, 0, border-right-width, 1px);
  2849. }
  2850. }
  2851. }
  2852. .tabs--big {
  2853. margin: 28px auto;
  2854. font-size: 14px;
  2855. border-radius: 8px;
  2856. @include phone {
  2857. margin: 5px auto 28px;
  2858. }
  2859. .tab {
  2860. height: auto;
  2861. padding: 10px 23px 9px;
  2862. @include phone {
  2863. padding: 8px 20px;
  2864. }
  2865. &:first-child {
  2866. border-radius: 8px 0 0 8px;
  2867. @include rtl(border-radius, 0 8px 8px 0);
  2868. }
  2869. &:last-child {
  2870. border-radius: 0 8px 8px 0;
  2871. @include rtl(border-radius, 8px 0 0 8px);
  2872. }
  2873. &:only-child {
  2874. border-radius: 8px;
  2875. }
  2876. }
  2877. .tab-dropdown {
  2878. padding-left: 18px;
  2879. padding-right: 15px;
  2880. @include rtl(padding-left, 15px);
  2881. @include rtl(padding-right, 18px);
  2882. }
  2883. }
  2884. .dashboard .tabs--big {
  2885. width: 50%;
  2886. @include phone {
  2887. width: auto;
  2888. }
  2889. }
  2890. .separator {
  2891. margin: 20px 0;
  2892. position: relative;
  2893. text-align: center;
  2894. }
  2895. .separator::before {
  2896. content: '';
  2897. position: absolute;
  2898. width: 100%;
  2899. height: 1px;
  2900. top: 50%;
  2901. left: 0;
  2902. background: var(--border);
  2903. }
  2904. .separator-text {
  2905. padding: 0 10px;
  2906. color: var(--text-muted);
  2907. font-size: 12px;
  2908. letter-spacing: 0.05em;
  2909. text-transform: uppercase;
  2910. background: var(--background-secondary);
  2911. display: inline-block;
  2912. position: relative;
  2913. }
  2914. .auth-providers {
  2915. display: flex;
  2916. flex-wrap: wrap;
  2917. > form {
  2918. display: flex;
  2919. flex-grow: 1;
  2920. min-width: calc(100% / 2 - 8px);
  2921. &:last-child {
  2922. .auth-provider {
  2923. margin-bottom: initial;
  2924. }
  2925. }
  2926. }
  2927. }
  2928. .auth-provider {
  2929. height: 40px;
  2930. padding: 0 10px 0 7px;
  2931. margin-bottom: 14px;
  2932. margin-right: 14px;
  2933. color: white !important;
  2934. line-height: 23px;
  2935. border-radius: 4px;
  2936. display: flex;
  2937. flex-grow: 1;
  2938. justify-content: center;
  2939. align-items: center;
  2940. text-decoration: none;
  2941. border: none;
  2942. text-align: initial;
  2943. white-space: nowrap;
  2944. overflow: hidden;
  2945. @extend %clickable;
  2946. &.auth-provider--wide {
  2947. padding-right: 25px;
  2948. }
  2949. &.auth-provider--facebook {
  2950. background: #4f699c;
  2951. }
  2952. &.auth-provider--google {
  2953. background: hsl(0, 0%, 93%);
  2954. color: hsl(0, 0%, 46%) !important;
  2955. }
  2956. &.auth-provider--twitter {
  2957. background: #2daee1;
  2958. }
  2959. &.auth-provider--email {
  2960. background: #ffd22e;
  2961. }
  2962. &.auth-provider--linkedin {
  2963. background: #006087;
  2964. }
  2965. &.auth-provider--github {
  2966. background: hsl(0, 0%, 27%);
  2967. }
  2968. &.auth-provider--gitlab {
  2969. background: hsl(10, 78%, 53%);
  2970. }
  2971. &.auth-provider--microsoft {
  2972. background: hsl(0, 0%, 93%);
  2973. color: hsl(0, 0%, 46%) !important;
  2974. }
  2975. &.auth-provider--weibo {
  2976. background: hsl(0, 0%, 27%);
  2977. }
  2978. &.auth-provider--saml {
  2979. background: hsl(0, 0%, 27%);
  2980. }
  2981. &.auth-provider--sso {
  2982. background: #454545;
  2983. }
  2984. .provider-icon {
  2985. width: 29px;
  2986. height: 24px;
  2987. flex-shrink: 0;
  2988. @include bidi-style(margin-right, 10px, margin-left, 0);
  2989. }
  2990. .provider-name {
  2991. overflow: hidden;
  2992. text-overflow: ellipsis;
  2993. }
  2994. }
  2995. /*
  2996. global icon definitions
  2997. =======================
  2998. */
  2999. [data-font] {
  3000. font-style: normal;
  3001. text-rendering: auto;
  3002. font-feature-settings: 'liga';
  3003. -webkit-font-smoothing: antialiased;
  3004. -moz-osx-font-smoothing: grayscale;
  3005. font-size: 16px;
  3006. }
  3007. [data-font='FontAwesome'] {
  3008. font-size: 14px;
  3009. }
  3010. [data-font='material'] {
  3011. font-size: 18px;
  3012. }
  3013. [data-font='ionicons'] {
  3014. font-size: 18px;
  3015. }
  3016. .icon {
  3017. fill: currentColor;
  3018. }
  3019. [class*='icon-file-'] {
  3020. color: var(--file-icon-background);
  3021. fill: var(--file-icon-color);
  3022. }
  3023. .icon-arrow-down,
  3024. .icon-arrow-up,
  3025. .icon-arrow-left,
  3026. .icon-arrow-right {
  3027. fill: var(--text-muted);
  3028. opacity: 0.39;
  3029. .btn--action & {
  3030. opacity: var(--interactive-primary);
  3031. }
  3032. }
  3033. .icon-arrow-left,
  3034. .icon-arrow-right {
  3035. &.arrow--x2 {
  3036. width: 14px;
  3037. height: 26px;
  3038. }
  3039. }
  3040. .icon-arrow-left,
  3041. .icon-arrow-right,
  3042. .icon-line-left-arrow,
  3043. .icon-line-right-arrow,
  3044. .icon-long-arrow-right {
  3045. @include rtl(transform, scaleX(-1));
  3046. }
  3047. .arrow--disabled {
  3048. opacity: 0.23;
  3049. }
  3050. .icon-checkmark {
  3051. fill: var(--supergood-color);
  3052. }
  3053. .icon-error {
  3054. fill: var(--superbad-color);
  3055. }
  3056. .icon-danger {
  3057. color: hsl(41, 100%, 49%);
  3058. }
  3059. .icon-draggable {
  3060. opacity: 0.3;
  3061. .table-draggable & {
  3062. vertical-align: middle;
  3063. cursor: move;
  3064. }
  3065. }
  3066. .loading.icon {
  3067. display: inline-block;
  3068. width: 30px;
  3069. height: 30px;
  3070. background: hsl(145, 51%, 45%);
  3071. animation: rotateplane 1.2s infinite ease-in-out;
  3072. }
  3073. .small.loading.icon {
  3074. width: 20px;
  3075. height: 20px;
  3076. }
  3077. .tiny.loading.icon {
  3078. width: 12px;
  3079. height: 12px;
  3080. }
  3081. .loading.icon.muted {
  3082. background: var(--ghost-color);
  3083. }
  3084. @keyframes rotateplane {
  3085. 0% {
  3086. transform: perspective(120px) rotateX(0deg) rotateY(0deg);
  3087. }
  3088. 50% {
  3089. transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg);
  3090. }
  3091. 100% {
  3092. transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
  3093. }
  3094. }
  3095. .icon-spinner-medium {
  3096. animation: spinIcon 0.9s steps(12) infinite;
  3097. }
  3098. .icon-spinner-small {
  3099. animation: spinIcon 0.9s steps(8) infinite;
  3100. }
  3101. @keyframes spinIcon {
  3102. to {
  3103. transform: rotate(-1turn);
  3104. }
  3105. }
  3106. .color-swatch {
  3107. padding: 2px;
  3108. margin: -2px 0 -4px;
  3109. @extend %clickable;
  3110. /* :after technique for bigger click area */
  3111. &::after {
  3112. content: '';
  3113. display: inline-block;
  3114. height: 11px;
  3115. width: 11px;
  3116. border-radius: 100%;
  3117. background: currentColor;
  3118. }
  3119. }
  3120. .icon-status {
  3121. fill: var(--ok-color);
  3122. &.inline {
  3123. margin-top: -3px;
  3124. vertical-align: middle;
  3125. }
  3126. &.inactive {
  3127. fill: var(--ghost-color);
  3128. }
  3129. &.ok {
  3130. fill: var(--supergood-color);
  3131. }
  3132. &.error {
  3133. fill: var(--superbad-color);
  3134. }
  3135. &.neutral {
  3136. fill: var(--ok-color);
  3137. }
  3138. }
  3139. .icon-status-modified-inner-circle {
  3140. position: absolute;
  3141. left: 50%;
  3142. top: 0;
  3143. will-change: opacity;
  3144. transform: translate3d(-50%, 0, 0);
  3145. animation: fade 1.8s ease-in-out infinite;
  3146. }
  3147. @keyframes fade {
  3148. 54% {
  3149. opacity: 1;
  3150. }
  3151. 90% {
  3152. opacity: 0;
  3153. }
  3154. 100% {
  3155. opacity: 1;
  3156. }
  3157. }
  3158. .icon-checkbox,
  3159. .icon-checkbox-checked,
  3160. .icon-checkbox-indeterminate {
  3161. fill: var(--text-inverted);
  3162. }
  3163. .icon-sso-button {
  3164. fill: var(--text-inverted);
  3165. }
  3166. /*
  3167. * removed margin of forms to not break the layout with submit buttons within <form></form> area e. g. for modal dialogs
  3168. */
  3169. .form {
  3170. margin: 0;
  3171. &--flexibleWidth .controls {
  3172. display: table;
  3173. }
  3174. &--horizontal {
  3175. display: flex;
  3176. flex-wrap: wrap;
  3177. align-items: flex-end;
  3178. .alert {
  3179. flex-basis: 100%;
  3180. }
  3181. fieldset {
  3182. flex: 1 1 auto;
  3183. margin-right: 6px;
  3184. }
  3185. .form-group:last-child {
  3186. margin-bottom: 0;
  3187. }
  3188. .form-buttons {
  3189. margin: 10px 10px 0 auto;
  3190. }
  3191. .controls {
  3192. min-width: 250px;
  3193. }
  3194. }
  3195. &--grid {
  3196. display: flex;
  3197. flex-wrap: wrap;
  3198. width: calc(100% + 20px);
  3199. margin-left: -10px;
  3200. margin-right: -10px;
  3201. @include phone {
  3202. display: block;
  3203. }
  3204. fieldset {
  3205. flex-basis: 100%;
  3206. display: flex;
  3207. flex-wrap: wrap;
  3208. }
  3209. .alert {
  3210. width: 100%;
  3211. margin-left: 10px;
  3212. margin-right: 10px;
  3213. margin-bottom: 10px;
  3214. margin-top: 0;
  3215. }
  3216. .form-group {
  3217. display: block;
  3218. padding: 0 10px;
  3219. width: 100%;
  3220. $sizes: '1/2', '1/3', '2/3', '1/4', '2/4', '3/4', '1/5', '2/5', '3/5',
  3221. '4/5';
  3222. @each $size in $sizes {
  3223. &[data-width='#{$size}'] {
  3224. width: calc(#{$size} * 100%);
  3225. @include phone {
  3226. width: 100%;
  3227. }
  3228. }
  3229. }
  3230. }
  3231. }
  3232. }
  3233. .form-controls {
  3234. @extend .clearfix;
  3235. display: flex;
  3236. align-items: center;
  3237. margin-top: 10px;
  3238. .btn + .btn:not(.align-right) {
  3239. @include bidi-style(margin-left, 20px, margin-right, 10px);
  3240. }
  3241. }
  3242. .form-buttons {
  3243. display: flex;
  3244. }
  3245. form a.standalone {
  3246. line-height: 40px;
  3247. margin: 0 5px;
  3248. }
  3249. form a.standalone.align-right {
  3250. @include bidi-style(margin-left, auto, margin-right, 0);
  3251. }
  3252. footer {
  3253. clear: both;
  3254. padding-top: 10px;
  3255. padding-left: 10px;
  3256. padding-right: 22px;
  3257. @include rtl(padding-left, 22px);
  3258. @include rtl(padding-right, 10px);
  3259. }
  3260. .overviews {
  3261. .sidebar {
  3262. @include small-desktop {
  3263. display: none;
  3264. }
  3265. }
  3266. .table > tbody > tr > td {
  3267. user-select: none;
  3268. }
  3269. }
  3270. .overview-header {
  3271. position: relative;
  3272. margin: 20px 0 32px;
  3273. height: 41px;
  3274. display: none;
  3275. align-items: center;
  3276. @include phone {
  3277. margin-top: 0;
  3278. }
  3279. .tabsHolder {
  3280. flex: 1;
  3281. @include bidi-style(margin-right, 20px, margin-left, 0);
  3282. min-width: 0; /* Firefox bug fix */
  3283. }
  3284. .tabs {
  3285. margin: 0;
  3286. position: relative;
  3287. @include phone {
  3288. overflow: visible;
  3289. }
  3290. }
  3291. .tab {
  3292. @include phone {
  3293. flex-shrink: 1;
  3294. }
  3295. }
  3296. .tabs-clone {
  3297. right: 0;
  3298. }
  3299. .dropdown {
  3300. min-width: 0;
  3301. width: 336px;
  3302. @include phone {
  3303. left: -1px;
  3304. right: auto;
  3305. width: calc(100vw - 70px);
  3306. }
  3307. }
  3308. @include small-desktop {
  3309. display: flex;
  3310. }
  3311. }
  3312. .table-overview {
  3313. @include phone {
  3314. margin-left: -10px;
  3315. margin-right: -10px;
  3316. }
  3317. }
  3318. .tableOverview-edit {
  3319. @extend .u-clickable, .u-highlight;
  3320. }
  3321. .bulkAction {
  3322. position: fixed;
  3323. bottom: 0;
  3324. @include bidi-style(left, $sidebarWidth + $navigationWidth, right, 0);
  3325. min-width: $minWidth - $sidebarWidth - $navigationWidth;
  3326. background: var(--background-secondary);
  3327. z-index: 1;
  3328. box-shadow: 0 -1px rgba(0, 0, 0, 0.05), 0 -2px rgba(0, 0, 0, 0.03),
  3329. 0 -3px rgba(0, 0, 0, 0.01);
  3330. @include small-desktop {
  3331. @include bidi-style(left, $navigationWidth, right, 0);
  3332. min-width: $minWidth - $sidebarWidth;
  3333. }
  3334. &.no-sidebar {
  3335. @include bidi-style(left, $navigationWidth, right, 0);
  3336. min-width: $minWidth - $navigationWidth;
  3337. @include small-desktop {
  3338. min-width: $minWidth;
  3339. }
  3340. }
  3341. @include phone {
  3342. @include bidi-style(left, $mobileNavigationWidth, right, 0);
  3343. min-width: 0;
  3344. .navigation:hover ~ &,
  3345. .navigation.is-hovered ~ &,
  3346. .navigation:active ~ & {
  3347. @include bidi-style(left, $mobileNavigationWidthOpen, right, 0);
  3348. }
  3349. }
  3350. }
  3351. .bulkAction-firstStep {
  3352. display: flex;
  3353. align-items: center;
  3354. @include phone {
  3355. flex-direction: column;
  3356. align-items: flex-end;
  3357. }
  3358. }
  3359. .bulkAction-firstStep .has-error {
  3360. border-color: red !important;
  3361. border: 1px solid;
  3362. }
  3363. .bulkAction-secondStep {
  3364. display: flex;
  3365. flex-direction: column;
  3366. &-bottom {
  3367. display: flex;
  3368. @include phone {
  3369. display: block;
  3370. }
  3371. }
  3372. }
  3373. .bulkAction .btn {
  3374. margin: 0 16px;
  3375. @include phone {
  3376. margin: 10px;
  3377. }
  3378. }
  3379. .bulkAction .btn--text {
  3380. @include bidi-style(margin-right, 0, margin-left, 16px);
  3381. }
  3382. .bulkAction-controls {
  3383. margin-top: 10px;
  3384. @include bidi-style(margin-left, auto, margin-right, 0);
  3385. @include phone {
  3386. margin-top: 0;
  3387. display: flex;
  3388. justify-content: space-between;
  3389. }
  3390. }
  3391. .panel {
  3392. box-shadow: none;
  3393. background: var(--background-secondary);
  3394. color: var(--text-normal);
  3395. }
  3396. .panel-default {
  3397. border-color: var(--border-alt);
  3398. }
  3399. .panel-default > .panel-heading {
  3400. padding-bottom: 8px;
  3401. font-weight: normal;
  3402. text-transform: uppercase;
  3403. font-size: 12px;
  3404. line-height: 17px;
  3405. letter-spacing: 0.05em;
  3406. color: inherit;
  3407. background: var(--background-primary-alt);
  3408. border-color: var(--border-alt);
  3409. + .panel-collapse > .panel-body {
  3410. border-top-color: var(--border-alt);
  3411. }
  3412. }
  3413. .panel-title {
  3414. font-size: inherit;
  3415. }
  3416. .panel-group .panel-heading {
  3417. display: block;
  3418. }
  3419. .panel-body ul {
  3420. list-style: none;
  3421. padding: 0;
  3422. margin: 0;
  3423. }
  3424. .well {
  3425. background: var(--background-secondary);
  3426. border: 1px solid var(--border);
  3427. border-radius: 3px;
  3428. padding: 10px;
  3429. }
  3430. .well-muted {
  3431. background-color: var(--background-secondary);
  3432. border: 1px solid rgba(0, 0, 0, 0.05);
  3433. border-radius: 4px;
  3434. box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
  3435. }
  3436. .merged,
  3437. .merge:hover {
  3438. text-decoration: line-through;
  3439. }
  3440. .translation {
  3441. border: 1px dotted #f92;
  3442. border-radius: 3px;
  3443. cursor: text;
  3444. }
  3445. .translation[contenteditable='true'] {
  3446. display: inline;
  3447. }
  3448. .translation[contenteditable='true']:hover,
  3449. .translation[contenteditable='true']:focus {
  3450. background: none;
  3451. }
  3452. .translation .icon-edit {
  3453. display: none;
  3454. }
  3455. .translation:hover .icon-edit {
  3456. display: inline-block;
  3457. }
  3458. .translationOverview .btn + .btn {
  3459. margin: -10px;
  3460. }
  3461. .sub_attribute .control-label {
  3462. width: 60px;
  3463. }
  3464. .sub_attribute .controls {
  3465. @include bidi-style(margin-left, 80px, margin-right, 0);
  3466. }
  3467. .splash {
  3468. position: absolute;
  3469. left: 0;
  3470. top: 0;
  3471. width: 100%;
  3472. height: 100%;
  3473. background: var(--background-primary);
  3474. display: flex;
  3475. align-items: center;
  3476. justify-content: center;
  3477. font-size: 16px;
  3478. color: var(--text-normal);
  3479. .icon {
  3480. @include bidi-style(margin-right, 10px, margin-left, 0);
  3481. }
  3482. }
  3483. .navigation {
  3484. width: $navigationWidth;
  3485. background: var(--background-quaternary);
  3486. position: relative;
  3487. @include phone {
  3488. position: absolute;
  3489. @include bidi-style(left, 0, right, auto);
  3490. top: 0;
  3491. left: 0;
  3492. width: $mobileNavigationWidth;
  3493. height: 100%;
  3494. z-index: 1;
  3495. overflow-x: hidden;
  3496. overflow-y: auto;
  3497. &:empty {
  3498. display: none !important;
  3499. }
  3500. &:hover,
  3501. &:active,
  3502. &.is-hovered {
  3503. width: $mobileNavigationWidthOpen;
  3504. .menu-item-name {
  3505. display: block;
  3506. padding-left: 15px;
  3507. }
  3508. }
  3509. }
  3510. }
  3511. .menu {
  3512. padding: 0;
  3513. margin: 0;
  3514. list-style: none;
  3515. flex-shrink: 0;
  3516. }
  3517. .menu .badge {
  3518. background: var(--ok-color);
  3519. color: hsl(233, 10%, 16%);
  3520. @include bidi-style(margin-right, 8px, margin-left, 0);
  3521. }
  3522. .menu .zammad-switch {
  3523. height: 22px;
  3524. }
  3525. .menu .dropdown-menu {
  3526. left: 10px;
  3527. right: 15px;
  3528. min-width: 0;
  3529. }
  3530. .menu-item {
  3531. padding: 0 15px;
  3532. height: 48px;
  3533. color: var(--menu-text);
  3534. border-bottom: 1px solid hsla(230, 4%, 84%, 0.05);
  3535. text-decoration: none;
  3536. display: flex;
  3537. align-items: center;
  3538. @extend %clickable;
  3539. @include phone {
  3540. padding: 0 13px;
  3541. position: relative;
  3542. }
  3543. .icon {
  3544. fill: var(--menu-icon);
  3545. &.accessory-icon {
  3546. opacity: 0.7;
  3547. }
  3548. }
  3549. &:hover {
  3550. background: hsla(0, 0%, 0%, 0.3);
  3551. border-bottom-color: hsla(230, 4%, 84%, 0.1);
  3552. }
  3553. &.is-active,
  3554. &.is-hovered {
  3555. background: none;
  3556. color: var(--text-inverted);
  3557. }
  3558. &.is-active .menu-item-icon,
  3559. &.is-active .dropdown-icon,
  3560. &.is-hovered .menu-item-icon {
  3561. fill: currentColor;
  3562. }
  3563. &.is-active,
  3564. &.is-hovered {
  3565. background: var(--button-primary-background);
  3566. }
  3567. &.is-active .zammad-switch {
  3568. input:not(:checked) + label {
  3569. // switch background
  3570. background: var(--button-primary-background-active);
  3571. }
  3572. label::after {
  3573. background: var(--text-inverted);
  3574. }
  3575. }
  3576. .dropdown-icon {
  3577. fill: currentColor;
  3578. }
  3579. .zammad-switch {
  3580. @include phone {
  3581. .navigation:not(:hover, :active, .is-hovered) & {
  3582. position: absolute;
  3583. right: 12px;
  3584. top: 12px;
  3585. width: auto;
  3586. height: auto;
  3587. border-radius: 0;
  3588. input:checked + label {
  3589. background: var(--supergood-color);
  3590. }
  3591. label {
  3592. width: 8px;
  3593. height: 8px;
  3594. background: red;
  3595. border-radius: 100%;
  3596. transition: none;
  3597. &::after {
  3598. display: none;
  3599. }
  3600. }
  3601. }
  3602. }
  3603. }
  3604. }
  3605. .menu-item-icon {
  3606. @include bidi-style(margin-right, 15px, margin-left, 0);
  3607. width: 24px;
  3608. height: 24px;
  3609. @include phone {
  3610. @include bidi-style(margin-right, 0, margin-left, 0);
  3611. }
  3612. }
  3613. .menu-item-name {
  3614. flex: 1;
  3615. margin-top: 2px;
  3616. @include phone {
  3617. display: none;
  3618. }
  3619. }
  3620. .call-widgets {
  3621. overflow-y: auto;
  3622. max-height: 30vh;
  3623. }
  3624. .call-widget {
  3625. background: var(--background-quaternary-alt);
  3626. padding: 8px 10px;
  3627. & + & {
  3628. border-top: 1px solid var(--background-modifier-border);
  3629. }
  3630. &-header {
  3631. display: flex;
  3632. color: inherit;
  3633. margin-bottom: 3px;
  3634. .label {
  3635. color: inherit;
  3636. margin: 0;
  3637. }
  3638. .btn--text {
  3639. color: inherit;
  3640. opacity: 0.5;
  3641. &:hover {
  3642. opacity: 1;
  3643. }
  3644. }
  3645. .icon-diagonal-cross {
  3646. width: 9px;
  3647. height: 9px;
  3648. margin-top: -5px;
  3649. }
  3650. }
  3651. }
  3652. .tasks {
  3653. background: var(--background-tertiary);
  3654. flex: 1;
  3655. overflow: auto;
  3656. -webkit-overflow-scrolling: touch;
  3657. @include phone {
  3658. overflow-x: hidden;
  3659. min-height: 60px;
  3660. }
  3661. }
  3662. .tasks.tasks--standalone {
  3663. background: none;
  3664. margin: 8px 0 0;
  3665. padding: 0;
  3666. overflow: visible;
  3667. }
  3668. .tasks--standalone .task {
  3669. padding: 0;
  3670. margin-bottom: 9px;
  3671. display: flex;
  3672. .icon-holder {
  3673. &:first-child .icon-task-state {
  3674. margin-left: -2px;
  3675. }
  3676. .icon {
  3677. width: 16px;
  3678. height: 16px;
  3679. vertical-align: middle;
  3680. margin-top: -3px;
  3681. @include bidi-style(margin-right, 4px, margin-left, 0);
  3682. }
  3683. }
  3684. }
  3685. .tasks--standalone .task-text {
  3686. flex: 1;
  3687. min-width: 0; /* Firefox wrong content-calculation with word-wrap workaround */
  3688. }
  3689. .tasks--standalone .task-id {
  3690. &::after {
  3691. content: ' - ';
  3692. }
  3693. }
  3694. .tasks--standalone .name {
  3695. @extend .u-highlight, .u-textTruncate;
  3696. display: block;
  3697. }
  3698. .tasks--standalone .time {
  3699. color: var(--text-muted);
  3700. }
  3701. .tasks--standalone .btn-show-all {
  3702. margin-bottom: 9px;
  3703. }
  3704. .nav-tab {
  3705. @include bidi-style(padding, 10px 15px 9px 0, padding, 10px 0 9px 15px);
  3706. position: relative;
  3707. color: var(--menu-text);
  3708. display: flex;
  3709. align-items: center;
  3710. @extend .u-clickable;
  3711. @include phone {
  3712. width: $mobileNavigationWidthOpen;
  3713. }
  3714. }
  3715. .tasks-navigation .nav-tab {
  3716. height: 40px;
  3717. border-bottom: 1px solid hsla(230, 4%, 84%, 0.05);
  3718. }
  3719. .tasks-navigation .nav-tab:not(.is-active):hover {
  3720. background: var(--background-quaternary);
  3721. border-bottom-color: hsla(230, 4%, 84%, 0.1);
  3722. }
  3723. .navigation .nav-tab-name {
  3724. text-align: start;
  3725. &.is-inactive {
  3726. text-decoration: line-through;
  3727. opacity: 0.73;
  3728. }
  3729. }
  3730. .tasks-navigation .nav-tab-icon .error {
  3731. transform: scale(0.85);
  3732. }
  3733. .nav-tab.is-active,
  3734. .nav-tab.nav-tab--search:hover,
  3735. .nav-tab.nav-tab--search.is-hover {
  3736. background: #389ed9;
  3737. color: var(--text-inverted);
  3738. .nav-tab-icon .icon {
  3739. fill: currentColor;
  3740. }
  3741. }
  3742. .nav-tab.ui-sortable-helper {
  3743. border-bottom-color: transparent;
  3744. }
  3745. .nav-tab.nav-tab--search {
  3746. height: 30px;
  3747. padding-top: 9px;
  3748. &.is-inactive {
  3749. text-decoration: line-through;
  3750. opacity: 0.73;
  3751. }
  3752. }
  3753. .nav-tab-icon {
  3754. margin-top: -3px;
  3755. display: flex;
  3756. align-items: center;
  3757. justify-content: center;
  3758. position: relative;
  3759. width: 30px;
  3760. }
  3761. .nav-tab-icon .icon {
  3762. max-width: 18px;
  3763. max-height: 18px;
  3764. fill: var(--nav-icon);
  3765. }
  3766. .nav-tab-icon .icon-diagonal-cross {
  3767. fill: #f35910;
  3768. width: 12px;
  3769. height: 12px;
  3770. }
  3771. .nav-tab-icon .icon.icon-loading {
  3772. animation: rotateplane 1.2s infinite ease-in-out;
  3773. fill: var(--supergood-color);
  3774. /*
  3775. Safari font rendering bugfix while animating
  3776. http://stackoverflow.com/questions/9733011/safari-changing-font-weights-when-unrelated-animations-are-running
  3777. */
  3778. @extend .zIndex-5; // stay beneath .global-search-menu
  3779. position: relative;
  3780. }
  3781. .nav-tab-close {
  3782. position: absolute;
  3783. @include bidi-style(right, 0, left, auto);
  3784. top: 0;
  3785. height: 100%;
  3786. @include bidi-style(padding-right, 16px, padding-left, 0);
  3787. visibility: hidden;
  3788. @extend .u-clickable;
  3789. display: flex;
  3790. align-items: center;
  3791. @include phone {
  3792. visibility: visible;
  3793. }
  3794. }
  3795. .nav-tab:hover .nav-tab-close {
  3796. visibility: visible;
  3797. }
  3798. .nav-tab-close-inner {
  3799. width: 19px;
  3800. height: 19px;
  3801. background-color: var(--background-tertiary);
  3802. border-radius: 100%;
  3803. display: flex;
  3804. align-items: center;
  3805. justify-content: center;
  3806. }
  3807. .nav-tab-close:hover .nav-tab-close-inner {
  3808. background-color: #972e29;
  3809. }
  3810. .nav-tab-close svg {
  3811. width: 9px;
  3812. height: 9px;
  3813. fill: var(--text-inverted);
  3814. opacity: 0.3;
  3815. }
  3816. .nav-tab-close:hover svg {
  3817. opacity: 1;
  3818. }
  3819. .icon-task-state {
  3820. vertical-align: middle;
  3821. }
  3822. .nav-tab-icon .icon-task-state {
  3823. margin: 0;
  3824. }
  3825. .nav-tab.task-state-open.is-active {
  3826. background-color: var(--ok-color);
  3827. }
  3828. .task-state-open-color {
  3829. color: var(--ok-color);
  3830. }
  3831. .icon-task-state.open {
  3832. fill: var(--ok-color);
  3833. }
  3834. .nav-tab.task-state-closed.is-active {
  3835. background-color: var(--supergood-color);
  3836. }
  3837. .task-state-closed-color {
  3838. color: var(--supergood-color);
  3839. }
  3840. .icon-task-state.closed {
  3841. fill: var(--supergood-color);
  3842. }
  3843. .nav-tab.task-state-escalating.is-active {
  3844. background-color: var(--superbad-color);
  3845. }
  3846. .task-state-escalating-color {
  3847. color: var(--superbad-color);
  3848. }
  3849. .icon-task-state.escalating {
  3850. fill: var(--superbad-color);
  3851. }
  3852. // TODO: rename to knowledgebase icon when it's available
  3853. .icon-task-state.archived {
  3854. fill: var(--superbad-color);
  3855. }
  3856. .icon-task-state.published {
  3857. fill: var(--supergood-color);
  3858. }
  3859. .icon-task-state.draft {
  3860. fill: var(--ghost-color);
  3861. }
  3862. // pending: stays blue
  3863. // .nav-tab.task-state-pending.is-active {
  3864. // background-color: var(--pending-color);
  3865. // }
  3866. .task-state-pending-color {
  3867. color: var(--text-muted);
  3868. }
  3869. .icon-task-state.pending {
  3870. fill: var(--pending-color);
  3871. }
  3872. .state-badge {
  3873. display: flex;
  3874. align-items: center;
  3875. .icon-task-state {
  3876. @include bidi-style(margin-right, 2px, margin-left, 0);
  3877. }
  3878. }
  3879. .search {
  3880. padding: 11px 5px 4px 10px;
  3881. @include rtl(padding, 11px 10px 4px 0);
  3882. border-bottom: 1px solid rgba(240, 250, 255, 0.05);
  3883. flex-shrink: 0;
  3884. display: flex;
  3885. align-items: flex-start;
  3886. background-color: inherit;
  3887. @include phone {
  3888. padding: 10px 5px 5px;
  3889. @include rtl(padding, 10px 5px 5px);
  3890. display: block;
  3891. }
  3892. }
  3893. .search-holder {
  3894. flex: 1;
  3895. border-radius: 15px;
  3896. position: relative;
  3897. transition: margin-right 120ms;
  3898. will-change: margin-right;
  3899. @include phone {
  3900. transition: none;
  3901. will-change: initial;
  3902. }
  3903. }
  3904. .empty-search {
  3905. position: absolute;
  3906. @include bidi-style(right, 0, left, auto);
  3907. top: 0;
  3908. height: 30px;
  3909. width: 40px;
  3910. z-index: 1;
  3911. visibility: hidden;
  3912. display: flex;
  3913. align-items: center;
  3914. justify-content: center;
  3915. @extend %clickable;
  3916. }
  3917. .search .empty-search .icon-diagonal-cross {
  3918. fill: var(--text-inverted);
  3919. opacity: 0.5;
  3920. }
  3921. .filled.search .empty-search {
  3922. visibility: visible;
  3923. }
  3924. .search input[type='search'] {
  3925. width: 100%;
  3926. padding: 5px 33px;
  3927. height: 30px;
  3928. color: #ececec;
  3929. background: #31373b;
  3930. line-height: 20px;
  3931. outline: none;
  3932. border: none;
  3933. border-radius: 15px;
  3934. position: relative;
  3935. z-index: 1;
  3936. appearance: textfield;
  3937. @include phone {
  3938. padding: 5px 33px;
  3939. font-size: 16px;
  3940. }
  3941. }
  3942. .search:not(.filled, .focused) input[type='search'] {
  3943. @include phone {
  3944. padding: 0;
  3945. }
  3946. }
  3947. input[type='search']::-webkit-search-cancel-button,
  3948. input[type='search']::-webkit-search-decoration {
  3949. -webkit-appearance: none;
  3950. }
  3951. .search .search-loader {
  3952. position: absolute;
  3953. top: 8px;
  3954. left: 10px;
  3955. z-index: 2;
  3956. opacity: 0;
  3957. transition: 0.1s 0s;
  3958. pointer-events: none;
  3959. .icon {
  3960. fill: var(--text-inverted);
  3961. opacity: 0.5;
  3962. }
  3963. }
  3964. .search.loading .search-loader {
  3965. opacity: 1;
  3966. transition: 0.2s 0.5s;
  3967. }
  3968. .search .icon-magnifier {
  3969. position: absolute;
  3970. top: 8px;
  3971. left: 10px;
  3972. @include bidi-style(left, 10px, right, auto);
  3973. z-index: 2;
  3974. opacity: 0.5;
  3975. fill: var(--text-inverted);
  3976. transition: 0.1s 0s;
  3977. pointer-events: none;
  3978. }
  3979. .search.loading .icon-magnifier {
  3980. opacity: 0;
  3981. transition: 0.2s 0.5s;
  3982. }
  3983. .search.focused .search-holder {
  3984. transition: margin-right 240ms;
  3985. @include bidi-style(margin-right, -59px, margin-left, 0);
  3986. @include phone {
  3987. margin: 0 !important;
  3988. }
  3989. }
  3990. .search.focused .logo {
  3991. opacity: 0;
  3992. z-index: -1;
  3993. @include phone {
  3994. opacity: 1;
  3995. z-index: initial;
  3996. }
  3997. }
  3998. .search.filled {
  3999. .search-holder {
  4000. @include phone {
  4001. .navigation:not(:hover, :active, .is-hovered) & {
  4002. width: 210px;
  4003. }
  4004. }
  4005. }
  4006. .logo {
  4007. @include phone {
  4008. opacity: 0;
  4009. }
  4010. }
  4011. }
  4012. .search .logo {
  4013. position: relative;
  4014. @extend .u-clickable, .zIndex-3;
  4015. margin: -4px 10px 0 12px;
  4016. transition: 240ms;
  4017. @include phone {
  4018. margin: 10px 0 0;
  4019. }
  4020. }
  4021. .search .logo .icon-logo {
  4022. position: relative;
  4023. @include phone {
  4024. width: 35px;
  4025. height: 30px;
  4026. margin-left: 4px;
  4027. }
  4028. }
  4029. .search .logo .activity-counter {
  4030. min-width: 21px;
  4031. position: absolute;
  4032. right: -3px;
  4033. bottom: 2px;
  4034. padding: 0 4px;
  4035. font-size: 12px;
  4036. font-weight: 300;
  4037. line-height: 16px;
  4038. text-align: center;
  4039. color: var(--text-inverted);
  4040. text-shadow: 0 1px 1px rgba(0, 0, 0, 0.21);
  4041. background: hsl(360, 71%, 60%);
  4042. border-radius: 10px;
  4043. border: 2px solid var(--background-quaternary);
  4044. }
  4045. .search .logo .activity-counter:empty {
  4046. display: none;
  4047. }
  4048. .global-search-menu {
  4049. @extend .zIndex-7;
  4050. background: var(--background-quaternary);
  4051. position: absolute;
  4052. left: 0;
  4053. right: 0;
  4054. bottom: 0;
  4055. top: 53px;
  4056. display: none;
  4057. overflow: auto;
  4058. -webkit-overflow-scrolling: touch;
  4059. .divider {
  4060. height: 1px;
  4061. background: #2f3238;
  4062. margin: 14px 0 17px;
  4063. }
  4064. }
  4065. .search.open .global-search-menu {
  4066. display: block;
  4067. }
  4068. .global-search-detail-link {
  4069. padding: 9px 15px 8px 0;
  4070. margin-bottom: 7px;
  4071. height: auto !important;
  4072. .no-match & {
  4073. display: none;
  4074. }
  4075. .nav-tab-icon {
  4076. width: 18px;
  4077. margin-left: 10px;
  4078. margin-right: 10px;
  4079. .icon {
  4080. width: 18px;
  4081. height: 14px;
  4082. }
  4083. }
  4084. .nav-tab-name {
  4085. .icon {
  4086. fill: currentColor;
  4087. margin: -2px 0 0 3px;
  4088. vertical-align: middle;
  4089. }
  4090. }
  4091. }
  4092. .global-search-result {
  4093. margin: 0;
  4094. padding: 0;
  4095. list-style: none;
  4096. }
  4097. .global-search-detail-no-result {
  4098. margin: 0 10px;
  4099. .icon {
  4100. width: 30px;
  4101. height: 29px;
  4102. }
  4103. }
  4104. .user-menu {
  4105. padding: 0;
  4106. margin: 0;
  4107. list-style: none;
  4108. position: relative;
  4109. flex-shrink: 0;
  4110. display: flex;
  4111. @include phone {
  4112. flex-direction: column;
  4113. }
  4114. }
  4115. .user-menu > li {
  4116. flex: 1;
  4117. background: var(--background-quaternary);
  4118. }
  4119. .user-menu .list-button {
  4120. height: 60px;
  4121. position: relative;
  4122. text-decoration: none;
  4123. @extend .u-clickable;
  4124. display: flex;
  4125. align-items: center;
  4126. justify-content: center;
  4127. @include phone {
  4128. height: 46px;
  4129. }
  4130. }
  4131. .user-menu .list-button *:not(.dropdown-nose, .icon-crown) {
  4132. position: relative;
  4133. }
  4134. .user-menu > li:hover .list-button::before,
  4135. .user-menu > li.is-active .list-button::before,
  4136. .user-menu > li.is-hovered .list-button::before {
  4137. content: '';
  4138. position: absolute;
  4139. top: 4px;
  4140. right: 4px;
  4141. bottom: 4px;
  4142. left: 4px;
  4143. background: var(--text-inverted);
  4144. }
  4145. .user-menu > li.is-active .list-button::before {
  4146. background: var(--highlight);
  4147. }
  4148. .user-menu li.add:hover .list-button::before,
  4149. .user-menu li.add.is-active .list-button::before,
  4150. .user-menu li.add.is-hovered .list-button::before {
  4151. background: #38ae6a;
  4152. }
  4153. .user-menu-icon {
  4154. width: 20px;
  4155. height: 20px;
  4156. fill: hsl(0, 0%, 30%);
  4157. }
  4158. .user-menu-icon.icon-plus {
  4159. fill: hsl(145, 51%, 45%);
  4160. }
  4161. .user-menu > li:hover .user-menu-icon {
  4162. fill: hsl(232, 10%, 16%);
  4163. }
  4164. .user-menu > li.is-active .user-menu-icon {
  4165. fill: var(--text-inverted);
  4166. }
  4167. .user-menu > li.add:hover .user-menu-icon.icon-plus,
  4168. .user-menu > li.add.is-hovered .user-menu-icon.icon-plus,
  4169. .user-menu > li.add.is-active .user-menu-icon.icon-plus {
  4170. fill: var(--text-inverted);
  4171. }
  4172. .user-menu > li:not(:last-child) {
  4173. border-right: 1px solid var(--background-modifier-accent);
  4174. @include phone {
  4175. border: none;
  4176. }
  4177. }
  4178. .dropdown-nose {
  4179. position: absolute;
  4180. border: 7px solid transparent;
  4181. border-bottom: none;
  4182. border-top: 7px solid var(--background-secondary);
  4183. left: 50%;
  4184. margin-left: -7px;
  4185. top: -6px;
  4186. display: none;
  4187. }
  4188. li.add .dropdown-nose {
  4189. border-top-color: #38af6e;
  4190. }
  4191. .open.dropdown .dropdown-nose,
  4192. .open.dropup .dropdown-nose {
  4193. display: block;
  4194. }
  4195. .user-menu .dropdown-menu {
  4196. padding: 0;
  4197. border-radius: 0;
  4198. margin-bottom: 5px;
  4199. min-width: 0;
  4200. left: 10px;
  4201. right: 15px;
  4202. width: auto;
  4203. &.selected-clue {
  4204. position: absolute;
  4205. }
  4206. }
  4207. .user-menu li.add .dropdown-menu {
  4208. background-color: #38af6e;
  4209. }
  4210. .user-menu li.add .dropdown-menu li > a {
  4211. color: var(--text-inverted);
  4212. }
  4213. .user-menu li.add .dropdown-menu .divider {
  4214. background: #4cb77c;
  4215. }
  4216. .user-menu .dropdown-menu .divider {
  4217. margin: 0;
  4218. }
  4219. .user-menu .dropdown-menu > li > a {
  4220. display: flex;
  4221. }
  4222. .avatar {
  4223. width: 40px;
  4224. height: 40px;
  4225. background-size: cover;
  4226. background-position: center;
  4227. border-radius: 100%;
  4228. display: inline-block;
  4229. vertical-align: bottom;
  4230. position: relative;
  4231. flex-shrink: 0;
  4232. @include phone {
  4233. width: 30px;
  4234. height: 30px;
  4235. }
  4236. a {
  4237. color: inherit;
  4238. }
  4239. &.size-30 {
  4240. width: 30px;
  4241. height: 30px;
  4242. @include phone {
  4243. width: 22px;
  4244. height: 22px;
  4245. }
  4246. }
  4247. .icon-crown {
  4248. position: absolute;
  4249. width: 28px;
  4250. left: 50%;
  4251. margin-left: -14px;
  4252. top: -15px;
  4253. fill: hsl(47, 100%, 59%);
  4254. @include phone {
  4255. width: 20px;
  4256. margin-left: -10px;
  4257. }
  4258. }
  4259. &-status {
  4260. position: absolute;
  4261. right: -4px;
  4262. bottom: -4px;
  4263. border-radius: 999px;
  4264. background: var(--background-tertiary);
  4265. fill: var(--text-inverted);
  4266. width: 21px;
  4267. height: 21px;
  4268. display: flex;
  4269. align-items: center;
  4270. justify-content: center;
  4271. }
  4272. &.size-50 {
  4273. width: 50px;
  4274. height: 50px;
  4275. @include phone {
  4276. width: 36px;
  4277. height: 36px;
  4278. }
  4279. .icon-crown {
  4280. width: 36px;
  4281. margin-left: -18px;
  4282. @include phone {
  4283. width: 26px;
  4284. margin-left: -13px;
  4285. }
  4286. }
  4287. }
  4288. &.size-80 {
  4289. width: 82px;
  4290. height: 82px;
  4291. @include phone {
  4292. width: 60px;
  4293. height: 60px;
  4294. }
  4295. .icon-crown {
  4296. width: 64px;
  4297. margin-left: -32px;
  4298. top: -16px;
  4299. @include phone {
  4300. width: 46px;
  4301. margin-left: -43px;
  4302. top: -15px;
  4303. }
  4304. }
  4305. }
  4306. &--vacation {
  4307. filter: grayscale(70%);
  4308. opacity: 1;
  4309. }
  4310. &--idle {
  4311. filter: grayscale(100%);
  4312. opacity: 0.5;
  4313. }
  4314. &--inactive {
  4315. filter: grayscale(100%);
  4316. opacity: 0.2;
  4317. }
  4318. &--unique {
  4319. background-image: image_url('/assets/images/avatar-bg.png');
  4320. background-size: 300px 226px;
  4321. color: var(--text-inverted);
  4322. line-height: 40px;
  4323. text-align: center;
  4324. font-size: 13px;
  4325. letter-spacing: 0.05em;
  4326. text-transform: uppercase;
  4327. text-shadow: 0 1px rgba(0, 0, 0, 0.2);
  4328. cursor: default;
  4329. @include phone {
  4330. line-height: 30px;
  4331. }
  4332. &.size-30 {
  4333. font-size: 10px;
  4334. line-height: 32px;
  4335. background-size: 225px 170px;
  4336. @include phone {
  4337. line-height: 22px;
  4338. }
  4339. }
  4340. &.size-50 {
  4341. font-size: 16px;
  4342. line-height: 52px;
  4343. background-size: 375px 283px;
  4344. @include phone {
  4345. line-height: 38px;
  4346. }
  4347. }
  4348. &.size-80 {
  4349. font-size: 26px;
  4350. line-height: 84px;
  4351. background-size: 600px 452px;
  4352. @include phone {
  4353. line-height: 62px;
  4354. }
  4355. }
  4356. }
  4357. &--organization {
  4358. display: flex;
  4359. align-items: center;
  4360. justify-content: center;
  4361. .icon-organization {
  4362. fill: currentColor;
  4363. }
  4364. &.size-80 {
  4365. .icon-organization {
  4366. width: 32px;
  4367. height: 32px;
  4368. }
  4369. }
  4370. }
  4371. &--group {
  4372. overflow: hidden;
  4373. .icon {
  4374. fill: var(--text-inverted);
  4375. position: absolute;
  4376. left: 50%;
  4377. transform: translateX(-50%);
  4378. width: 44px;
  4379. height: 44px;
  4380. bottom: -8px;
  4381. }
  4382. &.size-30 .icon {
  4383. width: 33px;
  4384. height: 33px;
  4385. bottom: -6px;
  4386. }
  4387. &.size-50 .icon {
  4388. width: 55px;
  4389. height: 55px;
  4390. bottom: -10px;
  4391. }
  4392. &.size-80 .icon {
  4393. width: 88px;
  4394. height: 88px;
  4395. bottom: -15px;
  4396. }
  4397. &-color-0 {
  4398. background: hsl(192, 100%, 38%);
  4399. }
  4400. &-color-1 {
  4401. background: hsl(148, 100%, 38%);
  4402. }
  4403. &-color-2 {
  4404. background: hsl(57, 100%, 37%);
  4405. }
  4406. }
  4407. .icon-logo {
  4408. width: 100%;
  4409. height: 100%;
  4410. }
  4411. }
  4412. .sidebar {
  4413. position: relative;
  4414. width: 280px;
  4415. padding: 20px;
  4416. color: var(--text-normal);
  4417. background: var(--background-secondary);
  4418. @include bidi-style(border-right, 1px solid var(--border), border-left, none);
  4419. overflow: auto;
  4420. -webkit-overflow-scrolling: touch;
  4421. @include small-desktop {
  4422. &.optional {
  4423. display: none;
  4424. }
  4425. }
  4426. h2 {
  4427. margin-top: 0;
  4428. }
  4429. h3 {
  4430. margin: 0;
  4431. font-weight: normal;
  4432. font-size: 16px;
  4433. text-transform: initial;
  4434. letter-spacing: 0;
  4435. }
  4436. }
  4437. .sidebar-block {
  4438. margin: 20px 0;
  4439. &:first-child {
  4440. margin-top: 0;
  4441. }
  4442. &-actions {
  4443. margin-bottom: 7px;
  4444. }
  4445. &-header {
  4446. margin-bottom: 7px;
  4447. h2 {
  4448. margin: 0;
  4449. }
  4450. }
  4451. [contenteditable='true'] {
  4452. white-space: normal; // do no u-textTruncate, we want to edit it inline
  4453. }
  4454. .btn-list {
  4455. margin-bottom: 5px;
  4456. }
  4457. &-button {
  4458. .sidebar-block-header + &.text-muted {
  4459. margin-top: 3px;
  4460. }
  4461. }
  4462. }
  4463. .sidebar-git-issue-delete {
  4464. text-align: right;
  4465. @include rtl(text-align, left);
  4466. float: right;
  4467. @include rtl(float, left);
  4468. }
  4469. .sidebar-git-issue-content {
  4470. width: 90%;
  4471. }
  4472. .main + .sidebar {
  4473. border-right: none;
  4474. border-left: 1px solid var(--border);
  4475. @include dark {
  4476. border-left: none;
  4477. }
  4478. }
  4479. .NavBarAdmin.sidebar,
  4480. .NavBarProfile.sidebar {
  4481. width: $sidebarWidth;
  4482. @include phone {
  4483. width: 50px;
  4484. padding-left: 10px;
  4485. padding-right: 10px;
  4486. &:hover,
  4487. &:active {
  4488. width: 165px;
  4489. padding-left: 15px;
  4490. padding-right: 15px;
  4491. }
  4492. }
  4493. h2 {
  4494. margin: 21px 0 12px;
  4495. @include phone {
  4496. white-space: nowrap;
  4497. }
  4498. }
  4499. h2:first-child {
  4500. margin-top: 0;
  4501. }
  4502. }
  4503. .nav-stacked > li + li {
  4504. margin-top: 0;
  4505. }
  4506. .nav-pills > li > a,
  4507. .nav-pills > li > a:focus,
  4508. .nav-pills > li > a:active,
  4509. .nav-pills .nav-pills-placeholder {
  4510. color: var(--text-nav);
  4511. border-radius: 0;
  4512. background: transparent; /* a:focus, a:active with bg: transparent fixes gray focus bg in IE 10 */
  4513. display: flex;
  4514. @extend .u-textTruncate;
  4515. }
  4516. .nav-pills.nav-stacked > li > a,
  4517. .nav-pills.nav-stacked > li > a:focus,
  4518. .nav-pills.nav-stacked > li > a:active,
  4519. .nav-pills.nav-stacked .nav-pills-placeholder {
  4520. padding: 0;
  4521. height: 40px;
  4522. line-height: 39px;
  4523. border-top: 1px solid var(--background-modifier-border);
  4524. }
  4525. .nav-pills.nav-stacked .nav-pills-placeholder {
  4526. display: block;
  4527. border-top: none;
  4528. @extend .label-subtle;
  4529. @extend .u-textTruncate;
  4530. }
  4531. .nav-pills > li:hover > a {
  4532. background: var(--background-secondary-hover);
  4533. }
  4534. .nav-pills.nav-stacked > li:hover > a,
  4535. .nav-pills.nav-stacked > li.active + li:not(.active) > a,
  4536. .nav-pills.nav-stacked > li:hover + li:not(.active) > a {
  4537. border-color: transparent;
  4538. }
  4539. .nav-pills > li.active > a,
  4540. .nav-pills > li.active > a:hover,
  4541. .nav-pills > li.active > a:focus {
  4542. color: var(--text-inverted);
  4543. background: var(--background-active);
  4544. border-color: var(--background-modifier-border);
  4545. }
  4546. .nav-pills.nav-stacked > li:hover > a,
  4547. .nav-pills.nav-stacked > li.active > a,
  4548. .nav-pills.nav-stacked > li.active > a:hover,
  4549. .nav-pills.nav-stacked > li.active > a:focus {
  4550. padding-left: 10px;
  4551. padding-right: 10px;
  4552. margin-left: -10px;
  4553. margin-right: -10px;
  4554. }
  4555. .sidebar:not(.NavBarAdmin) .nav-pills > li:first-child > a {
  4556. border-top: none;
  4557. }
  4558. .nav-pills > li > a > .icon {
  4559. fill: currentColor;
  4560. flex-shrink: 0;
  4561. align-self: center;
  4562. margin-top: -2px;
  4563. &:first-child {
  4564. @include bidi-style(margin-right, 5px, margin-left, 0);
  4565. &[data-font] {
  4566. @include bidi-style(margin-right, 10px, margin-left, 0);
  4567. @include bidi-style(margin-left, 5px, margin-right, 0);
  4568. }
  4569. }
  4570. }
  4571. .nav-pills > li > a > .badge {
  4572. margin-left: auto;
  4573. margin-right: 5px;
  4574. @include bidi-style(padding-left, 10px, padding-right, 0);
  4575. @include rtl(margin-left, 5px);
  4576. @include rtl(margin-right, auto);
  4577. }
  4578. a.list-group-item.active > .badge,
  4579. .nav-pills > .active > a > .badge {
  4580. color: var(--text-inverted);
  4581. background: none;
  4582. }
  4583. .main {
  4584. padding: 10px 20px;
  4585. overflow: auto;
  4586. -webkit-overflow-scrolling: touch;
  4587. position: relative;
  4588. @include phone {
  4589. padding: 10px;
  4590. }
  4591. &--large-padding {
  4592. padding: 30px 40px;
  4593. }
  4594. }
  4595. .main--tabs,
  4596. .main.no-padding {
  4597. padding: 0;
  4598. }
  4599. .tooltip {
  4600. font-family: inherit;
  4601. }
  4602. .tooltip-inner {
  4603. max-width: 400px;
  4604. }
  4605. .popover {
  4606. @extend .zIndex-7;
  4607. position: absolute;
  4608. font-family: inherit;
  4609. width: 372px;
  4610. max-width: 9999px;
  4611. border-radius: 0;
  4612. margin: 0 5px;
  4613. background: var(--background-popover);
  4614. border: none;
  4615. box-shadow: var(--elevation-high);
  4616. @include rtl(text-align, right);
  4617. @include phone {
  4618. width: auto;
  4619. }
  4620. > .arrow::after {
  4621. border-color: var(--background-popover);
  4622. }
  4623. }
  4624. .popover--has-horizontal-form {
  4625. width: auto;
  4626. }
  4627. .popover-body {
  4628. overflow: auto;
  4629. -webkit-overflow-scrolling: touch;
  4630. }
  4631. .popover-title {
  4632. border: none;
  4633. background: none;
  4634. padding: 21px 17px 4px;
  4635. .is-inactive {
  4636. text-decoration: line-through;
  4637. color: var(--interactive-muted);
  4638. }
  4639. }
  4640. .popover-content {
  4641. padding: 0 17px;
  4642. margin-bottom: 21px;
  4643. .popover--has-horizontal-form & {
  4644. padding: 10px 5px 15px 15px;
  4645. margin-bottom: 0;
  4646. }
  4647. }
  4648. .popover.right {
  4649. margin-left: 4px;
  4650. }
  4651. .popover.right > .arrow {
  4652. border-right: none;
  4653. left: -9px;
  4654. }
  4655. .popover.top {
  4656. margin-bottom: 9px;
  4657. }
  4658. .popover.top > .arrow {
  4659. border-top: none;
  4660. bottom: -9px;
  4661. }
  4662. .popover.left {
  4663. margin-right: 9px;
  4664. margin-left: 0;
  4665. }
  4666. .popover.left > .arrow {
  4667. border-left: none;
  4668. right: -9px;
  4669. }
  4670. .popover.bottom {
  4671. margin-top: 9px;
  4672. }
  4673. .popover.bottom > .arrow {
  4674. border-bottom: none;
  4675. top: -9px;
  4676. }
  4677. .popover > .arrow::after {
  4678. border-width: 8px;
  4679. }
  4680. .popover .priority.icon::after {
  4681. background: var(--background-secondary);
  4682. }
  4683. .popover .person .organization {
  4684. color: var(--text-muted);
  4685. }
  4686. .popover .person {
  4687. &.is-inactive {
  4688. text-decoration: line-through;
  4689. color: var(--ghost-color);
  4690. }
  4691. }
  4692. .popover .user-organization {
  4693. @extend .u-textTruncate;
  4694. margin-bottom: 8px;
  4695. margin-top: -4px;
  4696. &.is-inactive {
  4697. text-decoration: line-through;
  4698. color: var(--ghost-color);
  4699. }
  4700. }
  4701. .popover-block {
  4702. @extend .sidebar-block;
  4703. margin: 10px 0;
  4704. }
  4705. .popover hr {
  4706. margin: 8px 0;
  4707. }
  4708. .popover .person .organization::before {
  4709. content: '(';
  4710. }
  4711. .popover .person .organization::after {
  4712. content: ')';
  4713. }
  4714. .popover label {
  4715. font-size: 13px;
  4716. color: var(--header-secondary);
  4717. font-weight: 300;
  4718. text-transform: uppercase;
  4719. letter-spacing: 0.05em;
  4720. }
  4721. .popover .two-columns,
  4722. .popover .three-columns {
  4723. margin-top: -8px;
  4724. }
  4725. .popover .column label {
  4726. margin: 8px 0 1px;
  4727. }
  4728. .popover .column {
  4729. margin-top: 8px;
  4730. }
  4731. .popover--notifications {
  4732. padding: 0;
  4733. left: $navigationWidth;
  4734. @include rtl(right, $navigationWidth);
  4735. margin: 8px 2px;
  4736. max-height: calc(100% - 16px);
  4737. width: auto;
  4738. max-width: 400px;
  4739. min-width: 350px;
  4740. flex-direction: column;
  4741. @extend .zIndex-10;
  4742. @include phone {
  4743. left: $mobileNavigationWidth;
  4744. @include rtl(right, $mobileNavigationWidth);
  4745. min-width: auto;
  4746. width: calc(100% - #{$mobileNavigationWidth} - 8px);
  4747. }
  4748. &.is-visible {
  4749. display: flex;
  4750. }
  4751. &.is-empty .popover-notificationsHeader {
  4752. box-shadow: none;
  4753. }
  4754. .arrow {
  4755. top: 23px !important;
  4756. left: -11px;
  4757. @include rtl(left, 408px);
  4758. @include rtl(transform, rotate(180deg));
  4759. @include phone {
  4760. top: 61px !important;
  4761. }
  4762. }
  4763. .popover-content {
  4764. padding-left: 0;
  4765. padding-right: 0;
  4766. margin-bottom: 0;
  4767. overflow-y: auto;
  4768. }
  4769. .popover-notificationsHeader {
  4770. border-bottom: 1px solid var(--background-modifier-accent);
  4771. padding-bottom: 14px;
  4772. flex-shrink: 0;
  4773. .btn {
  4774. padding-top: 3px;
  4775. padding-bottom: 5px;
  4776. }
  4777. }
  4778. .activity-placeholder {
  4779. margin-bottom: 21px;
  4780. }
  4781. }
  4782. .popover-notificationsHeader {
  4783. padding-bottom: 8px;
  4784. margin: 21px 17px 0;
  4785. .popover-title {
  4786. @extend h1;
  4787. padding: 0;
  4788. line-height: 1;
  4789. }
  4790. .btn {
  4791. margin-top: 3px;
  4792. }
  4793. }
  4794. .popover-notificationsCounter {
  4795. color: #e25253;
  4796. @include bidi-style(padding-left, 3px, padding-right, 0);
  4797. }
  4798. .user-popover,
  4799. .ticket-popover,
  4800. .organization-popover {
  4801. @extend .u-clickable;
  4802. }
  4803. .user-card {
  4804. padding: 2px 0 0 50px;
  4805. position: relative;
  4806. min-height: 40px;
  4807. padding-right: 48px;
  4808. display: flex;
  4809. flex-direction: column;
  4810. justify-content: center;
  4811. min-width: 192px;
  4812. .avatar {
  4813. position: absolute;
  4814. left: 0;
  4815. top: 0;
  4816. }
  4817. .user-popover.is-inactive {
  4818. text-decoration: line-through;
  4819. opacity: 0.73;
  4820. }
  4821. .btn.js-newTicket {
  4822. position: absolute;
  4823. right: 0;
  4824. }
  4825. }
  4826. .stat-icon {
  4827. position: relative;
  4828. }
  4829. .mood-icon {
  4830. width: 60px;
  4831. height: 59px;
  4832. }
  4833. .stopwatch-icon {
  4834. position: absolute;
  4835. left: 0;
  4836. top: 0;
  4837. width: 100%;
  4838. height: 100%;
  4839. }
  4840. .stat-stopwatch {
  4841. width: 77px;
  4842. height: 83px;
  4843. position: relative;
  4844. }
  4845. .stat-channel-icon {
  4846. width: 16px;
  4847. height: 16px;
  4848. fill: var(--text-muted);
  4849. }
  4850. .total-tickets {
  4851. height: 83px;
  4852. width: 48px;
  4853. @include bidi-style(margin-right, 4px, margin-left, 0);
  4854. margin-bottom: -9px;
  4855. fill: hsl(196, 19%, 89%);
  4856. color: var(--background-secondary);
  4857. @include dark {
  4858. fill: hsl(196, 9%, 70%);
  4859. }
  4860. }
  4861. .one-ticket {
  4862. width: 48px;
  4863. height: 10px;
  4864. margin-top: -7px;
  4865. margin-bottom: 2px;
  4866. position: relative;
  4867. }
  4868. .stat-tickets {
  4869. height: 100px;
  4870. color: var(--background-secondary);
  4871. }
  4872. .in-process-icon {
  4873. width: 64px;
  4874. height: 64px;
  4875. }
  4876. .reopening-icon {
  4877. width: 68px;
  4878. height: 47px;
  4879. }
  4880. .supergood-color {
  4881. fill: var(--supergood-color);
  4882. }
  4883. .good-color {
  4884. fill: var(--good-color);
  4885. }
  4886. .ok-color {
  4887. fill: var(--ok-color);
  4888. }
  4889. .bad-color {
  4890. fill: var(--bad-color);
  4891. }
  4892. .superbad-color {
  4893. fill: var(--superbad-color);
  4894. }
  4895. .danger-color {
  4896. color: var(--danger-color);
  4897. }
  4898. .stat-widgets {
  4899. margin: -7px -7px 20px;
  4900. }
  4901. .stat-widget {
  4902. height: 200px;
  4903. padding: 10px 10px 8px;
  4904. text-align: center;
  4905. line-height: 20px;
  4906. }
  4907. .dashboard .stat-widget {
  4908. margin: 7px;
  4909. background: var(--background-secondary);
  4910. border: 1px solid var(--border);
  4911. border-radius: 1px;
  4912. box-shadow: var(--elevation-low);
  4913. }
  4914. .stat-title {
  4915. font-size: 13px;
  4916. margin: 2px 0 8px;
  4917. text-transform: uppercase;
  4918. font-weight: normal;
  4919. position: relative;
  4920. padding: 0 24px;
  4921. .tooltip {
  4922. text-transform: none;
  4923. width: 200px;
  4924. }
  4925. }
  4926. .stat-icon-help {
  4927. position: absolute;
  4928. right: 3px;
  4929. top: 1px;
  4930. cursor: help;
  4931. fill: var(--interactive-muted);
  4932. }
  4933. .notification-icon-help {
  4934. fill: var(--interactive-muted);
  4935. }
  4936. .stat-label {
  4937. @extend .u-textTruncate;
  4938. }
  4939. .stat-detail {
  4940. color: var(--text-muted);
  4941. @extend .u-textTruncate;
  4942. }
  4943. .stat-graphic {
  4944. flex: 1;
  4945. display: flex;
  4946. justify-content: center;
  4947. align-items: center;
  4948. user-select: none;
  4949. }
  4950. .time.stat-widget .stat-amount {
  4951. margin-top: 12px;
  4952. text-align: center;
  4953. font-size: 30px;
  4954. color: var(--text-inverted);
  4955. text-shadow: 0 2px rgba(0, 8, 14, 0.2);
  4956. position: relative;
  4957. cursor: default;
  4958. }
  4959. .time.stat-widget .stat-dial {
  4960. position: absolute;
  4961. top: 21px;
  4962. left: 14px;
  4963. width: 52px;
  4964. height: 52px;
  4965. }
  4966. .stats-row {
  4967. padding: 8px 0 7px;
  4968. border-radius: 3px;
  4969. display: flex;
  4970. flex-direction: column;
  4971. align-items: center;
  4972. flex: 0 1 38px;
  4973. height: 100%;
  4974. .icon {
  4975. display: block;
  4976. }
  4977. }
  4978. .stats-row:hover {
  4979. background: rgba(0, 8, 14, 0.03);
  4980. }
  4981. .stats-row .stat-bars {
  4982. flex: 1;
  4983. margin: 10px 0 13px;
  4984. padding: 2px 5px;
  4985. width: 100%;
  4986. background: linear-gradient(
  4987. to top,
  4988. var(--background-modifier-accent),
  4989. var(--background-modifier-accent) 1px,
  4990. transparent 1px
  4991. );
  4992. background-position: center bottom;
  4993. background-size: 100% 12px;
  4994. display: flex;
  4995. align-items: flex-end;
  4996. justify-content: center;
  4997. }
  4998. .stat-bars .stat-bar {
  4999. border-radius: 5px;
  5000. max-width: 10px;
  5001. flex: 1;
  5002. color: #a9bcc4;
  5003. background: #a9bcc4;
  5004. &--outbound {
  5005. opacity: 0.38;
  5006. color: #a9bcc4;
  5007. background: #a9bcc4;
  5008. }
  5009. }
  5010. .stat-legend {
  5011. margin-top: 30px;
  5012. @include bidi-style(margin-left, auto, margin-right, 0);
  5013. display: flex;
  5014. }
  5015. .stat-legendEntry {
  5016. font-size: 11px;
  5017. line-height: 1;
  5018. @include bidi-style(margin-left, 20px, margin-right, 0);
  5019. background: none !important;
  5020. }
  5021. .stat-circle {
  5022. margin-bottom: -1px;
  5023. @include bidi-style(margin-right, 3px, margin-left, 0);
  5024. width: 10px;
  5025. height: 10px;
  5026. border-radius: 100%;
  5027. display: inline-block;
  5028. }
  5029. .ticket_channel_distribution {
  5030. .stat-graphic {
  5031. align-items: stretch;
  5032. }
  5033. .stats-row {
  5034. margin-bottom: -4px;
  5035. position: relative;
  5036. }
  5037. }
  5038. .frequency.stat-widget {
  5039. .stat-bars {
  5040. margin-top: 0;
  5041. }
  5042. .stats-row {
  5043. margin-bottom: 0;
  5044. }
  5045. .stat-label {
  5046. color: var(--text-muted);
  5047. }
  5048. .primary {
  5049. color: hsl(145, 51%, 45%);
  5050. background: hsl(145, 51%, 45%);
  5051. }
  5052. }
  5053. .activity.sidebar {
  5054. width: 370px;
  5055. padding: 0;
  5056. border-left: 1px solid var(--border);
  5057. }
  5058. .activity h2 {
  5059. margin-left: 19px;
  5060. margin-bottom: 15px;
  5061. margin-right: 26px;
  5062. @include rtl(margin-right, 19px);
  5063. @include rtl(margin-left, 26px);
  5064. }
  5065. .activity-entries {
  5066. margin: 0 -17px;
  5067. }
  5068. .activity-placeholder {
  5069. @extend .u-textTruncate;
  5070. padding: 0 17px;
  5071. }
  5072. .activity-entry {
  5073. display: flex;
  5074. padding: 0 17px;
  5075. &.is-inactive {
  5076. opacity: 0.5;
  5077. }
  5078. &.is-hover {
  5079. background-color: var(--background-primary);
  5080. }
  5081. &.activity-entry--removeable {
  5082. @include bidi-style(padding-right, 0, margin-left, 17px);
  5083. }
  5084. &:not(:hover) .activity-remove {
  5085. opacity: 0;
  5086. }
  5087. &:not(:last-child) .activity-body::after {
  5088. content: '';
  5089. position: absolute;
  5090. bottom: 0;
  5091. right: 0;
  5092. left: 0;
  5093. border-bottom: 1px solid var(--background-modifier-accent);
  5094. }
  5095. &.activity-entry--removeable:not(:last-child) .activity-body::after {
  5096. right: 17px;
  5097. @include bidi-style(right, 17px, left, 0);
  5098. }
  5099. }
  5100. .activity-avatar {
  5101. padding: 16px 2px 0;
  5102. @include bidi-style(margin-right, 10px, margin-left, 0);
  5103. flex-shrink: 0;
  5104. }
  5105. .activity-body {
  5106. padding: 16px 0 16px 2px;
  5107. @include rtl(padding, 16px 2px 16px 0);
  5108. position: relative;
  5109. display: flex;
  5110. flex: 1;
  5111. min-width: 0; /* Firefox wrong content-calculation with word-wrap workaround */
  5112. color: inherit;
  5113. }
  5114. .activity-message {
  5115. color: inherit;
  5116. flex: 1;
  5117. min-width: 0; /* Firefox wrong content-calculation with word-wrap workaround */
  5118. &:hover .activity-text {
  5119. text-decoration: underline;
  5120. }
  5121. }
  5122. .activity-time {
  5123. margin-top: 2px;
  5124. color: var(--text-muted);
  5125. display: block;
  5126. }
  5127. .activity-remove {
  5128. display: flex;
  5129. align-items: center;
  5130. justify-content: center;
  5131. @extend %clickable;
  5132. padding-left: 10px;
  5133. padding-right: 27px;
  5134. @include rtl(padding-left, 27px);
  5135. @include rtl(padding-right, 10px);
  5136. .activity-remove-icon-holder {
  5137. width: 19px;
  5138. height: 19px;
  5139. border-radius: 100%;
  5140. display: flex;
  5141. align-items: center;
  5142. justify-content: center;
  5143. background: var(--ghost-color);
  5144. }
  5145. .icon {
  5146. fill: var(--text-inverted);
  5147. width: 9px;
  5148. height: 9px;
  5149. }
  5150. &:hover {
  5151. .activity-remove-icon-holder {
  5152. background: #972e29;
  5153. }
  5154. .icon {
  5155. opacity: 1;
  5156. }
  5157. }
  5158. }
  5159. .form-inline {
  5160. display: flex;
  5161. @include phone {
  5162. flex-wrap: wrap;
  5163. .alert {
  5164. flex-basis: 100%;
  5165. }
  5166. }
  5167. }
  5168. .form-inline .input-group-addon,
  5169. .form-inline .form-control:not(textarea) {
  5170. background: var(--background-secondary);
  5171. border: none;
  5172. line-height: 1;
  5173. }
  5174. .form-inline .form-group {
  5175. overflow: hidden;
  5176. position: relative;
  5177. height: 60px;
  5178. flex: 1 1 auto;
  5179. @include phone {
  5180. width: 50%;
  5181. margin-bottom: 0;
  5182. }
  5183. &.datetime {
  5184. min-width: 140px;
  5185. overflow: visible; // datepicker popup needs to be visible
  5186. }
  5187. }
  5188. .form-group.is-changed {
  5189. position: relative;
  5190. }
  5191. .form-group.is-changed::before {
  5192. content: '';
  5193. position: absolute;
  5194. top: 23px;
  5195. left: -12px;
  5196. bottom: 0;
  5197. width: 3px;
  5198. background: repeating-linear-gradient(
  5199. 45deg,
  5200. var(--background-modifier-border),
  5201. var(--background-modifier-border) 5px,
  5202. transparent 5px,
  5203. transparent 9px
  5204. )
  5205. repeat center;
  5206. background-size: 11px 11px;
  5207. }
  5208. .form-inline .form-group.is-changed::before {
  5209. width: 100%;
  5210. height: 3px;
  5211. top: 0;
  5212. left: 0;
  5213. bottom: auto;
  5214. }
  5215. .form-group.is-changed label {
  5216. color: var(--text-muted);
  5217. position: relative;
  5218. }
  5219. .form-group.is-changed label::before {
  5220. position: absolute;
  5221. content: '';
  5222. left: -10px;
  5223. width: 5px;
  5224. height: 5px;
  5225. top: 50%;
  5226. margin-top: -3px;
  5227. border-radius: 100%;
  5228. background: var(--interactive-muted-alt);
  5229. }
  5230. .form-inline .form-group .btn {
  5231. margin: 10px;
  5232. }
  5233. .form-inline .form-group:not(:last-child),
  5234. .form-inline.form-inline--enclosed .form-group {
  5235. border-right: 1px solid var(--border);
  5236. }
  5237. .form-inline .form-group,
  5238. .form-inline.form-inline--enclosed .form-group {
  5239. @include phone {
  5240. border-bottom: 1px solid var(--border);
  5241. &:nth-child(even) {
  5242. border-right-width: 0;
  5243. }
  5244. }
  5245. }
  5246. .form-inline .input-group-addon {
  5247. width: auto;
  5248. padding: 0;
  5249. margin: 10px 18px 0;
  5250. font-size: 13px;
  5251. letter-spacing: 0.05em;
  5252. display: inline-block;
  5253. position: relative;
  5254. }
  5255. .form-inline .form-control:not(textarea) {
  5256. width: 100%;
  5257. height: 100%;
  5258. left: 0;
  5259. top: 0;
  5260. position: absolute;
  5261. padding: 28px 5px 12px 20px;
  5262. float: none;
  5263. display: block;
  5264. border-radius: 0;
  5265. }
  5266. .form-inline {
  5267. .formGroup-label {
  5268. z-index: 1;
  5269. pointer-events: none;
  5270. }
  5271. .controls--datetime,
  5272. .controls--date,
  5273. .controls--select {
  5274. position: static;
  5275. }
  5276. .controls--datetime {
  5277. position: absolute;
  5278. bottom: 12px;
  5279. left: 0;
  5280. padding: 0 5px 0 20px;
  5281. width: 100%;
  5282. .controls-label {
  5283. display: none;
  5284. }
  5285. .form-control {
  5286. width: 70px;
  5287. line-height: inherit;
  5288. position: static;
  5289. padding: 0;
  5290. height: auto;
  5291. &.time {
  5292. margin-left: 5px;
  5293. width: 38px;
  5294. }
  5295. }
  5296. }
  5297. }
  5298. .bulkAction-secondStep .form-group {
  5299. min-width: 140px;
  5300. @include phone {
  5301. min-width: 0;
  5302. &.textarea {
  5303. border-bottom-width: 0;
  5304. }
  5305. }
  5306. }
  5307. .bulkAction-secondStep .form-inline .textarea.form-group {
  5308. padding: 5px 10px;
  5309. height: auto;
  5310. }
  5311. .bulkAction-secondStep .form-inline .textarea.form-group .input-group-addon {
  5312. margin-left: 8px;
  5313. margin-right: 8px;
  5314. margin-bottom: 5px;
  5315. }
  5316. .bulkAction-secondStep .form-inline textarea.form-control {
  5317. display: block;
  5318. width: 100%;
  5319. resize: vertical;
  5320. }
  5321. .bulkAction-secondStep .form-inline .textarea .controls {
  5322. margin: 0 6px;
  5323. }
  5324. .bulkAction-secondStep .form-inline textarea.form-control:not(:focus) {
  5325. border-color: #f0f0f0;
  5326. }
  5327. .ticketZoom {
  5328. background: var(--background-primary);
  5329. }
  5330. .ticketZoom-controls {
  5331. display: flex;
  5332. justify-content: flex-end;
  5333. align-items: center;
  5334. padding: 28px 0 0;
  5335. @include bidi-style(margin-right, -40px, margin-left, 0);
  5336. @include phone {
  5337. padding: 10px;
  5338. @include bidi-style(margin-right, 0, margin-left, 0);
  5339. }
  5340. }
  5341. .icon-marker {
  5342. fill: hsl(0, 0%, 61%);
  5343. width: 17px;
  5344. height: 19px;
  5345. }
  5346. .ticketNumberCopy-icon {
  5347. vertical-align: top;
  5348. fill: currentColor;
  5349. }
  5350. .ticketZoom .ticketZoom-header {
  5351. margin-top: 6px;
  5352. padding: 0;
  5353. @include phone {
  5354. margin-top: 10px;
  5355. }
  5356. }
  5357. .ticketZoom .ticket-article {
  5358. margin-top: 55px;
  5359. @include phone {
  5360. margin-top: 40px;
  5361. }
  5362. }
  5363. .ticketZoom > .overview-navigator {
  5364. margin-top: 32px;
  5365. @include bidi-style(padding-left, 20px, padding-right, 0);
  5366. }
  5367. .ticket-article,
  5368. .article-new {
  5369. max-width: 1080px;
  5370. margin: 0 auto;
  5371. padding: 0 21px;
  5372. @include phone {
  5373. padding: 0 10px;
  5374. }
  5375. }
  5376. .ticket-title {
  5377. max-width: 1080px;
  5378. padding: 0 81px;
  5379. @include phone {
  5380. padding: 0 10px;
  5381. }
  5382. }
  5383. .ticket-title-update {
  5384. @extend h1;
  5385. white-space: normal;
  5386. margin-top: 15px;
  5387. margin-bottom: 8px;
  5388. padding: 0 7px;
  5389. text-align: center;
  5390. .ticketZoom-header & {
  5391. &:hover,
  5392. &:focus {
  5393. background: var(--background-modifier-hover);
  5394. }
  5395. }
  5396. }
  5397. .task-subline {
  5398. text-align: center;
  5399. display: block;
  5400. }
  5401. .ticket-article-item {
  5402. padding-bottom: 33px;
  5403. position: relative;
  5404. z-index: 1; // fixed chrome 49 + flex issue, not shown article
  5405. .avatar {
  5406. position: absolute;
  5407. right: 0;
  5408. top: 5px;
  5409. @include phone {
  5410. position: static;
  5411. margin: 0 5px 7px;
  5412. }
  5413. }
  5414. &.agent .avatar {
  5415. right: auto;
  5416. left: 0;
  5417. }
  5418. }
  5419. /*
  5420. clip the article-meta to not stand out on the other side
  5421. of the textBubble if the text bubble is small
  5422. */
  5423. .article-meta-clip {
  5424. overflow: hidden;
  5425. position: relative;
  5426. height: 100%;
  5427. margin: 0 55px;
  5428. @include phone {
  5429. margin: 0;
  5430. }
  5431. }
  5432. .article-content {
  5433. color: var(--text-normal);
  5434. position: relative;
  5435. z-index: 1;
  5436. padding: 0 55px;
  5437. @include phone {
  5438. padding: 0;
  5439. }
  5440. &.article-actions {
  5441. justify-content: space-around;
  5442. }
  5443. }
  5444. .article-content-meta {
  5445. position: absolute;
  5446. width: 100%;
  5447. }
  5448. .article-meta {
  5449. background: var(--background-tertiary);
  5450. color: var(--text-inverted);
  5451. padding: 21px 25px 11px;
  5452. margin: 0 12px;
  5453. @include phone {
  5454. margin: 0 5px;
  5455. padding: 10px 10px 5px;
  5456. }
  5457. }
  5458. .article-meta.bottom {
  5459. padding-top: 17px;
  5460. padding-bottom: 8px;
  5461. @include phone {
  5462. padding-top: 10px;
  5463. padding-bottom: 5px;
  5464. }
  5465. }
  5466. .article-meta-row {
  5467. margin-bottom: 5px;
  5468. }
  5469. .article-meta-key {
  5470. width: 20%;
  5471. text-transform: uppercase;
  5472. flex-shrink: 0;
  5473. @include phone {
  5474. width: 50px;
  5475. }
  5476. }
  5477. .article-meta-value {
  5478. @include bidi-style(margin-left, 8px, margin-right, 0);
  5479. overflow: hidden;
  5480. text-overflow: ellipsis;
  5481. span {
  5482. white-space: nowrap;
  5483. }
  5484. }
  5485. .article-meta-icon {
  5486. fill: var(--text-inverted);
  5487. vertical-align: top;
  5488. margin: 2px 3px 0 0;
  5489. @include rtl(margin, 2px 0 0 3px);
  5490. &.icon-lock {
  5491. margin: 0;
  5492. }
  5493. }
  5494. .article-meta-permanent {
  5495. margin: 0 55px;
  5496. + .article-content .textBubble {
  5497. border-top-left-radius: 0;
  5498. border-top-right-radius: 0;
  5499. border-top-width: 0;
  5500. }
  5501. .alert {
  5502. margin-bottom: 0;
  5503. padding-left: 20px;
  5504. padding-right: 20px;
  5505. border-radius: 0;
  5506. box-shadow: 0 0 0 1px inset hsla(0, 0%, 0%, 0.04);
  5507. &:first-child {
  5508. border-top-left-radius: 2px;
  5509. border-top-right-radius: 2px;
  5510. }
  5511. &--blank {
  5512. background: var(--background-article-meta);
  5513. color: var(--text-muted-alt);
  5514. border: 1px solid var(--border-alt);
  5515. .customer.ticket-article-item & {
  5516. background: var(--background-article-customer-meta);
  5517. border-color: var(--border-article-customer);
  5518. }
  5519. .customer.state--folde-out & {
  5520. border-color: var(--border-article-customer-selected);
  5521. }
  5522. }
  5523. .icon {
  5524. fill: currentColor;
  5525. margin: 2px 6px 0 0;
  5526. vertical-align: top;
  5527. width: 14px;
  5528. height: 14px;
  5529. }
  5530. .icon-lock {
  5531. margin-top: 1px;
  5532. width: 16px;
  5533. height: 16px;
  5534. }
  5535. }
  5536. }
  5537. .internal-border {
  5538. padding: 5px;
  5539. border-radius: 5px;
  5540. margin: -5px;
  5541. }
  5542. .is-internal .internal-border {
  5543. background: repeating-linear-gradient(
  5544. 45deg,
  5545. var(--border-internal),
  5546. var(--border-internal) 5px,
  5547. var(--border-internal-stripe) 5px,
  5548. var(--border-internal-stripe) 10px
  5549. );
  5550. background-size: 14px 14px;
  5551. background-position: -1px;
  5552. }
  5553. .is-internal .bubble-arrow {
  5554. display: none;
  5555. }
  5556. .textBubble {
  5557. padding: 10px 20px;
  5558. background: var(--background-secondary);
  5559. border-radius: 2px;
  5560. border: 1px solid var(--border-alt);
  5561. box-shadow: 0 0 1px rgba(0, 0, 0, 0.06) inset;
  5562. position: relative;
  5563. @include phone {
  5564. padding: 10px;
  5565. }
  5566. /* email css reset */
  5567. p {
  5568. margin: 0;
  5569. }
  5570. .is-internal & {
  5571. border-color: var(--border-internal) !important;
  5572. }
  5573. }
  5574. .textBubble-content {
  5575. overflow: hidden;
  5576. position: relative;
  5577. }
  5578. .textBubble-footer {
  5579. display: flex;
  5580. justify-content: space-between;
  5581. align-items: center;
  5582. margin: 0 -12px -28px;
  5583. padding: 6px 12px;
  5584. border-radius: 0 0 4px 4px;
  5585. }
  5586. .textBubble-control {
  5587. display: flex;
  5588. }
  5589. .textBubble-letterCount:not(.label-danger, .label-warning) {
  5590. color: var(--ghost-color);
  5591. }
  5592. .textBubble-overflowContainer {
  5593. position: absolute;
  5594. bottom: 0;
  5595. left: 0;
  5596. right: 0;
  5597. background: var(--background-secondary);
  5598. &.is-open {
  5599. &::before {
  5600. display: none;
  5601. }
  5602. }
  5603. .btn {
  5604. padding-top: 15px;
  5605. padding-bottom: 15px;
  5606. font-size: 10px;
  5607. }
  5608. &::before {
  5609. content: '';
  5610. position: absolute;
  5611. left: 0;
  5612. right: 0;
  5613. top: -30px;
  5614. height: 30px;
  5615. background: linear-gradient(
  5616. rgba(255, 255, 255, 0),
  5617. var(--background-secondary)
  5618. );
  5619. pointer-events: none;
  5620. }
  5621. }
  5622. .customer .textBubble-overflowContainer {
  5623. background: var(--background-article-customer);
  5624. &::before {
  5625. background: linear-gradient(
  5626. hsla(199, 44%, 93%, 0),
  5627. var(--background-article-customer)
  5628. );
  5629. }
  5630. }
  5631. .customer.ticket-article-item .textBubble {
  5632. background: var(--background-article-customer);
  5633. border-color: var(--border-article-customer);
  5634. box-shadow: none;
  5635. }
  5636. .customer .richtext-content blockquote {
  5637. border-left: 5px solid var(--background-modifier-border);
  5638. }
  5639. .customer.ticket-article-item.state--folde-out .textBubble {
  5640. border-color: var(--border-article-customer-selected);
  5641. }
  5642. .bubble-arrow {
  5643. position: absolute;
  5644. width: 6px;
  5645. height: 9px;
  5646. left: -6px;
  5647. top: 15px;
  5648. overflow: hidden;
  5649. @include phone {
  5650. left: 14px !important;
  5651. top: -5px;
  5652. width: 9px;
  5653. height: 6px;
  5654. }
  5655. }
  5656. .bubble-arrow::after {
  5657. content: '';
  5658. position: absolute;
  5659. top: -1px;
  5660. left: 1px;
  5661. width: 11px;
  5662. height: 11px;
  5663. background: var(--background-secondary);
  5664. border: 1px solid var(--border-alt);
  5665. box-shadow: 0 0 1px rgba(0, 0, 0, 0.06) inset;
  5666. transform: rotate(-45deg);
  5667. @include phone {
  5668. top: 2px;
  5669. left: -1px;
  5670. }
  5671. }
  5672. .customer.ticket-article-item .bubble-arrow {
  5673. left: auto;
  5674. right: -6px;
  5675. @include phone {
  5676. left: 14px;
  5677. right: auto;
  5678. top: -4px;
  5679. }
  5680. }
  5681. .customer.ticket-article-item .bubble-arrow::after {
  5682. background: var(--background-article-customer);
  5683. left: auto;
  5684. right: 2px;
  5685. border-color: var(--border-article-customer);
  5686. box-shadow: none;
  5687. @include phone {
  5688. left: -1px;
  5689. right: auto;
  5690. }
  5691. }
  5692. .customer.ticket-article-item.state--folde-out .bubble-arrow::after {
  5693. border-color: var(--border-article-customer-selected);
  5694. }
  5695. .attachments.attachments--list:not(:empty) {
  5696. border-top: 1px solid var(--background-modifier-border);
  5697. white-space: normal;
  5698. margin: 10px -20px 0;
  5699. padding: 26px 20px 7px 72px;
  5700. position: relative;
  5701. @include phone {
  5702. margin-left: -10px;
  5703. margin-right: -10px;
  5704. padding: 20px 15px 7px 30px;
  5705. }
  5706. }
  5707. .attachments.attachments--list .attachments-title {
  5708. font-size: 13px;
  5709. font-weight: 500;
  5710. text-transform: uppercase;
  5711. padding: 0 7px;
  5712. .badge {
  5713. margin: -1px 0 0 5px;
  5714. }
  5715. }
  5716. .attachments > .icon:first-child {
  5717. position: absolute;
  5718. left: 33px;
  5719. top: 27px;
  5720. fill: var(--ghost-color);
  5721. @include phone {
  5722. width: 16px;
  5723. height: 16px;
  5724. left: 12px;
  5725. top: 20px;
  5726. }
  5727. }
  5728. .attachments-block {
  5729. margin-bottom: 12px;
  5730. &:last-child {
  5731. margin-bottom: 0;
  5732. }
  5733. &-headline {
  5734. font-size: 13px;
  5735. color: var(--text-normal);
  5736. font-weight: 500;
  5737. text-transform: uppercase;
  5738. margin: 0 7px;
  5739. }
  5740. }
  5741. .ticket-article-item .task-subline {
  5742. margin-top: 7px;
  5743. }
  5744. .article-action {
  5745. padding: 5px 16px;
  5746. margin-top: 5px;
  5747. color: var(--interactive-muted);
  5748. font-size: 12px;
  5749. text-align: center;
  5750. @extend .u-clickable;
  5751. }
  5752. .article-action:hover {
  5753. color: var(--text-primary);
  5754. text-decoration: none;
  5755. }
  5756. .article-action-icon {
  5757. @include bidi-style(margin-right, 5px, margin-left, 0);
  5758. vertical-align: top;
  5759. width: 17px;
  5760. height: 17px;
  5761. fill: currentColor;
  5762. }
  5763. .article-action-name {
  5764. @media screen and (max-width: 1080px) {
  5765. display: none;
  5766. }
  5767. @media screen and (max-width: 1358px) {
  5768. .main:not(.is-closed) & {
  5769. display: none;
  5770. }
  5771. }
  5772. }
  5773. .article-add {
  5774. position: relative;
  5775. z-index: 1; // fixed chrome 49 + flex issue, not shown article
  5776. }
  5777. .article-new {
  5778. margin-top: auto;
  5779. margin-bottom: 36px;
  5780. }
  5781. .dropArea {
  5782. background: var(--background-secondary);
  5783. border: 5px solid;
  5784. color: hsl(202, 66%, 55%);
  5785. font-size: 20px;
  5786. margin: 5px;
  5787. display: none;
  5788. @extend .fit;
  5789. &--small {
  5790. margin: 0;
  5791. font-size: inherit;
  5792. border-width: 3px;
  5793. min-height: 38px;
  5794. }
  5795. }
  5796. .is-dropTarget .dropArea {
  5797. display: block;
  5798. }
  5799. .dropContainer {
  5800. position: relative;
  5801. }
  5802. .dropArea-inner {
  5803. @extend .fit;
  5804. display: flex;
  5805. align-items: center;
  5806. justify-content: center;
  5807. }
  5808. .shortcut .dropdown-menu > .is-active > a {
  5809. background: none;
  5810. }
  5811. .shortcut > .dropdown-menu {
  5812. overflow: auto;
  5813. -webkit-overflow-scrolling: touch;
  5814. position: absolute;
  5815. max-width: 100%;
  5816. min-width: 0;
  5817. }
  5818. .editControls {
  5819. position: absolute;
  5820. left: 0;
  5821. top: 5px;
  5822. @include phone {
  5823. position: static;
  5824. margin: 0 0 10px;
  5825. display: flex;
  5826. align-items: center;
  5827. }
  5828. }
  5829. .article-add[data-type='email'] .editControls {
  5830. top: 159px;
  5831. }
  5832. .editControls-item {
  5833. position: absolute;
  5834. top: 43px;
  5835. @extend .u-clickable, .zIndex-4;
  5836. @include phone {
  5837. position: relative;
  5838. z-index: initial;
  5839. top: 0 !important;
  5840. transform: none !important;
  5841. opacity: 1 !important;
  5842. }
  5843. &.is-hidden {
  5844. display: none;
  5845. @include phone {
  5846. display: block;
  5847. }
  5848. }
  5849. }
  5850. .editControls-item:nth-child(2) {
  5851. @include phone {
  5852. z-index: 1;
  5853. }
  5854. }
  5855. .editControls-item:nth-child(3) {
  5856. top: 79px;
  5857. }
  5858. .editControls-item:nth-child(4) {
  5859. top: 115px;
  5860. }
  5861. .editControls-item:not(:last-child) {
  5862. border-bottom: 1px solid var(--border);
  5863. @include phone {
  5864. border-bottom: 0;
  5865. border-right: 1px solid var(--border);
  5866. }
  5867. }
  5868. .editControls-iconHolder {
  5869. width: 38px;
  5870. height: 35px;
  5871. display: flex;
  5872. align-items: center;
  5873. justify-content: center;
  5874. @include phone {
  5875. width: 48px;
  5876. height: 32px;
  5877. }
  5878. }
  5879. .editControls-icon {
  5880. @include phone {
  5881. line-height: 0.7;
  5882. }
  5883. }
  5884. .editControls-icon .icon {
  5885. fill: var(--interactive-muted);
  5886. }
  5887. .pop-selector {
  5888. position: absolute;
  5889. top: 0;
  5890. left: 0;
  5891. display: flex;
  5892. align-items: center;
  5893. justify-content: center;
  5894. border-radius: 4px;
  5895. box-shadow: var(--elevation-low);
  5896. @include phone {
  5897. top: -4px;
  5898. left: 7px;
  5899. }
  5900. &.is-hidden {
  5901. display: none;
  5902. }
  5903. }
  5904. .pop-selectable {
  5905. width: 35px;
  5906. height: 35px;
  5907. display: flex;
  5908. align-items: center;
  5909. justify-content: center;
  5910. @extend .u-clickable;
  5911. background: var(--background-tertiary);
  5912. }
  5913. .pop-selectable:hover {
  5914. background: var(--highlight);
  5915. }
  5916. .pop-selectable:first-child {
  5917. @include bidi-style(border-radius, 4px 0 0 4px, border-radius, 0 4px 4px 0);
  5918. }
  5919. .pop-selectable:last-child {
  5920. @include bidi-style(border-radius, 0 4px 4px 0, border-radius, 4px 0 0 4px);
  5921. }
  5922. .pop-selectable:only-child {
  5923. border-radius: 4px;
  5924. }
  5925. .pop-selectable:hover .pop-selectable-icon {
  5926. fill: var(--text-inverted);
  5927. }
  5928. .article-add .icon-internal {
  5929. fill: hsl(18, 87%, 65%);
  5930. }
  5931. .article-add.is-public .icon-internal,
  5932. .article-add.is-internal .icon-public {
  5933. display: none;
  5934. }
  5935. .article-new .textBubble {
  5936. border-radius: 5px;
  5937. padding-left: 12px;
  5938. padding-right: 12px;
  5939. cursor: text;
  5940. }
  5941. .articleNewEdit-body {
  5942. width: 100%;
  5943. position: relative;
  5944. min-height: 20px;
  5945. vertical-align: bottom;
  5946. border: none;
  5947. outline: none;
  5948. resize: none;
  5949. height: auto;
  5950. @include phone {
  5951. font-size: 16px;
  5952. }
  5953. }
  5954. .article-new .bubble-arrow::after {
  5955. box-shadow: none;
  5956. }
  5957. .article-attachment {
  5958. position: absolute;
  5959. bottom: -4px;
  5960. left: 10px;
  5961. right: 10px;
  5962. height: 42px;
  5963. padding: 10px 0;
  5964. color: var(--text-muted);
  5965. overflow: hidden;
  5966. @extend .u-textTruncate;
  5967. }
  5968. .attachments:not(:empty) {
  5969. padding: 9px 5px;
  5970. border-top: 1px solid var(--background-modifier-border);
  5971. margin: 6px -12px 30px;
  5972. }
  5973. .ticket-create .attachments:not(:empty) {
  5974. margin-left: 0;
  5975. margin-right: 0;
  5976. margin-bottom: 56px;
  5977. }
  5978. .ticket-create .attachment--row {
  5979. line-height: 1.45;
  5980. }
  5981. .attachment.attachment--row {
  5982. font-size: 13px;
  5983. padding: 1px 10px 1px 7px;
  5984. @include rtl(padding, 1px 7px 1px 10px);
  5985. cursor: default;
  5986. position: relative;
  5987. display: flex;
  5988. }
  5989. .attachment.attachment--preview {
  5990. display: flex;
  5991. font-size: 13px;
  5992. padding: 9px 4px;
  5993. position: relative;
  5994. min-height: 42px;
  5995. color: inherit;
  5996. align-items: flex-start;
  5997. border-bottom: 1px solid var(--background-modifier-border);
  5998. &:last-child {
  5999. border-bottom: none;
  6000. }
  6001. }
  6002. .attachment-icon {
  6003. margin-top: 2px;
  6004. width: 38px;
  6005. text-align: center;
  6006. flex-shrink: 0;
  6007. .icon {
  6008. vertical-align: bottom;
  6009. }
  6010. img {
  6011. width: 30px;
  6012. height: 30px;
  6013. object-fit: cover;
  6014. }
  6015. }
  6016. .attachment--preview {
  6017. .attachment-text {
  6018. margin: 0 4px;
  6019. }
  6020. }
  6021. .attachment--preview .attachment-name {
  6022. min-width: 0;
  6023. display: block;
  6024. @extend .u-highlight;
  6025. word-break: break-all;
  6026. }
  6027. .attachment--preview .attachment-size {
  6028. white-space: nowrap;
  6029. font-size: 11px;
  6030. color: var(--text-muted);
  6031. }
  6032. .attachment--preview .attachment-delete {
  6033. color: var(--interactive-muted);
  6034. text-decoration: underline;
  6035. display: none;
  6036. white-space: nowrap;
  6037. @include bidi-style(margin-left, auto, margin-right, 0);
  6038. @extend .u-clickable;
  6039. @include phone {
  6040. display: block;
  6041. }
  6042. }
  6043. .attachment:hover .attachment--preview .attachment-delete {
  6044. padding: 0 10px 0 30px;
  6045. float: right;
  6046. display: block;
  6047. position: absolute;
  6048. right: 0;
  6049. background: linear-gradient(
  6050. to right,
  6051. transparent,
  6052. var(--background-secondary-hover) 20px
  6053. );
  6054. }
  6055. .attachment--preview .attachment-delete .icon {
  6056. fill: var(--interactive-muted);
  6057. width: 9px;
  6058. height: 9px;
  6059. @include bidi-style(margin-right, 5px, margin-left, 0);
  6060. }
  6061. .attachment:hover {
  6062. background: var(--background-secondary-hover);
  6063. }
  6064. .attachment--row .attachment-name {
  6065. @include bidi-style(margin-right, 5px, margin-left, 0);
  6066. min-width: 0;
  6067. @extend .u-highlight;
  6068. }
  6069. .attachment--row .attachment-size {
  6070. white-space: nowrap;
  6071. float: right;
  6072. @include bidi-style(margin-right, 10px, margin-left, 0);
  6073. }
  6074. .attachment--row .attachment-delete {
  6075. color: var(--interactive-muted);
  6076. text-decoration: underline;
  6077. display: none;
  6078. white-space: nowrap;
  6079. @include bidi-style(margin-left, auto, margin-right, 0);
  6080. @extend %clickable;
  6081. }
  6082. .attachment:hover.attachment--row .attachment-delete {
  6083. padding: 0 10px 0 30px;
  6084. float: right;
  6085. display: block;
  6086. position: absolute;
  6087. right: 0;
  6088. background: linear-gradient(
  6089. to right,
  6090. transparent,
  6091. var(--background-secondary-hover) 20px
  6092. );
  6093. }
  6094. .attachment--row .attachment-delete .icon {
  6095. width: 9px;
  6096. height: 9px;
  6097. @include bidi-style(margin-right, 5px, margin-left, 0);
  6098. }
  6099. .attachmentPlaceholder-inputHolder {
  6100. position: relative;
  6101. display: inline-block;
  6102. overflow: hidden;
  6103. vertical-align: bottom;
  6104. pointer-events: auto;
  6105. @extend .u-highlight;
  6106. }
  6107. .attachmentUpload {
  6108. color: var(--text-muted);
  6109. }
  6110. .attachmentUpload-cancel {
  6111. @extend .u-clickable;
  6112. @include bidi-style(margin-left, auto, margin-right, 0);
  6113. text-decoration: underline;
  6114. }
  6115. .attachmentUpload .icon {
  6116. fill: var(--interactive-muted);
  6117. width: 9px;
  6118. height: 9px;
  6119. @include bidi-style(margin-right, 5px, margin-left, 0);
  6120. }
  6121. .attachmentUpload-progressBar {
  6122. position: absolute;
  6123. height: 4px;
  6124. background: hsl(202, 66%, 55%);
  6125. left: 0;
  6126. bottom: 0;
  6127. }
  6128. .attachmentUpload--standalone {
  6129. position: relative;
  6130. margin-bottom: 7px;
  6131. padding-bottom: 2px;
  6132. box-shadow: 0 -4px var(--border) inset;
  6133. &:last-child {
  6134. margin-bottom: 0;
  6135. }
  6136. .attachmentUpload-cancel {
  6137. padding: 0 2px 0 7px;
  6138. }
  6139. }
  6140. .attachmentUploadContainer {
  6141. .attachmentUpload-progressBar {
  6142. position: inherit;
  6143. }
  6144. }
  6145. .tabsSidebar-tabsSpacer {
  6146. @include bidi-style(padding-right, 62px !important, padding-left, 0);
  6147. /*
  6148. force div to show scrollbars
  6149. because we offset the sidebar tabs when the os shows scrollbars
  6150. */
  6151. overflow-x: hidden;
  6152. overflow-y: scroll;
  6153. @include phone {
  6154. @include bidi-style(padding-right, 0 !important, padding-left, 0);
  6155. }
  6156. }
  6157. .tabsSidebar-sidebarSpacer {
  6158. @include bidi-style(margin-right, $sidebarWidth, margin-left, 0);
  6159. transition: margin-right 500ms;
  6160. @include rtl(transition, margin-left 500ms);
  6161. }
  6162. .tabsSidebar-sidebarSpacer.is-closed {
  6163. margin-right: 0;
  6164. @include rtl(margin-left, 0);
  6165. }
  6166. .tabsSidebar-holder {
  6167. overflow: hidden;
  6168. position: relative;
  6169. flex: 1;
  6170. display: flex;
  6171. flex-direction: column;
  6172. }
  6173. .tabsSidebar .sidebar {
  6174. width: $sidebarWidth;
  6175. border-left: 1px solid var(--border);
  6176. padding: 0;
  6177. margin-bottom: 1px;
  6178. }
  6179. .tabsSidebar .sidebar > hr {
  6180. margin: 20px;
  6181. }
  6182. .tabsSidebar .sidebar-header {
  6183. display: flex;
  6184. align-content: stretch;
  6185. position: relative;
  6186. margin: 0 20px;
  6187. + hr {
  6188. margin-top: 0;
  6189. }
  6190. }
  6191. .sidebar-header-headline {
  6192. padding: 33px 8px 17px 25px;
  6193. @include rtl(padding, 33px 25px 17px 8px);
  6194. margin: 0 0 0 -20px;
  6195. @include rtl(margin, 0 -20px 0 0);
  6196. line-height: 1;
  6197. @extend .u-clickable, .u-textTruncate;
  6198. }
  6199. .sidebar-header-actions {
  6200. flex: 1;
  6201. @include bidi-style(margin-right, 5px, margin-left, 0);
  6202. display: flex;
  6203. align-items: center;
  6204. .dropdown {
  6205. flex: 1;
  6206. position: static;
  6207. }
  6208. .dropdown-toggle {
  6209. padding-top: 38px;
  6210. padding-bottom: 24px;
  6211. }
  6212. }
  6213. .tabsSidebar-close {
  6214. padding: 27px 35px 12px 0;
  6215. margin: 0 -20px 0 0;
  6216. @extend .u-clickable;
  6217. display: flex;
  6218. align-items: center;
  6219. justify-content: center;
  6220. .icon {
  6221. fill: var(--interactive-primary);
  6222. }
  6223. }
  6224. .tabsSidebar .sidebar-content {
  6225. padding: 0 20px 20px;
  6226. }
  6227. .sidebar.bottom-form-shadow {
  6228. box-shadow: 0 -1px rgba(0, 0, 0, 0.005) inset,
  6229. 0 -2px rgba(0, 0, 0, 0.005) inset, 0 -3px rgba(0, 0, 0, 0.005) inset,
  6230. 0 -4px rgba(0, 0, 0, 0.005) inset;
  6231. }
  6232. .tabsSidebar {
  6233. position: absolute;
  6234. @include bidi-style(right, 0, left, auto);
  6235. top: 0;
  6236. bottom: 0;
  6237. transition: 500ms;
  6238. z-index: 300;
  6239. &.tabsSidebar--attributeBarSpacer {
  6240. bottom: 60px;
  6241. }
  6242. }
  6243. .tabsSidebar.is-closed {
  6244. transform: translateX($sidebarWidth);
  6245. @include rtl(transform, translateX(-$sidebarWidth));
  6246. }
  6247. .tabsSidebar-tabs {
  6248. display: flex;
  6249. flex-direction: column;
  6250. justify-content: center;
  6251. position: absolute;
  6252. @include bidi-style(left, -55px, right, auto);
  6253. top: 0;
  6254. bottom: 0;
  6255. pointer-events: none;
  6256. @include phone {
  6257. @include bidi-style(left, -47px, right, auto);
  6258. }
  6259. }
  6260. .test {
  6261. position: absolute;
  6262. width: 100%;
  6263. }
  6264. .tabsSidebar-tab {
  6265. width: 56px;
  6266. height: 60px;
  6267. background: var(--background-primary-alt);
  6268. position: relative;
  6269. border-top: 1px solid var(--border-alt);
  6270. @extend .u-clickable;
  6271. pointer-events: auto;
  6272. display: flex;
  6273. align-items: center;
  6274. justify-content: center;
  6275. @include phone {
  6276. width: 47px;
  6277. height: 50px;
  6278. }
  6279. }
  6280. .tabsSidebar-tab.is-changed::before {
  6281. position: absolute;
  6282. content: '';
  6283. left: -3px;
  6284. width: 6px;
  6285. height: 6px;
  6286. top: 50%;
  6287. margin-top: -3px;
  6288. border-radius: 100%;
  6289. background: var(--interactive-muted-alt);
  6290. box-shadow: 0 0 0 2px var(--background-primary);
  6291. }
  6292. .tabsSidebar-tab:first-child {
  6293. @include bidi-style(border-top-left-radius, 8px, border-top-right-radius, 0);
  6294. border-top: none;
  6295. }
  6296. .tabsSidebar-tab:last-child {
  6297. @include bidi-style(
  6298. border-bottom-left-radius,
  6299. 8px,
  6300. border-bottom-right-radius,
  6301. 0
  6302. );
  6303. }
  6304. .tabsSidebar-tab .icon {
  6305. width: 24px;
  6306. height: 24px;
  6307. fill: var(--interactive-muted-alt);
  6308. }
  6309. .tabsSidebar-tab.active {
  6310. .tabsSidebar-tab-count {
  6311. background: var(--interactive-muted-alt-selected);
  6312. &::after {
  6313. border-right-color: var(--interactive-muted-alt-selected);
  6314. }
  6315. &.tabsSidebar-tab-count--info {
  6316. background: var(--button-primary-background);
  6317. opacity: 1;
  6318. &::after {
  6319. border-right-color: var(--button-primary-background);
  6320. }
  6321. }
  6322. &.tabsSidebar-tab-count--success {
  6323. background: hsl(145, 51%, 45%);
  6324. opacity: 1;
  6325. &::after {
  6326. border-right-color: hsl(145, 51%, 45%);
  6327. }
  6328. }
  6329. &.tabsSidebar-tab-count--warning {
  6330. background: hsl(45, 98%, 63%);
  6331. opacity: 1;
  6332. &::after {
  6333. border-right-color: hsl(45, 98%, 63%);
  6334. }
  6335. }
  6336. &.tabsSidebar-tab-count--danger {
  6337. background: hsl(11, 85%, 48%);
  6338. opacity: 1;
  6339. &::after {
  6340. border-right-color: hsl(11, 85%, 48%);
  6341. }
  6342. }
  6343. }
  6344. .icon {
  6345. fill: var(--interactive-muted-alt-selected);
  6346. }
  6347. }
  6348. .tabsSidebar-tab-count {
  6349. position: absolute;
  6350. left: 9px;
  6351. top: 5px;
  6352. background: var(--interactive-muted-alt);
  6353. width: 16px;
  6354. height: 13px;
  6355. text-align: center;
  6356. border-radius: 2px;
  6357. font-size: 9px;
  6358. line-height: 14px;
  6359. color: var(--background-primary-alt);
  6360. @include phone {
  6361. left: 4px;
  6362. top: 4px;
  6363. }
  6364. [data-tab='organization'] & {
  6365. left: 7px;
  6366. + .icon {
  6367. margin-left: 3px;
  6368. }
  6369. }
  6370. + .icon {
  6371. margin-top: 6px;
  6372. }
  6373. &::after {
  6374. content: '';
  6375. position: absolute;
  6376. top: 100%;
  6377. right: 20%;
  6378. border-bottom: 3px solid transparent;
  6379. border-right: 5px solid var(--interactive-muted-alt);
  6380. }
  6381. &.tabsSidebar-tab-count--info {
  6382. background: var(--button-primary-background);
  6383. opacity: 0.5;
  6384. &::after {
  6385. border-right-color: var(--button-primary-background);
  6386. }
  6387. }
  6388. &.tabsSidebar-tab-count--success {
  6389. background: hsl(145, 51%, 45%);
  6390. opacity: 0.5;
  6391. &::after {
  6392. border-right-color: hsl(145, 51%, 45%);
  6393. }
  6394. }
  6395. &.tabsSidebar-tab-count--warning {
  6396. background: hsl(45, 98%, 63%);
  6397. opacity: 0.5;
  6398. &::after {
  6399. border-right-color: hsl(45, 98%, 63%);
  6400. }
  6401. }
  6402. &.tabsSidebar-tab-count--danger {
  6403. background: hsl(11, 85%, 48%);
  6404. opacity: 0.5;
  6405. &::after {
  6406. border-right-color: hsl(11, 85%, 48%);
  6407. }
  6408. }
  6409. }
  6410. .alert {
  6411. padding: 10px 15px 8px;
  6412. border-radius: 3px;
  6413. color: var(--text-inverted);
  6414. border: none;
  6415. background: hsla(0, 0%, 0%, 0.3);
  6416. .icon {
  6417. @include bidi-style(margin-right, 10px, margin-left, 0);
  6418. fill: currentColor;
  6419. }
  6420. .btn {
  6421. background: hsla(0, 0%, 0%, 0.2);
  6422. border-color: hsla(0, 0%, 0%, 0.1);
  6423. color: inherit;
  6424. }
  6425. &--info {
  6426. background: var(--button-primary-background);
  6427. }
  6428. &--success {
  6429. &,
  6430. &[contenteditable]:hover,
  6431. &[contenteditable]:focus {
  6432. background: hsl(145, 51%, 45%);
  6433. }
  6434. }
  6435. &--warning {
  6436. color: hsl(45, 98%, 17%);
  6437. background: hsl(45, 98%, 63%);
  6438. .btn {
  6439. background: hsla(0, 0%, 100%, 0.2);
  6440. }
  6441. }
  6442. &--danger {
  6443. background: hsl(11, 85%, 48%);
  6444. }
  6445. &--square {
  6446. border-radius: 0;
  6447. }
  6448. &.horizontal .btn {
  6449. margin-top: -5px;
  6450. margin-bottom: -4px;
  6451. &:last-child {
  6452. margin-right: -5px;
  6453. }
  6454. }
  6455. &-row {
  6456. margin: 3px 0;
  6457. + .btn {
  6458. margin-top: 3px;
  6459. }
  6460. }
  6461. }
  6462. .tags,
  6463. .links,
  6464. .link_kb_answers {
  6465. margin: 20px 0;
  6466. }
  6467. .tags {
  6468. margin-top: 10px;
  6469. }
  6470. .userNotifications label + .btn {
  6471. margin-top: 1px;
  6472. }
  6473. .list {
  6474. padding: 0;
  6475. margin-bottom: 5px;
  6476. }
  6477. .list-title {
  6478. margin-top: 7px;
  6479. margin-bottom: 4px;
  6480. text-transform: uppercase;
  6481. color: var(--ghost-color);
  6482. display: block;
  6483. font-size: 12px;
  6484. font-weight: normal;
  6485. letter-spacing: 0.05em;
  6486. }
  6487. .list-item {
  6488. display: flex;
  6489. align-items: center;
  6490. border-bottom: 1px solid var(--background-modifier-border);
  6491. }
  6492. .list-item-name {
  6493. flex: 1;
  6494. padding: 4px 1px;
  6495. }
  6496. .list-item-delete {
  6497. padding: 0 10px;
  6498. @include bidi-style(margin-right, -3px, margin-left, 0);
  6499. display: flex;
  6500. align-items: center;
  6501. justify-content: center;
  6502. align-self: stretch;
  6503. @extend .u-clickable;
  6504. .icon {
  6505. width: 9px;
  6506. height: 9px;
  6507. fill: var(--interactive-muted);
  6508. }
  6509. }
  6510. .list-item-delete:hover .icon {
  6511. fill: hsl(1, 77%, 47%);
  6512. }
  6513. li.list-item-none {
  6514. list-style-type: none;
  6515. }
  6516. .ticket-id {
  6517. color: var(--text-inverted);
  6518. background: var(--interactive-muted-alt);
  6519. font-size: 11px;
  6520. border-radius: 7px;
  6521. padding: 0 5px;
  6522. @include bidi-style(margin-right, 2px, margin-left, 0);
  6523. }
  6524. .attributeBar {
  6525. background: var(--background-secondary);
  6526. transition: margin 250ms;
  6527. flex-shrink: 0;
  6528. border-top: 1px solid var(--border);
  6529. &.is-closed {
  6530. margin-bottom: -60px;
  6531. }
  6532. @include phone {
  6533. &-reset {
  6534. flex-shrink: 5;
  6535. }
  6536. .btn,
  6537. .buttonDropdown {
  6538. min-width: 20px;
  6539. &--only-icon {
  6540. min-width: 36px;
  6541. }
  6542. }
  6543. }
  6544. &-inner {
  6545. height: 60px;
  6546. display: flex;
  6547. align-items: center;
  6548. justify-content: flex-end;
  6549. padding: 10px;
  6550. }
  6551. &-avatars {
  6552. margin-right: 10px;
  6553. }
  6554. &-draft-spacer {
  6555. width: 1px;
  6556. height: 60px;
  6557. margin-right: 15px;
  6558. background: var(--background-modifier-accent);
  6559. }
  6560. &-avatars:empty + &-draft-spacer {
  6561. display: none;
  6562. }
  6563. &--border {
  6564. border-top: 1px solid var(--border);
  6565. }
  6566. &--spacer-after {
  6567. margin-right: auto;
  6568. }
  6569. }
  6570. .newTicket {
  6571. padding: 14px 34px;
  6572. @include phone {
  6573. padding: 0;
  6574. }
  6575. }
  6576. .newTicket .sidebar {
  6577. width: 290px;
  6578. }
  6579. .newTicket .form-control {
  6580. border-color: var(--border);
  6581. &:focus,
  6582. &.focus {
  6583. border-color: var(--border-highlight);
  6584. }
  6585. }
  6586. .newTicket .article-form-top {
  6587. margin-top: 15px;
  6588. }
  6589. .newTicket--chatTicket {
  6590. flex: 1;
  6591. display: flex;
  6592. padding: 0;
  6593. height: 100%;
  6594. & > .icon {
  6595. position: absolute;
  6596. top: 50%;
  6597. transform: translateY(-50%) translateX(-50%);
  6598. }
  6599. & > .box {
  6600. width: calc(50% - 47px);
  6601. margin: 34px;
  6602. }
  6603. .chatHistory {
  6604. display: flex;
  6605. flex-direction: column;
  6606. }
  6607. .boxFade {
  6608. width: 94px;
  6609. top: 34px;
  6610. height: 100%;
  6611. position: absolute;
  6612. @include bidi-style(margin-left, -34px, margin-right, 0);
  6613. z-index: 1;
  6614. }
  6615. }
  6616. .box {
  6617. background: var(--background-secondary);
  6618. margin: 20px 0;
  6619. border: 1px solid var(--border);
  6620. padding: 20px 24px;
  6621. }
  6622. .box.box--newTicket {
  6623. max-width: 1080px;
  6624. margin-left: auto;
  6625. margin-right: auto;
  6626. @include phone {
  6627. margin: 0;
  6628. border: none;
  6629. padding: 15px;
  6630. }
  6631. }
  6632. .box .page-header {
  6633. text-align: center;
  6634. margin-bottom: 12px;
  6635. }
  6636. .box--paper {
  6637. background-image: linear-gradient(
  6638. transparent 30px,
  6639. var(--background-modifier-border) 31px
  6640. );
  6641. background-size: 100% 31px;
  6642. line-height: 31px;
  6643. padding-top: 31px;
  6644. padding-bottom: 31px;
  6645. h1,
  6646. h2,
  6647. h3 {
  6648. margin: 0;
  6649. line-height: inherit;
  6650. }
  6651. h3:not(:first-child) {
  6652. margin-top: 31px;
  6653. }
  6654. }
  6655. .box h1 {
  6656. margin-top: 10px;
  6657. margin-bottom: 12px;
  6658. color: var(--text-normal);
  6659. flex: 1;
  6660. }
  6661. .box h2 {
  6662. margin-top: 12px;
  6663. }
  6664. .box .two-columns {
  6665. margin-left: -4px;
  6666. margin-right: -4px;
  6667. }
  6668. .box .two-columns .column {
  6669. margin-left: 4px;
  6670. margin-right: 4px;
  6671. width: calc(50% - 8px);
  6672. @include phone {
  6673. width: auto;
  6674. }
  6675. }
  6676. .box-controls {
  6677. margin-top: 20px;
  6678. display: flex;
  6679. align-items: center;
  6680. }
  6681. .box--yellow {
  6682. background: hsl(47, 100%, 93%);
  6683. border-color: hsl(47, 100%, 75%);
  6684. color: hsl(47, 20%, 67%);
  6685. h1,
  6686. h2 {
  6687. color: hsl(47, 3%, 28%);
  6688. }
  6689. }
  6690. .box-progress {
  6691. display: flex;
  6692. align-items: center;
  6693. justify-content: center;
  6694. }
  6695. .box-progress-title {
  6696. color: hsl(47, 3%, 28%);
  6697. }
  6698. .box-progress-body {
  6699. flex: 1;
  6700. @include bidi-style(margin-left, 24px, margin-right, 0);
  6701. display: flex;
  6702. align-items: center;
  6703. justify-content: center;
  6704. progress {
  6705. width: 100%;
  6706. }
  6707. }
  6708. .horizontal > .box {
  6709. margin-top: 4px;
  6710. margin-bottom: 4px;
  6711. & + .box {
  6712. border-left-width: 0;
  6713. }
  6714. }
  6715. .formset-inset {
  6716. margin: 34px -24px 24px;
  6717. padding: 19px 24px 24px;
  6718. background: var(--background-primary-alt);
  6719. border-top: 1px solid var(--border);
  6720. border-bottom: 1px solid var(--border);
  6721. }
  6722. .type-tabs {
  6723. @include phone {
  6724. overflow: hidden;
  6725. -webkit-overflow-scrolling: none;
  6726. }
  6727. }
  6728. .type-tabs .tab {
  6729. height: 40px;
  6730. line-height: 42px;
  6731. padding: 0 12px;
  6732. list-style: none;
  6733. align-items: flex-start;
  6734. @include phone {
  6735. display: block;
  6736. text-align: center;
  6737. flex-shrink: 1;
  6738. }
  6739. }
  6740. .type-tabs .tab-icon {
  6741. width: 17px;
  6742. height: 17px;
  6743. fill: var(--interactive-muted);
  6744. vertical-align: top;
  6745. @include bidi-style(margin-right, 9px, margin-left, 0);
  6746. margin-top: 11px;
  6747. transform: scale(1.2);
  6748. flex-shrink: 0;
  6749. }
  6750. .type-tabs .tab.active .tab-icon {
  6751. fill: var(--text-inverted);
  6752. }
  6753. .token {
  6754. padding: 0 0 0 10px;
  6755. margin: 0 5px 6px 0;
  6756. height: 26px;
  6757. color: var(--tag-text);
  6758. border-radius: 3px;
  6759. background: var(--tag-background);
  6760. border: none;
  6761. float: none;
  6762. display: inline-flex;
  6763. align-items: center;
  6764. cursor: default;
  6765. max-width: 100%;
  6766. &.active {
  6767. background: var(--highlight);
  6768. color: var(--text-inverted);
  6769. .close,
  6770. .token-close {
  6771. opacity: 1;
  6772. }
  6773. }
  6774. }
  6775. /*
  6776. selector needs to be stronger than .token-input
  6777. in order to override input[type=text]
  6778. */
  6779. .tokenfield .token-input {
  6780. vertical-align: top;
  6781. padding: 0 10px 7px 5px;
  6782. margin: 0;
  6783. min-width: 60px;
  6784. height: 32px;
  6785. display: inline-block;
  6786. border: none;
  6787. background: none;
  6788. box-shadow: none;
  6789. outline: none;
  6790. flex: 1;
  6791. &:focus {
  6792. box-shadow: none;
  6793. }
  6794. &[disabled] {
  6795. background: none;
  6796. }
  6797. }
  6798. .tokenfield .token ~ .token-input {
  6799. padding: 0 5px 7px 0;
  6800. }
  6801. .token-label {
  6802. padding: 0;
  6803. white-space: nowrap;
  6804. overflow: hidden;
  6805. text-overflow: ellipsis;
  6806. }
  6807. .tokenfield.form-control {
  6808. padding: 7px 7px 0;
  6809. height: auto;
  6810. display: flex;
  6811. flex-wrap: wrap;
  6812. }
  6813. .token .close,
  6814. .token-close {
  6815. margin: 0;
  6816. padding: 0 9px 1px 6px;
  6817. font-family: inherit;
  6818. font-weight: 100;
  6819. font-size: 28px;
  6820. line-height: 1;
  6821. color: inherit;
  6822. text-shadow: none;
  6823. opacity: 0.5;
  6824. outline: none;
  6825. height: auto;
  6826. @extend %clickable;
  6827. }
  6828. .token .close:hover,
  6829. .token-close:hover {
  6830. opacity: 0.5;
  6831. }
  6832. /* allow/show autocomplete in modal dialog */
  6833. .ui-autocomplete.ui-widget-content {
  6834. @extend .zIndex-11;
  6835. position: absolute;
  6836. max-height: 380px;
  6837. overflow: auto;
  6838. -webkit-overflow-scrolling: touch;
  6839. }
  6840. .ui-menu {
  6841. background: var(--background-tertiary);
  6842. border: none;
  6843. color: var(--text-inverted);
  6844. font-family: inherit;
  6845. font-size: inherit;
  6846. .ui-menu-item {
  6847. padding: 9px 15px;
  6848. list-style-image: none;
  6849. &.is-inactive {
  6850. text-decoration: line-through;
  6851. opacity: 0.73;
  6852. }
  6853. &:not(:first-child) {
  6854. box-shadow: 0 1px rgba(255, 255, 255, 0.13) inset;
  6855. }
  6856. &.ui-state-focus {
  6857. margin: 0;
  6858. border: none;
  6859. background: var(--highlight);
  6860. color: inherit;
  6861. + li {
  6862. box-shadow: none;
  6863. }
  6864. }
  6865. }
  6866. }
  6867. .drox {
  6868. color: var(--text-muted);
  6869. }
  6870. .drox .drox-header {
  6871. padding-bottom: 2px;
  6872. margin-bottom: 16px;
  6873. border-bottom: 1px solid var(--background-modifier-border);
  6874. }
  6875. .drox a.create {
  6876. margin-top: 2px;
  6877. display: inline-block;
  6878. }
  6879. .drox .form-group {
  6880. margin-bottom: 22px;
  6881. }
  6882. .drox .drox-body p:first-child {
  6883. margin-top: 20px;
  6884. }
  6885. .newTicket .templates {
  6886. border-bottom: 1px solid var(--background-modifier-border);
  6887. padding-bottom: 14px;
  6888. }
  6889. .templates-manage fieldset {
  6890. margin: 0;
  6891. }
  6892. .template-attributes {
  6893. margin: 17px 0 19px;
  6894. }
  6895. .template-attribute {
  6896. height: 24px;
  6897. line-height: 25px;
  6898. @include bidi-style(padding-left, 10px, padding-right, 0);
  6899. margin-bottom: 2px;
  6900. font-size: 13px;
  6901. color: var(--text-muted-alt);
  6902. background: var(--background-primary-alt);
  6903. border: 1px solid var(--border);
  6904. border-radius: 3px;
  6905. }
  6906. .template-attribute .key {
  6907. text-transform: uppercase;
  6908. @include bidi-style(margin-right, 3px, margin-left, 0);
  6909. }
  6910. .template-attribute .value {
  6911. @include bidi-style(margin-left, 3px, margin-right, 0);
  6912. }
  6913. .template-attribute .delete {
  6914. padding: 0 7px;
  6915. margin-top: 4px;
  6916. line-height: 19px;
  6917. font-size: 28px;
  6918. font-weight: 300;
  6919. opacity: 0.4;
  6920. }
  6921. .customer-name {
  6922. color: var(--text-normal);
  6923. }
  6924. .customer-email {
  6925. margin-top: 5px;
  6926. margin-bottom: 20px;
  6927. display: block;
  6928. }
  6929. .table.user-list {
  6930. tr:hover .switchView {
  6931. visibility: visible;
  6932. }
  6933. td .list {
  6934. margin-top: -4px;
  6935. }
  6936. .switchView {
  6937. visibility: hidden;
  6938. display: block;
  6939. text-overflow: ellipsis;
  6940. overflow: hidden;
  6941. }
  6942. .btn {
  6943. margin: 3px 5px 0;
  6944. }
  6945. }
  6946. .switchBackToUser {
  6947. display: flex;
  6948. align-items: center;
  6949. background: hsl(200, 87%, 45%);
  6950. color: var(--text-inverted);
  6951. height: 45px;
  6952. padding: 0 17px;
  6953. /* top: -45px !important; */
  6954. border-bottom: 5px solid hsl(205, 90%, 60%);
  6955. }
  6956. .switchBackToUser-icon {
  6957. width: 19px;
  6958. height: 18px;
  6959. }
  6960. .switchBackToUser-text {
  6961. @include bidi-style(margin-left, 10px, margin-right, 0);
  6962. }
  6963. .switchBackToUser-close {
  6964. width: 40px;
  6965. height: 40px;
  6966. @include bidi-style(margin-right, -10px, margin-left, 0);
  6967. display: flex;
  6968. align-items: center;
  6969. justify-content: center;
  6970. svg {
  6971. fill: var(--text-inverted);
  6972. }
  6973. }
  6974. .modal {
  6975. @extend .zIndex-11;
  6976. &-loader {
  6977. text-align: center;
  6978. padding: 70px;
  6979. }
  6980. &-backdrop--local {
  6981. background: var(--background-primary-alt);
  6982. }
  6983. }
  6984. .modal-dialog {
  6985. width: auto;
  6986. max-width: 660px;
  6987. margin-top: 35px;
  6988. margin-bottom: 35px;
  6989. @extend .zIndex-11;
  6990. @include phone {
  6991. max-width: calc(100% - 20px) !important;
  6992. margin: 10px;
  6993. }
  6994. &.wizard {
  6995. margin: 35px auto;
  6996. }
  6997. }
  6998. .modal--veryLarge .modal-dialog {
  6999. max-width: 990px;
  7000. }
  7001. .modal--large .modal-dialog {
  7002. max-width: 740px;
  7003. }
  7004. .modal--small .modal-dialog {
  7005. max-width: 440px;
  7006. }
  7007. .modal--dynamicSize .modal-dialog {
  7008. max-width: 100%;
  7009. width: max-content;
  7010. padding: 0 35px;
  7011. @include phone {
  7012. padding: 0;
  7013. margin: 10px;
  7014. }
  7015. }
  7016. .modal-dialog.wizard {
  7017. max-width: 460px;
  7018. }
  7019. .modal-content {
  7020. border-radius: 0;
  7021. border: 1px solid var(--border);
  7022. box-shadow: none;
  7023. color: var(--text-normal);
  7024. background: var(--background-secondary);
  7025. }
  7026. .modal-header {
  7027. padding: 30px 23px 23px;
  7028. border: none;
  7029. @include phone {
  7030. padding: 14px 15px;
  7031. }
  7032. &--empty {
  7033. padding: 0;
  7034. }
  7035. }
  7036. .modal-header h1 {
  7037. text-align: center;
  7038. @include phone {
  7039. text-align: initial;
  7040. line-height: 1.2;
  7041. }
  7042. }
  7043. .modal-close {
  7044. padding: 23px;
  7045. position: absolute;
  7046. z-index: 1;
  7047. right: 0;
  7048. color: var(--interactive-muted);
  7049. @include rtl(right, auto);
  7050. @include rtl(left, 0);
  7051. top: 0;
  7052. @extend .u-clickable;
  7053. @include phone {
  7054. position: static;
  7055. padding: 21px;
  7056. margin: -14px -15px 0 0;
  7057. float: right;
  7058. }
  7059. &:active {
  7060. color: var(--interactive-muted-active);
  7061. }
  7062. .icon-diagonal-cross {
  7063. fill: currentColor;
  7064. }
  7065. }
  7066. .modal-alerts-container {
  7067. padding: 0 23px;
  7068. }
  7069. .modal-body {
  7070. padding: 0 23px;
  7071. clear: both;
  7072. @include phone {
  7073. padding: 0 15px;
  7074. }
  7075. h2:first-child {
  7076. margin-top: 0;
  7077. }
  7078. p:first-child,
  7079. .alert.hidden:first-child + p {
  7080. margin-top: 0;
  7081. }
  7082. .table > thead > tr > th {
  7083. background: var(--background-primary-alt);
  7084. }
  7085. }
  7086. .modal-footer {
  7087. padding: 23px 23px 20px;
  7088. border: none;
  7089. display: flex;
  7090. @include rtl(text-align, left);
  7091. @include phone {
  7092. padding: 15px;
  7093. }
  7094. .btn--text + .btn--text {
  7095. margin-bottom: -10px;
  7096. }
  7097. }
  7098. .modal-leftFooter,
  7099. .modal-centerFooter,
  7100. .modal-rightFooter {
  7101. display: flex;
  7102. align-items: center; /* because of btn--text btn--subtle being thinner than the rest */
  7103. flex: 1;
  7104. }
  7105. .modal.modal--local {
  7106. display: block;
  7107. padding: 0 40px;
  7108. @extend .zIndex-11;
  7109. @include bidi-style(padding-left, 40px, padding-right, 0);
  7110. @include phone {
  7111. padding: 0 !important;
  7112. }
  7113. .modal-dialog {
  7114. box-shadow: 0 0 40px hsla(210, 17%, 40%, 0.34);
  7115. @include dark {
  7116. box-shadow: 0 0 40px hsla(0, 0%, 0%, 0.34);
  7117. }
  7118. }
  7119. }
  7120. .caret {
  7121. position: absolute;
  7122. top: 50%;
  7123. margin-top: -3px;
  7124. right: 10px;
  7125. }
  7126. .dropdown-backdrop {
  7127. @extend .zIndex-5; // has to be behind dropdown-menu
  7128. }
  7129. .dropdown-menu {
  7130. @extend .zIndex-6; // has to be behind modal windows and beneath notifications (popover)
  7131. margin: 0;
  7132. padding: 0;
  7133. min-width: 100%;
  7134. color: var(--text-inverted);
  7135. text-transform: initial;
  7136. letter-spacing: 0;
  7137. background: var(--background-tertiary);
  7138. border-radius: 0;
  7139. border: none;
  7140. box-shadow: none;
  7141. overflow: hidden;
  7142. @include rtl(text-align, right);
  7143. overscroll-behavior: contain;
  7144. }
  7145. .dropdown-menu .divider {
  7146. background: var(--background-modifier-border);
  7147. }
  7148. .dropdown-menu kbd {
  7149. background: none;
  7150. color: inherit;
  7151. padding: 2px 5px;
  7152. @include bidi-style(margin-left, 7px, margin-right, 0);
  7153. line-height: 1;
  7154. vertical-align: baseline;
  7155. opacity: 0.5;
  7156. }
  7157. .dropdown-toggle {
  7158. display: flex;
  7159. align-items: center;
  7160. @extend .u-clickable;
  7161. }
  7162. .dropdown-icon {
  7163. width: 16px;
  7164. height: 16px;
  7165. }
  7166. .dropdown-menu.dropdown-menu--light {
  7167. background: var(--background-secondary);
  7168. color: var(--text-muted);
  7169. }
  7170. .dropdown-menu.dropdown-menu--light > li {
  7171. color: var(--text-nav);
  7172. &.dropdown-header {
  7173. color: var(--text-muted);
  7174. }
  7175. }
  7176. .dropdown-menu.dropdown-menu--light > li > a:hover {
  7177. background: var(--background-secondary-hover);
  7178. }
  7179. .dropdown-menu.dropdown-menu--light li:hover {
  7180. background: none;
  7181. }
  7182. .dropdown-menu.dropdown-menu--light li.is-active {
  7183. color: var(--text-inverted);
  7184. }
  7185. .dropdown ul {
  7186. margin: 0;
  7187. padding: 0;
  7188. }
  7189. .dropdown li,
  7190. .dropup li {
  7191. height: 39px;
  7192. line-height: 39px;
  7193. padding: 0 15px;
  7194. @extend %clickable;
  7195. white-space: nowrap;
  7196. &:focus {
  7197. outline: none;
  7198. }
  7199. &.is-active {
  7200. small {
  7201. color: var(--text-muted-highlight);
  7202. }
  7203. }
  7204. }
  7205. .dropdown.dropdown--actions li.with-category {
  7206. height: 39px;
  7207. padding: 2.5px 15px;
  7208. display: block;
  7209. }
  7210. .dropdown li:not(:first-child) {
  7211. box-shadow: 0 1px rgba(255, 255, 255, 0.13) inset;
  7212. }
  7213. .dropdown li.label {
  7214. box-shadow: none;
  7215. + li {
  7216. box-shadow: none;
  7217. }
  7218. }
  7219. .dropdown li:hover,
  7220. .dropdown li.is-active {
  7221. background: var(--highlight);
  7222. + li {
  7223. box-shadow: none;
  7224. }
  7225. }
  7226. .dropdown-menu > li.danger:hover,
  7227. .dropdown-menu > li.danger.is-active {
  7228. background: var(--danger-color);
  7229. }
  7230. .dropdown-menu > li.create:hover,
  7231. .dropdown-menu > li.create.is-active {
  7232. background: hsl(145, 51%, 45%);
  7233. }
  7234. .dropdown-menu > li[disabled] {
  7235. opacity: 0.33;
  7236. &:hover,
  7237. &.is-active {
  7238. background: none;
  7239. cursor: default;
  7240. }
  7241. }
  7242. .dropdown-menu > li > a {
  7243. color: inherit;
  7244. padding: 0 15px;
  7245. margin: 0 -15px;
  7246. line-height: inherit;
  7247. }
  7248. .dropdown-menu > li > a:hover {
  7249. color: inherit;
  7250. background: none;
  7251. }
  7252. .dropdown-menu > li > a span {
  7253. display: block;
  7254. }
  7255. .dropdown-menu .badge--text {
  7256. @include bidi-style(padding-left, 10px, padding-right, 0);
  7257. }
  7258. .dropdown.dropdown--actions {
  7259. li {
  7260. line-height: initial;
  7261. height: auto;
  7262. padding: 11px 15px;
  7263. display: flex;
  7264. align-items: center;
  7265. word-break: break-all;
  7266. }
  7267. .dropdown-iconSpacer,
  7268. .dropdown-selectedSpacer {
  7269. display: flex;
  7270. align-items: center;
  7271. }
  7272. .dropdown-iconSpacer {
  7273. width: 25px;
  7274. }
  7275. .dropdown-selectedSpacer {
  7276. width: 34px;
  7277. @include bidi-style(margin-left, auto, margin-right, 0);
  7278. justify-content: flex-end;
  7279. opacity: 0;
  7280. .icon {
  7281. fill: var(--text-inverted);
  7282. }
  7283. &.is-selected {
  7284. opacity: 1;
  7285. }
  7286. }
  7287. a {
  7288. @extend .u-clickable;
  7289. display: flex;
  7290. flex: 1;
  7291. padding: 0 18px;
  7292. }
  7293. li.dropdown-highlight-list {
  7294. padding: 0 10px;
  7295. a {
  7296. padding: 11px 18px;
  7297. }
  7298. }
  7299. }
  7300. .dropdown.dropdown--wide {
  7301. li {
  7302. padding-top: 12px;
  7303. padding-bottom: 12px;
  7304. }
  7305. }
  7306. li.dropdown-header {
  7307. line-height: 34px;
  7308. height: 30px;
  7309. color: var(--text-muted);
  7310. box-shadow: none !important;
  7311. pointer-events: none;
  7312. }
  7313. .dropdown-menu--has-submenu {
  7314. overflow: hidden;
  7315. background: none;
  7316. ul {
  7317. background: var(--background-tertiary);
  7318. }
  7319. }
  7320. .dropdown-submenu {
  7321. position: absolute;
  7322. top: 0;
  7323. left: 0;
  7324. width: 100%;
  7325. }
  7326. .dropdown.dropdown--actions .dropdown-controls {
  7327. @extend .u-clickable;
  7328. display: flex;
  7329. &:not(:hover, .is-active) {
  7330. background: hsl(206, 7%, 28%);
  7331. }
  7332. .icon {
  7333. fill: var(--text-inverted);
  7334. @include bidi-style(margin-right, 10px, margin-left, 0);
  7335. flex-shrink: 0;
  7336. }
  7337. }
  7338. .dropdown-title {
  7339. flex-shrink: 1;
  7340. overflow: hidden;
  7341. text-overflow: ellipsis;
  7342. white-space: nowrap;
  7343. }
  7344. .dropdown-detail {
  7345. opacity: 0.5;
  7346. }
  7347. .dropdown {
  7348. .dropdown-menu-full-height {
  7349. li {
  7350. padding: 0;
  7351. }
  7352. a {
  7353. padding: 11px 18px;
  7354. margin: 0;
  7355. }
  7356. }
  7357. }
  7358. .recipientList,
  7359. .recipientList-organizationMembers {
  7360. list-style: none;
  7361. padding: 0;
  7362. }
  7363. .recipientList-entry {
  7364. display: flex;
  7365. align-items: center;
  7366. @extend .u-clickable;
  7367. &.is-inactive {
  7368. .recipientList-name {
  7369. text-decoration: line-through;
  7370. opacity: 0.73;
  7371. }
  7372. }
  7373. }
  7374. .recipientList-entry .recipientList-iconSpacer {
  7375. width: 20px;
  7376. @include bidi-style(margin-left, -5px, margin-right, 0);
  7377. display: flex;
  7378. align-items: center;
  7379. justify-content: center;
  7380. flex-shrink: 0;
  7381. }
  7382. .recipientList-icon {
  7383. width: 16px;
  7384. height: 16px;
  7385. fill: var(--text-inverted);
  7386. opacity: 0.2;
  7387. }
  7388. .recipientList--new,
  7389. .recipientList-entry:hover,
  7390. .recipientList-entry.is-active {
  7391. .recipientList-icon {
  7392. opacity: 1;
  7393. }
  7394. }
  7395. .recipientList-name {
  7396. color: var(--text-inverted);
  7397. @include bidi-style(margin-left, 10px, margin-right, 0);
  7398. flex: 1;
  7399. @extend .u-textTruncate;
  7400. }
  7401. .recipientList-status {
  7402. opacity: 0.5;
  7403. margin: 0 10px;
  7404. flex-shrink: 1;
  7405. &:last-child {
  7406. margin-right: 0;
  7407. }
  7408. }
  7409. .recipientList-arrow {
  7410. fill: var(--text-inverted);
  7411. opacity: 0.39;
  7412. }
  7413. .recipientList-entry:hover .recipientList-arrow {
  7414. opacity: 1;
  7415. }
  7416. .recipientList-detail {
  7417. opacity: 0.5;
  7418. &.is-inactive > span {
  7419. text-decoration: line-through;
  7420. }
  7421. }
  7422. .recipientList-icon.plus {
  7423. @include bidi-style(margin-left, 13px, margin-right, 0);
  7424. }
  7425. .recipientList--new {
  7426. background: hsl(145, 51%, 45%);
  7427. }
  7428. .dropdown .recipientList--new:hover {
  7429. background: hsl(147, 52%, 43%);
  7430. }
  7431. .recipientList-controls,
  7432. .recipientList-controls:hover {
  7433. @extend .u-clickable;
  7434. padding: 0 10px !important;
  7435. background: var(--background-modifier-lighter);
  7436. & + li {
  7437. box-shadow: 0 1px rgba(255, 255, 255, 0.13) inset;
  7438. }
  7439. }
  7440. .recipientList-organizationMembers {
  7441. position: absolute;
  7442. top: 0;
  7443. left: 0;
  7444. right: 0;
  7445. }
  7446. .userInfo-avatar {
  7447. float: right;
  7448. @include rtl(float, left);
  7449. position: relative;
  7450. }
  7451. .organizationInfo-avatar {
  7452. @extend .userInfo-avatar;
  7453. @include bidi-style(padding, 18px 0 0 18px, padding, 18px 18px 0 0);
  7454. background: var(--background-modifier-accent);
  7455. color: var(--text-muted);
  7456. }
  7457. .userList {
  7458. list-style: none;
  7459. padding: 0;
  7460. .userList-entry {
  7461. margin: 10px 0;
  7462. display: flex;
  7463. align-items: center;
  7464. &:last-child {
  7465. margin-bottom: 0;
  7466. }
  7467. }
  7468. .userList-name {
  7469. @extend .u-textTruncate;
  7470. @include bidi-style(margin-left, 7px, margin-right, 0);
  7471. }
  7472. }
  7473. .checkbox,
  7474. .radio {
  7475. font-size: 14px;
  7476. padding: 0 6px;
  7477. .form-group & {
  7478. padding: 10px 12px;
  7479. margin: 0;
  7480. list-style: none;
  7481. height: auto;
  7482. display: flex;
  7483. flex-direction: column;
  7484. align-items: flex-start;
  7485. background: var(--background-secondary);
  7486. border: 1px solid var(--border);
  7487. }
  7488. .checkbox-replacement {
  7489. display: inline-block;
  7490. }
  7491. label {
  7492. padding-left: 0;
  7493. min-height: 0;
  7494. }
  7495. > label,
  7496. &-child {
  7497. margin-top: 5px;
  7498. font-family: inherit;
  7499. font-size: 14px;
  7500. color: inherit;
  7501. text-transform: inherit;
  7502. letter-spacing: 0;
  7503. line-height: 1.2;
  7504. &:first-child {
  7505. margin-top: 0;
  7506. }
  7507. &.is-disabled {
  7508. cursor: default;
  7509. touch-action: default;
  7510. span {
  7511. opacity: 0.33;
  7512. }
  7513. }
  7514. &.additional-radio-controls {
  7515. margin-top: 0;
  7516. .controls {
  7517. display: inline-flex;
  7518. margin-left: 5px;
  7519. }
  7520. }
  7521. }
  7522. &-child {
  7523. padding-left: 20px;
  7524. }
  7525. .help-text {
  7526. display: table;
  7527. font-size: 0.92em;
  7528. margin: 2px 0 3px 18px;
  7529. }
  7530. }
  7531. .checkbox.form-group .checkbox--list,
  7532. .radio.form-group .radio--list {
  7533. margin-top: 0;
  7534. margin-bottom: 15px;
  7535. height: auto;
  7536. padding-top: 3px;
  7537. padding-bottom: 3px;
  7538. }
  7539. .checkbox,
  7540. .radio {
  7541. &.form-group .controls label {
  7542. padding: 2px 0;
  7543. font: inherit;
  7544. margin-bottom: 0;
  7545. color: inherit;
  7546. text-transform: inherit;
  7547. letter-spacing: 0;
  7548. line-height: 1.2;
  7549. &:first-child {
  7550. margin-top: 0;
  7551. }
  7552. &.is-disabled {
  7553. cursor: default;
  7554. touch-action: default;
  7555. span {
  7556. opacity: 0.33;
  7557. }
  7558. }
  7559. }
  7560. &-child {
  7561. padding-left: 20px;
  7562. }
  7563. }
  7564. .radio_graphic .selections-container {
  7565. display: grid;
  7566. grid-gap: 10px;
  7567. // fit as many as possible in one line, they must at least be 112px wide
  7568. grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
  7569. label {
  7570. margin-top: 0;
  7571. position: relative;
  7572. }
  7573. .icon {
  7574. flex-shrink: 0;
  7575. }
  7576. .icon-checked {
  7577. display: none;
  7578. }
  7579. .label-box {
  7580. display: block;
  7581. background: var(--background-secondary);
  7582. border: 1px solid var(--border);
  7583. border-radius: 5px;
  7584. overflow: hidden;
  7585. }
  7586. .label-row {
  7587. display: flex;
  7588. align-items: center;
  7589. padding: 5px 10px;
  7590. }
  7591. .label-text {
  7592. display: block;
  7593. margin-left: 5px;
  7594. white-space: nowrap;
  7595. overflow: hidden;
  7596. text-overflow: ellipsis;
  7597. }
  7598. .radio-illustration {
  7599. display: block;
  7600. width: 100%;
  7601. padding-bottom: 100%;
  7602. position: relative;
  7603. img {
  7604. width: 100%;
  7605. height: 100%;
  7606. position: absolute;
  7607. left: 0;
  7608. top: 0;
  7609. object-fit: cover;
  7610. }
  7611. }
  7612. input {
  7613. &:checked {
  7614. ~ .label-box {
  7615. border-color: var(--border-highlight);
  7616. box-shadow: 0 0 0 3px var(--shadow-highlight);
  7617. .icon-checked {
  7618. display: inline;
  7619. }
  7620. .icon-unchecked {
  7621. display: none;
  7622. }
  7623. }
  7624. }
  7625. }
  7626. }
  7627. .userSearch-label {
  7628. margin-top: 11px;
  7629. @include bidi-style(margin-right, 10px, margin-left, 0);
  7630. }
  7631. .userSearch .tab:not(.active) {
  7632. background: var(--background-secondary);
  7633. }
  7634. .userSearch {
  7635. margin: 0 0 20px;
  7636. }
  7637. .userSearch .tabs {
  7638. margin: 0;
  7639. }
  7640. .nav {
  7641. list-style: none;
  7642. padding: 0;
  7643. margin: 0;
  7644. }
  7645. .nav a {
  7646. padding: 10px 15px;
  7647. display: block;
  7648. }
  7649. .nav-tabs {
  7650. display: flex;
  7651. margin: 10px -20px 20px;
  7652. padding: 0 20px 0 21px; /* margin-left: -1px */
  7653. @include rtl(padding, 0 21px 0 20px);
  7654. position: relative;
  7655. }
  7656. .nav-tabs li {
  7657. margin: 0;
  7658. color: var(--interactive-muted);
  7659. border: 1px solid var(--border);
  7660. margin-left: -1px;
  7661. background: var(--background-secondary);
  7662. position: relative;
  7663. &:first-child {
  7664. border-radius: 7px 0 0 7px;
  7665. @include rtl(border-radius, 0 7px 7px 0);
  7666. }
  7667. &:last-child {
  7668. border-radius: 0 7px 7px 0;
  7669. @include rtl(border-radius, 7px 0 0 7px);
  7670. }
  7671. &:only-child {
  7672. border-radius: 7px;
  7673. }
  7674. &.active {
  7675. color: var(--text-inverted);
  7676. background: var(--button-active);
  7677. }
  7678. a {
  7679. padding: 10px 24px 8px;
  7680. color: inherit;
  7681. color: inherit;
  7682. }
  7683. }
  7684. .tab-content {
  7685. h2:first-child {
  7686. margin-top: 0;
  7687. }
  7688. }
  7689. .or-divider {
  7690. position: relative;
  7691. margin: 16px 0;
  7692. text-align: center;
  7693. &::before {
  7694. content: '';
  7695. position: absolute;
  7696. left: 0;
  7697. width: 100%;
  7698. top: 50%;
  7699. margin-top: -1px;
  7700. height: 1px;
  7701. background: hsla(0, 0%, 0%, 0.1);
  7702. }
  7703. span {
  7704. position: relative;
  7705. background: var(--background-secondary);
  7706. padding: 0 10px;
  7707. .modal-body & {
  7708. background: var(--background-primary);
  7709. }
  7710. }
  7711. }
  7712. .settings-entry {
  7713. margin-bottom: 42px;
  7714. max-width: 700px;
  7715. @include phone {
  7716. overflow: auto;
  7717. -webkit-overflow-scrolling: touch;
  7718. }
  7719. &--stretched {
  7720. max-width: none;
  7721. }
  7722. }
  7723. .setting-controls {
  7724. margin-top: 14px;
  7725. display: flex;
  7726. justify-content: flex-end;
  7727. }
  7728. .form-item .form-group {
  7729. margin-bottom: 0;
  7730. }
  7731. .form-item .form-group + .form-group {
  7732. margin-top: 15px;
  7733. }
  7734. .form-item + .btn {
  7735. @include bidi-style(margin-left, 23px, margin-right, 0);
  7736. }
  7737. .scrollPageHeader {
  7738. @extend .zIndex-5;
  7739. display: flex;
  7740. align-items: center;
  7741. background: var(--background-secondary);
  7742. border-bottom: 1px solid var(--border);
  7743. height: 64px;
  7744. top: 0;
  7745. left: 0;
  7746. right: 0;
  7747. padding: 0 22px;
  7748. position: absolute;
  7749. transform: translateY(-100%);
  7750. @include phone {
  7751. height: 50px;
  7752. padding: 0 6px;
  7753. overflow: hidden;
  7754. &.is-closed {
  7755. overflow: visible;
  7756. }
  7757. }
  7758. }
  7759. .scrollPageHeader small {
  7760. color: var(--text-muted-alt);
  7761. @include phone {
  7762. margin-top: 1px;
  7763. @include bidi-style(margin-left, 3px, margin-right, 0);
  7764. }
  7765. }
  7766. .scrollPageHeader .ticket-title {
  7767. max-width: initial;
  7768. padding: 0;
  7769. min-width: 0;
  7770. flex: 1;
  7771. }
  7772. .scrollPageHeader h1 {
  7773. font-size: 19px;
  7774. margin: 0 15px;
  7775. @extend .u-textTruncate;
  7776. @include phone {
  7777. font-size: 17px;
  7778. margin: 0 5px;
  7779. }
  7780. }
  7781. .wizard {
  7782. margin: auto; // makes sure that the wizard is scrollable
  7783. }
  7784. .wizard-logo {
  7785. fill: var(--text-inverted);
  7786. @include bidi-style(margin-left, -25px, margin-right, 0);
  7787. margin-bottom: 5px;
  7788. }
  7789. .wizard-slide {
  7790. @extend .hero-unit;
  7791. display: flex;
  7792. flex-direction: column;
  7793. width: 400px;
  7794. padding-bottom: 18px;
  7795. margin-bottom: 20px;
  7796. &.wizard-slide--large {
  7797. width: 460px;
  7798. }
  7799. }
  7800. .wizard h2 {
  7801. text-align: center;
  7802. border-bottom: 1px solid rgba(0, 0, 0, 0.13);
  7803. padding-bottom: 8px;
  7804. margin-bottom: 16px;
  7805. & + p {
  7806. margin-top: 0;
  7807. }
  7808. }
  7809. .wizard-body {
  7810. flex: 1;
  7811. padding-bottom: 15px;
  7812. @include phone {
  7813. width: 100%;
  7814. }
  7815. .form-control {
  7816. min-width: 0;
  7817. }
  7818. }
  7819. .wizard-controls {
  7820. display: flex;
  7821. margin-top: 15px;
  7822. height: 39px;
  7823. }
  7824. .wizard-buttonList {
  7825. margin-top: 15px;
  7826. min-width: 200px;
  7827. }
  7828. p + .wizard-buttonList,
  7829. label + .wizard-buttonList {
  7830. margin-top: 5px;
  7831. }
  7832. .wizard-loadingText {
  7833. text-align: center;
  7834. margin: 0;
  7835. }
  7836. .wizard-loadingText .loading {
  7837. vertical-align: middle;
  7838. @include bidi-style(margin-right, 10px, margin-left, 0);
  7839. }
  7840. .wizard-aside {
  7841. padding-top: 15px;
  7842. text-align: center;
  7843. border-top: 1px solid rgba(0, 0, 0, 0.13);
  7844. }
  7845. .setup.wizard .wizard-body {
  7846. min-height: 140px;
  7847. & > p:first-child {
  7848. margin-top: 0;
  7849. }
  7850. }
  7851. .setup.wizard .logo-preview,
  7852. .branding .logo-preview {
  7853. display: block;
  7854. height: 0;
  7855. max-width: 200px;
  7856. max-height: 100px;
  7857. &[src=''] {
  7858. visibility: hidden;
  7859. }
  7860. + .logo-preview-placeholder {
  7861. height: 100px;
  7862. color: var(--text-muted);
  7863. background: var(--background-modifier-accent);
  7864. margin-bottom: 10px;
  7865. display: flex;
  7866. align-items: center;
  7867. justify-content: center;
  7868. }
  7869. }
  7870. .setup.wizard .logo-preview:not([src='']) {
  7871. margin: 0 auto 15px;
  7872. height: auto;
  7873. + .logo-preview-placeholder {
  7874. display: none;
  7875. }
  7876. }
  7877. .setup.wizard .base-outbound-settings {
  7878. margin-top: 15px;
  7879. }
  7880. .branding .logo-preview:not([src='']) {
  7881. margin: 20px auto 12px;
  7882. height: auto;
  7883. + .logo-preview-placeholder {
  7884. display: none;
  7885. }
  7886. }
  7887. .branding.login {
  7888. padding: 24px 24px 0;
  7889. }
  7890. .import.wizard .wizard-slide {
  7891. min-height: 300px;
  7892. }
  7893. .import-source {
  7894. border-radius: 5px;
  7895. border: 1px solid rgba(0, 0, 0, 0.13);
  7896. height: 50px;
  7897. margin: 5px 0;
  7898. @extend .u-clickable;
  7899. }
  7900. .input-feedback {
  7901. position: absolute;
  7902. @include bidi-style(padding-left, 10px, padding-right, 0);
  7903. right: 1px;
  7904. top: 1px;
  7905. bottom: 1px;
  7906. width: 52px;
  7907. border-radius: 0 5px 5px 0;
  7908. background: linear-gradient(to right, rgba(255, 255, 255, 0), white 33%);
  7909. &--no-background {
  7910. background: none;
  7911. }
  7912. }
  7913. .input-group-addon {
  7914. color: inherit;
  7915. }
  7916. .input-feedback--no-background {
  7917. background: none;
  7918. }
  7919. .input-feedback .icon {
  7920. display: none;
  7921. }
  7922. .input-feedback[data-state='loading'] .loading.icon,
  7923. .input-feedback[data-state='error'] .icon-error,
  7924. .input-feedback[data-state='success'] .icon-checkmark {
  7925. display: block;
  7926. }
  7927. .progressTable {
  7928. width: 100%;
  7929. margin: 0 auto;
  7930. }
  7931. .progressTable td {
  7932. padding: 8px;
  7933. overflow: auto;
  7934. -webkit-overflow-scrolling: touch;
  7935. width: 33%;
  7936. }
  7937. .progressTable tr:not(:last-child) {
  7938. border-bottom: 1px solid #eee;
  7939. }
  7940. .progressTable td:first-child {
  7941. text-align: end;
  7942. }
  7943. .progressTable progress {
  7944. width: 100%;
  7945. min-width: 60px;
  7946. display: block;
  7947. }
  7948. .progressTable .icon-checkmark {
  7949. @include bidi-style(margin-left, 10px, margin-right, 0);
  7950. opacity: 0;
  7951. }
  7952. .progressTable tr.is-done .icon-checkmark {
  7953. opacity: 1;
  7954. }
  7955. .channelList {
  7956. flex: 1;
  7957. display: flex;
  7958. flex-direction: column;
  7959. background: var(--background-secondary);
  7960. border-radius: 2px;
  7961. margin: 5px 0 20px;
  7962. box-shadow: var(--elevation-low);
  7963. }
  7964. .channelList,
  7965. .channelList-controls,
  7966. .channelList-controlEntry {
  7967. border: 1px solid var(--border);
  7968. }
  7969. .channelList-entry {
  7970. display: flex;
  7971. cursor: default;
  7972. padding: 5px 8px;
  7973. &:not(:last-child) {
  7974. border-bottom: 1px solid var(--border);
  7975. }
  7976. }
  7977. .channelList-label {
  7978. margin: 0 10px;
  7979. flex: 1;
  7980. & > * {
  7981. @extend .u-textTruncate;
  7982. }
  7983. }
  7984. .channelList-status {
  7985. font-size: 12px;
  7986. color: var(--text-muted);
  7987. }
  7988. .channelList-placeholder {
  7989. display: flex;
  7990. align-items: center;
  7991. justify-content: center;
  7992. flex: 1;
  7993. color: var(--text-muted);
  7994. }
  7995. .channelList-controls {
  7996. margin-top: auto;
  7997. display: flex;
  7998. background: var(--background-quaternary-alt);
  7999. border-left: none;
  8000. border-right: none;
  8001. border-bottom: none;
  8002. }
  8003. .channelList-controlEntry {
  8004. display: flex;
  8005. justify-content: center;
  8006. width: 26px;
  8007. height: 26px;
  8008. border-left: none;
  8009. border-top: none;
  8010. border-bottom: none;
  8011. position: relative;
  8012. [data-toggle='dropdown'] {
  8013. position: relative;
  8014. }
  8015. .icon {
  8016. opacity: 0.8;
  8017. }
  8018. }
  8019. .avatar-gallery {
  8020. display: flex;
  8021. flex-wrap: wrap;
  8022. }
  8023. .avatar-holder {
  8024. display: inline-block;
  8025. position: relative;
  8026. margin: 0 32px 32px 0;
  8027. border-radius: 100%;
  8028. box-shadow: 0 0 0 4px var(--background-secondary);
  8029. .avatar {
  8030. @extend .u-clickable;
  8031. &.is-active {
  8032. box-shadow: 0 0 0 4px var(--border-highlight);
  8033. }
  8034. }
  8035. }
  8036. .avatar--new {
  8037. background: hsl(145, 51%, 45%);
  8038. @extend .u-clickable;
  8039. }
  8040. .avatar-holder .avatar-delete {
  8041. position: absolute;
  8042. right: -15px;
  8043. top: -15px;
  8044. width: 40px;
  8045. height: 40px;
  8046. pointer-events: none;
  8047. visibility: hidden;
  8048. background: var(--background-secondary);
  8049. display: flex;
  8050. align-items: center;
  8051. justify-content: center;
  8052. border-radius: 100%;
  8053. box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
  8054. @extend .u-clickable;
  8055. svg {
  8056. opacity: 0.5;
  8057. fill: var(--interactive-primary);
  8058. }
  8059. &:hover svg {
  8060. opacity: 1;
  8061. }
  8062. }
  8063. .avatar-holder:hover .avatar-delete {
  8064. visibility: visible;
  8065. pointer-events: auto;
  8066. }
  8067. .camera video {
  8068. position: absolute;
  8069. visibility: hidden;
  8070. pointer-events: none;
  8071. }
  8072. .camera-preview {
  8073. display: block;
  8074. margin: 0 auto;
  8075. }
  8076. .camera-flash {
  8077. @extend .fit;
  8078. background: var(--background-secondary);
  8079. opacity: 0;
  8080. @extend .u-unclickable;
  8081. }
  8082. .camera-flash.is-active {
  8083. animation: flash 500ms ease;
  8084. }
  8085. @keyframes flash {
  8086. 0% {
  8087. opacity: 0;
  8088. }
  8089. 50% {
  8090. opacity: 1;
  8091. }
  8092. 100% {
  8093. opacity: 0;
  8094. }
  8095. }
  8096. .fileUpload {
  8097. position: relative;
  8098. overflow: hidden;
  8099. &.btn input:focus + label {
  8100. text-decoration: none;
  8101. }
  8102. }
  8103. .fileUpload label {
  8104. font-size: inherit;
  8105. color: inherit;
  8106. letter-spacing: inherit;
  8107. text-transform: inherit;
  8108. display: inline;
  8109. margin: 0;
  8110. }
  8111. .fileUpload input {
  8112. position: absolute;
  8113. right: 0;
  8114. top: 0;
  8115. font-size: 118px;
  8116. margin: 0;
  8117. padding: 0;
  8118. @extend %clickable;
  8119. opacity: 0;
  8120. &:focus + label {
  8121. text-decoration: underline;
  8122. }
  8123. }
  8124. .imagePreview {
  8125. margin-top: 45px;
  8126. @include phone {
  8127. margin-top: 0;
  8128. }
  8129. img {
  8130. max-width: 100%;
  8131. max-height: calc(100vh - 218px);
  8132. }
  8133. }
  8134. .imageCropper p {
  8135. margin: 0;
  8136. }
  8137. .imageCropper-holder {
  8138. height: 340px;
  8139. margin: 15px 0;
  8140. }
  8141. .imageCropper-image {
  8142. max-width: 100%;
  8143. max-height: 100%;
  8144. opacity: 0;
  8145. }
  8146. .imageCropper-preview {
  8147. width: 40px;
  8148. height: 40px;
  8149. border-radius: 100%;
  8150. overflow: hidden;
  8151. margin: 0 10px;
  8152. }
  8153. .cropper-container {
  8154. /* prevent cropper.js's centering – we center via flex */
  8155. left: 0 !important;
  8156. }
  8157. .profile {
  8158. padding: 60px;
  8159. overflow: auto;
  8160. -webkit-overflow-scrolling: touch;
  8161. flex: 1;
  8162. @include phone {
  8163. padding: 0;
  8164. margin: 0;
  8165. }
  8166. h1 {
  8167. margin: 18px 0 0;
  8168. }
  8169. .tabs {
  8170. margin-top: 2px;
  8171. margin-bottom: 25px;
  8172. }
  8173. }
  8174. .profile-window {
  8175. color: var(--text-normal);
  8176. background: var(--background-secondary);
  8177. max-width: 660px;
  8178. margin: 0 auto;
  8179. border: 1px solid var(--border);
  8180. }
  8181. .profile-section {
  8182. padding: 20px 50px;
  8183. @include phone {
  8184. padding: 10px;
  8185. }
  8186. &.profile-memberSection {
  8187. margin-bottom: 10px;
  8188. }
  8189. }
  8190. .profile-section:not(:last-child) {
  8191. border-bottom: 1px solid var(--background-modifier-border);
  8192. }
  8193. .profile-action {
  8194. @include bidi-style(margin-right, -20px, margin-left, 0);
  8195. @include phone {
  8196. @include bidi-style(margin-right, 0, margin-left, 0);
  8197. }
  8198. .dropdown-toggle {
  8199. margin-top: -20px;
  8200. @include bidi-style(margin-right, -30px, margin-left, 0);
  8201. margin-bottom: 8px;
  8202. padding: 26px 40px 2px;
  8203. @include phone {
  8204. margin-top: -5px;
  8205. padding: 10px 0 5px;
  8206. @include bidi-style(margin-right, 0, margin-left, 0);
  8207. }
  8208. }
  8209. label {
  8210. margin: 0 8px;
  8211. padding: 0;
  8212. cursor: inherit;
  8213. }
  8214. }
  8215. .profile-subtitle {
  8216. font-size: 16px;
  8217. @extend .u-highlight;
  8218. }
  8219. .profile-details {
  8220. @include bidi-style(margin-left, -50px, margin-right, 0);
  8221. }
  8222. .profile-ticketsPlaceholder {
  8223. flex: 1;
  8224. margin: 8px 0 22px;
  8225. color: var(--text-muted);
  8226. .stat-icon {
  8227. margin-bottom: 10px;
  8228. }
  8229. }
  8230. .profile-detailsEntry {
  8231. margin: 8px 0;
  8232. @include bidi-style(padding-left, 50px, padding-right, 0);
  8233. width: 50%;
  8234. }
  8235. .profile-detailsEntry label {
  8236. padding: 0;
  8237. margin-bottom: 2px;
  8238. display: block;
  8239. }
  8240. .profile-organizationMember {
  8241. @extend .profile-detailsEntry;
  8242. display: flex;
  8243. align-items: center;
  8244. .avatar {
  8245. @include bidi-style(margin-right, 10px, margin-left, 0);
  8246. }
  8247. }
  8248. .profile-ticketLists {
  8249. display: flex;
  8250. margin: 0 -25px;
  8251. @include phone {
  8252. display: block;
  8253. margin: 0;
  8254. }
  8255. }
  8256. .profile-ticketList {
  8257. display: flex;
  8258. flex-direction: column;
  8259. flex: 1 1 50%;
  8260. padding: 0 25px;
  8261. min-width: 0; /* Firefox wrong content-calculation with word-wrap workaround */
  8262. @include phone {
  8263. padding: 0;
  8264. margin-bottom: 10px;
  8265. &:last-child {
  8266. margin-bottom: 0;
  8267. }
  8268. }
  8269. .tasks {
  8270. margin-bottom: 10px;
  8271. display: flex;
  8272. flex-basis: auto;
  8273. flex-direction: column;
  8274. }
  8275. }
  8276. .profile .frequency.stat-widget {
  8277. height: 230px;
  8278. @include phone {
  8279. display: none;
  8280. }
  8281. .stat-bars {
  8282. height: 100px;
  8283. }
  8284. }
  8285. .profile-organizationIcon {
  8286. display: flex;
  8287. align-items: center;
  8288. justify-content: center;
  8289. width: 80px;
  8290. height: 80px;
  8291. background: var(--background-modifier-accent);
  8292. color: var(--text-muted);
  8293. border-radius: 100%;
  8294. svg {
  8295. width: 32px;
  8296. height: 32px;
  8297. }
  8298. }
  8299. .highlighter {
  8300. display: flex;
  8301. }
  8302. [data-highlightcolor='Yellow']::selection {
  8303. background: var(--highlighter-yellow);
  8304. }
  8305. .highlight-Yellow {
  8306. background: var(--highlighter-yellow);
  8307. }
  8308. [data-highlightcolor='Green']::selection {
  8309. background: var(--highlighter-green);
  8310. }
  8311. .highlight-Green {
  8312. background: var(--highlighter-green);
  8313. }
  8314. [data-highlightcolor='Blue']::selection {
  8315. background: var(--highlighter-blue);
  8316. }
  8317. .highlight-Blue {
  8318. background: var(--highlighter-blue);
  8319. }
  8320. [data-highlightcolor='Pink']::selection {
  8321. background: var(--highlighter-pink);
  8322. }
  8323. .highlight-Pink {
  8324. background: var(--highlighter-pink);
  8325. }
  8326. [data-highlightcolor='Purple']::selection {
  8327. background: var(--highlighter-purple);
  8328. }
  8329. .highlight-Purple {
  8330. background: var(--highlighter-purple);
  8331. }
  8332. .translationOverview {
  8333. tbody > tr > td {
  8334. padding: 20px 0 0 10px;
  8335. }
  8336. .translationOverview-itemContainer {
  8337. padding: 10px 0 10px 10px;
  8338. }
  8339. .translationOverview-source {
  8340. width: 25%;
  8341. }
  8342. .translationOverview-target {
  8343. width: 35%;
  8344. }
  8345. .translationOverview-initial {
  8346. width: 25%;
  8347. }
  8348. .translationOverview-item {
  8349. width: 100%;
  8350. }
  8351. }
  8352. .overview-navigator {
  8353. display: flex;
  8354. }
  8355. .overview-navigator .pagination {
  8356. margin: 0 0 0 10px;
  8357. @include rtl(margin, 0 10px 0 0);
  8358. }
  8359. .empty-space {
  8360. padding: 50px;
  8361. svg {
  8362. width: 200px;
  8363. height: auto;
  8364. }
  8365. .empty-space-tagline {
  8366. color: var(--text-muted);
  8367. margin-top: 15px;
  8368. font-size: 18px;
  8369. }
  8370. }
  8371. .horizontal-filters {
  8372. margin-bottom: 20px;
  8373. }
  8374. .horizontal-filter {
  8375. display: flex;
  8376. background: var(--background-primary-alt);
  8377. padding: 7px;
  8378. border: 1px solid var(--border-alt);
  8379. &:first-child {
  8380. border-radius: 4px 4px 0 0;
  8381. @include rtl(border-radius, 0 0 4px 4px);
  8382. }
  8383. &:last-child {
  8384. border-radius: 0 0 4px 4px;
  8385. @include rtl(border-radius, 4px 4px 0 0);
  8386. }
  8387. &:only-child {
  8388. border-radius: 4px;
  8389. }
  8390. & + .horizontal-filter {
  8391. border-top: none;
  8392. }
  8393. select,
  8394. input {
  8395. border-color: var(--border-alt);
  8396. }
  8397. input[type='text'] {
  8398. width: 100%;
  8399. }
  8400. input[data-item='time'] {
  8401. width: 4.5ch;
  8402. }
  8403. }
  8404. .horizontal-filter-body {
  8405. display: flex;
  8406. flex: 1;
  8407. min-width: 100px;
  8408. @include phone {
  8409. display: block;
  8410. margin-right: 5px;
  8411. }
  8412. > .controls,
  8413. > input {
  8414. @include bidi-style(margin-right, 5px, margin-left, 0);
  8415. @include phone {
  8416. margin: 0 0 5px !important;
  8417. }
  8418. > .controls-label {
  8419. margin-left: 0;
  8420. margin-right: 5px;
  8421. @include rtl(margin-left, 5px);
  8422. @include rtl(margin-right, 0);
  8423. }
  8424. .horizontal-filter-value {
  8425. max-width: 100%;
  8426. }
  8427. }
  8428. > .controls > .controls {
  8429. max-width: 100%;
  8430. + .controls {
  8431. @include bidi-style(margin-left, 5px, margin-right, 0);
  8432. }
  8433. }
  8434. }
  8435. .horizontal-filter-group {
  8436. padding: 10px;
  8437. background: var(--background-secondary);
  8438. border: 1px solid var(--border-alt);
  8439. border-radius: 5px;
  8440. margin: 0 5px;
  8441. > .form-group:last-child {
  8442. margin-bottom: 0;
  8443. }
  8444. }
  8445. .horizontal-filter-value {
  8446. max-width: 60%;
  8447. flex-grow: 1;
  8448. @include phone {
  8449. max-width: 100%;
  8450. }
  8451. // lower the min-width of url input fields (normally 400px) so that it fits in
  8452. input[type='url'] {
  8453. min-width: 200px;
  8454. }
  8455. .dropdown:only-child {
  8456. flex-grow: 1;
  8457. }
  8458. }
  8459. .output-input {
  8460. margin: 0 0 14px;
  8461. output {
  8462. margin: 0;
  8463. border-radius: 3px 3px 0 0;
  8464. border: 1px solid var(--border-highlight);
  8465. border-bottom: none;
  8466. display: block;
  8467. }
  8468. input {
  8469. flex: 1;
  8470. border-top-left-radius: 0;
  8471. border-top-right-radius: 0;
  8472. border-top: none;
  8473. &:focus {
  8474. border-color: var(--border);
  8475. box-shadow: none;
  8476. }
  8477. }
  8478. }
  8479. output {
  8480. border-bottom: 1px solid var(--border-highlight);
  8481. margin: 0 0 19px;
  8482. display: inline-block;
  8483. padding: 10px 12px 8px;
  8484. color: inherit;
  8485. background: var(--background-article-customer);
  8486. &[disabled] {
  8487. border-color: hsl(358, 53%, 56%);
  8488. background: hsl(358, 53%, 76%);
  8489. color: var(--text-inverted);
  8490. }
  8491. p {
  8492. margin: 0;
  8493. }
  8494. }
  8495. .zammad-switch {
  8496. overflow: hidden;
  8497. width: 50px;
  8498. height: 30px;
  8499. border-radius: 15px;
  8500. &.zammad-switch--small {
  8501. width: 40px;
  8502. height: 24px;
  8503. border-radius: 12px;
  8504. }
  8505. &.zammad-switch--tiny {
  8506. width: 30px;
  8507. height: 18px;
  8508. border-radius: 9px;
  8509. }
  8510. &.zammad-switch--dark {
  8511. label {
  8512. background: hsl(234, 10%, 5%);
  8513. }
  8514. label::before {
  8515. background: hsl(233, 10%, 10%);
  8516. }
  8517. label::after {
  8518. background: var(--background-tertiary);
  8519. }
  8520. }
  8521. &.zammad-switch--green input:checked + label {
  8522. background: var(--supergood-color);
  8523. }
  8524. }
  8525. .zammad-switch label {
  8526. margin: 0;
  8527. position: relative;
  8528. width: 100%;
  8529. height: 100%;
  8530. border-radius: inherit;
  8531. outline: none;
  8532. background: var(--background-secondary);
  8533. box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1) inset;
  8534. transition: background 200ms;
  8535. @extend %clickable;
  8536. &::after {
  8537. content: '';
  8538. position: absolute;
  8539. transition: transform 200ms;
  8540. width: calc(60% - 2px);
  8541. height: calc(100% - 2px);
  8542. border-radius: inherit;
  8543. left: 1px;
  8544. top: 1px;
  8545. box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.2);
  8546. background: var(--background-secondary);
  8547. @include rtl(transform, translateX(70%));
  8548. }
  8549. }
  8550. .dropdown-menu.dropdown-menu--light .zammad-switch input:not(:checked) + label {
  8551. background: var(--background-primary);
  8552. }
  8553. .zammad-switch input {
  8554. display: none;
  8555. &[disabled] + label {
  8556. cursor: not-allowed;
  8557. opacity: 0.38;
  8558. border-color: var(--border);
  8559. }
  8560. &[disabled] + label::after {
  8561. background: hsl(210, 17%, 97%);
  8562. }
  8563. &:focus + label {
  8564. transition: none;
  8565. background: var(--border-highlight);
  8566. box-shadow: 0 0 0 3px var();
  8567. }
  8568. &:checked + label {
  8569. background: var(--highlight);
  8570. }
  8571. &:checked + label::after {
  8572. transform: translateX(70%);
  8573. @include rtl(transform, none);
  8574. }
  8575. }
  8576. .controls .zammad-switch {
  8577. margin-top: 10px;
  8578. }
  8579. .horizontal-filter-text {
  8580. @include bidi-style(margin-right, 5px, margin-left, 0);
  8581. }
  8582. .filter-controls {
  8583. display: flex;
  8584. margin: 5.5px 0;
  8585. }
  8586. .filter-control {
  8587. display: flex;
  8588. align-items: center;
  8589. justify-content: center;
  8590. width: 30px;
  8591. height: 30px;
  8592. box-shadow: 0 0 0 1px var(--border-alt) inset;
  8593. border-radius: 100%;
  8594. background: var(--background-secondary);
  8595. @extend %clickable;
  8596. &:hover:not(.is-disabled) {
  8597. .icon {
  8598. fill: var(--interactive-primary);
  8599. }
  8600. }
  8601. &.is-disabled {
  8602. cursor: not-allowed;
  8603. opacity: 0.5;
  8604. }
  8605. &:not(:last-child) {
  8606. @include bidi-style(margin-right, 7px, margin-left, 0);
  8607. }
  8608. .icon {
  8609. fill: var(--interactive-muted);
  8610. }
  8611. }
  8612. .filter-preview {
  8613. margin: 20px 0;
  8614. }
  8615. .day-name {
  8616. text-align: center;
  8617. margin-bottom: 0;
  8618. color: inherit;
  8619. white-space: nowrap;
  8620. }
  8621. .form-group.day-time {
  8622. padding: 10px 5px 6px;
  8623. margin: 0;
  8624. label {
  8625. text-align: center;
  8626. }
  8627. .form-control {
  8628. margin-left: auto;
  8629. margin-right: auto;
  8630. margin-bottom: 8px;
  8631. }
  8632. }
  8633. .settings-row {
  8634. margin-bottom: 10px;
  8635. }
  8636. .settings-list {
  8637. border-collapse: separate;
  8638. color: var(--text-normal);
  8639. table-layout: auto;
  8640. margin-bottom: 20px;
  8641. & > caption {
  8642. color: var(--text-normal);
  8643. }
  8644. &.is-invalid {
  8645. border-radius: 3px;
  8646. box-shadow: 0 0 0 2px var(--background-primary), 0 0 0 4px hsl(0, 90%, 70%);
  8647. }
  8648. &.settings-list--fixed {
  8649. table-layout: fixed;
  8650. }
  8651. &.settings-list--stretch {
  8652. width: 100%;
  8653. }
  8654. &:not(:last-child) {
  8655. margin-bottom: 34px;
  8656. }
  8657. .form-group & {
  8658. margin-bottom: 0;
  8659. }
  8660. &.settings-list--toggleRow {
  8661. tr:not(.is-active) td > *:not(.dont-grey-out) {
  8662. opacity: 0.33;
  8663. }
  8664. }
  8665. &.settings-list--toggleColumn {
  8666. td:not(.is-active) * {
  8667. opacity: 0.33;
  8668. }
  8669. }
  8670. &.settings-list--placeholder {
  8671. th {
  8672. text-align: center;
  8673. border-bottom: 1px solid var(--border-alt);
  8674. border-radius: 4px;
  8675. }
  8676. td {
  8677. height: 40px;
  8678. }
  8679. }
  8680. .settings-list--deleted {
  8681. td {
  8682. text-decoration: line-through;
  8683. }
  8684. }
  8685. th,
  8686. td {
  8687. vertical-align: top;
  8688. padding: 10px;
  8689. border: 1px solid var(--border-alt);
  8690. background: var(--background-secondary);
  8691. }
  8692. th {
  8693. font-weight: normal;
  8694. text-transform: uppercase;
  8695. font-size: 12px;
  8696. line-height: 17px;
  8697. letter-spacing: 0.05em;
  8698. background: var(--background-primary-alt);
  8699. border-bottom: none;
  8700. word-break: normal;
  8701. }
  8702. td {
  8703. word-break: break-word;
  8704. > fieldset {
  8705. margin: 0;
  8706. > .form-group {
  8707. margin-left: 0;
  8708. margin-right: 0;
  8709. }
  8710. > .checkbox,
  8711. > .radio {
  8712. margin: 7px 0;
  8713. }
  8714. }
  8715. }
  8716. td.empty-cell {
  8717. border-top: none;
  8718. }
  8719. .settings-list-separator {
  8720. @include bidi-style(border-left-width, 3px, border-right-width, 1px);
  8721. }
  8722. .text-muted {
  8723. text-transform: none;
  8724. font-size: 10px;
  8725. letter-spacing: 0;
  8726. color: var(--text-muted-alt);
  8727. }
  8728. .inline-label {
  8729. color: inherit;
  8730. }
  8731. th:not(:last-child),
  8732. td:not(:last-child) {
  8733. @include bidi-style(border-right-width, 0, border-left-width, 1px);
  8734. }
  8735. .ui-sortable-placeholder {
  8736. visibility: visible !important;
  8737. td {
  8738. background: none;
  8739. border-left-width: 0;
  8740. border-right-width: 0;
  8741. }
  8742. }
  8743. .ui-sortable-helper td {
  8744. border-bottom-width: 1px !important;
  8745. }
  8746. tr:not(:last-child) td,
  8747. & > tbody:not(:last-child) tr td {
  8748. border-bottom-width: 0;
  8749. }
  8750. tr.is-inactive td {
  8751. color: hsl(199, 19%, 80%);
  8752. text-decoration: line-through;
  8753. }
  8754. & > thead > tr > th:first-child {
  8755. @include bidi-style(
  8756. border-top-left-radius,
  8757. 4px,
  8758. border-top-right-radius,
  8759. 0
  8760. );
  8761. }
  8762. & > thead > tr > th:last-child {
  8763. @include bidi-style(
  8764. border-top-right-radius,
  8765. 4px,
  8766. border-top-left-radius,
  8767. 0
  8768. );
  8769. }
  8770. & > tbody:last-child > tr:last-child > td:first-child,
  8771. & > tfoot:last-child > tr:last-child > td:first-child {
  8772. @include bidi-style(
  8773. border-bottom-left-radius,
  8774. 4px,
  8775. border-bottom-right-radius,
  8776. 0
  8777. );
  8778. }
  8779. & > tbody:last-child > tr:last-child > td:last-child,
  8780. & > tfoot:last-child > tr:last-child > td:last-child {
  8781. @include bidi-style(
  8782. border-bottom-right-radius,
  8783. 4px,
  8784. border-bottom-left-radius,
  8785. 0
  8786. );
  8787. }
  8788. p {
  8789. margin: 0;
  8790. }
  8791. .settings-list-action-cell {
  8792. @extend .u-clickable;
  8793. text-align: center;
  8794. color: var(--interactive-muted);
  8795. background: linear-gradient(
  8796. hsla(0, 0%, 100%, 0.02),
  8797. hsla(0, 0%, 100%, 0.02)
  8798. ),
  8799. linear-gradient(
  8800. var(--background-primary-alt),
  8801. var(--background-primary-alt)
  8802. );
  8803. line-height: 1;
  8804. padding-top: 11px;
  8805. padding-bottom: 9px;
  8806. &:hover {
  8807. color: var(--text-normal);
  8808. }
  8809. .icon {
  8810. fill: currentColor;
  8811. vertical-align: top;
  8812. margin-top: -2px;
  8813. }
  8814. }
  8815. .settings-list-controls {
  8816. padding: 0;
  8817. & > div,
  8818. & > a {
  8819. display: flex;
  8820. min-height: 40px;
  8821. }
  8822. .settings-list-control {
  8823. display: flex;
  8824. align-items: center;
  8825. justify-content: center;
  8826. padding: 0 10px;
  8827. @extend %clickable;
  8828. .icon {
  8829. fill: currentColor;
  8830. }
  8831. }
  8832. }
  8833. .settings-list-control-cell {
  8834. padding: 5px;
  8835. .btn--text {
  8836. margin: -5px;
  8837. }
  8838. & ~ .settings-list-row-control {
  8839. padding-bottom: 7px;
  8840. }
  8841. }
  8842. .settings-list-checkbox-cell,
  8843. .settings-list-radio-cell {
  8844. vertical-align: middle;
  8845. padding-left: 8px;
  8846. }
  8847. .settings-list-radio-cell {
  8848. text-align: center;
  8849. }
  8850. }
  8851. .settings-list--roles-permissions {
  8852. margin-left: 18px;
  8853. margin-right: 18px;
  8854. margin-top: 10px;
  8855. th:first-child {
  8856. min-width: 150px;
  8857. }
  8858. }
  8859. .select-boxes {
  8860. display: flex;
  8861. align-items: flex-start;
  8862. }
  8863. .select-box {
  8864. display: flex;
  8865. flex-wrap: wrap;
  8866. margin: 0 14px;
  8867. background: var(--background-secondary);
  8868. color: var(--text-normal);
  8869. @include bidi-style(
  8870. border-right,
  8871. 1px solid var(--border-alt),
  8872. border-left,
  8873. none
  8874. );
  8875. border-bottom: 1px solid var(--border-alt);
  8876. border-radius: 3px 3px 0 0;
  8877. &.select-box--vertical .select-value {
  8878. flex-basis: 100%;
  8879. }
  8880. &.select-box--four .select-value {
  8881. flex-basis: 25%;
  8882. }
  8883. &.select-box--six .select-value {
  8884. flex-basis: calc(100% / 6);
  8885. }
  8886. .select-box-header {
  8887. @extend label;
  8888. margin: 0;
  8889. color: inherit;
  8890. display: flex;
  8891. align-items: center;
  8892. padding: 8px 10px;
  8893. flex-basis: 100%;
  8894. white-space: nowrap;
  8895. background: var(--background-primary-alt);
  8896. @include bidi-style(
  8897. border-left,
  8898. 1px solid var(--border-alt),
  8899. border-right,
  8900. none
  8901. );
  8902. border-top: 1px solid var(--border-alt);
  8903. border-radius: 3px 3px 0 0;
  8904. }
  8905. .select-value {
  8906. display: flex;
  8907. align-items: center;
  8908. justify-content: center;
  8909. min-height: 34px;
  8910. background-clip: content-box;
  8911. box-shadow: 1px 0 var(--border-alt) inset, 0 1px var(--border-alt) inset;
  8912. @extend %clickable;
  8913. &.is-selected {
  8914. background-color: var(--highlight);
  8915. box-shadow: none;
  8916. color: var(--text-inverted);
  8917. }
  8918. }
  8919. &:first-child {
  8920. @include bidi-style(margin-left, 0, margin-left, 14px);
  8921. }
  8922. &:last-child {
  8923. @include bidi-style(margin-right, 0, margin-left, 14px);
  8924. }
  8925. }
  8926. .searchableSelect {
  8927. position: relative;
  8928. .form-control {
  8929. padding-right: 37px;
  8930. @include bidi-style(padding-right, 37px, padding-left, 12px);
  8931. }
  8932. .searchableSelect-main {
  8933. position: relative;
  8934. line-height: 19px;
  8935. &.form-control--small ~ .searchableSelect-autocomplete {
  8936. top: 6px;
  8937. left: 9px;
  8938. }
  8939. }
  8940. .searchableSelect-shadow {
  8941. position: absolute;
  8942. left: -9999px;
  8943. }
  8944. .dropdown-menu {
  8945. margin-top: -3px;
  8946. max-width: 100%;
  8947. }
  8948. &-option-text {
  8949. flex: 1 1 0%;
  8950. text-overflow: ellipsis;
  8951. overflow: hidden;
  8952. white-space: nowrap;
  8953. display: block;
  8954. & + .icon {
  8955. @include bidi-style(margin-left, 10px, margin-right, 0);
  8956. }
  8957. &.is-inactive {
  8958. opacity: 0.73;
  8959. text-decoration: line-through;
  8960. }
  8961. }
  8962. &.dropdown li {
  8963. &:hover:not(.is-active) {
  8964. background: none;
  8965. }
  8966. &.is-hidden {
  8967. display: none;
  8968. }
  8969. &.js-enter {
  8970. padding: 0;
  8971. span.searchableSelect-option-text {
  8972. padding: 11px 15px;
  8973. }
  8974. span.searchableSelect-option-arrow {
  8975. padding: 11px 15px;
  8976. }
  8977. }
  8978. }
  8979. li:not(.is-active):hover + li {
  8980. box-shadow: 0 1px rgba(255, 255, 255, 0.13) inset;
  8981. }
  8982. .searchableSelect-autocomplete {
  8983. position: absolute;
  8984. left: 13px;
  8985. top: 11px;
  8986. right: 37px;
  8987. white-space: nowrap;
  8988. overflow: hidden;
  8989. display: flex;
  8990. pointer-events: none;
  8991. white-space: pre;
  8992. line-height: 19px;
  8993. }
  8994. .searchableSelect-autocomplete-invisible {
  8995. color: transparent;
  8996. }
  8997. .searchableSelect-autocomplete-visible {
  8998. color: hsl(0, 0%, 33%);
  8999. background: hsl(201, 61%, 90%);
  9000. }
  9001. .loading.icon {
  9002. position: absolute;
  9003. right: 11px;
  9004. top: 11px;
  9005. display: none;
  9006. }
  9007. &.is-loading {
  9008. .loading.icon {
  9009. display: block;
  9010. }
  9011. .icon-arrow-down {
  9012. display: none;
  9013. }
  9014. }
  9015. }
  9016. .action {
  9017. background: var(--background-secondary);
  9018. border: 1px solid var(--border);
  9019. box-shadow: var(--elevation-stroke);
  9020. display: flex;
  9021. flex-wrap: wrap;
  9022. padding: 10px;
  9023. margin-bottom: 17px;
  9024. &.is-inactive {
  9025. background: none;
  9026. box-shadow: none;
  9027. position: relative;
  9028. top: 2px;
  9029. border-color: var(--border-alt);
  9030. & > *:not(.action-controls) {
  9031. opacity: 0.33;
  9032. }
  9033. }
  9034. &--placeholder {
  9035. padding: 30px;
  9036. align-items: center;
  9037. justify-content: center;
  9038. color: hsl(206, 9%, 69%);
  9039. box-shadow: none;
  9040. background: none;
  9041. border-style: dashed;
  9042. font-style: italic;
  9043. }
  9044. &-alert {
  9045. width: calc(100% + 20px);
  9046. margin: -10px -10px 10px;
  9047. }
  9048. &-flow {
  9049. display: flex;
  9050. flex-wrap: wrap;
  9051. &.action-flow--noWrap {
  9052. flex-wrap: nowrap;
  9053. }
  9054. &.action-flow--row {
  9055. flex-basis: 100%;
  9056. }
  9057. }
  9058. &-separator {
  9059. width: 1px;
  9060. background: hsl(0, 0%, 97%);
  9061. margin: 0 10px;
  9062. }
  9063. .table {
  9064. margin-left: -9px;
  9065. margin-right: -9px;
  9066. }
  9067. h2 {
  9068. margin-bottom: 0;
  9069. .action-form-status .icon {
  9070. margin-top: 0;
  9071. }
  9072. }
  9073. &-block,
  9074. &-controls,
  9075. &-row {
  9076. padding: 10px;
  9077. h2:first-child,
  9078. h3:first-child {
  9079. margin-top: 0;
  9080. }
  9081. }
  9082. &-block {
  9083. &.action-block--flex {
  9084. flex: 1;
  9085. }
  9086. }
  9087. &-row {
  9088. flex-basis: 100%;
  9089. }
  9090. h3 {
  9091. color: var(--text-muted);
  9092. margin-top: 0;
  9093. + .btn--text {
  9094. position: relative;
  9095. top: -1px;
  9096. }
  9097. }
  9098. &-label {
  9099. background: var(--background-primary-alt);
  9100. border: 1px solid var(--border-alt);
  9101. align-self: flex-start;
  9102. padding: 5px 10px;
  9103. margin: -4px 0 -5px auto;
  9104. @include rtl(margin, -4px auto -5px 0);
  9105. color: var(--text-muted-alt);
  9106. cursor: default;
  9107. }
  9108. &-flow-icon {
  9109. width: 15px;
  9110. height: 24px;
  9111. margin-top: 16px; /* compensate for h3 height */
  9112. margin-left: 20px;
  9113. margin-right: 20px;
  9114. fill: var(--background-modifier-accent-light);
  9115. }
  9116. &-controls {
  9117. display: flex;
  9118. @include bidi-style(margin-left, auto, margin-right, 0);
  9119. align-self: flex-end;
  9120. .btn {
  9121. align-self: center;
  9122. }
  9123. }
  9124. }
  9125. /*
  9126. datepicker resets some css it potentially inherits when its rendered inside a table
  9127. */
  9128. .datepicker {
  9129. background: var(--background-tertiary);
  9130. color: var(--text-inverted);
  9131. padding: 0 14px 11px;
  9132. position: absolute;
  9133. min-width: 0;
  9134. cursor: default;
  9135. &.datepicker-rtl {
  9136. left: auto;
  9137. right: 0;
  9138. }
  9139. .datepicker-switch {
  9140. padding: 12px 0;
  9141. font-weight: bold;
  9142. font-size: 15px;
  9143. text-align: center;
  9144. letter-spacing: 0;
  9145. line-height: 1.5;
  9146. text-transform: none;
  9147. @extend %clickable;
  9148. &:hover {
  9149. background: hsl(240, 10%, 14%);
  9150. }
  9151. }
  9152. th {
  9153. background: none;
  9154. font-weight: 500;
  9155. }
  9156. th,
  9157. td {
  9158. border: none;
  9159. }
  9160. .next,
  9161. .prev {
  9162. padding: 12px 9px 0;
  9163. vertical-align: top;
  9164. text-align: center;
  9165. @extend %clickable;
  9166. .icon {
  9167. margin-top: 4px;
  9168. fill: var(--text-inverted);
  9169. opacity: 1;
  9170. }
  9171. &:hover {
  9172. background: hsl(240, 10%, 14%);
  9173. }
  9174. }
  9175. .dow {
  9176. text-transform: uppercase;
  9177. font-size: 12px;
  9178. padding: 0;
  9179. text-align: center;
  9180. vertical-align: inherit;
  9181. }
  9182. td.cw {
  9183. // background: 1px gap on the right towards the days + 1px border
  9184. background: linear-gradient(
  9185. to right,
  9186. var(--background-modifier-lighter),
  9187. var(--background-modifier-lighter) calc(100% - 2px),
  9188. transparent calc(100% - 2px),
  9189. var(--background-modifier-accent) calc(100% - 1px),
  9190. transparent calc(100% - 1px)
  9191. );
  9192. padding: 0 5px 0 3px !important;
  9193. text-align: center;
  9194. border-radius: 0;
  9195. }
  9196. tbody td {
  9197. width: 27px;
  9198. height: 27px;
  9199. border-radius: 14px;
  9200. padding: 1px 0 0 !important;
  9201. background-color: inherit;
  9202. vertical-align: inherit;
  9203. }
  9204. .month,
  9205. .year {
  9206. float: left;
  9207. width: 23%;
  9208. margin: 1%;
  9209. padding: 5px 0;
  9210. }
  9211. .day,
  9212. .month,
  9213. .year {
  9214. text-align: center;
  9215. &:not(.disabled) {
  9216. @extend %clickable;
  9217. }
  9218. &.disabled,
  9219. &.old,
  9220. &.new {
  9221. color: hsl(0, 0%, 33%);
  9222. }
  9223. &.today {
  9224. background: #777;
  9225. }
  9226. &.focused {
  9227. box-shadow: 0 0 0 1px hsl(207, 82%, 64%) inset;
  9228. }
  9229. &.active {
  9230. color: var(--text-inverted);
  9231. background: hsl(207, 82%, 64%);
  9232. }
  9233. }
  9234. .today,
  9235. .clear {
  9236. text-align: center;
  9237. padding: 2px 0 0;
  9238. @extend %clickable;
  9239. &.hidden {
  9240. display: none;
  9241. }
  9242. }
  9243. .datepicker-footer-buttons {
  9244. display: flex;
  9245. justify-content: space-between;
  9246. gap: 20px;
  9247. align-items: stretch;
  9248. height: 31px;
  9249. margin-top: 15px;
  9250. div {
  9251. flex-grow: 1;
  9252. border: 1px solid #56575e;
  9253. border-radius: 3px;
  9254. display: flex;
  9255. align-items: center;
  9256. justify-content: center;
  9257. }
  9258. }
  9259. }
  9260. #notify {
  9261. position: absolute;
  9262. top: 10px;
  9263. left: 0;
  9264. right: 0;
  9265. @extend .zIndex-9;
  9266. pointer-events: none;
  9267. .noty_bar {
  9268. max-width: 500px;
  9269. text-align: center;
  9270. margin: 0 auto 10px;
  9271. .noty_message {
  9272. pointer-events: auto;
  9273. display: inline-block;
  9274. background: rgba(0, 0, 0, 0.75);
  9275. padding: 10px 15px 8px;
  9276. border-radius: 3px;
  9277. color: var(--text-inverted);
  9278. }
  9279. .icon {
  9280. vertical-align: middle;
  9281. margin-top: -3px;
  9282. @include bidi-style(margin-right, 5px, margin-left, 0);
  9283. }
  9284. a {
  9285. color: inherit;
  9286. text-decoration: none;
  9287. }
  9288. }
  9289. }
  9290. .animated {
  9291. animation-duration: 300ms;
  9292. animation-fill-mode: both;
  9293. }
  9294. .fadeInDown {
  9295. animation-name: fadeInDown;
  9296. }
  9297. @keyframes fadeInDown {
  9298. from {
  9299. opacity: 0;
  9300. transform: translate3d(0, -50%, 0);
  9301. }
  9302. to {
  9303. opacity: 1;
  9304. transform: none;
  9305. }
  9306. }
  9307. .fadeOutDown {
  9308. animation-name: fadeOutDown;
  9309. }
  9310. @keyframes fadeOutDown {
  9311. from {
  9312. opacity: 1;
  9313. }
  9314. to {
  9315. opacity: 0;
  9316. transform: translate3d(0, 50%, 0);
  9317. }
  9318. }
  9319. .loading-placeholder {
  9320. display: flex;
  9321. align-items: center;
  9322. justify-content: center;
  9323. height: 133px;
  9324. .loading-text {
  9325. @include bidi-style(margin-left, 10px, margin-right, 0);
  9326. }
  9327. }
  9328. .chat {
  9329. flex: 1;
  9330. display: flex;
  9331. flex-direction: column;
  9332. padding: 0 14px;
  9333. @include phone {
  9334. padding: 0;
  9335. }
  9336. .page-header {
  9337. margin: 15px 6px 5px;
  9338. @include phone {
  9339. flex-wrap: wrap;
  9340. margin: 0;
  9341. padding: 5px 8px;
  9342. }
  9343. }
  9344. .page-header-title {
  9345. @include phone {
  9346. order: 1;
  9347. }
  9348. }
  9349. .page-header-center {
  9350. @include phone {
  9351. flex-basis: 100%;
  9352. padding: 0;
  9353. order: 3;
  9354. }
  9355. }
  9356. .page-header-meta {
  9357. @include phone {
  9358. order: 2;
  9359. @include bidi-style(margin-left, auto, margin-right, auto);
  9360. padding-top: 4px;
  9361. @include bidi-style(padding-left, 10px, padding-right, 0);
  9362. }
  9363. }
  9364. }
  9365. .chat-workspace {
  9366. display: flex;
  9367. flex-wrap: wrap;
  9368. padding: 0 0 10px;
  9369. margin: 0 -4px;
  9370. flex: 1;
  9371. @include phone {
  9372. margin: 0;
  9373. padding: 0;
  9374. flex-wrap: nowrap;
  9375. overflow: auto;
  9376. -webkit-overflow-scrolling: touch;
  9377. scroll-snap-mode: x mandatory;
  9378. }
  9379. }
  9380. .chat-window {
  9381. flex: 0 1 0;
  9382. overflow: hidden;
  9383. display: flex;
  9384. flex-direction: column;
  9385. transition-duration: 500ms;
  9386. transition-property: transform, flex, padding;
  9387. transform: scale(0);
  9388. @include phone {
  9389. min-width: calc(100vw - #{$mobileNavigationWidth} - 16px);
  9390. scroll-snap-align: center;
  9391. }
  9392. &.is-open {
  9393. flex: 1 0 25%;
  9394. transform: scale(1);
  9395. padding: 10px;
  9396. @include phone {
  9397. padding: 8px;
  9398. }
  9399. }
  9400. &.is-offline {
  9401. .chat-controls {
  9402. opacity: 0.5;
  9403. }
  9404. }
  9405. }
  9406. .chat-header {
  9407. background: var(--background-primary-alt);
  9408. border: 1px solid var(--border-alt);
  9409. border-radius: 3px 3px 0 0;
  9410. height: 43px;
  9411. line-height: 13px;
  9412. flex-shrink: 0;
  9413. display: flex;
  9414. justify-content: space-between;
  9415. align-items: center;
  9416. }
  9417. .chat-name {
  9418. margin: 0 2px;
  9419. overflow: hidden;
  9420. text-overflow: ellipsis;
  9421. white-space: nowrap;
  9422. .status-badge {
  9423. @include bidi-style(margin-left, 2px, margin-right, 0);
  9424. vertical-align: middle;
  9425. height: 100%;
  9426. }
  9427. }
  9428. .chat-status {
  9429. @include bidi-style(margin-left, 10px, margin-right, 0);
  9430. &[data-status='online'] .icon {
  9431. fill: var(--supergood-color);
  9432. }
  9433. &[data-status='offline'] .icon {
  9434. fill: var(--superbad-color);
  9435. }
  9436. .icon-status-modified-inner-circle,
  9437. .icon-status-modified-outer-circle {
  9438. display: none;
  9439. }
  9440. &.is-modified {
  9441. .icon-status {
  9442. display: none;
  9443. }
  9444. .icon-status-modified-inner-circle,
  9445. .icon-status-modified-outer-circle {
  9446. display: block;
  9447. }
  9448. }
  9449. }
  9450. .chat-status-holder {
  9451. position: relative;
  9452. }
  9453. .chat-disconnect,
  9454. .chat-close {
  9455. @extend %clickable;
  9456. padding: 10px;
  9457. .btn {
  9458. min-width: 80px;
  9459. justify-content: center;
  9460. }
  9461. }
  9462. .chat-disconnect.is-hidden,
  9463. .chat-close.is-hidden {
  9464. display: none;
  9465. }
  9466. .chat-scroll-hint {
  9467. background: var(--background-primary);
  9468. display: flex;
  9469. align-items: center;
  9470. border: 1px solid var(--border-alt);
  9471. border-top: none;
  9472. padding: 7px 10px 6px;
  9473. color: var(--text-muted);
  9474. @extend %clickable;
  9475. &.is-hidden {
  9476. display: none;
  9477. }
  9478. .icon {
  9479. fill: hsl(210, 5%, 78%);
  9480. @include bidi-style(margin-right, 8px, margin-left, 0);
  9481. }
  9482. }
  9483. .chat-body-holder {
  9484. flex: 1;
  9485. background: var(--background-secondary);
  9486. font-size: 13px;
  9487. line-height: 18px;
  9488. overflow: auto;
  9489. -webkit-overflow-scrolling: touch;
  9490. border-left: 1px solid var(--border-alt);
  9491. border-right: 1px solid var(--border-alt);
  9492. position: relative;
  9493. }
  9494. .chat-body-holder--standalone {
  9495. border-top: 1px solid var(--border-alt);
  9496. border-bottom: 1px solid var(--border-alt);
  9497. }
  9498. .chat-body {
  9499. padding: 10px;
  9500. display: flex;
  9501. flex-direction: column;
  9502. align-items: flex-start;
  9503. position: absolute;
  9504. width: 100%;
  9505. top: 0;
  9506. left: 0;
  9507. }
  9508. .chat-timestamp,
  9509. .chat-notice-message {
  9510. font-size: 12px;
  9511. color: var(--text-muted);
  9512. margin-bottom: 4px;
  9513. align-self: center;
  9514. word-break: break-word;
  9515. }
  9516. .chat-timestamp-label {
  9517. font-weight: 500;
  9518. }
  9519. .chat-message {
  9520. max-width: 90%;
  9521. background: var(--background-primary);
  9522. padding: 6px 12px;
  9523. border-radius: 16px;
  9524. margin-bottom: 4px;
  9525. }
  9526. .chat-message img {
  9527. @extend %clickable;
  9528. }
  9529. .chat-message--customer.chat-message--new {
  9530. font-weight: bold;
  9531. }
  9532. .chat-message--agent {
  9533. @include bidi-style(margin-left, auto, margin-right, 0);
  9534. background: var(--background-article-customer);
  9535. align-self: flex-end;
  9536. }
  9537. .chat-message--agent + .chat-message--customer,
  9538. .chat-message--customer + .chat-message--agent {
  9539. margin-top: 10px;
  9540. }
  9541. .chat-status-message {
  9542. align-self: center;
  9543. background: var(--background-primary-alt);
  9544. padding: 6px 12px;
  9545. margin: 4px 0 10px;
  9546. border-radius: 3px;
  9547. }
  9548. .chat-loader {
  9549. @include bidi-style(margin-right, -4px, margin-left, 0);
  9550. .icon {
  9551. width: 12px;
  9552. height: 12px;
  9553. fill: var(--border);
  9554. @include bidi-style(margin-left, -4px, margin-right, 0);
  9555. vertical-align: middle;
  9556. animation: ease-in-out load-fade 600ms infinite alternate;
  9557. }
  9558. .icon + .icon {
  9559. animation-delay: 0.13s;
  9560. }
  9561. .icon + .icon + .icon {
  9562. animation-delay: 0.26s;
  9563. }
  9564. }
  9565. @keyframes load-fade {
  9566. 0% {
  9567. opacity: 0.5;
  9568. transform: scale(0.6);
  9569. }
  9570. 67% {
  9571. opacity: 1;
  9572. transform: scale(1);
  9573. }
  9574. }
  9575. .chat-footer {
  9576. border-top: 1px solid var(--border-alt);
  9577. padding: 10px 10px 0;
  9578. display: flex;
  9579. justify-content: center;
  9580. align-self: stretch;
  9581. margin: 0 -10px;
  9582. }
  9583. .chat-controls {
  9584. display: flex;
  9585. align-items: flex-start;
  9586. padding: 10px;
  9587. background: var(--background-primary-alt);
  9588. border: 1px solid var(--border-alt);
  9589. border-radius: 0 0 3px 3px;
  9590. flex-shrink: 0;
  9591. }
  9592. .chat-input {
  9593. @include bidi-style(margin-right, 10px, margin-left, 0);
  9594. flex-grow: 1;
  9595. position: relative;
  9596. .form-control {
  9597. overflow: auto;
  9598. -webkit-overflow-scrolling: touch;
  9599. max-height: 50vh;
  9600. }
  9601. }
  9602. .browser {
  9603. margin: 0 0 20px;
  9604. position: relative;
  9605. &[data-size] {
  9606. padding-bottom: 65%; // 16:10 aspect ratio;
  9607. .browser-ratio {
  9608. width: 100%;
  9609. height: 100%;
  9610. position: absolute;
  9611. left: 0;
  9612. top: 0;
  9613. transition: width 500ms;
  9614. display: flex;
  9615. flex-direction: column;
  9616. }
  9617. .browser-body {
  9618. padding: 0;
  9619. }
  9620. }
  9621. &[data-size='mobile'] .browser-ratio {
  9622. width: 375px;
  9623. }
  9624. &-ratio {
  9625. border: 1px solid var(--border);
  9626. border-radius: 5px;
  9627. }
  9628. }
  9629. @media screen and (min-width: #{1280 + $sidebarWidth + $navigationWidth}) {
  9630. // hide 1:1 button when it gets inrelevant
  9631. [data-size='1:1'] {
  9632. display: none;
  9633. }
  9634. .browser[data-size='mobile'] .browser-ratio {
  9635. width: 500px;
  9636. }
  9637. }
  9638. .browser-body {
  9639. flex: 1;
  9640. position: relative;
  9641. overflow: hidden;
  9642. padding: 20px;
  9643. &-inner {
  9644. position: absolute;
  9645. left: 0;
  9646. top: 0;
  9647. width: 100%;
  9648. height: 100%;
  9649. }
  9650. .browser-website {
  9651. position: relative;
  9652. height: 100%;
  9653. transform-origin: right bottom;
  9654. transition: 500ms;
  9655. overflow: hidden;
  9656. &.is-picking {
  9657. cursor: image_url('/assets/images/eyedropper.gif') 0 15, auto;
  9658. }
  9659. &-background {
  9660. position: absolute;
  9661. top: 0;
  9662. left: 0;
  9663. width: 100%;
  9664. height: 100%;
  9665. object-fit: cover;
  9666. object-position: left top;
  9667. }
  9668. }
  9669. }
  9670. .browser-head {
  9671. display: flex;
  9672. padding: 10px;
  9673. border-bottom: 1px solid var(--border);
  9674. .browser-input {
  9675. position: relative;
  9676. flex: 1;
  9677. @include bidi-style(margin-right, 10px, margin-left, 0);
  9678. input {
  9679. min-width: 0;
  9680. @include bidi-style(padding-right, 40px, padding-left, 12px);
  9681. &.is-loading + .loading.icon {
  9682. display: block;
  9683. }
  9684. }
  9685. .loading.icon {
  9686. position: absolute;
  9687. @include bidi-style(right, 11px, left, auto);
  9688. top: 10px;
  9689. display: none;
  9690. }
  9691. }
  9692. .help-block {
  9693. margin-bottom: -3px;
  9694. }
  9695. }
  9696. .browser-inline-form {
  9697. width: 300px;
  9698. &.no-css {
  9699. all: initial;
  9700. * {
  9701. all: unset;
  9702. }
  9703. input,
  9704. textarea,
  9705. button {
  9706. padding: 2px;
  9707. background: var(--background-secondary);
  9708. border: 1px solid;
  9709. font: 400 11px system-ui;
  9710. }
  9711. button {
  9712. padding: 2px 6px 3px;
  9713. background-color: buttonface;
  9714. border: 2px outset buttonface;
  9715. }
  9716. }
  9717. }
  9718. .chat-demo {
  9719. .zammad-chat {
  9720. position: absolute;
  9721. transform-origin: right bottom;
  9722. transition: 500ms;
  9723. user-select: none;
  9724. will-change: transform;
  9725. &.is-fullscreen {
  9726. right: 0;
  9727. width: 100%;
  9728. height: 100%;
  9729. border-radius: 0 !important;
  9730. .zammad-chat-header {
  9731. border-radius: 0 !important;
  9732. box-shadow: 0 -1px rgba(0, 0, 0, 0.1), 0 -1px rgba(0, 0, 0, 0.1) inset,
  9733. 0 1px 1px rgba(0, 0, 0, 0.13);
  9734. }
  9735. .zammad-chat-controls {
  9736. border-radius: 0 0 5px 5px;
  9737. }
  9738. }
  9739. &.no-transition {
  9740. transition: none;
  9741. }
  9742. .zammad-chat-welcome {
  9743. display: block !important;
  9744. }
  9745. .zammad-chat-header-icon-open {
  9746. display: inline !important;
  9747. }
  9748. .zammad-chat-agent-status,
  9749. .zammad-chat-header-icon-close,
  9750. .zammad-chat-agent {
  9751. display: none !important;
  9752. }
  9753. &.is-open {
  9754. .zammad-chat-agent {
  9755. display: block !important;
  9756. }
  9757. .zammad-chat-header-icon-close,
  9758. .zammad-chat-agent-status {
  9759. display: inline-block !important;
  9760. }
  9761. .zammad-chat-welcome,
  9762. .zammad-chat-header-icon-open {
  9763. display: none !important;
  9764. }
  9765. }
  9766. &.is-fullscreen {
  9767. height: 100%;
  9768. .zammad-chat-controls {
  9769. border-radius: 0 0 5px 5px;
  9770. }
  9771. }
  9772. }
  9773. .zammad-chat-header {
  9774. pointer-events: auto;
  9775. }
  9776. .chat-demo-animationHolder {
  9777. position: absolute;
  9778. bottom: 0;
  9779. left: 0;
  9780. width: 100%;
  9781. height: 100%;
  9782. animation: slide-up 500ms;
  9783. pointer-events: none;
  9784. }
  9785. }
  9786. @keyframes slide-up {
  9787. from {
  9788. transform: translateY(100%);
  9789. }
  9790. }
  9791. .todo {
  9792. position: relative;
  9793. display: block;
  9794. .icon {
  9795. fill: var(--ghost-color);
  9796. vertical-align: middle;
  9797. margin: -2px 3px 0 0;
  9798. }
  9799. &.is-done .icon {
  9800. fill: var(--supergood-color);
  9801. }
  9802. }
  9803. .columnSelect {
  9804. height: 234px;
  9805. display: flex;
  9806. padding: 0;
  9807. line-height: 22px;
  9808. &-shadow {
  9809. display: none;
  9810. }
  9811. &-column--selected {
  9812. flex: 1 1 66%;
  9813. overflow: auto;
  9814. -webkit-overflow-scrolling: touch;
  9815. padding: 7px;
  9816. }
  9817. &-column--sidebar {
  9818. flex-basis: 33%;
  9819. flex-shrink: 1;
  9820. border-left: 1px solid var(--border);
  9821. background: var(--background-modifier-accent);
  9822. display: flex;
  9823. flex-direction: column;
  9824. min-width: 0;
  9825. .columnSelect-option:hover {
  9826. background: var(--background-modifier-hover);
  9827. }
  9828. }
  9829. &-pool {
  9830. flex: 1 1 auto;
  9831. overflow: auto;
  9832. -webkit-overflow-scrolling: touch;
  9833. padding: 7px;
  9834. }
  9835. &-option {
  9836. @extend %clickable;
  9837. padding: 0 5px;
  9838. border-radius: 1px;
  9839. overflow: hidden;
  9840. white-space: nowrap;
  9841. text-overflow: ellipsis;
  9842. &:hover {
  9843. background: var(--background-modifier-hover);
  9844. }
  9845. }
  9846. &-group-label {
  9847. opacity: 0.5;
  9848. .filter-active & {
  9849. display: none;
  9850. }
  9851. ~ .columnSelect-option {
  9852. padding-left: 10px;
  9853. }
  9854. }
  9855. .is-hidden,
  9856. .is-filtered {
  9857. display: none;
  9858. }
  9859. &-search {
  9860. position: relative;
  9861. .icon-magnifier {
  9862. left: 7px;
  9863. top: 5px;
  9864. position: absolute;
  9865. opacity: 0.3;
  9866. }
  9867. &-clear {
  9868. position: absolute;
  9869. right: 0;
  9870. top: 0;
  9871. padding: 6px 7px 4px;
  9872. @extend %clickable;
  9873. line-height: 1;
  9874. .icon {
  9875. opacity: 0.6;
  9876. }
  9877. }
  9878. input {
  9879. width: 100%;
  9880. padding: 2px 30px 1px;
  9881. border: none;
  9882. outline: none;
  9883. border-bottom: 1px solid var(--border);
  9884. background: none;
  9885. }
  9886. }
  9887. }
  9888. .pulsate-animation {
  9889. animation: pulsate 667ms ease-in-out infinite alternate;
  9890. }
  9891. .richtext-content {
  9892. &[contenteditable] {
  9893. &,
  9894. &:hover,
  9895. &:focus {
  9896. background: none;
  9897. }
  9898. }
  9899. h1,
  9900. h2,
  9901. h3,
  9902. h4 {
  9903. &:first-child {
  9904. margin-top: 6px;
  9905. }
  9906. }
  9907. table,
  9908. pre,
  9909. blockquote {
  9910. margin-bottom: 16px;
  9911. }
  9912. & > p,
  9913. & > table,
  9914. & > pre,
  9915. & > blockquote {
  9916. &:first-child {
  9917. margin-top: 6px;
  9918. }
  9919. &:last-child {
  9920. margin-bottom: 6px;
  9921. }
  9922. }
  9923. table {
  9924. table-layout: auto;
  9925. display: block;
  9926. width: 100%;
  9927. overflow: auto;
  9928. -webkit-overflow-scrolling: touch;
  9929. word-break: keep-all;
  9930. col {
  9931. width: auto;
  9932. }
  9933. span,
  9934. p,
  9935. a {
  9936. overflow-wrap: anywhere;
  9937. }
  9938. }
  9939. blockquote {
  9940. padding: 8px 12px;
  9941. border-left: 5px solid var(--background-primary-alt);
  9942. }
  9943. code {
  9944. border: none;
  9945. white-space: pre-wrap;
  9946. }
  9947. pre {
  9948. padding: 12px 15px;
  9949. font-size: 13px;
  9950. line-height: 1.45;
  9951. background: var(--background-modifier-accent-light);
  9952. white-space: pre-wrap;
  9953. border-radius: 3px;
  9954. border: none;
  9955. overflow: auto;
  9956. -webkit-overflow-scrolling: touch;
  9957. }
  9958. hr {
  9959. margin-top: 6px;
  9960. margin-bottom: 6px;
  9961. border: 0;
  9962. border-top: 1px solid var(--background-modifier-border);
  9963. }
  9964. @include dark {
  9965. // remove custom backgrounds and colors
  9966. [style*='background'] {
  9967. background: none !important;
  9968. }
  9969. [style*='color'] {
  9970. color: inherit !important;
  9971. }
  9972. }
  9973. }
  9974. .detail-search-header {
  9975. margin: 20px 0 32px;
  9976. }
  9977. .batch-overlay {
  9978. @extend .fit, .zIndex-1;
  9979. color: var(--text-inverted);
  9980. text-transform: uppercase;
  9981. text-align: center;
  9982. letter-spacing: 0.07em;
  9983. font-size: 0.95em;
  9984. line-height: 1.3;
  9985. display: none;
  9986. will-change: display;
  9987. cursor: grabbing;
  9988. overflow: hidden;
  9989. user-select: none;
  9990. &.is-visible {
  9991. display: block;
  9992. }
  9993. &-backdrop {
  9994. @extend .fit;
  9995. background: hsla(231, 20%, 8%, 0.8);
  9996. opacity: 0;
  9997. will-change: opacity;
  9998. }
  9999. &-circle {
  10000. margin: 35px auto;
  10001. background: hsl(207, 7%, 29%);
  10002. border-radius: 100%;
  10003. border: 4px solid var(--background-secondary);
  10004. width: 140px;
  10005. height: 140px;
  10006. padding: 20px 0;
  10007. display: flex;
  10008. flex-direction: column;
  10009. justify-content: space-around;
  10010. align-items: center;
  10011. position: absolute;
  10012. left: 0;
  10013. right: 0;
  10014. will-change: transform, opacity;
  10015. visibility: hidden;
  10016. &--top {
  10017. top: 0;
  10018. }
  10019. &--bottom {
  10020. bottom: 0;
  10021. }
  10022. .icon {
  10023. fill: currentColor;
  10024. opacity: 1;
  10025. }
  10026. &-label {
  10027. width: 80%;
  10028. margin: 10px 0;
  10029. }
  10030. }
  10031. &-cancel {
  10032. background: hsla(0, 0%, 100%, 0.21);
  10033. background-clip: padding-box;
  10034. border: 2px dashed hsla(0, 0%, 100%, 0.3);
  10035. border-radius: 8px;
  10036. padding: 28px;
  10037. margin: auto 200px;
  10038. position: absolute;
  10039. left: 0;
  10040. right: 0;
  10041. max-height: 100px;
  10042. visibility: hidden;
  10043. will-change: opacity;
  10044. display: flex;
  10045. justify-content: center;
  10046. align-items: center;
  10047. }
  10048. &-box {
  10049. background: hsl(232, 9%, 17%);
  10050. width: 100%;
  10051. position: absolute;
  10052. visibility: hidden;
  10053. will-change: opacity, transition;
  10054. &-inner {
  10055. margin: 37px 25px;
  10056. display: flex;
  10057. flex-wrap: wrap;
  10058. justify-content: center;
  10059. overflow: hidden;
  10060. }
  10061. }
  10062. &-assign {
  10063. padding-bottom: 50px;
  10064. bottom: -50px; // extra space for bounce animation
  10065. .batch-overlay-box-inner {
  10066. max-height: 40vh;
  10067. }
  10068. &-group {
  10069. box-shadow: 0 0 35px hsla(0, 0%, 0%, 0.5);
  10070. .batch-overlay-box-inner {
  10071. margin-top: 42px;
  10072. margin-bottom: 10px;
  10073. }
  10074. &-name {
  10075. position: absolute;
  10076. left: 0;
  10077. right: 0;
  10078. top: 0;
  10079. padding: 11px 13px 8px;
  10080. line-height: 1;
  10081. position: absolute;
  10082. background: hsl(233, 10%, 15%);
  10083. }
  10084. }
  10085. &-entry {
  10086. padding: 13px;
  10087. width: 116px;
  10088. height: 155px;
  10089. &.is-hovered {
  10090. .avatar {
  10091. border-color: var(--highlight);
  10092. transform: scale(1.05);
  10093. }
  10094. }
  10095. .avatar {
  10096. border: 4px solid hsl(231, 5%, 30%);
  10097. margin-bottom: 10px;
  10098. box-sizing: content-box;
  10099. transition: transform 120ms;
  10100. cursor: inherit;
  10101. z-index: 1;
  10102. }
  10103. &-name {
  10104. max-height: 34px;
  10105. overflow: hidden;
  10106. display: -webkit-box;
  10107. -webkit-box-orient: vertical;
  10108. -webkit-line-clamp: 2;
  10109. overflow: hidden;
  10110. word-break: break-word;
  10111. }
  10112. &-detail {
  10113. color: gray;
  10114. }
  10115. }
  10116. }
  10117. &-macro {
  10118. padding-top: 50px;
  10119. top: -50px; // extra space for bounce animation
  10120. .batch-overlay-box-inner {
  10121. max-height: 55vh;
  10122. margin: 24px 12px;
  10123. }
  10124. &-entry {
  10125. margin: 13px;
  10126. border: 4px solid hsl(231, 5%, 30%);
  10127. background: hsl(233, 9%, 24%);
  10128. border-radius: 100%;
  10129. height: 120px;
  10130. width: 120px;
  10131. padding: 13px 13px 10px;
  10132. display: flex;
  10133. align-items: center;
  10134. justify-content: center;
  10135. font-size: 0.9em;
  10136. &.is-hovered {
  10137. border-color: var(--highlight);
  10138. transform: scale(1.05);
  10139. }
  10140. &.small {
  10141. @include small-desktop {
  10142. height: 80px;
  10143. width: 80px;
  10144. padding: 11px 11px 8px;
  10145. }
  10146. }
  10147. }
  10148. }
  10149. }
  10150. .batch-dragger {
  10151. position: absolute;
  10152. left: 0;
  10153. top: 0;
  10154. pointer-events: none;
  10155. width: 250px;
  10156. height: 40px;
  10157. will-change: transform;
  10158. @extend .zIndex-10;
  10159. &-item {
  10160. position: absolute;
  10161. left: 0;
  10162. width: 100%;
  10163. background: var(--background-highlight);
  10164. border-radius: 4px;
  10165. display: flex;
  10166. align-items: center;
  10167. padding: 11px 0 9px 11px;
  10168. box-shadow: 0 0 10px hsla(0, 0%, 0%, 0.28);
  10169. will-change: transform;
  10170. a {
  10171. color: inherit;
  10172. }
  10173. td:not(:first-child) {
  10174. display: block;
  10175. padding: 0 12px;
  10176. white-space: nowrap;
  10177. text-overflow: ellipsis;
  10178. overflow: hidden;
  10179. flex-shrink: 0;
  10180. &:nth-child(3) {
  10181. flex-shrink: 1;
  10182. }
  10183. &:nth-child(n + 4) {
  10184. display: none;
  10185. }
  10186. }
  10187. .checkbox-replacement > .icon,
  10188. .radio-replacement > .icon {
  10189. fill: none;
  10190. }
  10191. }
  10192. &-counter {
  10193. position: absolute;
  10194. right: -8px;
  10195. bottom: -8px;
  10196. width: 25px;
  10197. height: 25px;
  10198. border-radius: 99px;
  10199. z-index: 1;
  10200. color: var(--text-inverted);
  10201. background: var(--highlight);
  10202. display: flex;
  10203. align-items: center;
  10204. justify-content: center;
  10205. box-shadow: 0 0 10px hsla(0, 0%, 0%, 0.28);
  10206. will-change: transform;
  10207. &:empty {
  10208. display: none;
  10209. }
  10210. }
  10211. }
  10212. /*
  10213. -------------
  10214. breadcrumbs
  10215. -------------
  10216. */
  10217. .breadcrumbs {
  10218. display: flex;
  10219. align-items: center;
  10220. min-width: 88px;
  10221. @include phone {
  10222. overflow: hidden;
  10223. }
  10224. &-menu {
  10225. display: flex;
  10226. @include ltr(margin-left, auto);
  10227. @include rtl(margin-right, auto);
  10228. @include bidi-style(padding-left, 20px, padding-right, 0);
  10229. @include phone {
  10230. @include bidi-style(padding-left, 10px, padding-right, 0);
  10231. }
  10232. }
  10233. }
  10234. .breadcrumb {
  10235. position: relative;
  10236. padding-top: 11px;
  10237. padding-bottom: 8px;
  10238. @include ltr(padding-right, 21px);
  10239. @include ltr(padding-left, 13px);
  10240. @include rtl(padding-left, 21px);
  10241. @include rtl(padding-right, 13px);
  10242. color: inherit;
  10243. cursor: pointer;
  10244. @extend .u-textTruncate;
  10245. @include phone {
  10246. flex-shrink: 0;
  10247. }
  10248. &::before,
  10249. &::after {
  10250. content: '';
  10251. position: absolute;
  10252. width: 1px;
  10253. height: 50%;
  10254. background: currentColor;
  10255. opacity: 0.33;
  10256. @include ltr(right, 0);
  10257. @include rtl(left, 0);
  10258. top: 0;
  10259. transform-origin: bottom;
  10260. @include ltr(transform, rotate(-37deg));
  10261. @include rtl(transform, rotate(37deg));
  10262. }
  10263. &::after {
  10264. top: 50%;
  10265. transform-origin: top;
  10266. @include ltr(transform, rotate(37deg));
  10267. @include rtl(transform, rotate(-37deg));
  10268. }
  10269. &:last-child {
  10270. &::before,
  10271. &::after {
  10272. display: none;
  10273. }
  10274. }
  10275. .modified-icon {
  10276. @include bidi-style(margin-right, 3px, margin-left, 0);
  10277. display: inline-block;
  10278. vertical-align: middle;
  10279. line-height: 1;
  10280. margin-top: -3px;
  10281. }
  10282. &-icon {
  10283. fill: currentColor;
  10284. width: 20px;
  10285. height: 20px;
  10286. object-fit: contain;
  10287. }
  10288. .modified-icon-modifier {
  10289. fill: var(--background-primary-alt);
  10290. }
  10291. }
  10292. /*
  10293. ---------------------
  10294. iconfont icon picker
  10295. ---------------------
  10296. */
  10297. .icon_picker {
  10298. .dropdown-menu {
  10299. max-height: 500px;
  10300. width: 420px;
  10301. min-width: 0;
  10302. overflow-y: auto;
  10303. }
  10304. .controls {
  10305. position: relative;
  10306. }
  10307. &-shadow {
  10308. display: none;
  10309. }
  10310. .dropdown-grid {
  10311. &:empty {
  10312. padding: 0;
  10313. & + .dropdown-filter-placeholder {
  10314. display: block;
  10315. }
  10316. }
  10317. li:hover:not(.is-active) {
  10318. background: none;
  10319. }
  10320. .icon {
  10321. width: 40px;
  10322. line-height: 40px;
  10323. text-align: center;
  10324. }
  10325. }
  10326. .dropdown-filter-placeholder {
  10327. display: none;
  10328. padding: 10px;
  10329. text-align: center;
  10330. text-rendering: auto;
  10331. font-feature-settings: 'liga';
  10332. -webkit-font-smoothing: antialiased;
  10333. -moz-osx-font-smoothing: grayscale;
  10334. transition: letter-spacing 200ms;
  10335. cursor: default;
  10336. line-height: 40px;
  10337. &:hover {
  10338. letter-spacing: -2px;
  10339. }
  10340. span {
  10341. display: none;
  10342. &.is-active {
  10343. display: block;
  10344. }
  10345. }
  10346. }
  10347. .dropdown-filter {
  10348. background: none;
  10349. width: 100%;
  10350. background: var(--background-modifier-accent);
  10351. border: none;
  10352. padding: 13px 20px 11px;
  10353. outline: none;
  10354. }
  10355. .dropdown-grid {
  10356. display: flex;
  10357. flex-wrap: wrap;
  10358. padding: 10px;
  10359. margin: 0;
  10360. li {
  10361. list-style: none;
  10362. cursor: pointer;
  10363. user-select: none;
  10364. border-radius: 2px;
  10365. &:hover,
  10366. &.is-active {
  10367. background: var(--highlight);
  10368. }
  10369. }
  10370. }
  10371. }
  10372. /*
  10373. --------------
  10374. color picker
  10375. --------------
  10376. */
  10377. .color {
  10378. .controls {
  10379. position: relative;
  10380. }
  10381. .controls-button {
  10382. align-self: stretch;
  10383. }
  10384. .controls-button-inner {
  10385. padding: 4px;
  10386. }
  10387. .color-field {
  10388. width: 31px;
  10389. height: 100%;
  10390. position: relative;
  10391. // unparsable color
  10392. &[style='']::before {
  10393. content: '';
  10394. position: absolute;
  10395. left: 10%;
  10396. top: 10%;
  10397. width: 80%;
  10398. height: 80%;
  10399. background: var(--background-primary-alt);
  10400. animation: rotateplane 1.2s infinite ease-in-out;
  10401. }
  10402. }
  10403. }
  10404. .colorpicker {
  10405. &.dropdown-menu {
  10406. box-sizing: content-box;
  10407. width: 380px;
  10408. min-width: 0;
  10409. }
  10410. .open > & {
  10411. display: flex;
  10412. }
  10413. &-hue-saturation {
  10414. flex-grow: 1;
  10415. width: 200px;
  10416. height: 150px;
  10417. margin: 14px;
  10418. @include ltr(margin-right, 0);
  10419. @include rtl(margin-left, 0);
  10420. $i: 0;
  10421. $rainbow: ();
  10422. @while $i <= 360 {
  10423. $rainbow: append($rainbow, unquote('hsl(#{$i},100%,50%)'), comma);
  10424. $i: $i + 60;
  10425. }
  10426. background: linear-gradient(to right, $rainbow);
  10427. position: relative;
  10428. overflow: hidden;
  10429. cursor: image_url('/assets/images/colorcircle.gif') 8 8, auto;
  10430. user-select: none;
  10431. }
  10432. &-lightness-plane,
  10433. &-saturation-gradient {
  10434. position: absolute;
  10435. left: 0;
  10436. top: 0;
  10437. height: 100%;
  10438. width: 100%;
  10439. }
  10440. &-circle {
  10441. position: absolute;
  10442. left: 0;
  10443. top: 0;
  10444. border: 1px solid black;
  10445. width: 12px;
  10446. height: 12px;
  10447. margin: -6px 0 0 -6px;
  10448. border-radius: 100%;
  10449. }
  10450. &-lightness {
  10451. height: 150px;
  10452. margin: 14px;
  10453. position: relative;
  10454. user-select: none;
  10455. }
  10456. &-hue-plane {
  10457. height: 100%;
  10458. width: 20px;
  10459. background: red;
  10460. }
  10461. &-hue-gradient {
  10462. height: 100%;
  10463. width: 100%;
  10464. background: linear-gradient(white, transparent, black);
  10465. }
  10466. &-slider {
  10467. position: absolute;
  10468. top: 0;
  10469. left: -7px;
  10470. right: -7px;
  10471. &-arrow {
  10472. position: absolute;
  10473. top: 0;
  10474. margin-top: -4px;
  10475. border: 4px solid transparent;
  10476. border-left: 7px solid hsl(240, 8%, 100%);
  10477. border-right: 7px solid hsl(240, 8%, 100%);
  10478. &--left {
  10479. left: 0;
  10480. border-right: none;
  10481. }
  10482. &--right {
  10483. right: 0;
  10484. border-left: none;
  10485. }
  10486. }
  10487. }
  10488. }
  10489. /*
  10490. ----------------
  10491. iconset picker
  10492. ----------------
  10493. */
  10494. .iconset_picker {
  10495. .controls input {
  10496. display: none;
  10497. }
  10498. }
  10499. .icon-sets {
  10500. margin: 0 -10px;
  10501. }
  10502. .icon-set {
  10503. margin: 10px;
  10504. display: flex;
  10505. border: 1px solid var(--border);
  10506. border-radius: 3px;
  10507. &.is-active {
  10508. border-color: var(--border-highlight);
  10509. box-shadow: 0 0 0 3px var(--shadow-highlight);
  10510. }
  10511. &-preview {
  10512. flex-grow: 1;
  10513. display: flex;
  10514. flex-wrap: wrap;
  10515. align-items: center;
  10516. justify-content: center;
  10517. overflow: hidden;
  10518. cursor: pointer;
  10519. user-select: none;
  10520. height: 250px;
  10521. border-radius: 0 3px 3px 0;
  10522. border-left: 1px solid var(--border);
  10523. background: var(--background-primary);
  10524. color: var(--text-muted);
  10525. position: relative;
  10526. }
  10527. &-meta {
  10528. flex-basis: 197px;
  10529. order: -1;
  10530. display: flex;
  10531. flex-direction: column;
  10532. flex-shrink: 0;
  10533. padding: 10px;
  10534. background: var(--background-secondary);
  10535. border-radius: 3px 0 0 3px;
  10536. }
  10537. &-version {
  10538. color: var(--text-muted);
  10539. }
  10540. &-website {
  10541. margin-top: auto;
  10542. display: block;
  10543. }
  10544. .icon {
  10545. width: 50px;
  10546. line-height: 50px;
  10547. text-align: center;
  10548. font-size: 18px;
  10549. &:not(.loading).do-flash {
  10550. animation: iconset-flash 0.7s ease-out;
  10551. }
  10552. }
  10553. }
  10554. @keyframes iconset-flash {
  10555. from {
  10556. background: var(--background-modifier-hover);
  10557. color: var(--text-normal);
  10558. }
  10559. to {
  10560. background: transparent;
  10561. color: inherit;
  10562. }
  10563. }
  10564. /*
  10565. -----------------------------
  10566. generic flex layout classes
  10567. -----------------------------
  10568. */
  10569. .horizontal,
  10570. .vertical,
  10571. .centered {
  10572. display: flex;
  10573. }
  10574. .horizontal.hide,
  10575. .vertical.hide,
  10576. .centered.hide {
  10577. display: none;
  10578. }
  10579. .horizontal {
  10580. flex-direction: row;
  10581. }
  10582. .horizontal.multiline {
  10583. flex-wrap: wrap;
  10584. }
  10585. .horizontal.reverse {
  10586. flex-direction: row-reverse;
  10587. }
  10588. .vertical {
  10589. flex-direction: column;
  10590. }
  10591. .vertical.reverse {
  10592. flex-direction: column-reverse;
  10593. }
  10594. .vertical.stretch > *,
  10595. .horizontal.stretch > * {
  10596. flex: 1;
  10597. }
  10598. .stretch {
  10599. align-self: stretch;
  10600. }
  10601. .relative {
  10602. position: relative;
  10603. }
  10604. .fit {
  10605. position: absolute;
  10606. top: 0;
  10607. left: 0;
  10608. bottom: 0;
  10609. right: 0;
  10610. }
  10611. body.fit {
  10612. margin: 0;
  10613. }
  10614. .scrollable {
  10615. overflow: auto;
  10616. -webkit-overflow-scrolling: touch;
  10617. }
  10618. .flex {
  10619. flex: 1;
  10620. }
  10621. .margin-bottom-5 {
  10622. margin-bottom: 5px;
  10623. }
  10624. /*
  10625. Firefox minimum content bugfix
  10626. https://github.com/philipwalton/flexbugs#1-minimum-content-sizing-of-flex-items-not-honored
  10627. "By default, flex items won’t shrink below their minimum
  10628. content size (the length of the longest word or fixed-size element).
  10629. To change this, set the min-width or min-height property."
  10630. */
  10631. .flex-shrink-horizontal {
  10632. min-width: 0;
  10633. }
  10634. .flex-full {
  10635. flex: 1 1 100%;
  10636. }
  10637. .flex-auto {
  10638. flex: 1 1 auto;
  10639. }
  10640. .flex-shrink {
  10641. flex: 0 1 auto;
  10642. }
  10643. .flex-no-shrink {
  10644. flex-shrink: 0;
  10645. }
  10646. .flex-none {
  10647. flex: none;
  10648. }
  10649. .flex-1 {
  10650. flex: 1;
  10651. }
  10652. .flex-2 {
  10653. flex: 2;
  10654. }
  10655. .flex-3 {
  10656. flex: 3;
  10657. }
  10658. .justify-start {
  10659. justify-content: flex-start;
  10660. }
  10661. .justified {
  10662. justify-content: center;
  10663. }
  10664. .justify-end {
  10665. justify-content: flex-end;
  10666. }
  10667. .justify-between {
  10668. justify-content: space-between;
  10669. }
  10670. .start {
  10671. align-items: flex-start;
  10672. }
  10673. .center {
  10674. align-items: center;
  10675. }
  10676. .baseline {
  10677. align-items: baseline;
  10678. }
  10679. .centered {
  10680. align-items: center;
  10681. justify-content: center;
  10682. }
  10683. .end {
  10684. align-items: flex-end;
  10685. }
  10686. .self-start {
  10687. align-self: start;
  10688. }
  10689. .self-end {
  10690. align-self: end;
  10691. }
  10692. .span-width {
  10693. flex-basis: 100%;
  10694. }
  10695. .two-columns,
  10696. .three-columns,
  10697. .wrap {
  10698. flex-wrap: wrap;
  10699. }
  10700. .two-columns,
  10701. .three-columns {
  10702. @include phone {
  10703. display: block;
  10704. }
  10705. }
  10706. .two-columns > .column {
  10707. width: 50%;
  10708. @include phone {
  10709. width: auto;
  10710. }
  10711. }
  10712. .three-columns > .column {
  10713. width: 33.33%;
  10714. @include phone {
  10715. width: auto;
  10716. }
  10717. }
  10718. .align-left {
  10719. @include bidi-style(margin-right, auto, margin-left, 0);
  10720. }
  10721. .align-right {
  10722. @include bidi-style(margin-left, auto, margin-right, 0);
  10723. }
  10724. .space-left {
  10725. @include bidi-style(margin-left, 10px, margin-right, 0);
  10726. }
  10727. .space-right {
  10728. @include bidi-style(margin-right, 10px, margin-left, 0);
  10729. }
  10730. .half-space-left {
  10731. @include bidi-style(margin-left, 5px, margin-right, 0);
  10732. }
  10733. .half-space-right {
  10734. @include bidi-style(margin-right, 5px, margin-left, 0);
  10735. }
  10736. .align-center {
  10737. margin-left: auto;
  10738. margin-right: auto;
  10739. }
  10740. .flex-space-after {
  10741. @include bidi-style(margin-right, auto, margin-left, 0);
  10742. }
  10743. .flex-space-before {
  10744. @include bidi-style(margin-left, auto, margin-right, 0);
  10745. }
  10746. .half-spacer {
  10747. width: 5px;
  10748. height: 5px;
  10749. }
  10750. .spacer {
  10751. width: 10px;
  10752. height: 10px;
  10753. }
  10754. .double-spacer {
  10755. width: 20px;
  10756. height: 20px;
  10757. }
  10758. .flex-spacer {
  10759. flex: 1;
  10760. }
  10761. span.is-disabled {
  10762. cursor: not-allowed;
  10763. opacity: 0.5;
  10764. }
  10765. .inline-label + .scheduled-widget {
  10766. margin-left: 18px;
  10767. }
  10768. .scheduled-widget {
  10769. display: flex;
  10770. align-items: center;
  10771. padding: 5px 5px 5px 10px;
  10772. border: 1px solid rgba(0, 0, 0, 0.1);
  10773. border-radius: 4px;
  10774. &[data-state='published'] {
  10775. color: var(--supergood-color);
  10776. border-color: currentColor;
  10777. .btn {
  10778. border-color: currentColor;
  10779. }
  10780. }
  10781. &[data-state='archived'] {
  10782. border-color: var(--ghost-color);
  10783. .btn {
  10784. border-color: var(--ghost-color);
  10785. }
  10786. }
  10787. &[data-state='internal'] {
  10788. color: var(--highlight);
  10789. border-color: currentColor;
  10790. .btn {
  10791. border-color: currentColor;
  10792. }
  10793. }
  10794. .help-text & {
  10795. margin-top: 4px;
  10796. }
  10797. .icon {
  10798. color: inherit;
  10799. fill: currentColor;
  10800. vertical-align: middle;
  10801. }
  10802. &-label {
  10803. margin: 0 10px 0 6px;
  10804. }
  10805. .icon-diagonal-cross {
  10806. width: 10px;
  10807. height: 10px;
  10808. }
  10809. .btn {
  10810. color: inherit;
  10811. }
  10812. }
  10813. .knowledge-base {
  10814. &-navigation {
  10815. display: flex;
  10816. align-items: center;
  10817. color: var(--interactive-muted);
  10818. background: var(--background-primary-alt);
  10819. border-bottom: 1px solid var(--border);
  10820. padding: 7px;
  10821. @include phone {
  10822. flex-shrink: 0;
  10823. overflow: auto;
  10824. -webkit-overflow-scrolling: touch;
  10825. }
  10826. .breadcrumb:not(:first-child) .breadcrumb-icon {
  10827. width: 16px;
  10828. height: 16px;
  10829. }
  10830. }
  10831. &-body {
  10832. position: relative;
  10833. overflow-x: hidden;
  10834. @include phone {
  10835. flex-direction: column-reverse;
  10836. overflow: visible;
  10837. }
  10838. }
  10839. &-sidebar {
  10840. position: absolute;
  10841. @include ltr(right, 0);
  10842. @include rtl(left, 0);
  10843. top: 0;
  10844. width: 280px;
  10845. height: 100%;
  10846. overflow: auto;
  10847. -webkit-overflow-scrolling: touch;
  10848. transition: transform 500ms;
  10849. @include bidi-style(
  10850. border-left,
  10851. 1px solid var(--border),
  10852. border-right,
  10853. none
  10854. );
  10855. @include phone {
  10856. width: auto;
  10857. position: static;
  10858. @include bidi-style(border-left, none, border-right, none);
  10859. border-top: 1px solid var(--border);
  10860. overflow: visible;
  10861. }
  10862. @include desktop {
  10863. width: 28%;
  10864. }
  10865. &.hidden {
  10866. display: block !important;
  10867. visibility: visible !important;
  10868. @include ltr(transform, translateX(100%));
  10869. @include rtl(transform, translateX(-100%));
  10870. @include phone {
  10871. transform: none !important;
  10872. display: none !important;
  10873. }
  10874. + .knowledge-base-main {
  10875. @include ltr(margin-right, 0);
  10876. @include rtl(margin-left, 0);
  10877. }
  10878. }
  10879. h2 {
  10880. font-size: 17px;
  10881. line-height: 1;
  10882. }
  10883. }
  10884. &-main {
  10885. width: 100%;
  10886. @include ltr(transition, margin-right 500ms);
  10887. @include ltr(margin-right, 280px);
  10888. @include rtl(transition, margin-left 500ms);
  10889. @include rtl(margin-left, 280px);
  10890. @include phone {
  10891. margin: 0 0 10px !important;
  10892. }
  10893. @include desktop {
  10894. @include ltr(margin-right, 28%);
  10895. @include rtl(margin-left, 28%);
  10896. }
  10897. }
  10898. form {
  10899. flex-shrink: 0;
  10900. }
  10901. .richtext-content {
  10902. word-break: break-word;
  10903. word-wrap: anywhere;
  10904. }
  10905. .page-header {
  10906. margin: 1px 0 3px;
  10907. flex-shrink: 0;
  10908. }
  10909. }
  10910. .modal-manage-attachments {
  10911. input:focus + label {
  10912. text-decoration: none;
  10913. }
  10914. }
  10915. .modal-knowledge-base-server-snippet {
  10916. label.radio-replacement:first-child {
  10917. padding-left: 0;
  10918. }
  10919. }
  10920. .container {
  10921. max-width: 960px;
  10922. width: 100%;
  10923. margin: 20px auto;
  10924. }
  10925. .sections {
  10926. list-style: none;
  10927. padding: 0;
  10928. margin: 0 -10px;
  10929. &:not(:empty) + &:not(:empty) {
  10930. border-top: 1px solid var(--border);
  10931. margin-top: 20px;
  10932. padding-top: 20px;
  10933. }
  10934. &--grid {
  10935. display: flex;
  10936. flex-wrap: wrap;
  10937. .section {
  10938. a {
  10939. padding-bottom: 72%;
  10940. position: relative;
  10941. line-height: 1.3;
  10942. }
  10943. [data-font] {
  10944. font-size: 60px;
  10945. }
  10946. .modified-icon {
  10947. margin: 10px 0 20px;
  10948. }
  10949. &--subsection {
  10950. display: none;
  10951. }
  10952. &-inner {
  10953. position: absolute;
  10954. padding: 10px;
  10955. left: 0;
  10956. top: 0;
  10957. right: 0;
  10958. bottom: 0;
  10959. align-items: center;
  10960. justify-content: center;
  10961. flex-direction: column;
  10962. text-align: center;
  10963. .title {
  10964. display: -webkit-box;
  10965. overflow: auto;
  10966. -webkit-box-orient: vertical;
  10967. -webkit-line-clamp: 5;
  10968. }
  10969. }
  10970. }
  10971. &[data-size='medium'] {
  10972. .section {
  10973. width: 25%;
  10974. @include phone {
  10975. width: 100%;
  10976. }
  10977. a {
  10978. font-size: 14px;
  10979. }
  10980. [data-font] {
  10981. font-size: 42px;
  10982. }
  10983. .modified-icon-modifier {
  10984. width: 18px;
  10985. height: 18px;
  10986. margin: 0 -6px -2px 0;
  10987. }
  10988. }
  10989. }
  10990. &[data-size='large'] {
  10991. .section {
  10992. width: 33.33%;
  10993. @include phone {
  10994. width: 100%;
  10995. }
  10996. a {
  10997. font-size: 15px;
  10998. }
  10999. .modified-icon-modifier {
  11000. width: 22.5px;
  11001. height: 22.5px;
  11002. margin: 0 -8px -5px 0;
  11003. }
  11004. }
  11005. }
  11006. }
  11007. &--list {
  11008. .section-detail {
  11009. margin-left: 0.2em;
  11010. }
  11011. }
  11012. }
  11013. .section {
  11014. &.kb-item--invisible {
  11015. opacity: 0.5;
  11016. }
  11017. &.kb-item--missing-translation,
  11018. &.kb-item--missing-translation:active,
  11019. &.kb-item--missing-translation:focus {
  11020. color: hsl(45, 98%, 63%);
  11021. }
  11022. a {
  11023. display: block;
  11024. text-decoration: none;
  11025. color: inherit;
  11026. }
  11027. &-title {
  11028. color: #444a4f;
  11029. }
  11030. &-detail {
  11031. color: #b4b7b9;
  11032. }
  11033. }
  11034. .section-inner {
  11035. position: relative;
  11036. display: flex;
  11037. align-items: flex-start;
  11038. padding: 10px 14px;
  11039. margin: 10px;
  11040. background: var(--background-secondary);
  11041. border-radius: 3px;
  11042. border: 1px solid var(--border);
  11043. box-shadow: var(--elevation-low);
  11044. @include phone {
  11045. margin: 5px;
  11046. }
  11047. &:active {
  11048. box-shadow: none;
  11049. }
  11050. &-title {
  11051. font-weight: 500;
  11052. font-size: 15px;
  11053. line-height: 1.15;
  11054. }
  11055. &-date {
  11056. display: inline;
  11057. color: hsl(0, 0%, 75%);
  11058. &::after {
  11059. content: ' — ';
  11060. color: var(--text-normal);
  11061. }
  11062. &:only-child::after {
  11063. content: '';
  11064. }
  11065. }
  11066. &-detail {
  11067. display: block;
  11068. margin-top: 5px;
  11069. }
  11070. &-icon {
  11071. flex-shrink: 0;
  11072. vertical-align: middle;
  11073. &-holder {
  11074. @include ltr(margin-right, 11px);
  11075. @include rtl(margin-left, 11px);
  11076. margin-top: 1px;
  11077. .nav-pills & {
  11078. @include ltr(margin-right, 7px);
  11079. @include rtl(margin-left, 7px);
  11080. }
  11081. }
  11082. &[data-font] {
  11083. font-size: 16px;
  11084. line-height: 1;
  11085. }
  11086. &.icon {
  11087. fill: currentColor;
  11088. width: 16px;
  11089. height: 16px;
  11090. object-fit: contain;
  11091. object-position: center top;
  11092. }
  11093. }
  11094. em {
  11095. font-style: normal;
  11096. background: hsla(205, 90%, 60%, 0.75);
  11097. }
  11098. }
  11099. .knowledge-base-article {
  11100. &-header {
  11101. text-align: center;
  11102. }
  11103. &-meta {
  11104. display: block;
  11105. text-align: center;
  11106. > * {
  11107. &:first-child {
  11108. text-transform: capitalize;
  11109. }
  11110. &::after {
  11111. content: ' · ';
  11112. }
  11113. &:last-child::after {
  11114. display: none;
  11115. }
  11116. }
  11117. }
  11118. &-body {
  11119. margin-top: 20px;
  11120. background: var(--background-secondary);
  11121. border-radius: 2px;
  11122. padding: 50px 50px 10px;
  11123. border: 1px solid var(--border);
  11124. @include phone {
  11125. padding: 15px 15px 5px;
  11126. }
  11127. }
  11128. &-content {
  11129. margin-bottom: 40px;
  11130. @include phone {
  11131. margin-bottom: 10px;
  11132. }
  11133. }
  11134. &-attachments,
  11135. &-tags,
  11136. &-linked-tickets {
  11137. margin: 0 -30px;
  11138. @include phone {
  11139. margin: 0 -5px;
  11140. }
  11141. }
  11142. .tasks {
  11143. @include bidi-style(margin-left, 7px, margin-right, 0);
  11144. }
  11145. &-tags--container {
  11146. padding: 6px 5px 11px;
  11147. display: flex;
  11148. flex-wrap: wrap;
  11149. .tag {
  11150. margin: 2px;
  11151. display: inline-block;
  11152. background: #0f94d6;
  11153. color: var(--text-inverted);
  11154. border-radius: 999px;
  11155. padding: 2px 12px 1px;
  11156. &:hover {
  11157. background: hsl(200deg, 87%, 34%);
  11158. }
  11159. }
  11160. }
  11161. &-nav {
  11162. display: flex;
  11163. &-link {
  11164. padding: 15px;
  11165. max-width: 50%;
  11166. display: flex;
  11167. align-items: center;
  11168. .knowledge-base-article > & {
  11169. margin-top: -10px;
  11170. }
  11171. .spacer {
  11172. width: 5px;
  11173. }
  11174. .icon {
  11175. flex-shrink: 0;
  11176. fill: currentColor;
  11177. opacity: 1;
  11178. vertical-align: top;
  11179. }
  11180. &--next {
  11181. @include bidi-style(margin-left, auto, margin-right, inherit);
  11182. }
  11183. &-title {
  11184. @extend .u-textTruncate;
  11185. }
  11186. }
  11187. }
  11188. }
  11189. .miller-columns {
  11190. display: flex;
  11191. font-size: 12px;
  11192. border: 1px solid var(--border);
  11193. border-radius: 3px;
  11194. .column {
  11195. list-style: none;
  11196. padding: 0;
  11197. margin: 0;
  11198. flex: 1 1 33%;
  11199. height: 300px;
  11200. overflow: auto;
  11201. -webkit-overflow-scrolling: touch;
  11202. border-right: 1px solid var(--border);
  11203. &:last-child {
  11204. border-right-width: 0;
  11205. }
  11206. &-item {
  11207. display: flex;
  11208. align-items: center;
  11209. padding: 5px 10px;
  11210. cursor: default;
  11211. &:hover {
  11212. background: var(--background-modifier-accent-light);
  11213. }
  11214. &.is-selected {
  11215. background: var(--background-secondary-hover);
  11216. }
  11217. &--has-children {
  11218. @extend %clickable;
  11219. cursor: pointer;
  11220. }
  11221. span {
  11222. @extend .u-textTruncate;
  11223. margin-right: 10px;
  11224. }
  11225. > .icon:first-child,
  11226. [data-font] {
  11227. fill: currentColor;
  11228. margin-right: 8px;
  11229. vertical-align: middle;
  11230. flex-shrink: 0;
  11231. }
  11232. .icon-arrow-right {
  11233. margin-left: auto;
  11234. flex-shrink: 0;
  11235. }
  11236. .btn {
  11237. margin-left: auto;
  11238. }
  11239. }
  11240. }
  11241. }
  11242. .highlight-emulator {
  11243. background-color: highlight;
  11244. }
  11245. .videoWrapper {
  11246. position: relative;
  11247. padding-bottom: 56.25%; /* 16:9 */
  11248. padding-top: 25px;
  11249. height: 0;
  11250. }
  11251. .videoWrapper iframe {
  11252. position: absolute;
  11253. top: 0;
  11254. left: 0;
  11255. width: 100%;
  11256. height: 100%;
  11257. }
  11258. .btn-manage-public-menu-edit {
  11259. margin-top: 0;
  11260. }
  11261. .kb-menu-settings-entry {
  11262. margin-bottom: 12px;
  11263. }
  11264. .text-modules-box {
  11265. max-height: 40vh;
  11266. }
  11267. .sla_times {
  11268. .sla_radio_container {
  11269. padding-top: 0.5em;
  11270. padding-left: 0.5em;
  11271. }
  11272. }
  11273. .calendar-preview {
  11274. .calendar-events {
  11275. margin-top: 12px;
  11276. p {
  11277. margin: 0;
  11278. }
  11279. h2 {
  11280. margin-bottom: 24px;
  11281. }
  11282. h4 {
  11283. margin-bottom: 4px;
  11284. }
  11285. section.description {
  11286. margin: 24px 0 0;
  11287. padding: 4px;
  11288. }
  11289. .event-row {
  11290. display: flex;
  11291. div {
  11292. width: 50%;
  11293. margin-bottom: 4px;
  11294. }
  11295. }
  11296. }
  11297. div.divider {
  11298. margin-top: 18px;
  11299. margin-bottom: 6px;
  11300. border-top: 1px solid #dfdfdf;
  11301. &:last-of-type {
  11302. display: none;
  11303. }
  11304. }
  11305. }
  11306. .reporting {
  11307. .legend > div {
  11308. background: var(--background-secondary) !important;
  11309. }
  11310. .legendColorBox {
  11311. padding-right: 4px;
  11312. }
  11313. }