zammad.scss 216 KB

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