zammad.scss 244 KB

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