zammad.scss 237 KB

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