zammad.scss 243 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089
  1. $high-priority-color: hsl(360, 71%, 60%);
  2. $low-priority-color: hsl(200, 68%, 73%);
  3. $minWidth: 1024px;
  4. $sidebarWidth: 280px;
  5. $desktopSidebarWidth: 360px;
  6. $navigationWidth: 260px;
  7. $mobileNavigationWidth: 50px;
  8. $mobileNavigationWidthOpen: 220px;
  9. :root {
  10. --button-action-color: hsl(0, 0%, 60%);
  11. --button-background: white;
  12. --button-background-active: hsl(0, 0, 98%);
  13. --button-active: hsl(204, 7%, 28%);
  14. --button-active-active: hsla(0, 0%, 0%, 0.55);
  15. --button-primary-text: var(--text-inverted);
  16. --button-primary-background: hsl(203, 65%, 55%);
  17. --button-primary-background-active: hsl(203, 65%, 45%);
  18. --header-primary: hsl(202, 8%, 28%);
  19. --header-secondary: hsl(198, 10%, 69%);
  20. --text-normal: hsl(60, 1%, 34%);
  21. --text-muted: hsl(213, 3%, 64%);
  22. --text-muted-highlight: hsl(205, 90%, 90%);
  23. --text-muted-alt: hsl(197, 16%, 65%);
  24. --text-link: hsl(204, 72%, 50%);
  25. --text-inverted: white;
  26. --text-active: white;
  27. --text-nav: hsl(204, 72%, 50%);
  28. --text-button-primary: var(--button-primary-background);
  29. --text-button-primary-active: var(--button-primary-background-active);
  30. --text-button-secondary: var(--interactive-muted);
  31. --nav-icon: hsl(0, 0%, 50%);
  32. --highlight: hsl(205, 90%, 60%);
  33. --interactive-primary: black;
  34. --interactive-muted: hsl(210, 3%, 71%);
  35. --interactive-muted-active: hsl(210, 4%, 71%);
  36. --interactive-muted-alt: hsl(197, 19%, 78%);
  37. --interactive-muted-alt-selected: hsl(206, 7%, 37%);
  38. --background-primary: hsl(210, 17%, 98%);
  39. --background-primary-alt: hsl(197, 16%, 94%);
  40. --background-secondary: white;
  41. --background-secondary-hover: hsl(239, 4%, 95%);
  42. --background-tertiary: hsl(233, 9%, 19%);
  43. --background-quaternary: hsl(231, 9%, 16%);
  44. --background-quaternary-alt: hsl(228, 17%, 91%);
  45. --background-popover: white;
  46. --background-active: hsl(233, 9%, 19%);
  47. --background-highlight: hsl(200, 100%, 91%);
  48. --background-article-meta: hsl(212, 14%, 99%);
  49. --background-article-customer: hsl(201, 46%, 93%);
  50. --background-article-customer-meta: hsl(201, 43%, 96%);
  51. --background-modifier-accent: hsla(0, 0%, 0%, 0.04);
  52. --background-modifier-accent-light: hsla(0, 0%, 0%, 0.02);
  53. --background-modifier-accent-dark: hsla(0, 0%, 0%, 0.3);
  54. --background-modifier-lighter: hsla(0, 0%, 100%, 0.06);
  55. --background-modifier-border: hsla(0, 0%, 0%, 0.1);
  56. --background-modifier-hover: hsla(240, 3%, 50%, 0.1);
  57. --backdrop-clue-start: hsla(202, 68%, 54%, 0.1);
  58. --backdrop-clue-end: hsla(202, 68%, 54%, 0.9);
  59. --border: hsl(0, 0%, 90%);
  60. --border-alt: hsl(198, 18%, 86%);
  61. --border-highlight: hsl(200, 71%, 59%);
  62. --border-internal: hsl(18, 91%, 89%);
  63. --border-internal-stripe: hsl(18, 94%, 95%);
  64. --border-article-customer: hsl(199, 38%, 90%);
  65. --border-article-customer-selected: hsl(199, 44%, 85%);
  66. --shadow-highlight: hsl(201, 62%, 90%);
  67. --supergood-color: hsl(145, 51%, 45%);
  68. --good-color: hsl(62, 45%, 46%);
  69. --ok-color: hsl(41, 100%, 49%);
  70. --bad-color: hsl(30, 93%, 50%);
  71. --superbad-color: hsl(19, 90%, 51%);
  72. --ghost-color: hsl(0, 0%, 74%);
  73. --danger-color: hsl(0, 65%, 55%);
  74. --pending-color: hsl(206, 7%, 28%);
  75. --elevation-stroke: 0 1px hsl(210, 7%, 94%);
  76. --elevation-low: 0 1px 5px hsla(205, 30%, 30%, 0.1);
  77. --elevation-high: 0 1px 14px hsla(208, 95%, 3%, 0.25);
  78. --highlighter-yellow: hsl(48, 81%, 82%);
  79. --highlighter-green: hsl(105, 54%, 80%);
  80. --highlighter-blue: hsl(207, 92%, 85%);
  81. --highlighter-pink: hsl(338, 90%, 82%);
  82. --highlighter-purple: hsl(288, 62%, 86%);
  83. --file-icon-background: white;
  84. --file-icon-color: hsl(198, 18%, 86%);
  85. --tag-text: hsl(198, 5%, 41%);
  86. --tag-background: hsl(198, 19%, 92%);
  87. --fullscreen-background: var(--background-tertiary);
  88. --fullscreen-text: var(--text-muted);
  89. --fullscreen-text-link: var(--text-inverted);
  90. --fullscreen-text-muted: hsl(233, 7%, 26%);
  91. --fullscreen-drop-shadow: 0 8px 17px 0 rgba(0, 0, 0, 0.2),
  92. 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  93. --menu-text: hsl(0, 0%, 74%);
  94. --menu-text-active: white;
  95. --menu-text-open: white;
  96. --menu-text-closed: white;
  97. --menu-text-escalating: white;
  98. --menu-background-active: var(--button-primary-background);
  99. --menu-icon: hsl(206, 5%, 42%);
  100. --menu-icon-secondary: hsl(0, 0%, 30%);
  101. --menu-icon-secondary-hover-background: var(--text-inverted);
  102. --menu-switch-background: hsl(0, 0%, 5%);
  103. --menu-switch-pointer: var(--background-tertiary);
  104. --menu-switch-pointer-active: var(--menu-text-active);
  105. --menu-background-primary: var(--background-quaternary);
  106. --menu-background-primary-hover: hsla(0, 0%, 0%, 0.3);
  107. --menu-background-secondary: var(--background-tertiary);
  108. --menu-close-tab-background: var(--background-tertiary);
  109. --menu-close-tab-opacity: 0.3;
  110. --menu-border: none;
  111. --menu-border-secondary: none;
  112. }
  113. // dark mode
  114. [data-theme='dark'] {
  115. --button-action-color: hsl(0, 0%, 80%);
  116. --button-background: hsla(0, 0%, 100%, 0.03);
  117. --button-background-active: hsla(0, 0%, 100%, 0.015);
  118. --button-active: hsla(0, 0%, 100%, 0.1);
  119. --button-active-active: hsla(0, 0%, 100%, 0.08);
  120. --header-primary: white;
  121. --header-secondary: hsl(198, 5%, 73%);
  122. --text-normal: hsl(205, 1%, 86%);
  123. --text-muted: hsl(213, 3%, 60%);
  124. --text-muted-alt: hsl(213, 8%, 61%);
  125. --text-link: hsl(202, 72%, 50%);
  126. --text-nav: hsl(205, 1%, 84%);
  127. --nav-icon: hsl(0, 0%, 50%);
  128. --highlight: hsl(205, 90%, 60%);
  129. --interactive-primary: white;
  130. --interactive-muted: hsl(213, 3%, 64%);
  131. --interactive-muted-active: hsl(213, 3%, 35%);
  132. --interactive-muted-alt: hsl(209, 5%, 35%);
  133. --interactive-muted-alt-selected: hsl(205, 4%, 75%);
  134. --background-primary: hsl(230, 5%, 19%);
  135. --background-primary-alt: hsl(230, 5%, 21%);
  136. --background-secondary: hsl(230, 5%, 23%);
  137. --background-secondary-hover: hsl(230, 5%, 20%);
  138. --background-tertiary: hsl(230, 7%, 17%);
  139. --background-quaternary: hsl(230, 7%, 13%);
  140. --background-quaternary-alt: hsl(230, 4%, 30%);
  141. --background-popover: hsl(216, 3%, 30%);
  142. --background-active: var(--highlight);
  143. --background-highlight: hsl(205, 30%, 27%);
  144. --background-article-meta: hsl(230, 7%, 25%);
  145. --background-article-customer: hsl(218, 8%, 32%);
  146. --background-article-customer-meta: hsl(218, 6%, 30%);
  147. --background-modifier-accent: hsla(0, 0%, 0%, 0.12);
  148. --background-modifier-accent-light: hsla(0, 0%, 0%, 0.06);
  149. --background-modifier-accent-dark: hsla(0, 0%, 0%, 0.3);
  150. --background-modifier-lighter: hsla(0, 0%, 100%, 0.08);
  151. --background-modifier-border: hsla(0, 0%, 0%, 0.17);
  152. --background-modifier-hover: hsla(230, 5%, 36%, 0.4);
  153. --backdrop-clue-start: hsla(202, 68%, 54%, 0.1);
  154. --backdrop-clue-end: hsla(202, 68%, 54%, 0.9);
  155. --border: hsl(230, 4%, 17%);
  156. --border-alt: hsl(230, 7%, 18%);
  157. --border-highlight: hsl(205, 70%, 50%);
  158. --border-internal: hsl(18, 30%, 39%);
  159. --border-internal-stripe: hsl(18, 30%, 30%);
  160. --border-article-customer: hsl(209, 6%, 30%);
  161. --border-article-customer-selected: hsl(199, 10%, 33%);
  162. --shadow-highlight: hsl(205, 42%, 36%);
  163. --supergood-color: hsl(145, 51%, 45%);
  164. --good-color: hsl(62, 45%, 46%);
  165. --ok-color: hsl(41, 100%, 49%);
  166. --bad-color: hsl(30, 93%, 50%);
  167. --superbad-color: hsl(19, 90%, 51%);
  168. --ghost-color: hsl(0, 0%, 50%);
  169. --danger-color: hsl(0, 82%, 59%);
  170. --pending-color: hsl(205, 1%, 44%);
  171. --elevation-stroke: 0 1px hsla(0, 0%, 0%, 0.13);
  172. --elevation-low: 0 1px 5px hsla(0, 0%, 0%, 0.15);
  173. --elevation-high: 0 1px 14px hsla(0, 0%, 0%, 0.25);
  174. --highlighter-yellow: hsl(48, 34%, 30%);
  175. --highlighter-green: hsl(105, 34%, 27%);
  176. --highlighter-blue: hsl(207, 41%, 30%);
  177. --highlighter-pink: hsl(338, 28%, 30%);
  178. --highlighter-purple: hsl(288, 22%, 36%);
  179. --file-icon-background: hsl(216, 5%, 77%);
  180. --file-icon-color: hsl(230, 7%, 21%);
  181. --tag-text: var(--text-normal);
  182. --tag-background: hsl(230, 5%, 32%);
  183. }
  184. @mixin dark {
  185. [data-theme='dark'] & {
  186. @content;
  187. }
  188. }
  189. @mixin desktop {
  190. @media screen and (min-width: 1260px) {
  191. @content;
  192. }
  193. }
  194. @mixin small-desktop {
  195. @media screen and (max-width: 1260px) {
  196. @content;
  197. }
  198. }
  199. @mixin tablet {
  200. @media screen and (min-width: 768px) {
  201. @content;
  202. }
  203. }
  204. @mixin phone {
  205. #app.navigation-collapsed & {
  206. @content;
  207. }
  208. @media screen and (max-width: 767px) {
  209. @content;
  210. }
  211. }
  212. /* sets LTR and RTL within the same style call */
  213. @mixin bidi-style($prop, $value, $inverse-prop, $default-value) {
  214. #{$prop}: $value;
  215. html[dir='rtl'] & {
  216. #{$inverse-prop}: $value;
  217. #{$prop}: $default-value;
  218. }
  219. }
  220. /* adds a property only in RTL */
  221. @mixin rtl($prop, $value) {
  222. html[dir='rtl'] & {
  223. #{$prop}: $value;
  224. }
  225. }
  226. /* adds a property only in LTR */
  227. @mixin ltr($prop, $value) {
  228. html[dir='ltr'] & {
  229. #{$prop}: $value;
  230. }
  231. }
  232. %clickable {
  233. cursor: pointer;
  234. user-select: none;
  235. touch-action: manipulation;
  236. }
  237. html {
  238. height: 100%;
  239. }
  240. body {
  241. font-family: 'Fira Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  242. font-weight: normal;
  243. font-variant-ligatures: none;
  244. line-height: 1.45;
  245. background: var(--background-primary);
  246. height: 100%;
  247. color: var(--text-normal);
  248. word-wrap: break-word;
  249. overflow-wrap: break-word;
  250. display: flex;
  251. flex-direction: column;
  252. }
  253. /* prevent clickable <use xlink:href="#icon-abc"></use> */
  254. use {
  255. pointer-events: none;
  256. }
  257. p {
  258. margin: 12px 0;
  259. &.subtle {
  260. color: var(--text-muted);
  261. }
  262. &.description {
  263. color: var(--text-muted);
  264. }
  265. }
  266. h3 + .description {
  267. margin-top: 0;
  268. }
  269. strong {
  270. font-weight: 500;
  271. }
  272. hr {
  273. border-top-color: var(--background-modifier-border);
  274. }
  275. .inherit-color {
  276. color: inherit;
  277. }
  278. .text-muted {
  279. color: var(--text-muted);
  280. }
  281. .text-placeholder {
  282. color: var(--interactive-muted);
  283. }
  284. .text-small {
  285. font-size: 12px;
  286. }
  287. .u-highlight {
  288. color: var(--text-link);
  289. }
  290. .u-dontfold {
  291. flex-shrink: 0;
  292. }
  293. .u-invisible {
  294. opacity: 0;
  295. pointer-events: none;
  296. position: absolute !important;
  297. }
  298. [data-dir='ltr'] {
  299. direction: ltr;
  300. }
  301. [data-dir='rtl'] {
  302. direction: rtl;
  303. }
  304. a {
  305. outline: none !important;
  306. @extend .u-highlight;
  307. &.is-disabled,
  308. &[disabled] {
  309. pointer-events: none;
  310. cursor: not-allowed !important;
  311. opacity: 0.33;
  312. }
  313. }
  314. a.create {
  315. color: hsl(145, 51%, 45%);
  316. text-decoration: underline;
  317. }
  318. small {
  319. color: var(--text-muted);
  320. font-size: 12px;
  321. }
  322. blockquote {
  323. font-size: inherit;
  324. }
  325. ol,
  326. ul {
  327. padding-inline-start: 20px;
  328. }
  329. #app {
  330. display: flex;
  331. flex: 1;
  332. min-width: $minWidth;
  333. overflow: auto;
  334. -webkit-overflow-scrolling: touch;
  335. @include phone {
  336. min-width: auto;
  337. position: absolute;
  338. left: 0;
  339. top: 0;
  340. width: 100%;
  341. height: 100%;
  342. }
  343. }
  344. .u-unclickable {
  345. pointer-events: none;
  346. }
  347. .u-clickable {
  348. @extend %clickable;
  349. }
  350. .u-unselectable {
  351. pointer-events: none;
  352. user-select: none;
  353. }
  354. .u-no-userselect {
  355. user-select: none;
  356. }
  357. .u-textTruncate {
  358. white-space: nowrap;
  359. overflow: hidden;
  360. text-overflow: ellipsis;
  361. }
  362. .u-positionOrigin {
  363. position: relative;
  364. }
  365. .u-inlineBlock {
  366. display: inline-block;
  367. }
  368. .u-inlinePad {
  369. margin: 0 5px;
  370. }
  371. .u-notAllowed {
  372. cursor: not-allowed;
  373. }
  374. .u-overflow-wrap {
  375. word-break: break-word;
  376. @supports (overflow-wrap: anywhere) {
  377. overflow-wrap: anywhere;
  378. word-break: unset;
  379. }
  380. }
  381. .u-breakNormal.u-breakNormal {
  382. word-break: normal;
  383. @supports (overflow-wrap: normal) {
  384. overflow-wrap: normal;
  385. }
  386. }
  387. .u-breakWords.u-breakWords {
  388. word-break: break-word;
  389. @supports (overflow-wrap: break-word) {
  390. overflow-wrap: break-word;
  391. word-break: unset;
  392. }
  393. }
  394. .zIndex-1 {
  395. z-index: 100;
  396. }
  397. .zIndex-2 {
  398. z-index: 200;
  399. }
  400. .zIndex-3 {
  401. z-index: 300;
  402. }
  403. .zIndex-4 {
  404. z-index: 400;
  405. }
  406. .zIndex-5 {
  407. z-index: 500;
  408. }
  409. .zIndex-6 {
  410. z-index: 600;
  411. }
  412. .zIndex-7 {
  413. z-index: 700;
  414. }
  415. .zIndex-8 {
  416. z-index: 800;
  417. }
  418. .zIndex-9 {
  419. z-index: 900;
  420. }
  421. .zIndex-10 {
  422. z-index: 1000;
  423. }
  424. .zIndex-11 {
  425. z-index: 1100;
  426. }
  427. .zIndex-12 {
  428. z-index: 1200;
  429. }
  430. .clickCatcher {
  431. top: 0;
  432. left: 0;
  433. width: 100%;
  434. height: 100%;
  435. position: absolute;
  436. cursor: default;
  437. }
  438. .debug .clickCatcher {
  439. background: hsla(0, 100%, 50%, 0.13);
  440. }
  441. .debug .clickCatcher + .clickCatcher {
  442. background: hsla(50, 100%, 50%, 0.13);
  443. }
  444. .clearfix::after {
  445. visibility: hidden;
  446. display: block;
  447. font-size: 0;
  448. content: ' ';
  449. clear: both;
  450. height: 0;
  451. }
  452. .clearfix {
  453. display: inline-block;
  454. }
  455. /* start commented backslash hack \ */
  456. * html .clearfix {
  457. height: 1%;
  458. }
  459. .clearfix {
  460. display: block;
  461. }
  462. /* close commented backslash hack */
  463. /* Avoid too broad selectors, since they can affect unintended elements in third-party extensions (#5073). */
  464. [contenteditable='true'],
  465. .richtext-content[contenteditable] {
  466. display: block;
  467. outline-style: none;
  468. border-radius: 3px;
  469. /* needed to make empty tags editable, otherwise no focus can be set */
  470. min-height: 10px;
  471. min-width: 20px;
  472. &:hover,
  473. &:focus {
  474. background: var(--background-primary);
  475. }
  476. &:focus {
  477. text-overflow: clip !important;
  478. }
  479. &.invalid {
  480. background: #f92;
  481. }
  482. & > .placeholder {
  483. color: var(--text-muted);
  484. }
  485. p {
  486. margin: 0;
  487. }
  488. }
  489. /* fix for placeholder */
  490. .Medium-placeholder {
  491. position: relative;
  492. }
  493. .close,
  494. .close:hover {
  495. float: none;
  496. opacity: 1;
  497. }
  498. #app > nav {
  499. position: relative;
  500. z-index: 1;
  501. }
  502. code {
  503. background: var(--background-modifier-accent);
  504. border-radius: 3px;
  505. box-decoration-break: clone;
  506. }
  507. code,
  508. .hljs {
  509. padding: 2px 4px;
  510. font-size: 0.88em;
  511. }
  512. .hljs {
  513. background: none;
  514. @include dark {
  515. filter: invert(1);
  516. }
  517. }
  518. pre code.hljs {
  519. font-size: 1em;
  520. }
  521. pre {
  522. display: block;
  523. padding: 9.5px;
  524. margin: 0 0 20px;
  525. font-size: 13px;
  526. line-height: 1.42857143;
  527. word-break: break-all;
  528. word-wrap: break-word;
  529. background: var(--background-secondary);
  530. border: 1px solid var(--border);
  531. border-radius: 3px;
  532. }
  533. .modal-content pre {
  534. background: var(--background-modifier-accent);
  535. border-color: var(--background-modifier-border);
  536. }
  537. pre code {
  538. padding: 0;
  539. font-size: inherit;
  540. color: inherit;
  541. white-space: pre-wrap;
  542. background: none;
  543. border-radius: 0;
  544. border: none;
  545. overflow-x: auto;
  546. &.hljs {
  547. padding: 0;
  548. background: none;
  549. }
  550. }
  551. .textarea::placeholder,
  552. .form-control::placeholder,
  553. .token-input::placeholder,
  554. .u-placeholder {
  555. color: var(--ghost-color);
  556. }
  557. .btn {
  558. display: inline-block;
  559. font-size: 14px;
  560. padding: 10px 24px 9px;
  561. color: var(--text-normal);
  562. background: var(--button-background);
  563. border: 1px solid var(--border);
  564. outline: none !important;
  565. border-radius: 4px;
  566. text-align: center;
  567. white-space: nowrap;
  568. vertical-align: middle;
  569. text-decoration: none;
  570. @extend %clickable;
  571. @include phone {
  572. padding-left: 12px;
  573. padding-right: 12px;
  574. }
  575. .icon {
  576. vertical-align: middle;
  577. margin-top: -2px;
  578. @include bidi-style(margin-right, 5px, margin-right, -2px);
  579. @include bidi-style(margin-left, -2px, margin-right, 5px);
  580. flex-shrink: 0;
  581. &.icon-arrow-up {
  582. margin-top: -3px;
  583. }
  584. }
  585. span {
  586. min-width: 0;
  587. overflow: hidden;
  588. text-overflow: ellipsis;
  589. display: block;
  590. }
  591. &--only-icon .icon,
  592. &--icon-only .icon {
  593. margin-left: 0 !important;
  594. margin-right: 0 !important;
  595. }
  596. &--icon--last .icon {
  597. @include bidi-style(
  598. margin-left,
  599. 5px,
  600. margin-right,
  601. 0
  602. ); // so far only used in ticket_zoom secondaryAction dropup
  603. }
  604. &:focus {
  605. box-shadow: 0 0 0 3px var(--shadow-highlight);
  606. }
  607. &--small {
  608. padding-top: 5px;
  609. padding-bottom: 4px;
  610. &.btn--quad {
  611. padding: 4px 5px;
  612. }
  613. }
  614. &--slim {
  615. padding-left: 12px;
  616. padding-right: 12px;
  617. }
  618. &--fullWidth {
  619. width: 100%;
  620. text-align: center;
  621. justify-content: center;
  622. }
  623. &.is-disabled,
  624. &[disabled],
  625. &:disabled {
  626. pointer-events: none;
  627. cursor: not-allowed;
  628. opacity: 0.33;
  629. }
  630. &:active {
  631. box-shadow: none;
  632. background: var(--button-background-active);
  633. }
  634. &--capitalized {
  635. text-transform: capitalize;
  636. }
  637. &--action {
  638. text-transform: uppercase;
  639. color: var(--button-action-color);
  640. font-size: 12px;
  641. letter-spacing: 0.05em;
  642. height: 31px;
  643. padding: 0 11px !important;
  644. display: inline-flex;
  645. align-items: center;
  646. min-width: 0;
  647. .icon {
  648. @include ltr(margin, -2px 5px 0 -2px);
  649. @include rtl(margin, -2px -2px 0 5px);
  650. }
  651. .icon:only-child {
  652. margin: 0 !important;
  653. }
  654. &.btn--slim {
  655. padding-left: 7px !important;
  656. padding-right: 7px !important;
  657. .btn-label {
  658. @include bidi-style(margin-left, 0, margin-right, 0);
  659. }
  660. &.btn--small {
  661. padding-left: 5px !important;
  662. padding-right: 5px !important;
  663. }
  664. }
  665. &.btn--small {
  666. height: 26px;
  667. font-size: 11px;
  668. padding-left: 8px !important;
  669. padding-right: 8px !important;
  670. }
  671. }
  672. &-active-icon {
  673. display: none;
  674. }
  675. &--active {
  676. background: var(--button-active);
  677. color: var(--text-inverted);
  678. &:active {
  679. background: var(--button-active-active);
  680. }
  681. .btn-inactive-icon {
  682. display: none;
  683. }
  684. .btn-active-icon {
  685. display: inline;
  686. }
  687. }
  688. // used in .recipientList-controls
  689. &--onDark {
  690. background: var(--background-modifier-lighter);
  691. border-color: var(--background-modifier-accent-dark);
  692. color: var(--text-inverted);
  693. .icon {
  694. opacity: 1;
  695. }
  696. }
  697. &--primary {
  698. color: var(--button-primary-text);
  699. background: var(--button-primary-background);
  700. &:active {
  701. background: var(--button-primary-background-active);
  702. }
  703. .icon {
  704. opacity: 1;
  705. fill: currentColor;
  706. }
  707. }
  708. &--secondary {
  709. color: var(--button-primary-background);
  710. }
  711. &--positive,
  712. &--create,
  713. &--success {
  714. color: var(--text-inverted);
  715. background: hsl(145, 51%, 45%);
  716. &:active {
  717. background: hsl(145, 51%, 35%);
  718. }
  719. &.btn--secondary {
  720. background: var(--background-secondary);
  721. color: hsl(145, 51%, 45%);
  722. &:active {
  723. background: var(--button-background-active);
  724. }
  725. }
  726. &.btn--text {
  727. color: var(--supergood-color);
  728. }
  729. }
  730. &--danger {
  731. color: var(--text-inverted);
  732. background: var(--danger-color);
  733. &:active {
  734. background: linear-gradient(hsla(0, 0%, 0%, 0.1), hsla(0, 0%, 0%, 0.1)),
  735. linear-gradient(var(--danger-color), var(--danger-color));
  736. }
  737. &.btn--secondary {
  738. background: var(--background-secondary);
  739. color: var(--danger-color);
  740. &:active {
  741. background: var(--button-background-active);
  742. }
  743. }
  744. }
  745. &--text {
  746. display: inline-flex;
  747. align-items: center;
  748. font-size: inherit;
  749. margin: -10px;
  750. padding: 10px;
  751. color: var(--text-button-primary);
  752. border: none;
  753. background: none;
  754. vertical-align: baseline;
  755. text-align: start;
  756. .table & {
  757. margin: 0;
  758. min-height: 38px;
  759. }
  760. &.no-padding {
  761. padding: 0;
  762. margin: 0;
  763. min-height: auto;
  764. }
  765. .icon {
  766. opacity: 1;
  767. @include bidi-style(margin-left, -2px, margin-right, 6px);
  768. @include bidi-style(margin-right, 6px, margin-right, -2px);
  769. width: 16px;
  770. max-height: 16px;
  771. object-fit: contain;
  772. }
  773. &.btn--icon--last .icon {
  774. @include bidi-style(margin-left, 6px, margin-right, -2px);
  775. @include bidi-style(margin-right, -2px, margin-right, 6px);
  776. }
  777. &:active {
  778. color: var(--text-button-primary-active);
  779. background: none;
  780. }
  781. &.btn--secondary {
  782. color: var(--text-button-secondary);
  783. text-decoration: underline;
  784. &:active {
  785. opacity: 0.75;
  786. }
  787. }
  788. &.btn--positive {
  789. color: hsl(145, 51%, 45%);
  790. &:active {
  791. color: hsl(145, 51%, 30%);
  792. background: none;
  793. }
  794. }
  795. &.btn--danger {
  796. color: var(--danger-color);
  797. &:active {
  798. color: hsl(0, 65%, 40%);
  799. background: none;
  800. }
  801. }
  802. &.btn--subtle {
  803. text-decoration: underline;
  804. color: var(--text-button-secondary);
  805. &:active {
  806. opacity: 0.75;
  807. }
  808. }
  809. &.space-left {
  810. @include bidi-style(margin-left, 0, margin-right, -10px);
  811. }
  812. &.space-right {
  813. @include bidi-style(margin-right, 0, margin-left, -10px);
  814. }
  815. }
  816. &--large {
  817. &.btn--text {
  818. margin: 0;
  819. }
  820. }
  821. &--quad {
  822. padding: 10px 12px 9px;
  823. .icon {
  824. margin: -1px;
  825. }
  826. }
  827. &--split--first {
  828. @include bidi-style(border-radius, 3px 0 0 3px, border-radius, 0 3px 3px 0);
  829. }
  830. &--split,
  831. &--split--last {
  832. border-radius: 0;
  833. @include bidi-style(border-left-width, 0, border-right-width, 1px);
  834. @include ltr(margin-left, 0 !important);
  835. @include rtl(margin-right, 0 !important);
  836. .icon {
  837. margin-left: 2px !important;
  838. margin-right: 2px !important;
  839. }
  840. }
  841. &--split--last {
  842. @include bidi-style(border-radius, 0 3px 3px 0, border-radius, 3px 0 0 3px);
  843. }
  844. &--dropdown {
  845. position: relative;
  846. select {
  847. opacity: 0;
  848. width: 100%;
  849. height: 100%;
  850. left: 0;
  851. top: 0;
  852. position: absolute;
  853. @extend %clickable;
  854. }
  855. }
  856. }
  857. .btn + .btn:not(.btn--no-margin),
  858. .btn + .buttonDropdown,
  859. .buttonDropdown + .buttonDropdown {
  860. @include bidi-style(margin-left, 10px, margin-right, 0);
  861. }
  862. .btn + .btn.align-right {
  863. @include bidi-style(margin-left, auto, margin-right, 0);
  864. }
  865. .btn.align-right ~ .btn {
  866. @include bidi-style(margin-left, 15px, margin-right, 0);
  867. }
  868. .vertical > .btn:not(.hidden) + .btn {
  869. @include bidi-style(margin-left, 0, margin-right, 0);
  870. margin-top: 10px;
  871. &--text {
  872. @include bidi-style(margin-left, -10px, margin-right, -10px);
  873. margin-top: 0;
  874. }
  875. }
  876. .btn--download .icon-download {
  877. margin-right: 6px;
  878. @include rtl(margin-right, -10px);
  879. margin-top: 4px;
  880. margin-left: -10px;
  881. @include rtl(margin-left, 6px);
  882. vertical-align: top;
  883. fill: var(--text-inverted);
  884. }
  885. .btn-label {
  886. @include bidi-style(margin-left, 7px, margin-right, 0);
  887. }
  888. .btn-show-all {
  889. &[aria-expanded='false'] [data-show='collapsed'],
  890. &[aria-expanded='true'] [data-show='open'] {
  891. display: none;
  892. }
  893. .icon {
  894. margin-left: 0;
  895. margin-right: 0;
  896. }
  897. }
  898. .visibility-change {
  899. /*
  900. Interactive Visibility Change Classes:
  901. <div class="visibility-change">
  902. <svg class="icon-marker" data-visible="active"><use xlink:href="#icon-marker" /></svg>
  903. </div>
  904. Important: HTML Order active > hover > normal
  905. */
  906. [data-visible='active'],
  907. [data-visible='hover'] {
  908. display: none;
  909. }
  910. &.is-active [data-visible='active'] {
  911. display: block;
  912. & ~ [data-visible='normal'] {
  913. display: none;
  914. }
  915. }
  916. &:hover [data-visible='hover'] {
  917. display: block;
  918. & ~ [data-visible='normal'] {
  919. display: none;
  920. }
  921. }
  922. }
  923. .btn-group {
  924. display: inline-flex;
  925. flex-wrap: wrap;
  926. &--full {
  927. display: flex;
  928. }
  929. & + .btn-group {
  930. margin-top: 10px;
  931. padding-top: 10px;
  932. border-top: 1px solid var(--border);
  933. }
  934. .btn {
  935. &:not(:first-child) {
  936. border-top-left-radius: 0;
  937. border-bottom-left-radius: 0;
  938. }
  939. &:not(:last-child) {
  940. border-top-right-radius: 0;
  941. border-bottom-right-radius: 0;
  942. border-right-width: 0;
  943. }
  944. + .btn {
  945. @include bidi-style(margin-left, 0, margin-right, 10px);
  946. }
  947. }
  948. .btn--text {
  949. padding: 6px 10px 5px; /* reporting main.eco */
  950. display: inline-block;
  951. border-radius: 3px;
  952. &.is-selected {
  953. background: var(--button-primary-background);
  954. color: var(--text-inverted);
  955. }
  956. }
  957. }
  958. .buttonDropdown {
  959. display: flex;
  960. align-items: center;
  961. position: relative;
  962. user-select: none;
  963. .dropdown-menu {
  964. margin-bottom: 0;
  965. }
  966. &.is-open .dropdown-menu {
  967. display: block;
  968. }
  969. .btn--text {
  970. padding-left: 13px;
  971. padding-right: 13px;
  972. }
  973. .dropdown-menu-accessories {
  974. cursor: pointer;
  975. &:focus {
  976. outline: none;
  977. .dropdown-menu {
  978. display: block;
  979. }
  980. .btn--split--last {
  981. box-shadow: 0 0 0 3px var(--shadow-highlight);
  982. pointer-events: initial;
  983. }
  984. }
  985. .btn--split--last {
  986. pointer-events: none;
  987. &:focus {
  988. box-shadow: none;
  989. pointer-events: none;
  990. }
  991. &:active {
  992. background-color: #429ed7;
  993. }
  994. }
  995. }
  996. }
  997. .dropdown-menu-right {
  998. @include rtl(right, auto);
  999. @include rtl(left, 0);
  1000. }
  1001. .dropdown-menu-left {
  1002. @include rtl(left, auto);
  1003. @include rtl(right, 0);
  1004. }
  1005. .status-fields {
  1006. display: flex;
  1007. max-width: 100%;
  1008. @include phone {
  1009. display: block;
  1010. }
  1011. .dropdown li {
  1012. display: flex;
  1013. align-items: center;
  1014. padding: 0 10px;
  1015. }
  1016. .dropdown-menu .status-badge {
  1017. margin-left: 10px;
  1018. }
  1019. .dropdown-menu .badge {
  1020. margin-top: -2px;
  1021. margin-right: 7px;
  1022. background: hsla(0, 0%, 0%, 0.5);
  1023. }
  1024. }
  1025. .status-field {
  1026. border: 1px solid var(--border);
  1027. background: var(--button-background);
  1028. display: flex;
  1029. height: 34px;
  1030. flex-shrink: 1;
  1031. min-width: 20px;
  1032. padding: 5px 0;
  1033. align-items: center;
  1034. white-space: nowrap;
  1035. text-overflow: ellipsis;
  1036. overflow: hidden;
  1037. @include phone {
  1038. border-bottom-width: 0;
  1039. }
  1040. &.is-active {
  1041. background: var(--button-primary-background);
  1042. color: var(--text-inverted);
  1043. border-color: var(--button-primary-background-active);
  1044. box-shadow: 1px 0 var(--button-primary-background-active);
  1045. position: relative;
  1046. @extend %clickable;
  1047. .icon {
  1048. fill: currentColor;
  1049. opacity: 1;
  1050. }
  1051. }
  1052. &:not(:last-child, :only-child) {
  1053. @include bidi-style(border-right-width, 0, border-left-width, 1px);
  1054. @include phone {
  1055. border-right-width: 1px !important;
  1056. }
  1057. }
  1058. &:first-child {
  1059. border-radius: 5px 0 0 5px;
  1060. @include rtl(border-radius, 0 5px 5px 0);
  1061. @include phone {
  1062. border-radius: 5px 5px 0 0 !important;
  1063. .dropdown & {
  1064. flex: 1;
  1065. border-top-right-radius: 0 !important;
  1066. border-right-width: 0 !important;
  1067. }
  1068. }
  1069. .dropdown.open & {
  1070. border-radius: 5px 0 0;
  1071. @include rtl(border-radius, 0 5px 0 0);
  1072. @include phone {
  1073. border-radius: 5px 0 0 !important;
  1074. }
  1075. }
  1076. }
  1077. &:last-child {
  1078. border-radius: 0 5px 5px 0;
  1079. @include rtl(border-radius, 5px 0 0 5px);
  1080. @include phone {
  1081. border-radius: 0 0 5px 5px !important;
  1082. border-bottom-width: 1px;
  1083. }
  1084. }
  1085. &:only-child {
  1086. border-radius: 5px;
  1087. @include phone {
  1088. border-radius: 5px !important;
  1089. }
  1090. }
  1091. .badge {
  1092. @include bidi-style(margin, 0 7px 0 10px, margin, 0 10px 0 7px);
  1093. background: hsla(210, 50%, 10%, 0.24);
  1094. }
  1095. .status-badge {
  1096. width: 32px;
  1097. display: inline-flex;
  1098. align-items: center;
  1099. justify-content: center;
  1100. align-self: stretch;
  1101. }
  1102. &--arrow {
  1103. @extend %clickable;
  1104. border-left: none;
  1105. width: 34px;
  1106. justify-content: center;
  1107. @include phone {
  1108. border-top-right-radius: 5px !important;
  1109. }
  1110. }
  1111. &--spacer {
  1112. padding-left: 16px;
  1113. padding-right: 2px;
  1114. }
  1115. }
  1116. .status-badge {
  1117. display: inline-block;
  1118. }
  1119. .info-badge {
  1120. fill: currentColor;
  1121. padding: 3px 6px 1px;
  1122. line-height: 12px;
  1123. opacity: 0.5;
  1124. position: relative;
  1125. /*
  1126. border in its own layer to make it more
  1127. translucend but still depend on the currentColor
  1128. */
  1129. &::after {
  1130. content: '';
  1131. position: absolute;
  1132. width: 100%;
  1133. height: 100%;
  1134. left: 0;
  1135. top: 0;
  1136. border: 1px solid currentColor;
  1137. opacity: 0.5;
  1138. border-radius: 100%;
  1139. }
  1140. }
  1141. @keyframes pulsate {
  1142. to {
  1143. filter: brightness(1.2);
  1144. }
  1145. }
  1146. .badge {
  1147. display: inline-block;
  1148. min-width: 18px;
  1149. padding: 3px 5px;
  1150. font-size: 12px;
  1151. font-weight: 500;
  1152. line-height: 1;
  1153. color: var(--text-inverted);
  1154. text-align: center;
  1155. white-space: nowrap;
  1156. vertical-align: top;
  1157. border-radius: 9px;
  1158. background: var(--border-alt);
  1159. @include bidi-style(margin-right, 3px, margin-left, 0);
  1160. flex-shrink: 0;
  1161. &:empty {
  1162. display: none;
  1163. }
  1164. &.badge--big {
  1165. min-width: 22px;
  1166. font-size: 14px;
  1167. border-radius: 11px;
  1168. padding: 5px 7px 3px;
  1169. }
  1170. &.badge--text {
  1171. min-width: 0;
  1172. padding: 0;
  1173. margin-right: 0;
  1174. @include bidi-style(margin-right, 0, margin-left, 0);
  1175. font-size: inherit;
  1176. font-weight: inherit;
  1177. text-align: inherit;
  1178. line-height: inherit;
  1179. color: var(--text-muted);
  1180. background: none;
  1181. border-radius: 0;
  1182. vertical-align: baseline;
  1183. }
  1184. &.badge--primary {
  1185. background: var(--highlight);
  1186. }
  1187. }
  1188. .key-value {
  1189. td:first-child {
  1190. @include bidi-style(padding-right, 10px, padding-left, 0);
  1191. color: var(--text-muted);
  1192. }
  1193. }
  1194. table {
  1195. table-layout: fixed;
  1196. }
  1197. .scroll-table-container {
  1198. overflow: hidden;
  1199. overflow-y: scroll;
  1200. max-height: 244px;
  1201. table > thead > tr > th {
  1202. @extend .zIndex-2;
  1203. top: 0;
  1204. position: sticky;
  1205. }
  1206. }
  1207. .table {
  1208. display: table;
  1209. small {
  1210. color: inherit;
  1211. }
  1212. &-icon {
  1213. max-width: 20px;
  1214. max-height: 20px;
  1215. object-fit: contain;
  1216. vertical-align: middle;
  1217. fill: hsla(0, 0%, 0%, 0.3);
  1218. }
  1219. &-buttons {
  1220. padding-top: 0 !important;
  1221. padding-bottom: 0 !important;
  1222. height: 38px;
  1223. display: flex;
  1224. align-items: center;
  1225. justify-content: flex-end;
  1226. text-align: right;
  1227. }
  1228. }
  1229. .table--light {
  1230. color: var(--text-muted);
  1231. }
  1232. .table-fluid {
  1233. table-layout: auto;
  1234. }
  1235. .table .table-row {
  1236. display: table-row;
  1237. }
  1238. .table.table--placeholder {
  1239. th {
  1240. text-align: center;
  1241. }
  1242. td {
  1243. height: 40px;
  1244. }
  1245. > thead > tr > th {
  1246. background: var(--background-modifier-accent);
  1247. }
  1248. }
  1249. .table th:not(.noTruncate) .table-column-title,
  1250. .table td:not(.noTruncate) {
  1251. @extend .u-textTruncate;
  1252. }
  1253. .table > thead > tr > th {
  1254. padding: 12px 9px 10px;
  1255. border-bottom: none;
  1256. border-top: 1px solid #ececec;
  1257. background: var(--background-primary-alt);
  1258. color: var(--text-normal);
  1259. font-weight: normal;
  1260. font-size: 12px;
  1261. text-transform: uppercase;
  1262. letter-spacing: 0.05em;
  1263. position: relative;
  1264. user-select: none;
  1265. }
  1266. .table-column-head {
  1267. display: flex;
  1268. @extend %clickable;
  1269. &-unclickable {
  1270. cursor: default;
  1271. }
  1272. }
  1273. .table-column-sortIcon {
  1274. @include bidi-style(margin-left, auto, margin-right, 0);
  1275. }
  1276. th.align-right {
  1277. .table-column-title {
  1278. @include bidi-style(margin-left, auto, margin-right, 0);
  1279. }
  1280. .table-column-sortIcon {
  1281. @include bidi-style(margin-left, 0, margin-right, 0);
  1282. }
  1283. }
  1284. td.align-right {
  1285. @include bidi-style(text-align, right, text-align, left);
  1286. }
  1287. .table-striped > tbody > tr:nth-child(2n + 1) {
  1288. background-color: var(--background-secondary);
  1289. }
  1290. .table > tbody > tr > td {
  1291. padding: 10px 10px 8px;
  1292. border-color: var(--background-modifier-accent);
  1293. &.no-side-padding {
  1294. padding-left: 0;
  1295. padding-right: 0;
  1296. text-align: center;
  1297. }
  1298. }
  1299. .table.table--no-borders > tbody > tr:not(:first-child) > td {
  1300. border-color: transparent;
  1301. }
  1302. .table > tbody > tr.u-center > td {
  1303. vertical-align: middle;
  1304. }
  1305. .table-hover > tbody > tr:hover,
  1306. .table-hover > tbody > tr.is-hover {
  1307. background: var(--background-secondary);
  1308. }
  1309. .table-hover-in-modal > tbody > tr:hover > td {
  1310. background-color: var(--background-primary);
  1311. }
  1312. .table-hover > tbody > tr:hover > th {
  1313. background: rgba(0, 8, 14, 0.015);
  1314. }
  1315. .table-col-resize {
  1316. position: absolute;
  1317. @include bidi-style(right, 0, left, auto);
  1318. top: 0;
  1319. height: 100%;
  1320. cursor: col-resize;
  1321. padding: 10px;
  1322. @include bidi-style(margin-right, -10px, margin-left, 0);
  1323. z-index: 1;
  1324. &::after {
  1325. content: '';
  1326. display: block;
  1327. width: 1px;
  1328. height: 100%;
  1329. background: var(--border);
  1330. }
  1331. }
  1332. .table > thead:first-child > tr:first-child > th.no-padding,
  1333. .table > thead > tr > th.no-padding,
  1334. .table > tbody > tr > td.no-padding {
  1335. padding: 0;
  1336. }
  1337. .table tr.is-inactive,
  1338. .table tr td span.is-inactive {
  1339. color: var(--text-muted);
  1340. text-decoration: line-through;
  1341. a {
  1342. color: inherit;
  1343. }
  1344. }
  1345. .table tr.is-grayed-out {
  1346. color: var(--text-muted);
  1347. .icon:not(.u-highlight),
  1348. .btn span {
  1349. opacity: 0.33;
  1350. }
  1351. .avatar {
  1352. opacity: 0.5;
  1353. }
  1354. .avatar--unique {
  1355. background: var(--background-secondary-hover);
  1356. text-shadow: none;
  1357. opacity: initial;
  1358. }
  1359. }
  1360. td .icon {
  1361. vertical-align: middle;
  1362. margin-top: -3px;
  1363. }
  1364. td .icon-draggable,
  1365. td .icon-trash {
  1366. vertical-align: middle;
  1367. }
  1368. td .prefix-icon > .icon {
  1369. vertical-align: top;
  1370. }
  1371. td .icon-cog {
  1372. width: 16px;
  1373. }
  1374. .table-checkbox,
  1375. .table-radio {
  1376. padding: 0 !important;
  1377. .icon {
  1378. margin-top: 0;
  1379. }
  1380. }
  1381. .table .table-sort-arrow {
  1382. opacity: 1;
  1383. width: 8px;
  1384. height: 8px;
  1385. @include bidi-style(margin-left, 3px, margin-right, 0);
  1386. margin-top: -2px;
  1387. vertical-align: middle;
  1388. }
  1389. .item {
  1390. &--high-priority {
  1391. a {
  1392. color: $high-priority-color;
  1393. }
  1394. }
  1395. &--low-priority {
  1396. a {
  1397. color: $low-priority-color;
  1398. }
  1399. }
  1400. }
  1401. .checkbox-list {
  1402. list-style: none;
  1403. margin-bottom: 15px;
  1404. padding: 3px 12px;
  1405. font-size: 14px;
  1406. line-height: 25px;
  1407. color: var(--text-normal);
  1408. background: var(--background-secondary);
  1409. border: 1px solid var(--border);
  1410. border-radius: 3px;
  1411. }
  1412. .checkbox-replacement,
  1413. .radio-replacement {
  1414. padding: 0;
  1415. margin: 0;
  1416. display: flex;
  1417. align-items: center;
  1418. justify-content: center;
  1419. position: relative;
  1420. @extend .u-clickable;
  1421. > .icon {
  1422. vertical-align: middle;
  1423. margin-top: -2px;
  1424. fill: var(--button-background);
  1425. @include dark {
  1426. fill: transparent;
  1427. }
  1428. }
  1429. .icon-checked {
  1430. color: var(--interactive-primary);
  1431. }
  1432. .icon-unchecked {
  1433. color: var(--text-muted);
  1434. }
  1435. .icon-indeterminate {
  1436. display: none;
  1437. color: var(--text-muted);
  1438. }
  1439. &.is-disabled {
  1440. cursor: not-allowed;
  1441. }
  1442. &.checkbox-replacement--fullscreen,
  1443. &.radio-replacement--fullscreen {
  1444. position: absolute;
  1445. left: 0;
  1446. top: 0;
  1447. width: 100%;
  1448. height: 100%;
  1449. }
  1450. &.checkbox-replacement--inline,
  1451. &.radio-replacement--inline {
  1452. display: inline-flex;
  1453. @include bidi-style(margin-right, 3px, margin-left, 0);
  1454. }
  1455. input[type='checkbox'],
  1456. input[type='radio'] {
  1457. position: absolute;
  1458. opacity: 0;
  1459. cursor: pointer;
  1460. &:disabled {
  1461. cursor: not-allowed;
  1462. ~ .icon {
  1463. opacity: 0.33;
  1464. fill: none;
  1465. }
  1466. }
  1467. &:not(:checked) ~ .icon-checked,
  1468. &:checked ~ .icon-unchecked {
  1469. display: none;
  1470. }
  1471. &:focus:not(.is-active) ~ .icon-checked,
  1472. &:focus:not(.is-active) ~ .icon-unchecked {
  1473. box-shadow:
  1474. 0 0 0 2px var(--border-highlight),
  1475. 0 0 0 3px var(--shadow-highlight);
  1476. }
  1477. }
  1478. + .label-text {
  1479. @include bidi-style(margin-left, 0, margin-right, 3px);
  1480. }
  1481. }
  1482. .checkbox-replacement {
  1483. &:indeterminate {
  1484. ~ .icon-checked,
  1485. ~ .icon-unchecked {
  1486. display: none;
  1487. }
  1488. ~ .icon-indeterminate {
  1489. display: block;
  1490. }
  1491. }
  1492. }
  1493. .checkbox-replacement-readonly {
  1494. padding: 0;
  1495. margin: 0;
  1496. display: flex;
  1497. align-items: center;
  1498. justify-content: center;
  1499. position: relative;
  1500. > .icon {
  1501. vertical-align: middle;
  1502. margin-top: -2px;
  1503. }
  1504. .icon-checkbox-checked-readonly.icon {
  1505. fill: var(--text-muted);
  1506. color: var(--background-primary);
  1507. }
  1508. .icon-checkbox-readonly.icon {
  1509. fill: var(--text-muted);
  1510. }
  1511. }
  1512. .radio-replacement {
  1513. input:focus ~ .icon-checked,
  1514. input:focus ~ .icon-unchecked {
  1515. border-radius: 100%;
  1516. }
  1517. > .icon {
  1518. margin-top: -3px;
  1519. }
  1520. }
  1521. .table .checkbox-replacement,
  1522. .table .checkbox-replacement-readonly,
  1523. .table .radio-replacement {
  1524. height: 40px;
  1525. width: 40px;
  1526. &.checkbox-replacement--fullscreen {
  1527. width: 100%;
  1528. height: 100%;
  1529. }
  1530. }
  1531. .table-overview tbody .icon-checkbox,
  1532. .table-overview tbody .icon-radio,
  1533. .table-overview tbody .icon-checkbox-checked,
  1534. .table-overview tbody .icon-radio-checked {
  1535. fill: transparent;
  1536. }
  1537. .table .table-cell {
  1538. vertical-align: top;
  1539. display: table-cell;
  1540. border-bottom: 1px solid var(--background-primary-alt);
  1541. }
  1542. .hero-two {
  1543. width: 100%;
  1544. }
  1545. .hero-two .hero-left {
  1546. width: 50%;
  1547. float: left;
  1548. }
  1549. .hero-two .hero-right {
  1550. width: 50%;
  1551. float: right;
  1552. }
  1553. .max-size-scroll {
  1554. max-height: 240px;
  1555. overflow-y: scroll;
  1556. }
  1557. /*
  1558. #content > *:not(.active) {
  1559. display: none !important;
  1560. }
  1561. */
  1562. h1,
  1563. h2,
  1564. h3,
  1565. h4,
  1566. h5,
  1567. h6 {
  1568. font-weight: normal;
  1569. color: var(--header-primary);
  1570. }
  1571. h1 {
  1572. font-size: 24px;
  1573. line-height: 30px;
  1574. }
  1575. h2,
  1576. h2.popover-title {
  1577. font-size: 20px;
  1578. line-height: 25px;
  1579. }
  1580. h3 {
  1581. font-size: 16px;
  1582. margin: 20px 0 8px;
  1583. font-weight: normal;
  1584. .subtitle {
  1585. display: inline;
  1586. font-size: 12px;
  1587. text-transform: none;
  1588. color: var(--text-muted);
  1589. letter-spacing: initial;
  1590. }
  1591. }
  1592. h4 {
  1593. font-size: 13px;
  1594. text-transform: uppercase;
  1595. }
  1596. h5 {
  1597. font-size: 13px;
  1598. font-weight: bold;
  1599. }
  1600. label,
  1601. .checkbox.form-group label,
  1602. .label {
  1603. text-transform: uppercase;
  1604. color: var(--text-muted);
  1605. display: block;
  1606. font-size: 13px;
  1607. font-weight: normal;
  1608. letter-spacing: 0.05em;
  1609. margin-bottom: 4px;
  1610. text-align: start;
  1611. padding: 0;
  1612. &.input-group-addon {
  1613. color: var(--text-muted);
  1614. }
  1615. /* user-select: none; disabled because of chrome51 https://github.com/martini/zammad/issues/183 */
  1616. h2 & {
  1617. color: inherit !important;
  1618. font-size: inherit;
  1619. font-weight: inherit;
  1620. letter-spacing: 0;
  1621. margin-bottom: 0;
  1622. padding: 0 !important;
  1623. text-transform: inherit;
  1624. }
  1625. }
  1626. /* circumventing the label:not(.inline-label) selector because it's too strong */
  1627. .inline-label,
  1628. .label-success,
  1629. .label-warning,
  1630. .label-danger {
  1631. font-size: inherit;
  1632. font-weight: inherit;
  1633. text-align: inherit;
  1634. color: inherit;
  1635. letter-spacing: 0;
  1636. margin: 0;
  1637. text-transform: none;
  1638. display: inline;
  1639. }
  1640. table {
  1641. .inline-label,
  1642. .label-success,
  1643. .label-warning,
  1644. .label-danger {
  1645. white-space: nowrap; /* for labels in tables that might get crushed view: calendar_subscriptions */
  1646. }
  1647. }
  1648. .label-text {
  1649. @include bidi-style(margin-left, 3px, margin-right, 0);
  1650. @extend %clickable;
  1651. }
  1652. .label-success,
  1653. .label-warning,
  1654. .label-danger {
  1655. background: none;
  1656. }
  1657. .label-success {
  1658. color: var(--supergood-color);
  1659. }
  1660. .label-highlight {
  1661. color: var(--highlight);
  1662. }
  1663. .label-warning {
  1664. color: var(--ok-color);
  1665. }
  1666. .label-danger {
  1667. color: var(--superbad-color);
  1668. }
  1669. .label-subtle {
  1670. color: var(--ghost-color);
  1671. }
  1672. .state-archived,
  1673. .state-draft {
  1674. color: hsl(0, 0%, 68%);
  1675. }
  1676. .state-published {
  1677. color: var(--supergood-color);
  1678. }
  1679. .state-internal {
  1680. color: var(--highlight);
  1681. }
  1682. fieldset {
  1683. margin: 0 -4px;
  1684. @extend .clearfix;
  1685. @include phone {
  1686. width: calc(100% + 8px);
  1687. }
  1688. h2,
  1689. .help-text {
  1690. margin-left: 4px;
  1691. margin-right: 4px;
  1692. }
  1693. }
  1694. .form-field-group {
  1695. padding: 20px;
  1696. background: var(--background-secondary);
  1697. border-radius: 4px;
  1698. margin-bottom: 16px;
  1699. border: 1px solid var(--border);
  1700. .modal-body & {
  1701. background: var(--background-primary);
  1702. }
  1703. > .form-group:last-child {
  1704. margin-bottom: 0;
  1705. }
  1706. }
  1707. fieldset > .form-group {
  1708. padding: 0 4px;
  1709. }
  1710. .form-group {
  1711. margin-bottom: 16px;
  1712. &.form-group--inactive {
  1713. opacity: 0.5;
  1714. }
  1715. &.is-readonly .controls:not(.ignore-readonly) {
  1716. pointer-events: none;
  1717. cursor: not-allowed !important;
  1718. input:read-only.form-control:not(.js-input, .js-objectSelect) {
  1719. pointer-events: auto;
  1720. cursor: auto;
  1721. }
  1722. }
  1723. &.form-group--nested {
  1724. @include bidi-style(padding-left, 30px, padding-right, 30px);
  1725. }
  1726. &.form-group--wide {
  1727. @include bidi-style(margin-left, -30px, margin-right, -30px);
  1728. }
  1729. }
  1730. .date.form-group .controls {
  1731. position: relative;
  1732. }
  1733. .form-group + .form-group {
  1734. margin-top: 0;
  1735. }
  1736. .merge-group {
  1737. display: flex;
  1738. align-items: stretch;
  1739. &.merge-group--header {
  1740. h2 {
  1741. margin-bottom: 0;
  1742. }
  1743. label {
  1744. display: inline;
  1745. }
  1746. .merge-source,
  1747. .merge-target {
  1748. border-bottom: 1px solid var(--border);
  1749. }
  1750. }
  1751. .merge-target,
  1752. .merge-source {
  1753. flex: 1;
  1754. width: 33%;
  1755. display: flex;
  1756. flex-direction: column;
  1757. justify-content: flex-end;
  1758. }
  1759. .merge-source,
  1760. .merge-target {
  1761. padding-bottom: 3px;
  1762. border-left: 1px solid var(--border);
  1763. border-right: 1px solid var(--border);
  1764. padding: 7px 13px;
  1765. }
  1766. &:first-of-type {
  1767. margin-top: 6px;
  1768. .merge-source,
  1769. .merge-target {
  1770. border-top: 1px solid var(--border);
  1771. border-radius: 3px 3px 0 0;
  1772. }
  1773. }
  1774. &:last-of-type {
  1775. margin-bottom: 6px;
  1776. .merge-source,
  1777. .merge-target {
  1778. border-bottom: 1px solid var(--border);
  1779. border-radius: 0 0 3px 3px;
  1780. }
  1781. }
  1782. .merge-value {
  1783. margin-bottom: 3px;
  1784. }
  1785. .form-group {
  1786. padding: 0;
  1787. }
  1788. .form-control {
  1789. margin: 0 !important;
  1790. }
  1791. &.merge-group--multi {
  1792. .merge-value + .merge-value {
  1793. margin-top: 12px;
  1794. }
  1795. }
  1796. }
  1797. .merge-controls {
  1798. flex: 1;
  1799. align-self: flex-end;
  1800. }
  1801. .merge-control {
  1802. margin-bottom: 5px;
  1803. height: 31px;
  1804. text-align: center;
  1805. display: flex;
  1806. flex: 1;
  1807. justify-content: space-between;
  1808. align-items: center;
  1809. align-self: flex-end;
  1810. }
  1811. .merge-control-input {
  1812. flex: 1;
  1813. }
  1814. .merge-arrow {
  1815. margin: 0 12px;
  1816. display: flex;
  1817. align-items: center;
  1818. justify-content: center;
  1819. .line-arrow {
  1820. fill: var(--border);
  1821. }
  1822. }
  1823. .formGroup-label {
  1824. padding: 0 2px;
  1825. margin-bottom: 5px;
  1826. position: relative;
  1827. display: flex;
  1828. align-items: center;
  1829. h2 & {
  1830. padding: 0;
  1831. margin: 0;
  1832. }
  1833. label {
  1834. margin: 0;
  1835. }
  1836. a[data-toggle='collapse'] > label {
  1837. cursor: pointer;
  1838. color: var(--text-link);
  1839. }
  1840. a[data-toggle='collapse'] {
  1841. &:focus,
  1842. &:active {
  1843. text-decoration: underline;
  1844. }
  1845. &.collapsed {
  1846. & svg {
  1847. &.icon-arrow-right {
  1848. display: inline;
  1849. }
  1850. &.icon-arrow-down {
  1851. display: none;
  1852. }
  1853. }
  1854. }
  1855. &:not(.collapsed) {
  1856. & svg {
  1857. &.icon-arrow-right {
  1858. display: none;
  1859. }
  1860. &.icon-arrow-down {
  1861. display: inline;
  1862. }
  1863. }
  1864. }
  1865. }
  1866. .bookmark.icon {
  1867. margin-bottom: -1px;
  1868. }
  1869. .formGroup-metaControl {
  1870. @extend .u-clickable;
  1871. padding: 6px 4px;
  1872. margin: -6px 0 -6px auto;
  1873. font-size: 20px;
  1874. line-height: 1;
  1875. color: var(--interactive-muted);
  1876. }
  1877. }
  1878. .formGroup-bookmark {
  1879. @extend .u-clickable;
  1880. display: flex;
  1881. align-items: center;
  1882. flex-direction: row-reverse;
  1883. width: 30px;
  1884. height: 30px;
  1885. position: absolute;
  1886. right: 0;
  1887. top: -10px;
  1888. }
  1889. .form-group .controls .richtext {
  1890. position: relative;
  1891. height: auto;
  1892. }
  1893. .form-group .help-message {
  1894. cursor: help;
  1895. color: var(--interactive-muted);
  1896. top: -2px;
  1897. position: relative;
  1898. @include bidi-style(margin-left, auto, margin-right, 0);
  1899. .icon-help {
  1900. display: block;
  1901. }
  1902. }
  1903. .form-group:not(.formGroup--halfSize) {
  1904. clear: left;
  1905. }
  1906. .form-group.formGroup--halfSize {
  1907. width: 50%;
  1908. float: left;
  1909. @include phone {
  1910. width: auto;
  1911. float: none;
  1912. }
  1913. .form-control {
  1914. min-width: initial;
  1915. }
  1916. }
  1917. .formGroup--standalone .form-control {
  1918. margin-bottom: 0;
  1919. }
  1920. .controls--select {
  1921. position: relative;
  1922. }
  1923. .controls--datetime {
  1924. position: relative;
  1925. display: flex;
  1926. }
  1927. .controls--date {
  1928. position: relative;
  1929. }
  1930. .controls--datetime {
  1931. position: relative;
  1932. display: flex;
  1933. }
  1934. .controls--date {
  1935. position: relative;
  1936. }
  1937. .controls--grow {
  1938. flex-grow: 1;
  1939. }
  1940. .controls-label {
  1941. margin: 11px 10px 0;
  1942. flex-shrink: 0;
  1943. .form-control--small + & {
  1944. margin-top: 7px;
  1945. }
  1946. }
  1947. /* do not show safari auto fill icon - see issue #962 */
  1948. input::-webkit-contacts-auto-fill-button {
  1949. visibility: hidden;
  1950. display: none !important;
  1951. pointer-events: none;
  1952. position: absolute;
  1953. right: 0;
  1954. }
  1955. input[type='radio'],
  1956. input[type='checkbox'] {
  1957. margin: 0;
  1958. }
  1959. input[type='text'],
  1960. input[type='password'],
  1961. input[type='email'],
  1962. input[type='date'],
  1963. input[type='url'],
  1964. textarea,
  1965. .form-control,
  1966. .form-group .checkbox,
  1967. .form-group .radio {
  1968. display: block;
  1969. padding: 7px 12px;
  1970. width: 100%;
  1971. height: 41px;
  1972. font-size: 14px;
  1973. font-weight: normal;
  1974. line-height: 25px;
  1975. color: var(--text-normal);
  1976. background: var(--background-secondary);
  1977. border: 1px solid var(--border);
  1978. border-radius: 3px;
  1979. transition: none;
  1980. box-shadow: none;
  1981. outline: none;
  1982. appearance: none;
  1983. @include phone {
  1984. font-size: 16px;
  1985. }
  1986. .modal-body &,
  1987. .box &,
  1988. .sidebar &,
  1989. .hero-unit &,
  1990. .form-field-group &,
  1991. .popover & {
  1992. background: var(--background-primary);
  1993. }
  1994. .modal-body .form-field-group &,
  1995. .formset-inset & {
  1996. background: var(--background-secondary);
  1997. }
  1998. &.form-control--small {
  1999. padding: 5px 8px 4px;
  2000. height: 30px;
  2001. line-height: 20px;
  2002. &[multiple] {
  2003. height: auto;
  2004. }
  2005. &.form-control--multiline {
  2006. min-height: 30px;
  2007. }
  2008. }
  2009. &.form-control--inline {
  2010. display: inline-block;
  2011. width: auto;
  2012. }
  2013. &.form-control--multiline {
  2014. height: auto;
  2015. min-height: 41px;
  2016. }
  2017. &:focus,
  2018. &:focus-within,
  2019. &.focus {
  2020. border-color: var(--border-highlight);
  2021. box-shadow: 0 0 0 3px var(--shadow-highlight);
  2022. }
  2023. &.is-disabled, // .is-disabled should not be used - legacy support
  2024. &[disabled],
  2025. &[readonly] {
  2026. background: var(--background-secondary);
  2027. opacity: 0.38;
  2028. &:focus,
  2029. &.focus {
  2030. border-color: var(--border-highlight);
  2031. }
  2032. }
  2033. &.is-disabled, // .is-disabled should not be used
  2034. &[disabled] {
  2035. cursor: not-allowed;
  2036. }
  2037. }
  2038. input[type='url'] {
  2039. min-width: 400px;
  2040. }
  2041. .sidebar-content input[type='url'] {
  2042. min-width: inherit;
  2043. }
  2044. .user-select.form-control {
  2045. padding-right: 35px;
  2046. min-width: 300px;
  2047. }
  2048. input[type='time'] {
  2049. width: auto;
  2050. padding-left: 6px;
  2051. padding-right: 6px;
  2052. }
  2053. input.timeframe,
  2054. input.time {
  2055. box-sizing: content-box;
  2056. padding: 0 6px;
  2057. height: 39px;
  2058. line-height: 42px;
  2059. flex-shrink: 0;
  2060. &.form-control--small {
  2061. line-height: 20px;
  2062. padding-top: 0;
  2063. padding-bottom: 0;
  2064. }
  2065. }
  2066. input.timeframe {
  2067. width: 5.5ch;
  2068. }
  2069. input.time {
  2070. width: 4.5ch;
  2071. }
  2072. input.time.time--12 {
  2073. width: 7.5ch;
  2074. }
  2075. .tokenfield.focus {
  2076. border-color: var(--border-highlight);
  2077. box-shadow: 0 0 0 3px var(--shadow-highlight);
  2078. }
  2079. .richtext.form-control {
  2080. padding: 0;
  2081. }
  2082. .richtext.form-control [contenteditable] {
  2083. height: auto;
  2084. min-height: 82px;
  2085. background: none;
  2086. padding: 7px 12px 35px;
  2087. }
  2088. .richtext.form-control [contenteditable='false'] {
  2089. cursor: not-allowed;
  2090. opacity: 0.38;
  2091. border-color: var(--border);
  2092. padding: unset;
  2093. &:focus,
  2094. &.focus {
  2095. border-color: var(--border-highlight);
  2096. }
  2097. }
  2098. .richtext.is-readonly [contenteditable='false'] {
  2099. cursor: default;
  2100. opacity: 1;
  2101. padding: 7px 12px;
  2102. }
  2103. .richtext.form-control .attachments.attachments--list:not(:empty) {
  2104. border-top: 1px solid var(--background-modifier-border);
  2105. white-space: normal;
  2106. margin: 0 -12px -28px;
  2107. padding: 25px 20px 21px 72px;
  2108. position: relative;
  2109. line-height: 1;
  2110. }
  2111. .richtext-controls {
  2112. display: flex;
  2113. margin: 7px 7px 0;
  2114. padding: 3px 5px 10px;
  2115. border-bottom: 1px solid var(--background-modifier-border);
  2116. @include phone {
  2117. flex-wrap: nowrap;
  2118. }
  2119. }
  2120. textarea.form-control {
  2121. height: 118px;
  2122. resize: vertical;
  2123. &[rows] {
  2124. height: auto;
  2125. }
  2126. }
  2127. select.form-control:not([multiple]) {
  2128. @include bidi-style(padding-right, 34px, padding-left, 12px);
  2129. word-wrap: normal;
  2130. }
  2131. .form-control.is-hidden {
  2132. display: none;
  2133. }
  2134. .form-control.form-control--borderless {
  2135. border: none;
  2136. padding: 0;
  2137. line-height: inherit;
  2138. height: auto;
  2139. &:focus {
  2140. box-shadow: none;
  2141. }
  2142. }
  2143. select[multiple],
  2144. select[multiple]:focus {
  2145. option:checked {
  2146. color: var(--interactive-primary);
  2147. background: var(--ghost-color);
  2148. }
  2149. }
  2150. .select.form-group,
  2151. .user_autocompletion.form-group {
  2152. .form-control:not([multiple]) {
  2153. @include ltr(padding-right, 21px);
  2154. }
  2155. }
  2156. .form-control + .icon-arrow-down,
  2157. .dropdown-arrow {
  2158. position: absolute;
  2159. @include bidi-style(right, 12px, left, auto);
  2160. top: 50%;
  2161. margin-top: -3px;
  2162. width: 13px;
  2163. height: 7px;
  2164. @extend .u-unclickable;
  2165. }
  2166. .dropdown-clear {
  2167. position: absolute;
  2168. padding: 1px;
  2169. @include bidi-style(right, 12px, left, auto);
  2170. &--with-arrow-icon {
  2171. @include bidi-style(right, 35px, left, auto);
  2172. }
  2173. top: 50%;
  2174. margin-top: -7px;
  2175. border: 1px solid transparent;
  2176. .icon-diagonal-cross {
  2177. display: block;
  2178. width: 10px;
  2179. height: 10px;
  2180. fill: var(--interactive-muted);
  2181. }
  2182. &:focus {
  2183. outline: none;
  2184. border-radius: 3px;
  2185. border-color: var(--border-highlight);
  2186. box-shadow: 0 0 0 3px var(--shadow-highlight);
  2187. }
  2188. }
  2189. select::-ms-expand {
  2190. display: none;
  2191. }
  2192. .has-error .form-control,
  2193. .has-error .form-control:focus,
  2194. .has-error .form-control.focus {
  2195. box-shadow: none;
  2196. border-color: var(--danger-color) !important;
  2197. }
  2198. input.has-error {
  2199. box-shadow: none;
  2200. border-color: var(--danger-color) !important;
  2201. }
  2202. .help-inline:not(:empty) {
  2203. color: var(--danger-color);
  2204. padding: 2px;
  2205. font-size: 13px;
  2206. }
  2207. .zammad-form-modal-body {
  2208. background: var(--background-primary) !important;
  2209. }
  2210. /* use on input[type=radio] */
  2211. .primary-email-switch {
  2212. display: none;
  2213. & + label {
  2214. font-size: 11px;
  2215. color: var(--interactive-muted);
  2216. margin: 0;
  2217. @extend %clickable;
  2218. }
  2219. &:checked + label {
  2220. color: var(--highlight);
  2221. }
  2222. }
  2223. .primary-email-switch-label {
  2224. text-overflow: ellipsis;
  2225. overflow: hidden;
  2226. white-space: nowrap;
  2227. }
  2228. .primary-email-switch + label {
  2229. align-self: stretch;
  2230. padding: 0 5px;
  2231. display: flex;
  2232. align-items: center;
  2233. }
  2234. .controls--button {
  2235. display: flex;
  2236. flex-wrap: wrap;
  2237. .controls {
  2238. flex: 1;
  2239. }
  2240. .help-inline,
  2241. .help-block {
  2242. flex-basis: 100%;
  2243. }
  2244. input,
  2245. .form-control {
  2246. flex: 1 1 0%;
  2247. @include bidi-style(border-right-width, 0, border-left-width, 1px);
  2248. @include bidi-style(
  2249. border-top-right-radius,
  2250. 0,
  2251. border-top-left-radius,
  2252. 3px
  2253. );
  2254. @include bidi-style(
  2255. border-bottom-right-radius,
  2256. 0,
  2257. border-bottom-left-radius,
  2258. 3px
  2259. );
  2260. &:focus + .controls-button {
  2261. .controls-button-inner {
  2262. border-color: var(--border-highlight);
  2263. }
  2264. /*
  2265. fake the form-control outline
  2266. */
  2267. &::before {
  2268. content: '';
  2269. position: absolute;
  2270. left: 0;
  2271. @include rtl(left, -3px);
  2272. top: -3px;
  2273. right: -3px;
  2274. @include rtl(right, 0);
  2275. bottom: -3px;
  2276. background: var(--shadow-highlight);
  2277. @include bidi-style(
  2278. border-radius,
  2279. 0 7px 7px 0,
  2280. border-radius,
  2281. 7px 0 0 7px
  2282. );
  2283. }
  2284. }
  2285. }
  2286. }
  2287. .controls-button {
  2288. position: relative;
  2289. display: flex;
  2290. &.is-active .icon {
  2291. fill: var(--highlight);
  2292. }
  2293. }
  2294. .controls-button-inner {
  2295. display: flex;
  2296. justify-content: center;
  2297. align-items: center;
  2298. padding: 0 10px;
  2299. background: var(--background-secondary);
  2300. position: relative;
  2301. border: 1px solid var(--border);
  2302. @include bidi-style(border-radius, 0 3px 3px 0, border-radius, 3px 0 0 3px);
  2303. .icon {
  2304. fill: var(--text-muted);
  2305. }
  2306. &:hover .icon {
  2307. fill: currentColor;
  2308. }
  2309. }
  2310. .searchfield {
  2311. position: relative;
  2312. margin-bottom: 20px;
  2313. .icon-magnifier,
  2314. .search-loader {
  2315. @include bidi-style(left, 15px, right, auto);
  2316. top: 12px;
  2317. width: 17px;
  2318. height: 17px;
  2319. position: absolute;
  2320. fill: var(--text-muted);
  2321. transition: 0.1s 0s;
  2322. pointer-events: none;
  2323. }
  2324. .search-loader {
  2325. z-index: 2;
  2326. opacity: 0;
  2327. .icon {
  2328. width: 17px;
  2329. height: 17px;
  2330. }
  2331. }
  2332. input[type='search'] {
  2333. appearance: textfield;
  2334. border-radius: 19px;
  2335. padding: 0 17px 0 42px;
  2336. @include rtl(padding, 0 42px 0 17px);
  2337. will-change: transform;
  2338. &.is-empty ~ .empty-search,
  2339. &:placeholder-shown ~ .empty-search {
  2340. visibility: hidden;
  2341. }
  2342. &.loading {
  2343. ~ .search-loader {
  2344. opacity: 1;
  2345. transition: 0.2s 0.5s;
  2346. }
  2347. ~ .icon-magnifier {
  2348. opacity: 0;
  2349. transition: 0.2s 0.5s;
  2350. }
  2351. }
  2352. }
  2353. input[type='search']::-webkit-search-cancel-button,
  2354. input[type='search']::-webkit-search-decoration {
  2355. -webkit-appearance: none;
  2356. }
  2357. .empty-search {
  2358. height: 100%;
  2359. width: 50px;
  2360. visibility: visible;
  2361. .icon {
  2362. width: 13px;
  2363. height: 13px;
  2364. fill: var(--text-muted);
  2365. opacity: 0.5;
  2366. }
  2367. }
  2368. }
  2369. .content {
  2370. overflow: auto;
  2371. -webkit-overflow-scrolling: touch;
  2372. position: relative;
  2373. background-color: var(--background-primary);
  2374. @include phone {
  2375. @include bidi-style(margin-left, $mobileNavigationWidth, margin-right, 0);
  2376. -webkit-overflow-scrolling: touch;
  2377. .navigation.is-not-collapsed ~ & {
  2378. transform: translateX(
  2379. #{$mobileNavigationWidthOpen - $mobileNavigationWidth}
  2380. );
  2381. @include rtl(
  2382. transform,
  2383. translateX(-#{$mobileNavigationWidthOpen - $mobileNavigationWidth})
  2384. );
  2385. }
  2386. }
  2387. }
  2388. .content.fit {
  2389. padding: 10px;
  2390. background: var(--background-tertiary);
  2391. z-index: 501;
  2392. }
  2393. .fullscreenMessage {
  2394. padding: 22px;
  2395. display: flex;
  2396. align-items: center;
  2397. justify-content: center;
  2398. flex: 1;
  2399. .icon {
  2400. @include bidi-style(margin-right, 14px, margin-left, 0);
  2401. }
  2402. .icon-error {
  2403. margin-top: -2px;
  2404. width: 19px;
  2405. height: 19px;
  2406. }
  2407. .icon-checkmark {
  2408. width: 21px;
  2409. height: 18px;
  2410. margin-right: 11px;
  2411. margin-top: -2px;
  2412. }
  2413. h2 {
  2414. margin: 0;
  2415. }
  2416. }
  2417. .fullscreenMessage--placeholder {
  2418. flex-direction: column;
  2419. .icon {
  2420. width: 100px;
  2421. height: 100px;
  2422. }
  2423. h2 {
  2424. margin: 15px;
  2425. color: var(--text-muted);
  2426. }
  2427. }
  2428. .selected-clue {
  2429. position: relative;
  2430. @extend .zIndex-11;
  2431. pointer-events: none;
  2432. }
  2433. .modal--clue {
  2434. display: flex;
  2435. align-items: center;
  2436. justify-content: center;
  2437. z-index: 500;
  2438. .modal-backdrop {
  2439. bottom: 0;
  2440. width: 200%;
  2441. height: 200%;
  2442. left: -100%;
  2443. top: -100%;
  2444. background: radial-gradient(
  2445. var(--backdrop-clue-start),
  2446. var(--backdrop-clue-end)
  2447. );
  2448. }
  2449. .modal-spacer {
  2450. position: absolute;
  2451. opacity: 0;
  2452. padding: 18px;
  2453. @extend .zIndex-11;
  2454. }
  2455. .modal-arrow {
  2456. background: inherit;
  2457. width: 20px;
  2458. height: 20px;
  2459. position: absolute;
  2460. margin: -10px 0 53px -10px;
  2461. left: 0;
  2462. top: 50%;
  2463. transform: rotate(45deg);
  2464. }
  2465. .modal-spacer[data-position='above'] .modal-arrow {
  2466. left: 50%;
  2467. top: 100%;
  2468. background: var(--background-primary);
  2469. }
  2470. .modal-spacer[data-position='below'] .modal-arrow {
  2471. left: 50%;
  2472. top: 0;
  2473. }
  2474. .modal-spacer[data-position='left'] .modal-arrow {
  2475. left: 100%;
  2476. top: 50%;
  2477. }
  2478. .modal-content {
  2479. border: none;
  2480. width: 300px;
  2481. box-shadow:
  2482. 0 8px 17px 0 rgba(0, 0, 0, 0.1),
  2483. 0 6px 20px 0 rgba(0, 0, 0, 0.05);
  2484. @include phone {
  2485. width: 280px;
  2486. }
  2487. }
  2488. .modal-controls {
  2489. background: var(--background-primary);
  2490. margin: 23px 0 0;
  2491. padding: 10px;
  2492. display: flex;
  2493. align-items: center;
  2494. justify-content: space-between;
  2495. }
  2496. .modal-control {
  2497. padding-left: 14px;
  2498. padding-right: 14px;
  2499. .btn.is-disabled {
  2500. color: var(--text-normal);
  2501. }
  2502. }
  2503. .modal-header {
  2504. padding-bottom: 7px;
  2505. font-size: 18px;
  2506. }
  2507. .modal-body {
  2508. max-width: 340px;
  2509. }
  2510. }
  2511. .knowledge-base-content-can-be-published-dialog-current {
  2512. margin-bottom: 20px;
  2513. text-align: center;
  2514. }
  2515. .knowledge-base-content-can-be-published-dialog {
  2516. display: flex;
  2517. .side-panel {
  2518. flex-grow: 1;
  2519. width: 300px;
  2520. }
  2521. .call-to-action {
  2522. display: flex;
  2523. align-items: center;
  2524. justify-content: center;
  2525. }
  2526. }
  2527. .kb-sidebar-block-content {
  2528. & .kb-item--invisible {
  2529. opacity: 0.5;
  2530. }
  2531. & .kb-item--missing-translation,
  2532. & .kb-item--missing-translation:active,
  2533. & .kb-item--missing-translation:focus {
  2534. color: hsl(45, 98%, 63%);
  2535. }
  2536. }
  2537. .kb-menu-preview {
  2538. margin-bottom: 1em;
  2539. &-container {
  2540. display: flex;
  2541. flex-wrap: wrap;
  2542. justify-content: flex-end;
  2543. border: 1px solid var(--border-alt);
  2544. &--footer {
  2545. justify-content: center;
  2546. }
  2547. }
  2548. a,
  2549. span {
  2550. font-size: 14px;
  2551. padding: 0.5em 1em;
  2552. white-space: nowrap;
  2553. text-decoration: none;
  2554. line-height: 2em;
  2555. }
  2556. a {
  2557. color: inherit;
  2558. }
  2559. .label {
  2560. text-transform: none;
  2561. }
  2562. }
  2563. .modified-icon {
  2564. position: relative;
  2565. line-height: 1;
  2566. display: block;
  2567. .nav-pills > li > a & {
  2568. align-self: center;
  2569. }
  2570. .modified-icon-modifier {
  2571. bottom: 0;
  2572. right: 0;
  2573. position: absolute;
  2574. z-index: 1;
  2575. fill: var(--background-primary);
  2576. margin: 0 -2px -1px 0;
  2577. .nav-pills > li > a & {
  2578. fill: var(--background-secondary);
  2579. }
  2580. .nav-pills > li:hover > a & {
  2581. fill: var(--background-secondary-hover);
  2582. }
  2583. }
  2584. .icon-knowledge-base-answer + .modified-icon-modifier {
  2585. margin: 0 -1px 2px 0;
  2586. }
  2587. .icon-published-modifier {
  2588. display: none;
  2589. }
  2590. }
  2591. kbd {
  2592. background: var(--background-modifier-accent);
  2593. border-radius: 3px;
  2594. border: 1px solid var(--background-modifier-border);
  2595. box-shadow: var(--elevation-stroke);
  2596. display: inline-block;
  2597. font-size: 12px;
  2598. margin: 0 1px;
  2599. padding: 0 4px;
  2600. vertical-align: top;
  2601. }
  2602. .form-stacked .checkbox label {
  2603. color: inherit;
  2604. font-size: 13px;
  2605. text-transform: inherit;
  2606. vertical-align: baseline;
  2607. letter-spacing: inherit;
  2608. }
  2609. .pagination {
  2610. margin: 0 0 0 19px;
  2611. @include rtl(margin, 0 19px 0 0);
  2612. display: flex;
  2613. }
  2614. .pagination-counter {
  2615. margin: 0 0 0 19px;
  2616. @include rtl(margin, 0 19px 0 0);
  2617. line-height: 33px;
  2618. color: var(--text-muted);
  2619. }
  2620. .page-header {
  2621. margin: 0 0 15px;
  2622. padding: 0;
  2623. display: flex;
  2624. align-items: center;
  2625. flex-wrap: wrap;
  2626. width: 100%;
  2627. @include phone {
  2628. align-items: flex-start;
  2629. flex-wrap: nowrap;
  2630. }
  2631. }
  2632. .page-header--center {
  2633. justify-content: center;
  2634. }
  2635. .page-header-title {
  2636. display: flex;
  2637. align-items: center;
  2638. .zammad-switch {
  2639. @include bidi-style(margin-right, 9px, margin-left, 0);
  2640. }
  2641. h1,
  2642. h2 {
  2643. margin-top: 9px;
  2644. margin-bottom: 7px;
  2645. @include phone {
  2646. margin-top: 4px;
  2647. }
  2648. }
  2649. .suffix {
  2650. margin-left: 5px;
  2651. margin-top: 6px;
  2652. display: inline-block;
  2653. @include phone {
  2654. margin-top: 4px;
  2655. }
  2656. }
  2657. }
  2658. .page-header-center {
  2659. justify-self: center;
  2660. @include bidi-style(padding-left, 9px, padding-right, 0);
  2661. margin: 0 auto;
  2662. & + .page-header-meta {
  2663. @include bidi-style(margin-left, 0, margin-right, auto);
  2664. flex: none;
  2665. }
  2666. }
  2667. .page-header-meta {
  2668. @include bidi-style(margin-left, auto, margin-right, 0);
  2669. @include bidi-style(padding-left, 20px, padding-right, 0);
  2670. display: flex;
  2671. justify-content: flex-end;
  2672. flex: 1;
  2673. min-width: 0; /* firefox flexbug */
  2674. @include phone {
  2675. flex: 0 1 auto;
  2676. min-width: auto;
  2677. }
  2678. .btn {
  2679. overflow: hidden;
  2680. text-overflow: ellipsis;
  2681. white-space: nowrap;
  2682. @include phone {
  2683. flex-shrink: 0;
  2684. }
  2685. }
  2686. .btn + .btn {
  2687. @include bidi-style(margin-left, 9px, margin-right, 0);
  2688. }
  2689. }
  2690. .page-content {
  2691. .formGroup-label label,
  2692. .label {
  2693. color: var(--header-secondary);
  2694. }
  2695. .content-controls-align-right {
  2696. display: flex;
  2697. justify-content: flex-end;
  2698. }
  2699. }
  2700. .page-body--two-column {
  2701. display: flex;
  2702. }
  2703. .page-aside {
  2704. @include bidi-style(padding-right, 20px, padding-left, 0);
  2705. @include bidi-style(border-right, 1px solid var(--border), border-left, none);
  2706. @include bidi-style(margin-right, 20px, margin-left, 0);
  2707. width: 240px;
  2708. flex-shrink: 0;
  2709. flex-grow: 0;
  2710. }
  2711. .page-main {
  2712. flex: 1;
  2713. }
  2714. .page-loading {
  2715. min-height: 500px;
  2716. flex-grow: 1;
  2717. display: flex;
  2718. align-items: center;
  2719. justify-content: center;
  2720. }
  2721. .popover .page-loading {
  2722. min-height: 100px;
  2723. }
  2724. .page-loading-label {
  2725. @include bidi-style(margin-left, 10px, margin-right, 0);
  2726. margin-top: 1px;
  2727. }
  2728. .dropdown-menu .count {
  2729. padding-top: 1px;
  2730. @include bidi-style(margin-left, 10px, margin-right, 0);
  2731. }
  2732. .help-text,
  2733. .help-block {
  2734. color: var(--text-muted);
  2735. }
  2736. .help-block {
  2737. margin: 0;
  2738. font-size: 13px;
  2739. &.help-block--center {
  2740. text-align: center;
  2741. }
  2742. }
  2743. .help-block:not(:empty) {
  2744. margin: 8px 2px 0;
  2745. }
  2746. /* replace music icon with attachment */
  2747. .icon-attachment {
  2748. background-position: -24px 0;
  2749. }
  2750. /*
  2751. * hero-unit (used on getstarted, login, signup)
  2752. */
  2753. .hero-unit {
  2754. width: 500px;
  2755. margin: 10px 0;
  2756. padding: 23px 25px;
  2757. border: 1px solid var(--border);
  2758. color: var(--text-normal);
  2759. background-color: var(--background-secondary);
  2760. border-radius: 6px;
  2761. box-shadow: var(--fullscreen-drop-shadow);
  2762. @include phone {
  2763. width: auto;
  2764. padding: 12px 15px;
  2765. }
  2766. .inline-label {
  2767. font-size: inherit;
  2768. }
  2769. }
  2770. .hero-unit h1,
  2771. .hero-unit h2 {
  2772. margin-top: 0;
  2773. }
  2774. .getstarted,
  2775. .reset_password,
  2776. .request_admin_password_auth,
  2777. .signup,
  2778. .darkBackground,
  2779. .login {
  2780. padding: 10px;
  2781. background: var(--fullscreen-background);
  2782. }
  2783. .content.getstarted {
  2784. padding: 0;
  2785. .main {
  2786. padding: 20px 10px;
  2787. }
  2788. }
  2789. .login,
  2790. .reset_password,
  2791. .request_admin_password_auth,
  2792. .signup {
  2793. padding: 24px;
  2794. color: var(--fullscreen-text);
  2795. a {
  2796. color: var(--fullscreen-text-link);
  2797. &.text-muted {
  2798. color: inherit;
  2799. }
  2800. }
  2801. }
  2802. .login {
  2803. .form-controls {
  2804. flex-direction: column;
  2805. .btn {
  2806. width: 100%;
  2807. }
  2808. .btn--text {
  2809. display: block;
  2810. overflow: hidden;
  2811. text-overflow: ellipsis;
  2812. margin: initial;
  2813. text-align: center;
  2814. }
  2815. .btn + .btn:not(.align-right) {
  2816. margin-left: initial;
  2817. margin-right: initial;
  2818. }
  2819. }
  2820. .help-text {
  2821. margin-top: 10px;
  2822. text-align: left;
  2823. }
  2824. }
  2825. .login .hero-unit {
  2826. width: 430px;
  2827. margin: 0 0 28px;
  2828. @include phone {
  2829. width: auto;
  2830. }
  2831. }
  2832. .login .company-logo {
  2833. max-height: 100px;
  2834. max-width: 200px;
  2835. margin: 20px auto 42px;
  2836. display: block;
  2837. @include phone {
  2838. margin: 15px auto 28px;
  2839. }
  2840. }
  2841. .login p,
  2842. .reset_password p,
  2843. .signup p {
  2844. margin: 0 auto 22px;
  2845. max-width: 400px;
  2846. text-align: center;
  2847. @include phone {
  2848. margin: 0 auto 15px;
  2849. }
  2850. }
  2851. .reset_password p,
  2852. .signup p {
  2853. padding-top: 28px;
  2854. }
  2855. .login hr {
  2856. margin: 0 auto 22px;
  2857. width: 100%;
  2858. max-width: 400px;
  2859. }
  2860. .login p a,
  2861. .reset_password p a,
  2862. .signup p a {
  2863. text-decoration: underline;
  2864. }
  2865. .poweredBy {
  2866. display: flex;
  2867. align-items: center;
  2868. justify-content: center;
  2869. color: var(--fullscreen-text-muted);
  2870. margin: 34px 0 10px -16px;
  2871. @include rtl(margin, 34px -16px 10px 0);
  2872. cursor: default;
  2873. a {
  2874. color: inherit;
  2875. }
  2876. .icon-logo {
  2877. @include bidi-style(margin-right, 8px, margin-left, 0);
  2878. margin-top: -11px;
  2879. }
  2880. .logotype {
  2881. @include bidi-style(margin-left, 7px, margin-left, 0);
  2882. margin-top: -3px;
  2883. }
  2884. }
  2885. .fullscreen {
  2886. @extend .fit;
  2887. display: flex;
  2888. flex-direction: column;
  2889. align-items: center;
  2890. width: 100%;
  2891. height: 100%;
  2892. min-height: 100vh;
  2893. overflow: auto;
  2894. -webkit-overflow-scrolling: touch;
  2895. }
  2896. .fullscreen p {
  2897. color: var(--fullscreen-text);
  2898. }
  2899. .fullscreen-center {
  2900. margin: auto;
  2901. }
  2902. .fullscreen-body {
  2903. text-align: start;
  2904. display: inline-block;
  2905. }
  2906. ol.tabs {
  2907. list-style: decimal inside;
  2908. }
  2909. ol.tabs li {
  2910. display: list-item;
  2911. }
  2912. .tabs {
  2913. display: flex;
  2914. flex-flow: wrap;
  2915. padding: 0;
  2916. margin-bottom: 20px;
  2917. color: var(--interactive-muted);
  2918. border: 1px solid var(--border);
  2919. border-right: 0;
  2920. border-bottom: 0;
  2921. border-radius: 3px;
  2922. background: var(--background-secondary);
  2923. @include phone {
  2924. overflow: auto;
  2925. -webkit-overflow-scrolling: touch;
  2926. }
  2927. }
  2928. .tabs-condensed .tab {
  2929. padding-left: 5px;
  2930. padding-right: 5px;
  2931. }
  2932. .progress-tabs .tab {
  2933. cursor: default;
  2934. }
  2935. .tab {
  2936. color: inherit;
  2937. height: 35px;
  2938. padding: 8px 20px;
  2939. display: flex;
  2940. justify-content: center;
  2941. align-items: center;
  2942. min-width: 0;
  2943. flex-grow: 1;
  2944. @extend .u-clickable;
  2945. @include phone {
  2946. flex-shrink: 0;
  2947. display: block;
  2948. text-align: center;
  2949. }
  2950. &.active {
  2951. color: var(--text-inverted);
  2952. background: var(--button-active);
  2953. box-shadow: none;
  2954. flex-shrink: 0;
  2955. }
  2956. &-name {
  2957. min-width: 20px;
  2958. text-align: center;
  2959. white-space: nowrap;
  2960. overflow: hidden;
  2961. text-overflow: ellipsis;
  2962. }
  2963. &-badge {
  2964. flex-shrink: 0;
  2965. @include bidi-style(margin-left, 6px, margin-right, 0);
  2966. font-size: 13px;
  2967. margin-right: -7px;
  2968. background: var(--background-modifier-accent);
  2969. min-width: 21px;
  2970. padding: 0 7px;
  2971. height: 21px;
  2972. line-height: 21px;
  2973. white-space: nowrap;
  2974. text-align: center;
  2975. display: inline-block;
  2976. border-radius: 999px;
  2977. }
  2978. }
  2979. .tab-dropdown {
  2980. position: relative;
  2981. display: flex;
  2982. align-items: center;
  2983. justify-content: center;
  2984. .arrow {
  2985. @include bidi-style(margin-left, 10px, margin-right, 0);
  2986. opacity: 0.75;
  2987. }
  2988. .icon {
  2989. fill: var(--text-muted);
  2990. }
  2991. &.active {
  2992. background: var(--background-secondary);
  2993. .icon {
  2994. opacity: 1;
  2995. }
  2996. }
  2997. }
  2998. .tab:nth-child(n) {
  2999. border-right: 1px solid var(--border);
  3000. border-bottom: 1px solid var(--border);
  3001. }
  3002. .tabs.tabs--inline {
  3003. display: inline-flex;
  3004. margin-left: 0;
  3005. margin-right: 0;
  3006. .tab {
  3007. flex: none;
  3008. &:nth-last-child(2) {
  3009. @include bidi-style(border-right-width, 0, border-right-width, 1px);
  3010. }
  3011. }
  3012. }
  3013. .tabs--big {
  3014. margin: 28px auto;
  3015. font-size: 14px;
  3016. border-radius: 8px;
  3017. @include phone {
  3018. margin: 5px auto 28px;
  3019. }
  3020. .tab {
  3021. height: auto;
  3022. padding: 10px 23px 9px;
  3023. @include phone {
  3024. padding: 8px 20px;
  3025. }
  3026. &:first-child {
  3027. border-radius: 8px 0 0 8px;
  3028. @include rtl(border-radius, 0 8px 8px 0);
  3029. }
  3030. &:last-child {
  3031. border-radius: 0 8px 8px 0;
  3032. @include rtl(border-radius, 8px 0 0 8px);
  3033. }
  3034. &:only-child {
  3035. border-radius: 8px;
  3036. }
  3037. }
  3038. .tab-dropdown {
  3039. padding-left: 18px;
  3040. padding-right: 15px;
  3041. @include rtl(padding-left, 15px);
  3042. @include rtl(padding-right, 18px);
  3043. }
  3044. }
  3045. .dashboard .tabs--big {
  3046. width: 50%;
  3047. @include phone {
  3048. width: auto;
  3049. }
  3050. }
  3051. .separator {
  3052. margin: 20px 0;
  3053. position: relative;
  3054. text-align: center;
  3055. }
  3056. .separator::before {
  3057. content: '';
  3058. position: absolute;
  3059. width: 100%;
  3060. height: 1px;
  3061. top: 50%;
  3062. left: 0;
  3063. background: var(--border);
  3064. }
  3065. .separator-text {
  3066. padding: 0 10px;
  3067. color: var(--text-muted);
  3068. font-size: 12px;
  3069. letter-spacing: 0.05em;
  3070. text-transform: uppercase;
  3071. background: var(--background-secondary);
  3072. display: inline-block;
  3073. position: relative;
  3074. }
  3075. .auth-providers {
  3076. display: flex;
  3077. flex-wrap: wrap;
  3078. padding: 7px;
  3079. margin: -14px;
  3080. > form {
  3081. display: flex;
  3082. flex-grow: 1;
  3083. min-width: 50%;
  3084. }
  3085. }
  3086. .auth-provider {
  3087. height: 40px;
  3088. padding: 0 10px 0 7px;
  3089. margin: 7px;
  3090. color: white !important;
  3091. line-height: 23px;
  3092. border-radius: 4px;
  3093. display: flex;
  3094. flex-grow: 1;
  3095. justify-content: center;
  3096. align-items: center;
  3097. text-decoration: none;
  3098. border: none;
  3099. text-align: initial;
  3100. white-space: nowrap;
  3101. overflow: hidden;
  3102. @extend %clickable;
  3103. &.auth-provider--wide {
  3104. padding-right: 25px;
  3105. }
  3106. &.auth-provider--facebook {
  3107. background: #4f699c;
  3108. }
  3109. &.auth-provider--google {
  3110. background: hsl(0, 0%, 93%);
  3111. color: hsl(0, 0%, 46%) !important;
  3112. }
  3113. &.auth-provider--twitter {
  3114. background: #2daee1;
  3115. }
  3116. &.auth-provider--email {
  3117. background: #ffd22e;
  3118. }
  3119. &.auth-provider--linkedin {
  3120. background: #006087;
  3121. }
  3122. &.auth-provider--github {
  3123. background: hsl(0, 0%, 27%);
  3124. }
  3125. &.auth-provider--gitlab {
  3126. background: hsl(10, 78%, 53%);
  3127. }
  3128. &.auth-provider--microsoft {
  3129. background: hsl(0, 0%, 93%);
  3130. color: hsl(0, 0%, 46%) !important;
  3131. }
  3132. &.auth-provider--weibo {
  3133. background: hsl(0, 0%, 27%);
  3134. }
  3135. &.auth-provider--saml {
  3136. background: hsl(0, 0%, 27%);
  3137. }
  3138. &.auth-provider--sso {
  3139. background: #454545;
  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: '1/2', '1/3', '2/3', '1/4', '2/4', '3/4', '1/5', '2/5', '3/5',
  3389. '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: 999;
  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. .task-subline {
  5651. text-align: center;
  5652. display: block;
  5653. }
  5654. .ticket-article-item {
  5655. padding-bottom: 33px;
  5656. position: relative;
  5657. z-index: 1; // fixed chrome 49 + flex issue, not shown article
  5658. .avatar {
  5659. position: absolute;
  5660. right: 0;
  5661. top: 5px;
  5662. @include phone {
  5663. position: static;
  5664. margin: 0 5px 7px;
  5665. }
  5666. }
  5667. &.agent .avatar {
  5668. right: auto;
  5669. left: 0;
  5670. }
  5671. }
  5672. /*
  5673. clip the article-meta to not stand out on the other side
  5674. of the textBubble if the text bubble is small
  5675. */
  5676. .article-meta-clip {
  5677. overflow: hidden;
  5678. position: relative;
  5679. height: 100%;
  5680. margin: 0 55px;
  5681. @include phone {
  5682. margin: 0;
  5683. }
  5684. }
  5685. .article-content {
  5686. color: var(--text-normal);
  5687. position: relative;
  5688. z-index: 1;
  5689. padding: 0 55px;
  5690. @include phone {
  5691. padding: 0;
  5692. }
  5693. &.article-actions {
  5694. justify-content: space-around;
  5695. }
  5696. }
  5697. .article-content-meta {
  5698. position: absolute;
  5699. width: 100%;
  5700. }
  5701. .article-meta {
  5702. background: var(--background-tertiary);
  5703. color: var(--text-inverted);
  5704. padding: 21px 25px 11px;
  5705. margin: 0 12px;
  5706. @include phone {
  5707. margin: 0 5px;
  5708. padding: 10px 10px 5px;
  5709. }
  5710. }
  5711. .article-meta.bottom {
  5712. padding-top: 17px;
  5713. padding-bottom: 8px;
  5714. @include phone {
  5715. padding-top: 10px;
  5716. padding-bottom: 5px;
  5717. }
  5718. }
  5719. .article-meta-row {
  5720. margin-bottom: 5px;
  5721. }
  5722. .article-meta-key {
  5723. width: 20%;
  5724. text-transform: uppercase;
  5725. flex-shrink: 0;
  5726. @include phone {
  5727. width: 50px;
  5728. }
  5729. }
  5730. .article-meta-value {
  5731. @include bidi-style(margin-left, 8px, margin-right, 0);
  5732. overflow: hidden;
  5733. text-overflow: ellipsis;
  5734. span {
  5735. white-space: nowrap;
  5736. }
  5737. }
  5738. .article-meta-icon {
  5739. fill: var(--text-inverted);
  5740. vertical-align: top;
  5741. margin: 2px 3px 0 0;
  5742. @include rtl(margin, 2px 0 0 3px);
  5743. &.icon-lock,
  5744. &.icon-encryption-error {
  5745. margin: 0;
  5746. }
  5747. }
  5748. .article-meta-permanent {
  5749. margin: 0 55px;
  5750. + .article-content .textBubble {
  5751. border-top-left-radius: 0;
  5752. border-top-right-radius: 0;
  5753. border-top-width: 0;
  5754. }
  5755. .alert {
  5756. margin-bottom: 0;
  5757. padding-left: 20px;
  5758. padding-right: 20px;
  5759. border-radius: 0;
  5760. box-shadow: 0 0 0 1px inset hsla(0, 0%, 0%, 0.04);
  5761. &:first-child {
  5762. border-top-left-radius: 2px;
  5763. border-top-right-radius: 2px;
  5764. }
  5765. &--blank {
  5766. background: var(--background-article-meta);
  5767. color: var(--text-muted-alt);
  5768. border: 1px solid var(--border-alt);
  5769. .customer.ticket-article-item & {
  5770. background: var(--background-article-customer-meta);
  5771. border-color: var(--border-article-customer);
  5772. }
  5773. .customer.state--folde-out & {
  5774. border-color: var(--border-article-customer-selected);
  5775. }
  5776. }
  5777. .icon {
  5778. fill: currentColor;
  5779. margin: 2px 6px 0 0;
  5780. vertical-align: top;
  5781. width: 14px;
  5782. height: 14px;
  5783. }
  5784. .icon-lock {
  5785. margin-top: 1px;
  5786. width: 16px;
  5787. height: 16px;
  5788. }
  5789. }
  5790. }
  5791. .internal-border {
  5792. padding: 5px;
  5793. border-radius: 5px;
  5794. margin: -5px;
  5795. }
  5796. .is-internal .internal-border {
  5797. background: repeating-linear-gradient(
  5798. 45deg,
  5799. var(--border-internal),
  5800. var(--border-internal) 5px,
  5801. var(--border-internal-stripe) 5px,
  5802. var(--border-internal-stripe) 10px
  5803. );
  5804. background-size: 14px 14px;
  5805. background-position: -1px;
  5806. }
  5807. .is-internal .bubble-arrow {
  5808. display: none;
  5809. }
  5810. .article-visibility-text-wrapper {
  5811. padding: 0 55px;
  5812. opacity: 0;
  5813. height: 0;
  5814. .article-visibility-text {
  5815. margin-bottom: 17px;
  5816. &.is-hidden {
  5817. display: none;
  5818. }
  5819. }
  5820. }
  5821. .textBubble {
  5822. padding: 10px 20px;
  5823. background: var(--background-secondary);
  5824. border-radius: 2px;
  5825. border: 1px solid var(--border-alt);
  5826. box-shadow: 0 0 1px rgba(0, 0, 0, 0.06) inset;
  5827. position: relative;
  5828. @include phone {
  5829. padding: 10px;
  5830. }
  5831. /* email css reset */
  5832. p {
  5833. margin: 0;
  5834. }
  5835. .is-internal & {
  5836. border-color: var(--border-internal) !important;
  5837. }
  5838. }
  5839. .textBubble-content {
  5840. overflow: hidden;
  5841. position: relative;
  5842. }
  5843. .textBubble-footer {
  5844. display: flex;
  5845. justify-content: space-between;
  5846. align-items: center;
  5847. margin: 0 -12px -28px;
  5848. padding: 6px 12px;
  5849. border-radius: 0 0 4px 4px;
  5850. }
  5851. .textBubble-footer:has(+ .attachments .attachment) {
  5852. margin-bottom: -10px;
  5853. }
  5854. .textBubble-footer:not(.is-open .textBubble-footer) {
  5855. visibility: hidden;
  5856. }
  5857. .textBubble-control {
  5858. display: flex;
  5859. }
  5860. .textBubble-letterCount:not(.label-danger, .label-warning) {
  5861. color: var(--ghost-color);
  5862. }
  5863. .textBubble-overflowContainer {
  5864. position: absolute;
  5865. bottom: 0;
  5866. left: 0;
  5867. right: 0;
  5868. background: var(--background-secondary);
  5869. &.is-open {
  5870. &::before {
  5871. display: none;
  5872. }
  5873. }
  5874. .btn {
  5875. padding-top: 15px;
  5876. padding-bottom: 15px;
  5877. font-size: 10px;
  5878. }
  5879. &::before {
  5880. content: '';
  5881. position: absolute;
  5882. left: 0;
  5883. right: 0;
  5884. top: -30px;
  5885. height: 30px;
  5886. background: linear-gradient(
  5887. rgba(255, 255, 255, 0),
  5888. var(--background-secondary)
  5889. );
  5890. pointer-events: none;
  5891. }
  5892. }
  5893. .customer .textBubble-overflowContainer {
  5894. background: var(--background-article-customer);
  5895. &::before {
  5896. background: linear-gradient(
  5897. hsla(199, 44%, 93%, 0),
  5898. var(--background-article-customer)
  5899. );
  5900. }
  5901. }
  5902. .customer.ticket-article-item .textBubble {
  5903. background: var(--background-article-customer);
  5904. border-color: var(--border-article-customer);
  5905. box-shadow: none;
  5906. }
  5907. .customer .richtext-content blockquote {
  5908. border-left: 5px solid var(--background-modifier-border);
  5909. }
  5910. .customer.ticket-article-item.state--folde-out .textBubble {
  5911. border-color: var(--border-article-customer-selected);
  5912. }
  5913. .bubble-arrow {
  5914. position: absolute;
  5915. width: 6px;
  5916. height: 9px;
  5917. left: -6px;
  5918. top: 15px;
  5919. overflow: hidden;
  5920. @include phone {
  5921. left: 14px !important;
  5922. top: -5px;
  5923. width: 9px;
  5924. height: 6px;
  5925. }
  5926. }
  5927. .bubble-arrow::after {
  5928. content: '';
  5929. position: absolute;
  5930. top: -1px;
  5931. left: 1px;
  5932. width: 11px;
  5933. height: 11px;
  5934. background: var(--background-secondary);
  5935. border: 1px solid var(--border-alt);
  5936. box-shadow: 0 0 1px rgba(0, 0, 0, 0.06) inset;
  5937. transform: rotate(-45deg);
  5938. @include phone {
  5939. top: 2px;
  5940. left: -1px;
  5941. }
  5942. }
  5943. .customer.ticket-article-item .bubble-arrow {
  5944. left: auto;
  5945. right: -6px;
  5946. @include phone {
  5947. left: 14px;
  5948. right: auto;
  5949. top: -4px;
  5950. }
  5951. }
  5952. .customer.ticket-article-item .bubble-arrow::after {
  5953. background: var(--background-article-customer);
  5954. left: auto;
  5955. right: 2px;
  5956. border-color: var(--border-article-customer);
  5957. box-shadow: none;
  5958. @include phone {
  5959. left: -1px;
  5960. right: auto;
  5961. }
  5962. }
  5963. .customer.ticket-article-item.state--folde-out .bubble-arrow::after {
  5964. border-color: var(--border-article-customer-selected);
  5965. }
  5966. .remote-content-message {
  5967. border-top: 1px solid var(--background-modifier-border);
  5968. white-space: normal;
  5969. margin: 10px -20px -10px;
  5970. padding: 10px 20px 10px 40px;
  5971. text-indent: -20px;
  5972. position: relative;
  5973. font-size: 13px;
  5974. cursor: pointer;
  5975. &:hover {
  5976. background-color: var(--background-modifier-hover);
  5977. }
  5978. .icon-danger {
  5979. vertical-align: text-bottom;
  5980. color: var(--text-normal);
  5981. }
  5982. @include phone {
  5983. margin-left: -10px;
  5984. margin-right: -10px;
  5985. padding: 10px 15px 10px 30px;
  5986. }
  5987. }
  5988. .attachments.attachments--list:not(:empty) {
  5989. border-top: 1px solid var(--background-modifier-border);
  5990. white-space: normal;
  5991. margin: 10px -20px 0;
  5992. padding: 26px 20px 7px 72px;
  5993. position: relative;
  5994. @include phone {
  5995. margin-left: -10px;
  5996. margin-right: -10px;
  5997. padding: 20px 15px 7px 30px;
  5998. }
  5999. &.attachments--wo-body {
  6000. border-top: none;
  6001. margin-top: 0;
  6002. padding-top: 12px;
  6003. }
  6004. }
  6005. .attachments.attachments--list .attachments-title {
  6006. font-size: 13px;
  6007. font-weight: 500;
  6008. text-transform: uppercase;
  6009. padding: 0 7px;
  6010. .badge {
  6011. margin: -1px 0 0 5px;
  6012. }
  6013. }
  6014. .attachments > .icon:first-child {
  6015. position: absolute;
  6016. left: 33px;
  6017. top: 27px;
  6018. fill: var(--ghost-color);
  6019. @include phone {
  6020. width: 16px;
  6021. height: 16px;
  6022. left: 12px;
  6023. top: 20px;
  6024. }
  6025. }
  6026. .attachments-block {
  6027. margin-bottom: 12px;
  6028. &:last-child {
  6029. margin-bottom: 0;
  6030. }
  6031. &-headline {
  6032. font-size: 13px;
  6033. color: var(--text-normal);
  6034. font-weight: 500;
  6035. text-transform: uppercase;
  6036. margin: 0 7px;
  6037. }
  6038. }
  6039. .ticket-article-item .task-subline {
  6040. margin-top: 7px;
  6041. }
  6042. .article-action {
  6043. padding: 5px 16px;
  6044. margin-top: 5px;
  6045. color: var(--interactive-muted);
  6046. font-size: 12px;
  6047. text-align: center;
  6048. @extend .u-clickable;
  6049. }
  6050. .article-action:hover {
  6051. color: var(--text-primary);
  6052. text-decoration: none;
  6053. }
  6054. .article-action-icon {
  6055. @include bidi-style(margin-right, 5px, margin-left, 0);
  6056. vertical-align: top;
  6057. width: 17px;
  6058. height: 17px;
  6059. fill: currentColor;
  6060. }
  6061. .article-action-name {
  6062. @media screen and (max-width: 1080px) {
  6063. display: none;
  6064. }
  6065. @media screen and (max-width: 1358px) {
  6066. .main:not(.is-closed) & {
  6067. display: none;
  6068. }
  6069. }
  6070. }
  6071. .article-add {
  6072. position: relative;
  6073. z-index: 1; // fixed chrome 49 + flex issue, not shown article
  6074. }
  6075. .article-new {
  6076. margin-top: auto;
  6077. margin-bottom: 36px;
  6078. }
  6079. .dropArea {
  6080. background: var(--background-secondary);
  6081. border: 5px solid;
  6082. color: hsl(202, 66%, 55%);
  6083. font-size: 20px;
  6084. margin: 5px;
  6085. display: none;
  6086. @extend .fit;
  6087. &--small {
  6088. margin: 0;
  6089. font-size: inherit;
  6090. border-width: 3px;
  6091. min-height: 38px;
  6092. }
  6093. }
  6094. .is-dropTarget .dropArea {
  6095. display: block;
  6096. }
  6097. .dropContainer {
  6098. position: relative;
  6099. }
  6100. .dropArea-inner {
  6101. @extend .fit;
  6102. display: flex;
  6103. align-items: center;
  6104. justify-content: center;
  6105. }
  6106. .shortcut .dropdown-menu > .is-active > a {
  6107. background: none;
  6108. }
  6109. .shortcut > .dropdown-menu {
  6110. overflow: auto;
  6111. -webkit-overflow-scrolling: touch;
  6112. position: absolute;
  6113. max-width: 100%;
  6114. min-width: 0;
  6115. }
  6116. .editControls {
  6117. position: absolute;
  6118. left: 0;
  6119. top: 5px;
  6120. @include phone {
  6121. position: static;
  6122. margin: 0 0 10px;
  6123. display: flex;
  6124. align-items: center;
  6125. }
  6126. }
  6127. .article-add[data-type='email'] .editControls {
  6128. top: 159px;
  6129. }
  6130. .editControls-item {
  6131. position: absolute;
  6132. top: 43px;
  6133. @extend .u-clickable, .zIndex-4;
  6134. @include phone {
  6135. position: relative;
  6136. z-index: initial;
  6137. top: 0 !important;
  6138. transform: none !important;
  6139. opacity: 1 !important;
  6140. }
  6141. &.is-hidden {
  6142. display: none;
  6143. @include phone {
  6144. display: block;
  6145. }
  6146. }
  6147. }
  6148. .editControls-item:nth-child(2) {
  6149. @include phone {
  6150. z-index: 1;
  6151. }
  6152. }
  6153. .editControls-item:nth-child(3) {
  6154. top: 79px;
  6155. }
  6156. .editControls-item:nth-child(4) {
  6157. top: 115px;
  6158. }
  6159. .editControls-item:not(:last-child) {
  6160. border-bottom: 1px solid var(--border);
  6161. @include phone {
  6162. border-bottom: 0;
  6163. border-right: 1px solid var(--border);
  6164. }
  6165. }
  6166. .editControls-iconHolder {
  6167. width: 38px;
  6168. height: 35px;
  6169. display: flex;
  6170. align-items: center;
  6171. justify-content: center;
  6172. @include phone {
  6173. width: 48px;
  6174. height: 32px;
  6175. }
  6176. }
  6177. .editControls-icon {
  6178. @include phone {
  6179. line-height: 0.7;
  6180. }
  6181. }
  6182. .editControls-icon .icon {
  6183. fill: var(--interactive-muted);
  6184. }
  6185. .pop-selector {
  6186. position: absolute;
  6187. top: 0;
  6188. left: 0;
  6189. display: flex;
  6190. align-items: center;
  6191. justify-content: center;
  6192. border-radius: 4px;
  6193. box-shadow: var(--elevation-low);
  6194. @include phone {
  6195. top: -4px;
  6196. left: 7px;
  6197. }
  6198. &.is-hidden {
  6199. display: none;
  6200. }
  6201. }
  6202. .pop-selectable {
  6203. width: 35px;
  6204. height: 35px;
  6205. display: flex;
  6206. align-items: center;
  6207. justify-content: center;
  6208. @extend .u-clickable;
  6209. background: var(--background-tertiary);
  6210. }
  6211. .pop-selectable:hover {
  6212. background: var(--highlight);
  6213. }
  6214. .pop-selectable:first-child {
  6215. @include bidi-style(border-radius, 4px 0 0 4px, border-radius, 0 4px 4px 0);
  6216. }
  6217. .pop-selectable:last-child {
  6218. @include bidi-style(border-radius, 0 4px 4px 0, border-radius, 4px 0 0 4px);
  6219. }
  6220. .pop-selectable:only-child {
  6221. border-radius: 4px;
  6222. }
  6223. .pop-selectable:hover .pop-selectable-icon {
  6224. fill: var(--text-inverted);
  6225. }
  6226. .article-add .icon-internal {
  6227. fill: hsl(18, 87%, 65%);
  6228. }
  6229. .article-add.is-public .icon-internal,
  6230. .article-add.is-internal .icon-public {
  6231. display: none;
  6232. }
  6233. .article-new .textBubble {
  6234. border-radius: 5px;
  6235. padding-left: 12px;
  6236. padding-right: 12px;
  6237. cursor: text;
  6238. }
  6239. .articleNewEdit-body {
  6240. width: 100%;
  6241. position: relative;
  6242. min-height: 20px;
  6243. vertical-align: bottom;
  6244. border: none;
  6245. outline: none;
  6246. resize: none;
  6247. height: auto;
  6248. @include phone {
  6249. font-size: 16px;
  6250. }
  6251. }
  6252. .article-new .bubble-arrow::after {
  6253. box-shadow: none;
  6254. }
  6255. .article-attachment {
  6256. position: absolute;
  6257. bottom: -4px;
  6258. left: 10px;
  6259. right: 10px;
  6260. height: 42px;
  6261. padding: 10px 0;
  6262. color: var(--text-muted);
  6263. overflow: hidden;
  6264. @extend .u-textTruncate;
  6265. }
  6266. .attachments:not(:empty) {
  6267. padding: 9px 5px;
  6268. border-top: 1px solid var(--background-modifier-border);
  6269. margin: 6px -12px 30px;
  6270. }
  6271. .ticket-create .attachments:not(:empty) {
  6272. margin-left: 0;
  6273. margin-right: 0;
  6274. margin-bottom: 56px;
  6275. }
  6276. .ticket-create .attachment--row {
  6277. line-height: 1.45;
  6278. }
  6279. .attachment.attachment--row {
  6280. font-size: 13px;
  6281. padding: 1px 10px 1px 7px;
  6282. @include rtl(padding, 1px 7px 1px 10px);
  6283. cursor: default;
  6284. position: relative;
  6285. display: flex;
  6286. }
  6287. .attachment.attachment--preview {
  6288. display: flex;
  6289. font-size: 13px;
  6290. padding: 9px 4px;
  6291. position: relative;
  6292. min-height: 42px;
  6293. color: inherit;
  6294. align-items: flex-start;
  6295. border-bottom: 1px solid var(--background-modifier-border);
  6296. &:last-child {
  6297. border-bottom: none;
  6298. }
  6299. }
  6300. .attachment-icon {
  6301. margin-top: 2px;
  6302. width: 38px;
  6303. text-align: center;
  6304. flex-shrink: 0;
  6305. .icon {
  6306. vertical-align: bottom;
  6307. }
  6308. img {
  6309. width: 30px;
  6310. height: 30px;
  6311. object-fit: cover;
  6312. }
  6313. }
  6314. .attachment--preview {
  6315. .attachment-text {
  6316. margin: 0 4px;
  6317. }
  6318. }
  6319. .attachment--preview .attachment-name {
  6320. min-width: 0;
  6321. display: block;
  6322. @extend .u-highlight;
  6323. word-break: break-all;
  6324. }
  6325. .attachment--preview .attachment-size {
  6326. white-space: nowrap;
  6327. font-size: 11px;
  6328. color: var(--text-muted);
  6329. }
  6330. .attachment--preview .attachment-delete {
  6331. color: var(--interactive-muted);
  6332. text-decoration: underline;
  6333. display: none;
  6334. white-space: nowrap;
  6335. @include bidi-style(margin-left, auto, margin-right, 0);
  6336. @extend .u-clickable;
  6337. @include phone {
  6338. display: block;
  6339. }
  6340. }
  6341. .attachment:hover .attachment--preview .attachment-delete {
  6342. padding: 0 10px 0 30px;
  6343. float: right;
  6344. display: block;
  6345. position: absolute;
  6346. right: 0;
  6347. background: linear-gradient(
  6348. to right,
  6349. transparent,
  6350. var(--background-secondary-hover) 20px
  6351. );
  6352. }
  6353. .attachment--preview .attachment-delete .icon {
  6354. fill: var(--interactive-muted);
  6355. width: 9px;
  6356. height: 9px;
  6357. @include bidi-style(margin-right, 5px, margin-left, 0);
  6358. }
  6359. .attachment:hover {
  6360. background: var(--background-secondary-hover);
  6361. }
  6362. .attachment--row .attachment-name {
  6363. @include bidi-style(margin-right, 5px, margin-left, 0);
  6364. min-width: 0;
  6365. @extend .u-highlight;
  6366. }
  6367. .attachment--row .attachment-size {
  6368. white-space: nowrap;
  6369. float: right;
  6370. @include bidi-style(margin-right, 10px, margin-left, 0);
  6371. }
  6372. .attachment--row .attachment-delete {
  6373. color: var(--interactive-muted);
  6374. text-decoration: underline;
  6375. display: none;
  6376. white-space: nowrap;
  6377. @include bidi-style(margin-left, auto, margin-right, 0);
  6378. @extend %clickable;
  6379. }
  6380. .attachment:hover.attachment--row .attachment-delete {
  6381. padding: 0 10px 0 30px;
  6382. float: right;
  6383. display: block;
  6384. position: absolute;
  6385. right: 0;
  6386. background: linear-gradient(
  6387. to right,
  6388. transparent,
  6389. var(--background-secondary-hover) 20px
  6390. );
  6391. }
  6392. .attachment--row .attachment-delete .icon {
  6393. width: 9px;
  6394. height: 9px;
  6395. @include bidi-style(margin-right, 5px, margin-left, 0);
  6396. }
  6397. .attachmentPlaceholder-inputHolder {
  6398. position: relative;
  6399. display: inline-block;
  6400. overflow: hidden;
  6401. vertical-align: bottom;
  6402. pointer-events: auto;
  6403. @extend .u-highlight;
  6404. &:has(input[type='file'][disabled]) {
  6405. color: var(--text-muted-alt);
  6406. pointer-events: none;
  6407. }
  6408. }
  6409. .attachmentUpload {
  6410. color: var(--text-muted);
  6411. }
  6412. .attachmentUpload-cancel {
  6413. @extend .u-clickable;
  6414. @include bidi-style(margin-left, auto, margin-right, 0);
  6415. text-decoration: underline;
  6416. }
  6417. .attachmentUpload .icon {
  6418. fill: var(--interactive-muted);
  6419. width: 9px;
  6420. height: 9px;
  6421. @include bidi-style(margin-right, 5px, margin-left, 0);
  6422. }
  6423. .attachmentUpload-progressBar {
  6424. position: absolute;
  6425. height: 4px;
  6426. background: hsl(202, 66%, 55%);
  6427. left: 0;
  6428. bottom: 0;
  6429. }
  6430. .attachmentUpload--standalone {
  6431. position: relative;
  6432. margin-bottom: 7px;
  6433. padding-bottom: 2px;
  6434. box-shadow: 0 -4px var(--border) inset;
  6435. &:last-child {
  6436. margin-bottom: 0;
  6437. }
  6438. .attachmentUpload-cancel {
  6439. padding: 0 2px 0 7px;
  6440. }
  6441. }
  6442. .attachmentUploadContainer {
  6443. .attachmentUpload-progressBar {
  6444. position: inherit;
  6445. }
  6446. }
  6447. .tabsSidebar-tabsSpacer {
  6448. @include bidi-style(padding-right, 62px !important, padding-left, 0);
  6449. /*
  6450. force div to show scrollbars
  6451. because we offset the sidebar tabs when the os shows scrollbars
  6452. */
  6453. overflow-x: hidden;
  6454. overflow-y: scroll;
  6455. @include phone {
  6456. @include bidi-style(padding-right, 0 !important, padding-left, 0);
  6457. }
  6458. }
  6459. .tabsSidebar-sidebarSpacer {
  6460. @include bidi-style(margin-right, $sidebarWidth, margin-left, 0);
  6461. transition: margin-right 500ms;
  6462. @include rtl(transition, margin-left 500ms);
  6463. @include desktop {
  6464. @include bidi-style(margin-right, $desktopSidebarWidth, margin-left, 0);
  6465. }
  6466. }
  6467. .tabsSidebar-sidebarSpacer.is-closed {
  6468. margin-right: 0;
  6469. @include rtl(margin-left, 0);
  6470. }
  6471. .tabsSidebar-holder {
  6472. overflow: hidden;
  6473. position: relative;
  6474. flex: 1;
  6475. display: flex;
  6476. flex-direction: column;
  6477. }
  6478. .tabsSidebar .sidebar {
  6479. width: $sidebarWidth;
  6480. border-left: 1px solid var(--border);
  6481. padding: 0;
  6482. margin-bottom: 1px;
  6483. @include desktop {
  6484. width: $desktopSidebarWidth;
  6485. }
  6486. }
  6487. .tabsSidebar .sidebar > hr {
  6488. margin: 20px;
  6489. }
  6490. .tabsSidebar .sidebar-header {
  6491. display: flex;
  6492. align-content: stretch;
  6493. position: relative;
  6494. margin: 0 20px;
  6495. + hr {
  6496. margin-top: 0;
  6497. }
  6498. }
  6499. .sidebar-header-headline {
  6500. padding: 33px 8px 17px 25px;
  6501. @include rtl(padding, 33px 25px 17px 8px);
  6502. margin: 0 0 0 -20px;
  6503. @include rtl(margin, 0 -20px 0 0);
  6504. line-height: 1;
  6505. @extend .u-clickable, .u-textTruncate;
  6506. }
  6507. .sidebar-header-actions {
  6508. flex: 1;
  6509. @include bidi-style(margin-right, 5px, margin-left, 0);
  6510. display: flex;
  6511. align-items: center;
  6512. .dropdown {
  6513. flex: 1;
  6514. position: static;
  6515. }
  6516. .dropdown-toggle {
  6517. padding-top: 38px;
  6518. padding-bottom: 24px;
  6519. }
  6520. }
  6521. .tabsSidebar-close {
  6522. padding: 27px 35px 12px 0;
  6523. margin: 0 -20px 0 0;
  6524. @extend .u-clickable;
  6525. display: flex;
  6526. align-items: center;
  6527. justify-content: center;
  6528. .icon {
  6529. fill: var(--interactive-primary);
  6530. }
  6531. }
  6532. .tabsSidebar .sidebar-content {
  6533. padding: 0 20px 20px;
  6534. }
  6535. .sidebar.bottom-form-shadow {
  6536. box-shadow:
  6537. 0 -1px rgba(0, 0, 0, 0.005) inset,
  6538. 0 -2px rgba(0, 0, 0, 0.005) inset,
  6539. 0 -3px rgba(0, 0, 0, 0.005) inset,
  6540. 0 -4px rgba(0, 0, 0, 0.005) inset;
  6541. }
  6542. .tabsSidebar {
  6543. position: absolute;
  6544. @include bidi-style(right, 0, left, auto);
  6545. top: 0;
  6546. bottom: 0;
  6547. transition: 500ms;
  6548. z-index: 300;
  6549. &.tabsSidebar--attributeBarSpacer {
  6550. bottom: 60px;
  6551. }
  6552. }
  6553. .tabsSidebar.is-closed {
  6554. transform: translateX($sidebarWidth);
  6555. @include rtl(transform, translateX(-$sidebarWidth));
  6556. @include desktop {
  6557. transform: translateX($desktopSidebarWidth);
  6558. @include rtl(transform, translateX(-$desktopSidebarWidth));
  6559. }
  6560. }
  6561. .tabsSidebar-tabs {
  6562. display: flex;
  6563. flex-direction: column;
  6564. justify-content: center;
  6565. position: absolute;
  6566. @include bidi-style(left, -56px, right, auto);
  6567. top: 0;
  6568. bottom: 0;
  6569. pointer-events: none;
  6570. @include phone {
  6571. @include bidi-style(left, -47px, right, auto);
  6572. }
  6573. }
  6574. .test {
  6575. position: absolute;
  6576. width: 100%;
  6577. }
  6578. .tabsSidebar-tab {
  6579. width: 56px;
  6580. height: 60px;
  6581. background: var(--background-primary-alt);
  6582. position: relative;
  6583. border-top: 1px solid var(--border-alt);
  6584. @extend .u-clickable;
  6585. pointer-events: auto;
  6586. display: flex;
  6587. align-items: center;
  6588. justify-content: center;
  6589. @include phone {
  6590. width: 47px;
  6591. height: 50px;
  6592. }
  6593. }
  6594. .tabsSidebar-tab.is-changed::before {
  6595. position: absolute;
  6596. content: '';
  6597. left: -3px;
  6598. width: 6px;
  6599. height: 6px;
  6600. top: 50%;
  6601. margin-top: -3px;
  6602. border-radius: 100%;
  6603. background: var(--interactive-muted-alt);
  6604. box-shadow: 0 0 0 2px var(--background-primary);
  6605. }
  6606. .tabsSidebar-tab:first-child {
  6607. @include bidi-style(border-top-left-radius, 8px, border-top-right-radius, 0);
  6608. border-top: none;
  6609. }
  6610. .tabsSidebar-tab:last-child {
  6611. @include bidi-style(
  6612. border-bottom-left-radius,
  6613. 8px,
  6614. border-bottom-right-radius,
  6615. 0
  6616. );
  6617. }
  6618. .tabsSidebar-tab .icon {
  6619. width: 24px;
  6620. height: 24px;
  6621. fill: var(--interactive-muted-alt);
  6622. }
  6623. .tabsSidebar-tab.active {
  6624. .tabsSidebar-tab-count {
  6625. background: var(--interactive-muted-alt-selected);
  6626. &::after {
  6627. border-right-color: var(--interactive-muted-alt-selected);
  6628. }
  6629. &.tabsSidebar-tab-count--info {
  6630. background: var(--button-primary-background);
  6631. opacity: 1;
  6632. &::after {
  6633. border-right-color: var(--button-primary-background);
  6634. }
  6635. }
  6636. &.tabsSidebar-tab-count--success {
  6637. background: hsl(145, 51%, 45%);
  6638. opacity: 1;
  6639. &::after {
  6640. border-right-color: hsl(145, 51%, 45%);
  6641. }
  6642. }
  6643. &.tabsSidebar-tab-count--warning {
  6644. background: hsl(45, 98%, 63%);
  6645. opacity: 1;
  6646. &::after {
  6647. border-right-color: hsl(45, 98%, 63%);
  6648. }
  6649. }
  6650. &.tabsSidebar-tab-count--danger {
  6651. background: hsl(11, 85%, 48%);
  6652. opacity: 1;
  6653. &::after {
  6654. border-right-color: hsl(11, 85%, 48%);
  6655. }
  6656. }
  6657. }
  6658. .icon {
  6659. fill: var(--interactive-muted-alt-selected);
  6660. }
  6661. }
  6662. .tabsSidebar-tab-count {
  6663. position: absolute;
  6664. left: 9px;
  6665. top: 5px;
  6666. background: var(--interactive-muted-alt);
  6667. width: 16px;
  6668. height: 13px;
  6669. text-align: center;
  6670. border-radius: 2px;
  6671. font-size: 9px;
  6672. line-height: 14px;
  6673. color: var(--background-primary-alt);
  6674. @include phone {
  6675. left: 4px;
  6676. top: 4px;
  6677. }
  6678. [data-tab='organization'] & {
  6679. left: 7px;
  6680. + .icon {
  6681. margin-left: 3px;
  6682. }
  6683. }
  6684. + .icon {
  6685. margin-top: 6px;
  6686. }
  6687. &::after {
  6688. content: '';
  6689. position: absolute;
  6690. top: 100%;
  6691. right: 20%;
  6692. border-bottom: 3px solid transparent;
  6693. border-right: 5px solid var(--interactive-muted-alt);
  6694. }
  6695. &.tabsSidebar-tab-count--info {
  6696. background: var(--button-primary-background);
  6697. opacity: 0.5;
  6698. &::after {
  6699. border-right-color: var(--button-primary-background);
  6700. }
  6701. }
  6702. &.tabsSidebar-tab-count--success {
  6703. background: hsl(145, 51%, 45%);
  6704. opacity: 0.5;
  6705. &::after {
  6706. border-right-color: hsl(145, 51%, 45%);
  6707. }
  6708. }
  6709. &.tabsSidebar-tab-count--warning {
  6710. background: hsl(45, 98%, 63%);
  6711. opacity: 0.5;
  6712. &::after {
  6713. border-right-color: hsl(45, 98%, 63%);
  6714. }
  6715. }
  6716. &.tabsSidebar-tab-count--danger {
  6717. background: hsl(11, 85%, 48%);
  6718. opacity: 0.5;
  6719. &::after {
  6720. border-right-color: hsl(11, 85%, 48%);
  6721. }
  6722. }
  6723. }
  6724. .alert {
  6725. padding: 10px 15px 8px;
  6726. border-radius: 3px;
  6727. color: var(--text-inverted);
  6728. border: none;
  6729. background: hsla(0, 0%, 0%, 0.3);
  6730. .icon {
  6731. @include bidi-style(margin-right, 10px, margin-left, 0);
  6732. fill: currentColor;
  6733. }
  6734. .btn {
  6735. background: hsla(0, 0%, 0%, 0.2);
  6736. border-color: hsla(0, 0%, 0%, 0.1);
  6737. color: inherit;
  6738. }
  6739. &--info {
  6740. background: var(--button-primary-background);
  6741. }
  6742. &--success {
  6743. &,
  6744. &[contenteditable]:hover,
  6745. &[contenteditable]:focus {
  6746. background: hsl(145, 51%, 45%);
  6747. }
  6748. }
  6749. &--warning {
  6750. color: hsl(45, 98%, 17%);
  6751. background: hsl(45, 98%, 63%);
  6752. .btn {
  6753. background: hsla(0, 0%, 100%, 0.2);
  6754. }
  6755. }
  6756. &--danger {
  6757. background: hsl(11, 85%, 48%);
  6758. }
  6759. &--square {
  6760. border-radius: 0;
  6761. }
  6762. &.horizontal .btn {
  6763. margin-top: -5px;
  6764. margin-bottom: -4px;
  6765. &:last-child {
  6766. margin-right: -5px;
  6767. }
  6768. }
  6769. &-row {
  6770. margin: 3px 0;
  6771. + .btn {
  6772. margin-top: 3px;
  6773. }
  6774. }
  6775. }
  6776. .tags,
  6777. .links,
  6778. .time-units,
  6779. .link_kb_answers {
  6780. margin: 20px 0;
  6781. }
  6782. .tags {
  6783. margin-top: 10px;
  6784. }
  6785. .userNotifications label + .btn {
  6786. margin-top: 1px;
  6787. }
  6788. .list {
  6789. padding: 0;
  6790. margin-bottom: 5px;
  6791. }
  6792. .list-title {
  6793. margin-top: 7px;
  6794. margin-bottom: 4px;
  6795. text-transform: uppercase;
  6796. color: var(--ghost-color);
  6797. display: block;
  6798. font-size: 12px;
  6799. font-weight: normal;
  6800. letter-spacing: 0.05em;
  6801. }
  6802. .list-item {
  6803. display: flex;
  6804. align-items: center;
  6805. border-bottom: 1px solid var(--background-modifier-border);
  6806. }
  6807. .list-item-name {
  6808. flex: 1;
  6809. padding: 4px 1px;
  6810. }
  6811. .list-item-delete {
  6812. padding: 0 10px;
  6813. @include bidi-style(margin-right, -3px, margin-left, 0);
  6814. display: flex;
  6815. align-items: center;
  6816. justify-content: center;
  6817. align-self: stretch;
  6818. @extend .u-clickable;
  6819. .icon {
  6820. width: 9px;
  6821. height: 9px;
  6822. fill: var(--interactive-muted);
  6823. }
  6824. }
  6825. .list-item-delete:hover .icon {
  6826. fill: hsl(1, 77%, 47%);
  6827. }
  6828. li.list-item-none {
  6829. list-style-type: none;
  6830. }
  6831. .ticket-id {
  6832. color: var(--text-inverted);
  6833. background: var(--interactive-muted-alt);
  6834. font-size: 11px;
  6835. border-radius: 7px;
  6836. padding: 0 5px;
  6837. @include bidi-style(margin-right, 2px, margin-left, 0);
  6838. }
  6839. .attributeBar {
  6840. background: var(--background-secondary);
  6841. transition: margin 250ms;
  6842. flex-shrink: 0;
  6843. border-top: 1px solid var(--border);
  6844. &.is-closed {
  6845. margin-bottom: -60px;
  6846. }
  6847. @include phone {
  6848. &-reset {
  6849. flex-shrink: 5;
  6850. }
  6851. .btn,
  6852. .buttonDropdown {
  6853. min-width: 20px;
  6854. &--only-icon {
  6855. min-width: 36px;
  6856. }
  6857. }
  6858. }
  6859. &-inner {
  6860. height: 60px;
  6861. display: flex;
  6862. align-items: center;
  6863. justify-content: flex-end;
  6864. padding: 10px;
  6865. }
  6866. &-avatars {
  6867. margin-right: 10px;
  6868. }
  6869. &-draft-spacer {
  6870. width: 1px;
  6871. height: 60px;
  6872. margin-right: 15px;
  6873. background: var(--background-modifier-accent);
  6874. }
  6875. &-avatars:empty + &-draft-spacer {
  6876. display: none;
  6877. }
  6878. &--border {
  6879. border-top: 1px solid var(--border);
  6880. }
  6881. &--spacer-after {
  6882. margin-right: auto;
  6883. }
  6884. }
  6885. .newTicket {
  6886. padding: 14px 34px;
  6887. @include phone {
  6888. padding: 0;
  6889. }
  6890. }
  6891. .newTicket .sidebar {
  6892. width: 290px;
  6893. }
  6894. .newTicket .form-control {
  6895. border-color: var(--border);
  6896. &:focus,
  6897. &.focus {
  6898. border-color: var(--border-highlight);
  6899. }
  6900. }
  6901. .newTicket .article-form-top {
  6902. margin-top: 15px;
  6903. }
  6904. .newTicket--chatTicket {
  6905. flex: 1;
  6906. display: flex;
  6907. padding: 0;
  6908. height: 100%;
  6909. & > .icon {
  6910. position: absolute;
  6911. top: 50%;
  6912. transform: translateY(-50%) translateX(-50%);
  6913. }
  6914. & > .box {
  6915. width: calc(50% - 47px);
  6916. margin: 34px;
  6917. }
  6918. .chatHistory {
  6919. display: flex;
  6920. flex-direction: column;
  6921. }
  6922. .boxFade {
  6923. width: 94px;
  6924. top: 34px;
  6925. height: 100%;
  6926. position: absolute;
  6927. @include bidi-style(margin-left, -34px, margin-right, 0);
  6928. z-index: 1;
  6929. }
  6930. }
  6931. .box {
  6932. background: var(--background-secondary);
  6933. margin: 20px 0;
  6934. border: 1px solid var(--border);
  6935. padding: 20px 24px;
  6936. }
  6937. .box.box--newTicket {
  6938. max-width: 1080px;
  6939. margin-left: auto;
  6940. margin-right: auto;
  6941. @include phone {
  6942. margin: 0;
  6943. border: none;
  6944. padding: 15px;
  6945. }
  6946. }
  6947. .box .page-header {
  6948. text-align: center;
  6949. margin-bottom: 12px;
  6950. }
  6951. .box--paper {
  6952. background-image: linear-gradient(
  6953. transparent 30px,
  6954. var(--background-modifier-border) 31px
  6955. );
  6956. background-size: 100% 31px;
  6957. line-height: 31px;
  6958. padding-top: 31px;
  6959. padding-bottom: 31px;
  6960. h1,
  6961. h2,
  6962. h3 {
  6963. margin: 0;
  6964. line-height: inherit;
  6965. }
  6966. h3:not(:first-child) {
  6967. margin-top: 31px;
  6968. }
  6969. }
  6970. .box h1 {
  6971. margin-top: 10px;
  6972. margin-bottom: 12px;
  6973. color: var(--text-normal);
  6974. flex: 1;
  6975. }
  6976. .box h2 {
  6977. margin-top: 12px;
  6978. }
  6979. .box .two-columns {
  6980. margin-left: -4px;
  6981. margin-right: -4px;
  6982. }
  6983. .box .two-columns .column {
  6984. margin-left: 4px;
  6985. margin-right: 4px;
  6986. width: calc(50% - 8px);
  6987. @include phone {
  6988. width: auto;
  6989. }
  6990. }
  6991. .box-controls {
  6992. margin-top: 20px;
  6993. display: flex;
  6994. align-items: center;
  6995. }
  6996. .box--yellow {
  6997. background: hsl(47, 100%, 93%);
  6998. border-color: hsl(47, 100%, 75%);
  6999. color: hsl(47, 20%, 67%);
  7000. h1,
  7001. h2 {
  7002. color: hsl(47, 3%, 28%);
  7003. }
  7004. }
  7005. .box-progress {
  7006. display: flex;
  7007. align-items: center;
  7008. justify-content: center;
  7009. }
  7010. .box-progress-title {
  7011. color: hsl(47, 3%, 28%);
  7012. }
  7013. .box-progress-body {
  7014. flex: 1;
  7015. @include bidi-style(margin-left, 24px, margin-right, 0);
  7016. display: flex;
  7017. align-items: center;
  7018. justify-content: center;
  7019. progress {
  7020. width: 100%;
  7021. }
  7022. }
  7023. .horizontal > .box {
  7024. margin-top: 4px;
  7025. margin-bottom: 4px;
  7026. & + .box {
  7027. border-left-width: 0;
  7028. }
  7029. }
  7030. .formset-inset {
  7031. margin: 34px -24px 24px;
  7032. padding: 19px 24px 24px;
  7033. background: var(--background-primary-alt);
  7034. border-top: 1px solid var(--border);
  7035. border-bottom: 1px solid var(--border);
  7036. }
  7037. .type-tabs {
  7038. @include phone {
  7039. overflow: hidden;
  7040. -webkit-overflow-scrolling: none;
  7041. }
  7042. }
  7043. .type-tabs .tab {
  7044. height: 40px;
  7045. line-height: 42px;
  7046. padding: 0 12px;
  7047. list-style: none;
  7048. align-items: flex-start;
  7049. @include phone {
  7050. display: block;
  7051. text-align: center;
  7052. flex-shrink: 1;
  7053. }
  7054. }
  7055. .type-tabs .tab-icon {
  7056. width: 17px;
  7057. height: 17px;
  7058. fill: var(--interactive-muted);
  7059. vertical-align: top;
  7060. @include bidi-style(margin-right, 9px, margin-left, 0);
  7061. margin-top: 11px;
  7062. transform: scale(1.2);
  7063. flex-shrink: 0;
  7064. }
  7065. .type-tabs .tab.active .tab-icon {
  7066. fill: var(--text-inverted);
  7067. }
  7068. .token {
  7069. @include ltr(padding, 0 0 0 10px);
  7070. margin: 0 5px 6px 0;
  7071. height: 26px;
  7072. color: var(--tag-text);
  7073. border-radius: 3px;
  7074. background: var(--tag-background);
  7075. border: none;
  7076. float: none;
  7077. display: inline-flex;
  7078. align-items: center;
  7079. cursor: default;
  7080. max-width: 100%;
  7081. &.active {
  7082. background: var(--highlight);
  7083. color: var(--text-inverted);
  7084. .close,
  7085. .token-close {
  7086. opacity: 1;
  7087. }
  7088. }
  7089. }
  7090. /*
  7091. selector needs to be stronger than .token-input
  7092. in order to override input[type=text]
  7093. */
  7094. .tokenfield .token-input {
  7095. vertical-align: top;
  7096. padding: 0 10px 7px 5px;
  7097. margin: 0;
  7098. min-width: 60px;
  7099. height: 32px;
  7100. display: inline-block;
  7101. border: none;
  7102. background: none;
  7103. box-shadow: none;
  7104. outline: none;
  7105. flex: 1;
  7106. &:focus {
  7107. box-shadow: none;
  7108. }
  7109. &[disabled] {
  7110. background: none;
  7111. }
  7112. }
  7113. .tokenfield .token ~ .token-input {
  7114. padding: 0 5px 7px 0;
  7115. }
  7116. .token-label {
  7117. padding: 0;
  7118. @include rtl(padding, 0 10px 0 0);
  7119. white-space: nowrap;
  7120. overflow: hidden;
  7121. text-overflow: ellipsis;
  7122. }
  7123. .tokenfield.form-control {
  7124. padding: 7px 7px 0;
  7125. height: auto;
  7126. display: flex;
  7127. flex-wrap: wrap;
  7128. }
  7129. .token .close,
  7130. .token-close {
  7131. margin: 0;
  7132. padding: 0 9px 1px 6px;
  7133. font-family: inherit;
  7134. font-weight: 100;
  7135. font-size: 28px;
  7136. line-height: 1;
  7137. color: inherit;
  7138. text-shadow: none;
  7139. opacity: 0.5;
  7140. outline: none;
  7141. height: auto;
  7142. @extend %clickable;
  7143. }
  7144. .token .close:hover,
  7145. .token-close:hover {
  7146. opacity: 0.5;
  7147. }
  7148. /* allow/show autocomplete in modal dialog */
  7149. .ui-autocomplete.ui-widget-content {
  7150. @extend .zIndex-11;
  7151. position: absolute;
  7152. max-height: 380px;
  7153. overflow: auto;
  7154. -webkit-overflow-scrolling: touch;
  7155. }
  7156. .ui-menu {
  7157. background: var(--background-tertiary);
  7158. border: none;
  7159. color: var(--text-inverted);
  7160. font-family: inherit;
  7161. font-size: inherit;
  7162. .ui-menu-item {
  7163. padding: 9px 15px;
  7164. list-style-image: none;
  7165. &.is-inactive {
  7166. text-decoration: line-through;
  7167. opacity: 0.73;
  7168. }
  7169. &:not(:first-child) {
  7170. box-shadow: 0 1px rgba(255, 255, 255, 0.13) inset;
  7171. }
  7172. &.ui-state-focus {
  7173. margin: 0;
  7174. border: none;
  7175. background: var(--highlight);
  7176. color: inherit;
  7177. + li {
  7178. box-shadow: none;
  7179. }
  7180. }
  7181. }
  7182. }
  7183. .drox {
  7184. color: var(--text-muted);
  7185. }
  7186. .drox .drox-header {
  7187. padding-bottom: 2px;
  7188. margin-bottom: 16px;
  7189. border-bottom: 1px solid var(--background-modifier-border);
  7190. }
  7191. .drox a.create {
  7192. margin-top: 2px;
  7193. display: inline-block;
  7194. }
  7195. .drox .form-group {
  7196. margin-bottom: 22px;
  7197. }
  7198. .drox .drox-body p:first-child {
  7199. margin-top: 20px;
  7200. }
  7201. .newTicket .templates {
  7202. border-bottom: 1px solid var(--background-modifier-border);
  7203. padding-bottom: 14px;
  7204. }
  7205. .templates-manage fieldset {
  7206. margin: 0;
  7207. }
  7208. .template-attributes {
  7209. margin: 17px 0 19px;
  7210. }
  7211. .template-attribute {
  7212. height: 24px;
  7213. line-height: 25px;
  7214. @include bidi-style(padding-left, 10px, padding-right, 0);
  7215. margin-bottom: 2px;
  7216. font-size: 13px;
  7217. color: var(--text-muted-alt);
  7218. background: var(--background-primary-alt);
  7219. border: 1px solid var(--border);
  7220. border-radius: 3px;
  7221. }
  7222. .template-attribute .key {
  7223. text-transform: uppercase;
  7224. @include bidi-style(margin-right, 3px, margin-left, 0);
  7225. }
  7226. .template-attribute .value {
  7227. @include bidi-style(margin-left, 3px, margin-right, 0);
  7228. }
  7229. .template-attribute .delete {
  7230. padding: 0 7px;
  7231. margin-top: 4px;
  7232. line-height: 19px;
  7233. font-size: 28px;
  7234. font-weight: 300;
  7235. opacity: 0.4;
  7236. }
  7237. .customer-name {
  7238. color: var(--text-normal);
  7239. }
  7240. .customer-email {
  7241. margin-top: 5px;
  7242. margin-bottom: 20px;
  7243. display: block;
  7244. }
  7245. .table.user-list {
  7246. tr:hover .switchView {
  7247. visibility: visible;
  7248. }
  7249. td .list {
  7250. margin-top: -4px;
  7251. }
  7252. .switchView {
  7253. visibility: hidden;
  7254. display: block;
  7255. text-overflow: ellipsis;
  7256. overflow: hidden;
  7257. }
  7258. .btn {
  7259. margin: 3px 5px 0;
  7260. }
  7261. }
  7262. .switchBackToUser {
  7263. display: flex;
  7264. align-items: center;
  7265. background: hsl(200, 87%, 45%);
  7266. color: var(--text-inverted);
  7267. height: 45px;
  7268. padding: 0 17px;
  7269. /* top: -45px !important; */
  7270. border-bottom: 5px solid hsl(205, 90%, 60%);
  7271. }
  7272. .switchBackToUser-icon {
  7273. width: 19px;
  7274. height: 18px;
  7275. }
  7276. .switchBackToUser-text {
  7277. @include bidi-style(margin-left, 10px, margin-right, 0);
  7278. }
  7279. .switchBackToUser-close {
  7280. width: 40px;
  7281. height: 40px;
  7282. @include bidi-style(margin-right, -10px, margin-left, 0);
  7283. display: flex;
  7284. align-items: center;
  7285. justify-content: center;
  7286. svg {
  7287. fill: var(--text-inverted);
  7288. }
  7289. }
  7290. .modal {
  7291. @extend .zIndex-11;
  7292. &-loader {
  7293. text-align: center;
  7294. padding: 70px;
  7295. }
  7296. &-backdrop--local {
  7297. background: var(--background-primary-alt);
  7298. }
  7299. }
  7300. .modal-dialog {
  7301. width: auto;
  7302. max-width: 660px;
  7303. margin-top: 35px;
  7304. margin-bottom: 35px;
  7305. @extend .zIndex-11;
  7306. @include phone {
  7307. max-width: calc(100% - 20px) !important;
  7308. margin: 10px;
  7309. }
  7310. &.wizard {
  7311. margin: 35px auto;
  7312. }
  7313. }
  7314. .modal--veryLarge .modal-dialog {
  7315. max-width: 990px;
  7316. }
  7317. .modal--large .modal-dialog {
  7318. max-width: 740px;
  7319. }
  7320. .modal--small .modal-dialog {
  7321. max-width: 440px;
  7322. }
  7323. .modal--dynamicSize .modal-dialog {
  7324. max-width: 100%;
  7325. width: max-content;
  7326. padding: 0 35px;
  7327. @include phone {
  7328. padding: 0;
  7329. margin: 10px;
  7330. }
  7331. }
  7332. .modal-dialog.wizard {
  7333. max-width: 460px;
  7334. }
  7335. .modal-content {
  7336. border-radius: 0;
  7337. border: 1px solid var(--border);
  7338. box-shadow: none;
  7339. color: var(--text-normal);
  7340. background: var(--background-secondary);
  7341. }
  7342. .modal-header {
  7343. padding: 30px 23px 23px;
  7344. border: none;
  7345. @include phone {
  7346. padding: 14px 15px;
  7347. }
  7348. &--empty {
  7349. padding: 0;
  7350. }
  7351. }
  7352. .modal-header h1 {
  7353. text-align: center;
  7354. @include phone {
  7355. text-align: initial;
  7356. line-height: 1.2;
  7357. }
  7358. }
  7359. .modal-close {
  7360. padding: 23px;
  7361. position: absolute;
  7362. z-index: 1;
  7363. right: 0;
  7364. color: var(--interactive-muted);
  7365. @include rtl(right, auto);
  7366. @include rtl(left, 0);
  7367. top: 0;
  7368. @extend .u-clickable;
  7369. @include phone {
  7370. position: static;
  7371. padding: 21px;
  7372. margin: -14px -15px 0 0;
  7373. float: right;
  7374. }
  7375. &:active {
  7376. color: var(--interactive-muted-active);
  7377. }
  7378. .icon-diagonal-cross {
  7379. fill: currentColor;
  7380. }
  7381. }
  7382. .modal-alerts-container {
  7383. padding: 0 23px;
  7384. }
  7385. .modal-body {
  7386. padding: 0 23px;
  7387. clear: both;
  7388. @include phone {
  7389. padding: 0 15px;
  7390. }
  7391. h2:first-child {
  7392. margin-top: 0;
  7393. }
  7394. p:first-child,
  7395. .alert.hidden:first-child + p {
  7396. margin-top: 0;
  7397. }
  7398. .table > thead > tr > th {
  7399. background: var(--background-primary-alt);
  7400. }
  7401. }
  7402. .modal-footer {
  7403. padding: 23px 23px 20px;
  7404. border: none;
  7405. display: flex;
  7406. @include rtl(text-align, left);
  7407. @include phone {
  7408. padding: 15px;
  7409. }
  7410. .btn--text + .btn--text {
  7411. margin-bottom: -10px;
  7412. }
  7413. }
  7414. .modal-leftFooter,
  7415. .modal-centerFooter,
  7416. .modal-rightFooter {
  7417. display: flex;
  7418. align-items: center; /* because of btn--text btn--subtle being thinner than the rest */
  7419. flex: 1;
  7420. }
  7421. .modal.modal--local {
  7422. display: block;
  7423. padding: 0 40px;
  7424. @extend .zIndex-11;
  7425. @include bidi-style(padding-left, 40px, padding-right, 0);
  7426. @include phone {
  7427. padding: 0 !important;
  7428. }
  7429. .modal-dialog {
  7430. box-shadow: 0 0 40px hsla(210, 17%, 40%, 0.34);
  7431. @include dark {
  7432. box-shadow: 0 0 40px hsla(0, 0%, 0%, 0.34);
  7433. }
  7434. }
  7435. }
  7436. .caret {
  7437. position: absolute;
  7438. top: 50%;
  7439. margin-top: -3px;
  7440. right: 10px;
  7441. }
  7442. .dropdown-backdrop {
  7443. @extend .zIndex-5; // has to be behind dropdown-menu
  7444. }
  7445. .dropdown-menu {
  7446. @extend .zIndex-6; // has to be behind modal windows and beneath notifications (popover)
  7447. margin: 0;
  7448. padding: 0;
  7449. min-width: 100%;
  7450. color: var(--text-inverted);
  7451. text-transform: initial;
  7452. letter-spacing: 0;
  7453. background: var(--background-tertiary);
  7454. border-radius: 0;
  7455. border: none;
  7456. box-shadow: none;
  7457. overflow: hidden;
  7458. @include rtl(text-align, right);
  7459. overscroll-behavior: contain;
  7460. }
  7461. .dropdown-menu .divider {
  7462. background: var(--background-modifier-border);
  7463. }
  7464. .dropdown-menu kbd {
  7465. background: none;
  7466. color: inherit;
  7467. padding: 2px 5px;
  7468. @include bidi-style(margin-left, 7px, margin-right, 0);
  7469. line-height: 1;
  7470. vertical-align: baseline;
  7471. opacity: 0.5;
  7472. }
  7473. .dropdown-toggle {
  7474. display: flex;
  7475. align-items: center;
  7476. @extend .u-clickable;
  7477. }
  7478. .dropdown-icon {
  7479. width: 16px;
  7480. height: 16px;
  7481. }
  7482. .dropdown-menu.dropdown-menu--light {
  7483. background: var(--background-secondary);
  7484. color: var(--text-muted);
  7485. }
  7486. .dropdown-menu.dropdown-menu--light > li {
  7487. color: var(--text-nav);
  7488. &.dropdown-header {
  7489. color: var(--text-muted);
  7490. }
  7491. }
  7492. .dropdown-menu.dropdown-menu--light > li > a:hover {
  7493. background: var(--background-secondary-hover);
  7494. }
  7495. .user-menu li.add .dropdown-menu.dropdown-menu--light li > a:hover {
  7496. color: var(--text-normal);
  7497. }
  7498. .dropdown-menu.dropdown-menu--light li:hover {
  7499. background: none;
  7500. }
  7501. .dropdown-menu.dropdown-menu--light li.is-active {
  7502. color: var(--text-inverted);
  7503. }
  7504. .dropdown ul {
  7505. margin: 0;
  7506. padding: 0;
  7507. }
  7508. .dropdown li,
  7509. .dropup li {
  7510. height: 39px;
  7511. line-height: 39px;
  7512. padding: 0 15px;
  7513. @extend %clickable;
  7514. white-space: nowrap;
  7515. &:focus {
  7516. outline: none;
  7517. }
  7518. &.is-active {
  7519. small {
  7520. color: var(--text-muted-highlight);
  7521. }
  7522. }
  7523. }
  7524. .dropdown.dropdown--actions li.with-category {
  7525. height: 39px;
  7526. padding: 2.5px 15px;
  7527. display: block;
  7528. }
  7529. .dropdown li:not(:first-child) {
  7530. box-shadow: 0 1px rgba(255, 255, 255, 0.13) inset;
  7531. }
  7532. .dropdown li.label {
  7533. box-shadow: none;
  7534. + li {
  7535. box-shadow: none;
  7536. }
  7537. }
  7538. .dropdown li:hover,
  7539. .dropdown li.is-active {
  7540. background: var(--highlight);
  7541. + li {
  7542. box-shadow: none;
  7543. }
  7544. }
  7545. .dropdown-menu > li.danger:hover,
  7546. .dropdown-menu > li.danger.is-active {
  7547. background: var(--danger-color);
  7548. }
  7549. .dropdown-menu > li.create:hover,
  7550. .dropdown-menu > li.create.is-active {
  7551. background: hsl(145, 51%, 45%);
  7552. }
  7553. .dropdown-menu > li[disabled] {
  7554. opacity: 0.33;
  7555. &:hover,
  7556. &.is-active {
  7557. background: none;
  7558. cursor: default;
  7559. }
  7560. }
  7561. .dropdown-menu > li > a {
  7562. color: inherit;
  7563. padding: 0 15px;
  7564. margin: 0 -15px;
  7565. line-height: inherit;
  7566. }
  7567. .dropdown-menu > li > a:hover {
  7568. color: inherit;
  7569. background: none;
  7570. }
  7571. .dropdown-menu > li > a span {
  7572. display: block;
  7573. }
  7574. .dropdown-menu .badge--text {
  7575. @include bidi-style(padding-left, 10px, padding-right, 0);
  7576. }
  7577. .dropdown.dropdown--actions {
  7578. li {
  7579. line-height: initial;
  7580. height: auto;
  7581. padding: 11px 15px;
  7582. display: flex;
  7583. align-items: center;
  7584. word-break: break-all;
  7585. }
  7586. .dropdown-iconSpacer,
  7587. .dropdown-selectedSpacer {
  7588. display: flex;
  7589. align-items: center;
  7590. }
  7591. .dropdown-iconSpacer {
  7592. width: 25px;
  7593. }
  7594. .dropdown-selectedSpacer {
  7595. width: 34px;
  7596. @include bidi-style(margin-left, auto, margin-right, 0);
  7597. justify-content: flex-end;
  7598. opacity: 0;
  7599. .icon {
  7600. fill: var(--text-inverted);
  7601. }
  7602. &.is-selected {
  7603. opacity: 1;
  7604. }
  7605. }
  7606. a {
  7607. @extend .u-clickable;
  7608. display: flex;
  7609. flex: 1;
  7610. padding: 0 18px;
  7611. }
  7612. li.dropdown-highlight-list {
  7613. padding: 0 10px;
  7614. a {
  7615. padding: 11px 18px;
  7616. }
  7617. }
  7618. }
  7619. .dropdown.dropdown--wide {
  7620. li {
  7621. padding-top: 12px;
  7622. padding-bottom: 12px;
  7623. }
  7624. }
  7625. li.dropdown-header {
  7626. line-height: 34px;
  7627. height: 30px;
  7628. color: var(--text-muted);
  7629. box-shadow: none !important;
  7630. pointer-events: none;
  7631. }
  7632. .dropdown-menu--has-submenu {
  7633. overflow: hidden;
  7634. background: none;
  7635. ul {
  7636. background: var(--background-tertiary);
  7637. }
  7638. }
  7639. .dropdown-submenu {
  7640. position: absolute;
  7641. top: 0;
  7642. left: 0;
  7643. width: 100%;
  7644. }
  7645. .dropdown.dropdown--actions .dropdown-controls {
  7646. @extend .u-clickable;
  7647. display: flex;
  7648. .icon {
  7649. fill: var(--text-inverted);
  7650. @include bidi-style(margin-right, 10px, margin-left, 0);
  7651. flex-shrink: 0;
  7652. }
  7653. }
  7654. .dropdown-title {
  7655. flex-shrink: 1;
  7656. overflow: hidden;
  7657. text-overflow: ellipsis;
  7658. white-space: nowrap;
  7659. }
  7660. .dropdown-detail {
  7661. opacity: 0.5;
  7662. }
  7663. .dropdown {
  7664. .dropdown-menu-full-height {
  7665. li {
  7666. padding: 0;
  7667. }
  7668. a {
  7669. padding: 11px 18px;
  7670. margin: 0;
  7671. }
  7672. }
  7673. }
  7674. .recipientList,
  7675. .recipientList-organizationMembers {
  7676. list-style: none;
  7677. padding: 0;
  7678. }
  7679. .recipientList-entry {
  7680. display: flex;
  7681. align-items: center;
  7682. @extend .u-clickable;
  7683. &.is-inactive {
  7684. .recipientList-name {
  7685. text-decoration: line-through;
  7686. opacity: 0.73;
  7687. }
  7688. }
  7689. }
  7690. .recipientList-entry .recipientList-iconSpacer {
  7691. width: 20px;
  7692. @include bidi-style(margin-left, -5px, margin-right, 0);
  7693. display: flex;
  7694. align-items: center;
  7695. justify-content: center;
  7696. flex-shrink: 0;
  7697. }
  7698. .recipientList-icon {
  7699. width: 16px;
  7700. height: 16px;
  7701. fill: var(--text-inverted);
  7702. opacity: 0.2;
  7703. }
  7704. .recipientList--new,
  7705. .recipientList-entry:hover,
  7706. .recipientList-entry.is-active {
  7707. .recipientList-icon {
  7708. opacity: 1;
  7709. }
  7710. }
  7711. .recipientList-name {
  7712. color: var(--text-inverted);
  7713. @include bidi-style(margin-left, 10px, margin-right, 0);
  7714. flex: 1;
  7715. @extend .u-textTruncate;
  7716. }
  7717. .recipientList-status {
  7718. opacity: 0.5;
  7719. margin: 0 10px;
  7720. flex-shrink: 1;
  7721. &:last-child {
  7722. margin-right: 0;
  7723. }
  7724. }
  7725. .recipientList-arrow {
  7726. fill: var(--text-inverted);
  7727. opacity: 0.39;
  7728. }
  7729. .recipientList-entry:hover .recipientList-arrow {
  7730. opacity: 1;
  7731. }
  7732. .recipientList-detail {
  7733. opacity: 0.5;
  7734. &.is-inactive > span {
  7735. text-decoration: line-through;
  7736. }
  7737. }
  7738. .recipientList-icon.plus {
  7739. @include bidi-style(margin-left, 13px, margin-right, 0);
  7740. }
  7741. .recipientList--new {
  7742. background: hsl(145, 51%, 45%);
  7743. }
  7744. .dropdown .recipientList--new:hover {
  7745. background: hsl(147, 52%, 43%);
  7746. }
  7747. .recipientList-controls {
  7748. @extend .u-clickable;
  7749. padding: 0 10px !important;
  7750. .dropdown &:hover {
  7751. background: var(--supergood-color);
  7752. .icon-arrow-left {
  7753. fill: var(--text-inverted);
  7754. }
  7755. }
  7756. & + li {
  7757. box-shadow: 0 1px rgba(255, 255, 255, 0.13) inset;
  7758. }
  7759. }
  7760. .recipientList-organizationMembers {
  7761. position: absolute;
  7762. top: 0;
  7763. left: 0;
  7764. right: 0;
  7765. }
  7766. .organizationInfo-avatar,
  7767. .userInfo-avatar {
  7768. float: right;
  7769. @include rtl(float, left);
  7770. position: relative;
  7771. }
  7772. .userList {
  7773. list-style: none;
  7774. padding: 0;
  7775. .userList-entry {
  7776. margin: 10px 0;
  7777. display: flex;
  7778. align-items: center;
  7779. &:last-child {
  7780. margin-bottom: 0;
  7781. }
  7782. }
  7783. .userList-name {
  7784. @extend .u-textTruncate;
  7785. @include bidi-style(margin-left, 7px, margin-right, 0);
  7786. }
  7787. }
  7788. .checkbox,
  7789. .radio {
  7790. font-size: 14px;
  7791. padding: 0 6px;
  7792. .form-group & {
  7793. padding: 10px 12px;
  7794. margin: 0;
  7795. list-style: none;
  7796. height: auto;
  7797. display: flex;
  7798. flex-direction: column;
  7799. align-items: flex-start;
  7800. background: var(--background-secondary);
  7801. border: 1px solid var(--border);
  7802. }
  7803. .checkbox-replacement {
  7804. display: inline-block;
  7805. }
  7806. label {
  7807. padding-left: 0;
  7808. min-height: 0;
  7809. }
  7810. > label,
  7811. &-child {
  7812. margin-top: 5px;
  7813. font-family: inherit;
  7814. font-size: 14px;
  7815. color: inherit;
  7816. text-transform: inherit;
  7817. letter-spacing: 0;
  7818. line-height: 1.2;
  7819. &:first-child {
  7820. margin-top: 0;
  7821. }
  7822. &.is-disabled {
  7823. cursor: default;
  7824. touch-action: default;
  7825. span {
  7826. opacity: 0.33;
  7827. }
  7828. }
  7829. &.additional-radio-controls {
  7830. margin-top: 0;
  7831. .controls {
  7832. display: inline-flex;
  7833. margin-left: 5px;
  7834. }
  7835. }
  7836. }
  7837. &-child {
  7838. padding-left: 20px;
  7839. }
  7840. .help-text {
  7841. display: table;
  7842. font-size: 0.92em;
  7843. margin: 2px 0 3px 18px;
  7844. }
  7845. }
  7846. .checkbox.form-group .checkbox--list,
  7847. .radio.form-group .radio--list {
  7848. margin-top: 0;
  7849. margin-bottom: 15px;
  7850. height: auto;
  7851. padding-top: 3px;
  7852. padding-bottom: 3px;
  7853. }
  7854. .checkbox,
  7855. .radio {
  7856. &.form-group .controls label {
  7857. padding: 2px 0;
  7858. font: inherit;
  7859. margin-bottom: 0;
  7860. color: inherit;
  7861. text-transform: inherit;
  7862. letter-spacing: 0;
  7863. line-height: 1.2;
  7864. &:first-child {
  7865. margin-top: 0;
  7866. }
  7867. &.is-disabled {
  7868. cursor: default;
  7869. touch-action: default;
  7870. span {
  7871. opacity: 0.33;
  7872. }
  7873. }
  7874. }
  7875. &-child {
  7876. padding-left: 20px;
  7877. }
  7878. }
  7879. .radio_graphic .selections-container {
  7880. display: grid;
  7881. grid-gap: 10px;
  7882. // fit as many as possible in one line, they must at least be 112px wide
  7883. grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
  7884. label {
  7885. margin-top: 0;
  7886. position: relative;
  7887. }
  7888. .icon {
  7889. flex-shrink: 0;
  7890. }
  7891. .icon-checked {
  7892. display: none;
  7893. }
  7894. .label-box {
  7895. display: block;
  7896. background: var(--background-secondary);
  7897. border: 1px solid var(--border);
  7898. border-radius: 5px;
  7899. overflow: hidden;
  7900. }
  7901. .label-row {
  7902. display: flex;
  7903. align-items: center;
  7904. padding: 5px 10px;
  7905. }
  7906. .label-text {
  7907. display: block;
  7908. margin-left: 5px;
  7909. white-space: nowrap;
  7910. overflow: hidden;
  7911. text-overflow: ellipsis;
  7912. }
  7913. .radio-illustration {
  7914. display: block;
  7915. width: 100%;
  7916. padding-bottom: 100%;
  7917. position: relative;
  7918. img {
  7919. width: 100%;
  7920. height: 100%;
  7921. position: absolute;
  7922. left: 0;
  7923. top: 0;
  7924. object-fit: cover;
  7925. }
  7926. }
  7927. input {
  7928. &:checked {
  7929. ~ .label-box {
  7930. border-color: var(--border-highlight);
  7931. box-shadow: 0 0 0 3px var(--shadow-highlight);
  7932. .icon-checked {
  7933. display: inline;
  7934. }
  7935. .icon-unchecked {
  7936. display: none;
  7937. }
  7938. }
  7939. }
  7940. }
  7941. }
  7942. .userSearch-label {
  7943. margin-top: 11px;
  7944. @include bidi-style(margin-right, 10px, margin-left, 0);
  7945. }
  7946. .userSearch .tab:not(.active) {
  7947. background: var(--background-secondary);
  7948. }
  7949. .userSearch {
  7950. margin: 0 0 20px;
  7951. }
  7952. .userSearch .tabs {
  7953. margin: 0;
  7954. }
  7955. .nav {
  7956. list-style: none;
  7957. padding: 0;
  7958. margin: 0;
  7959. }
  7960. .nav a {
  7961. padding: 10px 15px;
  7962. display: block;
  7963. }
  7964. .nav-tabs {
  7965. display: flex;
  7966. margin: 10px -20px 20px;
  7967. padding: 0 20px 0 21px; /* margin-left: -1px */
  7968. @include rtl(padding, 0 21px 0 20px);
  7969. position: relative;
  7970. }
  7971. .nav-tabs li {
  7972. margin: 0;
  7973. color: var(--interactive-muted);
  7974. border: 1px solid var(--border);
  7975. margin-left: -1px;
  7976. background: var(--background-secondary);
  7977. position: relative;
  7978. &:first-child {
  7979. border-radius: 7px 0 0 7px;
  7980. @include rtl(border-radius, 0 7px 7px 0);
  7981. }
  7982. &:last-child {
  7983. border-radius: 0 7px 7px 0;
  7984. @include rtl(border-radius, 7px 0 0 7px);
  7985. }
  7986. &:only-child {
  7987. border-radius: 7px;
  7988. }
  7989. &.active {
  7990. color: var(--text-inverted);
  7991. background: var(--button-active);
  7992. }
  7993. a {
  7994. padding: 10px 24px 8px;
  7995. color: inherit;
  7996. color: inherit;
  7997. }
  7998. }
  7999. .tab-content {
  8000. h2:first-child {
  8001. margin-top: 0;
  8002. }
  8003. }
  8004. .or-divider {
  8005. position: relative;
  8006. margin: 16px 0;
  8007. text-align: center;
  8008. &::before {
  8009. content: '';
  8010. position: absolute;
  8011. left: 0;
  8012. width: 100%;
  8013. top: 50%;
  8014. margin-top: -1px;
  8015. height: 1px;
  8016. background: hsla(0, 0%, 0%, 0.1);
  8017. }
  8018. span {
  8019. position: relative;
  8020. background: var(--background-secondary);
  8021. padding: 0 10px;
  8022. .modal-body & {
  8023. background: var(--background-primary);
  8024. }
  8025. }
  8026. }
  8027. .settings-entry {
  8028. margin-bottom: 42px;
  8029. max-width: 700px;
  8030. @include phone {
  8031. overflow: auto;
  8032. -webkit-overflow-scrolling: touch;
  8033. }
  8034. &--stretched {
  8035. max-width: none;
  8036. }
  8037. }
  8038. .setting-controls {
  8039. margin-top: 14px;
  8040. display: flex;
  8041. justify-content: flex-end;
  8042. }
  8043. .form-item .form-group {
  8044. margin-bottom: 0;
  8045. }
  8046. .form-item .form-group + .form-group {
  8047. margin-top: 15px;
  8048. }
  8049. .form-item + .btn {
  8050. @include bidi-style(margin-left, 23px, margin-right, 0);
  8051. }
  8052. .scrollPageHeader {
  8053. @extend .zIndex-5;
  8054. display: flex;
  8055. align-items: center;
  8056. background: var(--background-secondary);
  8057. border-bottom: 1px solid var(--border);
  8058. height: 64px;
  8059. top: 0;
  8060. left: 0;
  8061. right: 0;
  8062. padding: 0 22px;
  8063. position: absolute;
  8064. transform: translateY(-100%);
  8065. @include phone {
  8066. height: 50px;
  8067. padding: 0 6px;
  8068. overflow: hidden;
  8069. &.is-closed {
  8070. overflow: visible;
  8071. }
  8072. }
  8073. }
  8074. .scrollPageHeader small {
  8075. color: var(--text-muted-alt);
  8076. @include phone {
  8077. margin-top: 1px;
  8078. @include bidi-style(margin-left, 3px, margin-right, 0);
  8079. }
  8080. }
  8081. .scrollPageHeader .ticket-title {
  8082. max-width: initial;
  8083. padding: 0;
  8084. min-width: 0;
  8085. flex: 1;
  8086. }
  8087. .scrollPageHeader h1 {
  8088. font-size: 19px;
  8089. margin: 0 15px;
  8090. @extend .u-textTruncate;
  8091. @include phone {
  8092. font-size: 17px;
  8093. margin: 0 5px;
  8094. }
  8095. }
  8096. .wizard {
  8097. margin: auto; // makes sure that the wizard is scrollable
  8098. }
  8099. .wizard-logo {
  8100. fill: var(--text-inverted);
  8101. @include bidi-style(margin-left, -25px, margin-right, 0);
  8102. margin-bottom: 5px;
  8103. }
  8104. .wizard-slide {
  8105. @extend .hero-unit;
  8106. display: flex;
  8107. flex-direction: column;
  8108. width: 400px;
  8109. padding-bottom: 18px;
  8110. margin-bottom: 20px;
  8111. &.wizard-slide--large {
  8112. width: 460px;
  8113. }
  8114. &.wizard-slide--very-large {
  8115. width: auto;
  8116. max-width: 990px;
  8117. }
  8118. }
  8119. .wizard h2 {
  8120. text-align: center;
  8121. border-bottom: 1px solid rgba(0, 0, 0, 0.13);
  8122. padding-bottom: 8px;
  8123. margin-bottom: 16px;
  8124. & + p {
  8125. margin-top: 0;
  8126. }
  8127. }
  8128. .wizard-body {
  8129. flex: 1;
  8130. padding-bottom: 15px;
  8131. @include phone {
  8132. width: 100%;
  8133. }
  8134. .form-control {
  8135. min-width: 0;
  8136. }
  8137. }
  8138. .wizard-controls {
  8139. display: flex;
  8140. margin-top: 15px;
  8141. height: 39px;
  8142. }
  8143. .wizard-buttonList {
  8144. margin-top: 15px;
  8145. min-width: 200px;
  8146. }
  8147. p + .wizard-buttonList,
  8148. label + .wizard-buttonList {
  8149. margin-top: 5px;
  8150. }
  8151. .wizard-loadingText {
  8152. text-align: center;
  8153. margin: 0;
  8154. }
  8155. .wizard-loadingText .loading {
  8156. vertical-align: middle;
  8157. @include bidi-style(margin-right, 10px, margin-left, 0);
  8158. }
  8159. .wizard-aside {
  8160. padding-top: 15px;
  8161. text-align: center;
  8162. border-top: 1px solid rgba(0, 0, 0, 0.13);
  8163. }
  8164. .setup.wizard .wizard-body {
  8165. min-height: 140px;
  8166. & > p:first-child {
  8167. margin-top: 0;
  8168. }
  8169. }
  8170. .setup.wizard .logo-preview,
  8171. .branding .logo-preview {
  8172. display: block;
  8173. height: 0;
  8174. max-width: 200px;
  8175. max-height: 100px;
  8176. &[src=''] {
  8177. visibility: hidden;
  8178. }
  8179. + .logo-preview-placeholder {
  8180. height: 100px;
  8181. color: var(--text-muted);
  8182. background: var(--background-modifier-accent);
  8183. margin-bottom: 10px;
  8184. display: flex;
  8185. align-items: center;
  8186. justify-content: center;
  8187. }
  8188. }
  8189. .setup.wizard .logo-preview:not([src='']) {
  8190. margin: 0 auto 15px;
  8191. height: auto;
  8192. + .logo-preview-placeholder {
  8193. display: none;
  8194. }
  8195. }
  8196. .setup.wizard .base-outbound-settings {
  8197. margin-top: 15px;
  8198. }
  8199. .branding .logo-preview:not([src='']) {
  8200. margin: 20px auto 12px;
  8201. height: auto;
  8202. + .logo-preview-placeholder {
  8203. display: none;
  8204. }
  8205. }
  8206. .branding.login {
  8207. padding: 24px 24px 0;
  8208. }
  8209. .import.wizard .wizard-slide {
  8210. min-height: 300px;
  8211. }
  8212. .import-source {
  8213. border-radius: 5px;
  8214. border: 1px solid rgba(0, 0, 0, 0.13);
  8215. height: 50px;
  8216. margin: 5px 0;
  8217. @extend .u-clickable;
  8218. }
  8219. .input-feedback {
  8220. position: absolute;
  8221. @include bidi-style(padding-left, 10px, padding-right, 0);
  8222. right: 1px;
  8223. top: 1px;
  8224. bottom: 1px;
  8225. width: 52px;
  8226. border-radius: 0 5px 5px 0;
  8227. background: linear-gradient(to right, rgba(255, 255, 255, 0), white 33%);
  8228. &--no-background {
  8229. background: none;
  8230. }
  8231. }
  8232. .input-group-addon {
  8233. color: inherit;
  8234. }
  8235. .input-feedback--no-background {
  8236. background: none;
  8237. }
  8238. .input-feedback .icon {
  8239. display: none;
  8240. }
  8241. .input-feedback[data-state='loading'] .loading.icon,
  8242. .input-feedback[data-state='error'] .icon-error,
  8243. .input-feedback[data-state='success'] .icon-checkmark {
  8244. display: block;
  8245. }
  8246. .progressTable {
  8247. width: 100%;
  8248. margin: 0 auto;
  8249. }
  8250. .progressTable td {
  8251. padding: 8px;
  8252. overflow: auto;
  8253. -webkit-overflow-scrolling: touch;
  8254. width: 33%;
  8255. }
  8256. .progressTable tr:not(:last-child) {
  8257. border-bottom: 1px solid #eee;
  8258. }
  8259. .progressTable td:first-child {
  8260. text-align: end;
  8261. }
  8262. .progressTable progress {
  8263. width: 100%;
  8264. min-width: 60px;
  8265. display: block;
  8266. }
  8267. .progressTable .icon-checkmark {
  8268. @include bidi-style(margin-left, 10px, margin-right, 0);
  8269. opacity: 0;
  8270. }
  8271. .progressTable tr.is-done .icon-checkmark {
  8272. opacity: 1;
  8273. }
  8274. .channelList {
  8275. flex: 1;
  8276. display: flex;
  8277. flex-direction: column;
  8278. background: var(--background-secondary);
  8279. border-radius: 2px;
  8280. margin: 5px 0 20px;
  8281. box-shadow: var(--elevation-low);
  8282. }
  8283. .channelList,
  8284. .channelList-controls,
  8285. .channelList-controlEntry {
  8286. border: 1px solid var(--border);
  8287. }
  8288. .channelList-entry {
  8289. display: flex;
  8290. cursor: default;
  8291. padding: 5px 8px;
  8292. &:not(:last-child) {
  8293. border-bottom: 1px solid var(--border);
  8294. }
  8295. }
  8296. .channelList-label {
  8297. margin: 0 10px;
  8298. flex: 1;
  8299. & > * {
  8300. @extend .u-textTruncate;
  8301. }
  8302. }
  8303. .channelList-status {
  8304. font-size: 12px;
  8305. color: var(--text-muted);
  8306. }
  8307. .channelList-placeholder {
  8308. display: flex;
  8309. align-items: center;
  8310. justify-content: center;
  8311. flex: 1;
  8312. color: var(--text-muted);
  8313. }
  8314. .channelList-controls {
  8315. margin-top: auto;
  8316. display: flex;
  8317. background: var(--background-quaternary-alt);
  8318. border-left: none;
  8319. border-right: none;
  8320. border-bottom: none;
  8321. }
  8322. .channelList-controlEntry {
  8323. display: flex;
  8324. justify-content: center;
  8325. width: 26px;
  8326. height: 26px;
  8327. border-left: none;
  8328. border-top: none;
  8329. border-bottom: none;
  8330. position: relative;
  8331. [data-toggle='dropdown'] {
  8332. position: relative;
  8333. }
  8334. .icon {
  8335. opacity: 0.8;
  8336. }
  8337. }
  8338. .avatar-gallery {
  8339. display: flex;
  8340. flex-wrap: wrap;
  8341. }
  8342. .avatar-holder {
  8343. display: inline-block;
  8344. position: relative;
  8345. margin: 0 32px 32px 0;
  8346. border-radius: 100%;
  8347. box-shadow: 0 0 0 4px var(--background-secondary);
  8348. .avatar {
  8349. @extend .u-clickable;
  8350. &.is-active {
  8351. box-shadow: 0 0 0 4px var(--border-highlight);
  8352. }
  8353. }
  8354. }
  8355. .avatar--new {
  8356. background: hsl(145, 51%, 45%);
  8357. @extend .u-clickable;
  8358. }
  8359. .avatar-holder .avatar-delete {
  8360. position: absolute;
  8361. right: -15px;
  8362. top: -15px;
  8363. width: 40px;
  8364. height: 40px;
  8365. pointer-events: none;
  8366. visibility: hidden;
  8367. background: var(--background-secondary);
  8368. display: flex;
  8369. align-items: center;
  8370. justify-content: center;
  8371. border-radius: 100%;
  8372. box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
  8373. @extend .u-clickable;
  8374. svg {
  8375. opacity: 0.5;
  8376. fill: var(--interactive-primary);
  8377. }
  8378. &:hover svg {
  8379. opacity: 1;
  8380. }
  8381. }
  8382. .avatar-holder:hover .avatar-delete {
  8383. visibility: visible;
  8384. pointer-events: auto;
  8385. }
  8386. .camera video {
  8387. position: absolute;
  8388. visibility: hidden;
  8389. pointer-events: none;
  8390. }
  8391. .camera-preview {
  8392. display: block;
  8393. margin: 0 auto;
  8394. }
  8395. .camera-flash {
  8396. @extend .fit;
  8397. background: var(--background-secondary);
  8398. opacity: 0;
  8399. @extend .u-unclickable;
  8400. }
  8401. .camera-flash.is-active {
  8402. animation: flash 500ms ease;
  8403. }
  8404. @keyframes flash {
  8405. 0% {
  8406. opacity: 0;
  8407. }
  8408. 50% {
  8409. opacity: 1;
  8410. }
  8411. 100% {
  8412. opacity: 0;
  8413. }
  8414. }
  8415. .fileUpload {
  8416. position: relative;
  8417. overflow: hidden;
  8418. &.btn input:focus + label {
  8419. text-decoration: none;
  8420. }
  8421. }
  8422. .fileUpload label {
  8423. font-size: inherit;
  8424. color: inherit;
  8425. letter-spacing: inherit;
  8426. text-transform: inherit;
  8427. display: inline;
  8428. margin: 0;
  8429. }
  8430. .fileUpload input {
  8431. position: absolute;
  8432. right: 0;
  8433. top: 0;
  8434. font-size: 118px;
  8435. margin: 0;
  8436. padding: 0;
  8437. @extend %clickable;
  8438. opacity: 0;
  8439. &:focus + label {
  8440. text-decoration: underline;
  8441. }
  8442. }
  8443. .imagePreview {
  8444. margin-top: 45px;
  8445. @include phone {
  8446. margin-top: 0;
  8447. }
  8448. img {
  8449. width: auto !important;
  8450. max-width: 100% !important;
  8451. max-height: calc(100vh - 218px) !important;
  8452. }
  8453. }
  8454. .imageCropper p {
  8455. margin: 0;
  8456. }
  8457. .imageCropper-holder {
  8458. height: 340px;
  8459. margin: 15px 0;
  8460. }
  8461. .imageCropper-image {
  8462. max-width: 100%;
  8463. max-height: 100%;
  8464. opacity: 0;
  8465. }
  8466. .imageCropper-preview {
  8467. width: 40px;
  8468. height: 40px;
  8469. border-radius: 100%;
  8470. overflow: hidden;
  8471. margin: 0 10px;
  8472. }
  8473. .cropper-container {
  8474. /* prevent cropper.js's centering – we center via flex */
  8475. left: 0 !important;
  8476. }
  8477. .profile {
  8478. padding: 60px;
  8479. overflow: auto;
  8480. -webkit-overflow-scrolling: touch;
  8481. flex: 1;
  8482. @include phone {
  8483. padding: 0;
  8484. margin: 0;
  8485. }
  8486. h1 {
  8487. margin: 18px 0 0;
  8488. }
  8489. .tabs {
  8490. margin-top: 2px;
  8491. margin-bottom: 25px;
  8492. }
  8493. }
  8494. .profile-window {
  8495. color: var(--text-normal);
  8496. background: var(--background-secondary);
  8497. max-width: 660px;
  8498. margin: 0 auto;
  8499. border: 1px solid var(--border);
  8500. }
  8501. .profile-section {
  8502. padding: 20px 50px;
  8503. @include phone {
  8504. padding: 10px;
  8505. }
  8506. &.profile-memberSection {
  8507. margin-bottom: 10px;
  8508. }
  8509. }
  8510. .profile-section:not(:last-child) {
  8511. border-bottom: 1px solid var(--background-modifier-border);
  8512. }
  8513. .profile-action {
  8514. @include bidi-style(margin-right, -20px, margin-left, 0);
  8515. @include phone {
  8516. @include bidi-style(margin-right, 0, margin-left, 0);
  8517. }
  8518. .dropdown-toggle {
  8519. margin-top: -20px;
  8520. @include bidi-style(margin-right, -30px, margin-left, 0);
  8521. margin-bottom: 8px;
  8522. padding: 26px 40px 2px;
  8523. @include phone {
  8524. margin-top: -5px;
  8525. padding: 10px 0 5px;
  8526. @include bidi-style(margin-right, 0, margin-left, 0);
  8527. }
  8528. }
  8529. label {
  8530. margin: 0 8px;
  8531. padding: 0;
  8532. cursor: inherit;
  8533. }
  8534. }
  8535. .profile-subtitle {
  8536. font-size: 16px;
  8537. @extend .u-highlight;
  8538. }
  8539. .profile-details {
  8540. @include bidi-style(margin-left, -50px, margin-right, 0);
  8541. }
  8542. .profile-ticketsPlaceholder {
  8543. flex: 1;
  8544. margin: 8px 0 22px;
  8545. color: var(--text-muted);
  8546. .stat-icon {
  8547. margin-bottom: 10px;
  8548. }
  8549. }
  8550. .profile-detailsEntry {
  8551. margin: 8px 0;
  8552. @include bidi-style(padding-left, 50px, padding-right, 0);
  8553. width: 50%;
  8554. }
  8555. .profile-detailsEntry label {
  8556. padding: 0;
  8557. margin-bottom: 2px;
  8558. display: block;
  8559. }
  8560. .profile-organizationMember {
  8561. @extend .profile-detailsEntry;
  8562. display: flex;
  8563. align-items: center;
  8564. .avatar {
  8565. @include bidi-style(margin-right, 10px, margin-left, 0);
  8566. }
  8567. }
  8568. .profile-ticketLists {
  8569. display: flex;
  8570. margin: 0 -25px;
  8571. @include phone {
  8572. display: block;
  8573. margin: 0;
  8574. }
  8575. }
  8576. .profile-ticketList {
  8577. display: flex;
  8578. flex-direction: column;
  8579. flex: 1 1 50%;
  8580. padding: 0 25px;
  8581. min-width: 0; /* Firefox wrong content-calculation with word-wrap workaround */
  8582. @include phone {
  8583. padding: 0;
  8584. margin-bottom: 10px;
  8585. &:last-child {
  8586. margin-bottom: 0;
  8587. }
  8588. }
  8589. .tasks {
  8590. margin-bottom: 10px;
  8591. display: flex;
  8592. flex-basis: auto;
  8593. flex-direction: column;
  8594. }
  8595. }
  8596. .profile .frequency.stat-widget {
  8597. height: 230px;
  8598. @include phone {
  8599. display: none;
  8600. }
  8601. .stat-bars {
  8602. height: 100px;
  8603. }
  8604. }
  8605. .highlighter {
  8606. display: flex;
  8607. }
  8608. [data-highlightcolor='Yellow']::selection {
  8609. background: var(--highlighter-yellow);
  8610. }
  8611. .highlight-Yellow {
  8612. background: var(--highlighter-yellow);
  8613. }
  8614. [data-highlightcolor='Green']::selection {
  8615. background: var(--highlighter-green);
  8616. }
  8617. .highlight-Green {
  8618. background: var(--highlighter-green);
  8619. }
  8620. [data-highlightcolor='Blue']::selection {
  8621. background: var(--highlighter-blue);
  8622. }
  8623. .highlight-Blue {
  8624. background: var(--highlighter-blue);
  8625. }
  8626. [data-highlightcolor='Pink']::selection {
  8627. background: var(--highlighter-pink);
  8628. }
  8629. .highlight-Pink {
  8630. background: var(--highlighter-pink);
  8631. }
  8632. [data-highlightcolor='Purple']::selection {
  8633. background: var(--highlighter-purple);
  8634. }
  8635. .highlight-Purple {
  8636. background: var(--highlighter-purple);
  8637. }
  8638. .translationOverview {
  8639. tbody > tr > td {
  8640. padding: 20px 0 0 10px;
  8641. }
  8642. .translationOverview-itemContainer {
  8643. padding: 10px 0 10px 10px;
  8644. }
  8645. .translationOverview-source {
  8646. width: 25%;
  8647. }
  8648. .translationOverview-target {
  8649. width: 35%;
  8650. }
  8651. .translationOverview-initial {
  8652. width: 25%;
  8653. }
  8654. .translationOverview-item {
  8655. width: 100%;
  8656. }
  8657. }
  8658. .overview-navigator {
  8659. display: flex;
  8660. }
  8661. .overview-navigator .pagination {
  8662. margin: 0 0 0 10px;
  8663. @include rtl(margin, 0 10px 0 0);
  8664. }
  8665. .empty-space {
  8666. padding: 50px;
  8667. svg {
  8668. width: 200px;
  8669. height: auto;
  8670. }
  8671. .empty-space-tagline {
  8672. color: var(--text-muted);
  8673. margin-top: 15px;
  8674. font-size: 18px;
  8675. }
  8676. }
  8677. .horizontal-filters-alert {
  8678. margin-bottom: 10px;
  8679. }
  8680. .horizontal-filters {
  8681. margin-bottom: 20px;
  8682. &--with-switch {
  8683. margin-bottom: 10px;
  8684. }
  8685. .alert {
  8686. margin-top: 10px;
  8687. margin-bottom: 10px;
  8688. }
  8689. .alert + .horizontal-filter {
  8690. border-radius: 4px 4px 0 0;
  8691. }
  8692. .alert + .horizontal-filter:last-child {
  8693. border-radius: 4px;
  8694. }
  8695. }
  8696. .horizontal-filter {
  8697. position: relative;
  8698. display: flex;
  8699. background: var(--background-primary-alt);
  8700. padding: 7px;
  8701. border: 1px solid var(--border-alt);
  8702. &:first-child {
  8703. border-radius: 4px 4px 0 0;
  8704. }
  8705. &:last-child {
  8706. border-radius: 0 0 4px 4px;
  8707. }
  8708. &:only-child {
  8709. border-radius: 4px;
  8710. }
  8711. & + .horizontal-filter {
  8712. border-top: none;
  8713. }
  8714. &-attribute {
  8715. max-width: 250px;
  8716. .modal--veryLarge & {
  8717. max-width: 400px;
  8718. }
  8719. }
  8720. select,
  8721. input {
  8722. border-color: var(--border-alt);
  8723. }
  8724. input[type='text'] {
  8725. width: 100%;
  8726. }
  8727. input[data-item='time'] {
  8728. width: 4.5ch;
  8729. }
  8730. &[data-level] {
  8731. padding-left: 54px;
  8732. @include rtl(padding-left, 7px);
  8733. @include rtl(padding-right, 54px);
  8734. }
  8735. &[data-level='1'] {
  8736. padding-left: 0;
  8737. @include rtl(padding-left, 7px);
  8738. @include rtl(padding-right, 0);
  8739. }
  8740. &[data-level='2'] {
  8741. padding-left: 27px;
  8742. @include rtl(padding-left, 7px);
  8743. @include rtl(padding-right, 27px);
  8744. }
  8745. &[data-level]::before {
  8746. content: '';
  8747. background-color: var(--border-alt);
  8748. width: 54px;
  8749. position: absolute;
  8750. top: 0;
  8751. left: 0;
  8752. bottom: 0;
  8753. @include rtl(right, 0);
  8754. }
  8755. &[data-level='1']::before {
  8756. width: 0;
  8757. }
  8758. &[data-level='2']::before {
  8759. width: 27px;
  8760. }
  8761. .draggable {
  8762. display: flex;
  8763. align-items: center;
  8764. justify-content: center;
  8765. width: 36px;
  8766. height: 39px;
  8767. vertical-align: middle;
  8768. cursor: move;
  8769. }
  8770. .ui-sortable-helper & {
  8771. border-color: transparent;
  8772. border-radius: none;
  8773. background: var(--background-modifier-lighter);
  8774. &[data-level]::before {
  8775. background-color: transparent;
  8776. }
  8777. }
  8778. &.ui-sortable-placeholder {
  8779. visibility: visible !important;
  8780. background: var(--background-primary-alt);
  8781. &[data-level]::before {
  8782. background-color: var(--border-highlight);
  8783. }
  8784. }
  8785. }
  8786. .horizontal-filter-body {
  8787. display: flex;
  8788. flex: 1;
  8789. min-width: 100px;
  8790. @include phone {
  8791. display: block;
  8792. margin-right: 5px;
  8793. }
  8794. > .controls,
  8795. > input {
  8796. @include bidi-style(margin-right, 5px, margin-left, 0);
  8797. @include phone {
  8798. margin: 0 0 5px !important;
  8799. }
  8800. > .controls-label {
  8801. margin-left: 0;
  8802. margin-right: 5px;
  8803. @include rtl(margin-left, 5px);
  8804. @include rtl(margin-right, 0);
  8805. }
  8806. .horizontal-filter-value {
  8807. max-width: 100%;
  8808. }
  8809. }
  8810. > .controls > .controls {
  8811. max-width: 100%;
  8812. + .controls {
  8813. @include bidi-style(margin-left, 5px, margin-right, 0);
  8814. }
  8815. }
  8816. }
  8817. .horizontal-filter-group {
  8818. padding: 10px;
  8819. background: var(--background-secondary);
  8820. border: 1px solid var(--border-alt);
  8821. border-radius: 5px;
  8822. margin: 0 5px;
  8823. > .form-group:last-child {
  8824. margin-bottom: 0;
  8825. }
  8826. }
  8827. .horizontal-filter-value {
  8828. max-width: 60%;
  8829. flex-grow: 1;
  8830. margin-bottom: 0;
  8831. @include phone {
  8832. max-width: 100%;
  8833. }
  8834. // lower the min-width of url input fields (normally 400px) so that it fits in
  8835. input[type='url'] {
  8836. min-width: 200px;
  8837. }
  8838. .dropdown:only-child {
  8839. flex-grow: 1;
  8840. }
  8841. }
  8842. .horizontal-filters-switch {
  8843. display: flex;
  8844. justify-content: flex-end;
  8845. & > label {
  8846. display: flex;
  8847. align-items: center;
  8848. margin-bottom: 0;
  8849. .zammad-switch {
  8850. margin-top: 0;
  8851. margin-left: 10px;
  8852. @include rtl(margin-left, 0);
  8853. @include rtl(margin-right, 10px);
  8854. }
  8855. }
  8856. &--align-start {
  8857. justify-content: flex-start;
  8858. & > label {
  8859. flex-direction: row-reverse;
  8860. .zammad-switch {
  8861. margin-left: 0;
  8862. margin-right: 10px;
  8863. @include rtl(margin-right, 0);
  8864. @include rtl(margin-left, 10px);
  8865. }
  8866. }
  8867. }
  8868. & + .js-preview h3 {
  8869. margin-top: 0;
  8870. }
  8871. }
  8872. .output-input {
  8873. margin: 0 0 14px;
  8874. output {
  8875. margin: 0;
  8876. border-radius: 3px 3px 0 0;
  8877. border: 1px solid var(--border-highlight);
  8878. border-bottom: none;
  8879. display: block;
  8880. }
  8881. input {
  8882. flex: 1;
  8883. border-top-left-radius: 0;
  8884. border-top-right-radius: 0;
  8885. border-top: none;
  8886. &:focus {
  8887. border-color: var(--border);
  8888. box-shadow: none;
  8889. }
  8890. }
  8891. }
  8892. output {
  8893. border-bottom: 1px solid var(--border-highlight);
  8894. margin: 0 0 19px;
  8895. display: inline-block;
  8896. padding: 10px 12px 8px;
  8897. color: inherit;
  8898. background: var(--background-article-customer);
  8899. &[disabled] {
  8900. border-color: hsl(358, 53%, 56%);
  8901. background: hsl(358, 53%, 76%);
  8902. color: var(--text-inverted);
  8903. }
  8904. p {
  8905. margin: 0;
  8906. }
  8907. }
  8908. .zammad-switch {
  8909. overflow: hidden;
  8910. width: 50px;
  8911. height: 30px;
  8912. border-radius: 15px;
  8913. &.zammad-switch--small {
  8914. width: 40px;
  8915. height: 24px;
  8916. border-radius: 12px;
  8917. }
  8918. &.zammad-switch--tiny {
  8919. width: 30px;
  8920. height: 18px;
  8921. border-radius: 9px;
  8922. }
  8923. &.zammad-switch--dark {
  8924. label {
  8925. background: var(--menu-switch-background);
  8926. }
  8927. label::after {
  8928. background: var(--menu-switch-pointer);
  8929. }
  8930. }
  8931. &.zammad-switch--green input:checked + label {
  8932. background: var(--supergood-color);
  8933. }
  8934. }
  8935. .zammad-switch label {
  8936. margin: 0;
  8937. position: relative;
  8938. width: 100%;
  8939. height: 100%;
  8940. border-radius: inherit;
  8941. outline: none;
  8942. background: var(--background-secondary);
  8943. box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1) inset;
  8944. transition: background 200ms;
  8945. @extend %clickable;
  8946. &::after {
  8947. content: '';
  8948. position: absolute;
  8949. transition: transform 200ms;
  8950. width: calc(60% - 2px);
  8951. height: calc(100% - 2px);
  8952. border-radius: inherit;
  8953. left: 1px;
  8954. top: 1px;
  8955. box-shadow:
  8956. 0 0 0 1px rgba(0, 0, 0, 0.05),
  8957. 0 1px 3px rgba(0, 0, 0, 0.2);
  8958. background: var(--background-secondary);
  8959. @include rtl(transform, translateX(70%));
  8960. }
  8961. }
  8962. .dropdown-menu.dropdown-menu--light .zammad-switch input:not(:checked) + label {
  8963. background: var(--background-primary);
  8964. }
  8965. .zammad-switch input {
  8966. display: none;
  8967. &[disabled] + label {
  8968. cursor: not-allowed;
  8969. opacity: 0.38;
  8970. border-color: var(--border);
  8971. }
  8972. &[disabled] + label::after {
  8973. background: hsl(210, 17%, 97%);
  8974. }
  8975. &:focus + label {
  8976. transition: none;
  8977. background: var(--border-highlight);
  8978. box-shadow: 0 0 0 3px var();
  8979. }
  8980. &:checked + label {
  8981. background: var(--highlight);
  8982. }
  8983. &:checked + label::after {
  8984. transform: translateX(70%);
  8985. @include rtl(transform, none);
  8986. }
  8987. }
  8988. .zammad-switch-inline-label {
  8989. @extend .inline-label;
  8990. display: flex;
  8991. align-items: center;
  8992. .zammad-switch {
  8993. @include bidi-style(margin-left, 8px, margin-right, 0);
  8994. }
  8995. }
  8996. .controls .zammad-switch {
  8997. margin-top: 10px;
  8998. }
  8999. .horizontal-filter-text {
  9000. @include bidi-style(margin-right, 5px, margin-left, 0);
  9001. }
  9002. .filter-controls {
  9003. display: flex;
  9004. margin: 5.5px 0;
  9005. }
  9006. .filter-control {
  9007. display: flex;
  9008. align-items: center;
  9009. justify-content: center;
  9010. width: 30px;
  9011. height: 30px;
  9012. box-shadow: 0 0 0 1px var(--border-alt) inset;
  9013. border-radius: 100%;
  9014. background: var(--background-secondary);
  9015. @extend %clickable;
  9016. &:hover:not(.is-disabled) {
  9017. .icon {
  9018. fill: var(--interactive-primary);
  9019. }
  9020. }
  9021. &.is-disabled {
  9022. cursor: not-allowed;
  9023. opacity: 0.5;
  9024. }
  9025. &:not(:last-child) {
  9026. @include bidi-style(margin-right, 7px, margin-left, 0);
  9027. }
  9028. .icon {
  9029. fill: var(--interactive-muted);
  9030. }
  9031. }
  9032. .filter-preview {
  9033. margin: 20px 0;
  9034. }
  9035. .day-name {
  9036. text-align: center;
  9037. margin-bottom: 0;
  9038. color: inherit;
  9039. white-space: nowrap;
  9040. }
  9041. .form-group.day-time {
  9042. padding: 10px 5px 6px;
  9043. margin: 0;
  9044. label {
  9045. text-align: center;
  9046. }
  9047. .form-control {
  9048. margin-left: auto;
  9049. margin-right: auto;
  9050. margin-bottom: 8px;
  9051. }
  9052. }
  9053. .settings-row {
  9054. margin-bottom: 10px;
  9055. }
  9056. .settings-list {
  9057. border-collapse: separate;
  9058. color: var(--text-normal);
  9059. table-layout: auto;
  9060. margin-bottom: 20px;
  9061. & > caption {
  9062. color: var(--text-normal);
  9063. }
  9064. &.is-invalid {
  9065. border-radius: 3px;
  9066. box-shadow:
  9067. 0 0 0 2px var(--background-primary),
  9068. 0 0 0 4px hsl(0, 90%, 70%);
  9069. }
  9070. &.settings-list--fixed {
  9071. table-layout: fixed;
  9072. }
  9073. &.settings-list--stretch {
  9074. width: 100%;
  9075. }
  9076. &:not(:last-child) {
  9077. margin-bottom: 34px;
  9078. }
  9079. .form-group & {
  9080. margin-bottom: 0;
  9081. }
  9082. &.settings-list--toggleRow {
  9083. tr:not(.is-active) td > *:not(.dont-grey-out) {
  9084. opacity: 0.33;
  9085. }
  9086. }
  9087. &.settings-list--toggleColumn {
  9088. td:not(.is-active) * {
  9089. opacity: 0.33;
  9090. }
  9091. }
  9092. &.settings-list--placeholder {
  9093. th {
  9094. text-align: center;
  9095. border-bottom: 1px solid var(--border-alt);
  9096. border-radius: 4px;
  9097. }
  9098. td {
  9099. height: 40px;
  9100. }
  9101. }
  9102. .settings-list--deleted {
  9103. td {
  9104. text-decoration: line-through;
  9105. }
  9106. }
  9107. th,
  9108. td {
  9109. vertical-align: top;
  9110. padding: 10px;
  9111. border: 1px solid var(--border-alt);
  9112. background: var(--background-secondary);
  9113. }
  9114. th {
  9115. font-weight: normal;
  9116. text-transform: uppercase;
  9117. font-size: 12px;
  9118. line-height: 17px;
  9119. letter-spacing: 0.05em;
  9120. background: var(--background-primary-alt);
  9121. border-bottom: none;
  9122. word-break: normal;
  9123. }
  9124. td {
  9125. word-break: break-word;
  9126. > fieldset {
  9127. margin: 0;
  9128. > .form-group {
  9129. margin-left: 0;
  9130. margin-right: 0;
  9131. }
  9132. > .checkbox,
  9133. > .radio {
  9134. margin: 7px 0;
  9135. }
  9136. }
  9137. }
  9138. td.empty-cell {
  9139. border-top: none;
  9140. }
  9141. .settings-list-separator {
  9142. @include bidi-style(border-left-width, 3px, border-right-width, 1px);
  9143. }
  9144. .text-muted {
  9145. text-transform: none;
  9146. font-size: 10px;
  9147. letter-spacing: 0;
  9148. color: var(--text-muted-alt);
  9149. }
  9150. .inline-label {
  9151. color: inherit;
  9152. }
  9153. th:not(:last-child),
  9154. td:not(:last-child) {
  9155. @include bidi-style(border-right-width, 0, border-left-width, 1px);
  9156. }
  9157. .ui-sortable-placeholder {
  9158. visibility: visible !important;
  9159. td {
  9160. background: none;
  9161. border-left-width: 0;
  9162. border-right-width: 0;
  9163. }
  9164. }
  9165. .ui-sortable-helper td {
  9166. border-bottom-width: 1px !important;
  9167. }
  9168. tr:not(:last-child) td,
  9169. & > tbody:not(:last-child) tr td {
  9170. border-bottom-width: 0;
  9171. }
  9172. tr.is-inactive td {
  9173. color: hsl(199, 19%, 80%);
  9174. text-decoration: line-through;
  9175. }
  9176. & > thead > tr > th:first-child {
  9177. @include bidi-style(
  9178. border-top-left-radius,
  9179. 4px,
  9180. border-top-right-radius,
  9181. 0
  9182. );
  9183. }
  9184. & > thead > tr > th:last-child {
  9185. @include bidi-style(
  9186. border-top-right-radius,
  9187. 4px,
  9188. border-top-left-radius,
  9189. 0
  9190. );
  9191. }
  9192. & > tbody:last-child > tr:last-child > td:first-child,
  9193. & > tfoot:last-child > tr:last-child > td:first-child {
  9194. @include bidi-style(
  9195. border-bottom-left-radius,
  9196. 4px,
  9197. border-bottom-right-radius,
  9198. 0
  9199. );
  9200. }
  9201. & > tbody:last-child > tr:last-child > td:last-child,
  9202. & > tfoot:last-child > tr:last-child > td:last-child {
  9203. @include bidi-style(
  9204. border-bottom-right-radius,
  9205. 4px,
  9206. border-bottom-left-radius,
  9207. 0
  9208. );
  9209. }
  9210. p {
  9211. margin: 0;
  9212. }
  9213. .settings-list-action-cell {
  9214. @extend .u-clickable;
  9215. text-align: center;
  9216. color: var(--interactive-muted);
  9217. background: linear-gradient(
  9218. hsla(0, 0%, 100%, 0.02),
  9219. hsla(0, 0%, 100%, 0.02)
  9220. ),
  9221. linear-gradient(
  9222. var(--background-primary-alt),
  9223. var(--background-primary-alt)
  9224. );
  9225. line-height: 1;
  9226. padding-top: 11px;
  9227. padding-bottom: 9px;
  9228. &:hover {
  9229. color: var(--text-normal);
  9230. }
  9231. .icon {
  9232. fill: currentColor;
  9233. vertical-align: top;
  9234. margin-top: -2px;
  9235. }
  9236. }
  9237. .settings-list-controls {
  9238. padding: 0;
  9239. & > div,
  9240. & > a {
  9241. display: flex;
  9242. min-height: 40px;
  9243. }
  9244. .settings-list-control {
  9245. display: flex;
  9246. align-items: center;
  9247. justify-content: center;
  9248. padding: 0 10px;
  9249. @extend %clickable;
  9250. .icon {
  9251. fill: currentColor;
  9252. }
  9253. }
  9254. }
  9255. .settings-list-control-cell {
  9256. padding: 5px;
  9257. .btn--text {
  9258. margin: -5px;
  9259. }
  9260. & ~ .settings-list-row-control {
  9261. padding-bottom: 7px;
  9262. }
  9263. }
  9264. .settings-list-checkbox-cell,
  9265. .settings-list-radio-cell {
  9266. vertical-align: middle;
  9267. padding-left: 8px;
  9268. }
  9269. .settings-list-radio-cell {
  9270. text-align: center;
  9271. }
  9272. .settings-list-wrapping-cell {
  9273. display: flex;
  9274. align-items: center;
  9275. flex-wrap: wrap;
  9276. }
  9277. .settings-list--bottom-button {
  9278. margin-top: 10px;
  9279. }
  9280. .settings-list-middle {
  9281. vertical-align: middle;
  9282. }
  9283. }
  9284. .settings-list--roles-permissions {
  9285. margin-left: 18px;
  9286. margin-right: 18px;
  9287. margin-top: 10px;
  9288. th:first-child {
  9289. min-width: 150px;
  9290. }
  9291. }
  9292. .select-boxes {
  9293. display: flex;
  9294. align-items: flex-start;
  9295. }
  9296. .select-box {
  9297. display: flex;
  9298. flex-wrap: wrap;
  9299. margin: 0 14px;
  9300. background: var(--background-secondary);
  9301. color: var(--text-normal);
  9302. @include bidi-style(
  9303. border-right,
  9304. 1px solid var(--border-alt),
  9305. border-left,
  9306. none
  9307. );
  9308. border-bottom: 1px solid var(--border-alt);
  9309. border-radius: 3px 3px 0 0;
  9310. &.select-box--vertical .select-value {
  9311. flex-basis: 100%;
  9312. }
  9313. &.select-box--four .select-value {
  9314. flex-basis: 25%;
  9315. }
  9316. &.select-box--six .select-value {
  9317. flex-basis: calc(100% / 6);
  9318. }
  9319. .select-box-header {
  9320. @extend label;
  9321. margin: 0;
  9322. color: inherit;
  9323. display: flex;
  9324. align-items: center;
  9325. padding: 8px 10px;
  9326. flex-basis: 100%;
  9327. white-space: nowrap;
  9328. background: var(--background-primary-alt);
  9329. @include bidi-style(
  9330. border-left,
  9331. 1px solid var(--border-alt),
  9332. border-right,
  9333. none
  9334. );
  9335. border-top: 1px solid var(--border-alt);
  9336. border-radius: 3px 3px 0 0;
  9337. }
  9338. .select-value {
  9339. display: flex;
  9340. align-items: center;
  9341. justify-content: center;
  9342. min-height: 34px;
  9343. background-clip: content-box;
  9344. box-shadow:
  9345. 1px 0 var(--border-alt) inset,
  9346. 0 1px var(--border-alt) inset;
  9347. @extend %clickable;
  9348. &.is-selected {
  9349. background-color: var(--highlight);
  9350. box-shadow: none;
  9351. color: var(--text-inverted);
  9352. }
  9353. }
  9354. &:first-child {
  9355. @include bidi-style(margin-left, 0, margin-left, 14px);
  9356. }
  9357. &:last-child {
  9358. @include bidi-style(margin-right, 0, margin-left, 14px);
  9359. }
  9360. }
  9361. .searchableSelect {
  9362. position: relative;
  9363. .form-control {
  9364. padding-right: 37px;
  9365. @include bidi-style(padding-right, 37px, padding-left, 12px);
  9366. }
  9367. .searchableSelect-main {
  9368. position: relative;
  9369. line-height: 19px;
  9370. &--with-clear-button {
  9371. padding-right: 60px;
  9372. @include bidi-style(padding-right, 60px, padding-left, 12px);
  9373. }
  9374. &.form-control--small ~ .searchableSelect-autocomplete {
  9375. top: 6px;
  9376. left: 9px;
  9377. }
  9378. }
  9379. .searchableSelect-shadow {
  9380. position: absolute;
  9381. @include bidi-style(left, -9999px, right, -9999px);
  9382. }
  9383. .dropdown-menu {
  9384. margin-top: -3px;
  9385. max-width: 100%;
  9386. }
  9387. &-option-text {
  9388. flex: 1 1 0%;
  9389. text-overflow: ellipsis;
  9390. overflow: hidden;
  9391. white-space: nowrap;
  9392. display: block;
  9393. & + .icon {
  9394. @include bidi-style(margin-left, 10px, margin-right, 0);
  9395. }
  9396. &.is-inactive {
  9397. opacity: 0.33;
  9398. cursor: not-allowed;
  9399. }
  9400. }
  9401. &.dropdown li {
  9402. &.has-inactive {
  9403. cursor: unset;
  9404. }
  9405. &.is-selected {
  9406. @include bidi-style(
  9407. border-left,
  9408. 5px solid var(--highlight),
  9409. border-right,
  9410. 5px solid var(--highlight)
  9411. );
  9412. }
  9413. &.js-enter:hover,
  9414. &.js-enter.is-active {
  9415. background: none;
  9416. + li {
  9417. box-shadow: 0 1px rgba(255, 255, 255, 0.13) inset;
  9418. }
  9419. }
  9420. &.js-enter.is-highlighted {
  9421. span.searchableSelect-option-text {
  9422. background: var(--highlight);
  9423. }
  9424. }
  9425. &.js-back:hover,
  9426. &.js-back.is-active {
  9427. background: var(--supergood-color);
  9428. .icon-arrow-left,
  9429. .icon-arrow-right {
  9430. opacity: 1;
  9431. }
  9432. }
  9433. &.is-hidden {
  9434. display: none;
  9435. }
  9436. &.js-enter {
  9437. padding: 0;
  9438. span.searchableSelect-option-text {
  9439. padding: 11px 15px;
  9440. }
  9441. span.searchableSelect-option-arrow {
  9442. padding: 11px 15px;
  9443. cursor: pointer;
  9444. &:hover {
  9445. background: var(--supergood-color);
  9446. .recipientList-arrow {
  9447. opacity: 1;
  9448. }
  9449. }
  9450. }
  9451. }
  9452. span.searchableSelect-option-text {
  9453. letter-spacing: -0.02rem;
  9454. &:hover {
  9455. background: var(--highlight);
  9456. }
  9457. }
  9458. }
  9459. li:not(.is-active):hover + li {
  9460. box-shadow: 0 1px rgba(255, 255, 255, 0.13) inset;
  9461. }
  9462. .searchableSelect-autocomplete {
  9463. position: absolute;
  9464. left: 13px;
  9465. top: 11px;
  9466. right: 37px;
  9467. white-space: nowrap;
  9468. overflow: hidden;
  9469. display: flex;
  9470. pointer-events: none;
  9471. white-space: pre;
  9472. line-height: 19px;
  9473. }
  9474. .searchableSelect-autocomplete-invisible {
  9475. color: transparent;
  9476. }
  9477. .searchableSelect-autocomplete-visible {
  9478. color: hsl(0, 0%, 33%);
  9479. background: hsl(201, 61%, 90%);
  9480. }
  9481. .loading.icon {
  9482. position: absolute;
  9483. right: 11px;
  9484. top: 11px;
  9485. display: none;
  9486. }
  9487. &.is-loading {
  9488. .loading.icon {
  9489. display: block;
  9490. }
  9491. .icon-arrow-down {
  9492. display: none;
  9493. }
  9494. }
  9495. }
  9496. .action {
  9497. background: var(--background-secondary);
  9498. border: 1px solid var(--border);
  9499. box-shadow: var(--elevation-stroke);
  9500. display: flex;
  9501. flex-wrap: wrap;
  9502. padding: 10px;
  9503. margin-bottom: 17px;
  9504. &.is-inactive {
  9505. background: none;
  9506. box-shadow: none;
  9507. position: relative;
  9508. top: 2px;
  9509. border-color: var(--border-alt);
  9510. & > *:not(.action-controls) {
  9511. opacity: 0.33;
  9512. }
  9513. }
  9514. &--placeholder {
  9515. padding: 30px;
  9516. align-items: center;
  9517. justify-content: center;
  9518. color: hsl(206, 9%, 69%);
  9519. box-shadow: none;
  9520. background: none;
  9521. border-style: dashed;
  9522. font-style: italic;
  9523. }
  9524. &-alert {
  9525. width: calc(100% + 20px);
  9526. margin: -10px -10px 10px;
  9527. }
  9528. &-flow {
  9529. display: flex;
  9530. flex-wrap: wrap;
  9531. &.action-flow--noWrap {
  9532. flex-wrap: nowrap;
  9533. }
  9534. &.action-flow--row {
  9535. flex-basis: 100%;
  9536. }
  9537. &.action-flow--vertically-centered {
  9538. align-items: center;
  9539. }
  9540. }
  9541. &-separator {
  9542. width: 1px;
  9543. background: hsl(0, 0%, 97%);
  9544. margin: 0 10px;
  9545. }
  9546. .table {
  9547. margin-left: -9px;
  9548. margin-right: -9px;
  9549. }
  9550. h2 {
  9551. margin-bottom: 0;
  9552. .action-form-status .icon {
  9553. margin-top: 0;
  9554. }
  9555. }
  9556. &-block,
  9557. &-controls,
  9558. &-row {
  9559. padding: 10px;
  9560. h2:first-child,
  9561. h3:first-child {
  9562. margin-top: 0;
  9563. }
  9564. }
  9565. &-block {
  9566. &.action-block--flex {
  9567. flex: 1;
  9568. }
  9569. }
  9570. &-row {
  9571. flex-basis: 100%;
  9572. }
  9573. h3 {
  9574. color: var(--text-muted);
  9575. margin-top: 0;
  9576. + .btn--text {
  9577. position: relative;
  9578. top: -1px;
  9579. }
  9580. }
  9581. &-label {
  9582. background: var(--background-primary-alt);
  9583. border: 1px solid var(--border-alt);
  9584. align-self: flex-start;
  9585. padding: 5px 10px;
  9586. margin: -4px 0 -5px auto;
  9587. @include rtl(margin, -4px auto -5px 0);
  9588. color: var(--text-muted-alt);
  9589. cursor: default;
  9590. }
  9591. &-flow-icon {
  9592. width: 15px;
  9593. height: 24px;
  9594. margin-top: 16px; /* compensate for h3 height */
  9595. margin-left: 20px;
  9596. margin-right: 20px;
  9597. }
  9598. &-controls {
  9599. display: flex;
  9600. @include bidi-style(margin-left, auto, margin-right, 0);
  9601. align-self: flex-end;
  9602. .btn {
  9603. align-self: center;
  9604. }
  9605. }
  9606. }
  9607. /*
  9608. datepicker resets some css it potentially inherits when its rendered inside a table
  9609. */
  9610. .datepicker {
  9611. background: var(--background-tertiary);
  9612. color: var(--text-inverted);
  9613. padding: 0 14px 11px;
  9614. position: absolute;
  9615. min-width: 0;
  9616. cursor: default;
  9617. &.datepicker-rtl {
  9618. left: auto;
  9619. right: 0;
  9620. }
  9621. .datepicker-switch {
  9622. padding: 12px 0;
  9623. font-weight: bold;
  9624. font-size: 15px;
  9625. text-align: center;
  9626. letter-spacing: 0;
  9627. line-height: 1.5;
  9628. text-transform: none;
  9629. @extend %clickable;
  9630. &:hover {
  9631. background: hsl(240, 10%, 14%);
  9632. }
  9633. }
  9634. th {
  9635. background: none;
  9636. font-weight: 500;
  9637. }
  9638. th,
  9639. td {
  9640. border: none;
  9641. }
  9642. .next,
  9643. .prev {
  9644. padding: 12px 9px 0;
  9645. vertical-align: top;
  9646. text-align: center;
  9647. @extend %clickable;
  9648. .icon {
  9649. margin-top: 4px;
  9650. fill: var(--text-inverted);
  9651. opacity: 1;
  9652. }
  9653. &:hover {
  9654. background: hsl(240, 10%, 14%);
  9655. }
  9656. }
  9657. .dow {
  9658. text-transform: uppercase;
  9659. font-size: 12px;
  9660. padding: 0;
  9661. text-align: center;
  9662. vertical-align: inherit;
  9663. }
  9664. td.cw {
  9665. // background: 1px gap on the right towards the days + 1px border
  9666. background: linear-gradient(
  9667. to right,
  9668. var(--background-modifier-lighter),
  9669. var(--background-modifier-lighter) calc(100% - 2px),
  9670. transparent calc(100% - 2px),
  9671. var(--background-modifier-accent) calc(100% - 1px),
  9672. transparent calc(100% - 1px)
  9673. );
  9674. padding: 0 5px 0 3px !important;
  9675. text-align: center;
  9676. border-radius: 0;
  9677. }
  9678. tbody td {
  9679. width: 27px;
  9680. height: 27px;
  9681. border-radius: 14px;
  9682. padding: 1px 0 0 !important;
  9683. background-color: inherit;
  9684. vertical-align: inherit;
  9685. }
  9686. .month,
  9687. .year {
  9688. float: left;
  9689. width: 23%;
  9690. margin: 1%;
  9691. padding: 5px 0;
  9692. }
  9693. .day,
  9694. .month,
  9695. .year {
  9696. text-align: center;
  9697. &:not(.disabled) {
  9698. @extend %clickable;
  9699. }
  9700. &.disabled,
  9701. &.old,
  9702. &.new {
  9703. color: hsl(0, 0%, 33%);
  9704. }
  9705. &.today {
  9706. background: #777;
  9707. }
  9708. &.focused {
  9709. box-shadow: 0 0 0 1px hsl(207, 82%, 64%) inset;
  9710. }
  9711. &.active {
  9712. color: var(--text-inverted);
  9713. background: hsl(207, 82%, 64%);
  9714. }
  9715. }
  9716. .today,
  9717. .clear {
  9718. text-align: center;
  9719. padding: 2px 0 0;
  9720. @extend %clickable;
  9721. &.hidden {
  9722. display: none;
  9723. }
  9724. }
  9725. .datepicker-footer-buttons {
  9726. display: flex;
  9727. justify-content: space-between;
  9728. gap: 20px;
  9729. align-items: stretch;
  9730. height: 31px;
  9731. margin-top: 15px;
  9732. div {
  9733. flex-grow: 1;
  9734. border: 1px solid #56575e;
  9735. border-radius: 3px;
  9736. display: flex;
  9737. align-items: center;
  9738. justify-content: center;
  9739. }
  9740. }
  9741. }
  9742. #notify {
  9743. position: absolute;
  9744. top: 10px;
  9745. left: 0;
  9746. right: 0;
  9747. @extend .zIndex-9;
  9748. pointer-events: none;
  9749. .noty_bar {
  9750. max-width: 500px;
  9751. text-align: center;
  9752. margin: 0 auto 10px;
  9753. .noty_message {
  9754. pointer-events: auto;
  9755. display: inline-block;
  9756. background: rgba(0, 0, 0, 0.75);
  9757. padding: 10px 15px 8px;
  9758. border-radius: 3px;
  9759. color: var(--text-inverted);
  9760. }
  9761. .icon {
  9762. vertical-align: middle;
  9763. margin-top: -3px;
  9764. @include bidi-style(margin-right, 5px, margin-left, 0);
  9765. }
  9766. a {
  9767. color: inherit;
  9768. text-decoration: none;
  9769. }
  9770. }
  9771. }
  9772. .animated {
  9773. animation-duration: 300ms;
  9774. animation-fill-mode: both;
  9775. }
  9776. .fadeInDown {
  9777. animation-name: fadeInDown;
  9778. }
  9779. @keyframes fadeInDown {
  9780. from {
  9781. opacity: 0;
  9782. transform: translate3d(0, -50%, 0);
  9783. }
  9784. to {
  9785. opacity: 1;
  9786. transform: none;
  9787. }
  9788. }
  9789. .fadeOutDown {
  9790. animation-name: fadeOutDown;
  9791. }
  9792. @keyframes fadeOutDown {
  9793. from {
  9794. opacity: 1;
  9795. }
  9796. to {
  9797. opacity: 0;
  9798. transform: translate3d(0, 50%, 0);
  9799. }
  9800. }
  9801. .loading-placeholder {
  9802. display: flex;
  9803. align-items: center;
  9804. justify-content: center;
  9805. height: 133px;
  9806. .loading-text {
  9807. @include bidi-style(margin-left, 10px, margin-right, 0);
  9808. }
  9809. }
  9810. .chat {
  9811. flex: 1;
  9812. display: flex;
  9813. flex-direction: column;
  9814. padding: 0 14px;
  9815. @include phone {
  9816. padding: 0;
  9817. }
  9818. .page-header {
  9819. margin: 15px 0 5px;
  9820. padding: 0 6px;
  9821. @include phone {
  9822. flex-wrap: wrap;
  9823. margin: 0;
  9824. padding: 5px 8px;
  9825. }
  9826. }
  9827. .page-header-title {
  9828. @include phone {
  9829. order: 1;
  9830. }
  9831. }
  9832. .page-header-center {
  9833. @include phone {
  9834. flex-basis: 100%;
  9835. padding: 0;
  9836. order: 3;
  9837. }
  9838. }
  9839. .page-header-meta {
  9840. @include phone {
  9841. order: 2;
  9842. @include bidi-style(margin-left, auto, margin-right, auto);
  9843. padding-top: 4px;
  9844. @include bidi-style(padding-left, 10px, padding-right, 0);
  9845. }
  9846. }
  9847. }
  9848. .chat-workspace {
  9849. display: flex;
  9850. flex-wrap: wrap;
  9851. padding: 0 0 10px;
  9852. margin: 0 -4px;
  9853. flex: 1;
  9854. @include phone {
  9855. margin: 0;
  9856. padding: 0;
  9857. flex-wrap: nowrap;
  9858. overflow: auto;
  9859. -webkit-overflow-scrolling: touch;
  9860. scroll-snap-mode: x mandatory;
  9861. }
  9862. }
  9863. .chat-window {
  9864. flex: 0 1 0;
  9865. overflow: hidden;
  9866. display: flex;
  9867. flex-direction: column;
  9868. transition-duration: 500ms;
  9869. transition-property: transform, flex, padding;
  9870. transform: scale(0);
  9871. @include phone {
  9872. min-width: calc(100vw - #{$mobileNavigationWidth} - 16px);
  9873. scroll-snap-align: center;
  9874. }
  9875. &.is-open {
  9876. flex: 1 0 25%;
  9877. transform: scale(1);
  9878. padding: 10px;
  9879. @include phone {
  9880. padding: 8px;
  9881. }
  9882. }
  9883. &.is-offline {
  9884. .chat-controls {
  9885. opacity: 0.5;
  9886. }
  9887. }
  9888. }
  9889. .chat-header {
  9890. background: var(--background-primary-alt);
  9891. border: 1px solid var(--border-alt);
  9892. border-radius: 3px 3px 0 0;
  9893. height: 43px;
  9894. line-height: 13px;
  9895. flex-shrink: 0;
  9896. display: flex;
  9897. justify-content: space-between;
  9898. align-items: center;
  9899. }
  9900. .chat-name {
  9901. margin: 0 2px;
  9902. overflow: hidden;
  9903. text-overflow: ellipsis;
  9904. white-space: nowrap;
  9905. .status-badge {
  9906. @include bidi-style(margin-left, 2px, margin-right, 0);
  9907. vertical-align: middle;
  9908. height: 100%;
  9909. }
  9910. }
  9911. .chat-status {
  9912. @include bidi-style(margin-left, 10px, margin-right, 0);
  9913. &[data-status='online'] .icon {
  9914. fill: var(--supergood-color);
  9915. }
  9916. &[data-status='offline'] .icon {
  9917. fill: var(--superbad-color);
  9918. }
  9919. .icon-status-modified-inner-circle,
  9920. .icon-status-modified-outer-circle {
  9921. display: none;
  9922. }
  9923. &.is-modified {
  9924. .icon-status {
  9925. display: none;
  9926. }
  9927. .icon-status-modified-inner-circle,
  9928. .icon-status-modified-outer-circle {
  9929. display: block;
  9930. }
  9931. }
  9932. }
  9933. .chat-status-holder {
  9934. position: relative;
  9935. }
  9936. .chat-disconnect,
  9937. .chat-close {
  9938. @extend %clickable;
  9939. padding: 10px;
  9940. .btn {
  9941. min-width: 80px;
  9942. justify-content: center;
  9943. }
  9944. }
  9945. .chat-disconnect.is-hidden,
  9946. .chat-close.is-hidden {
  9947. display: none;
  9948. }
  9949. .chat-scroll-hint {
  9950. background: var(--background-primary);
  9951. display: flex;
  9952. align-items: center;
  9953. border: 1px solid var(--border-alt);
  9954. border-top: none;
  9955. padding: 7px 10px 6px;
  9956. color: var(--text-muted);
  9957. @extend %clickable;
  9958. &.is-hidden {
  9959. display: none;
  9960. }
  9961. .icon {
  9962. fill: hsl(210, 5%, 78%);
  9963. @include bidi-style(margin-right, 8px, margin-left, 0);
  9964. }
  9965. }
  9966. .chat-body-holder {
  9967. flex: 1;
  9968. background: var(--background-secondary);
  9969. font-size: 13px;
  9970. line-height: 18px;
  9971. overflow: auto;
  9972. -webkit-overflow-scrolling: touch;
  9973. border-left: 1px solid var(--border-alt);
  9974. border-right: 1px solid var(--border-alt);
  9975. position: relative;
  9976. }
  9977. .chat-body-holder--standalone {
  9978. border-top: 1px solid var(--border-alt);
  9979. border-bottom: 1px solid var(--border-alt);
  9980. }
  9981. .chat-body {
  9982. padding: 10px;
  9983. display: flex;
  9984. flex-direction: column;
  9985. align-items: flex-start;
  9986. position: absolute;
  9987. width: 100%;
  9988. top: 0;
  9989. left: 0;
  9990. }
  9991. .chat-timestamp,
  9992. .chat-notice-message {
  9993. font-size: 12px;
  9994. color: var(--text-muted);
  9995. margin-bottom: 4px;
  9996. align-self: center;
  9997. word-break: break-word;
  9998. }
  9999. .chat-timestamp-label {
  10000. font-weight: 500;
  10001. }
  10002. .chat-message {
  10003. max-width: 90%;
  10004. background: var(--background-primary);
  10005. padding: 6px 12px;
  10006. border-radius: 16px;
  10007. margin-bottom: 4px;
  10008. }
  10009. .chat-message img {
  10010. @extend %clickable;
  10011. }
  10012. .chat-message--customer.chat-message--new {
  10013. font-weight: bold;
  10014. }
  10015. .chat-message--agent {
  10016. @include bidi-style(margin-left, auto, margin-right, 0);
  10017. background: var(--background-article-customer);
  10018. align-self: flex-end;
  10019. }
  10020. .chat-message--agent + .chat-message--customer,
  10021. .chat-message--customer + .chat-message--agent {
  10022. margin-top: 10px;
  10023. }
  10024. .chat-status-message {
  10025. align-self: center;
  10026. background: var(--background-primary-alt);
  10027. padding: 6px 12px;
  10028. margin: 4px 0 10px;
  10029. border-radius: 3px;
  10030. }
  10031. .chat-loader {
  10032. @include bidi-style(margin-right, -4px, margin-left, 0);
  10033. .icon {
  10034. width: 12px;
  10035. height: 12px;
  10036. fill: var(--border);
  10037. @include bidi-style(margin-left, -4px, margin-right, 0);
  10038. vertical-align: middle;
  10039. animation: ease-in-out load-fade 600ms infinite alternate;
  10040. }
  10041. .icon + .icon {
  10042. animation-delay: 0.13s;
  10043. }
  10044. .icon + .icon + .icon {
  10045. animation-delay: 0.26s;
  10046. }
  10047. }
  10048. @keyframes load-fade {
  10049. 0% {
  10050. opacity: 0.5;
  10051. transform: scale(0.6);
  10052. }
  10053. 67% {
  10054. opacity: 1;
  10055. transform: scale(1);
  10056. }
  10057. }
  10058. .chat-footer {
  10059. border-top: 1px solid var(--border-alt);
  10060. padding: 10px 10px 0;
  10061. display: flex;
  10062. justify-content: center;
  10063. align-self: stretch;
  10064. margin: 0 -10px;
  10065. }
  10066. .chat-controls {
  10067. display: flex;
  10068. align-items: flex-start;
  10069. padding: 10px;
  10070. background: var(--background-primary-alt);
  10071. border: 1px solid var(--border-alt);
  10072. border-radius: 0 0 3px 3px;
  10073. flex-shrink: 0;
  10074. }
  10075. .chat-input {
  10076. @include bidi-style(margin-right, 10px, margin-left, 0);
  10077. flex-grow: 1;
  10078. position: relative;
  10079. .form-control {
  10080. overflow: auto;
  10081. -webkit-overflow-scrolling: touch;
  10082. max-height: 50vh;
  10083. }
  10084. }
  10085. .manage-chat-jquery-switch-container {
  10086. display: flex;
  10087. flex-direction: row;
  10088. align-items: center;
  10089. .zammad-switch {
  10090. @include bidi-style(margin-right, 8px, margin-left, 8px);
  10091. }
  10092. }
  10093. .browser {
  10094. margin: 0 0 20px;
  10095. position: relative;
  10096. &[data-size] {
  10097. padding-bottom: 65%; // 16:10 aspect ratio;
  10098. .browser-ratio {
  10099. width: 100%;
  10100. height: 100%;
  10101. position: absolute;
  10102. left: 0;
  10103. top: 0;
  10104. transition: width 500ms;
  10105. display: flex;
  10106. flex-direction: column;
  10107. }
  10108. .browser-body {
  10109. padding: 0;
  10110. }
  10111. }
  10112. &[data-size='mobile'] .browser-ratio {
  10113. width: 375px;
  10114. }
  10115. &-ratio {
  10116. border: 1px solid var(--border);
  10117. border-radius: 5px;
  10118. }
  10119. }
  10120. /* stylelint-disable media-query-no-invalid */
  10121. @media screen and (min-width: #{1280 + $sidebarWidth + $navigationWidth}) {
  10122. // hide 1:1 button when it gets inrelevant
  10123. [data-size='1:1'] {
  10124. display: none;
  10125. }
  10126. .browser[data-size='mobile'] .browser-ratio {
  10127. width: 500px;
  10128. }
  10129. }
  10130. /* stylelint-enable media-query-no-invalid */
  10131. .browser-body {
  10132. flex: 1;
  10133. position: relative;
  10134. overflow: hidden;
  10135. padding: 20px;
  10136. &-inner {
  10137. position: absolute;
  10138. left: 0;
  10139. top: 0;
  10140. width: 100%;
  10141. height: 100%;
  10142. }
  10143. .browser-website {
  10144. position: relative;
  10145. height: 100%;
  10146. transform-origin: right bottom;
  10147. transition: 500ms;
  10148. overflow: hidden;
  10149. &.is-picking {
  10150. cursor:
  10151. image_url('/assets/images/eyedropper.gif') 0 15,
  10152. auto;
  10153. }
  10154. &-background {
  10155. position: absolute;
  10156. top: 0;
  10157. left: 0;
  10158. width: 100%;
  10159. height: 100%;
  10160. object-fit: cover;
  10161. object-position: left top;
  10162. }
  10163. }
  10164. }
  10165. .browser-head {
  10166. display: flex;
  10167. padding: 10px;
  10168. border-bottom: 1px solid var(--border);
  10169. .browser-input {
  10170. position: relative;
  10171. flex: 1;
  10172. @include bidi-style(margin-right, 10px, margin-left, 0);
  10173. input {
  10174. min-width: 0;
  10175. @include bidi-style(padding-right, 40px, padding-left, 12px);
  10176. &.is-loading + .loading.icon {
  10177. display: block;
  10178. }
  10179. }
  10180. .loading.icon {
  10181. position: absolute;
  10182. @include bidi-style(right, 11px, left, auto);
  10183. top: 10px;
  10184. display: none;
  10185. }
  10186. }
  10187. .help-block {
  10188. margin-bottom: -3px;
  10189. }
  10190. }
  10191. .browser-inline-form {
  10192. width: 300px;
  10193. &.no-css {
  10194. all: initial;
  10195. * {
  10196. all: unset;
  10197. }
  10198. input,
  10199. textarea,
  10200. button {
  10201. padding: 2px;
  10202. background: var(--background-secondary);
  10203. border: 1px solid;
  10204. font: 400 11px system-ui;
  10205. }
  10206. button {
  10207. padding: 2px 6px 3px;
  10208. background-color: buttonface;
  10209. border: 2px outset buttonface;
  10210. }
  10211. }
  10212. }
  10213. .chat-demo {
  10214. .zammad-chat {
  10215. position: absolute;
  10216. transform-origin: right bottom;
  10217. transition: 500ms;
  10218. user-select: none;
  10219. will-change: transform;
  10220. &.is-fullscreen {
  10221. right: 0;
  10222. width: 100%;
  10223. height: 100%;
  10224. border-radius: 0 !important;
  10225. .zammad-chat-header {
  10226. border-radius: 0 !important;
  10227. box-shadow:
  10228. 0 -1px rgba(0, 0, 0, 0.1),
  10229. 0 -1px rgba(0, 0, 0, 0.1) inset,
  10230. 0 1px 1px rgba(0, 0, 0, 0.13);
  10231. }
  10232. .zammad-chat-controls {
  10233. border-radius: 0 0 5px 5px;
  10234. }
  10235. }
  10236. &.no-transition {
  10237. transition: none;
  10238. }
  10239. .zammad-chat-welcome {
  10240. display: block !important;
  10241. }
  10242. .zammad-chat-header-icon-open {
  10243. display: inline !important;
  10244. }
  10245. .zammad-chat-agent-status,
  10246. .zammad-chat-header-icon-close,
  10247. .zammad-chat-agent {
  10248. display: none !important;
  10249. }
  10250. &.is-open {
  10251. .zammad-chat-agent {
  10252. display: block !important;
  10253. }
  10254. .zammad-chat-header-icon-close,
  10255. .zammad-chat-agent-status {
  10256. display: inline-block !important;
  10257. }
  10258. .zammad-chat-welcome,
  10259. .zammad-chat-header-icon-open {
  10260. display: none !important;
  10261. }
  10262. }
  10263. &.is-fullscreen {
  10264. height: 100%;
  10265. .zammad-chat-controls {
  10266. border-radius: 0 0 5px 5px;
  10267. }
  10268. }
  10269. }
  10270. .zammad-chat-header {
  10271. pointer-events: auto;
  10272. }
  10273. .chat-demo-animationHolder {
  10274. position: absolute;
  10275. bottom: 0;
  10276. left: 0;
  10277. width: 100%;
  10278. height: 100%;
  10279. animation: slide-up 500ms;
  10280. pointer-events: none;
  10281. }
  10282. }
  10283. @keyframes slide-up {
  10284. from {
  10285. transform: translateY(100%);
  10286. }
  10287. }
  10288. .todo {
  10289. position: relative;
  10290. display: block;
  10291. &:not(a) {
  10292. cursor: default !important;
  10293. }
  10294. .icon {
  10295. fill: var(--ghost-color) !important;
  10296. vertical-align: middle;
  10297. margin: -2px 3px 0 0;
  10298. }
  10299. &.is-done .icon {
  10300. fill: var(--supergood-color) !important;
  10301. }
  10302. }
  10303. .columnSelect {
  10304. height: 234px;
  10305. display: flex;
  10306. padding: 0;
  10307. line-height: 22px;
  10308. &-shadow {
  10309. display: none;
  10310. }
  10311. &-column--selected {
  10312. flex: 1 1 66%;
  10313. overflow: auto;
  10314. -webkit-overflow-scrolling: touch;
  10315. padding: 7px;
  10316. }
  10317. &-column--sidebar {
  10318. flex-basis: 33%;
  10319. flex-shrink: 1;
  10320. border-left: 1px solid var(--border);
  10321. background: var(--background-modifier-accent);
  10322. display: flex;
  10323. flex-direction: column;
  10324. min-width: 0;
  10325. .columnSelect-option:hover {
  10326. background: var(--background-modifier-hover);
  10327. }
  10328. }
  10329. &-pool {
  10330. flex: 1 1 auto;
  10331. overflow: auto;
  10332. -webkit-overflow-scrolling: touch;
  10333. padding: 7px;
  10334. }
  10335. &-option {
  10336. @extend %clickable;
  10337. padding: 0 5px;
  10338. border-radius: 1px;
  10339. overflow: hidden;
  10340. white-space: nowrap;
  10341. text-overflow: ellipsis;
  10342. &:hover {
  10343. background: var(--background-modifier-hover);
  10344. }
  10345. }
  10346. &-group-label {
  10347. opacity: 0.5;
  10348. .filter-active & {
  10349. display: none;
  10350. }
  10351. ~ .columnSelect-option {
  10352. padding-left: 10px;
  10353. }
  10354. }
  10355. .is-hidden,
  10356. .is-filtered {
  10357. display: none;
  10358. }
  10359. &-search {
  10360. position: relative;
  10361. .icon-magnifier {
  10362. left: 7px;
  10363. top: 5px;
  10364. position: absolute;
  10365. opacity: 0.3;
  10366. }
  10367. &-clear {
  10368. position: absolute;
  10369. right: 0;
  10370. top: 0;
  10371. padding: 6px 7px 4px;
  10372. @extend %clickable;
  10373. line-height: 1;
  10374. .icon {
  10375. opacity: 0.6;
  10376. }
  10377. }
  10378. input {
  10379. width: 100%;
  10380. padding: 2px 30px 1px;
  10381. border: none;
  10382. outline: none;
  10383. border-bottom: 1px solid var(--border);
  10384. background: none;
  10385. }
  10386. }
  10387. }
  10388. .pulsate-animation {
  10389. animation: pulsate 667ms ease-in-out infinite alternate;
  10390. }
  10391. .richtext-content {
  10392. overflow-x: auto;
  10393. &[contenteditable] {
  10394. &,
  10395. &:hover,
  10396. &:focus {
  10397. background: none;
  10398. }
  10399. }
  10400. h1,
  10401. h2,
  10402. h3,
  10403. h4 {
  10404. &:first-child {
  10405. margin-top: 6px;
  10406. }
  10407. }
  10408. table,
  10409. pre,
  10410. blockquote {
  10411. margin-bottom: 16px;
  10412. }
  10413. & > p,
  10414. & > table,
  10415. & > pre,
  10416. & > blockquote {
  10417. &:first-child {
  10418. margin-top: 6px;
  10419. }
  10420. &:last-child {
  10421. margin-bottom: 6px;
  10422. }
  10423. }
  10424. table {
  10425. table-layout: auto;
  10426. width: 100%;
  10427. overflow: auto;
  10428. -webkit-overflow-scrolling: touch;
  10429. word-break: keep-all;
  10430. col {
  10431. width: auto;
  10432. }
  10433. span,
  10434. p,
  10435. a {
  10436. overflow-wrap: anywhere;
  10437. }
  10438. }
  10439. blockquote {
  10440. padding: 8px 12px;
  10441. border-left: 5px solid var(--background-primary-alt);
  10442. }
  10443. code {
  10444. border: none;
  10445. white-space: pre-wrap;
  10446. }
  10447. pre {
  10448. padding: 12px 15px;
  10449. font-size: 13px;
  10450. line-height: 1.45;
  10451. background: var(--background-modifier-accent-light);
  10452. white-space: pre-wrap;
  10453. border-radius: 3px;
  10454. border: none;
  10455. overflow: auto;
  10456. -webkit-overflow-scrolling: touch;
  10457. }
  10458. hr {
  10459. margin-top: 6px;
  10460. margin-bottom: 6px;
  10461. border: 0;
  10462. border-top: 1px solid var(--background-modifier-border);
  10463. }
  10464. @include dark {
  10465. // remove custom backgrounds and colors
  10466. [style*='background'] {
  10467. background: none !important;
  10468. }
  10469. [style*='color'] {
  10470. color: inherit !important;
  10471. }
  10472. }
  10473. }
  10474. .detail-search-header {
  10475. margin: 20px 0 32px;
  10476. }
  10477. .batch-overlay {
  10478. @extend .fit, .zIndex-1;
  10479. color: var(--text-inverted);
  10480. text-transform: uppercase;
  10481. text-align: center;
  10482. letter-spacing: 0.07em;
  10483. font-size: 0.95em;
  10484. line-height: 1.3;
  10485. display: none;
  10486. will-change: display;
  10487. cursor: grabbing;
  10488. overflow: hidden;
  10489. user-select: none;
  10490. &.is-visible {
  10491. display: block;
  10492. }
  10493. &-backdrop {
  10494. @extend .fit;
  10495. background: hsla(231, 20%, 8%, 0.8);
  10496. opacity: 0;
  10497. will-change: opacity;
  10498. }
  10499. &-circle {
  10500. margin: 35px auto;
  10501. background: hsl(207, 7%, 29%);
  10502. border-radius: 100%;
  10503. border: 4px solid var(--background-secondary);
  10504. width: 140px;
  10505. height: 140px;
  10506. padding: 20px 0;
  10507. display: flex;
  10508. flex-direction: column;
  10509. justify-content: space-around;
  10510. align-items: center;
  10511. position: absolute;
  10512. left: 0;
  10513. right: 0;
  10514. will-change: transform, opacity;
  10515. visibility: hidden;
  10516. &--top {
  10517. top: 0;
  10518. }
  10519. &--bottom {
  10520. bottom: 0;
  10521. }
  10522. .icon {
  10523. fill: currentColor;
  10524. opacity: 1;
  10525. }
  10526. &-label {
  10527. width: 80%;
  10528. margin: 10px 0;
  10529. }
  10530. }
  10531. &-cancel {
  10532. background: hsla(0, 0%, 100%, 0.21);
  10533. background-clip: padding-box;
  10534. border: 2px dashed hsla(0, 0%, 100%, 0.3);
  10535. border-radius: 8px;
  10536. padding: 28px;
  10537. margin: auto 200px;
  10538. position: absolute;
  10539. left: 0;
  10540. right: 0;
  10541. max-height: 100px;
  10542. visibility: hidden;
  10543. will-change: opacity;
  10544. display: flex;
  10545. justify-content: center;
  10546. align-items: center;
  10547. }
  10548. &-box {
  10549. background: hsl(232, 9%, 17%);
  10550. width: 100%;
  10551. position: absolute;
  10552. visibility: hidden;
  10553. will-change: opacity, transition;
  10554. &-inner {
  10555. margin: 37px 25px;
  10556. display: flex;
  10557. flex-wrap: wrap;
  10558. justify-content: center;
  10559. overflow: hidden;
  10560. }
  10561. }
  10562. &-assign {
  10563. padding-bottom: 50px;
  10564. bottom: -50px; // extra space for bounce animation
  10565. .batch-overlay-box-inner {
  10566. max-height: 40vh;
  10567. }
  10568. &-group {
  10569. box-shadow: 0 0 35px hsla(0, 0%, 0%, 0.5);
  10570. .batch-overlay-box-inner {
  10571. margin-top: 42px;
  10572. margin-bottom: 10px;
  10573. }
  10574. &-name {
  10575. position: absolute;
  10576. left: 0;
  10577. right: 0;
  10578. top: 0;
  10579. padding: 11px 13px 8px;
  10580. line-height: 1;
  10581. position: absolute;
  10582. background: hsl(233, 10%, 15%);
  10583. }
  10584. }
  10585. &-entry {
  10586. padding: 13px;
  10587. width: 116px;
  10588. height: 155px;
  10589. &.is-hovered {
  10590. .avatar {
  10591. border-color: var(--highlight);
  10592. transform: scale(1.05);
  10593. }
  10594. }
  10595. .avatar {
  10596. border: 4px solid hsl(231, 5%, 30%);
  10597. margin-bottom: 10px;
  10598. box-sizing: content-box;
  10599. transition: transform 120ms;
  10600. cursor: inherit;
  10601. z-index: 1;
  10602. }
  10603. &-name {
  10604. max-height: 34px;
  10605. overflow: hidden;
  10606. display: -webkit-box;
  10607. -webkit-box-orient: vertical;
  10608. -webkit-line-clamp: 2;
  10609. overflow: hidden;
  10610. word-break: break-word;
  10611. }
  10612. &-detail {
  10613. color: gray;
  10614. }
  10615. }
  10616. }
  10617. &-macro {
  10618. padding-top: 50px;
  10619. top: -50px; // extra space for bounce animation
  10620. .batch-overlay-box-inner {
  10621. max-height: 55vh;
  10622. margin: 24px 12px;
  10623. }
  10624. &-entry {
  10625. margin: 13px;
  10626. border: 4px solid hsl(231, 5%, 30%);
  10627. background: hsl(233, 9%, 24%);
  10628. border-radius: 100%;
  10629. height: 120px;
  10630. width: 120px;
  10631. padding: 13px 13px 10px;
  10632. display: flex;
  10633. align-items: center;
  10634. justify-content: center;
  10635. font-size: 0.9em;
  10636. &.is-hovered {
  10637. border-color: var(--highlight);
  10638. transform: scale(1.05);
  10639. }
  10640. &.small {
  10641. @include small-desktop {
  10642. height: 80px;
  10643. width: 80px;
  10644. padding: 11px 11px 8px;
  10645. }
  10646. }
  10647. }
  10648. &-error-message {
  10649. margin: 13px;
  10650. height: 120px;
  10651. padding: 13px 13px 10px;
  10652. display: flex;
  10653. align-items: center;
  10654. justify-content: center;
  10655. font-size: 0.9em;
  10656. }
  10657. }
  10658. }
  10659. .batch-dragger {
  10660. position: absolute;
  10661. left: 0;
  10662. top: 0;
  10663. pointer-events: none;
  10664. width: 250px;
  10665. height: 40px;
  10666. will-change: transform;
  10667. @extend .zIndex-10;
  10668. &-item {
  10669. position: absolute;
  10670. left: 0;
  10671. width: 100%;
  10672. background: var(--background-highlight);
  10673. border-radius: 4px;
  10674. display: flex;
  10675. align-items: center;
  10676. padding: 11px 0 9px 11px;
  10677. box-shadow: 0 0 10px hsla(0, 0%, 0%, 0.28);
  10678. will-change: transform;
  10679. a {
  10680. color: inherit;
  10681. }
  10682. td:not(:first-child) {
  10683. display: block;
  10684. padding: 0 12px;
  10685. white-space: nowrap;
  10686. text-overflow: ellipsis;
  10687. overflow: hidden;
  10688. flex-shrink: 0;
  10689. &:nth-child(3) {
  10690. flex-shrink: 1;
  10691. }
  10692. &:nth-child(n + 4) {
  10693. display: none;
  10694. }
  10695. }
  10696. .checkbox-replacement > .icon,
  10697. .radio-replacement > .icon {
  10698. fill: none;
  10699. }
  10700. }
  10701. &-counter {
  10702. position: absolute;
  10703. right: -8px;
  10704. bottom: -8px;
  10705. width: 25px;
  10706. height: 25px;
  10707. border-radius: 99px;
  10708. z-index: 1;
  10709. color: var(--text-inverted);
  10710. background: var(--highlight);
  10711. display: flex;
  10712. align-items: center;
  10713. justify-content: center;
  10714. box-shadow: 0 0 10px hsla(0, 0%, 0%, 0.28);
  10715. will-change: transform;
  10716. &:empty {
  10717. display: none;
  10718. }
  10719. }
  10720. }
  10721. /*
  10722. -------------
  10723. breadcrumbs
  10724. -------------
  10725. */
  10726. .breadcrumbs {
  10727. display: flex;
  10728. align-items: center;
  10729. min-width: 88px;
  10730. @include phone {
  10731. overflow: hidden;
  10732. }
  10733. &-menu {
  10734. display: flex;
  10735. @include ltr(margin-left, auto);
  10736. @include rtl(margin-right, auto);
  10737. @include bidi-style(padding-left, 20px, padding-right, 0);
  10738. @include phone {
  10739. @include bidi-style(padding-left, 10px, padding-right, 0);
  10740. }
  10741. }
  10742. }
  10743. .breadcrumb {
  10744. position: relative;
  10745. padding-top: 11px;
  10746. padding-bottom: 8px;
  10747. @include ltr(padding-right, 21px);
  10748. @include ltr(padding-left, 13px);
  10749. @include rtl(padding-left, 21px);
  10750. @include rtl(padding-right, 13px);
  10751. color: inherit;
  10752. cursor: pointer;
  10753. @extend .u-textTruncate;
  10754. @include phone {
  10755. flex-shrink: 0;
  10756. }
  10757. &::before,
  10758. &::after {
  10759. content: '';
  10760. position: absolute;
  10761. width: 1px;
  10762. height: 50%;
  10763. background: currentColor;
  10764. opacity: 0.33;
  10765. @include ltr(right, 0);
  10766. @include rtl(left, 0);
  10767. top: 0;
  10768. transform-origin: bottom;
  10769. @include ltr(transform, rotate(-37deg));
  10770. @include rtl(transform, rotate(37deg));
  10771. }
  10772. &::after {
  10773. top: 50%;
  10774. transform-origin: top;
  10775. @include ltr(transform, rotate(37deg));
  10776. @include rtl(transform, rotate(-37deg));
  10777. }
  10778. &:last-child {
  10779. &::before,
  10780. &::after {
  10781. display: none;
  10782. }
  10783. }
  10784. .modified-icon {
  10785. @include bidi-style(margin-right, 3px, margin-left, 0);
  10786. display: inline-block;
  10787. vertical-align: middle;
  10788. line-height: 1;
  10789. margin-top: -3px;
  10790. }
  10791. &-icon {
  10792. fill: currentColor;
  10793. width: 20px;
  10794. height: 20px;
  10795. object-fit: contain;
  10796. }
  10797. .modified-icon-modifier {
  10798. fill: var(--background-primary-alt);
  10799. }
  10800. }
  10801. /*
  10802. ---------------------
  10803. iconfont icon picker
  10804. ---------------------
  10805. */
  10806. .icon_picker {
  10807. .dropdown-menu {
  10808. max-height: 500px;
  10809. width: 420px;
  10810. min-width: 0;
  10811. overflow-y: auto;
  10812. }
  10813. .controls {
  10814. position: relative;
  10815. }
  10816. &-shadow {
  10817. display: none;
  10818. }
  10819. .dropdown-grid {
  10820. &:empty {
  10821. padding: 0;
  10822. & + .dropdown-filter-placeholder {
  10823. display: block;
  10824. }
  10825. }
  10826. li:hover:not(.is-active) {
  10827. background: none;
  10828. }
  10829. .icon {
  10830. width: 40px;
  10831. line-height: 40px;
  10832. text-align: center;
  10833. }
  10834. }
  10835. .dropdown-filter-placeholder {
  10836. display: none;
  10837. padding: 10px;
  10838. text-align: center;
  10839. text-rendering: auto;
  10840. font-feature-settings: 'liga';
  10841. -webkit-font-smoothing: antialiased;
  10842. -moz-osx-font-smoothing: grayscale;
  10843. transition: letter-spacing 200ms;
  10844. cursor: default;
  10845. line-height: 40px;
  10846. &:hover {
  10847. letter-spacing: -2px;
  10848. }
  10849. span {
  10850. display: none;
  10851. &.is-active {
  10852. display: block;
  10853. }
  10854. }
  10855. }
  10856. .dropdown-filter {
  10857. background: none;
  10858. width: 100%;
  10859. background: var(--background-modifier-accent);
  10860. border: none;
  10861. padding: 13px 20px 11px;
  10862. outline: none;
  10863. }
  10864. .dropdown-grid {
  10865. display: flex;
  10866. flex-wrap: wrap;
  10867. padding: 10px;
  10868. margin: 0;
  10869. li {
  10870. list-style: none;
  10871. cursor: pointer;
  10872. user-select: none;
  10873. border-radius: 2px;
  10874. &:hover,
  10875. &.is-active {
  10876. background: var(--highlight);
  10877. }
  10878. }
  10879. }
  10880. }
  10881. /*
  10882. --------------
  10883. color picker
  10884. --------------
  10885. */
  10886. .color {
  10887. .controls {
  10888. position: relative;
  10889. }
  10890. .controls-button {
  10891. align-self: stretch;
  10892. }
  10893. .controls-button-inner {
  10894. padding: 4px;
  10895. }
  10896. .color-field {
  10897. width: 31px;
  10898. height: 100%;
  10899. position: relative;
  10900. // unparsable color
  10901. &[style='']::before {
  10902. content: '';
  10903. position: absolute;
  10904. left: 10%;
  10905. top: 10%;
  10906. width: 80%;
  10907. height: 80%;
  10908. background: var(--background-primary-alt);
  10909. animation: rotateplane 1.2s infinite ease-in-out;
  10910. }
  10911. }
  10912. }
  10913. .colorpicker {
  10914. &.dropdown-menu {
  10915. box-sizing: content-box;
  10916. width: 380px;
  10917. min-width: 0;
  10918. }
  10919. .open > & {
  10920. display: flex;
  10921. }
  10922. &-hue-saturation {
  10923. flex-grow: 1;
  10924. width: 200px;
  10925. height: 150px;
  10926. margin: 14px;
  10927. @include ltr(margin-right, 0);
  10928. @include rtl(margin-left, 0);
  10929. $i: 0;
  10930. $rainbow: ();
  10931. @while $i <= 360 {
  10932. $rainbow: append($rainbow, unquote('hsl(#{$i},100%,50%)'), comma);
  10933. $i: $i + 60;
  10934. }
  10935. background: linear-gradient(to right, $rainbow);
  10936. position: relative;
  10937. overflow: hidden;
  10938. cursor:
  10939. image_url('/assets/images/colorcircle.gif') 8 8,
  10940. auto;
  10941. user-select: none;
  10942. }
  10943. &-lightness-plane,
  10944. &-saturation-gradient {
  10945. position: absolute;
  10946. left: 0;
  10947. top: 0;
  10948. height: 100%;
  10949. width: 100%;
  10950. }
  10951. &-circle {
  10952. position: absolute;
  10953. left: 0;
  10954. top: 0;
  10955. border: 1px solid black;
  10956. width: 12px;
  10957. height: 12px;
  10958. margin: -6px 0 0 -6px;
  10959. border-radius: 100%;
  10960. }
  10961. &-lightness {
  10962. height: 150px;
  10963. margin: 14px;
  10964. position: relative;
  10965. user-select: none;
  10966. }
  10967. &-hue-plane {
  10968. height: 100%;
  10969. width: 20px;
  10970. background: red;
  10971. }
  10972. &-hue-gradient {
  10973. height: 100%;
  10974. width: 100%;
  10975. background: linear-gradient(white, transparent, black);
  10976. }
  10977. &-slider {
  10978. position: absolute;
  10979. top: 0;
  10980. left: -7px;
  10981. right: -7px;
  10982. &-arrow {
  10983. position: absolute;
  10984. top: 0;
  10985. margin-top: -4px;
  10986. border: 4px solid transparent;
  10987. border-left: 7px solid hsl(240, 8%, 100%);
  10988. border-right: 7px solid hsl(240, 8%, 100%);
  10989. &--left {
  10990. left: 0;
  10991. border-right: none;
  10992. }
  10993. &--right {
  10994. right: 0;
  10995. border-left: none;
  10996. }
  10997. }
  10998. }
  10999. }
  11000. /*
  11001. ----------------
  11002. iconset picker
  11003. ----------------
  11004. */
  11005. .iconset_picker {
  11006. .controls input {
  11007. display: none;
  11008. }
  11009. }
  11010. .icon-sets {
  11011. margin: 0 -10px;
  11012. }
  11013. .icon-set {
  11014. margin: 10px;
  11015. display: flex;
  11016. border: 1px solid var(--border);
  11017. border-radius: 3px;
  11018. &.is-active {
  11019. border-color: var(--border-highlight);
  11020. box-shadow: 0 0 0 3px var(--shadow-highlight);
  11021. }
  11022. &-preview {
  11023. flex-grow: 1;
  11024. display: flex;
  11025. flex-wrap: wrap;
  11026. align-items: center;
  11027. justify-content: center;
  11028. overflow: hidden;
  11029. cursor: pointer;
  11030. user-select: none;
  11031. height: 250px;
  11032. border-radius: 0 3px 3px 0;
  11033. border-left: 1px solid var(--border);
  11034. background: var(--background-primary);
  11035. color: var(--text-muted);
  11036. position: relative;
  11037. }
  11038. &-meta {
  11039. flex-basis: 197px;
  11040. order: -1;
  11041. display: flex;
  11042. flex-direction: column;
  11043. flex-shrink: 0;
  11044. padding: 10px;
  11045. background: var(--background-secondary);
  11046. border-radius: 3px 0 0 3px;
  11047. }
  11048. &-version {
  11049. color: var(--text-muted);
  11050. }
  11051. &-website {
  11052. margin-top: auto;
  11053. display: block;
  11054. }
  11055. .icon {
  11056. width: 50px;
  11057. line-height: 50px;
  11058. text-align: center;
  11059. font-size: 18px;
  11060. &:not(.loading).do-flash {
  11061. animation: iconset-flash 0.7s ease-out;
  11062. }
  11063. }
  11064. }
  11065. @keyframes iconset-flash {
  11066. from {
  11067. background: var(--background-modifier-hover);
  11068. color: var(--text-normal);
  11069. }
  11070. to {
  11071. background: transparent;
  11072. color: inherit;
  11073. }
  11074. }
  11075. /*
  11076. -----------------------------
  11077. generic flex layout classes
  11078. -----------------------------
  11079. */
  11080. .horizontal,
  11081. .vertical,
  11082. .centered {
  11083. display: flex;
  11084. }
  11085. .horizontal.hide,
  11086. .vertical.hide,
  11087. .centered.hide {
  11088. display: none;
  11089. }
  11090. .horizontal {
  11091. flex-direction: row;
  11092. }
  11093. .horizontal.multiline {
  11094. flex-wrap: wrap;
  11095. }
  11096. .horizontal.reverse {
  11097. flex-direction: row-reverse;
  11098. }
  11099. .vertical {
  11100. flex-direction: column;
  11101. }
  11102. .vertical.reverse {
  11103. flex-direction: column-reverse;
  11104. }
  11105. .vertical.stretch > *,
  11106. .horizontal.stretch > * {
  11107. flex: 1;
  11108. }
  11109. .stretch {
  11110. align-self: stretch;
  11111. }
  11112. .relative {
  11113. position: relative;
  11114. }
  11115. .fit {
  11116. position: absolute;
  11117. top: 0;
  11118. left: 0;
  11119. bottom: 0;
  11120. right: 0;
  11121. }
  11122. body.fit {
  11123. margin: 0;
  11124. }
  11125. .scrollable {
  11126. overflow: auto;
  11127. -webkit-overflow-scrolling: touch;
  11128. }
  11129. .flex {
  11130. flex: 1;
  11131. }
  11132. .margin-bottom-5 {
  11133. margin-bottom: 5px;
  11134. }
  11135. /*
  11136. Firefox minimum content bugfix
  11137. https://github.com/philipwalton/flexbugs#1-minimum-content-sizing-of-flex-items-not-honored
  11138. "By default, flex items won’t shrink below their minimum
  11139. content size (the length of the longest word or fixed-size element).
  11140. To change this, set the min-width or min-height property."
  11141. */
  11142. .flex-shrink-horizontal {
  11143. min-width: 0;
  11144. }
  11145. .flex-full {
  11146. flex: 1 1 100%;
  11147. }
  11148. .flex-auto {
  11149. flex: 1 1 auto;
  11150. }
  11151. .flex-shrink {
  11152. flex: 0 1 auto;
  11153. }
  11154. .flex-no-shrink {
  11155. flex-shrink: 0;
  11156. }
  11157. .flex-none {
  11158. flex: none;
  11159. }
  11160. .flex-1 {
  11161. flex: 1;
  11162. }
  11163. .flex-2 {
  11164. flex: 2;
  11165. }
  11166. .flex-3 {
  11167. flex: 3;
  11168. }
  11169. .justify-start {
  11170. justify-content: flex-start;
  11171. }
  11172. .justified {
  11173. justify-content: center;
  11174. }
  11175. .justify-end {
  11176. justify-content: flex-end;
  11177. }
  11178. .justify-between {
  11179. justify-content: space-between;
  11180. }
  11181. .start {
  11182. align-items: flex-start;
  11183. }
  11184. .center {
  11185. align-items: center;
  11186. }
  11187. .baseline {
  11188. align-items: baseline;
  11189. }
  11190. .centered {
  11191. align-items: center;
  11192. justify-content: center;
  11193. }
  11194. .end {
  11195. align-items: flex-end;
  11196. }
  11197. .self-start {
  11198. align-self: start;
  11199. }
  11200. .self-end {
  11201. align-self: end;
  11202. }
  11203. .span-width {
  11204. flex-basis: 100%;
  11205. }
  11206. .two-columns,
  11207. .three-columns,
  11208. .wrap {
  11209. flex-wrap: wrap;
  11210. }
  11211. .two-columns,
  11212. .three-columns {
  11213. @include phone {
  11214. display: block;
  11215. }
  11216. }
  11217. .two-columns > .column {
  11218. width: 50%;
  11219. @include phone {
  11220. width: auto;
  11221. }
  11222. }
  11223. .three-columns > .column {
  11224. width: 33.33%;
  11225. @include phone {
  11226. width: auto;
  11227. }
  11228. }
  11229. .align-left {
  11230. @include bidi-style(margin-right, auto, margin-left, 0);
  11231. }
  11232. .align-right {
  11233. @include bidi-style(margin-left, auto, margin-right, 0);
  11234. }
  11235. .space-left {
  11236. @include bidi-style(margin-left, 10px, margin-right, 0);
  11237. }
  11238. .space-right {
  11239. @include bidi-style(margin-right, 10px, margin-left, 0);
  11240. }
  11241. .half-space-left {
  11242. @include bidi-style(margin-left, 5px, margin-right, 0);
  11243. }
  11244. .half-space-right {
  11245. @include bidi-style(margin-right, 5px, margin-left, 0);
  11246. }
  11247. .align-center {
  11248. margin-left: auto;
  11249. margin-right: auto;
  11250. }
  11251. .flex-space-after {
  11252. @include bidi-style(margin-right, auto, margin-left, 0);
  11253. }
  11254. .flex-space-before {
  11255. @include bidi-style(margin-left, auto, margin-right, 0);
  11256. }
  11257. .half-spacer {
  11258. width: 5px;
  11259. height: 5px;
  11260. }
  11261. .spacer {
  11262. width: 10px;
  11263. height: 10px;
  11264. }
  11265. .double-spacer {
  11266. width: 20px;
  11267. height: 20px;
  11268. }
  11269. .flex-spacer {
  11270. flex: 1;
  11271. }
  11272. span.is-disabled {
  11273. cursor: not-allowed;
  11274. opacity: 0.5;
  11275. }
  11276. .inline-label + .scheduled-widget {
  11277. margin-left: 18px;
  11278. }
  11279. .scheduled-widget {
  11280. display: flex;
  11281. align-items: center;
  11282. padding: 5px 5px 5px 10px;
  11283. border: 1px solid rgba(0, 0, 0, 0.1);
  11284. border-radius: 4px;
  11285. &[data-state='published'] {
  11286. color: var(--supergood-color);
  11287. border-color: currentColor;
  11288. .btn {
  11289. border-color: currentColor;
  11290. }
  11291. }
  11292. &[data-state='archived'] {
  11293. border-color: var(--ghost-color);
  11294. .btn {
  11295. border-color: var(--ghost-color);
  11296. }
  11297. }
  11298. &[data-state='internal'] {
  11299. color: var(--highlight);
  11300. border-color: currentColor;
  11301. .btn {
  11302. border-color: currentColor;
  11303. }
  11304. }
  11305. .help-text & {
  11306. margin-top: 4px;
  11307. }
  11308. .icon {
  11309. color: inherit;
  11310. fill: currentColor;
  11311. vertical-align: middle;
  11312. }
  11313. &-label {
  11314. margin: 0 10px 0 6px;
  11315. }
  11316. .icon-diagonal-cross {
  11317. width: 10px;
  11318. height: 10px;
  11319. }
  11320. .btn {
  11321. color: inherit;
  11322. }
  11323. }
  11324. .knowledge-base {
  11325. &-navigation {
  11326. display: flex;
  11327. align-items: center;
  11328. color: var(--interactive-muted);
  11329. background: var(--background-primary-alt);
  11330. border-bottom: 1px solid var(--border);
  11331. padding: 7px;
  11332. @include phone {
  11333. flex-shrink: 0;
  11334. overflow: auto;
  11335. -webkit-overflow-scrolling: touch;
  11336. }
  11337. .breadcrumb:not(:first-child) .breadcrumb-icon {
  11338. width: 16px;
  11339. height: 16px;
  11340. }
  11341. }
  11342. &-body {
  11343. position: relative;
  11344. overflow-x: hidden;
  11345. @include phone {
  11346. flex-direction: column-reverse;
  11347. overflow: visible;
  11348. }
  11349. }
  11350. &-sidebar {
  11351. position: absolute;
  11352. @include ltr(right, 0);
  11353. @include rtl(left, 0);
  11354. top: 0;
  11355. width: 280px;
  11356. height: 100%;
  11357. overflow: auto;
  11358. -webkit-overflow-scrolling: touch;
  11359. transition: transform 500ms;
  11360. @include bidi-style(
  11361. border-left,
  11362. 1px solid var(--border),
  11363. border-right,
  11364. none
  11365. );
  11366. @include phone {
  11367. width: auto;
  11368. position: static;
  11369. @include bidi-style(border-left, none, border-right, none);
  11370. border-top: 1px solid var(--border);
  11371. overflow: visible;
  11372. }
  11373. @include desktop {
  11374. width: 28%;
  11375. }
  11376. &.hidden {
  11377. display: block !important;
  11378. visibility: visible !important;
  11379. @include ltr(transform, translateX(100%));
  11380. @include rtl(transform, translateX(-100%));
  11381. @include phone {
  11382. transform: none !important;
  11383. display: none !important;
  11384. }
  11385. + .knowledge-base-main {
  11386. @include ltr(margin-right, 0);
  11387. @include rtl(margin-left, 0);
  11388. }
  11389. }
  11390. h2 {
  11391. font-size: 17px;
  11392. line-height: 1;
  11393. }
  11394. }
  11395. &-main {
  11396. width: 100%;
  11397. @include ltr(transition, margin-right 500ms);
  11398. @include ltr(margin-right, 280px);
  11399. @include rtl(transition, margin-left 500ms);
  11400. @include rtl(margin-left, 280px);
  11401. @include phone {
  11402. margin: 0 0 10px !important;
  11403. }
  11404. @include desktop {
  11405. @include ltr(margin-right, 28%);
  11406. @include rtl(margin-left, 28%);
  11407. }
  11408. }
  11409. form {
  11410. flex-shrink: 0;
  11411. }
  11412. .richtext-content {
  11413. word-break: break-word;
  11414. word-wrap: anywhere;
  11415. }
  11416. .page-header {
  11417. margin: 1px 0 3px;
  11418. flex-shrink: 0;
  11419. }
  11420. }
  11421. .modal-manage-attachments {
  11422. input:focus + label {
  11423. text-decoration: none;
  11424. }
  11425. }
  11426. .modal-knowledge-base-server-snippet {
  11427. label.radio-replacement:first-child {
  11428. padding-left: 0;
  11429. }
  11430. }
  11431. .container {
  11432. max-width: 960px;
  11433. width: 100%;
  11434. margin: 20px auto;
  11435. }
  11436. .sections {
  11437. list-style: none;
  11438. padding: 0;
  11439. margin: 0 -10px;
  11440. &:not(:empty) + &:not(:empty) {
  11441. border-top: 1px solid var(--border);
  11442. margin-top: 20px;
  11443. padding-top: 20px;
  11444. }
  11445. &--grid {
  11446. display: flex;
  11447. flex-wrap: wrap;
  11448. .section {
  11449. a {
  11450. padding-bottom: 72%;
  11451. position: relative;
  11452. line-height: 1.3;
  11453. }
  11454. [data-font] {
  11455. font-size: 60px;
  11456. }
  11457. .modified-icon {
  11458. margin: 10px 0 20px;
  11459. }
  11460. &--subsection {
  11461. display: none;
  11462. }
  11463. &-inner {
  11464. position: absolute;
  11465. padding: 10px;
  11466. left: 0;
  11467. top: 0;
  11468. right: 0;
  11469. bottom: 0;
  11470. align-items: center;
  11471. justify-content: center;
  11472. flex-direction: column;
  11473. text-align: center;
  11474. .title {
  11475. display: -webkit-box;
  11476. overflow: auto;
  11477. -webkit-box-orient: vertical;
  11478. -webkit-line-clamp: 5;
  11479. }
  11480. }
  11481. }
  11482. &[data-size='medium'] {
  11483. .section {
  11484. width: 25%;
  11485. @include phone {
  11486. width: 100%;
  11487. }
  11488. a {
  11489. font-size: 14px;
  11490. }
  11491. [data-font] {
  11492. font-size: 42px;
  11493. }
  11494. .modified-icon-modifier {
  11495. width: 18px;
  11496. height: 18px;
  11497. margin: 0 -6px -2px 0;
  11498. }
  11499. }
  11500. }
  11501. &[data-size='large'] {
  11502. .section {
  11503. width: 33.33%;
  11504. @include phone {
  11505. width: 100%;
  11506. }
  11507. a {
  11508. font-size: 15px;
  11509. }
  11510. .modified-icon-modifier {
  11511. width: 22.5px;
  11512. height: 22.5px;
  11513. margin: 0 -8px -5px 0;
  11514. }
  11515. }
  11516. }
  11517. }
  11518. &--list {
  11519. .section-detail {
  11520. margin-left: 0.2em;
  11521. }
  11522. }
  11523. }
  11524. .section {
  11525. &.kb-item--invisible {
  11526. opacity: 0.5;
  11527. }
  11528. &.kb-item--missing-translation,
  11529. &.kb-item--missing-translation:active,
  11530. &.kb-item--missing-translation:focus {
  11531. color: hsl(45, 98%, 63%);
  11532. }
  11533. a {
  11534. display: block;
  11535. text-decoration: none;
  11536. color: inherit;
  11537. }
  11538. &-title {
  11539. color: #444a4f;
  11540. }
  11541. &-detail {
  11542. color: #b4b7b9;
  11543. }
  11544. }
  11545. .section-inner {
  11546. position: relative;
  11547. display: flex;
  11548. align-items: flex-start;
  11549. padding: 10px 14px;
  11550. margin: 10px;
  11551. background: var(--background-secondary);
  11552. border-radius: 3px;
  11553. border: 1px solid var(--border);
  11554. box-shadow: var(--elevation-low);
  11555. @include phone {
  11556. margin: 5px;
  11557. }
  11558. &:active {
  11559. box-shadow: none;
  11560. }
  11561. &-title {
  11562. font-weight: 500;
  11563. font-size: 15px;
  11564. line-height: 1.15;
  11565. }
  11566. &-date {
  11567. display: inline;
  11568. color: hsl(0, 0%, 75%);
  11569. &::after {
  11570. content: ' — ';
  11571. color: var(--text-normal);
  11572. }
  11573. &:only-child::after {
  11574. content: '';
  11575. }
  11576. }
  11577. &-detail {
  11578. display: block;
  11579. margin-top: 5px;
  11580. }
  11581. &-icon {
  11582. flex-shrink: 0;
  11583. vertical-align: middle;
  11584. &-holder {
  11585. @include ltr(margin-right, 11px);
  11586. @include rtl(margin-left, 11px);
  11587. margin-top: 1px;
  11588. .nav-pills & {
  11589. @include ltr(margin-right, 7px);
  11590. @include rtl(margin-left, 7px);
  11591. }
  11592. }
  11593. &[data-font] {
  11594. font-size: 16px;
  11595. line-height: 1;
  11596. }
  11597. &.icon {
  11598. fill: currentColor;
  11599. width: 16px;
  11600. height: 16px;
  11601. object-fit: contain;
  11602. object-position: center top;
  11603. }
  11604. }
  11605. em {
  11606. font-style: normal;
  11607. background: hsla(205, 90%, 60%, 0.75);
  11608. }
  11609. }
  11610. .knowledge-base-article {
  11611. &-header {
  11612. text-align: center;
  11613. }
  11614. &-meta {
  11615. display: block;
  11616. text-align: center;
  11617. > * {
  11618. &:first-child {
  11619. text-transform: capitalize;
  11620. }
  11621. &::after {
  11622. content: ' · ';
  11623. }
  11624. &:last-child::after {
  11625. display: none;
  11626. }
  11627. }
  11628. }
  11629. &-body {
  11630. margin-top: 20px;
  11631. background: var(--background-secondary);
  11632. border-radius: 2px;
  11633. padding: 50px 50px 10px;
  11634. border: 1px solid var(--border);
  11635. @include phone {
  11636. padding: 15px 15px 5px;
  11637. }
  11638. }
  11639. &-content {
  11640. margin-bottom: 40px;
  11641. @include phone {
  11642. margin-bottom: 10px;
  11643. }
  11644. }
  11645. &-attachments,
  11646. &-tags,
  11647. &-linked-tickets {
  11648. margin: 0 -30px;
  11649. @include phone {
  11650. margin: 0 -5px;
  11651. }
  11652. }
  11653. .tasks {
  11654. @include bidi-style(margin-left, 7px, margin-right, 0);
  11655. }
  11656. &-tags--container {
  11657. padding: 6px 5px 11px;
  11658. display: flex;
  11659. flex-wrap: wrap;
  11660. .tag {
  11661. margin: 2px;
  11662. display: inline-block;
  11663. background: #0f94d6;
  11664. color: var(--text-inverted);
  11665. border-radius: 999px;
  11666. padding: 2px 12px 1px;
  11667. &:hover {
  11668. background: hsl(200deg, 87%, 34%);
  11669. }
  11670. }
  11671. }
  11672. &-nav {
  11673. display: flex;
  11674. &-link {
  11675. padding: 15px;
  11676. max-width: 50%;
  11677. display: flex;
  11678. align-items: center;
  11679. .knowledge-base-article > & {
  11680. margin-top: -10px;
  11681. }
  11682. .spacer {
  11683. width: 5px;
  11684. }
  11685. .icon {
  11686. flex-shrink: 0;
  11687. fill: currentColor;
  11688. opacity: 1;
  11689. vertical-align: top;
  11690. }
  11691. &--next {
  11692. @include bidi-style(margin-left, auto, margin-right, inherit);
  11693. }
  11694. &-title {
  11695. @extend .u-textTruncate;
  11696. }
  11697. }
  11698. }
  11699. }
  11700. .miller-columns {
  11701. display: flex;
  11702. font-size: 12px;
  11703. border: 1px solid var(--border);
  11704. border-radius: 3px;
  11705. .column {
  11706. list-style: none;
  11707. padding: 0;
  11708. margin: 0;
  11709. flex: 1 1 33%;
  11710. height: 300px;
  11711. overflow: auto;
  11712. -webkit-overflow-scrolling: touch;
  11713. border-right: 1px solid var(--border);
  11714. &:last-child {
  11715. border-right-width: 0;
  11716. }
  11717. &-item {
  11718. display: flex;
  11719. align-items: center;
  11720. padding: 5px 10px;
  11721. cursor: default;
  11722. &:hover {
  11723. background: var(--background-modifier-accent-light);
  11724. }
  11725. &.is-selected {
  11726. background: var(--background-secondary-hover);
  11727. }
  11728. &--has-children {
  11729. @extend %clickable;
  11730. cursor: pointer;
  11731. }
  11732. span {
  11733. @extend .u-textTruncate;
  11734. margin-right: 10px;
  11735. }
  11736. > .icon:first-child,
  11737. [data-font] {
  11738. fill: currentColor;
  11739. margin-right: 8px;
  11740. vertical-align: middle;
  11741. flex-shrink: 0;
  11742. }
  11743. .icon-arrow-right {
  11744. margin-left: auto;
  11745. flex-shrink: 0;
  11746. }
  11747. .btn {
  11748. margin-left: auto;
  11749. }
  11750. }
  11751. }
  11752. }
  11753. .highlight-emulator {
  11754. background-color: highlight;
  11755. }
  11756. .videoWrapper {
  11757. position: relative;
  11758. padding-bottom: 56.25%; /* 16:9 */
  11759. padding-top: 25px;
  11760. height: 0;
  11761. }
  11762. .videoWrapper iframe {
  11763. position: absolute;
  11764. top: 0;
  11765. left: 0;
  11766. width: 100%;
  11767. height: 100%;
  11768. }
  11769. .btn-manage-public-menu-edit {
  11770. margin-top: 0;
  11771. }
  11772. .kb-menu-settings-entry {
  11773. margin-bottom: 12px;
  11774. }
  11775. .text-modules-box {
  11776. max-height: 40vh;
  11777. }
  11778. .sla_times {
  11779. .sla_radio_container {
  11780. padding-top: 0.5em;
  11781. padding-left: 0.5em;
  11782. }
  11783. }
  11784. .calendar-preview {
  11785. .calendar-events {
  11786. margin-top: 12px;
  11787. p {
  11788. margin: 0;
  11789. }
  11790. h2 {
  11791. margin-bottom: 24px;
  11792. }
  11793. h4 {
  11794. margin-bottom: 4px;
  11795. }
  11796. section.description {
  11797. margin: 24px 0 0;
  11798. padding: 4px;
  11799. }
  11800. .event-row {
  11801. display: flex;
  11802. div {
  11803. width: 50%;
  11804. margin-bottom: 4px;
  11805. }
  11806. }
  11807. }
  11808. div.divider {
  11809. margin-top: 18px;
  11810. margin-bottom: 6px;
  11811. border-top: 1px solid #dfdfdf;
  11812. &:last-of-type {
  11813. display: none;
  11814. }
  11815. }
  11816. }
  11817. .reporting {
  11818. .legend > div {
  11819. background: var(--background-secondary) !important;
  11820. }
  11821. .legendColorBox {
  11822. padding-right: 4px;
  11823. }
  11824. }
  11825. .duplicate-ticket-detection {
  11826. position: relative;
  11827. margin-bottom: 0;
  11828. .close {
  11829. position: absolute;
  11830. top: 2px;
  11831. opacity: 0.39;
  11832. @include bidi-style(right, 0, left, 0);
  11833. &:hover {
  11834. opacity: 1;
  11835. }
  11836. svg {
  11837. width: 9px;
  11838. height: 9px;
  11839. }
  11840. }
  11841. h4 {
  11842. text-transform: none;
  11843. font-size: 16px;
  11844. }
  11845. p {
  11846. word-wrap: break-word;
  11847. overflow-wrap: break-word;
  11848. white-space: pre-wrap;
  11849. }
  11850. p,
  11851. ul {
  11852. margin-bottom: 6px;
  11853. }
  11854. .btn {
  11855. font-size: 10px;
  11856. color: var(--text-link);
  11857. background: none;
  11858. }
  11859. }
  11860. .profile-settings-notifications-content {
  11861. .zammad-switch {
  11862. float: left;
  11863. margin-right: 10px;
  11864. }
  11865. .profile-groups-limit-settings {
  11866. min-height: 1px;
  11867. }
  11868. .settings-list {
  11869. margin-bottom: 0;
  11870. }
  11871. .profile-groups-all-unchecked {
  11872. margin-bottom: 10px;
  11873. }
  11874. }
  11875. .profile-two-factor {
  11876. table {
  11877. margin-bottom: 16px;
  11878. }
  11879. .recovery-codes {
  11880. p {
  11881. margin: 12px 0;
  11882. }
  11883. p:last-of-type {
  11884. margin: 0;
  11885. }
  11886. }
  11887. }
  11888. .two-factor-auth {
  11889. .loading {
  11890. display: block;
  11891. margin: 25px auto;
  11892. }
  11893. &-method-buttons {
  11894. display: flex;
  11895. flex-direction: column;
  11896. max-width: 382px;
  11897. margin: 25px auto 0;
  11898. }
  11899. &-method {
  11900. display: flex;
  11901. flex-direction: column;
  11902. margin-bottom: 15px;
  11903. }
  11904. .is-disabled {
  11905. opacity: 0.33;
  11906. }
  11907. .method-form .form-group {
  11908. margin-bottom: 4px;
  11909. }
  11910. .authenticator-app {
  11911. --width: 306px;
  11912. --height: 306px;
  11913. position: relative;
  11914. width: var(--width);
  11915. margin: 0 auto;
  11916. .qr-code-canvas {
  11917. width: var(--width);
  11918. height: var(--height);
  11919. cursor: pointer;
  11920. }
  11921. .secret {
  11922. position: absolute;
  11923. top: 0;
  11924. left: 0;
  11925. width: var(--width);
  11926. height: var(--height);
  11927. background: rgba(0, 0, 0, 0.9);
  11928. color: var(--text-inverted);
  11929. font-family: monospace;
  11930. display: flex;
  11931. justify-content: center;
  11932. align-items: center;
  11933. cursor: pointer;
  11934. }
  11935. }
  11936. }
  11937. .history-row-list {
  11938. padding-left: 10px;
  11939. span {
  11940. text-decoration: underline;
  11941. }
  11942. }
  11943. .btn--split--last.js-securitySign {
  11944. .icon {
  11945. @include ltr(margin, -2px 5px 0 -2px !important);
  11946. @include rtl(margin, -2px -2px 0 5px !important);
  11947. }
  11948. }
  11949. .overlap-x-6 {
  11950. @include ltr(margin-left, -6px);
  11951. @include rtl(margin-right, -6px);
  11952. }
  11953. div.accounted-time-value {
  11954. &-container {
  11955. display: flex;
  11956. flex-direction: column;
  11957. }
  11958. &-row {
  11959. display: flex;
  11960. flex-direction: row;
  11961. }
  11962. &-item {
  11963. padding: 1px;
  11964. flex: 0 0 auto;
  11965. }
  11966. &-item:first-child {
  11967. flex: 1 1 auto;
  11968. white-space: nowrap;
  11969. text-overflow: ellipsis;
  11970. overflow: hidden;
  11971. @include bidi-style(margin-right, 6px, margin-left, 0);
  11972. }
  11973. }
  11974. .checklistShowRowContent {
  11975. display: flex;
  11976. align-items: stretch;
  11977. .checklistItemTicketTitle,
  11978. .checklistItemValue {
  11979. flex-grow: 1;
  11980. padding-left: 4px;
  11981. padding-right: 4px;
  11982. padding-top: 10px;
  11983. padding-bottom: 5px; // make sure the value is aligned vertically with the checkbox and the dropdown menu
  11984. word-wrap: break-word;
  11985. overflow-wrap: break-word;
  11986. &.edit-widget-active {
  11987. padding-top: 5px;
  11988. padding-bottom: 3px;
  11989. @include bidi-style(padding-left, 0, padding-right, 4px);
  11990. }
  11991. }
  11992. .checkbox-replacement-readonly,
  11993. .checkbox-replacement {
  11994. width: 40px;
  11995. flex-shrink: 0;
  11996. }
  11997. .checklistItemTicketStateIndicator {
  11998. width: 40px;
  11999. height: 40px;
  12000. flex-shrink: 0;
  12001. display: flex;
  12002. align-items: center;
  12003. justify-content: center;
  12004. }
  12005. .draggable {
  12006. width: 40px;
  12007. height: 28px;
  12008. text-align: center;
  12009. cursor: move;
  12010. flex-shrink: 0;
  12011. display: flex;
  12012. align-items: start;
  12013. justify-content: center;
  12014. margin-top: 12px;
  12015. }
  12016. .draggable:not(.hide) + .checklistItemTicketStateIndicator,
  12017. .draggable:not(.hide) + .checkbox-replacement-readonly {
  12018. width: 20px;
  12019. }
  12020. .dropdown-container {
  12021. flex-shrink: 0;
  12022. .icon-checkmark {
  12023. fill: white;
  12024. }
  12025. }
  12026. }
  12027. .checklistShow .table {
  12028. margin-bottom: 0;
  12029. &:not(.table--no-borders) {
  12030. border-bottom: 1px solid var(--background-modifier-accent);
  12031. }
  12032. > thead > tr > th {
  12033. height: 40px;
  12034. vertical-align: middle;
  12035. padding-top: 4px;
  12036. padding-bottom: 3px;
  12037. }
  12038. > tbody > tr > td {
  12039. vertical-align: middle;
  12040. &.checklistShowRowContentCell {
  12041. height: 40px;
  12042. padding: 0;
  12043. }
  12044. &.checklistShowRowContentCellNoItems {
  12045. height: 40px;
  12046. font-size: 12px;
  12047. text-transform: uppercase;
  12048. text-align: center;
  12049. }
  12050. .icon {
  12051. margin-top: 0;
  12052. }
  12053. }
  12054. }
  12055. .checklistShowButtons {
  12056. display: flex;
  12057. justify-content: space-between;
  12058. padding: 5px;
  12059. .btn {
  12060. margin: 0;
  12061. }
  12062. .btn--create {
  12063. @include ltr(margin-left, auto);
  12064. @include rtl(margin-right, auto);
  12065. }
  12066. }
  12067. .input-group--small {
  12068. height: 30px;
  12069. .input-group-btn {
  12070. .btn--action {
  12071. padding: 0 9px !important;
  12072. }
  12073. .btn--icon-only {
  12074. height: 30px;
  12075. width: 30px;
  12076. .icon {
  12077. height: 10px;
  12078. width: 10px;
  12079. }
  12080. }
  12081. }
  12082. }
  12083. .checklistItemEdit,
  12084. .checklistTitleEdit {
  12085. flex-grow: 1;
  12086. }
  12087. .checklistStart {
  12088. display: flex;
  12089. flex-direction: column;
  12090. row-gap: 8px;
  12091. }
  12092. .checklist-item-container {
  12093. .checklist-item {
  12094. display: flex;
  12095. flex: 0 1 auto;
  12096. align-items: center;
  12097. margin-bottom: 4px;
  12098. padding-left: 6px;
  12099. padding-right: 6px;
  12100. padding-bottom: 5px;
  12101. border-bottom: 1px solid var(--background-modifier-accent);
  12102. &-draggable {
  12103. cursor: move;
  12104. margin-right: 8px;
  12105. margin-left: 8px;
  12106. padding-top: 6px;
  12107. }
  12108. &-text {
  12109. @include ltr(margin-right, 8px);
  12110. @include rtl(margin-left, 8px);
  12111. }
  12112. }
  12113. }
  12114. .checklist-item-add-container {
  12115. display: flex;
  12116. flex-direction: row;
  12117. margin-top: 5px;
  12118. padding-left: 13px;
  12119. padding-right: 13px;
  12120. .checklist-item-add-item-text {
  12121. flex: 1 1 0%;
  12122. @include ltr(margin-right, 8px);
  12123. @include rtl(margin-left, 8px);
  12124. }
  12125. }
  12126. .checklist_item .controls .help-inline {
  12127. padding-left: 13px;
  12128. padding-right: 13px;
  12129. }
  12130. .checklist-item-template {
  12131. display: flex;
  12132. flex: 0 1 auto;
  12133. align-items: center;
  12134. margin-bottom: 4px;
  12135. }
  12136. #form-checklist-template .form-group {
  12137. margin-bottom: 10px;
  12138. }
  12139. #keyboard-shortcut {
  12140. &-switches {
  12141. margin-bottom: 20px;
  12142. }
  12143. &-areas {
  12144. transition: opacity 0.1s;
  12145. &.is-disabled {
  12146. opacity: 0.33;
  12147. }
  12148. }
  12149. }