PageRenderTime 53ms CodeModel.GetById 16ms RepoModel.GetById 0ms app.codeStats 1ms

/htdocs/theme/eldy/style.css.php

https://github.com/asterix14/dolibarr
PHP | 2053 lines | 1554 code | 274 blank | 225 comment | 49 complexity | f4693ccc1ebe74920bb45eb05541ff22 MD5 | raw file
Possible License(s): LGPL-2.0

Large files files are truncated, but you can click here to view the full file

  1. <?php
  2. /* Copyright (C) 2004-2011 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 cause 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 cause 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);
  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. // Define css type
  37. header('Content-type: text/css');
  38. // Important: Following code is to avoid page request by browser and PHP CPU at
  39. // each Dolibarr page access.
  40. if (empty($dolibarr_nocache)) header('Cache-Control: max-age=3600, public, must-revalidate');
  41. else header('Cache-Control: no-cache');
  42. // On the fly GZIP compression for all pages (if browser support it). Must set the bit 3 of constant to 1.
  43. if (isset($conf->global->MAIN_OPTIMIZE_SPEED) && ($conf->global->MAIN_OPTIMIZE_SPEED & 0x04)) { ob_start("ob_gzhandler"); }
  44. if (GETPOST('lang')) $langs->setDefaultLang(GETPOST('lang')); // If language was forced on URL
  45. if (GETPOST('theme')) $conf->theme=GETPOST('theme'); // If theme was forced on URL
  46. $langs->load("main",0,1);
  47. $right=($langs->trans("DIRECTION")=='rtl'?'left':'right');
  48. $left=($langs->trans("DIRECTION")=='rtl'?'right':'left');
  49. $fontsize=empty($conf->browser->phone)?'12':'14';
  50. $fontsizesmaller=empty($conf->browser->phone)?'11':'14';
  51. $path=''; // This value may be used in future for external module to overwrite theme
  52. // Define image path files
  53. $fontlist='arial,tahoma,verdana,helvetica'; //$fontlist='Verdana,Helvetica,Arial,sans-serif';
  54. $img_liste_titre=dol_buildpath($path.'/theme/eldy/img/liste_titre2.png',1);
  55. $img_head=dol_buildpath($path.'/theme/eldy/img/headbg2.jpg',1);
  56. $img_button=dol_buildpath($path.'/theme/eldy/img/button_bg.png',1);
  57. ?>
  58. /* ============================================================================== */
  59. /* Styles par defaut */
  60. /* ============================================================================== */
  61. body {
  62. <?php if (GETPOST("optioncss") == 'print') { ?>
  63. background-color: #FFFFFF;
  64. <?php } else { ?>
  65. background: #ffffff url(<?php echo $img_head; ?>) 0 0 no-repeat;
  66. <?php } ?>
  67. color: #101010;
  68. font-size: <?php print $fontsize ?>px;
  69. font-family: <?php print $fontlist ?>;
  70. margin-top: 0;
  71. margin-bottom: 0;
  72. margin-right: 0;
  73. margin-left: 0;
  74. <?php print 'direction: '.$langs->trans("DIRECTION").";\n"; ?>
  75. }
  76. a:link, a:visited, a:hover, a:active { font-family: <?php print $fontlist ?>; font-weight: bold; color: #000000; text-decoration: none; }
  77. input:focus, textarea:focus, button:focus, select:focus {
  78. box-shadow: 0 0 4px #8091BF;
  79. }
  80. input, input.flat, textarea, textarea.flat, form.flat select, select.flat {
  81. font-size: <?php print $fontsize ?>px;
  82. font-family: <?php print $fontlist ?>;
  83. background: #FDFDFD;
  84. border: 1px solid #ACBCBB;
  85. padding: 1px 1px 1px 1px;
  86. margin: 0px 0px 0px 0px;
  87. }
  88. select.flat, form.flat select {
  89. font-weight: normal;
  90. }
  91. input:disabled {
  92. background:#ddd;
  93. }
  94. textarea:disabled {
  95. background:#ddd;
  96. }
  97. .button {
  98. font-family: <?php print $fontlist ?>;
  99. background-image: url(<?php echo $img_button ?>);
  100. background-position: bottom;
  101. border: 1px solid #ACBCBB;
  102. padding: 0.1em 0.7em;
  103. margin: 0em 0.5em;
  104. -moz-border-radius:0px 5px 0px 5px;
  105. -webkit-border-radius:0px 5px 0px 5px;
  106. border-radius:0px 5px 0px 5px;
  107. -moz-box-shadow: 4px 4px 4px #CCC;
  108. -webkit-box-shadow: 4px 4px 4px #CCC;
  109. box-shadow: 4px 4px 4px #CCC;
  110. }
  111. .button:focus {
  112. font-family: <?php print $fontlist ?>;
  113. color: #222244;
  114. background-image: url(<?php echo $img_button ?>);
  115. background-position: bottom;
  116. border: 1px solid #ACBCBB;
  117. }
  118. .button:hover {
  119. background: #dee7ec;
  120. }
  121. .button:disabled {
  122. background: #ddd;
  123. }
  124. .buttonajax {
  125. font-family: <?php print $fontlist ?>;
  126. border: 0px;
  127. background-image: url(<?php echo $img_button ?>);
  128. background-position: bottom;
  129. padding: 0.1em 0.7em;
  130. margin: 0em 0.5em;
  131. -moz-border-radius:0px 5px 0px 5px;
  132. -webkit-border-radius:0px 5px 0px 5px;
  133. border-radius:0px 5px 0px 5px;
  134. -moz-box-shadow: 4px 4px 4px #CCC;
  135. -webkit-box-shadow: 4px 4px 4px #CCC;
  136. box-shadow: 4px 4px 4px #CCC;
  137. }
  138. form {
  139. padding: 0em 0em 0em 0em;
  140. margin: 0em 0em 0em 0em;
  141. }
  142. div.float
  143. {
  144. float:<?php print $left; ?>;
  145. }
  146. th .button {
  147. -moz-box-shadow: none !important;
  148. -webkit-box-shadow: none !important;
  149. box-shadow: none !important;
  150. -moz-border-radius:0px !important;
  151. -webkit-border-radius:0px !important;
  152. border-radius:0px !important;
  153. }
  154. /* ============================================================================== */
  155. /* Styles to hide objects */
  156. /* ============================================================================== */
  157. .hideobject { display: none; }
  158. <?php if (! empty($conf->browser->phone)) { ?>
  159. .hideonsmartphone { display: none; }
  160. <?php } ?>
  161. .linkobject { cursor: pointer; }
  162. /* ============================================================================== */
  163. /* Styles for dragging lines */
  164. /* ============================================================================== */
  165. .dragClass {
  166. color: #002255;
  167. }
  168. td.showDragHandle {
  169. cursor: move;
  170. }
  171. .tdlineupdown {
  172. white-space: nowrap;
  173. }
  174. /* ============================================================================== */
  175. /* Styles de positionnement des zones */
  176. /* ============================================================================== */
  177. div.fiche {
  178. margin-<?php print $left; ?>: <?php print (empty($conf->browser->phone) || empty($conf->global->MAIN_MENU_USE_JQUERY_LAYOUT))?'10':'24'; ?>px;
  179. margin-<?php print $right; ?>: <?php print empty($conf->browser->phone)?'8':'6'; ?>px;
  180. }
  181. div.fichecenter {
  182. width: 100%;
  183. clear: both; /* This is to have div fichecenter that are true rectangles */
  184. }
  185. div.fichethirdleft {
  186. <?php if (empty($conf->browser->phone)) { print "float: ".$left.";\n"; } ?>
  187. <?php if (empty($conf->browser->phone)) { print "width: 35%;\n"; } ?>
  188. <?php if (! empty($conf->browser->phone)) { print "padding-bottom: 6px;\n"; } ?>
  189. }
  190. div.fichetwothirdright {
  191. <?php if (empty($conf->browser->phone)) { print "float: ".$left.";\n"; } ?>
  192. <?php if (empty($conf->browser->phone)) { print "width: 65%;\n"; } ?>
  193. <?php if (! empty($conf->browser->phone)) { print "padding-bottom: 6px\n"; } ?>
  194. }
  195. div.fichehalfleft {
  196. <?php if (empty($conf->browser->phone)) { print "float: ".$left.";\n"; } ?>
  197. <?php if (empty($conf->browser->phone)) { print "width: 50%;\n"; } ?>
  198. }
  199. div.fichehalfright {
  200. <?php if (empty($conf->browser->phone)) { print "float: ".$left.";\n"; } ?>
  201. <?php if (empty($conf->browser->phone)) { print "width: 50%;\n"; } ?>
  202. }
  203. div.ficheaddleft {
  204. <?php if (empty($conf->browser->phone)) { print "padding-left: 10px;\n"; } ?>
  205. }
  206. /* ============================================================================== */
  207. /* Menu top et 1ere ligne tableau */
  208. /* ============================================================================== */
  209. <?php
  210. if (! empty($conf->browser->phone))
  211. {
  212. $minwidthtmenu=0;
  213. $heightmenu=19;
  214. }
  215. else
  216. {
  217. $minwidthtmenu=70;
  218. $heightmenu=47;
  219. }
  220. ?>
  221. div.tmenu {
  222. <?php if (GETPOST("optioncss") == 'print') { ?>
  223. display:none;
  224. <?php } else { ?>
  225. position: relative;
  226. display: block;
  227. white-space: nowrap;
  228. border-top: 0px solid #D3E5EC;
  229. border-<?php print $left; ?>: 0px;
  230. border-<?php print $right; ?>: 0px solid #555555;
  231. border-bottom: 1px solid #ABB9B9;
  232. padding: 0px 0px 0px 0px; /* t r b l */
  233. margin: 0px 0px 7px 0px; /* t r b l */
  234. font-weight: normal;
  235. height: <?php print $heightmenu; ?>px;
  236. /* background: #b3c5cc; */
  237. /* background-image: url(<?php echo dol_buildpath($path.'/theme/eldy/img/tmenu.jpg',1) ?>);*/
  238. background-image: url(<?php echo dol_buildpath($path.'/theme/eldy/img/tmenu2.jpg',1) ?>);
  239. /* background-position: center bottom; */
  240. color: #000000;
  241. text-decoration: none;
  242. <?php } ?>
  243. }
  244. table.tmenu {
  245. padding: 0px 0px 10px 0px; /* t r b l */
  246. margin: 0px 0px 0px 0px; /* t r b l */
  247. text-align: center;
  248. }
  249. td.tmenu {
  250. <?php print $minwidthtmenu?'width: '.$minwidthtmenu.'px;':''; ?>
  251. text-align: center;
  252. vertical-align: bottom;
  253. white-space: nowrap;
  254. }
  255. a.tmenudisabled:link, a.tmenudisabled:visited, a.tmenudisabled:hover, a.tmenudisabled:active {
  256. color: #757575;
  257. font-weight: normal;
  258. padding: 0px 5px 0px 5px;
  259. margin: 0px 1px 2px 1px;
  260. cursor: not-allowed;
  261. font-weight: normal;
  262. white-space: nowrap;
  263. }
  264. a.tmenu:link, a.tmenu:visited, a.tmenu:hover, a.tmenu:active {
  265. color: #234046;
  266. padding: 0px 5px 0px 5px;
  267. margin: 0px 1px 2px 1px;
  268. font-weight: normal;
  269. white-space: nowrap;
  270. }
  271. a.tmenu:hover, a.tmenu:active {
  272. margin: 0px 0px 0px 0px;
  273. background: #dee7ec;
  274. border-<?php print $right; ?>: 1px solid #555555;
  275. border-<?php print $left; ?>: 1px solid #D8D8D8;
  276. border-top: 1px solid #D8D8D8;
  277. border-bottom: 2px solid #dee7ec;
  278. }
  279. a.tmenu:active {
  280. background: #F4F4F4;
  281. }
  282. a.tmenusel:link, a.tmenusel:visited, a.tmenusel:hover, a.tmenusel:active {
  283. padding: 0px 5px 0px 5px;
  284. margin: 0px 0px 0px 0px;
  285. font-weight: normal;
  286. color: #234046;
  287. background: #F4F4F4;
  288. border-<?php print $right; ?>: 1px solid #555555;
  289. border-top: 1px solid #D8D8D8;
  290. border-<?php print $left; ?>: 1px solid #D8D8D8;
  291. border-bottom: 2px solid #F4F4F4;
  292. white-space: nowrap;
  293. }
  294. * html li.tmenu a {
  295. width:40px;
  296. }
  297. ul.tmenu { /* t r b l */
  298. padding: 0px 0px 10px 0px;
  299. margin: 0px 0px 0px 6px;
  300. list-style: none;
  301. }
  302. li.tmenu {
  303. <?php print $minwidthtmenu?'width: '.$minwidthtmenu.'px;':''; ?>
  304. text-align: center;
  305. vertical-align: bottom;
  306. float: <?php print $left; ?>;
  307. height: <?php print $heightmenu; ?>px;
  308. position:relative;
  309. display: block;
  310. padding: 2px 5px 0px 5px;
  311. margin: 0px 0px 0px 0px;
  312. font-weight: normal;
  313. }
  314. div.mainmenu {
  315. position : relative;
  316. color: white;
  317. background-repeat:no-repeat;
  318. background-position:center top;
  319. height: <?php echo ($heightmenu-19); ?>px;
  320. margin-left: 0px;
  321. }
  322. <?php if (empty($conf->browser->phone)) { ?>
  323. div.mainmenu.home{
  324. background-image: url(<?php echo dol_buildpath($path.'/theme/eldy/img/menus/home.png',1) ?>);
  325. }
  326. div.mainmenu.accountancy {
  327. background-image: url(<?php echo dol_buildpath($path.'/theme/eldy/img/menus/money.png',1) ?>);
  328. }
  329. div.mainmenu.agenda {
  330. background-image: url(<?php echo dol_buildpath($path.'/theme/eldy/img/menus/agenda.png',1) ?>);
  331. }
  332. div.mainmenu.bank {
  333. background-image: url(<?php echo dol_buildpath($path.'/theme/eldy/img/menus/bank.png',1) ?>);
  334. }
  335. div.mainmenu.bookmark {
  336. }
  337. div.mainmenu.cashdesk {
  338. background-image: url(<?php echo dol_buildpath($path.'/theme/eldy/img/menus/pointofsale.png',1) ?>);
  339. }
  340. div.mainmenu.click2dial {
  341. }
  342. div.mainmenu.companies {
  343. background-image: url(<?php echo dol_buildpath($path.'/theme/eldy/img/menus/members.png',1) ?>);
  344. }
  345. div.mainmenu.contacts {
  346. background-image: url(<?php echo dol_buildpath($path.'/theme/eldy/img/menus/stethoscope.png',1) ?>);
  347. }
  348. div.mainmenu.commercial {
  349. background-image: url(<?php echo dol_buildpath($path.'/theme/eldy/img/menus/commercial.png',1) ?>);
  350. }
  351. div.mainmenu.ecm {
  352. background-image: url(<?php echo dol_buildpath($path.'/theme/eldy/img/menus/ecm.png',1) ?>);
  353. }
  354. div.mainmenu.externalsite {
  355. background-image: url(<?php echo dol_buildpath($path.'/theme/eldy/img/menus/externalsite.png',1) ?>);
  356. }
  357. div.mainmenu.ftp {
  358. background-image: url(<?php echo dol_buildpath($path.'/theme/eldy/img/menus/tools.png',1) ?>);
  359. }
  360. div.mainmenu.gravatar {
  361. }
  362. div.mainmenu.geopipmaxmind {
  363. }
  364. div.mainmenu.members {
  365. background-image: url(<?php echo dol_buildpath($path.'/theme/eldy/img/menus/members.png',1) ?>);
  366. }
  367. div.mainmenu.paypal {
  368. }
  369. div.mainmenu.products {
  370. background-image: url(<?php echo dol_buildpath($path.'/theme/eldy/img/menus/products.png',1) ?>);
  371. margin-left: 10px;
  372. }
  373. div.mainmenu.project {
  374. background-image: url(<?php echo dol_buildpath($path.'/theme/eldy/img/menus/project.png',1) ?>);
  375. }
  376. div.mainmenu.tools {
  377. background-image: url(<?php echo dol_buildpath($path.'/theme/eldy/img/menus/tools.png',1) ?>);
  378. }
  379. div.mainmenu.shop {
  380. background-image: url(<?php echo dol_buildpath($path.'/theme/eldy/img/menus/shop.png',1) ?>);
  381. }
  382. div.mainmenu.webservices {
  383. }
  384. div.mainmenu.google {
  385. background-image: url(<?php echo dol_buildpath($path.'/theme/eldy/img/menus/globe.png',1) ?>);
  386. }
  387. <?php
  388. // Add here more div for other menu entries. moduletomainmenu=array('module name'=>'name of class for div')
  389. $moduletomainmenu=array('user'=>'','syslog'=>'','societe'=>'companies','projet'=>'project','propale'=>'commercial','commande'=>'commercial',
  390. 'produit'=>'products','service'=>'products','stock'=>'products',
  391. 'don'=>'accountancy','tax'=>'accountancy','banque'=>'accountancy','facture'=>'accountancy','compta'=>'accountancy','accounting'=>'accountancy','adherent'=>'members','import'=>'tools','export'=>'tools','mailing'=>'tools',
  392. 'contrat'=>'commercial','ficheinter'=>'commercial','deplacement'=>'commercial',
  393. 'fournisseur'=>'companies',
  394. 'barcode'=>'','fckeditor'=>'','categorie'=>'',
  395. );
  396. $mainmenuused='home';
  397. foreach($conf->modules as $key => $val)
  398. {
  399. $mainmenuused.=','.(isset($moduletomainmenu[$val])?$moduletomainmenu[$val]:$val);
  400. }
  401. //var_dump($mainmenuused);
  402. $mainmenuusedarray=array_unique(explode(',',$mainmenuused));
  403. $generic=1;
  404. $divalreadydefined=array('home','companies','products','commercial','accountancy','project','tools','members','shop','agenda','bookmark','cashdesk','geoipmaxmind','gravatar','clicktodial','paypal','webservices');
  405. foreach($mainmenuusedarray as $key => $val)
  406. {
  407. if (empty($val) || in_array($val,$divalreadydefined)) continue;
  408. //print "XXX".$val;
  409. // Search img file in module dir
  410. $found=0; $url='';
  411. foreach($conf->file->dol_document_root as $dirroot)
  412. {
  413. if (file_exists($dirroot."/".$val."/img/".$val.".png"))
  414. {
  415. $url=dol_buildpath($path.'/'.$val.'/img/'.$val.'.png', 1);
  416. $found=1;
  417. break;
  418. }
  419. }
  420. // Img file not found
  421. if (! $found && $generic <= 4)
  422. {
  423. $url=dol_buildpath($path.'/theme/eldy/img/menus/generic'.$generic.".png",1);
  424. $found=1;
  425. $generic++;
  426. }
  427. if ($found)
  428. {
  429. print "/* A mainmenu entry but img file ".$val.".png not found, so we use a generic one */\n";
  430. print "div.mainmenu.".$val." {\n";
  431. print " background-image: url(".$url.");\n";
  432. print " height:28px;\n";
  433. print "}\n";
  434. }
  435. }
  436. // End of part to add more div class css
  437. ?>
  438. <?php
  439. } // End test if not phone
  440. ?>
  441. .tmenuimage {
  442. padding:0 0 0 0 !important;
  443. margin:0 0px 0 0 !important;
  444. }
  445. /* Login */
  446. table.login {
  447. -moz-box-shadow: 4px 4px 4px #CCC;
  448. -webkit-box-shadow: 4px 4px 4px #CCC;
  449. box-shadow: 4px 4px 4px #CCC;
  450. }
  451. div.login_block {
  452. position: absolute;
  453. <?php print $right; ?>: 5px;
  454. top: 3px;
  455. font-weight: bold;
  456. <?php if (GETPOST("optioncss") == 'print') { ?>
  457. display: none;
  458. <?php } ?>
  459. }
  460. div.login_block table {
  461. display: inline;
  462. }
  463. div.login {
  464. white-space:nowrap;
  465. padding: <?php echo ($conf->browser->phone?'0':'8')?>px 0px 0px 0px;
  466. margin: 0px 0px 0px 8px;
  467. font-weight: bold;
  468. }
  469. div.login a {
  470. color: #234046;
  471. }
  472. div.login a:hover {
  473. color: black;
  474. text-decoration:underline;
  475. }
  476. img.login, img.printer, img.entity {
  477. padding: <?php echo ($conf->browser->phone?'0':'8')?>px 0px 0px 0px;
  478. margin: 0px 0px 0px 8px;
  479. text-decoration: none;
  480. color: white;
  481. font-weight: bold;
  482. }
  483. /* ============================================================================== */
  484. /* Menu gauche */
  485. /* ============================================================================== */
  486. td.vmenu {
  487. margin-<?php print $right; ?>: 2px;
  488. padding: 0px;
  489. padding-bottom: 0px;
  490. padding-top: 1px;
  491. width: 168px;
  492. }
  493. <?php if (GETPOST("optioncss") == 'print') { ?>
  494. .vmenu {
  495. display: none;
  496. }
  497. <?php } ?>
  498. 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; }
  499. font.vmenudisabled { font-size:<?php print $fontsize ?>px; font-family: <?php print $fontlist ?>; text-align: <?php print $left; ?>; font-weight: bold; color: #93a5aa; }
  500. a.vsmenu:link, a.vsmenu:visited, a.vsmenu:hover, a.vsmenu:active { font-size:<?php print $fontsize ?>px; font-family: <?php print $fontlist ?>; text-align: <?php print $left; ?>; font-weight: normal; color: #202020; margin: 1px 1px 1px 6px; }
  501. font.vsmenudisabled { font-size:<?php print $fontsize ?>px; font-family: <?php print $fontlist ?>; text-align: <?php print $left; ?>; font-weight: normal; color: #93a5aa; margin: 1px 1px 1px 6px; }
  502. 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; }
  503. div.blockvmenupair, div.blockvmenuimpair
  504. {
  505. width:168px;
  506. border-right: 1px solid #555555;
  507. border-bottom: 1px solid #555555;
  508. font-family: <?php print $fontlist ?>;
  509. color: #000000;
  510. text-align: <?php print $left; ?>;
  511. text-decoration: none;
  512. padding-left: 3px;
  513. padding-right: 1px;
  514. padding-top: 3px;
  515. padding-bottom: 3px;
  516. margin: 1px 0px 0px 0px;
  517. background: #FFFFFF;
  518. background-image: url(<?php echo dol_buildpath($path.'/theme/eldy/img/tmenu.jpg',1) ?>);
  519. background-position:top;
  520. background-repeat:repeat-x;
  521. }
  522. div.blockvmenusearch
  523. {
  524. width:168px;
  525. border-right: 1px solid #555555;
  526. border-bottom: 1px solid #555555;
  527. font-family: <?php print $fontlist ?>;
  528. color: #000000;
  529. text-align: <?php print $left; ?>;
  530. text-decoration: none;
  531. padding-left: 3px;
  532. padding-right: 1px;
  533. padding-top: 3px;
  534. padding-bottom: 3px;
  535. margin: 4px 0px 0px 0px;
  536. background: #E3E6E8;
  537. /* background-image: url(<?php echo dol_buildpath($path.'/theme/eldy/img/tmenu.jpg',1) ?>); */
  538. background-position:top;
  539. background-repeat:repeat-x;
  540. }
  541. div.blockvmenubookmarks
  542. {
  543. width:168px;
  544. border-right: 1px solid #555555;
  545. border-bottom: 1px solid #555555;
  546. font-family: <?php print $fontlist ?>;
  547. color: #000000;
  548. text-align: <?php print $left; ?>;
  549. text-decoration: none;
  550. padding-left: 3px;
  551. padding-right: 1px;
  552. padding-top: 3px;
  553. padding-bottom: 3px;
  554. margin: 1px 0px 0px 0px;
  555. background: #E3E6E8;
  556. /* background-image: url(<?php echo dol_buildpath($path.'/theme/eldy/img/tmenu.jpg',1) ?>); */
  557. background-position:top;
  558. background-repeat:repeat-x;
  559. }
  560. div.blockvmenuhelp
  561. {
  562. <?php if (empty($conf->browser->phone)) { ?>
  563. width:168px;
  564. border-right: 1px solid #000000;
  565. border-bottom: 1px solid #000000;
  566. background: #f0f0f0;
  567. font-family: <?php print $fontlist ?>;
  568. color: #000000;
  569. text-align: <?php print $left; ?>;
  570. text-decoration: none;
  571. padding-left: 3px;
  572. padding-right: 1px;
  573. padding-top: 3px;
  574. padding-bottom: 3px;
  575. margin: 1px 0px 0px 0px;
  576. <?php } else { ?>
  577. display: none;
  578. <?php } ?>
  579. }
  580. td.barre {
  581. border-right: 1px solid #000000;
  582. border-bottom: 1px solid #000000;
  583. background: #b3c5cc;
  584. font-family: <?php print $fontlist ?>;
  585. color: #000000;
  586. text-align: <?php print $left; ?>;
  587. text-decoration: none;
  588. }
  589. td.barre_select {
  590. background: #b3c5cc;
  591. color: #000000;
  592. }
  593. td.photo {
  594. background: #F4F4F4;
  595. color: #000000;
  596. border: 1px solid #b3c5cc;
  597. }
  598. /* ============================================================================== */
  599. /* Panes for Main */
  600. /* ============================================================================== */
  601. /*
  602. * PANES and CONTENT-DIVs
  603. */
  604. #mainContent, #leftContent .ui-layout-pane {
  605. padding: 0px;
  606. overflow: auto;
  607. }
  608. #mainContent, #leftContent .ui-layout-center {
  609. padding: 0px;
  610. position: relative; /* contain floated or positioned elements */
  611. overflow: auto; /* add scrolling to content-div */
  612. }
  613. /* ============================================================================== */
  614. /* Toolbar for ECM or Filemanager */
  615. /* ============================================================================== */
  616. .toolbar {
  617. background-image: url(<?php echo dol_buildpath($path.'/theme/'.$conf->theme.'/img/tmenu2.jpg',1) ?>) !important;
  618. background-repeat: repeat-x !important;
  619. border: 1px solid #BBB !important;
  620. }
  621. .toolbarbutton {
  622. margin-top: 2px;
  623. margin-left: 4px;
  624. /* border: solid 1px #AAAAAA;
  625. width: 34px;*/
  626. height: 34px;
  627. /* background: #FFFFFF;*/
  628. }
  629. /* ============================================================================== */
  630. /* Panes for ECM or Filemanager */
  631. /* ============================================================================== */
  632. #containerlayout .layout-with-no-border {
  633. border: 0 !important;
  634. border-width: 0 !important;
  635. }
  636. #containerlayout .layout-padding {
  637. padding: 2px !important;
  638. }
  639. /*
  640. * PANES and CONTENT-DIVs
  641. */
  642. #containerlayout .ui-layout-pane { /* all 'panes' */
  643. background: #FFF;
  644. border: 1px solid #BBB;
  645. /* DO NOT add scrolling (or padding) to 'panes' that have a content-div,
  646. otherwise you may get double-scrollbars - on the pane AND on the content-div
  647. */
  648. padding: 0px;
  649. overflow: auto;
  650. }
  651. /* (scrolling) content-div inside pane allows for fixed header(s) and/or footer(s) */
  652. #containerlayout .ui-layout-content {
  653. padding: 10px;
  654. position: relative; /* contain floated or positioned elements */
  655. overflow: auto; /* add scrolling to content-div */
  656. }
  657. /*
  658. * RESIZER-BARS
  659. */
  660. .ui-layout-resizer { /* all 'resizer-bars' */
  661. width: <?php echo (empty($conf->browser->phone)?'8':'24'); ?>px !important;
  662. }
  663. .ui-layout-resizer-hover { /* affects both open and closed states */
  664. }
  665. /* NOTE: It looks best when 'hover' and 'dragging' are set to the same color,
  666. otherwise color shifts while dragging when bar can't keep up with mouse */
  667. /*.ui-layout-resizer-open-hover ,*/ /* hover-color to 'resize' */
  668. .ui-layout-resizer-dragging { /* resizer beging 'dragging' */
  669. background: #DDD;
  670. width: <?php echo (empty($conf->browser->phone)?'8':'24'); ?>px;
  671. }
  672. .ui-layout-resizer-dragging { /* CLONED resizer being dragged */
  673. border-left: 1px solid #BBB;
  674. border-right: 1px solid #BBB;
  675. }
  676. /* NOTE: Add a 'dragging-limit' color to provide visual feedback when resizer hits min/max size limits */
  677. .ui-layout-resizer-dragging-limit { /* CLONED resizer at min or max size-limit */
  678. background: #E1A4A4; /* red */
  679. }
  680. .ui-layout-resizer-closed {
  681. background-color: #DDDDDD;
  682. }
  683. .ui-layout-resizer-closed:hover {
  684. background-color: #EEDDDD;
  685. }
  686. .ui-layout-resizer-sliding { /* resizer when pane is 'slid open' */
  687. opacity: .10; /* show only a slight shadow */
  688. filter: alpha(opacity=10);
  689. }
  690. .ui-layout-resizer-sliding-hover { /* sliding resizer - hover */
  691. opacity: 1.00; /* on-hover, show the resizer-bar normally */
  692. filter: alpha(opacity=100);
  693. }
  694. /* sliding resizer - add 'outside-border' to resizer on-hover */
  695. /* this sample illustrates how to target specific panes and states */
  696. /*.ui-layout-resizer-north-sliding-hover { border-bottom-width: 1px; }
  697. .ui-layout-resizer-south-sliding-hover { border-top-width: 1px; }
  698. .ui-layout-resizer-west-sliding-hover { border-right-width: 1px; }
  699. .ui-layout-resizer-east-sliding-hover { border-left-width: 1px; }
  700. */
  701. /*
  702. * TOGGLER-BUTTONS
  703. */
  704. .ui-layout-toggler {
  705. <?php if (empty($conf->browser->phone)) { ?>
  706. border-top: 1px solid #AAA; /* match pane-border */
  707. border-right: 1px solid #AAA; /* match pane-border */
  708. border-bottom: 1px solid #AAA; /* match pane-border */
  709. background-color: #DDD;
  710. top: 5px !important;
  711. <?php } else { ?>
  712. diplay: none;
  713. <?php } ?>
  714. }
  715. .ui-layout-toggler-open {
  716. height: 54px !important;
  717. width: <?php echo (empty($conf->browser->phone)?'7':'22'); ?>px !important;
  718. -moz-border-radius:0px 10px 10px 0px;
  719. -webkit-border-radius:0px 10px 10px 0px;
  720. border-radius:0px 10px 10px 0px;
  721. }
  722. .ui-layout-toggler-closed {
  723. height: <?php echo (empty($conf->browser->phone)?'54':'2'); ?>px !important;
  724. width: <?php echo (empty($conf->browser->phone)?'7':'22'); ?>px !important;
  725. -moz-border-radius:0px 10px 10px 0px;
  726. -webkit-border-radius:0px 10px 10px 0px;
  727. border-radius:0px 10px 10px 0px;
  728. }
  729. .ui-layout-toggler .content { /* style the text we put INSIDE the togglers */
  730. color: #666;
  731. font-size: 12px;
  732. font-weight: bold;
  733. width: 100%;
  734. padding-bottom: 0.35ex; /* to 'vertically center' text inside text-span */
  735. }
  736. /* hide the toggler-button when the pane is 'slid open' */
  737. .ui-layout-resizer-sliding ui-layout-toggler {
  738. display: none;
  739. }
  740. .ui-layout-north {
  741. height: <?php print (empty($conf->browser->phone)?'54':'21'); ?>px !important;
  742. }
  743. /* ECM */
  744. #containerlayout .ecm-layout-pane { /* all 'panes' */
  745. background: #FFF;
  746. border: 1px solid #BBB;
  747. /* DO NOT add scrolling (or padding) to 'panes' that have a content-div,
  748. otherwise you may get double-scrollbars - on the pane AND on the content-div
  749. */
  750. padding: 0px;
  751. overflow: auto;
  752. }
  753. /* (scrolling) content-div inside pane allows for fixed header(s) and/or footer(s) */
  754. #containerlayout .ecm-layout-content {
  755. padding: 10px;
  756. position: relative; /* contain floated or positioned elements */
  757. overflow: auto; /* add scrolling to content-div */
  758. }
  759. .ecm-layout-toggler {
  760. border-top: 1px solid #AAA; /* match pane-border */
  761. border-right: 1px solid #AAA; /* match pane-border */
  762. border-bottom: 1px solid #AAA; /* match pane-border */
  763. background-color: #CCC;
  764. }
  765. .ecm-layout-toggler-open {
  766. height: 48px !important;
  767. width: 6px !important;
  768. -moz-border-radius:0px 10px 10px 0px;
  769. -webkit-border-radius:0px 10px 10px 0px;
  770. border-radius:0px 10px 10px 0px;
  771. }
  772. .ecm-layout-toggler-closed {
  773. height: 48px !important;
  774. width: 6px !important;
  775. }
  776. .ecm-layout-toggler .content { /* style the text we put INSIDE the togglers */
  777. color: #666;
  778. font-size: 12px;
  779. font-weight: bold;
  780. width: 100%;
  781. padding-bottom: 0.35ex; /* to 'vertically center' text inside text-span */
  782. }
  783. #ecm-layout-west-resizer {
  784. width: 6px !important;
  785. }
  786. .ecm-layout-resizer { /* all 'resizer-bars' */
  787. background: #EEEEEE;
  788. border: 1px solid #BBB;
  789. border-width: 0;
  790. }
  791. .ecm-layout-resizer-closed {
  792. background-color: #EEEEEE;
  793. }
  794. .ecm-in-layout-center {
  795. border-left: 1px !important;
  796. border-right: 0px !important;
  797. border-top: 0px !important;
  798. }
  799. .ecm-in-layout-south {
  800. border-left: 0px !important;
  801. border-right: 0px !important;
  802. border-bottom: 0px !important;
  803. padding: 4px 0 4px 4px !important;
  804. }
  805. /* ============================================================================== */
  806. /* Onglets */
  807. /* ============================================================================== */
  808. div.tabs {
  809. top: 20px;
  810. margin: 1px 0px 0px 0px;
  811. padding: 0px 6px 0px 0px;
  812. text-align: <?php print $left; ?>;
  813. }
  814. div.tabBar {
  815. color: #234046;
  816. padding-top: 9px;
  817. padding-left: 8px;
  818. padding-right: 8px;
  819. padding-bottom: 8px;
  820. margin: 0px 0px 14px 0px;
  821. -moz-border-radius:6px;
  822. -webkit-border-radius: 6px;
  823. border-radius: 6px;
  824. border-right: 1px solid #555555;
  825. border-bottom: 1px solid #555555;
  826. border-left: 1px solid #D0D0D0;
  827. border-top: 1px solid #D8D8D8;
  828. background: #dee7ec url(<?php echo dol_buildpath($path.'/theme/eldy/img/tab_background.png',1) ?>) repeat-x;
  829. }
  830. div.tabsAction {
  831. margin: 20px 0em 10px 0em;
  832. padding: 0em 0em;
  833. text-align: right;
  834. }
  835. a.tabTitle {
  836. background: #657090;
  837. color: white;
  838. font-family: <?php print $fontlist ?>;
  839. font-weight: normal;
  840. padding: 0px 6px;
  841. margin: 0px 6px;
  842. text-decoration: none;
  843. white-space: nowrap;
  844. }
  845. a.tab:link {
  846. background: #dee7ec;
  847. color: #434956;
  848. font-family: <?php print $fontlist ?>;
  849. padding: 0px 6px;
  850. margin: 0em 0.2em;
  851. text-decoration: none;
  852. white-space: nowrap;
  853. -moz-border-radius:6px 6px 0px 0px;
  854. -webkit-border-radius:6px 6px 0px 0px;
  855. border-radius:6px 6px 0px 0px;
  856. border-<?php print $right; ?>: 1px solid #555555;
  857. border-<?php print $left; ?>: 1px solid #D8D8D8;
  858. border-top: 1px solid #D8D8D8;
  859. }
  860. a.tab:visited {
  861. background: #dee7ec;
  862. color: #434956;
  863. font-family: <?php print $fontlist ?>;
  864. padding: 0px 6px;
  865. margin: 0em 0.2em;
  866. text-decoration: none;
  867. white-space: nowrap;
  868. -moz-border-radius:6px 6px 0px 0px;
  869. -webkit-border-radius:6px 6px 0px 0px;
  870. border-radius:6px 6px 0px 0px;
  871. border-<?php print $right; ?>: 1px solid #555555;
  872. border-<?php print $left; ?>: 1px solid #D8D8D8;
  873. border-top: 1px solid #D8D8D8;
  874. }
  875. a.tab#active {
  876. background: white;
  877. border-bottom: #dee7ec 1px solid;
  878. font-family: <?php print $fontlist ?>;
  879. color: #434956;
  880. padding: 0px 6px;
  881. margin: 0em 0.2em;
  882. text-decoration: none;
  883. -moz-border-radius:6px 6px 0px 0px;
  884. -webkit-border-radius:6px 6px 0px 0px;
  885. border-radius:6px 6px 0px 0px;
  886. border-<?php print $right; ?>: 1px solid #555555;
  887. border-<?php print $left; ?>: 1px solid #D8D8D8;
  888. border-top: 1px solid #D8D8D8;
  889. border-bottom: 1px solid white;
  890. }
  891. a.tab:hover {
  892. background: white;
  893. color: #434956;
  894. font-family: <?php print $fontlist ?>;
  895. padding: 0px 6px;
  896. margin: 0em 0.2em;
  897. text-decoration: none;
  898. -moz-border-radius:6px 6px 0px 0px;
  899. -webkit-border-radius:6px 6px 0px 0px;
  900. border-radius:6px 6px 0px 0px;
  901. border-<?php print $right; ?>: 1px solid #555555;
  902. border-<?php print $left; ?>: 1px solid #D8D8D8;
  903. border-top: 1px solid #D8D8D8;
  904. }
  905. a.tabimage {
  906. color: #434956;
  907. font-family: <?php print $fontlist ?>;
  908. text-decoration: none;
  909. white-space: nowrap;
  910. }
  911. td.tab {
  912. background: #dee7ec;
  913. }
  914. span.tabspan {
  915. background: #dee7ec;
  916. color: #434956;
  917. font-family: <?php print $fontlist ?>;
  918. padding: 0px 6px;
  919. margin: 0em 0.2em;
  920. text-decoration: none;
  921. white-space: nowrap;
  922. -moz-border-radius:6px 6px 0px 0px;
  923. -webkit-border-radius:6px 6px 0px 0px;
  924. border-radius:6px 6px 0px 0px;
  925. border-<?php print $right; ?>: 1px solid #555555;
  926. border-<?php print $left; ?>: 1px solid #D8D8D8;
  927. border-top: 1px solid #D8D8D8;
  928. }
  929. /* ============================================================================== */
  930. /* Boutons actions */
  931. /* ============================================================================== */
  932. .butAction, .butAction:link, .butAction:visited, .butAction:hover, .butAction:active, .butActionDelete, .butActionDelete:link, .butActionDelete:visited, .butActionDelete:hover, .butActionDelete:active {
  933. font-family: <?php print $fontlist ?>;
  934. font-weight: bold;
  935. background: white;
  936. border: 1px solid #8CACBB;
  937. color: #434956;
  938. text-decoration: none;
  939. white-space: nowrap;
  940. padding: 0.4em 0.7em;
  941. margin: 0em 0.7em;
  942. -moz-border-radius:0px 5px 0px 5px;
  943. -webkit-border-radius:0px 5px 0px 5px;
  944. border-radius:0px 5px 0px 5px;
  945. -moz-box-shadow: 4px 4px 4px #CCC;
  946. -webkit-box-shadow: 4px 4px 4px #CCC;
  947. box-shadow: 4px 4px 4px #CCC;
  948. }
  949. .butAction:hover {
  950. background: #dee7ec;
  951. }
  952. .butActionDelete, .butActionDelete:link, .butActionDelete:visited, .butActionDelete:hover, .butActionDelete:active {
  953. border: 1px solid #997777;
  954. }
  955. .butActionDelete:hover {
  956. background: #FFe7ec;
  957. }
  958. .butActionRefused {
  959. font-family: <?php print $fontlist ?> !important;
  960. font-weight: bold !important;
  961. background: white !important;
  962. border: 1px solid #AAAAAA !important;
  963. color: #AAAAAA !important;
  964. text-decoration: none !important;
  965. white-space: nowrap !important;
  966. cursor: not-allowed;
  967. padding: 0.4em 0.7em;
  968. margin: 0em 0.7em;
  969. -moz-border-radius:0px 5px 0px 5px;
  970. -webkit-border-radius:0px 5px 0px 5px;
  971. border-radius:0px 5px 0px 5px;
  972. -moz-box-shadow: 4px 4px 4px #CCC;
  973. -webkit-box-shadow: 4px 4px 4px #CCC;
  974. box-shadow: 4px 4px 4px #CCC;
  975. }
  976. span.butAction, span.butActionDelete {
  977. cursor: pointer;
  978. }
  979. /* ============================================================================== */
  980. /* Tables */
  981. /* ============================================================================== */
  982. /*
  983. #undertopmenu {
  984. background-image: url("<?php echo dol_buildpath($path.'/theme/eldy/img/gradient.gif',1) ?>");
  985. background-repeat: repeat-x;
  986. }
  987. */
  988. .paddingrightonly {
  989. border-collapse: collapse;
  990. border: 0px;
  991. margin-left: 0px;
  992. spacing-left: 0px;
  993. padding-left: 0px;
  994. padding-right: 4px;
  995. }
  996. .nocellnopadd {
  997. list-style-type:none;
  998. margin: 0px;
  999. padding: 0px;
  1000. }
  1001. .notopnoleft {
  1002. border-collapse: collapse;
  1003. border: 0px;
  1004. padding-top: 0px;
  1005. padding-<?php print $left; ?>: 0px;
  1006. padding-<?php print $right; ?>: 8px;
  1007. padding-bottom: 4px;
  1008. margin: 0px 0px;
  1009. }
  1010. .notopnoleftnoright {
  1011. border-collapse: collapse;
  1012. border: 0px;
  1013. padding-top: 0px;
  1014. padding-left: 0px;
  1015. padding-right: 0px;
  1016. padding-bottom: 4px;
  1017. margin: 0px 0px 0px 0px;
  1018. }
  1019. table.border {
  1020. border: 1px solid #9CACBB;
  1021. border-collapse: collapse;
  1022. }
  1023. table.border td {
  1024. padding: 1px 2px 1px 1px;
  1025. border: 1px solid #9CACBB;
  1026. border-collapse: collapse;
  1027. }
  1028. td.border {
  1029. border-top: 1px solid #000000;
  1030. border-right: 1px solid #000000;
  1031. border-bottom: 1px solid #000000;
  1032. border-left: 1px solid #000000;
  1033. }
  1034. /* Main boxes */
  1035. table.noborder {
  1036. width: 100%;
  1037. border-collapse: separate !important;
  1038. border-spacing: 0px;
  1039. border-right-width: 1px;
  1040. border-right-color: #BBBBBB;
  1041. border-right-style: solid;
  1042. border-left-width: 1px;
  1043. border-left-color: #BBBBBB;
  1044. border-left-style: solid;
  1045. border-bottom-width: 1px;
  1046. border-bottom-color: #BBBBBB;
  1047. border-bottom-style: solid;
  1048. margin: 0px 0px 2px 0px;
  1049. /*padding: 1px 2px 1px 2px;*/
  1050. -moz-box-shadow: 4px 4px 4px #CCC;
  1051. -webkit-box-shadow: 4px 4px 4px #CCC;
  1052. box-shadow: 4px 4px 4px #CCC;
  1053. -moz-border-radius: 0.2em;
  1054. -webkit-border-radius: 0.2em;
  1055. border-radius: 0.2em;
  1056. }
  1057. table.noborder tr {
  1058. border-top-color: #FEFEFE;
  1059. border-right-width: 1px;
  1060. border-right-color: #BBBBBB;
  1061. border-right-style: solid;
  1062. border-left-width: 1px;
  1063. border-left-color: #BBBBBB;
  1064. border-left-style: solid;
  1065. height: 18px;
  1066. }
  1067. table.noborder th, table.noborder td {
  1068. padding: 1px 2px 1px 3px; /* t r b l */
  1069. }
  1070. table.nobordernopadding {
  1071. border-collapse: collapse !important;
  1072. border: 0px;
  1073. }
  1074. table.nobordernopadding tr {
  1075. border: 0px !important;
  1076. padding: 0px 0px;
  1077. }
  1078. table.nobordernopadding td {
  1079. border: 0px !important;
  1080. padding: 0px 0px;
  1081. }
  1082. /* For lists */
  1083. table.liste {
  1084. width: 100%;
  1085. border-collapse: collapse;
  1086. border-top-color: #FEFEFE;
  1087. border-right-width: 1px;
  1088. border-right-color: #BBBBBB;
  1089. border-right-style: solid;
  1090. border-bottom-width: 1px;
  1091. border-bottom-color: #BBBBBB;
  1092. border-bottom-style: solid;
  1093. margin-bottom: 2px;
  1094. margin-top: 0px;
  1095. -moz-box-shadow: 4px 4px 4px #CCC;
  1096. -webkit-box-shadow: 4px 4px 4px #CCC;
  1097. box-shadow: 4px 4px 4px #CCC;
  1098. }
  1099. table.liste td {
  1100. padding-right: 2px;
  1101. }
  1102. tr.liste_titre, tr.liste_titre_sel
  1103. {
  1104. height: 20px !important;
  1105. background-repeat: repeat-x;
  1106. background: -moz-radial-gradient(circle, #e4e6e6, #f0f0f0);
  1107. background: -webkit-radial-gradient(circle, #e4e6e6, #f0f0f0);
  1108. background-image: url(<?php echo $img_liste_titre ?>) !important;
  1109. color: #234046;
  1110. font-family: <?php print $fontlist ?>;
  1111. font-weight: normal;
  1112. border-bottom: 1px solid #FDFFFF;
  1113. white-space: nowrap;
  1114. text-align: <?php echo $left; ?>;
  1115. }
  1116. tr.liste_titre th, th.liste_titre, tr.liste_titre td, td.liste_titre
  1117. {
  1118. /*border-top: 1px solid #DDDDDD;*/
  1119. font-family: <?php print $fontlist ?>;
  1120. font-weight: normal;
  1121. border-bottom: 1px solid #FDFFFF;
  1122. white-space: nowrap;
  1123. }
  1124. tr.liste_titre_sel th, th.liste_titre_sel, tr.liste_titre_sel td, td.liste_titre_sel
  1125. {
  1126. color: #FFFFFF !important;
  1127. font-family: <?php print $fontlist ?>;
  1128. font-weight: normal;
  1129. border-bottom: 1px solid #FDFFFF;
  1130. white-space: nowrap;
  1131. }
  1132. input.liste_titre {
  1133. /*background: #7699A9;*/
  1134. /*background-image: url(<?php echo $img_liste_titre ?>);*/
  1135. /*background-repeat: repeat-x;*/
  1136. background: transparent;
  1137. border: 0px;
  1138. }
  1139. tr.liste_total {
  1140. background: #F0F0F0;
  1141. }
  1142. tr.liste_total td {
  1143. border-top: 1px solid #DDDDDD;
  1144. color: #332266;
  1145. font-weight: normal;
  1146. white-space: nowrap;
  1147. }
  1148. .impair {
  1149. /* background: #d0d4d7; */
  1150. background: #f6f6f6;
  1151. background: -moz-linear-gradient(top, #f2f2f2, #f8f8f8);
  1152. font-family: <?php print $fontlist ?>;
  1153. border: 0px;
  1154. margin-bottom: 1px;
  1155. }
  1156. /*
  1157. .impair:hover {
  1158. background: #c0c4c7;
  1159. border: 0px;
  1160. }
  1161. */
  1162. .pair {
  1163. /* background: #e6ebed; */
  1164. background: #ffffff;
  1165. background: -moz-linear-gradient(top, #ffffff, #ffffff);
  1166. font-family: <?php print $fontlist ?>;
  1167. border: 0px;
  1168. margin-bottom: 1px;
  1169. }
  1170. /*
  1171. .pair:hover {
  1172. background: #c0c4c7;
  1173. border: 0px;
  1174. }
  1175. */
  1176. /*
  1177. * Boxes
  1178. */
  1179. .boxtable {
  1180. -moz-box-shadow: 4px 4px 4px #CCC;
  1181. -webkit-box-shadow: 4px 4px 4px #CCC;
  1182. box-shadow: 4px 4px 4px #CCC;
  1183. }
  1184. .box {
  1185. padding-right: 0px;
  1186. padding-left: 0px;
  1187. padding-bottom: 4px;
  1188. }
  1189. tr.box_titre {
  1190. height: 20px;
  1191. background: #7699A9;
  1192. background-image: url(<?php echo $img_liste_titre; ?>);
  1193. background-repeat: repeat-x;
  1194. color: #334444;
  1195. font-family: <?php print $fontlist ?>, sans-serif;
  1196. font-weight: normal;
  1197. border-bottom: 1px solid #FDFFFF;
  1198. white-space: nowrap;
  1199. }
  1200. tr.box_impair {
  1201. /* background: #e6ebed; */
  1202. background: #f6f6f6;
  1203. background: -moz-linear-gradient(top, #f2f2f2, #f8f8f8);
  1204. font-family: <?php print $fontlist ?>;
  1205. }
  1206. tr.box_pair {
  1207. /* background: #d0d4d7; */
  1208. background: #ffffff;
  1209. background: -moz-linear-gradient(top, #ffffff, #ffffff);
  1210. font-family: <?php print $fontlist ?>;
  1211. }
  1212. tr.fiche {
  1213. font-family: <?php print $fontlist ?>;
  1214. }
  1215. /*
  1216. * Ok, Warning, Error
  1217. */
  1218. .ok { color: #114466; }
  1219. .warning { color: #887711; }
  1220. .error { color: #550000; font-weight: bold; }
  1221. td.highlights { background: #f9c5c6; }
  1222. div.ok {
  1223. color: #114466;
  1224. }
  1225. div.warning {
  1226. color: #997711;
  1227. padding: 0.2em 0.2em 0.2em 0.2em;
  1228. margin: 0.5em 0em 0.5em 0em;
  1229. border: 1px solid #e0e0d0;
  1230. -moz-border-radius:6px;
  1231. -webkit-border-radius: 6px;
  1232. border-radius: 6px;
  1233. background: #efefd4;
  1234. }
  1235. div.error {
  1236. color: #550000; font-weight: bold;
  1237. padding: 0.2em 0.2em 0.2em 0.2em;
  1238. margin: 0.5em 0em 0.5em 0em;
  1239. border: 1px solid #DC9CAB;
  1240. -moz-border-radius:6px;
  1241. -webkit-border-radius: 6px;
  1242. border-radius: 6px;
  1243. background: #EFCFCF;
  1244. }
  1245. /* Info admin */
  1246. div.info {
  1247. color: #807050;
  1248. padding: 0.2em 0.2em 0.2em 0.2em;
  1249. margin: 0.5em 0em 0.5em 0em;
  1250. border: 1px solid #DFDFA0;
  1251. -moz-border-radius:6px;
  1252. -webkit-border-radius: 6px;
  1253. border-radius:6px;
  1254. background: #EFEFDA;
  1255. }
  1256. /*
  1257. * Liens Payes/Non payes
  1258. */
  1259. a.normal:link { font-weight: normal }
  1260. a.normal:visited { font-weight: normal }
  1261. a.normal:active { font-weight: normal }
  1262. a.normal:hover { font-weight: normal }
  1263. a.impayee:link { font-weight: bold; color: #550000; }
  1264. a.impayee:visited { font-weight: bold; color: #550000; }
  1265. a.impayee:active { font-weight: bold; color: #550000; }
  1266. a.impayee:hover { font-weight: bold; color: #550000; }
  1267. /*
  1268. * Other
  1269. */
  1270. .fieldrequired { font-weight: bold; color: #000055; }
  1271. .photo {
  1272. border: 0px;
  1273. /* filter:alpha(opacity=55); */
  1274. /* opacity:.55; */
  1275. }
  1276. div.titre {
  1277. font-family: <?php print $fontlist ?>;
  1278. font-weight: normal;
  1279. color: #336666;
  1280. text-decoration: none;
  1281. }
  1282. /* ============================================================================== */
  1283. /* Formulaire confirmation (When Ajax JQuery is used) */
  1284. /* ============================================================================== */
  1285. .ui-dialog-titlebar {
  1286. }
  1287. .ui-dialog-content {
  1288. font-size: <?php print $fontsize; ?>px !important;
  1289. }
  1290. /* ============================================================================== */
  1291. /* Formulaire confirmation (When HTML is used) */
  1292. /* ============================================================================== */
  1293. table.valid {
  1294. border-top: solid 1px #E6E6E6;
  1295. border-<?php print $left; ?>: solid 1px #E6E6E6;
  1296. border-<?php print $right; ?>: solid 1px #444444;
  1297. border-bottom: solid 1px #555555;
  1298. padding-top: 0px;
  1299. padding-left: 0px;
  1300. padding-right: 0px;
  1301. padding-bottom: 0px;
  1302. margin: 0px 0px;
  1303. background: #D5BAA8;
  1304. }
  1305. .validtitre {
  1306. background: #D5BAA8;
  1307. font-weight: bold;
  1308. }
  1309. /* ============================================================================== */
  1310. /* Tooltips */
  1311. /* ============================================================================== */
  1312. #tooltip {
  1313. position: absolute;
  1314. width: <?php print dol_size(450,'width'); ?>px;
  1315. border-top: solid 1px #BBBBBB;
  1316. border-<?php print $left; ?>: solid 1px #BBBBBB;
  1317. border-<?php print $right; ?>: solid 1px #444444;
  1318. border-bottom: solid 1px #444444;
  1319. padding: 2px;
  1320. z-index: 3000;
  1321. background-color: #FFFFF0;
  1322. opacity: 1;
  1323. -moz-border-radius:6px;
  1324. -webkit-border-radius: 6px;
  1325. border-radius: 6px;
  1326. }
  1327. /* ============================================================================== */
  1328. /* Calendar */
  1329. /* ============================================================================== */
  1330. .ui-datepicker-trigger {
  1331. vertical-align: middle;
  1332. cursor: pointer;
  1333. }
  1334. .bodyline {
  1335. -moz-border-radius: 8px;
  1336. -webkit-border-radius: 8px;
  1337. border-radius: 8px;
  1338. border: 1px #E4ECEC outset;
  1339. padding: 0px;
  1340. margin-bottom: 5px;
  1341. }
  1342. table.dp {
  1343. width: 180px;
  1344. background-color: #FFFFFF;
  1345. border-top: solid 2px #DDDDDD;
  1346. border-<?php print $left; ?>: solid 2px #DDDDDD;
  1347. border-<?php print $right; ?>: solid 1px #222222;
  1348. border-bottom: solid 1px #222222;
  1349. }
  1350. .dp td, .tpHour td, .tpMinute td{padding:2px; font-size:10px;}
  1351. /* Barre titre */
  1352. .dpHead,.tpHead,.tpHour td:Hover .tpHead{
  1353. font-weight:bold;
  1354. background-color:#b3c5cc;
  1355. color:white;
  1356. font-size:11px;
  1357. cursor:auto;
  1358. }
  1359. /* Barre navigation */
  1360. .dpButtons,.tpButtons {
  1361. text-align:center;
  1362. background-color:#617389;
  1363. color:#FFFFFF;
  1364. font-weight:bold;
  1365. border: 1px outset black;
  1366. cursor:pointer;
  1367. }
  1368. .dpButtons:Active,.tpButtons:Active{border: 1px outset black;}
  1369. .dpDayNames td,.dpExplanation {background-color:#D9DBE1; font-weight:bold; text-align:center; font-size:11px;}
  1370. .dpExplanation{ font-weight:normal; font-size:11px;}
  1371. .dpWeek td{text-align:center}
  1372. .dpToday,.dpReg,.dpSelected{
  1373. cursor:pointer;
  1374. }
  1375. .dpToday{font-weight:bold; color:black; background-color:#DDDDDD;}
  1376. .dpReg:Hover,.dpToday:Hover{background-color:black;color:white}
  1377. /* Jour courant */
  1378. .dpSelected{background-color:#0B63A2;color:white;font-weight:bold; }
  1379. .tpHour{border-top:1px solid #DDDDDD; border-right:1px solid #DDDDDD;}
  1380. .tpHour td {border-left:1px solid #DDDDDD; border-bottom:1px solid #DDDDDD; cursor:pointer;}
  1381. .tpHour td:Hover {background-color:black;color:white;}
  1382. .tpMinute {margin-top:5px;}
  1383. .tpMinute td:Hover {background-color:black; color:white; }
  1384. .tpMinute td {background-color:#D9DBE1; text-align:center; cursor:pointer;}
  1385. /* Bouton X fermer */
  1386. .dpInvisibleButtons
  1387. {
  1388. border-style:none;
  1389. background-color:transparent;
  1390. padding:0px;
  1391. font-size:9px;
  1392. border-width:0px;
  1393. color:#0B63A2;
  1394. vertical-align:middle;
  1395. cursor: pointer;
  1396. }
  1397. /* ============================================================================== */
  1398. /* Afficher/cacher */
  1399. /* ============================================================================== */
  1400. div.visible {
  1401. display: block;
  1402. }
  1403. div.hidden {
  1404. display: none;
  1405. }
  1406. tr.visible {
  1407. display: block;
  1408. }
  1409. td.hidden {
  1410. display: none;
  1411. }
  1412. /* ============================================================================== */
  1413. /* Module agenda */
  1414. /* ============================================================================== */
  1415. .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; }
  1416. .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; }
  1417. .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; }
  1418. .cal_today { background: #FFFFFF; border: solid 2px #6C7C7B; padding-<?php print $left; ?>: 2px; padding-<?php print $right; ?>: 1px; padding-top: 0px; padding-bottom: 0px; }
  1419. table.cal_event { border-collapse: collapse; margin-bottom: 1px; -webkit-border-radius: 6px; border-radius: 6px; }
  1420. table.cal_event td { border: 0px; padding-<?php print $left; ?>: 0px; padding-<?php print $right; ?>: 2px; padding-top: 0px; padding-bottom: 0px; }
  1421. .cal_event a:link { color: #111111; font-size: 11px; font-weight: normal !important; }
  1422. .cal_event a:visited { color: #111111; font-size: 11px; font-weight: normal !important; }
  1423. .cal_event a:active { color: #111111; font-size: 11px; font-weight: normal !important; }
  1424. .cal_event a:hover { color: #111111; font-size: 11px; font-weight: normal !important; }
  1425. /* ============================================================================== */
  1426. /* Afficher/cacher */
  1427. /* ============================================================================== */
  1428. #evolForm input.error {
  1429. font-weight: bold;
  1430. border: solid 1px #FF0000;
  1431. padding: 1px 1px 1px 1px;
  1432. margin: 1px 1px 1px 1px;
  1433. }
  1434. #evolForm input.focuserr {
  1435. font-weight: bold;
  1436. background: #FAF8E8;
  1437. color: black;
  1438. border: solid 1px #FF0000;
  1439. padding: 1px 1px 1px 1px;
  1440. margin: 1px 1px 1px 1px;
  1441. }
  1442. #evolForm input.focus { /*** Mise en avant des champs en cours d'utilisation ***/
  1443. background: #FAF8E8;
  1444. color: black;
  1445. border: solid 1px #000000;
  1446. padding: 1px 1px 1px 1px;
  1447. margin: 1px 1px 1px 1px;
  1448. }
  1449. #evolForm input.normal { /*** Retour a l'etat normal apres l'utilisation ***/
  1450. background: white;
  1451. color: black;
  1452. border: solid 1px white;
  1453. padding: 1px 1px 1px 1px;
  1454. margin: 1px 1px 1px 1px;
  1455. }
  1456. /* ============================================================================== */
  1457. /* Ajax - Liste deroulante de l'autocompletion */
  1458. /* ============================================================================== */
  1459. .ui-autocomplete-loading { background: white url(<?php echo dol_buildpath($path.'/theme/eldy/img/working.gif',1) ?>) right center no-repeat; }
  1460. .ui-autocomplete {
  1461. position:absolute;
  1462. width:auto;
  1463. font-size: 1.0em;
  1464. background-color:white;
  1465. border:1px solid #888;
  1466. margin:0px;
  1467. padding:0px;
  1468. }
  1469. .ui-autocomplete ul {
  1470. list-style-type:none;
  1471. margin:0px;
  1472. padding:0px;
  1473. }
  1474. .ui-autocomplete ul li.selected { background-color: #D3E5EC;}
  1475. .ui-autocomplete ul li {
  1476. list-style-type:none;
  1477. display:block;
  1478. margin:0;
  1479. padding:2px;
  1480. height:18px;
  1481. cursor:pointer;
  1482. }
  1483. /* ============================================================================== */
  1484. /* jQuery - jeditable */
  1485. /* ============================================================================== */
  1486. .editkey_textarea, .editkey_ckeditor, .editkey_text, .editkey_numeric, .editkey_select {
  1487. background: url(<?php echo dol_buildpath($path.'/theme/eldy/img/edit.png',1) ?>) right top no-repeat;
  1488. cursor: pointer;
  1489. }
  1490. .editkey_datepicker {
  1491. background: url(<?php echo dol_buildpath($path.'/theme/eldy/img/calendar.png',1) ?>) right center no-repeat;
  1492. cursor: pointer;
  1493. }
  1494. .e

Large files files are truncated, but you can click here to view the full file