PageRenderTime 58ms CodeModel.GetById 16ms RepoModel.GetById 0ms app.codeStats 0ms

/htdocs/theme/bureau2crea/style.css.php

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

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