zammad.scss 243 KB

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