zammad.scss 215 KB

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