2007-04-30 10:35:47 +02:00
< ? php
2013-03-02 14:43:36 +01:00
/* Copyright ( C ) 2004 - 2013 Laurent Destailleur < eldy @ users . sourceforge . net >
2010-06-26 02:16:59 +02:00
* Copyright ( C ) 2006 Rodolphe Quiedeville < rodolphe @ quiedeville . org >
2012-12-30 15:13:49 +01:00
* Copyright ( C ) 2007 - 2011 Regis Houssin < regis . houssin @ capnetworks . com >
2012-09-05 15:29:21 +02:00
* Copyright ( C ) 2012 Juanjo Menent < jmenent @ 2 byte . es >
2007-04-30 10:35:47 +02:00
*
* This program is free software ; you can redistribute it and / or modify
* it under the terms of the GNU General Public License as published by
2013-01-16 15:36:08 +01:00
* the Free Software Foundation ; either version 3 of the License , or
2007-04-30 10:35:47 +02:00
* ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU General Public License for more details .
*
* You should have received a copy of the GNU General Public License
2011-08-01 01:19:04 +02:00
* along with this program . If not , see < http :// www . gnu . org / licenses />.
2007-04-30 10:35:47 +02:00
*/
2007-05-01 20:17:15 +02:00
/**
2010-06-25 21:52:11 +02:00
* \file htdocs / theme / auguria / style . css . php
2011-08-17 16:29:14 +02:00
* \brief File for CSS style sheet Auguria
2008-11-16 19:55:00 +01:00
*/
2007-04-30 10:35:47 +02:00
2010-03-13 17:27:11 +01:00
//if (! defined('NOREQUIREUSER')) define('NOREQUIREUSER','1'); // Not disabled cause need to load personalized language
//if (! defined('NOREQUIREDB')) define('NOREQUIREDB','1'); // Not disabled to increase speed. Language code is found on url.
if ( ! defined ( 'NOREQUIRESOC' )) define ( 'NOREQUIRESOC' , '1' );
//if (! defined('NOREQUIRETRAN')) define('NOREQUIRETRAN','1'); // Not disabled cause need to do translations
if ( ! defined ( 'NOCSRFCHECK' )) define ( 'NOCSRFCHECK' , 1 );
if ( ! defined ( 'NOTOKENRENEWAL' )) define ( 'NOTOKENRENEWAL' , 1 );
if ( ! defined ( 'NOLOGIN' )) define ( 'NOLOGIN' , 1 );
if ( ! defined ( 'NOREQUIREMENU' )) define ( 'NOREQUIREMENU' , 1 );
if ( ! defined ( 'NOREQUIREHTML' )) define ( 'NOREQUIREHTML' , 1 );
if ( ! defined ( 'NOREQUIREAJAX' )) define ( 'NOREQUIREAJAX' , '1' );
2009-08-30 03:39:39 +02:00
2011-09-20 11:40:27 +02:00
session_cache_limiter ( FALSE );
2010-06-26 02:16:59 +02:00
2012-08-22 23:11:24 +02:00
require_once '../../main.inc.php' ;
2007-04-30 10:35:47 +02:00
2007-05-01 20:17:15 +02:00
// Define css type
header ( 'Content-type: text/css' );
2010-06-26 02:16:59 +02:00
// Important: Following code is to avoid page request by browser and PHP CPU at
2007-05-01 20:17:15 +02:00
// each Dolibarr page access.
2009-07-07 17:11:59 +02:00
if ( empty ( $dolibarr_nocache )) header ( 'Cache-Control: max-age=3600, public, must-revalidate' );
else header ( 'Cache-Control: no-cache' );
2009-08-13 14:32:22 +02:00
2010-07-20 00:02:11 +02:00
// On the fly GZIP compression for all pages (if browser support it). Must set the bit 3 of constant to 1.
if ( isset ( $conf -> global -> MAIN_OPTIMIZE_SPEED ) && ( $conf -> global -> MAIN_OPTIMIZE_SPEED & 0x04 )) { ob_start ( " ob_gzhandler " ); }
2011-04-26 23:06:45 +02:00
if ( GETPOST ( 'lang' )) $langs -> setDefaultLang ( GETPOST ( 'lang' )); // If language was forced on URL
if ( GETPOST ( 'theme' )) $conf -> theme = GETPOST ( 'theme' ); // If theme was forced on URL
2009-08-13 14:32:22 +02:00
$langs -> load ( " main " , 0 , 1 );
2010-10-27 16:15:30 +02:00
$right = ( $langs -> trans ( " DIRECTION " ) == 'rtl' ? 'left' : 'right' );
$left = ( $langs -> trans ( " DIRECTION " ) == 'rtl' ? 'right' : 'left' );
2013-04-03 15:20:56 +02:00
$fontsize = empty ( $conf -> dol_optimize_smallscreen ) ? '12' : '12' ;
$fontsizesmaller = empty ( $conf -> dol_optimize_smallscreen ) ? '11' : '11' ;
2010-06-26 02:16:59 +02:00
2013-03-02 14:43:36 +01:00
$path = '' ; // This value may be used in future for external module to overwrite theme
$theme = 'auguria' ; // Value of theme
if ( ! empty ( $conf -> global -> MAIN_OVERWRITE_THEME_RES )) { $path = '/' . $conf -> global -> MAIN_OVERWRITE_THEME_RES ; $theme = $conf -> global -> MAIN_OVERWRITE_THEME_RES ; }
2011-08-17 16:29:14 +02:00
// Define image path files
$fontlist = 'arial,tahoma,verdana,helvetica' ; //$fontlist='Verdana,Helvetica,Arial,sans-serif';
2013-04-15 18:00:20 +02:00
2013-06-05 16:24:32 +02:00
$dol_hide_topmenu = $conf -> dol_hide_topmenu ;
$dol_hide_leftmenu = $conf -> dol_hide_leftmenu ;
$dol_optimize_smallscreen = $conf -> dol_optimize_smallscreen ;
$dol_no_mouse_hover = $conf -> dol_no_mouse_hover ;
2013-04-15 18:00:20 +02:00
$dol_use_jmobile = $conf -> dol_use_jmobile ;
2013-03-02 14:43:36 +01:00
$img_liste_titre = dol_buildpath ( $path . '/theme/' . $theme . '/img/menus/trtitle.png' , 1 );
$img_head = dol_buildpath ( $path . '/theme/' . $theme . '/img/headbg2.jpg' , 1 );
$img_button = dol_buildpath ( $path . '/theme/' . $theme . '/img/button_bg.png' , 1 );
2010-06-26 02:16:59 +02:00
2012-09-09 14:49:20 +02:00
$colorbacklineimpairhover = '210,214,217' ;
$colorbacklinepairhover = '210,214,217' ;
2012-09-09 16:32:03 +02:00
// No hover by default, we keep only if we set var THEME_ELDY_USE_HOVER
if (( ! empty ( $user -> conf -> THEME_ELDY_ENABLE_PERSONALIZED ) && empty ( $user -> conf -> THEME_ELDY_USE_HOVER ))
|| ( empty ( $user -> conf -> THEME_ELDY_ENABLE_PERSONALIZED ) && empty ( $conf -> global -> THEME_ELDY_USE_HOVER )))
{
$colorbacklineimpairhover = '' ;
$colorbacklinepairhover = '' ;
}
2012-09-09 14:49:20 +02:00
2013-10-22 18:01:54 +02:00
$colorshadowtitle = '000' ;
2013-10-07 16:59:38 +02:00
$usecss3 = true ;
if ( $conf -> browser -> name == 'ie' && round ( $conf -> browser -> version , 2 ) < 10 ) $usecss3 = false ;
elseif ( $conf -> browser -> name == 'iceweasel' ) $usecss3 = false ;
elseif ( $conf -> browser -> name == 'epiphany' ) $usecss3 = false ;
2012-09-09 16:32:03 +02:00
print '/*' . " \n " ;
print 'colorbacklineimpairhover=' . $colorbacklineimpairhover . " \n " ;
print 'colorbacklinepairhover=' . $colorbacklinepairhover . " \n " ;
2012-09-09 14:49:20 +02:00
print '*/' . " \n " ;
2007-04-30 10:35:47 +02:00
?>
/* ============================================================================== */
2010-01-05 14:30:38 +01:00
/* Styles par defaut */
2007-04-30 10:35:47 +02:00
/* ============================================================================== */
body {
2011-08-17 16:29:14 +02:00
< ? php if ( GETPOST ( " optioncss " ) == 'print' ) { ?>
background - color : #FFFFFF;
< ? php } else { ?>
background : #ffffff url(<?php echo $img_head; ?>) 0 0 no-repeat;
< ? php } ?>
2007-04-30 10:35:47 +02:00
color : #101010;
2013-06-19 18:08:05 +02:00
< ? php if ( empty ( $dol_use_jmobile ) || 1 == 1 ) { ?>
2010-06-26 02:16:59 +02:00
font - size : < ? php print $fontsize ?> px;
2013-06-19 15:52:06 +02:00
< ? php } ?>
2010-06-26 02:16:59 +02:00
font - family : < ? php print $fontlist ?> ;
2007-04-30 10:35:47 +02:00
margin - top : 0 ;
margin - bottom : 0 ;
margin - right : 0 ;
margin - left : 0 ;
2010-10-27 16:15:30 +02:00
< ? php print 'direction: ' . $langs -> trans ( " DIRECTION " ) . " ; \n " ; ?>
2007-04-30 10:35:47 +02:00
}
2010-06-26 02:16:59 +02:00
a : link , a : visited , a : hover , a : active { font - family : < ? php print $fontlist ?> ; font-weight: bold; color: #000000; text-decoration: none; }
2013-06-19 15:52:06 +02:00
< ? php if ( empty ( $dol_use_jmobile )) { ?>
2011-08-08 17:33:50 +02:00
input : focus , textarea : focus , button : focus , select : focus {
box - shadow : 0 0 4 px #8091BF;
}
2011-08-17 16:29:14 +02:00
2011-10-31 15:23:18 +01:00
input , input . flat , textarea , textarea . flat , form . flat select , select . flat {
2010-09-29 12:10:33 +02:00
font - size : < ? php print $fontsize ?> px;
2010-06-26 02:16:59 +02:00
font - family : < ? php print $fontlist ?> ;
2011-10-31 15:23:18 +01:00
background : #FDFDFD;
2007-04-30 10:35:47 +02:00
border : 1 px solid #ACBCBB;
2011-08-17 16:29:14 +02:00
padding : 1 px 1 px 1 px 1 px ;
2007-04-30 10:35:47 +02:00
margin : 0 px 0 px 0 px 0 px ;
}
2013-06-19 15:52:06 +02:00
< ? php } ?>
2011-10-31 15:23:18 +01:00
select . flat , form . flat select {
font - weight : normal ;
2007-04-30 10:35:47 +02:00
}
2011-10-31 15:23:18 +01:00
input : disabled {
background : #ddd;
2007-04-30 10:35:47 +02:00
}
2011-02-02 01:08:38 +01:00
textarea : disabled {
2011-10-31 15:23:18 +01:00
background : #ddd;
2007-04-30 10:35:47 +02:00
}
2013-03-01 19:39:54 +01:00
input [ type = checkbox ] { background - color : transparent ; border : none ; box - shadow : none ; }
2013-07-01 21:52:09 +02:00
input [ type = radio ] { background - color : transparent ; border : none ; box - shadow : none ; }
input [ type = image ] { background - color : transparent ; border : none ; box - shadow : none ; }
2013-10-17 18:37:08 +02:00
input [ type = text ] { min - width : 20 px ; }
2013-06-23 12:43:06 +02:00
input :- webkit - autofill {
background - color : < ? php echo empty ( $dol_use_jmobile ) ? '#FBFFEA' : '#FFFFFF' ?> !important;
background - image : none ! important ;
- webkit - box - shadow : 0 0 0 50 px < ? php echo empty ( $dol_use_jmobile ) ? '#FBFFEA' : '#FFFFFF' ?> inset;
}
2013-06-26 14:38:56 +02:00
::- webkit - input - placeholder { color : #ccc; }
::- moz - placeholder { color : #ccc; } /* firefox 19+ */
:- ms - input - placeholder { color : #ccc; } /* ie */
input :- moz - placeholder { color : #ccc; }
2013-06-23 12:43:06 +02:00
2013-06-19 14:03:54 +02:00
< ? php if ( ! empty ( $dol_use_jmobile )) { ?>
legend { margin - bottom : 8 px ; }
< ? php } ?>
2010-06-26 02:16:59 +02:00
. button {
font - family : < ? php print $fontlist ?> ;
2010-09-28 23:28:28 +02:00
border : 1 px solid #ACBCBB;
/* border: 0px; */
2011-08-17 16:29:14 +02:00
background - image : url ( < ? php echo $img_button ?> );
2010-06-26 02:16:59 +02:00
background - position : bottom ;
padding : 0 px 2 px 0 px 2 px ;
2007-04-30 10:35:47 +02:00
margin : 0 px 0 px 0 px 0 px ;
}
2010-06-26 02:16:59 +02:00
. button : focus {
font - family : < ? php print $fontlist ?> ;
color : #222244;
2010-09-28 23:28:28 +02:00
border : 1 px solid #ACBCBB;
/* border: 0px; */
2011-08-17 16:29:14 +02:00
background - image : url ( < ? php echo $img_button ?> );
2010-06-26 02:16:59 +02:00
background - position : bottom ;
padding : 0 px 2 px 0 px 2 px ;
margin : 0 px 0 px 0 px 0 px ;
}
. buttonajax {
font - family : < ? php print $fontlist ?> ;
border : 0 px ;
2011-08-17 16:29:14 +02:00
background - image : url ( < ? php echo $img_button ?> );
2010-06-26 02:16:59 +02:00
background - position : bottom ;
2008-01-11 11:03:47 +01:00
padding : 0 px 0 px 0 px 0 px ;
margin : 0 px 0 px 0 px 0 px ;
}
2010-06-26 02:16:59 +02:00
form {
2007-05-02 00:11:55 +02:00
padding : 0 em 0 em 0 em 0 em ;
margin : 0 em 0 em 0 em 0 em ;
}
2011-03-09 00:48:31 +01:00
div . float
{
float :< ? php print $left ; ?> ;
}
2013-04-03 15:20:56 +02:00
div . floatright
{
float :< ? php print $right ; ?> ;
}
2013-04-03 18:37:54 +02:00
div . inline - block
{
display : inline - block ;
}
2013-02-24 14:57:49 +01:00
2012-09-22 20:27:06 +02:00
. valignmiddle {
vertical - align : middle ;
}
. centpercent {
width : 100 % ;
}
2013-02-24 14:57:49 +01:00
. center {
text - align : center ;
}
. left {
text - align : < ? php print $left ; ?> ;
}
. right {
text - align : < ? php print $right ; ?> ;
}
2013-04-25 01:13:13 +02:00
. nowrap {
white - space : < ? php print ( $dol_optimize_smallscreen ? 'normal' : 'nowrap' ); ?> ;
}
2013-07-19 15:29:40 +02:00
. nobold {
font - weight : normal ! important ;
}
. nounderline {
text - decoration : none ;
}
2012-09-22 20:27:06 +02:00
2011-03-09 00:48:31 +01:00
2011-08-15 19:43:40 +02:00
/* ============================================================================== */
/* Styles to hide objects */
/* ============================================================================== */
2011-05-16 11:27:29 +02:00
2011-05-15 22:21:34 +02:00
. hideobject { display : none ; }
2013-04-15 18:00:20 +02:00
< ? php if ( ! empty ( $dol_optimize_smallscreen )) { ?>
2011-08-15 19:43:40 +02:00
. hideonsmartphone { display : none ; }
2013-04-15 18:00:20 +02:00
. noenlargeonsmartphone { width : 50 px ! important ; display : inline ! important ; }
2013-11-30 02:31:17 +01:00
. maxwidthonsmartphone { max - width : 100 px ; }
2011-08-15 19:43:40 +02:00
< ? php } ?>
2011-05-15 22:21:34 +02:00
. linkobject { cursor : pointer ; }
2010-09-28 20:00:59 +02:00
2011-08-15 19:43:40 +02:00
/* ============================================================================== */
/* Styles for dragging lines */
/* ============================================================================== */
2010-10-02 22:47:55 +02:00
2010-09-28 20:00:59 +02:00
. dragClass {
2010-10-02 22:47:55 +02:00
color : #002255;
2010-09-28 20:00:59 +02:00
}
td . showDragHandle {
2010-10-01 16:29:43 +02:00
cursor : move ;
2010-09-28 20:00:59 +02:00
}
. tdlineupdown {
2010-10-01 16:29:43 +02:00
white - space : nowrap ;
2013-10-21 13:43:31 +02:00
min - width : 10 px ;
2010-09-18 17:34:06 +02:00
}
2007-04-30 10:35:47 +02:00
/* ============================================================================== */
/* Styles de positionnement des zones */
/* ============================================================================== */
2013-04-25 20:27:45 +02:00
#id-container {
display : table ;
table - layout : fixed ;
2013-07-23 20:48:37 +02:00
margin - top : 6 px ;
2013-04-25 20:27:45 +02:00
}
#id-right, #id-left {
display : table - cell ;
float : none ;
vertical - align : top ;
}
#id-<?php echo $right; ?> {
width : 100 % ;
}
2011-08-15 19:43:40 +02:00
div . fiche {
2013-04-03 15:20:56 +02:00
margin -< ? php print $left ; ?> : <?php print empty($conf->dol_optimize_smallscreen)?'10':'2'; ?>px;
margin -< ? php print $right ; ?> : <?php print empty($conf->dol_optimize_smallscreen)?'8':''; ?>px;
2007-04-30 10:35:47 +02:00
}
2011-08-15 19:43:40 +02:00
div . fichecenter {
width : 100 % ;
clear : both ; /* This is to have div fichecenter that are true rectangles */
}
div . fichethirdleft {
2013-04-03 15:20:56 +02:00
< ? php if ( empty ( $conf -> dol_optimize_smallscreen )) { print " float: " . $left . " ; \n " ; } ?>
< ? php if ( empty ( $conf -> dol_optimize_smallscreen )) { print " width: 35%; \n " ; } ?>
2011-08-15 19:43:40 +02:00
}
div . fichetwothirdright {
2013-04-03 15:20:56 +02:00
< ? php if ( empty ( $conf -> dol_optimize_smallscreen )) { print " float: " . $left . " ; \n " ; } ?>
< ? php if ( empty ( $conf -> dol_optimize_smallscreen )) { print " width: 65%; \n " ; } ?>
2011-08-15 19:43:40 +02:00
}
div . fichehalfleft {
2013-04-03 15:20:56 +02:00
< ? php if ( empty ( $conf -> dol_optimize_smallscreen )) { print " float: " . $left . " ; \n " ; } ?>
< ? php if ( empty ( $conf -> dol_optimize_smallscreen )) { print " width: 50%; \n " ; } ?>
2011-08-15 19:43:40 +02:00
}
div . fichehalfright {
2013-04-03 15:20:56 +02:00
< ? php if ( empty ( $conf -> dol_optimize_smallscreen )) { print " float: " . $left . " ; \n " ; } ?>
< ? php if ( empty ( $conf -> dol_optimize_smallscreen )) { print " width: 50%; \n " ; } ?>
2007-04-30 10:35:47 +02:00
}
2011-08-15 19:43:40 +02:00
div . ficheaddleft {
2013-04-24 04:06:13 +02:00
< ? php if ( empty ( $conf -> dol_optimize_smallscreen )) { print " padding-left: 16px; \n " ; }
2013-04-11 20:00:12 +02:00
else print " margin-top: 10px; \n " ; ?>
2011-08-15 19:43:40 +02:00
}
2007-04-30 10:35:47 +02:00
/* ============================================================================== */
2008-06-19 00:56:02 +02:00
/* Menu top et 1ere ligne tableau */
2007-04-30 10:35:47 +02:00
/* ============================================================================== */
2010-06-26 02:16:59 +02:00
< ? php
2013-04-03 15:20:56 +02:00
if ( ! empty ( $conf -> dol_optimize_smallscreen ))
2007-04-30 10:35:47 +02:00
{
2010-09-29 11:52:42 +02:00
$minwidthtmenu = 70 ;
$heightmenu = 39 ;
2010-06-26 02:16:59 +02:00
}
else
{
$minwidthtmenu = 70 ;
$heightmenu = 39 ;
}
?>
2013-07-28 17:02:13 +02:00
div #tmenu_tooltip {
padding - right : 100 px ;
}
2010-06-26 02:16:59 +02:00
div . tmenu {
2011-05-30 14:35:46 +02:00
< ? php if ( GETPOST ( " optioncss " ) == 'print' ) { ?>
2009-08-19 18:26:12 +02:00
display : none ;
< ? php } else { ?>
2007-04-30 10:35:47 +02:00
position : relative ;
2010-06-26 02:16:59 +02:00
display : block ;
2007-04-30 10:35:47 +02:00
white - space : nowrap ;
2010-06-26 02:16:59 +02:00
border - top : 0 px solid #D3E5EC;
border -< ? php print $left ; ?> : 0px;
border -< ? php print $right ; ?> : 0px solid #555555;
border - bottom : 1 px solid #ABB9B9;
padding : 0 px 0 px 0 px 0 px ; /* t r b l */
margin : 0 px 0 px 2 px 0 px ; /* t r b l */
font - weight : normal ;
height : < ? php print $heightmenu ; ?> px;
background : #7FAEC6;
2013-03-02 14:43:36 +01:00
background - image : url ( < ? php echo dol_buildpath ( $path . '/theme/' . $theme . '/img/menus/table_bg.gif' , 1 ); ?> );
2010-06-26 02:16:59 +02:00
/* background-position: center bottom; */
color : #000000;
text - decoration : none ;
2009-08-19 18:26:12 +02:00
< ? php } ?>
2007-04-30 10:35:47 +02:00
}
2009-06-03 21:54:48 +02:00
2010-06-26 02:16:59 +02:00
/*
div . mainmenu {
position : relative ;
color : white ;
background - repeat : no - repeat ;
background - position : center top ;
height : < ? php echo ( $heightmenu - 19 ); ?> px;
margin - left : 0 px ;
2007-08-03 13:13:35 +02:00
}
2010-09-29 11:52:42 +02:00
*/
2010-06-26 02:16:59 +02:00
2013-06-10 16:32:44 +02:00
< ? php if ( empty ( $conf -> dol_optimize_smallscreen )) {
2010-06-26 02:16:59 +02:00
// Add here more div for other menu entries. moduletomainmenu=array('module name'=>'name of class for div')
$moduletomainmenu = array ( 'user' => '' , 'syslog' => '' , 'societe' => 'companies' , 'projet' => 'project' , 'propale' => 'commercial' , 'commande' => 'commercial' ,
'produit' => 'products' , 'service' => 'products' , 'stock' => 'products' ,
'don' => 'accountancy' , 'tax' => 'accountancy' , 'banque' => 'accountancy' , 'facture' => 'accountancy' , 'compta' => 'accountancy' , 'accounting' => 'accountancy' , 'adherent' => 'members' , 'import' => 'tools' , 'export' => 'tools' , 'mailing' => 'tools' ,
'contrat' => 'commercial' , 'ficheinter' => 'commercial' , 'deplacement' => 'commercial' ,
'fournisseur' => 'companies' ,
'barcode' => '' , 'fckeditor' => '' , 'categorie' => '' ,
);
$mainmenuused = 'home' ;
2012-07-23 16:10:54 +02:00
foreach ( $conf -> modules as $val )
2008-11-16 07:13:48 +01:00
{
2010-06-26 02:16:59 +02:00
$mainmenuused .= ',' . ( isset ( $moduletomainmenu [ $val ]) ? $moduletomainmenu [ $val ] : $val );
2008-11-16 07:13:48 +01:00
}
2010-06-26 02:16:59 +02:00
//var_dump($mainmenuused);
$mainmenuusedarray = array_unique ( explode ( ',' , $mainmenuused ));
$mainmenuusedarray = array (); // Disable
$generic = 1 ;
$divalreadydefined = array ( 'home' , 'companies' , 'products' , 'commercial' , 'accountancy' , 'project' , 'tools' , 'members' , 'shop' , 'agenda' , 'ecm' , 'cashdesk' );
2012-07-23 16:10:54 +02:00
foreach ( $mainmenuusedarray as $val )
2008-11-16 07:13:48 +01:00
{
2010-06-26 02:16:59 +02:00
if ( empty ( $val ) || in_array ( $val , $divalreadydefined )) continue ;
//print "XXX".$val;
// Search img file in module dir
$found = 0 ; $url = '' ;
foreach ( $conf -> file -> dol_document_root as $dirroot )
{
if ( file_exists ( $dirroot . " / " . $val . " /img/ " . $val . " .png " ))
{
2011-08-17 16:29:14 +02:00
$url = dol_buildpath ( $path . '/' . $val . '/img/' . $val . '.png' , 1 );
2010-06-26 02:16:59 +02:00
$found = 1 ;
break ;
}
}
// Img file not found
if ( ! $found && $generic <= 4 )
{
2013-03-02 14:43:36 +01:00
$url = dol_buildpath ( $path . '/theme/' . $theme . '/img/menus/generic' . $generic . " .png " , 1 );
2010-06-26 02:16:59 +02:00
$found = 1 ;
$generic ++ ;
}
if ( $found )
{
print " /* A mainmenu entry but img file " . $val . " .png not found, so we use a generic one */ \n " ;
print " div.mainmenu. " . $val . " { \n " ;
print " background-image: url( " . $url . " ); \n " ;
print " height:28px; \n " ;
print " } \n " ;
}
}
// End of part to add more div class css
?>
< ? php
} // End test if not phone
?>
. tmenu {
position : relative ;
font - size : 10 px ; /* To reduce to have more entries */
font - family : Tahoma , sans - serif ;
text - transform : uppercase ;
2013-03-02 14:43:36 +01:00
background : url ( < ? php echo dol_buildpath ( $path . '/theme/' . $theme . '/img/menus/topmenu_bg.png' , 1 ) ?> ) repeat-x bottom left;
2010-06-26 02:16:59 +02:00
}
. tmenu ul {
2011-09-26 14:17:05 +02:00
margin : 0 10 px 0 0 ; /* t r b l */
2010-06-26 02:16:59 +02:00
padding : 0 ;
list - style - type : none ;
2010-07-14 14:29:56 +02:00
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 */
2007-08-03 01:25:40 +02:00
}
2010-06-26 02:16:59 +02:00
. tmenu ul li {
display : block ;
2011-09-26 14:17:05 +02:00
float : < ? php print $left ; ?> ;
2010-06-26 02:16:59 +02:00
margin : 0 1 px ;
padding - left : 0 px ;
padding - right : 0 px ;
2009-06-03 21:54:48 +02:00
}
2010-06-26 02:16:59 +02:00
. tmenu ul li a {
display : block ;
2011-09-26 14:17:05 +02:00
float : < ? php print $left ; ?> ;
2010-06-26 02:16:59 +02:00
color : #EAF3F8;
text - decoration : none ;
padding : 0 0 0 8 px ;
height : 33 px ;
2008-11-16 01:06:26 +01:00
}
2009-06-03 21:54:48 +02:00
2010-06-26 02:16:59 +02:00
. tmenu ul li a span {
padding : 12 px 8 px 0 0 ;
height : 21 px ;
2011-09-26 14:17:05 +02:00
float : < ? php print $left ; ?> ;
2007-04-30 10:35:47 +02:00
}
2010-06-26 02:16:59 +02:00
. tmenu ul li a : hover {
color : #fff;
2013-03-02 14:43:36 +01:00
background : transparent url ( < ? php echo dol_buildpath ( $path . '/theme/' . $theme . '/img/menus/topmenu_bg_over.gif' , 1 ); ?> ) repeat-x bottom left;
2010-06-26 02:16:59 +02:00
}
. tmenu ul li a : hover span {
display : block ;
width : auto ;
cursor : pointer ;
2008-11-16 01:06:26 +01:00
}
2007-04-30 10:35:47 +02:00
2010-10-25 16:08:37 +02:00
. tmenu ul li a . tmenusel {
2010-06-26 02:16:59 +02:00
color : #fff;
2013-03-02 14:43:36 +01:00
background : url ( < ? php echo dol_buildpath ( $path . '/theme/' . $theme . '/img/menus/topmenu_left.gif' , 1 ); ?> ) no-repeat top left;
2010-06-26 02:16:59 +02:00
line - height : 305 % ;
}
. tmenu ul li a . tmenusel span {
display : block ;
padding : 4 px 8 px 0 0 ;
width : auto ;
2013-03-02 14:43:36 +01:00
background : url ( < ? php echo dol_buildpath ( $path . '/theme/' . $theme . '/img/menus/topmenu_right.png' , 1 ); ?> ) no-repeat top right;
2010-06-26 02:16:59 +02:00
height : 33 px ;
}
2010-07-27 00:11:56 +02:00
. tmenudisabled {
color : #D0D0D0 !important;
}
2010-08-26 04:07:52 +02:00
. tmenuimage {
padding : 0 0 0 0 ! important ;
margin : 0 0 px 0 0 ! important ;
}
2010-06-26 02:16:59 +02:00
/* --- end nav --- */
2007-05-01 20:17:15 +02:00
2007-04-30 10:35:47 +02:00
/* Login */
2012-04-18 14:27:31 +02:00
form #login {
2013-06-14 00:46:02 +02:00
margin - top : < ? php echo $dol_optimize_smallscreen ? '30' : '60' ?> px;
2012-04-18 14:27:31 +02:00
margin - bottom : 30 px ;
font - size : 13 px ;
}
. login_table_title {
2013-10-07 16:59:38 +02:00
max - width : 540 px ;
2012-04-18 14:27:31 +02:00
color : #888888;
text - shadow : 1 px 1 px 1 px #FFF;
}
. login_table label {
text - shadow : 1 px 1 px 1 px #FFF;
}
. login_table {
padding : 12 px ;
2013-02-24 14:57:49 +01:00
margin - left : 10 px ;
margin - right : 10 px ;
max - width : 540 px ;
2012-04-18 14:27:31 +02:00
border : 1 px solid #C0C0C0;
background - color : #E0E0E0;
2011-11-09 19:38:34 +01:00
- moz - box - shadow : 4 px 4 px 4 px #CCC;
- webkit - box - shadow : 4 px 4 px 4 px #CCC;
box - shadow : 4 px 4 px 4 px #CCC;
2012-04-18 14:27:31 +02:00
border - radius : 12 px ;
border : solid 1 px rgba ( 168 , 168 , 168 , . 4 );
border - top : solid 1 px f8f8f8 ;
background - color : #f8f8f8;
background - image : - o - linear - gradient ( top , rgba ( 240 , 240 , 240 , . 3 ) 0 % , rgba ( 192 , 192 , 192 , . 3 ) 100 % );
background - image : - moz - linear - gradient ( top , rgba ( 240 , 240 , 240 , . 3 ) 0 % , rgba ( 192 , 192 , 192 , . 3 ) 100 % );
background - image : - webkit - linear - gradient ( top , rgba ( 240 , 240 , 240 , . 3 ) 0 % , rgba ( 192 , 192 , 192 , . 3 ) 100 % );
background - image : - ms - linear - gradient ( top , rgba ( 240 , 240 , 240 , . 3 ) 0 % , rgba ( 192 , 192 , 192 , . 3 ) 100 % );
background - image : linear - gradient ( top , rgba ( 240 , 240 , 240 , . 3 ) 0 % , rgba ( 192 , 192 , 192 , . 3 ) 100 % );
}
#img_securitycode {
border : 1 px solid #DDDDDD;
}
#img_logo {
max - width : 200 px ;
2011-11-09 19:38:34 +01:00
}
2011-01-10 09:13:31 +01:00
div . login_block {
2013-07-28 17:02:13 +02:00
width : 180 px ;
2011-01-10 09:13:31 +01:00
position : absolute ;
< ? php print $right ; ?> : 5px;
2011-01-10 20:37:59 +01:00
top : 3 px ;
2011-01-10 09:13:31 +01:00
font - weight : bold ;
2011-01-19 11:49:28 +01:00
< ? php if ( GETPOST ( " optioncss " ) == 'print' ) { ?>
display : none ;
< ? php } ?>
2011-01-10 09:13:31 +01:00
}
div . login_block table {
display : inline ;
}
2013-02-24 14:57:49 +01:00
div #login_left, div#login_right {
display : inline - block ;
min - width : 220 px ;
text - align : center ;
vertical - align : middle ;
}
2010-11-05 18:47:41 +01:00
div . login {
2011-01-12 10:47:23 +01:00
white - space : nowrap ;
2013-04-03 15:20:56 +02:00
padding : < ? php echo ( $conf -> dol_optimize_smallscreen ? '0' : '8' ) ?> px 0px 0px 0px;
2011-02-03 23:01:11 +01:00
margin : 0 px 0 px 0 px 8 px ;
2011-01-10 09:13:31 +01:00
font - weight : bold ;
2007-04-30 10:35:47 +02:00
}
2010-11-05 18:47:41 +01:00
div . login a {
color : #234046;
}
div . login a : hover {
color : black ;
text - decoration : underline ;
2007-04-30 10:35:47 +02:00
}
2013-07-28 17:02:13 +02:00
. login_block_user {
float : right ;
}
. login_block_elem {
float : right ;
vertical - align : top ;
2013-12-27 17:51:36 +01:00
padding : 8 px 0 px 0 px 4 px ! important ;
2013-07-28 17:02:13 +02:00
}
2007-04-30 10:35:47 +02:00
2013-05-13 23:46:37 +02:00
. alogin , . alogin : hover {
color : #888 !important;
font - weight : normal ! important ;
font - size : < ? php echo $fontsizesmaller ; ?> px !important;
}
. alogin : hover {
text - decoration : underline ! important ;
}
2012-08-26 13:24:28 +02:00
img . login , img . printer , img . entity {
2013-12-27 17:51:36 +01:00
padding : 0 px 0 px 0 px 0 px ;
2011-01-10 09:13:31 +01:00
text - decoration : none ;
color : white ;
font - weight : bold ;
2011-01-06 16:54:44 +01:00
}
2007-04-30 10:35:47 +02:00
/* ============================================================================== */
2009-08-19 18:26:12 +02:00
/* Menu gauche */
2007-04-30 10:35:47 +02:00
/* ============================================================================== */
2013-04-25 20:27:45 +02:00
div . vmenu , td . vmenu {
2011-08-15 19:43:40 +02:00
margin -< ? php print $right ; ?> : 2px;
2013-09-25 12:58:29 +02:00
margin -< ? php print $left ; ?> : 2px;
2011-08-15 19:43:40 +02:00
padding : 0 px ;
padding - bottom : 0 px ;
width : 164 px ;
}
< ? php if ( GETPOST ( " optioncss " ) == 'print' ) { ?>
2009-08-19 18:26:12 +02:00
. vmenu {
2010-06-26 02:16:59 +02:00
display : none ;
2009-08-19 18:26:12 +02:00
}
< ? php } ?>
2010-06-26 02:16:59 +02:00
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; }
2010-07-28 01:24:43 +02:00
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; }
2010-08-30 10:13:47 +02:00
a . vmenu : hover { color : #CCDDEE; }
2008-05-13 20:24:39 +02:00
2013-04-01 20:15:52 +02:00
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; }
font . vsmenudisabled { font - size :< ? php print $fontsize ?> px; font-family: <?php print $fontlist ?>; text-align: <?php print $left; ?>; font-weight: normal; color: #93a5aa; }
2010-08-30 10:13:47 +02:00
a . vsmenu : hover { color : #556677; }
2013-04-01 20:15:52 +02:00
font . vsmenudisabledmargin { margin : 1 px 1 px 1 px 5 px ; }
2007-04-30 10:35:47 +02:00
2010-06-26 02:16:59 +02:00
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; }
2007-12-06 02:43:00 +01:00
2008-06-19 00:56:02 +02:00
div . blockvmenupair
2008-03-02 22:30:39 +01:00
{
margin : 0 px ;
border - spacing : 0 px ;
padding : 0 px ;
2008-06-19 00:56:02 +02:00
width : 166 px ;
2009-01-31 16:23:05 +01:00
border : 0 px solid #68ACCF;
2008-03-02 22:30:39 +01:00
}
2008-06-19 00:56:02 +02:00
div . blockvmenuimpair
2007-04-30 10:35:47 +02:00
{
margin : 0 px ;
border - spacing : 0 px ;
padding : 0 px ;
2008-06-19 00:56:02 +02:00
width : 166 px ;
2009-01-31 16:23:05 +01:00
border : 0 px solid #68ACCF;
2007-04-30 10:35:47 +02:00
}
2008-03-02 22:30:39 +01:00
div . blockvmenuimpair form a . vmenu , div . blockvmenupair form a . vmenu
{
2008-06-19 00:56:02 +02:00
width : 166 px ;
2010-06-26 02:16:59 +02:00
border - spacing : 0 px ;
2008-03-02 22:30:39 +01:00
color : #000000;
text - align : left ;
text - decoration : none ;
padding : 4 px ;
margin : 0 px ;
background : #FFFFFF;
margin - bottom : - 12 px ;
}
2010-09-29 12:51:36 +02:00
div . menu_titre
{
2013-03-02 14:43:36 +01:00
background : url ( < ? php echo dol_buildpath ( $path . '/theme/' . $theme . '/img/bg-titre-rubrique.png' , 1 ); ?> );
2010-06-27 13:59:51 +02:00
padding : 0 px ;
2010-07-11 14:29:46 +02:00
padding - top : 5 px ;
2010-06-27 13:59:51 +02:00
padding - left : 0 px ;
margin - top : 8 px ;
margin : 0 px ;
2010-07-11 14:29:46 +02:00
height : 16 px ;
2010-06-27 13:59:51 +02:00
text - align : left ;
font - size : 12 px ;
color : #FFFFFF;
font - weight : bold ;
}
2010-09-29 12:51:36 +02:00
div . blockvmenusearch
{
2010-06-27 13:59:51 +02:00
margin : 3 px 0 px 2 px 0 px ;
padding : 0 px 0 px 2 px 2 px ;
border : 1 px solid #c0c0d0;
width : 161 px ;
background : #DDDDDD !important;
}
2010-09-29 12:51:36 +02:00
#blockvmenusearch div.menu_titre, #blockvmenusearch form
{
2010-06-27 13:59:51 +02:00
padding - top : 1 px ;
padding - bottom : 1 px ;
height : 16 px ;
background : #DDDDDD !important;
2010-06-26 02:16:59 +02:00
}
div . blockvmenubookmarks
2008-03-02 22:30:39 +01:00
{
2010-06-26 02:16:59 +02:00
margin : 0 px ;
border - spacing : 0 px ;
padding : 0 px ;
2008-06-19 00:56:02 +02:00
width : 166 px ;
2010-06-26 02:16:59 +02:00
border : 0 px solid #68ACCF;
2008-03-02 22:30:39 +01:00
}
2010-09-29 12:51:36 +02:00
div . blockvmenuhelp
{
2013-04-03 15:20:56 +02:00
< ? php if ( empty ( $conf -> dol_optimize_smallscreen )) { ?>
2010-06-26 02:16:59 +02:00
text - align : center ;
border - spacing : 0 px ;
2010-09-21 01:10:35 +02:00
width : 162 px ;
2010-06-26 13:06:45 +02:00
background : transparent ;
2010-06-26 02:16:59 +02:00
font - family : < ? php print $fontlist ?> ;
color : #000000;
text - decoration : none ;
padding - left : 0 px ;
padding - right : 1 px ;
padding - top : 3 px ;
padding - bottom : 3 px ;
margin : 1 px 0 px 0 px 0 px ;
2010-09-29 12:51:36 +02:00
< ? php } else { ?>
display : none ;
< ? php } ?>
2010-06-26 02:16:59 +02:00
}
2007-04-30 10:35:47 +02:00
div . menu_contenu {
2013-03-02 14:43:36 +01:00
background : url ( < ? php echo dol_buildpath ( $path . '/theme/' . $theme . '/img/bg-rubrique.png' , 1 ); ?> );
2013-09-25 12:58:29 +02:00
padding : 2 px 1 px 1 px 3 px ;
2007-04-30 10:35:47 +02:00
margin : 0 px ;
font - size : 11 px ;
font - weight : normal ;
color : #000000;
text - align : left ;
}
2010-06-27 15:49:43 +02:00
div . menu_end {
2013-03-02 14:43:36 +01:00
background : url ( < ? php echo dol_buildpath ( $path . '/theme/' . $theme . '/img/bg-bas-rubrique.png' , 1 ); ?> );
2010-06-27 15:49:43 +02:00
/* border-top: 1px solid #436981; */
2007-04-30 10:35:47 +02:00
margin : 0 px ;
2009-01-31 16:23:05 +01:00
padding : 0 px ;
2010-06-27 15:49:43 +02:00
height : 6 px ;
width : 165 px ;
2007-04-30 10:35:47 +02:00
background - repeat : no - repeat ;
}
2007-05-01 20:17:15 +02:00
td . barre {
2007-04-30 10:35:47 +02:00
border - right : 1 px solid #000000;
border - bottom : 1 px solid #000000;
background : #b3c5cc;
2010-06-26 02:16:59 +02:00
font - family : < ? php print $fontlist ?> ;
2007-05-01 20:17:15 +02:00
color : #000000;
2010-06-26 02:16:59 +02:00
text - align : < ? php print $left ; ?> ;
2007-04-30 10:35:47 +02:00
text - decoration : none ;
}
2007-05-01 20:17:15 +02:00
td . barre_select {
background : #b3c5cc;
2007-04-30 10:35:47 +02:00
color : #000000;
}
td . photo {
2007-05-01 20:17:15 +02:00
background : #F4F4F4;
2007-04-30 10:35:47 +02:00
color : #000000;
border : 1 px solid #b3c5cc;
}
2010-10-31 10:05:56 +01:00
/* ============================================================================== */
/* Panes for Main */
/* ============================================================================== */
/*
* PANES and CONTENT - DIVs
*/
2010-10-31 10:16:37 +01:00
#mainContent, #leftContent .ui-layout-pane {
2010-10-31 10:05:56 +01:00
padding : 0 px ;
overflow : auto ;
}
2010-10-31 10:16:37 +01:00
#mainContent, #leftContent .ui-layout-center {
2010-10-31 10:05:56 +01:00
padding : 0 px ;
position : relative ; /* contain floated or positioned elements */
overflow : auto ; /* add scrolling to content-div */
}
2010-06-26 02:16:59 +02:00
2010-08-27 22:41:54 +02:00
/* ============================================================================== */
/* Toolbar for ECM or Filemanager */
/* ============================================================================== */
. toolbar {
2012-01-11 11:57:49 +01:00
background - image : url ( < ? php echo dol_buildpath ( $path . '/theme/' . $conf -> theme . '/img/tmenu2.jpg' , 1 ) ?> ) !important;
2010-08-27 22:41:54 +02:00
background - repeat : repeat - x ! important ;
2011-07-06 13:40:21 +02:00
border : 1 px solid #BBB !important;
2010-08-27 22:41:54 +02:00
}
2012-03-24 15:20:49 +01:00
a . toolbarbutton {
margin - top : 1 px ;
2010-08-27 22:41:54 +02:00
margin - left : 4 px ;
2012-03-24 15:20:49 +01:00
margin - right : 4 px ;
height : 30 px ;
2010-08-27 22:41:54 +02:00
/* border : solid 1 px #AAAAAA;
2012-03-24 15:20:49 +01:00
width : 32 px ;
background : #FFFFFF;*/
}
img . toolbarbutton {
2012-12-30 12:02:54 +01:00
margin - top : 2 px ;
height : 28 px ;
2010-08-27 22:41:54 +02:00
}
2010-10-31 10:05:56 +01:00
2010-08-27 23:03:38 +02:00
/* ============================================================================== */
/* Panes for ECM or Filemanager */
/* ============================================================================== */
2010-12-20 16:45:19 +01:00
#containerlayout .layout-with-no-border {
border : 0 ! important ;
border - width : 0 ! important ;
}
2010-12-20 17:08:15 +01:00
#containerlayout .layout-padding {
padding : 2 px ! important ;
}
2010-08-27 22:41:54 +02:00
/*
2010-10-11 14:06:43 +02:00
* PANES and CONTENT - DIVs
2010-08-27 22:41:54 +02:00
*/
2010-11-02 10:48:05 +01:00
#containerlayout .ui-layout-pane { /* all 'panes' */
2010-08-27 22:41:54 +02:00
background : #FFF;
border : 1 px solid #BBB;
/* DO NOT add scrolling ( or padding ) to 'panes' that have a content - div ,
otherwise you may get double - scrollbars - on the pane AND on the content - div
*/
padding : 0 px ;
overflow : auto ;
2010-11-02 10:48:05 +01:00
}
/* (scrolling) content-div inside pane allows for fixed header(s) and/or footer(s) */
#containerlayout .ui-layout-content {
padding : 10 px ;
position : relative ; /* contain floated or positioned elements */
overflow : auto ; /* add scrolling to content-div */
}
2010-08-27 22:41:54 +02:00
/*
* RESIZER - BARS
*/
. ui - layout - resizer { /* all 'resizer-bars' */
2011-08-15 19:43:40 +02:00
width : 8 px ! important ;
}
. ui - layout - resizer - hover { /* affects both open and closed states */
}
/* NOTE : It looks best when 'hover' and 'dragging' are set to the same color ,
otherwise color shifts while dragging when bar can ' t keep up with mouse */
/*.ui-layout-resizer-open-hover ,*/ /* hover-color to 'resize' */
. ui - layout - resizer - dragging { /* resizer beging 'dragging' */
background : #DDD;
width : 8 px ;
}
. ui - layout - resizer - dragging { /* CLONED resizer being dragged */
border - left : 1 px solid #BBB;
border - right : 1 px solid #BBB;
}
/* NOTE: Add a 'dragging-limit' color to provide visual feedback when resizer hits min/max size limits */
. ui - layout - resizer - dragging - limit { /* CLONED resizer at min or max size-limit */
background : #E1A4A4; /* red */
}
. ui - layout - resizer - closed : hover {
background - color : #EEDDDD;
}
. ui - layout - resizer - sliding { /* resizer when pane is 'slid open' */
opacity : . 10 ; /* show only a slight shadow */
filter : alpha ( opacity = 10 );
2010-08-27 22:41:54 +02:00
}
2011-08-15 19:43:40 +02:00
. ui - layout - resizer - sliding - hover { /* sliding resizer - hover */
opacity : 1.00 ; /* on-hover, show the resizer-bar normally */
filter : alpha ( opacity = 100 );
2010-08-27 22:41:54 +02:00
}
2011-08-15 19:43:40 +02:00
/* sliding resizer - add 'outside-border' to resizer on - hover
* this sample illustrates how to target specific panes and states */
. ui - layout - resizer - north - sliding - hover { border - bottom - width : 1 px ; }
. ui - layout - resizer - south - sliding - hover { border - top - width : 1 px ; }
. ui - layout - resizer - west - sliding - hover { border - right - width : 1 px ; }
. ui - layout - resizer - east - sliding - hover { border - left - width : 1 px ; }
2010-08-27 22:41:54 +02:00
/*
* TOGGLER - BUTTONS
*/
. ui - layout - toggler {
2011-08-15 19:43:40 +02:00
border - top : 1 px solid #AAA; /* match pane-border */
border - right : 1 px solid #AAA; /* match pane-border */
border - bottom : 1 px solid #AAA; /* match pane-border */
background - color : #DDD;
top : 5 px ! important ;
2010-08-27 22:41:54 +02:00
}
2011-08-15 19:43:40 +02:00
. ui - layout - toggler - open {
height : 48 px ! important ;
width : 5 px ! important ;
- moz - border - radius : 0 px 10 px 10 px 0 px ;
- webkit - border - radius : 0 px 10 px 10 px 0 px ;
border - radius : 0 px 10 px 10 px 0 px ;
}
. ui - layout - toggler - closed {
height : 48 px ! important ;
width : 5 px ! important ;
- moz - border - radius : 0 px 10 px 10 px 0 px ;
- webkit - border - radius : 0 px 10 px 10 px 0 px ;
border - radius : 0 px 10 px 10 px 0 px ;
}
. ui - layout - toggler . content { /* style the text we put INSIDE the togglers */
color : #666;
font - size : 12 px ;
font - weight : bold ;
width : 100 % ;
padding - bottom : 0.35 ex ; /* to 'vertically center' text inside text-span */
}
/* hide the toggler-button when the pane is 'slid open' */
. ui - layout - resizer - sliding ui - layout - toggler {
display : none ;
}
. ui - layout - north {
2013-04-03 15:20:56 +02:00
height : < ? php print ( empty ( $conf -> dol_optimize_smallscreen ) ? '42' : '42' ); ?> px !important;
2011-08-15 19:43:40 +02:00
}
/* ECM */
#containerlayout .ecm-layout-pane { /* all 'panes' */
background : #FFF;
border : 1 px solid #BBB;
/* DO NOT add scrolling ( or padding ) to 'panes' that have a content - div ,
otherwise you may get double - scrollbars - on the pane AND on the content - div
*/
padding : 0 px ;
overflow : auto ;
}
/* (scrolling) content-div inside pane allows for fixed header(s) and/or footer(s) */
#containerlayout .ecm-layout-content {
padding : 10 px ;
position : relative ; /* contain floated or positioned elements */
overflow : auto ; /* add scrolling to content-div */
}
. ecm - layout - toggler {
2011-10-26 17:06:59 +02:00
border - top : 1 px solid #AAA; /* match pane-border */
border - right : 1 px solid #AAA; /* match pane-border */
border - bottom : 1 px solid #AAA; /* match pane-border */
background - color : #CCC;
2010-08-27 22:41:54 +02:00
}
2011-08-15 19:43:40 +02:00
. ecm - layout - toggler - open {
height : 48 px ! important ;
width : 6 px ! important ;
2011-10-26 17:06:59 +02:00
- moz - border - radius : 0 px 10 px 10 px 0 px ;
- webkit - border - radius : 0 px 10 px 10 px 0 px ;
border - radius : 0 px 10 px 10 px 0 px ;
2011-08-15 19:43:40 +02:00
}
. ecm - layout - toggler - closed {
height : 48 px ! important ;
width : 6 px ! important ;
}
. ecm - layout - toggler . content { /* style the text we put INSIDE the togglers */
color : #666;
font - size : 12 px ;
font - weight : bold ;
width : 100 % ;
padding - bottom : 0.35 ex ; /* to 'vertically center' text inside text-span */
}
#ecm-layout-west-resizer {
width : 6 px ! important ;
}
. ecm - layout - resizer { /* all 'resizer-bars' */
border : 1 px solid #BBB;
border - width : 0 ;
2010-08-27 22:41:54 +02:00
}
2010-11-02 10:48:05 +01:00
. ecm - in - layout - center {
2011-08-15 19:43:40 +02:00
border - left : 1 px ! important ;
2010-08-27 22:41:54 +02:00
border - right : 0 px ! important ;
border - top : 0 px ! important ;
}
2010-11-02 10:48:05 +01:00
. ecm - in - layout - south {
2010-08-27 22:41:54 +02:00
border - left : 0 px ! important ;
border - right : 0 px ! important ;
border - bottom : 0 px ! important ;
padding : 4 px 0 4 px 4 px ! important ;
}
2011-08-15 19:43:40 +02:00
2007-04-30 10:35:47 +02:00
/* ============================================================================== */
/* Onglets */
/* ============================================================================== */
div . tabs {
top : 20 px ;
2010-06-26 02:16:59 +02:00
margin : 1 px 0 px 0 px 0 px ;
2007-04-30 10:35:47 +02:00
padding : 0 px 6 px 0 px 0 px ;
2010-06-26 02:16:59 +02:00
text - align : < ? php print $left ; ?> ;
2007-04-30 10:35:47 +02:00
}
div . tabBar {
color : #234046;
2010-10-18 20:45:20 +02:00
padding - top : 10 px ;
padding - left : 8 px ;
padding - right : 8 px ;
padding - bottom : 8 px ;
2007-04-30 10:35:47 +02:00
margin : 0 px 0 px 10 px 0 px ;
- moz - border - radius - topleft : 6 px ;
- moz - border - radius - topright : 6 px ;
- moz - border - radius - bottomleft : 6 px ;
- moz - border - radius - bottomright : 6 px ;
2010-06-26 02:16:59 +02:00
border - right : 1 px solid #555555;
border - bottom : 1 px solid #555555;
border - left : 1 px solid #D0D0D0;
border - top : 1 px solid #D8D8D8;
2013-03-02 14:43:36 +01:00
background : #dee7ec url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/tab_background.png',1) ?>) repeat-x;
2007-04-30 10:35:47 +02:00
}
div . tabsAction {
margin : 20 px 0 em 1 px 0 em ;
padding : 0 em 0 em ;
text - align : right ;
}
2007-05-01 20:17:15 +02:00
2007-04-30 10:35:47 +02:00
a . tabTitle {
2013-12-27 17:43:52 +01:00
color : #888;
2010-06-26 02:16:59 +02:00
font - family : < ? php print $fontlist ?> ;
font - weight : normal ;
2007-04-30 10:35:47 +02:00
padding : 0 px 6 px ;
margin : 0 px 6 px ;
text - decoration : none ;
white - space : nowrap ;
}
a . tab : link {
2010-06-26 02:16:59 +02:00
background : #dee7ec;
color : #436976;
font - family : < ? php print $fontlist ?> ;
2007-04-30 10:35:47 +02:00
padding : 0 px 6 px ;
margin : 0 em 0.2 em ;
text - decoration : none ;
white - space : nowrap ;
- moz - border - radius - topleft : 6 px ;
- moz - border - radius - topright : 6 px ;
2010-06-26 02:16:59 +02:00
border -< ? php print $right ; ?> : 1px solid #555555;
border -< ? php print $left ; ?> : 1px solid #D8D8D8;
2007-04-30 10:35:47 +02:00
border - top : 1 px solid #D8D8D8;
}
a . tab : visited {
2010-06-26 02:16:59 +02:00
background : #dee7ec;
color : #436976;
font - family : < ? php print $fontlist ?> ;
2007-04-30 10:35:47 +02:00
padding : 0 px 6 px ;
margin : 0 em 0.2 em ;
text - decoration : none ;
white - space : nowrap ;
- moz - border - radius - topleft : 6 px ;
- moz - border - radius - topright : 6 px ;
2010-06-26 02:16:59 +02:00
border -< ? php print $right ; ?> : 1px solid #555555;
border -< ? php print $left ; ?> : 1px solid #D8D8D8;
2007-04-30 10:35:47 +02:00
border - top : 1 px solid #D8D8D8;
}
a . tab #active {
2010-06-26 02:16:59 +02:00
background : white ;
border - bottom : #dee7ec 1px solid;
font - family : < ? php print $fontlist ?> ;
color : #436976;
2007-04-30 10:35:47 +02:00
padding : 0 px 6 px ;
margin : 0 em 0.2 em ;
text - decoration : none ;
- moz - border - radius - topleft : 6 px ;
- moz - border - radius - topright : 6 px ;
2010-06-26 02:16:59 +02:00
border -< ? php print $right ; ?> : 1px solid #555555;
border -< ? php print $left ; ?> : 1px solid #D8D8D8;
2007-04-30 10:35:47 +02:00
border - top : 1 px solid #D8D8D8;
2010-06-26 02:16:59 +02:00
border - bottom : 1 px solid white ;
2007-04-30 10:35:47 +02:00
}
a . tab : hover {
2010-06-26 02:16:59 +02:00
background : white ;
color : #436976;
font - family : < ? php print $fontlist ?> ;
2007-04-30 10:35:47 +02:00
padding : 0 px 6 px ;
margin : 0 em 0.2 em ;
text - decoration : none ;
- moz - border - radius - topleft : 6 px ;
- moz - border - radius - topright : 6 px ;
2010-06-26 02:16:59 +02:00
border -< ? php print $right ; ?> : 1px solid #555555;
border -< ? php print $left ; ?> : 1px solid #D8D8D8;
2007-04-30 10:35:47 +02:00
border - top : 1 px solid #D8D8D8;
}
a . tabimage {
color : #436976;
2010-06-26 02:16:59 +02:00
font - family : < ? php print $fontlist ?> ;
2007-04-30 10:35:47 +02:00
text - decoration : none ;
white - space : nowrap ;
}
2008-06-19 00:56:02 +02:00
td . tab {
background : #dee7ec;
}
2007-04-30 10:35:47 +02:00
2010-10-06 11:28:45 +02:00
span . tabspan {
background : #dee7ec;
color : #436976;
font - family : < ? php print $fontlist ?> ;
padding : 0 px 6 px ;
margin : 0 em 0.2 em ;
text - decoration : none ;
white - space : nowrap ;
- moz - border - radius - topleft : 6 px ;
- moz - border - radius - topright : 6 px ;
border -< ? php print $right ; ?> : 1px solid #555555;
border -< ? php print $left ; ?> : 1px solid #D8D8D8;
border - top : 1 px solid #D8D8D8;
}
2007-04-30 10:35:47 +02:00
/* ============================================================================== */
/* Boutons actions */
/* ============================================================================== */
2013-04-03 18:37:54 +02:00
div . divButAction { margin - bottom : 1.4 em ; }
2013-04-03 15:20:56 +02:00
2011-05-14 16:07:07 +02:00
. butAction , . butAction : link , . butAction : visited , . butAction : hover , . butAction : active , . butActionDelete , . butActionDelete : link , . butActionDelete : visited , . butActionDelete : hover , . butActionDelete : active {
2010-06-26 02:16:59 +02:00
font - family : < ? php print $fontlist ?> ;
font - weight : bold ;
background : white ;
border : 1 px solid #8CACBB;
color : #436976;
padding : 0 em 0.7 em ;
margin : 0 em 0.5 em ;
text - decoration : none ;
white - space : nowrap ;
}
2007-04-30 10:35:47 +02:00
2011-05-14 11:21:24 +02:00
. butAction : hover {
2010-06-26 02:16:59 +02:00
background : #dee7ec;
}
2007-04-30 10:35:47 +02:00
2011-05-15 07:30:19 +02:00
. butActionDelete , . butActionDelete : link , . butActionDelete : visited , . butActionDelete : hover , . butActionDelete : active {
2011-05-24 22:19:56 +02:00
border : 1 px solid #997777;
2010-06-26 02:16:59 +02:00
}
2011-05-14 11:21:24 +02:00
. butActionDelete : hover {
2011-05-24 22:19:56 +02:00
background : #FFe7ec;
2010-06-26 02:16:59 +02:00
}
. butActionRefused {
font - family : < ? php print $fontlist ?> !important;
font - weight : bold ! important ;
background : white ! important ;
border : 1 px solid #AAAAAA !important;
color : #AAAAAA !important;
padding : 0 em 0.7 em ! important ;
margin : 0 em 0.5 em ! important ;
text - decoration : none ! important ;
white - space : nowrap ! important ;
cursor : not - allowed ;
}
2007-04-30 10:35:47 +02:00
2012-06-14 20:07:35 +02:00
< ? php if ( ! empty ( $conf -> global -> MAIN_BUTTON_HIDE_UNAUTHORIZED )) { ?>
. butActionRefused {
display : none ;
}
< ? php } ?>
2011-05-14 16:07:07 +02:00
span . butAction , span . butActionDelete {
2011-05-14 11:21:24 +02:00
cursor : pointer ;
}
2007-04-30 10:35:47 +02:00
/* ============================================================================== */
/* Tables */
/* ============================================================================== */
2012-03-11 22:08:46 +01:00
. allwidth {
width : 100 % ;
}
2011-06-11 04:23:59 +02:00
#undertopmenu {
margin - top : 4 px ;
}
2010-06-26 02:16:59 +02:00
/*
#undertopmenu {
2013-03-02 14:43:36 +01:00
background - image : url ( " <?php echo dol_buildpath( $path .'/theme/'. $theme .'/img/gradient.gif',1); ?> " );
2010-06-26 02:16:59 +02:00
background - repeat : repeat - x ;
}
*/
2011-11-14 15:46:44 +01:00
. paddingrightonly {
border - collapse : collapse ;
border : 0 px ;
margin - left : 0 px ;
spacing - left : 0 px ;
padding - left : 0 px ;
padding - right : 4 px ;
}
2007-04-30 10:35:47 +02:00
. nocellnopadd {
list - style - type : none ;
2010-06-26 02:16:59 +02:00
margin : 0 px ;
padding : 0 px ;
2007-04-30 10:35:47 +02:00
}
. notopnoleft {
border - collapse : collapse ;
border : 0 px ;
padding - top : 0 px ;
2010-06-26 02:16:59 +02:00
padding -< ? php print $left ; ?> : 0px;
2011-08-08 17:19:28 +02:00
padding -< ? php print $right ; ?> : 10px;
2007-04-30 10:35:47 +02:00
padding - bottom : 4 px ;
margin : 0 px 0 px ;
}
. notopnoleftnoright {
border - collapse : collapse ;
border : 0 px ;
padding - top : 0 px ;
padding - left : 0 px ;
padding - right : 0 px ;
padding - bottom : 4 px ;
2010-06-26 02:16:59 +02:00
margin : 0 px 0 px 0 px 0 px ;
2007-04-30 10:35:47 +02:00
}
2010-06-26 02:16:59 +02:00
2013-10-27 00:04:57 +02:00
table . border , table . dataTable , . table - border , . table - border - col , . table - key - border - col , . table - val - border - col , div . border {
2013-07-27 18:21:35 +02:00
border : 1 px solid #9CACBB;
border - collapse : collapse ;
padding : 1 px 2 px 2 px 1 px ; /* t r b l */
2007-04-30 10:35:47 +02:00
}
2010-06-26 02:16:59 +02:00
2013-10-27 00:04:57 +02:00
table . border td , div . border div div . tagtd {
2013-07-27 18:21:35 +02:00
padding : 1 px 2 px ;
border : 1 px solid #9CACBB;
border - collapse : collapse ;
2007-04-30 10:35:47 +02:00
}
2013-10-27 00:04:57 +02:00
td . border , div . tagtable div div . border {
2013-07-27 18:21:35 +02:00
border - top : 1 px solid #000000;
border - right : 1 px solid #000000;
border - bottom : 1 px solid #000000;
border - left : 1 px solid #000000;
}
. table - key - border - col {
width : 25 % ;
vertical - align : top ;
}
. table - val - border - col {
width : auto ;
2010-06-26 02:16:59 +02:00
}
/* Main boxes */
2007-04-30 10:35:47 +02:00
2013-06-23 18:01:10 +02:00
table . noborder , div . noborder {
2012-06-23 15:44:02 +02:00
border - collapse : collapse ;
border - top - color : #FEFEFE;
2010-06-26 02:16:59 +02:00
2012-06-23 15:44:02 +02:00
border - right - width : 1 px ;
border - right - color : #BBBBBB;
border - right - style : solid ;
2010-06-26 02:16:59 +02:00
2012-06-23 15:44:02 +02:00
border - left - width : 1 px ;
border - left - color : #BBBBBB;
border - left - style : solid ;
2010-06-26 02:16:59 +02:00
2012-06-23 15:44:02 +02:00
border - bottom - width : 1 px ;
border - bottom - color : #BBBBBB;
border - bottom - style : solid ;
2010-06-26 02:16:59 +02:00
2012-06-23 15:44:02 +02:00
margin - left : 1 px ;
margin - right : 1 px ;
margin - bottom : 2 px ;
margin - top : 0 px ;
2011-07-20 21:03:31 +02:00
2012-06-23 15:44:02 +02:00
- moz - box - shadow : 4 px 4 px 4 px #CCC;
- webkit - box - shadow : 4 px 4 px 4 px #CCC;
box - shadow : 4 px 4 px 4 px #CCC;
2007-04-30 10:35:47 +02:00
}
2010-06-26 02:16:59 +02:00
2013-06-23 18:01:10 +02:00
table . noborder tr , div . noborder form {
2012-06-23 15:44:02 +02:00
border - top - color : #FEFEFE;
2010-06-26 02:16:59 +02:00
2012-06-23 15:44:02 +02:00
border - right - width : 1 px ;
border - right - color : #BBBBBB;
border - right - style : solid ;
2010-06-26 02:16:59 +02:00
2012-06-23 15:44:02 +02:00
border - left - width : 1 px ;
border - left - color : #BBBBBB;
border - left - style : solid ;
height : 20 px ;
2007-04-30 10:35:47 +02:00
}
2013-06-23 18:01:10 +02:00
table . noborder td , div . noborder form div {
2012-06-23 15:44:02 +02:00
padding : 1 px 2 px 2 px 1 px ; /* t r b l */
2010-06-26 02:16:59 +02:00
}
2007-04-30 10:35:47 +02:00
table . nobordernopadding {
border - collapse : collapse ;
border : 0 px ;
}
2010-06-26 02:16:59 +02:00
table . nobordernopadding tr {
2007-04-30 10:35:47 +02:00
border : 0 px ;
padding : 0 px 0 px ;
}
2010-06-26 02:16:59 +02:00
table . nobordernopadding td {
2009-10-17 01:25:15 +02:00
border : 0 px ;
padding : 0 px 0 px ;
}
2007-04-30 10:35:47 +02:00
2010-06-26 02:16:59 +02:00
/* For lists */
2007-04-30 10:35:47 +02:00
table . liste {
2011-09-03 01:57:26 +02:00
width : 100 % ;
border - collapse : collapse ;
border - top - color : #FEFEFE;
2010-06-26 02:16:59 +02:00
2011-09-03 01:57:26 +02:00
border - left - width : 1 px ;
border - left - color : #BBBBBB;
border - left - style : solid ;
2011-07-20 21:03:31 +02:00
2011-09-03 01:57:26 +02:00
border - right - width : 1 px ;
border - right - color : #BBBBBB;
border - right - style : solid ;
2010-06-26 02:16:59 +02:00
2011-09-03 01:57:26 +02:00
border - bottom - width : 1 px ;
border - bottom - color : #BBBBBB;
border - bottom - style : solid ;
2010-06-26 02:16:59 +02:00
2011-09-03 01:57:26 +02:00
margin - bottom : 2 px ;
margin - top : 0 px ;
2011-07-20 21:03:31 +02:00
2011-09-03 01:57:26 +02:00
- moz - box - shadow : 4 px 4 px 4 px #CCC;
- webkit - box - shadow : 4 px 4 px 4 px #CCC;
box - shadow : 4 px 4 px 4 px #CCC;
2010-06-26 02:16:59 +02:00
}
table . liste td {
2011-09-03 01:57:26 +02:00
padding - right : 2 px ;
2007-04-30 10:35:47 +02:00
}
2013-07-27 18:21:35 +02:00
. tagtable , . table - border { display : table ; }
. tagtr , . table - border - row { display : table - row ; }
. tagtd , . table - border - col , . table - key - border - col , . table - val - border - col { display : table - cell ; }
2013-06-16 12:00:18 +02:00
tr . liste_titre , tr . liste_titre_sel , form . liste_titre , form . liste_titre_sel
2011-09-03 01:57:26 +02:00
{
height : 24 px ;
2013-04-28 12:46:52 +02:00
}
2013-06-16 12:00:18 +02:00
div . liste_titre , tr . liste_titre , form . liste_titre
2013-04-28 12:46:52 +02:00
{
2013-10-07 16:59:38 +02:00
< ? php $usecss3 = 1 ; if ( $usecss3 ) { ?>
background : #82c6f9;
background - image : - o - linear - gradient ( bottom , rgba ( 100 , 100 , 100 , 0.3 ) 0 % , rgba ( 150 , 150 , 150 , 0.3 ) 100 % );
background - image : - moz - linear - gradient ( bottom , rgba ( 100 , 100 , 100 , 0.3 ) 0 % , rgba ( 150 , 150 , 150 , 0.3 ) 100 % );
background - image : - webkit - linear - gradient ( bottom , rgba ( 100 , 100 , 100 , 0.3 ) 0 % , rgba ( 1 , 150 , 150 , 0.3 ) 100 % );
background - image : - ms - linear - gradient ( bottom , rgba ( 100 , 100 , 100 , 0.3 ) 0 % , rgba ( 150 , 150 , 150 , 0.3 ) 100 % );
background - image : linear - gradient ( bottom , rgba ( 1 , 100 , 100 , 0.3 ) 0 % , rgba ( 150 , 150 , 150 , 0.3 ) 100 % );
font - weight : bold ;
border - top : 1 px solid ;
border - top - color : #57a0c9 !important;
border - bottom : 1 px solid ;
border - bottom - color : #57a0c9 !important;
< ? php } else { ?>
background : #82c6e9;
2011-09-03 01:57:26 +02:00
background - image : url ( < ? php echo $img_liste_titre ?> );
2013-10-07 16:59:38 +02:00
< ? php } ?>
2011-09-03 01:57:26 +02:00
background - repeat : repeat - x ;
color : #FFFFFF;
font - family : < ? php print $fontlist ?> ;
/* border-bottom: 1px solid #FDFFFF; */
2011-09-07 21:01:18 +02:00
text - align : < ? php echo $left ; ?> ;
2007-04-30 10:35:47 +02:00
}
2011-09-03 01:57:26 +02:00
th . liste_titre , td . liste_titre
{
2013-10-07 16:59:38 +02:00
< ? php $usecss3 = 1 ; if ( $usecss3 ) { ?>
background : #82c6f9;
background - image : - o - linear - gradient ( bottom , rgba ( 100 , 100 , 100 , 0.3 ) 0 % , rgba ( 150 , 150 , 150 , 0.3 ) 100 % );
background - image : - moz - linear - gradient ( bottom , rgba ( 100 , 100 , 100 , 0.3 ) 0 % , rgba ( 150 , 150 , 150 , 0.3 ) 100 % );
background - image : - webkit - linear - gradient ( bottom , rgba ( 100 , 100 , 100 , 0.3 ) 0 % , rgba ( 1 , 150 , 150 , 0.3 ) 100 % );
background - image : - ms - linear - gradient ( bottom , rgba ( 100 , 100 , 100 , 0.3 ) 0 % , rgba ( 150 , 150 , 150 , 0.3 ) 100 % );
background - image : linear - gradient ( bottom , rgba ( 1 , 100 , 100 , 0.3 ) 0 % , rgba ( 150 , 150 , 150 , 0.3 ) 100 % );
font - weight : bold ;
border - top : 1 px solid #57a0c9;
border - bottom : 1 px solid #57a0c9;
< ? php } else { ?>
background : #82c6e9;
2011-09-03 01:57:26 +02:00
background - image : url ( < ? php echo $img_liste_titre ?> );
2013-10-07 16:59:38 +02:00
< ? php } ?>
2011-09-03 01:57:26 +02:00
background - repeat : repeat - x ;
font - family : < ? php print $fontlist ?> ;
font - weight : normal ;
/* border-bottom: 1px solid #FDFFFF; */
white - space : nowrap ;
2007-04-30 10:35:47 +02:00
}
2013-10-07 16:59:38 +02:00
th . liste_titre , td . liste_titre , th . liste_titre a , td . liste_titre a
{
color : #FFFFFF !important;
}
2011-09-03 01:57:26 +02:00
th . liste_titre_sel , td . liste_titre_sel
2007-05-01 20:17:15 +02:00
{
2013-10-07 16:59:38 +02:00
< ? php $usecss3 = 1 ; if ( $usecss3 ) { ?>
background : #82c6f9;
background - image : - o - linear - gradient ( bottom , rgba ( 100 , 100 , 100 , 0.3 ) 0 % , rgba ( 150 , 150 , 150 , 0.3 ) 100 % );
background - image : - moz - linear - gradient ( bottom , rgba ( 100 , 100 , 100 , 0.3 ) 0 % , rgba ( 150 , 150 , 150 , 0.3 ) 100 % );
background - image : - webkit - linear - gradient ( bottom , rgba ( 100 , 100 , 100 , 0.3 ) 0 % , rgba ( 1 , 150 , 150 , 0.3 ) 100 % );
background - image : - ms - linear - gradient ( bottom , rgba ( 100 , 100 , 100 , 0.3 ) 0 % , rgba ( 150 , 150 , 150 , 0.3 ) 100 % );
background - image : linear - gradient ( bottom , rgba ( 1 , 100 , 100 , 0.3 ) 0 % , rgba ( 150 , 150 , 150 , 0.3 ) 100 % );
font - weight : bold ;
border - top : 1 px solid #57a0c9;
border - bottom : 1 px solid #57a0c9;
< ? php } else { ?>
background : #82c6e9;
2011-09-03 01:57:26 +02:00
background - image : url ( < ? php echo $img_liste_titre ?> );
2013-10-07 16:59:38 +02:00
< ? php } ?>
2011-09-03 01:57:26 +02:00
background - repeat : repeat - x ;
font - family : < ? php print $fontlist ?> ;
font - weight : normal ;
/* text-decoration: underline; */
/* border-bottom: 1px solid #FDFFFF; */
white - space : nowrap ;
2007-04-30 10:35:47 +02:00
}
2013-10-07 16:59:38 +02:00
th . liste_titre_sel , td . liste_titre_sel , th . liste_titre_sel a , td . liste_titre_sel a
{
color : #FFFFFF !important;
}
2007-05-01 20:17:15 +02:00
input . liste_titre {
2013-06-23 12:43:06 +02:00
background : transparent ;
background - repeat : repeat - x ;
border : 0 px ;
2007-04-30 10:35:47 +02:00
}
2013-06-23 18:01:10 +02:00
tr . liste_total td , form . liste_total div {
2013-06-23 12:43:06 +02:00
border - top : 1 px solid #DDDDDD;
background : #F0F0F0;
background - repeat : repeat - x ;
color : #332266;
font - weight : normal ;
white - space : nowrap ;
2007-04-30 10:35:47 +02:00
}
2012-09-09 13:13:24 +02:00
. impair : hover {
2012-09-09 14:49:20 +02:00
< ? php if ( $colorbacklineimpairhover ) { ?>
background : rgb ( < ? php print $colorbacklineimpairhover ; ?> );
< ? php } ?>
border : 0 px ;
2012-09-09 13:13:24 +02:00
}
2012-09-09 14:49:20 +02:00
. impair , . nohover . impair : hover , tr . impair td . nohover {
background : #F5F6F7;
font - family : < ? php print $fontlist ?> ;
border : 0 px ;
2007-04-30 10:35:47 +02:00
}
2012-09-05 15:29:21 +02:00
2012-09-09 13:13:24 +02:00
. pair : hover {
2012-09-09 14:49:20 +02:00
< ? php if ( $colorbacklinepairhover ) { ?>
background : rgb ( < ? php print $colorbacklinepairhover ; ?> );
< ? php } ?>
border : 0 px ;
2007-04-30 10:35:47 +02:00
}
2012-09-05 15:29:21 +02:00
2012-09-09 14:49:20 +02:00
. pair , . nohover . pair : hover , tr . pair td . nohover {
background : #FBFCFC;
font - family : < ? php print $fontlist ?> ;
border : 0 px ;
2007-04-30 10:35:47 +02:00
}
2012-09-05 15:29:21 +02:00
2007-04-30 10:35:47 +02:00
2012-03-10 01:06:22 +01:00
/* Disable shadows */
2012-02-21 23:35:38 +01:00
. noshadow {
- moz - box - shadow : 0 px 0 px 0 px #CCC !important;
- webkit - box - shadow : 0 px 0 px 0 px #CCC !important;
box - shadow : 0 px 0 px 0 px #CCC !important;
2012-01-11 11:57:49 +01:00
}
2012-02-21 23:54:22 +01:00
div . tabBar . noborder {
- moz - box - shadow : 0 px 0 px 0 px #CCC !important;
- webkit - box - shadow : 0 px 0 px 0 px #CCC !important;
box - shadow : 0 px 0 px 0 px #CCC !important;
}
2010-06-26 02:16:59 +02:00
2007-04-30 10:35:47 +02:00
/*
* Boxes
*/
2009-10-29 18:30:29 +01:00
2013-07-19 15:29:40 +02:00
. boxstats {
< ? php print " float: " . $left . " ; \n " ; ?>
margin : 4 px ;
padding : 4 px ;
/*- moz - box - shadow : 4 px 4 px 4 px #DDD;
- webkit - box - shadow : 4 px 4 px 4 px #DDD;
box - shadow : 4 px 4 px 4 px #DDD;
margin - bottom : 8 px ! important ; */
border : 1 px solid #AAA;
text - align : center ;
border - radius : 5 px ;
}
2011-07-20 21:03:31 +02:00
. boxtable {
2011-08-22 20:24:28 +02:00
- moz - box - shadow : 4 px 4 px 4 px #CCC;
- webkit - box - shadow : 4 px 4 px 4 px #CCC;
box - shadow : 4 px 4 px 4 px #CCC;
2011-07-20 21:03:31 +02:00
}
2009-10-29 18:30:29 +01:00
. box {
2010-06-26 02:16:59 +02:00
padding - right : 0 px ;
padding - left : 0 px ;
padding - bottom : 4 px ;
2007-08-03 08:26:32 +02:00
}
2009-01-31 16:23:05 +01:00
2007-05-01 20:17:15 +02:00
tr . box_titre {
2010-07-11 14:29:46 +02:00
height : 24 px ;
2010-06-26 02:16:59 +02:00
background : #7699A9;
2011-08-17 16:29:14 +02:00
background - image : url ( < ? php echo $img_liste_titre ; ?> );
2010-06-26 02:16:59 +02:00
background - repeat : repeat - x ;
2007-04-30 10:35:47 +02:00
color : #FFFFFF;
2010-06-26 02:16:59 +02:00
font - family : < ? php print $fontlist ?> , sans-serif;
2007-04-30 10:35:47 +02:00
font - weight : normal ;
border - bottom : 1 px solid #FDFFFF;
2010-06-26 02:16:59 +02:00
white - space : nowrap ;
2007-04-30 10:35:47 +02:00
- moz - border - radius - topleft : 6 px ;
- moz - border - radius - topright : 6 px ;
}
2012-12-14 18:35:50 +01:00
tr . box_titre td . boxclose {
width : 30 px ;
}
2007-05-01 20:17:15 +02:00
tr . box_impair {
2010-06-26 02:16:59 +02:00
/* background: #e6ebed; */
2012-01-11 11:57:49 +01:00
background : #F5F6F7;
2010-06-26 02:16:59 +02:00
font - family : < ? php print $fontlist ?> ;
2007-04-30 10:35:47 +02:00
}
2007-05-01 20:17:15 +02:00
tr . box_pair {
2010-06-26 02:16:59 +02:00
/* background: #d0d4d7; */
2012-01-11 11:57:49 +01:00
background : #FBFCFC;
2010-06-26 02:16:59 +02:00
font - family : < ? php print $fontlist ?> ;
2007-04-30 10:35:47 +02:00
}
2012-01-11 11:57:49 +01:00
tr . box_pair td , tr . box_impair td , td . box_pair , td . box_impair
{
/*border-bottom: 1px solid white;*/
}
2013-07-29 17:32:43 +02:00
. formboxfilter {
vertical - align : middle ;
2013-08-20 11:51:24 +02:00
margin - bottom : 6 px ;
2013-07-29 17:32:43 +02:00
}
. formboxfilter input [ type = image ]
{
top : 3 px ;
position : relative ;
2010-06-26 02:16:59 +02:00
}
2007-04-30 10:35:47 +02:00
/*
* Ok , Warning , Error
*/
2010-06-27 13:59:51 +02:00
2007-04-30 10:35:47 +02:00
. ok { color : #114466; }
. warning { color : #887711; }
2012-11-17 19:55:19 +01:00
. error { color : #550000 !important; font-weight: bold; }
2007-04-30 10:35:47 +02:00
2011-05-26 08:17:17 +02:00
td . highlights { background : #f9c5c6; }
2007-04-30 10:35:47 +02:00
div . ok {
color : #114466;
}
div . warning {
color : #997711;
2010-06-26 02:16:59 +02:00
padding : 0.2 em 0.2 em 0.2 em 0.2 em ;
margin : 0.5 em 0 em 0.5 em 0 em ;
2010-06-27 13:59:51 +02:00
border : 1 px solid #c0c0d0;
2010-06-26 02:16:59 +02:00
- moz - border - radius : 6 px ;
background : #efefd4;
2007-04-30 10:35:47 +02:00
}
div . error {
2007-05-01 20:17:15 +02:00
color : #550000; font-weight: bold;
2007-04-30 10:35:47 +02:00
padding : 0.2 em 0.2 em 0.2 em 0.2 em ;
margin : 0.5 em 0 em 0.5 em 0 em ;
border : 1 px solid #8C9CAB;
2010-06-26 02:16:59 +02:00
- moz - border - radius : 6 px ;
2007-04-30 10:35:47 +02:00
}
2010-06-26 02:16:59 +02:00
/* Info admin */
div . info {
color : #707070;
2008-01-08 19:35:13 +01:00
padding : 0.2 em 0.2 em 0.2 em 0.2 em ;
margin : 0.5 em 0 em 0.5 em 0 em ;
2011-08-08 17:39:08 +02:00
border : 1 px solid #DFDFA0;
2010-06-26 02:16:59 +02:00
- moz - border - radius : 6 px ;
2011-08-08 17:39:08 +02:00
background : #EFEFD4;
2008-01-08 19:35:13 +01:00
}
2007-04-30 10:35:47 +02:00
/*
* Liens Payes / Non payes
*/
2007-05-01 20:17:15 +02:00
a . normal : link { font - weight : normal }
2007-04-30 10:35:47 +02:00
a . normal : visited { font - weight : normal }
a . normal : active { font - weight : normal }
a . normal : hover { font - weight : normal }
a . impayee : link { font - weight : bold ; color : #550000; }
a . impayee : visited { font - weight : bold ; color : #550000; }
a . impayee : active { font - weight : bold ; color : #550000; }
a . impayee : hover { font - weight : bold ; color : #550000; }
/*
2010-06-26 02:16:59 +02:00
* Other
2007-04-30 10:35:47 +02:00
*/
2009-10-06 17:56:03 +02:00
2012-11-03 11:55:39 +01:00
. product_line_stock_ok { color : #002200; }
. product_line_stock_too_low { color : #664400; }
2010-02-04 20:54:58 +01:00
. fieldrequired { font - weight : bold ; color : #000055; }
2013-06-29 02:23:23 +02:00
. dolgraphtitle { margin - top : 6 px ; margin - bottom : 4 px ; }
. dolgraphtitlecssboxes { margin : 0 px ; }
2010-02-17 19:27:20 +01:00
. photo {
border : 0 px ;
/* filter:alpha(opacity=55); */
/* opacity:.55; */
}
2007-05-01 20:17:15 +02:00
div . titre {
2010-06-26 02:16:59 +02:00
font - family : < ? php print $fontlist ?> ;
2009-10-06 18:33:59 +02:00
font - weight : normal ;
2010-06-26 02:16:59 +02:00
color : #336666;
2009-10-06 18:33:59 +02:00
text - decoration : none ;
2009-10-06 17:56:03 +02:00
}
2007-04-30 10:35:47 +02:00
2012-03-10 01:06:22 +01:00
#dolpaymenttable { width: 600px; font-size: 13px; }
#tablepublicpayment { border: 1px solid #CCCCCC !important; width: 100%; }
#tablepublicpayment .CTableRow1 { background-color: #F0F0F0 !important; }
#tablepublicpayment tr.liste_total { border-bottom: 1px solid #CCCCCC !important; }
#tablepublicpayment tr.liste_total td { border-top: none; }
2010-06-26 02:16:59 +02:00
2010-01-05 14:30:38 +01:00
/* ============================================================================== */
2010-11-13 16:56:25 +01:00
/* Formulaire confirmation (When Ajax JQuery is used) */
/* ============================================================================== */
. ui - dialog - titlebar {
}
. ui - dialog - content {
font - size : < ? php print $fontsize ; ?> px !important;
}
/* ============================================================================== */
/* Formulaire confirmation (When HTML is used) */
2010-01-05 14:30:38 +01:00
/* ============================================================================== */
table . valid {
border - top : solid 1 px #E6E6E6;
border -< ? php print $left ; ?> : solid 1px #E6E6E6;
border -< ? php print $right ; ?> : solid 1px #444444;
border - bottom : solid 1 px #555555;
padding - top : 0 px ;
padding - left : 0 px ;
padding - right : 0 px ;
padding - bottom : 0 px ;
margin : 0 px 0 px ;
2010-06-26 02:16:59 +02:00
background : #D5BAA8;
2010-01-05 14:30:38 +01:00
}
. validtitre {
2010-06-26 02:16:59 +02:00
background : #D5BAA8;
2010-01-05 14:30:38 +01:00
font - weight : bold ;
}
2007-04-30 10:35:47 +02:00
2008-03-20 20:32:41 +01:00
2007-04-30 10:35:47 +02:00
/* ============================================================================== */
/* Tooltips */
/* ============================================================================== */
2010-10-23 15:19:01 +02:00
#tooltip {
2007-04-30 10:35:47 +02:00
position : absolute ;
2009-09-15 13:24:00 +02:00
width : < ? php print dol_size ( 450 , 'width' ); ?> px;
2010-06-26 02:16:59 +02:00
border - top : solid 1 px #BBBBBB;
border -< ? php print $left ; ?> : solid 1px #BBBBBB;
border -< ? php print $right ; ?> : solid 1px #444444;
border - bottom : solid 1 px #444444;
2007-04-30 10:35:47 +02:00
padding : 2 px ;
2010-10-23 15:19:01 +02:00
z - index : 3000 ;
background - color : #FFFFF0;
opacity : 1 ;
- moz - border - radius : 6 px ;
2007-04-30 10:35:47 +02:00
}
2010-10-23 15:19:01 +02:00
2007-04-30 10:35:47 +02:00
/* ============================================================================== */
/* Calendar */
/* ============================================================================== */
2011-05-21 18:06:25 +02:00
2014-03-30 15:58:41 +02:00
img . datecallink { padding - left : 2 px ! important ; padding - right : 2 px ! important ; }
2011-10-31 18:38:17 +01:00
. ui - datepicker - trigger {
vertical - align : middle ;
cursor : pointer ;
2011-05-21 18:06:25 +02:00
}
2007-05-01 20:17:15 +02:00
. bodyline {
2007-04-30 10:35:47 +02:00
- moz - border - radius : 8 px ;
2007-05-01 20:17:15 +02:00
border : 1 px #E4ECEC outset;
2010-06-26 02:16:59 +02:00
padding : 0 px ;
margin - bottom : 5 px ;
2011-05-30 14:35:46 +02:00
z - index : 3000 ;
2007-04-30 10:35:47 +02:00
}
2007-05-01 20:17:15 +02:00
table . dp {
2007-04-30 10:35:47 +02:00
width : 180 px ;
background - color : #FFFFFF;
border - top : solid 2 px #DDDDDD;
2010-06-26 02:16:59 +02:00
border -< ? php print $left ; ?> : solid 2px #DDDDDD;
border -< ? php print $right ; ?> : solid 1px #222222;
2007-04-30 10:35:47 +02:00
border - bottom : solid 1 px #222222;
2011-12-07 10:34:43 +01:00
padding : 0 px ;
border - spacing : 0 px ;
2012-03-10 01:06:22 +01:00
border - collapse : collapse ;
2007-04-30 10:35:47 +02:00
}
. dp td , . tpHour td , . tpMinute td { padding : 2 px ; font - size : 10 px ;}
2010-06-26 02:16:59 +02:00
/* Barre titre */
2007-05-01 20:17:15 +02:00
. dpHead , . tpHead , . tpHour td : Hover . tpHead {
2007-04-30 10:35:47 +02:00
font - weight : bold ;
background - color : #b3c5cc;
2007-05-01 20:17:15 +02:00
color : white ;
2007-04-30 10:35:47 +02:00
font - size : 11 px ;
cursor : auto ;
}
2010-06-26 02:16:59 +02:00
/* Barre navigation */
2007-04-30 10:35:47 +02:00
. dpButtons , . tpButtons {
text - align : center ;
2010-06-26 02:16:59 +02:00
background - color : #617389;
color : #FFFFFF;
font - weight : bold ;
2007-04-30 10:35:47 +02:00
border : 1 px outset black ;
2009-01-31 16:23:05 +01:00
cursor : pointer ;
2007-04-30 10:35:47 +02:00
}
. dpButtons : Active , . tpButtons : Active { border : 1 px outset black ;}
. dpDayNames td , . dpExplanation { background - color : #D9DBE1; font-weight:bold; text-align:center; font-size:11px;}
. dpExplanation { font - weight : normal ; font - size : 11 px ;}
. dpWeek td { text - align : center }
. dpToday , . dpReg , . dpSelected {
cursor : pointer ;
}
. dpToday { font - weight : bold ; color : black ; background - color : #DDDDDD;}
. dpReg : Hover , . dpToday : Hover { background - color : black ; color : white }
2010-06-26 02:16:59 +02:00
/* Jour courant */
2007-04-30 10:35:47 +02:00
. dpSelected { background - color : #0B63A2;color:white;font-weight:bold; }
. tpHour { border - top : 1 px solid #DDDDDD; border-right:1px solid #DDDDDD;}
. tpHour td { border - left : 1 px solid #DDDDDD; border-bottom:1px solid #DDDDDD; cursor:pointer;}
. tpHour td : Hover { background - color : black ; color : white ;}
. tpMinute { margin - top : 5 px ;}
. tpMinute td : Hover { background - color : black ; color : white ; }
. tpMinute td { background - color : #D9DBE1; text-align:center; cursor:pointer;}
2009-01-31 16:23:05 +01:00
2010-06-26 02:16:59 +02:00
/* Bouton X fermer */
2007-04-30 10:35:47 +02:00
. dpInvisibleButtons
{
border - style : none ;
background - color : transparent ;
padding : 0 px ;
font - size : 9 px ;
2010-06-26 02:16:59 +02:00
border - width : 0 px ;
2007-04-30 10:35:47 +02:00
color : #0B63A2;
vertical - align : middle ;
2007-05-01 20:17:15 +02:00
cursor : pointer ;
2007-04-30 10:35:47 +02:00
}
2010-06-26 02:16:59 +02:00
/* ============================================================================== */
/* Afficher/cacher */
/* ============================================================================== */
div . visible {
display : block ;
}
div . hidden {
display : none ;
}
tr . visible {
display : block ;
}
td . hidden {
display : none ;
}
2008-03-20 20:32:41 +01:00
/* ============================================================================== */
/* Module agenda */
/* ============================================================================== */
2013-02-19 13:24:32 +01:00
table . cal_month { border - spacing : 0 px ; }
2010-06-26 02:16:59 +02:00
. 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; }
. 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; }
. 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; }
. cal_today { background : #FFFFFF; border: solid 2px #6C7C7B; padding-<?php print $left; ?>: 2px; padding-<?php print $right; ?>: 1px; padding-top: 0px; padding-bottom: 0px; }
2008-04-16 03:04:12 +02:00
table . cal_event { border - collapse : collapse ; margin - bottom : 1 px ; }
2010-06-26 02:16:59 +02:00
table . cal_event td { border : 0 px ; padding -< ? php print $left ; ?> : 0px; padding-<?php print $right; ?>: 2px; padding-top: 0px; padding-bottom: 0px; }
2013-02-19 20:15:30 +01:00
ul . cal_event { padding - right : 2 px ; padding - top : 1 px ; border : none ; list - style - type : none ; margin : 0 auto ; padding - left : 0 px ; padding - start : 0 px ; - khtml - padding - start : 0 px ; - o - padding - start : 0 px ; - webkit - padding - start : 0 px ; - webkit - padding - start : 0 px ; }
2013-02-19 13:24:32 +01:00
li . cal_event { border : none ; list - style - type : none ; }
2008-05-26 02:11:31 +02:00
. cal_event a : link { color : #111111; font-size: 11px; font-weight: normal !important; }
. cal_event a : visited { color : #111111; font-size: 11px; font-weight: normal !important; }
. cal_event a : active { color : #111111; font-size: 11px; font-weight: normal !important; }
. cal_event a : hover { color : #111111; font-size: 11px; font-weight: normal !important; }
2008-03-20 20:32:41 +01:00
2007-05-06 00:20:57 +02:00
/* ============================================================================== */
2010-01-05 14:30:38 +01:00
/* Ajax - Liste deroulante de l'autocompletion */
2007-05-06 00:20:57 +02:00
/* ============================================================================== */
2010-10-11 14:06:43 +02:00
. ui - widget { font - family : Verdana , Arial , sans - serif ; font - size : 0.9 em ; }
2013-03-02 14:43:36 +01:00
. ui - autocomplete - loading { background : white url ( < ? php echo dol_buildpath ( $path . '/theme/' . $theme . '/img/working.gif' , 1 ) ?> ) right center no-repeat; }
2007-05-06 00:20:57 +02:00
2010-06-26 02:16:59 +02:00
2007-05-06 00:20:57 +02:00
/* ============================================================================== */
2011-10-26 09:28:00 +02:00
/* jQuery - jeditable */
2007-05-06 00:20:57 +02:00
/* ============================================================================== */
2012-03-12 16:33:16 +01:00
. editkey_textarea , . editkey_ckeditor , . editkey_string , . editkey_email , . editkey_numeric , . editkey_select , . editkey_autocomplete {
2013-03-02 14:43:36 +01:00
background : url ( < ? php echo dol_buildpath ( $path . '/theme/' . $theme . '/img/edit.png' , 1 ) ?> ) right top no-repeat;
2011-10-26 09:28:00 +02:00
cursor : pointer ;
2007-07-27 08:33:39 +02:00
}
2007-09-08 17:57:58 +02:00
2011-11-05 22:32:25 +01:00
. editkey_datepicker {
2013-03-02 14:43:36 +01:00
background : url ( < ? php echo dol_buildpath ( $path . '/theme/' . $theme . '/img/calendar.png' , 1 ) ?> ) right center no-repeat;
2011-10-28 16:28:55 +02:00
cursor : pointer ;
}
2012-03-12 16:33:16 +01:00
. editval_textarea . active : hover , . editval_ckeditor . active : hover , . editval_string . active : hover , . editval_email . active : hover , . editval_numeric . active : hover , . editval_select . active : hover , . editval_autocomplete . active : hover , . editval_datepicker . active : hover {
2011-11-05 22:32:25 +01:00
background : white ;
cursor : pointer ;
}
2012-03-12 16:33:16 +01:00
. viewval_textarea . active : hover , . viewval_ckeditor . active : hover , . viewval_string . active : hover , . viewval_email . active : hover , . viewval_numeric . active : hover , . viewval_select . active : hover , . viewval_autocomplete . active : hover , . viewval_datepicker . active : hover {
2012-02-22 15:04:06 +01:00
background : white ;
cursor : pointer ;
}
. viewval_hover {
2011-11-05 22:32:25 +01:00
background : white ;
}
2010-06-26 02:16:59 +02:00
/* ============================================================================== */
/* Admin Menu */
/* ============================================================================== */
2011-08-17 16:29:14 +02:00
/* CSS for treeview */
2013-02-20 10:37:52 +01:00
. treeview ul { background - color : transparent ! important ; margin - top : 0 ; }
. treeview li { background - color : transparent ! important ; padding : 0 0 0 16 px ! important ; min - height : 20 px ; }
. treeview . hover { color : black ! important ; }
2010-06-26 02:16:59 +02:00
2007-09-08 17:57:58 +02:00
/* ============================================================================== */
2010-06-26 02:16:59 +02:00
/* Show Excel tabs */
2007-09-08 17:57:58 +02:00
/* ============================================================================== */
. table_data
{
border - style : ridge ;
2007-09-10 08:28:12 +02:00
border : 1 px solid ;
2007-09-08 17:57:58 +02:00
}
. tab_base
{
background : #C5D0DD;
font - weight : bold ;
border - style : ridge ;
2007-09-10 08:28:12 +02:00
border : 1 px solid ;
2007-09-08 17:57:58 +02:00
cursor : pointer ;
}
. table_sub_heading
{
background : #CCCCCC;
font - weight : bold ;
border - style : ridge ;
2007-09-10 08:28:12 +02:00
border : 1 px solid ;
2007-09-08 17:57:58 +02:00
}
. table_body
{
background : #F0F0F0;
2007-09-09 18:30:13 +02:00
font - weight : normal ;
2007-09-08 17:57:58 +02:00
font - family : sans - serif ;
border - style : ridge ;
2007-09-10 08:28:12 +02:00
border : 1 px solid ;
2007-09-08 17:57:58 +02:00
border - spacing : 0 px ;
border - collapse : collapse ;
}
. tab_loaded
{
background : #222222;
color : white ;
font - weight : bold ;
border - style : groove ;
2007-09-10 08:28:12 +02:00
border : 1 px solid ;
2007-09-08 17:57:58 +02:00
cursor : pointer ;
2007-09-09 22:33:25 +02:00
}
2009-05-27 04:20:40 +02:00
2011-04-09 18:14:19 +02:00
2009-05-27 04:20:40 +02:00
/* ============================================================================== */
/* CSS for color picker */
/* ============================================================================== */
A . color , A . color : active , A . color : visited {
position : relative ;
display : block ;
text - decoration : none ;
width : 10 px ;
height : 10 px ;
line - height : 10 px ;
margin : 0 px ;
padding : 0 px ;
border : 1 px inset white ;
}
A . color : hover {
border : 1 px outset white ;
}
A . none , A . none : active , A . none : visited , A . none : hover {
position : relative ;
display : block ;
text - decoration : none ;
width : 10 px ;
height : 10 px ;
line - height : 10 px ;
margin : 0 px ;
padding : 0 px ;
cursor : default ;
2009-07-06 21:05:32 +02:00
border : 1 px solid #b3c5cc;
2009-05-27 04:20:40 +02:00
}
. tblColor {
display : none ;
}
. tdColor {
padding : 1 px ;
}
. tblContainer {
2010-06-26 02:16:59 +02:00
background - color : #b3c5cc;
2009-05-27 04:20:40 +02:00
}
. tblGlobal {
position : absolute ;
top : 0 px ;
left : 0 px ;
display : none ;
2010-06-26 02:16:59 +02:00
background - color : #b3c5cc;
2009-05-27 04:20:40 +02:00
border : 2 px outset ;
}
. tdContainer {
padding : 5 px ;
}
. tdDisplay {
width : 50 % ;
height : 20 px ;
line - height : 20 px ;
border : 1 px outset white ;
}
. tdDisplayTxt {
width : 50 % ;
height : 24 px ;
line - height : 12 px ;
2010-06-26 02:16:59 +02:00
font - family : < ? php print $fontlist ?> ;
2009-05-27 04:20:40 +02:00
font - size : 8 pt ;
color : black ;
text - align : center ;
}
. btnColor {
width : 100 % ;
2010-06-26 02:16:59 +02:00
font - family : < ? php print $fontlist ?> ;
2009-05-27 04:20:40 +02:00
font - size : 10 pt ;
padding : 0 px ;
margin : 0 px ;
}
. btnPalette {
width : 100 % ;
2010-06-26 02:16:59 +02:00
font - family : < ? php print $fontlist ?> ;
2009-05-27 04:20:40 +02:00
font - size : 8 pt ;
padding : 0 px ;
margin : 0 px ;
}
2010-08-22 20:02:32 +02:00
/* Style to overwrites JQuery styles */
. ui - menu . ui - menu - item a {
text - decoration : none ;
display : block ;
padding :. 2 em . 4 em ;
line - height : 1.5 ;
zoom : 1 ;
font - weight : normal ;
2011-02-05 01:51:12 +01:00
font - family :< ? php echo $fontlist ; ?> ;
2010-08-22 20:02:32 +02:00
font - size : 1 em ;
}
2011-02-05 01:51:12 +01:00
. ui - widget {
font - family :< ? php echo $fontlist ; ?> ;
font - size :< ? php echo $fontsize ; ?> px;
}
2013-06-23 18:01:10 +02:00
. ui - button { margin - left : - 1 px ; padding - top : 1 px ; }
2011-02-05 01:51:12 +01:00
. ui - button - icon - only . ui - button - text { height : 8 px ; }
. ui - button - icon - only . ui - button - text , . ui - button - icons - only . ui - button - text { padding : 2 px 0 px 6 px 0 px ; }
. ui - button - text
{
line - height : 1 em ! important ;
}
. ui - autocomplete - input { margin : 0 ; padding : 1 px ; }
2011-04-09 18:14:19 +02:00
/* ============================================================================== */
/* CKEditor */
/* ============================================================================== */
. cke_editor table , . cke_editor tr , . cke_editor td
{
border : 0 px solid #FF0000 !important;
}
2011-05-28 18:26:10 +02:00
span . cke_skin_kama { padding : 0 ! important ; }
2011-08-15 01:54:09 +02:00
a . cke_dialog_ui_button
{
font - family : < ? php print $fontlist ?> !important;
2011-08-17 16:29:14 +02:00
background - image : url ( < ? php echo $img_button ?> ) !important;
2011-08-15 01:54:09 +02:00
background - position : bottom ! important ;
border : 1 px solid #ACBCBB !important;
padding : 0.1 em 0.7 em ! important ;
margin : 0 em 0.5 em ! important ;
- moz - border - radius : 0 px 5 px 0 px 5 px ! important ;
- webkit - border - radius : 0 px 5 px 0 px 5 px ! important ;
border - radius : 0 px 5 px 0 px 5 px ! important ;
- moz - box - shadow : 4 px 4 px 4 px #CCC !important;
- webkit - box - shadow : 4 px 4 px 4 px #CCC !important;
box - shadow : 4 px 4 px 4 px #CCC !important;
}
2011-08-16 19:59:46 +02:00
. cke_dialog_ui_hbox_last
{
vertical - align : bottom ! important ;
}
2011-05-28 18:26:10 +02:00
2011-04-15 16:45:41 +02:00
2011-07-06 11:42:55 +02:00
/* ============================================================================== */
/* File upload */
/* ============================================================================== */
. template - upload {
height : 72 px ! important ;
}
2012-03-17 18:38:34 +01:00
2011-07-06 11:42:55 +02:00
2011-04-15 16:45:41 +02:00
/* ============================================================================== */
/* Test using div instead of tables */
/* ============================================================================== */
2011-04-16 10:05:01 +02:00
div . tablelines {
display : table ;
2011-04-15 16:45:41 +02:00
/* Joindre les bords des cellules */
2011-04-16 10:05:01 +02:00
border - collapse : collapse ;
2011-04-15 16:45:41 +02:00
/* Forcer le tableau à prendre la largeur écran */
2011-04-16 10:05:01 +02:00
width : 100 % ;
2011-04-15 16:45:41 +02:00
}
2011-04-15 17:47:42 +02:00
div . thead {
2011-04-15 16:45:41 +02:00
height : 24 px ;
background : #7699A9;
2013-03-02 14:43:36 +01:00
background - image : url ( < ? php echo dol_buildpath ( $path . '/theme/' . $theme . '/img/menus/trtitle.png' , 1 ); ?> );
2011-04-15 16:45:41 +02:00
background - repeat : repeat - x ;
color : #FFFFFF;
font - family : < ? php print $fontlist ?> ;
/* border-bottom: 1px solid #FDFFFF; */
white - space : nowrap ;
2011-04-16 10:05:01 +02:00
display : table - row - group ;
2011-04-15 17:47:42 +02:00
}
div . tfoot {
2011-04-16 10:05:01 +02:00
display : table - row - group ;
2011-04-15 17:47:42 +02:00
}
div . tbody {
2011-04-16 10:05:01 +02:00
display : table - row - group ;
2011-04-15 17:47:42 +02:00
}
div . tr {
2011-04-16 10:05:01 +02:00
display : table - row ;
2011-04-15 16:45:41 +02:00
}
div . td {
2011-04-16 10:05:01 +02:00
display : table - cell ;
2011-04-15 17:05:28 +02:00
text - align : right ;
2011-04-16 10:05:01 +02:00
padding : 5 px ;
width : 10 % ;
2011-04-15 17:05:28 +02:00
}
2011-04-16 10:05:01 +02:00
div . td . firstcol {
2011-04-15 17:05:28 +02:00
text - align : left ;
2011-04-16 10:05:01 +02:00
width : 65 % ;
2011-04-15 17:05:28 +02:00
}
2011-04-16 10:05:01 +02:00
div . td . endcol {
width : 5 px ;
2011-04-15 16:45:41 +02:00
}
div . end {
2011-04-16 10:05:01 +02:00
width : auto ;
}
div . dragClass {
color : #002255;
}
div . showDragHandle {
cursor : move ;
}
div . tdlineupdown {
2011-08-17 16:29:14 +02:00
background - image : url ( < ? php echo dol_buildpath ( $path . '/theme/' . $conf -> theme . '/img/grip.png' , 1 ); ?> );
2011-04-16 10:05:01 +02:00
background - repeat : no - repeat ;
background - position : center center ;
cursor : move ;
white - space : nowrap ;
2011-04-15 16:45:41 +02:00
}
2011-08-17 15:08:19 +02:00
2012-03-25 22:47:37 +02:00
/* ============================================================================== */
/* JSGantt */
/* ============================================================================== */
div . scroll2 {
2012-05-07 18:00:53 +02:00
width : < ? php print isset ( $_SESSION [ 'dol_screenwidth' ]) ? max ( $_SESSION [ 'dol_screenwidth' ] - 830 , 450 ) : '450' ; ?> px !important;
2012-03-25 22:47:37 +02:00
}
/* ============================================================================== */
/* jFileTree */
/* ============================================================================== */
. ecmfiletree {
width : 99 % ;
height : 99 % ;
background : #FFF;
padding - left : 2 px ;
font - weight : normal ;
}
. fileview {
width : 99 % ;
height : 99 % ;
background : #FFF;
padding - left : 2 px ;
padding - top : 4 px ;
font - weight : normal ;
}
div . filedirelem {
position : relative ;
display : block ;
text - decoration : none ;
}
ul . filedirelem {
padding : 2 px ;
margin : 0 5 px 5 px 5 px ;
}
ul . filedirelem li {
list - style : none ;
padding : 2 px ;
margin : 0 10 px 20 px 10 px ;
width : 160 px ;
height : 120 px ;
text - align : center ;
display : block ;
float : < ? php print $left ; ?> ;
border : solid 1 px #DDDDDD;
}
ui - layout - north {
}
ul . ecmjqft {
font - size : 11 px ;
line - height : 16 px ;
padding : 0 px ;
margin : 0 px ;
font - weight : normal ;
}
ul . ecmjqft li {
list - style : none ;
padding : 0 px ;
padding - left : 20 px ;
margin : 0 px ;
white - space : nowrap ;
display : block ;
}
ul . ecmjqft a {
line - height : 16 px ;
vertical - align : middle ;
color : #333;
padding : 0 px 0 px ;
font - weight : normal ;
display : inline - block ! important ;
/* float: left;*/
}
ul . ecmjqft a : active {
font - weight : bold ! important ;
}
ul . ecmjqft a : hover {
text - decoration : underline ;
}
div . ecmjqft {
vertical - align : middle ;
display : inline - block ! important ;
text - align : right ;
position : absolute ;
right : 8 px ;
}
/* Core Styles */
. ecmjqft LI . directory { font - weight : normal ; background : url ( < ? php echo dol_buildpath ( $path . '/theme/common/treemenu/folder2.png' , 1 ); ?> ) left top no-repeat; }
. ecmjqft LI . expanded { font - weight : normal ; background : url ( < ? php echo dol_buildpath ( $path . '/theme/common/treemenu/folder2-expanded.png' , 1 ); ?> ) left top no-repeat; }
. ecmjqft LI . wait { font - weight : normal ; background : url ( < ? php echo dol_buildpath ( '/theme/eldy/img/working.gif' , 1 ); ?> ) left top no-repeat; }
2012-03-26 00:14:42 +02:00
/* ============================================================================== */
/* jNotify */
/* ============================================================================== */
. jnotify - container {
position : fixed ! important ;
2012-09-15 10:01:35 +02:00
< ? php if ( ! empty ( $conf -> global -> MAIN_JQUERY_JNOTIFY_BOTTOM )) { ?>
2012-03-26 00:14:42 +02:00
top : auto ! important ;
bottom : 4 px ! important ;
< ? php } ?>
text - align : center ;
2013-04-24 04:06:13 +02:00
min - width : < ? php echo $dol_optimize_smallscreen ? '200' : '480' ; ?> px;
2012-03-26 00:14:42 +02:00
width : auto ;
padding - left : 10 px ! important ;
padding - right : 10 px ! important ;
}
2012-04-08 13:05:58 +02:00
/* ============================================================================== */
/* Maps */
/* ============================================================================== */
. divmap , #google-visualization-geomap-embed-0, #google-visualization-geomap-embed-1, google-visualization-geomap-embed-2 {
- moz - box - shadow : 0 px 0 px 10 px #AAA;
- webkit - box - shadow : 0 px 0 px 10 px #AAA;
box - shadow : 0 px 0 px 10 px #AAA;
}
2012-03-25 22:47:37 +02:00
2013-04-24 12:10:04 +02:00
2013-10-17 18:37:08 +02:00
/* ============================================================================== */
/* Datatable */
/* ============================================================================== */
2013-10-22 18:01:54 +02:00
. sorting_asc { background : url ( '<?php echo dol_buildpath(' / theme / '.$theme.' / img / sort_asc . png ',1); ?>' ) no - repeat center right ; }
. sorting_desc { background : url ( '<?php echo dol_buildpath(' / theme / '.$theme.' / img / sort_desc . png ',1); ?>' ) no - repeat center right ; }
. sorting_asc_disabled { background : url ( '<?php echo dol_buildpath(' / theme / '.$theme.' / img / sort_asc_disabled ',1); ?>' ) no - repeat center right ; }
. sorting_desc_disabled { background : url ( '<?php echo dol_buildpath(' / theme / '.$theme.' / img / sort_desc_disabled ',1); ?>' ) no - repeat center right ; }
2013-10-17 18:37:08 +02:00
2013-04-24 12:10:04 +02:00
/* ============================================================================== */
/* JMobile */
/* ============================================================================== */
2013-06-13 21:43:19 +02:00
li . ui - li - divider . ui - link {
color : #FFF !important;
}
2013-06-20 16:13:42 +02:00
. ui - btn {
margin : 0.1 em 2 px
}
2013-06-13 21:43:19 +02:00
a . ui - link , a . ui - link : hover , . ui - btn : hover , span . ui - btn - text : hover , span . ui - btn - inner : hover {
text - decoration : none ! important ;
}
. ui - btn - inner {
2013-06-19 18:08:05 +02:00
min - width : . 4 em ;
2013-06-13 21:43:19 +02:00
padding - left : 10 px ;
padding - right : 10 px ;
2013-06-19 18:08:05 +02:00
< ? php if ( empty ( $dol_use_jmobile ) || 1 == 1 ) { ?>
font - size : < ? php print $fontsize ?> px;
< ? php } ?>
2013-06-13 21:43:19 +02:00
/* white-space: normal; */ /* Warning, enable this break the truncate feature */
}
. ui - select . ui - btn - icon - right . ui - btn - inner {
padding - right : 36 px ;
}
2013-06-20 16:13:42 +02:00
. ui - select . ui - btn - icon - left . ui - btn - inner {
padding - left : 36 px ;
}
2013-06-13 21:43:19 +02:00
. fiche . ui - controlgroup {
margin : 0 px ;
padding - bottom : 0 px ;
}
div . ui - controlgroup - controls div . tabsElem
{
margin - top : 2 px ;
}
div . ui - controlgroup - controls div . tabsElem a
{
- moz - box - shadow : 0 - 3 px 6 px rgba ( 0 , 0 , 0 , . 2 );
- webkit - box - shadow : 0 - 3 px 6 px rgba ( 0 , 0 , 0 , . 2 );
box - shadow : 0 - 3 px 6 px rgba ( 0 , 0 , 0 , . 2 );
border : none ;
}
a . tab span . ui - btn - inner
{
border : none ;
padding : 0 ;
}
2013-04-24 12:10:04 +02:00
. ui - body - c {
2013-06-19 15:52:06 +02:00
border : 1 px solid #CCC;
2013-04-24 12:10:04 +02:00
text - shadow : none ;
}
2013-06-13 21:43:19 +02:00
. ui - link {
color : rgb ( < ? php print $colortext ; ?> ) !important;
}
2013-04-24 12:10:04 +02:00
2013-06-13 21:43:19 +02:00
a . ui - link {
word - wrap : break - word ;
2013-04-24 15:49:43 +02:00
}
2013-06-13 21:43:19 +02:00
/* force wrap possible onto field overflow does not works */
. formdoc . ui - btn - inner
{
white - space : normal ;
overflow : hidden ;
text - overflow : hidden ;
2013-04-24 15:49:43 +02:00
}
2013-06-13 21:43:19 +02:00
/* Warning: setting this may make screen not beeing refreshed after a combo selection */
. ui - body - c {
background : #fff;
2013-04-24 15:49:43 +02:00
}
2013-04-24 12:10:04 +02:00
2013-04-28 20:29:21 +02:00
div . ui - radio
{
display : inline - block ;
}
2013-06-26 14:38:56 +02:00
. ui - checkbox input , . ui - radio input {
2013-04-28 20:29:21 +02:00
height : auto ;
width : auto ;
2013-06-26 14:38:56 +02:00
margin : 4 px ;
2013-04-28 20:29:21 +02:00
position : static ;
}
2013-06-26 17:58:34 +02:00
div . ui - checkbox label + input , div . ui - radio label + input {
position : absolute ;
}
2013-06-19 14:03:54 +02:00
. ui - mobile fieldset
{
padding - bottom : 10 px ; margin - bottom : 4 px ; border - bottom : 1 px solid #AAAAAA !important;
}
2013-04-28 20:29:21 +02:00
2013-06-13 21:43:19 +02:00
2013-06-20 16:13:42 +02:00
ul . ulmenu {
border - radius : 0 ;
- webkit - border - radius : 0 ;
}
2013-06-23 14:37:09 +02:00
. ui - field - contain label . ui - input - text {
vertical - align : middle ! important ;
}
. ui - mobile fieldset {
border - bottom : none ! important ;
}
2013-10-27 00:04:57 +02:00
. ui - body - c , . ui - btn - up - c , . ui - btn - hover - c {
border : none ! important ;
}
2013-06-23 14:37:09 +02:00
2013-10-22 18:01:54 +02:00
/* Style for first level menu with jmobile */
. ui - bar - b , . lilevel0 {
background : #7699A9;
background - image : url ( < ? php echo $img_liste_titre ; ?> );
background - repeat : repeat - x ;
< ? php if ( $usecss3 ) { ?>
background - image : - o - linear - gradient ( bottom , rgba ( 0 , 0 , 0 , 0.3 ) 0 % , rgba ( 250 , 250 , 250 , 0.3 ) 100 % );
background - image : - moz - linear - gradient ( bottom , rgba ( 0 , 0 , 0 , 0.3 ) 0 % , rgba ( 250 , 250 , 250 , 0.3 ) 100 % );
background - image : - webkit - linear - gradient ( bottom , rgba ( 0 , 0 , 0 , 0.3 ) 0 % , rgba ( 250 , 250 , 250 , 0.3 ) 100 % );
background - image : - ms - linear - gradient ( bottom , rgba ( 0 , 0 , 0 , 0.3 ) 0 % , rgba ( 250 , 250 , 250 , 0.3 ) 100 % );
background - image : linear - gradient ( bottom , rgba ( 0 , 0 , 0 , 0.3 ) 0 % , rgba ( 250 , 250 , 250 , 0.3 ) 100 % );
font - weight : bold ;
< ? php } ?>
color : #FFF !important;
}
. alilevel0 {
color : #FFF !important;
text - shadow : 1 px 0 px 1 px #<?php echo $colorshadowtitle; ?>;
}
. alilevel1 {
color : #FFF !important;
text - shadow : 1 px 0 px 1 px #<?php echo $colorshadowtitle; ?>;
}
. lilevel1 {
background - image : - webkit - gradient ( linear , left top , left bottom , from ( #eee ),to( #e1e1e1 )) !important;
background - image : - webkit - linear - gradient ( #eee,#e1e1e1 ) !important;
background - image : - moz - linear - gradient ( #eee,#e1e1e1 ) !important;
background - image : - ms - linear - gradient ( #eee,#e1e1e1 ) !important;
background - image : - o - linear - gradient ( #eee,#e1e1e1 ) !important;
background - image : linear - gradient ( #eee,#e1e1e1 ) !important;
}
2011-08-17 15:08:19 +02:00
< ? php
if ( is_object ( $db )) $db -> close ();
2012-08-26 13:24:28 +02:00
?>