zammad.scss 215 KB

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