zammad.scss 238 KB

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