2012-04-17 11:50:25 +02:00
< ? php
2013-03-02 14:43:36 +01:00
/* Copyright ( C ) 2012 Nicolas Péré < nicolas @ amarok2 . net >
* Copyright ( C ) 2012 Xavier Peyronnet < xavier . peyronnet @ free . fr >
* Copyright ( C ) 2012 Regis Houssin < regis . houssin @ capnetworks . com >
* Copyright ( C ) 2012 Juanjo Menent < jmenent @ 2 byte . es >
* Copyright ( C ) 2013 Laurent Destailleur < eldy @ users . sourceforge . net >
2012-04-17 11:50:25 +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
2012-04-17 11:50:25 +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
* along with this program . If not , see < http :// www . gnu . org / licenses />.
*/
/**
* \file htdocs / theme / amarok / style . css . php
2013-04-21 17:56:29 +02:00
* \brief File for CSS style sheet Amarok
2012-04-17 11:50:25 +02:00
*/
2012-12-14 13:01:57 +01:00
2013-04-21 17:56:29 +02:00
//if (! defined('NOREQUIREUSER')) define('NOREQUIREUSER','1'); // Not disabled because need to load personalized language
2012-04-17 11:50:25 +02:00
//if (! defined('NOREQUIREDB')) define('NOREQUIREDB','1'); // Not disabled to increase speed. Language code is found on url.
if ( ! defined ( 'NOREQUIRESOC' )) define ( 'NOREQUIRESOC' , '1' );
2013-04-21 17:56:29 +02:00
//if (! defined('NOREQUIRETRAN')) define('NOREQUIRETRAN','1'); // Not disabled because need to do translations
2012-04-17 11:50:25 +02:00
if ( ! defined ( 'NOCSRFCHECK' )) define ( 'NOCSRFCHECK' , 1 );
if ( ! defined ( 'NOTOKENRENEWAL' )) define ( 'NOTOKENRENEWAL' , 1 );
2013-04-21 17:56:29 +02:00
if ( ! defined ( 'NOLOGIN' )) define ( 'NOLOGIN' , 1 ); // File must be accessed by logon page so without login
2012-04-17 11:50:25 +02:00
if ( ! defined ( 'NOREQUIREMENU' )) define ( 'NOREQUIREMENU' , 1 );
if ( ! defined ( 'NOREQUIREHTML' )) define ( 'NOREQUIREHTML' , 1 );
if ( ! defined ( 'NOREQUIREAJAX' )) define ( 'NOREQUIREAJAX' , '1' );
2012-04-30 15:17:50 +02:00
session_cache_limiter ( FALSE );
2012-04-17 11:50:25 +02:00
2013-04-21 17:56:29 +02:00
require_once '../../main.inc.php' ;
2013-06-05 16:24:32 +02: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' ]);
2012-04-17 11:50:25 +02:00
// Define css type
header ( 'Content-type: text/css' );
// Important: Following code is to avoid page request by browser and PHP CPU at
// each Dolibarr page access.
if ( empty ( $dolibarr_nocache )) header ( 'Cache-Control: max-age=3600, public, must-revalidate' );
else header ( 'Cache-Control: no-cache' );
// On the fly GZIP compression for all pages (if browser support it). Must set the bit 3 of constant to 1.
if ( isset ( $conf -> global -> MAIN_OPTIMIZE_SPEED ) && ( $conf -> global -> MAIN_OPTIMIZE_SPEED & 0x04 )) { ob_start ( " ob_gzhandler " ); }
if ( GETPOST ( 'lang' )) $langs -> setDefaultLang ( GETPOST ( 'lang' )); // If language was forced on URL
if ( GETPOST ( 'theme' )) $conf -> theme = GETPOST ( 'theme' ); // If theme was forced on URL
$langs -> load ( " main " , 0 , 1 );
$right = ( $langs -> trans ( " DIRECTION " ) == 'rtl' ? 'left' : 'right' );
$left = ( $langs -> trans ( " DIRECTION " ) == 'rtl' ? 'right' : 'left' );
2013-04-03 15:20:56 +02:00
$fontsize = empty ( $conf -> dol_optimize_smallscreen ) ? '12' : '12' ;
$fontsizesmaller = empty ( $conf -> dol_optimize_smallscreen ) ? '11' : '11' ;
2012-04-17 11:50:25 +02:00
2013-03-02 14:43:36 +01:00
$path = '' ; // This value may be used in future for external module to overwrite theme
$theme = 'amarok' ; // Value of theme
if ( ! empty ( $conf -> global -> MAIN_OVERWRITE_THEME_RES )) { $path = '/' . $conf -> global -> MAIN_OVERWRITE_THEME_RES ; $theme = $conf -> global -> MAIN_OVERWRITE_THEME_RES ; }
2012-04-17 11:50:25 +02:00
2012-12-14 13:01:57 +01:00
// Define image path files
$fontlist = 'helvetica,arial,tahoma,verdana' ; //$fontlist='Verdana,Helvetica,Arial,sans-serif';
//'/theme/auguria/img/menus/trtitle.png';
2013-03-02 14:43:36 +01:00
$img_liste_titre = dol_buildpath ( $path . '/theme/' . $theme . '/img/menus/trtitle.png' , 1 );
$img_button = dol_buildpath ( $path . '/theme/' . $theme . '/img/button_bg.png' , 1 );
2013-06-05 16:24:32 +02:00
$dol_hide_topmenu = $conf -> dol_hide_topmenu ;
$dol_hide_leftmenu = $conf -> dol_hide_leftmenu ;
$dol_optimize_smallscreen = $conf -> dol_optimize_smallscreen ;
$dol_no_mouse_hover = $conf -> dol_no_mouse_hover ;
$dol_use_jmobile = $conf -> dol_use_jmobile ;
// Define reference colors
// Example: Light grey: $colred=235;$colgreen=235;$colblue=235;
// Example: Pink: $colred=230;$colgreen=210;$colblue=230;
// Example: Green: $colred=210;$colgreen=230;$colblue=210;
// Example: Ocean: $colred=220;$colgreen=220;$colblue=240;
//$conf->global->THEME_ELDY_ENABLE_PERSONALIZED=0;
//$user->conf->THEME_ELDY_ENABLE_PERSONALIZED=0;
//var_dump($user->conf->THEME_ELDY_RGB);
$colred = empty ( $user -> conf -> THEME_ELDY_ENABLE_PERSONALIZED ) ? ( empty ( $conf -> global -> THEME_ELDY_RGB ) ? 235 : hexdec ( substr ( $conf -> global -> THEME_ELDY_RGB , 0 , 2 ))) : ( empty ( $user -> conf -> THEME_ELDY_RGB ) ? 235 : hexdec ( substr ( $user -> conf -> THEME_ELDY_RGB , 0 , 2 )));
$colgreen = empty ( $user -> conf -> THEME_ELDY_ENABLE_PERSONALIZED ) ? ( empty ( $conf -> global -> THEME_ELDY_RGB ) ? 235 : hexdec ( substr ( $conf -> global -> THEME_ELDY_RGB , 2 , 2 ))) : ( empty ( $user -> conf -> THEME_ELDY_RGB ) ? 235 : hexdec ( substr ( $user -> conf -> THEME_ELDY_RGB , 2 , 2 )));
$colblue = empty ( $user -> conf -> THEME_ELDY_ENABLE_PERSONALIZED ) ? ( empty ( $conf -> global -> THEME_ELDY_RGB ) ? 235 : hexdec ( substr ( $conf -> global -> THEME_ELDY_RGB , 4 , 2 ))) : ( empty ( $user -> conf -> THEME_ELDY_RGB ) ? 235 : hexdec ( substr ( $user -> conf -> THEME_ELDY_RGB , 4 , 2 )));
// Colors
$isred = max ( 0 ,( 2 * $colred - $colgreen - $colblue ) / 2 ); // 0 - 255
$isgreen = max ( 0 ,( 2 * $colgreen - $colred - $colblue ) / 2 ); // 0 - 255
$isblue = max ( 0 ,( 2 * $colblue - $colred - $colgreen ) / 2 ); // 0 - 255
$colorback1 = ( $colred - 3 ) . ',' . ( $colgreen - 3 ) . ',' . ( $colblue - 3 ); // topmenu
$colorback2 = ( $colred + 5 ) . ',' . ( $colgreen + 5 ) . ',' . ( $colblue + 5 );
$colorbacktab1 = ( $colred + 15 ) . ',' . ( $colgreen + 16 ) . ',' . ( $colblue + 17 ); // vmenu
$colorbacktab1b = ( $colred + 5 ) . ',' . ( $colgreen + 6 ) . ',' . ( $colblue + 7 ); // vmenu (not menu)
$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
$colorbacklineimpairhover = ( 230 + round (( $isred + $isgreen + $isblue ) / 9 )) . ',' . ( 230 + round (( $isred + $isgreen + $isblue ) / 9 )) . ',' . ( 230 + round (( $isred + $isgreen + $isblue ) / 9 )); // line impair
$colorbacklinepair1 = '255,255,255' ; // line pair
$colorbacklinepair2 = '255,255,255' ; // line pair
$colorbacklinepairhover = ( 230 + round (( $isred + $isgreen + $isblue ) / 9 )) . ',' . ( 230 + round (( $isred + $isgreen + $isblue ) / 9 )) . ',' . ( 230 + round (( $isred + $isgreen + $isblue ) / 9 ));
$colorbackbody = '#f5f5f5' ;
$colortext = '40,40,40' ;
$fontsize = empty ( $conf -> dol_optimize_smallscreen ) ? '12' : '14' ;
$fontsizesmaller = empty ( $conf -> dol_optimize_smallscreen ) ? '11' : '14' ;
$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 );
$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 );
$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 );
$colorbacklineimpairhover = empty ( $user -> conf -> THEME_ELDY_ENABLE_PERSONALIZED ) ? ( empty ( $conf -> global -> THEME_ELDY_LINEIMPAIRHOVER ) ? $colorbacklineimpairhover : $conf -> global -> THEME_ELDY_LINEIMPAIRHOVER ) : ( empty ( $user -> conf -> THEME_ELDY_LINEIMPAIRHOVER ) ? $colorbacklineimpairhover : $user -> conf -> THEME_ELDY_LINEIMPAIRHOVER );
$colorbacklinepair1 = empty ( $user -> conf -> THEME_ELDY_ENABLE_PERSONALIZED ) ? ( empty ( $conf -> global -> THEME_ELDY_LINEPAIR1 ) ? $colorbacklinepair1 : $conf -> global -> THEME_ELDY_LINEPAIR1 ) : ( empty ( $user -> conf -> THEME_ELDY_LINEPAIR1 ) ? $colorbacklinepair1 : $user -> conf -> THEME_ELDY_LINEPAIR1 );
$colorbacklinepair2 = empty ( $user -> conf -> THEME_ELDY_ENABLE_PERSONALIZED ) ? ( empty ( $conf -> global -> THEME_ELDY_LINEPAIR2 ) ? $colorbacklinepair2 : $conf -> global -> THEME_ELDY_LINEPAIR2 ) : ( empty ( $user -> conf -> THEME_ELDY_LINEPAIR2 ) ? $colorbacklinepair2 : $user -> conf -> THEME_ELDY_LINEPAIR2 );
$colorbacklinepairhover = empty ( $user -> conf -> THEME_ELDY_ENABLE_PERSONALIZED ) ? ( empty ( $conf -> global -> THEME_ELDY_LINEPAIRHOVER ) ? $colorbacklinepairhover : $conf -> global -> THEME_ELDY_LINEPAIRHOVER ) : ( empty ( $user -> conf -> THEME_ELDY_LINEPAIRHOVER ) ? $colorbacklinepairhover : $user -> conf -> THEME_ELDY_LINEPAIRHOVER );
$colorbackbody = empty ( $user -> conf -> THEME_ELDY_ENABLE_PERSONALIZED ) ? ( empty ( $conf -> global -> THEME_ELDY_BACKBODY ) ? $colorbackbody : $conf -> global -> THEME_ELDY_BACKBODY ) : ( empty ( $user -> conf -> THEME_ELDY_BACKBODY ) ? $colorbackbody : $user -> conf -> THEME_ELDY_BACKBODY );
$colortext = empty ( $user -> conf -> THEME_ELDY_ENABLE_PERSONALIZED ) ? ( empty ( $conf -> global -> THEME_ELDY_TEXT ) ? $colortext : $conf -> global -> THEME_ELDY_TEXT ) : ( empty ( $user -> conf -> THEME_ELDY_TEXT ) ? $colortext : $user -> conf -> THEME_ELDY_TEXT );
$fontsize = empty ( $user -> conf -> THEME_ELDY_ENABLE_PERSONALIZED ) ? ( empty ( $conf -> global -> THEME_ELDY_FONT_SIZE1 ) ? $fontsize : $conf -> global -> THEME_ELDY_FONT_SIZE1 ) : ( empty ( $user -> conf -> THEME_ELDY_FONT_SIZE1 ) ? $fontsize : $user -> conf -> THEME_ELDY_FONT_SIZE1 );
$fontsizesmaller = empty ( $user -> conf -> THEME_ELDY_ENABLE_PERSONALIZED ) ? ( empty ( $conf -> global -> THEME_ELDY_FONT_SIZE2 ) ? $fontsize : $conf -> global -> THEME_ELDY_FONT_SIZE2 ) : ( empty ( $user -> conf -> THEME_ELDY_FONT_SIZE2 ) ? $fontsize : $user -> conf -> THEME_ELDY_FONT_SIZE2 );
// No hover by default, we keep only if we set var THEME_ELDY_USE_HOVER
if (( ! empty ( $user -> conf -> THEME_ELDY_ENABLE_PERSONALIZED ) && empty ( $user -> conf -> THEME_ELDY_USE_HOVER ))
|| ( empty ( $user -> conf -> THEME_ELDY_ENABLE_PERSONALIZED ) && empty ( $conf -> global -> THEME_ELDY_USE_HOVER )))
{
$colorbacklineimpairhover = '' ;
$colorbacklinepairhover = '' ;
}
2013-10-22 18:01:54 +02:00
2013-06-05 16:24:32 +02:00
// Set text color to black or white
$tmppart = explode ( ',' , $colorback1 );
$tmpval = ( ! empty ( $tmppart [ 1 ]) ? $tmppart [ 1 ] : '' );
$tmpval += ( ! empty ( $tmppart [ 2 ]) ? $tmppart [ 2 ] : '' );
$tmpval += ( ! empty ( $tmppart [ 3 ]) ? $tmppart [ 3 ] : '' );
//print $tmpval;
if ( $tmpval < 340 ) $colortextmain = 'FFFFFF' ;
else $colortextmain = '101010' ;
2013-10-22 18:01:54 +02:00
if ( $tmpval <= 360 ) { $colortexttitle = 'FFF' ; $colorshadowtitle = '000' ; }
else { $colortexttitle = '444' ; $colorshadowtitle = 'FFF' ; }
2013-06-05 16:24: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 ;
print '/*' . " \n " ;
print 'colred=' . $colred . ' colgreen=' . $colgreen . ' colblue=' . $colblue . " \n " ;
print 'isred=' . $isred . ' isgreen=' . $isgreen . ' isblue=' . $isblue . " \n " ;
print 'colorbacklineimpair1=' . $colorbacklineimpair1 . " \n " ;
print 'colorbacklineimpair2=' . $colorbacklineimpair2 . " \n " ;
print 'colorbacklineimpairhover=' . $colorbacklineimpairhover . " \n " ;
print 'colorbacklinepair1=' . $colorbacklinepair1 . " \n " ;
print 'colorbacklinepair2=' . $colorbacklinepair2 . " \n " ;
print 'colorbacklinepairhover=' . $colorbacklinepairhover . " \n " ;
print 'usecss3=' . $usecss3 . " \n " ;
print 'dol_hide_topmenu=' . $dol_hide_topmenu . " \n " ;
print 'dol_hide_leftmenu=' . $dol_hide_leftmenu . " \n " ;
print 'dol_optimize_smallscreen=' . $dol_optimize_smallscreen . " \n " ;
print 'dol_no_mouse_hover=' . $dol_no_mouse_hover . " \n " ;
print 'dol_use_jmobile=' . $dol_use_jmobile . " \n " ;
print '*/' . " \n " ;
2013-04-24 03:56:13 +02:00
if ( ! empty ( $conf -> dol_optimize_smallscreen )) $fontsize = 11 ;
2012-12-14 13:01:57 +01:00
?>
2012-04-18 14:27:31 +02:00
2012-12-14 13:01:57 +01:00
/* ============================================================================== */
2013-04-21 17:56:29 +02:00
/* Default styles */
2012-12-14 13:01:57 +01:00
/* ============================================================================== */
2012-04-17 11:50:25 +02:00
2012-12-14 13:01:57 +01:00
* , html {
margin : 0 ;
padding : 0 ;
2013-01-10 16:06:13 +01:00
font - size : 100 % ;
2012-12-14 13:01:57 +01:00
}
2012-04-17 11:50:25 +02:00
2012-12-14 13:01:57 +01:00
body {
2013-04-21 17:56:29 +02:00
< ? php if ( GETPOST ( " optioncss " ) == 'print' || ! empty ( $conf -> dol_optimize_smallscreen )) { ?>
background - color : #FFFFFF;
< ? php } else { ?>
background - color : < ? php print $colorbackbody ; ?> ;
< ? php } ?>
2012-12-14 13:01:57 +01:00
color : #232323;
2013-06-19 18:08:05 +02:00
< ? php if ( empty ( $dol_use_jmobile ) || 1 == 1 ) { ?>
2012-12-14 13:01:57 +01:00
font - size :< ? php print $fontsize ?> px;
2013-06-19 15:52:06 +02:00
< ? php } ?>
2012-12-14 13:01:57 +01:00
font - family :< ? php print $fontlist ?> ;
< ? php print 'direction:' . $langs -> trans ( " DIRECTION " ) . " ; \n " ; ?>
2012-09-22 20:27:06 +02:00
}
2012-12-14 13:01:57 +01:00
a {
font - family :< ? php print $fontlist ?> ;
font - weight : bold ;
text - decoration : none ;
color : #232323;
}
2012-09-22 20:27:06 +02:00
2012-12-14 13:01:57 +01:00
a : hover , a : active {
color : rgba ( 0 , 0 , 0 , . 6 );
}
2012-04-17 11:50:25 +02:00
2013-06-19 15:52:06 +02:00
< ? php if ( empty ( $dol_use_jmobile )) { ?>
2013-03-22 17:10:17 +01:00
input , input . flat , textarea , textarea . flat , form . flat select , select . flat {
padding : 1 px ;
}
2012-12-14 13:01:57 +01:00
input , textarea {
font - size :< ? php print $fontsize ?> px;
font - family :< ? php print $fontlist ?> ;
border - radius : 4 px ;
border : solid 1 px rgba ( 0 , 0 , 0 , . 3 );
border - top : solid 1 px rgba ( 0 , 0 , 0 , . 4 );
border - bottom : solid 1 px rgba ( 0 , 0 , 0 , . 2 );
box - shadow : 1 px 1 px 2 px rgba ( 0 , 0 , 0 , . 2 ) inset ;
}
2012-04-18 14:27:31 +02:00
2013-06-19 15:52:06 +02:00
< ? php } ?>
2012-12-14 13:01:57 +01:00
input [ type = " image " ] {
border - radius : 0 px ;
border : none ;
box - shadow : none ;
}
2012-04-18 14:27:31 +02:00
2012-12-14 13:01:57 +01:00
input . flat {
font - size :< ? php print $fontsize ?> px;
font - family :< ? php print $fontlist ?> ;
border - radius : 4 px ;
border : solid 1 px rgba ( 0 , 0 , 0 , . 3 );
border - top : solid 1 px rgba ( 0 , 0 , 0 , . 4 );
border - bottom : solid 1 px rgba ( 0 , 0 , 0 , . 2 );
}
2012-04-17 11:50:25 +02:00
2012-12-14 13:01:57 +01:00
input : disabled { background : #b6b6b6;}
2012-04-17 11:50:25 +02:00
2013-03-01 19:39:54 +01:00
input [ type = checkbox ] { background - color : transparent ; border : none ; box - shadow : none ; }
2013-07-01 21:52:09 +02:00
input [ type = radio ] { background - color : transparent ; border : none ; box - shadow : none ; }
input [ type = image ] { background - color : transparent ; border : none ; box - shadow : none ; }
2013-10-17 18:37:08 +02:00
input [ type = text ] { min - width : 20 px ; }
2013-06-23 12:43:06 +02:00
input :- webkit - autofill {
background - color : < ? php echo empty ( $dol_use_jmobile ) ? '#FBFFEA' : '#FFFFFF' ?> !important;
background - image : none ! important ;
- webkit - box - shadow : 0 0 0 50 px < ? php echo empty ( $dol_use_jmobile ) ? '#FBFFEA' : '#FFFFFF' ?> inset;
}
2013-06-26 14:38:56 +02:00
::- webkit - input - placeholder { color : #ccc; }
::- moz - placeholder { color : #ccc; } /* firefox 19+ */
:- ms - input - placeholder { color : #ccc; } /* ie */
input :- moz - placeholder { color : #ccc; }
2013-03-01 19:39:54 +01:00
2013-06-19 14:03:54 +02:00
< ? php if ( ! empty ( $dol_use_jmobile )) { ?>
legend { margin - bottom : 8 px ; }
< ? php } ?>
2012-12-14 13:01:57 +01:00
textarea . flat {
font - size :< ? php print $fontsize ?> px;
font - family :< ? php print $fontlist ?> ;
border - radius : 4 px ;
border : solid 1 px rgba ( 0 , 0 , 0 , . 3 );
border - top : solid 1 px rgba ( 0 , 0 , 0 , . 4 );
border - bottom : solid 1 px rgba ( 0 , 0 , 0 , . 2 );
box - shadow : 1 px 1 px 2 px rgba ( 0 , 0 , 0 , . 2 ) inset ;
}
2012-04-17 11:50:25 +02:00
2012-12-14 13:01:57 +01:00
textarea : disabled { background : #dddddd;}
select . flat {
font - size :< ? php print $fontsize ?> px;
font - family :< ? php print $fontlist ?> ;
border - radius : 4 px ;
border : solid 1 px rgba ( 0 , 0 , 0 , . 3 );
border - top : solid 1 px rgba ( 0 , 0 , 0 , . 4 );
border - bottom : solid 1 px rgba ( 0 , 0 , 0 , . 2 );
box - shadow : 1 px 1 px 2 px rgba ( 0 , 0 , 0 , . 2 ) inset ;
2013-04-10 18:33:58 +02:00
background : #FDFDFD;
2012-12-14 13:01:57 +01:00
}
2012-09-22 20:27:06 +02:00
2012-12-14 13:01:57 +01:00
form {
padding : 0 px ;
margin : 0 px ;
2012-06-14 20:07:35 +02:00
}
2013-04-03 15:20:56 +02:00
div . float
{
float :< ? php print $left ; ?> ;
}
div . floatright
{
float :< ? php print $right ; ?> ;
}
2013-04-03 18:37:54 +02:00
div . inline - block
{
display : inline - block ;
}
2012-04-17 11:50:25 +02:00
2013-04-21 17:56:29 +02: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 ;
border - radius : 0 px ! important ;
}
2013-02-24 14:57:49 +01:00
. valignmiddle {
vertical - align : middle ;
}
. centpercent {
width : 100 % ;
}
. center {
text - align : center ;
}
. left {
text - align : < ? php print $left ; ?> ;
}
. right {
text - align : < ? php print $right ; ?> ;
}
2013-04-25 01:13:13 +02:00
. nowrap {
white - space : < ? php print ( $dol_optimize_smallscreen ? 'normal' : 'nowrap' ); ?> ;
}
2013-07-19 15:29:40 +02:00
. nobold {
font - weight : normal ! important ;
}
. nounderline {
text - decoration : none ;
}
2012-04-17 11:50:25 +02:00
2013-04-21 17:56:29 +02:00
. blockvmenubookmarks . menu_contenu {
background - color : transparent ;
}
/* ! Message d'erreur lors du login : */
center . error { padding : 8 px ! important ; padding - left : 26 px ! important ; padding - right : 20 px ; width : inherit ; max - width : 450 px ; color : #552323 !important; font-size:14px; border-radius:8px; text-align: left;}
2012-12-14 13:01:57 +01:00
/* ============================================================================== */
2013-04-21 17:56:29 +02:00
/* Styles to hide objects */
2012-12-14 13:01:57 +01:00
/* ============================================================================== */
2013-04-21 17:56:29 +02:00
. hideobject { display : none ; }
< ? php if ( ! empty ( $dol_optimize_smallscreen )) { ?>
. hideonsmartphone { display : none ; }
. noenlargeonsmartphone { width : 50 px ! important ; display : inline ! important ; }
2013-11-30 02:31:17 +01:00
. maxwidthonsmartphone { max - width : 100 px ; }
2013-04-21 17:56:29 +02:00
< ? php } ?>
. linkobject { cursor : pointer ; }
/* ============================================================================== */
/* Styles for dragging lines */
/* ============================================================================== */
. dragClass {
color : #333333;
}
td . showDragHandle {
cursor : move ;
}
. tdlineupdown {
white - space : nowrap ;
2013-10-21 13:43:31 +02:00
min - width : 10 px ;
2013-04-21 17:56:29 +02:00
}
/* ============================================================================== */
/* Menu top et 1ere ligne tableau */
/* ============================================================================== */
div . tmenu {
< ? php if ( GETPOST ( " optioncss " ) == 'print' ) { ?>
display : none ;
< ? php } else { ?>
position : relative ;
display : block ;
margin : 0 ;
padding : 0 ;
padding - left : 1 em ;
top : 0 ;
left : 0 ;
right : 0 ;
white - space : nowrap ;
height : 36 px ;
< ? php if ( $conf -> browser -> name != 'ie' ) echo " line-height:36px; /* disabled for ie9 */ \n " ; ?>
background : #333333;
background - image : linear - gradient ( top , rgba ( 255 , 255 , 255 , . 3 ) 0 % , rgba ( 0 , 0 , 0 , . 3 ) 100 % );
background - image :- o - linear - gradient ( top , rgba ( 255 , 255 , 255 , . 3 ) 0 % , rgba ( 0 , 0 , 0 , . 3 ) 100 % );
background - image :- moz - linear - gradient ( top , rgba ( 255 , 255 , 255 , . 3 ) 0 % , rgba ( 0 , 0 , 0 , . 3 ) 100 % );
background - image :- webkit - linear - gradient ( top , rgba ( 255 , 255 , 255 , . 3 ) 0 % , rgba ( 0 , 0 , 0 , . 3 ) 100 % );
background - image :- ms - linear - gradient ( top , rgba ( 255 , 255 , 255 , . 3 ) 0 % , rgba ( 0 , 0 , 0 , . 3 ) 100 % );
background - image :- webkit - gradient (
linear ,
left top ,
left bottom ,
color - stop ( 0 , rgba ( 255 , 255 , 255 , . 3 )),
color - stop ( 1 , rgba ( 0 , 0 , 0 , . 3 ))
);
border - bottom : solid 1 px rgba ( 0 , 0 , 0 , . 8 );
box - shadow : 0 0 6 px rgba ( 0 , 0 , 0 , . 4 ) ! important ;
z - index : 100 ;
< ? php } ?>
}
div . tmenu a {
font - weight : normal ;
}
div . tmenu li {
display : inline - table ;
margin - right : 1 em ;
text - transform : uppercase ;
}
div . tmenu li a { color : #cccccc;}
div . tmenu li a : hover { color : rgba ( 255 , 255 , 255 , 1 );}
div . tmenu ul li a . tmenusel { /* texte du menu principal sélectionné */
color : #ffffff;
font - weight : bold ;
}
. tmenudisabled { color : #808080 !important; cursor: not-allowed; }
/* Login */
2013-02-24 14:57:49 +01:00
2013-04-22 14:33:47 +02:00
body . body center { color : white ; margin - top : 100 px ; }
2012-04-17 11:50:25 +02:00
form #login {
border : solid 1 px rgba ( 0 , 0 , 0 , . 4 );
2012-12-14 13:01:57 +01:00
border - top : solid 1 px #ffffff;
background - color : #c7d0db;
background - image : linear - gradient ( top , rgba ( 255 , 255 , 255 , . 3 ) 0 % , rgba ( 0 , 0 , 0 , . 3 ) 100 % );
background - image :- o - linear - gradient ( top , rgba ( 255 , 255 , 255 , . 3 ) 0 % , rgba ( 0 , 0 , 0 , . 3 ) 100 % );
background - image :- moz - linear - gradient ( top , rgba ( 255 , 255 , 255 , . 3 ) 0 % , rgba ( 0 , 0 , 0 , . 3 ) 100 % );
background - image :- webkit - linear - gradient ( top , rgba ( 255 , 255 , 255 , . 3 ) 0 % , rgba ( 0 , 0 , 0 , . 3 ) 100 % );
background - image :- ms - linear - gradient ( top , rgba ( 255 , 255 , 255 , . 3 ) 0 % , rgba ( 0 , 0 , 0 , . 3 ) 100 % );
background - image :- webkit - gradient (
2012-04-17 11:50:25 +02:00
linear ,
left top ,
left bottom ,
color - stop ( 0 , rgba ( 255 , 255 , 255 , . 3 )),
color - stop ( 1 , rgba ( 0 , 0 , 0 , . 3 ))
);
margin - left : auto ;
margin - right : auto ;
2012-12-14 17:05:56 +01:00
margin - bottom : 25 px ;
2012-12-14 13:01:57 +01:00
padding : 20 px 20 px 10 px ;
2013-04-24 03:56:13 +02:00
max - width : 500 px ;
2012-12-14 13:01:57 +01:00
border - radius : 12 px ;
box - shadow : 0 0 16 px rgba ( 0 , 0 , 0 , . 8 );
}
form #login img {width:auto; height:auto; opacity:.7;}
form #login img#img_logo {
2013-02-10 11:09:21 +01:00
width : 190 px ;
max - width : 190 px ;
2012-04-17 11:50:25 +02:00
height : auto ;
border - radius : 6 px ;
padding : 6 px ;
2012-12-14 13:01:57 +01:00
background - color : #ffffff;
2012-04-17 11:50:25 +02:00
border : solid 1 px rgba ( 0 , 0 , 0 , . 4 );
border - top : solid 1 px rgba ( 0 , 0 , 0 , . 5 );
border - bottom : solid 1 px rgba ( 0 , 0 , 0 , . 3 );
2012-12-14 13:01:57 +01:00
box - shadow : 1 px 1 px 6 px rgba ( 0 , 0 , 0 , . 3 ) inset , 0 0 1 px rgba ( 255 , 255 , 255 , . 6 );
}
2012-12-30 12:02:54 +01:00
2012-12-14 13:01:57 +01:00
form #login input {
padding : 6 px ;
2012-04-17 11:50:25 +02:00
font - size : 120 % ;
2012-12-14 13:01:57 +01:00
}
2012-12-30 12:02:54 +01:00
2012-12-14 13:01:57 +01:00
form #login label, form#login td b {
2012-04-17 11:50:25 +02:00
vertical - align : middle ;
2012-12-14 13:01:57 +01:00
line - height : 40 px ;
2012-04-17 11:50:25 +02:00
color : rgba ( 0 , 0 , 0 , . 4 );
2012-12-14 13:01:57 +01:00
text - shadow : 1 px 1 px 1 px rgba ( 255 , 255 , 255 , . 6 );
}
2012-12-30 12:02:54 +01:00
2012-12-14 13:01:57 +01:00
form #login table.login_table {
margin : 10 px 0 px ;
border : none ;
background : none ! important ;
}
2012-04-18 14:27:31 +02:00
2013-02-24 14:57:49 +01:00
div #login_left, div#login_right {
display : inline - block ;
min - width : 220 px ;
text - align : center ;
vertical - align : middle ;
}
2012-04-17 11:50:25 +02:00
2012-12-14 13:01:57 +01:00
table . login_table { background - color : red ! important ;}
table . login_table tr td { vertical - align : middle ;}
table . login_table tr . vmenu td { font - size : 18 px ;}
table . login_table tr td a { color : #333333 !important;}
table . login_table tr td a : hover { color : #000000 !important;}
table . login_table . button {
2012-12-14 17:05:56 +01:00
padding : 2 px ;
padding - left : 6 px ;
padding - right : 6 px ;
margin - right : 6 px ;
border - radius :. 6 em ;
background - image : linear - gradient ( top , rgba ( 255 , 255 , 255 , . 3 ) 0 % , rgba ( 0 , 0 , 0 , . 3 ) 100 % );
background - image : - o - linear - gradient ( top , rgba ( 255 , 255 , 255 , . 3 ) 0 % , rgba ( 0 , 0 , 0 , . 3 ) 100 % );
background - image : - moz - linear - gradient ( top , rgba ( 255 , 255 , 255 , . 3 ) 0 % , rgba ( 0 , 0 , 0 , . 3 ) 100 % );
background - image : - webkit - linear - gradient ( top , rgba ( 255 , 255 , 255 , . 3 ) 0 % , rgba ( 0 , 0 , 0 , . 3 ) 100 % );
background - image : - ms - linear - gradient ( top , rgba ( 255 , 255 , 255 , . 3 ) 0 % , rgba ( 0 , 0 , 0 , . 3 ) 100 % );
background - image : - webkit - gradient (
linear ,
left top ,
left bottom ,
color - stop ( 0 , rgba ( 255 , 255 , 255 , . 3 )),
color - stop ( 1 , rgba ( 0 , 0 , 0 , . 3 ))
);
}
table . login_table . button : hover {
background - image : linear - gradient ( top , rgba ( 255 , 255 , 255 , . 3 ) 100 % , rgba ( 0 , 0 , 0 , . 3 ) 0 % );
background - image : - o - linear - gradient ( top , rgba ( 255 , 255 , 255 , . 3 ) 100 % , rgba ( 0 , 0 , 0 , . 3 ) 0 % );
background - image : - moz - linear - gradient ( top , rgba ( 255 , 255 , 255 , . 3 ) 100 % , rgba ( 0 , 0 , 0 , . 3 ) 0 % );
background - image : - webkit - linear - gradient ( top , rgba ( 255 , 255 , 255 , . 3 ) 100 % , rgba ( 0 , 0 , 0 , . 3 ) 0 % );
background - image : - ms - linear - gradient ( top , rgba ( 255 , 255 , 255 , . 3 ) 100 % , rgba ( 0 , 0 , 0 , . 3 ) 0 % );
background - image : - webkit - gradient (
linear ,
left top ,
left bottom ,
color - stop ( 1 , rgba ( 255 , 255 , 255 , . 3 )),
color - stop ( 0 , rgba ( 0 , 0 , 0 , . 3 ))
);
2012-12-14 13:01:57 +01:00
}
2012-12-30 12:02:54 +01:00
2012-12-14 13:01:57 +01:00
table . login_table . vmenu {
color : rgba ( 0 , 0 , 0 , . 6 );
text - shadow : 1 px 1 px 1 px rgba ( 255 , 255 , 255 , . 6 );
2012-04-17 11:50:25 +02:00
font - size : 120 % ;
2012-12-14 13:01:57 +01:00
}
2012-04-17 11:50:25 +02:00
div . login_block {
2012-12-14 13:01:57 +01:00
position : absolute ;
2013-07-28 17:02:13 +02:00
top : 0 px ;
right : 8 px ;
2012-12-14 13:01:57 +01:00
z - index : 100 ;
< ? php if ( GETPOST ( " optioncss " ) == 'print' ) { ?>
display : none ;
< ? php } ?>
}
2013-07-28 17:02:13 +02:00
div . login_block_user , div . login_block_other { clear : both ; }
2012-12-14 13:01:57 +01:00
div . login_block a { color : rgba ( 255 , 255 , 255 , . 6 );}
div . login_block a : hover { color : #ffffff}
div . login_block table {
display : inline ;
}
div . login {
white - space : nowrap ;
2013-07-28 17:02:13 +02:00
/* padding: <?php echo ($conf->dol_optimize_smallscreen?'0':'8')?>px 0px 0px 0px; */
/* margin:0px 0px 0px 8px; */
2012-12-14 13:01:57 +01:00
font - weight : bold ;
2013-07-28 17:02:13 +02:00
float : right ;
}
. login_block_user {
float : right ;
}
. login_block_elem {
float : right ;
vertical - align : top ;
padding : 0 px 0 px 0 px 8 px ! important ;
height : 16 px ;
2012-12-14 13:01:57 +01:00
}
img . login , img . printer , img . entity {
2013-07-28 17:02:13 +02:00
/* padding: <?php echo ($conf->dol_optimize_smallscreen?'0':'8')?>px 0px 0px 0px; */
margin : 2 px 0 px 0 px 0 px ;
2012-12-14 13:01:57 +01:00
text - decoration : none ;
2013-04-21 17:56:29 +02:00
color : white ;
2012-12-14 13:01:57 +01:00
font - weight : bold ;
}
2013-05-13 23:46:37 +02:00
. alogin {
color : #FFF;
font - weight : normal ;
}
. alogin : hover {
color : #FFF;
text - decoration : underline ;
}
2013-04-22 14:33:47 +02:00
div . login_main_home {
color : #000000;
}
2012-04-17 11:50:25 +02:00
2012-12-14 13:01:57 +01:00
/* ============================================================================== */
/* Menu gauche */
/* ============================================================================== */
2012-04-17 11:50:25 +02:00
2013-04-25 20:27:45 +02:00
td . vmenu {
< ? php if ( GETPOST ( " optioncss " ) != 'print' ) { ?>
margin - right : 2 px ;
padding : 0 px ;
width : 170 px ;
/* border-right: 1px solid #666666; */
< ? php } ?>
}
2012-04-17 11:50:25 +02:00
div . vmenu {
2012-12-14 13:01:57 +01:00
< ? php if ( GETPOST ( " optioncss " ) == 'print' ) { ?>
display : none ;
< ? php } else { ?>
width : 170 px ;
2013-04-24 03:56:13 +02:00
- moz - box - shadow : 3 px 0 px 6 px #CCC;
- webkit - box - shadow : 3 px 0 px 6 px #CCC;
box - shadow : 3 px 0 px 6 px #CCC;
2012-12-14 13:01:57 +01:00
< ? php } ?>
}
2012-04-17 11:50:25 +02:00
. blockvmenupair . menu_titre , . blockvmenuimpair . menu_titre {
height : 22 px ;
line - height : 22 px ;
2013-04-24 14:20:23 +02:00
/* text-align:center; */
2012-04-17 11:50:25 +02:00
background - color : rgba ( 0 , 0 , 0 , . 08 );
2012-12-14 13:01:57 +01:00
background - image : linear - gradient ( top , rgba ( 255 , 255 , 255 , . 3 ) 0 % , rgba ( 0 , 0 , 0 , . 3 ) 100 % );
background - image :- o - linear - gradient ( top , rgba ( 255 , 255 , 255 , . 3 ) 0 % , rgba ( 0 , 0 , 0 , . 3 ) 100 % );
background - image :- moz - linear - gradient ( top , rgba ( 255 , 255 , 255 , . 3 ) 0 % , rgba ( 0 , 0 , 0 , . 3 ) 100 % );
background - image :- webkit - linear - gradient ( top , rgba ( 255 , 255 , 255 , . 3 ) 0 % , rgba ( 0 , 0 , 0 , . 3 ) 100 % );
background - image :- ms - linear - gradient ( top , rgba ( 255 , 255 , 255 , . 3 ) 0 % , rgba ( 0 , 0 , 0 , . 3 ) 100 % );
background - image :- webkit - gradient (
2012-04-17 11:50:25 +02:00
linear ,
left top ,
left bottom ,
color - stop ( 0 , rgba ( 255 , 255 , 255 , . 3 )),
color - stop ( 1 , rgba ( 0 , 0 , 0 , . 3 ))
);
2013-04-24 14:20:23 +02:00
padding - left : 5 px ;
2012-12-14 13:01:57 +01:00
border - top : solid 1 px rgba ( 255 , 255 , 255 , . 5 );
border - bottom : solid 1 px rgba ( 0 , 0 , 0 , . 5 );
}
2012-04-18 14:27:31 +02:00
2012-12-14 13:01:57 +01:00
. blockvmenupair . menu_titre a , . blockvmenuimpair . menu_titre a { font - weight : normal ;}
2012-04-17 11:50:25 +02:00
. menu_contenu {
2012-12-14 13:01:57 +01:00
background - color : #ffffff;
2013-04-24 03:56:13 +02:00
padding - left : 6 px ;
2013-01-08 16:46:06 +01:00
border - top : solid 1 px rgba ( 0 , 0 , 0 , . 05 );
2012-12-14 13:01:57 +01:00
}
. menu_contenu : hover { background - color : #f7f7f7;}
. menu_contenu a . vsmenu {
color : #000000;
line - height : 18 px ;
font - weight : normal ;
}
2012-04-17 11:50:25 +02:00
. blockvmenusearch {
border - top : solid 1 px rgba ( 0 , 0 , 0 , . 3 );
2012-12-14 13:01:57 +01:00
padding : 10 px 5 px 20 px ;
text - align : center ;
}
2012-04-17 11:50:25 +02:00
. blockvmenusearch . menu_titre {
margin - top : 6 px ;
2012-12-14 13:01:57 +01:00
text - align : left ;
2013-04-24 03:56:13 +02:00
padding - left : 0 px ;
2012-12-14 13:01:57 +01:00
}
2012-04-17 11:50:25 +02:00
#blockvmenuhelp {
2012-12-14 13:01:57 +01:00
border - top : solid 1 px rgba ( 0 , 0 , 0 , . 1 );
2012-04-17 11:50:25 +02:00
padding : 12 px ;
text - align : center ;
2012-12-14 13:01:57 +01:00
}
2012-04-17 11:50:25 +02:00
2013-03-19 15:28:40 +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; }
2012-04-17 11:50:25 +02:00
2012-12-14 13:01:57 +01:00
/* ============================================================================== */
/* Panes for Main */
/* ============================================================================== */
#mainContent {
background - color : #ffffff;
}
#mainContent, #leftContent .ui-layout-pane {
padding : 0 px ;
overflow : auto ;
}
#mainContent, #leftContent .ui-layout-center {
padding : 0 px ;
position : relative ; /* contain floated or positioned elements */
overflow : auto ; /* add scrolling to content-div */
}
2012-04-18 14:27:31 +02:00
2012-12-14 13:01:57 +01:00
/* ============================================================================== */
/* Toolbar for ECM or Filemanager */
/* ============================================================================== */
2012-12-30 12:02:54 +01:00
. largebutton {
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;
background - image : linear - gradient ( bottom , rgb ( < ? php echo '240,240,240' ; ?> ) 15%, rgb(<?php echo '255,255,255'; ?>) 100%) !important;
border : 1 px solid #CCC !important;
- moz - border - radius : 5 px 5 px 5 px 5 px ! important ;
- webkit - border - radius : 5 px 5 px 5 px 5 px ! important ;
border - radius : 5 px 5 px 5 px 5 px ! important ;
- moz - box - shadow : 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;
padding : 0 4 px 0 4 px ! important ;
}
2012-12-14 13:01:57 +01:00
. toolbar {}
. toolbarbutton {}
/* ============================================================================== */
/* Panes for ECM or Filemanager */
/* ============================================================================== */
2013-01-10 16:06:13 +01:00
2012-12-14 13:01:57 +01:00
#containerlayout .layout-with-no-border {
2013-01-10 16:06:13 +01:00
border : 0 ! important ;
border - width : 0 ! important ;
2012-12-14 13:01:57 +01:00
}
#containerlayout .layout-padding {
2013-01-10 16:06:13 +01:00
padding : 2 px ! important ;
2012-12-14 13:01:57 +01:00
}
2013-01-10 16:06:13 +01:00
/*
* PANES and CONTENT - DIVs
*/
#containerlayout .ui-layout-pane { /* all 'panes' */
background : #FFF;
border : 1 px solid #BBB;
/* DO NOT add scrolling ( or padding ) to 'panes' that have a content - div ,
otherwise you may get double - scrollbars - on the pane AND on the content - div
*/
padding : 0 px ;
overflow : auto ;
}
/* (scrolling) content-div inside pane allows for fixed header(s) and/or footer(s) */
#containerlayout .ui-layout-content {
padding : 10 px ;
position : relative ; /* contain floated or positioned elements */
overflow : auto ; /* add scrolling to content-div */
2012-12-14 13:01:57 +01:00
}
2013-01-10 16:06:13 +01:00
/*
* RESIZER - BARS
*/
. ui - layout - resizer { /* all 'resizer-bars' */
2013-04-03 15:20:56 +02:00
width : < ? php echo ( empty ( $conf -> dol_optimize_smallscreen ) ? '8' : '24' ); ?> px !important;
2013-01-10 16:06:13 +01:00
}
. ui - layout - resizer - hover { /* affects both open and closed states */
}
/* NOTE : It looks best when 'hover' and 'dragging' are set to the same color ,
otherwise color shifts while dragging when bar can ' t keep up with mouse */
/*.ui-layout-resizer-open-hover ,*/ /* hover-color to 'resize' */
. ui - layout - resizer - dragging { /* resizer beging 'dragging' */
background : #DDD;
2013-04-03 15:20:56 +02:00
width : < ? php echo ( empty ( $conf -> dol_optimize_smallscreen ) ? '8' : '24' ); ?> px;
2013-01-10 16:06:13 +01: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 */
}
. ui - layout - resizer - closed {
background - color : #DDDDDD;
}
. ui - layout - resizer - closed : hover {
background - color : #EEDDDD;
}
. ui - layout - resizer - sliding { /* resizer when pane is 'slid open' */
opacity : . 10 ; /* show only a slight shadow */
filter : alpha ( opacity = 10 );
}
. ui - layout - resizer - sliding - hover { /* sliding resizer - hover */
opacity : 1.00 ; /* on-hover, show the resizer-bar normally */
filter : alpha ( opacity = 100 );
}
/* sliding resizer - add 'outside-border' to resizer on-hover */
/* this sample illustrates how to target specific panes and states */
/*. ui - layout - resizer - north - sliding - hover { border - bottom - width : 1 px ; }
. ui - layout - resizer - south - sliding - hover { border - top - width : 1 px ; }
. ui - layout - resizer - west - sliding - hover { border - right - width : 1 px ; }
. ui - layout - resizer - east - sliding - hover { border - left - width : 1 px ; }
*/
/*
* TOGGLER - BUTTONS
*/
. ui - layout - toggler {
2013-04-03 15:20:56 +02:00
< ? php if ( empty ( $conf -> dol_optimize_smallscreen )) { ?>
2013-01-10 16:06:13 +01: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 ;
< ? php } else { ?>
diplay : none ;
< ? php } ?>
}
. ui - layout - toggler - open {
height : 54 px ! important ;
2013-04-03 15:20:56 +02:00
width : < ? php echo ( empty ( $conf -> dol_optimize_smallscreen ) ? '7' : '22' ); ?> px !important;
2013-01-10 16:06:13 +01:00
- moz - border - radius : 0 px 10 px 10 px 0 px ;
- webkit - border - radius : 0 px 10 px 10 px 0 px ;
border - radius : 0 px 10 px 10 px 0 px ;
}
. ui - layout - toggler - closed {
2013-04-03 15:20:56 +02:00
height : < ? php echo ( empty ( $conf -> dol_optimize_smallscreen ) ? '54' : '2' ); ?> px !important;
width : < ? php echo ( empty ( $conf -> dol_optimize_smallscreen ) ? '7' : '22' ); ?> px !important;
2013-01-10 16:06:13 +01: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 ;
2012-12-14 13:01:57 +01:00
}
2013-01-10 16:06:13 +01:00
. ui - layout - north {
2013-04-03 15:20:56 +02:00
height : < ? php print ( empty ( $conf -> dol_optimize_smallscreen ) ? '54' : '21' ); ?> px !important;
2012-12-14 13:01:57 +01:00
}
2013-01-10 16:06:13 +01: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 {
border - top : 1 px solid #AAA; /* match pane-border */
border - right : 1 px solid #AAA; /* match pane-border */
border - bottom : 1 px solid #AAA; /* match pane-border */
background - color : #CCC;
}
. ecm - layout - toggler - open {
height : 48 px ! important ;
width : 6 px ! important ;
- moz - border - radius : 0 px 10 px 10 px 0 px ;
- webkit - border - radius : 0 px 10 px 10 px 0 px ;
border - radius : 0 px 10 px 10 px 0 px ;
}
. ecm - layout - toggler - closed {
height : 48 px ! important ;
width : 6 px ! important ;
2012-12-14 13:01:57 +01:00
}
2013-01-10 16:06:13 +01: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 ;
}
. ecm - layout - resizer - closed {
}
. ecm - in - layout - center {
border - left : 1 px ! important ;
border - right : 0 px ! important ;
border - top : 0 px ! important ;
}
. ecm - in - layout - south {
border - left : 0 px ! important ;
border - right : 0 px ! important ;
border - bottom : 0 px ! important ;
padding : 4 px 0 4 px 4 px ! important ;
}
2012-12-14 13:01:57 +01:00
/* ============================================================================== */
/* Onglets */
/* ============================================================================== */
div . tabs {
2013-04-24 03:56:13 +02:00
margin : 0 px 0 px 0 px 6 px ;
2013-07-23 20:48:37 +02:00
padding : 0 px 6 px 0 px 0 px ;
2013-04-24 03:56:13 +02:00
clear : both ;
height : 100 % ;
2012-12-14 13:01:57 +01:00
}
2013-04-24 03:56:13 +02:00
div . tabsElem { margin - top : 10 px ; } /* To avoid overlap of tabs when not browser */
2012-12-14 13:01:57 +01:00
div . tabBar {
background - color : #ffffff;
padding : 6 px ;
2013-04-24 03:56:13 +02:00
margin : 0 px 0 px 14 px 0 px ;
2012-12-14 13:01:57 +01:00
border : 1 px solid #bbbbbb;
2013-04-21 17:56:29 +02:00
- moz - box - shadow : 4 px 4 px 4 px #DDD;
- webkit - box - shadow : 4 px 4 px 4 px #DDD;
box - shadow : 4 px 4 px 4 px #DDD;
2012-12-14 13:01:57 +01:00
}
div . tabBar table . notopnoleftnoright {
white - space : nowrap ;
}
div . tabsAction {
margin - top : 12 px ! important ;
text - align : right ;
}
a . tabTitle {
color : rgba ( 0 , 0 , 0 , . 5 );
margin - right : 10 px ;
text - shadow : 1 px 1 px 1 px #ffffff;
padding - left : 5 px ;
vertical - align : middle ;
}
a . tabTitle img {
2013-04-24 03:56:13 +02:00
vertical - align : middle ;
2012-12-14 13:01:57 +01:00
}
2012-04-18 14:27:31 +02:00
2013-04-24 03:56:13 +02:00
a . tab {
2013-07-23 20:48:37 +02:00
padding : 5 px 12 px 3 px ;
2013-04-24 03:56:13 +02:00
margin : 0 em 0.2 em ;
2012-12-14 13:01:57 +01:00
background - color : rgba ( 0 , 0 , 0 , . 2 );
color : #666666;
2012-04-17 11:50:25 +02:00
border : solid 1 px rgba ( 0 , 0 , 0 , . 3 );
2012-12-14 13:01:57 +01:00
border - bottom : 0 px ;
2012-04-17 11:50:25 +02:00
- webkit - border - top - left - radius : 6 px ;
- webkit - border - top - right - radius : 6 px ;
2012-12-14 13:01:57 +01:00
}
2012-12-30 12:02:54 +01:00
2013-04-24 03:56:13 +02:00
a . tab #active {
2012-12-14 13:01:57 +01:00
color : #232323;
2012-04-17 11:50:25 +02:00
font - weight : bold ;
2012-12-14 13:01:57 +01:00
background - color : #ffffff;
2013-04-24 03:56:13 +02:00
< ? php echo $dol_use_jmobile ? '' : 'border-bottom:solid 1px #ffffff;' ; ?>
2012-12-14 13:01:57 +01:00
}
2012-12-30 12:02:54 +01:00
2013-04-24 03:56:13 +02:00
a . tab : hover { color : #333333;}
2012-04-17 11:50:25 +02:00
2012-12-14 13:01:57 +01:00
/* ============================================================================== */
/* Styles de positionnement des zones */
/* ============================================================================== */
2012-12-30 12:02:54 +01:00
2013-04-25 20:27:45 +02:00
#id-container {
display : table ;
table - layout : fixed ;
}
#id-right, #id-left {
display : table - cell ;
float : none ;
vertical - align : top ;
}
#id-<?php echo $right; ?> {
width : 100 % ;
2013-01-07 17:57:39 +01:00
}
2012-12-14 13:01:57 +01:00
div . fiche {
2013-04-28 12:46:52 +02:00
padding : 8 px 5 px 10 px ;
margin -< ? php print $left ; ?> : <?php print (GETPOST("optioncss") == 'print'?6:((empty($conf->global->MAIN_MENU_USE_JQUERY_LAYOUT))?($dol_hide_leftmenu?'3':'16'):'24')); ?>px;
margin -< ? php print $right ; ?> : <?php print (GETPOST("optioncss") == 'print'?8:(empty($conf->dol_optimize_smallscreen)?'12':'3')); ?>px;
2012-12-14 13:01:57 +01:00
}
2012-12-30 12:02:54 +01:00
2012-12-14 13:01:57 +01:00
div . fichecenter {
width : 100 % ;
clear : both ; /* This is to have div fichecenter that are true rectangles */
}
div . fichethirdleft {
2013-04-03 15:20:56 +02:00
< ? php if ( empty ( $conf -> dol_optimize_smallscreen )) { print " float: " . $left . " ; \n " ; } ?>
< ? php if ( empty ( $conf -> dol_optimize_smallscreen )) { print " width: 35%; \n " ; } ?>
< ? php if ( ! empty ( $conf -> dol_optimize_smallscreen )) { print " padding-bottom: 6px; \n " ; } ?>
2012-12-14 13:01:57 +01:00
}
div . fichetwothirdright {
2013-04-03 15:20:56 +02:00
< ? php if ( empty ( $conf -> dol_optimize_smallscreen )) { print " float: " . $left . " ; \n " ; } ?>
< ? php if ( empty ( $conf -> dol_optimize_smallscreen )) { print " width: 65%; \n " ; } ?>
< ? php if ( ! empty ( $conf -> dol_optimize_smallscreen )) { print " padding-bottom: 6px \n " ; } ?>
2012-12-14 13:01:57 +01:00
}
div . fichehalfleft {
2013-04-03 15:20:56 +02:00
< ? php if ( empty ( $conf -> dol_optimize_smallscreen )) { print " float: " . $left . " ; \n " ; } ?>
< ? php if ( empty ( $conf -> dol_optimize_smallscreen )) { print " width: 50%; \n " ; } ?>
2012-12-14 13:01:57 +01:00
}
div . fichehalfright {
2013-04-03 15:20:56 +02:00
< ? php if ( empty ( $conf -> dol_optimize_smallscreen )) { print " float: " . $left . " ; \n " ; } ?>
< ? php if ( empty ( $conf -> dol_optimize_smallscreen )) { print " width: 50%; \n " ; } ?>
2012-12-14 13:01:57 +01:00
}
div . ficheaddleft {
2013-04-22 14:33:47 +02:00
< ? php if ( empty ( $conf -> dol_optimize_smallscreen )) { print " padding-left: 16px; \n " ; }
2013-04-11 20:00:12 +02:00
else print " margin-top: 10px; \n " ; ?>
2012-12-14 13:01:57 +01:00
}
2012-04-17 11:50:25 +02:00
2012-04-18 14:27:31 +02:00
2012-04-17 11:50:25 +02:00
2012-12-14 13:01:57 +01:00
/* ============================================================================== */
/* Boutons actions */
/* ============================================================================== */
2012-04-18 14:27:31 +02:00
2013-04-03 18:37:54 +02:00
div . divButAction { margin - bottom : 1.4 em ; }
2013-04-03 15:20:56 +02:00
2013-01-07 17:57:39 +01:00
. button , . butAction { background : #999; border: solid 1px #888; font-weight: normal; }
2013-04-25 01:13:13 +02:00
. butActionRefused { background : #eaeaea; color:rgba(0,0,0,0.6); font-weight: normal !important; cursor: not-allowed; }
2013-01-07 17:57:39 +01:00
. butActionDelete { background : #b33c37; border:solid 1px #8d2f2b; font-weight: normal;}
2012-04-17 11:50:25 +02:00
2012-12-14 13:01:57 +01:00
. button , . butAction , . butActionRefused , . butActionDelete {
2012-04-17 11:50:25 +02:00
padding : 2 px ;
2012-12-14 13:01:57 +01:00
padding - left : 6 px ;
padding - right : 6 px ;
margin - right : 6 px ;
/*
border - left : solid 1 px rgba ( 0 , 0 , 0 , . 3 );
border - right : solid 1 px rgba ( 0 , 0 , 0 , . 3 );
border - bottom : solid 1 px rgba ( 0 , 0 , 0 , . 6 );
border - top : solid 1 px rgba ( 0 , 0 , 0 , . 1 );
*/
border - radius :. 6 em ;
2012-04-17 11:50:25 +02:00
2012-12-14 13:01:57 +01:00
background - image : linear - gradient ( top , rgba ( 255 , 255 , 255 , . 3 ) 0 % , rgba ( 0 , 0 , 0 , . 3 ) 100 % );
2012-04-17 11:50:25 +02:00
background - image : - o - linear - gradient ( top , rgba ( 255 , 255 , 255 , . 3 ) 0 % , rgba ( 0 , 0 , 0 , . 3 ) 100 % );
background - image : - moz - linear - gradient ( top , rgba ( 255 , 255 , 255 , . 3 ) 0 % , rgba ( 0 , 0 , 0 , . 3 ) 100 % );
background - image : - webkit - linear - gradient ( top , rgba ( 255 , 255 , 255 , . 3 ) 0 % , rgba ( 0 , 0 , 0 , . 3 ) 100 % );
background - image : - ms - linear - gradient ( top , rgba ( 255 , 255 , 255 , . 3 ) 0 % , rgba ( 0 , 0 , 0 , . 3 ) 100 % );
background - image : - webkit - gradient (
linear ,
left top ,
left bottom ,
color - stop ( 0 , rgba ( 255 , 255 , 255 , . 3 )),
color - stop ( 1 , rgba ( 0 , 0 , 0 , . 3 ))
);
}
2012-04-18 14:27:31 +02:00
2013-01-07 17:57:39 +01:00
. button , a . butAction { color : white ; font - weight : normal ! important ;}
2012-12-14 13:01:57 +01:00
2013-01-07 17:57:39 +01:00
. butAction , . butActionDelete { color : white ;}
2012-12-14 13:01:57 +01:00
td . formdocbutton { padding - top : 6 px ;}
2012-12-20 17:16:32 +01:00
. button : hover , . butAction : hover , . butActionDelete : hover {
2012-12-14 13:01:57 +01:00
background - image : linear - gradient ( top , rgba ( 255 , 255 , 255 , . 3 ) 100 % , rgba ( 0 , 0 , 0 , . 3 ) 0 % );
background - image : - o - linear - gradient ( top , rgba ( 255 , 255 , 255 , . 3 ) 100 % , rgba ( 0 , 0 , 0 , . 3 ) 0 % );
background - image : - moz - linear - gradient ( top , rgba ( 255 , 255 , 255 , . 3 ) 100 % , rgba ( 0 , 0 , 0 , . 3 ) 0 % );
background - image : - webkit - linear - gradient ( top , rgba ( 255 , 255 , 255 , . 3 ) 100 % , rgba ( 0 , 0 , 0 , . 3 ) 0 % );
background - image : - ms - linear - gradient ( top , rgba ( 255 , 255 , 255 , . 3 ) 100 % , rgba ( 0 , 0 , 0 , . 3 ) 0 % );
background - image : - webkit - gradient (
linear ,
left top ,
left bottom ,
color - stop ( 1 , rgba ( 255 , 255 , 255 , . 3 )),
color - stop ( 0 , rgba ( 0 , 0 , 0 , . 3 ))
);
2013-01-07 17:57:39 +01:00
color : white ;
2012-12-14 13:01:57 +01:00
}
/* ============================================================================== */
/* Tables */
/* ============================================================================== */
#undertopmenu {
}
2013-06-23 18:01:10 +02:00
table img , div . tagtable img {
2012-12-14 13:01:57 +01:00
padding : 0 px 2 px ;
vertical - align : middle ;
}
2013-06-23 18:01:10 +02:00
table . liste img , div . list img {
2012-12-14 13:01:57 +01:00
padding : 0 px ;
}
2013-06-23 18:01:10 +02:00
table a , div . tagtable a {
2012-12-14 13:01:57 +01:00
vertical - align : middle ;
}
. nocellnopadd {
list - style - type : none ;
margin : 0 px ;
padding : 0 px ;
}
. allwidth {
width : 100 % ;
}
. notopnoleft {
border - collapse : collapse ;
border : 0 px ;
padding - top : 0 px ;
padding - left : 0 px ;
padding - right : 10 px ;
padding - bottom : 4 px ;
margin : 0 px 0 px ;
}
table . notopnoleftnoright {
border : 0 px ;
border - collapse : collapse ;
padding - top : 0 px ;
padding - left : 0 px ;
padding - right : 10 px ;
padding - bottom : 4 px ;
margin : 0 px ;
}
2013-10-27 00:04:57 +02:00
table . border , table . dataTable , . table - border , . table - border - col , . table - key - border - col , . table - val - border - col , div . border {
2013-07-27 18:21:35 +02:00
border : 1 px solid #dddddd;
2012-12-14 13:01:57 +01:00
border - collapse : collapse ;
2013-07-27 18:21:35 +02:00
padding : 1 px 0 px ;
padding - left : 2 px ;
2012-12-14 13:01:57 +01:00
}
2013-10-27 00:04:57 +02:00
table . border td , div . border div div . tagtd {
2012-12-14 13:01:57 +01:00
padding : 1 px 0 px ;
border : 1 px solid #dddddd;
border - collapse : collapse ;
padding - left : 2 px ;
}
2013-07-27 18:21:35 +02:00
. table - key - border - col {
width : 25 % ;
vertical - align : top ;
}
. table - val - border - col {
width : auto ;
2012-12-14 13:01:57 +01:00
}
/* Main boxes */
table . border . formdoc {
background - color : #f7f7f7;
border : 1 px solid #dddddd;
margin : 0 px ;
width : 60 % ;
}
2013-06-23 18:01:10 +02:00
table . border . formdoc td { padding : 1 px 3 px ; }
2012-12-14 13:01:57 +01:00
2013-06-23 18:01:10 +02:00
table . noborder , div . noborder {
2012-12-14 13:01:57 +01:00
border : 1 px solid #bbbbbb;
padding : 0 px ;
margin : 3 px 0 px 8 px ;
border - spacing : 0 px ;
2013-07-23 20:48:37 +02:00
- moz - box - shadow : 2 px 2 px 2 px #cccccc;
- webkit - box - shadow : 2 px 2 px 2 px #cccccc;
box - shadow : 2 px 2 px 2 px #cccccc;
2012-12-14 13:01:57 +01:00
}
2013-06-23 18:01:10 +02:00
table . noborder tr , div . noborder form {}
2012-12-14 13:01:57 +01:00
2013-06-23 18:01:10 +02:00
table . noborder td , , div . noborder div { padding : 1 px 2 px 1 px 3 px ; }
2012-12-14 13:01:57 +01:00
table . nobordernopadding {
border - collapse : collapse ;
border : 0 px ;
}
table . nobordernopadding tr {
border : 0 px ;
padding : 0 px 0 px ;
}
table . nobordernopadding td {
border : 0 px ;
padding : 1 px 0 px ;
}
table . notopnoleftnopadd {
background - color : #ffffff;
border : 1 px solid #bbbbbb;
padding : 6 px ;
}
/* For lists */
table . liste {
padding : 0 px ;
border : 1 px solid #bbbbbb;
border - spacing : 0 px ;
background - image : linear - gradient ( top , rgba ( 255 , 255 , 255 , . 3 ) 0 % , rgba ( 0 , 0 , 0 , . 3 ) 100 % );
background - image :- o - linear - gradient ( top , rgba ( 255 , 255 , 255 , . 3 ) 0 % , rgba ( 0 , 0 , 0 , . 3 ) 100 % );
background - image :- moz - linear - gradient ( top , rgba ( 255 , 255 , 255 , . 3 ) 0 % , rgba ( 0 , 0 , 0 , . 3 ) 100 % );
background - image :- webkit - linear - gradient ( top , rgba ( 255 , 255 , 255 , . 3 ) 0 % , rgba ( 0 , 0 , 0 , . 3 ) 100 % );
background - image :- ms - linear - gradient ( top , rgba ( 255 , 255 , 255 , . 3 ) 0 % , rgba ( 0 , 0 , 0 , . 3 ) 100 % );
background - image :- webkit - gradient (
linear ,
left top ,
left bottom ,
color - stop ( 0 , rgba ( 255 , 255 , 255 , . 3 )),
color - stop ( 1 , rgba ( 0 , 0 , 0 , . 3 ))
);
}
table . liste td { padding : 1 px 2 px 1 px 0 px ;}
2013-07-27 18:21:35 +02:00
. tagtable , . table - border { display : table ; }
. tagtr , . table - border - row { display : table - row ; }
. tagtd , . table - border - col , . table - key - border - col , . table - val - border - col { display : table - cell ; }
2013-06-16 12:00:18 +02:00
tr . liste_titre , tr . liste_titre_sel , form . liste_titre , form . liste_titre_sel
2013-04-28 12:46:52 +02:00
{
height : 22 px ;
}
2013-06-16 12:00:18 +02:00
div . liste_titre , tr . liste_titre , form . liste_titre , tr . box_titre {
2012-12-14 13:01:57 +01:00
padding : 4 px ;
background - color : rgba ( 0 , 0 , 0 , . 2 );
background - image : linear - gradient ( top , rgba ( 255 , 255 , 255 , . 3 ) 0 % , rgba ( 0 , 0 , 0 , . 3 ) 100 % );
background - image :- o - linear - gradient ( top , rgba ( 255 , 255 , 255 , . 3 ) 0 % , rgba ( 0 , 0 , 0 , . 3 ) 100 % );
background - image :- moz - linear - gradient ( top , rgba ( 255 , 255 , 255 , . 3 ) 0 % , rgba ( 0 , 0 , 0 , . 3 ) 100 % );
background - image :- webkit - linear - gradient ( top , rgba ( 255 , 255 , 255 , . 3 ) 0 % , rgba ( 0 , 0 , 0 , . 3 ) 100 % );
background - image :- ms - linear - gradient ( top , rgba ( 255 , 255 , 255 , . 3 ) 0 % , rgba ( 0 , 0 , 0 , . 3 ) 100 % );
background - image :- webkit - gradient (
linear ,
left top ,
left bottom ,
color - stop ( 0 , rgba ( 255 , 255 , 255 , . 3 )),
color - stop ( 1 , rgba ( 0 , 0 , 0 , . 3 ))
);
2013-04-25 01:13:13 +02:00
text - align : < ? php echo $left ; ?> ;
2012-12-14 13:01:57 +01:00
}
2012-12-14 18:35:50 +01:00
tr . box_titre td . boxclose {
width : 36 px ;
}
2013-06-16 12:00:18 +02:00
tr . liste_titre td , tr . liste_titre th , form . liste_titre div {
2012-12-14 13:01:57 +01:00
padding : 2 px ;
padding - left : 2 px ! important ;
2013-04-25 01:13:13 +02:00
text - shadow : 1 px 1 px 1 px #ffffff;
2012-12-14 13:01:57 +01:00
}
2013-06-23 18:01:10 +02:00
td . liste_titre_sel , form . liste_titre div . liste_titre_sel {
2012-12-14 13:01:57 +01:00
font - weight : bold ;
white - space : nowrap ;
}
2013-06-23 18:01:10 +02:00
tr . liste_total td , form . liste_total div {
2012-12-14 13:01:57 +01:00
padding : 1 px 2 px ;
border - top : solid 1 px #cccccc;
background - color : #eaeaea;
font - weight : bold ;
white - space : nowrap ;
}
2013-06-23 18:01:10 +02:00
tr . impair td , tr . pair td , form . impair div , form . pair div { padding : 1 px 1 px 1 px 2 px ; }
2012-12-14 13:01:57 +01:00
2013-06-23 18:01:10 +02:00
tr . impair table . nobordernopadding td , tr . pair table . nobordernopadding td { padding : 1 px 0 px ; }
2012-12-14 13:01:57 +01:00
. impair {
2013-04-21 17:56:29 +02:00
background : #fdfdfd;
2012-12-14 13:01:57 +01:00
font - family :< ? php print $fontlist ?> ;
border : 0 px ;
}
. pair {
2013-04-21 17:56:29 +02:00
background : #f4f4f4;
2012-12-14 13:01:57 +01:00
font - family :< ? php print $fontlist ?> ;
border : 0 px ;
}
/*
* Boxes
*/
2013-07-19 15:29:40 +02:00
. boxstats {
< ? php print " float: " . $left . " ; \n " ; ?>
margin : 4 px ;
padding : 4 px ;
/*- moz - box - shadow : 4 px 4 px 4 px #DDD;
- webkit - box - shadow : 4 px 4 px 4 px #DDD;
box - shadow : 4 px 4 px 4 px #DDD;
margin - bottom : 8 px ! important ; */
border : 1 px solid #AAA;
text - align : center ;
border - radius : 5 px ;
}
2012-12-14 13:01:57 +01:00
. boxtable {
2013-07-23 20:48:37 +02:00
- moz - box - shadow : 2 px 2 px 2 px #cccccc;
- webkit - box - shadow : 2 px 2 px 2 px #cccccc;
box - shadow : 2 px 2 px 2 px #cccccc;
2012-12-26 12:01:34 +01:00
/*white-space:nowrap;*/
2012-12-14 13:01:57 +01:00
}
. box {
padding - right : 0 px ;
padding - left : 0 px ;
padding - bottom : 4 px ;
}
tr . box_impair {
2013-04-21 17:56:29 +02:00
background : #fdfdfd;
2012-12-14 13:01:57 +01:00
font - family :< ? php print $fontlist ?> ;
}
tr . box_pair {
2013-04-21 17:56:29 +02:00
background : #f4f4f4;
2012-12-14 13:01:57 +01:00
font - family :< ? php print $fontlist ?> ;
}
2013-07-29 17:32:43 +02:00
. formboxfilter {
vertical - align : middle ;
2013-08-20 11:51:24 +02:00
margin - bottom : 6 px ;
2012-12-14 13:01:57 +01:00
}
2013-07-29 17:32:43 +02:00
. formboxfilter input [ type = image ]
{
top : 5 px ;
position : relative ;
}
2012-12-14 13:01:57 +01:00
/*
* Ok , Warning , Error
*/
. ok {
color : #159e26;
2013-03-19 15:19:31 +01:00
background : url ( < ? php echo dol_buildpath ( $path . '/theme/' . $theme . '/img/ok.png' , 1 ); ?> ) left center no-repeat !important;
2013-03-22 17:10:17 +01:00
padding - left : 20 px ! important ;
2012-12-14 13:01:57 +01:00
font - weight : bold ;
}
. warning {
color : #bca936;
2013-03-19 15:19:31 +01:00
background : url ( < ? php echo dol_buildpath ( $path . '/theme/' . $theme . '/img/warning.png' , 1 ); ?> ) left center no-repeat !important;
2013-03-22 17:10:17 +01:00
padding - left : 20 px ! important ;
2012-12-14 13:01:57 +01:00
font - weight : bold ;
}
. error {
color : #a61111;
2013-03-19 15:19:31 +01:00
background : #f58080 url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/error.png',1); ?>) left center no-repeat !important;
2013-03-22 17:10:17 +01:00
padding - left : 20 px ! important ;
2012-12-14 13:01:57 +01:00
font - weight : bold ;
}
td . highlights { background : #f9c5c6;}
div . ok {
2013-03-19 15:19:31 +01:00
background : #61e372; /* url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/ok.png',1); ?>) 3px center no-repeat; */
/*color:#ffffff;*/
2013-03-22 17:10:17 +01:00
padding : 2 px 4 px 2 px 6 px ;
2012-12-14 13:01:57 +01:00
margin : 0.5 em 0 em ;
font - weight : normal ;
}
div . warning , div . info {
2013-03-19 15:19:31 +01:00
background : #fcf5b8; /* url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/warning.png',1); ?>) 3px center no-repeat; */
/*color:#232323; */
2013-03-22 17:10:17 +01:00
padding : 2 px 4 px 2 px 6 px ;
2012-12-14 13:01:57 +01:00
margin : 0.5 em 0 em ;
border : 1 px solid #bca936;
font - weight : normal ;
}
div . error {
2013-03-19 15:19:31 +01:00
background : #f58080; /* url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/error.png',1); ?>) 3px center no-repeat; */
/* color:#ffffff; */
2013-03-22 17:10:17 +01:00
padding : 2 px 4 px 2 px 6 px ;
2012-12-14 13:01:57 +01:00
margin : 0.5 em 0 em ;
border : 1 px solid #a61111;
font - weight : normal ;
}
/*
* Other
*/
2013-01-10 16:06:13 +01:00
. product_line_stock_ok { color : #002200; }
. product_line_stock_too_low { color : #664400; }
2013-02-15 10:46:50 +01:00
2012-12-14 13:01:57 +01:00
. fieldrequired {
font - weight : bold ;
color : #333333;
}
2013-06-29 02:23:23 +02:00
. dolgraphtitle { margin - top : 6 px ; margin - bottom : 4 px ; }
. dolgraphtitlecssboxes { margin : 0 px ; }
2012-12-14 13:01:57 +01:00
#pictotitle {
padding - left : 5 px ;
padding - right : 1 px ;
}
. photo { border : 0 px ;}
div . titre {
color : rgba ( 0 , 0 , 0 , . 5 );
margin - right : 12 px ;
text - shadow : 1 px 1 px 1 px #ffffff;
font - weight : bold ;
padding - left : 1 px ;
padding - bottom : 2 px ;
}
2013-01-10 16:06:13 +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; }
#divsubscribe { width: 700px; }
#tablesubscribe { width: 100%; }
2012-12-14 13:01:57 +01:00
/* ============================================================================== */
/* Formulaire confirmation (When Ajax JQuery is used) */
/* ============================================================================== */
. ui - dialog - titlebar {}
. ui - dialog - content { font - size :< ? php print $fontsize ; ?> px !important;}
/* ============================================================================== */
/* Formulaire de confirmation (When HTML is used) */
/* ============================================================================== */
table . valid {
border - top : solid 1 px #e6e6e6;
border - left : solid 1 px #e6e6e6;
border - right : solid 1 px #444444;
border - bottom : solid 1 px #555555;
padding - top : 0 px ;
padding - left : 0 px ;
padding - right : 0 px ;
padding - bottom : 0 px ;
margin : 0 px 0 px ;
background : #d5baa8;
}
. validtitre {
background : #d5baa8;
font - weight : bold ;
}
/* ============================================================================== */
/* Tooltips */
/* ============================================================================== */
#tooltip {
position : absolute ;
width :< ? php print dol_size ( 450 , 'width' ); ?> px;
border - top : solid 1 px #bbbbbb;
border - left : solid 1 px #bbbbbb;
borderright : solid 1 px #444444;
border - bottom : solid 1 px #444444;
padding : 2 px ;
z - index : 3000 ;
background - color : #fffff0;
opacity : 1 ;
- moz - border - radius : 6 px ;
}
/* ============================================================================== */
/* Calendar */
/* ============================================================================== */
2014-03-30 15:58:41 +02:00
img . datecallink { padding - left : 2 px ! important ; padding - right : 2 px ! important ; }
2012-12-14 13:01:57 +01:00
. ui - datepicker - title {
margin : 0 ! important ;
line - height : 28 px ;
}
. ui - datepicker - month {
margin : 0 ! important ;
padding : 0 ! important ;
}
. ui - datepicker - header {
height : 28 px ! important ;
}
. bodyline {
- moz - border - radius : 8 px ;
padding : 0 px ;
margin - bottom : 5 px ;
z - index : 3000 ;
}
table . dp {
width : 180 px ;
margin - top : 3 px ;
background - color : #ffffff;
border : 1 px solid #bbbbbb;
border - spacing : 0 px ;
2013-07-23 20:48:37 +02:00
- moz - box - shadow : 2 px 2 px 2 px #cccccc;
- webkit - box - shadow : 2 px 2 px 2 px #cccccc;
box - shadow : 2 px 2 px 2 px #cccccc;
2012-12-14 13:01:57 +01:00
}
. dp td , . tpHour td , . tpMinute td {
padding : 2 px ;
font - size : 11 px ;
}
td . dpHead {
padding : 4 px ;
font - size : 11 px ;
font - weight : bold ;
}
/* Barre titre */
. dpHead , . tpHead , . tpHour td : Hover . tpHead {
background - color : rgba ( 0 , 0 , 0 , . 2 );
background - image : linear - gradient ( top , rgba ( 255 , 255 , 255 , . 3 ) 0 % , rgba ( 0 , 0 , 0 , . 3 ) 100 % );
background - image :- o - linear - gradient ( top , rgba ( 255 , 255 , 255 , . 3 ) 0 % , rgba ( 0 , 0 , 0 , . 3 ) 100 % );
background - image :- moz - linear - gradient ( top , rgba ( 255 , 255 , 255 , . 3 ) 0 % , rgba ( 0 , 0 , 0 , . 3 ) 100 % );
background - image :- webkit - linear - gradient ( top , rgba ( 255 , 255 , 255 , . 3 ) 0 % , rgba ( 0 , 0 , 0 , . 3 ) 100 % );
background - image :- ms - linear - gradient ( top , rgba ( 255 , 255 , 255 , . 3 ) 0 % , rgba ( 0 , 0 , 0 , . 3 ) 100 % );
background - image :- webkit - gradient (
linear ,
left top ,
left bottom ,
color - stop ( 0 , rgba ( 255 , 255 , 255 , . 3 )),
color - stop ( 1 , rgba ( 0 , 0 , 0 , . 3 ))
);
font - size : 10 px ;
cursor : auto ;
}
/* Barre navigation */
. dpButtons , . tpButtons {
text - align : center ;
background - color : #eaeaea;
color : #232323;
font - weight : bold ;
cursor : pointer ;
}
. dpDayNames td , . dpExplanation {
background - color : #eaeaea;
font - weight : bold ;
text - align : center ;
font - size : 11 px ;
}
. dpWeek td { text - align : center }
. dpToday , . dpReg , . dpSelected { cursor : pointer ;}
. dpToday {
font - weight : bold ;
color : #232323;
background - color : #dddddd;
}
. dpReg : Hover , . dpToday : Hover {
background - color : #333333;
color : #ffffff;
}
/* Jour courant */
. dpSelected {
2013-04-21 17:56:29 +02:00
background - color : #0B63A2;
2012-12-14 13:01:57 +01:00
color : #ffffff;
font - weight : bold ;
}
. tpHour {
border - top : 1 px solid #dddddd;
border - right : 1 px solid #dddddd;
}
. tpHour td {
border - left : 1 px solid #dddddd;
border - bottom : 1 px solid #dddddd;
cursor : pointer ;
}
. tpHour td : Hover {
background - color : #232323;
color : #ffffff;
}
. tpMinute { margin - top : 5 px ;}
. tpMinute td : Hover {
background - color : #333333;
color : #ffffff;
}
. tpMinute td {
background - color : #eaeaea;
text - align : center ;
cursor : pointer ;
}
. fulldaystarthour { margin - right : 2 px ;}
. fulldaystartmin { margin - right : 2 px ;}
. fulldayendhour { margin - right : 2 px ;}
. fulldayendmin { margin - right : 2 px ;}
/* Bouton X fermer */
. dpInvisibleButtons {
border - style : none ;
background - color : transparent ;
padding : 0 px 2 px ;
font - size : 9 px ;
border - width : 0 px ;
2013-04-21 17:56:29 +02:00
color : #0B63A2;
2012-12-14 13:01:57 +01:00
vertical - align : middle ;
cursor : pointer ;
}
td . dpHead . dpInvisibleButtons {
color : #232323;
font - weight : bold ;
}
/* ============================================================================== */
/* Afficher/cacher */
/* ============================================================================== */
div . visible { display : block ;}
div . hidden { display : none ;}
tr . visible { display : block ;}
td . hidden { display : none ;}
/* ============================================================================== */
/* Module agenda */
/* ============================================================================== */
2013-02-19 13:24:32 +01:00
table . cal_month { border - spacing : 0 px ; }
. cal_current_month { border - top : 0 ; border - left : solid 1 px #E0E0E0; border-right: 0; border-bottom: solid 1px #E0E0E0; }
. cal_other_month { border - top : 0 ; border - left : solid 1 px #C0C0C0; border-right: 0; border-bottom: solid 1px #C0C0C0; }
. cal_current_month_right { border - right : solid 1 px #E0E0E0; }
2013-02-20 10:37:52 +01:00
. cal_other_month_right { border - right : solid 1 px #C0C0C0; }
2013-02-19 13:24:32 +01:00
2013-04-21 17:56:29 +02:00
. cal_other_month { opacity : 0.6 ; background : #EAEAEA; padding-<?php print $left; ?>: 2px; padding-<?php print $right; ?>: 1px; padding-top: 0px; padding-bottom: 0px; }
. cal_past_month { opacity : 0.6 ; background : #EEEEEE; padding-<?php print $left; ?>: 2px; padding-<?php print $right; ?>: 1px; padding-top: 0px; padding-bottom: 0px; }
. cal_current_month { background : #FFFFFF; border-left: solid 1px #E0E0E0; padding-<?php print $left; ?>: 2px; padding-<?php print $right; ?>: 1px; padding-top: 0px; padding-bottom: 0px; }
2012-12-14 13:01:57 +01:00
. cal_today {
background : #ffffff;
border : solid 2 px #bbbbbb;
}
div . dayevent table . nobordernopadding tr td { padding : 1 px ;}
2013-04-21 17:56:29 +02:00
table . cal_event { border : none ; border - collapse : collapse ; margin - bottom : 1 px ; - webkit - border - radius : 6 px ; border - radius : 6 px ;
- webkit - box - shadow : inset 0 1 px 0 rgba ( 255 , 255 , 255 , 0.25 ), 0 1 px 2 px rgba ( 0 , 0 , 0 , 0.25 );
moz - box - shadow : inset 0 1 px 0 rgba ( 255 , 255 , 255 , 0.25 ), 0 1 px 2 px rgba ( 0 , 0 , 0 , 0.25 );
box - shadow : inset 0 1 px 0 rgba ( 255 , 255 , 255 , 0.25 ), 0 1 px 2 px rgba ( 0 , 0 , 0 , 0.25 );
background : - webkit - gradient ( linear , left top , left bottom , from ( #006aac), to(#00438d));
}
table . cal_event td { border : none ; padding -< ? php print $left ; ?> : 2px; padding-<?php print $right; ?>: 2px; padding-top: 0px; padding-bottom: 0px; }
ul . cal_event { padding - right : 2 px ; padding - top : 1 px ; border : none ; list - style - type : none ; margin : 0 auto ; padding - left : 0 px ; padding - start : 0 px ; - khtml - padding - start : 0 px ; - o - padding - start : 0 px ; - moz - padding - start : 0 px ; - webkit - padding - start : 0 px ; }
2013-02-15 10:46:50 +01:00
li . cal_event { border : none ; list - style - type : none ; }
2013-04-21 17:56:29 +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; color:rgba(255,255,255,.75); }
2012-12-14 13:01:57 +01:00
/* ============================================================================== */
/* Afficher/cacher */
/* ============================================================================== */
#evolForm input.error {
font - weight : bold ;
border : solid 1 px #ff0000;
padding : 1 px ;
margin : 1 px ;
}
#evolForm input.focuserr {
font - weight : bold ;
background : #faf8e8;
color : #333333;
border : solid 1 px #ff0000;
padding : 1 px ;
margin : 1 px ;
}
#evolForm input.focus { /*** Mise en avant des champs en cours d'utilisation ***/
background : #faf8e8;
color : #333333;
border : solid 1 px #000000;
padding : 1 px ;
margin : 1 px ;
}
#evolForm input.normal { /*** Retour a l'état normal après l'utilisation ***/
background : #ffffff;
color : #333333;
border : solid 1 px #ffffff;
padding : 1 px ;
margin : 1 px ;
}
/* ============================================================================== */
/* Ajax - Liste déroulante de l'autocompletion */
/* ============================================================================== */
. ui - widget { font - family : Verdana , Arial , sans - serif ; font - size : 0.9 em ;}
2013-03-02 14:43:36 +01:00
. ui - autocomplete - loading { background : #ffffff url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/working.gif',1); ?>) right center no-repeat;}
2012-12-14 13:01:57 +01:00
/* ============================================================================== */
/* Ajax - In place editor */
/* ============================================================================== */
form . inplaceeditor - form { /* The form */
}
form . inplaceeditor - form input [ type = " text " ] { /* Input box */
}
form . inplaceeditor - form textarea { /* Textarea, if multiple columns */
background : #FAF8E8;
color : #333333;
}
form . inplaceeditor - form input [ type = " submit " ] { /* The submit button */
font - size : 100 % ;
font - weight : normal ;
border : 0 px ;
cursor : pointer ;
}
form . inplaceeditor - form a { /* The cancel link */
margin - left : 5 px ;
font - size : 11 px ;
font - weight : normal ;
border : 0 px ;
cursor : pointer ;
}
/* ============================================================================== */
/* Admin Menu */
/* ============================================================================== */
2013-02-20 10:37:52 +01:00
/* CSS for treeview */
. treeview ul { background - color : transparent ! important ; margin - top : 0 ; }
. treeview li { background - color : transparent ! important ; padding : 0 0 0 16 px ! important ; min - height : 20 px ; }
. treeview . hover { color : black ! important ; }
2012-12-14 13:01:57 +01:00
/* ============================================================================== */
/* Show Excel tabs */
/* ============================================================================== */
. table_data {
border - style : ridge ;
border : 1 px solid ;
}
. tab_base {
background : #C5D0DD;
font - weight : bold ;
border - style : ridge ;
border : 1 px solid ;
cursor : pointer ;
}
. table_sub_heading {
background : #CCCCCC;
font - weight : bold ;
border - style : ridge ;
border : 1 px solid ;
}
. table_body {
background : #F0F0F0;
font - weight : normal ;
font - family : sans - serif ;
border - style : ridge ;
border : 1 px solid ;
border - spacing : 0 px ;
border - collapse : collapse ;
}
. tab_loaded {
background : #232323;
color : #ffffff;
font - weight : bold ;
border - style : groove ;
border : 1 px solid ;
cursor : pointer ;
}
/* ============================================================================== */
/* CSS for color picker */
/* ============================================================================== */
a . color , a . color : active , a . color : visited {
position : relative ;
display : block ;
text - decoration : none ;
width : 10 px ;
height : 10 px ;
line - height : 10 px ;
margin : 0 px ;
padding : 0 px ;
border : 1 px inset #ffffff;
}
a . color : hover { border : 1 px outset #ffffff;}
a . none , a . none : active , a . none : visited , a . none : hover {
position : relative ;
display : block ;
text - decoration : none ;
width : 10 px ;
height : 10 px ;
line - height : 10 px ;
margin : 0 px ;
padding : 0 px ;
cursor : default ;
border : 1 px solid #b3c5cc;
}
. tblColor { display : none ;}
. tdColor { padding : 1 px ;}
. tblContainer { background - color : #b3c5cc;}
. tblGlobal {
position : absolute ;
top : 0 px ;
left : 0 px ;
display : none ;
background - color : #b3c5cc;
border : 2 px outset ;
}
. tdContainer { padding : 5 px ;}
. tdDisplay {
width : 50 % ;
height : 20 px ;
line - height : 20 px ;
border : 1 px outset #ffffff;
}
. tdDisplayTxt {
width : 50 % ;
height : 24 px ;
line - height : 12 px ;
font - family :< ? php print $fontlist ?> ;
font - size : 8 pt ;
color : #333333;
text - align : center ;
}
. btnColor {
width : 100 % ;
font - family :< ? php print $fontlist ?> ;
font - size : 10 pt ;
padding : 0 px ;
margin : 0 px ;
}
. btnPalette {
width : 100 % ;
font - family :< ? php print $fontlist ?> ;
font - size : 8 pt ;
padding : 0 px ;
margin : 0 px ;
}
/* Style to overwrites JQuery styles */
. ui - menu . ui - menu - item a {
text - decoration : none ;
display : block ;
padding :. 2 em . 4 em ;
line - height : 1.5 ;
zoom : 1 ;
font - weight : normal ;
font - family :< ? php echo $fontlist ; ?> ;
font - size : 1 em ;
}
. ui - widget {
font - family :< ? php echo $fontlist ; ?> ;
font - size :< ? php echo $fontsize ; ?> px;
}
2012-04-17 11:50:25 +02:00
2013-06-23 18:01:10 +02:00
. ui - button { margin - left :- 2 px ; padding - top : 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 ; }
2012-04-17 11:50:25 +02:00
2012-12-14 13:01:57 +01:00
/* ============================================================================== */
/* CKEditor */
/* ============================================================================== */
2012-04-17 11:50:25 +02:00
2012-12-14 13:01:57 +01:00
. cke_editor table , . cke_editor tr , . cke_editor td { border : 0 px solid #FF0000 !important;}
span . cke_skin_kama { padding : 0 px ! important ;}
2012-04-17 11:50:25 +02:00
2012-12-14 13:01:57 +01:00
/* ============================================================================== */
/* File upload */
/* ============================================================================== */
2012-04-17 11:50:25 +02:00
2012-12-14 13:01:57 +01:00
. template - upload { height : 72 px ! important ;}
2013-01-10 16:06:13 +01:00
/* ============================================================================== */
/* JSGantt */
/* ============================================================================== */
div . scroll2 {
width : < ? php print isset ( $_SESSION [ 'dol_screenwidth' ]) ? max ( $_SESSION [ 'dol_screenwidth' ] - 830 , 450 ) : '450' ; ?> px !important;
}
/* ============================================================================== */
/* jFileTree */
/* ============================================================================== */
. ecmfiletree {
width : 99 % ;
height : 99 % ;
background : #FFF;
padding - left : 2 px ;
font - weight : normal ;
}
. fileview {
width : 99 % ;
height : 99 % ;
background : #FFF;
padding - left : 2 px ;
padding - top : 4 px ;
font - weight : normal ;
}
div . filedirelem {
position : relative ;
display : block ;
text - decoration : none ;
}
ul . filedirelem {
padding : 2 px ;
margin : 0 5 px 5 px 5 px ;
}
ul . filedirelem li {
list - style : none ;
padding : 2 px ;
margin : 0 10 px 20 px 10 px ;
width : 160 px ;
height : 120 px ;
text - align : center ;
display : block ;
float : < ? php print $left ; ?> ;
border : solid 1 px #DDDDDD;
}
ui - layout - north {
}
ul . ecmjqft {
font - size : 11 px ;
line - height : 16 px ;
padding : 0 px ;
margin : 0 px ;
font - weight : normal ;
}
ul . ecmjqft li {
list - style : none ;
padding : 0 px ;
padding - left : 20 px ;
margin : 0 px ;
white - space : nowrap ;
display : block ;
}
ul . ecmjqft a {
line - height : 16 px ;
vertical - align : middle ;
color : #333;
padding : 0 px 0 px ;
font - weight : normal ;
display : inline - block ! important ;
/* float: left;*/
}
ul . ecmjqft a : active {
font - weight : bold ! important ;
}
ul . ecmjqft a : hover {
text - decoration : underline ;
}
div . ecmjqft {
vertical - align : middle ;
display : inline - block ! important ;
text - align : right ;
position : absolute ;
right : 4 px ;
}
/* Core Styles */
. ecmjqft LI . directory { font - weight : normal ; background : url ( < ? php echo dol_buildpath ( $path . '/theme/common/treemenu/folder2.png' , 1 ); ?> ) left top no-repeat; }
. ecmjqft LI . expanded { font - weight : normal ; background : url ( < ? php echo dol_buildpath ( $path . '/theme/common/treemenu/folder2-expanded.png' , 1 ); ?> ) left top no-repeat; }
. ecmjqft LI . wait { font - weight : normal ; background : url ( < ? php echo dol_buildpath ( '/theme/eldy/img/working.gif' , 1 ); ?> ) left top no-repeat; }
/* ============================================================================== */
/* jNotify */
/* ============================================================================== */
. jnotify - container {
position : fixed ! important ;
< ? php if ( ! empty ( $conf -> global -> MAIN_JQUERY_JNOTIFY_BOTTOM )) { ?>
top : auto ! important ;
bottom : 4 px ! important ;
< ? php } ?>
text - align : center ;
2013-04-24 04:06:13 +02:00
min - width : < ? php echo $dol_optimize_smallscreen ? '200' : '480' ; ?> px;
2013-01-10 16:06:13 +01:00
width : auto ;
padding - left : 10 px ! important ;
padding - right : 10 px ! important ;
}
/* use or not ? */
div . jnotify - background {
opacity : 0.95 ! important ;
- moz - box - shadow : 4 px 4 px 4 px #AAA !important;
- webkit - box - shadow : 4 px 4 px 4 px #AAA !important;
box - shadow : 4 px 4 px 4 px #AAA !important;
}
2013-04-24 03:56:13 +02:00
2013-10-17 18:37:08 +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;
}
/* ============================================================================== */
/* Datatable */
/* ============================================================================== */
2013-10-22 18:01:54 +02:00
. sorting_asc { background : url ( '<?php echo dol_buildpath(' / theme / '.$theme.' / img / sort_asc . png ',1); ?>' ) no - repeat center right ; }
. sorting_desc { background : url ( '<?php echo dol_buildpath(' / theme / '.$theme.' / img / sort_desc . png ',1); ?>' ) no - repeat center right ; }
. sorting_asc_disabled { background : url ( '<?php echo dol_buildpath(' / theme / '.$theme.' / img / sort_asc_disabled ',1); ?>' ) no - repeat center right ; }
. sorting_desc_disabled { background : url ( '<?php echo dol_buildpath(' / theme / '.$theme.' / img / sort_desc_disabled ',1); ?>' ) no - repeat center right ; }
2013-10-17 18:37:08 +02:00
2013-04-24 03:56:13 +02:00
/* ============================================================================== */
/* JMobile */
/* ============================================================================== */
li . ui - li - divider . ui - link {
color : #FFF !important;
}
2013-06-20 16:13:42 +02:00
. ui - btn {
margin : 0.1 em 2 px
}
2013-04-24 03:56:13 +02:00
. ui - btn - inner {
2013-06-19 18:08:05 +02:00
min - width : . 4 em ;
2013-04-24 03:56:13 +02:00
padding - left : 10 px ;
padding - right : 10 px ;
white - space : normal ;
2013-06-19 18:08:05 +02:00
< ? php if ( empty ( $dol_use_jmobile ) || 1 == 1 ) { ?>
font - size : < ? php print $fontsize ?> px;
< ? php } ?>
2013-04-24 03:56:13 +02:00
}
2013-06-20 16:13:42 +02:00
. ui - btn - icon - right . ui - btn - inner {
padding - right : 34 px ;
}
. ui - btn - icon - left . ui - btn - inner {
padding - left : 34 px ;
}
2013-04-24 03:56:13 +02:00
. ui - select . ui - btn - icon - right . ui - btn - inner {
padding - right : 36 px ;
}
2013-06-20 16:13:42 +02:00
. ui - select . ui - btn - icon - left . ui - btn - inner {
padding - left : 36 px ;
}
2013-04-24 03:56:13 +02:00
. fiche . ui - controlgroup {
margin : 0 px ;
padding - bottom : 0 px ;
}
div . ui - controlgroup - controls div . tabsElem
{
margin - top : 2 px ;
margin - right : 8 px ;
}
div . ui - controlgroup - controls div . tabsElem a
{
- moz - box - shadow : 0 - 3 px 6 px rgba ( 0 , 0 , 0 , . 2 );
- webkit - box - shadow : 0 - 3 px 6 px rgba ( 0 , 0 , 0 , . 2 );
box - shadow : 0 - 3 px 6 px rgba ( 0 , 0 , 0 , . 2 );
2013-06-20 16:13:42 +02:00
}
div . ui - controlgroup - controls div . tabsElem a #active {
- moz - box - shadow : 0 - 3 px 6 px rgba ( 0 , 0 , 0 , . 3 );
- webkit - box - shadow : 0 - 3 px 6 px rgba ( 0 , 0 , 0 , . 3 );
box - shadow : 0 - 3 px 6 px rgba ( 0 , 0 , 0 , . 3 );
2013-04-24 03:56:13 +02:00
}
a . tab span . ui - btn - inner , a . tab span . ui - btn - inner span . ui - btn - text
{
border : none ;
padding : 0 ;
}
. ui - body - c {
2013-06-19 15:52:06 +02:00
border : 1 px solid #CCC;
2013-04-24 03:56:13 +02:00
text - shadow : none ;
}
. ui - link {
color : rgb ( < ? php print $colortext ; ?> ) !important;
}
div . tabsElem a . ui - btn - corner - all {
- webkit - border - bottom - left - radius : 0 px ;
- moz - border - radius - bottomleft : 0 px ;
border - bottom - left - radius : 0 px ;
- webkit - border - bottom - right - radius : 0 px ;
- moz - border - radius - bottomright : 0 px ;
border - bottom - right - radius : 0 px ;
}
2013-04-24 15:49:43 +02:00
. ui - btn - icon - left . ui - icon {
left : 8 px ;
}
. ui - btn - icon - right . ui - icon {
right : 8 px ;
}
2013-04-24 12:10:04 +02:00
2013-04-28 20:29:21 +02:00
div . ui - radio
{
display : inline - block ;
}
2013-06-26 14:38:56 +02:00
. ui - checkbox input , . ui - radio input {
2013-04-28 20:29:21 +02:00
height : auto ;
width : auto ;
2013-06-26 14:38:56 +02:00
margin : 4 px ;
2013-04-28 20:29:21 +02:00
position : static ;
}
2013-06-26 17:58:34 +02:00
div . ui - checkbox label + input , div . ui - radio label + input {
position : absolute ;
}
2013-06-19 14:03:54 +02:00
. ui - mobile fieldset
{
padding - bottom : 10 px ; margin - bottom : 4 px ; border - bottom : 1 px solid #AAAAAA !important;
}
2013-04-28 20:29:21 +02:00
2013-06-20 16:13:42 +02:00
ul . ulmenu {
border - radius : 0 ;
- webkit - border - radius : 0 ;
}
2013-06-23 14:37:09 +02:00
. ui - field - contain label . ui - input - text {
vertical - align : middle ! important ;
}
. ui - mobile fieldset {
border - bottom : none ! important ;
}
2013-10-27 00:04:57 +02:00
. ui - body - c , . ui - btn - up - c , . ui - btn - hover - c {
border : none ! important ;
}
2013-06-20 16:13:42 +02:00
2013-10-22 18:01:54 +02:00
/* Style for first level menu with jmobile */
2013-12-03 20:53:39 +01:00
. ui - bar - b , . lilevel0 {
2013-10-22 18:01:54 +02:00
background : rgb ( < ? php echo $colorbacktitle1 ; ?> );
background - repeat : repeat - x ;
< ? php if ( $usecss3 ) { ?>
background - image : - o - linear - gradient ( bottom , rgba ( 0 , 0 , 0 , 0.3 ) 0 % , rgba ( 250 , 250 , 250 , 0.3 ) 100 % );
background - image : - moz - linear - gradient ( bottom , rgba ( 0 , 0 , 0 , 0.3 ) 0 % , rgba ( 250 , 250 , 250 , 0.3 ) 100 % );
background - image : - webkit - linear - gradient ( bottom , rgba ( 0 , 0 , 0 , 0.3 ) 0 % , rgba ( 250 , 250 , 250 , 0.3 ) 100 % );
background - image : - ms - linear - gradient ( bottom , rgba ( 0 , 0 , 0 , 0.3 ) 0 % , rgba ( 250 , 250 , 250 , 0.3 ) 100 % );
background - image : linear - gradient ( bottom , rgba ( 0 , 0 , 0 , 0.3 ) 0 % , rgba ( 250 , 250 , 250 , 0.3 ) 100 % );
font - weight : bold ;
< ? php } ?>
color : #<?php echo $colortexttitle; ?> !important;
}
. alilevel0 {
color : #<?php echo $colortexttitle; ?> !important;
text - shadow : 1 px 0 px 1 px #<?php echo $colorshadowtitle; ?>;
}
. alilevel1 {
color : #<?php echo $colortexttitle; ?> !important;
text - shadow : 1 px 0 px 1 px #<?php echo $colorshadowtitle; ?>;
}
. lilevel1 {
background - image : - webkit - gradient ( linear , left top , left bottom , from ( #eee ),to( #e1e1e1 )) !important;
background - image : - webkit - linear - gradient ( #eee,#e1e1e1 ) !important;
background - image : - moz - linear - gradient ( #eee,#e1e1e1 ) !important;
background - image : - ms - linear - gradient ( #eee,#e1e1e1 ) !important;
background - image : - o - linear - gradient ( #eee,#e1e1e1 ) !important;
background - image : linear - gradient ( #eee,#e1e1e1 ) !important;
}
2013-04-24 03:56:13 +02:00
< ? php
if ( is_object ( $db )) $db -> close ();
?>