zammad.scss 233 KB

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