global.inc.php 203 KB

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