zammad.scss 215 KB

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