2006-06-05 20:26:46 +02:00
< ? php
2012-02-06 17:44:37 +01:00
/* Copyright ( C ) 2004 - 2012 Laurent Destailleur < eldy @ users . sourceforge . net >
* Copyright ( C ) 2006 Rodolphe Quiedeville < rodolphe @ quiedeville . org >
2012-12-30 15:13:49 +01:00
* Copyright ( C ) 2007 - 2012 Regis Houssin < regis . houssin @ capnetworks . com >
2012-02-06 17:44:37 +01:00
* Copyright ( C ) 2011 Philippe Grand < philippe . grand @ atoo - net . com >
2012-09-05 15:29:21 +02:00
* Copyright ( C ) 2012 Juanjo Menent < jmenent @ 2 byte . es >
2006-06-05 20:26:46 +02:00
*
* This program is free software ; you can redistribute it and / or modify
* it under the terms of the GNU General Public License as published by
2013-01-16 15:36:08 +01:00
* the Free Software Foundation ; either version 3 of the License , or
2006-06-05 20:26:46 +02:00
* ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU General Public License for more details .
*
* You should have received a copy of the GNU General Public License
2011-08-01 01:19:04 +02:00
* along with this program . If not , see < http :// www . gnu . org / licenses />.
2006-06-05 20:26:46 +02:00
*/
2006-08-12 23:46:33 +02:00
/**
2010-06-25 21:52:11 +02:00
* \file htdocs / theme / eldy / style . css . php
2011-08-17 16:29:14 +02:00
* \brief File for CSS style sheet Eldy
2009-06-03 21:54:48 +02:00
*/
2006-06-05 20:26:46 +02:00
2012-01-15 19:07:01 +01:00
//if (! defined('NOREQUIREUSER')) define('NOREQUIREUSER','1'); // Not disabled because need to load personalized language
2010-03-13 17:27:11 +01:00
//if (! defined('NOREQUIREDB')) define('NOREQUIREDB','1'); // Not disabled to increase speed. Language code is found on url.
if ( ! defined ( 'NOREQUIRESOC' )) define ( 'NOREQUIRESOC' , '1' );
2012-01-15 19:07:01 +01:00
//if (! defined('NOREQUIRETRAN')) define('NOREQUIRETRAN','1'); // Not disabled because need to do translations
2010-03-13 17:27:11 +01:00
if ( ! defined ( 'NOCSRFCHECK' )) define ( 'NOCSRFCHECK' , 1 );
if ( ! defined ( 'NOTOKENRENEWAL' )) define ( 'NOTOKENRENEWAL' , 1 );
2012-01-15 23:48:25 +01:00
if ( ! defined ( 'NOLOGIN' )) define ( 'NOLOGIN' , 1 ); // File must be accessed by logon page so without login
2010-03-13 17:27:11 +01:00
if ( ! defined ( 'NOREQUIREMENU' )) define ( 'NOREQUIREMENU' , 1 );
if ( ! defined ( 'NOREQUIREHTML' )) define ( 'NOREQUIREHTML' , 1 );
if ( ! defined ( 'NOREQUIREAJAX' )) define ( 'NOREQUIREAJAX' , '1' );
2011-09-20 11:40:27 +02:00
session_cache_limiter ( FALSE );
2009-08-30 03:39:39 +02:00
2012-08-22 23:11:24 +02:00
require_once '../../main.inc.php' ;
2006-06-05 20:26:46 +02:00
2012-01-15 23:48:25 +01:00
// Load user to have $user->conf loaded (not done into main because of NOLOGIN constant defined)
if ( empty ( $user -> id ) && ! empty ( $_SESSION [ 'dol_login' ])) $user -> fetch ( '' , $_SESSION [ 'dol_login' ]);
2006-08-12 23:46:33 +02:00
// Define css type
header ( 'Content-type: text/css' );
2010-03-13 17:27:11 +01:00
// Important: Following code is to avoid page request by browser and PHP CPU at
2006-08-12 23:46:33 +02:00
// each Dolibarr page access.
2009-07-07 17:11:59 +02:00
if ( empty ( $dolibarr_nocache )) header ( 'Cache-Control: max-age=3600, public, must-revalidate' );
else header ( 'Cache-Control: no-cache' );
2009-08-11 14:28:30 +02:00
2010-07-20 00:02:11 +02:00
// On the fly GZIP compression for all pages (if browser support it). Must set the bit 3 of constant to 1.
if ( isset ( $conf -> global -> MAIN_OPTIMIZE_SPEED ) && ( $conf -> global -> MAIN_OPTIMIZE_SPEED & 0x04 )) { ob_start ( " ob_gzhandler " ); }
2011-04-26 23:06:45 +02:00
if ( GETPOST ( 'lang' )) $langs -> setDefaultLang ( GETPOST ( 'lang' )); // If language was forced on URL
if ( GETPOST ( 'theme' )) $conf -> theme = GETPOST ( 'theme' ); // If theme was forced on URL
2009-08-11 14:28:30 +02:00
$langs -> load ( " main " , 0 , 1 );
2010-10-27 16:15:30 +02:00
$right = ( $langs -> trans ( " DIRECTION " ) == 'rtl' ? 'left' : 'right' );
$left = ( $langs -> trans ( " DIRECTION " ) == 'rtl' ? 'right' : 'left' );
2010-04-14 22:21:47 +02:00
2011-08-17 16:29:14 +02:00
$path = '' ; // This value may be used in future for external module to overwrite theme
2011-08-15 20:25:58 +02:00
// Define image path files
$fontlist = 'arial,tahoma,verdana,helvetica' ; //$fontlist='Verdana,Helvetica,Arial,sans-serif';
2011-08-17 16:29:14 +02:00
$img_head = dol_buildpath ( $path . '/theme/eldy/img/headbg2.jpg' , 1 );
$img_button = dol_buildpath ( $path . '/theme/eldy/img/button_bg.png' , 1 );
2012-01-15 14:01:40 +01:00
// 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;
2012-01-15 19:07:01 +01:00
//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 )));
2012-01-15 14:01:40 +01:00
// Colors
2012-01-14 00:39:58 +01:00
$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
$colorback1 = ( $colred - 3 ) . ',' . ( $colgreen - 3 ) . ',' . ( $colblue - 3 ); // topmenu
$colorback2 = ( $colred + 5 ) . ',' . ( $colgreen + 5 ) . ',' . ( $colblue + 5 );
$colorbacktab1 = ( $colred + 15 ) . ',' . ( $colgreen + 16 ) . ',' . ( $colblue + 17 ); // vmenu
2012-04-18 11:51:45 +02:00
$colorbacktab1b = ( $colred + 5 ) . ',' . ( $colgreen + 6 ) . ',' . ( $colblue + 7 ); // vmenu (not menu)
2012-01-14 00:39:58 +01:00
$colorbacktab2 = ( $colred - 15 ) . ',' . ( $colgreen - 15 ) . ',' . ( $colblue - 15 );
$colorbacktitle1 = ( $colred - 5 ) . ',' . ( $colgreen - 5 ) . ',' . ( $colblue - 5 ); // title of array
$colorbacktitle2 = ( $colred - 15 ) . ',' . ( $colgreen - 15 ) . ',' . ( $colblue - 15 );
$colorbacktabcard1 = ( $colred + 15 ) . ',' . ( $colgreen + 16 ) . ',' . ( $colblue + 17 ); // card
$colorbacktabcard2 = ( $colred - 15 ) . ',' . ( $colgreen - 15 ) . ',' . ( $colblue - 15 );
$colorbacktabactive = ( $colred - 15 ) . ',' . ( $colgreen - 15 ) . ',' . ( $colblue - 15 );
$colorbacklineimpair1 = ( 244 + round ( $isred / 3 )) . ',' . ( 244 + round ( $isgreen / 3 )) . ',' . ( 244 + round ( $isblue / 3 )); // line impair
$colorbacklineimpair2 = ( 250 + round ( $isred / 3 )) . ',' . ( 250 + round ( $isgreen / 3 )) . ',' . ( 250 + round ( $isblue / 3 )); // line impair
2012-09-09 14:49:20 +02:00
$colorbacklineimpairhover = ( 230 + round (( $isred + $isgreen + $isblue ) / 9 )) . ',' . ( 230 + round (( $isred + $isgreen + $isblue ) / 9 )) . ',' . ( 230 + round (( $isred + $isgreen + $isblue ) / 9 )); // line impair
2012-01-14 00:39:58 +01:00
$colorbacklinepair1 = '255,255,255' ; // line pair
$colorbacklinepair2 = '255,255,255' ; // line pair
2012-09-09 14:49:20 +02:00
$colorbacklinepairhover = ( 230 + round (( $isred + $isgreen + $isblue ) / 9 )) . ',' . ( 230 + round (( $isred + $isgreen + $isblue ) / 9 )) . ',' . ( 230 + round (( $isred + $isgreen + $isblue ) / 9 ));
2012-01-14 00:39:58 +01:00
$colorbackbody = '#ffffff url(' . $img_head . ') 0 0 no-repeat;' ;
2012-01-15 17:40:44 +01:00
$colortext = '40,40,40' ;
2012-02-06 16:16:42 +01:00
$fontsize = empty ( $conf -> browser -> phone ) ? '12' : '14' ;
$fontsizesmaller = empty ( $conf -> browser -> phone ) ? '11' : '14' ;
2012-01-14 00:39:58 +01:00
// Eldy colors
2012-01-15 14:01:40 +01:00
if ( empty ( $conf -> global -> THEME_ELDY_ENABLE_PERSONALIZED ))
2012-01-14 00:39:58 +01:00
{
$conf -> global -> THEME_ELDY_TOPMENU_BACK1 = '180,196,216' ; // topmenu
$conf -> global -> THEME_ELDY_TOPMENU_BACK2 = '190,206,226' ;
2013-01-07 17:57:39 +01:00
$conf -> global -> THEME_ELDY_VERMENU_BACK1 = '253,253,253' ; // vmenu
2012-04-18 11:51:45 +02:00
$conf -> global -> THEME_ELDY_VERMENU_BACK1b = '226,228,230' ; // vmenu (not menu)
2013-01-08 18:31:55 +01:00
$conf -> global -> THEME_ELDY_VERMENU_BACK2 = '232,234,236' ;
2012-01-14 00:39:58 +01:00
$conf -> global -> THEME_ELDY_BACKTITLE1 = '140,160,185' ; // title of arrays
$conf -> global -> THEME_ELDY_BACKTITLE2 = '210,220,235' ;
2012-02-21 20:05:29 +01:00
$conf -> global -> THEME_ELDY_BACKTABCARD1 = '231,232,235' ; // card
2012-02-21 19:57:35 +01:00
$conf -> global -> THEME_ELDY_BACKTABCARD2 = '220,224,227' ;
$conf -> global -> THEME_ELDY_BACKTABACTIVE = '220,224,227' ;
2012-01-14 00:39:58 +01:00
$conf -> global -> THEME_ELDY_BACKBODY = '#ffffff url(' . $img_head . ') 0 0 no-repeat;' ;
2012-02-21 19:57:35 +01:00
$conf -> global -> THEME_ELDY_LINEIMPAIR1 = '242,242,242' ;
$conf -> global -> THEME_ELDY_LINEIMPAIR2 = '248,248,248' ;
2012-09-09 14:49:20 +02:00
$conf -> global -> THEME_ELDY_LINEIMPAIRHOVER = '238,246,252' ;
2012-01-15 14:01:40 +01:00
$conf -> global -> THEME_ELDY_LINEPAIR1 = '255,255,255' ;
$conf -> global -> THEME_ELDY_LINEPAIR2 = '255,255,255' ;
2012-09-09 14:49:20 +02:00
$conf -> global -> THEME_ELDY_LINEPAIRHOVER = '238,246,252' ;
2012-01-15 14:01:40 +01:00
$conf -> global -> THEME_ELDY_BACKBODY = '#ffffff url(' . $img_head . ') 0 0 no-repeat;' ;
2012-01-15 17:40:44 +01:00
$conf -> global -> THEME_ELDY_TEXT = '48,102,102' ;
2012-01-14 00:39:58 +01:00
}
2012-01-15 14:01:40 +01:00
$colorback1 = empty ( $user -> conf -> THEME_ELDY_ENABLE_PERSONALIZED ) ? ( empty ( $conf -> global -> THEME_ELDY_TOPMENU_BACK1 ) ? $colorback1 : $conf -> global -> THEME_ELDY_TOPMENU_BACK1 ) : ( empty ( $user -> conf -> THEME_ELDY_TOPMENU_BACK1 ) ? $colorback1 : $user -> conf -> THEME_ELDY_TOPMENU_BACK1 );
$colorback2 = empty ( $user -> conf -> THEME_ELDY_ENABLE_PERSONALIZED ) ? ( empty ( $conf -> global -> THEME_ELDY_TOPMENU_BACK2 ) ? $colorback2 : $conf -> global -> THEME_ELDY_TOPMENU_BACK2 ) : ( empty ( $user -> conf -> THEME_ELDY_TOPMENU_BACK2 ) ? $colorback2 : $user -> conf -> THEME_ELDY_TOPMENU_BACK2 );
$colorbacktab1 = empty ( $user -> conf -> THEME_ELDY_ENABLE_PERSONALIZED ) ? ( empty ( $conf -> global -> THEME_ELDY_VERMENU_BACK1 ) ? $colorbacktab1 : $conf -> global -> THEME_ELDY_VERMENU_BACK1 ) : ( empty ( $user -> conf -> THEME_ELDY_VERMENU_BACK1 ) ? $colorbacktab1 : $user -> conf -> THEME_ELDY_VERMENU_BACK1 );
2012-04-18 11:51:45 +02:00
$colorbacktab1b = empty ( $user -> conf -> THEME_ELDY_ENABLE_PERSONALIZED ) ? ( empty ( $conf -> global -> THEME_ELDY_VERMENU_BACK1b ) ? $colorbacktab1 : $conf -> global -> THEME_ELDY_VERMENU_BACK1b ) : ( empty ( $user -> conf -> THEME_ELDY_VERMENU_BACK1b ) ? $colorbacktab1b : $user -> conf -> THEME_ELDY_VERMENU_BACK1b );
2012-01-15 14:01:40 +01:00
$colorbacktab2 = empty ( $user -> conf -> THEME_ELDY_ENABLE_PERSONALIZED ) ? ( empty ( $conf -> global -> THEME_ELDY_VERMENU_BACK2 ) ? $colorbacktab2 : $conf -> global -> THEME_ELDY_VERMENU_BACK2 ) : ( empty ( $user -> conf -> THEME_ELDY_VERMENU_BACK2 ) ? $colorbacktab2 : $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 );
2012-09-09 14:49:20 +02:00
$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 );
2012-01-15 14:01:40 +01:00
$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 );
2012-09-09 14:49:20 +02:00
$colorbacklinepairhover = empty ( $user -> conf -> THEME_ELDY_ENABLE_PERSONALIZED ) ? ( empty ( $conf -> global -> THEME_ELDY_LINEPAIRHOVER ) ? $colorbacklinepairhover : $conf -> global -> THEME_ELDY_LINEPAIRHOVER ) : ( empty ( $user -> conf -> THEME_ELDY_LINEPAIRHOVER ) ? $colorbacklinepairhover : $user -> conf -> THEME_ELDY_LINEPAIRHOVER );
2012-01-15 17:40:44 +01:00
$colorbackbody = empty ( $user -> conf -> THEME_ELDY_ENABLE_PERSONALIZED ) ? ( empty ( $conf -> global -> THEME_ELDY_BACKBODY ) ? $colorbackbody : $conf -> global -> THEME_ELDY_BACKBODY ) : ( empty ( $user -> conf -> THEME_ELDY_BACKBODY ) ? $colorbackbody : $user -> conf -> THEME_ELDY_BACKBODY );
$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 );
2012-02-06 16:16:42 +01:00
$fontsize = empty ( $user -> conf -> THEME_ELDY_ENABLE_PERSONALIZED ) ? ( empty ( $conf -> global -> THEME_ELDY_FONT_SIZE1 ) ? $fontsize : $conf -> global -> THEME_ELDY_FONT_SIZE1 ) : ( empty ( $user -> conf -> THEME_ELDY_FONT_SIZE1 ) ? $fontsize : $user -> conf -> THEME_ELDY_FONT_SIZE1 );
$fontsizesmaller = empty ( $user -> conf -> THEME_ELDY_ENABLE_PERSONALIZED ) ? ( empty ( $conf -> global -> THEME_ELDY_FONT_SIZE2 ) ? $fontsize : $conf -> global -> THEME_ELDY_FONT_SIZE2 ) : ( empty ( $user -> conf -> THEME_ELDY_FONT_SIZE2 ) ? $fontsize : $user -> conf -> THEME_ELDY_FONT_SIZE2 );
2012-09-09 14:49:20 +02:00
// No hover by default, we keep only if we set var THEME_ELDY_USE_HOVER
if (( ! empty ( $user -> conf -> THEME_ELDY_ENABLE_PERSONALIZED ) && empty ( $user -> conf -> THEME_ELDY_USE_HOVER ))
|| ( empty ( $user -> conf -> THEME_ELDY_ENABLE_PERSONALIZED ) && empty ( $conf -> global -> THEME_ELDY_USE_HOVER )))
{
$colorbacklineimpairhover = '' ;
$colorbacklinepairhover = '' ;
}
2012-01-14 00:39:58 +01:00
2012-02-01 11:30:17 +01:00
// Set text color to black or white
$tmppart = explode ( ',' , $colorback1 );
2012-07-09 12:31:21 +02:00
$tmpval = ( ! empty ( $tmppart [ 1 ]) ? $tmppart [ 1 ] : '' );
$tmpval += ( ! empty ( $tmppart [ 2 ]) ? $tmppart [ 2 ] : '' );
$tmpval += ( ! empty ( $tmppart [ 3 ]) ? $tmppart [ 3 ] : '' );
2012-02-01 11:30:17 +01:00
//print $tmpval;
if ( $tmpval < 340 ) $colortextmain = 'FFFFFF' ;
else $colortextmain = '101010' ;
2012-05-02 11:57:32 +02:00
$usecss3 = true ;
if ( $conf -> browser -> name == 'ie' && round ( $conf -> browser -> version , 2 ) < 10 ) $usecss3 = false ;
elseif ( $conf -> browser -> name == 'iceweasel' ) $usecss3 = false ;
elseif ( $conf -> browser -> name == 'epiphany' ) $usecss3 = false ;
2012-01-14 00:39:58 +01:00
print '/*' . " \n " ;
2012-01-15 17:40:44 +01:00
print 'colred=' . $colred . ' colgreen=' . $colgreen . ' colblue=' . $colblue . " \n " ;
2012-01-14 00:39:58 +01:00
print 'isred=' . $isred . ' isgreen=' . $isgreen . ' isblue=' . $isblue . " \n " ;
print 'colorbacklineimpair1=' . $colorbacklineimpair1 . " \n " ;
print 'colorbacklineimpair2=' . $colorbacklineimpair2 . " \n " ;
2012-09-09 14:49:20 +02:00
print 'colorbacklineimpairhover=' . $colorbacklineimpairhover . " \n " ;
2012-01-15 14:01:40 +01:00
print 'colorbacklinepair1=' . $colorbacklinepair1 . " \n " ;
print 'colorbacklinepair2=' . $colorbacklinepair2 . " \n " ;
2012-09-09 14:49:20 +02:00
print 'colorbacklinepairhover=' . $colorbacklinepairhover . " \n " ;
2012-05-02 11:57:32 +02:00
print 'usecss3=' . $usecss3 . " \n " ;
2012-01-14 00:39:58 +01:00
print '*/' . " \n " ;
2006-06-05 20:26:46 +02:00
?>
/* ============================================================================== */
2007-11-18 22:07:46 +01:00
/* Styles par defaut */
2006-06-05 20:26:46 +02:00
/* ============================================================================== */
body {
2011-01-19 11:49:28 +01:00
< ? php if ( GETPOST ( " optioncss " ) == 'print' ) { ?>
2009-08-19 18:39:08 +02:00
background - color : #FFFFFF;
< ? php } else { ?>
2012-01-14 00:39:58 +01:00
background : < ? php print $colorbackbody ; ?> ;
2009-08-19 18:39:08 +02:00
< ? php } ?>
2006-06-05 20:26:46 +02:00
color : #101010;
2009-10-06 17:56:03 +02:00
font - size : < ? php print $fontsize ?> px;
2010-05-13 02:32:01 +02:00
font - family : < ? php print $fontlist ?> ;
2006-06-05 20:26:46 +02:00
margin - top : 0 ;
margin - bottom : 0 ;
margin - right : 0 ;
margin - left : 0 ;
2010-10-27 16:15:30 +02:00
< ? php print 'direction: ' . $langs -> trans ( " DIRECTION " ) . " ; \n " ; ?>
2006-06-05 20:26:46 +02:00
}
2010-05-13 02:32:01 +02:00
a : link , a : visited , a : hover , a : active { font - family : < ? php print $fontlist ?> ; font-weight: bold; color: #000000; text-decoration: none; }
2010-04-07 12:08:57 +02:00
2011-08-08 17:33:50 +02:00
input : focus , textarea : focus , button : focus , select : focus {
box - shadow : 0 0 4 px #8091BF;
}
2011-10-31 15:23:18 +01:00
input , input . flat , textarea , textarea . flat , form . flat select , select . flat {
2010-09-29 12:10:33 +02:00
font - size : < ? php print $fontsize ?> px;
2010-05-13 02:32:01 +02:00
font - family : < ? php print $fontlist ?> ;
2011-10-31 15:23:18 +01:00
background : #FDFDFD;
2012-03-26 18:23:08 +02:00
border : 1 px solid #C0C0C0;
2011-08-13 02:47:59 +02:00
padding : 1 px 1 px 1 px 1 px ;
2006-06-05 20:26:46 +02:00
margin : 0 px 0 px 0 px 0 px ;
}
2012-04-28 16:40:15 +02:00
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 : 1 px 1 px 2 px rgba ( 0 , 0 , 0 , . 2 ) inset ;
padding : 2 px ;
margin - left : 1 px ;
margin - bottom : 1 px ;
margin - top : 1 px ;
}
2011-10-31 15:23:18 +01:00
select . flat , form . flat select {
font - weight : normal ;
}
2011-02-02 01:08:38 +01:00
input : disabled {
2011-08-13 02:47:59 +02:00
background : #ddd;
2011-02-02 01:08:38 +01:00
}
2012-05-09 14:50:28 +02:00
input :- webkit - autofill {
background - color : #FCFEFA !important; background-image:none !important;
}
input . liste_titre {
box - shadow : none ! important ;
}
2013-01-07 00:40:18 +01:00
input . removedfile {
padding : 0 px ! important ;
border : 0 px ! important ;
}
2011-02-02 01:08:38 +01:00
textarea : disabled {
2011-08-13 02:47:59 +02:00
background : #ddd;
2011-02-02 01:08:38 +01:00
}
2010-04-07 12:08:57 +02:00
. button {
2010-05-13 02:32:01 +02:00
font - family : < ? php print $fontlist ?> ;
2011-08-15 20:25:58 +02:00
background - image : url ( < ? php echo $img_button ?> );
2007-02-04 21:01:55 +01:00
background - position : bottom ;
2012-03-26 18:23:08 +02:00
border : 1 px solid #C0C0C0;
2011-08-14 02:37:55 +02:00
padding : 0.1 em 0.7 em ;
2011-08-13 02:47:59 +02:00
margin : 0 em 0.5 em ;
- 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 ;
2012-05-07 17:19:46 +02:00
- moz - box - shadow : 2 px 2 px 3 px #CCC;
- webkit - box - shadow : 2 px 2 px 3 px #CCC;
box - shadow : 2 px 2 px 3 px #CCC;
2006-06-05 20:26:46 +02:00
}
2007-05-26 03:48:20 +02:00
. button : focus {
2010-05-13 02:32:01 +02:00
font - family : < ? php print $fontlist ?> ;
2007-05-26 03:48:20 +02:00
color : #222244;
2011-08-15 20:25:58 +02:00
background - image : url ( < ? php echo $img_button ?> );
2008-01-11 11:03:47 +01:00
background - position : bottom ;
2012-03-26 18:23:08 +02:00
border : 1 px solid #C0C0C0;
2011-08-13 02:47:59 +02:00
}
. button : hover {
background : #dee7ec;
2008-01-11 11:03:47 +01:00
}
2011-11-14 18:37:04 +01:00
. button : disabled {
background : #ddd;
}
2010-04-07 12:08:57 +02:00
. buttonajax {
2010-05-13 02:32:01 +02:00
font - family : < ? php print $fontlist ?> ;
2008-01-11 11:03:47 +01:00
border : 0 px ;
2011-08-15 20:25:58 +02:00
background - image : url ( < ? php echo $img_button ?> );
2007-05-26 03:48:20 +02:00
background - position : bottom ;
2011-08-14 02:37:55 +02:00
padding : 0.1 em 0.7 em ;
2011-08-13 02:47:59 +02:00
margin : 0 em 0.5 em ;
- 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 : 4 px 4 px 4 px #CCC;
- webkit - box - shadow : 4 px 4 px 4 px #CCC;
box - shadow : 4 px 4 px 4 px #CCC;
2007-05-26 03:48:20 +02:00
}
2010-04-07 12:08:57 +02:00
form {
2007-05-01 21:11:07 +02:00
padding : 0 em 0 em 0 em 0 em ;
margin : 0 em 0 em 0 em 0 em ;
}
2011-03-09 00:48:31 +01:00
div . float
{
float :< ? php print $left ; ?> ;
}
2011-11-14 18:37:04 +01:00
th . button {
- moz - box - shadow : none ! important ;
- webkit - box - shadow : none ! important ;
box - shadow : none ! important ;
- moz - border - radius : 0 px ! important ;
- webkit - border - radius : 0 px ! important ;
2011-12-16 20:06:16 +01:00
border - radius : 0 px ! important ;
2011-11-14 18:37:04 +01:00
}
2012-03-25 22:47:37 +02:00
. valignmiddle {
vertical - align : middle ;
}
2012-09-22 20:27:06 +02:00
. centpercent {
width : 100 % ;
}
2010-10-02 22:47:55 +02:00
2011-08-15 19:43:40 +02:00
/* ============================================================================== */
/* Styles to hide objects */
/* ============================================================================== */
2011-05-16 11:27:29 +02:00
. hideobject { display : none ; }
2011-08-15 19:43:40 +02:00
< ? php if ( ! empty ( $conf -> browser -> phone )) { ?>
. hideonsmartphone { display : none ; }
< ? php } ?>
2011-05-16 11:27:29 +02:00
. linkobject { cursor : pointer ; }
2011-02-02 01:08:38 +01:00
2011-11-14 15:46:44 +01:00
2011-08-15 19:43:40 +02:00
/* ============================================================================== */
/* Styles for dragging lines */
/* ============================================================================== */
2010-10-02 22:47:55 +02:00
2010-09-27 17:31:36 +02:00
. dragClass {
2010-10-02 22:47:55 +02:00
color : #002255;
2010-09-27 17:31:36 +02:00
}
td . showDragHandle {
2010-09-18 17:34:06 +02:00
cursor : move ;
}
2010-09-28 20:00:59 +02:00
. tdlineupdown {
2010-10-01 16:29:43 +02:00
white - space : nowrap ;
2010-09-28 20:00:59 +02:00
}
2006-06-05 20:26:46 +02:00
/* ============================================================================== */
/* Styles de positionnement des zones */
/* ============================================================================== */
2011-08-15 19:43:40 +02:00
div . fiche {
2012-05-04 13:13:12 +02:00
margin -< ? php print $left ; ?> : <?php print (GETPOST("optioncss") == 'print'?6:((empty($conf->browser->phone) || empty($conf->global->MAIN_MENU_USE_JQUERY_LAYOUT))?'20':'24')); ?>px;
margin -< ? php print $right ; ?> : <?php print (GETPOST("optioncss") == 'print'?8:(empty($conf->browser->phone)?'12':'6')); ?>px;
2006-06-05 20:26:46 +02:00
}
2011-08-15 19:43:40 +02:00
div . fichecenter {
width : 100 % ;
clear : both ; /* This is to have div fichecenter that are true rectangles */
}
div . fichethirdleft {
2011-09-01 00:33:37 +02:00
< ? php if ( empty ( $conf -> browser -> phone )) { print " float: " . $left . " ; \n " ; } ?>
< ? php if ( empty ( $conf -> browser -> phone )) { print " width: 35%; \n " ; } ?>
2011-09-03 01:57:26 +02:00
< ? php if ( ! empty ( $conf -> browser -> phone )) { print " padding-bottom: 6px; \n " ; } ?>
2011-08-15 19:43:40 +02:00
}
div . fichetwothirdright {
2012-04-18 11:51:45 +02:00
< ? php if ( empty ( $conf -> browser -> phone )) { print " float: " . $right . " ; \n " ; } ?>
2011-09-01 00:33:37 +02:00
< ? php if ( empty ( $conf -> browser -> phone )) { print " width: 65%; \n " ; } ?>
2011-09-03 01:57:26 +02:00
< ? php if ( ! empty ( $conf -> browser -> phone )) { print " padding-bottom: 6px \n " ; } ?>
2011-08-15 19:43:40 +02:00
}
div . fichehalfleft {
2011-09-01 00:33:37 +02:00
< ? php if ( empty ( $conf -> browser -> phone )) { print " float: " . $left . " ; \n " ; } ?>
< ? php if ( empty ( $conf -> browser -> phone )) { print " width: 50%; \n " ; } ?>
2007-04-30 10:39:55 +02:00
}
2011-08-15 19:43:40 +02:00
div . fichehalfright {
2012-04-18 11:51:45 +02:00
< ? php if ( empty ( $conf -> browser -> phone )) { print " float: " . $right . " ; \n " ; } ?>
2011-09-01 00:33:37 +02:00
< ? php if ( empty ( $conf -> browser -> phone )) { print " width: 50%; \n " ; } ?>
2011-08-15 19:43:40 +02:00
}
div . ficheaddleft {
2012-01-14 00:39:58 +01:00
< ? php if ( empty ( $conf -> browser -> phone )) { print " padding-left: 16px; \n " ; } ?>
2011-08-15 19:43:40 +02:00
}
2007-04-30 10:39:55 +02:00
2006-06-05 20:26:46 +02:00
/* ============================================================================== */
2008-04-16 03:04:12 +02:00
/* Menu top et 1ere ligne tableau */
2006-06-05 20:26:46 +02:00
/* ============================================================================== */
2010-03-21 21:10:53 +01:00
< ? php
2010-05-05 09:54:03 +02:00
if ( ! empty ( $conf -> browser -> phone ))
{
$minwidthtmenu = 0 ;
$heightmenu = 19 ;
}
else
{
2012-05-01 23:40:23 +02:00
$minwidthtmenu = 66 ;
2012-05-02 00:03:11 +02:00
$heightmenu = 52 ;
2010-05-05 09:54:03 +02:00
}
2010-03-21 21:10:53 +01:00
?>
2012-05-01 23:40:23 +02:00
div #tmenu_tooltip {
< ? php if ( ! empty ( $conf -> global -> THEME_ELDY_ENABLE_PERSONALIZED ) || ! empty ( $user -> conf -> THEME_ELDY_ENABLE_PERSONALIZED )) {
$colortexttopmenu = $colortextmain ;
?>
background : rgb ( < ? php echo $colorback1 ?> );
< ? php } else {
2012-05-02 00:03:11 +02:00
$colortexttopmenu = '000000' ;
2012-05-01 23:40:23 +02:00
?>
2012-05-02 00:03:11 +02:00
background : rgb ( < ? php echo $colorback1 ?> );
2012-05-01 23:40:23 +02:00
< ? php
2012-05-02 13:39:30 +02:00
}
?>
margin - bottom : 10 px ;
2012-05-01 23:40:23 +02:00
}
div . tmenudiv {
2011-01-19 11:49:28 +01:00
< ? php if ( GETPOST ( " optioncss " ) == 'print' ) { ?>
2009-08-19 18:26:12 +02:00
display : none ;
< ? php } else { ?>
2006-06-05 20:26:46 +02:00
position : relative ;
display : block ;
white - space : nowrap ;
2010-03-21 21:10:53 +01:00
border - top : 0 px solid #D3E5EC;
2009-08-11 14:28:30 +02:00
border -< ? php print $left ; ?> : 0px;
border -< ? php print $right ; ?> : 0px solid #555555;
2010-03-21 21:10:53 +01:00
padding : 0 px 0 px 0 px 0 px ; /* t r b l */
2012-05-01 23:40:23 +02:00
margin : 0 px 0 px 0 px 0 px ; /* t r b l */
2012-04-18 11:51:45 +02:00
font - size : 13 px ;
2008-01-08 19:35:13 +01:00
font - weight : normal ;
2012-04-18 11:51:45 +02:00
height : < ? php print ( $heightmenu + 1 ); ?> px;
2012-01-14 00:39:58 +01:00
2012-04-17 10:27:42 +02:00
< ? php if ( $usecss3 ) { ?>
2012-05-01 23:40:23 +02:00
/* background-image: -o-linear-gradient(bottom, rgb(<?php echo $colorback1; ?>) 75%, rgb(<?php echo $colorback2; ?>) 100%); */
/* background-image: -moz-linear-gradient(bottom, rgb(<?php echo $colorback1; ?>) 75%, rgb(<?php echo $colorback2; ?>) 100%);*/
/* background-image: -webkit-linear-gradient(bottom, rgb(<?php echo $colorback1; ?>) 40%, rgb(<?php echo $colorback2; ?>) 60%, rgb(<?php echo $colorback1; ?>) 100%);*/
/* background-image: -ms-linear-gradient(bottom, rgb(<?php echo $colorback1; ?>) 75%, rgb(<?php echo $colorback2; ?>) 100%);*/
/* background-image: linear-gradient(bottom, rgb(<?php echo $colorback1; ?>) 75%, rgb(<?php echo $colorback2; ?>) 100%); */
background : url ( < ? php echo DOL_URL_ROOT . '/theme/eldy/img/nav-overlay3.png' ?> ) 50% 0% repeat-x;
2013-01-07 17:57:39 +01:00
border - bottom : 1 px solid rgb ( < ? php echo $colorback2 ; ?> );
box - shadow : 0 0 6 px rgba ( 0 , 0 , 0 , . 4 ) ! important ;
2012-04-17 10:27:42 +02:00
< ? php } else { ?>
2013-01-07 17:57:39 +01:00
border - bottom : 1 px solid #DDDDDD;
background - image : url ( < ? php echo DOL_URL_ROOT . '/theme/eldy/img/tmenu2.jpg' ?> );
2012-04-17 10:27:42 +02:00
background - position : top ;
background - repeat : repeat - x ;
< ? php } ?>
2006-08-20 01:00:53 +02:00
color : #000000;
2006-06-05 20:26:46 +02:00
text - decoration : none ;
2009-08-19 18:26:12 +02:00
< ? php } ?>
2006-06-05 20:26:46 +02:00
}
2008-11-16 19:55:00 +01:00
2010-04-07 12:03:44 +02:00
a . tmenudisabled : link , a . tmenudisabled : visited , a . tmenudisabled : hover , a . tmenudisabled : active {
2012-05-01 23:40:23 +02:00
color : #808080;
2008-11-16 19:55:00 +01:00
font - weight : normal ;
2009-06-03 21:54:48 +02:00
padding : 0 px 5 px 0 px 5 px ;
margin : 0 px 1 px 2 px 1 px ;
cursor : not - allowed ;
font - weight : normal ;
2010-03-21 21:10:53 +01:00
white - space : nowrap ;
2006-06-05 20:26:46 +02:00
}
2010-04-07 12:03:44 +02:00
a . tmenu : link , a . tmenu : visited , a . tmenu : hover , a . tmenu : active {
2012-01-14 00:39:58 +01:00
font - weight : normal ;
2010-03-21 21:10:53 +01:00
padding : 0 px 5 px 0 px 5 px ;
white - space : nowrap ;
2012-05-01 23:40:23 +02:00
/* text-shadow: 1px 1px 1px #000000; */
color : #<?php echo $colortexttopmenu; ?>;
2006-06-05 20:26:46 +02:00
}
2012-02-01 11:30:17 +01:00
a . tmenu : link , a . tmenu : visited {
2012-05-01 23:40:23 +02:00
color : #<?php echo $colortexttopmenu; ?>;
2012-02-01 11:30:17 +01:00
}
2010-04-07 12:03:44 +02:00
a . tmenu : hover , a . tmenu : active {
2010-03-21 21:10:53 +01:00
margin : 0 px 0 px 0 px 0 px ;
2012-05-01 23:40:23 +02:00
/* border-<?php print $right; ?>: 1px solid #555555; */
/* border-<?php print $left; ?>: 1px solid #D8D8D8; */
/* border-top: 1px solid #D8D8D8; */
/* border-bottom: 2px solid #F4F4F4; */
/* background: #F4F4F4; */
/* text-shadow: 1px 1px 1px #FFFFFF !important; */
color : #<?php echo $colortexttopmenu; ?>;
2006-06-05 20:26:46 +02:00
}
2009-06-03 21:54:48 +02:00
2010-04-07 12:03:44 +02:00
a . tmenusel : link , a . tmenusel : visited , a . tmenusel : hover , a . tmenusel : active {
2012-03-26 00:27:14 +02:00
font - weight : normal ;
2010-03-21 21:10:53 +01:00
padding : 0 px 5 px 0 px 5 px ;
margin : 0 px 0 px 0 px 0 px ;
2012-05-01 23:40:23 +02:00
/* background: #F4F4F4; */
/* border-<?php print $right; ?>: 1px solid #555555; */
/* border-top: 1px solid #D8D8D8; */
/* border-<?php print $left; ?>: 1px solid #D8D8D8; */
/* border-bottom: 2px solid #F4F4F4; */
2010-03-21 21:10:53 +01:00
white - space : nowrap ;
2012-05-01 23:40:23 +02:00
/* text-shadow: 1px 1px 1px #FFFFFF;*/
color : #<?php echo $colortexttopmenu; ?>;
2008-11-16 01:06:26 +01:00
}
2009-01-31 16:23:05 +01:00
2010-04-05 20:41:34 +02:00
ul . tmenu { /* t r b l */
2012-05-01 23:40:23 +02:00
padding : 0 px 0 px 0 px 0 px ;
margin : 0 px 0 px 0 px 0 px ;
2009-06-03 21:54:48 +02:00
list - style : none ;
2012-05-01 23:40:23 +02:00
height : < ? php print $heightmenu ; ?> px;
background : url ( < ? php echo DOL_URL_ROOT . '/theme/eldy/img/nav-overlay3.png' ?> ) 0 0 repeat-x !important;
2007-05-01 20:17:15 +02:00
}
2012-05-01 23:40:23 +02:00
li . tmenu , li . tmenusel {
2012-01-14 00:39:58 +01:00
< ? php print $minwidthtmenu ? 'min-width: ' . $minwidthtmenu . 'px;' : '' ; ?>
2010-04-05 20:41:34 +02:00
text - align : center ;
vertical - align : bottom ;
2009-09-28 23:59:09 +02:00
float : < ? php print $left ; ?> ;
2010-04-05 20:41:34 +02:00
height : < ? php print $heightmenu ; ?> px;
2007-05-01 20:17:15 +02:00
position : relative ;
display : block ;
2012-05-01 23:40:23 +02:00
padding : 0 px 0 px 0 px 0 px ;
margin : 0 px 0 px 0 px 0 px ;
2007-05-01 20:17:15 +02:00
font - weight : normal ;
}
2012-05-01 23:40:23 +02:00
li . tmenu : hover , li . tmenusel {
< ? php if ( $usecss3 ) { ?>
/* background-image: -o-linear-gradient(bottom, rgb(<?php echo $colorback1; ?>) 75%, rgb(<?php echo $colorback2; ?>) 100%); */
/* background-image: -moz-linear-gradient(bottom, rgb(<?php echo $colorback1; ?>) 75%, rgb(<?php echo $colorback2; ?>) 100%);*/
/* background-image: -webkit-linear-gradient(bottom, rgb(<?php echo $colorback1; ?>) 40%, rgb(<?php echo $colorback2; ?>) 60%, rgb(<?php echo $colorback1; ?>) 100%); */
/* background-image: -ms-linear-gradient(bottom, rgb(<?php echo $colorback1; ?>) 75%, rgb(<?php echo $colorback2; ?>) 100%);*/
/* background-image: linear-gradient(bottom, rgb(<?php echo $colorback1; ?>) 75%, rgb(<?php echo $colorback2; ?>) 100%); */
background : url ( < ? php echo DOL_URL_ROOT . '/theme/eldy/img/nav-overlay3.png' ?> ) 50% 0 repeat-x;
< ? php } ?>
}
div . tmenuleft
{
width : 5 px ;
float : < ? php print $left ; ?> ;
2012-05-02 00:03:11 +02:00
height : < ? php print $heightmenu + 4 ; ?> px;
background : url ( < ? php echo DOL_URL_ROOT . '/theme/eldy/img/menutab-r.png' ?> ) 0 0 no-repeat;
margin - top : - 4 px ;
2012-05-01 23:40:23 +02:00
}
div . tmenucenter
{
padding - top : 2 px ;
2012-05-02 13:39:30 +02:00
padding - left : 0 px ;
padding - right : 0 px ;
2012-05-01 23:40:23 +02:00
height : < ? php print $heightmenu ; ?> px;
2012-05-02 13:39:30 +02:00
width : 100 % ;
}
. mainmenuaspan
{
padding - right : 4 px ;
2012-05-04 13:13:12 +02:00
text - shadow : 1 px 1 px 1 px #DDD;
2012-05-01 23:40:23 +02:00
}
2007-05-01 20:17:15 +02:00
2010-04-02 00:43:07 +02:00
2010-04-07 08:29:35 +02:00
div . mainmenu {
2010-03-21 21:10:53 +01:00
position : relative ;
background - repeat : no - repeat ;
background - position : center top ;
2010-05-05 09:54:03 +02:00
height : < ? php echo ( $heightmenu - 19 ); ?> px;
2010-03-21 21:10:53 +01:00
margin - left : 0 px ;
2012-05-02 13:39:30 +02:00
min - width : 40 px ;
2010-02-19 01:01:08 +01:00
}
2010-05-05 09:54:03 +02:00
< ? php if ( empty ( $conf -> browser -> phone )) { ?>
2010-04-07 08:29:35 +02:00
div . mainmenu . home {
2011-08-17 16:29:14 +02:00
background - image : url ( < ? php echo dol_buildpath ( $path . '/theme/eldy/img/menus/home.png' , 1 ) ?> );
2012-05-02 13:39:30 +02:00
background - position - x : middle ;
2010-04-07 08:29:35 +02:00
}
2011-11-05 13:11:10 +01:00
div . mainmenu . accountancy {
background - image : url ( < ? php echo dol_buildpath ( $path . '/theme/eldy/img/menus/money.png' , 1 ) ?> );
}
div . mainmenu . agenda {
background - image : url ( < ? php echo dol_buildpath ( $path . '/theme/eldy/img/menus/agenda.png' , 1 ) ?> );
}
div . mainmenu . bank {
background - image : url ( < ? php echo dol_buildpath ( $path . '/theme/eldy/img/menus/bank.png' , 1 ) ?> );
}
div . mainmenu . bookmark {
}
div . mainmenu . cashdesk {
background - image : url ( < ? php echo dol_buildpath ( $path . '/theme/eldy/img/menus/pointofsale.png' , 1 ) ?> );
}
div . mainmenu . click2dial {
}
2010-04-07 08:29:35 +02:00
div . mainmenu . companies {
2011-08-17 16:29:14 +02:00
background - image : url ( < ? php echo dol_buildpath ( $path . '/theme/eldy/img/menus/members.png' , 1 ) ?> );
2011-08-15 20:25:58 +02:00
}
div . mainmenu . contacts {
2011-08-17 16:29:14 +02:00
background - image : url ( < ? php echo dol_buildpath ( $path . '/theme/eldy/img/menus/stethoscope.png' , 1 ) ?> );
2010-03-21 21:10:53 +01:00
}
2010-04-07 08:29:35 +02:00
div . mainmenu . commercial {
2011-08-17 16:29:14 +02:00
background - image : url ( < ? php echo dol_buildpath ( $path . '/theme/eldy/img/menus/commercial.png' , 1 ) ?> );
2010-03-21 21:10:53 +01:00
}
2011-11-05 13:11:10 +01:00
div . mainmenu . ecm {
background - image : url ( < ? php echo dol_buildpath ( $path . '/theme/eldy/img/menus/ecm.png' , 1 ) ?> );
2010-03-21 21:10:53 +01:00
}
2011-11-05 13:11:10 +01:00
div . mainmenu . externalsite {
background - image : url ( < ? php echo dol_buildpath ( $path . '/theme/eldy/img/menus/externalsite.png' , 1 ) ?> );
2010-07-28 22:59:02 +02:00
}
2011-11-05 13:11:10 +01:00
div . mainmenu . ftp {
background - image : url ( < ? php echo dol_buildpath ( $path . '/theme/eldy/img/menus/tools.png' , 1 ) ?> );
2010-04-03 17:08:09 +02:00
}
2011-11-05 13:11:10 +01:00
div . mainmenu . gravatar {
2010-03-21 21:10:53 +01:00
}
2011-11-05 13:11:10 +01:00
div . mainmenu . geopipmaxmind {
2010-08-26 04:07:52 +02:00
}
2012-09-19 15:10:23 +02:00
div . mainmenu . holiday {
background - image : url ( < ? php echo dol_buildpath ( $path . '/theme/eldy/img/menus/holiday.png' , 1 ) ?> );
}
2010-04-07 08:29:35 +02:00
div . mainmenu . members {
2011-08-17 16:29:14 +02:00
background - image : url ( < ? php echo dol_buildpath ( $path . '/theme/eldy/img/menus/members.png' , 1 ) ?> );
2010-04-03 17:08:09 +02:00
}
2011-11-05 13:11:10 +01:00
div . mainmenu . paypal {
2010-04-05 15:52:52 +02:00
}
2011-11-05 13:11:10 +01:00
div . mainmenu . products {
background - image : url ( < ? php echo dol_buildpath ( $path . '/theme/eldy/img/menus/products.png' , 1 ) ?> );
margin - left : 10 px ;
2010-03-21 21:10:53 +01:00
}
2011-11-05 13:11:10 +01:00
div . mainmenu . project {
background - image : url ( < ? php echo dol_buildpath ( $path . '/theme/eldy/img/menus/project.png' , 1 ) ?> );
2010-03-21 21:10:53 +01:00
}
2011-11-05 13:11:10 +01:00
div . mainmenu . tools {
background - image : url ( < ? php echo dol_buildpath ( $path . '/theme/eldy/img/menus/tools.png' , 1 ) ?> );
}
div . mainmenu . shop {
background - image : url ( < ? php echo dol_buildpath ( $path . '/theme/eldy/img/menus/shop.png' , 1 ) ?> );
}
div . mainmenu . webservices {
2010-04-03 17:08:09 +02:00
}
2010-07-14 14:29:56 +02:00
div . mainmenu . google {
2011-08-17 16:29:14 +02:00
background - image : url ( < ? php echo dol_buildpath ( $path . '/theme/eldy/img/menus/globe.png' , 1 ) ?> );
2010-07-14 14:29:56 +02:00
}
2011-08-15 20:25:58 +02:00
2010-04-14 22:21:47 +02:00
< ? php
// Add here more div for other menu entries. moduletomainmenu=array('module name'=>'name of class for div')
$moduletomainmenu = array ( 'user' => '' , 'syslog' => '' , 'societe' => 'companies' , 'projet' => 'project' , 'propale' => 'commercial' , 'commande' => 'commercial' ,
'produit' => 'products' , 'service' => 'products' , 'stock' => 'products' ,
'don' => 'accountancy' , 'tax' => 'accountancy' , 'banque' => 'accountancy' , 'facture' => 'accountancy' , 'compta' => 'accountancy' , 'accounting' => 'accountancy' , 'adherent' => 'members' , 'import' => 'tools' , 'export' => 'tools' , 'mailing' => 'tools' ,
'contrat' => 'commercial' , 'ficheinter' => 'commercial' , 'deplacement' => 'commercial' ,
'fournisseur' => 'companies' ,
'barcode' => '' , 'fckeditor' => '' , 'categorie' => '' ,
);
$mainmenuused = 'home' ;
2012-07-23 16:10:54 +02:00
foreach ( $conf -> modules as $val )
2010-04-14 22:21:47 +02:00
{
$mainmenuused .= ',' . ( isset ( $moduletomainmenu [ $val ]) ? $moduletomainmenu [ $val ] : $val );
2010-04-02 00:43:07 +02:00
}
2010-04-14 22:21:47 +02:00
//var_dump($mainmenuused);
$mainmenuusedarray = array_unique ( explode ( ',' , $mainmenuused ));
2010-04-02 00:43:07 +02:00
2010-04-14 22:21:47 +02:00
$generic = 1 ;
2012-09-19 15:10:23 +02:00
$divalreadydefined = array ( 'home' , 'companies' , 'products' , 'commercial' , 'accountancy' , 'project' , 'tools' , 'members' , 'shop' , 'agenda' , 'holiday' , 'bookmark' , 'cashdesk' , 'ecm' , 'geoipmaxmind' , 'gravatar' , 'clicktodial' , 'paypal' , 'webservices' );
2012-07-23 16:10:54 +02:00
foreach ( $mainmenuusedarray as $val )
2010-04-14 22:21:47 +02:00
{
if ( empty ( $val ) || in_array ( $val , $divalreadydefined )) continue ;
//print "XXX".$val;
// Search img file in module dir
$found = 0 ; $url = '' ;
foreach ( $conf -> file -> dol_document_root as $dirroot )
{
if ( file_exists ( $dirroot . " / " . $val . " /img/ " . $val . " .png " ))
{
2012-02-05 16:30:40 +01:00
$url = dol_buildpath ( '/' . $val . '/img/' . $val . '.png' , 1 );
2010-04-14 22:21:47 +02:00
$found = 1 ;
break ;
}
}
// Img file not found
2012-02-05 16:30:40 +01:00
if ( ! $found )
2010-04-14 22:21:47 +02:00
{
2011-08-17 16:29:14 +02:00
$url = dol_buildpath ( $path . '/theme/eldy/img/menus/generic' . $generic . " .png " , 1 );
2010-04-14 22:21:47 +02:00
$found = 1 ;
2012-02-05 16:30:40 +01:00
if ( $generic < 4 ) $generic ++ ;
print " /* A mainmenu entry but img file " . $val . " .png not found, so we use a generic one */ \n " ;
2010-04-14 22:21:47 +02:00
}
if ( $found )
{
print " div.mainmenu. " . $val . " { \n " ;
print " background-image: url( " . $url . " ); \n " ;
print " } \n " ;
}
}
// End of part to add more div class css
?>
2010-04-02 00:43:07 +02:00
2010-05-05 09:54:03 +02:00
< ? php
} // End test if not phone
?>
2007-05-01 20:17:15 +02:00
2010-08-26 04:07:52 +02:00
. tmenuimage {
padding : 0 0 0 0 ! important ;
margin : 0 0 px 0 0 ! important ;
}
2006-06-05 20:26:46 +02:00
/* Login */
2012-04-18 14:27:31 +02:00
form #login {
margin - top : 70 px ;
margin - bottom : 30 px ;
font - size : 13 px ;
}
. login_table_title {
width : 540 px ;
color : #888888;
text - shadow : 1 px 1 px 1 px #FFF;
}
. login_table label {
text - shadow : 1 px 1 px 1 px #FFF;
}
2012-03-05 15:51:24 +01:00
. login_table {
2012-06-02 14:07:38 +02:00
padding - left : 6 px ;
padding - right : 6 px ;
padding - top : 14 px ;
padding - bottom : 12 px ;
2012-04-18 14:27:31 +02:00
width : 540 px ;
border : 1 px solid #C0C0C0;
background - color : #E0E0E0;
2011-11-09 19:38:34 +01:00
- moz - box - shadow : 4 px 4 px 4 px #CCC;
- webkit - box - shadow : 4 px 4 px 4 px #CCC;
box - shadow : 4 px 4 px 4 px #CCC;
2012-04-18 14:27:31 +02:00
2012-05-02 11:57:32 +02:00
border - radius : 8 px ;
2012-04-18 14:27:31 +02:00
border : solid 1 px rgba ( 168 , 168 , 168 , . 4 );
border - top : solid 1 px f8f8f8 ;
background - color : #f8f8f8;
2012-04-30 09:57:57 +02:00
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 % );
2012-04-18 14:27:31 +02:00
}
2012-05-02 11:57:32 +02:00
table . login_table tr td table . none tr td {
padding : 2 px ;
}
2012-04-18 14:27:31 +02:00
#img_securitycode {
border : 1 px solid #DDDDDD;
}
#img_logo {
max - width : 200 px ;
2011-11-09 19:38:34 +01:00
}
2011-01-10 09:13:31 +01:00
div . login_block {
position : absolute ;
< ? php print $right ; ?> : 5px;
2011-01-10 20:37:59 +01:00
top : 3 px ;
2011-01-10 09:13:31 +01:00
font - weight : bold ;
2011-01-19 11:49:28 +01:00
< ? php if ( GETPOST ( " optioncss " ) == 'print' ) { ?>
display : none ;
< ? php } ?>
2011-01-10 09:13:31 +01:00
}
div . login_block table {
display : inline ;
}
2010-11-05 18:47:41 +01:00
div . login {
2011-01-12 10:47:23 +01:00
white - space : nowrap ;
2012-03-26 00:27:14 +02:00
padding : < ? php echo ( $conf -> browser -> phone ? '0' : '8' ) ?> px 0px 0px 0px;
2011-02-03 23:01:11 +01:00
margin : 0 px 0 px 0 px 8 px ;
2011-01-10 09:13:31 +01:00
font - weight : bold ;
2006-06-05 20:26:46 +02:00
}
2010-11-05 18:47:41 +01:00
div . login a {
2012-05-01 23:40:23 +02:00
color : #<?php echo $colortextmain; ?>;
2010-11-05 18:47:41 +01:00
}
div . login a : hover {
2012-05-01 23:40:23 +02:00
color : #<?php echo $colortextmain; ?>;
2010-11-05 18:47:41 +01:00
text - decoration : underline ;
2006-06-05 20:26:46 +02:00
}
2012-08-26 13:24:28 +02:00
img . login , img . printer , img . entity {
2011-01-12 15:56:32 +01:00
padding : < ? php echo ( $conf -> browser -> phone ? '0' : '8' ) ?> px 0px 0px 0px;
2011-01-10 09:13:31 +01:00
margin : 0 px 0 px 0 px 8 px ;
text - decoration : none ;
color : white ;
font - weight : bold ;
2011-01-06 16:54:44 +01:00
}
2006-06-05 20:26:46 +02:00
/* ============================================================================== */
2009-08-19 18:26:12 +02:00
/* Menu gauche */
2006-06-05 20:26:46 +02:00
/* ============================================================================== */
2011-08-15 19:43:40 +02:00
td . vmenu {
margin -< ? php print $right ; ?> : 2px;
padding : 0 px ;
padding - bottom : 0 px ;
padding - top : 1 px ;
2012-01-14 00:39:58 +01:00
width : 174 px ;
2011-08-15 19:43:40 +02:00
}
2009-08-19 18:26:12 +02:00
. vmenu {
2012-01-14 00:39:58 +01:00
margin - left : 4 px ;
< ? php if ( GETPOST ( " optioncss " ) == 'print' ) { ?>
2010-09-29 12:51:36 +02:00
display : none ;
2009-08-19 18:26:12 +02:00
< ? php } ?>
2012-01-14 00:39:58 +01:00
}
2009-08-19 18:26:12 +02:00
2012-02-10 19:47:08 +01:00
. menu_contenu { padding - top : 1 px ; }
2010-05-13 02:32:01 +02:00
a . vmenu : link , a . vmenu : visited , a . vmenu : hover , a . vmenu : active { font - size :< ? php print $fontsize ?> px; font-family: <?php print $fontlist ?>; text-align: <?php print $left; ?>; font-weight: bold; }
font . vmenudisabled { font - size :< ? php print $fontsize ?> px; font-family: <?php print $fontlist ?>; text-align: <?php print $left; ?>; font-weight: bold; color: #93a5aa; }
2012-02-01 11:30:17 +01:00
a . vmenu : link , a . vmenu : visited { color : #<?php echo $colortextmain; ?>; }
2006-06-05 20:26:46 +02:00
2013-01-05 16:32:58 +01:00
a . vsmenu : link , a . vsmenu : visited , a . vsmenu : hover , a . vsmenu : active { font - size :< ? php print $fontsize ?> px; font-family: <?php print $fontlist ?>; text-align: <?php print $left; ?>; font-weight: normal; color: #202020; padding: 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; margin: 1px 1px 1px 8px; }
2012-02-01 11:30:17 +01:00
a . vsmenu : link , a . vsmenu : visited { color : #<?php echo $colortextmain; ?>; }
2006-06-05 20:26:46 +02:00
2012-01-14 00:39:58 +01:00
a . help : link , a . help : visited , a . help : hover , a . help : active { font - size :< ? php print $fontsizesmaller ?> px; font-family: <?php print $fontlist ?>; text-align: <?php print $left; ?>; font-weight: normal; color: #666666; }
2007-05-01 20:17:15 +02:00
2006-06-05 20:26:46 +02:00
2012-04-28 16:40:15 +02:00
div . blockvmenupair , div . blockvmenuimpair , div . blockvmenubookmarks
2010-09-29 12:51:36 +02:00
{
2012-01-14 00:39:58 +01:00
width : 174 px ;
2010-05-13 02:32:01 +02:00
font - family : < ? php print $fontlist ?> ;
2006-08-20 01:00:53 +02:00
color : #000000;
2009-08-11 14:28:30 +02:00
text - align : < ? php print $left ; ?> ;
2006-06-05 20:26:46 +02:00
text - decoration : none ;
2012-01-14 00:39:58 +01:00
padding - left : 5 px ;
2007-11-09 03:15:16 +01:00
padding - right : 1 px ;
padding - top : 3 px ;
padding - bottom : 3 px ;
2012-01-14 00:39:58 +01:00
margin : 1 px 0 px 8 px 2 px ;
2012-04-17 10:27:42 +02:00
< ? php if ( $usecss3 ) { ?>
2013-01-08 18:31:55 +01:00
background - image : - o - linear - gradient ( bottom , rgb ( < ? php echo $colorbacktab2 ; ?> ) 0px, rgb(<?php echo $colorbacktab1; ?>) 8px);
background - image : - moz - linear - gradient ( bottom , rgb ( < ? php echo $colorbacktab2 ; ?> ) 0px, rgb(<?php echo $colorbacktab1; ?>) 8px);
/* background-image: -webkit-linear-gradient(bottom, rgb(<?php echo $colorbacktab1; ?>) 90%, rgb(<?php echo $colorbacktab2; ?>) 100%); */
background - image : - webkit - linear - gradient ( right , rgb ( < ? php echo $colorbacktab2 ; ?> ) 0px, rgb(<?php echo $colorbacktab1; ?>) 8px);
background - image : - ms - linear - gradient ( bottom , rgb ( < ? php echo $colorbacktab2 ; ?> ) 0px, rgb(<?php echo $colorbacktab1; ?>) 8px);
background - image : linear - gradient ( bottom , rgb ( < ? php echo $colorbacktab2 ; ?> ) 0px, rgb(<?php echo $colorbacktab1; ?>) 8px);
2012-04-17 10:27:42 +02:00
< ? php } else { ?>
background - image : url ( < ? php echo DOL_URL_ROOT . '/theme/eldy/img/tmenu.jpg' ?> );
background - position : top ;
background - repeat : repeat - x ;
< ? php } ?>
2012-01-14 00:39:58 +01:00
border - left : 1 px solid #CCCCCC;
border - right : 1 px solid #BBBBBB;
border - bottom : 1 px solid #BBBBBB;
2013-01-08 18:31:55 +01:00
border - top : 1 px solid #DDDDDD;
border - radius : 5 px ;
2012-01-14 00:39:58 +01:00
- moz - border - radius : 5 px ;
- moz - box - shadow : 4 px 4 px 4 px #CCC;
- webkit - box - shadow : 4 px 4 px 4 px #CCC;
box - shadow : 4 px 4 px 4 px #CCC;
2006-06-05 20:26:46 +02:00
}
2010-09-29 12:51:36 +02:00
div . blockvmenusearch
{
2012-01-14 00:39:58 +01:00
width : 174 px ;
2010-06-26 02:16:59 +02:00
font - family : < ? php print $fontlist ?> ;
color : #000000;
text - align : < ? php print $left ; ?> ;
text - decoration : none ;
2012-01-14 00:39:58 +01:00
padding - left : 5 px ;
2010-06-26 02:16:59 +02:00
padding - right : 1 px ;
padding - top : 3 px ;
padding - bottom : 3 px ;
2012-09-27 01:38:31 +02:00
margin : 1 px 0 px 8 px 2 px ;
2010-07-10 22:59:18 +02:00
background : #E3E6E8;
2012-01-14 00:39:58 +01:00
2012-04-17 10:27:42 +02:00
< ? php if ( $usecss3 ) { ?>
2013-01-07 17:57:39 +01:00
background - image : - o - linear - gradient ( bottom , rgb ( < ? php echo $colorbacktab1b ; ?> ) 90%, rgb(<?php echo $colorbacktab2; ?>) 100%);
background - image : - moz - linear - gradient ( bottom , rgb ( < ? php echo $colorbacktab1b ; ?> ) 90%, rgb(<?php echo $colorbacktab2; ?>) 100%);
background - image : - webkit - linear - gradient ( bottom , rgb ( < ? php echo $colorbacktab1b ; ?> ) 90%, rgb(<?php echo $colorbacktab2; ?>) 100%);
background - image : - ms - linear - gradient ( bottom , rgb ( < ? php echo $colorbacktab1b ; ?> ) 90%, rgb(<?php echo $colorbacktab2; ?>) 100%);
background - image : linear - gradient ( bottom , rgb ( < ? php echo $colorbacktab1b ; ?> ) 90%, rgb(<?php echo $colorbacktab2; ?>) 100%);
2012-04-17 10:27:42 +02:00
< ? php } ?>
2012-01-14 00:39:58 +01:00
border - left : 1 px solid #CCCCCC;
border - right : 1 px solid #BBBBBB;
border - bottom : 1 px solid #BBBBBB;
border - radius : 5 px ;
- moz - border - radius : 5 px ;
- moz - box - shadow : 4 px 4 px 4 px #CCC;
- webkit - box - shadow : 4 px 4 px 4 px #CCC;
box - shadow : 4 px 4 px 4 px #CCC;
2010-06-26 02:16:59 +02:00
}
2012-04-28 16:40:15 +02:00
div . blockvmenubookmarksold
2010-07-10 22:59:18 +02:00
{
2012-01-14 00:39:58 +01:00
width : 174 px ;
2010-09-29 12:51:36 +02:00
border - right : 1 px solid #555555;
border - bottom : 1 px solid #555555;
font - family : < ? php print $fontlist ?> ;
color : #000000;
text - align : < ? php print $left ; ?> ;
text - decoration : none ;
2012-01-14 00:39:58 +01:00
padding - left : 5 px ;
2010-09-29 12:51:36 +02:00
padding - right : 1 px ;
padding - top : 3 px ;
padding - bottom : 3 px ;
2012-01-14 00:39:58 +01:00
margin : 6 px 0 px 8 px 2 px ;
2010-09-29 12:51:36 +02:00
background : #E3E6E8;
2012-01-14 00:39:58 +01:00
2012-04-17 10:27:42 +02:00
< ? php if ( $usecss3 ) { ?>
2013-01-07 17:57:39 +01:00
background - image : - o - linear - gradient ( bottom , rgb ( < ? php echo $colorbacktab1b ; ?> ) 90%, rgb(<?php echo $colorbacktab2; ?>) 100%);
background - image : - moz - linear - gradient ( bottom , rgb ( < ? php echo $colorbacktab1b ; ?> ) 90%, rgb(<?php echo $colorbacktab2; ?>) 100%);
background - image : - webkit - linear - gradient ( bottom , rgb ( < ? php echo $colorbacktab1b ; ?> ) 90%, rgb(<?php echo $colorbacktab2; ?>) 100%);
background - image : - ms - linear - gradient ( bottom , rgb ( < ? php echo $colorbacktab1b ; ?> ) 90%, rgb(<?php echo $colorbacktab2; ?>) 100%);
background - image : linear - gradient ( bottom , rgb ( < ? php echo $colorbacktab1b ; ?> ) 90%, rgb(<?php echo $colorbacktab2; ?>) 100%);
2012-04-17 10:27:42 +02:00
< ? php } ?>
2012-01-14 00:39:58 +01:00
border - left : 1 px solid #CCCCCC;
border - right : 1 px solid #BBBBBB;
border - bottom : 1 px solid #BBBBBB;
border - radius : 5 px ;
- moz - border - radius : 5 px ;
- moz - box - shadow : 4 px 4 px 4 px #CCC;
- webkit - box - shadow : 4 px 4 px 4 px #CCC;
box - shadow : 4 px 4 px 4 px #CCC;
2010-07-10 22:59:18 +02:00
}
2010-09-29 12:51:36 +02:00
div . blockvmenuhelp
{
< ? php if ( empty ( $conf -> browser -> phone )) { ?>
2012-01-14 00:39:58 +01:00
width : 174 px ;
2010-05-13 02:32:01 +02:00
font - family : < ? php print $fontlist ?> ;
2006-08-20 01:00:53 +02:00
color : #000000;
2012-01-14 00:39:58 +01:00
text - align : center ;
2006-06-05 20:26:46 +02:00
text - decoration : none ;
2012-01-14 00:39:58 +01:00
padding - left : 0 px ;
padding - right : 3 px ;
2007-11-09 03:15:16 +01:00
padding - top : 3 px ;
padding - bottom : 3 px ;
2012-01-14 00:39:58 +01:00
margin : 4 px 0 px 0 px 0 px ;
2010-09-29 12:51:36 +02:00
< ? php } else { ?>
display : none ;
< ? php } ?>
2006-06-05 20:26:46 +02:00
}
2006-08-20 01:00:53 +02:00
td . barre {
2006-06-05 20:26:46 +02:00
border - right : 1 px solid #000000;
border - bottom : 1 px solid #000000;
background : #b3c5cc;
2010-05-13 02:32:01 +02:00
font - family : < ? php print $fontlist ?> ;
2006-08-20 01:00:53 +02:00
color : #000000;
2009-08-11 14:28:30 +02:00
text - align : < ? php print $left ; ?> ;
2006-06-05 20:26:46 +02:00
text - decoration : none ;
}
2006-08-20 01:00:53 +02:00
td . barre_select {
background : #b3c5cc;
2006-06-05 20:26:46 +02:00
color : #000000;
}
td . photo {
2006-08-20 01:00:53 +02:00
background : #F4F4F4;
2006-06-05 20:26:46 +02:00
color : #000000;
border : 1 px solid #b3c5cc;
}
2010-10-31 10:05:56 +01:00
/* ============================================================================== */
/* Panes for Main */
/* ============================================================================== */
/*
* PANES and CONTENT - DIVs
*/
2010-10-31 10:16:37 +01:00
#mainContent, #leftContent .ui-layout-pane {
2010-10-31 10:05:56 +01:00
padding : 0 px ;
overflow : auto ;
}
2010-10-31 10:16:37 +01:00
#mainContent, #leftContent .ui-layout-center {
2010-10-31 10:05:56 +01:00
padding : 0 px ;
position : relative ; /* contain floated or positioned elements */
overflow : auto ; /* add scrolling to content-div */
}
2006-06-05 20:26:46 +02:00
2010-08-27 21:44:52 +02:00
/* ============================================================================== */
/* Toolbar for ECM or Filemanager */
/* ============================================================================== */
2012-12-29 23:40:16 +01:00
. largebutton {
2012-04-17 10:27:42 +02:00
< ? php if ( $usecss3 ) { ?>
2012-03-24 15:20:49 +01:00
background - image : - o - linear - gradient ( bottom , rgb ( < ? php echo '240,240,240' ; ?> ) 15%, rgb(<?php echo '255,255,255'; ?>) 100%) !important;
background - image : - moz - linear - gradient ( bottom , rgb ( < ? php echo '240,240,240' ; ?> ) 15%, rgb(<?php echo '255,255,255'; ?>) 100%) !important;
background - image : - webkit - linear - gradient ( bottom , rgb ( < ? php echo '240,240,240' ; ?> ) 15%, rgb(<?php echo '255,255,255'; ?>) 100%) !important;
background - image : - ms - linear - gradient ( bottom , rgb ( < ? php echo '240,240,240' ; ?> ) 15%, rgb(<?php echo '255,255,255'; ?>) 100%) !important;
2012-04-17 10:27:42 +02:00
background - image : linear - gradient ( bottom , rgb ( < ? php echo '240,240,240' ; ?> ) 15%, rgb(<?php echo '255,255,255'; ?>) 100%) !important;
< ? php } else { ?>
background - image : url ( < ? php echo DOL_URL_ROOT . '/theme/' . $conf -> theme . '/img/tmenu2.jpg' ?> ) !important;
background - repeat : repeat - x ! important ;
< ? php } ?>
2012-03-24 15:20:49 +01:00
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 : 4 px 4 px 4 px #EEE;
- webkit - box - shadow : 4 px 4 px 4 px #EEE;
box - shadow : 4 px 4 px 4 px #EEE;
2012-01-14 00:39:58 +01:00
2012-03-24 15:20:49 +01:00
padding : 0 4 px 0 4 px ! important ;
2012-12-29 23:40:16 +01:00
}
2012-03-31 18:34:42 +02:00
2012-12-29 23:40:16 +01:00
. toolbar {
2012-03-31 18:34:42 +02:00
height : 34 px ! important ;
2010-08-27 21:44:52 +02:00
}
2012-03-24 15:20:49 +01:00
a . toolbarbutton {
2012-03-26 03:09:35 +02:00
margin - top : 0 px ;
2010-08-27 21:44:52 +02:00
margin - left : 4 px ;
2012-03-24 15:20:49 +01:00
margin - right : 4 px ;
height : 30 px ;
}
img . toolbarbutton {
2012-03-26 03:09:35 +02:00
margin - top : 1 px ;
height : 30 px ;
2010-08-27 21:44:52 +02:00
}
2010-08-27 23:03:38 +02:00
/* ============================================================================== */
/* Panes for ECM or Filemanager */
/* ============================================================================== */
2010-12-20 16:45:19 +01:00
#containerlayout .layout-with-no-border {
border : 0 ! important ;
border - width : 0 ! important ;
}
2010-12-20 17:08:15 +01:00
#containerlayout .layout-padding {
padding : 2 px ! important ;
}
2010-08-27 22:41:54 +02:00
/*
2010-10-27 21:38:45 +02:00
* PANES and CONTENT - DIVs
2010-08-27 22:41:54 +02:00
*/
2010-11-02 10:48:05 +01:00
#containerlayout .ui-layout-pane { /* all 'panes' */
2010-08-27 22:41:54 +02:00
background : #FFF;
border : 1 px solid #BBB;
/* DO NOT add scrolling ( or padding ) to 'panes' that have a content - div ,
otherwise you may get double - scrollbars - on the pane AND on the content - div
*/
padding : 0 px ;
overflow : auto ;
2010-11-02 10:48:05 +01:00
}
/* (scrolling) content-div inside pane allows for fixed header(s) and/or footer(s) */
#containerlayout .ui-layout-content {
padding : 10 px ;
position : relative ; /* contain floated or positioned elements */
overflow : auto ; /* add scrolling to content-div */
}
2010-08-27 22:41:54 +02:00
/*
* RESIZER - BARS
*/
. ui - layout - resizer { /* all 'resizer-bars' */
2011-09-01 00:33:37 +02:00
width : < ? php echo ( empty ( $conf -> browser -> phone ) ? '8' : '24' ); ?> px !important;
2011-08-15 19:43:40 +02:00
}
. ui - layout - resizer - hover { /* affects both open and closed states */
}
/* NOTE : It looks best when 'hover' and 'dragging' are set to the same color ,
otherwise color shifts while dragging when bar can ' t keep up with mouse */
/*.ui-layout-resizer-open-hover ,*/ /* hover-color to 'resize' */
. ui - layout - resizer - dragging { /* resizer beging 'dragging' */
background : #DDD;
2011-09-01 00:33:37 +02:00
width : < ? php echo ( empty ( $conf -> browser -> phone ) ? '8' : '24' ); ?> px;
2011-08-15 19:43:40 +02:00
}
. ui - layout - resizer - dragging { /* CLONED resizer being dragged */
border - left : 1 px solid #BBB;
border - right : 1 px solid #BBB;
}
/* NOTE: Add a 'dragging-limit' color to provide visual feedback when resizer hits min/max size limits */
. ui - layout - resizer - dragging - limit { /* CLONED resizer at min or max size-limit */
background : #E1A4A4; /* red */
}
2011-09-01 01:05:11 +02:00
. ui - layout - resizer - closed {
background - color : #DDDDDD;
}
2011-08-15 19:43:40 +02:00
. ui - layout - resizer - closed : hover {
background - color : #EEDDDD;
}
. ui - layout - resizer - sliding { /* resizer when pane is 'slid open' */
opacity : . 10 ; /* show only a slight shadow */
filter : alpha ( opacity = 10 );
2011-09-01 00:33:37 +02:00
}
. ui - layout - resizer - sliding - hover { /* sliding resizer - hover */
opacity : 1.00 ; /* on-hover, show the resizer-bar normally */
filter : alpha ( opacity = 100 );
}
/* sliding resizer - add 'outside-border' to resizer on-hover */
/* this sample illustrates how to target specific panes and states */
2011-09-01 01:05:11 +02:00
/*. ui - layout - resizer - north - sliding - hover { border - bottom - width : 1 px ; }
2011-08-15 19:43:40 +02:00
. ui - layout - resizer - south - sliding - hover { border - top - width : 1 px ; }
. ui - layout - resizer - west - sliding - hover { border - right - width : 1 px ; }
. ui - layout - resizer - east - sliding - hover { border - left - width : 1 px ; }
2011-09-01 01:05:11 +02:00
*/
2010-08-27 22:41:54 +02:00
/*
* TOGGLER - BUTTONS
*/
. ui - layout - toggler {
2011-09-01 01:05:11 +02:00
< ? php if ( empty ( $conf -> browser -> phone )) { ?>
2011-08-15 19:43:40 +02:00
border - top : 1 px solid #AAA; /* match pane-border */
border - right : 1 px solid #AAA; /* match pane-border */
border - bottom : 1 px solid #AAA; /* match pane-border */
background - color : #DDD;
top : 5 px ! important ;
2011-09-01 01:05:11 +02:00
< ? php } else { ?>
diplay : none ;
< ? php } ?>
}
2011-08-15 19:43:40 +02:00
. ui - layout - toggler - open {
2011-09-01 01:05:11 +02:00
height : 54 px ! important ;
2011-09-01 00:33:37 +02:00
width : < ? php echo ( empty ( $conf -> browser -> phone ) ? '7' : '22' ); ?> px !important;
2011-08-15 19:43:40 +02:00
- moz - border - radius : 0 px 10 px 10 px 0 px ;
- webkit - border - radius : 0 px 10 px 10 px 0 px ;
border - radius : 0 px 10 px 10 px 0 px ;
}
. ui - layout - toggler - closed {
2011-09-01 01:29:44 +02:00
height : < ? php echo ( empty ( $conf -> browser -> phone ) ? '54' : '2' ); ?> px !important;
2011-09-01 00:33:37 +02:00
width : < ? php echo ( empty ( $conf -> browser -> phone ) ? '7' : '22' ); ?> px !important;
2011-08-15 19:43:40 +02:00
- moz - border - radius : 0 px 10 px 10 px 0 px ;
- webkit - border - radius : 0 px 10 px 10 px 0 px ;
border - radius : 0 px 10 px 10 px 0 px ;
}
. ui - layout - toggler . content { /* style the text we put INSIDE the togglers */
color : #666;
font - size : 12 px ;
font - weight : bold ;
width : 100 % ;
padding - bottom : 0.35 ex ; /* to 'vertically center' text inside text-span */
}
/* hide the toggler-button when the pane is 'slid open' */
. ui - layout - resizer - sliding ui - layout - toggler {
display : none ;
}
. ui - layout - north {
height : < ? php print ( empty ( $conf -> browser -> phone ) ? '54' : '21' ); ?> px !important;
}
2012-03-21 21:32:36 +01:00
2011-08-15 19:43:40 +02:00
/* ECM */
#containerlayout .ecm-layout-pane { /* all 'panes' */
background : #FFF;
border : 1 px solid #BBB;
/* DO NOT add scrolling ( or padding ) to 'panes' that have a content - div ,
otherwise you may get double - scrollbars - on the pane AND on the content - div
*/
padding : 0 px ;
overflow : auto ;
}
/* (scrolling) content-div inside pane allows for fixed header(s) and/or footer(s) */
#containerlayout .ecm-layout-content {
padding : 10 px ;
position : relative ; /* contain floated or positioned elements */
overflow : auto ; /* add scrolling to content-div */
}
. ecm - layout - toggler {
2011-10-26 17:06:59 +02:00
border - top : 1 px solid #AAA; /* match pane-border */
border - right : 1 px solid #AAA; /* match pane-border */
border - bottom : 1 px solid #AAA; /* match pane-border */
background - color : #CCC;
2010-08-27 22:41:54 +02:00
}
2011-08-15 19:43:40 +02:00
. ecm - layout - toggler - open {
height : 48 px ! important ;
width : 6 px ! important ;
2011-10-26 17:06:59 +02:00
- moz - border - radius : 0 px 10 px 10 px 0 px ;
- webkit - border - radius : 0 px 10 px 10 px 0 px ;
border - radius : 0 px 10 px 10 px 0 px ;
2011-08-15 19:43:40 +02:00
}
. ecm - layout - toggler - closed {
height : 48 px ! important ;
width : 6 px ! important ;
}
2011-10-26 17:06:59 +02:00
2011-08-15 19:43:40 +02:00
. ecm - layout - toggler . content { /* style the text we put INSIDE the togglers */
color : #666;
font - size : 12 px ;
font - weight : bold ;
width : 100 % ;
padding - bottom : 0.35 ex ; /* to 'vertically center' text inside text-span */
}
#ecm-layout-west-resizer {
width : 6 px ! important ;
}
. ecm - layout - resizer { /* all 'resizer-bars' */
border : 1 px solid #BBB;
border - width : 0 ;
2010-08-27 22:41:54 +02:00
}
2011-10-26 15:04:37 +02:00
. ecm - layout - resizer - closed {
}
2010-08-27 22:41:54 +02:00
2011-07-06 13:40:21 +02:00
. ecm - in - layout - center {
2011-08-15 19:43:40 +02:00
border - left : 1 px ! important ;
2010-08-27 22:41:54 +02:00
border - right : 0 px ! important ;
border - top : 0 px ! important ;
}
2011-07-06 13:40:21 +02:00
. ecm - in - layout - south {
2010-08-27 22:41:54 +02:00
border - left : 0 px ! important ;
border - right : 0 px ! important ;
border - bottom : 0 px ! important ;
padding : 4 px 0 4 px 4 px ! important ;
}
2010-08-27 21:44:52 +02:00
2006-06-05 20:26:46 +02:00
2011-10-26 15:04:37 +02:00
2006-06-05 20:26:46 +02:00
/* ============================================================================== */
/* Onglets */
/* ============================================================================== */
div . tabs {
top : 20 px ;
2012-03-19 18:54:12 +01:00
margin : 1 px 0 px 2 px 0 px ;
2006-06-05 20:26:46 +02:00
padding : 0 px 6 px 0 px 0 px ;
2009-08-11 14:28:30 +02:00
text - align : < ? php print $left ; ?> ;
2006-06-05 20:26:46 +02:00
}
div . tabBar {
2012-02-01 11:30:17 +01:00
color : #<?php echo $colortextmain; ?>;
2010-10-18 20:45:20 +02:00
padding - top : 9 px ;
padding - left : 8 px ;
padding - right : 8 px ;
padding - bottom : 8 px ;
2011-08-13 02:47:59 +02:00
margin : 0 px 0 px 14 px 0 px ;
2011-08-08 00:58:48 +02:00
- moz - border - radius : 6 px ;
- webkit - border - radius : 6 px ;
border - radius : 6 px ;
2012-01-14 00:39:58 +01:00
border - right : 1 px solid #CCCCCC;
border - bottom : 1 px solid #CCCCCC;
2006-06-05 20:26:46 +02:00
border - left : 1 px solid #D0D0D0;
border - top : 1 px solid #D8D8D8;
2012-01-14 00:39:58 +01:00
2012-04-17 10:27:42 +02:00
< ? php if ( $usecss3 ) { ?>
2012-01-14 00:39:58 +01:00
background - image : - o - linear - gradient ( bottom , rgb ( < ? php echo $colorbacktabcard1 ; ?> ) 25%, rgb(<?php echo $colorbacktabcard2; ?>) 100%);
background - image : - moz - linear - gradient ( bottom , rgb ( < ? php echo $colorbacktabcard1 ; ?> ) 25%, rgb(<?php echo $colorbacktabcard2; ?>) 100%);
background - image : - webkit - linear - gradient ( bottom , rgb ( < ? php echo $colorbacktabcard1 ; ?> ) 25%, rgb(<?php echo $colorbacktabcard2; ?>) 100%);
background - image : - ms - linear - gradient ( bottom , rgb ( < ? php echo $colorbacktabcard1 ; ?> ) 25%, rgb(<?php echo $colorbacktabcard2; ?>) 100%);
2012-04-17 10:27:42 +02:00
background - image : linear - gradient ( bottom , rgb ( < ? php echo $colorbacktabcard1 ; ?> ) 25%, rgb(<?php echo $colorbacktabcard2; ?>) 100%);
< ? php } else { ?>
background : #dee7ec url(<?php echo DOL_URL_ROOT.'/theme/eldy/img/tab_background.png' ?>) repeat-x;
< ? php } ?>
2012-01-14 00:39:58 +01:00
- moz - box - shadow : 4 px 4 px 4 px #CCC;
- webkit - box - shadow : 4 px 4 px 4 px #CCC;
box - shadow : 4 px 4 px 4 px #CCC;
2006-06-05 20:26:46 +02:00
}
div . tabsAction {
2011-08-13 15:03:03 +02:00
margin : 20 px 0 em 10 px 0 em ;
2006-06-05 20:26:46 +02:00
padding : 0 em 0 em ;
text - align : right ;
}
2007-08-08 13:45:27 +02:00
2006-06-05 20:26:46 +02:00
a . tabTitle {
2011-04-04 20:42:28 +02:00
background : #657090;
2006-06-05 20:26:46 +02:00
color : white ;
2010-05-13 02:32:01 +02:00
font - family : < ? php print $fontlist ?> ;
2011-05-03 20:15:11 +02:00
font - weight : normal ;
2012-03-19 18:54:12 +01:00
padding : 0 px 6 px 2 px 6 px ;
2006-06-05 20:26:46 +02:00
margin : 0 px 6 px ;
text - decoration : none ;
white - space : nowrap ;
}
2012-03-19 18:54:12 +01:00
a . tab : link , a . tab : visited , a . tab : hover , a . tab #active {
2010-05-13 02:32:01 +02:00
font - family : < ? php print $fontlist ?> ;
2012-03-19 18:54:12 +01:00
padding : 2 px 6 px 2 px 6 px ;
2006-06-05 20:26:46 +02:00
margin : 0 em 0.2 em ;
text - decoration : none ;
white - space : nowrap ;
2011-08-08 00:58:48 +02:00
- 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 ;
2006-06-05 20:26:46 +02:00
2009-08-11 14:28:30 +02:00
border -< ? php print $right ; ?> : 1px solid #555555;
border -< ? php print $left ; ?> : 1px solid #D8D8D8;
2006-06-05 20:26:46 +02:00
border - top : 1 px solid #D8D8D8;
2012-01-14 00:39:58 +01:00
2012-04-17 10:27:42 +02:00
< ? php if ( $usecss3 ) { ?>
2012-03-19 18:54:12 +01:00
background - image : - o - linear - gradient ( bottom , rgb ( < ? php echo $colorbacktab1 ; ?> ) 35%, rgb(<?php echo $colorbacktab2; ?>) 100%);
background - image : - moz - linear - gradient ( bottom , rgb ( < ? php echo $colorbacktab1 ; ?> ) 35%, rgb(<?php echo $colorbacktab2; ?>) 100%);
background - image : - webkit - linear - gradient ( bottom , rgb ( < ? php echo $colorbacktab1 ; ?> ) 35%, rgb(<?php echo $colorbacktab2; ?>) 100%);
background - image : - ms - linear - gradient ( bottom , rgb ( < ? php echo $colorbacktab1 ; ?> ) 35%, rgb(<?php echo $colorbacktab2; ?>) 100%);
2012-04-17 10:27:42 +02:00
background - image : linear - gradient ( bottom , rgb ( < ? php echo $colorbacktab1 ; ?> ) 35%, rgb(<?php echo $colorbacktab2; ?>) 100%);
< ? php } else { ?>
background : #dee7ec;
< ? php } ?>
2006-06-05 20:26:46 +02:00
}
2012-01-14 00:39:58 +01:00
2009-06-15 16:33:51 +02:00
a . tab #active {
2012-04-17 10:27:42 +02:00
< ? php if ( $usecss3 ) { ?>
2012-03-19 18:54:12 +01:00
border - bottom : 1 px solid rgb ( < ? php echo $colorbacktabactive ; ?> ) !important;
background - color : rgb ( < ? php echo $colorbacktabactive ; ?> ) !important;
2012-04-17 10:27:42 +02:00
< ? php } else { ?>
background : #ffffff;
< ? php } ?>
2012-03-19 18:54:12 +01:00
background - image : none ! important ;
2006-06-05 20:26:46 +02:00
}
2012-03-19 18:54:12 +01:00
a . tab : link , a . tab : visited , a . tab : hover , a . tab #active
2012-02-01 11:30:17 +01:00
{
color : #<?php echo $colortextmain; ?>;
}
2006-06-05 20:26:46 +02:00
a . tabimage {
2011-04-04 20:42:28 +02:00
color : #434956;
2010-05-13 02:32:01 +02:00
font - family : < ? php print $fontlist ?> ;
2006-06-05 20:26:46 +02:00
text - decoration : none ;
white - space : nowrap ;
}
2008-02-13 00:45:07 +01:00
td . tab {
background : #dee7ec;
}
2006-06-05 20:26:46 +02:00
2010-10-06 11:28:45 +02:00
span . tabspan {
background : #dee7ec;
2011-04-04 20:42:28 +02:00
color : #434956;
2010-10-06 11:28:45 +02:00
font - family : < ? php print $fontlist ?> ;
padding : 0 px 6 px ;
margin : 0 em 0.2 em ;
text - decoration : none ;
white - space : nowrap ;
2011-08-08 00:58:48 +02:00
- 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 ;
2010-10-06 11:28:45 +02:00
border -< ? php print $right ; ?> : 1px solid #555555;
border -< ? php print $left ; ?> : 1px solid #D8D8D8;
border - top : 1 px solid #D8D8D8;
}
2006-06-05 20:26:46 +02:00
/* ============================================================================== */
/* Boutons actions */
/* ============================================================================== */
2011-05-15 07:30:19 +02:00
. butAction , . butAction : link , . butAction : visited , . butAction : hover , . butAction : active , . butActionDelete , . butActionDelete : link , . butActionDelete : visited , . butActionDelete : hover , . butActionDelete : active {
2010-05-13 02:32:01 +02:00
font - family : < ? php print $fontlist ?> ;
2010-04-07 11:21:30 +02:00
font - weight : bold ;
background : white ;
border : 1 px solid #8CACBB;
2011-04-04 20:42:28 +02:00
color : #434956;
2010-04-07 11:21:30 +02:00
text - decoration : none ;
white - space : nowrap ;
2011-08-13 02:47:59 +02:00
padding : 0.4 em 0.7 em ;
margin : 0 em 0.7 em ;
- 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 ;
2012-05-07 17:19:46 +02:00
- moz - box - shadow : 2 px 2 px 3 px #CCC;
- webkit - box - shadow : 2 px 2 px 3 px #CCC;
box - shadow : 2 px 2 px 3 px #CCC;
2010-04-07 11:21:30 +02:00
}
2006-06-05 20:26:46 +02:00
2011-05-15 07:30:19 +02:00
. butAction : hover {
2010-04-07 11:21:30 +02:00
background : #dee7ec;
}
2006-06-05 20:26:46 +02:00
2011-05-15 07:30:19 +02:00
. butActionDelete , . butActionDelete : link , . butActionDelete : visited , . butActionDelete : hover , . butActionDelete : active {
2010-04-07 11:21:30 +02:00
border : 1 px solid #997777;
}
2011-07-02 01:08:25 +02:00
. butActionDelete : hover {
2010-04-07 11:21:30 +02:00
background : #FFe7ec;
}
. butActionRefused {
2010-05-13 02:32:01 +02:00
font - family : < ? php print $fontlist ?> !important;
2010-04-07 11:21:30 +02:00
font - weight : bold ! important ;
background : white ! important ;
border : 1 px solid #AAAAAA !important;
color : #AAAAAA !important;
text - decoration : none ! important ;
white - space : nowrap ! important ;
cursor : not - allowed ;
2011-08-13 02:47:59 +02:00
padding : 0.4 em 0.7 em ;
margin : 0 em 0.7 em ;
- 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 : 4 px 4 px 4 px #CCC;
- webkit - box - shadow : 4 px 4 px 4 px #CCC;
box - shadow : 4 px 4 px 4 px #CCC;
2010-04-07 11:21:30 +02:00
}
2006-06-05 20:26:46 +02:00
2012-06-14 20:07:35 +02:00
< ? php if ( ! empty ( $conf -> global -> MAIN_BUTTON_HIDE_UNAUTHORIZED )) { ?>
. butActionRefused {
display : none ;
}
< ? php } ?>
2011-05-15 07:30:19 +02:00
span . butAction , span . butActionDelete {
cursor : pointer ;
}
2006-06-05 20:26:46 +02:00
/* ============================================================================== */
/* Tables */
/* ============================================================================== */
2012-03-11 22:08:46 +01:00
. allwidth {
width : 100 % ;
}
2012-01-14 00:39:58 +01:00
2010-05-13 02:32:01 +02:00
#undertopmenu {
2012-03-19 18:54:12 +01:00
/* background-image: url("<?php echo dol_buildpath($path.'/theme/eldy/img/gradient.gif',1) ?>"); */
2012-01-14 00:39:58 +01:00
background - repeat : repeat - x ;
2012-05-02 13:39:30 +02:00
margin - top : 0 px ;
2010-05-13 02:32:01 +02:00
}
2012-01-14 00:39:58 +01:00
2010-05-13 02:32:01 +02:00
2011-11-14 15:46:44 +01:00
. paddingrightonly {
border - collapse : collapse ;
border : 0 px ;
margin - left : 0 px ;
spacing - left : 0 px ;
padding - left : 0 px ;
padding - right : 4 px ;
}
2006-09-10 20:07:09 +02:00
. nocellnopadd {
2012-02-21 23:35:38 +01:00
list - style - type : none ;
margin : 0 px ! important ;
padding : 0 px ! important ;
2006-09-10 20:07:09 +02:00
}
2006-06-05 20:26:46 +02:00
. notopnoleft {
2012-02-21 23:35:38 +01:00
border - collapse : collapse ;
border : 0 px ;
padding - top : 0 px ;
padding -< ? php print $left ; ?> : 0px;
padding -< ? php print $right ; ?> : 16px;
padding - bottom : 4 px ;
margin - right : 0 px 0 px ;
2006-06-05 20:26:46 +02:00
}
. notopnoleftnoright {
2012-02-21 23:35:38 +01:00
border - collapse : collapse ;
border : 0 px ;
padding - top : 0 px ;
padding - left : 0 px ;
padding - right : 0 px ;
padding - bottom : 4 px ;
margin : 0 px 0 px 0 px 0 px ;
2006-06-05 20:26:46 +02:00
}
2009-01-31 16:23:05 +01:00
2006-06-05 20:26:46 +02:00
table . border {
2012-02-21 23:35:38 +01:00
border : 1 px solid #9CACBB;
border - collapse : collapse ;
2006-06-05 20:26:46 +02:00
}
table . border td {
2012-03-26 18:23:08 +02:00
padding : 1 px 2 px 1 px 2 px ;
2012-02-21 23:35:38 +01:00
border : 1 px solid #9CACBB;
border - collapse : collapse ;
2006-06-05 20:26:46 +02:00
}
2009-10-26 01:34:09 +01:00
td . border {
2012-02-21 23:35:38 +01:00
border - top : 1 px solid #000000;
border - right : 1 px solid #000000;
border - bottom : 1 px solid #000000;
border - left : 1 px solid #000000;
2009-10-26 01:34:09 +01:00
}
2009-10-29 18:30:29 +01:00
/* Main boxes */
2006-09-10 20:07:09 +02:00
2012-01-14 00:39:58 +01:00
table . noborder , table . formdoc {
2012-02-21 23:35:38 +01:00
width : 100 % ;
2012-03-10 01:06:22 +01:00
2012-02-21 23:35:38 +01:00
border - collapse : separate ! important ;
border - spacing : 0 px ;
2012-03-10 01:06:22 +01:00
2012-02-21 23:35:38 +01:00
border - right - width : 0 px ;
border - right - color : #DDDDDD;
border - right - style : solid ;
2012-03-10 01:06:22 +01:00
2012-02-21 23:35:38 +01:00
border - left - width : 1 px ;
border - left - color : #DDDDDD;
border - left - style : solid ;
2012-03-10 01:06:22 +01:00
2012-02-21 23:35:38 +01:00
border - bottom - width : 1 px ;
border - bottom - color : #DDDDDD;
border - bottom - style : solid ;
2012-03-10 01:06:22 +01:00
2012-02-21 23:35:38 +01:00
margin : 0 px 0 px 2 px 0 px ;
/*padding: 1px 2px 1px 2px;*/
2012-03-10 01:06:22 +01:00
2012-02-21 23:35:38 +01:00
- moz - box - shadow : 4 px 4 px 4 px #CCC;
- webkit - box - shadow : 4 px 4 px 4 px #CCC;
box - shadow : 4 px 4 px 4 px #CCC;
2012-03-10 01:06:22 +01:00
2012-02-21 23:35:38 +01:00
- moz - border - radius : 0.2 em ;
- webkit - border - radius : 0.2 em ;
border - radius : 0.2 em ;
2006-06-05 20:26:46 +02:00
}
2009-10-29 02:12:53 +01:00
2009-10-17 01:25:15 +02:00
table . noborder tr {
2012-02-21 23:35:38 +01:00
border - top - color : #FEFEFE;
2012-03-10 01:06:22 +01:00
2012-02-21 23:35:38 +01:00
border - right - width : 1 px ;
border - right - color : #BBBBBB;
border - right - style : solid ;
2012-03-10 01:06:22 +01:00
2012-02-21 23:35:38 +01:00
border - left - width : 1 px ;
border - left - color : #BBBBBB;
border - left - style : solid ;
2012-05-08 15:00:46 +02:00
height : 20 px ;
2009-10-29 02:12:53 +01:00
}
2011-11-03 01:59:13 +01:00
table . noborder th , table . noborder td {
2012-02-21 23:35:38 +01:00
padding : 1 px 2 px 1 px 3 px ; /* t r b l */
2006-06-05 20:26:46 +02:00
}
table . nobordernopadding {
2012-02-21 23:35:38 +01:00
border - collapse : collapse ! important ;
border : 0 px ;
2006-06-05 20:26:46 +02:00
}
2009-10-17 01:25:15 +02:00
table . nobordernopadding tr {
2012-02-21 23:35:38 +01:00
border : 0 px ! important ;
padding : 0 px 0 px ;
2009-10-17 01:25:15 +02:00
}
2006-06-05 20:26:46 +02:00
table . nobordernopadding td {
2012-02-21 23:35:38 +01:00
border : 0 px ! important ;
padding : 0 px 0 px ;
2006-06-05 20:26:46 +02:00
}
2009-10-29 18:30:29 +01:00
/* For lists */
2006-06-05 20:26:46 +02:00
table . liste {
2012-03-26 00:27:14 +02:00
width : 100 % ;
border - collapse : collapse ;
border - top - color : #FEFEFE;
2009-10-29 18:30:29 +01:00
2012-03-26 00:27:14 +02:00
border - right - width : 1 px ;
border - right - color : #BBBBBB;
border - right - style : solid ;
2009-10-29 18:30:29 +01:00
2012-01-14 00:39:58 +01:00
border - left - width : 1 px ;
border - left - color : #CCCCCC;
border - left - style : solid ;
2012-03-26 00:27:14 +02:00
border - bottom - width : 1 px ;
border - bottom - color : #BBBBBB;
border - bottom - style : solid ;
2009-10-29 18:30:29 +01:00
2012-03-26 00:27:14 +02:00
margin - bottom : 2 px ;
margin - top : 0 px ;
2011-08-22 20:24:28 +02:00
2011-09-03 01:57:26 +02:00
- moz - box - shadow : 4 px 4 px 4 px #CCC;
- webkit - box - shadow : 4 px 4 px 4 px #CCC;
box - shadow : 4 px 4 px 4 px #CCC;
2009-10-29 18:30:29 +01:00
}
table . liste td {
2011-09-03 01:57:26 +02:00
padding - right : 2 px ;
2006-06-05 20:26:46 +02:00
}
2012-03-16 18:36:32 +01:00
div . liste_titre , tr . liste_titre , tr . liste_titre_sel
2011-09-03 01:57:26 +02:00
{
height : 20 px ! important ;
background - repeat : repeat - x ;
2012-01-14 00:39:58 +01:00
2012-04-17 10:27:42 +02:00
< ? php if ( $usecss3 ) { ?>
2012-02-21 23:35:38 +01:00
background - image : - o - linear - gradient ( bottom , rgb ( < ? php echo $colorbacktitle1 ; ?> ) 15%, rgb(<?php echo $colorbacktitle2; ?>) 100%);
background - image : - moz - linear - gradient ( bottom , rgb ( < ? php echo $colorbacktitle1 ; ?> ) 15%, rgb(<?php echo $colorbacktitle2; ?>) 100%);
background - image : - webkit - linear - gradient ( bottom , rgb ( < ? php echo $colorbacktitle1 ; ?> ) 15%, rgb(<?php echo $colorbacktitle2; ?>) 100%);
background - image : - ms - linear - gradient ( bottom , rgb ( < ? php echo $colorbacktitle1 ; ?> ) 15%, rgb(<?php echo $colorbacktitle2; ?>) 100%);
2012-04-17 10:27:42 +02:00
background - image : linear - gradient ( bottom , rgb ( < ? php echo $colorbacktitle1 ; ?> ) 15%, rgb(<?php echo $colorbacktitle2; ?>) 100%);
< ? php } else { ?>
background : #7699A9;
background - image : url ( < ? php echo DOL_URL_ROOT . '/theme/eldy/img/liste_titre2.png' ?> );
< ? php } ?>
2012-02-01 11:30:17 +01:00
color : #<?php echo $colortextmain; ?>;
2011-09-03 01:57:26 +02:00
font - family : < ? php print $fontlist ?> ;
2011-11-03 01:59:13 +01:00
font - weight : normal ;
2011-09-03 01:57:26 +02:00
border - bottom : 1 px solid #FDFFFF;
white - space : nowrap ;
2011-09-07 21:01:18 +02:00
text - align : < ? php echo $left ; ?> ;
2006-06-05 20:26:46 +02:00
}
2011-11-03 01:59:13 +01:00
tr . liste_titre th , th . liste_titre , tr . liste_titre td , td . liste_titre
2011-09-03 01:57:26 +02:00
{
2011-11-03 01:59:13 +01:00
/*border-top: 1px solid #DDDDDD;*/
2011-09-03 01:57:26 +02:00
font - family : < ? php print $fontlist ?> ;
font - weight : normal ;
border - bottom : 1 px solid #FDFFFF;
white - space : nowrap ;
2006-06-05 20:26:46 +02:00
}
2011-11-03 01:59:13 +01:00
tr . liste_titre_sel th , th . liste_titre_sel , tr . liste_titre_sel td , td . liste_titre_sel
2006-08-20 01:00:53 +02:00
{
2012-01-14 00:39:58 +01:00
/* color: #FFFFFF !important; */
2011-09-03 01:57:26 +02:00
font - family : < ? php print $fontlist ?> ;
font - weight : normal ;
border - bottom : 1 px solid #FDFFFF;
white - space : nowrap ;
2012-01-14 00:39:58 +01:00
text - decoration : underline ;
2006-06-05 20:26:46 +02:00
}
2006-08-20 01:00:53 +02:00
input . liste_titre {
2011-11-03 01:59:13 +01:00
/*background: #7699A9;*/
/*background-repeat: repeat-x;*/
background : transparent ;
border : 0 px ;
2006-06-05 20:26:46 +02:00
}
2011-11-03 01:59:13 +01:00
tr . liste_total {
background : #F0F0F0;
}
2006-08-20 01:00:53 +02:00
tr . liste_total td {
2011-11-03 01:59:13 +01:00
border - top : 1 px solid #DDDDDD;
color : #332266;
font - weight : normal ;
white - space : nowrap ;
2006-06-05 20:26:46 +02:00
}
2012-09-09 13:13:24 +02:00
. impair : hover {
2012-09-09 14:49:20 +02:00
< ? php if ( $colorbacklineimpairhover ) { if ( $usecss3 ) { ?>
background : rgb ( < ? php echo $colorbacklineimpairhover ; ?> );
< ? php } else { ?>
background : #fafafa;
< ? php } } ?>
2012-09-09 13:13:24 +02:00
border : 0 px ;
}
2012-09-09 14:49:20 +02:00
. impair , . nohover . impair : hover , tr . impair td . nohover {
2012-04-17 10:27:42 +02:00
< ? php if ( $usecss3 ) { ?>
2012-02-21 23:35:38 +01:00
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%);
2012-04-17 10:27:42 +02:00
< ? php } else { ?>
background : #eaeaea;
< ? php } ?>
2012-02-21 23:35:38 +01:00
font - family : < ? php print $fontlist ?> ;
border : 0 px ;
margin - bottom : 1 px ;
color : #202020;
2006-06-05 20:26:46 +02:00
}
2012-09-05 15:29:21 +02:00
2012-09-09 13:13:24 +02:00
. pair : hover {
2012-09-09 14:49:20 +02:00
< ? php if ( $colorbacklinepairhover ) { if ( $usecss3 ) { ?>
background : rgb ( < ? php echo $colorbacklinepairhover ; ?> );
< ? php } else { ?>
background : #fafafa;
< ? php } } ?>
2012-02-21 23:35:38 +01:00
border : 0 px ;
2006-06-05 20:26:46 +02:00
}
2012-09-05 15:29:21 +02:00
2012-09-09 14:49:20 +02:00
. pair , . nohover . pair : hover , tr . pair td . nohover {
2012-04-17 10:27:42 +02:00
< ? php if ( $usecss3 ) { ?>
2012-02-21 23:35:38 +01:00
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%);
2012-04-17 10:27:42 +02:00
< ? php } else { ?>
background : #ffffff;
< ? php } ?>
2012-02-21 23:35:38 +01:00
font - family : < ? php print $fontlist ?> ;
border : 0 px ;
margin - bottom : 1 px ;
color : #202020;
2006-06-05 20:26:46 +02:00
}
2012-09-05 15:29:21 +02:00
2006-06-05 20:26:46 +02:00
2012-03-10 01:06:22 +01:00
/* Disable shadows */
2012-02-21 23:35:38 +01:00
. noshadow {
- moz - box - shadow : 0 px 0 px 0 px #CCC !important;
- webkit - box - shadow : 0 px 0 px 0 px #CCC !important;
box - shadow : 0 px 0 px 0 px #CCC !important;
}
2012-02-21 23:54:22 +01:00
div . tabBar . noborder {
- moz - box - shadow : 0 px 0 px 0 px #CCC !important;
- webkit - box - shadow : 0 px 0 px 0 px #CCC !important;
box - shadow : 0 px 0 px 0 px #CCC !important;
}
2009-10-29 02:12:53 +01:00
2006-06-05 20:26:46 +02:00
/*
* Boxes
*/
2009-10-29 18:30:29 +01:00
2011-07-20 21:03:31 +02:00
. boxtable {
2012-04-17 10:27:42 +02:00
- moz - box - shadow : 4 px 4 px 4 px #CCC;
- webkit - box - shadow : 4 px 4 px 4 px #CCC;
box - shadow : 4 px 4 px 4 px #CCC;
margin - bottom : 8 px ! important ;
2011-07-20 21:03:31 +02:00
}
2011-08-08 00:58:48 +02:00
2009-10-29 18:30:29 +01:00
. box {
2012-04-17 10:27:42 +02:00
padding - right : 0 px ;
padding - left : 0 px ;
padding - bottom : 4 px ;
2007-08-03 00:02:58 +02:00
}
2006-08-20 01:00:53 +02:00
tr . box_titre {
2012-04-17 10:27:42 +02:00
height : 20 px ;
background : #7699A9;
< ? php if ( $usecss3 ) { ?>
background - image : - o - linear - gradient ( bottom , rgb ( < ? php echo $colorbacktitle1 ; ?> ) 15%, rgb(<?php echo $colorbacktitle2; ?>) 100%);
background - image : - moz - linear - gradient ( bottom , rgb ( < ? php echo $colorbacktitle1 ; ?> ) 15%, rgb(<?php echo $colorbacktitle2; ?>) 100%);
background - image : - webkit - linear - gradient ( bottom , rgb ( < ? php echo $colorbacktitle1 ; ?> ) 15%, rgb(<?php echo $colorbacktitle2; ?>) 100%);
background - image : - ms - linear - gradient ( bottom , rgb ( < ? php echo $colorbacktitle1 ; ?> ) 15%, rgb(<?php echo $colorbacktitle2; ?>) 100%);
2012-09-05 14:41:45 +02:00
background - image : linear - gradient ( bottom , rgb ( < ? php echo $colorbacktitle1 ; ?> ) 15%, rgb(<?php echo $colorbacktitle2; ?>) 100%);
2012-04-17 10:27:42 +02:00
< ? php } else { ?>
background - image : url ( < ? php echo DOL_URL_ROOT . '/theme/eldy/img/liste_titre2.png' ?> );
< ? php } ?>
background - repeat : repeat - x ;
color : #<?php echo $colortextmain; ?>;
font - family : < ? php print $fontlist ?> , sans-serif;
font - weight : normal ;
border - bottom : 1 px solid #FDFFFF;
white - space : nowrap ;
2006-06-05 20:26:46 +02:00
}
2012-12-14 18:35:50 +01:00
tr . box_titre td . boxclose {
width : 30 px ;
}
2006-08-20 01:00:53 +02:00
tr . box_impair {
2012-04-17 10:27:42 +02:00
< ? php if ( $usecss3 ) { ?>
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%);
< ? php } else { ?>
background : #eaeaea;
< ? php } ?>
font - family : < ? php print $fontlist ?> ;
2006-06-05 20:26:46 +02:00
}
2006-08-20 01:00:53 +02:00
tr . box_pair {
2012-04-17 10:27:42 +02:00
< ? php if ( $usecss3 ) { ?>
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%);
< ? php } else { ?>
background : #ffffff;
< ? php } ?>
font - family : < ? php print $fontlist ?> ;
2006-06-05 20:26:46 +02:00
}
2006-08-20 01:00:53 +02:00
tr . fiche {
2012-04-17 10:27:42 +02:00
font - family : < ? php print $fontlist ?> ;
2006-06-05 20:26:46 +02:00
}
/*
* Ok , Warning , Error
*/
. ok { color : #114466; }
. warning { color : #887711; }
2012-11-17 19:55:19 +01:00
. error { color : #550000 !important; font-weight: bold; }
2011-05-26 08:17:17 +02:00
2006-06-05 20:26:46 +02:00
div . ok {
color : #114466;
}
div . warning {
2009-11-07 16:20:31 +01:00
color : #997711;
2009-10-29 18:30:29 +01:00
padding : 0.2 em 0.2 em 0.2 em 0.2 em ;
margin : 0.5 em 0 em 0.5 em 0 em ;
border : 1 px solid #e0e0d0;
- moz - border - radius : 6 px ;
2011-08-08 00:58:48 +02:00
- webkit - border - radius : 6 px ;
border - radius : 6 px ;
2009-10-29 18:30:29 +01:00
background : #efefd4;
2006-06-05 20:26:46 +02:00
}
div . error {
2006-08-20 01:00:53 +02:00
color : #550000; font-weight: bold;
2006-06-05 20:26:46 +02:00
padding : 0.2 em 0.2 em 0.2 em 0.2 em ;
margin : 0.5 em 0 em 0.5 em 0 em ;
2011-08-08 17:19:28 +02:00
border : 1 px solid #DC9CAB;
2009-10-29 18:30:29 +01:00
- moz - border - radius : 6 px ;
2011-08-08 00:58:48 +02:00
- webkit - border - radius : 6 px ;
border - radius : 6 px ;
2011-07-18 05:18:37 +02:00
background : #EFCFCF;
2006-06-05 20:26:46 +02:00
}
2009-10-29 18:30:29 +01:00
/* Info admin */
div . info {
2011-11-03 01:59:13 +01:00
color : #807050;
2012-04-30 09:57:57 +02:00
padding : 0.4 em 0.4 em 0.4 em 0.4 em ;
2006-06-25 19:15:07 +02:00
margin : 0.5 em 0 em 0.5 em 0 em ;
2011-08-08 17:39:08 +02:00
border : 1 px solid #DFDFA0;
2009-10-29 18:30:29 +01:00
- moz - border - radius : 6 px ;
2011-08-08 00:58:48 +02:00
- webkit - border - radius : 6 px ;
border - radius : 6 px ;
2012-02-21 23:54:22 +01:00
background : #EFEFBA;
2006-06-25 19:15:07 +02:00
}
2006-06-05 20:26:46 +02:00
/*
* Liens Payes / Non payes
*/
2006-08-20 01:00:53 +02:00
a . normal : link { font - weight : normal }
2006-06-05 20:26:46 +02:00
a . normal : visited { font - weight : normal }
a . normal : active { font - weight : normal }
a . normal : hover { font - weight : normal }
a . impayee : link { font - weight : bold ; color : #550000; }
a . impayee : visited { font - weight : bold ; color : #550000; }
a . impayee : active { font - weight : bold ; color : #550000; }
a . impayee : hover { font - weight : bold ; color : #550000; }
/*
2009-10-06 17:56:03 +02:00
* Other
2006-06-05 20:26:46 +02:00
*/
2009-10-06 17:56:03 +02:00
2012-11-03 11:55:39 +01:00
. product_line_stock_ok { color : #002200; }
. product_line_stock_too_low { color : #664400; }
2010-02-04 20:54:58 +01:00
. fieldrequired { font - weight : bold ; color : #000055; }
2010-02-17 19:27:20 +01:00
. photo {
border : 0 px ;
/* filter:alpha(opacity=55); */
/* opacity:.55; */
}
2006-08-20 01:00:53 +02:00
div . titre {
2010-05-13 02:32:01 +02:00
font - family : < ? php print $fontlist ?> ;
2012-01-14 00:39:58 +01:00
font - weight : bold ;
2012-01-15 17:40:44 +01:00
color : rgb ( < ? php print $colortext ; ?> );
2009-10-06 18:33:59 +02:00
text - decoration : none ;
2013-01-08 18:53:45 +01:00
text - shadow : 1 px 1 px 2 px #FFFFfF;
2009-10-06 17:56:03 +02:00
}
2006-06-05 20:26:46 +02:00
2012-03-10 01:06:22 +01:00
#dolpaymenttable { width: 600px; font-size: 13px; }
#tablepublicpayment { border: 1px solid #CCCCCC !important; width: 100%; }
#tablepublicpayment .CTableRow1 { background-color: #F0F0F0 !important; }
#tablepublicpayment tr.liste_total { border-bottom: 1px solid #CCCCCC !important; }
#tablepublicpayment tr.liste_total td { border-top: none; }
2012-03-10 13:52:08 +01:00
#divsubscribe { width: 700px; }
#tablesubscribe { width: 100%; }
2012-03-21 21:32:36 +01:00
div . table - border {
display : table ;
width : 100 % ;
border - collapse : collapse ;
border : 1 px solid #9CACBB;
}
div . table - border - row {
display : table - row ;
}
div . table - key - border - col {
display : table - cell ;
width : 25 % ;
vertical - align : top ;
padding : 1 px 2 px 1 px 1 px ;
border : 1 px solid #9CACBB;
border - collapse : collapse ;
}
div . table - val - border - col {
display : table - cell ;
width : auto ;
padding : 1 px 2 px 1 px 1 px ;
border : 1 px solid #9CACBB;
border - collapse : collapse ;
}
2006-06-05 20:26:46 +02:00
/* ============================================================================== */
2010-11-13 16:56:25 +01:00
/* Formulaire confirmation (When Ajax JQuery is used) */
/* ============================================================================== */
. ui - dialog - titlebar {
}
. ui - dialog - content {
font - size : < ? php print $fontsize ; ?> px !important;
}
/* ============================================================================== */
/* Formulaire confirmation (When HTML is used) */
2006-06-05 20:26:46 +02:00
/* ============================================================================== */
2006-08-20 01:00:53 +02:00
table . valid {
border - top : solid 1 px #E6E6E6;
2009-08-11 14:28:30 +02:00
border -< ? php print $left ; ?> : solid 1px #E6E6E6;
border -< ? php print $right ; ?> : solid 1px #444444;
2006-08-20 01:00:53 +02:00
border - bottom : solid 1 px #555555;
padding - top : 0 px ;
padding - left : 0 px ;
padding - right : 0 px ;
padding - bottom : 0 px ;
margin : 0 px 0 px ;
background : #D5BAA8;
}
. validtitre {
background : #D5BAA8;
font - weight : bold ;
}
2006-06-05 20:26:46 +02:00
/* ============================================================================== */
/* Tooltips */
/* ============================================================================== */
2010-10-23 15:01:48 +02:00
#tooltip {
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 : #FFFFF0;
opacity : 1 ;
2010-10-23 15:19:01 +02:00
- moz - border - radius : 6 px ;
2011-08-08 00:58:48 +02:00
- webkit - border - radius : 6 px ;
border - radius : 6 px ;
2010-10-23 15:01:48 +02:00
}
2006-06-05 20:26:46 +02:00
/* ============================================================================== */
/* Calendar */
/* ============================================================================== */
2011-05-21 18:06:25 +02:00
2012-03-26 00:27:14 +02:00
img . datecallink { padding - left : 2 px ! important ; padding - right : 2 px ! important ; }
2012-01-14 01:21:47 +01:00
2011-09-03 17:26:59 +02:00
. ui - datepicker - trigger {
vertical - align : middle ;
cursor : pointer ;
}
2006-08-20 01:00:53 +02:00
. bodyline {
2011-08-08 00:58:48 +02:00
- moz - border - radius : 8 px ;
- webkit - border - radius : 8 px ;
border - radius : 8 px ;
2006-08-20 01:00:53 +02:00
border : 1 px #E4ECEC outset;
2009-08-11 14:28:30 +02:00
padding : 0 px ;
2011-06-13 17:08:13 +02:00
margin - bottom : 5 px ;
2006-06-05 20:26:46 +02:00
}
2006-08-20 01:00:53 +02:00
table . dp {
2006-06-05 20:26:46 +02:00
width : 180 px ;
background - color : #FFFFFF;
border - top : solid 2 px #DDDDDD;
2009-08-11 14:28:30 +02:00
border -< ? php print $left ; ?> : solid 2px #DDDDDD;
border -< ? php print $right ; ?> : solid 1px #222222;
2006-06-05 20:26:46 +02:00
border - bottom : solid 1 px #222222;
2011-12-07 10:34:43 +01:00
padding : 0 px ;
border - spacing : 0 px ;
2011-12-16 20:06:16 +01:00
border - collapse : collapse ;
2006-06-05 20:26:46 +02:00
}
. dp td , . tpHour td , . tpMinute td { padding : 2 px ; font - size : 10 px ;}
2006-04-02 13:32:45 +02:00
/* Barre titre */
2006-08-20 01:00:53 +02:00
. dpHead , . tpHead , . tpHour td : Hover . tpHead {
2006-06-05 20:26:46 +02:00
font - weight : bold ;
background - color : #b3c5cc;
2006-08-20 01:00:53 +02:00
color : white ;
2006-06-05 20:26:46 +02:00
font - size : 11 px ;
cursor : auto ;
}
/* Barre navigation */
. dpButtons , . tpButtons {
text - align : center ;
background - color : #617389;
color : #FFFFFF;
2006-08-20 01:00:53 +02:00
font - weight : bold ;
cursor : pointer ;
2006-06-05 20:26:46 +02:00
}
. dpButtons : Active , . tpButtons : Active { border : 1 px outset black ;}
. dpDayNames td , . dpExplanation { background - color : #D9DBE1; font-weight:bold; text-align:center; font-size:11px;}
. dpExplanation { font - weight : normal ; font - size : 11 px ;}
. dpWeek td { text - align : center }
. dpToday , . dpReg , . dpSelected {
cursor : pointer ;
}
. dpToday { font - weight : bold ; color : black ; background - color : #DDDDDD;}
. dpReg : Hover , . dpToday : Hover { background - color : black ; color : white }
2006-04-02 13:32:45 +02:00
/* Jour courant */
2006-06-05 20:26:46 +02:00
. dpSelected { background - color : #0B63A2;color:white;font-weight:bold; }
. tpHour { border - top : 1 px solid #DDDDDD; border-right:1px solid #DDDDDD;}
. tpHour td { border - left : 1 px solid #DDDDDD; border-bottom:1px solid #DDDDDD; cursor:pointer;}
. tpHour td : Hover { background - color : black ; color : white ;}
. tpMinute { margin - top : 5 px ;}
. tpMinute td : Hover { background - color : black ; color : white ; }
. tpMinute td { background - color : #D9DBE1; text-align:center; cursor:pointer;}
2006-08-20 01:00:53 +02:00
/* Bouton X fermer */
2006-06-05 20:26:46 +02:00
. dpInvisibleButtons
{
2012-03-21 21:32:36 +01:00
border - style : none ;
background - color : transparent ;
padding : 0 px ;
font - size : 9 px ;
border - width : 0 px ;
color : #0B63A2;
vertical - align : middle ;
cursor : pointer ;
2006-06-05 20:26:46 +02:00
}
/* ============================================================================== */
/* Afficher/cacher */
/* ============================================================================== */
div . visible {
display : block ;
}
div . hidden {
display : none ;
}
tr . visible {
display : block ;
}
td . hidden {
display : none ;
2006-11-30 22:25:07 +01:00
}
2008-03-20 20:32:41 +01:00
/* ============================================================================== */
/* Module agenda */
/* ============================================================================== */
2012-03-26 18:23:08 +02:00
. cal_other_month { opacity : 0.6 ; background : #DDDDDD; border: solid 1px #C0C0C0; padding-<?php print $left; ?>: 2px; padding-<?php print $right; ?>: 1px; padding-top: 0px; padding-bottom: 0px; }
. cal_past_month { opacity : 0.6 ; background : #EEEEEE; border: solid 1px #C0C0C0; padding-<?php print $left; ?>: 2px; padding-<?php print $right; ?>: 1px; padding-top: 0px; padding-bottom: 0px; }
. cal_current_month { background : #FFFFFF; border: solid 1px #C0C0C0; padding-<?php print $left; ?>: 2px; padding-<?php print $right; ?>: 1px; padding-top: 0px; padding-bottom: 0px; }
2009-08-11 14:28:30 +02:00
. cal_today { background : #FFFFFF; border: solid 2px #6C7C7B; padding-<?php print $left; ?>: 2px; padding-<?php print $right; ?>: 1px; padding-top: 0px; padding-bottom: 0px; }
2012-02-13 02:46:30 +01:00
. cal_past { }
2011-08-08 00:58:48 +02:00
table . cal_event { border - collapse : collapse ; margin - bottom : 1 px ; - webkit - border - radius : 6 px ; border - radius : 6 px ; }
2009-08-11 14:28:30 +02:00
table . cal_event td { border : 0 px ; padding -< ? php print $left ; ?> : 0px; padding-<?php print $right; ?>: 2px; padding-top: 0px; padding-bottom: 0px; }
2008-05-18 14:25:51 +02:00
. cal_event a : link { color : #111111; font-size: 11px; font-weight: normal !important; }
. cal_event a : visited { color : #111111; font-size: 11px; font-weight: normal !important; }
. cal_event a : active { color : #111111; font-size: 11px; font-weight: normal !important; }
. cal_event a : hover { color : #111111; font-size: 11px; font-weight: normal !important; }
2008-03-20 20:32:41 +01:00
2007-02-11 20:02:09 +01:00
/* ============================================================================== */
2007-12-06 02:14:57 +01:00
/* Ajax - Liste deroulante de l'autocompletion */
2007-02-11 20:02:09 +01:00
/* ============================================================================== */
2011-08-17 16:29:14 +02:00
. ui - autocomplete - loading { background : white url ( < ? php echo dol_buildpath ( $path . '/theme/eldy/img/working.gif' , 1 ) ?> ) right center no-repeat; }
2010-10-11 22:13:24 +02:00
. ui - autocomplete {
position : absolute ;
2010-10-11 14:23:39 +02:00
width : auto ;
2010-10-11 22:13:24 +02:00
font - size : 1.0 em ;
background - color : white ;
border : 1 px solid #888;
margin : 0 px ;
padding : 0 px ;
}
. ui - autocomplete ul {
list - style - type : none ;
margin : 0 px ;
padding : 0 px ;
}
. ui - autocomplete ul li . selected { background - color : #D3E5EC;}
. ui - autocomplete ul li {
list - style - type : none ;
display : block ;
margin : 0 ;
padding : 2 px ;
2011-07-06 12:22:56 +02:00
height : 18 px ;
2010-10-11 22:13:24 +02:00
cursor : pointer ;
2010-10-11 14:19:17 +02:00
}
2010-10-11 14:06:43 +02:00
2007-05-06 00:20:57 +02:00
/* ============================================================================== */
2011-10-26 09:28:00 +02:00
/* jQuery - jeditable */
2007-05-06 00:20:57 +02:00
/* ============================================================================== */
2012-03-12 16:33:16 +01:00
. editkey_textarea , . editkey_ckeditor , . editkey_string , . editkey_email , . editkey_numeric , . editkey_select , . editkey_autocomplete {
2011-11-05 22:32:25 +01:00
background : url ( < ? php echo dol_buildpath ( $path . '/theme/eldy/img/edit.png' , 1 ) ?> ) right top no-repeat;
2011-10-26 09:28:00 +02:00
cursor : pointer ;
2007-05-06 00:20:57 +02:00
}
2008-03-20 20:32:41 +01:00
2011-11-05 22:32:25 +01:00
. editkey_datepicker {
background : url ( < ? php echo dol_buildpath ( $path . '/theme/eldy/img/calendar.png' , 1 ) ?> ) right center no-repeat;
2011-10-28 16:28:55 +02:00
cursor : pointer ;
}
2012-03-12 16:33:16 +01:00
. editval_textarea . active : hover , . editval_ckeditor . active : hover , . editval_string . active : hover , . editval_email . active : hover , . editval_numeric . active : hover , . editval_select . active : hover , . editval_autocomplete . active : hover , . editval_datepicker . active : hover {
2011-11-05 22:32:25 +01:00
background : white ;
cursor : pointer ;
}
2012-03-12 16:33:16 +01:00
. viewval_textarea . active : hover , . viewval_ckeditor . active : hover , . viewval_string . active : hover , . viewval_email . active : hover , . viewval_numeric . active : hover , . viewval_select . active : hover , . viewval_autocomplete . active : hover , . viewval_datepicker . active : hover {
2012-02-22 15:04:06 +01:00
background : white ;
cursor : pointer ;
}
. viewval_hover {
2011-11-05 22:32:25 +01:00
background : white ;
}
2008-03-20 20:32:41 +01:00
2007-05-04 19:34:02 +02:00
/* ============================================================================== */
/* Admin Menu */
/* ============================================================================== */
2010-11-13 16:56:25 +01:00
/* CSS for treeview */
2007-05-04 19:34:02 +02:00
/* Lien plier /deplier tout */
2012-03-26 00:27:14 +02:00
. arbre - switch {
2007-05-04 19:34:02 +02:00
text - align : right ;
padding : 0 5 px ;
margin : 0 0 - 18 px 0 ;
}
/* Arbre */
ul . arbre {
padding : 5 px 10 px ;
}
/* strong : A modifier en fonction de la balise choisie */
ul . arbre strong {
font - weight : normal ;
padding : 0 0 0 20 px ;
margin : 0 0 0 - 7 px ;
2011-08-17 16:29:14 +02:00
background - image : url ( < ? php echo dol_buildpath ( $path . '/theme/common/treemenu/branch.gif' , 1 ) ?> );
2007-05-04 19:34:02 +02:00
background - repeat : no - repeat ;
background - position : 1 px 50 % ;
}
ul . arbre strong . arbre - plier {
2011-08-17 16:29:14 +02:00
background - image : url ( < ? php echo dol_buildpath ( $path . '/theme/common/treemenu/plus.gif' , 1 ) ?> );
2007-05-04 19:34:02 +02:00
cursor : pointer ;
}
ul . arbre strong . arbre - deplier {
2011-08-17 16:29:14 +02:00
background - image : url ( < ? php echo dol_buildpath ( $path . '/theme/common/treemenu/minus.gif' , 1 ) ?> );
2007-05-04 19:34:02 +02:00
cursor : pointer ;
}
ul . arbre ul {
padding : 0 ;
margin : 0 ;
}
ul . arbre li {
padding : 0 ;
margin : 0 ;
list - style : none ;
}
2008-11-28 20:08:39 +01:00
/* This is to create an indent */
2007-05-04 19:34:02 +02:00
ul . arbre li li {
margin : 0 0 0 16 px ;
}
/* Classe pour masquer */
. hide {
display : none ;
}
img . menuNew
{
display : block ;
border : 0 px ;
}
img . menuEdit
{
border : 0 px ;
display : block ;
}
img . menuDel
{
display : none ;
border : 0 px ;
}
div . menuNew
{
margin - top :- 20 px ;
2009-08-11 14:28:30 +02:00
margin -< ? php print $left ; ?> :270px;
2007-05-04 19:34:02 +02:00
height : 20 px ;
padding : 0 px ;
width : 30 px ;
position : relative ;
}
div . menuEdit
{
margin - top :- 15 px ;
2009-08-11 14:28:30 +02:00
margin -< ? php print $left ; ?> :250px;
2007-05-04 19:34:02 +02:00
height : 20 px ;
padding : 0 px ;
width : 30 px ;
position : relative ;
}
div . menuDel
{
margin - top :- 20 px ;
2009-08-11 14:28:30 +02:00
margin -< ? php print $left ; ?> :290px;
2007-05-04 19:34:02 +02:00
height : 20 px ;
padding : 0 px ;
width : 30 px ;
position : relative ;
}
div . menuFleche
{
margin - top :- 16 px ;
2009-08-11 14:28:30 +02:00
margin -< ? php print $left ; ?> :320px;
2007-05-04 19:34:02 +02:00
height : 20 px ;
padding : 0 px ;
width : 30 px ;
position : relative ;
2007-05-26 03:48:20 +02:00
}
2007-09-08 17:57:58 +02:00
2008-04-03 02:37:32 +02:00
2007-09-08 17:57:58 +02:00
/* ============================================================================== */
2009-05-27 04:20:40 +02:00
/* Show Excel tabs */
2007-09-08 17:57:58 +02:00
/* ============================================================================== */
. table_data
{
border - style : ridge ;
2007-09-10 08:28:12 +02:00
border : 1 px solid ;
2007-09-08 17:57:58 +02:00
}
. tab_base
{
background : #C5D0DD;
font - weight : bold ;
border - style : ridge ;
2007-09-10 08:28:12 +02:00
border : 1 px solid ;
2007-09-08 17:57:58 +02:00
cursor : pointer ;
}
. table_sub_heading
{
background : #CCCCCC;
font - weight : bold ;
border - style : ridge ;
2007-09-10 08:28:12 +02:00
border : 1 px solid ;
2007-09-08 17:57:58 +02:00
}
. table_body
{
background : #F0F0F0;
2007-09-09 15:55:00 +02:00
font - weight : normal ;
2007-09-08 17:57:58 +02:00
font - family : sans - serif ;
border - style : ridge ;
2007-09-10 08:28:12 +02:00
border : 1 px solid ;
2007-09-08 17:57:58 +02:00
border - spacing : 0 px ;
border - collapse : collapse ;
}
. tab_loaded
{
background : #222222;
color : white ;
font - weight : bold ;
border - style : groove ;
2007-09-10 08:28:12 +02:00
border : 1 px solid ;
2007-09-08 17:57:58 +02:00
cursor : pointer ;
2009-05-27 04:20:40 +02:00
}
/* ============================================================================== */
/* CSS for color picker */
/* ============================================================================== */
A . color , A . color : active , A . color : visited {
position : relative ;
display : block ;
text - decoration : none ;
width : 10 px ;
height : 10 px ;
line - height : 10 px ;
margin : 0 px ;
padding : 0 px ;
border : 1 px inset white ;
}
A . color : hover {
border : 1 px outset white ;
}
A . none , A . none : active , A . none : visited , A . none : hover {
position : relative ;
display : block ;
text - decoration : none ;
width : 10 px ;
height : 10 px ;
line - height : 10 px ;
margin : 0 px ;
padding : 0 px ;
cursor : default ;
2009-07-06 21:05:32 +02:00
border : 1 px solid #b3c5cc;
2009-05-27 04:20:40 +02:00
}
. tblColor {
display : none ;
}
. tdColor {
padding : 1 px ;
}
. tblContainer {
2009-07-06 21:05:32 +02:00
background - color : #b3c5cc;
2009-05-27 04:20:40 +02:00
}
. tblGlobal {
position : absolute ;
top : 0 px ;
left : 0 px ;
display : none ;
2009-07-06 21:05:32 +02:00
background - color : #b3c5cc;
2009-05-27 04:20:40 +02:00
border : 2 px outset ;
}
. tdContainer {
padding : 5 px ;
}
. tdDisplay {
width : 50 % ;
height : 20 px ;
line - height : 20 px ;
border : 1 px outset white ;
}
. tdDisplayTxt {
width : 50 % ;
height : 24 px ;
line - height : 12 px ;
2010-05-13 02:32:01 +02:00
font - family : < ? php print $fontlist ?> ;
2009-05-27 04:20:40 +02:00
font - size : 8 pt ;
color : black ;
text - align : center ;
}
. btnColor {
width : 100 % ;
2010-05-13 02:32:01 +02:00
font - family : < ? php print $fontlist ?> ;
2009-05-27 04:20:40 +02:00
font - size : 10 pt ;
padding : 0 px ;
margin : 0 px ;
}
. btnPalette {
width : 100 % ;
2010-05-13 02:32:01 +02:00
font - family : < ? php print $fontlist ?> ;
2009-05-27 04:20:40 +02:00
font - size : 8 pt ;
padding : 0 px ;
margin : 0 px ;
2010-03-28 01:33:34 +01:00
}
2010-08-22 20:02:32 +02:00
/* Style to overwrites JQuery styles */
. ui - menu . ui - menu - item a {
text - decoration : none ;
display : block ;
padding :. 2 em . 4 em ;
line - height : 1.5 ;
zoom : 1 ;
font - weight : normal ;
2011-02-05 01:51:12 +01:00
font - family :< ? php echo $fontlist ; ?> ;
2010-08-22 20:02:32 +02:00
font - size : 1 em ;
}
2011-02-05 01:51:12 +01:00
. ui - widget {
font - family :< ? php echo $fontlist ; ?> ;
font - size :< ? php echo $fontsize ; ?> px;
}
. ui - button { margin - left : - 1 px ; }
. ui - button - icon - only . ui - button - text { height : 8 px ; }
. ui - button - icon - only . ui - button - text , . ui - button - icons - only . ui - button - text { padding : 2 px 0 px 6 px 0 px ; }
. ui - button - text
{
line - height : 1 em ! important ;
}
. ui - autocomplete - input { margin : 0 ; padding : 1 px ; }
2011-04-09 18:14:19 +02:00
/* ============================================================================== */
/* CKEditor */
/* ============================================================================== */
. cke_editor table , . cke_editor tr , . cke_editor td
{
border : 0 px solid #FF0000 !important;
}
2011-05-28 18:26:10 +02:00
span . cke_skin_kama { padding : 0 ! important ; }
. cke_wrapper { padding : 4 px ! important ; }
2011-08-15 01:54:09 +02:00
a . cke_dialog_ui_button
{
font - family : < ? php print $fontlist ?> !important;
2011-08-15 20:25:58 +02:00
background - image : url ( < ? php echo $img_button ?> ) !important;
2011-08-15 01:54:09 +02:00
background - position : bottom ! important ;
2012-03-26 18:23:08 +02:00
border : 1 px solid #C0C0C0 !important;
2011-08-15 01:54:09 +02:00
padding : 0.1 em 0.7 em ! important ;
margin : 0 em 0.5 em ! important ;
- moz - border - radius : 0 px 5 px 0 px 5 px ! important ;
- webkit - border - radius : 0 px 5 px 0 px 5 px ! important ;
border - radius : 0 px 5 px 0 px 5 px ! important ;
- moz - box - shadow : 4 px 4 px 4 px #CCC !important;
- webkit - box - shadow : 4 px 4 px 4 px #CCC !important;
box - shadow : 4 px 4 px 4 px #CCC !important;
}
2011-08-16 19:59:46 +02:00
. cke_dialog_ui_hbox_last
{
vertical - align : bottom ! important ;
}
2011-08-15 01:54:09 +02:00
2011-07-06 11:25:05 +02:00
/* ============================================================================== */
2011-07-06 11:42:55 +02:00
/* File upload */
2011-07-06 11:25:05 +02:00
/* ============================================================================== */
. template - upload {
height : 72 px ! important ;
2011-07-28 15:22:19 +02:00
}
2011-08-17 15:08:19 +02:00
2012-02-15 23:08:20 +01:00
/* ============================================================================== */
/* JSGantt */
/* ============================================================================== */
div . scroll2 {
2012-05-07 18:00:53 +02:00
width : < ? php print isset ( $_SESSION [ 'dol_screenwidth' ]) ? max ( $_SESSION [ 'dol_screenwidth' ] - 830 , 450 ) : '450' ; ?> px !important;
2012-02-15 23:08:20 +01:00
}
2012-03-21 21:32:36 +01:00
2012-03-17 17:37:15 +01:00
/* ============================================================================== */
2012-03-21 21:32:36 +01:00
/* jFileTree */
2012-03-17 17:37:15 +01:00
/* ============================================================================== */
2012-03-21 21:32:36 +01:00
. ecmfiletree {
width : 99 % ;
height : 99 % ;
background : #FFF;
padding - left : 2 px ;
font - weight : normal ;
2012-03-17 17:37:15 +01:00
}
2012-03-21 21:32:36 +01:00
. fileview {
width : 99 % ;
height : 99 % ;
background : #FFF;
padding - left : 2 px ;
padding - top : 4 px ;
font - weight : normal ;
2012-03-17 17:37:15 +01:00
}
2012-03-21 21:32:36 +01:00
div . filedirelem {
position : relative ;
display : block ;
text - decoration : none ;
2012-03-17 18:10:59 +01:00
}
2012-03-21 21:32:36 +01:00
ul . filedirelem {
padding : 2 px ;
margin : 0 5 px 5 px 5 px ;
}
ul . filedirelem li {
list - style : none ;
padding : 2 px ;
margin : 0 10 px 20 px 10 px ;
width : 160 px ;
height : 120 px ;
text - align : center ;
display : block ;
float : < ? php print $left ; ?> ;
border : solid 1 px #DDDDDD;
}
ui - layout - north {
2012-03-17 17:37:15 +01:00
}
2012-02-15 23:08:20 +01:00
2012-03-23 19:43:25 +01:00
ul . ecmjqft {
2012-03-21 21:32:36 +01:00
font - size : 11 px ;
2012-03-25 22:47:37 +02:00
line - height : 16 px ;
2012-03-21 21:32:36 +01:00
padding : 0 px ;
margin : 0 px ;
font - weight : normal ;
}
2012-03-23 19:43:25 +01:00
ul . ecmjqft li {
2012-03-21 21:32:36 +01:00
list - style : none ;
padding : 0 px ;
padding - left : 20 px ;
margin : 0 px ;
white - space : nowrap ;
2012-03-25 22:47:37 +02:00
display : block ;
2012-03-21 21:32:36 +01:00
}
2012-03-23 19:43:25 +01:00
ul . ecmjqft a {
2012-03-25 22:47:37 +02:00
line - height : 16 px ;
vertical - align : middle ;
2012-03-23 19:43:25 +01:00
color : #333;
2012-03-21 21:32:36 +01:00
padding : 0 px 0 px ;
font - weight : normal ;
2012-03-25 22:47:37 +02:00
display : inline - block ! important ;
/* float: left;*/
2012-03-21 21:32:36 +01:00
}
2012-03-23 19:43:25 +01:00
ul . ecmjqft a : active {
2012-03-21 21:32:36 +01:00
font - weight : bold ! important ;
}
2012-03-23 19:43:25 +01:00
ul . ecmjqft a : hover {
2012-03-21 21:32:36 +01:00
text - decoration : underline ;
}
2012-03-25 22:47:37 +02:00
div . ecmjqft {
vertical - align : middle ;
display : inline - block ! important ;
text - align : right ;
position : absolute ;
right : 4 px ;
}
2012-03-21 21:32:36 +01:00
/* Core Styles */
2012-03-25 22:47:37 +02:00
. ecmjqft LI . directory { font - weight : normal ; background : url ( < ? php echo dol_buildpath ( $path . '/theme/common/treemenu/folder2.png' , 1 ); ?> ) left top no-repeat; }
. ecmjqft LI . expanded { font - weight : normal ; background : url ( < ? php echo dol_buildpath ( $path . '/theme/common/treemenu/folder2-expanded.png' , 1 ); ?> ) left top no-repeat; }
. ecmjqft LI . wait { font - weight : normal ; background : url ( < ? php echo dol_buildpath ( '/theme/eldy/img/working.gif' , 1 ); ?> ) left top no-repeat; }
2012-03-21 21:32:36 +01:00
2012-03-26 00:14:42 +02:00
/* ============================================================================== */
/* jNotify */
/* ============================================================================== */
. jnotify - container {
position : fixed ! important ;
2012-09-05 14:41:45 +02:00
< ? php if ( ! empty ( $conf -> global -> MAIN_JQUERY_JNOTIFY_BOTTOM )) { ?>
2012-03-26 00:14:42 +02:00
top : auto ! important ;
bottom : 4 px ! important ;
< ? php } ?>
text - align : center ;
min - width : 500 px ;
width : auto ;
padding - left : 10 px ! important ;
padding - right : 10 px ! important ;
}
2012-09-03 22:05:13 +02:00
/* use or not ? */
div . jnotify - background {
opacity : 0.95 ! important ;
- moz - box - shadow : 4 px 4 px 4 px #888 !important;
- webkit - box - shadow : 4 px 4 px 4 px #888 !important;
box - shadow : 4 px 4 px 4 px #888 !important;
}
/* ============================================================================== */
/* blockUI */
/* ============================================================================== */
2012-09-04 09:38:38 +02:00
/*div.growlUI { background: url(check48.png) no-repeat 10px 10px }*/
div . dolEventValid h1 , div . dolEventValid h2 {
color : #567b1b;
background - color : #e3f0db;
padding : 5 px 5 px 5 px 5 px ;
text - align : left ;
}
div . dolEventError h1 , div . dolEventError h2 {
color : #a72947;
background - color : #d79eac;
padding : 5 px 5 px 5 px 5 px ;
text - align : left ;
2012-09-03 22:05:13 +02:00
}
2012-04-08 13:05:58 +02:00
/* ============================================================================== */
/* Maps */
/* ============================================================================== */
. divmap , #google-visualization-geomap-embed-0, #google-visualization-geomap-embed-1, google-visualization-geomap-embed-2 {
- moz - box - shadow : 0 px 0 px 10 px #AAA;
- webkit - box - shadow : 0 px 0 px 10 px #AAA;
box - shadow : 0 px 0 px 10 px #AAA;
}
2012-03-21 21:32:36 +01:00
2011-08-17 15:08:19 +02:00
< ? php
if ( is_object ( $db )) $db -> close ();
2011-10-30 18:55:07 +01:00
?>