style.css.php 189 KB

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