style.css.php 166 KB

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