zammad.scss 245 KB

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