2006-06-05 20:26:46 +02:00
< ? php
2015-05-26 09:13:48 +02:00
/* Copyright ( C ) 2004 - 2015 Laurent Destailleur < eldy @ users . sourceforge . net >
2012-02-06 17:44:37 +01:00
* Copyright ( C ) 2006 Rodolphe Quiedeville < rodolphe @ quiedeville . org >
2012-12-30 15:13:49 +01:00
* Copyright ( C ) 2007 - 2012 Regis Houssin < regis . houssin @ capnetworks . com >
2012-02-06 17:44:37 +01:00
* Copyright ( C ) 2011 Philippe Grand < philippe . grand @ atoo - net . com >
2012-09-05 15:29:21 +02:00
* Copyright ( C ) 2012 Juanjo Menent < jmenent @ 2 byte . es >
2006-06-05 20:26:46 +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
2006-06-05 20:26:46 +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 />.
2006-06-05 20:26:46 +02:00
*/
2006-08-12 23:46:33 +02:00
/**
2010-06-25 21:52:11 +02:00
* \file htdocs / theme / eldy / style . css . php
2011-08-17 16:29:14 +02:00
* \brief File for CSS style sheet Eldy
2009-06-03 21:54:48 +02:00
*/
2006-06-05 20:26:46 +02:00
2012-01-15 19:07:01 +01:00
//if (! defined('NOREQUIREUSER')) define('NOREQUIREUSER','1'); // Not disabled because need to load personalized language
2010-03-13 17:27:11 +01:00
//if (! defined('NOREQUIREDB')) define('NOREQUIREDB','1'); // Not disabled to increase speed. Language code is found on url.
if ( ! defined ( 'NOREQUIRESOC' )) define ( 'NOREQUIRESOC' , '1' );
2012-01-15 19:07:01 +01:00
//if (! defined('NOREQUIRETRAN')) define('NOREQUIRETRAN','1'); // Not disabled because need to do translations
2010-03-13 17:27:11 +01:00
if ( ! defined ( 'NOCSRFCHECK' )) define ( 'NOCSRFCHECK' , 1 );
if ( ! defined ( 'NOTOKENRENEWAL' )) define ( 'NOTOKENRENEWAL' , 1 );
2012-01-15 23:48:25 +01:00
if ( ! defined ( 'NOLOGIN' )) define ( 'NOLOGIN' , 1 ); // File must be accessed by logon page so without login
2015-11-12 00:45:30 +01:00
//if (! defined('NOREQUIREMENU')) define('NOREQUIREMENU',1); // We need top menu content
2010-03-13 17:27:11 +01:00
if ( ! defined ( 'NOREQUIREHTML' )) define ( 'NOREQUIREHTML' , 1 );
if ( ! defined ( 'NOREQUIREAJAX' )) define ( 'NOREQUIREAJAX' , '1' );
2011-09-20 11:40:27 +02:00
session_cache_limiter ( FALSE );
2009-08-30 03:39:39 +02:00
2012-08-22 23:11:24 +02:00
require_once '../../main.inc.php' ;
2014-12-08 19:05:22 +01:00
require_once DOL_DOCUMENT_ROOT . '/core/lib/functions2.lib.php' ;
2006-06-05 20:26:46 +02:00
2012-01-15 23:48:25 +01:00
// Load user to have $user->conf loaded (not done into main because of NOLOGIN constant defined)
if ( empty ( $user -> id ) && ! empty ( $_SESSION [ 'dol_login' ])) $user -> fetch ( '' , $_SESSION [ 'dol_login' ]);
2006-08-12 23:46:33 +02:00
// Define css type
header ( 'Content-type: text/css' );
2014-04-22 23:49:33 +02:00
// Important: Following code is to avoid page request by browser and PHP CPU at 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-11 14:28:30 +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-11 14:28:30 +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' );
2010-04-14 22:21:47 +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 = 'eldy' ; // Value of theme
2013-03-30 14:27:13 +01:00
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
2014-04-22 23:49:33 +02:00
// Define image path files and other constants
2015-12-05 19:20:39 +01:00
$fontlist = 'roboto,arial,tahoma,verdana,helvetica' ; //$fontlist='helvetica, verdana, arial, sans-serif';
2014-10-03 01:48:14 +02:00
$img_head = '' ;
2013-03-02 14:43:36 +01:00
$img_button = dol_buildpath ( $path . '/theme/' . $theme . '/img/button_bg.png' , 1 );
2013-04-03 15:20:56 +02:00
$dol_hide_topmenu = $conf -> dol_hide_topmenu ;
2013-06-05 16:12:07 +02:00
$dol_hide_leftmenu = $conf -> dol_hide_leftmenu ;
$dol_optimize_smallscreen = $conf -> dol_optimize_smallscreen ;
$dol_no_mouse_hover = $conf -> dol_no_mouse_hover ;
$dol_use_jmobile = $conf -> dol_use_jmobile ;
2013-04-03 15:20:56 +02:00
2011-08-17 16:29:14 +02:00
2012-01-15 14:01:40 +01:00
//$conf->global->THEME_ELDY_ENABLE_PERSONALIZED=0;
//$user->conf->THEME_ELDY_ENABLE_PERSONALIZED=0;
2012-01-15 19:07:01 +01:00
//var_dump($user->conf->THEME_ELDY_RGB);
2012-01-15 14:01:40 +01:00
// Colors
2016-04-22 13:38:44 +02:00
$colorbackhmenu1 = '110,120,160' ; // topmenu
2015-10-02 15:37:32 +02:00
$colorbackvmenu1 = '255,255,255' ; // vmenu
2016-05-24 15:59:56 +02:00
$colortopbordertitle1 = '120,120,120' ; // top border of title
2016-04-22 11:11:08 +02:00
$colorbacktitle1 = '230,230,230' ; // title of tables,list
2015-04-25 22:20:10 +02:00
$colorbacktabcard1 = '255,255,255' ; // card
2015-10-02 15:37:32 +02:00
$colorbacktabactive = '234,234,234' ;
2014-12-15 10:40:39 +01:00
$colorbacklineimpair1 = '255,255,255' ; // line impair
$colorbacklineimpair2 = '255,255,255' ; // line impair
2015-11-15 18:23:42 +01:00
$colorbacklinepair1 = '248,248,248' ; // line pair
2015-10-02 15:37:32 +02:00
$colorbacklinepair2 = '248,248,248' ; // line pair
$colorbacklinepairhover = '238,246,252' ; // line pair
2015-09-27 01:59:48 +02:00
$colorbackbody = '255,255,255' ;
2015-12-13 14:39:12 +01:00
$colortexttitlenotab = '60,60,20' ;
2015-11-15 18:23:42 +01:00
$colortexttitle = '0,0,0' ;
$colortext = '0,0,0' ;
$colortextlink = '0,0,120' ;
2015-11-25 17:11:08 +01:00
$fontsize = '13' ;
2014-04-22 23:49:33 +02:00
$fontsizesmaller = '11' ;
2016-04-22 13:38:44 +02:00
$usegradienttop = ( isset ( $conf -> global -> THEME_ELDY_TOPMENU_BACK1 ) ? 0 : 1 );
$usegradienttitle = ( isset ( $conf -> global -> THEME_ELDY_BACKTITLE1 ) ? 0 : 1 );
$useboldtitle = ( isset ( $conf -> global -> THEME_ELDY_USEBOLDTITLE ) ? $conf -> global -> THEME_ELDY_USEBOLDTITLE : 1 );
2016-06-07 13:15:38 +02:00
$borderwith = 2 ;
2016-09-18 21:48:00 +02:00
$noborderline = 0 ;
2015-10-02 11:58:19 +02:00
// Case of option always editable
2015-12-13 14:39:12 +01:00
if ( ! isset ( $conf -> global -> THEME_ELDY_BACKBODY )) $conf -> global -> THEME_ELDY_BACKBODY = $colorbackbody ;
2016-04-22 13:38:44 +02:00
if ( ! isset ( $conf -> global -> THEME_ELDY_TOPMENU_BACK1 )) $conf -> global -> THEME_ELDY_TOPMENU_BACK1 = $colorbackhmenu1 ;
2015-12-13 14:39:12 +01:00
if ( ! isset ( $conf -> global -> THEME_ELDY_BACKTITLE1 )) $conf -> global -> THEME_ELDY_BACKTITLE1 = $colorbacktitle1 ;
2016-04-22 21:02:20 +02:00
if ( ! isset ( $conf -> global -> THEME_ELDY_USE_HOVER )) $conf -> global -> THEME_ELDY_USE_HOVER = $colorbacklinepairhover ;
2015-12-13 14:39:12 +01:00
if ( ! isset ( $conf -> global -> THEME_ELDY_TEXTTITLENOTAB )) $conf -> global -> THEME_ELDY_TEXTTITLENOTAB = $colortexttitlenotab ;
if ( ! isset ( $conf -> global -> THEME_ELDY_TEXTLINK )) $conf -> global -> THEME_ELDY_TEXTLINK = $colortextlink ;
2015-10-02 11:58:19 +02:00
2015-11-15 18:23:42 +01:00
// Case of option editable only if option THEME_ELDY_ENABLE_PERSONALIZED is on
2012-01-15 14:01:40 +01:00
if ( empty ( $conf -> global -> THEME_ELDY_ENABLE_PERSONALIZED ))
2012-01-14 00:39:58 +01:00
{
2013-04-24 03:56:13 +02:00
$conf -> global -> THEME_ELDY_VERMENU_BACK1 = '255,255,255' ; // vmenu
2015-10-02 15:37:32 +02:00
$conf -> global -> THEME_ELDY_BACKTABCARD1 = '255,255,255' ; // card
2013-04-24 03:56:13 +02:00
$conf -> global -> THEME_ELDY_BACKTABACTIVE = '234,234,234' ;
2014-08-14 13:26:59 +02:00
$conf -> global -> THEME_ELDY_LINEIMPAIR1 = '255,255,255' ;
$conf -> global -> THEME_ELDY_LINEIMPAIR2 = '255,255,255' ;
2015-11-15 18:23:42 +01:00
$conf -> global -> THEME_ELDY_LINEPAIR1 = '248,248,248' ;
2014-12-15 10:31:40 +01:00
$conf -> global -> THEME_ELDY_LINEPAIR2 = '248,248,248' ;
$conf -> global -> THEME_ELDY_LINEPAIRHOVER = '238,246,252' ;
2015-10-14 23:50:36 +02:00
$conf -> global -> THEME_ELDY_TEXT = '0,0,0' ;
2015-11-25 17:11:08 +01:00
$conf -> global -> THEME_ELDY_FONT_SIZE1 = '13' ;
2014-12-08 19:05:22 +01:00
$conf -> global -> THEME_ELDY_FONT_SIZE2 = '11' ;
2012-01-14 00:39:58 +01:00
}
2015-12-13 14:39:12 +01:00
2015-10-02 15:37:32 +02:00
// Case of option availables only if THEME_ELDY_ENABLE_PERSONALIZED is on
$colorbackhmenu1 = empty ( $user -> conf -> THEME_ELDY_ENABLE_PERSONALIZED ) ? ( empty ( $conf -> global -> THEME_ELDY_TOPMENU_BACK1 ) ? $colorbackhmenu1 : $conf -> global -> THEME_ELDY_TOPMENU_BACK1 ) : ( empty ( $user -> conf -> THEME_ELDY_TOPMENU_BACK1 ) ? $colorbackhmenu1 : $user -> conf -> THEME_ELDY_TOPMENU_BACK1 );
2013-07-28 17:02:13 +02:00
$colorbackvmenu1 = empty ( $user -> conf -> THEME_ELDY_ENABLE_PERSONALIZED ) ? ( empty ( $conf -> global -> THEME_ELDY_VERMENU_BACK1 ) ? $colorbackvmenu1 : $conf -> global -> THEME_ELDY_VERMENU_BACK1 ) : ( empty ( $user -> conf -> THEME_ELDY_VERMENU_BACK1 ) ? $colorbackvmenu1 : $user -> conf -> THEME_ELDY_VERMENU_BACK1 );
2016-05-24 15:59:56 +02:00
$colortopbordertitle1 = empty ( $user -> conf -> THEME_ELDY_ENABLE_PERSONALIZED ) ? ( empty ( $conf -> global -> THEME_ELDY_TOPBORDER_TITLE1 ) ? $colortopbordertitle1 : $conf -> global -> THEME_ELDY_TOPBORDER_TITLE1 ) : ( empty ( $user -> conf -> THEME_ELDY_TOPBORDER_TITLE1 ) ? $colortopbordertitle1 : $user -> conf -> THEME_ELDY_TOPBORDER_TITLE1 );
2012-01-15 14:01:40 +01:00
$colorbacktitle1 = empty ( $user -> conf -> THEME_ELDY_ENABLE_PERSONALIZED ) ? ( empty ( $conf -> global -> THEME_ELDY_BACKTITLE1 ) ? $colorbacktitle1 : $conf -> global -> THEME_ELDY_BACKTITLE1 ) : ( empty ( $user -> conf -> THEME_ELDY_BACKTITLE1 ) ? $colorbacktitle1 : $user -> conf -> THEME_ELDY_BACKTITLE1 );
$colorbacktabcard1 = empty ( $user -> conf -> THEME_ELDY_ENABLE_PERSONALIZED ) ? ( empty ( $conf -> global -> THEME_ELDY_BACKTABCARD1 ) ? $colorbacktabcard1 : $conf -> global -> THEME_ELDY_BACKTABCARD1 ) : ( empty ( $user -> conf -> THEME_ELDY_BACKTABCARD1 ) ? $colorbacktabcard1 : $user -> conf -> THEME_ELDY_BACKTABCARD1 );
$colorbacktabactive = empty ( $user -> conf -> THEME_ELDY_ENABLE_PERSONALIZED ) ? ( empty ( $conf -> global -> THEME_ELDY_BACKTABACTIVE ) ? $colorbacktabactive : $conf -> global -> THEME_ELDY_BACKTABACTIVE ) : ( empty ( $user -> conf -> THEME_ELDY_BACKTABACTIVE ) ? $colorbacktabactive : $user -> conf -> THEME_ELDY_BACKTABACTIVE );
$colorbacklineimpair1 = empty ( $user -> conf -> THEME_ELDY_ENABLE_PERSONALIZED ) ? ( empty ( $conf -> global -> THEME_ELDY_LINEIMPAIR1 ) ? $colorbacklineimpair1 : $conf -> global -> THEME_ELDY_LINEIMPAIR1 ) : ( empty ( $user -> conf -> THEME_ELDY_LINEIMPAIR1 ) ? $colorbacklineimpair1 : $user -> conf -> THEME_ELDY_LINEIMPAIR1 );
$colorbacklineimpair2 = empty ( $user -> conf -> THEME_ELDY_ENABLE_PERSONALIZED ) ? ( empty ( $conf -> global -> THEME_ELDY_LINEIMPAIR2 ) ? $colorbacklineimpair2 : $conf -> global -> THEME_ELDY_LINEIMPAIR2 ) : ( empty ( $user -> conf -> THEME_ELDY_LINEIMPAIR2 ) ? $colorbacklineimpair2 : $user -> conf -> THEME_ELDY_LINEIMPAIR2 );
$colorbacklinepair1 = empty ( $user -> conf -> THEME_ELDY_ENABLE_PERSONALIZED ) ? ( empty ( $conf -> global -> THEME_ELDY_LINEPAIR1 ) ? $colorbacklinepair1 : $conf -> global -> THEME_ELDY_LINEPAIR1 ) : ( empty ( $user -> conf -> THEME_ELDY_LINEPAIR1 ) ? $colorbacklinepair1 : $user -> conf -> THEME_ELDY_LINEPAIR1 );
$colorbacklinepair2 = empty ( $user -> conf -> THEME_ELDY_ENABLE_PERSONALIZED ) ? ( empty ( $conf -> global -> THEME_ELDY_LINEPAIR2 ) ? $colorbacklinepair2 : $conf -> global -> THEME_ELDY_LINEPAIR2 ) : ( empty ( $user -> conf -> THEME_ELDY_LINEPAIR2 ) ? $colorbacklinepair2 : $user -> conf -> THEME_ELDY_LINEPAIR2 );
2015-10-02 15:37:32 +02:00
$colorbacklinepairhover = empty ( $user -> conf -> THEME_ELDY_ENABLE_PERSONALIZED ) ? ( empty ( $conf -> global -> THEME_ELDY_LINEPAIRHOVER ) ? $colorbacklinepairhover : $conf -> global -> THEME_ELDY_LINEPAIRHOVER ) : ( empty ( $user -> conf -> THEME_ELDY_LINEPAIRHOVER ) ? $colorbacklinepairhover : $user -> conf -> THEME_ELDY_LINEPAIRHOVER );
2012-01-15 17:40:44 +01:00
$colorbackbody = empty ( $user -> conf -> THEME_ELDY_ENABLE_PERSONALIZED ) ? ( empty ( $conf -> global -> THEME_ELDY_BACKBODY ) ? $colorbackbody : $conf -> global -> THEME_ELDY_BACKBODY ) : ( empty ( $user -> conf -> THEME_ELDY_BACKBODY ) ? $colorbackbody : $user -> conf -> THEME_ELDY_BACKBODY );
2015-12-13 14:39:12 +01:00
$colortexttitlenotab = empty ( $user -> conf -> THEME_ELDY_ENABLE_PERSONALIZED ) ? ( empty ( $conf -> global -> THEME_ELDY_TEXTTITLENOTAB ) ? $colortexttitlenotab : $conf -> global -> THEME_ELDY_TEXTTITLENOTAB ) : ( empty ( $user -> conf -> THEME_ELDY_TEXTTITLENOTAB ) ? $colortexttitlenotab : $user -> conf -> THEME_ELDY_TEXTTITLENOTAB );
$colortexttitle = empty ( $user -> conf -> THEME_ELDY_ENABLE_PERSONALIZED ) ? ( empty ( $conf -> global -> THEME_ELDY_TEXTTITLE ) ? $colortexttitle : $conf -> global -> THEME_ELDY_TEXTTITLE ) : ( empty ( $user -> conf -> THEME_ELDY_TEXTTITLE ) ? $colortexttitle : $user -> conf -> THEME_ELDY_TEXTTITLE );
2012-01-15 17:40:44 +01:00
$colortext = empty ( $user -> conf -> THEME_ELDY_ENABLE_PERSONALIZED ) ? ( empty ( $conf -> global -> THEME_ELDY_TEXT ) ? $colortext : $conf -> global -> THEME_ELDY_TEXT ) : ( empty ( $user -> conf -> THEME_ELDY_TEXT ) ? $colortext : $user -> conf -> THEME_ELDY_TEXT );
2015-12-13 14:39:12 +01:00
$colortextlink = empty ( $user -> conf -> THEME_ELDY_ENABLE_PERSONALIZED ) ? ( empty ( $conf -> global -> THEME_ELDY_TEXTLINK ) ? $colortextlink : $conf -> global -> THEME_ELDY_TEXTLINK ) : ( empty ( $user -> conf -> THEME_ELDY_TEXTLINK ) ? $colortextlink : $user -> conf -> THEME_ELDY_TEXTLINK );
2012-02-06 16:16:42 +01:00
$fontsize = empty ( $user -> conf -> THEME_ELDY_ENABLE_PERSONALIZED ) ? ( empty ( $conf -> global -> THEME_ELDY_FONT_SIZE1 ) ? $fontsize : $conf -> global -> THEME_ELDY_FONT_SIZE1 ) : ( empty ( $user -> conf -> THEME_ELDY_FONT_SIZE1 ) ? $fontsize : $user -> conf -> THEME_ELDY_FONT_SIZE1 );
$fontsizesmaller = empty ( $user -> conf -> THEME_ELDY_ENABLE_PERSONALIZED ) ? ( empty ( $conf -> global -> THEME_ELDY_FONT_SIZE2 ) ? $fontsize : $conf -> global -> THEME_ELDY_FONT_SIZE2 ) : ( empty ( $user -> conf -> THEME_ELDY_FONT_SIZE2 ) ? $fontsize : $user -> conf -> THEME_ELDY_FONT_SIZE2 );
2015-09-29 15:58:24 +02:00
// Hover color
$colorbacklinepairhover = (( ! isset ( $conf -> global -> THEME_ELDY_USE_HOVER ) || ( string ) $conf -> global -> THEME_ELDY_USE_HOVER === '0' ) ? '' : ( $conf -> global -> THEME_ELDY_USE_HOVER === '1' ? 'edf4fb' : $conf -> global -> THEME_ELDY_USE_HOVER ));
if ( ! empty ( $user -> conf -> THEME_ELDY_ENABLE_PERSONALIZED ))
2012-09-09 14:49:20 +02:00
{
2015-09-29 15:58:24 +02:00
$colorbacklinepairhover = (( ! isset ( $user -> conf -> THEME_ELDY_USE_HOVER ) || $user -> conf -> THEME_ELDY_USE_HOVER === '0' ) ? '' : ( $user -> conf -> THEME_ELDY_USE_HOVER === '1' ? 'edf4fb' : $user -> conf -> THEME_ELDY_USE_HOVER ));
2012-09-09 14:49:20 +02:00
}
2012-01-14 00:39:58 +01:00
2016-05-24 15:59:56 +02:00
//$colortopbordertitle1=$colorbackhmenu1;
2016-05-22 14:31:34 +02:00
2015-10-14 23:50:36 +02:00
// Set text color to black or white
$tmppart = explode ( ',' , $colorbackhmenu1 );
$tmpval = ( ! empty ( $tmppart [ 1 ]) ? $tmppart [ 1 ] : '' ) + ( ! empty ( $tmppart [ 2 ]) ? $tmppart [ 2 ] : '' ) + ( ! empty ( $tmppart [ 3 ]) ? $tmppart [ 3 ] : '' );
if ( $tmpval <= 360 ) $colortextbackhmenu = 'FFFFFF' ;
else $colortextbackhmenu = '000000' ;
$tmppart = explode ( ',' , $colorbackvmenu1 );
$tmpval = ( ! empty ( $tmppart [ 1 ]) ? $tmppart [ 1 ] : '' ) + ( ! empty ( $tmppart [ 2 ]) ? $tmppart [ 2 ] : '' ) + ( ! empty ( $tmppart [ 3 ]) ? $tmppart [ 3 ] : '' );
if ( $tmpval <= 360 ) { $colortextbackvmenu = 'FFFFFF' ; }
else { $colortextbackvmenu = '000000' ; }
$tmppart = explode ( ',' , $colorbacktitle1 );
if ( $colortexttitle == '' )
{
$tmpval = ( ! empty ( $tmppart [ 1 ]) ? $tmppart [ 1 ] : '' ) + ( ! empty ( $tmppart [ 2 ]) ? $tmppart [ 2 ] : '' ) + ( ! empty ( $tmppart [ 3 ]) ? $tmppart [ 3 ] : '' );
if ( $tmpval <= 360 ) { $colortexttitle = 'FFFFFF' ; $colorshadowtitle = '888888' ; }
else { $colortexttitle = '000000' ; $colorshadowtitle = 'FFFFFF' ; }
}
$tmppart = explode ( ',' , $colorbacktabcard1 );
$tmpval = ( ! empty ( $tmppart [ 1 ]) ? $tmppart [ 1 ] : '' ) + ( ! empty ( $tmppart [ 2 ]) ? $tmppart [ 2 ] : '' ) + ( ! empty ( $tmppart [ 3 ]) ? $tmppart [ 3 ] : '' );
if ( $tmpval <= 340 ) { $colortextbacktab = 'FFFFFF' ; }
else { $colortextbacktab = '111111' ; }
2014-12-08 19:05:22 +01:00
// Format color value to match expected format (may be 'FFFFFF' or '255,255,255')
2015-06-12 16:29:50 +02:00
$colorbackhmenu1 = join ( ',' , colorStringToArray ( $colorbackhmenu1 ));
2015-06-12 14:37:27 +02:00
$colorbackvmenu1 = join ( ',' , colorStringToArray ( $colorbackvmenu1 ));
2015-10-02 15:37:32 +02:00
$colorbacktitle1 = join ( ',' , colorStringToArray ( $colorbacktitle1 ));
2014-12-08 19:05:22 +01:00
$colorbacktabcard1 = join ( ',' , colorStringToArray ( $colorbacktabcard1 ));
2015-10-02 15:37:32 +02:00
$colorbacktabactive = join ( ',' , colorStringToArray ( $colorbacktabactive ));
$colorbacklineimpair1 = join ( ',' , colorStringToArray ( $colorbacklineimpair1 ));
$colorbacklineimpair2 = join ( ',' , colorStringToArray ( $colorbacklineimpair2 ));
$colorbacklinepair1 = join ( ',' , colorStringToArray ( $colorbacklinepair1 ));
$colorbacklinepair2 = join ( ',' , colorStringToArray ( $colorbacklinepair2 ));
2015-09-29 15:58:24 +02:00
if ( $colorbacklinepairhover != '' ) $colorbacklinepairhover = join ( ',' , colorStringToArray ( $colorbacklinepairhover ));
2015-10-02 15:37:32 +02:00
$colorbackbody = join ( ',' , colorStringToArray ( $colorbackbody ));
2015-12-13 14:39:12 +01:00
$colortexttitlenotab = join ( ',' , colorStringToArray ( $colortexttitlenotab ));
2015-10-14 23:50:36 +02:00
$colortexttitle = join ( ',' , colorStringToArray ( $colortexttitle ));
2015-10-03 10:00:06 +02:00
$colortext = join ( ',' , colorStringToArray ( $colortext ));
2015-11-15 11:31:09 +01:00
$colortextlink = join ( ',' , colorStringToArray ( $colortextlink ));
2014-12-08 19:05:22 +01:00
2015-12-04 12:12:12 +01:00
$nbtopmenuentries = $menumanager -> showmenu ( 'topnb' );
2012-01-14 00:39:58 +01:00
print '/*' . " \n " ;
2015-06-12 14:37:27 +02:00
print 'colorbackbody=' . $colorbackbody . " \n " ;
print 'colorbackvmenu1=' . $colorbackvmenu1 . " \n " ;
print 'colorbackhmenu1=' . $colorbackhmenu1 . " \n " ;
print 'colorbacktitle1=' . $colorbacktitle1 . " \n " ;
2012-01-14 00:39:58 +01:00
print 'colorbacklineimpair1=' . $colorbacklineimpair1 . " \n " ;
print 'colorbacklineimpair2=' . $colorbacklineimpair2 . " \n " ;
2012-01-15 14:01:40 +01:00
print 'colorbacklinepair1=' . $colorbacklinepair1 . " \n " ;
print 'colorbacklinepair2=' . $colorbacklinepair2 . " \n " ;
2012-09-09 14:49:20 +02:00
print 'colorbacklinepairhover=' . $colorbacklinepairhover . " \n " ;
2015-12-13 14:39:12 +01:00
print '$colortexttitlenotab=' . $colortexttitlenotab . " \n " ;
2015-10-14 23:50:36 +02:00
print '$colortexttitle=' . $colortexttitle . " \n " ;
print '$colortext=' . $colortext . " \n " ;
2015-11-15 11:31:09 +01:00
print '$colortextlink=' . $colortextlink . " \n " ;
2016-03-12 16:19:01 +01:00
print '$colortextbackhmenu=' . $colortextbackhmenu . " \n " ;
print '$colortextbackvmenu=' . $colortextbackvmenu . " \n " ;
2013-04-03 15:20:56 +02:00
print 'dol_hide_topmenu=' . $dol_hide_topmenu . " \n " ;
print 'dol_hide_leftmenu=' . $dol_hide_leftmenu . " \n " ;
print 'dol_optimize_smallscreen=' . $dol_optimize_smallscreen . " \n " ;
print 'dol_no_mouse_hover=' . $dol_no_mouse_hover . " \n " ;
print 'dol_use_jmobile=' . $dol_use_jmobile . " \n " ;
2014-07-27 14:13:25 +02:00
print 'dol_screenwidth=' . $_SESSION [ 'dol_screenwidth' ] . " \n " ;
print 'dol_screenheight=' . $_SESSION [ 'dol_screenheight' ] . " \n " ;
2015-11-25 17:11:08 +01:00
print 'fontsize=' . $fontsize . " \n " ;
2015-12-04 12:12:12 +01:00
print 'nbtopmenuentries=' . $nbtopmenuentries . " \n " ;
2012-01-14 00:39:58 +01:00
print '*/' . " \n " ;
2006-06-05 20:26:46 +02:00
?>
/* ============================================================================== */
2013-04-21 17:56:29 +02:00
/* Default styles */
2006-06-05 20:26:46 +02:00
/* ============================================================================== */
2013-10-22 18:01:54 +02:00
2006-06-05 20:26:46 +02:00
body {
2013-11-30 02:31:17 +01:00
< ? php if ( GETPOST ( " optioncss " ) == 'print' ) { ?>
2009-08-19 18:39:08 +02:00
background - color : #FFFFFF;
< ? php } else { ?>
2015-06-12 14:37:27 +02:00
background : rgb ( < ? php print $colorbackbody ; ?> );
2009-08-19 18:39:08 +02:00
< ? php } ?>
2015-11-13 00:19:11 +01:00
color : rgb ( < ? php echo $colortext ; ?> );
2009-10-06 17:56:03 +02:00
font - size : < ? php print $fontsize ?> px;
2013-06-19 15:52:06 +02:00
font - family : < ? php print $fontlist ?> ;
2006-06-05 20:26:46 +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 " ; ?>
2006-06-05 20:26:46 +02:00
}
2015-11-15 18:23:42 +01:00
th a , . thumbstat , a . tab { color : rgb ( < ? php print $colortexttitle ; ?> ) !important; font-weight: bold !important; }
a . tab { font - weight : bold ! important ; }
2013-04-24 13:39:39 +02:00
2015-11-15 18:23:42 +01:00
a : link , a : visited , a : hover , a : active { font - family : < ? php print $fontlist ?> ; font-weight: normal; color: rgb(<?php print $colortextlink; ?>); text-decoration: none; }
2015-11-15 11:31:09 +01:00
a : hover { text - decoration : underline ; color : rgb ( < ? php print $colortextlink ; ?> ); }
2010-04-07 12:08:57 +02:00
2016-11-05 03:27:56 +01:00
input , input . flat , textarea , textarea . flat , form . flat select , select , select . flat , . dataTables_length label select {
background - color : #FFF;
}
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;
}
2014-08-21 14:17:27 +02:00
textarea . cke_source : focus
{
box - shadow : none ;
}
2013-06-19 15:52:06 +02:00
2015-05-03 20:07:16 +02:00
input , input . flat , textarea , textarea . flat , form . flat select , select , select . flat , . dataTables_length label select {
2010-09-29 12:10:33 +02:00
font - size : < ? php print $fontsize ?> px;
2015-04-18 19:01:33 +02:00
font - family : < ? php print $fontlist ?> ;
2012-03-26 18:23:08 +02:00
border : 1 px solid #C0C0C0;
2006-06-05 20:26:46 +02:00
margin : 0 px 0 px 0 px 0 px ;
}
2013-06-19 15:52:06 +02:00
2012-04-28 16:40:15 +02:00
input , textarea , select {
2016-09-21 00:29:19 +02:00
border - radius : 2 px ;
2012-04-28 16:40:15 +02:00
border : solid 1 px rgba ( 0 , 0 , 0 , . 3 );
border - top : solid 1 px rgba ( 0 , 0 , 0 , . 3 );
border - bottom : solid 1 px rgba ( 0 , 0 , 0 , . 2 );
2013-11-30 02:31:17 +01:00
/* box-shadow: 1px 1px 1px rgba(0,0,0,.2) inset;*/
2014-12-07 23:51:36 +01:00
padding : 4 px ;
2015-04-03 17:17:02 +02:00
margin - left : 0 px ;
2012-04-28 16:40:15 +02:00
margin - bottom : 1 px ;
margin - top : 1 px ;
}
2015-05-22 12:21:36 +02:00
input . removedassigned {
padding : 2 px ! important ;
vertical - align : text - bottom ;
margin - bottom : - 3 px ;
}
2016-01-21 14:53:12 +01:00
input . smallpadd { /* Used for timesheet input */
2015-12-04 15:37:28 +01:00
padding - left : 0 px ! important ;
padding - right : 0 px ! important ;
}
2016-04-07 13:06:22 +02:00
input . buttongen {
vertical - align : middle ;
}
2016-01-21 14:53:12 +01:00
span . timesheetalreadyrecorded input {
/*font-size: smaller;*/
border : none ;
/*background: transparent;*/
}
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 ;
}
2016-05-30 01:30:28 +02:00
. optiongrey , . opacitymedium {
2016-01-18 12:57:24 +01:00
opacity : 0.5 ;
}
2016-03-30 16:07:48 +02:00
. opacityhigh {
opacity : 0.2 ;
}
. opacitytransp {
opacity : 0 ;
}
2016-01-18 12:57:24 +01:00
select : invalid { color : gray ; }
2011-02-02 01:08:38 +01:00
input : disabled {
2011-08-13 02:47:59 +02:00
background : #ddd;
2011-02-02 01:08:38 +01:00
}
2013-06-19 14:03:54 +02:00
2012-05-09 14:50:28 +02:00
input . liste_titre {
box - shadow : none ! important ;
}
2013-01-07 00:40:18 +01:00
input . removedfile {
padding : 0 px ! important ;
border : 0 px ! important ;
2015-05-30 19:50:07 +02:00
vertical - align : text - bottom ;
2013-01-07 00:40:18 +01:00
}
2011-02-02 01:08:38 +01:00
textarea : disabled {
2011-08-13 02:47:59 +02:00
background : #ddd;
2011-02-02 01:08:38 +01:00
}
2016-10-30 12:39:51 +01:00
input [ type = file ] { background - color : transparent ; border - top : none ; border - left : none ; border - right : none ; box - shadow : none ; }
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-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; }
2016-10-30 12:39:51 +01:00
:- moz - placeholder { color : #bbb; } /* firefox 18- */
::- moz - placeholder { color : #bbb; } /* firefox 19+ */
:- ms - input - placeholder { color : #ccc; } /* ie */
2013-06-26 14:38:56 +02:00
input :- moz - placeholder { color : #ccc; }
2013-04-28 20:29:21 +02:00
2013-06-19 14:03:54 +02:00
< ? php if ( ! empty ( $dol_use_jmobile )) { ?>
legend { margin - bottom : 8 px ; }
< ? php } ?>
2016-04-22 11:11:08 +02:00
fieldset { border : 1 px solid #AAAAAA !important; }
2013-06-19 14:03:54 +02:00
2013-06-19 15:52:06 +02:00
2016-05-01 17:01:38 +02:00
. button , . buttonDelete , input [ name = " sbmtConnexion " ] {
2010-05-13 02:32:01 +02:00
font - family : < ? php print $fontlist ?> ;
2014-10-03 11:27:12 +02:00
border - color : #c5c5c5;
border - color : rgba ( 0 , 0 , 0 , 0.15 ) rgba ( 0 , 0 , 0 , 0.15 ) rgba ( 0 , 0 , 0 , 0.25 );
display : inline - block ;
padding : 4 px 14 px ;
margin - bottom : 0 ;
2015-03-23 14:53:21 +01:00
margin - top : 0 ;
2014-10-03 11:27:12 +02:00
text - align : center ;
cursor : pointer ;
2016-04-04 15:20:21 +02:00
color : #333333 !important;
text - decoration : none ! important ;
2014-10-03 11:27:12 +02:00
text - shadow : 0 1 px 1 px rgba ( 255 , 255 , 255 , 0.75 );
background - color : #f5f5f5;
background - image : - moz - linear - gradient ( top , #ffffff, #e6e6e6);
background - image : - webkit - gradient ( linear , 0 0 , 0 100 % , from ( #ffffff), to(#e6e6e6));
background - image : - webkit - linear - gradient ( top , #ffffff, #e6e6e6);
background - image : - o - linear - gradient ( top , #ffffff, #e6e6e6);
background - image : linear - gradient ( to bottom , #ffffff, #e6e6e6);
background - repeat : repeat - x ;
filter : progid : DXImageTransform . Microsoft . gradient ( startColorstr = '#ffffffff' , endColorstr = '#ffe6e6e6' , GradientType = 0 );
border - color : #e6e6e6 #e6e6e6 #bfbfbf;
border - color : rgba ( 0 , 0 , 0 , 0.1 ) rgba ( 0 , 0 , 0 , 0.1 ) rgba ( 0 , 0 , 0 , 0.25 );
filter : progid : DXImageTransform . Microsoft . gradient ( enabled = false );
border : 1 px solid #bbbbbb;
border - bottom - color : #a2a2a2;
2016-09-21 00:29:19 +02:00
- webkit - border - radius : 2 px ;
- moz - border - radius : 2 px ;
border - radius : 2 px ;
2014-10-03 11:27:12 +02:00
- webkit - box - shadow : inset 0 1 px 0 rgba ( 255 , 255 , 255 , 0.2 ), 0 1 px 2 px rgba ( 0 , 0 , 0 , 0.05 );
- moz - box - shadow : inset 0 1 px 0 rgba ( 255 , 255 , 255 , 0.2 ), 0 1 px 2 px rgba ( 0 , 0 , 0 , 0.05 );
box - shadow : inset 0 1 px 0 rgba ( 255 , 255 , 255 , 0.2 ), 0 1 px 2 px rgba ( 0 , 0 , 0 , 0.05 );
2006-06-05 20:26:46 +02:00
}
2016-05-01 17:01:38 +02:00
. button : focus , . buttonDelete : focus {
2014-10-03 11:27:12 +02:00
- moz - box - shadow : 0 px 0 px 6 px 1 px rgba ( 0 , 0 , 60 , 0.2 ), 0 px 0 px 0 px rgba ( 60 , 60 , 60 , 0.1 );
- webkit - box - shadow : 0 px 0 px 6 px 1 px rgba ( 0 , 0 , 60 , 0.2 ), 0 px 0 px 0 px rgba ( 60 , 60 , 60 , 0.1 );
box - shadow : 0 px 0 px 6 px 1 px rgba ( 0 , 0 , 60 , 0.2 ), 0 px 0 px 0 px rgba ( 60 , 60 , 60 , 0.1 );
2011-08-13 02:47:59 +02:00
}
2016-05-01 17:01:38 +02:00
. button : hover , . buttonDelete : hover {
2014-10-03 11:27:12 +02:00
- moz - box - shadow : 0 px 0 px 6 px 1 px rgba ( 0 , 0 , 0 , 0.2 ), 0 px 0 px 0 px rgba ( 60 , 60 , 60 , 0.1 );
- webkit - box - shadow : 0 px 0 px 6 px 1 px rgba ( 0 , 0 , 0 , 0.2 ), 0 px 0 px 0 px rgba ( 60 , 60 , 60 , 0.1 );
box - shadow : 0 px 0 px 6 px 1 px rgba ( 0 , 0 , 0 , 0.2 ), 0 px 0 px 0 px rgba ( 60 , 60 , 60 , 0.1 );
2008-01-11 11:03:47 +01:00
}
2016-05-01 17:01:38 +02:00
. button : disabled , . buttonDelete : disabled {
2014-10-03 11:27:12 +02:00
opacity : 0.4 ;
filter : alpha ( opacity = 40 ); /* For IE8 and earlier */
box - shadow : none ;
- webkit - box - shadow : none ;
- moz - box - shadow : none ;
cursor : auto ;
2007-05-26 03:48:20 +02:00
}
2015-03-08 02:08:26 +01:00
. buttonRefused {
pointer - events : none ;
2015-03-13 14:24:32 +01:00
cursor : default ;
2015-03-08 02:08:26 +01:00
opacity : 0.4 ;
filter : alpha ( opacity = 40 ); /* For IE8 and earlier */
box - shadow : none ;
- webkit - box - shadow : none ;
- moz - box - shadow : none ;
}
2010-04-07 12:08:57 +02:00
form {
2013-04-21 17:56:29 +02:00
padding : 0 px ;
margin : 0 px ;
2007-05-01 21:11:07 +02:00
}
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-07-26 14:59:18 +02:00
. inline - block
2013-04-03 18:37:54 +02:00
{
display : inline - block ;
}
2013-04-03 15:20:56 +02:00
2011-11-14 18:37:04 +01:00
th . button {
- moz - box - shadow : none ! important ;
- webkit - box - shadow : none ! important ;
box - shadow : none ! important ;
- moz - border - radius : 0 px ! important ;
- webkit - border - radius : 0 px ! important ;
2011-12-16 20:06:16 +01:00
border - radius : 0 px ! important ;
2011-11-14 18:37:04 +01:00
}
2015-06-30 13:14:19 +02:00
. maxwidthsearch { /* Max width of column with the search picto */
width : 54 px ;
}
2016-04-04 15:20:21 +02:00
. valigntop {
vertical - align : top ;
}
2012-03-25 22:47:37 +02:00
. valignmiddle {
vertical - align : middle ;
}
2016-02-10 17:45:26 +01:00
. valignbottom {
vertical - align : bottom ;
}
2012-09-22 20:27:06 +02:00
. centpercent {
width : 100 % ;
}
2016-03-13 20:38:16 +01:00
. quatrevingtpercent , . inputsearch {
width : 80 % ;
}
2016-03-30 00:06:55 +02:00
. soixantepercent {
width : 60 % ;
}
2015-02-21 12:57:17 +01:00
textarea . centpercent {
width : 96 % ;
}
2013-02-24 14:57:49 +01:00
. center {
text - align : center ;
2015-07-20 20:31:19 +02:00
margin : 0 px auto ;
2013-02-24 14:57:49 +01:00
}
. 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 ;
}
2014-09-06 00:32:54 +02:00
. cursorpointer {
cursor : pointer ;
}
2014-10-19 19:57:42 +02:00
. badge {
display : inline - block ;
min - width : 10 px ;
padding : 2 px 5 px ;
font - size : 10 px ;
font - weight : 700 ;
line - height : 0.9 em ;
color : #fff;
text - align : center ;
white - space : nowrap ;
vertical - align : baseline ;
background - color : #777;
border - radius : 10 px ;
}
2015-01-25 17:49:11 +01:00
. movable {
cursor : move ;
}
2014-11-07 23:25:39 +01:00
. borderrightlight
{
border - right : 1 px solid #DDD;
}
2015-05-15 03:52:29 +02:00
#formuserfile {
margin - top : 4 px ;
}
2015-03-22 21:18:25 +01:00
#formuserfile_link {
margin - left : 1 px ;
}
2015-06-03 11:55:39 +02:00
. listofinvoicetype {
height : 28 px ;
vertical - align : middle ;
}
2015-06-08 15:07:37 +02:00
div . divsearchfield {
float : < ? php print $left ; ?> ;
margin -< ? php print $right ; ?> : 12px;
2015-10-09 12:30:16 +02:00
margin -< ? php print $left ; ?> : 2px;
2015-10-13 14:09:14 +02:00
margin - top : 4 px ;
margin - bottom : 4 px ;
2015-10-09 12:30:16 +02:00
padding - left : 2 px ;
2015-06-08 15:07:37 +02:00
}
2015-06-22 17:20:06 +02:00
div . confirmmessage {
padding - top : 6 px ;
}
2015-12-19 03:47:02 +01:00
div . myavailability {
padding - top : 6 px ;
}
2015-09-22 01:25:06 +02:00
. googlerefreshcal {
padding - top : 4 px ;
padding - bottom : 4 px ;
}
2016-02-07 19:55:41 +01:00
. checkallactions {
vertical - align : top ;
2016-09-08 10:09:14 +02:00
margin - top : 6 px ;
margin - left : 4 px ;
2016-02-07 19:55:41 +01:00
}
2016-02-09 11:56:12 +01:00
. selectlimit {
margin - right : 10 px ! important ;
}
2016-03-03 20:19:40 +01:00
. strikefordisabled {
text - decoration : line - through ;
}
2016-03-04 11:25:54 +01:00
. tdoverflow {
max - width : 0 ;
overflow : hidden ;
text - overflow : ellipsis ;
white - space : nowrap ;
}
2016-07-09 16:54:04 +02:00
. tdoverflowmax100 {
max - width : 100 px ;
overflow : hidden ;
text - overflow : ellipsis ;
white - space : nowrap ;
}
. tdoverflowmax300 {
max - width : 300 px ;
overflow : hidden ;
text - overflow : ellipsis ;
white - space : nowrap ;
}
2016-04-05 11:24:58 +02:00
. tdoverflowauto {
max - width : 0 ;
overflow : auto ;
}
2016-06-06 22:07:35 +02:00
. tablelistofcalendars {
margin - top : 25 px ! important ;
}
2016-09-21 01:25:34 +02:00
. amountalreadypaid {
2016-10-16 21:29:12 +02:00
}
. amountpaymentcomplete {
2016-09-21 01:25:34 +02:00
color : #008800;
font - weight : bold ;
}
. amountremaintopay {
color : #880000;
font - weight : bold ;
}
2016-10-16 18:28:09 +02:00
. savingdocmask {
margin - top : 6 px ;
margin - bottom : 12 px ;
}
2016-03-04 11:25:54 +01:00
2016-06-09 01:33:26 +02:00
/* DOL_XXX for future usage (when left menu has been removed). If we do not use datatable */
. table - responsive {
width : calc ( 100 % - 330 px );
margin - bottom : 15 px ;
overflow - y : hidden ;
- ms - overflow - style : - ms - autohiding - scrollbar ;
}
2015-05-21 01:32:56 +02:00
2011-08-15 19:43:40 +02:00
/* ============================================================================== */
/* Styles to hide objects */
/* ============================================================================== */
2011-05-16 11:27:29 +02:00
2015-05-06 00:29:39 +02:00
. clearboth { clear : both ; }
2011-05-16 11:27:29 +02:00
. hideobject { display : none ; }
2016-06-22 15:09:27 +02:00
. minwidth50 { min - width : 50 px ; }
2016-09-21 00:29:19 +02:00
/* rule to reduce top menu - 3rd reduction */
@ media only screen and ( min - width : < ? php echo round ( $nbtopmenuentries * $fontsize * 3.4 , 0 ) + 7 ; ?> px)
{
. minwidth100 { min - width : 100 px ; }
. minwidth200 { min - width : 200 px ; }
. minwidth300 { min - width : 300 px ; }
. minwidth400 { min - width : 400 px ; }
. minwidth500 { min - width : 500 px ; }
. minwidth50imp { min - width : 50 px ! important ; }
. minwidth100imp { min - width : 100 px ! important ; }
. minwidth200imp { min - width : 200 px ! important ; }
. minwidth300imp { min - width : 300 px ! important ; }
. minwidth400imp { min - width : 400 px ! important ; }
. minwidth500imp { min - width : 500 px ! important ; }
}
2016-11-05 03:27:56 +01:00
. maxwidth50 { max - width : 50 px ; }
2015-02-21 12:57:17 +01:00
. maxwidth100 { max - width : 100 px ; }
2015-11-13 14:16:45 +01:00
. maxwidth150 { max - width : 150 px ; }
2015-02-21 12:57:17 +01:00
. maxwidth200 { max - width : 200 px ; }
. maxwidth300 { max - width : 300 px ; }
2016-02-28 14:01:21 +01:00
. maxwidth400 { max - width : 400 px ; }
. maxwidth500 { max - width : 500 px ; }
2016-04-07 11:50:45 +02:00
. minheight20 { min - height : 20 px ; }
2016-04-23 16:51:22 +02:00
. minheight40 { min - height : 40 px ; }
2016-04-01 16:15:07 +02:00
. titlefieldcreate { width : 20 % ; }
2016-10-24 03:23:40 +02:00
. titlefield { width : 25 % ; }
. titlefieldmiddle { width : 50 % ; }
2016-04-01 16:15:07 +02:00
2016-11-05 03:27:56 +01:00
/* Force values for small screen 1400 */
2016-05-30 01:30:28 +02:00
@ media only screen and ( max - width : 1400 px )
{
. titlefield { width : 30 % ! important ; }
. titlefieldcreate { width : 30 % ! important ; }
2016-07-31 18:28:59 +02:00
. minwidth50imp { min - width : 50 px ! important ; }
. minwidth100imp { min - width : 100 px ! important ; }
. minwidth200imp { min - width : 200 px ! important ; }
. minwidth300imp { min - width : 300 px ! important ; }
. minwidth400imp { min - width : 300 px ! important ; }
. minwidth500imp { min - width : 300 px ! important ; }
}
2016-11-05 03:27:56 +01:00
/* Force values for small screen 1000 */
2016-10-28 18:05:46 +02:00
@ media only screen and ( max - width : 1000 px )
2016-07-31 18:28:59 +02:00
{
2016-08-24 20:17:33 +02:00
. maxwidthonsmartphone { max - width : 100 px ; }
2016-07-31 18:28:59 +02:00
. minwidth50imp { min - width : 50 px ! important ; }
. minwidth100imp { min - width : 50 px ! important ; }
. minwidth200imp { min - width : 100 px ! important ; }
. minwidth300imp { min - width : 100 px ! important ; }
. minwidth400imp { min - width : 100 px ! important ; }
. minwidth500imp { min - width : 100 px ! important ; }
2016-05-30 01:30:28 +02:00
}
2016-11-05 03:27:56 +01:00
/* Force values for small screen 570 */
2016-04-01 16:15:07 +02:00
@ media only screen and ( max - width : 570 px )
{
2016-11-05 03:27:56 +01:00
div . titre {
line - height : 2 em ;
}
input [ type = text ], select , textarea {
min - width : 20 px ;
min - height : 1.4 em ;
line - height : 1.4 em ;
margin : . 5 em 0 ;
padding : . 4 em . 1 em ;
border : 1 px solid #BBB;
}
2016-04-01 16:15:07 +02:00
. hideonsmartphone { display : none ; }
. noenlargeonsmartphone { width : 50 px ! important ; display : inline ! important ; }
. maxwidthonsmartphone { max - width : 100 px ; }
2016-11-05 03:27:56 +01:00
. maxwidth50onsmartphone { max - width : 50 px ; }
2016-04-01 16:15:07 +02:00
. maxwidth100onsmartphone { max - width : 100 px ; }
2016-08-17 11:47:39 +02:00
. maxwidth150onsmartphone { max - width : 150 px ; }
2016-04-01 16:15:07 +02:00
. maxwidth200onsmartphone { max - width : 200 px ; }
. maxwidth300onsmartphone { max - width : 300 px ; }
2016-06-22 15:09:27 +02:00
. maxwidth400onsmartphone { max - width : 400 px ; }
2016-07-31 18:28:59 +02:00
. minwidth50imp { min - width : 50 px ! important ; }
. minwidth100imp { min - width : 50 px ! important ; }
. minwidth200imp { min - width : 50 px ! important ; }
. minwidth300imp { min - width : 50 px ! important ; }
. minwidth400imp { min - width : 50 px ! important ; }
. minwidth500imp { min - width : 50 px ! important ; }
2016-04-01 16:15:07 +02:00
. titlefield { width : auto ; }
. titlefieldcreate { width : auto ; }
}
2011-05-16 11:27:29 +02:00
. linkobject { cursor : pointer ; }
2013-12-19 20:57:13 +01:00
< ? php if ( GETPOST ( " optioncss " ) == 'print' ) { ?>
. hideonprint { display : none ; }
< ? php } ?>
2011-02-02 01:08:38 +01:00
2011-11-14 15:46:44 +01:00
2011-08-15 19:43:40 +02:00
/* ============================================================================== */
/* Styles for dragging lines */
/* ============================================================================== */
2010-10-02 22:47:55 +02:00
2010-09-27 17:31:36 +02:00
. dragClass {
2010-10-02 22:47:55 +02:00
color : #002255;
2010-09-27 17:31:36 +02:00
}
td . showDragHandle {
2010-09-18 17:34:06 +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-28 20:00:59 +02:00
}
2006-06-05 20:26:46 +02:00
/* ============================================================================== */
/* Styles de positionnement des zones */
/* ============================================================================== */
2013-04-25 20:27:45 +02:00
#id-container {
2016-06-09 01:33:26 +02:00
display : table ; /* DOL_XXX Empeche fonctionnement correct du scroll horizontal sur tableau, avec datatable ou CSS */
2013-07-28 17:02:13 +02:00
table - layout : fixed ;
2013-04-25 20:27:45 +02:00
}
#id-right, #id-left {
2016-06-24 03:05:51 +02:00
padding - top : 16 px ;
2015-09-18 14:11:50 +02:00
padding - bottom : 8 px ;
2016-06-09 01:33:26 +02:00
display : table - cell ; /* DOL_XXX Empeche fonctionnement correct du scroll horizontal sur tableau, avec datatable ou CSS */
2013-07-28 17:02:13 +02:00
float : none ;
vertical - align : top ;
2013-04-25 20:27:45 +02:00
}
2015-10-09 17:21:38 +02:00
#id-right { /* This must stay id-right and not be replaced with echo $right */
2013-04-25 20:27:45 +02:00
width : 100 % ;
}
2015-09-21 15:18:29 +02:00
#id-left {
2015-09-22 11:24:31 +02:00
/* background - color : #fff;
2015-09-21 15:18:29 +02:00
border - right : 1 px #888 solid;
2015-09-22 11:24:31 +02:00
height : calc ( 100 % - 50 px ); */
2015-09-21 15:18:29 +02:00
}
2016-06-17 12:39:00 +02:00
. side - nav {
display : table - cell ;
border - right : 1 px solid #d0d0d0;
}
div . blockvmenulogo
{
border - bottom : 0 ! important ;
}
div . blockvmenupair , div . blockvmenuimpair , div . blockvmenubookmarks {
border - top : none ! important ;
border - left : none ! important ;
border - right : none ! important ;
border - bottom : 1 px solid #e0e0e0;
padding - left : 0 ! important ;
}
div . blockvmenuend {
border : none ! important ;
padding - left : 0 ! important ;
}
div . vmenu , td . vmenu {
padding - right : 6 px ! important ;
}
2016-06-19 16:07:34 +02:00
/* For smartphone (testmenuhider is on) */
2016-06-12 20:23:25 +02:00
< ? php if (( GETPOST ( 'testmenuhider' ) || ! empty ( $conf -> global -> MAIN_TESTMENUHIDER )) && empty ( $conf -> global -> MAIN_OPTIMIZEFORTEXTBROWSER )) { ?>
2016-06-10 18:41:10 +02:00
#id-container {
width : 100 % ;
}
2016-06-10 16:59:42 +02:00
. side - nav {
border - bottom : 1 px solid #BBB;
background : #FFF;
}
. side - nav {
position : absolute ;
z - index : 200 ;
2016-06-12 20:23:25 +02:00
display : none ;
2016-06-10 16:59:42 +02:00
}
2016-06-10 18:41:10 +02:00
div . blockvmenulogo
{
border - bottom : 0 ! important ;
}
div . blockvmenusearch {
2016-06-17 12:39:00 +02:00
padding - bottom : 12 px ! important ;
border - bottom : 1 px solid #e0e0e0;
2016-06-10 18:41:10 +02:00
}
2016-06-10 16:59:42 +02:00
div . blockvmenupair , div . blockvmenuimpair , div . blockvmenubookmarks , div . blockvmenuend {
border - top : none ! important ;
border - left : none ! important ;
border - right : none ! important ;
border - bottom : 1 px solid #e0e0e0;
2016-06-10 18:41:10 +02:00
padding - left : 0 ! important ;
2016-06-10 16:59:42 +02:00
}
div . vmenu , td . vmenu {
padding - right : 6 px ! important ;
}
2016-06-12 20:23:25 +02:00
div . fiche {
margin -< ? php print $left ; ?> : 6px !important;
margin -< ? php print $right ; ?> : 6px !important;
}
2016-06-10 16:59:42 +02:00
< ? php } ?>
2013-04-25 20:27:45 +02:00
2011-08-15 19:43:40 +02:00
div . fiche {
2016-04-12 13:38:41 +02:00
margin -< ? php print $left ; ?> : <?php print (GETPOST("optioncss") == 'print'?6:($dol_hide_leftmenu?'6':'20')); ?>px;
2016-01-03 16:23:23 +01:00
margin -< ? php print $right ; ?> : <?php print (GETPOST("optioncss") == 'print'?8:(empty($conf->dol_optimize_smallscreen)?'12':'6')); ?>px;
2016-06-19 16:07:34 +02:00
< ? php if ( ! empty ( $conf -> dol_hide_leftmenu ) && ! empty ( $conf -> dol_hide_topmenu )) print 'margin-top: 4px;' . " \n " ; ?>
< ? php if ( ! empty ( $conf -> dol_use_jmobile )) print ' margin-bottom: 10px;' . " \n " ; ?>
2006-06-05 20:26:46 +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 */
}
2016-01-18 11:48:02 +01:00
div . fichecenterbis {
margin - top : 8 px ;
}
2011-08-15 19:43:40 +02:00
div . fichethirdleft {
2014-07-27 20:56:26 +02:00
< ? php if ( $conf -> browser -> layout != 'phone' ) { print " float: " . $left . " ; \n " ; } ?>
2016-01-18 11:35:45 +01:00
< ? php if ( $conf -> browser -> layout != 'phone' ) { print " width: 50%; \n " ; } ?>
2014-07-27 20:56:26 +02:00
< ? php if ( $conf -> browser -> layout == 'phone' ) { print " padding-bottom: 6px; \n " ; } ?>
2011-08-15 19:43:40 +02:00
}
div . fichetwothirdright {
2014-07-27 20:56:26 +02:00
< ? php if ( $conf -> browser -> layout != 'phone' ) { print " float: " . $right . " ; \n " ; } ?>
2016-01-18 11:35:45 +01:00
< ? php if ( $conf -> browser -> layout != 'phone' ) { print " width: 50%; \n " ; } ?>
2014-07-27 20:56:26 +02:00
< ? php if ( $conf -> browser -> layout == 'phone' ) { print " padding-bottom: 6px \n " ; } ?>
2011-08-15 19:43:40 +02:00
}
div . fichehalfleft {
2014-07-27 20:56:26 +02:00
< ? php if ( $conf -> browser -> layout != 'phone' ) { print " float: " . $left . " ; \n " ; } ?>
< ? php if ( $conf -> browser -> layout != 'phone' ) { print " width: 50%; \n " ; } ?>
2007-04-30 10:39:55 +02:00
}
2011-08-15 19:43:40 +02:00
div . fichehalfright {
2014-07-27 20:56:26 +02:00
< ? php if ( $conf -> browser -> layout != 'phone' ) { print " float: " . $right . " ; \n " ; } ?>
< ? php if ( $conf -> browser -> layout != 'phone' ) { print " width: 50%; \n " ; } ?>
2011-08-15 19:43:40 +02:00
}
div . ficheaddleft {
2014-07-27 20:56:26 +02:00
< ? php if ( $conf -> browser -> layout != 'phone' ) { 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
}
2016-07-09 16:54:04 +02:00
/* Force values on one colum for small screen */
2016-10-28 18:05:46 +02:00
@ media only screen and ( max - width : 1000 px )
2016-02-19 15:28:43 +01:00
{
div . fiche {
2016-04-12 13:38:41 +02:00
margin -< ? php print $left ; ?> : <?php print (GETPOST("optioncss") == 'print'?6:($dol_hide_leftmenu?'6':'20')); ?>px;
2016-02-19 15:28:43 +01:00
margin -< ? php print $right ; ?> : <?php print (GETPOST("optioncss") == 'print'?8:6); ?>px;
< ? php if ( ! empty ( $conf -> dol_hide_leftmenu ) && ! empty ( $conf -> dol_hide_topmenu )) print 'margin-top: 4px;' ; ?>
}
div . fichecenter {
width : 100 % ;
clear : both ; /* This is to have div fichecenter that are true rectangles */
}
div . fichecenterbis {
margin - top : 8 px ;
}
div . fichethirdleft {
float : none ;
width : auto ;
padding - bottom : 6 px ;
}
div . fichetwothirdright {
float : none ;
width : auto ;
padding - bottom : 6 px ;
}
div . fichehalfleft {
float : none ;
width : auto ;
}
div . fichehalfright {
float : none ;
width : auto ;
}
div . ficheaddleft {
< ? php print " padding- " . $left . " : 0px; \n " ; ?>
margin - top : 10 px ;
}
}
2016-06-06 21:26:31 +02:00
/* For table into table into card */
div . ficheaddleft tr . liste_titre : first - child td table . nobordernopadding td {
padding : 0 0 0 0 ;
}
2016-07-28 19:02:23 +02:00
div . nopadding {
padding : 0 ! important ;
}
2016-06-06 21:26:31 +02:00
2013-08-08 14:36:35 +02:00
. containercenter {
2015-05-30 20:07:44 +02:00
display : table ;
margin : 0 px auto ;
2013-08-08 14:36:35 +02:00
}
2011-08-15 19:43:40 +02:00
2015-04-19 12:06:21 +02:00
#pictotitle {
2016-06-20 00:11:59 +02:00
margin -< ? php echo $right ; ?> : 8px;
2015-04-25 22:20:10 +02:00
margin - bottom : 4 px ;
2015-04-19 12:06:21 +02:00
}
2015-05-06 23:13:07 +02:00
. pictosubstatus {
padding - left : 2 px ;
padding - right : 2 px ;
}
2016-09-10 16:09:01 +02:00
. pictostatus {
width : 15 px ;
vertical - align : middle ;
margin - top : - 3 px
}
2016-08-05 12:18:51 +02:00
. pictowarning , . pictopreview {
padding -< ? php echo $left ; ?> : 3px;
2015-05-30 19:50:07 +02:00
}
2015-05-30 20:07:44 +02:00
. colorthumb {
padding - left : 1 px ! important ;
padding - right : 1 px ;
padding - top : 1 px ;
padding - bottom : 1 px ;
2015-12-19 13:55:27 +01:00
width : 44 px ;
2015-05-30 20:07:44 +02:00
}
2015-09-11 08:32:40 +02:00
div . attacharea {
padding - top : 10 px ;
padding - bottom : 10 px ;
}
2007-04-30 10:39:55 +02:00
2015-10-10 01:51:12 +02:00
div . arearef {
/*border-bottom: 1px solid #bbb;*/
padding - top : 2 px ;
padding - bottom : 5 px ;
/* padding - right : 3 px ;
padding - left : 2 px ; */
margin - bottom : 10 px ;
}
div . heightref {
2016-02-16 12:45:18 +01:00
min - height : 80 px ;
2015-10-10 01:51:12 +02:00
}
div . divphotoref {
2015-10-11 16:32:46 +02:00
padding - right : 20 px ;
2015-10-10 01:51:12 +02:00
}
div . statusref {
float : right ;
2016-09-10 16:09:01 +02:00
padding - left : 12 px ;
margin - top : 8 px ;
2015-10-10 01:51:12 +02:00
margin - bottom : 10 px ;
2015-12-21 17:32:57 +01:00
clear : both ;
2015-10-10 01:51:12 +02:00
}
2016-09-18 21:13:23 +02:00
img . photoref , div . photoref {
2015-10-10 01:51:12 +02:00
border : 1 px solid #CCC;
- moz - box - shadow : 3 px 3 px 4 px #DDD;
- webkit - box - shadow : 3 px 3 px 4 px #DDD;
box - shadow : 3 px 3 px 4 px #DDD;
2015-10-10 02:10:14 +02:00
padding : 4 px ;
height : 80 px ;
width : 80 px ;
2016-08-06 00:04:24 +02:00
object - fit : contain ;
}
2016-09-18 21:13:23 +02:00
div . photoref {
display : table - cell ;
vertical - align : middle ;
text - align : center ;
}
2016-08-06 00:04:24 +02:00
img . photorefnoborder {
padding : 2 px ;
height : 48 px ;
width : 48 px ;
object - fit : contain ;
border : 1 px solid #CCC;
2015-10-10 01:51:12 +02:00
}
. underrefbanner {
2015-10-10 13:12:14 +02:00
}
. underbanner {
2016-06-07 13:15:38 +02:00
border - bottom : < ? php echo $borderwith ?> px solid rgb(<?php echo $colortopbordertitle1 ?>);
2015-10-10 01:51:12 +02:00
}
2015-10-10 13:12:14 +02:00
2006-06-05 20:26:46 +02:00
/* ============================================================================== */
2008-04-16 03:04:12 +02:00
/* Menu top et 1ere ligne tableau */
2006-06-05 20:26:46 +02:00
/* ============================================================================== */
2010-03-21 21:10:53 +01:00
< ? php
2016-05-19 13:25:16 +02:00
$minwidthtmenu = 66 ; /* minimum width for one top menu entry */
2015-01-14 13:51:21 +01:00
$heightmenu = 46 ; /* height of top menu, part with image */
2015-05-15 02:34:57 +02:00
$heightmenu2 = 48 ; /* height of top menu, part with login */
2015-06-26 16:21:09 +02:00
$disableimages = 0 ;
2016-09-08 10:09:14 +02:00
$maxwidthloginblock = 130 ;
2016-08-05 23:34:59 +02:00
if ( ! empty ( $conf -> global -> THEME_TOPMENU_DISABLE_IMAGE )) { $disableimages = 1 ; $maxwidthloginblock = 180 ; $minwidthtmenu = 0 ; }
2010-03-21 21:10:53 +01:00
?>
2015-05-15 02:34:57 +02:00
div #id-top {
2015-06-26 14:44:06 +02:00
< ? php if ( GETPOST ( " optioncss " ) == 'print' ) { ?>
display : none ;
< ? php } else { ?>
2015-05-15 02:34:57 +02:00
background : rgb ( < ? php echo $colorbackhmenu1 ?> );
2016-08-20 00:22:16 +02:00
/*- webkit - box - shadow : 0 0 6 px rgba ( 0 , 0 , 0 , 0.4 );
box - shadow : 0 0 6 px rgba ( 0 , 0 , 0 , 0.4 ); */
2016-04-22 13:38:44 +02:00
< ? php if ( $usegradienttop ) { ?>
2015-10-14 16:51:20 +02:00
background - image : linear - gradient ( top , rgba ( 255 , 255 , 255 , . 1 ) 0 % , rgba ( 0 , 0 , 0 , . 4 ) 100 % );
background - image : - o - linear - gradient ( top , rgba ( 255 , 255 , 255 , . 1 ) 0 % , rgba ( 0 , 0 , 0 , . 4 ) 100 % );
background - image : - moz - linear - gradient ( top , rgba ( 255 , 255 , 255 , . 1 ) 0 % , rgba ( 0 , 0 , 0 , . 4 ) 100 % );
background - image : - webkit - linear - gradient ( top , rgba ( 255 , 255 , 255 , . 1 ) 0 % , rgba ( 0 , 0 , 0 , . 4 ) 100 % );
background - image : - ms - linear - gradient ( top , rgba ( 255 , 255 , 255 , . 1 ) 0 % , rgba ( 0 , 0 , 0 , . 4 ) 100 % );
background - image : - webkit - gradient ( linear , left top , left bottom , color - stop ( 0 , rgba ( 255 , 255 , 255 , . 1 )), color - stop ( 1 , rgba ( 0 , 0 , 0 , . 4 )) );
2015-06-11 18:27:59 +02:00
< ? php } ?>
2016-06-10 16:59:42 +02:00
/*< ? php if ( $disableimages ) { ?>
2016-05-19 13:25:16 +02:00
height : 34 px ;
2015-06-26 14:44:06 +02:00
< ? php } else { ?>
height : < ? php print $heightmenu2 ; ?> px;
2016-06-10 16:59:42 +02:00
< ? php } ?> */
2015-06-26 14:44:06 +02:00
< ? php } ?>
2015-05-15 02:34:57 +02:00
}
2012-05-01 23:40:23 +02:00
div #tmenu_tooltip {
2013-07-28 17:07:27 +02:00
< ? php if ( GETPOST ( " optioncss " ) == 'print' ) { ?>
display : none ;
< ? php } else { ?>
2015-10-24 13:16:59 +02:00
padding -< ? php echo $right ; ?> : <?php echo ($maxwidthloginblock - 10); ?>px;
2013-07-28 17:07:27 +02:00
< ? php } ?>
2012-05-01 23:40:23 +02:00
}
2016-05-19 13:25:16 +02:00
div . tmenusep {
< ? php if ( $disableimages ) { ?>
display : none ;
2016-05-19 19:11:31 +02:00
< ? php } ?>
2016-05-19 13:25:16 +02:00
}
2012-05-01 23:40:23 +02:00
div . tmenudiv {
2011-01-19 11:49:28 +01:00
< ? php if ( GETPOST ( " optioncss " ) == 'print' ) { ?>
2009-08-19 18:26:12 +02:00
display : none ;
< ? php } else { ?>
2006-06-05 20:26:46 +02:00
position : relative ;
display : block ;
white - space : nowrap ;
2013-07-26 14:59:18 +02:00
border - top : 0 px ;
2009-08-11 14:28:30 +02:00
border -< ? php print $left ; ?> : 0px;
2013-07-26 14:59:18 +02:00
border -< ? php print $right ; ?> : 0px;
2010-03-21 21:10:53 +01:00
padding : 0 px 0 px 0 px 0 px ; /* t r b l */
2012-05-01 23:40:23 +02:00
margin : 0 px 0 px 0 px 0 px ; /* t r b l */
2012-04-18 11:51:45 +02:00
font - size : 13 px ;
2008-01-08 19:35:13 +01:00
font - weight : normal ;
2013-07-26 14:59:18 +02:00
color : #000000;
2006-06-05 20:26:46 +02:00
text - decoration : none ;
2009-08-19 18:26:12 +02:00
< ? php } ?>
2006-06-05 20:26:46 +02:00
}
2013-07-26 14:59:18 +02:00
div . tmenudisabled , a . tmenudisabled {
opacity : 0.6 ;
}
2010-04-07 12:03:44 +02:00
a . tmenudisabled : link , a . tmenudisabled : visited , a . tmenudisabled : hover , a . tmenudisabled : active {
2008-11-16 19:55:00 +01:00
font - weight : normal ;
2009-06-03 21:54:48 +02:00
padding : 0 px 5 px 0 px 5 px ;
2010-03-21 21:10:53 +01:00
white - space : nowrap ;
2013-07-29 11:30:54 +02:00
color : #<?php echo $colortextbackhmenu; ?>;
2013-05-09 22:43:01 +02:00
text - decoration : none ;
2013-07-29 11:30:54 +02:00
cursor : not - allowed ;
2006-06-05 20:26:46 +02:00
}
2010-04-07 12:03:44 +02:00
a . tmenu : link , a . tmenu : visited , a . tmenu : hover , a . tmenu : active {
2012-01-14 00:39:58 +01:00
font - weight : normal ;
2016-02-26 16:13:48 +01:00
padding : 0 px 5 px 0 px 3 px ;
2010-03-21 21:10:53 +01:00
white - space : nowrap ;
2013-07-28 17:02:13 +02:00
color : #<?php echo $colortextbackhmenu; ?>;
2013-04-25 01:13:13 +02:00
text - decoration : none ;
2006-06-05 20:26:46 +02:00
}
2010-04-07 12:03:44 +02:00
a . tmenusel : link , a . tmenusel : visited , a . tmenusel : hover , a . tmenusel : active {
2012-03-26 00:27:14 +02:00
font - weight : normal ;
2016-05-19 13:32:06 +02:00
padding : 0 px 5 px 0 px 3 px ;
2010-03-21 21:10:53 +01:00
margin : 0 px 0 px 0 px 0 px ;
white - space : nowrap ;
2013-07-28 17:02:13 +02:00
color : #<?php echo $colortextbackhmenu; ?>;
2013-07-26 14:59:18 +02:00
text - decoration : none ! important ;
2008-11-16 01:06:26 +01:00
}
2009-01-31 16:23:05 +01:00
2013-01-10 18:50:07 +01:00
2010-04-05 20:41:34 +02:00
ul . tmenu { /* t r b l */
2012-05-01 23:40:23 +02:00
padding : 0 px 0 px 0 px 0 px ;
margin : 0 px 0 px 0 px 0 px ;
2009-06-03 21:54:48 +02:00
list - style : none ;
2016-06-10 16:59:42 +02:00
display : table ;
2013-07-28 17:02:13 +02:00
}
2015-06-26 14:44:06 +02:00
ul . tmenu li { /* We need this to have background color when menu entry wraps on new lines */
2016-06-10 16:59:42 +02:00
/* background : rgb ( < ? php echo $colorbackhmenu1 ?> );
2016-04-22 13:38:44 +02:00
< ? php if ( $usegradienttop ) { ?>
2015-10-14 16:51:20 +02:00
background - image : linear - gradient ( top , rgba ( 255 , 255 , 255 , . 1 ) 0 % , rgba ( 0 , 0 , 0 , . 4 ) 100 % );
background - image : - o - linear - gradient ( top , rgba ( 255 , 255 , 255 , . 1 ) 0 % , rgba ( 0 , 0 , 0 , . 4 ) 100 % );
background - image : - moz - linear - gradient ( top , rgba ( 255 , 255 , 255 , . 1 ) 0 % , rgba ( 0 , 0 , 0 , . 4 ) 100 % );
background - image : - webkit - linear - gradient ( top , rgba ( 255 , 255 , 255 , . 1 ) 0 % , rgba ( 0 , 0 , 0 , . 4 ) 100 % );
background - image : - ms - linear - gradient ( top , rgba ( 255 , 255 , 255 , . 1 ) 0 % , rgba ( 0 , 0 , 0 , . 4 ) 100 % );
background - image : - webkit - gradient ( linear , left top , left bottom , color - stop ( 0 , rgba ( 255 , 255 , 255 , . 1 )), color - stop ( 1 , rgba ( 0 , 0 , 0 , . 4 )) );
2016-06-10 16:59:42 +02:00
< ? php } ?> */
2007-05-01 20:17:15 +02:00
}
2012-05-01 23:40:23 +02:00
li . tmenu , li . tmenusel {
2012-01-14 00:39:58 +01:00
< ? php print $minwidthtmenu ? 'min-width: ' . $minwidthtmenu . 'px;' : '' ; ?>
2010-04-05 20:41:34 +02:00
text - align : center ;
vertical - align : bottom ;
2014-04-23 12:22:01 +02:00
< ? php if ( empty ( $conf -> global -> MAIN_MENU_INVERT )) { ?>
2009-09-28 23:59:09 +02:00
float : < ? php print $left ; ?> ;
2014-04-23 12:22:01 +02:00
< ? php } ?>
2007-05-01 20:17:15 +02:00
position : relative ;
display : block ;
2015-06-26 14:44:06 +02:00
padding : 0 0 0 0 ;
margin : 0 0 0 0 ;
2007-05-01 20:17:15 +02:00
font - weight : normal ;
}
2016-06-17 16:28:16 +02:00
li . menuhider : hover {
background - image : none ! important ;
}
2013-07-28 17:02:13 +02:00
li . tmenusel , li . tmenu : hover {
2016-06-17 16:28:16 +02:00
background - image : - o - linear - gradient ( bottom , rgba ( 250 , 250 , 250 , 0.3 ) 0 % , rgba ( 0 , 0 , 0 , 0.5 ) 100 % );
background - image : - moz - linear - gradient ( bottom , rgba ( 0 , 0 , 0 , 0.5 ) 0 % , rgba ( 250 , 250 , 250 , 0 ) 100 % );
background - image : - webkit - linear - gradient ( bottom , rgba ( 0 , 0 , 0 , 0.5 ) 0 % , rgba ( 250 , 250 , 250 , 0 ) 100 % );
background - image : - ms - linear - gradient ( bottom , rgba ( 250 , 250 , 250 , 0.3 ) 0 % , rgba ( 0 , 0 , 0 , 0.5 ) 100 % );
background - image : linear - gradient ( bottom , rgba ( 250 , 250 , 250 , 0.3 ) 0 % , rgba ( 0 , 0 , 0 , 0.5 ) 100 % );
/* background: rgb(<?php echo $colorbackhmenu1 ?>); */
2012-05-01 23:40:23 +02:00
}
2013-07-28 17:02:13 +02:00
. tmenuend . tmenuleft { width : 0 px ; }
2015-06-26 14:44:06 +02:00
. tmenuend { display : none ; }
2012-05-01 23:40:23 +02:00
div . tmenuleft
{
float : < ? php print $left ; ?> ;
2013-07-29 10:14:36 +02:00
margin - top : 0 px ;
2014-07-27 14:13:25 +02:00
< ? php if ( empty ( $conf -> dol_optimize_smallscreen )) { ?>
width : 5 px ;
2015-03-22 22:25:26 +01:00
background : url ( < ? php echo dol_buildpath ( $path . '/theme/' . $theme . '/img/menutab-r.png' , 1 ); ?> ) 0 -6px no-repeat;
2014-07-27 14:13:25 +02:00
< ? php } ?>
2015-06-26 16:21:09 +02:00
< ? php if ( $disableimages ) { ?>
height : 26 px ;
2015-06-26 14:44:06 +02:00
< ? php } else { ?>
height : < ? php print $heightmenu ; ?> px;
< ? php } ?>
2012-05-01 23:40:23 +02:00
}
div . tmenucenter
{
2012-05-02 13:39:30 +02:00
padding - left : 0 px ;
padding - right : 0 px ;
2015-06-26 16:21:09 +02:00
< ? php if ( $disableimages ) { ?>
2016-05-19 13:25:16 +02:00
padding - top : 8 px ;
height : 26 px ;
2015-06-26 14:44:06 +02:00
< ? php } else { ?>
2016-05-19 13:25:16 +02:00
padding - top : 2 px ;
2012-05-01 23:40:23 +02:00
height : < ? php print $heightmenu ; ?> px;
2015-06-26 14:44:06 +02:00
< ? php } ?>
2012-05-02 13:39:30 +02:00
width : 100 % ;
2016-06-17 16:28:16 +02:00
/*
max - width : < ? php echo round ( $fontsize * 8 ); ?> px;
white - space : nowrap ;
overflow : hidden ;
text - overflow : ellipsis ;
color : #<?php echo $colortextbackhmenu; ?>;
*/
2012-05-02 13:39:30 +02:00
}
2016-06-17 12:39:00 +02:00
#menu_titre_logo {
padding - top : 0 ;
padding - bottom : 0 ;
}
2015-09-22 11:24:31 +02:00
div . menu_titre {
2016-06-17 12:39:00 +02:00
padding - top : 4 px ;
padding - bottom : 4 px ;
2016-07-07 00:34:59 +02:00
overflow : hidden ;
text - overflow : ellipsis ;
2015-09-22 11:24:31 +02:00
}
2012-05-02 13:39:30 +02:00
. mainmenuaspan
{
2016-05-19 13:25:16 +02:00
< ? php if ( $disableimages ) { ?>
padding - left : 4 px ;
padding - right : 2 px ;
< ? php } else { ?>
2012-05-02 13:39:30 +02:00
padding - right : 4 px ;
2016-05-19 13:25:16 +02:00
< ? php } ?>
2012-05-01 23:40:23 +02:00
}
2007-05-01 20:17:15 +02:00
2010-04-07 08:29:35 +02:00
div . mainmenu {
2010-03-21 21:10:53 +01:00
position : relative ;
background - repeat : no - repeat ;
background - position : center top ;
2015-01-14 13:51:21 +01:00
height : < ? php echo ( $heightmenu - 19 ); ?> px;
2010-03-21 21:10:53 +01:00
margin - left : 0 px ;
2012-05-02 13:39:30 +02:00
min - width : 40 px ;
2010-02-19 01:01:08 +01:00
}
2014-07-27 14:13:25 +02:00
/* Do not load menu img if hidden to save bandwidth */
< ? php if ( empty ( $dol_hide_topmenu )) { ?>
2010-05-05 09:54:03 +02:00
2010-04-07 08:29:35 +02:00
div . mainmenu . home {
2013-03-02 14:43:36 +01:00
background - image : url ( < ? php echo dol_buildpath ( $path . '/theme/' . $theme . '/img/menus/home.png' , 1 ) ?> );
2015-11-29 16:05:14 +01:00
background - position - x : center ;
2010-04-07 08:29:35 +02:00
}
2011-11-05 13:11:10 +01:00
div . mainmenu . accountancy {
2013-03-02 14:43:36 +01:00
background - image : url ( < ? php echo dol_buildpath ( $path . '/theme/' . $theme . '/img/menus/money.png' , 1 ) ?> );
2011-11-05 13:11:10 +01:00
}
div . mainmenu . agenda {
2013-03-02 14:43:36 +01:00
background - image : url ( < ? php echo dol_buildpath ( $path . '/theme/' . $theme . '/img/menus/agenda.png' , 1 ) ?> );
2011-11-05 13:11:10 +01:00
}
div . mainmenu . bank {
2013-03-02 14:43:36 +01:00
background - image : url ( < ? php echo dol_buildpath ( $path . '/theme/' . $theme . '/img/menus/bank.png' , 1 ) ?> );
2011-11-05 13:11:10 +01:00
}
div . mainmenu . cashdesk {
2013-03-02 14:43:36 +01:00
background - image : url ( < ? php echo dol_buildpath ( $path . '/theme/' . $theme . '/img/menus/pointofsale.png' , 1 ) ?> );
2011-11-05 13:11:10 +01:00
}
2010-04-07 08:29:35 +02:00
div . mainmenu . companies {
2014-08-13 19:21:31 +02:00
background - image : url ( < ? php echo dol_buildpath ( $path . '/theme/' . $theme . '/img/menus/company.png' , 1 ) ?> );
2011-08-15 20:25:58 +02:00
}
2010-04-07 08:29:35 +02:00
div . mainmenu . commercial {
2013-03-02 14:43:36 +01:00
background - image : url ( < ? php echo dol_buildpath ( $path . '/theme/' . $theme . '/img/menus/commercial.png' , 1 ) ?> );
2010-03-21 21:10:53 +01:00
}
2011-11-05 13:11:10 +01:00
div . mainmenu . ecm {
2013-03-02 14:43:36 +01:00
background - image : url ( < ? php echo dol_buildpath ( $path . '/theme/' . $theme . '/img/menus/ecm.png' , 1 ) ?> );
2010-03-21 21:10:53 +01:00
}
2011-11-05 13:11:10 +01:00
div . mainmenu . externalsite {
2013-03-02 14:43:36 +01:00
background - image : url ( < ? php echo dol_buildpath ( $path . '/theme/' . $theme . '/img/menus/externalsite.png' , 1 ) ?> );
2010-07-28 22:59:02 +02:00
}
2011-11-05 13:11:10 +01:00
div . mainmenu . ftp {
2013-03-02 14:43:36 +01:00
background - image : url ( < ? php echo dol_buildpath ( $path . '/theme/' . $theme . '/img/menus/tools.png' , 1 ) ?> );
2010-04-03 17:08:09 +02:00
}
2013-06-10 16:32:44 +02:00
div . mainmenu . hrm {
2013-03-02 14:43:36 +01:00
background - image : url ( < ? php echo dol_buildpath ( $path . '/theme/' . $theme . '/img/menus/holiday.png' , 1 ) ?> );
2012-09-19 15:10:23 +02:00
}
2010-04-07 08:29:35 +02:00
div . mainmenu . members {
2013-03-02 14:43:36 +01:00
background - image : url ( < ? php echo dol_buildpath ( $path . '/theme/' . $theme . '/img/menus/members.png' , 1 ) ?> );
2010-04-03 17:08:09 +02:00
}
2016-05-22 19:32:08 +02:00
div . mainmenu . menu {
background - image : url ( < ? php echo dol_buildpath ( $path . '/theme/' . $theme . '/img/menus/menu.png' , 1 ) ?> );
top : 7 px ;
}
2011-11-05 13:11:10 +01:00
div . mainmenu . products {
2013-03-02 14:43:36 +01:00
background - image : url ( < ? php echo dol_buildpath ( $path . '/theme/' . $theme . '/img/menus/products.png' , 1 ) ?> );
2010-03-21 21:10:53 +01:00
}
2011-11-05 13:11:10 +01:00
div . mainmenu . project {
2013-03-02 14:43:36 +01:00
background - image : url ( < ? php echo dol_buildpath ( $path . '/theme/' . $theme . '/img/menus/project.png' , 1 ) ?> );
2010-03-21 21:10:53 +01:00
}
2011-11-05 13:11:10 +01:00
div . mainmenu . tools {
2013-03-02 14:43:36 +01:00
background - image : url ( < ? php echo dol_buildpath ( $path . '/theme/' . $theme . '/img/menus/tools.png' , 1 ) ?> );
2011-11-05 13:11:10 +01:00
}
2016-04-12 18:24:35 +02:00
div . mainmenu . websites {
background - image : url ( < ? php echo dol_buildpath ( $path . '/theme/' . $theme . '/img/menus/externalsite.png' , 1 ) ?> );
}
2010-04-14 22:21:47 +02:00
< ? php
// 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 )
2010-04-14 22:21:47 +02:00
{
$mainmenuused .= ',' . ( isset ( $moduletomainmenu [ $val ]) ? $moduletomainmenu [ $val ] : $val );
2010-04-02 00:43:07 +02:00
}
2010-04-14 22:21:47 +02:00
//var_dump($mainmenuused);
$mainmenuusedarray = array_unique ( explode ( ',' , $mainmenuused ));
2010-04-02 00:43:07 +02:00
2010-04-14 22:21:47 +02:00
$generic = 1 ;
2016-04-12 18:24:35 +02:00
// Put here list of menu entries when the div.mainmenu.menuentry was previously defined
2016-10-21 17:41:05 +02:00
$divalreadydefined = array ( 'home' , 'companies' , 'products' , 'commercial' , 'externalsite' , 'accountancy' , 'project' , 'tools' , 'members' , 'agenda' , 'ftp' , 'holiday' , 'hrm' , 'bookmark' , 'cashdesk' , 'ecm' , 'geoipmaxmind' , 'gravatar' , 'clicktodial' , 'paypal' , 'webservices' , 'websites' );
2016-06-14 23:46:07 +02:00
// Put here list of menu entries we are sure we don't want
$divnotrequired = array ( 'multicurrency' , 'salaries' , 'margin' , 'opensurvey' , 'paybox' , 'expensereport' , 'incoterm' , 'prelevement' , 'propal' , 'workflow' , 'notification' , 'supplier_proposal' , 'cron' , 'product' , 'productbatch' , 'expedition' );
2012-07-23 16:10:54 +02:00
foreach ( $mainmenuusedarray as $val )
2010-04-14 22:21:47 +02:00
{
if ( empty ( $val ) || in_array ( $val , $divalreadydefined )) continue ;
2016-06-14 23:46:07 +02:00
if ( in_array ( $val , $divnotrequired )) continue ;
2010-04-14 22:21:47 +02:00
//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 " ))
{
2012-02-05 16:30:40 +01:00
$url = dol_buildpath ( '/' . $val . '/img/' . $val . '.png' , 1 );
2010-04-14 22:21:47 +02:00
$found = 1 ;
break ;
}
}
// Img file not found
2012-02-05 16:30:40 +01:00
if ( ! $found )
2010-04-14 22:21:47 +02:00
{
2013-03-02 14:43:36 +01:00
$url = dol_buildpath ( $path . '/theme/' . $theme . '/img/menus/generic' . $generic . " .png " , 1 );
2010-04-14 22:21:47 +02:00
$found = 1 ;
2012-02-05 16:30:40 +01:00
if ( $generic < 4 ) $generic ++ ;
2016-06-14 23:46:07 +02:00
print " /* A mainmenu entry was found but img file " . $val . " .png not found (check / " . $val . " /img/ " . $val . " .png), so we use a generic one */ \n " ;
2010-04-14 22:21:47 +02:00
}
if ( $found )
{
print " div.mainmenu. " . $val . " { \n " ;
print " background-image: url( " . $url . " ); \n " ;
print " } \n " ;
}
}
// End of part to add more div class css
?>
2010-04-02 00:43:07 +02:00
2010-05-05 09:54:03 +02:00
< ? php
2014-07-27 14:13:25 +02:00
} // End test if $dol_hide_topmenu
2010-05-05 09:54:03 +02:00
?>
2007-05-01 20:17:15 +02:00
2010-08-26 04:07:52 +02:00
. tmenuimage {
padding : 0 0 0 0 ! important ;
margin : 0 0 px 0 0 ! important ;
2015-06-26 16:21:09 +02:00
< ? php if ( $disableimages ) { ?>
2015-06-26 14:44:06 +02:00
display : none ;
< ? php } ?>
2010-08-26 04:07:52 +02:00
}
2006-06-05 20:26:46 +02:00
/* Login */
2013-07-27 12:05:32 +02:00
. bodylogin
{
2014-11-03 16:29:45 +01:00
background : #f0f0f0;
2014-10-03 01:48:14 +02:00
}
. login_vertical_align {
padding : 10 px ;
2013-07-27 12:05:32 +02:00
}
2012-04-18 14:27:31 +02:00
form #login {
2013-04-28 01:12:40 +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 ;
2013-02-24 14:57:49 +01:00
vertical - align : middle ;
2012-04-18 14:27:31 +02:00
}
. login_table_title {
2014-12-11 21:38:53 +01:00
max - width : 530 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;
}
2012-03-05 15:51:24 +01:00
. login_table {
2015-07-20 20:31:19 +02:00
margin : 0 px auto ; /* Center */
2012-06-02 14:07:38 +02:00
padding - left : 6 px ;
padding - right : 6 px ;
2014-12-11 21:38:53 +01:00
padding - top : 16 px ;
2012-06-02 14:07:38 +02:00
padding - bottom : 12 px ;
2014-12-08 02:41:21 +01:00
max - width : 560 px ;
2012-04-18 14:27:31 +02:00
2014-11-03 16:29:45 +01:00
background - color : #FFFFFF;
2014-11-07 23:25:39 +01:00
2016-05-19 20:58:14 +02:00
- moz - box - shadow : 0 2 px 23 px 2 px rgba ( 0 , 0 , 0 , 0.1 ), 0 2 px 6 px rgba ( 60 , 60 , 60 , 0.15 );
- webkit - box - shadow : 0 2 px 23 px 2 px rgba ( 0 , 0 , 0 , 0.1 ), 0 2 px 6 px rgba ( 60 , 60 , 60 , 0.15 );
box - shadow : 0 2 px 23 px 2 px rgba ( 0 , 0 , 0 , 0.1 ), 0 2 px 6 px rgba ( 60 , 60 , 60 , 0.15 );
2014-11-03 16:29:45 +01:00
/*- moz - box - shadow : 3 px 2 px 20 px #CCC;
2014-11-01 20:04:01 +01:00
- webkit - box - shadow : 3 px 2 px 20 px #CCC;
2014-11-03 16:29:45 +01:00
box - shadow : 3 px 2 px 20 px #CCC;*/
2014-11-01 20:04:01 +01:00
2015-08-15 03:41:57 +02:00
border - radius : 5 px ;
2014-11-03 16:29:45 +01:00
border : solid 1 px rgba ( 80 , 80 , 80 , . 4 );
2015-08-15 03:41:57 +02:00
}
. login_main_message {
text - align : center ;
2016-01-09 03:00:12 +01:00
max - width : 560 px ;
margin - bottom : 10 px ;
}
. login_main_message . error {
border : 1 px solid #caa;
padding : 10 px ;
2012-04-18 14:27:31 +02:00
}
2013-02-24 14:57:49 +01:00
div #login_left, div#login_right {
display : inline - block ;
2014-04-27 01:49:57 +02:00
min - width : 245 px ;
2013-02-24 14:57:49 +01:00
padding - top : 10 px ;
2014-12-08 02:41:21 +01:00
padding - left : 16 px ;
padding - right : 16 px ;
2013-02-24 14:57:49 +01:00
text - align : center ;
vertical - align : middle ;
}
2012-05-02 11:57:32 +02:00
table . login_table tr td table . none tr td {
padding : 2 px ;
}
2014-11-11 20:45:30 +01:00
table . login_table_securitycode {
border - spacing : 0 px ;
}
table . login_table_securitycode tr td {
padding - left : 0 px ;
padding - right : 4 px ;
}
2014-08-17 15:05:42 +02:00
#securitycode {
min - width : 60 px ;
}
2012-04-18 14:27:31 +02:00
#img_securitycode {
border : 1 px solid #DDDDDD;
}
#img_logo {
max - width : 200 px ;
2014-07-20 04:29:47 +02:00
max - height : 100 px ;
2011-11-09 19:38:34 +01:00
}
2011-01-10 09:13:31 +01:00
div . login_block {
position : absolute ;
2016-10-11 12:20:14 +02:00
text - align : < ? php print $right ; ?> ;
2011-01-10 09:13:31 +01:00
< ? php print $right ; ?> : 5px;
2016-08-05 23:34:59 +02:00
top : 3 px ;
2011-01-10 09:13:31 +01:00
font - weight : bold ;
2015-06-26 14:44:06 +02:00
max - width : < ? php echo $maxwidthloginblock ; ?> px;
2011-01-19 11:49:28 +01:00
< ? php if ( GETPOST ( " optioncss " ) == 'print' ) { ?>
display : none ;
< ? php } ?>
2011-01-10 09:13:31 +01:00
}
2015-05-15 02:34:57 +02:00
div . login_block a {
2015-06-12 16:22:32 +02:00
color : #<?php echo $colortextbackvmenu; ?>;
2015-05-15 02:34:57 +02:00
}
2011-01-10 09:13:31 +01:00
div . login_block table {
display : inline ;
}
2010-11-05 18:47:41 +01:00
div . login {
2011-01-12 10:47:23 +01:00
white - space : nowrap ;
2011-01-10 09:13:31 +01:00
font - weight : bold ;
2013-07-28 17:02:13 +02:00
float : right ;
2006-06-05 20:26:46 +02:00
}
2010-11-05 18:47:41 +01:00
div . login a {
2013-07-28 17:02:13 +02:00
color : #<?php echo $colortextbackvmenu; ?>;
2010-11-05 18:47:41 +01:00
}
div . login a : hover {
2013-07-28 17:02:13 +02:00
color : #<?php echo $colortextbackvmenu; ?>;
2010-11-05 18:47:41 +01:00
text - decoration : underline ;
2006-06-05 20:26:46 +02:00
}
2015-06-26 14:44:06 +02:00
div . login_block_user {
display : inline - block ;
2016-09-14 23:23:22 +02:00
< ? php if ( empty ( $conf -> global -> THEME_TOPMENU_DISABLE_IMAGE )) { ?>
2016-09-12 01:10:58 +02:00
min - width : 120 px ;
2016-09-14 23:23:22 +02:00
< ? php } ?>
2015-06-26 14:44:06 +02:00
}
div . login_block_other {
display : inline - block ;
2015-06-26 16:21:09 +02:00
clear : both ;
2015-06-26 14:44:06 +02:00
}
2015-03-25 18:13:53 +01:00
div . login_block_other { padding - top : 3 px ; text - align : right ; }
2013-07-28 17:02:13 +02:00
. login_block_elem {
float : right ;
vertical - align : top ;
2016-09-12 01:10:58 +02:00
padding : 0 px 3 px 0 px 4 px ! important ;
2013-07-28 17:02:13 +02:00
height : 16 px ;
}
2015-10-20 02:31:24 +02:00
. atoplogin , . atoplogin : hover {
2015-10-14 16:51:20 +02:00
color : #<?php echo $colortextbackhmenu; ?> !important;
2013-05-13 23:46:37 +02:00
font - weight : normal ! important ;
2015-10-20 02:31:24 +02:00
}
. alogin , . alogin : hover {
font - weight : normal ! important ;
2013-05-13 23:46:37 +02:00
font - size : < ? php echo $fontsizesmaller ; ?> px !important;
2015-09-22 01:25:06 +02:00
padding - top : 2 px ;
2013-05-13 23:46:37 +02:00
}
2015-10-20 02:31:24 +02:00
. alogin : hover , . atoplogin : hover {
2013-05-13 23:46:37 +02:00
text - decoration : underline ! important ;
}
2012-08-26 13:24:28 +02:00
img . login , img . printer , img . entity {
2013-07-28 17:02:13 +02:00
/* padding: 0px 0px 0px 4px; */
/* margin: 0px 0px 0px 8px; */
2011-01-10 09:13:31 +01:00
text - decoration : none ;
color : white ;
font - weight : bold ;
2011-01-06 16:54:44 +01:00
}
2015-05-31 17:31:15 +02:00
img . loginphoto {
border - radius : 2 px ;
2015-09-22 11:24:31 +02:00
width : 16 px ;
height : 16 px ;
2015-05-31 17:31:15 +02:00
}
2014-12-08 02:41:21 +01:00
. span - icon - user {
2015-11-26 00:08:24 +01:00
/* background-image: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/object_user.png',1); ?>); */
2015-11-21 12:18:29 +01:00
background - repeat : no - repeat ;
2014-12-08 02:41:21 +01:00
}
. span - icon - password {
2015-11-26 00:08:24 +01:00
/* background-image: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/lock.png',1); ?>); */
2014-12-08 02:41:21 +01:00
background - repeat : no - repeat ;
}
2015-11-21 12:18:29 +01:00
2014-12-08 02:41:21 +01:00
. span - icon - user input , . span - icon - password input {
2015-11-26 00:08:24 +01:00
/* margin-left: 18px; */
margin - left : 0 px ;
2014-12-08 02:41:21 +01:00
}
2006-06-05 20:26:46 +02:00
/* ============================================================================== */
2009-08-19 18:26:12 +02:00
/* Menu gauche */
2006-06-05 20:26:46 +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-05-11 17:00:47 +02:00
position : relative ;
float : left ;
2011-08-15 19:43:40 +02:00
padding : 0 px ;
padding - bottom : 0 px ;
padding - top : 1 px ;
2015-11-25 17:11:08 +01:00
width : 190 px ;
2011-08-15 19:43:40 +02:00
}
2009-08-19 18:26:12 +02:00
. vmenu {
2012-01-14 00:39:58 +01:00
margin - left : 4 px ;
2013-04-21 17:56:29 +02:00
< ? php if ( GETPOST ( " optioncss " ) == 'print' ) { ?>
2010-09-29 12:51:36 +02:00
display : none ;
2013-04-21 17:56:29 +02:00
< ? php } ?>
2012-01-14 00:39:58 +01:00
}
2009-08-19 18:26:12 +02:00
2015-10-26 12:16:40 +01:00
. vmenusearchselectcombo {
2015-11-25 17:11:08 +01:00
width : 188 px ;
2015-10-26 12:16:40 +01:00
}
2016-02-16 12:45:18 +01:00
. menu_contenu {
2016-06-17 12:39:00 +02:00
padding - top : 3 px ;
padding - bottom : 3 px ;
2016-02-16 22:45:14 +01:00
overflow : hidden ;
text - overflow : ellipsis ;
2015-10-22 01:10:25 +02:00
}
2016-06-17 12:39:00 +02:00
#menu_contenu_logo { padding-top: 0; }
2015-11-14 22:38:29 +01:00
. companylogo { }
. searchform { padding - top : 4 px ; }
2012-02-10 19:47:08 +01:00
2016-07-07 00:34:59 +02:00
a . vmenu : link , a . vmenu : visited , a . vmenu : hover , a . vmenu : active { white - space : nowrap ; font - size :< ? php print $fontsize ?> px; font-family: <?php print $fontlist ?>; text-align: <?php print $left; ?>; font-weight: bold; }
2016-01-25 17:31:40 +01:00
font . vmenudisabled { font - size :< ? php print $fontsize ?> px; font-family: <?php print $fontlist ?>; text-align: <?php print $left; ?>; font-weight: bold; color: #aaa; margin-left: 4px; }
2013-07-28 17:02:13 +02:00
a . vmenu : link , a . vmenu : visited { color : #<?php echo $colortextbackvmenu; ?>; }
2006-06-05 20:26:46 +02:00
2015-05-04 11:41:30 +02:00
a . vsmenu : link , a . vsmenu : visited , a . vsmenu : hover , a . vsmenu : active , span . vsmenu { font - size :< ? php print $fontsize ?> px; font-family: <?php print $fontlist ?>; text-align: <?php print $left; ?>; font-weight: normal; color: #202020; margin: 1px 1px 1px 8px; }
2015-06-04 11:42:24 +02:00
font . vsmenudisabled { font - size :< ? php print $fontsize ?> px; font-family: <?php print $fontlist ?>; text-align: <?php print $left; ?>; font-weight: normal; color: #aaa; }
2016-02-16 22:45:14 +01:00
a . vsmenu : link , a . vsmenu : visited { color : #<?php echo $colortextbackvmenu; ?>; white-space: nowrap; }
2013-04-01 20:15:52 +02:00
font . vsmenudisabledmargin { margin : 1 px 1 px 1 px 8 px ; }
2006-06-05 20:26:46 +02:00
2013-06-13 21:43:19 +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; color: #666666; text-decoration: none; }
2007-05-01 20:17:15 +02:00
2016-01-03 19:34:19 +01:00
. vmenu div . blockvmenufirst , . vmenu div . blockvmenulogo , . vmenu div . blockvmenusearchphone , . vmenu div . blockvmenubookmarks
2015-09-22 11:24:31 +02:00
{
border - top : 1 px solid #BBB;
}
2015-12-04 23:25:17 +01:00
a . vsmenu . addbookmarkpicto {
padding - right : 10 px ;
}
2016-01-03 19:34:19 +01:00
. vmenu div . blockvmenubookmarks , . vmenu div . blockvmenuend , . vmenu div . blockvmenulogo , . vmenu div . blockvmenusearchphone
2015-09-22 11:24:31 +02:00
{
2016-06-17 12:39:00 +02:00
/* border-bottom: 1px solid #BBB; */
}
div . blockvmenusearchphone
{
border - bottom : none ! important ;
2015-09-22 11:24:31 +02:00
}
. vmenu div . blockvmenuend , . vmenu div . blockvmenulogo
{
margin : 0 0 8 px 2 px ;
}
2016-06-17 12:39:00 +02:00
. vmenu div . blockvmenusearch
2015-09-22 11:24:31 +02:00
{
2016-06-17 12:39:00 +02:00
padding - bottom : 14 px ;
border - bottom : 1 px solid #e0e0e0;
2015-09-22 11:24:31 +02:00
}
2016-03-25 15:52:53 +01:00
. vmenu div . blockvmenuend
{
2016-03-25 18:45:43 +01:00
padding - bottom : 5 px ;
2016-03-25 15:52:53 +01:00
}
2015-09-22 11:24:31 +02:00
. vmenu div . blockvmenulogo
{
padding - bottom : 10 px ;
2016-06-17 12:39:00 +02:00
padding - top : 0 ;
2015-09-22 11:24:31 +02:00
}
div . blockvmenubookmarks
{
padding - bottom : 6 px ! important ;
}
div . blockvmenupair , div . blockvmenuimpair , div . blockvmenubookmarks , div . blockvmenuend
2010-09-29 12:51:36 +02:00
{
2010-05-13 02:32:01 +02:00
font - family : < ? php print $fontlist ?> ;
2006-08-20 01:00:53 +02:00
color : #000000;
2009-08-11 14:28:30 +02:00
text - align : < ? php print $left ; ?> ;
2006-06-05 20:26:46 +02:00
text - decoration : none ;
2012-01-14 00:39:58 +01:00
padding - left : 5 px ;
2007-11-09 03:15:16 +01:00
padding - right : 1 px ;
padding - top : 3 px ;
padding - bottom : 3 px ;
2015-09-22 11:24:31 +02:00
margin : 0 0 0 2 px ;
2012-01-14 00:39:58 +01:00
2015-05-21 01:32:56 +02:00
background : rgb ( < ? php echo $colorbackvmenu1 ; ?> );
2013-06-03 22:06:28 +02:00
2015-09-22 11:24:31 +02:00
border - left : 1 px solid #AAA;
2014-10-24 00:53:41 +02:00
border - right : 1 px solid #BBB;
2006-06-05 20:26:46 +02:00
}
2010-09-29 12:51:36 +02:00
div . blockvmenusearch
{
2010-06-26 02:16:59 +02:00
font - family : < ? php print $fontlist ?> ;
color : #000000;
text - align : < ? php print $left ; ?> ;
text - decoration : none ;
2016-06-17 12:39:00 +02:00
margin : 1 px 0 px 0 px 2 px ;
2015-09-26 16:34:43 +02:00
background : rgb ( < ? php echo $colorbackvmenu1 ; ?> );
2010-06-26 02:16:59 +02:00
}
2015-06-16 12:04:11 +02:00
div . blockvmenusearch > form > div {
padding - top : 3 px ;
}
2015-06-16 13:09:46 +02:00
div . blockvmenusearch > form > div > label {
padding - right : 2 px ;
}
2015-06-16 12:04:11 +02: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-05-13 02:32:01 +02:00
font - family : < ? php print $fontlist ?> ;
2006-08-20 01:00:53 +02:00
color : #000000;
2012-01-14 00:39:58 +01:00
text - align : center ;
2006-06-05 20:26:46 +02:00
text - decoration : none ;
2012-01-14 00:39:58 +01:00
padding - left : 0 px ;
2016-06-19 13:18:21 +02:00
padding - right : 6 px ;
2007-11-09 03:15:16 +01:00
padding - top : 3 px ;
padding - bottom : 3 px ;
2012-01-14 00:39:58 +01:00
margin : 4 px 0 px 0 px 0 px ;
2010-09-29 12:51:36 +02:00
< ? php } else { ?>
display : none ;
< ? php } ?>
2006-06-05 20:26:46 +02:00
}
2006-08-20 01:00:53 +02:00
td . barre {
2006-06-05 20:26:46 +02:00
border - right : 1 px solid #000000;
border - bottom : 1 px solid #000000;
background : #b3c5cc;
2010-05-13 02:32:01 +02:00
font - family : < ? php print $fontlist ?> ;
2006-08-20 01:00:53 +02:00
color : #000000;
2009-08-11 14:28:30 +02:00
text - align : < ? php print $left ; ?> ;
2006-06-05 20:26:46 +02:00
text - decoration : none ;
}
2006-08-20 01:00:53 +02:00
td . barre_select {
background : #b3c5cc;
2006-06-05 20:26:46 +02:00
color : #000000;
}
td . photo {
2006-08-20 01:00:53 +02:00
background : #F4F4F4;
2006-06-05 20:26:46 +02:00
color : #000000;
2016-05-21 15:03:02 +02:00
border : 1 px solid #bbb;
2006-06-05 20:26:46 +02:00
}
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 */
}
2006-06-05 20:26:46 +02:00
2010-08-27 21:44:52 +02:00
/* ============================================================================== */
/* Toolbar for ECM or Filemanager */
/* ============================================================================== */
2012-12-29 23:40:16 +01:00
. largebutton {
2013-07-28 17:02:13 +02:00
background - image : - o - linear - gradient ( bottom , rgba ( 200 , 200 , 200 , 0.1 ) 0 % , rgba ( 255 , 255 , 255 , 0.3 ) 120 % ) ! important ;
background - image : - moz - linear - gradient ( bottom , rgba ( 200 , 200 , 200 , 0.1 ) 0 % , rgba ( 255 , 255 , 255 , 0.3 ) 120 % ) ! important ;
background - image : - webkit - linear - gradient ( bottom , rgba ( 200 , 200 , 200 , 0.1 ) 0 % , rgba ( 255 , 255 , 255 , 0.3 ) 120 % ) ! important ;
background - image : - ms - linear - gradient ( bottom , rgba ( 200 , 200 , 200 , 0.1 ) 0 % , rgba ( 255 , 255 , 255 , 0.3 ) 120 % ) ! important ;
background - image : linear - gradient ( bottom , rgba ( 200 , 200 , 200 , 0.1 ) 0 % , rgba ( 255 , 255 , 255 , 0.3 ) 120 % ) ! important ;
2015-05-03 20:07:16 +02:00
2013-07-28 17:02:13 +02:00
background : #FFF;
background - repeat : repeat - x ! important ;
border : 1 px solid #CCC !important;
2012-03-24 15:20:49 +01:00
2015-05-22 00:46:53 +02:00
- moz - border - radius : 4 px 4 px 4 px 4 px ! important ;
- webkit - border - radius : 4 px 4 px 4 px 4 px ! important ;
border - radius : 4 px 4 px 4 px 4 px ! important ;
2013-07-28 17:02:13 +02:00
- moz - box - shadow : 2 px 2 px 4 px #DDD;
- webkit - box - shadow : 2 px 2 px 4 px #DDD;
box - shadow : 2 px 2 px 4 px #DDD;
2012-01-14 00:39:58 +01:00
2012-03-24 15:20:49 +01:00
padding : 0 4 px 0 4 px ! important ;
2013-11-13 20:37:05 +01:00
min - height : 32 px ;
2012-12-29 23:40:16 +01:00
}
2012-03-31 18:34:42 +02:00
2010-08-27 21:44:52 +02:00
2012-03-24 15:20:49 +01:00
a . toolbarbutton {
2012-03-26 03:09:35 +02:00
margin - top : 0 px ;
2010-08-27 21:44:52 +02:00
margin - left : 4 px ;
2012-03-24 15:20:49 +01:00
margin - right : 4 px ;
height : 30 px ;
}
img . toolbarbutton {
2012-03-26 03:09:35 +02:00
margin - top : 1 px ;
height : 30 px ;
2010-08-27 21:44:52 +02: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-27 21:38:45 +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
2013-10-22 18:01:54 +02:00
2010-08-27 22:41:54 +02:00
/*
* RESIZER - BARS
*/
. ui - layout - resizer { /* all 'resizer-bars' */
2013-04-03 15:20:56 +02:00
width : < ? php echo ( empty ( $conf -> dol_optimize_smallscreen ) ? '8' : '24' ); ?> px !important;
2011-08-15 19:43:40 +02:00
}
. 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;
2013-04-03 15:20:56 +02:00
width : < ? php echo ( empty ( $conf -> dol_optimize_smallscreen ) ? '8' : '24' ); ?> px;
2011-08-15 19:43:40 +02:00
}
. 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 */
}
2011-09-01 01:05:11 +02:00
. ui - layout - resizer - closed {
background - color : #DDDDDD;
}
2011-08-15 19:43:40 +02:00
. 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 );
2011-09-01 00:33:37 +02:00
}
. ui - layout - resizer - sliding - hover { /* sliding resizer - hover */
opacity : 1.00 ; /* on-hover, show the resizer-bar normally */
filter : alpha ( opacity = 100 );
}
/* sliding resizer - add 'outside-border' to resizer on-hover */
/* this sample illustrates how to target specific panes and states */
2011-09-01 01:05:11 +02:00
/*. ui - layout - resizer - north - sliding - hover { border - bottom - width : 1 px ; }
2011-08-15 19:43:40 +02:00
. 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 ; }
2011-09-01 01:05:11 +02:00
*/
2010-08-27 22:41:54 +02:00
/*
* TOGGLER - BUTTONS
*/
. ui - layout - toggler {
2013-04-03 15:20:56 +02:00
< ? php if ( empty ( $conf -> dol_optimize_smallscreen )) { ?>
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 ;
2011-09-01 01:05:11 +02:00
< ? php } else { ?>
diplay : none ;
< ? php } ?>
}
2011-08-15 19:43:40 +02:00
. ui - layout - toggler - open {
2011-09-01 01:05:11 +02:00
height : 54 px ! important ;
2013-04-03 15:20:56 +02:00
width : < ? php echo ( empty ( $conf -> dol_optimize_smallscreen ) ? '7' : '22' ); ?> px !important;
2011-08-15 19:43:40 +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 ;
}
. ui - layout - toggler - closed {
2013-04-03 15:20:56 +02:00
height : < ? php echo ( empty ( $conf -> dol_optimize_smallscreen ) ? '54' : '2' ); ?> px !important;
width : < ? php echo ( empty ( $conf -> dol_optimize_smallscreen ) ? '7' : '22' ); ?> px !important;
2011-08-15 19:43:40 +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 ;
}
. 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' */
2016-09-17 21:03:20 +02:00
. ui - layout - resizer - sliding . ui - layout - toggler {
2011-08-15 19:43:40 +02:00
display : none ;
}
. ui - layout - north {
2013-04-03 15:20:56 +02:00
height : < ? php print ( empty ( $conf -> dol_optimize_smallscreen ) ? '54' : '21' ); ?> px !important;
2011-08-15 19:43:40 +02:00
}
2012-03-21 21:32:36 +01:00
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 ;
}
2011-10-26 17:06:59 +02:00
2011-08-15 19:43:40 +02:00
. 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
}
2011-10-26 15:04:37 +02:00
. ecm - layout - resizer - closed {
}
2010-08-27 22:41:54 +02:00
2011-07-06 13:40:21 +02: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 ;
}
2011-07-06 13:40:21 +02: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 ;
}
2010-08-27 21:44:52 +02:00
2006-06-05 20:26:46 +02:00
2011-10-26 15:04:37 +02:00
2006-06-05 20:26:46 +02:00
/* ============================================================================== */
/* Onglets */
/* ============================================================================== */
div . tabs {
2009-08-11 14:28:30 +02:00
text - align : < ? php print $left ; ?> ;
2014-10-17 14:47:17 +02:00
margin - left : 6 px ! important ;
margin - right : 6 px ! important ;
2013-04-24 03:56:13 +02:00
clear : both ;
height : 100 % ;
2006-06-05 20:26:46 +02:00
}
2015-06-05 14:02:50 +02:00
div . tabsElem {
margin - top : 1 px ;
< ? php if ( ! empty ( $conf -> dol_use_jmobile )) { ?> ;
margin - bottom : - 1 px ;
< ? php } ?>
} /* To avoid overlap of tabs when not browser */
2006-06-05 20:26:46 +02:00
div . tabBar {
2013-07-28 17:02:13 +02:00
color : #<?php echo $colortextbacktab; ?>;
2016-08-30 18:10:53 +02:00
padding - top : 16 px ;
2016-09-10 16:09:01 +02:00
padding - left : 0 px ; padding - right : 0 px ;
/* padding - left : 18 px ;
padding - right : 18 px ; */
2016-08-30 18:10:53 +02:00
padding - bottom : 14 px ;
2011-08-13 02:47:59 +02:00
margin : 0 px 0 px 14 px 0 px ;
2016-09-10 16:09:01 +02:00
/*- moz - border - radius : 4 px ;
2015-05-22 00:46:53 +02:00
- webkit - border - radius : 4 px ;
border - radius : 4 px ;
2015-04-25 22:20:10 +02:00
border - right : 1 px solid #AAA;
2016-09-10 16:09:01 +02:00
border - left : 1 px solid #AAA; */
2015-04-25 22:20:10 +02:00
border - top : 1 px solid #BBB;
2016-09-10 16:09:01 +02:00
border - bottom : 1 px solid #AAA;
2013-04-28 01:12:40 +02:00
width : auto ;
2015-05-03 20:07:16 +02:00
2015-04-25 22:20:10 +02:00
background : rgb ( < ? php echo $colorbacktabcard1 ; ?> );
2015-05-03 20:07:16 +02:00
2016-04-22 11:11:08 +02:00
/*< ? php if ( empty ( $dol_optimize_smallscreen )) { ?>
2013-07-26 14:59:18 +02:00
- moz - box - shadow : 3 px 3 px 4 px #DDD;
- webkit - box - shadow : 3 px 3 px 4 px #DDD;
box - shadow : 3 px 3 px 4 px #DDD;
2016-04-22 11:11:08 +02:00
< ? php } ?> */
2006-06-05 20:26:46 +02:00
}
2015-10-15 13:31:44 +02:00
div . popuptabset {
padding : 6 px ;
2016-08-08 22:58:21 +02:00
background : #fff;
2015-10-15 13:31:44 +02:00
border : 1 px solid #888;
}
div . popuptab {
padding - top : 3 px ;
padding - bottom : 3 px ;
padding - left : 5 px ;
padding - right : 5 px ;
}
2006-06-05 20:26:46 +02:00
div . tabsAction {
2011-08-13 15:03:03 +02:00
margin : 20 px 0 em 10 px 0 em ;
2006-06-05 20:26:46 +02:00
padding : 0 em 0 em ;
text - align : right ;
}
2015-12-06 00:37:58 +01:00
div . tabsAction > a {
margin - bottom : 16 px ! important ;
}
2007-08-08 13:45:27 +02:00
2006-06-05 20:26:46 +02:00
a . tabTitle {
2016-01-02 20:48:19 +01:00
color : rgba ( 0 , 0 , 0 , . 5 ) ! important ;
2013-04-21 17:56:29 +02:00
text - shadow : 1 px 1 px 1 px #ffffff;
2010-05-13 02:32:01 +02:00
font - family : < ? php print $fontlist ?> ;
2016-01-02 20:48:19 +01:00
font - weight : normal ! important ;
2016-08-23 15:43:48 +02:00
padding : 4 px 6 px 2 px 0 px ;
margin - right : 10 px ;
2006-06-05 20:26:46 +02:00
text - decoration : none ;
white - space : nowrap ;
}
2012-03-19 18:54:12 +01:00
a . tab : link , a . tab : visited , a . tab : hover , a . tab #active {
2010-05-13 02:32:01 +02:00
font - family : < ? php print $fontlist ?> ;
2016-05-30 22:15:17 +02:00
padding : 8 px 9 px 8 px ;
2006-06-05 20:26:46 +02:00
margin : 0 em 0.2 em ;
text - decoration : none ;
white - space : nowrap ;
2013-04-24 03:56:13 +02:00
2015-05-22 00:46:53 +02:00
border - right : 1 px solid transparent ;
border - left : 1 px solid transparent ;
border - top : 1 px solid transparent ;
2015-09-18 15:51:27 +02:00
border - bottom : 0 px ! important ;
2016-05-19 19:11:31 +02:00
/*
2015-05-22 00:46:53 +02:00
- moz - border - radius : 4 px 4 px 0 0 ;
- webkit - border - radius : 4 px 4 px 0 0 ;
border - radius : 4 px 4 px 0 0 ;
2016-05-19 19:11:31 +02:00
*/
2015-05-22 00:46:53 +02:00
2015-05-21 01:32:56 +02:00
background - image : none ! important ;
2006-06-05 20:26:46 +02:00
}
2015-05-21 01:32:56 +02:00
. tabactive , a . tab #active {
2015-04-25 22:20:10 +02:00
color : #<?php echo $colortextbacktab; ?> !important;
background : rgb ( < ? php echo $colorbacktabcard1 ; ?> ) !important;
2015-11-29 16:05:14 +01:00
margin : 0 0.2 em 0 0.2 em ! important ;
2015-10-09 20:00:43 +02:00
2015-04-25 22:20:10 +02:00
border - right : 1 px solid #AAA !important;
border - left : 1 px solid #AAA !important;
2016-05-21 12:09:54 +02:00
border - top : 2 px solid rgb ( < ? php echo $colortopbordertitle1 ; ?> ) !important;
2016-05-19 19:11:31 +02:00
/*
box - shadow : 0 - 1 px 4 px rgba ( 0 , 0 , 0 , . 1 );
- moz - box - shadow : 0 - 1 px 4 px rgba ( 0 , 0 , 0 , . 1 );
- webkit - box - shadow : 0 - 1 px 4 px rgba ( 0 , 0 , 0 , . 1 );
2015-05-22 00:46:53 +02:00
- moz - border - radius : 4 px 4 px 0 0 ;
- webkit - border - radius : 4 px 4 px 0 0 ;
border - radius : 4 px 4 px 0 0 ;
2016-05-19 19:11:31 +02:00
*/
2006-06-05 20:26:46 +02:00
}
2013-07-26 14:59:18 +02:00
a . tab : hover
2012-02-01 11:30:17 +01:00
{
2015-05-21 01:32:56 +02:00
/*
2013-07-26 14:59:18 +02:00
background : rgba ( < ? php echo $colorbacktabcard1 ; ?> , 0.5) url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/nav-overlay3.png',1); ?>) 50% 0 repeat-x;
2013-07-28 17:02:13 +02:00
color : #<?php echo $colortextbacktab; ?>;
2015-05-21 01:32:56 +02:00
*/
text - decoration : underline ;
2012-02-01 11:30:17 +01:00
}
2006-06-05 20:26:46 +02:00
a . tabimage {
2011-04-04 20:42:28 +02:00
color : #434956;
2010-05-13 02:32:01 +02:00
font - family : < ? php print $fontlist ?> ;
2006-06-05 20:26:46 +02:00
text - decoration : none ;
white - space : nowrap ;
}
2008-02-13 00:45:07 +01:00
td . tab {
background : #dee7ec;
}
2006-06-05 20:26:46 +02:00
2010-10-06 11:28:45 +02:00
span . tabspan {
background : #dee7ec;
2011-04-04 20:42:28 +02:00
color : #434956;
2010-10-06 11:28:45 +02:00
font - family : < ? php print $fontlist ?> ;
padding : 0 px 6 px ;
margin : 0 em 0.2 em ;
text - decoration : none ;
white - space : nowrap ;
2015-05-22 00:46:53 +02:00
- moz - border - radius : 4 px 4 px 0 px 0 px ;
- webkit - border - radius : 4 px 4 px 0 px 0 px ;
border - radius : 4 px 4 px 0 px 0 px ;
2010-10-06 11:28:45 +02:00
border -< ? php print $right ; ?> : 1px solid #555555;
border -< ? php print $left ; ?> : 1px solid #D8D8D8;
border - top : 1 px solid #D8D8D8;
}
2006-06-05 20:26:46 +02:00
/* ============================================================================== */
/* Boutons actions */
/* ============================================================================== */
2016-09-17 21:03:20 +02:00
div . divButAction {
margin - bottom : 1.4 em ;
}
2013-04-03 15:20:56 +02:00
2015-11-21 15:31:27 +01:00
span . butAction , span . butActionDelete {
cursor : pointer ;
}
2011-05-15 07:30:19 +02:00
. butAction , . butAction : link , . butAction : visited , . butAction : hover , . butAction : active , . butActionDelete , . butActionDelete : link , . butActionDelete : visited , . butActionDelete : hover , . butActionDelete : active {
2014-10-03 03:52:50 +02:00
text - decoration : none ;
margin : 0 em < ? php echo ( $dol_optimize_smallscreen ? '0.7' : '0.9' ); ?> em;
2015-11-21 15:31:27 +01:00
padding : 0.6 em < ? php echo ( $dol_optimize_smallscreen ? '0.4' : '0.7' ); ?> em;
2010-05-13 02:32:01 +02:00
font - family : < ? php print $fontlist ?> ;
2015-05-21 01:32:56 +02:00
/* for bootstrap look
color : #fff;
background - color : #337ab7;
border - color : #2e6da4;
display : inline - block ;
padding : 6 px 12 px ;
margin - bottom : 0 ;
font - weight : normal ;
line - height : 1.42857143 ;
text - align : center ;
white - space : nowrap ;
vertical - align : middle ;
- ms - touch - action : manipulation ;
touch - action : manipulation ;
cursor : pointer ;
- webkit - user - select : none ;
- moz - user - select : none ;
- ms - user - select : none ;
user - select : none ;
background - image : none ;
border : 1 px solid transparent ;
border - radius : 4 px ;
*/
2015-05-22 00:46:53 +02:00
2015-05-21 01:32:56 +02:00
font - weight : normal ;
border - color : #c5c5c5;
border - color : rgba ( 0 , 0 , 0 , 0.15 ) rgba ( 0 , 0 , 0 , 0.15 ) rgba ( 0 , 0 , 0 , 0.25 );
display : inline - block ;
text - align : center ;
cursor : pointer ;
2015-11-21 15:31:27 +01:00
color : #fff;
background : rgb ( < ? php echo $colorbackhmenu1 ?> );
background - image : linear - gradient ( top , rgba ( 255 , 255 , 255 , . 1 ) 0 % , rgba ( 0 , 0 , 0 , . 4 ) 100 % );
background - image : - o - linear - gradient ( top , rgba ( 255 , 255 , 255 , . 1 ) 0 % , rgba ( 0 , 0 , 0 , . 4 ) 100 % );
background - image : - moz - linear - gradient ( top , rgba ( 255 , 255 , 255 , . 1 ) 0 % , rgba ( 0 , 0 , 0 , . 4 ) 100 % );
background - image : - webkit - linear - gradient ( top , rgba ( 255 , 255 , 255 , . 1 ) 0 % , rgba ( 0 , 0 , 0 , . 4 ) 100 % );
background - image : - ms - linear - gradient ( top , rgba ( 255 , 255 , 255 , . 1 ) 0 % , rgba ( 0 , 0 , 0 , . 4 ) 100 % );
2015-05-21 01:32:56 +02:00
color : #333333;
text - shadow : 0 1 px 1 px rgba ( 255 , 255 , 255 , 0.75 );
background - color : #f5f5f5;
background - image : - moz - linear - gradient ( top , #ffffff, #e6e6e6);
background - image : - webkit - gradient ( linear , 0 0 , 0 100 % , from ( #ffffff), to(#e6e6e6));
background - image : - webkit - linear - gradient ( top , #ffffff, #e6e6e6);
background - image : - o - linear - gradient ( top , #ffffff, #e6e6e6);
background - image : linear - gradient ( to bottom , #ffffff, #e6e6e6);
2015-11-21 15:31:27 +01:00
2015-05-21 01:32:56 +02:00
background - repeat : repeat - x ;
filter : progid : DXImageTransform . Microsoft . gradient ( startColorstr = '#ffffffff' , endColorstr = '#ffe6e6e6' , GradientType = 0 );
border - color : #e6e6e6 #e6e6e6 #bfbfbf;
border - color : rgba ( 0 , 0 , 0 , 0.1 ) rgba ( 0 , 0 , 0 , 0.1 ) rgba ( 0 , 0 , 0 , 0.25 );
filter : progid : DXImageTransform . Microsoft . gradient ( enabled = false );
border : 1 px solid #bbbbbb;
border - bottom - color : #a2a2a2;
2016-09-21 00:29:19 +02:00
- webkit - border - radius : 2 px ;
- moz - border - radius : 2 px ;
border - radius : 2 px ;
2015-05-21 01:32:56 +02:00
- webkit - box - shadow : inset 0 1 px 0 rgba ( 255 , 255 , 255 , 0.2 ), 0 1 px 2 px rgba ( 0 , 0 , 0 , 0.05 );
- moz - box - shadow : inset 0 1 px 0 rgba ( 255 , 255 , 255 , 0.2 ), 0 1 px 2 px rgba ( 0 , 0 , 0 , 0.05 );
box - shadow : inset 0 1 px 0 rgba ( 255 , 255 , 255 , 0.2 ), 0 1 px 2 px rgba ( 0 , 0 , 0 , 0.05 );
2010-04-07 11:21:30 +02:00
}
2006-06-05 20:26:46 +02:00
2011-05-15 07:30:19 +02:00
. butAction : hover {
2015-05-21 01:32:56 +02:00
- moz - box - shadow : 0 px 0 px 6 px 1 px rgba ( 0 , 0 , 0 , 0.2 ), 0 px 0 px 0 px rgba ( 60 , 60 , 60 , 0.1 );
- webkit - box - shadow : 0 px 0 px 6 px 1 px rgba ( 0 , 0 , 0 , 0.2 ), 0 px 0 px 0 px rgba ( 60 , 60 , 60 , 0.1 );
box - shadow : 0 px 0 px 6 px 1 px rgba ( 0 , 0 , 0 , 0.2 ), 0 px 0 px 0 px rgba ( 60 , 60 , 60 , 0.1 );
2010-04-07 11:21:30 +02:00
}
2006-06-05 20:26:46 +02:00
2016-05-01 17:01:38 +02:00
. butActionDelete , . butActionDelete : link , . butActionDelete : visited , . butActionDelete : hover , . butActionDelete : active , . buttonDelete {
color : #800 !important;
2010-04-07 11:21:30 +02:00
}
2011-07-02 01:08:25 +02:00
. butActionDelete : hover {
2015-05-21 01:32:56 +02:00
- moz - box - shadow : 0 px 0 px 6 px 1 px rgba ( 0 , 0 , 0 , 0.2 ), 0 px 0 px 0 px rgba ( 60 , 60 , 60 , 0.1 );
- webkit - box - shadow : 0 px 0 px 6 px 1 px rgba ( 0 , 0 , 0 , 0.2 ), 0 px 0 px 0 px rgba ( 60 , 60 , 60 , 0.1 );
box - shadow : 0 px 0 px 6 px 1 px rgba ( 0 , 0 , 0 , 0.2 ), 0 px 0 px 0 px rgba ( 60 , 60 , 60 , 0.1 );
2010-04-07 11:21:30 +02:00
}
. butActionRefused {
2015-05-21 01:32:56 +02:00
text - decoration : none ! important ;
2014-10-03 03:52:50 +02:00
white - space : nowrap ! important ;
2015-05-21 01:32:56 +02:00
cursor : not - allowed ! important ;
2014-10-03 03:52:50 +02:00
margin : 0 em < ? php echo ( $dol_optimize_smallscreen ? '0.7' : '0.9' ); ?> em;
2015-11-21 15:31:27 +01:00
padding : 0.6 em < ? php echo ( $dol_optimize_smallscreen ? '0.4' : '0.7' ); ?> em;
2014-10-03 03:52:50 +02:00
font - family : < ? php print $fontlist ?> !important;
2015-05-21 01:32:56 +02:00
/* for bootstrap look
color : #333;
background - color : #e6e6e6;
border - color : #adadad;
display : inline - block ;
margin - bottom : 0 ;
font - weight : normal ! important ;
line - height : 1.42857143 ;
text - align : center ;
white - space : nowrap ;
vertical - align : middle ;
- ms - touch - action : manipulation ;
touch - action : manipulation ;
- webkit - user - select : none ;
- moz - user - select : none ;
- ms - user - select : none ;
user - select : none ;
background - image : none ;
border : 1 px solid transparent ;
border - radius : 4 px ;
*/
2014-10-03 03:52:50 +02:00
2015-05-21 01:32:56 +02:00
font - weight : normal ! important ;
border - color : #c5c5c5;
border - color : rgba ( 0 , 0 , 0 , 0.15 ) rgba ( 0 , 0 , 0 , 0.15 ) rgba ( 0 , 0 , 0 , 0.25 );
display : inline - block ;
2015-11-21 15:31:27 +01:00
margin : 0 em < ? php echo ( $dol_optimize_smallscreen ? '0.7' : '0.9' ); ?> em;
padding : 0.6 em < ? php echo ( $dol_optimize_smallscreen ? '0.4' : '0.7' ); ?> em;
2015-05-21 01:32:56 +02:00
text - align : center ;
cursor : pointer ;
color : #999 !important;
text - shadow : 0 1 px 1 px rgba ( 255 , 255 , 255 , 0.75 );
background - color : #f5f5f5;
background - image : - moz - linear - gradient ( top , #ffffff, #e6e6e6);
background - image : - webkit - gradient ( linear , 0 0 , 0 100 % , from ( #ffffff), to(#e6e6e6));
background - image : - webkit - linear - gradient ( top , #ffffff, #e6e6e6);
background - image : - o - linear - gradient ( top , #ffffff, #e6e6e6);
background - image : linear - gradient ( to bottom , #ffffff, #e6e6e6);
background - repeat : repeat - x ;
filter : progid : DXImageTransform . Microsoft . gradient ( startColorstr = '#ffffffff' , endColorstr = '#ffe6e6e6' , GradientType = 0 );
border - color : #e6e6e6 #e6e6e6 #bfbfbf;
border - color : rgba ( 0 , 0 , 0 , 0.1 ) rgba ( 0 , 0 , 0 , 0.1 ) rgba ( 0 , 0 , 0 , 0.25 );
filter : progid : DXImageTransform . Microsoft . gradient ( enabled = false );
border : 1 px solid #bbbbbb;
border - bottom - color : #a2a2a2;
- webkit - border - radius : 4 px ;
- moz - border - radius : 4 px ;
border - radius : 4 px ;
- webkit - box - shadow : inset 0 1 px 0 rgba ( 255 , 255 , 255 , 0.2 ), 0 1 px 2 px rgba ( 0 , 0 , 0 , 0.05 );
- moz - box - shadow : inset 0 1 px 0 rgba ( 255 , 255 , 255 , 0.2 ), 0 1 px 2 px rgba ( 0 , 0 , 0 , 0.05 );
box - shadow : inset 0 1 px 0 rgba ( 255 , 255 , 255 , 0.2 ), 0 1 px 2 px rgba ( 0 , 0 , 0 , 0.05 );
2006-06-05 20:26:46 +02:00
2011-05-15 07:30:19 +02:00
}
2015-05-05 21:41:08 +02:00
/* Prepare for bootstrap look
2014-10-03 03:52:50 +02:00
. butAction , . butActionDelete , . butActionRefused {
border - color : #c5c5c5;
border - color : rgba ( 0 , 0 , 0 , 0.15 ) rgba ( 0 , 0 , 0 , 0.15 ) rgba ( 0 , 0 , 0 , 0.25 );
display : inline - block ;
padding : 4 px 14 px ;
margin - bottom : 0 ;
line - height : 20 px ;
text - align : center ;
vertical - align : middle ;
cursor : pointer ;
color : #333333;
text - shadow : 0 1 px 1 px rgba ( 255 , 255 , 255 , 0.75 );
background - color : #f5f5f5;
background - image : - moz - linear - gradient ( top , #ffffff, #e6e6e6);
background - image : - webkit - gradient ( linear , 0 0 , 0 100 % , from ( #ffffff), to(#e6e6e6));
background - image : - webkit - linear - gradient ( top , #ffffff, #e6e6e6);
background - image : - o - linear - gradient ( top , #ffffff, #e6e6e6);
background - image : linear - gradient ( to bottom , #ffffff, #e6e6e6);
background - repeat : repeat - x ;
filter : progid : DXImageTransform . Microsoft . gradient ( startColorstr = '#ffffffff' , endColorstr = '#ffe6e6e6' , GradientType = 0 );
border - color : #e6e6e6 #e6e6e6 #bfbfbf;
border - color : rgba ( 0 , 0 , 0 , 0.1 ) rgba ( 0 , 0 , 0 , 0.1 ) rgba ( 0 , 0 , 0 , 0.25 );
filter : progid : DXImageTransform . Microsoft . gradient ( enabled = false );
border : 1 px solid #bbbbbb;
border - bottom - color : #a2a2a2;
- webkit - border - radius : 4 px ;
- moz - border - radius : 4 px ;
border - radius : 4 px ;
- webkit - box - shadow : inset 0 1 px 0 rgba ( 255 , 255 , 255 , 0.2 ), 0 1 px 2 px rgba ( 0 , 0 , 0 , 0.05 );
- moz - box - shadow : inset 0 1 px 0 rgba ( 255 , 255 , 255 , 0.2 ), 0 1 px 2 px rgba ( 0 , 0 , 0 , 0.05 );
box - shadow : inset 0 1 px 0 rgba ( 255 , 255 , 255 , 0.2 ), 0 1 px 2 px rgba ( 0 , 0 , 0 , 0.05 );
}
. butAction {
color : #ffffff;
text - shadow : 0 - 1 px 0 rgba ( 0 , 0 , 0 , 0.25 );
background - color : #006dcc;
background - image : - moz - linear - gradient ( top , #0088cc, #0044cc);
background - image : - webkit - gradient ( linear , 0 0 , 0 100 % , from ( #0088cc), to(#0044cc));
background - image : - webkit - linear - gradient ( top , #0088cc, #0044cc);
background - image : - o - linear - gradient ( top , #0088cc, #0044cc);
background - image : linear - gradient ( to bottom , #0088cc, #0044cc);
background - repeat : repeat - x ;
filter : progid : DXImageTransform . Microsoft . gradient ( startColorstr = '#ff0088cc' , endColorstr = '#ff0044cc' , GradientType = 0 );
border - color : #0044cc #0044cc #002a80;
border - color : rgba ( 0 , 0 , 0 , 0.1 ) rgba ( 0 , 0 , 0 , 0.1 ) rgba ( 0 , 0 , 0 , 0.25 );
filter : progid : DXImageTransform . Microsoft . gradient ( enabled = false );
}
. butActionDelete {
color : #ffffff;
text - shadow : 0 - 1 px 0 rgba ( 0 , 0 , 0 , 0.25 );
background - color : #cc6d00;
background - image : - moz - linear - gradient ( top , #cc8800, #cc4400);
background - image : - webkit - gradient ( linear , 0 0 , 0 100 % , from ( #cc8800), to(#cc4400));
background - image : - webkit - linear - gradient ( top , #cc8800, #cc4400);
background - image : - o - linear - gradient ( top , #cc8800, #cc4400);
background - image : linear - gradient ( to bottom , #cc8800, #cc4400);
background - repeat : repeat - x ;
filter : progid : DXImageTransform . Microsoft . gradient ( startColorstr = '#ffcc8800' , endColorstr = '#ffcc4400' , GradientType = 0 );
border - color : #cc4400 #cc4400 #802a00;
border - color : rgba ( 0 , 0 , 0 , 0.1 ) rgba ( 0 , 0 , 0 , 0.1 ) rgba ( 0 , 0 , 0 , 0.25 );
filter : progid : DXImageTransform . Microsoft . gradient ( enabled = false );
}
a . butAction : link , a . butAction : visited , a . butAction : hover , a . butAction : active {
color : #FFFFFF;
}
End bootstrap */
2016-09-10 02:58:32 +02:00
< ? php if ( ! empty ( $conf -> global -> MAIN_BUTTON_HIDE_UNAUTHORIZED ) && ( ! $user -> admin )) { ?>
2015-11-21 15:31:27 +01:00
. butActionRefused {
display : none ;
}
< ? php } ?>
2014-10-03 03:52:50 +02:00
2006-06-05 20:26:46 +02:00
/* ============================================================================== */
/* Tables */
/* ============================================================================== */
2012-03-11 22:08:46 +01:00
. allwidth {
width : 100 % ;
}
2012-01-14 00:39:58 +01:00
2010-05-13 02:32:01 +02:00
#undertopmenu {
2012-01-14 00:39:58 +01:00
background - repeat : repeat - x ;
2013-04-03 00:36:31 +02:00
margin - top : < ? php echo ( $dol_hide_topmenu ? '6' : '0' ); ?> px;
2010-05-13 02:32:01 +02:00
}
2012-01-14 00:39:58 +01:00
2010-05-13 02:32:01 +02:00
2011-11-14 15:46:44 +01:00
. paddingrightonly {
border - collapse : collapse ;
border : 0 px ;
margin - left : 0 px ;
2014-04-02 18:45:59 +02:00
padding -< ? php print $left ; ?> : 0px !important;
padding -< ? php print $right ; ?> : 4px !important;
2011-11-14 15:46:44 +01:00
}
2006-09-10 20:07:09 +02:00
. nocellnopadd {
2012-02-21 23:35:38 +01:00
list - style - type : none ;
margin : 0 px ! important ;
padding : 0 px ! important ;
2006-09-10 20:07:09 +02:00
}
2015-04-25 22:20:10 +02:00
tr . nocellnopadd td . nobordernopadding , tr . nocellnopadd td . nocellnopadd
{
border : 0 px ;
}
2006-09-10 20:07:09 +02:00
2006-06-05 20:26:46 +02:00
. notopnoleft {
2012-02-21 23:35:38 +01:00
border - collapse : collapse ;
border : 0 px ;
padding - top : 0 px ;
padding -< ? php print $left ; ?> : 0px;
padding -< ? php print $right ; ?> : 16px;
padding - bottom : 4 px ;
2015-11-29 16:05:14 +01:00
margin - right : 0 px ;
2006-06-05 20:26:46 +02:00
}
. notopnoleftnoright {
2012-02-21 23:35:38 +01:00
border - collapse : collapse ;
border : 0 px ;
padding - top : 0 px ;
padding - left : 0 px ;
padding - right : 0 px ;
padding - bottom : 4 px ;
margin : 0 px 0 px 0 px 0 px ;
2006-06-05 20:26:46 +02:00
}
2009-01-31 16:23:05 +01: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 {
2016-09-18 13:58:17 +02:00
< ? php if ( empty ( $noborderline )) { ?>
2015-05-30 19:50:07 +02:00
border : 1 px solid #E0E0E0;
2016-09-18 13:58:17 +02:00
< ? php } ?>
2015-10-09 17:21:38 +02:00
border - collapse : collapse ! important ;
2013-07-27 18:21:35 +02:00
padding : 1 px 2 px 1 px 3 px ; /* t r b l */
2006-06-05 20:26:46 +02:00
}
2015-10-09 20:00:43 +02:00
table . borderplus {
border : 1 px solid #BBB;
}
2015-04-25 22:20:10 +02:00
. border tbody tr , . border tbody tr td {
height : 20 px ;
}
2015-05-14 20:49:22 +02:00
div . tabBar table . border tr , div . tabBar table . border tr td , div . tabBar div . border . table - border - row , div . tabBar div . border . table - key - border - col , div . tabBar div . border . table - val - border - col {
2015-05-30 19:50:07 +02:00
height : 20 px ;
2015-05-14 20:49:22 +02:00
}
div . tabBar div . border . table - border - row , div . tabBar div . border . table - key - border - col , div . tabBar . table - val - border - col {
vertical - align : middle ;
2015-05-14 16:47:15 +02:00
}
2015-06-05 14:46:30 +02:00
div . tdtop {
2015-05-14 16:47:15 +02:00
vertical - align : top ;
2015-06-30 01:34:17 +02:00
padding - top : 5 px ! important ;
2015-05-31 01:06:51 +02:00
padding - bottom : 0 px ;
2015-04-25 22:20:10 +02:00
}
2013-10-27 00:04:57 +02:00
table . border td , div . border div div . tagtd {
2016-09-18 13:58:17 +02:00
< ? php if ( empty ( $noborderline )) { ?>
2014-10-17 14:47:17 +02:00
padding : 2 px 2 px 2 px 2 px ;
2015-05-30 19:50:07 +02:00
border : 1 px solid #E0E0E0;
2016-09-18 13:58:17 +02:00
< ? php } elseif ( $noborderline == 1 ) { ?>
padding : 3 px 2 px 3 px 2 px ;
border - bottom : 1 px solid #E0E0E0;
< ? php } elseif ( $noborderline == 2 ) { ?>
padding : 3 px 2 px 3 px 2 px ;
/* border: 1px solid #E0E0E0; */
< ? php } ?>
2012-02-21 23:35:38 +01:00
border - collapse : collapse ;
2006-06-05 20:26:46 +02:00
}
2013-10-27 00:04:57 +02:00
td . border , div . tagtable div div . border {
2012-02-21 23:35:38 +01: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;
2009-10-26 01:34:09 +01:00
}
2013-07-27 18:21:35 +02:00
. table - key - border - col {
2015-10-13 13:06:32 +02:00
/* width: 25%; */
2013-07-27 18:21:35 +02:00
vertical - align : top ;
}
. table - val - border - col {
width : auto ;
}
2009-10-29 18:30:29 +01:00
/* Main boxes */
2006-09-10 20:07:09 +02:00
2015-10-09 12:30:16 +02:00
table . liste , table . noborder , table . formdoc , div . noborder {
2012-02-21 23:35:38 +01:00
width : 100 % ;
2012-03-10 01:06:22 +01:00
2012-02-21 23:35:38 +01:00
border - collapse : separate ! important ;
border - spacing : 0 px ;
2015-03-23 14:53:21 +01:00
2016-06-07 13:15:38 +02:00
border - top - width : < ? php echo $borderwith ?> px;
2016-04-22 11:11:08 +02:00
border - top - color : rgb ( < ? php echo $colortopbordertitle1 ?> );
2015-05-15 02:34:57 +02:00
border - top - style : solid ;
2016-04-22 11:11:08 +02:00
/* border - right - width : 1 px ;
2015-10-02 11:58:19 +02:00
border - right - color : #BBB;
2012-02-21 23:35:38 +01:00
border - right - style : solid ;
2012-03-10 01:06:22 +01:00
2015-03-23 05:09:55 +01:00
border - left - width : 1 px ;
2015-10-02 11:58:19 +02:00
border - left - color : #BBB;
2015-03-23 05:09:55 +01:00
border - left - style : solid ;
2016-04-22 11:11:08 +02:00
*/
2015-10-02 11:58:19 +02:00
border - bottom - width : 1 px ;
border - bottom - color : #BBB;
border - bottom - style : solid ;
2016-02-16 12:45:18 +01:00
2015-10-15 14:13:31 +02:00
margin : 0 px 0 px 5 px 0 px ;
2012-03-10 01:06:22 +01:00
2016-03-13 14:37:39 +01:00
/* - moz - box - shadow : 2 px 2 px 4 px #CCC;
2015-03-23 14:53:21 +01:00
- webkit - box - shadow : 2 px 2 px 4 px #CCC;
box - shadow : 2 px 2 px 4 px #CCC;
2012-03-10 01:06:22 +01:00
2016-03-13 14:37:39 +01:00
- moz - border - radius : 0.2 em ;
2012-02-21 23:35:38 +01:00
- webkit - border - radius : 0.2 em ;
2015-10-09 12:30:16 +02:00
border - radius : 0.2 em ; */
2006-06-05 20:26:46 +02:00
}
2016-10-03 13:42:27 +02:00
. liste_titre_add td , . liste_titre_add th , . liste_titre_add . tagtd
2016-05-19 19:11:31 +02:00
{
2016-07-29 11:06:03 +02:00
border - top - width : 2 px ;
2016-05-19 19:11:31 +02:00
border - top - color : rgb ( < ? php echo $colortopbordertitle1 ?> );
border - top - style : solid ;
}
2015-10-09 12:30:16 +02:00
table . liste tr , table . noborder tr , div . noborder form {
2012-02-21 23:35:38 +01:00
border - top - color : #FEFEFE;
2015-04-18 18:57:13 +02:00
min - height : 20 px ;
2009-10-29 02:12:53 +01:00
}
2016-05-30 22:15:17 +02:00
table . liste th , table . noborder th , table . noborder tr . liste_titre td , table . noborder tr . box_titre td {
2016-06-06 21:26:31 +02:00
padding : 8 px 2 px 8 px 3 px ; /* t r b l */
2015-10-09 12:30:16 +02:00
}
2016-05-30 22:15:17 +02:00
tr . box_titre . nobordernopadding td { padding : 0 px ! important ; }
2015-10-09 12:30:16 +02:00
table . liste td , table . noborder td , div . noborder form , div . noborder form div {
2015-04-18 18:57:13 +02:00
padding : 5 px 2 px 5 px 3 px ; /* t r b l */
2006-06-05 20:26:46 +02:00
}
table . nobordernopadding {
2012-02-21 23:35:38 +01:00
border - collapse : collapse ! important ;
border : 0 px ;
2006-06-05 20:26:46 +02:00
}
2009-10-17 01:25:15 +02:00
table . nobordernopadding tr {
2012-02-21 23:35:38 +01:00
border : 0 px ! important ;
2015-04-21 12:03:51 +02:00
padding : 0 px 0 px ! important ;
2009-10-17 01:25:15 +02:00
}
2015-04-25 22:20:10 +02:00
table . nobordernopadding tr td {
border : 0 px ;
2015-05-15 12:53:14 +02:00
padding : 0 3 px 0 0 ;
2015-04-25 22:20:10 +02:00
}
table . border tr td table . nobordernopadding tr td {
padding - top : 0 px ;
padding - bottom : 0 px ;
}
td . borderright {
border : none ; /* to erase value for table.nobordernopadding td */
border - right - width : 1 px ! important ;
border - right - color : #BBB !important;
border - right - style : solid ! important ;
2006-06-05 20:26:46 +02:00
}
2015-04-25 22:20:10 +02:00
2015-10-09 12:30:16 +02:00
/* For table with no filter before */
table . listwithfilterbefore {
border - top : none ! important ;
2006-06-05 20:26:46 +02:00
}
2015-10-09 12:30:16 +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
2015-05-15 04:33:01 +02:00
2015-05-05 21:41:08 +02:00
/* Pagination */
2015-06-08 13:49:09 +02:00
div . refidpadding {
2016-11-05 03:27:56 +01:00
padding - top : < ? php print ( $conf -> dol_use_jmobile != 4 ) ? '3' : '7' ; ?> px;
2015-06-08 13:49:09 +02:00
}
div . refid {
font - weight : bold ;
2016-03-13 14:37:39 +01:00
color : #866;
2015-10-10 01:51:12 +02:00
font - size : 160 % ;
}
div . refidno {
padding - top : 2 px ;
font - weight : normal ;
color : #444;
font - size : < ? php print $fontsize ?> px;
2016-09-18 21:13:23 +02:00
line - height : 21 px ;
2015-06-05 14:02:50 +02:00
}
2016-09-19 10:43:30 +02:00
div . refidno form {
display : inline - block ;
}
2015-06-05 14:02:50 +02:00
2015-05-17 19:37:37 +02:00
div . pagination {
float : right ;
}
2015-05-15 04:33:01 +02:00
div . pagination a {
font - weight : normal ;
}
2015-05-17 19:37:37 +02:00
div . pagination ul
2015-05-05 21:41:08 +02:00
{
list - style : none ;
display : inline - block ;
padding - left : 0 px ;
2015-05-17 19:37:37 +02:00
padding - right : 0 px ;
margin : 0 ;
2015-05-05 21:41:08 +02:00
}
div . pagination li {
2015-05-17 19:37:37 +02:00
display : inline - block ;
padding - left : 0 px ;
padding - right : 0 px ;
2016-11-05 03:27:56 +01:00
< ? php if ( $conf -> dol_use_jmobile != 4 ) { ?>
2015-05-17 19:37:37 +02:00
padding - top : 6 px ;
2015-06-05 14:02:50 +02:00
padding - bottom : 5 px ;
< ? php } ?>
2015-05-05 21:41:08 +02:00
}
. pagination {
display : inline - block ;
padding - left : 0 ;
border - radius : 4 px ;
}
2015-05-18 08:59:58 +02:00
div . pagination li . pagination a ,
div . pagination li . pagination span {
2016-11-05 03:27:56 +01:00
< ? php if ( $conf -> dol_use_jmobile != 4 ) { ?>
2015-05-05 21:41:08 +02:00
padding : 6 px 12 px ;
margin - left : - 1 px ;
line - height : 1.42857143 ;
2015-05-15 04:33:01 +02:00
color : #000;
2015-05-05 21:41:08 +02:00
text - decoration : none ;
2016-09-10 16:09:01 +02:00
/*
border - color : #ccc;
2015-06-19 11:19:13 +02:00
background - color : #f5f5f5;
background - image : - moz - linear - gradient ( top , #ffffff, #e6e6e6);
background - image : - webkit - gradient ( linear , 0 0 , 0 100 % , from ( #ffffff), to(#e6e6e6));
background - image : - webkit - linear - gradient ( top , #ffffff, #e6e6e6);
background - image : - o - linear - gradient ( top , #ffffff, #e6e6e6);
2016-09-10 16:09:01 +02:00
background - image : linear - gradient ( to bottom , #ffffff, #e6e6e6);*/
2015-06-19 11:19:13 +02:00
background - repeat : repeat - x ;
2015-09-18 15:51:27 +02:00
< ? php } ?>
2015-05-18 08:59:58 +02:00
}
2015-05-22 14:28:02 +02:00
div . pagination li . pagination span . inactive {
cursor : default ;
2016-03-29 22:09:13 +02:00
color : #ccc;
}
div . pagination li a . inactive : hover ,
div . pagination li span . inactive : hover {
background - color : #f5f5f5;
background - image : - moz - linear - gradient ( top , #ffffff, #e6e6e6);
background - image : - webkit - gradient ( linear , 0 0 , 0 100 % , from ( #ffffff), to(#e6e6e6));
background - image : - webkit - linear - gradient ( top , #ffffff, #e6e6e6);
background - image : - o - linear - gradient ( top , #ffffff, #e6e6e6);
background - image : linear - gradient ( to bottom , #ffffff, #e6e6e6);
2015-05-22 14:28:02 +02:00
}
2015-10-13 13:06:32 +02:00
/* div . pagination li . litext {
padding - top : 8 px ;
} */
2015-06-05 14:02:50 +02:00
div . pagination li . litext a {
2015-10-11 12:27:04 +02:00
border : none ;
2015-06-05 14:02:50 +02:00
padding - right : 10 px ;
padding - left : 4 px ;
font - weight : bold ;
}
2015-10-11 12:27:04 +02:00
div . pagination li . litext a : hover {
background - color : transparent ;
background - image : none ;
}
div . pagination li . litext a : hover {
background - color : transparent ;
background - image : none ;
}
2016-11-05 03:27:56 +01:00
< ? php if ( $conf -> dol_use_jmobile == 4 ) { ?>
2015-06-05 14:02:50 +02:00
div . pagination li . litext {
padding - top : 13 px ;
vertical - align : top ;
}
< ? php } ?>
2016-11-05 03:27:56 +01:00
< ? php if ( $conf -> dol_use_jmobile != 4 ) { ?>
2015-06-05 14:02:50 +02:00
div . pagination li . noborder a : hover {
border : none ;
background - color : transparent ;
}
2015-05-18 08:59:58 +02:00
div . pagination li a ,
div . pagination li span {
2015-06-05 14:02:50 +02:00
background - color : #fff;
2016-09-10 16:09:01 +02:00
/* border: 1px solid #ddd; */
2015-05-05 21:41:08 +02:00
}
div . pagination li : first - child a ,
div . pagination li : first - child span {
margin - left : 0 ;
border - top - left - radius : 4 px ;
border - bottom - left - radius : 4 px ;
}
div . pagination li : last - child a ,
div . pagination li : last - child span {
border - top - right - radius : 4 px ;
border - bottom - right - radius : 4 px ;
}
div . pagination li a : hover ,
div . pagination li span : hover ,
div . pagination li a : focus ,
div . pagination li span : focus {
2015-05-15 04:33:01 +02:00
color : #000;
2015-05-05 21:41:08 +02:00
background - color : #eee;
2015-06-19 11:19:13 +02:00
border - color : #ccc;
background - image : - moz - linear - gradient ( top , #eee, #ddd);
background - image : - webkit - gradient ( linear , 0 0 , 0 100 % , from ( #eee), to(#ddd));
background - image : - webkit - linear - gradient ( top , #eee, #ddd);
background - image : - o - linear - gradient ( top , #eee, #ddd);
background - image : linear - gradient ( to bottom , #eee, #ddd);
background - repeat : repeat - x ;
2015-05-05 21:41:08 +02:00
}
div . pagination li . active a ,
div . pagination li . active span ,
div . pagination li . active a : hover ,
div . pagination li . active span : hover ,
div . pagination li . active a : focus ,
div . pagination li . active span : focus {
z - index : 2 ;
color : #fff;
cursor : default ;
background - color : < ? php $colorbackhmenu1 ?> ;
border - color : #337ab7;
}
div . pagination . disabled span ,
div . pagination . disabled span : hover ,
div . pagination . disabled span : focus ,
div . pagination . disabled a ,
div . pagination . disabled a : hover ,
div . pagination . disabled a : focus {
color : #777;
cursor : not - allowed ;
background - color : #fff;
border - color : #ddd;
}
2015-05-18 08:59:58 +02:00
< ? php } ?>
div . pagination li . pagination . active {
2015-05-15 04:33:01 +02:00
text - decoration : underline ;
}
2015-05-17 19:37:37 +02:00
div . pagination li . paginationafterarrows {
margin - left : 10 px ;
}
2015-10-02 16:11:25 +02:00
. paginationatbottom {
margin - top : 9 px ;
}
2014-08-14 13:26:59 +02:00
/* Prepare to remove class pair - impair
. noborder > tbody > tr : nth - child ( even ) td {
background : linear - gradient ( bottom , rgb ( < ? php echo $colorbacklineimpair1 ; ?> ) 85%, rgb(<?php echo $colorbacklineimpair2; ?>) 100%);
background : - o - linear - gradient ( bottom , rgb ( < ? php echo $colorbacklineimpair1 ; ?> ) 85%, rgb(<?php echo $colorbacklineimpair2; ?>) 100%);
background : - moz - linear - gradient ( bottom , rgb ( < ? php echo $colorbacklineimpair1 ; ?> ) 85%, rgb(<?php echo $colorbacklineimpair2; ?>) 100%);
background : - webkit - linear - gradient ( bottom , rgb ( < ? php echo $colorbacklineimpair1 ; ?> ) 85%, rgb(<?php echo $colorbacklineimpair2; ?>) 100%);
background : - ms - linear - gradient ( bottom , rgb ( < ? php echo $colorbacklineimpair1 ; ?> ) 85%, rgb(<?php echo $colorbacklineimpair2; ?>) 100%);
font - family : < ? php print $fontlist ?> ;
border : 0 px ;
margin - bottom : 1 px ;
color : #202020;
min - height : 18 px ;
}
. noborder > tbody > tr : nth - child ( odd ) td {
background : linear - gradient ( bottom , rgb ( < ? php echo $colorbacklinepair1 ; ?> ) 85%, rgb(<?php echo $colorbacklinepair2; ?>) 100%);
background : - o - linear - gradient ( bottom , rgb ( < ? php echo $colorbacklinepair1 ; ?> ) 85%, rgb(<?php echo $colorbacklinepair2; ?>) 100%);
background : - moz - linear - gradient ( bottom , rgb ( < ? php echo $colorbacklinepair1 ; ?> ) 85%, rgb(<?php echo $colorbacklinepair2; ?>) 100%);
background : - webkit - linear - gradient ( bottom , rgb ( < ? php echo $colorbacklinepair1 ; ?> ) 85%, rgb(<?php echo $colorbacklinepair2; ?>) 100%);
background : - ms - linear - gradient ( bottom , rgb ( < ? php echo $colorbacklinepair1 ; ?> ) 85%, rgb(<?php echo $colorbacklinepair2; ?>) 100%);
font - family : < ? php print $fontlist ?> ;
border : 0 px ;
margin - bottom : 1 px ;
color : #202020;
}
*/
2015-05-22 14:28:02 +02:00
/* Set the color for hover lines */
2015-06-18 14:25:13 +02:00
. odd : hover , . impair : hover , . even : hover , . pair : hover , . even : hover , . pair : hover , table . dataTable tr . even : hover , table . dataTable tr . odd : hover , . box_pair : hover , . box_impair : hover
2015-05-03 20:07:16 +02:00
{
2015-06-12 16:29:50 +02:00
< ? php if ( $colorbacklinepairhover ) { ?>
2015-05-03 20:07:16 +02:00
background : rgb ( < ? php echo $colorbacklinepairhover ; ?> ) !important;
2015-06-12 16:29:50 +02:00
< ? php } ?>
2014-08-14 13:26:59 +02:00
}
2015-06-18 14:25:13 +02:00
. odd , . impair , . nohover . odd : hover , . nohover . impair : hover , tr . odd td . nohover , tr . impair td . nohover , tr . box_pair td . nohover , tr . box_impair td . nohover
2015-06-12 16:29:50 +02:00
{
2014-08-14 13:26:59 +02:00
font - family : < ? php print $fontlist ?> ;
margin - bottom : 1 px ;
color : #202020;
min - height : 18 px ; /* seems to not be used */
2015-05-26 09:13:48 +02:00
background : #<?php echo colorArrayToHex(colorStringToArray($colorbacklineimpair1)); ?>;
2014-08-14 13:26:59 +02:00
}
2015-05-14 20:49:22 +02:00
#GanttChartDIV {
2015-05-26 09:13:48 +02:00
background : #<?php echo colorArrayToHex(colorStringToArray($colorbacklineimpair1)); ?>;
2015-05-14 20:49:22 +02:00
}
2015-05-03 20:07:16 +02:00
. even , . pair , . nohover . even : hover , . nohover . pair : hover , tr . even td . nohover , tr . pair td . nohover {
2014-08-14 13:26:59 +02:00
font - family : < ? php print $fontlist ?> ;
margin - bottom : 1 px ;
color : #202020;
2015-05-26 09:13:48 +02:00
background - color : #<?php echo colorArrayToHex(colorStringToArray($colorbacklinepair1)); ?>;
2015-03-23 05:09:55 +01:00
}
2015-05-22 14:28:02 +02:00
2015-05-03 20:07:16 +02:00
table . dataTable tr . odd {
2015-05-26 09:13:48 +02:00
background - color : #<?php echo colorArrayToHex(colorStringToArray($colorbacklinepair1)); ?> !important;
2015-05-03 20:07:16 +02:00
}
2015-05-22 14:28:02 +02:00
/* For no hover style */
2015-06-20 17:40:36 +02:00
table . nohover tr . impair , table . nohover tr . pair , table . nohover tr . impair td , table . nohover tr . pair td , tr . nohover td {
2015-05-26 09:13:48 +02:00
background - color : #<?php echo colorArrayToHex(colorStringToArray($colorbacklineimpair1)); ?> !important;
2015-05-22 14:28:02 +02:00
}
2015-06-20 17:40:36 +02:00
tr . nohoverpair td {
background - color : #<?php echo colorArrayToHex(colorStringToArray($colorbacklinepair1)); ?> !important;
}
2015-05-22 14:28:02 +02:00
2015-05-03 20:07:16 +02:00
table . dataTable td {
padding : 5 px 2 px 5 px 3 px ! important ;
}
tr . even td , tr . pair td , tr . odd td , tr . impair td , form . odd div . tagtd , form . impair div . tagtd , form . pair div . tagtd , div . impair div . tagtd , div . pair div . tagtd , div . liste_titre div . tagtd {
padding : 5 px 2 px 5 px 3 px ;
2015-03-23 05:09:55 +01:00
border - bottom : 1 px solid #ddd;
}
2015-12-06 00:37:58 +01:00
tr . even : last - of - type td , tr . pair : last - of - type td , tr . odd : last - of - type td , tr . impair : last - of - type td {
2015-11-21 15:31:27 +01:00
border - bottom : 0 px ! important ;
}
2015-05-03 20:07:16 +02:00
tr . even td . nobordernopadding tr td , tr . pair td . nobordernopadding tr td , tr . impair td . nobordernopadding tr td , tr . odd td . nobordernopadding tr td {
2015-04-25 22:20:10 +02:00
border - bottom : 0 px ! important ;
}
2015-04-27 02:33:44 +02:00
td . nobottom , td . nobottom {
border - bottom : 0 px ! important ;
}
2015-03-22 21:18:25 +01:00
div . liste_titre . tagtd {
vertical - align : middle ;
}
2015-08-31 18:01:36 +02:00
div . liste_titre {
box - shadow : 2 px 2 px 4 px #CCC;
}
2015-03-22 21:18:25 +01:00
div . liste_titre {
2015-09-27 16:45:53 +02:00
min - height : 26 px ! important ; /* We cant use height because it's a div and it should be higher if content is more. but min-height does not work either for div */
2015-05-15 02:34:57 +02:00
padding - top : 2 px ;
padding - bottom : 2 px ;
2016-04-22 13:38:44 +02:00
/* border - right - width : 1 px ;
2015-10-09 12:30:16 +02:00
border - right - color : #BBB;
2015-05-15 02:34:57 +02:00
border - right - style : solid ;
border - left - width : 1 px ;
2015-10-09 12:30:16 +02:00
border - left - color : #BBB;
2016-04-22 13:38:44 +02:00
border - left - style : solid ; */
2015-05-15 02:34:57 +02:00
border - top - width : 1 px ;
2015-10-09 12:30:16 +02:00
border - top - color : #BBB;
2015-05-15 02:34:57 +02:00
border - top - style : solid ;
2015-03-22 21:18:25 +01:00
}
2015-09-27 16:45:53 +02:00
div . liste_titre_bydiv {
2016-06-07 13:15:38 +02:00
border - top - width : < ? php echo $borderwith ?> px;
2016-04-22 11:11:08 +02:00
border - top - color : rgb ( < ? php echo $colortopbordertitle1 ?> );
border - top - style : solid ;
2015-09-27 16:45:53 +02:00
border - collapse : collapse ;
display : table ;
2015-10-09 12:30:16 +02:00
padding : 2 px 0 px 2 px 0 ;
2016-03-14 19:40:52 +01:00
box - shadow : none ;
2015-10-09 12:30:16 +02:00
width : calc ( 100 % - 1 px ); /* 1px more, i don't know why */
2015-09-27 16:45:53 +02:00
}
2013-06-26 11:58:01 +02:00
tr . liste_titre , tr . liste_titre_sel , form . liste_titre , form . liste_titre_sel , table . dataTable . tr
2013-04-28 12:46:52 +02:00
{
2013-07-26 14:59:18 +02:00
height : 26 px ! important ;
2013-04-28 12:46:52 +02:00
}
2013-06-26 11:58:01 +02:00
div . liste_titre , tr . liste_titre , tr . liste_titre_sel , form . liste_titre , form . liste_titre_sel , table . dataTable thead tr
2011-09-03 01:57:26 +02:00
{
2016-04-22 13:38:44 +02:00
< ? php if ( $usegradienttitle ) { ?>
2016-05-30 20:50:49 +02:00
background - image : - o - linear - gradient ( bottom , rgba ( 0 , 0 , 0 , 0.1 ) 0 % , rgba ( < ? php echo $colorbacktitle1 ; ?> ,0.4) 100%);
background - image : - moz - linear - gradient ( bottom , rgba ( 0 , 0 , 0 , 0.1 ) 0 % , rgba ( < ? php echo $colorbacktitle1 ; ?> ,0.4) 100%);
background - image : - webkit - linear - gradient ( bottom , rgba ( 0 , 0 , 0 , 0.1 ) 0 % , rgba ( < ? php echo $colorbacktitle1 ; ?> ,0.4) 100%);
background - image : - ms - linear - gradient ( bottom , rgba ( 0 , 0 , 0 , 0.1 ) 0 % , rgba ( < ? php echo $colorbacktitle1 ; ?> ,0.4) 100%);
background - image : linear - gradient ( bottom , rgba ( 0 , 0 , 0 , 0.1 ) 0 % , rgba ( < ? php echo $colorbacktitle1 ; ?> ,0.4) 100%);
2016-04-22 13:38:44 +02:00
< ? php } else { ?>
background : rgb ( < ? php echo $colorbacktitle1 ; ?> );
2015-06-11 18:27:59 +02:00
< ? php } ?>
2015-10-14 16:51:20 +02:00
font - weight : < ? php echo $useboldtitle ? 'bold' : 'normal' ; ?> ;
2015-05-03 20:07:16 +02:00
2015-10-14 23:50:36 +02:00
color : rgb ( < ? php echo $colortexttitle ; ?> );
2011-09-03 01:57:26 +02:00
font - family : < ? php print $fontlist ?> ;
border - bottom : 1 px solid #FDFFFF;
2011-09-07 21:01:18 +02:00
text - align : < ? php echo $left ; ?> ;
2006-06-05 20:26:46 +02:00
}
2016-08-17 15:40:17 +02:00
tr . liste_titre th , tr . liste_titre td , th . liste_titre , form . liste_titre div , div . liste_titre
2015-04-25 22:20:10 +02:00
{
2016-08-17 15:40:17 +02:00
border - bottom : 1 px solid #<?php echo ($colorbacktitle1 == '255,255,255'?'BBBBBB':'FDFFFF'); ?>;
2015-04-25 22:20:10 +02:00
}
2013-06-24 19:45:29 +02:00
tr . liste_titre th , th . liste_titre , tr . liste_titre td , td . liste_titre , form . liste_titre div , div . liste_titre
2011-09-03 01:57:26 +02:00
{
font - family : < ? php print $fontlist ?> ;
2015-10-14 16:51:20 +02:00
font - weight : < ? php echo $useboldtitle ? 'bold' : 'normal' ; ?> ;
2013-07-27 18:21:35 +02:00
vertical - align : middle ;
2013-07-26 14:59:18 +02:00
}
2013-12-06 10:04:53 +01:00
tr . liste_titre th a , th . liste_titre a , tr . liste_titre td a , td . liste_titre a , form . liste_titre div a , div . liste_titre a {
text - shadow : none ! important ;
}
2016-06-07 14:06:00 +02:00
tr . liste_titre_topborder td {
border - top - width : < ? php echo $borderwith ; ?> px;
border - top - color : rgb ( < ? php echo $colortopbordertitle1 ?> );
border - top - style : solid ;
}
2013-07-26 14:59:18 +02:00
. liste_titre td a {
2013-07-27 12:05:32 +02:00
text - shadow : none ! important ;
2015-10-14 23:50:36 +02:00
color : rgb ( < ? php echo $colortexttitle ; ?> );
2006-06-05 20:26:46 +02:00
}
2016-09-18 13:58:17 +02:00
. liste_titre td a . notasortlink {
color : rgb ( < ? php echo $colortextlink ; ?> );
}
2016-09-18 15:48:29 +02:00
. liste_titre td a . notasortlink : hover {
background : transparent ;
}
2016-09-18 13:58:17 +02:00
2013-06-23 18:01:10 +02:00
tr . liste_titre_sel th , th . liste_titre_sel , tr . liste_titre_sel td , td . liste_titre_sel , form . liste_titre_sel div
2006-08-20 01:00:53 +02:00
{
2011-09-03 01:57:26 +02:00
font - family : < ? php print $fontlist ?> ;
font - weight : normal ;
border - bottom : 1 px solid #FDFFFF;
2012-01-14 00:39:58 +01:00
text - decoration : underline ;
2006-06-05 20:26:46 +02:00
}
2006-08-20 01:00:53 +02:00
input . liste_titre {
2011-11-03 01:59:13 +01:00
background : transparent ;
border : 0 px ;
2006-06-05 20:26:46 +02:00
}
2016-04-07 13:06:22 +02:00
. listactionlargetitle . liste_titre {
line - height : 24 px ;
}
2006-06-05 20:26:46 +02:00
2014-08-14 13:26:59 +02:00
. noborder tr . liste_total , . noborder tr . liste_total td , tr . liste_total , form . liste_total {
2015-12-04 12:12:12 +01:00
/* background: #F0F0F0; */
2011-11-03 01:59:13 +01:00
}
2014-08-14 13:26:59 +02:00
. noborder tr . liste_total td , tr . liste_total td , form . liste_total div {
2015-11-21 20:25:28 +01:00
color : #552266;
2011-11-03 01:59:13 +01:00
font - weight : normal ;
white - space : nowrap ;
2006-06-05 20:26:46 +02:00
}
2015-11-21 15:31:27 +01:00
form . liste_total div {
border - top : 1 px solid #DDDDDD;
}
2016-08-03 01:42:05 +02:00
tr . liste_sub_total , tr . liste_sub_total td {
border - bottom : 2 px solid #aaa;
}
2012-09-05 15:29:21 +02:00
2014-05-12 13:25:36 +02:00
. tableforservicepart1 . impair , . tableforservicepart1 . pair , . tableforservicepart2 . impair , . tableforservicepart2 . pair {
2015-04-10 10:17:20 +02:00
background : #FFF;
}
. tableforservicepart1 tbody tr td , . tableforservicepart2 tbody tr td {
border - bottom : none ;
2014-05-12 13:25:36 +02:00
}
2006-06-05 20:26:46 +02:00
2016-06-07 20:25:45 +02:00
. paymenttable , . margintable {
2016-06-07 13:15:38 +02:00
border - top - width : < ? php echo $borderwith ?> px !important;
border - top - color : rgb ( < ? php echo $colortopbordertitle1 ?> ) !important;
border - top - style : solid ! important ;
2016-09-21 01:25:34 +02:00
margin : 0 px 0 px 0 px 0 px ! important ;
2016-06-07 13:15:38 +02:00
}
2016-06-24 01:00:37 +02:00
. paymenttable tr td : first - child , . margintable tr td : first - child
{
padding - left : 2 px ;
}
2014-11-30 02:05:45 +01:00
. margintable td {
border : 0 px ! important ;
}
2012-03-10 01:06:22 +01:00
/* Disable shadows */
2012-02-21 23:35:38 +01:00
. noshadow {
2013-04-24 03:56:13 +02:00
- moz - box - shadow : 0 px 0 px 0 px #DDD !important;
- webkit - box - shadow : 0 px 0 px 0 px #DDD !important;
box - shadow : 0 px 0 px 0 px #DDD !important;
2012-02-21 23:35:38 +01:00
}
2012-02-21 23:54:22 +01:00
div . tabBar . noborder {
2013-04-24 03:56:13 +02:00
- moz - box - shadow : 0 px 0 px 0 px #DDD !important;
- webkit - box - shadow : 0 px 0 px 0 px #DDD !important;
box - shadow : 0 px 0 px 0 px #DDD !important;
2012-02-21 23:54:22 +01:00
}
2015-10-09 20:00:43 +02:00
#tablelines tr.liste_titre td, .paymenttable tr.liste_titre td, .margintable tr.liste_titre td, .tableforservicepart1 tr.liste_titre td {
border - bottom : 1 px solid #AAA !important;
}
2009-10-29 02:12:53 +01:00
2006-06-05 20:26:46 +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 : 3 px ;
padding : 3 px ;
2013-07-26 14:59:18 +02:00
/*- moz - box - shadow : 3 px 3 px 4 px #DDD;
- webkit - box - shadow : 3 px 3 px 4 px #DDD;
box - shadow : 3 px 3 px 4 px #DDD;
2013-07-19 15:29:40 +02:00
margin - bottom : 8 px ! important ; */
2016-03-15 00:54:55 +01:00
border : 1 px solid #CCC;
2013-07-19 15:29:40 +02:00
text - align : center ;
2016-08-23 15:43:48 +02:00
border - radius : 2 px ;
2013-07-19 15:29:40 +02:00
}
2015-05-26 09:13:48 +02:00
. boxstats : hover {
2016-08-09 15:56:55 +02:00
box - shadow : 0 px 0 px 8 px 0 px rgba ( 0 , 0 , 0 , 0.20 );
2015-12-14 21:38:04 +01:00
}
2016-01-25 16:01:50 +01:00
span . boxstatstext {
opacity : 0.8 ;
line - height : 18 px ;
}
2015-12-14 21:38:04 +01:00
span . boxstatsindicator {
2016-08-05 23:34:59 +02:00
font - size : 130 % ;
2016-01-18 12:57:24 +01:00
font - weight : normal ;
2015-12-14 21:38:04 +01:00
}
span . dashboardlineindicator , span . dashboardlineindicatorlate {
font - size : 120 % ;
2016-01-18 12:57:24 +01:00
font - weight : normal ;
}
span . dashboardlineok {
color : #008800;
}
span . dashboardlineko {
color : #880000;
2015-12-14 21:38:04 +01:00
font - weight : bold ;
2015-05-26 09:13:48 +02:00
}
2011-07-20 21:03:31 +02:00
. boxtable {
2016-03-13 14:37:39 +01:00
/* - moz - box - shadow : 3 px 3 px 4 px #DDD;
2013-07-26 14:59:18 +02:00
- webkit - box - shadow : 3 px 3 px 4 px #DDD;
2016-03-13 14:37:39 +01:00
box - shadow : 3 px 3 px 4 px #DDD; */
2012-04-17 10:27:42 +02:00
margin - bottom : 8 px ! important ;
2011-07-20 21:03:31 +02:00
}
2011-08-08 00:58:48 +02:00
2009-10-29 18:30:29 +01:00
. box {
2012-04-17 10:27:42 +02:00
padding - right : 0 px ;
padding - left : 0 px ;
2016-03-13 14:37:39 +01:00
padding - bottom : 12 px ;
2007-08-03 00:02:58 +02:00
}
2006-08-20 01:00:53 +02:00
tr . box_titre {
2015-03-23 14:53:21 +01:00
height : 26 px ;
2015-05-03 20:07:16 +02:00
2015-05-15 02:34:57 +02:00
/* TO MATCH BOOTSTRAP */
/* background : #ddd;
color : #000 !important;*/
2015-05-03 20:07:16 +02:00
2015-05-15 02:34:57 +02:00
/* TO MATCH ELDY */
2016-04-22 13:38:44 +02:00
< ? php if ( $usegradienttitle ) { ?>
2016-05-30 22:15:17 +02:00
background - image : - o - linear - gradient ( bottom , rgba ( 0 , 0 , 0 , 0.1 ) 0 % , rgba ( < ? php echo $colorbacktitle1 ; ?> ,0.4) 100%);
background - image : - moz - linear - gradient ( bottom , rgba ( 0 , 0 , 0 , 0.1 ) 0 % , rgba ( < ? php echo $colorbacktitle1 ; ?> ,0.4) 100%);
background - image : - webkit - linear - gradient ( bottom , rgba ( 0 , 0 , 0 , 0.1 ) 0 % , rgba ( < ? php echo $colorbacktitle1 ; ?> ,0.4) 100%);
background - image : - ms - linear - gradient ( bottom , rgba ( 0 , 0 , 0 , 0.1 ) 0 % , rgba ( < ? php echo $colorbacktitle1 ; ?> ,0.4) 100%);
background - image : linear - gradient ( bottom , rgba ( 0 , 0 , 0 , 0.1 ) 0 % , rgba ( < ? php echo $colorbacktitle1 ; ?> ,0.4) 100%);
2016-04-22 13:38:44 +02:00
< ? php } else { ?>
background : rgb ( < ? php echo $colorbacktitle1 ; ?> );
2015-06-11 18:27:59 +02:00
< ? php } ?>
2015-06-12 16:22:32 +02:00
2015-10-14 23:50:36 +02:00
color : rgb ( < ? php echo $colortexttitle ; ?> );
2012-04-17 10:27:42 +02:00
font - family : < ? php print $fontlist ?> , sans-serif;
2015-10-14 16:51:20 +02:00
font - weight : < ? php echo $useboldtitle ? 'bold' : 'normal' ; ?> ;
2012-04-17 10:27:42 +02:00
border - bottom : 1 px solid #FDFFFF;
white - space : nowrap ;
2006-06-05 20:26:46 +02:00
}
2012-12-14 18:35:50 +01:00
tr . box_titre td . boxclose {
width : 30 px ;
}
2006-08-20 01:00:53 +02:00
tr . box_impair {
2012-04-17 10:27:42 +02:00
background : - o - linear - gradient ( bottom , rgb ( < ? php echo $colorbacklineimpair1 ; ?> ) 85%, rgb(<?php echo $colorbacklineimpair2; ?>) 100%);
background : - moz - linear - gradient ( bottom , rgb ( < ? php echo $colorbacklineimpair1 ; ?> ) 85%, rgb(<?php echo $colorbacklineimpair2; ?>) 100%);
background : - webkit - linear - gradient ( bottom , rgb ( < ? php echo $colorbacklineimpair1 ; ?> ) 85%, rgb(<?php echo $colorbacklineimpair2; ?>) 100%);
background : - ms - linear - gradient ( bottom , rgb ( < ? php echo $colorbacklineimpair1 ; ?> ) 85%, rgb(<?php echo $colorbacklineimpair2; ?>) 100%);
background : linear - gradient ( bottom , rgb ( < ? php echo $colorbacklineimpair1 ; ?> ) 85%, rgb(<?php echo $colorbacklineimpair2; ?>) 100%);
2015-05-03 20:07:16 +02:00
2012-04-17 10:27:42 +02:00
font - family : < ? php print $fontlist ?> ;
2006-06-05 20:26:46 +02:00
}
2015-03-23 05:09:55 +01:00
2006-08-20 01:00:53 +02:00
tr . box_pair {
2012-04-17 10:27:42 +02:00
font - family : < ? php print $fontlist ?> ;
2015-03-23 05:09:55 +01:00
background - color : #f9f9f9;
}
tr . box_pair td , tr . box_impair td {
padding : 4 px ;
2016-03-13 14:37:39 +01:00
}
tr . box_pair : not ( : last - child ) td , tr . box_impair : not ( : last - child ) td {
2015-03-23 05:09:55 +01:00
border - bottom : 1 px solid #ddd;
2006-06-05 20:26:46 +02:00
}
2016-03-13 14:37:39 +01:00
. noborderbottom {
border - bottom : none ! important ;
}
2013-07-29 17:32:43 +02:00
. formboxfilter {
vertical - align : middle ;
2013-08-20 11:51:24 +02:00
margin - bottom : 6 px ;
2006-06-05 20:26:46 +02:00
}
2013-07-29 17:32:43 +02:00
. formboxfilter input [ type = image ]
{
top : 5 px ;
position : relative ;
}
2016-08-11 19:55:29 +02:00
. boxfilter {
margin - bottom : 2 px ;
margin - right : 1 px ;
}
2015-10-11 13:26:22 +02:00
. prod_entry_mode_free , . prod_entry_mode_predef {
height : 26 px ! important ;
vertical - align : middle ;
}
2006-06-05 20:26:46 +02:00
2013-10-22 18:01:54 +02:00
2006-06-05 20:26:46 +02:00
/*
* Ok , Warning , Error
*/
. ok { color : #114466; }
. warning { color : #887711; }
2012-11-17 19:55:19 +01:00
. error { color : #550000 !important; font-weight: bold; }
2011-05-26 08:17:17 +02:00
2006-06-05 20:26:46 +02:00
div . ok {
color : #114466;
}
2015-11-22 12:23:10 +01:00
/* Warning message */
2006-06-05 20:26:46 +02:00
div . warning {
2013-11-23 14:46:46 +01:00
color : #302020;
2013-06-03 22:06:28 +02:00
padding : 0.3 em 0.3 em 0.3 em 0.3 em ;
2009-10-29 18:30:29 +01:00
margin : 0.5 em 0 em 0.5 em 0 em ;
2013-06-03 22:06:28 +02:00
border : 1 px solid #e0d0b0;
2015-05-22 00:46:53 +02:00
- moz - border - radius : 4 px ;
- webkit - border - radius : 4 px ;
border - radius : 4 px ;
2013-11-23 14:46:46 +01:00
background : #EFDF9A;
2013-06-03 22:06:28 +02:00
text - shadow : 0 1 px 0 rgba ( 255 , 255 , 255 , 0.5 );
2006-06-05 20:26:46 +02:00
}
2015-11-22 12:23:10 +01:00
/* Error message */
2015-11-25 16:45:25 +01:00
div . error {
2011-07-18 05:18:37 +02:00
background : #EFCFCF;
2006-06-05 20:26:46 +02:00
}
2009-10-29 18:30:29 +01:00
/* Info admin */
div . info {
2013-06-03 22:06:28 +02:00
color : #302010;
2012-04-30 09:57:57 +02:00
padding : 0.4 em 0.4 em 0.4 em 0.4 em ;
2006-06-25 19:15:07 +02:00
margin : 0.5 em 0 em 0.5 em 0 em ;
2013-06-03 22:06:28 +02:00
border : 1 px solid #DFBF9A;
2015-05-22 00:46:53 +02:00
- moz - border - radius : 4 px ;
- webkit - border - radius : 4 px ;
border - radius : 4 px ;
2013-06-03 22:06:28 +02:00
background : #EFCFAA;
text - shadow : 0 1 px 0 rgba ( 255 , 255 , 255 , 0.5 );
2006-06-25 19:15:07 +02:00
}
2015-11-22 12:23:10 +01:00
div . warning a , div . info a , div . error a {
color : rgb ( < ? php echo $colortext ; ?> );
}
2006-06-05 20:26:46 +02:00
/*
* Liens Payes / Non payes
*/
2006-08-20 01:00:53 +02:00
a . normal : link { font - weight : normal }
2006-06-05 20:26:46 +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; }
/*
2009-10-06 17:56:03 +02:00
* Other
2006-06-05 20:26:46 +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; }
2016-06-20 00:11:59 +02:00
. widthpictotitle { width : 40 px ; text - align : < ? php echo $left ; ?> ; }
2016-06-19 16:07:34 +02:00
2013-06-29 02:23:23 +02:00
. dolgraphtitle { margin - top : 6 px ; margin - bottom : 4 px ; }
. dolgraphtitlecssboxes { margin : 0 px ; }
2013-06-29 04:01:54 +02:00
. legendColorBox , . legendLabel { border : none ! important ; }
div . dolgraph div . legend , div . dolgraph div . legend div { background - color : rgba ( 255 , 255 , 255 , 0 ) ! important ; }
div . dolgraph div . legend table tbody tr { height : auto ; }
2015-07-04 22:18:31 +02:00
td . legendColorBox { padding : 2 px 2 px 2 px 0 ! important ; }
td . legendLabel { padding : 2 px 2 px 2 px 0 ! important ; }
2013-06-29 02:23:23 +02:00
2010-02-17 19:27:20 +01:00
. photo {
2014-10-18 14:56:06 +02:00
border : 0 px ;
}
. photowithmargin {
margin - bottom : 2 px ;
2015-06-26 17:21:03 +02:00
margin - top : 10 px ;
2010-02-17 19:27:20 +01:00
}
2015-05-31 17:31:15 +02:00
. photowithmargin {
2015-06-29 11:22:03 +02:00
/* - webkit - box - shadow : 0 px 0 px 3 px #777;
2015-05-26 09:22:34 +02:00
- moz - box - shadow : 0 px 0 px 3 px #777;
2015-06-29 11:22:03 +02:00
box - shadow : 0 px 0 px 3 px #777;*/
2015-05-31 16:36:11 +02:00
}
. photointoolitp {
2015-05-31 17:31:15 +02:00
margin - top : 6 px ;
2015-03-24 22:24:15 +01:00
float : left ;
2015-05-26 09:22:34 +02:00
/*text-align: center; */
2015-03-24 22:24:15 +01:00
}
2015-05-31 16:36:11 +02:00
. photodelete {
margin - top : 6 px ! important ;
}
2010-02-17 19:27:20 +01:00
2013-01-10 18:50:07 +01:00
. logo_setup
{
2016-04-22 12:11:57 +02:00
content : url ( < ? php echo dol_buildpath ( $path . '/theme/' . $theme . '/img/logo_setup.svg' , 1 ) ?> ); /* content is used to best fit the container */
2015-06-23 23:58:04 +02:00
display : inline - block ;
2013-01-10 18:50:07 +01:00
}
2016-04-22 12:11:57 +02:00
. nographyet
{
content : url ( < ? php echo dol_buildpath ( $path . '/theme/' . $theme . '/img/nographyet.svg' , 1 ) ?> );
display : inline - block ;
opacity : 0.1 ;
background - repeat : no - repeat ;
}
. nographyettext
{
opacity : 0.5 ;
}
2013-01-10 18:50:07 +01:00
2006-08-20 01:00:53 +02:00
div . titre {
2010-05-13 02:32:01 +02:00
font - family : < ? php print $fontlist ?> ;
2012-01-14 00:39:58 +01:00
font - weight : bold ;
2015-10-14 23:50:36 +02:00
color : rgb ( < ? php print $colortexttitlenotab ; ?> );
2009-10-06 18:33:59 +02:00
text - decoration : none ;
2015-10-14 23:50:36 +02:00
/* text-shadow: 1px 1px 2px #FFFFFF; */
2009-10-06 17:56:03 +02:00
}
2006-06-05 20:26:46 +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; }
2012-03-10 13:52:08 +01:00
#divsubscribe { width: 700px; }
#tablesubscribe { width: 100%; }
2013-07-27 18:21:35 +02:00
2014-08-03 11:18:32 +02:00
/*
* Effect Postit
*/
. effectpostit
{
position : relative ;
}
. effectpostit : before , . effectpostit : after
{
z - index : - 1 ;
position : absolute ;
content : " " ;
bottom : 15 px ;
left : 10 px ;
width : 50 % ;
top : 80 % ;
max - width : 300 px ;
background : #777;
- webkit - box - shadow : 0 15 px 10 px #777;
- moz - box - shadow : 0 15 px 10 px #777;
box - shadow : 0 15 px 10 px #777;
- webkit - transform : rotate ( - 3 deg );
- moz - transform : rotate ( - 3 deg );
- o - transform : rotate ( - 3 deg );
- ms - transform : rotate ( - 3 deg );
transform : rotate ( - 3 deg );
}
. effectpostit : after
{
- webkit - transform : rotate ( 3 deg );
- moz - transform : rotate ( 3 deg );
- o - transform : rotate ( 3 deg );
- ms - transform : rotate ( 3 deg );
transform : rotate ( 3 deg );
right : 10 px ;
left : auto ;
}
2012-03-21 21:32:36 +01:00
2006-06-05 20:26:46 +02: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) */
2006-06-05 20:26:46 +02:00
/* ============================================================================== */
2006-08-20 01:00:53 +02:00
table . valid {
border - top : solid 1 px #E6E6E6;
2009-08-11 14:28:30 +02:00
border -< ? php print $left ; ?> : solid 1px #E6E6E6;
border -< ? php print $right ; ?> : solid 1px #444444;
2006-08-20 01:00:53 +02:00
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 ;
background : #D5BAA8;
}
. validtitre {
background : #D5BAA8;
font - weight : bold ;
}
2006-06-05 20:26:46 +02:00
/* ============================================================================== */
/* Tooltips */
/* ============================================================================== */
2010-10-23 15:01:48 +02:00
#tooltip {
2015-05-15 02:34:57 +02:00
position : absolute ;
width : < ? php print dol_size ( 450 , 'width' ); ?> px;
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;
padding : 2 px ;
z - index : 3000 ;
background - color : #FFF;
opacity : 1 ;
2015-05-22 00:46:53 +02:00
- moz - border - radius : 4 px ;
- webkit - border - radius : 4 px ;
border - radius : 4 px ;
2010-10-23 15:01:48 +02:00
}
2013-07-26 14:59:18 +02:00
#tiptip_content {
2016-03-29 12:49:41 +02:00
- moz - border - radius : 0 px ;
- webkit - border - radius : 0 px ;
border - radius : 0 px ;
background - color : rgb ( 255 , 255 , 255 );
2015-03-24 22:24:15 +01:00
line - height : 1.4 em ;
2015-05-15 02:34:57 +02:00
min - width : 200 px ;
2013-07-26 14:59:18 +02:00
}
2006-06-05 20:26:46 +02:00
/* ============================================================================== */
/* Calendar */
/* ============================================================================== */
2011-05-21 18:06:25 +02:00
2012-03-26 00:27:14 +02:00
img . datecallink { padding - left : 2 px ! important ; padding - right : 2 px ! important ; }
2012-01-14 01:21:47 +01:00
2011-09-03 17:26:59 +02:00
. ui - datepicker - trigger {
vertical - align : middle ;
cursor : pointer ;
}
2006-08-20 01:00:53 +02:00
. bodyline {
2011-08-08 00:58:48 +02:00
- moz - border - radius : 8 px ;
- webkit - border - radius : 8 px ;
border - radius : 8 px ;
2006-08-20 01:00:53 +02:00
border : 1 px #E4ECEC outset;
2009-08-11 14:28:30 +02:00
padding : 0 px ;
2011-06-13 17:08:13 +02:00
margin - bottom : 5 px ;
2006-06-05 20:26:46 +02:00
}
2006-08-20 01:00:53 +02:00
table . dp {
2006-06-05 20:26:46 +02:00
width : 180 px ;
background - color : #FFFFFF;
border - top : solid 2 px #DDDDDD;
2009-08-11 14:28:30 +02:00
border -< ? php print $left ; ?> : solid 2px #DDDDDD;
border -< ? php print $right ; ?> : solid 1px #222222;
2006-06-05 20:26:46 +02:00
border - bottom : solid 1 px #222222;
2011-12-07 10:34:43 +01:00
padding : 0 px ;
border - spacing : 0 px ;
2011-12-16 20:06:16 +01:00
border - collapse : collapse ;
2006-06-05 20:26:46 +02:00
}
. dp td , . tpHour td , . tpMinute td { padding : 2 px ; font - size : 10 px ;}
2006-04-02 13:32:45 +02:00
/* Barre titre */
2006-08-20 01:00:53 +02:00
. dpHead , . tpHead , . tpHour td : Hover . tpHead {
2006-06-05 20:26:46 +02:00
font - weight : bold ;
background - color : #b3c5cc;
2006-08-20 01:00:53 +02:00
color : white ;
2006-06-05 20:26:46 +02:00
font - size : 11 px ;
cursor : auto ;
}
/* Barre navigation */
. dpButtons , . tpButtons {
text - align : center ;
background - color : #617389;
color : #FFFFFF;
2006-08-20 01:00:53 +02:00
font - weight : bold ;
cursor : pointer ;
2006-06-05 20:26:46 +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 }
2006-04-02 13:32:45 +02:00
/* Jour courant */
2006-06-05 20:26:46 +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;}
2006-08-20 01:00:53 +02:00
/* Bouton X fermer */
2006-06-05 20:26:46 +02:00
. dpInvisibleButtons
{
2012-03-21 21:32:36 +01:00
border - style : none ;
background - color : transparent ;
padding : 0 px ;
font - size : 9 px ;
border - width : 0 px ;
color : #0B63A2;
vertical - align : middle ;
cursor : pointer ;
2006-06-05 20:26:46 +02:00
}
2016-01-01 23:44:23 +01:00
. datenowlink
{
color : rgb ( < ? php print $colortextlink ; ?> );
}
2006-06-05 20:26:46 +02:00
/* ============================================================================== */
/* Afficher/cacher */
/* ============================================================================== */
div . visible {
display : block ;
}
div . hidden {
display : none ;
}
tr . visible {
display : block ;
}
td . hidden {
display : none ;
2006-11-30 22:25:07 +01:00
}
2016-04-19 11:02:55 +02:00
/* ============================================================================== */
/* Module website */
/* ============================================================================== */
. websitebar {
border - bottom : 1 px solid #888;
2016-05-01 16:34:50 +02:00
background : #eee;
2016-04-19 11:02:55 +02:00
}
2016-05-01 17:01:38 +02:00
. websitebar . button , . websitebar . buttonDelete
{
padding : 2 px 5 px 3 px 5 px ! important ;
margin : 2 px 4 px 2 px 4 px ! important ;
line - height : normal ;
}
2016-04-19 11:02:55 +02:00
. websiteselection {
display : inline - block ;
padding - left : 10 px ;
vertical - align : middle ;
line - height : 29 px ;
}
. websitetools {
float : right ;
2016-09-17 21:03:20 +02:00
height : 28 px ;
2016-09-14 23:23:22 +02:00
}
. websiteinputurl {
display : inline - block ;
vertical - align : top ;
2016-04-19 11:02:55 +02:00
}
2016-05-01 16:34:50 +02:00
. websiteiframenoborder {
border : 0 px ;
}
2016-09-14 23:23:22 +02:00
a . websitebuttonsitepreview img {
width : 26 px ;
display : inline - block ;
}
2016-04-19 11:02:55 +02:00
2008-03-20 20:32:41 +01:00
/* ============================================================================== */
/* Module agenda */
/* ============================================================================== */
2015-12-04 20:51:34 +01:00
table . cal_month { border - spacing : 0 px ; }
table . cal_month td : first - child { border - left : 0 px ; }
table . cal_month td : last - child { border - right : 0 px ; }
2013-02-19 13:24:32 +01:00
. cal_current_month { border - top : 0 ; border - left : solid 1 px #E0E0E0; border-right: 0; border-bottom: solid 1px #E0E0E0; }
2016-05-17 02:41:06 +02:00
. cal_current_month_peruserleft { border - top : 0 ; border - left : solid 2 px #6C7C7B; border-right: 0; border-bottom: solid 1px #E0E0E0; }
2014-06-27 20:50:46 +02:00
. cal_current_month_oneday { border - right : solid 1 px #E0E0E0; }
2013-02-19 13:24:32 +01:00
. cal_other_month { border - top : 0 ; border - left : solid 1 px #C0C0C0; border-right: 0; border-bottom: solid 1px #C0C0C0; }
2016-05-17 02:41:06 +02:00
. cal_other_month_peruserleft { border - top : 0 ; border - left : solid 2 px #6C7C7B !important; border-right: 0; }
2013-02-19 13:24:32 +01:00
. cal_current_month_right { border - right : solid 1 px #E0E0E0; }
2013-02-24 14:57:49 +01:00
. cal_other_month_right { border - right : solid 1 px #C0C0C0; }
2013-04-11 10:15:53 +02:00
. cal_other_month { opacity : 0.6 ; background : #EAEAEA; padding-<?php print $left; ?>: 2px; padding-<?php print $right; ?>: 1px; padding-top: 0px; padding-bottom: 0px; }
2013-02-19 13:24:32 +01:00
. cal_past_month { opacity : 0.6 ; background : #EEEEEE; padding-<?php print $left; ?>: 2px; padding-<?php print $right; ?>: 1px; padding-top: 0px; padding-bottom: 0px; }
. cal_current_month { background : #FFFFFF; border-left: solid 1px #E0E0E0; padding-<?php print $left; ?>: 2px; padding-<?php print $right; ?>: 1px; padding-top: 0px; padding-bottom: 0px; }
2016-05-17 02:41:06 +02:00
. cal_current_month_peruserleft { background : #FFFFFF; border-left: solid 2px #6C7C7B; padding-<?php print $left; ?>: 2px; padding-<?php print $right; ?>: 1px; padding-top: 0px; padding-bottom: 0px; }
2014-10-14 00:27:23 +02:00
. cal_today { background : #FDFDF0; border-left: solid 1px #E0E0E0; border-bottom: solid 1px #E0E0E0; padding-<?php print $left; ?>: 2px; padding-<?php print $right; ?>: 1px; padding-top: 0px; padding-bottom: 0px; }
. cal_today_peruser { background : #FDFDF0; border-right: solid 1px #E0E0E0; border-bottom: solid 1px #E0E0E0; padding-<?php print $left; ?>: 2px; padding-<?php print $right; ?>: 1px; padding-top: 0px; padding-bottom: 0px; }
2016-05-17 02:41:06 +02:00
. cal_today_peruser_peruserleft { background : #FDFDF0; border-left: solid 2px #6C7C7B; border-right: solid 1px #E0E0E0; border-bottom: solid 1px #E0E0E0; padding-<?php print $left; ?>: 2px; padding-<?php print $right; ?>: 1px; padding-top: 0px; padding-bottom: 0px; }
2012-02-13 02:46:30 +01:00
. cal_past { }
2014-09-05 21:12:01 +02:00
. cal_peruser { padding : 0 px ; }
2015-07-21 12:30:12 +02:00
. cal_impair { background : #F8F8F8; }
. cal_today_peruser_impair { background : #F8F8F0; }
2014-09-08 10:24:16 +02:00
. peruser_busy { background : #CC8888; }
2014-10-09 17:05:57 +02:00
. peruser_notbusy { background : #EEDDDD; opacity: 0.5; }
2013-02-15 10:42:35 +01:00
table . cal_event { border : none ; border - collapse : collapse ; margin - bottom : 1 px ; - webkit - border - radius : 6 px ; border - radius : 6 px ;
- webkit - box - shadow : inset 0 1 px 0 rgba ( 255 , 255 , 255 , 0.25 ), 0 1 px 2 px rgba ( 0 , 0 , 0 , 0.25 );
moz - box - shadow : inset 0 1 px 0 rgba ( 255 , 255 , 255 , 0.25 ), 0 1 px 2 px rgba ( 0 , 0 , 0 , 0.25 );
box - shadow : inset 0 1 px 0 rgba ( 255 , 255 , 255 , 0.25 ), 0 1 px 2 px rgba ( 0 , 0 , 0 , 0.25 );
background : - webkit - gradient ( linear , left top , left bottom , from ( #006aac), to(#00438d));
2014-09-09 12:28:35 +02:00
min - height : 20 px ;
2013-02-15 10:42:35 +01:00
}
table . cal_event td { border : none ; padding -< ? php print $left ; ?> : 2px; padding-<?php print $right; ?>: 2px; padding-top: 0px; padding-bottom: 0px; }
2015-04-23 15:35:32 +02:00
table . cal_event td . cal_event { padding : 4 px 4 px ! important ; }
table . cal_event td . cal_event_right { padding : 4 px 4 px ! important ; }
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 ; - moz - padding - start : 0 px ; - webkit - padding - start : 0 px ; }
2013-02-15 10:42:35 +01:00
li . cal_event { border : none ; list - style - type : none ; }
2008-05-18 14:25:51 +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; }
2013-02-15 10:46:50 +01:00
. cal_event a : hover { color : #111111; font-size: 11px; font-weight: normal !important; color:rgba(255,255,255,.75); }
2014-06-28 18:04:32 +02:00
. cal_event_busy { }
2015-01-14 13:51:21 +01:00
. cal_peruserviewname { max - width : 100 px ; height : 22 px ; }
2008-03-20 20:32:41 +01:00
2007-02-11 20:02:09 +01:00
/* ============================================================================== */
2007-12-06 02:14:57 +01:00
/* Ajax - Liste deroulante de l'autocompletion */
2007-02-11 20:02:09 +01:00
/* ============================================================================== */
2014-06-29 02:45:55 +02:00
. ui - widget - content { border : solid 1 px rgba ( 0 , 0 , 0 , . 3 ); background : #fff !important; }
2014-05-23 21:06:53 +02:00
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; }
2010-10-11 22:13:24 +02:00
. ui - autocomplete {
position : absolute ;
2010-10-11 14:23:39 +02:00
width : auto ;
2010-10-11 22:13:24 +02:00
font - size : 1.0 em ;
background - color : white ;
border : 1 px solid #888;
margin : 0 px ;
2014-03-01 20:05:08 +01:00
/* padding:0px; This make combo crazy */
2010-10-11 22:13:24 +02:00
}
. ui - autocomplete ul {
list - style - type : none ;
margin : 0 px ;
padding : 0 px ;
}
. ui - autocomplete ul li . selected { background - color : #D3E5EC;}
. ui - autocomplete ul li {
list - style - type : none ;
display : block ;
margin : 0 ;
padding : 2 px ;
2011-07-06 12:22:56 +02:00
height : 18 px ;
2010-10-11 22:13:24 +02:00
cursor : pointer ;
2010-10-11 14:19:17 +02:00
}
2010-10-11 14:06:43 +02:00
2014-12-07 23:51:36 +01: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-05-06 00:20:57 +02:00
}
2008-03-20 20:32:41 +01: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 ;
}
2008-03-20 20:32:41 +01:00
2007-05-04 19:34:02 +02:00
/* ============================================================================== */
/* Admin Menu */
/* ============================================================================== */
2010-11-13 16:56:25 +01:00
/* CSS for treeview */
2013-02-19 20:15:30 +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 ; }
2015-11-30 21:40:14 +01:00
. treeview . hover { color : rgb ( < ? php print $colortextlink ; ?> ) !important; text-decoration: underline !important; }
2007-05-04 19:34:02 +02:00
2007-09-08 17:57:58 +02:00
2008-04-03 02:37:32 +02:00
2007-09-08 17:57:58 +02:00
/* ============================================================================== */
2009-05-27 04:20:40 +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 15:55:00 +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 ;
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 {
2009-07-06 21:05:32 +02:00
background - color : #b3c5cc;
2009-05-27 04:20:40 +02:00
}
. tblGlobal {
position : absolute ;
top : 0 px ;
left : 0 px ;
display : none ;
2009-07-06 21:05:32 +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-05-13 02:32:01 +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-05-13 02:32:01 +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-05-13 02:32:01 +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-03-28 01:33:34 +01:00
}
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:51:49 +02:00
. ui - button { margin - left : - 2 px ; < ? php print ( preg_match ( '/chrome/' , $conf -> browser -> name ) ? 'padding-top: 1px;' : '' ); ?> }
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 ;
}
2014-12-07 23:51:36 +01:00
. ui - autocomplete - input { margin : 0 ; padding : 4 px ; }
2011-04-09 18:14:19 +02:00
/* ============================================================================== */
/* CKEditor */
/* ============================================================================== */
2014-09-05 21:12:01 +02:00
. cke_editable
2014-08-21 14:17:27 +02:00
{
margin : 5 px ! important ;
}
2011-04-09 18:14:19 +02:00
. 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 ; }
. cke_wrapper { padding : 4 px ! important ; }
2011-08-15 01:54:09 +02:00
a . cke_dialog_ui_button
{
font - family : < ? php print $fontlist ?> !important;
2011-08-15 20:25:58 +02:00
background - image : url ( < ? php echo $img_button ?> ) !important;
2011-08-15 01:54:09 +02:00
background - position : bottom ! important ;
2012-03-26 18:23:08 +02:00
border : 1 px solid #C0C0C0 !important;
2011-08-15 01:54:09 +02:00
- 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 ;
2013-07-26 14:59:18 +02:00
- moz - box - shadow : 3 px 3 px 4 px #DDD !important;
- webkit - box - shadow : 3 px 3 px 4 px #DDD !important;
box - shadow : 3 px 3 px 4 px #DDD !important;
2011-08-15 01:54:09 +02:00
}
2011-08-16 19:59:46 +02:00
. cke_dialog_ui_hbox_last
{
vertical - align : bottom ! important ;
}
2014-03-29 05:02:02 +01:00
. cke_editable
{
line - height : 1.4 ! important ;
margin : 6 px ! important ;
}
2016-04-02 16:53:55 +02:00
a . cke_dialog_ui_button_ok span {
text - shadow : none ! important ;
color : #333 !important;
}
2011-08-15 01:54:09 +02:00
2011-07-06 11:25:05 +02:00
/* ============================================================================== */
2011-07-06 11:42:55 +02:00
/* File upload */
2011-07-06 11:25:05 +02:00
/* ============================================================================== */
. template - upload {
height : 72 px ! important ;
2011-07-28 15:22:19 +02:00
}
2011-08-17 15:08:19 +02:00
2012-02-15 23:08:20 +01:00
2014-08-06 03:01:17 +02:00
/* ============================================================================== */
/* Holiday */
/* ============================================================================== */
#types .btn {
cursor : pointer ;
}
#types .btn-primary {
font - weight : bold ;
}
#types form {
padding : 20 px ;
}
#types label {
display : inline - block ;
width : 100 px ;
margin - right : 20 px ;
padding : 4 px ;
text - align : right ;
vertical - align : top ;
}
#types input.text, #types textarea {
width : 400 px ;
}
#types textarea {
height : 100 px ;
}
2012-02-15 23:08:20 +01: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-02-15 23:08:20 +01:00
}
2012-03-21 21:32:36 +01:00
2012-03-17 17:37:15 +01:00
/* ============================================================================== */
2012-03-21 21:32:36 +01:00
/* jFileTree */
2012-03-17 17:37:15 +01:00
/* ============================================================================== */
2012-03-21 21:32:36 +01:00
. ecmfiletree {
width : 99 % ;
height : 99 % ;
background : #FFF;
padding - left : 2 px ;
font - weight : normal ;
2012-03-17 17:37:15 +01:00
}
2012-03-21 21:32:36 +01:00
. fileview {
width : 99 % ;
height : 99 % ;
background : #FFF;
padding - left : 2 px ;
padding - top : 4 px ;
font - weight : normal ;
2012-03-17 17:37:15 +01:00
}
2012-03-21 21:32:36 +01:00
div . filedirelem {
position : relative ;
display : block ;
text - decoration : none ;
2012-03-17 18:10:59 +01:00
}
2012-03-21 21:32:36 +01:00
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;
}
2015-11-29 16:05:14 +01:00
. ui - layout - north {
2012-03-21 21:32:36 +01:00
2012-03-17 17:37:15 +01:00
}
2012-02-15 23:08:20 +01:00
2012-03-23 19:43:25 +01:00
ul . ecmjqft {
2012-03-25 22:47:37 +02:00
line - height : 16 px ;
2012-03-21 21:32:36 +01:00
padding : 0 px ;
margin : 0 px ;
font - weight : normal ;
}
2012-03-23 19:43:25 +01:00
ul . ecmjqft li {
2012-03-21 21:32:36 +01:00
list - style : none ;
padding : 0 px ;
padding - left : 20 px ;
margin : 0 px ;
white - space : nowrap ;
2012-03-25 22:47:37 +02:00
display : block ;
2012-03-21 21:32:36 +01:00
}
2012-03-23 19:43:25 +01:00
ul . ecmjqft a {
2012-03-25 22:47:37 +02:00
line - height : 16 px ;
vertical - align : middle ;
2012-03-23 19:43:25 +01:00
color : #333;
2012-03-21 21:32:36 +01:00
padding : 0 px 0 px ;
font - weight : normal ;
2012-03-25 22:47:37 +02:00
display : inline - block ! important ;
/* float: left;*/
2012-03-21 21:32:36 +01:00
}
2012-03-23 19:43:25 +01:00
ul . ecmjqft a : active {
2012-03-21 21:32:36 +01:00
font - weight : bold ! important ;
}
2012-03-23 19:43:25 +01:00
ul . ecmjqft a : hover {
2012-03-21 21:32:36 +01:00
text - decoration : underline ;
}
2012-03-25 22:47:37 +02:00
div . ecmjqft {
vertical - align : middle ;
display : inline - block ! important ;
text - align : right ;
position : absolute ;
right : 4 px ;
}
2012-03-21 21:32:36 +01:00
/* Core Styles */
2012-03-25 22:47:37 +02:00
. 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; }
2013-03-02 14:43:36 +01:00
. ecmjqft LI . wait { font - weight : normal ; background : url ( < ? php echo dol_buildpath ( '/theme/' . $theme . '/img/working.gif' , 1 ); ?> ) left top no-repeat; }
2012-03-21 21:32:36 +01:00
2012-03-26 00:14:42 +02:00
/* ============================================================================== */
/* jNotify */
/* ============================================================================== */
. jnotify - container {
position : fixed ! important ;
2012-09-05 14:41:45 +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-03 15:45:06 +02:00
min - width : < ? php echo $dol_optimize_smallscreen ? '200' : '480' ; ?> px;
2012-03-26 00:14:42 +02:00
width : auto ;
2016-10-01 12:51:35 +02:00
max - width : 1024 px ;
2012-03-26 00:14:42 +02:00
padding - left : 10 px ! important ;
padding - right : 10 px ! important ;
}
2012-09-03 22:05:13 +02:00
/* use or not ? */
div . jnotify - background {
opacity : 0.95 ! important ;
2016-08-28 16:26:54 +02:00
- moz - box - shadow : 2 px 2 px 4 px #888 !important;
- webkit - box - shadow : 2 px 2 px 4 px #888 !important;
box - shadow : 2 px 2 px 4 px #888 !important;
2012-09-03 22:05:13 +02:00
}
/* ============================================================================== */
/* blockUI */
/* ============================================================================== */
2012-09-04 09:38:38 +02:00
/*div.growlUI { background: url(check48.png) no-repeat 10px 10px }*/
div . dolEventValid h1 , div . dolEventValid h2 {
color : #567b1b;
background - color : #e3f0db;
padding : 5 px 5 px 5 px 5 px ;
text - align : left ;
}
div . dolEventError h1 , div . dolEventError h2 {
color : #a72947;
background - color : #d79eac;
padding : 5 px 5 px 5 px 5 px ;
text - align : left ;
2012-09-03 22:05:13 +02:00
}
2012-04-08 13:05:58 +02:00
/* ============================================================================== */
/* Maps */
/* ============================================================================== */
2015-11-29 16:05:14 +01:00
. divmap , #google-visualization-geomap-embed-0, #google-visualization-geomap-embed-1, #google-visualization-geomap-embed-2 {
2016-05-17 02:41:06 +02:00
/* - moz - box - shadow : 0 px 0 px 10 px #AAA;
2012-04-08 13:05:58 +02:00
- webkit - box - shadow : 0 px 0 px 10 px #AAA;
2016-05-17 02:41:06 +02:00
box - shadow : 0 px 0 px 10 px #AAA; */
2012-04-08 13:05:58 +02:00
}
2012-03-21 21:32:36 +01:00
2013-10-17 18:37:08 +02:00
/* ============================================================================== */
/* Datatable */
/* ============================================================================== */
2015-05-22 14:28:02 +02:00
2015-05-03 20:07:16 +02:00
table . dataTable tr . odd td . sorting_1 , table . dataTable tr . even td . sorting_1 {
background : none ! important ;
}
. sorting_asc { background : url ( '<?php echo dol_buildpath(' / theme / '.$theme.' / img / sort_asc . png ',1); ?>' ) no - repeat center right ! important ; }
. sorting_desc { background : url ( '<?php echo dol_buildpath(' / theme / '.$theme.' / img / sort_desc . png ',1); ?>' ) no - repeat center right ! important ; }
. sorting_asc_disabled { background : url ( '<?php echo dol_buildpath(' / theme / '.$theme.' / img / sort_asc_disabled . png ',1); ?>' ) no - repeat center right ! important ; }
. sorting_desc_disabled { background : url ( '<?php echo dol_buildpath(' / theme / '.$theme.' / img / sort_desc_disabled . png ',1); ?>' ) no - repeat center right ! important ; }
2015-05-22 14:28:02 +02:00
. dataTables_paginate {
margin - top : 8 px ;
}
. paginate_button_disabled {
opacity : 1 ! important ;
color : #888 !important;
cursor : default ! important ;
}
2014-05-27 00:57:34 +02:00
. paginate_disabled_previous : hover , . paginate_enabled_previous : hover , . paginate_disabled_next : hover , . paginate_enabled_next : hover
{
font - weight : normal ;
}
. paginate_enabled_previous : hover , . paginate_enabled_next : hover
{
text - decoration : underline ! important ;
}
2015-05-22 14:28:02 +02:00
. paginate_active
{
text - decoration : underline ! important ;
}
2015-03-22 21:18:25 +01:00
. paginate_button
{
font - weight : normal ! important ;
2015-05-22 14:28:02 +02:00
text - decoration : none ! important ;
}
. paging_full_numbers {
height : inherit ! important ;
2015-03-22 21:18:25 +01:00
}
2015-05-22 14:28:02 +02:00
. paging_full_numbers a . paginate_active : hover , . paging_full_numbers a . paginate_button : hover {
background - color : #DDD !important;
}
. paging_full_numbers , . paging_full_numbers a . paginate_active , . paging_full_numbers a . paginate_button {
background - color : #FFF !important;
border - radius : inherit ! important ;
}
2015-10-09 17:21:38 +02:00
. paging_full_numbers a . paginate_button_disabled : hover , . paging_full_numbers a . disabled : hover {
2015-05-22 14:28:02 +02:00
background - color : #FFF !important;
}
. paginate_button , . paginate_active {
border : 1 px solid #ddd !important;
padding : 6 px 12 px ! important ;
margin - left : - 1 px ! important ;
line - height : 1.42857143 ! important ;
margin : 0 0 ! important ;
}
2013-12-01 19:39:21 +01:00
/* For jquery plugin combobox */
2013-12-02 05:52:41 +01:00
/* Disable this . It breaks wrapping of boxes
. ui - corner - all { white - space : nowrap ; } */
2013-12-01 19:39:21 +01:00
2014-07-27 20:31:11 +02:00
. ui - state - disabled , . ui - widget - content . ui - state - disabled , . ui - widget - header . ui - state - disabled , . paginate_button_disabled {
opacity : . 35 ;
filter : Alpha ( Opacity = 35 );
background - image : none ;
}
2015-05-30 23:56:42 +02:00
div . dataTables_length {
float : right ! important ;
padding - left : 8 px ;
}
div . dataTables_length select {
background : #fff;
}
2015-10-09 17:21:38 +02:00
. dataTables_wrapper . dataTables_paginate {
padding - top : 0 px ! important ;
}
2015-05-30 23:56:42 +02:00
2014-12-07 23:51:36 +01:00
/* ============================================================================== */
/* Select2 */
/* ============================================================================== */
2016-10-02 16:12:40 +02:00
. select2 - container . select2 - choice > . select2 - chosen {
margin - right : 23 px ;
}
2016-09-26 00:10:29 +02:00
. select2 - container . select2 - choice . select2 - arrow {
border - radius : 0 ;
}
2016-09-21 03:54:54 +02:00
. select2 - container - multi . select2 - choices {
background - image : none ;
}
2016-02-22 14:25:12 +01:00
. select2 - container . select2 - choice {
color : #000;
2016-09-21 03:54:54 +02:00
border - radius : 0 ;
2016-02-22 14:25:12 +01:00
}
2015-05-31 12:25:33 +02:00
. selectoptiondisabledwhite {
background : #FFFFFF !important;
}
2014-12-08 17:51:36 +01:00
. select2 - choice ,
. select2 - drop . select2 - drop - above . select2 - drop - active ,
. select2 - container - active . select2 - choice ,
2014-12-07 23:51:36 +01:00
. select2 - container - active . select2 - choices ,
. select2 - dropdown - open . select2 - drop - above . select2 - choice ,
. select2 - dropdown - open . select2 - drop - above . select2 - choices ,
. select2 - container - multi . select2 - container - active . select2 - choices
{
border : 1 px solid #aaa;
}
2015-03-13 14:24:32 +01:00
. select2 - disabled
{
color : #888;
}
2014-12-07 23:51:36 +01:00
. select2 - drop - active
{
border : 1 px solid #aaa;
border - top : none ;
}
a span . select2 - chosen
{
font - weight : normal ! important ;
}
2014-12-18 12:34:41 +01:00
. select2 - container . select2 - choice {
background - image : none ;
2015-05-31 12:25:33 +02:00
height : 24 px ;
line - height : 24 px ;
2014-12-18 12:34:41 +01:00
}
2015-05-03 15:51:55 +02:00
. select2 - choices . select2 - search - choice {
border : 1 px solid #aaa !important;
}
2014-12-18 12:34:41 +01:00
. select2 - results . select2 - no - results , . select2 - results . select2 - searching , . select2 - results . select2 - ajax - error , . select2 - results . select2 - selection - limit
{
background : #FFFFFF;
}
2015-11-02 13:14:46 +01:00
. select2 - results {
max - height : 400 px ;
}
. css - searchselectcombo ul . select2 - results {
max - height : none ;
}
2015-05-03 15:51:55 +02:00
. select2 - container - multi . select2 - container - disabled . select2 - choices {
background - color : #FFFFFF;
background - image : none ;
border : none ;
cursor : default ;
}
. select2 - container - multi . select2 - choices . select2 - search - choice {
2015-06-22 22:31:44 +02:00
margin - bottom : 3 px ;
2015-05-03 15:51:55 +02:00
}
2015-06-22 22:31:44 +02:00
/* To emulate select 2 style */
. select2 - container - multi - dolibarr . select2 - choices - dolibarr . select2 - search - choice - dolibarr {
padding : 2 px 5 px 1 px 5 px ;
margin : 0 0 2 px 3 px ;
position : relative ;
line - height : 13 px ;
color : #333;
cursor : default ;
border : 1 px solid #aaaaaa;
border - radius : 3 px ;
- webkit - box - shadow : 0 0 2 px #fff inset, 0 1px 0 rgba(0, 0, 0, 0.05);
box - shadow : 0 0 2 px #fff inset, 0 1px 0 rgba(0, 0, 0, 0.05);
background - clip : padding - box ;
- webkit - touch - callout : none ;
- webkit - user - select : none ;
- moz - user - select : none ;
- ms - user - select : none ;
user - select : none ;
background - color : #e4e4e4;
filter : progid : DXImageTransform . Microsoft . gradient ( startColorstr = '#eeeeee' , endColorstr = '#f4f4f4' , GradientType = 0 );
background - image : - webkit - gradient ( linear , 0 % 0 % , 0 % 100 % , color - stop ( 20 % , #f4f4f4), color-stop(50%, #f0f0f0), color-stop(52%, #e8e8e8), color-stop(100%, #eee));
background - image : - webkit - linear - gradient ( top , #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eee 100%);
background - image : - moz - linear - gradient ( top , #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eee 100%);
background - image : linear - gradient ( to bottom , #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eee 100%);
}
. select2 - container - multi - dolibarr . select2 - choices - dolibarr . select2 - search - choice - dolibarr a {
font - weight : normal ;
}
. select2 - container - multi - dolibarr . select2 - choices - dolibarr li {
float : left ;
list - style : none ;
}
. select2 - container - multi - dolibarr . select2 - choices - dolibarr {
height : auto ! important ;
height : 1 % ;
margin : 0 ;
padding : 0 5 px 0 0 ;
position : relative ;
cursor : text ;
overflow : hidden ;
}
2016-02-16 15:01:28 +01:00
/* ============================================================================== */
/* For categories */
/* ============================================================================== */
2015-11-13 03:35:55 +01:00
. noborderoncategories {
border : none ! important ;
2015-12-19 13:55:27 +01:00
border - radius : 5 px ! important ;
box - shadow : none ;
- webkit - box - shadow : none ! important ;
box - shadow : none ! important ;
2015-11-13 03:35:55 +01:00
}
2015-12-19 13:55:27 +01:00
span . noborderoncategories a , li . noborderoncategories a {
line - height : normal ;
vertical - align : top ;
}
span . noborderoncategories {
padding : 3 px 5 px 0 px 5 px ;
}
2016-02-16 15:01:28 +01:00
. categtextwhite , . treeview . categtextwhite . hover {
color : #fff !important;
}
. categtextblack {
color : #000 !important;
}
2015-12-19 13:55:27 +01:00
2013-12-01 19:39:21 +01:00
2015-10-09 16:35:14 +02:00
/* ============================================================================== */
/* Multiselect with checkbox */
/* ============================================================================== */
2016-01-03 16:23:23 +01:00
ul . ulselectedfields {
z - index : 100 ; /* To have the select box appears on first plan even when near buttons are decorated by jmobile */
}
2015-10-09 16:35:14 +02:00
dl . dropdown {
margin : 0 px ;
padding : 0 px ;
}
. dropdown dd , . dropdown dt {
margin : 0 px ;
padding : 0 px ;
}
. dropdown ul {
margin : - 1 px 0 0 0 ;
text - align : left ;
}
. dropdown dd {
position : relative ;
}
. dropdown dt a {
display : block ;
overflow : hidden ;
border : 0 ;
}
. dropdown dt a span , . multiSel span {
cursor : pointer ;
display : inline - block ;
padding : 0 3 px 2 px 0 ;
}
. dropdown dd ul {
background - color : #FFF;
border : 1 px solid #888;
display : none ;
right : 0 px ; /* pop is align on right */
padding : 2 px 15 px 2 px 5 px ;
position : absolute ;
top : 2 px ;
list - style : none ;
2016-03-30 00:06:55 +02:00
max - height : 300 px ;
2015-10-09 16:35:14 +02:00
overflow : auto ;
}
. dropdown span . value {
display : none ;
}
. dropdown dd ul li {
white - space : nowrap ;
2015-10-09 20:00:43 +02:00
font - weight : normal ;
2016-08-29 18:04:21 +02:00
padding : 2 px ;
2015-10-09 16:35:14 +02:00
}
2016-07-09 15:35:49 +02:00
. dropdown dd ul li input [ type = " checkbox " ] {
margin - right : 3 px ;
}
2016-08-23 15:43:48 +02:00
. dropdown dd ul li a , . dropdown dd ul li span {
2016-08-29 17:58:55 +02:00
padding : 3 px ;
display : block ;
2015-10-09 16:35:14 +02:00
}
2016-08-23 15:43:48 +02:00
. dropdown dd ul li span {
color : #888;
}
2015-10-09 16:35:14 +02:00
. dropdown dd ul li a : hover {
background - color : #fff;
}
2015-05-31 12:25:33 +02:00
2013-03-25 17:54:54 +01:00
/* ============================================================================== */
/* JMobile */
/* ============================================================================== */
2013-04-03 00:36:31 +02:00
li . ui - li - divider . ui - link {
2013-04-01 20:15:52 +02:00
color : #FFF !important;
2013-03-25 17:54:54 +01:00
}
2013-06-19 18:08:05 +02:00
. ui - btn {
2013-06-20 16:13:42 +02:00
margin : 0.1 em 2 px
2013-06-19 18:08:05 +02:00
}
2013-04-28 01:12:40 +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 ;
2013-04-25 01:13:13 +02:00
}
2016-04-03 21:08:03 +02:00
. ui - body - c {
background : #fff;
}
2013-04-28 01:12:40 +02:00
2013-04-14 16:11:55 +02:00
. ui - btn - inner {
2013-06-19 18:08:05 +02:00
min - width : . 4 em ;
2016-06-19 16:07:34 +02:00
padding - left : 6 px ;
padding - right : 6 px ;
2014-02-25 10:00:57 +01:00
< ? php if ( ! empty ( $dol_use_jmobile )) { ?>
font - size : 13 px ;
< ? php } else { ?>
2013-06-19 18:08:05 +02:00
font - size : < ? php print $fontsize ?> px;
2014-02-25 10:00:57 +01:00
< ? php } ?>
2013-04-25 20:27:45 +02:00
/* white-space: normal; */ /* Warning, enable this break the truncate feature */
2013-04-14 16:11:55 +02:00
}
2013-06-19 18:08:05 +02:00
. ui - btn - icon - right . ui - btn - inner {
2016-06-19 16:07:34 +02:00
padding - right : 30 px ;
2013-06-19 18:08:05 +02:00
}
2013-06-20 16:13:42 +02:00
. ui - btn - icon - left . ui - btn - inner {
2016-06-19 16:07:34 +02:00
padding - left : 30 px ;
2013-06-20 16:13:42 +02:00
}
2013-04-14 16:11:55 +02:00
. ui - select . ui - btn - icon - right . ui - btn - inner {
2016-06-19 16:07:34 +02:00
padding - right : 30 px ;
2013-04-14 16:11:55 +02:00
}
2013-06-20 16:13:42 +02:00
. ui - select . ui - btn - icon - left . ui - btn - inner {
2016-06-19 16:07:34 +02:00
padding - left : 30 px ;
}
. ui - select . ui - btn - icon - right . ui - icon {
right : 8 px ;
}
. ui - btn - icon - left > . ui - btn - inner > . ui - icon , . ui - btn - icon - right > . ui - btn - inner > . ui - icon {
margin - top : - 10 px ;
2013-06-20 16:13:42 +02:00
}
2016-01-03 16:23:23 +01:00
select {
/* display: inline-block; */ /* We can't set this. This disable ability to make */
2016-06-19 16:07:34 +02:00
/* TODO modified by jmobile, replace jmobile with pure css*/
2016-01-03 16:23:23 +01:00
overflow : hidden ;
2016-06-29 17:34:13 +02:00
white - space : nowrap ; /* Enabling this make behaviour strange when selecting the empty value if this empty value is '' instead of ' ' */
2016-02-16 12:45:18 +01:00
text - overflow : ellipsis ;
2016-01-02 20:48:19 +01:00
}
2013-04-24 03:56:13 +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 );
}
2013-06-20 16:13:42 +02:00
div . ui - controlgroup - controls div . tabsElem a #active {
- moz - box - shadow : 0 - 3 px 6 px rgba ( 0 , 0 , 0 , . 3 );
- webkit - box - shadow : 0 - 3 px 6 px rgba ( 0 , 0 , 0 , . 3 );
box - shadow : 0 - 3 px 6 px rgba ( 0 , 0 , 0 , . 3 );
}
2013-04-24 03:56:13 +02:00
a . tab span . ui - btn - inner
{
border : none ;
padding : 0 ;
}
. ui - link {
2014-01-05 15:46:39 +01:00
color : rgb ( < ? php print $colortext ; ?> );
2013-04-24 03:56:13 +02:00
}
2013-08-01 04:36:54 +02:00
. liste_titre . ui - link {
2015-10-14 23:50:36 +02:00
color : rgb ( < ? php print $colortexttitle ; ?> ) !important;
2013-08-01 04:36:54 +02:00
}
2013-04-24 03:56:13 +02:00
2013-04-25 01:13:13 +02:00
a . ui - link {
word - wrap : break - word ;
}
2013-04-24 03:56:13 +02:00
2013-04-25 20:27:45 +02:00
/* force wrap possible onto field overflow does not works */
. formdoc . ui - btn - inner
{
white - space : normal ;
overflow : hidden ;
2015-11-29 16:05:14 +01:00
text - overflow : clip ; /* "hidden" : do not exists as a text-overflow value (https://developer.mozilla.org/fr/docs/Web/CSS/text-overflow) */
2013-04-25 20:27:45 +02:00
}
2013-04-28 20:29:21 +02:00
/* Warning: setting this may make screen not beeing refreshed after a combo selection */
2014-10-19 19:57:42 +02:00
/*. ui - body - c {
2013-04-14 16:11:55 +02:00
background : #fff;
2014-10-19 19:57:42 +02:00
} */
2013-04-25 20:27:45 +02:00
2013-06-26 11:40:29 +02:00
div . ui - radio , div . ui - checkbox
2013-04-28 20:29:21 +02:00
{
display : inline - block ;
2013-06-26 11:40:29 +02:00
border - bottom : 0 px ! important ;
2013-04-28 20:29:21 +02:00
}
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-06-19 16:59:03 +02:00
ul . ulmenu {
border - radius : 0 ;
- webkit - border - radius : 0 ;
}
2013-03-25 17:54:54 +01:00
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-06-20 16:13:42 +02:00
2013-10-22 18:01:54 +02:00
/* Style for first level menu with jmobile */
2016-09-21 00:29:19 +02:00
. ui - li . ui - btn - inner a . ui - link - inherit , . ui - li - static . ui - li {
2016-10-25 12:36:14 +02:00
padding : 1 em 15 px ;
2016-09-21 00:29:19 +02:00
display : block ;
}
. ui - btn - up - c {
font - weight : normal ;
}
. ui - focus , . ui - btn : focus {
- moz - box - shadow : none ;
- webkit - box - shadow : none ;
box - shadow : none ;
}
2016-10-25 12:36:14 +02:00
. ui - bar - b {
/*border: 1px solid #888;*/
border : none ;
background : none ;
text - shadow : none ;
color : rgb ( < ? php print $colortexttitlenotab ; ?> ) !important;
}
2013-10-22 18:01:54 +02:00
. ui - bar - b , . lilevel0 {
background - repeat : repeat - x ;
2016-10-25 12:36:14 +02:00
border : none ;
background : none ;
text - shadow : none ;
color : rgb ( < ? php print $colortexttitlenotab ; ?> ) !important;
}
. alilevel0 {
font - weight : normal ! important ;
2013-10-22 18:01:54 +02:00
}
2016-10-25 12:36:14 +02:00
2016-09-21 00:29:19 +02:00
. ui - li . ui - last - child , . ui - li . ui - field - contain . ui - last - child {
border - bottom - width : 0 px ! important ;
}
2013-10-22 18:01:54 +02:00
. alilevel0 {
2015-10-14 23:50:36 +02:00
color : rgb ( < ? php echo $colortexttitle ; ?> ) !important;
2016-10-25 12:36:14 +02:00
}
. ulmenu {
box - shadow : none ! important ;
border - bottom : 1 px solid #444;
2013-10-22 18:01:54 +02:00
}
2015-09-18 15:51:27 +02:00
. ui - btn - icon - right {
border - right : 1 px solid #ccc !important;
}
2013-11-30 02:31:17 +01:00
. ui - body - c {
border : 1 px solid #ccc;
text - shadow : none ;
}
. ui - btn - up - c , . ui - btn - hover - c {
2016-09-21 00:29:19 +02:00
/* border: 1px solid #ccc; */
2013-11-30 02:31:17 +01:00
text - shadow : none ;
2013-10-27 00:04:57 +02:00
}
2014-01-05 15:46:39 +01:00
. ui - body - c . ui - link , . ui - body - c . ui - link : visited , . ui - body - c . ui - link : hover {
2016-01-02 20:48:19 +01:00
color : rgb ( < ? php print $colortextlink ; ?> );
2014-01-05 15:46:39 +01:00
}
2013-10-22 18:01:54 +02:00
. ui - btn - up - c . vsmenudisabled {
color : #<?php echo $colorshadowtitle; ?> !important;
text - shadow : none ! important ;
}
2015-06-05 14:02:50 +02:00
/*
. ui - btn - up - c {
background : transparent ;
}
*/
div . tabsElem a . tab {
background : transparent ;
}
2016-10-25 12:36:14 +02:00
2015-09-18 15:51:27 +02:00
/*. ui - controlgroup - horizontal . ui - btn . ui - first - child {
2014-01-05 15:46:39 +01:00
- webkit - border - top - left - radius : 6 px ;
border - top - left - radius : 6 px ;
}
. ui - controlgroup - horizontal . ui - btn . ui - last - child {
- webkit - border - top - right - radius : 6 px ;
border - top - right - radius : 6 px ;
2015-09-18 15:51:27 +02:00
} */
2016-10-25 12:36:14 +02:00
2013-10-22 18:01:54 +02:00
. alilevel1 {
2016-10-25 12:36:14 +02:00
color : rgb ( < ? php print $colortexttitlenotab ; ?> ) !important;
2013-10-22 18:01:54 +02:00
}
. lilevel1 {
2016-10-25 12:36:14 +02:00
border - top : 2 px solid #444;
background : #fff ! important;
}
. lilevel1 div div a {
font - weight : bold ! important ;
2013-10-22 18:01:54 +02:00
}
2014-10-13 00:17:37 +02:00
. lilevel2
{
padding - left : 22 px ;
2016-10-25 12:36:14 +02:00
background : #fff ! important;
2014-10-13 00:17:37 +02:00
}
. lilevel3
{
padding - left : 54 px ;
2016-10-25 12:36:14 +02:00
background : #fff ! important;
2014-10-13 00:17:37 +02:00
}
2013-10-22 18:01:54 +02:00
2015-05-06 00:29:39 +02:00
2015-06-08 18:28:50 +02:00
2016-03-19 18:46:44 +01:00
/* ============================================================================== */
/* POS */
/* ============================================================================== */
. menu_choix1 a {
background : url ( '<?php echo dol_buildpath($path.' / theme / '.$theme.' / img / menus_black / money . png ',1) ?>' ) top left no - repeat ;
}
. menu_choix2 a {
background : url ( '<?php echo dol_buildpath($path.' / theme / '.$theme.' / img / menus_black / home . png ',1) ?>' ) top left no - repeat ;
}
. menu_choix1 , . menu_choix2 {
font - size : 1.4 em ;
text - align : left ;
border : 1 px solid #666;
margin - right : 20 px ;
}
. menu_choix1 a , . menu_choix2 a {
display : block ;
color : #fff;
text - decoration : none ;
padding - top : 18 px ;
padding - left : 54 px ;
font - size : 14 px ;
2016-08-31 12:38:54 +02:00
height : 38 px ;
2016-03-19 18:46:44 +01:00
}
. menu_choix1 a : hover , . menu_choix2 a : hover {
color : #6d3f6d;
}
2016-08-31 12:38:54 +02:00
. menu li . menu_choix1 {
padding - top : 6 px ;
padding - right : 10 px ;
2016-09-09 09:21:27 +02:00
padding - bottom : 2 px ;
2016-08-31 12:38:54 +02:00
}
. menu li . menu_choix2 {
padding - top : 6 px ;
padding - right : 10 px ;
2016-09-09 09:21:27 +02:00
padding - bottom : 2 px ;
2016-08-31 12:38:54 +02:00
}
@ media only screen and ( max - width : 767 px )
{
. menu_choix1 a , . menu_choix2 a {
2016-09-09 09:21:27 +02:00
background - size : 36 px 36 px ;
2016-08-31 12:38:54 +02:00
height : 30 px ;
padding - left : 40 px ;
}
. menu li . menu_choix1 , . menu li . menu_choix2 {
padding - left : 4 px ;
padding - right : 0 ;
}
. liste_articles {
margin - right : 0 ! important ;
}
}
2016-03-19 18:46:44 +01:00
/* ============================================================================== */
/* Demo */
/* ============================================================================== */
2016-03-08 10:03:51 +01:00
/* For demo pages */
img . demothumb {
2016-07-06 23:18:01 +02:00
box - shadow : 2 px 2 px 8 px #BBB;
margin - right : 20 px ;
margin - left : 10 px ;
2016-03-08 10:03:51 +01:00
}
2016-03-19 18:46:44 +01:00
/* ============================================================================== */
/* Public */
/* ============================================================================== */
2015-06-08 18:17:13 +02:00
/* The theme for public pages */
. public_body {
margin : 20 px ;
}
. public_border {
border : 1 px solid #888;
}
2015-06-08 18:28:50 +02:00
2016-03-08 10:03:51 +01:00
2016-03-19 18:46:44 +01:00
/* ============================================================================== */
/* CSS style used for small screen */
/* ============================================================================== */
2015-05-06 00:29:39 +02:00
2016-08-23 15:43:48 +02:00
. topmenuimage {
background - size : 22 px auto ;
top : 2 px ;
}
2015-05-06 00:29:39 +02:00
. imgopensurveywizard
{
padding : 0 4 px 0 4 px ;
}
@ media only screen and ( max - width : 767 px )
2015-11-17 19:16:40 +01:00
{
. imgopensurveywizard { width : 95 % ; height : auto ; }
2016-02-16 12:45:18 +01:00
2015-11-17 19:16:40 +01:00
#tooltip {
position : absolute ;
width : < ? php print dol_size ( 350 , 'width' ); ?> px;
2016-02-16 12:45:18 +01:00
}
2015-11-17 19:16:40 +01:00
2016-07-06 23:18:01 +02:00
img . demothumb {
box - shadow : 1 px 1 px 4 px #BBB;
margin - right : 6 px ;
margin - left : 4 px ;
width : 80 px ;
}
2016-08-30 18:10:53 +02:00
div . tabBar {
padding - left : 0 px ;
padding - right : 0 px ;
- moz - border - radius : 0 ;
- webkit - border - radius : 0 ;
border - radius : 0 px ;
border - right : none ;
border - left : none ;
}
2015-11-17 19:16:40 +01:00
}
2016-03-05 01:36:33 +01:00
/* nboftopmenuentries = <?php echo $nbtopmenuentries ?>, fontsize=<?php echo $fontsize ?> */
2016-03-12 16:19:01 +01:00
/* rule to reduce top menu - 1st reduction */
2016-09-21 00:29:19 +02:00
@ media only screen and ( max - width : < ? php echo round ( $nbtopmenuentries * $fontsize * 6.9 , 0 ) + 20 ; ?> px)
2015-05-06 00:29:39 +02:00
{
2016-03-12 16:19:01 +01:00
div . tmenucenter {
max - width : < ? php echo round ( $fontsize * 4 ); ?> px; /* size of viewport */
white - space : nowrap ;
overflow : hidden ;
text - overflow : ellipsis ;
color : #<?php echo $colortextbackhmenu; ?>;
}
2015-09-21 15:18:29 +02:00
. mainmenuaspan {
2016-03-12 16:19:01 +01:00
/*display: none;*/
font - size : 10 px ;
2015-09-21 15:18:29 +02:00
}
2016-03-12 16:19:01 +01:00
. topmenuimage {
2016-08-23 15:43:48 +02:00
background - size : 22 px auto ;
2016-03-12 16:19:01 +01:00
margin - top : 0 px ;
}
2015-09-21 15:18:29 +02:00
li . tmenu , li . tmenusel {
2016-06-17 16:28:16 +02:00
min - width : 36 px ;
2015-09-21 15:18:29 +02:00
}
div . mainmenu {
min - width : auto ;
}
2015-09-27 01:59:48 +02:00
div . tmenuleft {
display : none ;
}
}
2016-03-12 16:19:01 +01:00
/* rule to reduce top menu - 2nd reduction */
2016-06-17 16:28:16 +02:00
@ media only screen and ( max - width : < ? php echo round ( $nbtopmenuentries * $fontsize * 4.5 , 0 ) + 8 ; ?> px)
2016-03-12 16:19:01 +01:00
{
2016-05-19 13:25:16 +02:00
div . mainmenu {
height : 23 px ;
}
2016-03-12 16:19:01 +01:00
div . tmenucenter {
max - width : < ? php echo round ( $fontsize * 2 ); ?> px; /* size of viewport */
text - overflow : clip ;
}
. mainmenuaspan {
/*display: none;*/
font - size : 10 px ;
}
. topmenuimage {
background - size : 20 px auto ;
margin - top : 2 px ;
}
}
/* rule to reduce top menu - 3rd reduction */
2016-09-21 00:29:19 +02:00
@ media only screen and ( max - width : < ? php echo round ( $nbtopmenuentries * $fontsize * 3.4 , 0 ) + 8 ; ?> px)
2015-09-27 01:59:48 +02:00
{
2015-10-24 13:52:35 +02:00
/* Reduce login top right info */
. usertextatoplogin {
display : none ;
}
2016-05-19 13:25:16 +02:00
. help {
< ? php if ( $disableimages ) { ?>
display : none ;
< ? php } ?>
}
2015-10-24 13:52:35 +02:00
div #tmenu_tooltip {
< ? php if ( GETPOST ( " optioncss " ) == 'print' ) { ?>
display : none ;
< ? php } else { ?>
padding -< ? php echo $right ; ?> : 78px;
< ? php } ?>
}
2016-09-12 01:10:58 +02:00
div . login_block_user {
min - width : 0 ;
}
2015-10-24 13:52:35 +02:00
div . login_block {
2016-05-19 13:25:16 +02:00
top : 2 px ;
< ? php if ( $disableimages ) { ?>
max - width : 100 px ;
< ? php } else { ?>
max - width : 82 px ;
< ? php } ?>
2015-10-24 13:52:35 +02:00
}
2016-09-12 01:10:58 +02:00
. login_block_elem {
padding : 0 ! important ;
}
2016-03-12 16:19:01 +01:00
li . tmenu , li . tmenusel {
2016-06-17 16:28:16 +02:00
min - width : 32 px ;
2016-03-12 16:19:01 +01:00
}
2016-05-19 13:25:16 +02:00
div . mainmenu {
height : 23 px ;
}
2016-03-12 16:19:01 +01:00
div . tmenucenter {
text - overflow : clip ;
}
. topmenuimage {
background - size : 20 px auto ;
margin - top : 2 px ! important ;
}
2015-10-24 13:52:35 +02:00
div . mainmenu {
2015-09-27 01:59:48 +02:00
min - width : 20 px ;
}
2016-02-16 12:45:18 +01:00
2015-09-27 01:59:48 +02:00
#tooltip {
position : absolute ;
width : < ? php print dol_size ( 300 , 'width' ); ?> px;
2015-10-24 13:52:35 +02:00
}
2016-09-21 00:29:19 +02:00
select {
2016-11-05 03:27:56 +01:00
width : 98 % ;
< ? php if ( empty ( $conf -> dol_use_jmobile )) { ?> max-width: 100px;<?php } ?>
min - width : 40 px ;
2016-09-21 00:29:19 +02:00
}
2016-10-24 11:59:19 +02:00
div . divphotoref {
padding - right : 5 px ;
}
img . photoref , div . photoref {
border : none ;
- moz - box - shadow : none ;
- webkit - box - shadow : none ;
box - shadow : none ;
padding : 4 px ;
height : 20 px ;
width : 20 px ;
object - fit : contain ;
}
2016-09-21 00:29:19 +02:00
2015-05-06 00:29:39 +02:00
}
2015-06-08 18:28:50 +02:00
2011-08-17 15:08:19 +02:00
< ? php
if ( is_object ( $db )) $db -> close ();