style.css.php 204 KB

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