style.css.php 136 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665
  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@capnetworks.com>
  5. * Copyright (C) 2011 Philippe Grand <philippe.grand@atoo-net.com>
  6. * Copyright (C) 2012 Juanjo Menent <jmenent@2byte.es>
  7. *
  8. * This program is free software; you can redistribute it and/or modify
  9. * it under the terms of the GNU General Public License as published by
  10. * the Free Software Foundation; either version 3 of the License, or
  11. * (at your option) any later version.
  12. *
  13. * This program is distributed in the hope that it will be useful,
  14. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  15. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  16. * GNU General Public License for more details.
  17. *
  18. * You should have received a copy of the GNU General Public License
  19. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  20. */
  21. /**
  22. * \file htdocs/theme/eldy/style.css.php
  23. * \brief File for CSS style sheet Eldy
  24. */
  25. //if (! defined('NOREQUIREUSER')) define('NOREQUIREUSER','1'); // Not disabled because need to load personalized language
  26. //if (! defined('NOREQUIREDB')) define('NOREQUIREDB','1'); // Not disabled to increase speed. Language code is found on url.
  27. if (! defined('NOREQUIRESOC')) define('NOREQUIRESOC','1');
  28. //if (! defined('NOREQUIRETRAN')) define('NOREQUIRETRAN','1'); // Not disabled because need to do translations
  29. if (! defined('NOCSRFCHECK')) define('NOCSRFCHECK',1);
  30. if (! defined('NOTOKENRENEWAL')) define('NOTOKENRENEWAL',1);
  31. if (! defined('NOLOGIN')) define('NOLOGIN',1); // File must be accessed by logon page so without login
  32. //if (! defined('NOREQUIREMENU')) define('NOREQUIREMENU',1); // We need top menu content
  33. if (! defined('NOREQUIREHTML')) define('NOREQUIREHTML',1);
  34. if (! defined('NOREQUIREAJAX')) define('NOREQUIREAJAX','1');
  35. // Colors
  36. $colorbackhmenu1='80,90,120'; // topmenu
  37. $colorbackvmenu1='255,255,255'; // vmenu
  38. $colortopbordertitle1='120,120,120'; // top border of title
  39. $colorbacktitle1='230,230,230'; // title of tables,list
  40. $colorbacktabcard1='255,255,255'; // card
  41. $colorbacktabactive='234,234,234';
  42. $colorbacklineimpair1='255,255,255'; // line impair
  43. $colorbacklineimpair2='255,255,255'; // line impair
  44. $colorbacklinepair1='248,248,248'; // line pair
  45. $colorbacklinepair2='248,248,248'; // line pair
  46. $colorbacklinepairhover='238,246,252'; // line pair
  47. $colorbackbody='255,255,255';
  48. $colortexttitlenotab='100,60,20';
  49. $colortexttitle='0,0,0';
  50. $colortext='0,0,0';
  51. $colortextlink='0,0,100';
  52. $fontsize='13';
  53. $fontsizesmaller='12';
  54. if (defined('THEME_ONLY_CONSTANT')) return;
  55. session_cache_limiter(FALSE);
  56. require_once '../../main.inc.php';
  57. require_once DOL_DOCUMENT_ROOT.'/core/lib/functions2.lib.php';
  58. // Load user to have $user->conf loaded (not done into main because of NOLOGIN constant defined)
  59. if (empty($user->id) && ! empty($_SESSION['dol_login'])) $user->fetch('',$_SESSION['dol_login']);
  60. // Define css type
  61. top_httphead('text/css');
  62. // Important: Following code is to avoid page request by browser and PHP CPU at each Dolibarr page access.
  63. if (empty($dolibarr_nocache)) header('Cache-Control: max-age=3600, public, must-revalidate');
  64. else header('Cache-Control: no-cache');
  65. // On the fly GZIP compression for all pages (if browser support it). Must set the bit 3 of constant to 1.
  66. if (isset($conf->global->MAIN_OPTIMIZE_SPEED) && ($conf->global->MAIN_OPTIMIZE_SPEED & 0x04)) { ob_start("ob_gzhandler"); }
  67. if (GETPOST('theme','alpha')) $conf->theme=GETPOST('theme','alpha'); // If theme was forced on URL
  68. $langs->load("main",0,1);
  69. $right=($langs->trans("DIRECTION")=='rtl'?'left':'right');
  70. $left=($langs->trans("DIRECTION")=='rtl'?'right':'left');
  71. $path=''; // This value may be used in future for external module to overwrite theme
  72. $theme='eldy'; // Value of theme
  73. if (! empty($conf->global->MAIN_OVERWRITE_THEME_RES)) { $path='/'.$conf->global->MAIN_OVERWRITE_THEME_RES; $theme=$conf->global->MAIN_OVERWRITE_THEME_RES; }
  74. // Define image path files and other constants
  75. $fontlist='roboto,arial,tahoma,verdana,helvetica'; //$fontlist='helvetica, verdana, arial, sans-serif';
  76. //$fontlist='"open sans", "Helvetica Neue", Helvetica, Arial, sans-serif;';
  77. $img_head='';
  78. $img_button=dol_buildpath($path.'/theme/'.$theme.'/img/button_bg.png',1);
  79. $dol_hide_topmenu=$conf->dol_hide_topmenu;
  80. $dol_hide_leftmenu=$conf->dol_hide_leftmenu;
  81. $dol_optimize_smallscreen=$conf->dol_optimize_smallscreen;
  82. $dol_no_mouse_hover=$conf->dol_no_mouse_hover;
  83. //$conf->global->THEME_ELDY_ENABLE_PERSONALIZED=0;
  84. //$user->conf->THEME_ELDY_ENABLE_PERSONALIZED=0;
  85. //var_dump($user->conf->THEME_ELDY_RGB);
  86. $useboldtitle=(isset($conf->global->THEME_ELDY_USEBOLDTITLE)?$conf->global->THEME_ELDY_USEBOLDTITLE:1);
  87. $borderwith=2;
  88. // Case of option always editable
  89. if (! isset($conf->global->THEME_ELDY_BACKBODY)) $conf->global->THEME_ELDY_BACKBODY=$colorbackbody;
  90. if (! isset($conf->global->THEME_ELDY_TOPMENU_BACK1)) $conf->global->THEME_ELDY_TOPMENU_BACK1=$colorbackhmenu1;
  91. if (! isset($conf->global->THEME_ELDY_BACKTITLE1)) $conf->global->THEME_ELDY_BACKTITLE1=$colorbacktitle1;
  92. if (! isset($conf->global->THEME_ELDY_USE_HOVER)) $conf->global->THEME_ELDY_USE_HOVER=$colorbacklinepairhover;
  93. if (! isset($conf->global->THEME_ELDY_TEXTTITLENOTAB)) $conf->global->THEME_ELDY_TEXTTITLENOTAB=$colortexttitlenotab;
  94. if (! isset($conf->global->THEME_ELDY_TEXTLINK)) $conf->global->THEME_ELDY_TEXTLINK=$colortextlink;
  95. // Case of option editable only if option THEME_ELDY_ENABLE_PERSONALIZED is on
  96. if (empty($conf->global->THEME_ELDY_ENABLE_PERSONALIZED))
  97. {
  98. $conf->global->THEME_ELDY_VERMENU_BACK1='255,255,255'; // vmenu
  99. $conf->global->THEME_ELDY_BACKTABCARD1='255,255,255'; // card
  100. $conf->global->THEME_ELDY_BACKTABACTIVE='234,234,234';
  101. $conf->global->THEME_ELDY_TEXT='0,0,0';
  102. $conf->global->THEME_ELDY_FONT_SIZE1='13';
  103. $conf->global->THEME_ELDY_FONT_SIZE2='12';
  104. }
  105. // Case of option availables only if THEME_ELDY_ENABLE_PERSONALIZED is on
  106. $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);
  107. $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);
  108. $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);
  109. $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);
  110. $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);
  111. $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);
  112. $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);
  113. $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);
  114. $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);
  115. $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);
  116. $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);
  117. $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);
  118. $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);
  119. $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);
  120. $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);
  121. $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);
  122. $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);
  123. // Hover color
  124. $colorbacklinepairhover=((! isset($conf->global->THEME_ELDY_USE_HOVER) || (string) $conf->global->THEME_ELDY_USE_HOVER === '0')?'':($conf->global->THEME_ELDY_USE_HOVER === '1'?'edf4fb':$conf->global->THEME_ELDY_USE_HOVER));
  125. if (! empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED))
  126. {
  127. $colorbacklinepairhover=((! isset($user->conf->THEME_ELDY_USE_HOVER) || $user->conf->THEME_ELDY_USE_HOVER === '0')?'':($user->conf->THEME_ELDY_USE_HOVER === '1'?'edf4fb':$user->conf->THEME_ELDY_USE_HOVER));
  128. }
  129. //$colortopbordertitle1=$colorbackhmenu1;
  130. // Set text color to black or white
  131. $colorbackhmenu1=join(',',colorStringToArray($colorbackhmenu1)); // Normalize value to 'x,y,z'
  132. $tmppart=explode(',',$colorbackhmenu1);
  133. $tmpval=(! empty($tmppart[0]) ? $tmppart[0] : 0)+(! empty($tmppart[1]) ? $tmppart[1] : 0)+(! empty($tmppart[2]) ? $tmppart[2] : 0);
  134. if ($tmpval <= 460) $colortextbackhmenu='FFFFFF';
  135. else $colortextbackhmenu='000000';
  136. $colorbackvmenu1=join(',',colorStringToArray($colorbackvmenu1)); // Normalize value to 'x,y,z'
  137. $tmppart=explode(',',$colorbackvmenu1);
  138. $tmpval=(! empty($tmppart[0]) ? $tmppart[0] : 0)+(! empty($tmppart[1]) ? $tmppart[1] : 0)+(! empty($tmppart[2]) ? $tmppart[2] : 0);
  139. if ($tmpval <= 460) { $colortextbackvmenu='FFFFFF'; }
  140. else { $colortextbackvmenu='000000'; }
  141. $colorbacktitle1=join(',',colorStringToArray($colorbacktitle1)); // Normalize value to 'x,y,z'
  142. $tmppart=explode(',',$colorbacktitle1);
  143. if ($colortexttitle == '')
  144. {
  145. $tmpval=(! empty($tmppart[0]) ? $tmppart[0] : 0)+(! empty($tmppart[1]) ? $tmppart[1] : 0)+(! empty($tmppart[2]) ? $tmppart[2] : 0);
  146. if ($tmpval <= 460) { $colortexttitle='FFFFFF'; $colorshadowtitle='888888'; }
  147. else { $colortexttitle='000000'; $colorshadowtitle='FFFFFF'; }
  148. }
  149. $colorbacktabcard1=join(',',colorStringToArray($colorbacktabcard1)); // Normalize value to 'x,y,z'
  150. $tmppart=explode(',',$colorbacktabcard1);
  151. $tmpval=(! empty($tmppart[0]) ? $tmppart[0] : 0)+(! empty($tmppart[1]) ? $tmppart[1] : 0)+(! empty($tmppart[2]) ? $tmppart[2] : 0);
  152. if ($tmpval <= 460) { $colortextbacktab='FFFFFF'; }
  153. else { $colortextbacktab='111111'; }
  154. // Format color value to match expected format (may be 'FFFFFF' or '255,255,255')
  155. $colorbackhmenu1=join(',',colorStringToArray($colorbackhmenu1));
  156. $colorbackvmenu1=join(',',colorStringToArray($colorbackvmenu1));
  157. $colorbacktitle1=join(',',colorStringToArray($colorbacktitle1));
  158. $colorbacktabcard1=join(',',colorStringToArray($colorbacktabcard1));
  159. $colorbacktabactive=join(',',colorStringToArray($colorbacktabactive));
  160. $colorbacklineimpair1=join(',',colorStringToArray($colorbacklineimpair1));
  161. $colorbacklineimpair2=join(',',colorStringToArray($colorbacklineimpair2));
  162. $colorbacklinepair1=join(',',colorStringToArray($colorbacklinepair1));
  163. $colorbacklinepair2=join(',',colorStringToArray($colorbacklinepair2));
  164. if ($colorbacklinepairhover != '') $colorbacklinepairhover=join(',',colorStringToArray($colorbacklinepairhover));
  165. $colorbackbody=join(',',colorStringToArray($colorbackbody));
  166. $colortexttitlenotab=join(',',colorStringToArray($colortexttitlenotab));
  167. $colortexttitle=join(',',colorStringToArray($colortexttitle));
  168. $colortext=join(',',colorStringToArray($colortext));
  169. $colortextlink=join(',',colorStringToArray($colortextlink));
  170. $nbtopmenuentries=$menumanager->showmenu('topnb');
  171. print '/*'."\n";
  172. print 'colorbackbody='.$colorbackbody."\n";
  173. print 'colorbackvmenu1='.$colorbackvmenu1."\n";
  174. print 'colorbackhmenu1='.$colorbackhmenu1."\n";
  175. print 'colorbacktitle1='.$colorbacktitle1."\n";
  176. print 'colorbacklineimpair1='.$colorbacklineimpair1."\n";
  177. print 'colorbacklineimpair2='.$colorbacklineimpair2."\n";
  178. print 'colorbacklinepair1='.$colorbacklinepair1."\n";
  179. print 'colorbacklinepair2='.$colorbacklinepair2."\n";
  180. print 'colorbacklinepairhover='.$colorbacklinepairhover."\n";
  181. print '$colortexttitlenotab='.$colortexttitlenotab."\n";
  182. print '$colortexttitle='.$colortexttitle."\n";
  183. print '$colortext='.$colortext."\n";
  184. print '$colortextlink='.$colortextlink."\n";
  185. print '$colortextbackhmenu='.$colortextbackhmenu."\n";
  186. print '$colortextbackvmenu='.$colortextbackvmenu."\n";
  187. print 'dol_hide_topmenu='.$dol_hide_topmenu."\n";
  188. print 'dol_hide_leftmenu='.$dol_hide_leftmenu."\n";
  189. print 'dol_optimize_smallscreen='.$dol_optimize_smallscreen."\n";
  190. print 'dol_no_mouse_hover='.$dol_no_mouse_hover."\n";
  191. print 'dol_screenwidth='.$_SESSION['dol_screenwidth']."\n";
  192. print 'dol_screenheight='.$_SESSION['dol_screenheight']."\n";
  193. print 'fontsize='.$fontsize."\n";
  194. print 'nbtopmenuentries='.$nbtopmenuentries."\n";
  195. print '*/'."\n";
  196. ?>
  197. /* ============================================================================== */
  198. /* Default styles */
  199. /* ============================================================================== */
  200. body {
  201. <?php if (GETPOST('optioncss','aZ09') == 'print') { ?>
  202. background-color: #FFFFFF;
  203. <?php } else { ?>
  204. background: rgb(<?php print $colorbackbody; ?>);
  205. <?php } ?>
  206. color: rgb(<?php echo $colortext; ?>);
  207. font-size: <?php print $fontsize ?>px;
  208. line-height: 1.4;
  209. font-family: <?php print $fontlist ?>;
  210. margin-top: 0;
  211. margin-bottom: 0;
  212. margin-right: 0;
  213. margin-left: 0;
  214. <?php print 'direction: '.$langs->trans("DIRECTION").";\n"; ?>
  215. }
  216. th a, .thumbstat, a.tab { color: rgb(<?php print $colortexttitle; ?>) !important; font-weight: bold !important; }
  217. a.tab { font-weight: bold !important; }
  218. a:link, a:visited, a:hover, a:active { font-family: <?php print $fontlist ?>; font-weight: normal; color: rgb(<?php print $colortextlink; ?>); text-decoration: none; }
  219. a:hover { text-decoration: underline; color: rgb(<?php print $colortextlink; ?>); }
  220. a.commonlink { color: rgb(<?php print $colortextlink; ?>) !important; text-decoration: none; }
  221. th.liste_titre a div div:hover, th.liste_titre_sel a div div:hover { text-decoration: underline; }
  222. input, input.flat, textarea, textarea.flat, form.flat select, select, select.flat, .dataTables_length label select {
  223. background-color: #FFF;
  224. }
  225. input.select2-input {
  226. border-bottom: none ! important;
  227. }
  228. .select2-choice {
  229. border: none;
  230. border-bottom: solid 1px rgba(0,0,0,.2) !important; /* required to avoid to lose bottom line when focus is lost on select2. */
  231. }
  232. .liste_titre input[name=monthvalid], .liste_titre input[name=search_smonth], .liste_titre input[name=search_emonth], .liste_titre input[name=smonth], .liste_titre input[name=month], .liste_titre input[name=month_lim] {
  233. margin-right: 4px;
  234. }
  235. input[type=submit] {
  236. margin-left: 5px;
  237. }
  238. input, input.flat, form.flat select, select, select.flat, .dataTables_length label select {
  239. <?php if (empty($conf->global->THEME_ELDY_SHOW_BORDER_INPUT))
  240. print "border: none;"
  241. ?>
  242. }
  243. input, input.flat, textarea, textarea.flat, form.flat select, select, select.flat, .dataTables_length label select {
  244. font-size: <?php print $fontsize ?>px;
  245. font-family: <?php print $fontlist ?>;
  246. outline: none;
  247. margin: 0px 0px 0px 0px;
  248. border-bottom: solid 1px rgba(0,0,0,.4);
  249. }
  250. input {
  251. line-height: 17px;
  252. padding: 4px;
  253. padding-left: 5px;
  254. }
  255. select {
  256. padding: 4px;
  257. padding-left: 2px;
  258. }
  259. input, select {
  260. margin-left:0px;
  261. margin-bottom:1px;
  262. margin-top:1px;
  263. }
  264. /* Focus definitions must be after standard definition */
  265. textarea:focus, button:focus {
  266. /* v6 box-shadow: 0 0 4px #8091BF; */
  267. border: 1px solid #aaa !important;
  268. }
  269. input:focus, select:focus {
  270. border-bottom: 1px solid #666;
  271. }
  272. textarea.cke_source:focus
  273. {
  274. box-shadow: none;
  275. }
  276. select {
  277. /* padding: 4px 4px 2px 1px; */
  278. }
  279. textarea {
  280. border-radius: 0;
  281. border-top:solid 1px rgba(0,0,0,.2);
  282. border-left:solid 1px rgba(0,0,0,.2);
  283. border-right:solid 1px rgba(0,0,0,.2);
  284. border-bottom:solid 1px rgba(0,0,0,.2);
  285. padding:4px;
  286. margin-left:0px;
  287. margin-bottom:1px;
  288. margin-top:1px;
  289. }
  290. input.removedassigned {
  291. padding: 2px !important;
  292. vertical-align: text-bottom;
  293. margin-bottom: -3px;
  294. }
  295. input.smallpadd { /* Used for timesheet input */
  296. padding-left: 0px !important;
  297. padding-right: 0px !important;
  298. }
  299. input.buttongen {
  300. vertical-align: middle;
  301. }
  302. span.timesheetalreadyrecorded input {
  303. /*font-size: smaller;*/
  304. border: none;
  305. /*background: transparent;*/
  306. }
  307. select.flat, form.flat select {
  308. font-weight: normal;
  309. }
  310. .optionblue {
  311. color: rgb(<?php echo $colortextlink; ?>) !important;
  312. }
  313. .select2-results .select2-highlighted.optionblue {
  314. color: #FFF !important;
  315. }
  316. .optiongrey, .opacitymedium {
  317. opacity: 0.5;
  318. }
  319. .opacityhigh {
  320. opacity: 0.2;
  321. }
  322. .opacitytransp {
  323. opacity: 0;
  324. }
  325. select:invalid { color: gray; }
  326. input:disabled {
  327. background:#ddd;
  328. }
  329. input.liste_titre {
  330. box-shadow: none !important;
  331. }
  332. input.removedfile {
  333. padding: 0px !important;
  334. border: 0px !important;
  335. vertical-align: text-bottom;
  336. }
  337. textarea:disabled {
  338. background:#ddd;
  339. }
  340. input[type=file ] { background-color: transparent; border-top: none; border-left: none; border-right: none; box-shadow: none; }
  341. input[type=checkbox] { background-color: transparent; border: none; box-shadow: none; }
  342. input[type=radio] { background-color: transparent; border: none; box-shadow: none; }
  343. input[type=image] { background-color: transparent; border: none; box-shadow: none; }
  344. input:-webkit-autofill {
  345. background-color: #FDFFF0 !important;
  346. background-image:none !important;
  347. -webkit-box-shadow: 0 0 0 50px #FDFFF0 inset;
  348. }
  349. ::-webkit-input-placeholder { color:#ccc; }
  350. :-moz-placeholder { color:#bbb; } /* firefox 18- */
  351. ::-moz-placeholder { color:#bbb; } /* firefox 19+ */
  352. :-ms-input-placeholder { color:#ccc; } /* ie */
  353. input:-moz-placeholder { color:#ccc; }
  354. input[name=weight], input[name=volume], input[name=surface], input[name=sizeheight] { margin-right: 6px; }
  355. input[name=surface] { margin-right: 4px; }
  356. fieldset { border: 1px solid #AAAAAA !important; }
  357. .legendforfieldsetstep { padding-bottom: 10px; }
  358. hr { border: 0; border-top: 1px solid #ccc; }
  359. .button, .buttonDelete, input[name="sbmtConnexion"] {
  360. font-family: <?php print $fontlist ?>;
  361. border-color: #c5c5c5;
  362. border-color: rgba(0, 0, 0, 0.15) rgba(0, 0, 0, 0.15) rgba(0, 0, 0, 0.25);
  363. display: inline-block;
  364. padding: 3px 14px;
  365. margin-bottom: 0;
  366. margin-top: 0;
  367. text-align: center;
  368. cursor: pointer;
  369. text-decoration: none !important;
  370. text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
  371. background-color: #f5f5f5;
  372. background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6);
  373. background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6));
  374. background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6);
  375. background-image: -o-linear-gradient(top, #ffffff, #e6e6e6);
  376. background-image: linear-gradient(to bottom, #ffffff, #e6e6e6);
  377. background-repeat: repeat-x;
  378. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe6e6e6', GradientType=0);
  379. border-color: #e6e6e6 #e6e6e6 #bfbfbf;
  380. border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  381. filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
  382. border: 1px solid #bbbbbb;
  383. border-bottom-color: #a2a2a2;
  384. -webkit-border-radius: 2px;
  385. -moz-border-radius: 2px;
  386. border-radius: 2px;
  387. }
  388. .button:focus, .buttonDelete:focus {
  389. -moz-box-shadow: 0px 0px 6px 1px rgba(0, 0, 60, 0.2), 0px 0px 0px rgba(60,60,60,0.1);
  390. -webkit-box-shadow: 0px 0px 6px 1px rgba(0, 0, 60, 0.2), 0px 0px 0px rgba(60,60,60,0.1);
  391. box-shadow: 0px 0px 6px 1px rgba(0, 0, 60, 0.2), 0px 0px 0px rgba(60,60,60,0.1);
  392. }
  393. .button:hover, .buttonDelete:hover {
  394. -moz-box-shadow: 0px 0px 6px 1px rgba(0, 0, 0, 0.2), 0px 0px 0px rgba(60,60,60,0.1);
  395. -webkit-box-shadow: 0px 0px 6px 1px rgba(0, 0, 0, 0.2), 0px 0px 0px rgba(60,60,60,0.1);
  396. box-shadow: 0px 0px 6px 1px rgba(0, 0, 0, 0.2), 0px 0px 0px rgba(60,60,60,0.1);
  397. }
  398. .button:disabled, .buttonDelete:disabled {
  399. opacity: 0.4;
  400. filter: alpha(opacity=40); /* For IE8 and earlier */
  401. box-shadow: none;
  402. -webkit-box-shadow: none;
  403. -moz-box-shadow: none;
  404. cursor: auto;
  405. }
  406. .buttonRefused {
  407. pointer-events: none;
  408. cursor: default;
  409. opacity: 0.4;
  410. filter: alpha(opacity=40); /* For IE8 and earlier */
  411. box-shadow: none;
  412. -webkit-box-shadow: none;
  413. -moz-box-shadow: none;
  414. }
  415. form {
  416. padding:0px;
  417. margin:0px;
  418. }
  419. form#addproduct {
  420. padding-top: 6px;
  421. }
  422. div.float
  423. {
  424. float:<?php print $left; ?>;
  425. }
  426. div.floatright
  427. {
  428. float:<?php print $right; ?>;
  429. }
  430. .inline-block
  431. {
  432. display:inline-block;
  433. }
  434. th .button {
  435. -moz-box-shadow: none !important;
  436. -webkit-box-shadow: none !important;
  437. box-shadow: none !important;
  438. -moz-border-radius:0px !important;
  439. -webkit-border-radius:0px !important;
  440. border-radius:0px !important;
  441. }
  442. .maxwidthsearch { /* Max width of column with the search picto */
  443. width: 54px;
  444. }
  445. .valigntop {
  446. vertical-align: top;
  447. }
  448. .valignmiddle {
  449. vertical-align: middle;
  450. }
  451. .valignbottom {
  452. vertical-align: bottom;
  453. }
  454. .valigntextbottom {
  455. vertical-align: text-bottom;
  456. }
  457. .centpercent {
  458. width: 100%;
  459. }
  460. .quatrevingtpercent, .inputsearch {
  461. width: 80%;
  462. }
  463. .soixantepercent {
  464. width: 60%;
  465. }
  466. textarea.centpercent {
  467. width: 96%;
  468. }
  469. .center {
  470. text-align: center;
  471. margin: 0px auto;
  472. }
  473. .left {
  474. text-align: <?php print $left; ?>;
  475. }
  476. .right {
  477. text-align: <?php print $right; ?>;
  478. }
  479. .nowrap {
  480. white-space: <?php print ($dol_optimize_smallscreen?'normal':'nowrap'); ?>;
  481. }
  482. .nowraponall {
  483. white-space: nowrap;
  484. }
  485. .nobold {
  486. font-weight: normal !important;
  487. }
  488. .nounderline {
  489. text-decoration: none;
  490. }
  491. .paddingleft {
  492. padding-<?php print $left; ?>: 4px;
  493. }
  494. .paddingright {
  495. padding-<?php print $right; ?>: 4px;
  496. }
  497. .cursorpointer {
  498. cursor: pointer;
  499. }
  500. .cursormove {
  501. cursor: move;
  502. }
  503. .badge {
  504. display: inline-block;
  505. min-width: 10px;
  506. padding: 2px 5px;
  507. font-size: 10px;
  508. font-weight: 700;
  509. line-height: 0.9em;
  510. color: #fff;
  511. text-align: center;
  512. white-space: nowrap;
  513. vertical-align: baseline;
  514. background-color: #777;
  515. border-radius: 10px;
  516. }
  517. .borderrightlight
  518. {
  519. border-right: 1px solid #DDD;
  520. }
  521. #formuserfile {
  522. margin-top: 4px;
  523. }
  524. #formuserfile_link {
  525. margin-left: 1px;
  526. }
  527. .listofinvoicetype {
  528. height: 28px;
  529. vertical-align: middle;
  530. }
  531. div.divsearchfield {
  532. float: <?php print $left; ?>;
  533. margin-<?php print $right; ?>: 12px;
  534. margin-<?php print $left; ?>: 2px;
  535. margin-top: 4px;
  536. margin-bottom: 4px;
  537. padding-left: 2px;
  538. }
  539. div.confirmmessage {
  540. padding-top: 6px;
  541. }
  542. div.myavailability {
  543. padding-top: 6px;
  544. }
  545. .googlerefreshcal {
  546. padding-top: 4px;
  547. padding-bottom: 4px;
  548. }
  549. .checkallactions {
  550. /* vertical-align: text-bottom;
  551. margin-top: 6px; */
  552. margin-left: 2px; /* left must be same than right to keep checkbox centered */
  553. margin-right: 2px; /* left must be same than right to keep checkbox centered */
  554. }
  555. .selectlimit, .marginrightonly {
  556. margin-right: 10px !important;
  557. }
  558. .selectlimit, .selectlimit:focus {
  559. border-left: none !important;
  560. border-top: none !important;
  561. border-right: none !important;
  562. outline: none;
  563. }
  564. .strikefordisabled {
  565. text-decoration: line-through;
  566. }
  567. .widthdate {
  568. width: 130px;
  569. }
  570. /* using a tdoverflowxxx make the min-width not working */
  571. .tdoverflow {
  572. max-width: 0;
  573. overflow: hidden;
  574. text-overflow: ellipsis;
  575. white-space: nowrap;
  576. }
  577. .tdoverflowmax100 { /* For tdoverflow, the max-midth become a minimum ! */
  578. max-width: 100px;
  579. overflow: hidden;
  580. text-overflow: ellipsis;
  581. white-space: nowrap;
  582. }
  583. .tdoverflowmax200 { /* For tdoverflow, the max-midth become a minimum ! */
  584. max-width: 200px;
  585. overflow: hidden;
  586. text-overflow: ellipsis;
  587. white-space: nowrap;
  588. }
  589. .tdoverflowmax300 { /* For tdoverflow, the max-midth become a minimum ! */
  590. max-width: 300px;
  591. overflow: hidden;
  592. text-overflow: ellipsis;
  593. white-space: nowrap;
  594. }
  595. .tdoverflowauto {
  596. max-width: 0;
  597. overflow: auto;
  598. }
  599. .tablelistofcalendars {
  600. margin-top: 25px !important;
  601. }
  602. .amountalreadypaid {
  603. }
  604. .amountpaymentcomplete {
  605. color: #008800;
  606. font-weight: bold;
  607. }
  608. .amountremaintopay {
  609. color: #880000;
  610. font-weight: bold;
  611. }
  612. .amountremaintopayback {
  613. font-weight: bold;
  614. }
  615. .savingdocmask {
  616. margin-top: 6px;
  617. margin-bottom: 12px;
  618. }
  619. /* For the long description of module */
  620. .moduledesclong p img, .moduledesclong p a img {
  621. max-width: 90% !important;
  622. height: auto !important;
  623. }
  624. /* DOL_XXX for future usage (when left menu has been removed). If we do not use datatable */
  625. /*.table-responsive {
  626. width: calc(100% - 330px);
  627. margin-bottom: 15px;
  628. overflow-y: hidden;
  629. -ms-overflow-style: -ms-autohiding-scrollbar;
  630. }*/
  631. /* Style used for most tables */
  632. .div-table-responsive, .div-table-responsive-no-min {
  633. overflow-x: auto;
  634. min-height: 0.01%;
  635. }
  636. .div-table-responsive {
  637. line-height: 100%;
  638. }
  639. /* Style used for full page tables with field selector and no content after table (priority before previous for such tables) */
  640. div.fiche>form>div.div-table-responsive, div.fiche>form>div.div-table-responsive-no-min {
  641. overflow-x: auto;
  642. }
  643. div.fiche>form>div.div-table-responsive {
  644. min-height: 390px;
  645. }
  646. .flexcontainer {
  647. display: inline-flex;
  648. flex-flow: row wrap;
  649. justify-content: flex-start;
  650. }
  651. .thumbstat {
  652. flex: 1 1 116px;
  653. }
  654. .thumbstat150 {
  655. flex: 1 1 170px;
  656. }
  657. .thumbstat, thumbstat150 {
  658. /* flex-grow: 1; */
  659. /* flex-shrink: 1; */
  660. /* flex-basis: 140px; */
  661. width: 100%;
  662. justify-content: flex-start;
  663. align-self: flex-start;
  664. }
  665. /* ============================================================================== */
  666. /* Styles to hide objects */
  667. /* ============================================================================== */
  668. .clearboth { clear:both; }
  669. .hideobject { display: none; }
  670. .minwidth50 { min-width: 50px; }
  671. /* rule for not too small screen only */
  672. @media only screen and (min-width: <?php echo round($nbtopmenuentries * $fontsize * 3.4, 0) + 7; ?>px)
  673. {
  674. .width50 { width: 50px; }
  675. .width100 { width: 100px; }
  676. .width200 { width: 200px; }
  677. .minwidth100 { min-width: 100px; }
  678. .minwidth200 { min-width: 200px; }
  679. .minwidth300 { min-width: 300px; }
  680. .minwidth400 { min-width: 400px; }
  681. .minwidth500 { min-width: 500px; }
  682. .minwidth50imp { min-width: 50px !important; }
  683. .minwidth75imp { min-width: 75px !important; }
  684. .minwidth100imp { min-width: 100px !important; }
  685. .minwidth200imp { min-width: 200px !important; }
  686. .minwidth300imp { min-width: 300px !important; }
  687. .minwidth400imp { min-width: 400px !important; }
  688. .minwidth500imp { min-width: 500px !important; }
  689. }
  690. .width50 { width: 50px; }
  691. .width100 { width: 100px; }
  692. .width200 { width: 200px; }
  693. .maxwidth25 { max-width: 25px; }
  694. .maxwidth50 { max-width: 50px; }
  695. .maxwidth75 { max-width: 75px; }
  696. .maxwidth100 { max-width: 100px; }
  697. .maxwidth150 { max-width: 150px; }
  698. .maxwidth200 { max-width: 200px; }
  699. .maxwidth300 { max-width: 300px; }
  700. .maxwidth400 { max-width: 400px; }
  701. .maxwidth500 { max-width: 500px; }
  702. .maxwidth50imp { max-width: 50px !important; }
  703. .maxwidth75imp { max-width: 75px !important; }
  704. .minheight20 { min-height: 20px; }
  705. .minheight40 { min-height: 40px; }
  706. .titlefieldcreate { width: 20%; }
  707. .titlefield { width: 25%; }
  708. .titlefieldmiddle { width: 50%; }
  709. .imgmaxwidth180 { max-width: 180px; }
  710. /* Force values for small screen 1400 */
  711. @media only screen and (max-width: 1400px)
  712. {
  713. .titlefield { width: 30% !important; }
  714. .titlefieldcreate { width: 30% !important; }
  715. .minwidth50imp { min-width: 50px !important; }
  716. .minwidth75imp { min-width: 75px !important; }
  717. .minwidth100imp { min-width: 100px !important; }
  718. .minwidth200imp { min-width: 200px !important; }
  719. .minwidth300imp { min-width: 300px !important; }
  720. .minwidth400imp { min-width: 300px !important; }
  721. .minwidth500imp { min-width: 300px !important; }
  722. }
  723. /* Force values for small screen 1000 */
  724. @media only screen and (max-width: 1000px)
  725. {
  726. .maxwidthonsmartphone { max-width: 100px; }
  727. .minwidth50imp { min-width: 50px !important; }
  728. .minwidth75imp { min-width: 70px !important; }
  729. .minwidth100imp { min-width: 80px !important; }
  730. .minwidth200imp { min-width: 100px !important; }
  731. .minwidth300imp { min-width: 100px !important; }
  732. .minwidth400imp { min-width: 150px !important; }
  733. .minwidth500imp { min-width: 250px !important; }
  734. }
  735. /* Force values for small screen 570 */
  736. @media only screen and (max-width: 570px)
  737. {
  738. .tdoverflowonsmartphone {
  739. max-width: 0;
  740. overflow: hidden;
  741. text-overflow: ellipsis;
  742. white-space: nowrap;
  743. }
  744. div.fiche {
  745. margin-top: <?php print ($dol_hide_topmenu?'12':'6'); ?>px !important;
  746. }
  747. div.titre {
  748. line-height: 2em;
  749. }
  750. .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 {
  751. height: 40px !important;
  752. }
  753. .quatrevingtpercent, .inputsearch {
  754. width: 95%;
  755. }
  756. input, input[type=text], input[type=password], select, textarea {
  757. min-width: 20px;
  758. min-height: 1.4em;
  759. line-height: 1.4em;
  760. /* padding: .4em .1em; */
  761. /* border-bottom: 1px solid #BBB; */
  762. /* max-width: inherit; why this ? */
  763. }
  764. .hideonsmartphone { display: none; }
  765. .hideonsmartphoneimp { display: none !important; }
  766. .noenlargeonsmartphone { width : 50px !important; display: inline !important; }
  767. .maxwidthonsmartphone, #search_newcompany.ui-autocomplete-input { max-width: 100px; }
  768. .maxwidth50onsmartphone { max-width: 40px; }
  769. .maxwidth75onsmartphone { max-width: 50px; }
  770. .maxwidth100onsmartphone { max-width: 70px; }
  771. .maxwidth150onsmartphone { max-width: 120px; }
  772. .maxwidth200onsmartphone { max-width: 200px; }
  773. .maxwidth300onsmartphone { max-width: 300px; }
  774. .maxwidth400onsmartphone { max-width: 400px; }
  775. .minwidth50imp { min-width: 50px !important; }
  776. .minwidth75imp { min-width: 60px !important; }
  777. .minwidth100imp { min-width: 60px !important; }
  778. .minwidth200imp { min-width: 60px !important; }
  779. .minwidth300imp { min-width: 100px !important; }
  780. .minwidth400imp { min-width: 150px !important; }
  781. .minwidth500imp { min-width: 250px !important; }
  782. .titlefield { width: auto; }
  783. .titlefieldcreate { width: auto; }
  784. #tooltip {
  785. position: absolute;
  786. width: <?php print dol_size(300,'width'); ?>px;
  787. }
  788. /* intput, input[type=text], */
  789. select {
  790. width: 98%;
  791. min-width: 40px;
  792. }
  793. div.divphotoref {
  794. padding-right: 5px;
  795. }
  796. img.photoref, div.photoref {
  797. border: none;
  798. -moz-box-shadow: none;
  799. -webkit-box-shadow: none;
  800. box-shadow: none;
  801. padding: 4px;
  802. height: 20px;
  803. width: 20px;
  804. object-fit: contain;
  805. }
  806. div.statusref {
  807. padding-right: 10px;
  808. }
  809. }
  810. .linkobject { cursor: pointer; }
  811. <?php if (GETPOST('optioncss','aZ09') == 'print') { ?>
  812. .hideonprint { display: none; }
  813. <?php } ?>
  814. /* ============================================================================== */
  815. /* Styles for dragging lines */
  816. /* ============================================================================== */
  817. .dragClass {
  818. color: #002255;
  819. }
  820. td.showDragHandle {
  821. cursor: move;
  822. }
  823. .tdlineupdown {
  824. white-space: nowrap;
  825. min-width: 10px;
  826. }
  827. /* ============================================================================== */
  828. /* Styles de positionnement des zones */
  829. /* ============================================================================== */
  830. #id-container {
  831. display: table; /* DOL_XXX Empeche fonctionnement correct du scroll horizontal sur tableau, avec datatable ou CSS */
  832. table-layout: fixed;
  833. }
  834. #id-right, #id-left {
  835. padding-top: 16px;
  836. padding-bottom: 16px;
  837. display: table-cell; /* DOL_XXX Empeche fonctionnement correct du scroll horizontal sur tableau, avec datatable ou CSS */
  838. float: none;
  839. vertical-align: top;
  840. }
  841. #id-right { /* This must stay id-right and not be replaced with echo $right */
  842. width: 100%;
  843. background: rgb(<?php print $colorbackbody; ?>);
  844. }
  845. #id-left {
  846. /* background-color: #fff;
  847. border-right: 1px #888 solid;
  848. height: calc(100% - 50px);*/
  849. }
  850. .side-nav {
  851. display: table-cell;
  852. border-right: 1px solid #d0d0d0;
  853. box-shadow: 3px 0 6px -2px #eee;
  854. background: rgb(<?php echo $colorbackvmenu1; ?>);
  855. }
  856. div.blockvmenulogo
  857. {
  858. border-bottom: 0 !important;
  859. }
  860. div.blockvmenupair, div.blockvmenuimpair {
  861. border-top: none !important;
  862. border-left: none !important;
  863. border-right: none !important;
  864. border-bottom: 1px solid #e0e0e0;
  865. padding-left: 0 !important;
  866. }
  867. div.blockvmenuend, div.blockvmenubookmarks {
  868. border: none !important;
  869. padding-left: 0 !important;
  870. }
  871. div.vmenu, td.vmenu {
  872. padding-right: 10px !important;
  873. }
  874. /* For smartphone (testmenuhider is on) */
  875. <?php if ($conf->browser->layout == 'phone' && ((GETPOST('testmenuhider','int') || ! empty($conf->global->MAIN_TESTMENUHIDER)) && empty($conf->global->MAIN_OPTIMIZEFORTEXTBROWSER))) { ?>
  876. #id-container {
  877. width: 100%;
  878. }
  879. .side-nav {
  880. border-bottom: 1px solid #BBB;
  881. background: #FFF;
  882. padding-left: 20px;
  883. padding-right: 20px;
  884. }
  885. .side-nav {
  886. position: absolute;
  887. z-index: 90;
  888. display: none;
  889. }
  890. div.blockvmenulogo
  891. {
  892. border-bottom: 0 !important;
  893. }
  894. div.blockvmenusearch {
  895. padding-bottom: 12px !important;
  896. border-bottom: 1px solid #e0e0e0;
  897. }
  898. div.blockvmenupair, div.blockvmenuimpair, div.blockvmenubookmarks, div.blockvmenuend {
  899. border-top: none !important;
  900. border-left: none !important;
  901. border-right: none !important;
  902. border-bottom: 1px solid #e0e0e0;
  903. padding-left: 0 !important;
  904. }
  905. div.vmenu, td.vmenu {
  906. padding-right: 6px !important;
  907. }
  908. div.fiche {
  909. margin-<?php print $left; ?>: 6px !important;
  910. margin-<?php print $right; ?>: 6px !important;
  911. }
  912. <?php } ?>
  913. div.fiche {
  914. margin-<?php print $left; ?>: <?php print (GETPOST('optioncss','aZ09') == 'print'?6:($dol_hide_leftmenu?'6':'26')); ?>px;
  915. margin-<?php print $right; ?>: <?php print (GETPOST('optioncss','aZ09') == 'print'?8:(empty($conf->dol_optimize_smallscreen)?'16':'6')); ?>px;
  916. <?php if (! empty($conf->dol_hide_leftmenu) && ! empty($conf->dol_hide_topmenu)) print 'margin-top: 4px;'."\n"; ?>
  917. <?php if (! empty($conf->dol_hide_leftmenu)) print 'margin-bottom: 12px;'."\n"; ?>
  918. }
  919. body.onlinepaymentbody div.fiche { /* For online payment page */
  920. margin: 40px !important;
  921. }
  922. div.fiche>table:first-child {
  923. margin-bottom: 15px !important;
  924. }
  925. div.fichecenter {
  926. /* margin-top: 10px; */
  927. width: 100%;
  928. clear: both; /* This is to have div fichecenter that are true rectangles */
  929. }
  930. div.fichecenterbis {
  931. margin-top: 8px;
  932. }
  933. div.fichethirdleft {
  934. <?php if ($conf->browser->layout != 'phone') { print "float: ".$left.";\n"; } ?>
  935. <?php if ($conf->browser->layout != 'phone') { print "width: 50%;\n"; } ?>
  936. <?php if ($conf->browser->layout == 'phone') { print "padding-bottom: 6px;\n"; } ?>
  937. }
  938. div.fichetwothirdright {
  939. <?php if ($conf->browser->layout != 'phone') { print "float: ".$right.";\n"; } ?>
  940. <?php if ($conf->browser->layout != 'phone') { print "width: 50%;\n"; } ?>
  941. <?php if ($conf->browser->layout == 'phone') { print "padding-bottom: 6px\n"; } ?>
  942. }
  943. div.fichehalfleft {
  944. <?php if ($conf->browser->layout != 'phone') { print "float: ".$left.";\n"; } ?>
  945. <?php if ($conf->browser->layout != 'phone') { print "width: 50%;\n"; } ?>
  946. }
  947. div.fichehalfright {
  948. <?php if ($conf->browser->layout != 'phone') { print "float: ".$right.";\n"; } ?>
  949. <?php if ($conf->browser->layout != 'phone') { print "width: 50%;\n"; } ?>
  950. }
  951. div.ficheaddleft {
  952. <?php if ($conf->browser->layout != 'phone') { print "padding-".$left.": 16px;\n"; }
  953. else print "margin-top: 10px;\n"; ?>
  954. }
  955. /* Force values on one colum for small screen */
  956. @media only screen and (max-width: 1000px)
  957. {
  958. div.fiche {
  959. margin-<?php print $left; ?>: <?php print (GETPOST('optioncss','aZ09') == 'print'?6:($dol_hide_leftmenu?'6':'20')); ?>px;
  960. margin-<?php print $right; ?>: <?php print (GETPOST('optioncss','aZ09') == 'print'?8:6); ?>px;
  961. <?php if (! empty($conf->dol_hide_leftmenu) && ! empty($conf->dol_hide_topmenu)) print 'margin-top: 4px;'; ?>
  962. }
  963. div.fichecenter {
  964. width: 100%;
  965. clear: both; /* This is to have div fichecenter that are true rectangles */
  966. }
  967. div.fichecenterbis {
  968. margin-top: 8px;
  969. }
  970. div.fichethirdleft {
  971. float: none;
  972. width: auto;
  973. padding-bottom: 6px;
  974. }
  975. div.fichetwothirdright {
  976. float: none;
  977. width: auto;
  978. padding-bottom: 6px;
  979. }
  980. div.fichehalfleft {
  981. float: none;
  982. width: auto;
  983. }
  984. div.fichehalfright {
  985. float: none;
  986. width: auto;
  987. }
  988. div.ficheaddleft {
  989. <?php print "padding-".$left.": 0px;\n"; ?>
  990. margin-top: 10px;
  991. }
  992. }
  993. /* For table into table into card */
  994. div.ficheaddleft tr.liste_titre:first-child td table.nobordernopadding td {
  995. padding: 0 0 0 0;
  996. }
  997. div.nopadding {
  998. padding: 0 !important;
  999. }
  1000. .containercenter {
  1001. display : table;
  1002. margin : 0px auto;
  1003. }
  1004. #pictotitle {
  1005. margin-<?php echo $right; ?>: 8px;
  1006. margin-bottom: 4px;
  1007. }
  1008. .pictosubstatus {
  1009. padding-left: 2px;
  1010. padding-right: 2px;
  1011. }
  1012. .pictostatus {
  1013. width: 15px;
  1014. vertical-align: middle;
  1015. margin-top: -3px
  1016. }
  1017. .pictowarning, .pictopreview {
  1018. padding-<?php echo $left; ?>: 3px;
  1019. }
  1020. .pictoedit, .pictowarning, .pictodelete {
  1021. vertical-align: text-bottom;
  1022. }
  1023. .colorthumb {
  1024. padding-left: 1px !important;
  1025. padding-right: 1px;
  1026. padding-top: 1px;
  1027. padding-bottom: 1px;
  1028. width: 44px;
  1029. text-align:center;
  1030. }
  1031. div.attacharea {
  1032. padding-top: 18px;
  1033. padding-bottom: 10px;
  1034. }
  1035. div.arearef {
  1036. padding-top: 2px;
  1037. margin-bottom: 10px;
  1038. padding-bottom: 7px;
  1039. }
  1040. div.arearefnobottom {
  1041. padding-top: 2px;
  1042. padding-bottom: 4px;
  1043. }
  1044. div.heightref {
  1045. min-height: 80px;
  1046. }
  1047. div.divphotoref {
  1048. padding-right: 20px;
  1049. }
  1050. div.statusref {
  1051. float: right;
  1052. padding-left: 12px;
  1053. margin-top: 8px;
  1054. margin-bottom: 10px;
  1055. clear: both;
  1056. }
  1057. div.statusref img {
  1058. padding-left: 8px;
  1059. }
  1060. img.photoref, div.photoref {
  1061. border: 1px solid #CCC;
  1062. -moz-box-shadow: 3px 3px 4px #DDD;
  1063. -webkit-box-shadow: 3px 3px 4px #DDD;
  1064. box-shadow: 3px 3px 4px #DDD;
  1065. padding: 4px;
  1066. height: 80px;
  1067. width: 80px;
  1068. object-fit: contain;
  1069. }
  1070. img.fitcontain {
  1071. object-fit: contain;
  1072. }
  1073. div.photoref {
  1074. display:table-cell;
  1075. vertical-align:middle;
  1076. text-align:center;
  1077. }
  1078. img.photorefnoborder {
  1079. padding: 2px;
  1080. height: 48px;
  1081. width: 48px;
  1082. object-fit: contain;
  1083. border: 1px solid #AAA;
  1084. border-radius: 100px;
  1085. }
  1086. .underrefbanner {
  1087. }
  1088. .underbanner {
  1089. border-bottom: <?php echo $borderwith ?>px solid rgb(<?php echo $colortopbordertitle1 ?>);
  1090. }
  1091. .tdhrthin {
  1092. margin: 0;
  1093. padding-bottom: 0 !important;
  1094. }
  1095. /* ============================================================================== */
  1096. /* Menu top et 1ere ligne tableau */
  1097. /* ============================================================================== */
  1098. <?php
  1099. $minwidthtmenu=66; /* minimum width for one top menu entry */
  1100. $heightmenu=46; /* height of top menu, part with image */
  1101. $heightmenu2=48; /* height of top menu, part with login */
  1102. $disableimages = 0;
  1103. $maxwidthloginblock = 130;
  1104. if (! empty($conf->global->THEME_TOPMENU_DISABLE_IMAGE)) { $disableimages = 1; $maxwidthloginblock = 180; $minwidthtmenu=0; }
  1105. ?>
  1106. div#id-top {
  1107. <?php if (GETPOST('optioncss','aZ09') == 'print') { ?>
  1108. display:none;
  1109. <?php } else { ?>
  1110. background: rgb(<?php echo $colorbackhmenu1 ?>);
  1111. /*-webkit-box-shadow: 0 0 6px rgba(0,0,0,0.4);
  1112. box-shadow: 0 0 6px rgba(0,0,0,0.4); */
  1113. /*
  1114. background-image: linear-gradient(top, rgba(255,255,255,.1) 0%, rgba(0,0,0,.4) 100%);
  1115. background-image: -o-linear-gradient(top, rgba(255,255,255,.1) 0%, rgba(0,0,0,.4) 100%);
  1116. background-image: -moz-linear-gradient(top, rgba(255,255,255,.1) 0%, rgba(0,0,0,.4) 100%);
  1117. background-image: -webkit-linear-gradient(top, rgba(255,255,255,.1) 0%, rgba(0,0,0,.4) 100%);
  1118. background-image: -ms-linear-gradient(top, rgba(255,255,255,.1) 0%, rgba(0,0,0,.4) 100%);
  1119. background-image: -webkit-gradient( linear, left top, left bottom, color-stop(0, rgba(255,255,255,.1)), color-stop(1, rgba(0,0,0,.4)) );
  1120. */
  1121. /*<?php if ($disableimages) { ?>
  1122. height: 34px;
  1123. <?php } else { ?>
  1124. height: <?php print $heightmenu2; ?>px;
  1125. <?php } ?>*/
  1126. <?php } ?>
  1127. }
  1128. div#tmenu_tooltip {
  1129. <?php if (GETPOST('optioncss','aZ09') == 'print') { ?>
  1130. display:none;
  1131. <?php } else { ?>
  1132. padding-<?php echo $right; ?>: <?php echo ($maxwidthloginblock - 10); ?>px;
  1133. <?php } ?>
  1134. }
  1135. div.tmenusep {
  1136. <?php if ($disableimages) { ?>
  1137. display: none;
  1138. <?php } ?>
  1139. }
  1140. div.tmenudiv {
  1141. <?php if (GETPOST('optioncss','aZ09') == 'print') { ?>
  1142. display:none;
  1143. <?php } else { ?>
  1144. position: relative;
  1145. display: block;
  1146. white-space: nowrap;
  1147. border-top: 0px;
  1148. border-<?php print $left; ?>: 0px;
  1149. border-<?php print $right; ?>: 0px;
  1150. padding: 0px 0px 0px 0px; /* t r b l */
  1151. margin: 0px 0px 0px 0px; /* t r b l */
  1152. font-size: 13px;
  1153. font-weight: normal;
  1154. color: #000000;
  1155. text-decoration: none;
  1156. <?php } ?>
  1157. }
  1158. div.tmenudisabled, a.tmenudisabled {
  1159. opacity: 0.6;
  1160. }
  1161. a.tmenudisabled:link, a.tmenudisabled:visited, a.tmenudisabled:hover, a.tmenudisabled:active {
  1162. font-weight: normal;
  1163. padding: 0px 5px 0px 5px;
  1164. white-space: nowrap;
  1165. color: #<?php echo $colortextbackhmenu; ?>;
  1166. text-decoration: none;
  1167. cursor: not-allowed;
  1168. }
  1169. a.tmenu:link, a.tmenu:visited, a.tmenu:hover, a.tmenu:active {
  1170. font-weight: normal;
  1171. padding: 0px 5px 0px 3px;
  1172. white-space: nowrap;
  1173. color: #<?php echo $colortextbackhmenu; ?>;
  1174. text-decoration: none;
  1175. }
  1176. a.tmenusel:link, a.tmenusel:visited, a.tmenusel:hover, a.tmenusel:active {
  1177. font-weight: normal;
  1178. padding: 0px 5px 0px 3px;
  1179. margin: 0px 0px 0px 0px;
  1180. white-space: nowrap;
  1181. color: #<?php echo $colortextbackhmenu; ?>;
  1182. text-decoration: none !important;
  1183. }
  1184. ul.tmenu { /* t r b l */
  1185. padding: 0px 0px 0px 0px;
  1186. margin: 0px 0px 0px 0px;
  1187. list-style: none;
  1188. display: table;
  1189. }
  1190. ul.tmenu li { /* We need this to have background color when menu entry wraps on new lines */
  1191. /* background: rgb(<?php echo $colorbackhmenu1 ?>);
  1192. /*
  1193. background-image: linear-gradient(top, rgba(255,255,255,.1) 0%, rgba(0,0,0,.4) 100%);
  1194. background-image: -o-linear-gradient(top, rgba(255,255,255,.1) 0%, rgba(0,0,0,.4) 100%);
  1195. background-image: -moz-linear-gradient(top, rgba(255,255,255,.1) 0%, rgba(0,0,0,.4) 100%);
  1196. background-image: -webkit-linear-gradient(top, rgba(255,255,255,.1) 0%, rgba(0,0,0,.4) 100%);
  1197. background-image: -ms-linear-gradient(top, rgba(255,255,255,.1) 0%, rgba(0,0,0,.4) 100%);
  1198. background-image: -webkit-gradient( linear, left top, left bottom, color-stop(0, rgba(255,255,255,.1)), color-stop(1, rgba(0,0,0,.4)) );
  1199. */
  1200. }
  1201. li.tmenu, li.tmenusel {
  1202. <?php print $minwidthtmenu?'min-width: '.$minwidthtmenu.'px;':''; ?>
  1203. text-align: center;
  1204. vertical-align: bottom;
  1205. <?php if (empty($conf->global->MAIN_MENU_INVERT)) { ?>
  1206. float: <?php print $left; ?>;
  1207. <?php } ?>
  1208. position:relative;
  1209. display: block;
  1210. padding: 0 0 0 0;
  1211. margin: 0 0 0 0;
  1212. font-weight: normal;
  1213. }
  1214. li.menuhider:hover {
  1215. background-image: none !important;
  1216. }
  1217. li.tmenusel, li.tmenu:hover {
  1218. background-image: -o-linear-gradient(bottom, rgba(250,250,250,0.3) 0%, rgba(0,0,0,0.5) 100%);
  1219. background-image: -moz-linear-gradient(bottom, rgba(0,0,0,0.5) 0%, rgba(250,250,250,0) 100%);
  1220. background-image: -webkit-linear-gradient(bottom, rgba(0,0,0,0.5) 0%, rgba(250,250,250,0) 100%);
  1221. background-image: -ms-linear-gradient(bottom, rgba(250,250,250,0.3) 0%, rgba(0,0,0,0.5) 100%);
  1222. background-image: linear-gradient(bottom, rgba(250,250,250,0.3) 0%, rgba(0,0,0,0.5) 100%);
  1223. /* background: rgb(<?php echo $colorbackhmenu1 ?>); */
  1224. }
  1225. .tmenuend .tmenuleft { width: 0px; }
  1226. .tmenuend { display: none; }
  1227. div.tmenuleft
  1228. {
  1229. float: <?php print $left; ?>;
  1230. margin-top: 0px;
  1231. <?php if (empty($conf->dol_optimize_smallscreen)) { ?>
  1232. width: 5px;
  1233. background: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/menutab-r.png',1); ?>) 0 -6px no-repeat;
  1234. <?php } ?>
  1235. <?php if ($disableimages) { ?>
  1236. height: 26px;
  1237. <?php } else { ?>
  1238. height: <?php print $heightmenu; ?>px;
  1239. <?php } ?>
  1240. }
  1241. div.tmenucenter
  1242. {
  1243. padding-left: 0px;
  1244. padding-right: 3px;
  1245. <?php if ($disableimages) { ?>
  1246. padding-top: 8px;
  1247. height: 26px;
  1248. <?php } else { ?>
  1249. padding-top: 2px;
  1250. height: <?php print $heightmenu; ?>px;
  1251. <?php } ?>
  1252. width: 100%;
  1253. /*
  1254. max-width: <?php echo round($fontsize * 8); ?>px;
  1255. white-space: nowrap;
  1256. overflow: hidden;
  1257. text-overflow: ellipsis;
  1258. color: #<?php echo $colortextbackhmenu; ?>;
  1259. */
  1260. }
  1261. #menu_titre_logo {
  1262. padding-top: 0;
  1263. padding-bottom: 0;
  1264. }
  1265. div.menu_titre {
  1266. padding-top: 4px;
  1267. padding-bottom: 4px;
  1268. overflow: hidden;
  1269. text-overflow: ellipsis;
  1270. width: 188px; /* required to have overflow working. must be same than menu_contenu */
  1271. }
  1272. .mainmenuaspan
  1273. {
  1274. <?php if ($disableimages) { ?>
  1275. padding-<?php print $left; ?>: 4px;
  1276. padding-<?php print $right; ?>: 2px;
  1277. <?php } else { ?>
  1278. padding-<?php print $right; ?>: 4px;
  1279. <?php } ?>
  1280. }
  1281. div.mainmenu {
  1282. position : relative;
  1283. background-repeat:no-repeat;
  1284. background-position:center top;
  1285. height: <?php echo ($heightmenu-22); ?>px;
  1286. margin-left: 0px;
  1287. min-width: 40px;
  1288. }
  1289. /* Do not load menu img if hidden to save bandwidth */
  1290. <?php if (empty($dol_hide_topmenu)) { ?>
  1291. div.mainmenu.home{
  1292. background-image: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/menus/home.png',1) ?>);
  1293. background-position-x: center;
  1294. }
  1295. div.mainmenu.accountancy {
  1296. background-image: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/menus/money.png',1) ?>);
  1297. }
  1298. div.mainmenu.agenda {
  1299. background-image: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/menus/agenda.png',1) ?>);
  1300. }
  1301. div.mainmenu.bank {
  1302. background-image: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/menus/bank.png',1) ?>);
  1303. }
  1304. div.mainmenu.cashdesk {
  1305. background-image: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/menus/pointofsale.png',1) ?>);
  1306. }
  1307. div.mainmenu.companies {
  1308. background-image: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/menus/company.png',1) ?>);
  1309. }
  1310. div.mainmenu.commercial {
  1311. background-image: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/menus/commercial.png',1) ?>);
  1312. }
  1313. div.mainmenu.ecm {
  1314. background-image: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/menus/ecm.png',1) ?>);
  1315. }
  1316. div.mainmenu.externalsite {
  1317. background-image: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/menus/externalsite.png',1) ?>);
  1318. }
  1319. div.mainmenu.ftp {
  1320. background-image: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/menus/tools.png',1) ?>);
  1321. }
  1322. div.mainmenu.hrm {
  1323. background-image: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/menus/holiday.png',1) ?>);
  1324. }
  1325. div.mainmenu.members {
  1326. background-image: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/menus/members.png',1) ?>);
  1327. }
  1328. div.mainmenu.menu {
  1329. background-image: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/menus/menu.png',1) ?>);
  1330. top: 7px;
  1331. }
  1332. div.mainmenu.products {
  1333. background-image: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/menus/products.png',1) ?>);
  1334. }
  1335. div.mainmenu.project {
  1336. background-image: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/menus/project.png',1) ?>);
  1337. }
  1338. div.mainmenu.tools {
  1339. background-image: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/menus/tools.png',1) ?>);
  1340. }
  1341. div.mainmenu.websites {
  1342. background-image: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/menus/externalsite.png',1) ?>);
  1343. }
  1344. <?php
  1345. // Add here more div for other menu entries. moduletomainmenu=array('module name'=>'name of class for div')
  1346. $moduletomainmenu=array('user'=>'','syslog'=>'','societe'=>'companies','projet'=>'project','propale'=>'commercial','commande'=>'commercial',
  1347. 'produit'=>'products','service'=>'products','stock'=>'products',
  1348. 'don'=>'accountancy','tax'=>'accountancy','banque'=>'accountancy','facture'=>'accountancy','compta'=>'accountancy','accounting'=>'accountancy','adherent'=>'members','import'=>'tools','export'=>'tools','mailing'=>'tools',
  1349. 'contrat'=>'commercial','ficheinter'=>'commercial','deplacement'=>'commercial',
  1350. 'fournisseur'=>'companies',
  1351. 'barcode'=>'','fckeditor'=>'','categorie'=>'',
  1352. );
  1353. $mainmenuused='home';
  1354. foreach($conf->modules as $val)
  1355. {
  1356. $mainmenuused.=','.(isset($moduletomainmenu[$val])?$moduletomainmenu[$val]:$val);
  1357. }
  1358. //var_dump($mainmenuused);
  1359. $mainmenuusedarray=array_unique(explode(',',$mainmenuused));
  1360. $generic=1;
  1361. // Put here list of menu entries when the div.mainmenu.menuentry was previously defined
  1362. $divalreadydefined=array('home','companies','products','commercial','externalsite','accountancy','project','tools','members','agenda','ftp','holiday','hrm','bookmark','cashdesk','ecm','geoipmaxmind','gravatar','clicktodial','paypal','stripe','webservices','websites');
  1363. // Put here list of menu entries we are sure we don't want
  1364. $divnotrequired=array('multicurrency','salaries','margin','opensurvey','paybox','expensereport','incoterm','prelevement','propal','workflow','notification','supplier_proposal','cron','product','productbatch','expedition');
  1365. foreach($mainmenuusedarray as $val)
  1366. {
  1367. if (empty($val) || in_array($val,$divalreadydefined)) continue;
  1368. if (in_array($val,$divnotrequired)) continue;
  1369. //print "XXX".$val;
  1370. // Search img file in module dir
  1371. $found=0; $url='';
  1372. foreach($conf->file->dol_document_root as $dirroot)
  1373. {
  1374. if (file_exists($dirroot."/".$val."/img/".$val.".png"))
  1375. {
  1376. $url=dol_buildpath('/'.$val.'/img/'.$val.'.png', 1);
  1377. $found=1;
  1378. break;
  1379. }
  1380. }
  1381. // Img file not found
  1382. if (! $found)
  1383. {
  1384. $url=dol_buildpath($path.'/theme/'.$theme.'/img/menus/generic'.$generic.".png",1);
  1385. $found=1;
  1386. if ($generic < 4) $generic++;
  1387. 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";
  1388. }
  1389. if ($found)
  1390. {
  1391. print "div.mainmenu.".$val." {\n";
  1392. print " background-image: url(".$url.");\n";
  1393. print "}\n";
  1394. }
  1395. }
  1396. // End of part to add more div class css
  1397. ?>
  1398. <?php
  1399. } // End test if $dol_hide_topmenu
  1400. ?>
  1401. .tmenuimage {
  1402. padding:0 0 0 0 !important;
  1403. margin:0 0px 0 0 !important;
  1404. <?php if ($disableimages) { ?>
  1405. display: none;
  1406. <?php } ?>
  1407. }
  1408. /* Login */
  1409. .bodylogin
  1410. {
  1411. background: #f0f0f0;
  1412. display: table;
  1413. position: absolute;
  1414. height: 100%;
  1415. width: 100%;
  1416. }
  1417. .login_center {
  1418. display: table-cell;
  1419. vertical-align: middle;
  1420. }
  1421. .login_vertical_align {
  1422. padding: 10px;
  1423. padding-bottom: 80px;
  1424. }
  1425. form#login {
  1426. padding-bottom: 30px;
  1427. font-size: 13px;
  1428. vertical-align: middle;
  1429. }
  1430. .login_table_title {
  1431. max-width: 530px;
  1432. color: #aaa !important;
  1433. padding-bottom: 20px;
  1434. /* text-shadow: 1px 1px 1px #FFF; */
  1435. }
  1436. .login_table label {
  1437. text-shadow: 1px 1px 1px #FFF;
  1438. }
  1439. .login_table {
  1440. margin: 0px auto; /* Center */
  1441. padding-left:6px;
  1442. padding-right:6px;
  1443. padding-top:16px;
  1444. padding-bottom:12px;
  1445. max-width: 560px;
  1446. background-color: #FFFFFF;
  1447. -moz-box-shadow: 0 2px 23px 2px rgba(0, 0, 0, 0.2), 0 2px 6px rgba(60,60,60,0.15);
  1448. -webkit-box-shadow: 0 2px 23px 2px rgba(0, 0, 0, 0.2), 0 2px 6px rgba(60,60,60,0.15);
  1449. box-shadow: 0 2px 23px 2px rgba(0, 0, 0, 0.2), 0 2px 6px rgba(60,60,60,0.15);
  1450. border-radius: 5px;
  1451. /*border-top:solid 1px rgba(180,180,180,.4);
  1452. border-left:solid 1px rgba(180,180,180,.4);
  1453. border-right:solid 1px rgba(180,180,180,.4);
  1454. border-bottom:solid 1px rgba(180,180,180,.4);*/
  1455. }
  1456. .login_table input#username, .login_table input#password, .login_table input#securitycode {
  1457. border: none;
  1458. border-bottom: solid 1px rgba(180,180,180,.4);
  1459. padding: 5px;
  1460. margin-left: 18px;
  1461. margin-top: 5px;
  1462. }
  1463. .login_table input#username:focus, .login_table input#password:focus, .login_table input#securitycode:focus {
  1464. outline: none !important;
  1465. /* box-shadow: none;
  1466. -webkit-box-shadow: 0 0 0 50px #FFF inset;
  1467. box-shadow: 0 0 0 50px #FFF inset;*/
  1468. }
  1469. .login_main_message {
  1470. text-align: center;
  1471. max-width: 570px;
  1472. margin-bottom: 10px;
  1473. }
  1474. .login_main_message .error {
  1475. border: 1px solid #caa;
  1476. padding: 10px;
  1477. }
  1478. div#login_left, div#login_right {
  1479. display: inline-block;
  1480. min-width: 245px;
  1481. padding-top: 10px;
  1482. padding-left: 16px;
  1483. padding-right: 16px;
  1484. text-align: center;
  1485. vertical-align: middle;
  1486. }
  1487. div#login_right select#entity {
  1488. margin-top: 10px;
  1489. }
  1490. table.login_table tr td table.none tr td {
  1491. padding: 2px;
  1492. }
  1493. table.login_table_securitycode {
  1494. border-spacing: 0px;
  1495. }
  1496. table.login_table_securitycode tr td {
  1497. padding-left: 0px;
  1498. padding-right: 4px;
  1499. }
  1500. #securitycode {
  1501. min-width: 60px;
  1502. }
  1503. #img_securitycode {
  1504. border: 1px solid #DDDDDD;
  1505. }
  1506. #img_logo, .img_logo {
  1507. max-width: 170px;
  1508. max-height: 90px;
  1509. }
  1510. div.login_block {
  1511. position: absolute;
  1512. text-align: <?php print $right; ?>;
  1513. <?php print $right; ?>: 5px;
  1514. top: 4px;
  1515. font-weight: bold;
  1516. max-width: <?php echo $maxwidthloginblock; ?>px;
  1517. <?php if (GETPOST('optioncss','aZ09') == 'print') { ?>
  1518. display: none;
  1519. <?php } ?>
  1520. }
  1521. div.login_block a {
  1522. color: #<?php echo $colortextbackvmenu; ?>;
  1523. }
  1524. div.login_block table {
  1525. display: inline;
  1526. }
  1527. div.login {
  1528. white-space:nowrap;
  1529. font-weight: bold;
  1530. float: right;
  1531. }
  1532. div.login a {
  1533. color: #<?php echo $colortextbackvmenu; ?>;
  1534. }
  1535. div.login a:hover {
  1536. color: #<?php echo $colortextbackvmenu; ?>;
  1537. text-decoration:underline;
  1538. }
  1539. div.login_block_user {
  1540. display: inline-block;
  1541. <?php if (empty($conf->global->THEME_TOPMENU_DISABLE_IMAGE)) { ?>
  1542. min-width: 120px;
  1543. <?php } ?>
  1544. }
  1545. div.login_block_other {
  1546. display: inline-block;
  1547. clear: both;
  1548. }
  1549. div.login_block_other { padding-top: 3px; text-align: right; }
  1550. .login_block_elem {
  1551. float: right;
  1552. vertical-align: top;
  1553. padding: 0px 3px 0px 4px !important;
  1554. height: 16px;
  1555. }
  1556. .atoplogin, .atoplogin:hover {
  1557. color: #<?php echo $colortextbackhmenu; ?> !important;
  1558. font-weight: normal !important;
  1559. }
  1560. .alogin, .alogin:hover {
  1561. font-weight: normal !important;
  1562. font-size: <?php echo $fontsizesmaller; ?>px !important;
  1563. padding-top: 2px;
  1564. }
  1565. .alogin:hover, .atoplogin:hover {
  1566. text-decoration:underline !important;
  1567. }
  1568. span.fa.atoplogin, span.fa.atoplogin:hover {
  1569. font-size: 16px;
  1570. text-decoration: none !important;
  1571. }
  1572. img.login, img.printer, img.entity {
  1573. /* padding: 0px 0px 0px 4px; */
  1574. /* margin: 0px 0px 0px 8px; */
  1575. text-decoration: none;
  1576. color: white;
  1577. font-weight: bold;
  1578. }
  1579. .userimgatoplogin img.userphoto { /* size for user photo in login bar */
  1580. width: 16px;
  1581. height: 16px;
  1582. border-radius: 8px;
  1583. background-size: contain;
  1584. background-size: contain;
  1585. }
  1586. img.userphoto { /* size for user photo in lists */
  1587. border-radius: 9px;
  1588. width: 18px;
  1589. height: 18px;
  1590. background-size: contain;
  1591. vertical-align: middle;
  1592. }
  1593. img.userphotosmall { /* size for user photo in lists */
  1594. border-radius: 6px;
  1595. width: 12px;
  1596. height: 12px;
  1597. background-size: contain;
  1598. vertical-align: middle;
  1599. }
  1600. .span-icon-user {
  1601. background-image: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/object_user.png',1); ?>);
  1602. background-repeat: no-repeat;
  1603. }
  1604. .span-icon-password {
  1605. background-image: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/lock.png',1); ?>);
  1606. background-repeat: no-repeat;
  1607. }
  1608. /*
  1609. .span-icon-user input, .span-icon-password input {
  1610. /* margin-left: 18px; */
  1611. margin-left: 0px;
  1612. }*/
  1613. /* ============================================================================== */
  1614. /* Menu gauche */
  1615. /* ============================================================================== */
  1616. div.vmenu, td.vmenu {
  1617. margin-<?php print $right; ?>: 2px;
  1618. position: relative;
  1619. float: left;
  1620. padding: 0px;
  1621. padding-bottom: 0px;
  1622. padding-top: 1px;
  1623. width: 190px;
  1624. }
  1625. .vmenu {
  1626. width: 190px;
  1627. margin-left: 6px;
  1628. <?php if (GETPOST('optioncss','aZ09') == 'print') { ?>
  1629. display: none;
  1630. <?php } ?>
  1631. }
  1632. /* Force vmenusearchselectcombo with type=text differently than without because beautify with select2 affect vmenusearchselectcombo differently */
  1633. input.vmenusearchselectcombo[type=text] {
  1634. width: 180px !important;
  1635. }
  1636. .vmenusearchselectcombo {
  1637. width: 188px;
  1638. }
  1639. .menu_contenu {
  1640. padding-top: 3px;
  1641. padding-bottom: 3px;
  1642. overflow: hidden;
  1643. text-overflow: ellipsis;
  1644. width: 188px; /* required to have overflow working. must be same than .menu_titre */
  1645. }
  1646. #menu_contenu_logo { /* padding-top: 0; */ }
  1647. .companylogo { }
  1648. .searchform { padding-top: 10px; }
  1649. a.vmenu:link, a.vmenu:visited, a.vmenu:hover, a.vmenu:active { white-space: nowrap; font-size:<?php print $fontsize ?>px; font-family: <?php print $fontlist ?>; text-align: <?php print $left; ?>; font-weight: bold; }
  1650. font.vmenudisabled { font-size:<?php print $fontsize ?>px; font-family: <?php print $fontlist ?>; text-align: <?php print $left; ?>; font-weight: bold; color: #aaa; margin-left: 4px; }
  1651. a.vmenu:link, a.vmenu:visited { color: #<?php echo $colortextbackvmenu; ?>; }
  1652. a.vsmenu:link, a.vsmenu:visited, a.vsmenu:hover, a.vsmenu:active, span.vsmenu { font-size:<?php print $fontsize ?>px; font-family: <?php print $fontlist ?>; text-align: <?php print $left; ?>; font-weight: normal; color: #202020; margin: 1px 1px 1px 6px; }
  1653. font.vsmenudisabled { font-size:<?php print $fontsize ?>px; font-family: <?php print $fontlist ?>; text-align: <?php print $left; ?>; font-weight: normal; color: #aaa; }
  1654. a.vsmenu:link, a.vsmenu:visited { color: #<?php echo $colortextbackvmenu; ?>; white-space: nowrap; }
  1655. font.vsmenudisabledmargin { margin: 1px 1px 1px 6px; }
  1656. a.help:link, a.help:visited, a.help:hover, a.help:active, span.help { font-size:<?php print $fontsizesmaller ?>px; font-family: <?php print $fontlist ?>; text-align: <?php print $left; ?>; font-weight: normal; color: #aaa; text-decoration: none; }
  1657. .vmenu div.blockvmenufirst, .vmenu div.blockvmenulogo, .vmenu div.blockvmenusearchphone, .vmenu div.blockvmenubookmarks
  1658. {
  1659. border-top: 1px solid #BBB;
  1660. }
  1661. a.vsmenu.addbookmarkpicto {
  1662. padding-right: 10px;
  1663. }
  1664. div.blockvmenusearchphone
  1665. {
  1666. border-bottom: none !important;
  1667. }
  1668. .vmenu div.blockvmenuend, .vmenu div.blockvmenulogo
  1669. {
  1670. margin: 0 0 8px 2px;
  1671. }
  1672. .vmenu div.blockvmenusearch
  1673. {
  1674. padding-bottom: 4px;
  1675. /* border-bottom: 1px solid #e0e0e0; */
  1676. }
  1677. .vmenu div.blockvmenuend
  1678. {
  1679. padding-bottom: 5px;
  1680. }
  1681. .vmenu div.blockvmenulogo
  1682. {
  1683. padding-bottom: 10px;
  1684. padding-top: 0;
  1685. }
  1686. div.blockvmenubookmarks
  1687. {
  1688. padding-top: 10px !important;
  1689. padding-bottom: 16px !important;
  1690. }
  1691. div.blockvmenupair, div.blockvmenuimpair, div.blockvmenubookmarks, div.blockvmenuend
  1692. {
  1693. font-family: <?php print $fontlist ?>;
  1694. color: #000000;
  1695. text-align: <?php print $left; ?>;
  1696. text-decoration: none;
  1697. padding-left: 5px;
  1698. padding-right: 1px;
  1699. padding-top: 3px;
  1700. padding-bottom: 3px;
  1701. margin: 0 0 0 2px;
  1702. background: rgb(<?php echo $colorbackvmenu1; ?>);
  1703. border-left: 1px solid #AAA;
  1704. border-right: 1px solid #BBB;
  1705. }
  1706. div.blockvmenusearch
  1707. {
  1708. font-family: <?php print $fontlist ?>;
  1709. color: #000000;
  1710. text-align: <?php print $left; ?>;
  1711. text-decoration: none;
  1712. margin: 1px 0px 0px 2px;
  1713. background: rgb(<?php echo $colorbackvmenu1; ?>);
  1714. }
  1715. div.blockvmenusearch > form > div {
  1716. padding-top: 3px;
  1717. }
  1718. div.blockvmenusearch > form > div > label {
  1719. padding-right: 2px;
  1720. }
  1721. div.blockvmenuhelp
  1722. {
  1723. <?php if (empty($conf->dol_optimize_smallscreen)) { ?>
  1724. font-family: <?php print $fontlist ?>;
  1725. color: #000000;
  1726. text-align: center;
  1727. text-decoration: none;
  1728. padding-left: 0px;
  1729. padding-right: 6px;
  1730. padding-top: 3px;
  1731. padding-bottom: 3px;
  1732. margin: 4px 0px 0px 0px;
  1733. <?php } else { ?>
  1734. display: none;
  1735. <?php } ?>
  1736. }
  1737. td.barre {
  1738. border-right: 1px solid #000000;
  1739. border-bottom: 1px solid #000000;
  1740. background: #b3c5cc;
  1741. font-family: <?php print $fontlist ?>;
  1742. color: #000000;
  1743. text-align: <?php print $left; ?>;
  1744. text-decoration: none;
  1745. }
  1746. td.barre_select {
  1747. background: #b3c5cc;
  1748. color: #000000;
  1749. }
  1750. td.photo {
  1751. background: #F4F4F4;
  1752. color: #000000;
  1753. border: 1px solid #bbb;
  1754. }
  1755. /* ============================================================================== */
  1756. /* Panes for Main */
  1757. /* ============================================================================== */
  1758. /*
  1759. * PANES and CONTENT-DIVs
  1760. */
  1761. #mainContent, #leftContent .ui-layout-pane {
  1762. padding: 0px;
  1763. overflow: auto;
  1764. }
  1765. #mainContent, #leftContent .ui-layout-center {
  1766. padding: 0px;
  1767. position: relative; /* contain floated or positioned elements */
  1768. overflow: auto; /* add scrolling to content-div */
  1769. }
  1770. /* ============================================================================== */
  1771. /* Toolbar for ECM or Filemanager */
  1772. /* ============================================================================== */
  1773. td.ecmroot {
  1774. padding-bottom: 0 !important;
  1775. }
  1776. .largebutton {
  1777. /*background-image: -o-linear-gradient(bottom, rgba(200,200,200,0.1) 0%, rgba(255,255,255,0.3) 120%) !important;
  1778. background-image: -moz-linear-gradient(bottom, rgba(200,200,200,0.1) 0%, rgba(255,255,255,0.3) 120%) !important;
  1779. background-image: -webkit-linear-gradient(bottom, rgba(200,200,200,0.1) 0%, rgba(255,255,255,0.3) 120%) !important;
  1780. background-image: -ms-linear-gradient(bottom, rgba(200,200,200,0.1) 0%, rgba(255,255,255,0.3) 120%) !important;
  1781. background-image: linear-gradient(bottom, rgba(200,200,200,0.1) 0%, rgba(255,255,255,0.3) 120%) !important;
  1782. background: #FFF;
  1783. background-repeat: repeat-x !important;
  1784. */
  1785. border-top: 1px solid #CCC !important;
  1786. /*-moz-border-radius: 4px 4px 4px 4px !important;
  1787. -webkit-border-radius: 4px 4px 4px 4px !important;
  1788. border-radius: 4px 4px 4px 4px !important;
  1789. -moz-box-shadow: 2px 2px 4px #DDD;
  1790. -webkit-box-shadow: 2px 2px 4px #DDD;
  1791. box-shadow: 2px 2px 4px #DDD;
  1792. */
  1793. padding: 10px 4px 14px 4px !important;
  1794. min-height: 32px;
  1795. }
  1796. a.toolbarbutton {
  1797. margin-top: 0px;
  1798. margin-left: 4px;
  1799. margin-right: 4px;
  1800. height: 30px;
  1801. }
  1802. img.toolbarbutton {
  1803. margin-top: 1px;
  1804. height: 30px;
  1805. }
  1806. /* ============================================================================== */
  1807. /* Onglets */
  1808. /* ============================================================================== */
  1809. div.tabs {
  1810. text-align: <?php print $left; ?>;
  1811. padding-left: 6px !important;
  1812. padding-right: 6px !important;
  1813. clear:both;
  1814. height:100%;
  1815. /* background-image: linear-gradient(to top,#f6f6f6 0,#fff 8px); */
  1816. }
  1817. div.tabsElem {
  1818. margin-top: 1px;
  1819. } /* To avoid overlap of tabs when not browser */
  1820. div.tabBar {
  1821. color: #<?php echo $colortextbacktab; ?>;
  1822. padding-top: 16px;
  1823. padding-left: 0px; padding-right: 0px;
  1824. padding-bottom: 2px;
  1825. margin: 0px 0px 16px 0px;
  1826. border-top: 1px solid #BBB;
  1827. /* border-bottom: 1px solid #AAA; */
  1828. width: auto;
  1829. background: rgb(<?php echo $colorbacktabcard1; ?>);
  1830. }
  1831. div.tabBar div.titre {
  1832. padding-top: 10px;
  1833. }
  1834. div.tabBarWithBottom {
  1835. padding-bottom: 18px;
  1836. border-bottom: 1px solid #aaa;
  1837. }
  1838. div.tabBar table.tableforservicepart2:last-child {
  1839. border-bottom: 1px solid #aaa;
  1840. }
  1841. div.popuptabset {
  1842. padding: 6px;
  1843. background: #fff;
  1844. border: 1px solid #888;
  1845. }
  1846. div.popuptab {
  1847. padding-top: 3px;
  1848. padding-bottom: 3px;
  1849. padding-left: 5px;
  1850. padding-right: 5px;
  1851. }
  1852. div.tabsAction {
  1853. margin: 20px 0em 20px 0em;
  1854. padding: 0em 0em;
  1855. text-align: right;
  1856. }
  1857. div.tabsActionNoBottom {
  1858. margin-bottom: 0px;
  1859. }
  1860. div.tabsAction > a {
  1861. margin-bottom: 16px !important;
  1862. }
  1863. a.tabTitle {
  1864. color:rgba(0,0,0,.5) !important;
  1865. text-shadow:1px 1px 1px #ffffff;
  1866. font-family: <?php print $fontlist ?>;
  1867. font-weight: normal !important;
  1868. padding: 4px 6px 2px 0px;
  1869. margin-<?php print $right; ?>: 10px;
  1870. text-decoration: none;
  1871. white-space: nowrap;
  1872. }
  1873. a.tabunactive {
  1874. color: rgb(<?php print $colortextlink; ?>) !important;
  1875. }
  1876. a.tab:link, a.tab:visited, a.tab:hover, a.tab#active {
  1877. font-family: <?php print $fontlist ?>;
  1878. padding: 12px 9px 12px;
  1879. margin: 0em 0.2em;
  1880. text-decoration: none;
  1881. white-space: nowrap;
  1882. border-right: 1px solid transparent;
  1883. border-left: 1px solid transparent;
  1884. border-top: 1px solid transparent;
  1885. border-bottom: 0px !important;
  1886. background-image: none !important;
  1887. }
  1888. .tabactive, a.tab#active {
  1889. color: #<?php echo $colortextbacktab; ?> !important;
  1890. background: rgb(<?php echo $colorbacktabcard1; ?>) !important;
  1891. margin: 0 0.2em 0 0.2em !important;
  1892. border-right: 1px solid #AAA !important;
  1893. border-left: 1px solid #AAA !important;
  1894. border-top: 2px solid rgb(<?php echo $colortopbordertitle1; ?>) !important;
  1895. /*
  1896. box-shadow: 0 -1px 4px rgba(0,0,0,.1);
  1897. -moz-box-shadow: 0 -1px 4px rgba(0,0,0,.1);
  1898. -webkit-box-shadow: 0 -1px 4px rgba(0,0,0,.1);
  1899. -moz-border-radius:4px 4px 0 0;
  1900. -webkit-border-radius: 4px 4px 0 0;
  1901. border-radius: 4px 4px 0 0;
  1902. */
  1903. }
  1904. a.tab:hover
  1905. {
  1906. /*
  1907. background: rgba(<?php echo $colorbacktabcard1; ?>, 0.5) url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/nav-overlay3.png',1); ?>) 50% 0 repeat-x;
  1908. color: #<?php echo $colortextbacktab; ?>;
  1909. */
  1910. text-decoration: underline;
  1911. }
  1912. a.tabimage {
  1913. color: #434956;
  1914. font-family: <?php print $fontlist ?>;
  1915. text-decoration: none;
  1916. white-space: nowrap;
  1917. }
  1918. td.tab {
  1919. background: #dee7ec;
  1920. }
  1921. span.tabspan {
  1922. background: #dee7ec;
  1923. color: #434956;
  1924. font-family: <?php print $fontlist ?>;
  1925. padding: 0px 6px;
  1926. margin: 0em 0.2em;
  1927. text-decoration: none;
  1928. white-space: nowrap;
  1929. -moz-border-radius:4px 4px 0px 0px;
  1930. -webkit-border-radius:4px 4px 0px 0px;
  1931. border-radius:4px 4px 0px 0px;
  1932. border-<?php print $right; ?>: 1px solid #555555;
  1933. border-<?php print $left; ?>: 1px solid #D8D8D8;
  1934. border-top: 1px solid #D8D8D8;
  1935. }
  1936. /* ============================================================================== */
  1937. /* Boutons actions */
  1938. /* ============================================================================== */
  1939. div.divButAction {
  1940. margin-bottom: 1.4em;
  1941. }
  1942. span.butAction, span.butActionDelete {
  1943. cursor: pointer;
  1944. }
  1945. .butAction, .butAction:link, .butAction:visited, .butAction:hover, .butAction:active, .butActionDelete, .butActionDelete:link, .butActionDelete:visited, .butActionDelete:hover, .butActionDelete:active {
  1946. text-decoration: none;
  1947. margin: 0em <?php echo ($dol_optimize_smallscreen?'0.7':'0.9'); ?>em;
  1948. padding: 0.6em <?php echo ($dol_optimize_smallscreen?'0.4':'0.7'); ?>em;
  1949. font-family: <?php print $fontlist ?>;
  1950. font-weight: normal;
  1951. border-color: #c5c5c5;
  1952. border-color: rgba(0, 0, 0, 0.15) rgba(0, 0, 0, 0.15) rgba(0, 0, 0, 0.25);
  1953. display: inline-block;
  1954. text-align: center;
  1955. cursor: pointer;
  1956. color: #fff;
  1957. background: rgb(<?php echo $colorbackhmenu1 ?>);
  1958. border: 1px solid rgb(<?php echo $colorbackhmenu1 ?>);
  1959. }
  1960. .butAction:hover {
  1961. -moz-box-shadow: 0px 0px 6px 1px rgba(50, 50, 50, 0.4), 0px 0px 0px rgba(60,60,60,0.1);
  1962. -webkit-box-shadow: 0px 0px 6px 1px rgba(50, 50, 50, 0.4), 0px 0px 0px rgba(60,60,60,0.1);
  1963. box-shadow: 0px 0px 6px 1px rgba(50, 50, 50, 0.4), 0px 0px 0px rgba(60,60,60,0.1);
  1964. }
  1965. .butActionDelete, .butActionDelete:link, .butActionDelete:visited, .butActionDelete:hover, .butActionDelete:active, .buttonDelete {
  1966. background: #633;
  1967. border: 1px solid #633;
  1968. color: #FFF;
  1969. }
  1970. .butActionDelete:hover {
  1971. -moz-box-shadow: 0px 0px 6px 1px rgba(50, 50, 50, 0.4), 0px 0px 0px rgba(60,60,60,0.1);
  1972. -webkit-box-shadow: 0px 0px 6px 1px rgba(50, 50, 50, 0.4), 0px 0px 0px rgba(60,60,60,0.1);
  1973. box-shadow: 0px 0px 6px 1px rgba(50, 50, 50, 0.4), 0px 0px 0px rgba(60,60,60,0.1);
  1974. }
  1975. .butActionRefused {
  1976. text-decoration: none !important;
  1977. white-space: nowrap !important;
  1978. cursor: not-allowed !important;
  1979. margin: 0em <?php echo ($dol_optimize_smallscreen?'0.7':'0.9'); ?>em;
  1980. padding: 0.6em <?php echo ($dol_optimize_smallscreen?'0.4':'0.7'); ?>em;
  1981. font-family: <?php print $fontlist ?> !important;
  1982. font-weight: normal !important;
  1983. display: inline-block;
  1984. text-align: center;
  1985. cursor: pointer;
  1986. color: #999 !important;
  1987. border: 1px solid #bbb;
  1988. }
  1989. <?php if (! empty($conf->global->MAIN_BUTTON_HIDE_UNAUTHORIZED) && (! $user->admin)) { ?>
  1990. .butActionRefused {
  1991. display: none;
  1992. }
  1993. <?php } ?>
  1994. /* ============================================================================== */
  1995. /* Tables */
  1996. /* ============================================================================== */
  1997. .allwidth {
  1998. width: 100%;
  1999. }
  2000. #undertopmenu {
  2001. background-repeat: repeat-x;
  2002. margin-top: <?php echo ($dol_hide_topmenu?'6':'0'); ?>px;
  2003. }
  2004. .paddingrightonly {
  2005. border-collapse: collapse;
  2006. border: 0px;
  2007. margin-left: 0px;
  2008. padding-<?php print $left; ?>: 0px !important;
  2009. padding-<?php print $right; ?>: 4px !important;
  2010. }
  2011. .nocellnopadd {
  2012. list-style-type:none;
  2013. margin: 0px !important;
  2014. padding: 0px !important;
  2015. }
  2016. tr.nocellnopadd td.nobordernopadding, tr.nocellnopadd td.nocellnopadd
  2017. {
  2018. border: 0px;
  2019. }
  2020. .notopnoleft {
  2021. border-collapse: collapse;
  2022. border: 0px;
  2023. padding-top: 0px;
  2024. padding-<?php print $left; ?>: 0px;
  2025. padding-<?php print $right; ?>: 16px;
  2026. padding-bottom: 4px;
  2027. margin-right: 0px;
  2028. }
  2029. .notopnoleftnoright {
  2030. border-collapse: collapse;
  2031. border: 0px;
  2032. padding-top: 0px;
  2033. padding-left: 0px;
  2034. padding-right: 0px;
  2035. padding-bottom: 4px;
  2036. margin: 0px 0px 0px 0px;
  2037. }
  2038. table.border, table.dataTable, .table-border, .table-border-col, .table-key-border-col, .table-val-border-col, div.border {
  2039. border-collapse: collapse !important;
  2040. padding: 1px 2px 1px 3px; /* t r b l */
  2041. }
  2042. table.borderplus {
  2043. border: 1px solid #BBB;
  2044. }
  2045. .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 {
  2046. height: 22px;
  2047. }
  2048. div.tabBar div.border .table-border-row, div.tabBar div.border .table-key-border-col, div.tabBar .table-val-border-col {
  2049. vertical-align: middle;
  2050. }
  2051. div .tdtop {
  2052. vertical-align: top !important;
  2053. padding-top: 5px !important;
  2054. padding-bottom: 0px;
  2055. }
  2056. table.border td, div.border div div.tagtd {
  2057. padding: 5px 2px 5px 2px;
  2058. border-collapse: collapse;
  2059. }
  2060. div.tabBar .fichecenter table.border>tbody>tr>td, div.tabBar .fichecenter div.border div div.tagtd, div.tabBar div.border div div.tagtd
  2061. {
  2062. padding-top: 5px;
  2063. border-bottom: 1px solid #E0E0E0;
  2064. }
  2065. td.border, div.tagtable div div.border {
  2066. border-top: 1px solid #000000;
  2067. border-right: 1px solid #000000;
  2068. border-bottom: 1px solid #000000;
  2069. border-left: 1px solid #000000;
  2070. }
  2071. .table-key-border-col {
  2072. /* width: 25%; */
  2073. vertical-align:top;
  2074. }
  2075. .table-val-border-col {
  2076. width:auto;
  2077. }
  2078. /* Main boxes */
  2079. .noborderbottom {
  2080. border-bottom: none !important;
  2081. }
  2082. .ficheaddleft table.noborder {
  2083. margin: 0px 0px 0px 0px;
  2084. }
  2085. table.liste, table.noborder, table.formdoc, div.noborder {
  2086. width: 100%;
  2087. border-collapse: separate !important;
  2088. border-spacing: 0px;
  2089. border-top-width: <?php echo $borderwith ?>px;
  2090. border-top-color: rgb(<?php echo $colortopbordertitle1 ?>);
  2091. border-top-style: solid;
  2092. border-bottom-width: 1px;
  2093. border-bottom-color: #BBB;
  2094. border-bottom-style: solid;
  2095. margin: 0px 0px 5px 0px;
  2096. }
  2097. div.tabBar div.ficheaddleft table.noborder:last-of-type {
  2098. border-bottom: 1px solid #aaa;
  2099. }
  2100. div.tabBar div.ficheaddleft table.noborder {
  2101. border-bottom: none;
  2102. }
  2103. table.paddingtopbottomonly tr td {
  2104. padding-top: 1px;
  2105. padding-bottom: 2px;
  2106. }
  2107. .liste_titre_filter {
  2108. background: rgb(<?php echo $colorbacktitle1; ?>) !important;
  2109. }
  2110. tr.liste_titre_filter td.liste_titre {
  2111. border-bottom: 1px solid #ddd;
  2112. }
  2113. .liste_titre_create td, .liste_titre_create th, .liste_titre_create .tagtd
  2114. {
  2115. /*border-top-width: 1px;
  2116. border-top-color: rgb(<?php echo $colortopbordertitle1 ?>);
  2117. border-top-style: solid;*/
  2118. }
  2119. .liste_titre_add td, .liste_titre_add th, .liste_titre_add .tagtd
  2120. {
  2121. border-top-width: 2px;
  2122. border-top-color: rgb(<?php echo $colortopbordertitle1 ?>);
  2123. border-top-style: solid;
  2124. }
  2125. table.liste tr, table.noborder tr, div.noborder form {
  2126. border-top-color: #FEFEFE;
  2127. min-height: 20px;
  2128. }
  2129. table.liste th, table.noborder th, table.noborder tr.liste_titre td, table.noborder tr.box_titre td {
  2130. padding: 7px 2px 7px 3px; /* t r b l */
  2131. }
  2132. table.liste td, table.noborder td, div.noborder form div {
  2133. padding: 7px 2px 7px 3px; /* t r b l */
  2134. }
  2135. div.liste_titre_bydiv .divsearchfield {
  2136. padding: 2px 1px 2px 0px; /* t r b l */
  2137. }
  2138. tr.box_titre .nobordernopadding td {
  2139. padding: 0 ! important;
  2140. }
  2141. table.nobordernopadding {
  2142. border-collapse: collapse !important;
  2143. border: 0;
  2144. }
  2145. table.nobordernopadding tr {
  2146. border: 0 !important;
  2147. padding: 0 0 !important;
  2148. }
  2149. table.nobordernopadding tr td {
  2150. border: 0 !important;
  2151. padding: 0 3px 0 0;
  2152. }
  2153. table.border tr td table.nobordernopadding tr td {
  2154. padding-top: 0;
  2155. padding-bottom: 0;
  2156. }
  2157. td.borderright {
  2158. border: none; /* to erase value for table.nobordernopadding td */
  2159. border-right-width: 1px !important;
  2160. border-right-color: #BBB !important;
  2161. border-right-style: solid !important;
  2162. }
  2163. /* For table with no filter before */
  2164. table.listwithfilterbefore {
  2165. border-top: none !important;
  2166. }
  2167. .tagtable, .table-border { display: table; }
  2168. .tagtr, .table-border-row { display: table-row; }
  2169. .tagtd, .table-border-col, .table-key-border-col, .table-val-border-col { display: table-cell; }
  2170. /* Pagination */
  2171. div.refidpadding {
  2172. padding-top: 3px;
  2173. }
  2174. div.refid {
  2175. font-weight: bold;
  2176. color: #868;
  2177. font-size: 160%;
  2178. }
  2179. div.refidno {
  2180. padding-top: 3px;
  2181. font-weight: normal;
  2182. color: #444;
  2183. font-size: <?php print $fontsize ?>px;
  2184. line-height: 21px;
  2185. }
  2186. div.refidno form {
  2187. display: inline-block;
  2188. }
  2189. div.pagination {
  2190. float: right;
  2191. }
  2192. div.pagination a {
  2193. font-weight: normal;
  2194. }
  2195. div.pagination ul
  2196. {
  2197. list-style: none;
  2198. display: inline-block;
  2199. padding-left: 0px;
  2200. padding-right: 0px;
  2201. margin: 0;
  2202. }
  2203. div.pagination li {
  2204. display: inline-block;
  2205. padding-left: 0px;
  2206. padding-right: 0px;
  2207. padding-top: 6px;
  2208. padding-bottom: 5px;
  2209. }
  2210. .pagination {
  2211. display: inline-block;
  2212. padding-left: 0;
  2213. border-radius: 4px;
  2214. }
  2215. div.pagination li.pagination a,
  2216. div.pagination li.pagination span {
  2217. padding: 6px 12px;
  2218. line-height: 1.42857143;
  2219. color: #000;
  2220. text-decoration: none;
  2221. background-repeat: repeat-x;
  2222. }
  2223. div.pagination li.pagination span.inactive {
  2224. cursor: default;
  2225. color: #ccc;
  2226. }
  2227. li.noborder.litext, li.noborder.litext a,
  2228. div.pagination li a.inactive:hover,
  2229. div.pagination li span.inactive:hover {
  2230. -moz-box-shadow: none !important;
  2231. -webkit-box-shadow: none !important;
  2232. box-shadow: none !important;
  2233. }
  2234. /*div.pagination li.litext {
  2235. padding-top: 8px;
  2236. }*/
  2237. div.pagination li.litext a {
  2238. border: none;
  2239. padding-right: 10px;
  2240. padding-left: 4px;
  2241. font-weight: bold;
  2242. }
  2243. div.pagination li.litext a:hover {
  2244. background-color: transparent;
  2245. background-image: none;
  2246. }
  2247. div.pagination li.litext a:hover {
  2248. background-color: transparent;
  2249. background-image: none;
  2250. }
  2251. div.pagination li.noborder a:hover {
  2252. border: none;
  2253. background-color: transparent;
  2254. }
  2255. div.pagination li a,
  2256. div.pagination li span {
  2257. /* background-color: #fff; */
  2258. /* border: 1px solid #ddd; */
  2259. }
  2260. div.pagination li:first-child a,
  2261. div.pagination li:first-child span {
  2262. margin-left: 0;
  2263. border-top-left-radius: 4px;
  2264. border-bottom-left-radius: 4px;
  2265. }
  2266. div.pagination li:last-child a,
  2267. div.pagination li:last-child span {
  2268. border-top-right-radius: 4px;
  2269. border-bottom-right-radius: 4px;
  2270. }
  2271. div.pagination li a:hover,
  2272. div.pagination li span:hover,
  2273. div.pagination li a:focus,
  2274. div.pagination li span:focus {
  2275. -moz-box-shadow: 0px 0px 6px 1px rgba(50, 50, 50, 0.4), 0px 0px 0px rgba(60,60,60,0.1);
  2276. -webkit-box-shadow: 0px 0px 6px 1px rgba(50, 50, 50, 0.4), 0px 0px 0px rgba(60,60,60,0.1);
  2277. box-shadow: 0px 0px 6px 1px rgba(50, 50, 50, 0.4), 0px 0px 0px rgba(60,60,60,0.1);
  2278. padding-top: 8px;
  2279. }
  2280. div.pagination li .active a,
  2281. div.pagination li .active span,
  2282. div.pagination li .active a:hover,
  2283. div.pagination li .active span:hover,
  2284. div.pagination li .active a:focus,
  2285. div.pagination li .active span:focus {
  2286. z-index: 2;
  2287. color: #fff;
  2288. cursor: default;
  2289. background-color: <?php $colorbackhmenu1 ?>;
  2290. border-color: #337ab7;
  2291. }
  2292. div.pagination .disabled span,
  2293. div.pagination .disabled span:hover,
  2294. div.pagination .disabled span:focus,
  2295. div.pagination .disabled a,
  2296. div.pagination .disabled a:hover,
  2297. div.pagination .disabled a:focus {
  2298. color: #777;
  2299. cursor: not-allowed;
  2300. background-color: #fff;
  2301. border-color: #ddd;
  2302. }
  2303. div.pagination li.pagination .active {
  2304. text-decoration: underline;
  2305. box-shadow: none;
  2306. }
  2307. .paginationafterarrows .nohover {
  2308. box-shadow: none !important;
  2309. }
  2310. div.pagination li.paginationafterarrows {
  2311. margin-left: 10px;
  2312. }
  2313. .paginationatbottom {
  2314. margin-top: 9px;
  2315. }
  2316. /* Set the color for hover lines */
  2317. .oddeven:hover, .evenodd:hover, .impair:hover, .pair:hover
  2318. {
  2319. <?php if ($colorbacklinepairhover) { ?>
  2320. background: rgb(<?php echo $colorbacklinepairhover; ?>) !important; /* Must be background to be stronger than background of odd or even */
  2321. <?php } ?>
  2322. }
  2323. .oddeven, .evenodd, .impair, .nohover .impair:hover, tr.impair td.nohover
  2324. {
  2325. font-family: <?php print $fontlist ?>;
  2326. margin-bottom: 1px;
  2327. color: #202020;
  2328. }
  2329. .impair, .nohover .impair:hover, tr.impair td.nohover
  2330. {
  2331. background: #<?php echo colorArrayToHex(colorStringToArray($colorbacklineimpair1)); ?>;
  2332. }
  2333. #GanttChartDIV {
  2334. background-color: #<?php echo colorArrayToHex(colorStringToArray($colorbacklineimpair1)); ?>;
  2335. }
  2336. .oddeven, .evenodd, .pair, .nohover .pair:hover, tr.pair td.nohover {
  2337. font-family: <?php print $fontlist ?>;
  2338. margin-bottom: 1px;
  2339. color: #202020;
  2340. }
  2341. .pair, .nohover .pair:hover, tr.pair td.nohover {
  2342. background-color: #<?php echo colorArrayToHex(colorStringToArray($colorbacklinepair1)); ?>;
  2343. }
  2344. table.dataTable tr.oddeven {
  2345. background-color: #<?php echo colorArrayToHex(colorStringToArray($colorbacklinepair1)); ?> !important;
  2346. }
  2347. /* For no hover style */
  2348. 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 {
  2349. background-color: #<?php echo colorArrayToHex(colorStringToArray($colorbacklineimpair1)); ?> !important;
  2350. background: #<?php echo colorArrayToHex(colorStringToArray($colorbacklineimpair1)); ?> !important;
  2351. }
  2352. td.evenodd, tr.nohoverpair td {
  2353. background-color: #<?php echo colorArrayToHex(colorStringToArray($colorbacklinepair1)); ?> !important;
  2354. background: #<?php echo colorArrayToHex(colorStringToArray($colorbacklinepair1)); ?> !important;
  2355. }
  2356. table.dataTable td {
  2357. padding: 5px 2px 5px 3px !important;
  2358. }
  2359. 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 {
  2360. padding: 7px 2px 7px 3px;
  2361. border-bottom: 1px solid #ddd;
  2362. }
  2363. form.pair, form.impair {
  2364. font-weight: normal;
  2365. }
  2366. form.tagtr:last-of-type div.tagtd, tr.pair:last-of-type td, tr.impair:last-of-type td {
  2367. border-bottom: 0px !important;
  2368. }
  2369. tr.pair td .nobordernopadding tr td, tr.impair td .nobordernopadding tr td {
  2370. border-bottom: 0px !important;
  2371. }
  2372. td.nobottom, td.nobottom {
  2373. border-bottom: 0px !important;
  2374. }
  2375. div.liste_titre .tagtd {
  2376. vertical-align: middle;
  2377. }
  2378. /*div.liste_titre {
  2379. box-shadow: 2px 2px 4px #CCC;
  2380. }*/
  2381. div.liste_titre {
  2382. 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 */
  2383. padding-top: 2px;
  2384. padding-bottom: 2px;
  2385. /* border-top-width: 1px;
  2386. border-top-color: #BBB;
  2387. border-top-style: solid;*/
  2388. }
  2389. div.liste_titre_bydiv {
  2390. border-top-width: <?php echo $borderwith ?>px;
  2391. border-top-color: rgb(<?php echo $colortopbordertitle1 ?>);
  2392. border-top-style: solid;
  2393. border-collapse: collapse;
  2394. display: table;
  2395. padding: 2px 0px 2px 0;
  2396. box-shadow: none;
  2397. width: calc(100% - 1px); /* 1px more, i don't know why */
  2398. }
  2399. tr.liste_titre, tr.liste_titre_sel, form.liste_titre, form.liste_titre_sel, table.dataTable.tr
  2400. {
  2401. height: 26px !important;
  2402. }
  2403. 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
  2404. {
  2405. background: rgb(<?php echo $colorbacktitle1; ?>);
  2406. font-weight: <?php echo $useboldtitle?'bold':'normal'; ?>;
  2407. border-bottom: 1px solid #ddd;
  2408. color: rgb(<?php echo $colortexttitle; ?>);
  2409. font-family: <?php print $fontlist ?>;
  2410. text-align: <?php echo $left; ?>;
  2411. }
  2412. tr.liste_titre th, tr.liste_titre td, th.liste_titre
  2413. {
  2414. /* border-bottom: 1px solid #<?php echo ($colorbacktitle1 == '255,255,255'?'BBBBBB':'ddd'); ?>; */
  2415. border-bottom: 1px solid #888;
  2416. }
  2417. tr.liste_titre:first-child th, tr:first-child th.liste_titre {
  2418. border-bottom: 1px solid #ddd ! important;
  2419. }
  2420. tr.liste_titre th, th.liste_titre, tr.liste_titre td, td.liste_titre, form.liste_titre div
  2421. {
  2422. font-family: <?php print $fontlist ?>;
  2423. font-weight: <?php echo $useboldtitle?'bold':'normal'; ?>;
  2424. vertical-align: middle;
  2425. height: 24px;
  2426. }
  2427. 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 {
  2428. text-shadow: none !important;
  2429. }
  2430. tr.liste_titre_topborder td {
  2431. border-top-width: <?php echo $borderwith; ?>px;
  2432. border-top-color: rgb(<?php echo $colortopbordertitle1 ?>);
  2433. border-top-style: solid;
  2434. }
  2435. .liste_titre td a {
  2436. text-shadow: none !important;
  2437. color: rgb(<?php echo $colortexttitle; ?>);
  2438. }
  2439. .liste_titre td a.notasortlink {
  2440. color: rgb(<?php echo $colortextlink; ?>);
  2441. }
  2442. .liste_titre td a.notasortlink:hover {
  2443. background: transparent;
  2444. }
  2445. 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 */
  2446. border-bottom: 1px solid #ddd;
  2447. }
  2448. tr.liste_titre_sel th, th.liste_titre_sel, tr.liste_titre_sel td, td.liste_titre_sel, form.liste_titre_sel div
  2449. {
  2450. font-family: <?php print $fontlist ?>;
  2451. font-weight: normal;
  2452. border-bottom: 1px solid #FDFFFF;
  2453. text-decoration: underline;
  2454. }
  2455. input.liste_titre {
  2456. background: transparent;
  2457. border: 0px;
  2458. }
  2459. .listactionlargetitle .liste_titre {
  2460. line-height: 24px;
  2461. }
  2462. .noborder tr.liste_total, .noborder tr.liste_total td, tr.liste_total, form.liste_total {
  2463. /* background: #F0F0F0; */
  2464. }
  2465. .noborder tr.liste_total td, tr.liste_total td, form.liste_total div {
  2466. color: #552266;
  2467. font-weight: normal;
  2468. white-space: nowrap;
  2469. }
  2470. form.liste_total div {
  2471. border-top: 1px solid #DDDDDD;
  2472. }
  2473. tr.liste_sub_total, tr.liste_sub_total td {
  2474. border-bottom: 1px solid #aaa;
  2475. }
  2476. .tableforservicepart1 .impair, .tableforservicepart1 .pair, .tableforservicepart2 .impair, .tableforservicepart2 .pair {
  2477. background: #FFF;
  2478. }
  2479. .tableforservicepart1 tbody tr td, .tableforservicepart2 tbody tr td {
  2480. border-bottom: none;
  2481. }
  2482. .paymenttable, .margintable {
  2483. border-top-width: <?php echo $borderwith ?>px !important;
  2484. border-top-color: rgb(<?php echo $colortopbordertitle1 ?>) !important;
  2485. border-top-style: solid !important;
  2486. margin: 0px 0px 0px 0px !important;
  2487. }
  2488. .paymenttable tr td:first-child, .margintable tr td:first-child
  2489. {
  2490. padding-left: 2px;
  2491. }
  2492. /* Disable shadows */
  2493. .noshadow {
  2494. -moz-box-shadow: 0px 0px 0px #DDD !important;
  2495. -webkit-box-shadow: 0px 0px 0px #DDD !important;
  2496. box-shadow: 0px 0px 0px #DDD !important;
  2497. }
  2498. div.tabBar .noborder {
  2499. -moz-box-shadow: 0px 0px 0px #DDD !important;
  2500. -webkit-box-shadow: 0px 0px 0px #DDD !important;
  2501. box-shadow: 0px 0px 0px #DDD !important;
  2502. }
  2503. #tablelines tr.liste_titre td, .paymenttable tr.liste_titre td, .margintable tr.liste_titre td, .tableforservicepart1 tr.liste_titre td {
  2504. border-bottom: 1px solid #AAA !important;
  2505. }
  2506. /* Prepare to remove class pair - impair */
  2507. .noborder > tbody > tr:nth-child(even):not(.liste_titre), .liste > tbody > tr:nth-child(even):not(.liste_titre) {
  2508. background: linear-gradient(bottom, rgb(<?php echo $colorbacklineimpair1; ?>) 85%, rgb(<?php echo $colorbacklineimpair2; ?>) 100%);
  2509. background: -o-linear-gradient(bottom, rgb(<?php echo $colorbacklineimpair1; ?>) 85%, rgb(<?php echo $colorbacklineimpair2; ?>) 100%);
  2510. background: -moz-linear-gradient(bottom, rgb(<?php echo $colorbacklineimpair1; ?>) 85%, rgb(<?php echo $colorbacklineimpair2; ?>) 100%);
  2511. background: -webkit-linear-gradient(bottom, rgb(<?php echo $colorbacklineimpair1; ?>) 85%, rgb(<?php echo $colorbacklineimpair2; ?>) 100%);
  2512. background: -ms-linear-gradient(bottom, rgb(<?php echo $colorbacklineimpair1; ?>) 85%, rgb(<?php echo $colorbacklineimpair2; ?>) 100%);
  2513. }
  2514. .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) {
  2515. border-bottom: 1px solid #ddd;
  2516. }
  2517. .noborder > tbody > tr:nth-child(odd):not(.liste_titre), .liste > tbody > tr:nth-child(odd):not(.liste_titre) {
  2518. background: linear-gradient(bottom, rgb(<?php echo $colorbacklinepair1; ?>) 85%, rgb(<?php echo $colorbacklinepair2; ?>) 100%);
  2519. background: -o-linear-gradient(bottom, rgb(<?php echo $colorbacklinepair1; ?>) 85%, rgb(<?php echo $colorbacklinepair2; ?>) 100%);
  2520. background: -moz-linear-gradient(bottom, rgb(<?php echo $colorbacklinepair1; ?>) 85%, rgb(<?php echo $colorbacklinepair2; ?>) 100%);
  2521. background: -webkit-linear-gradient(bottom, rgb(<?php echo $colorbacklinepair1; ?>) 85%, rgb(<?php echo $colorbacklinepair2; ?>) 100%);
  2522. background: -ms-linear-gradient(bottom, rgb(<?php echo $colorbacklinepair1; ?>) 85%, rgb(<?php echo $colorbacklinepair2; ?>) 100%);
  2523. }
  2524. .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) {
  2525. border-bottom: 1px solid #ddd;
  2526. }
  2527. /*
  2528. * Boxes
  2529. */
  2530. .ficheaddleft div.boxstats {
  2531. border: none;
  2532. }
  2533. .boxstatsborder {
  2534. border: 1px solid #CCC !important;
  2535. }
  2536. .boxstats, .boxstats130 {
  2537. display: inline-block;
  2538. margin: 3px;
  2539. border: 1px solid #CCC;
  2540. text-align: center;
  2541. border-radius: 2px;
  2542. }
  2543. .boxstats, .boxstats130, .boxstatscontent {
  2544. white-space: nowrap;
  2545. overflow: hidden;
  2546. text-overflow: ellipsis;
  2547. }
  2548. .boxstats {
  2549. padding: 3px;
  2550. width: 105px;
  2551. }
  2552. .boxstats130 {
  2553. width: 160px;
  2554. height: 48px;
  2555. padding: 3px
  2556. }
  2557. .boxstatscontent {
  2558. padding: 3px;
  2559. }
  2560. @media only screen and (max-width: 767px)
  2561. {
  2562. .thumbstat150 {
  2563. flex: 1 1 110px;
  2564. }
  2565. .boxstats, .boxstats130 {
  2566. width: 90px;
  2567. }
  2568. .dashboardlineindicator {
  2569. float: left;
  2570. padding-left: 5px;
  2571. }
  2572. }
  2573. .boxstats:hover {
  2574. box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.20);
  2575. }
  2576. span.boxstatstext {
  2577. opacity: 0.8;
  2578. line-height: 18px;
  2579. }
  2580. span.boxstatsindicator {
  2581. font-size: 130%;
  2582. font-weight: normal;
  2583. line-height: 29px;
  2584. }
  2585. span.dashboardlineindicator, span.dashboardlineindicatorlate {
  2586. font-size: 130%;
  2587. font-weight: normal;
  2588. }
  2589. .dashboardlineindicatorlate img {
  2590. width: 16px;
  2591. }
  2592. span.dashboardlineok {
  2593. color: #008800;
  2594. }
  2595. span.dashboardlineko {
  2596. color: #FFF;
  2597. /*color: #8c4446 ! important;
  2598. padding-left: 1px;*/
  2599. font-size: 80%;
  2600. }
  2601. .dashboardlinelatecoin {
  2602. float: right;
  2603. position: relative;
  2604. text-align: right;
  2605. top: -24px;
  2606. padding: 1px 2px 1px 2px;
  2607. border-radius: .25em;
  2608. background-color: #af4705;
  2609. padding: 0px 5px 0px 5px;
  2610. top: -26px;
  2611. }
  2612. .imglatecoin {
  2613. padding: 1px 3px 1px 1px;
  2614. margin-left: 4px;
  2615. margin-right: 2px;
  2616. background-color: #8c4446;
  2617. color: #FFFFFF ! important;
  2618. border-radius: .25em;
  2619. display: inline-block;
  2620. vertical-align: middle;
  2621. }
  2622. .boxtable {
  2623. margin-bottom: 8px !important;
  2624. border-bottom-width: 1px;
  2625. }
  2626. .boxtablenobottom {
  2627. border-bottom-width: 0 !important;
  2628. }
  2629. .tdboxstats {
  2630. text-align: center;
  2631. }
  2632. a.valignmiddle.dashboardlineindicator {
  2633. line-height: 30px;
  2634. }
  2635. .box {
  2636. padding-right: 0px;
  2637. padding-left: 0px;
  2638. padding-bottom: 12px;
  2639. }
  2640. tr.box_titre {
  2641. height: 26px;
  2642. /* TO MATCH BOOTSTRAP */
  2643. /*background: #ddd;
  2644. color: #000 !important;*/
  2645. /* TO MATCH ELDY */
  2646. background: rgb(<?php echo $colorbacktitle1; ?>)
  2647. color: rgb(<?php echo $colortexttitle; ?>);
  2648. font-family: <?php print $fontlist ?>, sans-serif;
  2649. font-weight: <?php echo $useboldtitle?'bold':'normal'; ?>;
  2650. border-bottom: 1px solid #FDFFFF;
  2651. white-space: nowrap;
  2652. }
  2653. tr.box_titre td.boxclose {
  2654. width: 30px;
  2655. }
  2656. img.boxhandle, img.boxclose {
  2657. padding-left: 5px;
  2658. }
  2659. .noborderbottom {
  2660. border-bottom: none !important;
  2661. }
  2662. .formboxfilter {
  2663. vertical-align: middle;
  2664. margin-bottom: 6px;
  2665. }
  2666. .formboxfilter input[type=image]
  2667. {
  2668. top: 5px;
  2669. position: relative;
  2670. }
  2671. .boxfilter {
  2672. margin-bottom: 2px;
  2673. margin-right: 1px;
  2674. }
  2675. .prod_entry_mode_free, .prod_entry_mode_predef {
  2676. height: 26px !important;
  2677. vertical-align: middle;
  2678. }
  2679. .modulebuilderbox {
  2680. border: 1px solid #888;
  2681. padding: 16px;
  2682. }
  2683. /*
  2684. * Ok, Warning, Error
  2685. */
  2686. .ok { color: #114466; }
  2687. .warning { color: #887711; }
  2688. .error { color: #550000 !important; font-weight: bold; }
  2689. div.ok {
  2690. color: #114466;
  2691. }
  2692. /* Warning message */
  2693. div.warning {
  2694. color: #302020;
  2695. padding: 0.3em 0.3em 0.3em 0.3em;
  2696. margin: 0.5em 0em 0.5em 0em;
  2697. border: 1px solid #e0d0b0;
  2698. -moz-border-radius: 4px;
  2699. -webkit-border-radius: 4px;
  2700. border-radius: 4px;
  2701. background: #EFDF9A;
  2702. text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
  2703. }
  2704. /* Error message */
  2705. div.error {
  2706. background: #EFCFCF;
  2707. }
  2708. /* Info admin */
  2709. div.info {
  2710. color: #fff;
  2711. padding: 0.4em 0.4em 0.4em 0.4em;
  2712. margin: 0.5em 0em 0.5em 0em;
  2713. border: 1px solid #e0e0e0;
  2714. -moz-border-radius: 4px;
  2715. -webkit-border-radius: 4px;
  2716. border-radius: 4px;
  2717. background: #806090;
  2718. /* text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5); */
  2719. }
  2720. div.warning a, div.info a, div.error a {
  2721. color: rgb(<?php echo $colortext; ?>);
  2722. }
  2723. /*
  2724. * Liens Payes/Non payes
  2725. */
  2726. a.normal:link { font-weight: normal }
  2727. a.normal:visited { font-weight: normal }
  2728. a.normal:active { font-weight: normal }
  2729. a.normal:hover { font-weight: normal }
  2730. a.impayee:link { font-weight: bold; color: #550000; }
  2731. a.impayee:visited { font-weight: bold; color: #550000; }
  2732. a.impayee:active { font-weight: bold; color: #550000; }
  2733. a.impayee:hover { font-weight: bold; color: #550000; }
  2734. /*
  2735. * Other
  2736. */
  2737. .product_line_stock_ok { color: #002200; }
  2738. .product_line_stock_too_low { color: #664400; }
  2739. .fieldrequired { font-weight: bold; color: #000055; }
  2740. .widthpictotitle { width: 40px; text-align: <?php echo $left; ?>; }
  2741. .dolgraphtitle { margin-top: 6px; margin-bottom: 4px; }
  2742. .dolgraphtitlecssboxes { margin: 0px; }
  2743. .legendColorBox, .legendLabel { border: none !important; }
  2744. div.dolgraph div.legend, div.dolgraph div.legend div { background-color: rgba(255,255,255,0) !important; }
  2745. div.dolgraph div.legend table tbody tr { height: auto; }
  2746. td.legendColorBox { padding: 2px 2px 2px 0 !important; }
  2747. td.legendLabel { padding: 2px 2px 2px 0 !important; }
  2748. .photo {
  2749. border: 0px;
  2750. }
  2751. .photowithmargin {
  2752. margin-bottom: 2px;
  2753. margin-top: 10px;
  2754. }
  2755. .photowithborder {
  2756. border: 1px solid #f0f0f0;
  2757. }
  2758. .photointooltip {
  2759. margin-top: 6px;
  2760. margin-bottom: 6px;
  2761. text-align: center;
  2762. /*-moz-box-shadow: 3px 3px 4px #DDD;
  2763. -webkit-box-shadow: 3px 3px 4px #DDD;
  2764. box-shadow: 3px 3px 4px #DDD;*/
  2765. }
  2766. .photodelete {
  2767. margin-top: 6px !important;
  2768. }
  2769. .logo_setup
  2770. {
  2771. content:url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/logo_setup.svg',1) ?>); /* content is used to best fit the container */
  2772. display: inline-block;
  2773. }
  2774. .nographyet
  2775. {
  2776. content:url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/nographyet.svg',1) ?>);
  2777. display: inline-block;
  2778. opacity: 0.1;
  2779. background-repeat: no-repeat;
  2780. }
  2781. .nographyettext
  2782. {
  2783. opacity: 0.5;
  2784. }
  2785. div.titre {
  2786. font-family: <?php print $fontlist ?>;
  2787. font-size: 14px;
  2788. font-weight: bold;
  2789. color: rgb(<?php print $colortexttitlenotab; ?>);
  2790. text-decoration: none;
  2791. padding-top: 5px;
  2792. padding-bottom: 5px;
  2793. /* text-shadow: 1px 1px 2px #FFFFFF; */
  2794. }
  2795. #dolpaymenttable { width: 600px; font-size: 13px; }
  2796. #tablepublicpayment { border: 1px solid #CCCCCC !important; width: 100%; }
  2797. #tablepublicpayment .CTableRow1 { background-color: #F0F0F0 !important; }
  2798. #tablepublicpayment tr.liste_total { border-bottom: 1px solid #CCCCCC !important; }
  2799. #tablepublicpayment tr.liste_total td { border-top: none; }
  2800. #divsubscribe { width: 700px; }
  2801. #tablesubscribe { width: 100%; }
  2802. /*
  2803. * Effect Postit
  2804. */
  2805. .effectpostit
  2806. {
  2807. position: relative;
  2808. }
  2809. .effectpostit:before, .effectpostit:after
  2810. {
  2811. z-index: -1;
  2812. position: absolute;
  2813. content: "";
  2814. bottom: 15px;
  2815. left: 10px;
  2816. width: 50%;
  2817. top: 80%;
  2818. max-width:300px;
  2819. background: #777;
  2820. -webkit-box-shadow: 0 15px 10px #777;
  2821. -moz-box-shadow: 0 15px 10px #777;
  2822. box-shadow: 0 15px 10px #777;
  2823. -webkit-transform: rotate(-3deg);
  2824. -moz-transform: rotate(-3deg);
  2825. -o-transform: rotate(-3deg);
  2826. -ms-transform: rotate(-3deg);
  2827. transform: rotate(-3deg);
  2828. }
  2829. .effectpostit:after
  2830. {
  2831. -webkit-transform: rotate(3deg);
  2832. -moz-transform: rotate(3deg);
  2833. -o-transform: rotate(3deg);
  2834. -ms-transform: rotate(3deg);
  2835. transform: rotate(3deg);
  2836. right: 10px;
  2837. left: auto;
  2838. }
  2839. /* ============================================================================== */
  2840. /* Formulaire confirmation (When Ajax JQuery is used) */
  2841. /* ============================================================================== */
  2842. .ui-dialog-titlebar {
  2843. }
  2844. .ui-dialog-content {
  2845. font-size: <?php print $fontsize; ?>px !important;
  2846. }
  2847. /* ============================================================================== */
  2848. /* Formulaire confirmation (When HTML is used) */
  2849. /* ============================================================================== */
  2850. table.valid {
  2851. border-top: solid 1px #E6E6E6;
  2852. border-<?php print $left; ?>: solid 1px #E6E6E6;
  2853. border-<?php print $right; ?>: solid 1px #444444;
  2854. border-bottom: solid 1px #555555;
  2855. padding-top: 0px;
  2856. padding-left: 0px;
  2857. padding-right: 0px;
  2858. padding-bottom: 0px;
  2859. margin: 0px 0px;
  2860. background: #D5BAA8;
  2861. }
  2862. .validtitre {
  2863. background: #D5BAA8;
  2864. font-weight: bold;
  2865. }
  2866. /* ============================================================================== */
  2867. /* Tooltips */
  2868. /* ============================================================================== */
  2869. #tooltip {
  2870. position: absolute;
  2871. width: <?php print dol_size(450,'width'); ?>px;
  2872. border-top: solid 1px #BBBBBB;
  2873. border-<?php print $left; ?>: solid 1px #BBBBBB;
  2874. border-<?php print $right; ?>: solid 1px #444444;
  2875. border-bottom: solid 1px #444444;
  2876. padding: 2px;
  2877. z-index: 3000;
  2878. background-color: #FFF;
  2879. opacity: 1;
  2880. -moz-border-radius: 4px;
  2881. -webkit-border-radius: 4px;
  2882. border-radius: 4px;
  2883. }
  2884. #tiptip_content {
  2885. -moz-border-radius:0px;
  2886. -webkit-border-radius: 0px;
  2887. border-radius: 0px;
  2888. background-color: rgb(255,255,255);
  2889. line-height: 1.4em;
  2890. min-width: 200px;
  2891. }
  2892. /* ============================================================================== */
  2893. /* Calendar */
  2894. /* ============================================================================== */
  2895. img.datecallink { padding-left: 2px !important; padding-right: 2px !important; }
  2896. .ui-datepicker-trigger {
  2897. vertical-align: middle;
  2898. cursor: pointer;
  2899. }
  2900. .bodyline {
  2901. -moz-border-radius: 8px;
  2902. -webkit-border-radius: 8px;
  2903. border-radius: 8px;
  2904. border: 1px #E4ECEC outset;
  2905. padding: 0px;
  2906. margin-bottom: 5px;
  2907. }
  2908. table.dp {
  2909. width: 180px;
  2910. background-color: #FFFFFF;
  2911. border-top: solid 2px #DDDDDD;
  2912. border-<?php print $left; ?>: solid 2px #DDDDDD;
  2913. border-<?php print $right; ?>: solid 1px #222222;
  2914. border-bottom: solid 1px #222222;
  2915. padding: 0px;
  2916. border-spacing: 0px;
  2917. border-collapse: collapse;
  2918. }
  2919. .dp td, .tpHour td, .tpMinute td{padding:2px; font-size:10px;}
  2920. /* Barre titre */
  2921. .dpHead,.tpHead,.tpHour td:Hover .tpHead{
  2922. font-weight:bold;
  2923. background-color:#b3c5cc;
  2924. color:white;
  2925. font-size:11px;
  2926. cursor:auto;
  2927. }
  2928. /* Barre navigation */
  2929. .dpButtons,.tpButtons {
  2930. text-align:center;
  2931. background-color:#617389;
  2932. color:#FFFFFF;
  2933. font-weight:bold;
  2934. cursor:pointer;
  2935. }
  2936. .dpButtons:Active,.tpButtons:Active{border: 1px outset black;}
  2937. .dpDayNames td,.dpExplanation {background-color:#D9DBE1; font-weight:bold; text-align:center; font-size:11px;}
  2938. .dpExplanation{ font-weight:normal; font-size:11px;}
  2939. .dpWeek td{text-align:center}
  2940. .dpToday,.dpReg,.dpSelected{
  2941. cursor:pointer;
  2942. }
  2943. .dpToday{font-weight:bold; color:black; background-color:#DDDDDD;}
  2944. .dpReg:Hover,.dpToday:Hover{background-color:black;color:white}
  2945. /* Jour courant */
  2946. .dpSelected{background-color:#0B63A2;color:white;font-weight:bold; }
  2947. .tpHour{border-top:1px solid #DDDDDD; border-right:1px solid #DDDDDD;}
  2948. .tpHour td {border-left:1px solid #DDDDDD; border-bottom:1px solid #DDDDDD; cursor:pointer;}
  2949. .tpHour td:Hover {background-color:black;color:white;}
  2950. .tpMinute {margin-top:5px;}
  2951. .tpMinute td:Hover {background-color:black; color:white; }
  2952. .tpMinute td {background-color:#D9DBE1; text-align:center; cursor:pointer;}
  2953. /* Bouton X fermer */
  2954. .dpInvisibleButtons
  2955. {
  2956. border-style:none;
  2957. background-color:transparent;
  2958. padding:0px;
  2959. font-size:9px;
  2960. border-width:0px;
  2961. color:#0B63A2;
  2962. vertical-align:middle;
  2963. cursor: pointer;
  2964. }
  2965. .datenowlink
  2966. {
  2967. color: rgb(<?php print $colortextlink; ?>);
  2968. }
  2969. /* ============================================================================== */
  2970. /* Afficher/cacher */
  2971. /* ============================================================================== */
  2972. div.visible {
  2973. display: block;
  2974. }
  2975. div.hidden, td.hidden, img.hidden {
  2976. display: none;
  2977. }
  2978. tr.visible {
  2979. display: block;
  2980. }
  2981. /* ============================================================================== */
  2982. /* Module website */
  2983. /* ============================================================================== */
  2984. .websitebar {
  2985. border-bottom: 1px solid #888;
  2986. background: #eee;
  2987. display: inline-block;
  2988. }
  2989. .websitebar .button, .websitebar .buttonDelete
  2990. {
  2991. padding: 2px 5px 3px 5px !important;
  2992. margin: 2px 4px 2px 4px !important;
  2993. line-height: normal;
  2994. }
  2995. .websiteselection {
  2996. display: inline-block;
  2997. padding-left: 10px;
  2998. vertical-align: middle;
  2999. /* line-height: 29px; */
  3000. }
  3001. .websitetools {
  3002. float: right;
  3003. /* height: 28px; */
  3004. }
  3005. .websiteselection, .websitetools {
  3006. padding-top: 3px;
  3007. padding-bottom: 3px;
  3008. }
  3009. .websiteinputurl {
  3010. display: inline-block;
  3011. vertical-align: top;
  3012. }
  3013. .websiteiframenoborder {
  3014. border: 0px;
  3015. }
  3016. a.websitebuttonsitepreview {
  3017. vertical-align: middle;
  3018. }
  3019. a.websitebuttonsitepreview img {
  3020. width: 26px;
  3021. display: inline-block;
  3022. }
  3023. /* ============================================================================== */
  3024. /* Module agenda */
  3025. /* ============================================================================== */
  3026. .agendacell { height: 60px; }
  3027. table.cal_month { border-spacing: 0px; }
  3028. table.cal_month td:first-child { border-left: 0px; }
  3029. table.cal_month td:last-child { border-right: 0px; }
  3030. .cal_current_month { border-top: 0; border-left: solid 1px #E0E0E0; border-right: 0; border-bottom: solid 1px #E0E0E0; }
  3031. .cal_current_month_peruserleft { border-top: 0; border-left: solid 2px #6C7C7B; border-right: 0; border-bottom: solid 1px #E0E0E0; }
  3032. .cal_current_month_oneday { border-right: solid 1px #E0E0E0; }
  3033. .cal_other_month { border-top: 0; border-left: solid 1px #C0C0C0; border-right: 0; border-bottom: solid 1px #C0C0C0; }
  3034. .cal_other_month_peruserleft { border-top: 0; border-left: solid 2px #6C7C7B !important; border-right: 0; }
  3035. .cal_current_month_right { border-right: solid 1px #E0E0E0; }
  3036. .cal_other_month_right { border-right: solid 1px #C0C0C0; }
  3037. .cal_other_month { /* opacity: 0.6; */ background: #EAEAEA; padding-<?php print $left; ?>: 2px; padding-<?php print $right; ?>: 1px; padding-top: 0px; padding-bottom: 0px; }
  3038. .cal_past_month { /* opacity: 0.6; */ background: #EEEEEE; padding-<?php print $left; ?>: 2px; padding-<?php print $right; ?>: 1px; padding-top: 0px; padding-bottom: 0px; }
  3039. .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; }
  3040. .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; }
  3041. .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; }
  3042. .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; }
  3043. .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; }
  3044. .cal_past { }
  3045. .cal_peruser { padding: 0px; }
  3046. .cal_impair { background: #F8F8F8; }
  3047. .cal_today_peruser_impair { background: #F8F8F0; }
  3048. .peruser_busy { background: #CC8888; }
  3049. .peruser_notbusy { background: #EEDDDD; opacity: 0.5; }
  3050. table.cal_event { border: none; border-collapse: collapse; margin-bottom: 1px; -webkit-border-radius: 6px; border-radius: 6px; min-height: 20px; }
  3051. table.cal_event td { border: none; padding-<?php print $left; ?>: 2px; padding-<?php print $right; ?>: 2px; padding-top: 0px; padding-bottom: 0px; }
  3052. table.cal_event td.cal_event { padding: 4px 4px !important; }
  3053. table.cal_event td.cal_event_right { padding: 4px 4px !important; }
  3054. .cal_event a:link { color: #111111; font-size: 11px; font-weight: normal !important; }
  3055. .cal_event a:visited { color: #111111; font-size: 11px; font-weight: normal !important; }
  3056. .cal_event a:active { color: #111111; font-size: 11px; font-weight: normal !important; }
  3057. .cal_event a:hover { color: #111111; font-size: 11px; font-weight: normal !important; color:rgba(255,255,255,.75); }
  3058. .cal_event_busy { }
  3059. .cal_peruserviewname { max-width: 100px; height: 22px; }
  3060. /* ============================================================================== */
  3061. /* Ajax - Liste deroulante de l'autocompletion */
  3062. /* ============================================================================== */
  3063. .ui-widget-content { border: solid 1px rgba(0,0,0,.3); background: #fff !important; }
  3064. .ui-autocomplete-loading { background: white url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/working.gif',1) ?>) right center no-repeat; }
  3065. .ui-autocomplete {
  3066. position:absolute;
  3067. width:auto;
  3068. font-size: 1.0em;
  3069. background-color:white;
  3070. border:1px solid #888;
  3071. margin:0px;
  3072. /* padding:0px; This make combo crazy */
  3073. }
  3074. .ui-autocomplete ul {
  3075. list-style-type:none;
  3076. margin:0px;
  3077. padding:0px;
  3078. }
  3079. .ui-autocomplete ul li.selected { background-color: #D3E5EC;}
  3080. .ui-autocomplete ul li {
  3081. list-style-type:none;
  3082. display:block;
  3083. margin:0;
  3084. padding:2px;
  3085. height:18px;
  3086. cursor:pointer;
  3087. }
  3088. /* ============================================================================== */
  3089. /* jQuery - jeditable */
  3090. /* ============================================================================== */
  3091. .editkey_textarea, .editkey_ckeditor, .editkey_string, .editkey_email, .editkey_numeric, .editkey_select, .editkey_autocomplete {
  3092. background: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/edit.png',1) ?>) right top no-repeat;
  3093. cursor: pointer;
  3094. }
  3095. .editkey_datepicker {
  3096. background: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/calendar.png',1) ?>) right center no-repeat;
  3097. cursor: pointer;
  3098. }
  3099. .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 {
  3100. background: white;
  3101. cursor: pointer;
  3102. }
  3103. .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 {
  3104. background: white;
  3105. cursor: pointer;
  3106. }
  3107. .viewval_hover {
  3108. background: white;
  3109. }
  3110. /* ============================================================================== */
  3111. /* Admin Menu */
  3112. /* ============================================================================== */
  3113. /* CSS for treeview */
  3114. .treeview ul { background-color: transparent !important; margin-top: 0; }
  3115. .treeview li { background-color: transparent !important; padding: 0 0 0 16px !important; min-height: 20px; }
  3116. .treeview .hover { color: rgb(<?php print $colortextlink; ?>) !important; text-decoration: underline !important; }
  3117. /* ============================================================================== */
  3118. /* Show Excel tabs */
  3119. /* ============================================================================== */
  3120. .table_data
  3121. {
  3122. border-style:ridge;
  3123. border:1px solid;
  3124. }
  3125. .tab_base
  3126. {
  3127. background:#C5D0DD;
  3128. font-weight:bold;
  3129. border-style:ridge;
  3130. border: 1px solid;
  3131. cursor:pointer;
  3132. }
  3133. .table_sub_heading
  3134. {
  3135. background:#CCCCCC;
  3136. font-weight:bold;
  3137. border-style:ridge;
  3138. border: 1px solid;
  3139. }
  3140. .table_body
  3141. {
  3142. background:#F0F0F0;
  3143. font-weight:normal;
  3144. font-family:sans-serif;
  3145. border-style:ridge;
  3146. border: 1px solid;
  3147. border-spacing: 0px;
  3148. border-collapse: collapse;
  3149. }
  3150. .tab_loaded
  3151. {
  3152. background:#222222;
  3153. color:white;
  3154. font-weight:bold;
  3155. border-style:groove;
  3156. border: 1px solid;
  3157. cursor:pointer;
  3158. }
  3159. /* ============================================================================== */
  3160. /* CSS for color picker */
  3161. /* ============================================================================== */
  3162. A.color, A.color:active, A.color:visited {
  3163. position : relative;
  3164. display : block;
  3165. text-decoration : none;
  3166. width : 10px;
  3167. height : 10px;
  3168. line-height : 10px;
  3169. margin : 0px;
  3170. padding : 0px;
  3171. border : 1px inset white;
  3172. }
  3173. A.color:hover {
  3174. border : 1px outset white;
  3175. }
  3176. A.none, A.none:active, A.none:visited, A.none:hover {
  3177. position : relative;
  3178. display : block;
  3179. text-decoration : none;
  3180. width : 10px;
  3181. height : 10px;
  3182. line-height : 10px;
  3183. margin : 0px;
  3184. padding : 0px;
  3185. cursor : default;
  3186. border : 1px solid #b3c5cc;
  3187. }
  3188. .tblColor {
  3189. display : none;
  3190. }
  3191. .tdColor {
  3192. padding : 1px;
  3193. }
  3194. .tblContainer {
  3195. background-color : #b3c5cc;
  3196. }
  3197. .tblGlobal {
  3198. position : absolute;
  3199. top : 0px;
  3200. left : 0px;
  3201. display : none;
  3202. background-color : #b3c5cc;
  3203. border : 2px outset;
  3204. }
  3205. .tdContainer {
  3206. padding : 5px;
  3207. }
  3208. .tdDisplay {
  3209. width : 50%;
  3210. height : 20px;
  3211. line-height : 20px;
  3212. border : 1px outset white;
  3213. }
  3214. .tdDisplayTxt {
  3215. width : 50%;
  3216. height : 24px;
  3217. line-height : 12px;
  3218. font-family : <?php print $fontlist ?>;
  3219. font-size : 8pt;
  3220. color : black;
  3221. text-align : center;
  3222. }
  3223. .btnColor {
  3224. width : 100%;
  3225. font-family : <?php print $fontlist ?>;
  3226. font-size : 10pt;
  3227. padding : 0px;
  3228. margin : 0px;
  3229. }
  3230. .btnPalette {
  3231. width : 100%;
  3232. font-family : <?php print $fontlist ?>;
  3233. font-size : 8pt;
  3234. padding : 0px;
  3235. margin : 0px;
  3236. }
  3237. /* Style to overwrites JQuery styles */
  3238. .ui-menu .ui-menu-item a {
  3239. text-decoration:none;
  3240. display:block;
  3241. padding:.2em .4em;
  3242. line-height:1.5;
  3243. zoom:1;
  3244. font-weight: normal;
  3245. font-family:<?php echo $fontlist; ?>;
  3246. font-size:1em;
  3247. }
  3248. .ui-widget {
  3249. font-family:<?php echo $fontlist; ?>;
  3250. font-size:<?php echo $fontsize; ?>px;
  3251. }
  3252. .ui-button { margin-left: -2px; <?php print (preg_match('/chrome/',$conf->browser->name)?'padding-top: 1px;':''); ?> }
  3253. .ui-button-icon-only .ui-button-text { height: 8px; }
  3254. .ui-button-icon-only .ui-button-text, .ui-button-icons-only .ui-button-text { padding: 2px 0px 6px 0px; }
  3255. .ui-button-text
  3256. {
  3257. line-height: 1em !important;
  3258. }
  3259. .ui-autocomplete-input { margin: 0; padding: 4px; }
  3260. /* ============================================================================== */
  3261. /* CKEditor */
  3262. /* ============================================================================== */
  3263. .cke_dialog {
  3264. border: 1px #bbb solid ! important;
  3265. }
  3266. .cke_editable
  3267. {
  3268. margin: 5px !important;
  3269. }
  3270. /*.cke_editor table, .cke_editor tr, .cke_editor td
  3271. {
  3272. border: 0px solid #FF0000 !important;
  3273. }
  3274. span.cke_skin_kama { padding: 0 !important; }*/
  3275. .cke_wrapper { padding: 4px !important; }
  3276. a.cke_dialog_ui_button
  3277. {
  3278. font-family: <?php print $fontlist ?> !important;
  3279. background-image: url(<?php echo $img_button ?>) !important;
  3280. background-position: bottom !important;
  3281. border: 1px solid #C0C0C0 !important;
  3282. -moz-border-radius:0px 5px 0px 5px !important;
  3283. -webkit-border-radius:0px 5px 0px 5px !important;
  3284. border-radius:0px 5px 0px 5px !important;
  3285. -moz-box-shadow: 3px 3px 4px #DDD !important;
  3286. -webkit-box-shadow: 3px 3px 4px #DDD !important;
  3287. box-shadow: 3px 3px 4px #DDD !important;
  3288. }
  3289. .cke_dialog_ui_hbox_last
  3290. {
  3291. vertical-align: bottom ! important;
  3292. }
  3293. .cke_editable
  3294. {
  3295. line-height: 1.4 !important;
  3296. margin: 6px !important;
  3297. }
  3298. a.cke_dialog_ui_button_ok span {
  3299. text-shadow: none !important;
  3300. color: #333 !important;
  3301. }
  3302. /* ============================================================================== */
  3303. /* File upload */
  3304. /* ============================================================================== */
  3305. .template-upload {
  3306. height: 72px !important;
  3307. }
  3308. /* ============================================================================== */
  3309. /* Holiday */
  3310. /* ============================================================================== */
  3311. #types .btn {
  3312. cursor: pointer;
  3313. }
  3314. #types .btn-primary {
  3315. font-weight: bold;
  3316. }
  3317. #types form {
  3318. padding: 20px;
  3319. }
  3320. #types label {
  3321. display:inline-block;
  3322. width:100px;
  3323. margin-right: 20px;
  3324. padding: 4px;
  3325. text-align: right;
  3326. vertical-align: top;
  3327. }
  3328. #types input.text, #types textarea {
  3329. width: 400px;
  3330. }
  3331. #types textarea {
  3332. height: 100px;
  3333. }
  3334. /* ============================================================================== */
  3335. /* JSGantt */
  3336. /* ============================================================================== */
  3337. div.scroll2 {
  3338. width: <?php print isset($_SESSION['dol_screenwidth'])?max($_SESSION['dol_screenwidth']-830,450):'450'; ?>px !important;
  3339. }
  3340. /* ============================================================================== */
  3341. /* jFileTree */
  3342. /* ============================================================================== */
  3343. .ecmfiletree {
  3344. width: 99%;
  3345. height: 99%;
  3346. background: #FFF;
  3347. padding-left: 2px;
  3348. font-weight: normal;
  3349. }
  3350. .fileview {
  3351. width: 99%;
  3352. height: 99%;
  3353. background: #FFF;
  3354. padding-left: 2px;
  3355. padding-top: 4px;
  3356. font-weight: normal;
  3357. }
  3358. div.filedirelem {
  3359. position: relative;
  3360. display: block;
  3361. text-decoration: none;
  3362. }
  3363. ul.filedirelem {
  3364. padding: 2px;
  3365. margin: 0 5px 5px 5px;
  3366. }
  3367. ul.filedirelem li {
  3368. list-style: none;
  3369. padding: 2px;
  3370. margin: 0 10px 20px 10px;
  3371. width: 160px;
  3372. height: 120px;
  3373. text-align: center;
  3374. display: block;
  3375. float: <?php print $left; ?>;
  3376. border: solid 1px #DDDDDD;
  3377. }
  3378. ul.ecmjqft {
  3379. line-height: 16px;
  3380. padding: 0px;
  3381. margin: 0px;
  3382. font-weight: normal;
  3383. }
  3384. ul.ecmjqft li {
  3385. list-style: none;
  3386. padding: 0px;
  3387. padding-left: 20px;
  3388. margin: 0px;
  3389. white-space: nowrap;
  3390. display: block;
  3391. }
  3392. ul.ecmjqft a {
  3393. line-height: 24px;
  3394. vertical-align: middle;
  3395. color: #333;
  3396. padding: 0px 0px;
  3397. font-weight:normal;
  3398. display: inline-block !important;
  3399. }
  3400. ul.ecmjqft a:active {
  3401. font-weight: bold !important;
  3402. }
  3403. ul.ecmjqft a:hover {
  3404. text-decoration: underline;
  3405. }
  3406. div.ecmjqft {
  3407. vertical-align: middle;
  3408. display: inline-block !important;
  3409. text-align: right;
  3410. float: right;
  3411. right:4px;
  3412. clear: both;
  3413. }
  3414. div#ecm-layout-west {
  3415. width: 380px;
  3416. vertical-align: top;
  3417. }
  3418. div#ecm-layout-center {
  3419. width: calc(100% - 390px);
  3420. vertical-align: top;
  3421. float: right;
  3422. }
  3423. .ecmjqft LI.directory { font-weight:normal; background: url(<?php echo dol_buildpath($path.'/theme/common/treemenu/folder2.png',1); ?>) left top no-repeat; }
  3424. .ecmjqft LI.expanded { font-weight:normal; background: url(<?php echo dol_buildpath($path.'/theme/common/treemenu/folder2-expanded.png',1); ?>) left top no-repeat; }
  3425. .ecmjqft LI.wait { font-weight:normal; background: url(<?php echo dol_buildpath('/theme/'.$theme.'/img/working.gif',1); ?>) left top no-repeat; }
  3426. /* ============================================================================== */
  3427. /* jNotify */
  3428. /* ============================================================================== */
  3429. .jnotify-container {
  3430. position: fixed !important;
  3431. <?php if (! empty($conf->global->MAIN_JQUERY_JNOTIFY_BOTTOM)) { ?>
  3432. top: auto !important;
  3433. bottom: 4px !important;
  3434. <?php } ?>
  3435. text-align: center;
  3436. min-width: <?php echo $dol_optimize_smallscreen?'200':'480'; ?>px;
  3437. width: auto;
  3438. max-width: 1024px;
  3439. padding-left: 10px !important;
  3440. padding-right: 10px !important;
  3441. }
  3442. /* use or not ? */
  3443. div.jnotify-background {
  3444. opacity : 0.95 !important;
  3445. -moz-box-shadow: 2px 2px 4px #888 !important;
  3446. -webkit-box-shadow: 2px 2px 4px #888 !important;
  3447. box-shadow: 2px 2px 4px #888 !important;
  3448. }
  3449. /* ============================================================================== */
  3450. /* blockUI */
  3451. /* ============================================================================== */
  3452. /*div.growlUI { background: url(check48.png) no-repeat 10px 10px }*/
  3453. div.dolEventValid h1, div.dolEventValid h2 {
  3454. color: #567b1b;
  3455. background-color: #e3f0db;
  3456. padding: 5px 5px 5px 5px;
  3457. text-align: left;
  3458. }
  3459. div.dolEventError h1, div.dolEventError h2 {
  3460. color: #a72947;
  3461. background-color: #d79eac;
  3462. padding: 5px 5px 5px 5px;
  3463. text-align: left;
  3464. }
  3465. /* ============================================================================== */
  3466. /* Maps */
  3467. /* ============================================================================== */
  3468. .divmap, #google-visualization-geomap-embed-0, #google-visualization-geomap-embed-1, #google-visualization-geomap-embed-2 {
  3469. /* -moz-box-shadow: 0px 0px 10px #AAA;
  3470. -webkit-box-shadow: 0px 0px 10px #AAA;
  3471. box-shadow: 0px 0px 10px #AAA; */
  3472. }
  3473. /* ============================================================================== */
  3474. /* Datatable */
  3475. /* ============================================================================== */
  3476. table.dataTable tr.odd td.sorting_1, table.dataTable tr.even td.sorting_1 {
  3477. background: none !important;
  3478. }
  3479. .sorting_asc { background: url('<?php echo dol_buildpath('/theme/'.$theme.'/img/sort_asc.png',1); ?>') no-repeat center right !important; }
  3480. .sorting_desc { background: url('<?php echo dol_buildpath('/theme/'.$theme.'/img/sort_desc.png',1); ?>') no-repeat center right !important; }
  3481. .sorting_asc_disabled { background: url('<?php echo dol_buildpath('/theme/'.$theme.'/img/sort_asc_disabled.png',1); ?>') no-repeat center right !important; }
  3482. .sorting_desc_disabled { background: url('<?php echo dol_buildpath('/theme/'.$theme.'/img/sort_desc_disabled.png',1); ?>') no-repeat center right !important; }
  3483. .dataTables_paginate {
  3484. margin-top: 8px;
  3485. }
  3486. .paginate_button_disabled {
  3487. opacity: 1 !important;
  3488. color: #888 !important;
  3489. cursor: default !important;
  3490. }
  3491. .paginate_disabled_previous:hover, .paginate_enabled_previous:hover, .paginate_disabled_next:hover, .paginate_enabled_next:hover
  3492. {
  3493. font-weight: normal;
  3494. }
  3495. .paginate_enabled_previous:hover, .paginate_enabled_next:hover
  3496. {
  3497. text-decoration: underline !important;
  3498. }
  3499. .paginate_active
  3500. {
  3501. text-decoration: underline !important;
  3502. }
  3503. .paginate_button
  3504. {
  3505. font-weight: normal !important;
  3506. text-decoration: none !important;
  3507. }
  3508. .paging_full_numbers {
  3509. height: inherit !important;
  3510. }
  3511. .paging_full_numbers a.paginate_active:hover, .paging_full_numbers a.paginate_button:hover {
  3512. background-color: #DDD !important;
  3513. }
  3514. .paging_full_numbers, .paging_full_numbers a.paginate_active, .paging_full_numbers a.paginate_button {
  3515. background-color: #FFF !important;
  3516. border-radius: inherit !important;
  3517. }
  3518. .paging_full_numbers a.paginate_button_disabled:hover, .paging_full_numbers a.disabled:hover {
  3519. background-color: #FFF !important;
  3520. }
  3521. .paginate_button, .paginate_active {
  3522. border: 1px solid #ddd !important;
  3523. padding: 6px 12px !important;
  3524. margin-left: -1px !important;
  3525. line-height: 1.42857143 !important;
  3526. margin: 0 0 !important;
  3527. }
  3528. /* For jquery plugin combobox */
  3529. /* Disable this. It breaks wrapping of boxes
  3530. .ui-corner-all { white-space: nowrap; } */
  3531. .ui-state-disabled, .ui-widget-content .ui-state-disabled, .ui-widget-header .ui-state-disabled, .paginate_button_disabled {
  3532. opacity: .35;
  3533. filter: Alpha(Opacity=35);
  3534. background-image: none;
  3535. }
  3536. div.dataTables_length {
  3537. float: right !important;
  3538. padding-left: 8px;
  3539. }
  3540. div.dataTables_length select {
  3541. background: #fff;
  3542. }
  3543. .dataTables_wrapper .dataTables_paginate {
  3544. padding-top: 0px !important;
  3545. }
  3546. /* ============================================================================== */
  3547. /* Select2 */
  3548. /* ============================================================================== */
  3549. .select2-default {
  3550. color: #999 !important;
  3551. /*opacity: 0.2;*/
  3552. }
  3553. .select2-choice, .select2-container .select2-choice {
  3554. border-bottom: solid 1px rgba(0,0,0,.4);
  3555. }
  3556. .select2-container .select2-choice > .select2-chosen {
  3557. margin-right: 23px;
  3558. }
  3559. .select2-container .select2-choice .select2-arrow {
  3560. border-radius: 0;
  3561. background: transparent;
  3562. }
  3563. .select2-container-multi .select2-choices {
  3564. background-image: none;
  3565. }
  3566. .select2-container .select2-choice {
  3567. color: #000;
  3568. border-radius: 0;
  3569. }
  3570. .selectoptiondisabledwhite {
  3571. background: #FFFFFF !important;
  3572. }
  3573. .select2-arrow {
  3574. border: none;
  3575. border-left: none !important;
  3576. background: none !important;
  3577. }
  3578. .select2-choice
  3579. {
  3580. border-top: none !important;
  3581. border-left: none !important;
  3582. border-right: none !important;
  3583. }
  3584. .select2-drop.select2-drop-above {
  3585. box-shadow: none !important;
  3586. }
  3587. .select2-drop.select2-drop-above.select2-drop-active {
  3588. border-top: 1px solid #ccc;
  3589. border-bottom: solid 1px rgba(0,0,0,.2);
  3590. }
  3591. .select2-container-active .select2-choice, .select2-container-active .select2-choices
  3592. {
  3593. outline: none;
  3594. border-top: none;
  3595. border-left: none;
  3596. border-bottom: none;
  3597. -webkit-box-shadow: none !important;
  3598. box-shadow: none !important;
  3599. }
  3600. .select2-dropdown-open {
  3601. background-color: #fff;
  3602. }
  3603. .select2-dropdown-open .select2-choice, .select2-dropdown-open .select2-choices
  3604. {
  3605. outline: none;
  3606. border-top: none;
  3607. border-left: none;
  3608. border-bottom: none;
  3609. -webkit-box-shadow: none !important;
  3610. box-shadow: none !important;
  3611. background-color: #fff;
  3612. }
  3613. .select2-disabled
  3614. {
  3615. color: #888;
  3616. }
  3617. .select2-drop.select2-drop-above.select2-drop-active, .select2-drop {
  3618. border-radius: 0;
  3619. }
  3620. .select2-drop.select2-drop-above {
  3621. border-radius: 0;
  3622. }
  3623. .select2-dropdown-open.select2-drop-above .select2-choice, .select2-dropdown-open.select2-drop-above .select2-choices {
  3624. background-image: none;
  3625. border-radius: 0 !important;
  3626. }
  3627. div.select2-drop-above
  3628. {
  3629. background: #fff;
  3630. -webkit-box-shadow: none !important;
  3631. box-shadow: none !important;
  3632. }
  3633. .select2-drop-active
  3634. {
  3635. border: 1px solid #ccc;
  3636. padding-top: 4px;
  3637. }
  3638. .select2-search input {
  3639. border: none;
  3640. }
  3641. a span.select2-chosen
  3642. {
  3643. font-weight: normal !important;
  3644. }
  3645. .select2-container .select2-choice {
  3646. background-image: none;
  3647. /* line-height: 24px; */
  3648. }
  3649. .select2-results .select2-no-results, .select2-results .select2-searching, .select2-results .select2-ajax-error, .select2-results .select2-selection-limit
  3650. {
  3651. background: #FFFFFF;
  3652. }
  3653. .select2-results {
  3654. max-height: 400px;
  3655. }
  3656. .css-searchselectcombo ul.select2-results {
  3657. max-height: none;
  3658. }
  3659. .select2-container-multi.select2-container-disabled .select2-choices {
  3660. background-color: #FFFFFF;
  3661. background-image: none;
  3662. border: none;
  3663. cursor: default;
  3664. }
  3665. .select2-container-multi .select2-choices .select2-search-choice {
  3666. margin-bottom: 3px;
  3667. }
  3668. .select2-dropdown-open.select2-drop-above .select2-choice, .select2-dropdown-open.select2-drop-above .select2-choices, .select2-container-multi .select2-choices,
  3669. .select2-container-multi.select2-container-active .select2-choices
  3670. {
  3671. border-bottom: 1px solid #ccc;
  3672. border-right: none;
  3673. border-top: none;
  3674. border-left: none;
  3675. }
  3676. /* Special case for the select2 add widget */
  3677. #addbox .select2-container .select2-choice > .select2-chosen, #actionbookmark .select2-container .select2-choice > .select2-chosen {
  3678. text-align: left;
  3679. opacity: 0.4;
  3680. }
  3681. /* Style used before the select2 js is executed on boxcombo */
  3682. #boxbookmark.boxcombo, #boxcombo.boxcombo {
  3683. text-align: left;
  3684. opacity: 0.4;
  3685. border-bottom: solid 1px rgba(0,0,0,.4) !important;
  3686. height: 26px;
  3687. line-height: 24px;
  3688. padding: 0 0 2px 0;
  3689. vertical-align: top;
  3690. }
  3691. /* To emulate select 2 style */
  3692. .select2-container-multi-dolibarr .select2-choices-dolibarr .select2-search-choice-dolibarr {
  3693. padding: 2px 5px 1px 5px;
  3694. margin: 0 0 2px 3px;
  3695. position: relative;
  3696. line-height: 13px;
  3697. color: #333;
  3698. cursor: default;
  3699. border: 1px solid #aaaaaa;
  3700. border-radius: 3px;
  3701. -webkit-box-shadow: 0 0 2px #fff inset, 0 1px 0 rgba(0, 0, 0, 0.05);
  3702. box-shadow: 0 0 2px #fff inset, 0 1px 0 rgba(0, 0, 0, 0.05);
  3703. background-clip: padding-box;
  3704. -webkit-touch-callout: none;
  3705. -webkit-user-select: none;
  3706. -moz-user-select: none;
  3707. -ms-user-select: none;
  3708. user-select: none;
  3709. background-color: #e4e4e4;
  3710. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#eeeeee', endColorstr='#f4f4f4', GradientType=0);
  3711. 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));
  3712. background-image: -webkit-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eee 100%);
  3713. background-image: -moz-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eee 100%);
  3714. background-image: linear-gradient(to bottom, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eee 100%);
  3715. }
  3716. .select2-container-multi-dolibarr .select2-choices-dolibarr .select2-search-choice-dolibarr a {
  3717. font-weight: normal;
  3718. }
  3719. .select2-container-multi-dolibarr .select2-choices-dolibarr li {
  3720. float: left;
  3721. list-style: none;
  3722. }
  3723. .select2-container-multi-dolibarr .select2-choices-dolibarr {
  3724. height: auto !important;
  3725. height: 1%;
  3726. margin: 0;
  3727. padding: 0 5px 0 0;
  3728. position: relative;
  3729. cursor: text;
  3730. overflow: hidden;
  3731. }
  3732. /* ============================================================================== */
  3733. /* For categories */
  3734. /* ============================================================================== */
  3735. .noborderoncategories {
  3736. border: none !important;
  3737. border-radius: 5px !important;
  3738. box-shadow: none;
  3739. -webkit-box-shadow: none !important;
  3740. box-shadow: none !important;
  3741. }
  3742. span.noborderoncategories a, li.noborderoncategories a {
  3743. line-height: normal;
  3744. vertical-align: top;
  3745. }
  3746. span.noborderoncategories {
  3747. padding: 3px 5px 0px 5px;
  3748. }
  3749. .categtextwhite, .treeview .categtextwhite.hover {
  3750. color: #fff !important;
  3751. }
  3752. .categtextblack {
  3753. color: #000 !important;
  3754. }
  3755. /* ============================================================================== */
  3756. /* Multiselect with checkbox */
  3757. /* ============================================================================== */
  3758. ul.ulselectedfields {
  3759. z-index: 95; /* To have the select box appears on first plan even when near buttons are decorated by jmobile */
  3760. }
  3761. dl.dropdown {
  3762. margin:0px;
  3763. margin-left: 2px;
  3764. margin-right: 2px;
  3765. padding:0px;
  3766. vertical-align: text-bottom;
  3767. display: inline-block;
  3768. }
  3769. .dropdown dd, .dropdown dt {
  3770. margin:0px;
  3771. padding:0px;
  3772. }
  3773. .dropdown ul {
  3774. margin: -1px 0 0 0;
  3775. text-align: left;
  3776. }
  3777. .dropdown dd {
  3778. position:relative;
  3779. }
  3780. .dropdown dt a {
  3781. display:block;
  3782. overflow: hidden;
  3783. border:0;
  3784. }
  3785. .dropdown dt a span, .multiSel span {
  3786. cursor:pointer;
  3787. display:inline-block;
  3788. padding: 0 3px 2px 0;
  3789. }
  3790. .dropdown dd ul {
  3791. background-color: #FFF;
  3792. border: 1px solid #888;
  3793. display:none;
  3794. right:0px; /* pop is align on right */
  3795. padding: 2px 15px 2px 5px;
  3796. position:absolute;
  3797. top:2px;
  3798. list-style:none;
  3799. max-height: 300px;
  3800. overflow: auto;
  3801. }
  3802. .dropdown span.value {
  3803. display:none;
  3804. }
  3805. .dropdown dd ul li {
  3806. white-space: nowrap;
  3807. font-weight: normal;
  3808. padding: 2px;
  3809. }
  3810. .dropdown dd ul li input[type="checkbox"] {
  3811. margin-right: 3px;
  3812. }
  3813. .dropdown dd ul li a, .dropdown dd ul li span {
  3814. padding: 3px;
  3815. display: block;
  3816. }
  3817. .dropdown dd ul li span {
  3818. color: #888;
  3819. }
  3820. .dropdown dd ul li a:hover {
  3821. background-color:#fff;
  3822. }
  3823. /* ============================================================================== */
  3824. /* JMobile */
  3825. /* ============================================================================== */
  3826. li.ui-li-divider .ui-link {
  3827. color: #FFF !important;
  3828. }
  3829. .ui-btn {
  3830. margin: 0.1em 2px
  3831. }
  3832. a.ui-link, a.ui-link:hover, .ui-btn:hover, span.ui-btn-text:hover, span.ui-btn-inner:hover {
  3833. text-decoration: none !important;
  3834. }
  3835. .ui-body-c {
  3836. background: #fff;
  3837. }
  3838. .ui-btn-inner {
  3839. min-width: .4em;
  3840. padding-left: 6px;
  3841. padding-right: 6px;
  3842. font-size: <?php print $fontsize ?>px;
  3843. /* white-space: normal; */ /* Warning, enable this break the truncate feature */
  3844. }
  3845. .ui-btn-icon-right .ui-btn-inner {
  3846. padding-right: 30px;
  3847. }
  3848. .ui-btn-icon-left .ui-btn-inner {
  3849. padding-left: 30px;
  3850. }
  3851. .ui-select .ui-btn-icon-right .ui-btn-inner {
  3852. padding-right: 30px;
  3853. }
  3854. .ui-select .ui-btn-icon-left .ui-btn-inner {
  3855. padding-left: 30px;
  3856. }
  3857. .ui-select .ui-btn-icon-right .ui-icon {
  3858. right: 8px;
  3859. }
  3860. .ui-btn-icon-left > .ui-btn-inner > .ui-icon, .ui-btn-icon-right > .ui-btn-inner > .ui-icon {
  3861. margin-top: -10px;
  3862. }
  3863. select {
  3864. /* display: inline-block; */ /* We can't set this. This disable ability to make */
  3865. overflow:hidden;
  3866. white-space: nowrap; /* Enabling this make behaviour strange when selecting the empty value if this empty value is '' instead of '&nbsp;' */
  3867. text-overflow: ellipsis;
  3868. }
  3869. .fiche .ui-controlgroup {
  3870. margin: 0px;
  3871. padding-bottom: 0px;
  3872. }
  3873. div.ui-controlgroup-controls div.tabsElem
  3874. {
  3875. margin-top: 2px;
  3876. }
  3877. div.ui-controlgroup-controls div.tabsElem a
  3878. {
  3879. -moz-box-shadow: 0 -3px 6px rgba(0,0,0,.2);
  3880. -webkit-box-shadow: 0 -3px 6px rgba(0,0,0,.2);
  3881. box-shadow: 0 -3px 6px rgba(0,0,0,.2);
  3882. }
  3883. div.ui-controlgroup-controls div.tabsElem a#active {
  3884. -moz-box-shadow: 0 -3px 6px rgba(0,0,0,.3);
  3885. -webkit-box-shadow: 0 -3px 6px rgba(0,0,0,.3);
  3886. box-shadow: 0 -3px 6px rgba(0,0,0,.3);
  3887. }
  3888. a.tab span.ui-btn-inner
  3889. {
  3890. border: none;
  3891. padding: 0;
  3892. }
  3893. .ui-link {
  3894. color: rgb(<?php print $colortext; ?>);
  3895. }
  3896. .liste_titre .ui-link {
  3897. color: rgb(<?php print $colortexttitle; ?>) !important;
  3898. }
  3899. a.ui-link {
  3900. word-wrap: break-word;
  3901. }
  3902. /* force wrap possible onto field overflow does not works */
  3903. .formdoc .ui-btn-inner
  3904. {
  3905. white-space: normal;
  3906. overflow: hidden;
  3907. text-overflow: clip; /* "hidden" : do not exists as a text-overflow value (https://developer.mozilla.org/fr/docs/Web/CSS/text-overflow) */
  3908. }
  3909. /* Warning: setting this may make screen not beeing refreshed after a combo selection */
  3910. /*.ui-body-c {
  3911. background: #fff;
  3912. }*/
  3913. div.ui-radio, div.ui-checkbox
  3914. {
  3915. display: inline-block;
  3916. border-bottom: 0px !important;
  3917. }
  3918. .ui-checkbox input, .ui-radio input {
  3919. height: auto;
  3920. width: auto;
  3921. margin: 4px;
  3922. position: static;
  3923. }
  3924. div.ui-checkbox label+input, div.ui-radio label+input {
  3925. position: absolute;
  3926. }
  3927. .ui-mobile fieldset
  3928. {
  3929. padding-bottom: 10px; margin-bottom: 4px; border-bottom: 1px solid #AAAAAA !important;
  3930. }
  3931. ul.ulmenu {
  3932. border-radius: 0;
  3933. -webkit-border-radius: 0;
  3934. }
  3935. .ui-field-contain label.ui-input-text {
  3936. vertical-align: middle !important;
  3937. }
  3938. .ui-mobile fieldset {
  3939. border-bottom: none !important;
  3940. }
  3941. /* Style for first level menu with jmobile */
  3942. .ui-li .ui-btn-inner a.ui-link-inherit, .ui-li-static.ui-li {
  3943. padding: 1em 15px;
  3944. display: block;
  3945. }
  3946. .ui-btn-up-c {
  3947. font-weight: normal;
  3948. }
  3949. .ui-focus, .ui-btn:focus {
  3950. -moz-box-shadow: none;
  3951. -webkit-box-shadow: none;
  3952. box-shadow: none;
  3953. }
  3954. .ui-bar-b {
  3955. /*border: 1px solid #888;*/
  3956. border: none;
  3957. background: none;
  3958. text-shadow: none;
  3959. color: rgb(<?php print $colortexttitlenotab; ?>) !important;
  3960. }
  3961. .ui-bar-b, .lilevel0 {
  3962. background-repeat: repeat-x;
  3963. border: none;
  3964. background: none;
  3965. text-shadow: none;
  3966. color: rgb(<?php print $colortexttitlenotab; ?>) !important;
  3967. }
  3968. .alilevel0 {
  3969. font-weight: normal !important;
  3970. }
  3971. .ui-li.ui-last-child, .ui-li.ui-field-contain.ui-last-child {
  3972. border-bottom-width: 0px !important;
  3973. }
  3974. .alilevel0 {
  3975. color: rgb(<?php echo $colortexttitle; ?>) !important;
  3976. background: #f8f8f8
  3977. }
  3978. .ulmenu {
  3979. box-shadow: none !important;
  3980. border-bottom: 1px solid #ccc;
  3981. }
  3982. .ui-btn-icon-right {
  3983. border-right: 1px solid #ccc !important;
  3984. }
  3985. .ui-body-c {
  3986. border: 1px solid #ccc;
  3987. text-shadow: none;
  3988. }
  3989. .ui-btn-up-c, .ui-btn-hover-c {
  3990. /* border: 1px solid #ccc; */
  3991. text-shadow: none;
  3992. }
  3993. .ui-body-c .ui-link, .ui-body-c .ui-link:visited, .ui-body-c .ui-link:hover {
  3994. color: rgb(<?php print $colortextlink; ?>);
  3995. }
  3996. .ui-btn-up-c .vsmenudisabled {
  3997. color: #<?php echo $colorshadowtitle; ?> !important;
  3998. text-shadow: none !important;
  3999. }
  4000. div.tabsElem a.tab {
  4001. background: transparent;
  4002. }
  4003. .alilevel1 {
  4004. color: rgb(<?php print $colortexttitlenotab; ?>) !important;
  4005. }
  4006. .lilevel1 {
  4007. border-top: 2px solid #444;
  4008. background: #fff ! important;
  4009. }
  4010. .lilevel1 div div a {
  4011. font-weight: bold !important;
  4012. }
  4013. .lilevel2
  4014. {
  4015. padding-left: 22px;
  4016. background: #fff ! important;
  4017. }
  4018. .lilevel3
  4019. {
  4020. padding-left: 54px;
  4021. background: #fff ! important;
  4022. }
  4023. /* ============================================================================== */
  4024. /* POS */
  4025. /* ============================================================================== */
  4026. .menu_choix1 a {
  4027. background: url('<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/menus_black/money.png',1) ?>') top left no-repeat;
  4028. }
  4029. .menu_choix2 a {
  4030. background: url('<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/menus_black/home.png',1) ?>') top left no-repeat;
  4031. }
  4032. .menu_choix1,.menu_choix2 {
  4033. font-size: 1.4em;
  4034. text-align: left;
  4035. border: 1px solid #666;
  4036. margin-right: 20px;
  4037. }
  4038. .menu_choix1 a, .menu_choix2 a {
  4039. display: block;
  4040. color: #fff;
  4041. text-decoration: none;
  4042. padding-top: 18px;
  4043. padding-left: 54px;
  4044. font-size: 14px;
  4045. height: 38px;
  4046. }
  4047. .menu_choix1 a:hover,.menu_choix2 a:hover {
  4048. color: #6d3f6d;
  4049. }
  4050. .menu li.menu_choix1 {
  4051. padding-top: 6px;
  4052. padding-right: 10px;
  4053. padding-bottom: 2px;
  4054. }
  4055. .menu li.menu_choix2 {
  4056. padding-top: 6px;
  4057. padding-right: 10px;
  4058. padding-bottom: 2px;
  4059. }
  4060. @media only screen and (max-width: 767px)
  4061. {
  4062. .menu_choix1 a, .menu_choix2 a {
  4063. background-size: 36px 36px;
  4064. height: 30px;
  4065. padding-left: 40px;
  4066. }
  4067. .menu li.menu_choix1, .menu li.menu_choix2 {
  4068. padding-left: 4px;
  4069. padding-right: 0;
  4070. }
  4071. .liste_articles {
  4072. margin-right: 0 !important;
  4073. }
  4074. }
  4075. /* ============================================================================== */
  4076. /* Public */
  4077. /* ============================================================================== */
  4078. /* The theme for public pages */
  4079. .public_body {
  4080. margin: 20px;
  4081. }
  4082. .public_border {
  4083. border: 1px solid #888;
  4084. }
  4085. /* ============================================================================== */
  4086. /* CSS style used for small screen */
  4087. /* ============================================================================== */
  4088. .topmenuimage {
  4089. background-size: 22px auto;
  4090. top: 2px;
  4091. }
  4092. .imgopensurveywizard
  4093. {
  4094. padding: 0 4px 0 4px;
  4095. }
  4096. @media only screen and (max-width: 767px)
  4097. {
  4098. .imgopensurveywizard, .imgautosize { width:95%; height: auto; }
  4099. #tooltip {
  4100. position: absolute;
  4101. width: <?php print dol_size(350,'width'); ?>px;
  4102. }
  4103. div.tabBar {
  4104. padding-left: 0px;
  4105. padding-right: 0px;
  4106. -moz-border-radius: 0;
  4107. -webkit-border-radius: 0;
  4108. border-radius: 0px;
  4109. border-right: none;
  4110. border-left: none;
  4111. }
  4112. }
  4113. @media only screen and (max-width: 1024px)
  4114. {
  4115. div#ecm-layout-west {
  4116. width: 100%;
  4117. clear: both;
  4118. }
  4119. div#ecm-layout-center {
  4120. width: 100%;
  4121. }
  4122. }
  4123. /* nboftopmenuentries = <?php echo $nbtopmenuentries ?>, fontsize=<?php echo $fontsize ?> */
  4124. /* rule to reduce top menu - 1st reduction */
  4125. @media only screen and (max-width: <?php echo round($nbtopmenuentries * $fontsize * 6.9, 0) + 24; ?>px) /* reduction 1 */
  4126. {
  4127. div.tmenucenter {
  4128. width: <?php echo round($fontsize * 4); ?>px; /* size of viewport */
  4129. white-space: nowrap;
  4130. overflow: hidden;
  4131. text-overflow: ellipsis;
  4132. color: #<?php echo $colortextbackhmenu; ?>;
  4133. }
  4134. .mainmenuaspan {
  4135. /*display: none;*/
  4136. font-size: 10px;
  4137. }
  4138. .topmenuimage {
  4139. background-size: 22px auto;
  4140. margin-top: 0px;
  4141. }
  4142. li.tmenu, li.tmenusel {
  4143. min-width: 36px;
  4144. }
  4145. div.mainmenu {
  4146. min-width: auto;
  4147. }
  4148. div.tmenuleft {
  4149. display: none;
  4150. }
  4151. }
  4152. /* rule to reduce top menu - 2nd reduction */
  4153. @media only screen and (max-width: <?php echo round($nbtopmenuentries * $fontsize * 5, 0) + 24; ?>px) /* reduction 2 */
  4154. {
  4155. div.mainmenu {
  4156. height: 23px;
  4157. }
  4158. div.tmenucenter {
  4159. max-width: <?php echo round($fontsize * 2); ?>px; /* size of viewport */
  4160. text-overflow: clip;
  4161. }
  4162. span.mainmenuaspan {
  4163. margin-left: 1px;
  4164. }
  4165. .mainmenuaspan {
  4166. /*display: none;*/
  4167. font-size: 10px;
  4168. }
  4169. .topmenuimage {
  4170. background-size: 20px auto;
  4171. margin-top: 2px;
  4172. left: 4px;
  4173. }
  4174. }
  4175. /* rule to reduce top menu - 3rd reduction */
  4176. @media only screen and (max-width: <?php echo round($nbtopmenuentries * $fontsize * 3.6, 0) + 12; ?>px) /* reduction 3 */
  4177. {
  4178. .side-nav {
  4179. z-index: 200;
  4180. background: #FFF;
  4181. padding-top: 70px;
  4182. }
  4183. #id-left {
  4184. z-index: 201;
  4185. background: #FFF;
  4186. }
  4187. /* Reduce login top right info */
  4188. .help {
  4189. <?php if ($disableimages) { ?>
  4190. display: none;
  4191. <?php } ?>
  4192. }
  4193. div#tmenu_tooltip {
  4194. <?php if (GETPOST('optioncss','aZ09') == 'print') { ?>
  4195. display:none;
  4196. <?php } else { ?>
  4197. padding-<?php echo $right; ?>: 0;
  4198. <?php } ?>
  4199. }
  4200. div.login_block_user {
  4201. min-width: 0;
  4202. width: 100%;
  4203. }
  4204. div.login_block {
  4205. <?php if ($conf->browser->layout == 'phone' && ((GETPOST('testmenuhider','int') || ! empty($conf->global->MAIN_TESTMENUHIDER)) && empty($conf->global->MAIN_OPTIMIZEFORTEXTBROWSER))) { ?>
  4206. display: none;
  4207. padding-top: 20px;
  4208. padding-left: 20px;
  4209. padding-right: 20px;
  4210. <?php } else { ?>
  4211. padding-top: 10px;
  4212. padding-left: 5px;
  4213. padding-right: 5px;
  4214. <?php } ?>
  4215. top: inherit !important;
  4216. left: 0 !important;
  4217. text-align: center;
  4218. vertical-align: middle;
  4219. background: #FFF;
  4220. height: 42px;
  4221. z-index: 202;
  4222. min-width: 190px;
  4223. max-width: 190px;
  4224. width: 190px;
  4225. }
  4226. div.login_block_user, div.login_block_other { clear: both; }
  4227. .atoplogin, .atoplogin:hover
  4228. {
  4229. color: #000 !important;
  4230. }
  4231. .login_block_elem {
  4232. padding: 0 !important;
  4233. }
  4234. li.tmenu, li.tmenusel {
  4235. min-width: 32px;
  4236. }
  4237. div.mainmenu {
  4238. height: 23px;
  4239. }
  4240. div.tmenucenter {
  4241. text-overflow: clip;
  4242. }
  4243. .topmenuimage {
  4244. background-size: 20px auto;
  4245. margin-top: 2px !important;
  4246. left: 2px;
  4247. }
  4248. div.mainmenu {
  4249. min-width: 20px;
  4250. }
  4251. }
  4252. <?php
  4253. if (is_object($db)) $db->close();