PageRenderTime 59ms CodeModel.GetById 19ms RepoModel.GetById 0ms app.codeStats 1ms

/htdocs/theme/cameleo/style.css.php

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

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