2015-03-22 18:09:22 +01:00
< ? php
2017-05-11 13:01:49 +02:00
/* Copyright ( C ) 2004 - 2017 Laurent Destailleur < eldy @ users . sourceforge . net >
2015-03-22 18:09:22 +01:00
* Copyright ( C ) 2006 Rodolphe Quiedeville < rodolphe @ quiedeville . org >
2018-10-27 14:43:12 +02:00
* Copyright ( C ) 2007 - 2017 Regis Houssin < regis . houssin @ inodbox . com >
2015-03-22 18:09:22 +01:00
* Copyright ( C ) 2011 Philippe Grand < philippe . grand @ atoo - net . com >
* Copyright ( C ) 2012 Juanjo Menent < jmenent @ 2 byte . es >
2019-01-28 21:39:22 +01:00
* Copyright ( C ) 2015 Alexandre Spangaro < aspangaro @ open - dsi . fr >
2018-09-04 11:54:13 +02:00
* Copyright ( C ) 2018 Ferran Marcet < fmarcet @ 2 byte . es >
2015-03-22 18:09:22 +01: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
* the Free Software Foundation ; either version 3 of the License , or
* ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU General Public License for more details .
*
* You should have received a copy of the GNU General Public License
2019-09-23 21:55:30 +02:00
* along with this program . If not , see < https :// www . gnu . org / licenses />.
2015-03-22 18:09:22 +01:00
*/
/**
2015-10-01 23:07:40 +02:00
* \file htdocs / theme / md / style . css . php
2015-05-12 06:44:14 +02:00
* \brief File for CSS style sheet Md ( Material Design )
2015-03-22 18:09:22 +01:00
*/
//if (! defined('NOREQUIREUSER')) define('NOREQUIREUSER','1'); // Not disabled because need to load personalized language
//if (! defined('NOREQUIREDB')) define('NOREQUIREDB','1'); // Not disabled to increase speed. Language code is found on url.
2021-02-26 13:31:09 +01:00
if ( ! defined ( 'NOREQUIRESOC' )) {
define ( 'NOREQUIRESOC' , '1' );
}
2015-03-22 18:09:22 +01:00
//if (! defined('NOREQUIRETRAN')) define('NOREQUIRETRAN','1'); // Not disabled because need to do translations
2021-02-26 13:31:09 +01:00
if ( ! defined ( 'NOCSRFCHECK' )) {
define ( 'NOCSRFCHECK' , 1 );
}
if ( ! defined ( 'NOTOKENRENEWAL' )) {
define ( 'NOTOKENRENEWAL' , 1 );
}
if ( ! defined ( 'NOLOGIN' )) {
define ( 'NOLOGIN' , 1 ); // File must be accessed by logon page so without login
}
2016-09-17 21:03:20 +02:00
//if (! defined('NOREQUIREMENU')) define('NOREQUIREMENU',1); // We need top menu content
2021-02-26 13:31:09 +01:00
if ( ! defined ( 'NOREQUIREHTML' )) {
define ( 'NOREQUIREHTML' , 1 );
}
if ( ! defined ( 'NOREQUIREAJAX' )) {
define ( 'NOREQUIREAJAX' , '1' );
}
2015-03-22 18:09:22 +01:00
2017-05-11 13:01:49 +02:00
2019-03-11 20:32:25 +01:00
define ( 'ISLOADEDBYSTEELSHEET' , '1' );
2019-11-08 15:51:54 +01:00
require __DIR__ . '/theme_vars.inc.php' ;
2021-02-26 13:31:09 +01:00
if ( defined ( 'THEME_ONLY_CONSTANT' )) {
return ;
}
2017-05-11 13:01:49 +02:00
2018-12-18 15:06:00 +01:00
session_cache_limiter ( 'public' );
2015-03-22 18:09:22 +01:00
2019-03-11 20:32:25 +01:00
2020-04-02 10:44:24 +02:00
require_once __DIR__ . '/../../main.inc.php' ; // __DIR__ allow this script to be included in custom themes
2015-03-22 18:09:22 +01:00
require_once DOL_DOCUMENT_ROOT . '/core/lib/functions2.lib.php' ;
// Load user to have $user->conf loaded (not done into main because of NOLOGIN constant defined)
2018-12-18 17:01:57 +01:00
// and permission, so we can later calculate number of top menu ($nbtopmenuentries) according to user profile.
2021-02-26 13:31:09 +01:00
if ( empty ( $user -> id ) && ! empty ( $_SESSION [ 'dol_login' ])) {
2019-01-27 11:55:16 +01:00
$user -> fetch ( '' , $_SESSION [ 'dol_login' ], '' , 1 );
2018-12-18 17:01:57 +01:00
$user -> getrights ();
2020-09-25 14:09:51 +02:00
// Reload menu now we have the good user (and we need the good menu to have ->showmenu('topnb') correct.
$menumanager = new MenuManager ( $db , empty ( $user -> socid ) ? 0 : 1 );
$menumanager -> loadMenu ();
2018-12-18 17:01:57 +01:00
}
2015-03-22 18:09:22 +01:00
// Define css type
2017-05-09 21:01:37 +02:00
top_httphead ( 'text/css' );
2015-03-22 18:09:22 +01:00
// Important: Following code is to avoid page request by browser and PHP CPU at each Dolibarr page access.
2021-02-26 13:31:09 +01:00
if ( empty ( $dolibarr_nocache )) {
header ( 'Cache-Control: max-age=10800, public, must-revalidate' );
} else {
header ( 'Cache-Control: no-cache' );
}
2015-03-22 18:09:22 +01:00
2021-02-26 13:31:09 +01:00
if ( GETPOST ( 'theme' , 'alpha' )) {
$conf -> theme = GETPOST ( 'theme' , 'alpha' ); // If theme was forced on URL
}
if ( GETPOST ( 'lang' , 'aZ09' )) {
$langs -> setDefaultLang ( GETPOST ( 'lang' , 'aZ09' )); // If language was forced on URL
}
2017-06-14 10:48:34 +02:00
2019-01-27 11:55:16 +01:00
$langs -> load ( " main " , 0 , 1 );
2019-11-08 15:51:54 +01:00
$right = ( $langs -> trans ( " DIRECTION " ) == 'rtl' ? 'left' : 'right' );
$left = ( $langs -> trans ( " DIRECTION " ) == 'rtl' ? 'right' : 'left' );
2015-03-22 18:09:22 +01:00
2019-11-08 15:51:54 +01:00
$path = '' ; // This value may be used in future for external module to overwrite theme
$theme = 'md' ; // Value of theme
2021-02-26 13:31:09 +01:00
if ( ! empty ( $conf -> global -> MAIN_OVERWRITE_THEME_RES )) {
$path = '/' . $conf -> global -> MAIN_OVERWRITE_THEME_RES ; $theme = $conf -> global -> MAIN_OVERWRITE_THEME_RES ;
}
2015-03-22 18:09:22 +01:00
// Define image path files and other constants
2019-11-08 15:51:54 +01:00
$fontlist = 'roboto,arial,tahoma,verdana,helvetica' ; //$fontlist='verdana,helvetica,arial,sans-serif';
$img_head = '' ;
$img_button = dol_buildpath ( $path . '/theme/' . $theme . '/img/button_bg.png' , 1 );
$dol_hide_topmenu = $conf -> dol_hide_topmenu ;
$dol_hide_leftmenu = $conf -> dol_hide_leftmenu ;
$dol_optimize_smallscreen = $conf -> dol_optimize_smallscreen ;
$dol_no_mouse_hover = $conf -> dol_no_mouse_hover ;
2015-03-22 18:09:22 +01:00
//$conf->global->THEME_ELDY_ENABLE_PERSONALIZED=0;
//$user->conf->THEME_ELDY_ENABLE_PERSONALIZED=0;
//var_dump($user->conf->THEME_ELDY_RGB);
2019-11-08 15:51:54 +01:00
$useboldtitle = ( isset ( $conf -> global -> THEME_ELDY_USEBOLDTITLE ) ? $conf -> global -> THEME_ELDY_USEBOLDTITLE : 0 );
$borderwidth = 2 ;
2015-03-22 18:09:22 +01:00
2015-10-02 11:58:19 +02:00
// Case of option always editable
2021-02-26 13:31:09 +01:00
if ( ! isset ( $conf -> global -> THEME_ELDY_BACKBODY )) {
$conf -> global -> THEME_ELDY_BACKBODY = $colorbackbody ;
}
if ( ! isset ( $conf -> global -> THEME_ELDY_TOPMENU_BACK1 )) {
$conf -> global -> THEME_ELDY_TOPMENU_BACK1 = $colorbackhmenu1 ;
}
if ( ! isset ( $conf -> global -> THEME_ELDY_VERMENU_BACK1 )) {
$conf -> global -> THEME_ELDY_VERMENU_BACK1 = $colorbackvmenu1 ;
}
if ( ! isset ( $conf -> global -> THEME_ELDY_BACKTITLE1 )) {
$conf -> global -> THEME_ELDY_BACKTITLE1 = $colorbacktitle1 ;
}
if ( ! isset ( $conf -> global -> THEME_ELDY_USE_HOVER )) {
$conf -> global -> THEME_ELDY_USE_HOVER = $colorbacklinepairhover ;
}
if ( ! isset ( $conf -> global -> THEME_ELDY_USE_CHECKED )) {
$conf -> global -> THEME_ELDY_USE_CHECKED = $colorbacklinepairchecked ;
}
if ( ! isset ( $conf -> global -> THEME_ELDY_LINEBREAK )) {
$conf -> global -> THEME_ELDY_LINEBREAK = $colorbacklinebreak ;
}
if ( ! isset ( $conf -> global -> THEME_ELDY_TEXTTITLENOTAB )) {
$conf -> global -> THEME_ELDY_TEXTTITLENOTAB = $colortexttitlenotab ;
}
if ( ! isset ( $conf -> global -> THEME_ELDY_TEXTLINK )) {
$conf -> global -> THEME_ELDY_TEXTLINK = $colortextlink ;
}
2015-11-15 18:23:42 +01:00
// Case of option editable only if option THEME_ELDY_ENABLE_PERSONALIZED is on
2021-02-26 13:31:09 +01:00
if ( empty ( $conf -> global -> THEME_ELDY_ENABLE_PERSONALIZED )) {
2019-10-16 17:27:41 +02:00
// 90A4AE, 607D8B, 455A64, 37474F
2019-11-08 15:51:54 +01:00
$conf -> global -> THEME_ELDY_BACKTABCARD1 = '255,255,255' ; // card
$conf -> global -> THEME_ELDY_BACKTABACTIVE = '234,234,234' ;
$conf -> global -> THEME_ELDY_TEXT = '0,0,0' ;
2019-11-20 14:40:52 +01:00
$conf -> global -> THEME_ELDY_FONT_SIZE1 = $fontsize ;
2019-11-08 15:51:54 +01:00
$conf -> global -> THEME_ELDY_FONT_SIZE2 = '11' ;
2015-03-22 18:09:22 +01:00
}
2016-05-21 12:09:54 +02:00
2015-10-02 15:37:32 +02:00
// Case of option availables only if THEME_ELDY_ENABLE_PERSONALIZED is on
2019-11-08 15:51:54 +01:00
$colorbackhmenu1 = empty ( $user -> conf -> THEME_ELDY_ENABLE_PERSONALIZED ) ? ( empty ( $conf -> global -> THEME_ELDY_TOPMENU_BACK1 ) ? $colorbackhmenu1 : $conf -> global -> THEME_ELDY_TOPMENU_BACK1 ) : ( empty ( $user -> conf -> THEME_ELDY_TOPMENU_BACK1 ) ? $colorbackhmenu1 : $user -> conf -> THEME_ELDY_TOPMENU_BACK1 );
$colorbackvmenu1 = empty ( $user -> conf -> THEME_ELDY_ENABLE_PERSONALIZED ) ? ( empty ( $conf -> global -> THEME_ELDY_VERMENU_BACK1 ) ? $colorbackvmenu1 : $conf -> global -> THEME_ELDY_VERMENU_BACK1 ) : ( empty ( $user -> conf -> THEME_ELDY_VERMENU_BACK1 ) ? $colorbackvmenu1 : $user -> conf -> THEME_ELDY_VERMENU_BACK1 );
$colortopbordertitle1 = empty ( $user -> conf -> THEME_ELDY_ENABLE_PERSONALIZED ) ? ( empty ( $conf -> global -> THEME_ELDY_TOPBORDER_TITLE1 ) ? $colortopbordertitle1 : $conf -> global -> THEME_ELDY_TOPBORDER_TITLE1 ) : ( empty ( $user -> conf -> THEME_ELDY_TOPBORDER_TITLE1 ) ? $colortopbordertitle1 : $user -> conf -> THEME_ELDY_TOPBORDER_TITLE1 );
$colorbacktitle1 = empty ( $user -> conf -> THEME_ELDY_ENABLE_PERSONALIZED ) ? ( empty ( $conf -> global -> THEME_ELDY_BACKTITLE1 ) ? $colorbacktitle1 : $conf -> global -> THEME_ELDY_BACKTITLE1 ) : ( empty ( $user -> conf -> THEME_ELDY_BACKTITLE1 ) ? $colorbacktitle1 : $user -> conf -> THEME_ELDY_BACKTITLE1 );
$colorbacktabcard1 = empty ( $user -> conf -> THEME_ELDY_ENABLE_PERSONALIZED ) ? ( empty ( $conf -> global -> THEME_ELDY_BACKTABCARD1 ) ? $colorbacktabcard1 : $conf -> global -> THEME_ELDY_BACKTABCARD1 ) : ( empty ( $user -> conf -> THEME_ELDY_BACKTABCARD1 ) ? $colorbacktabcard1 : $user -> conf -> THEME_ELDY_BACKTABCARD1 );
$colorbacktabactive = empty ( $user -> conf -> THEME_ELDY_ENABLE_PERSONALIZED ) ? ( empty ( $conf -> global -> THEME_ELDY_BACKTABACTIVE ) ? $colorbacktabactive : $conf -> global -> THEME_ELDY_BACKTABACTIVE ) : ( empty ( $user -> conf -> THEME_ELDY_BACKTABACTIVE ) ? $colorbacktabactive : $user -> conf -> THEME_ELDY_BACKTABACTIVE );
$colorbacklineimpair1 = empty ( $user -> conf -> THEME_ELDY_ENABLE_PERSONALIZED ) ? ( empty ( $conf -> global -> THEME_ELDY_LINEIMPAIR1 ) ? $colorbacklineimpair1 : $conf -> global -> THEME_ELDY_LINEIMPAIR1 ) : ( empty ( $user -> conf -> THEME_ELDY_LINEIMPAIR1 ) ? $colorbacklineimpair1 : $user -> conf -> THEME_ELDY_LINEIMPAIR1 );
$colorbacklineimpair2 = empty ( $user -> conf -> THEME_ELDY_ENABLE_PERSONALIZED ) ? ( empty ( $conf -> global -> THEME_ELDY_LINEIMPAIR2 ) ? $colorbacklineimpair2 : $conf -> global -> THEME_ELDY_LINEIMPAIR2 ) : ( empty ( $user -> conf -> THEME_ELDY_LINEIMPAIR2 ) ? $colorbacklineimpair2 : $user -> conf -> THEME_ELDY_LINEIMPAIR2 );
$colorbacklinepair1 = empty ( $user -> conf -> THEME_ELDY_ENABLE_PERSONALIZED ) ? ( empty ( $conf -> global -> THEME_ELDY_LINEPAIR1 ) ? $colorbacklinepair1 : $conf -> global -> THEME_ELDY_LINEPAIR1 ) : ( empty ( $user -> conf -> THEME_ELDY_LINEPAIR1 ) ? $colorbacklinepair1 : $user -> conf -> THEME_ELDY_LINEPAIR1 );
$colorbacklinepair2 = empty ( $user -> conf -> THEME_ELDY_ENABLE_PERSONALIZED ) ? ( empty ( $conf -> global -> THEME_ELDY_LINEPAIR2 ) ? $colorbacklinepair2 : $conf -> global -> THEME_ELDY_LINEPAIR2 ) : ( empty ( $user -> conf -> THEME_ELDY_LINEPAIR2 ) ? $colorbacklinepair2 : $user -> conf -> THEME_ELDY_LINEPAIR2 );
$colorbacklinebreak = empty ( $user -> conf -> THEME_ELDY_ENABLE_PERSONALIZED ) ? ( empty ( $conf -> global -> THEME_ELDY_LINEBREAK ) ? $colorbacklinebreak : $conf -> global -> THEME_ELDY_LINEBREAK ) : ( empty ( $user -> conf -> THEME_ELDY_LINEBREAK ) ? $colorbacklinebreak : $user -> conf -> THEME_ELDY_LINEBREAK );
$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 );
$colortexttitlenotab = empty ( $user -> conf -> THEME_ELDY_ENABLE_PERSONALIZED ) ? ( empty ( $conf -> global -> THEME_ELDY_TEXTTITLENOTAB ) ? $colortexttitlenotab : $conf -> global -> THEME_ELDY_TEXTTITLENOTAB ) : ( empty ( $user -> conf -> THEME_ELDY_TEXTTITLENOTAB ) ? $colortexttitlenotab : $user -> conf -> THEME_ELDY_TEXTTITLENOTAB );
$colortexttitle = empty ( $user -> conf -> THEME_ELDY_ENABLE_PERSONALIZED ) ? ( empty ( $conf -> global -> THEME_ELDY_TEXTTITLE ) ? $colortext : $conf -> global -> THEME_ELDY_TEXTTITLE ) : ( empty ( $user -> conf -> THEME_ELDY_TEXTTITLE ) ? $colortexttitle : $user -> conf -> THEME_ELDY_TEXTTITLE );
2020-05-03 13:59:40 +02:00
$colortexttitlelink = empty ( $user -> conf -> THEME_ELDY_ENABLE_PERSONALIZED ) ? ( empty ( $conf -> global -> THEME_ELDY_TEXTTITLELINK ) ? $colortexttitlelink : $conf -> global -> THEME_ELDY_TEXTTITLELINK ) : ( empty ( $user -> conf -> THEME_ELDY_TEXTTITLELINK ) ? $colortexttitlelink : $user -> conf -> THEME_ELDY_TEXTTITLELINK );
2019-11-08 15:51:54 +01:00
$colortext = empty ( $user -> conf -> THEME_ELDY_ENABLE_PERSONALIZED ) ? ( empty ( $conf -> global -> THEME_ELDY_TEXT ) ? $colortext : $conf -> global -> THEME_ELDY_TEXT ) : ( empty ( $user -> conf -> THEME_ELDY_TEXT ) ? $colortext : $user -> conf -> THEME_ELDY_TEXT );
$colortextlink = empty ( $user -> conf -> THEME_ELDY_ENABLE_PERSONALIZED ) ? ( empty ( $conf -> global -> THEME_ELDY_TEXTLINK ) ? $colortext : $conf -> global -> THEME_ELDY_TEXTLINK ) : ( empty ( $user -> conf -> THEME_ELDY_TEXTLINK ) ? $colortextlink : $user -> conf -> THEME_ELDY_TEXTLINK );
$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 );
2017-05-11 13:01:49 +02:00
2015-10-01 23:07:40 +02:00
// Hover color
2019-11-08 15:51:54 +01:00
$colorbacklinepairhover = (( ! isset ( $conf -> global -> THEME_ELDY_USE_HOVER ) || ( string ) $conf -> global -> THEME_ELDY_USE_HOVER === '255,255,255' ) ? '' : ( $conf -> global -> THEME_ELDY_USE_HOVER === '1' ? 'edf4fb' : $conf -> global -> THEME_ELDY_USE_HOVER ));
$colorbacklinepairchecked = (( ! isset ( $conf -> global -> THEME_ELDY_USE_CHECKED ) || ( string ) $conf -> global -> THEME_ELDY_USE_CHECKED === '255,255,255' ) ? '' : ( $conf -> global -> THEME_ELDY_USE_CHECKED === '1' ? 'edf4fb' : $conf -> global -> THEME_ELDY_USE_CHECKED ));
2021-02-26 13:31:09 +01:00
if ( ! empty ( $user -> conf -> THEME_ELDY_ENABLE_PERSONALIZED )) {
2019-11-08 15:51:54 +01:00
$colorbacklinepairhover = (( ! isset ( $user -> conf -> THEME_ELDY_USE_HOVER ) || $user -> conf -> THEME_ELDY_USE_HOVER === '255,255,255' ) ? '' : ( $user -> conf -> THEME_ELDY_USE_HOVER === '1' ? 'edf4fb' : $user -> conf -> THEME_ELDY_USE_HOVER ));
$colorbacklinepairchecked = (( ! isset ( $user -> conf -> THEME_ELDY_USE_CHECKED ) || $user -> conf -> THEME_ELDY_USE_CHECKED === '255,255,255' ) ? '' : ( $user -> conf -> THEME_ELDY_USE_CHECKED === '1' ? 'edf4fb' : $user -> conf -> THEME_ELDY_USE_CHECKED ));
2015-03-22 18:09:22 +01:00
}
2021-02-26 13:31:09 +01:00
if ( empty ( $colortopbordertitle1 )) {
$colortopbordertitle1 = $colorbackhmenu1 ;
}
2016-05-22 14:31:34 +02:00
2015-10-14 23:50:36 +02:00
// Set text color to black or white
2019-11-08 15:51:54 +01:00
$colorbackhmenu1 = join ( ',' , colorStringToArray ( $colorbackhmenu1 )); // Normalize value to 'x,y,z'
$tmppart = explode ( ',' , $colorbackhmenu1 );
$tmpval = ( ! empty ( $tmppart [ 0 ]) ? $tmppart [ 0 ] : 0 ) + ( ! empty ( $tmppart [ 1 ]) ? $tmppart [ 1 ] : 0 ) + ( ! empty ( $tmppart [ 2 ]) ? $tmppart [ 2 ] : 0 );
2021-02-26 13:31:09 +01:00
if ( $tmpval <= 460 ) {
$colortextbackhmenu = 'FFFFFF' ;
} else {
$colortextbackhmenu = '000000' ;
}
2019-11-08 15:51:54 +01:00
$colorbackvmenu1 = join ( ',' , colorStringToArray ( $colorbackvmenu1 )); // Normalize value to 'x,y,z'
$tmppart = explode ( ',' , $colorbackvmenu1 );
$tmpval = ( ! empty ( $tmppart [ 0 ]) ? $tmppart [ 0 ] : 0 ) + ( ! empty ( $tmppart [ 1 ]) ? $tmppart [ 1 ] : 0 ) + ( ! empty ( $tmppart [ 2 ]) ? $tmppart [ 2 ] : 0 );
2021-02-26 13:31:09 +01:00
if ( $tmpval <= 460 ) {
$colortextbackvmenu = 'FFFFFF' ;
} else {
$colortextbackvmenu = '000000' ;
}
2019-11-08 15:51:54 +01:00
$colorbacktitle1 = join ( ',' , colorStringToArray ( $colorbacktitle1 )); // Normalize value to 'x,y,z'
$tmppart = explode ( ',' , $colorbacktitle1 );
2021-02-26 13:31:09 +01:00
if ( $colortexttitle == '' ) {
2019-11-08 15:51:54 +01:00
$tmpval = ( ! empty ( $tmppart [ 0 ]) ? $tmppart [ 0 ] : 0 ) + ( ! empty ( $tmppart [ 1 ]) ? $tmppart [ 1 ] : 0 ) + ( ! empty ( $tmppart [ 2 ]) ? $tmppart [ 2 ] : 0 );
2021-02-26 13:31:09 +01:00
if ( $tmpval <= 460 ) {
$colortexttitle = 'FFFFFF' ; $colorshadowtitle = '888888' ;
} else {
$colortexttitle = '101010' ; $colorshadowtitle = 'FFFFFF' ;
}
} else {
$colorshadowtitle = '888888' ;
}
2016-11-05 03:27:56 +01:00
2019-11-08 15:51:54 +01:00
$colorbacktabcard1 = join ( ',' , colorStringToArray ( $colorbacktabcard1 )); // Normalize value to 'x,y,z'
$tmppart = explode ( ',' , $colorbacktabcard1 );
$tmpval = ( ! empty ( $tmppart [ 0 ]) ? $tmppart [ 0 ] : 0 ) + ( ! empty ( $tmppart [ 1 ]) ? $tmppart [ 1 ] : 0 ) + ( ! empty ( $tmppart [ 2 ]) ? $tmppart [ 2 ] : 0 );
2021-02-26 13:31:09 +01:00
if ( $tmpval <= 460 ) {
$colortextbacktab = 'FFFFFF' ;
} else {
$colortextbacktab = '111111' ;
}
2015-10-14 23:50:36 +02:00
2015-03-22 18:09:22 +01:00
// Format color value to match expected format (may be 'FFFFFF' or '255,255,255')
2019-11-08 15:51:54 +01:00
$colorbackhmenu1 = join ( ',' , colorStringToArray ( $colorbackhmenu1 ));
$colorbackvmenu1 = join ( ',' , colorStringToArray ( $colorbackvmenu1 ));
$colorbacktitle1 = join ( ',' , colorStringToArray ( $colorbacktitle1 ));
$colorbacktabcard1 = join ( ',' , colorStringToArray ( $colorbacktabcard1 ));
$colorbacktabactive = join ( ',' , colorStringToArray ( $colorbacktabactive ));
$colorbacklineimpair1 = join ( ',' , colorStringToArray ( $colorbacklineimpair1 ));
$colorbacklineimpair2 = join ( ',' , colorStringToArray ( $colorbacklineimpair2 ));
$colorbacklinepair1 = join ( ',' , colorStringToArray ( $colorbacklinepair1 ));
$colorbacklinepair2 = join ( ',' , colorStringToArray ( $colorbacklinepair2 ));
2021-02-26 13:31:09 +01:00
if ( $colorbacklinepairhover != '' ) {
$colorbacklinepairhover = join ( ',' , colorStringToArray ( $colorbacklinepairhover ));
}
if ( $colorbacklinepairchecked != '' ) {
$colorbacklinepairchecked = join ( ',' , colorStringToArray ( $colorbacklinepairchecked ));
}
2019-11-08 15:51:54 +01:00
$colorbackbody = join ( ',' , colorStringToArray ( $colorbackbody ));
$colortexttitlenotab = join ( ',' , colorStringToArray ( $colortexttitlenotab ));
$colortexttitle = join ( ',' , colorStringToArray ( $colortexttitle ));
$colortext = join ( ',' , colorStringToArray ( $colortext ));
$colortextlink = join ( ',' , colorStringToArray ( $colortextlink ));
$nbtopmenuentries = $menumanager -> showmenu ( 'topnb' );
2021-02-26 13:31:09 +01:00
if ( $conf -> browser -> layout == 'phone' ) {
$nbtopmenuentries = max ( $nbtopmenuentries , 10 );
}
2015-12-04 12:12:12 +01:00
2015-03-22 18:09:22 +01:00
print '/*' . " \n " ;
2015-09-22 01:25:06 +02:00
print 'colorbackbody=' . $colorbackbody . " \n " ;
print 'colorbackvmenu1=' . $colorbackvmenu1 . " \n " ;
print 'colorbackhmenu1=' . $colorbackhmenu1 . " \n " ;
print 'colorbacktitle1=' . $colorbacktitle1 . " \n " ;
2015-03-22 18:09:22 +01:00
print 'colorbacklineimpair1=' . $colorbacklineimpair1 . " \n " ;
print 'colorbacklineimpair2=' . $colorbacklineimpair2 . " \n " ;
print 'colorbacklinepair1=' . $colorbacklinepair1 . " \n " ;
print 'colorbacklinepair2=' . $colorbacklinepair2 . " \n " ;
print 'colorbacklinepairhover=' . $colorbacklinepairhover . " \n " ;
2018-09-04 11:54:13 +02:00
print 'colorbacklinepairchecked=' . $colorbacklinepairchecked . " \n " ;
2015-12-13 14:39:12 +01:00
print '$colortexttitlenotab=' . $colortexttitlenotab . " \n " ;
2015-11-15 18:23:42 +01:00
print '$colortexttitle=' . $colortexttitle . " \n " ;
print '$colortext=' . $colortext . " \n " ;
print '$colortextlink=' . $colortextlink . " \n " ;
2016-03-12 16:19:01 +01:00
print '$colortextbackhmenu=' . $colortextbackhmenu . " \n " ;
print '$colortextbackvmenu=' . $colortextbackvmenu . " \n " ;
2015-03-22 18:09:22 +01:00
print 'dol_hide_topmenu=' . $dol_hide_topmenu . " \n " ;
print 'dol_hide_leftmenu=' . $dol_hide_leftmenu . " \n " ;
print 'dol_optimize_smallscreen=' . $dol_optimize_smallscreen . " \n " ;
print 'dol_no_mouse_hover=' . $dol_no_mouse_hover . " \n " ;
print 'dol_screenwidth=' . $_SESSION [ 'dol_screenwidth' ] . " \n " ;
print 'dol_screenheight=' . $_SESSION [ 'dol_screenheight' ] . " \n " ;
2016-01-02 20:48:19 +01:00
print 'fontsize=' . $fontsize . " \n " ;
2015-12-04 12:12:12 +01:00
print 'nbtopmenuentries=' . $nbtopmenuentries . " \n " ;
2015-03-22 18:09:22 +01:00
print '*/' . " \n " ;
?>
/* ============================================================================== */
/* Default styles */
/* ============================================================================== */
2020-04-11 12:41:53 +02:00
: root {
-- colorbackhmenu1 : rgb ( < ? php print $colorbackhmenu1 ; ?> );
-- colorbackvmenu1 : rgb ( < ? php print $colorbackvmenu1 ; ?> );
-- colorbacktitle1 : rgb ( < ? php print $colorbacktitle1 ; ?> );
-- colorbacktabcard1 : rgb ( < ? php print $colorbacktabcard1 ; ?> );
-- colorbacktabactive : rgb ( < ? php print $colorbacktabactive ; ?> );
-- colorbacklineimpair1 : rgb ( < ? php print $colorbacklineimpair1 ; ?> );
-- colorbacklineimpair2 : rgb ( < ? php print $colorbacklineimpair2 ; ?> );
-- colorbacklinepair1 : rgb ( < ? php print $colorbacklinepair1 ; ?> );
-- colorbacklinepair2 : rgb ( < ? php print $colorbacklinepair2 ; ?> );
-- colorbacklinepairhover : rgb ( < ? php print $colorbacklinepairhover ; ?> );
-- colorbacklinepairchecked : rgb ( < ? php print $colorbacklinepairchecked ; ?> );
2020-05-15 15:50:50 +02:00
-- colorbacklinebreak : rgb ( < ? php print $colorbacklinebreak ; ?> );
2020-04-11 12:41:53 +02:00
-- colorbackbody : rgb ( < ? php print $colorbackbody ; ?> );
-- colortexttitlenotab : rgb ( < ? php print $colortexttitlenotab ; ?> );
-- colortexttitle : rgb ( < ? php print $colortexttitle ; ?> );
-- colortext : rgb ( < ? php print $colortext ; ?> );
-- colortextlink : rgb ( < ? php print $colortextlink ; ?> );
-- colortextbackhmenu : #<?php echo $colortextbackhmenu; ?>;
-- colortextbackvmenu : #<?php print $colortextbackvmenu; ?>;
-- listetotal : #551188;
-- inputbackgroundcolor : #FFF;
-- inputbordercolor : rgba ( 0 , 0 , 0 , . 2 );
-- tooltipbgcolor : < ? php print $toolTipBgColor ; ?> ;
-- tooltipfontcolor : < ? php print $toolTipFontColor ; ?> ;
-- oddevencolor : #202020;
-- colorboxstatsborder : #ddd;
-- dolgraphbg : rgba ( 255 , 255 , 255 , 0 );
-- fieldrequiredcolor : #000055;
-- colortextbacktab : #<?php print $colortextbacktab; ?>;
-- colorboxiconbg : #eee;
-- refidnocolor : #444;
-- tableforfieldcolor : #666;
-- amountremaintopaycolor : #880000;
-- amountpaymentcomplete : #008800;
-- amountremaintopaybackcolor : none ;
}
2015-03-22 18:09:22 +01:00
body {
2019-01-27 11:55:16 +01:00
< ? php if ( GETPOST ( 'optioncss' , 'aZ09' ) == 'print' ) { ?>
2015-03-22 18:09:22 +01:00
background - color : #FFFFFF;
< ? php } else { ?>
2015-09-22 01:25:06 +02:00
background : rgb ( < ? php print $colorbackbody ; ?> );
2015-03-22 18:09:22 +01:00
< ? php } ?>
2015-11-15 18:23:42 +01:00
color : rgb ( < ? php echo $colortext ; ?> );
2019-11-20 14:40:52 +01:00
font - size : < ? php print is_numeric ( $fontsize ) ? $fontsize . 'px' : $fontsize ; ?> ;
2017-05-05 20:41:44 +02:00
line - height : 1.3 ;
2017-03-04 17:49:44 +01:00
font - family : < ? php print $fontlist ?> ;
2021-02-26 13:31:09 +01:00
margin - top : 0 ;
margin - bottom : 0 ;
margin - right : 0 ;
margin - left : 0 ;
< ? php print 'direction: ' . $langs -> trans ( " DIRECTION " ) . " ; \n " ; ?>
2015-03-22 18:09:22 +01:00
}
2020-02-09 18:28:34 +01:00
. sensiblehtmlcontent * {
position : static ! important ;
}
2018-10-01 00:40:02 +02:00
. thumbstat { font - weight : bold ! important ; }
2019-11-08 15:51:54 +01:00
th a { font - weight : < ? php echo ( $useboldtitle ? 'bold' : 'normal' ); ?> !important; }
2019-02-27 13:58:26 +01:00
a . tab { font - weight : 500 ! important ; }
2015-03-22 18:09:22 +01:00
2015-11-15 18:23:42 +01:00
a : link , a : visited , a : hover , a : active { font - family : < ? php print $fontlist ?> ; font-weight: normal; color: rgb(<?php print $colortextlink; ?>); text-decoration: none; }
a : hover { text - decoration : underline ; color : rgb ( < ? php print $colortextlink ; ?> ); }
2017-01-23 13:36:14 +01:00
a . commonlink { color : rgb ( < ? php print $colortextlink ; ?> ) !important; text-decoration: none; }
2015-03-22 18:09:22 +01:00
2021-01-28 16:31:32 +01:00
input {
font - size : unset ;
}
2016-11-05 03:27:56 +01:00
input , input . flat , textarea , textarea . flat , form . flat select , select , select . flat , . dataTables_length label select {
2021-02-26 13:31:09 +01:00
background - color : #FDFDFD;
2016-11-05 03:27:56 +01:00
}
2017-12-10 15:24:47 +01:00
select . vmenusearchselectcombo {
background - color : unset ;
}
2016-11-05 03:27:56 +01:00
2021-05-12 22:21:20 +02:00
textarea : focus {
2021-02-26 13:31:09 +01:00
/* v6 box-shadow: 0 0 4px #8091BF; */
2017-03-04 17:49:44 +01:00
border : 1 px solid #aaa !important;
}
2015-03-22 18:09:22 +01:00
input : focus , textarea : focus , button : focus , select : focus {
2017-03-04 17:49:44 +01:00
border - bottom : 1 px solid #666;
}
2015-03-22 18:09:22 +01:00
textarea . cke_source : focus
{
box - shadow : none ;
}
2020-02-24 21:47:48 +01:00
th . wrapcolumntitle . liste_titre : not ( . maxwidthsearch ), td . wrapcolumntitle . liste_titre : not ( . maxwidthsearch ) {
2021-02-26 13:31:09 +01:00
overflow : hidden ;
white - space : nowrap ;
max - width : 120 px ;
text - overflow : ellipsis ;
2020-02-24 21:47:48 +01:00
}
2017-11-18 02:03:10 +01:00
. liste_titre input [ name = month_date_when ], . liste_titre input [ name = monthvalid ], . liste_titre input [ name = search_ordermonth ], . liste_titre input [ name = search_deliverymonth ],
2017-07-01 14:18:09 +02:00
. liste_titre input [ name = search_smonth ], . liste_titre input [ name = search_month ], . liste_titre input [ name = search_emonth ], . liste_titre input [ name = smonth ], . liste_titre input [ name = month ],
2018-02-27 19:03:14 +01:00
. liste_titre input [ name = month_lim ], . liste_titre input [ name = month_start ], . liste_titre input [ name = month_end ], . liste_titre input [ name = month_create ],
2018-04-08 13:01:42 +02:00
. liste_titre input [ name = search_month_lim ], . liste_titre input [ name = search_month_start ], . liste_titre input [ name = search_month_end ], . liste_titre input [ name = search_month_create ],
2018-06-23 00:07:56 +02:00
. liste_titre input [ name = search_month_create ], . liste_titre input [ name = search_month_start ], . liste_titre input [ name = search_month_end ],
. liste_titre input [ name = day_date_when ], . liste_titre input [ name = dayvalid ], . liste_titre input [ name = search_orderday ], . liste_titre input [ name = search_deliveryday ],
. liste_titre input [ name = search_sday ], . liste_titre input [ name = search_day ], . liste_titre input [ name = search_eday ], . liste_titre input [ name = sday ], . liste_titre input [ name = day ], . liste_titre select [ name = day ],
. liste_titre input [ name = day_lim ], . liste_titre input [ name = day_start ], . liste_titre input [ name = day_end ], . liste_titre input [ name = day_create ],
. liste_titre input [ name = search_day_lim ], . liste_titre input [ name = search_day_start ], . liste_titre input [ name = search_day_end ], . liste_titre input [ name = search_day_create ],
. liste_titre input [ name = search_day_create ], . liste_titre input [ name = search_day_start ], . liste_titre input [ name = search_day_end ],
2018-03-19 16:11:42 +01:00
. liste_titre input [ name = search_day_date_when ], . liste_titre input [ name = search_month_date_when ], . liste_titre input [ name = search_year_date_when ],
2019-03-15 15:07:52 +01:00
. liste_titre input [ name = search_dtstartday ], . liste_titre input [ name = search_dtendday ], . liste_titre input [ name = search_dtstartmonth ], . liste_titre input [ name = search_dtendmonth ],
select #date_startday, select#date_startmonth, select#date_endday, select#date_endmonth, select#reday, select#remonth
2018-03-19 16:11:42 +01:00
{
2017-03-04 12:18:34 +01:00
margin - right : 4 px ;
}
2015-11-15 18:23:42 +01:00
input , input . flat , textarea , textarea . flat , form . flat select , select , select . flat , . dataTables_length label select {
2015-03-22 18:09:22 +01:00
font - family : < ? php print $fontlist ?> ;
2021-02-26 13:31:09 +01:00
border : none ;
border < ? php echo empty ( $conf -> global -> THEME_HIDE_BORDER_ON_INPUT ) ? '-bottom' : '' ; ?> : solid 1px rgba(0,0,0,.2);
outline : none ;
margin : 0 px 0 px 0 px 0 px ;
2015-03-22 18:09:22 +01:00
}
2017-03-04 17:49:44 +01:00
2017-03-14 13:49:04 +01:00
input {
2021-02-26 13:31:09 +01:00
line - height : 17 px ;
2017-03-14 13:49:04 +01:00
padding : 4 px ;
padding - left : 5 px ;
}
select {
2019-03-03 21:05:33 +01:00
padding - top : 4 px ;
padding - right : 4 px ;
padding - bottom : 4 px ;
2017-03-14 13:49:04 +01:00
padding - left : 2 px ;
}
input , select {
2017-03-04 17:49:44 +01:00
margin - left : 0 px ;
margin - bottom : 1 px ;
margin - top : 1 px ;
2017-03-11 00:43:06 +01:00
}
2019-04-13 10:29:09 +02:00
input . button . massactionconfirmed {
2021-02-26 13:31:09 +01:00
margin : 4 px ;
2019-04-13 10:29:09 +02:00
}
2017-03-04 17:49:44 +01:00
textarea {
border - radius : 0 ;
2017-03-11 00:43:06 +01:00
border - top : solid 1 px rgba ( 0 , 0 , 0 , . 1 );
border - left : solid 1 px rgba ( 0 , 0 , 0 , . 1 );
border - right : solid 1 px rgba ( 0 , 0 , 0 , . 1 );
2015-03-22 18:09:22 +01:00
border - bottom : solid 1 px rgba ( 0 , 0 , 0 , . 2 );
2017-06-02 09:25:35 +02:00
2015-10-09 20:00:43 +02:00
background - color : #FFF;
2015-03-22 18:09:22 +01:00
padding : 4 px ;
margin - left : 1 px ;
margin - bottom : 1 px ;
margin - top : 1 px ;
}
2015-09-22 01:25:06 +02:00
input . removedassigned {
padding : 2 px ! important ;
vertical - align : text - bottom ;
margin - bottom : - 3 px ;
}
2016-11-05 03:27:56 +01:00
input . smallpadd { /* Used for timesheet input */
2015-12-04 15:37:28 +01:00
padding - left : 1 px ! important ;
padding - right : 1 px ! important ;
}
2016-04-07 13:06:22 +02:00
input . buttongen {
vertical - align : middle ;
}
2019-05-03 02:22:27 +02:00
input . buttonpayment , button . buttonpayment , div . buttonpayment {
2019-06-07 13:51:53 +02:00
min - width : 290 px ;
2017-09-11 03:38:39 +02:00
margin - bottom : 15 px ;
2020-04-28 19:40:25 +02:00
margin - top : 15 px ;
2021-02-26 13:31:09 +01:00
margin - left : 5 px ;
margin - right : 5 px ;
2017-09-11 03:38:39 +02:00
background - image : none ;
line - height : 24 px ;
padding : 8 px ;
2017-09-20 15:29:47 +02:00
background : none ;
2019-05-03 02:22:27 +02:00
text - align : center ;
2017-11-07 19:46:28 +01:00
border : 2 px solid #ccc;
background - color : #eee;
2018-01-08 13:21:04 +01:00
white - space : normal ;
2019-05-03 02:22:27 +02:00
color : #888 !important;
}
div . buttonpayment input {
2021-02-26 13:31:09 +01:00
background - color : unset ;
border - bottom : unset ;
font - weight : bold ;
text - transform : uppercase ;
2019-05-03 02:22:27 +02:00
color : #333;
2019-06-25 11:35:40 +02:00
cursor : pointer ;
2017-09-11 03:38:39 +02:00
}
2019-07-28 23:49:05 +02:00
div . buttonpayment input : focus {
2021-02-26 13:31:09 +01:00
color : #008;
2019-07-28 23:49:05 +02:00
}
2017-09-11 03:38:39 +02:00
input . buttonpaymentcb {
2019-01-27 11:55:16 +01:00
background - image : url ( < ? php echo dol_buildpath ( $path . '/theme/common/credit_card.png' , 1 ) ?> );
2017-09-11 03:38:39 +02:00
background - size : 26 px ;
background - repeat : no - repeat ;
background - position : 5 px 5 px ;
}
input . buttonpaymentcheque {
2019-01-27 11:55:16 +01:00
background - image : url ( < ? php echo dol_buildpath ( $path . '/theme/common/cheque.png' , 1 ) ?> );
2017-09-11 03:38:39 +02:00
background - repeat : no - repeat ;
background - position : 8 px 7 px ;
}
input . buttonpaymentcb {
2019-01-27 11:55:16 +01:00
background - image : url ( < ? php echo dol_buildpath ( $path . '/theme/common/credit_card.png' , 1 ) ?> );
2017-09-11 03:38:39 +02:00
background - size : 24 px ;
background - repeat : no - repeat ;
background - position : 5 px 4 px ;
}
input . buttonpaymentcheque {
2019-01-27 11:55:16 +01:00
background - image : url ( < ? php echo dol_buildpath ( $path . '/paypal/img/object_paypal.png' , 1 ) ?> );
2017-09-11 03:38:39 +02:00
background - repeat : no - repeat ;
background - position : 5 px 4 px ;
}
input . buttonpaymentpaypal {
2019-01-27 11:55:16 +01:00
background - image : url ( < ? php echo dol_buildpath ( $path . '/paypal/img/object_paypal.png' , 1 ) ?> );
2017-09-11 03:38:39 +02:00
background - repeat : no - repeat ;
background - position : 8 px 7 px ;
}
input . buttonpaymentpaybox {
2019-01-27 11:55:16 +01:00
background - image : url ( < ? php echo dol_buildpath ( $path . '/paybox/img/object_paybox.png' , 1 ) ?> );
2017-09-11 03:38:39 +02:00
background - repeat : no - repeat ;
background - position : 8 px 7 px ;
}
input . buttonpaymentstripe {
2019-01-27 11:55:16 +01:00
background - image : url ( < ? php echo dol_buildpath ( $path . '/stripe/img/object_stripe.png' , 1 ) ?> );
2017-09-11 03:38:39 +02:00
background - repeat : no - repeat ;
background - position : 8 px 7 px ;
}
2020-08-27 11:01:41 +02:00
. logopublicpayment #dolpaymentlogo {
max - height : 100 px ;
}
2020-12-17 11:57:12 +01:00
a . butStatus {
2019-05-21 13:27:45 +02:00
padding - left : 5 px ;
padding - right : 5 px ;
2020-12-17 11:57:12 +01:00
background - color : transparent ;
2021-02-26 13:31:09 +01:00
color : var ( -- colortext ) ! important ;
border : 2 px solid var ( -- butactionbg );
margin : 0 0.45 em ! important ;
2019-05-21 13:27:45 +02:00
}
2019-11-20 14:40:52 +01:00
/* Used by timesheets */
2016-04-07 13:06:22 +02:00
span . timesheetalreadyrecorded input {
2021-02-26 13:31:09 +01:00
border : none ;
border - bottom : solid 1 px rgba ( 0 , 0 , 0 , 0.1 );
margin - right : 1 px ! important ;
2016-04-07 13:06:22 +02:00
}
2017-09-19 17:07:39 +02:00
td . onholidaymorning , td . onholidayafternoon {
background - color : #fdf6f2;
}
td . onholidayallday {
background - color : #f4eede;
}
2018-02-09 23:52:43 +01:00
td . leftborder , td . hide0 {
border - left : 1 px solid #ccc;
}
2018-02-26 14:09:15 +01:00
td . leftborder , td . hide6 {
border - right : 1 px solid #ccc;
}
2018-04-07 17:14:23 +02:00
td . rightborder {
border - right : 1 px solid #ccc;
}
2018-02-09 23:52:43 +01:00
2021-03-26 17:58:00 +01:00
td . amount , span . amount , div . amount {
2021-03-24 23:44:50 +01:00
color : #006666;
}
2019-11-20 14:40:52 +01:00
td . actionbuttons a {
2021-02-26 13:31:09 +01:00
padding - left : 6 px ;
2019-11-20 14:40:52 +01:00
}
2020-03-13 12:53:22 +01:00
select . flat , form . flat select , . pageplusone {
2015-03-22 18:09:22 +01:00
font - weight : normal ;
2017-12-01 12:01:17 +01:00
font - size : unset ;
2017-11-17 14:57:14 +01:00
height : 2 em ;
2015-03-22 18:09:22 +01:00
}
2020-03-13 12:53:22 +01:00
input . pageplusone {
2021-02-26 13:31:09 +01:00
padding - bottom : 4 px ;
padding - top : 4 px ;
2020-03-13 12:53:22 +01:00
}
2020-11-29 15:16:53 +01:00
. saturatemedium {
filter : saturate ( 0.8 );
}
2017-04-04 11:56:19 +02:00
. optionblue {
2017-10-21 19:39:25 +02:00
color : rgb ( < ? php echo $colortextlink ; ?> );
2017-04-04 11:56:19 +02:00
}
2016-05-30 01:30:28 +02:00
. optiongrey , . opacitymedium {
2016-03-30 16:07:48 +02:00
opacity : 0.5 ;
}
2019-12-22 13:19:14 +01:00
. opacitymediumbycolor {
color : rgba ( 0 , 0 , 0 , 0.4 );
}
2020-01-08 19:04:00 +01:00
. opacitylow {
opacity : 0.6 ;
}
2016-03-30 16:07:48 +02:00
. opacityhigh {
2021-03-12 15:34:31 +01:00
opacity : 0.24 ;
2016-03-30 16:07:48 +02:00
}
. opacitytransp {
opacity : 0 ;
}
2020-02-24 21:47:48 +01:00
. colorwhite {
color : #fff;
}
. colorblack {
color : #000;
}
2021-06-23 13:00:04 +02:00
. fontsizeunset {
font - size : unset ! important ;
}
2020-02-24 21:47:48 +01:00
2020-12-15 13:38:21 +01:00
. vmirror {
2021-02-26 13:31:09 +01:00
transform : scale ( 1 , - 1 );
2020-12-15 13:38:21 +01:00
}
. hmirror {
2021-02-26 13:31:09 +01:00
transform : scale ( - 1 , 1 );
2020-12-15 13:38:21 +01:00
}
2019-11-20 14:40:52 +01:00
select : invalid {
color : gray ;
}
2019-09-30 11:57:25 +02:00
input : disabled , textarea : disabled , select [ disabled = 'disabled' ]
{
background : #eee;
2016-11-05 03:27:56 +01:00
}
2015-03-22 18:09:22 +01:00
input . liste_titre {
box - shadow : none ! important ;
}
2016-04-07 13:06:22 +02:00
. listactionlargetitle . liste_titre {
line - height : 24 px ;
}
2015-03-22 18:09:22 +01:00
input . removedfile {
padding : 0 px ! important ;
border : 0 px ! important ;
2015-09-22 01:25:06 +02:00
vertical - align : text - bottom ;
2015-03-22 18:09:22 +01:00
}
2019-09-30 11:57:25 +02:00
2016-11-05 03:27:56 +01:00
input [ type = file ] { background - color : transparent ; border - top : none ; border - left : none ; border - right : none ; box - shadow : none ; }
2020-12-15 03:55:46 +01:00
input [ type = checkbox ] { background - color : transparent ; border : none ; box - shadow : none ; vertical - align : middle ; }
input [ type = radio ] { background - color : transparent ; border : none ; box - shadow : none ; vertical - align : middle ; }
2015-03-22 18:09:22 +01:00
input [ type = image ] { background - color : transparent ; border : none ; box - shadow : none ; }
input :- webkit - autofill {
2016-11-11 01:15:41 +01:00
background - color : #FBFFEA !important;
2015-03-22 18:09:22 +01:00
background - image : none ! important ;
2016-11-11 01:15:41 +01:00
- webkit - box - shadow : 0 0 0 50 px #FBFFEA inset;
2015-03-22 18:09:22 +01:00
}
2021-01-28 16:31:32 +01:00
/* CSS for placeholder */
. placeholder { color : #ccc; }
2015-03-22 18:09:22 +01:00
::- webkit - input - placeholder { color : #ccc; }
2016-10-30 12:39:51 +01:00
:- moz - placeholder { color : #bbb; } /* firefox 18- */
::- moz - placeholder { color : #bbb; } /* firefox 19+ */
:- ms - input - placeholder { color : #ccc; } /* ie */
2015-03-22 18:09:22 +01:00
input :- moz - placeholder { color : #ccc; }
2021-01-28 16:31:32 +01:00
2019-10-21 14:44:39 +02:00
input [ name = price ], input [ name = weight ], input [ name = volume ], input [ name = surface ], input [ name = sizeheight ], input [ name = net_measure ], select [ name = incoterm_id ] { margin - right : 6 px ; }
2016-04-22 13:38:44 +02:00
fieldset { border : 1 px solid #AAAAAA !important; }
2017-02-27 02:04:25 +01:00
. legendforfieldsetstep { padding - bottom : 10 px ; }
2019-10-16 14:11:11 +02:00
input #onlinepaymenturl, input#directdownloadlink {
opacity : 0.7 ;
}
2015-03-22 18:09:22 +01:00
2019-10-24 11:56:07 +02:00
div #moretabsList, div#moretabsListaction {
2021-02-26 13:31:09 +01:00
z - index : 5 ;
2019-05-13 20:55:05 +02:00
}
2017-03-23 13:19:00 +01:00
hr { border : 0 ; border - top : 1 px solid #ccc; }
2015-03-22 18:09:22 +01:00
2020-04-28 19:40:25 +02:00
. button : not ( . bordertransp ) : not ( . buttonpayment ), . buttonDelete : not ( . bordertransp ) : not ( . buttonpayment ) {
2015-03-22 18:09:22 +01:00
border - color : #c5c5c5;
border - color : rgba ( 0 , 0 , 0 , 0.15 ) rgba ( 0 , 0 , 0 , 0.15 ) rgba ( 0 , 0 , 0 , 0.25 );
display : inline - block ;
padding : 4 px 14 px ;
margin - bottom : 0 ;
margin - top : 0 ;
2021-02-26 13:31:09 +01:00
font - family : < ? php print $fontlist ?> ;
2015-03-22 18:09:22 +01:00
text - align : center ;
cursor : pointer ;
2017-03-04 17:49:44 +01:00
color : #333333 !important;
text - decoration : none ! important ;
2015-03-22 18:09:22 +01:00
text - shadow : 0 1 px 1 px rgba ( 255 , 255 , 255 , 0.75 );
background - color : #f5f5f5;
background - image : - moz - linear - gradient ( top , #ffffff, #e6e6e6);
background - image : - webkit - gradient ( linear , 0 0 , 0 100 % , from ( #ffffff), to(#e6e6e6));
background - image : - webkit - linear - gradient ( top , #ffffff, #e6e6e6);
background - image : - o - linear - gradient ( top , #ffffff, #e6e6e6);
background - image : linear - gradient ( to bottom , #ffffff, #e6e6e6);
background - repeat : repeat - x ;
border - color : #e6e6e6 #e6e6e6 #bfbfbf;
border - color : rgba ( 0 , 0 , 0 , 0.1 ) rgba ( 0 , 0 , 0 , 0.1 ) rgba ( 0 , 0 , 0 , 0.25 );
border : 1 px solid #bbbbbb;
border - bottom - color : #a2a2a2;
2015-05-10 15:08:53 +02:00
- webkit - border - radius : 2 px ;
border - radius : 2 px ;
2015-03-22 18:09:22 +01:00
- webkit - box - shadow : inset 0 1 px 0 rgba ( 255 , 255 , 255 , 0.2 ), 0 1 px 2 px rgba ( 0 , 0 , 0 , 0.05 );
box - shadow : inset 0 1 px 0 rgba ( 255 , 255 , 255 , 0.2 ), 0 1 px 2 px rgba ( 0 , 0 , 0 , 0.05 );
}
2017-03-04 17:49:44 +01:00
. button : focus , . buttonDelete : focus {
2015-03-22 18:09:22 +01:00
- webkit - box - shadow : 0 px 0 px 6 px 1 px rgba ( 0 , 0 , 60 , 0.2 ), 0 px 0 px 0 px rgba ( 60 , 60 , 60 , 0.1 );
box - shadow : 0 px 0 px 6 px 1 px rgba ( 0 , 0 , 60 , 0.2 ), 0 px 0 px 0 px rgba ( 60 , 60 , 60 , 0.1 );
}
2017-03-04 17:49:44 +01:00
. button : hover , . buttonDelete : hover {
2015-03-22 18:09:22 +01:00
- webkit - box - shadow : 0 px 0 px 6 px 1 px rgba ( 0 , 0 , 0 , 0.2 ), 0 px 0 px 0 px rgba ( 60 , 60 , 60 , 0.1 );
box - shadow : 0 px 0 px 6 px 1 px rgba ( 0 , 0 , 0 , 0.2 ), 0 px 0 px 0 px rgba ( 60 , 60 , 60 , 0.1 );
}
2019-11-09 11:30:08 +01:00
. button : disabled , . buttonDelete : disabled , . button . disabled , . buttonDelete . disabled {
2015-03-22 18:09:22 +01:00
opacity : 0.4 ;
2021-02-26 13:31:09 +01:00
box - shadow : none ;
- webkit - box - shadow : none ;
cursor : auto ;
2015-03-22 18:09:22 +01:00
}
. buttonRefused {
pointer - events : none ;
2021-02-26 13:31:09 +01:00
cursor : default ;
2015-03-22 18:09:22 +01:00
opacity : 0.4 ;
2021-02-26 13:31:09 +01:00
box - shadow : none ;
- webkit - box - shadow : none ;
2015-03-22 18:09:22 +01:00
}
2019-04-05 14:45:54 +02:00
. button_search , . button_removefilter {
2021-02-26 13:31:09 +01:00
border : unset ;
background : unset ;
2019-04-05 14:45:54 +02:00
}
2019-11-20 14:40:52 +01:00
. button_search : hover , . button_removefilter : hover {
2021-02-26 13:31:09 +01:00
cursor : pointer ;
2019-11-20 14:40:52 +01:00
}
2015-03-22 18:09:22 +01:00
form {
2021-02-26 13:31:09 +01:00
padding : 0 px ;
margin : 0 px ;
2015-03-22 18:09:22 +01:00
}
2020-10-12 14:01:15 +02:00
div . float , span . floatleft
2015-03-22 18:09:22 +01:00
{
2021-02-26 13:31:09 +01:00
float :< ? php print $left ; ?> ;
2015-03-22 18:09:22 +01:00
}
div . floatright
{
2021-02-26 13:31:09 +01:00
float :< ? php print $right ; ?> ;
2015-03-22 18:09:22 +01:00
}
2020-07-08 18:06:14 +02:00
. block
{
display : block ;
}
2015-03-22 18:09:22 +01:00
. inline - block
{
display : inline - block ;
}
2020-07-08 18:06:14 +02:00
. largenumber {
2021-02-26 13:31:09 +01:00
font - size : 1.4 em ;
2020-07-08 18:06:14 +02:00
}
2021-05-12 22:21:20 +02:00
button : focus {
outline : none ;
}
2015-03-22 18:09:22 +01:00
th . button {
2021-02-26 13:31:09 +01:00
- webkit - box - shadow : none ! important ;
box - shadow : none ! important ;
2015-03-22 18:09:22 +01:00
- webkit - border - radius : 0 px ! important ;
border - radius : 0 px ! important ;
}
2015-09-22 01:25:06 +02:00
. maxwidthsearch { /* Max width of column with the search picto */
width : 54 px ;
2019-12-03 15:22:46 +01:00
min - width : 54 px ;
2015-09-22 01:25:06 +02:00
}
2015-03-22 18:09:22 +01:00
2016-04-04 15:20:21 +02:00
. valigntop {
vertical - align : top ;
}
2015-03-22 18:09:22 +01:00
. valignmiddle {
vertical - align : middle ;
}
2016-02-10 17:45:26 +01:00
. valignbottom {
vertical - align : bottom ;
}
2017-03-11 00:43:06 +01:00
. valigntextbottom {
vertical - align : text - bottom ;
}
2015-03-22 18:09:22 +01:00
. centpercent {
width : 100 % ;
}
2016-03-13 20:38:16 +01:00
. quatrevingtpercent , . inputsearch {
width : 80 % ;
}
2016-03-30 00:06:55 +02:00
. soixantepercent {
width : 60 % ;
}
2018-06-16 21:19:50 +02:00
. quatrevingtquinzepercent {
width : 95 % ;
}
2015-03-22 18:09:22 +01:00
textarea . centpercent {
width : 96 % ;
}
2021-05-24 19:05:25 +02:00
. quatrevingtpercentminusx {
width : calc ( 80 % - 52 px );
}
2019-11-20 14:40:52 +01:00
. small , small {
2021-02-26 13:31:09 +01:00
font - size : 85 % ;
2019-11-20 14:40:52 +01:00
}
. h1 . small , . h1 small , . h2 . small , . h2 small , . h3 . small , . h3 small , h1 . small , h1 small , h2 . small , h2 small , h3 . small , h3 small {
2021-02-26 13:31:09 +01:00
font - size : 65 % ;
2019-11-20 14:40:52 +01:00
}
. h1 . small , . h1 small , . h2 . small , . h2 small , . h3 . small , . h3 small , . h4 . small , . h4 small , . h5 . small , . h5 small , . h6 . small , . h6 small , h1 . small , h1 small , h2 . small , h2 small , h3 . small , h3 small , h4 . small , h4 small , h5 . small , h5 small , h6 . small , h6 small {
2021-02-26 13:31:09 +01:00
font - weight : 400 ;
line - height : 1 ;
color : #777;
2019-11-20 14:40:52 +01:00
}
2021-05-12 22:43:47 +02:00
. flip {
transform : scaleX ( - 1 ) translate ( 2 px , 0 );
}
. rotate90 {
transform : rotate ( 90 deg ) translate ( 0 , 2 px );
}
2015-03-22 18:09:22 +01:00
. center {
2021-02-26 13:31:09 +01:00
text - align : center ;
margin : 0 px auto ;
2015-03-22 18:09:22 +01:00
}
2021-05-12 22:43:47 +02:00
. alignstart {
text - align : start ;
}
2015-03-22 18:09:22 +01:00
. left {
text - align : < ? php print $left ; ?> ;
}
. right {
text - align : < ? php print $right ; ?> ;
}
2017-10-17 14:03:22 +02:00
. justify {
text - align : justify ;
}
2019-11-20 14:40:52 +01:00
. pull - left {
2021-02-26 13:31:09 +01:00
float : left ! important ;
2019-11-20 14:40:52 +01:00
}
. pull - right {
2021-02-26 13:31:09 +01:00
float : right ! important ;
2019-11-20 14:40:52 +01:00
}
2015-03-22 18:09:22 +01:00
. nowrap {
2019-11-08 15:51:54 +01:00
white - space : < ? php print ( $dol_optimize_smallscreen ? 'normal' : 'nowrap' ); ?> ;
2015-03-22 18:09:22 +01:00
}
2020-12-08 17:09:48 +01:00
. nowraponsmartphone {
white - space : < ? php print ( $dol_optimize_smallscreen ? 'nowrap' : 'normal' ); ?> ;
}
2018-02-15 12:57:04 +01:00
. liste_titre . nowrap {
white - space : nowrap ;
}
2018-02-28 19:36:04 +01:00
. nowraponall { /* no wrap on all devices */
2017-03-31 14:21:51 +02:00
white - space : nowrap ;
}
2018-06-02 16:36:05 +02:00
. wrapimp {
white - space : normal ! important ;
}
2017-11-24 14:23:25 +01:00
. wordwrap {
word - wrap : break - word ;
}
2019-10-08 16:41:03 +02:00
. wordbreakimp {
word - break : break - word ;
}
2018-02-05 12:34:11 +01:00
. wordbreak {
word - break : break - all ;
}
2018-02-09 23:52:43 +01:00
. bold {
font - weight : bold ! important ;
}
2015-03-22 18:09:22 +01:00
. nobold {
font - weight : normal ! important ;
}
. nounderline {
2021-02-26 13:31:09 +01:00
text - decoration : none ;
2015-03-22 18:09:22 +01:00
}
2021-01-23 13:50:06 +01:00
. nopadding {
padding : 0 ;
}
. nopaddingleft {
padding - left : 0 ;
}
. nopaddingright {
padding - right : 0 ;
}
2017-03-23 10:59:13 +01:00
. paddingleft {
padding -< ? php print $left ; ?> : 4px;
}
2017-08-24 14:54:32 +02:00
. paddingleft2 {
padding -< ? php print $left ; ?> : 2px;
}
2017-03-23 10:59:13 +01:00
. paddingright {
padding -< ? php print $right ; ?> : 4px;
}
2017-08-24 14:54:32 +02:00
. paddingright2 {
padding -< ? php print $right ; ?> : 2px;
}
2019-11-01 15:53:57 +01:00
. marginleft2 {
margin -< ? php print $left ; ?> : 2px;
}
. marginright2 {
margin -< ? php print $right ; ?> : 2px;
}
2018-03-21 13:16:05 +01:00
. cursordefault {
cursor : default ;
}
2015-03-22 18:09:22 +01:00
. cursorpointer {
cursor : pointer ;
}
2017-05-23 15:13:52 +02:00
. cursormove {
2017-03-31 14:21:51 +02:00
cursor : move ;
}
2017-07-19 16:38:00 +02:00
. cursornotallowed {
cursor : not - allowed ;
}
2019-04-23 15:54:24 +02:00
. backgroundblank {
2021-02-26 13:31:09 +01:00
background - color : #fff;
2019-04-23 15:54:24 +02:00
}
2019-10-31 21:09:33 +01:00
. nobackground , . nobackground tr {
background : unset ! important ;
}
2019-04-23 15:54:24 +02:00
. checkboxattachfilelabel {
2021-02-26 13:31:09 +01:00
font - size : 0.85 em ;
opacity : 0.7 ;
2019-04-23 15:54:24 +02:00
}
2020-09-08 01:53:37 +02:00
. longmessagecut {
2021-02-26 13:31:09 +01:00
max - height : 250 px ;
max - width : 100 % ;
overflow - y : auto ;
2020-09-08 01:53:37 +02:00
}
2021-03-26 17:58:00 +01:00
div . urllink {
padding : 5 px ;
margin - top : 5 px ;
margin - bottom : 5 px ;
/* border: 1px solid #ccc; */
border - radius : 5 px ;
/* width: fit-content; */
background - color : #e0e0e8;
opacity : 0.8 ;
}
div . urllink , div . urllink a {
color : #339 !important;
}
2019-04-23 15:54:24 +02:00
2021-03-23 21:45:37 +01:00
. fa - info - circle {
padding -< ? php echo $left ; ?> : 3px;
}
2021-03-12 15:34:31 +01:00
i . fa - mars :: before , i . fa - venus :: before , i . fa - genderless :: before {
color : #888 !important;
opacity : 0.4 ;
padding -< ? php echo $left ; ?> : 3px;
}
2021-03-21 13:46:32 +01:00
. stockmovemententry {
color : #080;
transform : rotate ( 0.25 turn );
font - size : 1.2 em ;
}
. stockmovementexit {
color : #968822;
transform : rotate ( 0.3 turn );
font - size : 1.2 em ;
}
. stockmovement {
font - size : 1.4 em ;
}
2021-03-12 15:34:31 +01:00
2019-08-11 09:46:40 +02:00
. text - warning {
2021-02-26 13:31:09 +01:00
color : < ? php print $textWarning ; ?>
2019-08-11 09:46:40 +02:00
}
body [ class *= " colorblind- " ] . text - warning {
2021-02-26 13:31:09 +01:00
color : < ? php print $colorblind_deuteranopes_textWarning ; ?>
2019-08-11 09:46:40 +02:00
}
. text - success {
2021-02-26 13:31:09 +01:00
color : < ? php print $textSuccess ; ?>
2019-08-11 09:46:40 +02:00
}
body [ class *= " colorblind- " ] . text - success {
2021-02-26 13:31:09 +01:00
color : < ? php print $colorblind_deuteranopes_textSuccess ; ?>
2019-08-11 09:46:40 +02:00
}
. text - danger {
2021-02-26 13:31:09 +01:00
color : < ? php print $textDanger ; ?>
2019-08-11 09:46:40 +02:00
}
2019-11-20 14:40:52 +01:00
. editfielda span . fa - pencil - alt , . editfielda span . fa - trash {
2021-02-26 13:31:09 +01:00
color : #ccc !important;
2019-10-02 14:44:38 +02:00
}
2019-11-20 14:40:52 +01:00
. editfielda span . fa - pencil - alt : hover , . editfielda span . fa - trash : hover {
2021-02-26 13:31:09 +01:00
color : rgb ( < ? php echo $colortexttitle ; ?> ) !important;
2019-10-02 14:44:38 +02:00
}
2020-12-18 19:02:36 +01:00
. size15x { font - size : 1.5 em ! important ; }
2020-12-18 15:08:00 +01:00
. fa - toggle - on , . fa - toggle - off , . size2x { font - size : 2 em ; }
2019-11-20 14:40:52 +01:00
. websiteselectionsection . fa - toggle - on , . websiteselectionsection . fa - toggle - off ,
. asetresetmodule . fa - toggle - on , . asetresetmodule . fa - toggle - off {
font - size : 1.5 em ; vertical - align : text - bottom ;
}
2019-10-31 21:09:33 +01:00
2020-01-31 14:52:43 +01:00
. floatnone {
float : none ! important ;
}
2019-10-02 14:44:38 +02:00
2019-04-23 15:54:24 +02:00
/* Themes for badges */
2019-08-06 10:36:24 +02:00
< ? php include dol_buildpath ( $path . '/theme/' . $theme . '/badges.inc.php' , 0 ); ?>
2015-03-22 18:09:22 +01:00
. borderrightlight
{
2015-05-12 06:58:29 +02:00
border - right : 1 px solid #f4f4f4;
2015-03-22 18:09:22 +01:00
}
2021-02-06 12:10:27 +01:00
. borderleftlight
{
border - left : 1 px solid #f4f4f4;
}
2015-05-21 01:32:56 +02:00
#formuserfile {
margin - top : 4 px ;
}
2015-03-22 21:18:25 +01:00
#formuserfile_link {
margin - left : 1 px ;
}
2015-09-22 01:25:06 +02:00
. listofinvoicetype {
height : 28 px ;
vertical - align : middle ;
}
2021-05-19 11:57:12 +02:00
. divsocialnetwork : not ( : last - child ) {
padding -< ? php print $right ; ?> : 20px;
2018-10-12 11:02:03 +02:00
}
2015-09-22 01:25:06 +02:00
div . divsearchfield {
float : < ? php print $left ; ?> ;
margin -< ? php print $right ; ?> : 12px;
2015-10-09 17:21:38 +02:00
margin -< ? php print $left ; ?> : 2px;
2015-10-13 14:09:14 +02:00
margin - top : 4 px ;
2021-02-26 13:31:09 +01:00
margin - bottom : 4 px ;
padding - left : 2 px ;
2015-09-22 01:25:06 +02:00
}
2018-06-22 22:53:53 +02:00
. divsearchfieldfilter {
2021-02-26 13:31:09 +01:00
text - overflow : clip ;
overflow : auto ;
white - space : nowrap ;
padding - bottom : 5 px ;
opacity : 0.6 ;
2018-06-22 22:53:53 +02:00
}
2020-02-10 01:01:22 +01:00
. divadvancedsearchfield : first - child {
2021-02-26 13:31:09 +01:00
margin - top : 3 px ;
2020-02-10 01:01:22 +01:00
}
. divadvancedsearchfield {
2021-02-26 13:31:09 +01:00
float : left ;
padding - left : 15 px ;
padding - right : 15 px ;
padding - bottom : 2 px ;
padding - top : 2 px ;
2020-02-10 01:01:22 +01:00
}
. divadvancedsearchfield span . select2 . select2 - container . select2 - container -- default {
padding - bottom : 4 px ;
}
2019-11-20 14:40:52 +01:00
< ? php
// Add a nowrap on smartphone, so long list of field used for filter are overflowed with clip
if ( $conf -> browser -> layout == 'phone' ) {
?>
. divsearchfieldfilter {
2021-02-26 13:31:09 +01:00
white - space : nowrap ;
2019-11-20 14:40:52 +01:00
}
< ? php } ?>
2020-09-14 21:55:25 +02:00
. a - filter , . a - mesure {
2021-02-26 13:31:09 +01:00
border - radius : 50 px ;
background : var ( -- colortexttitlenotab );
color : #fff;
padding : 8 px 10 px 8 px 6 px ;
2020-09-14 21:55:25 +02:00
}
. a - filter : before {
2021-02-26 13:31:09 +01:00
content : " \ f0b0 " ;
2020-09-14 21:55:25 +02:00
}
. a - mesure : before {
2021-02-26 13:31:09 +01:00
content : " \ f080 " ;
2020-09-14 21:55:25 +02:00
}
. a - filter : before , . a - mesure : before {
font - family : " Font Awesome 5 Free " ;
font - weight : 600 ;
padding - right : 5 px ;
padding - left : 5 px ;
}
. a - filter - disabled , . a - mesure - disabled {
2021-02-26 13:31:09 +01:00
border - radius : 50 px ;
background : var ( -- colorbacktitle1 );
padding : 8 px ;
opacity : 0.6 ;
2020-09-14 21:55:25 +02:00
}
2021-04-07 02:31:13 +02:00
div . div - for - modal {
/* display: none; */
position : absolute ;
top : calc ( 50 % - 200 px );
left : calc ( 50 % - 250 px );
width : 500 px ; /* adjust as per your needs */
height : 400 px ; /* adjust as per your needs */
background : #fff;
border : 1 px solid #bbb;
box - shadow : 2 px 2 px 20 px #ddd;
z - index : 100 ;
}
div . div - for - modal - topright {
/* display: none; */
2021-04-09 12:13:02 +02:00
position : fixed ;
2021-04-07 02:31:13 +02:00
top : 0 ;
right : 0 ;
width : 50 % ; /* adjust as per your needs */
height : 250 px ; /* adjust as per your needs */
background : #fff;
border : 1 px solid #bbb;
box - shadow : 2 px 2 px 20 px #ddd;
z - index : 1100 ;
}
2015-09-22 01:25:06 +02:00
div . confirmmessage {
padding - top : 6 px ;
}
2017-11-22 14:42:47 +01:00
ul . attendees {
padding - top : 0 ;
padding - bottom : 0 ;
padding - left : 0 ;
margin - top : 0 ;
margin - bottom : 0 ;
}
ul . attendees li {
list - style - type : none ;
}
input > ul . attendees {
margin - top : 6 px ;
2015-12-19 03:47:02 +01:00
}
2015-09-22 01:25:06 +02:00
. googlerefreshcal {
padding - top : 4 px ;
padding - bottom : 4 px ;
}
2017-10-28 11:00:02 +02:00
. paddingtopbottom {
padding - top : 10 px ;
padding - bottom : 10 px ;
}
2016-02-07 19:55:41 +01:00
. checkallactions {
2021-02-26 13:31:09 +01:00
margin - left : 2 px ; /* left must be same than right to keep checkbox centered */
margin - right : 2 px ; /* left must be same than right to keep checkbox centered */
vertical - align : middle ;
2016-02-07 19:55:41 +01:00
}
2018-02-15 12:57:04 +01:00
select . flat . selectlimit {
2021-02-26 13:31:09 +01:00
max - width : 62 px ;
2018-02-15 12:57:04 +01:00
}
2016-11-10 11:33:25 +01:00
. selectlimit , . marginrightonly {
2016-02-09 11:56:12 +01:00
margin - right : 10 px ! important ;
}
2017-11-22 14:42:47 +01:00
. marginleftonly {
2019-11-20 14:40:52 +01:00
margin -< ? php echo $left ; ?> : 10px !important;
2017-11-22 14:42:47 +01:00
}
2018-09-12 21:57:32 +02:00
. marginleftonlyshort {
2019-11-20 14:40:52 +01:00
margin -< ? php echo $left ; ?> : 4px !important;
2018-09-12 21:57:32 +02:00
}
2018-04-25 17:14:18 +02:00
. nomarginleft {
2019-11-20 14:40:52 +01:00
margin -< ? php echo $left ; ?> : 0px !important;
2018-04-25 17:14:18 +02:00
}
2019-03-15 15:07:52 +01:00
. margintoponly {
margin - top : 10 px ! important ;
}
2019-03-02 14:07:13 +01:00
. marginbottomonly {
margin - bottom : 10 px ! important ;
}
2020-02-05 21:47:41 +01:00
. nomargintop {
2021-02-26 13:31:09 +01:00
margin - top : 0 ! important ;
2020-02-05 21:47:41 +01:00
}
. nomarginbottom {
2021-02-26 13:31:09 +01:00
margin - bottom : 0 ! important ;
2020-02-05 21:47:41 +01:00
}
2017-02-17 00:59:00 +01:00
. selectlimit , . selectlimit : focus {
2021-02-26 13:31:09 +01:00
border - left : none ! important ;
border - top : none ! important ;
border - right : none ! important ;
outline : none ;
2017-02-17 00:59:00 +01:00
}
2016-03-03 20:19:40 +01:00
. strikefordisabled {
text - decoration : line - through ;
}
2017-04-09 13:12:25 +02:00
. widthdate {
width : 130 px ;
}
2017-03-04 17:49:44 +01:00
/* using a tdoverflowxxx make the min-width not working */
2016-03-04 11:25:54 +01:00
. tdoverflow {
2021-02-26 13:31:09 +01:00
max - width : 0 ;
overflow : hidden ;
text - overflow : ellipsis ;
white - space : nowrap ;
2016-07-09 16:54:04 +02:00
}
2017-11-26 22:12:11 +01:00
. tdoverflowmax50 { /* For tdoverflow, the max-midth become a minimum ! */
2021-02-26 13:31:09 +01:00
max - width : 50 px ;
overflow : hidden ;
text - overflow : ellipsis ;
white - space : nowrap ;
2017-11-26 22:12:11 +01:00
}
. tdoverflowmax100 { /* For tdoverflow, the max-midth become a minimum ! */
2021-02-26 13:31:09 +01:00
max - width : 100 px ;
overflow : hidden ;
text - overflow : ellipsis ;
white - space : nowrap ;
2016-07-09 16:54:04 +02:00
}
2020-09-17 22:35:05 +02:00
. tdoverflowmax100imp { /* For tdoverflow, the max-midth become a minimum ! */
2021-02-26 13:31:09 +01:00
max - width : 100 px ! important ;
overflow : hidden ;
text - overflow : ellipsis ;
white - space : nowrap ;
2020-11-22 13:23:56 +01:00
}
. tdoverflowmax125 { /* For tdoverflow, the max-midth become a minimum ! */
2021-02-26 13:31:09 +01:00
max - width : 125 px ;
overflow : hidden ;
text - overflow : ellipsis ;
white - space : nowrap ;
2020-09-17 22:35:05 +02:00
}
2017-11-04 15:21:35 +01:00
. tdoverflowmax150 { /* For tdoverflow, the max-midth become a minimum ! */
2021-02-26 13:31:09 +01:00
max - width : 150 px ;
overflow : hidden ;
text - overflow : ellipsis ;
white - space : nowrap ;
2017-04-07 14:09:19 +02:00
}
2017-09-25 19:54:27 +02:00
. tdoverflowmax200 { /* For tdoverflow, the max-midth become a minimum ! */
2021-02-26 13:31:09 +01:00
max - width : 200 px ;
overflow : hidden ;
text - overflow : ellipsis ;
white - space : nowrap ;
2017-09-25 19:54:27 +02:00
}
2021-06-22 12:30:50 +02:00
. tdoverflowmax250 { /* For tdoverflow, the max-midth become a minimum ! */
max - width : 250 px ;
overflow : hidden ;
text - overflow : ellipsis ;
white - space : nowrap ;
}
2017-11-26 22:12:11 +01:00
. tdoverflowmax300 { /* For tdoverflow, the max-midth become a minimum ! */
2021-02-26 13:31:09 +01:00
max - width : 300 px ;
overflow : hidden ;
text - overflow : ellipsis ;
2021-03-24 23:44:50 +01:00
white - space : nowrap ;
}
. tdoverflowmax400 { /* For tdoverflow, the max-midth become a minimum ! */
max - width : 400 px ;
overflow : hidden ;
text - overflow : ellipsis ;
white - space : nowrap ;
}
. tdoverflowmax500 { /* For tdoverflow, the max-midth become a minimum ! */
max - width : 500 px ;
overflow : hidden ;
text - overflow : ellipsis ;
2021-02-26 13:31:09 +01:00
white - space : nowrap ;
2016-03-04 11:25:54 +01:00
}
2016-04-05 11:24:58 +02:00
. tdoverflowauto {
2021-02-26 13:31:09 +01:00
max - width : 0 ;
overflow : auto ;
2016-04-05 11:24:58 +02:00
}
2020-05-11 19:02:52 +02:00
. divintodwithtwolinesmax {
2021-02-26 13:31:09 +01:00
width : 75 px ;
display : - webkit - box ;
- webkit - box - orient : vertical ;
- webkit - line - clamp : 2 ;
overflow : hidden ;
2019-11-20 14:40:52 +01:00
}
. twolinesmax {
2021-02-26 13:31:09 +01:00
display : - webkit - box ;
- webkit - box - orient : vertical ;
- webkit - line - clamp : 2 ;
overflow : hidden ;
2019-11-20 14:40:52 +01:00
}
2016-06-06 22:07:35 +02:00
. tablelistofcalendars {
margin - top : 25 px ! important ;
}
2016-10-16 21:29:12 +02:00
. amountalreadypaid {
}
. amountpaymentcomplete {
color : #008800;
font - weight : bold ;
}
. amountremaintopay {
color : #880000;
font - weight : bold ;
}
2017-01-20 14:10:57 +01:00
. amountremaintopayback {
font - weight : bold ;
}
2018-06-23 14:39:24 +02:00
. amountpaymentneutral {
font - weight : bold ;
font - size : 1.4 em ;
}
2016-10-16 18:28:09 +02:00
. savingdocmask {
margin - top : 6 px ;
margin - bottom : 12 px ;
}
2017-09-23 13:02:25 +02:00
#builddoc_form ~ .showlinkedobjectblock {
2021-02-26 13:31:09 +01:00
margin - top : 20 px ;
2017-09-23 13:02:25 +02:00
}
2017-06-24 11:35:53 +02:00
2017-03-21 16:29:31 +01:00
/* For the long description of module */
. moduledesclong p img , . moduledesclong p a img {
2021-02-26 13:31:09 +01:00
max - width : 90 % ! important ;
height : auto ! important ;
2017-03-21 16:29:31 +01:00
}
2017-06-24 11:35:53 +02:00
. imgdoc {
2021-02-26 13:31:09 +01:00
margin : 18 px ;
border : 1 px solid #ccc;
box - shadow : 1 px 1 px 25 px #aaa;
max - width : calc ( 100 % - 56 px );
2017-06-24 11:35:53 +02:00
}
2017-11-10 20:20:59 +01:00
. fa - file - text - o , . fa - file - code - o , . fa - file - powerpoint - o , . fa - file - excel - o , . fa - file - word - o , . fa - file - o , . fa - file - image - o , . fa - file - video - o , . fa - file - audio - o , . fa - file - archive - o , . fa - file - pdf - o {
color : #505;
}
2017-03-21 16:29:31 +01:00
2019-11-20 14:40:52 +01:00
. fa - 15 {
font - size : 1.5 em ;
}
2016-09-17 21:03:20 +02:00
/* DOL_XXX for future usage (when left menu has been removed). If we do not use datatable */
2016-12-11 11:28:30 +01:00
/*. table - responsive {
2021-02-26 13:31:09 +01:00
width : calc ( 100 % - 330 px );
margin - bottom : 15 px ;
overflow - y : hidden ;
- ms - overflow - style : - ms - autohiding - scrollbar ;
2016-12-11 11:28:30 +01:00
} */
2017-01-23 13:36:14 +01:00
/* Style used for most tables */
2019-11-22 12:22:27 +01:00
div . fiche > div . tabBar > form > div . div - table - responsive {
2021-02-26 13:31:09 +01:00
min - height : 392 px ;
2019-11-22 12:22:27 +01:00
}
2017-01-17 20:04:41 +01:00
. div - table - responsive , . div - table - responsive - no - min {
2021-02-26 13:31:09 +01:00
overflow - x : auto ;
min - height : 0.01 % ;
2017-02-27 00:12:48 +01:00
}
. div - table - responsive {
2021-02-26 13:31:09 +01:00
line - height : 120 % ;
2016-12-11 11:28:30 +01:00
}
2017-01-23 13:36:14 +01:00
/* Style used for full page tables with field selector and no content after table (priority before previous for such tables) */
2017-01-17 20:04:41 +01:00
div . fiche > form > div . div - table - responsive , div . fiche > form > div . div - table - responsive - no - min {
2021-02-26 13:31:09 +01:00
overflow - x : auto ;
2017-01-17 20:04:41 +01:00
}
div . fiche > form > div . div - table - responsive {
2021-02-26 13:31:09 +01:00
min - height : 392 px ;
2016-11-27 11:41:10 +01:00
}
2016-06-09 01:33:26 +02:00
2017-03-03 13:30:02 +01:00
. flexcontainer {
2021-02-26 13:31:09 +01:00
< ? php if ( in_array ( $conf -> browser -> name , array ( 'chrome' , 'firefox' ))) {
echo 'display: inline-flex;' ;
} ?>
flex - flow : row wrap ;
justify - content : flex - start ;
2017-03-03 13:30:02 +01:00
}
. thumbstat {
2017-05-23 15:13:52 +02:00
flex : 1 1 116 px ;
2017-03-23 19:26:28 +01:00
}
. thumbstat150 {
flex : 1 1 150 px ;
}
2017-08-23 12:32:28 +02:00
. thumbstat , . thumbstat150 {
2021-02-26 13:31:09 +01:00
flex - grow : 1 ;
flex - shrink : 1 ;
/* flex-basis: 140px; */
/* min-width: 150px; */
width : 158 px ;
justify - content : flex - start ;
align - self : flex - start ;
2017-03-03 13:30:02 +01:00
}
2017-10-18 18:36:10 +02:00
select . selectarrowonleft {
direction : rtl ;
}
select . selectarrowonleft option {
direction : ltr ;
}
2019-10-02 15:03:15 +02:00
table [ summary = " list_of_modules " ] . fa - cog {
2021-02-26 13:31:09 +01:00
font - size : 1.5 em ;
2019-10-02 15:03:15 +02:00
}
2019-11-16 13:50:12 +01:00
. linkedcol - element {
min - width : 100 px ;
}
. img - skinthumb {
width : 160 px ;
height : 100 px ;
}
2015-03-22 18:09:22 +01:00
/* ============================================================================== */
/* Styles to hide objects */
/* ============================================================================== */
2015-09-22 01:25:06 +02:00
. clearboth { clear : both ; }
2015-03-22 18:09:22 +01:00
. hideobject { display : none ; }
2016-06-22 15:09:27 +02:00
. minwidth50 { min - width : 50 px ; }
2020-05-12 14:08:28 +02:00
. minwidth75 { min - width : 75 px ; }
2017-01-22 12:43:25 +01:00
/* rule for not too small screen only */
2016-11-05 03:27:56 +01:00
@ media only screen and ( min - width : < ? php echo round ( $nbtopmenuentries * $fontsize * 3.4 , 0 ) + 7 ; ?> px)
{
2020-05-10 15:45:07 +02:00
. width20 { width : 20 px ; }
2018-03-01 16:48:12 +01:00
. width25 { width : 25 px ; }
2021-02-26 13:31:09 +01:00
. width50 { width : 50 px ; }
. width75 { width : 75 px ; }
. width100 { width : 100 px ; }
. width200 { width : 200 px ; }
2016-11-05 03:27:56 +01:00
. minwidth100 { min - width : 100 px ; }
2019-02-26 13:20:58 +01:00
. minwidth150 { min - width : 150 px ; }
2016-11-05 03:27:56 +01:00
. minwidth200 { min - width : 200 px ; }
. minwidth300 { min - width : 300 px ; }
. minwidth400 { min - width : 400 px ; }
. minwidth500 { min - width : 500 px ; }
. minwidth50imp { min - width : 50 px ! important ; }
2021-02-26 13:31:09 +01:00
. minwidth75imp { min - width : 75 px ! important ; }
2016-11-05 03:27:56 +01:00
. minwidth100imp { min - width : 100 px ! important ; }
. minwidth200imp { min - width : 200 px ! important ; }
2021-02-26 13:31:09 +01:00
. minwidth250imp { min - width : 250 px ! important ; }
2016-11-05 03:27:56 +01:00
. minwidth300imp { min - width : 300 px ! important ; }
. minwidth400imp { min - width : 400 px ! important ; }
. minwidth500imp { min - width : 500 px ! important ; }
}
2018-03-01 16:48:12 +01:00
. widthauto { width : auto ; }
2020-05-10 15:45:07 +02:00
. width20 { width : 20 px ; }
2017-12-20 19:30:30 +01:00
. width25 { width : 25 px ; }
2017-04-14 18:43:34 +02:00
. width50 { width : 50 px ; }
2018-03-01 16:48:12 +01:00
. width75 { width : 75 px ; }
2017-04-14 18:43:34 +02:00
. width100 { width : 100 px ; }
2020-12-12 18:37:51 +01:00
. width125 { width : 125 px ; }
2019-02-26 13:20:58 +01:00
. width150 { width : 150 px ; }
2017-04-14 18:43:34 +02:00
. width200 { width : 200 px ; }
2021-04-25 15:09:56 +02:00
. width300 { width : 300 px ; }
. width400 { width : 400 px ; }
. width500 { width : 500 px ; }
2016-11-27 13:49:46 +01:00
. maxwidth25 { max - width : 25 px ; }
2016-11-05 03:27:56 +01:00
. maxwidth50 { max - width : 50 px ; }
2016-11-10 11:33:25 +01:00
. maxwidth75 { max - width : 75 px ; }
2015-03-22 18:09:22 +01:00
. maxwidth100 { max - width : 100 px ; }
2017-10-20 01:18:21 +02:00
. maxwidth125 { max - width : 125 px ; }
2015-11-13 14:16:45 +01:00
. maxwidth150 { max - width : 150 px ; }
2015-03-22 18:09:22 +01:00
. maxwidth200 { max - width : 200 px ; }
2020-09-24 00:06:02 +02:00
. maxwidth250 { max - width : 250 px ; }
2015-03-22 18:09:22 +01:00
. maxwidth300 { max - width : 300 px ; }
2016-02-28 14:01:21 +01:00
. maxwidth400 { max - width : 400 px ; }
. maxwidth500 { max - width : 500 px ; }
2016-11-11 12:55:03 +01:00
. maxwidth50imp { max - width : 50 px ! important ; }
2017-03-21 18:23:58 +01:00
. maxwidth75imp { max - width : 75 px ! important ; }
2016-04-07 11:50:45 +02:00
. minheight20 { min - height : 20 px ; }
2020-07-08 18:06:14 +02:00
. minheight30 { min - height : 30 px ; }
2016-04-23 16:51:22 +02:00
. minheight40 { min - height : 40 px ; }
2016-04-01 16:15:07 +02:00
. titlefieldcreate { width : 20 % ; }
2019-10-07 13:46:13 +02:00
. titlefield { /* width: 25%; */ width : 250 px ; }
2016-10-24 03:23:40 +02:00
. titlefieldmiddle { width : 50 % ; }
2016-11-27 14:21:23 +01:00
. imgmaxwidth180 { max - width : 180 px ; }
2019-11-20 14:40:52 +01:00
. imgmaxheight50 { max - height : 50 px ; }
. width20p { width : 20 % ; }
. width25p { width : 25 % ; }
. width40p { width : 40 % ; }
. width50p { width : 50 % ; }
. width60p { width : 60 % ; }
. width75p { width : 75 % ; }
. width80p { width : 80 % ; }
. width100p { width : 100 % ; }
2017-01-23 13:36:14 +01:00
2016-04-01 16:15:07 +02:00
2016-11-05 03:27:56 +01:00
/* Force values for small screen 1400 */
2016-05-30 01:30:28 +02:00
@ media only screen and ( max - width : 1400 px )
{
2019-10-07 13:46:13 +02:00
. titlefield { /* width: 30% !important; */ }
2016-05-30 01:30:28 +02:00
. titlefieldcreate { width : 30 % ! important ; }
2016-07-31 18:28:59 +02:00
. minwidth50imp { min - width : 50 px ! important ; }
2021-02-26 13:31:09 +01:00
. minwidth75imp { min - width : 75 px ! important ; }
. minwidth100imp { min - width : 100 px ! important ; }
. minwidth150imp { min - width : 150 px ! important ; }
. minwidth200imp { min - width : 200 px ! important ; }
. minwidth250imp { min - width : 250 px ! important ; }
. minwidth300imp { min - width : 300 px ! important ; }
. minwidth400imp { min - width : 300 px ! important ; }
. minwidth500imp { min - width : 300 px ! important ; }
. linkedcol - element {
2019-11-20 14:40:52 +01:00
min - width : unset ;
}
2016-07-31 18:28:59 +02:00
}
2016-11-05 03:27:56 +01:00
/* Force values for small screen 1000 */
2016-10-28 18:05:46 +02:00
@ media only screen and ( max - width : 1000 px )
2016-07-31 18:28:59 +02:00
{
2021-02-26 13:31:09 +01:00
. maxwidthonsmartphone { max - width : 100 px ; }
2016-07-31 18:28:59 +02:00
. minwidth50imp { min - width : 50 px ! important ; }
2021-02-26 13:31:09 +01:00
. minwidth75imp { min - width : 70 px ! important ; }
. minwidth100imp { min - width : 100 px ! important ; }
. minwidth150imp { min - width : 110 px ! important ; }
. minwidth200imp { min - width : 110 px ! important ; }
. minwidth250imp { min - width : 115 px ! important ; }
. minwidth300imp { min - width : 120 px ! important ; }
. minwidth400imp { min - width : 150 px ! important ; }
. minwidth500imp { min - width : 250 px ! important ; }
2016-05-30 01:30:28 +02:00
}
2021-01-18 11:05:02 +01:00
/* Set a width. Note: add also a max-width, for example maxwidth500, that will be used in priority */
2020-10-13 10:05:47 +02:00
. widthcentpercentminusx {
width : calc ( 100 % - 50 px ) ! important ;
display : inline - block ;
}
. widthcentpercentminusxx {
width : calc ( 100 % - 70 px ) ! important ;
display : inline - block ;
}
2017-09-23 09:28:31 +02:00
/* Force values for small screen 767 */
2017-09-04 09:25:53 +02:00
@ media only screen and ( max - width : 767 px )
{
body {
2019-11-20 14:40:52 +01:00
font - size : < ? php print is_numeric ( $fontsize ) ? ( $fontsize ) . 'px' : $fontsize ; ?> ;
2017-09-04 09:25:53 +02:00
}
2017-11-24 14:23:25 +01:00
div . refidno {
2019-11-20 14:40:52 +01:00
font - size : < ? php print is_numeric ( $fontsize ) ? ( $fontsize ) . 'px' : $fontsize ; ?> !important;
2017-11-24 14:23:25 +01:00
}
2020-06-25 01:07:30 +02:00
2020-10-13 10:51:51 +02:00
div . divphotoref {
2021-02-26 13:31:09 +01:00
padding - right : 10 px ! important ;
2020-10-13 10:51:51 +02:00
}
2021-05-18 16:28:30 +02:00
2021-05-19 13:56:13 +02:00
. hideonsmartphone { display : none ; }
. hideonsmartphoneimp { display : none ! important ; }
select . minwidth100imp , select . minwidth100 , select . minwidth200 , select . minwidth200imp , select . minwidth300 {
width : calc ( 100 % - 40 px ) ! important ;
display : inline - block ;
}
select . widthcentpercentminusxx , span . widthcentpercentminusxx : not ( . select2 - selection ), input . widthcentpercentminusxx {
width : calc ( 100 % - 70 px ) ! important ;
display : inline - block ;
}
2021-06-15 01:18:17 +02:00
input . maxwidthinputfileonsmartphone {
width : 175 px ;
}
2021-05-18 16:28:30 +02:00
. poweredbyimg {
width : 48 px ;
}
input . buttonpayment , button . buttonpayment , div . buttonpayment {
min - width : 270 px ;
}
. smallonsmartphone {
2021-05-18 17:25:31 +02:00
font - size : 0.8 em ;
2021-05-18 16:28:30 +02:00
}
2017-09-04 09:25:53 +02:00
}
2016-11-05 03:27:56 +01:00
/* Force values for small screen 570 */
2016-04-01 16:15:07 +02:00
@ media only screen and ( max - width : 570 px )
{
2017-09-04 09:25:53 +02:00
body {
2019-11-20 14:40:52 +01:00
font - size : < ? php print is_numeric ( $fontsize ) ? ( $fontsize ) . 'px' : $fontsize ; ?> ;
2017-09-04 09:25:53 +02:00
}
2020-10-27 12:49:14 +01:00
2017-11-24 14:23:25 +01:00
div . refidno {
2019-11-20 14:40:52 +01:00
font - size : < ? php print is_numeric ( $fontsize ) ? ( $fontsize ) . 'px' : $fontsize ; ?> !important;
2017-11-24 14:23:25 +01:00
}
2017-09-04 09:25:53 +02:00
2019-10-11 11:27:05 +02:00
. login_vertical_align {
2021-02-26 13:31:09 +01:00
padding - left : 0 ;
}
. login_table input #username, .login_table input#password, .login_table input#securitycode {
2021-01-18 11:05:02 +01:00
margin - left : 5 px ! important ;
2021-02-26 13:31:09 +01:00
}
2020-10-27 12:49:14 +01:00
div #login_left, div#login_right {
2021-02-26 13:31:09 +01:00
min - width : 150 px ! important ;
padding - left : 5 px ! important ;
padding - right : 5 px ! important ;
}
. login_table div #login_right .tdinputlogin, .login_table div#login_right .tdinputlogin input {
min - width : 150 px ! important ;
}
2019-10-11 11:27:05 +02:00
2017-06-09 17:29:34 +02:00
. divmainbodylarge { margin - left : 20 px ; margin - right : 20 px ; }
2021-02-26 13:31:09 +01:00
. tdoverflowonsmartphone {
max - width : 0 ;
overflow : hidden ;
text - overflow : ellipsis ;
white - space : nowrap ;
}
. tdoverflowmax100onsmartphone { /* For tdoverflow, the max-midth become a minimum ! */
max - width : 100 px ;
overflow : hidden ;
text - overflow : ellipsis ;
white - space : nowrap ;
2020-05-17 16:10:29 +02:00
}
2021-02-26 13:31:09 +01:00
. tdoverflowmax150onsmartphone { /* For tdoverflow, the max-midth become a minimum ! */
max - width : 100 px ;
overflow : hidden ;
text - overflow : ellipsis ;
white - space : nowrap ;
2020-05-17 16:10:29 +02:00
}
2017-02-23 01:29:35 +01:00
div . fiche {
2021-02-26 13:31:09 +01:00
margin - top : < ? php print ( $dol_hide_topmenu ? '12' : '6' ); ?> px !important;
}
. border tbody tr , . border tbody tr td , div . tabBar table . border tr , div . tabBar table . border tr td , div . tabBar div . border . table - border - row , div . tabBar div . border . table - key - border - col , div . tabBar div . border . table - val - border - col {
height : 40 px ! important ;
2017-02-23 01:29:35 +01:00
}
2017-01-23 13:36:14 +01:00
2021-02-26 13:31:09 +01:00
. quatrevingtpercent , . inputsearch {
width : 95 % ;
}
2017-01-23 13:36:14 +01:00
2018-03-21 10:53:15 +01:00
select {
padding - top : 4 px ;
padding - bottom : 5 px ;
}
2019-03-03 21:05:33 +01:00
2019-11-20 14:40:52 +01:00
. login_table . tdinputlogin {
min - width : unset ! important ;
}
2017-01-23 13:36:14 +01:00
input , input [ type = text ], input [ type = password ], select , textarea {
min - width : 20 px ;
2021-02-26 13:31:09 +01:00
min - height : 1.4 em ;
line - height : 1.4 em ;
}
. noenlargeonsmartphone { width : 50 px ! important ; display : inline ! important ; }
. maxwidthonsmartphone , #search_newcompany.ui-autocomplete-input { max-width: 100px; }
. maxwidth50onsmartphone { max - width : 40 px ; }
. maxwidth75onsmartphone { max - width : 50 px ; }
. maxwidth100onsmartphone { max - width : 70 px ; }
. maxwidth150onsmartphone { max - width : 120 px ; }
. maxwidth150onsmartphoneimp { max - width : 120 px ! important ; }
. maxwidth200onsmartphone { max - width : 200 px ; }
. maxwidth250onsmartphone { max - width : 250 px ; }
. maxwidth300onsmartphone { max - width : 300 px ; }
. maxwidth400onsmartphone { max - width : 400 px ; }
2016-07-31 18:28:59 +02:00
. minwidth50imp { min - width : 50 px ! important ; }
2019-12-16 12:38:51 +01:00
. minwidth75imp { min - width : 75 px ! important ; }
2021-02-26 13:31:09 +01:00
. minwidth100imp { min - width : 100 px ! important ; }
. minwidth150imp { min - width : 110 px ! important ; }
. minwidth200imp { min - width : 110 px ! important ; }
. minwidth250imp { min - width : 115 px ! important ; }
. minwidth300imp { min - width : 120 px ! important ; }
. minwidth400imp { min - width : 150 px ! important ; }
. minwidth500imp { min - width : 250 px ! important ; }
. titlefield { width : auto ; }
. titlefieldcreate { width : auto ; }
2017-01-23 13:36:14 +01:00
2016-11-10 11:33:25 +01:00
#tooltip {
position : absolute ;
2019-01-27 11:55:16 +01:00
width : < ? php print dol_size ( 300 , 'width' ); ?> px;
2016-11-10 11:33:25 +01:00
}
2017-01-23 13:36:14 +01:00
2016-11-11 23:17:37 +01:00
/* intput, input[type=text], */
2016-11-10 11:33:25 +01:00
select {
width : 98 % ;
min - width : 40 px ;
}
2017-01-23 13:36:14 +01:00
2016-11-10 11:33:25 +01:00
div . divphotoref {
2019-11-20 14:40:52 +01:00
padding -< ? php echo $right ; ?> : 5px;
2021-02-26 13:31:09 +01:00
padding - bottom : 5 px ;
}
img . photoref , div . photoref {
border : none ;
- webkit - box - shadow : none ;
box - shadow : none ;
padding : 4 px ;
height : 20 px ;
width : 20 px ;
object - fit : contain ;
2016-11-10 11:33:25 +01:00
}
2017-06-02 09:25:35 +02:00
2017-02-23 01:29:35 +01:00
div . statusref {
2021-02-26 13:31:09 +01:00
padding - right : 10 px ;
}
2017-11-18 01:34:20 +01:00
div . statusref img {
2021-02-26 13:31:09 +01:00
padding - right : 3 px ! important ;
}
2018-01-22 03:07:11 +01:00
div . statusrefbis {
2021-02-26 13:31:09 +01:00
padding - right : 3 px ! important ;
}
2018-01-08 13:21:04 +01:00
2021-02-26 13:31:09 +01:00
input . buttonpayment {
2018-01-08 13:21:04 +01:00
min - width : 300 px ;
2021-02-26 13:31:09 +01:00
}
2016-04-01 16:15:07 +02:00
}
2015-03-22 18:09:22 +01:00
. linkobject { cursor : pointer ; }
2019-09-13 01:38:41 +02:00
2020-12-17 11:57:12 +01:00
table . tableforfield tr > td : first - of - type , tr . trforfield > td : first - of - type , div . tableforfield div . tagtr > div . tagtd : first - of - type {
2019-09-13 01:38:41 +02:00
color : #666;
}
2019-01-27 11:55:16 +01:00
< ? php if ( GETPOST ( 'optioncss' , 'aZ09' ) == 'print' ) { ?>
2021-06-20 12:52:04 +02:00
. hideonprint { display : none ! important ; }
2015-03-22 18:09:22 +01:00
< ? php } ?>
2019-09-13 01:38:41 +02:00
2015-03-22 18:09:22 +01:00
/* ============================================================================== */
/* Styles for dragging lines */
/* ============================================================================== */
. dragClass {
color : #002255;
}
td . showDragHandle {
cursor : move ;
}
. tdlineupdown {
white - space : nowrap ;
min - width : 10 px ;
}
/* ============================================================================== */
/* Styles de positionnement des zones */
/* ============================================================================== */
#id-container {
margin - top : 0 px ;
margin - bottom : 0 px ;
display : table ;
table - layout : fixed ;
2015-09-21 17:28:11 +02:00
width : 100 % ;
2015-03-22 18:09:22 +01:00
}
#id-right, #id-left {
display : table - cell ;
float : none ;
vertical - align : top ;
}
2015-03-24 22:24:15 +01:00
#id-top {
}
2015-03-22 18:09:22 +01:00
#id-left {
min - height : 100 % ;
position : relative ;
2015-12-04 23:25:17 +01:00
width : 213 px ;
2021-03-26 17:58:00 +01:00
padding - top : 20 px ;
2015-03-22 18:09:22 +01:00
}
2015-03-24 22:24:15 +01:00
#id-right { /* This must stay id-right and not be replaced with echo $right */
2015-03-22 18:09:22 +01:00
width : 100 % ;
2015-12-05 17:49:08 +01:00
padding - bottom : 10 px ;
2019-01-27 11:55:16 +01:00
< ? php if ( GETPOST ( 'optioncss' , 'aZ09' ) != 'print' ) { ?>
2015-12-05 17:49:08 +01:00
padding - left : 229 px ;
2021-03-12 15:34:31 +01:00
padding - top : 16 px ;
2017-01-23 13:36:14 +01:00
< ? php } ?>
2015-03-22 18:09:22 +01:00
}
2020-09-22 09:42:44 +02:00
/* DOL_XXX For having horizontal scroll into array (like with smartphone) */
. classforhorizontalscrolloftabs #id-container {
width : 100 % ;
}
. classforhorizontalscrolloftabs . side - nav {
display : block ;
float : left ;
}
. classforhorizontalscrolloftabs #id-right {
width : calc ( 100 % - 210 px );
display : inline - block ;
}
2015-03-22 18:09:22 +01:00
. side - nav {
2019-01-27 11:55:16 +01:00
< ? php if ( GETPOST ( 'optioncss' , 'aZ09' ) == 'print' ) { ?>
2015-10-26 16:42:31 +01:00
display : none ;
< ? php } else { ?>
2017-12-10 15:24:47 +01:00
background : rgb ( < ? php echo $colorbackvmenu1 ; ?> );
2015-09-22 01:25:06 +02:00
border - right : 1 px solid rgba ( 0 , 0 , 0 , 0.2 );
2017-01-07 14:17:35 +01:00
box - shadow : 3 px 0 6 px - 2 px #eee;
2015-03-22 18:09:22 +01:00
bottom : 0 ;
color : #333;
display : block ;
font - family : " RobotoDraft " , " Roboto " , sans - serif ;
left : 0 ;
2019-10-26 21:11:36 +02:00
< ? php
2019-11-08 15:51:54 +01:00
if ( in_array ( $conf -> browser -> layout , array ( 'phone' , 'tablet' )) && empty ( $conf -> global -> MAIN_OPTIMIZEFORTEXTBROWSER )) {
2019-10-26 21:11:36 +02:00
} else { ?>
2015-03-22 18:09:22 +01:00
position : fixed ;
top : 50 px ;
2019-10-26 21:11:36 +02:00
< ? php } ?>
2017-05-24 13:45:26 +02:00
z - index : 90 ;
2015-03-22 18:09:22 +01:00
- webkit - transform : translateZ ( 0 );
- moz - transform : translateZ ( 0 );
- ms - transform : translateZ ( 0 );
- o - transform : translateZ ( 0 );
transform : translateZ ( 0 );
- webkit - transform - style : preserve - 3 d ;
- moz - transform - style : preserve - 3 d ;
- ms - transform - style : preserve - 3 d ;
- o - transform - style : preserve - 3 d ;
transform - style : preserve - 3 d ;
- webkit - transition - delay : 0.1 s ;
- moz - transition - delay : 0.1 s ;
transition - delay : 0.1 s ;
- webkit - transition - duration : 0.2 s ;
- moz - transition - duration : 0.2 s ;
transition - duration : 0.2 s ;
- webkit - transition - property : - webkit - transform ;
- moz - transition - property : - moz - transform ;
transition - property : transform ;
- webkit - transition - timing - function : cubic - bezier ( 0.4 , 0 , 0.2 , 1 );
- moz - transition - timing - function : cubic - bezier ( 0.4 , 0 , 0.2 , 1 );
transition - timing - function : cubic - bezier ( 0.4 , 0 , 0.2 , 1 );
- webkit - overflow - scrolling : touch ;
2019-10-26 21:11:36 +02:00
< ? php
2019-11-08 15:51:54 +01:00
if ( in_array ( $conf -> browser -> layout , array ( 'phone' , 'tablet' )) && empty ( $conf -> global -> MAIN_OPTIMIZEFORTEXTBROWSER )) {
2019-10-26 21:11:36 +02:00
} else { ?>
2015-03-22 18:09:22 +01:00
overflow - x : hidden ;
overflow - y : auto ;
2019-10-26 21:11:36 +02:00
< ? php }
}
?>
2015-03-22 18:09:22 +01:00
}
2019-03-08 14:06:37 +01:00
2020-09-22 09:42:44 +02:00
/**
* Slide animation
*/
2019-03-08 14:06:37 +01:00
. side - nav - vert , #id-right {
transition : padding - left 0.5 s ease , margin - left 0.5 s ease ;
}
. side - nav , . login_block {
transition : left 0.5 s ease ;
}
body . sidebar - collapse . side - nav - vert , body . sidebar - collapse #id-right {
margin - left : 0 ; padding - left : 0
}
2015-03-24 22:24:15 +01:00
. side - nav - vert {
2015-12-04 23:25:17 +01:00
margin - left : 228 px ;
2015-03-24 22:24:15 +01:00
}
2020-03-03 16:09:33 +01:00
/* body.sidebar-collapse .side-nav, body.sidebar-collapse .login_block_other, body.sidebar-collapse #topmenu-login-dropdown */
body . sidebar - collapse . side - nav , body . sidebar - collapse . login_block
{
2020-02-29 14:17:06 +01:00
display : none ;
2019-03-08 14:06:37 +01:00
}
2018-10-18 17:33:14 +02:00
< ? php if ( empty ( $conf -> global -> THEME_DISABLE_STICKY_TOPMENU )) { ?>
. side - nav - vert {
position : sticky ;
top : 0 px ;
2020-03-17 02:30:19 +01:00
z - index : 1001 ;
2018-10-18 17:33:14 +02:00
}
< ? php } ?>
2015-03-22 18:09:22 +01:00
2021-03-26 17:58:00 +01:00
2016-06-19 16:07:34 +02:00
/* For smartphone (testmenuhider is on) */
2019-11-08 15:51:54 +01:00
< ? php if ( in_array ( $conf -> browser -> layout , array ( 'phone' , 'tablet' )) && empty ( $conf -> global -> MAIN_OPTIMIZEFORTEXTBROWSER )) { ?>
2016-06-12 20:23:25 +02:00
#id-container {
width : 100 % ;
}
. side - nav - vert {
margin - left : 0 ;
}
div . login_block {
2016-07-14 15:22:04 +02:00
/* border-right: none ! important; */
2016-06-12 20:23:25 +02:00
top : inherit ! important ;
}
2019-03-12 14:00:26 +01:00
2016-06-12 20:23:25 +02:00
. side - nav {
2019-10-26 21:11:36 +02:00
< ? php
2019-11-08 15:51:54 +01:00
if ( in_array ( $conf -> browser -> layout , array ( 'phone' , 'tablet' )) && empty ( $conf -> global -> MAIN_OPTIMIZEFORTEXTBROWSER )) {
2019-10-26 21:11:36 +02:00
} else { ?>
2016-06-12 20:23:25 +02:00
overflow - x : initial ! important ;
overflow - y : scroll ;
2019-10-26 21:11:36 +02:00
< ? php } ?>
2019-03-08 14:06:37 +01:00
display : block ;
2016-06-22 15:09:27 +02:00
2019-03-08 14:06:37 +01:00
position : relative ;
2016-06-12 20:23:25 +02:00
}
2017-10-28 11:00:02 +02:00
2019-03-07 17:05:27 +01:00
2017-10-28 11:00:02 +02:00
div . backgroundsemitransparent {
background : rgba ( 255 , 255 , 255 , 0.6 );
2017-11-16 18:33:56 +01:00
padding - left : 10 px ;
padding - right : 10 px ;
2017-10-28 11:00:02 +02:00
}
2018-10-13 14:16:42 +02:00
2018-10-13 14:22:26 +02:00
/* Login */
2016-06-12 20:23:25 +02:00
div . login_block {
/* position: initial !important;*/
2019-03-08 14:06:37 +01:00
/*display: none;*/
2016-06-12 20:23:25 +02:00
}
2018-03-29 11:34:01 +02:00
. login_block_getinfo {
text - align : center ;
}
. login_block_getinfo div . login_block_user {
display : block ;
}
. login_block_getinfo . atoplogin , . login_block_getinfo . atoplogin : hover {
color : #333 !important;
}
2019-03-19 14:22:57 +01:00
. login_block_elem a span . atoplogin , . login_block_elem span . atoplogin {
2021-02-26 13:31:09 +01:00
vertical - align : middle ;
2019-03-19 14:22:57 +01:00
}
2018-10-13 14:16:42 +02:00
2016-06-12 20:23:25 +02:00
#id-right {
padding - left : 0 ! important ;
}
#id-left {
2017-05-24 13:45:26 +02:00
z - index : 91 ;
2017-12-10 15:24:47 +01:00
background : rgb ( < ? php echo $colorbackvmenu1 ; ?> );
2016-07-14 15:22:04 +02:00
border - right : 1 px solid rgba ( 0 , 0 , 0 , 0.3 );
2021-03-26 17:58:00 +01:00
padding - top : 20 px ;
2019-10-26 21:11:36 +02:00
< ? php
2019-11-08 15:51:54 +01:00
if ( in_array ( $conf -> browser -> layout , array ( 'phone' , 'tablet' )) && empty ( $conf -> global -> MAIN_OPTIMIZEFORTEXTBROWSER )) { ?>
2016-06-22 15:09:27 +02:00
top : 50 px ! important ;
2019-10-26 21:11:36 +02:00
< ? php } else { ?>
2016-06-12 20:23:25 +02:00
top : 60 px ! important ;
2019-10-26 21:11:36 +02:00
< ? php } ?>
2016-06-12 20:23:25 +02:00
}
2016-06-19 16:07:34 +02:00
div . fiche {
margin -< ? php print $left ; ?> : 6px !important;
margin -< ? php print $right ; ?> : 6px !important;
}
2016-06-12 20:23:25 +02:00
< ? php } ?>
2015-03-22 18:09:22 +01:00
div . fiche {
2021-03-12 15:34:31 +01:00
margin -< ? php print $left ; ?> : <?php print (GETPOST('optioncss', 'aZ09') == 'print' ? 6 : (empty($conf->dol_optimize_smallscreen) ? '30' : '6')); ?>px;
margin -< ? php print $right ; ?> : <?php print (GETPOST('optioncss', 'aZ09') == 'print' ? 6 : (empty($conf->dol_optimize_smallscreen) ? '28' : '6')); ?>px;
2021-02-26 13:31:09 +01:00
< ? php if ( ! empty ( $dol_hide_leftmenu ) && ! empty ( $dol_hide_topmenu )) {
print 'margin-top: 12px;' ;
} ?>
2015-11-15 19:29:18 +01:00
margin - bottom : 15 px ;
2015-03-22 18:09:22 +01:00
}
2017-09-20 19:34:14 +02:00
body . onlinepaymentbody div . fiche { /* For online payment page */
margin : 20 px ! important ;
}
2019-11-20 14:40:52 +01:00
div . fiche > table : first - child {
margin - bottom : 15 px ! important ;
}
2015-03-22 18:09:22 +01:00
div . fichecenter {
width : 100 % ;
clear : both ; /* This is to have div fichecenter that are true rectangles */
}
2016-01-18 11:48:02 +01:00
div . fichecenterbis {
margin - top : 8 px ;
}
2015-03-22 18:09:22 +01:00
div . fichethirdleft {
2021-02-26 13:31:09 +01:00
< ? php if ( $conf -> browser -> layout != 'phone' ) {
print " float: " . $left . " ; \n " ;
} ?>
< ? php if ( $conf -> browser -> layout != 'phone' ) {
print " width: 50%; \n " ;
} ?>
< ? php if ( $conf -> browser -> layout == 'phone' ) {
print " padding-bottom: 6px; \n " ;
} ?>
2015-03-22 18:09:22 +01:00
}
div . fichetwothirdright {
2021-02-26 13:31:09 +01:00
< ? php if ( $conf -> browser -> layout != 'phone' ) {
print " float: " . $right . " ; \n " ;
} ?>
< ? php if ( $conf -> browser -> layout != 'phone' ) {
print " width: 50%; \n " ;
} ?>
< ? php if ( $conf -> browser -> layout == 'phone' ) {
print " padding-bottom: 6px \n " ;
} ?>
2015-03-22 18:09:22 +01:00
}
2019-05-22 11:48:31 +02:00
div . fichetwothirdright div . ficheaddleft {
2021-02-26 13:31:09 +01:00
padding - left : 20 px ;
2019-05-22 11:48:31 +02:00
}
2015-03-22 18:09:22 +01:00
div . fichehalfleft {
2021-02-26 13:31:09 +01:00
< ? php if ( $conf -> browser -> layout != 'phone' ) {
print " float: " . $left . " ; \n " ;
} ?>
< ? php if ( $conf -> browser -> layout != 'phone' ) {
print " width: calc(50% - 10px); \n " ;
} ?>
2015-03-22 18:09:22 +01:00
}
div . fichehalfright {
2021-02-26 13:31:09 +01:00
< ? php if ( $conf -> browser -> layout != 'phone' ) {
print " float: " . $right . " ; \n " ;
} ?>
< ? php if ( $conf -> browser -> layout != 'phone' ) {
print " width: calc(50% - 10px); \n " ;
} ?>
2015-03-22 18:09:22 +01:00
}
2019-05-19 13:01:11 +02:00
div . fichehalfright {
2021-02-26 13:31:09 +01:00
< ? php if ( $conf -> browser -> layout == 'phone' ) {
print " margin-top: 10px; \n " ;
} ?>
2015-03-22 18:09:22 +01:00
}
2021-03-10 16:41:48 +01:00
/* div . firstcolumn div . box {
2018-02-08 15:11:05 +01:00
padding - right : 10 px ;
}
div . secondcolumn div . box {
padding - left : 10 px ;
2021-03-10 16:41:48 +01:00
} */
2016-09-17 21:03:20 +02:00
/* Force values on one colum for small screen */
2016-04-07 13:06:22 +02:00
@ media only screen and ( max - width : 900 px )
2016-02-19 15:28:43 +01:00
{
2021-02-26 13:31:09 +01:00
div . fiche {
margin -< ? php print $left ; ?> : <?php print (GETPOST('optioncss', 'aZ09') == 'print' ? 6 : ($dol_hide_leftmenu ? '4' : '20')); ?>px;
margin -< ? php print $right ; ?> : <?php print (GETPOST('optioncss', 'aZ09') == 'print' ? 8 : 16); ?>px;
< ? php if ( ! empty ( $conf -> dol_hide_leftmenu ) && ! empty ( $conf -> dol_hide_topmenu )) {
print 'margin-top: 4px;' ;
} ?>
margin - bottom : 15 px ;
}
div . fichecenter {
width : 100 % ;
clear : both ; /* This is to have div fichecenter that are true rectangles */
}
div . fichecenterbis {
margin - top : 8 px ;
}
div . fichethirdleft {
float : none ;
width : auto ;
padding - bottom : 6 px ;
}
div . fichetwothirdright {
float : none ;
width : auto ;
padding - bottom : 6 px ;
}
div . fichetwothirdright div . ficheaddleft {
padding - left : 0 ;
2019-05-22 11:48:31 +02:00
}
2021-02-26 13:31:09 +01:00
div . fichehalfleft {
float : none ;
width : auto ;
}
div . fichehalfright {
float : none ;
width : auto ;
}
div . fichehalfright {
margin - top : 10 px ;
}
div . firstcolumn div . box {
2018-02-08 15:11:05 +01:00
padding - right : 0 px ;
}
div . secondcolumn div . box {
padding - left : 0 px ;
}
2016-02-19 15:28:43 +01:00
}
2016-06-06 21:26:31 +02:00
/* For table into table into card */
2019-11-20 14:40:52 +01:00
div . fichehalfright tr . liste_titre : first - child td table . nobordernopadding td {
2021-02-26 13:31:09 +01:00
padding : 0 0 0 0 ;
2016-06-06 21:26:31 +02:00
}
2016-07-28 19:02:23 +02:00
div . nopadding {
padding : 0 ! important ;
}
2016-06-06 21:26:31 +02:00
2015-03-22 18:09:22 +01:00
. containercenter {
2015-09-26 07:59:06 +02:00
display : table ;
margin : 0 px auto ;
2015-03-22 18:09:22 +01:00
}
2021-04-29 15:49:44 +02:00
td . nobordernopadding . widthpictotitle . col - picto {
opacity : 0.9 ;
}
2018-09-20 19:14:32 +02:00
. pictotitle {
2016-06-20 00:11:59 +02:00
margin -< ? php echo $right ; ?> : 8px;
2015-05-03 21:15:08 +02:00
margin - bottom : 4 px ;
}
2017-06-09 11:31:08 +02:00
. pictoobjectwidth {
width : 14 px ;
}
2020-04-13 13:03:08 +02:00
. table - list - of - attached - files . col - picto , . table - list - of - links . col - picto {
2021-02-26 13:31:09 +01:00
opacity : 0.7 ! important ;
font - size : 1 em ;
width : 20 px ;
2020-04-13 13:03:08 +02:00
}
. table - list - of - attached - files . col - picto . widthpictotitle , . table - list - of - links . col - picto . widthpictotitle {
width : unset ;
2021-02-26 13:31:09 +01:00
color : #999;
2020-04-13 13:03:08 +02:00
}
2015-05-21 01:32:56 +02:00
. pictosubstatus {
2021-02-26 13:31:09 +01:00
padding - left : 2 px ;
padding - right : 2 px ;
2015-05-21 01:32:56 +02:00
}
2016-10-25 12:36:14 +02:00
. pictostatus {
width : 15 px ;
vertical - align : middle ;
margin - top : - 3 px
}
2020-12-12 13:58:21 +01:00
. pictowarning , . pictoerror , . pictopreview {
2021-02-26 13:31:09 +01:00
padding -< ? php echo $left ; ?> : 3px;
2015-09-22 01:25:06 +02:00
}
2018-03-14 20:08:44 +01:00
. pictowarning {
2021-02-26 13:31:09 +01:00
/* vertical-align: text-bottom; */
color : < ? php echo $badgeWarning ; ?> ;
2017-03-28 18:42:23 +02:00
}
2019-12-23 12:24:27 +01:00
. pictoerror {
2021-02-26 13:31:09 +01:00
color : < ? php echo $badgeDanger ?> ;
2019-12-23 12:24:27 +01:00
}
2019-08-28 19:28:50 +02:00
. pictomodule {
width : 14 px ;
}
2018-03-17 13:21:27 +01:00
. fiche . arearef img . pictoedit , . fiche . arearef span . pictoedit ,
2018-03-23 19:35:25 +01:00
. fiche . fichecenter img . pictoedit , . fiche . fichecenter span . pictoedit ,
. tagtdnote span . pictoedit {
2021-02-26 13:31:09 +01:00
opacity : 0.6 ;
2018-03-14 20:08:44 +01:00
}
2017-05-05 23:06:46 +02:00
img . hideonsmartphone . pictoactionview {
2021-02-26 13:31:09 +01:00
vertical - align : bottom ;
2017-05-05 23:06:46 +02:00
}
2021-02-27 12:45:07 +01:00
2021-02-04 20:29:57 +01:00
. pictofixedwidth {
2021-02-26 13:31:09 +01:00
text - align : left ;
2021-02-27 12:45:07 +01:00
width : 20 px ;
padding - right : 0 ;
2021-02-04 20:29:57 +01:00
}
2015-09-22 01:25:06 +02:00
. colorthumb {
padding - left : 1 px ! important ;
padding - right : 1 px ;
padding - top : 1 px ;
padding - bottom : 1 px ;
2021-03-14 19:57:15 +01:00
width : 50 px ;
2017-05-19 12:58:38 +02:00
text - align : center ;
2015-09-22 01:25:06 +02:00
}
div . attacharea {
2017-03-23 16:10:38 +01:00
padding - top : 18 px ;
2015-09-22 01:25:06 +02:00
padding - bottom : 10 px ;
}
2017-08-20 21:23:19 +02:00
div . attachareaformuserfileecm {
padding - top : 0 ;
padding - bottom : 0 ;
}
2015-10-10 02:16:49 +02:00
div . arearef {
padding - top : 2 px ;
padding - bottom : 5 px ;
margin - bottom : 10 px ;
}
2016-12-23 13:04:46 +01:00
div . arearefnobottom {
padding - top : 2 px ;
padding - bottom : 4 px ;
}
2015-10-10 02:16:49 +02:00
div . heightref {
2017-01-23 13:36:14 +01:00
min - height : 80 px ;
2015-10-10 02:16:49 +02:00
}
div . divphotoref {
2019-11-20 14:40:52 +01:00
padding -< ? php echo $right ; ?> : 20px;
2015-10-10 02:16:49 +02:00
}
2017-09-30 00:30:58 +02:00
div . paginationref {
padding - bottom : 10 px ;
}
2015-10-10 02:16:49 +02:00
div . statusref {
float : right ;
2016-10-25 12:36:14 +02:00
padding - left : 12 px ;
2015-10-30 20:04:03 +01:00
margin - top : 8 px ;
2015-10-10 02:16:49 +02:00
margin - bottom : 10 px ;
2015-12-21 17:34:21 +01:00
clear : both ;
2015-10-10 02:16:49 +02:00
}
2017-03-31 14:21:51 +02:00
div . statusref img {
2021-02-26 13:31:09 +01:00
padding - left : 8 px ;
padding - right : 9 px ;
vertical - align : text - bottom ;
width : 18 px ;
2017-03-31 14:21:51 +02:00
}
2018-01-22 03:07:11 +01:00
div . statusrefbis {
2021-02-26 13:31:09 +01:00
padding - left : 8 px ;
padding - right : 9 px ;
vertical - align : text - bottom ;
2018-01-22 03:07:11 +01:00
}
2016-10-25 12:36:14 +02:00
img . photoref , div . photoref {
2015-10-10 02:16:49 +02:00
border : 1 px solid #CCC;
2021-02-26 13:31:09 +01:00
- webkit - box - shadow : 3 px 3 px 4 px #DDD;
box - shadow : 3 px 3 px 4 px #DDD;
padding : 4 px ;
2016-10-25 12:36:14 +02:00
height : 80 px ;
width : 80 px ;
2021-02-26 13:31:09 +01:00
object - fit : contain ;
2015-10-10 02:16:49 +02:00
}
2020-12-15 03:55:46 +01:00
div . photoref . fa , div . photoref . fas , div . photoref . far {
2021-02-26 13:31:09 +01:00
font - size : 2.5 em ;
2020-12-15 03:55:46 +01:00
}
2016-11-27 14:21:23 +01:00
img . fitcontain {
2021-02-26 13:31:09 +01:00
object - fit : contain ;
2016-11-27 14:21:23 +01:00
}
2016-10-25 12:36:14 +02:00
div . photoref {
display : table - cell ;
vertical - align : middle ;
text - align : center ;
}
2016-08-06 00:04:24 +02:00
img . photorefnoborder {
2021-02-26 13:31:09 +01:00
padding : 2 px ;
2016-08-06 00:04:24 +02:00
height : 48 px ;
width : 48 px ;
2021-02-26 13:31:09 +01:00
object - fit : contain ;
border : 1 px solid #AAA;
border - radius : 100 px ;
2016-08-06 00:04:24 +02:00
}
2015-10-10 02:16:49 +02:00
. underrefbanner {
2015-11-21 20:00:38 +01:00
}
. underbanner {
2019-11-20 14:40:52 +01:00
border - bottom : < ? php echo $borderwidth ?> px solid rgb(<?php echo $colortopbordertitle1 ?>);
2015-10-10 02:16:49 +02:00
}
2019-07-04 13:26:20 +02:00
2020-05-13 13:29:50 +02:00
. trextrafieldseparator td , . trextrafields_collapse_last td {
2021-02-26 13:31:09 +01:00
border - bottom : 1 px solid rgb ( < ? php echo $colortopbordertitle1 ?> ) !important;
2019-07-04 13:26:20 +02:00
}
2017-03-03 14:00:38 +01:00
. tdhrthin {
margin : 0 ;
padding - bottom : 0 ! important ;
}
2019-04-24 20:58:27 +02:00
/* Payment Screen : Pointer cursor in the autofill image */
. AutoFillAmount {
cursor : pointer ;
}
2015-10-10 02:16:49 +02:00
2015-05-03 21:15:08 +02:00
2015-03-22 18:09:22 +01:00
/* ============================================================================== */
/* Menu top et 1ere ligne tableau */
/* ============================================================================== */
< ? php
2019-11-08 15:51:54 +01:00
$minwidthtmenu = 66 ; /* minimum width for one top menu entry */
$heightmenu = 48 ; /* height of top menu, part with image */
$heightmenu2 = 48 ; /* height of top menu, ârt with login */
2015-09-22 01:25:06 +02:00
$disableimages = 0 ;
$maxwidthloginblock = 110 ;
2021-02-26 13:31:09 +01:00
if ( ! empty ( $conf -> global -> THEME_TOPMENU_DISABLE_IMAGE )) {
$heightmenu = 30 ; $disableimages = 1 ; $maxwidthloginblock = 180 ; $minwidthtmenu = 0 ;
}
2015-03-22 18:09:22 +01:00
?>
div #tmenu_tooltip {
2019-01-27 11:55:16 +01:00
< ? php if ( GETPOST ( 'optioncss' , 'aZ09' ) == 'print' ) { ?>
2015-03-22 18:09:22 +01:00
display : none ;
< ? php } else { ?>
2015-09-22 01:25:06 +02:00
background : rgb ( < ? php echo $colorbackhmenu1 ?> );
2015-09-22 16:21:46 +02:00
/*
2018-10-21 09:59:14 +02:00
background - image : linear - gradient ( to top , rgba ( 255 , 255 , 255 , . 3 ) 0 % , rgba ( 128 , 128 , 128 , . 3 ) 100 % );
2015-03-22 18:09:22 +01:00
background - image : - o - linear - gradient ( top , rgba ( 255 , 255 , 255 , . 3 ) 0 % , rgba ( 128 , 128 , 128 , . 3 ) 100 % );
background - image : - moz - linear - gradient ( top , rgba ( 255 , 255 , 255 , . 3 ) 0 % , rgba ( 128 , 128 , 128 , . 3 ) 100 % );
background - image : - webkit - linear - gradient ( top , rgba ( 255 , 255 , 255 , . 3 ) 0 % , rgba ( 128 , 128 , 128 , . 3 ) 100 % );
background - image : - ms - linear - gradient ( top , rgba ( 255 , 255 , 255 , . 3 ) 0 % , rgba ( 128 , 128 , 128 , . 3 ) 100 % );
background - image : - webkit - gradient ( linear , left top , left bottom , color - stop ( 0 , rgba ( 255 , 255 , 255 , . 3 )), color - stop ( 1 , rgba ( 128 , 128 , 128 , . 3 )) );
2015-09-22 16:21:46 +02:00
*/
2015-03-22 18:09:22 +01:00
< ? php } ?>
}
2015-09-22 01:25:06 +02:00
div #tmenu_tooltip {
2019-01-27 11:55:16 +01:00
< ? php if ( GETPOST ( 'optioncss' , 'aZ09' ) == 'print' ) { ?>
2015-09-22 01:25:06 +02:00
display : none ;
< ? php } else { ?>
2015-10-24 13:16:59 +02:00
/* padding-<?php echo $right; ?>: <?php echo ($maxwidthloginblock - 10); ?>px; */
2015-09-22 01:25:06 +02:00
< ? php } ?>
}
2016-05-19 13:25:16 +02:00
div . tmenusep {
< ? php if ( $disableimages ) { ?>
display : none ;
2016-05-19 19:11:31 +02:00
< ? php } ?>
2016-05-19 13:25:16 +02:00
}
2015-03-22 18:09:22 +01:00
div . tmenudiv {
2019-01-27 11:55:16 +01:00
< ? php if ( GETPOST ( 'optioncss' , 'aZ09' ) == 'print' ) { ?>
2015-03-22 18:09:22 +01:00
display : none ;
< ? php } else { ?>
2021-02-26 13:31:09 +01:00
position : relative ;
display : block ;
white - space : nowrap ;
border - top : 0 px ;
border -< ? php print $left ; ?> : 0px;
border -< ? php print $right ; ?> : 0px;
padding : 0 px 0 px 0 px 0 px ; /* t r b l */
margin : 0 px 0 px 0 px 0 px ; /* t r b l */
2015-03-22 18:09:22 +01:00
font - size : 13 px ;
2021-02-26 13:31:09 +01:00
font - weight : normal ;
2015-03-22 18:09:22 +01:00
color : #000000;
2021-02-26 13:31:09 +01:00
text - decoration : none ;
2015-03-22 18:09:22 +01:00
< ? php } ?>
}
div . tmenudisabled , a . tmenudisabled {
opacity : 0.6 ;
}
a . tmenudisabled : link , a . tmenudisabled : visited , a . tmenudisabled : hover , a . tmenudisabled : active {
2021-02-26 13:31:09 +01:00
font - weight : normal ;
2015-03-22 18:09:22 +01:00
padding : 0 px 5 px 0 px 5 px ;
white - space : nowrap ;
color : #<?php echo $colortextbackhmenu; ?>;
text - decoration : none ;
cursor : not - allowed ;
}
a . tmenu : link , a . tmenu : visited , a . tmenu : hover , a . tmenu : active {
2021-02-26 13:31:09 +01:00
font - weight : normal ;
2015-03-22 18:09:22 +01:00
padding : 0 px 5 px 0 px 5 px ;
white - space : nowrap ;
/* text-shadow: 1px 1px 1px #000000; */
color : #<?php echo $colortextbackhmenu; ?>;
2021-02-26 13:31:09 +01:00
text - decoration : none ;
2015-03-22 18:09:22 +01:00
}
a . tmenusel : link , a . tmenusel : visited , a . tmenusel : hover , a . tmenusel : active {
font - weight : normal ;
padding : 0 px 5 px 0 px 5 px ;
margin : 0 px 0 px 0 px 0 px ;
white - space : nowrap ;
color : #<?php echo $colortextbackhmenu; ?>;
text - decoration : none ! important ;
}
ul . tmenu { /* t r b l */
2021-02-26 13:31:09 +01:00
padding : 0 px 0 px 0 px 0 px ;
margin : 0 px 0 px 0 px 0 px ;
2015-03-22 18:09:22 +01:00
list - style : none ;
2016-06-10 16:59:42 +02:00
display : table ;
2021-02-26 13:31:09 +01:00
margin - right : 65 px ; /* to keep space for bookmark */
padding - left : 5 px ;
2015-03-22 18:09:22 +01:00
}
ul . tmenu li {
background : rgb ( < ? php echo $colorbackhmenu1 ?> );
2016-03-12 18:22:44 +01:00
/*
2018-10-21 09:59:14 +02:00
background - image : linear - gradient ( to top , rgba ( 255 , 255 , 255 , . 3 ) 0 % , rgba ( 0 , 0 , 0 , . 3 ) 100 % );
2015-03-22 18:09:22 +01: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 )) );
2016-03-12 18:22:44 +01:00
*/
2015-03-22 18:09:22 +01:00
}
li . tmenu , li . tmenusel {
2019-11-08 15:51:54 +01:00
< ? php print $minwidthtmenu ? 'min-width: ' . $minwidthtmenu . 'px;' : '' ; ?>
2015-03-22 18:09:22 +01:00
text - align : center ;
vertical - align : bottom ;
< ? php if ( empty ( $conf -> global -> MAIN_MENU_INVERT )) { ?>
float : < ? php print $left ; ?> ;
2021-02-26 13:31:09 +01:00
< ? php if ( ! $disableimages ) { ?>
height : < ? php print $heightmenu ; ?> px;
2015-11-20 23:45:31 +01:00
padding : 0 px 0 px 2 px 0 px ;
2021-02-26 13:31:09 +01:00
< ? php } else { ?>
padding : 0 px 0 px 0 px 0 px ;
< ? php }
} ?>
2015-03-22 18:09:22 +01:00
position : relative ;
display : block ;
margin : 0 px 0 px 0 px 0 px ;
font - weight : normal ;
}
2018-04-15 17:37:49 +02:00
li . tmenu : hover {
2015-12-05 17:49:08 +01:00
opacity : . 50 ; /* show only a slight shadow */
}
2021-04-10 13:29:24 +02:00
li . tmenusel a . tmenusel {
2021-04-13 22:12:47 +02:00
text - decoration : underline ! important ;
2018-04-15 17:37:49 +02:00
}
2015-03-22 18:09:22 +01:00
. tmenuend . tmenuleft { width : 0 px ; }
2016-06-10 16:59:42 +02:00
. tmenuend { display : none ; }
2015-03-22 18:09:22 +01:00
div . tmenuleft
{
float : < ? php print $left ; ?> ;
margin - top : 0 px ;
< ? php if ( empty ( $conf -> dol_optimize_smallscreen )) { ?>
width : 5 px ;
2019-11-08 15:51:54 +01:00
< ? php if ( ! $disableimages ) { ?>
height : < ? php print $heightmenu + 4 ; ?> px;
2019-10-26 21:11:36 +02:00
< ? php } ?>
2015-03-22 18:09:22 +01:00
< ? php } ?>
}
div . tmenucenter
{
padding - left : 0 px ;
padding - right : 0 px ;
2016-05-19 13:25:16 +02:00
< ? php if ( $disableimages ) { ?>
padding - top : 10 px ;
height : 26 px ;
< ? php } else { ?>
padding - top : 2 px ;
2021-02-26 13:31:09 +01:00
height : < ? php print $heightmenu ; ?> px;
2016-05-19 13:25:16 +02:00
< ? php } ?>
2021-02-26 13:31:09 +01:00
width : 100 % ;
2015-03-22 18:09:22 +01:00
}
2015-09-22 01:25:06 +02:00
div . menu_titre {
padding - bottom : 2 px ;
2016-07-07 00:34:59 +02:00
overflow : hidden ;
2021-02-26 13:31:09 +01:00
text - overflow : ellipsis ;
2015-09-22 01:25:06 +02:00
}
2015-03-22 18:09:22 +01:00
. mainmenuaspan
{
2018-02-05 23:17:05 +01:00
padding -< ? php print $left ; ?> : 2px;
2017-01-21 16:12:25 +01:00
padding -< ? php print $right ; ?> : 2px;
2015-03-22 18:09:22 +01:00
}
div . mainmenu {
position : relative ;
background - repeat : no - repeat ;
background - position : center top ;
2019-11-08 15:51:54 +01:00
height : < ? php echo ( $heightmenu - 22 ); ?> px;
2015-03-22 18:09:22 +01:00
margin - left : 0 px ;
min - width : 40 px ;
}
2020-05-27 02:38:12 +02:00
a . tmenuimage : focus , . mainmenu . topmenuimage : focus {
2021-02-26 13:31:09 +01:00
outline : none ;
2020-05-27 02:38:12 +02:00
}
2015-03-22 18:09:22 +01:00
/* Do not load menu img if hidden to save bandwidth */
< ? php if ( empty ( $dol_hide_topmenu )) { ?>
2021-02-26 13:31:09 +01:00
< ? php if ( ! defined ( 'DISABLE_FONT_AWSOME' )) { ?>
< ? php include dol_buildpath ( $path . '/theme/' . $theme . '/main_menu_fa_icons.inc.php' , 0 ); ?>
< ? php } ?>
2015-03-22 18:09:22 +01:00
div . mainmenu . home {
2019-01-27 11:55:16 +01:00
background - image : url ( < ? php echo dol_buildpath ( $path . '/theme/' . $theme . '/img/menus/home.png' , 1 ) ?> );
2016-09-17 21:03:20 +02:00
background - position - x : center ;
2015-03-22 18:09:22 +01:00
}
2017-08-29 12:43:47 +02:00
div . mainmenu . billing {
2019-01-27 11:55:16 +01:00
background - image : url ( < ? php echo dol_buildpath ( $path . '/theme/' . $theme . '/img/menus/money.png' , 1 ) ?> );
2017-08-29 12:43:47 +02:00
}
2015-03-22 18:09:22 +01:00
div . mainmenu . accountancy {
2019-01-27 11:55:16 +01:00
background - image : url ( < ? php echo dol_buildpath ( $path . '/theme/' . $theme . '/img/menus/money.png' , 1 ) ?> );
2015-03-22 18:09:22 +01:00
}
div . mainmenu . agenda {
2019-01-27 11:55:16 +01:00
background - image : url ( < ? php echo dol_buildpath ( $path . '/theme/' . $theme . '/img/menus/agenda.png' , 1 ) ?> );
2015-03-22 18:09:22 +01:00
}
div . mainmenu . bank {
2021-02-26 13:31:09 +01:00
background - image : url ( < ? php echo dol_buildpath ( $path . '/theme/' . $theme . '/img/menus/bank.png' , 1 ) ?> );
2015-03-22 18:09:22 +01:00
}
div . mainmenu . cashdesk {
2019-01-27 11:55:16 +01:00
background - image : url ( < ? php echo dol_buildpath ( $path . '/theme/' . $theme . '/img/menus/pointofsale.png' , 1 ) ?> );
2015-03-22 18:09:22 +01:00
}
2018-09-28 13:31:41 +02:00
div . mainmenu . takepos {
2019-01-27 11:55:16 +01:00
background - image : url ( < ? php echo dol_buildpath ( $path . '/theme/' . $theme . '/img/menus/pointofsale.png' , 1 ) ?> );
2018-09-28 13:31:41 +02:00
}
2015-03-22 18:09:22 +01:00
div . mainmenu . companies {
2019-01-27 11:55:16 +01:00
background - image : url ( < ? php echo dol_buildpath ( $path . '/theme/' . $theme . '/img/menus/company.png' , 1 ) ?> );
2015-03-22 18:09:22 +01:00
}
div . mainmenu . commercial {
2019-01-27 11:55:16 +01:00
background - image : url ( < ? php echo dol_buildpath ( $path . '/theme/' . $theme . '/img/menus/commercial.png' , 1 ) ?> );
2015-03-22 18:09:22 +01:00
}
div . mainmenu . ecm {
2019-01-27 11:55:16 +01:00
background - image : url ( < ? php echo dol_buildpath ( $path . '/theme/' . $theme . '/img/menus/ecm.png' , 1 ) ?> );
2015-03-22 18:09:22 +01:00
}
div . mainmenu . externalsite {
2019-01-27 11:55:16 +01:00
background - image : url ( < ? php echo dol_buildpath ( $path . '/theme/' . $theme . '/img/menus/externalsite.png' , 1 ) ?> );
2015-03-22 18:09:22 +01:00
}
div . mainmenu . ftp {
2021-02-26 13:31:09 +01:00
background - image : url ( < ? php echo dol_buildpath ( $path . '/theme/' . $theme . '/img/menus/tools.png' , 1 ) ?> );
2015-03-22 18:09:22 +01:00
}
div . mainmenu . hrm {
2019-01-27 11:55:16 +01:00
background - image : url ( < ? php echo dol_buildpath ( $path . '/theme/' . $theme . '/img/menus/holiday.png' , 1 ) ?> );
2015-03-22 18:09:22 +01:00
}
div . mainmenu . members {
2019-01-27 11:55:16 +01:00
background - image : url ( < ? php echo dol_buildpath ( $path . '/theme/' . $theme . '/img/menus/members.png' , 1 ) ?> );
2015-03-22 18:09:22 +01:00
}
2016-05-22 19:32:08 +02:00
div . mainmenu . menu {
2019-01-27 11:55:16 +01:00
background - image : url ( < ? php echo dol_buildpath ( $path . '/theme/' . $theme . '/img/menus/menu.png' , 1 ) ?> );
2020-05-16 15:50:46 +02:00
top : 10 px ;
left : 1 px ;
2016-05-22 19:32:08 +02:00
}
2015-03-22 18:09:22 +01:00
div . mainmenu . products {
2019-01-27 11:55:16 +01:00
background - image : url ( < ? php echo dol_buildpath ( $path . '/theme/' . $theme . '/img/menus/products.png' , 1 ) ?> );
2015-03-22 18:09:22 +01:00
}
2019-03-06 14:18:58 +01:00
div . mainmenu . mrp {
background - image : url ( < ? php echo dol_buildpath ( $path . '/theme/' . $theme . '/img/menus/products.png' , 1 ) ?> );
}
2015-03-22 18:09:22 +01:00
div . mainmenu . project {
2019-01-27 11:55:16 +01:00
background - image : url ( < ? php echo dol_buildpath ( $path . '/theme/' . $theme . '/img/menus/project.png' , 1 ) ?> );
2015-03-22 18:09:22 +01:00
}
2018-06-04 21:49:29 +02:00
div . mainmenu . ticket {
2019-01-27 11:55:16 +01:00
background - image : url ( < ? php echo dol_buildpath ( $path . '/theme/' . $theme . '/img/menus/ticket.png' , 1 ) ?> );
2018-03-14 20:08:44 +01:00
}
2015-03-22 18:09:22 +01:00
div . mainmenu . tools {
2019-01-27 11:55:16 +01:00
background - image : url ( < ? php echo dol_buildpath ( $path . '/theme/' . $theme . '/img/menus/tools.png' , 1 ) ?> );
2015-03-22 18:09:22 +01:00
}
2017-10-20 23:48:42 +02:00
div . mainmenu . website {
2019-01-27 11:55:16 +01:00
background - image : url ( < ? php echo dol_buildpath ( $path . '/theme/' . $theme . '/img/menus/externalsite.png' , 1 ) ?> );
2016-04-12 18:24:35 +02:00
}
2019-10-26 21:11:36 +02:00
< ? php
// Add here more div for other menu entries. moduletomainmenu=array('module name'=>'name of class for div')
2019-11-08 15:51:54 +01:00
$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' , 'ticket' => 'ticket' , 'deplacement' => 'commercial' ,
2019-10-26 21:11:36 +02:00
'fournisseur' => 'companies' ,
2019-11-20 14:40:52 +01:00
'barcode' => '' , 'fckeditor' => '' , 'categorie' => '' ,
2019-10-26 21:11:36 +02:00
);
2019-11-08 15:51:54 +01:00
$mainmenuused = 'home' ;
2021-02-26 13:31:09 +01:00
foreach ( $conf -> modules as $val ) {
2019-11-08 15:51:54 +01:00
$mainmenuused .= ',' . ( isset ( $moduletomainmenu [ $val ]) ? $moduletomainmenu [ $val ] : $val );
2015-03-22 18:09:22 +01:00
}
2019-11-08 15:51:54 +01:00
$mainmenuusedarray = array_unique ( explode ( ',' , $mainmenuused ));
2019-10-26 21:11:36 +02:00
2019-11-08 15:51:54 +01:00
$generic = 1 ;
2019-10-26 21:11:36 +02:00
// Put here list of menu entries when the div.mainmenu.menuentry was previously defined
2019-11-08 15:51:54 +01:00
$divalreadydefined = array ( 'home' , 'companies' , 'products' , 'mrp' , 'commercial' , 'externalsite' , 'accountancy' , 'project' , 'tools' , 'members' , 'agenda' , 'ftp' , 'holiday' , 'hrm' , 'bookmark' , 'cashdesk' , 'takepos' , 'ecm' , 'geoipmaxmind' , 'gravatar' , 'clicktodial' , 'paypal' , 'stripe' , 'webservices' , 'website' );
2019-10-26 21:11:36 +02:00
// Put here list of menu entries we are sure we don't want
2019-11-08 15:51:54 +01:00
$divnotrequired = array ( 'multicurrency' , 'salaries' , 'ticket' , 'margin' , 'opensurvey' , 'paybox' , 'expensereport' , 'incoterm' , 'prelevement' , 'propal' , 'workflow' , 'notification' , 'supplier_proposal' , 'cron' , 'product' , 'productbatch' , 'expedition' );
2021-02-26 13:31:09 +01:00
foreach ( $mainmenuusedarray as $val ) {
if ( empty ( $val ) || in_array ( $val , $divalreadydefined )) {
continue ;
}
if ( in_array ( $val , $divnotrequired )) {
continue ;
}
2019-10-26 21:11:36 +02:00
//print "XXX".$val;
2015-03-22 18:09:22 +01:00
2019-10-26 21:11:36 +02:00
// Search img file in module dir
2019-11-08 15:51:54 +01:00
$found = 0 ; $url = '' ;
2021-02-26 13:31:09 +01:00
foreach ( $conf -> file -> dol_document_root as $dirroot ) {
if ( file_exists ( $dirroot . " / " . $val . " /img/ " . $val . " .png " )) {
2020-10-31 14:32:18 +01:00
$url = dol_buildpath ( '/' . $val . '/img/' . $val . '.png' , 1 );
$found = 1 ;
break ;
2019-10-26 21:11:36 +02:00
}
}
// Img file not found
2021-02-26 13:31:09 +01:00
if ( ! $found ) {
2020-10-31 14:32:18 +01:00
if ( ! defined ( 'DISABLE_FONT_AWSOME' )) {
print " /* A mainmenu entry was found but img file " . $val . " .png not found (check / " . $val . " /img/ " . $val . " .png), so we use a generic one */ \n " ;
print 'div.mainmenu.' . $val . ' :: before {
2019-10-26 21:11:36 +02:00
content : " \ f249 " ;
} ' ;
2020-10-31 14:32:18 +01:00
} else {
print " /* A mainmenu entry was found but img file " . $val . " .png not found (check / " . $val . " /img/ " . $val . " .png), so we use a generic one. */ \n " ;
print " /* Overwrite this definition in your own css with a different content to use your own font awesome icon. */ \n " ;
$url = dol_buildpath ( $path . '/theme/' . $theme . '/img/menus/generic' . ( min ( $generic , 4 )) . " _over.png " , 1 );
print " div.mainmenu. " . $val . " { \n " ;
print " background-image: url( " . $url . " ); \n " ;
print " } \n " ;
}
$generic ++ ;
2020-05-21 15:05:19 +02:00
} else {
2019-10-26 21:11:36 +02:00
print " div.mainmenu. " . $val . " { \n " ;
print " background-image: url( " . $url . " ); \n " ;
print " } \n " ;
}
}
// End of part to add more div class css
} // End test if $dol_hide_topmenu ?>
2015-03-22 18:09:22 +01:00
2021-03-25 08:37:59 +01:00
2015-03-22 18:09:22 +01:00
. tmenuimage {
2021-02-26 13:31:09 +01:00
padding : 0 0 0 0 ! important ;
margin : 0 0 px 0 0 ! important ;
< ? php if ( $disableimages ) { ?>
display : none ;
< ? php } ?>
2015-03-22 18:09:22 +01:00
}
2019-09-15 15:09:36 +02:00
. topmenuimage {
< ? php if ( $disableimages ) { ?>
2021-02-26 13:31:09 +01:00
display : none ;
< ? php } ?>
2019-09-15 15:09:36 +02:00
}
2021-03-25 08:37:59 +01:00
a . tmenuimage : hover {
text - decoration : none ;
}
2018-07-23 14:08:20 +02:00
a . tmenuimage {
2021-02-26 13:31:09 +01:00
display : block ;
2018-07-23 14:08:20 +02:00
}
2019-04-03 14:36:27 +02:00
a . tmenuimage : focus {
2021-02-26 13:31:09 +01:00
outline : none ;
2019-04-03 14:36:27 +02:00
}
2015-03-22 18:09:22 +01:00
/* Login */
. bodylogin
{
background : #f0f0f0;
2017-03-31 11:39:12 +02:00
display : table ;
2021-02-26 13:31:09 +01:00
position : absolute ;
height : 100 % ;
width : 100 % ;
2015-03-22 18:09:22 +01:00
}
2017-03-31 11:39:12 +02:00
. login_center {
display : table - cell ;
2021-02-26 13:31:09 +01:00
vertical - align : middle ;
2017-06-02 09:25:35 +02:00
}
2015-03-22 18:09:22 +01:00
. login_vertical_align {
padding : 10 px ;
2017-04-17 04:22:53 +02:00
padding - bottom : 80 px ;
2015-03-22 18:09:22 +01:00
}
form #login {
2017-03-31 11:39:12 +02:00
padding - bottom : 30 px ;
2018-10-26 14:38:26 +02:00
font - size : 14 px ;
2015-03-22 18:09:22 +01:00
vertical - align : middle ;
}
. login_table_title {
max - width : 530 px ;
2017-03-31 11:39:12 +02:00
color : #aaa !important;
2017-04-17 04:22:53 +02:00
padding - bottom : 20 px ;
2017-03-31 11:39:12 +02:00
/* text-shadow: 1px 1px 1px #FFF; */
2015-03-22 18:09:22 +01:00
}
. login_table label {
text - shadow : 1 px 1 px 1 px #FFF;
}
. login_table {
2015-09-22 01:25:06 +02:00
margin : 0 px auto ; /* Center */
2015-03-22 18:09:22 +01:00
padding - left : 6 px ;
padding - right : 6 px ;
padding - top : 16 px ;
padding - bottom : 12 px ;
max - width : 560 px ;
background - color : #FFFFFF;
- webkit - box - shadow : 0 4 px 23 px 5 px rgba ( 0 , 0 , 0 , 0.2 ), 0 2 px 6 px rgba ( 60 , 60 , 60 , 0.15 );
box - shadow : 0 4 px 23 px 5 px rgba ( 0 , 0 , 0 , 0.2 ), 0 2 px 6 px rgba ( 60 , 60 , 60 , 0.15 );
2015-05-10 15:08:53 +02:00
border - radius : 4 px ;
2015-03-22 18:09:22 +01:00
border : solid 1 px rgba ( 80 , 80 , 80 , . 4 );
2019-11-25 23:13:31 +01:00
border - top : solid 1 px #f8f8f8;
2015-10-01 23:07:40 +02:00
}
2017-01-06 15:51:08 +01:00
. login_table input #username, .login_table input#password, .login_table input#securitycode{
border : none ;
2018-09-13 16:39:50 +02:00
/* border-bottom: solid 1px rgba(180,180,180,.4); */
2017-01-06 15:51:08 +01:00
padding : 5 px ;
margin - left : 18 px ;
margin - top : 5 px ;
2018-09-13 16:39:50 +02:00
margin - bottom : 5 px ;
2017-01-06 15:51:08 +01:00
}
2017-01-07 14:17:35 +01:00
. login_table input #username:focus, .login_table input#password:focus, .login_table input#securitycode:focus {
outline : none ! important ;
}
2018-09-13 16:39:50 +02:00
. login_table . trinputlogin {
margin : 8 px ;
}
. login_table . tdinputlogin {
2021-02-26 13:31:09 +01:00
background - color : #fff;
min - width : 220 px ;
border - radius : 2 px ;
2018-09-13 16:39:50 +02:00
}
2020-10-27 12:49:14 +01:00
. login_table . tdinputlogin {
2021-01-18 11:05:02 +01:00
border - bottom : 1 px solid #ccc;
2020-10-27 12:49:14 +01:00
}
2018-09-13 16:39:50 +02:00
. login_table . tdinputlogin . fa {
padding - left : 10 px ;
width : 14 px ;
}
2019-05-24 23:11:05 +02:00
. login_main_home {
2021-02-26 13:31:09 +01:00
word - break : break - word ;
2019-05-24 23:11:05 +02:00
}
2015-10-01 23:07:40 +02:00
. login_main_message {
text - align : center ;
2017-02-18 00:48:17 +01:00
max - width : 570 px ;
2016-01-09 03:00:12 +01:00
margin - bottom : 10 px ;
}
. login_main_message . error {
border : 1 px solid #caa;
padding : 10 px ;
2015-03-22 18:09:22 +01:00
}
div #login_left, div#login_right {
display : inline - block ;
min - width : 245 px ;
padding - top : 10 px ;
padding - left : 16 px ;
padding - right : 16 px ;
text - align : center ;
vertical - align : middle ;
}
2017-02-27 10:47:14 +01:00
div #login_right select#entity {
2021-02-26 13:31:09 +01:00
margin - top : 10 px ;
2017-02-27 10:47:14 +01:00
}
2015-03-22 18:09:22 +01:00
table . login_table tr td table . none tr td {
padding : 2 px ;
}
table . login_table_securitycode {
border - spacing : 0 px ;
}
table . login_table_securitycode tr td {
padding - left : 0 px ;
padding - right : 4 px ;
}
#securitycode {
min - width : 60 px ;
}
#img_securitycode {
2015-05-12 06:58:29 +02:00
border : 1 px solid #f4f4f4;
2015-03-22 18:09:22 +01:00
}
2017-11-26 21:56:41 +01:00
#img_logo, .img_logo {
2017-01-07 14:17:35 +01:00
max - width : 170 px ;
max - height : 90 px ;
2015-03-22 18:09:22 +01:00
}
2017-11-26 21:56:41 +01:00
2019-03-12 14:00:26 +01:00
. atoplogin . dropdown . dropdown - menu {
display : none ;
}
2015-03-22 18:09:22 +01:00
div . login_block {
2021-04-07 02:31:13 +02:00
/* border-right: 1px solid rgba(0,0,0,0.3); */
2021-02-26 13:31:09 +01:00
padding - top : 3 px ;
padding - bottom : 3 px ;
2015-09-22 01:25:06 +02:00
< ? php print $left ; ?> : 0;
2015-03-24 22:24:15 +01:00
top : 0 px ;
2019-11-08 15:51:54 +01:00
< ? php if ( in_array ( $conf -> browser -> layout , array ( 'phone' , 'tablet' )) && empty ( $conf -> global -> MAIN_OPTIMIZEFORTEXTBROWSER )) { ?>
2016-06-22 15:09:27 +02:00
position : absolute ;
< ? php } else { ?>
2015-03-24 22:24:15 +01:00
position : fixed ;
2016-06-22 15:09:27 +02:00
< ? php } ?>
2015-03-24 22:24:15 +01:00
z - index : 10 ;
text - align : center ;
vertical - align : middle ;
2017-12-10 15:24:47 +01:00
background : rgb ( < ? php echo $colorbackvmenu1 ; ?> );
2015-12-04 23:25:17 +01:00
width : 228 px ;
2021-03-26 17:58:00 +01:00
height : 70 px ;
2019-01-27 11:55:16 +01:00
< ? php if ( GETPOST ( 'optioncss' , 'aZ09' ) == 'print' ) { ?>
2015-03-22 18:09:22 +01:00
display : none ;
< ? php } ?>
}
div . login_block table {
display : inline ;
}
div . login {
white - space : nowrap ;
font - weight : bold ;
float : right ;
}
div . login a {
color : #<?php echo $colortextbackvmenu; ?>;
}
div . login a : hover {
color : #<?php echo $colortextbackvmenu; ?>;
text - decoration : underline ;
}
div . login_block_user , div . login_block_other { clear : both ; }
2021-03-26 17:58:00 +01:00
div . login_block_other { padding - top : 15 px ; }
2020-03-02 21:51:13 +01:00
. topnav div . login_block_user {
display : inline - block ;
2021-02-26 13:31:09 +01:00
vertical - align : middle ;
2021-03-26 17:58:00 +01:00
line - height : < ? php echo $disableimages ? '25' : '70' ; ?> px;
height : < ? php echo $disableimages ? '25' : '70' ; ?> px;
2020-03-02 21:51:13 +01:00
}
. topnav div . login_block_other {
display : inline - block ;
2021-02-26 13:31:09 +01:00
vertical - align : middle ;
2020-03-02 21:51:13 +01:00
clear : < ? php echo $disableimages ? 'none' : 'both' ; ?> ;
padding - top : 0 ;
text - align : right ;
margin - right : 8 px ;
max - width : 200 px ;
}
2015-03-22 18:09:22 +01:00
. login_block_elem {
float : right ;
vertical - align : top ;
2020-02-15 18:07:49 +01:00
padding : 0 px 0 px 0 px 2 px ! important ;
2020-02-21 17:18:01 +01:00
height : 18 px ;
2015-03-22 18:09:22 +01:00
}
2015-09-22 11:24:31 +02:00
. login_block_elem_name {
2017-04-04 12:55:54 +02:00
margin - top : 1 px ;
2015-09-22 11:24:31 +02:00
}
2020-02-15 18:07:49 +01:00
a . aversion {
2021-02-26 13:31:09 +01:00
white - space : nowrap ;
width : 48 px ;
overflow : hidden ;
text - overflow : ellipsis ;
display : block ;
2020-02-15 18:07:49 +01:00
}
2015-10-20 02:31:24 +02:00
. atoplogin , . atoplogin : hover {
color : #<?php echo $colortextbackvmenu; ?> !important;
}
2015-03-22 18:09:22 +01:00
. alogin , . alogin : hover {
color : #888 !important;
font - weight : normal ! important ;
font - size : < ? php echo $fontsizesmaller ; ?> px !important;
}
2015-10-20 02:31:24 +02:00
. alogin : hover , . atoplogin : hover {
2015-03-22 18:09:22 +01:00
text - decoration : underline ! important ;
}
2017-03-29 21:36:50 +02:00
span . fa . atoplogin , span . fa . atoplogin : hover {
2021-02-26 13:31:09 +01:00
font - size : 16 px ;
text - decoration : none ! important ;
2017-03-29 21:36:50 +02:00
}
2015-03-22 18:09:22 +01:00
img . login , img . printer , img . entity {
/* padding: 0px 0px 0px 4px; */
/* margin: 0px 0px 0px 8px; */
text - decoration : none ;
color : white ;
font - weight : bold ;
}
2018-03-07 11:29:50 +01:00
. userimg . atoplogin img . userphoto , . userimgatoplogin img . userphoto { /* size for user photo in login bar */
2017-04-01 00:35:05 +02:00
border - radius : 8 px ;
2017-03-23 10:59:13 +01:00
width : 16 px ;
height : 16 px ;
2021-02-26 13:31:09 +01:00
background - size : contain ;
2017-03-23 10:59:13 +01:00
vertical - align : text - bottom ;
2017-06-27 04:25:41 +02:00
background - color : #FFF;
2017-03-23 10:59:13 +01:00
}
img . userphoto { /* size for user photo in lists */
2021-02-26 13:31:09 +01:00
border - radius : 0.75 em ;
width : 1.5 em ;
height : 1.5 em ;
background - size : contain ;
vertical - align : middle ;
2017-04-01 00:35:05 +02:00
}
img . userphotosmall { /* size for user photo in lists */
2019-10-08 21:10:51 +02:00
border - radius : 0.6 em ;
width : 1.2 em ;
2021-02-26 13:31:09 +01:00
height : 1.2 em ;
background - size : contain ;
vertical - align : middle ;
2015-09-22 01:25:06 +02:00
}
2020-11-23 20:24:11 +01:00
img . userphoto [ alt = " Gravatar avatar " ] {
2021-02-26 13:31:09 +01:00
background : #fff;
2020-11-23 20:24:11 +01:00
}
2021-01-26 15:16:06 +01:00
form [ name = " addtime " ] img . userphoto {
2021-02-26 13:31:09 +01:00
border : 1 px solid #444;
2021-01-26 15:16:06 +01:00
}
2015-03-22 18:09:22 +01:00
. span - icon - user {
2019-01-27 11:55:16 +01:00
background - image : url ( < ? php echo dol_buildpath ( $path . '/theme/' . $theme . '/img/object_user.png' , 1 ); ?> );
2017-01-06 15:51:08 +01:00
background - repeat : no - repeat ;
2015-03-22 18:09:22 +01:00
}
. span - icon - password {
2019-01-27 11:55:16 +01:00
background - image : url ( < ? php echo dol_buildpath ( $path . '/theme/' . $theme . '/img/lock.png' , 1 ); ?> );
2015-03-22 18:09:22 +01:00
background - repeat : no - repeat ;
}
/* ============================================================================== */
/* Menu gauche */
/* ============================================================================== */
div . vmenu , td . vmenu {
2021-02-26 13:31:09 +01:00
margin -< ? php print $right ; ?> : 2px;
position : relative ;
float : left ;
padding : 0 px ;
padding - bottom : 0 px ;
padding - top : 0 px ;
width : 222 px ;
2015-03-22 18:09:22 +01:00
}
. vmenu {
margin - left : 4 px ;
2019-01-27 11:55:16 +01:00
< ? php if ( GETPOST ( 'optioncss' , 'aZ09' ) == 'print' ) { ?>
2021-02-26 13:31:09 +01:00
display : none ;
2015-03-22 18:09:22 +01:00
< ? php } ?>
}
2015-10-26 12:16:40 +01:00
. vmenusearchselectcombo {
2015-12-04 23:25:17 +01:00
width : 202 px ;
2015-10-26 12:16:40 +01:00
}
2017-01-23 13:36:14 +01:00
. menu_contenu {
padding - top : 4 px ;
2016-02-16 22:45:14 +01:00
padding - bottom : 3 px ;
overflow : hidden ;
2021-02-26 13:31:09 +01:00
text - overflow : ellipsis ;
2016-02-16 22:45:14 +01:00
}
2015-05-03 21:15:08 +02:00
#menu_contenu_logo { padding-right: 4px; }
2015-11-14 22:38:29 +01:00
. companylogo { padding - top : 4 px ; }
2017-04-01 12:46:47 +02:00
. searchform { padding - top : 10 px ; }
2021-03-26 17:58:00 +01:00
. searchform . bordertransp { border : 0 ; }
2015-03-22 18:09:22 +01:00
2019-04-13 12:48:44 +02:00
a . vmenu : link , a . vmenu : visited , a . vmenu : hover , a . vmenu : active , span . vmenu , span . vsmenu { white - space : nowrap ; font - size :< ? php print $fontsize ?> px; font-family: <?php print $fontlist ?>; text-align: <?php print $left; ?>; font-weight: bold; }
2020-11-24 14:32:19 +01:00
font . vmenudisabled { font - size :< ? php print $fontsize ?> px; font-family: <?php print $fontlist ?>; text-align: <?php print $left; ?>; font-weight: bold; color: #aaa; margin-left: 4px; white-space: nowrap; }
2015-03-22 18:09:22 +01:00
a . vmenu : link , a . vmenu : visited { color : #<?php echo $colortextbackvmenu; ?>; }
2015-05-21 01:32:56 +02:00
a . vsmenu : link , a . vsmenu : visited , a . vsmenu : hover , a . vsmenu : active , span . vsmenu { font - size :< ? php print $fontsize ?> px; font-family: <?php print $fontlist ?>; text-align: <?php print $left; ?>; font-weight: normal; color: #202020; margin: 1px 1px 1px 8px; }
2016-01-25 17:31:40 +01:00
font . vsmenudisabled { font - size :< ? php print $fontsize ?> px; font-family: <?php print $fontlist ?>; text-align: <?php print $left; ?>; font-weight: normal; color: #aaa; }
2016-02-16 22:45:14 +01:00
a . vsmenu : link , a . vsmenu : visited { color : #<?php echo $colortextbackvmenu; ?>; white-space: nowrap; }
2015-03-22 18:09:22 +01:00
font . vsmenudisabledmargin { margin : 1 px 1 px 1 px 8 px ; }
2020-02-15 18:07:49 +01:00
a . help : link , a . help : visited , a . help : hover , a . help : active , span . help { text - align : < ? php print $left ; ?> ; font-weight: normal; color: #999; text-decoration: none; }
2015-03-22 18:09:22 +01:00
2020-11-27 01:32:21 +01:00
. helppresentcircle {
2021-02-26 13:31:09 +01:00
color : var ( -- colorbackhmenu1 );
filter : invert ( 0.5 );
margin - left : - 7 px ;
display : inline - block ;
margin - top : - 10 px ;
font - size : x - small ;
vertical - align : super ;
opacity : 0.95 ;
2020-11-27 01:32:21 +01:00
}
2017-04-11 00:59:47 +02:00
div . blockvmenulogo
{
border - bottom : 0 ! important ;
}
2019-10-11 10:10:12 +02:00
. menulogocontainer {
2021-02-26 13:31:09 +01:00
margin : < ? php echo $disableimages ? '0' : '6' ; ?> px;
margin - left : 12 px ;
margin - right : 6 px ;
padding : 0 ;
height : < ? php echo $disableimages ? '20' : '32' ; ?> px;
/* width: 100px; */
max - width : 100 px ;
vertical - align : middle ;
2019-09-15 15:09:36 +02:00
}
2019-10-11 10:02:59 +02:00
. backgroundforcompanylogo {
background - color : rgba ( 255 , 255 , 255 , 0.7 );
border - radius : 5 px ;
}
2019-10-11 10:10:12 +02:00
. menulogocontainer img . mycompany {
2021-02-26 13:31:09 +01:00
object - fit : contain ;
width : inherit ;
height : inherit ;
2019-09-15 15:09:36 +02:00
}
#mainmenutd_companylogo::after {
content : unset ;
}
li #mainmenutd_companylogo .tmenucenter {
width : unset ;
}
li #mainmenutd_companylogo {
min - width : unset ! important ;
}
< ? php if ( $disableimages ) { ?>
li #mainmenutd_home {
min - width : unset ! important ;
}
li #mainmenutd_home .tmenucenter {
width : unset ;
}
< ? php } ?>
2017-04-04 11:56:19 +02:00
div . blockvmenupair , div . blockvmenuimpair
2015-03-22 18:09:22 +01:00
{
font - family : < ? php print $fontlist ?> ;
color : #000000;
text - align : < ? php print $left ; ?> ;
text - decoration : none ;
2021-02-26 13:31:09 +01:00
padding - left : 5 px ;
padding - right : 1 px ;
padding - top : 3 px ;
padding - bottom : 3 px ;
margin : 1 px 0 px 8 px 0 px ;
2015-03-22 18:09:22 +01:00
2021-02-26 13:31:09 +01:00
padding - bottom : 10 px ;
border - bottom : 1 px solid #e0e0e0;
2015-03-22 18:09:22 +01:00
}
2017-04-04 11:56:19 +02:00
div . blockvmenubookmarks
{
padding - bottom : 16 px ! important ;
}
div . blockvmenuend {
border : none ! important ;
padding - left : 0 ! important ;
}
2015-12-04 23:25:17 +01:00
a . vsmenu . addbookmarkpicto {
2021-02-26 13:31:09 +01:00
padding - right : 10 px ;
2015-12-04 23:25:17 +01:00
}
2017-04-04 11:56:19 +02:00
div . blockvmenufirst {
padding - top : 10 px ;
2019-10-09 15:01:19 +02:00
/* border-top: 1px solid #e0e0e0; */
2017-04-04 11:56:19 +02:00
}
div . blockvmenusearch , div . blockvmenubookmarks
2015-03-22 18:09:22 +01:00
{
font - family : < ? php print $fontlist ?> ;
color : #000000;
text - align : < ? php print $left ; ?> ;
text - decoration : none ;
2021-02-26 13:31:09 +01:00
padding - left : 5 px ;
padding - right : 1 px ;
padding - top : 3 px ;
padding - bottom : 3 px ;
margin : 1 px 0 px 2 px 0 px ;
2015-03-22 18:09:22 +01:00
2021-02-26 13:31:09 +01:00
padding - bottom : 10 px ;
/* border-bottom: 1px solid #f4f4f4; */
2015-03-22 18:09:22 +01:00
}
2016-06-10 18:41:10 +02:00
div . blockvmenusearchphone
{
border - bottom : none ;
margin - bottom : 0 px ;
}
2015-03-22 18:09:22 +01:00
div . blockvmenuhelp
{
< ? php if ( empty ( $conf -> dol_optimize_smallscreen )) { ?>
font - family : < ? php print $fontlist ?> ;
color : #000000;
text - align : center ;
text - decoration : none ;
2021-02-26 13:31:09 +01:00
padding - left : 0 px ;
padding - right : 8 px ;
padding - top : 3 px ;
padding - bottom : 3 px ;
margin : 4 px 0 px 0 px 0 px ;
2015-03-22 18:09:22 +01:00
< ? php } else { ?>
2021-02-26 13:31:09 +01:00
display : none ;
2015-03-22 18:09:22 +01:00
< ? php } ?>
}
td . barre {
border - right : 1 px solid #000000;
border - bottom : 1 px solid #000000;
background : #b3c5cc;
font - family : < ? php print $fontlist ?> ;
color : #000000;
text - align : < ? php print $left ; ?> ;
text - decoration : none ;
}
td . barre_select {
background : #b3c5cc;
color : #000000;
}
td . photo {
background : #F4F4F4;
color : #000000;
2021-02-26 13:31:09 +01:00
border : 1 px solid #bbb;
2015-03-22 18:09:22 +01:00
}
/* ============================================================================== */
/* Panes for Main */
/* ============================================================================== */
/*
* PANES and CONTENT - DIVs
*/
#mainContent, #leftContent .ui-layout-pane {
2021-02-26 13:31:09 +01:00
padding : 0 px ;
overflow : auto ;
2015-03-22 18:09:22 +01:00
}
#mainContent, #leftContent .ui-layout-center {
padding : 0 px ;
position : relative ; /* contain floated or positioned elements */
2021-02-26 13:31:09 +01:00
overflow : auto ; /* add scrolling to content-div */
2015-03-22 18:09:22 +01:00
}
/* ============================================================================== */
/* Toolbar for ECM or Filemanager */
/* ============================================================================== */
2017-02-04 11:21:49 +01:00
td . ecmroot {
2021-02-26 13:31:09 +01:00
padding - bottom : 0 ! important ;
2017-02-04 11:21:49 +01:00
}
2015-03-22 18:09:22 +01:00
. largebutton {
2017-08-20 23:16:20 +02:00
/* border-top: 1px solid #CCC !important; */
2021-02-26 13:31:09 +01:00
padding : 0 px 4 px 14 px 4 px ! important ;
min - height : 32 px ;
2015-03-22 18:09:22 +01:00
}
a . toolbarbutton {
2021-02-26 13:31:09 +01:00
margin - top : 0 px ;
margin - left : 4 px ;
margin - right : 4 px ;
height : 30 px ;
2015-03-22 18:09:22 +01:00
}
img . toolbarbutton {
margin - top : 1 px ;
2021-02-26 13:31:09 +01:00
height : 30 px ;
2015-03-22 18:09:22 +01:00
}
2019-09-05 17:57:21 +02:00
li . expanded > a . fmdirlia . jqft . ecmjqft {
2021-02-26 13:31:09 +01:00
font - weight : bold ! important ;
2019-09-05 17:57:21 +02:00
}
2015-03-22 18:09:22 +01:00
/* ============================================================================== */
/* Onglets */
/* ============================================================================== */
div . tabs {
2021-02-26 13:31:09 +01:00
text - align : < ? php print $left ; ?> ;
margin - left : 6 px ! important ;
margin - right : 6 px ! important ;
clear : both ;
2015-03-22 18:09:22 +01:00
height : 100 % ;
}
2017-09-24 01:36:20 +02:00
div . tabsElem {
margin - top : 6 px ;
} /* To avoid overlap of tabs when not browser */
div . tabsElem a {
2021-02-26 13:31:09 +01:00
font - weight : normal ! important ;
2017-09-24 01:36:20 +02:00
}
2015-03-22 18:09:22 +01:00
div . tabBar {
2021-02-26 13:31:09 +01:00
color : #<?php echo $colortextbacktab; ?>;
padding - top : 16 px ;
padding - left : 16 px ;
padding - right : 16 px ;
2017-05-23 15:13:52 +02:00
padding - bottom : 16 px ;
2021-02-26 13:31:09 +01:00
margin : 0 px 0 px 16 px 0 px ;
- webkit - border - radius : 3 px ;
2015-05-10 15:08:53 +02:00
border - radius : 3 px ;
2021-02-26 13:31:09 +01:00
border - right : 1 px solid #BBB;
border - left : 1 px solid #BBB;
border - top : 1 px solid #CCC;
2015-03-22 18:09:22 +01:00
width : auto ;
2015-09-22 01:25:06 +02:00
background : rgb ( < ? php echo $colorbacktabcard1 ; ?> );
2017-06-02 09:25:35 +02:00
border - bottom : 1 px solid #aaa;
2017-03-15 11:13:30 +01:00
}
2020-02-05 14:04:19 +01:00
div . tabBar tr . titre td {
2017-06-02 09:25:35 +02:00
padding - top : 10 px ;
2017-04-27 17:16:19 +02:00
}
2019-03-02 18:20:13 +01:00
2019-03-03 13:38:45 +01:00
/*
2019-03-02 18:20:13 +01:00
div . tabBar . tabBarNoTop {
2021-02-26 13:31:09 +01:00
padding - top : 0 ;
border - top : 0 ;
2019-03-02 18:20:13 +01:00
}
2019-03-03 13:38:45 +01:00
*/
2019-03-02 18:20:13 +01:00
2019-11-20 14:40:52 +01:00
/* tabBar used for creation/update/send forms */
2017-03-15 11:13:30 +01:00
div . tabBarWithBottom {
padding - bottom : 18 px ;
2017-06-02 09:25:35 +02:00
border - bottom : 1 px solid #aaa;
2017-03-15 11:13:30 +01:00
}
div . tabBar table . tableforservicepart2 : last - child {
2021-02-26 13:31:09 +01:00
border - bottom : 1 px solid #aaa;
2015-03-22 18:09:22 +01:00
}
2018-03-01 18:21:47 +01:00
. tableforservicepart1 . tdhrthin {
height : unset ;
}
2019-11-20 14:40:52 +01:00
/* Payment Screen : Pointer cursor in the autofill image */
. AutoFillAmount {
cursor : pointer ;
}
2015-03-22 18:09:22 +01:00
2017-11-28 11:01:02 +01:00
/* ============================================================================== */
2019-06-17 17:53:43 +02:00
/* Buttons for actions */
2017-11-28 11:01:02 +01:00
/* ============================================================================== */
div . divButAction {
margin - bottom : 1.4 em ;
}
2015-03-22 18:09:22 +01:00
div . tabsAction {
2021-02-26 13:31:09 +01:00
margin : 20 px 0 em 20 px 0 em ;
padding : 0 em 0 em ;
text - align : right ;
2015-03-22 18:09:22 +01:00
}
2017-05-09 16:52:03 +02:00
div . tabsActionNoBottom {
2021-02-26 13:31:09 +01:00
margin - bottom : 0 px ;
2017-05-09 16:52:03 +02:00
}
2015-12-06 00:37:58 +01:00
div . tabsAction > a {
margin - bottom : 16 px ! important ;
}
2015-10-15 13:31:44 +02:00
div . popuptabset {
padding : 6 px ;
2016-08-09 14:03:36 +02:00
background : #fff;
2015-10-15 13:31:44 +02:00
border : 1 px solid #888;
}
div . popuptab {
2019-05-13 20:55:05 +02:00
padding - top : 5 px ;
padding - bottom : 5 px ;
2015-10-15 13:31:44 +02:00
padding - left : 5 px ;
padding - right : 5 px ;
}
2015-03-22 18:09:22 +01:00
a . tabTitle {
2021-02-26 13:31:09 +01:00
color : rgba ( 0 , 0 , 0 , . 5 );
margin -< ? php print $right ; ?> : 10px;
text - shadow : 1 px 1 px 1 px #ffffff;
2015-03-22 18:09:22 +01:00
font - family : < ? php print $fontlist ?> ;
font - weight : normal ;
2021-02-26 13:31:09 +01:00
padding : 4 px 6 px 2 px 6 px ;
margin : 0 px 6 px ;
text - decoration : none ;
white - space : nowrap ;
2015-03-22 18:09:22 +01:00
}
2020-05-17 13:34:16 +02:00
. tabTitleText {
2020-08-30 05:27:07 +02:00
display : none ;
2020-05-17 13:34:16 +02:00
}
2020-01-24 20:11:07 +01:00
. imgTabTitle {
max - height : 14 px ;
}
2020-05-17 13:34:16 +02:00
div . tabs div . tabsElem : first - of - type a . tab {
2021-02-26 13:31:09 +01:00
margin - left : 0 px ! important ;
2020-05-17 13:34:16 +02:00
}
2015-03-22 18:09:22 +01:00
a . tab : link , a . tab : visited , a . tab : hover , a . tab #active {
font - family : < ? php print $fontlist ?> ;
2018-10-04 20:22:25 +02:00
padding : 12 px 13 px 12 px ;
2021-02-26 13:31:09 +01:00
margin : 0 em 0.2 em ;
text - decoration : none ;
white - space : nowrap ;
2015-03-22 18:09:22 +01:00
background - image : none ! important ;
}
2015-03-22 18:39:05 +01:00
. tabactive , a . tab #active {
2015-09-22 01:25:06 +02:00
color : #<?php echo $colortextbacktab; ?> !important;
background : rgb ( < ? php echo $colorbacktabcard1 ; ?> ) !important;
2015-10-09 20:00:43 +02:00
border - right : 1 px solid #AAA !important;
border - left : 1 px solid #AAA !important;
2016-05-19 20:58:14 +02:00
border - top : 2 px solid #111 !important;
2015-03-22 18:09:22 +01:00
}
2021-04-06 18:18:07 +02:00
. tabunactive , a . tab #unactive {
border - right : 1 px solid transparent ;
border - left : 1 px solid transparent ;
border - top : 1 px solid transparent ;
border - bottom : 0 px ! important ; */
}
2015-03-22 18:09:22 +01:00
a . tab : hover
{
2015-03-22 18:39:05 +01:00
/*
2019-01-27 11:55:16 +01:00
background : rgba ( < ? php echo $colorbacktabcard1 ; ?> , 0.5) url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/nav-overlay3.png', 1); ?>) 50% 0 repeat-x;
2015-03-23 14:53:21 +01:00
color : #<?php echo $colortextbacktab; ?>;
*/
2015-03-22 18:39:05 +01:00
text - decoration : underline ;
2015-03-22 18:09:22 +01:00
}
a . tabimage {
2021-02-26 13:31:09 +01:00
color : #434956;
2015-03-22 18:09:22 +01:00
font - family : < ? php print $fontlist ?> ;
2021-02-26 13:31:09 +01:00
text - decoration : none ;
white - space : nowrap ;
2015-03-22 18:09:22 +01:00
}
td . tab {
2021-02-26 13:31:09 +01:00
background : #dee7ec;
2015-03-22 18:09:22 +01:00
}
span . tabspan {
2021-02-26 13:31:09 +01:00
background : #dee7ec;
color : #434956;
2015-03-22 18:09:22 +01:00
font - family : < ? php print $fontlist ?> ;
2021-02-26 13:31:09 +01:00
padding : 0 px 6 px ;
margin : 0 em 0.2 em ;
text - decoration : none ;
white - space : nowrap ;
2015-05-10 15:08:53 +02:00
- webkit - border - radius : 3 px 3 px 0 px 0 px ;
border - radius : 3 px 3 px 0 px 0 px ;
2015-03-22 18:09:22 +01:00
2021-02-26 13:31:09 +01:00
border -< ? php print $right ; ?> : 1px solid #555555;
border -< ? php print $left ; ?> : 1px solid #D8D8D8;
border - top : 1 px solid #D8D8D8;
2015-03-22 18:09:22 +01:00
}
/* ============================================================================== */
2019-06-17 17:53:43 +02:00
/* Buttons for actions */
2015-03-22 18:09:22 +01:00
/* ============================================================================== */
2019-08-06 10:58:18 +02:00
< ? php include dol_buildpath ( $path . '/theme/' . $theme . '/btn.inc.php' , 0 ); ?>
2015-03-22 18:09:22 +01:00
/* ============================================================================== */
/* Tables */
/* ============================================================================== */
. allwidth {
width : 100 % ;
}
#undertopmenu {
background - repeat : repeat - x ;
2019-11-08 15:51:54 +01:00
margin - top : < ? php echo ( $dol_hide_topmenu ? '6' : '0' ); ?> px;
2015-03-22 18:09:22 +01:00
}
. paddingrightonly {
border - collapse : collapse ;
border : 0 px ;
margin - left : 0 px ;
padding -< ? php print $left ; ?> : 0px !important;
padding -< ? php print $right ; ?> : 4px !important;
}
. nocellnopadd {
list - style - type : none ;
margin : 0 px ! important ;
padding : 0 px ! important ;
}
2019-10-31 14:06:26 +01:00
. noborderspacing {
border - spacing : 0 ;
}
2015-05-03 21:15:08 +02:00
tr . nocellnopadd td . nobordernopadding , tr . nocellnopadd td . nocellnopadd
{
border : 0 px ;
}
2015-03-22 18:09:22 +01:00
2020-01-30 23:28:50 +01:00
. unsetcolor {
color : unset ! important ;
}
2020-11-30 18:28:04 +01:00
. smallpaddingimp {
2021-02-26 13:31:09 +01:00
padding : 4 px ! important ;
2020-11-30 18:28:04 +01:00
}
2020-01-30 23:28:50 +01:00
. nopaddingleft {
padding -< ? php print $left ; ?> : 0px;
}
. nopaddingright {
padding -< ? php print $right ; ?> : 0px;
}
2020-08-30 13:14:28 +02:00
. nopaddingtopimp {
padding - top : 0 px ! important ;
}
. nopaddingbottomimp {
padding - bottom : 0 px ! important ;
}
2015-03-22 18:09:22 +01:00
. notopnoleft {
border - collapse : collapse ;
border : 0 px ;
padding - top : 0 px ;
padding -< ? php print $left ; ?> : 0px;
padding -< ? php print $right ; ?> : 16px;
padding - bottom : 4 px ;
margin - right : 0 px 0 px ;
}
. notopnoleftnoright {
border - collapse : collapse ;
border : 0 px ;
padding - top : 0 px ;
padding - left : 0 px ;
padding - right : 0 px ;
padding - bottom : 4 px ;
margin : 0 px 0 px 0 px 0 px ;
}
2019-11-20 14:40:52 +01:00
table . tableforemailform tr td {
2021-02-26 13:31:09 +01:00
padding - top : 3 px ;
padding - bottom : 3 px ;
2019-11-20 14:40:52 +01:00
}
2015-03-22 18:09:22 +01:00
2018-03-02 11:18:29 +01:00
table . border , table . bordernooddeven , table . dataTable , . table - border , . table - border - col , . table - key - border - col , . table - val - border - col , div . border {
2015-05-12 06:58:29 +02:00
border : 1 px solid #f4f4f4;
2015-10-09 17:21:38 +02:00
border - collapse : collapse ! important ;
2015-03-22 18:09:22 +01:00
padding : 1 px 2 px 1 px 3 px ; /* t r b l */
}
2016-10-25 12:36:14 +02:00
table . borderplus {
border : 1 px solid #BBB;
}
2018-04-18 02:10:23 +02:00
2019-11-20 14:40:52 +01:00
. border tbody tr , . bordernooddeven tbody tr , . border tbody tr td , . bordernooddeven tbody tr td , div . tabBar table . border tr , div . tabBar table . border tr td , div . tabBar div . border . table - border - row , div . tabBar div . border . table - key - border - col , div . tabBar div . border . table - val - border - col {
2018-04-18 02:10:23 +02:00
height : 26 px ;
2015-05-03 21:15:08 +02:00
}
2018-03-02 11:18:29 +01:00
tr . liste_titre . box_titre td table td , . bordernooddeven tr td {
2021-02-26 13:31:09 +01:00
height : 26 px ;
2018-03-02 11:18:29 +01:00
}
2015-05-03 21:15:08 +02:00
2018-04-18 02:10:23 +02:00
table . border td , table . bordernooddeven td , div . border div div . tagtd {
padding : 2 px 4 px 2 px 4 px ;
2016-07-16 15:21:38 +02:00
border : 1 px solid #f0f0f0;
2015-03-22 18:09:22 +01:00
border - collapse : collapse ;
}
td . border , div . tagtable div div . border {
border - top : 1 px solid #000000;
border - right : 1 px solid #000000;
border - bottom : 1 px solid #000000;
border - left : 1 px solid #000000;
}
. table - key - border - col {
2016-10-25 12:36:14 +02:00
/* width: 25%; */
2015-03-22 18:09:22 +01:00
vertical - align : top ;
}
. table - val - border - col {
width : auto ;
}
2016-11-14 01:47:34 +01:00
2015-03-22 18:09:22 +01:00
/* Main boxes */
2018-03-01 23:51:06 +01:00
. nobordertop , . nobordertop tr : first - of - type td {
2021-02-26 13:31:09 +01:00
border - top : none ! important ;
2018-03-01 23:51:06 +01:00
}
. noborderbottom , . noborderbottom tr : last - of - type td {
2021-02-26 13:31:09 +01:00
border - bottom : none ! important ;
2017-03-15 11:41:15 +01:00
}
2018-03-02 11:18:29 +01:00
. bordertop {
border - top : 1 px solid rgb ( < ? php echo $colortopbordertitle1 ?> );
}
. borderbottom {
border - bottom : 1 px solid rgb ( < ? php echo $colortopbordertitle1 ?> );
}
2019-05-19 13:01:11 +02:00
. fichehalfright table . noborder {
2017-02-28 12:57:34 +01:00
margin : 0 px 0 px 0 px 0 px ;
}
2018-02-07 20:53:13 +01:00
div . colorback
{
background : rgb ( < ? php echo $colorbacktitle1 ; ?> );
padding : 10 px ;
margin - top : 5 px ;
}
2017-10-21 19:39:25 +02:00
. liste_titre_bydiv {
2021-02-26 13:31:09 +01:00
border - right : 1 px solid #ccc;
border - left : 1 px solid #ccc;
2017-10-21 19:39:25 +02:00
}
2015-10-09 17:21:38 +02:00
table . liste , table . noborder , table . formdoc , div . noborder {
2019-11-16 13:50:12 +01:00
width : calc ( 100 % - 1 px ); /* -1 to fix a bug. Without, a scroll appears due to overflow-x: auto; of div-table-responsive */
2015-03-22 18:09:22 +01:00
border - collapse : separate ! important ;
border - spacing : 0 px ;
2018-03-01 02:37:18 +01:00
border - top - width : < ? php echo $borderwidth ?> px;
2016-04-22 13:38:44 +02:00
border - top - color : rgb ( < ? php echo $colortopbordertitle1 ?> );
border - top - style : solid ;
border - bottom - width : 1 px ;
border - bottom - color : #BBB;
border - bottom - style : solid ;
2017-01-23 13:36:14 +01:00
2021-02-26 13:31:09 +01:00
border - right : 1 px solid #ccc;
border - left : 1 px solid #ccc;
2017-10-21 19:39:25 +02:00
2015-12-05 19:20:39 +01:00
margin : 0 px 0 px 8 px 0 px ;
2017-01-23 13:36:14 +01:00
2015-05-10 15:08:53 +02:00
- webkit - border - radius : 0.1 em ;
border - radius : 0.1 em ;
2015-03-22 18:09:22 +01:00
}
table . noborder tr , div . noborder form {
border - top - color : #FEFEFE;
border - right - width : 1 px ;
border - right - color : #BBBBBB;
border - right - style : solid ;
border - left - width : 1 px ;
border - left - color : #BBBBBB;
border - left - style : solid ;
2015-12-04 12:12:12 +01:00
min - height : 26 px ;
2015-03-22 18:09:22 +01:00
}
2016-11-14 01:47:34 +01:00
table . paddingtopbottomonly tr td {
padding - top : 1 px ;
padding - bottom : 2 px ;
}
2015-03-22 18:09:22 +01:00
2017-03-29 11:03:13 +02:00
. liste_titre_filter {
background : rgb ( < ? php echo $colorbacktitle1 ; ?> ) !important;
}
2017-03-27 00:48:50 +02:00
tr . liste_titre_filter td . liste_titre {
2018-09-17 12:25:49 +02:00
padding - top : 4 px ;
padding - bottom : 3 px ;
2017-03-27 00:48:50 +02:00
}
2017-04-12 12:35:13 +02:00
. liste_titre_create td , . liste_titre_create th , . liste_titre_create . tagtd
{
2021-02-26 13:31:09 +01:00
/* border - top - width : 1 px ;
border - top - color : rgb ( < ? php echo $colortopbordertitle1 ?> );
border - top - style : solid ; */
2017-04-12 12:35:13 +02:00
}
2016-10-03 13:42:27 +02:00
. liste_titre_add td , . liste_titre_add th , . liste_titre_add . tagtd
2016-07-29 11:06:03 +02:00
{
2021-02-26 13:31:09 +01:00
border - top - width : 2 px ;
border - top - color : rgb ( < ? php echo $colortopbordertitle1 ?> );
border - top - style : solid ;
2016-07-29 11:06:03 +02:00
}
2016-09-06 00:58:37 +02:00
. liste_titre_add td , . liste_titre_add . tagtd
{
2021-02-26 13:31:09 +01:00
border - top - width : 1 px ;
border - top - color : rgb ( < ? php echo $colortopbordertitle1 ?> );
border - top - style : solid ;
2016-09-06 00:58:37 +02:00
}
2016-07-29 11:06:03 +02:00
2016-01-01 23:44:23 +01:00
table . liste th , table . noborder th , table . noborder tr . liste_titre td {
2017-12-14 13:52:32 +01:00
padding : 8 px 6 px 8 px 6 px ; /* t r b l */
2015-10-09 17:21:38 +02:00
}
2018-03-01 02:37:18 +01:00
table . noborder td , div . noborder form , div . noborder form div , table . tableforservicepart1 td , table . tableforservicepart2 td {
2017-12-14 13:52:32 +01:00
padding : 4 px 6 px 4 px 6 px ; /* t r b l */
2015-03-22 18:09:22 +01:00
}
2019-03-05 13:04:54 +01:00
form . tagtable {
padding : unset ! important ;
2021-02-26 13:31:09 +01:00
border : unset ! important ;
2019-03-05 13:04:54 +01:00
}
2015-03-22 18:09:22 +01:00
2016-12-23 13:04:46 +01:00
table . liste td , table . noborder td , div . noborder form div {
2017-12-14 13:52:32 +01:00
padding : 8 px 6 px 8 px 6 px ; /* t r b l */
2016-12-23 13:04:46 +01:00
}
div . liste_titre_bydiv . divsearchfield {
2018-09-17 12:25:49 +02:00
padding : 2 px 1 px 2 px 6 px ; /* t r b l */
2016-12-23 13:04:46 +01:00
}
2015-03-22 18:09:22 +01:00
table . nobordernopadding {
border - collapse : collapse ! important ;
2017-03-07 22:45:22 +01:00
border : 0 ;
2015-03-22 18:09:22 +01:00
}
table . nobordernopadding tr {
2017-03-07 22:45:22 +01:00
border : 0 ! important ;
padding : 0 0 ! important ;
2015-03-22 18:09:22 +01:00
}
2015-05-03 21:15:08 +02:00
table . nobordernopadding tr td {
2017-03-07 22:45:22 +01:00
border : 0 ! important ;
2015-09-22 01:25:06 +02:00
padding : 0 3 px 0 0 ;
2015-05-03 21:15:08 +02:00
}
table . border tr td table . nobordernopadding tr td {
2017-03-07 22:45:22 +01:00
padding - top : 0 ;
padding - bottom : 0 ;
2015-05-03 21:15:08 +02:00
}
td . borderright {
2021-02-26 13:31:09 +01:00
border : none ; /* to erase value for table.nobordernopadding td */
2015-05-03 21:15:08 +02:00
border - right - width : 1 px ! important ;
border - right - color : #BBB !important;
border - right - style : solid ! important ;
2015-03-22 18:09:22 +01:00
}
2021-02-06 12:10:27 +01:00
td . borderleft {
2021-02-26 13:31:09 +01:00
border : none ; /* to erase value for table.nobordernopadding td */
2021-02-06 12:10:27 +01:00
border - left - width : 1 px ! important ;
border - left - color : #BBB !important;
border - left - style : solid ! important ;
}
2015-03-22 18:09:22 +01:00
2015-10-09 17:21:38 +02:00
/* For table with no filter before */
table . listwithfilterbefore {
border - top : none ! important ;
2015-03-22 18:09:22 +01: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 ; }
2019-10-31 17:31:45 +01:00
. confirmquestions . tagtr . tagtd : not ( : first - child ) { padding - left : 10 px ; }
2015-03-22 18:09:22 +01:00
2015-05-19 21:59:44 +02:00
/* Pagination */
2015-10-01 23:07:40 +02:00
div . refidpadding {
2016-11-11 01:15:41 +01:00
padding - top : 3 px ;
2015-10-01 23:07:40 +02:00
}
div . refid {
font - weight : bold ;
2018-06-23 14:23:07 +02:00
color : rgb ( < ? php print $colortexttitlenotab ; ?> );
2021-02-26 13:31:09 +01:00
font - size : 160 % ;
2015-10-10 02:16:49 +02:00
}
div . refidno {
2017-03-23 13:06:38 +01:00
padding - top : 8 px ;
2015-10-10 02:16:49 +02:00
font - weight : normal ;
2021-02-26 13:31:09 +01:00
color : #444;
font - size : < ? php print $fontsize ?> px;
line - height : 21 px ;
2015-10-01 23:07:40 +02:00
}
2016-09-19 10:43:30 +02:00
div . refidno form {
2021-02-26 13:31:09 +01:00
display : inline - block ;
2016-09-19 10:43:30 +02:00
}
2015-10-01 23:07:40 +02:00
2015-05-19 21:59:44 +02:00
div . pagination {
float : right ;
}
div . pagination a {
font - weight : normal ;
}
div . pagination ul
{
list - style : none ;
display : inline - block ;
padding - left : 0 px ;
padding - right : 0 px ;
margin : 0 ;
}
div . pagination li {
display : inline - block ;
padding - left : 0 px ;
padding - right : 0 px ;
padding - top : 6 px ;
2015-10-01 23:07:40 +02:00
padding - bottom : 5 px ;
2015-05-19 21:59:44 +02:00
}
. pagination {
display : inline - block ;
padding - left : 0 ;
border - radius : 4 px ;
}
2015-10-01 23:07:40 +02:00
div . pagination li . pagination a ,
div . pagination li . pagination span {
2015-05-19 21:59:44 +02:00
padding : 6 px 12 px ;
2017-04-01 12:46:47 +02:00
padding - top : 8 px ;
2015-05-19 21:59:44 +02:00
line - height : 1.42857143 ;
color : #000;
text - decoration : none ;
2015-10-01 23:07:40 +02:00
}
div . pagination li . pagination span . inactive {
cursor : default ;
2016-03-29 22:09:13 +02:00
color : #ccc;
2015-10-01 23:07:40 +02:00
}
2016-03-29 22:09:13 +02:00
2015-10-01 23:07:40 +02:00
div . pagination li . litext a {
border : none ;
padding - right : 10 px ;
padding - left : 4 px ;
font - weight : bold ;
}
div . pagination li . noborder a : hover {
border : none ;
background - color : transparent ;
}
2015-05-19 21:59:44 +02:00
div . pagination li : first - child a ,
div . pagination li : first - child span {
margin - left : 0 ;
border - top - left - radius : 4 px ;
border - bottom - left - radius : 4 px ;
}
div . pagination li : last - child a ,
div . pagination li : last - child span {
border - top - right - radius : 4 px ;
border - bottom - right - radius : 4 px ;
}
div . pagination li a : hover ,
div . pagination li span : hover ,
div . pagination li a : focus ,
div . pagination li span : focus {
2021-02-26 13:31:09 +01:00
color : #000;
background - color : #eee;
border - color : #ddd;
/* padding-top: 8px; */
2015-05-19 21:59:44 +02:00
}
div . pagination li . active a ,
div . pagination li . active span ,
div . pagination li . active a : hover ,
div . pagination li . active span : hover ,
div . pagination li . active a : focus ,
div . pagination li . active span : focus {
z - index : 2 ;
color : #fff;
cursor : default ;
2017-11-16 12:09:34 +01:00
background - color : rgb ( < ? php echo $colorbackhmenu1 ?> );
2015-05-19 21:59:44 +02:00
border - color : #337ab7;
}
div . pagination . disabled span ,
div . pagination . disabled span : hover ,
div . pagination . disabled span : focus ,
div . pagination . disabled a ,
div . pagination . disabled a : hover ,
div . pagination . disabled a : focus {
color : #777;
cursor : not - allowed ;
background - color : #fff;
border - color : #ddd;
}
2015-09-22 01:25:06 +02:00
div . pagination li . pagination . active {
2015-05-19 21:59:44 +02:00
text - decoration : underline ;
2017-04-06 22:31:45 +02:00
box - shadow : none ;
2015-05-19 21:59:44 +02:00
}
2017-04-29 16:07:34 +02:00
. paginationafterarrows . nohover {
box - shadow : none ! important ;
}
2015-05-19 21:59:44 +02:00
div . pagination li . paginationafterarrows {
margin - left : 10 px ;
}
2015-10-09 17:21:38 +02:00
. paginationatbottom {
margin - top : 9 px ;
}
2020-03-30 15:56:14 +02:00
table . hidepaginationprevious . paginationprevious {
display : none ;
}
table . hidepaginationnext . paginationnext {
display : none ;
}
2020-09-15 02:41:08 +02:00
. paginationafterarrows a . btnTitlePlus {
2021-02-26 13:31:09 +01:00
border : 1 px solid var ( -- btncolorborder );
2020-09-15 02:41:08 +02:00
}
. paginationafterarrows a . btnTitlePlus : hover span : before {
2021-02-26 13:31:09 +01:00
/* text-shadow: 0px 0px 5px #ccc; */
/* filter: invert(0.3); */
font - size : 1.03 em ;
2020-09-15 02:41:08 +02:00
}
2020-03-30 15:56:14 +02:00
2015-03-22 18:09:22 +01:00
/* Prepare to remove class pair - impair
. noborder > tbody > tr : nth - child ( even ) td {
2018-10-21 09:59:14 +02:00
background : linear - gradient ( to bottom , rgb ( < ? php echo $colorbacklineimpair1 ; ?> ) 85%, rgb(<?php echo $colorbacklineimpair2; ?>) 100%);
2015-03-22 18:09:22 +01:00
background : - o - linear - gradient ( bottom , rgb ( < ? php echo $colorbacklineimpair1 ; ?> ) 85%, rgb(<?php echo $colorbacklineimpair2; ?>) 100%);
background : - moz - linear - gradient ( bottom , rgb ( < ? php echo $colorbacklineimpair1 ; ?> ) 85%, rgb(<?php echo $colorbacklineimpair2; ?>) 100%);
background : - webkit - linear - gradient ( bottom , rgb ( < ? php echo $colorbacklineimpair1 ; ?> ) 85%, rgb(<?php echo $colorbacklineimpair2; ?>) 100%);
background : - ms - linear - gradient ( bottom , rgb ( < ? php echo $colorbacklineimpair1 ; ?> ) 85%, rgb(<?php echo $colorbacklineimpair2; ?>) 100%);
font - family : < ? php print $fontlist ?> ;
border : 0 px ;
margin - bottom : 1 px ;
color : #202020;
min - height : 18 px ;
}
. noborder > tbody > tr : nth - child ( odd ) td {
2018-10-21 09:59:14 +02:00
background : linear - gradient ( to bottom , rgb ( < ? php echo $colorbacklinepair1 ; ?> ) 85%, rgb(<?php echo $colorbacklinepair2; ?>) 100%);
2015-03-22 18:09:22 +01:00
background : - o - linear - gradient ( bottom , rgb ( < ? php echo $colorbacklinepair1 ; ?> ) 85%, rgb(<?php echo $colorbacklinepair2; ?>) 100%);
background : - moz - linear - gradient ( bottom , rgb ( < ? php echo $colorbacklinepair1 ; ?> ) 85%, rgb(<?php echo $colorbacklinepair2; ?>) 100%);
background : - webkit - linear - gradient ( bottom , rgb ( < ? php echo $colorbacklinepair1 ; ?> ) 85%, rgb(<?php echo $colorbacklinepair2; ?>) 100%);
background : - ms - linear - gradient ( bottom , rgb ( < ? php echo $colorbacklinepair1 ; ?> ) 85%, rgb(<?php echo $colorbacklinepair2; ?>) 100%);
font - family : < ? php print $fontlist ?> ;
border : 0 px ;
margin - bottom : 1 px ;
color : #202020;
}
*/
2017-07-30 19:38:12 +02:00
ul . noborder li : nth - child ( odd ) : not ( . liste_titre ) {
background - color : rgb ( < ? php echo $colorbacklinepair2 ; ?> ) !important;
background - color : rgb ( < ? php echo $colorbacklinepair2 ; ?> ) !important;
background - color : rgb ( < ? php echo $colorbacklinepair2 ; ?> ) !important;
background - color : rgb ( < ? php echo $colorbacklinepair2 ; ?> ) !important;
background - color : rgb ( < ? php echo $colorbacklinepair2 ; ?> ) !important;
}
2015-09-22 01:25:06 +02:00
/* Set the color for hover lines */
2018-07-20 15:01:50 +02:00
2019-11-17 20:25:39 +01:00
. tmenucompanylogo . nohover , . tmenucompanylogo . nohover : hover {
opacity : unset ! important ;
}
2018-07-20 15:01:50 +02:00
. nohoverborder : hover {
border : unset ;
box - shadow : unset ;
- webkit - box - shadow : unset ;
}
2019-04-09 15:46:37 +02:00
2017-04-17 13:02:40 +02:00
. oddeven : hover , . evenodd : hover , . impair : hover , . pair : hover
2015-09-22 01:25:06 +02:00
{
2015-10-01 23:07:40 +02:00
background : rgb ( < ? php echo $colorbacklinepairhover ; ?> ) !important;
2015-03-22 18:09:22 +01:00
}
2019-04-09 15:46:37 +02:00
. tredited {
background : rgb ( < ? php echo $colorbacklinepairchecked ; ?> ) !important; /* Must be background to be stronger than background of odd or even */
}
2018-09-04 11:54:13 +02:00
< ? php if ( $colorbacklinepairchecked ) { ?>
. highlight {
background : rgb ( < ? php echo $colorbacklinepairchecked ; ?> ) !important; /* Must be background to be stronger than background of odd or even */
}
< ? php } ?>
2019-11-20 14:40:52 +01:00
. nohover : hover {
2020-04-08 16:13:29 +02:00
background : unset ! important ;
2019-11-20 14:40:52 +01:00
}
. nohoverborder : hover {
border : unset ;
box - shadow : unset ;
- webkit - box - shadow : unset ;
}
. oddeven , . evenodd , . impair , . nohover . impair : hover , tr . impair td . nohover , . tagtr . oddeven
2015-09-22 01:25:06 +02:00
{
2015-03-22 18:09:22 +01:00
font - family : < ? php print $fontlist ?> ;
border : 0 px ;
margin - bottom : 1 px ;
color : #202020;
2017-03-07 22:45:22 +01:00
}
2017-04-17 13:02:40 +02:00
. impair , . nohover . impair : hover , tr . impair td . nohover
2017-03-07 22:45:22 +01:00
{
2020-05-15 15:50:50 +02:00
background : var ( -- colorbacklineimpair1 );
2015-09-22 01:25:06 +02:00
}
#GanttChartDIV {
2020-05-15 15:50:50 +02:00
background - color : var ( -- colorbacklineimpair1 );
2015-03-22 18:09:22 +01:00
}
2019-11-20 14:40:52 +01:00
. oddeven , . evenodd , . pair , . nohover . pair : hover , tr . pair td . nohover , . tagtr . oddeven {
2015-03-22 18:09:22 +01:00
font - family : < ? php print $fontlist ?> ;
margin - bottom : 1 px ;
color : #202020;
2017-03-07 22:45:22 +01:00
}
2017-04-17 13:02:40 +02:00
. pair , . nohover . pair : hover , tr . pair td . nohover {
2020-05-15 15:50:50 +02:00
background - color : var ( -- colorbacklinepair1 );
2015-03-23 14:53:21 +01:00
}
2020-05-15 15:50:50 +02:00
2017-04-17 13:02:40 +02:00
table . dataTable tr . oddeven {
2020-05-15 15:50:50 +02:00
background - color : var ( -- colorbacklinepair1 ) ! important ;
2015-09-22 01:25:06 +02:00
}
/* For no hover style */
2017-03-11 02:40:42 +01:00
td . oddeven , table . nohover tr . impair , table . nohover tr . pair , table . nohover tr . impair td , table . nohover tr . pair td , tr . nohover td , form . nohover , form . nohover : hover {
2020-05-15 15:50:50 +02:00
background - color : var ( -- colorbacklineimpair1 ) ! important ; ! important ;
background : var ( -- colorbacklineimpair1 ) ! important ; ! important ;
2015-05-03 21:15:08 +02:00
}
2019-11-20 14:40:52 +01:00
td . evenodd , tr . nohoverpair td , #trlinefordates td {
2020-05-15 15:50:50 +02:00
background - color : var ( -- colorbacklinepair1 ) ! important ; ! important ;
background : var ( -- colorbacklinepair1 ) ! important ; ! important ;
2015-09-22 01:25:06 +02:00
}
2017-10-12 13:03:45 +02:00
. trforbreak td {
2019-10-10 22:42:23 +02:00
font - weight : bold ;
2021-02-26 13:31:09 +01:00
border - bottom : 1 pt solid black ! important ;
2020-05-15 15:50:50 +02:00
background - color : var ( -- colorbacklinebreak ) ! important ;
2017-10-12 13:03:45 +02:00
}
2015-09-22 01:25:06 +02:00
2015-05-03 21:15:08 +02:00
table . dataTable td {
2021-02-26 13:31:09 +01:00
padding : 5 px 2 px 5 px 3 px ! important ;
2015-05-03 21:15:08 +02:00
}
2017-04-17 13:02:40 +02:00
tr . pair td , tr . impair td , form . impair div . tagtd , form . pair div . tagtd , div . impair div . tagtd , div . pair div . tagtd , div . liste_titre div . tagtd {
2021-02-26 13:31:09 +01:00
padding : 5 px 2 px 5 px 3 px ;
border - bottom : 1 px solid #eee;
2015-03-22 18:09:22 +01:00
}
2017-01-29 14:53:05 +01:00
form . pair , form . impair {
font - weight : normal ;
}
2017-04-17 13:02:40 +02:00
tr . pair : last - of - type td , tr . impair : last - of - type td {
2021-02-26 13:31:09 +01:00
border - bottom : 0 px ! important ;
2015-12-04 12:24:36 +01:00
}
2017-04-17 13:02:40 +02:00
tr . pair td . nobordernopadding tr td , tr . impair td . nobordernopadding tr td {
2021-02-26 13:31:09 +01:00
border - bottom : 0 px ! important ;
2015-05-03 21:15:08 +02:00
}
2019-03-19 16:01:03 +01:00
/*
table . nobottomiftotal tr . liste_total td {
background - color : #fff;
border - bottom : 0 px ! important ;
2015-05-03 21:15:08 +02:00
}
2019-03-19 16:01:03 +01:00
*/
2015-03-22 21:18:25 +01:00
div . liste_titre . tagtd {
vertical - align : middle ;
}
div . liste_titre {
2015-03-22 22:25:26 +01:00
min - height : 26 px ! important ; /* We cant use height because it's a div and it should be higher if content is more. but min-height doe not work either for div */
2015-10-09 17:21:38 +02:00
padding - top : 2 px ;
padding - bottom : 2 px ;
2016-04-22 13:38:44 +02:00
/* border - right - width : 1 px ;
2015-10-09 17:21:38 +02:00
border - right - color : #BBB;
border - right - style : solid ;
border - left - width : 1 px ;
border - left - color : #BBB;
2016-04-22 13:38:44 +02:00
border - left - style : solid ; */
2015-10-09 17:21:38 +02:00
border - top - width : 1 px ;
border - top - color : #BBB;
border - top - style : solid ;
}
div . liste_titre_bydiv {
2018-03-01 02:37:18 +01:00
border - top - width : < ? php echo $borderwidth ?> px;
2021-02-26 13:31:09 +01:00
border - top - color : rgb ( < ? php echo $colortopbordertitle1 ?> );
border - top - style : solid ;
2017-01-23 13:36:14 +01:00
2015-10-09 17:21:38 +02:00
box - shadow : none ;
border - collapse : collapse ;
display : table ;
padding : 2 px 0 px 2 px 0 ;
2017-10-21 19:39:25 +02:00
width : calc ( 100 % - 1 px );
2015-03-22 21:18:25 +01:00
}
2019-03-05 13:04:54 +01:00
tr . liste_titre , tr . liste_titre_sel , form . liste_titre , form . liste_titre_sel , table . dataTable . tr , tagtr . liste_titre
2015-03-22 18:09:22 +01:00
{
height : 26 px ! important ;
}
2019-03-05 13:04:54 +01:00
div . liste_titre_bydiv , . liste_titre div . tagtr , tr . liste_titre , tr . liste_titre_sel , . tagtr . liste_titre , . tagtr . liste_titre_sel , form . liste_titre , form . liste_titre_sel , table . dataTable thead tr
2015-03-22 18:09:22 +01:00
{
2016-04-22 13:38:44 +02:00
background : rgb ( < ? php echo $colorbacktitle1 ; ?> );
2019-11-08 15:51:54 +01:00
font - weight : < ? php echo $useboldtitle ? 'bold' : 'normal' ; ?> ;
2021-02-26 13:31:09 +01:00
border - bottom : 1 px solid #FDFFFF;
2017-01-23 13:36:14 +01:00
2021-02-26 13:31:09 +01:00
color : rgb ( < ? php echo $colortexttitle ; ?> );
font - family : < ? php print $fontlist ?> ;
text - align : < ? php echo $left ; ?> ;
2015-03-22 18:09:22 +01:00
}
2017-07-30 19:38:12 +02:00
tr . liste_titre th , tr . liste_titre td , th . liste_titre
2015-05-03 21:15:08 +02:00
{
2017-07-30 19:38:12 +02:00
border - bottom : 1 px solid #aaa;
2015-05-03 21:15:08 +02:00
}
2017-06-02 09:25:35 +02:00
/* TODO Once title line is moved under title search, make border bottom of all th black and force to whit when it's first tr */
2017-10-21 19:39:25 +02:00
tr : first - child th . liste_titre , tr : first - child th . liste_titre_sel {
2021-02-26 13:31:09 +01:00
border - bottom : 1 px solid #FFF ! important;
2017-03-07 22:45:22 +01:00
}
2015-03-22 18:09:22 +01:00
tr . liste_titre th , th . liste_titre , tr . liste_titre td , td . liste_titre , form . liste_titre div , div . liste_titre
{
2021-02-26 13:31:09 +01:00
font - family : < ? php print $fontlist ?> ;
font - weight : < ? php echo $useboldtitle ? 'bold' : 'normal' ; ?> ;
vertical - align : middle ;
height : 24 px ;
2015-03-22 18:09:22 +01:00
}
tr . liste_titre th a , th . liste_titre a , tr . liste_titre td a , td . liste_titre a , form . liste_titre div a , div . liste_titre a {
text - shadow : none ! important ;
2020-05-03 14:05:18 +02:00
color : rgb ( < ? php echo $colortexttitlelink ?> );
2015-03-22 18:09:22 +01:00
}
2016-06-07 14:06:00 +02:00
tr . liste_titre_topborder td {
2018-03-01 02:37:18 +01:00
border - top - width : < ? php echo $borderwidth ; ?> px;
2021-02-26 13:31:09 +01:00
border - top - color : rgb ( < ? php echo $colortopbordertitle1 ?> );
border - top - style : solid ;
2016-06-07 14:06:00 +02:00
}
2015-03-22 18:09:22 +01:00
. liste_titre td a {
text - shadow : none ! important ;
2015-10-14 23:50:36 +02:00
color : rgb ( < ? php echo $colortexttitle ; ?> );
2015-03-22 18:09:22 +01:00
}
2016-09-18 13:58:17 +02:00
. liste_titre td a . notasortlink {
color : rgb ( < ? php echo $colortextlink ; ?> );
}
2016-09-18 15:48:29 +02:00
. liste_titre td a . notasortlink : hover {
background : transparent ;
}
2017-04-01 12:46:47 +02:00
tr . liste_titre : last - child th . liste_titre , tr . liste_titre : last - child th . liste_titre_sel , tr . liste_titre td . liste_titre , tr . liste_titre td . liste_titre_sel , form . liste_titre div . tagtd { /* For last line of table headers only */
2021-02-26 13:31:09 +01:00
border - bottom : 1 px solid rgb ( < ? php echo $colortopbordertitle1 ?> );
2016-12-11 16:11:42 +01:00
}
2015-03-22 18:09:22 +01:00
div . liste_titre {
padding - left : 3 px ;
}
tr . liste_titre_sel th , th . liste_titre_sel , tr . liste_titre_sel td , td . liste_titre_sel , form . liste_titre_sel div
{
2021-02-26 13:31:09 +01:00
font - family : < ? php print $fontlist ?> ;
font - weight : normal ;
border - bottom : 1 px solid #FDFFFF;
2021-05-12 22:35:21 +02:00
/* text-decoration: underline; */
2015-03-22 18:09:22 +01:00
}
input . liste_titre {
2021-02-26 13:31:09 +01:00
background : transparent ;
border : 0 px ;
2015-03-22 18:09:22 +01:00
}
2017-09-23 09:28:31 +02:00
. noborder tr . liste_total td , tr . liste_total td , form . liste_total div , . noborder tr . liste_total_wrap td , tr . liste_total_wrap td , form . liste_total_wrap div {
2021-02-26 13:31:09 +01:00
color : #332266;
/* padding: 4px; */
2015-03-22 18:09:22 +01:00
}
2017-09-23 09:28:31 +02:00
. noborder tr . liste_total td , tr . liste_total td , form . liste_total div {
2021-02-26 13:31:09 +01:00
white - space : nowrap ;
line - height : 1.5 em ;
2017-10-21 19:39:25 +02:00
}
2017-09-23 09:28:31 +02:00
}
. noborder tr . liste_total_wrap td , tr . liste_total_wrap td , form . liste_total_wrap div {
white - space : normal ;
}
2016-08-03 01:42:05 +02:00
tr . liste_sub_total , tr . liste_sub_total td {
border - bottom : 2 px solid #aaa;
}
2015-03-22 18:09:22 +01:00
. tableforservicepart1 . impair , . tableforservicepart1 . pair , . tableforservicepart2 . impair , . tableforservicepart2 . pair {
2015-05-03 21:15:08 +02:00
background : #FFF;
}
. tableforservicepart1 tbody tr td , . tableforservicepart2 tbody tr td {
border - bottom : none ;
2015-03-22 18:09:22 +01:00
}
2016-06-07 20:25:45 +02:00
. paymenttable , . margintable {
2021-06-05 02:42:49 +02:00
margin : 0 px 0 px 0 px 0 px ! important ;
}
. paymenttable , . margintable : not ( . margintablenotop ) {
2018-03-01 02:37:18 +01:00
border - top - width : < ? php echo $borderwidth ?> px !important;
2016-06-07 20:25:45 +02:00
border - top - color : rgb ( < ? php echo $colortopbordertitle1 ?> ) !important;
border - top - style : solid ! important ;
2021-06-05 02:42:49 +02:00
}
. margintable . margintablenotop {
border - top - width : 0 ;
2016-06-07 20:25:45 +02:00
}
2016-06-24 01:00:37 +02:00
. paymenttable tr td : first - child , . margintable tr td : first - child
{
2021-06-05 02:42:49 +02:00
//padding-left: 2px;
2016-06-24 01:00:37 +02:00
}
2018-03-01 11:51:25 +01:00
. paymenttable , . margintable tr td {
height : 22 px ;
}
2015-03-22 18:09:22 +01:00
/* Disable shadows */
. noshadow {
2015-05-12 06:58:29 +02:00
- webkit - box - shadow : 0 px 0 px 0 px #f4f4f4 !important;
box - shadow : 0 px 0 px 0 px #f4f4f4 !important;
2015-03-22 18:09:22 +01:00
}
2019-10-10 23:00:33 +02:00
. shadow {
- webkit - box - shadow : 2 px 2 px 5 px #CCC !important;
box - shadow : 2 px 2 px 5 px #CCC !important;
}
2015-03-22 18:09:22 +01:00
div . tabBar . noborder {
2015-05-12 06:58:29 +02:00
- webkit - box - shadow : 0 px 0 px 0 px #f4f4f4 !important;
box - shadow : 0 px 0 px 0 px #f4f4f4 !important;
2015-03-22 18:09:22 +01:00
}
2016-12-03 21:29:49 +01:00
div . tdtop {
2021-02-26 13:31:09 +01:00
vertical - align : top ! important ;
2016-12-03 21:29:49 +01:00
padding - top : 5 px ! important ;
2017-06-10 00:05:47 +02:00
padding - bottom : 0 px ! important ;
2016-12-03 21:29:49 +01:00
}
2015-03-22 18:09:22 +01:00
2015-10-09 20:00:43 +02:00
#tablelines tr.liste_titre td, .paymenttable tr.liste_titre td, .margintable tr.liste_titre td, .tableforservicepart1 tr.liste_titre td {
border - bottom : 1 px solid #AAA !important;
}
2018-03-12 12:27:40 +01:00
#tablelines tr td {
2021-02-26 13:31:09 +01:00
height : unset ;
2018-03-12 12:27:40 +01:00
}
2015-10-09 20:00:43 +02:00
2015-03-22 18:09:22 +01:00
2017-03-07 22:45:22 +01:00
/* Prepare to remove class pair - impair */
2019-03-05 13:04:54 +01:00
. noborder > tbody > tr : nth - child ( even ) : not ( . liste_titre ), . liste > tbody > tr : nth - child ( even ) : not ( . liste_titre ),
2019-05-19 13:01:11 +02:00
div : not ( . fichecenter ) : not ( . fichehalfleft ) : not ( . fichehalfright ) : not ( . ficheaddleft ) > . border > tbody > tr : nth - of - type ( even ) : not ( . liste_titre ), . liste > tbody > tr : nth - of - type ( even ) : not ( . liste_titre ),
div : not ( . fichecenter ) : not ( . fichehalfleft ) : not ( . fichehalfright ) : not ( . ficheaddleft ) . oddeven . tagtr : nth - of - type ( even ) : not ( . liste_titre )
2019-03-05 13:04:54 +01:00
{
2018-10-21 09:59:14 +02:00
background : linear - gradient ( to bottom , rgb ( < ? php echo $colorbacklineimpair1 ; ?> ) 85%, rgb(<?php echo $colorbacklineimpair2; ?>) 100%);
2017-03-07 22:45:22 +01:00
background : - o - linear - gradient ( bottom , rgb ( < ? php echo $colorbacklineimpair1 ; ?> ) 85%, rgb(<?php echo $colorbacklineimpair2; ?>) 100%);
background : - moz - linear - gradient ( bottom , rgb ( < ? php echo $colorbacklineimpair1 ; ?> ) 85%, rgb(<?php echo $colorbacklineimpair2; ?>) 100%);
background : - webkit - linear - gradient ( bottom , rgb ( < ? php echo $colorbacklineimpair1 ; ?> ) 85%, rgb(<?php echo $colorbacklineimpair2; ?>) 100%);
background : - ms - linear - gradient ( bottom , rgb ( < ? php echo $colorbacklineimpair1 ; ?> ) 85%, rgb(<?php echo $colorbacklineimpair2; ?>) 100%);
}
2019-03-05 13:04:54 +01:00
. noborder > tbody > tr : nth - child ( even ) : not ( : last - child ) td : not ( . liste_titre ), . liste > tbody > tr : nth - child ( even ) : not ( : last - child ) td : not ( . liste_titre ),
. noborder . tagtr : nth - child ( even ) : not ( : last - child ) . oddeven . tagtd : not ( . liste_titre )
{
2017-03-07 22:45:22 +01:00
border - bottom : 1 px solid #ddd;
}
2019-03-05 13:04:54 +01:00
. noborder > tbody > tr : nth - child ( odd ) : not ( . liste_titre ), . liste > tbody > tr : nth - child ( odd ) : not ( . liste_titre ),
2019-05-19 13:01:11 +02:00
div : not ( . fichecenter ) : not ( . fichehalfleft ) : not ( . fichehalfright ) : not ( . ficheaddleft ) > . border > tbody > tr : nth - of - type ( odd ) : not ( . liste_titre ), . liste > tbody > tr : nth - of - type ( odd ) : not ( . liste_titre ),
div : not ( . fichecenter ) : not ( . fichehalfleft ) : not ( . fichehalfright ) : not ( . ficheaddleft ) . oddeven . tagtr : nth - of - type ( odd ) : not ( . liste_titre )
2019-03-05 13:04:54 +01:00
{
2018-10-21 09:59:14 +02:00
background : linear - gradient ( to bottom , rgb ( < ? php echo $colorbacklinepair1 ; ?> ) 85%, rgb(<?php echo $colorbacklinepair2; ?>) 100%);
2017-03-07 22:45:22 +01:00
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%);
}
2019-03-05 13:04:54 +01:00
. noborder > tbody > tr : nth - child ( odd ) : not ( : last - child ) td : not ( . liste_titre ), . liste > tbody > tr : nth - child ( odd ) : not ( : last - child ) td : not ( . liste_titre ),
. noborder . tagtr : nth - child ( odd ) : not ( : last - child ) . oddeven . tagtd : not ( . liste_titre )
{
2017-03-07 22:45:22 +01:00
border - bottom : 1 px solid #ddd;
}
2019-03-05 13:04:54 +01:00
ul . noborder li : nth - child ( even ) : not ( . liste_titre ) {
background - color : rgb ( < ? php echo $colorbacklinepair2 ; ?> ) !important;
}
2017-03-07 22:45:22 +01:00
2015-03-22 18:09:22 +01:00
/*
* Boxes
*/
2017-06-02 09:25:35 +02:00
2018-01-16 16:15:49 +01:00
. box {
2021-02-26 13:31:09 +01:00
overflow - x : auto ;
min - height : 40 px ;
padding - right : 0 px ;
padding - left : 0 px ;
padding - bottom : 12 px ;
2018-01-16 16:15:49 +01:00
}
2019-05-19 13:01:11 +02:00
. ficheaddleft div . boxstats , . ficheaddright div . boxstats {
2021-02-26 13:31:09 +01:00
border : none ;
2019-05-19 13:01:11 +02:00
}
2017-03-23 19:26:28 +01:00
. boxstatsborder {
2021-02-26 13:31:09 +01:00
/* border: 1px solid #CCC !important; */
2017-03-23 19:26:28 +01:00
}
. boxstats , . boxstats130 {
2021-02-26 13:31:09 +01:00
display : inline - block ;
margin : 8 px ;
/* border: 1px solid #CCC; */
text - align : center ;
border - radius : 2 px ;
background : #eee;
2017-03-23 19:26:28 +01:00
}
2017-06-02 09:25:35 +02:00
. boxstats , . boxstats130 , . boxstatscontent {
2017-02-28 13:45:14 +01:00
white - space : nowrap ;
overflow : hidden ;
2021-02-26 13:31:09 +01:00
text - overflow : ellipsis ;
2017-03-23 19:26:28 +01:00
}
. boxstats {
2021-02-26 13:31:09 +01:00
padding : 3 px ;
width : 100 px ;
min - height : 40 px ;
2017-03-23 19:26:28 +01:00
}
. boxstats130 {
2021-02-26 13:31:09 +01:00
width : 135 px ;
height : 54 px ;
padding : 3 px ;
2017-03-21 17:06:27 +01:00
}
@ media only screen and ( max - width : 767 px )
{
2020-10-13 10:51:51 +02:00
. tabBar . arearef . pagination . paginationref {
2021-02-26 13:31:09 +01:00
max - width : calc ( 50 % );
2020-10-13 10:51:51 +02:00
}
. clearbothonsmartphone {
2021-02-26 13:31:09 +01:00
clear : both ;
display : block ! important ;
2020-10-13 10:51:51 +02:00
}
2020-05-17 13:34:16 +02:00
div . tabs {
padding - left : 0 ! important ;
margin - left : 0 ! important ;
margin - right : 0 ! important ;
}
2018-03-02 11:41:46 +01:00
. boxstats , . boxstats130 {
margin : 3 px ;
2021-02-26 13:31:09 +01:00
border : 1 px solid #ddd;
box - shadow : none ;
background : #eee;
}
2017-06-02 09:25:35 +02:00
. thumbstat {
flex : 1 1 110 px ;
}
2017-03-27 00:48:50 +02:00
. thumbstat150 {
flex : 1 1 110 px ;
}
2021-02-26 13:31:09 +01:00
. dashboardlineindicator {
float : left ;
padding - left : 5 px ;
}
. boxstats130 {
width : 148 px ;
}
. boxstats {
width : 100 px ;
}
2015-03-22 18:09:22 +01:00
}
2015-09-22 01:25:06 +02:00
. boxstats : hover {
2016-08-09 15:56:55 +02:00
box - shadow : 0 px 0 px 8 px 0 px rgba ( 0 , 0 , 0 , 0.20 );
2015-12-14 21:38:04 +01:00
}
2016-01-25 16:01:50 +01:00
span . boxstatstext {
2021-02-26 13:31:09 +01:00
/* opacity: 0.7; */ /* a bug if browser make z-index infintie when opacity is set so we disable it */
line - height : 18 px ;
color : #000;
2016-01-25 16:01:50 +01:00
}
2018-04-24 10:06:13 +02:00
. boxstatsindicator . thumbstat150 { /* If we remove this, box position is ko on ipad */
display : inline - flex ;
}
2015-12-14 21:38:04 +01:00
span . boxstatsindicator {
font - size : 110 % ;
2016-01-18 12:57:24 +01:00
font - weight : normal ;
2017-03-27 00:48:50 +02:00
font - color : rgb ( < ? php print $colortextlink ; ?> );
2015-12-14 21:38:04 +01:00
}
span . dashboardlineindicator , span . dashboardlineindicatorlate {
font - size : 120 % ;
2017-03-23 19:26:28 +01:00
font - weight : normal ;
}
2019-03-11 18:29:01 +01:00
a . dashboardlineindicatorlate : hover {
text - decoration : none ;
}
2017-03-23 19:26:28 +01:00
. dashboardlineindicatorlate img {
width : 16 px ;
2015-09-22 01:25:06 +02:00
}
2016-01-18 15:56:51 +01:00
span . dashboardlineok {
color : #008800;
}
span . dashboardlineko {
2017-03-27 00:48:50 +02:00
color : #FFF;
font - size : 80 % ;
2016-01-18 15:56:51 +01:00
}
2017-03-23 19:26:28 +01:00
. dashboardlinelatecoin {
float : right ;
position : relative ;
2021-02-26 13:31:09 +01:00
text - align : right ;
top : - 24 px ;
padding : 1 px 6 px 1 px 6 px ;
background - color : #8c4446;
color : #FFFFFF ! important;
border - radius : . 25 em ;
2017-03-23 19:26:28 +01:00
}
. boxtable {
2021-02-26 13:31:09 +01:00
margin - bottom : 8 px ! important ;
border - bottom - width : 1 px ;
2017-03-23 19:26:28 +01:00
}
2015-03-22 18:09:22 +01:00
. boxtable {
2021-02-26 13:31:09 +01:00
margin - bottom : 8 px ! important ;
border - bottom - width : 1 px ;
2017-03-14 14:33:25 +01:00
}
2018-03-01 23:51:06 +01:00
. boxtablenotop {
2021-02-26 13:31:09 +01:00
/* border-top-width: 0 !important; */
2018-03-01 23:51:06 +01:00
}
2017-03-14 14:33:25 +01:00
. boxtablenobottom {
2021-02-26 13:31:09 +01:00
/* border-bottom-width: 0 !important; */
2015-03-22 18:09:22 +01:00
}
2017-11-14 01:15:02 +01:00
. boxtable . fichehalfright , . boxtable . fichehalfleft {
2021-02-26 13:31:09 +01:00
min - width : 275 px ;
2017-11-14 01:15:02 +01:00
}
2017-02-28 13:45:14 +01:00
. tdboxstats {
text - align : center ;
}
2017-11-26 22:23:21 +01:00
. boxworkingboard . tdboxstats {
2018-03-04 10:47:35 +01:00
padding - left : 1 px ! important ;
padding - right : 1 px ! important ;
2017-11-26 22:23:21 +01:00
}
2017-03-23 19:26:28 +01:00
a . valignmiddle . dashboardlineindicator {
2021-02-26 13:31:09 +01:00
line - height : 30 px ;
2017-03-23 19:26:28 +01:00
}
2015-03-22 18:09:22 +01:00
tr . box_titre {
2021-02-26 13:31:09 +01:00
height : 26 px ! important ;
2017-01-23 13:36:14 +01:00
2021-02-26 13:31:09 +01:00
/* TO MATCH BOOTSTRAP */
2016-04-22 13:38:44 +02:00
/* background : #ddd;
color : #000 !important; */
2015-09-22 01:25:06 +02:00
/* TO MATCH ELDY */
2016-04-22 13:38:44 +02:00
background : rgb ( < ? php echo $colorbacktitle1 ; ?> );
2017-01-23 13:36:14 +01:00
2021-02-26 13:31:09 +01:00
background - repeat : repeat - x ;
color : rgb ( < ? php echo $colortexttitle ; ?> );
font - family : < ? php print $fontlist ?> , sans-serif;
font - weight : < ? php echo $useboldtitle ? 'bold' : 'normal' ; ?> ;
border - bottom : 1 px solid #FDFFFF;
white - space : nowrap ;
2015-03-22 18:09:22 +01:00
}
tr . box_titre td . boxclose {
width : 30 px ;
}
2017-03-23 19:48:34 +01:00
img . boxhandle , img . boxclose {
padding - left : 5 px ;
2015-03-23 14:53:21 +01:00
}
2015-03-22 18:09:22 +01:00
. formboxfilter {
vertical - align : middle ;
margin - bottom : 6 px ;
}
. formboxfilter input [ type = image ]
{
top : 5 px ;
position : relative ;
}
2016-08-11 19:55:29 +02:00
. boxfilter {
margin - bottom : 2 px ;
margin - right : 1 px ;
}
2015-03-22 18:09:22 +01:00
2015-10-11 13:26:22 +02:00
. prod_entry_mode_free , . prod_entry_mode_predef {
2021-02-26 13:31:09 +01:00
height : 26 px ! important ;
vertical - align : middle ;
2015-10-11 13:26:22 +02:00
}
2015-03-22 18:09:22 +01:00
2019-11-20 14:40:52 +01:00
. modulebuilderbox {
border : 1 px solid #888;
padding : 16 px ;
}
2015-03-22 18:09:22 +01:00
/*
* Ok , Warning , Error
*/
. ok { color : #114466; }
2019-04-05 11:09:58 +02:00
. warning { color : #887711 !important; }
2015-03-22 18:09:22 +01:00
. error { color : #550000 !important; font-weight: bold; }
2020-11-21 12:45:22 +01:00
. green { color : #118822 !important; }
2015-03-22 18:09:22 +01:00
div . ok {
color : #114466;
}
2018-01-12 01:10:03 +01:00
/* Info admin */
div . info {
border -< ? php print $left ; ?> : solid 5px #87cfd2;
2021-02-26 13:31:09 +01:00
padding - top : 8 px ;
padding - left : 10 px ;
padding - right : 4 px ;
padding - bottom : 8 px ;
margin : 0.5 em 0 em 0.5 em 0 em ;
background : #eff8fc;
2018-01-12 01:10:03 +01:00
}
2015-11-22 12:33:56 +01:00
/* Warning message */
2015-03-22 18:09:22 +01:00
div . warning {
2021-02-26 13:31:09 +01:00
border -< ? php print $left ; ?> : solid 5px #f2cf87;
2018-01-12 01:10:03 +01:00
padding - top : 8 px ;
padding - left : 10 px ;
padding - right : 4 px ;
padding - bottom : 8 px ;
margin : 0.5 em 0 em 0.5 em 0 em ;
2021-02-26 13:31:09 +01:00
background : #fcf8e3;
2018-01-12 01:10:03 +01:00
}
div . warning a , div . info a , div . error a {
2018-09-17 12:59:43 +02:00
color : rgb ( < ? php echo $colortextlink ; ?> );
2015-03-22 18:09:22 +01:00
}
2015-11-22 12:33:56 +01:00
/* Error message */
2015-03-22 18:09:22 +01:00
div . error {
2021-02-26 13:31:09 +01:00
border -< ? php print $left ; ?> : solid 5px #f28787;
2018-01-15 11:20:45 +01:00
padding - top : 8 px ;
padding - left : 10 px ;
padding - right : 4 px ;
padding - bottom : 8 px ;
margin : 0.5 em 0 em 0.5 em 0 em ;
2015-03-22 18:09:22 +01:00
background : #EFCFCF;
}
/*
* Liens Payes / Non payes
*/
a . normal : link { font - weight : normal }
a . normal : visited { font - weight : normal }
a . normal : active { font - weight : normal }
a . normal : hover { font - weight : normal }
a . impayee : link { font - weight : bold ; color : #550000; }
a . impayee : visited { font - weight : bold ; color : #550000; }
a . impayee : active { font - weight : bold ; color : #550000; }
a . impayee : hover { font - weight : bold ; color : #550000; }
2018-02-08 19:00:13 +01:00
/*
* External web site
*/
2018-02-08 21:01:34 +01:00
. framecontent {
2021-02-26 13:31:09 +01:00
width : 100 % ;
height : 100 % ;
2018-02-08 21:01:34 +01:00
}
2018-02-08 19:00:13 +01:00
. framecontent iframe {
2021-02-26 13:31:09 +01:00
width : 100 % ;
height : 100 % ;
2018-02-08 19:00:13 +01:00
}
2018-02-08 21:01:34 +01:00
2015-03-22 18:09:22 +01:00
/*
* Other
*/
2019-08-18 02:07:40 +02:00
. opened - dash - board - wrap {
2021-02-26 13:31:09 +01:00
margin - bottom : 25 px ;
2019-08-18 02:07:40 +02:00
}
2018-02-15 14:08:42 +01:00
div . boximport {
2021-02-26 13:31:09 +01:00
min - height : unset ;
2018-02-15 14:08:42 +01:00
}
2015-03-22 18:09:22 +01:00
. product_line_stock_ok { color : #002200; }
2017-12-22 12:55:16 +01:00
. product_line_stock_too_low { color : #884400; }
2015-03-22 18:09:22 +01:00
. fieldrequired { font - weight : bold ; color : #000055; }
2019-09-27 11:51:34 +02:00
. widthpictotitle { width : 40 px ; font - size : 1.4 em ; text - align : < ? php echo $left ; ?> ; }
2020-08-03 14:32:42 +02:00
table . titlemodulehelp tr td img . widthpictotitle { width : 80 px ; }
2016-06-19 16:07:34 +02:00
2015-03-22 18:09:22 +01:00
. dolgraphtitle { margin - top : 6 px ; margin - bottom : 4 px ; }
2018-11-03 19:24:28 +01:00
. dolgraphtitlecssboxes { /* margin: 0px; */ }
2020-03-05 00:17:16 +01:00
. dolgraphchart canvas { width : calc ( 100 % - 20 px ) ! important ; }
2015-03-22 18:09:22 +01:00
. legendColorBox , . legendLabel { border : none ! important ; }
div . dolgraph div . legend , div . dolgraph div . legend div { background - color : rgba ( 255 , 255 , 255 , 0 ) ! important ; }
div . dolgraph div . legend table tbody tr { height : auto ; }
2015-09-22 01:25:06 +02:00
td . legendColorBox { padding : 2 px 2 px 2 px 0 ! important ; }
td . legendLabel { padding : 2 px 2 px 2 px 0 ! important ; }
2019-08-30 04:14:45 +02:00
td . legendLabel {
2021-02-26 13:31:09 +01:00
text - align : < ? php echo $left ; ?> ;
2019-08-30 04:14:45 +02:00
}
2015-03-22 18:09:22 +01:00
2018-02-15 12:57:04 +01:00
label . radioprivate {
2021-02-26 13:31:09 +01:00
white - space : nowrap ;
2018-02-15 12:57:04 +01:00
}
2015-03-22 18:09:22 +01:00
. photo {
border : 0 px ;
}
. photowithmargin {
margin - bottom : 2 px ;
margin - top : 2 px ;
}
2019-12-22 13:25:58 +01:00
div . divphotoref > a > . photowithmargin { /* Margin right for photo not inside a div.photoref frame only */
2021-02-26 13:31:09 +01:00
margin - right : 15 px ;
2019-12-22 13:25:58 +01:00
}
2017-05-04 19:11:19 +02:00
. photowithborder {
border : 1 px solid #f0f0f0;
2015-10-09 17:21:38 +02:00
}
2021-05-12 22:52:50 +02:00
. photointooltip {
2015-03-24 22:24:15 +01:00
margin - top : 8 px ;
2017-11-18 13:09:12 +01:00
margin - bottom : 6 px ;
2021-05-12 22:52:50 +02:00
text - align : center ! important ;
2015-09-22 01:25:06 +02:00
}
. photodelete {
margin - top : 6 px ! important ;
2015-03-24 22:24:15 +01:00
}
2015-03-22 18:09:22 +01:00
. logo_setup
{
2019-01-27 11:55:16 +01:00
content : url ( < ? php echo dol_buildpath ( $path . '/theme/' . $theme . '/img/logo_setup.svg' , 1 ) ?> ); /* content is used to best fit the container */
2015-09-22 01:25:06 +02:00
display : inline - block ;
2015-03-22 18:09:22 +01:00
}
2016-04-22 12:11:57 +02:00
. nographyet
{
2019-01-27 11:55:16 +01:00
content : url ( < ? php echo dol_buildpath ( $path . '/theme/' . $theme . '/img/nographyet.svg' , 1 ) ?> );
2016-04-22 12:11:57 +02:00
display : inline - block ;
2021-02-26 13:31:09 +01:00
opacity : 0.1 ;
background - repeat : no - repeat ;
2016-04-22 12:11:57 +02:00
}
. nographyettext
{
2021-02-26 13:31:09 +01:00
opacity : 0.5 ;
2016-04-22 12:11:57 +02:00
}
2015-03-22 18:09:22 +01:00
div . titre {
2017-05-05 20:41:44 +02:00
font - size : 14 px ;
2015-03-22 18:09:22 +01:00
text - decoration : none ;
2017-05-05 20:41:44 +02:00
padding - top : 5 px ;
2021-02-26 13:31:09 +01:00
padding - bottom : 5 px ;
text - transform : uppercase ;
2015-10-14 23:50:36 +02:00
/* text-shadow: 1px 1px 2px #FFFFFF; */
2015-03-22 18:09:22 +01:00
}
2020-08-30 17:42:49 +02:00
div . titre {
color : var ( -- colortexttitlenotab );
}
. secondary {
2020-05-25 10:58:18 +02:00
color : var ( -- colortexttitlenotab );
}
. tertiary {
2020-04-11 12:41:53 +02:00
color : var ( -- colortexttitlenotab );
2019-03-10 14:45:16 +01:00
}
2015-03-22 18:09:22 +01:00
2019-11-20 14:40:52 +01:00
table . centpercent . notopnoleftnoright . table - fiche - title {
margin - bottom : 10 px ! important ;
}
2019-10-11 09:17:17 +02:00
table . table - fiche - title . col - title div . titre {
line - height : 40 px ;
}
2020-01-24 17:48:24 +01:00
div . backgreypublicpayment { background - color : #f0f0f0; padding: 20px; border-bottom: 1px solid #ddd; }
. backgreypublicpayment a { color : #222 !important; }
. poweredbypublicpayment {
float : right ;
top : 8 px ;
2021-02-26 13:31:09 +01:00
right : 8 px ;
position : absolute ;
font - size : 0.8 em ;
color : #222;
opacity : 0.3 ;
2020-01-24 17:48:24 +01:00
}
span . buttonpaymentsmall {
2021-02-26 13:31:09 +01:00
text - shadow : none ;
2020-01-24 17:48:24 +01:00
}
2018-04-30 14:39:12 +02:00
#dolpaymenttable { min-width: 320px; font-size: 16px; } /* Width must have min to make stripe input area visible. Lower than 320 makes input area crazy for credit card that need zip code */
2017-09-11 03:38:39 +02:00
#tablepublicpayment { border: 1px solid #CCCCCC !important; width: 100%; padding: 20px; }
2015-03-22 18:09:22 +01:00
#tablepublicpayment .CTableRow1 { background-color: #F0F0F0 !important; }
#tablepublicpayment tr.liste_total { border-bottom: 1px solid #CCCCCC !important; }
#tablepublicpayment tr.liste_total td { border-top: none; }
2017-06-09 17:29:34 +02:00
. divmainbodylarge { margin - left : 40 px ; margin - right : 40 px ; }
#divsubscribe { max-width: 900px; }
2015-03-22 18:09:22 +01:00
#tablesubscribe { width: 100%; }
2017-11-19 12:22:01 +01:00
div #card-element {
2021-02-26 13:31:09 +01:00
border : 1 px solid #ccc;
2017-11-19 12:22:01 +01:00
}
div #card-errors {
color : #fa755a;
2021-02-26 13:31:09 +01:00
text - align : center ;
padding - top : 3 px ;
max - width : 320 px ;
2017-11-19 12:22:01 +01:00
}
2015-03-22 18:09:22 +01:00
/*
* Effect Postit
*/
2017-11-19 12:22:01 +01:00
2015-03-22 18:09:22 +01:00
. effectpostit
{
position : relative ;
}
. effectpostit : before , . effectpostit : after
{
z - index : - 1 ;
position : absolute ;
content : " " ;
bottom : 15 px ;
left : 10 px ;
width : 50 % ;
top : 80 % ;
max - width : 300 px ;
background : #777;
- webkit - box - shadow : 0 15 px 10 px #777;
box - shadow : 0 15 px 10 px #777;
- webkit - transform : rotate ( - 3 deg );
- moz - transform : rotate ( - 3 deg );
- o - transform : rotate ( - 3 deg );
- ms - transform : rotate ( - 3 deg );
transform : rotate ( - 3 deg );
}
. effectpostit : after
{
- webkit - transform : rotate ( 3 deg );
- moz - transform : rotate ( 3 deg );
- o - transform : rotate ( 3 deg );
- ms - transform : rotate ( 3 deg );
transform : rotate ( 3 deg );
right : 10 px ;
left : auto ;
}
/* ============================================================================== */
/* Formulaire confirmation (When Ajax JQuery is used) */
/* ============================================================================== */
. ui - dialog - titlebar {
}
. ui - dialog - content {
2021-02-26 13:31:09 +01:00
font - size : < ? php print $fontsize ; ?> px !important;
2015-03-22 18:09:22 +01:00
}
2019-11-20 14:40:52 +01:00
/* ============================================================================== */
/* For content of image preview */
/* ============================================================================== */
/*
. ui - dialog - content . ui - widget - content > object {
2021-02-26 13:31:09 +01:00
max - height : none ;
width : auto ; margin - left : auto ; margin - right : auto ; display : block ;
2019-11-20 14:40:52 +01:00
}
*/
2015-03-22 18:09:22 +01:00
/* ============================================================================== */
/* Formulaire confirmation (When HTML is used) */
/* ============================================================================== */
table . valid {
2021-02-26 13:31:09 +01:00
/* border-top: solid 1px #E6E6E6; */
border -< ? php print $left ; ?> : solid 5px #f2cf87;
/* border -< ? php print $right ; ?> : solid 1px #444444;
border - bottom : solid 1 px #555555; */
2018-01-11 20:33:09 +01:00
padding - top : 8 px ;
padding - left : 10 px ;
padding - right : 4 px ;
padding - bottom : 4 px ;
2015-03-22 18:09:22 +01:00
margin : 0 px 0 px ;
2021-02-26 13:31:09 +01:00
background : #fcf8e3;
2015-03-22 18:09:22 +01:00
}
. validtitre {
font - weight : bold ;
}
/* ============================================================================== */
/* Tooltips */
/* ============================================================================== */
2017-10-22 21:15:08 +02:00
/* For tooltip using dialog */
. ui - dialog . highlight . ui - widget . ui - widget - content . ui - front {
2021-02-26 13:31:09 +01:00
z - index : 3000 ;
2017-10-22 21:15:08 +02:00
}
2017-10-26 12:34:53 +02:00
div . ui - tooltip {
2019-01-27 11:55:16 +01:00
max - width : < ? php print dol_size ( 600 , 'width' ); ?> px !important;
2017-10-26 12:34:53 +02:00
}
2020-09-13 15:21:45 +02:00
div . ui - tooltip . mytooltip {
2019-01-27 11:55:16 +01:00
width : < ? php print dol_size ( 450 , 'width' ); ?> px;
2017-10-22 21:15:08 +02:00
border - top : solid 1 px #BBBBBB;
border -< ? php print $left ; ?> : solid 1px #BBBBBB;
border -< ? php print $right ; ?> : solid 1px #444444;
border - bottom : solid 1 px #444444;
2020-09-13 15:21:45 +02:00
padding : 10 px 20 px ;
2017-10-22 21:15:08 +02:00
border - radius : 0 ;
box - shadow : 0 0 4 px grey ;
margin : 2 px ;
font - stretch : condensed ;
2020-09-13 15:21:45 +02:00
/* background : var ( -- tooltipbgcolor ) ! important ;
color : var ( -- tooltipfontcolor ); */
line - height : 1.6 em ;
2015-03-22 18:09:22 +01:00
}
2017-10-22 21:15:08 +02:00
2015-03-22 18:09:22 +01:00
/* ============================================================================== */
/* Calendar */
/* ============================================================================== */
2018-03-02 11:18:29 +01:00
. ui - datepicker - calendar . ui - state - default , . ui - datepicker - calendar . ui - widget - content . ui - state - default ,
. ui - datepicker - calendar . ui - widget - header . ui - state - default , . ui - datepicker - calendar . ui - button ,
html . ui - datepicker - calendar . ui - button . ui - state - disabled : hover , html . ui - button . ui - state - disabled : active
{
2021-02-26 13:31:09 +01:00
border : unset ;
2018-03-02 11:18:29 +01:00
}
2015-03-22 18:09:22 +01:00
img . datecallink { padding - left : 2 px ! important ; padding - right : 2 px ! important ; }
. ui - datepicker - trigger {
vertical - align : middle ;
cursor : pointer ;
2017-10-31 23:57:37 +01:00
padding - left : 2 px ;
padding - right : 2 px ;
2015-03-22 18:09:22 +01:00
}
. bodyline {
2015-05-10 15:08:53 +02:00
- webkit - border - radius : 4 px ;
border - radius : 4 px ;
2015-03-22 18:09:22 +01:00
border : 1 px #E4ECEC outset;
padding : 0 px ;
margin - bottom : 5 px ;
}
table . dp {
2021-02-26 13:31:09 +01:00
width : 180 px ;
background - color : #FFFFFF;
/* border - top : solid 2 px #f4f4f4;
border -< ? php print $left ; ?> : solid 2px #f4f4f4;
border -< ? php print $right ; ?> : solid 1px #222222;
border - bottom : solid 1 px #222222; */
padding : 0 px ;
2015-03-22 18:09:22 +01:00
border - spacing : 0 px ;
border - collapse : collapse ;
}
. dp td , . tpHour td , . tpMinute td { padding : 2 px ; font - size : 10 px ;}
/* Barre titre */
. dpHead , . tpHead , . tpHour td : Hover . tpHead {
font - weight : bold ;
2015-12-05 17:49:08 +01:00
background - color : #888;
2015-03-22 18:09:22 +01:00
color : white ;
font - size : 11 px ;
cursor : auto ;
}
/* Barre navigation */
. dpButtons , . tpButtons {
text - align : center ;
2015-12-05 17:49:08 +01:00
background - color : #888;
2015-03-22 18:09:22 +01:00
color : #FFFFFF;
font - weight : bold ;
cursor : pointer ;
}
. dpButtons : Active , . tpButtons : Active { border : 1 px outset black ;}
. dpDayNames td , . dpExplanation { background - color : #D9DBE1; font-weight:bold; text-align:center; font-size:11px;}
. dpExplanation { font - weight : normal ; font - size : 11 px ;}
. dpWeek td { text - align : center }
. dpToday , . dpReg , . dpSelected {
cursor : pointer ;
}
2015-05-12 06:58:29 +02:00
. dpToday { font - weight : bold ; color : black ; background - color : #f4f4f4;}
2015-03-22 18:09:22 +01:00
. dpReg : Hover , . dpToday : Hover { background - color : black ; color : white }
/* Jour courant */
. dpSelected { background - color : #0B63A2;color:white;font-weight:bold; }
2015-05-12 06:58:29 +02:00
. tpHour { border - top : 1 px solid #f4f4f4; border-right:1px solid #f4f4f4;}
. tpHour td { border - left : 1 px solid #f4f4f4; border-bottom:1px solid #f4f4f4; cursor:pointer;}
2015-03-22 18:09:22 +01:00
. tpHour td : Hover { background - color : black ; color : white ;}
. tpMinute { margin - top : 5 px ;}
. tpMinute td : Hover { background - color : black ; color : white ; }
. tpMinute td { background - color : #D9DBE1; text-align:center; cursor:pointer;}
/* Bouton X fermer */
. dpInvisibleButtons
{
2021-02-26 13:31:09 +01:00
border - style : none ;
background - color : transparent ;
padding : 0 px ;
font - size : 0.85 em ;
border - width : 0 px ;
color : #eee;
vertical - align : middle ;
cursor : pointer ;
2015-03-22 18:09:22 +01:00
}
2016-01-01 23:44:23 +01:00
. datenowlink
{
color : rgb ( < ? php print $colortextlink ; ?> );
}
2015-03-22 18:09:22 +01:00
2016-02-16 15:01:28 +01:00
. categtextwhite , . treeview . categtextwhite . hover {
color : #fff !important;
}
. categtextblack {
color : #000 !important;
}
2015-03-22 18:09:22 +01:00
/* ============================================================================== */
2021-05-12 11:51:39 +02:00
/* Show/Hide */
2015-03-22 18:09:22 +01:00
/* ============================================================================== */
div . visible {
2021-02-26 13:31:09 +01:00
display : block ;
2015-03-22 18:09:22 +01:00
}
2021-02-18 13:56:13 +01:00
div . hidden , td . hidden , img . hidden , span . hidden , div . showifmore {
2021-02-26 13:31:09 +01:00
display : none ;
2015-03-22 18:09:22 +01:00
}
tr . visible {
2021-02-26 13:31:09 +01:00
display : block ;
2015-03-22 18:09:22 +01:00
}
2016-04-19 11:02:55 +02:00
/* ============================================================================== */
/* Module website */
/* ============================================================================== */
2020-03-11 12:53:41 +01:00
. exampleapachesetup {
2021-02-26 13:31:09 +01:00
overflow - y : auto ;
max - height : 100 px ;
font - size : 0.8 em ;
border : 1 px solid #aaa;
2020-03-11 12:53:41 +01:00
}
span [ phptag ] {
2017-12-17 16:24:47 +01:00
background : #ddd; border: 1px solid #ccc; border-radius: 4px;
}
2017-11-15 19:47:07 +01:00
. nobordertransp {
2021-02-26 13:31:09 +01:00
border : 0 px ;
background - color : transparent ;
background - image : none ;
color : #000 !important;
text - shadow : none ;
2017-11-15 19:47:07 +01:00
}
2019-08-15 18:59:08 +02:00
. bordertransp {
2021-02-26 13:31:09 +01:00
background - color : transparent ;
background - image : none ;
border : 1 px solid #aaa;
2019-08-15 18:59:08 +02:00
font - weight : normal ;
2019-11-09 11:30:08 +01:00
color : #444 !important;
2019-08-15 18:59:08 +02:00
}
2016-04-19 11:02:55 +02:00
. websitebar {
2017-11-15 19:47:07 +01:00
border - bottom : 1 px solid #ccc;
2016-05-01 16:34:50 +02:00
background : #eee;
2019-11-09 11:30:08 +01:00
display : inline - block ;
2021-02-26 13:31:09 +01:00
padding : 4 px 0 4 px 0 ;
2016-04-19 11:02:55 +02:00
}
2019-11-20 14:40:52 +01:00
. websitebar . buttonDelete , . websitebar . button {
text - shadow : none ;
}
2017-01-23 13:36:14 +01:00
. websitebar . button , . websitebar . buttonDelete
2016-05-01 17:01:38 +02:00
{
padding : 2 px 4 px 2 px 4 px ! important ;
margin : 2 px 4 px 2 px 4 px ! important ;
2021-02-26 13:31:09 +01:00
line - height : normal ;
2016-05-01 17:01:38 +02:00
}
2019-11-09 11:30:08 +01:00
. websitebar input . button . bordertransp , . websitebar input . buttonDelete . bordertransp {
2021-02-26 13:31:09 +01:00
color : #444 !important;
text - shadow : none ;
2019-11-09 11:30:08 +01:00
}
2016-04-19 11:02:55 +02:00
. websiteselection {
2019-11-09 11:30:08 +01:00
/* display: inline-block; */
2016-04-19 11:02:55 +02:00
padding - left : 10 px ;
2017-01-23 13:36:14 +01:00
vertical - align : middle ;
2016-04-19 11:02:55 +02:00
}
. websitetools {
float : right ;
2016-09-17 21:03:20 +02:00
}
2017-11-15 19:47:07 +01:00
. websiteselection , . websitetools {
2019-11-20 14:40:52 +01:00
/* margin - top : 3 px ;
2017-11-15 19:47:07 +01:00
padding - top : 3 px ;
2019-11-20 14:40:52 +01:00
padding - bottom : 3 px ; */
2017-11-15 19:47:07 +01:00
}
2016-09-17 21:03:20 +02:00
. websiteinputurl {
2021-02-26 13:31:09 +01:00
display : inline - block ;
vertical - align : top ;
line - height : 28 px ;
2016-09-17 21:03:20 +02:00
}
. websiteiframenoborder {
border : 0 px ;
}
2019-11-20 14:40:52 +01:00
span . websitebuttonsitepreview , a . websitebuttonsitepreview {
vertical - align : middle ;
}
2018-02-15 01:29:51 +01:00
span . websitebuttonsitepreview img , a . websitebuttonsitepreview img {
2016-09-17 21:03:20 +02:00
width : 26 px ;
display : inline - block ;
2016-04-19 11:02:55 +02:00
}
2018-02-15 01:29:51 +01:00
span . websitebuttonsitepreviewdisabled img , a . websitebuttonsitepreviewdisabled img {
2017-07-20 18:31:58 +02:00
opacity : 0.2 ;
}
2016-05-01 16:34:50 +02:00
. websiteiframenoborder {
border : 0 px ;
}
2017-07-20 16:49:20 +02:00
. websitehelp {
2021-02-26 13:31:09 +01:00
vertical - align : middle ;
float : right ;
padding - top : 8 px ;
2017-07-20 16:49:20 +02:00
}
2019-11-20 14:40:52 +01:00
. websiteselectionsection {
border - left : 1 px solid #bbb;
border - right : 1 px solid #bbb;
margin - left : 0 px ;
padding - left : 8 px ;
margin - right : 5 px ;
}
2020-01-09 17:16:30 +01:00
. websitebar input #previewpageurl {
2021-02-26 13:31:09 +01:00
line - height : 1 em ;
2020-01-09 17:16:30 +01:00
}
2019-11-20 14:40:52 +01:00
2021-02-21 14:46:52 +01:00
#divbodywebsite section p {
2021-02-26 13:31:09 +01:00
margin : unset ;
2021-02-21 14:46:52 +01:00
}
2016-04-19 11:02:55 +02:00
2015-03-22 18:09:22 +01:00
/* ============================================================================== */
/* Module agenda */
/* ============================================================================== */
2017-10-31 23:57:37 +01:00
. dayevent . tagtr : first - of - type {
2021-02-26 13:31:09 +01:00
height : 24 px ;
2017-10-31 23:57:37 +01:00
}
2017-04-01 00:35:05 +02:00
. agendacell { height : 60 px ; }
2015-03-22 18:09:22 +01:00
table . cal_month { border - spacing : 0 px ; }
2015-12-04 20:51:34 +01:00
table . cal_month td : first - child { border - left : 0 px ; }
table . cal_month td : last - child { border - right : 0 px ; }
2015-03-22 18:09:22 +01:00
. cal_current_month { border - top : 0 ; border - left : solid 1 px #E0E0E0; border-right: 0; border-bottom: solid 1px #E0E0E0; }
2016-05-17 02:41:06 +02:00
. cal_current_month_peruserleft { border - top : 0 ; border - left : solid 2 px #6C7C7B; border-right: 0; border-bottom: solid 1px #E0E0E0; }
2015-03-22 18:09:22 +01:00
. cal_current_month_oneday { border - right : solid 1 px #E0E0E0; }
. cal_other_month { border - top : 0 ; border - left : solid 1 px #C0C0C0; border-right: 0; border-bottom: solid 1px #C0C0C0; }
2016-05-17 02:41:06 +02:00
. cal_other_month_peruserleft { border - top : 0 ; border - left : solid 2 px #6C7C7B !important; border-right: 0; }
2015-03-22 18:09:22 +01:00
. cal_current_month_right { border - right : solid 1 px #E0E0E0; }
. cal_other_month_right { border - right : solid 1 px #C0C0C0; }
2017-04-10 17:25:53 +02:00
. cal_other_month { /* opacity: 0.6; */ background : #EAEAEA; padding-<?php print $left; ?>: 2px; padding-<?php print $right; ?>: 1px; padding-top: 0px; padding-bottom: 0px; }
. cal_past_month { /* opacity: 0.6; */ background : #EEEEEE; padding-<?php print $left; ?>: 2px; padding-<?php print $right; ?>: 1px; padding-top: 0px; padding-bottom: 0px; }
2015-03-22 18:09:22 +01:00
. cal_current_month { background : #FFFFFF; border-left: solid 1px #E0E0E0; padding-<?php print $left; ?>: 2px; padding-<?php print $right; ?>: 1px; padding-top: 0px; padding-bottom: 0px; }
2016-05-17 02:41:06 +02:00
. cal_current_month_peruserleft { background : #FFFFFF; border-left: solid 2px #6C7C7B; padding-<?php print $left; ?>: 2px; padding-<?php print $right; ?>: 1px; padding-top: 0px; padding-bottom: 0px; }
2015-03-22 18:09:22 +01:00
. cal_today { background : #FDFDF0; border-left: solid 1px #E0E0E0; border-bottom: solid 1px #E0E0E0; padding-<?php print $left; ?>: 2px; padding-<?php print $right; ?>: 1px; padding-top: 0px; padding-bottom: 0px; }
. cal_today_peruser { background : #FDFDF0; border-right: solid 1px #E0E0E0; border-bottom: solid 1px #E0E0E0; padding-<?php print $left; ?>: 2px; padding-<?php print $right; ?>: 1px; padding-top: 0px; padding-bottom: 0px; }
2016-05-17 02:41:06 +02:00
. cal_today_peruser_peruserleft { background : #FDFDF0; border-left: solid 2px #6C7C7B; border-right: solid 1px #E0E0E0; border-bottom: solid 1px #E0E0E0; padding-<?php print $left; ?>: 2px; padding-<?php print $right; ?>: 1px; padding-top: 0px; padding-bottom: 0px; }
2015-03-22 18:09:22 +01:00
. cal_past { }
. cal_peruser { padding : 0 px ; }
2015-09-22 01:25:06 +02:00
. cal_impair { background : #F8F8F8; }
. cal_today_peruser_impair { background : #F8F8F0; }
2015-03-22 18:09:22 +01:00
. peruser_busy { background : #CC8888; }
. peruser_notbusy { background : #EEDDDD; opacity: 0.5; }
2020-08-29 03:52:27 +02:00
div . event { margin : 8 px ; border - radius : 4 px ; box - shadow : 2 px 2 px 5 px rgba ( 100 , 100 , 100 , 0.2 ); }
2017-04-01 00:35:05 +02:00
table . cal_event { border : none ; border - collapse : collapse ; margin - bottom : 1 px ; - webkit - border - radius : 3 px ; border - radius : 3 px ; min - height : 20 px ; }
2015-03-22 18:09:22 +01:00
table . cal_event td { border : none ; padding -< ? php print $left ; ?> : 2px; padding-<?php print $right; ?>: 2px; padding-top: 0px; padding-bottom: 0px; }
2021-03-29 13:41:28 +02:00
table . cal_event td . cal_event { padding : 4 px 4 px ! important ; padding - bottom : 2 px ! important ; padding - top : 2 px ! important ; }
2015-05-03 21:15:08 +02:00
table . cal_event td . cal_event_right { padding : 4 px 4 px ! important ; }
2018-03-07 11:53:30 +01:00
. cal_event { font - size : 1 em ; }
. cal_event a : link { color : #111111; font-weight: normal !important; }
. cal_event a : visited { color : #111111; font-weight: normal !important; }
. cal_event a : active { color : #111111; font-weight: normal !important; }
. cal_event_busy a : hover { color : #111111; font-weight: normal !important; color:rgba(255,255,255,.75); }
2015-03-22 18:09:22 +01:00
. cal_event_busy { }
2018-02-06 10:03:06 +01:00
. cal_peruserviewname { max - width : 140 px ; height : 22 px ; }
2015-03-22 18:09:22 +01:00
2019-11-20 14:40:52 +01:00
. calendarviewcontainertr { height : 100 px ; }
2015-03-22 18:09:22 +01:00
. topmenuimage {
2019-10-10 22:52:11 +02:00
background - size : 24 px auto ;
2015-03-22 18:09:22 +01:00
}
2019-12-06 12:42:05 +01:00
td . cal_other_month {
opacity : 0.8 ;
}
2015-03-22 18:09:22 +01:00
/* ============================================================================== */
/* Ajax - Liste deroulante de l'autocompletion */
/* ============================================================================== */
. ui - widget - content { border : solid 1 px rgba ( 0 , 0 , 0 , . 3 ); background : #fff !important; }
2019-01-27 11:55:16 +01:00
. ui - autocomplete - loading { background : white url ( < ? php echo dol_buildpath ( $path . '/theme/' . $theme . '/img/working.gif' , 1 ) ?> ) right center no-repeat; }
2015-03-22 18:09:22 +01:00
. ui - autocomplete {
2021-02-26 13:31:09 +01:00
position : absolute ;
width : auto ;
font - size : 1.0 em ;
background - color : white ;
border : 1 px solid #888;
margin : 0 px ;
2015-03-22 18:09:22 +01:00
/* padding:0px; This make combo crazy */
2021-02-26 13:31:09 +01:00
}
2015-03-22 18:09:22 +01:00
. ui - autocomplete ul {
2021-02-26 13:31:09 +01:00
list - style - type : none ;
margin : 0 px ;
padding : 0 px ;
}
2015-03-22 18:09:22 +01:00
. ui - autocomplete ul li . selected { background - color : #D3E5EC;}
. ui - autocomplete ul li {
2021-02-26 13:31:09 +01:00
list - style - type : none ;
display : block ;
margin : 0 ;
padding : 2 px ;
height : 18 px ;
cursor : pointer ;
}
2015-03-22 18:09:22 +01:00
2017-07-29 01:59:26 +02:00
/* ============================================================================== */
/* Gantt
/* ============================================================================== */
td . gtaskname {
2021-02-26 13:31:09 +01:00
overflow : hidden ;
text - overflow : ellipsis ;
2017-07-29 01:59:26 +02:00
}
2015-03-22 18:09:22 +01:00
/* ============================================================================== */
2017-12-20 12:45:38 +01:00
/* jQuery - jeditable for inline edit */
2015-03-22 18:09:22 +01:00
/* ============================================================================== */
. editkey_textarea , . editkey_ckeditor , . editkey_string , . editkey_email , . editkey_numeric , . editkey_select , . editkey_autocomplete {
2019-01-27 11:55:16 +01:00
background : url ( < ? php echo dol_buildpath ( $path . '/theme/' . $theme . '/img/edit.png' , 1 ) ?> ) right top no-repeat;
2015-03-22 18:09:22 +01:00
cursor : pointer ;
2017-12-20 12:45:38 +01:00
margin - right : 3 px ;
2017-12-20 15:09:58 +01:00
margin - top : 3 px ;
2015-03-22 18:09:22 +01:00
}
. editkey_datepicker {
2019-01-27 11:55:16 +01:00
background : url ( < ? php echo dol_buildpath ( $path . '/theme/' . $theme . '/img/calendar.png' , 1 ) ?> ) right center no-repeat;
2015-03-22 18:09:22 +01:00
cursor : pointer ;
2017-12-20 12:45:38 +01:00
margin - right : 3 px ;
2017-12-20 15:09:58 +01:00
margin - top : 3 px ;
2015-03-22 18:09:22 +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 {
background : white ;
cursor : pointer ;
}
. viewval_textarea . active : hover , . viewval_ckeditor . active : hover , . viewval_string . active : hover , . viewval_email . active : hover , . viewval_numeric . active : hover , . viewval_select . active : hover , . viewval_autocomplete . active : hover , . viewval_datepicker . active : hover {
background : white ;
cursor : pointer ;
}
. viewval_hover {
background : white ;
}
/* ============================================================================== */
/* Admin Menu */
/* ============================================================================== */
/* CSS for treeview */
2021-05-18 14:13:08 +02:00
. treeview ul { background - color : transparent ! important ; margin - bottom : 4 px ! important ; margin - top : 0 ! important ; padding - top : 8 px ! important ; }
. treeview li { background - color : transparent ! important ; padding : 0 0 0 16 px ! important ; min - height : 30 px ; }
. treeview . hover { color : var ( -- colortextlink ) ! important ; text - decoration : underline ! important ; }
. treeview . hitarea { margin - top : 3 px ; }
2015-03-22 18:09:22 +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 : #222222;
color : white ;
font - weight : bold ;
border - style : groove ;
border : 1 px solid ;
cursor : pointer ;
}
/* ============================================================================== */
/* CSS for color picker */
/* ============================================================================== */
A . color , A . color : active , A . color : visited {
position : relative ;
display : block ;
text - decoration : none ;
width : 10 px ;
height : 10 px ;
line - height : 10 px ;
margin : 0 px ;
padding : 0 px ;
border : 1 px inset white ;
}
A . color : hover {
border : 1 px outset white ;
}
A . none , A . none : active , A . none : visited , A . none : hover {
position : relative ;
display : block ;
text - decoration : none ;
width : 10 px ;
height : 10 px ;
line - height : 10 px ;
margin : 0 px ;
padding : 0 px ;
cursor : default ;
border : 1 px solid #b3c5cc;
}
. tblColor {
display : none ;
}
. tdColor {
padding : 1 px ;
}
. tblContainer {
background - color : #b3c5cc;
}
. tblGlobal {
position : absolute ;
top : 0 px ;
left : 0 px ;
display : none ;
background - color : #b3c5cc;
border : 2 px outset ;
}
. tdContainer {
padding : 5 px ;
}
. tdDisplay {
width : 50 % ;
height : 20 px ;
line - height : 20 px ;
border : 1 px outset white ;
}
. tdDisplayTxt {
width : 50 % ;
height : 24 px ;
line - height : 12 px ;
font - family : < ? php print $fontlist ?> ;
font - size : 8 pt ;
color : black ;
text - align : center ;
}
. btnColor {
width : 100 % ;
font - family : < ? php print $fontlist ?> ;
font - size : 10 pt ;
padding : 0 px ;
margin : 0 px ;
}
. btnPalette {
width : 100 % ;
font - family : < ? php print $fontlist ?> ;
font - size : 8 pt ;
padding : 0 px ;
margin : 0 px ;
}
/* Style to overwrites JQuery styles */
2017-12-20 20:18:41 +01:00
. ui - state - highlight , . ui - widget - content . ui - state - highlight , . ui - widget - header . ui - state - highlight {
2021-02-26 13:31:09 +01:00
border : 1 px solid #888;
background : rgb ( < ? php echo $colorbacktitle1 ; ?> );
color : unset ;
2017-12-20 20:18:41 +01:00
}
2015-03-22 18:09:22 +01:00
. ui - menu . ui - menu - item a {
2021-02-26 13:31:09 +01:00
text - decoration : none ;
display : block ;
padding :. 2 em . 4 em ;
line - height : 1.5 ;
font - weight : normal ;
font - family :< ? php echo $fontlist ; ?> ;
font - size : 1 em ;
2015-03-22 18:09:22 +01:00
}
. ui - widget {
2021-02-26 13:31:09 +01:00
font - family :< ? php echo $fontlist ; ?> ;
2015-03-22 18:09:22 +01:00
}
2019-11-08 15:51:54 +01:00
. ui - button { margin - left : - 2 px ; < ? php print ( preg_match ( '/chrome/' , $conf -> browser -> name ) ? 'padding-top: 1px;' : '' ); ?> }
2015-03-22 18:09:22 +01:00
. ui - button - icon - only . ui - button - text { height : 8 px ; }
. ui - button - icon - only . ui - button - text , . ui - button - icons - only . ui - button - text { padding : 2 px 0 px 6 px 0 px ; }
. ui - button - text
{
2021-02-26 13:31:09 +01:00
line - height : 1 em ! important ;
2015-03-22 18:09:22 +01:00
}
. ui - autocomplete - input { margin : 0 ; padding : 4 px ; }
/* ============================================================================== */
/* CKEditor */
/* ============================================================================== */
2019-11-20 14:40:52 +01:00
body . cke_show_borders {
2021-02-26 13:31:09 +01:00
margin : 5 px ! important ;
2019-11-20 14:40:52 +01:00
}
2017-02-28 10:49:58 +01:00
. cke_dialog {
2021-02-26 13:31:09 +01:00
border : 1 px #bbb solid ! important;
2017-02-28 10:49:58 +01:00
}
/*. cke_editor table , . cke_editor tr , . cke_editor td
2015-03-22 18:09:22 +01:00
{
2021-02-26 13:31:09 +01:00
border : 0 px solid #FF0000 !important;
2015-03-22 18:09:22 +01:00
}
2017-02-28 10:49:58 +01:00
span . cke_skin_kama { padding : 0 ! important ; } */
2015-03-22 18:09:22 +01:00
. cke_wrapper { padding : 4 px ! important ; }
a . cke_dialog_ui_button
{
2021-02-26 13:31:09 +01:00
font - family : < ? php print $fontlist ?> !important;
2015-03-22 18:09:22 +01:00
background - image : url ( < ? php echo $img_button ?> ) !important;
background - position : bottom ! important ;
2021-02-26 13:31:09 +01:00
border : 1 px solid #C0C0C0 !important;
2015-05-10 15:08:53 +02:00
- webkit - border - radius : 0 px 2 px 0 px 2 px ! important ;
border - radius : 0 px 2 px 0 px 2 px ! important ;
2021-02-26 13:31:09 +01:00
- webkit - box - shadow : 3 px 3 px 4 px #f4f4f4 !important;
box - shadow : 3 px 3 px 4 px #f4f4f4 !important;
2015-03-22 18:09:22 +01:00
}
. cke_dialog_ui_hbox_last
{
vertical - align : bottom ! important ;
}
2017-12-12 01:40:34 +01:00
/*
2015-03-22 18:09:22 +01:00
. cke_editable
{
line - height : 1.4 ! important ;
margin : 6 px ! important ;
}
2017-12-12 01:40:34 +01:00
*/
2016-04-02 16:53:55 +02:00
a . cke_dialog_ui_button_ok span {
2021-02-26 13:31:09 +01:00
text - shadow : none ! important ;
color : #333 !important;
2016-04-02 16:53:55 +02:00
}
2015-03-22 18:09:22 +01:00
2017-07-18 14:27:51 +02:00
/* ============================================================================== */
/* ACE editor */
/* ============================================================================== */
. ace_editor {
2021-02-26 13:31:09 +01:00
border : 1 px solid #ddd;
2017-07-18 14:27:51 +02:00
margin : 0 ;
}
2017-07-19 16:38:00 +02:00
. aceeditorstatusbar {
2021-02-26 13:31:09 +01:00
margin : 0 ;
padding : 0 ;
padding -< ? php echo $left ; ?> : 10px;
left : 0 ;
right : 0 ;
bottom : 0 ;
color : #666;
height : 28 px ;
line - height : 2.2 em ;
2017-07-18 14:27:51 +02:00
}
. ace_status - indicator {
2021-02-26 13:31:09 +01:00
color : gray ;
position : relative ;
right : 0 ;
border - left : 1 px solid ;
2017-07-18 14:27:51 +02:00
}
pre #editfilecontentaceeditorid {
2021-02-26 13:31:09 +01:00
margin - top : 5 px ;
2017-07-18 14:27:51 +02:00
}
2015-03-22 18:09:22 +01:00
/* ============================================================================== */
/* File upload */
/* ============================================================================== */
. template - upload {
2021-02-26 13:31:09 +01:00
height : 72 px ! important ;
2015-03-22 18:09:22 +01:00
}
2020-01-25 22:43:24 +01:00
/* ============================================================================== */
/* Custom reports */
/* ============================================================================== */
. customreportsoutput , . customreportsoutputnotdata {
padding - top : 20 px ;
}
. customreportsoutputnotdata {
text - align : center ;
}
2015-03-22 18:09:22 +01:00
/* ============================================================================== */
/* Holiday */
/* ============================================================================== */
#types .btn {
2021-02-26 13:31:09 +01:00
cursor : pointer ;
2015-03-22 18:09:22 +01:00
}
#types .btn-primary {
2021-02-26 13:31:09 +01:00
font - weight : bold ;
2015-03-22 18:09:22 +01:00
}
#types form {
2021-02-26 13:31:09 +01:00
padding : 20 px ;
2015-03-22 18:09:22 +01:00
}
#types label {
2021-02-26 13:31:09 +01:00
display : inline - block ;
width : 100 px ;
margin - right : 20 px ;
padding : 4 px ;
text - align : right ;
vertical - align : top ;
2015-03-22 18:09:22 +01:00
}
#types input.text, #types textarea {
2021-02-26 13:31:09 +01:00
width : 400 px ;
2015-03-22 18:09:22 +01:00
}
#types textarea {
2021-02-26 13:31:09 +01:00
height : 100 px ;
2015-03-22 18:09:22 +01:00
}
2019-11-20 14:40:52 +01:00
/* ============================================================================== */
/* Comments */
/* ============================================================================== */
#comment div {
box - sizing : border - box ;
}
#comment .comment {
2021-02-26 13:31:09 +01:00
border - radius : 7 px ;
margin - bottom : 10 px ;
overflow : hidden ;
2019-11-20 14:40:52 +01:00
}
#comment .comment-table {
2021-02-26 13:31:09 +01:00
display : table ;
height : 100 % ;
2019-11-20 14:40:52 +01:00
}
#comment .comment-cell {
2021-02-26 13:31:09 +01:00
display : table - cell ;
2019-11-20 14:40:52 +01:00
}
#comment .comment-info {
2021-02-26 13:31:09 +01:00
font - size : 0.8 em ;
border - right : 1 px solid #dedede;
margin - right : 10 px ;
width : 160 px ;
text - align : center ;
background : rgba ( 255 , 255 , 255 , 0.5 );
vertical - align : middle ;
padding : 10 px 2 px ;
2019-11-20 14:40:52 +01:00
}
#comment .comment-info a {
2021-02-26 13:31:09 +01:00
color : inherit ;
2019-11-20 14:40:52 +01:00
}
#comment .comment-right {
2021-02-26 13:31:09 +01:00
vertical - align : top ;
2019-11-20 14:40:52 +01:00
}
#comment .comment-description {
2021-02-26 13:31:09 +01:00
padding : 10 px ;
vertical - align : top ;
2019-11-20 14:40:52 +01:00
}
#comment .comment-delete {
2021-02-26 13:31:09 +01:00
width : 100 px ;
text - align : center ;
vertical - align : middle ;
2019-11-20 14:40:52 +01:00
}
#comment .comment-delete:hover {
2021-02-26 13:31:09 +01:00
background : rgba ( 250 , 20 , 20 , 0.8 );
2019-11-20 14:40:52 +01:00
}
#comment .comment-edit {
2021-02-26 13:31:09 +01:00
width : 100 px ;
text - align : center ;
vertical - align : middle ;
2019-11-20 14:40:52 +01:00
}
#comment .comment-edit:hover {
2021-02-26 13:31:09 +01:00
background : rgba ( 0 , 184 , 148 , 0.8 );
2019-11-20 14:40:52 +01:00
}
#comment textarea {
2021-02-26 13:31:09 +01:00
width : 100 % ;
2019-11-20 14:40:52 +01:00
}
2015-03-22 18:09:22 +01:00
/* ============================================================================== */
/* JSGantt */
/* ============================================================================== */
div . scroll2 {
2019-11-08 15:51:54 +01:00
width : < ? php print isset ( $_SESSION [ 'dol_screenwidth' ]) ? max ( $_SESSION [ 'dol_screenwidth' ] - 830 , 450 ) : '450' ; ?> px !important;
2015-03-22 18:09:22 +01:00
}
2020-10-12 12:53:57 +02:00
div #GanttChartDIVglisthead, div#GanttChartDIVgcharthead {
2021-02-26 13:31:09 +01:00
line - height : 2 ;
2020-10-12 12:53:57 +02:00
}
. gtaskname div , . gtaskname , . gstartdate div , . gstartdate , . genddate div , . genddate {
2018-01-24 18:04:06 +01:00
font - size : unset ! important ;
}
2020-10-12 12:53:57 +02:00
2018-01-24 18:04:06 +01:00
div . gantt , . gtaskheading , . gmajorheading , . gminorheading , . gminorheadingwkend {
font - size : unset ! important ;
font - weight : normal ! important ;
color : #000 !important;
}
div . gTaskInfo {
2021-02-26 13:31:09 +01:00
background : #f0f0f0 !important;
2018-01-24 18:04:06 +01:00
}
. gtaskblue {
background : rgb ( 108 , 152 , 185 ) ! important ;
}
. gtaskgreen {
2021-02-26 13:31:09 +01:00
background : rgb ( 160 , 173 , 58 ) ! important ;
2018-01-24 18:04:06 +01:00
}
td . gtaskname {
2021-02-26 13:31:09 +01:00
overflow : hidden ;
text - overflow : ellipsis ;
2018-01-24 18:04:06 +01:00
}
td . gminorheadingwkend {
2021-02-26 13:31:09 +01:00
color : #888 !important;
2018-01-24 18:04:06 +01:00
}
td . gminorheading {
2021-02-26 13:31:09 +01:00
color : #666 !important;
2018-01-24 18:04:06 +01:00
}
. glistlbl , . glistgrid {
width : 582 px ! important ;
}
. gtaskname div , . gtaskname {
2021-02-26 13:31:09 +01:00
min - width : 250 px ! important ;
max - width : 250 px ! important ;
width : 250 px ! important ;
2018-01-24 18:04:06 +01:00
}
. gpccomplete div , . gpccomplete {
2021-02-26 13:31:09 +01:00
min - width : 40 px ! important ;
max - width : 40 px ! important ;
width : 40 px ! important ;
2018-01-24 18:04:06 +01:00
}
2020-12-15 02:32:56 +01:00
td . gtaskheading . gstartdate , td . gtaskheading . genddate {
2021-02-26 13:31:09 +01:00
white - space : break - spaces ;
2020-12-15 02:32:56 +01:00
}
2020-12-15 03:55:46 +01:00
. gtasktableh tr : nth - child ( 2 ) td : nth - child ( 2 ), . gtasktableh tr : nth - child ( 2 ) td : nth - child ( 3 ), . gtasktableh tr : nth - child ( 2 ) td : nth - child ( 4 ), . gtasktableh tr : nth - child ( 2 ) td : nth - child ( 5 ), . gtasktableh tr : nth - child ( 2 ) td : nth - child ( 6 ), . gtasktableh tr : nth - child ( 2 ) td : nth - child ( 7 ) {
2021-02-26 13:31:09 +01:00
color : transparent ! important ;
border - left : none ;
border - right : none ;
border - top : none ;
2020-12-15 03:55:46 +01:00
}
2018-01-24 18:04:06 +01:00
2015-03-22 18:09:22 +01:00
/* ============================================================================== */
/* jFileTree */
/* ============================================================================== */
. ecmfiletree {
width : 99 % ;
height : 99 % ;
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 {
2021-02-26 13:31:09 +01:00
position : relative ;
display : block ;
text - decoration : none ;
2015-03-22 18:09:22 +01:00
}
ul . filedirelem {
2021-02-26 13:31:09 +01:00
padding : 2 px ;
margin : 0 5 px 5 px 5 px ;
2015-03-22 18:09:22 +01:00
}
ul . filedirelem li {
2021-02-26 13:31:09 +01:00
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 #f4f4f4;
2015-03-22 18:09:22 +01:00
}
ul . ecmjqft {
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 ;
display : block ;
}
ul . ecmjqft a {
2017-02-22 19:36:57 +01:00
line - height : 24 px ;
2015-03-22 18:09:22 +01:00
vertical - align : middle ;
color : #333;
padding : 0 px 0 px ;
font - weight : normal ;
display : inline - block ! important ;
}
ul . ecmjqft a : active {
font - weight : bold ! important ;
}
ul . ecmjqft a : hover {
2021-02-26 13:31:09 +01:00
text - decoration : underline ;
2015-03-22 18:09:22 +01:00
}
2017-02-22 19:36:57 +01:00
2015-03-22 18:09:22 +01:00
div . ecmjqft {
vertical - align : middle ;
display : inline - block ! important ;
text - align : right ;
2017-02-22 19:36:57 +01:00
float : right ;
2015-03-22 18:09:22 +01:00
right : 4 px ;
2017-02-22 19:36:57 +01:00
clear : both ;
}
div #ecm-layout-west {
2021-02-26 13:31:09 +01:00
width : 380 px ;
vertical - align : top ;
2017-02-22 19:36:57 +01:00
}
div #ecm-layout-center {
2021-02-26 13:31:09 +01:00
width : calc ( 100 % - 390 px );
vertical - align : top ;
float : right ;
2015-03-22 18:09:22 +01:00
}
2019-01-27 11:55:16 +01: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/' . $theme . '/img/working.gif' , 1 ); ?> ) left top no-repeat; }
2015-03-22 18:09:22 +01:00
/* ============================================================================== */
/* jNotify */
/* ============================================================================== */
. jnotify - container {
position : fixed ! important ;
2019-11-08 15:51:54 +01:00
< ? php if ( ! empty ( $conf -> global -> MAIN_JQUERY_JNOTIFY_BOTTOM )) { ?>
2015-03-22 18:09:22 +01:00
top : auto ! important ;
bottom : 4 px ! important ;
< ? php } ?>
text - align : center ;
2019-11-08 15:51:54 +01:00
min - width : < ? php echo $dol_optimize_smallscreen ? '200' : '480' ; ?> px;
2015-03-22 18:09:22 +01:00
width : auto ;
2016-10-01 12:51:35 +02:00
max - width : 1024 px ;
2015-03-22 18:09:22 +01:00
padding - left : 10 px ! important ;
padding - right : 10 px ! important ;
2019-11-20 14:40:52 +01:00
word - wrap : break - word ;
2015-03-22 18:09:22 +01:00
}
2017-09-24 01:46:00 +02:00
. jnotify - container . jnotify - notification . jnotify - message {
font - weight : normal ;
}
. jnotify - container . jnotify - notification - warning . jnotify - close , . jnotify - container . jnotify - notification - warning . jnotify - message {
2021-02-26 13:31:09 +01:00
color : #a28918 !important;
2017-09-24 01:46:00 +02:00
}
2015-03-22 18:09:22 +01:00
/* use or not ? */
div . jnotify - background {
opacity : 0.95 ! important ;
2021-02-26 13:31:09 +01:00
- webkit - box - shadow : 2 px 2 px 4 px #888 !important;
box - shadow : 2 px 2 px 4 px #888 !important;
2015-03-22 18:09:22 +01:00
}
/* ============================================================================== */
/* blockUI */
/* ============================================================================== */
/*div.growlUI { background: url(check48.png) no-repeat 10px 10px }*/
div . dolEventValid h1 , div . dolEventValid h2 {
color : #567b1b;
background - color : #e3f0db;
padding : 5 px 5 px 5 px 5 px ;
text - align : left ;
}
div . dolEventError h1 , div . dolEventError h2 {
color : #a72947;
background - color : #d79eac;
padding : 5 px 5 px 5 px 5 px ;
text - align : left ;
}
/* ============================================================================== */
/* Maps */
/* ============================================================================== */
2019-11-20 14:40:52 +01:00
. divmap , #google-visualization-geomap-embed-0, #google-visualization-geomap-embed-1, #google-visualization-geomap-embed-2 {
2015-03-22 18:09:22 +01:00
}
/* ============================================================================== */
/* Datatable */
/* ============================================================================== */
2015-09-22 01:25:06 +02:00
table . dataTable tr . odd td . sorting_1 , table . dataTable tr . even td . sorting_1 {
background : none ! important ;
}
2019-01-27 11:55:16 +01:00
. sorting_asc { background : url ( '<?php echo dol_buildpath(' / theme / '.$theme.' / img / sort_asc . png ', 1); ?>' ) no - repeat center right ! important ; }
. sorting_desc { background : url ( '<?php echo dol_buildpath(' / theme / '.$theme.' / img / sort_desc . png ', 1); ?>' ) no - repeat center right ! important ; }
. sorting_asc_disabled { background : url ( '<?php echo dol_buildpath(' / theme / '.$theme.' / img / sort_asc_disabled . png ', 1); ?>' ) no - repeat center right ! important ; }
. sorting_desc_disabled { background : url ( '<?php echo dol_buildpath(' / theme / '.$theme.' / img / sort_desc_disabled . png ', 1); ?>' ) no - repeat center right ! important ; }
2015-09-22 01:25:06 +02:00
. dataTables_paginate {
margin - top : 8 px ;
}
. paginate_button_disabled {
opacity : 1 ! important ;
color : #888 !important;
cursor : default ! important ;
}
2015-03-22 18:09:22 +01:00
. paginate_disabled_previous : hover , . paginate_enabled_previous : hover , . paginate_disabled_next : hover , . paginate_enabled_next : hover
{
font - weight : normal ;
}
. paginate_enabled_previous : hover , . paginate_enabled_next : hover
{
text - decoration : underline ! important ;
}
2015-09-22 01:25:06 +02:00
. paginate_active
{
text - decoration : underline ! important ;
}
2015-03-22 21:18:25 +01:00
. paginate_button
{
font - weight : normal ! important ;
2021-02-26 13:31:09 +01:00
text - decoration : none ! important ;
2015-09-22 01:25:06 +02:00
}
. paging_full_numbers {
height : inherit ! important ;
}
. paging_full_numbers a . paginate_active : hover , . paging_full_numbers a . paginate_button : hover {
background - color : #DDD !important;
}
. paging_full_numbers , . paging_full_numbers a . paginate_active , . paging_full_numbers a . paginate_button {
background - color : #FFF !important;
border - radius : inherit ! important ;
}
2015-10-09 17:21:38 +02:00
. paging_full_numbers a . paginate_button_disabled : hover , . paging_full_numbers a . disabled : hover {
2021-02-26 13:31:09 +01:00
background - color : #FFF !important;
2015-09-22 01:25:06 +02:00
}
. paginate_button , . paginate_active {
border : 1 px solid #ddd !important;
padding : 6 px 12 px ! important ;
margin - left : - 1 px ! important ;
line - height : 1.42857143 ! important ;
margin : 0 0 ! important ;
2015-03-22 21:18:25 +01:00
}
2015-03-22 18:09:22 +01:00
/* For jquery plugin combobox */
/* Disable this . It breaks wrapping of boxes
. ui - corner - all { white - space : nowrap ; } */
. ui - state - disabled , . ui - widget - content . ui - state - disabled , . ui - widget - header . ui - state - disabled , . paginate_button_disabled {
opacity : . 35 ;
background - image : none ;
}
2015-10-09 17:21:38 +02:00
div . dataTables_length {
float : right ! important ;
padding - left : 8 px ;
}
div . dataTables_length select {
background : #fff;
}
. dataTables_wrapper . dataTables_paginate {
padding - top : 0 px ! important ;
}
2015-03-22 18:09:22 +01:00
/* ============================================================================== */
/* Select2 */
/* ============================================================================== */
2020-03-28 15:20:26 +01:00
span #select2-taskid-container[title^='--'] {
2021-02-26 13:31:09 +01:00
opacity : 0.3 ;
2020-03-28 15:20:26 +01:00
}
2020-01-31 14:52:43 +01:00
input . select2 - input {
border - bottom : none ! important ;
}
. select2 - choice {
border : none ;
border - bottom : 1 px solid #ccc !important;
}
. select2 - results . select2 - highlighted . optionblue {
color : #FFF !important;
}
2017-11-17 14:57:14 +01:00
. blockvmenusearch . select2 - container -- default . select2 - selection -- single ,
. blockvmenubookmarks . select2 - container -- default . select2 - selection -- single
{
2021-02-26 13:31:09 +01:00
background - color : unset ;
2017-11-17 14:57:14 +01:00
}
2017-10-25 22:02:07 +02:00
. select2 - container -- default . select2 - selection -- single . select2 - selection__rendered {
2021-02-26 13:31:09 +01:00
color : unset ;
2017-10-25 22:02:07 +02:00
}
2017-03-11 00:43:06 +01:00
. select2 - container . select2 - choice {
border - bottom : 1 px solid #ccc;
}
2016-10-02 16:12:40 +02:00
. select2 - container . select2 - choice > . select2 - chosen {
2021-02-26 13:31:09 +01:00
margin - right : 23 px ;
2016-10-02 16:12:40 +02:00
}
2016-09-26 00:10:29 +02:00
. select2 - container . select2 - choice . select2 - arrow {
border - radius : 0 ;
}
2017-03-04 17:49:44 +01:00
. select2 - container - multi . select2 - choices {
background - image : none ;
}
2016-02-22 14:25:12 +01:00
. select2 - container . select2 - choice {
color : #000;
2017-03-04 17:49:44 +01:00
border - radius : 0 ;
2016-02-22 14:25:12 +01:00
}
2015-10-09 17:21:38 +02:00
. selectoptiondisabledwhite {
background : #FFFFFF !important;
}
2017-03-03 13:30:02 +01:00
. select2 - arrow {
border : none ;
border - left : none ! important ;
background : none ! important ;
}
. select2 - choice
{
border - top : none ! important ;
border - left : none ! important ;
border - right : none ! important ;
2017-03-11 00:43:06 +01:00
border - bottom : 1 px solid #ccc;
2017-03-03 13:30:02 +01:00
}
2017-03-04 17:49:44 +01:00
. select2 - drop . select2 - drop - above {
box - shadow : none ! important ;
}
2017-10-21 19:39:25 +02:00
. select2 - container -- open . select2 - dropdown -- above {
2021-02-26 13:31:09 +01:00
border - bottom : solid 1 px rgba ( 0 , 0 , 0 , . 2 );
2017-10-21 19:39:25 +02:00
}
2017-03-04 17:49:44 +01:00
. select2 - drop . select2 - drop - above . select2 - drop - active {
border - top : 1 px solid #ccc;
2017-03-11 02:36:22 +01:00
border - bottom : 1 px solid #ccc;
2017-03-04 17:49:44 +01:00
}
2017-10-21 19:39:25 +02:00
. select2 - container -- default . select2 - selection -- single
{
outline : none ;
border - top : none ;
border - left : none ;
border - right : none ;
border - bottom : solid 1 px rgba ( 0 , 0 , 0 , . 2 );
- webkit - box - shadow : none ! important ;
box - shadow : none ! important ;
border - radius : 0 ! important ;
}
2020-01-31 14:52:43 +01:00
. select2 - container -- default . select2 - container -- focus . select2 - selection -- multiple {
border - top : none ;
border - left : none ;
border - right : none ;
}
2017-10-21 19:39:25 +02:00
. select2 - container -- default . select2 - selection -- multiple {
2020-01-31 14:52:43 +01:00
border - bottom : solid 1 px rgba ( 0 , 0 , 0 , . 2 );
border - top : none ;
border - left : none ;
border - right : none ;
2017-10-21 19:39:25 +02:00
border - radius : 0 ! important ;
}
. select2 - search__field
{
outline : none ;
border - top : none ! important ;
border - left : none ! important ;
border - right : none ! important ;
border - bottom : solid 1 px rgba ( 0 , 0 , 0 , . 2 ) ! important ;
- webkit - box - shadow : none ! important ;
box - shadow : none ! important ;
border - radius : 0 ! important ;
}
2017-06-02 09:25:35 +02:00
. select2 - container - active . select2 - choice , . select2 - container - active . select2 - choices
2017-03-04 17:49:44 +01:00
{
outline : none ;
border - top : none ;
border - left : none ;
border - bottom : none ;
- webkit - box - shadow : none ! important ;
box - shadow : none ! important ;
}
. select2 - dropdown - open {
background - color : #fff;
}
. select2 - dropdown - open . select2 - choice , . select2 - dropdown - open . select2 - choices
2015-03-22 18:09:22 +01:00
{
2017-03-04 17:49:44 +01:00
outline : none ;
border - top : none ;
border - left : none ;
border - bottom : none ;
- webkit - box - shadow : none ! important ;
box - shadow : none ! important ;
background - color : #fff;
2015-03-22 18:09:22 +01:00
}
. select2 - disabled
{
color : #888;
}
2017-03-04 17:49:44 +01:00
. select2 - drop . select2 - drop - above . select2 - drop - active , . select2 - drop {
border - radius : 0 ;
}
. select2 - drop . select2 - drop - above {
border - radius : 0 ;
}
. select2 - dropdown - open . select2 - drop - above . select2 - choice , . select2 - dropdown - open . select2 - drop - above . select2 - choices {
background - image : none ;
border - radius : 0 ! important ;
}
div . select2 - drop - above
{
background : #fff;
- webkit - box - shadow : none ! important ;
box - shadow : none ! important ;
}
2015-03-22 18:09:22 +01:00
. select2 - drop - active
{
2017-03-04 17:49:44 +01:00
border : 1 px solid #ccc;
padding - top : 4 px ;
}
. select2 - search input {
2017-03-03 13:30:02 +01:00
border : none ;
2015-03-22 18:09:22 +01:00
}
a span . select2 - chosen
{
font - weight : normal ! important ;
}
. select2 - container . select2 - choice {
background - image : none ;
2015-09-22 01:25:06 +02:00
line - height : 24 px ;
2015-03-22 18:09:22 +01:00
}
. select2 - results . select2 - no - results , . select2 - results . select2 - searching , . select2 - results . select2 - ajax - error , . select2 - results . select2 - selection - limit
{
background : #FFFFFF;
}
2015-11-02 13:14:46 +01:00
. select2 - results {
max - height : 400 px ;
}
2020-10-08 10:04:36 +02:00
. select2 - results__option {
word - break : break - word ;
}
2017-06-21 10:57:15 +02:00
. select2 - container . select2 - container - disabled . select2 - choice , . select2 - container - multi . select2 - container - disabled . select2 - choices {
2015-05-03 21:15:08 +02:00
background - color : #FFFFFF;
background - image : none ;
border : none ;
cursor : default ;
}
2017-06-21 10:57:15 +02:00
. select2 - container - disabled . select2 - choice . select2 - arrow b {
opacity : 0.5 ;
}
2015-05-03 21:15:08 +02:00
. select2 - container - multi . select2 - choices . select2 - search - choice {
2015-09-22 01:25:06 +02:00
margin - bottom : 3 px ;
}
2017-03-11 00:43:06 +01:00
. select2 - dropdown - open . select2 - drop - above . select2 - choice , . select2 - dropdown - open . select2 - drop - above . select2 - choices , . select2 - container - multi . select2 - choices ,
. select2 - container - multi . select2 - container - active . select2 - choices
{
border - bottom : 1 px solid #ccc;
border - right : none ;
border - top : none ;
border - left : 1 px solid #ddd;
}
2017-10-21 21:05:00 +02:00
. select2 - container -- default . select2 - results >. select2 - results__options {
2021-02-26 13:31:09 +01:00
max - height : 400 px ;
2017-10-21 21:05:00 +02:00
}
2017-03-11 00:43:06 +01:00
2017-03-09 13:22:43 +01:00
/* Special case for the select2 add widget */
2017-04-04 11:56:19 +02:00
#addbox .select2-container .select2-choice > .select2-chosen, #actionbookmark .select2-container .select2-choice > .select2-chosen {
2021-02-26 13:31:09 +01:00
text - align : < ? php echo $left ; ?> ;
opacity : 0.3 ;
2017-03-09 13:22:43 +01:00
}
2017-11-26 21:56:41 +01:00
. select2 - container -- default . select2 - selection -- single . select2 - selection__placeholder {
color : unset ;
opacity : 0.5 ;
}
2017-10-21 19:39:25 +02:00
span #select2-boxbookmark-container, span#select2-boxcombo-container {
2021-02-26 13:31:09 +01:00
text - align : < ? php echo $left ; ?> ;
opacity : 0.5 ;
2017-10-21 19:39:25 +02:00
}
. select2 - container . select2 - selection -- single . select2 - selection__rendered {
padding - left : 6 px ;
}
2017-03-09 13:22:43 +01:00
/* Style used before the select2 js is executed on boxcombo */
2017-04-04 11:56:19 +02:00
#boxbookmark.boxcombo, #boxcombo.boxcombo {
2021-02-26 13:31:09 +01:00
text - align : left ;
opacity : 0.3 ;
border - bottom : solid 1 px rgba ( 0 , 0 , 0 , . 4 ) ! important ;
height : 26 px ;
line - height : 24 px ;
padding : 0 0 5 px 5 px ;
vertical - align : top ;
2017-03-09 13:22:43 +01:00
}
2015-09-22 01:25:06 +02:00
/* To emulate select 2 style */
. select2 - container - multi - dolibarr . select2 - choices - dolibarr . select2 - search - choice - dolibarr {
padding : 2 px 5 px 1 px 5 px ;
margin : 0 0 2 px 3 px ;
position : relative ;
line - height : 13 px ;
2017-04-04 11:56:19 +02:00
color : #444;
2015-09-22 01:25:06 +02:00
cursor : default ;
2015-12-05 19:20:39 +01:00
border : 1 px solid #ddd;
2015-09-22 01:25:06 +02:00
border - radius : 3 px ;
- webkit - box - shadow : 0 0 2 px #fff inset, 0 1px 0 rgba(0, 0, 0, 0.05);
box - shadow : 0 0 2 px #fff inset, 0 1px 0 rgba(0, 0, 0, 0.05);
background - clip : padding - box ;
- webkit - touch - callout : none ;
- webkit - user - select : none ;
- moz - user - select : none ;
- ms - user - select : none ;
user - select : none ;
background - color : #e4e4e4;
background - image : - webkit - gradient ( linear , 0 % 0 % , 0 % 100 % , color - stop ( 20 % , #f4f4f4), color-stop(50%, #f0f0f0), color-stop(52%, #e8e8e8), color-stop(100%, #eee));
background - image : - webkit - linear - gradient ( top , #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eee 100%);
background - image : - moz - linear - gradient ( top , #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eee 100%);
background - image : linear - gradient ( to bottom , #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eee 100%);
}
. select2 - container - multi - dolibarr . select2 - choices - dolibarr . select2 - search - choice - dolibarr a {
font - weight : normal ;
}
. select2 - container - multi - dolibarr . select2 - choices - dolibarr li {
float : left ;
list - style : none ;
}
. select2 - container - multi - dolibarr . select2 - choices - dolibarr {
height : auto ! important ;
height : 1 % ;
margin : 0 ;
padding : 0 5 px 0 0 ;
position : relative ;
cursor : text ;
overflow : hidden ;
2015-05-03 21:15:08 +02:00
}
2015-03-22 18:09:22 +01:00
2016-02-16 15:01:28 +01:00
/* ============================================================================== */
/* For categories */
/* ============================================================================== */
2015-12-19 13:55:27 +01:00
. noborderoncategories {
border : none ! important ;
border - radius : 5 px ! important ;
box - shadow : none ;
- webkit - box - shadow : none ! important ;
2021-02-26 13:31:09 +01:00
box - shadow : none ! important ;
2015-12-19 13:55:27 +01:00
}
span . noborderoncategories a , li . noborderoncategories a {
line - height : normal ;
}
span . noborderoncategories {
2016-03-30 00:06:55 +02:00
padding : 3 px 5 px 0 px 5 px ;
2015-12-19 13:55:27 +01:00
}
2016-02-16 15:01:28 +01:00
. categtextwhite , . treeview . categtextwhite . hover {
color : #fff !important;
}
. categtextblack {
color : #000 !important;
}
2015-03-22 18:09:22 +01:00
2015-12-21 20:41:02 +01:00
2015-10-09 17:21:38 +02:00
/* ============================================================================== */
2018-09-15 13:31:25 +02:00
/* External lib multiselect with checkbox */
/* ============================================================================== */
2020-09-21 12:16:22 +02:00
. multi - select - menu {
z - index : 10 ;
}
2018-09-15 13:31:25 +02:00
. multi - select - container {
display : inline - block ;
position : relative ;
}
. multi - select - menu {
position : absolute ;
left : 0 ;
top : 0.8 em ;
float : left ;
min - width : 100 % ;
background : #fff;
margin : 1 em 0 ;
padding : 0.4 em 0 ;
border : 1 px solid #aaa;
box - shadow : 0 1 px 3 px rgba ( 0 , 0 , 0 , 0.2 );
display : none ;
}
. multi - select - menu input {
margin - right : 0.3 em ;
vertical - align : 0.1 em ;
}
. multi - select - button {
display : inline - block ;
max - width : 20 em ;
white - space : nowrap ;
overflow : hidden ;
text - overflow : ellipsis ;
vertical - align : middle ;
background - color : #fff;
cursor : default ;
border : none ;
border - bottom : solid 1 px rgba ( 0 , 0 , 0 , . 2 );
padding : 5 px ;
padding - left : 2 px ;
height : 17 px ;
}
. multi - select - button : focus {
outline : none ;
border - bottom : 1 px solid #666;
}
. multi - select - button : after {
content : " " ;
display : inline - block ;
width : 0 ;
height : 0 ;
border - style : solid ;
border - width : 0.5 em 0.23 em 0 em 0.23 em ;
border - color : #444 transparent transparent transparent;
margin - left : 0.4 em ;
}
. multi - select - container -- open . multi - select - menu { display : block ; }
. multi - select - container -- open . multi - select - button : after {
border - width : 0 0.4 em 0.4 em 0.4 em ;
border - color : transparent transparent #999 transparent;
}
. multi - select - menuitem {
2021-02-26 13:31:09 +01:00
clear : both ;
float : left ;
padding - left : 5 px
2018-09-15 13:31:25 +02:00
}
/* ============================================================================== */
/* Native multiselect with checkbox */
2015-10-09 17:21:38 +02:00
/* ============================================================================== */
2016-01-03 16:23:23 +01:00
ul . ulselectedfields {
2021-02-26 13:31:09 +01:00
z - index : 90 ; /* To have the select box appears on first plan even when near buttons are decorated by jmobile */
2016-01-03 16:23:23 +01:00
}
2015-10-09 17:21:38 +02:00
dl . dropdown {
2021-02-26 13:31:09 +01:00
margin : 0 px ;
padding : 0 px ;
2017-04-09 13:12:25 +02:00
margin - left : 2 px ;
2021-02-26 13:31:09 +01:00
margin - right : 2 px ;
vertical - align : middle ;
display : inline - block ;
2015-10-09 17:21:38 +02:00
}
. dropdown dd , . dropdown dt {
2021-02-26 13:31:09 +01:00
margin : 0 px ;
padding : 0 px ;
2015-10-09 17:21:38 +02:00
}
. dropdown ul {
2021-02-26 13:31:09 +01:00
margin : - 1 px 0 0 0 ;
text - align : < ? php echo $left ; ?> ;
2015-10-09 17:21:38 +02:00
}
. dropdown dd {
2021-02-26 13:31:09 +01:00
position : relative ;
2015-10-09 17:21:38 +02:00
}
. dropdown dt a {
2021-02-26 13:31:09 +01:00
display : block ;
overflow : hidden ;
border : 0 ;
2015-10-09 17:21:38 +02:00
}
. dropdown dt a span , . multiSel span {
2021-02-26 13:31:09 +01:00
cursor : pointer ;
display : inline - block ;
padding : 0 3 px 2 px 0 ;
2015-10-09 17:21:38 +02:00
}
2021-06-22 10:44:49 +02:00
. maxwidthsearch . dropdown dt a span , . multiSel span {
padding : 0 3 px 2 px 3 px ;
}
2018-04-16 19:56:53 +02:00
. dropdown span . value {
2021-02-26 13:31:09 +01:00
display : none ;
2018-04-16 19:56:53 +02:00
}
2015-10-09 17:21:38 +02:00
. dropdown dd ul {
2021-02-26 13:31:09 +01:00
background - color : #FFF;
box - shadow : 1 px 1 px 10 px #aaa;
display : none ;
< ? php echo $right ; ?> :0px; /* pop is align on right */
padding : 0 0 0 0 ;
position : absolute ;
top : 2 px ;
list - style : none ;
max - height : 264 px ;
overflow : auto ;
2015-10-09 17:21:38 +02:00
}
. dropdown dd ul li {
white - space : nowrap ;
2015-10-09 20:00:43 +02:00
font - weight : normal ;
2018-10-01 00:40:02 +02:00
padding : 7 px 8 px 7 px 8 px ;
2019-11-20 14:40:52 +01:00
/* color: rgb(<?php print $colortext; ?>); */
2018-04-16 19:56:53 +02:00
color : #000;
2015-10-09 17:21:38 +02:00
}
2018-10-01 00:40:02 +02:00
. dropdown dd ul li : hover {
background : #eee;
}
2016-07-09 15:35:49 +02:00
. dropdown dd ul li input [ type = " checkbox " ] {
2021-02-26 13:31:09 +01:00
margin -< ? php echo $right ; ?> : 3px;
2016-07-09 15:35:49 +02:00
}
2016-08-23 15:43:48 +02:00
. dropdown dd ul li a , . dropdown dd ul li span {
2021-02-26 13:31:09 +01:00
padding : 3 px ;
display : block ;
2015-10-09 17:21:38 +02:00
}
2016-08-23 15:43:48 +02:00
. dropdown dd ul li span {
color : #888;
}
2015-10-09 17:21:38 +02:00
. dropdown dd ul li a : hover {
2021-02-26 13:31:09 +01:00
background - color : #eee;
2015-10-09 17:21:38 +02:00
}
2019-10-15 02:45:12 +02:00
dd . dropdowndd ul li {
2021-02-26 13:31:09 +01:00
text - overflow : ellipsis ;
overflow : hidden ;
white - space : nowrap ;
2019-10-15 02:45:12 +02:00
}
2015-10-09 17:21:38 +02:00
2017-12-16 12:11:46 +01:00
/* ============================================================================== */
2017-12-16 21:50:58 +01:00
/* Markdown rendering */
2017-12-16 12:11:46 +01:00
/* ============================================================================== */
. imgmd {
width : 90 % ;
}
2017-12-16 21:50:58 +01:00
. moduledesclong h1 {
padding - top : 10 px ;
padding - bottom : 20 px ;
}
2017-12-16 12:11:46 +01:00
2015-03-22 18:09:22 +01:00
/* ============================================================================== */
2020-01-06 15:14:14 +01:00
/* JMobile - Android */
2015-03-22 18:09:22 +01:00
/* ============================================================================== */
2020-01-06 15:14:14 +01:00
. searchpage . tagtr . tagtd {
2021-02-26 13:31:09 +01:00
padding - bottom : 3 px ;
2020-01-06 15:14:14 +01:00
}
. searchpage . tagtr . tagtd . button {
background : unset ;
2021-02-26 13:31:09 +01:00
border : unset ;
2020-01-06 15:14:14 +01:00
}
2015-03-22 18:09:22 +01:00
li . ui - li - divider . ui - link {
color : #FFF !important;
}
. ui - btn {
margin : 0.1 em 2 px
}
a . ui - link , a . ui - link : hover , . ui - btn : hover , span . ui - btn - text : hover , span . ui - btn - inner : hover {
text - decoration : none ! important ;
}
2016-10-25 12:36:14 +02:00
. ui - body - c {
background : #fff;
}
2015-03-22 18:09:22 +01:00
. ui - btn - inner {
min - width : . 4 em ;
2016-06-19 16:07:34 +02:00
padding - left : 6 px ;
padding - right : 6 px ;
2019-11-20 14:40:52 +01:00
font - size : < ? php print is_numeric ( $fontsize ) ? $fontsize . 'px' : $fontsize ; ?> ;
2015-03-22 18:09:22 +01:00
/* white-space: normal; */ /* Warning, enable this break the truncate feature */
}
. ui - btn - icon - right . ui - btn - inner {
2016-06-19 16:07:34 +02:00
padding - right : 30 px ;
2015-03-22 18:09:22 +01:00
}
. ui - btn - icon - left . ui - btn - inner {
2016-06-19 16:07:34 +02:00
padding - left : 30 px ;
2015-03-22 18:09:22 +01:00
}
. ui - select . ui - btn - icon - right . ui - btn - inner {
2016-06-19 16:07:34 +02:00
padding - right : 30 px ;
2015-03-22 18:09:22 +01:00
}
. ui - select . ui - btn - icon - left . ui - btn - inner {
2016-06-19 16:07:34 +02:00
padding - left : 30 px ;
}
. ui - select . ui - btn - icon - right . ui - icon {
2021-02-26 13:31:09 +01:00
right : 8 px ;
2016-06-19 16:07:34 +02:00
}
. ui - btn - icon - left > . ui - btn - inner > . ui - icon , . ui - btn - icon - right > . ui - btn - inner > . ui - icon {
2021-02-26 13:31:09 +01:00
margin - top : - 10 px ;
2016-06-19 16:07:34 +02:00
}
select {
2021-02-26 13:31:09 +01:00
/* display: inline-block; */ /* We can't set this. This disable ability to make */
overflow : hidden ;
white - space : nowrap ; /* Enabling this make behaviour strange when selecting the empty value if this empty value is '' instead of ' ' */
text - overflow : ellipsis ;
2015-03-22 18:09:22 +01:00
}
. fiche . ui - controlgroup {
margin : 0 px ;
padding - bottom : 0 px ;
}
div . ui - controlgroup - controls div . tabsElem
{
margin - top : 2 px ;
}
div . ui - controlgroup - controls div . tabsElem a
{
- webkit - box - shadow : 0 - 3 px 6 px rgba ( 0 , 0 , 0 , . 2 );
box - shadow : 0 - 3 px 6 px rgba ( 0 , 0 , 0 , . 2 );
}
div . ui - controlgroup - controls div . tabsElem a #active {
- webkit - box - shadow : 0 - 3 px 6 px rgba ( 0 , 0 , 0 , . 3 );
box - shadow : 0 - 3 px 6 px rgba ( 0 , 0 , 0 , . 3 );
}
a . tab span . ui - btn - inner
{
border : none ;
padding : 0 ;
}
. ui - link {
color : rgb ( < ? php print $colortext ; ?> );
}
. liste_titre . ui - link {
2016-10-25 12:36:14 +02:00
color : rgb ( < ? php print $colortexttitle ; ?> ) !important;
2015-03-22 18:09:22 +01:00
}
a . ui - link {
word - wrap : break - word ;
}
/* force wrap possible onto field overflow does not works */
. formdoc . ui - btn - inner
{
white - space : normal ;
overflow : hidden ;
2016-10-25 12:36:14 +02:00
text - overflow : clip ; /* "hidden" : do not exists as a text-overflow value (https://developer.mozilla.org/fr/docs/Web/CSS/text-overflow) */
2015-03-22 18:09:22 +01:00
}
/* Warning: setting this may make screen not beeing refreshed after a combo selection */
/*. ui - body - c {
background : #fff;
} */
div . ui - radio , div . ui - checkbox
{
display : inline - block ;
border - bottom : 0 px ! important ;
}
. ui - checkbox input , . ui - radio input {
height : auto ;
width : auto ;
margin : 4 px ;
position : static ;
}
div . ui - checkbox label + input , div . ui - radio label + input {
position : absolute ;
}
. ui - mobile fieldset
{
padding - bottom : 10 px ; margin - bottom : 4 px ; border - bottom : 1 px solid #AAAAAA !important;
}
ul . ulmenu {
border - radius : 0 ;
- webkit - border - radius : 0 ;
}
. ui - field - contain label . ui - input - text {
vertical - align : middle ! important ;
}
. ui - mobile fieldset {
border - bottom : none ! important ;
}
/* Style for first level menu with jmobile */
2016-10-25 12:36:14 +02:00
. ui - li . ui - btn - inner a . ui - link - inherit , . ui - li - static . ui - li {
2021-02-26 13:31:09 +01:00
padding : 1 em 15 px ;
display : block ;
2016-10-25 12:36:14 +02:00
}
. ui - btn - up - c {
font - weight : normal ;
}
. ui - focus , . ui - btn : focus {
2021-02-26 13:31:09 +01:00
- webkit - box - shadow : none ;
box - shadow : none ;
2016-10-25 12:36:14 +02:00
}
. ui - bar - b {
2021-02-26 13:31:09 +01:00
/*border: 1px solid #888;*/
border : none ;
background : none ;
text - shadow : none ;
color : rgb ( < ? php print $colortexttitlenotab ; ?> ) !important;
2016-10-25 12:36:14 +02:00
}
2015-03-22 18:09:22 +01:00
. ui - bar - b , . lilevel0 {
2021-02-26 13:31:09 +01:00
background - repeat : repeat - x ;
border : none ;
background : none ;
text - shadow : none ;
color : rgb ( < ? php print $colortexttitlenotab ; ?> ) !important;
2016-10-25 12:36:14 +02:00
}
. alilevel0 {
font - weight : normal ! important ;
}
2015-05-03 21:15:08 +02:00
2016-10-25 12:36:14 +02:00
. ui - li . ui - last - child , . ui - li . ui - field - contain . ui - last - child {
2021-02-26 13:31:09 +01:00
border - bottom - width : 0 px ! important ;
2015-03-22 18:09:22 +01:00
}
. alilevel0 {
2021-02-26 13:31:09 +01:00
color : rgb ( < ? php echo $colortexttitle ; ?> ) !important;
2016-10-25 12:36:14 +02:00
}
. ulmenu {
box - shadow : none ! important ;
2017-02-23 00:45:27 +01:00
border - bottom : 1 px solid #ccc;
2015-03-22 18:09:22 +01:00
}
2015-09-22 01:25:06 +02:00
. ui - btn - icon - right {
border - right : 1 px solid #ccc !important;
}
2015-03-22 18:09:22 +01:00
. ui - body - c {
border : 1 px solid #ccc;
text - shadow : none ;
}
. ui - btn - up - c , . ui - btn - hover - c {
2016-10-25 12:36:14 +02:00
/* border: 1px solid #ccc; */
2015-03-22 18:09:22 +01:00
text - shadow : none ;
}
. ui - body - c . ui - link , . ui - body - c . ui - link : visited , . ui - body - c . ui - link : hover {
2016-01-02 20:48:19 +01:00
color : rgb ( < ? php print $colortextlink ; ?> );
2015-03-22 18:09:22 +01:00
}
. ui - btn - up - c . vsmenudisabled {
color : #<?php echo $colorshadowtitle; ?> !important;
text - shadow : none ! important ;
}
2016-10-25 12:36:14 +02:00
/*
. ui - btn - up - c {
background : transparent ;
}
*/
div . tabsElem a . tab {
background : transparent ;
}
/*. ui - controlgroup - horizontal . ui - btn . ui - first - child {
2015-03-22 18:09:22 +01:00
- webkit - border - top - left - radius : 6 px ;
border - top - left - radius : 6 px ;
}
. ui - controlgroup - horizontal . ui - btn . ui - last - child {
- webkit - border - top - right - radius : 6 px ;
border - top - right - radius : 6 px ;
2016-10-25 12:36:14 +02:00
} */
2015-03-22 18:09:22 +01:00
. alilevel1 {
2021-02-26 13:31:09 +01:00
color : rgb ( < ? php print $colortexttitlenotab ; ?> ) !important;
2015-03-22 18:09:22 +01:00
}
. lilevel1 {
2021-02-26 13:31:09 +01:00
border - top : 2 px solid #444;
background : #fff ! important;
2016-10-25 12:36:14 +02:00
}
. lilevel1 div div a {
font - weight : bold ! important ;
2015-03-22 18:09:22 +01:00
}
. lilevel2
{
padding - left : 22 px ;
2021-02-26 13:31:09 +01:00
background : #fff ! important;
2015-03-22 18:09:22 +01:00
}
. lilevel3
{
2017-12-01 12:55:28 +01:00
padding - left : 44 px ;
2021-02-26 13:31:09 +01:00
background : #fff ! important;
2017-12-01 12:55:28 +01:00
}
. lilevel4
{
padding - left : 66 px ;
2021-02-26 13:31:09 +01:00
background : #fff ! important;
2017-12-01 12:55:28 +01:00
}
. lilevel5
{
padding - left : 88 px ;
2021-02-26 13:31:09 +01:00
background : #fff ! important;
2015-03-22 18:09:22 +01:00
}
2015-09-22 01:25:06 +02:00
2016-03-19 18:46:44 +01:00
/* ============================================================================== */
/* POS */
/* ============================================================================== */
. menu_choix1 a {
2019-01-27 11:55:16 +01:00
background : url ( '<?php echo dol_buildpath($path.' / theme / '.$theme.' / img / menus / money . png ', 1) ?>' ) top left no - repeat ;
2016-03-19 18:46:44 +01:00
background - position - y : 15 px ;
}
. menu_choix2 a {
2019-01-27 11:55:16 +01:00
background : url ( '<?php echo dol_buildpath($path.' / theme / '.$theme.' / img / menus / home . png ', 1) ?>' ) top left no - repeat ;
2016-03-19 18:46:44 +01:00
background - position - y : 15 px ;
}
. menu_choix1 , . menu_choix2 {
font - size : 1.4 em ;
text - align : left ;
border : 1 px solid #666;
margin - right : 20 px ;
}
. menu_choix1 a , . menu_choix2 a {
display : block ;
color : #fff;
text - decoration : none ;
padding - top : 18 px ;
padding - left : 54 px ;
font - size : 14 px ;
height : 40 px ;
}
. menu_choix1 a : hover , . menu_choix2 a : hover {
color : #6d3f6d;
}
2016-09-09 09:21:27 +02:00
. menu li . menu_choix1 {
2021-02-26 13:31:09 +01:00
padding - top : 6 px ;
padding - right : 10 px ;
padding - bottom : 2 px ;
2016-09-09 09:21:27 +02:00
}
. menu li . menu_choix2 {
2021-02-26 13:31:09 +01:00
padding - top : 6 px ;
padding - right : 10 px ;
padding - bottom : 2 px ;
2016-09-09 09:21:27 +02:00
}
@ media only screen and ( max - width : 767 px )
{
. menu_choix1 a , . menu_choix2 a {
background - size : 36 px 36 px ;
background - position - y : 6 px ;
padding - left : 40 px ;
}
2021-02-26 13:31:09 +01:00
. menu li . menu_choix1 , . menu li . menu_choix2 {
padding - left : 4 px ;
padding - right : 0 ;
}
. liste_articles {
margin - right : 0 ! important ;
}
2016-09-09 09:21:27 +02:00
}
2016-03-19 18:46:44 +01:00
/* ============================================================================== */
/* Public */
/* ============================================================================== */
2015-09-22 01:25:06 +02:00
/* The theme for public pages */
. public_body {
margin : 20 px ;
}
. public_border {
border : 1 px solid #888;
}
2018-03-26 15:45:56 +02:00
/* ============================================================================== */
/* Ticket module */
/* ============================================================================== */
2019-07-20 00:14:14 +02:00
. ticketpublicarea {
2020-04-15 12:13:29 +02:00
margin - left : 15 % ;
2021-02-26 13:31:09 +01:00
margin - right : 15 % ;
2019-07-20 00:14:14 +02:00
}
2019-07-05 11:21:04 +02:00
. publicnewticketform {
2020-01-27 14:01:35 +01:00
/* margin-top: 25px !important; */
2019-07-05 11:21:04 +02:00
}
2019-07-20 00:14:14 +02:00
. ticketlargemargin {
padding - left : 50 px ;
padding - right : 50 px ;
2020-01-27 14:01:35 +01:00
padding - top : 10 px ;
2019-07-20 00:14:14 +02:00
}
@ media only screen and ( max - width : 767 px )
{
. ticketlargemargin {
padding - left : 5 px ; padding - right : 5 px ;
}
. ticketpublicarea {
2020-04-15 12:13:29 +02:00
margin - left : 10 px ;
margin - right : 10 px ;
2019-07-20 00:14:14 +02:00
}
}
2019-07-05 11:21:04 +02:00
2018-03-26 15:45:56 +02:00
#cd-timeline {
position : relative ;
padding : 2 em 0 ;
margin - bottom : 2 em ;
}
#cd-timeline::before {
/* this is the vertical line */
content : '' ;
position : absolute ;
top : 0 ;
left : 18 px ;
height : 100 % ;
width : 4 px ;
background : #d7e4ed;
}
@ media only screen and ( min - width : 1170 px ) {
#cd-timeline {
2021-02-26 13:31:09 +01:00
margin - bottom : 3 em ;
2018-03-26 15:45:56 +02:00
}
#cd-timeline::before {
2021-02-26 13:31:09 +01:00
left : 50 % ;
margin - left : - 2 px ;
2018-03-26 15:45:56 +02:00
}
}
. cd - timeline - block {
position : relative ;
margin : 2 em 0 ;
}
. cd - timeline - block : after {
content : " " ;
display : table ;
clear : both ;
}
. cd - timeline - block : first - child {
margin - top : 0 ;
}
. cd - timeline - block : last - child {
margin - bottom : 0 ;
}
@ media only screen and ( min - width : 1170 px ) {
. cd - timeline - block {
2021-02-26 13:31:09 +01:00
margin : 4 em 0 ;
2018-03-26 15:45:56 +02:00
}
. cd - timeline - block : first - child {
2021-02-26 13:31:09 +01:00
margin - top : 0 ;
2018-03-26 15:45:56 +02:00
}
. cd - timeline - block : last - child {
2021-02-26 13:31:09 +01:00
margin - bottom : 0 ;
2018-03-26 15:45:56 +02:00
}
}
. cd - timeline - img {
position : absolute ;
top : 0 ;
left : 0 ;
width : 40 px ;
height : 40 px ;
border - radius : 50 % ;
box - shadow : 0 0 0 4 px white , inset 0 2 px 0 rgba ( 0 , 0 , 0 , 0.08 ), 0 3 px 0 4 px rgba ( 0 , 0 , 0 , 0.05 );
background : #d7e4ed;
}
. cd - timeline - img img {
display : block ;
width : 24 px ;
height : 24 px ;
position : relative ;
left : 50 % ;
top : 50 % ;
margin - left : - 12 px ;
margin - top : - 12 px ;
}
. cd - timeline - img . cd - picture {
background : #75ce66;
}
. cd - timeline - img . cd - movie {
background : #c03b44;
}
. cd - timeline - img . cd - location {
background : #f0ca45;
}
@ media only screen and ( min - width : 1170 px ) {
. cd - timeline - img {
2021-02-26 13:31:09 +01:00
width : 60 px ;
height : 60 px ;
left : 50 % ;
margin - left : - 30 px ;
/* Force Hardware Acceleration in WebKit */
- webkit - transform : translateZ ( 0 );
- webkit - backface - visibility : hidden ;
2018-03-26 15:45:56 +02:00
}
. cssanimations . cd - timeline - img . is - hidden {
2021-02-26 13:31:09 +01:00
visibility : hidden ;
2018-03-26 15:45:56 +02:00
}
. cssanimations . cd - timeline - img . bounce - in {
2021-02-26 13:31:09 +01:00
visibility : visible ;
- webkit - animation : cd - bounce - 1 0.6 s ;
- moz - animation : cd - bounce - 1 0.6 s ;
animation : cd - bounce - 1 0.6 s ;
2018-03-26 15:45:56 +02:00
}
}
@- webkit - keyframes cd - bounce - 1 {
0 % {
2021-02-26 13:31:09 +01:00
opacity : 0 ;
- webkit - transform : scale ( 0.5 );
2018-03-26 15:45:56 +02:00
}
60 % {
2021-02-26 13:31:09 +01:00
opacity : 1 ;
- webkit - transform : scale ( 1.2 );
2018-03-26 15:45:56 +02:00
}
100 % {
2021-02-26 13:31:09 +01:00
- webkit - transform : scale ( 1 );
2018-03-26 15:45:56 +02:00
}
}
@- moz - keyframes cd - bounce - 1 {
0 % {
2021-02-26 13:31:09 +01:00
opacity : 0 ;
- moz - transform : scale ( 0.5 );
2018-03-26 15:45:56 +02:00
}
60 % {
2021-02-26 13:31:09 +01:00
opacity : 1 ;
- moz - transform : scale ( 1.2 );
2018-03-26 15:45:56 +02:00
}
100 % {
2021-02-26 13:31:09 +01:00
- moz - transform : scale ( 1 );
2018-03-26 15:45:56 +02:00
}
}
@ keyframes cd - bounce - 1 {
0 % {
2021-02-26 13:31:09 +01:00
opacity : 0 ;
- webkit - transform : scale ( 0.5 );
- moz - transform : scale ( 0.5 );
- ms - transform : scale ( 0.5 );
- o - transform : scale ( 0.5 );
transform : scale ( 0.5 );
2018-03-26 15:45:56 +02:00
}
60 % {
2021-02-26 13:31:09 +01:00
opacity : 1 ;
- webkit - transform : scale ( 1.2 );
- moz - transform : scale ( 1.2 );
- ms - transform : scale ( 1.2 );
- o - transform : scale ( 1.2 );
transform : scale ( 1.2 );
2018-03-26 15:45:56 +02:00
}
100 % {
2021-02-26 13:31:09 +01:00
- webkit - transform : scale ( 1 );
- moz - transform : scale ( 1 );
- ms - transform : scale ( 1 );
- o - transform : scale ( 1 );
transform : scale ( 1 );
2018-03-26 15:45:56 +02:00
}
}
. cd - timeline - content {
position : relative ;
margin - left : 60 px ;
background : white ;
border - radius : 0.25 em ;
padding : 1 em ;
background - image : - o - linear - gradient ( bottom , rgba ( 0 , 0 , 0 , 0.1 ) 0 % , rgba ( 230 , 230 , 230 , 0.4 ) 100 % );
background - image : - moz - linear - gradient ( bottom , rgba ( 0 , 0 , 0 , 0.1 ) 0 % , rgba ( 230 , 230 , 230 , 0.4 ) 100 % );
background - image : - webkit - linear - gradient ( bottom , rgba ( 0 , 0 , 0 , 0.1 ) 0 % , rgba ( 230 , 230 , 230 , 0.4 ) 100 % );
background - image : - ms - linear - gradient ( bottom , rgba ( 0 , 0 , 0 , 0.1 ) 0 % , rgba ( 230 , 230 , 230 , 0.4 ) 100 % );
background - image : linear - gradient ( bottom , rgba ( 0 , 0 , 0 , 0.1 ) 0 % , rgba ( 230 , 230 , 230 , 0.4 ) 100 % );
}
. cd - timeline - content : after {
content : " " ;
display : table ;
clear : both ;
}
. cd - timeline - content h2 {
color : #303e49;
}
. cd - timeline - content . cd - date {
font - size : 13 px ;
font - size : 0.8125 rem ;
}
. cd - timeline - content . cd - date {
display : inline - block ;
}
. cd - timeline - content p {
margin : 1 em 0 ;
line - height : 1.6 ;
}
. cd - timeline - content . cd - date {
float : left ;
padding : . 2 em 0 ;
opacity : . 7 ;
}
. cd - timeline - content :: before {
content : '' ;
position : absolute ;
top : 16 px ;
right : 100 % ;
height : 0 ;
width : 0 ;
border : 7 px solid transparent ;
border - right : 7 px solid white ;
}
@ media only screen and ( min - width : 768 px ) {
. cd - timeline - content h2 {
2021-02-26 13:31:09 +01:00
font - size : 20 px ;
font - size : 1.25 rem ;
2018-03-26 15:45:56 +02:00
}
. cd - timeline - content {
2021-02-26 13:31:09 +01:00
font - size : 16 px ;
font - size : 1 rem ;
2018-03-26 15:45:56 +02:00
}
. cd - timeline - content . cd - read - more , . cd - timeline - content . cd - date {
2021-02-26 13:31:09 +01:00
font - size : 14 px ;
font - size : 0.875 rem ;
2018-03-26 15:45:56 +02:00
}
}
@ media only screen and ( min - width : 1170 px ) {
. cd - timeline - content {
2021-02-26 13:31:09 +01:00
margin - left : 0 ;
padding : 1.6 em ;
width : 43 % ;
2018-03-26 15:45:56 +02:00
}
. cd - timeline - content :: before {
2021-02-26 13:31:09 +01:00
top : 24 px ;
left : 100 % ;
border - color : transparent ;
border - left - color : white ;
2018-03-26 15:45:56 +02:00
}
. cd - timeline - content . cd - read - more {
2021-02-26 13:31:09 +01:00
float : left ;
2018-03-26 15:45:56 +02:00
}
. cd - timeline - content . cd - date {
2021-02-26 13:31:09 +01:00
position : absolute ;
width : 55 % ;
left : 115 % ;
top : 6 px ;
font - size : 16 px ;
font - size : 1 rem ;
2018-03-26 15:45:56 +02:00
}
. cd - timeline - block : nth - child ( even ) . cd - timeline - content {
2021-02-26 13:31:09 +01:00
float : right ;
2018-03-26 15:45:56 +02:00
}
. cd - timeline - block : nth - child ( even ) . cd - timeline - content :: before {
2021-02-26 13:31:09 +01:00
top : 24 px ;
left : auto ;
right : 100 % ;
border - color : transparent ;
border - right - color : white ;
2018-03-26 15:45:56 +02:00
}
. cd - timeline - block : nth - child ( even ) . cd - timeline - content . cd - read - more {
2021-02-26 13:31:09 +01:00
float : right ;
2018-03-26 15:45:56 +02:00
}
. cd - timeline - block : nth - child ( even ) . cd - timeline - content . cd - date {
2021-02-26 13:31:09 +01:00
left : auto ;
right : 115 % ;
text - align : right ;
2018-03-26 15:45:56 +02:00
}
}
2020-09-13 15:21:45 +02:00
/* ============================================================================== */
/* CSS style for debugbar */
/* ============================================================================== */
span . phpdebugbar - tooltip . phpdebugbar - tooltip - extra - wide , span . phpdebugbar - tooltip . phpdebugbar - tooltip - wide {
2021-02-26 13:31:09 +01:00
width : 250 px ! important ;
2020-09-13 15:21:45 +02:00
}
. phpdebugbar - indicator span . phpdebugbar - tooltip {
2021-02-26 13:31:09 +01:00
opacity : . 95 ! important ;
2020-09-13 15:21:45 +02:00
}
a . phpdebugbar - tab . phpdebugbar - active {
background - image : unset ! important ;
}
. phpdebugbar - indicator . fa {
font - family : " Font Awesome 5 Free " ;
font - weight : 600 ;
}
2020-09-15 22:21:00 +02:00
div . phpdebugbar - widgets - messages li . phpdebugbar - widgets - list - item span . phpdebugbar - widgets - value . phpdebugbar - widgets - warning : before ,
div . phpdebugbar - widgets - messages li . phpdebugbar - widgets - list - item span . phpdebugbar - widgets - value . phpdebugbar - widgets - error : before ,
div . phpdebugbar - widgets - exceptions a . phpdebugbar - widgets - editor - link : before ,
div . phpdebugbar - widgets - sqlqueries span . phpdebugbar - widgets - database : before ,
div . phpdebugbar - widgets - sqlqueries span . phpdebugbar - widgets - duration : before ,
div . phpdebugbar - widgets - sqlqueries span . phpdebugbar - widgets - memory : before ,
div . phpdebugbar - widgets - sqlqueries span . phpdebugbar - widgets - row - count : before ,
div . phpdebugbar - widgets - sqlqueries span . phpdebugbar - widgets - copy - clipboard : before ,
div . phpdebugbar - widgets - sqlqueries span . phpdebugbar - widgets - stmt - id : before ,
div . phpdebugbar - widgets - templates span . phpdebugbar - widgets - render - time : before ,
div . phpdebugbar - widgets - templates span . phpdebugbar - widgets - memory : before ,
div . phpdebugbar - widgets - templates span . phpdebugbar - widgets - param - count : before ,
div . phpdebugbar - widgets - templates span . phpdebugbar - widgets - type : before ,
div . phpdebugbar - widgets - templates a . phpdebugbar - widgets - editor - link : before
{
font - family : " Font Awesome 5 Free " ! important ;
}
2020-09-13 15:21:45 +02:00
2021-05-02 15:44:15 +02:00
/* ============================================================================== */
/* CSS style used for jCrop */
/* ============================================================================== */
. jcrop - holder { background : unset ! important ; }
2020-02-29 01:26:24 +01:00
/* ============================================================================== */
/* CSS style used for jFlot */
/* ============================================================================== */
. dol - xaxis - vertical . flot - x - axis . flot - tick - label . tickLabel {
2021-02-26 13:31:09 +01:00
text - orientation : sideways ;
font - weight : 400 ;
writing - mode : vertical - rl ;
white - space : nowrap ;
2020-02-29 01:26:24 +01:00
}
2015-12-04 12:12:12 +01:00
2021-05-12 11:51:39 +02:00
/* ============================================================================== */
/* For copy-paste feature */
/* ============================================================================== */
2021-05-19 11:47:58 +02:00
span . clipboardCPValueToPrint {
display : inline - block ;
}
2021-05-12 11:51:39 +02:00
span . clipboardCPValue . hidewithsize {
2021-05-12 23:08:52 +02:00
width : 0 ! important ;
display : inline - block ;
color : transparent ;
2021-05-19 11:47:58 +02:00
white - space : nowrap ;
2021-05-12 11:51:39 +02:00
}
. clipboardCPShowOnHover . clipboardCPButton {
display : none ;
}
2016-10-25 12:36:14 +02:00
/* ============================================================================== */
/* CSS style used for small screen */
/* ============================================================================== */
2015-09-22 01:25:06 +02:00
. imgopensurveywizard
{
padding : 0 4 px 0 4 px ;
}
@ media only screen and ( max - width : 767 px )
2015-11-17 19:16:40 +01:00
{
2016-11-27 14:21:23 +01:00
. imgopensurveywizard , . imgautosize { width : 95 % ; height : auto ; }
2017-01-23 13:36:14 +01:00
2015-11-17 19:16:40 +01:00
#tooltip {
position : absolute ;
2019-01-27 11:55:16 +01:00
width : < ? php print dol_size ( 350 , 'width' ); ?> px;
2015-11-17 19:16:40 +01:00
}
2017-01-23 13:36:14 +01:00
2021-02-26 13:31:09 +01:00
div . tabBar {
padding - left : 8 px ;
padding - right : 8 px ;
- webkit - border - radius : 0 ;
border - radius : 0 px ;
border - right : none ;
border - left : none ;
}
2017-01-23 13:36:14 +01:00
2019-08-18 06:00:33 +02:00
. box - flex - container {
2021-02-26 13:31:09 +01:00
margin : 0 0 0 - 8 px ! important ;
2019-08-18 06:00:33 +02:00
}
2015-11-17 19:16:40 +01:00
}
2017-02-22 19:36:57 +01:00
@ media only screen and ( max - width : 1024 px )
{
div #ecm-layout-west {
width : 100 % ;
clear : both ;
}
div #ecm-layout-center {
width : 100 % ;
}
}
2016-03-12 16:19:01 +01:00
2019-04-03 14:36:27 +02:00
. menuhider {
2019-10-10 22:52:11 +02:00
width : < ? php echo $disableimages ? 'auto' : '44' ; ?> px;
2019-04-03 14:36:27 +02:00
}
2016-03-12 16:19:01 +01:00
/* nboftopmenuentries = <?php echo $nbtopmenuentries ?>, fontsize=<?php echo $fontsize ?> */
2016-05-19 13:25:16 +02:00
/* disableimages = <?php echo $disableimages; ?> */
2016-03-12 16:19:01 +01:00
/* rule to reduce top menu - 1st reduction */
2019-09-16 19:08:45 +02:00
@ media only screen and ( max - width : < ? php echo round ( $nbtopmenuentries * $fontsize * 7 , 0 ) + 300 ; ?> px)
2015-09-22 01:25:06 +02:00
{
2016-03-12 16:19:01 +01:00
div . tmenucenter {
2021-02-26 13:31:09 +01:00
max - width : < ? php echo round ( $fontsize * 4 ); ?> px; /* size of viewport */
white - space : nowrap ;
overflow : hidden ;
text - overflow : ellipsis ;
color : #<?php echo $colortextbackhmenu; ?>;
2016-03-12 16:19:01 +01:00
}
2015-09-22 01:25:06 +02:00
. mainmenuaspan {
2021-02-26 13:31:09 +01:00
font - size : 0.9 em ;
/* font-weight: 300; */
}
. topmenuimage {
background - size : 24 px auto ;
margin - top : 0 px ;
}
li . tmenu , li . tmenusel {
min - width : 34 px ;
}
div . mainmenu {
min - width : auto ;
2016-03-12 16:19:01 +01:00
}
2015-09-27 01:59:48 +02:00
div . tmenuleft {
display : none ;
}
2015-09-22 01:25:06 +02:00
}
2016-03-12 16:19:01 +01:00
/* rule to reduce top menu - 2nd reduction */
2019-09-16 19:08:45 +02:00
@ media only screen and ( max - width : < ? php echo round ( $nbtopmenuentries * $fontsize * 4.5 , 0 ) + 300 ; ?> px)
2016-03-12 16:19:01 +01:00
{
2019-09-15 15:09:36 +02:00
li . tmenucompanylogo {
display : none ;
}
2016-03-12 16:19:01 +01:00
div . tmenucenter {
2021-02-26 13:31:09 +01:00
max - width : < ? php echo round ( $fontsize * 2 ); ?> px; /* size of viewport */
text - overflow : clip ;
2016-03-12 16:19:01 +01:00
}
. mainmenuaspan {
2021-02-26 13:31:09 +01:00
font - size : 10 px ;
padding - left : 0 ;
padding - right : 0 ;
}
. topmenuimage {
background - size : 20 px auto ;
margin - top : 2 px ;
2016-03-12 16:19:01 +01:00
}
}
/* rule to reduce top menu - 3rd reduction */
2015-09-27 01:59:48 +02:00
@ media only screen and ( max - width : 570 px )
{
2015-10-24 13:52:35 +02:00
div #tmenu_tooltip {
2019-01-27 11:55:16 +01:00
< ? php if ( GETPOST ( 'optioncss' , 'aZ09' ) == 'print' ) { ?>
2015-10-24 13:52:35 +02:00
display : none ;
< ? php } else { ?>
/* padding-<?php echo $right; ?>: 78px; */
< ? php } ?>
}
2021-02-26 13:31:09 +01:00
li . tmenu , li . tmenusel {
min - width : 30 px ;
}
2016-03-12 16:19:01 +01:00
div . tmenucenter {
2021-02-26 13:31:09 +01:00
text - overflow : clip ;
2016-03-12 16:19:01 +01:00
}
2021-02-26 13:31:09 +01:00
. topmenuimage {
background - size : 20 px auto ;
margin - top : 2 px ! important ;
2016-03-12 16:19:01 +01:00
}
div . mainmenu {
2021-02-26 13:31:09 +01:00
min - width : 20 px ;
}
2017-01-23 13:36:14 +01:00
2015-09-27 01:59:48 +02:00
#tooltip {
position : absolute ;
2019-01-27 11:55:16 +01:00
width : < ? php print dol_size ( 300 , 'width' ); ?> px;
2015-10-03 08:18:03 +02:00
}
2016-10-24 18:43:17 +02:00
select {
2016-11-05 03:27:56 +01:00
width : 98 % ;
2016-10-24 18:43:17 +02:00
min - width : 0 ! important ;
}
2016-10-24 11:59:19 +02:00
div . divphotoref {
2017-01-23 13:36:14 +01:00
padding - right : 5 px ;
2016-10-24 11:59:19 +02:00
}
2021-02-26 13:31:09 +01:00
img . photoref , div . photoref {
border : 1 px solid rgba ( 0 , 0 , 0 , 0.2 );
- webkit - box - shadow : none ;
box - shadow : none ;
padding : 4 px ;
object - fit : contain ;
}
2017-01-23 13:36:14 +01:00
2017-12-01 12:01:17 +01:00
. titlefield {
2019-11-20 14:40:52 +01:00
width : auto ! important ; /* We want to ignore the 30%, try to use more if you can */
2017-12-01 12:01:17 +01:00
}
2019-09-13 01:38:41 +02:00
. tableforfield > tr > td : first - child , . tableforfield > tbody > tr > td : first - child , div . tableforfield div . tagtr > div . tagtd : first - of - type {
2021-02-26 13:31:09 +01:00
/* max-width: 100px; */ /* but no more than 100px */
2019-09-13 01:38:41 +02:00
}
. tableforfield > tr > td : nth - child ( 2 ), . tableforfield > tbody > tr > td : nth - child ( 2 ), div . tableforfield div . tagtr > div . tagtd : nth - child ( 2 ) {
2021-02-26 13:31:09 +01:00
word - break : break - word ;
2017-12-01 12:01:17 +01:00
}
2019-11-20 14:40:52 +01:00
table . table - fiche - title . col - title div . titre {
line - height : unset ;
}
2019-12-04 16:23:31 +01:00
input #addedfile {
width : 95 % ;
}
2015-09-27 01:59:48 +02:00
}
2015-09-22 01:25:06 +02:00
2020-02-20 17:05:28 +01:00
< ? php
include dol_buildpath ( $path . '/theme/' . $theme . '/dropdown.inc.php' , 0 );
include dol_buildpath ( $path . '/theme/' . $theme . '/info-box.inc.php' , 0 );
include dol_buildpath ( $path . '/theme/' . $theme . '/progress.inc.php' , 0 );
include dol_buildpath ( $path . '/theme/eldy/timeline.inc.php' , 0 ); // actually md use same style as eldy theme
2021-02-26 13:31:09 +01:00
if ( ! empty ( $conf -> global -> THEME_CUSTOM_CSS )) {
print $conf -> global -> THEME_CUSTOM_CSS ;
}
2020-02-20 17:05:28 +01:00
2021-02-26 13:31:09 +01:00
if ( is_object ( $db )) {
$db -> close ();
}
2020-02-20 17:05:28 +01:00
?>
2019-07-05 11:21:04 +02:00
/* This must be at end */
::- webkit - scrollbar {
2020-02-20 17:05:28 +01:00
width : 12 px ;
2019-07-05 11:21:04 +02:00
}
2020-10-08 10:04:36 +02:00
/*::- webkit - scrollbar - button {
background : #bbb;
} */
2019-07-05 11:21:04 +02:00
::- webkit - scrollbar - track - piece {
2020-10-08 10:04:36 +02:00
background : #f4f4f4;
2019-07-05 11:21:04 +02:00
}
::- webkit - scrollbar - thumb {
2020-02-20 17:05:28 +01:00
background : #ddd;
2019-07-05 11:21:04 +02:00
}
2020-02-20 17:05:28 +01:00
div #topmenu-bookmark-dropdown {
position : fixed ;
right : 20 px ;
}