zammad.scss 236 KB

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