PageRenderTime 61ms CodeModel.GetById 20ms RepoModel.GetById 0ms app.codeStats 0ms

/htdocs/theme/auguria/style.css.php

https://github.com/asterix14/dolibarr
PHP | 2032 lines | 1475 code | 270 blank | 287 comment | 44 complexity | 9594ad55e387a49a4843606d6c2cef5c MD5 | raw file
Possible License(s): LGPL-2.0

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

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

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