2015-03-22 18:09:22 +01:00
< ? php
/* Copyright ( C ) 2004 - 2014 Laurent Destailleur < eldy @ users . sourceforge . net >
* Copyright ( C ) 2006 Rodolphe Quiedeville < rodolphe @ quiedeville . org >
* Copyright ( C ) 2007 - 2012 Regis Houssin < regis . houssin @ capnetworks . com >
* Copyright ( C ) 2011 Philippe Grand < philippe . grand @ atoo - net . com >
* Copyright ( C ) 2012 Juanjo Menent < jmenent @ 2 byte . es >
*
* 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
* the Free Software Foundation ; either version 3 of the License , or
* ( 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
* along with this program . If not , see < http :// www . gnu . org / licenses />.
*/
/**
* \file htdocs / theme / eldy / style . css . php
* \brief File for CSS style sheet Eldy
*/
//if (! defined('NOREQUIREUSER')) define('NOREQUIREUSER','1'); // Not disabled because need to load personalized language
//if (! defined('NOREQUIREDB')) define('NOREQUIREDB','1'); // Not disabled to increase speed. Language code is found on url.
if ( ! defined ( 'NOREQUIRESOC' )) define ( 'NOREQUIRESOC' , '1' );
//if (! defined('NOREQUIRETRAN')) define('NOREQUIRETRAN','1'); // Not disabled because need to do translations
if ( ! defined ( 'NOCSRFCHECK' )) define ( 'NOCSRFCHECK' , 1 );
if ( ! defined ( 'NOTOKENRENEWAL' )) define ( 'NOTOKENRENEWAL' , 1 );
if ( ! defined ( 'NOLOGIN' )) define ( 'NOLOGIN' , 1 ); // File must be accessed by logon page so without login
if ( ! defined ( 'NOREQUIREMENU' )) define ( 'NOREQUIREMENU' , 1 );
if ( ! defined ( 'NOREQUIREHTML' )) define ( 'NOREQUIREHTML' , 1 );
if ( ! defined ( 'NOREQUIREAJAX' )) define ( 'NOREQUIREAJAX' , '1' );
session_cache_limiter ( FALSE );
require_once '../../main.inc.php' ;
require_once DOL_DOCUMENT_ROOT . '/core/lib/functions2.lib.php' ;
// 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' ]);
// Define css type
header ( 'Content-type: text/css' );
// Important: Following code is to avoid page request by browser and PHP CPU at each Dolibarr page access.
if ( empty ( $dolibarr_nocache )) header ( 'Cache-Control: max-age=3600, public, must-revalidate' );
else header ( 'Cache-Control: no-cache' );
// 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 " ); }
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
$langs -> load ( " main " , 0 , 1 );
$right = ( $langs -> trans ( " DIRECTION " ) == 'rtl' ? 'left' : 'right' );
$left = ( $langs -> trans ( " DIRECTION " ) == 'rtl' ? 'right' : 'left' );
$path = '' ; // This value may be used in future for external module to overwrite theme
$theme = 'eldy' ; // Value of theme
if ( ! empty ( $conf -> global -> MAIN_OVERWRITE_THEME_RES )) { $path = '/' . $conf -> global -> MAIN_OVERWRITE_THEME_RES ; $theme = $conf -> global -> MAIN_OVERWRITE_THEME_RES ; }
// Define image path files and other constants
$fontlist = 'arial,tahoma,verdana,helvetica' ; //$fontlist='Verdana,Helvetica,Arial,sans-serif';
$img_head = '' ;
$img_button = dol_buildpath ( $path . '/theme/' . $theme . '/img/button_bg.png' , 1 );
$dol_hide_topmenu = $conf -> dol_hide_topmenu ;
$dol_hide_leftmenu = $conf -> dol_hide_leftmenu ;
$dol_optimize_smallscreen = $conf -> dol_optimize_smallscreen ;
$dol_no_mouse_hover = $conf -> dol_no_mouse_hover ;
$dol_use_jmobile = $conf -> dol_use_jmobile ;
// Define reference colors
// Example: Light grey: $colred=235;$colgreen=235;$colblue=235;
// Example: Pink: $colred=230;$colgreen=210;$colblue=230;
// Example: Green: $colred=210;$colgreen=230;$colblue=210;
// Example: Ocean: $colred=220;$colgreen=220;$colblue=240;
//$conf->global->THEME_ELDY_ENABLE_PERSONALIZED=0;
//$user->conf->THEME_ELDY_ENABLE_PERSONALIZED=0;
//var_dump($user->conf->THEME_ELDY_RGB);
$colred = empty ( $user -> conf -> THEME_ELDY_ENABLE_PERSONALIZED ) ? ( empty ( $conf -> global -> THEME_ELDY_RGB ) ? 235 : hexdec ( substr ( $conf -> global -> THEME_ELDY_RGB , 0 , 2 ))) : ( empty ( $user -> conf -> THEME_ELDY_RGB ) ? 235 : hexdec ( substr ( $user -> conf -> THEME_ELDY_RGB , 0 , 2 )));
$colgreen = empty ( $user -> conf -> THEME_ELDY_ENABLE_PERSONALIZED ) ? ( empty ( $conf -> global -> THEME_ELDY_RGB ) ? 235 : hexdec ( substr ( $conf -> global -> THEME_ELDY_RGB , 2 , 2 ))) : ( empty ( $user -> conf -> THEME_ELDY_RGB ) ? 235 : hexdec ( substr ( $user -> conf -> THEME_ELDY_RGB , 2 , 2 )));
$colblue = empty ( $user -> conf -> THEME_ELDY_ENABLE_PERSONALIZED ) ? ( empty ( $conf -> global -> THEME_ELDY_RGB ) ? 235 : hexdec ( substr ( $conf -> global -> THEME_ELDY_RGB , 4 , 2 ))) : ( empty ( $user -> conf -> THEME_ELDY_RGB ) ? 235 : hexdec ( substr ( $user -> conf -> THEME_ELDY_RGB , 4 , 2 )));
// Colors
$isred = max ( 0 ,( 2 * $colred - $colgreen - $colblue ) / 2 ); // 0 - 255
$isgreen = max ( 0 ,( 2 * $colgreen - $colred - $colblue ) / 2 ); // 0 - 255
$isblue = max ( 0 ,( 2 * $colblue - $colred - $colgreen ) / 2 ); // 0 - 255
$colorbackhmenu1 = ( $colred - 3 ) . ',' . ( $colgreen - 3 ) . ',' . ( $colblue - 3 ); // topmenu
$colorbackhmenu2 = ( $colred + 5 ) . ',' . ( $colgreen + 5 ) . ',' . ( $colblue + 5 );
$colorbackvmenu1 = ( $colred + 15 ) . ',' . ( $colgreen + 16 ) . ',' . ( $colblue + 17 ); // vmenu
$colorbackvmenu1b = ( $colred + 5 ) . ',' . ( $colgreen + 6 ) . ',' . ( $colblue + 7 ); // vmenu (not menu)
$colorbackvmenu2 = ( $colred - 15 ) . ',' . ( $colgreen - 15 ) . ',' . ( $colblue - 15 );
$colorbacktitle1 = ( $colred - 5 ) . ',' . ( $colgreen - 5 ) . ',' . ( $colblue - 5 ); // title of array
$colorbacktitle2 = ( $colred - 15 ) . ',' . ( $colgreen - 15 ) . ',' . ( $colblue - 15 );
2015-05-03 21:15:08 +02:00
$colorbacktabcard1 = '255,255,255' ; // card
2015-03-22 18:09:22 +01:00
$colorbacktabcard2 = ( $colred - 15 ) . ',' . ( $colgreen - 15 ) . ',' . ( $colblue - 15 );
$colorbacktabactive = ( $colred - 15 ) . ',' . ( $colgreen - 15 ) . ',' . ( $colblue - 15 );
2015-05-03 21:15:08 +02:00
$colorbacklineimpair1 = '255,255,255' ; // line impair
$colorbacklineimpair2 = '255,255,255' ; // line impair
$colorbacklineimpairhover = ( 230 + round (( $isred + $isgreen + $isblue ) / 9 )) . ',' . ( 230 + round (( $isred + $isgreen + $isblue ) / 9 )) . ',' . ( 230 + round (( $isred + $isgreen + $isblue ) / 9 )); // line impair
$colorbacklinepair1 = ( 244 + round ( $isred / 3 )) . ',' . ( 244 + round ( $isgreen / 3 )) . ',' . ( 244 + round ( $isblue / 3 )); // line pair
$colorbacklinepair2 = ( 250 + round ( $isred / 3 )) . ',' . ( 250 + round ( $isgreen / 3 )) . ',' . ( 250 + round ( $isblue / 3 )); // line pair
2015-03-22 18:09:22 +01:00
$colorbacklinepairhover = ( 230 + round (( $isred + $isgreen + $isblue ) / 9 )) . ',' . ( 230 + round (( $isred + $isgreen + $isblue ) / 9 )) . ',' . ( 230 + round (( $isred + $isgreen + $isblue ) / 9 )); // line pair
$colorbackbody = '#f0f0f0' ;
$colortext = '40,40,40' ;
$fontsize = '12' ;
$fontsizesmaller = '11' ;
// Eldy colors
if ( empty ( $conf -> global -> THEME_ELDY_ENABLE_PERSONALIZED ))
{
2015-03-24 22:24:15 +01:00
// 90A4AE, 607D8B, 455A64, 37474F
$conf -> global -> THEME_ELDY_TOPMENU_BACK1 = join ( ',' , colorStringToArray ( '#37474F' )); // topmenu #607D8B
2015-03-22 18:09:22 +01:00
$conf -> global -> THEME_ELDY_TOPMENU_BACK2 = '236,236,236' ;
$conf -> global -> THEME_ELDY_VERMENU_BACK1 = '255,255,255' ; // vmenu
$conf -> global -> THEME_ELDY_VERMENU_BACK1b = '230,232,232' ; // vmenu (not menu)
$conf -> global -> THEME_ELDY_VERMENU_BACK2 = '240,240,240' ;
2015-03-24 22:24:15 +01:00
$conf -> global -> THEME_ELDY_BACKTITLE1 = join ( ',' , colorStringToArray ( '#607D8B' )); // title of arrays
2015-03-22 18:09:22 +01:00
$conf -> global -> THEME_ELDY_BACKTITLE2 = '230,230,230' ;
$conf -> global -> THEME_ELDY_BACKTABCARD2 = '255,255,255' ; // card
$conf -> global -> THEME_ELDY_BACKTABCARD1 = '234,234,234' ;
$conf -> global -> THEME_ELDY_BACKTABACTIVE = '234,234,234' ;
$conf -> global -> THEME_ELDY_BACKBODY = '#f0f0f0;' ;
$conf -> global -> THEME_ELDY_LINEPAIR1 = '242,242,242' ;
$conf -> global -> THEME_ELDY_LINEPAIR2 = '248,248,248' ;
$conf -> global -> THEME_ELDY_LINEPAIRHOVER = '238,246,252' ;
$conf -> global -> THEME_ELDY_LINEIMPAIR1 = '255,255,255' ;
$conf -> global -> THEME_ELDY_LINEIMPAIR2 = '255,255,255' ;
$conf -> global -> THEME_ELDY_LINEIMPAIRHOVER = '238,246,252' ;
$conf -> global -> THEME_ELDY_TEXT = '50,50,130' ;
}
$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 );
$colorbackhmenu2 = empty ( $user -> conf -> THEME_ELDY_ENABLE_PERSONALIZED ) ? ( empty ( $conf -> global -> THEME_ELDY_TOPMENU_BACK2 ) ? $colorbackhmenu2 : $conf -> global -> THEME_ELDY_TOPMENU_BACK2 ) : ( empty ( $user -> conf -> THEME_ELDY_TOPMENU_BACK2 ) ? $colorbackhmenu2 : $user -> conf -> THEME_ELDY_TOPMENU_BACK2 );
$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 );
$colorbackvmenu1b = empty ( $user -> conf -> THEME_ELDY_ENABLE_PERSONALIZED ) ? ( empty ( $conf -> global -> THEME_ELDY_VERMENU_BACK1b ) ? $colorbackvmenu1 : $conf -> global -> THEME_ELDY_VERMENU_BACK1b ) : ( empty ( $user -> conf -> THEME_ELDY_VERMENU_BACK1b ) ? $colorbackvmenu1b : $user -> conf -> THEME_ELDY_VERMENU_BACK1b );
$colorbackvmenu2 = empty ( $user -> conf -> THEME_ELDY_ENABLE_PERSONALIZED ) ? ( empty ( $conf -> global -> THEME_ELDY_VERMENU_BACK2 ) ? $colorbackvmenu2 : $conf -> global -> THEME_ELDY_VERMENU_BACK2 ) : ( empty ( $user -> conf -> THEME_ELDY_VERMENU_BACK2 ) ? $colorbackvmenu2 : $user -> conf -> THEME_ELDY_VERMENU_BACK2 );
$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 );
$colorbacktitle2 = empty ( $user -> conf -> THEME_ELDY_ENABLE_PERSONALIZED ) ? ( empty ( $conf -> global -> THEME_ELDY_BACKTITLE2 ) ? $colorbacktitle2 : $conf -> global -> THEME_ELDY_BACKTITLE2 ) : ( empty ( $user -> conf -> THEME_ELDY_BACKTITLE2 ) ? $colorbacktitle2 : $user -> conf -> THEME_ELDY_BACKTITLE2 );
$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 );
$colorbacktabcard2 = empty ( $user -> conf -> THEME_ELDY_ENABLE_PERSONALIZED ) ? ( empty ( $conf -> global -> THEME_ELDY_BACKTABCARD2 ) ? $colorbacktabcard2 : $conf -> global -> THEME_ELDY_BACKTABCARD2 ) : ( empty ( $user -> conf -> THEME_ELDY_BACKTABCARD2 ) ? $colorbacktabcard2 : $user -> conf -> THEME_ELDY_BACKTABCARD2 );
$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 );
$colorbacklineimpairhover = empty ( $user -> conf -> THEME_ELDY_ENABLE_PERSONALIZED ) ? ( empty ( $conf -> global -> THEME_ELDY_LINEIMPAIRHOVER ) ? $colorbacklineimpairhover : $conf -> global -> THEME_ELDY_LINEIMPAIRHOVER ) : ( empty ( $user -> conf -> THEME_ELDY_LINEIMPAIRHOVER ) ? $colorbacklineimpairhover : $user -> conf -> THEME_ELDY_LINEIMPAIRHOVER );
$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 );
$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 );
$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 );
$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 );
$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 );
// No hover by default, we keep only if we set var THEME_ELDY_USE_HOVER
if (( ! empty ( $user -> conf -> THEME_ELDY_ENABLE_PERSONALIZED ) && empty ( $user -> conf -> THEME_ELDY_USE_HOVER ))
|| ( empty ( $user -> conf -> THEME_ELDY_ENABLE_PERSONALIZED ) && empty ( $conf -> global -> THEME_ELDY_USE_HOVER )))
{
$colorbacklineimpairhover = '' ;
$colorbacklinepairhover = '' ;
}
// Format color value to match expected format (may be 'FFFFFF' or '255,255,255')
$colorbacktabcard1 = join ( ',' , colorStringToArray ( $colorbacktabcard1 ));
$colorbacktabcard2 = join ( ',' , colorStringToArray ( $colorbacktabcard2 ));
// Format color value to match expected format (may be 'FFFFFF' or '255,255,255')
$colorbacktabcard1 = join ( ',' , colorStringToArray ( $colorbacktabcard1 ));
$colorbacktabcard2 = join ( ',' , colorStringToArray ( $colorbacktabcard2 ));
// 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 = 'FFF' ;
else $colortextbackhmenu = '111' ;
$tmppart = explode ( ',' , $colorbackvmenu1 );
$tmpval = ( ! empty ( $tmppart [ 1 ]) ? $tmppart [ 1 ] : '' ) + ( ! empty ( $tmppart [ 2 ]) ? $tmppart [ 2 ] : '' ) + ( ! empty ( $tmppart [ 3 ]) ? $tmppart [ 3 ] : '' );
if ( $tmpval <= 360 ) { $colortextbackvmenu = 'FFF' ; }
else { $colortextbackvmenu = '111' ; }
$tmppart = explode ( ',' , $colorbacktitle1 );
$tmpval = ( ! empty ( $tmppart [ 1 ]) ? $tmppart [ 1 ] : '' ) + ( ! empty ( $tmppart [ 2 ]) ? $tmppart [ 2 ] : '' ) + ( ! empty ( $tmppart [ 3 ]) ? $tmppart [ 3 ] : '' );
if ( $tmpval <= 360 ) { $colortexttitle = 'FFF' ; $colorshadowtitle = '888' ; }
else { $colortexttitle = '111' ; $colorshadowtitle = 'FFF' ; }
$tmppart = explode ( ',' , $colorbacktabcard1 );
$tmpval = ( ! empty ( $tmppart [ 1 ]) ? $tmppart [ 1 ] : '' ) + ( ! empty ( $tmppart [ 2 ]) ? $tmppart [ 2 ] : '' ) + ( ! empty ( $tmppart [ 3 ]) ? $tmppart [ 3 ] : '' );
if ( $tmpval <= 340 ) { $colortextbacktab = 'FFF' ; }
else { $colortextbacktab = '111' ; }
print '/*' . " \n " ;
print 'colred=' . $colred . ' colgreen=' . $colgreen . ' colblue=' . $colblue . " \n " ;
print 'isred=' . $isred . ' isgreen=' . $isgreen . ' isblue=' . $isblue . " \n " ;
print 'colorbacklineimpair1=' . $colorbacklineimpair1 . " \n " ;
print 'colorbacklineimpair2=' . $colorbacklineimpair2 . " \n " ;
print 'colorbacklineimpairhover=' . $colorbacklineimpairhover . " \n " ;
print 'colorbacklinepair1=' . $colorbacklinepair1 . " \n " ;
print 'colorbacklinepair2=' . $colorbacklinepair2 . " \n " ;
print 'colorbacklinepairhover=' . $colorbacklinepairhover . " \n " ;
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 " ;
print 'dol_screenwidth=' . $_SESSION [ 'dol_screenwidth' ] . " \n " ;
print 'dol_screenheight=' . $_SESSION [ 'dol_screenheight' ] . " \n " ;
print '*/' . " \n " ;
if ( ! empty ( $conf -> dol_optimize_smallscreen )) $fontsize = 11 ;
?>
/* ============================================================================== */
/* Default styles */
/* ============================================================================== */
body {
< ? php if ( GETPOST ( " optioncss " ) == 'print' ) { ?>
background - color : #FFFFFF;
< ? php } else { ?>
background : < ? php print $colorbackbody ; ?> ;
< ? php } ?>
color : #101010;
font - size : < ? php print $fontsize ?> px;
font - family : < ? php print $fontlist ?> ;
margin - top : 0 ;
margin - bottom : 0 ;
margin - right : 0 ;
margin - left : 0 ;
< ? php print 'direction: ' . $langs -> trans ( " DIRECTION " ) . " ; \n " ; ?>
}
a : link , a : visited , a : hover , a : active { font - family : < ? php print $fontlist ?> ; font-weight: bold; color: #4A4A4A; text-decoration: none; }
a : hover { text - decoration : underline ; color : #000000;}
< ? php if ( empty ( $dol_use_jmobile )) { ?>
input : focus , textarea : focus , button : focus , select : focus {
box - shadow : 0 0 4 px #8091BF;
}
textarea . cke_source : focus
{
box - shadow : none ;
}
2015-05-03 21:15:08 +02:00
input , input . flat , textarea , textarea . flat , form . flat select select , select . flat , . dataTables_length label select {
2015-03-22 18:09:22 +01:00
font - size : < ? php print $fontsize ?> px;
font - family : < ? php print $fontlist ?> ;
background : #FDFDFD;
border : 1 px solid #C0C0C0;
/*padding: 1px 1px 1px 1px; */
margin : 0 px 0 px 0 px 0 px ;
}
input , textarea , select {
border - radius : 4 px ;
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 );
/* box-shadow: 1px 1px 1px rgba(0,0,0,.2) inset;*/
padding : 4 px ;
margin - left : 1 px ;
margin - bottom : 1 px ;
margin - top : 1 px ;
}
< ? php } ?>
select . flat , form . flat select {
font - weight : normal ;
}
input : disabled {
background : #ddd;
}
input . liste_titre {
box - shadow : none ! important ;
}
input . removedfile {
padding : 0 px ! important ;
border : 0 px ! important ;
}
textarea : disabled {
background : #ddd;
}
input [ type = checkbox ] { background - color : transparent ; border : none ; box - shadow : none ; }
input [ type = radio ] { background - color : transparent ; border : none ; box - shadow : none ; }
input [ type = image ] { background - color : transparent ; border : none ; box - shadow : none ; }
input [ type = text ] { min - width : 20 px ; }
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;
}
::- webkit - input - placeholder { color : #ccc; }
::- moz - placeholder { color : #ccc; } /* firefox 19+ */
:- ms - input - placeholder { color : #ccc; } /* ie */
input :- moz - placeholder { color : #ccc; }
< ? php if ( ! empty ( $dol_use_jmobile )) { ?>
legend { margin - bottom : 8 px ; }
< ? php } ?>
fieldset { border : 1 px solid #AAAAAA !important; box-shadow: 2px 2px 3px #DDD; }
. button , sbmtConnexion {
font - family : < ? php print $fontlist ?> ;
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 ;
margin - top : 0 ;
text - align : center ;
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 );
}
. button : focus {
- 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 );
}
. button : hover {
- 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 );
}
. button : disabled {
opacity : 0.4 ;
filter : alpha ( opacity = 40 ); /* For IE8 and earlier */
box - shadow : none ;
- webkit - box - shadow : none ;
- moz - box - shadow : none ;
cursor : auto ;
}
. buttonRefused {
pointer - events : none ;
cursor : default ;
opacity : 0.4 ;
filter : alpha ( opacity = 40 ); /* For IE8 and earlier */
box - shadow : none ;
- webkit - box - shadow : none ;
- moz - box - shadow : none ;
}
form {
padding : 0 px ;
margin : 0 px ;
}
div . float
{
float :< ? php print $left ; ?> ;
}
div . floatright
{
float :< ? php print $right ; ?> ;
}
. inline - block
{
display : inline - block ;
}
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 ;
border - radius : 0 px ! important ;
}
. valignmiddle {
vertical - align : middle ;
}
. centpercent {
width : 100 % ;
}
textarea . centpercent {
width : 96 % ;
}
. center {
text - align : center ;
}
. left {
text - align : < ? php print $left ; ?> ;
}
. right {
text - align : < ? php print $right ; ?> ;
}
. nowrap {
white - space : < ? php print ( $dol_optimize_smallscreen ? 'normal' : 'nowrap' ); ?> ;
}
. nobold {
font - weight : normal ! important ;
}
. nounderline {
text - decoration : none ;
}
. cursorpointer {
cursor : pointer ;
}
. 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 ;
}
. movable {
cursor : move ;
}
. borderrightlight
{
border - right : 1 px solid #DDD;
}
2015-03-22 21:18:25 +01:00
#formuserfile_link {
margin - left : 1 px ;
}
2015-03-22 18:09:22 +01:00
/* ============================================================================== */
/* Styles to hide objects */
/* ============================================================================== */
. hideobject { display : none ; }
. minwidth100 { min - width : 100 px ; }
. minwidth200 { min - width : 200 px ; }
. minwidth300 { min - width : 300 px ; }
. maxwidth100 { max - width : 100 px ; }
. maxwidth200 { max - width : 200 px ; }
. maxwidth300 { max - width : 300 px ; }
< ? php if ( ! empty ( $dol_optimize_smallscreen )) { ?>
. hideonsmartphone { display : none ; }
. noenlargeonsmartphone { width : 50 px ! important ; display : inline ! important ; }
. maxwidthonsmartphone { max - width : 100 px ; }
. maxwidth100onsmartphone { max - width : 100 px ; }
. maxwidth200onsmartphone { max - width : 200 px ; }
. maxwidth300onsmartphone { max - width : 300 px ; }
< ? php } ?>
. linkobject { cursor : pointer ; }
< ? php if ( GETPOST ( " optioncss " ) == 'print' ) { ?>
. hideonprint { display : none ; }
< ? php } ?>
/* ============================================================================== */
/* Styles for dragging lines */
/* ============================================================================== */
. dragClass {
color : #002255;
}
td . showDragHandle {
cursor : move ;
}
. tdlineupdown {
white - space : nowrap ;
min - width : 10 px ;
}
/* ============================================================================== */
/* Styles de positionnement des zones */
/* ============================================================================== */
#id-container {
margin - top : 0 px ;
margin - bottom : 0 px ;
display : table ;
table - layout : fixed ;
}
#id-right, #id-left {
display : table - cell ;
float : none ;
vertical - align : top ;
}
2015-03-24 22:24:15 +01:00
#id-top {
/* min - width : 100 % ;
position : relative ;
heigth : 52 px ;
background : #f00;*/
}
2015-03-22 18:09:22 +01:00
#id-left {
min - height : 100 % ;
position : relative ;
2015-03-24 22:24:15 +01:00
width : 183 px ;
2015-03-22 18:09:22 +01:00
}
2015-03-24 22:24:15 +01:00
#id-right { /* This must stay id-right and not be replaced with echo $right */
2015-03-22 18:09:22 +01:00
width : 100 % ;
padding - left : 184 px ;
2015-03-24 22:24:15 +01:00
padding - top : 12 px ;
2015-03-22 18:09:22 +01:00
}
. side - nav {
background : #FFF;
border - right : 1 px solid rgba ( 0 , 0 , 0 , 0.14 );
bottom : 0 ;
color : #333;
display : block ;
font - family : " RobotoDraft " , " Roboto " , sans - serif ;
left : 0 ;
position : fixed ;
top : 50 px ;
z - index : 4 ;
- webkit - transform : translateZ ( 0 );
- moz - transform : translateZ ( 0 );
- ms - transform : translateZ ( 0 );
- o - transform : translateZ ( 0 );
transform : translateZ ( 0 );
- webkit - transform - style : preserve - 3 d ;
- moz - transform - style : preserve - 3 d ;
- ms - transform - style : preserve - 3 d ;
- o - transform - style : preserve - 3 d ;
transform - style : preserve - 3 d ;
- webkit - transition - delay : 0.1 s ;
- moz - transition - delay : 0.1 s ;
transition - delay : 0.1 s ;
- webkit - transition - duration : 0.2 s ;
- moz - transition - duration : 0.2 s ;
transition - duration : 0.2 s ;
- webkit - transition - property : - webkit - transform ;
- moz - transition - property : - moz - transform ;
transition - property : transform ;
- webkit - transition - timing - function : cubic - bezier ( 0.4 , 0 , 0.2 , 1 );
- moz - transition - timing - function : cubic - bezier ( 0.4 , 0 , 0.2 , 1 );
transition - timing - function : cubic - bezier ( 0.4 , 0 , 0.2 , 1 );
- webkit - overflow - scrolling : touch ;
overflow - x : hidden ;
overflow - y : auto ;
}
2015-03-24 22:24:15 +01:00
. side - nav - vert {
margin - left : 184 px ;
}
2015-03-22 18:09:22 +01:00
div . fiche {
2015-03-24 22:24:15 +01:00
margin -< ? php print $left ; ?> : <?php print (GETPOST("optioncss") == 'print'?6:((empty($conf->global->MAIN_MENU_USE_JQUERY_LAYOUT))?($dol_hide_leftmenu?'4':'12'):'24')); ?>px;
2015-03-22 18:09:22 +01:00
margin -< ? php print $right ; ?> : <?php print (GETPOST("optioncss") == 'print'?8:(empty($conf->dol_optimize_smallscreen)?'12':'4')); ?>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 . fichethirdleft {
< ? php if ( $conf -> browser -> layout != 'phone' ) { print " float: " . $left . " ; \n " ; } ?>
< ? php if ( $conf -> browser -> layout != 'phone' ) { print " width: 35%; \n " ; } ?>
< ? php if ( $conf -> browser -> layout == 'phone' ) { print " padding-bottom: 6px; \n " ; } ?>
}
div . fichetwothirdright {
< ? php if ( $conf -> browser -> layout != 'phone' ) { print " float: " . $right . " ; \n " ; } ?>
< ? php if ( $conf -> browser -> layout != 'phone' ) { print " width: 65%; \n " ; } ?>
< ? php if ( $conf -> browser -> layout == 'phone' ) { print " padding-bottom: 6px \n " ; } ?>
}
div . fichehalfleft {
< ? php if ( $conf -> browser -> layout != 'phone' ) { print " float: " . $left . " ; \n " ; } ?>
< ? php if ( $conf -> browser -> layout != 'phone' ) { print " width: 50%; \n " ; } ?>
}
div . fichehalfright {
< ? php if ( $conf -> browser -> layout != 'phone' ) { print " float: " . $right . " ; \n " ; } ?>
< ? php if ( $conf -> browser -> layout != 'phone' ) { print " width: 50%; \n " ; } ?>
}
div . ficheaddleft {
< ? php if ( $conf -> browser -> layout != 'phone' ) { print " padding- " . $left . " : 16px; \n " ; }
else print " margin-top: 10px; \n " ; ?>
}
. containercenter {
display : table ;
margin : 0 px auto ;
}
2015-05-03 21:15:08 +02:00
#pictotitle {
margin - right : 8 px ;
margin - bottom : 4 px ;
}
2015-03-22 18:09:22 +01:00
/* ============================================================================== */
/* Menu top et 1ere ligne tableau */
/* ============================================================================== */
< ? php
$minwidthtmenu = 66 ;
$heightmenu = 48 ; /* height of top menu, part with image */
$heightmenu2 = 48 ; /* height of top menu, ârt with login */
?>
div #tmenu_tooltip {
< ? php if ( GETPOST ( " optioncss " ) == 'print' ) { ?>
display : none ;
< ? php } else { ?>
2015-03-24 22:24:15 +01:00
/* padding-<?php echo $right; ?>: 100px; */
2015-03-22 18:09:22 +01:00
background : < ? php echo $colorbackvmenu ; ?> ;
/*box-shadow: 0 0 6px rgba(0, 0, 0, .4) !important;*/
background - image : linear - gradient ( top , rgba ( 255 , 255 , 255 , . 3 ) 0 % , rgba ( 128 , 128 , 128 , . 3 ) 100 % );
background - image : - o - linear - gradient ( top , rgba ( 255 , 255 , 255 , . 3 ) 0 % , rgba ( 128 , 128 , 128 , . 3 ) 100 % );
background - image : - moz - linear - gradient ( top , rgba ( 255 , 255 , 255 , . 3 ) 0 % , rgba ( 128 , 128 , 128 , . 3 ) 100 % );
background - image : - webkit - linear - gradient ( top , rgba ( 255 , 255 , 255 , . 3 ) 0 % , rgba ( 128 , 128 , 128 , . 3 ) 100 % );
background - image : - ms - linear - gradient ( top , rgba ( 255 , 255 , 255 , . 3 ) 0 % , rgba ( 128 , 128 , 128 , . 3 ) 100 % );
background - image : - webkit - gradient ( linear , left top , left bottom , color - stop ( 0 , rgba ( 255 , 255 , 255 , . 3 )), color - stop ( 1 , rgba ( 128 , 128 , 128 , . 3 )) );
< ? php } ?>
}
div . tmenudiv {
< ? php if ( GETPOST ( " optioncss " ) == 'print' ) { ?>
display : none ;
< ? php } else { ?>
position : relative ;
display : block ;
white - space : nowrap ;
border - top : 0 px ;
border -< ? php print $left ; ?> : 0px;
border -< ? php print $right ; ?> : 0px;
padding : 0 px 0 px 0 px 0 px ; /* t r b l */
margin : 0 px 0 px 0 px 0 px ; /* t r b l */
font - size : 13 px ;
font - weight : normal ;
color : #000000;
text - decoration : none ;
< ? php } ?>
}
div . tmenudisabled , a . tmenudisabled {
opacity : 0.6 ;
}
a . tmenudisabled : link , a . tmenudisabled : visited , a . tmenudisabled : hover , a . tmenudisabled : active {
font - weight : normal ;
padding : 0 px 5 px 0 px 5 px ;
white - space : nowrap ;
color : #<?php echo $colortextbackhmenu; ?>;
text - decoration : none ;
cursor : not - allowed ;
}
a . tmenu : link , a . tmenu : visited , a . tmenu : hover , a . tmenu : active {
font - weight : normal ;
padding : 0 px 5 px 0 px 5 px ;
white - space : nowrap ;
/* text-shadow: 1px 1px 1px #000000; */
color : #<?php echo $colortextbackhmenu; ?>;
text - decoration : none ;
}
a . tmenusel : link , a . tmenusel : visited , a . tmenusel : hover , a . tmenusel : active {
font - weight : normal ;
padding : 0 px 5 px 0 px 5 px ;
margin : 0 px 0 px 0 px 0 px ;
white - space : nowrap ;
color : #<?php echo $colortextbackhmenu; ?>;
text - decoration : none ! important ;
}
ul . tmenu { /* t r b l */
padding : 0 px 0 px 0 px 0 px ;
margin : 0 px 0 px 0 px 0 px ;
list - style : none ;
/* box-shadow: 0 0 6px rgba(0, 0, 0, .4) !important; */
}
ul . tmenu li {
background : rgb ( < ? php echo $colorbackhmenu1 ?> );
background - image : linear - gradient ( top , rgba ( 255 , 255 , 255 , . 3 ) 0 % , rgba ( 0 , 0 , 0 , . 3 ) 100 % );
background - image : - o - linear - gradient ( top , rgba ( 255 , 255 , 255 , . 3 ) 0 % , rgba ( 0 , 0 , 0 , . 3 ) 100 % );
background - image : - moz - linear - gradient ( top , rgba ( 255 , 255 , 255 , . 3 ) 0 % , rgba ( 0 , 0 , 0 , . 3 ) 100 % );
background - image : - webkit - linear - gradient ( top , rgba ( 255 , 255 , 255 , . 3 ) 0 % , rgba ( 0 , 0 , 0 , . 3 ) 100 % );
background - image : - ms - linear - gradient ( top , rgba ( 255 , 255 , 255 , . 3 ) 0 % , rgba ( 0 , 0 , 0 , . 3 ) 100 % );
background - image : - webkit - gradient ( linear , left top , left bottom , color - stop ( 0 , rgba ( 255 , 255 , 255 , . 3 )), color - stop ( 1 , rgba ( 0 , 0 , 0 , . 3 )) );
}
li . tmenu , li . tmenusel {
< ? php print $minwidthtmenu ? 'min-width: ' . $minwidthtmenu . 'px;' : '' ; ?>
text - align : center ;
vertical - align : bottom ;
< ? php if ( empty ( $conf -> global -> MAIN_MENU_INVERT )) { ?>
float : < ? php print $left ; ?> ;
height : < ? php print $heightmenu ; ?> px;
< ? php } ?>
position : relative ;
display : block ;
padding : 0 px 0 px 2 px 0 px ;
margin : 0 px 0 px 0 px 0 px ;
font - weight : normal ;
}
li . tmenusel , li . tmenu : hover {
background - image : - o - linear - gradient ( bottom , rgba ( 250 , 250 , 250 , 0.3 ) 0 % , rgba ( 0 , 0 , 0 , 0.3 ) 100 % ) ! important ;
background - image : - moz - linear - gradient ( bottom , rgba ( 250 , 250 , 250 , 0.3 ) 0 % , rgba ( 0 , 0 , 0 , 0.3 ) 100 % ) ! important ;
background - image : - webkit - linear - gradient ( bottom , rgba ( 0 , 0 , 0 , 0.3 ) 0 % , rgba ( 250 , 250 , 250 , 0 ) 100 % ) ! important ;
background - image : - ms - linear - gradient ( bottom , rgba ( 250 , 250 , 250 , 0.3 ) 0 % , rgba ( 0 , 0 , 0 , 0.3 ) 100 % ) ! important ;
background - image : linear - gradient ( bottom , rgba ( 250 , 250 , 250 , 0.3 ) 0 % , rgba ( 0 , 0 , 0 , 0.3 ) 100 % ) ! important ;
background : rgb ( < ? php echo $colorbackhmenu1 ?> );
/* background: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/nav-overlay3.png',1); ?>) 50% 0 repeat-x !important; Nicer but problem when menu wrap on 2 lines */
}
. tmenuend . tmenuleft { width : 0 px ; }
div . tmenuleft
{
float : < ? php print $left ; ?> ;
margin - top : 0 px ;
< ? php if ( empty ( $conf -> dol_optimize_smallscreen )) { ?>
width : 5 px ;
height : < ? php print $heightmenu + 4 ; ?> px;
2015-03-22 18:39:05 +01:00
/* background: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/menutab-r.png',1); ?>) 0 -6px no-repeat; */
2015-03-22 18:09:22 +01:00
< ? php } ?>
}
div . tmenucenter
{
padding - top : 2 px ;
padding - left : 0 px ;
padding - right : 0 px ;
height : < ? php print $heightmenu ; ?> px;
width : 100 % ;
}
. mainmenuaspan
{
padding - right : 4 px ;
}
div . mainmenu {
position : relative ;
background - repeat : no - repeat ;
background - position : center top ;
height : < ? php echo ( $heightmenu - 19 ); ?> px;
margin - left : 0 px ;
min - width : 40 px ;
}
/* Do not load menu img if hidden to save bandwidth */
< ? php if ( empty ( $dol_hide_topmenu )) { ?>
div . mainmenu . home {
background - image : url ( < ? php echo dol_buildpath ( $path . '/theme/' . $theme . '/img/menus/home.png' , 1 ) ?> );
background - position - x : middle ;
}
div . mainmenu . accountancy {
background - image : url ( < ? php echo dol_buildpath ( $path . '/theme/' . $theme . '/img/menus/money.png' , 1 ) ?> );
}
div . mainmenu . agenda {
background - image : url ( < ? php echo dol_buildpath ( $path . '/theme/' . $theme . '/img/menus/agenda.png' , 1 ) ?> );
}
div . mainmenu . bank {
background - image : url ( < ? php echo dol_buildpath ( $path . '/theme/' . $theme . '/img/menus/bank.png' , 1 ) ?> );
}
div . mainmenu . cashdesk {
background - image : url ( < ? php echo dol_buildpath ( $path . '/theme/' . $theme . '/img/menus/pointofsale.png' , 1 ) ?> );
}
div . mainmenu . companies {
background - image : url ( < ? php echo dol_buildpath ( $path . '/theme/' . $theme . '/img/menus/company.png' , 1 ) ?> );
}
div . mainmenu . commercial {
background - image : url ( < ? php echo dol_buildpath ( $path . '/theme/' . $theme . '/img/menus/commercial.png' , 1 ) ?> );
}
div . mainmenu . ecm {
background - image : url ( < ? php echo dol_buildpath ( $path . '/theme/' . $theme . '/img/menus/ecm.png' , 1 ) ?> );
}
div . mainmenu . externalsite {
background - image : url ( < ? php echo dol_buildpath ( $path . '/theme/' . $theme . '/img/menus/externalsite.png' , 1 ) ?> );
}
div . mainmenu . ftp {
background - image : url ( < ? php echo dol_buildpath ( $path . '/theme/' . $theme . '/img/menus/tools.png' , 1 ) ?> );
}
div . mainmenu . hrm {
background - image : url ( < ? php echo dol_buildpath ( $path . '/theme/' . $theme . '/img/menus/holiday.png' , 1 ) ?> );
}
div . mainmenu . members {
background - image : url ( < ? php echo dol_buildpath ( $path . '/theme/' . $theme . '/img/menus/members.png' , 1 ) ?> );
}
div . mainmenu . products {
background - image : url ( < ? php echo dol_buildpath ( $path . '/theme/' . $theme . '/img/menus/products.png' , 1 ) ?> );
margin - left : 10 px ;
}
div . mainmenu . project {
background - image : url ( < ? php echo dol_buildpath ( $path . '/theme/' . $theme . '/img/menus/project.png' , 1 ) ?> );
}
div . mainmenu . tools {
background - image : url ( < ? php echo dol_buildpath ( $path . '/theme/' . $theme . '/img/menus/tools.png' , 1 ) ?> );
}
< ? 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' ;
foreach ( $conf -> modules as $val )
{
$mainmenuused .= ',' . ( isset ( $moduletomainmenu [ $val ]) ? $moduletomainmenu [ $val ] : $val );
}
//var_dump($mainmenuused);
$mainmenuusedarray = array_unique ( explode ( ',' , $mainmenuused ));
$generic = 1 ;
$divalreadydefined = array ( 'home' , 'companies' , 'products' , 'commercial' , 'accountancy' , 'project' , 'tools' , 'members' , 'agenda' , 'holiday' , 'bookmark' , 'cashdesk' , 'ecm' , 'geoipmaxmind' , 'gravatar' , 'clicktodial' , 'paypal' , 'webservices' );
foreach ( $mainmenuusedarray as $val )
{
if ( empty ( $val ) || in_array ( $val , $divalreadydefined )) continue ;
//print "XXX".$val;
// Search img file in module dir
$found = 0 ; $url = '' ;
foreach ( $conf -> file -> dol_document_root as $dirroot )
{
if ( file_exists ( $dirroot . " / " . $val . " /img/ " . $val . " .png " ))
{
$url = dol_buildpath ( '/' . $val . '/img/' . $val . '.png' , 1 );
$found = 1 ;
break ;
}
}
// Img file not found
if ( ! $found )
{
$url = dol_buildpath ( $path . '/theme/' . $theme . '/img/menus/generic' . $generic . " .png " , 1 );
$found = 1 ;
if ( $generic < 4 ) $generic ++ ;
print " /* A mainmenu entry but img file " . $val . " .png not found (check / " . $val . " /img/ " . $val . " .png), so we use a generic one */ \n " ;
}
if ( $found )
{
print " div.mainmenu. " . $val . " { \n " ;
print " background-image: url( " . $url . " ); \n " ;
print " } \n " ;
}
}
// End of part to add more div class css
?>
< ? php
} // End test if $dol_hide_topmenu
?>
. tmenuimage {
padding : 0 0 0 0 ! important ;
margin : 0 0 px 0 0 ! important ;
}
/* Login */
. bodylogin
{
background : #f0f0f0;
}
. login_vertical_align {
padding : 10 px ;
}
form #login {
margin - top : < ? php echo $dol_optimize_smallscreen ? '30' : '60' ?> px;
margin - bottom : 30 px ;
font - size : 13 px ;
vertical - align : middle ;
}
. login_table_title {
max - width : 530 px ;
color : #888888;
text - shadow : 1 px 1 px 1 px #FFF;
}
. login_table label {
text - shadow : 1 px 1 px 1 px #FFF;
}
. login_table {
margin - left : 10 px ;
margin - right : 10 px ;
padding - left : 6 px ;
padding - right : 6 px ;
padding - top : 16 px ;
padding - bottom : 12 px ;
max - width : 560 px ;
background - color : #FFFFFF;
- moz - box - shadow : 0 4 px 23 px 5 px rgba ( 0 , 0 , 0 , 0.2 ), 0 2 px 6 px rgba ( 60 , 60 , 60 , 0.15 );
- webkit - box - shadow : 0 4 px 23 px 5 px rgba ( 0 , 0 , 0 , 0.2 ), 0 2 px 6 px rgba ( 60 , 60 , 60 , 0.15 );
box - shadow : 0 4 px 23 px 5 px rgba ( 0 , 0 , 0 , 0.2 ), 0 2 px 6 px rgba ( 60 , 60 , 60 , 0.15 );
/*- moz - box - shadow : 3 px 2 px 20 px #CCC;
- webkit - box - shadow : 3 px 2 px 20 px #CCC;
box - shadow : 3 px 2 px 20 px #CCC;*/
border - radius : 8 px ;
border : solid 1 px rgba ( 80 , 80 , 80 , . 4 );
border - top : solid 1 px f8f8f8 ;
/*
background - color : #f8f8f8;
background - image : - o - linear - gradient ( top , rgba ( 250 , 250 , 250 , . 6 ) 0 % , rgba ( 192 , 192 , 192 , . 3 ) 100 % );
background - image : - moz - linear - gradient ( top , rgba ( 250 , 250 , 250 , . 6 ) 0 % , rgba ( 192 , 192 , 192 , . 3 ) 100 % );
background - image : - webkit - linear - gradient ( top , rgba ( 250 , 250 , 250 , . 6 ) 0 % , rgba ( 192 , 192 , 192 , . 3 ) 100 % );
background - image : - ms - linear - gradient ( top , rgba ( 250 , 250 , 250 , . 6 ) 0 % , rgba ( 192 , 192 , 192 , . 3 ) 100 % );
background - image : linear - gradient ( top , rgba ( 250 , 250 , 250 , . 6 ) 0 % , rgba ( 192 , 192 , 192 , . 3 ) 100 % );
*/
}
div #login_left, div#login_right {
display : inline - block ;
min - width : 245 px ;
padding - top : 10 px ;
padding - left : 16 px ;
padding - right : 16 px ;
text - align : center ;
vertical - align : middle ;
}
table . login_table tr td table . none tr td {
padding : 2 px ;
}
table . login_table_securitycode {
border - spacing : 0 px ;
}
table . login_table_securitycode tr td {
padding - left : 0 px ;
padding - right : 4 px ;
}
#securitycode {
min - width : 60 px ;
}
#img_securitycode {
border : 1 px solid #DDDDDD;
}
#img_logo {
max - width : 200 px ;
max - height : 100 px ;
}
div . login_block {
2015-03-24 22:24:15 +01:00
padding - top : 8 px ;
2015-03-22 18:09:22 +01:00
position : absolute ;
2015-03-24 22:24:15 +01:00
< ? php print $left ; ?> : 5px;
left : 0 ;
top : 0 px ;
position : fixed ;
2015-03-22 18:09:22 +01:00
font - weight : bold ;
2015-03-24 22:24:15 +01:00
z - index : 10 ;
text - align : center ;
vertical - align : middle ;
background : #FFF;
width : 183 px ;
height : 42 px ;
2015-03-22 18:09:22 +01:00
< ? php if ( GETPOST ( " optioncss " ) == 'print' ) { ?>
display : none ;
< ? php } ?>
}
div . login_block table {
display : inline ;
}
div . login {
white - space : nowrap ;
font - weight : bold ;
float : right ;
}
div . login a {
color : #<?php echo $colortextbackvmenu; ?>;
}
div . login a : hover {
color : #<?php echo $colortextbackvmenu; ?>;
text - decoration : underline ;
}
div . login_block_user , div . login_block_other { clear : both ; }
div . login_block_other { padding - top : 3 px ; }
. login_block_elem {
float : right ;
vertical - align : top ;
padding : 0 px 0 px 0 px 4 px ! important ;
height : 16 px ;
}
. alogin , . alogin : hover {
color : #888 !important;
font - weight : normal ! important ;
font - size : < ? php echo $fontsizesmaller ; ?> px !important;
}
. alogin : hover {
text - decoration : underline ! important ;
}
img . login , img . printer , img . entity {
/* padding: 0px 0px 0px 4px; */
/* margin: 0px 0px 0px 8px; */
text - decoration : none ;
color : white ;
font - weight : bold ;
}
. span - icon - user {
background : url ( < ? php echo dol_buildpath ( $path . '/theme/' . $theme . '/img/object_user.png' , 1 ); ?> ) no-repeat scroll 7px 7px;
}
. span - icon - password {
background - image : url ( < ? php echo dol_buildpath ( $path . '/theme/' . $theme . '/img/lock.png' , 1 ); ?> );
background - repeat : no - repeat ;
}
/*
. span - icon - user input , . span - icon - password input {
margin - right : 30 px ;
}
*/
/* ============================================================================== */
/* Menu gauche */
/* ============================================================================== */
div . vmenu , td . vmenu {
margin -< ? php print $right ; ?> : 2px;
position : relative ;
float : left ;
padding : 0 px ;
padding - bottom : 0 px ;
2015-03-24 22:24:15 +01:00
padding - top : 0 px ;
2015-03-22 18:09:22 +01:00
width : 174 px ;
}
. vmenu {
margin - left : 4 px ;
< ? php if ( GETPOST ( " optioncss " ) == 'print' ) { ?>
display : none ;
< ? php } ?>
}
. menu_contenu { padding - top : 4 px ; padding - bottom : 3 px ;}
2015-05-03 21:15:08 +02:00
#menu_contenu_logo { padding-right: 4px; }
2015-03-22 18:09:22 +01:00
a . vmenu : link , a . vmenu : visited , a . vmenu : hover , a . vmenu : active { font - size :< ? php print $fontsize ?> px; font-family: <?php print $fontlist ?>; text-align: <?php print $left; ?>; font-weight: bold; }
font . vmenudisabled { font - size :< ? php print $fontsize ?> px; font-family: <?php print $fontlist ?>; text-align: <?php print $left; ?>; font-weight: bold; color: #93a5aa; }
a . vmenu : link , a . vmenu : visited { color : #<?php echo $colortextbackvmenu; ?>; }
a . vsmenu : link , a . vsmenu : visited , a . vsmenu : hover , a . vsmenu : active { font - size :< ? php print $fontsize ?> px; font-family: <?php print $fontlist ?>; text-align: <?php print $left; ?>; font-weight: normal; color: #202020; margin: 1px 1px 1px 8px; }
font . vsmenudisabled { font - size :< ? php print $fontsize ?> px; font-family: <?php print $fontlist ?>; text-align: <?php print $left; ?>; font-weight: normal; color: #93a5aa; }
a . vsmenu : link , a . vsmenu : visited { color : #<?php echo $colortextbackvmenu; ?>; }
font . vsmenudisabledmargin { margin : 1 px 1 px 1 px 8 px ; }
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; }
div . blockvmenupair , div . blockvmenuimpair , div . blockvmenubookmarks
{
font - family : < ? php print $fontlist ?> ;
color : #000000;
text - align : < ? php print $left ; ?> ;
text - decoration : none ;
padding - left : 5 px ;
padding - right : 1 px ;
padding - top : 3 px ;
padding - bottom : 3 px ;
margin : 1 px 0 px 8 px 0 px ;
padding - bottom : 10 px ;
border - bottom : 1 px solid #DDD;
}
div . blockvmenusearch
{
font - family : < ? php print $fontlist ?> ;
color : #000000;
text - align : < ? php print $left ; ?> ;
text - decoration : none ;
padding - left : 5 px ;
padding - right : 1 px ;
padding - top : 3 px ;
padding - bottom : 3 px ;
margin : 1 px 0 px 8 px 0 px ;
padding - bottom : 10 px ;
border - bottom : 1 px solid #DDD;
}
div . blockvmenuhelp
{
< ? php if ( empty ( $conf -> dol_optimize_smallscreen )) { ?>
font - family : < ? php print $fontlist ?> ;
color : #000000;
text - align : center ;
text - decoration : none ;
padding - left : 0 px ;
padding - right : 3 px ;
padding - top : 3 px ;
padding - bottom : 3 px ;
margin : 4 px 0 px 0 px 0 px ;
< ? php } else { ?>
display : none ;
< ? php } ?>
}
td . barre {
border - right : 1 px solid #000000;
border - bottom : 1 px solid #000000;
background : #b3c5cc;
font - family : < ? php print $fontlist ?> ;
color : #000000;
text - align : < ? php print $left ; ?> ;
text - decoration : none ;
}
td . barre_select {
background : #b3c5cc;
color : #000000;
}
td . photo {
background : #F4F4F4;
color : #000000;
border : 1 px solid #b3c5cc;
}
/* ============================================================================== */
/* Panes for Main */
/* ============================================================================== */
/*
* PANES and CONTENT - DIVs
*/
#mainContent, #leftContent .ui-layout-pane {
padding : 0 px ;
overflow : auto ;
}
#mainContent, #leftContent .ui-layout-center {
padding : 0 px ;
position : relative ; /* contain floated or positioned elements */
overflow : auto ; /* add scrolling to content-div */
}
/* ============================================================================== */
/* Toolbar for ECM or Filemanager */
/* ============================================================================== */
. largebutton {
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 21:15:08 +02:00
2015-03-22 18:09:22 +01:00
background : #FFF;
background - repeat : repeat - x ! important ;
border : 1 px solid #CCC !important;
- moz - border - radius : 5 px 5 px 5 px 5 px ! important ;
- webkit - border - radius : 5 px 5 px 5 px 5 px ! important ;
border - radius : 5 px 5 px 5 px 5 px ! important ;
- 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;
padding : 0 4 px 0 4 px ! important ;
min - height : 32 px ;
}
a . toolbarbutton {
margin - top : 0 px ;
margin - left : 4 px ;
margin - right : 4 px ;
height : 30 px ;
}
img . toolbarbutton {
margin - top : 1 px ;
height : 30 px ;
}
/* ============================================================================== */
/* Panes for ECM or Filemanager */
/* ============================================================================== */
#containerlayout .layout-with-no-border {
border : 0 ! important ;
border - width : 0 ! important ;
}
#containerlayout .layout-padding {
padding : 2 px ! important ;
}
/*
* PANES and CONTENT - DIVs
*/
#containerlayout .ui-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 .ui-layout-content {
padding : 10 px ;
position : relative ; /* contain floated or positioned elements */
overflow : auto ; /* add scrolling to content-div */
}
/*
* RESIZER - BARS
*/
. ui - layout - resizer { /* all 'resizer-bars' */
width : < ? php echo ( empty ( $conf -> dol_optimize_smallscreen ) ? '8' : '24' ); ?> px !important;
}
. ui - layout - resizer - hover { /* affects both open and closed states */
}
/* NOTE : It looks best when 'hover' and 'dragging' are set to the same color ,
otherwise color shifts while dragging when bar can ' t keep up with mouse */
/*.ui-layout-resizer-open-hover ,*/ /* hover-color to 'resize' */
. ui - layout - resizer - dragging { /* resizer beging 'dragging' */
background : #DDD;
width : < ? php echo ( empty ( $conf -> dol_optimize_smallscreen ) ? '8' : '24' ); ?> px;
}
. ui - layout - resizer - dragging { /* CLONED resizer being dragged */
border - left : 1 px solid #BBB;
border - right : 1 px solid #BBB;
}
/* NOTE: Add a 'dragging-limit' color to provide visual feedback when resizer hits min/max size limits */
. ui - layout - resizer - dragging - limit { /* CLONED resizer at min or max size-limit */
background : #E1A4A4; /* red */
}
. ui - layout - resizer - closed {
background - color : #DDDDDD;
}
. 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 );
}
. 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 */
/*. ui - layout - resizer - north - sliding - hover { border - bottom - width : 1 px ; }
. ui - layout - resizer - south - sliding - hover { border - top - width : 1 px ; }
. ui - layout - resizer - west - sliding - hover { border - right - width : 1 px ; }
. ui - layout - resizer - east - sliding - hover { border - left - width : 1 px ; }
*/
/*
* TOGGLER - BUTTONS
*/
. ui - layout - toggler {
< ? php if ( empty ( $conf -> dol_optimize_smallscreen )) { ?>
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 ;
< ? php } else { ?>
diplay : none ;
< ? php } ?>
}
. ui - layout - toggler - open {
height : 54 px ! important ;
width : < ? php echo ( empty ( $conf -> dol_optimize_smallscreen ) ? '7' : '22' ); ?> px !important;
- moz - border - radius : 0 px 10 px 10 px 0 px ;
- webkit - border - radius : 0 px 10 px 10 px 0 px ;
border - radius : 0 px 10 px 10 px 0 px ;
}
. ui - layout - toggler - closed {
height : < ? php echo ( empty ( $conf -> dol_optimize_smallscreen ) ? '54' : '2' ); ?> px !important;
width : < ? php echo ( empty ( $conf -> dol_optimize_smallscreen ) ? '7' : '22' ); ?> px !important;
- moz - border - radius : 0 px 10 px 10 px 0 px ;
- webkit - border - radius : 0 px 10 px 10 px 0 px ;
border - radius : 0 px 10 px 10 px 0 px ;
}
. ui - layout - toggler . content { /* style the text we put INSIDE the togglers */
color : #666;
font - size : 12 px ;
font - weight : bold ;
width : 100 % ;
padding - bottom : 0.35 ex ; /* to 'vertically center' text inside text-span */
}
/* hide the toggler-button when the pane is 'slid open' */
. ui - layout - resizer - sliding ui - layout - toggler {
display : none ;
}
. ui - layout - north {
height : < ? php print ( empty ( $conf -> dol_optimize_smallscreen ) ? '54' : '21' ); ?> px !important;
}
/* 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 {
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;
}
. ecm - layout - toggler - open {
height : 48 px ! important ;
width : 6 px ! important ;
- moz - border - radius : 0 px 10 px 10 px 0 px ;
- webkit - border - radius : 0 px 10 px 10 px 0 px ;
border - radius : 0 px 10 px 10 px 0 px ;
}
. ecm - layout - toggler - closed {
height : 48 px ! important ;
width : 6 px ! important ;
}
. ecm - layout - toggler . content { /* style the text we put INSIDE the togglers */
color : #666;
font - size : 12 px ;
font - weight : bold ;
width : 100 % ;
padding - bottom : 0.35 ex ; /* to 'vertically center' text inside text-span */
}
#ecm-layout-west-resizer {
width : 6 px ! important ;
}
. ecm - layout - resizer { /* all 'resizer-bars' */
border : 1 px solid #BBB;
border - width : 0 ;
}
. ecm - layout - resizer - closed {
}
. ecm - in - layout - center {
border - left : 1 px ! important ;
border - right : 0 px ! important ;
border - top : 0 px ! important ;
}
. ecm - in - layout - south {
border - left : 0 px ! important ;
border - right : 0 px ! important ;
border - bottom : 0 px ! important ;
padding : 4 px 0 4 px 4 px ! important ;
}
/* ============================================================================== */
/* Onglets */
/* ============================================================================== */
div . tabs {
/* margin : 0 px 0 px 2 px 6 px ;
padding : 0 px 6 px 3 px 0 px ; */
text - align : < ? php print $left ; ?> ;
margin - left : 6 px ! important ;
margin - right : 6 px ! important ;
clear : both ;
height : 100 % ;
}
div . tabsElem { margin - top : 8 px ; } /* To avoid overlap of tabs when not browser */
div . tabBar {
color : #<?php echo $colortextbacktab; ?>;
padding - top : 9 px ;
padding - left : < ? php echo ( $dol_optimize_smallscreen ? '4' : '8' ); ?> px;
padding - right : < ? php echo ( $dol_optimize_smallscreen ? '4' : '8' ); ?> px;
padding - bottom : 8 px ;
margin : 0 px 0 px 14 px 0 px ;
- moz - border - radius : 6 px ;
- webkit - border - radius : 6 px ;
border - radius : 6 px ;
border - right : 1 px solid #BBB;
border - bottom : 1 px solid #BBB;
border - left : 1 px solid #BBB;
border - top : 1 px solid #CCC;
width : auto ;
2015-05-03 21:15:08 +02:00
2015-03-22 18:09:22 +01:00
background : rgb ( < ? php echo $colorbacktabcard2 ; ?> );
2015-05-03 21:15:08 +02:00
< ? php if ( empty ( $dol_optimize_smallscreen )) { ?>
2015-03-22 18:09:22 +01: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;
2015-05-03 21:15:08 +02:00
< ? php } ?>
2015-03-22 18:09:22 +01:00
}
div . tabsAction {
margin : 20 px 0 em 10 px 0 em ;
padding : 0 em 0 em ;
text - align : right ;
}
a . tabTitle {
/* background : #657090;
color : white ; */
color : rgba ( 0 , 0 , 0 , . 5 );
margin - right : 10 px ;
text - shadow : 1 px 1 px 1 px #ffffff;
font - family : < ? php print $fontlist ?> ;
font - weight : normal ;
padding : 4 px 6 px 2 px 6 px ;
margin : 0 px 6 px ;
text - decoration : none ;
white - space : nowrap ;
}
a . tab : link , a . tab : visited , a . tab : hover , a . tab #active {
font - family : < ? php print $fontlist ?> ;
padding : 5 px 12 px 5 px ;
/* padding: 3px 6px 2px 6px;*/
margin : 0 em 0.2 em ;
text - decoration : none ;
white - space : nowrap ;
2015-03-24 22:24:15 +01:00
/*- moz - border - radius : 6 px 6 px 0 px 0 px ;
2015-03-22 18:09:22 +01:00
- webkit - border - radius : 6 px 6 px 0 px 0 px ;
border - radius : 6 px 6 px 0 px 0 px ;
- 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 );
box - shadow : 0 - 1 px 4 px rgba ( 0 , 0 , 0 , . 1 );
2015-03-24 22:24:15 +01:00
border - bottom : none ;
2015-03-23 14:53:21 +01:00
border - right : 1 px solid #CCCCCC;
border - left : 1 px solid #D0D0D0;
border - top : 1 px solid #D8D8D8;
*/
2015-03-22 18:09:22 +01:00
background - image : none ! important ;
}
2015-03-22 18:39:05 +01:00
. tabactive , a . tab #active {
border - right : 1 px solid #CCCCCC;
border - left : 1 px solid #D0D0D0;
border - top : 1 px solid #D8D8D8;
- moz - border - radius : 6 px 6 px 0 px 0 px ;
- webkit - border - radius : 6 px 6 px 0 px 0 px ;
border - radius : 6 px 6 px 0 px 0 px ;
- 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 );
box - shadow : 0 - 1 px 4 px rgba ( 0 , 0 , 0 , . 1 );
2015-03-22 18:09:22 +01:00
background : rgb ( < ? php echo $colorbacktabcard2 ; ?> ) !important;
color : #<?php echo $colortextbacktab; ?>;
}
a . tab : hover
{
2015-03-22 18:39:05 +01:00
/*
2015-03-22 18:09:22 +01: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;
2015-03-23 14:53:21 +01:00
color : #<?php echo $colortextbacktab; ?>;
*/
2015-03-22 18:39:05 +01:00
text - decoration : underline ;
2015-03-22 18:09:22 +01:00
}
a . tab : link , a . tab : visited
{
/* color: #888; */
/* font-weight: normal !important; */
}
a . tabimage {
color : #434956;
font - family : < ? php print $fontlist ?> ;
text - decoration : none ;
white - space : nowrap ;
}
td . tab {
background : #dee7ec;
}
span . tabspan {
background : #dee7ec;
color : #434956;
font - family : < ? php print $fontlist ?> ;
padding : 0 px 6 px ;
margin : 0 em 0.2 em ;
text - decoration : none ;
white - space : nowrap ;
- moz - border - radius : 6 px 6 px 0 px 0 px ;
- webkit - border - radius : 6 px 6 px 0 px 0 px ;
border - radius : 6 px 6 px 0 px 0 px ;
border -< ? php print $right ; ?> : 1px solid #555555;
border -< ? php print $left ; ?> : 1px solid #D8D8D8;
border - top : 1 px solid #D8D8D8;
}
/* ============================================================================== */
/* Boutons actions */
/* ============================================================================== */
div . divButAction { margin - bottom : 1.4 em ; }
. butAction , . butAction : link , . butAction : visited , . butAction : hover , . butAction : active , . butActionDelete , . butActionDelete : link , . butActionDelete : visited , . butActionDelete : hover , . butActionDelete : active {
text - decoration : none ;
white - space : nowrap ;
padding : 0.4 em < ? php echo ( $dol_optimize_smallscreen ? '0.4' : '0.7' ); ?> em;
margin : 0 em < ? php echo ( $dol_optimize_smallscreen ? '0.7' : '0.9' ); ?> em;
font - family : < ? php print $fontlist ?> ;
font - weight : bold ;
background : white ;
border : 1 px solid #8CACBB;
color : #434956;
- moz - border - radius : 0 px 5 px 0 px 5 px ;
- webkit - border - radius : 0 px 5 px 0 px 5 px ;
border - radius : 0 px 5 px 0 px 5 px ;
- moz - box - shadow : 2 px 2 px 3 px #DDD;
- webkit - box - shadow : 2 px 2 px 3 px #DDD;
box - shadow : 2 px 2 px 3 px #DDD;
}
. butAction : hover {
background : #dee7ec;
}
. butActionDelete , . butActionDelete : link , . butActionDelete : visited , . butActionDelete : hover , . butActionDelete : active {
border : 1 px solid #997777;
}
. butActionDelete : hover {
background : #FFe7ec;
}
. butActionRefused {
text - decoration : none ! important ;
white - space : nowrap ! important ;
cursor : not - allowed ;
padding : 0.4 em < ? php echo ( $dol_optimize_smallscreen ? '0.4' : '0.7' ); ?> em;
margin : 0 em < ? php echo ( $dol_optimize_smallscreen ? '0.7' : '0.9' ); ?> em;
font - family : < ? php print $fontlist ?> !important;
font - weight : bold ! important ;
background : white ! important ;
border : 1 px solid #AAAAAA !important;
color : #AAAAAA !important;
- moz - border - radius : 0 px 5 px 0 px 5 px ;
- webkit - border - radius : 0 px 5 px 0 px 5 px ;
border - radius : 0 px 5 px 0 px 5 px ;
- 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;
}
< ? php if ( ! empty ( $conf -> global -> MAIN_BUTTON_HIDE_UNAUTHORIZED )) { ?>
. butActionRefused {
display : none ;
}
< ? php } ?>
span . butAction , span . butActionDelete {
cursor : pointer ;
}
/* Preapre for bootstrap look
. 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 */
/* ============================================================================== */
/* Tables */
/* ============================================================================== */
. allwidth {
width : 100 % ;
}
#undertopmenu {
background - repeat : repeat - x ;
margin - top : < ? php echo ( $dol_hide_topmenu ? '6' : '0' ); ?> px;
}
. paddingrightonly {
border - collapse : collapse ;
border : 0 px ;
margin - left : 0 px ;
padding -< ? php print $left ; ?> : 0px !important;
padding -< ? php print $right ; ?> : 4px !important;
}
. nocellnopadd {
list - style - type : none ;
margin : 0 px ! important ;
padding : 0 px ! important ;
}
2015-05-03 21:15:08 +02:00
tr . nocellnopadd td . nobordernopadding , tr . nocellnopadd td . nocellnopadd
{
border : 0 px ;
}
2015-03-22 18:09:22 +01:00
. notopnoleft {
border - collapse : collapse ;
border : 0 px ;
padding - top : 0 px ;
padding -< ? php print $left ; ?> : 0px;
padding -< ? php print $right ; ?> : 16px;
padding - bottom : 4 px ;
margin - right : 0 px 0 px ;
}
. notopnoleftnoright {
border - collapse : collapse ;
border : 0 px ;
padding - top : 0 px ;
padding - left : 0 px ;
padding - right : 0 px ;
padding - bottom : 4 px ;
margin : 0 px 0 px 0 px 0 px ;
}
table . border , table . dataTable , . table - border , . table - border - col , . table - key - border - col , . table - val - border - col , div . border {
border : 1 px solid #D0D0D0;
border - collapse : collapse ;
padding : 1 px 2 px 1 px 3 px ; /* t r b l */
}
2015-05-03 21:15:08 +02:00
. border tbody tr , . border tbody tr td {
height : 20 px ;
}
div . tabBar table . border tr {
height : 20 px ;
}
2015-03-22 18:09:22 +01:00
table . border td , div . border div div . tagtd {
padding : 2 px 2 px 2 px 2 px ;
border : 1 px solid #D0D0D0;
border - collapse : collapse ;
}
td . border , div . tagtable div div . border {
border - top : 1 px solid #000000;
border - right : 1 px solid #000000;
border - bottom : 1 px solid #000000;
border - left : 1 px solid #000000;
}
. table - key - border - col {
width : 25 % ;
vertical - align : top ;
}
. table - val - border - col {
width : auto ;
}
/* Main boxes */
table . noborder , table . formdoc , div . noborder {
width : 100 % ;
border - collapse : separate ! important ;
border - spacing : 0 px ;
border - right - width : 1 px ;
2015-03-23 14:53:21 +01:00
border - right - color : #CCC;
2015-03-22 18:09:22 +01:00
border - right - style : solid ;
2015-03-23 14:53:21 +01:00
border - left - width : 1 px ;
border - left - color : #CCC;
border - left - style : solid ;
2015-03-22 18:09:22 +01:00
margin : 0 px 0 px 2 px 0 px ;
2015-03-23 14:53:21 +01:00
- moz - box - shadow : 2 px 2 px 4 px #CCC;
- webkit - box - shadow : 2 px 2 px 4 px #CCC;
box - shadow : 2 px 2 px 4 px #CCC;
2015-03-22 18:09:22 +01:00
- moz - border - radius : 0.2 em ;
- webkit - border - radius : 0.2 em ;
border - radius : 0.2 em ;
}
table . noborder tr , div . noborder form {
border - top - color : #FEFEFE;
border - right - width : 1 px ;
border - right - color : #BBBBBB;
border - right - style : solid ;
border - left - width : 1 px ;
border - left - color : #BBBBBB;
border - left - style : solid ;
2015-03-23 14:53:21 +01:00
height : 26 px ;
2015-03-22 18:09:22 +01:00
}
table . noborder th , table . noborder td , div . noborder form , div . noborder form div {
padding : 1 px 2 px 1 px 3 px ; /* t r b l */
}
table . nobordernopadding {
border - collapse : collapse ! important ;
border : 0 px ;
}
table . nobordernopadding tr {
border : 0 px ! important ;
2015-05-03 21:15:08 +02:00
padding : 0 px 0 px ! important ;
2015-03-22 18:09:22 +01:00
}
2015-05-03 21:15:08 +02:00
table . nobordernopadding tr td {
border : 0 px ;
padding : 0 3 px 0 0 ! important ;
}
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 ;
2015-03-22 18:09:22 +01:00
}
/* For lists */
table . liste {
width : 100 % ;
border - collapse : collapse ;
border - top - color : #FEFEFE;
border - right - width : 1 px ;
2015-03-23 14:53:21 +01:00
border - right - color : #CCC;
2015-03-22 18:09:22 +01:00
border - right - style : solid ;
2015-03-23 14:53:21 +01:00
/*
2015-03-22 18:09:22 +01:00
border - bottom - width : 1 px ;
border - bottom - color : #BBBBBB;
border - bottom - style : solid ;
2015-03-23 14:53:21 +01:00
*/
border - left - width : 1 px ;
border - left - color : #CCC;
border - left - style : solid ;
2015-03-24 22:24:15 +01:00
2015-03-22 18:09:22 +01:00
margin - bottom : 2 px ;
margin - top : 0 px ;
2015-03-23 14:53:21 +01:00
- moz - box - shadow : 0 px 3 px 4 px #CCC;
- webkit - box - shadow : 0 px 3 px 4 px #CC;
box - shadow : 0 px 3 px 4 px #CCC;
2015-03-22 18:09:22 +01:00
}
table . liste td {
padding - right : 2 px ;
}
. 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 ; }
/* 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;
}
*/
. impair : hover , td . nohover {
2015-05-03 21:15:08 +02:00
< ? php if ( $colorbacklineimpairhover ) { if ( $colorbacklinepairhover > 0 ) { ?>
2015-03-22 18:09:22 +01:00
background : rgb ( < ? php echo $colorbacklineimpairhover ; ?> );
< ? php } else { ?>
2015-05-03 21:15:08 +02:00
background : rgba ( 0 , 0 , 0 , 0.05 ) ! important ;
2015-03-22 18:09:22 +01:00
< ? php } } ?>
}
2015-05-03 21:15:08 +02:00
. odd , . impair , . nohover . odd : hover , . nohover . impair : hover , tr . odd td . nohover , tr . impair td . nohover {
2015-03-22 18:09:22 +01:00
font - family : < ? php print $fontlist ?> ;
border : 0 px ;
margin - bottom : 1 px ;
color : #202020;
min - height : 18 px ; /* seems to not be used */
2015-05-03 21:15:08 +02:00
background : #ffffff;
2015-03-22 18:09:22 +01:00
}
2015-05-03 21:15:08 +02:00
. even , . pair , . nohover . even : hover , . nohover . pair : hover , tr . even td . nohover , tr . pair td . nohover {
2015-03-22 18:09:22 +01:00
font - family : < ? php print $fontlist ?> ;
border : 0 px ;
margin - bottom : 1 px ;
color : #202020;
2015-05-03 21:15:08 +02:00
2015-03-23 14:53:21 +01:00
background - color : #f9f9f9;
}
2015-05-03 21:15:08 +02:00
table . dataTable tr . odd {
background - color : #f9f9f9 !important;
}
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 14:53:21 +01:00
border - bottom : 1 px solid #ddd;
2015-03-22 18:09:22 +01:00
}
2015-05-03 21:15:08 +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 {
border - bottom : 0 px ! important ;
}
td . nobottom , td . nobottom {
border - bottom : 0 px ! important ;
}
2015-03-22 21:18:25 +01:00
div . liste_titre . tagtd {
vertical - align : middle ;
}
div . liste_titre {
2015-03-22 22:25:26 +01: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 doe not work either for div */
2015-03-22 21:18:25 +01:00
}
2015-03-22 18:09:22 +01:00
tr . liste_titre , tr . liste_titre_sel , form . liste_titre , form . liste_titre_sel , table . dataTable . tr
{
height : 26 px ! important ;
}
div . liste_titre , tr . liste_titre , tr . liste_titre_sel , form . liste_titre , form . liste_titre_sel , table . dataTable thead tr
{
background : rgb ( < ? php echo $colorbacktitle1 ; ?> );
background - repeat : repeat - x ;
2015-05-03 21:15:08 +02:00
background - image : - o - linear - gradient ( bottom , rgba ( 0 , 0 , 0 , 0.3 ) 0 % , rgba ( 250 , 250 , 250 , 0.3 ) 100 % );
2015-03-22 18:09:22 +01:00
background - image : - moz - linear - gradient ( bottom , rgba ( 0 , 0 , 0 , 0.3 ) 0 % , rgba ( 250 , 250 , 250 , 0.3 ) 100 % );
background - image : - webkit - linear - gradient ( bottom , rgba ( 0 , 0 , 0 , 0.3 ) 0 % , rgba ( 250 , 250 , 250 , 0.3 ) 100 % );
background - image : - ms - linear - gradient ( bottom , rgba ( 0 , 0 , 0 , 0.3 ) 0 % , rgba ( 250 , 250 , 250 , 0.3 ) 100 % );
background - image : linear - gradient ( bottom , rgba ( 0 , 0 , 0 , 0.3 ) 0 % , rgba ( 250 , 250 , 250 , 0.3 ) 100 % );
font - weight : bold ;
2015-05-03 21:15:08 +02:00
2015-03-22 18:09:22 +01:00
color : #<?php echo $colortexttitle; ?>;
font - family : < ? php print $fontlist ?> ;
border - bottom : 1 px solid #FDFFFF;
text - align : < ? php echo $left ; ?> ;
}
2015-05-03 21:15:08 +02:00
tr . liste_titre th , th . liste_titre , form . liste_titre div , div . liste_titre
{
border - bottom : 1 px solid #FDFFFF;
}
2015-03-22 18:09:22 +01:00
tr . liste_titre th , th . liste_titre , tr . liste_titre td , td . liste_titre , form . liste_titre div , div . liste_titre
{
font - family : < ? php print $fontlist ?> ;
font - weight : bold ;
text - shadow : 1 px 0 px 1 px #<?php echo $colorshadowtitle; ?>;
vertical - align : middle ;
}
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 ;
}
. liste_titre td a {
text - shadow : none ! important ;
color : #<?php echo $colortexttitle; ?>;
}
div . liste_titre {
padding - left : 3 px ;
}
tr . liste_titre_sel th , th . liste_titre_sel , tr . liste_titre_sel td , td . liste_titre_sel , form . liste_titre_sel div
{
font - family : < ? php print $fontlist ?> ;
font - weight : normal ;
border - bottom : 1 px solid #FDFFFF;
text - decoration : underline ;
text - shadow : 1 px 0 px 1 px #<?php echo $colorshadowtitle; ?>;
}
input . liste_titre {
background : transparent ;
border : 0 px ;
}
. noborder tr . liste_total , . noborder tr . liste_total td , tr . liste_total , form . liste_total {
background : #F0F0F0;
}
. noborder tr . liste_total td , tr . liste_total td , form . liste_total div {
border - top : 1 px solid #DDDDDD;
color : #332266;
font - weight : normal ;
white - space : nowrap ;
2015-03-23 14:53:21 +01:00
padding : 4 px ;
2015-03-22 18:09:22 +01:00
}
. tableforservicepart1 . impair , . tableforservicepart1 . pair , . tableforservicepart2 . impair , . tableforservicepart2 . pair {
2015-05-03 21:15:08 +02:00
//background: none;
background : #FFF;
}
. tableforservicepart1 tbody tr td , . tableforservicepart2 tbody tr td {
border - bottom : none ;
2015-03-22 18:09:22 +01:00
}
. margintable td {
border : 0 px ! important ;
}
/* Disable shadows */
. noshadow {
- 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;
}
div . tabBar . noborder {
- 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;
}
/*
* Boxes
*/
. boxstats {
< ? php print " float: " . $left . " ; \n " ; ?>
margin : 3 px ;
padding : 3 px ;
/*- 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;
margin - bottom : 8 px ! important ; */
border : 1 px solid #AAA;
text - align : center ;
border - radius : 5 px ;
}
. boxtable {
- 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;
margin - bottom : 8 px ! important ;
}
. box {
padding - right : 0 px ;
padding - left : 0 px ;
padding - bottom : 4 px ;
}
tr . box_titre {
height : 26 px ! important ;
background : rgb ( < ? php echo $colorbacktitle1 ; ?> );
background - repeat : repeat - x ;
color : #<?php echo $colortexttitle; ?>;
text - shadow : 1 px 0 px 1 px #<?php echo $colorshadowtitle; ?>;
font - family : < ? php print $fontlist ?> , sans-serif;
font - weight : bold ;
border - bottom : 1 px solid #FDFFFF;
white - space : nowrap ;
}
tr . box_titre td . boxclose {
width : 30 px ;
}
tr . box_impair {
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%);
font - family : < ? php print $fontlist ?> ;
}
tr . box_pair {
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%);
background : linear - gradient ( bottom , rgb ( < ? php echo $colorbacklinepair1 ; ?> ) 85%, rgb(<?php echo $colorbacklinepair2; ?>) 100%);
2015-05-03 21:15:08 +02:00
2015-03-22 18:09:22 +01:00
font - family : < ? php print $fontlist ?> ;
2015-03-23 14:53:21 +01:00
background - color : #f9f9f9;
}
tr . box_pair td , tr . box_impair td {
padding : 4 px ;
border - bottom : 1 px solid #ddd;
2015-03-22 18:09:22 +01:00
}
. formboxfilter {
vertical - align : middle ;
margin - bottom : 6 px ;
}
. formboxfilter input [ type = image ]
{
top : 5 px ;
position : relative ;
}
/*
* Ok , Warning , Error
*/
. ok { color : #114466; }
. warning { color : #887711; }
. error { color : #550000 !important; font-weight: bold; }
div . ok {
color : #114466;
}
div . warning {
color : #302020;
padding : 0.3 em 0.3 em 0.3 em 0.3 em ;
margin : 0.5 em 0 em 0.5 em 0 em ;
border : 1 px solid #e0d0b0;
- moz - border - radius : 6 px ;
- webkit - border - radius : 6 px ;
border - radius : 6 px ;
background : #EFDF9A;
text - shadow : 0 1 px 0 rgba ( 255 , 255 , 255 , 0.5 );
}
div . error {
color : #550000; font-weight: bold;
padding : 0.3 em 0.3 em 0.3 em 0.3 em ;
margin : 0.5 em 0 em 0.5 em 0 em ;
border : 1 px solid #DC9CAB;
- moz - border - radius : 6 px ;
- webkit - border - radius : 6 px ;
border - radius : 6 px ;
background : #EFCFCF;
}
/* Info admin */
div . info {
color : #302010;
padding : 0.4 em 0.4 em 0.4 em 0.4 em ;
margin : 0.5 em 0 em 0.5 em 0 em ;
border : 1 px solid #DFBF9A;
- moz - border - radius : 6 px ;
- webkit - border - radius : 6 px ;
border - radius : 6 px ;
background : #EFCFAA;
text - shadow : 0 1 px 0 rgba ( 255 , 255 , 255 , 0.5 );
}
/*
* Liens Payes / Non payes
*/
a . normal : link { font - weight : normal }
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; }
/*
* Other
*/
. product_line_stock_ok { color : #002200; }
. product_line_stock_too_low { color : #664400; }
. fieldrequired { font - weight : bold ; color : #000055; }
. dolgraphtitle { margin - top : 6 px ; margin - bottom : 4 px ; }
. dolgraphtitlecssboxes { margin : 0 px ; }
. 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 ; }
. photo {
border : 0 px ;
}
. photowithmargin {
margin - bottom : 2 px ;
margin - top : 2 px ;
}
2015-03-24 22:24:15 +01:00
. photointooltip {
- webkit - box - shadow : 0 px 0 px 5 px #777;
- moz - box - shadow : 0 px 0 px 5 px #777;
box - shadow : 0 px 0 px 6 px #777;
margin - top : 8 px ;
float : left ;
}
2015-03-22 18:09:22 +01:00
. logo_setup
{
content : url ( < ? php echo dol_buildpath ( $path . '/theme/' . $theme . '/img/logo_setup.svg' , 1 ) ?> );
}
div . titre {
font - family : < ? php print $fontlist ?> ;
font - weight : bold ;
color : rgb ( < ? php print $colortext ; ?> );
text - decoration : none ;
text - shadow : 1 px 1 px 2 px #FFFFFF;
< ? php print ( empty ( $conf -> dol_optimize_smallscreen ) ? '' : 'margin-top: 4px;' ); ?>
}
#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; }
#divsubscribe { width: 700px; }
#tablesubscribe { width: 100%; }
/*
* 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 ;
}
/* ============================================================================== */
/* 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) */
/* ============================================================================== */
table . valid {
border - top : solid 1 px #E6E6E6;
border -< ? php print $left ; ?> : solid 1px #E6E6E6;
border -< ? php print $right ; ?> : solid 1px #444444;
border - bottom : solid 1 px #555555;
padding - top : 0 px ;
padding - left : 0 px ;
padding - right : 0 px ;
padding - bottom : 0 px ;
margin : 0 px 0 px ;
background : #D5BAA8;
}
. validtitre {
background : #D5BAA8;
font - weight : bold ;
}
/* ============================================================================== */
/* Tooltips */
/* ============================================================================== */
#tooltip {
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 : #EFCFAA;
opacity : 1 ;
- moz - border - radius : 6 px ;
- webkit - border - radius : 6 px ;
border - radius : 6 px ;
}
#tiptip_content {
background - color : rgb ( 252 , 248 , 246 );
background - color : rgba ( 252 , 248 , 246 , 0.95 );
2015-03-24 22:24:15 +01:00
line - height : 1.4 em ;
2015-03-22 18:09:22 +01:00
}
/* ============================================================================== */
/* Calendar */
/* ============================================================================== */
img . datecallink { padding - left : 2 px ! important ; padding - right : 2 px ! important ; }
. ui - datepicker - trigger {
vertical - align : middle ;
cursor : pointer ;
}
. bodyline {
- moz - border - radius : 8 px ;
- webkit - border - radius : 8 px ;
border - radius : 8 px ;
border : 1 px #E4ECEC outset;
padding : 0 px ;
margin - bottom : 5 px ;
}
table . dp {
width : 180 px ;
background - color : #FFFFFF;
border - top : solid 2 px #DDDDDD;
border -< ? php print $left ; ?> : solid 2px #DDDDDD;
border -< ? php print $right ; ?> : solid 1px #222222;
border - bottom : solid 1 px #222222;
padding : 0 px ;
border - spacing : 0 px ;
border - collapse : collapse ;
}
. dp td , . tpHour td , . tpMinute td { padding : 2 px ; font - size : 10 px ;}
/* Barre titre */
. dpHead , . tpHead , . tpHour td : Hover . tpHead {
font - weight : bold ;
background - color : #b3c5cc;
color : white ;
font - size : 11 px ;
cursor : auto ;
}
/* Barre navigation */
. dpButtons , . tpButtons {
text - align : center ;
background - color : #617389;
color : #FFFFFF;
font - weight : bold ;
cursor : pointer ;
}
. 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 }
/* Jour courant */
. 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;}
/* Bouton X fermer */
. dpInvisibleButtons
{
border - style : none ;
background - color : transparent ;
padding : 0 px ;
font - size : 9 px ;
border - width : 0 px ;
color : #0B63A2;
vertical - align : middle ;
cursor : pointer ;
}
/* ============================================================================== */
/* Afficher/cacher */
/* ============================================================================== */
div . visible {
display : block ;
}
div . hidden {
display : none ;
}
tr . visible {
display : block ;
}
td . hidden {
display : none ;
}
/* ============================================================================== */
/* Module agenda */
/* ============================================================================== */
table . cal_month { border - spacing : 0 px ; }
. cal_current_month { border - top : 0 ; border - left : solid 1 px #E0E0E0; border-right: 0; border-bottom: solid 1px #E0E0E0; }
. cal_current_month_peruserleft { border - top : 0 ; border - left : solid 3 px #6C7C7B; border-right: 0; border-bottom: solid 1px #E0E0E0; }
. cal_current_month_oneday { border - right : solid 1 px #E0E0E0; }
. cal_other_month { border - top : 0 ; border - left : solid 1 px #C0C0C0; border-right: 0; border-bottom: solid 1px #C0C0C0; }
. cal_other_month_peruserleft { border - top : 0 ; border - left : solid 3 px #6C7C7B !important; border-right: 0; }
. cal_current_month_right { border - right : solid 1 px #E0E0E0; }
. cal_other_month_right { border - right : solid 1 px #C0C0C0; }
. cal_other_month { opacity : 0.6 ; background : #EAEAEA; padding-<?php print $left; ?>: 2px; padding-<?php print $right; ?>: 1px; padding-top: 0px; padding-bottom: 0px; }
. 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; }
. cal_current_month_peruserleft { background : #FFFFFF; border-left: solid 3px #6C7C7B; padding-<?php print $left; ?>: 2px; padding-<?php print $right; ?>: 1px; padding-top: 0px; padding-bottom: 0px; }
. 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; }
. cal_today_peruser_peruserleft { background : #FDFDF0; border-left: solid 3px #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; }
. cal_past { }
. cal_peruser { padding : 0 px ; }
. peruser_busy { background : #CC8888; }
. peruser_notbusy { background : #EEDDDD; opacity: 0.5; }
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));
min - height : 20 px ;
}
table . cal_event td { border : none ; padding -< ? php print $left ; ?> : 2px; padding-<?php print $right; ?>: 2px; padding-top: 0px; padding-bottom: 0px; }
2015-05-03 21:15:08 +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 ; }
2015-03-22 18:09:22 +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 ; }
li . cal_event { border : none ; list - style - type : none ; }
. cal_event a : link { color : #111111; font-size: 11px; font-weight: normal !important; }
. cal_event a : visited { color : #111111; font-size: 11px; font-weight: normal !important; }
. cal_event a : active { color : #111111; font-size: 11px; font-weight: normal !important; }
. cal_event a : hover { color : #111111; font-size: 11px; font-weight: normal !important; color:rgba(255,255,255,.75); }
. cal_event_busy { }
. cal_peruserviewname { max - width : 100 px ; height : 22 px ; }
. topmenuimage {
background - size : 28 px auto ;
}
/* ============================================================================== */
/* Ajax - Liste deroulante de l'autocompletion */
/* ============================================================================== */
. ui - widget - content { border : solid 1 px rgba ( 0 , 0 , 0 , . 3 ); background : #fff !important; }
. ui - autocomplete - loading { background : white url ( < ? php echo dol_buildpath ( $path . '/theme/' . $theme . '/img/working.gif' , 1 ) ?> ) right center no-repeat; }
. ui - autocomplete {
position : absolute ;
width : auto ;
font - size : 1.0 em ;
background - color : white ;
border : 1 px solid #888;
margin : 0 px ;
/* padding:0px; This make combo crazy */
}
. 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 ;
height : 18 px ;
cursor : pointer ;
}
/* ============================================================================== */
/* jQuery - jeditable */
/* ============================================================================== */
. editkey_textarea , . editkey_ckeditor , . editkey_string , . editkey_email , . editkey_numeric , . editkey_select , . editkey_autocomplete {
background : url ( < ? php echo dol_buildpath ( $path . '/theme/' . $theme . '/img/edit.png' , 1 ) ?> ) right top no-repeat;
cursor : pointer ;
}
. editkey_datepicker {
background : url ( < ? php echo dol_buildpath ( $path . '/theme/' . $theme . '/img/calendar.png' , 1 ) ?> ) right center no-repeat;
cursor : pointer ;
}
. 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 {
background : white ;
cursor : pointer ;
}
. 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 {
background : white ;
cursor : pointer ;
}
. viewval_hover {
background : white ;
}
/* ============================================================================== */
/* Admin Menu */
/* ============================================================================== */
/* CSS for treeview */
. treeview ul { background - color : transparent ! important ; margin - top : 0 ; }
. treeview li { background - color : transparent ! important ; padding : 0 0 0 16 px ! important ; min - height : 20 px ; }
. treeview . hover { color : black ! important ; }
/* ============================================================================== */
/* Show Excel tabs */
/* ============================================================================== */
. table_data
{
border - style : ridge ;
border : 1 px solid ;
}
. tab_base
{
background : #C5D0DD;
font - weight : bold ;
border - style : ridge ;
border : 1 px solid ;
cursor : pointer ;
}
. table_sub_heading
{
background : #CCCCCC;
font - weight : bold ;
border - style : ridge ;
border : 1 px solid ;
}
. table_body
{
background : #F0F0F0;
font - weight : normal ;
font - family : sans - serif ;
border - style : ridge ;
border : 1 px solid ;
border - spacing : 0 px ;
border - collapse : collapse ;
}
. tab_loaded
{
background : #222222;
color : white ;
font - weight : bold ;
border - style : groove ;
border : 1 px solid ;
cursor : pointer ;
}
/* ============================================================================== */
/* 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 ;
border : 1 px solid #b3c5cc;
}
. tblColor {
display : none ;
}
. tdColor {
padding : 1 px ;
}
. tblContainer {
background - color : #b3c5cc;
}
. tblGlobal {
position : absolute ;
top : 0 px ;
left : 0 px ;
display : none ;
background - color : #b3c5cc;
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 ;
font - family : < ? php print $fontlist ?> ;
font - size : 8 pt ;
color : black ;
text - align : center ;
}
. btnColor {
width : 100 % ;
font - family : < ? php print $fontlist ?> ;
font - size : 10 pt ;
padding : 0 px ;
margin : 0 px ;
}
. btnPalette {
width : 100 % ;
font - family : < ? php print $fontlist ?> ;
font - size : 8 pt ;
padding : 0 px ;
margin : 0 px ;
}
/* 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 ;
font - family :< ? php echo $fontlist ; ?> ;
font - size : 1 em ;
}
. ui - widget {
font - family :< ? php echo $fontlist ; ?> ;
font - size :< ? php echo $fontsize ; ?> px;
}
. ui - button { margin - left : - 2 px ; < ? php print ( preg_match ( '/chrome/' , $conf -> browser -> name ) ? 'padding-top: 1px;' : '' ); ?> }
. ui - button - icon - only . ui - button - text { height : 8 px ; }
. ui - button - icon - only . ui - button - text , . ui - button - icons - only . ui - button - text { padding : 2 px 0 px 6 px 0 px ; }
. ui - button - text
{
line - height : 1 em ! important ;
}
. ui - autocomplete - input { margin : 0 ; padding : 4 px ; }
/* ============================================================================== */
/* CKEditor */
/* ============================================================================== */
. cke_editable
{
margin : 5 px ! important ;
}
. cke_editor table , . cke_editor tr , . cke_editor td
{
border : 0 px solid #FF0000 !important;
}
span . cke_skin_kama { padding : 0 ! important ; }
. cke_wrapper { padding : 4 px ! important ; }
a . cke_dialog_ui_button
{
font - family : < ? php print $fontlist ?> !important;
background - image : url ( < ? php echo $img_button ?> ) !important;
background - position : bottom ! important ;
border : 1 px solid #C0C0C0 !important;
- moz - border - radius : 0 px 5 px 0 px 5 px ! important ;
- webkit - border - radius : 0 px 5 px 0 px 5 px ! important ;
border - radius : 0 px 5 px 0 px 5 px ! important ;
- moz - box - shadow : 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;
}
. cke_dialog_ui_hbox_last
{
vertical - align : bottom ! important ;
}
. cke_editable
{
line - height : 1.4 ! important ;
margin : 6 px ! important ;
}
/* ============================================================================== */
/* File upload */
/* ============================================================================== */
. template - upload {
height : 72 px ! important ;
}
/* ============================================================================== */
/* 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 ;
}
/* ============================================================================== */
/* JSGantt */
/* ============================================================================== */
div . scroll2 {
width : < ? php print isset ( $_SESSION [ 'dol_screenwidth' ]) ? max ( $_SESSION [ 'dol_screenwidth' ] - 830 , 450 ) : '450' ; ?> px !important;
}
/* ============================================================================== */
/* jFileTree */
/* ============================================================================== */
. ecmfiletree {
width : 99 % ;
height : 99 % ;
background : #FFF;
padding - left : 2 px ;
font - weight : normal ;
}
. fileview {
width : 99 % ;
height : 99 % ;
background : #FFF;
padding - left : 2 px ;
padding - top : 4 px ;
font - weight : normal ;
}
div . filedirelem {
position : relative ;
display : block ;
text - decoration : none ;
}
ul . filedirelem {
padding : 2 px ;
margin : 0 5 px 5 px 5 px ;
}
ul . filedirelem li {
list - style : none ;
padding : 2 px ;
margin : 0 10 px 20 px 10 px ;
width : 160 px ;
height : 120 px ;
text - align : center ;
display : block ;
float : < ? php print $left ; ?> ;
border : solid 1 px #DDDDDD;
}
ui - layout - north {
}
ul . ecmjqft {
font - size : 11 px ;
line - height : 16 px ;
padding : 0 px ;
margin : 0 px ;
font - weight : normal ;
}
ul . ecmjqft li {
list - style : none ;
padding : 0 px ;
padding - left : 20 px ;
margin : 0 px ;
white - space : nowrap ;
display : block ;
}
ul . ecmjqft a {
line - height : 16 px ;
vertical - align : middle ;
color : #333;
padding : 0 px 0 px ;
font - weight : normal ;
display : inline - block ! important ;
/* float: left;*/
}
ul . ecmjqft a : active {
font - weight : bold ! important ;
}
ul . ecmjqft a : hover {
text - decoration : underline ;
}
div . ecmjqft {
vertical - align : middle ;
display : inline - block ! important ;
text - align : right ;
position : absolute ;
right : 4 px ;
}
/* Core Styles */
. ecmjqft LI . directory { font - weight : normal ; background : url ( < ? php echo dol_buildpath ( $path . '/theme/common/treemenu/folder2.png' , 1 ); ?> ) left top no-repeat; }
. ecmjqft LI . expanded { font - weight : normal ; background : url ( < ? php echo dol_buildpath ( $path . '/theme/common/treemenu/folder2-expanded.png' , 1 ); ?> ) left top no-repeat; }
. ecmjqft LI . wait { font - weight : normal ; background : url ( < ? php echo dol_buildpath ( '/theme/' . $theme . '/img/working.gif' , 1 ); ?> ) left top no-repeat; }
/* ============================================================================== */
/* jNotify */
/* ============================================================================== */
. jnotify - container {
position : fixed ! important ;
< ? php if ( ! empty ( $conf -> global -> MAIN_JQUERY_JNOTIFY_BOTTOM )) { ?>
top : auto ! important ;
bottom : 4 px ! important ;
< ? php } ?>
text - align : center ;
min - width : < ? php echo $dol_optimize_smallscreen ? '200' : '480' ; ?> px;
width : auto ;
padding - left : 10 px ! important ;
padding - right : 10 px ! important ;
}
/* use or not ? */
div . jnotify - background {
opacity : 0.95 ! important ;
- moz - box - shadow : 3 px 3 px 4 px #888 !important;
- webkit - box - shadow : 3 px 3 px 4 px #888 !important;
box - shadow : 3 px 3 px 4 px #888 !important;
}
/* ============================================================================== */
/* blockUI */
/* ============================================================================== */
/*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 ;
}
/* ============================================================================== */
/* Maps */
/* ============================================================================== */
. divmap , #google-visualization-geomap-embed-0, #google-visualization-geomap-embed-1, google-visualization-geomap-embed-2 {
- moz - box - shadow : 0 px 0 px 10 px #AAA;
- webkit - box - shadow : 0 px 0 px 10 px #AAA;
box - shadow : 0 px 0 px 10 px #AAA;
}
/* ============================================================================== */
/* Datatable */
/* ============================================================================== */
. sorting_asc { background : url ( '<?php echo dol_buildpath(' / theme / '.$theme.' / img / sort_asc . png ',1); ?>' ) no - repeat center right ; }
. sorting_desc { background : url ( '<?php echo dol_buildpath(' / theme / '.$theme.' / img / sort_desc . png ',1); ?>' ) no - repeat center right ; }
. sorting_asc_disabled { background : url ( '<?php echo dol_buildpath(' / theme / '.$theme.' / img / sort_asc_disabled ',1); ?>' ) no - repeat center right ; }
. sorting_desc_disabled { background : url ( '<?php echo dol_buildpath(' / theme / '.$theme.' / img / sort_desc_disabled ',1); ?>' ) no - repeat center right ; }
. 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-03-22 21:18:25 +01:00
. paginate_button
{
font - weight : normal ! important ;
}
2015-03-22 18:09:22 +01:00
/* For jquery plugin combobox */
/* Disable this . It breaks wrapping of boxes
. ui - corner - all { white - space : nowrap ; } */
. 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 ;
}
/* ============================================================================== */
/* Select2 */
/* ============================================================================== */
. select2 - choice ,
. select2 - drop . select2 - drop - above . select2 - drop - active ,
. select2 - container - active . select2 - choice ,
. 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;
}
. select2 - disabled
{
color : #888;
}
. select2 - drop - active
{
border : 1 px solid #aaa;
border - top : none ;
}
a span . select2 - chosen
{
font - weight : normal ! important ;
}
. select2 - container . select2 - choice {
background - image : none ;
}
2015-05-03 21:15:08 +02:00
. select2 - choices . select2 - search - choice {
border : 1 px solid #aaa !important;
}
2015-03-22 18:09:22 +01:00
. select2 - results . select2 - no - results , . select2 - results . select2 - searching , . select2 - results . select2 - ajax - error , . select2 - results . select2 - selection - limit
{
background : #FFFFFF;
}
2015-05-03 21:15:08 +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 {
margin - top : 2 px ;
margin - bottom : 2 px ;
}
2015-03-22 18:09:22 +01:00
/* ============================================================================== */
/* JMobile */
/* ============================================================================== */
li . ui - li - divider . ui - link {
color : #FFF !important;
}
. ui - btn {
margin : 0.1 em 2 px
}
a . ui - link , a . ui - link : hover , . ui - btn : hover , span . ui - btn - text : hover , span . ui - btn - inner : hover {
text - decoration : none ! important ;
}
. ui - btn - inner {
min - width : . 4 em ;
padding - left : 10 px ;
padding - right : 10 px ;
< ? php if ( ! empty ( $dol_use_jmobile )) { ?>
font - size : 13 px ;
< ? php } else { ?>
font - size : < ? php print $fontsize ?> px;
< ? php } ?>
/* white-space: normal; */ /* Warning, enable this break the truncate feature */
}
. ui - btn - icon - right . ui - btn - inner {
padding - right : 34 px ;
}
. ui - btn - icon - left . ui - btn - inner {
padding - left : 34 px ;
}
. ui - select . ui - btn - icon - right . ui - btn - inner {
padding - right : 38 px ;
}
. ui - select . ui - btn - icon - left . ui - btn - inner {
padding - left : 38 px ;
}
. 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 );
}
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 );
}
a . tab span . ui - btn - inner
{
border : none ;
padding : 0 ;
}
. ui - link {
color : rgb ( < ? php print $colortext ; ?> );
}
. liste_titre . ui - link {
color : #<?php print $colortexttitle; ?> !important;
}
a . ui - link {
word - wrap : break - word ;
}
/* force wrap possible onto field overflow does not works */
. formdoc . ui - btn - inner
{
white - space : normal ;
overflow : hidden ;
text - overflow : hidden ;
}
/* Warning: setting this may make screen not beeing refreshed after a combo selection */
/*. ui - body - c {
background : #fff;
} */
div . ui - radio , div . ui - checkbox
{
display : inline - block ;
border - bottom : 0 px ! important ;
}
. ui - checkbox input , . ui - radio input {
height : auto ;
width : auto ;
margin : 4 px ;
position : static ;
}
div . ui - checkbox label + input , div . ui - radio label + input {
position : absolute ;
}
. ui - mobile fieldset
{
padding - bottom : 10 px ; margin - bottom : 4 px ; border - bottom : 1 px solid #AAAAAA !important;
}
ul . ulmenu {
border - radius : 0 ;
- webkit - border - radius : 0 ;
}
. ui - field - contain label . ui - input - text {
vertical - align : middle ! important ;
}
. ui - mobile fieldset {
border - bottom : none ! important ;
}
/* Style for first level menu with jmobile */
. ui - bar - b , . lilevel0 {
border : 1 px solid #5f5f7a !important;
background : rgb ( < ? php echo $colorbacktitle1 ; ?> );
background - repeat : repeat - x ;
2015-05-03 21:15:08 +02:00
2015-03-22 18:09:22 +01:00
background - image : - o - linear - gradient ( bottom , rgba ( 0 , 0 , 0 , 0.3 ) 0 % , rgba ( 250 , 250 , 250 , 0.3 ) 100 % );
background - image : - moz - linear - gradient ( bottom , rgba ( 0 , 0 , 0 , 0.3 ) 0 % , rgba ( 250 , 250 , 250 , 0.3 ) 100 % );
background - image : - webkit - linear - gradient ( bottom , rgba ( 0 , 0 , 0 , 0.3 ) 0 % , rgba ( 250 , 250 , 250 , 0.3 ) 100 % );
background - image : - ms - linear - gradient ( bottom , rgba ( 0 , 0 , 0 , 0.3 ) 0 % , rgba ( 250 , 250 , 250 , 0.3 ) 100 % );
background - image : linear - gradient ( bottom , rgba ( 0 , 0 , 0 , 0.3 ) 0 % , rgba ( 250 , 250 , 250 , 0.3 ) 100 % );
font - weight : bold ;
2015-05-03 21:15:08 +02:00
2015-03-22 18:09:22 +01:00
color : #<?php echo $colortexttitle; ?> !important;
}
. alilevel0 {
color : #<?php echo $colortexttitle; ?> !important;
text - shadow : 1 px 0 px 1 px #<?php echo $colorshadowtitle; ?>;
}
. ui - body - c {
border : 1 px solid #ccc;
text - shadow : none ;
}
. ui - btn - up - c , . ui - btn - hover - c {
border : 1 px solid #ccc;
text - shadow : none ;
}
. ui - body - c . ui - link , . ui - body - c . ui - link : visited , . ui - body - c . ui - link : hover {
color : rgb ( < ? php print $colortext ; ?> );
}
. ui - btn - up - c . vsmenudisabled {
color : #<?php echo $colorshadowtitle; ?> !important;
text - shadow : none ! important ;
}
. ui - controlgroup - horizontal . ui - btn . ui - first - child {
- 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 ;
}
. alilevel1 {
color : #<?php echo $colortexttitle; ?> !important;
text - shadow : 1 px 0 px 1 px #<?php echo $colorshadowtitle; ?>;
}
. lilevel1 {
background - image : - webkit - gradient ( linear , left top , left bottom , from ( #ddd ),to( #d1d1d1 )) !important;
background - image : - webkit - linear - gradient ( #ddd,#d1d1d1 ) !important;
background - image : - moz - linear - gradient ( #ddd,#d1d1d1 ) !important;
background - image : - ms - linear - gradient ( #ddd,#d1d1d1 ) !important;
background - image : - o - linear - gradient ( #ddd,#d1d1d1 ) !important;
background - image : linear - gradient ( #ddd,#d1d1d1 ) !important;
}
. lilevel2
{
padding - left : 22 px ;
}
. lilevel3
{
padding - left : 54 px ;
}
< ? php
if ( is_object ( $db )) $db -> close ();