PageRenderTime 44ms CodeModel.GetById 15ms RepoModel.GetById 0ms app.codeStats 0ms

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

http://github.com/Dolibarr/dolibarr
PHP | 2298 lines | 1738 code | 309 blank | 251 comment | 46 complexity | fce7027874e4f7640790ce5e92cb937c MD5 | raw file
Possible License(s): GPL-2.0, AGPL-3.0, LGPL-2.0, CC-BY-SA-4.0, BSD-3-Clause, MPL-2.0-no-copyleft-exception, LGPL-3.0, GPL-3.0, LGPL-2.1, MIT

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, li.tmenusel {
  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. form#login {
  458. margin-top: 70px;
  459. margin-bottom: 30px;
  460. font-size: 13px;
  461. }
  462. .login_table_title {
  463. width: 540px;
  464. color: #888888;
  465. text-shadow: 1px 1px 1px #FFF;
  466. }
  467. .login_table label {
  468. text-shadow: 1px 1px 1px #FFF;
  469. }
  470. .login_table {
  471. padding:12px;
  472. width: 540px;
  473. border: 1px solid #C0C0C0;
  474. background-color: #E0E0E0;
  475. -moz-box-shadow: 4px 4px 4px #CCC;
  476. -webkit-box-shadow: 4px 4px 4px #CCC;
  477. box-shadow: 4px 4px 4px #CCC;
  478. border-radius: 12px;
  479. border:solid 1px rgba(168,168,168,.4);
  480. border-top:solid 1px f8f8f8;
  481. background-color: #f8f8f8;
  482. background-image: -o-linear-gradient(top, rgba(240,240,240,.3) 0%, rgba(192,192,192,.3) 100%);
  483. background-image: -moz-linear-gradient(top, rgba(240,240,240,.3) 0%, rgba(192,192,192,.3) 100%);
  484. background-image: -webkit-linear-gradient(top, rgba(240,240,240,.3) 0%, rgba(192,192,192,.3) 100%);
  485. background-image: -ms-linear-gradient(top, rgba(240,240,240,.3) 0%, rgba(192,192,192,.3) 100%);
  486. background-image: linear-gradient(top, rgba(240,240,240,.3) 0%, rgba(192,192,192,.3) 100%);
  487. }
  488. #img_securitycode {
  489. border: 1px solid #DDDDDD;
  490. }
  491. #img_logo {
  492. max-width: 200px;
  493. }
  494. div.login_block {
  495. position: absolute;
  496. <?php print $right; ?>: 5px;
  497. top: 3px;
  498. font-weight: bold;
  499. <?php if (GETPOST("optioncss") == 'print') { ?>
  500. display: none;
  501. <?php } ?>
  502. }
  503. div.login_block table {
  504. display: inline;
  505. }
  506. div.login {
  507. white-space:nowrap;
  508. padding: <?php echo ($conf->browser->phone?'0':'8')?>px 0px 0px 0px;
  509. margin: 0px 0px 0px 8px;
  510. font-weight: bold;
  511. }
  512. div.login a {
  513. color: #234046;
  514. }
  515. div.login a:hover {
  516. color: black;
  517. text-decoration:underline;
  518. }
  519. img.login, img.printer, img.entity {
  520. padding: <?php echo ($conf->browser->phone?'0':'8')?>px 0px 0px 0px;
  521. margin: 0px 0px 0px 8px;
  522. text-decoration: none;
  523. color: white;
  524. font-weight: bold;
  525. }
  526. /* ============================================================================== */
  527. /* Menu gauche */
  528. /* ============================================================================== */
  529. td.vmenu {
  530. margin-<?php print $right; ?>: 2px;
  531. padding: 0px;
  532. padding-bottom: 0px;
  533. padding-top: 1px;
  534. width: 200px;
  535. }
  536. <?php if (GETPOST("optioncss") == 'print') { ?>
  537. .vmenu {
  538. display: none;
  539. }
  540. <?php } ?>
  541. a.vmenu:link { font-size:12px; text-align:left; font-weight: normal; color: #FFFFFF; margin: 1px 1px 1px 4px; }
  542. a.vmenu:visited { font-size:12px; text-align:left; font-weight: normal; color: #FFFFFF; margin: 1px 1px 1px 4px; }
  543. a.vmenu:active { font-size:12px; text-align:left; font-weight: normal; color: #FFFFFF; margin: 1px 1px 1px 4px; }
  544. a.vmenu:hover { font-size:12px; text-align:left; font-weight: normal; color: #FEF4AE; margin: 1px 1px 1px 4px; }
  545. font.vmenudisabled { font-size:12px; text-align:left; font-weight: normal; color: #FFFFFF; margin: 1px 1px 1px 4px; }
  546. a.vsmenu:link { font-size:11px; text-align:left; font-weight: normal; color: #202020; margin: 1px 1px 1px 4px; }
  547. a.vsmenu:visited { font-size:11px; text-align:left; font-weight: normal; color: #202020; margin: 1px 1px 1px 4px; }
  548. a.vsmenu:active { font-size:11px; text-align:left; font-weight: normal; color: RGB(94,148,181); margin: 1px 1px 1px 4px; }
  549. a.vsmenu:hover { font-size:11px; text-align:left; font-weight: normal; color: #7F0A29; margin: 1px 1px 1px 4px; }
  550. font.vsmenudisabled { font-size:11px; text-align:left; font-weight: normal; color: #202020; margin: 1px 1px 1px 4px; }
  551. 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; }
  552. 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; }
  553. 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; }
  554. 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; }
  555. div.blockvmenupair
  556. {
  557. margin-bottom: 15px;
  558. border-spacing: 0px;
  559. padding: 0px;
  560. width: 100%;
  561. background-image: url(<?php echo DOL_URL_ROOT.'/theme/cameleo/img/bg_leftCategorie2.jpg' ?>);
  562. background-position: top right;
  563. background-repeat: no-repeat;
  564. }
  565. div.blockvmenuimpair
  566. {
  567. margin-bottom: 15px;
  568. border-spacing: 0px;
  569. padding: 0px;
  570. width: 100%;
  571. background-image: url(<?php echo DOL_URL_ROOT.'/theme/cameleo/img/bg_leftCategorie2.jpg' ?>);
  572. background-position: top right;
  573. background-repeat: no-repeat;
  574. }
  575. img.logocompany
  576. {
  577. margin-top: 22px;
  578. border-spacing: 0px;
  579. padding: 0px;
  580. }
  581. div.blockvmenuimpair form a.vmenu, div.blockvmenupair form a.vmenu
  582. {
  583. width: 166px;
  584. border-spacing: 0px;
  585. color: #000000;
  586. text-align:left;
  587. text-decoration: none;
  588. padding: 4px;
  589. margin: 0px;
  590. background: #FFFFFF;
  591. margin-bottom: -12px;
  592. }
  593. div.menu_titre
  594. {
  595. padding: 0px;
  596. padding-left:0px;
  597. margin-top: 8px;
  598. margin: 0px;
  599. height: 16px;
  600. text-align: left;
  601. font-size : 12px;
  602. color : #FFFFFF;
  603. font-weight: bold;
  604. height: 20px;
  605. line-height: 20px;
  606. }
  607. div.menu_titre a.vmenu {
  608. font-weight: bold;
  609. font-family: "Trebuchet MS",Arial,Helvetica,sans-serif;
  610. font-size: 12px;
  611. }
  612. div.blockvmenusearch
  613. {
  614. margin: 3px 0px 15px 0px;
  615. padding: 25px 0px 2px 2px;
  616. width: 200px;
  617. background-image: url(<?php echo DOL_URL_ROOT.'/theme/cameleo/img/bg_leftMenu.jpg' ?>);
  618. background-position: top right;
  619. background-repeat: no-repeat;
  620. }
  621. div.blockvmenusearch input[type="text"] {
  622. float: left;
  623. width: 130px;
  624. border: 1px solid #333;
  625. font-size: 10px;
  626. height: 16px;
  627. }
  628. div.blockvmenusearch input.button[type="submit"] {
  629. float: left;
  630. margin-left: 10px;
  631. }
  632. div.blockvmenusearch div.menu_titre {
  633. margin-top: 5px;
  634. }
  635. #blockvmenusearch div.menu_titre, #blockvmenusearch form
  636. {
  637. padding-top: 1px;
  638. padding-bottom: 1px;
  639. height: 20px;
  640. }
  641. div.blockvmenubookmarks
  642. {
  643. margin: 0px;
  644. border-spacing: 0px;
  645. padding: 0px;
  646. width: 100%;
  647. background-image: url(<?php echo DOL_URL_ROOT.'/theme/cameleo/img/bg_leftCategorie.jpg' ?>);
  648. background-position: top left;
  649. background-repeat: no-repeat;
  650. margin-bottom: 15px;
  651. }
  652. div.blockvmenuhelp
  653. {
  654. <?php if (empty($conf->browser->phone)) { ?>
  655. text-align: center;
  656. border-spacing: 0px;
  657. width: 162px;
  658. background: transparent;
  659. font-family: <?php print $fontlist ?>;
  660. color: #000000;
  661. text-decoration: none;
  662. padding-left: 0px;
  663. padding-right: 1px;
  664. padding-top: 3px;
  665. padding-bottom: 3px;
  666. margin: 1px 0px 0px 0px;
  667. <?php } else { ?>
  668. display: none;
  669. <?php } ?>
  670. }
  671. div.menu_contenu {
  672. margin: 0px;
  673. padding: 1px;
  674. padding-right: 8px;
  675. font-size : 11px;
  676. font-weight:normal;
  677. color : #000000;
  678. text-align: left;
  679. }
  680. div.menu_end {
  681. /* border-top: 1px solid #436981; */
  682. margin: 0px;
  683. padding: 0px;
  684. height: 6px;
  685. width: 165px;
  686. background-repeat:no-repeat;
  687. display: none;
  688. }
  689. td.barre {
  690. border-right: 1px solid #000000;
  691. border-bottom: 1px solid #000000;
  692. background: #b3c5cc;
  693. font-family: <?php print $fontlist ?>;
  694. color: #000000;
  695. text-align: <?php print $left; ?>;
  696. text-decoration: none;
  697. }
  698. td.barre_select {
  699. background: #b3c5cc;
  700. color: #000000;
  701. }
  702. td.photo {
  703. background: #F4F4F4;
  704. color: #000000;
  705. border: 1px solid #b3c5cc;
  706. }
  707. /* ============================================================================== */
  708. /* Panes for Main */
  709. /* ============================================================================== */
  710. /*
  711. * PANES and CONTENT-DIVs
  712. */
  713. #mainContent, #leftContent .ui-layout-pane {
  714. padding: 0px;
  715. overflow: auto;
  716. }
  717. #mainContent, #leftContent .ui-layout-center {
  718. padding: 0px;
  719. position: relative; /* contain floated or positioned elements */
  720. overflow: auto; /* add scrolling to content-div */
  721. }
  722. /* ============================================================================== */
  723. /* Barre de redmiensionnement menu */
  724. /* ============================================================================== */
  725. .ui-layout-resizer-west-open {
  726. /*left: 200px !important;*/
  727. }
  728. .ui-layout-north {
  729. height: 57px !important;
  730. }
  731. /* ============================================================================== */
  732. /* Toolbar for ECM or Filemanager */
  733. /* ============================================================================== */
  734. .toolbar {
  735. background-image: url(<?php echo DOL_URL_ROOT.'/theme/'.$conf->theme.'/img/tmenu2.png' ?>) !important;
  736. background-repeat: repeat-x !important;
  737. border: 1px solid #BBB !important;
  738. }
  739. a.toolbarbutton {
  740. margin-top: 1px;
  741. margin-left: 4px;
  742. margin-right: 4px;
  743. height: 30px;
  744. /* border: solid 1px #AAAAAA;
  745. width: 32px;
  746. background: #FFFFFF;*/
  747. }
  748. img.toolbarbutton {
  749. height: 28px;
  750. }
  751. /* ============================================================================== */
  752. /* Panes for ECM or Filemanager */
  753. /* ============================================================================== */
  754. #containerlayout .layout-with-no-border {
  755. border: 0 !important;
  756. border-width: 0 !important;
  757. }
  758. #containerlayout .layout-padding {
  759. padding: 2px !important;
  760. }
  761. /*
  762. * PANES and CONTENT-DIVs
  763. */
  764. #containerlayout .ui-layout-pane { /* all 'panes' */
  765. background: #FFF;
  766. border: 1px solid #BBB;
  767. /* DO NOT add scrolling (or padding) to 'panes' that have a content-div,
  768. otherwise you may get double-scrollbars - on the pane AND on the content-div
  769. */
  770. padding: 0px;
  771. overflow: auto;
  772. }
  773. /* (scrolling) content-div inside pane allows for fixed header(s) and/or footer(s) */
  774. #containerlayout .ui-layout-content {
  775. padding: 10px;
  776. position: relative; /* contain floated or positioned elements */
  777. overflow: auto; /* add scrolling to content-div */
  778. }
  779. /*
  780. * RESIZER-BARS
  781. */
  782. .ui-layout-resizer { /* all 'resizer-bars' */
  783. width: 8px !important;
  784. }
  785. .ui-layout-resizer-hover { /* affects both open and closed states */
  786. }
  787. /* NOTE: It looks best when 'hover' and 'dragging' are set to the same color,
  788. otherwise color shifts while dragging when bar can't keep up with mouse */
  789. /*.ui-layout-resizer-open-hover ,*/ /* hover-color to 'resize' */
  790. .ui-layout-resizer-dragging { /* resizer beging 'dragging' */
  791. background: #DDD;
  792. width: 8px;
  793. }
  794. .ui-layout-resizer-dragging { /* CLONED resizer being dragged */
  795. border-left: 1px solid #BBB;
  796. border-right: 1px solid #BBB;
  797. }
  798. /* NOTE: Add a 'dragging-limit' color to provide visual feedback when resizer hits min/max size limits */
  799. .ui-layout-resizer-dragging-limit { /* CLONED resizer at min or max size-limit */
  800. background: #E1A4A4; /* red */
  801. }
  802. .ui-layout-resizer-closed:hover {
  803. background-color: #EEDDDD;
  804. }
  805. .ui-layout-resizer-sliding { /* resizer when pane is 'slid open' */
  806. opacity: .10; /* show only a slight shadow */
  807. filter: alpha(opacity=10);
  808. }
  809. .ui-layout-resizer-sliding-hover { /* sliding resizer - hover */
  810. opacity: 1.00; /* on-hover, show the resizer-bar normally */
  811. filter: alpha(opacity=100);
  812. }
  813. /* sliding resizer - add 'outside-border' to resizer on-hover
  814. * this sample illustrates how to target specific panes and states */
  815. .ui-layout-resizer-north-sliding-hover { border-bottom-width: 1px; }
  816. .ui-layout-resizer-south-sliding-hover { border-top-width: 1px; }
  817. .ui-layout-resizer-west-sliding-hover { border-right-width: 1px; }
  818. .ui-layout-resizer-east-sliding-hover { border-left-width: 1px; }
  819. /*
  820. * TOGGLER-BUTTONS
  821. */
  822. .ui-layout-toggler {
  823. border-top: 1px solid #AAA; /* match pane-border */
  824. border-right: 1px solid #AAA; /* match pane-border */
  825. border-bottom: 1px solid #AAA; /* match pane-border */
  826. background-color: #DDD;
  827. top: 5px !important;
  828. }
  829. .ui-layout-toggler-open {
  830. height: 48px !important;
  831. width: 5px !important;
  832. -moz-border-radius:0px 10px 10px 0px;
  833. -webkit-border-radius:0px 10px 10px 0px;
  834. border-radius:0px 10px 10px 0px;
  835. }
  836. .ui-layout-toggler-closed {
  837. height: 48px !important;
  838. width: 5px !important;
  839. -moz-border-radius:0px 10px 10px 0px;
  840. -webkit-border-radius:0px 10px 10px 0px;
  841. border-radius:0px 10px 10px 0px;
  842. }
  843. .ui-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. /* hide the toggler-button when the pane is 'slid open' */
  851. .ui-layout-resizer-sliding ui-layout-toggler {
  852. display: none;
  853. }
  854. .ui-layout-north {
  855. height: <?php print (empty($conf->browser->phone)?'54':'21'); ?>px !important;
  856. }
  857. /* ECM */
  858. #containerlayout .ecm-layout-pane { /* all 'panes' */
  859. background: #FFF;
  860. border: 1px solid #BBB;
  861. /* DO NOT add scrolling (or padding) to 'panes' that have a content-div,
  862. otherwise you may get double-scrollbars - on the pane AND on the content-div
  863. */
  864. padding: 0px;
  865. overflow: auto;
  866. }
  867. /* (scrolling) content-div inside pane allows for fixed header(s) and/or footer(s) */
  868. #containerlayout .ecm-layout-content {
  869. padding: 10px;
  870. position: relative; /* contain floated or positioned elements */
  871. overflow: auto; /* add scrolling to content-div */
  872. }
  873. .ecm-layout-toggler {
  874. background-color: #DDD;
  875. }
  876. .ecm-layout-toggler-open {
  877. height: 48px !important;
  878. width: 6px !important;
  879. }
  880. .ecm-layout-toggler-closed {
  881. height: 48px !important;
  882. width: 6px !important;
  883. }
  884. .ecm-layout-toggler .content { /* style the text we put INSIDE the togglers */
  885. color: #666;
  886. font-size: 12px;
  887. font-weight: bold;
  888. width: 100%;
  889. padding-bottom: 0.35ex; /* to 'vertically center' text inside text-span */
  890. }
  891. #ecm-layout-west-resizer {
  892. width: 6px !important;
  893. }
  894. .ecm-layout-resizer { /* all 'resizer-bars' */
  895. background: #EEE;
  896. border: 1px solid #BBB;
  897. border-width: 0;
  898. }
  899. .ecm-in-layout-center {
  900. border-left: 1px !important;
  901. border-right: 0px !important;
  902. border-top: 0px !important;
  903. }
  904. .ecm-in-layout-south {
  905. border-left: 0px !important;
  906. border-right: 0px !important;
  907. border-bottom: 0px !important;
  908. padding: 4px 0 4px 4px !important;
  909. }
  910. /* ============================================================================== */
  911. /* Onglets */
  912. /* ============================================================================== */
  913. div.tabs {
  914. margin: 10px 0px 0px 0px;
  915. text-align: left;
  916. vertical-align: bottom;
  917. width: 100%;
  918. background-image: url(<?php echo DOL_URL_ROOT.'/theme/cameleo/img/bg_tmenu.jpg' ?>);
  919. height: 24px;
  920. border-bottom: 2px solid #A51B00;
  921. background-repeat: repeat-x;
  922. background-position: bottom;
  923. }
  924. div.tabs a.tabTitle {
  925. position: relative;
  926. float: left;
  927. height: 18px;
  928. color: #A51B00;
  929. font-family: <?php print $fontlist ?>;
  930. font-weight: bold;
  931. padding: 4px 2px 0px 6px;
  932. margin: 0px 10px 0px 0px;
  933. text-decoration: none;
  934. white-space: nowrap;
  935. }
  936. div.tabs a.tab {
  937. display: block;
  938. width: auto;
  939. font-size: 11px;
  940. font-weight: bold;
  941. font-family: "Trebuchet MS",Arial,Helvetica,sans-serif;
  942. height: 18px;
  943. background-position: right;
  944. line-height: 18px;
  945. color: #842F00;
  946. text-decoration: none;
  947. position: relative;
  948. float: left;
  949. padding: 0px 6px 0px 6px;
  950. margin: 5px 2px 0px 2px;
  951. margin-bottom: 2px;
  952. -moz-border-radius-topleft:8px;
  953. -moz-border-radius-topright:8px;
  954. border-top-left-radius:8px;
  955. border-top-right-radius:8px;
  956. border-right: 1px solid #555555;
  957. border-bottom: 0px solid #555555;
  958. border-left: 1px solid #D0D0D0;
  959. border-top: 1px solid #D8D8D8;
  960. background: #fceabb; /* Old browsers */
  961. background: -moz-linear-gradient(top, #fceabb 0%, #fccd4d 50%, #FFA820 87%, #fbdf93 100%); /* FF3.6+ */
  962. 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+ */
  963. background: -webkit-linear-gradient(top, #fceabb 0%,#fccd4d 50%,#FFA820 87%,#fbdf93 100%); /* Chrome10+,Safari5.1+ */
  964. background: -o-linear-gradient(top, #fceabb 0%,#fccd4d 50%,#FFA820 87%,#fbdf93 100%); /* Opera11.10+ */
  965. background: -ms-linear-gradient(top, #fceabb 0%,#fccd4d 50%,#FFA820 87%,#fbdf93 100%); /* IE10+ */
  966. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fceabb', endColorstr='#fbdf93',GradientType=0); /* IE6-9 */
  967. background: linear-gradient(top, #fceabb 0%,#fccd4d 50%,#FFA820 87%,#fbdf93 100%); /* W3C */
  968. }
  969. div.tabs a.tab#active {
  970. color: #FFF;
  971. padding: 0px 6px 0px 6px;
  972. -moz-border-radius-topleft:8px;
  973. -moz-border-radius-topright:8px;
  974. border-top-left-radius:8px;
  975. border-top-right-radius:8px;
  976. border-right: 1px solid #555555;
  977. border-bottom: 0px solid #555555;
  978. border-left: 1px solid #D0D0D0;
  979. border-top: 1px solid #D8D8D8;
  980. background: #FFA820; /* old browsers */
  981. }
  982. div.tabs a.tab:hover {
  983. color: #FFF;
  984. -moz-border-radius-topleft:8px;
  985. -moz-border-radius-topright:8px;
  986. border-top-left-radius:8px;
  987. border-top-right-radius:8px;
  988. border-right: 1px solid #555555;
  989. border-bottom: 0px solid #555555;
  990. border-left: 1px solid #D0D0D0;
  991. border-top: 1px solid #D8D8D8;
  992. background: #FFA820; /* old browsers */
  993. }
  994. div.tabBar {
  995. color: #234046;
  996. padding-top: 4px;
  997. padding-left: 4px;
  998. padding-right: 4px;
  999. padding-bottom: 4px;
  1000. margin: 6px 0px 6px 0px;
  1001. -moz-border-radius:8px;
  1002. border-radius:8px;
  1003. border-right: 1px solid #555555;
  1004. border-bottom: 1px solid #555555;
  1005. border-left: 1px solid #D0D0D0;
  1006. border-top: 1px solid #D8D8D8;
  1007. /*background: url(<?php echo DOL_URL_ROOT.'/theme/cameleo/img/tab_background.png' ?>) repeat-x;*/
  1008. background: #FEF4AE; /* old browsers */
  1009. }
  1010. div.tabsAction {
  1011. margin: 20px 0em 1px 0em;
  1012. padding: 0em 0em;
  1013. text-align: right;
  1014. }
  1015. td.tab {
  1016. background: #dee7ec;
  1017. }
  1018. span.tabspan {
  1019. background: #dee7ec;
  1020. color: #434956;
  1021. font-family: <?php print $fontlist ?>;
  1022. padding: 0px 6px;
  1023. margin: 0em 0.2em;
  1024. text-decoration: none;
  1025. white-space: nowrap;
  1026. -moz-border-radius-topleft:6px;
  1027. -moz-border-radius-topright:6px;
  1028. border-top-left-radius:6px;
  1029. border-top-right-radius:6px;
  1030. border-<?php print $right; ?>: 1px solid #555555;
  1031. border-<?php print $left; ?>: 1px solid #D8D8D8;
  1032. border-top: 1px solid #D8D8D8;
  1033. }
  1034. /* ============================================================================== */
  1035. /* Boutons actions */
  1036. /* ============================================================================== */
  1037. /* Nouvelle syntaxe a utiliser */
  1038. .butAction:link, .butAction:visited, .butAction:hover, .butAction:active, .butActionDelete, .butActionRefused, .butActionDelete:link, .butActionDelete:visited, .butActionDelete:hover, .butActionDelete:active {
  1039. font-family:"Trebuchet MS",Arial,Helvetica,sans-serif;
  1040. font-weight: bold;
  1041. /*background: url(<?php echo DOL_URL_ROOT.'/theme/bureau2crea/img/bg_btnBlue.jpg' ?>) repeat-x;*/
  1042. background: #A81E00;
  1043. -moz-border-radius:8px;
  1044. border-radius:8px;
  1045. border-right: 1px solid #555555;
  1046. border-bottom: 1px solid #555555;
  1047. border-left: 1px solid #D0D0D0;
  1048. border-top: 1px solid #D8D8D8;
  1049. /*border: 2px solid #063953;*/
  1050. color: #FFF;
  1051. padding: 0px 10px 0px 10px;
  1052. margin: 0px 10px 0px 10px;
  1053. text-decoration: none;
  1054. white-space: nowrap;
  1055. font-size: 12px;
  1056. height: 18px;
  1057. line-height: 18px;
  1058. cursor: pointer;
  1059. }
  1060. .butAction:hover {
  1061. background: #FFe7ec;
  1062. color: #961400;
  1063. }
  1064. .butActionDelete {
  1065. border: 1px solid red;
  1066. }
  1067. .butActionDelete:link, .butActionDelete:visited, .butActionDelete:hover, .butActionDelete:active {
  1068. border: 2px solid red;
  1069. }
  1070. .butActionDelete:hover {
  1071. background: #FFe7ec;
  1072. color: #961400;
  1073. }
  1074. .butActionRefused {
  1075. background: #FFe7ec;
  1076. color: #666;
  1077. }
  1078. <?php if (! empty($conf->global->MAIN_BUTTON_HIDE_UNAUTHORIZED)) { ?>
  1079. .butActionRefused {
  1080. display: none;
  1081. }
  1082. <?php } ?>
  1083. span.butAction, span.butActionDelete {
  1084. cursor: pointer;
  1085. }
  1086. /* ============================================================================== */
  1087. /* Tables */
  1088. /* ============================================================================== */
  1089. .allwidth {
  1090. width: 100%;
  1091. }
  1092. /*
  1093. #undertopmenu {
  1094. background-image: url("<?php echo DOL_URL_ROOT.'/theme/cameleo/img/gradient.gif' ?>");
  1095. background-repeat: repeat-x;
  1096. }
  1097. */
  1098. .nocellnopadd {
  1099. list-style-type:none;
  1100. margin: 0px;
  1101. padding: 0px;
  1102. }
  1103. .notopnoleft {
  1104. border-collapse: collapse;
  1105. border: 0px;
  1106. padding-top: 0px;
  1107. padding-<?php print $left; ?>: 0px;
  1108. padding-<?php print $right; ?>: 6px;
  1109. padding-bottom: 0px;
  1110. margin: 0px 0px;
  1111. }
  1112. .notopnoleftnoright {
  1113. border-collapse: collapse;
  1114. border: 0px;
  1115. padding-top: 0px;
  1116. padding-left: 0px;
  1117. padding-right: 0px;
  1118. padding-bottom: 0px;
  1119. margin: 0px 0px 0px 0px;
  1120. }
  1121. table.border {
  1122. border: 1px solid #9CACBB;
  1123. border-collapse: collapse;
  1124. }
  1125. table.border td {
  1126. padding: 1px 2px;
  1127. border: 1px solid #9CACBB;
  1128. border-collapse: collapse;
  1129. }
  1130. td.border {
  1131. border-top: 1px solid #000000;
  1132. border-right: 1px solid #000000;
  1133. border-bottom: 1px solid #000000;
  1134. border-left: 1px solid #000000;
  1135. }
  1136. /* Main boxes */
  1137. table.noborder {
  1138. background: #FFF url(<?php echo DOL_URL_ROOT.'/theme/cameleo/img/bg_liste_titremenu.jpg' ?>);
  1139. background-repeat: repeat-x;
  1140. background-position: top right;
  1141. vertical-align: text-top;
  1142. /*border-right: 1px solid #555555;
  1143. border-bottom: 1px solid #555555;
  1144. border-left: 1px solid #D0D0D0;
  1145. border-top: 1px solid #D8D8D8;*/
  1146. border : 1px solid #D0D0D0;
  1147. -moz-border-radius:10px;
  1148. /*-moz-border-radius-topright:8px;*/
  1149. border-radius:10px;
  1150. border-spacing: 0px 0px;
  1151. padding : 0 0px 8px 0px;
  1152. /*border-collapse: collapse;*/
  1153. }
  1154. table.noborder tr {
  1155. }
  1156. table.noborder td {
  1157. }
  1158. #graph {
  1159. padding: 1px 1px;
  1160. }
  1161. table.nobordernopadding {
  1162. border: 0px;
  1163. border-spacing: 0px 0px;
  1164. }
  1165. table.nobordernopadding tr {
  1166. border: 0px;
  1167. padding: 0px 0px;
  1168. }
  1169. table.nobordernopadding td {
  1170. border: 0px;
  1171. padding: 0px 0px !important;
  1172. }
  1173. /* For lists */
  1174. table.liste {
  1175. background-image: url(<?php echo DOL_URL_ROOT.'/theme/cameleo/img/bg_liste_titremenu.jpg' ?>);
  1176. background-repeat: repeat-x;
  1177. background-position: top right;
  1178. vertical-align: text-top;
  1179. /*border-right: 1px solid #555555;
  1180. border-bottom: 1px solid #555555;
  1181. border-left: 1px solid #D0D0D0;
  1182. border-top: 1px solid #D8D8D8;*/
  1183. border : 1px solid #D0D0D0;
  1184. -moz-border-radius:10px;
  1185. /*-moz-border-radius-topright:8px;*/
  1186. border-radius:10px;
  1187. border-spacing: 0px 0px;
  1188. padding : 0 0px 8px 0px;
  1189. /*border-collapse: collapse;*/
  1190. }
  1191. table.liste td {
  1192. padding-right: 2px;
  1193. }
  1194. div.liste_titre, tr.liste_titre {
  1195. height: 20px;
  1196. color: #842F00;
  1197. font-weight: bold;
  1198. font-family: "Trebuchet MS",Arial,Helvetica,sans-serif;
  1199. /*border-bottom: 1px solid #FDFFFF;*/
  1200. border-radius: 8px;
  1201. line-height: 18px;
  1202. padding-left: 10px;
  1203. padding-right: 10px;
  1204. white-space: nowrap;
  1205. text-align: <?php echo $left; ?>;
  1206. }
  1207. th.liste_titre, td.liste_titre
  1208. {
  1209. padding-left: 6px;
  1210. padding-right: 6px;
  1211. /*vertical-align: text-top;*/
  1212. }
  1213. th.liste_titre_sel, td.liste_titre_sel
  1214. {
  1215. background-position: top right;
  1216. color: #A51B00;
  1217. font-weight: bold;
  1218. white-space: nowrap;
  1219. }
  1220. input.liste_titre {
  1221. background: #FFF;
  1222. /*background-image: url(<?php echo DOL_URL_ROOT.'/theme/cameleo/img/bg_centerBlock-title.jpg' ?>);
  1223. background-repeat: no-repeat;
  1224. background-position: top right;*/
  1225. border: 0px;
  1226. }
  1227. tr.liste_total td {
  1228. border-top: 1px solid #DDDDDD;
  1229. background: #F0F0F0;
  1230. /* background-image: url(<?php echo DOL_URL_ROOT.'/theme/login_background.png' ?>); */
  1231. background-repeat: repeat-x;
  1232. color: #332266;
  1233. font-weight: normal;
  1234. white-space: nowrap;
  1235. }
  1236. .impair {
  1237. /* background: #d0d4d7; */
  1238. background: #eaeaea;
  1239. font-family: <?php print $fontlist ?>;
  1240. border: 0px;
  1241. }
  1242. .impair:hover {
  1243. background: #c0c4c7;
  1244. border: 0px;
  1245. }
  1246. .pair {
  1247. background: #FFFFFF;
  1248. font-family: <?php print $fontlist ?>;
  1249. border: 0px;
  1250. }
  1251. .pair:hover {
  1252. background: #c0c4c7;
  1253. border: 0px;
  1254. }
  1255. .pair td, .impair td {
  1256. padding: 2px;
  1257. }
  1258. .noshadow {
  1259. -moz-box-shadow: 0px 0px 0px #CCC !important;
  1260. -webkit-box-shadow: 0px 0px 0px #CCC !important;
  1261. box-shadow: 0px 0px 0px #CCC !important;
  1262. }
  1263. /*
  1264. * Boxes
  1265. */
  1266. .box {
  1267. padding-right: 0px;
  1268. padding-left: 0px;
  1269. padding-bottom: 4px;
  1270. }
  1271. tr.box_titre {
  1272. background-repeat: repeat-x;
  1273. color: #842F00;
  1274. font-weight: normal;
  1275. font-family: "Trebuchet MS",Arial,Helvetica,sans-serif;
  1276. white-space: nowrap;
  1277. -moz-border-radius-topleft:6px;
  1278. -moz-border-radius-topright:6px;
  1279. border-top-left-radius:6px;
  1280. border-top-right-radius:6px;
  1281. }
  1282. tr.box_impair {
  1283. /* background: #e6ebed; */
  1284. background: #eaeaea;
  1285. font-family: <?php print $fontlist ?>;
  1286. }
  1287. tr.box_impair:hover {
  1288. background: #c0c4c7;
  1289. border: 0px;
  1290. }
  1291. tr.box_pair {
  1292. /* background: #d0d4d7; */
  1293. background: #f4f4f4;
  1294. font-family: <?php print $fontlist ?>;
  1295. }
  1296. tr.box_pair:hover {
  1297. background: #c0c4c7;
  1298. border: 0px;
  1299. }
  1300. tr.fiche {
  1301. font-family: <?php print $fontlist ?>;
  1302. }
  1303. /*
  1304. * Ok, Warning, Error
  1305. */
  1306. .ok { color: #114466; }
  1307. .warning { color: #887711; }
  1308. .error { color: #550000; font-weight: bold; }
  1309. div.ok {
  1310. color: #114466;
  1311. }
  1312. div.warning {
  1313. color: #997711;
  1314. padding: 0.2em 0.2em 0.2em 0.2em;
  1315. margin: 0.5em 0em 0.5em 0em;
  1316. border: 1px solid #e0e0d0;
  1317. -moz-border-radius:6px;
  1318. border-radius:6px;
  1319. background: #efefd4;
  1320. }
  1321. div.error {
  1322. color: #550000; font-weight: bold;
  1323. padding: 0.2em 0.2em 0.2em 0.2em;
  1324. margin: 0.5em 0em 0.5em 0em;
  1325. border: 1px solid #8C9CAB;
  1326. -moz-border-radius:6px;
  1327. border-radius:6px;
  1328. }
  1329. /* Info admin */
  1330. div.info {
  1331. color: #707070;
  1332. padding: 0.2em 0.2em 0.2em 0.2em;
  1333. margin: 0.5em 0em 0.5em 0em;
  1334. border: 1px solid #e0e0d0;
  1335. -moz-border-radius:6px;
  1336. border-radius:6px;
  1337. background: #efefd4;
  1338. }
  1339. /*
  1340. * Liens Payes/Non payes
  1341. */
  1342. a.normal:link { font-weight: normal }
  1343. a.normal:visited { font-weight: normal }
  1344. a.normal:active { font-weight: normal }
  1345. a.normal:hover { font-weight: normal }
  1346. a.impayee:link { font-weight: bold; color: #550000; }
  1347. a.impayee:visited { font-weight: bold; color: #550000; }
  1348. a.impayee:active { font-weight: bold; color: #550000; }
  1349. a.impayee:hover { font-weight: bold; color: #550000; }
  1350. /*
  1351. * Other
  1352. */
  1353. .fieldrequired { font-weight: bold; color: #000055; }
  1354. .photo {
  1355. border: 0px;
  1356. /* filter:alpha(opacity=55); */
  1357. /* opacity:.55; */
  1358. }
  1359. div.titre {
  1360. font-family: "Trebuchet MS",Arial,Helvetica,sans-serif;
  1361. font-weight: normal;
  1362. color: #842F00;
  1363. font-size: 20px;
  1364. text-decoration: none;
  1365. margin-left: 20px;
  1366. }
  1367. #dolpaymenttable { width: 600px; font-size: 13px; }
  1368. #tablepublicpayment { border: 1px solid #CCCCCC !important; width: 100%; }
  1369. #tablepublicpayment .CTableRow1 { background-color: #F0F0F0 !important; }
  1370. #tablepublicpayment tr.liste_total { border-bottom: 1px solid #CCCCCC !important; }
  1371. #tablepublicpayment tr.liste_total td { border-top: none; }
  1372. /* ============================================================================== */
  1373. /* Formulaire confirmation (When Ajax JQuery is used) */
  1374. /* ============================================================================== */
  1375. .ui-dialog-titlebar {
  1376. }
  1377. .ui-dialog-content {
  1378. font-size: <?php print $fontsize; ?>px !important;
  1379. }
  1380. /* ============================================================================== */
  1381. /* Formulaire confirmation (When HTML is used) */
  1382. /* ============================================================================== */
  1383. table.valid {
  1384. border-top: solid 1px #E6E6E6;
  1385. border-<?php print $left; ?>: solid 1px #E6E6E6;
  1386. border-<?php print $right; ?>: solid 1px #444444;
  1387. border-bottom: solid 1px #555555;
  1388. padding-top: 0px;
  1389. padding-left: 0px;
  1390. padding-right: 0px;
  1391. padding-bottom: 0px;
  1392. margin: 0px 0px;
  1393. background: #D5BAA8;
  1394. }
  1395. .validtitre {
  1396. background: #D5BAA8;
  1397. font-weight: bold;
  1398. }
  1399. /* ============================================================================== */
  1400. /* Tooltips */
  1401. /* ============================================================================== */
  1402. #tooltip {
  1403. position: absolute;
  1404. width: <?php print dol_size(450,'width'); ?>px;
  1405. border-top: solid 1px #BBBBBB;
  1406. border-<?php print $left; ?>: solid 1px #BBBBBB;
  1407. border-<?php print $right; ?>: solid 1px #444444;
  1408. border-bottom: solid 1px #444444;
  1409. padding: 2px;
  1410. z-index: 3000;
  1411. background-color: #FFFFF0;
  1412. opacity: 1;
  1413. -moz-border-radius:6px;
  1414. border-radius:6px;
  1415. }
  1416. /* ============================================================================== */
  1417. /* Calendar */
  1418. /* ============================================================================== */
  1419. .ui-datepicker-trigger {
  1420. vertical-align: middle;
  1421. cursor: pointer;
  1422. }
  1423. .bodyline {
  1424. padding: 0px;
  1425. margin-bottom: 5px;
  1426. z-index: 3000;
  1427. }
  1428. table.dp {
  1429. width: 180px;
  1430. background-color: #FFFFFF;
  1431. border-top: solid 2px #DDDDDD;
  1432. border-<?php print $left; ?>: solid 2px #DDDDDD;
  1433. border-<?php print $right; ?>: solid 1px #222222;
  1434. border-bottom: solid 1px #222222;
  1435. -moz-border-radius:8px;
  1436. border-radius:8px;
  1437. background: #FFA820; /* old browsers */
  1438. background: -moz-linear-gradient(top, #FFA820 0%, #FFA820 0%, #FFFFFF 100%); /* firefox */
  1439. background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#FFA820), color-stop(0%,#FFA820), color-stop(100%,#FFFFFF)); /* webkit */
  1440. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFA820', endColorstr='#FFFFFF',GradientType=0); /* ie */
  1441. background: -o-linear-gradient(top, #FFA820 0%,#FFA820 0%,#FFFFFF 100%); /* opera */
  1442. }
  1443. .dp td, .tpHour td, .tpMinute td{padding:2px; font-size:10px;}
  1444. /* Barre titre */
  1445. .dpHead,.tpHead,.tpHour td:Hover .tpHead{
  1446. font-weight:bold;
  1447. color:white;
  1448. font-size:11px;
  1449. cursor:auto;
  1450. }
  1451. /* Barre navigation */
  1452. .dpButtons,.tpButtons {
  1453. text-align:center;
  1454. background-color:#A51B00;
  1455. color:#FFFFFF;
  1456. font-weight:bold;
  1457. border: 1px outset black;
  1458. cursor:pointer;
  1459. }
  1460. .dpButtons:Active,.tpButtons:Active{border: 1px outset black;}
  1461. .dpDayNames td,.dpExplanation {background-color:#FEF4AE; font-weight:bold; text-align:center; font-size:11px;}
  1462. .dpExplanation{
  1463. font-weight:normal;
  1464. font-size:11px;
  1465. -moz-border-radius-bottomleft:8px;
  1466. -moz-border-radius-bottomright:8px;
  1467. border-bottom-left-radius:8px;
  1468. border-bottom-right-radius:8px;
  1469. //border-right: 1px solid #555555;
  1470. //border-bottom: 0px solid #555555;
  1471. //border-left: 1px solid #D0D0D0;
  1472. //border-top: 1px solid #D8D8D8;
  1473. }
  1474. .dpWeek td{
  1475. text-align:center;
  1476. border-bottom: 1px solid #555555;
  1477. }
  1478. .dpToday,.dpReg,.dpSelected{
  1479. cursor:pointer;
  1480. }
  1481. .dpToday{font-weight:bold; color:black; background-color:#DDDDDD;}
  1482. .dpReg:Hover,.dpToday:Hover{background-color:#A51B00;color:#FEF4AE; font-weight: bold;}
  1483. /* Jour courant */
  1484. .dpSelected {
  1485. color:white;
  1486. font-weight:bold;
  1487. background-color: #A51B00; /* old browsers */
  1488. }
  1489. .tpHour{border-top:1px solid #DDDDDD; border-right:1px solid #DDDDDD;}
  1490. .tpHour td {border-left:1px solid #DDDDDD; border-bottom:1px solid #DDDDDD; cursor:pointer;}
  1491. .tpHour td:Hover {background-color:black;color:white;}
  1492. .tpMinute {margin-top:5px;}
  1493. .tpMinute td:Hover {background-color:black; color:white; }
  1494. .tpMinute td {background-color:#D9DBE1; text-align:center; cursor:pointer;}
  1495. /* Bouton X fermer */
  1496. .dpInvisibleButtons
  1497. {
  1498. border-style:none;
  1499. background-color:transparent;
  1500. padding:0px;
  1501. font-size:9px;
  1502. border-width:0px;
  1503. color:#A51B00;
  1504. vertical-align:middle;
  1505. cursor: pointer;
  1506. text-align: right;
  1507. font-weight: bold;
  1508. }
  1509. /* ============================================================================== */
  1510. /* Afficher/cacher */
  1511. /* ============================================================================== */
  1512. div.visible {
  1513. display: block;
  1514. }
  1515. div.hidden {
  1516. display: none;
  1517. }
  1518. tr.visible {
  1519. display: block;
  1520. }
  1521. td.hidden {
  1522. display: none;
  1523. }
  1524. /* ============================================================================== */
  1525. /* Module agenda …

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