zammad.scss 216 KB

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