global.inc.php 193 KB

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