zammad.scss 236 KB

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