zammad.scss 244 KB

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