style.css.php 139 KB

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