zammad.scss 243 KB

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