zammad.scss 237 KB

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