zammad.scss 238 KB

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