style.css.php 190 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210
  1. <?php
  2. /* Copyright (C) 2004-2017 Laurent Destailleur <eldy@users.sourceforge.net>
  3. * Copyright (C) 2006 Rodolphe Quiedeville <rodolphe@quiedeville.org>
  4. * Copyright (C) 2007-2017 Regis Houssin <regis.houssin@inodbox.com>
  5. * Copyright (C) 2011 Philippe Grand <philippe.grand@atoo-net.com>
  6. * Copyright (C) 2012 Juanjo Menent <jmenent@2byte.es>
  7. * Copyright (C) 2015 Alexandre Spangaro <aspangaro@open-dsi.fr>
  8. * Copyright (C) 2018 Ferran Marcet <fmarcet@2byte.es>
  9. *
  10. * This program is free software; you can redistribute it and/or modify
  11. * it under the terms of the GNU General Public License as published by
  12. * the Free Software Foundation; either version 3 of the License, or
  13. * (at your option) any later version.
  14. *
  15. * This program is distributed in the hope that it will be useful,
  16. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  17. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  18. * GNU General Public License for more details.
  19. *
  20. * You should have received a copy of the GNU General Public License
  21. * along with this program. If not, see <https://www.gnu.org/licenses/>.
  22. */
  23. /**
  24. * \file htdocs/theme/md/style.css.php
  25. * \brief File for CSS style sheet Md (Material Design)
  26. */
  27. //if (! defined('NOREQUIREUSER')) define('NOREQUIREUSER','1'); // Not disabled because need to load personalized language
  28. //if (! defined('NOREQUIREDB')) define('NOREQUIREDB','1'); // Not disabled to increase speed. Language code is found on url.
  29. if (!defined('NOREQUIRESOC')) {
  30. define('NOREQUIRESOC', '1');
  31. }
  32. //if (! defined('NOREQUIRETRAN')) define('NOREQUIRETRAN','1'); // Not disabled because need to do translations
  33. if (!defined('NOCSRFCHECK')) {
  34. define('NOCSRFCHECK', 1);
  35. }
  36. if (!defined('NOTOKENRENEWAL')) {
  37. define('NOTOKENRENEWAL', 1);
  38. }
  39. if (!defined('NOLOGIN')) {
  40. define('NOLOGIN', 1); // File must be accessed by logon page so without login
  41. }
  42. //if (! defined('NOREQUIREMENU')) define('NOREQUIREMENU',1); // We need top menu content
  43. if (!defined('NOREQUIREHTML')) {
  44. define('NOREQUIREHTML', 1);
  45. }
  46. if (!defined('NOREQUIREAJAX')) {
  47. define('NOREQUIREAJAX', '1');
  48. }
  49. define('ISLOADEDBYSTEELSHEET', '1');
  50. require __DIR__.'/theme_vars.inc.php';
  51. if (defined('THEME_ONLY_CONSTANT')) {
  52. return;
  53. }
  54. session_cache_limiter('public');
  55. require_once __DIR__.'/../../main.inc.php'; // __DIR__ allow this script to be included in custom themes
  56. require_once DOL_DOCUMENT_ROOT.'/core/lib/functions2.lib.php';
  57. // Load user to have $user->conf loaded (not done into main because of NOLOGIN constant defined)
  58. // and permission, so we can later calculate number of top menu ($nbtopmenuentries) according to user profile.
  59. if (empty($user->id) && !empty($_SESSION['dol_login'])) {
  60. $user->fetch('', $_SESSION['dol_login'], '', 1);
  61. $user->getrights();
  62. // Reload menu now we have the good user (and we need the good menu to have ->showmenu('topnb') correct.
  63. $menumanager = new MenuManager($db, empty($user->socid) ? 0 : 1);
  64. $menumanager->loadMenu();
  65. }
  66. // Define css type
  67. top_httphead('text/css');
  68. // Important: Following code is to avoid page request by browser and PHP CPU at each Dolibarr page access.
  69. if (empty($dolibarr_nocache)) {
  70. header('Cache-Control: max-age=10800, public, must-revalidate');
  71. } else {
  72. header('Cache-Control: no-cache');
  73. }
  74. if (GETPOST('theme', 'aZ09')) {
  75. $conf->theme = GETPOST('theme', 'aZ09'); // If theme was forced on URL
  76. }
  77. if (GETPOST('lang', 'aZ09')) {
  78. $langs->setDefaultLang(GETPOST('lang', 'aZ09')); // If language was forced on URL
  79. }
  80. $langs->load("main", 0, 1);
  81. $right = ($langs->trans("DIRECTION") == 'rtl' ? 'left' : 'right');
  82. $left = ($langs->trans("DIRECTION") == 'rtl' ? 'right' : 'left');
  83. $path = ''; // This value may be used in future for external module to overwrite theme
  84. $theme = 'md'; // Value of theme
  85. if (!empty($conf->global->MAIN_OVERWRITE_THEME_RES)) {
  86. $path = '/'.$conf->global->MAIN_OVERWRITE_THEME_RES; $theme = $conf->global->MAIN_OVERWRITE_THEME_RES;
  87. }
  88. // Define image path files and other constants
  89. $fontlist = 'roboto,arial,tahoma,verdana,helvetica'; //$fontlist='verdana,helvetica,arial,sans-serif';
  90. $img_head = '';
  91. $img_button = dol_buildpath($path.'/theme/'.$theme.'/img/button_bg.png', 1);
  92. $dol_hide_topmenu = $conf->dol_hide_topmenu;
  93. $dol_hide_leftmenu = $conf->dol_hide_leftmenu;
  94. $dol_optimize_smallscreen = $conf->dol_optimize_smallscreen;
  95. $dol_no_mouse_hover = $conf->dol_no_mouse_hover;
  96. //$conf->global->THEME_ELDY_ENABLE_PERSONALIZED=0;
  97. //$user->conf->THEME_ELDY_ENABLE_PERSONALIZED=0;
  98. //var_dump($user->conf->THEME_ELDY_RGB);
  99. $useboldtitle = (isset($conf->global->THEME_ELDY_USEBOLDTITLE) ? $conf->global->THEME_ELDY_USEBOLDTITLE : 0);
  100. $borderwidth = 2;
  101. $userborderontable = 1;
  102. // Case of option always editable
  103. if (!isset($conf->global->THEME_ELDY_BACKBODY)) {
  104. $conf->global->THEME_ELDY_BACKBODY = $colorbackbody;
  105. }
  106. if (!isset($conf->global->THEME_ELDY_TOPMENU_BACK1)) {
  107. $conf->global->THEME_ELDY_TOPMENU_BACK1 = $colorbackhmenu1;
  108. }
  109. if (!isset($conf->global->THEME_ELDY_VERMENU_BACK1)) {
  110. $conf->global->THEME_ELDY_VERMENU_BACK1 = $colorbackvmenu1;
  111. }
  112. if (!isset($conf->global->THEME_ELDY_BACKTITLE1)) {
  113. $conf->global->THEME_ELDY_BACKTITLE1 = $colorbacktitle1;
  114. }
  115. if (!isset($conf->global->THEME_ELDY_USE_HOVER)) {
  116. $conf->global->THEME_ELDY_USE_HOVER = $colorbacklinepairhover;
  117. }
  118. if (!isset($conf->global->THEME_ELDY_USE_CHECKED)) {
  119. $conf->global->THEME_ELDY_USE_CHECKED = $colorbacklinepairchecked;
  120. }
  121. if (!isset($conf->global->THEME_ELDY_LINEBREAK)) {
  122. $conf->global->THEME_ELDY_LINEBREAK = $colorbacklinebreak;
  123. }
  124. if (!isset($conf->global->THEME_ELDY_TEXTTITLENOTAB)) {
  125. $conf->global->THEME_ELDY_TEXTTITLENOTAB = $colortexttitlenotab;
  126. }
  127. if (!isset($conf->global->THEME_ELDY_TEXTLINK)) {
  128. $conf->global->THEME_ELDY_TEXTLINK = $colortextlink;
  129. }
  130. // Case of option editable only if option THEME_ELDY_ENABLE_PERSONALIZED is on
  131. if (empty($conf->global->THEME_ELDY_ENABLE_PERSONALIZED)) {
  132. // 90A4AE, 607D8B, 455A64, 37474F
  133. $conf->global->THEME_ELDY_BACKTABCARD1 = '255,255,255'; // card
  134. $conf->global->THEME_ELDY_BACKTABACTIVE = '234,234,234';
  135. $conf->global->THEME_ELDY_TEXT = '0,0,0';
  136. $conf->global->THEME_ELDY_FONT_SIZE1 = $fontsize;
  137. $conf->global->THEME_ELDY_FONT_SIZE2 = '11';
  138. }
  139. // Case of option availables only if THEME_ELDY_ENABLE_PERSONALIZED is on
  140. $colorbackhmenu1 = empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED) ? (empty($conf->global->THEME_ELDY_TOPMENU_BACK1) ? $colorbackhmenu1 : $conf->global->THEME_ELDY_TOPMENU_BACK1) : (empty($user->conf->THEME_ELDY_TOPMENU_BACK1) ? $colorbackhmenu1 : $user->conf->THEME_ELDY_TOPMENU_BACK1);
  141. $colorbackvmenu1 = empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED) ? (empty($conf->global->THEME_ELDY_VERMENU_BACK1) ? $colorbackvmenu1 : $conf->global->THEME_ELDY_VERMENU_BACK1) : (empty($user->conf->THEME_ELDY_VERMENU_BACK1) ? $colorbackvmenu1 : $user->conf->THEME_ELDY_VERMENU_BACK1);
  142. $colortopbordertitle1 = empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED) ? (empty($conf->global->THEME_ELDY_TOPBORDER_TITLE1) ? $colortopbordertitle1 : $conf->global->THEME_ELDY_TOPBORDER_TITLE1) : (empty($user->conf->THEME_ELDY_TOPBORDER_TITLE1) ? $colortopbordertitle1 : $user->conf->THEME_ELDY_TOPBORDER_TITLE1);
  143. $colorbacktitle1 = empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED) ? (empty($conf->global->THEME_ELDY_BACKTITLE1) ? $colorbacktitle1 : $conf->global->THEME_ELDY_BACKTITLE1) : (empty($user->conf->THEME_ELDY_BACKTITLE1) ? $colorbacktitle1 : $user->conf->THEME_ELDY_BACKTITLE1);
  144. $colorbacktabcard1 = empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED) ? (empty($conf->global->THEME_ELDY_BACKTABCARD1) ? $colorbacktabcard1 : $conf->global->THEME_ELDY_BACKTABCARD1) : (empty($user->conf->THEME_ELDY_BACKTABCARD1) ? $colorbacktabcard1 : $user->conf->THEME_ELDY_BACKTABCARD1);
  145. $colorbacktabactive = empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED) ? (empty($conf->global->THEME_ELDY_BACKTABACTIVE) ? $colorbacktabactive : $conf->global->THEME_ELDY_BACKTABACTIVE) : (empty($user->conf->THEME_ELDY_BACKTABACTIVE) ? $colorbacktabactive : $user->conf->THEME_ELDY_BACKTABACTIVE);
  146. $colorbacklineimpair1 = empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED) ? (empty($conf->global->THEME_ELDY_LINEIMPAIR1) ? $colorbacklineimpair1 : $conf->global->THEME_ELDY_LINEIMPAIR1) : (empty($user->conf->THEME_ELDY_LINEIMPAIR1) ? $colorbacklineimpair1 : $user->conf->THEME_ELDY_LINEIMPAIR1);
  147. $colorbacklineimpair2 = empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED) ? (empty($conf->global->THEME_ELDY_LINEIMPAIR2) ? $colorbacklineimpair2 : $conf->global->THEME_ELDY_LINEIMPAIR2) : (empty($user->conf->THEME_ELDY_LINEIMPAIR2) ? $colorbacklineimpair2 : $user->conf->THEME_ELDY_LINEIMPAIR2);
  148. $colorbacklinepair1 = empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED) ? (empty($conf->global->THEME_ELDY_LINEPAIR1) ? $colorbacklinepair1 : $conf->global->THEME_ELDY_LINEPAIR1) : (empty($user->conf->THEME_ELDY_LINEPAIR1) ? $colorbacklinepair1 : $user->conf->THEME_ELDY_LINEPAIR1);
  149. $colorbacklinepair2 = empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED) ? (empty($conf->global->THEME_ELDY_LINEPAIR2) ? $colorbacklinepair2 : $conf->global->THEME_ELDY_LINEPAIR2) : (empty($user->conf->THEME_ELDY_LINEPAIR2) ? $colorbacklinepair2 : $user->conf->THEME_ELDY_LINEPAIR2);
  150. $colorbacklinebreak = empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED) ? (empty($conf->global->THEME_ELDY_LINEBREAK) ? $colorbacklinebreak : $conf->global->THEME_ELDY_LINEBREAK) : (empty($user->conf->THEME_ELDY_LINEBREAK) ? $colorbacklinebreak : $user->conf->THEME_ELDY_LINEBREAK);
  151. $colorbackbody = empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED) ? (empty($conf->global->THEME_ELDY_BACKBODY) ? $colorbackbody : $conf->global->THEME_ELDY_BACKBODY) : (empty($user->conf->THEME_ELDY_BACKBODY) ? $colorbackbody : $user->conf->THEME_ELDY_BACKBODY);
  152. $colortexttitlenotab = empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED) ? (empty($conf->global->THEME_ELDY_TEXTTITLENOTAB) ? $colortexttitlenotab : $conf->global->THEME_ELDY_TEXTTITLENOTAB) : (empty($user->conf->THEME_ELDY_TEXTTITLENOTAB) ? $colortexttitlenotab : $user->conf->THEME_ELDY_TEXTTITLENOTAB);
  153. $colortexttitle = empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED) ? (empty($conf->global->THEME_ELDY_TEXTTITLE) ? $colortext : $conf->global->THEME_ELDY_TEXTTITLE) : (empty($user->conf->THEME_ELDY_TEXTTITLE) ? $colortexttitle : $user->conf->THEME_ELDY_TEXTTITLE);
  154. $colortexttitlelink = empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED) ? (empty($conf->global->THEME_ELDY_TEXTTITLELINK) ? $colortexttitlelink : $conf->global->THEME_ELDY_TEXTTITLELINK) : (empty($user->conf->THEME_ELDY_TEXTTITLELINK) ? $colortexttitlelink : $user->conf->THEME_ELDY_TEXTTITLELINK);
  155. $colortext = empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED) ? (empty($conf->global->THEME_ELDY_TEXT) ? $colortext : $conf->global->THEME_ELDY_TEXT) : (empty($user->conf->THEME_ELDY_TEXT) ? $colortext : $user->conf->THEME_ELDY_TEXT);
  156. $colortextlink = empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED) ? (empty($conf->global->THEME_ELDY_TEXTLINK) ? $colortext : $conf->global->THEME_ELDY_TEXTLINK) : (empty($user->conf->THEME_ELDY_TEXTLINK) ? $colortextlink : $user->conf->THEME_ELDY_TEXTLINK);
  157. $fontsize = empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED) ? (empty($conf->global->THEME_ELDY_FONT_SIZE1) ? $fontsize : $conf->global->THEME_ELDY_FONT_SIZE1) : (empty($user->conf->THEME_ELDY_FONT_SIZE1) ? $fontsize : $user->conf->THEME_ELDY_FONT_SIZE1);
  158. $fontsizesmaller = empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED) ? (empty($conf->global->THEME_ELDY_FONT_SIZE2) ? $fontsize : $conf->global->THEME_ELDY_FONT_SIZE2) : (empty($user->conf->THEME_ELDY_FONT_SIZE2) ? $fontsize : $user->conf->THEME_ELDY_FONT_SIZE2);
  159. // Hover color
  160. $colorbacklinepairhover = ((!isset($conf->global->THEME_ELDY_USE_HOVER) || (string) $conf->global->THEME_ELDY_USE_HOVER === '255,255,255') ? '' : ($conf->global->THEME_ELDY_USE_HOVER === '1' ? 'edf4fb' : $conf->global->THEME_ELDY_USE_HOVER));
  161. $colorbacklinepairchecked = ((!isset($conf->global->THEME_ELDY_USE_CHECKED) || (string) $conf->global->THEME_ELDY_USE_CHECKED === '255,255,255') ? '' : ($conf->global->THEME_ELDY_USE_CHECKED === '1' ? 'edf4fb' : $conf->global->THEME_ELDY_USE_CHECKED));
  162. if (!empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED)) {
  163. $colorbacklinepairhover = ((!isset($user->conf->THEME_ELDY_USE_HOVER) || $user->conf->THEME_ELDY_USE_HOVER === '255,255,255') ? '' : ($user->conf->THEME_ELDY_USE_HOVER === '1' ? 'edf4fb' : $user->conf->THEME_ELDY_USE_HOVER));
  164. $colorbacklinepairchecked = ((!isset($user->conf->THEME_ELDY_USE_CHECKED) || $user->conf->THEME_ELDY_USE_CHECKED === '255,255,255') ? '' : ($user->conf->THEME_ELDY_USE_CHECKED === '1' ? 'edf4fb' : $user->conf->THEME_ELDY_USE_CHECKED));
  165. }
  166. if (empty($colortopbordertitle1)) {
  167. $colortopbordertitle1 = $colorbackhmenu1;
  168. }
  169. // Set text color to black or white
  170. $colorbackhmenu1 = join(',', colorStringToArray($colorbackhmenu1)); // Normalize value to 'x,y,z'
  171. $tmppart = explode(',', $colorbackhmenu1);
  172. $tmpval = (!empty($tmppart[0]) ? $tmppart[0] : 0) + (!empty($tmppart[1]) ? $tmppart[1] : 0) + (!empty($tmppart[2]) ? $tmppart[2] : 0);
  173. if ($tmpval <= 460) {
  174. $colortextbackhmenu = 'FFFFFF';
  175. } else {
  176. $colortextbackhmenu = '000000';
  177. }
  178. $colorbackvmenu1 = join(',', colorStringToArray($colorbackvmenu1)); // Normalize value to 'x,y,z'
  179. $tmppart = explode(',', $colorbackvmenu1);
  180. $tmpval = (!empty($tmppart[0]) ? $tmppart[0] : 0) + (!empty($tmppart[1]) ? $tmppart[1] : 0) + (!empty($tmppart[2]) ? $tmppart[2] : 0);
  181. if ($tmpval <= 460) {
  182. $colortextbackvmenu = 'FFFFFF';
  183. } else {
  184. $colortextbackvmenu = '000000';
  185. }
  186. $colortopbordertitle1 = join(',', colorStringToArray($colortopbordertitle1)); // Normalize value to 'x,y,z'
  187. $colorbacktitle1 = join(',', colorStringToArray($colorbacktitle1)); // Normalize value to 'x,y,z'
  188. $tmppart = explode(',', $colorbacktitle1);
  189. if ($colortexttitle == '') {
  190. $tmpval = (!empty($tmppart[0]) ? $tmppart[0] : 0) + (!empty($tmppart[1]) ? $tmppart[1] : 0) + (!empty($tmppart[2]) ? $tmppart[2] : 0);
  191. if ($tmpval <= 460) {
  192. $colortexttitle = 'FFFFFF'; $colorshadowtitle = '888888';
  193. } else {
  194. $colortexttitle = '101010'; $colorshadowtitle = 'FFFFFF';
  195. }
  196. } else {
  197. $colorshadowtitle = '888888';
  198. }
  199. $colorbacktabcard1 = join(',', colorStringToArray($colorbacktabcard1)); // Normalize value to 'x,y,z'
  200. $tmppart = explode(',', $colorbacktabcard1);
  201. $tmpval = (!empty($tmppart[0]) ? $tmppart[0] : 0) + (!empty($tmppart[1]) ? $tmppart[1] : 0) + (!empty($tmppart[2]) ? $tmppart[2] : 0);
  202. if ($tmpval <= 460) {
  203. $colortextbacktab = 'FFFFFF';
  204. } else {
  205. $colortextbacktab = '111111';
  206. }
  207. // Format color value to match expected format (may be 'FFFFFF' or '255,255,255')
  208. $colorbackhmenu1 = join(',', colorStringToArray($colorbackhmenu1));
  209. $colorbackvmenu1 = join(',', colorStringToArray($colorbackvmenu1));
  210. $colorbacktitle1 = join(',', colorStringToArray($colorbacktitle1));
  211. $colorbacktabcard1 = join(',', colorStringToArray($colorbacktabcard1));
  212. $colorbacktabactive = join(',', colorStringToArray($colorbacktabactive));
  213. $colorbacklineimpair1 = join(',', colorStringToArray($colorbacklineimpair1));
  214. $colorbacklineimpair2 = join(',', colorStringToArray($colorbacklineimpair2));
  215. $colorbacklinepair1 = join(',', colorStringToArray($colorbacklinepair1));
  216. $colorbacklinepair2 = join(',', colorStringToArray($colorbacklinepair2));
  217. if ($colorbacklinepairhover != '') {
  218. $colorbacklinepairhover = join(',', colorStringToArray($colorbacklinepairhover));
  219. }
  220. if ($colorbacklinepairchecked != '') {
  221. $colorbacklinepairchecked = join(',', colorStringToArray($colorbacklinepairchecked));
  222. }
  223. $colorbackbody = join(',', colorStringToArray($colorbackbody));
  224. $colortexttitlenotab = join(',', colorStringToArray($colortexttitlenotab));
  225. $colortexttitle = join(',', colorStringToArray($colortexttitle));
  226. $colortext = join(',', colorStringToArray($colortext));
  227. $colortextlink = join(',', colorStringToArray($colortextlink));
  228. $nbtopmenuentries = $menumanager->showmenu('topnb');
  229. if ($conf->browser->layout == 'phone') {
  230. $nbtopmenuentries = max($nbtopmenuentries, 10);
  231. }
  232. print '/*'."\n";
  233. print 'colorbackbody='.$colorbackbody."\n";
  234. print 'colorbackvmenu1='.$colorbackvmenu1."\n";
  235. print 'colorbackhmenu1='.$colorbackhmenu1."\n";
  236. print 'colorbacktitle1='.$colorbacktitle1."\n";
  237. print 'colorbacklineimpair1='.$colorbacklineimpair1."\n";
  238. print 'colorbacklineimpair2='.$colorbacklineimpair2."\n";
  239. print 'colorbacklinepair1='.$colorbacklinepair1."\n";
  240. print 'colorbacklinepair2='.$colorbacklinepair2."\n";
  241. print 'colorbacklinepairhover='.$colorbacklinepairhover."\n";
  242. print 'colorbacklinepairchecked='.$colorbacklinepairchecked."\n";
  243. print 'colortexttitlenotab='.$colortexttitlenotab."\n";
  244. print 'colortexttitle='.$colortexttitle."\n";
  245. print 'colortext='.$colortext."\n";
  246. print 'colortextlink='.$colortextlink."\n";
  247. print 'colortexttitlelink='.$colortexttitlelink."\n";
  248. print 'colortextbackhmenu='.$colortextbackhmenu."\n";
  249. print 'colortextbackvmenu='.$colortextbackvmenu."\n";
  250. print 'dol_hide_topmenu='.$dol_hide_topmenu."\n";
  251. print 'dol_hide_leftmenu='.$dol_hide_leftmenu."\n";
  252. print 'dol_optimize_smallscreen='.$dol_optimize_smallscreen."\n";
  253. print 'dol_no_mouse_hover='.$dol_no_mouse_hover."\n";
  254. print 'dol_screenwidth='.$_SESSION['dol_screenwidth']."\n";
  255. print 'dol_screenheight='.$_SESSION['dol_screenheight']."\n";
  256. print 'fontsize='.$fontsize."\n";
  257. print 'nbtopmenuentries='.$nbtopmenuentries."\n";
  258. print '*/'."\n";
  259. ?>
  260. /* ============================================================================== */
  261. /* Default styles */
  262. /* ============================================================================== */
  263. :root {
  264. --colorbackhmenu1: rgb(<?php print $colorbackhmenu1; ?>);
  265. --colorbackvmenu1: rgb(<?php print $colorbackvmenu1; ?>);
  266. --colorbacktitle1: rgb(<?php print $colorbacktitle1; ?>);
  267. --colorbacktabcard1: rgb(<?php print $colorbacktabcard1; ?>);
  268. --colorbacktabactive: rgb(<?php print $colorbacktabactive; ?>);
  269. --colorbacklineimpair1: rgb(<?php print $colorbacklineimpair1; ?>);
  270. --colorbacklineimpair2: rgb(<?php print $colorbacklineimpair2; ?>);
  271. --colorbacklinepair1: rgb(<?php print $colorbacklinepair1; ?>);
  272. --colorbacklinepair2: rgb(<?php print $colorbacklinepair2; ?>);
  273. --colorbacklinepairhover: rgb(<?php print $colorbacklinepairhover; ?>);
  274. --colorbacklinepairchecked: rgb(<?php print $colorbacklinepairchecked; ?>);
  275. --colorbacklinebreak: rgb(<?php print $colorbacklinebreak; ?>);
  276. --colorbackbody: rgb(<?php print $colorbackbody; ?>);
  277. --colorbackmobilemenu: #f8f8f8;
  278. --colortexttitlenotab: rgb(<?php print $colortexttitlenotab; ?>);
  279. --colortexttitle: rgb(<?php print $colortexttitle; ?>);
  280. --colortexttitlelink: rgba(<?php print $colortexttitlelink; ?>, 0.9);
  281. --colortext: rgb(<?php print $colortext; ?>);
  282. --colortextlink: rgb(<?php print $colortextlink; ?>);
  283. --colortextbackhmenu: #<?php print $colortextbackhmenu; ?>;
  284. --colortextbackvmenu: #<?php print $colortextbackvmenu; ?>;
  285. --colortopbordertitle1: rgb(<?php print $colortopbordertitle1; ?>);
  286. --listetotal: #551188;
  287. --inputbackgroundcolor: #FFF;
  288. --inputbordercolor: rgba(0,0,0,.2);
  289. --tooltipbgcolor: <?php print $toolTipBgColor; ?>;
  290. --tooltipfontcolor : <?php print $toolTipFontColor; ?>;
  291. --oddevencolor: #202020;
  292. --colorboxstatsborder: #ddd;
  293. --dolgraphbg: rgba(255,255,255,0);
  294. --fieldrequiredcolor: #000055;
  295. --colortextbacktab: #<?php print $colortextbacktab; ?>;
  296. --colorboxiconbg: #eee;
  297. --refidnocolor:#444;
  298. --tableforfieldcolor:#666;
  299. --amountremaintopaycolor:#880000;
  300. --amountpaymentcomplete:#008800;
  301. --amountremaintopaybackcolor:none;
  302. --productlinestockod: #002200;
  303. --productlinestocktoolow: #884400;
  304. --infoboxmoduleenabledbgcolor : linear-gradient(0.4turn, #fff, #fff, #fff, #e4efe8);
  305. }
  306. body {
  307. <?php if (GETPOST('optioncss', 'aZ09') == 'print') { ?>
  308. background-color: #FFFFFF;
  309. <?php } else { ?>
  310. background: var(--colorbackbody);
  311. <?php } ?>
  312. color: rgb(<?php echo $colortext; ?>);
  313. font-size: <?php print is_numeric($fontsize) ? $fontsize.'px' : $fontsize; ?>;
  314. line-height: 1.3;
  315. font-family: <?php print $fontlist ?>;
  316. margin-top: 0;
  317. margin-bottom: 0;
  318. margin-right: 0;
  319. margin-left: 0;
  320. <?php print 'direction: '.$langs->trans("DIRECTION").";\n"; ?>
  321. }
  322. .sensiblehtmlcontent * {
  323. position: static !important;
  324. }
  325. .thumbstat { font-weight: bold !important; }
  326. th a { font-weight: <?php echo ($useboldtitle ? 'bold' : 'normal'); ?> !important; }
  327. a.tab { font-weight: 500 !important; }
  328. a:link, a:visited, a:hover, a:active { font-family: <?php print $fontlist ?>; font-weight: normal; color: rgb(<?php print $colortextlink; ?>); text-decoration: none; }
  329. a:hover { text-decoration: underline; color: rgb(<?php print $colortextlink; ?>); }
  330. a.commonlink { color: rgb(<?php print $colortextlink; ?>) !important; text-decoration: none; }
  331. input {
  332. font-size: unset;
  333. }
  334. input, input.flat, textarea, textarea.flat, form.flat select, select, select.flat, .dataTables_length label select {
  335. background-color: #FDFDFD;
  336. }
  337. select.vmenusearchselectcombo {
  338. background-color: unset;
  339. }
  340. textarea:focus {
  341. /* v6 box-shadow: 0 0 4px #8091BF; */
  342. border: 1px solid #aaa !important;
  343. }
  344. input:focus, textarea:focus, button:focus, select:focus {
  345. border-bottom: 1px solid #666;
  346. }
  347. textarea.cke_source:focus
  348. {
  349. box-shadow: none;
  350. }
  351. th.wrapcolumntitle.liste_titre:not(.maxwidthsearch), td.wrapcolumntitle.liste_titre:not(.maxwidthsearch) {
  352. overflow: hidden;
  353. white-space: nowrap;
  354. max-width: 120px;
  355. text-overflow: ellipsis;
  356. }
  357. .liste_titre input[name=month_date_when], .liste_titre input[name=monthvalid], .liste_titre input[name=search_ordermonth], .liste_titre input[name=search_deliverymonth],
  358. .liste_titre input[name=search_smonth], .liste_titre input[name=search_month], .liste_titre input[name=search_emonth], .liste_titre input[name=smonth], .liste_titre input[name=month],
  359. .liste_titre input[name=month_lim], .liste_titre input[name=month_start], .liste_titre input[name=month_end], .liste_titre input[name=month_create],
  360. .liste_titre input[name=search_month_lim], .liste_titre input[name=search_month_start], .liste_titre input[name=search_month_end], .liste_titre input[name=search_month_create],
  361. .liste_titre input[name=search_month_create], .liste_titre input[name=search_month_start], .liste_titre input[name=search_month_end],
  362. .liste_titre input[name=day_date_when], .liste_titre input[name=dayvalid], .liste_titre input[name=search_orderday], .liste_titre input[name=search_deliveryday],
  363. .liste_titre input[name=search_sday], .liste_titre input[name=search_day], .liste_titre input[name=search_eday], .liste_titre input[name=sday], .liste_titre input[name=day], .liste_titre select[name=day],
  364. .liste_titre input[name=day_lim], .liste_titre input[name=day_start], .liste_titre input[name=day_end], .liste_titre input[name=day_create],
  365. .liste_titre input[name=search_day_lim], .liste_titre input[name=search_day_start], .liste_titre input[name=search_day_end], .liste_titre input[name=search_day_create],
  366. .liste_titre input[name=search_day_create], .liste_titre input[name=search_day_start], .liste_titre input[name=search_day_end],
  367. .liste_titre input[name=search_day_date_when], .liste_titre input[name=search_month_date_when], .liste_titre input[name=search_year_date_when],
  368. .liste_titre input[name=search_dtstartday], .liste_titre input[name=search_dtendday], .liste_titre input[name=search_dtstartmonth], .liste_titre input[name=search_dtendmonth],
  369. select#date_startday, select#date_startmonth, select#date_endday, select#date_endmonth, select#reday, select#remonth
  370. {
  371. margin-right: 4px;
  372. }
  373. input, input.flat, textarea, textarea.flat, form.flat select, select, select.flat, .dataTables_length label select {
  374. font-family: <?php print $fontlist ?>;
  375. border: none;
  376. border<?php echo empty($conf->global->THEME_SHOW_BORDER_ON_INPUT) ? '-bottom' : ''; ?>: solid 1px var(--inputbordercolor);
  377. outline: none;
  378. margin: 0px 0px 0px 0px;
  379. }
  380. input {
  381. line-height: 17px;
  382. padding: 4px;
  383. padding-left: 5px;
  384. }
  385. select {
  386. padding-top: 4px;
  387. padding-right: 4px;
  388. padding-bottom: 4px;
  389. padding-left: 2px;
  390. }
  391. input, select {
  392. margin-left:0px;
  393. margin-bottom:1px;
  394. margin-top:1px;
  395. }
  396. #mainbody input.button:not(.buttongen):not(.bordertransp), #mainbody a.button:not(.buttongen):not(.bordertransp) {
  397. background: var(--butactionbg);
  398. color: #FFF !important;
  399. border-radius: 3px;
  400. border-collapse: collapse;
  401. border: none;
  402. text-shadow: none;
  403. text-transform: uppercase;
  404. font-weight: bold;
  405. margin: 0em 0.9em;
  406. padding: 0.6em 0.7em;
  407. line-height: 17px;
  408. }
  409. #mainbody input.button:not(.buttongen):not(.bordertransp):hover, #mainbody a.button:not(.buttongen):not(.bordertransp):hover {
  410. -webkit-box-shadow: 0px 0px 6px 1px rgb(50 50 50 / 40%), 0px 0px 0px rgb(60 60 60 / 10%);
  411. box-shadow: 0px 0px 6px 1px rgb(50 50 50 / 40%), 0px 0px 0px rgb(60 60 60 / 10%);
  412. }
  413. input.button.massactionconfirmed {
  414. margin: 4px;
  415. }
  416. input.short {
  417. width: 40px;
  418. }
  419. input:invalid, select:invalid, input.--error , select.--error {
  420. border-color: #ea1212;
  421. }
  422. section.setupsection {
  423. padding: 20px;
  424. background-color: var(--colorbacktitle1);
  425. border-radius: 5px;
  426. }
  427. .field-error-icon { color: #ea1212; !important; }
  428. textarea {
  429. border-radius: 0;
  430. border-top:solid 1px var(--inputbordercolor);
  431. border-left:solid 1px var(--inputbordercolor);
  432. border-right:solid 1px var(--inputbordercolor);
  433. border-bottom:solid 1px var(--inputbordercolor);
  434. background-color: #FFF;
  435. padding:4px;
  436. margin-left:1px;
  437. margin-bottom:1px;
  438. margin-top:1px;
  439. }
  440. input.removedassigned {
  441. padding: 2px !important;
  442. vertical-align: text-bottom;
  443. margin-bottom: -3px;
  444. }
  445. input.smallpadd { /* Used for timesheet input */
  446. padding-left: 1px !important;
  447. padding-right: 1px !important;
  448. }
  449. input.buttongen {
  450. vertical-align: middle;
  451. }
  452. input.buttonpayment, button.buttonpayment, div.buttonpayment {
  453. min-width: 290px;
  454. margin-bottom: 15px;
  455. margin-top: 15px;
  456. margin-left: 5px;
  457. margin-right: 5px;
  458. background-image: none;
  459. line-height: 24px;
  460. padding: 8px;
  461. background: none;
  462. text-align: center;
  463. border: 2px solid #ccc;
  464. background-color: #eee;
  465. white-space: normal;
  466. color: #888 !important;
  467. }
  468. .nofocusvisible:focus-visible {
  469. outline: none;
  470. }
  471. div.buttonpayment input {
  472. background-color: unset;
  473. border-bottom: unset;
  474. font-weight: bold;
  475. text-transform: uppercase;
  476. color: #333;
  477. cursor: pointer;
  478. }
  479. div.buttonpayment input:focus {
  480. color: #008;
  481. }
  482. input.buttonpaymentcb {
  483. background-image: url(<?php echo dol_buildpath($path.'/theme/common/credit_card.png', 1) ?>);
  484. background-size: 26px;
  485. background-repeat: no-repeat;
  486. background-position: 5px 5px;
  487. }
  488. input.buttonpaymentcheque {
  489. background-image: url(<?php echo dol_buildpath($path.'/theme/common/cheque.png', 1) ?>);
  490. background-repeat: no-repeat;
  491. background-position: 8px 7px;
  492. }
  493. input.buttonpaymentcb {
  494. background-image: url(<?php echo dol_buildpath($path.'/theme/common/credit_card.png', 1) ?>);
  495. background-size: 24px;
  496. background-repeat: no-repeat;
  497. background-position: 5px 4px;
  498. }
  499. input.buttonpaymentcheque {
  500. background-image: url(<?php echo dol_buildpath($path.'/paypal/img/object_paypal.png', 1) ?>);
  501. background-repeat: no-repeat;
  502. background-position: 5px 4px;
  503. }
  504. input.buttonpaymentpaypal {
  505. background-image: url(<?php echo dol_buildpath($path.'/paypal/img/object_paypal.png', 1) ?>);
  506. background-repeat: no-repeat;
  507. background-position: 8px 7px;
  508. }
  509. input.buttonpaymentpaybox {
  510. background-image: url(<?php echo dol_buildpath($path.'/paybox/img/object_paybox.png', 1) ?>);
  511. background-repeat: no-repeat;
  512. background-position: 8px 7px;
  513. }
  514. input.buttonpaymentstripe {
  515. background-image: url(<?php echo dol_buildpath($path.'/stripe/img/object_stripe.png', 1) ?>);
  516. background-repeat: no-repeat;
  517. background-position: 8px 7px;
  518. }
  519. .logopublicpayment #dolpaymentlogo {
  520. max-height: 100px;
  521. }
  522. a.butStatus {
  523. padding-left: 5px;
  524. padding-right: 5px;
  525. background-color: transparent;
  526. color: var(--colortext) !important;
  527. border: 2px solid var( --butactionbg);
  528. margin: 0 0.45em !important;
  529. }
  530. span.userimg.notfirst {
  531. margin-left: -5px;
  532. }
  533. /* Used by timesheets */
  534. span.timesheetalreadyrecorded input {
  535. border: none;
  536. border-bottom: solid 1px rgba(0,0,0,0.1);
  537. margin-right: 1px !important;
  538. }
  539. td.onholidaymorning, td.onholidayafternoon {
  540. background-color: #fdf6f2;
  541. }
  542. td.onholidayallday {
  543. background-color: #f4eede;
  544. }
  545. td.leftborder, td.hide0 {
  546. border-left: 1px solid #ccc;
  547. }
  548. td.leftborder, td.hide6 {
  549. border-right: 1px solid #ccc;
  550. }
  551. td.rightborder {
  552. border-right: 1px solid #ccc;
  553. }
  554. td.amount, span.amount, div.amount, b.amount {
  555. color: #006666;
  556. }
  557. td.actionbuttons a {
  558. padding-left: 6px;
  559. }
  560. select.flat, form.flat select, .pageplusone {
  561. font-weight: normal;
  562. font-size: unset;
  563. height: 2em;
  564. }
  565. input.pageplusone {
  566. padding-bottom: 4px;
  567. padding-top: 4px;
  568. }
  569. .saturatemedium {
  570. filter: saturate(0.8);
  571. }
  572. .optionblue {
  573. color: var(--colortextlink);
  574. }
  575. .optiongrey, .opacitymedium {
  576. opacity: 0.5;
  577. }
  578. .opacitymediumbycolor {
  579. color: rgba(0, 0, 0, 0.4);
  580. }
  581. .opacitylow {
  582. opacity: 0.6;
  583. }
  584. .opacityhigh {
  585. opacity: 0.24;
  586. }
  587. .opacitytransp {
  588. opacity: 0;
  589. }
  590. .colorwhite {
  591. color: #fff;
  592. }
  593. .colorblack {
  594. color: #000;
  595. }
  596. .fontsizeunset {
  597. font-size: unset !important;
  598. }
  599. .vmirror {
  600. transform: scale(1, -1);
  601. }
  602. .hmirror {
  603. transform: scale(-1, 1);
  604. }
  605. select:invalid {
  606. color: gray;
  607. }
  608. input:disabled, textarea:disabled, select[disabled='disabled']
  609. {
  610. background:#eee;
  611. }
  612. input.liste_titre {
  613. box-shadow: none !important;
  614. }
  615. .listactionlargetitle .liste_titre {
  616. line-height: 24px;
  617. }
  618. input.removedfile {
  619. padding: 0px !important;
  620. border: 0px !important;
  621. vertical-align: text-bottom;
  622. }
  623. input[type=file ] { background-color: transparent; border-top: none; border-left: none; border-right: none; box-shadow: none; }
  624. input[type=checkbox] { background-color: transparent; border: none; box-shadow: none; vertical-align: middle; }
  625. input[type=radio] { background-color: transparent; border: none; box-shadow: none; vertical-align: middle; }
  626. input[type=image] { background-color: transparent; border: none; box-shadow: none; }
  627. input:-webkit-autofill {
  628. background-color: #FBFFEA !important;
  629. background-image:none !important;
  630. -webkit-box-shadow: 0 0 0 50px #FBFFEA inset;
  631. }
  632. input[type=checkbox], input[type=radio] {
  633. margin: 0 3px 0 3px;
  634. }
  635. /* CSS for placeholder */
  636. .placeholder { color: #ccc; }
  637. ::-webkit-input-placeholder { color:#ccc; }
  638. :-moz-placeholder { color:#bbb; } /* firefox 18- */
  639. ::-moz-placeholder { color:#bbb; } /* firefox 19+ */
  640. :-ms-input-placeholder { color:#ccc; } /* ie */
  641. input:-moz-placeholder { color:#ccc; }
  642. input[name=price], input[name=weight], input[name=volume], input[name=surface], input[name=sizeheight], input[name=net_measure], select[name=incoterm_id] { margin-right: 6px; }
  643. fieldset {
  644. border: 1px solid #AAAAAA !important;
  645. padding-inline-start: 2em;
  646. padding-inline-end: 2em;
  647. }
  648. .legendforfieldsetstep { padding-bottom: 10px; }
  649. input#onlinepaymenturl, input#directdownloadlink {
  650. opacity: 0.7;
  651. }
  652. div#moretabsList, div#moretabsListaction {
  653. z-index: 5;
  654. }
  655. hr { border: 0; border-top: 1px solid #ccc; }
  656. .button:not(.bordertransp):not(.buttonpayment), .buttonDelete:not(.bordertransp):not(.buttonpayment) {
  657. border-color: #c5c5c5;
  658. border-color: rgba(0, 0, 0, 0.15) rgba(0, 0, 0, 0.15) rgba(0, 0, 0, 0.25);
  659. display: inline-block;
  660. padding: 4px 14px;
  661. margin-bottom: 0;
  662. margin-top: 0;
  663. font-family: <?php print $fontlist ?>;
  664. text-align: center;
  665. cursor: pointer;
  666. color: #333333 !important;
  667. text-decoration: none !important;
  668. text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
  669. background-color: #f5f5f5;
  670. background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6);
  671. background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6));
  672. background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6);
  673. background-image: -o-linear-gradient(top, #ffffff, #e6e6e6);
  674. background-image: linear-gradient(to bottom, #ffffff, #e6e6e6);
  675. background-repeat: repeat-x;
  676. border-color: #e6e6e6 #e6e6e6 #bfbfbf;
  677. border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  678. border: 1px solid #bbbbbb;
  679. border-bottom-color: #a2a2a2;
  680. -webkit-border-radius: 2px;
  681. border-radius: 2px;
  682. -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
  683. box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
  684. }
  685. .button:focus, .buttonDelete:focus {
  686. -webkit-box-shadow: 0px 0px 6px 1px rgba(0, 0, 60, 0.2), 0px 0px 0px rgba(60,60,60,0.1);
  687. box-shadow: 0px 0px 6px 1px rgba(0, 0, 60, 0.2), 0px 0px 0px rgba(60,60,60,0.1);
  688. }
  689. .button:hover, .buttonDelete:hover {
  690. -webkit-box-shadow: 0px 0px 6px 1px rgba(0, 0, 0, 0.2), 0px 0px 0px rgba(60,60,60,0.1);
  691. box-shadow: 0px 0px 6px 1px rgba(0, 0, 0, 0.2), 0px 0px 0px rgba(60,60,60,0.1);
  692. }
  693. .button:disabled, .buttonDelete:disabled, .button.disabled, .buttonDelete.disabled {
  694. opacity: 0.4;
  695. box-shadow: none;
  696. -webkit-box-shadow: none;
  697. cursor: auto;
  698. }
  699. .buttonRefused {
  700. pointer-events: none;
  701. cursor: default;
  702. opacity: 0.4;
  703. box-shadow: none;
  704. -webkit-box-shadow: none;
  705. }
  706. .button_search, .button_removefilter {
  707. border: unset;
  708. background: unset;
  709. }
  710. .button_search:hover, .button_removefilter:hover {
  711. cursor: pointer;
  712. }
  713. form {
  714. padding:0px;
  715. margin:0px;
  716. }
  717. div.float, span.floatleft
  718. {
  719. float:<?php print $left; ?>;
  720. }
  721. div.floatright
  722. {
  723. float:<?php print $right; ?>;
  724. }
  725. .block
  726. {
  727. display:block;
  728. }
  729. .inline-block
  730. {
  731. display:inline-block;
  732. }
  733. .largenumber {
  734. font-size: 1.4em;
  735. }
  736. button:focus {
  737. outline: none;
  738. }
  739. .line-height-large {
  740. line-height: 1.8em;
  741. }
  742. th .button {
  743. -webkit-box-shadow: none !important;
  744. box-shadow: none !important;
  745. -webkit-border-radius:0px !important;
  746. border-radius:0px !important;
  747. }
  748. .maxwidthsearch { /* Max width of column with the search picto */
  749. width: 54px;
  750. min-width: 54px;
  751. }
  752. .valigntop {
  753. vertical-align: top;
  754. }
  755. .valignmiddle {
  756. vertical-align: middle;
  757. }
  758. .valignbottom {
  759. vertical-align: bottom;
  760. }
  761. .valigntextbottom {
  762. vertical-align: text-bottom;
  763. }
  764. .centpercent {
  765. width: 100%;
  766. }
  767. .quatrevingtpercent, .inputsearch {
  768. width: 80%;
  769. }
  770. .soixantepercent {
  771. width: 60%;
  772. }
  773. .quatrevingtquinzepercent {
  774. width: 95%;
  775. }
  776. textarea.centpercent {
  777. width: 96%;
  778. }
  779. .quatrevingtpercentminusx {
  780. width: calc(80% - 52px);
  781. }
  782. .small, small {
  783. font-size: 85%;
  784. }
  785. .large {
  786. font-size: 125%;
  787. }
  788. .h1 .small, .h1 small, .h2 .small, .h2 small, .h3 .small, .h3 small, h1 .small, h1 small, h2 .small, h2 small, h3 .small, h3 small {
  789. font-size: 65%;
  790. }
  791. .h1 .small, .h1 small, .h2 .small, .h2 small, .h3 .small, .h3 small, .h4 .small, .h4 small, .h5 .small, .h5 small, .h6 .small, .h6 small, h1 .small, h1 small, h2 .small, h2 small, h3 .small, h3 small, h4 .small, h4 small, h5 .small, h5 small, h6 .small, h6 small {
  792. font-weight: 400;
  793. line-height: 1;
  794. color: #777;
  795. }
  796. .flip {
  797. transform: scaleX(-1) translate(<?php print ($left == 'left' ? '' : '-'); ?>2px, 0);
  798. }
  799. .rotate90 {
  800. transform: rotate(90deg) translate(0, <?php print ($left == 'left' ? '' : '-'); ?>2px);
  801. }
  802. .center {
  803. text-align: center;
  804. margin: 0px auto;
  805. }
  806. .alignstart {
  807. text-align: start;
  808. }
  809. .start {
  810. text-align: start;
  811. }
  812. .end {
  813. text-align: end;
  814. }
  815. .left {
  816. text-align: <?php print $left; ?>;
  817. }
  818. .right {
  819. text-align: <?php print $right; ?>;
  820. }
  821. .justify {
  822. text-align: justify;
  823. }
  824. .pull-left {
  825. float: left!important;
  826. }
  827. .pull-right {
  828. float: right!important;
  829. }
  830. .nowrap {
  831. white-space: <?php print ($dol_optimize_smallscreen ? 'normal' : 'nowrap'); ?>;
  832. }
  833. .nowraponsmartphone {
  834. white-space: <?php print ($dol_optimize_smallscreen ? 'nowrap' : 'normal'); ?>;
  835. }
  836. .wraponsmartphone {
  837. white-space: <?php print ($dol_optimize_smallscreen ? 'normal' : 'nowrap'); ?>;
  838. }
  839. .liste_titre .nowrap {
  840. white-space: nowrap;
  841. }
  842. .nowraponall { /* no wrap on all devices */
  843. white-space: nowrap;
  844. }
  845. .wrapimp {
  846. white-space: normal !important;
  847. }
  848. .wordwrap {
  849. word-wrap: break-word;
  850. }
  851. .wordbreakimp {
  852. word-break: break-word;
  853. }
  854. .wordbreak {
  855. word-break: break-all;
  856. }
  857. .bold {
  858. font-weight: bold !important;
  859. }
  860. .nobold {
  861. font-weight: normal !important;
  862. }
  863. .nounderline {
  864. text-decoration: none;
  865. }
  866. .nopadding {
  867. padding: 0;
  868. }
  869. .nopaddingleft {
  870. padding-left: 0;
  871. }
  872. .nopaddingright {
  873. padding-right: 0;
  874. }
  875. .paddingleft {
  876. padding-<?php print $left; ?>: 4px;
  877. }
  878. .paddingleft2 {
  879. padding-<?php print $left; ?>: 2px;
  880. }
  881. .paddingleft2imp {
  882. padding-<?php print $left; ?>: 2px !important;
  883. }
  884. .paddingright {
  885. padding-<?php print $right; ?>: 4px;
  886. }
  887. .paddingright2 {
  888. padding-<?php print $right; ?>: 2px;
  889. }
  890. .paddingright2imp {
  891. padding-<?php print $right; ?>: 2px !important;
  892. }
  893. .marginleft2 {
  894. margin-<?php print $left; ?>: 2px;
  895. }
  896. .marginright2 {
  897. margin-<?php print $right; ?>: 2px;
  898. }
  899. .paddingtop {
  900. padding-top: 4px;
  901. }
  902. .paddingtop2 {
  903. padding-top: 2px;
  904. }
  905. .paddingbottom {
  906. padding-bottom: 4px;
  907. }
  908. .paddingbottom2 {
  909. padding-bottom: 2px;
  910. }
  911. .cursordefault {
  912. cursor: default;
  913. }
  914. .cursorpointer {
  915. cursor: pointer;
  916. }
  917. .cursormove {
  918. cursor: move;
  919. }
  920. .cursornotallowed {
  921. cursor: not-allowed;
  922. }
  923. .backgroundblank {
  924. background-color: #fff;
  925. }
  926. .nobackground, .nobackground tr {
  927. background: unset !important;
  928. }
  929. .checkboxattachfilelabel {
  930. font-size: 0.85em;
  931. opacity: 0.7;
  932. }
  933. .longmessagecut {
  934. max-height: 250px;
  935. max-width: 100%;
  936. overflow-y: auto;
  937. }
  938. div.urllink {
  939. padding: 5px;
  940. margin-top: 5px;
  941. margin-bottom: 5px;
  942. /* border: 1px solid #ccc; */
  943. border-radius: 5px;
  944. /* width: fit-content; */
  945. background-color: #e0e0e8;
  946. opacity: 0.8;
  947. }
  948. div.urllink, div.urllink a {
  949. color: #339 !important;
  950. }
  951. .fa-info-circle {
  952. padding-<?php echo $left; ?>: 3px;
  953. }
  954. i.fa-mars::before, i.fa-venus::before, i.fa-genderless::before {
  955. color: #888 !important;
  956. opacity: 0.4;
  957. padding-<?php echo $left; ?>: 3px;
  958. }
  959. .stockmovemententry {
  960. color: #080;
  961. transform: rotate(0.25turn);
  962. font-size: 1.2em;
  963. }
  964. .stockmovementexit {
  965. color: #968822;
  966. transform: rotate(0.3turn);
  967. font-size: 1.2em;
  968. }
  969. .stockmovement {
  970. font-size: 1.4em;
  971. }
  972. .text-warning{
  973. color : <?php print $textWarning; ?>
  974. }
  975. body[class*="colorblind-"] .text-warning{
  976. color : <?php print $colorblind_deuteranopes_textWarning; ?>
  977. }
  978. .text-success{
  979. color : <?php print $textSuccess; ?>
  980. }
  981. body[class*="colorblind-"] .text-success{
  982. color : <?php print $colorblind_deuteranopes_textSuccess; ?>
  983. }
  984. .text-danger{
  985. color : <?php print $textDanger; ?>
  986. }
  987. .editfielda span.fa-pencil-alt, .editfielda span.fa-trash {
  988. color: #ccc !important;
  989. }
  990. .editfielda span.fa-pencil-alt:hover, .editfielda span.fa-trash:hover {
  991. color: var(--colortexttitle) !important;
  992. }
  993. a.editfielda.nohover *:hover:before {
  994. color: #ccc !important;
  995. }
  996. .size15x { font-size: 1.5em !important; }
  997. .fa-toggle-on, .fa-toggle-off, .size2x { font-size: 2em; }
  998. .websiteselectionsection .fa-toggle-on, .websiteselectionsection .fa-toggle-off,
  999. .asetresetmodule .fa-toggle-on, .asetresetmodule .fa-toggle-off {
  1000. font-size: 1.5em; vertical-align: text-bottom;
  1001. }
  1002. .fawidth30 {
  1003. width: 20px;
  1004. }
  1005. .floatnone {
  1006. float: none !important;
  1007. }
  1008. /* Themes for badges */
  1009. <?php include dol_buildpath($path.'/theme/'.$theme.'/badges.inc.php', 0); ?>
  1010. .borderrightlight
  1011. {
  1012. border-right: 1px solid #f4f4f4;
  1013. }
  1014. .borderleftlight
  1015. {
  1016. border-left: 1px solid #f4f4f4;
  1017. }
  1018. #formuserfile {
  1019. margin-top: 4px;
  1020. }
  1021. #formuserfile_link {
  1022. margin-left: 1px;
  1023. }
  1024. .listofinvoicetype {
  1025. height: 28px;
  1026. vertical-align: middle;
  1027. }
  1028. .divsocialnetwork:not(:last-child) {
  1029. padding-<?php print $right; ?>: 20px;
  1030. }
  1031. .divfilteralone {
  1032. background-color: rgba(0, 0, 0, 0.08);
  1033. border-radius: 5px;
  1034. padding-left: 5px;
  1035. }
  1036. div.divsearchfield {
  1037. /* float: <?php print $left; ?>; */
  1038. display: inline-block;
  1039. margin-<?php print $right; ?>: 12px;
  1040. margin-<?php print $left; ?>: 2px;
  1041. margin-top: 4px;
  1042. margin-bottom: 4px;
  1043. padding-left: 2px;
  1044. }
  1045. .divsearchfieldfilter {
  1046. text-overflow: clip;
  1047. overflow: auto;
  1048. white-space: nowrap;
  1049. padding-bottom: 5px;
  1050. opacity: 0.6;
  1051. }
  1052. .divadvancedsearchfield:first-child {
  1053. margin-top: 3px;
  1054. }
  1055. .divadvancedsearchfield {
  1056. float: left;
  1057. padding-left: 15px;
  1058. padding-right: 15px;
  1059. padding-bottom: 2px;
  1060. padding-top: 2px;
  1061. }
  1062. .divadvancedsearchfield span.select2.select2-container.select2-container--default {
  1063. padding-bottom: 4px;
  1064. }
  1065. <?php
  1066. // Add a nowrap on smartphone, so long list of field used for filter are overflowed with clip
  1067. if ($conf->browser->layout == 'phone') {
  1068. ?>
  1069. .divsearchfieldfilter {
  1070. white-space: nowrap;
  1071. }
  1072. <?php } ?>
  1073. .a-filter, .a-mesure {
  1074. border-radius: 50px;
  1075. background: var(--colortexttitlenotab);
  1076. color: #fff;
  1077. padding: 8px 10px 8px 6px;
  1078. }
  1079. .a-filter:before {
  1080. content: "\f0b0";
  1081. }
  1082. .a-mesure:before {
  1083. content: "\f080";
  1084. }
  1085. .a-filter:before, .a-mesure:before {
  1086. font-family: "Font Awesome 5 Free";
  1087. font-weight: 600;
  1088. padding-right: 5px;
  1089. padding-left: 5px;
  1090. }
  1091. .a-filter-disabled, .a-mesure-disabled {
  1092. border-radius: 50px;
  1093. background: var(--colorbacktitle1);
  1094. padding: 8px;
  1095. opacity: 0.6;
  1096. }
  1097. /* ============================================================================== */
  1098. /* Styles for scan tool */
  1099. /* ============================================================================== */
  1100. div.div-for-modal {
  1101. /* display: none; */
  1102. position:absolute;
  1103. top:calc(50% - 200px);
  1104. left:calc(50% - 250px);
  1105. width:500px; /* adjust as per your needs */
  1106. height:400px; /* adjust as per your needs */
  1107. background: #fff;
  1108. border: 1px solid #bbb;
  1109. box-shadow: 2px 2px 20px #ddd;
  1110. z-index: 100;
  1111. }
  1112. #scantoolmessage {
  1113. height: 3em;
  1114. border: none;
  1115. overflow-y: auto;
  1116. }
  1117. div.div-for-modal-topright {
  1118. /* display: none; */
  1119. position: fixed;
  1120. top: 0;
  1121. right: 0;
  1122. width:50%; /* adjust as per your needs */
  1123. height:300px; /* adjust as per your needs */
  1124. background: #fff;
  1125. border: 1px solid #bbb;
  1126. box-shadow: 2px 2px 20px #ddd;
  1127. z-index: 1100;
  1128. }
  1129. div.confirmmessage {
  1130. padding-top: 6px;
  1131. }
  1132. ul.attendees {
  1133. padding-top: 0;
  1134. padding-bottom: 0;
  1135. padding-left: 0;
  1136. margin-top: 0;
  1137. margin-bottom: 0;
  1138. }
  1139. ul.attendees li {
  1140. list-style-type: none;
  1141. }
  1142. input > ul.attendees {
  1143. margin-top: 6px;
  1144. }
  1145. .googlerefreshcal {
  1146. padding-top: 4px;
  1147. padding-bottom: 4px;
  1148. }
  1149. .paddingtopbottom {
  1150. padding-top: 10px;
  1151. padding-bottom: 10px;
  1152. }
  1153. .checkallactions {
  1154. margin-left: 2px; /* left must be same than right to keep checkbox centered */
  1155. margin-right: 2px; /* left must be same than right to keep checkbox centered */
  1156. vertical-align: middle;
  1157. }
  1158. select.flat.selectlimit {
  1159. max-width: 62px;
  1160. }
  1161. .selectlimit, .marginrightonly {
  1162. margin-<?php echo $right; ?>: 10px !important;
  1163. }
  1164. .marginleftonly {
  1165. margin-<?php echo $left; ?>: 10px !important;
  1166. }
  1167. .marginleftonlyshort {
  1168. margin-<?php echo $left; ?>: 4px !important;
  1169. }
  1170. .nomarginleft {
  1171. margin-<?php echo $left; ?>: 0px !important;
  1172. }
  1173. .margintoponly {
  1174. margin-top: 10px !important;
  1175. }
  1176. .marginbottomonly {
  1177. margin-bottom: 10px !important;
  1178. }
  1179. .nomargintop {
  1180. margin-top: 0 !important;
  1181. }
  1182. .nomarginbottom {
  1183. margin-bottom: 0 !important;
  1184. }
  1185. .selectlimit, .selectlimit:focus {
  1186. border-left: none !important;
  1187. border-top: none !important;
  1188. border-right: none !important;
  1189. outline: none;
  1190. }
  1191. .strikefordisabled {
  1192. text-decoration: line-through;
  1193. }
  1194. .widthdate {
  1195. width: 130px;
  1196. }
  1197. /* using a tdoverflowxxx make the min-width not working */
  1198. .tdoverflow {
  1199. max-width: 0;
  1200. overflow: hidden;
  1201. text-overflow: ellipsis;
  1202. white-space: nowrap;
  1203. }
  1204. .tdoverflowmax50 { /* For tdoverflow, the max-midth become a minimum ! */
  1205. max-width: 50px;
  1206. overflow: hidden;
  1207. text-overflow: ellipsis;
  1208. white-space: nowrap;
  1209. }
  1210. .tdoverflowmax60 { /* For tdoverflow, the max-midth become a minimum ! */
  1211. max-width: 60px;
  1212. overflow: hidden;
  1213. text-overflow: ellipsis;
  1214. white-space: nowrap;
  1215. }
  1216. .tdoverflowmax80 { /* For tdoverflow, the max-midth become a minimum ! */
  1217. max-width: 80px;
  1218. overflow: hidden;
  1219. text-overflow: ellipsis;
  1220. white-space: nowrap;
  1221. }
  1222. .tdoverflowmax100 { /* For tdoverflow, the max-midth become a minimum ! */
  1223. max-width: 100px;
  1224. overflow: hidden;
  1225. text-overflow: ellipsis;
  1226. white-space: nowrap;
  1227. }
  1228. .tdoverflowmax100imp { /* For tdoverflow, the max-midth become a minimum ! */
  1229. max-width: 100px !important;
  1230. overflow: hidden;
  1231. text-overflow: ellipsis;
  1232. white-space: nowrap;
  1233. }
  1234. .tdoverflowmax125 { /* For tdoverflow, the max-midth become a minimum ! */
  1235. max-width: 125px;
  1236. overflow: hidden;
  1237. text-overflow: ellipsis;
  1238. white-space: nowrap;
  1239. }
  1240. .tdoverflowmax150 { /* For tdoverflow, the max-midth become a minimum ! */
  1241. max-width: 150px;
  1242. overflow: hidden;
  1243. text-overflow: ellipsis;
  1244. white-space: nowrap;
  1245. }
  1246. .tdoverflowmax200 { /* For tdoverflow, the max-midth become a minimum ! */
  1247. max-width: 200px;
  1248. overflow: hidden;
  1249. text-overflow: ellipsis;
  1250. white-space: nowrap;
  1251. }
  1252. .tdoverflowmax250 { /* For tdoverflow, the max-midth become a minimum ! */
  1253. max-width: 250px;
  1254. overflow: hidden;
  1255. text-overflow: ellipsis;
  1256. white-space: nowrap;
  1257. }
  1258. .tdoverflowmax300 { /* For tdoverflow, the max-midth become a minimum ! */
  1259. max-width: 300px;
  1260. overflow: hidden;
  1261. text-overflow: ellipsis;
  1262. white-space: nowrap;
  1263. }
  1264. .tdoverflowmax400 { /* For tdoverflow, the max-midth become a minimum ! */
  1265. max-width: 400px;
  1266. overflow: hidden;
  1267. text-overflow: ellipsis;
  1268. white-space: nowrap;
  1269. }
  1270. .tdoverflowmax500 { /* For tdoverflow, the max-midth become a minimum ! */
  1271. max-width: 500px;
  1272. overflow: hidden;
  1273. text-overflow: ellipsis;
  1274. white-space: nowrap;
  1275. }
  1276. .tdoverflowauto {
  1277. max-width: 0;
  1278. overflow: auto;
  1279. }
  1280. .divintodwithtwolinesmax {
  1281. width: 75px;
  1282. display: -webkit-box;
  1283. -webkit-box-orient: vertical;
  1284. -webkit-line-clamp: 2;
  1285. overflow: hidden;
  1286. }
  1287. .twolinesmax {
  1288. display: -webkit-box;
  1289. -webkit-box-orient: vertical;
  1290. -webkit-line-clamp: 2;
  1291. overflow: hidden;
  1292. }
  1293. .tablelistofcalendars {
  1294. margin-top: 25px !important;
  1295. }
  1296. .amountalreadypaid {
  1297. }
  1298. .amountpaymentcomplete {
  1299. color: #008800;
  1300. font-weight: bold;
  1301. }
  1302. .amountremaintopay {
  1303. color: #880000;
  1304. font-weight: bold;
  1305. }
  1306. .amountremaintopayback {
  1307. font-weight: bold;
  1308. }
  1309. .amountpaymentneutral {
  1310. font-weight: bold;
  1311. font-size: 1.4em;
  1312. }
  1313. .savingdocmask {
  1314. margin-top: 6px;
  1315. margin-bottom: 12px;
  1316. }
  1317. #builddoc_form ~ .showlinkedobjectblock {
  1318. margin-top: 20px;
  1319. }
  1320. /* For the long description of module */
  1321. .moduledesclong p img,.moduledesclong p a img {
  1322. max-width: 90% !important;
  1323. height: auto !important;
  1324. }
  1325. .imgdoc {
  1326. margin: 18px;
  1327. border: 1px solid #ccc;
  1328. box-shadow: 1px 1px 25px #aaa;
  1329. max-width: calc(100% - 56px);
  1330. }
  1331. .fa-file-text-o, .fa-file-code-o, .fa-file-powerpoint-o, .fa-file-excel-o, .fa-file-word-o, .fa-file-o, .fa-file-image-o, .fa-file-video-o, .fa-file-audio-o, .fa-file-archive-o, .fa-file-pdf-o {
  1332. color: #505;
  1333. }
  1334. .fa-15 {
  1335. font-size: 1.5em;
  1336. }
  1337. /* DOL_XXX for future usage (when left menu has been removed). If we do not use datatable */
  1338. /*.table-responsive {
  1339. width: calc(100% - 330px);
  1340. margin-bottom: 15px;
  1341. overflow-y: hidden;
  1342. -ms-overflow-style: -ms-autohiding-scrollbar;
  1343. }*/
  1344. /* Style used for most tables */
  1345. div.fiche>div.tabBar>form>div.div-table-responsive {
  1346. min-height: 392px;
  1347. }
  1348. .div-table-responsive, .div-table-responsive-no-min {
  1349. overflow-x: auto;
  1350. min-height: 0.01%;
  1351. }
  1352. .div-table-responsive {
  1353. line-height: 120%;
  1354. }
  1355. /* Style used for full page tables with field selector and no content after table (priority before previous for such tables) */
  1356. div.fiche>form>div.div-table-responsive, div.fiche>form>div.div-table-responsive-no-min {
  1357. overflow-x: auto;
  1358. }
  1359. div.fiche>form>div.div-table-responsive {
  1360. min-height: 392px;
  1361. }
  1362. .flexcontainer {
  1363. <?php if (in_array($conf->browser->name, array('chrome', 'firefox'))) {
  1364. echo 'display: inline-flex;';
  1365. } ?>
  1366. flex-flow: row wrap;
  1367. justify-content: flex-start;
  1368. }
  1369. .thumbstat {
  1370. flex: 1 1 116px;
  1371. }
  1372. .thumbstat150 {
  1373. flex: 1 1 150px;
  1374. }
  1375. .thumbstat, .thumbstat150 {
  1376. flex-grow: 1;
  1377. flex-shrink: 1;
  1378. /* flex-basis: 140px; */
  1379. /* min-width: 150px; */
  1380. width: 158px;
  1381. justify-content: flex-start;
  1382. align-self: flex-start;
  1383. }
  1384. select.selectarrowonleft {
  1385. direction: rtl;
  1386. }
  1387. select.selectarrowonleft option {
  1388. direction: ltr;
  1389. }
  1390. table[summary="list_of_modules"] .fa-cog {
  1391. font-size: 1.5em;
  1392. }
  1393. .linkedcol-element {
  1394. min-width: 100px;
  1395. }
  1396. .linkedcol-date {
  1397. text-align: center;
  1398. }
  1399. .img-skinthumb {
  1400. width: 160px;
  1401. height: 100px;
  1402. }
  1403. tr.nobottom td {
  1404. border-bottom: 0px !important;
  1405. }
  1406. /* ============================================================================== */
  1407. /* Styles to hide objects */
  1408. /* ============================================================================== */
  1409. .clearboth { clear:both; }
  1410. .hideobject { display: none; }
  1411. .minwidth50 { min-width: 50px; }
  1412. .minwidth75 { min-width: 75px; }
  1413. /* rule for not too small screen only */
  1414. @media only screen and (min-width: <?php echo round($nbtopmenuentries * $fontsize * 3.4, 0) + 7; ?>px)
  1415. {
  1416. .width20 { width: 20px; }
  1417. .width25 { width: 25px; }
  1418. .width50 { width: 50px; }
  1419. .width75 { width: 75px; }
  1420. .width100 { width: 100px; }
  1421. .width200 { width: 200px; }
  1422. .minwidth100 { min-width: 100px; }
  1423. .minwidth150 { min-width: 150px; }
  1424. .minwidth200 { min-width: 200px; }
  1425. .minwidth300 { min-width: 300px; }
  1426. .minwidth400 { min-width: 400px; }
  1427. .minwidth500 { min-width: 500px; }
  1428. .minwidth50imp { min-width: 50px !important; }
  1429. .minwidth75imp { min-width: 75px !important; }
  1430. .minwidth100imp { min-width: 100px !important; }
  1431. .minwidth125imp { min-width: 125px !important; }
  1432. .minwidth200imp { min-width: 200px !important; }
  1433. .minwidth250imp { min-width: 250px !important; }
  1434. .minwidth300imp { min-width: 300px !important; }
  1435. .minwidth400imp { min-width: 400px !important; }
  1436. .minwidth500imp { min-width: 500px !important; }
  1437. }
  1438. .widthauto { width: auto; }
  1439. .width20 { width: 20px; }
  1440. .width25 { width: 25px; }
  1441. .width50 { width: 50px; }
  1442. .width75 { width: 75px; }
  1443. .width100 { width: 100px; }
  1444. .width125 { width: 125px; }
  1445. .width150 { width: 150px; }
  1446. .width200 { width: 200px; }
  1447. .width300 { width: 300px; }
  1448. .width400 { width: 400px; }
  1449. .width500 { width: 500px; }
  1450. .maxwidth25 { max-width: 25px; }
  1451. .maxwidth40 { max-width: 40px; }
  1452. .maxwidth50 { max-width: 50px; }
  1453. .maxwidth75 { max-width: 75px; }
  1454. .maxwidth100 { max-width: 100px; }
  1455. .maxwidth125 { max-width: 125px; }
  1456. .maxwidth150 { max-width: 150px; }
  1457. .maxwidth200 { max-width: 200px; }
  1458. .maxwidth250 { max-width: 250px; }
  1459. .maxwidth300 { max-width: 300px; }
  1460. .maxwidth400 { max-width: 400px; }
  1461. .maxwidth500 { max-width: 500px; }
  1462. .maxwidth50imp { max-width: 50px !important; }
  1463. .maxwidth75imp { max-width: 75px !important; }
  1464. .minheight20 { min-height: 20px; }
  1465. .minheight30 { min-height: 30px; }
  1466. .minheight40 { min-height: 40px; }
  1467. .titlefieldcreate { width: 20%; }
  1468. .titlefield { /* width: 25%; */ width: 250px; }
  1469. .titlefieldmiddle { width: 50%; }
  1470. .imgmaxwidth180 { max-width: 180px; }
  1471. .imgmaxheight50 { max-height: 50px; }
  1472. .width20p { width:20%; }
  1473. .width25p { width:25%; }
  1474. .width40p { width:40%; }
  1475. .width50p { width:50%; }
  1476. .width60p { width:60%; }
  1477. .width75p { width:75%; }
  1478. .width80p { width:80%; }
  1479. .width100p { width:100%; }
  1480. /* Force values for small screen 1400 */
  1481. @media only screen and (max-width: 1400px)
  1482. {
  1483. .titlefield { /* width: 30% !important; */ }
  1484. .titlefieldcreate { width: 30% !important; }
  1485. .minwidth50imp { min-width: 50px !important; }
  1486. .minwidth75imp { min-width: 75px !important; }
  1487. .minwidth100imp { min-width: 100px !important; }
  1488. .minwidth125imp { min-width: 125px !important; }
  1489. .minwidth150imp { min-width: 150px !important; }
  1490. .minwidth200imp { min-width: 200px !important; }
  1491. .minwidth250imp { min-width: 250px !important; }
  1492. .minwidth300imp { min-width: 300px !important; }
  1493. .minwidth400imp { min-width: 300px !important; }
  1494. .minwidth500imp { min-width: 300px !important; }
  1495. .linkedcol-element {
  1496. min-width: unset;
  1497. }
  1498. }
  1499. /* Force values for small screen 1000 */
  1500. @media only screen and (max-width: 1000px)
  1501. {
  1502. .maxwidthonsmartphone { max-width: 100px; }
  1503. .minwidth50imp { min-width: 50px !important; }
  1504. .minwidth75imp { min-width: 70px !important; }
  1505. .minwidth100imp { min-width: 100px !important; }
  1506. .minwidth125imp { min-width: 125px !important; }
  1507. .minwidth150imp { min-width: 110px !important; }
  1508. .minwidth200imp { min-width: 110px !important; }
  1509. .minwidth250imp { min-width: 115px !important; }
  1510. .minwidth300imp { min-width: 120px !important; }
  1511. .minwidth400imp { min-width: 150px !important; }
  1512. .minwidth500imp { min-width: 250px !important; }
  1513. }
  1514. /* Set a width. Note: add also a max-width, for example maxwidth500, that will be used in priority */
  1515. select.widthcentpercentminusx, span.widthcentpercentminusx:not(.select2-selection), input.widthcentpercentminusx {
  1516. width: calc(100% - 50px) !important;
  1517. display: inline-block;
  1518. }
  1519. select.widthcentpercentminusxx, span.widthcentpercentminusxx:not(.select2-selection), input.widthcentpercentminusxx {
  1520. width: calc(100% - 70px) !important;
  1521. display: inline-block;
  1522. }
  1523. /* Force values for small screen 767 */
  1524. @media only screen and (max-width: 767px)
  1525. {
  1526. body {
  1527. font-size: <?php print is_numeric($fontsize) ? ($fontsize).'px' : $fontsize; ?>;
  1528. }
  1529. div.refidno {
  1530. font-size: <?php print is_numeric($fontsize) ? ($fontsize).'px' : $fontsize; ?> !important;
  1531. }
  1532. div.divphotoref {
  1533. padding-right: 10px !important;
  1534. }
  1535. .hideonsmartphone { display: none; }
  1536. .hideonsmartphoneimp { display: none !important; }
  1537. select.minwidth100imp, select.minwidth100, select.minwidth200, select.minwidth200imp, select.minwidth300 {
  1538. width: calc(100% - 40px) !important;
  1539. display: inline-block;
  1540. }
  1541. select.widthcentpercentminusxx, span.widthcentpercentminusxx:not(.select2-selection), input.widthcentpercentminusxx {
  1542. width: calc(100% - 70px) !important;
  1543. display: inline-block;
  1544. }
  1545. input.maxwidthinputfileonsmartphone {
  1546. width: 175px;
  1547. }
  1548. .poweredbyimg {
  1549. width: 48px;
  1550. }
  1551. input.buttonpayment, button.buttonpayment, div.buttonpayment {
  1552. min-width: 270px;
  1553. }
  1554. .smallonsmartphone {
  1555. font-size: 0.8em;
  1556. }
  1557. }
  1558. /* Force values for small screen 570 */
  1559. @media only screen and (max-width: 570px)
  1560. {
  1561. body {
  1562. font-size: <?php print is_numeric($fontsize) ? ($fontsize).'px' : $fontsize; ?>;
  1563. }
  1564. div.refidno {
  1565. font-size: <?php print is_numeric($fontsize) ? ($fontsize).'px' : $fontsize; ?> !important;
  1566. }
  1567. .login_vertical_align {
  1568. padding-left: 0;
  1569. }
  1570. .login_table input#username, .login_table input#password, .login_table input#securitycode {
  1571. margin-left: 5px !important;
  1572. }
  1573. div#login_left, div#login_right {
  1574. min-width: 150px !important;
  1575. padding-left: 5px !important;
  1576. padding-right: 5px !important;
  1577. }
  1578. .login_table div#login_right .tdinputlogin, .login_table div#login_right .tdinputlogin input {
  1579. min-width: 150px !important;
  1580. }
  1581. .divmainbodylarge { margin-left: 10px; margin-right: 10px; }
  1582. .tdoverflowonsmartphone {
  1583. max-width: 0;
  1584. overflow: hidden;
  1585. text-overflow: ellipsis;
  1586. white-space: nowrap;
  1587. }
  1588. .tdoverflowmax100onsmartphone { /* For tdoverflow, the max-midth become a minimum ! */
  1589. max-width: 100px;
  1590. overflow: hidden;
  1591. text-overflow: ellipsis;
  1592. white-space: nowrap;
  1593. }
  1594. .tdoverflowmax150onsmartphone { /* For tdoverflow, the max-midth become a minimum ! */
  1595. max-width: 100px;
  1596. overflow: hidden;
  1597. text-overflow: ellipsis;
  1598. white-space: nowrap;
  1599. }
  1600. div.fiche {
  1601. margin-top: <?php print ($dol_hide_topmenu ? '12' : '6'); ?>px !important;
  1602. }
  1603. .border tbody tr, .border tbody tr td, div.tabBar table.border tr, div.tabBar table.border tr td, div.tabBar div.border .table-border-row, div.tabBar div.border .table-key-border-col, div.tabBar div.border .table-val-border-col {
  1604. height: 40px !important;
  1605. }
  1606. .quatrevingtpercent, .inputsearch {
  1607. width: 95%;
  1608. }
  1609. div.tabs div.tab a.tab {
  1610. max-width: 200px;
  1611. overflow: hidden;
  1612. text-overflow: ellipsis;
  1613. white-space: nowrap;
  1614. }
  1615. select {
  1616. padding-top: 4px;
  1617. padding-bottom: 5px;
  1618. }
  1619. .login_table .tdinputlogin {
  1620. min-width: unset !important;
  1621. }
  1622. input, input[type=text], input[type=password], select, textarea {
  1623. min-width: 20px;
  1624. min-height: 1.4em;
  1625. line-height: 1.4em;
  1626. }
  1627. .noenlargeonsmartphone { width : 50px !important; display: inline !important; }
  1628. .maxwidthonsmartphone, #search_newcompany.ui-autocomplete-input { max-width: 100px; }
  1629. .maxwidth50onsmartphone { max-width: 40px; }
  1630. .maxwidth75onsmartphone { max-width: 50px; }
  1631. .maxwidth100onsmartphone { max-width: 70px; }
  1632. .maxwidth150onsmartphone { max-width: 120px; }
  1633. .maxwidth150onsmartphoneimp { max-width: 120px !important; }
  1634. .maxwidth200onsmartphone { max-width: 200px; }
  1635. .maxwidth250onsmartphone { max-width: 250px; }
  1636. .maxwidth300onsmartphone { max-width: 300px; }
  1637. .maxwidth400onsmartphone { max-width: 400px; }
  1638. .minwidth50imp { min-width: 50px !important; }
  1639. .minwidth75imp { min-width: 75px !important; }
  1640. .minwidth100imp { min-width: 100px !important; }
  1641. .minwidth125imp { min-width: 125px !important; }
  1642. .minwidth150imp { min-width: 110px !important; }
  1643. .minwidth200imp { min-width: 110px !important; }
  1644. .minwidth250imp { min-width: 115px !important; }
  1645. .minwidth300imp { min-width: 120px !important; }
  1646. .minwidth400imp { min-width: 150px !important; }
  1647. .minwidth500imp { min-width: 250px !important; }
  1648. .titlefield { width: auto; }
  1649. .titlefieldcreate { width: auto; }
  1650. #tooltip {
  1651. position: absolute;
  1652. width: <?php print dol_size(300, 'width'); ?>px;
  1653. }
  1654. /* intput, input[type=text], */
  1655. select {
  1656. width: 98%;
  1657. min-width: 40px;
  1658. }
  1659. div.divphotoref {
  1660. padding-<?php echo $right; ?>: 5px;
  1661. padding-bottom: 5px;
  1662. }
  1663. img.photoref, div.photoref {
  1664. border: none;
  1665. -webkit-box-shadow: none;
  1666. box-shadow: none;
  1667. padding: 4px;
  1668. height: 20px;
  1669. width: 20px;
  1670. object-fit: contain;
  1671. }
  1672. div.statusref {
  1673. padding-right: 10px;
  1674. max-width: 55%;
  1675. }
  1676. div.statusref img {
  1677. padding-right: 3px !important;
  1678. }
  1679. div.statusrefbis {
  1680. padding-right: 3px !important;
  1681. }
  1682. input.buttonpayment {
  1683. min-width: 300px;
  1684. }
  1685. }
  1686. .linkobject { cursor: pointer; }
  1687. table.tableforfield tr:not(.liste_titre)>td:first-of-type, tr.trforfield:not(.liste_titre)>td:first-of-type, div.tableforfield div.tagtr:not(.liste_titre)>div.tagtd:first-of-type {
  1688. color: #666;
  1689. }
  1690. <?php if (GETPOST('optioncss', 'aZ09') == 'print') { ?>
  1691. .hideonprint { display: none !important; }
  1692. <?php } ?>
  1693. /* ============================================================================== */
  1694. /* Styles for dragging lines */
  1695. /* ============================================================================== */
  1696. .dragClass {
  1697. color: #002255;
  1698. }
  1699. td.showDragHandle {
  1700. cursor: move;
  1701. }
  1702. .tdlineupdown {
  1703. white-space: nowrap;
  1704. min-width: 10px;
  1705. }
  1706. /* ============================================================================== */
  1707. /* Styles de positionnement des zones */
  1708. /* ============================================================================== */
  1709. #id-container {
  1710. margin-top: 0px;
  1711. margin-bottom: 0px;
  1712. display: table;
  1713. table-layout: fixed;
  1714. width: 100%;
  1715. }
  1716. #id-right, #id-left {
  1717. display: table-cell;
  1718. float: none;
  1719. vertical-align: top;
  1720. }
  1721. #id-top {
  1722. }
  1723. #id-left {
  1724. min-height: 100%;
  1725. position: relative;
  1726. width: 213px;
  1727. padding-top: 20px;
  1728. }
  1729. #id-right { /* This must stay id-right and not be replaced with echo $right */
  1730. width: 100%;
  1731. padding-bottom: 20px;
  1732. <?php if (GETPOST('optioncss', 'aZ09') != 'print') { ?>
  1733. padding-<?php print $left; ?>: 229px;
  1734. padding-top: 16px;
  1735. <?php } ?>
  1736. }
  1737. /* DOL_XXX For having horizontal scroll into array (like with smartphone) */
  1738. .classforhorizontalscrolloftabs #id-container {
  1739. width: 100%;
  1740. }
  1741. .classforhorizontalscrolloftabs .side-nav {
  1742. display: block;
  1743. float: left;
  1744. }
  1745. .classforhorizontalscrolloftabs #id-right {
  1746. width:calc(100% - 210px);
  1747. display: inline-block;
  1748. }
  1749. .side-nav {
  1750. <?php if (GETPOST('optioncss', 'aZ09') == 'print') { ?>
  1751. display: none;
  1752. <?php } else { ?>
  1753. background: var(--colorbackvmenu1);
  1754. border-<?php echo $right; ?>: 1px solid rgba(0,0,0,0.2);
  1755. box-shadow: 3px 0 6px -2px #eee;
  1756. bottom: 0;
  1757. color: #333;
  1758. display: block;
  1759. font-family: "RobotoDraft","Roboto",sans-serif;
  1760. <?php echo $left; ?>: 0;
  1761. <?php
  1762. if (in_array($conf->browser->layout, array('phone', 'tablet')) && empty($conf->global->MAIN_OPTIMIZEFORTEXTBROWSER)) {
  1763. } else { ?>
  1764. position: fixed;
  1765. top: 50px;
  1766. <?php } ?>
  1767. z-index: 90;
  1768. -webkit-transform: translateZ(0);
  1769. -moz-transform: translateZ(0);
  1770. -ms-transform: translateZ(0);
  1771. -o-transform: translateZ(0);
  1772. transform: translateZ(0);
  1773. -webkit-transform-style: preserve-3d;
  1774. -moz-transform-style: preserve-3d;
  1775. -ms-transform-style: preserve-3d;
  1776. -o-transform-style: preserve-3d;
  1777. transform-style: preserve-3d;
  1778. -webkit-transition-delay: 0.1s;
  1779. -moz-transition-delay: 0.1s;
  1780. transition-delay: 0.1s;
  1781. -webkit-transition-duration: 0.2s;
  1782. -moz-transition-duration: 0.2s;
  1783. transition-duration: 0.2s;
  1784. -webkit-transition-property: -webkit-transform;
  1785. -moz-transition-property: -moz-transform;
  1786. transition-property: transform;
  1787. -webkit-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  1788. -moz-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  1789. transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  1790. -webkit-overflow-scrolling: touch;
  1791. <?php
  1792. if (in_array($conf->browser->layout, array('phone', 'tablet')) && empty($conf->global->MAIN_OPTIMIZEFORTEXTBROWSER)) {
  1793. } else { ?>
  1794. overflow-x: hidden;
  1795. overflow-y: auto;
  1796. <?php }
  1797. }
  1798. ?>
  1799. }
  1800. /**
  1801. * Slide animation
  1802. */
  1803. .side-nav-vert, #id-right {
  1804. transition: padding-left 0.5s ease, margin-left 0.5s ease;
  1805. }
  1806. .side-nav, .login_block {
  1807. transition: left 0.5s ease;
  1808. }
  1809. body.sidebar-collapse .side-nav-vert, body.sidebar-collapse #id-right {
  1810. margin-left: 0;
  1811. padding-left:0
  1812. }
  1813. .side-nav-vert {
  1814. margin-<?php echo $left; ?>: 228px;
  1815. }
  1816. /* body.sidebar-collapse .side-nav, body.sidebar-collapse .login_block_other, body.sidebar-collapse #topmenu-login-dropdown */
  1817. body.sidebar-collapse .side-nav, body.sidebar-collapse .login_block
  1818. {
  1819. display: none;
  1820. }
  1821. <?php if (empty($conf->global->THEME_DISABLE_STICKY_TOPMENU)) { ?>
  1822. .side-nav-vert {
  1823. position: sticky;
  1824. top: 0px;
  1825. z-index: 1001;
  1826. }
  1827. <?php } ?>
  1828. /* For smartphone (testmenuhider is on) */
  1829. <?php if (in_array($conf->browser->layout, array('phone', 'tablet')) && empty($conf->global->MAIN_OPTIMIZEFORTEXTBROWSER)) { ?>
  1830. #id-container {
  1831. width: 100%;
  1832. }
  1833. .side-nav-vert {
  1834. margin-left: 0;
  1835. }
  1836. .side-nav {
  1837. <?php
  1838. if (in_array($conf->browser->layout, array('phone', 'tablet')) && empty($conf->global->MAIN_OPTIMIZEFORTEXTBROWSER)) {
  1839. } else { ?>
  1840. overflow-x: initial !important;
  1841. overflow-y: scroll;
  1842. <?php } ?>
  1843. display: block;
  1844. position: relative;
  1845. }
  1846. div.backgroundsemitransparent {
  1847. background:rgba(255, 255, 255, 0.7);
  1848. padding-left: 10px;
  1849. padding-right: 10px;
  1850. }
  1851. /* Login */
  1852. .login_block_getinfo {
  1853. text-align: center;
  1854. }
  1855. .login_block_getinfo div.login_block_user {
  1856. display: block;
  1857. }
  1858. .login_block_getinfo .atoplogin, .login_block_getinfo .atoplogin:hover {
  1859. color: #333 !important;
  1860. }
  1861. .login_block_elem a span.atoplogin, .login_block_elem span.atoplogin {
  1862. vertical-align: middle;
  1863. }
  1864. #id-right {
  1865. padding-<?php print $left; ?>: 0 ! important;
  1866. }
  1867. #id-left {
  1868. z-index: 91;
  1869. background: var(--colorbackvmenu1);
  1870. border-right: 1px solid rgba(0,0,0,0.3);
  1871. padding-top: 20px;
  1872. <?php
  1873. if (in_array($conf->browser->layout, array('phone', 'tablet')) && empty($conf->global->MAIN_OPTIMIZEFORTEXTBROWSER)) { ?>
  1874. top: 66px ! important;
  1875. <?php } else { ?>
  1876. top: 60px ! important;
  1877. <?php } ?>
  1878. }
  1879. div.fiche {
  1880. margin-<?php print $left; ?>: 6px !important;
  1881. margin-<?php print $right; ?>: 6px !important;
  1882. }
  1883. <?php } ?>
  1884. div.fiche {
  1885. margin-<?php print $left; ?>: <?php print (GETPOST('optioncss', 'aZ09') == 'print' ? 6 : (empty($conf->dol_optimize_smallscreen) ? '30' : '6')); ?>px;
  1886. margin-<?php print $right; ?>: <?php print (GETPOST('optioncss', 'aZ09') == 'print' ? 6 : (empty($conf->dol_optimize_smallscreen) ? '28' : '6')); ?>px;
  1887. <?php if (!empty($dol_hide_leftmenu) && !empty($dol_hide_topmenu)) {
  1888. print 'margin-top: 12px;';
  1889. } ?>
  1890. margin-bottom: 15px;
  1891. }
  1892. body.onlinepaymentbody div.fiche { /* For online payment page */
  1893. margin: 20px !important;
  1894. }
  1895. div.fiche>table:first-child {
  1896. margin-bottom: 15px !important;
  1897. }
  1898. div.fichecenter {
  1899. width: 100%;
  1900. clear: both; /* This is to have div fichecenter that are true rectangles */
  1901. }
  1902. div.fichecenterbis {
  1903. margin-top: 8px;
  1904. }
  1905. div.fichethirdleft {
  1906. <?php if ($conf->browser->layout != 'phone') {
  1907. print "float: ".$left.";\n";
  1908. } ?>
  1909. <?php if ($conf->browser->layout != 'phone') {
  1910. print "width: calc(50% - 14px);\n";
  1911. } ?>
  1912. <?php if ($conf->browser->layout == 'phone') {
  1913. print "padding-bottom: 6px;\n";
  1914. } ?>
  1915. }
  1916. div.fichetwothirdright {
  1917. <?php if ($conf->browser->layout != 'phone') {
  1918. print "float: ".$right.";\n";
  1919. } ?>
  1920. <?php if ($conf->browser->layout != 'phone') {
  1921. print "width: calc(50% - 14px);\n";
  1922. } ?>
  1923. <?php if ($conf->browser->layout == 'phone') {
  1924. print "padding-bottom: 6px\n";
  1925. } ?>
  1926. }
  1927. div.fichehalfleft {
  1928. <?php if ($conf->browser->layout != 'phone') {
  1929. print "float: ".$left.";\n";
  1930. } ?>
  1931. <?php if ($conf->browser->layout != 'phone') {
  1932. print "width: calc(50% - 14px);\n";
  1933. } ?>
  1934. }
  1935. div.fichehalfright {
  1936. <?php if ($conf->browser->layout != 'phone') {
  1937. print "float: ".$right.";\n";
  1938. } ?>
  1939. <?php if ($conf->browser->layout != 'phone') {
  1940. print "width: calc(50% - 14px);\n";
  1941. } ?>
  1942. }
  1943. div.fichehalfright {
  1944. <?php if ($conf->browser->layout == 'phone') {
  1945. print "margin-top: 10px;\n";
  1946. } ?>
  1947. }
  1948. /*div.firstcolumn div.box {
  1949. padding-right: 10px;
  1950. }
  1951. div.secondcolumn div.box {
  1952. padding-left: 10px;
  1953. }*/
  1954. /* Force values on one colum for small screen */
  1955. @media only screen and (max-width: 900px)
  1956. {
  1957. div.fiche {
  1958. margin-<?php print $left; ?>: <?php print (GETPOST('optioncss', 'aZ09') == 'print' ? 6 : ($dol_hide_leftmenu ? '4' : '20')); ?>px;
  1959. margin-<?php print $right; ?>: <?php print (GETPOST('optioncss', 'aZ09') == 'print' ? 8 : 16); ?>px;
  1960. <?php if (!empty($conf->dol_hide_leftmenu) && !empty($conf->dol_hide_topmenu)) {
  1961. print 'margin-top: 4px;';
  1962. } ?>
  1963. margin-bottom: 15px;
  1964. }
  1965. div.fichecenter {
  1966. width: 100%;
  1967. clear: both; /* This is to have div fichecenter that are true rectangles */
  1968. }
  1969. div.fichecenterbis {
  1970. margin-top: 8px;
  1971. }
  1972. div.fichethirdleft {
  1973. float: none;
  1974. width: auto;
  1975. padding-bottom: 6px;
  1976. }
  1977. div.fichetwothirdright {
  1978. float: none;
  1979. width: auto;
  1980. padding-bottom: 6px;
  1981. }
  1982. div.fichehalfleft {
  1983. float: none;
  1984. width: auto;
  1985. }
  1986. div.fichehalfright {
  1987. float: none;
  1988. width: auto;
  1989. }
  1990. div.fichehalfright {
  1991. margin-top: 10px;
  1992. }
  1993. div.firstcolumn div.box {
  1994. padding-right: 0px;
  1995. }
  1996. div.secondcolumn div.box {
  1997. padding-left: 0px;
  1998. }
  1999. }
  2000. /* For table into table into card */
  2001. div.fichehalfright tr.liste_titre:first-child td table.nobordernopadding td {
  2002. padding: 0 0 0 0;
  2003. }
  2004. div.nopadding {
  2005. padding: 0 !important;
  2006. }
  2007. .containercenter {
  2008. display : table;
  2009. margin : 0px auto;
  2010. }
  2011. td.nobordernopadding.widthpictotitle.col-picto {
  2012. opacity: 0.9;
  2013. }
  2014. .pictotitle {
  2015. margin-<?php echo $right; ?>: 8px;
  2016. margin-bottom: 4px;
  2017. }
  2018. .pictoobjectwidth {
  2019. width: 14px;
  2020. }
  2021. .table-list-of-attached-files .col-picto, .table-list-of-links .col-picto {
  2022. opacity: 0.7 !important;
  2023. font-size: 1em;
  2024. width: 20px;
  2025. }
  2026. .table-list-of-attached-files .col-picto .widthpictotitle, .table-list-of-links .col-picto .widthpictotitle {
  2027. width: unset;
  2028. color: #999;
  2029. }
  2030. .pictosubstatus {
  2031. padding-left: 2px;
  2032. padding-right: 2px;
  2033. }
  2034. .pictostatus {
  2035. width: 15px;
  2036. vertical-align: middle;
  2037. margin-top: -3px
  2038. }
  2039. .pictowarning, .pictoerror, .pictopreview {
  2040. padding-<?php echo $left; ?>: 3px;
  2041. }
  2042. .pictowarning {
  2043. /* vertical-align: text-bottom; */
  2044. color: <?php echo $badgeWarning; ?>;
  2045. }
  2046. .pictoerror {
  2047. color: <?php echo $badgeDanger ?>;
  2048. }
  2049. .pictomodule {
  2050. width: 14px;
  2051. }
  2052. .fiche .arearef img.pictoedit, .fiche .arearef span.pictoedit,
  2053. .fiche .fichecenter img.pictoedit, .fiche .fichecenter span.pictoedit,
  2054. .tagtdnote span.pictoedit {
  2055. opacity: 0.6;
  2056. }
  2057. img.hideonsmartphone.pictoactionview {
  2058. vertical-align: bottom;
  2059. }
  2060. .pictofixedwidth {
  2061. text-align: <?php echo $left; ?>;
  2062. width: 20px;
  2063. padding-right: 0;
  2064. }
  2065. .colorthumb {
  2066. padding-left: 1px !important;
  2067. padding-right: 1px;
  2068. padding-top: 1px;
  2069. padding-bottom: 1px;
  2070. width: 50px;
  2071. text-align:center;
  2072. }
  2073. div.attacharea {
  2074. padding-top: 18px;
  2075. padding-bottom: 10px;
  2076. }
  2077. div.attachareaformuserfileecm {
  2078. padding-top: 0;
  2079. padding-bottom: 0;
  2080. }
  2081. div.arearef {
  2082. padding-top: 2px;
  2083. padding-bottom: 5px;
  2084. margin-bottom: 10px;
  2085. }
  2086. div.arearefnobottom {
  2087. padding-top: 2px;
  2088. padding-bottom: 4px;
  2089. }
  2090. div.heightref {
  2091. min-height: 80px;
  2092. }
  2093. div.divphotoref:last-child {
  2094. padding-<?php echo $right; ?>: 20px;
  2095. }
  2096. div.paginationref {
  2097. padding-bottom: 10px;
  2098. }
  2099. div.statusref {
  2100. float: right;
  2101. padding-left: 12px;
  2102. margin-top: 8px;
  2103. margin-bottom: 10px;
  2104. clear: both;
  2105. }
  2106. div.statusref img {
  2107. padding-left: 8px;
  2108. padding-right: 9px;
  2109. vertical-align: text-bottom;
  2110. width: 18px;
  2111. }
  2112. div.statusrefbis {
  2113. padding-left: 8px;
  2114. padding-right: 9px;
  2115. vertical-align: text-bottom;
  2116. }
  2117. img.photoref, div.photoref {
  2118. border: 1px solid #CCC;
  2119. -webkit-box-shadow: 3px 3px 4px #DDD;
  2120. box-shadow: 3px 3px 4px #DDD;
  2121. padding: 4px;
  2122. height: 80px;
  2123. width: 80px;
  2124. object-fit: contain;
  2125. }
  2126. div.photoref .fa, div.photoref .fas, div.photoref .far {
  2127. font-size: 2.5em;
  2128. }
  2129. img.fitcontain {
  2130. object-fit: contain;
  2131. }
  2132. div.photoref {
  2133. display:table-cell;
  2134. vertical-align:middle;
  2135. text-align:center;
  2136. }
  2137. img.photorefnoborder {
  2138. padding: 2px;
  2139. height: 48px;
  2140. width: 48px;
  2141. object-fit: contain;
  2142. border: 1px solid #AAA;
  2143. border-radius: 100px;
  2144. }
  2145. .underrefbanner {
  2146. }
  2147. .underbanner {
  2148. border-bottom: <?php echo $borderwidth ?>px solid var(--colortopbordertitle1);
  2149. }
  2150. .trextrafieldseparator td, .trextrafields_collapse_last td {
  2151. border-bottom: 1px solid var(--colortopbordertitle1) !important;
  2152. }
  2153. .tdhrthin {
  2154. margin: 0;
  2155. padding-bottom: 0 !important;
  2156. }
  2157. /* Payment Screen : Pointer cursor in the autofill image */
  2158. .AutoFillAmount {
  2159. cursor:pointer;
  2160. }
  2161. /* ============================================================================== */
  2162. /* Menu top et 1ere ligne tableau */
  2163. /* ============================================================================== */
  2164. <?php
  2165. $minwidthtmenu = 66; /* minimum width for one top menu entry */
  2166. $heightmenu = 48; /* height of top menu, part with image */
  2167. $heightmenu2 = 48; /* height of top menu, ârt with login */
  2168. $disableimages = 0;
  2169. $maxwidthloginblock = 110;
  2170. if (!empty($conf->global->THEME_TOPMENU_DISABLE_IMAGE)) {
  2171. $heightmenu = 30; $disableimages = 1; $maxwidthloginblock = 180; $minwidthtmenu = 0;
  2172. }
  2173. ?>
  2174. div#tmenu_tooltip {
  2175. <?php if (GETPOST('optioncss', 'aZ09') == 'print') { ?>
  2176. display:none;
  2177. <?php } else { ?>
  2178. background: var(--colorbackhmenu1);
  2179. /*
  2180. background-image: linear-gradient(to top, rgba(255,255,255,.3) 0%, rgba(128,128,128,.3) 100%);
  2181. background-image: -o-linear-gradient(top, rgba(255,255,255,.3) 0%, rgba(128,128,128,.3) 100%);
  2182. background-image: -moz-linear-gradient(top, rgba(255,255,255,.3) 0%, rgba(128,128,128,.3) 100%);
  2183. background-image: -webkit-linear-gradient(top, rgba(255,255,255,.3) 0%, rgba(128,128,128,.3) 100%);
  2184. background-image: -webkit-gradient( linear, left top, left bottom, color-stop(0, rgba(255,255,255,.3)), color-stop(1, rgba(128,128,128,.3)) );
  2185. */
  2186. <?php } ?>
  2187. }
  2188. div#tmenu_tooltip {
  2189. <?php if (GETPOST('optioncss', 'aZ09') == 'print') { ?>
  2190. display:none;
  2191. <?php } else { ?>
  2192. /* padding-<?php echo $right; ?>: <?php echo ($maxwidthloginblock - 10); ?>px; */
  2193. <?php } ?>
  2194. }
  2195. li.tmenusel::after, li.tmenu:hover::after {
  2196. content: "";
  2197. position: absolute;
  2198. bottom: 0px;
  2199. left: 50%;
  2200. left: calc(50% - 6px);
  2201. width: 0;
  2202. height: 0;
  2203. border-style: solid;
  2204. border-width: 0px 6px 5px 6px;
  2205. border-color: transparent transparent #ffffff transparent;
  2206. }
  2207. div.tmenusep {
  2208. <?php if ($disableimages) { ?>
  2209. display: none;
  2210. <?php } ?>
  2211. }
  2212. div.tmenudiv {
  2213. <?php if (GETPOST('optioncss', 'aZ09') == 'print') { ?>
  2214. display:none;
  2215. <?php } else { ?>
  2216. position: relative;
  2217. display: block;
  2218. white-space: nowrap;
  2219. border-top: 0px;
  2220. border-<?php print $left; ?>: 0px;
  2221. border-<?php print $right; ?>: 0px;
  2222. padding: 0px 0px 0px 0px; /* t r b l */
  2223. margin: 0px 0px 0px 0px; /* t r b l */
  2224. font-size: 13px;
  2225. font-weight: normal;
  2226. color: #000000;
  2227. text-decoration: none;
  2228. <?php } ?>
  2229. }
  2230. div.tmenudisabled, a.tmenudisabled {
  2231. opacity: 0.6;
  2232. }
  2233. a.tmenudisabled:link, a.tmenudisabled:visited, a.tmenudisabled:hover, a.tmenudisabled:active {
  2234. font-weight: normal;
  2235. padding: 0px 5px 0px 5px;
  2236. white-space: nowrap;
  2237. color: #<?php echo $colortextbackhmenu; ?>;
  2238. text-decoration: none;
  2239. cursor: not-allowed;
  2240. }
  2241. a.tmenu:link, a.tmenu:visited, a.tmenu:hover, a.tmenu:active {
  2242. font-weight: normal;
  2243. padding: 0px 5px 0px 5px;
  2244. white-space: nowrap;
  2245. /* text-shadow: 1px 1px 1px #000000; */
  2246. color: #<?php echo $colortextbackhmenu; ?>;
  2247. text-decoration: none;
  2248. }
  2249. a.tmenusel:link, a.tmenusel:visited, a.tmenusel:hover, a.tmenusel:active {
  2250. font-weight: normal;
  2251. padding: 0px 5px 0px 5px;
  2252. margin: 0px 0px 0px 0px;
  2253. white-space: nowrap;
  2254. color: #<?php echo $colortextbackhmenu; ?>;
  2255. text-decoration: none !important;
  2256. }
  2257. ul.tmenu { /* t r b l */
  2258. padding: 0px 0px 0px 0px;
  2259. margin: 0px 0px 0px 0px;
  2260. list-style: none;
  2261. display: table;
  2262. margin-right: 65px; /* to keep space for bookmark */
  2263. padding-left: 5px;
  2264. }
  2265. ul.tmenu li {
  2266. background: var(--colorbackhmenu1);
  2267. /*
  2268. background-image: linear-gradient(to top, rgba(255,255,255,.3) 0%, rgba(0,0,0,.3) 100%);
  2269. background-image: -o-linear-gradient(top, rgba(255,255,255,.3) 0%, rgba(0,0,0,.3) 100%);
  2270. background-image: -moz-linear-gradient(top, rgba(255,255,255,.3) 0%, rgba(0,0,0,.3) 100%);
  2271. background-image: -webkit-linear-gradient(top, rgba(255,255,255,.3) 0%, rgba(0,0,0,.3) 100%);
  2272. background-image: -webkit-gradient( linear, left top, left bottom, color-stop(0, rgba(255,255,255,.3)), color-stop(1, rgba(0,0,0,.3)) );
  2273. */
  2274. }
  2275. li.tmenu, li.tmenusel {
  2276. <?php print $minwidthtmenu ? 'min-width: '.$minwidthtmenu.'px;' : ''; ?>
  2277. text-align: center;
  2278. vertical-align: bottom;
  2279. <?php if (empty($conf->global->MAIN_MENU_INVERT)) { ?>
  2280. float: <?php print $left; ?>;
  2281. <?php if (!$disableimages) { ?>
  2282. height: <?php print $heightmenu; ?>px;
  2283. padding: 0px 0px 2px 0px;
  2284. <?php } else { ?>
  2285. padding: 0px 0px 0px 0px;
  2286. <?php }
  2287. } ?>
  2288. position:relative;
  2289. display: block;
  2290. margin: 0px 0px 0px 0px;
  2291. font-weight: normal;
  2292. }
  2293. li.tmenu:hover {
  2294. opacity: .50; /* show only a slight shadow */
  2295. }
  2296. .tmenuend .tmenuleft { width: 0px; }
  2297. .tmenuend { display: none; }
  2298. div.tmenuleft
  2299. {
  2300. float: <?php print $left; ?>;
  2301. margin-top: 0px;
  2302. <?php if (empty($conf->dol_optimize_smallscreen)) { ?>
  2303. width: 5px;
  2304. <?php if (!$disableimages) { ?>
  2305. height: <?php print $heightmenu + 4; ?>px;
  2306. <?php } ?>
  2307. <?php } ?>
  2308. }
  2309. div.tmenucenter
  2310. {
  2311. padding-left: 0px;
  2312. padding-right: 0px;
  2313. <?php if ($disableimages) { ?>
  2314. padding-top: 10px;
  2315. height: 26px;
  2316. <?php } else { ?>
  2317. padding-top: 2px;
  2318. height: <?php print $heightmenu; ?>px;
  2319. <?php } ?>
  2320. width: 100%;
  2321. }
  2322. div.menu_titre {
  2323. padding-bottom: 5px;
  2324. overflow: hidden;
  2325. text-overflow: ellipsis;
  2326. }
  2327. .mainmenuaspan
  2328. {
  2329. padding-<?php print $left; ?>: 2px;
  2330. padding-<?php print $right; ?>: 2px;
  2331. }
  2332. div.mainmenu {
  2333. position : relative;
  2334. background-repeat:no-repeat;
  2335. background-position:center top;
  2336. height: <?php echo ($heightmenu - 22); ?>px;
  2337. margin-left: 0px;
  2338. min-width: 40px;
  2339. }
  2340. a.tmenuimage:focus, .mainmenu.topmenuimage:focus {
  2341. outline: none;
  2342. }
  2343. /* Do not load menu img if hidden to save bandwidth */
  2344. <?php if (empty($dol_hide_topmenu)) { ?>
  2345. <?php if (!defined('DISABLE_FONT_AWSOME')) { ?>
  2346. <?php include dol_buildpath($path.'/theme/'.$theme.'/main_menu_fa_icons.inc.php', 0); ?>
  2347. <?php } ?>
  2348. div.mainmenu.home{
  2349. background-image: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/menus/home.png', 1) ?>);
  2350. background-position-x: center;
  2351. }
  2352. div.mainmenu.billing {
  2353. background-image: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/menus/money.png', 1) ?>);
  2354. }
  2355. div.mainmenu.accountancy {
  2356. background-image: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/menus/money.png', 1) ?>);
  2357. }
  2358. div.mainmenu.agenda {
  2359. background-image: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/menus/agenda.png', 1) ?>);
  2360. }
  2361. div.mainmenu.bank {
  2362. background-image: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/menus/bank.png', 1) ?>);
  2363. }
  2364. div.mainmenu.cashdesk {
  2365. background-image: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/menus/pointofsale.png', 1) ?>);
  2366. }
  2367. div.mainmenu.takepos {
  2368. background-image: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/menus/pointofsale.png', 1) ?>);
  2369. }
  2370. div.mainmenu.companies {
  2371. background-image: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/menus/company.png', 1) ?>);
  2372. }
  2373. div.mainmenu.commercial {
  2374. background-image: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/menus/commercial.png', 1) ?>);
  2375. }
  2376. div.mainmenu.ecm {
  2377. background-image: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/menus/ecm.png', 1) ?>);
  2378. }
  2379. div.mainmenu.externalsite {
  2380. background-image: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/menus/externalsite.png', 1) ?>);
  2381. }
  2382. div.mainmenu.ftp {
  2383. background-image: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/menus/tools.png', 1) ?>);
  2384. }
  2385. div.mainmenu.hrm {
  2386. background-image: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/menus/holiday.png', 1) ?>);
  2387. }
  2388. div.mainmenu.members {
  2389. background-image: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/menus/members.png', 1) ?>);
  2390. }
  2391. div.mainmenu.menu {
  2392. background-image: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/menus/menu.png', 1) ?>);
  2393. top: 10px;
  2394. left: 1px;
  2395. }
  2396. div.mainmenu.products {
  2397. background-image: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/menus/products.png', 1) ?>);
  2398. }
  2399. div.mainmenu.mrp {
  2400. background-image: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/menus/products.png', 1) ?>);
  2401. }
  2402. div.mainmenu.project {
  2403. background-image: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/menus/project.png', 1) ?>);
  2404. }
  2405. div.mainmenu.ticket {
  2406. background-image: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/menus/ticket.png', 1) ?>);
  2407. }
  2408. div.mainmenu.tools {
  2409. background-image: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/menus/tools.png', 1) ?>);
  2410. }
  2411. div.mainmenu.website {
  2412. background-image: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/menus/externalsite.png', 1) ?>);
  2413. }
  2414. <?php
  2415. // Add here more div for other menu entries. moduletomainmenu=array('module name'=>'name of class for div')
  2416. $moduletomainmenu = array(
  2417. 'user'=>'', 'syslog'=>'', 'societe'=>'companies', 'projet'=>'project', 'propale'=>'commercial', 'commande'=>'commercial',
  2418. 'produit'=>'products', 'service'=>'products', 'stock'=>'products',
  2419. 'don'=>'accountancy', 'tax'=>'accountancy', 'banque'=>'accountancy', 'facture'=>'accountancy', 'compta'=>'accountancy', 'accounting'=>'accountancy', 'adherent'=>'members', 'import'=>'tools', 'export'=>'tools', 'mailing'=>'tools',
  2420. 'contrat'=>'commercial', 'ficheinter'=>'commercial', 'ticket'=>'ticket', 'deplacement'=>'commercial',
  2421. 'fournisseur'=>'companies',
  2422. 'barcode'=>'', 'fckeditor'=>'', 'categorie'=>'',
  2423. );
  2424. $mainmenuused = 'home';
  2425. foreach ($conf->modules as $val) {
  2426. $mainmenuused .= ','.(isset($moduletomainmenu[$val]) ? $moduletomainmenu[$val] : $val);
  2427. }
  2428. $mainmenuusedarray = array_unique(explode(',', $mainmenuused));
  2429. $generic = 1;
  2430. // Put here list of menu entries when the div.mainmenu.menuentry was previously defined
  2431. $divalreadydefined = array('home', 'companies', 'products', 'mrp', 'commercial', 'externalsite', 'accountancy', 'project', 'tools', 'members', 'agenda', 'ftp', 'holiday', 'hrm', 'bookmark', 'cashdesk', 'takepos', 'ecm', 'geoipmaxmind', 'gravatar', 'clicktodial', 'paypal', 'stripe', 'webservices', 'website');
  2432. // Put here list of menu entries we are sure we don't want
  2433. $divnotrequired = array('multicurrency', 'salaries', 'ticket', 'margin', 'opensurvey', 'paybox', 'expensereport', 'incoterm', 'prelevement', 'propal', 'workflow', 'notification', 'supplier_proposal', 'cron', 'product', 'productbatch', 'expedition');
  2434. foreach ($mainmenuusedarray as $val) {
  2435. if (empty($val) || in_array($val, $divalreadydefined)) {
  2436. continue;
  2437. }
  2438. if (in_array($val, $divnotrequired)) {
  2439. continue;
  2440. }
  2441. //print "XXX".$val;
  2442. // Search img file in module dir
  2443. $found = 0; $url = '';
  2444. foreach ($conf->file->dol_document_root as $dirroot) {
  2445. if (file_exists($dirroot."/".$val."/img/".$val.".png")) {
  2446. $url = dol_buildpath('/'.$val.'/img/'.$val.'.png', 1);
  2447. $found = 1;
  2448. break;
  2449. }
  2450. }
  2451. // Img file not found
  2452. if (!$found) {
  2453. if (!defined('DISABLE_FONT_AWSOME')) {
  2454. print "/* A mainmenu entry was found but img file ".$val.".png not found (check /".$val."/img/".$val.".png), so we use a generic one */\n";
  2455. print 'div.mainmenu.'.$val.'::before {
  2456. content: "\f249";
  2457. }';
  2458. } else {
  2459. print "/* A mainmenu entry was found but img file ".$val.".png not found (check /".$val."/img/".$val.".png), so we use a generic one. */\n";
  2460. print "/* Overwrite this definition in your own css with a different content to use your own font awesome icon. */\n";
  2461. $url = dol_buildpath($path.'/theme/'.$theme.'/img/menus/generic'.(min($generic, 4))."_over.png", 1);
  2462. print "div.mainmenu.".$val." {\n";
  2463. print " background-image: url(".$url.");\n";
  2464. print "}\n";
  2465. }
  2466. $generic++;
  2467. } else {
  2468. print "div.mainmenu.".$val." {\n";
  2469. print " background-image: url(".$url.");\n";
  2470. print "}\n";
  2471. }
  2472. }
  2473. // End of part to add more div class css
  2474. } // End test if $dol_hide_topmenu ?>
  2475. .tmenuimage {
  2476. padding:0 0 0 0 !important;
  2477. margin:0 0px 0 0 !important;
  2478. <?php if ($disableimages) { ?>
  2479. display: none;
  2480. <?php } ?>
  2481. }
  2482. .topmenuimage {
  2483. <?php if ($disableimages) { ?>
  2484. display: none;
  2485. <?php } ?>
  2486. }
  2487. a.tmenuimage:hover {
  2488. text-decoration: none;
  2489. }
  2490. a.tmenuimage {
  2491. display: block;
  2492. }
  2493. a.tmenuimage:focus {
  2494. outline: none;
  2495. }
  2496. /* Login */
  2497. .bodylogin
  2498. {
  2499. background: #f0f0f0;
  2500. display: table;
  2501. position: absolute;
  2502. height: 100%;
  2503. width: 100%;
  2504. }
  2505. .login_center {
  2506. display: table-cell;
  2507. vertical-align: middle;
  2508. }
  2509. .login_vertical_align {
  2510. padding: 10px;
  2511. padding-bottom: 80px;
  2512. }
  2513. form#login {
  2514. padding-bottom: 30px;
  2515. font-size: 1.2em;
  2516. vertical-align: middle;
  2517. }
  2518. .login_table_title {
  2519. max-width: 530px;
  2520. color: #aaa !important;
  2521. padding-bottom: 20px;
  2522. /* text-shadow: 1px 1px 1px #FFF; */
  2523. }
  2524. .login_table label {
  2525. text-shadow: 1px 1px 1px #FFF;
  2526. }
  2527. .login_table {
  2528. margin: 0px auto; /* Center */
  2529. padding-left:6px;
  2530. padding-right:6px;
  2531. padding-top:16px;
  2532. padding-bottom:12px;
  2533. max-width: 560px;
  2534. background-color: #FFFFFF;
  2535. -webkit-box-shadow: 0 4px 23px 5px rgba(0, 0, 0, 0.2), 0 2px 6px rgba(60,60,60,0.15);
  2536. box-shadow: 0 4px 23px 5px rgba(0, 0, 0, 0.2), 0 2px 6px rgba(60,60,60,0.15);
  2537. border-radius: 4px;
  2538. border:solid 1px rgba(80,80,80,.4);
  2539. border-top:solid 1px #f8f8f8;
  2540. }
  2541. .login_table input#username, .login_table input#password, .login_table input#securitycode{
  2542. border: none;
  2543. /* border-bottom: solid 1px rgba(180,180,180,.4); */
  2544. padding: 5px;
  2545. margin-left: 5px;
  2546. margin-top: 5px;
  2547. margin-bottom: 5px;
  2548. }
  2549. .login_table input#username:focus, .login_table input#password:focus, .login_table input#securitycode:focus {
  2550. outline: none !important;
  2551. }
  2552. .login_table .trinputlogin {
  2553. margin: 8px;
  2554. }
  2555. .login_table .tdinputlogin {
  2556. background-color: #fff;
  2557. min-width: 220px;
  2558. border-radius: 2px;
  2559. }
  2560. .login_table .tdinputlogin {
  2561. border-bottom: 1px solid #ccc;
  2562. }
  2563. .login_table .tdinputlogin .fa {
  2564. padding-left: 10px;
  2565. width: 14px;
  2566. }
  2567. .login_main_home {
  2568. word-break: break-word;
  2569. }
  2570. .login_main_message {
  2571. text-align: center;
  2572. max-width: 570px;
  2573. margin-bottom: 10px;
  2574. }
  2575. .login_main_message .error {
  2576. border: 1px solid #caa;
  2577. padding: 10px;
  2578. }
  2579. div#login_left, div#login_right {
  2580. display: inline-block;
  2581. min-width: 245px;
  2582. padding-top: 10px;
  2583. padding-left: 16px;
  2584. padding-right: 16px;
  2585. text-align: center;
  2586. vertical-align: middle;
  2587. }
  2588. div#login_right select#entity {
  2589. margin-top: 10px;
  2590. }
  2591. table.login_table tr td table.none tr td {
  2592. padding: 2px;
  2593. }
  2594. table.login_table_securitycode {
  2595. border-spacing: 0px;
  2596. }
  2597. table.login_table_securitycode tr td {
  2598. padding-left: 0px;
  2599. padding-right: 4px;
  2600. }
  2601. #securitycode {
  2602. min-width: 60px;
  2603. }
  2604. #img_securitycode {
  2605. border: 1px solid #f4f4f4;
  2606. }
  2607. #img_logo, .img_logo {
  2608. max-width: 170px;
  2609. max-height: 90px;
  2610. }
  2611. .atoplogin.dropdown .dropdown-menu {
  2612. display: none;
  2613. }
  2614. div.login_block {
  2615. top: 0;
  2616. padding-top: 3px;
  2617. padding-bottom: 3px;
  2618. <?php print $left; ?>: 0;
  2619. <?php if (in_array($conf->browser->layout, array('phone', 'tablet')) && empty($conf->global->MAIN_OPTIMIZEFORTEXTBROWSER)) { ?>
  2620. position: absolute;
  2621. <?php } else { ?>
  2622. position: fixed;
  2623. <?php } ?>
  2624. z-index: 10;
  2625. text-align: center;
  2626. vertical-align: middle;
  2627. background: var(--colorbackvmenu1);
  2628. width: 228px;
  2629. height: 70px;
  2630. <?php if (GETPOST('optioncss', 'aZ09') == 'print') { ?>
  2631. display: none;
  2632. <?php } ?>
  2633. }
  2634. div.login_block table {
  2635. display: inline;
  2636. }
  2637. div.login {
  2638. white-space:nowrap;
  2639. font-weight: bold;
  2640. float: right;
  2641. }
  2642. div.login a {
  2643. color: #<?php echo $colortextbackvmenu; ?>;
  2644. }
  2645. div.login a:hover {
  2646. color: #<?php echo $colortextbackvmenu; ?>;
  2647. text-decoration:underline;
  2648. }
  2649. div.login_block_user, div.login_block_other { clear: both; }
  2650. div.login_block_other { padding-top: 15px; }
  2651. .topnav div.login_block_user {
  2652. display: inline-block;
  2653. vertical-align: middle;
  2654. line-height: <?php echo $disableimages ? '25' : '70'; ?>px;
  2655. height: <?php echo $disableimages ? '25' : '70'; ?>px;
  2656. }
  2657. .topnav div.login_block_other {
  2658. display: inline-block;
  2659. vertical-align: middle;
  2660. clear: <?php echo $disableimages ? 'none' : 'both'; ?>;
  2661. padding-top: 0;
  2662. text-align: right;
  2663. margin-right: 8px;
  2664. max-width: 200px;
  2665. }
  2666. .login_block_elem {
  2667. float: right;
  2668. vertical-align: top;
  2669. padding: 0px 0px 0px 2px !important;
  2670. height: 18px;
  2671. }
  2672. .login_block_elem_name {
  2673. margin-top: 1px;
  2674. }
  2675. a.aversion {
  2676. white-space: nowrap;
  2677. width: 48px;
  2678. overflow: hidden;
  2679. text-overflow: ellipsis;
  2680. display: block;
  2681. }
  2682. .atoplogin, .atoplogin:hover {
  2683. color: #<?php echo $colortextbackvmenu; ?> !important;
  2684. }
  2685. .alogin, .alogin:hover {
  2686. color: #888 !important;
  2687. font-weight: normal !important;
  2688. font-size: <?php echo $fontsizesmaller; ?>px !important;
  2689. }
  2690. .alogin:hover, .atoplogin:hover {
  2691. text-decoration:underline !important;
  2692. }
  2693. span.fa.atoplogin, span.fa.atoplogin:hover {
  2694. font-size: 16px;
  2695. text-decoration: none !important;
  2696. }
  2697. img.login, img.printer, img.entity {
  2698. /* padding: 0px 0px 0px 4px; */
  2699. /* margin: 0px 0px 0px 8px; */
  2700. text-decoration: none;
  2701. color: white;
  2702. font-weight: bold;
  2703. }
  2704. .userimg.atoplogin img.userphoto, .userimgatoplogin img.userphoto { /* size for user photo in login bar */
  2705. /* border-radius: 8px; */
  2706. width: 20px;
  2707. height: 20px;
  2708. background-size: contain;
  2709. vertical-align: text-bottom;
  2710. background-color: #FFF;
  2711. }
  2712. img.userphoto { /* size for user photo in lists */
  2713. border-radius: 0.75em;
  2714. width: 1.5em;
  2715. height: 1.5em;
  2716. background-size: contain;
  2717. vertical-align: middle;
  2718. }
  2719. img.userphotosmall { /* size for user photo in lists */
  2720. border-radius: 0.6em;
  2721. width: 1.2em;
  2722. height: 1.2em;
  2723. background-size: contain;
  2724. vertical-align: middle;
  2725. }
  2726. img.userphoto[alt="Gravatar avatar"] {
  2727. background: #fff;
  2728. }
  2729. form[name="addtime"] img.userphoto {
  2730. border: 1px solid #444;
  2731. }
  2732. .span-icon-user {
  2733. background-image: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/object_user.png', 1); ?>);
  2734. background-repeat: no-repeat;
  2735. }
  2736. .span-icon-password {
  2737. background-image: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/lock.png', 1); ?>);
  2738. background-repeat: no-repeat;
  2739. }
  2740. /* ============================================================================== */
  2741. /* Menu gauche */
  2742. /* ============================================================================== */
  2743. div.vmenu, td.vmenu {
  2744. margin-<?php print $right; ?>: 2px;
  2745. position: relative;
  2746. float: <?php print $left; ?>;
  2747. padding: 0px;
  2748. padding-bottom: 0px;
  2749. padding-top: 0px;
  2750. width: 222px;
  2751. }
  2752. .vmenu {
  2753. margin-<?php print $left; ?>: 4px;
  2754. <?php if (GETPOST('optioncss', 'aZ09') == 'print') { ?>
  2755. display: none;
  2756. <?php } ?>
  2757. }
  2758. .vmenusearchselectcombo {
  2759. width: 202px;
  2760. }
  2761. .menu_contenu {
  2762. padding-top: 4px;
  2763. padding-bottom: 3px;
  2764. overflow: hidden;
  2765. text-overflow: ellipsis;
  2766. }
  2767. #menu_contenu_logo { padding-right: 4px; }
  2768. .companylogo { padding-top: 4px; }
  2769. .searchform { padding-top: 10px; }
  2770. .searchform .bordertransp { border: 0; }
  2771. a.vmenu:link, a.vmenu:visited, a.vmenu:hover, a.vmenu:active, span.vmenu, span.vsmenu {
  2772. white-space: nowrap; font-size:<?php print $fontsize ?>px; font-family: <?php print $fontlist ?>; text-align: <?php print $left; ?>; font-weight: bold;
  2773. }
  2774. span.vmenudisabled, font.vmenudisabled { font-size:<?php print $fontsize ?>px; font-family: <?php print $fontlist ?>; text-align: <?php print $left; ?>; font-weight: bold; color: #aaa; margin-left: 4px; white-space: nowrap; }
  2775. a.vmenu:link, a.vmenu:visited {
  2776. color: var(--colortextbackvmenu);
  2777. }
  2778. a.vsmenu:link, a.vsmenu:visited, a.vsmenu:hover, a.vsmenu:active, span.vsmenu { font-size:<?php print $fontsize ?>px; font-family: <?php print $fontlist ?>; text-align: <?php print $left; ?>; font-weight: normal; color: #202020; margin: 1px 1px 1px 8px; }
  2779. span.vsmenudisabled:not(.spanlilevel0), font.vsmenudisabled:not(.spanlilevel0) {
  2780. font-size:<?php print $fontsize ?>px;
  2781. }
  2782. span.vsmenudisabled, font.vsmenudisabled {
  2783. font-family: <?php print $fontlist ?>;
  2784. text-align: <?php print $left; ?>;
  2785. font-weight: normal;
  2786. color: #aaa;
  2787. }
  2788. a.vsmenu:link, a.vsmenu:visited {
  2789. color: var(--colortextbackvmenu);
  2790. white-space: nowrap;
  2791. }
  2792. span.vsmenudisabledmargin, font.vsmenudisabledmargin { margin: 1px 1px 1px 8px; }
  2793. a.help:link, a.help:visited, a.help:hover, a.help:active, span.help {
  2794. text-align: <?php print $left; ?>; font-weight: normal; color: #999; text-decoration: none;
  2795. }
  2796. .helppresentcircle {
  2797. /*
  2798. color: var(--colorbackhmenu1);
  2799. filter: invert(0.5);
  2800. */
  2801. color: var(--colortextbackhmenu);
  2802. margin-left: -4px;
  2803. display: inline-block;
  2804. font-size: x-small;
  2805. vertical-align: super;
  2806. opacity: 0.95;
  2807. transform: rotate(<?php echo ($left == 'left' ? '55deg' : '305deg'); ?>);
  2808. }
  2809. div.blockvmenulogo
  2810. {
  2811. border-bottom: 0 !important;
  2812. }
  2813. .menulogocontainer {
  2814. margin: <?php echo $disableimages ? '-1' : '6'; ?>px;
  2815. margin-left: 12px;
  2816. margin-right: 6px;
  2817. padding: 0;
  2818. height: <?php echo $disableimages ? '18' : '32'; ?>px;
  2819. /* width: 100px; */
  2820. max-width: 100px;
  2821. vertical-align: middle;
  2822. }
  2823. .backgroundforcompanylogo {
  2824. background-color: rgba(255,255,255,0.7);
  2825. border-radius: 5px;
  2826. }
  2827. .menulogocontainer img.mycompany {
  2828. object-fit: contain;
  2829. width: inherit;
  2830. height: inherit;
  2831. }
  2832. #mainmenutd_companylogo::after {
  2833. content: unset;
  2834. }
  2835. li#mainmenutd_companylogo .tmenucenter {
  2836. width: unset;
  2837. }
  2838. li#mainmenutd_companylogo {
  2839. min-width: unset !important;
  2840. }
  2841. <?php if ($disableimages) { ?>
  2842. li#mainmenutd_home {
  2843. min-width: unset !important;
  2844. }
  2845. li#mainmenutd_home .tmenucenter {
  2846. width: unset;
  2847. }
  2848. <?php } ?>
  2849. div.blockvmenupair, div.blockvmenuimpair
  2850. {
  2851. font-family: <?php print $fontlist ?>;
  2852. color: #000000;
  2853. text-align: <?php print $left; ?>;
  2854. text-decoration: none;
  2855. padding-left: 5px;
  2856. padding-right: 1px;
  2857. padding-top: 3px;
  2858. padding-bottom: 3px;
  2859. margin: 1px 0px 8px 0px;
  2860. padding-bottom: 10px;
  2861. border-bottom: 1px solid #e0e0e0;
  2862. }
  2863. div.blockvmenubookmarks
  2864. {
  2865. padding-bottom: 16px !important;
  2866. }
  2867. div.blockvmenuend {
  2868. border: none !important;
  2869. padding-left: 0 !important;
  2870. }
  2871. a.vsmenu.addbookmarkpicto {
  2872. padding-right: 10px;
  2873. }
  2874. div.blockvmenufirst {
  2875. padding-top: 10px;
  2876. /* border-top: 1px solid #e0e0e0; */
  2877. }
  2878. div.blockvmenusearch, div.blockvmenubookmarks
  2879. {
  2880. font-family: <?php print $fontlist ?>;
  2881. color: #000000;
  2882. text-align: <?php print $left; ?>;
  2883. text-decoration: none;
  2884. padding-left: 5px;
  2885. padding-right: 1px;
  2886. padding-top: 3px;
  2887. padding-bottom: 3px;
  2888. margin: 1px 0px 2px 0px;
  2889. padding-bottom: 10px;
  2890. /* border-bottom: 1px solid #f4f4f4; */
  2891. }
  2892. div.blockvmenusearchphone
  2893. {
  2894. border-bottom: none;
  2895. margin-bottom: 0px;
  2896. }
  2897. div.blockvmenuhelp
  2898. {
  2899. <?php if (empty($conf->dol_optimize_smallscreen)) { ?>
  2900. font-family: <?php print $fontlist ?>;
  2901. color: #000000;
  2902. text-align: center;
  2903. text-decoration: none;
  2904. padding-left: 0px;
  2905. padding-right: 8px;
  2906. padding-top: 3px;
  2907. padding-bottom: 3px;
  2908. margin: 4px 0px 0px 0px;
  2909. <?php } else { ?>
  2910. display: none;
  2911. <?php } ?>
  2912. }
  2913. td.barre {
  2914. border-right: 1px solid #000000;
  2915. border-bottom: 1px solid #000000;
  2916. background: #b3c5cc;
  2917. font-family: <?php print $fontlist ?>;
  2918. color: #000000;
  2919. text-align: <?php print $left; ?>;
  2920. text-decoration: none;
  2921. }
  2922. td.barre_select {
  2923. background: #b3c5cc;
  2924. color: #000000;
  2925. }
  2926. td.photo {
  2927. background: #F4F4F4;
  2928. color: #000000;
  2929. border: 1px solid #bbb;
  2930. }
  2931. /* ============================================================================== */
  2932. /* Panes for Main */
  2933. /* ============================================================================== */
  2934. /*
  2935. * PANES and CONTENT-DIVs
  2936. */
  2937. #mainContent, #leftContent .ui-layout-pane {
  2938. padding: 0px;
  2939. overflow: auto;
  2940. }
  2941. #mainContent, #leftContent .ui-layout-center {
  2942. padding: 0px;
  2943. position: relative; /* contain floated or positioned elements */
  2944. overflow: auto; /* add scrolling to content-div */
  2945. }
  2946. /* ============================================================================== */
  2947. /* Toolbar for ECM or Filemanager */
  2948. /* ============================================================================== */
  2949. td.ecmroot {
  2950. padding-bottom: 0 !important;
  2951. }
  2952. .largebutton {
  2953. /* border-top: 1px solid #CCC !important; */
  2954. padding: 0px 4px 14px 4px !important;
  2955. min-height: 32px;
  2956. }
  2957. a.toolbarbutton {
  2958. margin-top: 0px;
  2959. margin-left: 4px;
  2960. margin-right: 4px;
  2961. height: 30px;
  2962. }
  2963. img.toolbarbutton {
  2964. margin-top: 1px;
  2965. height: 30px;
  2966. }
  2967. li.expanded > a.fmdirlia.jqft.ecmjqft {
  2968. font-weight: bold !important;
  2969. }
  2970. /* ============================================================================== */
  2971. /* Onglets */
  2972. /* ============================================================================== */
  2973. div.tabs {
  2974. text-align: <?php print $left; ?>;
  2975. margin-left: 6px !important;
  2976. margin-right: 6px !important;
  2977. clear:both;
  2978. height:100%;
  2979. }
  2980. div.tabsElem {
  2981. margin-top: 6px;
  2982. } /* To avoid overlap of tabs when not browser */
  2983. div.tabsElem a {
  2984. font-weight: normal !important;
  2985. }
  2986. div.tabBar {
  2987. color: #<?php echo $colortextbacktab; ?>;
  2988. padding-top: 23px;
  2989. padding-left: 24px;
  2990. padding-right: 24px;
  2991. padding-bottom: 23px;
  2992. margin: 0px 0px 18px 0px;
  2993. -webkit-border-radius: 3px;
  2994. border-radius: 3px;
  2995. border-right: 1px solid #CCC;
  2996. border-left: 1px solid #CCC;
  2997. border-top: 1px solid #CCC;
  2998. border-bottom: 1px solid #CCC;
  2999. width: auto;
  3000. background: var(--colorbacktabcard1);
  3001. }
  3002. div.tabBar tr.titre td {
  3003. padding-top: 10px;
  3004. }
  3005. /*
  3006. div.tabBar.tabBarNoTop {
  3007. padding-top: 0;
  3008. border-top: 0;
  3009. }
  3010. */
  3011. /* tabBar used for creation/update/send forms */
  3012. div.tabBarWithBottom {
  3013. padding-bottom: 18px;
  3014. border-bottom: 1px solid #aaa;
  3015. }
  3016. div.tabBar table.tableforservicepart2:last-child {
  3017. border-bottom: 1px solid #aaa;
  3018. }
  3019. .tableforservicepart1 .tdhrthin {
  3020. height: unset;
  3021. }
  3022. /* Payment Screen : Pointer cursor in the autofill image */
  3023. .AutoFillAmount {
  3024. cursor:pointer;
  3025. }
  3026. /* ============================================================================== */
  3027. /* Buttons for actions */
  3028. /* ============================================================================== */
  3029. div.divButAction {
  3030. margin-bottom: 1.4em;
  3031. }
  3032. div.tabsAction {
  3033. margin: 20px 0em 20px 0em;
  3034. padding: 0em 0em;
  3035. text-align: right;
  3036. }
  3037. div.tabsActionNoBottom {
  3038. margin-bottom: 0px;
  3039. }
  3040. div.tabsAction > a {
  3041. margin-bottom: 16px !important;
  3042. }
  3043. div.popuptabset {
  3044. padding: 6px;
  3045. background: #fff;
  3046. border: 1px solid #888;
  3047. }
  3048. div.popuptab {
  3049. padding-top: 5px;
  3050. padding-bottom: 5px;
  3051. padding-left: 5px;
  3052. padding-right: 5px;
  3053. }
  3054. a.tabTitle {
  3055. color:rgba(0,0,0,.5);
  3056. margin-<?php print $right; ?>: 10px;
  3057. text-shadow:1px 1px 1px #ffffff;
  3058. font-family: <?php print $fontlist ?>;
  3059. font-weight: normal;
  3060. padding: 4px 6px 2px 6px;
  3061. margin: 0px 6px;
  3062. text-decoration: none;
  3063. white-space: nowrap;
  3064. }
  3065. .tabTitleText {
  3066. display: none;
  3067. }
  3068. .imgTabTitle {
  3069. max-height: 14px;
  3070. }
  3071. div.tabs div.tabsElem:first-of-type a.tab {
  3072. margin-left: 0px !important;
  3073. }
  3074. a.tab:link, a.tab:visited, a.tab:hover, a.tab#active {
  3075. font-family: <?php print $fontlist ?>;
  3076. padding: 12px 13px 12px;
  3077. margin: 0em 0.2em;
  3078. text-decoration: none;
  3079. white-space: nowrap;
  3080. background-image: none !important;
  3081. }
  3082. .tabactive, a.tab#active {
  3083. color: var(--colortextbacktab) !important;
  3084. background: var(--colorbacktabcard1) !important;
  3085. border-right: 1px solid #AAA !important;
  3086. border-left: 1px solid #AAA !important;
  3087. border-top: 2px solid #111 !important;
  3088. }
  3089. .tabunactive, a.tab#unactive {
  3090. border-right: 1px solid transparent;
  3091. border-left: 1px solid transparent;
  3092. border-top: 1px solid transparent;
  3093. border-bottom: 0px !important;*/
  3094. }
  3095. a.tab:hover
  3096. {
  3097. /*
  3098. background: var(--colorbacktabcard1) url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/nav-overlay3.png', 1); ?>) 50% 0 repeat-x;
  3099. color: var(--colortextbacktab);
  3100. */
  3101. text-decoration: underline;
  3102. }
  3103. a.tabimage {
  3104. color: #434956;
  3105. font-family: <?php print $fontlist ?>;
  3106. text-decoration: none;
  3107. white-space: nowrap;
  3108. }
  3109. td.tab {
  3110. background: #dee7ec;
  3111. }
  3112. span.tabspan {
  3113. background: #dee7ec;
  3114. color: #434956;
  3115. font-family: <?php print $fontlist ?>;
  3116. padding: 0px 6px;
  3117. margin: 0em 0.2em;
  3118. text-decoration: none;
  3119. white-space: nowrap;
  3120. -webkit-border-radius:3px 3px 0px 0px;
  3121. border-radius:3px 3px 0px 0px;
  3122. border-<?php print $right; ?>: 1px solid #555555;
  3123. border-<?php print $left; ?>: 1px solid #D8D8D8;
  3124. border-top: 1px solid #D8D8D8;
  3125. }
  3126. /* ============================================================================== */
  3127. /* Buttons for actions */
  3128. /* ============================================================================== */
  3129. <?php include dol_buildpath($path.'/theme/'.$theme.'/btn.inc.php', 0); ?>
  3130. /* ============================================================================== */
  3131. /* Tables */
  3132. /* ============================================================================== */
  3133. .allwidth {
  3134. width: 100%;
  3135. }
  3136. #undertopmenu {
  3137. background-repeat: repeat-x;
  3138. margin-top: <?php echo ($dol_hide_topmenu ? '6' : '0'); ?>px;
  3139. }
  3140. .paddingrightonly {
  3141. border-collapse: collapse;
  3142. border: 0px;
  3143. margin-left: 0px;
  3144. padding-<?php print $left; ?>: 0px !important;
  3145. padding-<?php print $right; ?>: 4px !important;
  3146. }
  3147. .nocellnopadd {
  3148. list-style-type:none;
  3149. margin: 0px !important;
  3150. padding: 0px !important;
  3151. }
  3152. .noborderspacing {
  3153. border-spacing: 0;
  3154. }
  3155. tr.nocellnopadd td.nobordernopadding, tr.nocellnopadd td.nocellnopadd
  3156. {
  3157. border: 0px;
  3158. }
  3159. .unsetcolor {
  3160. color: unset !important;
  3161. }
  3162. .smallpaddingimp {
  3163. padding: 4px !important;
  3164. }
  3165. input.buttonreset {
  3166. margin-top: 3px;
  3167. margin-bottom: 3px;
  3168. padding: 8px 15px;
  3169. text-decoration: underline;
  3170. color: var(--colortextlink);
  3171. background-color: transparent;
  3172. cursor: pointer;
  3173. }
  3174. .notopnoleft {
  3175. border-collapse: collapse;
  3176. border: 0px;
  3177. padding-top: 0px;
  3178. padding-<?php print $left; ?>: 0px;
  3179. padding-<?php print $right; ?>: 16px;
  3180. padding-bottom: 4px;
  3181. margin-right: 0px 0px;
  3182. }
  3183. .notopnoleftnoright {
  3184. border-collapse: collapse;
  3185. border: 0px;
  3186. padding-top: 0px;
  3187. padding-left: 0px;
  3188. padding-right: 0px;
  3189. padding-bottom: 4px;
  3190. margin: 0px 0px 0px 0px;
  3191. }
  3192. table.tableforemailform tr td {
  3193. padding-top: 3px;
  3194. padding-bottom: 3px;
  3195. }
  3196. table.border, table.bordernooddeven, table.dataTable, .table-border, .table-border-col, .table-key-border-col, .table-val-border-col, div.border {
  3197. border: 1px solid #f4f4f4;
  3198. border-collapse: collapse !important;
  3199. padding: 1px 2px 1px 3px; /* t r b l */
  3200. }
  3201. table.borderplus {
  3202. border: 1px solid #BBB;
  3203. }
  3204. .border tbody tr, .bordernooddeven tbody tr, .border tbody tr td, .bordernooddeven tbody tr td, div.tabBar table.border tr, div.tabBar table.border tr td, div.tabBar div.border .table-border-row, div.tabBar div.border .table-key-border-col, div.tabBar div.border .table-val-border-col {
  3205. height: 26px;
  3206. }
  3207. tr.liste_titre.box_titre td table td, .bordernooddeven tr td {
  3208. height: 26px;
  3209. }
  3210. table.border td, table.bordernooddeven td, div.border div div.tagtd {
  3211. padding: 4px 4px 4px 4px;
  3212. border: 1px solid #f0f0f0;
  3213. border-collapse: collapse;
  3214. }
  3215. td.border, div.tagtable div div.border {
  3216. border-top: 1px solid #000000;
  3217. border-right: 1px solid #000000;
  3218. border-bottom: 1px solid #000000;
  3219. border-left: 1px solid #000000;
  3220. }
  3221. .table-key-border-col {
  3222. /* width: 25%; */
  3223. vertical-align:top;
  3224. }
  3225. .table-val-border-col {
  3226. width:auto;
  3227. }
  3228. <?php if (!empty($conf->global->THEME_ENABLE_STICKY_COLUMN_REF)) { ?>
  3229. /* To have left column sticky */
  3230. .tagtable td[data-key="ref"], .tagtable th[data-key="ref"] {
  3231. position: sticky;
  3232. left: 0;
  3233. top: 0;
  3234. max-width: 150px !important;
  3235. //background-color: inherit;
  3236. background-color: gainsboro;
  3237. z-index: 2;
  3238. }
  3239. <?php } ?>
  3240. <?php if (!empty($conf->global->THEME_ENABLE_STICKY_COLUMN_ACTION)) { ?>
  3241. /* To have right column sticky */
  3242. .tagtable td.actioncolumn, .tagtable th.actioncolumn {
  3243. position: sticky;
  3244. right: 0;
  3245. top: 0;
  3246. max-width: 150px !important;
  3247. //background-color: inherit;
  3248. background-color: gainsboro;
  3249. z-index: 2;
  3250. }
  3251. <?php } ?>
  3252. /* Main boxes */
  3253. .nobordertop, .nobordertop tr:first-of-type td {
  3254. border-top: none !important;
  3255. }
  3256. .noborderbottom, .noborderbottom tr:last-of-type td {
  3257. border-bottom: none !important;
  3258. }
  3259. .bordertop {
  3260. border-top: 1px solid var(--colortopbordertitle1);
  3261. }
  3262. .borderbottom {
  3263. border-bottom: 1px solid var(--colortopbordertitle1);
  3264. }
  3265. .fichehalfright table.noborder {
  3266. margin: 0px 0px 0px 0px;
  3267. }
  3268. div.colorback
  3269. {
  3270. background: var(--colorbacktitle1);
  3271. padding: 10px;
  3272. margin-top: 5px;
  3273. }
  3274. .liste_titre_bydiv {
  3275. border-right: 1px solid #ccc;
  3276. border-left: 1px solid #ccc;
  3277. }
  3278. table.liste, table.noborder, table.formdoc, div.noborder {
  3279. width: calc(100% - 2px); /* -2 to fix a bug. Without, a scroll appears due to overflow-x: auto; of div-table-responsive */
  3280. border-collapse: separate !important;
  3281. border-spacing: 0px;
  3282. border-top-width: <?php echo $borderwidth ?>px;
  3283. border-top-color: var(--colortopbordertitle1);
  3284. border-top-style: solid;
  3285. border-bottom-width: 1px;
  3286. border-bottom-color: #BBB;
  3287. border-bottom-style: solid;
  3288. border-right: 1px solid #ccc;
  3289. border-left: 1px solid #ccc;
  3290. margin: 0px 0px 20px 0px;
  3291. -webkit-border-radius: 0.1em;
  3292. border-radius: 0.1em;
  3293. }
  3294. table.noborder tr, div.noborder form {
  3295. border-top-color: #FEFEFE;
  3296. border-right-width: 1px;
  3297. border-right-color: #BBBBBB;
  3298. border-right-style: solid;
  3299. border-left-width: 1px;
  3300. border-left-color: #BBBBBB;
  3301. border-left-style: solid;
  3302. min-height: 26px;
  3303. }
  3304. table.paddingtopbottomonly tr td {
  3305. padding-top: 1px;
  3306. padding-bottom: 2px;
  3307. }
  3308. .liste_titre_filter {
  3309. background: var(--colorbacktitle1) !important;
  3310. }
  3311. tr.liste_titre_filter td.liste_titre {
  3312. padding-top: 4px;
  3313. padding-bottom: 3px;
  3314. }
  3315. .liste_titre_create td, .liste_titre_create th, .liste_titre_create .tagtd
  3316. {
  3317. border-top-width: 1px;
  3318. border-top-color: var(--colortopbordertitle1);
  3319. border-top-style: solid;
  3320. }
  3321. .liste_titre_add td, .liste_titre_add th, .liste_titre_add .tagtd
  3322. {
  3323. border-top-width: 2px;
  3324. border-top-color: var(--colortopbordertitle1);
  3325. border-top-style: solid;
  3326. }
  3327. .liste_titre_add td, .liste_titre_add .tagtd
  3328. {
  3329. border-top-width: 1px;
  3330. border-top-color: var(--colortopbordertitle1);
  3331. border-top-style: solid;
  3332. }
  3333. table.liste th, table.noborder th, table.noborder tr.liste_titre td {
  3334. padding: 8px 6px 8px 6px; /* t r b l */
  3335. }
  3336. table.liste td, table.noborder td, div.noborder form div, table.tableforservicepart1 td, table.tableforservicepart2 td {
  3337. padding: 4px 6px 4px 6px; /* t r b l */
  3338. height: 22px;
  3339. }
  3340. form.tagtable {
  3341. padding: unset !important;
  3342. border: unset !important;
  3343. }
  3344. table.liste td, table.noborder td, div.noborder form div {
  3345. padding: 8px 6px 8px 6px; /* t r b l */
  3346. }
  3347. div.liste_titre_bydiv .divsearchfield {
  3348. padding: 2px 1px 2px 6px; /* t r b l */
  3349. }
  3350. table.nobordernopadding {
  3351. border-collapse: collapse !important;
  3352. border: 0;
  3353. }
  3354. table.nobordernopadding tr {
  3355. border: 0 !important;
  3356. padding: 0 0 !important;
  3357. }
  3358. table.nobordernopadding tr td {
  3359. border: 0 !important;
  3360. padding: 0 3px 0 0;
  3361. }
  3362. table.border tr td table.nobordernopadding tr td {
  3363. padding-top: 0;
  3364. padding-bottom: 0;
  3365. }
  3366. td.borderright {
  3367. border: none; /* to erase value for table.nobordernopadding td */
  3368. border-right-width: 1px !important;
  3369. border-right-color: #BBB !important;
  3370. border-right-style: solid !important;
  3371. }
  3372. td.borderleft {
  3373. border: none; /* to erase value for table.nobordernopadding td */
  3374. border-left-width: 1px !important;
  3375. border-left-color: #BBB !important;
  3376. border-left-style: solid !important;
  3377. }
  3378. /* For table with no filter before */
  3379. table.listwithfilterbefore {
  3380. border-top: none !important;
  3381. }
  3382. .tagtable, .table-border { display: table; }
  3383. .tagtr, .table-border-row { display: table-row; }
  3384. .tagtd, .table-border-col, .table-key-border-col, .table-val-border-col { display: table-cell; }
  3385. .confirmquestions .tagtr .tagtd:not(:first-child) { padding-left: 10px; }
  3386. /* Pagination */
  3387. div.refidpadding {
  3388. padding-top: 3px;
  3389. }
  3390. div.refid {
  3391. font-weight: bold;
  3392. color: rgb(--colortexttitlenotab);
  3393. font-size: 160%;
  3394. }
  3395. a.refid {
  3396. color: var(--colortexttitlenotab) !important;
  3397. }
  3398. div.refidno {
  3399. padding-top: 8px;
  3400. font-weight: normal;
  3401. color: #444;
  3402. font-size: <?php print $fontsize ?>px;
  3403. line-height: 21px;
  3404. }
  3405. div.refidno form {
  3406. display: inline-block;
  3407. }
  3408. div.pagination {
  3409. float: right;
  3410. }
  3411. div.pagination a {
  3412. font-weight: normal;
  3413. }
  3414. div.pagination ul
  3415. {
  3416. list-style: none;
  3417. display: inline-block;
  3418. padding-left: 0px;
  3419. padding-right: 0px;
  3420. margin: 0;
  3421. }
  3422. div.pagination li {
  3423. display: inline-block;
  3424. padding-left: 0px;
  3425. padding-right: 0px;
  3426. padding-top: 6px;
  3427. padding-bottom: 5px;
  3428. }
  3429. .pagination {
  3430. display: inline-block;
  3431. padding-left: 0;
  3432. border-radius: 4px;
  3433. }
  3434. div.pagination li.pagination a,
  3435. div.pagination li.pagination span {
  3436. padding: 6px 12px;
  3437. padding-top: 8px;
  3438. line-height: 1.42857143;
  3439. color: #000;
  3440. text-decoration: none;
  3441. }
  3442. div.pagination li.pagination span.inactive {
  3443. cursor: default;
  3444. color: #ccc;
  3445. }
  3446. div.pagination li.litext a {
  3447. border: none;
  3448. padding-right: 10px;
  3449. padding-left: 4px;
  3450. font-weight: bold;
  3451. }
  3452. div.pagination li.noborder a:hover {
  3453. border: none;
  3454. background-color: transparent;
  3455. }
  3456. div.pagination li:first-child a,
  3457. div.pagination li:first-child span {
  3458. margin-left: 0;
  3459. border-top-left-radius: 4px;
  3460. border-bottom-left-radius: 4px;
  3461. }
  3462. div.pagination li:last-child a,
  3463. div.pagination li:last-child span {
  3464. border-top-right-radius: 4px;
  3465. border-bottom-right-radius: 4px;
  3466. }
  3467. div.pagination li a:hover,
  3468. div.pagination li span:hover,
  3469. div.pagination li a:focus,
  3470. div.pagination li span:focus {
  3471. color: #000;
  3472. background-color: #eee;
  3473. border-color: #ddd;
  3474. /* padding-top: 8px; */
  3475. }
  3476. div.pagination li .active a,
  3477. div.pagination li .active span,
  3478. div.pagination li .active a:hover,
  3479. div.pagination li .active span:hover,
  3480. div.pagination li .active a:focus,
  3481. div.pagination li .active span:focus {
  3482. z-index: 2;
  3483. color: #fff;
  3484. cursor: default;
  3485. background-color: var(--colorbackhmenu1);
  3486. border-color: #337ab7;
  3487. }
  3488. div.pagination .disabled span,
  3489. div.pagination .disabled span:hover,
  3490. div.pagination .disabled span:focus,
  3491. div.pagination .disabled a,
  3492. div.pagination .disabled a:hover,
  3493. div.pagination .disabled a:focus {
  3494. color: #777;
  3495. cursor: not-allowed;
  3496. background-color: #fff;
  3497. border-color: #ddd;
  3498. }
  3499. div.pagination li.pagination .active {
  3500. text-decoration: underline;
  3501. box-shadow: none;
  3502. }
  3503. .paginationafterarrows .nohover {
  3504. box-shadow: none !important;
  3505. }
  3506. div.pagination li.paginationafterarrows {
  3507. margin-left: 10px;
  3508. }
  3509. .paginationatbottom {
  3510. margin-top: 9px;
  3511. }
  3512. table.hidepaginationprevious .paginationprevious {
  3513. display: none;
  3514. }
  3515. table.hidepaginationnext .paginationnext {
  3516. display: none;
  3517. }
  3518. .paginationafterarrows a.btnTitlePlus {
  3519. border: 1px solid var(--btncolorborder);
  3520. }
  3521. .paginationafterarrows a.btnTitlePlus:hover span:before {
  3522. /* text-shadow: 0px 0px 5px #ccc; */
  3523. /* filter: invert(0.3); */
  3524. font-size: 1.03em;
  3525. }
  3526. /* Prepare to remove class pair - impair
  3527. .noborder > tbody > tr:nth-child(even) td {
  3528. background: linear-gradient(to bottom, var(--colorbacklineimpair1) 85%, var(--colorbacklineimpair2) 100%);
  3529. background: -o-linear-gradient(bottom, var(--colorbacklineimpair1) 85%, var(--colorbacklineimpair2) 100%);
  3530. background: -moz-linear-gradient(bottom, var(--colorbacklineimpair1) 85%, var(--colorbacklineimpair2) 100%);
  3531. background: -webkit-linear-gradient(bottom, var(--colorbacklineimpair1) 85%, var(--colorbacklineimpair2) 100%);
  3532. font-family: <?php print $fontlist ?>;
  3533. border: 0px;
  3534. margin-bottom: 1px;
  3535. color: #202020;
  3536. min-height: 18px;
  3537. }
  3538. .noborder > tbody > tr:nth-child(odd) td {
  3539. background: linear-gradient(to bottom, var(--colorbacklinepair1) 85%, var(--colorbacklinepair2) 100%);
  3540. background: -o-linear-gradient(bottom, var(--colorbacklinepair1) 85%, var(--colorbacklinepair2) 100%);
  3541. background: -moz-linear-gradient(bottom, var(--colorbacklinepair1) 85%, var(--colorbacklinepair2) 100%);
  3542. background: -webkit-linear-gradient(bottom, var(--colorbacklinepair1) 85%, var(--colorbacklinepair2) 100%);
  3543. font-family: <?php print $fontlist ?>;
  3544. border: 0px;
  3545. margin-bottom: 1px;
  3546. color: #202020;
  3547. }
  3548. */
  3549. ul.noborder li:nth-child(odd):not(.liste_titre) {
  3550. background-color: var(--colorbacklinepair2) !important;
  3551. }
  3552. /* Set the color for hover lines */
  3553. .tmenucompanylogo.nohover, .tmenucompanylogo.nohover:hover {
  3554. opacity: unset !important;
  3555. }
  3556. .nohoverborder:hover {
  3557. border: unset;
  3558. box-shadow: unset;
  3559. -webkit-box-shadow: unset;
  3560. }
  3561. .oddeven:hover, .evenodd:hover, .impair:hover, .pair:hover
  3562. {
  3563. background: rgb(<?php echo $colorbacklinepairhover; ?>) !important;
  3564. }
  3565. .tredited {
  3566. background: rgb(<?php echo $colorbacklinepairchecked; ?>) !important; /* Must be background to be stronger than background of odd or even */
  3567. }
  3568. <?php if ($colorbacklinepairchecked) { ?>
  3569. .highlight {
  3570. background: rgb(<?php echo $colorbacklinepairchecked; ?>) !important; /* Must be background to be stronger than background of odd or even */
  3571. }
  3572. <?php } ?>
  3573. .nohover:hover {
  3574. background: unset !important;
  3575. }
  3576. .nohoverborder:hover {
  3577. border: unset;
  3578. box-shadow: unset;
  3579. -webkit-box-shadow: unset;
  3580. }
  3581. .oddeven, .evenodd, .impair, .nohover .impair:hover, tr.impair td.nohover, .tagtr.oddeven
  3582. {
  3583. font-family: <?php print $fontlist ?>;
  3584. border: 0px;
  3585. margin-bottom: 1px;
  3586. color: #202020;
  3587. }
  3588. .impair, .nohover .impair:hover, tr.impair td.nohover
  3589. {
  3590. background: var(--colorbacklineimpair1);
  3591. }
  3592. #GanttChartDIV {
  3593. background-color: var(--colorbacklineimpair1);
  3594. }
  3595. .oddeven, .evenodd, .pair, .nohover .pair:hover, tr.pair td.nohover, .tagtr.oddeven {
  3596. font-family: <?php print $fontlist ?>;
  3597. margin-bottom: 1px;
  3598. color: #202020;
  3599. }
  3600. .pair, .nohover .pair:hover, tr.pair td.nohover {
  3601. background-color: var(--colorbacklinepair1);
  3602. }
  3603. table.dataTable tr.oddeven {
  3604. background-color: var(--colorbacklinepair1) !important;
  3605. }
  3606. /* For no hover style */
  3607. td.oddeven, table.nohover tr.impair, table.nohover tr.pair, table.nohover tr.impair td, table.nohover tr.pair td, tr.nohover td, form.nohover, form.nohover:hover {
  3608. background-color: var(--colorbacklineimpair1) !important; !important;
  3609. background: var(--colorbacklineimpair1) !important; !important;
  3610. }
  3611. td.evenodd, tr.nohoverpair td, #trlinefordates td {
  3612. background-color: var(--colorbacklinepair1) !important; !important;
  3613. background: var(--colorbacklinepair1) !important; !important;
  3614. }
  3615. .trforbreak td {
  3616. font-weight: bold;
  3617. border-bottom: 1pt solid black !important;
  3618. background-color: var(--colorbacklinebreak) !important;
  3619. }
  3620. table.dataTable td {
  3621. padding: 5px 2px 5px 3px !important;
  3622. }
  3623. tr.pair td, tr.impair td, form.impair div.tagtd, form.pair div.tagtd, div.impair div.tagtd, div.pair div.tagtd, div.liste_titre div.tagtd {
  3624. padding: 5px 2px 5px 3px;
  3625. border-bottom: 1px solid #eee;
  3626. }
  3627. form.pair, form.impair {
  3628. font-weight: normal;
  3629. }
  3630. tr.pair:last-of-type td, tr.impair:last-of-type td {
  3631. border-bottom: 0px !important;
  3632. }
  3633. tr.pair td .nobordernopadding tr td, tr.impair td .nobordernopadding tr td {
  3634. border-bottom: 0px !important;
  3635. }
  3636. /*
  3637. table.nobottomiftotal tr.liste_total td {
  3638. background-color: #fff;
  3639. border-bottom: 0px !important;
  3640. }
  3641. */
  3642. div.liste_titre .tagtd {
  3643. vertical-align: middle;
  3644. }
  3645. div.liste_titre {
  3646. min-height: 26px !important; /* We cant use height because it's a div and it should be higher if content is more. but min-height doe not work either for div */
  3647. padding-top: 2px;
  3648. padding-bottom: 2px;
  3649. /*border-right-width: 1px;
  3650. border-right-color: #BBB;
  3651. border-right-style: solid;
  3652. border-left-width: 1px;
  3653. border-left-color: #BBB;
  3654. border-left-style: solid;*/
  3655. border-top-width: 1px;
  3656. border-top-color: #BBB;
  3657. border-top-style: solid;
  3658. }
  3659. div.liste_titre_bydiv {
  3660. border-top-width: <?php echo $borderwidth ?>px;
  3661. border-top-color: var(--colortopbordertitle1);
  3662. border-top-style: solid;
  3663. border-collapse: collapse;
  3664. display: table;
  3665. padding: 2px 0px 2px 0;
  3666. box-shadow: none;
  3667. width: calc(100% - 2px); /* -3px because the width for table class="tagtable" under this is cal(100% - 2px) so it is aligned. */
  3668. }
  3669. tr.liste_titre, tr.liste_titre_sel, form.liste_titre, form.liste_titre_sel, table.dataTable.tr, tagtr.liste_titre
  3670. {
  3671. height: 26px !important;
  3672. }
  3673. div.liste_titre_bydiv, .liste_titre div.tagtr, tr.liste_titre, tr.liste_titre_sel, .tagtr.liste_titre, .tagtr.liste_titre_sel, form.liste_titre, form.liste_titre_sel, table.dataTable thead tr
  3674. {
  3675. background: var(--colorbacktitle1);
  3676. font-weight: <?php echo $useboldtitle ? 'bold' : 'normal'; ?>;
  3677. /* border-bottom: 1px solid #FDFFFF; */
  3678. color: var(--colortexttitle);
  3679. font-family: <?php print $fontlist ?>;
  3680. text-align: <?php echo $left; ?>;
  3681. }
  3682. tr.liste_titre th, tr.liste_titre td, th.liste_titre
  3683. {
  3684. border-bottom: 1px solid #aaa;
  3685. }
  3686. /* TODO Once title line is moved under title search, make border bottom of all th black and force to whit when it's first tr */
  3687. tr:first-child th.liste_titre, tr:first-child th.liste_titre_sel {
  3688. border-bottom: 1px solid #FFF ! important;
  3689. }
  3690. tr.liste_titre th, th.liste_titre, tr.liste_titre td, td.liste_titre, form.liste_titre div, div.liste_titre
  3691. {
  3692. font-family: <?php print $fontlist ?>;
  3693. font-weight: <?php echo $useboldtitle ? 'bold' : 'normal'; ?>;
  3694. vertical-align: middle;
  3695. height: 24px;
  3696. }
  3697. tr.liste_titre th a, th.liste_titre a, tr.liste_titre td a, td.liste_titre a, form.liste_titre div a, div.liste_titre a {
  3698. text-shadow: none !important;
  3699. color: var(--colortexttitlelink);
  3700. }
  3701. tr.liste_titre_topborder td {
  3702. border-top-width: <?php echo $borderwidth; ?>px;
  3703. border-top-color: var(--colortopbordertitle1);
  3704. border-top-style: solid;
  3705. }
  3706. .liste_titre td a {
  3707. text-shadow: none !important;
  3708. color: var(--colortexttitle);
  3709. }
  3710. .liste_titre td a.notasortlink {
  3711. color: var(--colortextlink);
  3712. }
  3713. .liste_titre td a.notasortlink:hover {
  3714. background: transparent;
  3715. }
  3716. tr.liste_titre:last-child th.liste_titre, tr.liste_titre:last-child th.liste_titre_sel, tr.liste_titre td.liste_titre, tr.liste_titre td.liste_titre_sel, form.liste_titre div.tagtd { /* For last line of table headers only */
  3717. border-bottom: 1px solid var(--colortopbordertitle1);
  3718. }
  3719. div.liste_titre {
  3720. padding-left: 3px;
  3721. }
  3722. tr.liste_titre_sel th, th.liste_titre_sel, tr.liste_titre_sel td, td.liste_titre_sel, form.liste_titre_sel div
  3723. {
  3724. font-family: <?php print $fontlist ?>;
  3725. font-weight: normal;
  3726. border-bottom: 1px solid #FDFFFF;
  3727. /* text-decoration: underline; */
  3728. }
  3729. input.liste_titre {
  3730. background: transparent;
  3731. border: 0px;
  3732. }
  3733. .noborder tr.liste_total td, tr.liste_total td, form.liste_total div, .noborder tr.liste_total_wrap td, tr.liste_total_wrap td, form.liste_total_wrap div {
  3734. color: #332266;
  3735. /* padding: 4px; */
  3736. }
  3737. .noborder tr.liste_total td, tr.liste_total td, form.liste_total div {
  3738. white-space: nowrap;
  3739. line-height: 1.5em;
  3740. }
  3741. }
  3742. .noborder tr.liste_total_wrap td, tr.liste_total_wrap td, form.liste_total_wrap div {
  3743. white-space: normal;
  3744. }
  3745. tr.liste_sub_total, tr.liste_sub_total td {
  3746. border-bottom: 2px solid #aaa;
  3747. }
  3748. .tableforservicepart1 .impair, .tableforservicepart1 .pair, .tableforservicepart2 .impair, .tableforservicepart2 .pair {
  3749. background: #FFF;
  3750. }
  3751. .tableforservicepart1 tbody tr td, .tableforservicepart2 tbody tr td {
  3752. border-bottom: none;
  3753. }
  3754. .paymenttable, .margintable {
  3755. margin: 0px 0px 0px 0px !important;
  3756. }
  3757. .paymenttable, .margintable:not(.margintablenotop) {
  3758. border-top-width: <?php echo $borderwidth ?>px !important;
  3759. border-top-color: var(--colortopbordertitle1) !important;
  3760. border-top-style: solid !important;
  3761. }
  3762. .margintable.margintablenotop {
  3763. border-top-width: 0;
  3764. }
  3765. .paymenttable tr td:first-child, .margintable tr td:first-child
  3766. {
  3767. //padding-left: 2px;
  3768. }
  3769. .paymenttable, .margintable tr td {
  3770. height: 22px;
  3771. }
  3772. /* Disable shadows */
  3773. .noshadow {
  3774. -webkit-box-shadow: 0px 0px 0px #f4f4f4 !important;
  3775. box-shadow: 0px 0px 0px #f4f4f4 !important;
  3776. }
  3777. .shadow {
  3778. -webkit-box-shadow: 2px 2px 5px #CCC !important;
  3779. box-shadow: 2px 2px 5px #CCC !important;
  3780. }
  3781. .boxshadow {
  3782. -webkit-box-shadow: 0px 0px 5px #888;
  3783. box-shadow: 0px 0px 5px #888;
  3784. }
  3785. div.tabBar .noborder {
  3786. -webkit-box-shadow: 0px 0px 0px #f4f4f4 !important;
  3787. box-shadow: 0px 0px 0px #f4f4f4 !important;
  3788. }
  3789. div .tdtop {
  3790. vertical-align: top !important;
  3791. padding-top: 5px !important;
  3792. padding-bottom: 0px !important;
  3793. }
  3794. #tablelines tr.liste_titre td, .paymenttable tr.liste_titre td, .margintable tr.liste_titre td, .tableforservicepart1 tr.liste_titre td {
  3795. border-bottom: 1px solid #AAA !important;
  3796. }
  3797. #tablelines tr td {
  3798. height: unset;
  3799. }
  3800. /* Prepare to remove class pair - impair */
  3801. .noborder > tbody > tr:nth-child(even):not(.liste_titre), .liste > tbody > tr:nth-child(even):not(.liste_titre),
  3802. div:not(.fichecenter):not(.fichehalfleft):not(.fichehalfright) > .border > tbody > tr:nth-of-type(even):not(.liste_titre), .liste > tbody > tr:nth-of-type(even):not(.liste_titre),
  3803. div:not(.fichecenter):not(.fichehalfleft):not(.fichehalfright) .oddeven.tagtr:nth-of-type(even):not(.liste_titre)
  3804. {
  3805. background: linear-gradient(to bottom, var(--colorbacklineimpair1) 0%, var(--colorbacklineimpair2) 100%);
  3806. background: -o-linear-gradient(bottom, var(--colorbacklineimpair1) 0%, var(--colorbacklineimpair2) 100%);
  3807. background: -moz-linear-gradient(bottom, var(--colorbacklineimpair1) 0%, var(--colorbacklineimpair2) 100%);
  3808. background: -webkit-linear-gradient(bottom, var(--colorbacklineimpair1) 0%, var(--colorbacklineimpair2) 100%);
  3809. }
  3810. .noborder > tbody > tr:nth-child(even):not(:last-child) td:not(.liste_titre), .liste > tbody > tr:nth-child(even):not(:last-child) td:not(.liste_titre),
  3811. .noborder .tagtr:nth-child(even):not(:last-child) .oddeven.tagtd:not(.liste_titre)
  3812. {
  3813. border-bottom: 1px solid #ddd;
  3814. }
  3815. .noborder > tbody > tr:nth-child(odd):not(.liste_titre), .liste > tbody > tr:nth-child(odd):not(.liste_titre),
  3816. div:not(.fichecenter):not(.fichehalfleft):not(.fichehalfright) > .border > tbody > tr:nth-of-type(odd):not(.liste_titre), .liste > tbody > tr:nth-of-type(odd):not(.liste_titre),
  3817. div:not(.fichecenter):not(.fichehalfleft):not(.fichehalfright) .oddeven.tagtr:nth-of-type(odd):not(.liste_titre)
  3818. {
  3819. background: linear-gradient(to bottom, var(--colorbacklinepair1) 0%, var(--colorbacklinepair2) 100%);
  3820. background: -o-linear-gradient(bottom, var(--colorbacklinepair1) 0%, var(--colorbacklinepair2) 100%);
  3821. background: -moz-linear-gradient(bottom, var(--colorbacklinepair1) 0%, var(--colorbacklinepair2) 100%);
  3822. background: -webkit-linear-gradient(bottom, var(--colorbacklinepair1) 0%, var(--colorbacklinepair2) 100%);
  3823. }
  3824. .noborder > tbody > tr:nth-child(odd):not(:last-child) td:not(.liste_titre), .liste > tbody > tr:nth-child(odd):not(:last-child) td:not(.liste_titre),
  3825. .noborder .tagtr:nth-child(odd):not(:last-child) .oddeven.tagtd:not(.liste_titre)
  3826. {
  3827. border-bottom: 1px solid #ddd;
  3828. }
  3829. ul.noborder li:nth-child(even):not(.liste_titre) {
  3830. background-color: var(--colorbacklinepair2) !important;
  3831. }
  3832. /*
  3833. * Boxes
  3834. */
  3835. .box {
  3836. overflow-x: auto;
  3837. min-height: 40px;
  3838. padding-right: 0px;
  3839. padding-left: 0px;
  3840. padding-bottom: 12px;
  3841. }
  3842. .boxstatsborder {
  3843. /* border: 1px solid #CCC !important; */
  3844. }
  3845. .boxstats, .boxstats130 {
  3846. display: inline-block;
  3847. margin: 8px;
  3848. /* border: 1px solid #CCC; */
  3849. text-align: center;
  3850. border-radius: 2px;
  3851. background: #eee;
  3852. }
  3853. .boxstats, .boxstats130, .boxstatscontent {
  3854. white-space: nowrap;
  3855. overflow: hidden;
  3856. text-overflow: ellipsis;
  3857. }
  3858. .boxstats {
  3859. padding: 3px;
  3860. width: 100px;
  3861. min-height: 40px;
  3862. }
  3863. .boxstats130 {
  3864. width: 135px;
  3865. height: 54px;
  3866. padding: 3px;
  3867. }
  3868. @media only screen and (max-width: 767px)
  3869. {
  3870. .tabBar .arearef .pagination.paginationref {
  3871. max-width: calc(50%);
  3872. }
  3873. .clearbothonsmartphone {
  3874. clear: both;
  3875. display: block !important;
  3876. }
  3877. div.tabs {
  3878. padding-left: 0 !important;
  3879. margin-left: 0 !important;
  3880. margin-right: 0 !important;
  3881. }
  3882. .boxstats, .boxstats130 {
  3883. margin: 3px;
  3884. border: 1px solid #ddd;
  3885. box-shadow: none;
  3886. background: #eee;
  3887. }
  3888. .thumbstat {
  3889. flex: 1 1 110px;
  3890. }
  3891. .thumbstat150 {
  3892. flex: 1 1 110px;
  3893. }
  3894. .dashboardlineindicator {
  3895. float: left;
  3896. padding-left: 5px;
  3897. }
  3898. .boxstats130 {
  3899. width: 148px;
  3900. }
  3901. .boxstats {
  3902. width: 100px;
  3903. }
  3904. }
  3905. .boxstats:hover {
  3906. box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.20);
  3907. }
  3908. span.boxstatstext {
  3909. /* opacity: 0.7; */ /* a bug if browser make z-index infintie when opacity is set so we disable it */
  3910. line-height: 18px;
  3911. color: #000;
  3912. }
  3913. .boxstatsindicator.thumbstat150 { /* If we remove this, box position is ko on ipad */
  3914. display: inline-flex;
  3915. }
  3916. span.boxstatsindicator {
  3917. font-size: 110%;
  3918. font-weight: normal;
  3919. font-color: rgb(<?php print $colortextlink; ?>);
  3920. }
  3921. span.dashboardlineindicator, span.dashboardlineindicatorlate {
  3922. font-size: 120%;
  3923. font-weight: normal;
  3924. }
  3925. a.dashboardlineindicatorlate:hover {
  3926. text-decoration: none;
  3927. }
  3928. .dashboardlineindicatorlate img {
  3929. width: 16px;
  3930. }
  3931. span.dashboardlineok {
  3932. color: #008800;
  3933. }
  3934. span.dashboardlineko {
  3935. color: #FFF;
  3936. font-size: 80%;
  3937. }
  3938. .dashboardlinelatecoin {
  3939. float: right;
  3940. position: relative;
  3941. text-align: right;
  3942. top: -24px;
  3943. padding: 1px 6px 1px 6px;
  3944. background-color: #8c4446;
  3945. color: #FFFFFF ! important;
  3946. border-radius: .25em;
  3947. }
  3948. .boxtable {
  3949. margin-bottom: 20px !important;
  3950. border-bottom-width: 1px;
  3951. }
  3952. .boxtablenotop {
  3953. /* border-top-width: 0 !important; */
  3954. }
  3955. .boxtablenobottom {
  3956. /* border-bottom-width: 0 !important; */
  3957. }
  3958. .boxtable .fichehalfright, .boxtable .fichehalfleft {
  3959. min-width: 275px;
  3960. }
  3961. .tdboxstats {
  3962. text-align: center;
  3963. }
  3964. .boxworkingboard .tdboxstats {
  3965. padding-left: 1px !important;
  3966. padding-right: 1px !important;
  3967. }
  3968. a.valignmiddle.dashboardlineindicator {
  3969. line-height: 30px;
  3970. }
  3971. tr.box_titre {
  3972. height: 26px !important;
  3973. /* TO MATCH BOOTSTRAP */
  3974. /*background: #ddd;
  3975. color: #000 !important; */
  3976. /* TO MATCH ELDY */
  3977. background: rgb(<?php echo $colorbacktitle1; ?>);
  3978. background-repeat: repeat-x;
  3979. color: rgb(<?php echo $colortexttitle; ?>);
  3980. font-family: <?php print $fontlist ?>, sans-serif;
  3981. font-weight: <?php echo $useboldtitle ? 'bold' : 'normal'; ?>;
  3982. border-bottom: 1px solid #FDFFFF;
  3983. white-space: nowrap;
  3984. }
  3985. tr.box_titre td.boxclose {
  3986. width: 30px;
  3987. }
  3988. img.boxhandle, img.boxclose {
  3989. padding-left: 5px;
  3990. }
  3991. .formboxfilter {
  3992. vertical-align: middle;
  3993. margin-bottom: 6px;
  3994. }
  3995. .formboxfilter input[type=image]
  3996. {
  3997. top: 5px;
  3998. position: relative;
  3999. }
  4000. .boxfilter {
  4001. margin-bottom: 2px;
  4002. margin-right: 1px;
  4003. }
  4004. .prod_entry_mode_free, .prod_entry_mode_predef {
  4005. height: 26px !important;
  4006. vertical-align: middle;
  4007. }
  4008. .modulebuilderbox {
  4009. border: 1px solid #888;
  4010. padding: 16px;
  4011. }
  4012. /*
  4013. * Ok, Warning, Error
  4014. */
  4015. .ok { color: #114466; }
  4016. .warning { color: #887711 !important; }
  4017. .error { color: #550000 !important; font-weight: bold; }
  4018. .green { color: #118822 !important; }
  4019. div.ok {
  4020. color: #114466;
  4021. }
  4022. /* Info admin */
  4023. div.info {
  4024. border-<?php print $left; ?>: solid 5px #87cfd2;
  4025. padding-top: 8px;
  4026. padding-left: 10px;
  4027. padding-right: 4px;
  4028. padding-bottom: 8px;
  4029. margin: 0.5em 0em 0.5em 0em;
  4030. background: #eff8fc;
  4031. }
  4032. /* Warning message */
  4033. div.warning {
  4034. border-<?php print $left; ?>: solid 5px #f2cf87;
  4035. padding-top: 8px;
  4036. padding-left: 10px;
  4037. padding-right: 4px;
  4038. padding-bottom: 8px;
  4039. margin: 0.5em 0em 0.5em 0em;
  4040. background: #fcf8e3;
  4041. }
  4042. div.warning a, div.info a, div.error a {
  4043. color: rgb(<?php echo $colortextlink; ?>);
  4044. }
  4045. /* Error message */
  4046. div.error {
  4047. border-<?php print $left; ?>: solid 5px #f28787;
  4048. padding-top: 8px;
  4049. padding-left: 10px;
  4050. padding-right: 4px;
  4051. padding-bottom: 8px;
  4052. margin: 0.5em 0em 0.5em 0em;
  4053. background: #EFCFCF;
  4054. }
  4055. /*
  4056. * Liens Payes/Non payes
  4057. */
  4058. a.normal:link { font-weight: normal }
  4059. a.normal:visited { font-weight: normal }
  4060. a.normal:active { font-weight: normal }
  4061. a.normal:hover { font-weight: normal }
  4062. a.impayee:link { font-weight: bold; color: #550000; }
  4063. a.impayee:visited { font-weight: bold; color: #550000; }
  4064. a.impayee:active { font-weight: bold; color: #550000; }
  4065. a.impayee:hover { font-weight: bold; color: #550000; }
  4066. /*
  4067. * External web site
  4068. */
  4069. .framecontent {
  4070. width: 100%;
  4071. height: 100%;
  4072. }
  4073. .framecontent iframe {
  4074. width: 100%;
  4075. height: 100%;
  4076. }
  4077. /*
  4078. * Other
  4079. */
  4080. .opened-dash-board-wrap {
  4081. margin-bottom: 25px;
  4082. }
  4083. div.boximport {
  4084. min-height: unset;
  4085. }
  4086. .product_line_stock_ok { color: #002200; }
  4087. .product_line_stock_too_low { color: #884400; }
  4088. .fieldrequired { font-weight: bold; color: #000055; }
  4089. td.widthpictotitle, .table-fiche-title img.widthpictotitle { width: 32px; font-size: 1.4em; text-align: <?php echo $left; ?>; }
  4090. table.titlemodulehelp tr td img.widthpictotitle { width: 80px; }
  4091. .dolgraphtitle { margin-top: 6px; margin-bottom: 4px; }
  4092. .dolgraphtitlecssboxes { /* margin: 0px; */ }
  4093. .dolgraphchart canvas {
  4094. /* width: calc(100% - 20px) !important; */
  4095. }
  4096. .legendColorBox, .legendLabel { border: none !important; }
  4097. div.dolgraph div.legend, div.dolgraph div.legend div { background-color: rgba(255,255,255,0) !important; }
  4098. div.dolgraph div.legend table tbody tr { height: auto; }
  4099. td.legendColorBox { padding: 2px 2px 2px 0 !important; }
  4100. td.legendLabel { padding: 2px 2px 2px 0 !important; }
  4101. td.legendLabel {
  4102. text-align: <?php echo $left; ?>;
  4103. }
  4104. label.radioprivate {
  4105. white-space: nowrap;
  4106. }
  4107. .photo {
  4108. border: 0px;
  4109. }
  4110. .photowithmargin {
  4111. /* margin-bottom: 2px;
  4112. margin-top: 2px; */
  4113. }
  4114. div.divphotoref > img.photowithmargin, div.divphotoref > a > .photowithmargin { /* Margin right for photo not inside a div.photoref frame only */
  4115. margin-right: 15px;
  4116. }
  4117. .photowithborder {
  4118. border: 1px solid #f0f0f0;
  4119. }
  4120. .photointooltip {
  4121. margin-top: 8px;
  4122. margin-bottom: 6px;
  4123. text-align: center !important;
  4124. }
  4125. .photodelete {
  4126. margin-top: 6px !important;
  4127. }
  4128. .logo_setup
  4129. {
  4130. content:url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/logo_setup.svg', 1) ?>); /* content is used to best fit the container */
  4131. display: inline-block;
  4132. }
  4133. .nographyet
  4134. {
  4135. content:url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/nographyet.svg', 1) ?>);
  4136. display: inline-block;
  4137. opacity: 0.1;
  4138. background-repeat: no-repeat;
  4139. }
  4140. .nographyettext
  4141. {
  4142. opacity: 0.5;
  4143. }
  4144. div.titre {
  4145. font-size: 14px;
  4146. text-decoration: none;
  4147. padding-top: 5px;
  4148. padding-bottom: 5px;
  4149. text-transform: uppercase;
  4150. /* text-shadow: 1px 1px 2px #FFFFFF; */
  4151. }
  4152. div.titre {
  4153. color: var(--colortexttitlenotab);
  4154. }
  4155. .secondary {
  4156. color: var(--colortexttitlenotab);
  4157. }
  4158. .tertiary {
  4159. color: var(--colortexttitlenotab);
  4160. }
  4161. table.centpercent.notopnoleftnoright.table-fiche-title {
  4162. margin-bottom: 10px !important;
  4163. }
  4164. table.table-fiche-title .col-title div.titre{
  4165. line-height: 40px;
  4166. }
  4167. div.backgreypublicpayment { background-color: #f0f0f0; padding: 20px; border-bottom: 1px solid #ddd; }
  4168. .backgreypublicpayment a { color: #222 !important; }
  4169. .poweredbypublicpayment {
  4170. float: right;
  4171. top: 8px;
  4172. right: 8px;
  4173. position: absolute;
  4174. font-size: 0.8em;
  4175. color: #222;
  4176. opacity: 0.3;
  4177. }
  4178. span.buttonpaymentsmall {
  4179. text-shadow: none;
  4180. }
  4181. #dolpublictable {
  4182. min-width: 300px; font-size: 16px;
  4183. padding: 6px;
  4184. }
  4185. #dolpaymenttable {
  4186. min-width: 320px; font-size: 16px;
  4187. } /* Width must have min to make stripe input area visible. Lower than 320 makes input area crazy for credit card that need zip code */
  4188. #tablepublicpayment { border: 1px solid #CCCCCC !important; width: 100%; padding: 20px; }
  4189. #tablepublicpayment .CTableRow1 { background-color: #F0F0F0 !important; }
  4190. #tablepublicpayment tr.liste_total { border-bottom: 1px solid #CCCCCC !important; }
  4191. #tablepublicpayment tr.liste_total td { border-top: none; }
  4192. .divmainbodylarge { margin-left: 40px; margin-right: 40px; }
  4193. #divsubscribe { max-width: 900px; }
  4194. #tablesubscribe { width: 100%; }
  4195. div#card-element {
  4196. border: 1px solid #ccc;
  4197. }
  4198. div#card-errors {
  4199. color: #fa755a;
  4200. text-align: center;
  4201. padding-top: 3px;
  4202. max-width: 320px;
  4203. }
  4204. /*
  4205. * Effect Postit
  4206. */
  4207. .effectpostit
  4208. {
  4209. position: relative;
  4210. }
  4211. .effectpostit:before, .effectpostit:after
  4212. {
  4213. z-index: -1;
  4214. position: absolute;
  4215. content: "";
  4216. bottom: 15px;
  4217. left: 10px;
  4218. width: 50%;
  4219. top: 80%;
  4220. max-width:300px;
  4221. background: #777;
  4222. -webkit-box-shadow: 0 15px 10px #777;
  4223. box-shadow: 0 15px 10px #777;
  4224. -webkit-transform: rotate(-3deg);
  4225. -moz-transform: rotate(-3deg);
  4226. -o-transform: rotate(-3deg);
  4227. -ms-transform: rotate(-3deg);
  4228. transform: rotate(-3deg);
  4229. }
  4230. .effectpostit:after
  4231. {
  4232. -webkit-transform: rotate(3deg);
  4233. -moz-transform: rotate(3deg);
  4234. -o-transform: rotate(3deg);
  4235. -ms-transform: rotate(3deg);
  4236. transform: rotate(3deg);
  4237. right: 10px;
  4238. left: auto;
  4239. }
  4240. /* ============================================================================== */
  4241. /* Formulaire confirmation (When Ajax JQuery is used) */
  4242. /* ============================================================================== */
  4243. .ui-dialog-titlebar {
  4244. }
  4245. .ui-dialog-content {
  4246. font-size: <?php print $fontsize; ?>px !important;
  4247. }
  4248. .ui-dialog.ui-corner-all.ui-widget.ui-widget-content.ui-front.ui-dialog-buttons.ui-draggable {
  4249. z-index: 1002 !important; /* Default 101 with jquery, top menu have a z-index of 1000 */
  4250. }
  4251. div#dialogforpopup {
  4252. background-color: #f8f8f8 !important;
  4253. }
  4254. /* ============================================================================== */
  4255. /* For content of image preview */
  4256. /* ============================================================================== */
  4257. /*
  4258. .ui-dialog-content.ui-widget-content > object {
  4259. max-height: none;
  4260. width: auto; margin-left: auto; margin-right: auto; display: block;
  4261. }
  4262. */
  4263. /* ============================================================================== */
  4264. /* Formulaire confirmation (When HTML is used) */
  4265. /* ============================================================================== */
  4266. table.valid {
  4267. /* border-top: solid 1px #E6E6E6; */
  4268. border-<?php print $left; ?>: solid 5px #f2cf87;
  4269. /* border-<?php print $right; ?>: solid 1px #444444;
  4270. border-bottom: solid 1px #555555; */
  4271. padding-top: 8px;
  4272. padding-left: 10px;
  4273. padding-right: 4px;
  4274. padding-bottom: 4px;
  4275. margin: 0px 0px;
  4276. background: #fcf8e3;
  4277. }
  4278. .validtitre {
  4279. font-weight: bold;
  4280. }
  4281. /* ============================================================================== */
  4282. /* Tooltips */
  4283. /* ============================================================================== */
  4284. /* For tooltip using dialog */
  4285. .ui-dialog.highlight.ui-widget.ui-widget-content.ui-front {
  4286. z-index: 3000;
  4287. }
  4288. div.ui-tooltip {
  4289. max-width: <?php print dol_size(600, 'width'); ?>px !important;
  4290. }
  4291. div.ui-tooltip.mytooltip {
  4292. width: <?php print dol_size(450, 'width'); ?>px;
  4293. border-top: solid 1px #BBBBBB;
  4294. border-<?php print $left; ?>: solid 1px #BBBBBB;
  4295. border-<?php print $right; ?>: solid 1px #444444;
  4296. border-bottom: solid 1px #444444;
  4297. padding: 10px 20px;
  4298. border-radius: 0;
  4299. box-shadow: 0 0 4px grey;
  4300. margin: 2px;
  4301. font-stretch: condensed;
  4302. /*background: var(--tooltipbgcolor) !important;
  4303. color : var(--tooltipfontcolor);*/
  4304. line-height: 1.6em;
  4305. min-width: 550px;
  4306. }
  4307. @media only screen and (max-width: 768px)
  4308. {
  4309. div.ui-tooltip.mytooltip {
  4310. max-width: 400px;
  4311. }
  4312. }
  4313. @media only screen and (max-width: 480px)
  4314. {
  4315. div.ui-tooltip.mytooltip {
  4316. max-width: 300px;
  4317. }
  4318. }
  4319. @media only screen and (max-width: 320px)
  4320. {
  4321. div.ui-tooltip.mytooltip {
  4322. max-width: 230px;
  4323. }
  4324. }
  4325. /* ============================================================================== */
  4326. /* Calendar */
  4327. /* ============================================================================== */
  4328. .ui-datepicker-calendar .ui-state-default, .ui-datepicker-calendar .ui-widget-content .ui-state-default,
  4329. .ui-datepicker-calendar .ui-widget-header .ui-state-default, .ui-datepicker-calendar .ui-button,
  4330. html .ui-datepicker-calendar .ui-button.ui-state-disabled:hover, html .ui-button.ui-state-disabled:active
  4331. {
  4332. border: unset;
  4333. }
  4334. img.datecallink { padding-left: 2px !important; padding-right: 2px !important; }
  4335. .ui-datepicker-trigger {
  4336. vertical-align: middle;
  4337. cursor: pointer;
  4338. padding-left: 2px;
  4339. padding-right: 2px;
  4340. }
  4341. .bodyline {
  4342. -webkit-border-radius: 4px;
  4343. border-radius: 4px;
  4344. border: 1px #E4ECEC outset;
  4345. padding: 0px;
  4346. margin-bottom: 5px;
  4347. }
  4348. table.dp {
  4349. width: 180px;
  4350. background-color: #FFFFFF;
  4351. /*border-top: solid 2px #f4f4f4;
  4352. border-<?php print $left; ?>: solid 2px #f4f4f4;
  4353. border-<?php print $right; ?>: solid 1px #222222;
  4354. border-bottom: solid 1px #222222; */
  4355. padding: 0px;
  4356. border-spacing: 0px;
  4357. border-collapse: collapse;
  4358. }
  4359. .dp td, .tpHour td, .tpMinute td{padding:2px; font-size:10px;}
  4360. /* Barre titre */
  4361. .dpHead,.tpHead,.tpHour td:Hover .tpHead{
  4362. font-weight:bold;
  4363. background-color: #888;
  4364. color:white;
  4365. font-size:11px;
  4366. cursor:auto;
  4367. }
  4368. /* Barre navigation */
  4369. .dpButtons,.tpButtons {
  4370. text-align:center;
  4371. background-color: #888;
  4372. color:#FFFFFF;
  4373. font-weight:bold;
  4374. cursor:pointer;
  4375. }
  4376. .dpButtons:Active,.tpButtons:Active{border: 1px outset black;}
  4377. .dpDayNames td,.dpExplanation {background-color:#D9DBE1; font-weight:bold; text-align:center; font-size:11px;}
  4378. .dpExplanation{ font-weight:normal; font-size:11px;}
  4379. .dpWeek td{text-align:center}
  4380. .dpToday,.dpReg,.dpSelected{
  4381. cursor:pointer;
  4382. }
  4383. .dpToday{font-weight:bold; color:black; background-color:#f4f4f4;}
  4384. .dpReg:Hover,.dpToday:Hover{background-color:black;color:white}
  4385. /* Jour courant */
  4386. .dpSelected{background-color:#0B63A2;color:white;font-weight:bold; }
  4387. .tpHour{border-top:1px solid #f4f4f4; border-right:1px solid #f4f4f4;}
  4388. .tpHour td {border-left:1px solid #f4f4f4; border-bottom:1px solid #f4f4f4; cursor:pointer;}
  4389. .tpHour td:Hover {background-color:black;color:white;}
  4390. .tpMinute {margin-top:5px;}
  4391. .tpMinute td:Hover {background-color:black; color:white; }
  4392. .tpMinute td {background-color:#D9DBE1; text-align:center; cursor:pointer;}
  4393. /* Bouton X fermer */
  4394. .dpInvisibleButtons
  4395. {
  4396. border-style:none;
  4397. background-color:transparent;
  4398. padding:0px;
  4399. font-size: 0.85em;
  4400. border-width:0px;
  4401. color: #eee;
  4402. vertical-align:middle;
  4403. cursor: pointer;
  4404. }
  4405. .datenowlink
  4406. {
  4407. color: rgb(<?php print $colortextlink; ?>);
  4408. }
  4409. .categtextwhite, .treeview .categtextwhite.hover {
  4410. color: #fff !important;
  4411. }
  4412. .categtextblack {
  4413. color: #000 !important;
  4414. }
  4415. /* ============================================================================== */
  4416. /* Show/Hide */
  4417. /* ============================================================================== */
  4418. div.visible {
  4419. display: block;
  4420. }
  4421. div.hidden, header.hidden, td.hidden, img.hidden, span.hidden, div.showifmore {
  4422. display: none;
  4423. }
  4424. .unvisible {
  4425. visibility: hidden;
  4426. }
  4427. tr.visible {
  4428. display: block;
  4429. }
  4430. /* ============================================================================== */
  4431. /* Module website */
  4432. /* ============================================================================== */
  4433. .websiteformtoolbar {
  4434. position: sticky;
  4435. top: <?php echo $disableimages ? '36px' : '50px'; ?>;
  4436. }
  4437. .exampleapachesetup {
  4438. overflow-y: auto;
  4439. max-height: 100px;
  4440. font-size: 0.8em;
  4441. border: 1px solid #aaa;
  4442. }
  4443. span[phptag] {
  4444. background: #ddd; border: 1px solid #ccc; border-radius: 4px;
  4445. }
  4446. .nobordertransp {
  4447. border: 0px;
  4448. background-color: transparent;
  4449. background-image: none;
  4450. color: #000 !important;
  4451. text-shadow: none;
  4452. }
  4453. .bordertransp {
  4454. background-color: transparent;
  4455. background-image: none;
  4456. border: 1px solid #aaa;
  4457. font-weight: normal;
  4458. color: #444 !important;
  4459. }
  4460. .websitebar {
  4461. border-bottom: 1px solid #ccc;
  4462. background: #eee;
  4463. display: inline-block;
  4464. padding: 5px 5px 5px 5px;
  4465. }
  4466. .centpercent.websitebar {
  4467. width: calc(100% - 10px);
  4468. }
  4469. .websitebar .buttonDelete, .websitebar .button {
  4470. text-shadow: none;
  4471. }
  4472. .websitebar .button, .websitebar .buttonDelete
  4473. {
  4474. padding: 2px 4px 2px 4px !important;
  4475. margin: 2px 4px 2px 4px !important;
  4476. line-height: normal;
  4477. }
  4478. .websitebar input.button.bordertransp, .websitebar input.buttonDelete.bordertransp {
  4479. color: #444 !important;
  4480. text-shadow: none;
  4481. }
  4482. .websiteselection {
  4483. /* display: inline-block; */
  4484. padding-<?php echo $right; ?>: 10px;
  4485. vertical-align: middle;
  4486. }
  4487. .websitetools {
  4488. float: right;
  4489. }
  4490. .websiteselection, .websitetools {
  4491. /* margin-top: 3px;
  4492. padding-top: 3px;
  4493. padding-bottom: 3px; */
  4494. }
  4495. .websiteinputurl {
  4496. display: inline-block;
  4497. vertical-align: top;
  4498. line-height: 28px;
  4499. }
  4500. .websiteiframenoborder {
  4501. border: 0px;
  4502. }
  4503. span.websitebuttonsitepreview, a.websitebuttonsitepreview {
  4504. vertical-align: middle;
  4505. }
  4506. span.websitebuttonsitepreview img, a.websitebuttonsitepreview img {
  4507. width: 26px;
  4508. display: inline-block;
  4509. }
  4510. span.websitebuttonsitepreviewdisabled img, a.websitebuttonsitepreviewdisabled img {
  4511. opacity: 0.2;
  4512. }
  4513. .websiteiframenoborder {
  4514. border: 0px;
  4515. }
  4516. .websitehelp {
  4517. vertical-align: middle;
  4518. float: right;
  4519. padding-top: 8px;
  4520. }
  4521. .websiteselectionsection {
  4522. border-left: 1px solid #bbb;
  4523. border-right: 1px solid #bbb;
  4524. margin-left: 0px;
  4525. padding-left: 8px;
  4526. margin-right: 5px;
  4527. }
  4528. .websitebar input#previewpageurl {
  4529. line-height: 1em;
  4530. }
  4531. #divbodywebsite section p {
  4532. margin: unset;
  4533. }
  4534. /* ============================================================================== */
  4535. /* Module agenda */
  4536. /* ============================================================================== */
  4537. .dayevent .tagtr:first-of-type {
  4538. height: 24px;
  4539. }
  4540. .agendacell { height: 60px; }
  4541. table.cal_month { border-spacing: 0px; }
  4542. table.cal_month td:first-child { border-left: 0px; }
  4543. table.cal_month td:last-child { border-right: 0px; }
  4544. .cal_current_month { border-top: 0; border-left: solid 1px #E0E0E0; border-right: 0; border-bottom: solid 1px #E0E0E0; }
  4545. .cal_current_month_peruserleft { border-top: 0; border-left: solid 2px #6C7C7B; border-right: 0; border-bottom: solid 1px #E0E0E0; }
  4546. .cal_current_month_oneday { border-right: solid 1px #E0E0E0; }
  4547. .cal_other_month { border-top: 0; border-left: solid 1px #C0C0C0; border-right: 0; border-bottom: solid 1px #C0C0C0; }
  4548. .cal_other_month_peruserleft { border-top: 0; border-left: solid 2px #6C7C7B !important; border-right: 0; }
  4549. .cal_current_month_right { border-right: solid 1px #E0E0E0; }
  4550. .cal_other_month_right { border-right: solid 1px #C0C0C0; }
  4551. .cal_other_month { /* opacity: 0.6; */ background: #EAEAEA; padding-<?php print $left; ?>: 2px; padding-<?php print $right; ?>: 1px; padding-top: 0px; padding-bottom: 0px; }
  4552. .cal_past_month { /* opacity: 0.6; */ background: #EEEEEE; padding-<?php print $left; ?>: 2px; padding-<?php print $right; ?>: 1px; padding-top: 0px; padding-bottom: 0px; }
  4553. .cal_current_month { background: #FFFFFF; border-left: solid 1px #E0E0E0; padding-<?php print $left; ?>: 2px; padding-<?php print $right; ?>: 1px; padding-top: 0px; padding-bottom: 0px; }
  4554. .cal_current_month_peruserleft { background: #FFFFFF; border-left: solid 2px #6C7C7B; padding-<?php print $left; ?>: 2px; padding-<?php print $right; ?>: 1px; padding-top: 0px; padding-bottom: 0px; }
  4555. .cal_today { background: #FDFDF0; border-left: solid 1px #E0E0E0; border-bottom: solid 1px #E0E0E0; padding-<?php print $left; ?>: 2px; padding-<?php print $right; ?>: 1px; padding-top: 0px; padding-bottom: 0px; }
  4556. .cal_today_peruser { background: #FDFDF0; border-right: solid 1px #E0E0E0; border-bottom: solid 1px #E0E0E0; padding-<?php print $left; ?>: 2px; padding-<?php print $right; ?>: 1px; padding-top: 0px; padding-bottom: 0px; }
  4557. .cal_today_peruser_peruserleft { background: #FDFDF0; border-left: solid 2px #6C7C7B; border-right: solid 1px #E0E0E0; border-bottom: solid 1px #E0E0E0; padding-<?php print $left; ?>: 2px; padding-<?php print $right; ?>: 1px; padding-top: 0px; padding-bottom: 0px; }
  4558. .cal_past { }
  4559. .cal_peruser { padding: 0px; }
  4560. .cal_impair { background: #F8F8F8; }
  4561. .cal_today_peruser_impair { background: #F8F8F0; }
  4562. .peruser_busy { background: #CC8888; }
  4563. .peruser_notbusy { background: #EEDDDD; opacity: 0.5; }
  4564. div.event { margin: 8px; border-radius: 4px; box-shadow: 2px 2px 5px rgba(100, 100, 100, 0.2); }
  4565. table.cal_event { border: none; border-collapse: collapse; margin-bottom: 1px; -webkit-border-radius: 3px; border-radius: 3px; min-height: 20px; }
  4566. table.cal_event td { border: none; padding-<?php print $left; ?>: 2px; padding-<?php print $right; ?>: 2px; padding-top: 0px; padding-bottom: 0px; }
  4567. table.cal_event td.cal_event { padding: 4px 4px !important; padding-bottom: 2px !important; padding-top: 2px !important; }
  4568. table.cal_event td.cal_event_right { padding: 4px 4px !important; }
  4569. .cal_event { font-size: 1em; }
  4570. .cal_event a:link { color: #111111; font-weight: normal !important; }
  4571. .cal_event a:visited { color: #111111; font-weight: normal !important; }
  4572. .cal_event a:active { color: #111111; font-weight: normal !important; }
  4573. .cal_event_busy a:hover { color: #111111; font-weight: normal !important; color:rgba(255,255,255,.75); }
  4574. .cal_event_busy { }
  4575. .cal_peruserviewname { max-width: 140px; height: 22px; }
  4576. .calendarviewcontainertr { height: 100px; }
  4577. .topmenuimage {
  4578. background-size: 24px auto;
  4579. }
  4580. td.cal_other_month {
  4581. opacity: 0.8;
  4582. }
  4583. /* ============================================================================== */
  4584. /* Ajax - Liste deroulante de l'autocompletion */
  4585. /* ============================================================================== */
  4586. .ui-widget-content { border: solid 1px rgba(0,0,0,.3); background: #fff !important; }
  4587. .ui-autocomplete-loading { background: white url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/working.gif', 1) ?>) right center no-repeat; }
  4588. .ui-autocomplete {
  4589. position:absolute;
  4590. width:auto;
  4591. font-size: 1.0em;
  4592. background-color:white;
  4593. border:1px solid #888;
  4594. margin:0px;
  4595. /* padding:0px; This make combo crazy */
  4596. }
  4597. .ui-autocomplete ul {
  4598. list-style-type:none;
  4599. margin:0px;
  4600. padding:0px;
  4601. }
  4602. .ui-autocomplete ul li.selected { background-color: #D3E5EC;}
  4603. .ui-autocomplete ul li {
  4604. list-style-type:none;
  4605. display:block;
  4606. margin:0;
  4607. padding:2px;
  4608. height:18px;
  4609. cursor:pointer;
  4610. }
  4611. /* ============================================================================== */
  4612. /* Gantt
  4613. /* ============================================================================== */
  4614. td.gtaskname {
  4615. overflow: hidden;
  4616. text-overflow: ellipsis;
  4617. }
  4618. /* ============================================================================== */
  4619. /* jQuery - jeditable for inline edit */
  4620. /* ============================================================================== */
  4621. .editkey_textarea, .editkey_ckeditor, .editkey_string, .editkey_email, .editkey_numeric, .editkey_select, .editkey_autocomplete {
  4622. background: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/edit.png', 1) ?>) right top no-repeat;
  4623. cursor: pointer;
  4624. margin-right: 3px;
  4625. margin-top: 3px;
  4626. }
  4627. .editkey_datepicker {
  4628. background: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/calendar.png', 1) ?>) right center no-repeat;
  4629. cursor: pointer;
  4630. margin-right: 3px;
  4631. margin-top: 3px;
  4632. }
  4633. .editval_textarea.active:hover, .editval_ckeditor.active:hover, .editval_string.active:hover, .editval_email.active:hover, .editval_numeric.active:hover, .editval_select.active:hover, .editval_autocomplete.active:hover, .editval_datepicker.active:hover {
  4634. background: white;
  4635. cursor: pointer;
  4636. }
  4637. .viewval_textarea.active:hover, .viewval_ckeditor.active:hover, .viewval_string.active:hover, .viewval_email.active:hover, .viewval_numeric.active:hover, .viewval_select.active:hover, .viewval_autocomplete.active:hover, .viewval_datepicker.active:hover {
  4638. background: white;
  4639. cursor: pointer;
  4640. }
  4641. .viewval_hover {
  4642. background: white;
  4643. }
  4644. /* ============================================================================== */
  4645. /* Admin Menu */
  4646. /* ============================================================================== */
  4647. /* CSS for treeview */
  4648. .treeview ul { background-color: transparent !important; margin-bottom: 4px !important; margin-top: 0 !important; padding-top: 8px !important; }
  4649. .treeview li { background-color: transparent !important; padding: 0 0 0 16px !important; min-height: 30px; }
  4650. .treeview .hover { color: var(--colortextlink) !important; text-decoration: underline !important; }
  4651. .treeview .hitarea { margin-top: 3px; }
  4652. /* ============================================================================== */
  4653. /* Show Excel tabs */
  4654. /* ============================================================================== */
  4655. .table_data
  4656. {
  4657. border-style:ridge;
  4658. border:1px solid;
  4659. }
  4660. .tab_base
  4661. {
  4662. background:#C5D0DD;
  4663. font-weight:bold;
  4664. border-style:ridge;
  4665. border: 1px solid;
  4666. cursor:pointer;
  4667. }
  4668. .table_sub_heading
  4669. {
  4670. background:#CCCCCC;
  4671. font-weight:bold;
  4672. border-style:ridge;
  4673. border: 1px solid;
  4674. }
  4675. .table_body
  4676. {
  4677. background:#F0F0F0;
  4678. font-weight:normal;
  4679. font-family:sans-serif;
  4680. border-style:ridge;
  4681. border: 1px solid;
  4682. border-spacing: 0px;
  4683. border-collapse: collapse;
  4684. }
  4685. .tab_loaded
  4686. {
  4687. background:#222222;
  4688. color:white;
  4689. font-weight:bold;
  4690. border-style:groove;
  4691. border: 1px solid;
  4692. cursor:pointer;
  4693. }
  4694. /* ============================================================================== */
  4695. /* CSS for color picker */
  4696. /* ============================================================================== */
  4697. A.color, A.color:active, A.color:visited {
  4698. position : relative;
  4699. display : block;
  4700. text-decoration : none;
  4701. width : 10px;
  4702. height : 10px;
  4703. line-height : 10px;
  4704. margin : 0px;
  4705. padding : 0px;
  4706. border : 1px inset white;
  4707. }
  4708. A.color:hover {
  4709. border : 1px outset white;
  4710. }
  4711. A.none, A.none:active, A.none:visited, A.none:hover {
  4712. position : relative;
  4713. display : block;
  4714. text-decoration : none;
  4715. width : 10px;
  4716. height : 10px;
  4717. line-height : 10px;
  4718. margin : 0px;
  4719. padding : 0px;
  4720. cursor : default;
  4721. border : 1px solid #b3c5cc;
  4722. }
  4723. .tblColor {
  4724. display : none;
  4725. }
  4726. .tdColor {
  4727. padding : 1px;
  4728. }
  4729. .tblContainer {
  4730. background-color : #b3c5cc;
  4731. }
  4732. .tblGlobal {
  4733. position : absolute;
  4734. top : 0px;
  4735. left : 0px;
  4736. display : none;
  4737. background-color : #b3c5cc;
  4738. border : 2px outset;
  4739. }
  4740. .tdContainer {
  4741. padding : 5px;
  4742. }
  4743. .tdDisplay {
  4744. width : 50%;
  4745. height : 20px;
  4746. line-height : 20px;
  4747. border : 1px outset white;
  4748. }
  4749. .tdDisplayTxt {
  4750. width : 50%;
  4751. height : 24px;
  4752. line-height : 12px;
  4753. font-family : <?php print $fontlist ?>;
  4754. font-size : 8pt;
  4755. color : black;
  4756. text-align : center;
  4757. }
  4758. .btnColor {
  4759. width : 100%;
  4760. font-family : <?php print $fontlist ?>;
  4761. font-size : 10pt;
  4762. padding : 0px;
  4763. margin : 0px;
  4764. }
  4765. .btnPalette {
  4766. width : 100%;
  4767. font-family : <?php print $fontlist ?>;
  4768. font-size : 8pt;
  4769. padding : 0px;
  4770. margin : 0px;
  4771. }
  4772. /* Style to overwrites JQuery styles */
  4773. .ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight {
  4774. border: 1px solid #888;
  4775. background: rgb(<?php echo $colorbacktitle1; ?>);
  4776. color: unset;
  4777. }
  4778. .ui-menu .ui-menu-item a {
  4779. text-decoration:none;
  4780. display:block;
  4781. padding:.2em .4em;
  4782. line-height:1.5;
  4783. font-weight: normal;
  4784. font-family:<?php echo $fontlist; ?>;
  4785. font-size:1em;
  4786. }
  4787. .ui-widget {
  4788. font-family:<?php echo $fontlist; ?>;
  4789. }
  4790. .ui-button { margin-left: -2px; <?php print (preg_match('/chrome/', $conf->browser->name) ? 'padding-top: 1px;' : ''); ?> }
  4791. .ui-button-icon-only .ui-button-text { height: 8px; }
  4792. .ui-button-icon-only .ui-button-text, .ui-button-icons-only .ui-button-text { padding: 2px 0px 6px 0px; }
  4793. .ui-button-text
  4794. {
  4795. line-height: 1em !important;
  4796. }
  4797. .ui-autocomplete-input { margin: 0; padding: 4px; }
  4798. /* ============================================================================== */
  4799. /* CKEditor */
  4800. /* ============================================================================== */
  4801. body.cke_show_borders {
  4802. margin: 5px !important;
  4803. }
  4804. .cke_dialog {
  4805. border: 1px #bbb solid ! important;
  4806. }
  4807. /*.cke_editor table, .cke_editor tr, .cke_editor td
  4808. {
  4809. border: 0px solid #FF0000 !important;
  4810. }
  4811. span.cke_skin_kama { padding: 0 !important; }*/
  4812. .cke_wrapper { padding: 4px !important; }
  4813. a.cke_dialog_ui_button
  4814. {
  4815. font-family: <?php print $fontlist ?> !important;
  4816. background-image: url(<?php echo $img_button ?>) !important;
  4817. background-position: bottom !important;
  4818. border: 1px solid #C0C0C0 !important;
  4819. -webkit-border-radius:0px 2px 0px 2px !important;
  4820. border-radius:0px 2px 0px 2px !important;
  4821. -webkit-box-shadow: 3px 3px 4px #f4f4f4 !important;
  4822. box-shadow: 3px 3px 4px #f4f4f4 !important;
  4823. }
  4824. .cke_dialog_ui_hbox_last
  4825. {
  4826. vertical-align: bottom ! important;
  4827. }
  4828. /*
  4829. .cke_editable
  4830. {
  4831. line-height: 1.4 !important;
  4832. margin: 6px !important;
  4833. }
  4834. */
  4835. a.cke_dialog_ui_button_ok span {
  4836. text-shadow: none !important;
  4837. color: #333 !important;
  4838. }
  4839. /* ============================================================================== */
  4840. /* ACE editor */
  4841. /* ============================================================================== */
  4842. .ace_editor {
  4843. border: 1px solid #ddd;
  4844. margin: 0;
  4845. }
  4846. .aceeditorstatusbar {
  4847. margin: 0;
  4848. padding: 0;
  4849. padding-<?php echo $left; ?>: 10px;
  4850. left: 0;
  4851. right: 0;
  4852. bottom: 0;
  4853. color: #666;
  4854. height: 28px;
  4855. line-height: 2.2em;
  4856. }
  4857. .ace_status-indicator {
  4858. color: gray;
  4859. position: relative;
  4860. right: 0;
  4861. border-left: 1px solid;
  4862. }
  4863. pre#editfilecontentaceeditorid {
  4864. margin-top: 5px;
  4865. }
  4866. /* ============================================================================== */
  4867. /* File upload */
  4868. /* ============================================================================== */
  4869. .template-upload {
  4870. height: 72px !important;
  4871. }
  4872. /* ============================================================================== */
  4873. /* Custom reports */
  4874. /* ============================================================================== */
  4875. .customreportsoutput, .customreportsoutputnotdata {
  4876. padding-top: 20px;
  4877. }
  4878. .customreportsoutputnotdata {
  4879. text-align: center;
  4880. }
  4881. /* ============================================================================== */
  4882. /* Holiday */
  4883. /* ============================================================================== */
  4884. #types .btn {
  4885. cursor: pointer;
  4886. }
  4887. #types .btn-primary {
  4888. font-weight: bold;
  4889. }
  4890. #types form {
  4891. padding: 20px;
  4892. }
  4893. #types label {
  4894. display:inline-block;
  4895. width:100px;
  4896. margin-right: 20px;
  4897. padding: 4px;
  4898. text-align: right;
  4899. vertical-align: top;
  4900. }
  4901. #types input.text, #types textarea {
  4902. width: 400px;
  4903. }
  4904. #types textarea {
  4905. height: 100px;
  4906. }
  4907. /* ============================================================================== */
  4908. /* Comments */
  4909. /* ============================================================================== */
  4910. #comment div {
  4911. box-sizing:border-box;
  4912. }
  4913. #comment .comment {
  4914. border-radius:7px;
  4915. margin-bottom:10px;
  4916. overflow:hidden;
  4917. }
  4918. #comment .comment-table {
  4919. display:table;
  4920. height:100%;
  4921. }
  4922. #comment .comment-cell {
  4923. display:table-cell;
  4924. }
  4925. #comment .comment-info {
  4926. font-size:0.8em;
  4927. border-right:1px solid #dedede;
  4928. margin-right:10px;
  4929. width:160px;
  4930. text-align:center;
  4931. background:rgba(255,255,255,0.5);
  4932. vertical-align:middle;
  4933. padding:10px 2px;
  4934. }
  4935. #comment .comment-info a {
  4936. color:inherit;
  4937. }
  4938. #comment .comment-right {
  4939. vertical-align:top;
  4940. }
  4941. #comment .comment-description {
  4942. padding:10px;
  4943. vertical-align:top;
  4944. }
  4945. #comment .comment-delete {
  4946. width: 100px;
  4947. text-align:center;
  4948. vertical-align:middle;
  4949. }
  4950. #comment .comment-delete:hover {
  4951. background:rgba(250,20,20,0.8);
  4952. }
  4953. #comment .comment-edit {
  4954. width: 100px;
  4955. text-align:center;
  4956. vertical-align:middle;
  4957. }
  4958. #comment .comment-edit:hover {
  4959. background:rgba(0,184,148,0.8);
  4960. }
  4961. #comment textarea {
  4962. width: 100%;
  4963. }
  4964. /* ============================================================================== */
  4965. /* JSGantt */
  4966. /* ============================================================================== */
  4967. div.scroll2 {
  4968. width: <?php print isset($_SESSION['dol_screenwidth']) ?max($_SESSION['dol_screenwidth'] - 830, 450) : '450'; ?>px !important;
  4969. }
  4970. div#GanttChartDIVglisthead, div#GanttChartDIVgcharthead {
  4971. line-height: 2;
  4972. }
  4973. .gtaskname div, .gtaskname, .gstartdate div, .gstartdate, .genddate div, .genddate {
  4974. font-size: unset !important;
  4975. }
  4976. div.gantt, .gtaskheading, .gmajorheading, .gminorheading, .gminorheadingwkend {
  4977. font-size: unset !important;
  4978. font-weight: normal !important;
  4979. color: #000 !important;
  4980. }
  4981. div.gTaskInfo {
  4982. background: #f0f0f0 !important;
  4983. }
  4984. .gtaskblue {
  4985. background: rgb(108,152,185) !important;
  4986. }
  4987. .gtaskgreen {
  4988. background: rgb(160,173,58) !important;
  4989. }
  4990. td.gtaskname {
  4991. overflow: hidden;
  4992. text-overflow: ellipsis;
  4993. }
  4994. td.gminorheadingwkend {
  4995. color: #888 !important;
  4996. }
  4997. td.gminorheading {
  4998. color: #666 !important;
  4999. }
  5000. .glistlbl, .glistgrid {
  5001. width: 582px !important;
  5002. }
  5003. .gtaskname div, .gtaskname {
  5004. min-width: 250px !important;
  5005. max-width: 250px !important;
  5006. width: 250px !important;
  5007. }
  5008. .gpccomplete div, .gpccomplete {
  5009. min-width: 40px !important;
  5010. max-width: 40px !important;
  5011. width: 40px !important;
  5012. }
  5013. td.gtaskheading.gstartdate, td.gtaskheading.genddate {
  5014. white-space: break-spaces;
  5015. }
  5016. .gtasktableh tr:nth-child(2) td:nth-child(2), .gtasktableh tr:nth-child(2) td:nth-child(3), .gtasktableh tr:nth-child(2) td:nth-child(4), .gtasktableh tr:nth-child(2) td:nth-child(5), .gtasktableh tr:nth-child(2) td:nth-child(6), .gtasktableh tr:nth-child(2) td:nth-child(7) {
  5017. color: transparent !important;
  5018. border-left: none;
  5019. border-right: none;
  5020. border-top: none;
  5021. }
  5022. /* ============================================================================== */
  5023. /* jFileTree */
  5024. /* ============================================================================== */
  5025. .ecmfiletree {
  5026. width: 99%;
  5027. height: 99%;
  5028. padding-left: 2px;
  5029. font-weight: normal;
  5030. }
  5031. .fileview {
  5032. width: 99%;
  5033. height: 99%;
  5034. background: #FFF;
  5035. padding-left: 2px;
  5036. padding-top: 4px;
  5037. font-weight: normal;
  5038. }
  5039. div.filedirelem {
  5040. position: relative;
  5041. display: block;
  5042. text-decoration: none;
  5043. }
  5044. ul.filedirelem {
  5045. padding: 2px;
  5046. margin: 0 5px 5px 5px;
  5047. }
  5048. ul.filedirelem li {
  5049. list-style: none;
  5050. padding: 2px;
  5051. margin: 0 10px 20px 10px;
  5052. width: 160px;
  5053. height: 120px;
  5054. text-align: center;
  5055. display: block;
  5056. float: <?php print $left; ?>;
  5057. border: solid 1px #f4f4f4;
  5058. }
  5059. ul.ecmjqft {
  5060. line-height: 16px;
  5061. padding: 0px;
  5062. margin: 0px;
  5063. font-weight: normal;
  5064. }
  5065. ul.ecmjqft li {
  5066. list-style: none;
  5067. padding: 0px;
  5068. padding-left: 20px;
  5069. margin: 0px;
  5070. display: block;
  5071. }
  5072. ul.ecmjqft a {
  5073. line-height: 24px;
  5074. vertical-align: middle;
  5075. color: #333;
  5076. padding: 0px 0px;
  5077. font-weight:normal;
  5078. display: inline-block !important;
  5079. }
  5080. ul.ecmjqft a:active {
  5081. font-weight: bold !important;
  5082. }
  5083. ul.ecmjqft a:hover {
  5084. text-decoration: underline;
  5085. }
  5086. div.ecmjqft {
  5087. vertical-align: middle;
  5088. display: inline-block !important;
  5089. text-align: right;
  5090. float: right;
  5091. right:4px;
  5092. clear: both;
  5093. }
  5094. div#ecm-layout-west {
  5095. width: 380px;
  5096. vertical-align: top;
  5097. }
  5098. div#ecm-layout-center {
  5099. width: calc(100% - 390px);
  5100. vertical-align: top;
  5101. float: right;
  5102. }
  5103. .ecmjqft LI.directory { font-weight:normal; background: url(<?php echo dol_buildpath($path.'/theme/common/treemenu/folder2.png', 1); ?>) left top no-repeat; }
  5104. .ecmjqft LI.expanded { font-weight:normal; background: url(<?php echo dol_buildpath($path.'/theme/common/treemenu/folder2-expanded.png', 1); ?>) left top no-repeat; }
  5105. .ecmjqft LI.wait { font-weight:normal; background: url(<?php echo dol_buildpath('/theme/'.$theme.'/img/working.gif', 1); ?>) left top no-repeat; }
  5106. /* ============================================================================== */
  5107. /* jNotify */
  5108. /* ============================================================================== */
  5109. .jnotify-container {
  5110. position: fixed !important;
  5111. <?php if (!empty($conf->global->MAIN_JQUERY_JNOTIFY_BOTTOM)) { ?>
  5112. top: auto !important;
  5113. bottom: 4px !important;
  5114. <?php } ?>
  5115. text-align: center;
  5116. min-width: <?php echo $dol_optimize_smallscreen ? '200' : '480'; ?>px;
  5117. width: auto;
  5118. max-width: 1024px;
  5119. padding-left: 10px !important;
  5120. padding-right: 10px !important;
  5121. word-wrap: break-word;
  5122. }
  5123. .jnotify-container .jnotify-notification .jnotify-message {
  5124. font-weight: normal;
  5125. text-align: start;
  5126. word-break: break-word;
  5127. }
  5128. .jnotify-container .jnotify-notification-warning .jnotify-close, .jnotify-container .jnotify-notification-warning .jnotify-message {
  5129. color: #a28918 !important;
  5130. }
  5131. /* use or not ? */
  5132. div.jnotify-background {
  5133. opacity : 0.95 !important;
  5134. -webkit-box-shadow: 2px 2px 4px #888 !important;
  5135. box-shadow: 2px 2px 4px #888 !important;
  5136. }
  5137. /* ============================================================================== */
  5138. /* blockUI */
  5139. /* ============================================================================== */
  5140. /*div.growlUI { background: url(check48.png) no-repeat 10px 10px }*/
  5141. div.dolEventValid h1, div.dolEventValid h2 {
  5142. color: #567b1b;
  5143. background-color: #e3f0db;
  5144. padding: 5px 5px 5px 5px;
  5145. text-align: left;
  5146. }
  5147. div.dolEventError h1, div.dolEventError h2 {
  5148. color: #a72947;
  5149. background-color: #d79eac;
  5150. padding: 5px 5px 5px 5px;
  5151. text-align: left;
  5152. }
  5153. /* ============================================================================== */
  5154. /* Maps */
  5155. /* ============================================================================== */
  5156. .divmap, #google-visualization-geomap-embed-0, #google-visualization-geomap-embed-1, #google-visualization-geomap-embed-2 {
  5157. }
  5158. /* ============================================================================== */
  5159. /* Datatable */
  5160. /* ============================================================================== */
  5161. table.dataTable tr.odd td.sorting_1, table.dataTable tr.even td.sorting_1 {
  5162. background: none !important;
  5163. }
  5164. .sorting_asc { background: url('<?php echo dol_buildpath('/theme/'.$theme.'/img/sort_asc.png', 1); ?>') no-repeat center right !important; }
  5165. .sorting_desc { background: url('<?php echo dol_buildpath('/theme/'.$theme.'/img/sort_desc.png', 1); ?>') no-repeat center right !important; }
  5166. .sorting_asc_disabled { background: url('<?php echo dol_buildpath('/theme/'.$theme.'/img/sort_asc_disabled.png', 1); ?>') no-repeat center right !important; }
  5167. .sorting_desc_disabled { background: url('<?php echo dol_buildpath('/theme/'.$theme.'/img/sort_desc_disabled.png', 1); ?>') no-repeat center right !important; }
  5168. .dataTables_paginate {
  5169. margin-top: 8px;
  5170. }
  5171. .paginate_button_disabled {
  5172. opacity: 1 !important;
  5173. color: #888 !important;
  5174. cursor: default !important;
  5175. }
  5176. .paginate_disabled_previous:hover, .paginate_enabled_previous:hover, .paginate_disabled_next:hover, .paginate_enabled_next:hover
  5177. {
  5178. font-weight: normal;
  5179. }
  5180. .paginate_enabled_previous:hover, .paginate_enabled_next:hover
  5181. {
  5182. text-decoration: underline !important;
  5183. }
  5184. .paginate_active
  5185. {
  5186. text-decoration: underline !important;
  5187. }
  5188. .paginate_button
  5189. {
  5190. font-weight: normal !important;
  5191. text-decoration: none !important;
  5192. }
  5193. .paging_full_numbers {
  5194. height: inherit !important;
  5195. }
  5196. .paging_full_numbers a.paginate_active:hover, .paging_full_numbers a.paginate_button:hover {
  5197. background-color: #DDD !important;
  5198. }
  5199. .paging_full_numbers, .paging_full_numbers a.paginate_active, .paging_full_numbers a.paginate_button {
  5200. background-color: #FFF !important;
  5201. border-radius: inherit !important;
  5202. }
  5203. .paging_full_numbers a.paginate_button_disabled:hover, .paging_full_numbers a.disabled:hover {
  5204. background-color: #FFF !important;
  5205. }
  5206. .paginate_button, .paginate_active {
  5207. border: 1px solid #ddd !important;
  5208. padding: 6px 12px !important;
  5209. margin-left: -1px !important;
  5210. line-height: 1.42857143 !important;
  5211. margin: 0 0 !important;
  5212. }
  5213. /* For jquery plugin combobox */
  5214. /* Disable this. It breaks wrapping of boxes
  5215. .ui-corner-all { white-space: nowrap; } */
  5216. .ui-state-disabled, .ui-widget-content .ui-state-disabled, .ui-widget-header .ui-state-disabled, .paginate_button_disabled {
  5217. opacity: .35;
  5218. background-image: none;
  5219. }
  5220. div.dataTables_length {
  5221. float: right !important;
  5222. padding-left: 8px;
  5223. }
  5224. div.dataTables_length select {
  5225. background: #fff;
  5226. }
  5227. .dataTables_wrapper .dataTables_paginate {
  5228. padding-top: 0px !important;
  5229. }
  5230. /* ============================================================================== */
  5231. /* Select2 */
  5232. /* ============================================================================== */
  5233. span#select2-taskid-container[title^='--'] {
  5234. opacity: 0.3;
  5235. }
  5236. input.select2-input {
  5237. border-bottom: none ! important;
  5238. }
  5239. .select2-choice {
  5240. border: none;
  5241. border-bottom: 1px solid #ccc !important;
  5242. }
  5243. .select2-results .select2-highlighted.optionblue {
  5244. color: #FFF !important;
  5245. }
  5246. .select2-container--default .select2-selection--multiple .select2-selection__choice {
  5247. border: 1px solid #e4e4e4;
  5248. }
  5249. .blockvmenusearch .select2-container--default .select2-selection--single,
  5250. .blockvmenubookmarks .select2-container--default .select2-selection--single
  5251. {
  5252. background-color: unset;
  5253. }
  5254. .select2-container--default .select2-selection--single .select2-selection__rendered {
  5255. color: unset;
  5256. }
  5257. .select2-container .select2-choice {
  5258. border-bottom: 1px solid #ccc;
  5259. }
  5260. .select2-container .select2-choice > .select2-chosen {
  5261. margin-right: 23px;
  5262. }
  5263. .select2-container .select2-choice .select2-arrow {
  5264. border-radius: 0;
  5265. }
  5266. .select2-container-multi .select2-choices {
  5267. background-image: none;
  5268. }
  5269. .select2-container .select2-choice {
  5270. color: #000;
  5271. border-radius: 0;
  5272. }
  5273. .selectoptiondisabledwhite {
  5274. background: #FFFFFF !important;
  5275. }
  5276. .select2-arrow {
  5277. border: none;
  5278. border-left: none !important;
  5279. background: none !important;
  5280. }
  5281. .select2-choice
  5282. {
  5283. border-top: none !important;
  5284. border-left: none !important;
  5285. border-right: none !important;
  5286. border-bottom: 1px solid #ccc;
  5287. }
  5288. .select2-drop.select2-drop-above {
  5289. box-shadow: none !important;
  5290. }
  5291. .select2-container--open .select2-dropdown--above {
  5292. border-bottom: solid 1px rgba(0,0,0,.2);
  5293. }
  5294. .select2-drop.select2-drop-above.select2-drop-active {
  5295. border-top: 1px solid #ccc;
  5296. border-bottom: 1px solid #ccc;
  5297. }
  5298. .select2-container--default .select2-selection--single
  5299. {
  5300. outline: none;
  5301. border-top: none;
  5302. border-left: none;
  5303. border-right: none;
  5304. border-bottom: solid 1px rgba(0,0,0,.2);
  5305. -webkit-box-shadow: none !important;
  5306. box-shadow: none !important;
  5307. border-radius: 0 !important;
  5308. }
  5309. .select2-container--default.select2-container--focus .select2-selection--multiple {
  5310. border-top: none;
  5311. border-left: none;
  5312. border-right: none;
  5313. }
  5314. .select2-container--default .select2-selection--multiple {
  5315. border-bottom: solid 1px rgba(0,0,0,.2);
  5316. border-top: none;
  5317. border-left: none;
  5318. border-right: none;
  5319. border-radius: 0 !important;
  5320. }
  5321. .select2-search__field
  5322. {
  5323. outline: none;
  5324. border-top: none !important;
  5325. border-left: none !important;
  5326. border-right: none !important;
  5327. border-bottom: solid 1px rgba(0,0,0,.2) !important;
  5328. -webkit-box-shadow: none !important;
  5329. box-shadow: none !important;
  5330. border-radius: 0 !important;
  5331. }
  5332. .select2-container-active .select2-choice, .select2-container-active .select2-choices
  5333. {
  5334. outline: none;
  5335. border-top: none;
  5336. border-left: none;
  5337. border-bottom: none;
  5338. -webkit-box-shadow: none !important;
  5339. box-shadow: none !important;
  5340. }
  5341. .select2-dropdown-open {
  5342. background-color: #fff;
  5343. }
  5344. .select2-dropdown-open .select2-choice, .select2-dropdown-open .select2-choices
  5345. {
  5346. outline: none;
  5347. border-top: none;
  5348. border-left: none;
  5349. border-bottom: none;
  5350. -webkit-box-shadow: none !important;
  5351. box-shadow: none !important;
  5352. background-color: #fff;
  5353. }
  5354. .select2-disabled
  5355. {
  5356. color: #888;
  5357. }
  5358. .select2-drop.select2-drop-above.select2-drop-active, .select2-drop {
  5359. border-radius: 0;
  5360. }
  5361. .select2-drop.select2-drop-above {
  5362. border-radius: 0;
  5363. }
  5364. .select2-dropdown-open.select2-drop-above .select2-choice, .select2-dropdown-open.select2-drop-above .select2-choices {
  5365. background-image: none;
  5366. border-radius: 0 !important;
  5367. }
  5368. div.select2-drop-above
  5369. {
  5370. background: #fff;
  5371. -webkit-box-shadow: none !important;
  5372. box-shadow: none !important;
  5373. }
  5374. .select2-drop-active
  5375. {
  5376. border: 1px solid #ccc;
  5377. padding-top: 4px;
  5378. }
  5379. .select2-search input {
  5380. border: none;
  5381. }
  5382. a span.select2-chosen
  5383. {
  5384. font-weight: normal !important;
  5385. }
  5386. .select2-container .select2-choice {
  5387. background-image: none;
  5388. line-height: 24px;
  5389. }
  5390. .select2-results .select2-no-results, .select2-results .select2-searching, .select2-results .select2-ajax-error, .select2-results .select2-selection-limit
  5391. {
  5392. background: #FFFFFF;
  5393. }
  5394. .select2-results {
  5395. max-height: 400px;
  5396. }
  5397. .select2-results__option {
  5398. word-break: break-word;
  5399. text-align: <?php echo $left; ?>;
  5400. }
  5401. .select2-container.select2-container-disabled .select2-choice, .select2-container-multi.select2-container-disabled .select2-choices {
  5402. background-color: #FFFFFF;
  5403. background-image: none;
  5404. border: none;
  5405. cursor: default;
  5406. }
  5407. .select2-container-disabled .select2-choice .select2-arrow b {
  5408. opacity: 0.5;
  5409. }
  5410. .select2-container-multi .select2-choices .select2-search-choice {
  5411. margin-bottom: 3px;
  5412. }
  5413. .select2-dropdown-open.select2-drop-above .select2-choice, .select2-dropdown-open.select2-drop-above .select2-choices, .select2-container-multi .select2-choices,
  5414. .select2-container-multi.select2-container-active .select2-choices
  5415. {
  5416. border-bottom: 1px solid #ccc;
  5417. border-right: none;
  5418. border-top: none;
  5419. border-left: 1px solid #ddd;
  5420. }
  5421. .select2-container--default .select2-results>.select2-results__options{
  5422. max-height: 400px;
  5423. }
  5424. /* Special case for the select2 add widget */
  5425. #addbox .select2-container .select2-choice > .select2-chosen, #actionbookmark .select2-container .select2-choice > .select2-chosen {
  5426. text-align: <?php echo $left; ?>;
  5427. opacity: 0.3;
  5428. }
  5429. .select2-container--default .select2-selection--single .select2-selection__placeholder {
  5430. color: unset;
  5431. opacity: 0.5;
  5432. }
  5433. span#select2-boxbookmark-container, span#select2-boxcombo-container {
  5434. text-align: <?php echo $left; ?>;
  5435. opacity: 0.5;
  5436. }
  5437. .select2-container .select2-selection--single .select2-selection__rendered {
  5438. padding-left: 6px;
  5439. }
  5440. /* Style used before the select2 js is executed on boxcombo */
  5441. #boxbookmark.boxcombo, #boxcombo.boxcombo {
  5442. text-align: left;
  5443. opacity: 0.3;
  5444. border-bottom: solid 1px rgba(0,0,0,.4) !important;
  5445. height: 26px;
  5446. line-height: 24px;
  5447. padding: 0 0 5px 5px;
  5448. vertical-align: top;
  5449. }
  5450. /* To emulate select 2 style */
  5451. .select2-container-multi-dolibarr .select2-choices-dolibarr .select2-search-choice-dolibarr {
  5452. padding: 3px 5px 2px 5px;
  5453. margin: 0 0 2px 3px;
  5454. position: relative;
  5455. line-height: 13px;
  5456. color: #444;
  5457. cursor: default;
  5458. border: 1px solid #ddd;
  5459. border-radius: 3px;
  5460. -webkit-box-shadow: 0 0 2px #fff inset, 0 1px 0 rgba(0, 0, 0, 0.05);
  5461. box-shadow: 0 0 2px #fff inset, 0 1px 0 rgba(0, 0, 0, 0.05);
  5462. background-clip: padding-box;
  5463. -webkit-touch-callout: none;
  5464. -webkit-user-select: none;
  5465. -moz-user-select: none;
  5466. -ms-user-select: none;
  5467. user-select: none;
  5468. background-color: #e4e4e4;
  5469. background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(20%, #f4f4f4), color-stop(50%, #f0f0f0), color-stop(52%, #e8e8e8), color-stop(100%, #eee));
  5470. background-image: -webkit-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eee 100%);
  5471. background-image: -moz-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eee 100%);
  5472. background-image: linear-gradient(to bottom, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eee 100%);
  5473. }
  5474. .select2-container-multi-dolibarr .select2-choices-dolibarr .select2-search-choice-dolibarr a {
  5475. font-weight: normal;
  5476. }
  5477. .select2-container-multi-dolibarr .select2-choices-dolibarr li {
  5478. float: left;
  5479. list-style: none;
  5480. }
  5481. .select2-container-multi-dolibarr .select2-choices-dolibarr {
  5482. height: auto !important;
  5483. height: 1%;
  5484. margin: 0;
  5485. padding: 0 5px 0 0;
  5486. position: relative;
  5487. cursor: text;
  5488. overflow: hidden;
  5489. }
  5490. /* ============================================================================== */
  5491. /* For categories */
  5492. /* ============================================================================== */
  5493. .noborderoncategories {
  5494. border: none !important;
  5495. border-radius: 5px !important;
  5496. box-shadow: none;
  5497. -webkit-box-shadow: none !important;
  5498. box-shadow: none !important;
  5499. margin-bottom: 0 !important;
  5500. }
  5501. span.noborderoncategories a, li.noborderoncategories a {
  5502. line-height: normal;
  5503. }
  5504. span.noborderoncategories {
  5505. padding: 3px 5px 0px 5px;
  5506. }
  5507. .categtextwhite, .treeview .categtextwhite.hover {
  5508. color: #fff !important;
  5509. }
  5510. .categtextblack {
  5511. color: #000 !important;
  5512. }
  5513. /* ============================================================================== */
  5514. /* External lib multiselect with checkbox */
  5515. /* ============================================================================== */
  5516. .multi-select-menu {
  5517. z-index: 10;
  5518. }
  5519. .multi-select-container {
  5520. display: inline-block;
  5521. position: relative;
  5522. }
  5523. .multi-select-menu {
  5524. position: absolute;
  5525. left: 0;
  5526. top: 0.8em;
  5527. float: left;
  5528. min-width: 100%;
  5529. background: #fff;
  5530. margin: 1em 0;
  5531. padding: 0.4em 0;
  5532. border: 1px solid #aaa;
  5533. box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  5534. display: none;
  5535. }
  5536. .multi-select-menu input {
  5537. margin-right: 0.3em;
  5538. vertical-align: 0.1em;
  5539. }
  5540. .multi-select-button {
  5541. display: inline-block;
  5542. max-width: 20em;
  5543. white-space: nowrap;
  5544. overflow: hidden;
  5545. text-overflow: ellipsis;
  5546. vertical-align: middle;
  5547. background-color: #fff;
  5548. cursor: default;
  5549. border: none;
  5550. border-bottom: solid 1px rgba(0,0,0,.2);
  5551. padding: 5px;
  5552. padding-left: 2px;
  5553. height: 17px;
  5554. }
  5555. .multi-select-button:focus {
  5556. outline: none;
  5557. border-bottom: 1px solid #666;
  5558. }
  5559. .multi-select-button:after {
  5560. content: "";
  5561. display: inline-block;
  5562. width: 0;
  5563. height: 0;
  5564. border-style: solid;
  5565. border-width: 0.5em 0.23em 0em 0.23em;
  5566. border-color: #444 transparent transparent transparent;
  5567. margin-left: 0.4em;
  5568. }
  5569. .multi-select-container--open .multi-select-menu { display: block; }
  5570. .multi-select-container--open .multi-select-button:after {
  5571. border-width: 0 0.4em 0.4em 0.4em;
  5572. border-color: transparent transparent #999 transparent;
  5573. }
  5574. .multi-select-menuitem {
  5575. clear: both;
  5576. float: left;
  5577. padding-left: 5px
  5578. }
  5579. label.multi-select-menuitem {
  5580. line-height: 24px;
  5581. }
  5582. /* ============================================================================== */
  5583. /* Native multiselect with checkbox */
  5584. /* ============================================================================== */
  5585. ul.ulselectedfields {
  5586. z-index: 90; /* To have the select box appears on first plan even when near buttons are decorated by jmobile */
  5587. }
  5588. dl.dropdown {
  5589. margin:0px;
  5590. padding:0px;
  5591. margin-left: 2px;
  5592. margin-right: 2px;
  5593. vertical-align: middle;
  5594. display: inline-block;
  5595. }
  5596. .dropdown dd, .dropdown dt {
  5597. margin:0px;
  5598. padding:0px;
  5599. }
  5600. .dropdown ul {
  5601. margin: -1px 0 0 0;
  5602. text-align: <?php echo $left; ?>;
  5603. }
  5604. .dropdown dd {
  5605. position:relative;
  5606. }
  5607. .dropdown dt a {
  5608. display:block;
  5609. overflow: hidden;
  5610. border:0;
  5611. }
  5612. .dropdown dt a span, .multiSel span {
  5613. cursor:pointer;
  5614. display:inline-block;
  5615. padding: 0 3px 2px 0;
  5616. }
  5617. .maxwidthsearch .dropdown dt a span, .multiSel span {
  5618. padding: 0 3px 2px 3px;
  5619. }
  5620. .dropdown span.value {
  5621. display:none;
  5622. }
  5623. .dropdown dd ul {
  5624. background-color: #FFF;
  5625. box-shadow: 1px 1px 10px #aaa;
  5626. display:none;
  5627. <?php echo $right; ?>:0px; /* pop is align on right */
  5628. padding: 0 0 0 0;
  5629. position:absolute;
  5630. top:2px;
  5631. list-style:none;
  5632. max-height: 264px;
  5633. overflow: auto;
  5634. }
  5635. .dropdown dd ul li {
  5636. white-space: nowrap;
  5637. font-weight: normal;
  5638. padding: 7px 8px 7px 8px;
  5639. /* color: rgb(<?php print $colortext; ?>); */
  5640. color: #000;
  5641. }
  5642. .dropdown dd ul li:hover {
  5643. background: #eee;
  5644. }
  5645. .dropdown dd ul li input[type="checkbox"] {
  5646. margin-<?php echo $right; ?>: 3px;
  5647. }
  5648. .dropdown dd ul li a, .dropdown dd ul li span {
  5649. padding: 3px;
  5650. display: block;
  5651. }
  5652. .dropdown dd ul li span {
  5653. color: #888;
  5654. }
  5655. .dropdown dd ul li a:hover {
  5656. background-color: #eee;
  5657. }
  5658. dd.dropdowndd ul li {
  5659. text-overflow: ellipsis;
  5660. overflow: hidden;
  5661. white-space: nowrap;
  5662. }
  5663. /* ============================================================================== */
  5664. /* Markdown rendering */
  5665. /* ============================================================================== */
  5666. .imgmd {
  5667. width: 90%;
  5668. }
  5669. .moduledesclong h1 {
  5670. padding-top: 10px;
  5671. padding-bottom: 20px;
  5672. }
  5673. /* ============================================================================== */
  5674. /* JMobile - Android */
  5675. /* ============================================================================== */
  5676. .searchpage .tagtr .tagtd {
  5677. padding-bottom: 3px;
  5678. }
  5679. .searchpage .tagtr .tagtd .button {
  5680. background: unset;
  5681. border: unset;
  5682. }
  5683. li.ui-li-divider .ui-link {
  5684. color: #FFF !important;
  5685. }
  5686. .ui-btn {
  5687. margin: 0.1em 2px
  5688. }
  5689. a.ui-link, a.ui-link:hover, .ui-btn:hover, span.ui-btn-text:hover, span.ui-btn-inner:hover {
  5690. text-decoration: none !important;
  5691. }
  5692. .ui-body-c {
  5693. background: #fff;
  5694. }
  5695. .ui-btn-inner {
  5696. min-width: .4em;
  5697. padding-left: 6px;
  5698. padding-right: 6px;
  5699. font-size: <?php print is_numeric($fontsize) ? $fontsize.'px' : $fontsize; ?>;
  5700. /* white-space: normal; */ /* Warning, enable this break the truncate feature */
  5701. }
  5702. .ui-btn-icon-right .ui-btn-inner {
  5703. padding-right: 30px;
  5704. }
  5705. .ui-btn-icon-left .ui-btn-inner {
  5706. padding-left: 30px;
  5707. }
  5708. .ui-select .ui-btn-icon-right .ui-btn-inner {
  5709. padding-right: 30px;
  5710. }
  5711. .ui-select .ui-btn-icon-left .ui-btn-inner {
  5712. padding-left: 30px;
  5713. }
  5714. .ui-select .ui-btn-icon-right .ui-icon {
  5715. right: 8px;
  5716. }
  5717. .ui-btn-icon-left > .ui-btn-inner > .ui-icon, .ui-btn-icon-right > .ui-btn-inner > .ui-icon {
  5718. margin-top: -10px;
  5719. }
  5720. select {
  5721. /* display: inline-block; */ /* We can't set this. This disable ability to make */
  5722. overflow:hidden;
  5723. white-space: nowrap; /* Enabling this make behaviour strange when selecting the empty value if this empty value is '' instead of '&nbsp;' */
  5724. text-overflow: ellipsis;
  5725. }
  5726. .fiche .ui-controlgroup {
  5727. margin: 0px;
  5728. padding-bottom: 0px;
  5729. }
  5730. div.ui-controlgroup-controls div.tabsElem
  5731. {
  5732. margin-top: 2px;
  5733. }
  5734. div.ui-controlgroup-controls div.tabsElem a
  5735. {
  5736. -webkit-box-shadow: 0 -3px 6px rgba(0,0,0,.2);
  5737. box-shadow: 0 -3px 6px rgba(0,0,0,.2);
  5738. }
  5739. div.ui-controlgroup-controls div.tabsElem a#active {
  5740. -webkit-box-shadow: 0 -3px 6px rgba(0,0,0,.3);
  5741. box-shadow: 0 -3px 6px rgba(0,0,0,.3);
  5742. }
  5743. a.tab span.ui-btn-inner
  5744. {
  5745. border: none;
  5746. padding: 0;
  5747. }
  5748. .ui-link {
  5749. color: rgb(<?php print $colortext; ?>);
  5750. }
  5751. .liste_titre .ui-link {
  5752. color: rgb(<?php print $colortexttitle; ?>) !important;
  5753. }
  5754. a.ui-link {
  5755. word-wrap: break-word;
  5756. }
  5757. /* force wrap possible onto field overflow does not works */
  5758. .formdoc .ui-btn-inner
  5759. {
  5760. white-space: normal;
  5761. overflow: hidden;
  5762. text-overflow: clip; /* "hidden" : do not exists as a text-overflow value (https://developer.mozilla.org/fr/docs/Web/CSS/text-overflow) */
  5763. }
  5764. /* Warning: setting this may make screen not beeing refreshed after a combo selection */
  5765. /*.ui-body-c {
  5766. background: #fff;
  5767. }*/
  5768. div.ui-radio, div.ui-checkbox
  5769. {
  5770. display: inline-block;
  5771. border-bottom: 0px !important;
  5772. }
  5773. .ui-checkbox input, .ui-radio input {
  5774. height: auto;
  5775. width: auto;
  5776. margin: 4px;
  5777. position: static;
  5778. }
  5779. div.ui-checkbox label+input, div.ui-radio label+input {
  5780. position: absolute;
  5781. }
  5782. .ui-mobile fieldset
  5783. {
  5784. padding-bottom: 10px; margin-bottom: 4px; border-bottom: 1px solid #AAAAAA !important;
  5785. }
  5786. ul.ulmenu {
  5787. border-radius: 0;
  5788. -webkit-border-radius: 0;
  5789. }
  5790. .ui-field-contain label.ui-input-text {
  5791. vertical-align: middle !important;
  5792. }
  5793. .ui-mobile fieldset {
  5794. border-bottom: none !important;
  5795. }
  5796. /* Style for first level menu with jmobile */
  5797. .ui-li .ui-btn-inner a.ui-link-inherit, .ui-li-static.ui-li {
  5798. padding: 1em 15px;
  5799. display: block;
  5800. }
  5801. .ui-btn-up-c {
  5802. font-weight: normal;
  5803. }
  5804. .ui-focus, .ui-btn:focus {
  5805. -webkit-box-shadow: none;
  5806. box-shadow: none;
  5807. }
  5808. .ui-bar-b {
  5809. /*border: 1px solid #888;*/
  5810. border: none;
  5811. background: none;
  5812. text-shadow: none;
  5813. color: rgb(<?php print $colortexttitlenotab; ?>) !important;
  5814. }
  5815. .ui-bar-b, .lilevel0 {
  5816. background-repeat: repeat-x;
  5817. border: none;
  5818. background: none;
  5819. text-shadow: none;
  5820. color: rgb(<?php print $colortexttitlenotab; ?>) !important;
  5821. }
  5822. .alilevel0 {
  5823. font-weight: normal !important;
  5824. }
  5825. .ui-li.ui-last-child, .ui-li.ui-field-contain.ui-last-child {
  5826. border-bottom-width: 0px !important;
  5827. }
  5828. .alilevel0 {
  5829. color: rgb(<?php echo $colortexttitle; ?>) !important;
  5830. }
  5831. .ulmenu {
  5832. box-shadow: none !important;
  5833. border-bottom: 1px solid #ccc;
  5834. }
  5835. .ui-btn-icon-right {
  5836. border-right: 1px solid #ccc !important;
  5837. }
  5838. .ui-body-c {
  5839. border: 1px solid #ccc;
  5840. text-shadow: none;
  5841. }
  5842. .ui-btn-up-c, .ui-btn-hover-c {
  5843. /* border: 1px solid #ccc; */
  5844. text-shadow: none;
  5845. }
  5846. .ui-body-c .ui-link, .ui-body-c .ui-link:visited, .ui-body-c .ui-link:hover {
  5847. color: rgb(<?php print $colortextlink; ?>);
  5848. }
  5849. .ui-btn-up-c .vsmenudisabled {
  5850. color: #<?php echo $colorshadowtitle; ?> !important;
  5851. text-shadow: none !important;
  5852. }
  5853. /*
  5854. .ui-btn-up-c {
  5855. background: transparent;
  5856. }
  5857. */
  5858. div.tabsElem a.tab {
  5859. background: transparent;
  5860. }
  5861. /*.ui-controlgroup-horizontal .ui-btn.ui-first-child {
  5862. -webkit-border-top-left-radius: 6px;
  5863. border-top-left-radius: 6px;
  5864. }
  5865. .ui-controlgroup-horizontal .ui-btn.ui-last-child {
  5866. -webkit-border-top-right-radius: 6px;
  5867. border-top-right-radius: 6px;
  5868. }*/
  5869. .alilevel1 {
  5870. color: rgb(<?php print $colortexttitlenotab; ?>) !important;
  5871. }
  5872. .lilevel1 {
  5873. border-top: 2px solid #444;
  5874. background: #fff ! important;
  5875. }
  5876. .lilevel1 div div a {
  5877. font-weight: bold !important;
  5878. }
  5879. .lilevel2
  5880. {
  5881. padding-left: 22px;
  5882. background: #fff ! important;
  5883. }
  5884. .lilevel3
  5885. {
  5886. padding-left: 44px;
  5887. background: #fff ! important;
  5888. }
  5889. .lilevel4
  5890. {
  5891. padding-left: 66px;
  5892. background: #fff ! important;
  5893. }
  5894. .lilevel5
  5895. {
  5896. padding-left: 88px;
  5897. background: #fff ! important;
  5898. }
  5899. /* ============================================================================== */
  5900. /* POS */
  5901. /* ============================================================================== */
  5902. .menu_choix1 a {
  5903. background: url('<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/menus/money.png', 1) ?>') top left no-repeat;
  5904. background-position-y: 15px;
  5905. }
  5906. .menu_choix2 a {
  5907. background: url('<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/menus/home.png', 1) ?>') top left no-repeat;
  5908. background-position-y: 15px;
  5909. }
  5910. .menu_choix1,.menu_choix2 {
  5911. font-size: 1.4em;
  5912. text-align: left;
  5913. border: 1px solid #666;
  5914. margin-right: 20px;
  5915. }
  5916. .menu_choix1 a, .menu_choix2 a {
  5917. display: block;
  5918. color: #fff;
  5919. text-decoration: none;
  5920. padding-top: 18px;
  5921. padding-left: 54px;
  5922. font-size: 14px;
  5923. height: 40px;
  5924. }
  5925. .menu_choix1 a:hover,.menu_choix2 a:hover {
  5926. color: #6d3f6d;
  5927. }
  5928. .menu li.menu_choix1 {
  5929. padding-top: 6px;
  5930. padding-right: 10px;
  5931. padding-bottom: 2px;
  5932. }
  5933. .menu li.menu_choix2 {
  5934. padding-top: 6px;
  5935. padding-right: 10px;
  5936. padding-bottom: 2px;
  5937. }
  5938. @media only screen and (max-width: 767px)
  5939. {
  5940. .menu_choix1 a, .menu_choix2 a {
  5941. background-size: 36px 36px;
  5942. background-position-y: 6px;
  5943. padding-left: 40px;
  5944. }
  5945. .menu li.menu_choix1, .menu li.menu_choix2 {
  5946. padding-left: 4px;
  5947. padding-right: 0;
  5948. }
  5949. .liste_articles {
  5950. margin-right: 0 !important;
  5951. }
  5952. }
  5953. /* ============================================================================== */
  5954. /* Public */
  5955. /* ============================================================================== */
  5956. /* The theme for public pages */
  5957. .public_body {
  5958. margin: 20px;
  5959. }
  5960. .public_border {
  5961. border: 1px solid #888;
  5962. }
  5963. /* ============================================================================== */
  5964. /* Ticket module */
  5965. /* ============================================================================== */
  5966. .ticketpublicarea {
  5967. margin-left: 15%;
  5968. margin-right: 15%;
  5969. }
  5970. .publicnewticketform {
  5971. /* margin-top: 25px !important; */
  5972. }
  5973. .ticketlargemargin {
  5974. padding-left: 50px;
  5975. padding-right: 50px;
  5976. padding-top: 10px;
  5977. }
  5978. @media only screen and (max-width: 767px)
  5979. {
  5980. .ticketlargemargin {
  5981. padding-left: 5px; padding-right: 5px;
  5982. }
  5983. .ticketpublicarea {
  5984. margin-left: 10px;
  5985. margin-right: 10px;
  5986. }
  5987. }
  5988. #cd-timeline {
  5989. position: relative;
  5990. padding: 2em 0;
  5991. margin-bottom: 2em;
  5992. }
  5993. #cd-timeline::before {
  5994. /* this is the vertical line */
  5995. content: '';
  5996. position: absolute;
  5997. top: 0;
  5998. left: 18px;
  5999. height: 100%;
  6000. width: 4px;
  6001. background: #d7e4ed;
  6002. }
  6003. @media only screen and (min-width: 1170px) {
  6004. #cd-timeline {
  6005. margin-bottom: 3em;
  6006. }
  6007. #cd-timeline::before {
  6008. left: 50%;
  6009. margin-left: -2px;
  6010. }
  6011. }
  6012. .cd-timeline-block {
  6013. position: relative;
  6014. margin: 2em 0;
  6015. }
  6016. .cd-timeline-block:after {
  6017. content: "";
  6018. display: table;
  6019. clear: both;
  6020. }
  6021. .cd-timeline-block:first-child {
  6022. margin-top: 0;
  6023. }
  6024. .cd-timeline-block:last-child {
  6025. margin-bottom: 0;
  6026. }
  6027. @media only screen and (min-width: 1170px) {
  6028. .cd-timeline-block {
  6029. margin: 4em 0;
  6030. }
  6031. .cd-timeline-block:first-child {
  6032. margin-top: 0;
  6033. }
  6034. .cd-timeline-block:last-child {
  6035. margin-bottom: 0;
  6036. }
  6037. }
  6038. .cd-timeline-img {
  6039. position: absolute;
  6040. top: 0;
  6041. left: 0;
  6042. width: 40px;
  6043. height: 40px;
  6044. border-radius: 50%;
  6045. box-shadow: 0 0 0 4px white, inset 0 2px 0 rgba(0, 0, 0, 0.08), 0 3px 0 4px rgba(0, 0, 0, 0.05);
  6046. background: #d7e4ed;
  6047. }
  6048. .cd-timeline-img img {
  6049. display: block;
  6050. width: 24px;
  6051. height: 24px;
  6052. position: relative;
  6053. left: 50%;
  6054. top: 50%;
  6055. margin-left: -12px;
  6056. margin-top: -12px;
  6057. }
  6058. .cd-timeline-img.cd-picture {
  6059. background: #75ce66;
  6060. }
  6061. .cd-timeline-img.cd-movie {
  6062. background: #c03b44;
  6063. }
  6064. .cd-timeline-img.cd-location {
  6065. background: #f0ca45;
  6066. }
  6067. @media only screen and (min-width: 1170px) {
  6068. .cd-timeline-img {
  6069. width: 60px;
  6070. height: 60px;
  6071. left: 50%;
  6072. margin-left: -30px;
  6073. /* Force Hardware Acceleration in WebKit */
  6074. -webkit-transform: translateZ(0);
  6075. -webkit-backface-visibility: hidden;
  6076. }
  6077. .cssanimations .cd-timeline-img.is-hidden {
  6078. visibility: hidden;
  6079. }
  6080. .cssanimations .cd-timeline-img.bounce-in {
  6081. visibility: visible;
  6082. -webkit-animation: cd-bounce-1 0.6s;
  6083. -moz-animation: cd-bounce-1 0.6s;
  6084. animation: cd-bounce-1 0.6s;
  6085. }
  6086. }
  6087. @-webkit-keyframes cd-bounce-1 {
  6088. 0% {
  6089. opacity: 0;
  6090. -webkit-transform: scale(0.5);
  6091. }
  6092. 60% {
  6093. opacity: 1;
  6094. -webkit-transform: scale(1.2);
  6095. }
  6096. 100% {
  6097. -webkit-transform: scale(1);
  6098. }
  6099. }
  6100. @-moz-keyframes cd-bounce-1 {
  6101. 0% {
  6102. opacity: 0;
  6103. -moz-transform: scale(0.5);
  6104. }
  6105. 60% {
  6106. opacity: 1;
  6107. -moz-transform: scale(1.2);
  6108. }
  6109. 100% {
  6110. -moz-transform: scale(1);
  6111. }
  6112. }
  6113. @keyframes cd-bounce-1 {
  6114. 0% {
  6115. opacity: 0;
  6116. -webkit-transform: scale(0.5);
  6117. -moz-transform: scale(0.5);
  6118. -ms-transform: scale(0.5);
  6119. -o-transform: scale(0.5);
  6120. transform: scale(0.5);
  6121. }
  6122. 60% {
  6123. opacity: 1;
  6124. -webkit-transform: scale(1.2);
  6125. -moz-transform: scale(1.2);
  6126. -ms-transform: scale(1.2);
  6127. -o-transform: scale(1.2);
  6128. transform: scale(1.2);
  6129. }
  6130. 100% {
  6131. -webkit-transform: scale(1);
  6132. -moz-transform: scale(1);
  6133. -ms-transform: scale(1);
  6134. -o-transform: scale(1);
  6135. transform: scale(1);
  6136. }
  6137. }
  6138. .cd-timeline-content {
  6139. position: relative;
  6140. margin-left: 60px;
  6141. background: white;
  6142. border-radius: 0.25em;
  6143. padding: 1em;
  6144. background-image: -o-linear-gradient(bottom, rgba(0,0,0,0.1) 0%, rgba(230,230,230,0.4) 100%);
  6145. background-image: -moz-linear-gradient(bottom, rgba(0,0,0,0.1) 0%, rgba(230,230,230,0.4) 100%);
  6146. background-image: -webkit-linear-gradient(bottom, rgba(0,0,0,0.1) 0%, rgba(230,230,230,0.4) 100%);
  6147. background-image: linear-gradient(bottom, rgba(0,0,0,0.1) 0%, rgba(230,230,230,0.4) 100%);
  6148. }
  6149. .cd-timeline-content:after {
  6150. content: "";
  6151. display: table;
  6152. clear: both;
  6153. }
  6154. .cd-timeline-content h2 {
  6155. color: #303e49;
  6156. }
  6157. .cd-timeline-content .cd-date {
  6158. font-size: 13px;
  6159. font-size: 0.8125rem;
  6160. }
  6161. .cd-timeline-content .cd-date {
  6162. display: inline-block;
  6163. }
  6164. .cd-timeline-content p {
  6165. margin: 1em 0;
  6166. line-height: 1.6;
  6167. }
  6168. .cd-timeline-content .cd-date {
  6169. float: left;
  6170. padding: .2em 0;
  6171. opacity: .7;
  6172. }
  6173. .cd-timeline-content::before {
  6174. content: '';
  6175. position: absolute;
  6176. top: 16px;
  6177. right: 100%;
  6178. height: 0;
  6179. width: 0;
  6180. border: 7px solid transparent;
  6181. border-right: 7px solid white;
  6182. }
  6183. @media only screen and (min-width: 768px) {
  6184. .cd-timeline-content h2 {
  6185. font-size: 20px;
  6186. font-size: 1.25rem;
  6187. }
  6188. .cd-timeline-content {
  6189. font-size: 16px;
  6190. font-size: 1rem;
  6191. }
  6192. .cd-timeline-content .cd-read-more, .cd-timeline-content .cd-date {
  6193. font-size: 14px;
  6194. font-size: 0.875rem;
  6195. }
  6196. }
  6197. @media only screen and (min-width: 1170px) {
  6198. .cd-timeline-content {
  6199. margin-left: 0;
  6200. padding: 1.6em;
  6201. width: 43%;
  6202. }
  6203. .cd-timeline-content::before {
  6204. top: 24px;
  6205. left: 100%;
  6206. border-color: transparent;
  6207. border-left-color: white;
  6208. }
  6209. .cd-timeline-content .cd-read-more {
  6210. float: left;
  6211. }
  6212. .cd-timeline-content .cd-date {
  6213. position: absolute;
  6214. width: 55%;
  6215. left: 115%;
  6216. top: 6px;
  6217. font-size: 16px;
  6218. font-size: 1rem;
  6219. }
  6220. .cd-timeline-block:nth-child(even) .cd-timeline-content {
  6221. float: right;
  6222. }
  6223. .cd-timeline-block:nth-child(even) .cd-timeline-content::before {
  6224. top: 24px;
  6225. left: auto;
  6226. right: 100%;
  6227. border-color: transparent;
  6228. border-right-color: white;
  6229. }
  6230. .cd-timeline-block:nth-child(even) .cd-timeline-content .cd-read-more {
  6231. float: right;
  6232. }
  6233. .cd-timeline-block:nth-child(even) .cd-timeline-content .cd-date {
  6234. left: auto;
  6235. right: 115%;
  6236. text-align: right;
  6237. }
  6238. }
  6239. /* ============================================================================== */
  6240. /* CSS style for debugbar */
  6241. /* ============================================================================== */
  6242. span.phpdebugbar-tooltip.phpdebugbar-tooltip-extra-wide, span.phpdebugbar-tooltip.phpdebugbar-tooltip-wide {
  6243. width: 250px !important;
  6244. }
  6245. .phpdebugbar-indicator span.phpdebugbar-tooltip {
  6246. opacity: .95 !important;
  6247. }
  6248. a.phpdebugbar-tab.phpdebugbar-active {
  6249. background-image: unset !important;
  6250. }
  6251. .phpdebugbar-indicator .fa {
  6252. font-family: "Font Awesome 5 Free";
  6253. font-weight: 600;
  6254. }
  6255. div.phpdebugbar-widgets-messages li.phpdebugbar-widgets-list-item span.phpdebugbar-widgets-value.phpdebugbar-widgets-warning:before,
  6256. div.phpdebugbar-widgets-messages li.phpdebugbar-widgets-list-item span.phpdebugbar-widgets-value.phpdebugbar-widgets-error:before,
  6257. div.phpdebugbar-widgets-exceptions a.phpdebugbar-widgets-editor-link:before,
  6258. div.phpdebugbar-widgets-sqlqueries span.phpdebugbar-widgets-database:before,
  6259. div.phpdebugbar-widgets-sqlqueries span.phpdebugbar-widgets-duration:before,
  6260. div.phpdebugbar-widgets-sqlqueries span.phpdebugbar-widgets-memory:before,
  6261. div.phpdebugbar-widgets-sqlqueries span.phpdebugbar-widgets-row-count:before,
  6262. div.phpdebugbar-widgets-sqlqueries span.phpdebugbar-widgets-copy-clipboard:before,
  6263. div.phpdebugbar-widgets-sqlqueries span.phpdebugbar-widgets-stmt-id:before,
  6264. div.phpdebugbar-widgets-templates span.phpdebugbar-widgets-render-time:before,
  6265. div.phpdebugbar-widgets-templates span.phpdebugbar-widgets-memory:before,
  6266. div.phpdebugbar-widgets-templates span.phpdebugbar-widgets-param-count:before,
  6267. div.phpdebugbar-widgets-templates span.phpdebugbar-widgets-type:before,
  6268. div.phpdebugbar-widgets-templates a.phpdebugbar-widgets-editor-link:before
  6269. {
  6270. font-family: "Font Awesome 5 Free" !important;
  6271. }
  6272. /* ============================================================================== */
  6273. /* CSS style used for jCrop */
  6274. /* ============================================================================== */
  6275. .jcrop-holder { background: unset !important; }
  6276. /* ============================================================================== */
  6277. /* CSS style used for jFlot */
  6278. /* ============================================================================== */
  6279. .dol-xaxis-vertical .flot-x-axis .flot-tick-label.tickLabel {
  6280. text-orientation: sideways;
  6281. font-weight: 400;
  6282. writing-mode: vertical-rl;
  6283. white-space: nowrap;
  6284. }
  6285. /* ============================================================================== */
  6286. /* For copy-paste feature */
  6287. /* ============================================================================== */
  6288. span.clipboardCPValueToPrint, div.clipboardCPValueToPrint {
  6289. display: inline-block;
  6290. }
  6291. span.clipboardCPValue.hidewithsize {
  6292. width: 0 !important;
  6293. display: inline-block;
  6294. color: transparent;
  6295. white-space: nowrap;
  6296. }
  6297. div.clipboardCPValue.hidewithsize {
  6298. width: 0 !important;
  6299. display: none;
  6300. color: transparent;
  6301. white-space: nowrap;
  6302. }
  6303. .clipboardCPShowOnHover .clipboardCPButton {
  6304. display: none;
  6305. }
  6306. /* To make a div popup, we must use a position aboluste inside a position relative */
  6307. .clipboardCPText {
  6308. position: relative;
  6309. }
  6310. .clipboardCPTextDivInside {
  6311. position: absolute;
  6312. background: #EEE;
  6313. color: 888;
  6314. border: 1px solid #DDD;
  6315. opacity: 1;
  6316. z-index: 20;
  6317. padding: 2px;
  6318. padding-left: 4px;
  6319. padding-right: 4px;
  6320. top: -5px;
  6321. left: 0px;
  6322. border-radius: 5px;
  6323. white-space: nowrap;
  6324. font-size: 0.95em;
  6325. box-shadow: 1px 1px 6px #ddd;
  6326. }
  6327. /* ============================================================================== */
  6328. /* CSS style used for hrm skill/rank (may be we can remove this) */
  6329. /* ============================================================================== */
  6330. .radio_js_bloc_number {
  6331. display:inline-block;
  6332. padding:5px 7px;
  6333. min-width:20px;
  6334. border-radius:3px;
  6335. border:1px solid #ccc;
  6336. background:#eee;
  6337. color:#555;
  6338. cursor:pointer;
  6339. margin:2px;
  6340. text-align:center;
  6341. }
  6342. .radio_js_bloc_number.selected {
  6343. transition:0.2s ease background;
  6344. background:#888;
  6345. color:#fff;
  6346. border-color:#555;
  6347. }
  6348. /* ============================================================================== */
  6349. /* CSS style used for small screen */
  6350. /* ============================================================================== */
  6351. .imgopensurveywizard
  6352. {
  6353. padding: 0 4px 0 4px;
  6354. }
  6355. @media only screen and (max-width: 767px)
  6356. {
  6357. .imgopensurveywizard, .imgautosize { width:95%; height: auto; }
  6358. #tooltip {
  6359. position: absolute;
  6360. width: <?php print dol_size(350, 'width'); ?>px;
  6361. }
  6362. div.tabBar {
  6363. padding-left: 8px;
  6364. padding-right: 8px;
  6365. -webkit-border-radius: 0;
  6366. border-radius: 0px;
  6367. border-right: none;
  6368. border-left: none;
  6369. }
  6370. .box-flex-container {
  6371. margin: 0 0 0 -8px !important;
  6372. }
  6373. }
  6374. @media only screen and (max-width: 1024px)
  6375. {
  6376. div#ecm-layout-west {
  6377. width: 100%;
  6378. clear: both;
  6379. }
  6380. div#ecm-layout-center {
  6381. width: 100%;
  6382. }
  6383. }
  6384. .menuhider {
  6385. width: <?php echo $disableimages ? 'auto' : '44'; ?>px;
  6386. }
  6387. /* nboftopmenuentries = <?php echo $nbtopmenuentries ?>, fontsize=<?php echo $fontsize ?> */
  6388. /* disableimages = <?php echo $disableimages; ?> */
  6389. /* rule to reduce top menu - 1st reduction */
  6390. @media only screen and (max-width: <?php echo round($nbtopmenuentries * $fontsize * 7, 0) + 300; ?>px)
  6391. {
  6392. div.tmenucenter {
  6393. max-width: <?php echo round($fontsize * 4); ?>px; /* size of viewport */
  6394. white-space: nowrap;
  6395. overflow: hidden;
  6396. text-overflow: ellipsis;
  6397. color: #<?php echo $colortextbackhmenu; ?>;
  6398. }
  6399. .mainmenuaspan {
  6400. font-size: 0.9em;
  6401. /* font-weight: 300; */
  6402. }
  6403. .topmenuimage {
  6404. background-size: 24px auto;
  6405. margin-top: 0px;
  6406. }
  6407. li.tmenu, li.tmenusel {
  6408. min-width: 34px;
  6409. }
  6410. div.mainmenu {
  6411. min-width: auto;
  6412. }
  6413. div.tmenuleft {
  6414. display: none;
  6415. }
  6416. }
  6417. /* rule to reduce top menu - 2nd reduction */
  6418. @media only screen and (max-width: <?php echo round($nbtopmenuentries * $fontsize * 4.5, 0) + 300; ?>px)
  6419. {
  6420. li.tmenucompanylogo {
  6421. display: none;
  6422. }
  6423. div.tmenucenter {
  6424. max-width: <?php echo round($fontsize * 2); ?>px; /* size of viewport */
  6425. text-overflow: clip;
  6426. }
  6427. .mainmenuaspan {
  6428. font-size: 10px;
  6429. padding-left: 0;
  6430. padding-right: 0;
  6431. }
  6432. .topmenuimage {
  6433. background-size: 20px auto;
  6434. margin-top: 2px;
  6435. }
  6436. }
  6437. /* rule to reduce top menu - 3rd reduction */
  6438. @media only screen and (max-width: 570px)
  6439. {
  6440. div.login_block {
  6441. border-right: 1px solid rgba(0,0,0,0.3);
  6442. top: auto;
  6443. }
  6444. div#tmenu_tooltip {
  6445. <?php if (GETPOST('optioncss', 'aZ09') == 'print') { ?>
  6446. display:none;
  6447. <?php } else { ?>
  6448. /* padding-<?php echo $right; ?>: 78px; */
  6449. <?php } ?>
  6450. }
  6451. li.tmenu, li.tmenusel {
  6452. min-width: 30px;
  6453. }
  6454. div.login_block {
  6455. border-right: 1px solid rgba(0,0,0,0.3);
  6456. }
  6457. div.tmenucenter {
  6458. text-overflow: clip;
  6459. }
  6460. .topmenuimage {
  6461. background-size: 20px auto;
  6462. margin-top: 2px !important;
  6463. }
  6464. div.mainmenu {
  6465. min-width: 20px;
  6466. }
  6467. #tooltip {
  6468. position: absolute;
  6469. width: <?php print dol_size(300, 'width'); ?>px;
  6470. }
  6471. select {
  6472. width: 98%;
  6473. min-width: 0 !important;
  6474. }
  6475. div.divphotoref {
  6476. padding-right: 5px;
  6477. }
  6478. img.photoref, div.photoref {
  6479. border: 1px solid rgba(0, 0, 0, 0.2);
  6480. -webkit-box-shadow: none;
  6481. box-shadow: none;
  6482. padding: 4px;
  6483. object-fit: contain;
  6484. }
  6485. .titlefield {
  6486. width: auto !important; /* We want to ignore the 30%, try to use more if you can */
  6487. }
  6488. .tableforfield>tr>td:first-child, .tableforfield>tbody>tr>td:first-child, div.tableforfield div.tagtr>div.tagtd:first-of-type {
  6489. /* max-width: 100px; */ /* but no more than 100px */
  6490. }
  6491. .tableforfield>tr>td:nth-child(2), .tableforfield>tbody>tr>td:nth-child(2), div.tableforfield div.tagtr>div.tagtd:nth-child(2) {
  6492. word-break: break-word;
  6493. }
  6494. table.table-fiche-title .col-title div.titre{
  6495. line-height: unset;
  6496. }
  6497. input#addedfile {
  6498. width: 95%;
  6499. }
  6500. #divbodywebsite {
  6501. word-break: break-all;
  6502. }
  6503. .websiteselectionsection {
  6504. border-left: unset;
  6505. border-right: unset;
  6506. padding-left: 5px;
  6507. }
  6508. .a-mesure, .a-mesure-disabled {
  6509. display: block;
  6510. margin-bottom: 6px;
  6511. padding-left: 12px;
  6512. padding-right: 12px;
  6513. }
  6514. .a-mesure, .a-mesure-disabled {
  6515. text-align: center;
  6516. }
  6517. }
  6518. <?php
  6519. include dol_buildpath($path.'/theme/'.$theme.'/dropdown.inc.php', 0);
  6520. include dol_buildpath($path.'/theme/'.$theme.'/info-box.inc.php', 0);
  6521. include dol_buildpath($path.'/theme/'.$theme.'/progress.inc.php', 0);
  6522. include dol_buildpath($path.'/theme/eldy/timeline.inc.php', 0); // actually md use same style as eldy theme
  6523. if (!empty($conf->global->THEME_CUSTOM_CSS)) {
  6524. print $conf->global->THEME_CUSTOM_CSS;
  6525. }
  6526. if (is_object($db)) {
  6527. $db->close();
  6528. }
  6529. ?>
  6530. /* This must be at end */
  6531. ::-webkit-scrollbar {
  6532. width: 12px;
  6533. }
  6534. /*::-webkit-scrollbar-button {
  6535. background: #bbb;
  6536. }*/
  6537. ::-webkit-scrollbar-track-piece {
  6538. background: #f4f4f4;
  6539. }
  6540. ::-webkit-scrollbar-thumb {
  6541. background: #ddd;
  6542. }​
  6543. div#topmenu-bookmark-dropdown {
  6544. position: fixed;
  6545. right: 20px;
  6546. }
  6547. /* Must be at end */
  6548. div.flot-text .flot-tick-label .tickLabel, .fa-color-unset {
  6549. color: unset;
  6550. }