style.css.php 210 KB

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