zammad.scss 239 KB

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