style.css.php 74 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273
  1. <?php
  2. /* Copyright (C) 2004-2012 Laurent Destailleur <eldy@users.sourceforge.net>
  3. * Copyright (C) 2006 Rodolphe Quiedeville <rodolphe@quiedeville.org>
  4. * Copyright (C) 2007-2011 Regis Houssin <regis@dolibarr.fr>
  5. * Copyright (C) 2011 Philippe Grand <philippe.grand@atoo-net.com>
  6. *
  7. * This program is free software; you can redistribute it and/or modify
  8. * it under the terms of the GNU General Public License as published by
  9. * the Free Software Foundation; either version 2 of the License, or
  10. * (at your option) any later version.
  11. *
  12. * This program is distributed in the hope that it will be useful,
  13. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  15. * GNU General Public License for more details.
  16. *
  17. * You should have received a copy of the GNU General Public License
  18. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  19. */
  20. /**
  21. * \file htdocs/theme/eldy/style.css.php
  22. * \brief File for CSS style sheet Eldy
  23. */
  24. //if (! defined('NOREQUIREUSER')) define('NOREQUIREUSER','1'); // Not disabled because need to load personalized language
  25. //if (! defined('NOREQUIREDB')) define('NOREQUIREDB','1'); // Not disabled to increase speed. Language code is found on url.
  26. if (! defined('NOREQUIRESOC')) define('NOREQUIRESOC','1');
  27. //if (! defined('NOREQUIRETRAN')) define('NOREQUIRETRAN','1'); // Not disabled because need to do translations
  28. if (! defined('NOCSRFCHECK')) define('NOCSRFCHECK',1);
  29. if (! defined('NOTOKENRENEWAL')) define('NOTOKENRENEWAL',1);
  30. if (! defined('NOLOGIN')) define('NOLOGIN',1); // File must be accessed by logon page so without login
  31. if (! defined('NOREQUIREMENU')) define('NOREQUIREMENU',1);
  32. if (! defined('NOREQUIREHTML')) define('NOREQUIREHTML',1);
  33. if (! defined('NOREQUIREAJAX')) define('NOREQUIREAJAX','1');
  34. session_cache_limiter(FALSE);
  35. require_once("../../main.inc.php");
  36. // Load user to have $user->conf loaded (not done into main because of NOLOGIN constant defined)
  37. if (empty($user->id) && ! empty($_SESSION['dol_login'])) $user->fetch('',$_SESSION['dol_login']);
  38. // Define css type
  39. header('Content-type: text/css');
  40. // Important: Following code is to avoid page request by browser and PHP CPU at
  41. // each Dolibarr page access.
  42. if (empty($dolibarr_nocache)) header('Cache-Control: max-age=3600, public, must-revalidate');
  43. else header('Cache-Control: no-cache');
  44. // On the fly GZIP compression for all pages (if browser support it). Must set the bit 3 of constant to 1.
  45. if (isset($conf->global->MAIN_OPTIMIZE_SPEED) && ($conf->global->MAIN_OPTIMIZE_SPEED & 0x04)) { ob_start("ob_gzhandler"); }
  46. if (GETPOST('lang')) $langs->setDefaultLang(GETPOST('lang')); // If language was forced on URL
  47. if (GETPOST('theme')) $conf->theme=GETPOST('theme'); // If theme was forced on URL
  48. $langs->load("main",0,1);
  49. $right=($langs->trans("DIRECTION")=='rtl'?'left':'right');
  50. $left=($langs->trans("DIRECTION")=='rtl'?'right':'left');
  51. $fontsize=empty($conf->browser->phone)?'12':'14';
  52. $fontsizesmaller=empty($conf->browser->phone)?'11':'14';
  53. $path=''; // This value may be used in future for external module to overwrite theme
  54. // Define image path files
  55. $fontlist='arial,tahoma,verdana,helvetica'; //$fontlist='Verdana,Helvetica,Arial,sans-serif';
  56. $img_head=dol_buildpath($path.'/theme/eldy/img/headbg2.jpg',1);
  57. $img_button=dol_buildpath($path.'/theme/eldy/img/button_bg.png',1);
  58. // Define reference colors
  59. // Example: Light grey: $colred=235;$colgreen=235;$colblue=235;
  60. // Example: Pink: $colred=230;$colgreen=210;$colblue=230;
  61. // Example: Green: $colred=210;$colgreen=230;$colblue=210;
  62. // Example: Ocean: $colred=220;$colgreen=220;$colblue=240;
  63. //$conf->global->THEME_ELDY_ENABLE_PERSONALIZED=0;
  64. //$user->conf->THEME_ELDY_ENABLE_PERSONALIZED=0;
  65. //var_dump($user->conf->THEME_ELDY_RGB);
  66. $colred =empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED)?(empty($conf->global->THEME_ELDY_RGB)?235:hexdec(substr($conf->global->THEME_ELDY_RGB,0,2))):(empty($user->conf->THEME_ELDY_RGB)?235:hexdec(substr($user->conf->THEME_ELDY_RGB,0,2)));
  67. $colgreen=empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED)?(empty($conf->global->THEME_ELDY_RGB)?235:hexdec(substr($conf->global->THEME_ELDY_RGB,2,2))):(empty($user->conf->THEME_ELDY_RGB)?235:hexdec(substr($user->conf->THEME_ELDY_RGB,2,2)));
  68. $colblue =empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED)?(empty($conf->global->THEME_ELDY_RGB)?235:hexdec(substr($conf->global->THEME_ELDY_RGB,4,2))):(empty($user->conf->THEME_ELDY_RGB)?235:hexdec(substr($user->conf->THEME_ELDY_RGB,4,2)));
  69. // Colors
  70. $isred=max(0,(2*$colred-$colgreen-$colblue)/2); // 0 - 255
  71. $isgreen=max(0,(2*$colgreen-$colred-$colblue)/2); // 0 - 255
  72. $isblue=max(0,(2*$colblue-$colred-$colgreen)/2); // 0 - 255
  73. $colorback1=($colred-3).','.($colgreen-3).','.($colblue-3); // topmenu
  74. $colorback2=($colred+5).','.($colgreen+5).','.($colblue+5);
  75. $colorbacktab1=($colred+15).','.($colgreen+16).','.($colblue+17); // vmenu
  76. $colorbacktab2=($colred-15).','.($colgreen-15).','.($colblue-15);
  77. $colorbacktitle1=($colred-5).','.($colgreen-5).','.($colblue-5); // title of array
  78. $colorbacktitle2=($colred-15).','.($colgreen-15).','.($colblue-15);
  79. $colorbacktabcard1=($colred+15).','.($colgreen+16).','.($colblue+17); // card
  80. $colorbacktabcard2=($colred-15).','.($colgreen-15).','.($colblue-15);
  81. $colorbacktabactive=($colred-15).','.($colgreen-15).','.($colblue-15);
  82. $colorbacklineimpair1=(244+round($isred/3)).','.(244+round($isgreen/3)).','.(244+round($isblue/3)); // line impair
  83. $colorbacklineimpair2=(250+round($isred/3)).','.(250+round($isgreen/3)).','.(250+round($isblue/3)); // line impair
  84. $colorbacklinepair1='255,255,255'; // line pair
  85. $colorbacklinepair2='255,255,255'; // line pair
  86. $colorbackbody='#ffffff url('.$img_head.') 0 0 no-repeat;';
  87. $colortext='40,40,40';
  88. // Eldy colors
  89. if (empty($conf->global->THEME_ELDY_ENABLE_PERSONALIZED))
  90. {
  91. $conf->global->THEME_ELDY_TOPMENU_BACK1='180,196,216'; // topmenu
  92. $conf->global->THEME_ELDY_TOPMENU_BACK2='190,206,226';
  93. $conf->global->THEME_ELDY_VERMENU_BACK1='246,248,250'; // vmenu
  94. $conf->global->THEME_ELDY_VERMENU_BACK2='220,225,230';
  95. $conf->global->THEME_ELDY_BACKTITLE1='140,160,185'; // title of arrays
  96. $conf->global->THEME_ELDY_BACKTITLE2='210,220,235';
  97. $conf->global->THEME_ELDY_BACKTABCARD1='242,244,248'; // card
  98. $conf->global->THEME_ELDY_BACKTABCARD2='220,225,230';
  99. $conf->global->THEME_ELDY_BACKTABACTIVE='220,225,230';
  100. $conf->global->THEME_ELDY_BACKBODY='#ffffff url('.$img_head.') 0 0 no-repeat;';
  101. $conf->global->THEME_ELDY_LINEIMPAIR1='244,244,244';
  102. $conf->global->THEME_ELDY_LINEIMPAIR2='250,250,250';
  103. $conf->global->THEME_ELDY_LINEPAIR1='255,255,255';
  104. $conf->global->THEME_ELDY_LINEPAIR2='255,255,255';
  105. $conf->global->THEME_ELDY_BACKBODY='#ffffff url('.$img_head.') 0 0 no-repeat;';
  106. $conf->global->THEME_ELDY_TEXT='48,102,102';
  107. }
  108. $colorback1 =empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED)?(empty($conf->global->THEME_ELDY_TOPMENU_BACK1)?$colorback1:$conf->global->THEME_ELDY_TOPMENU_BACK1) :(empty($user->conf->THEME_ELDY_TOPMENU_BACK1)?$colorback1:$user->conf->THEME_ELDY_TOPMENU_BACK1);
  109. $colorback2 =empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED)?(empty($conf->global->THEME_ELDY_TOPMENU_BACK2)?$colorback2:$conf->global->THEME_ELDY_TOPMENU_BACK2) :(empty($user->conf->THEME_ELDY_TOPMENU_BACK2)?$colorback2:$user->conf->THEME_ELDY_TOPMENU_BACK2);
  110. $colorbacktab1 =empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED)?(empty($conf->global->THEME_ELDY_VERMENU_BACK1)?$colorbacktab1:$conf->global->THEME_ELDY_VERMENU_BACK1) :(empty($user->conf->THEME_ELDY_VERMENU_BACK1)?$colorbacktab1:$user->conf->THEME_ELDY_VERMENU_BACK1);
  111. $colorbacktab2 =empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED)?(empty($conf->global->THEME_ELDY_VERMENU_BACK2)?$colorbacktab2:$conf->global->THEME_ELDY_VERMENU_BACK2) :(empty($user->conf->THEME_ELDY_VERMENU_BACK2)?$colorbacktab2:$user->conf->THEME_ELDY_VERMENU_BACK2);
  112. $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);
  113. $colorbacktitle2 =empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED)?(empty($conf->global->THEME_ELDY_BACKTITLE2) ?$colorbacktitle2:$conf->global->THEME_ELDY_BACKTITLE2) :(empty($user->conf->THEME_ELDY_BACKTITLE2)?$colorbacktitle2:$user->conf->THEME_ELDY_BACKTITLE2);
  114. $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);
  115. $colorbacktabcard2 =empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED)?(empty($conf->global->THEME_ELDY_BACKTABCARD2) ?$colorbacktabcard2:$conf->global->THEME_ELDY_BACKTABCARD2) :(empty($user->conf->THEME_ELDY_BACKTABCARD2)?$colorbacktabcard2:$user->conf->THEME_ELDY_BACKTABCARD2);
  116. $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);
  117. $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);
  118. $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);
  119. $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);
  120. $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);
  121. $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);
  122. $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);
  123. print '/*'."\n";
  124. print 'colred='.$colred.' colgreen='.$colgreen.' colblue='.$colblue."\n";
  125. print 'isred='.$isred.' isgreen='.$isgreen.' isblue='.$isblue."\n";
  126. print 'colorbacklineimpair1='.$colorbacklineimpair1."\n";
  127. print 'colorbacklineimpair2='.$colorbacklineimpair2."\n";
  128. print 'colorbacklinepair1='.$colorbacklinepair1."\n";
  129. print 'colorbacklinepair2='.$colorbacklinepair2."\n";
  130. print '*/'."\n";
  131. ?>
  132. /* ============================================================================== */
  133. /* Styles par defaut */
  134. /* ============================================================================== */
  135. body {
  136. <?php if (GETPOST("optioncss") == 'print') { ?>
  137. background-color: #FFFFFF;
  138. <?php } else { ?>
  139. background: <?php print $colorbackbody; ?>;
  140. <?php } ?>
  141. color: #101010;
  142. font-size: <?php print $fontsize ?>px;
  143. font-family: <?php print $fontlist ?>;
  144. margin-top: 0;
  145. margin-bottom: 0;
  146. margin-right: 0;
  147. margin-left: 0;
  148. <?php print 'direction: '.$langs->trans("DIRECTION").";\n"; ?>
  149. }
  150. a:link, a:visited, a:hover, a:active { font-family: <?php print $fontlist ?>; font-weight: bold; color: #000000; text-decoration: none; }
  151. input:focus, textarea:focus, button:focus, select:focus {
  152. box-shadow: 0 0 4px #8091BF;
  153. }
  154. input, input.flat, textarea, textarea.flat, form.flat select, select.flat {
  155. font-size: <?php print $fontsize ?>px;
  156. font-family: <?php print $fontlist ?>;
  157. background: #FDFDFD;
  158. border: 1px solid #ACBCBB;
  159. padding: 1px 1px 1px 1px;
  160. margin: 0px 0px 0px 0px;
  161. }
  162. select.flat, form.flat select {
  163. font-weight: normal;
  164. }
  165. input:disabled {
  166. background:#ddd;
  167. }
  168. input:-webkit-autofill { background-color: #FCFEFA !important; background-image:none !important; }
  169. textarea:disabled {
  170. background:#ddd;
  171. }
  172. .button {
  173. font-family: <?php print $fontlist ?>;
  174. background-image: url(<?php echo $img_button ?>);
  175. background-position: bottom;
  176. border: 1px solid #ACBCBB;
  177. padding: 0.1em 0.7em;
  178. margin: 0em 0.5em;
  179. -moz-border-radius:0px 5px 0px 5px;
  180. -webkit-border-radius:0px 5px 0px 5px;
  181. border-radius:0px 5px 0px 5px;
  182. -moz-box-shadow: 4px 4px 4px #CCC;
  183. -webkit-box-shadow: 4px 4px 4px #CCC;
  184. box-shadow: 4px 4px 4px #CCC;
  185. }
  186. .button:focus {
  187. font-family: <?php print $fontlist ?>;
  188. color: #222244;
  189. background-image: url(<?php echo $img_button ?>);
  190. background-position: bottom;
  191. border: 1px solid #ACBCBB;
  192. }
  193. .button:hover {
  194. background: #dee7ec;
  195. }
  196. .button:disabled {
  197. background: #ddd;
  198. }
  199. .buttonajax {
  200. font-family: <?php print $fontlist ?>;
  201. border: 0px;
  202. background-image: url(<?php echo $img_button ?>);
  203. background-position: bottom;
  204. padding: 0.1em 0.7em;
  205. margin: 0em 0.5em;
  206. -moz-border-radius:0px 5px 0px 5px;
  207. -webkit-border-radius:0px 5px 0px 5px;
  208. border-radius:0px 5px 0px 5px;
  209. -moz-box-shadow: 4px 4px 4px #CCC;
  210. -webkit-box-shadow: 4px 4px 4px #CCC;
  211. box-shadow: 4px 4px 4px #CCC;
  212. }
  213. form {
  214. padding: 0em 0em 0em 0em;
  215. margin: 0em 0em 0em 0em;
  216. }
  217. div.float
  218. {
  219. float:<?php print $left; ?>;
  220. }
  221. th .button {
  222. -moz-box-shadow: none !important;
  223. -webkit-box-shadow: none !important;
  224. box-shadow: none !important;
  225. -moz-border-radius:0px !important;
  226. -webkit-border-radius:0px !important;
  227. border-radius:0px !important;
  228. }
  229. /* ============================================================================== */
  230. /* Styles to hide objects */
  231. /* ============================================================================== */
  232. .hideobject { display: none; }
  233. <?php if (! empty($conf->browser->phone)) { ?>
  234. .hideonsmartphone { display: none; }
  235. <?php } ?>
  236. .linkobject { cursor: pointer; }
  237. /* ============================================================================== */
  238. /* Styles for dragging lines */
  239. /* ============================================================================== */
  240. .dragClass {
  241. color: #002255;
  242. }
  243. td.showDragHandle {
  244. cursor: move;
  245. }
  246. .tdlineupdown {
  247. white-space: nowrap;
  248. }
  249. /* ============================================================================== */
  250. /* Styles de positionnement des zones */
  251. /* ============================================================================== */
  252. div.fiche {
  253. margin-<?php print $left; ?>: <?php print (empty($conf->browser->phone) || empty($conf->global->MAIN_MENU_USE_JQUERY_LAYOUT))?'20':'24'; ?>px;
  254. margin-<?php print $right; ?>: <?php print empty($conf->browser->phone)?'12':'6'; ?>px;
  255. }
  256. div.fichecenter {
  257. width: 100%;
  258. clear: both; /* This is to have div fichecenter that are true rectangles */
  259. }
  260. div.fichethirdleft {
  261. <?php if (empty($conf->browser->phone)) { print "float: ".$left.";\n"; } ?>
  262. <?php if (empty($conf->browser->phone)) { print "width: 35%;\n"; } ?>
  263. <?php if (! empty($conf->browser->phone)) { print "padding-bottom: 6px;\n"; } ?>
  264. }
  265. div.fichetwothirdright {
  266. <?php if (empty($conf->browser->phone)) { print "float: ".$left.";\n"; } ?>
  267. <?php if (empty($conf->browser->phone)) { print "width: 65%;\n"; } ?>
  268. <?php if (! empty($conf->browser->phone)) { print "padding-bottom: 6px\n"; } ?>
  269. }
  270. div.fichehalfleft {
  271. <?php if (empty($conf->browser->phone)) { print "float: ".$left.";\n"; } ?>
  272. <?php if (empty($conf->browser->phone)) { print "width: 50%;\n"; } ?>
  273. }
  274. div.fichehalfright {
  275. <?php if (empty($conf->browser->phone)) { print "float: ".$left.";\n"; } ?>
  276. <?php if (empty($conf->browser->phone)) { print "width: 50%;\n"; } ?>
  277. }
  278. div.ficheaddleft {
  279. <?php if (empty($conf->browser->phone)) { print "padding-left: 16px;\n"; } ?>
  280. }
  281. /* ============================================================================== */
  282. /* Menu top et 1ere ligne tableau */
  283. /* ============================================================================== */
  284. <?php
  285. if (! empty($conf->browser->phone))
  286. {
  287. $minwidthtmenu=0;
  288. $heightmenu=19;
  289. }
  290. else
  291. {
  292. $minwidthtmenu=64;
  293. $heightmenu=48;
  294. }
  295. ?>
  296. div.tmenu {
  297. <?php if (GETPOST("optioncss") == 'print') { ?>
  298. display:none;
  299. <?php } else { ?>
  300. position: relative;
  301. display: block;
  302. white-space: nowrap;
  303. border-top: 0px solid #D3E5EC;
  304. border-<?php print $left; ?>: 0px;
  305. border-<?php print $right; ?>: 0px solid #555555;
  306. border-bottom: 1px solid #FFFFFF;
  307. padding: 0px 0px 0px 0px; /* t r b l */
  308. margin: 0px 0px 7px 0px; /* t r b l */
  309. font-weight: normal;
  310. height: <?php print $heightmenu; ?>px;
  311. /* DYN */
  312. background-image: linear-gradient(bottom, rgb(<?php echo $colorback1; ?>) 75%, rgb(<?php echo $colorback2; ?>) 100%);
  313. background-image: -o-linear-gradient(bottom, rgb(<?php echo $colorback1; ?>) 75%, rgb(<?php echo $colorback2; ?>) 100%);
  314. background-image: -moz-linear-gradient(bottom, rgb(<?php echo $colorback1; ?>) 75%, rgb(<?php echo $colorback2; ?>) 100%);
  315. background-image: -webkit-linear-gradient(bottom, rgb(<?php echo $colorback1; ?>) 40%, rgb(<?php echo $colorback2; ?>) 60%, rgb(<?php echo $colorback1; ?>) 100%);
  316. background-image: -ms-linear-gradient(bottom, rgb(<?php echo $colorback1; ?>) 75%, rgb(<?php echo $colorback2; ?>) 100%);
  317. color: #000000;
  318. text-decoration: none;
  319. <?php } ?>
  320. }
  321. table.tmenu {
  322. padding: 0px 0px 10px 0px; /* t r b l */
  323. margin: 0px 0px 0px 0px; /* t r b l */
  324. text-align: center;
  325. }
  326. td.tmenu {
  327. <?php print $minwidthtmenu?'width: '.$minwidthtmenu.'px;':''; ?>
  328. text-align: center;
  329. vertical-align: bottom;
  330. white-space: nowrap;
  331. }
  332. a.tmenudisabled:link, a.tmenudisabled:visited, a.tmenudisabled:hover, a.tmenudisabled:active {
  333. color: #757575;
  334. font-weight: normal;
  335. padding: 0px 5px 0px 5px;
  336. margin: 0px 1px 2px 1px;
  337. cursor: not-allowed;
  338. font-weight: normal;
  339. white-space: nowrap;
  340. }
  341. a.tmenu:link, a.tmenu:visited, a.tmenu:hover, a.tmenu:active {
  342. font-weight: normal;
  343. color: #234046;
  344. padding: 0px 5px 0px 5px;
  345. margin: 0px 1px 2px 1px;
  346. white-space: nowrap;
  347. text-shadow: 1px 2px 4px #BFBFBF;
  348. }
  349. a.tmenu:hover, a.tmenu:active {
  350. margin: 0px 0px 0px 0px;
  351. border-<?php print $right; ?>: 1px solid #555555;
  352. border-<?php print $left; ?>: 1px solid #D8D8D8;
  353. border-top: 1px solid #D8D8D8;
  354. border-bottom: 2px solid #F4F4F4;
  355. }
  356. a.tmenu:hover, a.tmenu:active {
  357. background: #F4F4F4;
  358. text-shadow: 1px 2px 4px #BFBFBF;
  359. }
  360. a.tmenusel:link, a.tmenusel:visited, a.tmenusel:hover, a.tmenusel:active {
  361. font-weight: normal;
  362. color: #234046;
  363. padding: 0px 5px 0px 5px;
  364. margin: 0px 0px 0px 0px;
  365. background: #F4F4F4;
  366. border-<?php print $right; ?>: 1px solid #555555;
  367. border-top: 1px solid #D8D8D8;
  368. border-<?php print $left; ?>: 1px solid #D8D8D8;
  369. border-bottom: 2px solid #F4F4F4;
  370. white-space: nowrap;
  371. text-shadow: 1px 2px 4px #BFBFBF;
  372. }
  373. * html li.tmenu a {
  374. min-width:60px;
  375. }
  376. ul.tmenu { /* t r b l */
  377. padding: 0px 0px 10px 0px;
  378. margin: 0px 0px 0px 6px;
  379. list-style: none;
  380. }
  381. li.tmenu {
  382. <?php print $minwidthtmenu?'min-width: '.$minwidthtmenu.'px;':''; ?>
  383. text-align: center;
  384. vertical-align: bottom;
  385. float: <?php print $left; ?>;
  386. height: <?php print $heightmenu; ?>px;
  387. position:relative;
  388. display: block;
  389. padding: 2px 5px 0px 5px;
  390. margin: 0px 0px 0px 0px;
  391. font-weight: normal;
  392. }
  393. div.mainmenu {
  394. position : relative;
  395. color: white;
  396. background-repeat:no-repeat;
  397. background-position:center top;
  398. height: <?php echo ($heightmenu-19); ?>px;
  399. margin-left: 0px;
  400. }
  401. <?php if (empty($conf->browser->phone)) { ?>
  402. div.mainmenu.home{
  403. background-image: url(<?php echo dol_buildpath($path.'/theme/eldy/img/menus/home.png',1) ?>);
  404. }
  405. div.mainmenu.accountancy {
  406. background-image: url(<?php echo dol_buildpath($path.'/theme/eldy/img/menus/money.png',1) ?>);
  407. }
  408. div.mainmenu.agenda {
  409. background-image: url(<?php echo dol_buildpath($path.'/theme/eldy/img/menus/agenda.png',1) ?>);
  410. }
  411. div.mainmenu.bank {
  412. background-image: url(<?php echo dol_buildpath($path.'/theme/eldy/img/menus/bank.png',1) ?>);
  413. }
  414. div.mainmenu.bookmark {
  415. }
  416. div.mainmenu.cashdesk {
  417. background-image: url(<?php echo dol_buildpath($path.'/theme/eldy/img/menus/pointofsale.png',1) ?>);
  418. }
  419. div.mainmenu.click2dial {
  420. }
  421. div.mainmenu.companies {
  422. background-image: url(<?php echo dol_buildpath($path.'/theme/eldy/img/menus/members.png',1) ?>);
  423. }
  424. div.mainmenu.contacts {
  425. background-image: url(<?php echo dol_buildpath($path.'/theme/eldy/img/menus/stethoscope.png',1) ?>);
  426. }
  427. div.mainmenu.commercial {
  428. background-image: url(<?php echo dol_buildpath($path.'/theme/eldy/img/menus/commercial.png',1) ?>);
  429. }
  430. div.mainmenu.ecm {
  431. background-image: url(<?php echo dol_buildpath($path.'/theme/eldy/img/menus/ecm.png',1) ?>);
  432. }
  433. div.mainmenu.externalsite {
  434. background-image: url(<?php echo dol_buildpath($path.'/theme/eldy/img/menus/externalsite.png',1) ?>);
  435. }
  436. div.mainmenu.ftp {
  437. background-image: url(<?php echo dol_buildpath($path.'/theme/eldy/img/menus/tools.png',1) ?>);
  438. }
  439. div.mainmenu.gravatar {
  440. }
  441. div.mainmenu.geopipmaxmind {
  442. }
  443. div.mainmenu.members {
  444. background-image: url(<?php echo dol_buildpath($path.'/theme/eldy/img/menus/members.png',1) ?>);
  445. }
  446. div.mainmenu.paypal {
  447. }
  448. div.mainmenu.products {
  449. background-image: url(<?php echo dol_buildpath($path.'/theme/eldy/img/menus/products.png',1) ?>);
  450. margin-left: 10px;
  451. }
  452. div.mainmenu.project {
  453. background-image: url(<?php echo dol_buildpath($path.'/theme/eldy/img/menus/project.png',1) ?>);
  454. }
  455. div.mainmenu.tools {
  456. background-image: url(<?php echo dol_buildpath($path.'/theme/eldy/img/menus/tools.png',1) ?>);
  457. }
  458. div.mainmenu.shop {
  459. background-image: url(<?php echo dol_buildpath($path.'/theme/eldy/img/menus/shop.png',1) ?>);
  460. }
  461. div.mainmenu.webservices {
  462. }
  463. div.mainmenu.google {
  464. background-image: url(<?php echo dol_buildpath($path.'/theme/eldy/img/menus/globe.png',1) ?>);
  465. }
  466. <?php
  467. // Add here more div for other menu entries. moduletomainmenu=array('module name'=>'name of class for div')
  468. $moduletomainmenu=array('user'=>'','syslog'=>'','societe'=>'companies','projet'=>'project','propale'=>'commercial','commande'=>'commercial',
  469. 'produit'=>'products','service'=>'products','stock'=>'products',
  470. 'don'=>'accountancy','tax'=>'accountancy','banque'=>'accountancy','facture'=>'accountancy','compta'=>'accountancy','accounting'=>'accountancy','adherent'=>'members','import'=>'tools','export'=>'tools','mailing'=>'tools',
  471. 'contrat'=>'commercial','ficheinter'=>'commercial','deplacement'=>'commercial',
  472. 'fournisseur'=>'companies',
  473. 'barcode'=>'','fckeditor'=>'','categorie'=>'',
  474. );
  475. $mainmenuused='home';
  476. foreach($conf->modules as $key => $val)
  477. {
  478. $mainmenuused.=','.(isset($moduletomainmenu[$val])?$moduletomainmenu[$val]:$val);
  479. }
  480. //var_dump($mainmenuused);
  481. $mainmenuusedarray=array_unique(explode(',',$mainmenuused));
  482. $generic=1;
  483. $divalreadydefined=array('home','companies','products','commercial','accountancy','project','tools','members','shop','agenda','bookmark','cashdesk','geoipmaxmind','gravatar','clicktodial','paypal','webservices');
  484. foreach($mainmenuusedarray as $key => $val)
  485. {
  486. if (empty($val) || in_array($val,$divalreadydefined)) continue;
  487. //print "XXX".$val;
  488. // Search img file in module dir
  489. $found=0; $url='';
  490. foreach($conf->file->dol_document_root as $dirroot)
  491. {
  492. if (file_exists($dirroot."/".$val."/img/".$val.".png"))
  493. {
  494. $url=dol_buildpath($path.'/'.$val.'/img/'.$val.'.png', 1);
  495. $found=1;
  496. break;
  497. }
  498. }
  499. // Img file not found
  500. if (! $found && $generic <= 4)
  501. {
  502. $url=dol_buildpath($path.'/theme/eldy/img/menus/generic'.$generic.".png",1);
  503. $found=1;
  504. $generic++;
  505. }
  506. if ($found)
  507. {
  508. print "/* A mainmenu entry but img file ".$val.".png not found, so we use a generic one */\n";
  509. print "div.mainmenu.".$val." {\n";
  510. print " background-image: url(".$url.");\n";
  511. print " height:28px;\n";
  512. print "}\n";
  513. }
  514. }
  515. // End of part to add more div class css
  516. ?>
  517. <?php
  518. } // End test if not phone
  519. ?>
  520. .tmenuimage {
  521. padding:0 0 0 0 !important;
  522. margin:0 0px 0 0 !important;
  523. }
  524. /* Login */
  525. table.login {
  526. -moz-box-shadow: 4px 4px 4px #CCC;
  527. -webkit-box-shadow: 4px 4px 4px #CCC;
  528. box-shadow: 4px 4px 4px #CCC;
  529. }
  530. div.login_block {
  531. position: absolute;
  532. <?php print $right; ?>: 5px;
  533. top: 3px;
  534. font-weight: bold;
  535. <?php if (GETPOST("optioncss") == 'print') { ?>
  536. display: none;
  537. <?php } ?>
  538. }
  539. div.login_block table {
  540. display: inline;
  541. }
  542. div.login {
  543. white-space:nowrap;
  544. padding: <?php echo ($conf->browser->phone?'0':'8')?>px 0px 0px 0px;
  545. margin: 0px 0px 0px 8px;
  546. font-weight: bold;
  547. }
  548. div.login a {
  549. color: #234046;
  550. }
  551. div.login a:hover {
  552. color: black;
  553. text-decoration:underline;
  554. }
  555. img.login, img.printer, img.entity {
  556. padding: <?php echo ($conf->browser->phone?'0':'8')?>px 0px 0px 0px;
  557. margin: 0px 0px 0px 8px;
  558. text-decoration: none;
  559. color: white;
  560. font-weight: bold;
  561. }
  562. /* ============================================================================== */
  563. /* Menu gauche */
  564. /* ============================================================================== */
  565. td.vmenu {
  566. margin-<?php print $right; ?>: 2px;
  567. padding: 0px;
  568. padding-bottom: 0px;
  569. padding-top: 1px;
  570. width: 174px;
  571. }
  572. .vmenu {
  573. margin-left: 4px;
  574. <?php if (GETPOST("optioncss") == 'print') { ?>
  575. display: none;
  576. <?php } ?>
  577. }
  578. a.vmenu:link, a.vmenu:visited, a.vmenu:hover, a.vmenu:active { font-size:<?php print $fontsize ?>px; font-family: <?php print $fontlist ?>; text-align: <?php print $left; ?>; font-weight: bold; }
  579. font.vmenudisabled { font-size:<?php print $fontsize ?>px; font-family: <?php print $fontlist ?>; text-align: <?php print $left; ?>; font-weight: bold; color: #93a5aa; }
  580. a.vsmenu:link, a.vsmenu:visited, a.vsmenu:hover, a.vsmenu:active { font-size:<?php print ($fontsize-1) ?>px; font-family: <?php print $fontlist ?>; text-align: <?php print $left; ?>; font-weight: normal; color: #202020; margin: 1px 1px 1px 6px; }
  581. font.vsmenudisabled { font-size:<?php print ($fontsize-1) ?>px; font-family: <?php print $fontlist ?>; text-align: <?php print $left; ?>; font-weight: normal; color: #93a5aa; margin: 1px 1px 1px 6px; }
  582. a.help:link, a.help:visited, a.help:hover, a.help:active { font-size:<?php print $fontsizesmaller ?>px; font-family: <?php print $fontlist ?>; text-align: <?php print $left; ?>; font-weight: normal; color: #666666; }
  583. div.blockvmenupair, div.blockvmenuimpair
  584. {
  585. width:174px;
  586. font-family: <?php print $fontlist ?>;
  587. color: #000000;
  588. text-align: <?php print $left; ?>;
  589. text-decoration: none;
  590. padding-left: 5px;
  591. padding-right: 1px;
  592. padding-top: 3px;
  593. padding-bottom: 3px;
  594. margin: 1px 0px 8px 2px;
  595. /* DYN */
  596. background-image: linear-gradient(bottom, rgb(<?php echo $colorbacktab1; ?>) 85%, rgb(<?php echo $colorbacktab2; ?>) 100%);
  597. background-image: -o-linear-gradient(bottom, rgb(<?php echo $colorbacktab1; ?>) 85%, rgb(<?php echo $colorbacktab2; ?>) 100%);
  598. background-image: -moz-linear-gradient(bottom, rgb(<?php echo $colorbacktab1; ?>) 85%, rgb(<?php echo $colorbacktab2; ?>) 100%);
  599. background-image: -webkit-linear-gradient(bottom, rgb(<?php echo $colorbacktab1; ?>) 85%, rgb(<?php echo $colorbacktab2; ?>) 100%);
  600. background-image: -ms-linear-gradient(bottom, rgb(<?php echo $colorbacktab1; ?>) 85%, rgb(<?php echo $colorbacktab2; ?>) 100%);
  601. border-left: 1px solid #CCCCCC;
  602. border-right: 1px solid #BBBBBB;
  603. border-bottom: 1px solid #BBBBBB;
  604. border-radius: 5px;
  605. -moz-border-radius: 5px;
  606. -moz-box-shadow: 4px 4px 4px #CCC;
  607. -webkit-box-shadow: 4px 4px 4px #CCC;
  608. box-shadow: 4px 4px 4px #CCC;
  609. }
  610. div.blockvmenusearch
  611. {
  612. width:174px;
  613. font-family: <?php print $fontlist ?>;
  614. color: #000000;
  615. text-align: <?php print $left; ?>;
  616. text-decoration: none;
  617. padding-left: 5px;
  618. padding-right: 1px;
  619. padding-top: 3px;
  620. padding-bottom: 3px;
  621. margin: 6px 0px 8px 2px;
  622. background: #E3E6E8;
  623. /* DYN */
  624. background-image: linear-gradient(bottom, rgb(<?php echo $colorbacktab1; ?>) 85%, rgb(<?php echo $colorbacktab2; ?>) 100%);
  625. background-image: -o-linear-gradient(bottom, rgb(<?php echo $colorbacktab1; ?>) 85%, rgb(<?php echo $colorbacktab2; ?>) 100%);
  626. background-image: -moz-linear-gradient(bottom, rgb(<?php echo $colorbacktab1; ?>) 85%, rgb(<?php echo $colorbacktab2; ?>) 100%);
  627. background-image: -webkit-linear-gradient(bottom, rgb(<?php echo $colorbacktab1; ?>) 85%, rgb(<?php echo $colorbacktab2; ?>) 100%);
  628. background-image: -ms-linear-gradient(bottom, rgb(<?php echo $colorbacktab1; ?>) 85%, rgb(<?php echo $colorbacktab2; ?>) 100%);
  629. border-left: 1px solid #CCCCCC;
  630. border-right: 1px solid #BBBBBB;
  631. border-bottom: 1px solid #BBBBBB;
  632. border-radius: 5px;
  633. -moz-border-radius: 5px;
  634. -moz-box-shadow: 4px 4px 4px #CCC;
  635. -webkit-box-shadow: 4px 4px 4px #CCC;
  636. box-shadow: 4px 4px 4px #CCC;
  637. }
  638. div.blockvmenubookmarks
  639. {
  640. width:174px;
  641. border-right: 1px solid #555555;
  642. border-bottom: 1px solid #555555;
  643. font-family: <?php print $fontlist ?>;
  644. color: #000000;
  645. text-align: <?php print $left; ?>;
  646. text-decoration: none;
  647. padding-left: 5px;
  648. padding-right: 1px;
  649. padding-top: 3px;
  650. padding-bottom: 3px;
  651. margin: 6px 0px 8px 2px;
  652. background: #E3E6E8;
  653. /* DYN */
  654. background-image: linear-gradient(bottom, rgb(<?php echo $colorbacktab1; ?>) 85%, rgb(<?php echo $colorbacktab2; ?>) 100%);
  655. background-image: -o-linear-gradient(bottom, rgb(<?php echo $colorbacktab1; ?>) 85%, rgb(<?php echo $colorbacktab2; ?>) 100%);
  656. background-image: -moz-linear-gradient(bottom, rgb(<?php echo $colorbacktab1; ?>) 85%, rgb(<?php echo $colorbacktab2; ?>) 100%);
  657. background-image: -webkit-linear-gradient(bottom, rgb(<?php echo $colorbacktab1; ?>) 85%, rgb(<?php echo $colorbacktab2; ?>) 100%);
  658. background-image: -ms-linear-gradient(bottom, rgb(<?php echo $colorbacktab1; ?>) 85%, rgb(<?php echo $colorbacktab2; ?>) 100%);
  659. border-left: 1px solid #CCCCCC;
  660. border-right: 1px solid #BBBBBB;
  661. border-bottom: 1px solid #BBBBBB;
  662. border-radius: 5px;
  663. -moz-border-radius: 5px;
  664. -moz-box-shadow: 4px 4px 4px #CCC;
  665. -webkit-box-shadow: 4px 4px 4px #CCC;
  666. box-shadow: 4px 4px 4px #CCC;
  667. }
  668. div.blockvmenuhelp
  669. {
  670. <?php if (empty($conf->browser->phone)) { ?>
  671. width:174px;
  672. font-family: <?php print $fontlist ?>;
  673. color: #000000;
  674. text-align: center;
  675. text-decoration: none;
  676. padding-left: 0px;
  677. padding-right: 3px;
  678. padding-top: 3px;
  679. padding-bottom: 3px;
  680. margin: 4px 0px 0px 0px;
  681. <?php } else { ?>
  682. display: none;
  683. <?php } ?>
  684. }
  685. td.barre {
  686. border-right: 1px solid #000000;
  687. border-bottom: 1px solid #000000;
  688. background: #b3c5cc;
  689. font-family: <?php print $fontlist ?>;
  690. color: #000000;
  691. text-align: <?php print $left; ?>;
  692. text-decoration: none;
  693. }
  694. td.barre_select {
  695. background: #b3c5cc;
  696. color: #000000;
  697. }
  698. td.photo {
  699. background: #F4F4F4;
  700. color: #000000;
  701. border: 1px solid #b3c5cc;
  702. }
  703. /* ============================================================================== */
  704. /* Panes for Main */
  705. /* ============================================================================== */
  706. /*
  707. * PANES and CONTENT-DIVs
  708. */
  709. #mainContent, #leftContent .ui-layout-pane {
  710. padding: 0px;
  711. overflow: auto;
  712. }
  713. #mainContent, #leftContent .ui-layout-center {
  714. padding: 0px;
  715. position: relative; /* contain floated or positioned elements */
  716. overflow: auto; /* add scrolling to content-div */
  717. }
  718. /* ============================================================================== */
  719. /* Toolbar for ECM or Filemanager */
  720. /* ============================================================================== */
  721. .toolbar {
  722. /* DYN */
  723. background-image: linear-gradient(bottom, rgb(<?php echo $colorback1; ?>) 15%, rgb(<?php echo $colorback2; ?>) 100%) !important;
  724. background-image: -o-linear-gradient(bottom, rgb(<?php echo $colorback1; ?>) 15%, rgb(<?php echo $colorback2; ?>) 100%) !important;
  725. background-image: -moz-linear-gradient(bottom, rgb(<?php echo $colorback1; ?>) 15%, rgb(<?php echo $colorback2; ?>) 100%) !important;
  726. background-image: -webkit-linear-gradient(bottom, rgb(<?php echo $colorback1; ?>) 15%, rgb(<?php echo $colorback2; ?>) 100%) !important;
  727. background-image: -ms-linear-gradient(bottom, rgb(<?php echo $colorback1; ?>) 15%, rgb(<?php echo $colorback2; ?>) 100%) !important;
  728. border: 1px solid #BBB !important;
  729. }
  730. .toolbarbutton {
  731. margin-top: 2px;
  732. margin-left: 4px;
  733. /* border: solid 1px #AAAAAA;
  734. width: 34px;*/
  735. height: 34px;
  736. /* background: #FFFFFF;*/
  737. }
  738. /* ============================================================================== */
  739. /* Panes for ECM or Filemanager */
  740. /* ============================================================================== */
  741. #containerlayout .layout-with-no-border {
  742. border: 0 !important;
  743. border-width: 0 !important;
  744. }
  745. #containerlayout .layout-padding {
  746. padding: 2px !important;
  747. }
  748. /*
  749. * PANES and CONTENT-DIVs
  750. */
  751. #containerlayout .ui-layout-pane { /* all 'panes' */
  752. background: #FFF;
  753. border: 1px solid #BBB;
  754. /* DO NOT add scrolling (or padding) to 'panes' that have a content-div,
  755. otherwise you may get double-scrollbars - on the pane AND on the content-div
  756. */
  757. padding: 0px;
  758. overflow: auto;
  759. }
  760. /* (scrolling) content-div inside pane allows for fixed header(s) and/or footer(s) */
  761. #containerlayout .ui-layout-content {
  762. padding: 10px;
  763. position: relative; /* contain floated or positioned elements */
  764. overflow: auto; /* add scrolling to content-div */
  765. }
  766. /*
  767. * RESIZER-BARS
  768. */
  769. .ui-layout-resizer { /* all 'resizer-bars' */
  770. width: <?php echo (empty($conf->browser->phone)?'8':'24'); ?>px !important;
  771. }
  772. .ui-layout-resizer-hover { /* affects both open and closed states */
  773. }
  774. /* NOTE: It looks best when 'hover' and 'dragging' are set to the same color,
  775. otherwise color shifts while dragging when bar can't keep up with mouse */
  776. /*.ui-layout-resizer-open-hover ,*/ /* hover-color to 'resize' */
  777. .ui-layout-resizer-dragging { /* resizer beging 'dragging' */
  778. background: #DDD;
  779. width: <?php echo (empty($conf->browser->phone)?'8':'24'); ?>px;
  780. }
  781. .ui-layout-resizer-dragging { /* CLONED resizer being dragged */
  782. border-left: 1px solid #BBB;
  783. border-right: 1px solid #BBB;
  784. }
  785. /* NOTE: Add a 'dragging-limit' color to provide visual feedback when resizer hits min/max size limits */
  786. .ui-layout-resizer-dragging-limit { /* CLONED resizer at min or max size-limit */
  787. background: #E1A4A4; /* red */
  788. }
  789. .ui-layout-resizer-closed {
  790. background-color: #DDDDDD;
  791. }
  792. .ui-layout-resizer-closed:hover {
  793. background-color: #EEDDDD;
  794. }
  795. .ui-layout-resizer-sliding { /* resizer when pane is 'slid open' */
  796. opacity: .10; /* show only a slight shadow */
  797. filter: alpha(opacity=10);
  798. }
  799. .ui-layout-resizer-sliding-hover { /* sliding resizer - hover */
  800. opacity: 1.00; /* on-hover, show the resizer-bar normally */
  801. filter: alpha(opacity=100);
  802. }
  803. /* sliding resizer - add 'outside-border' to resizer on-hover */
  804. /* this sample illustrates how to target specific panes and states */
  805. /*.ui-layout-resizer-north-sliding-hover { border-bottom-width: 1px; }
  806. .ui-layout-resizer-south-sliding-hover { border-top-width: 1px; }
  807. .ui-layout-resizer-west-sliding-hover { border-right-width: 1px; }
  808. .ui-layout-resizer-east-sliding-hover { border-left-width: 1px; }
  809. */
  810. /*
  811. * TOGGLER-BUTTONS
  812. */
  813. .ui-layout-toggler {
  814. <?php if (empty($conf->browser->phone)) { ?>
  815. border-top: 1px solid #AAA; /* match pane-border */
  816. border-right: 1px solid #AAA; /* match pane-border */
  817. border-bottom: 1px solid #AAA; /* match pane-border */
  818. background-color: #DDD;
  819. top: 5px !important;
  820. <?php } else { ?>
  821. diplay: none;
  822. <?php } ?>
  823. }
  824. .ui-layout-toggler-open {
  825. height: 54px !important;
  826. width: <?php echo (empty($conf->browser->phone)?'7':'22'); ?>px !important;
  827. -moz-border-radius:0px 10px 10px 0px;
  828. -webkit-border-radius:0px 10px 10px 0px;
  829. border-radius:0px 10px 10px 0px;
  830. }
  831. .ui-layout-toggler-closed {
  832. height: <?php echo (empty($conf->browser->phone)?'54':'2'); ?>px !important;
  833. width: <?php echo (empty($conf->browser->phone)?'7':'22'); ?>px !important;
  834. -moz-border-radius:0px 10px 10px 0px;
  835. -webkit-border-radius:0px 10px 10px 0px;
  836. border-radius:0px 10px 10px 0px;
  837. }
  838. .ui-layout-toggler .content { /* style the text we put INSIDE the togglers */
  839. color: #666;
  840. font-size: 12px;
  841. font-weight: bold;
  842. width: 100%;
  843. padding-bottom: 0.35ex; /* to 'vertically center' text inside text-span */
  844. }
  845. /* hide the toggler-button when the pane is 'slid open' */
  846. .ui-layout-resizer-sliding ui-layout-toggler {
  847. display: none;
  848. }
  849. .ui-layout-north {
  850. height: <?php print (empty($conf->browser->phone)?'54':'21'); ?>px !important;
  851. }
  852. /* ECM */
  853. #containerlayout .ecm-layout-pane { /* all 'panes' */
  854. background: #FFF;
  855. border: 1px solid #BBB;
  856. /* DO NOT add scrolling (or padding) to 'panes' that have a content-div,
  857. otherwise you may get double-scrollbars - on the pane AND on the content-div
  858. */
  859. padding: 0px;
  860. overflow: auto;
  861. }
  862. /* (scrolling) content-div inside pane allows for fixed header(s) and/or footer(s) */
  863. #containerlayout .ecm-layout-content {
  864. padding: 10px;
  865. position: relative; /* contain floated or positioned elements */
  866. overflow: auto; /* add scrolling to content-div */
  867. }
  868. .ecm-layout-toggler {
  869. border-top: 1px solid #AAA; /* match pane-border */
  870. border-right: 1px solid #AAA; /* match pane-border */
  871. border-bottom: 1px solid #AAA; /* match pane-border */
  872. background-color: #CCC;
  873. }
  874. .ecm-layout-toggler-open {
  875. height: 48px !important;
  876. width: 6px !important;
  877. -moz-border-radius:0px 10px 10px 0px;
  878. -webkit-border-radius:0px 10px 10px 0px;
  879. border-radius:0px 10px 10px 0px;
  880. }
  881. .ecm-layout-toggler-closed {
  882. height: 48px !important;
  883. width: 6px !important;
  884. }
  885. .ecm-layout-toggler .content { /* style the text we put INSIDE the togglers */
  886. color: #666;
  887. font-size: 12px;
  888. font-weight: bold;
  889. width: 100%;
  890. padding-bottom: 0.35ex; /* to 'vertically center' text inside text-span */
  891. }
  892. #ecm-layout-west-resizer {
  893. width: 6px !important;
  894. }
  895. .ecm-layout-resizer { /* all 'resizer-bars' */
  896. background: #EEEEEE;
  897. border: 1px solid #BBB;
  898. border-width: 0;
  899. }
  900. .ecm-layout-resizer-closed {
  901. background-color: #EEEEEE;
  902. }
  903. .ecm-in-layout-center {
  904. border-left: 1px !important;
  905. border-right: 0px !important;
  906. border-top: 0px !important;
  907. }
  908. .ecm-in-layout-south {
  909. border-left: 0px !important;
  910. border-right: 0px !important;
  911. border-bottom: 0px !important;
  912. padding: 4px 0 4px 4px !important;
  913. }
  914. /* ============================================================================== */
  915. /* Onglets */
  916. /* ============================================================================== */
  917. div.tabs {
  918. top: 20px;
  919. margin: 1px 0px 0px 0px;
  920. padding: 0px 6px 0px 0px;
  921. text-align: <?php print $left; ?>;
  922. }
  923. div.tabBar {
  924. color: #234046;
  925. padding-top: 9px;
  926. padding-left: 8px;
  927. padding-right: 8px;
  928. padding-bottom: 8px;
  929. margin: 0px 0px 14px 0px;
  930. -moz-border-radius:6px;
  931. -webkit-border-radius: 6px;
  932. border-radius: 6px;
  933. border-right: 1px solid #CCCCCC;
  934. border-bottom: 1px solid #CCCCCC;
  935. border-left: 1px solid #D0D0D0;
  936. border-top: 1px solid #D8D8D8;
  937. /* background: #dee7ec url(<?php echo dol_buildpath($path.'/theme/eldy/img/tab_background.png',1) ?>) repeat-x; */
  938. /* DYN */
  939. background-image: linear-gradient(bottom, rgb(<?php echo $colorbacktabcard1; ?>) 25%, rgb(<?php echo $colorbacktabcard2; ?>) 100%);
  940. background-image: -o-linear-gradient(bottom, rgb(<?php echo $colorbacktabcard1; ?>) 25%, rgb(<?php echo $colorbacktabcard2; ?>) 100%);
  941. background-image: -moz-linear-gradient(bottom, rgb(<?php echo $colorbacktabcard1; ?>) 25%, rgb(<?php echo $colorbacktabcard2; ?>) 100%);
  942. background-image: -webkit-linear-gradient(bottom, rgb(<?php echo $colorbacktabcard1; ?>) 25%, rgb(<?php echo $colorbacktabcard2; ?>) 100%);
  943. background-image: -ms-linear-gradient(bottom, rgb(<?php echo $colorbacktabcard1; ?>) 25%, rgb(<?php echo $colorbacktabcard2; ?>) 100%);
  944. -moz-box-shadow: 4px 4px 4px #CCC;
  945. -webkit-box-shadow: 4px 4px 4px #CCC;
  946. box-shadow: 4px 4px 4px #CCC;
  947. }
  948. div.tabsAction {
  949. margin: 20px 0em 10px 0em;
  950. padding: 0em 0em;
  951. text-align: right;
  952. }
  953. a.tabTitle {
  954. background: #657090;
  955. color: white;
  956. font-family: <?php print $fontlist ?>;
  957. font-weight: normal;
  958. padding: 0px 6px;
  959. margin: 0px 6px;
  960. text-decoration: none;
  961. white-space: nowrap;
  962. }
  963. a.tab:link {
  964. background: #dee7ec;
  965. color: #434956;
  966. font-family: <?php print $fontlist ?>;
  967. padding: 0px 6px;
  968. margin: 0em 0.2em;
  969. text-decoration: none;
  970. white-space: nowrap;
  971. -moz-border-radius:6px 6px 0px 0px;
  972. -webkit-border-radius:6px 6px 0px 0px;
  973. border-radius:6px 6px 0px 0px;
  974. border-<?php print $right; ?>: 1px solid #555555;
  975. border-<?php print $left; ?>: 1px solid #D8D8D8;
  976. border-top: 1px solid #D8D8D8;
  977. /* DYN */
  978. background-image: linear-gradient(bottom, rgb(<?php echo $colorbacktab1; ?>) 35%, rgb(<?php echo $colorbacktab2; ?>) 100%);
  979. background-image: -o-linear-gradient(bottom, rgb(<?php echo $colorbacktab1; ?>) 35%, rgb(<?php echo $colorbacktab2; ?>) 100%);
  980. background-image: -moz-linear-gradient(bottom, rgb(<?php echo $colorbacktab1; ?>) 35%, rgb(<?php echo $colorbacktab2; ?>) 100%);
  981. background-image: -webkit-linear-gradient(bottom, rgb(<?php echo $colorbacktab1; ?>) 35%, rgb(<?php echo $colorbacktab2; ?>) 100%);
  982. background-image: -ms-linear-gradient(bottom, rgb(<?php echo $colorbacktab1; ?>) 35%, rgb(<?php echo $colorbacktab2; ?>) 100%);
  983. }
  984. a.tab:visited {
  985. background: #dee7ec;
  986. color: #434956;
  987. font-family: <?php print $fontlist ?>;
  988. padding: 0px 6px;
  989. margin: 0em 0.2em;
  990. text-decoration: none;
  991. white-space: nowrap;
  992. -moz-border-radius:6px 6px 0px 0px;
  993. -webkit-border-radius:6px 6px 0px 0px;
  994. border-radius:6px 6px 0px 0px;
  995. border-<?php print $right; ?>: 1px solid #555555;
  996. border-<?php print $left; ?>: 1px solid #D8D8D8;
  997. border-top: 1px solid #D8D8D8;
  998. /* DYN */
  999. background-image: linear-gradient(bottom, rgb(<?php echo $colorbacktab1; ?>) 35%, rgb(<?php echo $colorbacktab2; ?>) 100%);
  1000. background-image: -o-linear-gradient(bottom, rgb(<?php echo $colorbacktab1; ?>) 35%, rgb(<?php echo $colorbacktab2; ?>) 100%);
  1001. background-image: -moz-linear-gradient(bottom, rgb(<?php echo $colorbacktab1; ?>) 35%, rgb(<?php echo $colorbacktab2; ?>) 100%);
  1002. background-image: -webkit-linear-gradient(bottom, rgb(<?php echo $colorbacktab1; ?>) 35%, rgb(<?php echo $colorbacktab2; ?>) 100%);
  1003. background-image: -ms-linear-gradient(bottom, rgb(<?php echo $colorbacktab1; ?>) 35%, rgb(<?php echo $colorbacktab2; ?>) 100%);
  1004. }
  1005. a.tab#active {
  1006. background: white;
  1007. font-family: <?php print $fontlist ?>;
  1008. color: #434956;
  1009. padding: 0px 6px;
  1010. margin: 0em 0.2em;
  1011. text-decoration: none;
  1012. -moz-border-radius:6px 6px 0px 0px;
  1013. -webkit-border-radius:6px 6px 0px 0px;
  1014. border-radius:6px 6px 0px 0px;
  1015. border-<?php print $right; ?>: 1px solid #555555;
  1016. border-<?php print $left; ?>: 1px solid #D8D8D8;
  1017. border-top: 1px solid #D8D8D8;
  1018. /* border-bottom: 1px solid white; */
  1019. /* DYN */
  1020. /*background-image: linear-gradient(bottom, rgb(<?php echo $colorbacktab1; ?>) 35%, rgb(<?php echo $colorbacktab2; ?>) 100%);
  1021. background-image: -o-linear-gradient(bottom, rgb(<?php echo $colorbacktab1; ?>) 35%, rgb(<?php echo $colorbacktab2; ?>) 100%);
  1022. background-image: -moz-linear-gradient(bottom, rgb(<?php echo $colorbacktab1; ?>) 35%, rgb(<?php echo $colorbacktab2; ?>) 100%);
  1023. background-image: -webkit-linear-gradient(bottom, rgb(<?php echo $colorbacktab1; ?>) 35%, rgb(<?php echo $colorbacktab2; ?>) 100%);
  1024. background-image: -ms-linear-gradient(bottom, rgb(<?php echo $colorbacktab1; ?>) 35%, rgb(<?php echo $colorbacktab2; ?>) 100%);
  1025. */
  1026. border-bottom: 1px solid rgb(<?php echo $colorbacktabactive; ?>);
  1027. background-color: rgb(<?php echo $colorbacktabactive; ?>);
  1028. }
  1029. a.tab:hover {
  1030. background: white;
  1031. color: #434956;
  1032. font-family: <?php print $fontlist ?>;
  1033. padding: 0px 6px;
  1034. margin: 0em 0.2em;
  1035. text-decoration: none;
  1036. -moz-border-radius:6px 6px 0px 0px;
  1037. -webkit-border-radius:6px 6px 0px 0px;
  1038. border-radius:6px 6px 0px 0px;
  1039. border-<?php print $right; ?>: 1px solid #555555;
  1040. border-<?php print $left; ?>: 1px solid #D8D8D8;
  1041. border-top: 1px solid #D8D8D8;
  1042. /* DYN */
  1043. background-image: linear-gradient(bottom, rgb(<?php echo $colorbacktab1; ?>) 35%, rgb(<?php echo $colorbacktab2; ?>) 100%);
  1044. background-image: -o-linear-gradient(bottom, rgb(<?php echo $colorbacktab1; ?>) 35%, rgb(<?php echo $colorbacktab2; ?>) 100%);
  1045. background-image: -moz-linear-gradient(bottom, rgb(<?php echo $colorbacktab1; ?>) 35%, rgb(<?php echo $colorbacktab2; ?>) 100%);
  1046. background-image: -webkit-linear-gradient(bottom, rgb(<?php echo $colorbacktab1; ?>) 35%, rgb(<?php echo $colorbacktab2; ?>) 100%);
  1047. background-image: -ms-linear-gradient(bottom, rgb(<?php echo $colorbacktab1; ?>) 35%, rgb(<?php echo $colorbacktab2; ?>) 100%);
  1048. }
  1049. a.tabimage {
  1050. color: #434956;
  1051. font-family: <?php print $fontlist ?>;
  1052. text-decoration: none;
  1053. white-space: nowrap;
  1054. }
  1055. td.tab {
  1056. background: #dee7ec;
  1057. }
  1058. span.tabspan {
  1059. background: #dee7ec;
  1060. color: #434956;
  1061. font-family: <?php print $fontlist ?>;
  1062. padding: 0px 6px;
  1063. margin: 0em 0.2em;
  1064. text-decoration: none;
  1065. white-space: nowrap;
  1066. -moz-border-radius:6px 6px 0px 0px;
  1067. -webkit-border-radius:6px 6px 0px 0px;
  1068. border-radius:6px 6px 0px 0px;
  1069. border-<?php print $right; ?>: 1px solid #555555;
  1070. border-<?php print $left; ?>: 1px solid #D8D8D8;
  1071. border-top: 1px solid #D8D8D8;
  1072. }
  1073. /* ============================================================================== */
  1074. /* Boutons actions */
  1075. /* ============================================================================== */
  1076. .butAction, .butAction:link, .butAction:visited, .butAction:hover, .butAction:active, .butActionDelete, .butActionDelete:link, .butActionDelete:visited, .butActionDelete:hover, .butActionDelete:active {
  1077. font-family: <?php print $fontlist ?>;
  1078. font-weight: bold;
  1079. background: white;
  1080. border: 1px solid #8CACBB;
  1081. color: #434956;
  1082. text-decoration: none;
  1083. white-space: nowrap;
  1084. padding: 0.4em 0.7em;
  1085. margin: 0em 0.7em;
  1086. -moz-border-radius:0px 5px 0px 5px;
  1087. -webkit-border-radius:0px 5px 0px 5px;
  1088. border-radius:0px 5px 0px 5px;
  1089. -moz-box-shadow: 4px 4px 4px #CCC;
  1090. -webkit-box-shadow: 4px 4px 4px #CCC;
  1091. box-shadow: 4px 4px 4px #CCC;
  1092. }
  1093. .butAction:hover {
  1094. background: #dee7ec;
  1095. }
  1096. .butActionDelete, .butActionDelete:link, .butActionDelete:visited, .butActionDelete:hover, .butActionDelete:active {
  1097. border: 1px solid #997777;
  1098. }
  1099. .butActionDelete:hover {
  1100. background: #FFe7ec;
  1101. }
  1102. .butActionRefused {
  1103. font-family: <?php print $fontlist ?> !important;
  1104. font-weight: bold !important;
  1105. background: white !important;
  1106. border: 1px solid #AAAAAA !important;
  1107. color: #AAAAAA !important;
  1108. text-decoration: none !important;
  1109. white-space: nowrap !important;
  1110. cursor: not-allowed;
  1111. padding: 0.4em 0.7em;
  1112. margin: 0em 0.7em;
  1113. -moz-border-radius:0px 5px 0px 5px;
  1114. -webkit-border-radius:0px 5px 0px 5px;
  1115. border-radius:0px 5px 0px 5px;
  1116. -moz-box-shadow: 4px 4px 4px #CCC;
  1117. -webkit-box-shadow: 4px 4px 4px #CCC;
  1118. box-shadow: 4px 4px 4px #CCC;
  1119. }
  1120. span.butAction, span.butActionDelete {
  1121. cursor: pointer;
  1122. }
  1123. /* ============================================================================== */
  1124. /* Tables */
  1125. /* ============================================================================== */
  1126. #undertopmenu {
  1127. /* background-image: url("<?php echo dol_buildpath($path.'/theme/eldy/img/gradient.gif',1) ?>"); */
  1128. background-repeat: repeat-x;
  1129. margin-top: 8px;
  1130. }
  1131. .paddingrightonly {
  1132. border-collapse: collapse;
  1133. border: 0px;
  1134. margin-left: 0px;
  1135. spacing-left: 0px;
  1136. padding-left: 0px;
  1137. padding-right: 4px;
  1138. }
  1139. .nocellnopadd {
  1140. list-style-type:none;
  1141. margin: 0px;
  1142. padding: 0px;
  1143. }
  1144. .notopnoleft {
  1145. border-collapse: collapse;
  1146. border: 0px;
  1147. padding-top: 0px;
  1148. padding-<?php print $left; ?>: 0px;
  1149. padding-<?php print $right; ?>: 16px;
  1150. padding-bottom: 4px;
  1151. margin-right: 0px 0px;
  1152. }
  1153. .notopnoleftnoright {
  1154. border-collapse: collapse;
  1155. border: 0px;
  1156. padding-top: 0px;
  1157. padding-left: 0px;
  1158. padding-right: 0px;
  1159. padding-bottom: 4px;
  1160. margin: 0px 0px 0px 0px;
  1161. }
  1162. table.border {
  1163. border: 1px solid #9CACBB;
  1164. border-collapse: collapse;
  1165. }
  1166. table.border td {
  1167. padding: 1px 2px 1px 1px;
  1168. border: 1px solid #9CACBB;
  1169. border-collapse: collapse;
  1170. }
  1171. td.border {
  1172. border-top: 1px solid #000000;
  1173. border-right: 1px solid #000000;
  1174. border-bottom: 1px solid #000000;
  1175. border-left: 1px solid #000000;
  1176. }
  1177. /* Main boxes */
  1178. table.noborder, table.formdoc {
  1179. width: 100%;
  1180. border-collapse: separate !important;
  1181. border-spacing: 0px;
  1182. border-right-width: 0px;
  1183. border-right-color: #DDDDDD;
  1184. border-right-style: solid;
  1185. border-left-width: 1px;
  1186. border-left-color: #DDDDDD;
  1187. border-left-style: solid;
  1188. border-bottom-width: 1px;
  1189. border-bottom-color: #DDDDDD;
  1190. border-bottom-style: solid;
  1191. margin: 0px 0px 2px 0px;
  1192. /*padding: 1px 2px 1px 2px;*/
  1193. -moz-box-shadow: 4px 4px 4px #CCC;
  1194. -webkit-box-shadow: 4px 4px 4px #CCC;
  1195. box-shadow: 4px 4px 4px #CCC;
  1196. -moz-border-radius: 0.2em;
  1197. -webkit-border-radius: 0.2em;
  1198. border-radius: 0.2em;
  1199. }
  1200. table.noborder tr {
  1201. border-top-color: #FEFEFE;
  1202. border-right-width: 1px;
  1203. border-right-color: #BBBBBB;
  1204. border-right-style: solid;
  1205. border-left-width: 1px;
  1206. border-left-color: #BBBBBB;
  1207. border-left-style: solid;
  1208. height: 18px;
  1209. }
  1210. table.noborder th, table.noborder td {
  1211. padding: 1px 2px 1px 3px; /* t r b l */
  1212. }
  1213. table.nobordernopadding {
  1214. border-collapse: collapse !important;
  1215. border: 0px;
  1216. }
  1217. table.nobordernopadding tr {
  1218. border: 0px !important;
  1219. padding: 0px 0px;
  1220. }
  1221. table.nobordernopadding td {
  1222. border: 0px !important;
  1223. padding: 0px 0px;
  1224. }
  1225. /* For lists */
  1226. table.liste {
  1227. width: 100%;
  1228. border-collapse: collapse;
  1229. border-top-color: #FEFEFE;
  1230. border-right-width: 1px;
  1231. border-right-color: #BBBBBB;
  1232. border-right-style: solid;
  1233. border-left-width: 1px;
  1234. border-left-color: #CCCCCC;
  1235. border-left-style: solid;
  1236. border-bottom-width: 1px;
  1237. border-bottom-color: #BBBBBB;
  1238. border-bottom-style: solid;
  1239. margin-bottom: 2px;
  1240. margin-top: 0px;
  1241. -moz-box-shadow: 4px 4px 4px #CCC;
  1242. -webkit-box-shadow: 4px 4px 4px #CCC;
  1243. box-shadow: 4px 4px 4px #CCC;
  1244. }
  1245. table.liste td {
  1246. padding-right: 2px;
  1247. }
  1248. tr.liste_titre, tr.liste_titre_sel
  1249. {
  1250. height: 20px !important;
  1251. background-repeat: repeat-x;
  1252. /* DYN */
  1253. background-image: linear-gradient(bottom, rgb(<?php echo $colorbacktitle1; ?>) 15%, rgb(<?php echo $colorbacktitle2; ?>) 100%);
  1254. background-image: -o-linear-gradient(bottom, rgb(<?php echo $colorbacktitle1; ?>) 15%, rgb(<?php echo $colorbacktitle2; ?>) 100%);
  1255. background-image: -moz-linear-gradient(bottom, rgb(<?php echo $colorbacktitle1; ?>) 15%, rgb(<?php echo $colorbacktitle2; ?>) 100%);
  1256. background-image: -webkit-linear-gradient(bottom, rgb(<?php echo $colorbacktitle1; ?>) 15%, rgb(<?php echo $colorbacktitle2; ?>) 100%);
  1257. background-image: -ms-linear-gradient(bottom, rgb(<?php echo $colorbacktitle1; ?>) 15%, rgb(<?php echo $colorbacktitle2; ?>) 100%);
  1258. color: #234046;
  1259. font-family: <?php print $fontlist ?>;
  1260. font-weight: normal;
  1261. border-bottom: 1px solid #FDFFFF;
  1262. white-space: nowrap;
  1263. text-align: <?php echo $left; ?>;
  1264. }
  1265. tr.liste_titre th, th.liste_titre, tr.liste_titre td, td.liste_titre
  1266. {
  1267. /*border-top: 1px solid #DDDDDD;*/
  1268. font-family: <?php print $fontlist ?>;
  1269. font-weight: normal;
  1270. border-bottom: 1px solid #FDFFFF;
  1271. white-space: nowrap;
  1272. }
  1273. tr.liste_titre_sel th, th.liste_titre_sel, tr.liste_titre_sel td, td.liste_titre_sel
  1274. {
  1275. /* color: #FFFFFF !important; */
  1276. font-family: <?php print $fontlist ?>;
  1277. font-weight: normal;
  1278. border-bottom: 1px solid #FDFFFF;
  1279. white-space: nowrap;
  1280. text-decoration: underline;
  1281. }
  1282. input.liste_titre {
  1283. /*background: #7699A9;*/
  1284. /*background-repeat: repeat-x;*/
  1285. background: transparent;
  1286. border: 0px;
  1287. }
  1288. tr.liste_total {
  1289. background: #F0F0F0;
  1290. }
  1291. tr.liste_total td {
  1292. border-top: 1px solid #DDDDDD;
  1293. color: #332266;
  1294. font-weight: normal;
  1295. white-space: nowrap;
  1296. }
  1297. .impair {
  1298. /* background: #d0d4d7; */
  1299. /* background: #f6f6f6; */
  1300. /* DYN */
  1301. background: linear-gradient(bottom, rgb(<?php echo $colorbacklineimpair1; ?>) 85%, rgb(<?php echo $colorbacklineimpair2; ?>) 100%);
  1302. background: -o-linear-gradient(bottom, rgb(<?php echo $colorbacklineimpair1; ?>) 85%, rgb(<?php echo $colorbacklineimpair2; ?>) 100%);
  1303. background: -moz-linear-gradient(bottom, rgb(<?php echo $colorbacklineimpair1; ?>) 85%, rgb(<?php echo $colorbacklineimpair2; ?>) 100%);
  1304. background: -webkit-linear-gradient(bottom, rgb(<?php echo $colorbacklineimpair1; ?>) 85%, rgb(<?php echo $colorbacklineimpair2; ?>) 100%);
  1305. background: -ms-linear-gradient(bottom, rgb(<?php echo $colorbacklineimpair1; ?>) 85%, rgb(<?php echo $colorbacklineimpair2; ?>) 100%);
  1306. font-family: <?php print $fontlist ?>;
  1307. border: 0px;
  1308. margin-bottom: 1px;
  1309. }
  1310. /*
  1311. .impair:hover {
  1312. background: #c0c4c7;
  1313. border: 0px;
  1314. }
  1315. */
  1316. .pair {
  1317. /* background: #e6ebed; */
  1318. /* background: #ffffff; */
  1319. /* DYN */
  1320. background: linear-gradient(bottom, rgb(<?php echo $colorbacklinepair1; ?>) 85%, rgb(<?php echo $colorbacklinepair2; ?>) 100%);
  1321. background: -o-linear-gradient(bottom, rgb(<?php echo $colorbacklinepair1; ?>) 85%, rgb(<?php echo $colorbacklinepair2; ?>) 100%);
  1322. background: -moz-linear-gradient(bottom, rgb(<?php echo $colorbacklinepair1; ?>) 85%, rgb(<?php echo $colorbacklinepair2; ?>) 100%);
  1323. background: -webkit-linear-gradient(bottom, rgb(<?php echo $colorbacklinepair1; ?>) 85%, rgb(<?php echo $colorbacklinepair2; ?>) 100%);
  1324. background: -ms-linear-gradient(bottom, rgb(<?php echo $colorbacklinepair1; ?>) 85%, rgb(<?php echo $colorbacklinepair2; ?>) 100%);
  1325. font-family: <?php print $fontlist ?>;
  1326. border: 0px;
  1327. margin-bottom: 1px;
  1328. }
  1329. /*
  1330. .pair:hover {
  1331. background: #c0c4c7;
  1332. border: 0px;
  1333. }
  1334. */
  1335. /*
  1336. * Boxes
  1337. */
  1338. .boxtable {
  1339. -moz-box-shadow: 4px 4px 4px #CCC;
  1340. -webkit-box-shadow: 4px 4px 4px #CCC;
  1341. box-shadow: 4px 4px 4px #CCC;
  1342. }
  1343. .box {
  1344. padding-right: 0px;
  1345. padding-left: 0px;
  1346. padding-bottom: 4px;
  1347. }
  1348. tr.box_titre {
  1349. height: 20px;
  1350. background: #7699A9;
  1351. /* DYN */
  1352. background-image: linear-gradient(bottom, rgb(<?php echo $colorbackttitle1; ?>) 15%, rgb(<?php echo $colorbacktitle2; ?>) 100%);
  1353. background-image: -o-linear-gradient(bottom, rgb(<?php echo $colorbacktitle1; ?>) 15%, rgb(<?php echo $colorbacktitle2; ?>) 100%);
  1354. background-image: -moz-linear-gradient(bottom, rgb(<?php echo $colorbacktitle1; ?>) 15%, rgb(<?php echo $colorbacktitle2; ?>) 100%);
  1355. background-image: -webkit-linear-gradient(bottom, rgb(<?php echo $colorbacktitle1; ?>) 15%, rgb(<?php echo $colorbacktitle2; ?>) 100%);
  1356. background-image: -ms-linear-gradient(bottom, rgb(<?php echo $colorbacktitle1; ?>) 15%, rgb(<?php echo $colorbacktitle2; ?>) 100%);
  1357. background-repeat: repeat-x;
  1358. color: #334444;
  1359. font-family: <?php print $fontlist ?>, sans-serif;
  1360. font-weight: normal;
  1361. border-bottom: 1px solid #FDFFFF;
  1362. white-space: nowrap;
  1363. }
  1364. tr.box_impair {
  1365. /* background: #e6ebed; */
  1366. /* background: #f6f6f6; */
  1367. /* DYN */
  1368. background: linear-gradient(bottom, rgb(<?php echo $colorbacklineimpair1; ?>) 85%, rgb(<?php echo $colorbacklineimpair2; ?>) 100%);
  1369. background: -o-linear-gradient(bottom, rgb(<?php echo $colorbacklineimpair1; ?>) 85%, rgb(<?php echo $colorbacklineimpair2; ?>) 100%);
  1370. background: -moz-linear-gradient(bottom, rgb(<?php echo $colorbacklineimpair1; ?>) 85%, rgb(<?php echo $colorbacklineimpair2; ?>) 100%);
  1371. background: -webkit-linear-gradient(bottom, rgb(<?php echo $colorbacklineimpair1; ?>) 85%, rgb(<?php echo $colorbacklineimpair2; ?>) 100%);
  1372. background: -ms-linear-gradient(bottom, rgb(<?php echo $colorbacklineimpair1; ?>) 85%, rgb(<?php echo $colorbacklineimpair2; ?>) 100%);
  1373. font-family: <?php print $fontlist ?>;
  1374. }
  1375. tr.box_pair {
  1376. /* background: #d0d4d7; */
  1377. /* background: #ffffff; */
  1378. /* DYN */
  1379. background: linear-gradient(bottom, rgb(<?php echo $colorbacklinepair1; ?>) 85%, rgb(<?php echo $colorbacklinepair2; ?>) 100%);
  1380. background: -o-linear-gradient(bottom, rgb(<?php echo $colorbacklinepair1; ?>) 85%, rgb(<?php echo $colorbacklinepair2; ?>) 100%);
  1381. background: -moz-linear-gradient(bottom, rgb(<?php echo $colorbacklinepair1; ?>) 85%, rgb(<?php echo $colorbacklinepair2; ?>) 100%);
  1382. background: -webkit-linear-gradient(bottom, rgb(<?php echo $colorbacklinepair1; ?>) 85%, rgb(<?php echo $colorbacklinepair2; ?>) 100%);
  1383. background: -ms-linear-gradient(bottom, rgb(<?php echo $colorbacklinepair1; ?>) 85%, rgb(<?php echo $colorbacklinepair2; ?>) 100%);
  1384. font-family: <?php print $fontlist ?>;
  1385. }
  1386. tr.fiche {
  1387. font-family: <?php print $fontlist ?>;
  1388. }
  1389. /*
  1390. * Ok, Warning, Error
  1391. */
  1392. .ok { color: #114466; }
  1393. .warning { color: #887711; }
  1394. .error { color: #550000; font-weight: bold; }
  1395. td.highlights { background: #f9c5c6; }
  1396. div.ok {
  1397. color: #114466;
  1398. }
  1399. div.warning {
  1400. color: #997711;
  1401. padding: 0.2em 0.2em 0.2em 0.2em;
  1402. margin: 0.5em 0em 0.5em 0em;
  1403. border: 1px solid #e0e0d0;
  1404. -moz-border-radius:6px;
  1405. -webkit-border-radius: 6px;
  1406. border-radius: 6px;
  1407. background: #efefd4;
  1408. }
  1409. div.error {
  1410. color: #550000; font-weight: bold;
  1411. padding: 0.2em 0.2em 0.2em 0.2em;
  1412. margin: 0.5em 0em 0.5em 0em;
  1413. border: 1px solid #DC9CAB;
  1414. -moz-border-radius:6px;
  1415. -webkit-border-radius: 6px;
  1416. border-radius: 6px;
  1417. background: #EFCFCF;
  1418. }
  1419. /* Info admin */
  1420. div.info {
  1421. color: #807050;
  1422. padding: 0.2em 0.2em 0.2em 0.2em;
  1423. margin: 0.5em 0em 0.5em 0em;
  1424. border: 1px solid #DFDFA0;
  1425. -moz-border-radius:6px;
  1426. -webkit-border-radius: 6px;
  1427. border-radius:6px;
  1428. background: #EFEFDA;
  1429. }
  1430. /*
  1431. * Liens Payes/Non payes
  1432. */
  1433. a.normal:link { font-weight: normal }
  1434. a.normal:visited { font-weight: normal }
  1435. a.normal:active { font-weight: normal }
  1436. a.normal:hover { font-weight: normal }
  1437. a.impayee:link { font-weight: bold; color: #550000; }
  1438. a.impayee:visited { font-weight: bold; color: #550000; }
  1439. a.impayee:active { font-weight: bold; color: #550000; }
  1440. a.impayee:hover { font-weight: bold; color: #550000; }
  1441. /*
  1442. * Other
  1443. */
  1444. .fieldrequired { font-weight: bold; color: #000055; }
  1445. .photo {
  1446. border: 0px;
  1447. /* filter:alpha(opacity=55); */
  1448. /* opacity:.55; */
  1449. }
  1450. div.titre {
  1451. font-family: <?php print $fontlist ?>;
  1452. font-weight: bold;
  1453. color: rgb(<?php print $colortext; ?>);
  1454. text-decoration: none;
  1455. text-shadow: 2px 2px 4px #BFBFBF;
  1456. }
  1457. /* ============================================================================== */
  1458. /* Formulaire confirmation (When Ajax JQuery is used) */
  1459. /* ============================================================================== */
  1460. .ui-dialog-titlebar {
  1461. }
  1462. .ui-dialog-content {
  1463. font-size: <?php print $fontsize; ?>px !important;
  1464. }
  1465. /* ============================================================================== */
  1466. /* Formulaire confirmation (When HTML is used) */
  1467. /* ============================================================================== */
  1468. table.valid {
  1469. border-top: solid 1px #E6E6E6;
  1470. border-<?php print $left; ?>: solid 1px #E6E6E6;
  1471. border-<?php print $right; ?>: solid 1px #444444;
  1472. border-bottom: solid 1px #555555;
  1473. padding-top: 0px;
  1474. padding-left: 0px;
  1475. padding-right: 0px;
  1476. padding-bottom: 0px;
  1477. margin: 0px 0px;
  1478. background: #D5BAA8;
  1479. }
  1480. .validtitre {
  1481. background: #D5BAA8;
  1482. font-weight: bold;
  1483. }
  1484. /* ============================================================================== */
  1485. /* Tooltips */
  1486. /* ============================================================================== */
  1487. #tooltip {
  1488. position: absolute;
  1489. width: <?php print dol_size(450,'width'); ?>px;
  1490. border-top: solid 1px #BBBBBB;
  1491. border-<?php print $left; ?>: solid 1px #BBBBBB;
  1492. border-<?php print $right; ?>: solid 1px #444444;
  1493. border-bottom: solid 1px #444444;
  1494. padding: 2px;
  1495. z-index: 3000;
  1496. background-color: #FFFFF0;
  1497. opacity: 1;
  1498. -moz-border-radius:6px;
  1499. -webkit-border-radius: 6px;
  1500. border-radius: 6px;
  1501. }
  1502. /* ============================================================================== */
  1503. /* Calendar */
  1504. /* ============================================================================== */
  1505. img.datecallink { padding-left: 2px !important; padding-right: 2px !important;}
  1506. .ui-datepicker-trigger {
  1507. vertical-align: middle;
  1508. cursor: pointer;
  1509. }
  1510. .bodyline {
  1511. -moz-border-radius: 8px;
  1512. -webkit-border-radius: 8px;
  1513. border-radius: 8px;
  1514. border: 1px #E4ECEC outset;
  1515. padding: 0px;
  1516. margin-bottom: 5px;
  1517. }
  1518. table.dp {
  1519. width: 180px;
  1520. background-color: #FFFFFF;
  1521. border-top: solid 2px #DDDDDD;
  1522. border-<?php print $left; ?>: solid 2px #DDDDDD;
  1523. border-<?php print $right; ?>: solid 1px #222222;
  1524. border-bottom: solid 1px #222222;
  1525. padding: 0px;
  1526. border-spacing: 0px;
  1527. border-collapse: collapse;
  1528. }
  1529. .dp td, .tpHour td, .tpMinute td{padding:2px; font-size:10px;}
  1530. /* Barre titre */
  1531. .dpHead,.tpHead,.tpHour td:Hover .tpHead{
  1532. font-weight:bold;
  1533. background-color:#b3c5cc;
  1534. color:white;
  1535. font-size:11px;
  1536. cursor:auto;
  1537. }
  1538. /* Barre navigation */
  1539. .dpButtons,.tpButtons {
  1540. text-align:center;
  1541. background-color:#617389;
  1542. color:#FFFFFF;
  1543. font-weight:bold;
  1544. cursor:pointer;
  1545. }
  1546. .dpButtons:Active,.tpButtons:Active{border: 1px outset black;}
  1547. .dpDayNames td,.dpExplanation {background-color:#D9DBE1; font-weight:bold; text-align:center; font-size:11px;}
  1548. .dpExplanation{ font-weight:normal; font-size:11px;}
  1549. .dpWeek td{text-align:center}
  1550. .dpToday,.dpReg,.dpSelected{
  1551. cursor:pointer;
  1552. }
  1553. .dpToday{font-weight:bold; color:black; background-color:#DDDDDD;}
  1554. .dpReg:Hover,.dpToday:Hover{background-color:black;color:white}
  1555. /* Jour courant */
  1556. .dpSelected{background-color:#0B63A2;color:white;font-weight:bold; }
  1557. .tpHour{border-top:1px solid #DDDDDD; border-right:1px solid #DDDDDD;}
  1558. .tpHour td {border-left:1px solid #DDDDDD; border-bottom:1px solid #DDDDDD; cursor:pointer;}
  1559. .tpHour td:Hover {background-color:black;color:white;}
  1560. .tpMinute {margin-top:5px;}
  1561. .tpMinute td:Hover {background-color:black; color:white; }
  1562. .tpMinute td {background-color:#D9DBE1; text-align:center; cursor:pointer;}
  1563. /* Bouton X fermer */
  1564. .dpInvisibleButtons
  1565. {
  1566. border-style:none;
  1567. background-color:transparent;
  1568. padding:0px;
  1569. font-size:9px;
  1570. border-width:0px;
  1571. color:#0B63A2;
  1572. vertical-align:middle;
  1573. cursor: pointer;
  1574. }
  1575. /* ============================================================================== */
  1576. /* Afficher/cacher */
  1577. /* ============================================================================== */
  1578. div.visible {
  1579. display: block;
  1580. }
  1581. div.hidden {
  1582. display: none;
  1583. }
  1584. tr.visible {
  1585. display: block;
  1586. }
  1587. td.hidden {
  1588. display: none;
  1589. }
  1590. /* ============================================================================== */
  1591. /* Module agenda */
  1592. /* ============================================================================== */
  1593. .cal_other_month { background: #DDDDDD; border: solid 1px #ACBCBB; padding-<?php print $left; ?>: 2px; padding-<?php print $right; ?>: 1px; padding-top: 0px; padding-bottom: 0px; }
  1594. .cal_past_month { background: #EEEEEE; border: solid 1px #ACBCBB; padding-<?php print $left; ?>: 2px; padding-<?php print $right; ?>: 1px; padding-top: 0px; padding-bottom: 0px; }
  1595. .cal_current_month { background: #FFFFFF; border: solid 1px #ACBCBB; padding-<?php print $left; ?>: 2px; padding-<?php print $right; ?>: 1px; padding-top: 0px; padding-bottom: 0px; }
  1596. .cal_today { background: #FFFFFF; border: solid 2px #6C7C7B; padding-<?php print $left; ?>: 2px; padding-<?php print $right; ?>: 1px; padding-top: 0px; padding-bottom: 0px; }
  1597. table.cal_event { border-collapse: collapse; margin-bottom: 1px; -webkit-border-radius: 6px; border-radius: 6px; }
  1598. table.cal_event td { border: 0px; padding-<?php print $left; ?>: 0px; padding-<?php print $right; ?>: 2px; padding-top: 0px; padding-bottom: 0px; }
  1599. .cal_event a:link { color: #111111; font-size: 11px; font-weight: normal !important; }
  1600. .cal_event a:visited { color: #111111; font-size: 11px; font-weight: normal !important; }
  1601. .cal_event a:active { color: #111111; font-size: 11px; font-weight: normal !important; }
  1602. .cal_event a:hover { color: #111111; font-size: 11px; font-weight: normal !important; }
  1603. /* ============================================================================== */
  1604. /* Afficher/cacher */
  1605. /* ============================================================================== */
  1606. #evolForm input.error {
  1607. font-weight: bold;
  1608. border: solid 1px #FF0000;
  1609. padding: 1px 1px 1px 1px;
  1610. margin: 1px 1px 1px 1px;
  1611. }
  1612. #evolForm input.focuserr {
  1613. font-weight: bold;
  1614. background: #FAF8E8;
  1615. color: black;
  1616. border: solid 1px #FF0000;
  1617. padding: 1px 1px 1px 1px;
  1618. margin: 1px 1px 1px 1px;
  1619. }
  1620. #evolForm input.focus { /*** Mise en avant des champs en cours d'utilisation ***/
  1621. background: #FAF8E8;
  1622. color: black;
  1623. border: solid 1px #000000;
  1624. padding: 1px 1px 1px 1px;
  1625. margin: 1px 1px 1px 1px;
  1626. }
  1627. #evolForm input.normal { /*** Retour a l'etat normal apres l'utilisation ***/
  1628. background: white;
  1629. color: black;
  1630. border: solid 1px white;
  1631. padding: 1px 1px 1px 1px;
  1632. margin: 1px 1px 1px 1px;
  1633. }
  1634. /* ============================================================================== */
  1635. /* Ajax - Liste deroulante de l'autocompletion */
  1636. /* ============================================================================== */
  1637. .ui-autocomplete-loading { background: white url(<?php echo dol_buildpath($path.'/theme/eldy/img/working.gif',1) ?>) right center no-repeat; }
  1638. .ui-autocomplete {
  1639. position:absolute;
  1640. width:auto;
  1641. font-size: 1.0em;
  1642. background-color:white;
  1643. border:1px solid #888;
  1644. margin:0px;
  1645. padding:0px;
  1646. }
  1647. .ui-autocomplete ul {
  1648. list-style-type:none;
  1649. margin:0px;
  1650. padding:0px;
  1651. }
  1652. .ui-autocomplete ul li.selected { background-color: #D3E5EC;}
  1653. .ui-autocomplete ul li {
  1654. list-style-type:none;
  1655. display:block;
  1656. margin:0;
  1657. padding:2px;
  1658. height:18px;
  1659. cursor:pointer;
  1660. }
  1661. /* ============================================================================== */
  1662. /* jQuery - jeditable */
  1663. /* ============================================================================== */
  1664. .editkey_textarea, .editkey_ckeditor, .editkey_text, .editkey_numeric, .editkey_select {
  1665. background: url(<?php echo dol_buildpath($path.'/theme/eldy/img/edit.png',1) ?>) right top no-repeat;
  1666. cursor: pointer;
  1667. }
  1668. .editkey_datepicker {
  1669. background: url(<?php echo dol_buildpath($path.'/theme/eldy/img/calendar.png',1) ?>) right center no-repeat;
  1670. cursor: pointer;
  1671. }
  1672. .editval_textarea:hover, .editval_ckeditor:hover, .editval_text:hover, .editval_numeric:hover, .editval_select:hover, .editval_datepicker:hover {
  1673. background: white;
  1674. cursor: pointer;
  1675. }
  1676. .editval_hover {
  1677. background: white;
  1678. }
  1679. /* ============================================================================== */
  1680. /* Admin Menu */
  1681. /* ============================================================================== */
  1682. /* CSS for treeview */
  1683. /* Lien plier /deplier tout */
  1684. .arbre-switch {
  1685. text-align: right;
  1686. padding: 0 5px;
  1687. margin: 0 0 -18px 0;
  1688. }
  1689. /* Arbre */
  1690. ul.arbre {
  1691. padding: 5px 10px;
  1692. }
  1693. /* strong : A modifier en fonction de la balise choisie */
  1694. ul.arbre strong {
  1695. font-weight: normal;
  1696. padding: 0 0 0 20px;
  1697. margin: 0 0 0 -7px;
  1698. background-image: url(<?php echo dol_buildpath($path.'/theme/common/treemenu/branch.gif',1) ?>);
  1699. background-repeat: no-repeat;
  1700. background-position: 1px 50%;
  1701. }
  1702. ul.arbre strong.arbre-plier {
  1703. background-image: url(<?php echo dol_buildpath($path.'/theme/common/treemenu/plus.gif',1) ?>);
  1704. cursor: pointer;
  1705. }
  1706. ul.arbre strong.arbre-deplier {
  1707. background-image: url(<?php echo dol_buildpath($path.'/theme/common/treemenu/minus.gif',1) ?>);
  1708. cursor: pointer;
  1709. }
  1710. ul.arbre ul {
  1711. padding: 0;
  1712. margin: 0;
  1713. }
  1714. ul.arbre li {
  1715. padding: 0;
  1716. margin: 0;
  1717. list-style: none;
  1718. }
  1719. /* This is to create an indent */
  1720. ul.arbre li li {
  1721. margin: 0 0 0 16px;
  1722. }
  1723. /* Classe pour masquer */
  1724. .hide {
  1725. display: none;
  1726. }
  1727. img.menuNew
  1728. {
  1729. display:block;
  1730. border:0px;
  1731. }
  1732. img.menuEdit
  1733. {
  1734. border: 0px;
  1735. display: block;
  1736. }
  1737. img.menuDel
  1738. {
  1739. display:none;
  1740. border: 0px;
  1741. }
  1742. div.menuNew
  1743. {
  1744. margin-top:-20px;
  1745. margin-<?php print $left; ?>:270px;
  1746. height:20px;
  1747. padding:0px;
  1748. width:30px;
  1749. position:relative;
  1750. }
  1751. div.menuEdit
  1752. {
  1753. margin-top:-15px;
  1754. margin-<?php print $left; ?>:250px;
  1755. height:20px;
  1756. padding:0px;
  1757. width:30px;
  1758. position:relative;
  1759. }
  1760. div.menuDel
  1761. {
  1762. margin-top:-20px;
  1763. margin-<?php print $left; ?>:290px;
  1764. height:20px;
  1765. padding:0px;
  1766. width:30px;
  1767. position:relative;
  1768. }
  1769. div.menuFleche
  1770. {
  1771. margin-top:-16px;
  1772. margin-<?php print $left; ?>:320px;
  1773. height:20px;
  1774. padding:0px;
  1775. width:30px;
  1776. position:relative;
  1777. }
  1778. /* ============================================================================== */
  1779. /* Show Excel tabs */
  1780. /* ============================================================================== */
  1781. .table_data
  1782. {
  1783. border-style:ridge;
  1784. border:1px solid;
  1785. }
  1786. .tab_base
  1787. {
  1788. background:#C5D0DD;
  1789. font-weight:bold;
  1790. border-style:ridge;
  1791. border: 1px solid;
  1792. cursor:pointer;
  1793. }
  1794. .table_sub_heading
  1795. {
  1796. background:#CCCCCC;
  1797. font-weight:bold;
  1798. border-style:ridge;
  1799. border: 1px solid;
  1800. }
  1801. .table_body
  1802. {
  1803. background:#F0F0F0;
  1804. font-weight:normal;
  1805. font-family:sans-serif;
  1806. border-style:ridge;
  1807. border: 1px solid;
  1808. border-spacing: 0px;
  1809. border-collapse: collapse;
  1810. }
  1811. .tab_loaded
  1812. {
  1813. background:#222222;
  1814. color:white;
  1815. font-weight:bold;
  1816. border-style:groove;
  1817. border: 1px solid;
  1818. cursor:pointer;
  1819. }
  1820. /* ============================================================================== */
  1821. /* CSS for color picker */
  1822. /* ============================================================================== */
  1823. A.color, A.color:active, A.color:visited {
  1824. position : relative;
  1825. display : block;
  1826. text-decoration : none;
  1827. width : 10px;
  1828. height : 10px;
  1829. line-height : 10px;
  1830. margin : 0px;
  1831. padding : 0px;
  1832. border : 1px inset white;
  1833. }
  1834. A.color:hover {
  1835. border : 1px outset white;
  1836. }
  1837. A.none, A.none:active, A.none:visited, A.none:hover {
  1838. position : relative;
  1839. display : block;
  1840. text-decoration : none;
  1841. width : 10px;
  1842. height : 10px;
  1843. line-height : 10px;
  1844. margin : 0px;
  1845. padding : 0px;
  1846. cursor : default;
  1847. border : 1px solid #b3c5cc;
  1848. }
  1849. .tblColor {
  1850. display : none;
  1851. }
  1852. .tdColor {
  1853. padding : 1px;
  1854. }
  1855. .tblContainer {
  1856. background-color : #b3c5cc;
  1857. }
  1858. .tblGlobal {
  1859. position : absolute;
  1860. top : 0px;
  1861. left : 0px;
  1862. display : none;
  1863. background-color : #b3c5cc;
  1864. border : 2px outset;
  1865. }
  1866. .tdContainer {
  1867. padding : 5px;
  1868. }
  1869. .tdDisplay {
  1870. width : 50%;
  1871. height : 20px;
  1872. line-height : 20px;
  1873. border : 1px outset white;
  1874. }
  1875. .tdDisplayTxt {
  1876. width : 50%;
  1877. height : 24px;
  1878. line-height : 12px;
  1879. font-family : <?php print $fontlist ?>;
  1880. font-size : 8pt;
  1881. color : black;
  1882. text-align : center;
  1883. }
  1884. .btnColor {
  1885. width : 100%;
  1886. font-family : <?php print $fontlist ?>;
  1887. font-size : 10pt;
  1888. padding : 0px;
  1889. margin : 0px;
  1890. }
  1891. .btnPalette {
  1892. width : 100%;
  1893. font-family : <?php print $fontlist ?>;
  1894. font-size : 8pt;
  1895. padding : 0px;
  1896. margin : 0px;
  1897. }
  1898. /* Style to overwrites JQuery styles */
  1899. .ui-menu .ui-menu-item a {
  1900. text-decoration:none;
  1901. display:block;
  1902. padding:.2em .4em;
  1903. line-height:1.5;
  1904. zoom:1;
  1905. font-weight: normal;
  1906. font-family:<?php echo $fontlist; ?>;
  1907. font-size:1em;
  1908. }
  1909. .ui-widget {
  1910. font-family:<?php echo $fontlist; ?>;
  1911. font-size:<?php echo $fontsize; ?>px;
  1912. }
  1913. .ui-button { margin-left: -1px; }
  1914. .ui-button-icon-only .ui-button-text { height: 8px; }
  1915. .ui-button-icon-only .ui-button-text, .ui-button-icons-only .ui-button-text { padding: 2px 0px 6px 0px; }
  1916. .ui-button-text
  1917. {
  1918. line-height: 1em !important;
  1919. }
  1920. .ui-autocomplete-input { margin: 0; padding: 1px; }
  1921. /* ============================================================================== */
  1922. /* CKEditor */
  1923. /* ============================================================================== */
  1924. .cke_editor table, .cke_editor tr, .cke_editor td
  1925. {
  1926. border: 0px solid #FF0000 !important;
  1927. }
  1928. span.cke_skin_kama { padding: 0 !important; }
  1929. .cke_wrapper { padding: 4px !important; }
  1930. a.cke_dialog_ui_button
  1931. {
  1932. font-family: <?php print $fontlist ?> !important;
  1933. background-image: url(<?php echo $img_button ?>) !important;
  1934. background-position: bottom !important;
  1935. border: 1px solid #ACBCBB !important;
  1936. padding: 0.1em 0.7em !important;
  1937. margin: 0em 0.5em !important;
  1938. -moz-border-radius:0px 5px 0px 5px !important;
  1939. -webkit-border-radius:0px 5px 0px 5px !important;
  1940. border-radius:0px 5px 0px 5px !important;
  1941. -moz-box-shadow: 4px 4px 4px #CCC !important;
  1942. -webkit-box-shadow: 4px 4px 4px #CCC !important;
  1943. box-shadow: 4px 4px 4px #CCC !important;
  1944. }
  1945. .cke_dialog_ui_hbox_last
  1946. {
  1947. vertical-align: bottom ! important;
  1948. }
  1949. /* ============================================================================== */
  1950. /* File upload */
  1951. /* ============================================================================== */
  1952. .template-upload {
  1953. height: 72px !important;
  1954. }
  1955. <?php
  1956. if (is_object($db)) $db->close();
  1957. ?>